PageSourceSearch

https://jerrymbendaleca.vercel.app/assets/vendor-PkOU_Qac.js

js jerrymbendaleca.vercel.app collected 2026-10-03 07:08:47 UTC 40,458 bytes, 20 lines download raw bytes

vendor: 4,560 bytes, lines 1-18
1import{r as je,a as u}from"./i18n-wMbu9Fr1.js";var X={exports:{}},C={};/**
2 * @license React
3 * react-dom.production.js
4 *
5 * Copyright (c) Meta Platforms, Inc. and affiliates.
6 *
7 * This source code is licensed under the MIT license found in the
8 * LICENSE file in the root directory of this source tree.
9 */var he;function Ve(){if(he)return C;he=1;var e=je();function t(l){var o="https://react.dev/errors/"+l;if(1<arguments.length){o+="?args[]="+encodeURIComponent(arguments[1]);for(var c=2;c<arguments.length;c++)o+="&args[]="+encodeURIComponent(arguments[c])}return"Minified React error #"+l+"; visit "+o+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function n(){}var r={d:{f:n,r:function(){throw Error(t(522))},D:n,C:n,L:n,m:n,X:n,S:n,M:n},p:0,findDOMNode:null},a=Symbol.for("react.portal");function i(l,o,c){var d=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:a,key:d==null?null:""+d,children:l,containerInfo:o,implementation:c}}var s=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(l,o){if(l==="font")return"";if(typeof o=="string")return o==="use-credentials"?o:""}return C.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=r,C.createPortal=function(l,o){var c=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)throw Error(t(299));return i(l,o,null,c)},C.flushSync=function(l){var o=s.T,c=r.p;try{if(s.T=null,r.p=2,l)return l()}finally{s.T=o,r.p=c,r.d.f()}},C.preconnect=function(l,o){typeof l=="string"&&(o?(o=o.crossOrigin,o=typeof o=="string"?o==="use-credentials"?o:"":void 0):o=null,r.d.C(l,o))},C.prefetchDNS=function(l){typeof l=="string"&&r.d.D(l)},C.preinit=function(l,o){if(typeof l=="string"&&o&&typeof o.as=="string"){var c=o.as,d=f(c,o.crossOrigin),m=typeof o.integrity=="string"?o.integrity:void 0,y=typeof o.fetchPriority=="string"?o.fetchPriority:void 0;c==="style"?r.d.S(l,typeof o.precedence=="string"?o.precedence:void 0,{crossOrigin:d,integrity:m,fetchPriority:y}):c==="script"&&r.d.X(l,{crossOrigin:d,integrity:m,fetchPriority:y,nonce:typeof o.nonce=="string"?o.nonce:void 0})}},C.preinitModule=function(l,o){if(typeof l=="string")if(typeof o=="object"&&o!==null){if(o.as==null||o.as==="script"){var c=f(o.as,o.crossOrigin);r.d.M(l,{crossOrigin:c,integrity:typeof o.integrity=="string"?o.integrity:void 0,nonce:typeof o.nonce=="string"?o.nonce:void 0})}}else o==null&&r.d.M(l)},C.preload=function(l,o){if(typeof l=="string"&&typeof o=="object"&&o!==null&&typeof o.as=="string"){var c=o.as,d=f(c,o.crossOrigin);r.d.L(l,c,{crossOrigin:d,integrity:typeof o.integrity=="string"?o.integrity:void 0,nonce:typeof o.nonce=="string"?o.nonce:void 0,type:typeof o.type=="string"?o.type:void 0,fetchPriority:typeof o.fetchPriority=="string"?o.fetchPriority:void 0,referrerPolicy:typeof o.referrerPolicy=="string"?o.referrerPolicy:void 0,imageSrcSet:typeof o.imageSrcSet=="string"?o.imageSrcSet:void 0,imageSizes:typeof o.imageSizes=="string"?o.imageSizes:void 0,media:typeof o.media=="string"?o.media:void 0})}},C.preloadModule=function(l,o){if(typeof l=="string")if(o){var c=f(o.as,o.crossOrigin);r.d.m(l,{as:typeof o.as=="string"&&o.as!=="script"?o.as:void 0,crossOrigin:c,integrity:typeof o.integrity=="string"?o.integrity:void 0})}else r.d.m(l)},C.requestFormReset=function(l){r.d.r(l)},C.unstable_batchedUpdates=function(l,o){return l(o)},C.useFormState=function(l,o,c){return s.H.useFormState(l,o,c)},C.useFormStatus=function(){return s.H.useHostTransitionStatus()},C.version="19.2.6",C}var me;function xr(){if(me)return X.exports;me=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}return e(),X.exports=Ve(),X.exports}/**
10 * react-router v7.15.0
11 *
12 * Copyright (c) Remix Software Inc.
13 *
14 * This source code is licensed under the MIT license found in the
15 * LICENSE.md file in the root directory of this source tree.
16 *
17 * @license MIT
18 */var pe="popstate";function ge(e){return typeof e=="object"&&e!=null&&"pathname"in e&&"search"in e&&"hash"in e&&"state"in e&&"key"in e}function qe(e={}){function t(r,a){var o;let i=(o=a.state)==null?void 0:o.masked,{pathname:s,search:f,hash:l}=i||r.location;return te("",{pathname:s,search:f,hash:l},a.state&&a.state.usr||null,a.state&&a.state.key||"default",i?{pathname:r.location.pathname,search:r.location.search,hash:r.location.hash}:void 0)}
18function n(r,a){return typeof a=="string"?a:U(a)}return Ge(t,n,null,e)}function w(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function k(e,t){if(!e){typeof console<"u"&&console.warn(t);try{throw new Error(t)}catch{}}}function Ke(){return Math.random().toString(36).substring(2,10)}function ye(e,t){return{usr:e.state,key:e.key,idx:t,masked:e.mask?{pathname:e.pathname,search:e.search,hash:e.hash}:void 0}}function te(e,t,n=null,r,a){return{pathname:typeof e=="string"?e:e.pathname,search:"",hash:"",...typeof t=="string"?F(t):t,state:n,key:t&&t.key||r||Ke(),mask:a}}function U({pathname:e="/",search:t="",hash:n=""}){return t&&t!=="?"&&(e+=t.charAt(0)==="?"?t:"?"+t),n&&n!=="#"&&(e+=n.charAt(0)==="#"?n:"#"+n),e}function F(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function Ge(e,t,n,r={}){let{window:a=document.defaultView,v5Compat:i=!1}=r,s=a.history,f="POP",l=null,o=c();o==null&&(o=0,s.replaceState({...s.state,idx:o},""));function c(){return(s.state||{idx:null}).idx}function d(){f="POP";let p=c(),h=p==null?null:p-o;o=p,l&&l({action:f,location:g.location,delta:h})}function m(p,h){f="PUSH";let R=ge(p)?p:te(g.location,p,h);o=c()+1;let E=ye(R,o),x=g.createHref(R.mask||R);try{s.pushState(E,"",x)}catch(S){if(S instanceof DOMException&&S.name==="DataCloneError")throw S;a.location.assign(x)}i&&l&&l({action:f,location:g.location,delta:1})}function y(p,h){f="REPLACE";let R=ge(p)?p:te(g.location,p,h);o=c();let E=ye(R,o),x=g.createHref(R.mask||R);s.replaceState(E,"",x),i&&l&&l({action:f,location:g.location,delta:0})}function v(p){return Je(p)}let g={get action(){return f},get location(){return e(a,s)},listen(p){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(pe,d),l=p,()=>{a.removeEventListener(pe,d),l=null}},createHref(p){return t(a,p)},createURL:v,encodeLocation(p){let h=v(p);return{pathname:h.pathname,search:h.search,hash:h.hash}},push:m,replace:y,go(p){return s.go(p)}};return g}function Je(e,t=!1){let n="http://localhost";
vendor: 2,559 bytes, line 18
18typeof window<"u"&&(n=window.location.origin!=="null"?window.location.origin:window.location.href),w(n,"No window.location.(origin|href) available to create URL");let r=typeof e=="string"?e:U(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}function Se(e,t,n="/"){return Ye(e,t,n,!1)}function Ye(e,t,n,r,a){let i=typeof t=="string"?F(t):t,s=T(i.pathname||"/",n);if(s==null)return null;let f=Xe(e),l=null,o=ut(s);for(let c=0;l==null&&c<f.length;++c)l=lt(f[c],o,r);return l}function Xe(e){let t=Ce(e);return Qe(t),t}function Ce(e,t=[],n=[],r="",a=!1){let i=(s,f,l=a,o)=>{let c={relativePath:o===void 0?s.path||"":o,caseSensitive:s.caseSensitive===!0,childrenIndex:f,route:s};if(c.relativePath.startsWith("/")){if(!c.relativePath.startsWith(r)&&l)return;w(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let d=P([r,c.relativePath]),m=n.concat(c);s.children&&s.children.length>0&&(w(s.index!==!0,`Index routes must not have child routes. Please remove all child routes from route path "${d}".`),Ce(s.children,t,m,d,l)),!(s.path==null&&!s.index)&&t.push({path:d,score:ot(d,s.index),routesMeta:m})};return e.forEach((s,f)=>{var l;if(s.path===""||!((l=s.path)!=null&&l.includes("?")))i(s,f);else for(let o of xe(s.path))i(s,f,!0,o)}),t}function xe(e){let t=e.split("/");if(t.length===0)return[];let[n,...r]=t,a=n.endsWith("?"),i=n.replace(/\?$/,"");if(r.length===0)return a?[i,""]:[i];let s=xe(r.join("/")),f=[];return f.push(...s.map(l=>l===""?i:[i,l].join("/"))),a&&f.push(...s),f.map(l=>e.startsWith("/")&&l===""?"/":l)}function Qe(e){e.sort((t,n)=>t.score!==n.score?n.score-t.score:it(t.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}var Ze=/^:[\w-]+$/,et=3,tt=2,rt=1,nt=10,at=-2,ve=e=>e==="*";function ot(e,t){let n=e.split("/"),r=n.length;return n.some(ve)&&(r+=at),t&&(r+=tt),n.filter(a=>!ve(a)).reduce((a,i)=>a+(Ze.test(i)?et:i===""?rt:nt),r)}function it(e,t){return e.length===t.length&&e.slice(0,-1).every((r,a)=>r===t[a])?e[e.length-1]-t[t.length-1]:0}function lt(e,t,n=!1){let{routesMeta:r}=e,a={},i="/",s=[];for(let f=0;f<r.length;++f){let l=r[f],o=f===r.length-1,c=i==="/"?t:t.slice(i.length)||"/",d=q({path:l.relativePath,caseSensitive:l.caseSensitive,end:o},c),m=l.route;if(!d&&o&&n&&!r[r.length-1].route.index&&(d=q({path:l.relativePath,caseSensitive:l.caseSensitive,end:!1},c)),!d)return null;
18Object.assign(a,d.params),s.push({params:a,pathname:P([i,d.pathname]),pathnameBase:ht(P([i,d.pathnameBase])),route:m}),d.pathnameBase!=="/"&&(i=P([i,d.pathnameBase]))}return s}function q(e,t){typeof e=="string"&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=st(e.path,e.caseSensitive,e.end),a=t.match(n);if(!a)return null;let i=a[0],s=i.replace(/(.)\/+$/,"$1"),f=a.slice(1);return{params:r.reduce((o,{paramName:c,isOptional:d},m)=>{if(c==="*"){let v=f[m]||"";s=i.slice(0,i.length-v.length).replace(/(.)\/+$/,"$1")}const y=f[m];return d&&!y?o[c]=void 0:o[c]=(y||"").replace(/%2F/g,"/"),o},{}),pathname:i,pathnameBase:s,pattern:e}}function st(e,t=!1,n=!0){k(e==="*"||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],a="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(s,f,l,o,c)=>{if(r.push({paramName:f,isOptional:l!=null}),l){let d=c.charAt(o+s.length);return d&&d!=="/"?"/([^\\/]*)":"(?:/([^\\/]*))?"}return"/([^\\/]+)"}).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),a+=e==="*"||e==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":e!==""&&e!=="/"&&(a+="(?:(?=\\/|$))"),[new RegExp(a,t?void 0:"i"),r]}function ut(e){try{return e.split("/").map(t=>decodeURIComponent(t).replace(/\//g,"%2F")).join("/")}catch(t){return k(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function T(e,t){if(t==="/")return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&r!=="/"?null:e.slice(n)||"/"}var ct=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function ft(e,t="/"){let{pathname:n,search:r="",hash:a=""}=typeof e=="string"?F(e):e,i;return n?(n=Pe(n),n.startsWith("/")?i=Re(n.substring(1),"/"):i=Re(n,t)):i=t,{pathname:i,search:mt(r),hash:pt(a)}}function Re(e,t){let n=K(t).split("/");return e.split("/").forEach(a=>{a===".."?n.length>1&&n.pop():a!=="."&&n.push(a)}),n.length>1?n.join("/"):"/"}function Q(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function dt(e){return e.filter((t,n)=>n===0||t.route.path&&t.route.path.length>0)}function be(e){let t=dt(e);return t.map((n,r)=>r===t.length-1?n.pathname:n.pathnameBase)}function ne(e,t,n,r=!1){let a;typeof e=="string"?a=F(e):(a={...e},w(!a.pathname||!a.pathname.includes("?"),Q("?","pathname","search",a)),w(!a.pathname||!a.pathname.includes("#"),Q("#","pathname","hash",a)),w(!a.search||!a.search.includes("#"),Q("#","search","hash",a)));let i=e===""||a.pathname==="",s=i?"/":a.pathname,f;if(s==null)f=n;else{let d=t.length-1;if(!r&&s.startsWith("..")){let m=s.split("/");for(;m[0]==="..";)m.shift(),d-=1;a.pathname=m.join("/")}f=d>=0?t[d]:"/"}let l=ft(a,f),o=s&&s!=="/"&&s.endsWith("/"),c=(i||s===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(o||c)&&(l.pathname+="/"),l}var Pe=e=>e.replace(/\/\/+/g,"/"),P=e=>Pe(e.join("/")),K=e=>e.replace(/\/+$/,""),ht=e=>K(e).replace(/^\/*/,"/"),mt=e=>!e||e==="?"?"":e.startsWith("?")?e:"?"+e,pt=e=>!e||e==="#"?"":e.startsWith("#")?e:"#"+e,gt=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function yt(e){return e!=null&&typeof e.status=="number"&&typeof e.statusText=="string"&&typeof e.internal=="boolean"&&"data"in e}function vt(e){let t=e.map(n=>n.route.path).filter(Boolean);return P(t)||"/"}var Le=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";function ke(e,t){let n=e;if(typeof n!="string"||!ct.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,a=!1;if(Le)try{let i=new URL(window.location.href),s=n.startsWith("//")?new URL(i.protocol+n):new URL(n),f=T(s.pathname,t);s.origin===i.origin&&f!=null?n=f+s.search+s.hash:a=!0}catch{k(!1,`<Link to="${n}">
18 contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:a,to:n}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var _e=["POST","PUT","PATCH","DELETE"];new Set(_e);var Rt=["GET",..._e];new Set(Rt);var I=u.createContext(null);I.displayName="DataRouter";var G=u.createContext(null);G.displayName="DataRouterState";var Te=u.createContext(!1);function Et(){return u.useContext(Te)}var $e=u.createContext({isTransitioning:!1});$e.displayName="ViewTransition";var wt=u.createContext(new Map);wt.displayName="Fetchers";var St=u.createContext(null);St.displayName="Await";var b=u.createContext(null);b.displayName="Navigation";var B=u.createContext(null);B.displayName="Location";var _=u.createContext({outlet:null,matches:[],isDataRoute:!1});_.displayName="Route";var ae=u.createContext(null);ae.displayName="RouteError";var De="REACT_ROUTER_ERROR",Ct="REDIRECT",xt="ROUTE_ERROR_RESPONSE";function bt(e){if(e.startsWith(`${De}:${Ct}:{`))try{let t=JSON.parse(e.slice(28));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.location=="string"&&typeof t.reloadDocument=="boolean"&&typeof t.replace=="boolean")return t}catch{}}function Pt(e){if(e.startsWith(`${De}:${xt}:{`))try{let t=JSON.parse(e.slice(40));if(typeof t=="object"&&t&&typeof t.status=="number"&&typeof t.statusText=="string")return new gt(t.status,t.statusText,t.data)}catch{}}function Lt(e,{relative:t}={}){w(H(),"useHref() may be used only in the context of a <Router> component.");let{basename:n,navigator:r}=u.useContext(b),{hash:a,pathname:i,search:s}=W(e,{relative:t}),f=i;return n!=="/"&&(f=i==="/"?n:P([n,i])),r.createHref({pathname:f,search:s,hash:a})}function H(){return u.useContext(B)!=null}function $(){return w(H(),"useLocation() may be used only in the context of a <Router> component."),u.useContext(B).location}var Oe="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Ne(e){u.useContext(b).static||u.useLayoutEffect(e)}function kt(){let{isDataRoute:e}=u.useContext(_);return e?Ht():_t()}function _t(){w(H(),"useNavigate() may be used only in the context of a <Router> component.");let e=u.useContext(I),{basename:t,navigator:n}=u.useContext(b),{matches:r}=u.useContext(_),{pathname:a}=$(),i=JSON.stringify(be(r)),s=u.useRef(!1);return Ne(()=>{s.current=!0}),u.useCallback((l,o={})=>{if(k(s.current,Oe),!s.current)return;if(typeof l=="number"){n.go(l);return}let c=ne(l,JSON.parse(i),a,o.relative==="path");e==null&&t!=="/"&&(c.pathname=c.pathname==="/"?t:P([t,c.pathname])),(o.replace?n.replace:n.push)(c,o.state,o)},[t,n,i,a,e])}u.createContext(null);function br(){let{matches:e}=u.useContext(_),t=e[e.length-1];return(t==null?void 0:t.params)??{}}function W(e,{relative:t}={}){let{matches:n}=u.useContext(_),{pathname:r}=$(),a=JSON.stringify(be(n));return u.useMemo(()=>ne(e,JSON.parse(a),r,t==="path"),[e,a,r,t])}function Tt(e,t){return Fe(e,t)}function Fe(e,t,n){var p;w(H(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:r}=u.useContext(b),{matches:a}=u.useContext(_),i=a[a.length-1],s=i?i.params:{},f=i?i.pathname:"/",l=i?i.pathnameBase:"/",o=i&&i.route;{let h=o&&o.path||"";Ae(f,!o||h.endsWith("*")||h.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${f}" (under <Route path="${h}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
19
20Please change the parent <Route path="${h}"> to <Route path="${h==="/"?"*":`${h}/*`}">.`)}let c=$(),d;if(t){let h=typeof t=="string"?F(t):t;w(l==="/"||((p=h.pathname)==null?void 0:p.startsWith(l)),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${l}" but pathname "${h.pathname}" was given in the \`location\` prop.`),d=h}else d=c;let m=d.pathname||"/",y=m;if(l!=="/"){let h=l.replace(/^\//,"").split("/");y="/"+m.replace(/^\//,"").split("/").slice(h.length).join("/")}let v=n&&n.state.matches.length?n.state.matches.map(h=>Object.assign(h,{route:n.manifest[h.route.id]||h.route})):Se(e,{pathname:y});k(o||v!=null,`No routes matched location "${d.pathname}${d.search}${d.hash}" `),k(v==null||v[v.length-1].route.element!==void 0||v[v.length-1].route.Component!==void 0||v[v.length-1].route.lazy!==void 0,`Matched leaf route at location "${d.pathname}${d.search}${d.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let g=Ft(v&&v.map(h=>Object.assign({},h,{params:Object.assign({},s,h.params),pathname:P([l,r.encodeLocation?r.encodeLocation(h.pathname.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:h.pathname]),pathnameBase:h.pathnameBase==="/"?l:P([l,r.encodeLocation?r.encodeLocation(h.pathnameBase.replace(/%/g,"%25").replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:h.pathnameBase])})),a,n);return t&&g?u.createElement(B.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",mask:void 0,...d},navigationType:"POP"}},g):g}function $t(){let e=Bt(),t=yt(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,r="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:r},i={padding:"2px 4px",backgroundColor:r},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=u.createElement(u.Fragment,null,u.createElement("p",null,"💿 Hey developer 👋"),u.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",u.createElement("code",{style:i},"ErrorBoundary")," or"," ",u.createElement("code",{style:i},"errorElement")," prop on your route.")),u.createElement(u.Fragment,null,u.createElement("h2",null,"Unexpected Application 
20Error!"),u.createElement("h3",{style:{fontStyle:"italic"}},t),n?u.createElement("pre",{style:a},n):null,s)}var Dt=u.createElement($t,null),Ie=class extends u.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||t.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&typeof e=="object"&&e&&"digest"in e&&typeof e.digest=="string"){const n=Pt(e.digest);n&&(e=n)}let t=e!==void 0?u.createElement(_.Provider,{value:this.props.routeContext},u.createElement(ae.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?u.createElement(Ot,{error:e},t):t}};Ie.contextType=Te;var Z=new WeakMap;function Ot({children:e,error:t}){let{basename:n}=u.useContext(b);if(typeof t=="object"&&t&&"digest"in t&&typeof t.digest=="string"){let r=bt(t.digest);if(r){let a=Z.get(t);if(a)throw a;let i=ke(r.location,n);if(Le&&!Z.get(t))if(i.isExternal||r.reloadDocument)window.location.href=i.absoluteURL||i.to;else{const s=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(i.to,{replace:r.replace}));throw Z.set(t,s),s}return u.createElement("meta",{httpEquiv:"refresh",content:`0;url=${i.absoluteURL||i.to}`})}}return e}function Nt({routeContext:e,match:t,children:n}){let r=u.useContext(I);return r&&r.static&&r.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(r.staticContext._deepestRenderedBoundaryId=t.route.id),u.createElement(_.Provider,{value:e},n)}function Ft(e,t=[],n){let r=n==null?void 0:n.state;if(e==null){if(!r)return null;if(r.errors)e=r.matches;else if(t.length===0&&!r.initialized&&r.matches.length>0)e=r.matches;else return null}let a=e,i=r==null?void 0:r.errors;if(i!=null){let c=a.findIndex(d=>d.route.id&&(i==null?void 0:i[d.route.id])!==void 0);w(c>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),a=a.slice(0,Math.min(a.length,c+1))}let s=!1,f=-1;if(n&&r){s=r.renderFallback;for(let c=0;c<a.length;c++){let d=a[c];if((d.route.HydrateFallback||d.route.hydrateFallbackElement)&&(f=c),d.route.id){let{loaderData:m,errors:y}=r,v=d.route.loader&&!m.hasOwnProperty(d.route.id)&&(!y||y[d.route.id]===void 0);if(d.route.lazy||v){n.isStatic&&(s=!0),f>=0?a=a.slice(0,f+1):a=[a[0]];break}}}}let l=n==null?void 0:n.onError,o=r&&l?(c,d)=>{var m,y;l(c,{location:r.location,params:((y=(m=r.matches)==null?void 0:m[0])==null?void 0:y.params)??{},pattern:vt(r.matches),errorInfo:d})}:void 0;return a.reduceRight((c,d,m)=>{let y,v=!1,g=null,p=null;r&&(y=i&&d.route.id?i[d.route.id]:void 0,g=d.route.errorElement||Dt,s&&(f<0&&m===0?(Ae("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),v=!0,p=null):f===m&&(v=!0,p=d.route.hydrateFallbackElement||null)));let h=t.concat(a.slice(0,m+1)),R=()=>{let E;return y?E=g:v?E=p:d.route.Component?E=u.createElement(d.route.Component,null):d.route.element?E=d.route.element:E=c,u.createElement(Nt,{match:d,routeContext:{outlet:c,matches:h,isDataRoute:r!=null},children:E})};return r&&(d.route.ErrorBoundary||d.route.errorElement||m===0)?u.createElement(Ie,{location:r.location,revalidation:r.revalidation,component:g,error:y,children:R(),routeContext:{outlet:null,matches:h,isDataRoute:!0},onError:o}):R()},null)}function oe(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function It(e){let t=u.useContext(I);return w(t,oe(e)),t}function At(e){let t=u.useContext(G);return w(t,oe(e)),t}function Mt(e){let t=u.useContext(_);return w(t,oe(e)),t}function ie(e){let t=Mt(e),n=t.matches[t.matches.length-1];return w(n.route.id,`${e} can only be used on routes that contain a unique "id"`),n.route.id}function Ut(){return ie("useRouteId")}function Bt(){var r;let e=u.useContext(ae),t=At("useRouteError"),n=ie("useRouteError");return e!==void 0?e:(r=t.errors)==null?void 0:r[n]}function Ht(){let{router:e}=It("useNavigate"),t=ie("useNavigate"),n=u.useRef(!1);return Ne(()=>{n.current=!0}),u.useCallback(async(a,i={})=>{k(n.current,Oe),n.current&&(typeof a=="number"?await e.navigate(a):await e.navigate(a,{fromRouteId:t,...i}))},[e,t])}var Ee={};function Ae(e,t,n){!t&&!Ee[e]&&(Ee[e]=!0,k(!1,n))}u.memo(Wt);function Wt({routes:e,manifest:t,future:n,state:r,isStatic:a,onError:i}){return Fe(e,void 0,{manifest:t,state:r,isStatic:a,onError:i})}function zt(e){w(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function jt({basename:e="/",children:t=null,location:n,navigationType:r="POP",navigator:a,static:i=!1,useTransitions:s}){w(!H(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let f=e.replace(/^\/*/,"/"),l=u.useMemo(()=>({basename:f,navigator:a,static:i,useTransitions:s,future:{}}),[f,a,i,s]);typeof n=="string"&&(n=F(n));let{pathname:o="/",search:c="",hash:d="",state:m=null,key:y="default",mask:v}=n,g=u.useMemo(()=>{let p=T(o,f);return p==null?null:{location:{pathname:p,search:c,hash:d,state:m,ke
20y:y,mask:v},navigationType:r}},[f,o,c,d,m,y,r,v]);return k(g!=null,`<Router basename="${f}"> is not able to match the URL "${o}${c}${d}" because it does not start with the basename, so the <Router> won't render anything.`),g==null?null:u.createElement(b.Provider,{value:l},u.createElement(B.Provider,{children:t,value:g}))}function Pr({children:e,location:t}){return Tt(re(e),t)}function re(e,t=[]){let n=[];return u.Children.forEach(e,(r,a)=>{if(!u.isValidElement(r))return;let i=[...t,a];if(r.type===u.Fragment){n.push.apply(n,re(r.props.children,i));return}w(r.type===zt,`[${typeof r.type=="string"?r.type:r.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),w(!r.props.index||!r.props.children,"An index route cannot have child routes.");let s={id:r.props.id||i.join("-"),caseSensitive:r.props.caseSensitive,element:r.props.element,Component:r.props.Component,index:r.props.index,path:r.props.path,middleware:r.props.middleware,loader:r.props.loader,action:r.props.action,hydrateFallbackElement:r.props.hydrateFallbackElement,HydrateFallback:r.props.HydrateFallback,errorElement:r.props.errorElement,ErrorBoundary:r.props.ErrorBoundary,hasErrorBoundary:r.props.hasErrorBoundary===!0||r.props.ErrorBoundary!=null||r.props.errorElement!=null,shouldRevalidate:r.props.shouldRevalidate,handle:r.props.handle,lazy:r.props.lazy};r.props.children&&(s.children=re(r.props.children,i)),n.push(s)}),n}var j="get",V="application/x-www-form-urlencoded";function J(e){return typeof HTMLElement<"u"&&e instanceof HTMLElement}function Vt(e){return J(e)&&e.tagName.toLowerCase()==="button"}function qt(e){return J(e)&&e.tagName.toLowerCase()==="form"}function Kt(e){return J(e)&&e.tagName.toLowerCase()==="input"}function Gt(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}function Jt(e,t){return e.button===0&&(!t||t==="_self")&&!Gt(e)}var z=null;function Yt(){if(z===null)try{new FormData(document.createElement("form"),0),z=!1}catch{z=!0}return z}var Xt=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ee(e){return e!=null&&!Xt.has(e)?(k(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${V}"`),null):e}function Qt(e,t){let n,r,a,i,s;if(qt(e)){let f=e.getAttribute("action");r=f?T(f,t):null,n=e.getAttribute("method")||j,a=ee(e.getAttribute("enctype"))||V,i=new FormData(e)}else if(Vt(e)||Kt(e)&&(e.type==="submit"||e.type==="image")){let f=e.form;if(f==null)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let l=e.getAttribute("formaction")||f.getAttribute("action");if(r=l?T(l,t):null,n=e.getAttribute("formmethod")||f.getAttribute("method")||j,a=ee(e.getAttribute("formenctype"))||ee(f.getAttribute("enctype"))||V,i=new FormData(f,e),!Yt()){let{name:o,type:c,value:d}=e;if(c==="image"){let m=o?`${o}.`:"";i.append(`${m}x`,"0"),i.append(`${m}y`,"0")}else o&&i.append(o,d)}}else{if(J(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=j,r=null,a=V,s=e}return i&&a==="text/plain"&&(s=i,i=void 0),{action:r,method:n.toLowerCase(),encType:a,formData:i,body:s}}Object.getOwnPropertyNames(Object.prototype).sort().join("\0");function le(e,t){if(e===!1||e===null||typeof e>"u")throw new Error(t)}function Me(e,t,n,r){let a=typeof e=="string"?new URL(e,typeof window>"u"?"server://singlefetch/":window.location.origin):e;return n?a.pathname.endsWith("/")?a.pathname=`${a.pathname}_.${r}`:a.pathname=`${a.pathname}.${r}`:a.pathname==="/"?a.pathname=`_root.${r}`:t&&T(a.pathname,t)==="/"?a.pathname=`${K(t)}/_root.${r}`:a.pathname=`${K(a.pathname)}.${r}`,a}async function Zt(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(n){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(n),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}function er(e){return e==null?!1:e.href==null?e.rel==="preload"&&typeof e.imageSrcSet=="string"&&typeof e.imageSizes=="string":typeof e.rel=="string"&&typeof e.href=="string"}async function tr(e,t,n){let r=await Promise.all(e.map(async a=>{let i=t.routes[a.route.id];if(i){let s=await Zt(i,n);return s.links?s.links():[]}return[]}));return or(r.flat(1).filter(er).filter(a=>a.rel==="stylesheet"||a.rel==="preload").map(a=>a.rel==="stylesheet"?{...a,rel:"prefetch",as:"style"}:{...a,rel:"prefetch"}))}function we(e,t,n,r,a,i){let s=(l,o)=>n[o]?l.route.id!==n[o].route.id:!0,f=(l,o)=>{var c;return n[o].pathname!==l.pathname||((c=n[o].route.path)==null?void 0:c.endsWith("*"))&&n[o].params["*"]!==l.params["*"]};return i==="assets"?t.filter((l,o)=>s(l,o)||f(l,o)):i==="data"?t.filter((l,o)=>{var d;let c=r.routes[l.route.id];if(!c||!c.hasLoader)return!1;if(s(l,o)||f(l,o))return!0;
20if(l.route.shouldRevalidate){let m=l.route.shouldRevalidate({currentUrl:new URL(a.pathname+a.search+a.hash,window.origin),currentParams:((d=n[0])==null?void 0:d.params)||{},nextUrl:new URL(e,window.origin),nextParams:l.params,defaultShouldRevalidate:!0});if(typeof m=="boolean")return m}return!0}):[]}function rr(e,t,{includeHydrateFallback:n}={}){return nr(e.map(r=>{let a=t.routes[r.route.id];if(!a)return[];let i=[a.module];return a.clientActionModule&&(i=i.concat(a.clientActionModule)),a.clientLoaderModule&&(i=i.concat(a.clientLoaderModule)),n&&a.hydrateFallbackModule&&(i=i.concat(a.hydrateFallbackModule)),a.imports&&(i=i.concat(a.imports)),i}).flat(1))}function nr(e){return[...new Set(e)]}function ar(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}function or(e,t){let n=new Set;return new Set(t),e.reduce((r,a)=>{let i=JSON.stringify(ar(a));return n.has(i)||(n.add(i),r.push({key:i,link:a})),r},[])}function se(){let e=u.useContext(I);return le(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function ir(){let e=u.useContext(G);return le(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}var ue=u.createContext(void 0);ue.displayName="FrameworkContext";function ce(){let e=u.useContext(ue);return le(e,"You must render this element inside a <HydratedRouter> element"),e}function lr(e,t){let n=u.useContext(ue),[r,a]=u.useState(!1),[i,s]=u.useState(!1),{onFocus:f,onBlur:l,onMouseEnter:o,onMouseLeave:c,onTouchStart:d}=t,m=u.useRef(null);u.useEffect(()=>{if(e==="render"&&s(!0),e==="viewport"){let g=h=>{h.forEach(R=>{s(R.isIntersecting)})},p=new IntersectionObserver(g,{threshold:.5});return m.current&&p.observe(m.current),()=>{p.disconnect()}}},[e]),u.useEffect(()=>{if(r){let g=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(g)}}},[r]);let y=()=>{a(!0)},v=()=>{a(!1),s(!1)};return n?e!=="intent"?[i,m,{}]:[i,m,{onFocus:M(f,y),onBlur:M(l,v),onMouseEnter:M(o,y),onMouseLeave:M(c,v),onTouchStart:M(d,y)}]:[!1,m,{}]}function M(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function sr({page:e,...t}){let n=Et(),{router:r}=se(),a=u.useMemo(()=>Se(r.routes,e,r.basename),[r.routes,e,r.basename]);return a?n?u.createElement(cr,{page:e,matches:a,...t}):u.createElement(fr,{page:e,matches:a,...t}):null}function ur(e){let{manifest:t,routeModules:n}=ce(),[r,a]=u.useState([]);return u.useEffect(()=>{let i=!1;return tr(e,t,n).then(s=>{i||a(s)}),()=>{i=!0}},[e,t,n]),r}function cr({page:e,matches:t,...n}){let r=$(),{future:a}=ce(),{basename:i}=se(),s=u.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let f=Me(e,i,a.unstable_trailingSlashAwareDataRequests,"rsc"),l=!1,o=[];for(let c of t)typeof c.route.shouldRevalidate=="function"?l=!0:o.push(c.route.id);return l&&o.length>0&&f.searchParams.set("_routes",o.join(",")),[f.pathname+f.search]},[i,a.unstable_trailingSlashAwareDataRequests,e,r,t]);return u.createElement(u.Fragment,null,s.map(f=>u.createElement("link",{key:f,rel:"prefetch",as:"fetch",href:f,...n})))}function fr({page:e,matches:t,...n}){let r=$(),{future:a,manifest:i,routeModules:s}=ce(),{basename:f}=se(),{loaderData:l,matches:o}=ir(),c=u.useMemo(()=>we(e,t,o,i,r,"data"),[e,t,o,i,r]),d=u.useMemo(()=>we(e,t,o,i,r,"assets"),[e,t,o,i,r]),m=u.useMemo(()=>{if(e===r.pathname+r.search+r.hash)return[];let g=new Set,p=!1;if(t.forEach(R=>{var x;let E=i.routes[R.route.id];!E||!E.hasLoader||(!c.some(S=>S.route.id===R.route.id)&&R.route.id in l&&((x=s[R.route.id])!=null&&x.shouldRevalidate)||E.hasClientLoader?p=!0:g.add(R.route.id))}),g.size===0)return[];let h=Me(e,f,a.unstable_trailingSlashAwareDataRequests,"data");return p&&g.size>0&&h.searchParams.set("_routes",t.filter(R=>g.has(R.route.id)).map(R=>R.route.id).join(",")),[h.pathname+h.search]},[f,a.unstable_trailingSlashAwareDataRequests,l,r,i,c,t,e,s]),y=u.useMemo(()=>rr(d,i),[d,i]),v=ur(d);return u.createElement(u.Fragment,null,m.map(g=>u.createElement("link",{key:g,rel:"prefetch",as:"fetch",href:g,...n})),y.map(g=>u.createElement("link",{key:g,rel:"modulepreload",href:g,...n})),v.map(({key:g,link:p})=>u.createElement("link",{key:g,nonce:n.nonce,...p,crossOrigin:p.crossOrigin??n.crossOrigin})))}function dr(...e){return t=>{e.forEach(n=>{typeof n=="function"?n(t):n!=null&&(n.current=t)})}}var hr=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u";try{hr&&(window.__reactRouterVersion="7.15.0")}catch{}function Lr({basename:e,children:t,useTransitions:n,window:r}){let a=u.useRef();a.current==null&&(a.current=qe({window:r,v5Compat:!0}));let i=a.current,[s,f]=u.useState({action:i.action,location:i.location}),l=u.useCallback(o=>{n===!1?f(o):u.startTransition(()=>f(o))},[n]);return u.useLayoutEffect(()=>i.listen(l),[i,l]),u.createElement(jt,{basename:e,children:t,location:s.location,navigationType:s.action,navigator:i,useTransitions:n})}var Ue=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Be=u.forwardRef(function({onClick:t,discover:n="render",prefetch:r="none",relative:a,reloadDocument:i,replace:s,mask:f,state:l,target:o,to:c,preventScrollReset:d,viewTransition:m,defaultShouldRevalidate:y,...v},g){let{basename:p,navigator:h,useTransitions:R}=u.useContext(b),E=typeof c=="string"&&Ue.test(c),x=ke(c,p);c=x.to;let S=Lt(c,{relative:a}),L=$(),D=null;if(f){let O=ne(f,[],L.mask?L.mask.pathname:"/",!0);p!=="/"&&(O.pathname=O.pathname==="/"?p:P([p,O.pathname])),D=h.createHref(O)}let[N,A,Y]=lr(r,v),We=yr(c,{replace:s,mask:f,state:l,target:o,preventScrollReset:d,relative:a,viewTransition:m,defaultShouldRevalidate:y,useTransitions:R});function ze(O){t&&t(O),O.defaultPrevented||We(O)}let fe=!(x.isExternal||i),de=u.createElement("a",{...v,...Y,href:(fe?D:void 0)||x.absoluteURL||S,onClick:fe?ze:t,ref:dr(g,A),target:o,"data-discover":!E&&n==="render"?"true":void 0});return N&&!E?u.createElement(u.Fragment,null,de,u.createElement(sr,{page:S})):de});Be.displayName="Link";var mr=u.forwardRef(function({"aria-current":t="page",caseSensitive:n=!1,className:r="",end:a=!1,style:i,to:s,viewTransition:f,children:l,...o},c){let d=W(s,{relative:o.relative}),m=$(),y=u.useContext(G),{navigator:v,basename:g}=u.useContext(b),p=y!=null&&Sr(d)&&f===!0,h=v.encodeLocation?v.encodeLocation(d).pathname:d.pathname,R=m.pathname,E=y&&y.navigation&&y.navigation.location?y.navigation.location.pathname:null;n||(R=R.toLowerCase(),E=E?E.toLowerCase():null,h=h.toLowerCase()),E&&g&&(E=T(E,g)||E);const x=h!=="/"&&h.endsWith("/")?h.length-1:h.length;let S=R===h||!a&&R.startsWith(h)&&R.charAt(x)==="/",L=E!=null&&(E===h||!a&&E.startsWith(h)&&E.charAt(h.length)==="/"),D={isActive:S,isPending:L,isTransitioning:p},N=S?t:void 0,A;typeof r=="function"?A=r(D):A=[r,S?"active":null,L?"pending":null,p?"transitioning":null].filter(
20Boolean).join(" ");let Y=typeof i=="function"?i(D):i;return u.createElement(Be,{...o,"aria-current":N,className:A,ref:c,style:Y,to:s,viewTransition:f},typeof l=="function"?l(D):l)});mr.displayName="NavLink";var pr=u.forwardRef(({discover:e="render",fetcherKey:t,navigate:n,reloadDocument:r,replace:a,state:i,method:s=j,action:f,onSubmit:l,relative:o,preventScrollReset:c,viewTransition:d,defaultShouldRevalidate:m,...y},v)=>{let{useTransitions:g}=u.useContext(b),p=Er(),h=wr(f,{relative:o}),R=s.toLowerCase()==="get"?"get":"post",E=typeof f=="string"&&Ue.test(f),x=S=>{if(l&&l(S),S.defaultPrevented)return;S.preventDefault();let L=S.nativeEvent.submitter,D=(L==null?void 0:L.getAttribute("formmethod"))||s,N=()=>p(L||S.currentTarget,{fetcherKey:t,method:D,navigate:n,replace:a,state:i,relative:o,preventScrollReset:c,viewTransition:d,defaultShouldRevalidate:m});g&&n!==!1?u.startTransition(()=>N()):N()};return u.createElement("form",{ref:v,method:R,action:h,onSubmit:r?l:x,...y,"data-discover":!E&&e==="render"?"true":void 0})});pr.displayName="Form";function gr(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function He(e){let t=u.useContext(I);return w(t,gr(e)),t}function yr(e,{target:t,replace:n,mask:r,state:a,preventScrollReset:i,relative:s,viewTransition:f,defaultShouldRevalidate:l,useTransitions:o}={}){let c=kt(),d=$(),m=W(e,{relative:s});return u.useCallback(y=>{if(Jt(y,t)){y.preventDefault();let v=n!==void 0?n:U(d)===U(m),g=()=>c(e,{replace:v,mask:r,state:a,preventScrollReset:i,relative:s,viewTransition:f,defaultShouldRevalidate:l});o?u.startTransition(()=>g()):g()}},[d,c,m,n,r,a,t,e,i,s,f,l,o])}var vr=0,Rr=()=>`__${String(++vr)}__`;function Er(){let{router:e}=He("useSubmit"),{basename:t}=u.useContext(b),n=Ut(),r=e.fetch,a=e.navigate;return u.useCallback(async(i,s={})=>{let{action:f,method:l,encType:o,formData:c,body:d}=Qt(i,t);if(s.navigate===!1){let m=s.fetcherKey||Rr();await r(m,n,s.action||f,{defaultShouldRevalidate:s.defaultShouldRevalidate,preventScrollReset:s.preventScrollReset,formData:c,body:d,formMethod:s.method||l,formEncType:s.encType||o,flushSync:s.flushSync})}else await a(s.action||f,{defaultShouldRevalidate:s.defaultShouldRevalidate,preventScrollReset:s.preventScrollReset,formData:c,body:d,formMethod:s.method||l,formEncType:s.encType||o,replace:s.replace,state:s.state,fromRouteId:n,flushSync:s.flushSync,viewTransition:s.viewTransition})},[r,a,t,n])}function wr(e,{relative:t}={}){let{basename:n}=u.useContext(b),r=u.useContext(_);w(r,"useFormAction must be used inside a RouteContext");let[a]=r.matches.slice(-1),i={...W(e||".",{relative:t})},s=$();if(e==null){i.search=s.search;let f=new URLSearchParams(i.search),l=f.getAll("index");if(l.some(c=>c==="")){f.delete("index"),l.filter(d=>d).forEach(d=>f.append("index",d));let c=f.toString();i.search=c?`?${c}`:""}}return(!e||e===".")&&a.route.index&&(i.search=i.search?i.search.replace(/^\?/,"?index&"):"?index"),n!=="/"&&(i.pathname=i.pathname==="/"?n:P([n,i.pathname])),U(i)}function Sr(e,{relative:t}={}){let n=u.useContext($e);w(n!=null,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:r}=He("useViewTransitionState"),a=W(e,{relative:t});if(!n.isTransitioning)return!1;let i=T(n.currentLocation.pathname,r)||n.currentLocation.pathname,s=T(n.nextLocation.pathname,r)||n.nextLocation.pathname;return q(a.pathname,s)!=null||q(a.pathname,i)!=null}export{Lr as B,Be as L,Pr as R,$ as a,br as b,zt as c,xr as r,kt as u};

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.