{if isset($footersocialNavbarHtmlCache)}
    {$footersocialNavbarHtmlCache}
{else}
    {if isset($rsFooter.social) && $rsFooter.social}
        <ul class="footer-company-socials footer-nav footer-nav-h">
            {foreach from=$rsFooter.social item=$footerLink}
                <li class="{if $footerLink.style != "icon"}footer-social-wide{/if}">
                    <a tabindex="0" class="{$footerLink.custom_classes}" href="{$footerLink.url}" {if isset($footerLink.target_blank) && $footerLink.target_blank}target="_blank"{/if} {if isset($footerLink.rel) && $footerLink.rel}rel="{$footerLink.rel}"{/if} {if $footerLink.style == "icon" && (isset($footerLink.name) && $footerLink.name)}aria-label="{$footerLink.name}"{/if}>
                        {if isset($footerLink.icon) && $footerLink.icon}
                            <i class="{$footerLink.icon}"></i>
                        {elseif isset($footerLink.predefined_icon) && $footerLink.predefined_icon}
                            {$footerLink.predefined_icon}
                        {elseif isset($footerLink.media) && $footerLink.media}
                            {$footerLink.media}
                        {/if}
                        {if isset($footerLink.name) && $footerLink.name && $footerLink.style != "icon"}
                            <span>{$footerLink.name}</span>
                        {/if}
                    </a>
                </li>
            {/foreach}
        </ul>
    {/if}
{/if}