1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[new e.Error().stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(n!=null)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}({},e._sentryModuleMetadata[new e.Error().stack],{"_sentryBundlerPluginAppKey:astra-oas-frontend":!0});var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`0d0b5480-ebd0-4926-ae89-05c6f3a7d4b0`,e._sentryDebugIdIdentifier=`sentry-dbid-0d0b5480-ebd0-4926-ae89-05c6f3a7d4b0`)}catch{}})();import{G as e,P as t,Q as n,R as r,St as i,V as a,d as o,m as s,mt as c,qt as l,u}from"./DKgyLr-x.js";import{a as d}from"./DcLWULOw.js";import{j as f,l as p}from"./CxawlfzH.js";import{t as m}from"./Cq5R4Gwf.js";var h=20,g=(e,n)=>{let i=c(0),a=0,o=m(),{headerTopBarHeight:s,mainHeaderRef:l,mainStickyContentWrapperRef:g,sportMenuRef:_}=d(o),{height:v}=p(l),{height:y}=p(_),{bottom:b,top:x,height:S}=p(n),{height:C}=p(e),{height:w}=f(),T=u(()=>v.value>w.value/2?0:v.value),E=u(()=>{let t=g.value,n=_.value,r=e.value;return t?t.contains(n)&&t.contains(r)?y.value:0:n?y.value:0}),D=u(()=>T.value+E.value+s.value),O=u(()=>D.value),k=u(()=>w.value-C.value-h),A=()=>{if(e.value){if(C.value<=w.value-D.value-h){i.value=Math.min(O.value,b.value-C.value),a=window.scrollY;return}if(window.scrollY<a){i.value=Math.max(Math.min(O.value,i.value+a-window.scrollY),x.value),a=window.scrollY;return}window.scrollY>a&&(i.value=Math.min(Math.max(k.value,i.value+a-window.scrollY),b.value-C.value)),a=window.scrollY}},j=()=>{A()};return r(()=>{a=window.scrollY,i.value=0,window.addEventListener(`scroll`,A,{capture:!0,passive:!0}),window.addEventListener(`resize`,j,{passive:!0})}),t(()=>{window.removeEventListener(`scroll`,A,{capture:!0}),window.removeEventListener(`resize`,j)}),{style:u(()=>S.value===C.value?{position:`static`}:{position:`sticky`,top:`${i.value}px`})}},_={ref:`sticky-container`,class:`sticky-wrapper`},v={__name:`UiStickyWrapper`,setup(t){let r=n(`sticky-container`),{style:c}=g(n(`sticky-content`),r);return(t,n)=>(a(),s(`div`,_,[o(`div`,{ref:`sticky-content`,class:`sticky-wrapper__content`,style:l(i(c))},[e(t.$slots,`default`)],4)],512))}};export{v 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.