1import{m as x,s as R,c as g,R as a,i as E,r as o,d as w,e as v,F as S,f as D,h as M,k as _,l as b,n as C,o as P,p as F,q as L,t as H,v as T,x as k,y as I,j as h}from"./index-CVrB4Lec.js";import{c as O}from"./client-FiknW5UK.js";[...g];new TextEncoder;(class extends a.Component{constructor(t){super(t),this.state={error:null,location:t.location}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,r){return r.location!==t.location?{error:null,location:t.location}:{error:r.error,location:r.location}}render(){return this.state.error?a.createElement(z,{error:this.state.error,renderAppShell:!0}):this.props.children}});function p({renderAppShell:t,title:r,children:u}){return t?a.createElement("html",{lang:"en"},a.createElement("head",null,a.createElement("meta",{charSet:"utf-8"}),a.createElement("meta",{name:"viewport",content:"width=device-width,initial-scale=1,viewport-fit=cover"}),a.createElement("title",null,r)),a.createElement("body",null,a.createElement("main",{style:{fontFamily:"system-ui, sans-serif",padding:"2rem"}},u))):u}function z({error:t,renderAppShell:r}){console.error(t);let u=a.createElement("script",{dangerouslySetInnerHTML:{__html:` 2 console.log( 3 "ð¿ Hey developer ð. You can provide a way better UX than this when your app throws errors. Check out https://reactrouter.com/how-to/error-boundary for more information." 4 ); 5 `}});if(E(t))return a.createElement(p,{renderAppShell:r,title:"Unhandled Thrown Response!"},a.createElement("h1",{style:{fontSize:"24px"}},t.status," ",t.statusText),u);let s;if(t instanceof Error)s=t;else{let c=t==null?"Unknown Error":typeof t=="object"&&"toString"in t?t.toString():JSON.stringify(t);s=new Error(c)}return a.createElement(p,{renderAppShell:r,title:"Application Error!"},a.createElement("h1",{style:{fontSize:"24px"}},"Application Error"),a.createElement("pre",{style:{padding:"2rem",background:"hsla(10, 50%, 50%, 0.1)",color:"red",overflow:"auto"}},s.stack),u)}function N({state:t,routes:r,getRouteInfo:u,location:s,basename:c,isSpaMode:i}){let n={...t,loaderData:{...t.loaderData}},l=x(r,s,c);if(l)for(let y of l){let f=y.route.id,d=u(f);R(f,d.clientLoader,d.hasLoader,i)&&(d.hasHydrateFallback||!d.hasLoader)?delete n.loaderData[f]:d.hasLoader||(n.loaderData[f]=null)}return n}function j(t){return o.createElement(M,{flushSync:_.flushSync,...t})}var e=null,m=null;function q(){if(!e&&window.__reactRouterContext&&window.__reactRouterManifest&&window.__reactRouterRouteModules){if(window.__reactRouterManifest.sri===!0){const t=document.querySelector("script[rr-importmap]");if(t?.textContent)try{window.__reactRouterManifest.sri=JSON.parse(t.textContent).integrity}catch(r){console.error("Failed to parse import map",r)}}e={context:window.__reactRouterContext,manifest:window.__reactRouterManifest,routeModules:window.__reactRouterRouteModules,stateDecodingPromise:void 0,router:void 0,routerInitialized:!1}}}function A({getContext:t,instrumentations:r}){if(q(),!e)throw new Error("You must be using the SSR features of React Router in order to skip passing a `router` prop to `<RouterProvider>`");let u=e;if(!e.stateDecodingPromise){let n=e.context.stream;w(n,"No stream found for single fetch decoding"),e.context.stream=void 0,e.stateDecodingPromise=b(n,window).then(l=>{e.context.state=l.value,u.stateDecodingPromise.value=!0}).catch(l=>{u.stateDecodingPromise.error=l})}if(e.stateDecodingPromise.error)throw e.stateDecodingPromise.error;if(!e.stateDecodingPromise.value)throw e.stateDecodingPromise;let s=C(e.manifest.routes,e.routeModules,e.context.state,e.context.ssr,e.context.isSpaMode),c;if(e.context.isSpaMode){let{loaderData:n}=e.context.state;e.manifest.routes.root?.hasLoader&&n&&"root"in n&&(c={loaderData:{root:n.root}})}else c=N({state:e.context.state,routes:s,getRouteInfo:n=>({clientLoader:e.routeModules[n]?.clientLoader,hasLoader:e.manifest.routes[n]?.hasLoader===!0,hasHydrateFallback:e.routeModules[n]?.HydrateFallback!=null}),location:window.location,basename:window.__reactRouterContext?.basename,isSpaMode:e.context.isSpaMode});window.history.state&&window.history.state.masked&&window.history.replaceState({...window.history.state,masked:void 0},"");let i=P({routes:s,history:H(),basename:e.context.basename,getContext:t,hydrationData:c,hydrationRouteProperties:I,instrumentations:r,mapRouteProperties:k,future:{v8_passThroughRequests:e.context.future.v8_passThroughRequests},dataStrategy:L(()=>i,e.manifest,e.routeModules,e.context.ssr,e.context.basename,e.context.future.v8_trailingSlashAwareDataRequests),patchRoutesOnNavigation:F(()=>i,e.manifest,e.routeModules,e.context.ssr,e.context.routeDiscovery,e.context.
5isSpaMode,e.context.basename)});return e.router=i,i.state.initialized&&(e.routerInitialized=!0,i.initialize()),i.createRoutesForHMR=T,window.__reactRouterDataRouter=i,i}function B(t){m||(m=A({getContext:t.getContext,instrumentations:t.instrumentations}));let[r,u]=o.useState(void 0);o.useEffect(()=>{},[]),o.useEffect(()=>{},[r]);let[s,c]=o.useState(m.state.location);return o.useLayoutEffect(()=>{e&&e.router&&!e.routerInitialized&&(e.routerInitialized=!0,e.router.initialize())},[]),o.useLayoutEffect(()=>{if(e&&e.router)return e.router.subscribe(i=>{i.location!==s&&c(i.location)})},[s]),w(e,"ssrInfo unavailable for HydratedRouter"),v(m,e.manifest,e.routeModules,e.context.ssr,e.context.routeDiscovery,e.context.isSpaMode),o.createElement(o.Fragment,null,o.createElement(S.Provider,{value:{manifest:e.manifest,routeModules:e.routeModules,future:e.context.future,criticalCss:r,ssr:e.context.ssr,isSpaMode:e.context.isSpaMode,routeDiscovery:e.context.routeDiscovery}},o.createElement(D,{location:s},o.createElement(j,{router:m,useTransitions:t.useTransitions,onError:t.onError}))),o.createElement(o.Fragment,null))}o.startTransition(()=>{O.hydrateRoot(document,h.jsx(o.StrictMode,{children:h.jsx(B,{})}))});
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.