@billgangcom/theme-lib 1.113.0 → 1.114.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/{builder-tlfk07XU.cjs → builder-BVVH9Uc0.cjs} +8 -8
- package/dist/{builder-components-CvCnVAKT.js → builder-components-BD45uk6H.js} +4 -4
- package/dist/{builder-components-AImqs4dE.cjs → builder-components-BEFw4EcA.cjs} +1 -1
- package/dist/{builder-DCG_rKLl.js → builder-dGixT-_d.js} +402 -401
- package/dist/builder.cjs.js +1 -1
- package/dist/builder.es.js +87 -86
- package/dist/{charge-BFX6SXea.cjs → charge-DAXMrlAq.cjs} +43 -43
- package/dist/{charge-CKZp4zQi.js → charge-Nfq6BBT0.js} +5934 -5806
- package/dist/{checkout-D_xfWCWz.js → checkout-DJA7m9bE.js} +5 -5
- package/dist/{checkout-Cmeyss5G.cjs → checkout-DaksJ-vl.cjs} +1 -1
- package/dist/exports.cjs.js +1 -1
- package/dist/exports.es.js +6 -6
- package/dist/{index-CYZyAwBn.cjs → index-BE-LNEM-.cjs} +1 -1
- package/dist/{index-CK7UKF-8.cjs → index-CMngiHt6.cjs} +1 -1
- package/dist/{index-u_Bjlw7n.js → index-CSYLpXUY.js} +5 -5
- package/dist/{index-ho-UznN6.js → index-CX9eAqxn.js} +5 -5
- package/dist/{index-JpZDgvfI.js → index-CgAhbfol.js} +1 -1
- package/dist/{index-apLxO6zR.cjs → index-Cq-HG360.cjs} +1 -1
- package/dist/{index-CRHFyKXf.cjs → index-CwBlGUFg.cjs} +1 -1
- package/dist/{index-CIvEpWP9.cjs → index-CxES4Y2E.cjs} +1 -1
- package/dist/{index-Bx89f_4A.js → index-DKVA1wV8.js} +5 -5
- package/dist/{index-C3cH2PFK.js → index-Drs_bUt0.js} +5 -5
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +6 -6
- package/dist/{order-CviSw7zw.js → order-BiWH1GaD.js} +5 -5
- package/dist/{order-CXwHDXJN.cjs → order-EtDX2zwp.cjs} +1 -1
- package/dist/src/storefront/api/order.d.ts +2 -1
- package/dist/style.css +1 -1
- package/dist/{subscription-DzjUTqSQ.js → subscription-BsED7sfb.js} +5 -5
- package/dist/{subscription-7CuU3nB5.cjs → subscription-DuCTTG3r.cjs} +1 -1
- package/dist/{ticket-DZ2eg4MX.cjs → ticket-CbHpWM1U.cjs} +1 -1
- package/dist/{ticket-DKw8gvGf.js → ticket-D82dpA86.js} +5 -5
- package/dist/{top-up-Cpz4gJGX.js → top-up-CKuuSysp.js} +5 -5
- package/dist/{top-up-Bh_RGoNj.cjs → top-up-Czf-dtwC.cjs} +1 -1
- package/dist/{ui-components-BkCPFgEA.js → ui-components-D3S3Wicn.js} +4 -4
- package/dist/{ui-components-CFXj3WGq.cjs → ui-components-DgahiZcB.cjs} +1 -1
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +1 -1
- package/dist/{validation-COeamQDf.js → validation-BVXpLz7D.js} +5 -5
- package/dist/{validation-U25w3oxY.cjs → validation-otConG8r.cjs} +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import * as C from "react";
|
|
2
|
-
import
|
|
2
|
+
import _e, { useRef as jr, useEffect as _a } from "react";
|
|
3
3
|
import * as La from "react-dom";
|
|
4
|
-
import { jsx as
|
|
5
|
-
import { I as Jt, B as $r, a as Jn, C as Oa, b as Ma, L as Aa } from "./ui-components-
|
|
6
|
-
import { N as Da, H as Fa, S as Ia, P as Ba, M as Ha } from "./builder-components-
|
|
7
|
-
import "./charge-
|
|
8
|
-
import "./ticket-
|
|
4
|
+
import { jsx as M, jsxs as Re, Fragment as Pa } from "react/jsx-runtime";
|
|
5
|
+
import { I as Jt, B as $r, a as Jn, C as Oa, b as Ma, L as Aa } from "./ui-components-D3S3Wicn.js";
|
|
6
|
+
import { N as Da, H as Fa, S as Ia, P as Ba, M as Ha } from "./builder-components-BD45uk6H.js";
|
|
7
|
+
import "./charge-Nfq6BBT0.js";
|
|
8
|
+
import "./ticket-D82dpA86.js";
|
|
9
9
|
/**
|
|
10
10
|
* @remix-run/router v1.23.0
|
|
11
11
|
*
|
|
@@ -138,13 +138,13 @@ function ja(e, t, n, r) {
|
|
|
138
138
|
s = ve.Push;
|
|
139
139
|
let b = Wt(h.location, y, k);
|
|
140
140
|
c = u() + 1;
|
|
141
|
-
let x = Jr(b, c),
|
|
141
|
+
let x = Jr(b, c), _ = h.createHref(b);
|
|
142
142
|
try {
|
|
143
|
-
i.pushState(x, "",
|
|
144
|
-
} catch (
|
|
145
|
-
if (
|
|
146
|
-
throw
|
|
147
|
-
o.location.assign(
|
|
143
|
+
i.pushState(x, "", _);
|
|
144
|
+
} catch (T) {
|
|
145
|
+
if (T instanceof DOMException && T.name === "DataCloneError")
|
|
146
|
+
throw T;
|
|
147
|
+
o.location.assign(_);
|
|
148
148
|
}
|
|
149
149
|
a && l && l({
|
|
150
150
|
action: s,
|
|
@@ -156,8 +156,8 @@ function ja(e, t, n, r) {
|
|
|
156
156
|
s = ve.Replace;
|
|
157
157
|
let b = Wt(h.location, y, k);
|
|
158
158
|
c = u();
|
|
159
|
-
let x = Jr(b, c),
|
|
160
|
-
i.replaceState(x, "",
|
|
159
|
+
let x = Jr(b, c), _ = h.createHref(b);
|
|
160
|
+
i.replaceState(x, "", _), a && l && l({
|
|
161
161
|
action: s,
|
|
162
162
|
location: h.location,
|
|
163
163
|
delta: 0
|
|
@@ -499,7 +499,7 @@ function gi(e) {
|
|
|
499
499
|
v7_prependBasename: !1,
|
|
500
500
|
v7_relativeSplatPath: !1,
|
|
501
501
|
v7_skipActionErrorRevalidation: !1
|
|
502
|
-
}, e.future), m = null, v = /* @__PURE__ */ new Set(), p = null, h = null, y = null, k = e.hydrationData != null, b = mt(i, e.history.location, l), x = !1,
|
|
502
|
+
}, e.future), m = null, v = /* @__PURE__ */ new Set(), p = null, h = null, y = null, k = e.hydrationData != null, b = mt(i, e.history.location, l), x = !1, _ = null;
|
|
503
503
|
if (b == null && !u) {
|
|
504
504
|
let f = Ae(404, {
|
|
505
505
|
pathname: e.history.location.pathname
|
|
@@ -507,27 +507,27 @@ function gi(e) {
|
|
|
507
507
|
matches: g,
|
|
508
508
|
route: S
|
|
509
509
|
} = ro(i);
|
|
510
|
-
b = g,
|
|
510
|
+
b = g, _ = {
|
|
511
511
|
[S.id]: f
|
|
512
512
|
};
|
|
513
513
|
}
|
|
514
514
|
b && !e.hydrationData && sn(b, i, e.history.location.pathname).active && (b = null);
|
|
515
|
-
let
|
|
515
|
+
let T;
|
|
516
516
|
if (b)
|
|
517
517
|
if (b.some((f) => f.route.lazy))
|
|
518
|
-
|
|
518
|
+
T = !1;
|
|
519
519
|
else if (!b.some((f) => f.route.loader))
|
|
520
|
-
|
|
520
|
+
T = !0;
|
|
521
521
|
else if (d.v7_partialHydration) {
|
|
522
522
|
let f = e.hydrationData ? e.hydrationData.loaderData : null, g = e.hydrationData ? e.hydrationData.errors : null;
|
|
523
523
|
if (g) {
|
|
524
524
|
let S = b.findIndex((R) => g[R.route.id] !== void 0);
|
|
525
|
-
|
|
525
|
+
T = b.slice(0, S + 1).every((R) => !ar(R.route, f, g));
|
|
526
526
|
} else
|
|
527
|
-
|
|
527
|
+
T = b.every((S) => !ar(S.route, f, g));
|
|
528
528
|
} else
|
|
529
|
-
|
|
530
|
-
else if (
|
|
529
|
+
T = e.hydrationData != null;
|
|
530
|
+
else if (T = !1, b = [], d.v7_partialHydration) {
|
|
531
531
|
let f = sn(null, i, e.history.location.pathname);
|
|
532
532
|
f.active && f.matches && (x = !0, b = f.matches);
|
|
533
533
|
}
|
|
@@ -535,7 +535,7 @@ function gi(e) {
|
|
|
535
535
|
historyAction: e.history.action,
|
|
536
536
|
location: e.history.location,
|
|
537
537
|
matches: b,
|
|
538
|
-
initialized:
|
|
538
|
+
initialized: T,
|
|
539
539
|
navigation: qn,
|
|
540
540
|
// Don't restore on initial updateState() if we were SSR'd
|
|
541
541
|
restoreScrollPosition: e.hydrationData != null ? !1 : null,
|
|
@@ -543,10 +543,10 @@ function gi(e) {
|
|
|
543
543
|
revalidation: "idle",
|
|
544
544
|
loaderData: e.hydrationData && e.hydrationData.loaderData || {},
|
|
545
545
|
actionData: e.hydrationData && e.hydrationData.actionData || null,
|
|
546
|
-
errors: e.hydrationData && e.hydrationData.errors ||
|
|
546
|
+
errors: e.hydrationData && e.hydrationData.errors || _,
|
|
547
547
|
fetchers: /* @__PURE__ */ new Map(),
|
|
548
548
|
blockers: /* @__PURE__ */ new Map()
|
|
549
|
-
},
|
|
549
|
+
}, L = ve.Pop, K = !1, B, ae = !1, ee = /* @__PURE__ */ new Map(), te = null, he = !1, Oe = !1, Le = [], qe = /* @__PURE__ */ new Set(), ce = /* @__PURE__ */ new Map(), ke = 0, Se = -1, we = /* @__PURE__ */ new Map(), Pe = /* @__PURE__ */ new Set(), He = /* @__PURE__ */ new Map(), ie = /* @__PURE__ */ new Map(), pe = /* @__PURE__ */ new Set(), Me = /* @__PURE__ */ new Map(), Ee = /* @__PURE__ */ new Map(), ft;
|
|
550
550
|
function en() {
|
|
551
551
|
if (m = e.history.listen((f) => {
|
|
552
552
|
let {
|
|
@@ -621,14 +621,14 @@ function gi(e) {
|
|
|
621
621
|
var R, N;
|
|
622
622
|
let {
|
|
623
623
|
flushSync: F
|
|
624
|
-
} = S === void 0 ? {} : S, H = w.actionData != null && w.navigation.formMethod != null && je(w.navigation.formMethod) && w.navigation.state === "loading" && ((R = f.state) == null ? void 0 : R._isRedirect) !== !0,
|
|
625
|
-
g.actionData ? Object.keys(g.actionData).length > 0 ?
|
|
626
|
-
let A = g.loaderData ? to(w.loaderData, g.loaderData, g.matches || [], g.errors) : w.loaderData,
|
|
627
|
-
|
|
624
|
+
} = S === void 0 ? {} : S, H = w.actionData != null && w.navigation.formMethod != null && je(w.navigation.formMethod) && w.navigation.state === "loading" && ((R = f.state) == null ? void 0 : R._isRedirect) !== !0, O;
|
|
625
|
+
g.actionData ? Object.keys(g.actionData).length > 0 ? O = g.actionData : O = null : H ? O = w.actionData : O = null;
|
|
626
|
+
let A = g.loaderData ? to(w.loaderData, g.loaderData, g.matches || [], g.errors) : w.loaderData, P = w.blockers;
|
|
627
|
+
P.size > 0 && (P = new Map(P), P.forEach((Y, xe) => P.set(xe, Dt)));
|
|
628
628
|
let D = K === !0 || w.navigation.formMethod != null && je(w.navigation.formMethod) && ((N = f.state) == null ? void 0 : N._isRedirect) !== !0;
|
|
629
|
-
s && (i = s, s = void 0), he ||
|
|
629
|
+
s && (i = s, s = void 0), he || L === ve.Pop || (L === ve.Push ? e.history.push(f, f.state) : L === ve.Replace && e.history.replace(f, f.state));
|
|
630
630
|
let J;
|
|
631
|
-
if (
|
|
631
|
+
if (L === ve.Pop) {
|
|
632
632
|
let Y = ee.get(w.location.pathname);
|
|
633
633
|
Y && Y.has(f.pathname) ? J = {
|
|
634
634
|
currentLocation: w.location,
|
|
@@ -645,20 +645,20 @@ function gi(e) {
|
|
|
645
645
|
};
|
|
646
646
|
}
|
|
647
647
|
Ce(fe({}, g, {
|
|
648
|
-
actionData:
|
|
648
|
+
actionData: O,
|
|
649
649
|
loaderData: A,
|
|
650
|
-
historyAction:
|
|
650
|
+
historyAction: L,
|
|
651
651
|
location: f,
|
|
652
652
|
initialized: !0,
|
|
653
653
|
navigation: qn,
|
|
654
654
|
revalidation: "idle",
|
|
655
655
|
restoreScrollPosition: Ur(f, g.matches || w.matches),
|
|
656
656
|
preventScrollReset: D,
|
|
657
|
-
blockers:
|
|
657
|
+
blockers: P
|
|
658
658
|
}), {
|
|
659
659
|
viewTransitionOpts: J,
|
|
660
660
|
flushSync: F === !0
|
|
661
|
-
}),
|
|
661
|
+
}), L = ve.Pop, K = !1, ae = !1, he = !1, Oe = !1, Le = [];
|
|
662
662
|
}
|
|
663
663
|
async function nn(f, g) {
|
|
664
664
|
if (typeof f == "number") {
|
|
@@ -669,25 +669,25 @@ function gi(e) {
|
|
|
669
669
|
path: R,
|
|
670
670
|
submission: N,
|
|
671
671
|
error: F
|
|
672
|
-
} = qr(d.v7_normalizeFormMethod, !1, S, g), H = w.location,
|
|
673
|
-
|
|
674
|
-
let A = g && g.replace != null ? g.replace : void 0,
|
|
675
|
-
A === !0 ?
|
|
672
|
+
} = qr(d.v7_normalizeFormMethod, !1, S, g), H = w.location, O = Wt(w.location, R, g && g.state);
|
|
673
|
+
O = fe({}, O, e.history.encodeLocation(O));
|
|
674
|
+
let A = g && g.replace != null ? g.replace : void 0, P = ve.Push;
|
|
675
|
+
A === !0 ? P = ve.Replace : A === !1 || N != null && je(N.formMethod) && N.formAction === w.location.pathname + w.location.search && (P = ve.Replace);
|
|
676
676
|
let D = g && "preventScrollReset" in g ? g.preventScrollReset === !0 : void 0, J = (g && g.flushSync) === !0, Y = Br({
|
|
677
677
|
currentLocation: H,
|
|
678
|
-
nextLocation:
|
|
679
|
-
historyAction:
|
|
678
|
+
nextLocation: O,
|
|
679
|
+
historyAction: P
|
|
680
680
|
});
|
|
681
681
|
if (Y) {
|
|
682
682
|
an(Y, {
|
|
683
683
|
state: "blocked",
|
|
684
|
-
location:
|
|
684
|
+
location: O,
|
|
685
685
|
proceed() {
|
|
686
686
|
an(Y, {
|
|
687
687
|
state: "proceeding",
|
|
688
688
|
proceed: void 0,
|
|
689
689
|
reset: void 0,
|
|
690
|
-
location:
|
|
690
|
+
location: O
|
|
691
691
|
}), nn(f, g);
|
|
692
692
|
},
|
|
693
693
|
reset() {
|
|
@@ -699,7 +699,7 @@ function gi(e) {
|
|
|
699
699
|
});
|
|
700
700
|
return;
|
|
701
701
|
}
|
|
702
|
-
return await Ze(
|
|
702
|
+
return await Ze(P, O, {
|
|
703
703
|
submission: N,
|
|
704
704
|
// Send through the formData serialization error if we have one so we can
|
|
705
705
|
// render at the right error boundary after we match routes
|
|
@@ -720,7 +720,7 @@ function gi(e) {
|
|
|
720
720
|
});
|
|
721
721
|
return;
|
|
722
722
|
}
|
|
723
|
-
Ze(
|
|
723
|
+
Ze(L || w.historyAction, w.navigation.location, {
|
|
724
724
|
overrideNavigation: w.navigation,
|
|
725
725
|
// Proxy through any rending view transition
|
|
726
726
|
enableViewTransition: ae === !0
|
|
@@ -728,7 +728,7 @@ function gi(e) {
|
|
|
728
728
|
}
|
|
729
729
|
}
|
|
730
730
|
async function Ze(f, g, S) {
|
|
731
|
-
B && B.abort(), B = null,
|
|
731
|
+
B && B.abort(), B = null, L = f, he = (S && S.startUninterruptedRevalidation) === !0, ka(w.location, w.matches), K = (S && S.preventScrollReset) === !0, ae = (S && S.enableViewTransition) === !0;
|
|
732
732
|
let R = s || i, N = S && S.overrideNavigation, F = S != null && S.initialHydration && w.matches && w.matches.length > 0 && !x ? (
|
|
733
733
|
// `matchRoutes()` has already been called if we're in here via `router.initialize()`
|
|
734
734
|
w.matches
|
|
@@ -741,8 +741,8 @@ function gi(e) {
|
|
|
741
741
|
});
|
|
742
742
|
return;
|
|
743
743
|
}
|
|
744
|
-
let
|
|
745
|
-
if (
|
|
744
|
+
let O = sn(F, R, g.pathname);
|
|
745
|
+
if (O.active && O.matches && (F = O.matches), !F) {
|
|
746
746
|
let {
|
|
747
747
|
error: le,
|
|
748
748
|
notFoundMatches: Q,
|
|
@@ -760,14 +760,14 @@ function gi(e) {
|
|
|
760
760
|
return;
|
|
761
761
|
}
|
|
762
762
|
B = new AbortController();
|
|
763
|
-
let A = Rt(e.history, g, B.signal, S && S.submission),
|
|
763
|
+
let A = Rt(e.history, g, B.signal, S && S.submission), P;
|
|
764
764
|
if (S && S.pendingError)
|
|
765
|
-
|
|
765
|
+
P = [gt(F).route.id, {
|
|
766
766
|
type: oe.error,
|
|
767
767
|
error: S.pendingError
|
|
768
768
|
}];
|
|
769
769
|
else if (S && S.submission && je(S.submission.formMethod)) {
|
|
770
|
-
let le = await j(A, g, S.submission, F,
|
|
770
|
+
let le = await j(A, g, S.submission, F, O.active, {
|
|
771
771
|
replace: S.replace,
|
|
772
772
|
flushSync: H
|
|
773
773
|
});
|
|
@@ -786,17 +786,17 @@ function gi(e) {
|
|
|
786
786
|
return;
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
|
-
F = le.matches || F,
|
|
789
|
+
F = le.matches || F, P = le.pendingActionResult, N = Zn(g, S.submission), H = !1, O.active = !1, A = Rt(e.history, A.url, A.signal);
|
|
790
790
|
}
|
|
791
791
|
let {
|
|
792
792
|
shortCircuited: D,
|
|
793
793
|
matches: J,
|
|
794
794
|
loaderData: Y,
|
|
795
795
|
errors: xe
|
|
796
|
-
} = await V(A, g, F,
|
|
796
|
+
} = await V(A, g, F, O.active, N, S && S.submission, S && S.fetcherSubmission, S && S.replace, S && S.initialHydration === !0, H, P);
|
|
797
797
|
D || (B = null, Qe(g, fe({
|
|
798
798
|
matches: J || F
|
|
799
|
-
}, no(
|
|
799
|
+
}, no(P), {
|
|
800
800
|
loaderData: Y,
|
|
801
801
|
errors: xe
|
|
802
802
|
})));
|
|
@@ -809,22 +809,22 @@ function gi(e) {
|
|
|
809
809
|
}, {
|
|
810
810
|
flushSync: F.flushSync === !0
|
|
811
811
|
}), N) {
|
|
812
|
-
let
|
|
813
|
-
if (
|
|
812
|
+
let P = await ln(R, g.pathname, f.signal);
|
|
813
|
+
if (P.type === "aborted")
|
|
814
814
|
return {
|
|
815
815
|
shortCircuited: !0
|
|
816
816
|
};
|
|
817
|
-
if (
|
|
818
|
-
let D = gt(
|
|
817
|
+
if (P.type === "error") {
|
|
818
|
+
let D = gt(P.partialMatches).route.id;
|
|
819
819
|
return {
|
|
820
|
-
matches:
|
|
820
|
+
matches: P.partialMatches,
|
|
821
821
|
pendingActionResult: [D, {
|
|
822
822
|
type: oe.error,
|
|
823
|
-
error:
|
|
823
|
+
error: P.error
|
|
824
824
|
}]
|
|
825
825
|
};
|
|
826
|
-
} else if (
|
|
827
|
-
R =
|
|
826
|
+
} else if (P.matches)
|
|
827
|
+
R = P.matches;
|
|
828
828
|
else {
|
|
829
829
|
let {
|
|
830
830
|
notFoundMatches: D,
|
|
@@ -840,9 +840,9 @@ function gi(e) {
|
|
|
840
840
|
};
|
|
841
841
|
}
|
|
842
842
|
}
|
|
843
|
-
let
|
|
843
|
+
let O, A = jt(R, g);
|
|
844
844
|
if (!A.route.action && !A.route.lazy)
|
|
845
|
-
|
|
845
|
+
O = {
|
|
846
846
|
type: oe.error,
|
|
847
847
|
error: Ae(405, {
|
|
848
848
|
method: f.method,
|
|
@@ -850,36 +850,36 @@ function gi(e) {
|
|
|
850
850
|
routeId: A.route.id
|
|
851
851
|
})
|
|
852
852
|
};
|
|
853
|
-
else if (
|
|
853
|
+
else if (O = (await ue("action", w, f, [A], R, null))[A.route.id], f.signal.aborted)
|
|
854
854
|
return {
|
|
855
855
|
shortCircuited: !0
|
|
856
856
|
};
|
|
857
|
-
if (yt(
|
|
858
|
-
let
|
|
859
|
-
return F && F.replace != null ?
|
|
857
|
+
if (yt(O)) {
|
|
858
|
+
let P;
|
|
859
|
+
return F && F.replace != null ? P = F.replace : P = Xr(O.response.headers.get("Location"), new URL(f.url), l) === w.location.pathname + w.location.search, await Z(f, O, !0, {
|
|
860
860
|
submission: S,
|
|
861
|
-
replace:
|
|
861
|
+
replace: P
|
|
862
862
|
}), {
|
|
863
863
|
shortCircuited: !0
|
|
864
864
|
};
|
|
865
865
|
}
|
|
866
|
-
if (lt(
|
|
866
|
+
if (lt(O))
|
|
867
867
|
throw Ae(400, {
|
|
868
868
|
type: "defer-action"
|
|
869
869
|
});
|
|
870
|
-
if (Ie(
|
|
871
|
-
let
|
|
872
|
-
return (F && F.replace) !== !0 && (
|
|
870
|
+
if (Ie(O)) {
|
|
871
|
+
let P = gt(R, A.route.id);
|
|
872
|
+
return (F && F.replace) !== !0 && (L = ve.Push), {
|
|
873
873
|
matches: R,
|
|
874
|
-
pendingActionResult: [
|
|
874
|
+
pendingActionResult: [P.route.id, O]
|
|
875
875
|
};
|
|
876
876
|
}
|
|
877
877
|
return {
|
|
878
878
|
matches: R,
|
|
879
|
-
pendingActionResult: [A.route.id,
|
|
879
|
+
pendingActionResult: [A.route.id, O]
|
|
880
880
|
};
|
|
881
881
|
}
|
|
882
|
-
async function V(f, g, S, R, N, F, H,
|
|
882
|
+
async function V(f, g, S, R, N, F, H, O, A, P, D) {
|
|
883
883
|
let J = N || Zn(g, F), Y = F || H || ao(J), xe = !he && (!d.v7_partialHydration || !A);
|
|
884
884
|
if (R) {
|
|
885
885
|
if (xe) {
|
|
@@ -889,7 +889,7 @@ function gi(e) {
|
|
|
889
889
|
}, ge !== void 0 ? {
|
|
890
890
|
actionData: ge
|
|
891
891
|
} : {}), {
|
|
892
|
-
flushSync:
|
|
892
|
+
flushSync: P
|
|
893
893
|
});
|
|
894
894
|
}
|
|
895
895
|
let X = await ln(S, g.pathname, f.signal);
|
|
@@ -936,7 +936,7 @@ function gi(e) {
|
|
|
936
936
|
}, no(D), X ? {
|
|
937
937
|
fetchers: new Map(w.fetchers)
|
|
938
938
|
} : {}), {
|
|
939
|
-
flushSync:
|
|
939
|
+
flushSync: P
|
|
940
940
|
}), {
|
|
941
941
|
shortCircuited: !0
|
|
942
942
|
};
|
|
@@ -949,7 +949,7 @@ function gi(e) {
|
|
|
949
949
|
ge !== void 0 && (X.actionData = ge);
|
|
950
950
|
}
|
|
951
951
|
me.length > 0 && (X.fetchers = z(me)), Ce(X, {
|
|
952
|
-
flushSync:
|
|
952
|
+
flushSync: P
|
|
953
953
|
});
|
|
954
954
|
}
|
|
955
955
|
me.forEach((X) => {
|
|
@@ -969,13 +969,13 @@ function gi(e) {
|
|
|
969
969
|
let Ge = dn(Ot);
|
|
970
970
|
if (Ge)
|
|
971
971
|
return await Z(f, Ge.result, !0, {
|
|
972
|
-
replace:
|
|
972
|
+
replace: O
|
|
973
973
|
}), {
|
|
974
974
|
shortCircuited: !0
|
|
975
975
|
};
|
|
976
976
|
if (Ge = dn(nt), Ge)
|
|
977
977
|
return Pe.add(Ge.key), await Z(f, Ge.result, !0, {
|
|
978
|
-
replace:
|
|
978
|
+
replace: O
|
|
979
979
|
}), {
|
|
980
980
|
shortCircuited: !0
|
|
981
981
|
};
|
|
@@ -1015,8 +1015,8 @@ function gi(e) {
|
|
|
1015
1015
|
if (r)
|
|
1016
1016
|
throw new Error("router.fetch() was called during the server render, but it shouldn't be. You are likely calling a useFetcher() method in the body of your component. Try moving it to a useEffect or a callback.");
|
|
1017
1017
|
ot(f);
|
|
1018
|
-
let N = (R && R.flushSync) === !0, F = s || i, H = or(w.location, w.matches, l, d.v7_prependBasename, S, d.v7_relativeSplatPath, g, R == null ? void 0 : R.relative),
|
|
1019
|
-
if (A.active && A.matches && (
|
|
1018
|
+
let N = (R && R.flushSync) === !0, F = s || i, H = or(w.location, w.matches, l, d.v7_prependBasename, S, d.v7_relativeSplatPath, g, R == null ? void 0 : R.relative), O = mt(F, H, l), A = sn(O, F, H);
|
|
1019
|
+
if (A.active && A.matches && (O = A.matches), !O) {
|
|
1020
1020
|
tt(f, g, Ae(404, {
|
|
1021
1021
|
pathname: H
|
|
1022
1022
|
}), {
|
|
@@ -1025,7 +1025,7 @@ function gi(e) {
|
|
|
1025
1025
|
return;
|
|
1026
1026
|
}
|
|
1027
1027
|
let {
|
|
1028
|
-
path:
|
|
1028
|
+
path: P,
|
|
1029
1029
|
submission: D,
|
|
1030
1030
|
error: J
|
|
1031
1031
|
} = qr(d.v7_normalizeFormMethod, !0, H, R);
|
|
@@ -1035,19 +1035,19 @@ function gi(e) {
|
|
|
1035
1035
|
});
|
|
1036
1036
|
return;
|
|
1037
1037
|
}
|
|
1038
|
-
let Y = jt(
|
|
1038
|
+
let Y = jt(O, P), xe = (R && R.preventScrollReset) === !0;
|
|
1039
1039
|
if (D && je(D.formMethod)) {
|
|
1040
|
-
W(f, g,
|
|
1040
|
+
W(f, g, P, Y, O, A.active, N, xe, D);
|
|
1041
1041
|
return;
|
|
1042
1042
|
}
|
|
1043
1043
|
He.set(f, {
|
|
1044
1044
|
routeId: g,
|
|
1045
|
-
path:
|
|
1046
|
-
}), re(f, g,
|
|
1045
|
+
path: P
|
|
1046
|
+
}), re(f, g, P, Y, O, A.active, N, xe, D);
|
|
1047
1047
|
}
|
|
1048
|
-
async function W(f, g, S, R, N, F, H,
|
|
1048
|
+
async function W(f, g, S, R, N, F, H, O, A) {
|
|
1049
1049
|
ht(), He.delete(f);
|
|
1050
|
-
function
|
|
1050
|
+
function P(ye) {
|
|
1051
1051
|
if (!ye.route.action && !ye.route.lazy) {
|
|
1052
1052
|
let Ct = Ae(405, {
|
|
1053
1053
|
method: A.formMethod,
|
|
@@ -1060,7 +1060,7 @@ function gi(e) {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
return !1;
|
|
1062
1062
|
}
|
|
1063
|
-
if (!F &&
|
|
1063
|
+
if (!F && P(R))
|
|
1064
1064
|
return;
|
|
1065
1065
|
let D = w.fetchers.get(f);
|
|
1066
1066
|
Ke(f, Mi(A, D), {
|
|
@@ -1077,7 +1077,7 @@ function gi(e) {
|
|
|
1077
1077
|
});
|
|
1078
1078
|
return;
|
|
1079
1079
|
} else if (ye.matches) {
|
|
1080
|
-
if (N = ye.matches, R = jt(N, S),
|
|
1080
|
+
if (N = ye.matches, R = jt(N, S), P(R))
|
|
1081
1081
|
return;
|
|
1082
1082
|
} else {
|
|
1083
1083
|
tt(f, g, Ae(404, {
|
|
@@ -1107,7 +1107,7 @@ function gi(e) {
|
|
|
1107
1107
|
} else
|
|
1108
1108
|
return Pe.add(f), Ke(f, Ft(A)), Z(Y, Q, !1, {
|
|
1109
1109
|
fetcherSubmission: A,
|
|
1110
|
-
preventScrollReset:
|
|
1110
|
+
preventScrollReset: O
|
|
1111
1111
|
});
|
|
1112
1112
|
if (Ie(Q)) {
|
|
1113
1113
|
tt(f, g, Q.error);
|
|
@@ -1126,8 +1126,8 @@ function gi(e) {
|
|
|
1126
1126
|
w.fetchers.set(f, zn);
|
|
1127
1127
|
let [Mt, pt] = Kr(e.history, w, nt, A, me, !1, d.v7_skipActionErrorRevalidation, Oe, Le, qe, pe, He, Pe, Ot, l, [R.route.id, Q]);
|
|
1128
1128
|
pt.filter((ye) => ye.key !== f).forEach((ye) => {
|
|
1129
|
-
let Ct = ye.key, Vr = w.fetchers.get(Ct),
|
|
1130
|
-
w.fetchers.set(Ct,
|
|
1129
|
+
let Ct = ye.key, Vr = w.fetchers.get(Ct), Ta = Ft(void 0, Vr ? Vr.data : void 0);
|
|
1130
|
+
w.fetchers.set(Ct, Ta), ot(Ct), ye.controller && ce.set(Ct, ye.controller);
|
|
1131
1131
|
}), Ce({
|
|
1132
1132
|
fetchers: new Map(w.fetchers)
|
|
1133
1133
|
});
|
|
@@ -1143,11 +1143,11 @@ function gi(e) {
|
|
|
1143
1143
|
let ge = dn(un);
|
|
1144
1144
|
if (ge)
|
|
1145
1145
|
return Z(St, ge.result, !1, {
|
|
1146
|
-
preventScrollReset:
|
|
1146
|
+
preventScrollReset: O
|
|
1147
1147
|
});
|
|
1148
1148
|
if (ge = dn(X), ge)
|
|
1149
1149
|
return Pe.add(ge.key), Z(St, ge.result, !1, {
|
|
1150
|
-
preventScrollReset:
|
|
1150
|
+
preventScrollReset: O
|
|
1151
1151
|
});
|
|
1152
1152
|
let {
|
|
1153
1153
|
loaderData: Et,
|
|
@@ -1157,7 +1157,7 @@ function gi(e) {
|
|
|
1157
1157
|
let ye = at(Q.data);
|
|
1158
1158
|
w.fetchers.set(f, ye);
|
|
1159
1159
|
}
|
|
1160
|
-
Fr(Ge), w.navigation.state === "loading" && Ge > Se ? (I(
|
|
1160
|
+
Fr(Ge), w.navigation.state === "loading" && Ge > Se ? (I(L, "Expected pending action"), B && B.abort(), Qe(w.navigation.location, {
|
|
1161
1161
|
matches: nt,
|
|
1162
1162
|
loaderData: Et,
|
|
1163
1163
|
errors: At,
|
|
@@ -1168,9 +1168,9 @@ function gi(e) {
|
|
|
1168
1168
|
fetchers: new Map(w.fetchers)
|
|
1169
1169
|
}), Oe = !1);
|
|
1170
1170
|
}
|
|
1171
|
-
async function re(f, g, S, R, N, F, H,
|
|
1172
|
-
let
|
|
1173
|
-
Ke(f, Ft(A,
|
|
1171
|
+
async function re(f, g, S, R, N, F, H, O, A) {
|
|
1172
|
+
let P = w.fetchers.get(f);
|
|
1173
|
+
Ke(f, Ft(A, P ? P.data : void 0), {
|
|
1174
1174
|
flushSync: H
|
|
1175
1175
|
});
|
|
1176
1176
|
let D = new AbortController(), J = Rt(e.history, S, D.signal);
|
|
@@ -1207,7 +1207,7 @@ function gi(e) {
|
|
|
1207
1207
|
return;
|
|
1208
1208
|
} else {
|
|
1209
1209
|
Pe.add(f), await Z(J, le, !1, {
|
|
1210
|
-
preventScrollReset:
|
|
1210
|
+
preventScrollReset: O
|
|
1211
1211
|
});
|
|
1212
1212
|
return;
|
|
1213
1213
|
}
|
|
@@ -1223,12 +1223,12 @@ function gi(e) {
|
|
|
1223
1223
|
submission: N,
|
|
1224
1224
|
fetcherSubmission: F,
|
|
1225
1225
|
preventScrollReset: H,
|
|
1226
|
-
replace:
|
|
1226
|
+
replace: O
|
|
1227
1227
|
} = R === void 0 ? {} : R;
|
|
1228
1228
|
g.response.headers.has("X-Remix-Revalidate") && (Oe = !0);
|
|
1229
1229
|
let A = g.response.headers.get("Location");
|
|
1230
1230
|
I(A, "Expected a Location header on the redirect Response"), A = Xr(A, new URL(f.url), l);
|
|
1231
|
-
let
|
|
1231
|
+
let P = Wt(w.location, A, {
|
|
1232
1232
|
_isRedirect: !0
|
|
1233
1233
|
});
|
|
1234
1234
|
if (n) {
|
|
@@ -1242,12 +1242,12 @@ function gi(e) {
|
|
|
1242
1242
|
$e(me.pathname, l) == null;
|
|
1243
1243
|
}
|
|
1244
1244
|
if (Q) {
|
|
1245
|
-
|
|
1245
|
+
O ? t.location.replace(A) : t.location.assign(A);
|
|
1246
1246
|
return;
|
|
1247
1247
|
}
|
|
1248
1248
|
}
|
|
1249
1249
|
B = null;
|
|
1250
|
-
let D =
|
|
1250
|
+
let D = O === !0 || g.response.headers.has("X-Remix-Replace") ? ve.Replace : ve.Push, {
|
|
1251
1251
|
formMethod: J,
|
|
1252
1252
|
formAction: Y,
|
|
1253
1253
|
formEncType: xe
|
|
@@ -1255,7 +1255,7 @@ function gi(e) {
|
|
|
1255
1255
|
!N && !F && J && Y && xe && (N = ao(w.navigation));
|
|
1256
1256
|
let le = N || F;
|
|
1257
1257
|
if (hi.has(g.response.status) && le && je(le.formMethod))
|
|
1258
|
-
await Ze(D,
|
|
1258
|
+
await Ze(D, P, {
|
|
1259
1259
|
submission: fe({}, le, {
|
|
1260
1260
|
formAction: A
|
|
1261
1261
|
}),
|
|
@@ -1264,8 +1264,8 @@ function gi(e) {
|
|
|
1264
1264
|
enableViewTransition: S ? ae : void 0
|
|
1265
1265
|
});
|
|
1266
1266
|
else {
|
|
1267
|
-
let Q = Zn(
|
|
1268
|
-
await Ze(D,
|
|
1267
|
+
let Q = Zn(P, N);
|
|
1268
|
+
await Ze(D, P, {
|
|
1269
1269
|
overrideNavigation: Q,
|
|
1270
1270
|
// Send fetcher submissions through for shouldRevalidate
|
|
1271
1271
|
fetcherSubmission: F,
|
|
@@ -1276,30 +1276,30 @@ function gi(e) {
|
|
|
1276
1276
|
}
|
|
1277
1277
|
}
|
|
1278
1278
|
async function ue(f, g, S, R, N, F) {
|
|
1279
|
-
let H,
|
|
1279
|
+
let H, O = {};
|
|
1280
1280
|
try {
|
|
1281
1281
|
H = await Si(c, f, g, S, R, N, F, a, o);
|
|
1282
1282
|
} catch (A) {
|
|
1283
|
-
return R.forEach((
|
|
1284
|
-
P
|
|
1283
|
+
return R.forEach((P) => {
|
|
1284
|
+
O[P.route.id] = {
|
|
1285
1285
|
type: oe.error,
|
|
1286
1286
|
error: A
|
|
1287
1287
|
};
|
|
1288
|
-
}),
|
|
1288
|
+
}), O;
|
|
1289
1289
|
}
|
|
1290
|
-
for (let [A,
|
|
1291
|
-
if (Ni(
|
|
1292
|
-
let D =
|
|
1293
|
-
|
|
1290
|
+
for (let [A, P] of Object.entries(H))
|
|
1291
|
+
if (Ni(P)) {
|
|
1292
|
+
let D = P.result;
|
|
1293
|
+
O[A] = {
|
|
1294
1294
|
type: oe.redirect,
|
|
1295
1295
|
response: Ri(D, S, A, N, l, d.v7_relativeSplatPath)
|
|
1296
1296
|
};
|
|
1297
1297
|
} else
|
|
1298
|
-
|
|
1299
|
-
return
|
|
1298
|
+
O[A] = await Ci(P);
|
|
1299
|
+
return O;
|
|
1300
1300
|
}
|
|
1301
1301
|
async function et(f, g, S, R, N) {
|
|
1302
|
-
let F = f.matches, H = ue("loader", f, N, S, g, null),
|
|
1302
|
+
let F = f.matches, H = ue("loader", f, N, S, g, null), O = Promise.all(R.map(async (D) => {
|
|
1303
1303
|
if (D.matches && D.match && D.controller) {
|
|
1304
1304
|
let Y = (await ue("loader", f, Rt(e.history, D.path, D.controller.signal), [D.match], D.matches, D.key))[D.match.route.id];
|
|
1305
1305
|
return {
|
|
@@ -1314,10 +1314,10 @@ function gi(e) {
|
|
|
1314
1314
|
})
|
|
1315
1315
|
}
|
|
1316
1316
|
});
|
|
1317
|
-
})), A = await H,
|
|
1318
|
-
return await Promise.all([Li(g, A, N.signal, F, f.loaderData), Pi(g,
|
|
1317
|
+
})), A = await H, P = (await O).reduce((D, J) => Object.assign(D, J), {});
|
|
1318
|
+
return await Promise.all([Li(g, A, N.signal, F, f.loaderData), Pi(g, P, R)]), {
|
|
1319
1319
|
loaderResults: A,
|
|
1320
|
-
fetcherResults:
|
|
1320
|
+
fetcherResults: P
|
|
1321
1321
|
};
|
|
1322
1322
|
}
|
|
1323
1323
|
function ht() {
|
|
@@ -1408,8 +1408,8 @@ function gi(e) {
|
|
|
1408
1408
|
if (Ee.size === 0)
|
|
1409
1409
|
return;
|
|
1410
1410
|
Ee.size > 1 && be(!1, "A router only supports one blocker at a time");
|
|
1411
|
-
let N = Array.from(Ee.entries()), [F, H] = N[N.length - 1],
|
|
1412
|
-
if (!(
|
|
1411
|
+
let N = Array.from(Ee.entries()), [F, H] = N[N.length - 1], O = w.blockers.get(F);
|
|
1412
|
+
if (!(O && O.state === "proceeding") && H({
|
|
1413
1413
|
currentLocation: g,
|
|
1414
1414
|
nextLocation: S,
|
|
1415
1415
|
historyAction: R
|
|
@@ -1490,7 +1490,7 @@ function gi(e) {
|
|
|
1490
1490
|
};
|
|
1491
1491
|
let N = f;
|
|
1492
1492
|
for (; ; ) {
|
|
1493
|
-
let F = s == null, H = s || i,
|
|
1493
|
+
let F = s == null, H = s || i, O = a;
|
|
1494
1494
|
try {
|
|
1495
1495
|
await u({
|
|
1496
1496
|
signal: S,
|
|
@@ -1498,7 +1498,7 @@ function gi(e) {
|
|
|
1498
1498
|
matches: N,
|
|
1499
1499
|
fetcherKey: R,
|
|
1500
1500
|
patch: (D, J) => {
|
|
1501
|
-
S.aborted || Yr(D, J, H,
|
|
1501
|
+
S.aborted || Yr(D, J, H, O, o);
|
|
1502
1502
|
}
|
|
1503
1503
|
});
|
|
1504
1504
|
} catch (D) {
|
|
@@ -1520,13 +1520,13 @@ function gi(e) {
|
|
|
1520
1520
|
type: "success",
|
|
1521
1521
|
matches: A
|
|
1522
1522
|
};
|
|
1523
|
-
let
|
|
1524
|
-
if (!
|
|
1523
|
+
let P = gn(H, g, l, !0);
|
|
1524
|
+
if (!P || N.length === P.length && N.every((D, J) => D.route.id === P[J].route.id))
|
|
1525
1525
|
return {
|
|
1526
1526
|
type: "success",
|
|
1527
1527
|
matches: null
|
|
1528
1528
|
};
|
|
1529
|
-
N =
|
|
1529
|
+
N = P;
|
|
1530
1530
|
}
|
|
1531
1531
|
}
|
|
1532
1532
|
function xa(f) {
|
|
@@ -1608,7 +1608,7 @@ function qr(e, t, n, r) {
|
|
|
1608
1608
|
return {
|
|
1609
1609
|
path: n
|
|
1610
1610
|
};
|
|
1611
|
-
if (r.formMethod && !
|
|
1611
|
+
if (r.formMethod && !_i(r.formMethod))
|
|
1612
1612
|
return {
|
|
1613
1613
|
path: n,
|
|
1614
1614
|
error: Ae(405, {
|
|
@@ -1708,50 +1708,50 @@ function Zr(e, t, n) {
|
|
|
1708
1708
|
function Kr(e, t, n, r, o, a, i, s, l, c, u, d, m, v, p, h) {
|
|
1709
1709
|
let y = h ? Ie(h[1]) ? h[1].error : h[1].data : void 0, k = e.createURL(t.location), b = e.createURL(o), x = n;
|
|
1710
1710
|
a && t.errors ? x = Zr(n, Object.keys(t.errors)[0], !0) : h && Ie(h[1]) && (x = Zr(n, h[0]));
|
|
1711
|
-
let
|
|
1711
|
+
let _ = h ? h[1].statusCode : void 0, T = i && _ && _ >= 400, U = x.filter((L, K) => {
|
|
1712
1712
|
let {
|
|
1713
1713
|
route: B
|
|
1714
|
-
} =
|
|
1714
|
+
} = L;
|
|
1715
1715
|
if (B.lazy)
|
|
1716
1716
|
return !0;
|
|
1717
1717
|
if (B.loader == null)
|
|
1718
1718
|
return !1;
|
|
1719
1719
|
if (a)
|
|
1720
1720
|
return ar(B, t.loaderData, t.errors);
|
|
1721
|
-
if (vi(t.loaderData, t.matches[K],
|
|
1721
|
+
if (vi(t.loaderData, t.matches[K], L) || l.some((te) => te === L.route.id))
|
|
1722
1722
|
return !0;
|
|
1723
|
-
let ae = t.matches[K], ee =
|
|
1724
|
-
return Gr(
|
|
1723
|
+
let ae = t.matches[K], ee = L;
|
|
1724
|
+
return Gr(L, fe({
|
|
1725
1725
|
currentUrl: k,
|
|
1726
1726
|
currentParams: ae.params,
|
|
1727
1727
|
nextUrl: b,
|
|
1728
1728
|
nextParams: ee.params
|
|
1729
1729
|
}, r, {
|
|
1730
1730
|
actionResult: y,
|
|
1731
|
-
actionStatus:
|
|
1732
|
-
defaultShouldRevalidate:
|
|
1731
|
+
actionStatus: _,
|
|
1732
|
+
defaultShouldRevalidate: T ? !1 : (
|
|
1733
1733
|
// Forced revalidation due to submission, useRevalidator, or X-Remix-Revalidate
|
|
1734
1734
|
s || k.pathname + k.search === b.pathname + b.search || // Search params affect all loaders
|
|
1735
1735
|
k.search !== b.search || Io(ae, ee)
|
|
1736
1736
|
)
|
|
1737
1737
|
}));
|
|
1738
1738
|
}), w = [];
|
|
1739
|
-
return d.forEach((
|
|
1740
|
-
if (a || !n.some((he) => he.route.id ===
|
|
1739
|
+
return d.forEach((L, K) => {
|
|
1740
|
+
if (a || !n.some((he) => he.route.id === L.routeId) || u.has(K))
|
|
1741
1741
|
return;
|
|
1742
|
-
let B = mt(v,
|
|
1742
|
+
let B = mt(v, L.path, p);
|
|
1743
1743
|
if (!B) {
|
|
1744
1744
|
w.push({
|
|
1745
1745
|
key: K,
|
|
1746
|
-
routeId:
|
|
1747
|
-
path:
|
|
1746
|
+
routeId: L.routeId,
|
|
1747
|
+
path: L.path,
|
|
1748
1748
|
matches: null,
|
|
1749
1749
|
match: null,
|
|
1750
1750
|
controller: null
|
|
1751
1751
|
});
|
|
1752
1752
|
return;
|
|
1753
1753
|
}
|
|
1754
|
-
let ae = t.fetchers.get(K), ee = jt(B,
|
|
1754
|
+
let ae = t.fetchers.get(K), ee = jt(B, L.path), te = !1;
|
|
1755
1755
|
m.has(K) ? te = !1 : c.has(K) ? (c.delete(K), te = !0) : ae && ae.state !== "idle" && ae.data === void 0 ? te = s : te = Gr(ee, fe({
|
|
1756
1756
|
currentUrl: k,
|
|
1757
1757
|
currentParams: t.matches[t.matches.length - 1].params,
|
|
@@ -1759,12 +1759,12 @@ function Kr(e, t, n, r, o, a, i, s, l, c, u, d, m, v, p, h) {
|
|
|
1759
1759
|
nextParams: n[n.length - 1].params
|
|
1760
1760
|
}, r, {
|
|
1761
1761
|
actionResult: y,
|
|
1762
|
-
actionStatus:
|
|
1763
|
-
defaultShouldRevalidate:
|
|
1762
|
+
actionStatus: _,
|
|
1763
|
+
defaultShouldRevalidate: T ? !1 : s
|
|
1764
1764
|
})), te && w.push({
|
|
1765
1765
|
key: K,
|
|
1766
|
-
routeId:
|
|
1767
|
-
path:
|
|
1766
|
+
routeId: L.routeId,
|
|
1767
|
+
path: L.path,
|
|
1768
1768
|
matches: B,
|
|
1769
1769
|
match: ee,
|
|
1770
1770
|
controller: new AbortController()
|
|
@@ -1996,7 +1996,7 @@ async function Ci(e) {
|
|
|
1996
1996
|
statusCode: qt(t) ? t.status : void 0
|
|
1997
1997
|
};
|
|
1998
1998
|
}
|
|
1999
|
-
if (
|
|
1999
|
+
if (Ti(t)) {
|
|
2000
2000
|
var s, l;
|
|
2001
2001
|
return {
|
|
2002
2002
|
type: oe.deferred,
|
|
@@ -2198,14 +2198,14 @@ function yt(e) {
|
|
|
2198
2198
|
function oo(e) {
|
|
2199
2199
|
return typeof e == "object" && e != null && "type" in e && "data" in e && "init" in e && e.type === "DataWithResponseInit";
|
|
2200
2200
|
}
|
|
2201
|
-
function
|
|
2201
|
+
function Ti(e) {
|
|
2202
2202
|
let t = e;
|
|
2203
2203
|
return t && typeof t == "object" && typeof t.data == "object" && typeof t.subscribe == "function" && typeof t.cancel == "function" && typeof t.resolveData == "function";
|
|
2204
2204
|
}
|
|
2205
2205
|
function Uo(e) {
|
|
2206
2206
|
return e != null && typeof e.status == "number" && typeof e.statusText == "string" && typeof e.headers == "object" && typeof e.body < "u";
|
|
2207
2207
|
}
|
|
2208
|
-
function
|
|
2208
|
+
function _i(e) {
|
|
2209
2209
|
return di.has(e.toLowerCase());
|
|
2210
2210
|
}
|
|
2211
2211
|
function je(e) {
|
|
@@ -2425,8 +2425,8 @@ function kn() {
|
|
|
2425
2425
|
return e;
|
|
2426
2426
|
}, kn.apply(this, arguments);
|
|
2427
2427
|
}
|
|
2428
|
-
const
|
|
2429
|
-
process.env.NODE_ENV !== "production" && (
|
|
2428
|
+
const _t = /* @__PURE__ */ C.createContext(null);
|
|
2429
|
+
process.env.NODE_ENV !== "production" && (_t.displayName = "DataRouter");
|
|
2430
2430
|
const Ln = /* @__PURE__ */ C.createContext(null);
|
|
2431
2431
|
process.env.NODE_ENV !== "production" && (Ln.displayName = "DataRouterState");
|
|
2432
2432
|
const Fi = /* @__PURE__ */ C.createContext(null);
|
|
@@ -2497,7 +2497,7 @@ function Bi() {
|
|
|
2497
2497
|
// router loaded. We can help them understand how to avoid that.
|
|
2498
2498
|
"useNavigate() may be used only in the context of a <Router> component."
|
|
2499
2499
|
) : I(!1));
|
|
2500
|
-
let e = C.useContext(
|
|
2500
|
+
let e = C.useContext(_t), {
|
|
2501
2501
|
basename: t,
|
|
2502
2502
|
future: n,
|
|
2503
2503
|
navigator: r
|
|
@@ -2648,7 +2648,7 @@ function Ji(e) {
|
|
|
2648
2648
|
routeContext: t,
|
|
2649
2649
|
match: n,
|
|
2650
2650
|
children: r
|
|
2651
|
-
} = e, o = C.useContext(
|
|
2651
|
+
} = e, o = C.useContext(_t);
|
|
2652
2652
|
return o && o.static && o.staticContext && (n.route.errorElement || n.route.ErrorBoundary) && (o.staticContext._deepestRenderedBoundaryId = n.route.id), /* @__PURE__ */ C.createElement(Je.Provider, {
|
|
2653
2653
|
value: t
|
|
2654
2654
|
}, r);
|
|
@@ -2724,7 +2724,7 @@ function xr(e) {
|
|
|
2724
2724
|
return e + " must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router.";
|
|
2725
2725
|
}
|
|
2726
2726
|
function qi(e) {
|
|
2727
|
-
let t = C.useContext(
|
|
2727
|
+
let t = C.useContext(_t);
|
|
2728
2728
|
return t || (process.env.NODE_ENV !== "production" ? I(!1, xr(e)) : I(!1)), t;
|
|
2729
2729
|
}
|
|
2730
2730
|
function Zi(e) {
|
|
@@ -2859,7 +2859,7 @@ function ut() {
|
|
|
2859
2859
|
return e;
|
|
2860
2860
|
}, ut.apply(this, arguments);
|
|
2861
2861
|
}
|
|
2862
|
-
function
|
|
2862
|
+
function Tr(e, t) {
|
|
2863
2863
|
if (e == null) return {};
|
|
2864
2864
|
var n = {}, r = Object.keys(e), o, a;
|
|
2865
2865
|
for (a = 0; a < r.length; a++)
|
|
@@ -3006,10 +3006,10 @@ function ys(e) {
|
|
|
3006
3006
|
n[r] = o;
|
|
3007
3007
|
return n;
|
|
3008
3008
|
}
|
|
3009
|
-
const
|
|
3009
|
+
const _r = /* @__PURE__ */ C.createContext({
|
|
3010
3010
|
isTransitioning: !1
|
|
3011
3011
|
});
|
|
3012
|
-
process.env.NODE_ENV !== "production" && (
|
|
3012
|
+
process.env.NODE_ENV !== "production" && (_r.displayName = "ViewTransition");
|
|
3013
3013
|
const Jo = /* @__PURE__ */ C.createContext(/* @__PURE__ */ new Map());
|
|
3014
3014
|
process.env.NODE_ENV !== "production" && (Jo.displayName = "Fetchers");
|
|
3015
3015
|
const vs = "startTransition", lo = C[vs], ws = "flushSync", co = La[ws];
|
|
@@ -3030,7 +3030,7 @@ class Ss {
|
|
|
3030
3030
|
});
|
|
3031
3031
|
}
|
|
3032
3032
|
}
|
|
3033
|
-
function
|
|
3033
|
+
function Td(e) {
|
|
3034
3034
|
let {
|
|
3035
3035
|
fallbackElement: t,
|
|
3036
3036
|
router: n,
|
|
@@ -3039,20 +3039,20 @@ function _d(e) {
|
|
|
3039
3039
|
isTransitioning: !1
|
|
3040
3040
|
}), [u, d] = C.useState(), [m, v] = C.useState(), [p, h] = C.useState(), y = C.useRef(/* @__PURE__ */ new Map()), {
|
|
3041
3041
|
v7_startTransition: k
|
|
3042
|
-
} = r || {}, b = C.useCallback((
|
|
3043
|
-
k ? bs(
|
|
3044
|
-
}, [k]), x = C.useCallback((
|
|
3042
|
+
} = r || {}, b = C.useCallback((L) => {
|
|
3043
|
+
k ? bs(L) : L();
|
|
3044
|
+
}, [k]), x = C.useCallback((L, K) => {
|
|
3045
3045
|
let {
|
|
3046
3046
|
deletedFetchers: B,
|
|
3047
3047
|
flushSync: ae,
|
|
3048
3048
|
viewTransitionOpts: ee
|
|
3049
3049
|
} = K;
|
|
3050
|
-
|
|
3050
|
+
L.fetchers.forEach((he, Oe) => {
|
|
3051
3051
|
he.data !== void 0 && y.current.set(Oe, he.data);
|
|
3052
3052
|
}), B.forEach((he) => y.current.delete(he));
|
|
3053
3053
|
let te = n.window == null || n.window.document == null || typeof n.window.document.startViewTransition != "function";
|
|
3054
3054
|
if (!ee || te) {
|
|
3055
|
-
ae ? It(() => a(
|
|
3055
|
+
ae ? It(() => a(L)) : b(() => a(L));
|
|
3056
3056
|
return;
|
|
3057
3057
|
}
|
|
3058
3058
|
if (ae) {
|
|
@@ -3065,7 +3065,7 @@ function _d(e) {
|
|
|
3065
3065
|
});
|
|
3066
3066
|
});
|
|
3067
3067
|
let he = n.window.document.startViewTransition(() => {
|
|
3068
|
-
It(() => a(
|
|
3068
|
+
It(() => a(L));
|
|
3069
3069
|
});
|
|
3070
3070
|
he.finished.finally(() => {
|
|
3071
3071
|
It(() => {
|
|
@@ -3077,10 +3077,10 @@ function _d(e) {
|
|
|
3077
3077
|
return;
|
|
3078
3078
|
}
|
|
3079
3079
|
m ? (u && u.resolve(), m.skipTransition(), h({
|
|
3080
|
-
state:
|
|
3080
|
+
state: L,
|
|
3081
3081
|
currentLocation: ee.currentLocation,
|
|
3082
3082
|
nextLocation: ee.nextLocation
|
|
3083
|
-
})) : (s(
|
|
3083
|
+
})) : (s(L), c({
|
|
3084
3084
|
isTransitioning: !0,
|
|
3085
3085
|
flushSync: !1,
|
|
3086
3086
|
currentLocation: ee.currentLocation,
|
|
@@ -3091,8 +3091,8 @@ function _d(e) {
|
|
|
3091
3091
|
l.isTransitioning && !l.flushSync && d(new Ss());
|
|
3092
3092
|
}, [l]), C.useEffect(() => {
|
|
3093
3093
|
if (u && i && n.window) {
|
|
3094
|
-
let
|
|
3095
|
-
b(() => a(
|
|
3094
|
+
let L = i, K = u.promise, B = n.window.document.startViewTransition(async () => {
|
|
3095
|
+
b(() => a(L)), await K;
|
|
3096
3096
|
});
|
|
3097
3097
|
B.finished.finally(() => {
|
|
3098
3098
|
d(void 0), v(void 0), s(void 0), c({
|
|
@@ -3112,40 +3112,40 @@ function _d(e) {
|
|
|
3112
3112
|
}, [l.isTransitioning, p]), C.useEffect(() => {
|
|
3113
3113
|
process.env.NODE_ENV !== "production" && be(t == null || !n.future.v7_partialHydration, "`<RouterProvider fallbackElement>` is deprecated when using `v7_partialHydration`, use a `HydrateFallback` component instead");
|
|
3114
3114
|
}, []);
|
|
3115
|
-
let
|
|
3115
|
+
let _ = C.useMemo(() => ({
|
|
3116
3116
|
createHref: n.createHref,
|
|
3117
3117
|
encodeLocation: n.encodeLocation,
|
|
3118
|
-
go: (
|
|
3119
|
-
push: (
|
|
3118
|
+
go: (L) => n.navigate(L),
|
|
3119
|
+
push: (L, K, B) => n.navigate(L, {
|
|
3120
3120
|
state: K,
|
|
3121
3121
|
preventScrollReset: B == null ? void 0 : B.preventScrollReset
|
|
3122
3122
|
}),
|
|
3123
|
-
replace: (
|
|
3123
|
+
replace: (L, K, B) => n.navigate(L, {
|
|
3124
3124
|
replace: !0,
|
|
3125
3125
|
state: K,
|
|
3126
3126
|
preventScrollReset: B == null ? void 0 : B.preventScrollReset
|
|
3127
3127
|
})
|
|
3128
|
-
}), [n]),
|
|
3128
|
+
}), [n]), T = n.basename || "/", U = C.useMemo(() => ({
|
|
3129
3129
|
router: n,
|
|
3130
|
-
navigator:
|
|
3130
|
+
navigator: _,
|
|
3131
3131
|
static: !1,
|
|
3132
|
-
basename:
|
|
3133
|
-
}), [n,
|
|
3132
|
+
basename: T
|
|
3133
|
+
}), [n, _, T]), w = C.useMemo(() => ({
|
|
3134
3134
|
v7_relativeSplatPath: n.future.v7_relativeSplatPath
|
|
3135
3135
|
}), [n.future.v7_relativeSplatPath]);
|
|
3136
|
-
return C.useEffect(() => es(r, n.future), [r, n.future]), /* @__PURE__ */ C.createElement(C.Fragment, null, /* @__PURE__ */ C.createElement(
|
|
3136
|
+
return C.useEffect(() => es(r, n.future), [r, n.future]), /* @__PURE__ */ C.createElement(C.Fragment, null, /* @__PURE__ */ C.createElement(_t.Provider, {
|
|
3137
3137
|
value: U
|
|
3138
3138
|
}, /* @__PURE__ */ C.createElement(Ln.Provider, {
|
|
3139
3139
|
value: o
|
|
3140
3140
|
}, /* @__PURE__ */ C.createElement(Jo.Provider, {
|
|
3141
3141
|
value: y.current
|
|
3142
|
-
}, /* @__PURE__ */ C.createElement(
|
|
3142
|
+
}, /* @__PURE__ */ C.createElement(_r.Provider, {
|
|
3143
3143
|
value: l
|
|
3144
3144
|
}, /* @__PURE__ */ C.createElement(ts, {
|
|
3145
|
-
basename:
|
|
3145
|
+
basename: T,
|
|
3146
3146
|
location: o.location,
|
|
3147
3147
|
navigationType: o.historyAction,
|
|
3148
|
-
navigator:
|
|
3148
|
+
navigator: _,
|
|
3149
3149
|
future: w
|
|
3150
3150
|
}, o.initialized || n.future.v7_partialHydration ? /* @__PURE__ */ C.createElement(Es, {
|
|
3151
3151
|
routes: n.routes,
|
|
@@ -3174,19 +3174,19 @@ const Rs = typeof window < "u" && typeof window.document < "u" && typeof window.
|
|
|
3174
3174
|
to: c,
|
|
3175
3175
|
preventScrollReset: u,
|
|
3176
3176
|
viewTransition: d
|
|
3177
|
-
} = t, m =
|
|
3177
|
+
} = t, m = Tr(t, fs), {
|
|
3178
3178
|
basename: v
|
|
3179
3179
|
} = C.useContext(ze), p, h = !1;
|
|
3180
3180
|
if (typeof c == "string" && ks.test(c) && (p = c, Rs))
|
|
3181
3181
|
try {
|
|
3182
|
-
let x = new URL(window.location.href),
|
|
3183
|
-
|
|
3182
|
+
let x = new URL(window.location.href), _ = c.startsWith("//") ? new URL(x.protocol + c) : new URL(c), T = $e(_.pathname, v);
|
|
3183
|
+
_.origin === x.origin && T != null ? c = T + _.search + _.hash : h = !0;
|
|
3184
3184
|
} catch {
|
|
3185
3185
|
process.env.NODE_ENV !== "production" && be(!1, '<Link to="' + c + '"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.');
|
|
3186
3186
|
}
|
|
3187
3187
|
let y = Ii(c, {
|
|
3188
3188
|
relative: o
|
|
3189
|
-
}), k =
|
|
3189
|
+
}), k = _s(c, {
|
|
3190
3190
|
replace: i,
|
|
3191
3191
|
state: s,
|
|
3192
3192
|
target: l,
|
|
@@ -3218,23 +3218,23 @@ const xs = /* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
|
3218
3218
|
to: l,
|
|
3219
3219
|
viewTransition: c,
|
|
3220
3220
|
children: u
|
|
3221
|
-
} = t, d =
|
|
3221
|
+
} = t, d = Tr(t, hs), m = Yt(l, {
|
|
3222
3222
|
relative: d.relative
|
|
3223
3223
|
}), v = rt(), p = C.useContext(Ln), {
|
|
3224
3224
|
navigator: h,
|
|
3225
3225
|
basename: y
|
|
3226
3226
|
} = C.useContext(ze), k = p != null && // Conditional usage is OK here because the usage of a data router is static
|
|
3227
3227
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
3228
|
-
Ds(m) && c === !0, b = h.encodeLocation ? h.encodeLocation(m).pathname : m.pathname, x = v.pathname,
|
|
3229
|
-
o || (x = x.toLowerCase(),
|
|
3230
|
-
const
|
|
3231
|
-
let U = x === b || !i && x.startsWith(b) && x.charAt(
|
|
3228
|
+
Ds(m) && c === !0, b = h.encodeLocation ? h.encodeLocation(m).pathname : m.pathname, x = v.pathname, _ = p && p.navigation && p.navigation.location ? p.navigation.location.pathname : null;
|
|
3229
|
+
o || (x = x.toLowerCase(), _ = _ ? _.toLowerCase() : null, b = b.toLowerCase()), _ && y && (_ = $e(_, y) || _);
|
|
3230
|
+
const T = b !== "/" && b.endsWith("/") ? b.length - 1 : b.length;
|
|
3231
|
+
let U = x === b || !i && x.startsWith(b) && x.charAt(T) === "/", w = _ != null && (_ === b || !i && _.startsWith(b) && _.charAt(b.length) === "/"), L = {
|
|
3232
3232
|
isActive: U,
|
|
3233
3233
|
isPending: w,
|
|
3234
3234
|
isTransitioning: k
|
|
3235
3235
|
}, K = U ? r : void 0, B;
|
|
3236
|
-
typeof a == "function" ? B = a(
|
|
3237
|
-
let ae = typeof s == "function" ? s(
|
|
3236
|
+
typeof a == "function" ? B = a(L) : B = [a, U ? "active" : null, w ? "pending" : null, k ? "transitioning" : null].filter(Boolean).join(" ");
|
|
3237
|
+
let ae = typeof s == "function" ? s(L) : s;
|
|
3238
3238
|
return /* @__PURE__ */ C.createElement(Wo, ut({}, d, {
|
|
3239
3239
|
"aria-current": K,
|
|
3240
3240
|
className: B,
|
|
@@ -3242,7 +3242,7 @@ const xs = /* @__PURE__ */ C.forwardRef(function(t, n) {
|
|
|
3242
3242
|
style: ae,
|
|
3243
3243
|
to: l,
|
|
3244
3244
|
viewTransition: c
|
|
3245
|
-
}), typeof u == "function" ? u(
|
|
3245
|
+
}), typeof u == "function" ? u(L) : u);
|
|
3246
3246
|
});
|
|
3247
3247
|
process.env.NODE_ENV !== "production" && (xs.displayName = "NavLink");
|
|
3248
3248
|
const Ns = /* @__PURE__ */ C.forwardRef((e, t) => {
|
|
@@ -3258,15 +3258,15 @@ const Ns = /* @__PURE__ */ C.forwardRef((e, t) => {
|
|
|
3258
3258
|
relative: u,
|
|
3259
3259
|
preventScrollReset: d,
|
|
3260
3260
|
viewTransition: m
|
|
3261
|
-
} = e, v =
|
|
3261
|
+
} = e, v = Tr(e, ps), p = Ms(), h = As(l, {
|
|
3262
3262
|
relative: u
|
|
3263
3263
|
}), y = s.toLowerCase() === "get" ? "get" : "post", k = (b) => {
|
|
3264
3264
|
if (c && c(b), b.defaultPrevented) return;
|
|
3265
3265
|
b.preventDefault();
|
|
3266
|
-
let x = b.nativeEvent.submitter,
|
|
3266
|
+
let x = b.nativeEvent.submitter, _ = (x == null ? void 0 : x.getAttribute("formmethod")) || s;
|
|
3267
3267
|
p(x || b.currentTarget, {
|
|
3268
3268
|
fetcherKey: n,
|
|
3269
|
-
method:
|
|
3269
|
+
method: _,
|
|
3270
3270
|
navigate: r,
|
|
3271
3271
|
replace: a,
|
|
3272
3272
|
state: i,
|
|
@@ -3292,14 +3292,14 @@ var uo;
|
|
|
3292
3292
|
(function(e) {
|
|
3293
3293
|
e.UseFetcher = "useFetcher", e.UseFetchers = "useFetchers", e.UseScrollRestoration = "useScrollRestoration";
|
|
3294
3294
|
})(uo || (uo = {}));
|
|
3295
|
-
function
|
|
3295
|
+
function Ts(e) {
|
|
3296
3296
|
return e + " must be used within a data router. See https://reactrouter.com/v6/routers/picking-a-router.";
|
|
3297
3297
|
}
|
|
3298
3298
|
function qo(e) {
|
|
3299
|
-
let t = C.useContext(
|
|
3300
|
-
return t || (process.env.NODE_ENV !== "production" ? I(!1,
|
|
3299
|
+
let t = C.useContext(_t);
|
|
3300
|
+
return t || (process.env.NODE_ENV !== "production" ? I(!1, Ts(e)) : I(!1)), t;
|
|
3301
3301
|
}
|
|
3302
|
-
function
|
|
3302
|
+
function _s(e, t) {
|
|
3303
3303
|
let {
|
|
3304
3304
|
target: n,
|
|
3305
3305
|
replace: r,
|
|
@@ -3324,7 +3324,7 @@ function Ts(e, t) {
|
|
|
3324
3324
|
}
|
|
3325
3325
|
}, [c, l, u, r, o, n, e, a, i, s]);
|
|
3326
3326
|
}
|
|
3327
|
-
function
|
|
3327
|
+
function _d(e) {
|
|
3328
3328
|
process.env.NODE_ENV !== "production" && be(typeof URLSearchParams < "u", "You cannot use the `useSearchParams` hook in a browser that does not support the URLSearchParams API. If you need to support Internet Explorer 11, we recommend you load a polyfill such as https://github.com/ungap/url-search-params.");
|
|
3329
3329
|
let t = C.useRef(sr(e)), n = C.useRef(!1), r = rt(), o = C.useMemo(() => (
|
|
3330
3330
|
// Only merge in the defaults if we haven't yet called setSearchParams.
|
|
@@ -3405,7 +3405,7 @@ function As(e, t) {
|
|
|
3405
3405
|
}
|
|
3406
3406
|
function Ds(e, t) {
|
|
3407
3407
|
t === void 0 && (t = {});
|
|
3408
|
-
let n = C.useContext(
|
|
3408
|
+
let n = C.useContext(_r);
|
|
3409
3409
|
n == null && (process.env.NODE_ENV !== "production" ? I(!1, "`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`. Did you accidentally import `RouterProvider` from `react-router`?") : I(!1));
|
|
3410
3410
|
let {
|
|
3411
3411
|
basename: r
|
|
@@ -3443,12 +3443,12 @@ const Ld = [
|
|
|
3443
3443
|
return s;
|
|
3444
3444
|
}, Is = (e) => e ? fo(e) : fo, Bs = (e) => e;
|
|
3445
3445
|
function Hs(e, t = Bs) {
|
|
3446
|
-
const n =
|
|
3446
|
+
const n = _e.useSyncExternalStore(
|
|
3447
3447
|
e.subscribe,
|
|
3448
3448
|
() => t(e.getState()),
|
|
3449
3449
|
() => t(e.getInitialState())
|
|
3450
3450
|
);
|
|
3451
|
-
return
|
|
3451
|
+
return _e.useDebugValue(n), n;
|
|
3452
3452
|
}
|
|
3453
3453
|
const ho = (e) => {
|
|
3454
3454
|
const t = Is(e), n = (r) => Hs(t, r);
|
|
@@ -3825,10 +3825,10 @@ function mo(e, t, n) {
|
|
|
3825
3825
|
return o = oa(o), !n && a ? "[" + o + "]" : o;
|
|
3826
3826
|
}).join(n ? "." : "") : t;
|
|
3827
3827
|
}
|
|
3828
|
-
function
|
|
3828
|
+
function Tl(e) {
|
|
3829
3829
|
return E.isArray(e) && !e.some(cr);
|
|
3830
3830
|
}
|
|
3831
|
-
const
|
|
3831
|
+
const _l = E.toFlatObject(E, {}, null, function(t) {
|
|
3832
3832
|
return /^is[A-Z]/.test(t);
|
|
3833
3833
|
});
|
|
3834
3834
|
function Fn(e, t, n) {
|
|
@@ -3857,18 +3857,18 @@ function Fn(e, t, n) {
|
|
|
3857
3857
|
if (p && !y && typeof p == "object") {
|
|
3858
3858
|
if (E.endsWith(h, "{}"))
|
|
3859
3859
|
h = r ? h : h.slice(0, -2), p = JSON.stringify(p);
|
|
3860
|
-
else if (E.isArray(p) &&
|
|
3861
|
-
return h = oa(h), k.forEach(function(x,
|
|
3860
|
+
else if (E.isArray(p) && Tl(p) || (E.isFileList(p) || E.endsWith(h, "[]")) && (k = E.toArray(p)))
|
|
3861
|
+
return h = oa(h), k.forEach(function(x, _) {
|
|
3862
3862
|
!(E.isUndefined(x) || x === null) && t.append(
|
|
3863
3863
|
// eslint-disable-next-line no-nested-ternary
|
|
3864
|
-
i === !0 ? mo([h],
|
|
3864
|
+
i === !0 ? mo([h], _, a) : i === null ? h : h + "[]",
|
|
3865
3865
|
c(x)
|
|
3866
3866
|
);
|
|
3867
3867
|
}), !1;
|
|
3868
3868
|
}
|
|
3869
3869
|
return cr(p) ? !0 : (t.append(mo(y, h, a), c(p)), !1);
|
|
3870
3870
|
}
|
|
3871
|
-
const d = [], m = Object.assign(
|
|
3871
|
+
const d = [], m = Object.assign(_l, {
|
|
3872
3872
|
defaultVisitor: u,
|
|
3873
3873
|
convertValue: c,
|
|
3874
3874
|
isVisitable: cr
|
|
@@ -4013,14 +4013,14 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", Il
|
|
|
4013
4013
|
hasStandardBrowserWebWorkerEnv: Fl,
|
|
4014
4014
|
navigator: ur,
|
|
4015
4015
|
origin: Il
|
|
4016
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
4016
|
+
}, Symbol.toStringTag, { value: "Module" })), Te = {
|
|
4017
4017
|
...Bl,
|
|
4018
4018
|
...Al
|
|
4019
4019
|
};
|
|
4020
4020
|
function Hl(e, t) {
|
|
4021
|
-
return Fn(e, new
|
|
4021
|
+
return Fn(e, new Te.classes.URLSearchParams(), Object.assign({
|
|
4022
4022
|
visitor: function(n, r, o, a) {
|
|
4023
|
-
return
|
|
4023
|
+
return Te.isNode && E.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
|
|
4024
4024
|
}
|
|
4025
4025
|
}, t));
|
|
4026
4026
|
}
|
|
@@ -4114,8 +4114,8 @@ const Qt = {
|
|
|
4114
4114
|
maxContentLength: -1,
|
|
4115
4115
|
maxBodyLength: -1,
|
|
4116
4116
|
env: {
|
|
4117
|
-
FormData:
|
|
4118
|
-
Blob:
|
|
4117
|
+
FormData: Te.classes.FormData,
|
|
4118
|
+
Blob: Te.classes.Blob
|
|
4119
4119
|
},
|
|
4120
4120
|
validateStatus: function(t) {
|
|
4121
4121
|
return t >= 200 && t < 300;
|
|
@@ -4407,10 +4407,10 @@ const Nn = (e, t, n = 3) => {
|
|
|
4407
4407
|
total: e,
|
|
4408
4408
|
loaded: r
|
|
4409
4409
|
}), t[1]];
|
|
4410
|
-
}, bo = (e) => (...t) => E.asap(() => e(...t)), Xl =
|
|
4411
|
-
new URL(
|
|
4412
|
-
|
|
4413
|
-
) : () => !0, Ql =
|
|
4410
|
+
}, bo = (e) => (...t) => E.asap(() => e(...t)), Xl = Te.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, Te.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
|
|
4411
|
+
new URL(Te.origin),
|
|
4412
|
+
Te.navigator && /(msie|trident)/i.test(Te.navigator.userAgent)
|
|
4413
|
+
) : () => !0, Ql = Te.hasStandardBrowserEnv ? (
|
|
4414
4414
|
// Standard browser envs support document.cookie
|
|
4415
4415
|
{
|
|
4416
4416
|
write(e, t, n, r, o, a) {
|
|
@@ -4521,14 +4521,14 @@ const fa = (e) => {
|
|
|
4521
4521
|
);
|
|
4522
4522
|
let l;
|
|
4523
4523
|
if (E.isFormData(n)) {
|
|
4524
|
-
if (
|
|
4524
|
+
if (Te.hasStandardBrowserEnv || Te.hasStandardBrowserWebWorkerEnv)
|
|
4525
4525
|
i.setContentType(void 0);
|
|
4526
4526
|
else if ((l = i.getContentType()) !== !1) {
|
|
4527
4527
|
const [c, ...u] = l ? l.split(";").map((d) => d.trim()).filter(Boolean) : [];
|
|
4528
4528
|
i.setContentType([c || "multipart/form-data", ...u].join("; "));
|
|
4529
4529
|
}
|
|
4530
4530
|
}
|
|
4531
|
-
if (
|
|
4531
|
+
if (Te.hasStandardBrowserEnv && (r && E.isFunction(r) && (r = r(t)), r || r !== !1 && Xl(t.url))) {
|
|
4532
4532
|
const c = o && a && Ql.read(a);
|
|
4533
4533
|
c && i.set(o, c);
|
|
4534
4534
|
}
|
|
@@ -4549,7 +4549,7 @@ const fa = (e) => {
|
|
|
4549
4549
|
return;
|
|
4550
4550
|
const x = Fe.from(
|
|
4551
4551
|
"getAllResponseHeaders" in y && y.getAllResponseHeaders()
|
|
4552
|
-
),
|
|
4552
|
+
), T = {
|
|
4553
4553
|
data: !s || s === "text" || s === "json" ? y.responseText : y.response,
|
|
4554
4554
|
status: y.status,
|
|
4555
4555
|
statusText: y.statusText,
|
|
@@ -4561,7 +4561,7 @@ const fa = (e) => {
|
|
|
4561
4561
|
n(w), h();
|
|
4562
4562
|
}, function(w) {
|
|
4563
4563
|
r(w), h();
|
|
4564
|
-
},
|
|
4564
|
+
}, T), y = null;
|
|
4565
4565
|
}
|
|
4566
4566
|
"onloadend" in y ? y.onloadend = k : y.onreadystatechange = function() {
|
|
4567
4567
|
!y || y.readyState !== 4 || y.status === 0 && !(y.responseURL && y.responseURL.indexOf("file:") === 0) || setTimeout(k);
|
|
@@ -4570,21 +4570,21 @@ const fa = (e) => {
|
|
|
4570
4570
|
}, y.onerror = function() {
|
|
4571
4571
|
r(new $("Network Error", $.ERR_NETWORK, e, y)), y = null;
|
|
4572
4572
|
}, y.ontimeout = function() {
|
|
4573
|
-
let
|
|
4574
|
-
const
|
|
4575
|
-
o.timeoutErrorMessage && (
|
|
4576
|
-
|
|
4577
|
-
|
|
4573
|
+
let _ = o.timeout ? "timeout of " + o.timeout + "ms exceeded" : "timeout exceeded";
|
|
4574
|
+
const T = o.transitional || sa;
|
|
4575
|
+
o.timeoutErrorMessage && (_ = o.timeoutErrorMessage), r(new $(
|
|
4576
|
+
_,
|
|
4577
|
+
T.clarifyTimeoutError ? $.ETIMEDOUT : $.ECONNABORTED,
|
|
4578
4578
|
e,
|
|
4579
4579
|
y
|
|
4580
4580
|
)), y = null;
|
|
4581
|
-
}, a === void 0 && i.setContentType(null), "setRequestHeader" in y && E.forEach(i.toJSON(), function(
|
|
4582
|
-
y.setRequestHeader(
|
|
4581
|
+
}, a === void 0 && i.setContentType(null), "setRequestHeader" in y && E.forEach(i.toJSON(), function(_, T) {
|
|
4582
|
+
y.setRequestHeader(T, _);
|
|
4583
4583
|
}), E.isUndefined(o.withCredentials) || (y.withCredentials = !!o.withCredentials), s && s !== "json" && (y.responseType = o.responseType), c && ([m, p] = Nn(c, !0), y.addEventListener("progress", m)), l && y.upload && ([d, v] = Nn(l), y.upload.addEventListener("progress", d), y.upload.addEventListener("loadend", v)), (o.cancelToken || o.signal) && (u = (x) => {
|
|
4584
4584
|
y && (r(!x || x.type ? new Pt(null, e, y) : x), y.abort(), y = null);
|
|
4585
4585
|
}, o.cancelToken && o.cancelToken.subscribe(u), o.signal && (o.signal.aborted ? u() : o.signal.addEventListener("abort", u)));
|
|
4586
4586
|
const b = Kl(o.url);
|
|
4587
|
-
if (b &&
|
|
4587
|
+
if (b && Te.protocols.indexOf(b) === -1) {
|
|
4588
4588
|
r(new $("Unsupported protocol " + b + ":", $.ERR_BAD_REQUEST, e));
|
|
4589
4589
|
return;
|
|
4590
4590
|
}
|
|
@@ -4678,7 +4678,7 @@ const fa = (e) => {
|
|
|
4678
4678
|
}
|
|
4679
4679
|
}, cc = ha && pa(() => {
|
|
4680
4680
|
let e = !1;
|
|
4681
|
-
const t = new Request(
|
|
4681
|
+
const t = new Request(Te.origin, {
|
|
4682
4682
|
body: new ReadableStream(),
|
|
4683
4683
|
method: "POST",
|
|
4684
4684
|
get duplex() {
|
|
@@ -4686,12 +4686,12 @@ const fa = (e) => {
|
|
|
4686
4686
|
}
|
|
4687
4687
|
}).headers.has("Content-Type");
|
|
4688
4688
|
return e && !t;
|
|
4689
|
-
}), Co = 64 * 1024, dr = ha && pa(() => E.isReadableStream(new Response("").body)),
|
|
4689
|
+
}), Co = 64 * 1024, dr = ha && pa(() => E.isReadableStream(new Response("").body)), Tn = {
|
|
4690
4690
|
stream: dr && ((e) => e.body)
|
|
4691
4691
|
};
|
|
4692
4692
|
In && ((e) => {
|
|
4693
4693
|
["text", "arrayBuffer", "blob", "formData", "stream"].forEach((t) => {
|
|
4694
|
-
!
|
|
4694
|
+
!Tn[t] && (Tn[t] = E.isFunction(e[t]) ? (n) => n[t]() : (n, r) => {
|
|
4695
4695
|
throw new $(`Response type '${t}' is not supported`, $.ERR_NOT_SUPPORT, r);
|
|
4696
4696
|
});
|
|
4697
4697
|
});
|
|
@@ -4702,7 +4702,7 @@ const uc = async (e) => {
|
|
|
4702
4702
|
if (E.isBlob(e))
|
|
4703
4703
|
return e.size;
|
|
4704
4704
|
if (E.isSpecCompliantForm(e))
|
|
4705
|
-
return (await new Request(
|
|
4705
|
+
return (await new Request(Te.origin, {
|
|
4706
4706
|
method: "POST",
|
|
4707
4707
|
body: e
|
|
4708
4708
|
}).arrayBuffer()).byteLength;
|
|
@@ -4736,17 +4736,17 @@ const uc = async (e) => {
|
|
|
4736
4736
|
let y;
|
|
4737
4737
|
try {
|
|
4738
4738
|
if (l && cc && n !== "get" && n !== "head" && (y = await dc(u, r)) !== 0) {
|
|
4739
|
-
let
|
|
4739
|
+
let T = new Request(t, {
|
|
4740
4740
|
method: "POST",
|
|
4741
4741
|
body: r,
|
|
4742
4742
|
duplex: "half"
|
|
4743
4743
|
}), U;
|
|
4744
|
-
if (E.isFormData(r) && (U =
|
|
4745
|
-
const [w,
|
|
4744
|
+
if (E.isFormData(r) && (U = T.headers.get("content-type")) && u.setContentType(U), T.body) {
|
|
4745
|
+
const [w, L] = wo(
|
|
4746
4746
|
y,
|
|
4747
4747
|
Nn(bo(l))
|
|
4748
4748
|
);
|
|
4749
|
-
r = Eo(
|
|
4749
|
+
r = Eo(T.body, Co, w, L);
|
|
4750
4750
|
}
|
|
4751
4751
|
}
|
|
4752
4752
|
E.isString(d) || (d = d ? "include" : "omit");
|
|
@@ -4763,26 +4763,26 @@ const uc = async (e) => {
|
|
|
4763
4763
|
let b = await fetch(p);
|
|
4764
4764
|
const x = dr && (c === "stream" || c === "response");
|
|
4765
4765
|
if (dr && (s || x && h)) {
|
|
4766
|
-
const
|
|
4766
|
+
const T = {};
|
|
4767
4767
|
["status", "statusText", "headers"].forEach((K) => {
|
|
4768
|
-
|
|
4768
|
+
T[K] = b[K];
|
|
4769
4769
|
});
|
|
4770
|
-
const U = E.toFiniteNumber(b.headers.get("content-length")), [w,
|
|
4770
|
+
const U = E.toFiniteNumber(b.headers.get("content-length")), [w, L] = s && wo(
|
|
4771
4771
|
U,
|
|
4772
4772
|
Nn(bo(s), !0)
|
|
4773
4773
|
) || [];
|
|
4774
4774
|
b = new Response(
|
|
4775
4775
|
Eo(b.body, Co, w, () => {
|
|
4776
|
-
|
|
4776
|
+
L && L(), h && h();
|
|
4777
4777
|
}),
|
|
4778
|
-
|
|
4778
|
+
T
|
|
4779
4779
|
);
|
|
4780
4780
|
}
|
|
4781
4781
|
c = c || "text";
|
|
4782
|
-
let
|
|
4783
|
-
return !x && h && h(), await new Promise((
|
|
4784
|
-
ua(
|
|
4785
|
-
data:
|
|
4782
|
+
let _ = await Tn[E.findKey(Tn, c) || "text"](b, e);
|
|
4783
|
+
return !x && h && h(), await new Promise((T, U) => {
|
|
4784
|
+
ua(T, U, {
|
|
4785
|
+
data: _,
|
|
4786
4786
|
headers: Fe.from(b.headers),
|
|
4787
4787
|
status: b.status,
|
|
4788
4788
|
statusText: b.statusText,
|
|
@@ -5232,10 +5232,8 @@ const {
|
|
|
5232
5232
|
mergeConfig: Kd
|
|
5233
5233
|
} = de, hn = "https://localhost:5043", st = async (e) => {
|
|
5234
5234
|
var m, v;
|
|
5235
|
-
const { url: t, withToken: n, method: r, body: o, contentType: a, typeToken: i = "seller" } = e, s = n ? localStorage.getItem("sellerAccessToken") : null, l = n ? localStorage.getItem("token") : null, c = i === "seller" ? s : l, u = localStorage.getItem("dv"), d = {
|
|
5236
|
-
|
|
5237
|
-
};
|
|
5238
|
-
n && c && (d.Authorization = `Bearer ${c}`);
|
|
5235
|
+
const { url: t, withToken: n, method: r, body: o, contentType: a, typeToken: i = "seller" } = e, s = n ? localStorage.getItem("sellerAccessToken") : null, l = n ? localStorage.getItem("token") : null, c = i === "seller" ? s : l, u = localStorage.getItem("dv"), d = {};
|
|
5236
|
+
a && !(o instanceof FormData) ? d["Content-Type"] = a : o instanceof FormData || (d["Content-Type"] = "application/json"), n && c && (d.Authorization = `Bearer ${c}`);
|
|
5239
5237
|
try {
|
|
5240
5238
|
let p = null;
|
|
5241
5239
|
switch (r) {
|
|
@@ -5262,10 +5260,13 @@ const {
|
|
|
5262
5260
|
let k = "Something Went Wrong";
|
|
5263
5261
|
y && (k = y.errors[0]);
|
|
5264
5262
|
const b = (v = h.response) == null ? void 0 : v.status;
|
|
5265
|
-
if (b === 401)
|
|
5266
|
-
|
|
5267
|
-
|
|
5268
|
-
|
|
5263
|
+
if (b === 401)
|
|
5264
|
+
try {
|
|
5265
|
+
const _ = await import("./charge-Nfq6BBT0.js").then((T) => T._);
|
|
5266
|
+
_ && _.logoutCustomer ? await _.logoutCustomer() : localStorage.removeItem("token"), window.location.reload();
|
|
5267
|
+
} catch (_) {
|
|
5268
|
+
console.error("Failed to import logoutCustomer:", _), localStorage.removeItem("token"), window.location.reload();
|
|
5269
|
+
}
|
|
5269
5270
|
const x = new vc(k, (b == null ? void 0 : b.toString()) || "400");
|
|
5270
5271
|
throw x.response = h.response, x;
|
|
5271
5272
|
}
|
|
@@ -5322,13 +5323,13 @@ const {
|
|
|
5322
5323
|
(t === null || typeof t != "object") && window.localStorage.setItem(e, String(t));
|
|
5323
5324
|
const n = JSON.stringify(t);
|
|
5324
5325
|
window.localStorage.setItem(e, n);
|
|
5325
|
-
}, Qn = "f10120ab-7ebb-4785-b240-7428edaa3c4e", Ht = "https://t-api.billgang.com", Ut = "https://internal-t-api.antistock.io", zt = "I", xc = 10 * 1e3, Nc = 15 * 1e3,
|
|
5326
|
+
}, Qn = "f10120ab-7ebb-4785-b240-7428edaa3c4e", Ht = "https://t-api.billgang.com", Ut = "https://internal-t-api.antistock.io", zt = "I", xc = 10 * 1e3, Nc = 15 * 1e3, Tc = 15 * 60 * 1e3, _c = () => {
|
|
5326
5327
|
var t;
|
|
5327
5328
|
const e = pr(zt);
|
|
5328
5329
|
return ((t = e == null ? void 0 : e.s) == null ? void 0 : t.i) || null;
|
|
5329
5330
|
}, nf = (e, t = "production", n) => {
|
|
5330
5331
|
const { pathname: r } = rt(), o = jr(), a = jr(document.visibilityState);
|
|
5331
|
-
|
|
5332
|
+
_a(() => {
|
|
5332
5333
|
if (!e) return;
|
|
5333
5334
|
const i = () => Date.now(), s = async () => (await st({
|
|
5334
5335
|
url: `${n ? Ut : Ht}/${e}/t/p`,
|
|
@@ -5375,32 +5376,32 @@ const {
|
|
|
5375
5376
|
}
|
|
5376
5377
|
}, xc);
|
|
5377
5378
|
}, m = async () => {
|
|
5378
|
-
var k, b, x,
|
|
5379
|
+
var k, b, x, _;
|
|
5379
5380
|
const p = `${window.location.hostname}${r}`, h = pr(zt), y = i();
|
|
5380
5381
|
try {
|
|
5381
|
-
let
|
|
5382
|
-
|
|
5382
|
+
let T = h == null ? void 0 : h.p;
|
|
5383
|
+
T || (T = await s());
|
|
5383
5384
|
let U = (k = h == null ? void 0 : h.s) == null ? void 0 : k.i;
|
|
5384
|
-
const w = Number(((b = h == null ? void 0 : h.s) == null ? void 0 : b.u) || ((x = h == null ? void 0 : h.s) == null ? void 0 : x.c)),
|
|
5385
|
-
(!U ||
|
|
5385
|
+
const w = Number(((b = h == null ? void 0 : h.s) == null ? void 0 : b.u) || ((x = h == null ? void 0 : h.s) == null ? void 0 : x.c)), L = !U || y - w > Tc;
|
|
5386
|
+
(!U || L) && (U = await l(T));
|
|
5386
5387
|
const K = Number((h == null ? void 0 : h.lu) || 0), B = y - K > Nc, ae = await c(
|
|
5387
|
-
|
|
5388
|
+
T,
|
|
5388
5389
|
U,
|
|
5389
5390
|
p,
|
|
5390
5391
|
h != null && h.l && !B ? h.l : void 0
|
|
5391
5392
|
), ee = {
|
|
5392
|
-
p:
|
|
5393
|
+
p: T,
|
|
5393
5394
|
s: {
|
|
5394
5395
|
i: U,
|
|
5395
|
-
c: ((
|
|
5396
|
+
c: ((_ = h == null ? void 0 : h.s) == null ? void 0 : _.c) ?? y.toString(),
|
|
5396
5397
|
u: y.toString()
|
|
5397
5398
|
},
|
|
5398
5399
|
l: ae,
|
|
5399
5400
|
lu: y.toString()
|
|
5400
5401
|
};
|
|
5401
|
-
No(zt, ee), d(
|
|
5402
|
-
} catch (
|
|
5403
|
-
console.error("[TrackingAnalytics] error",
|
|
5402
|
+
No(zt, ee), d(T, U, ae);
|
|
5403
|
+
} catch (T) {
|
|
5404
|
+
console.error("[TrackingAnalytics] error", T);
|
|
5404
5405
|
}
|
|
5405
5406
|
};
|
|
5406
5407
|
m();
|
|
@@ -5420,23 +5421,23 @@ const {
|
|
|
5420
5421
|
customFields: {},
|
|
5421
5422
|
discordSocialConnectId: null,
|
|
5422
5423
|
coupon: null,
|
|
5423
|
-
tsId:
|
|
5424
|
+
tsId: _c()
|
|
5424
5425
|
};
|
|
5425
|
-
let
|
|
5426
|
-
const
|
|
5427
|
-
if (
|
|
5426
|
+
let Tt = null;
|
|
5427
|
+
const To = localStorage.getItem("token");
|
|
5428
|
+
if (To)
|
|
5428
5429
|
try {
|
|
5429
|
-
|
|
5430
|
+
Tt = js(JSON.parse(To) || "");
|
|
5430
5431
|
} catch {
|
|
5431
|
-
|
|
5432
|
+
Tt = null;
|
|
5432
5433
|
}
|
|
5433
5434
|
const rf = se((e) => ({
|
|
5434
|
-
cart: { ...Lc, customerEmail:
|
|
5435
|
+
cart: { ...Lc, customerEmail: Tt ? Tt.email : "" },
|
|
5435
5436
|
products: [],
|
|
5436
5437
|
coupon: null,
|
|
5437
5438
|
pending: !1,
|
|
5438
5439
|
applyCouponPending: !1,
|
|
5439
|
-
customerEmail:
|
|
5440
|
+
customerEmail: Tt ? Tt.email : "",
|
|
5440
5441
|
recaptcha: "",
|
|
5441
5442
|
priceAdjustment: null,
|
|
5442
5443
|
serviceFee: null,
|
|
@@ -5493,7 +5494,7 @@ const rf = se((e) => ({
|
|
|
5493
5494
|
setGeneral: (t) => e(() => ({ general: t })),
|
|
5494
5495
|
isAntistock: !1,
|
|
5495
5496
|
setIsAntistock: (t) => e(() => ({ isAntistock: t }))
|
|
5496
|
-
})),
|
|
5497
|
+
})), _o = se((e) => ({
|
|
5497
5498
|
settings: null,
|
|
5498
5499
|
setSettings: (t) => {
|
|
5499
5500
|
e(() => ({ settings: t }));
|
|
@@ -6002,11 +6003,11 @@ const gr = (e) => (t) => {
|
|
|
6002
6003
|
return [!1, void 0];
|
|
6003
6004
|
}).then((b) => {
|
|
6004
6005
|
var x;
|
|
6005
|
-
const [
|
|
6006
|
+
const [_, T] = b;
|
|
6006
6007
|
if (v = a.merge(
|
|
6007
|
-
|
|
6008
|
+
T,
|
|
6008
6009
|
(x = r()) != null ? x : m
|
|
6009
|
-
), n(v, !0),
|
|
6010
|
+
), n(v, !0), _)
|
|
6010
6011
|
return u();
|
|
6011
6012
|
}).then(() => {
|
|
6012
6013
|
k == null || k(v, void 0), v = r(), i = !0, l.forEach((b) => b(v));
|
|
@@ -6034,7 +6035,7 @@ const gr = (e) => (t) => {
|
|
|
6034
6035
|
l.delete(h);
|
|
6035
6036
|
})
|
|
6036
6037
|
}, a.skipHydration || p(), v || m;
|
|
6037
|
-
}, Un = Ic,
|
|
6038
|
+
}, Un = Ic, _n = se(
|
|
6038
6039
|
Un(
|
|
6039
6040
|
(e, t) => ({
|
|
6040
6041
|
pages: null,
|
|
@@ -6139,7 +6140,7 @@ const gr = (e) => (t) => {
|
|
|
6139
6140
|
e({ currentBlock: n });
|
|
6140
6141
|
},
|
|
6141
6142
|
setPositionBlock: (n, r = !1) => {
|
|
6142
|
-
const { blocks: o } = t(), { currentPage: a, pages: i } =
|
|
6143
|
+
const { blocks: o } = t(), { currentPage: a, pages: i } = _n.getState();
|
|
6143
6144
|
if (!a || !i || !i[a] || !o[i[a].path]) {
|
|
6144
6145
|
console.error("Cannot set position: invalid page or block data");
|
|
6145
6146
|
return;
|
|
@@ -6525,7 +6526,7 @@ const gr = (e) => (t) => {
|
|
|
6525
6526
|
}, wf = [
|
|
6526
6527
|
{
|
|
6527
6528
|
value: "4:3",
|
|
6528
|
-
addon: /* @__PURE__ */
|
|
6529
|
+
addon: /* @__PURE__ */ M(
|
|
6529
6530
|
"div",
|
|
6530
6531
|
{
|
|
6531
6532
|
style: {
|
|
@@ -6535,7 +6536,7 @@ const gr = (e) => (t) => {
|
|
|
6535
6536
|
alignItems: "center",
|
|
6536
6537
|
justifyContent: "center"
|
|
6537
6538
|
},
|
|
6538
|
-
children: /* @__PURE__ */
|
|
6539
|
+
children: /* @__PURE__ */ M(
|
|
6539
6540
|
"div",
|
|
6540
6541
|
{
|
|
6541
6542
|
style: {
|
|
@@ -6551,7 +6552,7 @@ const gr = (e) => (t) => {
|
|
|
6551
6552
|
},
|
|
6552
6553
|
{
|
|
6553
6554
|
value: "16:9",
|
|
6554
|
-
addon: /* @__PURE__ */
|
|
6555
|
+
addon: /* @__PURE__ */ M(
|
|
6555
6556
|
"div",
|
|
6556
6557
|
{
|
|
6557
6558
|
style: {
|
|
@@ -6561,7 +6562,7 @@ const gr = (e) => (t) => {
|
|
|
6561
6562
|
alignItems: "center",
|
|
6562
6563
|
justifyContent: "center"
|
|
6563
6564
|
},
|
|
6564
|
-
children: /* @__PURE__ */
|
|
6565
|
+
children: /* @__PURE__ */ M(
|
|
6565
6566
|
"div",
|
|
6566
6567
|
{
|
|
6567
6568
|
style: {
|
|
@@ -6577,7 +6578,7 @@ const gr = (e) => (t) => {
|
|
|
6577
6578
|
},
|
|
6578
6579
|
{
|
|
6579
6580
|
value: "9:16",
|
|
6580
|
-
addon: /* @__PURE__ */
|
|
6581
|
+
addon: /* @__PURE__ */ M(
|
|
6581
6582
|
"div",
|
|
6582
6583
|
{
|
|
6583
6584
|
style: {
|
|
@@ -6587,7 +6588,7 @@ const gr = (e) => (t) => {
|
|
|
6587
6588
|
alignItems: "center",
|
|
6588
6589
|
justifyContent: "center"
|
|
6589
6590
|
},
|
|
6590
|
-
children: /* @__PURE__ */
|
|
6591
|
+
children: /* @__PURE__ */ M(
|
|
6591
6592
|
"div",
|
|
6592
6593
|
{
|
|
6593
6594
|
style: {
|
|
@@ -6603,7 +6604,7 @@ const gr = (e) => (t) => {
|
|
|
6603
6604
|
},
|
|
6604
6605
|
{
|
|
6605
6606
|
value: "1:1",
|
|
6606
|
-
addon: /* @__PURE__ */
|
|
6607
|
+
addon: /* @__PURE__ */ M(
|
|
6607
6608
|
"div",
|
|
6608
6609
|
{
|
|
6609
6610
|
style: {
|
|
@@ -6613,7 +6614,7 @@ const gr = (e) => (t) => {
|
|
|
6613
6614
|
alignItems: "center",
|
|
6614
6615
|
justifyContent: "center"
|
|
6615
6616
|
},
|
|
6616
|
-
children: /* @__PURE__ */
|
|
6617
|
+
children: /* @__PURE__ */ M(
|
|
6617
6618
|
"div",
|
|
6618
6619
|
{
|
|
6619
6620
|
style: {
|
|
@@ -6841,15 +6842,15 @@ const ba = se((e, t) => ({
|
|
|
6841
6842
|
setShowTooltip: (t) => e({ showTooltip: t })
|
|
6842
6843
|
})), Wc = "_loader_jr7a4_1", qc = {
|
|
6843
6844
|
loader: Wc
|
|
6844
|
-
}, kf = () => /* @__PURE__ */
|
|
6845
|
+
}, kf = () => /* @__PURE__ */ M("div", { className: qc.loader }), Zc = "_tooltip_4hruj_1", Kc = {
|
|
6845
6846
|
tooltip: Zc
|
|
6846
6847
|
}, xf = (e) => {
|
|
6847
6848
|
const { text: t } = e, { setShowTooltip: n } = Jc();
|
|
6848
|
-
return
|
|
6849
|
+
return _e.useEffect(() => (n(!0), () => {
|
|
6849
6850
|
n(!1);
|
|
6850
|
-
}), []), /* @__PURE__ */
|
|
6851
|
+
}), []), /* @__PURE__ */ M("div", { className: Kc.tooltip, children: t });
|
|
6851
6852
|
}, Nf = (e) => e ? e.replace(/_/g, " ").split(" ").map((t) => t.charAt(0).toUpperCase() + t.slice(1)).join(" and ") : "";
|
|
6852
|
-
function
|
|
6853
|
+
function Tf(e, t) {
|
|
6853
6854
|
if (!t || !t[e])
|
|
6854
6855
|
return "unknown name";
|
|
6855
6856
|
const n = new t[e]();
|
|
@@ -6859,7 +6860,7 @@ const Gc = (e, t, n, r, o, a, i) => {
|
|
|
6859
6860
|
const s = e.currentTarget.getBoundingClientRect(), l = window.innerHeight - s.bottom, c = s.top, u = window.innerWidth - s.right, d = s.left;
|
|
6860
6861
|
let m, v;
|
|
6861
6862
|
return m = s.bottom + r + window.scrollY, v = s.left, (l < t || l < o) && (c >= t + i ? m = s.top - t - r + window.scrollY : m = window.scrollY + i), m - window.scrollY < i && (m = window.scrollY + i), (u < n || u < a) && (d >= n ? v = s.right - n : v = (window.innerWidth - n) / 2), v < s.right + a && (v = s.right + a), v < s.right && v + n > s.left && m < s.bottom && m + t > s.top && (u >= n + a ? v = s.right + r + a : l >= t ? m = s.bottom + r + window.scrollY : (m = window.scrollY + i, v = (window.innerWidth - n) / 2)), { top: m, left: v };
|
|
6862
|
-
}, Yc = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20.25%2015.45V8.55C20.25%206.86984%2020.25%206.02976%2019.923%205.38803C19.6354%204.82354%2019.1765%204.3646%2018.612%204.07698C17.9702%203.75%2017.1302%203.75%2015.45%203.75H8.55C6.86984%203.75%206.02976%203.75%205.38803%204.07698C4.82354%204.3646%204.3646%204.82354%204.07698%205.38803C3.75%206.02976%203.75%206.86984%203.75%208.55V15.45C3.75%2017.1302%203.75%2017.9702%204.07698%2018.612C4.3646%2019.1765%204.82354%2019.6354%205.38803%2019.923C6.02976%2020.25%206.86984%2020.25%208.55%2020.25H15.45C17.1302%2020.25%2017.9702%2020.25%2018.612%2019.923C19.1765%2019.6354%2019.6354%2019.1765%2019.923%2018.612C20.25%2017.9702%2020.25%2017.1302%2020.25%2015.45Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Xc = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.0002%2012V20.5M12.0002%2012L4.5%207.78125M12.0002%2012L19.2627%207.91474M20.25%209.11392V14.8861C20.25%2015.9699%2019.6654%2016.9695%2018.7208%2017.5008L13.4708%2020.4539C12.5575%2020.9676%2011.4425%2020.9676%2010.5292%2020.4539L5.27922%2017.5008C4.33459%2016.9695%203.75%2015.9699%203.75%2014.8861V9.11392C3.75%208.0301%204.33459%207.03055%205.27922%206.49919L10.5292%203.54607C11.4425%203.03237%2012.5575%203.03237%2013.4708%203.54607L18.7208%206.4992C19.6654%207.03055%2020.25%208.0301%2020.25%209.11392Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Qc = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.25%2020.25H6.75C5.09315%2020.25%203.75%2018.9069%203.75%2017.25V15.75M15.75%2020.25H17.25C18.9069%2020.25%2020.25%2018.9069%2020.25%2017.25V15.75M3.75%208.25V6.75C3.75%205.09315%205.09315%203.75%206.75%203.75H8.25M15.75%203.75H17.25C18.9069%203.75%2020.25%205.09315%2020.25%206.75V8.25M15.25%2010.3571L12%2011.9999M12%2011.9999L8.75%2010.3571M12%2011.9999V15.2856M11.0077%208.28125L9.25772%209.28125C8.63457%209.63733%208.25%2010.3%208.25%2011.0177V12.9822C8.25%2013.6999%208.63457%2014.3626%209.25772%2014.7186L11.0077%2015.7186C11.6226%2016.07%2012.3774%2016.07%2012.9923%2015.7186L14.7423%2014.7186C15.3654%2014.3626%2015.75%2013.6999%2015.75%2012.9822V11.0177C15.75%2010.3%2015.3654%209.63733%2014.7423%209.28125L12.9923%208.28125C12.3774%207.9299%2011.6226%207.9299%2011.0077%208.28125Z'%20stroke='%23252525'%20stroke-width='1.40625'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", eu = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.125%203.125H16.875'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.9167%205.625C12.1113%205.625%2011.4583%206.27792%2011.4583%207.08333V12.0833C11.4583%2012.8887%2012.1113%2013.5417%2012.9167%2013.5417C13.7221%2013.5417%2014.375%2012.8887%2014.375%2012.0833V7.08333C14.375%206.27792%2013.7221%205.625%2012.9167%205.625Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.08333%205.625C6.27792%205.625%205.625%206.27792%205.625%207.08333V15.4167C5.625%2016.2221%206.27792%2016.875%207.08333%2016.875C7.88875%2016.875%208.54167%2016.2221%208.54167%2015.4167V7.08333C8.54167%206.27792%207.88875%205.625%207.08333%205.625Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", tu = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.1073%2017.1577C17.1073%2018.8655%2015.7213%2020.25%2014.0116%2020.25C12.3019%2020.25%2010.9159%2018.8655%2010.9159%2017.1577C10.9159%2015.4499%2012.3019%2014.0654%2014.0116%2014.0654C15.7213%2014.0654%2017.1073%2015.4499%2017.1073%2017.1577Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.99145%206.98598L10.4681%2011.5764L3.75%2014.0189L4.99145%206.98598Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.0106%204.46532C14.1536%203.9321%2014.7017%203.61567%2015.235%203.75841L19.2835%204.842C19.8172%204.98485%2020.1339%205.53345%2019.9908%206.06708L18.9065%2010.1093C18.7635%2010.6425%2018.2154%2010.9589%2017.6821%2010.8162L13.6336%209.73258C13.0999%209.58973%2012.7832%209.04113%2012.9263%208.50749L14.0106%204.46532Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3c/svg%3e", nu = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.25%2014.75H10C10%2014.3358%209.66421%2014%209.25%2014V14.75ZM3.75%2020.25H3V21H3.75V20.25ZM14.75%209.25H15.5C15.5%208.83579%2015.1642%208.5%2014.75%208.5V9.25ZM20.25%2020.25V21H21V20.25H20.25ZM1.75%2019.5C1.33579%2019.5%201%2019.8358%201%2020.25C1%2020.6642%201.33579%2021%201.75%2021V19.5ZM22.25%2021C22.6642%2021%2023%2020.6642%2023%2020.25C23%2019.8358%2022.6642%2019.5%2022.25%2019.5V21ZM5.25%2015.5H9.25V14H5.25V15.5ZM8.5%2014.75V20.25H10V14.75H8.5ZM9.25%2019.5H3.75V21H9.25V19.5ZM4.5%2020.25V16.25H3V20.25H4.5ZM5.25%2014C4.00736%2014%203%2015.0074%203%2016.25H4.5C4.5%2015.8358%204.83579%2015.5%205.25%2015.5V14ZM10.75%2010H14.75V8.5H10.75V10ZM14%209.25V20.25H15.5V9.25H14ZM14.75%2019.5H9.25V21H14.75V19.5ZM10%2020.25V10.75H8.5V20.25H10ZM10.75%208.5C9.50736%208.5%208.5%209.50736%208.5%2010.75H10C10%2010.3358%2010.3358%2010%2010.75%2010V8.5ZM16.25%204.5H18.75V3H16.25V4.5ZM19.5%205.25V20.25H21V5.25H19.5ZM20.25%2019.5H14.75V21H20.25V19.5ZM15.5%2020.25V5.25H14V20.25H15.5ZM18.75%204.5C19.1642%204.5%2019.5%204.83579%2019.5%205.25H21C21%204.00736%2019.9926%203%2018.75%203V4.5ZM16.25%203C15.0074%203%2014%204.00736%2014%205.25H15.5C15.5%204.83579%2015.8358%204.5%2016.25%204.5V3ZM1.75%2021H22.25V19.5H1.75V21Z'%20fill='%23252525'/%3e%3c/svg%3e", ru = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%2014.2105L6.84488%2012.0821C7.66137%2011.5378%208.75215%2011.6663%209.41987%2012.3853C10.9123%2013.9926%2012.6426%2015.4538%2015%2015.4538C17.1727%2015.4538%2018.6125%2014.6485%2020%2013.261M6.75%2020.25H17.25C18.9069%2020.25%2020.25%2018.9069%2020.25%2017.25V6.75C20.25%205.09315%2018.9069%203.75%2017.25%203.75H6.75C5.09315%203.75%203.75%205.09315%203.75%206.75V17.25C3.75%2018.9069%205.09315%2020.25%206.75%2020.25ZM17.25%208.75C17.25%209.85457%2016.3546%2010.75%2015.25%2010.75C14.1454%2010.75%2013.25%209.85457%2013.25%208.75C13.25%207.64543%2014.1454%206.75%2015.25%206.75C16.3546%206.75%2017.25%207.64543%2017.25%208.75Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", ou = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.252%2019.25H6.74803C5.26465%2019.25%204.29985%2017.6884%204.96324%2016.3611L10.2152%205.85345C10.9506%204.38218%2013.0494%204.38218%2013.7848%205.85345L19.0368%2016.3611C19.7001%2017.6884%2018.7354%2019.25%2017.252%2019.25Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3c/svg%3e", au = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%202.75V4.5M16.9069%205.09326L15.5962%206.40392M6.40381%2015.5962L5.09315%2016.9069M4.5%2011H2.75M6.40381%206.40381L5.09315%205.09315M14.1323%2020.999L10.5777%2011.3226C10.3542%2010.7143%2010.9552%2010.1281%2011.5577%2010.3666L21.0397%2014.1199C21.4283%2014.2737%2021.4679%2014.8081%2021.1062%2015.0175L17.4231%2017.1498C17.3097%2017.2155%2017.2155%2017.3097%2017.1498%2017.4231L15.0343%2021.0771C14.822%2021.4438%2014.2784%2021.3967%2014.1323%2020.999Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", iu = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.38803%2019.923L5.72852%2019.2548H5.72852L5.38803%2019.923ZM4.07698%2018.612L3.40873%2018.9525H3.40873L4.07698%2018.612ZM19.923%2018.612L19.2548%2018.2715V18.2715L19.923%2018.612ZM18.612%2019.923L18.2715%2019.2548H18.2715L18.612%2019.923ZM19.923%205.38803L19.2548%205.72852V5.72852L19.923%205.38803ZM18.612%204.07698L18.9525%203.40873V3.40873L18.612%204.07698ZM4.07698%205.38803L4.74524%205.72852L4.07698%205.38803ZM5.38803%204.07698L5.72852%204.74524L5.38803%204.07698ZM19.5%208.55V15.45H21V8.55H19.5ZM15.45%2019.5H8.55V21H15.45V19.5ZM4.5%2015.45V8.55H3V15.45H4.5ZM8.55%204.5H15.45V3H8.55V4.5ZM8.55%2019.5C7.69755%2019.5%207.10331%2019.4994%206.64068%2019.4616C6.1868%2019.4245%205.92604%2019.3554%205.72852%2019.2548L5.04754%2020.5913C5.49175%2020.8176%205.97189%2020.912%206.51853%2020.9566C7.05641%2021.0006%207.7223%2021%208.55%2021V19.5ZM3%2015.45C3%2016.2777%202.99942%2016.9436%203.04336%2017.4815C3.08803%2018.0281%203.18238%2018.5082%203.40873%2018.9525L4.74524%2018.2715C4.6446%2018.074%204.57546%2017.8132%204.53838%2017.3593C4.50058%2016.8967%204.5%2016.3025%204.5%2015.45H3ZM5.72852%2019.2548C5.30516%2019.039%204.96095%2018.6948%204.74524%2018.2715L3.40873%2018.9525C3.76825%2019.6581%204.34193%2020.2317%205.04754%2020.5913L5.72852%2019.2548ZM19.5%2015.45C19.5%2016.3025%2019.4994%2016.8967%2019.4616%2017.3593C19.4245%2017.8132%2019.3554%2018.074%2019.2548%2018.2715L20.5913%2018.9525C20.8176%2018.5082%2020.912%2018.0281%2020.9566%2017.4815C21.0006%2016.9436%2021%2016.2777%2021%2015.45H19.5ZM15.45%2021C16.2777%2021%2016.9436%2021.0006%2017.4815%2020.9566C18.0281%2020.912%2018.5082%2020.8176%2018.9525%2020.5913L18.2715%2019.2548C18.074%2019.3554%2017.8132%2019.4245%2017.3593%2019.4616C16.8967%2019.4994%2016.3025%2019.5%2015.45%2019.5V21ZM19.2548%2018.2715C19.0391%2018.6948%2018.6948%2019.039%2018.2715%2019.2548L18.9525%2020.5913C19.6581%2020.2317%2020.2318%2019.6581%2020.5913%2018.9525L19.2548%2018.2715ZM21%208.55C21%207.7223%2021.0006%207.05641%2020.9566%206.51853C20.912%205.97189%2020.8176%205.49175%2020.5913%205.04754L19.2548%205.72852C19.3554%205.92604%2019.4245%206.1868%2019.4616%206.64068C19.4994%207.10331%2019.5%207.69755%2019.5%208.55H21ZM15.45%204.5C16.3025%204.5%2016.8967%204.50058%2017.3593%204.53838C17.8132%204.57546%2018.074%204.6446%2018.2715%204.74524L18.9525%203.40873C18.5082%203.18238%2018.0281%203.08803%2017.4815%203.04336C16.9436%202.99942%2016.2777%203%2015.45%203V4.5ZM20.5913%205.04754C20.2318%204.34193%2019.6581%203.76825%2018.9525%203.40873L18.2715%204.74524C18.6948%204.96095%2019.0391%205.30516%2019.2548%205.72852L20.5913%205.04754ZM4.5%208.55C4.5%207.69755%204.50058%207.10331%204.53838%206.64068C4.57546%206.1868%204.6446%205.92604%204.74524%205.72852L3.40873%205.04754C3.18238%205.49175%203.08803%205.97189%203.04336%206.51853C2.99942%207.05641%203%207.7223%203%208.55H4.5ZM8.55%203C7.7223%203%207.05641%202.99942%206.51853%203.04336C5.97189%203.08803%205.49175%203.18238%205.04754%203.40873L5.72852%204.74524C5.92604%204.6446%206.1868%204.57546%206.64068%204.53838C7.10331%204.50058%207.69755%204.5%208.55%204.5V3ZM4.74524%205.72852C4.96095%205.30516%205.30516%204.96095%205.72852%204.74524L5.04754%203.40873C4.34193%203.76825%203.76825%204.34193%203.40873%205.04754L4.74524%205.72852Z'%20fill='%23252525'/%3e%3cpath%20d='M20.25%2015H21V13.5H20.25V15ZM3.75%2013.5H3V15H3.75V13.5ZM3.75%2015H20.25V13.5H3.75V15Z'%20fill='%23252525'/%3e%3c/svg%3e", su = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.0858%202.32272C11.4533%201.55909%2012.5467%201.55909%2012.9142%202.32272L15.0872%206.83907C15.2351%207.14651%2015.5293%207.35876%2015.8692%207.40319L20.8676%208.05664C21.7134%208.16721%2022.0517%209.20388%2021.4322%209.78704L17.779%2013.2263C17.5295%2013.4612%2017.4167%2013.8058%2017.4795%2014.1417L18.3971%2019.0563C18.5526%2019.8892%2017.6676%2020.5294%2016.9183%2020.1261L12.4825%2017.7385C12.1815%2017.5764%2011.8185%2017.5764%2011.5175%2017.7385L7.08174%2020.1261C6.33244%2020.5294%205.44743%2019.8892%205.60294%2019.0563L6.52054%2014.1417C6.58325%2013.8058%206.47048%2013.4612%206.22097%2013.2263L2.56776%209.78704C1.94833%209.20388%202.28661%208.16721%203.13241%208.05664L8.13078%207.40319C8.47066%207.35876%208.7649%207.14651%208.91282%206.83907L11.0858%202.32272Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", lu = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.25%204.75H5.75C4.09315%204.75%202.75%206.09315%202.75%207.75V8.25M17.75%204.75H18.25C19.9069%204.75%2021.25%206.09315%2021.25%207.75V8.25M21.25%2015.75V16.25C21.25%2017.9069%2019.9069%2019.25%2018.25%2019.25H17.75M6.25%2019.25H5.75C4.09315%2019.25%202.75%2017.9069%202.75%2016.25V15.75'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.75%209.75H16.25'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.75%2014.25H14.25'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", cu = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20.25%2010.75V6.75C20.25%205.09315%2018.9069%203.75%2017.25%203.75H6.75C5.09315%203.75%203.75%205.09315%203.75%206.75V17.25C3.75%2018.9069%205.09315%2020.25%206.75%2020.25H10.75M14.1879%2020.8366L12.0869%2013.0056C11.9372%2012.4478%2012.4478%2011.9372%2013.0056%2012.0869L20.8366%2014.1879C21.2665%2014.3032%2021.3428%2014.8805%2020.9576%2015.1035L17.4231%2017.1498C17.3097%2017.2155%2017.2155%2017.3097%2017.1498%2017.4231L15.1035%2020.9576C14.8805%2021.3428%2014.3032%2021.2665%2014.1879%2020.8366Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", uu = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.125%2016.875H16.875'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.9167%206.45833C12.1113%206.45833%2011.4583%207.11125%2011.4583%207.91667V12.9167C11.4583%2013.7221%2012.1113%2014.375%2012.9167%2014.375C13.7221%2014.375%2014.375%2013.7221%2014.375%2012.9167V7.91667C14.375%207.11125%2013.7221%206.45833%2012.9167%206.45833Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.08333%203.125C6.27792%203.125%205.625%203.77792%205.625%204.58333V12.9167C5.625%2013.7221%206.27792%2014.375%207.08333%2014.375C7.88875%2014.375%208.54167%2013.7221%208.54167%2012.9167V4.58333C8.54167%203.77792%207.88875%203.125%207.08333%203.125Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", du = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.75%2018.25H7.25M3.75%2012H9.25M3.75%205.75H20.25M17%2010.5L18.5%2013.5L21.5%2015L18.5%2016.5L17%2019.5L15.5%2016.5L12.5%2015L15.5%2013.5L17%2010.5Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", fu = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.9016%209.48786L10.3899%203.2788C8.39443%201.97623%205.75%203.40798%205.75%205.79094V18.2091C5.75%2020.592%208.39442%2022.0238%2010.3899%2020.7212L19.9016%2014.5121C21.7151%2013.3283%2021.7151%2010.6717%2019.9016%209.48786Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3c/svg%3e", Tf = {
|
|
6863
|
+
}, Yc = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20.25%2015.45V8.55C20.25%206.86984%2020.25%206.02976%2019.923%205.38803C19.6354%204.82354%2019.1765%204.3646%2018.612%204.07698C17.9702%203.75%2017.1302%203.75%2015.45%203.75H8.55C6.86984%203.75%206.02976%203.75%205.38803%204.07698C4.82354%204.3646%204.3646%204.82354%204.07698%205.38803C3.75%206.02976%203.75%206.86984%203.75%208.55V15.45C3.75%2017.1302%203.75%2017.9702%204.07698%2018.612C4.3646%2019.1765%204.82354%2019.6354%205.38803%2019.923C6.02976%2020.25%206.86984%2020.25%208.55%2020.25H15.45C17.1302%2020.25%2017.9702%2020.25%2018.612%2019.923C19.1765%2019.6354%2019.6354%2019.1765%2019.923%2018.612C20.25%2017.9702%2020.25%2017.1302%2020.25%2015.45Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Xc = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12.0002%2012V20.5M12.0002%2012L4.5%207.78125M12.0002%2012L19.2627%207.91474M20.25%209.11392V14.8861C20.25%2015.9699%2019.6654%2016.9695%2018.7208%2017.5008L13.4708%2020.4539C12.5575%2020.9676%2011.4425%2020.9676%2010.5292%2020.4539L5.27922%2017.5008C4.33459%2016.9695%203.75%2015.9699%203.75%2014.8861V9.11392C3.75%208.0301%204.33459%207.03055%205.27922%206.49919L10.5292%203.54607C11.4425%203.03237%2012.5575%203.03237%2013.4708%203.54607L18.7208%206.4992C19.6654%207.03055%2020.25%208.0301%2020.25%209.11392Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Qc = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.25%2020.25H6.75C5.09315%2020.25%203.75%2018.9069%203.75%2017.25V15.75M15.75%2020.25H17.25C18.9069%2020.25%2020.25%2018.9069%2020.25%2017.25V15.75M3.75%208.25V6.75C3.75%205.09315%205.09315%203.75%206.75%203.75H8.25M15.75%203.75H17.25C18.9069%203.75%2020.25%205.09315%2020.25%206.75V8.25M15.25%2010.3571L12%2011.9999M12%2011.9999L8.75%2010.3571M12%2011.9999V15.2856M11.0077%208.28125L9.25772%209.28125C8.63457%209.63733%208.25%2010.3%208.25%2011.0177V12.9822C8.25%2013.6999%208.63457%2014.3626%209.25772%2014.7186L11.0077%2015.7186C11.6226%2016.07%2012.3774%2016.07%2012.9923%2015.7186L14.7423%2014.7186C15.3654%2014.3626%2015.75%2013.6999%2015.75%2012.9822V11.0177C15.75%2010.3%2015.3654%209.63733%2014.7423%209.28125L12.9923%208.28125C12.3774%207.9299%2011.6226%207.9299%2011.0077%208.28125Z'%20stroke='%23252525'%20stroke-width='1.40625'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", eu = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.125%203.125H16.875'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.9167%205.625C12.1113%205.625%2011.4583%206.27792%2011.4583%207.08333V12.0833C11.4583%2012.8887%2012.1113%2013.5417%2012.9167%2013.5417C13.7221%2013.5417%2014.375%2012.8887%2014.375%2012.0833V7.08333C14.375%206.27792%2013.7221%205.625%2012.9167%205.625Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.08333%205.625C6.27792%205.625%205.625%206.27792%205.625%207.08333V15.4167C5.625%2016.2221%206.27792%2016.875%207.08333%2016.875C7.88875%2016.875%208.54167%2016.2221%208.54167%2015.4167V7.08333C8.54167%206.27792%207.88875%205.625%207.08333%205.625Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", tu = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.1073%2017.1577C17.1073%2018.8655%2015.7213%2020.25%2014.0116%2020.25C12.3019%2020.25%2010.9159%2018.8655%2010.9159%2017.1577C10.9159%2015.4499%2012.3019%2014.0654%2014.0116%2014.0654C15.7213%2014.0654%2017.1073%2015.4499%2017.1073%2017.1577Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.99145%206.98598L10.4681%2011.5764L3.75%2014.0189L4.99145%206.98598Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3cpath%20d='M14.0106%204.46532C14.1536%203.9321%2014.7017%203.61567%2015.235%203.75841L19.2835%204.842C19.8172%204.98485%2020.1339%205.53345%2019.9908%206.06708L18.9065%2010.1093C18.7635%2010.6425%2018.2154%2010.9589%2017.6821%2010.8162L13.6336%209.73258C13.0999%209.58973%2012.7832%209.04113%2012.9263%208.50749L14.0106%204.46532Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3c/svg%3e", nu = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.25%2014.75H10C10%2014.3358%209.66421%2014%209.25%2014V14.75ZM3.75%2020.25H3V21H3.75V20.25ZM14.75%209.25H15.5C15.5%208.83579%2015.1642%208.5%2014.75%208.5V9.25ZM20.25%2020.25V21H21V20.25H20.25ZM1.75%2019.5C1.33579%2019.5%201%2019.8358%201%2020.25C1%2020.6642%201.33579%2021%201.75%2021V19.5ZM22.25%2021C22.6642%2021%2023%2020.6642%2023%2020.25C23%2019.8358%2022.6642%2019.5%2022.25%2019.5V21ZM5.25%2015.5H9.25V14H5.25V15.5ZM8.5%2014.75V20.25H10V14.75H8.5ZM9.25%2019.5H3.75V21H9.25V19.5ZM4.5%2020.25V16.25H3V20.25H4.5ZM5.25%2014C4.00736%2014%203%2015.0074%203%2016.25H4.5C4.5%2015.8358%204.83579%2015.5%205.25%2015.5V14ZM10.75%2010H14.75V8.5H10.75V10ZM14%209.25V20.25H15.5V9.25H14ZM14.75%2019.5H9.25V21H14.75V19.5ZM10%2020.25V10.75H8.5V20.25H10ZM10.75%208.5C9.50736%208.5%208.5%209.50736%208.5%2010.75H10C10%2010.3358%2010.3358%2010%2010.75%2010V8.5ZM16.25%204.5H18.75V3H16.25V4.5ZM19.5%205.25V20.25H21V5.25H19.5ZM20.25%2019.5H14.75V21H20.25V19.5ZM15.5%2020.25V5.25H14V20.25H15.5ZM18.75%204.5C19.1642%204.5%2019.5%204.83579%2019.5%205.25H21C21%204.00736%2019.9926%203%2018.75%203V4.5ZM16.25%203C15.0074%203%2014%204.00736%2014%205.25H15.5C15.5%204.83579%2015.8358%204.5%2016.25%204.5V3ZM1.75%2021H22.25V19.5H1.75V21Z'%20fill='%23252525'/%3e%3c/svg%3e", ru = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M4%2014.2105L6.84488%2012.0821C7.66137%2011.5378%208.75215%2011.6663%209.41987%2012.3853C10.9123%2013.9926%2012.6426%2015.4538%2015%2015.4538C17.1727%2015.4538%2018.6125%2014.6485%2020%2013.261M6.75%2020.25H17.25C18.9069%2020.25%2020.25%2018.9069%2020.25%2017.25V6.75C20.25%205.09315%2018.9069%203.75%2017.25%203.75H6.75C5.09315%203.75%203.75%205.09315%203.75%206.75V17.25C3.75%2018.9069%205.09315%2020.25%206.75%2020.25ZM17.25%208.75C17.25%209.85457%2016.3546%2010.75%2015.25%2010.75C14.1454%2010.75%2013.25%209.85457%2013.25%208.75C13.25%207.64543%2014.1454%206.75%2015.25%206.75C16.3546%206.75%2017.25%207.64543%2017.25%208.75Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'/%3e%3c/svg%3e", ou = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M17.252%2019.25H6.74803C5.26465%2019.25%204.29985%2017.6884%204.96324%2016.3611L10.2152%205.85345C10.9506%204.38218%2013.0494%204.38218%2013.7848%205.85345L19.0368%2016.3611C19.7001%2017.6884%2018.7354%2019.25%2017.252%2019.25Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3c/svg%3e", au = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%202.75V4.5M16.9069%205.09326L15.5962%206.40392M6.40381%2015.5962L5.09315%2016.9069M4.5%2011H2.75M6.40381%206.40381L5.09315%205.09315M14.1323%2020.999L10.5777%2011.3226C10.3542%2010.7143%2010.9552%2010.1281%2011.5577%2010.3666L21.0397%2014.1199C21.4283%2014.2737%2021.4679%2014.8081%2021.1062%2015.0175L17.4231%2017.1498C17.3097%2017.2155%2017.2155%2017.3097%2017.1498%2017.4231L15.0343%2021.0771C14.822%2021.4438%2014.2784%2021.3967%2014.1323%2020.999Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", iu = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M5.38803%2019.923L5.72852%2019.2548H5.72852L5.38803%2019.923ZM4.07698%2018.612L3.40873%2018.9525H3.40873L4.07698%2018.612ZM19.923%2018.612L19.2548%2018.2715V18.2715L19.923%2018.612ZM18.612%2019.923L18.2715%2019.2548H18.2715L18.612%2019.923ZM19.923%205.38803L19.2548%205.72852V5.72852L19.923%205.38803ZM18.612%204.07698L18.9525%203.40873V3.40873L18.612%204.07698ZM4.07698%205.38803L4.74524%205.72852L4.07698%205.38803ZM5.38803%204.07698L5.72852%204.74524L5.38803%204.07698ZM19.5%208.55V15.45H21V8.55H19.5ZM15.45%2019.5H8.55V21H15.45V19.5ZM4.5%2015.45V8.55H3V15.45H4.5ZM8.55%204.5H15.45V3H8.55V4.5ZM8.55%2019.5C7.69755%2019.5%207.10331%2019.4994%206.64068%2019.4616C6.1868%2019.4245%205.92604%2019.3554%205.72852%2019.2548L5.04754%2020.5913C5.49175%2020.8176%205.97189%2020.912%206.51853%2020.9566C7.05641%2021.0006%207.7223%2021%208.55%2021V19.5ZM3%2015.45C3%2016.2777%202.99942%2016.9436%203.04336%2017.4815C3.08803%2018.0281%203.18238%2018.5082%203.40873%2018.9525L4.74524%2018.2715C4.6446%2018.074%204.57546%2017.8132%204.53838%2017.3593C4.50058%2016.8967%204.5%2016.3025%204.5%2015.45H3ZM5.72852%2019.2548C5.30516%2019.039%204.96095%2018.6948%204.74524%2018.2715L3.40873%2018.9525C3.76825%2019.6581%204.34193%2020.2317%205.04754%2020.5913L5.72852%2019.2548ZM19.5%2015.45C19.5%2016.3025%2019.4994%2016.8967%2019.4616%2017.3593C19.4245%2017.8132%2019.3554%2018.074%2019.2548%2018.2715L20.5913%2018.9525C20.8176%2018.5082%2020.912%2018.0281%2020.9566%2017.4815C21.0006%2016.9436%2021%2016.2777%2021%2015.45H19.5ZM15.45%2021C16.2777%2021%2016.9436%2021.0006%2017.4815%2020.9566C18.0281%2020.912%2018.5082%2020.8176%2018.9525%2020.5913L18.2715%2019.2548C18.074%2019.3554%2017.8132%2019.4245%2017.3593%2019.4616C16.8967%2019.4994%2016.3025%2019.5%2015.45%2019.5V21ZM19.2548%2018.2715C19.0391%2018.6948%2018.6948%2019.039%2018.2715%2019.2548L18.9525%2020.5913C19.6581%2020.2317%2020.2318%2019.6581%2020.5913%2018.9525L19.2548%2018.2715ZM21%208.55C21%207.7223%2021.0006%207.05641%2020.9566%206.51853C20.912%205.97189%2020.8176%205.49175%2020.5913%205.04754L19.2548%205.72852C19.3554%205.92604%2019.4245%206.1868%2019.4616%206.64068C19.4994%207.10331%2019.5%207.69755%2019.5%208.55H21ZM15.45%204.5C16.3025%204.5%2016.8967%204.50058%2017.3593%204.53838C17.8132%204.57546%2018.074%204.6446%2018.2715%204.74524L18.9525%203.40873C18.5082%203.18238%2018.0281%203.08803%2017.4815%203.04336C16.9436%202.99942%2016.2777%203%2015.45%203V4.5ZM20.5913%205.04754C20.2318%204.34193%2019.6581%203.76825%2018.9525%203.40873L18.2715%204.74524C18.6948%204.96095%2019.0391%205.30516%2019.2548%205.72852L20.5913%205.04754ZM4.5%208.55C4.5%207.69755%204.50058%207.10331%204.53838%206.64068C4.57546%206.1868%204.6446%205.92604%204.74524%205.72852L3.40873%205.04754C3.18238%205.49175%203.08803%205.97189%203.04336%206.51853C2.99942%207.05641%203%207.7223%203%208.55H4.5ZM8.55%203C7.7223%203%207.05641%202.99942%206.51853%203.04336C5.97189%203.08803%205.49175%203.18238%205.04754%203.40873L5.72852%204.74524C5.92604%204.6446%206.1868%204.57546%206.64068%204.53838C7.10331%204.50058%207.69755%204.5%208.55%204.5V3ZM4.74524%205.72852C4.96095%205.30516%205.30516%204.96095%205.72852%204.74524L5.04754%203.40873C4.34193%203.76825%203.76825%204.34193%203.40873%205.04754L4.74524%205.72852Z'%20fill='%23252525'/%3e%3cpath%20d='M20.25%2015H21V13.5H20.25V15ZM3.75%2013.5H3V15H3.75V13.5ZM3.75%2015H20.25V13.5H3.75V15Z'%20fill='%23252525'/%3e%3c/svg%3e", su = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11.0858%202.32272C11.4533%201.55909%2012.5467%201.55909%2012.9142%202.32272L15.0872%206.83907C15.2351%207.14651%2015.5293%207.35876%2015.8692%207.40319L20.8676%208.05664C21.7134%208.16721%2022.0517%209.20388%2021.4322%209.78704L17.779%2013.2263C17.5295%2013.4612%2017.4167%2013.8058%2017.4795%2014.1417L18.3971%2019.0563C18.5526%2019.8892%2017.6676%2020.5294%2016.9183%2020.1261L12.4825%2017.7385C12.1815%2017.5764%2011.8185%2017.5764%2011.5175%2017.7385L7.08174%2020.1261C6.33244%2020.5294%205.44743%2019.8892%205.60294%2019.0563L6.52054%2014.1417C6.58325%2013.8058%206.47048%2013.4612%206.22097%2013.2263L2.56776%209.78704C1.94833%209.20388%202.28661%208.16721%203.13241%208.05664L8.13078%207.40319C8.47066%207.35876%208.7649%207.14651%208.91282%206.83907L11.0858%202.32272Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", lu = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M6.25%204.75H5.75C4.09315%204.75%202.75%206.09315%202.75%207.75V8.25M17.75%204.75H18.25C19.9069%204.75%2021.25%206.09315%2021.25%207.75V8.25M21.25%2015.75V16.25C21.25%2017.9069%2019.9069%2019.25%2018.25%2019.25H17.75M6.25%2019.25H5.75C4.09315%2019.25%202.75%2017.9069%202.75%2016.25V15.75'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.75%209.75H16.25'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.75%2014.25H14.25'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", cu = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M20.25%2010.75V6.75C20.25%205.09315%2018.9069%203.75%2017.25%203.75H6.75C5.09315%203.75%203.75%205.09315%203.75%206.75V17.25C3.75%2018.9069%205.09315%2020.25%206.75%2020.25H10.75M14.1879%2020.8366L12.0869%2013.0056C11.9372%2012.4478%2012.4478%2011.9372%2013.0056%2012.0869L20.8366%2014.1879C21.2665%2014.3032%2021.3428%2014.8805%2020.9576%2015.1035L17.4231%2017.1498C17.3097%2017.2155%2017.2155%2017.3097%2017.1498%2017.4231L15.1035%2020.9576C14.8805%2021.3428%2014.3032%2021.2665%2014.1879%2020.8366Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", uu = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.125%2016.875H16.875'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.9167%206.45833C12.1113%206.45833%2011.4583%207.11125%2011.4583%207.91667V12.9167C11.4583%2013.7221%2012.1113%2014.375%2012.9167%2014.375C13.7221%2014.375%2014.375%2013.7221%2014.375%2012.9167V7.91667C14.375%207.11125%2013.7221%206.45833%2012.9167%206.45833Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M7.08333%203.125C6.27792%203.125%205.625%203.77792%205.625%204.58333V12.9167C5.625%2013.7221%206.27792%2014.375%207.08333%2014.375C7.88875%2014.375%208.54167%2013.7221%208.54167%2012.9167V4.58333C8.54167%203.77792%207.88875%203.125%207.08333%203.125Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", du = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M3.75%2018.25H7.25M3.75%2012H9.25M3.75%205.75H20.25M17%2010.5L18.5%2013.5L21.5%2015L18.5%2016.5L17%2019.5L15.5%2016.5L12.5%2015L15.5%2013.5L17%2010.5Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", fu = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.9016%209.48786L10.3899%203.2788C8.39443%201.97623%205.75%203.40798%205.75%205.79094V18.2091C5.75%2020.592%208.39442%2022.0238%2010.3899%2020.7212L19.9016%2014.5121C21.7151%2013.3283%2021.7151%2010.6717%2019.9016%209.48786Z'%20stroke='%23252525'%20stroke-width='1.5'%20stroke-linejoin='round'/%3e%3c/svg%3e", _f = {
|
|
6863
6864
|
Header: eu,
|
|
6864
6865
|
Announcement: du,
|
|
6865
6866
|
PrimaryHero: cu,
|
|
@@ -6881,7 +6882,7 @@ const Gc = (e, t, n, r, o, a, i) => {
|
|
|
6881
6882
|
submodal: pu
|
|
6882
6883
|
}, Lf = ({ children: e, positionTop: t, positionLeft: n }) => {
|
|
6883
6884
|
const { keyBlock: r, startHideTimeout: o, clearHideTimeout: a, setMouseOverModal: i } = ba();
|
|
6884
|
-
return r ? /* @__PURE__ */
|
|
6885
|
+
return r ? /* @__PURE__ */ M(
|
|
6885
6886
|
"div",
|
|
6886
6887
|
{
|
|
6887
6888
|
className: vr.wrapper,
|
|
@@ -6900,7 +6901,7 @@ const Gc = (e, t, n, r, o, a, i) => {
|
|
|
6900
6901
|
) : null;
|
|
6901
6902
|
}, Pf = ({ children: e }) => {
|
|
6902
6903
|
const { hoverBlockId: t, startHideTimeout: n, clearHideTimeout: r, setMouseOverModal: o } = ba();
|
|
6903
|
-
return t ? /* @__PURE__ */
|
|
6904
|
+
return t ? /* @__PURE__ */ M(
|
|
6904
6905
|
"div",
|
|
6905
6906
|
{
|
|
6906
6907
|
className: Ve(vr.wrapper, vr.submodal),
|
|
@@ -6913,7 +6914,7 @@ const Gc = (e, t, n, r, o, a, i) => {
|
|
|
6913
6914
|
children: e
|
|
6914
6915
|
}
|
|
6915
6916
|
) : null;
|
|
6916
|
-
}, mu = "_applyButton_1a9kh_2", gu = "_content_1a9kh_7", yu = "_title_1a9kh_14", vu = "_label_1a9kh_21", wu = "_colorValue_1a9kh_40", bu = "_colorMap_1a9kh_48", Su = "_indicator_1a9kh_57", Eu = "_hueSlider_1a9kh_66", Cu = "_slider_1a9kh_97", Ru = "_buttons_1a9kh_102", ku = "_name_1a9kh_109", xu = "_secondary_1a9kh_114", Nu = "_input_1a9kh_122",
|
|
6917
|
+
}, mu = "_applyButton_1a9kh_2", gu = "_content_1a9kh_7", yu = "_title_1a9kh_14", vu = "_label_1a9kh_21", wu = "_colorValue_1a9kh_40", bu = "_colorMap_1a9kh_48", Su = "_indicator_1a9kh_57", Eu = "_hueSlider_1a9kh_66", Cu = "_slider_1a9kh_97", Ru = "_buttons_1a9kh_102", ku = "_name_1a9kh_109", xu = "_secondary_1a9kh_114", Nu = "_input_1a9kh_122", Tu = "_modal_1a9kh_160", _u = "_alphaSlider_1a9kh_249", Lu = "_alphaBackground_1a9kh_257", Pu = "_alphaGradient_1a9kh_268", Ou = "_chargeTypes_1a9kh_297", Mu = "_charge_1a9kh_297", Au = "_chargeActive_1a9kh_326", Du = "_gradient_1a9kh_334", Fu = "_color_1a9kh_40", Iu = "_colorActive_1a9kh_355", Bu = "_gradientWrapper_1a9kh_362", Hu = "_subtitle_1a9kh_368", Uu = "_colorTypes_1a9kh_375", Vu = "_colorType_1a9kh_375", ju = "_colorTypeActive_1a9kh_399", $u = "_colorsWrapper_1a9kh_404", zu = "_colors_1a9kh_404", q = {
|
|
6917
6918
|
applyButton: mu,
|
|
6918
6919
|
content: gu,
|
|
6919
6920
|
title: yu,
|
|
@@ -6927,8 +6928,8 @@ const Gc = (e, t, n, r, o, a, i) => {
|
|
|
6927
6928
|
name: ku,
|
|
6928
6929
|
secondary: xu,
|
|
6929
6930
|
input: Nu,
|
|
6930
|
-
modal:
|
|
6931
|
-
alphaSlider:
|
|
6931
|
+
modal: Tu,
|
|
6932
|
+
alphaSlider: _u,
|
|
6932
6933
|
alphaBackground: Lu,
|
|
6933
6934
|
alphaGradient: Pu,
|
|
6934
6935
|
chargeTypes: Ou,
|
|
@@ -6956,8 +6957,8 @@ const Ju = (e) => {
|
|
|
6956
6957
|
labelStyle: o = "primary",
|
|
6957
6958
|
isGradientActive: a = !0,
|
|
6958
6959
|
isBlockSettings: i
|
|
6959
|
-
} = e, [s, l] =
|
|
6960
|
-
|
|
6960
|
+
} = e, [s, l] = _e.useState(t);
|
|
6961
|
+
_e.useEffect(() => {
|
|
6961
6962
|
l(t);
|
|
6962
6963
|
}, [t]);
|
|
6963
6964
|
const {
|
|
@@ -6971,31 +6972,31 @@ const Ju = (e) => {
|
|
|
6971
6972
|
setIsGradientActive: y,
|
|
6972
6973
|
colorChange: k
|
|
6973
6974
|
} = Sa();
|
|
6974
|
-
|
|
6975
|
-
const
|
|
6975
|
+
_e.useEffect(() => {
|
|
6976
|
+
const T = () => {
|
|
6976
6977
|
m(!1), c(null), d(t), v(() => {
|
|
6977
6978
|
}), p(t), h(() => {
|
|
6978
6979
|
});
|
|
6979
6980
|
};
|
|
6980
|
-
return document.body.addEventListener("click",
|
|
6981
|
-
document.body.removeEventListener("click",
|
|
6981
|
+
return document.body.addEventListener("click", T), () => {
|
|
6982
|
+
document.body.removeEventListener("click", T);
|
|
6982
6983
|
};
|
|
6983
6984
|
}, [t]);
|
|
6984
|
-
const b = (
|
|
6985
|
-
|
|
6986
|
-
const { top: U, left: w } = Gc(
|
|
6985
|
+
const b = (T) => {
|
|
6986
|
+
T.stopPropagation(), m(!0), h(l), v(n), d(t), p(s), y(a);
|
|
6987
|
+
const { top: U, left: w } = Gc(T, 600, 288, 10, 20, 230, 80);
|
|
6987
6988
|
u({
|
|
6988
6989
|
top: U,
|
|
6989
6990
|
left: w
|
|
6990
6991
|
});
|
|
6991
|
-
}, x = (
|
|
6992
|
-
const U =
|
|
6992
|
+
}, x = (T) => {
|
|
6993
|
+
const U = T.target.value;
|
|
6993
6994
|
l(U), tr(U) && (n(U), p(U), h(k));
|
|
6994
|
-
},
|
|
6995
|
+
}, _ = () => {
|
|
6995
6996
|
tr(s) || l(t);
|
|
6996
6997
|
};
|
|
6997
6998
|
return /* @__PURE__ */ Re("div", { className: q.content, children: [
|
|
6998
|
-
/* @__PURE__ */
|
|
6999
|
+
/* @__PURE__ */ M(
|
|
6999
7000
|
"span",
|
|
7000
7001
|
{
|
|
7001
7002
|
className: Ve(q.name, {
|
|
@@ -7008,9 +7009,9 @@ const Ju = (e) => {
|
|
|
7008
7009
|
"label",
|
|
7009
7010
|
{
|
|
7010
7011
|
className: q.label,
|
|
7011
|
-
onClick: (
|
|
7012
|
+
onClick: (T) => T.stopPropagation(),
|
|
7012
7013
|
children: [
|
|
7013
|
-
/* @__PURE__ */
|
|
7014
|
+
/* @__PURE__ */ M(
|
|
7014
7015
|
"div",
|
|
7015
7016
|
{
|
|
7016
7017
|
className: q.colorValue,
|
|
@@ -7022,13 +7023,13 @@ const Ju = (e) => {
|
|
|
7022
7023
|
onClick: i ? void 0 : b
|
|
7023
7024
|
}
|
|
7024
7025
|
),
|
|
7025
|
-
/* @__PURE__ */
|
|
7026
|
+
/* @__PURE__ */ M(
|
|
7026
7027
|
"input",
|
|
7027
7028
|
{
|
|
7028
7029
|
type: "text",
|
|
7029
7030
|
value: s.includes("linear-gradient") ? s : s.toUpperCase(),
|
|
7030
7031
|
onChange: x,
|
|
7031
|
-
onBlur:
|
|
7032
|
+
onBlur: _,
|
|
7032
7033
|
className: q.input,
|
|
7033
7034
|
style: {
|
|
7034
7035
|
textTransform: s.includes("linear-gradient") ? "none" : "uppercase"
|
|
@@ -7061,11 +7062,11 @@ const Ju = (e) => {
|
|
|
7061
7062
|
isGradient: k,
|
|
7062
7063
|
setIsGradient: b,
|
|
7063
7064
|
gradientDirection: x,
|
|
7064
|
-
setGradientDirection:
|
|
7065
|
-
hue2:
|
|
7065
|
+
setGradientDirection: _,
|
|
7066
|
+
hue2: T,
|
|
7066
7067
|
saturation2: U,
|
|
7067
7068
|
brightness2: w,
|
|
7068
|
-
alpha2:
|
|
7069
|
+
alpha2: L,
|
|
7069
7070
|
setHue2: K,
|
|
7070
7071
|
setSaturation2: B,
|
|
7071
7072
|
setBrightness2: ae,
|
|
@@ -7085,7 +7086,7 @@ const Ju = (e) => {
|
|
|
7085
7086
|
if (k)
|
|
7086
7087
|
if (te === 1) {
|
|
7087
7088
|
u(j), d(V), m(ne), v(z);
|
|
7088
|
-
const G = ke(j, V, ne, z), W = ke(
|
|
7089
|
+
const G = ke(j, V, ne, z), W = ke(T, U, w, L), Z = `linear-gradient(${x === "vertical" ? "0deg" : "90deg"}, ${G} 0%, ${W} 100%)`;
|
|
7089
7090
|
p(Z), h(Z);
|
|
7090
7091
|
} else {
|
|
7091
7092
|
K(j), B(V), ae(ne), ee(z);
|
|
@@ -7098,7 +7099,7 @@ const Ju = (e) => {
|
|
|
7098
7099
|
}
|
|
7099
7100
|
}, we = (j, V, ne) => {
|
|
7100
7101
|
const { width: z, height: G } = ne.getBoundingClientRect(), W = Math.max(0, Math.min(j / z * 100, 100)), re = Math.max(0, Math.min(100 - V / G * 100, 100));
|
|
7101
|
-
k ? te === 1 ? (d(W), m(re), Se(o, W, re, s)) : (B(W), ae(re), Se(
|
|
7102
|
+
k ? te === 1 ? (d(W), m(re), Se(o, W, re, s)) : (B(W), ae(re), Se(T, W, re, L)) : (d(W), m(re), Se(o, W, re, s));
|
|
7102
7103
|
}, Pe = (j) => {
|
|
7103
7104
|
const { offsetX: V, offsetY: ne } = j.nativeEvent;
|
|
7104
7105
|
c(!0), we(V, ne, j.currentTarget);
|
|
@@ -7110,7 +7111,7 @@ const Ju = (e) => {
|
|
|
7110
7111
|
}, ie = () => {
|
|
7111
7112
|
c(!1);
|
|
7112
7113
|
};
|
|
7113
|
-
|
|
7114
|
+
_e.useEffect(() => {
|
|
7114
7115
|
function j(z) {
|
|
7115
7116
|
const G = /linear-gradient\((\d+deg),\s*(#[0-9a-fA-F]{8})\s*0%,\s*(#[0-9a-fA-F]{8})\s*100%\)/, W = z.match(G);
|
|
7116
7117
|
if (W) {
|
|
@@ -7148,7 +7149,7 @@ const Ju = (e) => {
|
|
|
7148
7149
|
const z = j(n);
|
|
7149
7150
|
if (z) {
|
|
7150
7151
|
const { angle: G, col1: W, col2: re } = z, Z = V(W), ue = V(re);
|
|
7151
|
-
b(!0),
|
|
7152
|
+
b(!0), _(G === "0deg" ? "vertical" : "horizontal"), u(Z.h), d(Z.s), m(Z.b), v(Z.a), K(ue.h), B(ue.s), ae(ue.b), ee(ue.a), he(1);
|
|
7152
7153
|
}
|
|
7153
7154
|
} else if (n) {
|
|
7154
7155
|
const G = function(re) {
|
|
@@ -7160,7 +7161,7 @@ const Ju = (e) => {
|
|
|
7160
7161
|
}, [
|
|
7161
7162
|
n,
|
|
7162
7163
|
b,
|
|
7163
|
-
|
|
7164
|
+
_,
|
|
7164
7165
|
u,
|
|
7165
7166
|
d,
|
|
7166
7167
|
m,
|
|
@@ -7170,9 +7171,9 @@ const Ju = (e) => {
|
|
|
7170
7171
|
ae,
|
|
7171
7172
|
ee,
|
|
7172
7173
|
he
|
|
7173
|
-
]),
|
|
7174
|
+
]), _e.useEffect(() => {
|
|
7174
7175
|
let j, V, ne, z;
|
|
7175
|
-
k ? te === 1 ? (j = o, V = a, ne = i, z = s) : (j =
|
|
7176
|
+
k ? te === 1 ? (j = o, V = a, ne = i, z = s) : (j = T, V = U, ne = w, z = L) : (j = o, V = a, ne = i, z = s), Se(j, V, ne, z);
|
|
7176
7177
|
}, [
|
|
7177
7178
|
k,
|
|
7178
7179
|
x,
|
|
@@ -7181,11 +7182,11 @@ const Ju = (e) => {
|
|
|
7181
7182
|
a,
|
|
7182
7183
|
i,
|
|
7183
7184
|
s,
|
|
7184
|
-
|
|
7185
|
+
T,
|
|
7185
7186
|
U,
|
|
7186
7187
|
w,
|
|
7187
|
-
|
|
7188
|
-
]),
|
|
7188
|
+
L
|
|
7189
|
+
]), _e.useEffect(() => {
|
|
7189
7190
|
const j = (ne) => He(ne), V = () => ie();
|
|
7190
7191
|
return l ? (document.addEventListener("mousemove", j), document.addEventListener("mouseup", V)) : (document.removeEventListener("mousemove", j), document.removeEventListener("mouseup", V)), () => {
|
|
7191
7192
|
document.removeEventListener("mousemove", j), document.removeEventListener("mouseup", V);
|
|
@@ -7195,7 +7196,7 @@ const Ju = (e) => {
|
|
|
7195
7196
|
if (!k)
|
|
7196
7197
|
y(t);
|
|
7197
7198
|
else {
|
|
7198
|
-
const j = ke(o, a, i, s), V = ke(
|
|
7199
|
+
const j = ke(o, a, i, s), V = ke(T, U, w, L), z = `linear-gradient(${x === "vertical" ? "0deg" : "90deg"}, ${j} 0%, ${V} 100%)`;
|
|
7199
7200
|
y(z);
|
|
7200
7201
|
}
|
|
7201
7202
|
r(!1);
|
|
@@ -7203,7 +7204,7 @@ const Ju = (e) => {
|
|
|
7203
7204
|
function Me() {
|
|
7204
7205
|
r(!1), p(n);
|
|
7205
7206
|
}
|
|
7206
|
-
const Ee = k ? te === 1 ? o :
|
|
7207
|
+
const Ee = k ? te === 1 ? o : T : o, ft = k ? te === 1 ? a : U : a, en = k ? te === 1 ? i : w : i, Vn = k ? te === 1 ? s : L : s, { r: tn, g: Ce, b: Qe } = qe(Ee, ft, en), nn = `linear-gradient(to right, rgba(${tn}, ${Ce}, ${Qe}, 0), rgba(${tn}, ${Ce}, ${Qe}, 1))`, rn = ke(o, a, i, s), Ze = ke(T, U, w, L);
|
|
7207
7208
|
return /* @__PURE__ */ Re(
|
|
7208
7209
|
"div",
|
|
7209
7210
|
{
|
|
@@ -7214,7 +7215,7 @@ const Ju = (e) => {
|
|
|
7214
7215
|
left: `${e.left}px`
|
|
7215
7216
|
},
|
|
7216
7217
|
children: [
|
|
7217
|
-
/* @__PURE__ */
|
|
7218
|
+
/* @__PURE__ */ M("h2", { className: q.title, children: "Color" }),
|
|
7218
7219
|
Oe && /* @__PURE__ */ Re("div", { className: q.colorTypes, children: [
|
|
7219
7220
|
/* @__PURE__ */ Re(
|
|
7220
7221
|
"div",
|
|
@@ -7222,7 +7223,7 @@ const Ju = (e) => {
|
|
|
7222
7223
|
className: Ve(q.colorType, { [q.colorTypeActive]: !k }),
|
|
7223
7224
|
onClick: () => b(!1),
|
|
7224
7225
|
children: [
|
|
7225
|
-
/* @__PURE__ */
|
|
7226
|
+
/* @__PURE__ */ M(
|
|
7226
7227
|
"div",
|
|
7227
7228
|
{
|
|
7228
7229
|
style: {
|
|
@@ -7243,7 +7244,7 @@ const Ju = (e) => {
|
|
|
7243
7244
|
className: Ve(q.colorType, { [q.colorTypeActive]: k }),
|
|
7244
7245
|
onClick: () => b(!0),
|
|
7245
7246
|
children: [
|
|
7246
|
-
/* @__PURE__ */
|
|
7247
|
+
/* @__PURE__ */ M(
|
|
7247
7248
|
"div",
|
|
7248
7249
|
{
|
|
7249
7250
|
style: {
|
|
@@ -7260,7 +7261,7 @@ const Ju = (e) => {
|
|
|
7260
7261
|
)
|
|
7261
7262
|
] }),
|
|
7262
7263
|
k && Oe && /* @__PURE__ */ Re("div", { className: q.colorsWrapper, children: [
|
|
7263
|
-
/* @__PURE__ */
|
|
7264
|
+
/* @__PURE__ */ M(
|
|
7264
7265
|
"div",
|
|
7265
7266
|
{
|
|
7266
7267
|
className: q.colors,
|
|
@@ -7269,7 +7270,7 @@ const Ju = (e) => {
|
|
|
7269
7270
|
}
|
|
7270
7271
|
}
|
|
7271
7272
|
),
|
|
7272
|
-
/* @__PURE__ */
|
|
7273
|
+
/* @__PURE__ */ M(
|
|
7273
7274
|
"div",
|
|
7274
7275
|
{
|
|
7275
7276
|
className: Ve(q.color, { [q.colorActive]: te === 1 }),
|
|
@@ -7277,7 +7278,7 @@ const Ju = (e) => {
|
|
|
7277
7278
|
style: { background: rn }
|
|
7278
7279
|
}
|
|
7279
7280
|
),
|
|
7280
|
-
/* @__PURE__ */
|
|
7281
|
+
/* @__PURE__ */ M(
|
|
7281
7282
|
"div",
|
|
7282
7283
|
{
|
|
7283
7284
|
className: Ve(q.color, { [q.colorActive]: te === 2 }),
|
|
@@ -7286,7 +7287,7 @@ const Ju = (e) => {
|
|
|
7286
7287
|
}
|
|
7287
7288
|
)
|
|
7288
7289
|
] }),
|
|
7289
|
-
/* @__PURE__ */
|
|
7290
|
+
/* @__PURE__ */ M(
|
|
7290
7291
|
"div",
|
|
7291
7292
|
{
|
|
7292
7293
|
className: q.colorMap,
|
|
@@ -7297,7 +7298,7 @@ const Ju = (e) => {
|
|
|
7297
7298
|
linear-gradient(to right, hsl(${Ee}, 100%, 100%), hsl(${Ee}, 100%, 50%))
|
|
7298
7299
|
`
|
|
7299
7300
|
},
|
|
7300
|
-
children: /* @__PURE__ */
|
|
7301
|
+
children: /* @__PURE__ */ M(
|
|
7301
7302
|
"div",
|
|
7302
7303
|
{
|
|
7303
7304
|
className: q.indicator,
|
|
@@ -7311,14 +7312,14 @@ const Ju = (e) => {
|
|
|
7311
7312
|
)
|
|
7312
7313
|
}
|
|
7313
7314
|
),
|
|
7314
|
-
/* @__PURE__ */
|
|
7315
|
+
/* @__PURE__ */ M(
|
|
7315
7316
|
"div",
|
|
7316
7317
|
{
|
|
7317
7318
|
className: q.hueSlider,
|
|
7318
7319
|
style: {
|
|
7319
7320
|
bottom: Le ? k ? "225px" : "150px" : k ? "175px" : "100px"
|
|
7320
7321
|
},
|
|
7321
|
-
children: /* @__PURE__ */
|
|
7322
|
+
children: /* @__PURE__ */ M(
|
|
7322
7323
|
"input",
|
|
7323
7324
|
{
|
|
7324
7325
|
type: "range",
|
|
@@ -7327,7 +7328,7 @@ const Ju = (e) => {
|
|
|
7327
7328
|
value: Ee,
|
|
7328
7329
|
onChange: (j) => {
|
|
7329
7330
|
const V = Number(j.target.value);
|
|
7330
|
-
k ? te === 1 ? Se(V, a, i, s) : Se(V, U, w,
|
|
7331
|
+
k ? te === 1 ? Se(V, a, i, s) : Se(V, U, w, L) : (u(V), Se(V, a, i, s));
|
|
7331
7332
|
},
|
|
7332
7333
|
className: q.slider
|
|
7333
7334
|
}
|
|
@@ -7342,15 +7343,15 @@ const Ju = (e) => {
|
|
|
7342
7343
|
bottom: Le ? k ? "200px" : "125px" : k ? "150px" : "75px"
|
|
7343
7344
|
},
|
|
7344
7345
|
children: [
|
|
7345
|
-
/* @__PURE__ */
|
|
7346
|
-
/* @__PURE__ */
|
|
7346
|
+
/* @__PURE__ */ M("div", { className: q.alphaBackground }),
|
|
7347
|
+
/* @__PURE__ */ M(
|
|
7347
7348
|
"div",
|
|
7348
7349
|
{
|
|
7349
7350
|
className: q.alphaGradient,
|
|
7350
7351
|
style: { background: nn }
|
|
7351
7352
|
}
|
|
7352
7353
|
),
|
|
7353
|
-
/* @__PURE__ */
|
|
7354
|
+
/* @__PURE__ */ M(
|
|
7354
7355
|
"input",
|
|
7355
7356
|
{
|
|
7356
7357
|
type: "range",
|
|
@@ -7359,7 +7360,7 @@ const Ju = (e) => {
|
|
|
7359
7360
|
value: Vn,
|
|
7360
7361
|
onChange: (j) => {
|
|
7361
7362
|
const V = Number(j.target.value);
|
|
7362
|
-
k ? te === 1 ? Se(o, a, i, V) : Se(
|
|
7363
|
+
k ? te === 1 ? Se(o, a, i, V) : Se(T, U, w, V) : (v(V), Se(o, a, i, V));
|
|
7363
7364
|
},
|
|
7364
7365
|
className: q.slider
|
|
7365
7366
|
}
|
|
@@ -7368,17 +7369,17 @@ const Ju = (e) => {
|
|
|
7368
7369
|
}
|
|
7369
7370
|
),
|
|
7370
7371
|
k && Oe && /* @__PURE__ */ Re("div", { className: q.gradientWrapper, children: [
|
|
7371
|
-
/* @__PURE__ */
|
|
7372
|
-
/* @__PURE__ */
|
|
7372
|
+
/* @__PURE__ */ M("h3", { className: q.subtitle, children: "Rotation" }),
|
|
7373
|
+
/* @__PURE__ */ M("div", { className: q.gradient, children: /* @__PURE__ */ Re("div", { className: q.chargeTypes, children: [
|
|
7373
7374
|
/* @__PURE__ */ Re(
|
|
7374
7375
|
"div",
|
|
7375
7376
|
{
|
|
7376
7377
|
className: Ve(q.charge, {
|
|
7377
7378
|
[q.chargeActive]: x === "horizontal"
|
|
7378
7379
|
}),
|
|
7379
|
-
onClick: () =>
|
|
7380
|
+
onClick: () => _("horizontal"),
|
|
7380
7381
|
children: [
|
|
7381
|
-
/* @__PURE__ */
|
|
7382
|
+
/* @__PURE__ */ M(
|
|
7382
7383
|
Jt,
|
|
7383
7384
|
{
|
|
7384
7385
|
name: "ArrowsHorizontal",
|
|
@@ -7396,9 +7397,9 @@ const Ju = (e) => {
|
|
|
7396
7397
|
className: Ve(q.charge, {
|
|
7397
7398
|
[q.chargeActive]: x === "vertical"
|
|
7398
7399
|
}),
|
|
7399
|
-
onClick: () =>
|
|
7400
|
+
onClick: () => _("vertical"),
|
|
7400
7401
|
children: [
|
|
7401
|
-
/* @__PURE__ */
|
|
7402
|
+
/* @__PURE__ */ M(
|
|
7402
7403
|
Jt,
|
|
7403
7404
|
{
|
|
7404
7405
|
name: "ArrowsVertical",
|
|
@@ -7412,7 +7413,7 @@ const Ju = (e) => {
|
|
|
7412
7413
|
)
|
|
7413
7414
|
] }) })
|
|
7414
7415
|
] }),
|
|
7415
|
-
Le && /* @__PURE__ */
|
|
7416
|
+
Le && /* @__PURE__ */ M(
|
|
7416
7417
|
Ju,
|
|
7417
7418
|
{
|
|
7418
7419
|
initialColor: t,
|
|
@@ -7422,7 +7423,7 @@ const Ju = (e) => {
|
|
|
7422
7423
|
}
|
|
7423
7424
|
),
|
|
7424
7425
|
/* @__PURE__ */ Re("div", { className: q.buttons, children: [
|
|
7425
|
-
/* @__PURE__ */
|
|
7426
|
+
/* @__PURE__ */ M(
|
|
7426
7427
|
$r,
|
|
7427
7428
|
{
|
|
7428
7429
|
onClick: Me,
|
|
@@ -7431,7 +7432,7 @@ const Ju = (e) => {
|
|
|
7431
7432
|
children: "Cancel"
|
|
7432
7433
|
}
|
|
7433
7434
|
),
|
|
7434
|
-
/* @__PURE__ */
|
|
7435
|
+
/* @__PURE__ */ M(
|
|
7435
7436
|
$r,
|
|
7436
7437
|
{
|
|
7437
7438
|
onClick: pe,
|
|
@@ -7449,7 +7450,7 @@ const Ju = (e) => {
|
|
|
7449
7450
|
close: Zu
|
|
7450
7451
|
}, Mf = (e) => {
|
|
7451
7452
|
const { isOpen: t, isClose: n, children: r } = e;
|
|
7452
|
-
return /* @__PURE__ */
|
|
7453
|
+
return /* @__PURE__ */ M(
|
|
7453
7454
|
"div",
|
|
7454
7455
|
{
|
|
7455
7456
|
className: Ve(nr.wrapper, {
|
|
@@ -7465,12 +7466,12 @@ const Ju = (e) => {
|
|
|
7465
7466
|
active: Yu
|
|
7466
7467
|
}, Af = (e) => {
|
|
7467
7468
|
const { items: t, selectedItem: n, onSelect: r, getIconName: o } = e;
|
|
7468
|
-
return /* @__PURE__ */
|
|
7469
|
+
return /* @__PURE__ */ M("div", { className: rr.blocks, children: t.map((a) => /* @__PURE__ */ M(
|
|
7469
7470
|
"div",
|
|
7470
7471
|
{
|
|
7471
7472
|
className: Ve(rr.block, { [rr.active]: n === a }),
|
|
7472
7473
|
onClick: () => r(a),
|
|
7473
|
-
children: /* @__PURE__ */
|
|
7474
|
+
children: /* @__PURE__ */ M(
|
|
7474
7475
|
Jt,
|
|
7475
7476
|
{
|
|
7476
7477
|
name: o(a),
|
|
@@ -7497,17 +7498,17 @@ const Ju = (e) => {
|
|
|
7497
7498
|
error: "#FF3F19",
|
|
7498
7499
|
success: "#338B13"
|
|
7499
7500
|
}, ld = (e) => {
|
|
7500
|
-
const { type: t, message: n, style: r, padding: o, timer: a, id: i, element: s } = e, [l, c] =
|
|
7501
|
+
const { type: t, message: n, style: r, padding: o, timer: a, id: i, element: s } = e, [l, c] = _e.useState(a), { setNotifications: u } = Ue();
|
|
7501
7502
|
function d() {
|
|
7502
7503
|
const v = Ue.getState().notifications.filter((p) => p.id !== i);
|
|
7503
7504
|
u([...v]);
|
|
7504
7505
|
}
|
|
7505
|
-
return
|
|
7506
|
+
return _e.useEffect(() => {
|
|
7506
7507
|
const m = setTimeout(() => {
|
|
7507
7508
|
d();
|
|
7508
7509
|
}, a * 1e3);
|
|
7509
7510
|
return () => clearTimeout(m);
|
|
7510
|
-
}, [a]),
|
|
7511
|
+
}, [a]), _e.useEffect(() => {
|
|
7511
7512
|
const m = setInterval(() => c((v) => v - 1), 1e3);
|
|
7512
7513
|
return () => clearInterval(m);
|
|
7513
7514
|
}, [l]), s ? s({
|
|
@@ -7517,7 +7518,7 @@ const Ju = (e) => {
|
|
|
7517
7518
|
padding: o,
|
|
7518
7519
|
timer: a,
|
|
7519
7520
|
id: i
|
|
7520
|
-
}) : /* @__PURE__ */
|
|
7521
|
+
}) : /* @__PURE__ */ M(
|
|
7521
7522
|
"div",
|
|
7522
7523
|
{
|
|
7523
7524
|
style: {
|
|
@@ -7534,7 +7535,7 @@ const Ju = (e) => {
|
|
|
7534
7535
|
}),
|
|
7535
7536
|
style: r,
|
|
7536
7537
|
children: [
|
|
7537
|
-
/* @__PURE__ */
|
|
7538
|
+
/* @__PURE__ */ M("div", { children: /* @__PURE__ */ M(
|
|
7538
7539
|
Jt,
|
|
7539
7540
|
{
|
|
7540
7541
|
name: "Info",
|
|
@@ -7543,15 +7544,15 @@ const Ju = (e) => {
|
|
|
7543
7544
|
height: 20
|
|
7544
7545
|
}
|
|
7545
7546
|
) }),
|
|
7546
|
-
/* @__PURE__ */
|
|
7547
|
-
a && /* @__PURE__ */
|
|
7548
|
-
/* @__PURE__ */
|
|
7547
|
+
/* @__PURE__ */ M("div", { className: xt.text, children: n }),
|
|
7548
|
+
a && /* @__PURE__ */ M("div", { className: xt.timer, children: l }),
|
|
7549
|
+
/* @__PURE__ */ M(
|
|
7549
7550
|
"div",
|
|
7550
7551
|
{
|
|
7551
7552
|
style: {
|
|
7552
7553
|
display: "flex"
|
|
7553
7554
|
},
|
|
7554
|
-
children: /* @__PURE__ */
|
|
7555
|
+
children: /* @__PURE__ */ M(
|
|
7555
7556
|
Jt,
|
|
7556
7557
|
{
|
|
7557
7558
|
name: "X",
|
|
@@ -7570,30 +7571,30 @@ const Ju = (e) => {
|
|
|
7570
7571
|
}
|
|
7571
7572
|
);
|
|
7572
7573
|
}, cd = () => {
|
|
7573
|
-
const { isOpenModal: e, setIsOpenModal: t } =
|
|
7574
|
+
const { isOpenModal: e, setIsOpenModal: t } = _n(), { openModal: n, setOpenModal: r } = Uc(), { notifications: o } = Ue(), { title: a, description: i, setTitle: s, setDescription: l, setOnConfirm: c } = Vc();
|
|
7574
7575
|
return /* @__PURE__ */ Re("div", { id: "builder", children: [
|
|
7575
7576
|
/* @__PURE__ */ Re("div", { className: mn.layout, children: [
|
|
7576
|
-
/* @__PURE__ */
|
|
7577
|
+
/* @__PURE__ */ M(Da, {}),
|
|
7577
7578
|
/* @__PURE__ */ Re("main", { className: mn.main, children: [
|
|
7578
|
-
/* @__PURE__ */
|
|
7579
|
+
/* @__PURE__ */ M(Fa, {}),
|
|
7579
7580
|
/* @__PURE__ */ Re("div", { className: mn.content, children: [
|
|
7580
|
-
/* @__PURE__ */
|
|
7581
|
-
/* @__PURE__ */
|
|
7581
|
+
/* @__PURE__ */ M(Ia, {}),
|
|
7582
|
+
/* @__PURE__ */ M(Ba, {})
|
|
7582
7583
|
] })
|
|
7583
7584
|
] })
|
|
7584
7585
|
] }),
|
|
7585
|
-
a && i && /* @__PURE__ */
|
|
7586
|
+
a && i && /* @__PURE__ */ M(
|
|
7586
7587
|
Jn,
|
|
7587
7588
|
{
|
|
7588
7589
|
close: () => {
|
|
7589
7590
|
s(null), l(null), c(null);
|
|
7590
7591
|
},
|
|
7591
|
-
children: /* @__PURE__ */
|
|
7592
|
+
children: /* @__PURE__ */ M(Oa, {})
|
|
7592
7593
|
}
|
|
7593
7594
|
),
|
|
7594
|
-
e && /* @__PURE__ */
|
|
7595
|
-
n && /* @__PURE__ */
|
|
7596
|
-
o.length > 0 && /* @__PURE__ */
|
|
7595
|
+
e && /* @__PURE__ */ M(Jn, { close: t, children: /* @__PURE__ */ M(Ha, {}) }),
|
|
7596
|
+
n && /* @__PURE__ */ M(Jn, { close: r, children: /* @__PURE__ */ M(Ma, {}) }),
|
|
7597
|
+
o.length > 0 && /* @__PURE__ */ M("div", { className: mn.notifications, children: o.map((u) => /* @__PURE__ */ M(
|
|
7597
7598
|
ld,
|
|
7598
7599
|
{
|
|
7599
7600
|
type: u.status,
|
|
@@ -7687,17 +7688,17 @@ const pd = (e) => {
|
|
|
7687
7688
|
setFooter: c,
|
|
7688
7689
|
setAnnouncement: u,
|
|
7689
7690
|
setSettings: d
|
|
7690
|
-
} = Pc(), { fonts: m, setFonts: v } = zc(), { setSettings: p } =
|
|
7691
|
-
setBlocks:
|
|
7691
|
+
} = Pc(), { fonts: m, setFonts: v } = zc(), { setSettings: p } = _o(), { setPageContext: h } = _n(), { setThemeSettings: y, setIsLoadingThemeSettings: k } = mr(), { setIsLoadingSettings: b } = _o(), { notifications: x, setNotifications: _ } = Ue(), {
|
|
7692
|
+
setBlocks: T,
|
|
7692
7693
|
blocks: U,
|
|
7693
7694
|
createPage: w,
|
|
7694
|
-
setIsLoadingLayers:
|
|
7695
|
+
setIsLoadingLayers: L,
|
|
7695
7696
|
setHeader: K,
|
|
7696
7697
|
setAnnouncement: B,
|
|
7697
7698
|
setFooter: ae
|
|
7698
|
-
} = yr(), { setPages: ee, setCurrentPage: te } =
|
|
7699
|
-
return
|
|
7700
|
-
k(!0),
|
|
7699
|
+
} = yr(), { setPages: ee, setCurrentPage: te } = _n();
|
|
7700
|
+
return _e.useEffect(() => {
|
|
7701
|
+
k(!0), L(!0), b(!0);
|
|
7701
7702
|
const he = {};
|
|
7702
7703
|
Object.keys(t).forEach((Le) => {
|
|
7703
7704
|
he[Le] = t[Le];
|
|
@@ -7734,7 +7735,7 @@ const pd = (e) => {
|
|
|
7734
7735
|
}
|
|
7735
7736
|
ke && y(ke);
|
|
7736
7737
|
const Pe = await fd(), He = {};
|
|
7737
|
-
if (Pe.status >= 400 &&
|
|
7738
|
+
if (Pe.status >= 400 && _([
|
|
7738
7739
|
...x,
|
|
7739
7740
|
{
|
|
7740
7741
|
id: it(),
|
|
@@ -7763,9 +7764,9 @@ const pd = (e) => {
|
|
|
7763
7764
|
})
|
|
7764
7765
|
]);
|
|
7765
7766
|
}
|
|
7766
|
-
|
|
7767
|
+
T(Se), k(!1), L(!1), b(!1);
|
|
7767
7768
|
})();
|
|
7768
|
-
}, []), /* @__PURE__ */
|
|
7769
|
+
}, []), /* @__PURE__ */ M(cd, {});
|
|
7769
7770
|
};
|
|
7770
7771
|
function md() {
|
|
7771
7772
|
const e = new URL(window.location.href);
|
|
@@ -7776,17 +7777,17 @@ function gd() {
|
|
|
7776
7777
|
return md(), n && localStorage.setItem("sellerAccessToken", n), t && localStorage.setItem("shopId", t), r && localStorage.setItem("draftId", r), !!(n && t && r);
|
|
7777
7778
|
}
|
|
7778
7779
|
const yd = "data:image/svg+xml,%3csvg%20width='204'%20height='241'%20viewBox='0%200%20204%20241'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M204%200V118.282L154.174%20134.707V69.0074L49.7111%20102.77V43.5716L204%200Z'%20fill='%23FF3F19'/%3e%3cpath%20d='M154.174%20134.694V191.155L0%20241V117.471L49.7114%20102.757V169.597L154.174%20134.694Z'%20fill='%23FF3F19'/%3e%3c/svg%3e", vd = (e) => {
|
|
7779
|
-
const { blocks: t, settings: n, header: r, footer: o, announcement: a } = e, [i, s] =
|
|
7780
|
-
return
|
|
7780
|
+
const { blocks: t, settings: n, header: r, footer: o, announcement: a } = e, [i, s] = _e.useState(!0), l = kr(), c = rt();
|
|
7781
|
+
return _e.useEffect(() => {
|
|
7781
7782
|
const u = c.pathname;
|
|
7782
7783
|
if (u.startsWith("/admin/builder")) {
|
|
7783
7784
|
u === "/admin/builder/add" ? document.title = "Add Section | Builder" : u === "/admin/builder/theme" ? document.title = "Theme Settings | Builder" : u === "/admin/builder/settings" ? document.title = "Settings | Builder" : document.title = "Builder | Billgang";
|
|
7784
7785
|
let d = document.querySelector("link[rel~='icon']");
|
|
7785
7786
|
d || (d = document.createElement("link"), d.rel = "icon", document.head.appendChild(d)), d && (d.href = yd);
|
|
7786
7787
|
}
|
|
7787
|
-
}, [c]),
|
|
7788
|
+
}, [c]), _e.useEffect(() => {
|
|
7788
7789
|
s(!0), gd() ? s(!1) : l("/");
|
|
7789
|
-
}, []), /* @__PURE__ */
|
|
7790
|
+
}, []), /* @__PURE__ */ M(Pa, { children: i ? /* @__PURE__ */ M(Aa, {}) : /* @__PURE__ */ M(
|
|
7790
7791
|
pd,
|
|
7791
7792
|
{
|
|
7792
7793
|
blocks: t,
|
|
@@ -7822,21 +7823,21 @@ export {
|
|
|
7822
7823
|
gf as R,
|
|
7823
7824
|
Lf as S,
|
|
7824
7825
|
xf as T,
|
|
7825
|
-
|
|
7826
|
+
_c as U,
|
|
7826
7827
|
lf as V,
|
|
7827
7828
|
jc as W,
|
|
7828
7829
|
of as X,
|
|
7829
7830
|
Fs as Y,
|
|
7830
7831
|
Zo as Z,
|
|
7831
7832
|
Yd as _,
|
|
7832
|
-
|
|
7833
|
+
_o as a,
|
|
7833
7834
|
ef as a0,
|
|
7834
7835
|
Ld as a1,
|
|
7835
7836
|
tf as a2,
|
|
7836
7837
|
xs as a3,
|
|
7837
7838
|
Qd as a4,
|
|
7838
7839
|
Cf as a5,
|
|
7839
|
-
|
|
7840
|
+
_d as a6,
|
|
7840
7841
|
kd as a7,
|
|
7841
7842
|
sf as a8,
|
|
7842
7843
|
Xd as a9,
|
|
@@ -7850,11 +7851,11 @@ export {
|
|
|
7850
7851
|
uf as ah,
|
|
7851
7852
|
Nd as ai,
|
|
7852
7853
|
xd as aj,
|
|
7853
|
-
|
|
7854
|
+
Td as ak,
|
|
7854
7855
|
nf as al,
|
|
7855
7856
|
Yi as am,
|
|
7856
7857
|
Df as an,
|
|
7857
|
-
|
|
7858
|
+
_n as b,
|
|
7858
7859
|
Pc as c,
|
|
7859
7860
|
De as d,
|
|
7860
7861
|
Ue as e,
|
|
@@ -7872,11 +7873,11 @@ export {
|
|
|
7872
7873
|
Hc as q,
|
|
7873
7874
|
st as r,
|
|
7874
7875
|
Ef as s,
|
|
7875
|
-
|
|
7876
|
+
Tf as t,
|
|
7876
7877
|
yr as u,
|
|
7877
7878
|
it as v,
|
|
7878
7879
|
ba as w,
|
|
7879
|
-
|
|
7880
|
+
_f as x,
|
|
7880
7881
|
Sa as y,
|
|
7881
7882
|
ff as z
|
|
7882
7883
|
};
|