1import{o as e}from"./rolldown-runtime-DAXXjFlN.js";import{t}from"./react-BUD3sqOU.js";import{t as n}from"./react-dom-DmHqBZ9-.js";import{_ as r,f as i,i as a,l as o,m as s,n as c,t as l}from"./useStore-CvenRxHN.js";import{t as u}from"./jsx-runtime-CFwixLRt.js";function d(e){let t=new Map,n,r,i=e=>{e.next&&(e.prev?(e.prev.next=e.next,e.next.prev=e.prev,e.next=void 0,r&&(r.next=e,e.prev=r)):(e.next.prev=void 0,n=e.next,e.next=void 0,r&&(e.prev=r,r.next=e)),r=e)};return{get(e){let n=t.get(e);if(n)return i(n),n.value},set(a,o){if(t.size>=e&&n){let e=n;t.delete(e.key),e.next&&(n=e.next,e.next.prev=void 0),e===r&&(r=void 0)}let s=t.get(a);if(s)s.value=o,i(s);else{let e={key:a,value:o,prev:r};r&&(r.next=e),r=e,n||=e,t.set(a,e)}},clear(){t.clear(),n=void 0,r=void 0}}}var f=4,p=5;function m(e){let t=e.indexOf(`{`);if(t===-1)return null;let n=e.indexOf(`}`,t);return n===-1||t+1>=e.length?null:[t,n]}function h(e,t,n=new Uint16Array(6)){let r=e.indexOf(`/`,t),i=r===-1?e.length:r,a=e.substring(t,i);if(!a||!a.includes(`$`))return n[0]=0,n[1]=t,n[2]=t,n[3]=i,n[4]=i,n[5]=i,n;if(a===`$`){let r=e.length;return n[0]=2,n[1]=t,n[2]=t,n[3]=r,n[4]=r,n[5]=r,n}if(a.charCodeAt(0)===36)return n[0]=1,n[1]=t,n[2]=t+1,n[3]=i,n[4]=i,n[5]=i,n;let o=m(a);if(o){let[r,s]=o,c=a.charCodeAt(r+1);if(c===45){if(r+2<a.length&&a.charCodeAt(r+2)===36){let e=r+3,a=s;if(e<a)return n[0]=3,n[1]=t+r,n[2]=t+e,n[3]=t+a,n[4]=t+s+1,n[5]=i,n}}else if(c===36){let a=r+1,o=r+2;return o===s?(n[0]=2,n[1]=t+r,n[2]=t+a,n[3]=t+o,n[4]=t+s+1,n[5]=e.length,n):(n[0]=1,n[1]=t+r,n[2]=t+o,n[3]=t+s,n[4]=t+s+1,n[5]=i,n)}}return n[0]=0,n[1]=t,n[2]=t,n[3]=i,n[4]=i,n[5]=i,n}function g(e,t,n,r,i,a,o){o?.(n);let s=r;{let r=n.fullPath??n.from,o=r.length,c=n.options?.caseSensitive??e,l=n.options?.params?.parse??n.options?.parseParams;for(;s<o;){let e=h(r,s,t),o,u=s,d=e[5];switch(s=d+1,a++,e[0]){case 0:{let t=r.substring(e[2],e[3]);if(c){let e=i.static?.get(t);if(e)o=e;else{i.static??=new Map;let e=y(n.fullPath??n.from);e.parent=i,e.depth=a,o=e,i.static.set(t,e)}}else{let e=t.toLowerCase(),r=i.staticInsensitive?.get(e);if(r)o=r;else{i.staticInsensitive??=new Map;let t=y(n.fullPath??n.from);t.parent=i,t.depth=a,o=t,i.staticInsensitive.set(e,t)}}break}case 1:{let t=r.substring(u,e[1]),s=r.substring(e[4],d),f=c&&!!(t||s),p=t?f?t:t.toLowerCase():void 0,m=s?f?s:s.toLowerCase():void 0,h=!l&&i.dynamic?.find(e=>!e.parse&&e.caseSensitive===f&&e.prefix===p&&e.suffix===m);if(h)o=h;else{let e=b(1,n.fullPath??n.from,f,p,m);o=e,e.depth=a,e.parent=i,i.dynamic??=[],i.dynamic.push(e)}break}case 3:{let t=r.substring(u,e[1]),s=r.substring(e[4],d),f=c&&!!(t||s),p=t?f?t:t.toLowerCase():void 0,m=s?f?s:s.toLowerCase():void 0,h=!l&&i.optional?.find(e=>!e.parse&&e.caseSensitive===f&&e.prefix===p&&e.suffix===m);if(h)o=h;else{let e=b(3,n.fullPath??n.from,f,p,m);o=e,e.parent=i,e.depth=a,i.optional??=[],i.optional.push(e)}break}case 2:{let t=r.substring(u,e[1]),s=r.substring(e[4],d),l=c&&!!(t||s),f=t?l?t:t.toLowerCase():void 0,p=s?l?s:s.toLowerCase():void 0,m=b(2,n.fullPath??n.from,l,f,p);o=m,m.parent=i,m.depth=a,i.wildcard??=[],i.wildcard.push(m)}}i=o}if(l&&n.children&&!n.isRoot&&n.id&&n.id.charCodeAt(n.id.lastIndexOf(`/`)+1)===95){let e=y(n.fullPath??n.from);e.kind=p,e.parent=i,a++,e.depth=a,i.pathless??=[],i.pathless.push(e),i=e}let u=(n.path||!n.children)&&!n.isRoot;if(u&&r.endsWith(`/`)){let e=y(n.fullPath??n.from);e.kind=f,e.parent=i,a++,e.depth=a,i.index=e,i=e}i.parse=l??null,i.priority=n.options?.params?.priority??0,u&&!i.route&&(i.route=n,i.fullPath=n.fullPath??n.from)}if(n.children)for(let r of n.children)g(e,t,r,s,i,a,o)}function _(e,t){if(e.parse&&!t.parse)return-1;if(!e.parse&&t.parse)return 1;if(e.parse&&t.parse&&(e.priority||t.priority))return t.priority-e.priority;if(e.prefix&&t.prefix&&e.prefix!==t.prefix){if(e.prefix.startsWith(t.prefix))return-1;if(t.prefix.startsWith(e.prefix))return 1}if(e.suffix&&t.suffix&&e.suffix!==t.suffix){if(e.suffix.endsWith(t.suffix))return-1;if(t.suffix.endsWith(e.suffix))return 1}return e.prefix&&!t.prefix?-1:!e.prefix&&t.prefix?1:e.suffix&&!t.suffix?-1:!e.suffix&&t.suffix?1:e.caseSensitive&&!t.caseSensitive?-1:!e.caseSensitive&&t.caseSensitive?1:0}function v(e){if(e.pathless)for(let t of e.pathless)v(t);if(e.static)for(let t of e.static.values())v(t);if(e.staticInsensitive)for(let t of e.staticInsensitive.values())v(t);if(e.dynamic?.length){e.dynamic.sort(_);for(let t of e.dynamic)v(t)}if(e.optional?.length){e.optional.sort(_);for(let t of e.optional)v(t)}if(e.wildcard?.length){e.wildcard.sort(_);for(let t of e.wildcard)v(t)}}function y(e){return{kind:0,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:e,parent:null,parse:null,priority:0}}function b(e,t,n,r,i){return{kind:e,depth:0,pathless:null,index:null,static:null,staticInsensitive:null,dynamic:null,optional:null,wildcard:null,route:null,fullPath:t,parent:null,parse:null,priority:0,caseSensitive:n,prefix:r,suffix:i}}function x(e,t){let n=y(`/`),r=new Uint16Array(6);for(let t of e)g(!1,r,t,1,n,0);v(n),t.masksTree=n,t.flatCache=d(1e3)}function S(e,t){e||=`/`;let n=t.flatCache.get(e);if(n)return n;let r=D(e,t.masksTree);return t.flatCache.set(e,r),r}function C(e,t,n,r,i){e||=`/`,r||=`/`;let a=t?`case\0${e}`:e,o=i.singleCache.get(a);return o||(o=y(`/`),g(t,new Uint16Array(6),{from:e},1,o,0),i.singleCache.set(a,o)),D(r,o,n)}function w(e,t,n=!1){let r=n?e:`nofuzz\0${e}`,i=t.matchCache.get(r);if(i!==void 0)return i;e||=`/`;let a;try{a=D(e,t.segmentTree,n)}catch(e){if(e instanceof URIError)a=null;else throw e}return a&&(a.branch=k(a.route)),t.matchCache.set(r,a),a}function T(e){return e===`/`?e:e.replace(/\/{1,}$/,``)}function E(e,t=!1,n){let r=y(e.fullPath),i=new Uint16Array(6),o={},s={},c=0;
1return g(t,i,e,1,r,0,e=>{if(n?.(e,c),e.id in o&&a(),o[e.id]=e,c!==0&&e.path){let t=T(e.fullPath);(!s[t]||e.fullPath.endsWith(`/`))&&(s[t]=e)}c++}),v(r),{processedTree:{segmentTree:r,singleCache:d(1e3),matchCache:d(1e3),flatCache:null,masksTree:null},routesById:o,routesByPath:s}}function D(e,t,n=!1){let r=e.split(`/`),i=j(e,r,t,n);if(!i)return null;let[a]=O(e,r,i);return{route:i.node.route,rawParams:a}}function O(e,t,n){let r=A(n.node),i=null,a=Object.create(null),o=n.extract?.part??0,s=n.extract?.node??0,c=n.extract?.path??0,l=n.extract?.segment??0;for(;s<r.length;o++,s++,c++,l++){let u=r[s];if(u.kind===f)break;if(u.kind===p){l--,o--,c--;continue}let d=t[o],m=c;if(d&&(c+=d.length),u.kind===1){i??=n.node.fullPath.split(`/`);let e=i[l],t=u.prefix?.length??0;if(e.charCodeAt(t)===123){let n=u.suffix?.length??0,r=e.substring(t+2,e.length-n-1),i=d.substring(t,d.length-n);a[r]=decodeURIComponent(i)}else{let t=e.substring(1);a[t]=decodeURIComponent(d)}}else if(u.kind===3){if(n.skipped&1<<s){o--,c=m-1;continue}i??=n.node.fullPath.split(`/`);let e=i[l],t=u.prefix?.length??0,r=u.suffix?.length??0,f=e.substring(t+3,e.length-r-1),p=u.suffix||u.prefix?d.substring(t,d.length-r):d;p&&(a[f]=decodeURIComponent(p))}else if(u.kind===2){let t=u,n=e.substring(m+(t.prefix?.length??0),e.length-(t.suffix?.length??0)),r=decodeURIComponent(n);a[`*`]=r,a._splat=r;break}}return n.rawParams&&Object.assign(a,n.rawParams),[a,{part:o,node:s,path:c,segment:l}]}function k(e){let t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function A(e){let t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function j(e,t,n,i){if(e===`/`&&n.index)return{node:n.index,skipped:0};let a=!r(t),o=a&&e!==`/`,s=t.length-+!!a,c=[{node:n,index:1,skipped:0,depth:1,statics:0,dynamics:0,optionals:0}],l=null,u=null;for(;c.length;){let n=c.pop(),{node:r,index:a,skipped:d,depth:p,statics:m,dynamics:h,optionals:g}=n,{extract:_,rawParams:v}=n;if(r.kind===2&&r.route&&!N(u,n))continue;if(r.parse){if(!te(e,t,n))continue;v=n.rawParams,_=n.extract}i&&r.route&&r.kind!==f&&N(l,n)&&(l=n);let y=a===s;if(y&&(r.route&&(!o||r.kind===f||r.kind===2)&&N(u,n)&&(u=n),!r.optional&&!r.wildcard&&!r.index&&!r.pathless))continue;let b=y?void 0:t[a],x;if(y&&r.index){let n={node:r.index,index:a,skipped:d,depth:p+1,statics:m,dynamics:h,optionals:g,extract:_,rawParams:v},i=!0;if(r.index.parse&&(te(e,t,n)||(i=!1)),i){if(!h&&!g&&!d&&ee(m,s))return n;N(u,n)&&(u=n)}}if(r.wildcard)for(let e=r.wildcard.length-1;e>=0;e--){let n=r.wildcard[e],{prefix:i,suffix:o}=n;if(!(i&&(y||!(n.caseSensitive?b:x??=b.toLowerCase()).startsWith(i)))){if(o){if(y)continue;let e=t.slice(a).join(`/`).slice(-o.length);if((n.caseSensitive?e:e.toLowerCase())!==o)continue}c.push({node:n,index:s,skipped:d,depth:p+1,statics:m,dynamics:h,optionals:g,extract:_,rawParams:v})}}if(r.optional){let e=d|1<<p,t=p+1;for(let n=r.optional.length-1;n>=0;n--){let i=r.optional[n];c.push({node:i,index:a,skipped:e,depth:t,statics:m,dynamics:h,optionals:g,extract:_,rawParams:v})}if(!y)for(let e=r.optional.length-1;e>=0;e--){let n=r.optional[e],{prefix:i,suffix:o}=n;if(i||o){let e=n.caseSensitive?b:x??=b.toLowerCase();if(i&&!e.startsWith(i)||o&&!e.endsWith(o))continue}c.push({node:n,index:a+1,skipped:d,depth:t,statics:m,dynamics:h,optionals:g+M(s,a),extract:_,rawParams:v})}}if(!y&&r.dynamic&&b)for(let e=r.dynamic.length-1;e>=0;e--){let t=r.dynamic[e],{prefix:n,suffix:i}=t;if(n||i){let e=t.caseSensitive?b:x??=b.toLowerCase();if(n&&!e.startsWith(n)||i&&!e.endsWith(i))continue}c.push({node:t,index:a+1,skipped:d,depth:p+1,statics:m,dynamics:h+M(s,a),optionals:g,extract:_,rawParams:v})}if(!y&&r.staticInsensitive){let e=r.staticInsensitive.get(x??=b.toLowerCase());e&&c.push({node:e,index:a+1,skipped:d,depth:p+1,statics:m+M(s,a),dynamics:h,optionals:g,extract:_,rawParams:v})}if(!y&&r.static){let e=r.static.get(b);e&&c.push({node:e,index:a+1,skipped:d,depth:p+1,statics:m+M(s,a),dynamics:h,optionals:g,extract:_,rawParams:v})}if(r.pathless){let e=p+1;for(let t=r.pathless.length-1;t>=0;t--){let n=r.pathless[t];c.push({node:n,index:a,skipped:d,depth:e,statics:m,dynamics:h,optionals:g,extract:_,rawParams:v})}}}if(u)return u;if(i&&l){let n=l.index;for(let e=0;e<l.index;e++)n+=t[e].length;let r=n===e.length?`/`:e.slice(n);return l.rawParams??=Object.create(null),l.rawParams[`**`]=decodeURIComponent(r),l}return null}function M(e,t){return 2**(e-t-1)}function ee(e,t){return e===2**(t-1)-1}function te(e,t,n){let r,i;try{[r,i]=O(e,t,n)}catch{return null}if(n.rawParams=r,n.extract=i,!n.node.parse)return!0;try{if(n.node.parse(r)===!1)return null}catch{}return!0}function N(e,t){return e?t.statics>e.statics||t.statics===e.statics&&(t.dynamics>e.dynamics||t.dynamics===e.dynamics&&(t.optionals>e.optionals||t.optionals===e.optionals&&((t.node.kind===f)>(e.node.kind===f)||t.node.kind===f==(e.node.kind===f)&&t.depth>e.depth))):!0}function ne(e){return re(e.filter(e=>e!==void 0).join(`/`))}function re(e){return e.replace(/\/{2,}/g,`/`)}function ie(e){return e===`/`?e:e.replace(/^\/{1,}/,``)}function ae(e){let t=e.length;return t>1&&e[t-1]===`/`?e.replace(/\/{1,}$/,``):e}function oe(e){return ae(ie(e))}function P(e,t){return e?.endsWith(`/`)&&e!==`/`&&e!==`${t}/`?e.slice(0,-1):e}function se(e,t,n){return P(e,n)===P(t,n)}
1function ce({base:e,to:t,trailingSlash:n=`never`,cache:i}){let a=t.startsWith(`/`),o=!a&&t===`.`,s;if(i){s=a?t:o?e:e+`\0`+t;let n=i.get(s);if(n)return n}let c;if(o)c=e.split(`/`);else if(a)c=t.split(`/`);else{for(c=e.split(`/`);c.length>1&&r(c)===``;)c.pop();let n=t.split(`/`);for(let e=0,t=n.length;e<t;e++){let r=n[e];r===``?e?e===t-1&&c.push(r):c=[r]:r===`..`?c.pop():r===`.`||c.push(r)}}c.length>1&&(r(c)===``?n===`never`&&c.pop():n===`always`&&c.push(``));let l=re(c.join(`/`))||`/`;return s&&i&&i.set(s,l),l}function F(e){let t=new Map(e.map(e=>[encodeURIComponent(e),e])),n=Array.from(t.keys()).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`)).join(`|`),r=new RegExp(n,`g`);return e=>e.replace(r,e=>t.get(e)??e)}function I(e,t,n){let r=t[e];return typeof r==`string`?e===`_splat`?/^[a-zA-Z0-9\-._~!/]*$/.test(r)?r:r.split(`/`).map(e=>R(e,n)).join(`/`):R(r,n):r}function L({path:e,params:t,decoder:n,...r}){let i=!1,a=Object.create(null);if(!e||e===`/`)return{interpolatedPath:`/`,usedParams:a,isMissingParams:i};if(!e.includes(`$`))return{interpolatedPath:e,usedParams:a,isMissingParams:i};let o=e.length,s=0,c,l=``;for(;s<o;){let r=s;c=h(e,r,c);let o=c[5];if(s=o+1,r===o)continue;let u=c[0];if(u===0){l+=`/`+e.substring(r,o);continue}if(u===2){let s=t._splat;a._splat=s,a[`*`]=s;let u=e.substring(r,c[1]),d=e.substring(c[4],o);if(!s){i=!0,(u||d)&&(l+=`/`+u+d);continue}let f=I(`_splat`,t,n);l+=`/`+u+f+d;continue}if(u===1){let s=e.substring(c[2],c[3]);!i&&!(s in t)&&(i=!0),a[s]=t[s];let u=e.substring(r,c[1]),d=e.substring(c[4],o),f=I(s,t,n)??`undefined`;l+=`/`+u+f+d;continue}if(u===3){let i=e.substring(c[2],c[3]),s=t[i];if(s==null)continue;a[i]=s;let u=e.substring(r,c[1]),d=e.substring(c[4],o),f=I(i,t,n)??``;l+=`/`+u+f+d;continue}}return e.endsWith(`/`)&&(l+=`/`),{usedParams:a,interpolatedPath:l||`/`,isMissingParams:i}}function R(e,t){let n=encodeURIComponent(e);return t?.(n)??n}var le=`Error preloading route! âï¸`,z=e(t(),1),B=z.use,V=typeof window<`u`?z.useLayoutEffect:z.useEffect;function H(e){let t=z.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function ue(e,t,n={},r={}){z.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 de(e){let t=z.useRef(null);return z.useImperativeHandle(e,()=>t.current,[]),t}var U=u();function W({children:e,fallback:t=null}){return G()?(0,U.jsx)(z.Fragment,{children:e}):(0,U.jsx)(z.Fragment,{children:t})}function G(){return z.useSyncExternalStore(K,()=>!0,()=>!1)}function K(){return()=>{}}var fe=e(n(),1);function q(e,t){let n=c(),r=de(t),{activeProps:a,inactiveProps:u,activeOptions:d,to:f,preload:p,preloadDelay:m,preloadIntentProximity:h,hashScrollIntoView:g,replace:_,startTransition:v,resetScroll:y,viewTransition:b,children:x,target:S,disabled:C,style:w,className:T,onClick:E,onBlur:D,onFocus:O,onMouseEnter:k,onMouseLeave:A,onTouchStart:j,ignoreBlocker:M,params:ee,search:te,hash:N,state:ne,mask:re,reloadDocument:ie,unsafeRelative:ae,from:oe,_fromLocation:ce,...F}=e,I=G(),L=z.useMemo(()=>e,[n,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),R=l(n.stores.location,e=>e,(e,t)=>e.href===t.href),B=z.useMemo(()=>{let e={_fromLocation:R,...L};return n.buildLocation(e)},[n,R,L]),V=B.maskedLocation?B.maskedLocation.publicHref:B.publicHref,H=B.maskedLocation?B.maskedLocation.external:B.external,U=z.useMemo(()=>ve(V,H,n.history,C),[C,H,V,n.history]),W=z.useMemo(()=>{if(U?.external)return s(U.href,n.protocolAllowlist)?void 0:U.href;if(!ye(f)&&!(typeof f!=`string`||f.indexOf(`:`)===-1))try{return new URL(f),s(f,n.protocolAllowlist)?void 0:f}catch{}},[f,U,n.protocolAllowlist]),K=z.useMemo(()=>{if(W)return!1;if(d?.exact){if(!se(R.pathname,B.pathname,n.basepath))return!1}else{let e=P(R.pathname,n.basepath),t=P(B.pathname,n.basepath);if(!(e.startsWith(t)&&(e.length===t.length||e[t.length]===`/`)))return!1}return(d?.includeSearch??!0)&&!o(R.search,B.search,{partial:!d?.exact,ignoreUndefined:!d?.explicitUndef
1ined})?!1:d?.includeHash?I&&R.hash===B.hash:!0},[d?.exact,d?.explicitUndefined,d?.includeHash,d?.includeSearch,R,W,I,B.hash,B.pathname,B.search,n.basepath]),q=K?i(a,{})??pe:J,Z=K?J:i(u,{})??J,xe=[T,q.className,Z.className].filter(Boolean).join(` `),Se=(w||q.style||Z.style)&&{...w,...q.style,...Z.style},[Ce,we]=z.useState(!1),Te=z.useRef(!1),Q=e.reloadDocument||W?!1:p??n.options.defaultPreload,Ee=m??n.options.defaultPreloadDelay??0,$=z.useCallback(()=>{n.preloadRoute({...L,_builtLocation:B}).catch(e=>{console.warn(e),console.warn(le)})},[n,L,B]);ue(r,z.useCallback(e=>{e?.isIntersecting&&$()},[$]),_e,{disabled:!!C||Q!==`viewport`}),z.useEffect(()=>{Te.current||!C&&Q===`render`&&($(),Te.current=!0)},[C,$,Q]);let De=e=>{let t=e.currentTarget.getAttribute(`target`),r=S===void 0?t:S;if(!C&&!be(e)&&!e.defaultPrevented&&(!r||r===`_self`)&&e.button===0){e.preventDefault(),(0,fe.flushSync)(()=>{we(!0)});let t=n.subscribe(`onResolved`,()=>{t(),we(!1)});n.navigate({...L,replace:_,resetScroll:y,hashScrollIntoView:g,startTransition:v,viewTransition:b,ignoreBlocker:M})}};if(W)return{...F,ref:r,href:W,...x&&{children:x},...S&&{target:S},...C&&{disabled:C},...w&&{style:w},...T&&{className:T},...E&&{onClick:E},...D&&{onBlur:D},...O&&{onFocus:O},...k&&{onMouseEnter:k},...A&&{onMouseLeave:A},...j&&{onTouchStart:j}};let Oe=e=>{if(C||Q!==`intent`)return;if(!Ee){$();return}let t=e.currentTarget;if(Y.has(t))return;let n=setTimeout(()=>{Y.delete(t),$()},Ee);Y.set(t,n)},ke=e=>{C||Q!==`intent`||$()},Ae=e=>{if(C||!Q||!Ee)return;let t=e.currentTarget,n=Y.get(t);n&&(clearTimeout(n),Y.delete(t))};return{...F,...q,...Z,href:U?.href,ref:r,onClick:X([E,De]),onBlur:X([D,Ae]),onFocus:X([O,Oe]),onMouseEnter:X([k,Oe]),onMouseLeave:X([A,Ae]),onTouchStart:X([j,ke]),disabled:!!C,target:S,...Se&&{style:Se},...xe&&{className:xe},...C&&me,...K&&he,...I&&Ce&&ge}}var J={},pe={className:`active`},me={role:`link`,"aria-disabled":!0},he={"data-status":`active`,"aria-current":`page`},ge={"data-transitioning":`transitioning`},Y=new WeakMap,_e={rootMargin:`100px`},X=e=>t=>{for(let n of e)if(n){if(t.defaultPrevented)return;n(t)}};function ve(e,t,n,r){if(!r)return t?{href:e,external:!0}:{href:n.createHref(e)||`/`,external:!1}}function ye(e){if(typeof e!=`string`)return!1;let t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var Z=z.forwardRef((e,t)=>{let{_asChild:n,...r}=e,{type:i,...a}=q(r,t),o=typeof r.children==`function`?r.children({isActive:a[`data-status`]===`active`}):r.children;if(!n){let{disabled:e,...t}=a;return z.createElement(`a`,t,o)}return z.createElement(n,a,o)});function be(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}export{w as _,V as a,E as b,F as c,ce as d,oe as f,S as g,k as h,B as i,L as l,ae as m,W as n,H as o,ie as p,G as r,re as s,Z as t,ne as u,C as v,d as x,x as y}; 2//# sourceMappingURL=link-EObPN6Pf.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.