1(function(){var __sections__={};(function(){for(var i=0,s=document.getElementById("sections-script").getAttribute("data-sections").split(",");i<s.length;i++)__sections__[s[i]]=!0})(),(function(){if(__sections__.header)try{document.addEventListener("DOMContentLoaded",()=>{function setCombinedHeaderHeight(){const headerEls2=document.querySelectorAll(".shopify-section-group-header-group");let totalHeight=0;headerEls2.forEach(el=>{totalHeight+=el.getBoundingClientRect().height}),document.documentElement.style.setProperty("--header-height",`${Math.round(totalHeight)}px`);const mainHeaderEls=document.querySelectorAll("gaia-header");let mainHeaderHeight=0;mainHeaderEls.forEach(el=>{mainHeaderHeight+=el.getBoundingClientRect().height}),document.documentElement.style.setProperty("--header-height-no-announcement",`${Math.round(mainHeaderHeight)}px`)}setCombinedHeaderHeight();const headerEls=document.querySelectorAll(".shopify-section-group-header-group, .section-header"),headerObserver=new ResizeObserver(()=>{setCombinedHeaderHeight()});headerEls.forEach(el=>headerObserver.observe(el));const mobileSearchBtn=document.getElementById("mobile-search-btn"),mobileSearchPanel=document.getElementById("mobile-search-panel"),mobileLocalisationBtn=document.getElementById("mobile-localisation-btn"),mobileLocalisationPanel=document.getElementById("mobile-localisation-panel"),mobileMenuEl=document.querySelector("gaia-mobile-menu"),mobileMenuDetails=mobileMenuEl?.querySelector("details");function closeSearchPanel(){mobileSearchPanel.classList.remove("open"),mobileSearchBtn.setAttribute("aria-expanded","false"),mobileSearchPanel.setAttribute("aria-hidden","true")}function closeLocalisationPanel(){mobileLocalisationPanel.classList.remove("open"),mobileLocalisationBtn.setAttribute("aria-expanded","false"),mobileLocalisationPanel.setAttribute("aria-hidden","true")}mobileSearchBtn&&mobileSearchPanel&&(mobileSearchBtn.addEventListener("click",e=>{e.stopPropagation();const isOpen=mobileSearchPanel.classList.toggle("open");mobileSearchBtn.setAttribute("aria-expanded",isOpen),mobileSearchPanel.setAttribute("aria-hidden",!isOpen),isOpen&&(mobileMenuEl&&mobileMenuDetails?.hasAttribute("open")&&mobileMenuEl.close(),mobileLocalisationPanel?.classList.contains("open")&&closeLocalisationPanel(),mobileSearchPanel.querySelector(".search-input")?.focus())}),document.addEventListener("click",e=>{!mobileSearchBtn.contains(e.target)&&!mobileSearchPanel.contains(e.target)&&closeSearchPanel()})),mobileLocalisationBtn&&mobileLocalisationPanel&&(mobileLocalisationBtn.addEventListener("click",e=>{e.stopPropagation(),mobileLocalisationPanel.classList.contains("open")?closeLocalisationPanel():(mobileLocalisationPanel.classList.add("open"),mobileLocalisationBtn.setAttribute("aria-expanded","true"),mobileLocalisationPanel.setAttribute("aria-hidden","false"),mobileMenuEl&&mobileMenuDetails?.hasAttribute("open")&&mobileMenuEl.close(),mobileSearchPanel?.classList.contains("open")&&closeSearchPanel())}),document.addEventListener("click",e=>{!mobileLocalisationBtn.contains(e.target)&&!mobileLocalisationPanel.contains(e.target)&&closeLocalisationPanel()})),mobileMenuDetails&&new MutationObserver(mutations=>{mutations.forEach(m=>{m.attributeName==="open"&&mobileMenuDetails.hasAttribute("open")&&(mobileSearchPanel?.classList.contains("open")&&closeSearchPanel(),mobileLocalisationPanel?.classList.contains("open")&&closeLocalisationPanel())})}).observe(mobileMenuDetails,{attributes:!0,attributeFilter:["open"]})})}catch(e){console.error(e)}})()})(); 2//# sourceMappingURL=/cdn/shop/t/52/compiled_assets/scripts.js.map?v=169886499352944192571788788226
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.