react-router 0.0.0-experimental-4e44d47 → 0.0.0-experimental-3df673e
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{production/chunk-IZVJSKMU.mjs → development/chunk-27W3PGKT.mjs} +3 -3
- package/dist/development/{chunk-XVVWTPHF.mjs → chunk-5FNKA3AJ.mjs} +20 -18
- package/dist/{production/chunk-UNIYMJFU.js → development/chunk-HMTR6AB3.js} +134 -134
- package/dist/development/{chunk-7B7CUJYE.js → chunk-OAO2BCWA.js} +19 -17
- package/dist/development/dom-export.d.mts +1 -1
- package/dist/development/dom-export.d.ts +1 -1
- package/dist/development/dom-export.js +3 -3
- package/dist/development/dom-export.mjs +3 -3
- package/dist/development/{index-react-server-client-83aVZHgI.d.ts → index-react-server-client-CCykjjOv.d.ts} +2 -2
- package/dist/{production/index-react-server-client-BDG19ZQl.d.mts → development/index-react-server-client-vPxdwQO-.d.mts} +2 -2
- package/dist/development/index-react-server-client.d.mts +3 -3
- package/dist/development/index-react-server-client.d.ts +3 -3
- package/dist/development/index-react-server-client.js +4 -4
- package/dist/development/index-react-server-client.mjs +2 -2
- package/dist/development/index-react-server.d.mts +3 -3
- package/dist/development/index-react-server.d.ts +3 -3
- package/dist/development/index-react-server.js +11 -11
- package/dist/development/index-react-server.mjs +11 -11
- package/dist/development/index.d.mts +6 -6
- package/dist/development/index.d.ts +6 -6
- package/dist/development/index.js +99 -99
- package/dist/development/index.mjs +3 -3
- package/dist/development/{instrumentation-XYmrzhe3.d.ts → instrumentation-BsMyG4uF.d.ts} +2 -2
- package/dist/development/lib/types/internal.d.mts +2 -2
- package/dist/development/lib/types/internal.d.ts +2 -2
- package/dist/development/lib/types/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/{production/routeModules-Bu1JamQV.d.ts → development/routeModules-BsBQDHG4.d.ts} +3 -3
- package/dist/development/{routeModules-CtCOLGtG.d.mts → routeModules-DSpLybMz.d.mts} +3 -3
- package/dist/development/{router-2BoB34m1.d.mts → router-B02dMGKy.d.mts} +2 -2
- package/dist/{development/chunk-MTLWRICG.js → production/chunk-BJWGLTLV.js} +134 -134
- package/dist/{development/chunk-PSQFTIPQ.mjs → production/chunk-IFXZKZUN.mjs} +3 -3
- package/dist/production/{chunk-OXRQQZPR.js → chunk-NZTFTCSL.js} +19 -17
- package/dist/production/{chunk-GSSVRQ6M.mjs → chunk-XWLYGPB7.mjs} +20 -18
- package/dist/production/dom-export.d.mts +1 -1
- package/dist/production/dom-export.d.ts +1 -1
- package/dist/production/dom-export.js +3 -3
- package/dist/production/dom-export.mjs +3 -3
- package/dist/production/{index-react-server-client-83aVZHgI.d.ts → index-react-server-client-CCykjjOv.d.ts} +2 -2
- package/dist/{development/index-react-server-client-BDG19ZQl.d.mts → production/index-react-server-client-vPxdwQO-.d.mts} +2 -2
- package/dist/production/index-react-server-client.d.mts +3 -3
- package/dist/production/index-react-server-client.d.ts +3 -3
- package/dist/production/index-react-server-client.js +4 -4
- package/dist/production/index-react-server-client.mjs +2 -2
- package/dist/production/index-react-server.d.mts +3 -3
- package/dist/production/index-react-server.d.ts +3 -3
- package/dist/production/index-react-server.js +11 -11
- package/dist/production/index-react-server.mjs +11 -11
- package/dist/production/index.d.mts +6 -6
- package/dist/production/index.d.ts +6 -6
- package/dist/production/index.js +99 -99
- package/dist/production/index.mjs +3 -3
- package/dist/production/{instrumentation-XYmrzhe3.d.ts → instrumentation-BsMyG4uF.d.ts} +2 -2
- package/dist/production/lib/types/internal.d.mts +2 -2
- package/dist/production/lib/types/internal.d.ts +2 -2
- package/dist/production/lib/types/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/dist/{development/routeModules-Bu1JamQV.d.ts → production/routeModules-BsBQDHG4.d.ts} +3 -3
- package/dist/production/{routeModules-CtCOLGtG.d.mts → routeModules-DSpLybMz.d.mts} +3 -3
- package/dist/production/{router-2BoB34m1.d.mts → router-B02dMGKy.d.mts} +2 -2
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-3df673e
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -985,7 +985,7 @@ async function recurseRight(impls, info, handler, index) {
|
|
|
985
985
|
}
|
|
986
986
|
}
|
|
987
987
|
function getInstrumentationInfo(args) {
|
|
988
|
-
let { request, context, params,
|
|
988
|
+
let { request, context, params, unstable_pattern } = args;
|
|
989
989
|
return {
|
|
990
990
|
// pseudo "Request" with the info they may want to read from
|
|
991
991
|
request: {
|
|
@@ -997,7 +997,7 @@ function getInstrumentationInfo(args) {
|
|
|
997
997
|
}
|
|
998
998
|
},
|
|
999
999
|
params: { ...params },
|
|
1000
|
-
|
|
1000
|
+
unstable_pattern,
|
|
1001
1001
|
context: {
|
|
1002
1002
|
get: (...args2) => context.get(...args2)
|
|
1003
1003
|
}
|
|
@@ -3095,7 +3095,7 @@ function createStaticHandler(routes, opts) {
|
|
|
3095
3095
|
let response = await runServerMiddlewarePipeline(
|
|
3096
3096
|
{
|
|
3097
3097
|
request,
|
|
3098
|
-
|
|
3098
|
+
unstable_pattern: getRoutePattern(matches.map((m) => m.route.path)),
|
|
3099
3099
|
matches,
|
|
3100
3100
|
params: matches[0].params,
|
|
3101
3101
|
// If we're calling middleware then it must be enabled so we can cast
|
|
@@ -3241,7 +3241,7 @@ function createStaticHandler(routes, opts) {
|
|
|
3241
3241
|
let response = await runServerMiddlewarePipeline(
|
|
3242
3242
|
{
|
|
3243
3243
|
request,
|
|
3244
|
-
|
|
3244
|
+
unstable_pattern: getRoutePattern(matches.map((m) => m.route.path)),
|
|
3245
3245
|
matches,
|
|
3246
3246
|
params: matches[0].params,
|
|
3247
3247
|
// If we're calling middleware then it must be enabled so we can cast
|
|
@@ -3815,6 +3815,8 @@ function getMatchesToLoad(request, scopedContext, mapRouteProperties, manifest,
|
|
|
3815
3815
|
actionResult,
|
|
3816
3816
|
actionStatus
|
|
3817
3817
|
};
|
|
3818
|
+
let pattern = getRoutePattern(matches.map((m) => m.route.path));
|
|
3819
|
+
console.log(pattern, matches);
|
|
3818
3820
|
let dsMatches = matches.map((match, index) => {
|
|
3819
3821
|
let { route } = match;
|
|
3820
3822
|
let forceShouldLoad = null;
|
|
@@ -3838,7 +3840,7 @@ function getMatchesToLoad(request, scopedContext, mapRouteProperties, manifest,
|
|
|
3838
3840
|
mapRouteProperties,
|
|
3839
3841
|
manifest,
|
|
3840
3842
|
request,
|
|
3841
|
-
|
|
3843
|
+
pattern,
|
|
3842
3844
|
match,
|
|
3843
3845
|
lazyRoutePropertiesToSkip,
|
|
3844
3846
|
scopedContext,
|
|
@@ -3859,7 +3861,7 @@ function getMatchesToLoad(request, scopedContext, mapRouteProperties, manifest,
|
|
|
3859
3861
|
mapRouteProperties,
|
|
3860
3862
|
manifest,
|
|
3861
3863
|
request,
|
|
3862
|
-
|
|
3864
|
+
pattern,
|
|
3863
3865
|
match,
|
|
3864
3866
|
lazyRoutePropertiesToSkip,
|
|
3865
3867
|
scopedContext,
|
|
@@ -4322,7 +4324,7 @@ async function runMiddlewarePipeline(args, handler, processResult, isResult, err
|
|
|
4322
4324
|
request,
|
|
4323
4325
|
params,
|
|
4324
4326
|
context,
|
|
4325
|
-
|
|
4327
|
+
unstable_pattern: getRoutePattern(matches.map((m) => m.route.path))
|
|
4326
4328
|
},
|
|
4327
4329
|
tuples,
|
|
4328
4330
|
handler,
|
|
@@ -4401,7 +4403,7 @@ function getDataStrategyMatchLazyPromises(mapRouteProperties, manifest, request,
|
|
|
4401
4403
|
handler: lazyRoutePromises.lazyHandlerPromise
|
|
4402
4404
|
};
|
|
4403
4405
|
}
|
|
4404
|
-
function getDataStrategyMatch(mapRouteProperties, manifest, request,
|
|
4406
|
+
function getDataStrategyMatch(mapRouteProperties, manifest, request, unstable_pattern, match, lazyRoutePropertiesToSkip, scopedContext, shouldLoad, unstable_shouldRevalidateArgs = null) {
|
|
4405
4407
|
let isUsingNewApi = false;
|
|
4406
4408
|
let _lazyPromises = getDataStrategyMatchLazyPromises(
|
|
4407
4409
|
mapRouteProperties,
|
|
@@ -4435,7 +4437,7 @@ function getDataStrategyMatch(mapRouteProperties, manifest, request, pattern, ma
|
|
|
4435
4437
|
if (callHandler && !isMiddlewareOnlyRoute) {
|
|
4436
4438
|
return callLoaderOrAction({
|
|
4437
4439
|
request,
|
|
4438
|
-
|
|
4440
|
+
unstable_pattern,
|
|
4439
4441
|
match,
|
|
4440
4442
|
lazyHandlerPromise: _optionalChain([_lazyPromises, 'optionalAccess', _39 => _39.handler]),
|
|
4441
4443
|
lazyRoutePromise: _optionalChain([_lazyPromises, 'optionalAccess', _40 => _40.route]),
|
|
@@ -4484,7 +4486,7 @@ async function callDataStrategyImpl(dataStrategyImpl, request, matches, fetcherK
|
|
|
4484
4486
|
}
|
|
4485
4487
|
let dataStrategyArgs = {
|
|
4486
4488
|
request,
|
|
4487
|
-
|
|
4489
|
+
unstable_pattern: getRoutePattern(matches.map((m) => m.route.path)),
|
|
4488
4490
|
params: matches[0].params,
|
|
4489
4491
|
context: scopedContext,
|
|
4490
4492
|
matches
|
|
@@ -4525,7 +4527,7 @@ async function callDataStrategyImpl(dataStrategyImpl, request, matches, fetcherK
|
|
|
4525
4527
|
}
|
|
4526
4528
|
async function callLoaderOrAction({
|
|
4527
4529
|
request,
|
|
4528
|
-
|
|
4530
|
+
unstable_pattern,
|
|
4529
4531
|
match,
|
|
4530
4532
|
lazyHandlerPromise,
|
|
4531
4533
|
lazyRoutePromise,
|
|
@@ -4552,7 +4554,7 @@ async function callLoaderOrAction({
|
|
|
4552
4554
|
return handler(
|
|
4553
4555
|
{
|
|
4554
4556
|
request,
|
|
4555
|
-
|
|
4557
|
+
unstable_pattern,
|
|
4556
4558
|
params: match.params,
|
|
4557
4559
|
context: scopedContext
|
|
4558
4560
|
},
|
|
@@ -7458,7 +7460,7 @@ function createClientRoutes(manifest, routeModulesCache, initialState, ssr, isSp
|
|
|
7458
7460
|
let hasInitialError = initialState && initialState.errors && route.id in initialState.errors;
|
|
7459
7461
|
let initialError = hasInitialError ? _optionalChain([initialState, 'optionalAccess', _91 => _91.errors, 'optionalAccess', _92 => _92[route.id]]) : void 0;
|
|
7460
7462
|
let isHydrationRequest = needsRevalidation == null && (_optionalChain([routeModule, 'access', _93 => _93.clientLoader, 'optionalAccess', _94 => _94.hydrate]) === true || !route.hasLoader);
|
|
7461
|
-
dataRoute.loader = async ({ request, params, context,
|
|
7463
|
+
dataRoute.loader = async ({ request, params, context, unstable_pattern }, singleFetch) => {
|
|
7462
7464
|
try {
|
|
7463
7465
|
let result = await prefetchStylesAndCallHandler(async () => {
|
|
7464
7466
|
invariant2(
|
|
@@ -7472,7 +7474,7 @@ function createClientRoutes(manifest, routeModulesCache, initialState, ssr, isSp
|
|
|
7472
7474
|
request,
|
|
7473
7475
|
params,
|
|
7474
7476
|
context,
|
|
7475
|
-
|
|
7477
|
+
unstable_pattern,
|
|
7476
7478
|
async serverLoader() {
|
|
7477
7479
|
preventInvalidServerHandlerCall("loader", route);
|
|
7478
7480
|
if (isHydrationRequest) {
|
|
@@ -7498,7 +7500,7 @@ function createClientRoutes(manifest, routeModulesCache, initialState, ssr, isSp
|
|
|
7498
7500
|
route.hasLoader,
|
|
7499
7501
|
isSpaMode
|
|
7500
7502
|
);
|
|
7501
|
-
dataRoute.action = ({ request, params, context,
|
|
7503
|
+
dataRoute.action = ({ request, params, context, unstable_pattern }, singleFetch) => {
|
|
7502
7504
|
return prefetchStylesAndCallHandler(async () => {
|
|
7503
7505
|
invariant2(
|
|
7504
7506
|
routeModule,
|
|
@@ -7514,7 +7516,7 @@ function createClientRoutes(manifest, routeModulesCache, initialState, ssr, isSp
|
|
|
7514
7516
|
request,
|
|
7515
7517
|
params,
|
|
7516
7518
|
context,
|
|
7517
|
-
|
|
7519
|
+
unstable_pattern,
|
|
7518
7520
|
async serverAction() {
|
|
7519
7521
|
preventInvalidServerHandlerCall("action", route);
|
|
7520
7522
|
return fetchServerAction(singleFetch);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { R as RouterProviderProps$1, a as RouterInit, u as unstable_ClientInstrumentation, b as unstable_ClientOnErrorFunction } from './router-
|
|
2
|
+
import { R as RouterProviderProps$1, a as RouterInit, u as unstable_ClientInstrumentation, b as unstable_ClientOnErrorFunction } from './router-B02dMGKy.mjs';
|
|
3
3
|
import './browser-z32v5KVN.mjs';
|
|
4
4
|
|
|
5
5
|
type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { RouterProviderProps as RouterProviderProps$1, RouterInit, unstable_ClientOnErrorFunction } from 'react-router';
|
|
3
|
-
import { u as unstable_ClientInstrumentation } from './instrumentation-
|
|
3
|
+
import { u as unstable_ClientInstrumentation } from './instrumentation-BsMyG4uF.js';
|
|
4
4
|
|
|
5
5
|
type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;
|
|
6
6
|
declare function RouterProvider(props: Omit<RouterProviderProps, "flushSync">): React.JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-3df673e
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"use client";
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _chunkOAO2BCWAjs = require('./chunk-OAO2BCWA.js');
|
|
15
15
|
|
|
16
16
|
// lib/dom-export/dom-router-provider.tsx
|
|
17
17
|
var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react);
|
|
@@ -183,7 +183,7 @@ function HydratedRouter(props) {
|
|
|
183
183
|
}, []);
|
|
184
184
|
React2.useEffect(() => {
|
|
185
185
|
if (process.env.NODE_ENV === "development" && criticalCss === void 0) {
|
|
186
|
-
document.querySelectorAll(`[${
|
|
186
|
+
document.querySelectorAll(`[${_chunkOAO2BCWAjs.CRITICAL_CSS_DATA_ATTRIBUTE}]`).forEach((element) => element.remove());
|
|
187
187
|
}
|
|
188
188
|
}, [criticalCss]);
|
|
189
189
|
let [location, setLocation] = React2.useState(router.state.location);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-3df673e
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import {
|
|
13
13
|
deserializeErrors,
|
|
14
14
|
getHydrationData
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-27W3PGKT.mjs";
|
|
16
16
|
import {
|
|
17
17
|
CRITICAL_CSS_DATA_ATTRIBUTE,
|
|
18
18
|
FrameworkContext,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
invariant,
|
|
30
30
|
mapRouteProperties,
|
|
31
31
|
useFogOFWarDiscovery
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-5FNKA3AJ.mjs";
|
|
33
33
|
|
|
34
34
|
// lib/dom-export/dom-router-provider.tsx
|
|
35
35
|
import * as React from "react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as RouteModules, H as HydrationState, D as DataRouteObject, r as ClientLoaderFunction, z as StaticHandlerContext, aN as ServerRouteModule, A as AppLoadContext, h as RelativeRoutingType, au as PageLinkDescriptor, y as GetScrollRestorationKeyFunction, t as RouterInit, aO as FutureConfig$1, v as PatchRoutesOnNavigationFunction, e as NavigateOptions, J as Fetcher, j as RouteObject, c as Router, g as SerializeFrom, B as BlockerFunction, aP as CreateStaticHandlerOptions$1, w as StaticHandler } from './routeModules-
|
|
1
|
+
import { d as RouteModules, H as HydrationState, D as DataRouteObject, r as ClientLoaderFunction, z as StaticHandlerContext, aN as ServerRouteModule, A as AppLoadContext, h as RelativeRoutingType, au as PageLinkDescriptor, y as GetScrollRestorationKeyFunction, t as RouterInit, aO as FutureConfig$1, v as PatchRoutesOnNavigationFunction, e as NavigateOptions, J as Fetcher, j as RouteObject, c as Router, g as SerializeFrom, B as BlockerFunction, aP as CreateStaticHandlerOptions$1, w as StaticHandler } from './routeModules-BsBQDHG4.js';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { ac as RouteManifest, t as MiddlewareEnabled, R as RouterContextProvider, w as LoaderFunctionArgs, v as ActionFunctionArgs, j as unstable_ServerInstrumentation, i as HTMLFormMethod, F as FormEncType, T as To, H as History, u as unstable_ClientInstrumentation, f as DataStrategyFunction, L as Location } from './instrumentation-
|
|
3
|
+
import { ac as RouteManifest, t as MiddlewareEnabled, R as RouterContextProvider, w as LoaderFunctionArgs, v as ActionFunctionArgs, j as unstable_ServerInstrumentation, i as HTMLFormMethod, F as FormEncType, T as To, H as History, u as unstable_ClientInstrumentation, f as DataStrategyFunction, L as Location } from './instrumentation-BsMyG4uF.js';
|
|
4
4
|
|
|
5
5
|
interface Route {
|
|
6
6
|
index?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b8 as RouteManifest, H as HydrationState, G as DataRouteObject, Q as StaticHandlerContext, e as MiddlewareEnabled, c as RouterContextProvider, f as LoaderFunctionArgs, A as ActionFunctionArgs, b9 as unstable_ServerInstrumentation, a4 as HTMLFormMethod, a2 as FormEncType, n as RelativeRoutingType, T as To, ba as History, O as GetScrollRestorationKeyFunction, a as RouterInit, bb as FutureConfig$1, u as unstable_ClientInstrumentation, l as DataStrategyFunction, F as PatchRoutesOnNavigationFunction, N as NavigateOptions, V as Fetcher, v as RouteObject, k as Router, B as BlockerFunction, L as Location, bc as CreateStaticHandlerOptions$1, J as StaticHandler } from './router-
|
|
1
|
+
import { b8 as RouteManifest, H as HydrationState, G as DataRouteObject, Q as StaticHandlerContext, e as MiddlewareEnabled, c as RouterContextProvider, f as LoaderFunctionArgs, A as ActionFunctionArgs, b9 as unstable_ServerInstrumentation, a4 as HTMLFormMethod, a2 as FormEncType, n as RelativeRoutingType, T as To, ba as History, O as GetScrollRestorationKeyFunction, a as RouterInit, bb as FutureConfig$1, u as unstable_ClientInstrumentation, l as DataStrategyFunction, F as PatchRoutesOnNavigationFunction, N as NavigateOptions, V as Fetcher, v as RouteObject, k as Router, B as BlockerFunction, L as Location, bc as CreateStaticHandlerOptions$1, J as StaticHandler } from './router-B02dMGKy.mjs';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { c as RouteModules, h as ClientLoaderFunction, o as ServerRouteModule, A as AppLoadContext, m as PageLinkDescriptor, d as SerializeFrom } from './routeModules-
|
|
3
|
+
import { c as RouteModules, h as ClientLoaderFunction, o as ServerRouteModule, A as AppLoadContext, m as PageLinkDescriptor, d as SerializeFrom } from './routeModules-DSpLybMz.mjs';
|
|
4
4
|
|
|
5
5
|
interface Route {
|
|
6
6
|
index?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { aF as MemoryRouter, aG as Navigate, aH as Outlet, aI as Route, aJ as Router, aK as RouterProvider, aL as Routes, as as UNSAFE_AwaitContextProvider, b2 as UNSAFE_WithComponentProps, b6 as UNSAFE_WithErrorBoundaryProps, b4 as UNSAFE_WithHydrateFallbackProps } from './router-
|
|
2
|
-
export { l as BrowserRouter, q as Form, m as HashRouter, n as Link, X as Links, W as Meta, p as NavLink, r as ScrollRestoration, T as StaticRouter, V as StaticRouterProvider, o as unstable_HistoryRouter } from './index-react-server-client-
|
|
1
|
+
export { aF as MemoryRouter, aG as Navigate, aH as Outlet, aI as Route, aJ as Router, aK as RouterProvider, aL as Routes, as as UNSAFE_AwaitContextProvider, b2 as UNSAFE_WithComponentProps, b6 as UNSAFE_WithErrorBoundaryProps, b4 as UNSAFE_WithHydrateFallbackProps } from './router-B02dMGKy.mjs';
|
|
2
|
+
export { l as BrowserRouter, q as Form, m as HashRouter, n as Link, X as Links, W as Meta, p as NavLink, r as ScrollRestoration, T as StaticRouter, V as StaticRouterProvider, o as unstable_HistoryRouter } from './index-react-server-client-vPxdwQO-.mjs';
|
|
3
3
|
import 'react';
|
|
4
|
-
import './routeModules-
|
|
4
|
+
import './routeModules-DSpLybMz.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { af as MemoryRouter, ag as Navigate, ah as Outlet, ai as Route, aj as Router, ak as RouterProvider, al as Routes, a0 as UNSAFE_AwaitContextProvider, aH as UNSAFE_WithComponentProps, aL as UNSAFE_WithErrorBoundaryProps, aJ as UNSAFE_WithHydrateFallbackProps } from './routeModules-
|
|
2
|
-
export { l as BrowserRouter, q as Form, m as HashRouter, n as Link, X as Links, W as Meta, p as NavLink, r as ScrollRestoration, T as StaticRouter, V as StaticRouterProvider, o as unstable_HistoryRouter } from './index-react-server-client-
|
|
1
|
+
export { af as MemoryRouter, ag as Navigate, ah as Outlet, ai as Route, aj as Router, ak as RouterProvider, al as Routes, a0 as UNSAFE_AwaitContextProvider, aH as UNSAFE_WithComponentProps, aL as UNSAFE_WithErrorBoundaryProps, aJ as UNSAFE_WithHydrateFallbackProps } from './routeModules-BsBQDHG4.js';
|
|
2
|
+
export { l as BrowserRouter, q as Form, m as HashRouter, n as Link, X as Links, W as Meta, p as NavLink, r as ScrollRestoration, T as StaticRouter, V as StaticRouterProvider, o as unstable_HistoryRouter } from './index-react-server-client-CCykjjOv.js';
|
|
3
3
|
import 'react';
|
|
4
|
-
import './instrumentation-
|
|
4
|
+
import './instrumentation-BsMyG4uF.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-3df673e
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
var
|
|
32
|
+
var _chunkHMTR6AB3js = require('./chunk-HMTR6AB3.js');
|
|
33
33
|
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
|
|
37
|
-
var
|
|
37
|
+
var _chunkOAO2BCWAjs = require('./chunk-OAO2BCWA.js');
|
|
38
38
|
|
|
39
39
|
|
|
40
40
|
|
|
@@ -58,4 +58,4 @@ var _chunk7B7CUJYEjs = require('./chunk-7B7CUJYE.js');
|
|
|
58
58
|
|
|
59
59
|
|
|
60
60
|
|
|
61
|
-
exports.BrowserRouter =
|
|
61
|
+
exports.BrowserRouter = _chunkHMTR6AB3js.BrowserRouter; exports.Form = _chunkHMTR6AB3js.Form; exports.HashRouter = _chunkHMTR6AB3js.HashRouter; exports.Link = _chunkHMTR6AB3js.Link; exports.Links = _chunkOAO2BCWAjs.Links; exports.MemoryRouter = _chunkHMTR6AB3js.MemoryRouter; exports.Meta = _chunkOAO2BCWAjs.Meta; exports.NavLink = _chunkHMTR6AB3js.NavLink; exports.Navigate = _chunkHMTR6AB3js.Navigate; exports.Outlet = _chunkHMTR6AB3js.Outlet; exports.Route = _chunkHMTR6AB3js.Route; exports.Router = _chunkHMTR6AB3js.Router; exports.RouterProvider = _chunkHMTR6AB3js.RouterProvider; exports.Routes = _chunkHMTR6AB3js.Routes; exports.ScrollRestoration = _chunkHMTR6AB3js.ScrollRestoration; exports.StaticRouter = _chunkHMTR6AB3js.StaticRouter; exports.StaticRouterProvider = _chunkHMTR6AB3js.StaticRouterProvider; exports.UNSAFE_AwaitContextProvider = _chunkOAO2BCWAjs.AwaitContextProvider; exports.UNSAFE_WithComponentProps = _chunkHMTR6AB3js.WithComponentProps; exports.UNSAFE_WithErrorBoundaryProps = _chunkHMTR6AB3js.WithErrorBoundaryProps; exports.UNSAFE_WithHydrateFallbackProps = _chunkHMTR6AB3js.WithHydrateFallbackProps; exports.unstable_HistoryRouter = _chunkHMTR6AB3js.HistoryRouter;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-3df673e
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
WithComponentProps,
|
|
33
33
|
WithErrorBoundaryProps,
|
|
34
34
|
WithHydrateFallbackProps
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-5FNKA3AJ.mjs";
|
|
36
36
|
export {
|
|
37
37
|
BrowserRouter,
|
|
38
38
|
Form,
|
|
@@ -355,7 +355,7 @@ interface DataFunctionArgs<Context> {
|
|
|
355
355
|
* Matched un-interpolated route pattern for the current path (i.e., /blog/:slug).
|
|
356
356
|
* Mostly useful as a identifier to aggregate on for logging/tracing/etc.
|
|
357
357
|
*/
|
|
358
|
-
|
|
358
|
+
unstable_pattern: string;
|
|
359
359
|
/**
|
|
360
360
|
* {@link https://reactrouter.com/start/framework/routing#dynamic-segments Dynamic route params} for the current route.
|
|
361
361
|
* @example
|
|
@@ -928,7 +928,7 @@ type RouteHandlerInstrumentationInfo = Readonly<{
|
|
|
928
928
|
headers: Pick<Headers, "get">;
|
|
929
929
|
};
|
|
930
930
|
params: LoaderFunctionArgs["params"];
|
|
931
|
-
|
|
931
|
+
unstable_pattern: string;
|
|
932
932
|
context: Pick<RouterContextProvider, "get">;
|
|
933
933
|
}>;
|
|
934
934
|
interface InstrumentLazyFunction extends GenericInstrumentFunction {
|
|
@@ -1911,7 +1911,7 @@ type ClientDataFunctionArgs<Params> = {
|
|
|
1911
1911
|
* Matched un-interpolated route pattern for the current path (i.e., /blog/:slug).
|
|
1912
1912
|
* Mostly useful as a identifier to aggregate on for logging/tracing/etc.
|
|
1913
1913
|
*/
|
|
1914
|
-
|
|
1914
|
+
unstable_pattern: string;
|
|
1915
1915
|
/**
|
|
1916
1916
|
* When `future.v8_middleware` is not enabled, this is undefined.
|
|
1917
1917
|
*
|
|
@@ -355,7 +355,7 @@ interface DataFunctionArgs<Context> {
|
|
|
355
355
|
* Matched un-interpolated route pattern for the current path (i.e., /blog/:slug).
|
|
356
356
|
* Mostly useful as a identifier to aggregate on for logging/tracing/etc.
|
|
357
357
|
*/
|
|
358
|
-
|
|
358
|
+
unstable_pattern: string;
|
|
359
359
|
/**
|
|
360
360
|
* {@link https://reactrouter.com/start/framework/routing#dynamic-segments Dynamic route params} for the current route.
|
|
361
361
|
* @example
|
|
@@ -928,7 +928,7 @@ type RouteHandlerInstrumentationInfo = Readonly<{
|
|
|
928
928
|
headers: Pick<Headers, "get">;
|
|
929
929
|
};
|
|
930
930
|
params: LoaderFunctionArgs["params"];
|
|
931
|
-
|
|
931
|
+
unstable_pattern: string;
|
|
932
932
|
context: Pick<RouterContextProvider, "get">;
|
|
933
933
|
}>;
|
|
934
934
|
interface InstrumentLazyFunction extends GenericInstrumentFunction {
|
|
@@ -1911,7 +1911,7 @@ type ClientDataFunctionArgs<Params> = {
|
|
|
1911
1911
|
* Matched un-interpolated route pattern for the current path (i.e., /blog/:slug).
|
|
1912
1912
|
* Mostly useful as a identifier to aggregate on for logging/tracing/etc.
|
|
1913
1913
|
*/
|
|
1914
|
-
|
|
1914
|
+
unstable_pattern: string;
|
|
1915
1915
|
/**
|
|
1916
1916
|
* When `future.v8_middleware` is not enabled, this is undefined.
|
|
1917
1917
|
*
|
|
@@ -27,7 +27,7 @@ function _interopNamespace(e) {
|
|
|
27
27
|
var React2__namespace = /*#__PURE__*/_interopNamespace(React2);
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
|
-
* react-router v0.0.0-experimental-
|
|
30
|
+
* react-router v0.0.0-experimental-3df673e
|
|
31
31
|
*
|
|
32
32
|
* Copyright (c) Remix Software Inc.
|
|
33
33
|
*
|
|
@@ -138,7 +138,7 @@ async function recurseRight(impls, info, handler, index) {
|
|
|
138
138
|
}
|
|
139
139
|
}
|
|
140
140
|
function getInstrumentationInfo(args) {
|
|
141
|
-
let { request, context, params,
|
|
141
|
+
let { request, context, params, unstable_pattern } = args;
|
|
142
142
|
return {
|
|
143
143
|
// pseudo "Request" with the info they may want to read from
|
|
144
144
|
request: {
|
|
@@ -150,7 +150,7 @@ function getInstrumentationInfo(args) {
|
|
|
150
150
|
}
|
|
151
151
|
},
|
|
152
152
|
params: { ...params },
|
|
153
|
-
|
|
153
|
+
unstable_pattern,
|
|
154
154
|
context: {
|
|
155
155
|
get: (...args2) => context.get(...args2)
|
|
156
156
|
}
|
|
@@ -911,7 +911,7 @@ function createStaticHandler(routes, opts) {
|
|
|
911
911
|
let response = await runServerMiddlewarePipeline(
|
|
912
912
|
{
|
|
913
913
|
request,
|
|
914
|
-
|
|
914
|
+
unstable_pattern: getRoutePattern(matches.map((m) => m.route.path)),
|
|
915
915
|
matches,
|
|
916
916
|
params: matches[0].params,
|
|
917
917
|
// If we're calling middleware then it must be enabled so we can cast
|
|
@@ -1057,7 +1057,7 @@ function createStaticHandler(routes, opts) {
|
|
|
1057
1057
|
let response = await runServerMiddlewarePipeline(
|
|
1058
1058
|
{
|
|
1059
1059
|
request,
|
|
1060
|
-
|
|
1060
|
+
unstable_pattern: getRoutePattern(matches.map((m) => m.route.path)),
|
|
1061
1061
|
matches,
|
|
1062
1062
|
params: matches[0].params,
|
|
1063
1063
|
// If we're calling middleware then it must be enabled so we can cast
|
|
@@ -1698,7 +1698,7 @@ async function runMiddlewarePipeline(args, handler, processResult, isResult, err
|
|
|
1698
1698
|
request,
|
|
1699
1699
|
params,
|
|
1700
1700
|
context,
|
|
1701
|
-
|
|
1701
|
+
unstable_pattern: getRoutePattern(matches.map((m) => m.route.path))
|
|
1702
1702
|
},
|
|
1703
1703
|
tuples,
|
|
1704
1704
|
handler,
|
|
@@ -1777,7 +1777,7 @@ function getDataStrategyMatchLazyPromises(mapRouteProperties, manifest, request,
|
|
|
1777
1777
|
handler: lazyRoutePromises.lazyHandlerPromise
|
|
1778
1778
|
};
|
|
1779
1779
|
}
|
|
1780
|
-
function getDataStrategyMatch(mapRouteProperties, manifest, request,
|
|
1780
|
+
function getDataStrategyMatch(mapRouteProperties, manifest, request, unstable_pattern, match, lazyRoutePropertiesToSkip, scopedContext, shouldLoad, unstable_shouldRevalidateArgs = null) {
|
|
1781
1781
|
let isUsingNewApi = false;
|
|
1782
1782
|
let _lazyPromises = getDataStrategyMatchLazyPromises(
|
|
1783
1783
|
mapRouteProperties,
|
|
@@ -1811,7 +1811,7 @@ function getDataStrategyMatch(mapRouteProperties, manifest, request, pattern, ma
|
|
|
1811
1811
|
if (callHandler && !isMiddlewareOnlyRoute) {
|
|
1812
1812
|
return callLoaderOrAction({
|
|
1813
1813
|
request,
|
|
1814
|
-
|
|
1814
|
+
unstable_pattern,
|
|
1815
1815
|
match,
|
|
1816
1816
|
lazyHandlerPromise: _lazyPromises?.handler,
|
|
1817
1817
|
lazyRoutePromise: _lazyPromises?.route,
|
|
@@ -1860,7 +1860,7 @@ async function callDataStrategyImpl(dataStrategyImpl, request, matches, fetcherK
|
|
|
1860
1860
|
}
|
|
1861
1861
|
let dataStrategyArgs = {
|
|
1862
1862
|
request,
|
|
1863
|
-
|
|
1863
|
+
unstable_pattern: getRoutePattern(matches.map((m) => m.route.path)),
|
|
1864
1864
|
params: matches[0].params,
|
|
1865
1865
|
context: scopedContext,
|
|
1866
1866
|
matches
|
|
@@ -1888,7 +1888,7 @@ async function callDataStrategyImpl(dataStrategyImpl, request, matches, fetcherK
|
|
|
1888
1888
|
}
|
|
1889
1889
|
async function callLoaderOrAction({
|
|
1890
1890
|
request,
|
|
1891
|
-
|
|
1891
|
+
unstable_pattern,
|
|
1892
1892
|
match,
|
|
1893
1893
|
lazyHandlerPromise,
|
|
1894
1894
|
lazyRoutePromise,
|
|
@@ -1915,7 +1915,7 @@ async function callLoaderOrAction({
|
|
|
1915
1915
|
return handler(
|
|
1916
1916
|
{
|
|
1917
1917
|
request,
|
|
1918
|
-
|
|
1918
|
+
unstable_pattern,
|
|
1919
1919
|
params: match.params,
|
|
1920
1920
|
context: scopedContext
|
|
1921
1921
|
},
|
|
@@ -6,7 +6,7 @@ export { BrowserRouter, Form, HashRouter, Link, Links, MemoryRouter, Meta, NavLi
|
|
|
6
6
|
import { serialize, parse } from 'cookie';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
|
-
* react-router v0.0.0-experimental-
|
|
9
|
+
* react-router v0.0.0-experimental-3df673e
|
|
10
10
|
*
|
|
11
11
|
* Copyright (c) Remix Software Inc.
|
|
12
12
|
*
|
|
@@ -117,7 +117,7 @@ async function recurseRight(impls, info, handler, index) {
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
function getInstrumentationInfo(args) {
|
|
120
|
-
let { request, context, params,
|
|
120
|
+
let { request, context, params, unstable_pattern } = args;
|
|
121
121
|
return {
|
|
122
122
|
// pseudo "Request" with the info they may want to read from
|
|
123
123
|
request: {
|
|
@@ -129,7 +129,7 @@ function getInstrumentationInfo(args) {
|
|
|
129
129
|
}
|
|
130
130
|
},
|
|
131
131
|
params: { ...params },
|
|
132
|
-
|
|
132
|
+
unstable_pattern,
|
|
133
133
|
context: {
|
|
134
134
|
get: (...args2) => context.get(...args2)
|
|
135
135
|
}
|
|
@@ -890,7 +890,7 @@ function createStaticHandler(routes, opts) {
|
|
|
890
890
|
let response = await runServerMiddlewarePipeline(
|
|
891
891
|
{
|
|
892
892
|
request,
|
|
893
|
-
|
|
893
|
+
unstable_pattern: getRoutePattern(matches.map((m) => m.route.path)),
|
|
894
894
|
matches,
|
|
895
895
|
params: matches[0].params,
|
|
896
896
|
// If we're calling middleware then it must be enabled so we can cast
|
|
@@ -1036,7 +1036,7 @@ function createStaticHandler(routes, opts) {
|
|
|
1036
1036
|
let response = await runServerMiddlewarePipeline(
|
|
1037
1037
|
{
|
|
1038
1038
|
request,
|
|
1039
|
-
|
|
1039
|
+
unstable_pattern: getRoutePattern(matches.map((m) => m.route.path)),
|
|
1040
1040
|
matches,
|
|
1041
1041
|
params: matches[0].params,
|
|
1042
1042
|
// If we're calling middleware then it must be enabled so we can cast
|
|
@@ -1677,7 +1677,7 @@ async function runMiddlewarePipeline(args, handler, processResult, isResult, err
|
|
|
1677
1677
|
request,
|
|
1678
1678
|
params,
|
|
1679
1679
|
context,
|
|
1680
|
-
|
|
1680
|
+
unstable_pattern: getRoutePattern(matches.map((m) => m.route.path))
|
|
1681
1681
|
},
|
|
1682
1682
|
tuples,
|
|
1683
1683
|
handler,
|
|
@@ -1756,7 +1756,7 @@ function getDataStrategyMatchLazyPromises(mapRouteProperties, manifest, request,
|
|
|
1756
1756
|
handler: lazyRoutePromises.lazyHandlerPromise
|
|
1757
1757
|
};
|
|
1758
1758
|
}
|
|
1759
|
-
function getDataStrategyMatch(mapRouteProperties, manifest, request,
|
|
1759
|
+
function getDataStrategyMatch(mapRouteProperties, manifest, request, unstable_pattern, match, lazyRoutePropertiesToSkip, scopedContext, shouldLoad, unstable_shouldRevalidateArgs = null) {
|
|
1760
1760
|
let isUsingNewApi = false;
|
|
1761
1761
|
let _lazyPromises = getDataStrategyMatchLazyPromises(
|
|
1762
1762
|
mapRouteProperties,
|
|
@@ -1790,7 +1790,7 @@ function getDataStrategyMatch(mapRouteProperties, manifest, request, pattern, ma
|
|
|
1790
1790
|
if (callHandler && !isMiddlewareOnlyRoute) {
|
|
1791
1791
|
return callLoaderOrAction({
|
|
1792
1792
|
request,
|
|
1793
|
-
|
|
1793
|
+
unstable_pattern,
|
|
1794
1794
|
match,
|
|
1795
1795
|
lazyHandlerPromise: _lazyPromises?.handler,
|
|
1796
1796
|
lazyRoutePromise: _lazyPromises?.route,
|
|
@@ -1839,7 +1839,7 @@ async function callDataStrategyImpl(dataStrategyImpl, request, matches, fetcherK
|
|
|
1839
1839
|
}
|
|
1840
1840
|
let dataStrategyArgs = {
|
|
1841
1841
|
request,
|
|
1842
|
-
|
|
1842
|
+
unstable_pattern: getRoutePattern(matches.map((m) => m.route.path)),
|
|
1843
1843
|
params: matches[0].params,
|
|
1844
1844
|
context: scopedContext,
|
|
1845
1845
|
matches
|
|
@@ -1867,7 +1867,7 @@ async function callDataStrategyImpl(dataStrategyImpl, request, matches, fetcherK
|
|
|
1867
1867
|
}
|
|
1868
1868
|
async function callLoaderOrAction({
|
|
1869
1869
|
request,
|
|
1870
|
-
|
|
1870
|
+
unstable_pattern,
|
|
1871
1871
|
match,
|
|
1872
1872
|
lazyHandlerPromise,
|
|
1873
1873
|
lazyRoutePromise,
|
|
@@ -1894,7 +1894,7 @@ async function callLoaderOrAction({
|
|
|
1894
1894
|
return handler(
|
|
1895
1895
|
{
|
|
1896
1896
|
request,
|
|
1897
|
-
|
|
1897
|
+
unstable_pattern,
|
|
1898
1898
|
params: match.params,
|
|
1899
1899
|
context: scopedContext
|
|
1900
1900
|
},
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { k as Router, l as DataStrategyFunction, e as MiddlewareEnabled, c as RouterContextProvider, T as To, N as NavigateOptions, B as BlockerFunction, m as Blocker, n as RelativeRoutingType, L as Location, o as ParamParseKey, p as Path, q as PathPattern, r as PathMatch, U as UIMatch, s as Navigation, t as Action, P as Params, v as RouteObject, I as InitialEntry, H as HydrationState, w as IndexRouteObject, x as RouteComponentType, y as HydrateFallbackType, E as ErrorBoundaryType, h as LoaderFunction, g as ActionFunction, z as NonIndexRouteObject, S as ShouldRevalidateFunction, a as RouterInit, C as RouterState, F as PatchRoutesOnNavigationFunction, G as DataRouteObject } from './router-
|
|
2
|
-
export { A as ActionFunctionArgs, aE as Await, at as AwaitProps, i as DataRouteMatch, $ as DataStrategyFunctionArgs, a0 as DataStrategyMatch, D as DataStrategyResult, a1 as ErrorResponse, V as Fetcher, a2 as FormEncType, a3 as FormMethod, aQ as Future, K as GetScrollPositionFunction, O as GetScrollRestorationKeyFunction, a4 as HTMLFormMethod, af as IDLE_BLOCKER, ae as IDLE_FETCHER, ad as IDLE_NAVIGATION, au as IndexRouteProps, av as LayoutRouteProps, a5 as LazyRouteFunction, f as LoaderFunctionArgs, aF as MemoryRouter, aw as MemoryRouterOpts, ax as MemoryRouterProps, j as MiddlewareFunction, aG as Navigate, ay as NavigateProps, W as NavigationStates, ap as Navigator, aH as Outlet, az as OutletProps, aq as PatchRoutesOnNavigationFunctionArgs, a6 as PathParam, aA as PathRouteProps, a7 as RedirectFunction, _ as RevalidationState, aI as Route, ar as RouteMatch, aB as RouteProps, aJ as Router, a8 as RouterContext, Z as RouterFetchOptions, Y as RouterNavigateOptions, aC as RouterProps, aK as RouterProvider, R as RouterProviderProps, X as RouterSubscriber, aL as Routes, aD as RoutesProps, a9 as ShouldRevalidateFunctionArgs, J as StaticHandler, Q as StaticHandlerContext, as as UNSAFE_AwaitContextProvider, aV as UNSAFE_DataRouterContext, aW as UNSAFE_DataRouterStateContext, d as UNSAFE_DataWithResponseInit, aU as UNSAFE_ErrorResponseImpl, aX as UNSAFE_FetchersContext, aY as UNSAFE_LocationContext, aZ as UNSAFE_NavigationContext, a_ as UNSAFE_RouteContext, a$ as UNSAFE_ViewTransitionContext, b2 as UNSAFE_WithComponentProps, b6 as UNSAFE_WithErrorBoundaryProps, b4 as UNSAFE_WithHydrateFallbackProps, aR as UNSAFE_createBrowserHistory, aT as UNSAFE_createRouter, b0 as UNSAFE_hydrationRouteProperties, aS as UNSAFE_invariant, b1 as UNSAFE_mapRouteProperties, b3 as UNSAFE_withComponentProps, b7 as UNSAFE_withErrorBoundaryProps, b5 as UNSAFE_withHydrateFallbackProps, aa as createContext, aM as createMemoryRouter, ab as createPath, aN as createRoutesFromChildren, aO as createRoutesFromElements, ag as data, ah as generatePath, ai as isRouteErrorResponse, aj as matchPath, ak as matchRoutes, ac as parsePath, al as redirect, am as redirectDocument, aP as renderMatches, an as replace, ao as resolvePath, b as unstable_ClientOnErrorFunction } from './router-
|
|
1
|
+
import { k as Router, l as DataStrategyFunction, e as MiddlewareEnabled, c as RouterContextProvider, T as To, N as NavigateOptions, B as BlockerFunction, m as Blocker, n as RelativeRoutingType, L as Location, o as ParamParseKey, p as Path, q as PathPattern, r as PathMatch, U as UIMatch, s as Navigation, t as Action, P as Params, v as RouteObject, I as InitialEntry, H as HydrationState, w as IndexRouteObject, x as RouteComponentType, y as HydrateFallbackType, E as ErrorBoundaryType, h as LoaderFunction, g as ActionFunction, z as NonIndexRouteObject, S as ShouldRevalidateFunction, a as RouterInit, C as RouterState, F as PatchRoutesOnNavigationFunction, G as DataRouteObject } from './router-B02dMGKy.mjs';
|
|
2
|
+
export { A as ActionFunctionArgs, aE as Await, at as AwaitProps, i as DataRouteMatch, $ as DataStrategyFunctionArgs, a0 as DataStrategyMatch, D as DataStrategyResult, a1 as ErrorResponse, V as Fetcher, a2 as FormEncType, a3 as FormMethod, aQ as Future, K as GetScrollPositionFunction, O as GetScrollRestorationKeyFunction, a4 as HTMLFormMethod, af as IDLE_BLOCKER, ae as IDLE_FETCHER, ad as IDLE_NAVIGATION, au as IndexRouteProps, av as LayoutRouteProps, a5 as LazyRouteFunction, f as LoaderFunctionArgs, aF as MemoryRouter, aw as MemoryRouterOpts, ax as MemoryRouterProps, j as MiddlewareFunction, aG as Navigate, ay as NavigateProps, W as NavigationStates, ap as Navigator, aH as Outlet, az as OutletProps, aq as PatchRoutesOnNavigationFunctionArgs, a6 as PathParam, aA as PathRouteProps, a7 as RedirectFunction, _ as RevalidationState, aI as Route, ar as RouteMatch, aB as RouteProps, aJ as Router, a8 as RouterContext, Z as RouterFetchOptions, Y as RouterNavigateOptions, aC as RouterProps, aK as RouterProvider, R as RouterProviderProps, X as RouterSubscriber, aL as Routes, aD as RoutesProps, a9 as ShouldRevalidateFunctionArgs, J as StaticHandler, Q as StaticHandlerContext, as as UNSAFE_AwaitContextProvider, aV as UNSAFE_DataRouterContext, aW as UNSAFE_DataRouterStateContext, d as UNSAFE_DataWithResponseInit, aU as UNSAFE_ErrorResponseImpl, aX as UNSAFE_FetchersContext, aY as UNSAFE_LocationContext, aZ as UNSAFE_NavigationContext, a_ as UNSAFE_RouteContext, a$ as UNSAFE_ViewTransitionContext, b2 as UNSAFE_WithComponentProps, b6 as UNSAFE_WithErrorBoundaryProps, b4 as UNSAFE_WithHydrateFallbackProps, aR as UNSAFE_createBrowserHistory, aT as UNSAFE_createRouter, b0 as UNSAFE_hydrationRouteProperties, aS as UNSAFE_invariant, b1 as UNSAFE_mapRouteProperties, b3 as UNSAFE_withComponentProps, b7 as UNSAFE_withErrorBoundaryProps, b5 as UNSAFE_withHydrateFallbackProps, aa as createContext, aM as createMemoryRouter, ab as createPath, aN as createRoutesFromChildren, aO as createRoutesFromElements, ag as data, ah as generatePath, ai as isRouteErrorResponse, aj as matchPath, ak as matchRoutes, ac as parsePath, al as redirect, am as redirectDocument, aP as renderMatches, an as replace, ao as resolvePath, b as unstable_ClientOnErrorFunction } from './router-B02dMGKy.mjs';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
import React__default, { ReactElement } from 'react';
|
|
5
|
-
import { c as RouteModules, A as AppLoadContext, d as SerializeFrom, e as MetaFunction, f as LinksFunction, E as Equal, g as ClientActionFunction, h as ClientLoaderFunction, H as HeadersFunction } from './routeModules-
|
|
6
|
-
export { i as ClientActionFunctionArgs, j as ClientLoaderFunctionArgs, k as HeadersArgs, n as HtmlLinkDescriptor, L as LinkDescriptor, l as MetaArgs, M as MetaDescriptor, m as PageLinkDescriptor, u as unstable_SerializesTo } from './routeModules-
|
|
7
|
-
import { A as AssetsManifest, S as ServerBuild, E as EntryContext, F as FutureConfig } from './index-react-server-client-
|
|
8
|
-
export { l as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, a1 as DiscoverBehavior, c as FetcherFormProps, h as FetcherSubmitFunction, G as FetcherSubmitOptions, i as FetcherWithComponents, q as Form, d as FormProps, a2 as HandleDataRequestFunction, a3 as HandleDocumentRequestFunction, a4 as HandleErrorFunction, m as HashRouter, H as HashRouterProps, a as HistoryRouterProps, n as Link, L as LinkProps, X as Links, _ as LinksProps, W as Meta, p as NavLink, N as NavLinkProps, b as NavLinkRenderProps, P as ParamKeyValuePair, a0 as PrefetchBehavior, Z as PrefetchPageLinks, Y as Scripts, $ as ScriptsProps, r as ScrollRestoration, e as ScrollRestorationProps, a5 as ServerEntryModule, f as SetURLSearchParams, T as StaticRouter, M as StaticRouterProps, V as StaticRouterProvider, O as StaticRouterProviderProps, g as SubmitFunction, I as SubmitOptions, J as SubmitTarget, a6 as UNSAFE_FrameworkContext, a7 as UNSAFE_createClientRoutes, a8 as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, a9 as UNSAFE_shouldHydrateRouteLoader, aa as UNSAFE_useScrollRestoration, U as URLSearchParamsInit, j as createBrowserRouter, k as createHashRouter, K as createSearchParams, Q as createStaticHandler, R as createStaticRouter, o as unstable_HistoryRouter, z as unstable_usePrompt, y as useBeforeUnload, w as useFetcher, x as useFetchers, v as useFormAction, u as useLinkClickHandler, s as useSearchParams, t as useSubmit, C as useViewTransitionState } from './index-react-server-client-
|
|
5
|
+
import { c as RouteModules, A as AppLoadContext, d as SerializeFrom, e as MetaFunction, f as LinksFunction, E as Equal, g as ClientActionFunction, h as ClientLoaderFunction, H as HeadersFunction } from './routeModules-DSpLybMz.mjs';
|
|
6
|
+
export { i as ClientActionFunctionArgs, j as ClientLoaderFunctionArgs, k as HeadersArgs, n as HtmlLinkDescriptor, L as LinkDescriptor, l as MetaArgs, M as MetaDescriptor, m as PageLinkDescriptor, u as unstable_SerializesTo } from './routeModules-DSpLybMz.mjs';
|
|
7
|
+
import { A as AssetsManifest, S as ServerBuild, E as EntryContext, F as FutureConfig } from './index-react-server-client-vPxdwQO-.mjs';
|
|
8
|
+
export { l as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, a1 as DiscoverBehavior, c as FetcherFormProps, h as FetcherSubmitFunction, G as FetcherSubmitOptions, i as FetcherWithComponents, q as Form, d as FormProps, a2 as HandleDataRequestFunction, a3 as HandleDocumentRequestFunction, a4 as HandleErrorFunction, m as HashRouter, H as HashRouterProps, a as HistoryRouterProps, n as Link, L as LinkProps, X as Links, _ as LinksProps, W as Meta, p as NavLink, N as NavLinkProps, b as NavLinkRenderProps, P as ParamKeyValuePair, a0 as PrefetchBehavior, Z as PrefetchPageLinks, Y as Scripts, $ as ScriptsProps, r as ScrollRestoration, e as ScrollRestorationProps, a5 as ServerEntryModule, f as SetURLSearchParams, T as StaticRouter, M as StaticRouterProps, V as StaticRouterProvider, O as StaticRouterProviderProps, g as SubmitFunction, I as SubmitOptions, J as SubmitTarget, a6 as UNSAFE_FrameworkContext, a7 as UNSAFE_createClientRoutes, a8 as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, a9 as UNSAFE_shouldHydrateRouteLoader, aa as UNSAFE_useScrollRestoration, U as URLSearchParamsInit, j as createBrowserRouter, k as createHashRouter, K as createSearchParams, Q as createStaticHandler, R as createStaticRouter, o as unstable_HistoryRouter, z as unstable_usePrompt, y as useBeforeUnload, w as useFetcher, x as useFetchers, v as useFormAction, u as useLinkClickHandler, s as useSearchParams, t as useSubmit, C as useViewTransitionState } from './index-react-server-client-vPxdwQO-.mjs';
|
|
9
9
|
import { ParseOptions, SerializeOptions } from 'cookie';
|
|
10
10
|
export { ParseOptions as CookieParseOptions, SerializeOptions as CookieSerializeOptions } from 'cookie';
|
|
11
11
|
import { P as Pages } from './register-DiOIlEq5.mjs';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { f as DataStrategyFunction, t as MiddlewareEnabled, R as RouterContextProvider, T as To, L as Location, C as ParamParseKey, P as Path, E as PathPattern, G as PathMatch, U as UIMatch, c as Action, l as Params, I as InitialEntry, y as LoaderFunction, x as ActionFunction, B as ShouldRevalidateFunction } from './instrumentation-
|
|
2
|
-
export { v as ActionFunctionArgs, J as DataStrategyFunctionArgs, K as DataStrategyMatch, D as DataStrategyResult, N as ErrorResponse, F as FormEncType, O as FormMethod, a8 as Future, i as HTMLFormMethod, k as LazyRouteFunction, w as LoaderFunctionArgs, z as MiddlewareFunction, Q as PathParam, V as RedirectFunction, W as RouterContext, X as ShouldRevalidateFunctionArgs, s as UNSAFE_DataWithResponseInit, ab as UNSAFE_ErrorResponseImpl, a9 as UNSAFE_createBrowserHistory, aa as UNSAFE_invariant, Y as createContext, Z as createPath, $ as data, a0 as generatePath, a1 as isRouteErrorResponse, a2 as matchPath, a3 as matchRoutes, _ as parsePath, a4 as redirect, a5 as redirectDocument, a6 as replace, a7 as resolvePath } from './instrumentation-
|
|
3
|
-
import { c as Router, d as RouteModules, A as AppLoadContext, e as NavigateOptions, B as BlockerFunction, f as Blocker, g as SerializeFrom, h as RelativeRoutingType, i as Navigation, j as RouteObject, H as HydrationState, I as IndexRouteObject, k as RouteComponentType, l as HydrateFallbackType, E as ErrorBoundaryType, m as MetaFunction, n as LinksFunction, o as NonIndexRouteObject, p as Equal, q as ClientActionFunction, r as ClientLoaderFunction, s as HeadersFunction, t as RouterInit, u as RouterState, v as PatchRoutesOnNavigationFunction, D as DataRouteObject } from './routeModules-
|
|
4
|
-
export { ae as Await, a1 as AwaitProps, aq as ClientActionFunctionArgs, ar as ClientLoaderFunctionArgs, Y as DataRouteMatch, J as Fetcher, x as GetScrollPositionFunction, y as GetScrollRestorationKeyFunction, as as HeadersArgs, av as HtmlLinkDescriptor, X as IDLE_BLOCKER, W as IDLE_FETCHER, V as IDLE_NAVIGATION, a2 as IndexRouteProps, a4 as LayoutRouteProps, L as LinkDescriptor, af as MemoryRouter, a5 as MemoryRouterOpts, a6 as MemoryRouterProps, at as MetaArgs, M as MetaDescriptor, ag as Navigate, a7 as NavigateProps, K as NavigationStates, Z as Navigator, ah as Outlet, a8 as OutletProps, au as PageLinkDescriptor, _ as PatchRoutesOnNavigationFunctionArgs, a9 as PathRouteProps, U as RevalidationState, ai as Route, $ as RouteMatch, aa as RouteProps, aj as Router, T as RouterFetchOptions, Q as RouterNavigateOptions, ab as RouterProps, ak as RouterProvider, ac as RouterProviderProps, O as RouterSubscriber, al as Routes, ad as RoutesProps, w as StaticHandler, z as StaticHandlerContext, a0 as UNSAFE_AwaitContextProvider, ay as UNSAFE_DataRouterContext, az as UNSAFE_DataRouterStateContext, aA as UNSAFE_FetchersContext, aB as UNSAFE_LocationContext, aC as UNSAFE_NavigationContext, aD as UNSAFE_RouteContext, aE as UNSAFE_ViewTransitionContext, aH as UNSAFE_WithComponentProps, aL as UNSAFE_WithErrorBoundaryProps, aJ as UNSAFE_WithHydrateFallbackProps, ax as UNSAFE_createRouter, aF as UNSAFE_hydrationRouteProperties, aG as UNSAFE_mapRouteProperties, aI as UNSAFE_withComponentProps, aM as UNSAFE_withErrorBoundaryProps, aK as UNSAFE_withHydrateFallbackProps, am as createMemoryRouter, an as createRoutesFromChildren, ao as createRoutesFromElements, ap as renderMatches, a3 as unstable_ClientOnErrorFunction, aw as unstable_SerializesTo } from './routeModules-
|
|
1
|
+
import { f as DataStrategyFunction, t as MiddlewareEnabled, R as RouterContextProvider, T as To, L as Location, C as ParamParseKey, P as Path, E as PathPattern, G as PathMatch, U as UIMatch, c as Action, l as Params, I as InitialEntry, y as LoaderFunction, x as ActionFunction, B as ShouldRevalidateFunction } from './instrumentation-BsMyG4uF.js';
|
|
2
|
+
export { v as ActionFunctionArgs, J as DataStrategyFunctionArgs, K as DataStrategyMatch, D as DataStrategyResult, N as ErrorResponse, F as FormEncType, O as FormMethod, a8 as Future, i as HTMLFormMethod, k as LazyRouteFunction, w as LoaderFunctionArgs, z as MiddlewareFunction, Q as PathParam, V as RedirectFunction, W as RouterContext, X as ShouldRevalidateFunctionArgs, s as UNSAFE_DataWithResponseInit, ab as UNSAFE_ErrorResponseImpl, a9 as UNSAFE_createBrowserHistory, aa as UNSAFE_invariant, Y as createContext, Z as createPath, $ as data, a0 as generatePath, a1 as isRouteErrorResponse, a2 as matchPath, a3 as matchRoutes, _ as parsePath, a4 as redirect, a5 as redirectDocument, a6 as replace, a7 as resolvePath } from './instrumentation-BsMyG4uF.js';
|
|
3
|
+
import { c as Router, d as RouteModules, A as AppLoadContext, e as NavigateOptions, B as BlockerFunction, f as Blocker, g as SerializeFrom, h as RelativeRoutingType, i as Navigation, j as RouteObject, H as HydrationState, I as IndexRouteObject, k as RouteComponentType, l as HydrateFallbackType, E as ErrorBoundaryType, m as MetaFunction, n as LinksFunction, o as NonIndexRouteObject, p as Equal, q as ClientActionFunction, r as ClientLoaderFunction, s as HeadersFunction, t as RouterInit, u as RouterState, v as PatchRoutesOnNavigationFunction, D as DataRouteObject } from './routeModules-BsBQDHG4.js';
|
|
4
|
+
export { ae as Await, a1 as AwaitProps, aq as ClientActionFunctionArgs, ar as ClientLoaderFunctionArgs, Y as DataRouteMatch, J as Fetcher, x as GetScrollPositionFunction, y as GetScrollRestorationKeyFunction, as as HeadersArgs, av as HtmlLinkDescriptor, X as IDLE_BLOCKER, W as IDLE_FETCHER, V as IDLE_NAVIGATION, a2 as IndexRouteProps, a4 as LayoutRouteProps, L as LinkDescriptor, af as MemoryRouter, a5 as MemoryRouterOpts, a6 as MemoryRouterProps, at as MetaArgs, M as MetaDescriptor, ag as Navigate, a7 as NavigateProps, K as NavigationStates, Z as Navigator, ah as Outlet, a8 as OutletProps, au as PageLinkDescriptor, _ as PatchRoutesOnNavigationFunctionArgs, a9 as PathRouteProps, U as RevalidationState, ai as Route, $ as RouteMatch, aa as RouteProps, aj as Router, T as RouterFetchOptions, Q as RouterNavigateOptions, ab as RouterProps, ak as RouterProvider, ac as RouterProviderProps, O as RouterSubscriber, al as Routes, ad as RoutesProps, w as StaticHandler, z as StaticHandlerContext, a0 as UNSAFE_AwaitContextProvider, ay as UNSAFE_DataRouterContext, az as UNSAFE_DataRouterStateContext, aA as UNSAFE_FetchersContext, aB as UNSAFE_LocationContext, aC as UNSAFE_NavigationContext, aD as UNSAFE_RouteContext, aE as UNSAFE_ViewTransitionContext, aH as UNSAFE_WithComponentProps, aL as UNSAFE_WithErrorBoundaryProps, aJ as UNSAFE_WithHydrateFallbackProps, ax as UNSAFE_createRouter, aF as UNSAFE_hydrationRouteProperties, aG as UNSAFE_mapRouteProperties, aI as UNSAFE_withComponentProps, aM as UNSAFE_withErrorBoundaryProps, aK as UNSAFE_withHydrateFallbackProps, am as createMemoryRouter, an as createRoutesFromChildren, ao as createRoutesFromElements, ap as renderMatches, a3 as unstable_ClientOnErrorFunction, aw as unstable_SerializesTo } from './routeModules-BsBQDHG4.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import React__default, { ReactElement } from 'react';
|
|
7
|
-
import { A as AssetsManifest, S as ServerBuild, E as EntryContext, F as FutureConfig } from './index-react-server-client-
|
|
8
|
-
export { l as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, a1 as DiscoverBehavior, c as FetcherFormProps, h as FetcherSubmitFunction, G as FetcherSubmitOptions, i as FetcherWithComponents, q as Form, d as FormProps, a2 as HandleDataRequestFunction, a3 as HandleDocumentRequestFunction, a4 as HandleErrorFunction, m as HashRouter, H as HashRouterProps, a as HistoryRouterProps, n as Link, L as LinkProps, X as Links, _ as LinksProps, W as Meta, p as NavLink, N as NavLinkProps, b as NavLinkRenderProps, P as ParamKeyValuePair, a0 as PrefetchBehavior, Z as PrefetchPageLinks, Y as Scripts, $ as ScriptsProps, r as ScrollRestoration, e as ScrollRestorationProps, a5 as ServerEntryModule, f as SetURLSearchParams, T as StaticRouter, M as StaticRouterProps, V as StaticRouterProvider, O as StaticRouterProviderProps, g as SubmitFunction, I as SubmitOptions, J as SubmitTarget, a6 as UNSAFE_FrameworkContext, a7 as UNSAFE_createClientRoutes, a8 as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, a9 as UNSAFE_shouldHydrateRouteLoader, aa as UNSAFE_useScrollRestoration, U as URLSearchParamsInit, j as createBrowserRouter, k as createHashRouter, K as createSearchParams, Q as createStaticHandler, R as createStaticRouter, o as unstable_HistoryRouter, z as unstable_usePrompt, y as useBeforeUnload, w as useFetcher, x as useFetchers, v as useFormAction, u as useLinkClickHandler, s as useSearchParams, t as useSubmit, C as useViewTransitionState } from './index-react-server-client-
|
|
7
|
+
import { A as AssetsManifest, S as ServerBuild, E as EntryContext, F as FutureConfig } from './index-react-server-client-CCykjjOv.js';
|
|
8
|
+
export { l as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, a1 as DiscoverBehavior, c as FetcherFormProps, h as FetcherSubmitFunction, G as FetcherSubmitOptions, i as FetcherWithComponents, q as Form, d as FormProps, a2 as HandleDataRequestFunction, a3 as HandleDocumentRequestFunction, a4 as HandleErrorFunction, m as HashRouter, H as HashRouterProps, a as HistoryRouterProps, n as Link, L as LinkProps, X as Links, _ as LinksProps, W as Meta, p as NavLink, N as NavLinkProps, b as NavLinkRenderProps, P as ParamKeyValuePair, a0 as PrefetchBehavior, Z as PrefetchPageLinks, Y as Scripts, $ as ScriptsProps, r as ScrollRestoration, e as ScrollRestorationProps, a5 as ServerEntryModule, f as SetURLSearchParams, T as StaticRouter, M as StaticRouterProps, V as StaticRouterProvider, O as StaticRouterProviderProps, g as SubmitFunction, I as SubmitOptions, J as SubmitTarget, a6 as UNSAFE_FrameworkContext, a7 as UNSAFE_createClientRoutes, a8 as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, a9 as UNSAFE_shouldHydrateRouteLoader, aa as UNSAFE_useScrollRestoration, U as URLSearchParamsInit, j as createBrowserRouter, k as createHashRouter, K as createSearchParams, Q as createStaticHandler, R as createStaticRouter, o as unstable_HistoryRouter, z as unstable_usePrompt, y as useBeforeUnload, w as useFetcher, x as useFetchers, v as useFormAction, u as useLinkClickHandler, s as useSearchParams, t as useSubmit, C as useViewTransitionState } from './index-react-server-client-CCykjjOv.js';
|
|
9
9
|
import { ParseOptions, SerializeOptions } from 'cookie';
|
|
10
10
|
export { ParseOptions as CookieParseOptions, SerializeOptions as CookieSerializeOptions } from 'cookie';
|
|
11
11
|
import { P as Pages } from './register-DiOIlEq5.js';
|