PageSourceSearch

https://www.algomo.com/assets/link-C0OyDP4T.js

js algomo.com collected 2026-09-25 15:20:51 UTC 21,406 bytes, 1 lines download raw bytes

1import{r as e,t}from"./rolldown-runtime-hePW80VL.js";import{n,t as r}from"./jsx-runtime-DE3RlOCf.js";import{_ as i,f as a,i as o,l as s,m as c,n as l,t as u}from"./useStore-smQCBtk2.js";var d=t((e=>{var t=n();function r(e){var t=`https://react.dev/errors/`+e;if(1<arguments.length){t+=`?args[]=`+encodeURIComponent(arguments[1]);for(var n=2;n<arguments.length;n++)t+=`&args[]=`+encodeURIComponent(arguments[n])}return`Minified React error #`+e+`; visit `+t+` for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`}function i(){}var a={d:{f:i,r:function(){throw Error(r(522))},D:i,C:i,L:i,m:i,X:i,S:i,M:i},p:0,findDOMNode:null},o=Symbol.for(`react.portal`);function s(e,t,n){var r=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:r==null?null:``+r,children:e,containerInfo:t,implementation:n}}var c=t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function l(e,t){if(e===`font`)return``;if(typeof t==`string`)return t===`use-credentials`?t:``}e.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=a,e.createPortal=function(e,t){var n=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!t||t.nodeType!==1&&t.nodeType!==9&&t.nodeType!==11)throw Error(r(299));return s(e,t,null,n)},e.flushSync=function(e){var t=c.T,n=a.p;try{if(c.T=null,a.p=2,e)return e()}finally{c.T=t,a.p=n,a.d.f()}},e.preconnect=function(e,t){typeof e==`string`&&(t?(t=t.crossOrigin,t=typeof t==`string`?t===`use-credentials`?t:``:void 0):t=null,a.d.C(e,t))},e.prefetchDNS=function(e){typeof e==`string`&&a.d.D(e)},e.preinit=function(e,t){if(typeof e==`string`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin),i=typeof t.integrity==`string`?t.integrity:void 0,o=typeof t.fetchPriority==`string`?t.fetchPriority:void 0;n===`style`?a.d.S(e,typeof t.precedence==`string`?t.precedence:void 0,{crossOrigin:r,integrity:i,fetchPriority:o}):n===`script`&&a.d.X(e,{crossOrigin:r,integrity:i,fetchPriority:o,nonce:typeof t.nonce==`string`?t.nonce:void 0})}},e.preinitModule=function(e,t){if(typeof e==`string`)if(typeof t==`object`&&t){if(t.as==null||t.as===`script`){var n=l(t.as,t.crossOrigin);a.d.M(e,{crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0})}}else t??a.d.M(e)},e.preload=function(e,t){if(typeof e==`string`&&typeof t==`object`&&t&&typeof t.as==`string`){var n=t.as,r=l(n,t.crossOrigin);a.d.L(e,n,{crossOrigin:r,integrity:typeof t.integrity==`string`?t.integrity:void 0,nonce:typeof t.nonce==`string`?t.nonce:void 0,type:typeof t.type==`string`?t.type:void 0,fetchPriority:typeof t.fetchPriority==`string`?t.fetchPriority:void 0,referrerPolicy:typeof t.referrerPolicy==`string`?t.referrerPolicy:void 0,imageSrcSet:typeof t.imageSrcSet==`string`?t.imageSrcSet:void 0,imageSizes:typeof t.imageSizes==`string`?t.imageSizes:void 0,media:typeof t.media==`string`?t.media:void 0})}},e.preloadModule=function(e,t){if(typeof e==`string`)if(t){var n=l(t.as,t.crossOrigin);a.d.m(e,{as:typeof t.as==`string`&&t.as!==`script`?t.as:void 0,crossOrigin:n,integrity:typeof t.integrity==`string`?t.integrity:void 0})}else a.d.m(e)},e.requestFormReset=function(e){a.d.r(e)},e.unstable_batchedUpdates=function(e,t){return e(t)},e.useFormState=function(e,t,n){return c.H.useFormState(e,t,n)},e.useFormStatus=function(){return c.H.useHostTransitionStatus()},e.version=`19.2.8`})),f=t(((e,t)=>{function n(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>`u`||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!=`function`))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(n)}catch(e){console.error(e)}}n(),t.exports=d()}));function p(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 m=4,h=5;function g(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 _(e,t,n=new Uint16Array(6)){let r=e.indexOf(`/`,t),i=r===-1?e.length:r,a=e.substring(t,i);
1if(!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=g(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 v(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=_(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=x(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=x(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=S(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=S(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=S(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=x(n.fullPath??n.from);e.kind=h,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=x(n.fullPath??n.from);e.kind=m,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)v(e,t,r,s,i,a,o)}function y(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 b(e){if(e.pathless)for(let t of e.pathless)b(t);if(e.static)for(let t of e.static.values())b(t);if(e.staticInsensitive)for(let t of e.staticInsensitive.values())b(t);if(e.dynamic?.length){e.dynamic.sort(y);for(let t of e.dynamic)b(t)}if(e.optional?.length){e.optional.sort(y);for(let t of e.optional)b(t)}if(e.wildcard?.length){e.wildcard.sort(y);for(let t of e.wildcard)b(t)}}function x(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 S(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 C(e,t){let n=x(`/`),r=new Uint16Array(6);for(let t of e)v(!1,r,t,1,n,0);b(n),t.masksTree=n,t.flatCache=p(1e3)}function w(e,t){e||=`/`;let n=t.flatCache.get(e);if(n)return n;let r=k(e,t.masksTree);return t.flatCache.set(e,r),r}function T(e,t,n,r,i){e||=`/`,r||=`/`;let a=t?`case\0${e}`:e,o=i.singleCache.get(a);return o||(o=x(`/`),v(t,new Uint16Array(6),{from:e},1,o,0),i.singleCache.set(a,o)),k(r,o,n)}function E(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=k(e,t.segmentTree,n)}catch(e){if(e instanceof URIError)a=null;else throw e}return a&&(a.branch=j(a.route)),t.matchCache.set(r,a),a}function D(e){return e===`/`?e:e.replace(/\/{1,}$/,``)}function O(e,t=!1,n){let r=x(e.fullPath),i=new Uint16Array(6),a={},s={},c=0;return v(t,i,e,1,r,0,e=>{if(n?.(e,c),e.id in a&&o(),a[e.id]=e,c!==0&&e.path){let t=D(e.fullPath);(!s[t]||e.fullPath.endsWith(`/`))&&(s[t]=e)}c++}),b(r),{processedTree:{segmentTree:r,singleCache:p(1e3),matchCache:p(1e3),flatCache:null,masksTree:null},routesById:a,routesByPath:s}}function k(e,t,n=!1){let r=e.split(`/`),i=te(e,r,t,n);if(!i)return null;let[a]=A(e,r,i);return{route:i.node.route,rawParams:a}}function A(e,t,n){let r=ee(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===m)break;if(u.kind===h){l--,o--,c--;continue}let d=t[o],f=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=f-1;continue}i??=n.node.fullPath.split(`/`);let e=i[l],t=u.prefix?.length??0,r=u.suffix?.length??0,p=e.substring(t+3,e.length-r-1),m=u.suffix||u.prefix?d.substring(t,d.length-r):d;m&&(a[p]=decodeURIComponent(m))}else if(u.kind===2){let t=u,n=e.substring(f+(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 j(e){let t=[e];for(;e.parentRoute;)e=e.parentRoute,t.push(e);return t.reverse(),t}function ee(e){let t=Array(e.depth+1);do t[e.depth]=e,e=e.parent;while(e);return t}function te(e,t,n,r){if(e===`/`&&n.index)return{node:n.index,skipped:0};let a=!i(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:i,index:a,skipped:d,depth:f,statics:p,dynamics:h,optionals:g}=n,{extract:_,rawParams:v}=n;if(i.kind===2&&i.route&&!N(u,n))continue;if(i.parse){if(!re(e,t,n))continue;v=n.rawParams,_=n.extract}r&&i.route&&i.kind!==m&&N(l,n)&&(l=n);let y=a===s;if(y&&(i.route&&(!o||i.kind===m||i.kind===2)&&N(u,n)&&(u=n),!i.optional&&!i.wildcard&&!i.index&&!i.pathless))continue;let b=y?void 0:t[a],x;if(y&&i.index){let n={node:i.index,index:a,skipped:d,depth:f+1,statics:p,dynamics:h,optionals:g,extract:_,rawParams:v},r=!0;if(i.index.parse&&(re(e,t,n)||(r=!1)),r){if(!h&&!g&&!d&&ne(p,s))return n;N(u,n)&&(u=n)}}if(i.wildcard)for(let e=i.wildcard.length-1;e>=0;e--){let n=i.wildcard[e],{prefix:r,suffix:o}=n;if(!(r&&(y||!(n.caseSensitive?b:x??=b.toLowerCase()).startsWith(r)))){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:f+1,statics:p,dynamics:h,optionals:g,extract:_,rawParams:v})}}if(i.optional){let e=d|1<<f,t=f+1;for(let n=i.optional.length-1;n>=0;n--){let r=i.optional[n];c.push({node:r,index:a,skipped:e,depth:t,statics:p,dynamics:h,optionals:g,extract:_,rawParams:v})}if(!y)for(let e=i.optional.length-1;e>=0;e--){let n=i.optional[e],{prefix:r,suffix:o}=n;if(r||o){let e=n.caseSensitive?b:x??=b.toLowerCase();if(r&&!e.startsWith(r)||o&&!e.endsWith(o))continue}c.push({node:n,index:a+1,skipped:d,depth:t,statics:p,dynamics:h,optionals:g+M(s,a),extract:_,rawParams:v})}}if(!y&&i.dynamic&&b)for(let e=i.dynamic.length-1;e>=0;e--){let t=i.dynamic[e],{prefix:n,suffix:r}=t;if(n||r){let e=t.caseSensitive?b:x??=b.toLowerCase();if(n&&!e.startsWith(n)||r&&!e.endsWith(r))continue}c.push({node:t,index:a+1,skipped:d,depth:f+1,statics:p,dynamics:h+M(s,a),optionals:g,extract:_,rawParams:v})}if(!y&&i.staticInsensitive){let e=i.staticInsensitive.get(x??=b.toLowerCase());e&&c.push({node:e,index:a+1,skipped:d,depth:f+1,statics:p+M(s,a),dynamics:h,optionals:g,extract:_,rawParams:v})}if(!y&&i.static){let e=i.static.get(b);e&&c.push({node:e,index:a+1,skipped:d,depth:f+1,statics:p+M(s,a),dynamics:h,optionals:g,extract:_,rawParams:v})}if(i.pathless){let e=f+1;for(let t=i.pathless.length-1;t>=0;t--){let n=i.pathless[t];c.push({node:n,index:a,skipped:d,depth:e,statics:p,dynamics:h,optionals:g,extract:_,rawParams:v})}}}if(u)return u;if(r&&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 ne(e,t){return e===2**(t-1)-1}function re(e,t,n){let r,i;try{[r,i]=A(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===m)>
1(e.node.kind===m)||t.node.kind===m==(e.node.kind===m)&&t.depth>e.depth)))}function ie(e){return P(e.filter(e=>e!==void 0).join(`/`))}function P(e){return e.replace(/\/{2,}/g,`/`)}function ae(e){return e===`/`?e:e.replace(/^\/{1,}/,``)}function oe(e){let t=e.length;return t>1&&e[t-1]===`/`?e.replace(/\/{1,}$/,``):e}function F(e){return oe(ae(e))}function I(e,t){return e?.endsWith(`/`)&&e!==`/`&&e!==`${t}/`?e.slice(0,-1):e}function se(e,t,n){return I(e,n)===I(t,n)}function L({base:e,to:t,trailingSlash:n=`never`,cache:r}){let a=t.startsWith(`/`),o=!a&&t===`.`,s;if(r){s=a?t:o?e:e+`\0`+t;let n=r.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&&i(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&&(i(c)===``?n===`never`&&c.pop():n===`always`&&c.push(``));let l=P(c.join(`/`))||`/`;return s&&r&&r.set(s,l),l}function R(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 z(e,t,n){let r=t[e];return typeof r==`string`?e===`_splat`?/^[a-zA-Z0-9\-._~!/]*$/.test(r)?r:r.split(`/`).map(e=>V(e,n)).join(`/`):V(r,n):r}function B({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=_(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=z(`_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=z(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=z(i,t,n)??``;l+=`/`+u+f+d;continue}}return e.endsWith(`/`)&&(l+=`/`),{usedParams:a,interpolatedPath:l||`/`,isMissingParams:i}}function V(e,t){let n=encodeURIComponent(e);return t?.(n)??n}var ce=`Error preloading route! ☝️`,H=e(n(),1),U=H.use,W=typeof window<`u`?H.useLayoutEffect:H.useEffect;function G(e){let t=H.useRef({value:e,prev:null}),n=t.current.value;return e!==n&&(t.current={value:e,prev:n}),t.current.prev}function le(e,t,n={},r={}){H.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 ue(e){let t=H.useRef(null);return H.useImperativeHandle(e,()=>t.current,[]),t}var K=r();function q({children:e,fallback:t=null}){return J()?(0,K.jsx)(H.Fragment,{children:e}):(0,K.jsx)(H.Fragment,{children:t})}function J(){return H.useSyncExternalStore(Y,()=>!0,()=>!1)}function Y(){return()=>{}}var de=e(f(),1);function fe(e,t){let n=l(),r=ue(t),{activeProps:i,inactiveProps:o,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:ee,params:te,search:M,hash:ne,state:re,mask:N,reloadDocument:ie,unsafeRelative:P,from:ae,_fromLocation:oe,...F}=e,L=J(),R=H.useMemo(()=>e,[n,e.from,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),z=u(n.stores.location,e=>e,(e,t)=>e.href===t.href),B=H.useMemo(()=>{let e={_fromLocation:z,...R};return n.buildLocation(e)},[n,z,R]),V=B.maskedLocation?B.maskedLocation.publicHref:B.publicHref,U=B.maskedLocation?B.maskedLocation.external:B.external,W=H.useMemo(()=>ye(V,U,n.history,C),[C,U,V,n.history]),G=H.useMemo(()=>{if(W?.external)return c(W.href,n.protocolAllowlist)?void 0:W.href;if(!be(f)&&typeof f==`string`&&f.indexOf(`:`)!==-1)try{return new URL(f),c(f,n.protocolAllowlist)?void 0:f}catch{}},[f,W,n.protocolAllowlist]),K=H.useMemo(()=>
1{if(G)return!1;if(d?.exact){if(!se(z.pathname,B.pathname,n.basepath))return!1}else{let e=I(z.pathname,n.basepath),t=I(B.pathname,n.basepath);if(!(e.startsWith(t)&&(e.length===t.length||e[t.length]===`/`)))return!1}return(d?.includeSearch??!0)&&!s(z.search,B.search,{partial:!d?.exact,ignoreUndefined:!d?.explicitUndefined})?!1:!d?.includeHash||L&&z.hash===B.hash},[d?.exact,d?.explicitUndefined,d?.includeHash,d?.includeSearch,z,G,L,B.hash,B.pathname,B.search,n.basepath]),q=K?a(i,{})??me:pe,Y=K?pe:a(o,{})??pe,fe=[T,q.className,Y.className].filter(Boolean).join(` `),xe=(w||q.style||Y.style)&&{...w,...q.style,...Y.style},[Ce,we]=H.useState(!1),Te=H.useRef(!1),Q=e.reloadDocument||G?!1:p??n.options.defaultPreload,Ee=m??n.options.defaultPreloadDelay??0,$=H.useCallback(()=>{n.preloadRoute({...R,_builtLocation:B}).catch(e=>{console.warn(e),console.warn(ce)})},[n,R,B]);le(r,H.useCallback(e=>{e?.isIntersecting&&$()},[$]),ve,{disabled:!!C||Q!==`viewport`}),H.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&&!Se(e)&&!e.defaultPrevented&&(!r||r===`_self`)&&e.button===0){e.preventDefault(),(0,de.flushSync)(()=>{we(!0)});let t=n.subscribe(`onResolved`,()=>{t(),we(!1)});n.navigate({...R,replace:_,resetScroll:y,hashScrollIntoView:g,startTransition:v,viewTransition:b,ignoreBlocker:ee})}};if(G)return{...F,ref:r,href:G,...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(X.has(t))return;let n=setTimeout(()=>{X.delete(t),$()},Ee);X.set(t,n)},ke=e=>{C||Q!==`intent`||$()},Ae=e=>{if(C||!Q||!Ee)return;let t=e.currentTarget,n=X.get(t);n&&(clearTimeout(n),X.delete(t))};return{...F,...q,...Y,href:W?.href,ref:r,onClick:Z([E,De]),onBlur:Z([D,Ae]),onFocus:Z([O,Oe]),onMouseEnter:Z([k,Oe]),onMouseLeave:Z([A,Ae]),onTouchStart:Z([j,ke]),disabled:!!C,target:S,...xe&&{style:xe},...fe&&{className:fe},...C&&he,...K&&ge,...L&&Ce&&_e}}var pe={},me={className:`active`},he={role:`link`,"aria-disabled":!0},ge={"data-status":`active`,"aria-current":`page`},_e={"data-transitioning":`transitioning`},X=new WeakMap,ve={rootMargin:`100px`},Z=e=>t=>{for(let n of e)if(n){if(t.defaultPrevented)return;n(t)}};function ye(e,t,n,r){if(!r)return t?{href:e,external:!0}:{href:n.createHref(e)||`/`,external:!1}}function be(e){if(typeof e!=`string`)return!1;let t=e.charCodeAt(0);return t===47?e.charCodeAt(1)!==47:t===46}var xe=H.forwardRef((e,t)=>{let{_asChild:n,...r}=e,{type:i,...a}=fe(r,t),o=typeof r.children==`function`?r.children({isActive:a[`data-status`]===`active`}):r.children;if(!n){let{disabled:e,...t}=a;return H.createElement(`a`,t,o)}return H.createElement(n,a,o)});function Se(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}export{f as S,E as _,W as a,O as b,R as c,L as d,F as f,w as g,j as h,U as i,B as l,oe as m,q as n,G as o,ae as p,J as r,P as s,xe as t,ie as u,T as v,p as x,C as y};

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.