react-router 0.0.0-experimental-dcaf20023 → 0.0.0-experimental-1f21bdfb5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/development/{chunk-M6FMCFOZ.mjs → chunk-6SDWCRAL.mjs} +21 -15
- package/dist/development/dom-export.d.mts +1 -1
- package/dist/development/dom-export.d.ts +1 -1
- package/dist/development/dom-export.js +19 -14
- package/dist/development/dom-export.mjs +2 -2
- package/dist/{production/fog-of-war-BmFa8hWB.d.mts → development/fog-of-war-DVHxrQEC.d.mts} +2 -1
- package/dist/development/{fog-of-war-DCJWEfsk.d.ts → fog-of-war-aN4oWtUq.d.ts} +2 -1
- package/dist/development/index.d.mts +2 -2
- package/dist/development/index.d.ts +2 -2
- package/dist/development/index.js +21 -15
- package/dist/development/index.mjs +2 -2
- package/dist/development/lib/types/route-module.js +1 -1
- package/dist/development/lib/types/route-module.mjs +1 -1
- package/dist/production/{chunk-AHYDTRUO.mjs → chunk-L6QQTGYO.mjs} +21 -15
- package/dist/production/dom-export.d.mts +1 -1
- package/dist/production/dom-export.d.ts +1 -1
- package/dist/production/dom-export.js +19 -14
- package/dist/production/dom-export.mjs +2 -2
- package/dist/{development/fog-of-war-BmFa8hWB.d.mts → production/fog-of-war-DVHxrQEC.d.mts} +2 -1
- package/dist/production/{fog-of-war-DCJWEfsk.d.ts → fog-of-war-aN4oWtUq.d.ts} +2 -1
- package/dist/production/index.d.mts +2 -2
- package/dist/production/index.d.ts +2 -2
- package/dist/production/index.js +21 -15
- package/dist/production/index.mjs +2 -2
- package/dist/production/lib/types/route-module.js +1 -1
- package/dist/production/lib/types/route-module.mjs +1 -1
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-1f21bdfb5
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -6946,7 +6946,7 @@ var URL_LIMIT = 7680;
|
|
|
6946
6946
|
function isFogOfWarEnabled(ssr) {
|
|
6947
6947
|
return ssr === true;
|
|
6948
6948
|
}
|
|
6949
|
-
function getPartialManifest(manifest, router) {
|
|
6949
|
+
function getPartialManifest({ sri, ...manifest }, router) {
|
|
6950
6950
|
let routeIds = new Set(router.state.matches.map((m) => m.route.id));
|
|
6951
6951
|
let segments = router.state.location.pathname.split("/").filter(Boolean);
|
|
6952
6952
|
let paths = ["/"];
|
|
@@ -6967,7 +6967,8 @@ function getPartialManifest(manifest, router) {
|
|
|
6967
6967
|
);
|
|
6968
6968
|
return {
|
|
6969
6969
|
...manifest,
|
|
6970
|
-
routes: initialRoutes
|
|
6970
|
+
routes: initialRoutes,
|
|
6971
|
+
sri: true
|
|
6971
6972
|
};
|
|
6972
6973
|
}
|
|
6973
6974
|
function getPatchRoutesOnNavigationFunction(manifest, routeModules, ssr, isSpaMode, basename) {
|
|
@@ -7540,19 +7541,23 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
7540
7541
|
}
|
|
7541
7542
|
));
|
|
7542
7543
|
}, []);
|
|
7543
|
-
let preloads = isHydrated ? [] :
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7544
|
+
let preloads = isHydrated ? [] : dedupe(
|
|
7545
|
+
manifest.entry.imports.concat(
|
|
7546
|
+
getModuleLinkHrefs(matches, manifest, {
|
|
7547
|
+
includeHydrateFallback: true
|
|
7548
|
+
})
|
|
7549
|
+
)
|
|
7547
7550
|
);
|
|
7551
|
+
let sri = typeof manifest.sri === "object" ? manifest.sri : {};
|
|
7548
7552
|
return isHydrated ? null : /* @__PURE__ */ React9.createElement(React9.Fragment, null, manifest.sri ? /* @__PURE__ */ React9.createElement(
|
|
7549
7553
|
"script",
|
|
7550
7554
|
{
|
|
7551
7555
|
type: "importmap",
|
|
7556
|
+
suppressHydrationWarning: true,
|
|
7552
7557
|
dangerouslySetInnerHTML: {
|
|
7553
|
-
__html: JSON.stringify({
|
|
7554
|
-
integrity:
|
|
7555
|
-
})
|
|
7558
|
+
__html: sri ? JSON.stringify({
|
|
7559
|
+
integrity: sri
|
|
7560
|
+
}) : ""
|
|
7556
7561
|
}
|
|
7557
7562
|
}
|
|
7558
7563
|
) : null, !enableFogOfWar ? /* @__PURE__ */ React9.createElement(
|
|
@@ -7561,7 +7566,7 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
7561
7566
|
rel: "modulepreload",
|
|
7562
7567
|
href: manifest.url,
|
|
7563
7568
|
crossOrigin: props.crossOrigin,
|
|
7564
|
-
integrity:
|
|
7569
|
+
integrity: sri[manifest.url]
|
|
7565
7570
|
}
|
|
7566
7571
|
) : null, /* @__PURE__ */ React9.createElement(
|
|
7567
7572
|
"link",
|
|
@@ -7569,16 +7574,16 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
7569
7574
|
rel: "modulepreload",
|
|
7570
7575
|
href: manifest.entry.module,
|
|
7571
7576
|
crossOrigin: props.crossOrigin,
|
|
7572
|
-
integrity:
|
|
7577
|
+
integrity: sri[manifest.entry.module]
|
|
7573
7578
|
}
|
|
7574
|
-
),
|
|
7579
|
+
), preloads.map((path) => /* @__PURE__ */ React9.createElement(
|
|
7575
7580
|
"link",
|
|
7576
7581
|
{
|
|
7577
7582
|
key: path,
|
|
7578
7583
|
rel: "modulepreload",
|
|
7579
7584
|
href: path,
|
|
7580
7585
|
crossOrigin: props.crossOrigin,
|
|
7581
|
-
integrity:
|
|
7586
|
+
integrity: sri[path]
|
|
7582
7587
|
}
|
|
7583
7588
|
)), initialScripts);
|
|
7584
7589
|
}
|
|
@@ -7601,7 +7606,7 @@ function mergeRefs(...refs) {
|
|
|
7601
7606
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
7602
7607
|
try {
|
|
7603
7608
|
if (isBrowser) {
|
|
7604
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
7609
|
+
window.__reactRouterVersion = "0.0.0-experimental-1f21bdfb5";
|
|
7605
7610
|
}
|
|
7606
7611
|
} catch (e) {
|
|
7607
7612
|
}
|
|
@@ -8756,6 +8761,7 @@ function createRoutesStub(routes, unstable_getContext) {
|
|
|
8756
8761
|
if (routerRef.current == null) {
|
|
8757
8762
|
remixContextRef.current = {
|
|
8758
8763
|
future: {
|
|
8764
|
+
unstable_subResourceIntegrity: future?.unstable_subResourceIntegrity === true,
|
|
8759
8765
|
unstable_middleware: future?.unstable_middleware === true
|
|
8760
8766
|
},
|
|
8761
8767
|
manifest: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { R as RouterProviderProps$1 } from './fog-of-war-
|
|
2
|
+
import { R as RouterProviderProps$1 } from './fog-of-war-DVHxrQEC.mjs';
|
|
3
3
|
import { R as RouterInit } from './route-data-H2S3hwhf.mjs';
|
|
4
4
|
|
|
5
5
|
type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { R as RouterProviderProps$1 } from './fog-of-war-
|
|
2
|
+
import { R as RouterProviderProps$1 } from './fog-of-war-aN4oWtUq.js';
|
|
3
3
|
import { R as RouterInit } from './route-data-H2S3hwhf.js';
|
|
4
4
|
|
|
5
5
|
type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-1f21bdfb5
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -5410,7 +5410,7 @@ var URL_LIMIT = 7680;
|
|
|
5410
5410
|
function isFogOfWarEnabled(ssr) {
|
|
5411
5411
|
return ssr === true;
|
|
5412
5412
|
}
|
|
5413
|
-
function getPartialManifest(manifest, router2) {
|
|
5413
|
+
function getPartialManifest({ sri, ...manifest }, router2) {
|
|
5414
5414
|
let routeIds = new Set(router2.state.matches.map((m) => m.route.id));
|
|
5415
5415
|
let segments = router2.state.location.pathname.split("/").filter(Boolean);
|
|
5416
5416
|
let paths = ["/"];
|
|
@@ -5431,7 +5431,8 @@ function getPartialManifest(manifest, router2) {
|
|
|
5431
5431
|
);
|
|
5432
5432
|
return {
|
|
5433
5433
|
...manifest,
|
|
5434
|
-
routes: initialRoutes
|
|
5434
|
+
routes: initialRoutes,
|
|
5435
|
+
sri: true
|
|
5435
5436
|
};
|
|
5436
5437
|
}
|
|
5437
5438
|
function getPatchRoutesOnNavigationFunction(manifest, routeModules, ssr, isSpaMode, basename) {
|
|
@@ -5711,19 +5712,23 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
5711
5712
|
}
|
|
5712
5713
|
));
|
|
5713
5714
|
}, []);
|
|
5714
|
-
let preloads = isHydrated ? [] :
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5715
|
+
let preloads = isHydrated ? [] : dedupe(
|
|
5716
|
+
manifest.entry.imports.concat(
|
|
5717
|
+
getModuleLinkHrefs(matches, manifest, {
|
|
5718
|
+
includeHydrateFallback: true
|
|
5719
|
+
})
|
|
5720
|
+
)
|
|
5718
5721
|
);
|
|
5722
|
+
let sri = typeof manifest.sri === "object" ? manifest.sri : {};
|
|
5719
5723
|
return isHydrated ? null : /* @__PURE__ */ React9.createElement(React9.Fragment, null, manifest.sri ? /* @__PURE__ */ React9.createElement(
|
|
5720
5724
|
"script",
|
|
5721
5725
|
{
|
|
5722
5726
|
type: "importmap",
|
|
5727
|
+
suppressHydrationWarning: true,
|
|
5723
5728
|
dangerouslySetInnerHTML: {
|
|
5724
|
-
__html: JSON.stringify({
|
|
5725
|
-
integrity:
|
|
5726
|
-
})
|
|
5729
|
+
__html: sri ? JSON.stringify({
|
|
5730
|
+
integrity: sri
|
|
5731
|
+
}) : ""
|
|
5727
5732
|
}
|
|
5728
5733
|
}
|
|
5729
5734
|
) : null, !enableFogOfWar ? /* @__PURE__ */ React9.createElement(
|
|
@@ -5732,7 +5737,7 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
5732
5737
|
rel: "modulepreload",
|
|
5733
5738
|
href: manifest.url,
|
|
5734
5739
|
crossOrigin: props.crossOrigin,
|
|
5735
|
-
integrity:
|
|
5740
|
+
integrity: sri[manifest.url]
|
|
5736
5741
|
}
|
|
5737
5742
|
) : null, /* @__PURE__ */ React9.createElement(
|
|
5738
5743
|
"link",
|
|
@@ -5740,16 +5745,16 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
5740
5745
|
rel: "modulepreload",
|
|
5741
5746
|
href: manifest.entry.module,
|
|
5742
5747
|
crossOrigin: props.crossOrigin,
|
|
5743
|
-
integrity:
|
|
5748
|
+
integrity: sri[manifest.entry.module]
|
|
5744
5749
|
}
|
|
5745
|
-
),
|
|
5750
|
+
), preloads.map((path) => /* @__PURE__ */ React9.createElement(
|
|
5746
5751
|
"link",
|
|
5747
5752
|
{
|
|
5748
5753
|
key: path,
|
|
5749
5754
|
rel: "modulepreload",
|
|
5750
5755
|
href: path,
|
|
5751
5756
|
crossOrigin: props.crossOrigin,
|
|
5752
|
-
integrity:
|
|
5757
|
+
integrity: sri[path]
|
|
5753
5758
|
}
|
|
5754
5759
|
)), initialScripts);
|
|
5755
5760
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-1f21bdfb5
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
matchRoutes,
|
|
26
26
|
shouldHydrateRouteLoader,
|
|
27
27
|
useFogOFWarDiscovery
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-6SDWCRAL.mjs";
|
|
29
29
|
|
|
30
30
|
// lib/dom-export/dom-router-provider.tsx
|
|
31
31
|
import * as React from "react";
|
|
@@ -440,6 +440,7 @@ interface EntryContext extends FrameworkContextObject {
|
|
|
440
440
|
serverHandoffStream?: ReadableStream<Uint8Array>;
|
|
441
441
|
}
|
|
442
442
|
interface FutureConfig {
|
|
443
|
+
unstable_subResourceIntegrity: boolean;
|
|
443
444
|
unstable_middleware: boolean;
|
|
444
445
|
}
|
|
445
446
|
type CriticalCss = string | {
|
|
@@ -458,7 +459,7 @@ interface AssetsManifest {
|
|
|
458
459
|
timestamp?: number;
|
|
459
460
|
runtime: string;
|
|
460
461
|
};
|
|
461
|
-
sri?: Record<string, string
|
|
462
|
+
sri?: Record<string, string> | true;
|
|
462
463
|
}
|
|
463
464
|
|
|
464
465
|
interface Route {
|
|
@@ -440,6 +440,7 @@ interface EntryContext extends FrameworkContextObject {
|
|
|
440
440
|
serverHandoffStream?: ReadableStream<Uint8Array>;
|
|
441
441
|
}
|
|
442
442
|
interface FutureConfig {
|
|
443
|
+
unstable_subResourceIntegrity: boolean;
|
|
443
444
|
unstable_middleware: boolean;
|
|
444
445
|
}
|
|
445
446
|
type CriticalCss = string | {
|
|
@@ -458,7 +459,7 @@ interface AssetsManifest {
|
|
|
458
459
|
timestamp?: number;
|
|
459
460
|
runtime: string;
|
|
460
461
|
};
|
|
461
|
-
sri?: Record<string, string
|
|
462
|
+
sri?: Record<string, string> | true;
|
|
462
463
|
}
|
|
463
464
|
|
|
464
465
|
interface Route {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as RouteModules, b as Router, D as DataStrategyFunction, c as RouteManifest, S as ServerRouteModule, u as unstable_RouterContextProvider, L as LoaderFunctionArgs, A as ActionFunctionArgs, T as To, d as RelativeRoutingType, e as Location, f as Action, P as ParamParseKey, g as Path, h as PathPattern, i as PathMatch, N as NavigateOptions, j as Params$1, k as RouteObject, l as Navigation, m as RevalidationState, U as UIMatch, n as SerializeFrom, B as BlockerFunction, o as Blocker, p as StaticHandlerContext, q as StaticHandler, F as FutureConfig$1, C as CreateStaticHandlerOptions$1, I as InitialEntry, H as HydrationState, r as unstable_InitialContext, s as IndexRouteObject, t as LoaderFunction, v as ActionFunction, M as MetaFunction, w as LinksFunction, x as NonIndexRouteObject, E as Equal, y as RouterState } from './route-data-H2S3hwhf.mjs';
|
|
2
2
|
export { au as ClientActionFunction, av as ClientActionFunctionArgs, aw as ClientLoaderFunction, ax as ClientLoaderFunctionArgs, ao as DataRouteMatch, ap as DataRouteObject, W as DataStrategyFunctionArgs, X as DataStrategyMatch, Y as DataStrategyResult, _ as ErrorResponse, J as Fetcher, $ as FormEncType, a0 as FormMethod, G as GetScrollPositionFunction, z as GetScrollRestorationKeyFunction, a1 as HTMLFormMethod, ay as HeadersArgs, az as HeadersFunction, aD as HtmlLinkDescriptor, ae as IDLE_BLOCKER, ad as IDLE_FETCHER, ac as IDLE_NAVIGATION, a2 as LazyRouteFunction, aE as LinkDescriptor, aA as MetaArgs, aB as MetaDescriptor, K as NavigationStates, aq as Navigator, aC as PageLinkDescriptor, ar as PatchRoutesOnNavigationFunction, as as PatchRoutesOnNavigationFunctionArgs, a4 as PathParam, a5 as RedirectFunction, at as RouteMatch, V as RouterFetchOptions, R as RouterInit, Q as RouterNavigateOptions, O as RouterSubscriber, a7 as ShouldRevalidateFunction, a8 as ShouldRevalidateFunctionArgs, aK as UNSAFE_DataRouterContext, aL as UNSAFE_DataRouterStateContext, Z as UNSAFE_DataWithResponseInit, aJ as UNSAFE_ErrorResponseImpl, aM as UNSAFE_FetchersContext, aN as UNSAFE_LocationContext, aO as UNSAFE_NavigationContext, aP as UNSAFE_RouteContext, aQ as UNSAFE_ViewTransitionContext, aG as UNSAFE_createBrowserHistory, aI as UNSAFE_createRouter, aH as UNSAFE_invariant, aa as createPath, af as data, ag as generatePath, ah as isRouteErrorResponse, ai as matchPath, aj as matchRoutes, ab as parsePath, ak as redirect, al as redirectDocument, am as replace, an as resolvePath, a3 as unstable_MiddlewareFunction, a6 as unstable_RouterContext, aF as unstable_SerializesTo, a9 as unstable_createContext } from './route-data-H2S3hwhf.mjs';
|
|
3
|
-
import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext, C as CriticalCss } from './fog-of-war-
|
|
4
|
-
export { g as Await, b as AwaitProps, T as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, w as FetcherFormProps, G as FetcherSubmitFunction, a7 as FetcherSubmitOptions, J as FetcherWithComponents, Y as Form, x as FormProps, U as HashRouter, H as HashRouterProps, s as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, V as Link, t as LinkProps, ae as Links, h as MemoryRouter, M as MemoryRouterOpts, c as MemoryRouterProps, ad as Meta, X as NavLink, u as NavLinkProps, v as NavLinkRenderProps, i as Navigate, N as NavigateProps, j as Outlet, O as OutletProps, a8 as ParamKeyValuePair, P as PathRouteProps, ag as PrefetchPageLinks, k as Route, d as RouteProps, l as Router, e as RouterProps, m as RouterProvider, R as RouterProviderProps, n as Routes, f as RoutesProps, af as Scripts, ah as ScriptsProps, Z as ScrollRestoration, S as ScrollRestorationProps, y as SetURLSearchParams, z as SubmitFunction, a9 as SubmitOptions, ab as SubmitTarget, aj as UNSAFE_FrameworkContext, am as UNSAFE_createClientRoutes, an as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, ak as UNSAFE_getPatchRoutesOnNavigationFunction, ai as UNSAFE_mapRouteProperties, ao as UNSAFE_shouldHydrateRouteLoader, al as UNSAFE_useFogOFWarDiscovery, ap as UNSAFE_useScrollRestoration, aa as URLSearchParamsInit, K as createBrowserRouter, Q as createHashRouter, o as createMemoryRouter, p as createRoutesFromChildren, q as createRoutesFromElements, ac as createSearchParams, r as renderMatches, W as unstable_HistoryRouter, a5 as unstable_usePrompt, a4 as useBeforeUnload, a2 as useFetcher, a3 as useFetchers, a1 as useFormAction, _ as useLinkClickHandler, $ as useSearchParams, a0 as useSubmit, a6 as useViewTransitionState } from './fog-of-war-
|
|
3
|
+
import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext, C as CriticalCss } from './fog-of-war-DVHxrQEC.mjs';
|
|
4
|
+
export { g as Await, b as AwaitProps, T as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, w as FetcherFormProps, G as FetcherSubmitFunction, a7 as FetcherSubmitOptions, J as FetcherWithComponents, Y as Form, x as FormProps, U as HashRouter, H as HashRouterProps, s as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, V as Link, t as LinkProps, ae as Links, h as MemoryRouter, M as MemoryRouterOpts, c as MemoryRouterProps, ad as Meta, X as NavLink, u as NavLinkProps, v as NavLinkRenderProps, i as Navigate, N as NavigateProps, j as Outlet, O as OutletProps, a8 as ParamKeyValuePair, P as PathRouteProps, ag as PrefetchPageLinks, k as Route, d as RouteProps, l as Router, e as RouterProps, m as RouterProvider, R as RouterProviderProps, n as Routes, f as RoutesProps, af as Scripts, ah as ScriptsProps, Z as ScrollRestoration, S as ScrollRestorationProps, y as SetURLSearchParams, z as SubmitFunction, a9 as SubmitOptions, ab as SubmitTarget, aj as UNSAFE_FrameworkContext, am as UNSAFE_createClientRoutes, an as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, ak as UNSAFE_getPatchRoutesOnNavigationFunction, ai as UNSAFE_mapRouteProperties, ao as UNSAFE_shouldHydrateRouteLoader, al as UNSAFE_useFogOFWarDiscovery, ap as UNSAFE_useScrollRestoration, aa as URLSearchParamsInit, K as createBrowserRouter, Q as createHashRouter, o as createMemoryRouter, p as createRoutesFromChildren, q as createRoutesFromElements, ac as createSearchParams, r as renderMatches, W as unstable_HistoryRouter, a5 as unstable_usePrompt, a4 as useBeforeUnload, a2 as useFetcher, a3 as useFetchers, a1 as useFormAction, _ as useLinkClickHandler, $ as useSearchParams, a0 as useSubmit, a6 as useViewTransitionState } from './fog-of-war-DVHxrQEC.mjs';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { ReactElement } from 'react';
|
|
7
7
|
import { ParseOptions, SerializeOptions } from 'cookie';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as RouteModules, b as Router, D as DataStrategyFunction, c as RouteManifest, S as ServerRouteModule, u as unstable_RouterContextProvider, L as LoaderFunctionArgs, A as ActionFunctionArgs, T as To, d as RelativeRoutingType, e as Location, f as Action, P as ParamParseKey, g as Path, h as PathPattern, i as PathMatch, N as NavigateOptions, j as Params$1, k as RouteObject, l as Navigation, m as RevalidationState, U as UIMatch, n as SerializeFrom, B as BlockerFunction, o as Blocker, p as StaticHandlerContext, q as StaticHandler, F as FutureConfig$1, C as CreateStaticHandlerOptions$1, I as InitialEntry, H as HydrationState, r as unstable_InitialContext, s as IndexRouteObject, t as LoaderFunction, v as ActionFunction, M as MetaFunction, w as LinksFunction, x as NonIndexRouteObject, E as Equal, y as RouterState } from './route-data-H2S3hwhf.js';
|
|
2
2
|
export { au as ClientActionFunction, av as ClientActionFunctionArgs, aw as ClientLoaderFunction, ax as ClientLoaderFunctionArgs, ao as DataRouteMatch, ap as DataRouteObject, W as DataStrategyFunctionArgs, X as DataStrategyMatch, Y as DataStrategyResult, _ as ErrorResponse, J as Fetcher, $ as FormEncType, a0 as FormMethod, G as GetScrollPositionFunction, z as GetScrollRestorationKeyFunction, a1 as HTMLFormMethod, ay as HeadersArgs, az as HeadersFunction, aD as HtmlLinkDescriptor, ae as IDLE_BLOCKER, ad as IDLE_FETCHER, ac as IDLE_NAVIGATION, a2 as LazyRouteFunction, aE as LinkDescriptor, aA as MetaArgs, aB as MetaDescriptor, K as NavigationStates, aq as Navigator, aC as PageLinkDescriptor, ar as PatchRoutesOnNavigationFunction, as as PatchRoutesOnNavigationFunctionArgs, a4 as PathParam, a5 as RedirectFunction, at as RouteMatch, V as RouterFetchOptions, R as RouterInit, Q as RouterNavigateOptions, O as RouterSubscriber, a7 as ShouldRevalidateFunction, a8 as ShouldRevalidateFunctionArgs, aK as UNSAFE_DataRouterContext, aL as UNSAFE_DataRouterStateContext, Z as UNSAFE_DataWithResponseInit, aJ as UNSAFE_ErrorResponseImpl, aM as UNSAFE_FetchersContext, aN as UNSAFE_LocationContext, aO as UNSAFE_NavigationContext, aP as UNSAFE_RouteContext, aQ as UNSAFE_ViewTransitionContext, aG as UNSAFE_createBrowserHistory, aI as UNSAFE_createRouter, aH as UNSAFE_invariant, aa as createPath, af as data, ag as generatePath, ah as isRouteErrorResponse, ai as matchPath, aj as matchRoutes, ab as parsePath, ak as redirect, al as redirectDocument, am as replace, an as resolvePath, a3 as unstable_MiddlewareFunction, a6 as unstable_RouterContext, aF as unstable_SerializesTo, a9 as unstable_createContext } from './route-data-H2S3hwhf.js';
|
|
3
|
-
import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext, C as CriticalCss } from './fog-of-war-
|
|
4
|
-
export { g as Await, b as AwaitProps, T as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, w as FetcherFormProps, G as FetcherSubmitFunction, a7 as FetcherSubmitOptions, J as FetcherWithComponents, Y as Form, x as FormProps, U as HashRouter, H as HashRouterProps, s as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, V as Link, t as LinkProps, ae as Links, h as MemoryRouter, M as MemoryRouterOpts, c as MemoryRouterProps, ad as Meta, X as NavLink, u as NavLinkProps, v as NavLinkRenderProps, i as Navigate, N as NavigateProps, j as Outlet, O as OutletProps, a8 as ParamKeyValuePair, P as PathRouteProps, ag as PrefetchPageLinks, k as Route, d as RouteProps, l as Router, e as RouterProps, m as RouterProvider, R as RouterProviderProps, n as Routes, f as RoutesProps, af as Scripts, ah as ScriptsProps, Z as ScrollRestoration, S as ScrollRestorationProps, y as SetURLSearchParams, z as SubmitFunction, a9 as SubmitOptions, ab as SubmitTarget, aj as UNSAFE_FrameworkContext, am as UNSAFE_createClientRoutes, an as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, ak as UNSAFE_getPatchRoutesOnNavigationFunction, ai as UNSAFE_mapRouteProperties, ao as UNSAFE_shouldHydrateRouteLoader, al as UNSAFE_useFogOFWarDiscovery, ap as UNSAFE_useScrollRestoration, aa as URLSearchParamsInit, K as createBrowserRouter, Q as createHashRouter, o as createMemoryRouter, p as createRoutesFromChildren, q as createRoutesFromElements, ac as createSearchParams, r as renderMatches, W as unstable_HistoryRouter, a5 as unstable_usePrompt, a4 as useBeforeUnload, a2 as useFetcher, a3 as useFetchers, a1 as useFormAction, _ as useLinkClickHandler, $ as useSearchParams, a0 as useSubmit, a6 as useViewTransitionState } from './fog-of-war-
|
|
3
|
+
import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext, C as CriticalCss } from './fog-of-war-aN4oWtUq.js';
|
|
4
|
+
export { g as Await, b as AwaitProps, T as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, w as FetcherFormProps, G as FetcherSubmitFunction, a7 as FetcherSubmitOptions, J as FetcherWithComponents, Y as Form, x as FormProps, U as HashRouter, H as HashRouterProps, s as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, V as Link, t as LinkProps, ae as Links, h as MemoryRouter, M as MemoryRouterOpts, c as MemoryRouterProps, ad as Meta, X as NavLink, u as NavLinkProps, v as NavLinkRenderProps, i as Navigate, N as NavigateProps, j as Outlet, O as OutletProps, a8 as ParamKeyValuePair, P as PathRouteProps, ag as PrefetchPageLinks, k as Route, d as RouteProps, l as Router, e as RouterProps, m as RouterProvider, R as RouterProviderProps, n as Routes, f as RoutesProps, af as Scripts, ah as ScriptsProps, Z as ScrollRestoration, S as ScrollRestorationProps, y as SetURLSearchParams, z as SubmitFunction, a9 as SubmitOptions, ab as SubmitTarget, aj as UNSAFE_FrameworkContext, am as UNSAFE_createClientRoutes, an as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, ak as UNSAFE_getPatchRoutesOnNavigationFunction, ai as UNSAFE_mapRouteProperties, ao as UNSAFE_shouldHydrateRouteLoader, al as UNSAFE_useFogOFWarDiscovery, ap as UNSAFE_useScrollRestoration, aa as URLSearchParamsInit, K as createBrowserRouter, Q as createHashRouter, o as createMemoryRouter, p as createRoutesFromChildren, q as createRoutesFromElements, ac as createSearchParams, r as renderMatches, W as unstable_HistoryRouter, a5 as unstable_usePrompt, a4 as useBeforeUnload, a2 as useFetcher, a3 as useFetchers, a1 as useFormAction, _ as useLinkClickHandler, $ as useSearchParams, a0 as useSubmit, a6 as useViewTransitionState } from './fog-of-war-aN4oWtUq.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { ReactElement } from 'react';
|
|
7
7
|
import { ParseOptions, SerializeOptions } from 'cookie';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-1f21bdfb5
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -7094,7 +7094,7 @@ var URL_LIMIT = 7680;
|
|
|
7094
7094
|
function isFogOfWarEnabled(ssr) {
|
|
7095
7095
|
return ssr === true;
|
|
7096
7096
|
}
|
|
7097
|
-
function getPartialManifest(manifest, router) {
|
|
7097
|
+
function getPartialManifest({ sri, ...manifest }, router) {
|
|
7098
7098
|
let routeIds = new Set(router.state.matches.map((m) => m.route.id));
|
|
7099
7099
|
let segments = router.state.location.pathname.split("/").filter(Boolean);
|
|
7100
7100
|
let paths = ["/"];
|
|
@@ -7115,7 +7115,8 @@ function getPartialManifest(manifest, router) {
|
|
|
7115
7115
|
);
|
|
7116
7116
|
return {
|
|
7117
7117
|
...manifest,
|
|
7118
|
-
routes: initialRoutes
|
|
7118
|
+
routes: initialRoutes,
|
|
7119
|
+
sri: true
|
|
7119
7120
|
};
|
|
7120
7121
|
}
|
|
7121
7122
|
function getPatchRoutesOnNavigationFunction(manifest, routeModules, ssr, isSpaMode, basename) {
|
|
@@ -7688,19 +7689,23 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
7688
7689
|
}
|
|
7689
7690
|
));
|
|
7690
7691
|
}, []);
|
|
7691
|
-
let preloads = isHydrated ? [] :
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
|
|
7692
|
+
let preloads = isHydrated ? [] : dedupe(
|
|
7693
|
+
manifest.entry.imports.concat(
|
|
7694
|
+
getModuleLinkHrefs(matches, manifest, {
|
|
7695
|
+
includeHydrateFallback: true
|
|
7696
|
+
})
|
|
7697
|
+
)
|
|
7695
7698
|
);
|
|
7699
|
+
let sri = typeof manifest.sri === "object" ? manifest.sri : {};
|
|
7696
7700
|
return isHydrated ? null : /* @__PURE__ */ React9.createElement(React9.Fragment, null, manifest.sri ? /* @__PURE__ */ React9.createElement(
|
|
7697
7701
|
"script",
|
|
7698
7702
|
{
|
|
7699
7703
|
type: "importmap",
|
|
7704
|
+
suppressHydrationWarning: true,
|
|
7700
7705
|
dangerouslySetInnerHTML: {
|
|
7701
|
-
__html: JSON.stringify({
|
|
7702
|
-
integrity:
|
|
7703
|
-
})
|
|
7706
|
+
__html: sri ? JSON.stringify({
|
|
7707
|
+
integrity: sri
|
|
7708
|
+
}) : ""
|
|
7704
7709
|
}
|
|
7705
7710
|
}
|
|
7706
7711
|
) : null, !enableFogOfWar ? /* @__PURE__ */ React9.createElement(
|
|
@@ -7709,7 +7714,7 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
7709
7714
|
rel: "modulepreload",
|
|
7710
7715
|
href: manifest.url,
|
|
7711
7716
|
crossOrigin: props.crossOrigin,
|
|
7712
|
-
integrity:
|
|
7717
|
+
integrity: sri[manifest.url]
|
|
7713
7718
|
}
|
|
7714
7719
|
) : null, /* @__PURE__ */ React9.createElement(
|
|
7715
7720
|
"link",
|
|
@@ -7717,16 +7722,16 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
7717
7722
|
rel: "modulepreload",
|
|
7718
7723
|
href: manifest.entry.module,
|
|
7719
7724
|
crossOrigin: props.crossOrigin,
|
|
7720
|
-
integrity:
|
|
7725
|
+
integrity: sri[manifest.entry.module]
|
|
7721
7726
|
}
|
|
7722
|
-
),
|
|
7727
|
+
), preloads.map((path) => /* @__PURE__ */ React9.createElement(
|
|
7723
7728
|
"link",
|
|
7724
7729
|
{
|
|
7725
7730
|
key: path,
|
|
7726
7731
|
rel: "modulepreload",
|
|
7727
7732
|
href: path,
|
|
7728
7733
|
crossOrigin: props.crossOrigin,
|
|
7729
|
-
integrity:
|
|
7734
|
+
integrity: sri[path]
|
|
7730
7735
|
}
|
|
7731
7736
|
)), initialScripts);
|
|
7732
7737
|
}
|
|
@@ -7749,7 +7754,7 @@ function mergeRefs(...refs) {
|
|
|
7749
7754
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
7750
7755
|
try {
|
|
7751
7756
|
if (isBrowser) {
|
|
7752
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
7757
|
+
window.__reactRouterVersion = "0.0.0-experimental-1f21bdfb5";
|
|
7753
7758
|
}
|
|
7754
7759
|
} catch (e) {
|
|
7755
7760
|
}
|
|
@@ -8904,6 +8909,7 @@ function createRoutesStub(routes, unstable_getContext) {
|
|
|
8904
8909
|
if (routerRef.current == null) {
|
|
8905
8910
|
remixContextRef.current = {
|
|
8906
8911
|
future: {
|
|
8912
|
+
unstable_subResourceIntegrity: future?.unstable_subResourceIntegrity === true,
|
|
8907
8913
|
unstable_middleware: future?.unstable_middleware === true
|
|
8908
8914
|
},
|
|
8909
8915
|
manifest: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-1f21bdfb5
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
useSearchParams,
|
|
124
124
|
useSubmit,
|
|
125
125
|
useViewTransitionState
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-6SDWCRAL.mjs";
|
|
127
127
|
export {
|
|
128
128
|
Await,
|
|
129
129
|
BrowserRouter,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-1f21bdfb5
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -6946,7 +6946,7 @@ var URL_LIMIT = 7680;
|
|
|
6946
6946
|
function isFogOfWarEnabled(ssr) {
|
|
6947
6947
|
return ssr === true;
|
|
6948
6948
|
}
|
|
6949
|
-
function getPartialManifest(manifest, router) {
|
|
6949
|
+
function getPartialManifest({ sri, ...manifest }, router) {
|
|
6950
6950
|
let routeIds = new Set(router.state.matches.map((m) => m.route.id));
|
|
6951
6951
|
let segments = router.state.location.pathname.split("/").filter(Boolean);
|
|
6952
6952
|
let paths = ["/"];
|
|
@@ -6967,7 +6967,8 @@ function getPartialManifest(manifest, router) {
|
|
|
6967
6967
|
);
|
|
6968
6968
|
return {
|
|
6969
6969
|
...manifest,
|
|
6970
|
-
routes: initialRoutes
|
|
6970
|
+
routes: initialRoutes,
|
|
6971
|
+
sri: true
|
|
6971
6972
|
};
|
|
6972
6973
|
}
|
|
6973
6974
|
function getPatchRoutesOnNavigationFunction(manifest, routeModules, ssr, isSpaMode, basename) {
|
|
@@ -7540,19 +7541,23 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
7540
7541
|
}
|
|
7541
7542
|
));
|
|
7542
7543
|
}, []);
|
|
7543
|
-
let preloads = isHydrated ? [] :
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7544
|
+
let preloads = isHydrated ? [] : dedupe(
|
|
7545
|
+
manifest.entry.imports.concat(
|
|
7546
|
+
getModuleLinkHrefs(matches, manifest, {
|
|
7547
|
+
includeHydrateFallback: true
|
|
7548
|
+
})
|
|
7549
|
+
)
|
|
7547
7550
|
);
|
|
7551
|
+
let sri = typeof manifest.sri === "object" ? manifest.sri : {};
|
|
7548
7552
|
return isHydrated ? null : /* @__PURE__ */ React9.createElement(React9.Fragment, null, manifest.sri ? /* @__PURE__ */ React9.createElement(
|
|
7549
7553
|
"script",
|
|
7550
7554
|
{
|
|
7551
7555
|
type: "importmap",
|
|
7556
|
+
suppressHydrationWarning: true,
|
|
7552
7557
|
dangerouslySetInnerHTML: {
|
|
7553
|
-
__html: JSON.stringify({
|
|
7554
|
-
integrity:
|
|
7555
|
-
})
|
|
7558
|
+
__html: sri ? JSON.stringify({
|
|
7559
|
+
integrity: sri
|
|
7560
|
+
}) : ""
|
|
7556
7561
|
}
|
|
7557
7562
|
}
|
|
7558
7563
|
) : null, !enableFogOfWar ? /* @__PURE__ */ React9.createElement(
|
|
@@ -7561,7 +7566,7 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
7561
7566
|
rel: "modulepreload",
|
|
7562
7567
|
href: manifest.url,
|
|
7563
7568
|
crossOrigin: props.crossOrigin,
|
|
7564
|
-
integrity:
|
|
7569
|
+
integrity: sri[manifest.url]
|
|
7565
7570
|
}
|
|
7566
7571
|
) : null, /* @__PURE__ */ React9.createElement(
|
|
7567
7572
|
"link",
|
|
@@ -7569,16 +7574,16 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
7569
7574
|
rel: "modulepreload",
|
|
7570
7575
|
href: manifest.entry.module,
|
|
7571
7576
|
crossOrigin: props.crossOrigin,
|
|
7572
|
-
integrity:
|
|
7577
|
+
integrity: sri[manifest.entry.module]
|
|
7573
7578
|
}
|
|
7574
|
-
),
|
|
7579
|
+
), preloads.map((path) => /* @__PURE__ */ React9.createElement(
|
|
7575
7580
|
"link",
|
|
7576
7581
|
{
|
|
7577
7582
|
key: path,
|
|
7578
7583
|
rel: "modulepreload",
|
|
7579
7584
|
href: path,
|
|
7580
7585
|
crossOrigin: props.crossOrigin,
|
|
7581
|
-
integrity:
|
|
7586
|
+
integrity: sri[path]
|
|
7582
7587
|
}
|
|
7583
7588
|
)), initialScripts);
|
|
7584
7589
|
}
|
|
@@ -7601,7 +7606,7 @@ function mergeRefs(...refs) {
|
|
|
7601
7606
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
7602
7607
|
try {
|
|
7603
7608
|
if (isBrowser) {
|
|
7604
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
7609
|
+
window.__reactRouterVersion = "0.0.0-experimental-1f21bdfb5";
|
|
7605
7610
|
}
|
|
7606
7611
|
} catch (e) {
|
|
7607
7612
|
}
|
|
@@ -8756,6 +8761,7 @@ function createRoutesStub(routes, unstable_getContext) {
|
|
|
8756
8761
|
if (routerRef.current == null) {
|
|
8757
8762
|
remixContextRef.current = {
|
|
8758
8763
|
future: {
|
|
8764
|
+
unstable_subResourceIntegrity: future?.unstable_subResourceIntegrity === true,
|
|
8759
8765
|
unstable_middleware: future?.unstable_middleware === true
|
|
8760
8766
|
},
|
|
8761
8767
|
manifest: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { R as RouterProviderProps$1 } from './fog-of-war-
|
|
2
|
+
import { R as RouterProviderProps$1 } from './fog-of-war-DVHxrQEC.mjs';
|
|
3
3
|
import { R as RouterInit } from './route-data-H2S3hwhf.mjs';
|
|
4
4
|
|
|
5
5
|
type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import { R as RouterProviderProps$1 } from './fog-of-war-
|
|
2
|
+
import { R as RouterProviderProps$1 } from './fog-of-war-aN4oWtUq.js';
|
|
3
3
|
import { R as RouterInit } from './route-data-H2S3hwhf.js';
|
|
4
4
|
|
|
5
5
|
type RouterProviderProps = Omit<RouterProviderProps$1, "flushSync">;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-1f21bdfb5
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -5410,7 +5410,7 @@ var URL_LIMIT = 7680;
|
|
|
5410
5410
|
function isFogOfWarEnabled(ssr) {
|
|
5411
5411
|
return ssr === true;
|
|
5412
5412
|
}
|
|
5413
|
-
function getPartialManifest(manifest, router2) {
|
|
5413
|
+
function getPartialManifest({ sri, ...manifest }, router2) {
|
|
5414
5414
|
let routeIds = new Set(router2.state.matches.map((m) => m.route.id));
|
|
5415
5415
|
let segments = router2.state.location.pathname.split("/").filter(Boolean);
|
|
5416
5416
|
let paths = ["/"];
|
|
@@ -5431,7 +5431,8 @@ function getPartialManifest(manifest, router2) {
|
|
|
5431
5431
|
);
|
|
5432
5432
|
return {
|
|
5433
5433
|
...manifest,
|
|
5434
|
-
routes: initialRoutes
|
|
5434
|
+
routes: initialRoutes,
|
|
5435
|
+
sri: true
|
|
5435
5436
|
};
|
|
5436
5437
|
}
|
|
5437
5438
|
function getPatchRoutesOnNavigationFunction(manifest, routeModules, ssr, isSpaMode, basename) {
|
|
@@ -5711,19 +5712,23 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
5711
5712
|
}
|
|
5712
5713
|
));
|
|
5713
5714
|
}, []);
|
|
5714
|
-
let preloads = isHydrated ? [] :
|
|
5715
|
-
|
|
5716
|
-
|
|
5717
|
-
|
|
5715
|
+
let preloads = isHydrated ? [] : dedupe(
|
|
5716
|
+
manifest.entry.imports.concat(
|
|
5717
|
+
getModuleLinkHrefs(matches, manifest, {
|
|
5718
|
+
includeHydrateFallback: true
|
|
5719
|
+
})
|
|
5720
|
+
)
|
|
5718
5721
|
);
|
|
5722
|
+
let sri = typeof manifest.sri === "object" ? manifest.sri : {};
|
|
5719
5723
|
return isHydrated ? null : /* @__PURE__ */ React9.createElement(React9.Fragment, null, manifest.sri ? /* @__PURE__ */ React9.createElement(
|
|
5720
5724
|
"script",
|
|
5721
5725
|
{
|
|
5722
5726
|
type: "importmap",
|
|
5727
|
+
suppressHydrationWarning: true,
|
|
5723
5728
|
dangerouslySetInnerHTML: {
|
|
5724
|
-
__html: JSON.stringify({
|
|
5725
|
-
integrity:
|
|
5726
|
-
})
|
|
5729
|
+
__html: sri ? JSON.stringify({
|
|
5730
|
+
integrity: sri
|
|
5731
|
+
}) : ""
|
|
5727
5732
|
}
|
|
5728
5733
|
}
|
|
5729
5734
|
) : null, !enableFogOfWar ? /* @__PURE__ */ React9.createElement(
|
|
@@ -5732,7 +5737,7 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
5732
5737
|
rel: "modulepreload",
|
|
5733
5738
|
href: manifest.url,
|
|
5734
5739
|
crossOrigin: props.crossOrigin,
|
|
5735
|
-
integrity:
|
|
5740
|
+
integrity: sri[manifest.url]
|
|
5736
5741
|
}
|
|
5737
5742
|
) : null, /* @__PURE__ */ React9.createElement(
|
|
5738
5743
|
"link",
|
|
@@ -5740,16 +5745,16 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
5740
5745
|
rel: "modulepreload",
|
|
5741
5746
|
href: manifest.entry.module,
|
|
5742
5747
|
crossOrigin: props.crossOrigin,
|
|
5743
|
-
integrity:
|
|
5748
|
+
integrity: sri[manifest.entry.module]
|
|
5744
5749
|
}
|
|
5745
|
-
),
|
|
5750
|
+
), preloads.map((path) => /* @__PURE__ */ React9.createElement(
|
|
5746
5751
|
"link",
|
|
5747
5752
|
{
|
|
5748
5753
|
key: path,
|
|
5749
5754
|
rel: "modulepreload",
|
|
5750
5755
|
href: path,
|
|
5751
5756
|
crossOrigin: props.crossOrigin,
|
|
5752
|
-
integrity:
|
|
5757
|
+
integrity: sri[path]
|
|
5753
5758
|
}
|
|
5754
5759
|
)), initialScripts);
|
|
5755
5760
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-1f21bdfb5
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
matchRoutes,
|
|
26
26
|
shouldHydrateRouteLoader,
|
|
27
27
|
useFogOFWarDiscovery
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-L6QQTGYO.mjs";
|
|
29
29
|
|
|
30
30
|
// lib/dom-export/dom-router-provider.tsx
|
|
31
31
|
import * as React from "react";
|
|
@@ -440,6 +440,7 @@ interface EntryContext extends FrameworkContextObject {
|
|
|
440
440
|
serverHandoffStream?: ReadableStream<Uint8Array>;
|
|
441
441
|
}
|
|
442
442
|
interface FutureConfig {
|
|
443
|
+
unstable_subResourceIntegrity: boolean;
|
|
443
444
|
unstable_middleware: boolean;
|
|
444
445
|
}
|
|
445
446
|
type CriticalCss = string | {
|
|
@@ -458,7 +459,7 @@ interface AssetsManifest {
|
|
|
458
459
|
timestamp?: number;
|
|
459
460
|
runtime: string;
|
|
460
461
|
};
|
|
461
|
-
sri?: Record<string, string
|
|
462
|
+
sri?: Record<string, string> | true;
|
|
462
463
|
}
|
|
463
464
|
|
|
464
465
|
interface Route {
|
|
@@ -440,6 +440,7 @@ interface EntryContext extends FrameworkContextObject {
|
|
|
440
440
|
serverHandoffStream?: ReadableStream<Uint8Array>;
|
|
441
441
|
}
|
|
442
442
|
interface FutureConfig {
|
|
443
|
+
unstable_subResourceIntegrity: boolean;
|
|
443
444
|
unstable_middleware: boolean;
|
|
444
445
|
}
|
|
445
446
|
type CriticalCss = string | {
|
|
@@ -458,7 +459,7 @@ interface AssetsManifest {
|
|
|
458
459
|
timestamp?: number;
|
|
459
460
|
runtime: string;
|
|
460
461
|
};
|
|
461
|
-
sri?: Record<string, string
|
|
462
|
+
sri?: Record<string, string> | true;
|
|
462
463
|
}
|
|
463
464
|
|
|
464
465
|
interface Route {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as RouteModules, b as Router, D as DataStrategyFunction, c as RouteManifest, S as ServerRouteModule, u as unstable_RouterContextProvider, L as LoaderFunctionArgs, A as ActionFunctionArgs, T as To, d as RelativeRoutingType, e as Location, f as Action, P as ParamParseKey, g as Path, h as PathPattern, i as PathMatch, N as NavigateOptions, j as Params$1, k as RouteObject, l as Navigation, m as RevalidationState, U as UIMatch, n as SerializeFrom, B as BlockerFunction, o as Blocker, p as StaticHandlerContext, q as StaticHandler, F as FutureConfig$1, C as CreateStaticHandlerOptions$1, I as InitialEntry, H as HydrationState, r as unstable_InitialContext, s as IndexRouteObject, t as LoaderFunction, v as ActionFunction, M as MetaFunction, w as LinksFunction, x as NonIndexRouteObject, E as Equal, y as RouterState } from './route-data-H2S3hwhf.mjs';
|
|
2
2
|
export { au as ClientActionFunction, av as ClientActionFunctionArgs, aw as ClientLoaderFunction, ax as ClientLoaderFunctionArgs, ao as DataRouteMatch, ap as DataRouteObject, W as DataStrategyFunctionArgs, X as DataStrategyMatch, Y as DataStrategyResult, _ as ErrorResponse, J as Fetcher, $ as FormEncType, a0 as FormMethod, G as GetScrollPositionFunction, z as GetScrollRestorationKeyFunction, a1 as HTMLFormMethod, ay as HeadersArgs, az as HeadersFunction, aD as HtmlLinkDescriptor, ae as IDLE_BLOCKER, ad as IDLE_FETCHER, ac as IDLE_NAVIGATION, a2 as LazyRouteFunction, aE as LinkDescriptor, aA as MetaArgs, aB as MetaDescriptor, K as NavigationStates, aq as Navigator, aC as PageLinkDescriptor, ar as PatchRoutesOnNavigationFunction, as as PatchRoutesOnNavigationFunctionArgs, a4 as PathParam, a5 as RedirectFunction, at as RouteMatch, V as RouterFetchOptions, R as RouterInit, Q as RouterNavigateOptions, O as RouterSubscriber, a7 as ShouldRevalidateFunction, a8 as ShouldRevalidateFunctionArgs, aK as UNSAFE_DataRouterContext, aL as UNSAFE_DataRouterStateContext, Z as UNSAFE_DataWithResponseInit, aJ as UNSAFE_ErrorResponseImpl, aM as UNSAFE_FetchersContext, aN as UNSAFE_LocationContext, aO as UNSAFE_NavigationContext, aP as UNSAFE_RouteContext, aQ as UNSAFE_ViewTransitionContext, aG as UNSAFE_createBrowserHistory, aI as UNSAFE_createRouter, aH as UNSAFE_invariant, aa as createPath, af as data, ag as generatePath, ah as isRouteErrorResponse, ai as matchPath, aj as matchRoutes, ab as parsePath, ak as redirect, al as redirectDocument, am as replace, an as resolvePath, a3 as unstable_MiddlewareFunction, a6 as unstable_RouterContext, aF as unstable_SerializesTo, a9 as unstable_createContext } from './route-data-H2S3hwhf.mjs';
|
|
3
|
-
import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext, C as CriticalCss } from './fog-of-war-
|
|
4
|
-
export { g as Await, b as AwaitProps, T as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, w as FetcherFormProps, G as FetcherSubmitFunction, a7 as FetcherSubmitOptions, J as FetcherWithComponents, Y as Form, x as FormProps, U as HashRouter, H as HashRouterProps, s as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, V as Link, t as LinkProps, ae as Links, h as MemoryRouter, M as MemoryRouterOpts, c as MemoryRouterProps, ad as Meta, X as NavLink, u as NavLinkProps, v as NavLinkRenderProps, i as Navigate, N as NavigateProps, j as Outlet, O as OutletProps, a8 as ParamKeyValuePair, P as PathRouteProps, ag as PrefetchPageLinks, k as Route, d as RouteProps, l as Router, e as RouterProps, m as RouterProvider, R as RouterProviderProps, n as Routes, f as RoutesProps, af as Scripts, ah as ScriptsProps, Z as ScrollRestoration, S as ScrollRestorationProps, y as SetURLSearchParams, z as SubmitFunction, a9 as SubmitOptions, ab as SubmitTarget, aj as UNSAFE_FrameworkContext, am as UNSAFE_createClientRoutes, an as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, ak as UNSAFE_getPatchRoutesOnNavigationFunction, ai as UNSAFE_mapRouteProperties, ao as UNSAFE_shouldHydrateRouteLoader, al as UNSAFE_useFogOFWarDiscovery, ap as UNSAFE_useScrollRestoration, aa as URLSearchParamsInit, K as createBrowserRouter, Q as createHashRouter, o as createMemoryRouter, p as createRoutesFromChildren, q as createRoutesFromElements, ac as createSearchParams, r as renderMatches, W as unstable_HistoryRouter, a5 as unstable_usePrompt, a4 as useBeforeUnload, a2 as useFetcher, a3 as useFetchers, a1 as useFormAction, _ as useLinkClickHandler, $ as useSearchParams, a0 as useSubmit, a6 as useViewTransitionState } from './fog-of-war-
|
|
3
|
+
import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext, C as CriticalCss } from './fog-of-war-DVHxrQEC.mjs';
|
|
4
|
+
export { g as Await, b as AwaitProps, T as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, w as FetcherFormProps, G as FetcherSubmitFunction, a7 as FetcherSubmitOptions, J as FetcherWithComponents, Y as Form, x as FormProps, U as HashRouter, H as HashRouterProps, s as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, V as Link, t as LinkProps, ae as Links, h as MemoryRouter, M as MemoryRouterOpts, c as MemoryRouterProps, ad as Meta, X as NavLink, u as NavLinkProps, v as NavLinkRenderProps, i as Navigate, N as NavigateProps, j as Outlet, O as OutletProps, a8 as ParamKeyValuePair, P as PathRouteProps, ag as PrefetchPageLinks, k as Route, d as RouteProps, l as Router, e as RouterProps, m as RouterProvider, R as RouterProviderProps, n as Routes, f as RoutesProps, af as Scripts, ah as ScriptsProps, Z as ScrollRestoration, S as ScrollRestorationProps, y as SetURLSearchParams, z as SubmitFunction, a9 as SubmitOptions, ab as SubmitTarget, aj as UNSAFE_FrameworkContext, am as UNSAFE_createClientRoutes, an as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, ak as UNSAFE_getPatchRoutesOnNavigationFunction, ai as UNSAFE_mapRouteProperties, ao as UNSAFE_shouldHydrateRouteLoader, al as UNSAFE_useFogOFWarDiscovery, ap as UNSAFE_useScrollRestoration, aa as URLSearchParamsInit, K as createBrowserRouter, Q as createHashRouter, o as createMemoryRouter, p as createRoutesFromChildren, q as createRoutesFromElements, ac as createSearchParams, r as renderMatches, W as unstable_HistoryRouter, a5 as unstable_usePrompt, a4 as useBeforeUnload, a2 as useFetcher, a3 as useFetchers, a1 as useFormAction, _ as useLinkClickHandler, $ as useSearchParams, a0 as useSubmit, a6 as useViewTransitionState } from './fog-of-war-DVHxrQEC.mjs';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { ReactElement } from 'react';
|
|
7
7
|
import { ParseOptions, SerializeOptions } from 'cookie';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as RouteModules, b as Router, D as DataStrategyFunction, c as RouteManifest, S as ServerRouteModule, u as unstable_RouterContextProvider, L as LoaderFunctionArgs, A as ActionFunctionArgs, T as To, d as RelativeRoutingType, e as Location, f as Action, P as ParamParseKey, g as Path, h as PathPattern, i as PathMatch, N as NavigateOptions, j as Params$1, k as RouteObject, l as Navigation, m as RevalidationState, U as UIMatch, n as SerializeFrom, B as BlockerFunction, o as Blocker, p as StaticHandlerContext, q as StaticHandler, F as FutureConfig$1, C as CreateStaticHandlerOptions$1, I as InitialEntry, H as HydrationState, r as unstable_InitialContext, s as IndexRouteObject, t as LoaderFunction, v as ActionFunction, M as MetaFunction, w as LinksFunction, x as NonIndexRouteObject, E as Equal, y as RouterState } from './route-data-H2S3hwhf.js';
|
|
2
2
|
export { au as ClientActionFunction, av as ClientActionFunctionArgs, aw as ClientLoaderFunction, ax as ClientLoaderFunctionArgs, ao as DataRouteMatch, ap as DataRouteObject, W as DataStrategyFunctionArgs, X as DataStrategyMatch, Y as DataStrategyResult, _ as ErrorResponse, J as Fetcher, $ as FormEncType, a0 as FormMethod, G as GetScrollPositionFunction, z as GetScrollRestorationKeyFunction, a1 as HTMLFormMethod, ay as HeadersArgs, az as HeadersFunction, aD as HtmlLinkDescriptor, ae as IDLE_BLOCKER, ad as IDLE_FETCHER, ac as IDLE_NAVIGATION, a2 as LazyRouteFunction, aE as LinkDescriptor, aA as MetaArgs, aB as MetaDescriptor, K as NavigationStates, aq as Navigator, aC as PageLinkDescriptor, ar as PatchRoutesOnNavigationFunction, as as PatchRoutesOnNavigationFunctionArgs, a4 as PathParam, a5 as RedirectFunction, at as RouteMatch, V as RouterFetchOptions, R as RouterInit, Q as RouterNavigateOptions, O as RouterSubscriber, a7 as ShouldRevalidateFunction, a8 as ShouldRevalidateFunctionArgs, aK as UNSAFE_DataRouterContext, aL as UNSAFE_DataRouterStateContext, Z as UNSAFE_DataWithResponseInit, aJ as UNSAFE_ErrorResponseImpl, aM as UNSAFE_FetchersContext, aN as UNSAFE_LocationContext, aO as UNSAFE_NavigationContext, aP as UNSAFE_RouteContext, aQ as UNSAFE_ViewTransitionContext, aG as UNSAFE_createBrowserHistory, aI as UNSAFE_createRouter, aH as UNSAFE_invariant, aa as createPath, af as data, ag as generatePath, ah as isRouteErrorResponse, ai as matchPath, aj as matchRoutes, ab as parsePath, ak as redirect, al as redirectDocument, am as replace, an as resolvePath, a3 as unstable_MiddlewareFunction, a6 as unstable_RouterContext, aF as unstable_SerializesTo, a9 as unstable_createContext } from './route-data-H2S3hwhf.js';
|
|
3
|
-
import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext, C as CriticalCss } from './fog-of-war-
|
|
4
|
-
export { g as Await, b as AwaitProps, T as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, w as FetcherFormProps, G as FetcherSubmitFunction, a7 as FetcherSubmitOptions, J as FetcherWithComponents, Y as Form, x as FormProps, U as HashRouter, H as HashRouterProps, s as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, V as Link, t as LinkProps, ae as Links, h as MemoryRouter, M as MemoryRouterOpts, c as MemoryRouterProps, ad as Meta, X as NavLink, u as NavLinkProps, v as NavLinkRenderProps, i as Navigate, N as NavigateProps, j as Outlet, O as OutletProps, a8 as ParamKeyValuePair, P as PathRouteProps, ag as PrefetchPageLinks, k as Route, d as RouteProps, l as Router, e as RouterProps, m as RouterProvider, R as RouterProviderProps, n as Routes, f as RoutesProps, af as Scripts, ah as ScriptsProps, Z as ScrollRestoration, S as ScrollRestorationProps, y as SetURLSearchParams, z as SubmitFunction, a9 as SubmitOptions, ab as SubmitTarget, aj as UNSAFE_FrameworkContext, am as UNSAFE_createClientRoutes, an as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, ak as UNSAFE_getPatchRoutesOnNavigationFunction, ai as UNSAFE_mapRouteProperties, ao as UNSAFE_shouldHydrateRouteLoader, al as UNSAFE_useFogOFWarDiscovery, ap as UNSAFE_useScrollRestoration, aa as URLSearchParamsInit, K as createBrowserRouter, Q as createHashRouter, o as createMemoryRouter, p as createRoutesFromChildren, q as createRoutesFromElements, ac as createSearchParams, r as renderMatches, W as unstable_HistoryRouter, a5 as unstable_usePrompt, a4 as useBeforeUnload, a2 as useFetcher, a3 as useFetchers, a1 as useFormAction, _ as useLinkClickHandler, $ as useSearchParams, a0 as useSubmit, a6 as useViewTransitionState } from './fog-of-war-
|
|
3
|
+
import { A as AssetsManifest, a as Route, F as FutureConfig, E as EntryContext, C as CriticalCss } from './fog-of-war-aN4oWtUq.js';
|
|
4
|
+
export { g as Await, b as AwaitProps, T as BrowserRouter, B as BrowserRouterProps, D as DOMRouterOpts, w as FetcherFormProps, G as FetcherSubmitFunction, a7 as FetcherSubmitOptions, J as FetcherWithComponents, Y as Form, x as FormProps, U as HashRouter, H as HashRouterProps, s as HistoryRouterProps, I as IndexRouteProps, L as LayoutRouteProps, V as Link, t as LinkProps, ae as Links, h as MemoryRouter, M as MemoryRouterOpts, c as MemoryRouterProps, ad as Meta, X as NavLink, u as NavLinkProps, v as NavLinkRenderProps, i as Navigate, N as NavigateProps, j as Outlet, O as OutletProps, a8 as ParamKeyValuePair, P as PathRouteProps, ag as PrefetchPageLinks, k as Route, d as RouteProps, l as Router, e as RouterProps, m as RouterProvider, R as RouterProviderProps, n as Routes, f as RoutesProps, af as Scripts, ah as ScriptsProps, Z as ScrollRestoration, S as ScrollRestorationProps, y as SetURLSearchParams, z as SubmitFunction, a9 as SubmitOptions, ab as SubmitTarget, aj as UNSAFE_FrameworkContext, am as UNSAFE_createClientRoutes, an as UNSAFE_createClientRoutesWithHMRRevalidationOptOut, ak as UNSAFE_getPatchRoutesOnNavigationFunction, ai as UNSAFE_mapRouteProperties, ao as UNSAFE_shouldHydrateRouteLoader, al as UNSAFE_useFogOFWarDiscovery, ap as UNSAFE_useScrollRestoration, aa as URLSearchParamsInit, K as createBrowserRouter, Q as createHashRouter, o as createMemoryRouter, p as createRoutesFromChildren, q as createRoutesFromElements, ac as createSearchParams, r as renderMatches, W as unstable_HistoryRouter, a5 as unstable_usePrompt, a4 as useBeforeUnload, a2 as useFetcher, a3 as useFetchers, a1 as useFormAction, _ as useLinkClickHandler, $ as useSearchParams, a0 as useSubmit, a6 as useViewTransitionState } from './fog-of-war-aN4oWtUq.js';
|
|
5
5
|
import * as React from 'react';
|
|
6
6
|
import { ReactElement } from 'react';
|
|
7
7
|
import { ParseOptions, SerializeOptions } from 'cookie';
|
package/dist/production/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-1f21bdfb5
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -7094,7 +7094,7 @@ var URL_LIMIT = 7680;
|
|
|
7094
7094
|
function isFogOfWarEnabled(ssr) {
|
|
7095
7095
|
return ssr === true;
|
|
7096
7096
|
}
|
|
7097
|
-
function getPartialManifest(manifest, router) {
|
|
7097
|
+
function getPartialManifest({ sri, ...manifest }, router) {
|
|
7098
7098
|
let routeIds = new Set(router.state.matches.map((m) => m.route.id));
|
|
7099
7099
|
let segments = router.state.location.pathname.split("/").filter(Boolean);
|
|
7100
7100
|
let paths = ["/"];
|
|
@@ -7115,7 +7115,8 @@ function getPartialManifest(manifest, router) {
|
|
|
7115
7115
|
);
|
|
7116
7116
|
return {
|
|
7117
7117
|
...manifest,
|
|
7118
|
-
routes: initialRoutes
|
|
7118
|
+
routes: initialRoutes,
|
|
7119
|
+
sri: true
|
|
7119
7120
|
};
|
|
7120
7121
|
}
|
|
7121
7122
|
function getPatchRoutesOnNavigationFunction(manifest, routeModules, ssr, isSpaMode, basename) {
|
|
@@ -7688,19 +7689,23 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
7688
7689
|
}
|
|
7689
7690
|
));
|
|
7690
7691
|
}, []);
|
|
7691
|
-
let preloads = isHydrated ? [] :
|
|
7692
|
-
|
|
7693
|
-
|
|
7694
|
-
|
|
7692
|
+
let preloads = isHydrated ? [] : dedupe(
|
|
7693
|
+
manifest.entry.imports.concat(
|
|
7694
|
+
getModuleLinkHrefs(matches, manifest, {
|
|
7695
|
+
includeHydrateFallback: true
|
|
7696
|
+
})
|
|
7697
|
+
)
|
|
7695
7698
|
);
|
|
7699
|
+
let sri = typeof manifest.sri === "object" ? manifest.sri : {};
|
|
7696
7700
|
return isHydrated ? null : /* @__PURE__ */ React9.createElement(React9.Fragment, null, manifest.sri ? /* @__PURE__ */ React9.createElement(
|
|
7697
7701
|
"script",
|
|
7698
7702
|
{
|
|
7699
7703
|
type: "importmap",
|
|
7704
|
+
suppressHydrationWarning: true,
|
|
7700
7705
|
dangerouslySetInnerHTML: {
|
|
7701
|
-
__html: JSON.stringify({
|
|
7702
|
-
integrity:
|
|
7703
|
-
})
|
|
7706
|
+
__html: sri ? JSON.stringify({
|
|
7707
|
+
integrity: sri
|
|
7708
|
+
}) : ""
|
|
7704
7709
|
}
|
|
7705
7710
|
}
|
|
7706
7711
|
) : null, !enableFogOfWar ? /* @__PURE__ */ React9.createElement(
|
|
@@ -7709,7 +7714,7 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
7709
7714
|
rel: "modulepreload",
|
|
7710
7715
|
href: manifest.url,
|
|
7711
7716
|
crossOrigin: props.crossOrigin,
|
|
7712
|
-
integrity:
|
|
7717
|
+
integrity: sri[manifest.url]
|
|
7713
7718
|
}
|
|
7714
7719
|
) : null, /* @__PURE__ */ React9.createElement(
|
|
7715
7720
|
"link",
|
|
@@ -7717,16 +7722,16 @@ import(${JSON.stringify(manifest.entry.module)});`;
|
|
|
7717
7722
|
rel: "modulepreload",
|
|
7718
7723
|
href: manifest.entry.module,
|
|
7719
7724
|
crossOrigin: props.crossOrigin,
|
|
7720
|
-
integrity:
|
|
7725
|
+
integrity: sri[manifest.entry.module]
|
|
7721
7726
|
}
|
|
7722
|
-
),
|
|
7727
|
+
), preloads.map((path) => /* @__PURE__ */ React9.createElement(
|
|
7723
7728
|
"link",
|
|
7724
7729
|
{
|
|
7725
7730
|
key: path,
|
|
7726
7731
|
rel: "modulepreload",
|
|
7727
7732
|
href: path,
|
|
7728
7733
|
crossOrigin: props.crossOrigin,
|
|
7729
|
-
integrity:
|
|
7734
|
+
integrity: sri[path]
|
|
7730
7735
|
}
|
|
7731
7736
|
)), initialScripts);
|
|
7732
7737
|
}
|
|
@@ -7749,7 +7754,7 @@ function mergeRefs(...refs) {
|
|
|
7749
7754
|
var isBrowser = typeof window !== "undefined" && typeof window.document !== "undefined" && typeof window.document.createElement !== "undefined";
|
|
7750
7755
|
try {
|
|
7751
7756
|
if (isBrowser) {
|
|
7752
|
-
window.__reactRouterVersion = "0.0.0-experimental-
|
|
7757
|
+
window.__reactRouterVersion = "0.0.0-experimental-1f21bdfb5";
|
|
7753
7758
|
}
|
|
7754
7759
|
} catch (e) {
|
|
7755
7760
|
}
|
|
@@ -8904,6 +8909,7 @@ function createRoutesStub(routes, unstable_getContext) {
|
|
|
8904
8909
|
if (routerRef.current == null) {
|
|
8905
8910
|
remixContextRef.current = {
|
|
8906
8911
|
future: {
|
|
8912
|
+
unstable_subResourceIntegrity: future?.unstable_subResourceIntegrity === true,
|
|
8907
8913
|
unstable_middleware: future?.unstable_middleware === true
|
|
8908
8914
|
},
|
|
8909
8915
|
manifest: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* react-router v0.0.0-experimental-
|
|
2
|
+
* react-router v0.0.0-experimental-1f21bdfb5
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Remix Software Inc.
|
|
5
5
|
*
|
|
@@ -123,7 +123,7 @@ import {
|
|
|
123
123
|
useSearchParams,
|
|
124
124
|
useSubmit,
|
|
125
125
|
useViewTransitionState
|
|
126
|
-
} from "./chunk-
|
|
126
|
+
} from "./chunk-L6QQTGYO.mjs";
|
|
127
127
|
export {
|
|
128
128
|
Await,
|
|
129
129
|
BrowserRouter,
|