1import{a as e}from"./rolldown-runtime-CNC7AqOf.js";import{t}from"./react-9ZasmZpi.js";import{B as n,I as r,_ as i,i as a,p as o,t as s,v as c}from"./useStore-B0LK1n4E.js";import{r as l,t as u}from"./useRouter-DaoFskDj.js";import{n as d,r as f,t as p}from"./matchContext-DGij45HS.js";import{r as m}from"./redirect-Dhm19zUi.js";import{t as h}from"./link-tVHHmD0y.js";import{t as g}from"./jsx-runtime-DiK4U9sA.js";var _=class{get to(){return this._to}get id(){return this._id}get path(){return this._path}get fullPath(){return this._fullPath}constructor(e){if(this.init=e=>{this.originalIndex=e.originalIndex;let t=this.options,n=!t?.path&&!t?.id;this.parentRoute=this.options.getParentRoute?.(),n?this._path=f:this.parentRoute||l();let r=n?f:t?.path;r&&r!==`/`&&(r=i(r));let a=t?.id||r,s=n?f:o([this.parentRoute.id===`__root__`?``:this.parentRoute.id,a]);r===`__root__`&&(r=`/`),s!==`__root__`&&(s=o([`/`,s]));let u=s===`__root__`?`/`:o([this.parentRoute.fullPath,r]);this._path=r,this._id=s,this._fullPath=u,this._to=c(u)},this.addChildren=e=>this._addFileChildren(e),this._addFileChildren=e=>(Array.isArray(e)&&(this.children=e),typeof e==`object`&&e&&(this.children=Object.values(e)),this),this._addFileTypes=()=>this,this.updateLoader=e=>(Object.assign(this.options,e),this),this.update=e=>(Object.assign(this.options,e),this),this.lazy=e=>(this.lazyFn=e,this),this.redirect=e=>m({from:this.fullPath,...e}),this.options=e||{},this.isRoot=!e?.getParentRoute,e?.id&&e?.path)throw Error(`Route cannot have both an 'id' and a 'path' option.`)}},v=class extends _{constructor(e){super(e)}},y=e(t(),1),b={get(){},subscribe(){return{unsubscribe(){}}}};function x(e,t){let r=y.useRef();return i=>{let a=e?.select?e.select(i):i;return e?.structuralSharing??t.options.defaultStructuralSharing?r.current=n(r.current,a):a}}function S(e){let t=u(),n=y.useContext(e.from?p:d),r=e.from?t.stores.getRouteMatchStore(e.from):t.stores.matchStores.get(n),i=x(e,t),a=s(r??b,e=>e?i(e):b);if(a!==b)return a;(e.shouldThrow??!0)&&l()}function C(e){return S({from:e.from,strict:e.strict,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.loaderData):t.loaderData})}function w(e){let{select:t,...n}=e;return S({...n,select:e=>t?t(e.loaderDeps):e.loaderDeps})}function T(e){return S({from:e.from,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,strict:e.strict,select:t=>{let n=e.strict===!1?t.params:t._strictParams;return e.select?e.select(n):n}})}function E(e){return S({from:e.from,strict:e.strict,shouldThrow:e.shouldThrow,structuralSharing:e.structuralSharing,select:t=>e.select?e.select(t.search):t.search})}function D(e){let t=u();return y.useCallback(n=>t.navigate({...n,from:n.from??e?.from}),[e?.from,t])}function O(e){return S({...e,select:t=>e.select?e.select(t.context):t.context})}var k=g(),A=class extends _{constructor(e){super(e),this.useMatch=e=>S({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>O({...e,from:this.id}),this.useSearch=e=>E({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>T({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>w({...e,from:this.id}),this.useLoaderData=e=>C({...e,from:this.id}),this.useNavigate=()=>D({from:this.fullPath}),this.Link=y.forwardRef((e,t)=>(0,k.jsx)(h,{ref:t,from:this.fullPath,...e}))}};function j(e){return new A(e)}function M(){return e=>P(e)}var N=class extends v{constructor(e){super(e),this.useMatch=e=>S({select:e?.select,from:this.id,structuralSharing:e?.structuralSharing}),this.useRouteContext=e=>O({...e,from:this.id}),this.useSearch=e=>E({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useParams=e=>T({select:e?.select,structuralSharing:e?.structuralSharing,from:this.id}),this.useLoaderDeps=e=>w({...e,from:this.id}),this.useLoaderData=e=>C({...e,from:this.id}),this.useNavigate=()=>D({from:this.fullPath}),this.Link=y.forwardRef((e,t)=>(0,k.jsx)(h,{ref:t,from:this.fullPath,...e}))}};function P(e){return new N(e)}function F(e){return new I(e,{silent:!0}).createRoute}var I=class{constructor(e,t){this.path=e,this.createRoute=e=>{let t=j(e);return t.isRoot=!1,t},this.silent=t?.silent}};function L(e,t){let n,i,o,s,c=()=>(n||=e().then(e=>{n=void 0,i=e[t??`default`]}).catch(e=>{if(o=e,r(o)&&o instanceof Error&&typeof window<`u`&&typeof sessionStorage<`u`){let e=`tanstack_router_reload:${o.message}`;sessionStorage.getItem(e)||(sessionStorage.setItem(e,`1`),s=!0)}}),n),l=function(e){if(s)throw window.location.reload(),new Promise(()=>{});if(o)throw o;if(!i)if(a)a(c());else throw c();return y.createElement(i,e)};return l.preload=c,l}var R=`https://www.indyrct.com`;export{x as a,M as i,L as n,F as r,R 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.