1document.addEventListener("DOMContentLoaded",()=>{document.querySelectorAll(".mega-menu").forEach(megaMenu=>{const tabs=Array.from(megaMenu.querySelectorAll(".mega-menu__tab-item")),panels=Array.from(megaMenu.querySelectorAll(".mega-menu__panel"));if(!tabs.length||!panels.length)return;const activateTab=index=>{tabs.forEach(tab=>tab.classList.toggle("is-active",tab.dataset.tabIndex===index)),panels.forEach(panel=>panel.classList.toggle("is-active",panel.dataset.panelIndex===index))};tabs.forEach(tab=>{tab.addEventListener("mouseenter",()=>activateTab(tab.dataset.tabIndex));const trigger=tab.querySelector(".mega-menu__tab-trigger");trigger&&trigger.tagName==="SPAN"&&trigger.addEventListener("click",()=>activateTab(tab.dataset.tabIndex))})})}); 2//# sourceMappingURL=/cdn/shop/t/8/assets/mega-menu-tabs.js.map?v=105330243458096621251783490566
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.