PageSourceSearch

https://equestrianstockholm.com/cdn/shop/t/104/assets/mega-menu.js?v=12644236483527845931789996713

js equestrianstockholm.com collected 2026-09-24 10:34:04 UTC 1,431 bytes, 2 lines download raw bytes

1document.addEventListener("DOMContentLoaded",()=>{const nav=document.querySelector(".header-megalinks"),parents=Array.from(document.querySelectorAll(".header-megalinks-parent")),hoverMql=window.matchMedia("(hover: hover) and (pointer: fine)");if(!nav)return;const getDropdown=el=>el.querySelector(".header-megalinks-dropdown"),open=wrapper=>{parents.forEach(p=>{p!==wrapper&&close(p)}),wrapper.setAttribute("aria-expanded","true"),wrapper.classList.add("is-visible");const submenu=getDropdown(wrapper);submenu&&submenu.classList.add("is-visible")},close=wrapper=>{wrapper.setAttribute("aria-expanded","false"),wrapper.classList.remove("is-visible");const submenu=getDropdown(wrapper);submenu&&submenu.classList.remove("is-visible")},closeAll=()=>parents.forEach(close),bindHover=()=>{nav.addEventListener("mouseover",e=>{const link=e.target.closest("a.header-megalink");if(!link)return;const wrapper=link.closest(".header-megalinks-parent");if(!wrapper){closeAll();return}wrapper.querySelector(".header-megalinks-dropdown")?open(wrapper):closeAll()}),nav.addEventListener("mouseleave",closeAll)};hoverMql.matches&&bindHover(),hoverMql.addEventListener?hoverMql.addEventListener("change",e=>{e.matches||closeAll()}):hoverMql.addListener(e=>{e.matches||closeAll()}),document.addEventListener("keydown",e=>{e.key==="Escape"&&closeAll()})});
2//# sourceMappingURL=/cdn/shop/t/104/assets/mega-menu.js.map?v=12644236483527845931789996713

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.