react-router 7.13.0 → 7.13.1-pre.0
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/CHANGELOG.md +70 -20
- package/dist/development/{browser-BEPxnEBW.d.mts → browser-DzsJABDQ.d.mts} +3 -2
- package/dist/{production/browser-BEPxnEBW.d.mts → development/browser-sPQ7eaK4.d.ts} +3 -2
- package/dist/{production/chunk-GSFLVUYQ.mjs → development/chunk-BPFEYQ6M.mjs} +13 -4
- package/dist/{production/chunk-NGWWS4QJ.js → development/chunk-CGPAOPIJ.js} +7 -7
- package/dist/development/{chunk-WICQJKU6.js → chunk-LF5SS6XE.js} +203 -128
- package/dist/development/{chunk-HMDR2CVH.js → chunk-TC44ITIJ.js} +124 -107
- package/dist/development/{chunk-JZWAC4HX.mjs → chunk-WQZSGSJA.mjs} +153 -63
- package/dist/development/dom-export.d.mts +2 -2
- package/dist/development/dom-export.d.ts +2 -2
- package/dist/development/dom-export.js +34 -27
- package/dist/development/dom-export.mjs +10 -3
- package/dist/development/{index-react-server-client-1TI9M9o1.d.ts → index-react-server-client-C4tCIird.d.ts} +54 -2
- package/dist/development/{index-react-server-client-MKTlCGL3.d.mts → index-react-server-client-EzWJGpN_.d.mts} +54 -2
- package/dist/development/index-react-server-client.d.mts +2 -2
- package/dist/development/index-react-server-client.d.ts +2 -2
- 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 +12 -1
- package/dist/development/index-react-server.d.ts +12 -1
- package/dist/development/index-react-server.js +80 -44
- package/dist/development/index-react-server.mjs +80 -45
- package/dist/development/index.d.mts +11 -10
- package/dist/development/index.d.ts +11 -10
- package/dist/development/index.js +94 -85
- package/dist/development/index.mjs +3 -3
- package/dist/{production/instrumentation-DvHY1sgY.d.ts → development/instrumentation--6Pioq_G.d.ts} +14 -2
- package/dist/development/lib/types/internal.d.mts +4 -4
- package/dist/development/lib/types/internal.d.ts +4 -4
- package/dist/development/lib/types/internal.js +1 -1
- package/dist/development/lib/types/internal.mjs +1 -1
- package/dist/development/{register-Bm80E9qL.d.ts → register-CBoanF80.d.ts} +1 -1
- package/dist/development/{register-CS_tiXsm.d.mts → register-cRYJ3CjG.d.mts} +1 -1
- package/dist/{production/router-5iOvts3c.d.mts → development/router-cLsU7kHk.d.mts} +14 -2
- package/dist/{development/browser-CJ9_du-U.d.ts → production/browser-DzsJABDQ.d.mts} +3 -2
- package/dist/production/{browser-CJ9_du-U.d.ts → browser-sPQ7eaK4.d.ts} +3 -2
- package/dist/production/{chunk-Y3R63HEB.mjs → chunk-2K4LVAAG.mjs} +153 -63
- package/dist/{development/chunk-7PAHGFS4.js → production/chunk-I63A6YSE.js} +7 -7
- package/dist/{development/chunk-4LKRSAEJ.mjs → production/chunk-ROHSFSEU.mjs} +13 -4
- package/dist/production/{chunk-QSNCZFX5.js → chunk-XCKC4VBJ.js} +203 -128
- package/dist/production/{chunk-N2HZAAIG.js → chunk-ZXYVKLN7.js} +124 -107
- package/dist/production/dom-export.d.mts +2 -2
- package/dist/production/dom-export.d.ts +2 -2
- package/dist/production/dom-export.js +34 -27
- package/dist/production/dom-export.mjs +10 -3
- package/dist/production/{index-react-server-client-1TI9M9o1.d.ts → index-react-server-client-C4tCIird.d.ts} +54 -2
- package/dist/production/{index-react-server-client-MKTlCGL3.d.mts → index-react-server-client-EzWJGpN_.d.mts} +54 -2
- package/dist/production/index-react-server-client.d.mts +2 -2
- package/dist/production/index-react-server-client.d.ts +2 -2
- 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 +12 -1
- package/dist/production/index-react-server.d.ts +12 -1
- package/dist/production/index-react-server.js +80 -44
- package/dist/production/index-react-server.mjs +80 -45
- package/dist/production/index.d.mts +11 -10
- package/dist/production/index.d.ts +11 -10
- package/dist/production/index.js +94 -85
- package/dist/production/index.mjs +3 -3
- package/dist/{development/instrumentation-DvHY1sgY.d.ts → production/instrumentation--6Pioq_G.d.ts} +14 -2
- package/dist/production/lib/types/internal.d.mts +4 -4
- package/dist/production/lib/types/internal.d.ts +4 -4
- package/dist/production/lib/types/internal.js +1 -1
- package/dist/production/lib/types/internal.mjs +1 -1
- package/dist/production/{register-Bm80E9qL.d.ts → register-CBoanF80.d.ts} +1 -1
- package/dist/production/{register-CS_tiXsm.d.mts → register-cRYJ3CjG.d.mts} +1 -1
- package/dist/{development/router-5iOvts3c.d.mts → production/router-cLsU7kHk.d.mts} +14 -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 v7.13.0
|
|
2
|
+
* react-router v7.13.1-pre.0
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
var
|
|
17
|
+
var _chunkCGPAOPIJjs = require('./chunk-CGPAOPIJ.js');
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
@@ -40,7 +40,7 @@ var _chunk7PAHGFS4js = require('./chunk-7PAHGFS4.js');
|
|
|
40
40
|
|
|
41
41
|
|
|
42
42
|
|
|
43
|
-
var
|
|
43
|
+
var _chunkTC44ITIJjs = require('./chunk-TC44ITIJ.js');
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
|
|
@@ -149,7 +149,7 @@ var _chunkHMDR2CVHjs = require('./chunk-HMDR2CVH.js');
|
|
|
149
149
|
|
|
150
150
|
|
|
151
151
|
|
|
152
|
-
var
|
|
152
|
+
var _chunkLF5SS6XEjs = require('./chunk-LF5SS6XE.js');
|
|
153
153
|
|
|
154
154
|
// lib/dom/ssr/server.tsx
|
|
155
155
|
var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react); var React3 = _interopRequireWildcard(_react);
|
|
@@ -162,7 +162,7 @@ function ServerRouter({
|
|
|
162
162
|
url = new URL(url);
|
|
163
163
|
}
|
|
164
164
|
let { manifest, routeModules, criticalCss, serverHandoffString } = context;
|
|
165
|
-
let routes =
|
|
165
|
+
let routes = _chunkLF5SS6XEjs.createServerRoutes.call(void 0,
|
|
166
166
|
manifest.routes,
|
|
167
167
|
routeModules,
|
|
168
168
|
context.future,
|
|
@@ -175,7 +175,7 @@ function ServerRouter({
|
|
|
175
175
|
let routeId = match.route.id;
|
|
176
176
|
let route = routeModules[routeId];
|
|
177
177
|
let manifestRoute = context.manifest.routes[routeId];
|
|
178
|
-
if (route && manifestRoute &&
|
|
178
|
+
if (route && manifestRoute && _chunkLF5SS6XEjs.shouldHydrateRouteLoader.call(void 0,
|
|
179
179
|
routeId,
|
|
180
180
|
route.clientLoader,
|
|
181
181
|
manifestRoute.hasLoader,
|
|
@@ -184,9 +184,9 @@ function ServerRouter({
|
|
|
184
184
|
delete context.staticHandlerContext.loaderData[routeId];
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
|
-
let router =
|
|
187
|
+
let router = _chunkTC44ITIJjs.createStaticRouter.call(void 0, routes, context.staticHandlerContext);
|
|
188
188
|
return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
|
|
189
|
-
|
|
189
|
+
_chunkLF5SS6XEjs.FrameworkContext.Provider,
|
|
190
190
|
{
|
|
191
191
|
value: {
|
|
192
192
|
manifest,
|
|
@@ -201,8 +201,8 @@ function ServerRouter({
|
|
|
201
201
|
renderMeta: context.renderMeta
|
|
202
202
|
}
|
|
203
203
|
},
|
|
204
|
-
/* @__PURE__ */ React.createElement(
|
|
205
|
-
|
|
204
|
+
/* @__PURE__ */ React.createElement(_chunkLF5SS6XEjs.RemixErrorBoundary, { location: router.state.location }, /* @__PURE__ */ React.createElement(
|
|
205
|
+
_chunkTC44ITIJjs.StaticRouterProvider,
|
|
206
206
|
{
|
|
207
207
|
router,
|
|
208
208
|
context: context.staticHandlerContext,
|
|
@@ -210,7 +210,7 @@ function ServerRouter({
|
|
|
210
210
|
}
|
|
211
211
|
))
|
|
212
212
|
), context.serverHandoffStream ? /* @__PURE__ */ React.createElement(React.Suspense, null, /* @__PURE__ */ React.createElement(
|
|
213
|
-
|
|
213
|
+
_chunkLF5SS6XEjs.StreamTransfer,
|
|
214
214
|
{
|
|
215
215
|
context,
|
|
216
216
|
identifier: 0,
|
|
@@ -253,18 +253,18 @@ function createRoutesStub(routes, _context) {
|
|
|
253
253
|
let patched = processRoutes(
|
|
254
254
|
// @ts-expect-error `StubRouteObject` is stricter about `loader`/`action`
|
|
255
255
|
// types compared to `AgnosticRouteObject`
|
|
256
|
-
|
|
257
|
-
_context !== void 0 ? _context : _optionalChain([future, 'optionalAccess', _5 => _5.v8_middleware]) ? new (0,
|
|
256
|
+
_chunkLF5SS6XEjs.convertRoutesToDataRoutes.call(void 0, routes, (r) => r),
|
|
257
|
+
_context !== void 0 ? _context : _optionalChain([future, 'optionalAccess', _5 => _5.v8_middleware]) ? new (0, _chunkLF5SS6XEjs.RouterContextProvider)() : {},
|
|
258
258
|
frameworkContextRef.current.manifest,
|
|
259
259
|
frameworkContextRef.current.routeModules
|
|
260
260
|
);
|
|
261
|
-
routerRef.current =
|
|
261
|
+
routerRef.current = _chunkLF5SS6XEjs.createMemoryRouter.call(void 0, patched, {
|
|
262
262
|
initialEntries,
|
|
263
263
|
initialIndex,
|
|
264
264
|
hydrationData
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
|
-
return /* @__PURE__ */ React2.createElement(
|
|
267
|
+
return /* @__PURE__ */ React2.createElement(_chunkLF5SS6XEjs.FrameworkContext.Provider, { value: frameworkContextRef.current }, /* @__PURE__ */ React2.createElement(_chunkLF5SS6XEjs.RouterProvider, { router: routerRef.current }));
|
|
268
268
|
};
|
|
269
269
|
}
|
|
270
270
|
function processRoutes(routes, context, manifest, routeModules, parentId) {
|
|
@@ -278,9 +278,9 @@ function processRoutes(routes, context, manifest, routeModules, parentId) {
|
|
|
278
278
|
id: route.id,
|
|
279
279
|
path: route.path,
|
|
280
280
|
index: route.index,
|
|
281
|
-
Component: route.Component ?
|
|
282
|
-
HydrateFallback: route.HydrateFallback ?
|
|
283
|
-
ErrorBoundary: route.ErrorBoundary ?
|
|
281
|
+
Component: route.Component ? _chunkLF5SS6XEjs.withComponentProps.call(void 0, route.Component) : void 0,
|
|
282
|
+
HydrateFallback: route.HydrateFallback ? _chunkLF5SS6XEjs.withHydrateFallbackProps.call(void 0, route.HydrateFallback) : void 0,
|
|
283
|
+
ErrorBoundary: route.ErrorBoundary ? _chunkLF5SS6XEjs.withErrorBoundaryProps.call(void 0, route.ErrorBoundary) : void 0,
|
|
284
284
|
action: route.action ? (args) => route.action({ ...args, context }) : void 0,
|
|
285
285
|
loader: route.loader ? (args) => route.loader({ ...args, context }) : void 0,
|
|
286
286
|
middleware: route.middleware ? route.middleware.map(
|
|
@@ -315,7 +315,7 @@ function processRoutes(routes, context, manifest, routeModules, parentId) {
|
|
|
315
315
|
};
|
|
316
316
|
manifest.routes[newRoute.id] = entryRoute;
|
|
317
317
|
routeModules[route.id] = {
|
|
318
|
-
default: newRoute.Component ||
|
|
318
|
+
default: newRoute.Component || _chunkLF5SS6XEjs.Outlet,
|
|
319
319
|
ErrorBoundary: newRoute.ErrorBoundary || void 0,
|
|
320
320
|
handle: route.handle,
|
|
321
321
|
links: route.links,
|
|
@@ -510,7 +510,7 @@ function myUnescape(value) {
|
|
|
510
510
|
return result;
|
|
511
511
|
}
|
|
512
512
|
function warnOnceAboutExpiresCookie(name, expires) {
|
|
513
|
-
|
|
513
|
+
_chunkLF5SS6XEjs.warnOnce.call(void 0,
|
|
514
514
|
!expires,
|
|
515
515
|
`The "${name}" cookie has an "expires" property set. This will cause the expires value to not be updated when the session is committed. Instead, you should set the expires value when serializing the cookie. You can use \`commitSession(session, { expires })\` if using a session storage object, or \`cookie.serialize("value", { expires })\` if you're using the cookie directly.`
|
|
516
516
|
);
|
|
@@ -564,7 +564,7 @@ function serializeErrors(errors, serverMode) {
|
|
|
564
564
|
let entries = Object.entries(errors);
|
|
565
565
|
let serialized = {};
|
|
566
566
|
for (let [key, val] of entries) {
|
|
567
|
-
if (
|
|
567
|
+
if (_chunkLF5SS6XEjs.isRouteErrorResponse.call(void 0, val)) {
|
|
568
568
|
serialized[key] = { ...val, __type: "RouteErrorResponse" };
|
|
569
569
|
} else if (val instanceof Error) {
|
|
570
570
|
let sanitized = sanitizeError(val, serverMode);
|
|
@@ -589,7 +589,7 @@ function serializeErrors(errors, serverMode) {
|
|
|
589
589
|
|
|
590
590
|
// lib/server-runtime/routeMatching.ts
|
|
591
591
|
function matchServerRoutes(routes, pathname, basename) {
|
|
592
|
-
let matches =
|
|
592
|
+
let matches = _chunkLF5SS6XEjs.matchRoutes.call(void 0,
|
|
593
593
|
routes,
|
|
594
594
|
pathname,
|
|
595
595
|
basename
|
|
@@ -610,7 +610,7 @@ async function callRouteHandler(handler, args) {
|
|
|
610
610
|
context: args.context,
|
|
611
611
|
unstable_pattern: args.unstable_pattern
|
|
612
612
|
});
|
|
613
|
-
if (
|
|
613
|
+
if (_chunkLF5SS6XEjs.isDataWithResponseInit.call(void 0, result) && result.init && result.init.status && _chunkLF5SS6XEjs.isRedirectStatusCode.call(void 0, result.init.status)) {
|
|
614
614
|
throw new Response(null, result.init);
|
|
615
615
|
}
|
|
616
616
|
return result;
|
|
@@ -729,17 +729,17 @@ function createStaticHandlerDataRoutes(manifest, future, parentId = "", routesBy
|
|
|
729
729
|
controller.close();
|
|
730
730
|
}
|
|
731
731
|
});
|
|
732
|
-
let decoded = await
|
|
732
|
+
let decoded = await _chunkLF5SS6XEjs.decodeViaTurboStream.call(void 0, stream, global);
|
|
733
733
|
let data2 = decoded.value;
|
|
734
|
-
if (data2 &&
|
|
735
|
-
let result = data2[
|
|
734
|
+
if (data2 && _chunkLF5SS6XEjs.SingleFetchRedirectSymbol in data2) {
|
|
735
|
+
let result = data2[_chunkLF5SS6XEjs.SingleFetchRedirectSymbol];
|
|
736
736
|
let init = { status: result.status };
|
|
737
737
|
if (result.reload) {
|
|
738
|
-
throw
|
|
738
|
+
throw _chunkLF5SS6XEjs.redirectDocument.call(void 0, result.redirect, init);
|
|
739
739
|
} else if (result.replace) {
|
|
740
|
-
throw
|
|
740
|
+
throw _chunkLF5SS6XEjs.replace.call(void 0, result.redirect, init);
|
|
741
741
|
} else {
|
|
742
|
-
throw
|
|
742
|
+
throw _chunkLF5SS6XEjs.redirect.call(void 0, result.redirect, init);
|
|
743
743
|
}
|
|
744
744
|
} else {
|
|
745
745
|
invariant2(
|
|
@@ -778,7 +778,7 @@ function createStaticHandlerDataRoutes(manifest, future, parentId = "", routesBy
|
|
|
778
778
|
|
|
779
779
|
// lib/server-runtime/serverHandoff.ts
|
|
780
780
|
function createServerHandoffString(serverHandoff) {
|
|
781
|
-
return
|
|
781
|
+
return _chunkLF5SS6XEjs.escapeHtml.call(void 0, JSON.stringify(serverHandoff));
|
|
782
782
|
}
|
|
783
783
|
|
|
784
784
|
// lib/server-runtime/headers.ts
|
|
@@ -856,7 +856,14 @@ function prependCookies(parentHeaders, childHeaders) {
|
|
|
856
856
|
// lib/actions.ts
|
|
857
857
|
function throwIfPotentialCSRFAttack(headers, allowedActionOrigins) {
|
|
858
858
|
let originHeader = headers.get("origin");
|
|
859
|
-
let originDomain =
|
|
859
|
+
let originDomain = null;
|
|
860
|
+
try {
|
|
861
|
+
originDomain = typeof originHeader === "string" && originHeader !== "null" ? new URL(originHeader).host : originHeader;
|
|
862
|
+
} catch (e2) {
|
|
863
|
+
throw new Error(
|
|
864
|
+
`\`origin\` header is not a valid URL. Aborting the action.`
|
|
865
|
+
);
|
|
866
|
+
}
|
|
860
867
|
let host = parseHostHeader(headers);
|
|
861
868
|
if (originDomain && (!host || originDomain !== host.value)) {
|
|
862
869
|
if (!isAllowedOrigin(originDomain, allowedActionOrigins)) {
|
|
@@ -931,7 +938,7 @@ function parseHostHeader(headers) {
|
|
|
931
938
|
|
|
932
939
|
// lib/server-runtime/single-fetch.ts
|
|
933
940
|
var SERVER_NO_BODY_STATUS_CODES = /* @__PURE__ */ new Set([
|
|
934
|
-
...
|
|
941
|
+
..._chunkLF5SS6XEjs.NO_BODY_STATUS_CODES,
|
|
935
942
|
304
|
|
936
943
|
]);
|
|
937
944
|
async function singleFetchAction(build, serverMode, staticHandler, request, handlerUrl, loadContext, handleError) {
|
|
@@ -969,7 +976,7 @@ async function singleFetchAction(build, serverMode, staticHandler, request, hand
|
|
|
969
976
|
return handleQueryError(error);
|
|
970
977
|
}
|
|
971
978
|
function handleQueryResult(result) {
|
|
972
|
-
return
|
|
979
|
+
return _chunkLF5SS6XEjs.isResponse.call(void 0, result) ? result : staticContextToResponse(result);
|
|
973
980
|
}
|
|
974
981
|
function handleQueryError(error, status = 500) {
|
|
975
982
|
handleError(error);
|
|
@@ -981,12 +988,12 @@ async function singleFetchAction(build, serverMode, staticHandler, request, hand
|
|
|
981
988
|
}
|
|
982
989
|
function staticContextToResponse(context) {
|
|
983
990
|
let headers = getDocumentHeaders(context, build);
|
|
984
|
-
if (
|
|
991
|
+
if (_chunkLF5SS6XEjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
|
|
985
992
|
return new Response(null, { status: context.statusCode, headers });
|
|
986
993
|
}
|
|
987
994
|
if (context.errors) {
|
|
988
995
|
Object.values(context.errors).forEach((err) => {
|
|
989
|
-
if (!
|
|
996
|
+
if (!_chunkLF5SS6XEjs.isRouteErrorResponse.call(void 0, err) || err.error) {
|
|
990
997
|
handleError(err);
|
|
991
998
|
}
|
|
992
999
|
});
|
|
@@ -1033,7 +1040,7 @@ async function singleFetchLoaders(build, serverMode, staticHandler, request, han
|
|
|
1033
1040
|
return handleQueryError(error);
|
|
1034
1041
|
}
|
|
1035
1042
|
function handleQueryResult(result) {
|
|
1036
|
-
return
|
|
1043
|
+
return _chunkLF5SS6XEjs.isResponse.call(void 0, result) ? result : staticContextToResponse(result);
|
|
1037
1044
|
}
|
|
1038
1045
|
function handleQueryError(error) {
|
|
1039
1046
|
handleError(error);
|
|
@@ -1045,12 +1052,12 @@ async function singleFetchLoaders(build, serverMode, staticHandler, request, han
|
|
|
1045
1052
|
}
|
|
1046
1053
|
function staticContextToResponse(context) {
|
|
1047
1054
|
let headers = getDocumentHeaders(context, build);
|
|
1048
|
-
if (
|
|
1055
|
+
if (_chunkLF5SS6XEjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
|
|
1049
1056
|
return new Response(null, { status: context.statusCode, headers });
|
|
1050
1057
|
}
|
|
1051
1058
|
if (context.errors) {
|
|
1052
1059
|
Object.values(context.errors).forEach((err) => {
|
|
1053
|
-
if (!
|
|
1060
|
+
if (!_chunkLF5SS6XEjs.isRouteErrorResponse.call(void 0, err) || err.error) {
|
|
1054
1061
|
handleError(err);
|
|
1055
1062
|
}
|
|
1056
1063
|
});
|
|
@@ -1114,15 +1121,15 @@ function generateSingleFetchRedirectResponse(redirectResponse, request, build, s
|
|
|
1114
1121
|
headers.delete("Location");
|
|
1115
1122
|
headers.set("Content-Type", "text/x-script");
|
|
1116
1123
|
return generateSingleFetchResponse(request, build, serverMode, {
|
|
1117
|
-
result: request.method === "GET" ? { [
|
|
1124
|
+
result: request.method === "GET" ? { [_chunkLF5SS6XEjs.SingleFetchRedirectSymbol]: redirect2 } : redirect2,
|
|
1118
1125
|
headers,
|
|
1119
|
-
status:
|
|
1126
|
+
status: _chunkLF5SS6XEjs.SINGLE_FETCH_REDIRECT_STATUS
|
|
1120
1127
|
});
|
|
1121
1128
|
}
|
|
1122
1129
|
function getSingleFetchRedirect(status, headers, basename) {
|
|
1123
1130
|
let redirect2 = headers.get("Location");
|
|
1124
1131
|
if (basename) {
|
|
1125
|
-
redirect2 =
|
|
1132
|
+
redirect2 = _chunkLF5SS6XEjs.stripBasename.call(void 0, redirect2, basename) || redirect2;
|
|
1126
1133
|
}
|
|
1127
1134
|
return {
|
|
1128
1135
|
redirect: redirect2,
|
|
@@ -1147,21 +1154,23 @@ function encodeViaTurboStream(data2, requestSignal, streamTimeout, serverMode) {
|
|
|
1147
1154
|
() => controller.abort(new Error("Server Timeout")),
|
|
1148
1155
|
typeof streamTimeout === "number" ? streamTimeout : 4950
|
|
1149
1156
|
);
|
|
1150
|
-
|
|
1151
|
-
|
|
1157
|
+
let clearStreamTimeout = () => clearTimeout(timeoutId);
|
|
1158
|
+
requestSignal.addEventListener("abort", clearStreamTimeout);
|
|
1159
|
+
return _chunkLF5SS6XEjs.encode.call(void 0, data2, {
|
|
1152
1160
|
signal: controller.signal,
|
|
1161
|
+
onComplete: clearStreamTimeout,
|
|
1153
1162
|
plugins: [
|
|
1154
1163
|
(value) => {
|
|
1155
1164
|
if (value instanceof Error) {
|
|
1156
1165
|
let { name, message, stack } = serverMode === "production" /* Production */ ? sanitizeError(value, serverMode) : value;
|
|
1157
1166
|
return ["SanitizedError", name, message, stack];
|
|
1158
1167
|
}
|
|
1159
|
-
if (value instanceof
|
|
1168
|
+
if (value instanceof _chunkLF5SS6XEjs.ErrorResponseImpl) {
|
|
1160
1169
|
let { data: data3, status, statusText } = value;
|
|
1161
1170
|
return ["ErrorResponse", data3, status, statusText];
|
|
1162
1171
|
}
|
|
1163
|
-
if (value && typeof value === "object" &&
|
|
1164
|
-
return ["SingleFetchRedirect", value[
|
|
1172
|
+
if (value && typeof value === "object" && _chunkLF5SS6XEjs.SingleFetchRedirectSymbol in value) {
|
|
1173
|
+
return ["SingleFetchRedirect", value[_chunkLF5SS6XEjs.SingleFetchRedirectSymbol]];
|
|
1165
1174
|
}
|
|
1166
1175
|
}
|
|
1167
1176
|
],
|
|
@@ -1184,7 +1193,7 @@ function derive(build, mode) {
|
|
|
1184
1193
|
let routes = createRoutes(build.routes);
|
|
1185
1194
|
let dataRoutes = createStaticHandlerDataRoutes(build.routes, build.future);
|
|
1186
1195
|
let serverMode = isServerMode(mode) ? mode : "production" /* Production */;
|
|
1187
|
-
let staticHandler =
|
|
1196
|
+
let staticHandler = _chunkLF5SS6XEjs.createStaticHandler.call(void 0, dataRoutes, {
|
|
1188
1197
|
basename: build.basename,
|
|
1189
1198
|
unstable_instrumentations: build.entry.module.unstable_instrumentations
|
|
1190
1199
|
});
|
|
@@ -1192,7 +1201,7 @@ function derive(build, mode) {
|
|
|
1192
1201
|
if (serverMode !== "test" /* Test */ && !request.signal.aborted) {
|
|
1193
1202
|
console.error(
|
|
1194
1203
|
// @ts-expect-error This is "private" from users but intended for internal use
|
|
1195
|
-
|
|
1204
|
+
_chunkLF5SS6XEjs.isRouteErrorResponse.call(void 0, error) && error.error ? error.error : error
|
|
1196
1205
|
);
|
|
1197
1206
|
}
|
|
1198
1207
|
});
|
|
@@ -1210,14 +1219,14 @@ function derive(build, mode) {
|
|
|
1210
1219
|
});
|
|
1211
1220
|
};
|
|
1212
1221
|
if (build.future.v8_middleware) {
|
|
1213
|
-
if (initialContext && !(initialContext instanceof
|
|
1222
|
+
if (initialContext && !(initialContext instanceof _chunkLF5SS6XEjs.RouterContextProvider)) {
|
|
1214
1223
|
let error = new Error(
|
|
1215
1224
|
"Invalid `context` value provided to `handleRequest`. When middleware is enabled you must return an instance of `RouterContextProvider` from your `getLoadContext` function."
|
|
1216
1225
|
);
|
|
1217
1226
|
handleError(error);
|
|
1218
1227
|
return returnLastResortErrorResponse(error, serverMode);
|
|
1219
1228
|
}
|
|
1220
|
-
loadContext = initialContext || new (0,
|
|
1229
|
+
loadContext = initialContext || new (0, _chunkLF5SS6XEjs.RouterContextProvider)();
|
|
1221
1230
|
} else {
|
|
1222
1231
|
loadContext = initialContext || {};
|
|
1223
1232
|
}
|
|
@@ -1231,12 +1240,12 @@ function derive(build, mode) {
|
|
|
1231
1240
|
normalizedPath = normalizedPath.replace(/\.data$/, "");
|
|
1232
1241
|
}
|
|
1233
1242
|
} else {
|
|
1234
|
-
if (
|
|
1243
|
+
if (_chunkLF5SS6XEjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) === "/_root.data") {
|
|
1235
1244
|
normalizedPath = normalizedBasename;
|
|
1236
1245
|
} else if (normalizedPath.endsWith(".data")) {
|
|
1237
1246
|
normalizedPath = normalizedPath.replace(/\.data$/, "");
|
|
1238
1247
|
}
|
|
1239
|
-
if (
|
|
1248
|
+
if (_chunkLF5SS6XEjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) !== "/" && normalizedPath.endsWith("/")) {
|
|
1240
1249
|
normalizedPath = normalizedPath.slice(0, -1);
|
|
1241
1250
|
}
|
|
1242
1251
|
}
|
|
@@ -1244,10 +1253,10 @@ function derive(build, mode) {
|
|
|
1244
1253
|
if (!build.ssr) {
|
|
1245
1254
|
let decodedPath = decodeURI(normalizedPath);
|
|
1246
1255
|
if (normalizedBasename !== "/") {
|
|
1247
|
-
let strippedPath =
|
|
1256
|
+
let strippedPath = _chunkLF5SS6XEjs.stripBasename.call(void 0, decodedPath, normalizedBasename);
|
|
1248
1257
|
if (strippedPath == null) {
|
|
1249
1258
|
errorHandler(
|
|
1250
|
-
new (0,
|
|
1259
|
+
new (0, _chunkLF5SS6XEjs.ErrorResponseImpl)(
|
|
1251
1260
|
404,
|
|
1252
1261
|
"Not Found",
|
|
1253
1262
|
`Refusing to prerender the \`${decodedPath}\` path because it does not start with the basename \`${normalizedBasename}\``
|
|
@@ -1270,7 +1279,7 @@ function derive(build, mode) {
|
|
|
1270
1279
|
} else if (!build.prerender.includes(decodedPath) && !build.prerender.includes(decodedPath + "/")) {
|
|
1271
1280
|
if (url.pathname.endsWith(".data")) {
|
|
1272
1281
|
errorHandler(
|
|
1273
|
-
new (0,
|
|
1282
|
+
new (0, _chunkLF5SS6XEjs.ErrorResponseImpl)(
|
|
1274
1283
|
404,
|
|
1275
1284
|
"Not Found",
|
|
1276
1285
|
`Refusing to SSR the path \`${decodedPath}\` because \`ssr:false\` is set and the path is not included in the \`prerender\` config, so in production the path will be a 404.`
|
|
@@ -1290,7 +1299,7 @@ function derive(build, mode) {
|
|
|
1290
1299
|
}
|
|
1291
1300
|
}
|
|
1292
1301
|
}
|
|
1293
|
-
let manifestUrl =
|
|
1302
|
+
let manifestUrl = _chunkLF5SS6XEjs.getManifestPath.call(void 0,
|
|
1294
1303
|
build.routeDiscovery.manifestPath,
|
|
1295
1304
|
normalizedBasename
|
|
1296
1305
|
);
|
|
@@ -1325,7 +1334,7 @@ function derive(build, mode) {
|
|
|
1325
1334
|
loadContext,
|
|
1326
1335
|
handleError
|
|
1327
1336
|
);
|
|
1328
|
-
if (
|
|
1337
|
+
if (_chunkLF5SS6XEjs.isRedirectResponse.call(void 0, response)) {
|
|
1329
1338
|
response = generateSingleFetchRedirectResponse(
|
|
1330
1339
|
response,
|
|
1331
1340
|
request,
|
|
@@ -1339,7 +1348,7 @@ function derive(build, mode) {
|
|
|
1339
1348
|
params: singleFetchMatches ? singleFetchMatches[0].params : {},
|
|
1340
1349
|
request
|
|
1341
1350
|
});
|
|
1342
|
-
if (
|
|
1351
|
+
if (_chunkLF5SS6XEjs.isRedirectResponse.call(void 0, response)) {
|
|
1343
1352
|
response = generateSingleFetchRedirectResponse(
|
|
1344
1353
|
response,
|
|
1345
1354
|
request,
|
|
@@ -1387,7 +1396,7 @@ function derive(build, mode) {
|
|
|
1387
1396
|
return response;
|
|
1388
1397
|
};
|
|
1389
1398
|
if (build.entry.module.unstable_instrumentations) {
|
|
1390
|
-
requestHandler =
|
|
1399
|
+
requestHandler = _chunkLF5SS6XEjs.instrumentHandler.call(void 0,
|
|
1391
1400
|
requestHandler,
|
|
1392
1401
|
build.entry.module.unstable_instrumentations.map((i) => i.handler).filter(Boolean)
|
|
1393
1402
|
);
|
|
@@ -1510,7 +1519,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
|
|
|
1510
1519
|
generateMiddlewareResponse: build.future.v8_middleware ? async (query) => {
|
|
1511
1520
|
try {
|
|
1512
1521
|
let innerResult = await query(request);
|
|
1513
|
-
if (!
|
|
1522
|
+
if (!_chunkLF5SS6XEjs.isResponse.call(void 0, innerResult)) {
|
|
1514
1523
|
innerResult = await renderHtml(innerResult, isSpaMode);
|
|
1515
1524
|
}
|
|
1516
1525
|
return innerResult;
|
|
@@ -1520,7 +1529,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
|
|
|
1520
1529
|
}
|
|
1521
1530
|
} : void 0
|
|
1522
1531
|
});
|
|
1523
|
-
if (!
|
|
1532
|
+
if (!_chunkLF5SS6XEjs.isResponse.call(void 0, result)) {
|
|
1524
1533
|
result = await renderHtml(result, isSpaMode);
|
|
1525
1534
|
}
|
|
1526
1535
|
return result;
|
|
@@ -1535,7 +1544,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
|
|
|
1535
1544
|
}
|
|
1536
1545
|
if (context.errors) {
|
|
1537
1546
|
Object.values(context.errors).forEach((err) => {
|
|
1538
|
-
if (!
|
|
1547
|
+
if (!_chunkLF5SS6XEjs.isRouteErrorResponse.call(void 0, err) || err.error) {
|
|
1539
1548
|
handleError(err);
|
|
1540
1549
|
}
|
|
1541
1550
|
});
|
|
@@ -1587,10 +1596,10 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
|
|
|
1587
1596
|
} catch (error) {
|
|
1588
1597
|
handleError(error);
|
|
1589
1598
|
let errorForSecondRender = error;
|
|
1590
|
-
if (
|
|
1599
|
+
if (_chunkLF5SS6XEjs.isResponse.call(void 0, error)) {
|
|
1591
1600
|
try {
|
|
1592
1601
|
let data2 = await unwrapResponse(error);
|
|
1593
|
-
errorForSecondRender = new (0,
|
|
1602
|
+
errorForSecondRender = new (0, _chunkLF5SS6XEjs.ErrorResponseImpl)(
|
|
1594
1603
|
error.status,
|
|
1595
1604
|
error.statusText,
|
|
1596
1605
|
data2
|
|
@@ -1598,7 +1607,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
|
|
|
1598
1607
|
} catch (e) {
|
|
1599
1608
|
}
|
|
1600
1609
|
}
|
|
1601
|
-
context =
|
|
1610
|
+
context = _chunkLF5SS6XEjs.getStaticContextFromError.call(void 0,
|
|
1602
1611
|
staticHandler.dataRoutes,
|
|
1603
1612
|
context,
|
|
1604
1613
|
errorForSecondRender
|
|
@@ -1657,7 +1666,7 @@ async function handleResourceRequest(serverMode, build, staticHandler, routeId,
|
|
|
1657
1666
|
return handleQueryRouteError(error);
|
|
1658
1667
|
}
|
|
1659
1668
|
function handleQueryRouteResult(result) {
|
|
1660
|
-
if (
|
|
1669
|
+
if (_chunkLF5SS6XEjs.isResponse.call(void 0, result)) {
|
|
1661
1670
|
return result;
|
|
1662
1671
|
}
|
|
1663
1672
|
if (typeof result === "string") {
|
|
@@ -1666,10 +1675,10 @@ async function handleResourceRequest(serverMode, build, staticHandler, routeId,
|
|
|
1666
1675
|
return Response.json(result);
|
|
1667
1676
|
}
|
|
1668
1677
|
function handleQueryRouteError(error) {
|
|
1669
|
-
if (
|
|
1678
|
+
if (_chunkLF5SS6XEjs.isResponse.call(void 0, error)) {
|
|
1670
1679
|
return error;
|
|
1671
1680
|
}
|
|
1672
|
-
if (
|
|
1681
|
+
if (_chunkLF5SS6XEjs.isRouteErrorResponse.call(void 0, error)) {
|
|
1673
1682
|
handleError(error);
|
|
1674
1683
|
return errorResponseToJson(error, serverMode);
|
|
1675
1684
|
}
|
|
@@ -1792,7 +1801,7 @@ function createSessionStorage({
|
|
|
1792
1801
|
};
|
|
1793
1802
|
}
|
|
1794
1803
|
function warnOnceAboutSigningSessionCookie(cookie) {
|
|
1795
|
-
|
|
1804
|
+
_chunkLF5SS6XEjs.warnOnce.call(void 0,
|
|
1796
1805
|
cookie.isSigned,
|
|
1797
1806
|
`The "${cookie.name}" cookie is not signed, but session cookies should be signed to prevent tampering on the client before they are sent back to the server. See https://reactrouter.com/explanation/sessions-and-cookies#signing-cookies for more information.`
|
|
1798
1807
|
);
|
|
@@ -2072,7 +2081,7 @@ async function routeRSCServerRequest({
|
|
|
2072
2081
|
const payload = await createFromReadableStream(
|
|
2073
2082
|
detectRedirectResponse.body
|
|
2074
2083
|
);
|
|
2075
|
-
if (serverResponse.status ===
|
|
2084
|
+
if (serverResponse.status === _chunkLF5SS6XEjs.SINGLE_FETCH_REDIRECT_STATUS && payload.type === "redirect") {
|
|
2076
2085
|
const headers2 = new Headers(serverResponse.headers);
|
|
2077
2086
|
headers2.delete("Content-Encoding");
|
|
2078
2087
|
headers2.delete("Content-Length");
|
|
@@ -2091,11 +2100,11 @@ async function routeRSCServerRequest({
|
|
|
2091
2100
|
let html = await renderHTML(getPayload, {
|
|
2092
2101
|
onError(error) {
|
|
2093
2102
|
if (typeof error === "object" && error && "digest" in error && typeof error.digest === "string") {
|
|
2094
|
-
renderRedirect =
|
|
2103
|
+
renderRedirect = _chunkLF5SS6XEjs.decodeRedirectErrorDigest.call(void 0, error.digest);
|
|
2095
2104
|
if (renderRedirect) {
|
|
2096
2105
|
return error.digest;
|
|
2097
2106
|
}
|
|
2098
|
-
let routeErrorResponse =
|
|
2107
|
+
let routeErrorResponse = _chunkLF5SS6XEjs.decodeRouteErrorResponseDigest.call(void 0, error.digest);
|
|
2099
2108
|
if (routeErrorResponse) {
|
|
2100
2109
|
renderError = routeErrorResponse;
|
|
2101
2110
|
status = routeErrorResponse.status;
|
|
@@ -2127,7 +2136,7 @@ async function routeRSCServerRequest({
|
|
|
2127
2136
|
if (renderRedirect) {
|
|
2128
2137
|
controller.enqueue(
|
|
2129
2138
|
new TextEncoder().encode(
|
|
2130
|
-
`<meta http-equiv="refresh" content="0;url=${
|
|
2139
|
+
`<meta http-equiv="refresh" content="0;url=${_chunkLF5SS6XEjs.escapeHtml.call(void 0, renderRedirect.location)}"/>`
|
|
2131
2140
|
)
|
|
2132
2141
|
);
|
|
2133
2142
|
}
|
|
@@ -2163,7 +2172,7 @@ async function routeRSCServerRequest({
|
|
|
2163
2172
|
}
|
|
2164
2173
|
try {
|
|
2165
2174
|
reason = _nullishCoalesce(renderError, () => ( reason));
|
|
2166
|
-
let [status, statusText] =
|
|
2175
|
+
let [status, statusText] = _chunkLF5SS6XEjs.isRouteErrorResponse.call(void 0, reason) ? [reason.status, reason.statusText] : [500, ""];
|
|
2167
2176
|
let retryRedirect;
|
|
2168
2177
|
let reactHeaders = new Headers();
|
|
2169
2178
|
const html = await renderHTML(
|
|
@@ -2200,11 +2209,11 @@ async function routeRSCServerRequest({
|
|
|
2200
2209
|
{
|
|
2201
2210
|
onError(error) {
|
|
2202
2211
|
if (typeof error === "object" && error && "digest" in error && typeof error.digest === "string") {
|
|
2203
|
-
retryRedirect =
|
|
2212
|
+
retryRedirect = _chunkLF5SS6XEjs.decodeRedirectErrorDigest.call(void 0, error.digest);
|
|
2204
2213
|
if (retryRedirect) {
|
|
2205
2214
|
return error.digest;
|
|
2206
2215
|
}
|
|
2207
|
-
let routeErrorResponse =
|
|
2216
|
+
let routeErrorResponse = _chunkLF5SS6XEjs.decodeRouteErrorResponseDigest.call(void 0,
|
|
2208
2217
|
error.digest
|
|
2209
2218
|
);
|
|
2210
2219
|
if (routeErrorResponse) {
|
|
@@ -2238,7 +2247,7 @@ async function routeRSCServerRequest({
|
|
|
2238
2247
|
if (retryRedirect) {
|
|
2239
2248
|
controller.enqueue(
|
|
2240
2249
|
new TextEncoder().encode(
|
|
2241
|
-
`<meta http-equiv="refresh" content="0;url=${
|
|
2250
|
+
`<meta http-equiv="refresh" content="0;url=${_chunkLF5SS6XEjs.escapeHtml.call(void 0, retryRedirect.location)}"/>`
|
|
2242
2251
|
)
|
|
2243
2252
|
);
|
|
2244
2253
|
}
|
|
@@ -2260,7 +2269,7 @@ async function routeRSCServerRequest({
|
|
|
2260
2269
|
statusText,
|
|
2261
2270
|
headers
|
|
2262
2271
|
});
|
|
2263
|
-
} catch (
|
|
2272
|
+
} catch (e3) {
|
|
2264
2273
|
}
|
|
2265
2274
|
throw reason;
|
|
2266
2275
|
}
|
|
@@ -2279,7 +2288,7 @@ function RSCStaticRouter({ getPayload }) {
|
|
|
2279
2288
|
if (payload.type !== "render") return null;
|
|
2280
2289
|
let patchedLoaderData = { ...payload.loaderData };
|
|
2281
2290
|
for (const match of payload.matches) {
|
|
2282
|
-
if (
|
|
2291
|
+
if (_chunkLF5SS6XEjs.shouldHydrateRouteLoader.call(void 0,
|
|
2283
2292
|
match.id,
|
|
2284
2293
|
match.clientLoader,
|
|
2285
2294
|
match.hasLoader,
|
|
@@ -2319,7 +2328,7 @@ function RSCStaticRouter({ getPayload }) {
|
|
|
2319
2328
|
}
|
|
2320
2329
|
}))
|
|
2321
2330
|
};
|
|
2322
|
-
const router =
|
|
2331
|
+
const router = _chunkTC44ITIJjs.createStaticRouter.call(void 0,
|
|
2323
2332
|
payload.matches.reduceRight((previous, match) => {
|
|
2324
2333
|
const route = {
|
|
2325
2334
|
id: match.id,
|
|
@@ -2363,10 +2372,10 @@ function RSCStaticRouter({ getPayload }) {
|
|
|
2363
2372
|
}
|
|
2364
2373
|
},
|
|
2365
2374
|
routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" },
|
|
2366
|
-
routeModules:
|
|
2375
|
+
routeModules: _chunkCGPAOPIJjs.createRSCRouteModules.call(void 0, payload)
|
|
2367
2376
|
};
|
|
2368
|
-
return /* @__PURE__ */ React3.createElement(
|
|
2369
|
-
|
|
2377
|
+
return /* @__PURE__ */ React3.createElement(_chunkLF5SS6XEjs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React3.createElement(_chunkCGPAOPIJjs.RSCRouterGlobalErrorBoundary, { location: payload.location }, /* @__PURE__ */ React3.createElement(_chunkLF5SS6XEjs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React3.createElement(
|
|
2378
|
+
_chunkTC44ITIJjs.StaticRouterProvider,
|
|
2370
2379
|
{
|
|
2371
2380
|
context,
|
|
2372
2381
|
router,
|
|
@@ -2389,7 +2398,7 @@ function deserializeErrors(errors) {
|
|
|
2389
2398
|
let serialized = {};
|
|
2390
2399
|
for (let [key, val] of entries) {
|
|
2391
2400
|
if (val && val.__type === "RouteErrorResponse") {
|
|
2392
|
-
serialized[key] = new (0,
|
|
2401
|
+
serialized[key] = new (0, _chunkLF5SS6XEjs.ErrorResponseImpl)(
|
|
2393
2402
|
val.status,
|
|
2394
2403
|
val.statusText,
|
|
2395
2404
|
val.data,
|
|
@@ -2548,4 +2557,4 @@ function deserializeErrors(errors) {
|
|
|
2548
2557
|
|
|
2549
2558
|
|
|
2550
2559
|
|
|
2551
|
-
exports.Await =
|
|
2560
|
+
exports.Await = _chunkLF5SS6XEjs.Await; exports.BrowserRouter = _chunkTC44ITIJjs.BrowserRouter; exports.Form = _chunkTC44ITIJjs.Form; exports.HashRouter = _chunkTC44ITIJjs.HashRouter; exports.IDLE_BLOCKER = _chunkLF5SS6XEjs.IDLE_BLOCKER; exports.IDLE_FETCHER = _chunkLF5SS6XEjs.IDLE_FETCHER; exports.IDLE_NAVIGATION = _chunkLF5SS6XEjs.IDLE_NAVIGATION; exports.Link = _chunkTC44ITIJjs.Link; exports.Links = _chunkLF5SS6XEjs.Links; exports.MemoryRouter = _chunkLF5SS6XEjs.MemoryRouter; exports.Meta = _chunkLF5SS6XEjs.Meta; exports.NavLink = _chunkTC44ITIJjs.NavLink; exports.Navigate = _chunkLF5SS6XEjs.Navigate; exports.NavigationType = _chunkLF5SS6XEjs.Action; exports.Outlet = _chunkLF5SS6XEjs.Outlet; exports.PrefetchPageLinks = _chunkLF5SS6XEjs.PrefetchPageLinks; exports.Route = _chunkLF5SS6XEjs.Route; exports.Router = _chunkLF5SS6XEjs.Router; exports.RouterContextProvider = _chunkLF5SS6XEjs.RouterContextProvider; exports.RouterProvider = _chunkLF5SS6XEjs.RouterProvider; exports.Routes = _chunkLF5SS6XEjs.Routes; exports.Scripts = _chunkLF5SS6XEjs.Scripts; exports.ScrollRestoration = _chunkTC44ITIJjs.ScrollRestoration; exports.ServerRouter = ServerRouter; exports.StaticRouter = _chunkTC44ITIJjs.StaticRouter; exports.StaticRouterProvider = _chunkTC44ITIJjs.StaticRouterProvider; exports.UNSAFE_AwaitContextProvider = _chunkLF5SS6XEjs.AwaitContextProvider; exports.UNSAFE_DataRouterContext = _chunkLF5SS6XEjs.DataRouterContext; exports.UNSAFE_DataRouterStateContext = _chunkLF5SS6XEjs.DataRouterStateContext; exports.UNSAFE_ErrorResponseImpl = _chunkLF5SS6XEjs.ErrorResponseImpl; exports.UNSAFE_FetchersContext = _chunkLF5SS6XEjs.FetchersContext; exports.UNSAFE_FrameworkContext = _chunkLF5SS6XEjs.FrameworkContext; exports.UNSAFE_LocationContext = _chunkLF5SS6XEjs.LocationContext; exports.UNSAFE_NavigationContext = _chunkLF5SS6XEjs.NavigationContext; exports.UNSAFE_RSCDefaultRootErrorBoundary = _chunkCGPAOPIJjs.RSCDefaultRootErrorBoundary; exports.UNSAFE_RemixErrorBoundary = _chunkLF5SS6XEjs.RemixErrorBoundary; exports.UNSAFE_RouteContext = _chunkLF5SS6XEjs.RouteContext; exports.UNSAFE_ServerMode = ServerMode; exports.UNSAFE_SingleFetchRedirectSymbol = _chunkLF5SS6XEjs.SingleFetchRedirectSymbol; exports.UNSAFE_ViewTransitionContext = _chunkLF5SS6XEjs.ViewTransitionContext; exports.UNSAFE_WithComponentProps = _chunkLF5SS6XEjs.WithComponentProps; exports.UNSAFE_WithErrorBoundaryProps = _chunkLF5SS6XEjs.WithErrorBoundaryProps; exports.UNSAFE_WithHydrateFallbackProps = _chunkLF5SS6XEjs.WithHydrateFallbackProps; exports.UNSAFE_createBrowserHistory = _chunkLF5SS6XEjs.createBrowserHistory; exports.UNSAFE_createClientRoutes = _chunkLF5SS6XEjs.createClientRoutes; exports.UNSAFE_createClientRoutesWithHMRRevalidationOptOut = _chunkLF5SS6XEjs.createClientRoutesWithHMRRevalidationOptOut; exports.UNSAFE_createHashHistory = _chunkLF5SS6XEjs.createHashHistory; exports.UNSAFE_createMemoryHistory = _chunkLF5SS6XEjs.createMemoryHistory; exports.UNSAFE_createRouter = _chunkLF5SS6XEjs.createRouter; exports.UNSAFE_decodeViaTurboStream = _chunkLF5SS6XEjs.decodeViaTurboStream; exports.UNSAFE_deserializeErrors = deserializeErrors; exports.UNSAFE_getHydrationData = _chunkCGPAOPIJjs.getHydrationData; exports.UNSAFE_getPatchRoutesOnNavigationFunction = _chunkLF5SS6XEjs.getPatchRoutesOnNavigationFunction; exports.UNSAFE_getTurboStreamSingleFetchDataStrategy = _chunkLF5SS6XEjs.getTurboStreamSingleFetchDataStrategy; exports.UNSAFE_hydrationRouteProperties = _chunkLF5SS6XEjs.hydrationRouteProperties; exports.UNSAFE_invariant = _chunkLF5SS6XEjs.invariant; exports.UNSAFE_mapRouteProperties = _chunkLF5SS6XEjs.mapRouteProperties; exports.UNSAFE_shouldHydrateRouteLoader = _chunkLF5SS6XEjs.shouldHydrateRouteLoader; exports.UNSAFE_useFogOFWarDiscovery = _chunkLF5SS6XEjs.useFogOFWarDiscovery; exports.UNSAFE_useScrollRestoration = _chunkTC44ITIJjs.useScrollRestoration; exports.UNSAFE_withComponentProps = _chunkLF5SS6XEjs.withComponentProps; exports.UNSAFE_withErrorBoundaryProps = _chunkLF5SS6XEjs.withErrorBoundaryProps; exports.UNSAFE_withHydrateFallbackProps = _chunkLF5SS6XEjs.withHydrateFallbackProps; exports.createBrowserRouter = _chunkTC44ITIJjs.createBrowserRouter; exports.createContext = _chunkLF5SS6XEjs.createContext; exports.createCookie = createCookie; exports.createCookieSessionStorage = createCookieSessionStorage; exports.createHashRouter = _chunkTC44ITIJjs.createHashRouter; exports.createMemoryRouter = _chunkLF5SS6XEjs.createMemoryRouter; exports.createMemorySessionStorage = createMemorySessionStorage; exports.createPath = _chunkLF5SS6XEjs.createPath; exports.createRequestHandler = createRequestHandler; exports.createRoutesFromChildren = _chunkLF5SS6XEjs.createRoutesFromChildren; exports.createRoutesFromElements = _chunkLF5SS6XEjs.createRoutesFromElements; exports.createRoutesStub = createRoutesStub; exports.createSearchParams = _chunkTC44ITIJjs.createSearchParams; exports.createSession = createSession; exports.createSessionStorage = createSessionStorage; exports.createStaticHandler = _chunkTC44ITIJjs.createStaticHandler; exports.createStaticRouter = _chunkTC44ITIJjs.createStaticRouter; exports.data = _chunkLF5SS6XEjs.data; exports.generatePath = _chunkLF5SS6XEjs.generatePath; exports.href = href; exports.isCookie = isCookie; exports.isRouteErrorResponse = _chunkLF5SS6XEjs.isRouteErrorResponse; exports.isSession = isSession; exports.matchPath = _chunkLF5SS6XEjs.matchPath; exports.matchRoutes = _chunkLF5SS6XEjs.matchRoutes; exports.parsePath = _chunkLF5SS6XEjs.parsePath; exports.redirect = _chunkLF5SS6XEjs.redirect; exports.redirectDocument = _chunkLF5SS6XEjs.redirectDocument; exports.renderMatches = _chunkLF5SS6XEjs.renderMatches; exports.replace = _chunkLF5SS6XEjs.replace; exports.resolvePath = _chunkLF5SS6XEjs.resolvePath; exports.unstable_HistoryRouter = _chunkTC44ITIJjs.HistoryRouter; exports.unstable_RSCStaticRouter = RSCStaticRouter; exports.unstable_routeRSCServerRequest = routeRSCServerRequest; exports.unstable_setDevServerHooks = setDevServerHooks; exports.unstable_usePrompt = _chunkTC44ITIJjs.usePrompt; exports.unstable_useRoute = _chunkLF5SS6XEjs.useRoute; exports.useActionData = _chunkLF5SS6XEjs.useActionData; exports.useAsyncError = _chunkLF5SS6XEjs.useAsyncError; exports.useAsyncValue = _chunkLF5SS6XEjs.useAsyncValue; exports.useBeforeUnload = _chunkTC44ITIJjs.useBeforeUnload; exports.useBlocker = _chunkLF5SS6XEjs.useBlocker; exports.useFetcher = _chunkTC44ITIJjs.useFetcher; exports.useFetchers = _chunkTC44ITIJjs.useFetchers; exports.useFormAction = _chunkTC44ITIJjs.useFormAction; exports.useHref = _chunkLF5SS6XEjs.useHref; exports.useInRouterContext = _chunkLF5SS6XEjs.useInRouterContext; exports.useLinkClickHandler = _chunkTC44ITIJjs.useLinkClickHandler; exports.useLoaderData = _chunkLF5SS6XEjs.useLoaderData; exports.useLocation = _chunkLF5SS6XEjs.useLocation; exports.useMatch = _chunkLF5SS6XEjs.useMatch; exports.useMatches = _chunkLF5SS6XEjs.useMatches; exports.useNavigate = _chunkLF5SS6XEjs.useNavigate; exports.useNavigation = _chunkLF5SS6XEjs.useNavigation; exports.useNavigationType = _chunkLF5SS6XEjs.useNavigationType; exports.useOutlet = _chunkLF5SS6XEjs.useOutlet; exports.useOutletContext = _chunkLF5SS6XEjs.useOutletContext; exports.useParams = _chunkLF5SS6XEjs.useParams; exports.useResolvedPath = _chunkLF5SS6XEjs.useResolvedPath; exports.useRevalidator = _chunkLF5SS6XEjs.useRevalidator; exports.useRouteError = _chunkLF5SS6XEjs.useRouteError; exports.useRouteLoaderData = _chunkLF5SS6XEjs.useRouteLoaderData; exports.useRoutes = _chunkLF5SS6XEjs.useRoutes; exports.useSearchParams = _chunkTC44ITIJjs.useSearchParams; exports.useSubmit = _chunkTC44ITIJjs.useSubmit; exports.useViewTransitionState = _chunkTC44ITIJjs.useViewTransitionState;
|