react-router 7.9.6 → 7.10.0-pre.1

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.
Files changed (68) hide show
  1. package/CHANGELOG.md +75 -10
  2. package/dist/development/{browser-BbBXFHbO.d.ts → browser-BpxEZgZC.d.ts} +1 -1
  3. package/dist/development/{browser-C07r42Tt.d.mts → browser-C5z6FZmz.d.mts} +1 -1
  4. package/dist/development/{chunk-4WY6JWTD.mjs → chunk-GIMUO62I.mjs} +208 -221
  5. package/dist/development/{chunk-AMVS5XVJ.js → chunk-KQLPIZ7E.js} +201 -258
  6. package/dist/development/{chunk-PZWDWJAY.js → chunk-RHWHYDYZ.js} +7 -7
  7. package/dist/development/{chunk-G3INQAYP.mjs → chunk-V5RTLP6E.mjs} +15 -5
  8. package/dist/development/{chunk-O4JVZSOY.js → chunk-XHWAND4X.js} +167 -123
  9. package/dist/development/dom-export.d.mts +29 -10
  10. package/dist/development/dom-export.d.ts +29 -10
  11. package/dist/development/dom-export.js +158 -103
  12. package/dist/development/dom-export.mjs +133 -79
  13. package/dist/{production/index-react-server-client-Da3kmxNd.d.ts → development/index-react-server-client-CCjKYJTH.d.ts} +75 -180
  14. package/dist/development/{index-react-server-client-rcoGPJhU.d.mts → index-react-server-client-CipGfVBI.d.mts} +75 -180
  15. package/dist/development/index-react-server-client.d.mts +2 -2
  16. package/dist/development/index-react-server-client.d.ts +2 -2
  17. package/dist/development/index-react-server-client.js +4 -4
  18. package/dist/development/index-react-server-client.mjs +2 -2
  19. package/dist/development/index-react-server.d.mts +19 -4
  20. package/dist/development/index-react-server.d.ts +19 -4
  21. package/dist/development/index-react-server.js +30 -24
  22. package/dist/development/index-react-server.mjs +30 -24
  23. package/dist/development/index.d.mts +19 -15
  24. package/dist/development/index.d.ts +19 -15
  25. package/dist/development/index.js +92 -82
  26. package/dist/development/index.mjs +3 -3
  27. package/dist/{production/instrumentation-Unc20tLk.d.ts → development/instrumentation-BB0wRuqz.d.ts} +93 -11
  28. package/dist/development/lib/types/internal.d.mts +2 -2
  29. package/dist/development/lib/types/internal.d.ts +2 -2
  30. package/dist/development/lib/types/internal.js +1 -1
  31. package/dist/development/lib/types/internal.mjs +1 -1
  32. package/dist/development/{register-QkB3HGjm.d.mts → register-C1RwVJAt.d.mts} +1 -1
  33. package/dist/development/{register-BpU9rFBJ.d.ts → register-ODDAAYlf.d.ts} +1 -1
  34. package/dist/development/{router-CAvh_Drx.d.mts → router-CwNp5l9u.d.mts} +93 -11
  35. package/dist/production/{browser-BbBXFHbO.d.ts → browser-BpxEZgZC.d.ts} +1 -1
  36. package/dist/production/{browser-C07r42Tt.d.mts → browser-C5z6FZmz.d.mts} +1 -1
  37. package/dist/production/{chunk-QN64DHI4.js → chunk-3MVZKESN.js} +167 -123
  38. package/dist/production/{chunk-FUSXQSWG.mjs → chunk-7F5XUDXM.mjs} +208 -221
  39. package/dist/production/{chunk-EAIF67OW.js → chunk-C7S4I3K5.js} +201 -258
  40. package/dist/production/{chunk-FDUMZGKM.mjs → chunk-ISOIFGFA.mjs} +15 -5
  41. package/dist/production/{chunk-G5A35OQU.js → chunk-YU3WNS3T.js} +7 -7
  42. package/dist/production/dom-export.d.mts +29 -10
  43. package/dist/production/dom-export.d.ts +29 -10
  44. package/dist/production/dom-export.js +158 -103
  45. package/dist/production/dom-export.mjs +133 -79
  46. package/dist/{development/index-react-server-client-Da3kmxNd.d.ts → production/index-react-server-client-CCjKYJTH.d.ts} +75 -180
  47. package/dist/production/{index-react-server-client-rcoGPJhU.d.mts → index-react-server-client-CipGfVBI.d.mts} +75 -180
  48. package/dist/production/index-react-server-client.d.mts +2 -2
  49. package/dist/production/index-react-server-client.d.ts +2 -2
  50. package/dist/production/index-react-server-client.js +4 -4
  51. package/dist/production/index-react-server-client.mjs +2 -2
  52. package/dist/production/index-react-server.d.mts +19 -4
  53. package/dist/production/index-react-server.d.ts +19 -4
  54. package/dist/production/index-react-server.js +30 -24
  55. package/dist/production/index-react-server.mjs +30 -24
  56. package/dist/production/index.d.mts +19 -15
  57. package/dist/production/index.d.ts +19 -15
  58. package/dist/production/index.js +92 -82
  59. package/dist/production/index.mjs +3 -3
  60. package/dist/{development/instrumentation-Unc20tLk.d.ts → production/instrumentation-BB0wRuqz.d.ts} +93 -11
  61. package/dist/production/lib/types/internal.d.mts +2 -2
  62. package/dist/production/lib/types/internal.d.ts +2 -2
  63. package/dist/production/lib/types/internal.js +1 -1
  64. package/dist/production/lib/types/internal.mjs +1 -1
  65. package/dist/production/{register-QkB3HGjm.d.mts → register-C1RwVJAt.d.mts} +1 -1
  66. package/dist/production/{register-BpU9rFBJ.d.ts → register-ODDAAYlf.d.ts} +1 -1
  67. package/dist/production/{router-CAvh_Drx.d.mts → router-CwNp5l9u.d.mts} +93 -11
  68. 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.9.6
2
+ * react-router v7.10.0-pre.1
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -14,7 +14,7 @@
14
14
 
15
15
 
16
16
 
17
- var _chunkPZWDWJAYjs = require('./chunk-PZWDWJAY.js');
17
+ var _chunkRHWHYDYZjs = require('./chunk-RHWHYDYZ.js');
18
18
 
19
19
 
20
20
 
@@ -40,7 +40,7 @@ var _chunkPZWDWJAYjs = require('./chunk-PZWDWJAY.js');
40
40
 
41
41
 
42
42
 
43
- var _chunkO4JVZSOYjs = require('./chunk-O4JVZSOY.js');
43
+ var _chunkXHWAND4Xjs = require('./chunk-XHWAND4X.js');
44
44
 
45
45
 
46
46
 
@@ -145,7 +145,7 @@ var _chunkO4JVZSOYjs = require('./chunk-O4JVZSOY.js');
145
145
 
146
146
 
147
147
 
148
- var _chunkAMVS5XVJjs = require('./chunk-AMVS5XVJ.js');
148
+ var _chunkKQLPIZ7Ejs = require('./chunk-KQLPIZ7E.js');
149
149
 
150
150
  // lib/dom/ssr/server.tsx
151
151
  var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react); var React3 = _interopRequireWildcard(_react);
@@ -158,7 +158,7 @@ function ServerRouter({
158
158
  url = new URL(url);
159
159
  }
160
160
  let { manifest, routeModules, criticalCss, serverHandoffString } = context;
161
- let routes = _chunkAMVS5XVJjs.createServerRoutes.call(void 0,
161
+ let routes = _chunkKQLPIZ7Ejs.createServerRoutes.call(void 0,
162
162
  manifest.routes,
163
163
  routeModules,
164
164
  context.future,
@@ -171,7 +171,7 @@ function ServerRouter({
171
171
  let routeId = match.route.id;
172
172
  let route = routeModules[routeId];
173
173
  let manifestRoute = context.manifest.routes[routeId];
174
- if (route && manifestRoute && _chunkAMVS5XVJjs.shouldHydrateRouteLoader.call(void 0,
174
+ if (route && manifestRoute && _chunkKQLPIZ7Ejs.shouldHydrateRouteLoader.call(void 0,
175
175
  routeId,
176
176
  route.clientLoader,
177
177
  manifestRoute.hasLoader,
@@ -180,9 +180,9 @@ function ServerRouter({
180
180
  delete context.staticHandlerContext.loaderData[routeId];
181
181
  }
182
182
  }
183
- let router = _chunkO4JVZSOYjs.createStaticRouter.call(void 0, routes, context.staticHandlerContext);
183
+ let router = _chunkXHWAND4Xjs.createStaticRouter.call(void 0, routes, context.staticHandlerContext);
184
184
  return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
185
- _chunkAMVS5XVJjs.FrameworkContext.Provider,
185
+ _chunkKQLPIZ7Ejs.FrameworkContext.Provider,
186
186
  {
187
187
  value: {
188
188
  manifest,
@@ -197,8 +197,8 @@ function ServerRouter({
197
197
  renderMeta: context.renderMeta
198
198
  }
199
199
  },
200
- /* @__PURE__ */ React.createElement(_chunkAMVS5XVJjs.RemixErrorBoundary, { location: router.state.location }, /* @__PURE__ */ React.createElement(
201
- _chunkO4JVZSOYjs.StaticRouterProvider,
200
+ /* @__PURE__ */ React.createElement(_chunkKQLPIZ7Ejs.RemixErrorBoundary, { location: router.state.location }, /* @__PURE__ */ React.createElement(
201
+ _chunkXHWAND4Xjs.StaticRouterProvider,
202
202
  {
203
203
  router,
204
204
  context: context.staticHandlerContext,
@@ -206,7 +206,7 @@ function ServerRouter({
206
206
  }
207
207
  ))
208
208
  ), context.serverHandoffStream ? /* @__PURE__ */ React.createElement(React.Suspense, null, /* @__PURE__ */ React.createElement(
209
- _chunkAMVS5XVJjs.StreamTransfer,
209
+ _chunkKQLPIZ7Ejs.StreamTransfer,
210
210
  {
211
211
  context,
212
212
  identifier: 0,
@@ -248,18 +248,18 @@ function createRoutesStub(routes, _context) {
248
248
  let patched = processRoutes(
249
249
  // @ts-expect-error `StubRouteObject` is stricter about `loader`/`action`
250
250
  // types compared to `AgnosticRouteObject`
251
- _chunkAMVS5XVJjs.convertRoutesToDataRoutes.call(void 0, routes, (r) => r),
252
- _context !== void 0 ? _context : _optionalChain([future, 'optionalAccess', _4 => _4.v8_middleware]) ? new (0, _chunkAMVS5XVJjs.RouterContextProvider)() : {},
251
+ _chunkKQLPIZ7Ejs.convertRoutesToDataRoutes.call(void 0, routes, (r) => r),
252
+ _context !== void 0 ? _context : _optionalChain([future, 'optionalAccess', _4 => _4.v8_middleware]) ? new (0, _chunkKQLPIZ7Ejs.RouterContextProvider)() : {},
253
253
  frameworkContextRef.current.manifest,
254
254
  frameworkContextRef.current.routeModules
255
255
  );
256
- routerRef.current = _chunkAMVS5XVJjs.createMemoryRouter.call(void 0, patched, {
256
+ routerRef.current = _chunkKQLPIZ7Ejs.createMemoryRouter.call(void 0, patched, {
257
257
  initialEntries,
258
258
  initialIndex,
259
259
  hydrationData
260
260
  });
261
261
  }
262
- return /* @__PURE__ */ React2.createElement(_chunkAMVS5XVJjs.FrameworkContext.Provider, { value: frameworkContextRef.current }, /* @__PURE__ */ React2.createElement(_chunkAMVS5XVJjs.RouterProvider, { router: routerRef.current }));
262
+ return /* @__PURE__ */ React2.createElement(_chunkKQLPIZ7Ejs.FrameworkContext.Provider, { value: frameworkContextRef.current }, /* @__PURE__ */ React2.createElement(_chunkKQLPIZ7Ejs.RouterProvider, { router: routerRef.current }));
263
263
  };
264
264
  }
265
265
  function processRoutes(routes, context, manifest, routeModules, parentId) {
@@ -273,9 +273,9 @@ function processRoutes(routes, context, manifest, routeModules, parentId) {
273
273
  id: route.id,
274
274
  path: route.path,
275
275
  index: route.index,
276
- Component: route.Component ? _chunkAMVS5XVJjs.withComponentProps.call(void 0, route.Component) : void 0,
277
- HydrateFallback: route.HydrateFallback ? _chunkAMVS5XVJjs.withHydrateFallbackProps.call(void 0, route.HydrateFallback) : void 0,
278
- ErrorBoundary: route.ErrorBoundary ? _chunkAMVS5XVJjs.withErrorBoundaryProps.call(void 0, route.ErrorBoundary) : void 0,
276
+ Component: route.Component ? _chunkKQLPIZ7Ejs.withComponentProps.call(void 0, route.Component) : void 0,
277
+ HydrateFallback: route.HydrateFallback ? _chunkKQLPIZ7Ejs.withHydrateFallbackProps.call(void 0, route.HydrateFallback) : void 0,
278
+ ErrorBoundary: route.ErrorBoundary ? _chunkKQLPIZ7Ejs.withErrorBoundaryProps.call(void 0, route.ErrorBoundary) : void 0,
279
279
  action: route.action ? (args) => route.action({ ...args, context }) : void 0,
280
280
  loader: route.loader ? (args) => route.loader({ ...args, context }) : void 0,
281
281
  middleware: route.middleware ? route.middleware.map(
@@ -310,7 +310,7 @@ function processRoutes(routes, context, manifest, routeModules, parentId) {
310
310
  };
311
311
  manifest.routes[newRoute.id] = entryRoute;
312
312
  routeModules[route.id] = {
313
- default: newRoute.Component || _chunkAMVS5XVJjs.Outlet,
313
+ default: newRoute.Component || _chunkKQLPIZ7Ejs.Outlet,
314
314
  ErrorBoundary: newRoute.ErrorBoundary || void 0,
315
315
  handle: route.handle,
316
316
  links: route.links,
@@ -505,7 +505,7 @@ function myUnescape(value) {
505
505
  return result;
506
506
  }
507
507
  function warnOnceAboutExpiresCookie(name, expires) {
508
- _chunkAMVS5XVJjs.warnOnce.call(void 0,
508
+ _chunkKQLPIZ7Ejs.warnOnce.call(void 0,
509
509
  !expires,
510
510
  `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.`
511
511
  );
@@ -559,7 +559,7 @@ function serializeErrors(errors, serverMode) {
559
559
  let entries = Object.entries(errors);
560
560
  let serialized = {};
561
561
  for (let [key, val] of entries) {
562
- if (_chunkAMVS5XVJjs.isRouteErrorResponse.call(void 0, val)) {
562
+ if (_chunkKQLPIZ7Ejs.isRouteErrorResponse.call(void 0, val)) {
563
563
  serialized[key] = { ...val, __type: "RouteErrorResponse" };
564
564
  } else if (val instanceof Error) {
565
565
  let sanitized = sanitizeError(val, serverMode);
@@ -584,7 +584,7 @@ function serializeErrors(errors, serverMode) {
584
584
 
585
585
  // lib/server-runtime/routeMatching.ts
586
586
  function matchServerRoutes(routes, pathname, basename) {
587
- let matches = _chunkAMVS5XVJjs.matchRoutes.call(void 0,
587
+ let matches = _chunkKQLPIZ7Ejs.matchRoutes.call(void 0,
588
588
  routes,
589
589
  pathname,
590
590
  basename
@@ -605,7 +605,7 @@ async function callRouteHandler(handler, args) {
605
605
  context: args.context,
606
606
  unstable_pattern: args.unstable_pattern
607
607
  });
608
- if (_chunkAMVS5XVJjs.isDataWithResponseInit.call(void 0, result) && result.init && result.init.status && _chunkAMVS5XVJjs.isRedirectStatusCode.call(void 0, result.init.status)) {
608
+ if (_chunkKQLPIZ7Ejs.isDataWithResponseInit.call(void 0, result) && result.init && result.init.status && _chunkKQLPIZ7Ejs.isRedirectStatusCode.call(void 0, result.init.status)) {
609
609
  throw new Response(null, result.init);
610
610
  }
611
611
  return result;
@@ -724,17 +724,17 @@ function createStaticHandlerDataRoutes(manifest, future, parentId = "", routesBy
724
724
  controller.close();
725
725
  }
726
726
  });
727
- let decoded = await _chunkAMVS5XVJjs.decodeViaTurboStream.call(void 0, stream, global);
727
+ let decoded = await _chunkKQLPIZ7Ejs.decodeViaTurboStream.call(void 0, stream, global);
728
728
  let data2 = decoded.value;
729
- if (data2 && _chunkAMVS5XVJjs.SingleFetchRedirectSymbol in data2) {
730
- let result = data2[_chunkAMVS5XVJjs.SingleFetchRedirectSymbol];
729
+ if (data2 && _chunkKQLPIZ7Ejs.SingleFetchRedirectSymbol in data2) {
730
+ let result = data2[_chunkKQLPIZ7Ejs.SingleFetchRedirectSymbol];
731
731
  let init = { status: result.status };
732
732
  if (result.reload) {
733
- throw _chunkAMVS5XVJjs.redirectDocument.call(void 0, result.redirect, init);
733
+ throw _chunkKQLPIZ7Ejs.redirectDocument.call(void 0, result.redirect, init);
734
734
  } else if (result.replace) {
735
- throw _chunkAMVS5XVJjs.replace.call(void 0, result.redirect, init);
735
+ throw _chunkKQLPIZ7Ejs.replace.call(void 0, result.redirect, init);
736
736
  } else {
737
- throw _chunkAMVS5XVJjs.redirect.call(void 0, result.redirect, init);
737
+ throw _chunkKQLPIZ7Ejs.redirect.call(void 0, result.redirect, init);
738
738
  }
739
739
  } else {
740
740
  invariant2(
@@ -773,7 +773,7 @@ function createStaticHandlerDataRoutes(manifest, future, parentId = "", routesBy
773
773
 
774
774
  // lib/server-runtime/serverHandoff.ts
775
775
  function createServerHandoffString(serverHandoff) {
776
- return _chunkAMVS5XVJjs.escapeHtml.call(void 0, JSON.stringify(serverHandoff));
776
+ return _chunkKQLPIZ7Ejs.escapeHtml.call(void 0, JSON.stringify(serverHandoff));
777
777
  }
778
778
 
779
779
  // lib/server-runtime/headers.ts
@@ -850,7 +850,7 @@ function prependCookies(parentHeaders, childHeaders) {
850
850
 
851
851
  // lib/server-runtime/single-fetch.ts
852
852
  var SERVER_NO_BODY_STATUS_CODES = /* @__PURE__ */ new Set([
853
- ..._chunkAMVS5XVJjs.NO_BODY_STATUS_CODES,
853
+ ..._chunkKQLPIZ7Ejs.NO_BODY_STATUS_CODES,
854
854
  304
855
855
  ]);
856
856
  async function singleFetchAction(build, serverMode, staticHandler, request, handlerUrl, loadContext, handleError) {
@@ -880,7 +880,7 @@ async function singleFetchAction(build, serverMode, staticHandler, request, hand
880
880
  return handleQueryError(error);
881
881
  }
882
882
  function handleQueryResult(result) {
883
- return _chunkAMVS5XVJjs.isResponse.call(void 0, result) ? result : staticContextToResponse(result);
883
+ return _chunkKQLPIZ7Ejs.isResponse.call(void 0, result) ? result : staticContextToResponse(result);
884
884
  }
885
885
  function handleQueryError(error) {
886
886
  handleError(error);
@@ -892,12 +892,12 @@ async function singleFetchAction(build, serverMode, staticHandler, request, hand
892
892
  }
893
893
  function staticContextToResponse(context) {
894
894
  let headers = getDocumentHeaders(context, build);
895
- if (_chunkAMVS5XVJjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
895
+ if (_chunkKQLPIZ7Ejs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
896
896
  return new Response(null, { status: context.statusCode, headers });
897
897
  }
898
898
  if (context.errors) {
899
899
  Object.values(context.errors).forEach((err) => {
900
- if (!_chunkAMVS5XVJjs.isRouteErrorResponse.call(void 0, err) || err.error) {
900
+ if (!_chunkKQLPIZ7Ejs.isRouteErrorResponse.call(void 0, err) || err.error) {
901
901
  handleError(err);
902
902
  }
903
903
  });
@@ -944,7 +944,7 @@ async function singleFetchLoaders(build, serverMode, staticHandler, request, han
944
944
  return handleQueryError(error);
945
945
  }
946
946
  function handleQueryResult(result) {
947
- return _chunkAMVS5XVJjs.isResponse.call(void 0, result) ? result : staticContextToResponse(result);
947
+ return _chunkKQLPIZ7Ejs.isResponse.call(void 0, result) ? result : staticContextToResponse(result);
948
948
  }
949
949
  function handleQueryError(error) {
950
950
  handleError(error);
@@ -956,12 +956,12 @@ async function singleFetchLoaders(build, serverMode, staticHandler, request, han
956
956
  }
957
957
  function staticContextToResponse(context) {
958
958
  let headers = getDocumentHeaders(context, build);
959
- if (_chunkAMVS5XVJjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
959
+ if (_chunkKQLPIZ7Ejs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
960
960
  return new Response(null, { status: context.statusCode, headers });
961
961
  }
962
962
  if (context.errors) {
963
963
  Object.values(context.errors).forEach((err) => {
964
- if (!_chunkAMVS5XVJjs.isRouteErrorResponse.call(void 0, err) || err.error) {
964
+ if (!_chunkKQLPIZ7Ejs.isRouteErrorResponse.call(void 0, err) || err.error) {
965
965
  handleError(err);
966
966
  }
967
967
  });
@@ -1025,15 +1025,15 @@ function generateSingleFetchRedirectResponse(redirectResponse, request, build, s
1025
1025
  headers.delete("Location");
1026
1026
  headers.set("Content-Type", "text/x-script");
1027
1027
  return generateSingleFetchResponse(request, build, serverMode, {
1028
- result: request.method === "GET" ? { [_chunkAMVS5XVJjs.SingleFetchRedirectSymbol]: redirect2 } : redirect2,
1028
+ result: request.method === "GET" ? { [_chunkKQLPIZ7Ejs.SingleFetchRedirectSymbol]: redirect2 } : redirect2,
1029
1029
  headers,
1030
- status: _chunkAMVS5XVJjs.SINGLE_FETCH_REDIRECT_STATUS
1030
+ status: _chunkKQLPIZ7Ejs.SINGLE_FETCH_REDIRECT_STATUS
1031
1031
  });
1032
1032
  }
1033
1033
  function getSingleFetchRedirect(status, headers, basename) {
1034
1034
  let redirect2 = headers.get("Location");
1035
1035
  if (basename) {
1036
- redirect2 = _chunkAMVS5XVJjs.stripBasename.call(void 0, redirect2, basename) || redirect2;
1036
+ redirect2 = _chunkKQLPIZ7Ejs.stripBasename.call(void 0, redirect2, basename) || redirect2;
1037
1037
  }
1038
1038
  return {
1039
1039
  redirect: redirect2,
@@ -1059,7 +1059,7 @@ function encodeViaTurboStream(data2, requestSignal, streamTimeout, serverMode) {
1059
1059
  typeof streamTimeout === "number" ? streamTimeout : 4950
1060
1060
  );
1061
1061
  requestSignal.addEventListener("abort", () => clearTimeout(timeoutId));
1062
- return _chunkAMVS5XVJjs.encode.call(void 0, data2, {
1062
+ return _chunkKQLPIZ7Ejs.encode.call(void 0, data2, {
1063
1063
  signal: controller.signal,
1064
1064
  plugins: [
1065
1065
  (value) => {
@@ -1067,12 +1067,12 @@ function encodeViaTurboStream(data2, requestSignal, streamTimeout, serverMode) {
1067
1067
  let { name, message, stack } = serverMode === "production" /* Production */ ? sanitizeError(value, serverMode) : value;
1068
1068
  return ["SanitizedError", name, message, stack];
1069
1069
  }
1070
- if (value instanceof _chunkAMVS5XVJjs.ErrorResponseImpl) {
1070
+ if (value instanceof _chunkKQLPIZ7Ejs.ErrorResponseImpl) {
1071
1071
  let { data: data3, status, statusText } = value;
1072
1072
  return ["ErrorResponse", data3, status, statusText];
1073
1073
  }
1074
- if (value && typeof value === "object" && _chunkAMVS5XVJjs.SingleFetchRedirectSymbol in value) {
1075
- return ["SingleFetchRedirect", value[_chunkAMVS5XVJjs.SingleFetchRedirectSymbol]];
1074
+ if (value && typeof value === "object" && _chunkKQLPIZ7Ejs.SingleFetchRedirectSymbol in value) {
1075
+ return ["SingleFetchRedirect", value[_chunkKQLPIZ7Ejs.SingleFetchRedirectSymbol]];
1076
1076
  }
1077
1077
  }
1078
1078
  ],
@@ -1095,7 +1095,7 @@ function derive(build, mode) {
1095
1095
  let routes = createRoutes(build.routes);
1096
1096
  let dataRoutes = createStaticHandlerDataRoutes(build.routes, build.future);
1097
1097
  let serverMode = isServerMode(mode) ? mode : "production" /* Production */;
1098
- let staticHandler = _chunkAMVS5XVJjs.createStaticHandler.call(void 0, dataRoutes, {
1098
+ let staticHandler = _chunkKQLPIZ7Ejs.createStaticHandler.call(void 0, dataRoutes, {
1099
1099
  basename: build.basename,
1100
1100
  unstable_instrumentations: build.entry.module.unstable_instrumentations
1101
1101
  });
@@ -1103,7 +1103,7 @@ function derive(build, mode) {
1103
1103
  if (serverMode !== "test" /* Test */ && !request.signal.aborted) {
1104
1104
  console.error(
1105
1105
  // @ts-expect-error This is "private" from users but intended for internal use
1106
- _chunkAMVS5XVJjs.isRouteErrorResponse.call(void 0, error) && error.error ? error.error : error
1106
+ _chunkKQLPIZ7Ejs.isRouteErrorResponse.call(void 0, error) && error.error ? error.error : error
1107
1107
  );
1108
1108
  }
1109
1109
  });
@@ -1121,36 +1121,36 @@ function derive(build, mode) {
1121
1121
  });
1122
1122
  };
1123
1123
  if (build.future.v8_middleware) {
1124
- if (initialContext && !(initialContext instanceof _chunkAMVS5XVJjs.RouterContextProvider)) {
1124
+ if (initialContext && !(initialContext instanceof _chunkKQLPIZ7Ejs.RouterContextProvider)) {
1125
1125
  let error = new Error(
1126
1126
  "Invalid `context` value provided to `handleRequest`. When middleware is enabled you must return an instance of `RouterContextProvider` from your `getLoadContext` function."
1127
1127
  );
1128
1128
  handleError(error);
1129
1129
  return returnLastResortErrorResponse(error, serverMode);
1130
1130
  }
1131
- loadContext = initialContext || new (0, _chunkAMVS5XVJjs.RouterContextProvider)();
1131
+ loadContext = initialContext || new (0, _chunkKQLPIZ7Ejs.RouterContextProvider)();
1132
1132
  } else {
1133
1133
  loadContext = initialContext || {};
1134
1134
  }
1135
1135
  let url = new URL(request.url);
1136
1136
  let normalizedBasename = build.basename || "/";
1137
1137
  let normalizedPath = url.pathname;
1138
- if (_chunkAMVS5XVJjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) === "/_root.data") {
1138
+ if (_chunkKQLPIZ7Ejs.stripBasename.call(void 0, normalizedPath, normalizedBasename) === "/_root.data") {
1139
1139
  normalizedPath = normalizedBasename;
1140
1140
  } else if (normalizedPath.endsWith(".data")) {
1141
1141
  normalizedPath = normalizedPath.replace(/\.data$/, "");
1142
1142
  }
1143
- if (_chunkAMVS5XVJjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) !== "/" && normalizedPath.endsWith("/")) {
1143
+ if (_chunkKQLPIZ7Ejs.stripBasename.call(void 0, normalizedPath, normalizedBasename) !== "/" && normalizedPath.endsWith("/")) {
1144
1144
  normalizedPath = normalizedPath.slice(0, -1);
1145
1145
  }
1146
1146
  let isSpaMode = getBuildTimeHeader(request, "X-React-Router-SPA-Mode") === "yes";
1147
1147
  if (!build.ssr) {
1148
1148
  let decodedPath = decodeURI(normalizedPath);
1149
1149
  if (normalizedBasename !== "/") {
1150
- let strippedPath = _chunkAMVS5XVJjs.stripBasename.call(void 0, decodedPath, normalizedBasename);
1150
+ let strippedPath = _chunkKQLPIZ7Ejs.stripBasename.call(void 0, decodedPath, normalizedBasename);
1151
1151
  if (strippedPath == null) {
1152
1152
  errorHandler(
1153
- new (0, _chunkAMVS5XVJjs.ErrorResponseImpl)(
1153
+ new (0, _chunkKQLPIZ7Ejs.ErrorResponseImpl)(
1154
1154
  404,
1155
1155
  "Not Found",
1156
1156
  `Refusing to prerender the \`${decodedPath}\` path because it does not start with the basename \`${normalizedBasename}\``
@@ -1173,7 +1173,7 @@ function derive(build, mode) {
1173
1173
  } else if (!build.prerender.includes(decodedPath) && !build.prerender.includes(decodedPath + "/")) {
1174
1174
  if (url.pathname.endsWith(".data")) {
1175
1175
  errorHandler(
1176
- new (0, _chunkAMVS5XVJjs.ErrorResponseImpl)(
1176
+ new (0, _chunkKQLPIZ7Ejs.ErrorResponseImpl)(
1177
1177
  404,
1178
1178
  "Not Found",
1179
1179
  `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.`
@@ -1193,7 +1193,7 @@ function derive(build, mode) {
1193
1193
  }
1194
1194
  }
1195
1195
  }
1196
- let manifestUrl = _chunkAMVS5XVJjs.getManifestPath.call(void 0,
1196
+ let manifestUrl = _chunkKQLPIZ7Ejs.getManifestPath.call(void 0,
1197
1197
  build.routeDiscovery.manifestPath,
1198
1198
  normalizedBasename
1199
1199
  );
@@ -1228,7 +1228,7 @@ function derive(build, mode) {
1228
1228
  loadContext,
1229
1229
  handleError
1230
1230
  );
1231
- if (_chunkAMVS5XVJjs.isRedirectResponse.call(void 0, response)) {
1231
+ if (_chunkKQLPIZ7Ejs.isRedirectResponse.call(void 0, response)) {
1232
1232
  response = generateSingleFetchRedirectResponse(
1233
1233
  response,
1234
1234
  request,
@@ -1242,7 +1242,7 @@ function derive(build, mode) {
1242
1242
  params: singleFetchMatches ? singleFetchMatches[0].params : {},
1243
1243
  request
1244
1244
  });
1245
- if (_chunkAMVS5XVJjs.isRedirectResponse.call(void 0, response)) {
1245
+ if (_chunkKQLPIZ7Ejs.isRedirectResponse.call(void 0, response)) {
1246
1246
  response = generateSingleFetchRedirectResponse(
1247
1247
  response,
1248
1248
  request,
@@ -1290,7 +1290,7 @@ function derive(build, mode) {
1290
1290
  return response;
1291
1291
  };
1292
1292
  if (build.entry.module.unstable_instrumentations) {
1293
- requestHandler = _chunkAMVS5XVJjs.instrumentHandler.call(void 0,
1293
+ requestHandler = _chunkKQLPIZ7Ejs.instrumentHandler.call(void 0,
1294
1294
  requestHandler,
1295
1295
  build.entry.module.unstable_instrumentations.map((i) => i.handler).filter(Boolean)
1296
1296
  );
@@ -1402,7 +1402,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1402
1402
  generateMiddlewareResponse: build.future.v8_middleware ? async (query) => {
1403
1403
  try {
1404
1404
  let innerResult = await query(request);
1405
- if (!_chunkAMVS5XVJjs.isResponse.call(void 0, innerResult)) {
1405
+ if (!_chunkKQLPIZ7Ejs.isResponse.call(void 0, innerResult)) {
1406
1406
  innerResult = await renderHtml(innerResult, isSpaMode);
1407
1407
  }
1408
1408
  return innerResult;
@@ -1412,7 +1412,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1412
1412
  }
1413
1413
  } : void 0
1414
1414
  });
1415
- if (!_chunkAMVS5XVJjs.isResponse.call(void 0, result)) {
1415
+ if (!_chunkKQLPIZ7Ejs.isResponse.call(void 0, result)) {
1416
1416
  result = await renderHtml(result, isSpaMode);
1417
1417
  }
1418
1418
  return result;
@@ -1427,7 +1427,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1427
1427
  }
1428
1428
  if (context.errors) {
1429
1429
  Object.values(context.errors).forEach((err) => {
1430
- if (!_chunkAMVS5XVJjs.isRouteErrorResponse.call(void 0, err) || err.error) {
1430
+ if (!_chunkKQLPIZ7Ejs.isRouteErrorResponse.call(void 0, err) || err.error) {
1431
1431
  handleError(err);
1432
1432
  }
1433
1433
  });
@@ -1479,10 +1479,10 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1479
1479
  } catch (error) {
1480
1480
  handleError(error);
1481
1481
  let errorForSecondRender = error;
1482
- if (_chunkAMVS5XVJjs.isResponse.call(void 0, error)) {
1482
+ if (_chunkKQLPIZ7Ejs.isResponse.call(void 0, error)) {
1483
1483
  try {
1484
1484
  let data2 = await unwrapResponse(error);
1485
- errorForSecondRender = new (0, _chunkAMVS5XVJjs.ErrorResponseImpl)(
1485
+ errorForSecondRender = new (0, _chunkKQLPIZ7Ejs.ErrorResponseImpl)(
1486
1486
  error.status,
1487
1487
  error.statusText,
1488
1488
  data2
@@ -1490,7 +1490,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1490
1490
  } catch (e) {
1491
1491
  }
1492
1492
  }
1493
- context = _chunkAMVS5XVJjs.getStaticContextFromError.call(void 0,
1493
+ context = _chunkKQLPIZ7Ejs.getStaticContextFromError.call(void 0,
1494
1494
  staticHandler.dataRoutes,
1495
1495
  context,
1496
1496
  errorForSecondRender
@@ -1549,7 +1549,7 @@ async function handleResourceRequest(serverMode, build, staticHandler, routeId,
1549
1549
  return handleQueryRouteError(error);
1550
1550
  }
1551
1551
  function handleQueryRouteResult(result) {
1552
- if (_chunkAMVS5XVJjs.isResponse.call(void 0, result)) {
1552
+ if (_chunkKQLPIZ7Ejs.isResponse.call(void 0, result)) {
1553
1553
  return result;
1554
1554
  }
1555
1555
  if (typeof result === "string") {
@@ -1558,10 +1558,10 @@ async function handleResourceRequest(serverMode, build, staticHandler, routeId,
1558
1558
  return Response.json(result);
1559
1559
  }
1560
1560
  function handleQueryRouteError(error) {
1561
- if (_chunkAMVS5XVJjs.isResponse.call(void 0, error)) {
1561
+ if (_chunkKQLPIZ7Ejs.isResponse.call(void 0, error)) {
1562
1562
  return error;
1563
1563
  }
1564
- if (_chunkAMVS5XVJjs.isRouteErrorResponse.call(void 0, error)) {
1564
+ if (_chunkKQLPIZ7Ejs.isRouteErrorResponse.call(void 0, error)) {
1565
1565
  handleError(error);
1566
1566
  return errorResponseToJson(error, serverMode);
1567
1567
  }
@@ -1684,7 +1684,7 @@ function createSessionStorage({
1684
1684
  };
1685
1685
  }
1686
1686
  function warnOnceAboutSigningSessionCookie(cookie) {
1687
- _chunkAMVS5XVJjs.warnOnce.call(void 0,
1687
+ _chunkKQLPIZ7Ejs.warnOnce.call(void 0,
1688
1688
  cookie.isSigned,
1689
1689
  `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.`
1690
1690
  );
@@ -1751,12 +1751,12 @@ function createMemorySessionStorage({ cookie } = {}) {
1751
1751
  // lib/href.ts
1752
1752
  function href(path, ...args) {
1753
1753
  let params = args[0];
1754
- let result = path.replace(/\/*\*?$/, "").replace(
1754
+ let result = trimTrailingSplat(path).replace(
1755
1755
  /\/:([\w-]+)(\?)?/g,
1756
1756
  // same regex as in .\router\utils.ts: compilePath().
1757
1757
  (_, param, questionMark) => {
1758
1758
  const isRequired = questionMark === void 0;
1759
- const value = params ? params[param] : void 0;
1759
+ const value = _optionalChain([params, 'optionalAccess', _19 => _19[param]]);
1760
1760
  if (isRequired && value === void 0) {
1761
1761
  throw new Error(
1762
1762
  `Path '${path}' requires param '${param}' but it was not provided`
@@ -1766,13 +1766,23 @@ function href(path, ...args) {
1766
1766
  }
1767
1767
  );
1768
1768
  if (path.endsWith("*")) {
1769
- const value = params ? params["*"] : void 0;
1769
+ const value = _optionalChain([params, 'optionalAccess', _20 => _20["*"]]);
1770
1770
  if (value !== void 0) {
1771
1771
  result += "/" + value;
1772
1772
  }
1773
1773
  }
1774
1774
  return result || "/";
1775
1775
  }
1776
+ function trimTrailingSplat(path) {
1777
+ let i = path.length - 1;
1778
+ let char = path[i];
1779
+ if (char !== "*" && char !== "/") return path;
1780
+ i--;
1781
+ for (; i >= 0; i--) {
1782
+ if (path[i] !== "/") break;
1783
+ }
1784
+ return path.slice(0, i + 1);
1785
+ }
1776
1786
 
1777
1787
  // lib/rsc/server.ssr.tsx
1778
1788
 
@@ -1953,14 +1963,14 @@ async function routeRSCServerRequest({
1953
1963
  const payload = await createFromReadableStream(
1954
1964
  detectRedirectResponse.body
1955
1965
  );
1956
- if (serverResponse.status === _chunkAMVS5XVJjs.SINGLE_FETCH_REDIRECT_STATUS && payload.type === "redirect") {
1966
+ if (serverResponse.status === _chunkKQLPIZ7Ejs.SINGLE_FETCH_REDIRECT_STATUS && payload.type === "redirect") {
1957
1967
  const headers2 = new Headers(serverResponse.headers);
1958
1968
  headers2.delete("Content-Encoding");
1959
1969
  headers2.delete("Content-Length");
1960
1970
  headers2.delete("Content-Type");
1961
1971
  headers2.delete("X-Remix-Response");
1962
1972
  headers2.set("Location", payload.location);
1963
- return new Response(_optionalChain([serverResponseB, 'optionalAccess', _19 => _19.body]) || "", {
1973
+ return new Response(_optionalChain([serverResponseB, 'optionalAccess', _21 => _21.body]) || "", {
1964
1974
  headers: headers2,
1965
1975
  status: payload.status,
1966
1976
  statusText: serverResponse.statusText
@@ -1975,7 +1985,7 @@ async function routeRSCServerRequest({
1975
1985
  headers
1976
1986
  });
1977
1987
  }
1978
- if (!_optionalChain([serverResponseB, 'optionalAccess', _20 => _20.body])) {
1988
+ if (!_optionalChain([serverResponseB, 'optionalAccess', _22 => _22.body])) {
1979
1989
  throw new Error("Failed to clone server response");
1980
1990
  }
1981
1991
  const body2 = html.pipeThrough(injectRSCPayload(serverResponseB.body));
@@ -1988,7 +1998,7 @@ async function routeRSCServerRequest({
1988
1998
  return reason;
1989
1999
  }
1990
2000
  try {
1991
- const status = _chunkAMVS5XVJjs.isRouteErrorResponse.call(void 0, reason) ? reason.status : 500;
2001
+ const status = _chunkKQLPIZ7Ejs.isRouteErrorResponse.call(void 0, reason) ? reason.status : 500;
1992
2002
  const html = await renderHTML(() => {
1993
2003
  const decoded = Promise.resolve(
1994
2004
  createFromReadableStream(createStream())
@@ -2027,7 +2037,7 @@ async function routeRSCServerRequest({
2027
2037
  headers
2028
2038
  });
2029
2039
  }
2030
- if (!_optionalChain([serverResponseB, 'optionalAccess', _21 => _21.body])) {
2040
+ if (!_optionalChain([serverResponseB, 'optionalAccess', _23 => _23.body])) {
2031
2041
  throw new Error("Failed to clone server response");
2032
2042
  }
2033
2043
  const body2 = html.pipeThrough(injectRSCPayload(serverResponseB.body));
@@ -2054,7 +2064,7 @@ function RSCStaticRouter({ getPayload }) {
2054
2064
  if (payload.type !== "render") return null;
2055
2065
  let patchedLoaderData = { ...payload.loaderData };
2056
2066
  for (const match of payload.matches) {
2057
- if (_chunkAMVS5XVJjs.shouldHydrateRouteLoader.call(void 0,
2067
+ if (_chunkKQLPIZ7Ejs.shouldHydrateRouteLoader.call(void 0,
2058
2068
  match.id,
2059
2069
  match.clientLoader,
2060
2070
  match.hasLoader,
@@ -2094,7 +2104,7 @@ function RSCStaticRouter({ getPayload }) {
2094
2104
  }
2095
2105
  }))
2096
2106
  };
2097
- const router = _chunkO4JVZSOYjs.createStaticRouter.call(void 0,
2107
+ const router = _chunkXHWAND4Xjs.createStaticRouter.call(void 0,
2098
2108
  payload.matches.reduceRight((previous, match) => {
2099
2109
  const route = {
2100
2110
  id: match.id,
@@ -2136,10 +2146,10 @@ function RSCStaticRouter({ getPayload }) {
2136
2146
  }
2137
2147
  },
2138
2148
  routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" },
2139
- routeModules: _chunkPZWDWJAYjs.createRSCRouteModules.call(void 0, payload)
2149
+ routeModules: _chunkRHWHYDYZjs.createRSCRouteModules.call(void 0, payload)
2140
2150
  };
2141
- return /* @__PURE__ */ React3.createElement(_chunkAMVS5XVJjs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React3.createElement(_chunkPZWDWJAYjs.RSCRouterGlobalErrorBoundary, { location: payload.location }, /* @__PURE__ */ React3.createElement(_chunkAMVS5XVJjs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React3.createElement(
2142
- _chunkO4JVZSOYjs.StaticRouterProvider,
2151
+ return /* @__PURE__ */ React3.createElement(_chunkKQLPIZ7Ejs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React3.createElement(_chunkRHWHYDYZjs.RSCRouterGlobalErrorBoundary, { location: payload.location }, /* @__PURE__ */ React3.createElement(_chunkKQLPIZ7Ejs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React3.createElement(
2152
+ _chunkXHWAND4Xjs.StaticRouterProvider,
2143
2153
  {
2144
2154
  context,
2145
2155
  router,
@@ -2162,7 +2172,7 @@ function deserializeErrors(errors) {
2162
2172
  let serialized = {};
2163
2173
  for (let [key, val] of entries) {
2164
2174
  if (val && val.__type === "RouteErrorResponse") {
2165
- serialized[key] = new (0, _chunkAMVS5XVJjs.ErrorResponseImpl)(
2175
+ serialized[key] = new (0, _chunkKQLPIZ7Ejs.ErrorResponseImpl)(
2166
2176
  val.status,
2167
2177
  val.statusText,
2168
2178
  val.data,
@@ -2319,4 +2329,4 @@ function deserializeErrors(errors) {
2319
2329
 
2320
2330
 
2321
2331
 
2322
- exports.Await = _chunkAMVS5XVJjs.Await; exports.BrowserRouter = _chunkO4JVZSOYjs.BrowserRouter; exports.Form = _chunkO4JVZSOYjs.Form; exports.HashRouter = _chunkO4JVZSOYjs.HashRouter; exports.IDLE_BLOCKER = _chunkAMVS5XVJjs.IDLE_BLOCKER; exports.IDLE_FETCHER = _chunkAMVS5XVJjs.IDLE_FETCHER; exports.IDLE_NAVIGATION = _chunkAMVS5XVJjs.IDLE_NAVIGATION; exports.Link = _chunkO4JVZSOYjs.Link; exports.Links = _chunkAMVS5XVJjs.Links; exports.MemoryRouter = _chunkAMVS5XVJjs.MemoryRouter; exports.Meta = _chunkAMVS5XVJjs.Meta; exports.NavLink = _chunkO4JVZSOYjs.NavLink; exports.Navigate = _chunkAMVS5XVJjs.Navigate; exports.NavigationType = _chunkAMVS5XVJjs.Action; exports.Outlet = _chunkAMVS5XVJjs.Outlet; exports.PrefetchPageLinks = _chunkAMVS5XVJjs.PrefetchPageLinks; exports.Route = _chunkAMVS5XVJjs.Route; exports.Router = _chunkAMVS5XVJjs.Router; exports.RouterContextProvider = _chunkAMVS5XVJjs.RouterContextProvider; exports.RouterProvider = _chunkAMVS5XVJjs.RouterProvider; exports.Routes = _chunkAMVS5XVJjs.Routes; exports.Scripts = _chunkAMVS5XVJjs.Scripts; exports.ScrollRestoration = _chunkO4JVZSOYjs.ScrollRestoration; exports.ServerRouter = ServerRouter; exports.StaticRouter = _chunkO4JVZSOYjs.StaticRouter; exports.StaticRouterProvider = _chunkO4JVZSOYjs.StaticRouterProvider; exports.UNSAFE_AwaitContextProvider = _chunkAMVS5XVJjs.AwaitContextProvider; exports.UNSAFE_DataRouterContext = _chunkAMVS5XVJjs.DataRouterContext; exports.UNSAFE_DataRouterStateContext = _chunkAMVS5XVJjs.DataRouterStateContext; exports.UNSAFE_ErrorResponseImpl = _chunkAMVS5XVJjs.ErrorResponseImpl; exports.UNSAFE_FetchersContext = _chunkAMVS5XVJjs.FetchersContext; exports.UNSAFE_FrameworkContext = _chunkAMVS5XVJjs.FrameworkContext; exports.UNSAFE_LocationContext = _chunkAMVS5XVJjs.LocationContext; exports.UNSAFE_NavigationContext = _chunkAMVS5XVJjs.NavigationContext; exports.UNSAFE_RSCDefaultRootErrorBoundary = _chunkPZWDWJAYjs.RSCDefaultRootErrorBoundary; exports.UNSAFE_RemixErrorBoundary = _chunkAMVS5XVJjs.RemixErrorBoundary; exports.UNSAFE_RouteContext = _chunkAMVS5XVJjs.RouteContext; exports.UNSAFE_ServerMode = ServerMode; exports.UNSAFE_SingleFetchRedirectSymbol = _chunkAMVS5XVJjs.SingleFetchRedirectSymbol; exports.UNSAFE_ViewTransitionContext = _chunkAMVS5XVJjs.ViewTransitionContext; exports.UNSAFE_WithComponentProps = _chunkAMVS5XVJjs.WithComponentProps; exports.UNSAFE_WithErrorBoundaryProps = _chunkAMVS5XVJjs.WithErrorBoundaryProps; exports.UNSAFE_WithHydrateFallbackProps = _chunkAMVS5XVJjs.WithHydrateFallbackProps; exports.UNSAFE_createBrowserHistory = _chunkAMVS5XVJjs.createBrowserHistory; exports.UNSAFE_createClientRoutes = _chunkAMVS5XVJjs.createClientRoutes; exports.UNSAFE_createClientRoutesWithHMRRevalidationOptOut = _chunkAMVS5XVJjs.createClientRoutesWithHMRRevalidationOptOut; exports.UNSAFE_createRouter = _chunkAMVS5XVJjs.createRouter; exports.UNSAFE_decodeViaTurboStream = _chunkAMVS5XVJjs.decodeViaTurboStream; exports.UNSAFE_deserializeErrors = deserializeErrors; exports.UNSAFE_getHydrationData = _chunkPZWDWJAYjs.getHydrationData; exports.UNSAFE_getPatchRoutesOnNavigationFunction = _chunkAMVS5XVJjs.getPatchRoutesOnNavigationFunction; exports.UNSAFE_getTurboStreamSingleFetchDataStrategy = _chunkAMVS5XVJjs.getTurboStreamSingleFetchDataStrategy; exports.UNSAFE_hydrationRouteProperties = _chunkAMVS5XVJjs.hydrationRouteProperties; exports.UNSAFE_invariant = _chunkAMVS5XVJjs.invariant; exports.UNSAFE_mapRouteProperties = _chunkAMVS5XVJjs.mapRouteProperties; exports.UNSAFE_shouldHydrateRouteLoader = _chunkAMVS5XVJjs.shouldHydrateRouteLoader; exports.UNSAFE_useFogOFWarDiscovery = _chunkAMVS5XVJjs.useFogOFWarDiscovery; exports.UNSAFE_useScrollRestoration = _chunkO4JVZSOYjs.useScrollRestoration; exports.UNSAFE_withComponentProps = _chunkAMVS5XVJjs.withComponentProps; exports.UNSAFE_withErrorBoundaryProps = _chunkAMVS5XVJjs.withErrorBoundaryProps; exports.UNSAFE_withHydrateFallbackProps = _chunkAMVS5XVJjs.withHydrateFallbackProps; exports.createBrowserRouter = _chunkO4JVZSOYjs.createBrowserRouter; exports.createContext = _chunkAMVS5XVJjs.createContext; exports.createCookie = createCookie; exports.createCookieSessionStorage = createCookieSessionStorage; exports.createHashRouter = _chunkO4JVZSOYjs.createHashRouter; exports.createMemoryRouter = _chunkAMVS5XVJjs.createMemoryRouter; exports.createMemorySessionStorage = createMemorySessionStorage; exports.createPath = _chunkAMVS5XVJjs.createPath; exports.createRequestHandler = createRequestHandler; exports.createRoutesFromChildren = _chunkAMVS5XVJjs.createRoutesFromChildren; exports.createRoutesFromElements = _chunkAMVS5XVJjs.createRoutesFromElements; exports.createRoutesStub = createRoutesStub; exports.createSearchParams = _chunkO4JVZSOYjs.createSearchParams; exports.createSession = createSession; exports.createSessionStorage = createSessionStorage; exports.createStaticHandler = _chunkO4JVZSOYjs.createStaticHandler; exports.createStaticRouter = _chunkO4JVZSOYjs.createStaticRouter; exports.data = _chunkAMVS5XVJjs.data; exports.generatePath = _chunkAMVS5XVJjs.generatePath; exports.href = href; exports.isCookie = isCookie; exports.isRouteErrorResponse = _chunkAMVS5XVJjs.isRouteErrorResponse; exports.isSession = isSession; exports.matchPath = _chunkAMVS5XVJjs.matchPath; exports.matchRoutes = _chunkAMVS5XVJjs.matchRoutes; exports.parsePath = _chunkAMVS5XVJjs.parsePath; exports.redirect = _chunkAMVS5XVJjs.redirect; exports.redirectDocument = _chunkAMVS5XVJjs.redirectDocument; exports.renderMatches = _chunkAMVS5XVJjs.renderMatches; exports.replace = _chunkAMVS5XVJjs.replace; exports.resolvePath = _chunkAMVS5XVJjs.resolvePath; exports.unstable_HistoryRouter = _chunkO4JVZSOYjs.HistoryRouter; exports.unstable_RSCStaticRouter = RSCStaticRouter; exports.unstable_routeRSCServerRequest = routeRSCServerRequest; exports.unstable_setDevServerHooks = setDevServerHooks; exports.unstable_usePrompt = _chunkO4JVZSOYjs.usePrompt; exports.unstable_useRoute = _chunkAMVS5XVJjs.useRoute; exports.useActionData = _chunkAMVS5XVJjs.useActionData; exports.useAsyncError = _chunkAMVS5XVJjs.useAsyncError; exports.useAsyncValue = _chunkAMVS5XVJjs.useAsyncValue; exports.useBeforeUnload = _chunkO4JVZSOYjs.useBeforeUnload; exports.useBlocker = _chunkAMVS5XVJjs.useBlocker; exports.useFetcher = _chunkO4JVZSOYjs.useFetcher; exports.useFetchers = _chunkO4JVZSOYjs.useFetchers; exports.useFormAction = _chunkO4JVZSOYjs.useFormAction; exports.useHref = _chunkAMVS5XVJjs.useHref; exports.useInRouterContext = _chunkAMVS5XVJjs.useInRouterContext; exports.useLinkClickHandler = _chunkO4JVZSOYjs.useLinkClickHandler; exports.useLoaderData = _chunkAMVS5XVJjs.useLoaderData; exports.useLocation = _chunkAMVS5XVJjs.useLocation; exports.useMatch = _chunkAMVS5XVJjs.useMatch; exports.useMatches = _chunkAMVS5XVJjs.useMatches; exports.useNavigate = _chunkAMVS5XVJjs.useNavigate; exports.useNavigation = _chunkAMVS5XVJjs.useNavigation; exports.useNavigationType = _chunkAMVS5XVJjs.useNavigationType; exports.useOutlet = _chunkAMVS5XVJjs.useOutlet; exports.useOutletContext = _chunkAMVS5XVJjs.useOutletContext; exports.useParams = _chunkAMVS5XVJjs.useParams; exports.useResolvedPath = _chunkAMVS5XVJjs.useResolvedPath; exports.useRevalidator = _chunkAMVS5XVJjs.useRevalidator; exports.useRouteError = _chunkAMVS5XVJjs.useRouteError; exports.useRouteLoaderData = _chunkAMVS5XVJjs.useRouteLoaderData; exports.useRoutes = _chunkAMVS5XVJjs.useRoutes; exports.useSearchParams = _chunkO4JVZSOYjs.useSearchParams; exports.useSubmit = _chunkO4JVZSOYjs.useSubmit; exports.useViewTransitionState = _chunkO4JVZSOYjs.useViewTransitionState;
2332
+ exports.Await = _chunkKQLPIZ7Ejs.Await; exports.BrowserRouter = _chunkXHWAND4Xjs.BrowserRouter; exports.Form = _chunkXHWAND4Xjs.Form; exports.HashRouter = _chunkXHWAND4Xjs.HashRouter; exports.IDLE_BLOCKER = _chunkKQLPIZ7Ejs.IDLE_BLOCKER; exports.IDLE_FETCHER = _chunkKQLPIZ7Ejs.IDLE_FETCHER; exports.IDLE_NAVIGATION = _chunkKQLPIZ7Ejs.IDLE_NAVIGATION; exports.Link = _chunkXHWAND4Xjs.Link; exports.Links = _chunkKQLPIZ7Ejs.Links; exports.MemoryRouter = _chunkKQLPIZ7Ejs.MemoryRouter; exports.Meta = _chunkKQLPIZ7Ejs.Meta; exports.NavLink = _chunkXHWAND4Xjs.NavLink; exports.Navigate = _chunkKQLPIZ7Ejs.Navigate; exports.NavigationType = _chunkKQLPIZ7Ejs.Action; exports.Outlet = _chunkKQLPIZ7Ejs.Outlet; exports.PrefetchPageLinks = _chunkKQLPIZ7Ejs.PrefetchPageLinks; exports.Route = _chunkKQLPIZ7Ejs.Route; exports.Router = _chunkKQLPIZ7Ejs.Router; exports.RouterContextProvider = _chunkKQLPIZ7Ejs.RouterContextProvider; exports.RouterProvider = _chunkKQLPIZ7Ejs.RouterProvider; exports.Routes = _chunkKQLPIZ7Ejs.Routes; exports.Scripts = _chunkKQLPIZ7Ejs.Scripts; exports.ScrollRestoration = _chunkXHWAND4Xjs.ScrollRestoration; exports.ServerRouter = ServerRouter; exports.StaticRouter = _chunkXHWAND4Xjs.StaticRouter; exports.StaticRouterProvider = _chunkXHWAND4Xjs.StaticRouterProvider; exports.UNSAFE_AwaitContextProvider = _chunkKQLPIZ7Ejs.AwaitContextProvider; exports.UNSAFE_DataRouterContext = _chunkKQLPIZ7Ejs.DataRouterContext; exports.UNSAFE_DataRouterStateContext = _chunkKQLPIZ7Ejs.DataRouterStateContext; exports.UNSAFE_ErrorResponseImpl = _chunkKQLPIZ7Ejs.ErrorResponseImpl; exports.UNSAFE_FetchersContext = _chunkKQLPIZ7Ejs.FetchersContext; exports.UNSAFE_FrameworkContext = _chunkKQLPIZ7Ejs.FrameworkContext; exports.UNSAFE_LocationContext = _chunkKQLPIZ7Ejs.LocationContext; exports.UNSAFE_NavigationContext = _chunkKQLPIZ7Ejs.NavigationContext; exports.UNSAFE_RSCDefaultRootErrorBoundary = _chunkRHWHYDYZjs.RSCDefaultRootErrorBoundary; exports.UNSAFE_RemixErrorBoundary = _chunkKQLPIZ7Ejs.RemixErrorBoundary; exports.UNSAFE_RouteContext = _chunkKQLPIZ7Ejs.RouteContext; exports.UNSAFE_ServerMode = ServerMode; exports.UNSAFE_SingleFetchRedirectSymbol = _chunkKQLPIZ7Ejs.SingleFetchRedirectSymbol; exports.UNSAFE_ViewTransitionContext = _chunkKQLPIZ7Ejs.ViewTransitionContext; exports.UNSAFE_WithComponentProps = _chunkKQLPIZ7Ejs.WithComponentProps; exports.UNSAFE_WithErrorBoundaryProps = _chunkKQLPIZ7Ejs.WithErrorBoundaryProps; exports.UNSAFE_WithHydrateFallbackProps = _chunkKQLPIZ7Ejs.WithHydrateFallbackProps; exports.UNSAFE_createBrowserHistory = _chunkKQLPIZ7Ejs.createBrowserHistory; exports.UNSAFE_createClientRoutes = _chunkKQLPIZ7Ejs.createClientRoutes; exports.UNSAFE_createClientRoutesWithHMRRevalidationOptOut = _chunkKQLPIZ7Ejs.createClientRoutesWithHMRRevalidationOptOut; exports.UNSAFE_createRouter = _chunkKQLPIZ7Ejs.createRouter; exports.UNSAFE_decodeViaTurboStream = _chunkKQLPIZ7Ejs.decodeViaTurboStream; exports.UNSAFE_deserializeErrors = deserializeErrors; exports.UNSAFE_getHydrationData = _chunkRHWHYDYZjs.getHydrationData; exports.UNSAFE_getPatchRoutesOnNavigationFunction = _chunkKQLPIZ7Ejs.getPatchRoutesOnNavigationFunction; exports.UNSAFE_getTurboStreamSingleFetchDataStrategy = _chunkKQLPIZ7Ejs.getTurboStreamSingleFetchDataStrategy; exports.UNSAFE_hydrationRouteProperties = _chunkKQLPIZ7Ejs.hydrationRouteProperties; exports.UNSAFE_invariant = _chunkKQLPIZ7Ejs.invariant; exports.UNSAFE_mapRouteProperties = _chunkKQLPIZ7Ejs.mapRouteProperties; exports.UNSAFE_shouldHydrateRouteLoader = _chunkKQLPIZ7Ejs.shouldHydrateRouteLoader; exports.UNSAFE_useFogOFWarDiscovery = _chunkKQLPIZ7Ejs.useFogOFWarDiscovery; exports.UNSAFE_useScrollRestoration = _chunkXHWAND4Xjs.useScrollRestoration; exports.UNSAFE_withComponentProps = _chunkKQLPIZ7Ejs.withComponentProps; exports.UNSAFE_withErrorBoundaryProps = _chunkKQLPIZ7Ejs.withErrorBoundaryProps; exports.UNSAFE_withHydrateFallbackProps = _chunkKQLPIZ7Ejs.withHydrateFallbackProps; exports.createBrowserRouter = _chunkXHWAND4Xjs.createBrowserRouter; exports.createContext = _chunkKQLPIZ7Ejs.createContext; exports.createCookie = createCookie; exports.createCookieSessionStorage = createCookieSessionStorage; exports.createHashRouter = _chunkXHWAND4Xjs.createHashRouter; exports.createMemoryRouter = _chunkKQLPIZ7Ejs.createMemoryRouter; exports.createMemorySessionStorage = createMemorySessionStorage; exports.createPath = _chunkKQLPIZ7Ejs.createPath; exports.createRequestHandler = createRequestHandler; exports.createRoutesFromChildren = _chunkKQLPIZ7Ejs.createRoutesFromChildren; exports.createRoutesFromElements = _chunkKQLPIZ7Ejs.createRoutesFromElements; exports.createRoutesStub = createRoutesStub; exports.createSearchParams = _chunkXHWAND4Xjs.createSearchParams; exports.createSession = createSession; exports.createSessionStorage = createSessionStorage; exports.createStaticHandler = _chunkXHWAND4Xjs.createStaticHandler; exports.createStaticRouter = _chunkXHWAND4Xjs.createStaticRouter; exports.data = _chunkKQLPIZ7Ejs.data; exports.generatePath = _chunkKQLPIZ7Ejs.generatePath; exports.href = href; exports.isCookie = isCookie; exports.isRouteErrorResponse = _chunkKQLPIZ7Ejs.isRouteErrorResponse; exports.isSession = isSession; exports.matchPath = _chunkKQLPIZ7Ejs.matchPath; exports.matchRoutes = _chunkKQLPIZ7Ejs.matchRoutes; exports.parsePath = _chunkKQLPIZ7Ejs.parsePath; exports.redirect = _chunkKQLPIZ7Ejs.redirect; exports.redirectDocument = _chunkKQLPIZ7Ejs.redirectDocument; exports.renderMatches = _chunkKQLPIZ7Ejs.renderMatches; exports.replace = _chunkKQLPIZ7Ejs.replace; exports.resolvePath = _chunkKQLPIZ7Ejs.resolvePath; exports.unstable_HistoryRouter = _chunkXHWAND4Xjs.HistoryRouter; exports.unstable_RSCStaticRouter = RSCStaticRouter; exports.unstable_routeRSCServerRequest = routeRSCServerRequest; exports.unstable_setDevServerHooks = setDevServerHooks; exports.unstable_usePrompt = _chunkXHWAND4Xjs.usePrompt; exports.unstable_useRoute = _chunkKQLPIZ7Ejs.useRoute; exports.useActionData = _chunkKQLPIZ7Ejs.useActionData; exports.useAsyncError = _chunkKQLPIZ7Ejs.useAsyncError; exports.useAsyncValue = _chunkKQLPIZ7Ejs.useAsyncValue; exports.useBeforeUnload = _chunkXHWAND4Xjs.useBeforeUnload; exports.useBlocker = _chunkKQLPIZ7Ejs.useBlocker; exports.useFetcher = _chunkXHWAND4Xjs.useFetcher; exports.useFetchers = _chunkXHWAND4Xjs.useFetchers; exports.useFormAction = _chunkXHWAND4Xjs.useFormAction; exports.useHref = _chunkKQLPIZ7Ejs.useHref; exports.useInRouterContext = _chunkKQLPIZ7Ejs.useInRouterContext; exports.useLinkClickHandler = _chunkXHWAND4Xjs.useLinkClickHandler; exports.useLoaderData = _chunkKQLPIZ7Ejs.useLoaderData; exports.useLocation = _chunkKQLPIZ7Ejs.useLocation; exports.useMatch = _chunkKQLPIZ7Ejs.useMatch; exports.useMatches = _chunkKQLPIZ7Ejs.useMatches; exports.useNavigate = _chunkKQLPIZ7Ejs.useNavigate; exports.useNavigation = _chunkKQLPIZ7Ejs.useNavigation; exports.useNavigationType = _chunkKQLPIZ7Ejs.useNavigationType; exports.useOutlet = _chunkKQLPIZ7Ejs.useOutlet; exports.useOutletContext = _chunkKQLPIZ7Ejs.useOutletContext; exports.useParams = _chunkKQLPIZ7Ejs.useParams; exports.useResolvedPath = _chunkKQLPIZ7Ejs.useResolvedPath; exports.useRevalidator = _chunkKQLPIZ7Ejs.useRevalidator; exports.useRouteError = _chunkKQLPIZ7Ejs.useRouteError; exports.useRouteLoaderData = _chunkKQLPIZ7Ejs.useRouteLoaderData; exports.useRoutes = _chunkKQLPIZ7Ejs.useRoutes; exports.useSearchParams = _chunkXHWAND4Xjs.useSearchParams; exports.useSubmit = _chunkXHWAND4Xjs.useSubmit; exports.useViewTransitionState = _chunkXHWAND4Xjs.useViewTransitionState;