1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`02c11a9d9d30533c993ee303515aff2541c957eb`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`fb19f24b-cb1f-4128-b1f6-f30add1e655e`,e._sentryDebugIdIdentifier=`sentry-dbid-fb19f24b-cb1f-4128-b1f6-f30add1e655e`)}catch{}})();import{l as e,r as t,t as n}from"./jsx-runtime-CvoBunsF.js";import{t as r}from"./react-dom-ByZSHrYW.js";import{f as i,r as a,s as o,v as s,y as c}from"./matchContext-COROAkk7.js";import{t as ee}from"./useRouter-D-Gk4zbo.js";var te=`Error preloading route! âï¸`,l=e(r(),1);n();var u=e(t(),1),d=typeof window<`u`?u.useLayoutEffect:u.useEffect;function f(e){let t=u.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function p(e,t,n={},r={}){u.useEffect(()=>{if(!e.current||r.disabled||typeof IntersectionObserver!=`function`)return;let i=new IntersectionObserver(([e])=>{t(e)},n);return i.observe(e.current),()=>{i.disconnect()}},[t,n,r.disabled,e])}function m(e){let t=u.useRef(null);return u.useImperativeHandle(e,()=>t.current,[]),t}function h(e,t){let n=ee(),[r,d]=u.useState(!1),f=u.useRef(!1),h=m(t),{activeProps:b,inactiveProps:oe,activeOptions:S,to:C,preload:se,preloadDelay:w,hashScrollIntoView:ce,replace:le,startTransition:ue,resetScroll:T,viewTransition:E,children:D,target:O,disabled:k,style:A,className:j,onClick:M,onFocus:N,onMouseEnter:P,onMouseLeave:F,onTouchStart:I,ignoreBlocker:L,params:de,search:fe,hash:pe,state:me,mask:he,reloadDocument:ge,unsafeRelative:_e,from:ve,_fromLocation:ye,...R}=e,z=a({select:e=>e.location.search,structuralSharing:!0}),B=e.from,V=u.useMemo(()=>({...e,from:B}),[n,z,B,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),H=u.useMemo(()=>n.buildLocation({...V}),[n,V]),U=u.useMemo(()=>{if(k)return;let e=H.maskedLocation?H.maskedLocation.url:H.url,t=!1;return n.origin&&(e.startsWith(n.origin)?e=n.history.createHref(e.replace(n.origin,``))||`/`:t=!0),{href:e,external:t}},[k,H.maskedLocation,H.url,n.origin,n.history]),W=u.useMemo(()=>{if(U?.external)return U.href;try{return new URL(C),C}catch{}},[C,U]),G=e.reloadDocument||W?!1:se??n.options.defaultPreload,K=w??n.options.defaultPreloadDelay??0,q=a({select:e=>{if(W)return!1;if(S?.exact){if(!o(e.location.pathname,H.pathname,n.basepath))return!1}else{let t=i(e.location.pathname,n.basepath),r=i(H.pathname,n.basepath);if(!(t.startsWith(r)&&(t.length===r.length||t[r.length]===`/`)))return!1}return(S?.includeSearch??!0)&&!s(e.location.search,H.search,{partial:!S?.exact,ignoreUndefined:!S?.explicitUndefined})?!1:S?.includeHash?e.location.hash===H.hash:!0}}),J=u.useCallback(()=>{n.preloadRoute({...V}).catch(e=>{console.warn(e),console.warn(te)})},[n,V]);p(h,u.useCallback(e=>{e?.isIntersecting&&J()},[J]),v,{disabled:!!k||G!==`viewport`}),u.useEffect(()=>{f.current||!k&&G===`render`&&(J(),f.current=!0)},[k,J,G]);let be=e=>{let t=e.currentTarget.getAttribute(`target`),r=O===void 0?t:O;if(!k&&!x(e)&&!e.defaultPrevented&&(!r||r===`_self`)&&e.button===0){e.preventDefault(),(0,l.flushSync)(()=>{d(!0)});let t=n.subscribe(`onResolved`,()=>{t(),d(!1)});n.navigate({...V,replace:le,resetScroll:T,hashScrollIntoView:ce,startTransition:ue,viewTransition:E,ignoreBlocker:L})}};if(W)return{...R,ref:h,href:W,...D&&{children:D},...O&&{target:O},...k&&{disabled:k},...A&&{style:A},...j&&{className:j},...M&&{onClick:M},...N&&{onFocus:N},...P&&{onMouseEnter:P},...F&&{onMouseLeave:F},...I&&{onTouchStart:I}};let Y=e=>{k||G&&J()},xe=Y,Se=e=>{if(!(k||!G))if(!K)J();else{let t=e.target;if(_.has(t))return;let n=setTimeout(()=>{_.delete(t),J()},K);_.set(t,n)}},Ce=e=>{if(k||!G||!K)return;let t=e.target,n=_.get(t);n&&(clearTimeout(n),_.delete(t))},X=q?c(b,{})??ne:g,Z=q?g:c(oe,{})??g,Q=[j,X.className,Z.className].filter(Boolean).join(` `),$=(A||X.style||Z.style)&&{...A,...X.style,...Z.style};return{...R,...X,...Z,href:U?.href,ref:h,onClick:y([M,be]),onFocus:y([N,Y]),onMouseEnter:y([P,Se]),onMouseLeave:y([F,Ce]),onTouchStart:y([I,xe]),disabled:!!k,target:O,...$&&{style:$},...Q&&{className:Q},...k&&re,...q&&ie,...r&&ae}}var g={},ne={className:`active`},re={role:`link`,"aria-disabled":!0},ie={"data-status":`active`,"aria-current":`page`},ae={"data-transitioning":`transitioning`},_=new WeakMap,v={rootMargin:`100px`},y=e=>t=>{for(let n of e)if(n){if(t.defaultPrevented)return;n(t)}},b=u.forwardRef((e,t)=>
1{let{_asChild:n,...r}=e,{type:i,ref:a,...o}=h(r,t),s=typeof r.children==`function`?r.children({isActive:o[`data-status`]===`active`}):r.children;return n===void 0&&delete o.disabled,u.createElement(n||`a`,{...o,ref:a},s)});function x(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}export{d as n,f as r,b as t}; 2//# sourceMappingURL=link-Dx5SuTlO.js.map
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.