1import{t as e}from"./cssVarSync.CKcXkWjF.js?dpl=dpl_89FMhwtbPccBtxAzygUo9gmjLNJf";function t(){let t=document.getElementById(`mega-nav`);if(!t)return;let n=window.matchMedia(`(min-width: 1024px)`),r=window.matchMedia(`(hover: hover)`);e(t,`--nav-height`);let i=t.querySelector(`[data-site-notification]`);if(i&&!window.matchMedia(`(prefers-reduced-motion: reduce)`).matches){e(i,`--mm-banner-height`);let t=window.scrollY,n=!1,r=()=>{n=!1;let e=Math.max(window.scrollY,0);if(e<=120){document.documentElement.classList.remove(`mm-banner-hidden`),t=e;return}Math.abs(e-t)<8||(document.documentElement.classList.toggle(`mm-banner-hidden`,e>t),t=e)};window.addEventListener(`scroll`,()=>{n||(n=!0,requestAnimationFrame(r))},{passive:!0}),r()}let a=[...t.querySelectorAll(`[data-mm-item]`)].map(e=>({item:e,button:e.querySelector(`[data-mm-toggle]`)})).filter(e=>e.button!==null),o=e=>e.item.classList.contains(`is-open`);function s(e){e.item.classList.remove(`is-open`),e.button.setAttribute(`aria-expanded`,`false`)}function c(e){a.forEach(t=>t!==e&&s(t)),e.item.classList.add(`is-open`),e.button.setAttribute(`aria-expanded`,`true`)}a.forEach(e=>{let t=!1;e.button.addEventListener(`click`,()=>{if(o(e)){if(t){t=!1;return}s(e)}else c(e)});let i;e.item.addEventListener(`mouseenter`,()=>{n.matches&&r.matches&&(clearTimeout(i),o(e)||(t=!0),c(e))}),e.item.addEventListener(`mouseleave`,()=>{n.matches&&r.matches&&(i=setTimeout(()=>s(e),300))}),e.item.addEventListener(`focusout`,t=>{n.matches&&(e.item.contains(t.relatedTarget)||s(e))})}),document.addEventListener(`click`,e=>{let t=a.find(o);t&&!t.item.contains(e.target)&&s(t)});let l=t.querySelector(`[data-mm-nav]`),u=document.getElementById(`mega-nav-burger`),d=document.getElementById(`mega-nav-close`),f=[];function p(){l&&(l.classList.add(`is-open`),u?.setAttribute(`aria-expanded`,`true`),document.documentElement.style.overflow=`hidden`,f=[...document.body.children].filter(e=>e instanceof HTMLElement&&!e.contains(t)&&!e.inert),f.forEach(e=>e.inert=!0),requestAnimationFrame(()=>requestAnimationFrame(()=>d?.focus())))}function m(e=!0){l?.classList.contains(`is-open`)&&(l.classList.remove(`is-open`),u?.setAttribute(`aria-expanded`,`false`),document.documentElement.style.overflow=``,f.forEach(e=>e.inert=!1),f=[],e&&u?.focus())}u?.addEventListener(`click`,p),d?.addEventListener(`click`,()=>m()),document.addEventListener(`keydown`,e=>{if(e.key!==`Escape`)return;let t=a.find(o);n.matches?t&&(s(t),t.button.focus()):(t&&s(t),m())}),n.addEventListener(`change`,()=>{a.forEach(s),m(!1)})}t();
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.