react-router 7.9.3 → 7.9.4

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 (58) hide show
  1. package/CHANGELOG.md +105 -0
  2. package/dist/development/{chunk-EUCGRVHH.js → chunk-72XNTZCV.js} +134 -134
  3. package/dist/development/{chunk-LZYTN6SO.js → chunk-DI2QHYMJ.js} +28 -14
  4. package/dist/development/{chunk-NISHYRIK.mjs → chunk-OIYGIGL5.mjs} +16 -2
  5. package/dist/development/{chunk-65XJMMLO.mjs → chunk-WY5IRSCW.mjs} +8 -4
  6. package/dist/{production/context-BqL5Eckq.d.mts → development/context-DSyS5mLj.d.mts} +1 -1
  7. package/dist/development/dom-export.d.mts +1 -1
  8. package/dist/development/dom-export.js +3 -3
  9. package/dist/development/dom-export.mjs +3 -3
  10. package/dist/{production/index-react-server-client-2EDmGlsZ.d.mts → development/index-react-server-client-BIz4AUNd.d.mts} +2 -2
  11. package/dist/development/{index-react-server-client-DKvU8YRr.d.ts → index-react-server-client-BbRcBjrA.d.ts} +1 -1
  12. package/dist/development/index-react-server-client.d.mts +3 -3
  13. package/dist/development/index-react-server-client.d.ts +2 -2
  14. package/dist/development/index-react-server-client.js +4 -4
  15. package/dist/development/index-react-server-client.mjs +2 -2
  16. package/dist/development/index-react-server.js +1 -1
  17. package/dist/development/index-react-server.mjs +1 -1
  18. package/dist/development/index.d.mts +16 -9
  19. package/dist/development/index.d.ts +14 -7
  20. package/dist/development/index.js +105 -99
  21. package/dist/development/index.mjs +5 -3
  22. package/dist/development/lib/types/internal.d.mts +3 -3
  23. package/dist/development/lib/types/internal.d.ts +2 -2
  24. package/dist/development/lib/types/internal.js +1 -1
  25. package/dist/development/lib/types/internal.mjs +1 -1
  26. package/dist/{production/register-DiOIlEq5.d.mts → development/register-C34pU-in.d.ts} +7 -1
  27. package/dist/development/{register-DiOIlEq5.d.mts → register-CI4bTprK.d.mts} +7 -1
  28. package/dist/development/{route-data-CDwqkzPE.d.mts → route-data-DZQOUSqV.d.mts} +1 -1
  29. package/dist/development/{routeModules-BmVo7q9e.d.ts → routeModules-D5iJ6JYT.d.ts} +1 -1
  30. package/dist/production/{chunk-VAVG4EWR.mjs → chunk-3TADTUL4.mjs} +16 -2
  31. package/dist/production/{chunk-GWORLVRM.js → chunk-4E5LHRQP.js} +28 -14
  32. package/dist/production/{chunk-LI6FX3G6.mjs → chunk-FR6HSPLK.mjs} +8 -4
  33. package/dist/production/{chunk-LHDU32KO.js → chunk-WNLQ53P5.js} +134 -134
  34. package/dist/{development/context-BqL5Eckq.d.mts → production/context-DSyS5mLj.d.mts} +1 -1
  35. package/dist/production/dom-export.d.mts +1 -1
  36. package/dist/production/dom-export.js +3 -3
  37. package/dist/production/dom-export.mjs +3 -3
  38. package/dist/{development/index-react-server-client-2EDmGlsZ.d.mts → production/index-react-server-client-BIz4AUNd.d.mts} +2 -2
  39. package/dist/production/{index-react-server-client-DKvU8YRr.d.ts → index-react-server-client-BbRcBjrA.d.ts} +1 -1
  40. package/dist/production/index-react-server-client.d.mts +3 -3
  41. package/dist/production/index-react-server-client.d.ts +2 -2
  42. package/dist/production/index-react-server-client.js +4 -4
  43. package/dist/production/index-react-server-client.mjs +2 -2
  44. package/dist/production/index-react-server.js +1 -1
  45. package/dist/production/index-react-server.mjs +1 -1
  46. package/dist/production/index.d.mts +16 -9
  47. package/dist/production/index.d.ts +14 -7
  48. package/dist/production/index.js +105 -99
  49. package/dist/production/index.mjs +5 -3
  50. package/dist/production/lib/types/internal.d.mts +3 -3
  51. package/dist/production/lib/types/internal.d.ts +2 -2
  52. package/dist/production/lib/types/internal.js +1 -1
  53. package/dist/production/lib/types/internal.mjs +1 -1
  54. package/dist/production/{register-DiOIlEq5.d.ts → register-C34pU-in.d.ts} +7 -1
  55. package/dist/{development/register-DiOIlEq5.d.ts → production/register-CI4bTprK.d.mts} +7 -1
  56. package/dist/production/{route-data-CDwqkzPE.d.mts → route-data-DZQOUSqV.d.mts} +1 -1
  57. package/dist/production/{routeModules-BmVo7q9e.d.ts → routeModules-D5iJ6JYT.d.ts} +1 -1
  58. 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.3
2
+ * react-router v7.9.4
3
3
  *
4
4
  * Copyright (c) Remix Software Inc.
5
5
  *
@@ -55,7 +55,7 @@
55
55
 
56
56
 
57
57
 
58
- var _chunkLHDU32KOjs = require('./chunk-LHDU32KO.js');
58
+ var _chunkWNLQ53P5js = require('./chunk-WNLQ53P5.js');
59
59
 
60
60
 
61
61
 
@@ -146,7 +146,8 @@ var _chunkLHDU32KOjs = require('./chunk-LHDU32KO.js');
146
146
 
147
147
 
148
148
 
149
- var _chunkGWORLVRMjs = require('./chunk-GWORLVRM.js');
149
+
150
+ var _chunk4E5LHRQPjs = require('./chunk-4E5LHRQP.js');
150
151
 
151
152
  // lib/dom/ssr/server.tsx
152
153
  var _react = require('react'); var React = _interopRequireWildcard(_react); var React2 = _interopRequireWildcard(_react); var React4 = _interopRequireWildcard(_react); var React5 = _interopRequireWildcard(_react);
@@ -159,7 +160,7 @@ function ServerRouter({
159
160
  url = new URL(url);
160
161
  }
161
162
  let { manifest, routeModules, criticalCss, serverHandoffString } = context;
162
- let routes = _chunkGWORLVRMjs.createServerRoutes.call(void 0,
163
+ let routes = _chunk4E5LHRQPjs.createServerRoutes.call(void 0,
163
164
  manifest.routes,
164
165
  routeModules,
165
166
  context.future,
@@ -172,7 +173,7 @@ function ServerRouter({
172
173
  let routeId = match.route.id;
173
174
  let route = routeModules[routeId];
174
175
  let manifestRoute = context.manifest.routes[routeId];
175
- if (route && manifestRoute && _chunkGWORLVRMjs.shouldHydrateRouteLoader.call(void 0,
176
+ if (route && manifestRoute && _chunk4E5LHRQPjs.shouldHydrateRouteLoader.call(void 0,
176
177
  routeId,
177
178
  route.clientLoader,
178
179
  manifestRoute.hasLoader,
@@ -181,9 +182,9 @@ function ServerRouter({
181
182
  delete context.staticHandlerContext.loaderData[routeId];
182
183
  }
183
184
  }
184
- let router = _chunkLHDU32KOjs.createStaticRouter.call(void 0, routes, context.staticHandlerContext);
185
+ let router = _chunkWNLQ53P5js.createStaticRouter.call(void 0, routes, context.staticHandlerContext);
185
186
  return /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(
186
- _chunkGWORLVRMjs.FrameworkContext.Provider,
187
+ _chunk4E5LHRQPjs.FrameworkContext.Provider,
187
188
  {
188
189
  value: {
189
190
  manifest,
@@ -198,8 +199,8 @@ function ServerRouter({
198
199
  renderMeta: context.renderMeta
199
200
  }
200
201
  },
201
- /* @__PURE__ */ React.createElement(_chunkGWORLVRMjs.RemixErrorBoundary, { location: router.state.location }, /* @__PURE__ */ React.createElement(
202
- _chunkLHDU32KOjs.StaticRouterProvider,
202
+ /* @__PURE__ */ React.createElement(_chunk4E5LHRQPjs.RemixErrorBoundary, { location: router.state.location }, /* @__PURE__ */ React.createElement(
203
+ _chunkWNLQ53P5js.StaticRouterProvider,
203
204
  {
204
205
  router,
205
206
  context: context.staticHandlerContext,
@@ -207,7 +208,7 @@ function ServerRouter({
207
208
  }
208
209
  ))
209
210
  ), context.serverHandoffStream ? /* @__PURE__ */ React.createElement(React.Suspense, null, /* @__PURE__ */ React.createElement(
210
- _chunkGWORLVRMjs.StreamTransfer,
211
+ _chunk4E5LHRQPjs.StreamTransfer,
211
212
  {
212
213
  context,
213
214
  identifier: 0,
@@ -249,18 +250,18 @@ function createRoutesStub(routes, _context) {
249
250
  let patched = processRoutes(
250
251
  // @ts-expect-error `StubRouteObject` is stricter about `loader`/`action`
251
252
  // types compared to `AgnosticRouteObject`
252
- _chunkGWORLVRMjs.convertRoutesToDataRoutes.call(void 0, routes, (r) => r),
253
- _context !== void 0 ? _context : _optionalChain([future, 'optionalAccess', _4 => _4.v8_middleware]) ? new (0, _chunkGWORLVRMjs.RouterContextProvider)() : {},
253
+ _chunk4E5LHRQPjs.convertRoutesToDataRoutes.call(void 0, routes, (r) => r),
254
+ _context !== void 0 ? _context : _optionalChain([future, 'optionalAccess', _4 => _4.v8_middleware]) ? new (0, _chunk4E5LHRQPjs.RouterContextProvider)() : {},
254
255
  frameworkContextRef.current.manifest,
255
256
  frameworkContextRef.current.routeModules
256
257
  );
257
- routerRef.current = _chunkLHDU32KOjs.createMemoryRouter.call(void 0, patched, {
258
+ routerRef.current = _chunkWNLQ53P5js.createMemoryRouter.call(void 0, patched, {
258
259
  initialEntries,
259
260
  initialIndex,
260
261
  hydrationData
261
262
  });
262
263
  }
263
- return /* @__PURE__ */ React2.createElement(_chunkGWORLVRMjs.FrameworkContext.Provider, { value: frameworkContextRef.current }, /* @__PURE__ */ React2.createElement(_chunkLHDU32KOjs.RouterProvider, { router: routerRef.current }));
264
+ return /* @__PURE__ */ React2.createElement(_chunk4E5LHRQPjs.FrameworkContext.Provider, { value: frameworkContextRef.current }, /* @__PURE__ */ React2.createElement(_chunkWNLQ53P5js.RouterProvider, { router: routerRef.current }));
264
265
  };
265
266
  }
266
267
  function processRoutes(routes, context, manifest, routeModules, parentId) {
@@ -274,9 +275,9 @@ function processRoutes(routes, context, manifest, routeModules, parentId) {
274
275
  id: route.id,
275
276
  path: route.path,
276
277
  index: route.index,
277
- Component: route.Component ? _chunkLHDU32KOjs.withComponentProps.call(void 0, route.Component) : void 0,
278
- HydrateFallback: route.HydrateFallback ? _chunkLHDU32KOjs.withHydrateFallbackProps.call(void 0, route.HydrateFallback) : void 0,
279
- ErrorBoundary: route.ErrorBoundary ? _chunkLHDU32KOjs.withErrorBoundaryProps.call(void 0, route.ErrorBoundary) : void 0,
278
+ Component: route.Component ? _chunkWNLQ53P5js.withComponentProps.call(void 0, route.Component) : void 0,
279
+ HydrateFallback: route.HydrateFallback ? _chunkWNLQ53P5js.withHydrateFallbackProps.call(void 0, route.HydrateFallback) : void 0,
280
+ ErrorBoundary: route.ErrorBoundary ? _chunkWNLQ53P5js.withErrorBoundaryProps.call(void 0, route.ErrorBoundary) : void 0,
280
281
  action: route.action ? (args) => route.action({ ...args, context }) : void 0,
281
282
  loader: route.loader ? (args) => route.loader({ ...args, context }) : void 0,
282
283
  middleware: route.middleware ? route.middleware.map(
@@ -311,7 +312,7 @@ function processRoutes(routes, context, manifest, routeModules, parentId) {
311
312
  };
312
313
  manifest.routes[newRoute.id] = entryRoute;
313
314
  routeModules[route.id] = {
314
- default: newRoute.Component || _chunkLHDU32KOjs.Outlet,
315
+ default: newRoute.Component || _chunkWNLQ53P5js.Outlet,
315
316
  ErrorBoundary: newRoute.ErrorBoundary || void 0,
316
317
  handle: route.handle,
317
318
  links: route.links,
@@ -506,7 +507,7 @@ function myUnescape(value) {
506
507
  return result;
507
508
  }
508
509
  function warnOnceAboutExpiresCookie(name, expires) {
509
- _chunkGWORLVRMjs.warnOnce.call(void 0,
510
+ _chunk4E5LHRQPjs.warnOnce.call(void 0,
510
511
  !expires,
511
512
  `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.`
512
513
  );
@@ -560,7 +561,7 @@ function serializeErrors(errors, serverMode) {
560
561
  let entries = Object.entries(errors);
561
562
  let serialized = {};
562
563
  for (let [key, val] of entries) {
563
- if (_chunkGWORLVRMjs.isRouteErrorResponse.call(void 0, val)) {
564
+ if (_chunk4E5LHRQPjs.isRouteErrorResponse.call(void 0, val)) {
564
565
  serialized[key] = { ...val, __type: "RouteErrorResponse" };
565
566
  } else if (val instanceof Error) {
566
567
  let sanitized = sanitizeError(val, serverMode);
@@ -585,7 +586,7 @@ function serializeErrors(errors, serverMode) {
585
586
 
586
587
  // lib/server-runtime/routeMatching.ts
587
588
  function matchServerRoutes(routes, pathname, basename) {
588
- let matches = _chunkGWORLVRMjs.matchRoutes.call(void 0,
589
+ let matches = _chunk4E5LHRQPjs.matchRoutes.call(void 0,
589
590
  routes,
590
591
  pathname,
591
592
  basename
@@ -605,7 +606,7 @@ async function callRouteHandler(handler, args) {
605
606
  params: args.params,
606
607
  context: args.context
607
608
  });
608
- if (_chunkGWORLVRMjs.isDataWithResponseInit.call(void 0, result) && result.init && result.init.status && _chunkGWORLVRMjs.isRedirectStatusCode.call(void 0, result.init.status)) {
609
+ if (_chunk4E5LHRQPjs.isDataWithResponseInit.call(void 0, result) && result.init && result.init.status && _chunk4E5LHRQPjs.isRedirectStatusCode.call(void 0, result.init.status)) {
609
610
  throw new Response(null, result.init);
610
611
  }
611
612
  return result;
@@ -724,17 +725,17 @@ function createStaticHandlerDataRoutes(manifest, future, parentId = "", routesBy
724
725
  controller.close();
725
726
  }
726
727
  });
727
- let decoded = await _chunkGWORLVRMjs.decodeViaTurboStream.call(void 0, stream, global);
728
+ let decoded = await _chunk4E5LHRQPjs.decodeViaTurboStream.call(void 0, stream, global);
728
729
  let data2 = decoded.value;
729
- if (data2 && _chunkGWORLVRMjs.SingleFetchRedirectSymbol in data2) {
730
- let result = data2[_chunkGWORLVRMjs.SingleFetchRedirectSymbol];
730
+ if (data2 && _chunk4E5LHRQPjs.SingleFetchRedirectSymbol in data2) {
731
+ let result = data2[_chunk4E5LHRQPjs.SingleFetchRedirectSymbol];
731
732
  let init = { status: result.status };
732
733
  if (result.reload) {
733
- throw _chunkGWORLVRMjs.redirectDocument.call(void 0, result.redirect, init);
734
+ throw _chunk4E5LHRQPjs.redirectDocument.call(void 0, result.redirect, init);
734
735
  } else if (result.replace) {
735
- throw _chunkGWORLVRMjs.replace.call(void 0, result.redirect, init);
736
+ throw _chunk4E5LHRQPjs.replace.call(void 0, result.redirect, init);
736
737
  } else {
737
- throw _chunkGWORLVRMjs.redirect.call(void 0, result.redirect, init);
738
+ throw _chunk4E5LHRQPjs.redirect.call(void 0, result.redirect, init);
738
739
  }
739
740
  } else {
740
741
  invariant2(
@@ -773,7 +774,7 @@ function createStaticHandlerDataRoutes(manifest, future, parentId = "", routesBy
773
774
 
774
775
  // lib/server-runtime/serverHandoff.ts
775
776
  function createServerHandoffString(serverHandoff) {
776
- return _chunkGWORLVRMjs.escapeHtml.call(void 0, JSON.stringify(serverHandoff));
777
+ return _chunk4E5LHRQPjs.escapeHtml.call(void 0, JSON.stringify(serverHandoff));
777
778
  }
778
779
 
779
780
  // lib/server-runtime/headers.ts
@@ -850,7 +851,7 @@ function prependCookies(parentHeaders, childHeaders) {
850
851
 
851
852
  // lib/server-runtime/single-fetch.ts
852
853
  var SERVER_NO_BODY_STATUS_CODES = /* @__PURE__ */ new Set([
853
- ..._chunkGWORLVRMjs.NO_BODY_STATUS_CODES,
854
+ ..._chunk4E5LHRQPjs.NO_BODY_STATUS_CODES,
854
855
  304
855
856
  ]);
856
857
  async function singleFetchAction(build, serverMode, staticHandler, request, handlerUrl, loadContext, handleError) {
@@ -880,7 +881,7 @@ async function singleFetchAction(build, serverMode, staticHandler, request, hand
880
881
  return handleQueryError(error);
881
882
  }
882
883
  function handleQueryResult(result) {
883
- return _chunkGWORLVRMjs.isResponse.call(void 0, result) ? result : staticContextToResponse(result);
884
+ return _chunk4E5LHRQPjs.isResponse.call(void 0, result) ? result : staticContextToResponse(result);
884
885
  }
885
886
  function handleQueryError(error) {
886
887
  handleError(error);
@@ -892,12 +893,12 @@ async function singleFetchAction(build, serverMode, staticHandler, request, hand
892
893
  }
893
894
  function staticContextToResponse(context) {
894
895
  let headers = getDocumentHeaders(context, build);
895
- if (_chunkGWORLVRMjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
896
+ if (_chunk4E5LHRQPjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
896
897
  return new Response(null, { status: context.statusCode, headers });
897
898
  }
898
899
  if (context.errors) {
899
900
  Object.values(context.errors).forEach((err) => {
900
- if (!_chunkGWORLVRMjs.isRouteErrorResponse.call(void 0, err) || err.error) {
901
+ if (!_chunk4E5LHRQPjs.isRouteErrorResponse.call(void 0, err) || err.error) {
901
902
  handleError(err);
902
903
  }
903
904
  });
@@ -944,7 +945,7 @@ async function singleFetchLoaders(build, serverMode, staticHandler, request, han
944
945
  return handleQueryError(error);
945
946
  }
946
947
  function handleQueryResult(result) {
947
- return _chunkGWORLVRMjs.isResponse.call(void 0, result) ? result : staticContextToResponse(result);
948
+ return _chunk4E5LHRQPjs.isResponse.call(void 0, result) ? result : staticContextToResponse(result);
948
949
  }
949
950
  function handleQueryError(error) {
950
951
  handleError(error);
@@ -956,12 +957,12 @@ async function singleFetchLoaders(build, serverMode, staticHandler, request, han
956
957
  }
957
958
  function staticContextToResponse(context) {
958
959
  let headers = getDocumentHeaders(context, build);
959
- if (_chunkGWORLVRMjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
960
+ if (_chunk4E5LHRQPjs.isRedirectStatusCode.call(void 0, context.statusCode) && headers.has("Location")) {
960
961
  return new Response(null, { status: context.statusCode, headers });
961
962
  }
962
963
  if (context.errors) {
963
964
  Object.values(context.errors).forEach((err) => {
964
- if (!_chunkGWORLVRMjs.isRouteErrorResponse.call(void 0, err) || err.error) {
965
+ if (!_chunk4E5LHRQPjs.isRouteErrorResponse.call(void 0, err) || err.error) {
965
966
  handleError(err);
966
967
  }
967
968
  });
@@ -1025,15 +1026,15 @@ function generateSingleFetchRedirectResponse(redirectResponse, request, build, s
1025
1026
  headers.delete("Location");
1026
1027
  headers.set("Content-Type", "text/x-script");
1027
1028
  return generateSingleFetchResponse(request, build, serverMode, {
1028
- result: request.method === "GET" ? { [_chunkGWORLVRMjs.SingleFetchRedirectSymbol]: redirect2 } : redirect2,
1029
+ result: request.method === "GET" ? { [_chunk4E5LHRQPjs.SingleFetchRedirectSymbol]: redirect2 } : redirect2,
1029
1030
  headers,
1030
- status: _chunkGWORLVRMjs.SINGLE_FETCH_REDIRECT_STATUS
1031
+ status: _chunk4E5LHRQPjs.SINGLE_FETCH_REDIRECT_STATUS
1031
1032
  });
1032
1033
  }
1033
1034
  function getSingleFetchRedirect(status, headers, basename) {
1034
1035
  let redirect2 = headers.get("Location");
1035
1036
  if (basename) {
1036
- redirect2 = _chunkGWORLVRMjs.stripBasename.call(void 0, redirect2, basename) || redirect2;
1037
+ redirect2 = _chunk4E5LHRQPjs.stripBasename.call(void 0, redirect2, basename) || redirect2;
1037
1038
  }
1038
1039
  return {
1039
1040
  redirect: redirect2,
@@ -1059,7 +1060,7 @@ function encodeViaTurboStream(data2, requestSignal, streamTimeout, serverMode) {
1059
1060
  typeof streamTimeout === "number" ? streamTimeout : 4950
1060
1061
  );
1061
1062
  requestSignal.addEventListener("abort", () => clearTimeout(timeoutId));
1062
- return _chunkGWORLVRMjs.encode.call(void 0, data2, {
1063
+ return _chunk4E5LHRQPjs.encode.call(void 0, data2, {
1063
1064
  signal: controller.signal,
1064
1065
  plugins: [
1065
1066
  (value) => {
@@ -1067,12 +1068,12 @@ function encodeViaTurboStream(data2, requestSignal, streamTimeout, serverMode) {
1067
1068
  let { name, message, stack } = serverMode === "production" /* Production */ ? sanitizeError(value, serverMode) : value;
1068
1069
  return ["SanitizedError", name, message, stack];
1069
1070
  }
1070
- if (value instanceof _chunkGWORLVRMjs.ErrorResponseImpl) {
1071
+ if (value instanceof _chunk4E5LHRQPjs.ErrorResponseImpl) {
1071
1072
  let { data: data3, status, statusText } = value;
1072
1073
  return ["ErrorResponse", data3, status, statusText];
1073
1074
  }
1074
- if (value && typeof value === "object" && _chunkGWORLVRMjs.SingleFetchRedirectSymbol in value) {
1075
- return ["SingleFetchRedirect", value[_chunkGWORLVRMjs.SingleFetchRedirectSymbol]];
1075
+ if (value && typeof value === "object" && _chunk4E5LHRQPjs.SingleFetchRedirectSymbol in value) {
1076
+ return ["SingleFetchRedirect", value[_chunk4E5LHRQPjs.SingleFetchRedirectSymbol]];
1076
1077
  }
1077
1078
  }
1078
1079
  ],
@@ -1095,14 +1096,14 @@ function derive(build, mode) {
1095
1096
  let routes = createRoutes(build.routes);
1096
1097
  let dataRoutes = createStaticHandlerDataRoutes(build.routes, build.future);
1097
1098
  let serverMode = isServerMode(mode) ? mode : "production" /* Production */;
1098
- let staticHandler = _chunkGWORLVRMjs.createStaticHandler.call(void 0, dataRoutes, {
1099
+ let staticHandler = _chunk4E5LHRQPjs.createStaticHandler.call(void 0, dataRoutes, {
1099
1100
  basename: build.basename
1100
1101
  });
1101
1102
  let errorHandler = build.entry.module.handleError || ((error, { request }) => {
1102
1103
  if (serverMode !== "test" /* Test */ && !request.signal.aborted) {
1103
1104
  console.error(
1104
1105
  // @ts-expect-error This is "private" from users but intended for internal use
1105
- _chunkGWORLVRMjs.isRouteErrorResponse.call(void 0, error) && error.error ? error.error : error
1106
+ _chunk4E5LHRQPjs.isRouteErrorResponse.call(void 0, error) && error.error ? error.error : error
1106
1107
  );
1107
1108
  }
1108
1109
  });
@@ -1148,36 +1149,36 @@ var createRequestHandler = (build, mode) => {
1148
1149
  });
1149
1150
  };
1150
1151
  if (_build.future.v8_middleware) {
1151
- if (initialContext && !(initialContext instanceof _chunkGWORLVRMjs.RouterContextProvider)) {
1152
+ if (initialContext && !(initialContext instanceof _chunk4E5LHRQPjs.RouterContextProvider)) {
1152
1153
  let error = new Error(
1153
1154
  "Invalid `context` value provided to `handleRequest`. When middleware is enabled you must return an instance of `RouterContextProvider` from your `getLoadContext` function."
1154
1155
  );
1155
1156
  handleError(error);
1156
1157
  return returnLastResortErrorResponse(error, serverMode);
1157
1158
  }
1158
- loadContext = initialContext || new (0, _chunkGWORLVRMjs.RouterContextProvider)();
1159
+ loadContext = initialContext || new (0, _chunk4E5LHRQPjs.RouterContextProvider)();
1159
1160
  } else {
1160
1161
  loadContext = initialContext || {};
1161
1162
  }
1162
1163
  let url = new URL(request.url);
1163
1164
  let normalizedBasename = _build.basename || "/";
1164
1165
  let normalizedPath = url.pathname;
1165
- if (_chunkGWORLVRMjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) === "/_root.data") {
1166
+ if (_chunk4E5LHRQPjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) === "/_root.data") {
1166
1167
  normalizedPath = normalizedBasename;
1167
1168
  } else if (normalizedPath.endsWith(".data")) {
1168
1169
  normalizedPath = normalizedPath.replace(/\.data$/, "");
1169
1170
  }
1170
- if (_chunkGWORLVRMjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) !== "/" && normalizedPath.endsWith("/")) {
1171
+ if (_chunk4E5LHRQPjs.stripBasename.call(void 0, normalizedPath, normalizedBasename) !== "/" && normalizedPath.endsWith("/")) {
1171
1172
  normalizedPath = normalizedPath.slice(0, -1);
1172
1173
  }
1173
1174
  let isSpaMode = getBuildTimeHeader(request, "X-React-Router-SPA-Mode") === "yes";
1174
1175
  if (!_build.ssr) {
1175
1176
  let decodedPath = decodeURI(normalizedPath);
1176
1177
  if (normalizedBasename !== "/") {
1177
- let strippedPath = _chunkGWORLVRMjs.stripBasename.call(void 0, decodedPath, normalizedBasename);
1178
+ let strippedPath = _chunk4E5LHRQPjs.stripBasename.call(void 0, decodedPath, normalizedBasename);
1178
1179
  if (strippedPath == null) {
1179
1180
  errorHandler(
1180
- new (0, _chunkGWORLVRMjs.ErrorResponseImpl)(
1181
+ new (0, _chunk4E5LHRQPjs.ErrorResponseImpl)(
1181
1182
  404,
1182
1183
  "Not Found",
1183
1184
  `Refusing to prerender the \`${decodedPath}\` path because it does not start with the basename \`${normalizedBasename}\``
@@ -1200,7 +1201,7 @@ var createRequestHandler = (build, mode) => {
1200
1201
  } else if (!_build.prerender.includes(decodedPath) && !_build.prerender.includes(decodedPath + "/")) {
1201
1202
  if (url.pathname.endsWith(".data")) {
1202
1203
  errorHandler(
1203
- new (0, _chunkGWORLVRMjs.ErrorResponseImpl)(
1204
+ new (0, _chunk4E5LHRQPjs.ErrorResponseImpl)(
1204
1205
  404,
1205
1206
  "Not Found",
1206
1207
  `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.`
@@ -1220,7 +1221,7 @@ var createRequestHandler = (build, mode) => {
1220
1221
  }
1221
1222
  }
1222
1223
  }
1223
- let manifestUrl = _chunkGWORLVRMjs.getManifestPath.call(void 0,
1224
+ let manifestUrl = _chunk4E5LHRQPjs.getManifestPath.call(void 0,
1224
1225
  _build.routeDiscovery.manifestPath,
1225
1226
  normalizedBasename
1226
1227
  );
@@ -1255,7 +1256,7 @@ var createRequestHandler = (build, mode) => {
1255
1256
  loadContext,
1256
1257
  handleError
1257
1258
  );
1258
- if (_chunkGWORLVRMjs.isRedirectResponse.call(void 0, response)) {
1259
+ if (_chunk4E5LHRQPjs.isRedirectResponse.call(void 0, response)) {
1259
1260
  response = generateSingleFetchRedirectResponse(
1260
1261
  response,
1261
1262
  request,
@@ -1269,7 +1270,7 @@ var createRequestHandler = (build, mode) => {
1269
1270
  params: singleFetchMatches ? singleFetchMatches[0].params : {},
1270
1271
  request
1271
1272
  });
1272
- if (_chunkGWORLVRMjs.isRedirectResponse.call(void 0, response)) {
1273
+ if (_chunk4E5LHRQPjs.isRedirectResponse.call(void 0, response)) {
1273
1274
  response = generateSingleFetchRedirectResponse(
1274
1275
  response,
1275
1276
  request,
@@ -1388,7 +1389,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1388
1389
  generateMiddlewareResponse: build.future.v8_middleware ? async (query) => {
1389
1390
  try {
1390
1391
  let innerResult = await query(request);
1391
- if (!_chunkGWORLVRMjs.isResponse.call(void 0, innerResult)) {
1392
+ if (!_chunk4E5LHRQPjs.isResponse.call(void 0, innerResult)) {
1392
1393
  innerResult = await renderHtml(innerResult, isSpaMode);
1393
1394
  }
1394
1395
  return innerResult;
@@ -1398,7 +1399,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1398
1399
  }
1399
1400
  } : void 0
1400
1401
  });
1401
- if (!_chunkGWORLVRMjs.isResponse.call(void 0, result)) {
1402
+ if (!_chunk4E5LHRQPjs.isResponse.call(void 0, result)) {
1402
1403
  result = await renderHtml(result, isSpaMode);
1403
1404
  }
1404
1405
  return result;
@@ -1413,7 +1414,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1413
1414
  }
1414
1415
  if (context.errors) {
1415
1416
  Object.values(context.errors).forEach((err) => {
1416
- if (!_chunkGWORLVRMjs.isRouteErrorResponse.call(void 0, err) || err.error) {
1417
+ if (!_chunk4E5LHRQPjs.isRouteErrorResponse.call(void 0, err) || err.error) {
1417
1418
  handleError(err);
1418
1419
  }
1419
1420
  });
@@ -1465,10 +1466,10 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1465
1466
  } catch (error) {
1466
1467
  handleError(error);
1467
1468
  let errorForSecondRender = error;
1468
- if (_chunkGWORLVRMjs.isResponse.call(void 0, error)) {
1469
+ if (_chunk4E5LHRQPjs.isResponse.call(void 0, error)) {
1469
1470
  try {
1470
1471
  let data2 = await unwrapResponse(error);
1471
- errorForSecondRender = new (0, _chunkGWORLVRMjs.ErrorResponseImpl)(
1472
+ errorForSecondRender = new (0, _chunk4E5LHRQPjs.ErrorResponseImpl)(
1472
1473
  error.status,
1473
1474
  error.statusText,
1474
1475
  data2
@@ -1476,7 +1477,7 @@ async function handleDocumentRequest(serverMode, build, staticHandler, request,
1476
1477
  } catch (e) {
1477
1478
  }
1478
1479
  }
1479
- context = _chunkGWORLVRMjs.getStaticContextFromError.call(void 0,
1480
+ context = _chunk4E5LHRQPjs.getStaticContextFromError.call(void 0,
1480
1481
  staticHandler.dataRoutes,
1481
1482
  context,
1482
1483
  errorForSecondRender
@@ -1535,7 +1536,7 @@ async function handleResourceRequest(serverMode, build, staticHandler, routeId,
1535
1536
  return handleQueryRouteError(error);
1536
1537
  }
1537
1538
  function handleQueryRouteResult(result) {
1538
- if (_chunkGWORLVRMjs.isResponse.call(void 0, result)) {
1539
+ if (_chunk4E5LHRQPjs.isResponse.call(void 0, result)) {
1539
1540
  return result;
1540
1541
  }
1541
1542
  if (typeof result === "string") {
@@ -1544,10 +1545,10 @@ async function handleResourceRequest(serverMode, build, staticHandler, routeId,
1544
1545
  return Response.json(result);
1545
1546
  }
1546
1547
  function handleQueryRouteError(error) {
1547
- if (_chunkGWORLVRMjs.isResponse.call(void 0, error)) {
1548
+ if (_chunk4E5LHRQPjs.isResponse.call(void 0, error)) {
1548
1549
  return error;
1549
1550
  }
1550
- if (_chunkGWORLVRMjs.isRouteErrorResponse.call(void 0, error)) {
1551
+ if (_chunk4E5LHRQPjs.isRouteErrorResponse.call(void 0, error)) {
1551
1552
  handleError(error);
1552
1553
  return errorResponseToJson(error, serverMode);
1553
1554
  }
@@ -1670,7 +1671,7 @@ function createSessionStorage({
1670
1671
  };
1671
1672
  }
1672
1673
  function warnOnceAboutSigningSessionCookie(cookie) {
1673
- _chunkGWORLVRMjs.warnOnce.call(void 0,
1674
+ _chunk4E5LHRQPjs.warnOnce.call(void 0,
1674
1675
  cookie.isSigned,
1675
1676
  `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.`
1676
1677
  );
@@ -1777,12 +1778,12 @@ function getHydrationData({
1777
1778
  ...state,
1778
1779
  loaderData: { ...state.loaderData }
1779
1780
  };
1780
- let initialMatches = _chunkGWORLVRMjs.matchRoutes.call(void 0, routes, location2, basename);
1781
+ let initialMatches = _chunk4E5LHRQPjs.matchRoutes.call(void 0, routes, location2, basename);
1781
1782
  if (initialMatches) {
1782
1783
  for (let match of initialMatches) {
1783
1784
  let routeId = match.route.id;
1784
1785
  let routeInfo = getRouteInfo(routeId);
1785
- if (_chunkGWORLVRMjs.shouldHydrateRouteLoader.call(void 0,
1786
+ if (_chunk4E5LHRQPjs.shouldHydrateRouteLoader.call(void 0,
1786
1787
  routeId,
1787
1788
  routeInfo.clientLoader,
1788
1789
  routeInfo.hasLoader,
@@ -1860,7 +1861,7 @@ function RSCDefaultRootErrorBoundaryImpl({
1860
1861
  }
1861
1862
  }
1862
1863
  );
1863
- if (_chunkGWORLVRMjs.isRouteErrorResponse.call(void 0, error)) {
1864
+ if (_chunk4E5LHRQPjs.isRouteErrorResponse.call(void 0, error)) {
1864
1865
  return /* @__PURE__ */ React.default.createElement(
1865
1866
  ErrorWrapper,
1866
1867
  {
@@ -1868,7 +1869,7 @@ function RSCDefaultRootErrorBoundaryImpl({
1868
1869
  title: "Unhandled Thrown Response!"
1869
1870
  },
1870
1871
  /* @__PURE__ */ React.default.createElement("h1", { style: { fontSize: "24px" } }, error.status, " ", error.statusText),
1871
- _chunkGWORLVRMjs.ENABLE_DEV_WARNINGS ? heyDeveloper : null
1872
+ _chunk4E5LHRQPjs.ENABLE_DEV_WARNINGS ? heyDeveloper : null
1872
1873
  );
1873
1874
  }
1874
1875
  let errorInstance;
@@ -1894,7 +1895,7 @@ function RSCDefaultRootErrorBoundaryImpl({
1894
1895
  function RSCDefaultRootErrorBoundary({
1895
1896
  hasRootLayout
1896
1897
  }) {
1897
- let error = _chunkGWORLVRMjs.useRouteError.call(void 0, );
1898
+ let error = _chunk4E5LHRQPjs.useRouteError.call(void 0, );
1898
1899
  if (hasRootLayout === void 0) {
1899
1900
  throw new Error("Missing 'hasRootLayout' prop");
1900
1901
  }
@@ -1959,7 +1960,7 @@ function createCallServer({
1959
1960
  globalVar.__reactRouterDataRouter.__setPendingRerender(
1960
1961
  Promise.resolve(payloadPromise).then(async (payload) => {
1961
1962
  if (payload.type === "redirect") {
1962
- if (payload.reload) {
1963
+ if (payload.reload || isExternalLocation(payload.location)) {
1963
1964
  window.location.href = payload.location;
1964
1965
  return () => {
1965
1966
  };
@@ -1976,7 +1977,7 @@ function createCallServer({
1976
1977
  const rerender = await payload.rerender;
1977
1978
  if (rerender && landedActionId < actionId && globalVar.__routerActionID <= actionId) {
1978
1979
  if (rerender.type === "redirect") {
1979
- if (rerender.reload) {
1980
+ if (rerender.reload || isExternalLocation(rerender.location)) {
1980
1981
  window.location.href = rerender.location;
1981
1982
  return;
1982
1983
  }
@@ -2042,7 +2043,7 @@ function createRouterFromPayload({
2042
2043
  populateRSCRouteModules(globalVar.__reactRouterRouteModules, payload.matches);
2043
2044
  let patches = /* @__PURE__ */ new Map();
2044
2045
  _optionalChain([payload, 'access', _20 => _20.patches, 'optionalAccess', _21 => _21.forEach, 'call', _22 => _22((patch) => {
2045
- _chunkGWORLVRMjs.invariant.call(void 0, patch.parentId, "Invalid patch parentId");
2046
+ _chunk4E5LHRQPjs.invariant.call(void 0, patch.parentId, "Invalid patch parentId");
2046
2047
  if (!patches.has(patch.parentId)) {
2047
2048
  patches.set(patch.parentId, []);
2048
2049
  }
@@ -2064,11 +2065,11 @@ function createRouterFromPayload({
2064
2065
  }
2065
2066
  return [route];
2066
2067
  }, []);
2067
- globalVar.__reactRouterDataRouter = _chunkGWORLVRMjs.createRouter.call(void 0, {
2068
+ globalVar.__reactRouterDataRouter = _chunk4E5LHRQPjs.createRouter.call(void 0, {
2068
2069
  routes,
2069
2070
  getContext,
2070
2071
  basename: payload.basename,
2071
- history: _chunkGWORLVRMjs.createBrowserHistory.call(void 0, ),
2072
+ history: _chunk4E5LHRQPjs.createBrowserHistory.call(void 0, ),
2072
2073
  hydrationData: getHydrationData({
2073
2074
  state: {
2074
2075
  loaderData: payload.loaderData,
@@ -2078,7 +2079,7 @@ function createRouterFromPayload({
2078
2079
  routes,
2079
2080
  getRouteInfo: (routeId) => {
2080
2081
  let match = payload.matches.find((m) => m.id === routeId);
2081
- _chunkGWORLVRMjs.invariant.call(void 0, match, "Route not found in payload");
2082
+ _chunk4E5LHRQPjs.invariant.call(void 0, match, "Route not found in payload");
2082
2083
  return {
2083
2084
  clientLoader: match.clientLoader,
2084
2085
  hasLoader: match.hasLoader,
@@ -2176,9 +2177,9 @@ function createRouterFromPayload({
2176
2177
  routeModules: globalVar.__reactRouterRouteModules
2177
2178
  };
2178
2179
  }
2179
- var renderedRoutesContext = _chunkGWORLVRMjs.createContext.call(void 0, );
2180
+ var renderedRoutesContext = _chunk4E5LHRQPjs.createContext.call(void 0, );
2180
2181
  function getRSCSingleFetchDataStrategy(getRouter, ssr, basename, createFromReadableStream, fetchImplementation) {
2181
- let dataStrategy = _chunkGWORLVRMjs.getSingleFetchDataStrategyImpl.call(void 0,
2182
+ let dataStrategy = _chunk4E5LHRQPjs.getSingleFetchDataStrategyImpl.call(void 0,
2182
2183
  getRouter,
2183
2184
  (match) => {
2184
2185
  let M = match;
@@ -2232,20 +2233,20 @@ function getRSCSingleFetchDataStrategy(getRouter, ssr, basename, createFromReada
2232
2233
  function getFetchAndDecodeViaRSC(createFromReadableStream, fetchImplementation) {
2233
2234
  return async (args, basename, targetRoutes) => {
2234
2235
  let { request, context } = args;
2235
- let url = _chunkGWORLVRMjs.singleFetchUrl.call(void 0, request.url, basename, "rsc");
2236
+ let url = _chunk4E5LHRQPjs.singleFetchUrl.call(void 0, request.url, basename, "rsc");
2236
2237
  if (request.method === "GET") {
2237
- url = _chunkGWORLVRMjs.stripIndexParam.call(void 0, url);
2238
+ url = _chunk4E5LHRQPjs.stripIndexParam.call(void 0, url);
2238
2239
  if (targetRoutes) {
2239
2240
  url.searchParams.set("_routes", targetRoutes.join(","));
2240
2241
  }
2241
2242
  }
2242
2243
  let res = await fetchImplementation(
2243
- new Request(url, await _chunkGWORLVRMjs.createRequestInit.call(void 0, request))
2244
+ new Request(url, await _chunk4E5LHRQPjs.createRequestInit.call(void 0, request))
2244
2245
  );
2245
2246
  if (res.status >= 400 && !res.headers.has("X-Remix-Response")) {
2246
- throw new (0, _chunkGWORLVRMjs.ErrorResponseImpl)(res.status, res.statusText, await res.text());
2247
+ throw new (0, _chunk4E5LHRQPjs.ErrorResponseImpl)(res.status, res.statusText, await res.text());
2247
2248
  }
2248
- _chunkGWORLVRMjs.invariant.call(void 0, res.body, "No response body to decode");
2249
+ _chunk4E5LHRQPjs.invariant.call(void 0, res.body, "No response body to decode");
2249
2250
  try {
2250
2251
  const payload = await createFromReadableStream(res.body, {
2251
2252
  temporaryReferences: void 0
@@ -2269,7 +2270,7 @@ function getFetchAndDecodeViaRSC(createFromReadableStream, fetchImplementation)
2269
2270
  }
2270
2271
  context.get(renderedRoutesContext).push(...payload.matches);
2271
2272
  let results = { routes: {} };
2272
- const dataKey = _chunkGWORLVRMjs.isMutationMethod.call(void 0, request.method) ? "actionData" : "loaderData";
2273
+ const dataKey = _chunk4E5LHRQPjs.isMutationMethod.call(void 0, request.method) ? "actionData" : "loaderData";
2273
2274
  for (let [routeId, data2] of Object.entries(payload[dataKey] || {})) {
2274
2275
  results.routes[routeId] = { data: data2 };
2275
2276
  }
@@ -2302,7 +2303,7 @@ function RSCHydratedRouter({
2302
2303
  [createFromReadableStream, payload, fetchImplementation, getContext]
2303
2304
  );
2304
2305
  React4.useEffect(() => {
2305
- _chunkGWORLVRMjs.setIsHydrated.call(void 0, );
2306
+ _chunk4E5LHRQPjs.setIsHydrated.call(void 0, );
2306
2307
  }, []);
2307
2308
  React4.useLayoutEffect(() => {
2308
2309
  const globalVar = window;
@@ -2389,7 +2390,7 @@ function RSCHydratedRouter({
2389
2390
  routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" },
2390
2391
  routeModules
2391
2392
  };
2392
- return /* @__PURE__ */ React4.createElement(_chunkGWORLVRMjs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React4.createElement(RSCRouterGlobalErrorBoundary, { location: location2 }, /* @__PURE__ */ React4.createElement(_chunkGWORLVRMjs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React4.createElement(_chunkLHDU32KOjs.UNSTABLE_TransitionEnabledRouterProvider, { router, flushSync: ReactDOM.flushSync }))));
2393
+ return /* @__PURE__ */ React4.createElement(_chunk4E5LHRQPjs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React4.createElement(RSCRouterGlobalErrorBoundary, { location: location2 }, /* @__PURE__ */ React4.createElement(_chunk4E5LHRQPjs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React4.createElement(_chunkWNLQ53P5js.UNSTABLE_TransitionEnabledRouterProvider, { router, flushSync: ReactDOM.flushSync }))));
2393
2394
  }
2394
2395
  function createRouteFromServerManifest(match, payload) {
2395
2396
  let hasInitialData = payload && match.id in payload.loaderData;
@@ -2400,7 +2401,7 @@ function createRouteFromServerManifest(match, payload) {
2400
2401
  // the server loader flow regardless of whether the client loader calls
2401
2402
  // `serverLoader` or not, otherwise we'll have nothing to render.
2402
2403
  match.hasComponent && !match.element;
2403
- _chunkGWORLVRMjs.invariant.call(void 0, window.__reactRouterRouteModules);
2404
+ _chunk4E5LHRQPjs.invariant.call(void 0, window.__reactRouterRouteModules);
2404
2405
  populateRSCRouteModules(window.__reactRouterRouteModules, match);
2405
2406
  let dataRoute = {
2406
2407
  id: match.id,
@@ -2451,7 +2452,7 @@ function createRouteFromServerManifest(match, payload) {
2451
2452
  return await callSingleFetch(singleFetch);
2452
2453
  }
2453
2454
  }) : match.hasAction ? (_, singleFetch) => callSingleFetch(singleFetch) : () => {
2454
- throw _chunkGWORLVRMjs.noActionDefinedError.call(void 0, "action", match.id);
2455
+ throw _chunk4E5LHRQPjs.noActionDefinedError.call(void 0, "action", match.id);
2455
2456
  },
2456
2457
  path: match.path,
2457
2458
  shouldRevalidate: match.shouldRevalidate,
@@ -2464,7 +2465,7 @@ function createRouteFromServerManifest(match, payload) {
2464
2465
  hasShouldRevalidate: match.shouldRevalidate != null
2465
2466
  };
2466
2467
  if (typeof dataRoute.loader === "function") {
2467
- dataRoute.loader.hydrate = _chunkGWORLVRMjs.shouldHydrateRouteLoader.call(void 0,
2468
+ dataRoute.loader.hydrate = _chunk4E5LHRQPjs.shouldHydrateRouteLoader.call(void 0,
2468
2469
  match.id,
2469
2470
  match.clientLoader,
2470
2471
  match.hasLoader,
@@ -2474,7 +2475,7 @@ function createRouteFromServerManifest(match, payload) {
2474
2475
  return dataRoute;
2475
2476
  }
2476
2477
  function callSingleFetch(singleFetch) {
2477
- _chunkGWORLVRMjs.invariant.call(void 0, typeof singleFetch === "function", "Invalid singleFetch parameter");
2478
+ _chunk4E5LHRQPjs.invariant.call(void 0, typeof singleFetch === "function", "Invalid singleFetch parameter");
2478
2479
  return singleFetch();
2479
2480
  }
2480
2481
  function preventInvalidServerHandlerCall(type, routeId, hasHandler) {
@@ -2482,7 +2483,7 @@ function preventInvalidServerHandlerCall(type, routeId, hasHandler) {
2482
2483
  let fn = type === "action" ? "serverAction()" : "serverLoader()";
2483
2484
  let msg = `You are trying to call ${fn} on a route that does not have a server ${type} (routeId: "${routeId}")`;
2484
2485
  console.error(msg);
2485
- throw new (0, _chunkGWORLVRMjs.ErrorResponseImpl)(400, "Bad Request", new Error(msg), true);
2486
+ throw new (0, _chunk4E5LHRQPjs.ErrorResponseImpl)(400, "Bad Request", new Error(msg), true);
2486
2487
  }
2487
2488
  }
2488
2489
  var nextPaths = /* @__PURE__ */ new Set();
@@ -2546,6 +2547,10 @@ function debounce(callback, wait) {
2546
2547
  timeoutId = window.setTimeout(() => callback(...args), wait);
2547
2548
  };
2548
2549
  }
2550
+ function isExternalLocation(location2) {
2551
+ const newLocation = new URL(location2, window.location.href);
2552
+ return newLocation.origin !== window.location.origin;
2553
+ }
2549
2554
 
2550
2555
  // lib/rsc/server.ssr.tsx
2551
2556
 
@@ -2726,7 +2731,7 @@ async function routeRSCServerRequest({
2726
2731
  const payload = await createFromReadableStream(
2727
2732
  detectRedirectResponse.body
2728
2733
  );
2729
- if (serverResponse.status === _chunkGWORLVRMjs.SINGLE_FETCH_REDIRECT_STATUS && payload.type === "redirect") {
2734
+ if (serverResponse.status === _chunk4E5LHRQPjs.SINGLE_FETCH_REDIRECT_STATUS && payload.type === "redirect") {
2730
2735
  const headers2 = new Headers(serverResponse.headers);
2731
2736
  headers2.delete("Content-Encoding");
2732
2737
  headers2.delete("Content-Length");
@@ -2761,7 +2766,7 @@ async function routeRSCServerRequest({
2761
2766
  return reason;
2762
2767
  }
2763
2768
  try {
2764
- const status = _chunkGWORLVRMjs.isRouteErrorResponse.call(void 0, reason) ? reason.status : 500;
2769
+ const status = _chunk4E5LHRQPjs.isRouteErrorResponse.call(void 0, reason) ? reason.status : 500;
2765
2770
  const html = await renderHTML(() => {
2766
2771
  const decoded = Promise.resolve(
2767
2772
  createFromReadableStream(createStream())
@@ -2827,7 +2832,7 @@ function RSCStaticRouter({ getPayload }) {
2827
2832
  if (payload.type !== "render") return null;
2828
2833
  let patchedLoaderData = { ...payload.loaderData };
2829
2834
  for (const match of payload.matches) {
2830
- if (_chunkGWORLVRMjs.shouldHydrateRouteLoader.call(void 0,
2835
+ if (_chunk4E5LHRQPjs.shouldHydrateRouteLoader.call(void 0,
2831
2836
  match.id,
2832
2837
  match.clientLoader,
2833
2838
  match.hasLoader,
@@ -2867,7 +2872,7 @@ function RSCStaticRouter({ getPayload }) {
2867
2872
  }
2868
2873
  }))
2869
2874
  };
2870
- const router = _chunkLHDU32KOjs.createStaticRouter.call(void 0,
2875
+ const router = _chunkWNLQ53P5js.createStaticRouter.call(void 0,
2871
2876
  payload.matches.reduceRight((previous, match) => {
2872
2877
  const route = {
2873
2878
  id: match.id,
@@ -2911,8 +2916,8 @@ function RSCStaticRouter({ getPayload }) {
2911
2916
  routeDiscovery: { mode: "lazy", manifestPath: "/__manifest" },
2912
2917
  routeModules: createRSCRouteModules(payload)
2913
2918
  };
2914
- return /* @__PURE__ */ React5.createElement(_chunkGWORLVRMjs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React5.createElement(RSCRouterGlobalErrorBoundary, { location: payload.location }, /* @__PURE__ */ React5.createElement(_chunkGWORLVRMjs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React5.createElement(
2915
- _chunkLHDU32KOjs.StaticRouterProvider,
2919
+ return /* @__PURE__ */ React5.createElement(_chunk4E5LHRQPjs.RSCRouterContext.Provider, { value: true }, /* @__PURE__ */ React5.createElement(RSCRouterGlobalErrorBoundary, { location: payload.location }, /* @__PURE__ */ React5.createElement(_chunk4E5LHRQPjs.FrameworkContext.Provider, { value: frameworkContext }, /* @__PURE__ */ React5.createElement(
2920
+ _chunkWNLQ53P5js.StaticRouterProvider,
2916
2921
  {
2917
2922
  context,
2918
2923
  router,
@@ -2970,7 +2975,7 @@ function deserializeErrors(errors) {
2970
2975
  let serialized = {};
2971
2976
  for (let [key, val] of entries) {
2972
2977
  if (val && val.__type === "RouteErrorResponse") {
2973
- serialized[key] = new (0, _chunkGWORLVRMjs.ErrorResponseImpl)(
2978
+ serialized[key] = new (0, _chunk4E5LHRQPjs.ErrorResponseImpl)(
2974
2979
  val.status,
2975
2980
  val.statusText,
2976
2981
  val.data,
@@ -3129,4 +3134,5 @@ function deserializeErrors(errors) {
3129
3134
 
3130
3135
 
3131
3136
 
3132
- exports.Await = _chunkLHDU32KOjs.Await; exports.BrowserRouter = _chunkLHDU32KOjs.BrowserRouter; exports.Form = _chunkLHDU32KOjs.Form; exports.HashRouter = _chunkLHDU32KOjs.HashRouter; exports.IDLE_BLOCKER = _chunkGWORLVRMjs.IDLE_BLOCKER; exports.IDLE_FETCHER = _chunkGWORLVRMjs.IDLE_FETCHER; exports.IDLE_NAVIGATION = _chunkGWORLVRMjs.IDLE_NAVIGATION; exports.Link = _chunkLHDU32KOjs.Link; exports.Links = _chunkGWORLVRMjs.Links; exports.MemoryRouter = _chunkLHDU32KOjs.MemoryRouter; exports.Meta = _chunkGWORLVRMjs.Meta; exports.NavLink = _chunkLHDU32KOjs.NavLink; exports.Navigate = _chunkLHDU32KOjs.Navigate; exports.NavigationType = _chunkGWORLVRMjs.Action; exports.Outlet = _chunkLHDU32KOjs.Outlet; exports.PrefetchPageLinks = _chunkGWORLVRMjs.PrefetchPageLinks; exports.Route = _chunkLHDU32KOjs.Route; exports.Router = _chunkLHDU32KOjs.Router; exports.RouterContextProvider = _chunkGWORLVRMjs.RouterContextProvider; exports.RouterProvider = _chunkLHDU32KOjs.RouterProvider; exports.Routes = _chunkLHDU32KOjs.Routes; exports.Scripts = _chunkGWORLVRMjs.Scripts; exports.ScrollRestoration = _chunkLHDU32KOjs.ScrollRestoration; exports.ServerRouter = ServerRouter; exports.StaticRouter = _chunkLHDU32KOjs.StaticRouter; exports.StaticRouterProvider = _chunkLHDU32KOjs.StaticRouterProvider; exports.UNSAFE_AwaitContextProvider = _chunkGWORLVRMjs.AwaitContextProvider; exports.UNSAFE_DataRouterContext = _chunkGWORLVRMjs.DataRouterContext; exports.UNSAFE_DataRouterStateContext = _chunkGWORLVRMjs.DataRouterStateContext; exports.UNSAFE_ErrorResponseImpl = _chunkGWORLVRMjs.ErrorResponseImpl; exports.UNSAFE_FetchersContext = _chunkGWORLVRMjs.FetchersContext; exports.UNSAFE_FrameworkContext = _chunkGWORLVRMjs.FrameworkContext; exports.UNSAFE_LocationContext = _chunkGWORLVRMjs.LocationContext; exports.UNSAFE_NavigationContext = _chunkGWORLVRMjs.NavigationContext; exports.UNSAFE_RSCDefaultRootErrorBoundary = RSCDefaultRootErrorBoundary; exports.UNSAFE_RemixErrorBoundary = _chunkGWORLVRMjs.RemixErrorBoundary; exports.UNSAFE_RouteContext = _chunkGWORLVRMjs.RouteContext; exports.UNSAFE_ServerMode = ServerMode; exports.UNSAFE_SingleFetchRedirectSymbol = _chunkGWORLVRMjs.SingleFetchRedirectSymbol; exports.UNSAFE_ViewTransitionContext = _chunkGWORLVRMjs.ViewTransitionContext; exports.UNSAFE_WithComponentProps = _chunkLHDU32KOjs.WithComponentProps; exports.UNSAFE_WithErrorBoundaryProps = _chunkLHDU32KOjs.WithErrorBoundaryProps; exports.UNSAFE_WithHydrateFallbackProps = _chunkLHDU32KOjs.WithHydrateFallbackProps; exports.UNSAFE_createBrowserHistory = _chunkGWORLVRMjs.createBrowserHistory; exports.UNSAFE_createClientRoutes = _chunkGWORLVRMjs.createClientRoutes; exports.UNSAFE_createClientRoutesWithHMRRevalidationOptOut = _chunkGWORLVRMjs.createClientRoutesWithHMRRevalidationOptOut; exports.UNSAFE_createRouter = _chunkGWORLVRMjs.createRouter; exports.UNSAFE_decodeViaTurboStream = _chunkGWORLVRMjs.decodeViaTurboStream; exports.UNSAFE_deserializeErrors = deserializeErrors; exports.UNSAFE_getHydrationData = getHydrationData; exports.UNSAFE_getPatchRoutesOnNavigationFunction = _chunkGWORLVRMjs.getPatchRoutesOnNavigationFunction; exports.UNSAFE_getTurboStreamSingleFetchDataStrategy = _chunkGWORLVRMjs.getTurboStreamSingleFetchDataStrategy; exports.UNSAFE_hydrationRouteProperties = _chunkLHDU32KOjs.hydrationRouteProperties; exports.UNSAFE_invariant = _chunkGWORLVRMjs.invariant; exports.UNSAFE_mapRouteProperties = _chunkLHDU32KOjs.mapRouteProperties; exports.UNSAFE_shouldHydrateRouteLoader = _chunkGWORLVRMjs.shouldHydrateRouteLoader; exports.UNSAFE_useFogOFWarDiscovery = _chunkGWORLVRMjs.useFogOFWarDiscovery; exports.UNSAFE_useScrollRestoration = _chunkLHDU32KOjs.useScrollRestoration; exports.UNSAFE_withComponentProps = _chunkLHDU32KOjs.withComponentProps; exports.UNSAFE_withErrorBoundaryProps = _chunkLHDU32KOjs.withErrorBoundaryProps; exports.UNSAFE_withHydrateFallbackProps = _chunkLHDU32KOjs.withHydrateFallbackProps; exports.createBrowserRouter = _chunkLHDU32KOjs.createBrowserRouter; exports.createContext = _chunkGWORLVRMjs.createContext; exports.createCookie = createCookie; exports.createCookieSessionStorage = createCookieSessionStorage; exports.createHashRouter = _chunkLHDU32KOjs.createHashRouter; exports.createMemoryRouter = _chunkLHDU32KOjs.createMemoryRouter; exports.createMemorySessionStorage = createMemorySessionStorage; exports.createPath = _chunkGWORLVRMjs.createPath; exports.createRequestHandler = createRequestHandler; exports.createRoutesFromChildren = _chunkLHDU32KOjs.createRoutesFromChildren; exports.createRoutesFromElements = _chunkLHDU32KOjs.createRoutesFromElements; exports.createRoutesStub = createRoutesStub; exports.createSearchParams = _chunkLHDU32KOjs.createSearchParams; exports.createSession = createSession; exports.createSessionStorage = createSessionStorage; exports.createStaticHandler = _chunkLHDU32KOjs.createStaticHandler; exports.createStaticRouter = _chunkLHDU32KOjs.createStaticRouter; exports.data = _chunkGWORLVRMjs.data; exports.generatePath = _chunkGWORLVRMjs.generatePath; exports.href = href; exports.isCookie = isCookie; exports.isRouteErrorResponse = _chunkGWORLVRMjs.isRouteErrorResponse; exports.isSession = isSession; exports.matchPath = _chunkGWORLVRMjs.matchPath; exports.matchRoutes = _chunkGWORLVRMjs.matchRoutes; exports.parsePath = _chunkGWORLVRMjs.parsePath; exports.redirect = _chunkGWORLVRMjs.redirect; exports.redirectDocument = _chunkGWORLVRMjs.redirectDocument; exports.renderMatches = _chunkLHDU32KOjs.renderMatches; exports.replace = _chunkGWORLVRMjs.replace; exports.resolvePath = _chunkGWORLVRMjs.resolvePath; exports.unstable_HistoryRouter = _chunkLHDU32KOjs.HistoryRouter; exports.unstable_RSCHydratedRouter = RSCHydratedRouter; exports.unstable_RSCStaticRouter = RSCStaticRouter; exports.unstable_createCallServer = createCallServer; exports.unstable_getRSCStream = getRSCStream; exports.unstable_routeRSCServerRequest = routeRSCServerRequest; exports.unstable_setDevServerHooks = setDevServerHooks; exports.unstable_usePrompt = _chunkLHDU32KOjs.usePrompt; exports.useActionData = _chunkGWORLVRMjs.useActionData; exports.useAsyncError = _chunkGWORLVRMjs.useAsyncError; exports.useAsyncValue = _chunkGWORLVRMjs.useAsyncValue; exports.useBeforeUnload = _chunkLHDU32KOjs.useBeforeUnload; exports.useBlocker = _chunkGWORLVRMjs.useBlocker; exports.useFetcher = _chunkLHDU32KOjs.useFetcher; exports.useFetchers = _chunkLHDU32KOjs.useFetchers; exports.useFormAction = _chunkLHDU32KOjs.useFormAction; exports.useHref = _chunkGWORLVRMjs.useHref; exports.useInRouterContext = _chunkGWORLVRMjs.useInRouterContext; exports.useLinkClickHandler = _chunkLHDU32KOjs.useLinkClickHandler; exports.useLoaderData = _chunkGWORLVRMjs.useLoaderData; exports.useLocation = _chunkGWORLVRMjs.useLocation; exports.useMatch = _chunkGWORLVRMjs.useMatch; exports.useMatches = _chunkGWORLVRMjs.useMatches; exports.useNavigate = _chunkGWORLVRMjs.useNavigate; exports.useNavigation = _chunkGWORLVRMjs.useNavigation; exports.useNavigationType = _chunkGWORLVRMjs.useNavigationType; exports.useOutlet = _chunkGWORLVRMjs.useOutlet; exports.useOutletContext = _chunkGWORLVRMjs.useOutletContext; exports.useParams = _chunkGWORLVRMjs.useParams; exports.useResolvedPath = _chunkGWORLVRMjs.useResolvedPath; exports.useRevalidator = _chunkGWORLVRMjs.useRevalidator; exports.useRouteError = _chunkGWORLVRMjs.useRouteError; exports.useRouteLoaderData = _chunkGWORLVRMjs.useRouteLoaderData; exports.useRoutes = _chunkGWORLVRMjs.useRoutes; exports.useSearchParams = _chunkLHDU32KOjs.useSearchParams; exports.useSubmit = _chunkLHDU32KOjs.useSubmit; exports.useViewTransitionState = _chunkLHDU32KOjs.useViewTransitionState;
3137
+
3138
+ exports.Await = _chunkWNLQ53P5js.Await; exports.BrowserRouter = _chunkWNLQ53P5js.BrowserRouter; exports.Form = _chunkWNLQ53P5js.Form; exports.HashRouter = _chunkWNLQ53P5js.HashRouter; exports.IDLE_BLOCKER = _chunk4E5LHRQPjs.IDLE_BLOCKER; exports.IDLE_FETCHER = _chunk4E5LHRQPjs.IDLE_FETCHER; exports.IDLE_NAVIGATION = _chunk4E5LHRQPjs.IDLE_NAVIGATION; exports.Link = _chunkWNLQ53P5js.Link; exports.Links = _chunk4E5LHRQPjs.Links; exports.MemoryRouter = _chunkWNLQ53P5js.MemoryRouter; exports.Meta = _chunk4E5LHRQPjs.Meta; exports.NavLink = _chunkWNLQ53P5js.NavLink; exports.Navigate = _chunkWNLQ53P5js.Navigate; exports.NavigationType = _chunk4E5LHRQPjs.Action; exports.Outlet = _chunkWNLQ53P5js.Outlet; exports.PrefetchPageLinks = _chunk4E5LHRQPjs.PrefetchPageLinks; exports.Route = _chunkWNLQ53P5js.Route; exports.Router = _chunkWNLQ53P5js.Router; exports.RouterContextProvider = _chunk4E5LHRQPjs.RouterContextProvider; exports.RouterProvider = _chunkWNLQ53P5js.RouterProvider; exports.Routes = _chunkWNLQ53P5js.Routes; exports.Scripts = _chunk4E5LHRQPjs.Scripts; exports.ScrollRestoration = _chunkWNLQ53P5js.ScrollRestoration; exports.ServerRouter = ServerRouter; exports.StaticRouter = _chunkWNLQ53P5js.StaticRouter; exports.StaticRouterProvider = _chunkWNLQ53P5js.StaticRouterProvider; exports.UNSAFE_AwaitContextProvider = _chunk4E5LHRQPjs.AwaitContextProvider; exports.UNSAFE_DataRouterContext = _chunk4E5LHRQPjs.DataRouterContext; exports.UNSAFE_DataRouterStateContext = _chunk4E5LHRQPjs.DataRouterStateContext; exports.UNSAFE_ErrorResponseImpl = _chunk4E5LHRQPjs.ErrorResponseImpl; exports.UNSAFE_FetchersContext = _chunk4E5LHRQPjs.FetchersContext; exports.UNSAFE_FrameworkContext = _chunk4E5LHRQPjs.FrameworkContext; exports.UNSAFE_LocationContext = _chunk4E5LHRQPjs.LocationContext; exports.UNSAFE_NavigationContext = _chunk4E5LHRQPjs.NavigationContext; exports.UNSAFE_RSCDefaultRootErrorBoundary = RSCDefaultRootErrorBoundary; exports.UNSAFE_RemixErrorBoundary = _chunk4E5LHRQPjs.RemixErrorBoundary; exports.UNSAFE_RouteContext = _chunk4E5LHRQPjs.RouteContext; exports.UNSAFE_ServerMode = ServerMode; exports.UNSAFE_SingleFetchRedirectSymbol = _chunk4E5LHRQPjs.SingleFetchRedirectSymbol; exports.UNSAFE_ViewTransitionContext = _chunk4E5LHRQPjs.ViewTransitionContext; exports.UNSAFE_WithComponentProps = _chunkWNLQ53P5js.WithComponentProps; exports.UNSAFE_WithErrorBoundaryProps = _chunkWNLQ53P5js.WithErrorBoundaryProps; exports.UNSAFE_WithHydrateFallbackProps = _chunkWNLQ53P5js.WithHydrateFallbackProps; exports.UNSAFE_createBrowserHistory = _chunk4E5LHRQPjs.createBrowserHistory; exports.UNSAFE_createClientRoutes = _chunk4E5LHRQPjs.createClientRoutes; exports.UNSAFE_createClientRoutesWithHMRRevalidationOptOut = _chunk4E5LHRQPjs.createClientRoutesWithHMRRevalidationOptOut; exports.UNSAFE_createRouter = _chunk4E5LHRQPjs.createRouter; exports.UNSAFE_decodeViaTurboStream = _chunk4E5LHRQPjs.decodeViaTurboStream; exports.UNSAFE_deserializeErrors = deserializeErrors; exports.UNSAFE_getHydrationData = getHydrationData; exports.UNSAFE_getPatchRoutesOnNavigationFunction = _chunk4E5LHRQPjs.getPatchRoutesOnNavigationFunction; exports.UNSAFE_getTurboStreamSingleFetchDataStrategy = _chunk4E5LHRQPjs.getTurboStreamSingleFetchDataStrategy; exports.UNSAFE_hydrationRouteProperties = _chunkWNLQ53P5js.hydrationRouteProperties; exports.UNSAFE_invariant = _chunk4E5LHRQPjs.invariant; exports.UNSAFE_mapRouteProperties = _chunkWNLQ53P5js.mapRouteProperties; exports.UNSAFE_shouldHydrateRouteLoader = _chunk4E5LHRQPjs.shouldHydrateRouteLoader; exports.UNSAFE_useFogOFWarDiscovery = _chunk4E5LHRQPjs.useFogOFWarDiscovery; exports.UNSAFE_useScrollRestoration = _chunkWNLQ53P5js.useScrollRestoration; exports.UNSAFE_withComponentProps = _chunkWNLQ53P5js.withComponentProps; exports.UNSAFE_withErrorBoundaryProps = _chunkWNLQ53P5js.withErrorBoundaryProps; exports.UNSAFE_withHydrateFallbackProps = _chunkWNLQ53P5js.withHydrateFallbackProps; exports.createBrowserRouter = _chunkWNLQ53P5js.createBrowserRouter; exports.createContext = _chunk4E5LHRQPjs.createContext; exports.createCookie = createCookie; exports.createCookieSessionStorage = createCookieSessionStorage; exports.createHashRouter = _chunkWNLQ53P5js.createHashRouter; exports.createMemoryRouter = _chunkWNLQ53P5js.createMemoryRouter; exports.createMemorySessionStorage = createMemorySessionStorage; exports.createPath = _chunk4E5LHRQPjs.createPath; exports.createRequestHandler = createRequestHandler; exports.createRoutesFromChildren = _chunkWNLQ53P5js.createRoutesFromChildren; exports.createRoutesFromElements = _chunkWNLQ53P5js.createRoutesFromElements; exports.createRoutesStub = createRoutesStub; exports.createSearchParams = _chunkWNLQ53P5js.createSearchParams; exports.createSession = createSession; exports.createSessionStorage = createSessionStorage; exports.createStaticHandler = _chunkWNLQ53P5js.createStaticHandler; exports.createStaticRouter = _chunkWNLQ53P5js.createStaticRouter; exports.data = _chunk4E5LHRQPjs.data; exports.generatePath = _chunk4E5LHRQPjs.generatePath; exports.href = href; exports.isCookie = isCookie; exports.isRouteErrorResponse = _chunk4E5LHRQPjs.isRouteErrorResponse; exports.isSession = isSession; exports.matchPath = _chunk4E5LHRQPjs.matchPath; exports.matchRoutes = _chunk4E5LHRQPjs.matchRoutes; exports.parsePath = _chunk4E5LHRQPjs.parsePath; exports.redirect = _chunk4E5LHRQPjs.redirect; exports.redirectDocument = _chunk4E5LHRQPjs.redirectDocument; exports.renderMatches = _chunkWNLQ53P5js.renderMatches; exports.replace = _chunk4E5LHRQPjs.replace; exports.resolvePath = _chunk4E5LHRQPjs.resolvePath; exports.unstable_HistoryRouter = _chunkWNLQ53P5js.HistoryRouter; exports.unstable_RSCHydratedRouter = RSCHydratedRouter; exports.unstable_RSCStaticRouter = RSCStaticRouter; exports.unstable_createCallServer = createCallServer; exports.unstable_getRSCStream = getRSCStream; exports.unstable_routeRSCServerRequest = routeRSCServerRequest; exports.unstable_setDevServerHooks = setDevServerHooks; exports.unstable_usePrompt = _chunkWNLQ53P5js.usePrompt; exports.unstable_useRoute = _chunk4E5LHRQPjs.useRoute; exports.useActionData = _chunk4E5LHRQPjs.useActionData; exports.useAsyncError = _chunk4E5LHRQPjs.useAsyncError; exports.useAsyncValue = _chunk4E5LHRQPjs.useAsyncValue; exports.useBeforeUnload = _chunkWNLQ53P5js.useBeforeUnload; exports.useBlocker = _chunk4E5LHRQPjs.useBlocker; exports.useFetcher = _chunkWNLQ53P5js.useFetcher; exports.useFetchers = _chunkWNLQ53P5js.useFetchers; exports.useFormAction = _chunkWNLQ53P5js.useFormAction; exports.useHref = _chunk4E5LHRQPjs.useHref; exports.useInRouterContext = _chunk4E5LHRQPjs.useInRouterContext; exports.useLinkClickHandler = _chunkWNLQ53P5js.useLinkClickHandler; exports.useLoaderData = _chunk4E5LHRQPjs.useLoaderData; exports.useLocation = _chunk4E5LHRQPjs.useLocation; exports.useMatch = _chunk4E5LHRQPjs.useMatch; exports.useMatches = _chunk4E5LHRQPjs.useMatches; exports.useNavigate = _chunk4E5LHRQPjs.useNavigate; exports.useNavigation = _chunk4E5LHRQPjs.useNavigation; exports.useNavigationType = _chunk4E5LHRQPjs.useNavigationType; exports.useOutlet = _chunk4E5LHRQPjs.useOutlet; exports.useOutletContext = _chunk4E5LHRQPjs.useOutletContext; exports.useParams = _chunk4E5LHRQPjs.useParams; exports.useResolvedPath = _chunk4E5LHRQPjs.useResolvedPath; exports.useRevalidator = _chunk4E5LHRQPjs.useRevalidator; exports.useRouteError = _chunk4E5LHRQPjs.useRouteError; exports.useRouteLoaderData = _chunk4E5LHRQPjs.useRouteLoaderData; exports.useRoutes = _chunk4E5LHRQPjs.useRoutes; exports.useSearchParams = _chunkWNLQ53P5js.useSearchParams; exports.useSubmit = _chunkWNLQ53P5js.useSubmit; exports.useViewTransitionState = _chunkWNLQ53P5js.useViewTransitionState;