@hortiview/modulebase 1.1.0 → 1.1.1-alpha.3d69639d.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/IsRestoringProvider-SzKJZczp.js +931 -0
- package/dist/{ModuleCore-U32BXXin.js → ModuleCore-DRMqZO8r.js} +1388 -1158
- package/dist/components/ModuleBase.js +1 -1
- package/dist/components/ModuleCore.js +1 -1
- package/dist/constants.js +2 -2
- package/dist/hooks/useBreadcrumbTranslation.js +13 -14
- package/dist/hooks/useCustom.js +1 -1
- package/dist/hooks/useCustomMutation.js +4 -15
- package/dist/hooks/useEntity.js +1 -1
- package/dist/hooks/useOffline.js +1 -1
- package/dist/hooks/useOption.js +1 -1
- package/dist/lib/hooks/useStores.d.ts +2 -33
- package/dist/lib/main.d.ts +2 -4
- package/dist/lib/module-router.d.ts +1 -1
- package/dist/lib/types/BaseProps.d.ts +3 -6
- package/dist/main.js +145 -149
- package/dist/module-router.js +132 -138
- package/dist/{useMutation-a0q2LJY6.js → useCustomMutation-9VUQ7NbQ.js} +40 -20
- package/dist/{useQuery-Cepqe-Ee.js → useQuery-DUDyh33-.js} +9 -10
- package/dist/utils/helper.js +1 -1
- package/package.json +1 -1
- package/dist/IsRestoringProvider-BfrdLTDw.js +0 -410
- package/dist/QueryClientProvider-Bak-4BVu.js +0 -531
- package/dist/hooks/useServiceBus.js +0 -25
- package/dist/lib/hooks/useServiceBus.d.ts +0 -19
- package/dist/lib/types/Deprecated.d.ts +0 -103
- package/dist/mutation-DztCHC7y.js +0 -237
- package/dist/types/Deprecated.js +0 -1
package/dist/module-router.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as k from "react";
|
|
2
|
-
import A, { useCallback as
|
|
3
|
-
import { useBasePropsStore as
|
|
4
|
-
import { aV as We, a0 as te, ae as
|
|
5
|
-
import { A as Er, B as Cr, F as br, H as _r, I as xr, a as kr, b as Ar, L as
|
|
6
|
-
var H = {},
|
|
2
|
+
import A, { useCallback as qe } from "react";
|
|
3
|
+
import { useBasePropsStore as Ve } from "./stores/BasePropsStore.js";
|
|
4
|
+
import { aV as We, a0 as te, ae as be, r as re, v as Xe, n as _e, aW as Je, aP as Qe, E as O, aj as xe, j as K, aX as Ke, a8 as Ge, R as Ye, aY as Ze, aZ as ke, a_ as oe, a$ as ie, b0 as G, ah as F, b1 as Ae, b2 as et, b3 as tt, a4 as rt, a5 as at, a3 as nt, O as st, U as ot, x as I, am as it, ao as lt, al as ut, b4 as j, b5 as dt, b6 as le, b7 as ct, b8 as ae, b9 as L, ba as ft, bb as ht, bc as pt } from "./chunk-EVOBXE3Y-BoyVF_Ri.js";
|
|
5
|
+
import { A as Er, B as Cr, F as br, H as _r, I as xr, a as kr, b as Ar, L as Dr, d as Tr, M as Hr, e as Pr, N as Fr, f as Ur, g as Lr, P as Nr, h as Or, i as Ir, k as Br, S as Mr, l as $r, m as zr, o as jr, D as qr, p as Vr, q as Wr, s as Xr, t as Jr, w as Qr, V as Kr, W as Gr, y as Yr, z as Zr, C as ea, G as ta, J as ra, K as aa, Q as na, T as sa, X as oa, Y as ia, Z as la, _ as ua, $ as da, a1 as ca, a2 as fa, c as ha, a6 as pa, a7 as ma, a9 as ya, aa as wa, ab as ga, ac as Ra, ad as Sa, af as va, ag as Ea, ai as Ca, ak as ba, an as _a, ap as xa, aq as ka, ar as Aa, as as Da, at as Ta, au as Ha, av as Pa, aw as Fa, ax as Ua, ay as La, az as Na, aA as Oa, aB as Ia, aC as Ba, aD as Ma, aE as $a, aF as za, aG as ja, aH as qa, aI as Va, aJ as Wa, aK as Xa, aL as Ja, aM as Qa, aN as Ka, aO as Ga, aQ as Ya, aR as Za, aS as en, aT as tn, aU as rn } from "./chunk-EVOBXE3Y-BoyVF_Ri.js";
|
|
6
|
+
var H = {}, ue;
|
|
7
7
|
function mt() {
|
|
8
|
-
if (
|
|
9
|
-
|
|
8
|
+
if (ue) return H;
|
|
9
|
+
ue = 1, Object.defineProperty(H, "__esModule", { value: !0 }), H.parseCookie = u, H.parse = u, H.stringifyCookie = s, H.stringifySetCookie = i, H.serialize = i, H.parseSetCookie = l, H.stringifySetCookie = i, H.serialize = i;
|
|
10
10
|
const e = /^[\u0021-\u003A\u003C\u003E-\u007E]+$/, t = /^[\u0021-\u003A\u003C-\u007E]*$/, r = /^([.]?[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)([.][a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?)*$/i, a = /^[\u0020-\u003A\u003D-\u007E]*$/, n = /^-?\d+$/, o = Object.prototype.toString, c = /* @__PURE__ */ (() => {
|
|
11
11
|
const f = function() {
|
|
12
12
|
};
|
|
@@ -136,14 +136,14 @@ function mt() {
|
|
|
136
136
|
case "expires":
|
|
137
137
|
if (!E)
|
|
138
138
|
break;
|
|
139
|
-
const
|
|
140
|
-
Number.isFinite(
|
|
139
|
+
const D = new Date(E);
|
|
140
|
+
Number.isFinite(D.valueOf()) && (b.expires = D);
|
|
141
141
|
break;
|
|
142
142
|
case "priority":
|
|
143
143
|
if (!E)
|
|
144
144
|
break;
|
|
145
|
-
const
|
|
146
|
-
(
|
|
145
|
+
const T = E.toLowerCase();
|
|
146
|
+
(T === "low" || T === "medium" || T === "high") && (b.priority = T);
|
|
147
147
|
break;
|
|
148
148
|
case "samesite":
|
|
149
149
|
if (!E)
|
|
@@ -193,10 +193,10 @@ function mt() {
|
|
|
193
193
|
}
|
|
194
194
|
return H;
|
|
195
195
|
}
|
|
196
|
-
var
|
|
196
|
+
var de = /* @__PURE__ */ mt(), N = { exports: {} }, ce;
|
|
197
197
|
function yt() {
|
|
198
|
-
if (
|
|
199
|
-
|
|
198
|
+
if (ce) return N.exports;
|
|
199
|
+
ce = 1;
|
|
200
200
|
var e = {
|
|
201
201
|
decodeValues: !0,
|
|
202
202
|
map: !1,
|
|
@@ -321,7 +321,7 @@ function or({
|
|
|
321
321
|
e.isSpaMode
|
|
322
322
|
) && (h.HydrateFallback || !p.hasLoader) && delete e.staticHandlerContext.loaderData[l];
|
|
323
323
|
}
|
|
324
|
-
let s =
|
|
324
|
+
let s = be(u, e.staticHandlerContext);
|
|
325
325
|
return /* @__PURE__ */ k.createElement(k.Fragment, null, /* @__PURE__ */ k.createElement(
|
|
326
326
|
re.Provider,
|
|
327
327
|
{
|
|
@@ -339,7 +339,7 @@ function or({
|
|
|
339
339
|
}
|
|
340
340
|
},
|
|
341
341
|
/* @__PURE__ */ k.createElement(Xe, { location: s.state.location }, /* @__PURE__ */ k.createElement(
|
|
342
|
-
|
|
342
|
+
_e,
|
|
343
343
|
{
|
|
344
344
|
router: s,
|
|
345
345
|
context: e.staticHandlerContext,
|
|
@@ -462,20 +462,20 @@ function De(e, t, r, a, n) {
|
|
|
462
462
|
});
|
|
463
463
|
}
|
|
464
464
|
var ne = /* @__PURE__ */ new TextEncoder(), gt = async (e, t) => {
|
|
465
|
-
let r = ne.encode(e), a = await
|
|
465
|
+
let r = ne.encode(e), a = await Te(t, ["sign"]), n = await crypto.subtle.sign("HMAC", a, r), o = btoa(String.fromCharCode(...new Uint8Array(n))).replace(
|
|
466
466
|
/=+$/,
|
|
467
467
|
""
|
|
468
468
|
);
|
|
469
469
|
return e + "." + o;
|
|
470
470
|
}, Rt = async (e, t) => {
|
|
471
|
-
let r = e.lastIndexOf("."), a = e.slice(0, r), n = e.slice(r + 1), o = ne.encode(a), c = await
|
|
471
|
+
let r = e.lastIndexOf("."), a = e.slice(0, r), n = e.slice(r + 1), o = ne.encode(a), c = await Te(t, ["verify"]);
|
|
472
472
|
try {
|
|
473
473
|
let u = St(atob(n));
|
|
474
474
|
return await crypto.subtle.verify("HMAC", c, u, o) ? a : !1;
|
|
475
475
|
} catch {
|
|
476
476
|
return !1;
|
|
477
477
|
}
|
|
478
|
-
},
|
|
478
|
+
}, Te = async (e, t) => crypto.subtle.importKey(
|
|
479
479
|
"raw",
|
|
480
480
|
ne.encode(e),
|
|
481
481
|
{ name: "HMAC", hash: "SHA-256" },
|
|
@@ -488,7 +488,7 @@ function St(e) {
|
|
|
488
488
|
t[r] = e.charCodeAt(r);
|
|
489
489
|
return t;
|
|
490
490
|
}
|
|
491
|
-
var
|
|
491
|
+
var He = (e, t = {}) => {
|
|
492
492
|
let { secrets: r = [], ...a } = {
|
|
493
493
|
path: "/",
|
|
494
494
|
sameSite: "lax",
|
|
@@ -506,7 +506,7 @@ var Pe = (e, t = {}) => {
|
|
|
506
506
|
},
|
|
507
507
|
async parse(n, o) {
|
|
508
508
|
if (!n) return null;
|
|
509
|
-
let c =
|
|
509
|
+
let c = de.parse(n, { ...a, ...o });
|
|
510
510
|
if (e in c) {
|
|
511
511
|
let u = c[e];
|
|
512
512
|
return typeof u == "string" && u !== "" ? await Et(u, r) : "";
|
|
@@ -514,7 +514,7 @@ var Pe = (e, t = {}) => {
|
|
|
514
514
|
return null;
|
|
515
515
|
},
|
|
516
516
|
async serialize(n, o) {
|
|
517
|
-
return
|
|
517
|
+
return de.serialize(
|
|
518
518
|
e,
|
|
519
519
|
n === "" ? "" : await vt(n, r),
|
|
520
520
|
{
|
|
@@ -524,7 +524,7 @@ var Pe = (e, t = {}) => {
|
|
|
524
524
|
);
|
|
525
525
|
}
|
|
526
526
|
};
|
|
527
|
-
},
|
|
527
|
+
}, Pe = (e) => e != null && typeof e.name == "string" && typeof e.isSigned == "boolean" && typeof e.parse == "function" && typeof e.serialize == "function";
|
|
528
528
|
async function vt(e, t) {
|
|
529
529
|
let r = Ct(e);
|
|
530
530
|
return t.length > 0 && (r = await gt(r, t[0])), r;
|
|
@@ -534,16 +534,16 @@ async function Et(e, t) {
|
|
|
534
534
|
for (let r of t) {
|
|
535
535
|
let a = await Rt(e, r);
|
|
536
536
|
if (a !== !1)
|
|
537
|
-
return
|
|
537
|
+
return fe(a);
|
|
538
538
|
}
|
|
539
539
|
return null;
|
|
540
540
|
}
|
|
541
|
-
return
|
|
541
|
+
return fe(e);
|
|
542
542
|
}
|
|
543
543
|
function Ct(e) {
|
|
544
544
|
return btoa(_t(encodeURIComponent(JSON.stringify(e))));
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function fe(e) {
|
|
547
547
|
try {
|
|
548
548
|
return JSON.parse(decodeURIComponent(bt(atob(e))));
|
|
549
549
|
} catch {
|
|
@@ -553,10 +553,10 @@ function he(e) {
|
|
|
553
553
|
function bt(e) {
|
|
554
554
|
let t = e.toString(), r = "", a = 0, n, o;
|
|
555
555
|
for (; a < t.length; )
|
|
556
|
-
n = t.charAt(a++), /[\w*+\-./@]/.exec(n) ? r += n : (o = n.charCodeAt(0), o < 256 ? r += "%" +
|
|
556
|
+
n = t.charAt(a++), /[\w*+\-./@]/.exec(n) ? r += n : (o = n.charCodeAt(0), o < 256 ? r += "%" + he(o, 2) : r += "%u" + he(o, 4).toUpperCase());
|
|
557
557
|
return r;
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function he(e, t) {
|
|
560
560
|
let r = e.toString(16);
|
|
561
561
|
for (; r.length < t; ) r = "0" + r;
|
|
562
562
|
return r;
|
|
@@ -580,7 +580,7 @@ function _t(e) {
|
|
|
580
580
|
return r;
|
|
581
581
|
}
|
|
582
582
|
function xt(e, t) {
|
|
583
|
-
|
|
583
|
+
Ae(
|
|
584
584
|
!t,
|
|
585
585
|
`The "${e}" 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.`
|
|
586
586
|
);
|
|
@@ -592,7 +592,7 @@ function kt(e) {
|
|
|
592
592
|
}, {});
|
|
593
593
|
}
|
|
594
594
|
var At = /* @__PURE__ */ ((e) => (e.Development = "development", e.Production = "production", e.Test = "test", e))(At || {});
|
|
595
|
-
function
|
|
595
|
+
function Dt(e) {
|
|
596
596
|
return e === "development" || e === "production" || e === "test";
|
|
597
597
|
}
|
|
598
598
|
function W(e, t) {
|
|
@@ -605,14 +605,14 @@ function W(e, t) {
|
|
|
605
605
|
function q(e, t) {
|
|
606
606
|
return Object.entries(e).reduce((r, [a, n]) => Object.assign(r, { [a]: W(n, t) }), {});
|
|
607
607
|
}
|
|
608
|
-
function
|
|
608
|
+
function Fe(e, t) {
|
|
609
609
|
let r = W(e, t);
|
|
610
610
|
return {
|
|
611
611
|
message: r.message,
|
|
612
612
|
stack: r.stack
|
|
613
613
|
};
|
|
614
614
|
}
|
|
615
|
-
function
|
|
615
|
+
function pe(e, t) {
|
|
616
616
|
if (!e) return null;
|
|
617
617
|
let r = Object.entries(e), a = {};
|
|
618
618
|
for (let [n, o] of r)
|
|
@@ -637,7 +637,7 @@ function me(e, t) {
|
|
|
637
637
|
return a;
|
|
638
638
|
}
|
|
639
639
|
function Y(e, t, r) {
|
|
640
|
-
let a =
|
|
640
|
+
let a = xe(
|
|
641
641
|
e,
|
|
642
642
|
t,
|
|
643
643
|
r
|
|
@@ -648,9 +648,9 @@ function Y(e, t, r) {
|
|
|
648
648
|
route: n.route
|
|
649
649
|
})) : null;
|
|
650
650
|
}
|
|
651
|
-
async function
|
|
651
|
+
async function me(e, t, r) {
|
|
652
652
|
let a = await e({
|
|
653
|
-
request: r.unstable_passThroughRequests ? t.request : Ht(
|
|
653
|
+
request: r.unstable_passThroughRequests ? t.request : Ht(Tt(t.request)),
|
|
654
654
|
unstable_url: t.unstable_url,
|
|
655
655
|
params: t.params,
|
|
656
656
|
context: t.context,
|
|
@@ -660,7 +660,7 @@ async function ye(e, t, r) {
|
|
|
660
660
|
throw new Response(null, a.init);
|
|
661
661
|
return a;
|
|
662
662
|
}
|
|
663
|
-
function
|
|
663
|
+
function Tt(e) {
|
|
664
664
|
let t = new URL(e.url), r = t.searchParams.getAll("index");
|
|
665
665
|
t.searchParams.delete("index");
|
|
666
666
|
let a = [];
|
|
@@ -693,14 +693,14 @@ function z(e, t) {
|
|
|
693
693
|
"The following error is a bug in React Router; please open an issue! https://github.com/remix-run/react-router/issues/new/choose"
|
|
694
694
|
), new Error(t);
|
|
695
695
|
}
|
|
696
|
-
var
|
|
696
|
+
var Ue = "__reactRouterDevServerHooks";
|
|
697
697
|
function lr(e) {
|
|
698
|
-
globalThis[
|
|
698
|
+
globalThis[Ue] = e;
|
|
699
699
|
}
|
|
700
700
|
function X() {
|
|
701
|
-
return globalThis[
|
|
701
|
+
return globalThis[Ue];
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function Le(e, t) {
|
|
704
704
|
if (typeof process < "u")
|
|
705
705
|
try {
|
|
706
706
|
if (process.env.hasOwnProperty("IS_RR_BUILD_REQUEST") && process.env.IS_RR_BUILD_REQUEST === "yes")
|
|
@@ -709,7 +709,7 @@ function Ne(e, t) {
|
|
|
709
709
|
}
|
|
710
710
|
return null;
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function Ne(e) {
|
|
713
713
|
let t = {};
|
|
714
714
|
return Object.values(e).forEach((r) => {
|
|
715
715
|
if (r) {
|
|
@@ -718,13 +718,13 @@ function Oe(e) {
|
|
|
718
718
|
}
|
|
719
719
|
}), t;
|
|
720
720
|
}
|
|
721
|
-
function
|
|
721
|
+
function Oe(e, t = "", r = Ne(e)) {
|
|
722
722
|
return (r[t] || []).map((a) => ({
|
|
723
723
|
...a,
|
|
724
|
-
children:
|
|
724
|
+
children: Oe(e, a.id, r)
|
|
725
725
|
}));
|
|
726
726
|
}
|
|
727
|
-
function
|
|
727
|
+
function Ie(e, t, r = "", a = Ne(e)) {
|
|
728
728
|
return (a[r] || []).map((n) => {
|
|
729
729
|
let o = {
|
|
730
730
|
// Always include root due to default boundaries
|
|
@@ -735,7 +735,7 @@ function Be(e, t, r = "", a = Oe(e)) {
|
|
|
735
735
|
// Need to use RR's version in the param typed here to permit the optional
|
|
736
736
|
// context even though we know it'll always be provided in remix
|
|
737
737
|
loader: n.module.loader ? async (c) => {
|
|
738
|
-
let u =
|
|
738
|
+
let u = Le(
|
|
739
739
|
c.request,
|
|
740
740
|
"X-React-Router-Prerender-Data"
|
|
741
741
|
);
|
|
@@ -762,13 +762,13 @@ function Be(e, t, r = "", a = Oe(e)) {
|
|
|
762
762
|
), y.data;
|
|
763
763
|
}
|
|
764
764
|
}
|
|
765
|
-
return await
|
|
765
|
+
return await me(
|
|
766
766
|
n.module.loader,
|
|
767
767
|
c,
|
|
768
768
|
t
|
|
769
769
|
);
|
|
770
770
|
} : void 0,
|
|
771
|
-
action: n.module.action ? (c) =>
|
|
771
|
+
action: n.module.action ? (c) => me(n.module.action, c, t) : void 0,
|
|
772
772
|
handle: n.module.handle
|
|
773
773
|
};
|
|
774
774
|
return n.index ? {
|
|
@@ -776,7 +776,7 @@ function Be(e, t, r = "", a = Oe(e)) {
|
|
|
776
776
|
...o
|
|
777
777
|
} : {
|
|
778
778
|
caseSensitive: n.caseSensitive,
|
|
779
|
-
children:
|
|
779
|
+
children: Ie(
|
|
780
780
|
e,
|
|
781
781
|
t,
|
|
782
782
|
n.id,
|
|
@@ -786,7 +786,7 @@ function Be(e, t, r = "", a = Oe(e)) {
|
|
|
786
786
|
};
|
|
787
787
|
});
|
|
788
788
|
}
|
|
789
|
-
function
|
|
789
|
+
function ye(e) {
|
|
790
790
|
return G(JSON.stringify(e));
|
|
791
791
|
}
|
|
792
792
|
function se(e, t) {
|
|
@@ -831,7 +831,7 @@ function U(e, t) {
|
|
|
831
831
|
});
|
|
832
832
|
}
|
|
833
833
|
}
|
|
834
|
-
function
|
|
834
|
+
function Be(e, t) {
|
|
835
835
|
let r = e.get("origin"), a = null;
|
|
836
836
|
try {
|
|
837
837
|
a = typeof r == "string" && r !== "null" ? new URL(r).host : r;
|
|
@@ -900,14 +900,14 @@ function M(e, t, r) {
|
|
|
900
900
|
hash: ""
|
|
901
901
|
};
|
|
902
902
|
}
|
|
903
|
-
var
|
|
903
|
+
var Me = /* @__PURE__ */ new Set([
|
|
904
904
|
...ht,
|
|
905
905
|
304
|
|
906
906
|
]);
|
|
907
907
|
async function Nt(e, t, r, a, n, o, c) {
|
|
908
908
|
try {
|
|
909
909
|
try {
|
|
910
|
-
|
|
910
|
+
Be(
|
|
911
911
|
a.headers,
|
|
912
912
|
Array.isArray(e.allowedActionOrigins) ? e.allowedActionOrigins : []
|
|
913
913
|
);
|
|
@@ -1029,7 +1029,7 @@ function B(e, t, r, {
|
|
|
1029
1029
|
status: o
|
|
1030
1030
|
}) {
|
|
1031
1031
|
let c = new Headers(n);
|
|
1032
|
-
return c.set("X-Remix-Response", "yes"),
|
|
1032
|
+
return c.set("X-Remix-Response", "yes"), Me.has(o) ? new Response(null, { status: o, headers: c }) : (c.set("Content-Type", "text/x-script"), c.delete("Content-Length"), new Response(
|
|
1033
1033
|
Z(
|
|
1034
1034
|
a,
|
|
1035
1035
|
e.signal,
|
|
@@ -1042,7 +1042,7 @@ function B(e, t, r, {
|
|
|
1042
1042
|
}
|
|
1043
1043
|
));
|
|
1044
1044
|
}
|
|
1045
|
-
function
|
|
1045
|
+
function we(e, t, r, a) {
|
|
1046
1046
|
let n = It(
|
|
1047
1047
|
e.status,
|
|
1048
1048
|
e.headers,
|
|
@@ -1051,7 +1051,7 @@ function ge(e, t, r, a) {
|
|
|
1051
1051
|
return o.delete("Location"), o.set("Content-Type", "text/x-script"), B(t, r, a, {
|
|
1052
1052
|
result: t.method === "GET" ? { [I]: n } : n,
|
|
1053
1053
|
headers: o,
|
|
1054
|
-
status:
|
|
1054
|
+
status: ke
|
|
1055
1055
|
});
|
|
1056
1056
|
}
|
|
1057
1057
|
function It(e, t, r) {
|
|
@@ -1115,8 +1115,8 @@ function Z(e, t, r, a) {
|
|
|
1115
1115
|
]
|
|
1116
1116
|
});
|
|
1117
1117
|
}
|
|
1118
|
-
function
|
|
1119
|
-
let r =
|
|
1118
|
+
function ge(e, t) {
|
|
1119
|
+
let r = Oe(e.routes), a = Ie(e.routes, e.future), n = Dt(t) ? t : "production", o = et(a, {
|
|
1120
1120
|
basename: e.basename,
|
|
1121
1121
|
unstable_instrumentations: e.entry.module.unstable_instrumentations
|
|
1122
1122
|
}), c = e.entry.module.handleError || ((s, { request: i }) => {
|
|
@@ -1146,7 +1146,7 @@ function Re(e, t) {
|
|
|
1146
1146
|
s,
|
|
1147
1147
|
e.basename,
|
|
1148
1148
|
e.future
|
|
1149
|
-
).pathname, R =
|
|
1149
|
+
).pathname, R = Le(s, "X-React-Router-SPA-Mode") === "yes";
|
|
1150
1150
|
if (!e.ssr) {
|
|
1151
1151
|
let d = decodeURI(y);
|
|
1152
1152
|
if (e.basename && e.basename !== "/") {
|
|
@@ -1218,7 +1218,7 @@ function Re(e, t) {
|
|
|
1218
1218
|
y,
|
|
1219
1219
|
h,
|
|
1220
1220
|
p
|
|
1221
|
-
),
|
|
1221
|
+
), le(m) && (m = we(
|
|
1222
1222
|
m,
|
|
1223
1223
|
s,
|
|
1224
1224
|
e,
|
|
@@ -1227,7 +1227,7 @@ function Re(e, t) {
|
|
|
1227
1227
|
context: h,
|
|
1228
1228
|
params: d ? d[0].params : {},
|
|
1229
1229
|
request: s
|
|
1230
|
-
}),
|
|
1230
|
+
}), le(m) && (m = we(
|
|
1231
1231
|
m,
|
|
1232
1232
|
s,
|
|
1233
1233
|
e,
|
|
@@ -1278,10 +1278,10 @@ var ur = (e, t) => {
|
|
|
1278
1278
|
let r, a, n, o, c, u;
|
|
1279
1279
|
return async function(i, l) {
|
|
1280
1280
|
if (r = typeof e == "function" ? await e() : e, typeof e == "function") {
|
|
1281
|
-
let h =
|
|
1281
|
+
let h = ge(r, t);
|
|
1282
1282
|
a = h.routes, n = h.serverMode, o = h.staticHandler, c = h.errorHandler, u = h.requestHandler;
|
|
1283
1283
|
} else if (!a || !n || !o || !c || !u) {
|
|
1284
|
-
let h =
|
|
1284
|
+
let h = ge(r, t);
|
|
1285
1285
|
a = h.routes, n = h.serverMode, o = h.staticHandler, c = h.errorHandler, u = h.requestHandler;
|
|
1286
1286
|
}
|
|
1287
1287
|
return u(i, l);
|
|
@@ -1346,7 +1346,7 @@ async function $t(e, t, r, a, n, o, c, u) {
|
|
|
1346
1346
|
try {
|
|
1347
1347
|
if (a.method === "POST")
|
|
1348
1348
|
try {
|
|
1349
|
-
|
|
1349
|
+
Be(
|
|
1350
1350
|
a.headers,
|
|
1351
1351
|
Array.isArray(t.allowedActionOrigins) ? t.allowedActionOrigins : []
|
|
1352
1352
|
);
|
|
@@ -1371,7 +1371,7 @@ async function $t(e, t, r, a, n, o, c, u) {
|
|
|
1371
1371
|
}
|
|
1372
1372
|
async function s(i, l) {
|
|
1373
1373
|
let h = se(i, t);
|
|
1374
|
-
if (
|
|
1374
|
+
if (Me.has(i.statusCode))
|
|
1375
1375
|
return new Response(null, { status: i.statusCode, headers: h });
|
|
1376
1376
|
i.errors && (Object.values(i.errors).forEach((f) => {
|
|
1377
1377
|
(!F(f) || f.error) && o(f);
|
|
@@ -1379,7 +1379,7 @@ async function $t(e, t, r, a, n, o, c, u) {
|
|
|
1379
1379
|
let p = {
|
|
1380
1380
|
loaderData: i.loaderData,
|
|
1381
1381
|
actionData: i.actionData,
|
|
1382
|
-
errors:
|
|
1382
|
+
errors: pe(i.errors, e)
|
|
1383
1383
|
}, w = {
|
|
1384
1384
|
basename: t.basename,
|
|
1385
1385
|
future: t.future,
|
|
@@ -1391,7 +1391,7 @@ async function $t(e, t, r, a, n, o, c, u) {
|
|
|
1391
1391
|
routeModules: kt(t.routes),
|
|
1392
1392
|
staticHandlerContext: i,
|
|
1393
1393
|
criticalCss: u,
|
|
1394
|
-
serverHandoffString:
|
|
1394
|
+
serverHandoffString: ye({
|
|
1395
1395
|
...w,
|
|
1396
1396
|
criticalCss: u
|
|
1397
1397
|
}),
|
|
@@ -1406,7 +1406,7 @@ async function $t(e, t, r, a, n, o, c, u) {
|
|
|
1406
1406
|
ssr: t.ssr,
|
|
1407
1407
|
routeDiscovery: t.routeDiscovery,
|
|
1408
1408
|
isSpaMode: l,
|
|
1409
|
-
serializeError: (f) =>
|
|
1409
|
+
serializeError: (f) => Fe(f, e)
|
|
1410
1410
|
}, R = t.entry.module.default;
|
|
1411
1411
|
try {
|
|
1412
1412
|
return await R(
|
|
@@ -1437,12 +1437,12 @@ async function $t(e, t, r, a, n, o, c, u) {
|
|
|
1437
1437
|
let m = {
|
|
1438
1438
|
loaderData: i.loaderData,
|
|
1439
1439
|
actionData: i.actionData,
|
|
1440
|
-
errors:
|
|
1440
|
+
errors: pe(i.errors, e)
|
|
1441
1441
|
};
|
|
1442
1442
|
y = {
|
|
1443
1443
|
...y,
|
|
1444
1444
|
staticHandlerContext: i,
|
|
1445
|
-
serverHandoffString:
|
|
1445
|
+
serverHandoffString: ye(w),
|
|
1446
1446
|
serverHandoffStream: Z(
|
|
1447
1447
|
m,
|
|
1448
1448
|
a.signal,
|
|
@@ -1503,7 +1503,7 @@ async function zt(e, t, r, a, n, o, c) {
|
|
|
1503
1503
|
}
|
|
1504
1504
|
function jt(e, t) {
|
|
1505
1505
|
return Response.json(
|
|
1506
|
-
|
|
1506
|
+
Fe(
|
|
1507
1507
|
// @ts-expect-error This is "private" from users but intended for internal use
|
|
1508
1508
|
e.error || new Error("Unexpected Server Error"),
|
|
1509
1509
|
t
|
|
@@ -1532,7 +1532,7 @@ function qt(e) {
|
|
|
1532
1532
|
function J(e) {
|
|
1533
1533
|
return `__flash_${e}__`;
|
|
1534
1534
|
}
|
|
1535
|
-
var
|
|
1535
|
+
var $e = (e = {}, t = "") => {
|
|
1536
1536
|
let r = new Map(Object.entries(e));
|
|
1537
1537
|
return {
|
|
1538
1538
|
get id() {
|
|
@@ -1570,11 +1570,11 @@ function Vt({
|
|
|
1570
1570
|
updateData: a,
|
|
1571
1571
|
deleteData: n
|
|
1572
1572
|
}) {
|
|
1573
|
-
let o =
|
|
1574
|
-
return
|
|
1573
|
+
let o = Pe(e) ? e : He(e?.name || "__session", e);
|
|
1574
|
+
return ze(o), {
|
|
1575
1575
|
async getSession(c, u) {
|
|
1576
1576
|
let s = c && await o.parse(c, u), i = s && await r(s);
|
|
1577
|
-
return
|
|
1577
|
+
return $e(i || {}, s || "");
|
|
1578
1578
|
},
|
|
1579
1579
|
async commitSession(c, u) {
|
|
1580
1580
|
let { id: s, data: i } = c, l = u?.maxAge != null ? new Date(Date.now() + u.maxAge * 1e3) : u?.expires != null ? u.expires : o.expires;
|
|
@@ -1589,17 +1589,17 @@ function Vt({
|
|
|
1589
1589
|
}
|
|
1590
1590
|
};
|
|
1591
1591
|
}
|
|
1592
|
-
function
|
|
1593
|
-
|
|
1592
|
+
function ze(e) {
|
|
1593
|
+
Ae(
|
|
1594
1594
|
e.isSigned,
|
|
1595
1595
|
`The "${e.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.`
|
|
1596
1596
|
);
|
|
1597
1597
|
}
|
|
1598
1598
|
function cr({ cookie: e } = {}) {
|
|
1599
|
-
let t =
|
|
1600
|
-
return
|
|
1599
|
+
let t = Pe(e) ? e : He(e?.name || "__session", e);
|
|
1600
|
+
return ze(t), {
|
|
1601
1601
|
async getSession(r, a) {
|
|
1602
|
-
return
|
|
1602
|
+
return $e(
|
|
1603
1603
|
r && await t.parse(r, a) || {}
|
|
1604
1604
|
);
|
|
1605
1605
|
},
|
|
@@ -1671,15 +1671,15 @@ function Wt(e) {
|
|
|
1671
1671
|
;
|
|
1672
1672
|
return e.slice(0, t + 1);
|
|
1673
1673
|
}
|
|
1674
|
-
var ee = new TextEncoder(),
|
|
1675
|
-
function
|
|
1674
|
+
var ee = new TextEncoder(), Re = "</body></html>";
|
|
1675
|
+
function Se(e) {
|
|
1676
1676
|
let t = new TextDecoder(), r, a = new Promise(
|
|
1677
1677
|
(s) => r = s
|
|
1678
1678
|
), n = !1, o = [], c = null;
|
|
1679
1679
|
function u(s) {
|
|
1680
1680
|
for (let i of o) {
|
|
1681
1681
|
let l = t.decode(i, { stream: !0 });
|
|
1682
|
-
l.endsWith(
|
|
1682
|
+
l.endsWith(Re) && (l = l.slice(0, -Re.length)), s.enqueue(ee.encode(l));
|
|
1683
1683
|
}
|
|
1684
1684
|
o.length = 0, c = null;
|
|
1685
1685
|
}
|
|
@@ -1744,7 +1744,7 @@ var Qt = class extends A.Component {
|
|
|
1744
1744
|
}
|
|
1745
1745
|
render() {
|
|
1746
1746
|
return this.state.error ? /* @__PURE__ */ A.createElement(
|
|
1747
|
-
|
|
1747
|
+
je,
|
|
1748
1748
|
{
|
|
1749
1749
|
error: this.state.error,
|
|
1750
1750
|
renderAppShell: !0
|
|
@@ -1752,7 +1752,7 @@ var Qt = class extends A.Component {
|
|
|
1752
1752
|
) : this.props.children;
|
|
1753
1753
|
}
|
|
1754
1754
|
};
|
|
1755
|
-
function
|
|
1755
|
+
function ve({
|
|
1756
1756
|
renderAppShell: e,
|
|
1757
1757
|
title: t,
|
|
1758
1758
|
children: r
|
|
@@ -1765,7 +1765,7 @@ function Ee({
|
|
|
1765
1765
|
}
|
|
1766
1766
|
), /* @__PURE__ */ A.createElement("title", null, t)), /* @__PURE__ */ A.createElement("body", null, /* @__PURE__ */ A.createElement("main", { style: { fontFamily: "system-ui, sans-serif", padding: "2rem" } }, r))) : r;
|
|
1767
1767
|
}
|
|
1768
|
-
function
|
|
1768
|
+
function je({
|
|
1769
1769
|
error: e,
|
|
1770
1770
|
renderAppShell: t
|
|
1771
1771
|
}) {
|
|
@@ -1784,7 +1784,7 @@ function qe({
|
|
|
1784
1784
|
);
|
|
1785
1785
|
if (F(e))
|
|
1786
1786
|
return /* @__PURE__ */ A.createElement(
|
|
1787
|
-
|
|
1787
|
+
ve,
|
|
1788
1788
|
{
|
|
1789
1789
|
renderAppShell: t,
|
|
1790
1790
|
title: "Unhandled Thrown Response!"
|
|
@@ -1799,7 +1799,7 @@ function qe({
|
|
|
1799
1799
|
let n = e == null ? "Unknown Error" : typeof e == "object" && "toString" in e ? e.toString() : JSON.stringify(e);
|
|
1800
1800
|
a = new Error(n);
|
|
1801
1801
|
}
|
|
1802
|
-
return /* @__PURE__ */ A.createElement(
|
|
1802
|
+
return /* @__PURE__ */ A.createElement(ve, { renderAppShell: t, title: "Application Error!" }, /* @__PURE__ */ A.createElement("h1", { style: { fontSize: "24px" } }, "Application Error"), /* @__PURE__ */ A.createElement(
|
|
1803
1803
|
"pre",
|
|
1804
1804
|
{
|
|
1805
1805
|
style: {
|
|
@@ -1819,7 +1819,7 @@ function pr({
|
|
|
1819
1819
|
if (e === void 0)
|
|
1820
1820
|
throw new Error("Missing 'hasRootLayout' prop");
|
|
1821
1821
|
return /* @__PURE__ */ A.createElement(
|
|
1822
|
-
|
|
1822
|
+
je,
|
|
1823
1823
|
{
|
|
1824
1824
|
renderAppShell: !e,
|
|
1825
1825
|
error: t
|
|
@@ -1841,10 +1841,10 @@ function Gt(e, t) {
|
|
|
1841
1841
|
default: Yt
|
|
1842
1842
|
};
|
|
1843
1843
|
}
|
|
1844
|
-
var Yt = () => null,
|
|
1844
|
+
var Yt = () => null, Ee = "/__manifest", Zt = "use", Ce = k[Zt];
|
|
1845
1845
|
function er(e) {
|
|
1846
|
-
if (
|
|
1847
|
-
return
|
|
1846
|
+
if (Ce)
|
|
1847
|
+
return Ce(e);
|
|
1848
1848
|
throw new Error("React Router v7 requires React 19+ for RSC features.");
|
|
1849
1849
|
}
|
|
1850
1850
|
async function mr({
|
|
@@ -1908,7 +1908,7 @@ async function mr({
|
|
|
1908
1908
|
const m = await r(
|
|
1909
1909
|
s.body
|
|
1910
1910
|
);
|
|
1911
|
-
if (t.status ===
|
|
1911
|
+
if (t.status === ke && m.type === "redirect") {
|
|
1912
1912
|
const _ = new Headers(t.headers);
|
|
1913
1913
|
return _.delete("Content-Encoding"), _.delete("Content-Length"), _.delete("Content-Type"), _.delete("X-Remix-Response"), _.set("Location", m.location), new Response(i?.body || "", {
|
|
1914
1914
|
headers: _,
|
|
@@ -1919,16 +1919,16 @@ async function mr({
|
|
|
1919
1919
|
let d = new Headers(), S = t.status, C = t.statusText, b = await a(R, {
|
|
1920
1920
|
onError(_) {
|
|
1921
1921
|
if (typeof _ == "object" && _ && "digest" in _ && typeof _.digest == "string") {
|
|
1922
|
-
if (f =
|
|
1922
|
+
if (f = oe(_.digest), f)
|
|
1923
1923
|
return _.digest;
|
|
1924
|
-
let E =
|
|
1924
|
+
let E = ie(_.digest);
|
|
1925
1925
|
if (E)
|
|
1926
1926
|
return g = E, S = E.status, C = E.statusText, _.digest;
|
|
1927
1927
|
}
|
|
1928
1928
|
},
|
|
1929
1929
|
onHeaders(_) {
|
|
1930
|
-
for (const [E,
|
|
1931
|
-
d.append(E,
|
|
1930
|
+
for (const [E, D] of _)
|
|
1931
|
+
d.append(E, D);
|
|
1932
1932
|
}
|
|
1933
1933
|
});
|
|
1934
1934
|
const v = new Headers(d);
|
|
@@ -1956,7 +1956,7 @@ async function mr({
|
|
|
1956
1956
|
});
|
|
1957
1957
|
if (!i?.body)
|
|
1958
1958
|
throw new Error("Failed to clone server response");
|
|
1959
|
-
const P = b.pipeThrough(
|
|
1959
|
+
const P = b.pipeThrough(Se(i.body)).pipeThrough(x);
|
|
1960
1960
|
return new Response(P, {
|
|
1961
1961
|
status: S,
|
|
1962
1962
|
statusText: C,
|
|
@@ -1977,29 +1977,29 @@ async function mr({
|
|
|
1977
1977
|
let [d, S] = F(m) ? [m.status, m.statusText] : [500, ""], C, b = new Headers();
|
|
1978
1978
|
const v = await a(
|
|
1979
1979
|
() => {
|
|
1980
|
-
const
|
|
1980
|
+
const D = Promise.resolve(
|
|
1981
1981
|
r(w())
|
|
1982
1982
|
).then(
|
|
1983
|
-
(
|
|
1983
|
+
(T) => Object.assign(T, {
|
|
1984
1984
|
status: d,
|
|
1985
1985
|
errors: y ? {
|
|
1986
1986
|
[y]: m
|
|
1987
1987
|
} : {}
|
|
1988
1988
|
})
|
|
1989
1989
|
);
|
|
1990
|
-
return Object.defineProperties(
|
|
1990
|
+
return Object.defineProperties(D, {
|
|
1991
1991
|
_deepestRenderedBoundaryId: {
|
|
1992
1992
|
get() {
|
|
1993
1993
|
return y;
|
|
1994
1994
|
},
|
|
1995
|
-
set(
|
|
1996
|
-
y =
|
|
1995
|
+
set(T) {
|
|
1996
|
+
y = T;
|
|
1997
1997
|
}
|
|
1998
1998
|
},
|
|
1999
1999
|
formState: {
|
|
2000
2000
|
get() {
|
|
2001
|
-
return
|
|
2002
|
-
(
|
|
2001
|
+
return D.then(
|
|
2002
|
+
(T) => T.type === "render" ? T.formState : void 0
|
|
2003
2003
|
);
|
|
2004
2004
|
}
|
|
2005
2005
|
}
|
|
@@ -2008,23 +2008,23 @@ async function mr({
|
|
|
2008
2008
|
{
|
|
2009
2009
|
onError(E) {
|
|
2010
2010
|
if (typeof E == "object" && E && "digest" in E && typeof E.digest == "string") {
|
|
2011
|
-
if (C =
|
|
2011
|
+
if (C = oe(E.digest), C)
|
|
2012
2012
|
return E.digest;
|
|
2013
|
-
let
|
|
2013
|
+
let D = ie(
|
|
2014
2014
|
E.digest
|
|
2015
2015
|
);
|
|
2016
|
-
if (
|
|
2017
|
-
return d =
|
|
2016
|
+
if (D)
|
|
2017
|
+
return d = D.status, S = D.statusText, E.digest;
|
|
2018
2018
|
}
|
|
2019
2019
|
},
|
|
2020
2020
|
onHeaders(E) {
|
|
2021
|
-
for (const [
|
|
2022
|
-
b.append(
|
|
2021
|
+
for (const [D, T] of E)
|
|
2022
|
+
b.append(D, T);
|
|
2023
2023
|
}
|
|
2024
2024
|
}
|
|
2025
2025
|
), x = new Headers(b);
|
|
2026
|
-
for (const [E,
|
|
2027
|
-
x.append(E,
|
|
2026
|
+
for (const [E, D] of t.headers)
|
|
2027
|
+
x.append(E, D);
|
|
2028
2028
|
if (x.set("Content-Type", "text/html; charset=utf-8"), C)
|
|
2029
2029
|
return x.set("Location", C.location), new Response(v, {
|
|
2030
2030
|
status: C.status,
|
|
@@ -2047,7 +2047,7 @@ async function mr({
|
|
|
2047
2047
|
});
|
|
2048
2048
|
if (!i?.body)
|
|
2049
2049
|
throw new Error("Failed to clone server response");
|
|
2050
|
-
const _ = v.pipeThrough(
|
|
2050
|
+
const _ = v.pipeThrough(Se(i.body)).pipeThrough(P);
|
|
2051
2051
|
return new Response(_, {
|
|
2052
2052
|
status: d,
|
|
2053
2053
|
statusText: S,
|
|
@@ -2106,7 +2106,7 @@ function yr({ getPayload: e }) {
|
|
|
2106
2106
|
shouldRevalidate: u.shouldRevalidate
|
|
2107
2107
|
}
|
|
2108
2108
|
}))
|
|
2109
|
-
}, o =
|
|
2109
|
+
}, o = be(
|
|
2110
2110
|
r.matches.reduceRight((u, s) => {
|
|
2111
2111
|
const i = {
|
|
2112
2112
|
id: s.id,
|
|
@@ -2147,14 +2147,14 @@ function yr({ getPayload: e }) {
|
|
|
2147
2147
|
imports: []
|
|
2148
2148
|
}
|
|
2149
2149
|
},
|
|
2150
|
-
routeDiscovery: r.routeDiscovery.mode === "initial" ? { mode: "initial", manifestPath:
|
|
2150
|
+
routeDiscovery: r.routeDiscovery.mode === "initial" ? { mode: "initial", manifestPath: Ee } : {
|
|
2151
2151
|
mode: "lazy",
|
|
2152
|
-
manifestPath: r.routeDiscovery.manifestPath ||
|
|
2152
|
+
manifestPath: r.routeDiscovery.manifestPath || Ee
|
|
2153
2153
|
},
|
|
2154
2154
|
routeModules: Kt(r)
|
|
2155
2155
|
};
|
|
2156
2156
|
return /* @__PURE__ */ k.createElement(Ze.Provider, { value: !0 }, /* @__PURE__ */ k.createElement(Qt, { location: r.location }, /* @__PURE__ */ k.createElement(re.Provider, { value: c }, /* @__PURE__ */ k.createElement(
|
|
2157
|
-
|
|
2157
|
+
_e,
|
|
2158
2158
|
{
|
|
2159
2159
|
context: n,
|
|
2160
2160
|
router: o,
|
|
@@ -2209,7 +2209,7 @@ function gr({
|
|
|
2209
2209
|
let c = {
|
|
2210
2210
|
...e,
|
|
2211
2211
|
loaderData: { ...e.loaderData }
|
|
2212
|
-
}, u =
|
|
2212
|
+
}, u = xe(t, a, n);
|
|
2213
2213
|
if (u)
|
|
2214
2214
|
for (let s of u) {
|
|
2215
2215
|
let i = s.route.id, l = r(i);
|
|
@@ -2223,16 +2223,10 @@ function gr({
|
|
|
2223
2223
|
return c;
|
|
2224
2224
|
}
|
|
2225
2225
|
const Rr = () => {
|
|
2226
|
-
const e =
|
|
2227
|
-
return
|
|
2228
|
-
(
|
|
2229
|
-
|
|
2230
|
-
t(a);
|
|
2231
|
-
return;
|
|
2232
|
-
}
|
|
2233
|
-
e?.(a);
|
|
2234
|
-
},
|
|
2235
|
-
[t, e]
|
|
2226
|
+
const e = Ve((r) => r.navigateInHortiview);
|
|
2227
|
+
return qe(
|
|
2228
|
+
(r) => e?.(r),
|
|
2229
|
+
[e]
|
|
2236
2230
|
);
|
|
2237
2231
|
};
|
|
2238
2232
|
export {
|
|
@@ -2243,8 +2237,8 @@ export {
|
|
|
2243
2237
|
xr as IDLE_BLOCKER,
|
|
2244
2238
|
kr as IDLE_FETCHER,
|
|
2245
2239
|
Ar as IDLE_NAVIGATION,
|
|
2246
|
-
|
|
2247
|
-
|
|
2240
|
+
Dr as Link,
|
|
2241
|
+
Tr as Links,
|
|
2248
2242
|
Hr as MemoryRouter,
|
|
2249
2243
|
Pr as Meta,
|
|
2250
2244
|
Fr as NavLink,
|
|
@@ -2261,7 +2255,7 @@ export {
|
|
|
2261
2255
|
$r as ScrollRestoration,
|
|
2262
2256
|
or as ServerRouter,
|
|
2263
2257
|
zr as StaticRouter,
|
|
2264
|
-
|
|
2258
|
+
_e as StaticRouterProvider,
|
|
2265
2259
|
jr as UNSAFE_AwaitContextProvider,
|
|
2266
2260
|
qr as UNSAFE_DataRouterContext,
|
|
2267
2261
|
Vr as UNSAFE_DataRouterStateContext,
|
|
@@ -2301,7 +2295,7 @@ export {
|
|
|
2301
2295
|
at as UNSAFE_withHydrateFallbackProps,
|
|
2302
2296
|
ha as createBrowserRouter,
|
|
2303
2297
|
pa as createContext,
|
|
2304
|
-
|
|
2298
|
+
He as createCookie,
|
|
2305
2299
|
cr as createCookieSessionStorage,
|
|
2306
2300
|
ma as createHashRouter,
|
|
2307
2301
|
Ge as createMemoryRouter,
|
|
@@ -2312,18 +2306,18 @@ export {
|
|
|
2312
2306
|
ga as createRoutesFromElements,
|
|
2313
2307
|
ir as createRoutesStub,
|
|
2314
2308
|
Ra as createSearchParams,
|
|
2315
|
-
|
|
2309
|
+
$e as createSession,
|
|
2316
2310
|
Vt as createSessionStorage,
|
|
2317
2311
|
Sa as createStaticHandler,
|
|
2318
|
-
|
|
2312
|
+
be as createStaticRouter,
|
|
2319
2313
|
va as data,
|
|
2320
2314
|
Ea as generatePath,
|
|
2321
2315
|
hr as href,
|
|
2322
|
-
|
|
2316
|
+
Pe as isCookie,
|
|
2323
2317
|
F as isRouteErrorResponse,
|
|
2324
2318
|
dr as isSession,
|
|
2325
2319
|
Ca as matchPath,
|
|
2326
|
-
|
|
2320
|
+
xe as matchRoutes,
|
|
2327
2321
|
ba as parsePath,
|
|
2328
2322
|
ut as redirect,
|
|
2329
2323
|
it as redirectDocument,
|
|
@@ -2335,8 +2329,8 @@ export {
|
|
|
2335
2329
|
mr as unstable_routeRSCServerRequest,
|
|
2336
2330
|
lr as unstable_setDevServerHooks,
|
|
2337
2331
|
Aa as unstable_usePrompt,
|
|
2338
|
-
|
|
2339
|
-
|
|
2332
|
+
Da as unstable_useRoute,
|
|
2333
|
+
Ta as useActionData,
|
|
2340
2334
|
Ha as useAsyncError,
|
|
2341
2335
|
Pa as useAsyncValue,
|
|
2342
2336
|
Fa as useBeforeUnload,
|