@spiffcommerce/core 42.1.0 → 42.1.2
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/{index-BuxV3n7D.cjs → index-BKUDskKV.cjs} +64 -46
- package/dist/{index-BuxV3n7D.cjs.map → index-BKUDskKV.cjs.map} +1 -1
- package/dist/{index--JMxrpzP.cjs → index-BsbgtyV9.cjs} +2 -2
- package/dist/{index--JMxrpzP.cjs.map → index-BsbgtyV9.cjs.map} +1 -1
- package/dist/{index-C_qFPB4O.js → index-CQXpcFkA.js} +2 -2
- package/dist/{index-C_qFPB4O.js.map → index-CQXpcFkA.js.map} +1 -1
- package/dist/{index-DHkGAaKB.js → index-D_-p69Jf.js} +585 -476
- package/dist/{index-DHkGAaKB.js.map → index-D_-p69Jf.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +35 -6
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -5288,12 +5288,12 @@ var BR = Da(function() {
|
|
|
5288
5288
|
$.variables && !c && ($.variables = lR($.variables, d.query));
|
|
5289
5289
|
var ie;
|
|
5290
5290
|
!G.signal && typeof AbortController < "u" && (ie = new AbortController(), G.signal = ie.signal);
|
|
5291
|
-
var
|
|
5291
|
+
var W = function(Re) {
|
|
5292
5292
|
return Re.kind === "OperationDefinition" && Re.operation === "mutation";
|
|
5293
5293
|
}, Y = function(Re) {
|
|
5294
5294
|
return Re.kind === "OperationDefinition" && Re.operation === "subscription";
|
|
5295
5295
|
}, X = Y(Pd(d.query)), oe = ld(["defer"], d.query);
|
|
5296
|
-
if (l && !d.query.definitions.some(
|
|
5296
|
+
if (l && !d.query.definitions.some(W) && (G.method = "GET"), oe || X) {
|
|
5297
5297
|
G.headers = G.headers || {};
|
|
5298
5298
|
var se = "multipart/mixed;";
|
|
5299
5299
|
X ? se += "boundary=graphql;subscriptionSpec=1.0,application/json" : oe && (se += "deferSpec=20220824,application/json"), G.headers.accept = se;
|
|
@@ -6740,9 +6740,9 @@ var r4 = (
|
|
|
6740
6740
|
// values before processing nested selection sets.
|
|
6741
6741
|
T.selectionSet ? Zm(k, !1, !1) : k,
|
|
6742
6742
|
$
|
|
6743
|
-
),
|
|
6744
|
-
T.selectionSet && (Fn(ie) || Ru(ie)) && (
|
|
6745
|
-
var Y = l.getMergeFunction(c, T.name.value,
|
|
6743
|
+
), W = void 0;
|
|
6744
|
+
T.selectionSet && (Fn(ie) || Ru(ie)) && (W = h("__typename", ie));
|
|
6745
|
+
var Y = l.getMergeFunction(c, T.name.value, W);
|
|
6746
6746
|
Y ? $.info = {
|
|
6747
6747
|
// TODO Check compatibility against any existing childTree.field?
|
|
6748
6748
|
field: T,
|
|
@@ -7643,7 +7643,7 @@ var a4 = Object.prototype.hasOwnProperty, Fw = /* @__PURE__ */ Object.create(nul
|
|
|
7643
7643
|
updateQueries: d,
|
|
7644
7644
|
update: x,
|
|
7645
7645
|
keepRootFields: G
|
|
7646
|
-
}), this.broadcastQueries(), o = this, [2, new Promise(function(
|
|
7646
|
+
}), this.broadcastQueries(), o = this, [2, new Promise(function(W, Y) {
|
|
7647
7647
|
return Wm(o.getObservableFromLink(c, me(me({}, $), { optimisticResponse: s ? f : void 0 }), h, {}, !1), function(X) {
|
|
7648
7648
|
if (Pp(X) && B === "none")
|
|
7649
7649
|
throw new ao({
|
|
@@ -7669,7 +7669,7 @@ var a4 = Object.prototype.hasOwnProperty, Fw = /* @__PURE__ */ Object.create(nul
|
|
|
7669
7669
|
});
|
|
7670
7670
|
}).subscribe({
|
|
7671
7671
|
next: function(X) {
|
|
7672
|
-
o.broadcastQueries(), (!("hasNext" in X) || X.hasNext === !1) &&
|
|
7672
|
+
o.broadcastQueries(), (!("hasNext" in X) || X.hasNext === !1) && W(me(me({}, X), { data: o.maskOperation({
|
|
7673
7673
|
document: c,
|
|
7674
7674
|
data: X.data,
|
|
7675
7675
|
fetchPolicy: S,
|
|
@@ -8436,7 +8436,7 @@ var a4 = Object.prototype.hasOwnProperty, Fw = /* @__PURE__ */ Object.create(nul
|
|
|
8436
8436
|
var t = this, n, i, a;
|
|
8437
8437
|
if (this.resetStoreCallbacks = [], this.clearStoreCallbacks = [], !e.cache)
|
|
8438
8438
|
throw qi(16);
|
|
8439
|
-
var s = e.uri, o = e.credentials, l = e.headers, u = e.cache, c = e.documentTransform, h = e.ssrMode, f = h === void 0 ? !1 : h, d = e.ssrForceFetchDelay, g = d === void 0 ? 0 : d, v = e.connectToDevTools, y = e.queryDeduplication, A = y === void 0 ? !0 : y, x = e.defaultOptions, k = e.defaultContext, T = e.assumeImmutableResults, S = T === void 0 ? u.assumeImmutableResults : T, R = e.resolvers, B = e.typeDefs, G = e.fragmentMatcher, $ = e.clientAwareness, ie = e.name,
|
|
8439
|
+
var s = e.uri, o = e.credentials, l = e.headers, u = e.cache, c = e.documentTransform, h = e.ssrMode, f = h === void 0 ? !1 : h, d = e.ssrForceFetchDelay, g = d === void 0 ? 0 : d, v = e.connectToDevTools, y = e.queryDeduplication, A = y === void 0 ? !0 : y, x = e.defaultOptions, k = e.defaultContext, T = e.assumeImmutableResults, S = T === void 0 ? u.assumeImmutableResults : T, R = e.resolvers, B = e.typeDefs, G = e.fragmentMatcher, $ = e.clientAwareness, ie = e.name, W = e.version, Y = e.devtools, X = e.dataMasking, oe = e.link;
|
|
8440
8440
|
oe || (oe = s ? new MR({ uri: s, credentials: o, headers: l }) : _a.empty()), this.link = oe, this.cache = u, this.disableNetworkFetches = f || g > 0, this.queryDeduplication = A, this.defaultOptions = x || /* @__PURE__ */ Object.create(null), this.typeDefs = B, this.devtoolsConfig = me(me({}, Y), { enabled: (n = Y?.enabled) !== null && n !== void 0 ? n : v }), this.devtoolsConfig.enabled === void 0 && (this.devtoolsConfig.enabled = !1), g && setTimeout(function() {
|
|
8441
8441
|
return t.disableNetworkFetches = !1;
|
|
8442
8442
|
}, g), this.watchQuery = this.watchQuery.bind(this), this.query = this.query.bind(this), this.mutate = this.mutate.bind(this), this.watchFragment = this.watchFragment.bind(this), this.resetStore = this.resetStore.bind(this), this.reFetchObservableQueries = this.reFetchObservableQueries.bind(this), this.version = aA, this.localState = new o4({
|
|
@@ -8455,7 +8455,7 @@ var a4 = Object.prototype.hasOwnProperty, Fw = /* @__PURE__ */ Object.create(nul
|
|
|
8455
8455
|
dataMasking: !!X,
|
|
8456
8456
|
clientAwareness: {
|
|
8457
8457
|
name: (i = $?.name) !== null && i !== void 0 ? i : ie,
|
|
8458
|
-
version: (a = $?.version) !== null && a !== void 0 ? a :
|
|
8458
|
+
version: (a = $?.version) !== null && a !== void 0 ? a : W
|
|
8459
8459
|
},
|
|
8460
8460
|
localState: this.localState,
|
|
8461
8461
|
assumeImmutableResults: S,
|
|
@@ -8795,7 +8795,7 @@ const S4 = () => {
|
|
|
8795
8795
|
} catch {
|
|
8796
8796
|
return console.warn("Local storage was unavilable due to browser security settings. Using in-memory storage instead."), new Tw();
|
|
8797
8797
|
}
|
|
8798
|
-
},
|
|
8798
|
+
}, Cr = S4();
|
|
8799
8799
|
function E4(r) {
|
|
8800
8800
|
return new _a(function(e, t) {
|
|
8801
8801
|
var n = ss(e, []);
|
|
@@ -8960,7 +8960,7 @@ function F4() {
|
|
|
8960
8960
|
function ie(ee) {
|
|
8961
8961
|
return typeof ee == "object" && ee !== null && ee.$$typeof === r;
|
|
8962
8962
|
}
|
|
8963
|
-
function
|
|
8963
|
+
function W(ee) {
|
|
8964
8964
|
var re = { "=": "=0", ":": "=2" };
|
|
8965
8965
|
return "$" + ee.replace(/[=:]/g, function(de) {
|
|
8966
8966
|
return re[de];
|
|
@@ -8968,7 +8968,7 @@ function F4() {
|
|
|
8968
8968
|
}
|
|
8969
8969
|
var Y = /\/+/g;
|
|
8970
8970
|
function X(ee, re) {
|
|
8971
|
-
return typeof ee == "object" && ee !== null && ee.key != null ?
|
|
8971
|
+
return typeof ee == "object" && ee !== null && ee.key != null ? W("" + ee.key) : re.toString(36);
|
|
8972
8972
|
}
|
|
8973
8973
|
function oe(ee, re, de, Be, Ee) {
|
|
8974
8974
|
var ze = typeof ee;
|
|
@@ -9150,7 +9150,7 @@ function T4() {
|
|
|
9150
9150
|
var Z = B.getCurrentStack;
|
|
9151
9151
|
return Z && (M += Z() || ""), M;
|
|
9152
9152
|
};
|
|
9153
|
-
var ie = !1,
|
|
9153
|
+
var ie = !1, W = !1, Y = !1, X = !1, oe = !1, se = {
|
|
9154
9154
|
ReactCurrentDispatcher: k,
|
|
9155
9155
|
ReactCurrentBatchConfig: T,
|
|
9156
9156
|
ReactCurrentOwner: R
|
|
@@ -9313,7 +9313,7 @@ function T4() {
|
|
|
9313
9313
|
if (St(M))
|
|
9314
9314
|
return ye("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ar(M)), st(M);
|
|
9315
9315
|
}
|
|
9316
|
-
function
|
|
9316
|
+
function Sr(M, Z, fe) {
|
|
9317
9317
|
var be = M.displayName;
|
|
9318
9318
|
if (be)
|
|
9319
9319
|
return be;
|
|
@@ -9353,7 +9353,7 @@ function T4() {
|
|
|
9353
9353
|
var fe = M;
|
|
9354
9354
|
return gr(fe._context) + ".Provider";
|
|
9355
9355
|
case c:
|
|
9356
|
-
return
|
|
9356
|
+
return Sr(M, M.render, "ForwardRef");
|
|
9357
9357
|
case d:
|
|
9358
9358
|
var be = M.displayName || null;
|
|
9359
9359
|
return be !== null ? be : nr(M.type) || "Memo";
|
|
@@ -9509,7 +9509,7 @@ function T4() {
|
|
|
9509
9509
|
return "$" + be;
|
|
9510
9510
|
}
|
|
9511
9511
|
var zt = !1, sr = /\/+/g;
|
|
9512
|
-
function
|
|
9512
|
+
function Er(M) {
|
|
9513
9513
|
return M.replace(sr, "$&/");
|
|
9514
9514
|
}
|
|
9515
9515
|
function tt(M, Z) {
|
|
@@ -9538,7 +9538,7 @@ function T4() {
|
|
|
9538
9538
|
var yt = M, Pt = Me(yt), pr = be === "" ? zr + tt(yt, 0) : be;
|
|
9539
9539
|
if ($t(Pt)) {
|
|
9540
9540
|
var yr = "";
|
|
9541
|
-
pr != null && (yr =
|
|
9541
|
+
pr != null && (yr = Er(pr) + "/"), Nr(Pt, Z, yr, "", function(za) {
|
|
9542
9542
|
return za;
|
|
9543
9543
|
});
|
|
9544
9544
|
} else Pt != null && (Fr(Pt) && (Pt.key && (!yt || yt.key !== Pt.key) && Qr(Pt.key), Pt = pn(
|
|
@@ -9549,7 +9549,7 @@ function T4() {
|
|
|
9549
9549
|
(Pt.key && (!yt || yt.key !== Pt.key) ? (
|
|
9550
9550
|
// $FlowFixMe Flow incorrectly thinks existing element's key can be a number
|
|
9551
9551
|
// eslint-disable-next-line react-internal/safe-string-coercion
|
|
9552
|
-
|
|
9552
|
+
Er("" + Pt.key) + "/"
|
|
9553
9553
|
) : "") + pr
|
|
9554
9554
|
)), Z.push(Pt));
|
|
9555
9555
|
return 1;
|
|
@@ -9777,7 +9777,7 @@ Your code should look like:
|
|
|
9777
9777
|
var K;
|
|
9778
9778
|
K = /* @__PURE__ */ Symbol.for("react.module.reference");
|
|
9779
9779
|
function Ie(M) {
|
|
9780
|
-
return !!(typeof M == "string" || typeof M == "function" || M === a || M === o || oe || M === s || M === h || M === f || X || M === v || ie ||
|
|
9780
|
+
return !!(typeof M == "string" || typeof M == "function" || M === a || M === o || oe || M === s || M === h || M === f || X || M === v || ie || W || Y || typeof M == "object" && M !== null && (M.$$typeof === g || M.$$typeof === d || M.$$typeof === l || M.$$typeof === u || M.$$typeof === c || // This needs to include all possible module reference object
|
|
9781
9781
|
// types supported by any Flight configuration anywhere since
|
|
9782
9782
|
// we don't know which Flight build this will end up being used
|
|
9783
9783
|
// with.
|
|
@@ -10638,12 +10638,12 @@ function I4() {
|
|
|
10638
10638
|
}
|
|
10639
10639
|
return E.push(">"), B(E, pe, z), typeof z == "string" ? (E.push(g(z)), null) : z;
|
|
10640
10640
|
}
|
|
10641
|
-
var ie = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,
|
|
10641
|
+
var ie = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, W = /* @__PURE__ */ new Map();
|
|
10642
10642
|
function Y(E) {
|
|
10643
|
-
var O =
|
|
10643
|
+
var O = W.get(E);
|
|
10644
10644
|
if (O === void 0) {
|
|
10645
10645
|
if (!ie.test(E)) throw Error(e(65, E));
|
|
10646
|
-
O = "<" + E,
|
|
10646
|
+
O = "<" + E, W.set(E, O);
|
|
10647
10647
|
}
|
|
10648
10648
|
return O;
|
|
10649
10649
|
}
|
|
@@ -10924,7 +10924,7 @@ function I4() {
|
|
|
10924
10924
|
function Oe(E, O, z, q) {
|
|
10925
10925
|
return z.generateStaticMarkup ? (E.push(g(O)), !1) : (O === "" ? E = q : (q && E.push("<!-- -->"), E.push(g(O)), E = !0), E);
|
|
10926
10926
|
}
|
|
10927
|
-
var ee = Object.assign, re = /* @__PURE__ */ Symbol.for("react.element"), de = /* @__PURE__ */ Symbol.for("react.portal"), Be = /* @__PURE__ */ Symbol.for("react.fragment"), Ee = /* @__PURE__ */ Symbol.for("react.strict_mode"), ze = /* @__PURE__ */ Symbol.for("react.profiler"), je = /* @__PURE__ */ Symbol.for("react.provider"), qe = /* @__PURE__ */ Symbol.for("react.context"), Ge = /* @__PURE__ */ Symbol.for("react.forward_ref"), bt = /* @__PURE__ */ Symbol.for("react.suspense"), rr = /* @__PURE__ */ Symbol.for("react.suspense_list"), Pr = /* @__PURE__ */ Symbol.for("react.memo"), $t = /* @__PURE__ */ Symbol.for("react.lazy"), ar = /* @__PURE__ */ Symbol.for("react.scope"), St = /* @__PURE__ */ Symbol.for("react.debug_trace_mode"), st = /* @__PURE__ */ Symbol.for("react.legacy_hidden"), Qr = /* @__PURE__ */ Symbol.for("react.default_value"),
|
|
10927
|
+
var ee = Object.assign, re = /* @__PURE__ */ Symbol.for("react.element"), de = /* @__PURE__ */ Symbol.for("react.portal"), Be = /* @__PURE__ */ Symbol.for("react.fragment"), Ee = /* @__PURE__ */ Symbol.for("react.strict_mode"), ze = /* @__PURE__ */ Symbol.for("react.profiler"), je = /* @__PURE__ */ Symbol.for("react.provider"), qe = /* @__PURE__ */ Symbol.for("react.context"), Ge = /* @__PURE__ */ Symbol.for("react.forward_ref"), bt = /* @__PURE__ */ Symbol.for("react.suspense"), rr = /* @__PURE__ */ Symbol.for("react.suspense_list"), Pr = /* @__PURE__ */ Symbol.for("react.memo"), $t = /* @__PURE__ */ Symbol.for("react.lazy"), ar = /* @__PURE__ */ Symbol.for("react.scope"), St = /* @__PURE__ */ Symbol.for("react.debug_trace_mode"), st = /* @__PURE__ */ Symbol.for("react.legacy_hidden"), Qr = /* @__PURE__ */ Symbol.for("react.default_value"), Sr = Symbol.iterator;
|
|
10928
10928
|
function gr(E) {
|
|
10929
10929
|
if (E == null) return null;
|
|
10930
10930
|
if (typeof E == "function") return E.displayName || E.name || null;
|
|
@@ -11047,7 +11047,7 @@ function I4() {
|
|
|
11047
11047
|
function en(E, O) {
|
|
11048
11048
|
return E === O && (E !== 0 || 1 / E === 1 / O) || E !== E && O !== O;
|
|
11049
11049
|
}
|
|
11050
|
-
var Hr = typeof Object.is == "function" ? Object.is : en, zt = null, sr = null,
|
|
11050
|
+
var Hr = typeof Object.is == "function" ? Object.is : en, zt = null, sr = null, Er = null, tt = null, Nr = !1, Xr = !1, Se = 0, P = null, U = 0;
|
|
11051
11051
|
function J() {
|
|
11052
11052
|
if (zt === null) throw Error(e(321));
|
|
11053
11053
|
return zt;
|
|
@@ -11057,10 +11057,10 @@ function I4() {
|
|
|
11057
11057
|
return { memoizedState: null, queue: null, next: null };
|
|
11058
11058
|
}
|
|
11059
11059
|
function Te() {
|
|
11060
|
-
return tt === null ?
|
|
11060
|
+
return tt === null ? Er === null ? (Nr = !1, Er = tt = ue()) : (Nr = !0, tt = Er) : tt.next === null ? (Nr = !1, tt = tt.next = ue()) : (Nr = !0, tt = tt.next), tt;
|
|
11061
11061
|
}
|
|
11062
11062
|
function We() {
|
|
11063
|
-
sr = zt = null, Xr = !1,
|
|
11063
|
+
sr = zt = null, Xr = !1, Er = null, U = 0, tt = P = null;
|
|
11064
11064
|
}
|
|
11065
11065
|
function wt(E, O) {
|
|
11066
11066
|
return typeof O == "function" ? O(E) : O;
|
|
@@ -11324,7 +11324,7 @@ function I4() {
|
|
|
11324
11324
|
wn(E, O, z);
|
|
11325
11325
|
return;
|
|
11326
11326
|
}
|
|
11327
|
-
if (z === null || typeof z != "object" ? q = null : (q =
|
|
11327
|
+
if (z === null || typeof z != "object" ? q = null : (q = Sr && z[Sr] || z["@@iterator"], q = typeof q == "function" ? q : null), q && (q = q.call(z))) {
|
|
11328
11328
|
if (z = q.next(), !z.done) {
|
|
11329
11329
|
var pe = [];
|
|
11330
11330
|
do
|
|
@@ -11627,8 +11627,8 @@ function D4() {
|
|
|
11627
11627
|
function v(F) {
|
|
11628
11628
|
return h.call(g, F) ? !0 : h.call(d, F) ? !1 : f.test(F) ? g[F] = !0 : (d[F] = !0, !1);
|
|
11629
11629
|
}
|
|
11630
|
-
function y(F, _, V,
|
|
11631
|
-
this.acceptsBooleans = _ === 2 || _ === 3 || _ === 4, this.attributeName =
|
|
11630
|
+
function y(F, _, V, Q, Ae, ve, Fe) {
|
|
11631
|
+
this.acceptsBooleans = _ === 2 || _ === 3 || _ === 4, this.attributeName = Q, this.attributeNamespace = Ae, this.mustUseProperty = V, this.propertyName = F, this.type = _, this.sanitizeURL = ve, this.removeEmptyString = Fe;
|
|
11632
11632
|
}
|
|
11633
11633
|
var A = {};
|
|
11634
11634
|
"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(F) {
|
|
@@ -11728,9 +11728,9 @@ function D4() {
|
|
|
11728
11728
|
F = "" + F;
|
|
11729
11729
|
var _ = R.exec(F);
|
|
11730
11730
|
if (_) {
|
|
11731
|
-
var V = "",
|
|
11732
|
-
for (
|
|
11733
|
-
switch (F.charCodeAt(
|
|
11731
|
+
var V = "", Q, Ae = 0;
|
|
11732
|
+
for (Q = _.index; Q < F.length; Q++) {
|
|
11733
|
+
switch (F.charCodeAt(Q)) {
|
|
11734
11734
|
case 34:
|
|
11735
11735
|
_ = """;
|
|
11736
11736
|
break;
|
|
@@ -11749,21 +11749,21 @@ function D4() {
|
|
|
11749
11749
|
default:
|
|
11750
11750
|
continue;
|
|
11751
11751
|
}
|
|
11752
|
-
Ae !==
|
|
11752
|
+
Ae !== Q && (V += F.substring(Ae, Q)), Ae = Q + 1, V += _;
|
|
11753
11753
|
}
|
|
11754
|
-
F = Ae !==
|
|
11754
|
+
F = Ae !== Q ? V + F.substring(Ae, Q) : V;
|
|
11755
11755
|
}
|
|
11756
11756
|
return F;
|
|
11757
11757
|
}
|
|
11758
|
-
var G = /([A-Z])/g, $ = /^ms-/, ie = Array.isArray,
|
|
11759
|
-
function ye(F, _, V,
|
|
11760
|
-
return "" + _ + (V === "s" ? "\\u0073" : "\\u0053") +
|
|
11758
|
+
var G = /([A-Z])/g, $ = /^ms-/, ie = Array.isArray, W = u("<script>"), Y = u("<\/script>"), X = u('<script src="'), oe = u('<script type="module" src="'), se = u('" async=""><\/script>'), he = /(<\/|<)(s)(cript)/gi;
|
|
11759
|
+
function ye(F, _, V, Q) {
|
|
11760
|
+
return "" + _ + (V === "s" ? "\\u0073" : "\\u0053") + Q;
|
|
11761
11761
|
}
|
|
11762
|
-
function Ue(F, _, V,
|
|
11763
|
-
F = F === void 0 ? "" : F, _ = _ === void 0 ?
|
|
11762
|
+
function Ue(F, _, V, Q, Ae) {
|
|
11763
|
+
F = F === void 0 ? "" : F, _ = _ === void 0 ? W : u('<script nonce="' + B(_) + '">');
|
|
11764
11764
|
var ve = [];
|
|
11765
|
-
if (V !== void 0 && ve.push(_, l(("" + V).replace(he, ye)), Y),
|
|
11766
|
-
if (Ae !== void 0) for (
|
|
11765
|
+
if (V !== void 0 && ve.push(_, l(("" + V).replace(he, ye)), Y), Q !== void 0) for (V = 0; V < Q.length; V++) ve.push(X, l(B(Q[V])), se);
|
|
11766
|
+
if (Ae !== void 0) for (Q = 0; Q < Ae.length; Q++) ve.push(oe, l(B(Ae[Q])), se);
|
|
11767
11767
|
return { bootstrapChunks: ve, startInlineScript: _, placeholderPrefix: u(F + "P:"), segmentPrefix: u(F + "S:"), boundaryPrefix: F + "B:", idPrefix: F, nextSuspenseID: 0, sentCompleteSegmentFunction: !1, sentCompleteBoundaryFunction: !1, sentClientRenderFunction: !1 };
|
|
11768
11768
|
}
|
|
11769
11769
|
function Re(F, _) {
|
|
@@ -11796,23 +11796,23 @@ function D4() {
|
|
|
11796
11796
|
return 4 <= F.insertionMode || F.insertionMode === 0 ? Re(1, null) : F;
|
|
11797
11797
|
}
|
|
11798
11798
|
var re = u("<!-- -->");
|
|
11799
|
-
function de(F, _, V,
|
|
11800
|
-
return _ === "" ?
|
|
11799
|
+
function de(F, _, V, Q) {
|
|
11800
|
+
return _ === "" ? Q : (Q && F.push(re), F.push(l(B(_))), !0);
|
|
11801
11801
|
}
|
|
11802
11802
|
var Be = /* @__PURE__ */ new Map(), Ee = u(' style="'), ze = u(":"), je = u(";");
|
|
11803
11803
|
function qe(F, _, V) {
|
|
11804
11804
|
if (typeof V != "object") throw Error(e(62));
|
|
11805
11805
|
_ = !0;
|
|
11806
|
-
for (var
|
|
11807
|
-
var Ae = V[
|
|
11806
|
+
for (var Q in V) if (h.call(V, Q)) {
|
|
11807
|
+
var Ae = V[Q];
|
|
11808
11808
|
if (Ae != null && typeof Ae != "boolean" && Ae !== "") {
|
|
11809
|
-
if (
|
|
11810
|
-
var ve = l(B(
|
|
11809
|
+
if (Q.indexOf("--") === 0) {
|
|
11810
|
+
var ve = l(B(Q));
|
|
11811
11811
|
Ae = l(B(("" + Ae).trim()));
|
|
11812
11812
|
} else {
|
|
11813
|
-
ve =
|
|
11813
|
+
ve = Q;
|
|
11814
11814
|
var Fe = Be.get(ve);
|
|
11815
|
-
Fe !== void 0 || (Fe = u(B(ve.replace(G, "-$1").toLowerCase().replace($, "-ms-"))), Be.set(ve, Fe)), ve = Fe, Ae = typeof Ae == "number" ? Ae === 0 || h.call(T,
|
|
11815
|
+
Fe !== void 0 || (Fe = u(B(ve.replace(G, "-$1").toLowerCase().replace($, "-ms-"))), Be.set(ve, Fe)), ve = Fe, Ae = typeof Ae == "number" ? Ae === 0 || h.call(T, Q) ? l("" + Ae) : l(Ae + "px") : l(B(("" + Ae).trim()));
|
|
11816
11816
|
}
|
|
11817
11817
|
_ ? (_ = !1, F.push(Ee, ve, ze, Ae)) : F.push(je, ve, ze, Ae);
|
|
11818
11818
|
}
|
|
@@ -11820,10 +11820,10 @@ function D4() {
|
|
|
11820
11820
|
_ || F.push(rr);
|
|
11821
11821
|
}
|
|
11822
11822
|
var Ge = u(" "), bt = u('="'), rr = u('"'), Pr = u('=""');
|
|
11823
|
-
function $t(F, _, V,
|
|
11823
|
+
function $t(F, _, V, Q) {
|
|
11824
11824
|
switch (V) {
|
|
11825
11825
|
case "style":
|
|
11826
|
-
qe(F, _,
|
|
11826
|
+
qe(F, _, Q);
|
|
11827
11827
|
return;
|
|
11828
11828
|
case "defaultValue":
|
|
11829
11829
|
case "defaultChecked":
|
|
@@ -11834,7 +11834,7 @@ function D4() {
|
|
|
11834
11834
|
}
|
|
11835
11835
|
if (!(2 < V.length) || V[0] !== "o" && V[0] !== "O" || V[1] !== "n" && V[1] !== "N") {
|
|
11836
11836
|
if (_ = A.hasOwnProperty(V) ? A[V] : null, _ !== null) {
|
|
11837
|
-
switch (typeof
|
|
11837
|
+
switch (typeof Q) {
|
|
11838
11838
|
case "function":
|
|
11839
11839
|
case "symbol":
|
|
11840
11840
|
return;
|
|
@@ -11843,29 +11843,29 @@ function D4() {
|
|
|
11843
11843
|
}
|
|
11844
11844
|
switch (V = l(_.attributeName), _.type) {
|
|
11845
11845
|
case 3:
|
|
11846
|
-
|
|
11846
|
+
Q && F.push(Ge, V, Pr);
|
|
11847
11847
|
break;
|
|
11848
11848
|
case 4:
|
|
11849
|
-
|
|
11849
|
+
Q === !0 ? F.push(Ge, V, Pr) : Q !== !1 && F.push(Ge, V, bt, l(B(Q)), rr);
|
|
11850
11850
|
break;
|
|
11851
11851
|
case 5:
|
|
11852
|
-
isNaN(
|
|
11852
|
+
isNaN(Q) || F.push(Ge, V, bt, l(B(Q)), rr);
|
|
11853
11853
|
break;
|
|
11854
11854
|
case 6:
|
|
11855
|
-
!isNaN(
|
|
11855
|
+
!isNaN(Q) && 1 <= Q && F.push(Ge, V, bt, l(B(Q)), rr);
|
|
11856
11856
|
break;
|
|
11857
11857
|
default:
|
|
11858
|
-
_.sanitizeURL && (
|
|
11858
|
+
_.sanitizeURL && (Q = "" + Q), F.push(Ge, V, bt, l(B(Q)), rr);
|
|
11859
11859
|
}
|
|
11860
11860
|
} else if (v(V)) {
|
|
11861
|
-
switch (typeof
|
|
11861
|
+
switch (typeof Q) {
|
|
11862
11862
|
case "function":
|
|
11863
11863
|
case "symbol":
|
|
11864
11864
|
return;
|
|
11865
11865
|
case "boolean":
|
|
11866
11866
|
if (_ = V.toLowerCase().slice(0, 5), _ !== "data-" && _ !== "aria-") return;
|
|
11867
11867
|
}
|
|
11868
|
-
F.push(Ge, l(V), bt, l(B(
|
|
11868
|
+
F.push(Ge, l(V), bt, l(B(Q)), rr);
|
|
11869
11869
|
}
|
|
11870
11870
|
}
|
|
11871
11871
|
}
|
|
@@ -11883,8 +11883,8 @@ function D4() {
|
|
|
11883
11883
|
V != null && (_ += V);
|
|
11884
11884
|
}), _;
|
|
11885
11885
|
}
|
|
11886
|
-
var
|
|
11887
|
-
function gr(F, _, V,
|
|
11886
|
+
var Sr = u(' selected=""');
|
|
11887
|
+
function gr(F, _, V, Q) {
|
|
11888
11888
|
F.push(Xt(V));
|
|
11889
11889
|
var Ae = V = null, ve;
|
|
11890
11890
|
for (ve in _) if (h.call(_, ve)) {
|
|
@@ -11897,7 +11897,7 @@ function D4() {
|
|
|
11897
11897
|
Ae = Fe;
|
|
11898
11898
|
break;
|
|
11899
11899
|
default:
|
|
11900
|
-
$t(F,
|
|
11900
|
+
$t(F, Q, ve, Fe);
|
|
11901
11901
|
}
|
|
11902
11902
|
}
|
|
11903
11903
|
return F.push(ar), st(F, Ae, V), typeof V == "string" ? (F.push(l(B(V))), null) : V;
|
|
@@ -11913,7 +11913,7 @@ function D4() {
|
|
|
11913
11913
|
return _;
|
|
11914
11914
|
}
|
|
11915
11915
|
var mt = u("<!DOCTYPE html>");
|
|
11916
|
-
function wr(F, _, V,
|
|
11916
|
+
function wr(F, _, V, Q, Ae) {
|
|
11917
11917
|
switch (_) {
|
|
11918
11918
|
case "select":
|
|
11919
11919
|
F.push(Xt("select"));
|
|
@@ -11931,7 +11931,7 @@ function D4() {
|
|
|
11931
11931
|
case "value":
|
|
11932
11932
|
break;
|
|
11933
11933
|
default:
|
|
11934
|
-
$t(F,
|
|
11934
|
+
$t(F, Q, qt, He);
|
|
11935
11935
|
}
|
|
11936
11936
|
}
|
|
11937
11937
|
return F.push(ar), st(F, Fe, ve), ve;
|
|
@@ -11953,17 +11953,17 @@ function D4() {
|
|
|
11953
11953
|
case "value":
|
|
11954
11954
|
Rt = qr;
|
|
11955
11955
|
default:
|
|
11956
|
-
$t(F,
|
|
11956
|
+
$t(F, Q, ve, qr);
|
|
11957
11957
|
}
|
|
11958
11958
|
}
|
|
11959
11959
|
if (Fe != null) if (V = Rt !== null ? "" + Rt : Qr(He), ie(Fe)) {
|
|
11960
|
-
for (
|
|
11961
|
-
if ("" + Fe[
|
|
11962
|
-
F.push(
|
|
11960
|
+
for (Q = 0; Q < Fe.length; Q++)
|
|
11961
|
+
if ("" + Fe[Q] === V) {
|
|
11962
|
+
F.push(Sr);
|
|
11963
11963
|
break;
|
|
11964
11964
|
}
|
|
11965
|
-
} else "" + Fe === V && F.push(
|
|
11966
|
-
else Kt && F.push(
|
|
11965
|
+
} else "" + Fe === V && F.push(Sr);
|
|
11966
|
+
else Kt && F.push(Sr);
|
|
11967
11967
|
return F.push(ar), st(F, qt, He), He;
|
|
11968
11968
|
case "textarea":
|
|
11969
11969
|
F.push(Xt("textarea")), qt = Fe = ve = null;
|
|
@@ -11980,7 +11980,7 @@ function D4() {
|
|
|
11980
11980
|
case "dangerouslySetInnerHTML":
|
|
11981
11981
|
throw Error(e(91));
|
|
11982
11982
|
default:
|
|
11983
|
-
$t(F,
|
|
11983
|
+
$t(F, Q, He, Rt);
|
|
11984
11984
|
}
|
|
11985
11985
|
if (ve === null && Fe !== null && (ve = Fe), F.push(ar), qt != null) {
|
|
11986
11986
|
if (ve != null) throw Error(e(92));
|
|
@@ -12008,14 +12008,14 @@ function D4() {
|
|
|
12008
12008
|
ve = Kt;
|
|
12009
12009
|
break;
|
|
12010
12010
|
default:
|
|
12011
|
-
$t(F,
|
|
12011
|
+
$t(F, Q, Fe, Kt);
|
|
12012
12012
|
}
|
|
12013
12013
|
return qt !== null ? $t(
|
|
12014
12014
|
F,
|
|
12015
|
-
|
|
12015
|
+
Q,
|
|
12016
12016
|
"checked",
|
|
12017
12017
|
qt
|
|
12018
|
-
) : Rt !== null && $t(F,
|
|
12018
|
+
) : Rt !== null && $t(F, Q, "checked", Rt), ve !== null ? $t(F, Q, "value", ve) : He !== null && $t(F, Q, "value", He), F.push(St), null;
|
|
12019
12019
|
case "menuitem":
|
|
12020
12020
|
F.push(Xt("menuitem"));
|
|
12021
12021
|
for (var L in V) if (h.call(V, L) && (ve = V[L], ve != null)) switch (L) {
|
|
@@ -12023,7 +12023,7 @@ function D4() {
|
|
|
12023
12023
|
case "dangerouslySetInnerHTML":
|
|
12024
12024
|
throw Error(e(400));
|
|
12025
12025
|
default:
|
|
12026
|
-
$t(F,
|
|
12026
|
+
$t(F, Q, L, ve);
|
|
12027
12027
|
}
|
|
12028
12028
|
return F.push(ar), null;
|
|
12029
12029
|
case "title":
|
|
@@ -12035,7 +12035,7 @@ function D4() {
|
|
|
12035
12035
|
case "dangerouslySetInnerHTML":
|
|
12036
12036
|
throw Error(e(434));
|
|
12037
12037
|
default:
|
|
12038
|
-
$t(F,
|
|
12038
|
+
$t(F, Q, qr, Fe);
|
|
12039
12039
|
}
|
|
12040
12040
|
return F.push(ar), ve;
|
|
12041
12041
|
case "listing":
|
|
@@ -12049,7 +12049,7 @@ function D4() {
|
|
|
12049
12049
|
Fe = He;
|
|
12050
12050
|
break;
|
|
12051
12051
|
default:
|
|
12052
|
-
$t(F,
|
|
12052
|
+
$t(F, Q, Rt, He);
|
|
12053
12053
|
}
|
|
12054
12054
|
if (F.push(ar), Fe != null) {
|
|
12055
12055
|
if (ve != null) throw Error(e(60));
|
|
@@ -12079,7 +12079,7 @@ function D4() {
|
|
|
12079
12079
|
case "dangerouslySetInnerHTML":
|
|
12080
12080
|
throw Error(e(399, _));
|
|
12081
12081
|
default:
|
|
12082
|
-
$t(F,
|
|
12082
|
+
$t(F, Q, te, ve);
|
|
12083
12083
|
}
|
|
12084
12084
|
return F.push(St), null;
|
|
12085
12085
|
case "annotation-xml":
|
|
@@ -12090,11 +12090,11 @@ function D4() {
|
|
|
12090
12090
|
case "font-face-format":
|
|
12091
12091
|
case "font-face-name":
|
|
12092
12092
|
case "missing-glyph":
|
|
12093
|
-
return gr(F, V, _,
|
|
12093
|
+
return gr(F, V, _, Q);
|
|
12094
12094
|
case "html":
|
|
12095
|
-
return Ae.insertionMode === 0 && F.push(mt), gr(F, V, _,
|
|
12095
|
+
return Ae.insertionMode === 0 && F.push(mt), gr(F, V, _, Q);
|
|
12096
12096
|
default:
|
|
12097
|
-
if (_.indexOf("-") === -1 && typeof V.is != "string") return gr(F, V, _,
|
|
12097
|
+
if (_.indexOf("-") === -1 && typeof V.is != "string") return gr(F, V, _, Q);
|
|
12098
12098
|
F.push(Xt(_)), Fe = ve = null;
|
|
12099
12099
|
for (Kt in V) if (h.call(V, Kt) && (He = V[Kt], He != null)) switch (Kt) {
|
|
12100
12100
|
case "children":
|
|
@@ -12104,7 +12104,7 @@ function D4() {
|
|
|
12104
12104
|
Fe = He;
|
|
12105
12105
|
break;
|
|
12106
12106
|
case "style":
|
|
12107
|
-
qe(F,
|
|
12107
|
+
qe(F, Q, He);
|
|
12108
12108
|
break;
|
|
12109
12109
|
case "suppressContentEditableWarning":
|
|
12110
12110
|
case "suppressHydrationWarning":
|
|
@@ -12122,27 +12122,27 @@ function D4() {
|
|
|
12122
12122
|
if (i(F, Zr), V === null) throw Error(e(395));
|
|
12123
12123
|
return i(F, V), a(F, Vr);
|
|
12124
12124
|
}
|
|
12125
|
-
var sr = u('<div hidden id="'),
|
|
12126
|
-
function xt(F, _, V,
|
|
12125
|
+
var sr = u('<div hidden id="'), Er = u('">'), tt = u("</div>"), Nr = u('<svg aria-hidden="true" style="display:none" id="'), Xr = u('">'), Se = u("</svg>"), P = u('<math aria-hidden="true" style="display:none" id="'), U = u('">'), J = u("</math>"), ue = u('<table hidden id="'), Te = u('">'), We = u("</table>"), wt = u('<table hidden><tbody id="'), It = u('">'), Nt = u("</tbody></table>"), or = u('<table hidden><tr id="'), Lt = u('">'), K = u("</tr></table>"), Ie = u('<table hidden><colgroup id="'), Qe = u('">'), Ye = u("</colgroup></table>");
|
|
12126
|
+
function xt(F, _, V, Q) {
|
|
12127
12127
|
switch (V.insertionMode) {
|
|
12128
12128
|
case 0:
|
|
12129
12129
|
case 1:
|
|
12130
|
-
return i(F, sr), i(F, _.segmentPrefix), i(F, l(
|
|
12130
|
+
return i(F, sr), i(F, _.segmentPrefix), i(F, l(Q.toString(16))), a(F, Er);
|
|
12131
12131
|
case 2:
|
|
12132
|
-
return i(F, Nr), i(F, _.segmentPrefix), i(F, l(
|
|
12132
|
+
return i(F, Nr), i(F, _.segmentPrefix), i(F, l(Q.toString(16))), a(F, Xr);
|
|
12133
12133
|
case 3:
|
|
12134
|
-
return i(F, P), i(F, _.segmentPrefix), i(F, l(
|
|
12134
|
+
return i(F, P), i(F, _.segmentPrefix), i(F, l(Q.toString(16))), a(F, U);
|
|
12135
12135
|
case 4:
|
|
12136
|
-
return i(F, ue), i(F, _.segmentPrefix), i(F, l(
|
|
12136
|
+
return i(F, ue), i(F, _.segmentPrefix), i(F, l(Q.toString(16))), a(F, Te);
|
|
12137
12137
|
case 5:
|
|
12138
|
-
return i(F, wt), i(F, _.segmentPrefix), i(F, l(
|
|
12138
|
+
return i(F, wt), i(F, _.segmentPrefix), i(F, l(Q.toString(16))), a(F, It);
|
|
12139
12139
|
case 6:
|
|
12140
|
-
return i(F, or), i(F, _.segmentPrefix), i(F, l(
|
|
12140
|
+
return i(F, or), i(F, _.segmentPrefix), i(F, l(Q.toString(16))), a(F, Lt);
|
|
12141
12141
|
case 7:
|
|
12142
12142
|
return i(
|
|
12143
12143
|
F,
|
|
12144
12144
|
Ie
|
|
12145
|
-
), i(F, _.segmentPrefix), i(F, l(
|
|
12145
|
+
), i(F, _.segmentPrefix), i(F, l(Q.toString(16))), a(F, Qe);
|
|
12146
12146
|
default:
|
|
12147
12147
|
throw Error(e(397));
|
|
12148
12148
|
}
|
|
@@ -12224,8 +12224,8 @@ function D4() {
|
|
|
12224
12224
|
var rt = {};
|
|
12225
12225
|
function lt(F, _) {
|
|
12226
12226
|
if (F = F.contextTypes, !F) return rt;
|
|
12227
|
-
var V = {},
|
|
12228
|
-
for (
|
|
12227
|
+
var V = {}, Q;
|
|
12228
|
+
for (Q in F) V[Q] = _[Q];
|
|
12229
12229
|
return V;
|
|
12230
12230
|
}
|
|
12231
12231
|
var nt = null;
|
|
@@ -12270,17 +12270,17 @@ function D4() {
|
|
|
12270
12270
|
F = F._reactInternals, F.replace = !0, F.queue = [_];
|
|
12271
12271
|
}, enqueueForceUpdate: function() {
|
|
12272
12272
|
} };
|
|
12273
|
-
function Or(F, _, V,
|
|
12273
|
+
function Or(F, _, V, Q) {
|
|
12274
12274
|
var Ae = F.state !== void 0 ? F.state : null;
|
|
12275
12275
|
F.updater = vn, F.props = V, F.state = Ae;
|
|
12276
12276
|
var ve = { queue: [], replace: !1 };
|
|
12277
12277
|
F._reactInternals = ve;
|
|
12278
12278
|
var Fe = _.contextType;
|
|
12279
|
-
if (F.context = typeof Fe == "object" && Fe !== null ? Fe._currentValue :
|
|
12279
|
+
if (F.context = typeof Fe == "object" && Fe !== null ? Fe._currentValue : Q, Fe = _.getDerivedStateFromProps, typeof Fe == "function" && (Fe = Fe(V, Ae), Ae = Fe == null ? Ae : Cn({}, Ae, Fe), F.state = Ae), typeof _.getDerivedStateFromProps != "function" && typeof F.getSnapshotBeforeUpdate != "function" && (typeof F.UNSAFE_componentWillMount == "function" || typeof F.componentWillMount == "function")) if (_ = F.state, typeof F.componentWillMount == "function" && F.componentWillMount(), typeof F.UNSAFE_componentWillMount == "function" && F.UNSAFE_componentWillMount(), _ !== F.state && vn.enqueueReplaceState(F, F.state, null), ve.queue !== null && 0 < ve.queue.length) if (_ = ve.queue, Fe = ve.replace, ve.queue = null, ve.replace = !1, Fe && _.length === 1) F.state = _[0];
|
|
12280
12280
|
else {
|
|
12281
12281
|
for (ve = Fe ? _[0] : F.state, Ae = !0, Fe = Fe ? 1 : 0; Fe < _.length; Fe++) {
|
|
12282
12282
|
var He = _[Fe];
|
|
12283
|
-
He = typeof He == "function" ? He.call(F, ve, V,
|
|
12283
|
+
He = typeof He == "function" ? He.call(F, ve, V, Q) : He, He != null && (Ae ? (Ae = !1, ve = Cn({}, ve, He)) : Cn(ve, He));
|
|
12284
12284
|
}
|
|
12285
12285
|
F.state = ve;
|
|
12286
12286
|
}
|
|
@@ -12288,16 +12288,16 @@ function D4() {
|
|
|
12288
12288
|
}
|
|
12289
12289
|
var $n = { id: 1, overflow: "" };
|
|
12290
12290
|
function Bn(F, _, V) {
|
|
12291
|
-
var
|
|
12291
|
+
var Q = F.id;
|
|
12292
12292
|
F = F.overflow;
|
|
12293
|
-
var Ae = 32 - Mn(
|
|
12294
|
-
|
|
12293
|
+
var Ae = 32 - Mn(Q) - 1;
|
|
12294
|
+
Q &= ~(1 << Ae), V += 1;
|
|
12295
12295
|
var ve = 32 - Mn(_) + Ae;
|
|
12296
12296
|
if (30 < ve) {
|
|
12297
12297
|
var Fe = Ae - Ae % 5;
|
|
12298
|
-
return ve = (
|
|
12298
|
+
return ve = (Q & (1 << Fe) - 1).toString(32), Q >>= Fe, Ae -= Fe, { id: 1 << 32 - Mn(_) + Ae | V << Ae | Q, overflow: ve + F };
|
|
12299
12299
|
}
|
|
12300
|
-
return { id: 1 << ve | V << Ae |
|
|
12300
|
+
return { id: 1 << ve | V << Ae | Q, overflow: F };
|
|
12301
12301
|
}
|
|
12302
12302
|
var Mn = Math.clz32 ? Math.clz32 : Ai, Oi = Math.log, yi = Math.LN2;
|
|
12303
12303
|
function Ai(F) {
|
|
@@ -12326,13 +12326,13 @@ function D4() {
|
|
|
12326
12326
|
}
|
|
12327
12327
|
function Br(F, _, V) {
|
|
12328
12328
|
if (Un = xe(), lr = ot(), In) {
|
|
12329
|
-
var
|
|
12330
|
-
if (_ =
|
|
12331
|
-
H.delete(
|
|
12329
|
+
var Q = lr.queue;
|
|
12330
|
+
if (_ = Q.dispatch, H !== null && (V = H.get(Q), V !== void 0)) {
|
|
12331
|
+
H.delete(Q), Q = lr.memoizedState;
|
|
12332
12332
|
do
|
|
12333
|
-
|
|
12333
|
+
Q = F(Q, V.action), V = V.next;
|
|
12334
12334
|
while (V !== null);
|
|
12335
|
-
return lr.memoizedState =
|
|
12335
|
+
return lr.memoizedState = Q, [Q, _];
|
|
12336
12336
|
}
|
|
12337
12337
|
return [lr.memoizedState, _];
|
|
12338
12338
|
}
|
|
@@ -12342,16 +12342,16 @@ function D4() {
|
|
|
12342
12342
|
if (Un = xe(), lr = ot(), _ = _ === void 0 ? null : _, lr !== null) {
|
|
12343
12343
|
var V = lr.memoizedState;
|
|
12344
12344
|
if (V !== null && _ !== null) {
|
|
12345
|
-
var
|
|
12346
|
-
e: if (
|
|
12345
|
+
var Q = V[1];
|
|
12346
|
+
e: if (Q === null) Q = !1;
|
|
12347
12347
|
else {
|
|
12348
|
-
for (var Ae = 0; Ae <
|
|
12349
|
-
|
|
12348
|
+
for (var Ae = 0; Ae < Q.length && Ae < _.length; Ae++) if (!Ei(_[Ae], Q[Ae])) {
|
|
12349
|
+
Q = !1;
|
|
12350
12350
|
break e;
|
|
12351
12351
|
}
|
|
12352
|
-
|
|
12352
|
+
Q = !0;
|
|
12353
12353
|
}
|
|
12354
|
-
if (
|
|
12354
|
+
if (Q) return V[0];
|
|
12355
12355
|
}
|
|
12356
12356
|
}
|
|
12357
12357
|
return F = F(), lr.memoizedState = [F, _], F;
|
|
@@ -12405,20 +12405,20 @@ function D4() {
|
|
|
12405
12405
|
}
|
|
12406
12406
|
function Pt() {
|
|
12407
12407
|
}
|
|
12408
|
-
function pr(F, _, V,
|
|
12408
|
+
function pr(F, _, V, Q, Ae, ve, Fe, He, Rt) {
|
|
12409
12409
|
var Kt = [], qt = /* @__PURE__ */ new Set();
|
|
12410
|
-
return _ = { destination: null, responseState: _, progressiveChunkSize:
|
|
12410
|
+
return _ = { destination: null, responseState: _, progressiveChunkSize: Q === void 0 ? 12800 : Q, status: 0, fatalError: null, nextSegmentId: 0, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, abortableTasks: qt, pingedTasks: Kt, clientRenderedBoundaries: [], completedBoundaries: [], partialBoundaries: [], onError: Ae === void 0 ? yt : Ae, onAllReady: ve === void 0 ? Pt : ve, onShellReady: Fe === void 0 ? Pt : Fe, onShellError: He === void 0 ? Pt : He, onFatalError: Rt === void 0 ? Pt : Rt }, V = ur(_, 0, null, V, !1, !1), V.parentFlushed = !0, F = yr(_, F, null, V, qt, rt, null, $n), Kt.push(F), _;
|
|
12411
12411
|
}
|
|
12412
|
-
function yr(F, _, V,
|
|
12412
|
+
function yr(F, _, V, Q, Ae, ve, Fe, He) {
|
|
12413
12413
|
F.allPendingTasks++, V === null ? F.pendingRootTasks++ : V.pendingTasks++;
|
|
12414
12414
|
var Rt = { node: _, ping: function() {
|
|
12415
12415
|
var Kt = F.pingedTasks;
|
|
12416
12416
|
Kt.push(Rt), Kt.length === 1 && fs(F);
|
|
12417
|
-
}, blockedBoundary: V, blockedSegment:
|
|
12417
|
+
}, blockedBoundary: V, blockedSegment: Q, abortSet: Ae, legacyContext: ve, context: Fe, treeContext: He };
|
|
12418
12418
|
return Ae.add(Rt), Rt;
|
|
12419
12419
|
}
|
|
12420
|
-
function ur(F, _, V,
|
|
12421
|
-
return { status: 0, id: -1, index: _, parentFlushed: !1, chunks: [], children: [], formatContext:
|
|
12420
|
+
function ur(F, _, V, Q, Ae, ve) {
|
|
12421
|
+
return { status: 0, id: -1, index: _, parentFlushed: !1, chunks: [], children: [], formatContext: Q, boundary: V, lastPushedText: Ae, textEmbedded: ve };
|
|
12422
12422
|
}
|
|
12423
12423
|
function Tr(F, _) {
|
|
12424
12424
|
if (F = F.onError(_), F != null && typeof F != "string") throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "' + typeof F + '" instead');
|
|
@@ -12428,21 +12428,21 @@ function D4() {
|
|
|
12428
12428
|
var V = F.onShellError;
|
|
12429
12429
|
V(_), V = F.onFatalError, V(_), F.destination !== null ? (F.status = 2, c(F.destination, _)) : (F.status = 1, F.fatalError = _);
|
|
12430
12430
|
}
|
|
12431
|
-
function yn(F, _, V,
|
|
12432
|
-
for (Un = {}, En = _, I = 0, F = V(
|
|
12431
|
+
function yn(F, _, V, Q, Ae) {
|
|
12432
|
+
for (Un = {}, En = _, I = 0, F = V(Q, Ae); bi; ) bi = !1, I = 0, ae += 1, lr = null, F = V(Q, Ae);
|
|
12433
12433
|
return jt(), F;
|
|
12434
12434
|
}
|
|
12435
|
-
function Xi(F, _, V,
|
|
12436
|
-
var Ae = V.render(), ve =
|
|
12435
|
+
function Xi(F, _, V, Q) {
|
|
12436
|
+
var Ae = V.render(), ve = Q.childContextTypes;
|
|
12437
12437
|
if (ve != null) {
|
|
12438
12438
|
var Fe = _.legacyContext;
|
|
12439
|
-
if (typeof V.getChildContext != "function")
|
|
12439
|
+
if (typeof V.getChildContext != "function") Q = Fe;
|
|
12440
12440
|
else {
|
|
12441
12441
|
V = V.getChildContext();
|
|
12442
|
-
for (var He in V) if (!(He in ve)) throw Error(e(108, _e(
|
|
12443
|
-
|
|
12442
|
+
for (var He in V) if (!(He in ve)) throw Error(e(108, _e(Q) || "Unknown", He));
|
|
12443
|
+
Q = Cn({}, Fe, V);
|
|
12444
12444
|
}
|
|
12445
|
-
_.legacyContext =
|
|
12445
|
+
_.legacyContext = Q, qn(F, _, Ae), _.legacyContext = Fe;
|
|
12446
12446
|
} else qn(F, _, Ae);
|
|
12447
12447
|
}
|
|
12448
12448
|
function la(F, _) {
|
|
@@ -12453,26 +12453,26 @@ function D4() {
|
|
|
12453
12453
|
}
|
|
12454
12454
|
return _;
|
|
12455
12455
|
}
|
|
12456
|
-
function Ji(F, _, V,
|
|
12456
|
+
function Ji(F, _, V, Q, Ae) {
|
|
12457
12457
|
if (typeof V == "function") if (V.prototype && V.prototype.isReactComponent) {
|
|
12458
12458
|
Ae = lt(V, _.legacyContext);
|
|
12459
12459
|
var ve = V.contextType;
|
|
12460
|
-
ve = new V(
|
|
12460
|
+
ve = new V(Q, typeof ve == "object" && ve !== null ? ve._currentValue : Ae), Or(ve, V, Q, Ae), Xi(F, _, ve, V);
|
|
12461
12461
|
} else {
|
|
12462
|
-
ve = lt(V, _.legacyContext), Ae = yn(F, _, V,
|
|
12462
|
+
ve = lt(V, _.legacyContext), Ae = yn(F, _, V, Q, ve);
|
|
12463
12463
|
var Fe = I !== 0;
|
|
12464
|
-
if (typeof Ae == "object" && Ae !== null && typeof Ae.render == "function" && Ae.$$typeof === void 0) Or(Ae, V,
|
|
12464
|
+
if (typeof Ae == "object" && Ae !== null && typeof Ae.render == "function" && Ae.$$typeof === void 0) Or(Ae, V, Q, ve), Xi(F, _, Ae, V);
|
|
12465
12465
|
else if (Fe) {
|
|
12466
|
-
|
|
12466
|
+
Q = _.treeContext, _.treeContext = Bn(Q, 1, 0);
|
|
12467
12467
|
try {
|
|
12468
12468
|
qn(F, _, Ae);
|
|
12469
12469
|
} finally {
|
|
12470
|
-
_.treeContext =
|
|
12470
|
+
_.treeContext = Q;
|
|
12471
12471
|
}
|
|
12472
12472
|
} else qn(F, _, Ae);
|
|
12473
12473
|
}
|
|
12474
12474
|
else if (typeof V == "string") {
|
|
12475
|
-
switch (Ae = _.blockedSegment, ve = wr(Ae.chunks, V,
|
|
12475
|
+
switch (Ae = _.blockedSegment, ve = wr(Ae.chunks, V, Q, F.responseState, Ae.formatContext), Ae.lastPushedText = !1, Fe = Ae.formatContext, Ae.formatContext = ee(Fe, V, Q), hi(F, _, ve), Ae.formatContext = Fe, V) {
|
|
12476
12476
|
case "area":
|
|
12477
12477
|
case "base":
|
|
12478
12478
|
case "br":
|
|
@@ -12500,16 +12500,16 @@ function D4() {
|
|
|
12500
12500
|
case ai:
|
|
12501
12501
|
case Sn:
|
|
12502
12502
|
case Jn:
|
|
12503
|
-
qn(F, _,
|
|
12503
|
+
qn(F, _, Q.children);
|
|
12504
12504
|
return;
|
|
12505
12505
|
case on:
|
|
12506
|
-
qn(F, _,
|
|
12506
|
+
qn(F, _, Q.children);
|
|
12507
12507
|
return;
|
|
12508
12508
|
case z:
|
|
12509
12509
|
throw Error(e(343));
|
|
12510
12510
|
case Lr:
|
|
12511
12511
|
e: {
|
|
12512
|
-
V = _.blockedBoundary, Ae = _.blockedSegment, ve =
|
|
12512
|
+
V = _.blockedBoundary, Ae = _.blockedSegment, ve = Q.fallback, Q = Q.children, Fe = /* @__PURE__ */ new Set();
|
|
12513
12513
|
var He = { id: null, rootSegmentID: -1, parentFlushed: !1, pendingTasks: 0, forceClientRender: !1, completedSegments: [], byteSize: 0, fallbackAbortableTasks: Fe, errorDigest: null }, Rt = ur(F, Ae.chunks.length, He, Ae.formatContext, !1, !1);
|
|
12514
12514
|
Ae.children.push(Rt), Ae.lastPushedText = !1;
|
|
12515
12515
|
var Kt = ur(F, 0, null, Ae.formatContext, !1, !1);
|
|
@@ -12518,7 +12518,7 @@ function D4() {
|
|
|
12518
12518
|
if (hi(
|
|
12519
12519
|
F,
|
|
12520
12520
|
_,
|
|
12521
|
-
|
|
12521
|
+
Q
|
|
12522
12522
|
), Kt.lastPushedText && Kt.textEmbedded && Kt.chunks.push(re), Kt.status = 1, ua(He, Kt), He.pendingTasks === 0) break e;
|
|
12523
12523
|
} catch (qt) {
|
|
12524
12524
|
Kt.status = 4, He.forceClientRender = !0, He.errorDigest = Tr(F, qt);
|
|
@@ -12531,27 +12531,27 @@ function D4() {
|
|
|
12531
12531
|
}
|
|
12532
12532
|
if (typeof V == "object" && V !== null) switch (V.$$typeof) {
|
|
12533
12533
|
case rn:
|
|
12534
|
-
if (
|
|
12534
|
+
if (Q = yn(F, _, V.render, Q, Ae), I !== 0) {
|
|
12535
12535
|
V = _.treeContext, _.treeContext = Bn(V, 1, 0);
|
|
12536
12536
|
try {
|
|
12537
|
-
qn(F, _,
|
|
12537
|
+
qn(F, _, Q);
|
|
12538
12538
|
} finally {
|
|
12539
12539
|
_.treeContext = V;
|
|
12540
12540
|
}
|
|
12541
|
-
} else qn(F, _,
|
|
12541
|
+
} else qn(F, _, Q);
|
|
12542
12542
|
return;
|
|
12543
12543
|
case E:
|
|
12544
|
-
V = V.type,
|
|
12544
|
+
V = V.type, Q = la(V, Q), Ji(F, _, V, Q, Ae);
|
|
12545
12545
|
return;
|
|
12546
12546
|
case mn:
|
|
12547
|
-
if (Ae =
|
|
12548
|
-
|
|
12547
|
+
if (Ae = Q.children, V = V._context, Q = Q.value, ve = V._currentValue, V._currentValue = Q, Fe = nt, nt = Q = { parent: Fe, depth: Fe === null ? 0 : Fe.depth + 1, context: V, parentValue: ve, value: Q }, _.context = Q, qn(F, _, Ae), F = nt, F === null) throw Error(e(403));
|
|
12548
|
+
Q = F.parentValue, F.context._currentValue = Q === ce ? F.context._defaultValue : Q, F = nt = F.parent, _.context = F;
|
|
12549
12549
|
return;
|
|
12550
12550
|
case sn:
|
|
12551
|
-
|
|
12551
|
+
Q = Q.children, Q = Q(V._currentValue), qn(F, _, Q);
|
|
12552
12552
|
return;
|
|
12553
12553
|
case O:
|
|
12554
|
-
Ae = V._init, V = Ae(V._payload),
|
|
12554
|
+
Ae = V._init, V = Ae(V._payload), Q = la(V, Q), Ji(F, _, V, Q, void 0);
|
|
12555
12555
|
return;
|
|
12556
12556
|
}
|
|
12557
12557
|
throw Error(e(
|
|
@@ -12570,19 +12570,19 @@ function D4() {
|
|
|
12570
12570
|
case tn:
|
|
12571
12571
|
throw Error(e(257));
|
|
12572
12572
|
case O:
|
|
12573
|
-
var
|
|
12574
|
-
V =
|
|
12573
|
+
var Q = V._init;
|
|
12574
|
+
V = Q(V._payload), qn(F, _, V);
|
|
12575
12575
|
return;
|
|
12576
12576
|
}
|
|
12577
12577
|
if (ie(V)) {
|
|
12578
12578
|
Ki(F, _, V);
|
|
12579
12579
|
return;
|
|
12580
12580
|
}
|
|
12581
|
-
if (V === null || typeof V != "object" ?
|
|
12582
|
-
if (V =
|
|
12581
|
+
if (V === null || typeof V != "object" ? Q = null : (Q = Ce && V[Ce] || V["@@iterator"], Q = typeof Q == "function" ? Q : null), Q && (Q = Q.call(V))) {
|
|
12582
|
+
if (V = Q.next(), !V.done) {
|
|
12583
12583
|
var Ae = [];
|
|
12584
12584
|
do
|
|
12585
|
-
Ae.push(V.value), V =
|
|
12585
|
+
Ae.push(V.value), V = Q.next();
|
|
12586
12586
|
while (!V.done);
|
|
12587
12587
|
Ki(F, _, Ae);
|
|
12588
12588
|
}
|
|
@@ -12590,12 +12590,12 @@ function D4() {
|
|
|
12590
12590
|
}
|
|
12591
12591
|
throw F = Object.prototype.toString.call(V), Error(e(31, F === "[object Object]" ? "object with keys {" + Object.keys(V).join(", ") + "}" : F));
|
|
12592
12592
|
}
|
|
12593
|
-
typeof V == "string" ? (
|
|
12593
|
+
typeof V == "string" ? (Q = _.blockedSegment, Q.lastPushedText = de(_.blockedSegment.chunks, V, F.responseState, Q.lastPushedText)) : typeof V == "number" && (Q = _.blockedSegment, Q.lastPushedText = de(_.blockedSegment.chunks, "" + V, F.responseState, Q.lastPushedText));
|
|
12594
12594
|
}
|
|
12595
12595
|
function Ki(F, _, V) {
|
|
12596
|
-
for (var
|
|
12596
|
+
for (var Q = V.length, Ae = 0; Ae < Q; Ae++) {
|
|
12597
12597
|
var ve = _.treeContext;
|
|
12598
|
-
_.treeContext = Bn(ve,
|
|
12598
|
+
_.treeContext = Bn(ve, Q, Ae);
|
|
12599
12599
|
try {
|
|
12600
12600
|
hi(F, _, V[Ae]);
|
|
12601
12601
|
} finally {
|
|
@@ -12604,15 +12604,15 @@ function D4() {
|
|
|
12604
12604
|
}
|
|
12605
12605
|
}
|
|
12606
12606
|
function hi(F, _, V) {
|
|
12607
|
-
var
|
|
12607
|
+
var Q = _.blockedSegment.formatContext, Ae = _.legacyContext, ve = _.context;
|
|
12608
12608
|
try {
|
|
12609
12609
|
return qn(F, _, V);
|
|
12610
12610
|
} catch (Rt) {
|
|
12611
12611
|
if (jt(), typeof Rt == "object" && Rt !== null && typeof Rt.then == "function") {
|
|
12612
12612
|
V = Rt;
|
|
12613
12613
|
var Fe = _.blockedSegment, He = ur(F, Fe.chunks.length, null, Fe.formatContext, Fe.lastPushedText, !0);
|
|
12614
|
-
Fe.children.push(He), Fe.lastPushedText = !1, F = yr(F, _.node, _.blockedBoundary, He, _.abortSet, _.legacyContext, _.context, _.treeContext).ping, V.then(F, F), _.blockedSegment.formatContext =
|
|
12615
|
-
} else throw _.blockedSegment.formatContext =
|
|
12614
|
+
Fe.children.push(He), Fe.lastPushedText = !1, F = yr(F, _.node, _.blockedBoundary, He, _.abortSet, _.legacyContext, _.context, _.treeContext).ping, V.then(F, F), _.blockedSegment.formatContext = Q, _.legacyContext = Ae, _.context = ve, Ln(ve);
|
|
12615
|
+
} else throw _.blockedSegment.formatContext = Q, _.legacyContext = Ae, _.context = ve, Ln(ve), Rt;
|
|
12616
12616
|
}
|
|
12617
12617
|
}
|
|
12618
12618
|
function Va(F) {
|
|
@@ -12620,10 +12620,10 @@ function D4() {
|
|
|
12620
12620
|
F = F.blockedSegment, F.status = 3, cs(this, _, F);
|
|
12621
12621
|
}
|
|
12622
12622
|
function za(F, _, V) {
|
|
12623
|
-
var
|
|
12624
|
-
F.blockedSegment.status = 3,
|
|
12623
|
+
var Q = F.blockedBoundary;
|
|
12624
|
+
F.blockedSegment.status = 3, Q === null ? (_.allPendingTasks--, _.status !== 2 && (_.status = 2, _.destination !== null && _.destination.close())) : (Q.pendingTasks--, Q.forceClientRender || (Q.forceClientRender = !0, F = V === void 0 ? Error(e(432)) : V, Q.errorDigest = _.onError(F), Q.parentFlushed && _.clientRenderedBoundaries.push(Q)), Q.fallbackAbortableTasks.forEach(function(Ae) {
|
|
12625
12625
|
return za(Ae, _, V);
|
|
12626
|
-
}),
|
|
12626
|
+
}), Q.fallbackAbortableTasks.clear(), _.allPendingTasks--, _.allPendingTasks === 0 && (Q = _.onAllReady, Q()));
|
|
12627
12627
|
}
|
|
12628
12628
|
function ua(F, _) {
|
|
12629
12629
|
if (_.chunks.length === 0 && _.children.length === 1 && _.children[0].boundary === null) {
|
|
@@ -12645,7 +12645,7 @@ function D4() {
|
|
|
12645
12645
|
if (F.status !== 2) {
|
|
12646
12646
|
var _ = nt, V = Xe.current;
|
|
12647
12647
|
Xe.current = Me;
|
|
12648
|
-
var
|
|
12648
|
+
var Q = Ke;
|
|
12649
12649
|
Ke = F.responseState;
|
|
12650
12650
|
try {
|
|
12651
12651
|
var Ae = F.pingedTasks, ve;
|
|
@@ -12674,42 +12674,42 @@ function D4() {
|
|
|
12674
12674
|
} catch (le) {
|
|
12675
12675
|
Tr(F, le), $r(F, le);
|
|
12676
12676
|
} finally {
|
|
12677
|
-
Ke =
|
|
12677
|
+
Ke = Q, Xe.current = V, V === Me && Ln(_);
|
|
12678
12678
|
}
|
|
12679
12679
|
}
|
|
12680
12680
|
}
|
|
12681
12681
|
function ki(F, _, V) {
|
|
12682
12682
|
switch (V.parentFlushed = !0, V.status) {
|
|
12683
12683
|
case 0:
|
|
12684
|
-
var
|
|
12685
|
-
return V.lastPushedText = !1, V.textEmbedded = !1, F = F.responseState, i(_, ir), i(_, F.placeholderPrefix), F = l(
|
|
12684
|
+
var Q = V.id = F.nextSegmentId++;
|
|
12685
|
+
return V.lastPushedText = !1, V.textEmbedded = !1, F = F.responseState, i(_, ir), i(_, F.placeholderPrefix), F = l(Q.toString(16)), i(_, F), a(_, Yr);
|
|
12686
12686
|
case 1:
|
|
12687
12687
|
V.status = 2;
|
|
12688
12688
|
var Ae = !0;
|
|
12689
|
-
|
|
12689
|
+
Q = V.chunks;
|
|
12690
12690
|
var ve = 0;
|
|
12691
12691
|
V = V.children;
|
|
12692
12692
|
for (var Fe = 0; Fe < V.length; Fe++) {
|
|
12693
|
-
for (Ae = V[Fe]; ve < Ae.index; ve++) i(_,
|
|
12693
|
+
for (Ae = V[Fe]; ve < Ae.index; ve++) i(_, Q[ve]);
|
|
12694
12694
|
Ae = Ha(F, _, Ae);
|
|
12695
12695
|
}
|
|
12696
|
-
for (; ve <
|
|
12697
|
-
return ve <
|
|
12696
|
+
for (; ve < Q.length - 1; ve++) i(_, Q[ve]);
|
|
12697
|
+
return ve < Q.length && (Ae = a(_, Q[ve])), Ae;
|
|
12698
12698
|
default:
|
|
12699
12699
|
throw Error(e(390));
|
|
12700
12700
|
}
|
|
12701
12701
|
}
|
|
12702
12702
|
function Ha(F, _, V) {
|
|
12703
|
-
var
|
|
12704
|
-
if (
|
|
12705
|
-
if (
|
|
12706
|
-
else if (0 <
|
|
12707
|
-
|
|
12703
|
+
var Q = V.boundary;
|
|
12704
|
+
if (Q === null) return ki(F, _, V);
|
|
12705
|
+
if (Q.parentFlushed = !0, Q.forceClientRender) Q = Q.errorDigest, a(_, pn), i(_, Fr), Q && (i(_, en), i(_, l(B(Q))), i(_, zr)), a(_, Hr), ki(F, _, V);
|
|
12706
|
+
else if (0 < Q.pendingTasks) {
|
|
12707
|
+
Q.rootSegmentID = F.nextSegmentId++, 0 < Q.completedSegments.length && F.partialBoundaries.push(Q);
|
|
12708
12708
|
var Ae = F.responseState, ve = Ae.nextSuspenseID++;
|
|
12709
|
-
Ae = u(Ae.boundaryPrefix + ve.toString(16)),
|
|
12710
|
-
} else if (
|
|
12709
|
+
Ae = u(Ae.boundaryPrefix + ve.toString(16)), Q = Q.id = Ae, zt(_, F.responseState, Q), ki(F, _, V);
|
|
12710
|
+
} else if (Q.byteSize > F.progressiveChunkSize) Q.rootSegmentID = F.nextSegmentId++, F.completedBoundaries.push(Q), zt(_, F.responseState, Q.id), ki(F, _, V);
|
|
12711
12711
|
else {
|
|
12712
|
-
if (a(_, kr), V =
|
|
12712
|
+
if (a(_, kr), V = Q.completedSegments, V.length !== 1) throw Error(e(391));
|
|
12713
12713
|
Ha(F, _, V[0]);
|
|
12714
12714
|
}
|
|
12715
12715
|
return a(_, gn);
|
|
@@ -12718,18 +12718,18 @@ function D4() {
|
|
|
12718
12718
|
return xt(_, F.responseState, V.formatContext, V.id), Ha(F, _, V), dt(_, V.formatContext);
|
|
12719
12719
|
}
|
|
12720
12720
|
function hs(F, _, V) {
|
|
12721
|
-
for (var
|
|
12722
|
-
if (
|
|
12723
|
-
return V = l(V.toString(16)), i(_,
|
|
12721
|
+
for (var Q = V.completedSegments, Ae = 0; Ae < Q.length; Ae++) ps(F, _, V, Q[Ae]);
|
|
12722
|
+
if (Q.length = 0, F = F.responseState, Q = V.id, V = V.rootSegmentID, i(_, F.startInlineScript), F.sentCompleteBoundaryFunction ? i(_, Ht) : (F.sentCompleteBoundaryFunction = !0, i(_, dr)), Q === null) throw Error(e(395));
|
|
12723
|
+
return V = l(V.toString(16)), i(_, Q), i(_, On), i(_, F.segmentPrefix), i(_, V), a(_, Tn);
|
|
12724
12724
|
}
|
|
12725
|
-
function ps(F, _, V,
|
|
12726
|
-
if (
|
|
12727
|
-
var Ae =
|
|
12725
|
+
function ps(F, _, V, Q) {
|
|
12726
|
+
if (Q.status === 2) return !0;
|
|
12727
|
+
var Ae = Q.id;
|
|
12728
12728
|
if (Ae === -1) {
|
|
12729
|
-
if ((
|
|
12730
|
-
return ds(F, _,
|
|
12729
|
+
if ((Q.id = V.rootSegmentID) === -1) throw Error(e(392));
|
|
12730
|
+
return ds(F, _, Q);
|
|
12731
12731
|
}
|
|
12732
|
-
return ds(F, _,
|
|
12732
|
+
return ds(F, _, Q), F = F.responseState, i(_, F.startInlineScript), F.sentCompleteSegmentFunction ? i(_, Et) : (F.sentCompleteSegmentFunction = !0, i(_, Dt)), i(_, F.segmentPrefix), Ae = l(Ae.toString(16)), i(_, Ae), i(_, hr), i(_, F.placeholderPrefix), i(_, Ae), a(_, Zt);
|
|
12733
12733
|
}
|
|
12734
12734
|
function ca(F, _) {
|
|
12735
12735
|
t = new Uint8Array(512), n = 0;
|
|
@@ -12737,20 +12737,20 @@ function D4() {
|
|
|
12737
12737
|
var V = F.completedRootSegment;
|
|
12738
12738
|
if (V !== null && F.pendingRootTasks === 0) {
|
|
12739
12739
|
Ha(F, _, V), F.completedRootSegment = null;
|
|
12740
|
-
var
|
|
12741
|
-
for (V = 0; V <
|
|
12742
|
-
V <
|
|
12740
|
+
var Q = F.responseState.bootstrapChunks;
|
|
12741
|
+
for (V = 0; V < Q.length - 1; V++) i(_, Q[V]);
|
|
12742
|
+
V < Q.length && a(_, Q[V]);
|
|
12743
12743
|
}
|
|
12744
12744
|
var Ae = F.clientRenderedBoundaries, ve;
|
|
12745
12745
|
for (ve = 0; ve < Ae.length; ve++) {
|
|
12746
12746
|
var Fe = Ae[ve];
|
|
12747
|
-
|
|
12747
|
+
Q = _;
|
|
12748
12748
|
var He = F.responseState, Rt = Fe.id, Kt = Fe.errorDigest, qt = Fe.errorMessage, qr = Fe.errorComponentStack;
|
|
12749
|
-
if (i(
|
|
12750
|
-
|
|
12749
|
+
if (i(Q, He.startInlineScript), He.sentClientRenderFunction ? i(Q, xr) : (He.sentClientRenderFunction = !0, i(
|
|
12750
|
+
Q,
|
|
12751
12751
|
mr
|
|
12752
12752
|
)), Rt === null) throw Error(e(395));
|
|
12753
|
-
i(
|
|
12753
|
+
i(Q, Rt), i(Q, wn), (Kt || qt || qr) && (i(Q, Gn), i(Q, l(jr(Kt || "")))), (qt || qr) && (i(Q, Gn), i(Q, l(jr(qt || "")))), qr && (i(Q, Gn), i(Q, l(jr(qr)))), a(Q, Rr);
|
|
12754
12754
|
}
|
|
12755
12755
|
Ae.splice(0, ve);
|
|
12756
12756
|
var L = F.completedBoundaries;
|
|
@@ -12790,15 +12790,15 @@ function D4() {
|
|
|
12790
12790
|
function zi(F, _) {
|
|
12791
12791
|
try {
|
|
12792
12792
|
var V = F.abortableTasks;
|
|
12793
|
-
V.forEach(function(
|
|
12794
|
-
return za(
|
|
12793
|
+
V.forEach(function(Q) {
|
|
12794
|
+
return za(Q, F, _);
|
|
12795
12795
|
}), V.clear(), F.destination !== null && ca(F, F.destination);
|
|
12796
|
-
} catch (
|
|
12797
|
-
Tr(F,
|
|
12796
|
+
} catch (Q) {
|
|
12797
|
+
Tr(F, Q), $r(F, Q);
|
|
12798
12798
|
}
|
|
12799
12799
|
}
|
|
12800
12800
|
return _h.renderToReadableStream = function(F, _) {
|
|
12801
|
-
return new Promise(function(V,
|
|
12801
|
+
return new Promise(function(V, Q) {
|
|
12802
12802
|
var Ae, ve, Fe = new Promise(function(qt, qr) {
|
|
12803
12803
|
ve = qt, Ae = qr;
|
|
12804
12804
|
}), He = pr(F, Ue(_ ? _.identifierPrefix : void 0, _ ? _.nonce : void 0, _ ? _.bootstrapScriptContent : void 0, _ ? _.bootstrapScripts : void 0, _ ? _.bootstrapModules : void 0), Oe(_ ? _.namespaceURI : void 0), _ ? _.progressiveChunkSize : void 0, _ ? _.onError : void 0, ve, function() {
|
|
@@ -12818,7 +12818,7 @@ function D4() {
|
|
|
12818
12818
|
qt.allReady = Fe, V(qt);
|
|
12819
12819
|
}, function(qt) {
|
|
12820
12820
|
Fe.catch(function() {
|
|
12821
|
-
}),
|
|
12821
|
+
}), Q(qt);
|
|
12822
12822
|
}, Ae);
|
|
12823
12823
|
if (_ && _.signal) {
|
|
12824
12824
|
var Rt = _.signal, Kt = function() {
|
|
@@ -12912,7 +12912,7 @@ function P4() {
|
|
|
12912
12912
|
if (y(p))
|
|
12913
12913
|
return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", v(p)), A(p);
|
|
12914
12914
|
}
|
|
12915
|
-
var S = Object.prototype.hasOwnProperty, R = 0, B = 1, G = 2, $ = 3, ie = 4,
|
|
12915
|
+
var S = Object.prototype.hasOwnProperty, R = 0, B = 1, G = 2, $ = 3, ie = 4, W = 5, Y = 6, X = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", oe = X + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", se = new RegExp("^[" + X + "][" + oe + "]*$"), he = {}, ye = {};
|
|
12916
12916
|
function Ue(p) {
|
|
12917
12917
|
return S.call(ye, p) ? !0 : S.call(he, p) ? !1 : se.test(p) ? (ye[p] = !0, !0) : (he[p] = !0, i("Invalid attribute name: `%s`", p), !1);
|
|
12918
12918
|
}
|
|
@@ -13120,7 +13120,7 @@ function P4() {
|
|
|
13120
13120
|
}), ["rowSpan", "start"].forEach(function(p) {
|
|
13121
13121
|
re[p] = new ee(
|
|
13122
13122
|
p,
|
|
13123
|
-
|
|
13123
|
+
W,
|
|
13124
13124
|
!1,
|
|
13125
13125
|
// mustUseProperty
|
|
13126
13126
|
p.toLowerCase(),
|
|
@@ -13478,7 +13478,7 @@ function P4() {
|
|
|
13478
13478
|
}
|
|
13479
13479
|
return !0;
|
|
13480
13480
|
}
|
|
13481
|
-
function
|
|
13481
|
+
function Sr(p, m) {
|
|
13482
13482
|
{
|
|
13483
13483
|
var b = [];
|
|
13484
13484
|
for (var C in m) {
|
|
@@ -13492,7 +13492,7 @@ function P4() {
|
|
|
13492
13492
|
}
|
|
13493
13493
|
}
|
|
13494
13494
|
function gr(p, m) {
|
|
13495
|
-
Pr(p, m) ||
|
|
13495
|
+
Pr(p, m) || Sr(p, m);
|
|
13496
13496
|
}
|
|
13497
13497
|
var nr = !1;
|
|
13498
13498
|
function fr(p, m) {
|
|
@@ -14054,7 +14054,7 @@ function P4() {
|
|
|
14054
14054
|
return p.replace(gn, function(m, b) {
|
|
14055
14055
|
return b.toUpperCase();
|
|
14056
14056
|
});
|
|
14057
|
-
},
|
|
14057
|
+
}, Er = function(p) {
|
|
14058
14058
|
zr.hasOwnProperty(p) && zr[p] || (zr[p] = !0, i(
|
|
14059
14059
|
"Unsupported style property %s. Did you mean %s?",
|
|
14060
14060
|
p,
|
|
@@ -14073,7 +14073,7 @@ function P4() {
|
|
|
14073
14073
|
zt || (zt = !0, i("`Infinity` is an invalid value for the `%s` css style property.", p));
|
|
14074
14074
|
};
|
|
14075
14075
|
Zr = function(p, m) {
|
|
14076
|
-
p.indexOf("-") > -1 ?
|
|
14076
|
+
p.indexOf("-") > -1 ? Er(p) : Vr.test(p) ? tt(p) : Fr.test(m) && Nr(p, m), typeof m == "number" && (isNaN(m) ? Xr(p, m) : isFinite(m) || Se(p, m));
|
|
14077
14077
|
};
|
|
14078
14078
|
}
|
|
14079
14079
|
var P = Zr, U = /["'&<>]/;
|
|
@@ -14252,7 +14252,7 @@ function P4() {
|
|
|
14252
14252
|
case ie:
|
|
14253
14253
|
C === !0 ? p.push(Sn, j, rn) : C === !1 || p.push(Sn, j, mn, ue(C), sn);
|
|
14254
14254
|
return;
|
|
14255
|
-
case
|
|
14255
|
+
case W:
|
|
14256
14256
|
isNaN(C) || p.push(Sn, j, mn, ue(C), sn);
|
|
14257
14257
|
break;
|
|
14258
14258
|
case Y:
|
|
@@ -14764,9 +14764,9 @@ function P4() {
|
|
|
14764
14764
|
throw new Error("Unknown insertion mode. This is a bug in React.");
|
|
14765
14765
|
}
|
|
14766
14766
|
}
|
|
14767
|
-
var F = "function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}", _ = 'function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}', V = 'function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}',
|
|
14767
|
+
var F = "function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)}", _ = 'function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}}', V = 'function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())}', Q = F + ';$RS("', Ae = '$RS("', ve = '","', Fe = '")<\/script>';
|
|
14768
14768
|
function He(p, m, b) {
|
|
14769
|
-
l(p, m.startInlineScript), m.sentCompleteSegmentFunction ? l(p, Ae) : (m.sentCompleteSegmentFunction = !0, l(p,
|
|
14769
|
+
l(p, m.startInlineScript), m.sentCompleteSegmentFunction ? l(p, Ae) : (m.sentCompleteSegmentFunction = !0, l(p, Q)), l(p, m.segmentPrefix);
|
|
14770
14770
|
var C = b.toString(16);
|
|
14771
14771
|
return l(p, C), l(p, ve), l(p, m.placeholderPrefix), l(p, C), u(p, Fe);
|
|
14772
14772
|
}
|
|
@@ -16531,7 +16531,7 @@ function R4() {
|
|
|
16531
16531
|
if (T(w))
|
|
16532
16532
|
return i("The provided HTML markup uses a value of unsupported type %s. This value must be coerced to a string before before using it here.", k(w)), S(w);
|
|
16533
16533
|
}
|
|
16534
|
-
var $ = Object.prototype.hasOwnProperty, ie = 0,
|
|
16534
|
+
var $ = Object.prototype.hasOwnProperty, ie = 0, W = 1, Y = 2, X = 3, oe = 4, se = 5, he = 6, ye = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", Ue = ye + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", Re = new RegExp("^[" + ye + "][" + Ue + "]*$"), Oe = {}, ee = {};
|
|
16535
16535
|
function re(w) {
|
|
16536
16536
|
return $.call(ee, w) ? !0 : $.call(Oe, w) ? !1 : Re.test(w) ? (ee[w] = !0, !0) : (Oe[w] = !0, i("Invalid attribute name: `%s`", w), !1);
|
|
16537
16537
|
}
|
|
@@ -16590,7 +16590,7 @@ function R4() {
|
|
|
16590
16590
|
var p = w[0], m = w[1];
|
|
16591
16591
|
ze[p] = new Ee(
|
|
16592
16592
|
p,
|
|
16593
|
-
|
|
16593
|
+
W,
|
|
16594
16594
|
!1,
|
|
16595
16595
|
// mustUseProperty
|
|
16596
16596
|
m,
|
|
@@ -16835,7 +16835,7 @@ function R4() {
|
|
|
16835
16835
|
var p = w.replace(qe, Ge);
|
|
16836
16836
|
ze[p] = new Ee(
|
|
16837
16837
|
p,
|
|
16838
|
-
|
|
16838
|
+
W,
|
|
16839
16839
|
!1,
|
|
16840
16840
|
// mustUseProperty
|
|
16841
16841
|
w,
|
|
@@ -16859,7 +16859,7 @@ function R4() {
|
|
|
16859
16859
|
var p = w.replace(qe, Ge);
|
|
16860
16860
|
ze[p] = new Ee(
|
|
16861
16861
|
p,
|
|
16862
|
-
|
|
16862
|
+
W,
|
|
16863
16863
|
!1,
|
|
16864
16864
|
// mustUseProperty
|
|
16865
16865
|
w,
|
|
@@ -16879,7 +16879,7 @@ function R4() {
|
|
|
16879
16879
|
var p = w.replace(qe, Ge);
|
|
16880
16880
|
ze[p] = new Ee(
|
|
16881
16881
|
p,
|
|
16882
|
-
|
|
16882
|
+
W,
|
|
16883
16883
|
!1,
|
|
16884
16884
|
// mustUseProperty
|
|
16885
16885
|
w,
|
|
@@ -16891,7 +16891,7 @@ function R4() {
|
|
|
16891
16891
|
}), ["tabIndex", "crossOrigin"].forEach(function(w) {
|
|
16892
16892
|
ze[w] = new Ee(
|
|
16893
16893
|
w,
|
|
16894
|
-
|
|
16894
|
+
W,
|
|
16895
16895
|
!1,
|
|
16896
16896
|
// mustUseProperty
|
|
16897
16897
|
w.toLowerCase(),
|
|
@@ -16906,7 +16906,7 @@ function R4() {
|
|
|
16906
16906
|
var bt = "xlinkHref";
|
|
16907
16907
|
ze[bt] = new Ee(
|
|
16908
16908
|
"xlinkHref",
|
|
16909
|
-
|
|
16909
|
+
W,
|
|
16910
16910
|
!1,
|
|
16911
16911
|
// mustUseProperty
|
|
16912
16912
|
"xlink:href",
|
|
@@ -16917,7 +16917,7 @@ function R4() {
|
|
|
16917
16917
|
), ["src", "href", "action", "formAction"].forEach(function(w) {
|
|
16918
16918
|
ze[w] = new Ee(
|
|
16919
16919
|
w,
|
|
16920
|
-
|
|
16920
|
+
W,
|
|
16921
16921
|
!1,
|
|
16922
16922
|
// mustUseProperty
|
|
16923
16923
|
w.toLowerCase(),
|
|
@@ -17075,24 +17075,24 @@ function R4() {
|
|
|
17075
17075
|
"aria-rowindex": 0,
|
|
17076
17076
|
"aria-rowspan": 0,
|
|
17077
17077
|
"aria-setsize": 0
|
|
17078
|
-
},
|
|
17078
|
+
}, Sr = {}, gr = new RegExp("^(aria)-[" + Ue + "]*$"), nr = new RegExp("^(aria)[A-Z][" + Ue + "]*$");
|
|
17079
17079
|
function fr(w, p) {
|
|
17080
17080
|
{
|
|
17081
|
-
if ($.call(
|
|
17081
|
+
if ($.call(Sr, p) && Sr[p])
|
|
17082
17082
|
return !0;
|
|
17083
17083
|
if (nr.test(p)) {
|
|
17084
17084
|
var m = "aria-" + p.slice(4).toLowerCase(), b = Qr.hasOwnProperty(m) ? m : null;
|
|
17085
17085
|
if (b == null)
|
|
17086
|
-
return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.", p),
|
|
17086
|
+
return i("Invalid ARIA attribute `%s`. ARIA attributes follow the pattern aria-* and must be lowercase.", p), Sr[p] = !0, !0;
|
|
17087
17087
|
if (p !== b)
|
|
17088
|
-
return i("Invalid ARIA attribute `%s`. Did you mean `%s`?", p, b),
|
|
17088
|
+
return i("Invalid ARIA attribute `%s`. Did you mean `%s`?", p, b), Sr[p] = !0, !0;
|
|
17089
17089
|
}
|
|
17090
17090
|
if (gr.test(p)) {
|
|
17091
17091
|
var C = p.toLowerCase(), D = Qr.hasOwnProperty(C) ? C : null;
|
|
17092
17092
|
if (D == null)
|
|
17093
|
-
return
|
|
17093
|
+
return Sr[p] = !0, !1;
|
|
17094
17094
|
if (p !== D)
|
|
17095
|
-
return i("Unknown ARIA attribute `%s`. Did you mean `%s`?", p, D),
|
|
17095
|
+
return i("Unknown ARIA attribute `%s`. Did you mean `%s`?", p, D), Sr[p] = !0, !0;
|
|
17096
17096
|
}
|
|
17097
17097
|
}
|
|
17098
17098
|
return !0;
|
|
@@ -17669,7 +17669,7 @@ function R4() {
|
|
|
17669
17669
|
var Fr = function() {
|
|
17670
17670
|
};
|
|
17671
17671
|
{
|
|
17672
|
-
var zr = /^(?:webkit|moz|o)[A-Z]/, en = /^-ms-/, Hr = /-(.)/g, zt = /;\s*$/, sr = {},
|
|
17672
|
+
var zr = /^(?:webkit|moz|o)[A-Z]/, en = /^-ms-/, Hr = /-(.)/g, zt = /;\s*$/, sr = {}, Er = {}, tt = !1, Nr = !1, Xr = function(w) {
|
|
17673
17673
|
return w.replace(Hr, function(p, m) {
|
|
17674
17674
|
return m.toUpperCase();
|
|
17675
17675
|
});
|
|
@@ -17685,7 +17685,7 @@ function R4() {
|
|
|
17685
17685
|
}, P = function(w) {
|
|
17686
17686
|
sr.hasOwnProperty(w) && sr[w] || (sr[w] = !0, i("Unsupported vendor-prefixed style property %s. Did you mean %s?", w, w.charAt(0).toUpperCase() + w.slice(1)));
|
|
17687
17687
|
}, U = function(w, p) {
|
|
17688
|
-
|
|
17688
|
+
Er.hasOwnProperty(p) && Er[p] || (Er[p] = !0, i(`Style property values shouldn't contain a semicolon. Try "%s: %s" instead.`, w, p.replace(zt, "")));
|
|
17689
17689
|
}, J = function(w, p) {
|
|
17690
17690
|
tt || (tt = !0, i("`NaN` is an invalid value for the `%s` css style property.", w));
|
|
17691
17691
|
}, ue = function(w, p) {
|
|
@@ -18352,7 +18352,7 @@ function R4() {
|
|
|
18352
18352
|
function Va(w, p) {
|
|
18353
18353
|
return f(w, pr);
|
|
18354
18354
|
}
|
|
18355
|
-
var za = A('<div hidden id="'), ua = A('">'), cs = A("</div>"), fs = A('<svg aria-hidden="true" style="display:none" id="'), ki = A('">'), Ha = A("</svg>"), ds = A('<math aria-hidden="true" style="display:none" id="'), hs = A('">'), ps = A("</math>"), ca = A('<table hidden id="'), zi = A('">'), F = A("</table>"), _ = A('<table hidden><tbody id="'), V = A('">'),
|
|
18355
|
+
var za = A('<div hidden id="'), ua = A('">'), cs = A("</div>"), fs = A('<svg aria-hidden="true" style="display:none" id="'), ki = A('">'), Ha = A("</svg>"), ds = A('<math aria-hidden="true" style="display:none" id="'), hs = A('">'), ps = A("</math>"), ca = A('<table hidden id="'), zi = A('">'), F = A("</table>"), _ = A('<table hidden><tbody id="'), V = A('">'), Q = A("</tbody></table>"), Ae = A('<table hidden><tr id="'), ve = A('">'), Fe = A("</tr></table>"), He = A('<table hidden><colgroup id="'), Rt = A('">'), Kt = A("</colgroup></table>");
|
|
18356
18356
|
function qt(w, p, m, b) {
|
|
18357
18357
|
switch (m.insertionMode) {
|
|
18358
18358
|
case mr:
|
|
@@ -18390,7 +18390,7 @@ function R4() {
|
|
|
18390
18390
|
case Gn:
|
|
18391
18391
|
return f(w, F);
|
|
18392
18392
|
case xn:
|
|
18393
|
-
return f(w,
|
|
18393
|
+
return f(w, Q);
|
|
18394
18394
|
case jr:
|
|
18395
18395
|
return f(w, Fe);
|
|
18396
18396
|
case Cn:
|
|
@@ -20600,7 +20600,7 @@ function iO() {
|
|
|
20600
20600
|
let R = i.fetch;
|
|
20601
20601
|
const B = "Invalid input argument";
|
|
20602
20602
|
function G(Se, P) {
|
|
20603
|
-
return (U = Se).startsWith("data:") || U.length > 1e4 ? ie(Se, P, "base64") : o && Se.includes("://") ? $(Se, P, "url",
|
|
20603
|
+
return (U = Se).startsWith("data:") || U.length > 1e4 ? ie(Se, P, "base64") : o && Se.includes("://") ? $(Se, P, "url", W) : o ? ie(Se, P, "fs") : a ? $(Se, P, "url", W) : void f(B);
|
|
20604
20604
|
var U;
|
|
20605
20605
|
}
|
|
20606
20606
|
async function $(Se, P, U, J) {
|
|
@@ -20613,7 +20613,7 @@ function iO() {
|
|
|
20613
20613
|
let J = new (S.get(U))(Se, P);
|
|
20614
20614
|
return await J.read(), J;
|
|
20615
20615
|
}
|
|
20616
|
-
const
|
|
20616
|
+
const W = (Se) => R(Se).then(((P) => P.arrayBuffer())), Y = (Se) => new Promise(((P, U) => {
|
|
20617
20617
|
let J = new FileReader();
|
|
20618
20618
|
J.onloadend = () => P(J.result || new ArrayBuffer()), J.onerror = U, J.readAsArrayBuffer(Se);
|
|
20619
20619
|
}));
|
|
@@ -20671,7 +20671,7 @@ function iO() {
|
|
|
20671
20671
|
}
|
|
20672
20672
|
}
|
|
20673
20673
|
var st = { jfif: !1, tiff: !0, xmp: !1, icc: !1, iptc: !1, ifd0: !0, ifd1: !1, exif: !0, gps: !0, interop: !1, ihdr: void 0, makerNote: !1, userComment: !1, multiSegment: !1, skip: [], pick: [], translateKeys: !0, translateValues: !0, reviveValues: !0, sanitize: !0, mergeOutput: !0, silentErrors: !0, chunked: !0, firstChunkSize: void 0, firstChunkSizeNode: 512, firstChunkSizeBrowser: 65536, chunkSize: 65536, chunkLimit: 5 }, Qr = /* @__PURE__ */ new Map();
|
|
20674
|
-
class
|
|
20674
|
+
class Sr extends ar {
|
|
20675
20675
|
static useCached(P) {
|
|
20676
20676
|
let U = Qr.get(P);
|
|
20677
20677
|
return U !== void 0 || (U = new this(P), Qr.set(P, U)), U;
|
|
@@ -20759,10 +20759,10 @@ function iO() {
|
|
|
20759
20759
|
function fr(Se, P) {
|
|
20760
20760
|
for (let U of P) Se.add(U);
|
|
20761
20761
|
}
|
|
20762
|
-
n(
|
|
20762
|
+
n(Sr, "default", st);
|
|
20763
20763
|
class Yt {
|
|
20764
20764
|
constructor(P) {
|
|
20765
|
-
n(this, "parsers", {}), n(this, "output", {}), n(this, "errors", []), n(this, "pushToErrors", ((U) => this.errors.push(U))), this.options =
|
|
20765
|
+
n(this, "parsers", {}), n(this, "output", {}), n(this, "errors", []), n(this, "pushToErrors", ((U) => this.errors.push(U))), this.options = Sr.useCached(P);
|
|
20766
20766
|
}
|
|
20767
20767
|
async read(P) {
|
|
20768
20768
|
this.file = await (function(U, J) {
|
|
@@ -20802,14 +20802,14 @@ function iO() {
|
|
|
20802
20802
|
let U = new Yt(P);
|
|
20803
20803
|
return await U.read(Se), U.parse();
|
|
20804
20804
|
}
|
|
20805
|
-
var mt = Object.freeze({ __proto__: null, parse: Xt, Exifr: Yt, fileParsers: k, segmentParsers: T, fileReaders: S, tagKeys: he, tagValues: ye, tagRevivers: Ue, createDictionary: oe, extendDictionary: se, fetchUrlAsArrayBuffer:
|
|
20805
|
+
var mt = Object.freeze({ __proto__: null, parse: Xt, Exifr: Yt, fileParsers: k, segmentParsers: T, fileReaders: S, tagKeys: he, tagValues: ye, tagRevivers: Ue, createDictionary: oe, extendDictionary: se, fetchUrlAsArrayBuffer: W, readBlobAsArrayBuffer: Y, chunkedProps: ze, otherSegments: je, segments: qe, tiffBlocks: Ge, segmentsAndBlocks: bt, tiffExtractables: rr, inheritables: Pr, allFormatters: $t, Options: Sr });
|
|
20806
20806
|
class wr {
|
|
20807
20807
|
static findPosition(P, U) {
|
|
20808
20808
|
let J = P.getUint16(U + 2) + 2, ue = typeof this.headerLength == "function" ? this.headerLength(P, U, J) : this.headerLength, Te = U + ue, We = J - ue;
|
|
20809
20809
|
return { offset: U, length: J, headerLength: ue, start: Te, size: We, end: Te + We };
|
|
20810
20810
|
}
|
|
20811
20811
|
static parse(P, U = {}) {
|
|
20812
|
-
return new this(P, new
|
|
20812
|
+
return new this(P, new Sr({ [this.type]: U }), P).parse();
|
|
20813
20813
|
}
|
|
20814
20814
|
normalizeInput(P) {
|
|
20815
20815
|
return P instanceof y ? P : new y(P);
|
|
@@ -21124,7 +21124,7 @@ this.ifd0Offset: ${this.ifd0Offset}, file.byteLength: ${P.byteLength}`), P.tiff
|
|
|
21124
21124
|
return J !== "S" && J !== "W" || (ue *= -1), ue;
|
|
21125
21125
|
}
|
|
21126
21126
|
n(Vr, "type", "tiff"), n(Vr, "headerLength", 10), T.set("tiff", Vr);
|
|
21127
|
-
var gn = Object.freeze({ __proto__: null, default: mt, Exifr: Yt, fileParsers: k, segmentParsers: T, fileReaders: S, tagKeys: he, tagValues: ye, tagRevivers: Ue, createDictionary: oe, extendDictionary: se, fetchUrlAsArrayBuffer:
|
|
21127
|
+
var gn = Object.freeze({ __proto__: null, default: mt, Exifr: Yt, fileParsers: k, segmentParsers: T, fileReaders: S, tagKeys: he, tagValues: ye, tagRevivers: Ue, createDictionary: oe, extendDictionary: se, fetchUrlAsArrayBuffer: W, readBlobAsArrayBuffer: Y, chunkedProps: ze, otherSegments: je, segments: qe, tiffBlocks: Ge, segmentsAndBlocks: bt, tiffExtractables: rr, inheritables: Pr, allFormatters: $t, Options: Sr, parse: Xt });
|
|
21128
21128
|
const Fr = { ifd0: !1, ifd1: !1, exif: !1, gps: !1, interop: !1, sanitize: !1, reviveValues: !0, translateKeys: !1, translateValues: !1, mergeOutput: !1 }, zr = Object.assign({}, Fr, { firstChunkSize: 4e4, gps: [1, 2, 3, 4] }), en = Object.assign({}, Fr, { tiff: !1, ifd1: !0, mergeOutput: !1 }), Hr = Object.assign({}, Fr, { firstChunkSize: 4e4, ifd0: [274] });
|
|
21129
21129
|
async function zt(Se) {
|
|
21130
21130
|
let P = new Yt(Hr);
|
|
@@ -21153,7 +21153,7 @@ this.ifd0Offset: ${this.ifd0Offset}, file.byteLength: ${P.byteLength}`), P.tiff
|
|
|
21153
21153
|
t.rotateCanvas = t.rotateCss = Number(P) < 77;
|
|
21154
21154
|
}
|
|
21155
21155
|
}
|
|
21156
|
-
class
|
|
21156
|
+
class Er extends y {
|
|
21157
21157
|
constructor(...P) {
|
|
21158
21158
|
super(...P), n(this, "ranges", new tt()), this.byteLength !== 0 && this.ranges.add(0, this.byteLength);
|
|
21159
21159
|
}
|
|
@@ -21213,7 +21213,7 @@ this.ifd0Offset: ${this.ifd0Offset}, file.byteLength: ${P.byteLength}`), P.tiff
|
|
|
21213
21213
|
function Nr(Se, P, U) {
|
|
21214
21214
|
return Se <= P && P <= U;
|
|
21215
21215
|
}
|
|
21216
|
-
class Xr extends
|
|
21216
|
+
class Xr extends Er {
|
|
21217
21217
|
constructor(P, U) {
|
|
21218
21218
|
super(0), n(this, "chunksRead", 0), this.input = P, this.options = U;
|
|
21219
21219
|
}
|
|
@@ -21262,7 +21262,7 @@ this.ifd0Offset: ${this.ifd0Offset}, file.byteLength: ${P.byteLength}`), P.tiff
|
|
|
21262
21262
|
let U = P ? Se + P : void 0, J = this.input.slice(Se, U), ue = await Y(J);
|
|
21263
21263
|
return this.set(ue, Se, !0);
|
|
21264
21264
|
}
|
|
21265
|
-
}), t.Exifr = Yt, t.Options =
|
|
21265
|
+
}), t.Exifr = Yt, t.Options = Sr, t.allFormatters = $t, t.chunkedProps = ze, t.createDictionary = oe, t.default = gn, t.extendDictionary = se, t.fetchUrlAsArrayBuffer = W, t.fileParsers = k, t.fileReaders = S, t.gps = async function(Se) {
|
|
21266
21266
|
let P = new Yt(zr);
|
|
21267
21267
|
await P.read(Se);
|
|
21268
21268
|
let U = await P.parse();
|
|
@@ -21510,7 +21510,7 @@ function cO() {
|
|
|
21510
21510
|
}) : h("@host missing '}'");
|
|
21511
21511
|
}
|
|
21512
21512
|
}
|
|
21513
|
-
function
|
|
21513
|
+
function W() {
|
|
21514
21514
|
var re = l(), de = y(/^@media *([^{]+)/);
|
|
21515
21515
|
if (de) {
|
|
21516
21516
|
var Be = e(de[1]);
|
|
@@ -21585,7 +21585,7 @@ function cO() {
|
|
|
21585
21585
|
}
|
|
21586
21586
|
function Oe() {
|
|
21587
21587
|
if (n[0] == "@")
|
|
21588
|
-
return G() ||
|
|
21588
|
+
return G() || W() || Y() || $() || he() || ye() || Ue() || oe() || X() || ie() || se();
|
|
21589
21589
|
}
|
|
21590
21590
|
function ee() {
|
|
21591
21591
|
var re = l(), de = T();
|
|
@@ -21944,8 +21944,8 @@ function DO(r, e, t, {
|
|
|
21944
21944
|
const v = (G, $) => {
|
|
21945
21945
|
const ie = G / c;
|
|
21946
21946
|
if (u) return ie;
|
|
21947
|
-
const
|
|
21948
|
-
return i ? ie +
|
|
21947
|
+
const W = Math.abs(f - $);
|
|
21948
|
+
return i ? ie + W / i : W ? 1 : ie;
|
|
21949
21949
|
}, y = o > 1 || l, A = y ? Array(h) : [];
|
|
21950
21950
|
let x;
|
|
21951
21951
|
for (; (x = r.indexOf(e, g)) > -1; ) {
|
|
@@ -21964,15 +21964,15 @@ function DO(r, e, t, {
|
|
|
21964
21964
|
for (; $ < ie; )
|
|
21965
21965
|
v(G, f + ie) <= d ? $ = ie : S = ie, ie = Math.floor((S - $) / 2 + $);
|
|
21966
21966
|
S = ie;
|
|
21967
|
-
let
|
|
21967
|
+
let W = Math.max(1, f - ie + 1);
|
|
21968
21968
|
const Y = s ? h : Math.min(f + ie, h) + c, X = Array(Y + 2);
|
|
21969
21969
|
X[Y + 1] = (1 << G) - 1;
|
|
21970
|
-
for (let se = Y; se >=
|
|
21970
|
+
for (let se = Y; se >= W; se -= 1) {
|
|
21971
21971
|
const he = se - 1, ye = t[r[he]];
|
|
21972
21972
|
if (y && (A[he] = +!!ye), X[se] = (X[se + 1] << 1 | 1) & ye, G && (X[se] |= (k[se + 1] | k[se]) << 1 | 1 | k[se + 1]), X[se] & R && (T = v(G, he), T <= d)) {
|
|
21973
21973
|
if (d = T, g = he, g <= f)
|
|
21974
21974
|
break;
|
|
21975
|
-
|
|
21975
|
+
W = Math.max(1, 2 * f - g);
|
|
21976
21976
|
}
|
|
21977
21977
|
}
|
|
21978
21978
|
if (v(G + 1, f) > d)
|
|
@@ -26484,26 +26484,26 @@ const ff = "persistentAssets", Ps = class Ps {
|
|
|
26484
26484
|
}
|
|
26485
26485
|
const t = /* @__PURE__ */ new Map();
|
|
26486
26486
|
t.set(e.key || "", e.fileLink);
|
|
26487
|
-
const n =
|
|
26487
|
+
const n = Cr.getMap(ff);
|
|
26488
26488
|
n && n.forEach((i, a) => {
|
|
26489
26489
|
t.set(a, i);
|
|
26490
|
-
}),
|
|
26490
|
+
}), Cr.setMap(ff, t), Ps.executeCallbacks();
|
|
26491
26491
|
}
|
|
26492
26492
|
/**
|
|
26493
26493
|
* Remove an existing asset from persistence. Noop if the asset doesn't exist.
|
|
26494
26494
|
* @param assetKey The key to remove.
|
|
26495
26495
|
*/
|
|
26496
26496
|
static remove(e) {
|
|
26497
|
-
const t =
|
|
26497
|
+
const t = Cr.getMap(ff);
|
|
26498
26498
|
if (!t) return;
|
|
26499
26499
|
const n = Array.from(t.entries()).find((i) => i[0] === e);
|
|
26500
|
-
n && (t.delete(n[0]),
|
|
26500
|
+
n && (t.delete(n[0]), Cr.setMap(ff, t), Ps.executeCallbacks());
|
|
26501
26501
|
}
|
|
26502
26502
|
/**
|
|
26503
26503
|
* Get a list of all persisted assets.
|
|
26504
26504
|
*/
|
|
26505
26505
|
static list() {
|
|
26506
|
-
const e =
|
|
26506
|
+
const e = Cr.getMap(ff);
|
|
26507
26507
|
return e ? Array.from(e.entries()).map((t) => ({ assetKey: t[0], src: t[1] })) : [];
|
|
26508
26508
|
}
|
|
26509
26509
|
/**
|
|
@@ -26551,10 +26551,10 @@ class bn {
|
|
|
26551
26551
|
i && (n.delete(i), bn.setMap(e, n));
|
|
26552
26552
|
}
|
|
26553
26553
|
static getMap(e) {
|
|
26554
|
-
return
|
|
26554
|
+
return Cr.getMap(e) || /* @__PURE__ */ new Map();
|
|
26555
26555
|
}
|
|
26556
26556
|
static setMap(e, t) {
|
|
26557
|
-
|
|
26557
|
+
Cr.setMap(e, t);
|
|
26558
26558
|
}
|
|
26559
26559
|
}
|
|
26560
26560
|
const zn = new CB();
|
|
@@ -26630,6 +26630,21 @@ const ig = new SB(), UA = (r, e = 512, t, n) => {
|
|
|
26630
26630
|
...MaterialFields
|
|
26631
26631
|
}
|
|
26632
26632
|
category
|
|
26633
|
+
product {
|
|
26634
|
+
id
|
|
26635
|
+
name
|
|
26636
|
+
basePrice
|
|
26637
|
+
workflows {
|
|
26638
|
+
id
|
|
26639
|
+
workflowName
|
|
26640
|
+
}
|
|
26641
|
+
integrationProducts {
|
|
26642
|
+
id
|
|
26643
|
+
integration {
|
|
26644
|
+
id
|
|
26645
|
+
}
|
|
26646
|
+
}
|
|
26647
|
+
}
|
|
26633
26648
|
}
|
|
26634
26649
|
defaultVariant {
|
|
26635
26650
|
id
|
|
@@ -27020,6 +27035,9 @@ const ft = new DB(), jk = ke`
|
|
|
27020
27035
|
recipient {
|
|
27021
27036
|
...RecipientFields
|
|
27022
27037
|
}
|
|
27038
|
+
parentTransaction {
|
|
27039
|
+
id
|
|
27040
|
+
}
|
|
27023
27041
|
integrationProductId
|
|
27024
27042
|
}
|
|
27025
27043
|
}
|
|
@@ -28394,7 +28412,7 @@ function sx(r, e, t, n, i) {
|
|
|
28394
28412
|
var B = o * c - l * u;
|
|
28395
28413
|
if (d.xRot !== void 0 && (o !== 1 || l !== 0 || u !== 0 || c !== 1)) if (B === 0) delete d.rX, delete d.rY, delete d.xRot, delete d.lArcFlag, delete d.sweepFlag, d.type = Le.LINE_TO;
|
|
28396
28414
|
else {
|
|
28397
|
-
var G = d.xRot * Math.PI / 180, $ = Math.sin(G), ie = Math.cos(G),
|
|
28415
|
+
var G = d.xRot * Math.PI / 180, $ = Math.sin(G), ie = Math.cos(G), W = 1 / R(d.rX), Y = 1 / R(d.rY), X = R(ie) * W + R($) * Y, oe = 2 * $ * ie * (W - Y), se = R($) * W + R(ie) * Y, he = X * c * c - oe * l * c + se * l * l, ye = oe * (o * c + l * u) - 2 * (X * u * c + se * o * l), Ue = X * u * u - oe * o * u + se * o * o, Re = (Math.atan2(ye, he - Ue) + Math.PI) % Math.PI / 2, Oe = Math.sin(Re), ee = Math.cos(Re);
|
|
28398
28416
|
d.rX = Math.abs(B) / Math.sqrt(he * R(ee) + ye * Oe * ee + Ue * R(Oe)), d.rY = Math.abs(B) / Math.sqrt(he * R(Oe) - ye * Oe * ee + Ue * R(ee)), d.xRot = 180 * Re / Math.PI;
|
|
28399
28417
|
}
|
|
28400
28418
|
return d.sweepFlag !== void 0 && 0 > B && (d.sweepFlag = +!d.sweepFlag), d;
|
|
@@ -28458,7 +28476,7 @@ function sx(r, e, t, n, i) {
|
|
|
28458
28476
|
var d, g, v, y;
|
|
28459
28477
|
c.cX || d0(c, h, f);
|
|
28460
28478
|
for (var A = Math.min(c.phi1, c.phi2), x = Math.max(c.phi1, c.phi2) - A, k = Math.ceil(x / 90), T = new Array(k), S = h, R = f, B = 0; B < k; B++) {
|
|
28461
|
-
var G = nx(c.phi1, c.phi2, B / k), $ = nx(c.phi1, c.phi2, (B + 1) / k), ie = $ - G,
|
|
28479
|
+
var G = nx(c.phi1, c.phi2, B / k), $ = nx(c.phi1, c.phi2, (B + 1) / k), ie = $ - G, W = 4 / 3 * Math.tan(ie * ks / 4), Y = [Math.cos(G * ks) - W * Math.sin(G * ks), Math.sin(G * ks) + W * Math.cos(G * ks)], X = Y[0], oe = Y[1], se = [Math.cos($ * ks), Math.sin($ * ks)], he = se[0], ye = se[1], Ue = [he + W * Math.sin($ * ks), ye - W * Math.cos($ * ks)], Re = Ue[0], Oe = Ue[1];
|
|
28462
28480
|
T[B] = { relative: c.relative, type: Le.CURVE_TO };
|
|
28463
28481
|
var ee = function(re, de) {
|
|
28464
28482
|
var Be = Ty([re * c.rX, de * c.rY], c.xRot), Ee = Be[0], ze = Be[1];
|
|
@@ -28495,7 +28513,7 @@ function sx(r, e, t, n, i) {
|
|
|
28495
28513
|
}
|
|
28496
28514
|
if (v.type & Le.ARC) {
|
|
28497
28515
|
y(v.x), A(v.y), d0(v, d, g);
|
|
28498
|
-
for (var R = v.xRot / 180 * Math.PI, B = Math.cos(R) * v.rX, G = Math.sin(R) * v.rX, $ = -Math.sin(R) * v.rY, ie = Math.cos(R) * v.rY,
|
|
28516
|
+
for (var R = v.xRot / 180 * Math.PI, B = Math.cos(R) * v.rX, G = Math.sin(R) * v.rX, $ = -Math.sin(R) * v.rY, ie = Math.cos(R) * v.rY, W = v.phi1 < v.phi2 ? [v.phi1, v.phi2] : -180 > v.phi2 ? [v.phi2 + 360, v.phi1 + 360] : [v.phi2, v.phi1], Y = W[0], X = W[1], oe = function(Oe) {
|
|
28499
28517
|
var ee = Oe[0], re = Oe[1], de = 180 * Math.atan2(re, ee) / Math.PI;
|
|
28500
28518
|
return de < Y ? de + 360 : de;
|
|
28501
28519
|
}, se = 0, he = rx($, -B, 0).map(oe); se < he.length; se++)
|
|
@@ -28674,7 +28692,7 @@ function m3(r, e, t, n, i, a) {
|
|
|
28674
28692
|
d.next = f;
|
|
28675
28693
|
for (var y = null, A = null, x = 0, k = 0, T = d3[a], S = h3[a], R = 0; R < i; R++) {
|
|
28676
28694
|
d = f;
|
|
28677
|
-
for (var B = s[k], G = s[k + 1], $ = s[k + 2], ie = s[k + 3],
|
|
28695
|
+
for (var B = s[k], G = s[k + 1], $ = s[k + 2], ie = s[k + 3], W = 0; W < c; W++)
|
|
28678
28696
|
d.r = B, d.g = G, d.b = $, d.a = ie, d = d.next;
|
|
28679
28697
|
for (var Y = 0, X = 0, oe = 0, se = 0, he = c * B, ye = c * G, Ue = c * $, Re = c * ie, Oe = h * B, ee = h * G, re = h * $, de = h * ie, Be = 1; Be < c; Be++) {
|
|
28680
28698
|
var Ee = k + ((l < Be ? l : Be) << 2), ze = s[Ee], je = s[Ee + 1], qe = s[Ee + 2], Ge = s[Ee + 3], bt = c - Be;
|
|
@@ -28691,8 +28709,8 @@ function m3(r, e, t, n, i, a) {
|
|
|
28691
28709
|
Oe -= he, ee -= ye, re -= Ue, de -= Re, he -= y.r, ye -= y.g, Ue -= y.b, Re -= y.a;
|
|
28692
28710
|
var ar = rr + a + 1;
|
|
28693
28711
|
ar = x + (ar < l ? ar : l) << 2, Y += y.r = s[ar], X += y.g = s[ar + 1], oe += y.b = s[ar + 2], se += y.a = s[ar + 3], Oe += Y, ee += X, re += oe, de += se, y = y.next;
|
|
28694
|
-
var St = A, st = St.r, Qr = St.g,
|
|
28695
|
-
he += st, ye += Qr, Ue +=
|
|
28712
|
+
var St = A, st = St.r, Qr = St.g, Sr = St.b, gr = St.a;
|
|
28713
|
+
he += st, ye += Qr, Ue += Sr, Re += gr, Y -= st, X -= Qr, oe -= Sr, se -= gr, A = A.next, k += 4;
|
|
28696
28714
|
}
|
|
28697
28715
|
x += n;
|
|
28698
28716
|
}
|
|
@@ -28708,9 +28726,9 @@ function m3(r, e, t, n, i, a) {
|
|
|
28708
28726
|
Yr += (d.r = fr = s[k]) * sr, kr += (d.g = Yt = s[k + 1]) * sr, Zr += (d.b = Xt = s[k + 2]) * sr, Vr += (d.a = mt = s[k + 3]) * sr, Hr += fr, Fr += Yt, zr += Xt, en += mt, d = d.next, zt < u && (gn += n);
|
|
28709
28727
|
}
|
|
28710
28728
|
k = nr, y = f, A = g;
|
|
28711
|
-
for (var
|
|
28729
|
+
for (var Er = 0; Er < i; Er++) {
|
|
28712
28730
|
var tt = k << 2;
|
|
28713
|
-
s[tt + 3] = mt = Vr * T >>> S, mt > 0 ? (mt = 255 / mt, s[tt] = (Yr * T >>> S) * mt, s[tt + 1] = (kr * T >>> S) * mt, s[tt + 2] = (Zr * T >>> S) * mt) : s[tt] = s[tt + 1] = s[tt + 2] = 0, Yr -= wr, kr -= an, Zr -= _r, Vr -= ir, wr -= y.r, an -= y.g, _r -= y.b, ir -= y.a, tt = nr + ((tt =
|
|
28731
|
+
s[tt + 3] = mt = Vr * T >>> S, mt > 0 ? (mt = 255 / mt, s[tt] = (Yr * T >>> S) * mt, s[tt + 1] = (kr * T >>> S) * mt, s[tt + 2] = (Zr * T >>> S) * mt) : s[tt] = s[tt + 1] = s[tt + 2] = 0, Yr -= wr, kr -= an, Zr -= _r, Vr -= ir, wr -= y.r, an -= y.g, _r -= y.b, ir -= y.a, tt = nr + ((tt = Er + c) < u ? tt : u) * n << 2, Yr += Hr += y.r = s[tt], kr += Fr += y.g = s[tt + 1], Zr += zr += y.b = s[tt + 2], Vr += en += y.a = s[tt + 3], y = y.next, wr += fr = A.r, an += Yt = A.g, _r += Xt = A.b, ir += mt = A.a, Hr -= fr, Fr -= Yt, zr -= Xt, en -= mt, A = A.next, k += n;
|
|
28714
28732
|
}
|
|
28715
28733
|
}
|
|
28716
28734
|
return r;
|
|
@@ -29195,8 +29213,8 @@ class Ld {
|
|
|
29195
29213
|
const v = Nd(n).replace(/^defer\s/, ""), [y, A] = v.split(" "), x = y || "xMidYMid", k = A || "meet", T = i / a, S = s / o, R = Math.min(T, S), B = Math.max(T, S);
|
|
29196
29214
|
let G = a, $ = o;
|
|
29197
29215
|
k === "meet" && (G *= R, $ *= R), k === "slice" && (G *= B, $ *= B);
|
|
29198
|
-
const ie = new Mt(e, "refX", c),
|
|
29199
|
-
if (Y && t.translate(-R * ie.getPixels("x"), -R *
|
|
29216
|
+
const ie = new Mt(e, "refX", c), W = new Mt(e, "refY", h), Y = ie.hasValue() && W.hasValue();
|
|
29217
|
+
if (Y && t.translate(-R * ie.getPixels("x"), -R * W.getPixels("y")), f) {
|
|
29200
29218
|
const X = R * d, oe = R * g;
|
|
29201
29219
|
t.beginPath(), t.moveTo(X, oe), t.lineTo(i, oe), t.lineTo(i, s), t.lineTo(X, s), t.closePath(), t.clip();
|
|
29202
29220
|
}
|
|
@@ -32012,8 +32030,8 @@ Vf.exports;
|
|
|
32012
32030
|
var Sx;
|
|
32013
32031
|
function kM() {
|
|
32014
32032
|
return Sx || (Sx = 1, (function(r, e) {
|
|
32015
|
-
var t = 200, n = "__lodash_hash_undefined__", i = 9007199254740991, a = "[object Arguments]", s = "[object Array]", o = "[object Boolean]", l = "[object Date]", u = "[object Error]", c = "[object Function]", h = "[object GeneratorFunction]", f = "[object Map]", d = "[object Number]", g = "[object Object]", v = "[object Promise]", y = "[object RegExp]", A = "[object Set]", x = "[object String]", k = "[object Symbol]", T = "[object WeakMap]", S = "[object ArrayBuffer]", R = "[object DataView]", B = "[object Float32Array]", G = "[object Float64Array]", $ = "[object Int8Array]", ie = "[object Int16Array]",
|
|
32016
|
-
Oe[a] = Oe[s] = Oe[S] = Oe[R] = Oe[o] = Oe[l] = Oe[B] = Oe[G] = Oe[$] = Oe[ie] = Oe[
|
|
32033
|
+
var t = 200, n = "__lodash_hash_undefined__", i = 9007199254740991, a = "[object Arguments]", s = "[object Array]", o = "[object Boolean]", l = "[object Date]", u = "[object Error]", c = "[object Function]", h = "[object GeneratorFunction]", f = "[object Map]", d = "[object Number]", g = "[object Object]", v = "[object Promise]", y = "[object RegExp]", A = "[object Set]", x = "[object String]", k = "[object Symbol]", T = "[object WeakMap]", S = "[object ArrayBuffer]", R = "[object DataView]", B = "[object Float32Array]", G = "[object Float64Array]", $ = "[object Int8Array]", ie = "[object Int16Array]", W = "[object Int32Array]", Y = "[object Uint8Array]", X = "[object Uint8ClampedArray]", oe = "[object Uint16Array]", se = "[object Uint32Array]", he = /[\\^$.*+?()[\]{}|]/g, ye = /\w*$/, Ue = /^\[object .+?Constructor\]$/, Re = /^(?:0|[1-9]\d*)$/, Oe = {};
|
|
32034
|
+
Oe[a] = Oe[s] = Oe[S] = Oe[R] = Oe[o] = Oe[l] = Oe[B] = Oe[G] = Oe[$] = Oe[ie] = Oe[W] = Oe[f] = Oe[d] = Oe[g] = Oe[y] = Oe[A] = Oe[x] = Oe[k] = Oe[Y] = Oe[X] = Oe[oe] = Oe[se] = !0, Oe[u] = Oe[c] = Oe[T] = !1;
|
|
32017
32035
|
var ee = typeof ci == "object" && ci && ci.Object === Object && ci, re = typeof self == "object" && self && self.Object === Object && self, de = ee || re || Function("return this")(), Be = e && !e.nodeType && e, Ee = Be && !0 && r && !r.nodeType && r, ze = Ee && Ee.exports === Be;
|
|
32018
32036
|
function je(I, H) {
|
|
32019
32037
|
return I.set(H[0], H[1]), I;
|
|
@@ -32070,12 +32088,12 @@ function kM() {
|
|
|
32070
32088
|
ae[++H] = xe;
|
|
32071
32089
|
}), ae;
|
|
32072
32090
|
}
|
|
32073
|
-
var
|
|
32091
|
+
var Sr = Array.prototype, gr = Function.prototype, nr = Object.prototype, fr = de["__core-js_shared__"], Yt = (function() {
|
|
32074
32092
|
var I = /[^.]+$/.exec(fr && fr.keys && fr.keys.IE_PROTO || "");
|
|
32075
32093
|
return I ? "Symbol(src)_1." + I : "";
|
|
32076
32094
|
})(), Xt = gr.toString, mt = nr.hasOwnProperty, wr = nr.toString, an = RegExp(
|
|
32077
32095
|
"^" + Xt.call(mt).replace(he, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
32078
|
-
), _r = ze ? de.Buffer : void 0, ir = de.Symbol, Yr = de.Uint8Array, kr = st(Object.getPrototypeOf, Object), Zr = Object.create, Vr = nr.propertyIsEnumerable, pn =
|
|
32096
|
+
), _r = ze ? de.Buffer : void 0, ir = de.Symbol, Yr = de.Uint8Array, kr = st(Object.getPrototypeOf, Object), Zr = Object.create, Vr = nr.propertyIsEnumerable, pn = Sr.splice, gn = Object.getOwnPropertySymbols, Fr = _r ? _r.isBuffer : void 0, zr = st(Object.keys, Object), en = rt(de, "DataView"), Hr = rt(de, "Map"), zt = rt(de, "Promise"), sr = rt(de, "Set"), Er = rt(de, "WeakMap"), tt = rt(Object, "create"), Nr = Or(en), Xr = Or(Hr), Se = Or(zt), P = Or(sr), U = Or(Er), J = ir ? ir.prototype : void 0, ue = J ? J.valueOf : void 0;
|
|
32079
32097
|
function Te(I) {
|
|
32080
32098
|
var H = -1, ae = I ? I.length : 0;
|
|
32081
32099
|
for (this.clear(); ++H < ae; ) {
|
|
@@ -32328,7 +32346,7 @@ function kM() {
|
|
|
32328
32346
|
return ai(ae) ? ae : void 0;
|
|
32329
32347
|
}
|
|
32330
32348
|
var lt = gn ? st(gn, Object) : In, nt = Jn;
|
|
32331
|
-
(en && nt(new en(new ArrayBuffer(1))) != R || Hr && nt(new Hr()) != f || zt && nt(zt.resolve()) != v || sr && nt(new sr()) != A ||
|
|
32349
|
+
(en && nt(new en(new ArrayBuffer(1))) != R || Hr && nt(new Hr()) != f || zt && nt(zt.resolve()) != v || sr && nt(new sr()) != A || Er && nt(new Er()) != T) && (nt = function(I) {
|
|
32332
32350
|
var H = wr.call(I), ae = H == g ? I.constructor : void 0, xe = ae ? Or(ae) : void 0;
|
|
32333
32351
|
if (xe)
|
|
32334
32352
|
switch (xe) {
|
|
@@ -32366,7 +32384,7 @@ function kM() {
|
|
|
32366
32384
|
case G:
|
|
32367
32385
|
case $:
|
|
32368
32386
|
case ie:
|
|
32369
|
-
case
|
|
32387
|
+
case W:
|
|
32370
32388
|
case Y:
|
|
32371
32389
|
case X:
|
|
32372
32390
|
case oe:
|
|
@@ -32462,8 +32480,8 @@ zf.exports;
|
|
|
32462
32480
|
var Ex;
|
|
32463
32481
|
function TM() {
|
|
32464
32482
|
return Ex || (Ex = 1, (function(r, e) {
|
|
32465
|
-
var t = 200, n = "__lodash_hash_undefined__", i = 1, a = 2, s = 9007199254740991, o = "[object Arguments]", l = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", h = "[object Date]", f = "[object Error]", d = "[object Function]", g = "[object GeneratorFunction]", v = "[object Map]", y = "[object Number]", A = "[object Null]", x = "[object Object]", k = "[object Promise]", T = "[object Proxy]", S = "[object RegExp]", R = "[object Set]", B = "[object String]", G = "[object Symbol]", $ = "[object Undefined]", ie = "[object WeakMap]",
|
|
32466
|
-
Ee[X] = Ee[oe] = Ee[se] = Ee[he] = Ee[ye] = Ee[Ue] = Ee[Re] = Ee[Oe] = Ee[ee] = !0, Ee[o] = Ee[l] = Ee[
|
|
32483
|
+
var t = 200, n = "__lodash_hash_undefined__", i = 1, a = 2, s = 9007199254740991, o = "[object Arguments]", l = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", h = "[object Date]", f = "[object Error]", d = "[object Function]", g = "[object GeneratorFunction]", v = "[object Map]", y = "[object Number]", A = "[object Null]", x = "[object Object]", k = "[object Promise]", T = "[object Proxy]", S = "[object RegExp]", R = "[object Set]", B = "[object String]", G = "[object Symbol]", $ = "[object Undefined]", ie = "[object WeakMap]", W = "[object ArrayBuffer]", Y = "[object DataView]", X = "[object Float32Array]", oe = "[object Float64Array]", se = "[object Int8Array]", he = "[object Int16Array]", ye = "[object Int32Array]", Ue = "[object Uint8Array]", Re = "[object Uint8ClampedArray]", Oe = "[object Uint16Array]", ee = "[object Uint32Array]", re = /[\\^$.*+?()[\]{}|]/g, de = /^\[object .+?Constructor\]$/, Be = /^(?:0|[1-9]\d*)$/, Ee = {};
|
|
32484
|
+
Ee[X] = Ee[oe] = Ee[se] = Ee[he] = Ee[ye] = Ee[Ue] = Ee[Re] = Ee[Oe] = Ee[ee] = !0, Ee[o] = Ee[l] = Ee[W] = Ee[c] = Ee[Y] = Ee[h] = Ee[f] = Ee[d] = Ee[v] = Ee[y] = Ee[x] = Ee[S] = Ee[R] = Ee[B] = Ee[ie] = !1;
|
|
32467
32485
|
var ze = typeof ci == "object" && ci && ci.Object === Object && ci, je = typeof self == "object" && self && self.Object === Object && self, qe = ze || je || Function("return this")(), Ge = e && !e.nodeType && e, bt = Ge && !0 && r && !r.nodeType && r, rr = bt && bt.exports === Ge, Pr = rr && ze.process, $t = (function() {
|
|
32468
32486
|
try {
|
|
32469
32487
|
return Pr && Pr.binding && Pr.binding("util");
|
|
@@ -32488,7 +32506,7 @@ function TM() {
|
|
|
32488
32506
|
return !0;
|
|
32489
32507
|
return !1;
|
|
32490
32508
|
}
|
|
32491
|
-
function
|
|
32509
|
+
function Sr(I, H) {
|
|
32492
32510
|
for (var ae = -1, xe = Array(I); ++ae < I; )
|
|
32493
32511
|
xe[ae] = H(ae);
|
|
32494
32512
|
return xe;
|
|
@@ -32526,7 +32544,7 @@ function TM() {
|
|
|
32526
32544
|
return I ? "Symbol(src)_1." + I : "";
|
|
32527
32545
|
})(), Vr = _r.toString, pn = RegExp(
|
|
32528
32546
|
"^" + Yr.call(kr).replace(re, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
32529
|
-
), gn = rr ? qe.Buffer : void 0, Fr = qe.Symbol, zr = qe.Uint8Array, en = _r.propertyIsEnumerable, Hr = wr.splice, zt = Fr ? Fr.toStringTag : void 0, sr = Object.getOwnPropertySymbols,
|
|
32547
|
+
), gn = rr ? qe.Buffer : void 0, Fr = qe.Symbol, zr = qe.Uint8Array, en = _r.propertyIsEnumerable, Hr = wr.splice, zt = Fr ? Fr.toStringTag : void 0, sr = Object.getOwnPropertySymbols, Er = gn ? gn.isBuffer : void 0, tt = Xt(Object.keys, Object), Nr = lt(qe, "DataView"), Xr = lt(qe, "Map"), Se = lt(qe, "Promise"), P = lt(qe, "Set"), U = lt(qe, "WeakMap"), J = lt(Object, "create"), ue = Or(Nr), Te = Or(Xr), We = Or(Se), wt = Or(P), It = Or(U), Nt = Fr ? Fr.prototype : void 0, or = Nt ? Nt.valueOf : void 0;
|
|
32530
32548
|
function Lt(I) {
|
|
32531
32549
|
var H = -1, ae = I == null ? 0 : I.length;
|
|
32532
32550
|
for (this.clear(); ++H < ae; ) {
|
|
@@ -32657,7 +32675,7 @@ function TM() {
|
|
|
32657
32675
|
}
|
|
32658
32676
|
jr.prototype.clear = Cn, jr.prototype.delete = cn, jr.prototype.get = tn, jr.prototype.has = Jn, jr.prototype.set = ai;
|
|
32659
32677
|
function Sn(I, H) {
|
|
32660
|
-
var ae = Mn(I), xe = !ae && Bn(I), ht = !ae && !xe && yi(I), ot = !ae && !xe && !ht && Zn(I), jt = ae || xe || ht || ot, Ut = jt ?
|
|
32678
|
+
var ae = Mn(I), xe = !ae && Bn(I), ht = !ae && !xe && yi(I), ot = !ae && !xe && !ht && Zn(I), jt = ae || xe || ht || ot, Ut = jt ? Sr(I.length, String) : [], Br = Ut.length;
|
|
32661
32679
|
for (var M in I)
|
|
32662
32680
|
kr.call(I, M) && !(jt && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
32663
32681
|
(M == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -32761,7 +32779,7 @@ function TM() {
|
|
|
32761
32779
|
if (I.byteLength != H.byteLength || I.byteOffset != H.byteOffset)
|
|
32762
32780
|
return !1;
|
|
32763
32781
|
I = I.buffer, H = H.buffer;
|
|
32764
|
-
case
|
|
32782
|
+
case W:
|
|
32765
32783
|
return !(I.byteLength != H.byteLength || !ot(new zr(I), new zr(H)));
|
|
32766
32784
|
case c:
|
|
32767
32785
|
case h:
|
|
@@ -32905,7 +32923,7 @@ function TM() {
|
|
|
32905
32923
|
function Oi(I) {
|
|
32906
32924
|
return I != null && Ei(I.length) && !_n(I);
|
|
32907
32925
|
}
|
|
32908
|
-
var yi =
|
|
32926
|
+
var yi = Er || bi;
|
|
32909
32927
|
function Ai(I, H) {
|
|
32910
32928
|
return on(I, H);
|
|
32911
32929
|
}
|
|
@@ -32993,7 +33011,7 @@ function PM() {
|
|
|
32993
33011
|
// with.
|
|
32994
33012
|
K.$$typeof === $ || K.getModuleId !== void 0));
|
|
32995
33013
|
}
|
|
32996
|
-
function
|
|
33014
|
+
function W(K, Ie, Qe) {
|
|
32997
33015
|
var Ye = K.displayName;
|
|
32998
33016
|
if (Ye)
|
|
32999
33017
|
return Ye;
|
|
@@ -33033,7 +33051,7 @@ function PM() {
|
|
|
33033
33051
|
var Qe = K;
|
|
33034
33052
|
return Y(Qe._context) + ".Provider";
|
|
33035
33053
|
case l:
|
|
33036
|
-
return
|
|
33054
|
+
return W(K, K.render, "ForwardRef");
|
|
33037
33055
|
case h:
|
|
33038
33056
|
var Ye = K.displayName || null;
|
|
33039
33057
|
return Ye !== null ? Ye : X(K.type) || "Memo";
|
|
@@ -33236,13 +33254,13 @@ function PM() {
|
|
|
33236
33254
|
}
|
|
33237
33255
|
return "";
|
|
33238
33256
|
}
|
|
33239
|
-
var st = Object.prototype.hasOwnProperty, Qr = {},
|
|
33257
|
+
var st = Object.prototype.hasOwnProperty, Qr = {}, Sr = A.ReactDebugCurrentFrame;
|
|
33240
33258
|
function gr(K) {
|
|
33241
33259
|
if (K) {
|
|
33242
33260
|
var Ie = K._owner, Qe = St(K.type, K._source, Ie ? Ie.type : null);
|
|
33243
|
-
|
|
33261
|
+
Sr.setExtraStackFrame(Qe);
|
|
33244
33262
|
} else
|
|
33245
|
-
|
|
33263
|
+
Sr.setExtraStackFrame(null);
|
|
33246
33264
|
}
|
|
33247
33265
|
function nr(K, Ie, Qe, Ye, xt) {
|
|
33248
33266
|
{
|
|
@@ -33389,8 +33407,8 @@ function PM() {
|
|
|
33389
33407
|
} else
|
|
33390
33408
|
zt.setExtraStackFrame(null);
|
|
33391
33409
|
}
|
|
33392
|
-
var
|
|
33393
|
-
|
|
33410
|
+
var Er;
|
|
33411
|
+
Er = !1;
|
|
33394
33412
|
function tt(K) {
|
|
33395
33413
|
return typeof K == "object" && K !== null && K.$$typeof === e;
|
|
33396
33414
|
}
|
|
@@ -33471,8 +33489,8 @@ Check the top-level render call using <` + Qe + ">.");
|
|
|
33471
33489
|
if (Qe) {
|
|
33472
33490
|
var Ye = X(Ie);
|
|
33473
33491
|
nr(Qe, K.props, "prop", Ye, K);
|
|
33474
|
-
} else if (Ie.PropTypes !== void 0 && !
|
|
33475
|
-
|
|
33492
|
+
} else if (Ie.PropTypes !== void 0 && !Er) {
|
|
33493
|
+
Er = !0;
|
|
33476
33494
|
var xt = X(Ie);
|
|
33477
33495
|
x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", xt || "Unknown");
|
|
33478
33496
|
}
|
|
@@ -36825,7 +36843,7 @@ function Lx(r, e, t) {
|
|
|
36825
36843
|
G = l.length % 2 !== 0, G && !c && (T = l.shift() + A), u += l.length >> 1, l.length = 0, c = !0;
|
|
36826
36844
|
}
|
|
36827
36845
|
function B(G) {
|
|
36828
|
-
for (var $, ie,
|
|
36846
|
+
for (var $, ie, W, Y, X, oe, se, he, ye, Ue, Re, Oe, ee = 0; ee < G.length; ) {
|
|
36829
36847
|
var re = G[ee];
|
|
36830
36848
|
switch (ee += 1, re) {
|
|
36831
36849
|
case 1:
|
|
@@ -36929,7 +36947,7 @@ function Lx(r, e, t) {
|
|
|
36929
36947
|
n = f, i = d + l.shift(), a = n + l.shift(), s = i + l.shift(), f = a + l.shift(), d = s + (l.length === 1 ? l.shift() : 0), o.curveTo(n, i, a, s, f, d);
|
|
36930
36948
|
break;
|
|
36931
36949
|
default:
|
|
36932
|
-
re < 32 ? console.log("Glyph " + e.index + ": unknown operator " + re) : re < 247 ? l.push(re - 139) : re < 251 ? ($ = G[ee], ee += 1, l.push((re - 247) * 256 + $ + 108)) : re < 255 ? ($ = G[ee], ee += 1, l.push(-(re - 251) * 256 - $ - 108)) : ($ = G[ee], ie = G[ee + 1],
|
|
36950
|
+
re < 32 ? console.log("Glyph " + e.index + ": unknown operator " + re) : re < 247 ? l.push(re - 139) : re < 251 ? ($ = G[ee], ee += 1, l.push((re - 247) * 256 + $ + 108)) : re < 255 ? ($ = G[ee], ee += 1, l.push(-(re - 251) * 256 - $ - 108)) : ($ = G[ee], ie = G[ee + 1], W = G[ee + 2], Y = G[ee + 3], ee += 4, l.push(($ << 24 | ie << 16 | W << 8 | Y) / 65536));
|
|
36933
36951
|
}
|
|
36934
36952
|
}
|
|
36935
36953
|
}
|
|
@@ -38070,8 +38088,8 @@ function Z_(r, e) {
|
|
|
38070
38088
|
}
|
|
38071
38089
|
}
|
|
38072
38090
|
}
|
|
38073
|
-
c.sort(function(
|
|
38074
|
-
return
|
|
38091
|
+
c.sort(function(W, Y) {
|
|
38092
|
+
return W.platformID - Y.platformID || W.encodingID - Y.encodingID || W.languageID - Y.languageID || W.nameID - Y.nameID;
|
|
38075
38093
|
});
|
|
38076
38094
|
for (var $ = new ct.Table("name", [
|
|
38077
38095
|
{ name: "format", type: "USHORT", value: 0 },
|
|
@@ -38837,8 +38855,8 @@ function c5(r) {
|
|
|
38837
38855
|
// Use space as the default character, if available.
|
|
38838
38856
|
usBreakChar: r.hasChar(" ") ? 32 : 0
|
|
38839
38857
|
// Use space as the break character, if available.
|
|
38840
|
-
}, r.tables.os2)), G = MF.make(r.glyphs), $ = wF.make(r.glyphs), ie = r.getEnglishName("fontFamily"),
|
|
38841
|
-
X || (X = ie.replace(/\s/g, "") + "-" +
|
|
38858
|
+
}, r.tables.os2)), G = MF.make(r.glyphs), $ = wF.make(r.glyphs), ie = r.getEnglishName("fontFamily"), W = r.getEnglishName("fontSubfamily"), Y = ie + " " + W, X = r.getEnglishName("postScriptName");
|
|
38859
|
+
X || (X = ie.replace(/\s/g, "") + "-" + W);
|
|
38842
38860
|
var oe = {};
|
|
38843
38861
|
for (var se in r.names)
|
|
38844
38862
|
oe[se] = r.names[se];
|
|
@@ -38847,7 +38865,7 @@ function c5(r) {
|
|
|
38847
38865
|
version: r.getEnglishName("version"),
|
|
38848
38866
|
fullName: Y,
|
|
38849
38867
|
familyName: ie,
|
|
38850
|
-
weightName:
|
|
38868
|
+
weightName: W,
|
|
38851
38869
|
postScriptName: X,
|
|
38852
38870
|
unitsPerEm: r.unitsPerEm,
|
|
38853
38871
|
fontBBox: [0, k.yMin, k.ascender, k.advanceWidthMax]
|
|
@@ -42461,7 +42479,7 @@ function Vy(r, e) {
|
|
|
42461
42479
|
}
|
|
42462
42480
|
var $ = Wn(a, k);
|
|
42463
42481
|
if (i.tables.name = HF.parse($.data, $.offset, n), i.names = i.tables.name, f && x) {
|
|
42464
|
-
var ie = t === 0,
|
|
42482
|
+
var ie = t === 0, W = Wn(a, x), Y = Q8.parse(W.data, W.offset, i.numGlyphs, ie), X = Wn(a, f);
|
|
42465
42483
|
i.glyphs = XF.parse(X.data, X.offset, Y, i, e);
|
|
42466
42484
|
} else if (c) {
|
|
42467
42485
|
var oe = Wn(a, c);
|
|
@@ -42711,8 +42729,8 @@ const oN = (r) => r.substring(0, 5).toLowerCase().trim() === "data:", T0 = /* @_
|
|
|
42711
42729
|
parseInt(f.getAttribute("font-size") ?? "72")
|
|
42712
42730
|
);
|
|
42713
42731
|
G.fill = A, G.stroke = x, G.strokeWidth = parseFloat(k ?? "0");
|
|
42714
|
-
const $ = G.toSVG(2),
|
|
42715
|
-
d.appendChild(
|
|
42732
|
+
const $ = G.toSVG(2), W = e.parseFromString($, "image/svg+xml").firstElementChild;
|
|
42733
|
+
d.appendChild(W);
|
|
42716
42734
|
}
|
|
42717
42735
|
return t.querySelectorAll("text").forEach((c) => c.remove()), Pl().serializeToString(n);
|
|
42718
42736
|
}, fg = (r, e, t, n) => Math.max(dN(r.join(`
|
|
@@ -43362,10 +43380,10 @@ function kN() {
|
|
|
43362
43380
|
throw new a.default("Unknown template object: " + typeof S);
|
|
43363
43381
|
S.main.decorator = S.main_d, R.VM.checkRevision(S.compiler);
|
|
43364
43382
|
var B = S.compiler && S.compiler[0] === 7;
|
|
43365
|
-
function G(
|
|
43366
|
-
X.hash && (Y = n.extend({}, Y, X.hash), X.ids && (X.ids[0] = !0)),
|
|
43367
|
-
var oe = R.VM.invokePartial.call(this,
|
|
43368
|
-
if (oe == null && R.compile && (X.partials[X.name] = R.compile(
|
|
43383
|
+
function G(W, Y, X) {
|
|
43384
|
+
X.hash && (Y = n.extend({}, Y, X.hash), X.ids && (X.ids[0] = !0)), W = R.VM.resolvePartial.call(this, W, Y, X), X.hooks = this.hooks, X.protoAccessControl = this.protoAccessControl;
|
|
43385
|
+
var oe = R.VM.invokePartial.call(this, W, Y, X);
|
|
43386
|
+
if (oe == null && R.compile && (X.partials[X.name] = R.compile(W, S.compilerOptions, R), oe = X.partials[X.name](Y, X)), oe != null) {
|
|
43369
43387
|
if (X.indent) {
|
|
43370
43388
|
for (var se = oe.split(`
|
|
43371
43389
|
`), he = 0, ye = se.length; he < ye && !(!se[he] && he + 1 === ye); he++)
|
|
@@ -43425,39 +43443,39 @@ function kN() {
|
|
|
43425
43443
|
noop: R.VM.noop,
|
|
43426
43444
|
compilerInfo: S.compiler
|
|
43427
43445
|
};
|
|
43428
|
-
function ie(
|
|
43446
|
+
function ie(W) {
|
|
43429
43447
|
var Y = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], X = Y.data;
|
|
43430
|
-
ie._setup(Y), !Y.partial && S.useData && (X = A(
|
|
43448
|
+
ie._setup(Y), !Y.partial && S.useData && (X = A(W, X));
|
|
43431
43449
|
var oe = void 0, se = S.useBlockParams ? [] : void 0;
|
|
43432
|
-
S.useDepths && (Y.depths ? oe =
|
|
43450
|
+
S.useDepths && (Y.depths ? oe = W != Y.depths[0] ? [W].concat(Y.depths) : Y.depths : oe = [W]);
|
|
43433
43451
|
function he(ye) {
|
|
43434
43452
|
return "" + S.main($, ye, $.helpers, $.partials, X, se, oe);
|
|
43435
43453
|
}
|
|
43436
|
-
return he = x(S.main, he, $, Y.depths || [], X, se), he(
|
|
43454
|
+
return he = x(S.main, he, $, Y.depths || [], X, se), he(W, Y);
|
|
43437
43455
|
}
|
|
43438
|
-
return ie.isTop = !0, ie._setup = function(
|
|
43439
|
-
if (
|
|
43440
|
-
$.protoAccessControl =
|
|
43456
|
+
return ie.isTop = !0, ie._setup = function(W) {
|
|
43457
|
+
if (W.partial)
|
|
43458
|
+
$.protoAccessControl = W.protoAccessControl, $.helpers = W.helpers, $.partials = W.partials, $.decorators = W.decorators, $.hooks = W.hooks;
|
|
43441
43459
|
else {
|
|
43442
43460
|
var Y = {};
|
|
43443
|
-
k(Y, R.helpers, $), k(Y,
|
|
43444
|
-
var X =
|
|
43461
|
+
k(Y, R.helpers, $), k(Y, W.helpers, $), $.helpers = Y, S.usePartial && ($.partials = $.mergeIfNeeded(W.partials, R.partials)), (S.usePartial || S.useDecorators) && ($.decorators = n.extend({}, R.decorators, W.decorators)), $.hooks = {}, $.protoAccessControl = u.createProtoAccessControl(W);
|
|
43462
|
+
var X = W.allowCallsToHelperMissing || B;
|
|
43445
43463
|
o.moveHelperToHooks($, "helperMissing", X), o.moveHelperToHooks($, "blockHelperMissing", X);
|
|
43446
43464
|
}
|
|
43447
|
-
}, ie._child = function(
|
|
43465
|
+
}, ie._child = function(W, Y, X, oe) {
|
|
43448
43466
|
if (S.useBlockParams && !X)
|
|
43449
43467
|
throw new a.default("must pass block params");
|
|
43450
43468
|
if (S.useDepths && !oe)
|
|
43451
43469
|
throw new a.default("must pass parent depths");
|
|
43452
|
-
return f($,
|
|
43470
|
+
return f($, W, S[W], Y, 0, X, oe);
|
|
43453
43471
|
}, ie;
|
|
43454
43472
|
}
|
|
43455
|
-
function f(S, R, B, G, $, ie,
|
|
43473
|
+
function f(S, R, B, G, $, ie, W) {
|
|
43456
43474
|
function Y(X) {
|
|
43457
|
-
var oe = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], se =
|
|
43458
|
-
return
|
|
43475
|
+
var oe = arguments.length <= 1 || arguments[1] === void 0 ? {} : arguments[1], se = W;
|
|
43476
|
+
return W && X != W[0] && !(X === S.nullContext && W[0] === null) && (se = [X].concat(W)), B(S, X, S.helpers, S.partials, oe.data || G, ie && [oe.blockParams].concat(ie), se);
|
|
43459
43477
|
}
|
|
43460
|
-
return Y = x(B, Y, S,
|
|
43478
|
+
return Y = x(B, Y, S, W, G, ie), Y.program = R, Y.depth = W ? W.length : 0, Y.blockParams = $ || 0, Y;
|
|
43461
43479
|
}
|
|
43462
43480
|
function d(S, R, B) {
|
|
43463
43481
|
return S ? !S.call && !B.name && (B.name = S, S = y(B.partials, S)) : B.name === "@partial-block" ? S = y(B.data, "partial-block") : S = y(B.partials, B.name), S;
|
|
@@ -43490,8 +43508,8 @@ function kN() {
|
|
|
43490
43508
|
}
|
|
43491
43509
|
function x(S, R, B, G, $, ie) {
|
|
43492
43510
|
if (S.decorator) {
|
|
43493
|
-
var
|
|
43494
|
-
R = S.decorator(R,
|
|
43511
|
+
var W = {};
|
|
43512
|
+
R = S.decorator(R, W, B, G && G[0], $, ie, G), n.extend(R, W);
|
|
43495
43513
|
}
|
|
43496
43514
|
return R;
|
|
43497
43515
|
}
|
|
@@ -43848,15 +43866,15 @@ function TN() {
|
|
|
43848
43866
|
var X;
|
|
43849
43867
|
return X = l.lexer.lex() || 1, typeof X != "number" && (X = l.symbols_[X] || X), X;
|
|
43850
43868
|
}
|
|
43851
|
-
for (var k, T, S, R, B = {}, G, $, ie,
|
|
43869
|
+
for (var k, T, S, R, B = {}, G, $, ie, W; ; ) {
|
|
43852
43870
|
if (T = u[u.length - 1], this.defaultActions[T] ? S = this.defaultActions[T] : ((k === null || typeof k > "u") && (k = x()), S = f[T] && f[T][k]), typeof S > "u" || !S.length || !S[0]) {
|
|
43853
43871
|
var Y = "";
|
|
43854
43872
|
{
|
|
43855
|
-
|
|
43856
|
-
for (G in f[T]) this.terminals_[G] && G > 2 &&
|
|
43873
|
+
W = [];
|
|
43874
|
+
for (G in f[T]) this.terminals_[G] && G > 2 && W.push("'" + this.terminals_[G] + "'");
|
|
43857
43875
|
this.lexer.showPosition ? Y = "Parse error on line " + (g + 1) + `:
|
|
43858
43876
|
` + this.lexer.showPosition() + `
|
|
43859
|
-
Expecting ` +
|
|
43877
|
+
Expecting ` + W.join(", ") + ", got '" + (this.terminals_[k] || k) + "'" : Y = "Parse error on line " + (g + 1) + ": Unexpected " + (k == 1 ? "end of input" : "'" + (this.terminals_[k] || k) + "'"), this.parseError(Y, { text: this.lexer.match, token: this.terminals_[k] || k, line: this.lexer.yylineno, loc: y, expected: W });
|
|
43860
43878
|
}
|
|
43861
43879
|
}
|
|
43862
43880
|
if (S[0] instanceof Array && S.length > 1)
|
|
@@ -44789,8 +44807,8 @@ function qd() {
|
|
|
44789
44807
|
return T;
|
|
44790
44808
|
S = R.path;
|
|
44791
44809
|
}
|
|
44792
|
-
for (var B = r.isAbsolute(S), G = S.split(/\/+/), $, ie = 0,
|
|
44793
|
-
$ = G[
|
|
44810
|
+
for (var B = r.isAbsolute(S), G = S.split(/\/+/), $, ie = 0, W = G.length - 1; W >= 0; W--)
|
|
44811
|
+
$ = G[W], $ === "." ? G.splice(W, 1) : $ === ".." ? ie++ : ie > 0 && ($ === "" ? (G.splice(W + 1, ie), ie = 0) : (G.splice(W, 2), ie--));
|
|
44794
44812
|
return S = G.join("/"), S === "" && (S = B ? "/" : "."), R ? (R.path = S, a(R)) : S;
|
|
44795
44813
|
}
|
|
44796
44814
|
r.normalize = s;
|
|
@@ -45247,18 +45265,18 @@ function NN() {
|
|
|
45247
45265
|
this.generatedLine = 0, this.generatedColumn = 0, this.source = null, this.originalLine = null, this.originalColumn = null, this.name = null;
|
|
45248
45266
|
}
|
|
45249
45267
|
s.prototype._parseMappings = function(c, h) {
|
|
45250
|
-
for (var f = 1, d = 0, g = 0, v = 0, y = 0, A = 0, x = c.length, k = 0, T = {}, S = {}, R = [], B = [], G, $, ie,
|
|
45268
|
+
for (var f = 1, d = 0, g = 0, v = 0, y = 0, A = 0, x = c.length, k = 0, T = {}, S = {}, R = [], B = [], G, $, ie, W, Y; k < x; )
|
|
45251
45269
|
if (c.charAt(k) === ";")
|
|
45252
45270
|
f++, k++, d = 0;
|
|
45253
45271
|
else if (c.charAt(k) === ",")
|
|
45254
45272
|
k++;
|
|
45255
45273
|
else {
|
|
45256
|
-
for (G = new o(), G.generatedLine = f,
|
|
45274
|
+
for (G = new o(), G.generatedLine = f, W = k; W < x && !this._charIsMappingSeparator(c, W); W++)
|
|
45257
45275
|
;
|
|
45258
|
-
if ($ = c.slice(k,
|
|
45276
|
+
if ($ = c.slice(k, W), ie = T[$], ie)
|
|
45259
45277
|
k += $.length;
|
|
45260
45278
|
else {
|
|
45261
|
-
for (ie = []; k <
|
|
45279
|
+
for (ie = []; k < W; )
|
|
45262
45280
|
n.decode(c, k, S), Y = S.value, k = S.rest, ie.push(Y);
|
|
45263
45281
|
if (ie.length === 2)
|
|
45264
45282
|
throw new Error("Found a source, but no line and column");
|
|
@@ -48919,11 +48937,11 @@ function C7() {
|
|
|
48919
48937
|
for (let R = 0; R < A.length; R++) {
|
|
48920
48938
|
const B = A[R], G = [];
|
|
48921
48939
|
for (let $ = 0; $ < B.length; $++) {
|
|
48922
|
-
const ie = B[$],
|
|
48923
|
-
G.push(
|
|
48940
|
+
const ie = B[$], W = "" + R + $;
|
|
48941
|
+
G.push(W), k[W] = { node: ie, lastCount: 0 }, T[W] = {};
|
|
48924
48942
|
for (let Y = 0; Y < S.length; Y++) {
|
|
48925
48943
|
const X = S[Y];
|
|
48926
|
-
k[X] && k[X].node.mode === ie.mode ? (T[X][
|
|
48944
|
+
k[X] && k[X].node.mode === ie.mode ? (T[X][W] = f(k[X].lastCount + ie.length, ie.mode) - f(k[X].lastCount, ie.mode), k[X].lastCount += ie.length) : (k[X] && (k[X].lastCount = ie.length), T[X][W] = f(ie.length, ie.mode) + 4 + e.getCharCountIndicator(ie.mode, x));
|
|
48927
48945
|
}
|
|
48928
48946
|
}
|
|
48929
48947
|
S = G;
|
|
@@ -48973,11 +48991,11 @@ function S7() {
|
|
|
48973
48991
|
function d(R, B) {
|
|
48974
48992
|
const G = R.size, $ = a.getPositions(B);
|
|
48975
48993
|
for (let ie = 0; ie < $.length; ie++) {
|
|
48976
|
-
const
|
|
48994
|
+
const W = $[ie][0], Y = $[ie][1];
|
|
48977
48995
|
for (let X = -1; X <= 7; X++)
|
|
48978
|
-
if (!(
|
|
48996
|
+
if (!(W + X <= -1 || G <= W + X))
|
|
48979
48997
|
for (let oe = -1; oe <= 7; oe++)
|
|
48980
|
-
Y + oe <= -1 || G <= Y + oe || (X >= 0 && X <= 6 && (oe === 0 || oe === 6) || oe >= 0 && oe <= 6 && (X === 0 || X === 6) || X >= 2 && X <= 4 && oe >= 2 && oe <= 4 ? R.set(
|
|
48998
|
+
Y + oe <= -1 || G <= Y + oe || (X >= 0 && X <= 6 && (oe === 0 || oe === 6) || oe >= 0 && oe <= 6 && (X === 0 || X === 6) || X >= 2 && X <= 4 && oe >= 2 && oe <= 4 ? R.set(W + X, Y + oe, !0, !0) : R.set(W + X, Y + oe, !1, !0));
|
|
48981
48999
|
}
|
|
48982
49000
|
}
|
|
48983
49001
|
function g(R) {
|
|
@@ -48990,34 +49008,34 @@ function S7() {
|
|
|
48990
49008
|
function v(R, B) {
|
|
48991
49009
|
const G = i.getPositions(B);
|
|
48992
49010
|
for (let $ = 0; $ < G.length; $++) {
|
|
48993
|
-
const ie = G[$][0],
|
|
49011
|
+
const ie = G[$][0], W = G[$][1];
|
|
48994
49012
|
for (let Y = -2; Y <= 2; Y++)
|
|
48995
49013
|
for (let X = -2; X <= 2; X++)
|
|
48996
|
-
Y === -2 || Y === 2 || X === -2 || X === 2 || Y === 0 && X === 0 ? R.set(ie + Y,
|
|
49014
|
+
Y === -2 || Y === 2 || X === -2 || X === 2 || Y === 0 && X === 0 ? R.set(ie + Y, W + X, !0, !0) : R.set(ie + Y, W + X, !1, !0);
|
|
48997
49015
|
}
|
|
48998
49016
|
}
|
|
48999
49017
|
function y(R, B) {
|
|
49000
49018
|
const G = R.size, $ = u.getEncodedBits(B);
|
|
49001
|
-
let ie,
|
|
49019
|
+
let ie, W, Y;
|
|
49002
49020
|
for (let X = 0; X < 18; X++)
|
|
49003
|
-
ie = Math.floor(X / 3),
|
|
49021
|
+
ie = Math.floor(X / 3), W = X % 3 + G - 8 - 3, Y = ($ >> X & 1) === 1, R.set(ie, W, Y, !0), R.set(W, ie, Y, !0);
|
|
49004
49022
|
}
|
|
49005
49023
|
function A(R, B, G) {
|
|
49006
49024
|
const $ = R.size, ie = c.getEncodedBits(B, G);
|
|
49007
|
-
let
|
|
49008
|
-
for (
|
|
49009
|
-
Y = (ie >>
|
|
49025
|
+
let W, Y;
|
|
49026
|
+
for (W = 0; W < 15; W++)
|
|
49027
|
+
Y = (ie >> W & 1) === 1, W < 6 ? R.set(W, 8, Y, !0) : W < 8 ? R.set(W + 1, 8, Y, !0) : R.set($ - 15 + W, 8, Y, !0), W < 8 ? R.set(8, $ - W - 1, Y, !0) : W < 9 ? R.set(8, 15 - W - 1 + 1, Y, !0) : R.set(8, 15 - W - 1, Y, !0);
|
|
49010
49028
|
R.set($ - 8, 8, 1, !0);
|
|
49011
49029
|
}
|
|
49012
49030
|
function x(R, B) {
|
|
49013
49031
|
const G = R.size;
|
|
49014
|
-
let $ = -1, ie = G - 1,
|
|
49032
|
+
let $ = -1, ie = G - 1, W = 7, Y = 0;
|
|
49015
49033
|
for (let X = G - 1; X > 0; X -= 2)
|
|
49016
49034
|
for (X === 6 && X--; ; ) {
|
|
49017
49035
|
for (let oe = 0; oe < 2; oe++)
|
|
49018
49036
|
if (!R.isReserved(ie, X - oe)) {
|
|
49019
49037
|
let se = !1;
|
|
49020
|
-
Y < B.length && (se = (B[Y] >>>
|
|
49038
|
+
Y < B.length && (se = (B[Y] >>> W & 1) === 1), R.set(ie, X - oe, se), W--, W === -1 && (Y++, W = 7);
|
|
49021
49039
|
}
|
|
49022
49040
|
if (ie += $, ie < 0 || G <= ie) {
|
|
49023
49041
|
ie -= $, $ = -$;
|
|
@@ -49030,7 +49048,7 @@ function S7() {
|
|
|
49030
49048
|
G.forEach(function(oe) {
|
|
49031
49049
|
$.put(oe.mode.bit, 4), $.put(oe.getLength(), h.getCharCountIndicator(oe.mode, R)), oe.write($);
|
|
49032
49050
|
});
|
|
49033
|
-
const ie = r.getSymbolTotalCodewords(R),
|
|
49051
|
+
const ie = r.getSymbolTotalCodewords(R), W = o.getTotalCodewordsCount(R, B), Y = (ie - W) * 8;
|
|
49034
49052
|
for ($.getLengthInBits() + 4 <= Y && $.put(0, 4); $.getLengthInBits() % 8 !== 0; )
|
|
49035
49053
|
$.putBit(0);
|
|
49036
49054
|
const X = (Y - $.getLengthInBits()) / 8;
|
|
@@ -49039,7 +49057,7 @@ function S7() {
|
|
|
49039
49057
|
return T($, R, B);
|
|
49040
49058
|
}
|
|
49041
49059
|
function T(R, B, G) {
|
|
49042
|
-
const $ = r.getSymbolTotalCodewords(B), ie = o.getTotalCodewordsCount(B, G),
|
|
49060
|
+
const $ = r.getSymbolTotalCodewords(B), ie = o.getTotalCodewordsCount(B, G), W = $ - ie, Y = o.getBlocksCount(B, G), X = $ % Y, oe = Y - X, se = Math.floor($ / Y), he = Math.floor(W / Y), ye = he + 1, Ue = se - he, Re = new l(Ue);
|
|
49043
49061
|
let Oe = 0;
|
|
49044
49062
|
const ee = new Array(Y), re = new Array(Y);
|
|
49045
49063
|
let de = 0;
|
|
@@ -49071,16 +49089,16 @@ function S7() {
|
|
|
49071
49089
|
ie = f.fromString(R, se || 40);
|
|
49072
49090
|
} else
|
|
49073
49091
|
throw new Error("Invalid data");
|
|
49074
|
-
const
|
|
49075
|
-
if (!
|
|
49092
|
+
const W = u.getBestVersionForData(ie, G);
|
|
49093
|
+
if (!W)
|
|
49076
49094
|
throw new Error("The amount of data is too big to be stored in a QR Code");
|
|
49077
49095
|
if (!B)
|
|
49078
|
-
B =
|
|
49079
|
-
else if (B <
|
|
49096
|
+
B = W;
|
|
49097
|
+
else if (B < W)
|
|
49080
49098
|
throw new Error(
|
|
49081
49099
|
`
|
|
49082
49100
|
The chosen QR Code version cannot contain this amount of data.
|
|
49083
|
-
Minimum version required to store current data is: ` +
|
|
49101
|
+
Minimum version required to store current data is: ` + W + `.
|
|
49084
49102
|
`
|
|
49085
49103
|
);
|
|
49086
49104
|
const Y = k(B, G, ie), X = r.getSymbolSize(B), oe = new n(X);
|
|
@@ -49098,8 +49116,8 @@ Minimum version required to store current data is: ` + Q + `.
|
|
|
49098
49116
|
return H0.create = function(B, G) {
|
|
49099
49117
|
if (typeof B > "u" || B === "")
|
|
49100
49118
|
throw new Error("No input text");
|
|
49101
|
-
let $ = e.M, ie,
|
|
49102
|
-
return typeof G < "u" && ($ = e.from(G.errorCorrectionLevel, e.M), ie = u.from(G.version),
|
|
49119
|
+
let $ = e.M, ie, W;
|
|
49120
|
+
return typeof G < "u" && ($ = e.from(G.errorCorrectionLevel, e.M), ie = u.from(G.version), W = s.from(G.maskPattern), G.toSJISFunc && r.setToSJISFunction(G.toSJISFunc)), S(B, ie, $, W);
|
|
49103
49121
|
}, H0;
|
|
49104
49122
|
}
|
|
49105
49123
|
var ov = {}, lv = {}, MS;
|
|
@@ -61783,10 +61801,10 @@ class j7 {
|
|
|
61783
61801
|
{ size: n.size, minSize: n.minSize, maxSize: n.maxSize }
|
|
61784
61802
|
);
|
|
61785
61803
|
B.set(S.id, $), G.set(S.id, ie);
|
|
61786
|
-
const
|
|
61804
|
+
const W = n.curved || n.vertical ? u : (ie || []).join(`
|
|
61787
61805
|
`);
|
|
61788
61806
|
R.push(
|
|
61789
|
-
this.generateTextChangeCommandsForRegion($, n, S.id,
|
|
61807
|
+
this.generateTextChangeCommandsForRegion($, n, S.id, W)
|
|
61790
61808
|
);
|
|
61791
61809
|
const Y = new di(S, v);
|
|
61792
61810
|
return {
|
|
@@ -61846,8 +61864,8 @@ class j7 {
|
|
|
61846
61864
|
for (const G in S) {
|
|
61847
61865
|
const $ = S[G].toLowerCase().replace(/\s/g, "");
|
|
61848
61866
|
if (B === $) {
|
|
61849
|
-
const
|
|
61850
|
-
return l(
|
|
61867
|
+
const W = "Blocked profanity.";
|
|
61868
|
+
return l(W), { error: W };
|
|
61851
61869
|
}
|
|
61852
61870
|
}
|
|
61853
61871
|
if (!e.data.vertical && !e.data.allowNewlines && (d.includes(`
|
|
@@ -62302,7 +62320,7 @@ function eL() {
|
|
|
62302
62320
|
function t(i, a, s, o, l, u, c, h, f, d) {
|
|
62303
62321
|
var g = d * (i - s) / 2 + f * (a - o) / 2, v = -f * (i - s) / 2 + d * (a - o) / 2, y = c * c, A = h * h, x = g * g, k = v * v, T = y * A - y * k - A * x;
|
|
62304
62322
|
T < 0 && (T = 0), T /= y * k + A * x, T = Math.sqrt(T) * (l === u ? -1 : 1);
|
|
62305
|
-
var S = T * c / h * v, R = T * -h / c * g, B = d * S - f * R + (i + s) / 2, G = f * S + d * R + (a + o) / 2, $ = (g - S) / c, ie = (v - R) / h,
|
|
62323
|
+
var S = T * c / h * v, R = T * -h / c * g, B = d * S - f * R + (i + s) / 2, G = f * S + d * R + (a + o) / 2, $ = (g - S) / c, ie = (v - R) / h, W = (-g - S) / c, Y = (-v - R) / h, X = e(1, 0, $, ie), oe = e($, ie, W, Y);
|
|
62306
62324
|
return u === 0 && oe > 0 && (oe -= r), u === 1 && oe < 0 && (oe += r), [B, G, X, oe];
|
|
62307
62325
|
}
|
|
62308
62326
|
function n(i, a) {
|
|
@@ -62324,9 +62342,9 @@ function eL() {
|
|
|
62324
62342
|
T.push(n(S, R)), S += R;
|
|
62325
62343
|
return T.map(function($) {
|
|
62326
62344
|
for (var ie = 0; ie < $.length; ie += 2) {
|
|
62327
|
-
var
|
|
62328
|
-
|
|
62329
|
-
var X = v *
|
|
62345
|
+
var W = $[ie + 0], Y = $[ie + 1];
|
|
62346
|
+
W *= h, Y *= f;
|
|
62347
|
+
var X = v * W - g * Y, oe = g * W + v * Y;
|
|
62330
62348
|
$[ie + 0] = X + k[0], $[ie + 1] = oe + k[1];
|
|
62331
62349
|
}
|
|
62332
62350
|
return $;
|
|
@@ -62687,7 +62705,7 @@ class lL extends G7 {
|
|
|
62687
62705
|
const G = pa("g");
|
|
62688
62706
|
G.classList.add("module-layer2"), k.appendChild(G), G.setAttribute("fill", "rgb(255,209,0)"), G.setAttribute("transform", "translate(1,-0.1)"), G.innerHTML = o;
|
|
62689
62707
|
const $ = pa("g");
|
|
62690
|
-
return $.classList.add("module-layer3"), k.appendChild($), $.setAttribute("fill", "white"), $.innerHTML = o, new J7(k).transform(([
|
|
62708
|
+
return $.classList.add("module-layer3"), k.appendChild($), $.setAttribute("fill", "white"), $.innerHTML = o, new J7(k).transform(([W, Y]) => [W, Y + (u / 2 - W) ** 2 / (u * 6)]), k;
|
|
62691
62709
|
}, f = pa("g");
|
|
62692
62710
|
f.classList.add("module-root");
|
|
62693
62711
|
const d = pa("defs");
|
|
@@ -65710,45 +65728,99 @@ class vU extends Wi {
|
|
|
65710
65728
|
}
|
|
65711
65729
|
async selectVariant() {
|
|
65712
65730
|
}
|
|
65731
|
+
async getAvailableVariants() {
|
|
65732
|
+
const e = await super.getAvailableVariants();
|
|
65733
|
+
if (!this.cachedProductIds) {
|
|
65734
|
+
this.cachedProductIds = /* @__PURE__ */ new Set();
|
|
65735
|
+
for (const t of e) {
|
|
65736
|
+
const n = t.getProduct();
|
|
65737
|
+
n?.id && this.cachedProductIds.add(n.id);
|
|
65738
|
+
}
|
|
65739
|
+
}
|
|
65740
|
+
return e;
|
|
65741
|
+
}
|
|
65742
|
+
/**
|
|
65743
|
+
* Whether a product's variant has an associated workflow (is personalisable).
|
|
65744
|
+
*/
|
|
65745
|
+
isPersonalisable(e) {
|
|
65746
|
+
const t = e.getProduct();
|
|
65747
|
+
return !!t?.workflows && t.workflows.length > 0;
|
|
65748
|
+
}
|
|
65713
65749
|
async addProduct(e) {
|
|
65714
65750
|
const t = this.manager.getWorkflowExperience().getBundle();
|
|
65715
65751
|
if (!t)
|
|
65716
65752
|
throw new Error("Product step requires bundle context");
|
|
65717
65753
|
const n = e.getProduct();
|
|
65718
65754
|
if (!n)
|
|
65719
|
-
throw new Error("Variant has no product");
|
|
65755
|
+
throw new Error("Variant has no product. Ensure the option query includes the product field on variants.");
|
|
65756
|
+
if (!this.isPersonalisable(e)) {
|
|
65757
|
+
await this.incrementNonPersonalisable(e);
|
|
65758
|
+
return;
|
|
65759
|
+
}
|
|
65720
65760
|
const i = this.manager.getWorkflowExperience().getTransaction(), a = i.integrationProduct?.integration?.id;
|
|
65721
65761
|
let s;
|
|
65722
65762
|
if (a && n.integrationProducts && (s = n.integrationProducts.find(
|
|
65723
|
-
(
|
|
65763
|
+
(f) => f.integration?.id === a
|
|
65724
65764
|
)?.id), !s)
|
|
65725
65765
|
throw new Error("No integration product found for bundle context");
|
|
65726
|
-
const o = this.manager.getClient();
|
|
65727
|
-
|
|
65728
|
-
|
|
65729
|
-
|
|
65730
|
-
|
|
65731
|
-
|
|
65732
|
-
|
|
65733
|
-
|
|
65734
|
-
if (u.length === 1)
|
|
65735
|
-
c = u[0].id;
|
|
65736
|
-
else if (u.length > 1) {
|
|
65737
|
-
const f = this.step.data.workflows, d = u.find((g) => f.includes(g.id));
|
|
65738
|
-
if (d)
|
|
65739
|
-
c = d.id;
|
|
65766
|
+
const o = this.manager.getClient(), l = n?.workflows || [];
|
|
65767
|
+
let u;
|
|
65768
|
+
if (l.length === 1)
|
|
65769
|
+
u = l[0].id;
|
|
65770
|
+
else if (l.length > 1) {
|
|
65771
|
+
const h = this.step.data.workflows, f = l.find((d) => h.includes(d.id));
|
|
65772
|
+
if (f)
|
|
65773
|
+
u = f.id;
|
|
65740
65774
|
else
|
|
65741
65775
|
throw new Error("Multiple workflows available but none match step configuration");
|
|
65742
65776
|
}
|
|
65743
|
-
|
|
65744
|
-
throw new Error("No workflow available for product");
|
|
65745
|
-
const h = await o.getWorkflowExperience({
|
|
65777
|
+
const c = await o.getWorkflowExperience({
|
|
65746
65778
|
type: "integration",
|
|
65747
65779
|
integrationProductId: s,
|
|
65748
|
-
workflowId:
|
|
65780
|
+
workflowId: u,
|
|
65749
65781
|
parentTransactionId: i.id
|
|
65750
65782
|
});
|
|
65751
|
-
await t.addWorkflowExperience(
|
|
65783
|
+
await t.addWorkflowExperience(c);
|
|
65784
|
+
}
|
|
65785
|
+
/**
|
|
65786
|
+
* For non-personalisable products: if a transaction already exists for this product,
|
|
65787
|
+
* increment its quantity. Otherwise create a new transaction with quantity 1.
|
|
65788
|
+
*/
|
|
65789
|
+
async incrementNonPersonalisable(e) {
|
|
65790
|
+
const t = this.manager.getWorkflowExperience().getBundle();
|
|
65791
|
+
if (!t) return;
|
|
65792
|
+
const n = e.getProduct(), i = this.findExperienceForProduct(n.id);
|
|
65793
|
+
if (i) {
|
|
65794
|
+
const c = i.getTransaction().quantity || 1;
|
|
65795
|
+
await i.setQuantity(c + 1);
|
|
65796
|
+
return;
|
|
65797
|
+
}
|
|
65798
|
+
const a = this.manager.getWorkflowExperience().getTransaction(), s = a.integrationProduct?.integration?.id;
|
|
65799
|
+
let o;
|
|
65800
|
+
if (s && n.integrationProducts && (o = n.integrationProducts.find(
|
|
65801
|
+
(h) => h.integration?.id === s
|
|
65802
|
+
)?.id), !o)
|
|
65803
|
+
throw new Error("No integration product found for bundle context");
|
|
65804
|
+
const u = await this.manager.getClient().getWorkflowExperience({
|
|
65805
|
+
type: "integration",
|
|
65806
|
+
integrationProductId: o,
|
|
65807
|
+
parentTransactionId: a.id
|
|
65808
|
+
});
|
|
65809
|
+
await t.addWorkflowExperience(u);
|
|
65810
|
+
}
|
|
65811
|
+
async removeProduct(e) {
|
|
65812
|
+
const t = this.manager.getWorkflowExperience().getBundle();
|
|
65813
|
+
if (!t)
|
|
65814
|
+
throw new Error("Product step requires bundle context");
|
|
65815
|
+
const i = t.getWorkflowExperiences().find((o) => o.getTransaction().id === e);
|
|
65816
|
+
if (!i)
|
|
65817
|
+
throw new Error("Transaction is not a child of this product step");
|
|
65818
|
+
const a = i.getTransaction(), s = a.quantity || 1;
|
|
65819
|
+
if (s > 1) {
|
|
65820
|
+
await i.setQuantity(s - 1);
|
|
65821
|
+
return;
|
|
65822
|
+
}
|
|
65823
|
+
await t.removeWorkflowExperienceByTransaction(a);
|
|
65752
65824
|
}
|
|
65753
65825
|
/**
|
|
65754
65826
|
* Whether category filtering is enabled.
|
|
@@ -65787,29 +65859,45 @@ class vU extends Wi {
|
|
|
65787
65859
|
return this.step.data.workflows || [];
|
|
65788
65860
|
}
|
|
65789
65861
|
/**
|
|
65790
|
-
* Get child transactions that belong to this
|
|
65791
|
-
*
|
|
65862
|
+
* Get child transactions that belong to this step specifically.
|
|
65863
|
+
* Filters by parent transaction AND by products available in this step's option.
|
|
65792
65864
|
*/
|
|
65793
65865
|
getChildTransactions() {
|
|
65794
65866
|
const e = this.manager.getWorkflowExperience().getBundle();
|
|
65795
65867
|
if (!e)
|
|
65796
65868
|
return [];
|
|
65797
|
-
const t = this.manager.getWorkflowExperience().getTransaction().id;
|
|
65798
|
-
return
|
|
65869
|
+
const t = this.manager.getWorkflowExperience().getTransaction().id, n = e.getWorkflowExperiences(), i = this.getStepProductIds();
|
|
65870
|
+
return n.map((a) => a.getTransaction()).filter((a) => a.parentTransaction?.id !== t || i.size === 0 ? !1 : a.product?.id ? i.has(a.product.id) : !1);
|
|
65799
65871
|
}
|
|
65800
65872
|
/**
|
|
65801
|
-
*
|
|
65802
|
-
*
|
|
65803
|
-
* @throws Error if the transaction is not a child of this transaction.
|
|
65873
|
+
* Get the set of product IDs that belong to this step's option.
|
|
65874
|
+
* Uses cached data from getAvailableVariants() which has full product info.
|
|
65804
65875
|
*/
|
|
65805
|
-
|
|
65876
|
+
getStepProductIds() {
|
|
65877
|
+
if (this.cachedProductIds && this.cachedProductIds.size > 0)
|
|
65878
|
+
return this.cachedProductIds;
|
|
65879
|
+
const e = this.step.option?.variants || [], t = /* @__PURE__ */ new Set();
|
|
65880
|
+
for (const n of e)
|
|
65881
|
+
n.product?.id && t.add(n.product.id);
|
|
65882
|
+
return t;
|
|
65883
|
+
}
|
|
65884
|
+
/**
|
|
65885
|
+
* Get locked add-ons configured on this product step.
|
|
65886
|
+
*/
|
|
65887
|
+
getLockedAddOns() {
|
|
65888
|
+
return this.step.data.lockedAddOns || [];
|
|
65889
|
+
}
|
|
65890
|
+
/**
|
|
65891
|
+
* Find an existing WorkflowExperience for a given product ID within this step's children.
|
|
65892
|
+
*/
|
|
65893
|
+
findExperienceForProduct(e) {
|
|
65806
65894
|
const t = this.manager.getWorkflowExperience().getBundle();
|
|
65807
|
-
if (!t)
|
|
65808
|
-
|
|
65809
|
-
|
|
65810
|
-
|
|
65811
|
-
|
|
65812
|
-
|
|
65895
|
+
if (!t) return;
|
|
65896
|
+
const n = this.manager.getWorkflowExperience().getTransaction().id, i = this.getStepProductIds();
|
|
65897
|
+
return t.getWorkflowExperiences().find((a) => {
|
|
65898
|
+
const s = a.getTransaction();
|
|
65899
|
+
return s.parentTransaction?.id !== n || i.size > 0 && !i.has(e) ? !1 : s.product?.id === e;
|
|
65900
|
+
});
|
|
65813
65901
|
}
|
|
65814
65902
|
}
|
|
65815
65903
|
class wp {
|
|
@@ -65922,7 +66010,7 @@ function yU() {
|
|
|
65922
66010
|
function ie(se) {
|
|
65923
66011
|
return !!se && typeof se == "object";
|
|
65924
66012
|
}
|
|
65925
|
-
function
|
|
66013
|
+
function W(se) {
|
|
65926
66014
|
return typeof se == "symbol" || ie(se) && g.call(se) == s;
|
|
65927
66015
|
}
|
|
65928
66016
|
function Y(se) {
|
|
@@ -65941,7 +66029,7 @@ function yU() {
|
|
|
65941
66029
|
function oe(se) {
|
|
65942
66030
|
if (typeof se == "number")
|
|
65943
66031
|
return se;
|
|
65944
|
-
if (
|
|
66032
|
+
if (W(se))
|
|
65945
66033
|
return n;
|
|
65946
66034
|
if ($(se)) {
|
|
65947
66035
|
var he = typeof se.valueOf == "function" ? se.valueOf() : se;
|
|
@@ -66089,7 +66177,7 @@ const xU = async (r, e) => {
|
|
|
66089
66177
|
}
|
|
66090
66178
|
return i;
|
|
66091
66179
|
}, SU = (r, e, t, n, i, a, s, o) => {
|
|
66092
|
-
const l = e.basePrice || 0, u = r.priceModifierTotal || 0, c = CU(n, t, void 0, a), f = (
|
|
66180
|
+
const l = e.basePrice || 0, u = r.priceModifierTotal || 0, c = CU(n, t, void 0, a), f = (Cr.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(r.id), d = {
|
|
66093
66181
|
additionalExternalProductId: r.integrationProduct?.additionalExternalProductId,
|
|
66094
66182
|
additionalExternalVariantId: r.integrationProduct?.additionalExternalVariantId,
|
|
66095
66183
|
baseCost: l,
|
|
@@ -66118,13 +66206,13 @@ const xU = async (r, e) => {
|
|
|
66118
66206
|
let G = 0;
|
|
66119
66207
|
if (Object.keys(a).length > 0)
|
|
66120
66208
|
for (const $ of Object.keys(a)) {
|
|
66121
|
-
const ie = a[$],
|
|
66209
|
+
const ie = a[$], W = e.steps.find((Y) => Y.stepName === $);
|
|
66122
66210
|
for (let Y = 0; Y < ie.selections.length; ++Y) {
|
|
66123
66211
|
const X = ie.selections[Y];
|
|
66124
|
-
if (
|
|
66125
|
-
const oe = await ft.getOptionForStep(
|
|
66126
|
-
if (!R || oe && (oe.variants || []).length > 1 && !
|
|
66127
|
-
const se =
|
|
66212
|
+
if (W) {
|
|
66213
|
+
const oe = await ft.getOptionForStep(W);
|
|
66214
|
+
if (!R || oe && (oe.variants || []).length > 1 && !W.data.hideSelectionInCart && !W.data.hideSelectionsInCart) {
|
|
66215
|
+
const se = W.stepTitle;
|
|
66128
66216
|
B[se] ? B[se].push({
|
|
66129
66217
|
id: X.id || "",
|
|
66130
66218
|
name: X.name,
|
|
@@ -66271,7 +66359,7 @@ class kU {
|
|
|
66271
66359
|
*/
|
|
66272
66360
|
async getSavedDesigns() {
|
|
66273
66361
|
if (this.storageMethod === "Local") {
|
|
66274
|
-
const e =
|
|
66362
|
+
const e = Cr.get(this.localPersistenceKey);
|
|
66275
66363
|
return e ? JSON.parse(e) : [];
|
|
66276
66364
|
}
|
|
66277
66365
|
throw new un("Unexpected storage method requested");
|
|
@@ -66311,7 +66399,7 @@ class kU {
|
|
|
66311
66399
|
}
|
|
66312
66400
|
async setDesigns(e) {
|
|
66313
66401
|
if (this.storageMethod === "Local") {
|
|
66314
|
-
|
|
66402
|
+
Cr.set(this.localPersistenceKey, JSON.stringify(e));
|
|
66315
66403
|
return;
|
|
66316
66404
|
}
|
|
66317
66405
|
throw new un("Unexpected storage method requested");
|
|
@@ -66326,16 +66414,16 @@ function FU() {
|
|
|
66326
66414
|
return c.Date.now();
|
|
66327
66415
|
};
|
|
66328
66416
|
function y(S, R, B) {
|
|
66329
|
-
var G, $, ie,
|
|
66417
|
+
var G, $, ie, W, Y, X, oe = 0, se = !1, he = !1, ye = !0;
|
|
66330
66418
|
if (typeof S != "function")
|
|
66331
66419
|
throw new TypeError(r);
|
|
66332
66420
|
R = T(R) || 0, A(B) && (se = !!B.leading, he = "maxWait" in B, ie = he ? d(T(B.maxWait) || 0, R) : ie, ye = "trailing" in B ? !!B.trailing : ye);
|
|
66333
66421
|
function Ue(je) {
|
|
66334
66422
|
var qe = G, Ge = $;
|
|
66335
|
-
return G = $ = void 0, oe = je,
|
|
66423
|
+
return G = $ = void 0, oe = je, W = S.apply(Ge, qe), W;
|
|
66336
66424
|
}
|
|
66337
66425
|
function Re(je) {
|
|
66338
|
-
return oe = je, Y = setTimeout(re, R), se ? Ue(je) :
|
|
66426
|
+
return oe = je, Y = setTimeout(re, R), se ? Ue(je) : W;
|
|
66339
66427
|
}
|
|
66340
66428
|
function Oe(je) {
|
|
66341
66429
|
var qe = je - X, Ge = je - oe, bt = R - qe;
|
|
@@ -66352,13 +66440,13 @@ function FU() {
|
|
|
66352
66440
|
Y = setTimeout(re, Oe(je));
|
|
66353
66441
|
}
|
|
66354
66442
|
function de(je) {
|
|
66355
|
-
return Y = void 0, ye && G ? Ue(je) : (G = $ = void 0,
|
|
66443
|
+
return Y = void 0, ye && G ? Ue(je) : (G = $ = void 0, W);
|
|
66356
66444
|
}
|
|
66357
66445
|
function Be() {
|
|
66358
66446
|
Y !== void 0 && clearTimeout(Y), oe = 0, G = X = $ = Y = void 0;
|
|
66359
66447
|
}
|
|
66360
66448
|
function Ee() {
|
|
66361
|
-
return Y === void 0 ?
|
|
66449
|
+
return Y === void 0 ? W : de(v());
|
|
66362
66450
|
}
|
|
66363
66451
|
function ze() {
|
|
66364
66452
|
var je = v(), qe = ee(je);
|
|
@@ -66368,7 +66456,7 @@ function FU() {
|
|
|
66368
66456
|
if (he)
|
|
66369
66457
|
return Y = setTimeout(re, R), Ue(X);
|
|
66370
66458
|
}
|
|
66371
|
-
return Y === void 0 && (Y = setTimeout(re, R)),
|
|
66459
|
+
return Y === void 0 && (Y = setTimeout(re, R)), W;
|
|
66372
66460
|
}
|
|
66373
66461
|
return ze.cancel = Be, ze.flush = Ee, ze;
|
|
66374
66462
|
}
|
|
@@ -66884,8 +66972,8 @@ class OU {
|
|
|
66884
66972
|
}
|
|
66885
66973
|
assignCustomerInternal(e) {
|
|
66886
66974
|
this.getWorkflowManager().setTransactionCustomer(e);
|
|
66887
|
-
const t =
|
|
66888
|
-
t.set(this.getTransaction().id, e.id),
|
|
66975
|
+
const t = Cr.getMap("transactionCustomerIds") || /* @__PURE__ */ new Map();
|
|
66976
|
+
t.set(this.getTransaction().id, e.id), Cr.setMap("transactionCustomerIds", t);
|
|
66889
66977
|
}
|
|
66890
66978
|
attachRenderableSceneListener(e) {
|
|
66891
66979
|
this.renderableSceneCallbacks.push(e), e(this.renderableScenes);
|
|
@@ -67662,11 +67750,11 @@ Gf.exports;
|
|
|
67662
67750
|
var iE;
|
|
67663
67751
|
function zU() {
|
|
67664
67752
|
return iE || (iE = 1, (function(r, e) {
|
|
67665
|
-
var t = 200, n = "Expected a function", i = "__lodash_hash_undefined__", a = 500, s = 1, o = 2, l = 4, u = 800, c = 16, h = 9007199254740991, f = "[object Arguments]", d = "[object Array]", g = "[object AsyncFunction]", v = "[object Boolean]", y = "[object Date]", A = "[object Error]", x = "[object Function]", k = "[object GeneratorFunction]", T = "[object Map]", S = "[object Number]", R = "[object Null]", B = "[object Object]", G = "[object Promise]", $ = "[object Proxy]", ie = "[object RegExp]",
|
|
67666
|
-
St[Ue] = St[Re] = St[Oe] = St[ee] = St[re] = St[de] = St[Be] = St[Ee] = St[ze] = !0, St[f] = St[d] = St[he] = St[v] = St[ye] = St[y] = St[A] = St[x] = St[T] = St[S] = St[B] = St[ie] = St[
|
|
67753
|
+
var t = 200, n = "Expected a function", i = "__lodash_hash_undefined__", a = 500, s = 1, o = 2, l = 4, u = 800, c = 16, h = 9007199254740991, f = "[object Arguments]", d = "[object Array]", g = "[object AsyncFunction]", v = "[object Boolean]", y = "[object Date]", A = "[object Error]", x = "[object Function]", k = "[object GeneratorFunction]", T = "[object Map]", S = "[object Number]", R = "[object Null]", B = "[object Object]", G = "[object Promise]", $ = "[object Proxy]", ie = "[object RegExp]", W = "[object Set]", Y = "[object String]", X = "[object Symbol]", oe = "[object Undefined]", se = "[object WeakMap]", he = "[object ArrayBuffer]", ye = "[object DataView]", Ue = "[object Float32Array]", Re = "[object Float64Array]", Oe = "[object Int8Array]", ee = "[object Int16Array]", re = "[object Int32Array]", de = "[object Uint8Array]", Be = "[object Uint8ClampedArray]", Ee = "[object Uint16Array]", ze = "[object Uint32Array]", je = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, qe = /^\w*$/, Ge = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, bt = /[\\^$.*+?()[\]{}|]/g, rr = /\\(\\)?/g, Pr = /\w*$/, $t = /^\[object .+?Constructor\]$/, ar = /^(?:0|[1-9]\d*)$/, St = {};
|
|
67754
|
+
St[Ue] = St[Re] = St[Oe] = St[ee] = St[re] = St[de] = St[Be] = St[Ee] = St[ze] = !0, St[f] = St[d] = St[he] = St[v] = St[ye] = St[y] = St[A] = St[x] = St[T] = St[S] = St[B] = St[ie] = St[W] = St[Y] = St[se] = !1;
|
|
67667
67755
|
var st = {};
|
|
67668
|
-
st[f] = st[d] = st[he] = st[ye] = st[v] = st[y] = st[Ue] = st[Re] = st[Oe] = st[ee] = st[re] = st[T] = st[S] = st[B] = st[ie] = st[
|
|
67669
|
-
var Qr = typeof ci == "object" && ci && ci.Object === Object && ci,
|
|
67756
|
+
st[f] = st[d] = st[he] = st[ye] = st[v] = st[y] = st[Ue] = st[Re] = st[Oe] = st[ee] = st[re] = st[T] = st[S] = st[B] = st[ie] = st[W] = st[Y] = st[X] = st[de] = st[Be] = st[Ee] = st[ze] = !0, st[A] = st[x] = st[se] = !1;
|
|
67757
|
+
var Qr = typeof ci == "object" && ci && ci.Object === Object && ci, Sr = typeof self == "object" && self && self.Object === Object && self, gr = Qr || Sr || Function("return this")(), nr = e && !e.nodeType && e, fr = nr && !0 && r && !r.nodeType && r, Yt = fr && fr.exports === nr, Xt = Yt && Qr.process, mt = (function() {
|
|
67670
67758
|
try {
|
|
67671
67759
|
var L = fr && fr.require && fr.require("util").types;
|
|
67672
67760
|
return L || Xt && Xt.binding && Xt.binding("util");
|
|
@@ -67726,11 +67814,11 @@ function zU() {
|
|
|
67726
67814
|
return L(te(le));
|
|
67727
67815
|
};
|
|
67728
67816
|
}
|
|
67729
|
-
var en = Array.prototype, Hr = Function.prototype, zt = Object.prototype, sr = gr["__core-js_shared__"],
|
|
67817
|
+
var en = Array.prototype, Hr = Function.prototype, zt = Object.prototype, sr = gr["__core-js_shared__"], Er = Hr.toString, tt = zt.hasOwnProperty, Nr = (function() {
|
|
67730
67818
|
var L = /[^.]+$/.exec(sr && sr.keys && sr.keys.IE_PROTO || "");
|
|
67731
67819
|
return L ? "Symbol(src)_1." + L : "";
|
|
67732
|
-
})(), Xr = zt.toString, Se =
|
|
67733
|
-
"^" +
|
|
67820
|
+
})(), Xr = zt.toString, Se = Er.call(Object), P = RegExp(
|
|
67821
|
+
"^" + Er.call(tt).replace(bt, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
67734
67822
|
), U = Yt ? gr.Buffer : void 0, J = gr.Symbol, ue = gr.Uint8Array;
|
|
67735
67823
|
U && U.allocUnsafe;
|
|
67736
67824
|
var Te = zr(Object.getPrototypeOf, Object), We = zt.propertyIsEnumerable, wt = en.splice, It = J ? J.isConcatSpreadable : void 0, Nt = J ? J.toStringTag : void 0, or = (function() {
|
|
@@ -67954,7 +68042,7 @@ function zU() {
|
|
|
67954
68042
|
return te.test(hi(L));
|
|
67955
68043
|
}
|
|
67956
68044
|
function Mn(L) {
|
|
67957
|
-
return zi(L) && fe(L) ==
|
|
68045
|
+
return zi(L) && fe(L) == W;
|
|
67958
68046
|
}
|
|
67959
68047
|
function Oi(L) {
|
|
67960
68048
|
return zi(L) && ps(L.length) && !!St[vn(L)];
|
|
@@ -67987,7 +68075,7 @@ function zU() {
|
|
|
67987
68075
|
return L;
|
|
67988
68076
|
if (ki(L))
|
|
67989
68077
|
return Zr(L, Ei) + "";
|
|
67990
|
-
if (
|
|
68078
|
+
if (Q(L))
|
|
67991
68079
|
return wn ? wn.call(L) : "";
|
|
67992
68080
|
var te = L + "";
|
|
67993
68081
|
return te == "0" && 1 / L == -1 / 0 ? "-0" : te;
|
|
@@ -68075,7 +68163,7 @@ function zU() {
|
|
|
68075
68163
|
Vr(te, M(L)), L = Te(L);
|
|
68076
68164
|
return te;
|
|
68077
68165
|
} : qt, fe = vn;
|
|
68078
|
-
(Ye && fe(new Ye(new ArrayBuffer(1))) != ye || xt && fe(new xt()) != T || dt && fe(dt.resolve()) != G || Dt && fe(new Dt()) !=
|
|
68166
|
+
(Ye && fe(new Ye(new ArrayBuffer(1))) != ye || xt && fe(new xt()) != T || dt && fe(dt.resolve()) != G || Dt && fe(new Dt()) != W || Et && fe(new Et()) != se) && (fe = function(L) {
|
|
68079
68167
|
var te = vn(L), le = te == B ? L.constructor : void 0, Ve = le ? hi(le) : "";
|
|
68080
68168
|
if (Ve)
|
|
68081
68169
|
switch (Ve) {
|
|
@@ -68086,7 +68174,7 @@ function zU() {
|
|
|
68086
68174
|
case Ht:
|
|
68087
68175
|
return G;
|
|
68088
68176
|
case On:
|
|
68089
|
-
return
|
|
68177
|
+
return W;
|
|
68090
68178
|
case Tn:
|
|
68091
68179
|
return se;
|
|
68092
68180
|
}
|
|
@@ -68123,7 +68211,7 @@ function zU() {
|
|
|
68123
68211
|
return new Ve(L);
|
|
68124
68212
|
case ie:
|
|
68125
68213
|
return bi(L);
|
|
68126
|
-
case
|
|
68214
|
+
case W:
|
|
68127
68215
|
return new Ve();
|
|
68128
68216
|
case X:
|
|
68129
68217
|
return I(L);
|
|
@@ -68140,7 +68228,7 @@ function zU() {
|
|
|
68140
68228
|
if (ki(L))
|
|
68141
68229
|
return !1;
|
|
68142
68230
|
var le = typeof L;
|
|
68143
|
-
return le == "number" || le == "symbol" || le == "boolean" || L == null ||
|
|
68231
|
+
return le == "number" || le == "symbol" || le == "boolean" || L == null || Q(L) ? !0 : qe.test(L) || !je.test(L) || te != null && L in Object(te);
|
|
68144
68232
|
}
|
|
68145
68233
|
function Pt(L) {
|
|
68146
68234
|
var te = typeof L;
|
|
@@ -68202,7 +68290,7 @@ function zU() {
|
|
|
68202
68290
|
}), te;
|
|
68203
68291
|
});
|
|
68204
68292
|
function Ki(L) {
|
|
68205
|
-
if (typeof L == "string" ||
|
|
68293
|
+
if (typeof L == "string" || Q(L))
|
|
68206
68294
|
return L;
|
|
68207
68295
|
var te = L + "";
|
|
68208
68296
|
return te == "0" && 1 / L == -1 / 0 ? "-0" : te;
|
|
@@ -68210,7 +68298,7 @@ function zU() {
|
|
|
68210
68298
|
function hi(L) {
|
|
68211
68299
|
if (L != null) {
|
|
68212
68300
|
try {
|
|
68213
|
-
return
|
|
68301
|
+
return Er.call(L);
|
|
68214
68302
|
} catch {
|
|
68215
68303
|
}
|
|
68216
68304
|
try {
|
|
@@ -68277,10 +68365,10 @@ function zU() {
|
|
|
68277
68365
|
if (te === null)
|
|
68278
68366
|
return !0;
|
|
68279
68367
|
var le = tt.call(te, "constructor") && te.constructor;
|
|
68280
|
-
return typeof le == "function" && le instanceof le &&
|
|
68368
|
+
return typeof le == "function" && le instanceof le && Er.call(le) == Se;
|
|
68281
68369
|
}
|
|
68282
68370
|
var V = an ? gn(an) : Mn;
|
|
68283
|
-
function
|
|
68371
|
+
function Q(L) {
|
|
68284
68372
|
return typeof L == "symbol" || zi(L) && vn(L) == X;
|
|
68285
68373
|
}
|
|
68286
68374
|
var Ae = _r ? gn(_r) : Oi;
|
|
@@ -69429,7 +69517,7 @@ class sE {
|
|
|
69429
69517
|
throw new Error(
|
|
69430
69518
|
"Unable to add transaction to bundle - Already Exists: " + n.filter((o) => !!o).map((o) => o?.getTransaction().id).join(", ")
|
|
69431
69519
|
);
|
|
69432
|
-
const i =
|
|
69520
|
+
const i = Cr.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map(), a = t.map((o) => i.get(o));
|
|
69433
69521
|
await $e.getShadowGraphqlClient().mutate({
|
|
69434
69522
|
mutation: _L,
|
|
69435
69523
|
variables: {
|
|
@@ -69458,7 +69546,7 @@ class sE {
|
|
|
69458
69546
|
async appendWorkflowExperience(e, t = !0) {
|
|
69459
69547
|
const n = e.getTransaction().id;
|
|
69460
69548
|
if (this.workflowExperiences.find((o) => o.getTransaction().id === n)) throw new Error("Unable to add transaction to bundle - Already Exists!");
|
|
69461
|
-
const s = (
|
|
69549
|
+
const s = (Cr.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(n);
|
|
69462
69550
|
await $e.getShadowGraphqlClient().mutate({
|
|
69463
69551
|
mutation: ML,
|
|
69464
69552
|
variables: {
|
|
@@ -69581,6 +69669,14 @@ class sE {
|
|
|
69581
69669
|
getWorkflowExperiences() {
|
|
69582
69670
|
return [...this.workflowExperiences];
|
|
69583
69671
|
}
|
|
69672
|
+
getTopLevelWorkflowExperiences() {
|
|
69673
|
+
return console.log(`log: getting top level experiences: ${this.workflowExperiences}`), this.workflowExperiences.filter((e) => (console.log(`log: checking transaction ${e.getTransaction().id}, parent is ${e.getTransaction().parentTransaction}`), !e.getTransaction().parentTransaction));
|
|
69674
|
+
}
|
|
69675
|
+
getChildWorkflowExperiences(e) {
|
|
69676
|
+
return this.workflowExperiences.filter(
|
|
69677
|
+
(t) => t.getTransaction().parentTransaction?.id === e
|
|
69678
|
+
);
|
|
69679
|
+
}
|
|
69584
69680
|
async sortWorkflowExperiences(e) {
|
|
69585
69681
|
this.workflowExperiences = this.workflowExperiences.sort(e), await this.updateTransactionOrder();
|
|
69586
69682
|
}
|
|
@@ -71409,7 +71505,7 @@ class SV extends CV {
|
|
|
71409
71505
|
});
|
|
71410
71506
|
}
|
|
71411
71507
|
async loadEventStreamCapability() {
|
|
71412
|
-
const { EventStreamSerde: e } = await import("./index-
|
|
71508
|
+
const { EventStreamSerde: e } = await import("./index-CQXpcFkA.js");
|
|
71413
71509
|
return new e({
|
|
71414
71510
|
marshaller: this.getEventStreamMarshaller(),
|
|
71415
71511
|
serializer: this.serializer,
|
|
@@ -78972,7 +79068,7 @@ class LQ {
|
|
|
78972
79068
|
} catch (n) {
|
|
78973
79069
|
throw console.error(n), new lo("Critical - Unable to synchronize workflow state with server.");
|
|
78974
79070
|
}
|
|
78975
|
-
}, this.options = e, this.options.applicationKey && X4(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 42.
|
|
79071
|
+
}, this.options = e, this.options.applicationKey && X4(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 42.1.1"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
78976
79072
|
}
|
|
78977
79073
|
configure(e) {
|
|
78978
79074
|
mo.setHubUrl(e.hubUrl), mo.setServerUrl(e.serverUrl), mo.setServicesApiUrl(e.servicesApiUrl), this.marketplaceThemeInstallId = e.marketplaceThemeInstallId, this.marketplaceThemeInstallConfigurationId = e.marketplaceThemeInstallConfigurationId, this.userPoolClientId = e.userPoolClientId, this.userPoolRegion = e.userPoolRegion, this.spiffRegion = e.spiffRegion, e.bearerAuthenticationToken && K4(e.bearerAuthenticationToken), this.options.applicationKey && this.getIntegration(), this.spiffRegion && this.userPoolRegion && this.userPoolClientId && Of.init(this.spiffRegion, this.userPoolRegion, this.userPoolClientId);
|
|
@@ -79024,8 +79120,8 @@ class LQ {
|
|
|
79024
79120
|
this.customer = void 0;
|
|
79025
79121
|
}
|
|
79026
79122
|
clearCustomerForTransaction(e) {
|
|
79027
|
-
const t =
|
|
79028
|
-
t?.has(e) && (t.delete(e),
|
|
79123
|
+
const t = Cr.getMap("transactionCustomerIds");
|
|
79124
|
+
t?.has(e) && (t.delete(e), Cr.setMap("transactionCustomerIds", t));
|
|
79029
79125
|
}
|
|
79030
79126
|
async customerHasBundleTemplates(e) {
|
|
79031
79127
|
const i = (await $e.getShadowGraphqlClient().query({
|
|
@@ -79197,10 +79293,10 @@ class LQ {
|
|
|
79197
79293
|
})).data?.bundleCreate;
|
|
79198
79294
|
if (!s?.id)
|
|
79199
79295
|
throw new Error("Unable to create bundle");
|
|
79200
|
-
const o =
|
|
79201
|
-
o.set(s.id, s.partner.id),
|
|
79202
|
-
const l =
|
|
79203
|
-
l.set(s.id, s.bundleOwnerId),
|
|
79296
|
+
const o = Cr.getMap("bundlePartnerIds") || /* @__PURE__ */ new Map();
|
|
79297
|
+
o.set(s.id, s.partner.id), Cr.setMap("bundlePartnerIds", o);
|
|
79298
|
+
const l = Cr.getMap("bundleOwnerIds") || /* @__PURE__ */ new Map();
|
|
79299
|
+
l.set(s.id, s.bundleOwnerId), Cr.setMap("bundleOwnerIds", l);
|
|
79204
79300
|
const u = new sE(this, s, void 0, void 0, s.bundleOwnerId, {
|
|
79205
79301
|
eagerFetchProducts: n?.graphql?.productCollection?.eagerFetchProducts
|
|
79206
79302
|
});
|
|
@@ -79215,7 +79311,7 @@ class LQ {
|
|
|
79215
79311
|
* @returns A bundle to be used for grouping and operating on large amounts of workflow experiences.
|
|
79216
79312
|
*/
|
|
79217
79313
|
async getExistingBundle(e, t, n, i, a) {
|
|
79218
|
-
const o =
|
|
79314
|
+
const o = Cr.getMap("bundleOwnerIds")?.get(e), l = {};
|
|
79219
79315
|
try {
|
|
79220
79316
|
const g = await this.loggedInBearerToken();
|
|
79221
79317
|
l.Authorization = `Bearer ${g}`;
|
|
@@ -79239,8 +79335,8 @@ class LQ {
|
|
|
79239
79335
|
});
|
|
79240
79336
|
if (!c.data?.bundles || c.data?.bundles.length === 0 || !c.data?.bundles[0])
|
|
79241
79337
|
throw new Error(`Unable to find bundle: ${e}`);
|
|
79242
|
-
const h = c.data?.bundles[0], f =
|
|
79243
|
-
f.set(h.id, h.partner.id),
|
|
79338
|
+
const h = c.data?.bundles[0], f = Cr.getMap("bundlePartnerIds") || /* @__PURE__ */ new Map();
|
|
79339
|
+
f.set(h.id, h.partner.id), Cr.setMap("bundlePartnerIds", f);
|
|
79244
79340
|
const d = new sE(
|
|
79245
79341
|
this,
|
|
79246
79342
|
h,
|
|
@@ -79283,10 +79379,10 @@ class LQ {
|
|
|
79283
79379
|
})).data?.bundleDuplicate;
|
|
79284
79380
|
if (!l?.id)
|
|
79285
79381
|
throw new Error("Unable to duplicate bundle");
|
|
79286
|
-
const u =
|
|
79287
|
-
u.set(l.id, l.partner.id),
|
|
79288
|
-
const c =
|
|
79289
|
-
return c.set(l.id, l.bundleOwnerId),
|
|
79382
|
+
const u = Cr.getMap("bundlePartnerIds") || /* @__PURE__ */ new Map();
|
|
79383
|
+
u.set(l.id, l.partner.id), Cr.setMap("bundlePartnerIds", u);
|
|
79384
|
+
const c = Cr.getMap("bundleOwnerIds") || /* @__PURE__ */ new Map();
|
|
79385
|
+
return c.set(l.id, l.bundleOwnerId), Cr.setMap("bundleOwnerIds", c), async () => await this.getExistingBundle(l.id, void 0, void 0, {
|
|
79290
79386
|
graphql: {
|
|
79291
79387
|
productCollection: {
|
|
79292
79388
|
eagerFetchProducts: i?.graphql?.productCollection?.eagerFetchProducts || !1
|
|
@@ -79332,10 +79428,10 @@ class LQ {
|
|
|
79332
79428
|
});
|
|
79333
79429
|
if (!e.data?.customers || e.data.customers.length === 0)
|
|
79334
79430
|
throw new Error("Unable to find customer.");
|
|
79335
|
-
const n = e.data.customers[0].bundleStakeholders || [], i =
|
|
79431
|
+
const n = e.data.customers[0].bundleStakeholders || [], i = Cr.getMap("bundlePartnerIds") || /* @__PURE__ */ new Map();
|
|
79336
79432
|
return n.forEach((a) => {
|
|
79337
79433
|
a.bundle?.id && a.bundle.partner?.id && i.set(a.bundle.id, a.bundle.partner.id);
|
|
79338
|
-
}),
|
|
79434
|
+
}), Cr.setMap("bundlePartnerIds", i), n;
|
|
79339
79435
|
}
|
|
79340
79436
|
/**
|
|
79341
79437
|
* Creates a new instance of WorkflowExperience. A high level wrapper for workflows.
|
|
@@ -79359,14 +79455,14 @@ class LQ {
|
|
|
79359
79455
|
async getWorkflowExperiences(e, t, n, i) {
|
|
79360
79456
|
if (e.length === 0)
|
|
79361
79457
|
throw new lo("No options provided!");
|
|
79362
|
-
const a = e.map((
|
|
79363
|
-
(
|
|
79458
|
+
const a = e.map((W, Y) => ({ option: W, index: Y })), s = a.filter((W) => W.option.type === "transaction"), o = a.filter(
|
|
79459
|
+
(W) => W.option.type === "integration" || W.option.type === "external" || W.option.type === "blank"
|
|
79364
79460
|
), l = 50, u = Wy(s, l), c = Wy(o, l);
|
|
79365
79461
|
let h = 0;
|
|
79366
|
-
const f = $e.getShadowGraphqlClient(), d = async (
|
|
79367
|
-
if (
|
|
79462
|
+
const f = $e.getShadowGraphqlClient(), d = async (W) => {
|
|
79463
|
+
if (W.length === 0)
|
|
79368
79464
|
return [];
|
|
79369
|
-
const Y =
|
|
79465
|
+
const Y = W.map((se) => se.option.transactionId), X = await f.query({
|
|
79370
79466
|
query: RB,
|
|
79371
79467
|
variables: {
|
|
79372
79468
|
ids: Y
|
|
@@ -79374,23 +79470,23 @@ class LQ {
|
|
|
79374
79470
|
errorPolicy: "all",
|
|
79375
79471
|
fetchPolicy: "no-cache"
|
|
79376
79472
|
}), oe = X.data.transactions;
|
|
79377
|
-
if (h = h + oe.length, i && i(h, s.length), oe.length !==
|
|
79473
|
+
if (h = h + oe.length, i && i(h, s.length), oe.length !== W.length) {
|
|
79378
79474
|
const se = X.errors?.[0]?.message || "Unknown error";
|
|
79379
79475
|
throw new lo(`Not all transactions were found: ${se}`);
|
|
79380
79476
|
}
|
|
79381
79477
|
return !this.activeIntegration && oe[0].integrationProduct?.integration && (this.activeIntegration = Promise.resolve(oe[0].integrationProduct.integration)), oe.map((se, he) => ({
|
|
79382
79478
|
transaction: se,
|
|
79383
79479
|
workflowId: se.workflowId,
|
|
79384
|
-
readOnly:
|
|
79385
|
-
index:
|
|
79480
|
+
readOnly: W.find((ye) => ye.option.transactionId === se.id)?.option.readOnly ?? !1,
|
|
79481
|
+
index: W[he].index
|
|
79386
79482
|
}));
|
|
79387
|
-
}, g = async (
|
|
79388
|
-
if (
|
|
79483
|
+
}, g = async (W) => {
|
|
79484
|
+
if (W.length === 0)
|
|
79389
79485
|
return [];
|
|
79390
79486
|
const Y = await f.mutate({
|
|
79391
79487
|
mutation: PB,
|
|
79392
79488
|
variables: {
|
|
79393
|
-
inputs:
|
|
79489
|
+
inputs: W.map((oe) => ({
|
|
79394
79490
|
integrationProductId: oe.option.type === "integration" ? oe.option.integrationProductId : void 0,
|
|
79395
79491
|
externalIntegrationId: oe.option.type === "external" ? oe.option.externalIntegrationId : void 0,
|
|
79396
79492
|
externalProductId: oe.option.type === "external" ? oe.option.externalProductId : void 0,
|
|
@@ -79405,7 +79501,8 @@ class LQ {
|
|
|
79405
79501
|
marketplaceThemeInstallConfigurationId: this.marketplaceThemeInstallConfigurationId
|
|
79406
79502
|
},
|
|
79407
79503
|
errorPolicy: "all",
|
|
79408
|
-
fetchPolicy: "no-cache"
|
|
79504
|
+
fetchPolicy: "no-cache",
|
|
79505
|
+
context: this.getCreateTransactionContext(W, t)
|
|
79409
79506
|
}), X = Y.data?.transactionCreateMany;
|
|
79410
79507
|
if (!X || X.length === 0) {
|
|
79411
79508
|
const oe = Y.errors?.[0]?.message || "Unknown error";
|
|
@@ -79415,24 +79512,27 @@ class LQ {
|
|
|
79415
79512
|
transaction: oe,
|
|
79416
79513
|
workflowId: oe.workflowId,
|
|
79417
79514
|
readOnly: !1,
|
|
79418
|
-
index:
|
|
79515
|
+
index: W[se].index
|
|
79419
79516
|
}));
|
|
79420
79517
|
}, v = (await Promise.all([
|
|
79421
79518
|
...u.map(d),
|
|
79422
79519
|
...c.map(g)
|
|
79423
79520
|
])).flat(), y = [
|
|
79424
|
-
...new Set(v.map((
|
|
79425
|
-
].filter((
|
|
79521
|
+
...new Set(v.map((W) => W.transaction.integrationProductId))
|
|
79522
|
+
].filter((W) => !!W);
|
|
79523
|
+
let A = [...new Set(v.map((W) => W.workflowId))].filter((W) => !!W);
|
|
79524
|
+
A = A.filter((W) => !!W);
|
|
79525
|
+
const [x, k] = await Promise.all([
|
|
79426
79526
|
(async () => y.length > 0 ? await xW(y) : [])(),
|
|
79427
79527
|
(async () => A.length > 0 ? await XI(A, t) : [])()
|
|
79428
|
-
]), T = new Map(x.map((
|
|
79429
|
-
const { transaction: Y, workflowId: X, readOnly: oe, index: se } =
|
|
79528
|
+
]), T = new Map(x.map((W) => [W.id, W])), S = new Map(k.map((W) => [W.id, W])), R = v.map(async (W) => {
|
|
79529
|
+
const { transaction: Y, workflowId: X, readOnly: oe, index: se } = W, he = X ? S.get(X) : void 0, ye = e[se];
|
|
79430
79530
|
if (Y.integrationProductId) {
|
|
79431
79531
|
const re = T.get(Y.integrationProductId);
|
|
79432
79532
|
Y.integrationProduct = re, Y.product = re?.product, Y.integrationProduct || console.error("failed to find transaction's product");
|
|
79433
79533
|
}
|
|
79434
|
-
const Ue =
|
|
79435
|
-
!Ue.get(Y.id) && Y.transactionOwnerId && (Ue.set(Y.id, Y.transactionOwnerId),
|
|
79534
|
+
const Ue = Cr.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map();
|
|
79535
|
+
!Ue.get(Y.id) && Y.transactionOwnerId && (Ue.set(Y.id, Y.transactionOwnerId), Cr.setMap("transactionOwnerIds", Ue));
|
|
79436
79536
|
const Re = Ue.get(Y.id) || void 0, Oe = new f9({
|
|
79437
79537
|
onMutate: () => ({ context: { transactionOwnerId: Re, bundleOwnerId: t?.bundleOwnerId } }),
|
|
79438
79538
|
onQuery: () => ({ context: { transactionOwnerId: Re, bundleOwnerId: t?.bundleOwnerId } })
|
|
@@ -79458,24 +79558,24 @@ class LQ {
|
|
|
79458
79558
|
await oS(re), ee.reloadedState = re;
|
|
79459
79559
|
}
|
|
79460
79560
|
return ee.delayWorkflowStateSync = !0, { experienceOptions: ee, index: se, options: ye };
|
|
79461
|
-
}), G = (await Promise.all(R)).sort((
|
|
79561
|
+
}), G = (await Promise.all(R)).sort((W, Y) => W.index - Y.index);
|
|
79462
79562
|
let $ = [], ie = [];
|
|
79463
|
-
for (const
|
|
79464
|
-
const { experienceOptions: Y, options: X } =
|
|
79563
|
+
for (const W of G) {
|
|
79564
|
+
const { experienceOptions: Y, options: X } = W, oe = new OU(this, Y);
|
|
79465
79565
|
await oe.getWorkflowManager().getInitializationPromise(), n && n(), X.type !== "transaction" && this.customer && ie.push(oe), $ = [...$, oe], oe.getWorkflowManager().setWorkflowStateSyncEnabled(!0);
|
|
79466
79566
|
}
|
|
79467
79567
|
if (ie.length > 0) {
|
|
79468
|
-
const
|
|
79568
|
+
const W = this.customer.emailAddress, Y = ie.map((se) => se.getTransaction().id), oe = (await f.mutate({
|
|
79469
79569
|
mutation: DU,
|
|
79470
79570
|
variables: {
|
|
79471
79571
|
ids: Y,
|
|
79472
|
-
details: { emailAddress:
|
|
79572
|
+
details: { emailAddress: W },
|
|
79473
79573
|
type: "Owner"
|
|
79474
79574
|
},
|
|
79475
79575
|
errorPolicy: "all"
|
|
79476
79576
|
})).data?.transactionsAddStakeholder;
|
|
79477
79577
|
if (oe && oe?.length > 0) {
|
|
79478
|
-
const se = oe[0].stakeholders?.find((he) => he.customer?.emailAddress ===
|
|
79578
|
+
const se = oe[0].stakeholders?.find((he) => he.customer?.emailAddress === W);
|
|
79479
79579
|
if (se?.customer)
|
|
79480
79580
|
for (const he of ie)
|
|
79481
79581
|
he.assignCustomerInternal(se.customer);
|
|
@@ -79483,9 +79583,18 @@ class LQ {
|
|
|
79483
79583
|
}
|
|
79484
79584
|
return $;
|
|
79485
79585
|
}
|
|
79586
|
+
getCreateTransactionContext(e, t) {
|
|
79587
|
+
const n = e.find((s) => s.option.parentTransactionId)?.option.parentTransactionId;
|
|
79588
|
+
if (!n && !t?.bundleOwnerId) return;
|
|
79589
|
+
const i = Cr.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map(), a = n ? i.get(n) : void 0;
|
|
79590
|
+
return {
|
|
79591
|
+
...a ? { transactionOwnerId: a } : {},
|
|
79592
|
+
...t?.bundleOwnerId ? { bundleOwnerId: t.bundleOwnerId } : {}
|
|
79593
|
+
};
|
|
79594
|
+
}
|
|
79486
79595
|
storeCustomer(e) {
|
|
79487
|
-
const t =
|
|
79488
|
-
t.set(e.partner.id, e.id),
|
|
79596
|
+
const t = Cr.getMap("partnerCustomerIds") || /* @__PURE__ */ new Map();
|
|
79597
|
+
t.set(e.partner.id, e.id), Cr.setMap("partnerCustomerIds", t);
|
|
79489
79598
|
}
|
|
79490
79599
|
async getIntegrationProductById(e, t) {
|
|
79491
79600
|
const a = (await $e.getShadowGraphqlClient().query({
|
|
@@ -79518,7 +79627,7 @@ class LQ {
|
|
|
79518
79627
|
return e.type === "integration" ? this.getIntegrationProductById(e.integrationProductId) : this.getIntegrationProductFromExternalIds(e.externalIntegrationId, e.externalProductId);
|
|
79519
79628
|
}
|
|
79520
79629
|
async getShareActionsForTransaction(e) {
|
|
79521
|
-
const n = (
|
|
79630
|
+
const n = (Cr.getMap("transactionOwnerIds") || /* @__PURE__ */ new Map()).get(e) || void 0, i = await $e.getShadowGraphqlClient().query({
|
|
79522
79631
|
query: LB,
|
|
79523
79632
|
errorPolicy: "all",
|
|
79524
79633
|
fetchPolicy: "no-cache",
|
|
@@ -79606,14 +79715,14 @@ async function JI() {
|
|
|
79606
79715
|
return r;
|
|
79607
79716
|
}
|
|
79608
79717
|
async function KI(r) {
|
|
79609
|
-
const t =
|
|
79718
|
+
const t = Cr.getMap("bundleOwnerIds")?.get(r), n = await JI();
|
|
79610
79719
|
return {
|
|
79611
79720
|
bundleOwnerId: t,
|
|
79612
79721
|
...n
|
|
79613
79722
|
};
|
|
79614
79723
|
}
|
|
79615
79724
|
async function SW(r) {
|
|
79616
|
-
const t =
|
|
79725
|
+
const t = Cr.getMap("transactionOwnerIds")?.get(r), n = await JI();
|
|
79617
79726
|
return {
|
|
79618
79727
|
transactionOwnerId: t,
|
|
79619
79728
|
...n
|
|
@@ -80979,7 +81088,7 @@ export {
|
|
|
80979
81088
|
wQ as bN,
|
|
80980
81089
|
oY as bO,
|
|
80981
81090
|
oo as bP,
|
|
80982
|
-
|
|
81091
|
+
Cr as bQ,
|
|
80983
81092
|
MT as bR,
|
|
80984
81093
|
eQ as bS,
|
|
80985
81094
|
_T as bT,
|
|
@@ -81053,4 +81162,4 @@ export {
|
|
|
81053
81162
|
r7 as y,
|
|
81054
81163
|
e7 as z
|
|
81055
81164
|
};
|
|
81056
|
-
//# sourceMappingURL=index-
|
|
81165
|
+
//# sourceMappingURL=index-D_-p69Jf.js.map
|