Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tanstack/react-router

Package Overview
Dependencies
Maintainers
1
Versions
647
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tanstack/react-router - npm Package Compare versions

Comparing version 0.0.1-beta.12 to 0.0.1-beta.13

174

build/cjs/react-router/src/index.js

@@ -18,3 +18,4 @@ /**

var shim = require('use-sync-external-store/shim');
var index = require('../../router-core/build/esm/index.js');
var index$1 = require('../../router-core/build/esm/index.js');
var index = require('react-lazy-with-preload/lib/index');

@@ -69,3 +70,3 @@ function _interopNamespace(e) {

useRouterSubscription(router);
index.invariant(resolvedRoute, "Could not find a route for route \"" + resolvedRouteId + "\"! Did you forget to add it to your route config?");
index$1.invariant(resolvedRoute, "Could not find a route for route \"" + resolvedRouteId + "\"! Did you forget to add it to your route config?");
return resolvedRoute;

@@ -114,2 +115,8 @@ },

const reactHandleClick = e => {
React__namespace.startTransition(() => {
handleClick(e);
});
};
const composeHandlers = handlers => e => {

@@ -123,8 +130,8 @@ e.persist();

const resolvedActiveProps = isActive ? (_functionalUpdate = index.functionalUpdate(activeProps, {})) != null ? _functionalUpdate : {} : {}; // Get the inactive props
const resolvedActiveProps = isActive ? (_functionalUpdate = index$1.functionalUpdate(activeProps, {})) != null ? _functionalUpdate : {} : {}; // Get the inactive props
const resolvedInactiveProps = isActive ? {} : (_functionalUpdate2 = index.functionalUpdate(inactiveProps, {})) != null ? _functionalUpdate2 : {};
const resolvedInactiveProps = isActive ? {} : (_functionalUpdate2 = index$1.functionalUpdate(inactiveProps, {})) != null ? _functionalUpdate2 : {};
return _rollupPluginBabelHelpers["extends"]({}, resolvedActiveProps, resolvedInactiveProps, rest, {
href: disabled ? undefined : next.href,
onClick: composeHandlers([handleClick, onClick]),
onClick: composeHandlers([reactHandleClick, onClick]),
onFocus: composeHandlers([handleFocus, onFocus]),

@@ -175,3 +182,3 @@ onMouseEnter: composeHandlers([handleEnter, onMouseEnter]),

const coreRouter = index.createRouter(_rollupPluginBabelHelpers["extends"]({}, opts, {
const coreRouter = index$1.createRouter(_rollupPluginBabelHelpers["extends"]({}, opts, {
createRouter: router => {

@@ -187,3 +194,3 @@ const routerExt = {

useRouterSubscription(router);
index.invariant(routeId !== index.rootRouteId, "\"" + index.rootRouteId + "\" cannot be used with useMatch! Did you mean to useRoute(\"" + index.rootRouteId + "\")?");
index$1.invariant(routeId !== index$1.rootRouteId, "\"" + index$1.rootRouteId + "\" cannot be used with useMatch! Did you mean to useRoute(\"" + index$1.rootRouteId + "\")?");
const runtimeMatch = (_useMatches = useMatches()) == null ? void 0 : _useMatches[0];

@@ -193,4 +200,4 @@ const match = router.state.matches.find(d => d.routeId === routeId);

if ((_opts$strict = opts == null ? void 0 : opts.strict) != null ? _opts$strict : true) {
index.invariant(match, "Could not find an active match for \"" + routeId + "\"!");
index.invariant(runtimeMatch.routeId == (match == null ? void 0 : match.routeId), "useMatch('" + (match == null ? void 0 : match.routeId) + "') is being called in a component that is meant to render the '" + runtimeMatch.routeId + "' route. Did you mean to 'useMatch(" + (match == null ? void 0 : match.routeId) + ", { strict: false })' or 'useRoute(" + (match == null ? void 0 : match.routeId) + ")' instead?");
index$1.invariant(match, "Could not find an active match for \"" + routeId + "\"!");
index$1.invariant(runtimeMatch.routeId == (match == null ? void 0 : match.routeId), "useMatch('" + (match == null ? void 0 : match.routeId) + "') is being called in a component that is meant to render the '" + runtimeMatch.routeId + "' route. Did you mean to 'useMatch(" + (match == null ? void 0 : match.routeId) + ", { strict: false })' or 'useRoute(" + (match == null ? void 0 : match.routeId) + ")' instead?");
}

@@ -212,14 +219,8 @@

},
createElement: async element => {
if (typeof element === 'function') {
const res = await element(); // Support direct import() calls
if (typeof res === 'object' && res.default) {
return /*#__PURE__*/React__namespace.createElement(res.default);
} else {
return res;
}
loadComponent: async component => {
if (component.preload && typeof document !== 'undefined') {
component.preload(); // return await component.preload()
}
return element;
return component;
}

@@ -253,3 +254,3 @@ }));

const value = React__namespace.useContext(routerContext);
index.warning(!value, 'useRouter must be used inside a <Router> component!');
index$1.warning(!value, 'useRouter must be used inside a <Router> component!');
useRouterSubscription(value.router);

@@ -262,3 +263,3 @@ return value.router;

function Outlet() {
var _match$options$catchE;
var _ref3, _match$__$pendingComp, _match$__$errorCompon;

@@ -268,2 +269,3 @@ const router = useRouter();

const match = matches[0];
const defaultPending = React__namespace.useCallback(() => null, []);

@@ -274,50 +276,28 @@ if (!match) {

const element = (() => {
var _match$__$errorElemen, _ref4, _ref5;
if (!match) {
return null;
const PendingComponent = (_ref3 = (_match$__$pendingComp = match.__.pendingComponent) != null ? _match$__$pendingComp : router.options.defaultPendingComponent) != null ? _ref3 : defaultPending;
const errorComponent = (_match$__$errorCompon = match.__.errorComponent) != null ? _match$__$errorCompon : router.options.defaultErrorComponent;
return /*#__PURE__*/React__namespace.createElement(MatchesProvider, {
value: matches
}, /*#__PURE__*/React__namespace.createElement(React__namespace.Suspense, {
fallback: /*#__PURE__*/React__namespace.createElement(PendingComponent, null)
}, /*#__PURE__*/React__namespace.createElement(CatchBoundary, {
errorComponent: errorComponent
}, (() => {
if (match.status === 'error') {
throw match.error;
}
const errorElement = (_match$__$errorElemen = match.__.errorElement) != null ? _match$__$errorElemen : router.options.defaultErrorElement;
if (match.status === 'success') {
var _ref4, _ref5;
if (match.status === 'error') {
if (errorElement) {
return errorElement;
}
if (match.options.useErrorBoundary || router.options.useErrorBoundary) {
throw match.error;
}
return /*#__PURE__*/React__namespace.createElement(DefaultErrorBoundary, {
error: match.error
});
return /*#__PURE__*/React__namespace.createElement((_ref4 = (_ref5 = match.__.component) != null ? _ref5 : router.options.defaultComponent) != null ? _ref4 : Outlet);
}
if (match.status === 'loading' || match.status === 'idle') {
if (match.isPending) {
var _match$__$pendingElem;
const pendingElement = (_match$__$pendingElem = match.__.pendingElement) != null ? _match$__$pendingElem : router.options.defaultPendingElement;
if (match.options.pendingMs || pendingElement) {
var _ref3;
return (_ref3 = pendingElement) != null ? _ref3 : null;
}
}
return null;
if (match.__.loadPromise) {
console.log(match.matchId, 'suspend');
throw match.__.loadPromise;
}
return (_ref4 = (_ref5 = match.__.element) != null ? _ref5 : router.options.defaultElement) != null ? _ref4 : /*#__PURE__*/React__namespace.createElement(Outlet, null);
})();
const catchElement = (_match$options$catchE = match == null ? void 0 : match.options.catchElement) != null ? _match$options$catchE : router.options.defaultCatchElement;
return /*#__PURE__*/React__namespace.createElement(MatchesProvider, {
value: matches
}, /*#__PURE__*/React__namespace.createElement(CatchBoundary, {
catchElement: catchElement
}, element));
index$1.invariant(false, 'This should never happen!');
})())));
}

@@ -342,8 +322,8 @@

render() {
var _this$props$catchElem;
var _this$props$errorComp;
const catchElement = (_this$props$catchElem = this.props.catchElement) != null ? _this$props$catchElem : DefaultErrorBoundary;
const errorComponent = (_this$props$errorComp = this.props.errorComponent) != null ? _this$props$errorComp : DefaultErrorBoundary;
if (this.state.error) {
return typeof catchElement === 'function' ? catchElement(this.state) : catchElement;
return /*#__PURE__*/React__namespace.createElement(errorComponent, this.state);
}

@@ -408,32 +388,36 @@

exports.cleanPath = index.cleanPath;
exports.createBrowserHistory = index.createBrowserHistory;
exports.createHashHistory = index.createHashHistory;
exports.createMemoryHistory = index.createMemoryHistory;
exports.createRoute = index.createRoute;
exports.createRouteConfig = index.createRouteConfig;
exports.createRouteMatch = index.createRouteMatch;
exports.createRouter = index.createRouter;
exports.decode = index.decode;
exports.defaultParseSearch = index.defaultParseSearch;
exports.defaultStringifySearch = index.defaultStringifySearch;
exports.encode = index.encode;
exports.functionalUpdate = index.functionalUpdate;
exports.interpolatePath = index.interpolatePath;
exports.invariant = index.invariant;
exports.joinPaths = index.joinPaths;
exports.last = index.last;
exports.matchByPath = index.matchByPath;
exports.matchPathname = index.matchPathname;
exports.parsePathname = index.parsePathname;
exports.parseSearchWith = index.parseSearchWith;
exports.pick = index.pick;
exports.replaceEqualDeep = index.replaceEqualDeep;
exports.resolvePath = index.resolvePath;
exports.rootRouteId = index.rootRouteId;
exports.stringifySearchWith = index.stringifySearchWith;
exports.trimPath = index.trimPath;
exports.trimPathLeft = index.trimPathLeft;
exports.trimPathRight = index.trimPathRight;
exports.warning = index.warning;
exports.cleanPath = index$1.cleanPath;
exports.createBrowserHistory = index$1.createBrowserHistory;
exports.createHashHistory = index$1.createHashHistory;
exports.createMemoryHistory = index$1.createMemoryHistory;
exports.createRoute = index$1.createRoute;
exports.createRouteConfig = index$1.createRouteConfig;
exports.createRouteMatch = index$1.createRouteMatch;
exports.createRouter = index$1.createRouter;
exports.decode = index$1.decode;
exports.defaultParseSearch = index$1.defaultParseSearch;
exports.defaultStringifySearch = index$1.defaultStringifySearch;
exports.encode = index$1.encode;
exports.functionalUpdate = index$1.functionalUpdate;
exports.interpolatePath = index$1.interpolatePath;
exports.invariant = index$1.invariant;
exports.joinPaths = index$1.joinPaths;
exports.last = index$1.last;
exports.matchByPath = index$1.matchByPath;
exports.matchPathname = index$1.matchPathname;
exports.parsePathname = index$1.parsePathname;
exports.parseSearchWith = index$1.parseSearchWith;
exports.pick = index$1.pick;
exports.replaceEqualDeep = index$1.replaceEqualDeep;
exports.resolvePath = index$1.resolvePath;
exports.rootRouteId = index$1.rootRouteId;
exports.stringifySearchWith = index$1.stringifySearchWith;
exports.trimPath = index$1.trimPath;
exports.trimPathLeft = index$1.trimPathLeft;
exports.trimPathRight = index$1.trimPathRight;
exports.warning = index$1.warning;
Object.defineProperty(exports, 'lazy', {
enumerable: true,
get: function () { return index.lazyWithPreload; }
});
exports.DefaultErrorBoundary = DefaultErrorBoundary;

@@ -440,0 +424,0 @@ exports.MatchesProvider = MatchesProvider;

@@ -10,3 +10,3 @@ {

{
"uid": "2ef3-67",
"uid": "c00e-68",
"name": "\u0000rollupPluginBabelHelpers.js"

@@ -19,7 +19,7 @@ },

"name": "router-core/build/esm/index.js",
"uid": "2ef3-69"
"uid": "c00e-70"
},
{
"name": "react-router/src/index.tsx",
"uid": "2ef3-71"
"uid": "c00e-72"
}

@@ -34,26 +34,26 @@ ]

"nodeParts": {
"2ef3-67": {
"c00e-68": {
"renderedLength": 798,
"gzipLength": 366,
"brotliLength": 0,
"mainUid": "2ef3-66"
"mainUid": "c00e-67"
},
"2ef3-69": {
"renderedLength": 75522,
"gzipLength": 15692,
"c00e-70": {
"renderedLength": 73815,
"gzipLength": 15405,
"brotliLength": 0,
"mainUid": "2ef3-68"
"mainUid": "c00e-69"
},
"2ef3-71": {
"renderedLength": 11941,
"gzipLength": 3092,
"c00e-72": {
"renderedLength": 11547,
"gzipLength": 3026,
"brotliLength": 0,
"mainUid": "2ef3-70"
"mainUid": "c00e-71"
}
},
"nodeMetas": {
"2ef3-66": {
"c00e-67": {
"id": "\u0000rollupPluginBabelHelpers.js",
"moduleParts": {
"index.production.js": "2ef3-67"
"index.production.js": "c00e-68"
},

@@ -63,10 +63,10 @@ "imported": [],

{
"uid": "2ef3-70"
"uid": "c00e-71"
}
]
},
"2ef3-68": {
"c00e-69": {
"id": "/packages/router-core/build/esm/index.js",
"moduleParts": {
"index.production.js": "2ef3-69"
"index.production.js": "c00e-70"
},

@@ -76,23 +76,26 @@ "imported": [],

{
"uid": "2ef3-70"
"uid": "c00e-71"
}
]
},
"2ef3-70": {
"c00e-71": {
"id": "/packages/react-router/src/index.tsx",
"moduleParts": {
"index.production.js": "2ef3-71"
"index.production.js": "c00e-72"
},
"imported": [
{
"uid": "2ef3-66"
"uid": "c00e-67"
},
{
"uid": "2ef3-72"
"uid": "c00e-73"
},
{
"uid": "2ef3-73"
"uid": "c00e-74"
},
{
"uid": "2ef3-68"
"uid": "c00e-69"
},
{
"uid": "c00e-75"
}

@@ -103,3 +106,3 @@ ],

},
"2ef3-72": {
"c00e-73": {
"id": "react",

@@ -110,3 +113,3 @@ "moduleParts": {},

{
"uid": "2ef3-70"
"uid": "c00e-71"
}

@@ -116,3 +119,3 @@ ],

},
"2ef3-73": {
"c00e-74": {
"id": "use-sync-external-store/shim",

@@ -123,6 +126,17 @@ "moduleParts": {},

{
"uid": "2ef3-70"
"uid": "c00e-71"
}
],
"isExternal": true
},
"c00e-75": {
"id": "react-lazy-with-preload/lib/index",
"moduleParts": {},
"imported": [],
"importedBy": [
{
"uid": "c00e-71"
}
],
"isExternal": true
}

@@ -129,0 +143,0 @@ },

@@ -14,7 +14,14 @@ /**

export * from '@tanstack/router-core';
export { lazyWithPreload as lazy } from 'react-lazy-with-preload/lib/index';
export { PreloadableComponent as LazyComponent } from 'react-lazy-with-preload';
declare type SyncRouteComponent = (props?: {}) => React.ReactNode;
declare type RouteComponent = SyncRouteComponent & {
preload?: () => Promise<{
default: SyncRouteComponent;
}>;
};
declare module '@tanstack/router-core' {
interface FrameworkGenerics {
Element: React.ReactNode;
SyncOrAsyncElement: React.ReactNode | (() => Promise<any>);
Component: RouteComponent;
}

@@ -81,2 +88,2 @@ interface Router<TRouteConfig extends AnyRouteConfig = RouteConfig, TAllRouteInfo extends AnyAllRouteInfo = AllRouteInfo<TRouteConfig>> {

export { DefaultErrorBoundary, MatchesProvider, MatchesProviderProps, Outlet, Prompt, PromptProps, RouterProps, RouterProvider, createReactRouter, useMatches, usePrompt, useRouter };
export { DefaultErrorBoundary, MatchesProvider, MatchesProviderProps, Outlet, Prompt, PromptProps, RouteComponent, RouterProps, RouterProvider, createReactRouter, useMatches, usePrompt, useRouter };

@@ -11,3 +11,3 @@ /**

*/
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("react"),require("use-sync-external-store/shim")):"function"==typeof define&&define.amd?define(["exports","react","use-sync-external-store/shim"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).ReactRouter={},t.React,t.shim)}(this,(function(t,e,n){"use strict";function a(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var a=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}var o,r=a(e);function i(){return i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},i.apply(this,arguments)}function s(t,e){if(null==t)return{};var n,a,o={},r=Object.keys(t);for(a=0;a<r.length;a++)n=r[a],e.indexOf(n)>=0||(o[n]=t[n]);return o}
!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("react"),require("use-sync-external-store/shim"),require("react-lazy-with-preload/lib/index")):"function"==typeof define&&define.amd?define(["exports","react","use-sync-external-store/shim","react-lazy-with-preload/lib/index"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).ReactRouter={},t.React,t.shim,t.index)}(this,(function(t,e,n,a){"use strict";function o(t){if(t&&t.__esModule)return t;var e=Object.create(null);return t&&Object.keys(t).forEach((function(n){if("default"!==n){var a=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,a.get?a:{enumerable:!0,get:function(){return t[n]}})}})),e.default=t,Object.freeze(e)}var r,i=o(e);function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},s.apply(this,arguments)}function l(t,e){if(null==t)return{};var n,a,o={},r=Object.keys(t);for(a=0;a<r.length;a++)n=r[a],e.indexOf(n)>=0||(o[n]=t[n]);return o}
/**

@@ -22,3 +22,3 @@ * router-core

* @license MIT
*/function l(){return l=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},l.apply(this,arguments)}!function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"}(o||(o={}));var c="beforeunload",u="popstate";function d(t){void 0===t&&(t={});var e=t.window,n=void 0===e?document.defaultView:e,a=n.history;function r(){var t=n.location,e=t.pathname,o=t.search,r=t.hash,i=a.state||{};return[i.idx,{pathname:e,search:o,hash:r,state:i.usr||null,key:i.key||"default"}]}var i=null;n.addEventListener(u,(function(){if(i)P.call(i),i=null;else{var t=o.Pop,e=r(),n=e[0],a=e[1];if(P.length){if(null!=n){var s=h-n;s&&(i={action:t,location:a,retry:function(){M(-1*s)}},M(s))}}else x(t)}}));var s=o.Pop,d=r(),h=d[0],f=d[1],_=m(),P=m();function b(t){return"string"==typeof t?t:g(t)}function w(t,e){return void 0===e&&(e=null),l({pathname:f.pathname,hash:"",search:""},"string"==typeof t?y(t):t,{state:e,key:v()})}function E(t,e){return[{usr:t.state,key:t.key,idx:e},b(t)]}function R(t,e,n){return!P.length||(P.call({action:t,location:e,retry:n}),!1)}function x(t){s=t;var e=r();h=e[0],f=e[1],_.call({action:s,location:f})}function M(t){a.go(t)}null==h&&(h=0,a.replaceState(l({},a.state,{idx:h}),""));var S={get action(){return s},get location(){return f},createHref:b,push:function t(e,r){var i=o.Push,s=w(e,r);if(R(i,s,(function(){t(e,r)}))){var l=E(s,h+1),c=l[0],u=l[1];try{a.pushState(c,"",u)}catch(t){n.location.assign(u)}x(i)}},replace:function t(e,n){var r=o.Replace,i=w(e,n);if(R(r,i,(function(){t(e,n)}))){var s=E(i,h),l=s[0],c=s[1];a.replaceState(l,"",c),x(r)}},go:M,back:function(){M(-1)},forward:function(){M(1)},listen:function(t){return _.push(t)},block:function(t){var e=P.push(t);return 1===P.length&&n.addEventListener(c,p),function(){e(),P.length||n.removeEventListener(c,p)}}};return S}function h(t){void 0===t&&(t={});var e=t,n=e.initialEntries,a=void 0===n?["/"]:n,r=e.initialIndex,i=a.map((function(t){return l({pathname:"/",search:"",hash:"",state:null,key:v()},"string"==typeof t?y(t):t)})),s=f(null==r?i.length-1:r,0,i.length-1),c=o.Pop,u=i[s],d=m(),h=m();function p(t,e){return void 0===e&&(e=null),l({pathname:u.pathname,search:"",hash:""},"string"==typeof t?y(t):t,{state:e,key:v()})}function _(t,e,n){return!h.length||(h.call({action:t,location:e,retry:n}),!1)}function P(t,e){c=t,u=e,d.call({action:c,location:u})}function b(t){var e=f(s+t,0,i.length-1),n=o.Pop,a=i[e];_(n,a,(function(){b(t)}))&&(s=e,P(n,a))}var w={get index(){return s},get action(){return c},get location(){return u},createHref:function(t){return"string"==typeof t?t:g(t)},push:function t(e,n){var a=o.Push,r=p(e,n);_(a,r,(function(){t(e,n)}))&&(s+=1,i.splice(s,i.length,r),P(a,r))},replace:function t(e,n){var a=o.Replace,r=p(e,n);_(a,r,(function(){t(e,n)}))&&(i[s]=r,P(a,r))},go:b,back:function(){b(-1)},forward:function(){b(1)},listen:function(t){return d.push(t)},block:function(t){return h.push(t)}};return w}function f(t,e,n){return Math.min(Math.max(t,e),n)}function p(t){t.preventDefault(),t.returnValue=""}function m(){var t=[];return{get length(){return t.length},push:function(e){return t.push(e),function(){t=t.filter((function(t){return t!==e}))}},call:function(e){t.forEach((function(t){return t&&t(e)}))}}}function v(){return Math.random().toString(36).substr(2,8)}function g(t){var e=t.pathname,n=void 0===e?"/":e,a=t.search,o=void 0===a?"":a,r=t.hash,i=void 0===r?"":r;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),i&&"#"!==i&&(n+="#"===i.charAt(0)?i:"#"+i),n}function y(t){var e={};if(t){var n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));var a=t.indexOf("?");a>=0&&(e.search=t.substr(a),t=t.substr(0,a)),t&&(e.pathname=t)}return e}function _(t,e){if(!t)throw new Error("Invariant failed")}function P(t,e){if(t===e)return t;const n=Array.isArray(t)&&Array.isArray(e);if(n||b(t)&&b(e)){const a=n?t.length:Object.keys(t).length,o=n?e:Object.keys(e),r=o.length,i=n?[]:{};let s=0;for(let a=0;a<r;a++){const r=n?a:o[a];i[r]=P(t[r],e[r]),i[r]===t[r]&&s++}return a===r&&s===a?t:i}return e}function b(t){if(!w(t))return!1;const e=t.constructor;if(void 0===e)return!0;const n=e.prototype;return!!w(n)&&!!n.hasOwnProperty("isPrototypeOf")}function w(t){return"[object Object]"===Object.prototype.toString.call(t)}function E(t){return t[t.length-1]}function R(t,e){if(t){"undefined"!=typeof console&&console.warn(e);try{throw new Error(e)}catch(t){}}return!0}function x(t,e){return"function"==typeof t?t(e):t}function M(t,e){return e.reduce(((e,n)=>(e[n]=t[n],e)),{})}function S(t){return I(t.filter(Boolean).join("/"))}function I(t){return t.replace(/\/{2,}/g,"/")}function A(t){return"/"===t?t:t.replace(/^\/{1,}/,"")}function L(t){return"/"===t?t:t.replace(/\/{1,}$/,"")}function k(t){return L(A(t))}function C(t,e,n){e=e.replace(new RegExp("^"+t),"/"),n=n.replace(new RegExp("^"+t),"/");let a=O(e);const o=O(n);o.forEach(((t,e)=>{if("/"===t.value)e?e===o.length-1&&a.push(t):a=[t];else if(".."===t.value){var n;a.length>1&&"/"===(null==(n=E(a))?void 0:n.value)&&a.pop(),a.pop()}else{if("."===t.value)return;a.push(t)}}));return I(S([t,...a.map((t=>t.value))]))}function O(t){if(!t)return[];const e=[];if("/"===(t=I(t)).slice(0,1)&&(t=t.substring(1),e.push({type:"pathname",value:"/"})),!t)return e;const n=t.split("/").filter(Boolean);return e.push(...n.map((t=>t.startsWith("*")?{type:"wildcard",value:t}:":"===t.charAt(0)?{type:"param",value:t}:{type:"pathname",value:t}))),"/"===t.slice(-1)&&(t=t.substring(1),e.push({type:"pathname",value:"/"})),e}function j(t,e,n){return S(O(t).map((t=>{return"*"!==t.value||n?"param"===t.type?null!=(a=e[t.value.substring(1)])?a:"":t.value:"";var a})))}function D(t,e){const n=T(t,e);if(!e.to||n)return null!=n?n:{}}function T(t,e){var n;const a=O(t),o=O(""+(null!=(n=e.to)?n:"*")),r={};return(()=>{for(let t=0;t<Math.max(a.length,o.length);t++){const n=a[t],i=o[t],s=t===o.length-1,l=t===a.length-1;if(i){if("wildcard"===i.type)return!(null==n||!n.value)&&(r["*"]=S(a.slice(t).map((t=>t.value))),!0);if("pathname"===i.type){if("/"===i.value&&(null==n||!n.value))return!0;if(n)if(e.caseSensitive){if(i.value!==n.value)return!1}else if(i.value.toLowerCase()!==n.value.toLowerCase())return!1}if(!n)return!1;if("param"===i.type){if("/"===(null==n?void 0:n.value))return!1;n.value.startsWith(":")||(r[i.value.substring(1)]=n.value)}}if(s&&!l)return!!e.fuzzy}return!0})()?r:void 0}function F(t,e){var n,a,o,r="";for(n in t)if(void 0!==(o=t[n]))if(Array.isArray(o))for(a=0;a<o.length;a++)r&&(r+="&"),r+=encodeURIComponent(n)+"="+encodeURIComponent(o[a]);else r&&(r+="&"),r+=encodeURIComponent(n)+"="+encodeURIComponent(o);return(e||"")+r}function N(t){if(!t)return"";var e=decodeURIComponent(t);return"false"!==e&&("true"===e||("0"===e.charAt(0)?e:0*+e==0?+e:e))}function B(t){for(var e,n,a={},o=t.split("&");e=o.shift();)void 0!==a[n=(e=e.split("=")).shift()]?a[n]=[].concat(a[n],N(e.shift())):a[n]=N(e.shift());return a}function U(){return U=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},U.apply(this,arguments)}function H(t,e,n,a){const{id:o,routeId:r,path:i,fullPath:s}=t,l=a.state.actions[o]||(a.state.actions[o]={submissions:[],submit:async(t,e)=>{var n;if(!u)return;const o=null==(n=null==e?void 0:e.invalidate)||n;null!=e&&e.multi||(l.submissions=l.submissions.filter((t=>t.isMulti)));const r={submittedAt:Date.now(),status:"pending",submission:t,isMulti:!(null==e||!e.multi)};l.current=r,l.latest=r,l.submissions.push(r),a.notify();try{const e=await(null==u.options.action?void 0:u.options.action(t));return r.data=e,o&&(a.invalidateRoute({to:".",fromCurrent:!0}),await a.reload()),r.status="success",e}catch(t){console.error(t),r.error=t,r.status="error"}finally{a.notify()}}},a.state.actions[o]),c=a.state.loaders[o]||(a.state.loaders[o]={pending:[],fetch:async t=>{if(!u)return;const e={loadedAt:Date.now(),loaderContext:t};c.current=e,c.latest=e,c.pending.push(e),a.notify();try{return await(null==u.options.loader?void 0:u.options.loader(t))}finally{c.pending=c.pending.filter((t=>t!==e)),a.notify()}}},a.state.loaders[o]);let u={routeId:o,routeRouteId:r,routePath:i,fullPath:s,options:e,router:a,childRoutes:void 0,parentRoute:n,action:l,loader:c,buildLink:t=>a.buildLink(U({},t,{from:s})),navigate:t=>a.navigate(U({},t,{from:s})),matchRoute:(t,e)=>a.matchRoute(U({},t,{from:s}),e)};return null==a.options.createRoute||a.options.createRoute({router:a,route:u}),u}const z="__root__",G=["element","errorElement","catchElement","pendingElement"];function W(t,e,n){const a=U({},e,n,{router:t,routeSearch:{},search:{},childMatches:[],status:"idle",routeLoaderData:{},loaderData:{},isPending:!1,isFetching:!1,isInvalid:!1,invalidAt:1/0,getIsInvalid:()=>{const t=Date.now();return a.isInvalid||a.invalidAt<t},__:{abortController:new AbortController,latestId:"",resolve:()=>{},notify:()=>{a.__.resolve(),a.router.notify()},startPending:()=>{var e,n;const o=null!=(e=a.options.pendingMs)?e:t.options.defaultPendingMs,r=null!=(n=a.options.pendingMinMs)?n:t.options.defaultPendingMinMs;a.__.pendingTimeout||"loading"!==a.status||void 0===o||(a.__.pendingTimeout=setTimeout((()=>{a.isPending=!0,a.__.resolve(),void 0!==r&&(a.__.pendingMinPromise=new Promise((t=>a.__.pendingMinTimeout=setTimeout(t,r))))}),o))},cancelPending:()=>{a.isPending=!1,clearTimeout(a.__.pendingTimeout),clearTimeout(a.__.pendingMinTimeout),delete a.__.pendingMinPromise},validate:()=>{var e,n;const o=null!=(e=null==(n=a.parentMatch)?void 0:n.search)?e:t.location.search;try{var r;const t=a.routeSearch,e="object"==typeof a.options.validateSearch?a.options.validateSearch.parse:a.options.validateSearch;let n=P(t,null!=(r=null==e?void 0:e(o))?r:{});t!==n&&(a.isInvalid=!0),a.routeSearch=n,a.search=P(o,U({},o,n)),G.map((async t=>{const e=a.options[t];"function"!=typeof a.__[t]&&(a.__[t]=e)}))}catch(t){console.error(t);const e=new Error("Invalid search params found",{cause:t});return e.code="INVALID_SEARCH_PARAMS",a.status="error",void(a.error=e)}}},cancel:()=>{var t;null==(t=a.__.abortController)||t.abort(),a.__.cancelPending()},invalidate:()=>{a.isInvalid=!0},hasLoaders:()=>!(!e.options.loader&&!G.some((t=>"function"==typeof e.options[t]))),load:async e=>{const n=Date.now(),o=null!=e&&e.preload?Math.max(null==e?void 0:e.maxAge,null==e?void 0:e.gcMaxAge):0;if(null!=e&&e.preload&&o>0){if(t.state.matches.find((t=>t.matchId===a.matchId)))return;t.matchCache[a.matchId]={gc:n+e.gcMaxAge,match:a}}if("success"===a.status&&a.getIsInvalid()||"error"===a.status||"idle"===a.status){const t=null!=e&&e.preload?null==e?void 0:e.maxAge:void 0;await a.fetch({maxAge:t})}},fetch:async e=>{const n=""+Date.now()+Math.random();a.__.latestId=n,"idle"===a.status&&(a.status="loading"),a.isInvalid=!1,a.__.loadPromise=new Promise((async o=>{if(a.isFetching=!0,a.__.resolve=o,a.__.loaderDataPromise=(async()=>{a.__.elementsPromise=(async()=>{await Promise.all(G.map((async e=>{const n=a.options[e];"function"==typeof a.__[e]&&(a.__[e]=await t.options.createElement(n))})))})(),a.__.dataPromise=Promise.resolve().then((async()=>{try{var o,r,i;if(a.options.loader){const t=await a.options.loader({params:a.params,search:a.routeSearch,signal:a.__.abortController.signal});if(n!==a.__.latestId)return a.__.loadPromise;a.routeLoaderData=P(a.routeLoaderData,t)}a.error=void 0,a.status="success",a.updatedAt=Date.now(),a.invalidAt=a.updatedAt+(null!=(o=null!=(r=null!=(i=null==e?void 0:e.maxAge)?i:a.options.loaderMaxAge)?r:t.options.defaultLoaderMaxAge)?o:0)}catch(t){if(n!==a.__.latestId)return a.__.loadPromise;a.error=t,a.status="error",a.updatedAt=Date.now()}}));try{if(await Promise.all([a.__.elementsPromise,a.__.dataPromise]),n!==a.__.latestId)return a.__.loadPromise;a.__.pendingMinPromise&&(await a.__.pendingMinPromise,delete a.__.pendingMinPromise)}finally{if(n!==a.__.latestId)return a.__.loadPromise;a.__.cancelPending(),a.isPending=!1,a.isFetching=!1,a.__.notify()}})(),await a.__.loaderDataPromise,n!==a.__.latestId)return a.__.loadPromise;delete a.__.loaderDataPromise})),await a.__.loadPromise,delete a.__.loadPromise}});return a.hasLoaders()||(a.status="success"),a}const q=V(JSON.parse),K=J(JSON.stringify);function V(t){return e=>{"?"===e.substring(0,1)&&(e=e.substring(1));let n=B(e);for(let e in n){const a=n[e];if("string"==typeof a)try{n[e]=t(a)}catch(t){}}return n}}function J(t){return e=>{(e=U({},e))&&Object.keys(e).forEach((n=>{const a=e[n];if(void 0===a||void 0===a)delete e[n];else if(a&&"object"==typeof a&&null!==a)try{e[n]=t(a)}catch(t){}}));const n=F(e).toString();return n?"?"+n:""}}var X;const $="undefined"==typeof window||!(null!=(X=window.document)&&X.createElement);function Q(){return{status:"idle",location:null,matches:[],actions:{},loaders:{},lastUpdated:Date.now(),isFetching:!1,isPreloading:!1}}function Y(t){var e,n;const a=(null==t?void 0:t.history)||($?h():d()),o=U({defaultLoaderGcMaxAge:3e5,defaultLoaderMaxAge:0,defaultPreloadMaxAge:2e3,defaultPreloadDelay:50},t,{stringifySearch:null!=(e=null==t?void 0:t.stringifySearch)?e:K,parseSearch:null!=(n=null==t?void 0:t.parseSearch)?n:q});let r={history:a,options:o,listeners:[],basepath:"",routeTree:void 0,routesById:{},location:void 0,allRouteInfo:void 0,navigationPromise:Promise.resolve(),resolveNavigation:()=>{},matchCache:{},state:Q(),reset:()=>{r.state=Q(),r.notify()},startedLoadingAt:Date.now(),subscribe:t=>(r.listeners.push(t),()=>{r.listeners=r.listeners.filter((e=>e!==t))}),getRoute:t=>r.routesById[t],notify:()=>{r.state=U({},r.state,{isFetching:"loading"===r.state.status||r.state.matches.some((t=>t.isFetching)),isPreloading:Object.values(r.matchCache).some((t=>t.match.isFetching&&!r.state.matches.find((e=>e.matchId===t.match.matchId))))}),Z(r.state.matches),r.listeners.forEach((t=>t(r)))},dehydrateState:()=>U({},M(r.state,["status","location","lastUpdated"]),{matches:r.state.matches.map((t=>M(t,["matchId","status","routeLoaderData","loaderData","isInvalid","invalidAt"])))}),hydrateState:t=>{const e=r.matchRoutes(r.location.pathname,{strictParseParams:!0});e.forEach(((e,n)=>{const a=t.matches[n];_(a),Object.assign(e,a)})),r.loadMatches(e),r.state=U({},r.state,t,{matches:e})},mount:()=>{const t=r.__.buildLocation({to:".",search:!0,hash:!0});t.href!==r.location.href&&r.__.commitLocation(t,!0);const e=r.history.listen((t=>{r.load(r.__.parseLocation(t.location,r.location))}));return!$&&window.addEventListener&&(window.addEventListener("visibilitychange",r.onFocus,!1),window.addEventListener("focus",r.onFocus,!1)),()=>{e(),!$&&window.removeEventListener&&(window.removeEventListener("visibilitychange",r.onFocus),window.removeEventListener("focus",r.onFocus))}},onFocus:()=>{r.load()},update:t=>{const e=(null==t?void 0:t.history)!==r.history;r.location&&!e||(null!=t&&t.history&&(r.history=t.history),r.location=r.__.parseLocation(r.history.location),r.state.location=r.location),Object.assign(r.options,t);const{basepath:n,routeConfig:a}=r.options;return r.basepath=I("/"+(null!=n?n:"")),a&&(r.routesById={},r.routeTree=r.__.buildRouteTree(a)),r},cancelMatches:()=>{var t,e;[...r.state.matches,...null!=(t=null==(e=r.state.pending)?void 0:e.matches)?t:[]].forEach((t=>{t.cancel()}))},load:async t=>{const e=Math.random();r.startedLoadingAt=e,t&&(r.location=t),r.cancelMatches();const n=r.matchRoutes(r.location.pathname,{strictParseParams:!0});if(r.state=U({},r.state,{pending:{matches:n,location:r.location},status:"loading"}),r.notify(),await r.loadMatches(n,{withPending:!0}),r.startedLoadingAt!==e)return r.navigationPromise;const a=r.state.matches,o=[],i=[];a.forEach((t=>{n.find((e=>e.matchId===t.matchId))?i.push(t):o.push(t)}));const s=n.filter((t=>!a.find((e=>e.matchId===t.matchId)))),l=Date.now();o.forEach((t=>{var e,n,a,o;null==t.__.onExit||t.__.onExit({params:t.params,search:t.routeSearch}),"error"!==t.status||t.isFetching||(t.status="idle",t.error=void 0);const i=Math.max(null!=(e=null!=(n=t.options.loaderGcMaxAge)?n:r.options.defaultLoaderGcMaxAge)?e:0,null!=(a=null!=(o=t.options.loaderMaxAge)?o:r.options.defaultLoaderMaxAge)?a:0);i>0&&(r.matchCache[t.matchId]={gc:i==1/0?Number.MAX_SAFE_INTEGER:l+i,match:t})})),i.forEach((t=>{null==t.options.onTransition||t.options.onTransition({params:t.params,search:t.routeSearch})})),s.forEach((t=>{t.__.onExit=null==t.options.onMatch?void 0:t.options.onMatch({params:t.params,search:t.search}),delete r.matchCache[t.matchId]})),r.startedLoadingAt===e&&(n.forEach((t=>{t.action&&(t.action.current=void 0,t.action.submissions=[])})),r.state=U({},r.state,{location:r.location,matches:n,pending:void 0,status:"idle"}),r.notify(),r.resolveNavigation())},cleanMatchCache:()=>{const t=Date.now();Object.keys(r.matchCache).forEach((e=>{const n=r.matchCache[e];"loading"!==n.match.status&&(n.gc>0&&n.gc>t||delete r.matchCache[e])}))},loadRoute:async function(t){void 0===t&&(t=r.location);const e=r.buildNext(t),n=r.matchRoutes(e.pathname,{strictParseParams:!0});return await r.loadMatches(n),n},preloadRoute:async function(t,e){var n,a,o,i,s,l;void 0===t&&(t=r.location);const c=r.buildNext(t),u=r.matchRoutes(c.pathname,{strictParseParams:!0});return await r.loadMatches(u,{preload:!0,maxAge:null!=(n=null!=(a=null!=(o=e.maxAge)?o:r.options.defaultPreloadMaxAge)?a:r.options.defaultLoaderMaxAge)?n:0,gcMaxAge:null!=(i=null!=(s=null!=(l=e.gcMaxAge)?l:r.options.defaultPreloadGcMaxAge)?s:r.options.defaultLoaderGcMaxAge)?i:0}),u},matchRoutes:(t,e)=>{var n,a;r.cleanMatchCache();const o=[];if(!r.routeTree)return o;const i=[...r.state.matches,...null!=(n=null==(a=r.state.pending)?void 0:a.matches)?n:[]],s=async n=>{var a,l,c;const u=E(o);let d=null!=(a=null==u?void 0:u.params)?a:{};const h=null!=(l=null==r.options.filterRoutes?void 0:r.options.filterRoutes(n))?l:n;let f=[];const p=(n,a)=>(a.some((a=>{var o,i,s;if(!a.routePath&&null!=(o=a.childRoutes)&&o.length)return p([...f,a],a.childRoutes);const l=!!("/"!==a.routePath||null!=(i=a.childRoutes)&&i.length),c=D(t,{to:a.fullPath,fuzzy:l,caseSensitive:null!=(s=a.options.caseSensitive)?s:r.options.caseSensitive});if(c){let t;try{var u;t=null!=(u=null==a.options.parseParams?void 0:a.options.parseParams(c))?u:c}catch(t){if(null!=e&&e.strictParseParams)throw t}d=U({},d,t)}return c&&(f=[...n,a]),!!f.length})),!!f.length);if(p([],h),!f.length)return;f.forEach((e=>{var n;const a=j(e.routePath,d),s=j(e.routeId,d,!0),l=i.find((t=>t.matchId===s))||(null==(n=r.matchCache[s])?void 0:n.match)||W(r,e,{matchId:s,params:d,pathname:S([t,a])});o.push(l)}));const m=E(f);null!=(c=m.childRoutes)&&c.length&&s(m.childRoutes)};return s([r.routeTree]),Z(o),o},loadMatches:async(t,e)=>{const n=t.map((async t=>{t.__.validate(),t.load(e),"loading"===t.status&&null!=e&&e.withPending&&t.__.startPending(),t.__.loadPromise&&await t.__.loadPromise}));r.notify(),await Promise.all(n)},invalidateRoute:t=>{var e,n;const a=r.buildNext(t),o=r.matchRoutes(a.pathname).map((t=>t.matchId));[...r.state.matches,...null!=(e=null==(n=r.state.pending)?void 0:n.matches)?e:[]].forEach((t=>{o.includes(t.matchId)&&t.invalidate()}))},reload:()=>r.__.navigate({fromCurrent:!0,replace:!0,search:!0}),resolvePath:(t,e)=>C(r.basepath,t,I(e)),matchRoute:(t,e)=>{var n;t=U({},t,{to:t.to?r.resolvePath(null!=(n=t.from)?n:"",t.to):void 0});const a=r.buildNext(t);var o;return null!=e&&e.pending?!(null==(o=r.state.pending)||!o.location)&&!!D(r.state.pending.location.pathname,U({},e,{to:a.pathname})):!!D(r.state.location.pathname,U({},e,{to:a.pathname}))},navigate:async t=>{let{from:e,to:n=".",search:a,hash:o,replace:i,params:s}=t;const l=String(n),c=String(e);let u;try{new URL(""+l),u=!0}catch(t){}return _(!u),r.__.navigate({from:c,to:l,search:a,hash:o,replace:i,params:s})},buildLink:t=>{var e,n;let{from:a,to:o=".",search:i,params:s,hash:l,target:c,replace:u,activeOptions:d,preload:h,preloadMaxAge:f,preloadGcMaxAge:p,preloadDelay:m,disabled:v}=t;try{return new URL(""+o),{type:"external",href:o}}catch(t){}const g={from:a,to:o,search:i,params:s,hash:l,replace:u},y=r.buildNext(g);h=null!=(e=h)?e:r.options.defaultPreload;const _=null!=(n=null!=m?m:r.options.defaultPreloadDelay)?n:0,P=r.state.location.pathname===y.pathname,b=r.state.location.pathname.split("/"),w=y.pathname.split("/").every(((t,e)=>t===b[e])),E=r.state.location.hash===y.hash,R=null!=d&&d.exact?P:w,x=null==d||!d.includeHash||E;return{type:"internal",next:y,handleFocus:t=>{h&&r.preloadRoute(g,{maxAge:f,gcMaxAge:p})},handleClick:t=>{v||function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(t)||t.defaultPrevented||c&&"_self"!==c||0!==t.button||(t.preventDefault(),!P||i||l||r.invalidateRoute(g),r.__.navigate(g))},handleEnter:t=>{const e=t.target||{};if(h){if(e.preloadTimeout)return;e.preloadTimeout=setTimeout((()=>{e.preloadTimeout=null,r.preloadRoute(g,{maxAge:f,gcMaxAge:p})}),_)}},handleLeave:t=>{const e=t.target||{};e.preloadTimeout&&(clearTimeout(e.preloadTimeout),e.preloadTimeout=null)},isActive:R&&x,disabled:v}},buildNext:t=>{const e=r.__.buildLocation(t),n=r.matchRoutes(e.pathname),a=n.map((t=>{var e;return null!=(e=t.options.preSearchFilters)?e:[]})).flat().filter(Boolean),o=n.map((t=>{var e;return null!=(e=t.options.postSearchFilters)?e:[]})).flat().filter(Boolean);return r.__.buildLocation(U({},t,{__preSearchFilters:a,__postSearchFilters:o}))},__:{buildRouteTree:t=>{const e=(t,n)=>t.map((t=>{const a=H(t,t.options,n,r);if(r.routesById[a.routeId])throw new Error;r.routesById[a.routeId]=a;const o=t.children;return a.childRoutes=null!=o&&o.length?e(o,a):void 0,a}));return e([t])[0]},parseLocation:(t,e)=>{var n;const a=r.options.parseSearch(t.search);return{pathname:t.pathname,searchStr:t.search,search:P(null==e?void 0:e.search,a),hash:null!=(n=t.hash.split("#").reverse()[0])?n:"",href:""+t.pathname+t.search+t.hash,state:t.state,key:t.key}},navigate:t=>{const e=r.buildNext(t);return r.__.commitLocation(e,t.replace)},buildLocation:function(t){var e,n,a,o,i,s,l,c,u;void 0===t&&(t={});const d=t.fromCurrent?r.location.pathname:null!=(e=t.from)?e:r.location.pathname;let h=C(null!=(n=r.basepath)?n:"/",d,""+(null!=(a=t.to)?a:"."));const f=r.matchRoutes(r.location.pathname,{strictParseParams:!0}),p=r.matchRoutes(h),m=U({},null==(o=E(f))?void 0:o.params);let v=!0===(null==(i=t.params)||i)?m:x(t.params,m);v&&p.map((t=>t.options.stringifyParams)).filter(Boolean).forEach((t=>{Object.assign({},v,t(v))})),h=j(h,null!=v?v:{});const g=null!=(s=t.__preSearchFilters)&&s.length?t.__preSearchFilters.reduce(((t,e)=>e(t)),r.location.search):r.location.search,y=!0===t.search?g:t.search?null!=(l=x(t.search,g))?l:{}:null!=(c=t.__preSearchFilters)&&c.length?g:{},_=null!=(u=t.__postSearchFilters)&&u.length?t.__postSearchFilters.reduce(((t,e)=>e(t)),y):y,b=P(r.location.search,_),w=r.options.stringifySearch(b);let R=!0===t.hash?r.location.hash:x(t.hash,r.location.hash);return R=R?"#"+R:"",{pathname:h,search:b,searchStr:w,state:r.location.state,hash:R,href:""+h+w+R,key:t.key}},commitLocation:(t,e)=>{const n=""+Date.now()+Math.random();r.navigateTimeout&&clearTimeout(r.navigateTimeout);let o="replace";e||(o="push");return r.__.parseLocation(a.location).href===t.href&&!t.key&&(o="replace"),"replace"===o?a.replace({pathname:t.pathname,hash:t.hash,search:t.searchStr},{id:n}):a.push({pathname:t.pathname,hash:t.hash,search:t.searchStr},{id:n}),r.navigationPromise=new Promise((t=>{const e=r.resolveNavigation;r.resolveNavigation=()=>{e(),t()}})),r.navigationPromise}}};return r.update(t),null==r.options.createRouter||r.options.createRouter(r),r}function Z(t){t.forEach(((e,n)=>{const a=t[n-1];a&&(e.loaderData=P(e.loaderData,U({},a.loaderData,e.routeLoaderData)))}))}const tt=["type","children","target","activeProps","inactiveProps","activeOptions","disabled","hash","search","params","to","preload","preloadDelay","preloadMaxAge","replace","style","className","onClick","onFocus","onMouseEnter","onMouseLeave","onTouchStart","onTouchEnd"],et=["pending","caseSensitive","children"],nt=["children","router"],at=r.createContext(null),ot=r.createContext(null),rt=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)?r.useLayoutEffect:r.useEffect;function it(t){return r.createElement(at.Provider,t)}const st=t=>{n.useSyncExternalStore((e=>t.subscribe((()=>e()))),(()=>t.state),(()=>t.state))};function lt(){const t=r.useContext(ot);return R(!t,"useRouter must be used inside a <Router> component!"),st(t.router),t.router}function ct(){return r.useContext(at)}function ut(){var t;const e=lt(),n=ct().slice(1),a=n[0];if(!a)return null;const o=(()=>{var t,n,o;if(!a)return null;const i=null!=(t=a.__.errorElement)?t:e.options.defaultErrorElement;if("error"===a.status){if(i)return i;if(a.options.useErrorBoundary||e.options.useErrorBoundary)throw a.error;return r.createElement(ht,{error:a.error})}if("loading"===a.status||"idle"===a.status){if(a.isPending){var s;const t=null!=(s=a.__.pendingElement)?s:e.options.defaultPendingElement;var l;if(a.options.pendingMs||t)return null!=(l=t)?l:null}return null}return null!=(n=null!=(o=a.__.element)?o:e.options.defaultElement)?n:r.createElement(ut,null)})(),i=null!=(t=null==a?void 0:a.options.catchElement)?t:e.options.defaultCatchElement;return r.createElement(it,{value:n},r.createElement(dt,{catchElement:i},o))}class dt extends r.Component{constructor(){super(...arguments),this.state={error:!1}}componentDidCatch(t,e){console.error(t),this.setState({error:t,info:e})}render(){var t;const e=null!=(t=this.props.catchElement)?t:ht;return this.state.error?"function"==typeof e?e(this.state):e:this.props.children}}function ht(t){let{error:e}=t;return r.createElement("div",{style:{padding:".5rem",maxWidth:"100%"}},r.createElement("strong",{style:{fontSize:"1.2rem"}},"Something went wrong!"),r.createElement("div",{style:{height:".5rem"}}),r.createElement("div",null,r.createElement("pre",null,e.message?r.createElement("code",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".5rem",color:"red"}},e.message):null)))}function ft(t,e){const n=lt();r.useEffect((()=>{if(!e)return;let a=n.history.block((e=>{window.confirm(t)?(a(),e.retry()):n.location.pathname=window.location.pathname}));return a}),[e,location,t])}t.DefaultErrorBoundary=ht,t.MatchesProvider=it,t.Outlet=ut,t.Prompt=function(t){let{message:e,when:n,children:a}=t;return ft(e,null==n||n),null!=a?a:null},t.RouterProvider=function(t){let{children:e,router:n}=t,a=s(t,nt);return n.update(a),st(n),rt((()=>{const t=n.mount();return n.load(),t}),[n]),r.createElement(ot.Provider,{value:{router:n}},r.createElement(it,{value:n.state.matches},null!=e?e:r.createElement(ut,null)))},t.cleanPath=I,t.createBrowserHistory=d,t.createHashHistory=function(t){void 0===t&&(t={});var e=t.window,n=void 0===e?document.defaultView:e,a=n.history;function r(){var t=y(n.location.hash.substr(1)),e=t.pathname,o=void 0===e?"/":e,r=t.search,i=void 0===r?"":r,s=t.hash,l=void 0===s?"":s,c=a.state||{};return[c.idx,{pathname:o,search:i,hash:l,state:c.usr||null,key:c.key||"default"}]}var i=null;function s(){if(i)b.call(i),i=null;else{var t=o.Pop,e=r(),n=e[0],a=e[1];if(b.length){if(null!=n){var s=f-n;s&&(i={action:t,location:a,retry:function(){S(-1*s)}},S(s))}}else M(t)}}n.addEventListener(u,s),n.addEventListener("hashchange",(function(){g(r()[1])!==g(_)&&s()}));var d=o.Pop,h=r(),f=h[0],_=h[1],P=m(),b=m();function w(t){return function(){var t=document.querySelector("base"),e="";if(t&&t.getAttribute("href")){var a=n.location.href,o=a.indexOf("#");e=-1===o?a:a.slice(0,o)}return e}()+"#"+("string"==typeof t?t:g(t))}function E(t,e){return void 0===e&&(e=null),l({pathname:_.pathname,hash:"",search:""},"string"==typeof t?y(t):t,{state:e,key:v()})}function R(t,e){return[{usr:t.state,key:t.key,idx:e},w(t)]}function x(t,e,n){return!b.length||(b.call({action:t,location:e,retry:n}),!1)}function M(t){d=t;var e=r();f=e[0],_=e[1],P.call({action:d,location:_})}function S(t){a.go(t)}null==f&&(f=0,a.replaceState(l({},a.state,{idx:f}),""));var I={get action(){return d},get location(){return _},createHref:w,push:function t(e,r){var i=o.Push,s=E(e,r);if(x(i,s,(function(){t(e,r)}))){var l=R(s,f+1),c=l[0],u=l[1];try{a.pushState(c,"",u)}catch(t){n.location.assign(u)}M(i)}},replace:function t(e,n){var r=o.Replace,i=E(e,n);if(x(r,i,(function(){t(e,n)}))){var s=R(i,f),l=s[0],c=s[1];a.replaceState(l,"",c),M(r)}},go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(t){return P.push(t)},block:function(t){var e=b.push(t);return 1===b.length&&n.addEventListener(c,p),function(){e(),b.length||n.removeEventListener(c,p)}}};return I},t.createMemoryHistory=h,t.createReactRouter=function(t){const e=(t,e)=>({useRoute:function(n){void 0===n&&(n=".");const a=e.resolvePath(t.routeId,n),o=e.getRoute(a);return st(e),_(o),o},linkProps:e=>{var n,a;const{target:o,activeProps:r=(()=>({className:"active"})),inactiveProps:l=(()=>({})),disabled:c,style:u,className:d,onClick:h,onFocus:f,onMouseEnter:p,onMouseLeave:m}=e,v=s(e,tt),g=t.buildLink(e);if("external"===g.type){const{href:t}=g;return{href:t}}const{handleClick:y,handleFocus:_,handleEnter:P,handleLeave:b,isActive:w,next:E}=g,R=t=>e=>{e.persist(),t.forEach((t=>{t&&t(e)}))},M=w&&null!=(n=x(r,{}))?n:{},S=w?{}:null!=(a=x(l,{}))?a:{};return i({},M,S,v,{href:c?void 0:E.href,onClick:R([y,h]),onFocus:R([_,f]),onMouseEnter:R([P,p]),onMouseLeave:R([b,m]),target:o,style:i({},u,M.style,S.style),className:[d,M.className,S.className].filter(Boolean).join(" ")||void 0},c?{role:"link","aria-disabled":!0}:void 0,{"data-status":w?"active":void 0})},Link:r.forwardRef(((n,a)=>{const o=t.linkProps(n);return st(e),r.createElement("a",i({ref:a},o,{children:"function"==typeof n.children?n.children({isActive:"active"===o["data-status"]}):n.children}))})),MatchRoute:e=>{const{pending:n,caseSensitive:a}=e,o=s(e,et),r=t.matchRoute(o,{pending:n,caseSensitive:a});return r?"function"==typeof e.children?e.children(r):e.children:null}}),n=Y(i({},t,{createRouter:t=>{const n={useState:()=>(st(t),t.state),useMatch:(e,n)=>{var a,o;st(t),_(e!==z);const r=null==(a=ct())?void 0:a[0],i=t.state.matches.find((t=>t.routeId===e));return(null==(o=null==n?void 0:n.strict)||o)&&(_(i),_(r.routeId==(null==i?void 0:i.routeId),(null==i||i.routeId,r.routeId,null==i||i.routeId,null==i||i.routeId))),i}},a=e(t.getRoute("/"),t);Object.assign(t,n,a)},createRoute:t=>{let{router:n,route:a}=t;const o=e(a,n);Object.assign(a,o)},createElement:async t=>{if("function"==typeof t){const e=await t();return"object"==typeof e&&e.default?r.createElement(e.default):e}return t}}));return n},t.createRoute=H,t.createRouteConfig=function t(e,n,a,o,r){void 0===e&&(e={}),void 0===a&&(a=!0),a&&(e.path=z),o===z&&(o="");let i=a?z:e.path;i&&"/"!==i&&(i=k(i));const s=i||e.id;let l=S([o,s]);i===z&&(i="/"),l!==z&&(l=S(["/",l]));const c=l===z?"/":L(S([r,i]));return{id:l,routeId:s,path:i,fullPath:c,options:e,children:n,createChildren:n=>t(e,n((e=>t(e,void 0,!1,l,c))),!1,o,r),addChildren:n=>t(e,n,!1,o,r),createRoute:e=>t(e,void 0,!1,l,c)}},t.createRouteMatch=W,t.createRouter=Y,t.decode=B,t.defaultParseSearch=q,t.defaultStringifySearch=K,t.encode=F,t.functionalUpdate=x,t.interpolatePath=j,t.invariant=_,t.joinPaths=S,t.last=E,t.matchByPath=T,t.matchPathname=D,t.parsePathname=O,t.parseSearchWith=V,t.pick=M,t.replaceEqualDeep=P,t.resolvePath=C,t.rootRouteId=z,t.stringifySearchWith=J,t.trimPath=k,t.trimPathLeft=A,t.trimPathRight=L,t.useMatches=ct,t.usePrompt=ft,t.useRouter=lt,t.warning=R,Object.defineProperty(t,"__esModule",{value:!0})}));
*/function c(){return c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},c.apply(this,arguments)}!function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"}(r||(r={}));var u="beforeunload",h="popstate";function d(t){void 0===t&&(t={});var e=t.window,n=void 0===e?document.defaultView:e,a=n.history;function o(){var t=n.location,e=t.pathname,o=t.search,r=t.hash,i=a.state||{};return[i.idx,{pathname:e,search:o,hash:r,state:i.usr||null,key:i.key||"default"}]}var i=null;n.addEventListener(h,(function(){if(i)b.call(i),i=null;else{var t=r.Pop,e=o(),n=e[0],a=e[1];if(b.length){if(null!=n){var s=d-n;s&&(i={action:t,location:a,retry:function(){S(-1*s)}},S(s))}}else E(t)}}));var s=r.Pop,l=o(),d=l[0],f=l[1],p=v(),b=v();function P(t){return"string"==typeof t?t:y(t)}function w(t,e){return void 0===e&&(e=null),c({pathname:f.pathname,hash:"",search:""},"string"==typeof t?_(t):t,{state:e,key:g()})}function x(t,e){return[{usr:t.state,key:t.key,idx:e},P(t)]}function R(t,e,n){return!b.length||(b.call({action:t,location:e,retry:n}),!1)}function E(t){s=t;var e=o();d=e[0],f=e[1],p.call({action:s,location:f})}function S(t){a.go(t)}null==d&&(d=0,a.replaceState(c({},a.state,{idx:d}),""));var I={get action(){return s},get location(){return f},createHref:P,push:function t(e,o){var i=r.Push,s=w(e,o);if(R(i,s,(function(){t(e,o)}))){var l=x(s,d+1),c=l[0],u=l[1];try{a.pushState(c,"",u)}catch(t){n.location.assign(u)}E(i)}},replace:function t(e,n){var o=r.Replace,i=w(e,n);if(R(o,i,(function(){t(e,n)}))){var s=x(i,d),l=s[0],c=s[1];a.replaceState(l,"",c),E(o)}},go:S,back:function(){S(-1)},forward:function(){S(1)},listen:function(t){return p.push(t)},block:function(t){var e=b.push(t);return 1===b.length&&n.addEventListener(u,m),function(){e(),b.length||n.removeEventListener(u,m)}}};return I}function f(t){void 0===t&&(t={});var e=t,n=e.initialEntries,a=void 0===n?["/"]:n,o=e.initialIndex,i=a.map((function(t){return c({pathname:"/",search:"",hash:"",state:null,key:g()},"string"==typeof t?_(t):t)})),s=p(null==o?i.length-1:o,0,i.length-1),l=r.Pop,u=i[s],h=v(),d=v();function f(t,e){return void 0===e&&(e=null),c({pathname:u.pathname,search:"",hash:""},"string"==typeof t?_(t):t,{state:e,key:g()})}function m(t,e,n){return!d.length||(d.call({action:t,location:e,retry:n}),!1)}function b(t,e){l=t,u=e,h.call({action:l,location:u})}function P(t){var e=p(s+t,0,i.length-1),n=r.Pop,a=i[e];m(n,a,(function(){P(t)}))&&(s=e,b(n,a))}var w={get index(){return s},get action(){return l},get location(){return u},createHref:function(t){return"string"==typeof t?t:y(t)},push:function t(e,n){var a=r.Push,o=f(e,n);m(a,o,(function(){t(e,n)}))&&(s+=1,i.splice(s,i.length,o),b(a,o))},replace:function t(e,n){var a=r.Replace,o=f(e,n);m(a,o,(function(){t(e,n)}))&&(i[s]=o,b(a,o))},go:P,back:function(){P(-1)},forward:function(){P(1)},listen:function(t){return h.push(t)},block:function(t){return d.push(t)}};return w}function p(t,e,n){return Math.min(Math.max(t,e),n)}function m(t){t.preventDefault(),t.returnValue=""}function v(){var t=[];return{get length(){return t.length},push:function(e){return t.push(e),function(){t=t.filter((function(t){return t!==e}))}},call:function(e){t.forEach((function(t){return t&&t(e)}))}}}function g(){return Math.random().toString(36).substr(2,8)}function y(t){var e=t.pathname,n=void 0===e?"/":e,a=t.search,o=void 0===a?"":a,r=t.hash,i=void 0===r?"":r;return o&&"?"!==o&&(n+="?"===o.charAt(0)?o:"?"+o),i&&"#"!==i&&(n+="#"===i.charAt(0)?i:"#"+i),n}function _(t){var e={};if(t){var n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));var a=t.indexOf("?");a>=0&&(e.search=t.substr(a),t=t.substr(0,a)),t&&(e.pathname=t)}return e}function b(t,e){if(!t)throw new Error("Invariant failed")}function P(t,e){if(t===e)return t;const n=Array.isArray(t)&&Array.isArray(e);if(n||w(t)&&w(e)){const a=n?t.length:Object.keys(t).length,o=n?e:Object.keys(e),r=o.length,i=n?[]:{};let s=0;for(let a=0;a<r;a++){const r=n?a:o[a];i[r]=P(t[r],e[r]),i[r]===t[r]&&s++}return a===r&&s===a?t:i}return e}function w(t){if(!x(t))return!1;const e=t.constructor;if(void 0===e)return!0;const n=e.prototype;return!!x(n)&&!!n.hasOwnProperty("isPrototypeOf")}function x(t){return"[object Object]"===Object.prototype.toString.call(t)}function R(t){return t[t.length-1]}function E(t,e){if(t){"undefined"!=typeof console&&console.warn(e);try{throw new Error(e)}catch(t){}}return!0}function S(t,e){return"function"==typeof t?t(e):t}function I(t,e){return e.reduce(((e,n)=>(e[n]=t[n],e)),{})}function A(t){return M(t.filter(Boolean).join("/"))}function M(t){return t.replace(/\/{2,}/g,"/")}function L(t){return"/"===t?t:t.replace(/^\/{1,}/,"")}function C(t){return"/"===t?t:t.replace(/\/{1,}$/,"")}function k(t){return C(L(t))}function O(t,e,n){e=e.replace(new RegExp("^"+t),"/"),n=n.replace(new RegExp("^"+t),"/");let a=j(e);const o=j(n);o.forEach(((t,e)=>{if("/"===t.value)e?e===o.length-1&&a.push(t):a=[t];else if(".."===t.value){var n;a.length>1&&"/"===(null==(n=R(a))?void 0:n.value)&&a.pop(),a.pop()}else{if("."===t.value)return;a.push(t)}}));return M(A([t,...a.map((t=>t.value))]))}function j(t){if(!t)return[];const e=[];if("/"===(t=M(t)).slice(0,1)&&(t=t.substring(1),e.push({type:"pathname",value:"/"})),!t)return e;const n=t.split("/").filter(Boolean);return e.push(...n.map((t=>t.startsWith("*")?{type:"wildcard",value:t}:":"===t.charAt(0)?{type:"param",value:t}:{type:"pathname",value:t}))),"/"===t.slice(-1)&&(t=t.substring(1),e.push({type:"pathname",value:"/"})),e}function D(t,e,n){return A(j(t).map((t=>{return"*"!==t.value||n?"param"===t.type?null!=(a=e[t.value.substring(1)])?a:"":t.value:"";var a})))}function F(t,e){const n=T(t,e);if(!e.to||n)return null!=n?n:{}}function T(t,e){var n;const a=j(t),o=j(""+(null!=(n=e.to)?n:"*")),r={};return(()=>{for(let t=0;t<Math.max(a.length,o.length);t++){const n=a[t],i=o[t],s=t===o.length-1,l=t===a.length-1;if(i){if("wildcard"===i.type)return!(null==n||!n.value)&&(r["*"]=A(a.slice(t).map((t=>t.value))),!0);if("pathname"===i.type){if("/"===i.value&&(null==n||!n.value))return!0;if(n)if(e.caseSensitive){if(i.value!==n.value)return!1}else if(i.value.toLowerCase()!==n.value.toLowerCase())return!1}if(!n)return!1;if("param"===i.type){if("/"===(null==n?void 0:n.value))return!1;n.value.startsWith(":")||(r[i.value.substring(1)]=n.value)}}if(s&&!l)return!!e.fuzzy}return!0})()?r:void 0}function N(t,e){var n,a,o,r="";for(n in t)if(void 0!==(o=t[n]))if(Array.isArray(o))for(a=0;a<o.length;a++)r&&(r+="&"),r+=encodeURIComponent(n)+"="+encodeURIComponent(o[a]);else r&&(r+="&"),r+=encodeURIComponent(n)+"="+encodeURIComponent(o);return(e||"")+r}function B(t){if(!t)return"";var e=decodeURIComponent(t);return"false"!==e&&("true"===e||("0"===e.charAt(0)?e:0*+e==0?+e:e))}function z(t){for(var e,n,a={},o=t.split("&");e=o.shift();)void 0!==a[n=(e=e.split("=")).shift()]?a[n]=[].concat(a[n],B(e.shift())):a[n]=B(e.shift());return a}function U(){return U=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a])}return t},U.apply(this,arguments)}function H(t,e,n,a){const{id:o,routeId:r,path:i,fullPath:s}=t,l=a.state.actions[o]||(a.state.actions[o]={submissions:[],submit:async(t,e)=>{var n;if(!u)return;const o=null==(n=null==e?void 0:e.invalidate)||n;null!=e&&e.multi||(l.submissions=l.submissions.filter((t=>t.isMulti)));const r={submittedAt:Date.now(),status:"pending",submission:t,isMulti:!(null==e||!e.multi)};l.current=r,l.latest=r,l.submissions.push(r),a.notify();try{const e=await(null==u.options.action?void 0:u.options.action(t));return r.data=e,o&&(a.invalidateRoute({to:".",fromCurrent:!0}),await a.reload()),r.status="success",e}catch(t){console.error(t),r.error=t,r.status="error"}finally{a.notify()}}},a.state.actions[o]),c=a.state.loaders[o]||(a.state.loaders[o]={pending:[],fetch:async t=>{if(!u)return;const e={loadedAt:Date.now(),loaderContext:t};c.current=e,c.latest=e,c.pending.push(e),a.notify();try{return await(null==u.options.loader?void 0:u.options.loader(t))}finally{c.pending=c.pending.filter((t=>t!==e)),a.notify()}}},a.state.loaders[o]);let u={routeId:o,routeRouteId:r,routePath:i,fullPath:s,options:e,router:a,childRoutes:void 0,parentRoute:n,action:l,loader:c,buildLink:t=>a.buildLink(U({},t,{from:s})),navigate:t=>a.navigate(U({},t,{from:s})),matchRoute:(t,e)=>a.matchRoute(U({},t,{from:s}),e)};return null==a.options.createRoute||a.options.createRoute({router:a,route:u}),u}const G="__root__",W=["component","errorComponent","pendingComponent"];function q(t,e,n){const a=U({},e,n,{router:t,routeSearch:{},search:{},childMatches:[],status:"idle",routeLoaderData:{},loaderData:{},isFetching:!1,isInvalid:!1,invalidAt:1/0,getIsInvalid:()=>{const t=Date.now();return a.isInvalid||a.invalidAt<t},__:{abortController:new AbortController,latestId:"",resolve:()=>{},notify:()=>{a.__.resolve(),a.router.notify()},validate:()=>{var e,n;const o=null!=(e=null==(n=a.parentMatch)?void 0:n.search)?e:t.location.search;try{var r;const t=a.routeSearch,e="object"==typeof a.options.validateSearch?a.options.validateSearch.parse:a.options.validateSearch;let n=P(t,null!=(r=null==e?void 0:e(o))?r:{});t!==n&&(a.isInvalid=!0),a.routeSearch=n,a.search=P(o,U({},o,n)),W.map((async t=>{const e=a.options[t];"function"!=typeof a.__[t]&&(a.__[t]=e)}))}catch(t){console.error(t);const e=new Error("Invalid search params found",{cause:t});return e.code="INVALID_SEARCH_PARAMS",a.status="error",void(a.error=e)}}},cancel:()=>{var t;null==(t=a.__.abortController)||t.abort()},invalidate:()=>{a.isInvalid=!0},hasLoaders:()=>!(!e.options.loader&&!W.some((t=>{var n;return null==(n=e.options[t])?void 0:n.preload}))),load:async e=>{const n=Date.now(),o=null!=e&&e.preload?Math.max(null==e?void 0:e.maxAge,null==e?void 0:e.gcMaxAge):0;if(null!=e&&e.preload&&o>0){if(t.state.matches.find((t=>t.matchId===a.matchId)))return;t.matchCache[a.matchId]={gc:n+e.gcMaxAge,match:a}}if("success"===a.status&&a.getIsInvalid()||"error"===a.status||"idle"===a.status){const t=null!=e&&e.preload?null==e?void 0:e.maxAge:void 0;await a.fetch({maxAge:t})}},fetch:async e=>{const n=""+Date.now()+Math.random();if(a.__.latestId=n,"idle"===a.status&&(a.status="loading"),a.isInvalid=!1,a.__.loadPromise=new Promise((async o=>{a.isFetching=!0,a.__.resolve=o,a.__.componentsPromise=(async()=>{await Promise.all(W.map((async e=>{var n;const o=a.options[e];null!=(n=a.__[e])&&n.preload&&(a.__[e]=await t.options.loadComponent(o))})))})(),a.__.dataPromise=Promise.resolve().then((async()=>{try{var o,r,i;if(a.options.loader){const t=await a.options.loader({params:a.params,search:a.routeSearch,signal:a.__.abortController.signal});if(n!==a.__.latestId)return a.__.loadPromise;a.routeLoaderData=P(a.routeLoaderData,t)}a.error=void 0,a.status="success",a.updatedAt=Date.now(),a.invalidAt=a.updatedAt+(null!=(o=null!=(r=null!=(i=null==e?void 0:e.maxAge)?i:a.options.loaderMaxAge)?r:t.options.defaultLoaderMaxAge)?o:0)}catch(t){if(n!==a.__.latestId)return a.__.loadPromise;a.error=t,a.status="error",a.updatedAt=Date.now()}}));try{if(await Promise.all([a.__.componentsPromise,a.__.dataPromise]),n!==a.__.latestId)return a.__.loadPromise}finally{if(n!==a.__.latestId)return a.__.loadPromise;a.isFetching=!1,a.__.notify()}})),await a.__.loadPromise,n!==a.__.latestId)return a.__.loadPromise;delete a.__.loadPromise}});return a.hasLoaders()||(a.status="success"),a}const K=J(JSON.parse),V=X(JSON.stringify);function J(t){return e=>{"?"===e.substring(0,1)&&(e=e.substring(1));let n=z(e);for(let e in n){const a=n[e];if("string"==typeof a)try{n[e]=t(a)}catch(t){}}return n}}function X(t){return e=>{(e=U({},e))&&Object.keys(e).forEach((n=>{const a=e[n];if(void 0===a||void 0===a)delete e[n];else if(a&&"object"==typeof a&&null!==a)try{e[n]=t(a)}catch(t){}}));const n=N(e).toString();return n?"?"+n:""}}var $;const Q="undefined"==typeof window||!(null!=($=window.document)&&$.createElement);function Y(){return{status:"idle",location:null,matches:[],actions:{},loaders:{},lastUpdated:Date.now(),isFetching:!1,isPreloading:!1}}function Z(t){var e,n;const a=(null==t?void 0:t.history)||(Q?f():d()),o=U({defaultLoaderGcMaxAge:3e5,defaultLoaderMaxAge:0,defaultPreloadMaxAge:2e3,defaultPreloadDelay:50},t,{stringifySearch:null!=(e=null==t?void 0:t.stringifySearch)?e:V,parseSearch:null!=(n=null==t?void 0:t.parseSearch)?n:K});let r={history:a,options:o,listeners:[],basepath:"",routeTree:void 0,routesById:{},location:void 0,allRouteInfo:void 0,navigationPromise:Promise.resolve(),resolveNavigation:()=>{},matchCache:{},state:Y(),reset:()=>{r.state=Y(),r.notify()},startedLoadingAt:Date.now(),subscribe:t=>(r.listeners.push(t),()=>{r.listeners=r.listeners.filter((e=>e!==t))}),getRoute:t=>r.routesById[t],notify:()=>{r.state=U({},r.state,{isFetching:"loading"===r.state.status||r.state.matches.some((t=>t.isFetching)),isPreloading:Object.values(r.matchCache).some((t=>t.match.isFetching&&!r.state.matches.find((e=>e.matchId===t.match.matchId))))}),tt(r.state.matches),r.listeners.forEach((t=>t(r)))},dehydrateState:()=>U({},I(r.state,["status","location","lastUpdated"]),{matches:r.state.matches.map((t=>I(t,["matchId","status","routeLoaderData","loaderData","isInvalid","invalidAt"])))}),hydrateState:t=>{const e=r.matchRoutes(r.location.pathname,{strictParseParams:!0});e.forEach(((e,n)=>{const a=t.matches[n];b(a),Object.assign(e,a)})),r.loadMatches(e),r.state=U({},r.state,t,{matches:e})},mount:()=>{const t=r.__.buildLocation({to:".",search:!0,hash:!0});t.href!==r.location.href&&r.__.commitLocation(t,!0);const e=r.history.listen((t=>{r.load(r.__.parseLocation(t.location,r.location))}));return!Q&&window.addEventListener&&(window.addEventListener("visibilitychange",r.onFocus,!1),window.addEventListener("focus",r.onFocus,!1)),()=>{e(),!Q&&window.removeEventListener&&(window.removeEventListener("visibilitychange",r.onFocus),window.removeEventListener("focus",r.onFocus))}},onFocus:()=>{r.load()},update:t=>{const e=(null==t?void 0:t.history)!==r.history;r.location&&!e||(null!=t&&t.history&&(r.history=t.history),r.location=r.__.parseLocation(r.history.location),r.state.location=r.location),Object.assign(r.options,t);const{basepath:n,routeConfig:a}=r.options;return r.basepath=M("/"+(null!=n?n:"")),a&&(r.routesById={},r.routeTree=r.__.buildRouteTree(a)),r},cancelMatches:()=>{var t,e;[...r.state.matches,...null!=(t=null==(e=r.state.pending)?void 0:e.matches)?t:[]].forEach((t=>{t.cancel()}))},load:async t=>{const e=Math.random();r.startedLoadingAt=e,t&&(r.location=t),r.cancelMatches();const n=r.matchRoutes(r.location.pathname,{strictParseParams:!0});if("undefined"!=typeof document?r.state=U({},r.state,{pending:{matches:n,location:r.location},status:"loading"}):r.state=U({},r.state,{matches:n,location:r.location,status:"loading"}),r.notify(),await r.loadMatches(n),r.startedLoadingAt!==e)return r.navigationPromise;const a=r.state.matches,o=[],i=[];a.forEach((t=>{n.find((e=>e.matchId===t.matchId))?i.push(t):o.push(t)}));const s=n.filter((t=>!a.find((e=>e.matchId===t.matchId)))),l=Date.now();o.forEach((t=>{var e,n,a,o;null==t.__.onExit||t.__.onExit({params:t.params,search:t.routeSearch}),"error"!==t.status||t.isFetching||(t.status="idle",t.error=void 0);const i=Math.max(null!=(e=null!=(n=t.options.loaderGcMaxAge)?n:r.options.defaultLoaderGcMaxAge)?e:0,null!=(a=null!=(o=t.options.loaderMaxAge)?o:r.options.defaultLoaderMaxAge)?a:0);i>0&&(r.matchCache[t.matchId]={gc:i==1/0?Number.MAX_SAFE_INTEGER:l+i,match:t})})),i.forEach((t=>{null==t.options.onTransition||t.options.onTransition({params:t.params,search:t.routeSearch})})),s.forEach((t=>{t.__.onExit=null==t.options.onMatch?void 0:t.options.onMatch({params:t.params,search:t.search}),delete r.matchCache[t.matchId]})),r.startedLoadingAt===e&&(n.forEach((t=>{t.action&&(t.action.current=void 0,t.action.submissions=[])})),r.state=U({},r.state,{location:r.location,matches:n,pending:void 0,status:"idle"}),r.notify(),r.resolveNavigation())},cleanMatchCache:()=>{const t=Date.now();Object.keys(r.matchCache).forEach((e=>{const n=r.matchCache[e];"loading"!==n.match.status&&(n.gc>0&&n.gc>t||delete r.matchCache[e])}))},loadRoute:async function(t){void 0===t&&(t=r.location);const e=r.buildNext(t),n=r.matchRoutes(e.pathname,{strictParseParams:!0});return await r.loadMatches(n),n},preloadRoute:async function(t,e){var n,a,o,i,s,l;void 0===t&&(t=r.location);const c=r.buildNext(t),u=r.matchRoutes(c.pathname,{strictParseParams:!0});return await r.loadMatches(u,{preload:!0,maxAge:null!=(n=null!=(a=null!=(o=e.maxAge)?o:r.options.defaultPreloadMaxAge)?a:r.options.defaultLoaderMaxAge)?n:0,gcMaxAge:null!=(i=null!=(s=null!=(l=e.gcMaxAge)?l:r.options.defaultPreloadGcMaxAge)?s:r.options.defaultLoaderGcMaxAge)?i:0}),u},matchRoutes:(t,e)=>{var n,a;r.cleanMatchCache();const o=[];if(!r.routeTree)return o;const i=[...r.state.matches,...null!=(n=null==(a=r.state.pending)?void 0:a.matches)?n:[]],s=async n=>{var a,l,c;const u=R(o);let h=null!=(a=null==u?void 0:u.params)?a:{};const d=null!=(l=null==r.options.filterRoutes?void 0:r.options.filterRoutes(n))?l:n;let f=[];const p=(n,a)=>(a.some((a=>{var o,i,s;if(!a.routePath&&null!=(o=a.childRoutes)&&o.length)return p([...f,a],a.childRoutes);const l=!!("/"!==a.routePath||null!=(i=a.childRoutes)&&i.length),c=F(t,{to:a.fullPath,fuzzy:l,caseSensitive:null!=(s=a.options.caseSensitive)?s:r.options.caseSensitive});if(c){let t;try{var u;t=null!=(u=null==a.options.parseParams?void 0:a.options.parseParams(c))?u:c}catch(t){if(null!=e&&e.strictParseParams)throw t}h=U({},h,t)}return c&&(f=[...n,a]),!!f.length})),!!f.length);if(p([],d),!f.length)return;f.forEach((e=>{var n;const a=D(e.routePath,h),s=D(e.routeId,h,!0),l=i.find((t=>t.matchId===s))||(null==(n=r.matchCache[s])?void 0:n.match)||q(r,e,{matchId:s,params:h,pathname:A([t,a])});o.push(l)}));const m=R(f);null!=(c=m.childRoutes)&&c.length&&s(m.childRoutes)};return s([r.routeTree]),tt(o),o},loadMatches:async(t,e)=>{const n=t.map((async t=>{t.__.validate(),t.load(e),t.__.loadPromise&&await t.__.loadPromise}));r.notify(),await Promise.all(n)},invalidateRoute:t=>{var e,n;const a=r.buildNext(t),o=r.matchRoutes(a.pathname).map((t=>t.matchId));[...r.state.matches,...null!=(e=null==(n=r.state.pending)?void 0:n.matches)?e:[]].forEach((t=>{o.includes(t.matchId)&&t.invalidate()}))},reload:()=>r.__.navigate({fromCurrent:!0,replace:!0,search:!0}),resolvePath:(t,e)=>O(r.basepath,t,M(e)),matchRoute:(t,e)=>{var n;t=U({},t,{to:t.to?r.resolvePath(null!=(n=t.from)?n:"",t.to):void 0});const a=r.buildNext(t);var o;return null!=e&&e.pending?!(null==(o=r.state.pending)||!o.location)&&!!F(r.state.pending.location.pathname,U({},e,{to:a.pathname})):!!F(r.state.location.pathname,U({},e,{to:a.pathname}))},navigate:async t=>{let{from:e,to:n=".",search:a,hash:o,replace:i,params:s}=t;const l=String(n),c=String(e);let u;try{new URL(""+l),u=!0}catch(t){}return b(!u),r.__.navigate({from:c,to:l,search:a,hash:o,replace:i,params:s})},buildLink:t=>{var e,n;let{from:a,to:o=".",search:i,params:s,hash:l,target:c,replace:u,activeOptions:h,preload:d,preloadMaxAge:f,preloadGcMaxAge:p,preloadDelay:m,disabled:v}=t;try{return new URL(""+o),{type:"external",href:o}}catch(t){}const g={from:a,to:o,search:i,params:s,hash:l,replace:u},y=r.buildNext(g);d=null!=(e=d)?e:r.options.defaultPreload;const _=null!=(n=null!=m?m:r.options.defaultPreloadDelay)?n:0,b=r.state.location.pathname===y.pathname,P=r.state.location.pathname.split("/"),w=y.pathname.split("/").every(((t,e)=>t===P[e])),x=r.state.location.hash===y.hash,R=null!=h&&h.exact?b:w,E=null==h||!h.includeHash||x;return{type:"internal",next:y,handleFocus:t=>{d&&r.preloadRoute(g,{maxAge:f,gcMaxAge:p})},handleClick:t=>{v||function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(t)||t.defaultPrevented||c&&"_self"!==c||0!==t.button||(t.preventDefault(),!b||i||l||r.invalidateRoute(g),r.__.navigate(g))},handleEnter:t=>{const e=t.target||{};if(d){if(e.preloadTimeout)return;e.preloadTimeout=setTimeout((()=>{e.preloadTimeout=null,r.preloadRoute(g,{maxAge:f,gcMaxAge:p})}),_)}},handleLeave:t=>{const e=t.target||{};e.preloadTimeout&&(clearTimeout(e.preloadTimeout),e.preloadTimeout=null)},isActive:R&&E,disabled:v}},buildNext:t=>{const e=r.__.buildLocation(t),n=r.matchRoutes(e.pathname),a=n.map((t=>{var e;return null!=(e=t.options.preSearchFilters)?e:[]})).flat().filter(Boolean),o=n.map((t=>{var e;return null!=(e=t.options.postSearchFilters)?e:[]})).flat().filter(Boolean);return r.__.buildLocation(U({},t,{__preSearchFilters:a,__postSearchFilters:o}))},__:{buildRouteTree:t=>{const e=(t,n)=>t.map((t=>{const a=H(t,t.options,n,r);if(r.routesById[a.routeId])throw new Error;r.routesById[a.routeId]=a;const o=t.children;return a.childRoutes=null!=o&&o.length?e(o,a):void 0,a}));return e([t])[0]},parseLocation:(t,e)=>{var n;const a=r.options.parseSearch(t.search);return{pathname:t.pathname,searchStr:t.search,search:P(null==e?void 0:e.search,a),hash:null!=(n=t.hash.split("#").reverse()[0])?n:"",href:""+t.pathname+t.search+t.hash,state:t.state,key:t.key}},navigate:t=>{const e=r.buildNext(t);return r.__.commitLocation(e,t.replace)},buildLocation:function(t){var e,n,a,o,i,s,l,c,u;void 0===t&&(t={});const h=t.fromCurrent?r.location.pathname:null!=(e=t.from)?e:r.location.pathname;let d=O(null!=(n=r.basepath)?n:"/",h,""+(null!=(a=t.to)?a:"."));const f=r.matchRoutes(r.location.pathname,{strictParseParams:!0}),p=r.matchRoutes(d),m=U({},null==(o=R(f))?void 0:o.params);let v=!0===(null==(i=t.params)||i)?m:S(t.params,m);v&&p.map((t=>t.options.stringifyParams)).filter(Boolean).forEach((t=>{Object.assign({},v,t(v))})),d=D(d,null!=v?v:{});const g=null!=(s=t.__preSearchFilters)&&s.length?t.__preSearchFilters.reduce(((t,e)=>e(t)),r.location.search):r.location.search,y=!0===t.search?g:t.search?null!=(l=S(t.search,g))?l:{}:null!=(c=t.__preSearchFilters)&&c.length?g:{},_=null!=(u=t.__postSearchFilters)&&u.length?t.__postSearchFilters.reduce(((t,e)=>e(t)),y):y,b=P(r.location.search,_),w=r.options.stringifySearch(b);let x=!0===t.hash?r.location.hash:S(t.hash,r.location.hash);return x=x?"#"+x:"",{pathname:d,search:b,searchStr:w,state:r.location.state,hash:x,href:""+d+w+x,key:t.key}},commitLocation:(t,e)=>{const n=""+Date.now()+Math.random();r.navigateTimeout&&clearTimeout(r.navigateTimeout);let o="replace";e||(o="push");return r.__.parseLocation(a.location).href===t.href&&!t.key&&(o="replace"),"replace"===o?a.replace({pathname:t.pathname,hash:t.hash,search:t.searchStr},{id:n}):a.push({pathname:t.pathname,hash:t.hash,search:t.searchStr},{id:n}),r.navigationPromise=new Promise((t=>{const e=r.resolveNavigation;r.resolveNavigation=()=>{e(),t()}})),r.navigationPromise}}};return r.update(t),null==r.options.createRouter||r.options.createRouter(r),r}function tt(t){t.forEach(((e,n)=>{const a=t[n-1];a&&(e.loaderData=P(e.loaderData,U({},a.loaderData,e.routeLoaderData)))}))}const et=["type","children","target","activeProps","inactiveProps","activeOptions","disabled","hash","search","params","to","preload","preloadDelay","preloadMaxAge","replace","style","className","onClick","onFocus","onMouseEnter","onMouseLeave","onTouchStart","onTouchEnd"],nt=["pending","caseSensitive","children"],at=["children","router"],ot=i.createContext(null),rt=i.createContext(null),it=Boolean("undefined"!=typeof window&&window.document&&window.document.createElement)?i.useLayoutEffect:i.useEffect;function st(t){return i.createElement(ot.Provider,t)}const lt=t=>{n.useSyncExternalStore((e=>t.subscribe((()=>e()))),(()=>t.state),(()=>t.state))};function ct(){const t=i.useContext(rt);return E(!t,"useRouter must be used inside a <Router> component!"),lt(t.router),t.router}function ut(){return i.useContext(ot)}function ht(){var t,e,n;const a=ct(),o=ut().slice(1),r=o[0],s=i.useCallback((()=>null),[]);if(!r)return null;const l=null!=(t=null!=(e=r.__.pendingComponent)?e:a.options.defaultPendingComponent)?t:s,c=null!=(n=r.__.errorComponent)?n:a.options.defaultErrorComponent;return i.createElement(st,{value:o},i.createElement(i.Suspense,{fallback:i.createElement(l,null)},i.createElement(dt,{errorComponent:c},(()=>{if("error"===r.status)throw r.error;var t,e;if("success"===r.status)return i.createElement(null!=(t=null!=(e=r.__.component)?e:a.options.defaultComponent)?t:ht);if(r.__.loadPromise)throw console.log(r.matchId,"suspend"),r.__.loadPromise;b(!1)})())))}class dt extends i.Component{constructor(){super(...arguments),this.state={error:!1}}componentDidCatch(t,e){console.error(t),this.setState({error:t,info:e})}render(){var t;const e=null!=(t=this.props.errorComponent)?t:ft;return this.state.error?i.createElement(e,this.state):this.props.children}}function ft(t){let{error:e}=t;return i.createElement("div",{style:{padding:".5rem",maxWidth:"100%"}},i.createElement("strong",{style:{fontSize:"1.2rem"}},"Something went wrong!"),i.createElement("div",{style:{height:".5rem"}}),i.createElement("div",null,i.createElement("pre",null,e.message?i.createElement("code",{style:{fontSize:".7em",border:"1px solid red",borderRadius:".25rem",padding:".5rem",color:"red"}},e.message):null)))}function pt(t,e){const n=ct();i.useEffect((()=>{if(!e)return;let a=n.history.block((e=>{window.confirm(t)?(a(),e.retry()):n.location.pathname=window.location.pathname}));return a}),[e,location,t])}Object.defineProperty(t,"lazy",{enumerable:!0,get:function(){return a.lazyWithPreload}}),t.DefaultErrorBoundary=ft,t.MatchesProvider=st,t.Outlet=ht,t.Prompt=function(t){let{message:e,when:n,children:a}=t;return pt(e,null==n||n),null!=a?a:null},t.RouterProvider=function(t){let{children:e,router:n}=t,a=l(t,at);return n.update(a),lt(n),it((()=>{const t=n.mount();return n.load(),t}),[n]),i.createElement(rt.Provider,{value:{router:n}},i.createElement(st,{value:n.state.matches},null!=e?e:i.createElement(ht,null)))},t.cleanPath=M,t.createBrowserHistory=d,t.createHashHistory=function(t){void 0===t&&(t={});var e=t.window,n=void 0===e?document.defaultView:e,a=n.history;function o(){var t=_(n.location.hash.substr(1)),e=t.pathname,o=void 0===e?"/":e,r=t.search,i=void 0===r?"":r,s=t.hash,l=void 0===s?"":s,c=a.state||{};return[c.idx,{pathname:o,search:i,hash:l,state:c.usr||null,key:c.key||"default"}]}var i=null;function s(){if(i)P.call(i),i=null;else{var t=r.Pop,e=o(),n=e[0],a=e[1];if(P.length){if(null!=n){var s=f-n;s&&(i={action:t,location:a,retry:function(){I(-1*s)}},I(s))}}else S(t)}}n.addEventListener(h,s),n.addEventListener("hashchange",(function(){y(o()[1])!==y(p)&&s()}));var l=r.Pop,d=o(),f=d[0],p=d[1],b=v(),P=v();function w(t){return function(){var t=document.querySelector("base"),e="";if(t&&t.getAttribute("href")){var a=n.location.href,o=a.indexOf("#");e=-1===o?a:a.slice(0,o)}return e}()+"#"+("string"==typeof t?t:y(t))}function x(t,e){return void 0===e&&(e=null),c({pathname:p.pathname,hash:"",search:""},"string"==typeof t?_(t):t,{state:e,key:g()})}function R(t,e){return[{usr:t.state,key:t.key,idx:e},w(t)]}function E(t,e,n){return!P.length||(P.call({action:t,location:e,retry:n}),!1)}function S(t){l=t;var e=o();f=e[0],p=e[1],b.call({action:l,location:p})}function I(t){a.go(t)}null==f&&(f=0,a.replaceState(c({},a.state,{idx:f}),""));var A={get action(){return l},get location(){return p},createHref:w,push:function t(e,o){var i=r.Push,s=x(e,o);if(E(i,s,(function(){t(e,o)}))){var l=R(s,f+1),c=l[0],u=l[1];try{a.pushState(c,"",u)}catch(t){n.location.assign(u)}S(i)}},replace:function t(e,n){var o=r.Replace,i=x(e,n);if(E(o,i,(function(){t(e,n)}))){var s=R(i,f),l=s[0],c=s[1];a.replaceState(l,"",c),S(o)}},go:I,back:function(){I(-1)},forward:function(){I(1)},listen:function(t){return b.push(t)},block:function(t){var e=P.push(t);return 1===P.length&&n.addEventListener(u,m),function(){e(),P.length||n.removeEventListener(u,m)}}};return A},t.createMemoryHistory=f,t.createReactRouter=function(t){const e=(t,e)=>({useRoute:function(n){void 0===n&&(n=".");const a=e.resolvePath(t.routeId,n),o=e.getRoute(a);return lt(e),b(o),o},linkProps:e=>{var n,a;const{target:o,activeProps:r=(()=>({className:"active"})),inactiveProps:c=(()=>({})),disabled:u,style:h,className:d,onClick:f,onFocus:p,onMouseEnter:m,onMouseLeave:v}=e,g=l(e,et),y=t.buildLink(e);if("external"===y.type){const{href:t}=y;return{href:t}}const{handleClick:_,handleFocus:b,handleEnter:P,handleLeave:w,isActive:x,next:R}=y,E=t=>e=>{e.persist(),t.forEach((t=>{t&&t(e)}))},I=x&&null!=(n=S(r,{}))?n:{},A=x?{}:null!=(a=S(c,{}))?a:{};return s({},I,A,g,{href:u?void 0:R.href,onClick:E([t=>{i.startTransition((()=>{_(t)}))},f]),onFocus:E([b,p]),onMouseEnter:E([P,m]),onMouseLeave:E([w,v]),target:o,style:s({},h,I.style,A.style),className:[d,I.className,A.className].filter(Boolean).join(" ")||void 0},u?{role:"link","aria-disabled":!0}:void 0,{"data-status":x?"active":void 0})},Link:i.forwardRef(((n,a)=>{const o=t.linkProps(n);return lt(e),i.createElement("a",s({ref:a},o,{children:"function"==typeof n.children?n.children({isActive:"active"===o["data-status"]}):n.children}))})),MatchRoute:e=>{const{pending:n,caseSensitive:a}=e,o=l(e,nt),r=t.matchRoute(o,{pending:n,caseSensitive:a});return r?"function"==typeof e.children?e.children(r):e.children:null}}),n=Z(s({},t,{createRouter:t=>{const n={useState:()=>(lt(t),t.state),useMatch:(e,n)=>{var a,o;lt(t),b(e!==G);const r=null==(a=ut())?void 0:a[0],i=t.state.matches.find((t=>t.routeId===e));return(null==(o=null==n?void 0:n.strict)||o)&&(b(i),b(r.routeId==(null==i?void 0:i.routeId),(null==i||i.routeId,r.routeId,null==i||i.routeId,null==i||i.routeId))),i}},a=e(t.getRoute("/"),t);Object.assign(t,n,a)},createRoute:t=>{let{router:n,route:a}=t;const o=e(a,n);Object.assign(a,o)},loadComponent:async t=>(t.preload&&"undefined"!=typeof document&&t.preload(),t)}));return n},t.createRoute=H,t.createRouteConfig=function t(e,n,a,o,r){void 0===e&&(e={}),void 0===a&&(a=!0),a&&(e.path=G),o===G&&(o="");let i=a?G:e.path;i&&"/"!==i&&(i=k(i));const s=i||e.id;let l=A([o,s]);i===G&&(i="/"),l!==G&&(l=A(["/",l]));const c=l===G?"/":C(A([r,i]));return{id:l,routeId:s,path:i,fullPath:c,options:e,children:n,createChildren:n=>t(e,n((e=>t(e,void 0,!1,l,c))),!1,o,r),addChildren:n=>t(e,n,!1,o,r),createRoute:e=>t(e,void 0,!1,l,c)}},t.createRouteMatch=q,t.createRouter=Z,t.decode=z,t.defaultParseSearch=K,t.defaultStringifySearch=V,t.encode=N,t.functionalUpdate=S,t.interpolatePath=D,t.invariant=b,t.joinPaths=A,t.last=R,t.matchByPath=T,t.matchPathname=F,t.parsePathname=j,t.parseSearchWith=J,t.pick=I,t.replaceEqualDeep=P,t.resolvePath=O,t.rootRouteId=G,t.stringifySearchWith=X,t.trimPath=k,t.trimPathLeft=L,t.trimPathRight=C,t.useMatches=ut,t.usePrompt=pt,t.useRouter=ct,t.warning=E,Object.defineProperty(t,"__esModule",{value:!0})}));
//# sourceMappingURL=index.production.js.map
{
"name": "@tanstack/react-router",
"author": "Tanner Linsley",
"version": "0.0.1-beta.12",
"version": "0.0.1-beta.13",
"license": "MIT",

@@ -44,3 +44,4 @@ "repository": "tanstack/router",

"@babel/runtime": "^7.16.7",
"@tanstack/router-core": "0.0.1-beta.11",
"@tanstack/router-core": "0.0.1-beta.13",
"react-lazy-with-preload": "^2.2.1",
"use-sync-external-store": "^1.2.0"

@@ -47,0 +48,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc