1var z=c=>{throw TypeError(c)};var T=(c,s,n)=>s.has(c)||z("Cannot "+n);var e=(c,s,n)=>(T(c,s,"read from private field"),n?n.call(c):s.get(c)),a=(c,s,n)=>s.has(c)?z("Cannot add the same private member more than once"):s instanceof WeakSet?s.add(c):s.set(c,n),d=(c,s,n,i)=>(T(c,s,"write to private field"),i?i.call(c,n):s.set(c,n),n),o=(c,s,n)=>(T(c,s,"access private method"),n);var u,h,l,r,f,y,b,v,S,m,q,g,O,M,E,C,D,t,I,N,P,w,A,j,x,F,Q,R,k,Y,_,G,H;class K{constructor(){a(this,t);a(this,u,null);a(this,h,null);a(this,l,null);a(this,r,!1);a(this,f,[]);a(this,y,[]);a(this,b,[]);a(this,v,null);a(this,S,null);a(this,m,null);a(this,q);a(this,g,null);a(this,O,null);a(this,M,"is-sticky");a(this,E,!1);a(this,C,122);a(this,D,80);d(this,u,document.querySelector("html")),d(this,q,document.querySelector("body")),d(this,h,document.querySelector(".mobile-menu-button .menu-btn")),d(this,l,document.querySelector(".menu-container")),d(this,f,document.querySelectorAll(".mega-menu-trigger")),d(this,y,document.querySelectorAll(".mega-menu .font-bold")),d(this,b,document.querySelectorAll(".back-button")),d(this,v,document.querySelector(".language-dropdown")),d(this,S,document.querySelector(".quickmenu-trigger")),d(this,m,document.querySelector(".quickmenu-dropdown")),d(this,g,document.querySelector(".main-header")),d(this,O,document.querySelector(".main-stage")),o(this,t,I).call(this,{menuButton:e(this,h),menuContainer:e(this,l),bodyElement:e(this,q),header:e(this,g)}
1),o(this,t,N).call(this),o(this,t,j).call(this),o(this,t,Q).call(this),o(this,t,F).call(this),o(this,t,_).call(this),document.addEventListener("language-opened",()=>{o(this,t,w).call(this),o(this,t,A).call(this)}),document.addEventListener("quickmenu-opened",()=>{o(this,t,x).call(this),document.dispatchEvent(new Event("quicksearch-close"))}),document.addEventListener("quicksearch-opened",()=>{o(this,t,w).call(this),o(this,t,A).call(this)}),document.addEventListener("menu-opened",()=>{document.dispatchEvent(new Event("quicksearch-close"))})}}u=new WeakMap,h=new WeakMap,l=new WeakMap,r=new WeakMap,f=new WeakMap,y=new WeakMap,b=new WeakMap,v=new WeakMap,S=new WeakMap,m=new WeakMap,q=new WeakMap,g=new WeakMap,O=new WeakMap,M=new WeakMap,E=new WeakMap,C=new WeakMap,D=new WeakMap,t=new WeakSet,I=function(s){Object.entries(s).filter(([,i])=>!i).map(([i])=>i).length>0},N=function(){e(this,h)?.addEventListener("click",()=>{o(this,t,Y).call(this),o(this,t,P).call(this)}),document.addEventListener("click",s=>{e(this,r)&&!e(this,l)?.contains(s.target)&&!e(this,h)?.contains(s.target)&&!e(this,S)?.contains(s.target)&&o(this,t,w).call(this)}),document.addEventListener("keydown",s=>{s.key==="Escape"&&(o(this,t,w).call(this),o(this,t,x).call(this),document.dispatchEvent(new Event("quicksearch-close")))})},P=function(){if(!e(this,l))return;d(this,r,!e(this,r));const s=e(this,r)?"fadeIn 0.3s ease forwards, slideLeft 0.3s ease forwards":"fadeOut 0.3s ease forwards, slideRight 0.3s ease forwards";e(this,l).style.animation=s,e(this,r)?(e(this,l).classList.remove("menu-hide"),e(this,l).classList.add("menu-show"),e(this,u).classList.add("menu-open"),document.dispatchEvent(new Event("menu-opened"))):(e(this,l).addEventListener("animationend",()=>{e(this,l).classList.remove("menu-show"),e(this,l).classList.add("menu-hide")},{once:!0}),e(this,u).classList.remove("menu-open")),o(this,t,A).call(this),document.dispatchEvent(new CustomEvent("menu-state-changed",{detail:{isOpen:e(this,r)}}))},w=function(){e(this,r)&&(d(this,r,!1),e(this,l)&&(requestAnimationFrame(()=>{e(this,l).style.animation="fadeOut 0.3s ease forwards, slideRight 0.3s ease forwards"}),e(this,l).addEventListener("animationend",()=>{e(this,l).classList.remove("menu-show"),e(this,l).classList.add("menu-hide")},{once:!0})),e(this,u).classList.remove("menu-open"))},A=function(){e(this,h)&&(e(this,h).setAttribute("_icons",e(this,r)?"customiconfont icon-close":"customiconfont icon-menu"),e(this,h).setAttribute("aria-expanded",String(e(this,r))))},j=function(){e(this,f).forEach(s=>{s.addEventListener("click",n=>{n.preventDefault(),n.stopPropagation();const i=s.nextElementSibling;if(i&&i.classList.contains("mega-menu-dropdown")){const L=i.classList.contains("is-open");L?(i.style.animation="",i.classList.remove("is-open"),i.classList.add("is-closing"),e(this,u).classList.remove("mega-menu-open"),i.addEventListener("animationend",()=>{i.classList.remove("is-closing")},{once:!0})):(i.classList.remove("is-closing"),i.classList.add("is-open"),i.style.animation="",e(this,u).classList.add("mega-menu-open")),s.setAttribute("aria-expanded",String(!L)),e(this,f).forEach(B=>{const p=B.nextElementSibling;p!==i&&p?.classList.contains("mega-menu-dropdown")&&(p.style.animation="",p.classList.remove("is-open"),p.classList.add("is-closing"),B.setAttribute("aria-expanded","false"))}),document.dispatchEvent(new Event("quicksearch-close"))}})}),document.addEventListener("click",s=>{o(this,t,x).call(this,s)})},x=function(s=null){e(this,f).forEach(n=>{const i=n.nextElementSibling;i&&i.classList.contains("mega-menu-dropdown")&&(!s||!i.contains(s.target)&&!n.contains(s.target))&&(i.style.animation="fadeOut 0.3s ease forwards, slideRight 0.3s ease forwards",i.classList.remove("is-open"),i.classList.add("is-closing"),n.setAttribute("aria-expanded","false"),i.addEventListener("animationend",()=>{i.classList.remove("is-closing")},{once:!0}))}),e(this,u).classList.remove("mega-menu-open")},F=function(){document.querySelector(".quickmenu-dropdown-header .back-button")?.addEventListener("click",n=>{if(n.preventDefault(),e(this,m)){e(this,m).classList.remove("is-open"),e(this,m).classList.add("is-closing");const i=()=>{e(this,m).classList.remove("is-closing"),e(this,m).removeEventListener("animationend",i)};e(this,m).addEventListener("animationend",i)}})},Q=function(){e(this,f).forEach(s=>{s.addEventListener("click",n=>{const i=n.target.closest(".menu, .sub-menu");i&&o(this,t,R).call(this,i)})}),e(this,b).forEach(s=>{s.addEventListener("click",()=>{const n=s.closest(".sub-menu.is-open"),i=s.closest(".mega-menu-dropdown.is-open");if(n){o(this,t,k).call(this,n);const L=s.closest(".mega-menu-dropdown");L&&L.classList.add("is-open")}else i&&(o(this,t,k).call(this,i),e(this,u).classList.remove("mega-menu-open"))})}
1),e(this,y).forEach(s=>{const n=s.nextElementSibling;n instanceof HTMLElement&&s.addEventListener("click",i=>{i.preventDefault(),i.stopPropagation(),n.classList.contains("is-open")?o(this,t,k).call(this,n):o(this,t,R).call(this,n),s.parentNode?.querySelectorAll(".sub-menu")?.forEach(p=>{p!==n&&o(this,t,k).call(this,p)}),document.dispatchEvent(new Event("quicksearch-close"))})})},R=function(s){s&&(s.classList.add("is-open"),s.style.animation="slideLeft 0.3s ease forwards")},k=function(s){s&&(s.style.animation="slideRight 0.3s ease forwards",s.addEventListener("animationend",()=>{s.classList.remove("is-open")},{once:!0}))},Y=function(){e(this,v)?.classList.contains("is-open")&&(e(this,v).classList.remove("is-open"),e(this,u).classList.remove("language-open"),document.dispatchEvent(new Event("quicksearch-close")))},_=function(){window.addEventListener("scroll",()=>o(this,t,G).call(this))},G=function(){const s=window.scrollY||document.documentElement.scrollTop;!e(this,E)&&s>e(this,C)?o(this,t,H).call(this,!0):e(this,E)&&s<e(this,D)&&o(this,t,H).call(this,!1)},H=function(s){s?(e(this,g).classList.add(e(this,M)),console.log("Adding sticky class")):(e(this,g).classList.remove(e(this,M)),console.log("Removing sticky class")),d(this,E,s)};export{K as default};
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.