1try{let e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`18c24601-4ed6-4fae-a57d-3c336d0e5705`,e._sentryDebugIdIdentifier=`sentry-dbid-18c24601-4ed6-4fae-a57d-3c336d0e5705`)}catch{}import"./Ch0wQgcI.js";import{J as e,Tn as t,Ut as n,ct as r,ft as i,gn as a,vn as o}from"./CSee42aB.js";import{t as s}from"./D_CmkalU.js";import{o as c}from"./CmYDukiO2.js";import{t as l}from"./DgIqSIab2.js";var u=a({headerVisible:!0});function d(){let a=e(`breakpoints`).greaterOrEqual(`lg`),{headerVisible:d}=t(u),f=e=>{u.headerVisible=e},p=s(`currentHeaderState`,()=>o(null)),m=s(`currentMenuPosition`,()=>o(null)),h=s(`headerFieldFocused`,()=>o(!1)),g=()=>{h.value||(p.value=null,m.value=null)},_=e=>{p.value=`openFlyoutNavigation`,m.value=e},v=o(null),y=(e,t)=>{v.value!==null&&clearTimeout(v.value),v.value=window.setTimeout(e,t)},b=()=>`ontouchstart`in window||navigator.maxTouchPoints>0,x=o(!1),S=o(null),C=o(0),w=e=>{if(S.value===null)return;let t=e<C.value,n=e>S.value,r=()=>{u.headerVisible=p.value!==null||!n||t,x.value=n&&t};t&&b()?y(r,150):r(),C.value=e},T=()=>{a.value&&w(l())},E=o(null),{height:D}=c(E,void 0,{box:`border-box`});return n(()=>{D.value>0&&document.documentElement.style.setProperty(`--nav-height`,`${D.value}px`)}),r(()=>{let e=E.value;if(!e)return;let t=e.offsetHeight,n=e.offsetTop;S.value=t+n,window.addEventListener(`scroll`,T,{passive:!0})}),i(()=>{window.removeEventListener(`scroll`,T)}),{headerElement:E,headerVisible:d,changeHeaderVisibility:f,currentHeaderState:p,currentMenuPosition:m,handleUpdateCurrentMenuPosition:_,closeHeader:g,isScrollingUp:x,headerFieldFocused:h}}export{d as 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.