react-router 0.0.0-experimental-a65d6f5 → 0.0.0-experimental-e0b6ce9
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/development/{chunk-CWSJ6RYI.mjs → chunk-4FI4BC6Y.mjs} +2 -2
- package/dist/development/{chunk-47MIYFLC.mjs → chunk-F6CT5MEB.mjs} +173 -169
- package/dist/development/{chunk-QOFB7XZ5.js → chunk-INO4IHBF.js} +172 -168
- package/dist/{production/chunk-4SPSFXAZ.js → development/chunk-ITZFCV4J.js} +134 -134
- 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/{production/index-react-server-client-lf74v6ET.d.mts → development/index-react-server-client-CYIi6gi0.d.mts} +2 -2
- package/dist/development/{index-react-server-client-Iw2PMej2.d.ts → index-react-server-client-ChBGplLn.d.ts} +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 +23 -39
- package/dist/development/index-react-server.d.ts +23 -39
- package/dist/development/index-react-server.js +101 -95
- package/dist/development/index-react-server.mjs +101 -95
- package/dist/development/index.d.mts +6 -6
- package/dist/development/index.d.ts +6 -6
- package/dist/development/index.js +98 -98
- package/dist/development/index.mjs +3 -3
- package/dist/development/{instrumentation-BWRz1MRU.d.ts → instrumentation-BGrNA7uj.d.ts} +23 -39
- 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/development/{routeModules--SgCTStn.d.mts → routeModules-Cy4Xsfoi.d.mts} +1 -1
- package/dist/{production/routeModules-rxNxBmdR.d.ts → development/routeModules-DqotkItD.d.ts} +1 -1
- package/dist/development/{router-DQIRhYoj.d.mts → router-DWv6Clt-.d.mts} +23 -39
- package/dist/production/{chunk-UAAA7FTX.mjs → chunk-52MYED7O.mjs} +2 -2
- package/dist/{development/chunk-ZLVXSGFL.js → production/chunk-DASXXYNZ.js} +134 -134
- package/dist/production/{chunk-ZOHTOBOT.js → chunk-K7VXYOZD.js} +172 -168
- package/dist/production/{chunk-MMAHTIVZ.mjs → chunk-LKSLGWXX.mjs} +173 -169
- 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/{development/index-react-server-client-lf74v6ET.d.mts → production/index-react-server-client-CYIi6gi0.d.mts} +2 -2
- package/dist/production/{index-react-server-client-Iw2PMej2.d.ts → index-react-server-client-ChBGplLn.d.ts} +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 +23 -39
- package/dist/production/index-react-server.d.ts +23 -39
- package/dist/production/index-react-server.js +101 -95
- package/dist/production/index-react-server.mjs +101 -95
- package/dist/production/index.d.mts +6 -6
- package/dist/production/index.d.ts +6 -6
- package/dist/production/index.js +98 -98
- package/dist/production/index.mjs +3 -3
- package/dist/production/{instrumentation-BWRz1MRU.d.ts → instrumentation-BGrNA7uj.d.ts} +23 -39
- 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/production/{routeModules--SgCTStn.d.mts → routeModules-Cy4Xsfoi.d.mts} +1 -1
- package/dist/{development/routeModules-rxNxBmdR.d.ts → production/routeModules-DqotkItD.d.ts} +1 -1
- package/dist/production/{router-DQIRhYoj.d.mts → router-DWv6Clt-.d.mts} +23 -39
- package/package.json +1 -1
|
@@ -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-e0b6ce9
|
|
10
10
|
*
|
|
11
11
|
* Copyright (c) Remix Software Inc.
|
|
12
12
|
*
|
|
@@ -88,7 +88,86 @@ function parsePath(path) {
|
|
|
88
88
|
|
|
89
89
|
// lib/router/instrumentation.ts
|
|
90
90
|
var UninstrumentedSymbol = Symbol("Uninstrumented");
|
|
91
|
-
function
|
|
91
|
+
function getRouteInstrumentationUpdates(fns, route) {
|
|
92
|
+
let aggregated = {
|
|
93
|
+
lazy: [],
|
|
94
|
+
"lazy.loader": [],
|
|
95
|
+
"lazy.action": [],
|
|
96
|
+
"lazy.middleware": [],
|
|
97
|
+
middleware: [],
|
|
98
|
+
loader: [],
|
|
99
|
+
action: []
|
|
100
|
+
};
|
|
101
|
+
fns.forEach(
|
|
102
|
+
(fn) => fn({
|
|
103
|
+
id: route.id,
|
|
104
|
+
index: route.index,
|
|
105
|
+
path: route.path,
|
|
106
|
+
instrument(i) {
|
|
107
|
+
let keys = Object.keys(aggregated);
|
|
108
|
+
for (let key of keys) {
|
|
109
|
+
if (i[key]) {
|
|
110
|
+
aggregated[key].push(i[key]);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
})
|
|
115
|
+
);
|
|
116
|
+
let updates = {};
|
|
117
|
+
if (typeof route.lazy === "function" && aggregated.lazy.length > 0) {
|
|
118
|
+
let instrumented = wrapImpl(aggregated.lazy, route.lazy, () => void 0);
|
|
119
|
+
if (instrumented) {
|
|
120
|
+
updates.lazy = instrumented;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
if (typeof route.lazy === "object") {
|
|
124
|
+
let lazyObject = route.lazy;
|
|
125
|
+
["middleware", "loader", "action"].forEach((key) => {
|
|
126
|
+
let lazyFn = lazyObject[key];
|
|
127
|
+
let instrumentations = aggregated[`lazy.${key}`];
|
|
128
|
+
if (typeof lazyFn === "function" && instrumentations.length > 0) {
|
|
129
|
+
let instrumented = wrapImpl(instrumentations, lazyFn, () => void 0);
|
|
130
|
+
if (instrumented) {
|
|
131
|
+
updates.lazy = Object.assign(updates.lazy || {}, {
|
|
132
|
+
[key]: instrumented
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
});
|
|
137
|
+
}
|
|
138
|
+
["loader", "action"].forEach((key) => {
|
|
139
|
+
let handler = route[key];
|
|
140
|
+
if (typeof handler === "function" && aggregated[key].length > 0) {
|
|
141
|
+
let original = handler[UninstrumentedSymbol] ?? handler;
|
|
142
|
+
let instrumented = wrapImpl(
|
|
143
|
+
aggregated[key],
|
|
144
|
+
original,
|
|
145
|
+
(...args) => getHandlerInfo(args[0])
|
|
146
|
+
);
|
|
147
|
+
if (instrumented) {
|
|
148
|
+
instrumented[UninstrumentedSymbol] = original;
|
|
149
|
+
updates[key] = instrumented;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
});
|
|
153
|
+
if (route.middleware && route.middleware.length > 0 && aggregated.middleware.length > 0) {
|
|
154
|
+
updates.middleware = route.middleware.map((middleware) => {
|
|
155
|
+
let original = middleware[UninstrumentedSymbol] ?? middleware;
|
|
156
|
+
let instrumented = wrapImpl(
|
|
157
|
+
aggregated.middleware,
|
|
158
|
+
original,
|
|
159
|
+
(...args) => getHandlerInfo(args[0])
|
|
160
|
+
);
|
|
161
|
+
if (instrumented) {
|
|
162
|
+
instrumented[UninstrumentedSymbol] = original;
|
|
163
|
+
return instrumented;
|
|
164
|
+
}
|
|
165
|
+
return middleware;
|
|
166
|
+
});
|
|
167
|
+
}
|
|
168
|
+
return updates;
|
|
169
|
+
}
|
|
170
|
+
function wrapImpl(impls, handler, getInfo) {
|
|
92
171
|
if (impls.length === 0) {
|
|
93
172
|
return null;
|
|
94
173
|
}
|
|
@@ -116,102 +195,28 @@ async function recurseRight(impls, info, handler, index) {
|
|
|
116
195
|
}, info);
|
|
117
196
|
}
|
|
118
197
|
}
|
|
119
|
-
function
|
|
198
|
+
function getHandlerInfo(args) {
|
|
120
199
|
let { request, context, params, unstable_pattern } = args;
|
|
121
200
|
return {
|
|
122
|
-
|
|
123
|
-
request: {
|
|
124
|
-
method: request.method,
|
|
125
|
-
url: request.url,
|
|
126
|
-
// Maybe make this a proxy that only supports `get`?
|
|
127
|
-
headers: {
|
|
128
|
-
get: (...args2) => request.headers.get(...args2)
|
|
129
|
-
}
|
|
130
|
-
},
|
|
201
|
+
request: getReadonlyRequest(request),
|
|
131
202
|
params: { ...params },
|
|
132
203
|
unstable_pattern,
|
|
133
|
-
context:
|
|
134
|
-
get: (...args2) => context.get(...args2)
|
|
135
|
-
}
|
|
204
|
+
context: getReadonlyContext(context)
|
|
136
205
|
};
|
|
137
206
|
}
|
|
138
|
-
function
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
207
|
+
function getReadonlyRequest(request) {
|
|
208
|
+
return {
|
|
209
|
+
method: request.method,
|
|
210
|
+
url: request.url,
|
|
211
|
+
headers: {
|
|
212
|
+
get: (...args) => request.headers.get(...args)
|
|
144
213
|
}
|
|
145
|
-
}
|
|
146
|
-
return value;
|
|
214
|
+
};
|
|
147
215
|
}
|
|
148
|
-
function
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
id: route.id,
|
|
153
|
-
index: route.index,
|
|
154
|
-
path: route.path,
|
|
155
|
-
instrument(i) {
|
|
156
|
-
instrumentations.push(i);
|
|
157
|
-
}
|
|
158
|
-
})
|
|
159
|
-
);
|
|
160
|
-
let updates = {};
|
|
161
|
-
if (instrumentations.length > 0) {
|
|
162
|
-
["lazy", "loader", "action"].forEach((key) => {
|
|
163
|
-
let func = route[key];
|
|
164
|
-
if (typeof func === "function") {
|
|
165
|
-
let original = func[UninstrumentedSymbol] ?? func;
|
|
166
|
-
let instrumented = getInstrumentedImplementation(
|
|
167
|
-
getInstrumentationsByType(instrumentations, key),
|
|
168
|
-
original,
|
|
169
|
-
key === "lazy" ? () => void 0 : (...args) => getInstrumentationInfo(
|
|
170
|
-
args[0]
|
|
171
|
-
)
|
|
172
|
-
);
|
|
173
|
-
if (instrumented) {
|
|
174
|
-
instrumented[UninstrumentedSymbol] = original;
|
|
175
|
-
updates[key] = instrumented;
|
|
176
|
-
}
|
|
177
|
-
}
|
|
178
|
-
});
|
|
179
|
-
if (route.middleware && route.middleware.length > 0) {
|
|
180
|
-
updates.middleware = route.middleware.map((middleware) => {
|
|
181
|
-
let original = middleware[UninstrumentedSymbol] ?? middleware;
|
|
182
|
-
let instrumented = getInstrumentedImplementation(
|
|
183
|
-
getInstrumentationsByType(instrumentations, "middleware"),
|
|
184
|
-
original,
|
|
185
|
-
(...args) => getInstrumentationInfo(
|
|
186
|
-
args[0]
|
|
187
|
-
)
|
|
188
|
-
);
|
|
189
|
-
if (instrumented) {
|
|
190
|
-
instrumented[UninstrumentedSymbol] = original;
|
|
191
|
-
return instrumented;
|
|
192
|
-
}
|
|
193
|
-
return middleware;
|
|
194
|
-
});
|
|
195
|
-
}
|
|
196
|
-
if (typeof route.lazy === "object") {
|
|
197
|
-
let lazyObject = route.lazy;
|
|
198
|
-
["middleware", "loader", "action"].forEach((key) => {
|
|
199
|
-
let func = lazyObject[key];
|
|
200
|
-
if (typeof func === "function") {
|
|
201
|
-
let instrumented = getInstrumentedImplementation(
|
|
202
|
-
getInstrumentationsByType(instrumentations, `lazy.${key}`),
|
|
203
|
-
func
|
|
204
|
-
);
|
|
205
|
-
if (instrumented) {
|
|
206
|
-
updates.lazy = Object.assign(updates.lazy || {}, {
|
|
207
|
-
[key]: instrumented
|
|
208
|
-
});
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
});
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
return updates;
|
|
216
|
+
function getReadonlyContext(context) {
|
|
217
|
+
return {
|
|
218
|
+
get: (ctx) => context.get(ctx)
|
|
219
|
+
};
|
|
215
220
|
}
|
|
216
221
|
|
|
217
222
|
// lib/router/utils.ts
|
|
@@ -814,7 +819,7 @@ function createStaticHandler(routes, opts) {
|
|
|
814
819
|
mapRouteProperties = (route) => {
|
|
815
820
|
return {
|
|
816
821
|
..._mapRouteProperties(route),
|
|
817
|
-
...
|
|
822
|
+
...getRouteInstrumentationUpdates(
|
|
818
823
|
instrumentations.map((i) => i.route).filter(Boolean),
|
|
819
824
|
route
|
|
820
825
|
)
|
|
@@ -1312,13 +1317,14 @@ function createStaticHandler(routes, opts) {
|
|
|
1312
1317
|
// Up to but not including the boundary
|
|
1313
1318
|
matches.findIndex((m) => m.route.id === pendingActionResult[0]) - 1
|
|
1314
1319
|
) : void 0;
|
|
1320
|
+
let pattern = getRoutePattern(matches.map((m) => m.route.path));
|
|
1315
1321
|
dsMatches = matches.map((match, index) => {
|
|
1316
1322
|
if (maxIdx != null && index > maxIdx) {
|
|
1317
1323
|
return getDataStrategyMatch(
|
|
1318
1324
|
mapRouteProperties,
|
|
1319
1325
|
manifest,
|
|
1320
1326
|
request,
|
|
1321
|
-
|
|
1327
|
+
pattern,
|
|
1322
1328
|
match,
|
|
1323
1329
|
[],
|
|
1324
1330
|
requestContext,
|
|
@@ -1329,7 +1335,7 @@ function createStaticHandler(routes, opts) {
|
|
|
1329
1335
|
mapRouteProperties,
|
|
1330
1336
|
manifest,
|
|
1331
1337
|
request,
|
|
1332
|
-
|
|
1338
|
+
pattern,
|
|
1333
1339
|
match,
|
|
1334
1340
|
[],
|
|
1335
1341
|
requestContext,
|
|
@@ -1668,7 +1674,7 @@ function runServerMiddlewarePipeline(args, handler, errorHandler) {
|
|
|
1668
1674
|
}
|
|
1669
1675
|
}
|
|
1670
1676
|
async function runMiddlewarePipeline(args, handler, processResult, isResult, errorHandler) {
|
|
1671
|
-
let { matches, request, params, context } = args;
|
|
1677
|
+
let { matches, request, params, context, unstable_pattern } = args;
|
|
1672
1678
|
let tuples = matches.flatMap(
|
|
1673
1679
|
(m) => m.route.middleware ? m.route.middleware.map((fn) => [m.route.id, fn]) : []
|
|
1674
1680
|
);
|
|
@@ -1677,7 +1683,7 @@ async function runMiddlewarePipeline(args, handler, processResult, isResult, err
|
|
|
1677
1683
|
request,
|
|
1678
1684
|
params,
|
|
1679
1685
|
context,
|
|
1680
|
-
unstable_pattern
|
|
1686
|
+
unstable_pattern
|
|
1681
1687
|
},
|
|
1682
1688
|
tuples,
|
|
1683
1689
|
handler,
|
|
@@ -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, aI as Await, ax 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, aU as Future, K as GetScrollPositionFunction, O as GetScrollRestorationKeyFunction, a4 as HTMLFormMethod, aj as IDLE_BLOCKER, ai as IDLE_FETCHER, ah as IDLE_NAVIGATION, ay as IndexRouteProps, az as LayoutRouteProps, a5 as LazyRouteFunction, f as LoaderFunctionArgs, aJ as MemoryRouter, aA as MemoryRouterOpts, aB as MemoryRouterProps, j as MiddlewareFunction, aK as Navigate, aC as NavigateProps, W as NavigationStates, at as Navigator, aL as Outlet, aD as OutletProps, au as PatchRoutesOnNavigationFunctionArgs, a6 as PathParam, aE as PathRouteProps, a7 as RedirectFunction, _ as RevalidationState, aM as Route, av as RouteMatch, aF as RouteProps, aN as Router, a8 as RouterContext, Z as RouterFetchOptions, Y as RouterNavigateOptions, aG as RouterProps, aO as RouterProvider, R as RouterProviderProps, X as RouterSubscriber, aP as Routes, aH as RoutesProps, a9 as ShouldRevalidateFunctionArgs, J as StaticHandler, Q as StaticHandlerContext, aw as UNSAFE_AwaitContextProvider, aZ as UNSAFE_DataRouterContext, a_ as UNSAFE_DataRouterStateContext, d as UNSAFE_DataWithResponseInit, aY as UNSAFE_ErrorResponseImpl, a$ as UNSAFE_FetchersContext, b0 as UNSAFE_LocationContext, b1 as UNSAFE_NavigationContext, b2 as UNSAFE_RouteContext, b3 as UNSAFE_ViewTransitionContext, b6 as UNSAFE_WithComponentProps, ba as UNSAFE_WithErrorBoundaryProps, b8 as UNSAFE_WithHydrateFallbackProps, aV as UNSAFE_createBrowserHistory, aX as UNSAFE_createRouter, b4 as UNSAFE_hydrationRouteProperties, aW as UNSAFE_invariant, b5 as UNSAFE_mapRouteProperties, b7 as UNSAFE_withComponentProps, bb as UNSAFE_withErrorBoundaryProps, b9 as UNSAFE_withHydrateFallbackProps, aa as createContext, aQ as createMemoryRouter, ab as createPath, aR as createRoutesFromChildren, aS as createRoutesFromElements, ak as data, al as generatePath, am as isRouteErrorResponse, an as matchPath, ao as matchRoutes, ac as parsePath, ap as redirect, aq as redirectDocument, aT as renderMatches, ar as replace, as as resolvePath, u as unstable_ClientInstrumentation, b as unstable_ClientOnErrorFunction, ae as unstable_InstrumentRequestHandlerFunction, ag as unstable_InstrumentRouteFunction, af as unstable_InstrumentRouterFunction, ad as unstable_ServerInstrumentation } 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-DWv6Clt-.mjs';
|
|
2
|
+
export { A as ActionFunctionArgs, aI as Await, ax 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, aU as Future, K as GetScrollPositionFunction, O as GetScrollRestorationKeyFunction, a4 as HTMLFormMethod, aj as IDLE_BLOCKER, ai as IDLE_FETCHER, ah as IDLE_NAVIGATION, ay as IndexRouteProps, az as LayoutRouteProps, a5 as LazyRouteFunction, f as LoaderFunctionArgs, aJ as MemoryRouter, aA as MemoryRouterOpts, aB as MemoryRouterProps, j as MiddlewareFunction, aK as Navigate, aC as NavigateProps, W as NavigationStates, at as Navigator, aL as Outlet, aD as OutletProps, au as PatchRoutesOnNavigationFunctionArgs, a6 as PathParam, aE as PathRouteProps, a7 as RedirectFunction, _ as RevalidationState, aM as Route, av as RouteMatch, aF as RouteProps, aN as Router, a8 as RouterContext, Z as RouterFetchOptions, Y as RouterNavigateOptions, aG as RouterProps, aO as RouterProvider, R as RouterProviderProps, X as RouterSubscriber, aP as Routes, aH as RoutesProps, a9 as ShouldRevalidateFunctionArgs, J as StaticHandler, Q as StaticHandlerContext, aw as UNSAFE_AwaitContextProvider, aZ as UNSAFE_DataRouterContext, a_ as UNSAFE_DataRouterStateContext, d as UNSAFE_DataWithResponseInit, aY as UNSAFE_ErrorResponseImpl, a$ as UNSAFE_FetchersContext, b0 as UNSAFE_LocationContext, b1 as UNSAFE_NavigationContext, b2 as UNSAFE_RouteContext, b3 as UNSAFE_ViewTransitionContext, b6 as UNSAFE_WithComponentProps, ba as UNSAFE_WithErrorBoundaryProps, b8 as UNSAFE_WithHydrateFallbackProps, aV as UNSAFE_createBrowserHistory, aX as UNSAFE_createRouter, b4 as UNSAFE_hydrationRouteProperties, aW as UNSAFE_invariant, b5 as UNSAFE_mapRouteProperties, b7 as UNSAFE_withComponentProps, bb as UNSAFE_withErrorBoundaryProps, b9 as UNSAFE_withHydrateFallbackProps, aa as createContext, aQ as createMemoryRouter, ab as createPath, aR as createRoutesFromChildren, aS as createRoutesFromElements, ak as data, al as generatePath, am as isRouteErrorResponse, an as matchPath, ao as matchRoutes, ac as parsePath, ap as redirect, aq as redirectDocument, aT as renderMatches, ar as replace, as as resolvePath, u as unstable_ClientInstrumentation, b as unstable_ClientOnErrorFunction, ae as unstable_InstrumentRequestHandlerFunction, ag as unstable_InstrumentRouteFunction, af as unstable_InstrumentRouterFunction, ad as unstable_ServerInstrumentation } from './router-DWv6Clt-.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-Cy4Xsfoi.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-Cy4Xsfoi.mjs';
|
|
7
|
+
import { A as AssetsManifest, S as ServerBuild, E as EntryContext, F as FutureConfig } from './index-react-server-client-CYIi6gi0.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-CYIi6gi0.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, ab 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, ae as UNSAFE_ErrorResponseImpl, ac as UNSAFE_createBrowserHistory, ad as UNSAFE_invariant, Y as createContext, Z as createPath, a2 as data, a3 as generatePath, a4 as isRouteErrorResponse, a5 as matchPath, a6 as matchRoutes, _ as parsePath, a7 as redirect, a8 as redirectDocument, a9 as replace, aa as resolvePath, u as unstable_ClientInstrumentation, $ as unstable_InstrumentRequestHandlerFunction, a1 as unstable_InstrumentRouteFunction, a0 as unstable_InstrumentRouterFunction, j as unstable_ServerInstrumentation } 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-BGrNA7uj.js';
|
|
2
|
+
export { v as ActionFunctionArgs, J as DataStrategyFunctionArgs, K as DataStrategyMatch, D as DataStrategyResult, N as ErrorResponse, F as FormEncType, O as FormMethod, ab 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, ae as UNSAFE_ErrorResponseImpl, ac as UNSAFE_createBrowserHistory, ad as UNSAFE_invariant, Y as createContext, Z as createPath, a2 as data, a3 as generatePath, a4 as isRouteErrorResponse, a5 as matchPath, a6 as matchRoutes, _ as parsePath, a7 as redirect, a8 as redirectDocument, a9 as replace, aa as resolvePath, u as unstable_ClientInstrumentation, $ as unstable_InstrumentRequestHandlerFunction, a1 as unstable_InstrumentRouteFunction, a0 as unstable_InstrumentRouterFunction, j as unstable_ServerInstrumentation } from './instrumentation-BGrNA7uj.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-DqotkItD.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-DqotkItD.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-ChBGplLn.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-ChBGplLn.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';
|