{"version":3,"names":["syncFooterLinks","bh","document","querySelector","nav","target","getElementById","storeBtn","links","querySelectorAll","length","title","innerHTML","appendChild","cloneNode","forEach","l","nl","className","style","cssText","icons","h","getAttribute","toLowerCase","includes","setAttribute","setInterval"],"sources":["theme-36-inline-common-footer.js"],"sourcesContent":["\n    function syncFooterLinks() {\n        const bh = document.querySelector('.b-header') || document.querySelector('.brand-header');\n        if (!bh) return;\n        const nav = bh.querySelector('nav');\n        const target = document.getElementById('sd-footer-links');\n        const storeBtn = document.getElementById('sd-store-footer');\n\n        if (nav && target) {\n            const links = nav.querySelectorAll('a');\n            if (links.length > 3) {\n                const title = target.querySelector('.text-white.text-\\\\[14px\\\\]');\n                target.innerHTML = '';\n                if (title) target.appendChild(title.cloneNode(true));\n                links.forEach(l => {\n                    const nl = l.cloneNode(true);\n                    nl.className = 'text-white/80 text-[12px] font-normal hover:underline hover:text-white transition-colors whitespace-nowrap';\n                    nl.style.cssText = 'color: rgba(255,255,255,0.8); font-size: 12px; font-weight: 400; text-decoration: none; transition: color 0.2s;';\n                    target.appendChild(nl);\n                });\n            }\n        }\n\n        if (bh && storeBtn) {\n            const icons = bh.querySelector('.icons');\n            if (icons) {\n                icons.querySelectorAll('a').forEach(l => {\n                    const h = (l.getAttribute('href') || '').toLowerCase();\n                    if (h.includes('tienda') || h.includes('shop') || h.includes('store')) {\n                        storeBtn.setAttribute('href', l.getAttribute('href'));\n                    }\n                });\n            }\n        }\n    }\n\n    syncFooterLinks();\n    setInterval(syncFooterLinks, 5000);\n"],"mappings":"AACI,SAASA,eAAeA,CAAA,EAAG;EACvB,MAAMC,EAAE,GAAGC,QAAQ,CAACC,aAAa,CAAC,WAAW,CAAC,IAAID,QAAQ,CAACC,aAAa,CAAC,eAAe,CAAC;EACzF,IAAI,CAACF,EAAE,EAAE;EACT,MAAMG,GAAG,GAAGH,EAAE,CAACE,aAAa,CAAC,KAAK,CAAC;EACnC,MAAME,MAAM,GAAGH,QAAQ,CAACI,cAAc,CAAC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