@spiffcommerce/core 42.0.1 → 42.0.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/CHANGELOG.md +6 -0
- package/dist/{index-DHgCTtCK.cjs → index-D0TRSxcp.cjs} +2 -2
- package/dist/{index-DHgCTtCK.cjs.map → index-D0TRSxcp.cjs.map} +1 -1
- package/dist/{index-DJ6sPrDp.js → index-DA4lVvrA.js} +2 -2
- package/dist/{index-DJ6sPrDp.js.map → index-DA4lVvrA.js.map} +1 -1
- package/dist/{index-7_x4RM_0.cjs → index-hJR3iRbL.cjs} +37 -37
- package/dist/{index-7_x4RM_0.cjs.map → index-hJR3iRbL.cjs.map} +1 -1
- package/dist/{index-CMDfBCDx.js → index-oPZ1sxEc.js} +488 -475
- package/dist/{index-CMDfBCDx.js.map → index-oPZ1sxEc.js.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -23,7 +23,7 @@ var me = function() {
|
|
|
23
23
|
return e;
|
|
24
24
|
}, me.apply(this, arguments);
|
|
25
25
|
};
|
|
26
|
-
function
|
|
26
|
+
function ss(r, e) {
|
|
27
27
|
var t = {};
|
|
28
28
|
for (var n in r) Object.prototype.hasOwnProperty.call(r, n) && e.indexOf(n) < 0 && (t[n] = r[n]);
|
|
29
29
|
if (r != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -31,7 +31,7 @@ function as(r, e) {
|
|
|
31
31
|
e.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(r, n[i]) && (t[n[i]] = r[n[i]]);
|
|
32
32
|
return t;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function ts(r, e, t, n) {
|
|
35
35
|
function i(a) {
|
|
36
36
|
return a instanceof t ? a : new t(function(s) {
|
|
37
37
|
s(a);
|
|
@@ -58,7 +58,7 @@ function es(r, e, t, n) {
|
|
|
58
58
|
u((n = n.apply(r, e || [])).next());
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function rs(r, e) {
|
|
62
62
|
var t = { label: 0, sent: function() {
|
|
63
63
|
if (a[0] & 1) throw a[1];
|
|
64
64
|
return a[1];
|
|
@@ -3835,7 +3835,7 @@ var N2 = (
|
|
|
3835
3835
|
});
|
|
3836
3836
|
Al.reset();
|
|
3837
3837
|
var ii = Array.isArray;
|
|
3838
|
-
function
|
|
3838
|
+
function ls(r) {
|
|
3839
3839
|
return Array.isArray(r) && r.length > 0;
|
|
3840
3840
|
}
|
|
3841
3841
|
var qb = {
|
|
@@ -3893,7 +3893,7 @@ function U2(r, e) {
|
|
|
3893
3893
|
}, a = 0, s = e.definitions.length - 1; s >= 0; --s)
|
|
3894
3894
|
e.definitions[s].kind === et.OPERATION_DEFINITION && ++a;
|
|
3895
3895
|
var o = UP(r), l = function(A) {
|
|
3896
|
-
return
|
|
3896
|
+
return ls(A) && A.map(o).some(function(x) {
|
|
3897
3897
|
return x && x.remove;
|
|
3898
3898
|
});
|
|
3899
3899
|
}, u = /* @__PURE__ */ new Map(), c = !1, h = {
|
|
@@ -4721,7 +4721,7 @@ function nR(r) {
|
|
|
4721
4721
|
}
|
|
4722
4722
|
function q2(r, e) {
|
|
4723
4723
|
var t = r, n = new Co();
|
|
4724
|
-
return Uu(e) &&
|
|
4724
|
+
return Uu(e) && ls(e.incremental) && e.incremental.forEach(function(i) {
|
|
4725
4725
|
for (var a = i.data, s = i.path, o = s.length - 1; o >= 0; --o) {
|
|
4726
4726
|
var l = s[o], u = !isNaN(+l), c = u ? [] : {};
|
|
4727
4727
|
c[l] = a, a = c;
|
|
@@ -4731,11 +4731,11 @@ function q2(r, e) {
|
|
|
4731
4731
|
}
|
|
4732
4732
|
function Pp(r) {
|
|
4733
4733
|
var e = ry(r);
|
|
4734
|
-
return
|
|
4734
|
+
return ls(e);
|
|
4735
4735
|
}
|
|
4736
4736
|
function ry(r) {
|
|
4737
|
-
var e =
|
|
4738
|
-
return Uu(r) &&
|
|
4737
|
+
var e = ls(r.errors) ? r.errors.slice(0) : [];
|
|
4738
|
+
return Uu(r) && ls(r.incremental) && r.incremental.forEach(function(t) {
|
|
4739
4739
|
t.errors && e.push.apply(e, t.errors);
|
|
4740
4740
|
}), e;
|
|
4741
4741
|
}
|
|
@@ -5056,9 +5056,9 @@ var bR = function(r) {
|
|
|
5056
5056
|
})(Error)
|
|
5057
5057
|
), aw = Object.prototype.hasOwnProperty;
|
|
5058
5058
|
function wR(r, e) {
|
|
5059
|
-
return
|
|
5059
|
+
return ts(this, void 0, void 0, function() {
|
|
5060
5060
|
var t, n, i, a, s, o, l, u, c, h, f, d, g, v, y, A, x, k, T, S, R, B, G, $;
|
|
5061
|
-
return
|
|
5061
|
+
return rs(this, function(ie) {
|
|
5062
5062
|
switch (ie.label) {
|
|
5063
5063
|
case 0:
|
|
5064
5064
|
if (TextDecoder === void 0)
|
|
@@ -5260,7 +5260,7 @@ var BR = Da(function() {
|
|
|
5260
5260
|
return fetch;
|
|
5261
5261
|
}), X2 = function(r) {
|
|
5262
5262
|
r === void 0 && (r = {});
|
|
5263
|
-
var e = r.uri, t = e === void 0 ? "/graphql" : e, n = r.fetch, i = r.print, a = i === void 0 ? IR : i, s = r.includeExtensions, o = r.preserveHeaderCase, l = r.useGETForQueries, u = r.includeUnusedVariables, c = u === void 0 ? !1 : u, h =
|
|
5263
|
+
var e = r.uri, t = e === void 0 ? "/graphql" : e, n = r.fetch, i = r.print, a = i === void 0 ? IR : i, s = r.includeExtensions, o = r.preserveHeaderCase, l = r.useGETForQueries, u = r.includeUnusedVariables, c = u === void 0 ? !1 : u, h = ss(r, ["uri", "fetch", "print", "includeExtensions", "preserveHeaderCase", "useGETForQueries", "includeUnusedVariables"]), f = {
|
|
5264
5264
|
http: { includeExtensions: s, preserveHeaderCase: o },
|
|
5265
5265
|
options: h.fetchOptions,
|
|
5266
5266
|
credentials: h.credentials,
|
|
@@ -5451,7 +5451,7 @@ function uw(r, e) {
|
|
|
5451
5451
|
return t.add(e), !1;
|
|
5452
5452
|
}
|
|
5453
5453
|
function J2(r, e, t, n) {
|
|
5454
|
-
var i = e.data, a =
|
|
5454
|
+
var i = e.data, a = ss(e, ["data"]), s = t.data, o = ss(t, ["data"]);
|
|
5455
5455
|
return Dn(a, o) && Rp(Pd(r).selectionSet, i, s, {
|
|
5456
5456
|
fragmentMap: oc(cc(r)),
|
|
5457
5457
|
variables: n
|
|
@@ -5617,7 +5617,7 @@ var jR = (
|
|
|
5617
5617
|
return n.read(me(me({}, e), { rootId: e.id || "ROOT_QUERY", optimistic: t }));
|
|
5618
5618
|
});
|
|
5619
5619
|
}, r.prototype.watchFragment = function(e) {
|
|
5620
|
-
var t = this, n = e.fragment, i = e.fragmentName, a = e.from, s = e.optimistic, o = s === void 0 ? !0 : s, l =
|
|
5620
|
+
var t = this, n = e.fragment, i = e.fragmentName, a = e.from, s = e.optimistic, o = s === void 0 ? !0 : s, l = ss(e, ["fragment", "fragmentName", "from", "optimistic"]), u = this.getFragmentDoc(n, i), c = typeof a > "u" || typeof a == "string" ? a : this.identify(a), h = !!e[/* @__PURE__ */ Symbol.for("apollo.dataMasking")], f = me(me({}, l), { returnPartialData: !0, id: c, query: u, optimistic: o }), d;
|
|
5621
5621
|
return new nn(function(g) {
|
|
5622
5622
|
return t.watch(me(me({}, f), { immediate: !0, callback: function(v) {
|
|
5623
5623
|
var y = h ? rk(v.result, n, t, i) : v.result;
|
|
@@ -5648,13 +5648,13 @@ var jR = (
|
|
|
5648
5648
|
return n.read(me(me({}, e), { query: n.getFragmentDoc(e.fragment, e.fragmentName), rootId: e.id, optimistic: t }));
|
|
5649
5649
|
});
|
|
5650
5650
|
}, r.prototype.writeQuery = function(e) {
|
|
5651
|
-
var t = e.id, n = e.data, i =
|
|
5651
|
+
var t = e.id, n = e.data, i = ss(e, ["id", "data"]);
|
|
5652
5652
|
return this.write(Object.assign(i, {
|
|
5653
5653
|
dataId: t || "ROOT_QUERY",
|
|
5654
5654
|
result: n
|
|
5655
5655
|
}));
|
|
5656
5656
|
}, r.prototype.writeFragment = function(e) {
|
|
5657
|
-
var t = e.id, n = e.data, i = e.fragment, a = e.fragmentName, s =
|
|
5657
|
+
var t = e.id, n = e.data, i = e.fragment, a = e.fragmentName, s = ss(e, ["id", "data", "fragment", "fragmentName"]);
|
|
5658
5658
|
return this.write(Object.assign(s, {
|
|
5659
5659
|
query: this.getFragmentDoc(i, a),
|
|
5660
5660
|
dataId: t,
|
|
@@ -5872,7 +5872,7 @@ var Op = /* @__PURE__ */ Object.create(null), Jm = function() {
|
|
|
5872
5872
|
if (Object.keys(this.data).forEach(function(a) {
|
|
5873
5873
|
e && gi.call(e, a) || t.delete(a);
|
|
5874
5874
|
}), e) {
|
|
5875
|
-
var n = e.__META, i =
|
|
5875
|
+
var n = e.__META, i = ss(e, ["__META"]);
|
|
5876
5876
|
Object.keys(i).forEach(function(a) {
|
|
5877
5877
|
t.merge(a, i[a]);
|
|
5878
5878
|
}), n && n.extraRootIds.forEach(this.retain, this);
|
|
@@ -6342,7 +6342,7 @@ function Aw(r) {
|
|
|
6342
6342
|
var i = n.field, a = n.variables, s = n.fieldName, o = SA(r, function(u) {
|
|
6343
6343
|
var c = u[0], h = c.charAt(0);
|
|
6344
6344
|
if (h === "@") {
|
|
6345
|
-
if (i &&
|
|
6345
|
+
if (i && ls(i.directives)) {
|
|
6346
6346
|
var f = c.slice(1), d = i.directives.find(function(A) {
|
|
6347
6347
|
return A.name.value === f;
|
|
6348
6348
|
}), g = d && Eg(d, a);
|
|
@@ -6451,7 +6451,7 @@ var e4 = function() {
|
|
|
6451
6451
|
}, r.prototype.addTypePolicies = function(e) {
|
|
6452
6452
|
var t = this;
|
|
6453
6453
|
Object.keys(e).forEach(function(n) {
|
|
6454
|
-
var i = e[n], a = i.queryType, s = i.mutationType, o = i.subscriptionType, l =
|
|
6454
|
+
var i = e[n], a = i.queryType, s = i.mutationType, o = i.subscriptionType, l = ss(i, ["queryType", "mutationType", "subscriptionType"]);
|
|
6455
6455
|
a && t.setRootTypename("Query", n), s && t.setRootTypename("Mutation", n), o && t.setRootTypename("Subscription", n), gi.call(t.toBeAdded, n) ? t.toBeAdded[n].push(l) : t.toBeAdded[n] = [l];
|
|
6456
6456
|
});
|
|
6457
6457
|
}, r.prototype.updateTypePolicy = function(e, t, n) {
|
|
@@ -6501,7 +6501,7 @@ var e4 = function() {
|
|
|
6501
6501
|
});
|
|
6502
6502
|
}
|
|
6503
6503
|
})), i && i.size && i.forEach(function(s) {
|
|
6504
|
-
var o = t.getTypePolicy(s), l = o.fields, u =
|
|
6504
|
+
var o = t.getTypePolicy(s), l = o.fields, u = ss(o, ["fields"]);
|
|
6505
6505
|
Object.assign(n, u), Object.assign(n.fields, l);
|
|
6506
6506
|
});
|
|
6507
6507
|
}
|
|
@@ -6812,7 +6812,7 @@ var r4 = (
|
|
|
6812
6812
|
// Since the presence of @client or @defer on this field can only
|
|
6813
6813
|
// cause clientOnly or deferred to become true, we can skip the
|
|
6814
6814
|
// forEach loop if both clientOnly and deferred are already true.
|
|
6815
|
-
!(d && g) &&
|
|
6815
|
+
!(d && g) && ls(f.directives) && f.directives.forEach(function(A) {
|
|
6816
6816
|
var x = A.name.value;
|
|
6817
6817
|
if (x === "client" && (d = !0), x === "defer") {
|
|
6818
6818
|
var k = Eg(A, n.variables);
|
|
@@ -7547,8 +7547,8 @@ var r0 = (
|
|
|
7547
7547
|
// the cache will repair what was evicted.
|
|
7548
7548
|
n.dmCount === Bu.get(this.cache) && Dn(t, n.variables) && Dn(e.data, n.result.data));
|
|
7549
7549
|
}, r.prototype.markResult = function(e, t, n, i) {
|
|
7550
|
-
var a = this, s, o = new Co(), l =
|
|
7551
|
-
if ((s = this.observableQuery) === null || s === void 0 || s.resetNotifications(), "incremental" in e &&
|
|
7550
|
+
var a = this, s, o = new Co(), l = ls(e.errors) ? e.errors.slice(0) : [];
|
|
7551
|
+
if ((s = this.observableQuery) === null || s === void 0 || s.resetNotifications(), "incremental" in e && ls(e.incremental)) {
|
|
7552
7552
|
var u = q2(this.getDiff().result, e);
|
|
7553
7553
|
e.data = u;
|
|
7554
7554
|
} else if ("hasNext" in e && e.hasNext) {
|
|
@@ -7619,9 +7619,9 @@ var a4 = Object.prototype.hasOwnProperty, Fw = /* @__PURE__ */ Object.create(nul
|
|
|
7619
7619
|
return t(e);
|
|
7620
7620
|
}), this.fetchCancelFns.clear();
|
|
7621
7621
|
}, r.prototype.mutate = function(e) {
|
|
7622
|
-
return
|
|
7622
|
+
return ts(this, arguments, void 0, function(t) {
|
|
7623
7623
|
var n, i, a, s, o, l, u, c = t.mutation, h = t.variables, f = t.optimisticResponse, d = t.updateQueries, g = t.refetchQueries, v = g === void 0 ? [] : g, y = t.awaitRefetchQueries, A = y === void 0 ? !1 : y, x = t.update, k = t.onQueryUpdated, T = t.fetchPolicy, S = T === void 0 ? ((l = this.defaultOptions.mutate) === null || l === void 0 ? void 0 : l.fetchPolicy) || "network-only" : T, R = t.errorPolicy, B = R === void 0 ? ((u = this.defaultOptions.mutate) === null || u === void 0 ? void 0 : u.errorPolicy) || "none" : R, G = t.keepRootFields, $ = t.context;
|
|
7624
|
-
return
|
|
7624
|
+
return rs(this, function(ie) {
|
|
7625
7625
|
switch (ie.label) {
|
|
7626
7626
|
case 0:
|
|
7627
7627
|
return Mr(c, 36), Mr(S === "network-only" || S === "no-cache", 37), n = this.generateMutationId(), c = this.cache.transformForLink(this.transform(c)), i = this.getDocumentInfo(c).hasClientExports, h = this.getVariables(c, h), i ? [4, this.localState.addExportedVariables(c, h, $)] : [3, 2];
|
|
@@ -7696,7 +7696,7 @@ var a4 = Object.prototype.hasOwnProperty, Fw = /* @__PURE__ */ Object.create(nul
|
|
|
7696
7696
|
dataId: "ROOT_MUTATION",
|
|
7697
7697
|
query: e.document,
|
|
7698
7698
|
variables: e.variables
|
|
7699
|
-
}), Uu(i) &&
|
|
7699
|
+
}), Uu(i) && ls(i.incremental)) {
|
|
7700
7700
|
var o = t.diff({
|
|
7701
7701
|
id: "ROOT_MUTATION",
|
|
7702
7702
|
// The cache complains if passed a mutation where it expects a
|
|
@@ -8253,9 +8253,9 @@ var a4 = Object.prototype.hasOwnProperty, Fw = /* @__PURE__ */ Object.create(nul
|
|
|
8253
8253
|
}, r.prototype.getResolvers = function() {
|
|
8254
8254
|
return this.resolvers || {};
|
|
8255
8255
|
}, r.prototype.runResolvers = function(e) {
|
|
8256
|
-
return
|
|
8256
|
+
return ts(this, arguments, void 0, function(t) {
|
|
8257
8257
|
var n = t.document, i = t.remoteResult, a = t.context, s = t.variables, o = t.onlyRunForcedResolvers, l = o === void 0 ? !1 : o;
|
|
8258
|
-
return
|
|
8258
|
+
return rs(this, function(u) {
|
|
8259
8259
|
return n ? [2, this.resolveDocument(n, i.data, a, s, this.fragmentMatcher, l).then(function(c) {
|
|
8260
8260
|
return me(me({}, i), { data: c.result });
|
|
8261
8261
|
})] : [2, i];
|
|
@@ -8279,8 +8279,8 @@ var a4 = Object.prototype.hasOwnProperty, Fw = /* @__PURE__ */ Object.create(nul
|
|
|
8279
8279
|
}
|
|
8280
8280
|
});
|
|
8281
8281
|
}, r.prototype.addExportedVariables = function(e) {
|
|
8282
|
-
return
|
|
8283
|
-
return n === void 0 && (n = {}), i === void 0 && (i = {}),
|
|
8282
|
+
return ts(this, arguments, void 0, function(t, n, i) {
|
|
8283
|
+
return n === void 0 && (n = {}), i === void 0 && (i = {}), rs(this, function(a) {
|
|
8284
8284
|
return t ? [2, this.resolveDocument(t, this.buildRootValueFromCache(t, n) || {}, this.prepareContext(i), n).then(function(s) {
|
|
8285
8285
|
return me(me({}, n), s.exportedVariables);
|
|
8286
8286
|
})] : [2, me({}, n)];
|
|
@@ -8306,11 +8306,11 @@ var a4 = Object.prototype.hasOwnProperty, Fw = /* @__PURE__ */ Object.create(nul
|
|
|
8306
8306
|
optimistic: !1
|
|
8307
8307
|
}).result;
|
|
8308
8308
|
}, r.prototype.resolveDocument = function(e, t) {
|
|
8309
|
-
return
|
|
8309
|
+
return ts(this, arguments, void 0, function(n, i, a, s, o, l) {
|
|
8310
8310
|
var u, c, h, f, d, g, v, y, A, x, k;
|
|
8311
8311
|
return a === void 0 && (a = {}), s === void 0 && (s = {}), o === void 0 && (o = function() {
|
|
8312
8312
|
return !0;
|
|
8313
|
-
}), l === void 0 && (l = !1),
|
|
8313
|
+
}), l === void 0 && (l = !1), rs(this, function(T) {
|
|
8314
8314
|
return u = Pd(n), c = cc(n), h = oc(c), f = this.collectSelectionsToResolve(u, h), d = u.operation, g = d ? d.charAt(0).toUpperCase() + d.slice(1) : "Query", v = this, y = v.cache, A = v.client, x = {
|
|
8315
8315
|
fragmentMap: h,
|
|
8316
8316
|
context: me(me({}, a), { cache: y, client: A }),
|
|
@@ -8329,13 +8329,13 @@ var a4 = Object.prototype.hasOwnProperty, Fw = /* @__PURE__ */ Object.create(nul
|
|
|
8329
8329
|
});
|
|
8330
8330
|
});
|
|
8331
8331
|
}, r.prototype.resolveSelectionSet = function(e, t, n, i) {
|
|
8332
|
-
return
|
|
8332
|
+
return ts(this, void 0, void 0, function() {
|
|
8333
8333
|
var a, s, o, l, u, c = this;
|
|
8334
|
-
return
|
|
8334
|
+
return rs(this, function(h) {
|
|
8335
8335
|
return a = i.fragmentMap, s = i.context, o = i.variables, l = [n], u = function(f) {
|
|
8336
|
-
return
|
|
8336
|
+
return ts(c, void 0, void 0, function() {
|
|
8337
8337
|
var d, g;
|
|
8338
|
-
return
|
|
8338
|
+
return rs(this, function(v) {
|
|
8339
8339
|
return !t && !i.selectionsToResolve.has(f) ? [
|
|
8340
8340
|
2
|
|
8341
8341
|
/*return*/
|
|
@@ -8359,9 +8359,9 @@ var a4 = Object.prototype.hasOwnProperty, Fw = /* @__PURE__ */ Object.create(nul
|
|
|
8359
8359
|
});
|
|
8360
8360
|
});
|
|
8361
8361
|
}, r.prototype.resolveField = function(e, t, n, i) {
|
|
8362
|
-
return
|
|
8362
|
+
return ts(this, void 0, void 0, function() {
|
|
8363
8363
|
var a, s, o, l, u, c, h, f, d, g = this;
|
|
8364
|
-
return
|
|
8364
|
+
return rs(this, function(v) {
|
|
8365
8365
|
return n ? (a = i.variables, s = e.name.value, o = bo(e), l = s !== o, u = n[o] || n[s], c = Promise.resolve(u), (!i.onlyRunForcedResolvers || this.shouldForceResolvers(e)) && (h = n.__typename || i.defaultOperationType, f = this.resolvers && this.resolvers[h], f && (d = f[l ? s : o], d && (c = Promise.resolve(
|
|
8366
8366
|
// In case the resolve function accesses reactive variables,
|
|
8367
8367
|
// set cacheSlot to the current cache instance.
|
|
@@ -8685,7 +8685,7 @@ var uf = {
|
|
|
8685
8685
|
r.gql = uf.gql, r.resetCaches = uf.resetCaches, r.disableFragmentWarnings = uf.disableFragmentWarnings, r.enableExperimentalFragmentVariables = uf.enableExperimentalFragmentVariables, r.disableExperimentalFragmentVariables = uf.disableExperimentalFragmentVariables;
|
|
8686
8686
|
})(ke || (ke = {}));
|
|
8687
8687
|
ke.default = ke;
|
|
8688
|
-
var Zp = /* @__PURE__ */ ((r) => (r.Data = "Data", r.Font = "Font", r.Frame = "Frame", r.Illustration = "Illustration", r.Image = "Image", r.Model = "Model", r.Material = "Material", r.Color = "Color", r.QuestionnaireCollateral = "QuestionnaireCollateral", r.RequestCollateral = "RequestCollateral", r.SignupCollateral = "SignupCollateral", r.Video = "Video", r.ColorProfile = "ColorProfile", r.Environment = "Environment", r))(Zp || {}), vk = /* @__PURE__ */ ((r) => (r.AND = "AND", r.OR = "OR", r))(vk || {}), Wn = /* @__PURE__ */ ((r) => (r.FileUpload = "FileUpload", r.Option = "Option", r.ColorOption = "ColorOption", r.Text = "Text", r))(Wn || {}),
|
|
8688
|
+
var Zp = /* @__PURE__ */ ((r) => (r.Data = "Data", r.Font = "Font", r.Frame = "Frame", r.Illustration = "Illustration", r.Image = "Image", r.Model = "Model", r.Material = "Material", r.Color = "Color", r.QuestionnaireCollateral = "QuestionnaireCollateral", r.RequestCollateral = "RequestCollateral", r.SignupCollateral = "SignupCollateral", r.Video = "Video", r.ColorProfile = "ColorProfile", r.Environment = "Environment", r))(Zp || {}), vk = /* @__PURE__ */ ((r) => (r.AND = "AND", r.OR = "OR", r))(vk || {}), Wn = /* @__PURE__ */ ((r) => (r.FileUpload = "FileUpload", r.Option = "Option", r.ColorOption = "ColorOption", r.Text = "Text", r))(Wn || {}), Je = /* @__PURE__ */ ((r) => (r.Information = "Information", r.Bulk = "Bulk", r.DigitalContent = "DigitalContent", r.Finish = "Finish", r.Frame = "Frame", r.Illustration = "Illustration", r.Introduction = "Introduction", r.Material = "Material", r.Model = "Model", r.Module = "Module", r.Picture = "Picture", r.Photo = "Photo", r.Product = "Product", r.ProductOverlay = "ProductOverlay", r.Question = "Question", r.Shape = "Shape", r.SilentIllustration = "SilentIllustration", r.Text = "Text", r))(Je || {}), v4 = /* @__PURE__ */ ((r) => (r.Color = "Color", r.Colors = "Colors", r.Selection = "Selection", r.Selections = "Selections", r.Text = "Text", r.Upload = "Upload", r))(v4 || {}), dd = /* @__PURE__ */ ((r) => (r.ThreeD = "ThreeD", r.FreeDesign = "FreeDesign", r.Print = "Print", r))(dd || {}), tr = /* @__PURE__ */ ((r) => (r.Frame = "frame", r.Group = "group", r.Image = "image", r.Pattern = "pattern", r.Illustration = "illustration", r.Textbox = "textbox", r))(tr || {}), y4 = /* @__PURE__ */ ((r) => (r.Default = "Default", r.FirstTransaction = "FirstTransaction", r.OneToOne = "OneToOne", r))(y4 || {}), yk = /* @__PURE__ */ ((r) => (r.Pending = "Pending", r.Failed = "Failed", r.Validated = "Validated", r.Overridden = "Overridden", r))(yk || {}), A4 = /* @__PURE__ */ ((r) => (r.Hyperlink = "Hyperlink", r.Edit = "Edit", r.Approve = "Approve", r))(A4 || {}), b4 = /* @__PURE__ */ ((r) => (r.Hub = "Hub", r.Shopify = "Shopify", r))(b4 || {}), kA = /* @__PURE__ */ ((r) => (r.AdvancedImageManipulation = "BackgroundRemover", r.ConversionAccelerator = "Conversion Accelerator", r.ProcessBuilder = "ProcessBuilder", r))(kA || {}), w4 = /* @__PURE__ */ ((r) => (r[r.Orbit = 0] = "Orbit", r[r.Pan = 1] = "Pan", r))(w4 || {}), Ak = /* @__PURE__ */ ((r) => (r.Owner = "Owner", r.Approver = "Approver", r.Editor = "Editor", r.Viewer = "Viewer", r))(Ak || {}), dc = /* @__PURE__ */ ((r) => (r.Autosize = "Autosize", r.Traditional = "Traditional", r))(dc || {}), Ci = /* @__PURE__ */ ((r) => (r[r.North = 0] = "North", r[r.Northeast = 1] = "Northeast", r[r.East = 2] = "East", r[r.Southeast = 3] = "Southeast", r[r.South = 4] = "South", r[r.Southwest = 5] = "Southwest", r[r.West = 6] = "West", r[r.Northwest = 7] = "Northwest", r))(Ci || {}), x4 = /* @__PURE__ */ ((r) => (r.Pixel = "px", r.Millimeter = "mm", r.Centimeter = "cm", r))(x4 || {}), _p = /* @__PURE__ */ ((r) => (r.Email = "Email", r.FirstName = "FirstName", r.LastName = "LastName", r.Phone = "Phone", r.Apartment = "Apartment", r.City = "City", r.Country = "Country", r.OrganizationName = "OrganizationName", r.PostCode = "PostCode", r.State = "State", r.StreetAddress = "StreetAddress", r.Custom = "Custom", r))(_p || {});
|
|
8689
8689
|
class bk extends Error {
|
|
8690
8690
|
constructor(e) {
|
|
8691
8691
|
super(e), this.name = this.constructor.name;
|
|
@@ -8798,7 +8798,7 @@ const S4 = () => {
|
|
|
8798
8798
|
}, Er = S4();
|
|
8799
8799
|
function E4(r) {
|
|
8800
8800
|
return new _a(function(e, t) {
|
|
8801
|
-
var n =
|
|
8801
|
+
var n = ss(e, []);
|
|
8802
8802
|
return new nn(function(i) {
|
|
8803
8803
|
var a, s = !1;
|
|
8804
8804
|
return Promise.resolve(n).then(function(o) {
|
|
@@ -9174,10 +9174,10 @@ function T4() {
|
|
|
9174
9174
|
{
|
|
9175
9175
|
var be = se.ReactDebugCurrentFrame, Me = be.getStackAddendum();
|
|
9176
9176
|
Me !== "" && (Z += "%s", fe = fe.concat([Me]));
|
|
9177
|
-
var
|
|
9177
|
+
var Ke = fe.map(function(Xe) {
|
|
9178
9178
|
return String(Xe);
|
|
9179
9179
|
});
|
|
9180
|
-
|
|
9180
|
+
Ke.unshift("Warning: " + Z), Function.prototype.apply.call(console[M], console, Ke);
|
|
9181
9181
|
}
|
|
9182
9182
|
}
|
|
9183
9183
|
var Re = {};
|
|
@@ -9358,9 +9358,9 @@ function T4() {
|
|
|
9358
9358
|
var be = M.displayName || null;
|
|
9359
9359
|
return be !== null ? be : nr(M.type) || "Memo";
|
|
9360
9360
|
case g: {
|
|
9361
|
-
var Me = M,
|
|
9361
|
+
var Me = M, Ke = Me._payload, Xe = Me._init;
|
|
9362
9362
|
try {
|
|
9363
|
-
return nr(Xe(
|
|
9363
|
+
return nr(Xe(Ke));
|
|
9364
9364
|
} catch {
|
|
9365
9365
|
return null;
|
|
9366
9366
|
}
|
|
@@ -9415,7 +9415,7 @@ function T4() {
|
|
|
9415
9415
|
wr[Z] || (ye('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', Z, M.ref), wr[Z] = !0);
|
|
9416
9416
|
}
|
|
9417
9417
|
}
|
|
9418
|
-
var Zr = function(M, Z, fe, be, Me,
|
|
9418
|
+
var Zr = function(M, Z, fe, be, Me, Ke, Xe) {
|
|
9419
9419
|
var yt = {
|
|
9420
9420
|
// This tag allows us to uniquely identify this as a React Element
|
|
9421
9421
|
$$typeof: n,
|
|
@@ -9425,7 +9425,7 @@ function T4() {
|
|
|
9425
9425
|
ref: fe,
|
|
9426
9426
|
props: Xe,
|
|
9427
9427
|
// Record the component responsible for creating this element.
|
|
9428
|
-
_owner:
|
|
9428
|
+
_owner: Ke
|
|
9429
9429
|
};
|
|
9430
9430
|
return yt._store = {}, Object.defineProperty(yt._store, "validated", {
|
|
9431
9431
|
configurable: !1,
|
|
@@ -9445,9 +9445,9 @@ function T4() {
|
|
|
9445
9445
|
}), Object.freeze && (Object.freeze(yt.props), Object.freeze(yt)), yt;
|
|
9446
9446
|
};
|
|
9447
9447
|
function Vr(M, Z, fe) {
|
|
9448
|
-
var be, Me = {},
|
|
9448
|
+
var be, Me = {}, Ke = null, Xe = null, yt = null, Pt = null;
|
|
9449
9449
|
if (Z != null) {
|
|
9450
|
-
an(Z) && (Xe = Z.ref, kr(Z)), _r(Z) && (Wr(Z.key),
|
|
9450
|
+
an(Z) && (Xe = Z.ref, kr(Z)), _r(Z) && (Wr(Z.key), Ke = "" + Z.key), yt = Z.__self === void 0 ? null : Z.__self, Pt = Z.__source === void 0 ? null : Z.__source;
|
|
9451
9451
|
for (be in Z)
|
|
9452
9452
|
fr.call(Z, be) && !Yt.hasOwnProperty(be) && (Me[be] = Z[be]);
|
|
9453
9453
|
}
|
|
@@ -9464,11 +9464,11 @@ function T4() {
|
|
|
9464
9464
|
for (be in Tr)
|
|
9465
9465
|
Me[be] === void 0 && (Me[be] = Tr[be]);
|
|
9466
9466
|
}
|
|
9467
|
-
if (
|
|
9467
|
+
if (Ke || Xe) {
|
|
9468
9468
|
var $r = typeof M == "function" ? M.displayName || M.name || "Unknown" : M;
|
|
9469
|
-
|
|
9469
|
+
Ke && ir(Me, $r), Xe && Yr(Me, $r);
|
|
9470
9470
|
}
|
|
9471
|
-
return Zr(M,
|
|
9471
|
+
return Zr(M, Ke, Xe, yt, Pt, R.current, Me);
|
|
9472
9472
|
}
|
|
9473
9473
|
function pn(M, Z) {
|
|
9474
9474
|
var fe = Zr(M.type, Z, M.ref, M._self, M._source, M._owner, M.props);
|
|
@@ -9477,9 +9477,9 @@ function T4() {
|
|
|
9477
9477
|
function gn(M, Z, fe) {
|
|
9478
9478
|
if (M == null)
|
|
9479
9479
|
throw new Error("React.cloneElement(...): The argument must be a React element, but you passed " + M + ".");
|
|
9480
|
-
var be, Me = re({}, M.props),
|
|
9480
|
+
var be, Me = re({}, M.props), Ke = M.key, Xe = M.ref, yt = M._self, Pt = M._source, pr = M._owner;
|
|
9481
9481
|
if (Z != null) {
|
|
9482
|
-
an(Z) && (Xe = Z.ref, pr = R.current), _r(Z) && (Wr(Z.key),
|
|
9482
|
+
an(Z) && (Xe = Z.ref, pr = R.current), _r(Z) && (Wr(Z.key), Ke = "" + Z.key);
|
|
9483
9483
|
var yr;
|
|
9484
9484
|
M.type && M.type.defaultProps && (yr = M.type.defaultProps);
|
|
9485
9485
|
for (be in Z)
|
|
@@ -9493,7 +9493,7 @@ function T4() {
|
|
|
9493
9493
|
Tr[$r] = arguments[$r + 2];
|
|
9494
9494
|
Me.children = Tr;
|
|
9495
9495
|
}
|
|
9496
|
-
return Zr(M.type,
|
|
9496
|
+
return Zr(M.type, Ke, Xe, yt, Pt, pr, Me);
|
|
9497
9497
|
}
|
|
9498
9498
|
function Fr(M) {
|
|
9499
9499
|
return typeof M == "object" && M !== null && M.$$typeof === n;
|
|
@@ -9516,13 +9516,13 @@ function T4() {
|
|
|
9516
9516
|
return typeof M == "object" && M !== null && M.key != null ? (Wr(M.key), Hr("" + M.key)) : Z.toString(36);
|
|
9517
9517
|
}
|
|
9518
9518
|
function Nr(M, Z, fe, be, Me) {
|
|
9519
|
-
var
|
|
9520
|
-
(
|
|
9519
|
+
var Ke = typeof M;
|
|
9520
|
+
(Ke === "undefined" || Ke === "boolean") && (M = null);
|
|
9521
9521
|
var Xe = !1;
|
|
9522
9522
|
if (M === null)
|
|
9523
9523
|
Xe = !0;
|
|
9524
9524
|
else
|
|
9525
|
-
switch (
|
|
9525
|
+
switch (Ke) {
|
|
9526
9526
|
case "string":
|
|
9527
9527
|
case "number":
|
|
9528
9528
|
Xe = !0;
|
|
@@ -9565,7 +9565,7 @@ function T4() {
|
|
|
9565
9565
|
la === Xi.entries && (zt || he("Using Maps as children is not supported. Use an array of keyed ReactElements instead."), zt = !0);
|
|
9566
9566
|
for (var qn = la.call(Xi), Ji, hi = 0; !(Ji = qn.next()).done; )
|
|
9567
9567
|
ur = Ji.value, Tr = yn + tt(ur, hi++), $r += Nr(ur, Z, fe, Tr, Me);
|
|
9568
|
-
} else if (
|
|
9568
|
+
} else if (Ke === "object") {
|
|
9569
9569
|
var Va = String(M);
|
|
9570
9570
|
throw new Error("Objects are not valid as a React child (found: " + (Va === "[object Object]" ? "object with keys {" + Object.keys(M).join(", ") + "}" : Va) + "). If you meant to render a collection of children, use an array instead.");
|
|
9571
9571
|
}
|
|
@@ -9576,8 +9576,8 @@ function T4() {
|
|
|
9576
9576
|
if (M == null)
|
|
9577
9577
|
return M;
|
|
9578
9578
|
var be = [], Me = 0;
|
|
9579
|
-
return Nr(M, be, "", "", function(
|
|
9580
|
-
return Z.call(fe,
|
|
9579
|
+
return Nr(M, be, "", "", function(Ke) {
|
|
9580
|
+
return Z.call(fe, Ke, Me++);
|
|
9581
9581
|
}), be;
|
|
9582
9582
|
}
|
|
9583
9583
|
function Se(M) {
|
|
@@ -9627,11 +9627,11 @@ function T4() {
|
|
|
9627
9627
|
};
|
|
9628
9628
|
var fe = !1, be = !1, Me = !1;
|
|
9629
9629
|
{
|
|
9630
|
-
var
|
|
9630
|
+
var Ke = {
|
|
9631
9631
|
$$typeof: u,
|
|
9632
9632
|
_context: Z
|
|
9633
9633
|
};
|
|
9634
|
-
Object.defineProperties(
|
|
9634
|
+
Object.defineProperties(Ke, {
|
|
9635
9635
|
Provider: {
|
|
9636
9636
|
get: function() {
|
|
9637
9637
|
return be || (be = !0, ye("Rendering <Context.Consumer.Provider> is not supported and will be removed in a future major release. Did you mean to render <Context.Provider> instead?")), Z.Provider;
|
|
@@ -9677,7 +9677,7 @@ function T4() {
|
|
|
9677
9677
|
Me || (he("Setting `displayName` on Context.Consumer has no effect. You should set it directly on the context with Context.displayName = '%s'.", Xe), Me = !0);
|
|
9678
9678
|
}
|
|
9679
9679
|
}
|
|
9680
|
-
}), Z.Consumer =
|
|
9680
|
+
}), Z.Consumer = Ke;
|
|
9681
9681
|
}
|
|
9682
9682
|
return Z._currentRenderer = null, Z._currentRenderer2 = null, Z;
|
|
9683
9683
|
}
|
|
@@ -9685,15 +9685,15 @@ function T4() {
|
|
|
9685
9685
|
function Nt(M) {
|
|
9686
9686
|
if (M._status === Te) {
|
|
9687
9687
|
var Z = M._result, fe = Z();
|
|
9688
|
-
if (fe.then(function(
|
|
9688
|
+
if (fe.then(function(Ke) {
|
|
9689
9689
|
if (M._status === Qe || M._status === Te) {
|
|
9690
9690
|
var Xe = M;
|
|
9691
|
-
Xe._status = wt, Xe._result =
|
|
9691
|
+
Xe._status = wt, Xe._result = Ke;
|
|
9692
9692
|
}
|
|
9693
|
-
}, function(
|
|
9693
|
+
}, function(Ke) {
|
|
9694
9694
|
if (M._status === Qe || M._status === Te) {
|
|
9695
9695
|
var Xe = M;
|
|
9696
|
-
Xe._status = It, Xe._result =
|
|
9696
|
+
Xe._status = It, Xe._result = Ke;
|
|
9697
9697
|
}
|
|
9698
9698
|
}), M._status === Te) {
|
|
9699
9699
|
var be = M;
|
|
@@ -9732,8 +9732,8 @@ Your code should look like:
|
|
|
9732
9732
|
get: function() {
|
|
9733
9733
|
return be;
|
|
9734
9734
|
},
|
|
9735
|
-
set: function(
|
|
9736
|
-
ye("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), be =
|
|
9735
|
+
set: function(Ke) {
|
|
9736
|
+
ye("React.lazy(...): It is not supported to assign `defaultProps` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), be = Ke, Object.defineProperty(fe, "defaultProps", {
|
|
9737
9737
|
enumerable: !0
|
|
9738
9738
|
});
|
|
9739
9739
|
}
|
|
@@ -9743,8 +9743,8 @@ Your code should look like:
|
|
|
9743
9743
|
get: function() {
|
|
9744
9744
|
return Me;
|
|
9745
9745
|
},
|
|
9746
|
-
set: function(
|
|
9747
|
-
ye("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), Me =
|
|
9746
|
+
set: function(Ke) {
|
|
9747
|
+
ye("React.lazy(...): It is not supported to assign `propTypes` to a lazy component import. Either specify them where the component is defined, or create a wrapping component around it."), Me = Ke, Object.defineProperty(fe, "propTypes", {
|
|
9748
9748
|
enumerable: !0
|
|
9749
9749
|
});
|
|
9750
9750
|
}
|
|
@@ -9972,8 +9972,8 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
9972
9972
|
O = !0;
|
|
9973
9973
|
var Me = Error.prepareStackTrace;
|
|
9974
9974
|
Error.prepareStackTrace = void 0;
|
|
9975
|
-
var
|
|
9976
|
-
|
|
9975
|
+
var Ke;
|
|
9976
|
+
Ke = Lr.current, Lr.current = null, sn();
|
|
9977
9977
|
try {
|
|
9978
9978
|
if (Z) {
|
|
9979
9979
|
var Xe = function() {
|
|
@@ -10026,7 +10026,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
10026
10026
|
}
|
|
10027
10027
|
}
|
|
10028
10028
|
} finally {
|
|
10029
|
-
O = !1, Lr.current =
|
|
10029
|
+
O = !1, Lr.current = Ke, rn(), Error.prepareStackTrace = Me;
|
|
10030
10030
|
}
|
|
10031
10031
|
var Tr = M ? M.displayName || M.name : "", $r = Tr ? E(Tr) : "";
|
|
10032
10032
|
return typeof M == "function" && z.set(M, $r), $r;
|
|
@@ -10058,9 +10058,9 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
10058
10058
|
case d:
|
|
10059
10059
|
return _e(M.type, Z, fe);
|
|
10060
10060
|
case g: {
|
|
10061
|
-
var be = M, Me = be._payload,
|
|
10061
|
+
var be = M, Me = be._payload, Ke = be._init;
|
|
10062
10062
|
try {
|
|
10063
|
-
return _e(
|
|
10063
|
+
return _e(Ke(Me), Z, fe);
|
|
10064
10064
|
} catch {
|
|
10065
10065
|
}
|
|
10066
10066
|
}
|
|
@@ -10077,9 +10077,9 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
10077
10077
|
}
|
|
10078
10078
|
function Jt(M, Z, fe, be, Me) {
|
|
10079
10079
|
{
|
|
10080
|
-
var
|
|
10080
|
+
var Ke = Function.call.bind(fr);
|
|
10081
10081
|
for (var Xe in M)
|
|
10082
|
-
if (
|
|
10082
|
+
if (Ke(M, Xe)) {
|
|
10083
10083
|
var yt = void 0;
|
|
10084
10084
|
try {
|
|
10085
10085
|
if (typeof M[Xe] != "function") {
|
|
@@ -10159,7 +10159,7 @@ Check the top-level render call using <` + fe + ">.");
|
|
|
10159
10159
|
else if (M) {
|
|
10160
10160
|
var Me = x(M);
|
|
10161
10161
|
if (typeof Me == "function" && Me !== M.entries)
|
|
10162
|
-
for (var
|
|
10162
|
+
for (var Ke = Me.call(M), Xe; !(Xe = Ke.next()).done; )
|
|
10163
10163
|
Fr(Xe.value) && $n(Xe.value, Z);
|
|
10164
10164
|
}
|
|
10165
10165
|
}
|
|
@@ -10206,8 +10206,8 @@ Check the top-level render call using <` + fe + ">.");
|
|
|
10206
10206
|
if (!be) {
|
|
10207
10207
|
var Me = "";
|
|
10208
10208
|
(M === void 0 || typeof M == "object" && M !== null && Object.keys(M).length === 0) && (Me += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
10209
|
-
var
|
|
10210
|
-
|
|
10209
|
+
var Ke = Ln(Z);
|
|
10210
|
+
Ke ? Me += Ke : Me += fn();
|
|
10211
10211
|
var Xe;
|
|
10212
10212
|
M === null ? Xe = "null" : $t(M) ? Xe = "array" : M !== void 0 && M.$$typeof === n ? (Xe = "<" + (nr(M.type) || "Unknown") + " />", Me = " Did you accidentally export a JSX literal instead of a component?") : Xe = typeof M, ye("React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Xe, Me);
|
|
10213
10213
|
}
|
|
@@ -10259,8 +10259,8 @@ Check the top-level render call using <` + fe + ">.");
|
|
|
10259
10259
|
} catch {
|
|
10260
10260
|
Zn = function(Me) {
|
|
10261
10261
|
En === !1 && (En = !0, typeof MessageChannel > "u" && ye("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));
|
|
10262
|
-
var
|
|
10263
|
-
|
|
10262
|
+
var Ke = new MessageChannel();
|
|
10263
|
+
Ke.port1.onmessage = Me, Ke.port2.postMessage(void 0);
|
|
10264
10264
|
};
|
|
10265
10265
|
}
|
|
10266
10266
|
return Zn(M);
|
|
@@ -10282,9 +10282,9 @@ Check the top-level render call using <` + fe + ">.");
|
|
|
10282
10282
|
S.isBatchingLegacy = fe;
|
|
10283
10283
|
}
|
|
10284
10284
|
if (be !== null && typeof be == "object" && typeof be.then == "function") {
|
|
10285
|
-
var
|
|
10285
|
+
var Ke = be, Xe = !1, yt = {
|
|
10286
10286
|
then: function(Tr, $r) {
|
|
10287
|
-
Xe = !0,
|
|
10287
|
+
Xe = !0, Ke.then(function(yn) {
|
|
10288
10288
|
H(Z), In === 0 ? ae(yn, Tr, $r) : Tr(yn);
|
|
10289
10289
|
}, function(yn) {
|
|
10290
10290
|
H(Z), $r(yn);
|
|
@@ -12391,7 +12391,7 @@ function D4() {
|
|
|
12391
12391
|
}, useId: function() {
|
|
12392
12392
|
var F = En.treeContext, _ = F.overflow;
|
|
12393
12393
|
F = F.id, F = (F & ~(1 << 32 - Mn(F) - 1)).toString(32) + _;
|
|
12394
|
-
var V =
|
|
12394
|
+
var V = Ke;
|
|
12395
12395
|
if (V === null) throw Error(e(404));
|
|
12396
12396
|
return _ = I++, F = ":" + V.idPrefix + "R" + F, 0 < _ && (F += "H" + _.toString(32)), F + ":";
|
|
12397
12397
|
}, useMutableSource: function(F, _) {
|
|
@@ -12399,7 +12399,7 @@ function D4() {
|
|
|
12399
12399
|
}, useSyncExternalStore: function(F, _, V) {
|
|
12400
12400
|
if (V === void 0) throw Error(e(407));
|
|
12401
12401
|
return V();
|
|
12402
|
-
} },
|
|
12402
|
+
} }, Ke = null, Xe = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
|
|
12403
12403
|
function yt(F) {
|
|
12404
12404
|
return console.error(F), null;
|
|
12405
12405
|
}
|
|
@@ -12413,7 +12413,7 @@ function D4() {
|
|
|
12413
12413
|
F.allPendingTasks++, V === null ? F.pendingRootTasks++ : V.pendingTasks++;
|
|
12414
12414
|
var Rt = { node: _, ping: function() {
|
|
12415
12415
|
var Kt = F.pingedTasks;
|
|
12416
|
-
Kt.push(Rt), Kt.length === 1 &&
|
|
12416
|
+
Kt.push(Rt), Kt.length === 1 && fs(F);
|
|
12417
12417
|
}, blockedBoundary: V, blockedSegment: Q, abortSet: Ae, legacyContext: ve, context: Fe, treeContext: He };
|
|
12418
12418
|
return Ae.add(Rt), Rt;
|
|
12419
12419
|
}
|
|
@@ -12617,7 +12617,7 @@ function D4() {
|
|
|
12617
12617
|
}
|
|
12618
12618
|
function Va(F) {
|
|
12619
12619
|
var _ = F.blockedBoundary;
|
|
12620
|
-
F = F.blockedSegment, F.status = 3,
|
|
12620
|
+
F = F.blockedSegment, F.status = 3, cs(this, _, F);
|
|
12621
12621
|
}
|
|
12622
12622
|
function za(F, _, V) {
|
|
12623
12623
|
var Q = F.blockedBoundary;
|
|
@@ -12631,7 +12631,7 @@ function D4() {
|
|
|
12631
12631
|
V.id = _.id, V.parentFlushed = !0, V.status === 1 && ua(F, V);
|
|
12632
12632
|
} else F.completedSegments.push(_);
|
|
12633
12633
|
}
|
|
12634
|
-
function
|
|
12634
|
+
function cs(F, _, V) {
|
|
12635
12635
|
if (_ === null) {
|
|
12636
12636
|
if (V.parentFlushed) {
|
|
12637
12637
|
if (F.completedRootSegment !== null) throw Error(e(389));
|
|
@@ -12641,12 +12641,12 @@ function D4() {
|
|
|
12641
12641
|
} else _.pendingTasks--, _.forceClientRender || (_.pendingTasks === 0 ? (V.parentFlushed && V.status === 1 && ua(_, V), _.parentFlushed && F.completedBoundaries.push(_), _.fallbackAbortableTasks.forEach(Va, F), _.fallbackAbortableTasks.clear()) : V.parentFlushed && V.status === 1 && (ua(_, V), _.completedSegments.length === 1 && _.parentFlushed && F.partialBoundaries.push(_)));
|
|
12642
12642
|
F.allPendingTasks--, F.allPendingTasks === 0 && (F = F.onAllReady, F());
|
|
12643
12643
|
}
|
|
12644
|
-
function
|
|
12644
|
+
function fs(F) {
|
|
12645
12645
|
if (F.status !== 2) {
|
|
12646
12646
|
var _ = nt, V = Xe.current;
|
|
12647
12647
|
Xe.current = Me;
|
|
12648
|
-
var Q =
|
|
12649
|
-
|
|
12648
|
+
var Q = Ke;
|
|
12649
|
+
Ke = F.responseState;
|
|
12650
12650
|
try {
|
|
12651
12651
|
var Ae = F.pingedTasks, ve;
|
|
12652
12652
|
for (ve = 0; ve < Ae.length; ve++) {
|
|
@@ -12654,7 +12654,7 @@ function D4() {
|
|
|
12654
12654
|
if (Rt.status === 0) {
|
|
12655
12655
|
Ln(Fe.context);
|
|
12656
12656
|
try {
|
|
12657
|
-
qn(He, Fe, Fe.node), Rt.lastPushedText && Rt.textEmbedded && Rt.chunks.push(re), Fe.abortSet.delete(Fe), Rt.status = 1,
|
|
12657
|
+
qn(He, Fe, Fe.node), Rt.lastPushedText && Rt.textEmbedded && Rt.chunks.push(re), Fe.abortSet.delete(Fe), Rt.status = 1, cs(He, Fe.blockedBoundary, Rt);
|
|
12658
12658
|
} catch (le) {
|
|
12659
12659
|
if (jt(), typeof le == "object" && le !== null && typeof le.then == "function") {
|
|
12660
12660
|
var Kt = Fe.ping;
|
|
@@ -12674,7 +12674,7 @@ function D4() {
|
|
|
12674
12674
|
} catch (le) {
|
|
12675
12675
|
Tr(F, le), $r(F, le);
|
|
12676
12676
|
} finally {
|
|
12677
|
-
|
|
12677
|
+
Ke = Q, Xe.current = V, V === Me && Ln(_);
|
|
12678
12678
|
}
|
|
12679
12679
|
}
|
|
12680
12680
|
}
|
|
@@ -12714,22 +12714,22 @@ function D4() {
|
|
|
12714
12714
|
}
|
|
12715
12715
|
return a(_, gn);
|
|
12716
12716
|
}
|
|
12717
|
-
function
|
|
12717
|
+
function ds(F, _, V) {
|
|
12718
12718
|
return xt(_, F.responseState, V.formatContext, V.id), Ha(F, _, V), dt(_, V.formatContext);
|
|
12719
12719
|
}
|
|
12720
|
-
function
|
|
12721
|
-
for (var Q = V.completedSegments, Ae = 0; Ae < Q.length; Ae++)
|
|
12720
|
+
function hs(F, _, V) {
|
|
12721
|
+
for (var Q = V.completedSegments, Ae = 0; Ae < Q.length; Ae++) ps(F, _, V, Q[Ae]);
|
|
12722
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
12723
|
return V = l(V.toString(16)), i(_, Q), i(_, On), i(_, F.segmentPrefix), i(_, V), a(_, Tn);
|
|
12724
12724
|
}
|
|
12725
|
-
function
|
|
12725
|
+
function ps(F, _, V, Q) {
|
|
12726
12726
|
if (Q.status === 2) return !0;
|
|
12727
12727
|
var Ae = Q.id;
|
|
12728
12728
|
if (Ae === -1) {
|
|
12729
12729
|
if ((Q.id = V.rootSegmentID) === -1) throw Error(e(392));
|
|
12730
|
-
return
|
|
12730
|
+
return ds(F, _, Q);
|
|
12731
12731
|
}
|
|
12732
|
-
return
|
|
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;
|
|
@@ -12754,7 +12754,7 @@ function D4() {
|
|
|
12754
12754
|
}
|
|
12755
12755
|
Ae.splice(0, ve);
|
|
12756
12756
|
var L = F.completedBoundaries;
|
|
12757
|
-
for (ve = 0; ve < L.length; ve++)
|
|
12757
|
+
for (ve = 0; ve < L.length; ve++) hs(F, _, L[ve]);
|
|
12758
12758
|
L.splice(0, ve), s(_), t = new Uint8Array(512), n = 0;
|
|
12759
12759
|
var te = F.partialBoundaries;
|
|
12760
12760
|
for (ve = 0; ve < te.length; ve++) {
|
|
@@ -12762,7 +12762,7 @@ function D4() {
|
|
|
12762
12762
|
e: {
|
|
12763
12763
|
Ae = F, Fe = _;
|
|
12764
12764
|
var Ve = le.completedSegments;
|
|
12765
|
-
for (He = 0; He < Ve.length; He++) if (!
|
|
12765
|
+
for (He = 0; He < Ve.length; He++) if (!ps(
|
|
12766
12766
|
Ae,
|
|
12767
12767
|
Fe,
|
|
12768
12768
|
le,
|
|
@@ -12781,7 +12781,7 @@ function D4() {
|
|
|
12781
12781
|
}
|
|
12782
12782
|
te.splice(0, ve);
|
|
12783
12783
|
var _t = F.completedBoundaries;
|
|
12784
|
-
for (ve = 0; ve < _t.length; ve++)
|
|
12784
|
+
for (ve = 0; ve < _t.length; ve++) hs(F, _, _t[ve]);
|
|
12785
12785
|
_t.splice(0, ve);
|
|
12786
12786
|
} finally {
|
|
12787
12787
|
s(_), F.allPendingTasks === 0 && F.pingedTasks.length === 0 && F.clientRenderedBoundaries.length === 0 && F.completedBoundaries.length === 0 && _.close();
|
|
@@ -12826,7 +12826,7 @@ function D4() {
|
|
|
12826
12826
|
};
|
|
12827
12827
|
Rt.addEventListener("abort", Kt);
|
|
12828
12828
|
}
|
|
12829
|
-
|
|
12829
|
+
fs(He);
|
|
12830
12830
|
});
|
|
12831
12831
|
}, _h.version = "18.3.1", _h;
|
|
12832
12832
|
}
|
|
@@ -14360,18 +14360,18 @@ function P4() {
|
|
|
14360
14360
|
}
|
|
14361
14361
|
}
|
|
14362
14362
|
if (D != null) {
|
|
14363
|
-
var
|
|
14364
|
-
if (j !== null ? (x(j, "value"),
|
|
14363
|
+
var Ze;
|
|
14364
|
+
if (j !== null ? (x(j, "value"), Ze = "" + j) : (ge !== null && (_e || (_e = !0, i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))), Ze = Jt(N)), K(D))
|
|
14365
14365
|
for (var Vt = 0; Vt < D.length; Vt++) {
|
|
14366
14366
|
x(D[Vt], "value");
|
|
14367
14367
|
var Dr = "" + D[Vt];
|
|
14368
|
-
if (Dr ===
|
|
14368
|
+
if (Dr === Ze) {
|
|
14369
14369
|
p.push(vr);
|
|
14370
14370
|
break;
|
|
14371
14371
|
}
|
|
14372
14372
|
}
|
|
14373
14373
|
else
|
|
14374
|
-
x(D, "select.value"), "" + D ===
|
|
14374
|
+
x(D, "select.value"), "" + D === Ze && p.push(vr);
|
|
14375
14375
|
} else ne && p.push(vr);
|
|
14376
14376
|
return p.push(on), O(p, ge, N), N;
|
|
14377
14377
|
}
|
|
@@ -14699,7 +14699,7 @@ function P4() {
|
|
|
14699
14699
|
function Me(p, m) {
|
|
14700
14700
|
return u(p, ae);
|
|
14701
14701
|
}
|
|
14702
|
-
function
|
|
14702
|
+
function Ke(p, m, b) {
|
|
14703
14703
|
if (l(p, xe), b === null)
|
|
14704
14704
|
throw new Error("An ID must have been assigned before we can complete the boundary.");
|
|
14705
14705
|
return l(p, b), u(p, ht);
|
|
@@ -14717,7 +14717,7 @@ function P4() {
|
|
|
14717
14717
|
function pr(p, m) {
|
|
14718
14718
|
return u(p, jt);
|
|
14719
14719
|
}
|
|
14720
|
-
var yr = '<div hidden id="', ur = '">', Tr = "</div>", $r = '<svg aria-hidden="true" style="display:none" id="', yn = '">', Yi = "</svg>", la = '<math aria-hidden="true" style="display:none" id="', Xi = '">', qn = "</math>", Ji = '<table hidden id="', hi = '">', Va = "</table>", za = '<table hidden><tbody id="', ua = '">',
|
|
14720
|
+
var yr = '<div hidden id="', ur = '">', Tr = "</div>", $r = '<svg aria-hidden="true" style="display:none" id="', yn = '">', Yi = "</svg>", la = '<math aria-hidden="true" style="display:none" id="', Xi = '">', qn = "</math>", Ji = '<table hidden id="', hi = '">', Va = "</table>", za = '<table hidden><tbody id="', ua = '">', cs = "</tbody></table>", fs = '<table hidden><tr id="', ki = '">', Ha = "</tr></table>", ds = '<table hidden><colgroup id="', hs = '">', ps = "</colgroup></table>";
|
|
14721
14721
|
function ca(p, m, b, C) {
|
|
14722
14722
|
switch (b.insertionMode) {
|
|
14723
14723
|
case Ye:
|
|
@@ -14736,9 +14736,9 @@ function P4() {
|
|
|
14736
14736
|
case hr:
|
|
14737
14737
|
return l(p, za), l(p, m.segmentPrefix), l(p, C.toString(16)), u(p, ua);
|
|
14738
14738
|
case Zt:
|
|
14739
|
-
return l(p,
|
|
14739
|
+
return l(p, fs), l(p, m.segmentPrefix), l(p, C.toString(16)), u(p, ki);
|
|
14740
14740
|
case dr:
|
|
14741
|
-
return l(p,
|
|
14741
|
+
return l(p, ds), l(p, m.segmentPrefix), l(p, C.toString(16)), u(p, hs);
|
|
14742
14742
|
default:
|
|
14743
14743
|
throw new Error("Unknown insertion mode. This is a bug in React.");
|
|
14744
14744
|
}
|
|
@@ -14755,11 +14755,11 @@ function P4() {
|
|
|
14755
14755
|
case Et:
|
|
14756
14756
|
return u(p, Va);
|
|
14757
14757
|
case hr:
|
|
14758
|
-
return u(p,
|
|
14758
|
+
return u(p, cs);
|
|
14759
14759
|
case Zt:
|
|
14760
14760
|
return u(p, Ha);
|
|
14761
14761
|
case dr:
|
|
14762
|
-
return u(p,
|
|
14762
|
+
return u(p, ps);
|
|
14763
14763
|
default:
|
|
14764
14764
|
throw new Error("Unknown insertion mode. This is a bug in React.");
|
|
14765
14765
|
}
|
|
@@ -14987,7 +14987,7 @@ function P4() {
|
|
|
14987
14987
|
var Pc = typeof WeakMap == "function" ? WeakMap : Map;
|
|
14988
14988
|
Hs = new Pc();
|
|
14989
14989
|
}
|
|
14990
|
-
function
|
|
14990
|
+
function gs(p, m) {
|
|
14991
14991
|
if (!p || Dc)
|
|
14992
14992
|
return "";
|
|
14993
14993
|
{
|
|
@@ -15044,9 +15044,9 @@ function P4() {
|
|
|
15044
15044
|
if (De !== 1 || Ne !== 1)
|
|
15045
15045
|
do
|
|
15046
15046
|
if (De--, Ne--, Ne < 0 || ne[De] !== ge[Ne]) {
|
|
15047
|
-
var
|
|
15047
|
+
var Ze = `
|
|
15048
15048
|
` + ne[De].replace(" at new ", " at ");
|
|
15049
|
-
return p.displayName &&
|
|
15049
|
+
return p.displayName && Ze.includes("<anonymous>") && (Ze = Ze.replace("<anonymous>", p.displayName)), typeof p == "function" && Hs.set(p, Ze), Ze;
|
|
15050
15050
|
}
|
|
15051
15051
|
while (De >= 1 && Ne >= 0);
|
|
15052
15052
|
break;
|
|
@@ -15059,10 +15059,10 @@ function P4() {
|
|
|
15059
15059
|
return typeof p == "function" && Hs.set(p, Dr), Dr;
|
|
15060
15060
|
}
|
|
15061
15061
|
function Rc(p, m, b) {
|
|
15062
|
-
return
|
|
15062
|
+
return gs(p, !0);
|
|
15063
15063
|
}
|
|
15064
15064
|
function Vo(p, m, b) {
|
|
15065
|
-
return
|
|
15065
|
+
return gs(p, !1);
|
|
15066
15066
|
}
|
|
15067
15067
|
function tm(p) {
|
|
15068
15068
|
var m = p.prototype;
|
|
@@ -15072,7 +15072,7 @@ function P4() {
|
|
|
15072
15072
|
if (p == null)
|
|
15073
15073
|
return "";
|
|
15074
15074
|
if (typeof p == "function")
|
|
15075
|
-
return
|
|
15075
|
+
return gs(p, tm(p));
|
|
15076
15076
|
if (typeof p == "string")
|
|
15077
15077
|
return Uo(p);
|
|
15078
15078
|
switch (p) {
|
|
@@ -15163,13 +15163,13 @@ function P4() {
|
|
|
15163
15163
|
return Fi({}, b, N);
|
|
15164
15164
|
}
|
|
15165
15165
|
}
|
|
15166
|
-
var
|
|
15167
|
-
|
|
15166
|
+
var ms;
|
|
15167
|
+
ms = {};
|
|
15168
15168
|
var Yl = null, ja = null;
|
|
15169
15169
|
function Bc(p) {
|
|
15170
15170
|
p.context._currentValue2 = p.parentValue;
|
|
15171
15171
|
}
|
|
15172
|
-
function
|
|
15172
|
+
function vs(p) {
|
|
15173
15173
|
p.context._currentValue2 = p.value;
|
|
15174
15174
|
}
|
|
15175
15175
|
function Xl(p, m) {
|
|
@@ -15184,7 +15184,7 @@ function P4() {
|
|
|
15184
15184
|
throw new Error("The stacks must reach the root at the same time. This is a bug in React.");
|
|
15185
15185
|
Xl(b, C);
|
|
15186
15186
|
}
|
|
15187
|
-
|
|
15187
|
+
vs(m);
|
|
15188
15188
|
}
|
|
15189
15189
|
}
|
|
15190
15190
|
function Ga(p) {
|
|
@@ -15194,7 +15194,7 @@ function P4() {
|
|
|
15194
15194
|
}
|
|
15195
15195
|
function Jl(p) {
|
|
15196
15196
|
var m = p.parent;
|
|
15197
|
-
m !== null && Jl(m),
|
|
15197
|
+
m !== null && Jl(m), vs(p);
|
|
15198
15198
|
}
|
|
15199
15199
|
function Kl(p, m) {
|
|
15200
15200
|
Bc(p);
|
|
@@ -15207,7 +15207,7 @@ function P4() {
|
|
|
15207
15207
|
var b = m.parent;
|
|
15208
15208
|
if (b === null)
|
|
15209
15209
|
throw new Error("The depth must equal at least at zero before reaching the root. This is a bug in React.");
|
|
15210
|
-
p.depth === b.depth ? Xl(p, b) : Go(p, b),
|
|
15210
|
+
p.depth === b.depth ? Xl(p, b) : Go(p, b), vs(m);
|
|
15211
15211
|
}
|
|
15212
15212
|
function $o(p) {
|
|
15213
15213
|
var m = ja, b = p;
|
|
@@ -15215,7 +15215,7 @@ function P4() {
|
|
|
15215
15215
|
}
|
|
15216
15216
|
function th(p, m) {
|
|
15217
15217
|
var b;
|
|
15218
|
-
b = p._currentValue2, p._currentValue2 = m, p._currentRenderer2 !== void 0 && p._currentRenderer2 !== null && p._currentRenderer2 !==
|
|
15218
|
+
b = p._currentValue2, p._currentValue2 = m, p._currentRenderer2 !== void 0 && p._currentRenderer2 !== null && p._currentRenderer2 !== ms && i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."), p._currentRenderer2 = ms;
|
|
15219
15219
|
var C = ja, D = {
|
|
15220
15220
|
parent: C,
|
|
15221
15221
|
depth: C === null ? 0 : C.depth + 1,
|
|
@@ -15232,7 +15232,7 @@ function P4() {
|
|
|
15232
15232
|
m.context !== p && i("The parent context is not the expected context. This is probably a bug in React.");
|
|
15233
15233
|
{
|
|
15234
15234
|
var b = m.parentValue;
|
|
15235
|
-
b === jl ? m.context._currentValue2 = m.context._defaultValue : m.context._currentValue2 = b, p._currentRenderer2 !== void 0 && p._currentRenderer2 !== null && p._currentRenderer2 !==
|
|
15235
|
+
b === jl ? m.context._currentValue2 = m.context._defaultValue : m.context._currentValue2 = b, p._currentRenderer2 !== void 0 && p._currentRenderer2 !== null && p._currentRenderer2 !== ms && i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."), p._currentRenderer2 = ms;
|
|
15236
15236
|
}
|
|
15237
15237
|
return ja = m.parent;
|
|
15238
15238
|
}
|
|
@@ -15319,8 +15319,8 @@ Please check the code for the %s component.`, m, m, C), ih[D] = !0;
|
|
|
15319
15319
|
qo.has(ge) || (qo.add(ge), i("`%s` uses `getDerivedStateFromProps` but its initial state is %s. This is not recommended. Instead, define the initial state by assigning an object to `this.state` in the constructor of `%s`. This ensures that `getDerivedStateFromProps` arguments have a consistent shape.", ge, ne.state === null ? "null" : "undefined", ge));
|
|
15320
15320
|
}
|
|
15321
15321
|
if (typeof p.getDerivedStateFromProps == "function" || typeof ne.getSnapshotBeforeUpdate == "function") {
|
|
15322
|
-
var De = null, Ne = null,
|
|
15323
|
-
if (typeof ne.componentWillMount == "function" && ne.componentWillMount.__suppressDeprecationWarning !== !0 ? De = "componentWillMount" : typeof ne.UNSAFE_componentWillMount == "function" && (De = "UNSAFE_componentWillMount"), typeof ne.componentWillReceiveProps == "function" && ne.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? Ne = "componentWillReceiveProps" : typeof ne.UNSAFE_componentWillReceiveProps == "function" && (Ne = "UNSAFE_componentWillReceiveProps"), typeof ne.componentWillUpdate == "function" && ne.componentWillUpdate.__suppressDeprecationWarning !== !0 ?
|
|
15322
|
+
var De = null, Ne = null, Ze = null;
|
|
15323
|
+
if (typeof ne.componentWillMount == "function" && ne.componentWillMount.__suppressDeprecationWarning !== !0 ? De = "componentWillMount" : typeof ne.UNSAFE_componentWillMount == "function" && (De = "UNSAFE_componentWillMount"), typeof ne.componentWillReceiveProps == "function" && ne.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? Ne = "componentWillReceiveProps" : typeof ne.UNSAFE_componentWillReceiveProps == "function" && (Ne = "UNSAFE_componentWillReceiveProps"), typeof ne.componentWillUpdate == "function" && ne.componentWillUpdate.__suppressDeprecationWarning !== !0 ? Ze = "componentWillUpdate" : typeof ne.UNSAFE_componentWillUpdate == "function" && (Ze = "UNSAFE_componentWillUpdate"), De !== null || Ne !== null || Ze !== null) {
|
|
15324
15324
|
var Vt = An(p) || "Component", Dr = typeof p.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
|
|
15325
15325
|
Zl.has(Vt) || (Zl.add(Vt), i(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
15326
15326
|
|
|
@@ -15329,8 +15329,8 @@ Please check the code for the %s component.`, m, m, C), ih[D] = !0;
|
|
|
15329
15329
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
15330
15330
|
https://reactjs.org/link/unsafe-component-lifecycles`, Vt, Dr, De !== null ? `
|
|
15331
15331
|
` + De : "", Ne !== null ? `
|
|
15332
|
-
` + Ne : "",
|
|
15333
|
-
` +
|
|
15332
|
+
` + Ne : "", Ze !== null ? `
|
|
15333
|
+
` + Ze : ""));
|
|
15334
15334
|
}
|
|
15335
15335
|
}
|
|
15336
15336
|
}
|
|
@@ -15408,9 +15408,9 @@ Please update the following components: %s`,
|
|
|
15408
15408
|
function Lc(p, m, b) {
|
|
15409
15409
|
var C = p.id, D = p.overflow, N = Xo(C) - 1, j = C & ~(1 << N), ne = b + 1, ge = Xo(m) + N;
|
|
15410
15410
|
if (ge > 30) {
|
|
15411
|
-
var De = N - N % 5, Ne = (1 << De) - 1,
|
|
15411
|
+
var De = N - N % 5, Ne = (1 << De) - 1, Ze = (j & Ne).toString(32), Vt = j >> De, Dr = N - De, oi = Xo(m) + Dr, Ss = ne << Dr, Es = Ss | Vt, Ea = Ze + D;
|
|
15412
15412
|
return {
|
|
15413
|
-
id: 1 << oi |
|
|
15413
|
+
id: 1 << oi | Es,
|
|
15414
15414
|
overflow: Ea
|
|
15415
15415
|
};
|
|
15416
15416
|
} else {
|
|
@@ -15435,7 +15435,7 @@ Please update the following components: %s`,
|
|
|
15435
15435
|
function um(p, m) {
|
|
15436
15436
|
return p === m && (p !== 0 || 1 / p === 1 / m) || p !== p && m !== m;
|
|
15437
15437
|
}
|
|
15438
|
-
var cm = typeof Object.is == "function" ? Object.is : um, wa = null, Vc = null, su = null, ln = null, Mi = !1, $s = !1,
|
|
15438
|
+
var cm = typeof Object.is == "function" ? Object.is : um, wa = null, Vc = null, su = null, ln = null, Mi = !1, $s = !1, ys = 0, Ir = null, qa = 0, ou = 25, _i = !1, Ni;
|
|
15439
15439
|
function da() {
|
|
15440
15440
|
if (wa === null)
|
|
15441
15441
|
throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
@@ -15469,16 +15469,16 @@ Incoming: %s`, Ni, "[" + p.join(", ") + "]", "[" + m.join(", ") + "]");
|
|
|
15469
15469
|
function Qa() {
|
|
15470
15470
|
return ln === null ? su === null ? (Mi = !1, su = ln = Ki()) : (Mi = !0, ln = su) : ln.next === null ? (Mi = !1, ln = ln.next = Ki()) : (Mi = !0, ln = ln.next), ln;
|
|
15471
15471
|
}
|
|
15472
|
-
function
|
|
15473
|
-
wa = m, Vc = p, _i = !1,
|
|
15472
|
+
function As(p, m) {
|
|
15473
|
+
wa = m, Vc = p, _i = !1, ys = 0;
|
|
15474
15474
|
}
|
|
15475
15475
|
function dm(p, m, b, C) {
|
|
15476
15476
|
for (; $s; )
|
|
15477
|
-
$s = !1,
|
|
15477
|
+
$s = !1, ys = 0, qa += 1, ln = null, b = p(m, C);
|
|
15478
15478
|
return Jo(), b;
|
|
15479
15479
|
}
|
|
15480
15480
|
function zc() {
|
|
15481
|
-
var p =
|
|
15481
|
+
var p = ys !== 0;
|
|
15482
15482
|
return p;
|
|
15483
15483
|
}
|
|
15484
15484
|
function Jo() {
|
|
@@ -15523,8 +15523,8 @@ Incoming: %s`, Ni, "[" + p.join(", ") + "]", "[" + m.join(", ") + "]");
|
|
|
15523
15523
|
var Ne = ln.queue = {
|
|
15524
15524
|
last: null,
|
|
15525
15525
|
dispatch: null
|
|
15526
|
-
},
|
|
15527
|
-
return [ln.memoizedState,
|
|
15526
|
+
}, Ze = Ne.dispatch = fh.bind(null, wa, Ne);
|
|
15527
|
+
return [ln.memoizedState, Ze];
|
|
15528
15528
|
}
|
|
15529
15529
|
}
|
|
15530
15530
|
function ch(p, m) {
|
|
@@ -15602,7 +15602,7 @@ Incoming: %s`, Ni, "[" + p.join(", ") + "]", "[" + m.join(", ") + "]");
|
|
|
15602
15602
|
var p = Vc, m = am(p.treeContext), b = Gc;
|
|
15603
15603
|
if (b === null)
|
|
15604
15604
|
throw new Error("Invalid hook call. Hooks can only be called inside of the body of a function component.");
|
|
15605
|
-
var C =
|
|
15605
|
+
var C = ys++;
|
|
15606
15606
|
return xr(b, m, C);
|
|
15607
15607
|
}
|
|
15608
15608
|
function uu() {
|
|
@@ -15657,14 +15657,14 @@ Error generating stack: ` + C.message + `
|
|
|
15657
15657
|
` + C.stack;
|
|
15658
15658
|
}
|
|
15659
15659
|
}
|
|
15660
|
-
var fu = t.ReactCurrentDispatcher, Ko = t.ReactDebugCurrentFrame, du = 0, qs = 1, hu = 2, pu = 3, gu = 4, Qs = 0, $c = 1,
|
|
15660
|
+
var fu = t.ReactCurrentDispatcher, Ko = t.ReactDebugCurrentFrame, du = 0, qs = 1, hu = 2, pu = 3, gu = 4, Qs = 0, $c = 1, bs = 2, gh = 12800;
|
|
15661
15661
|
function xm(p) {
|
|
15662
15662
|
return console.error(p), null;
|
|
15663
15663
|
}
|
|
15664
15664
|
function Ws() {
|
|
15665
15665
|
}
|
|
15666
15666
|
function Ys(p, m, b, C, D, N, j, ne, ge) {
|
|
15667
|
-
var De = [], Ne = /* @__PURE__ */ new Set(),
|
|
15667
|
+
var De = [], Ne = /* @__PURE__ */ new Set(), Ze = {
|
|
15668
15668
|
destination: null,
|
|
15669
15669
|
responseState: m,
|
|
15670
15670
|
progressiveChunkSize: C === void 0 ? gh : C,
|
|
@@ -15685,7 +15685,7 @@ Error generating stack: ` + C.message + `
|
|
|
15685
15685
|
onShellError: Ws,
|
|
15686
15686
|
onFatalError: Ws
|
|
15687
15687
|
}, Vt = mu(
|
|
15688
|
-
|
|
15688
|
+
Ze,
|
|
15689
15689
|
0,
|
|
15690
15690
|
null,
|
|
15691
15691
|
b,
|
|
@@ -15694,8 +15694,8 @@ Error generating stack: ` + C.message + `
|
|
|
15694
15694
|
!1
|
|
15695
15695
|
);
|
|
15696
15696
|
Vt.parentFlushed = !0;
|
|
15697
|
-
var Dr =
|
|
15698
|
-
return De.push(Dr),
|
|
15697
|
+
var Dr = ws(Ze, p, null, Vt, Ne, Ho, Yl, im);
|
|
15698
|
+
return De.push(Dr), Ze;
|
|
15699
15699
|
}
|
|
15700
15700
|
function Cm(p, m) {
|
|
15701
15701
|
var b = p.pingedTasks;
|
|
@@ -15716,7 +15716,7 @@ Error generating stack: ` + C.message + `
|
|
|
15716
15716
|
errorDigest: null
|
|
15717
15717
|
};
|
|
15718
15718
|
}
|
|
15719
|
-
function
|
|
15719
|
+
function ws(p, m, b, C, D, N, j, ne) {
|
|
15720
15720
|
p.allPendingTasks++, b === null ? p.pendingRootTasks++ : b.pendingTasks++;
|
|
15721
15721
|
var ge = {
|
|
15722
15722
|
node: m,
|
|
@@ -15751,7 +15751,7 @@ Error generating stack: ` + C.message + `
|
|
|
15751
15751
|
function qc() {
|
|
15752
15752
|
return xa === null || xa.componentStack === null ? "" : cu(xa.componentStack);
|
|
15753
15753
|
}
|
|
15754
|
-
function
|
|
15754
|
+
function xs(p, m) {
|
|
15755
15755
|
p.componentStack = {
|
|
15756
15756
|
tag: 0,
|
|
15757
15757
|
parent: p.componentStack,
|
|
@@ -15794,10 +15794,10 @@ Error generating stack: ` + C.message + `
|
|
|
15794
15794
|
var b = p.onShellError;
|
|
15795
15795
|
b(m);
|
|
15796
15796
|
var C = p.onFatalError;
|
|
15797
|
-
C(m), p.destination !== null ? (p.status =
|
|
15797
|
+
C(m), p.destination !== null ? (p.status = bs, g(p.destination, m)) : (p.status = $c, p.fatalError = m);
|
|
15798
15798
|
}
|
|
15799
15799
|
function tl(p, m, b) {
|
|
15800
|
-
|
|
15800
|
+
xs(m, "Suspense");
|
|
15801
15801
|
var C = m.blockedBoundary, D = m.blockedSegment, N = b.fallback, j = b.children, ne = /* @__PURE__ */ new Set(), ge = Sm(p, ne), De = D.chunks.length, Ne = mu(
|
|
15802
15802
|
p,
|
|
15803
15803
|
De,
|
|
@@ -15808,7 +15808,7 @@ Error generating stack: ` + C.message + `
|
|
|
15808
15808
|
!1
|
|
15809
15809
|
);
|
|
15810
15810
|
D.children.push(Ne), D.lastPushedText = !1;
|
|
15811
|
-
var
|
|
15811
|
+
var Ze = mu(
|
|
15812
15812
|
p,
|
|
15813
15813
|
0,
|
|
15814
15814
|
null,
|
|
@@ -15817,22 +15817,22 @@ Error generating stack: ` + C.message + `
|
|
|
15817
15817
|
!1,
|
|
15818
15818
|
!1
|
|
15819
15819
|
);
|
|
15820
|
-
|
|
15820
|
+
Ze.parentFlushed = !0, m.blockedBoundary = ge, m.blockedSegment = Ze;
|
|
15821
15821
|
try {
|
|
15822
|
-
if (wi(p, m, j), Mo(
|
|
15822
|
+
if (wi(p, m, j), Mo(Ze.chunks, p.responseState, Ze.lastPushedText, Ze.textEmbedded), Ze.status = qs, Xs(ge, Ze), ge.pendingTasks === 0) {
|
|
15823
15823
|
ha(m);
|
|
15824
15824
|
return;
|
|
15825
15825
|
}
|
|
15826
15826
|
} catch (Dr) {
|
|
15827
|
-
|
|
15827
|
+
Ze.status = gu, ge.forceClientRender = !0, ge.errorDigest = el(p, Dr), vu(ge, Dr);
|
|
15828
15828
|
} finally {
|
|
15829
15829
|
m.blockedBoundary = C, m.blockedSegment = D;
|
|
15830
15830
|
}
|
|
15831
|
-
var Vt =
|
|
15831
|
+
var Vt = ws(p, N, C, Ne, ne, m.legacyContext, m.context, m.treeContext);
|
|
15832
15832
|
Vt.componentStack = m.componentStack, p.pingedTasks.push(Vt), ha(m);
|
|
15833
15833
|
}
|
|
15834
15834
|
function Qc(p, m, b, C) {
|
|
15835
|
-
|
|
15835
|
+
xs(m, b);
|
|
15836
15836
|
var D = m.blockedSegment, N = Un(D.chunks, b, C, p.responseState, D.formatContext);
|
|
15837
15837
|
D.lastPushedText = !1;
|
|
15838
15838
|
var j = D.formatContext;
|
|
@@ -15843,7 +15843,7 @@ Error generating stack: ` + C.message + `
|
|
|
15843
15843
|
}
|
|
15844
15844
|
function nl(p, m, b, C, D) {
|
|
15845
15845
|
var N = {};
|
|
15846
|
-
|
|
15846
|
+
As(m, N);
|
|
15847
15847
|
var j = b(C, D);
|
|
15848
15848
|
return dm(b, C, j, D);
|
|
15849
15849
|
}
|
|
@@ -15888,8 +15888,8 @@ Error generating stack: ` + C.message + `
|
|
|
15888
15888
|
}
|
|
15889
15889
|
lh(j, b, C, D), mh(p, m, j, b, C);
|
|
15890
15890
|
} else if (bh(b), ne) {
|
|
15891
|
-
var Ne = m.treeContext,
|
|
15892
|
-
m.treeContext = Lc(Ne,
|
|
15891
|
+
var Ne = m.treeContext, Ze = 1, Vt = 0;
|
|
15892
|
+
m.treeContext = Lc(Ne, Ze, Vt);
|
|
15893
15893
|
try {
|
|
15894
15894
|
Li(p, m, j);
|
|
15895
15895
|
} finally {
|
|
@@ -15955,7 +15955,7 @@ Error generating stack: ` + C.message + `
|
|
|
15955
15955
|
ne = m.context, m.context = th(D, N), Li(p, m, j), m.context = rh(D), ne !== m.context && i("Popping the context provider did not return back to the original snapshot. This is a bug in React.");
|
|
15956
15956
|
}
|
|
15957
15957
|
function Tm(p, m, b, C, D) {
|
|
15958
|
-
|
|
15958
|
+
xs(m, "Lazy");
|
|
15959
15959
|
var N = b._payload, j = b._init, ne = j(N), ge = Zc(ne, C);
|
|
15960
15960
|
ef(p, m, ne, ge, D), ha(m);
|
|
15961
15961
|
}
|
|
@@ -15990,7 +15990,7 @@ Error generating stack: ` + C.message + `
|
|
|
15990
15990
|
return;
|
|
15991
15991
|
}
|
|
15992
15992
|
case _o: {
|
|
15993
|
-
|
|
15993
|
+
xs(m, "SuspenseList"), Li(p, m, C.children), ha(m);
|
|
15994
15994
|
return;
|
|
15995
15995
|
}
|
|
15996
15996
|
case wc:
|
|
@@ -16054,7 +16054,7 @@ Error generating stack: ` + C.message + `
|
|
|
16054
16054
|
try {
|
|
16055
16055
|
Ne = De(ge);
|
|
16056
16056
|
} catch (Js) {
|
|
16057
|
-
throw typeof Js == "object" && Js !== null && typeof Js.then == "function" &&
|
|
16057
|
+
throw typeof Js == "object" && Js !== null && typeof Js.then == "function" && xs(m, "Lazy"), Js;
|
|
16058
16058
|
}
|
|
16059
16059
|
Li(p, m, Ne);
|
|
16060
16060
|
return;
|
|
@@ -16064,10 +16064,10 @@ Error generating stack: ` + C.message + `
|
|
|
16064
16064
|
yu(p, m, b);
|
|
16065
16065
|
return;
|
|
16066
16066
|
}
|
|
16067
|
-
var
|
|
16068
|
-
if (
|
|
16069
|
-
Im(b,
|
|
16070
|
-
var Vt =
|
|
16067
|
+
var Ze = Zg(b);
|
|
16068
|
+
if (Ze) {
|
|
16069
|
+
Im(b, Ze);
|
|
16070
|
+
var Vt = Ze.call(b);
|
|
16071
16071
|
if (Vt) {
|
|
16072
16072
|
var Dr = Vt.next();
|
|
16073
16073
|
if (!Dr.done) {
|
|
@@ -16081,12 +16081,12 @@ Error generating stack: ` + C.message + `
|
|
|
16081
16081
|
return;
|
|
16082
16082
|
}
|
|
16083
16083
|
}
|
|
16084
|
-
var
|
|
16085
|
-
throw new Error("Objects are not valid as a React child (found: " + (
|
|
16084
|
+
var Ss = Object.prototype.toString.call(b);
|
|
16085
|
+
throw new Error("Objects are not valid as a React child (found: " + (Ss === "[object Object]" ? "object with keys {" + Object.keys(b).join(", ") + "}" : Ss) + "). If you meant to render a collection of children, use an array instead.");
|
|
16086
16086
|
}
|
|
16087
16087
|
if (typeof b == "string") {
|
|
16088
|
-
var
|
|
16089
|
-
|
|
16088
|
+
var Es = m.blockedSegment;
|
|
16089
|
+
Es.lastPushedText = Nl(m.blockedSegment.chunks, b, p.responseState, Es.lastPushedText);
|
|
16090
16090
|
return;
|
|
16091
16091
|
}
|
|
16092
16092
|
if (typeof b == "number") {
|
|
@@ -16119,7 +16119,7 @@ Error generating stack: ` + C.message + `
|
|
|
16119
16119
|
!0
|
|
16120
16120
|
);
|
|
16121
16121
|
C.children.push(N), C.lastPushedText = !1;
|
|
16122
|
-
var j =
|
|
16122
|
+
var j = ws(p, m.node, m.blockedBoundary, N, m.abortSet, m.legacyContext, m.context, m.treeContext);
|
|
16123
16123
|
m.componentStack !== null && (j.componentStack = m.componentStack.parent);
|
|
16124
16124
|
var ne = j.ping;
|
|
16125
16125
|
b.then(ne, ne);
|
|
@@ -16151,7 +16151,7 @@ Error generating stack: ` + C.message + `
|
|
|
16151
16151
|
function Sh(p, m, b) {
|
|
16152
16152
|
var C = p.blockedBoundary, D = p.blockedSegment;
|
|
16153
16153
|
if (D.status = pu, C === null)
|
|
16154
|
-
m.allPendingTasks--, m.status !==
|
|
16154
|
+
m.allPendingTasks--, m.status !== bs && (m.status = bs, m.destination !== null && h(m.destination));
|
|
16155
16155
|
else {
|
|
16156
16156
|
if (C.pendingTasks--, !C.forceClientRender) {
|
|
16157
16157
|
C.forceClientRender = !0;
|
|
@@ -16233,7 +16233,7 @@ Error generating stack: ` + C.message + `
|
|
|
16233
16233
|
}
|
|
16234
16234
|
}
|
|
16235
16235
|
function tf(p) {
|
|
16236
|
-
if (p.status !==
|
|
16236
|
+
if (p.status !== bs) {
|
|
16237
16237
|
var m = nh(), b = fu.current;
|
|
16238
16238
|
fu.current = hh;
|
|
16239
16239
|
var C;
|
|
@@ -16254,7 +16254,7 @@ Error generating stack: ` + C.message + `
|
|
|
16254
16254
|
}
|
|
16255
16255
|
}
|
|
16256
16256
|
}
|
|
16257
|
-
function
|
|
16257
|
+
function Cs(p, m, b) {
|
|
16258
16258
|
switch (b.parentFlushed = !0, b.status) {
|
|
16259
16259
|
case du: {
|
|
16260
16260
|
var C = b.id = p.nextSegmentId++;
|
|
@@ -16278,16 +16278,16 @@ Error generating stack: ` + C.message + `
|
|
|
16278
16278
|
function sl(p, m, b) {
|
|
16279
16279
|
var C = b.boundary;
|
|
16280
16280
|
if (C === null)
|
|
16281
|
-
return
|
|
16281
|
+
return Cs(p, m, b);
|
|
16282
16282
|
if (C.parentFlushed = !0, C.forceClientRender)
|
|
16283
|
-
return ba(m, p.responseState, C.errorDigest, C.errorMessage, C.errorComponentStack),
|
|
16283
|
+
return ba(m, p.responseState, C.errorDigest, C.errorMessage, C.errorComponentStack), Cs(p, m, b), Xg(m, p.responseState);
|
|
16284
16284
|
if (C.pendingTasks > 0) {
|
|
16285
16285
|
C.rootSegmentID = p.nextSegmentId++, C.completedSegments.length > 0 && p.partialBoundaries.push(C);
|
|
16286
16286
|
var D = C.id = mr(p.responseState);
|
|
16287
|
-
return
|
|
16287
|
+
return Ke(m, p.responseState, D), Cs(p, m, b), Pt(m, p.responseState);
|
|
16288
16288
|
} else {
|
|
16289
16289
|
if (C.byteSize > p.progressiveChunkSize)
|
|
16290
|
-
return C.rootSegmentID = p.nextSegmentId++, p.completedBoundaries.push(C),
|
|
16290
|
+
return C.rootSegmentID = p.nextSegmentId++, p.completedBoundaries.push(C), Ke(m, p.responseState, C.id), Cs(p, m, b), Pt(m, p.responseState);
|
|
16291
16291
|
fa(m, p.responseState);
|
|
16292
16292
|
var N = C.completedSegments;
|
|
16293
16293
|
if (N.length !== 1)
|
|
@@ -16362,8 +16362,8 @@ Error generating stack: ` + C.message + `
|
|
|
16362
16362
|
ge.splice(0, D);
|
|
16363
16363
|
var Ne = p.completedBoundaries;
|
|
16364
16364
|
for (D = 0; D < Ne.length; D++) {
|
|
16365
|
-
var
|
|
16366
|
-
if (!ol(p, m,
|
|
16365
|
+
var Ze = Ne[D];
|
|
16366
|
+
if (!ol(p, m, Ze)) {
|
|
16367
16367
|
p.destination = null, D++, Ne.splice(0, D);
|
|
16368
16368
|
return;
|
|
16369
16369
|
}
|
|
@@ -16380,10 +16380,10 @@ Error generating stack: ` + C.message + `
|
|
|
16380
16380
|
}
|
|
16381
16381
|
function Mm(p, m) {
|
|
16382
16382
|
if (p.status === $c) {
|
|
16383
|
-
p.status =
|
|
16383
|
+
p.status = bs, g(m, p.fatalError);
|
|
16384
16384
|
return;
|
|
16385
16385
|
}
|
|
16386
|
-
if (p.status !==
|
|
16386
|
+
if (p.status !== bs && p.destination === null) {
|
|
16387
16387
|
p.destination = m;
|
|
16388
16388
|
try {
|
|
16389
16389
|
bu(p, m);
|
|
@@ -16406,11 +16406,11 @@ Error generating stack: ` + C.message + `
|
|
|
16406
16406
|
}
|
|
16407
16407
|
function Ih(p, m, b, C) {
|
|
16408
16408
|
var D = !1, N = null, j = "", ne = {
|
|
16409
|
-
push: function(
|
|
16410
|
-
return
|
|
16409
|
+
push: function(Ze) {
|
|
16410
|
+
return Ze !== null && (j += Ze), !0;
|
|
16411
16411
|
},
|
|
16412
|
-
destroy: function(
|
|
16413
|
-
D = !0, N =
|
|
16412
|
+
destroy: function(Ze) {
|
|
16413
|
+
D = !0, N = Ze;
|
|
16414
16414
|
}
|
|
16415
16415
|
}, ge = !1;
|
|
16416
16416
|
function De() {
|
|
@@ -17997,9 +17997,9 @@ function R4() {
|
|
|
17997
17997
|
if (C != null) {
|
|
17998
17998
|
var Ne;
|
|
17999
17999
|
if (N !== null ? (R(N, "value"), Ne = "" + N) : (ne !== null && ($n || ($n = !0, i("Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected."))), Ne = yi(D)), xt(C))
|
|
18000
|
-
for (var
|
|
18001
|
-
R(C[
|
|
18002
|
-
var Vt = "" + C[
|
|
18000
|
+
for (var Ze = 0; Ze < C.length; Ze++) {
|
|
18001
|
+
R(C[Ze], "value");
|
|
18002
|
+
var Vt = "" + C[Ze];
|
|
18003
18003
|
if (Vt === Ne) {
|
|
18004
18004
|
w.push(Ai);
|
|
18005
18005
|
break;
|
|
@@ -18330,9 +18330,9 @@ function R4() {
|
|
|
18330
18330
|
var b = y(m.toString(16));
|
|
18331
18331
|
return h(w, b), f(w, be);
|
|
18332
18332
|
}
|
|
18333
|
-
var
|
|
18333
|
+
var Ke = A("<!--$-->"), Xe = A('<!--$?--><template id="'), yt = A('"></template>'), Pt = A("<!--$!-->"), pr = A("<!--/$-->"), yr = A("<template"), ur = A('"'), Tr = A(' data-dgst="'), $r = A(' data-msg="'), yn = A(' data-stck="'), Yi = A("></template>");
|
|
18334
18334
|
function la(w, p) {
|
|
18335
|
-
return f(w,
|
|
18335
|
+
return f(w, Ke);
|
|
18336
18336
|
}
|
|
18337
18337
|
function Xi(w, p, m) {
|
|
18338
18338
|
if (h(w, Xe), m === null)
|
|
@@ -18352,16 +18352,16 @@ 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('">'),
|
|
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:
|
|
18359
18359
|
case xr:
|
|
18360
18360
|
return h(w, za), h(w, p.segmentPrefix), h(w, y(b.toString(16))), f(w, ua);
|
|
18361
18361
|
case wn:
|
|
18362
|
-
return h(w,
|
|
18362
|
+
return h(w, fs), h(w, p.segmentPrefix), h(w, y(b.toString(16))), f(w, ki);
|
|
18363
18363
|
case Rr:
|
|
18364
|
-
return h(w,
|
|
18364
|
+
return h(w, ds), h(w, p.segmentPrefix), h(w, y(b.toString(16))), f(w, hs);
|
|
18365
18365
|
case Gn:
|
|
18366
18366
|
return h(w, ca), h(w, p.segmentPrefix), h(w, y(b.toString(16))), f(w, zi);
|
|
18367
18367
|
// TODO: For the rest of these, there will be extra wrapper nodes that never
|
|
@@ -18382,11 +18382,11 @@ function R4() {
|
|
|
18382
18382
|
switch (p.insertionMode) {
|
|
18383
18383
|
case mr:
|
|
18384
18384
|
case xr:
|
|
18385
|
-
return f(w,
|
|
18385
|
+
return f(w, cs);
|
|
18386
18386
|
case wn:
|
|
18387
18387
|
return f(w, Ha);
|
|
18388
18388
|
case Rr:
|
|
18389
|
-
return f(w,
|
|
18389
|
+
return f(w, ps);
|
|
18390
18390
|
case Gn:
|
|
18391
18391
|
return f(w, F);
|
|
18392
18392
|
case xn:
|
|
@@ -18560,7 +18560,7 @@ function R4() {
|
|
|
18560
18560
|
}
|
|
18561
18561
|
}
|
|
18562
18562
|
var Hs = t.ReactCurrentDispatcher, Pc;
|
|
18563
|
-
function
|
|
18563
|
+
function gs(w, p, m) {
|
|
18564
18564
|
{
|
|
18565
18565
|
if (Pc === void 0)
|
|
18566
18566
|
try {
|
|
@@ -18646,7 +18646,7 @@ function R4() {
|
|
|
18646
18646
|
} finally {
|
|
18647
18647
|
Rc = !1, Hs.current = D, Dc(), Error.prepareStackTrace = C;
|
|
18648
18648
|
}
|
|
18649
|
-
var
|
|
18649
|
+
var Ze = w ? w.displayName || w.name : "", Vt = Ze ? gs(Ze) : "";
|
|
18650
18650
|
return typeof w == "function" && Vo.set(w, Vt), Vt;
|
|
18651
18651
|
}
|
|
18652
18652
|
function Zd(w, p, m) {
|
|
@@ -18665,12 +18665,12 @@ function R4() {
|
|
|
18665
18665
|
if (typeof w == "function")
|
|
18666
18666
|
return zo(w, ql(w));
|
|
18667
18667
|
if (typeof w == "string")
|
|
18668
|
-
return
|
|
18668
|
+
return gs(w);
|
|
18669
18669
|
switch (w) {
|
|
18670
18670
|
case wc:
|
|
18671
|
-
return
|
|
18671
|
+
return gs("Suspense");
|
|
18672
18672
|
case xc:
|
|
18673
|
-
return
|
|
18673
|
+
return gs("SuspenseList");
|
|
18674
18674
|
}
|
|
18675
18675
|
if (typeof w == "object")
|
|
18676
18676
|
switch (w.$$typeof) {
|
|
@@ -18715,8 +18715,8 @@ function R4() {
|
|
|
18715
18715
|
}
|
|
18716
18716
|
}
|
|
18717
18717
|
}
|
|
18718
|
-
var
|
|
18719
|
-
|
|
18718
|
+
var ms;
|
|
18719
|
+
ms = {};
|
|
18720
18720
|
var Yl = {};
|
|
18721
18721
|
Object.freeze(Yl);
|
|
18722
18722
|
function ja(w, p) {
|
|
@@ -18739,7 +18739,7 @@ function R4() {
|
|
|
18739
18739
|
if (typeof w.getChildContext != "function") {
|
|
18740
18740
|
{
|
|
18741
18741
|
var C = dn(p) || "Unknown";
|
|
18742
|
-
|
|
18742
|
+
ms[C] || (ms[C] = !0, i("%s.childContextTypes is specified but there is no getChildContext() method on the instance. You can either define getChildContext() on %s or remove childContextTypes from it.", C, C));
|
|
18743
18743
|
}
|
|
18744
18744
|
return m;
|
|
18745
18745
|
}
|
|
@@ -18754,8 +18754,8 @@ function R4() {
|
|
|
18754
18754
|
return Bi({}, m, D);
|
|
18755
18755
|
}
|
|
18756
18756
|
}
|
|
18757
|
-
var
|
|
18758
|
-
|
|
18757
|
+
var vs;
|
|
18758
|
+
vs = {};
|
|
18759
18759
|
var Xl = null, Ga = null;
|
|
18760
18760
|
function Jl(w) {
|
|
18761
18761
|
w.context._currentValue = w.parentValue;
|
|
@@ -18806,7 +18806,7 @@ function R4() {
|
|
|
18806
18806
|
}
|
|
18807
18807
|
function Mc(w, p) {
|
|
18808
18808
|
var m;
|
|
18809
|
-
m = w._currentValue, w._currentValue = p, w._currentRenderer !== void 0 && w._currentRenderer !== null && w._currentRenderer !==
|
|
18809
|
+
m = w._currentValue, w._currentValue = p, w._currentRenderer !== void 0 && w._currentRenderer !== null && w._currentRenderer !== vs && i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."), w._currentRenderer = vs;
|
|
18810
18810
|
var b = Ga, C = {
|
|
18811
18811
|
parent: b,
|
|
18812
18812
|
depth: b === null ? 0 : b.depth + 1,
|
|
@@ -18823,7 +18823,7 @@ function R4() {
|
|
|
18823
18823
|
p.context !== w && i("The parent context is not the expected context. This is probably a bug in React.");
|
|
18824
18824
|
{
|
|
18825
18825
|
var m = p.parentValue;
|
|
18826
|
-
m === em ? p.context._currentValue = p.context._defaultValue : p.context._currentValue = m, w._currentRenderer !== void 0 && w._currentRenderer !== null && w._currentRenderer !==
|
|
18826
|
+
m === em ? p.context._currentValue = p.context._defaultValue : p.context._currentValue = m, w._currentRenderer !== void 0 && w._currentRenderer !== null && w._currentRenderer !== vs && i("Detected multiple renderers concurrently rendering the same context provider. This is currently unsupported."), w._currentRenderer = vs;
|
|
18827
18827
|
}
|
|
18828
18828
|
return Ga = p.parent;
|
|
18829
18829
|
}
|
|
@@ -18912,13 +18912,13 @@ Please check the code for the %s component.`, p, p, b), Zl[C] = !0;
|
|
|
18912
18912
|
if (typeof w.getDerivedStateFromProps == "function" || typeof j.getSnapshotBeforeUpdate == "function") {
|
|
18913
18913
|
var ge = null, De = null, Ne = null;
|
|
18914
18914
|
if (typeof j.componentWillMount == "function" && j.componentWillMount.__suppressDeprecationWarning !== !0 ? ge = "componentWillMount" : typeof j.UNSAFE_componentWillMount == "function" && (ge = "UNSAFE_componentWillMount"), typeof j.componentWillReceiveProps == "function" && j.componentWillReceiveProps.__suppressDeprecationWarning !== !0 ? De = "componentWillReceiveProps" : typeof j.UNSAFE_componentWillReceiveProps == "function" && (De = "UNSAFE_componentWillReceiveProps"), typeof j.componentWillUpdate == "function" && j.componentWillUpdate.__suppressDeprecationWarning !== !0 ? Ne = "componentWillUpdate" : typeof j.UNSAFE_componentWillUpdate == "function" && (Ne = "UNSAFE_componentWillUpdate"), ge !== null || De !== null || Ne !== null) {
|
|
18915
|
-
var
|
|
18916
|
-
Qo.has(
|
|
18915
|
+
var Ze = dn(w) || "Component", Vt = typeof w.getDerivedStateFromProps == "function" ? "getDerivedStateFromProps()" : "getSnapshotBeforeUpdate()";
|
|
18916
|
+
Qo.has(Ze) || (Qo.add(Ze), i(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
18917
18917
|
|
|
18918
18918
|
%s uses %s but also contains the following legacy lifecycles:%s%s%s
|
|
18919
18919
|
|
|
18920
18920
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
18921
|
-
https://reactjs.org/link/unsafe-component-lifecycles`,
|
|
18921
|
+
https://reactjs.org/link/unsafe-component-lifecycles`, Ze, Vt, ge !== null ? `
|
|
18922
18922
|
` + ge : "", De !== null ? `
|
|
18923
18923
|
` + De : "", Ne !== null ? `
|
|
18924
18924
|
` + Ne : ""));
|
|
@@ -18999,10 +18999,10 @@ Please update the following components: %s`,
|
|
|
18999
18999
|
function Uc(w, p, m) {
|
|
19000
19000
|
var b = w.id, C = w.overflow, D = au(b) - 1, N = b & ~(1 << D), j = m + 1, ne = au(p) + D;
|
|
19001
19001
|
if (ne > 30) {
|
|
19002
|
-
var ge = D - D % 5, De = (1 << ge) - 1, Ne = (N & De).toString(32),
|
|
19002
|
+
var ge = D - D % 5, De = (1 << ge) - 1, Ne = (N & De).toString(32), Ze = N >> ge, Vt = D - ge, Dr = au(p) + Vt, oi = j << Vt, Ss = oi | Ze, Es = Ne + C;
|
|
19003
19003
|
return {
|
|
19004
|
-
id: 1 << Dr |
|
|
19005
|
-
overflow:
|
|
19004
|
+
id: 1 << Dr | Ss,
|
|
19005
|
+
overflow: Es
|
|
19006
19006
|
};
|
|
19007
19007
|
} else {
|
|
19008
19008
|
var Ea = j << D, Js = Ea | N, Lm = C;
|
|
@@ -19026,8 +19026,8 @@ Please update the following components: %s`,
|
|
|
19026
19026
|
function su(w, p) {
|
|
19027
19027
|
return w === p && (w !== 0 || 1 / w === 1 / p) || w !== w && p !== p;
|
|
19028
19028
|
}
|
|
19029
|
-
var ln = typeof Object.is == "function" ? Object.is : su, Mi = null, $s = null,
|
|
19030
|
-
function
|
|
19029
|
+
var ln = typeof Object.is == "function" ? Object.is : su, Mi = null, $s = null, ys = null, Ir = null, qa = !1, ou = !1, _i = 0, Ni = null, da = 0, fm = 25, Ki = !1, Qa;
|
|
19030
|
+
function As() {
|
|
19031
19031
|
if (Mi === null)
|
|
19032
19032
|
throw new Error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
|
19033
19033
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
@@ -19058,7 +19058,7 @@ Incoming: %s`, Qa, "[" + w.join(", ") + "]", "[" + p.join(", ") + "]");
|
|
|
19058
19058
|
};
|
|
19059
19059
|
}
|
|
19060
19060
|
function Jo() {
|
|
19061
|
-
return Ir === null ?
|
|
19061
|
+
return Ir === null ? ys === null ? (qa = !1, ys = Ir = zc()) : (qa = !0, Ir = ys) : Ir.next === null ? (qa = !1, Ir = Ir.next = zc()) : (qa = !0, Ir = Ir.next), Ir;
|
|
19062
19062
|
}
|
|
19063
19063
|
function hm(w, p) {
|
|
19064
19064
|
Mi = p, $s = w, Ki = !1, _i = 0;
|
|
@@ -19073,13 +19073,13 @@ Incoming: %s`, Qa, "[" + w.join(", ") + "]", "[" + p.join(", ") + "]");
|
|
|
19073
19073
|
return w;
|
|
19074
19074
|
}
|
|
19075
19075
|
function Hc() {
|
|
19076
|
-
Ki = !1, Mi = null, $s = null, ou = !1,
|
|
19076
|
+
Ki = !1, Mi = null, $s = null, ou = !1, ys = null, da = 0, Ni = null, Ir = null;
|
|
19077
19077
|
}
|
|
19078
19078
|
function uh(w) {
|
|
19079
19079
|
return Ki && i("Context can only be read while React is rendering. In classes, you can read it in the render method or getDerivedStateFromProps. In function components, you can read it directly in the function body, but not inside Hooks like useReducer() or useMemo()."), js(w);
|
|
19080
19080
|
}
|
|
19081
19081
|
function ch(w) {
|
|
19082
|
-
return Qa = "useContext",
|
|
19082
|
+
return Qa = "useContext", As(), js(w);
|
|
19083
19083
|
}
|
|
19084
19084
|
function jc(w, p) {
|
|
19085
19085
|
return typeof p == "function" ? p(w) : p;
|
|
@@ -19092,7 +19092,7 @@ Incoming: %s`, Qa, "[" + w.join(", ") + "]", "[" + p.join(", ") + "]");
|
|
|
19092
19092
|
);
|
|
19093
19093
|
}
|
|
19094
19094
|
function fh(w, p, m) {
|
|
19095
|
-
if (w !== jc && (Qa = "useReducer"), Mi =
|
|
19095
|
+
if (w !== jc && (Qa = "useReducer"), Mi = As(), Ir = Jo(), qa) {
|
|
19096
19096
|
var b = Ir.queue, C = b.dispatch;
|
|
19097
19097
|
if (Ni !== null) {
|
|
19098
19098
|
var D = Ni.get(b);
|
|
@@ -19119,7 +19119,7 @@ Incoming: %s`, Qa, "[" + w.join(", ") + "]", "[" + p.join(", ") + "]");
|
|
|
19119
19119
|
}
|
|
19120
19120
|
}
|
|
19121
19121
|
function dh(w, p) {
|
|
19122
|
-
Mi =
|
|
19122
|
+
Mi = As(), Ir = Jo();
|
|
19123
19123
|
var m = p === void 0 ? null : p;
|
|
19124
19124
|
if (Ir !== null) {
|
|
19125
19125
|
var b = Ir.memoizedState;
|
|
@@ -19134,7 +19134,7 @@ Incoming: %s`, Qa, "[" + w.join(", ") + "]", "[" + p.join(", ") + "]");
|
|
|
19134
19134
|
return Ki = !1, Ir.memoizedState = [D, m], D;
|
|
19135
19135
|
}
|
|
19136
19136
|
function mm(w) {
|
|
19137
|
-
Mi =
|
|
19137
|
+
Mi = As(), Ir = Jo();
|
|
19138
19138
|
var p = Ir.memoizedState;
|
|
19139
19139
|
if (p === null) {
|
|
19140
19140
|
var m = {
|
|
@@ -19173,7 +19173,7 @@ Incoming: %s`, Qa, "[" + w.join(", ") + "]", "[" + p.join(", ") + "]");
|
|
|
19173
19173
|
}, p);
|
|
19174
19174
|
}
|
|
19175
19175
|
function bm(w, p, m) {
|
|
19176
|
-
return
|
|
19176
|
+
return As(), p(w._source);
|
|
19177
19177
|
}
|
|
19178
19178
|
function wm(w, p, m) {
|
|
19179
19179
|
if (m === void 0)
|
|
@@ -19181,13 +19181,13 @@ Incoming: %s`, Qa, "[" + w.join(", ") + "]", "[" + p.join(", ") + "]");
|
|
|
19181
19181
|
return m();
|
|
19182
19182
|
}
|
|
19183
19183
|
function uu(w) {
|
|
19184
|
-
return
|
|
19184
|
+
return As(), w;
|
|
19185
19185
|
}
|
|
19186
19186
|
function hh() {
|
|
19187
19187
|
throw new Error("startTransition cannot be called during server rendering.");
|
|
19188
19188
|
}
|
|
19189
19189
|
function Gc() {
|
|
19190
|
-
return
|
|
19190
|
+
return As(), [!1, hh];
|
|
19191
19191
|
}
|
|
19192
19192
|
function ph() {
|
|
19193
19193
|
var w = $s, p = om(w.treeContext), m = Ko;
|
|
@@ -19230,7 +19230,7 @@ Incoming: %s`, Qa, "[" + w.join(", ") + "]", "[" + p.join(", ") + "]");
|
|
|
19230
19230
|
do {
|
|
19231
19231
|
switch (m.tag) {
|
|
19232
19232
|
case 0:
|
|
19233
|
-
p +=
|
|
19233
|
+
p += gs(m.type, null, null);
|
|
19234
19234
|
break;
|
|
19235
19235
|
case 1:
|
|
19236
19236
|
p += Oc(m.type, null, null);
|
|
@@ -19248,11 +19248,11 @@ Error generating stack: ` + b.message + `
|
|
|
19248
19248
|
` + b.stack;
|
|
19249
19249
|
}
|
|
19250
19250
|
}
|
|
19251
|
-
var hu = t.ReactCurrentDispatcher, pu = t.ReactDebugCurrentFrame, gu = 0, Qs = 1, $c = 2,
|
|
19251
|
+
var hu = t.ReactCurrentDispatcher, pu = t.ReactDebugCurrentFrame, gu = 0, Qs = 1, $c = 2, bs = 3, gh = 4, xm = 0, Ws = 1, Ys = 2, Cm = 12800;
|
|
19252
19252
|
function Sm(w) {
|
|
19253
19253
|
return console.error(w), null;
|
|
19254
19254
|
}
|
|
19255
|
-
function
|
|
19255
|
+
function ws() {
|
|
19256
19256
|
}
|
|
19257
19257
|
function mu(w, p, m, b, C, D, N, j, ne) {
|
|
19258
19258
|
var ge = [], De = /* @__PURE__ */ new Set(), Ne = {
|
|
@@ -19271,11 +19271,11 @@ Error generating stack: ` + b.message + `
|
|
|
19271
19271
|
completedBoundaries: [],
|
|
19272
19272
|
partialBoundaries: [],
|
|
19273
19273
|
onError: C === void 0 ? Sm : C,
|
|
19274
|
-
onAllReady: D === void 0 ?
|
|
19275
|
-
onShellReady: N === void 0 ?
|
|
19276
|
-
onShellError: j === void 0 ?
|
|
19277
|
-
onFatalError: ne === void 0 ?
|
|
19278
|
-
},
|
|
19274
|
+
onAllReady: D === void 0 ? ws : D,
|
|
19275
|
+
onShellReady: N === void 0 ? ws : N,
|
|
19276
|
+
onShellError: j === void 0 ? ws : j,
|
|
19277
|
+
onFatalError: ne === void 0 ? ws : ne
|
|
19278
|
+
}, Ze = Zo(
|
|
19279
19279
|
Ne,
|
|
19280
19280
|
0,
|
|
19281
19281
|
null,
|
|
@@ -19284,8 +19284,8 @@ Error generating stack: ` + b.message + `
|
|
|
19284
19284
|
!1,
|
|
19285
19285
|
!1
|
|
19286
19286
|
);
|
|
19287
|
-
|
|
19288
|
-
var Vt =
|
|
19287
|
+
Ze.parentFlushed = !0;
|
|
19288
|
+
var Vt = xs(Ne, w, null, Ze, De, Yl, Xl, sm);
|
|
19289
19289
|
return ge.push(Vt), Ne;
|
|
19290
19290
|
}
|
|
19291
19291
|
function xa(w, p) {
|
|
@@ -19307,7 +19307,7 @@ Error generating stack: ` + b.message + `
|
|
|
19307
19307
|
errorDigest: null
|
|
19308
19308
|
};
|
|
19309
19309
|
}
|
|
19310
|
-
function
|
|
19310
|
+
function xs(w, p, m, b, C, D, N, j) {
|
|
19311
19311
|
w.allPendingTasks++, m === null ? w.pendingRootTasks++ : m.pendingTasks++;
|
|
19312
19312
|
var ne = {
|
|
19313
19313
|
node: p,
|
|
@@ -19410,7 +19410,7 @@ Error generating stack: ` + b.message + `
|
|
|
19410
19410
|
);
|
|
19411
19411
|
Ne.parentFlushed = !0, p.blockedBoundary = ne, p.blockedSegment = Ne;
|
|
19412
19412
|
try {
|
|
19413
|
-
if (Xs(w, p, N), on(Ne.chunks, w.responseState, Ne.lastPushedText, Ne.textEmbedded), Ne.status = Qs,
|
|
19413
|
+
if (Xs(w, p, N), on(Ne.chunks, w.responseState, Ne.lastPushedText, Ne.textEmbedded), Ne.status = Qs, Cs(ne, Ne), ne.pendingTasks === 0) {
|
|
19414
19414
|
Zi(p);
|
|
19415
19415
|
return;
|
|
19416
19416
|
}
|
|
@@ -19419,8 +19419,8 @@ Error generating stack: ` + b.message + `
|
|
|
19419
19419
|
} finally {
|
|
19420
19420
|
p.blockedBoundary = b, p.blockedSegment = C;
|
|
19421
19421
|
}
|
|
19422
|
-
var
|
|
19423
|
-
|
|
19422
|
+
var Ze = xs(w, D, b, De, j, p.legacyContext, p.context, p.treeContext);
|
|
19423
|
+
Ze.componentStack = p.componentStack, w.pingedTasks.push(Ze), Zi(p);
|
|
19424
19424
|
}
|
|
19425
19425
|
function Em(w, p, m, b) {
|
|
19426
19426
|
Sa(p, m);
|
|
@@ -19479,8 +19479,8 @@ Error generating stack: ` + b.message + `
|
|
|
19479
19479
|
}
|
|
19480
19480
|
Xo(N, m, b, C), Wc(w, p, N, m, b);
|
|
19481
19481
|
} else if (Fm(m), j) {
|
|
19482
|
-
var De = p.treeContext, Ne = 1,
|
|
19483
|
-
p.treeContext = Uc(De, Ne,
|
|
19482
|
+
var De = p.treeContext, Ne = 1, Ze = 0;
|
|
19483
|
+
p.treeContext = Uc(De, Ne, Ze);
|
|
19484
19484
|
try {
|
|
19485
19485
|
wi(w, p, N);
|
|
19486
19486
|
} finally {
|
|
@@ -19658,13 +19658,13 @@ Error generating stack: ` + b.message + `
|
|
|
19658
19658
|
var Ne = Lo(m);
|
|
19659
19659
|
if (Ne) {
|
|
19660
19660
|
Pm(m, Ne);
|
|
19661
|
-
var
|
|
19662
|
-
if (
|
|
19663
|
-
var Vt =
|
|
19661
|
+
var Ze = Ne.call(m);
|
|
19662
|
+
if (Ze) {
|
|
19663
|
+
var Vt = Ze.next();
|
|
19664
19664
|
if (!Vt.done) {
|
|
19665
19665
|
var Dr = [];
|
|
19666
19666
|
do
|
|
19667
|
-
Dr.push(Vt.value), Vt =
|
|
19667
|
+
Dr.push(Vt.value), Vt = Ze.next();
|
|
19668
19668
|
while (!Vt.done);
|
|
19669
19669
|
Ch(w, p, Dr);
|
|
19670
19670
|
return;
|
|
@@ -19676,13 +19676,13 @@ Error generating stack: ` + b.message + `
|
|
|
19676
19676
|
throw new Error("Objects are not valid as a React child (found: " + (oi === "[object Object]" ? "object with keys {" + Object.keys(m).join(", ") + "}" : oi) + "). If you meant to render a collection of children, use an array instead.");
|
|
19677
19677
|
}
|
|
19678
19678
|
if (typeof m == "string") {
|
|
19679
|
-
var
|
|
19680
|
-
|
|
19679
|
+
var Ss = p.blockedSegment;
|
|
19680
|
+
Ss.lastPushedText = Lr(p.blockedSegment.chunks, m, w.responseState, Ss.lastPushedText);
|
|
19681
19681
|
return;
|
|
19682
19682
|
}
|
|
19683
19683
|
if (typeof m == "number") {
|
|
19684
|
-
var
|
|
19685
|
-
|
|
19684
|
+
var Es = p.blockedSegment;
|
|
19685
|
+
Es.lastPushedText = Lr(p.blockedSegment.chunks, "" + m, w.responseState, Es.lastPushedText);
|
|
19686
19686
|
return;
|
|
19687
19687
|
}
|
|
19688
19688
|
typeof m == "function" && i("Functions are not valid as a React child. This may happen if you return a Component instead of <Component /> from render. Or maybe you meant to call this function rather than return it.");
|
|
@@ -19710,7 +19710,7 @@ Error generating stack: ` + b.message + `
|
|
|
19710
19710
|
!0
|
|
19711
19711
|
);
|
|
19712
19712
|
b.children.push(D), b.lastPushedText = !1;
|
|
19713
|
-
var N =
|
|
19713
|
+
var N = xs(w, p.node, p.blockedBoundary, D, p.abortSet, p.legacyContext, p.context, p.treeContext);
|
|
19714
19714
|
p.componentStack !== null && (N.componentStack = p.componentStack.parent);
|
|
19715
19715
|
var j = N.ping;
|
|
19716
19716
|
m.then(j, j);
|
|
@@ -19737,11 +19737,11 @@ Error generating stack: ` + b.message + `
|
|
|
19737
19737
|
}
|
|
19738
19738
|
function Om(w) {
|
|
19739
19739
|
var p = this, m = w.blockedBoundary, b = w.blockedSegment;
|
|
19740
|
-
b.status =
|
|
19740
|
+
b.status = bs, sl(p, m, b);
|
|
19741
19741
|
}
|
|
19742
19742
|
function tf(w, p, m) {
|
|
19743
19743
|
var b = w.blockedBoundary, C = w.blockedSegment;
|
|
19744
|
-
if (C.status =
|
|
19744
|
+
if (C.status = bs, b === null)
|
|
19745
19745
|
p.allPendingTasks--, p.status !== Ys && (p.status = Ys, p.destination !== null && g(p.destination));
|
|
19746
19746
|
else {
|
|
19747
19747
|
if (b.pendingTasks--, !b.forceClientRender) {
|
|
@@ -19769,10 +19769,10 @@ Error generating stack: ` + b.message + `
|
|
|
19769
19769
|
}
|
|
19770
19770
|
}
|
|
19771
19771
|
}
|
|
19772
|
-
function
|
|
19772
|
+
function Cs(w, p) {
|
|
19773
19773
|
if (p.chunks.length === 0 && p.children.length === 1 && p.children[0].boundary === null) {
|
|
19774
19774
|
var m = p.children[0];
|
|
19775
|
-
m.id = p.id, m.parentFlushed = !0, m.status === Qs &&
|
|
19775
|
+
m.id = p.id, m.parentFlushed = !0, m.status === Qs && Cs(w, m);
|
|
19776
19776
|
} else {
|
|
19777
19777
|
var b = w.completedSegments;
|
|
19778
19778
|
b.push(p);
|
|
@@ -19786,15 +19786,15 @@ Error generating stack: ` + b.message + `
|
|
|
19786
19786
|
w.completedRootSegment = m;
|
|
19787
19787
|
}
|
|
19788
19788
|
if (w.pendingRootTasks--, w.pendingRootTasks === 0) {
|
|
19789
|
-
w.onShellError =
|
|
19789
|
+
w.onShellError = ws;
|
|
19790
19790
|
var b = w.onShellReady;
|
|
19791
19791
|
b();
|
|
19792
19792
|
}
|
|
19793
19793
|
} else if (p.pendingTasks--, !p.forceClientRender) {
|
|
19794
19794
|
if (p.pendingTasks === 0)
|
|
19795
|
-
m.parentFlushed && m.status === Qs &&
|
|
19795
|
+
m.parentFlushed && m.status === Qs && Cs(p, m), p.parentFlushed && w.completedBoundaries.push(p), p.fallbackAbortableTasks.forEach(Om, w), p.fallbackAbortableTasks.clear();
|
|
19796
19796
|
else if (m.parentFlushed && m.status === Qs) {
|
|
19797
|
-
|
|
19797
|
+
Cs(p, m);
|
|
19798
19798
|
var C = p.completedSegments;
|
|
19799
19799
|
C.length === 1 && p.parentFlushed && w.partialBoundaries.push(p);
|
|
19800
19800
|
}
|
|
@@ -19987,11 +19987,11 @@ Error generating stack: ` + b.message + `
|
|
|
19987
19987
|
}
|
|
19988
19988
|
function Nm(w, p) {
|
|
19989
19989
|
return new Promise(function(m, b) {
|
|
19990
|
-
var C, D, N = new Promise(function(
|
|
19991
|
-
D =
|
|
19990
|
+
var C, D, N = new Promise(function(Ze, Vt) {
|
|
19991
|
+
D = Ze, C = Vt;
|
|
19992
19992
|
});
|
|
19993
19993
|
function j() {
|
|
19994
|
-
var
|
|
19994
|
+
var Ze = new ReadableStream(
|
|
19995
19995
|
{
|
|
19996
19996
|
type: "bytes",
|
|
19997
19997
|
pull: function(Vt) {
|
|
@@ -20006,11 +20006,11 @@ Error generating stack: ` + b.message + `
|
|
|
20006
20006
|
highWaterMark: 0
|
|
20007
20007
|
}
|
|
20008
20008
|
);
|
|
20009
|
-
|
|
20009
|
+
Ze.allReady = N, m(Ze);
|
|
20010
20010
|
}
|
|
20011
|
-
function ne(
|
|
20011
|
+
function ne(Ze) {
|
|
20012
20012
|
N.catch(function() {
|
|
20013
|
-
}), b(
|
|
20013
|
+
}), b(Ze);
|
|
20014
20014
|
}
|
|
20015
20015
|
var ge = mu(w, Tn(p ? p.identifierPrefix : void 0, p ? p.nonce : void 0, p ? p.bootstrapScriptContent : void 0, p ? p.bootstrapScripts : void 0, p ? p.bootstrapModules : void 0), tn(p ? p.namespaceURI : void 0), p ? p.progressiveChunkSize : void 0, p ? p.onError : void 0, D, j, ne, C);
|
|
20016
20016
|
if (p && p.signal) {
|
|
@@ -20230,9 +20230,9 @@ var W4 = (
|
|
|
20230
20230
|
function r(e, t, n, i, a) {
|
|
20231
20231
|
var s = this;
|
|
20232
20232
|
this.observer = e, this.operation = t, this.forward = n, this.delayFor = i, this.retryIf = a, this.retryCount = 0, this.currentSubscription = null, this.onError = function(o) {
|
|
20233
|
-
return
|
|
20233
|
+
return ts(s, void 0, void 0, function() {
|
|
20234
20234
|
var l;
|
|
20235
|
-
return
|
|
20235
|
+
return rs(this, function(u) {
|
|
20236
20236
|
switch (u.label) {
|
|
20237
20237
|
case 0:
|
|
20238
20238
|
return this.retryCount += 1, [4, this.retryIf(this.retryCount, this.operation, o)];
|
|
@@ -25990,7 +25990,7 @@ const zh = (r) => {
|
|
|
25990
25990
|
}, dB = (r) => {
|
|
25991
25991
|
const e = /<svg.*<\/svg>/s, t = r.match(e) || [], n = t?.length > 0 ? t[0] : "";
|
|
25992
25992
|
return Us().parseFromString(n, "image/svg+xml");
|
|
25993
|
-
},
|
|
25993
|
+
}, us = async (r) => {
|
|
25994
25994
|
const t = dB(r).firstElementChild;
|
|
25995
25995
|
if (!t)
|
|
25996
25996
|
throw new Error("Failed to read SVG.");
|
|
@@ -26305,7 +26305,7 @@ class CB {
|
|
|
26305
26305
|
c.lengthComputable && n(c.loaded * 100 / c.total);
|
|
26306
26306
|
}, u.onload = () => {
|
|
26307
26307
|
const c = s.assetResponse.asset;
|
|
26308
|
-
|
|
26308
|
+
Za.add(s.assetResponse.asset), o(c);
|
|
26309
26309
|
}, u.onerror = l, this.postProcessFileUpload(e, s.mimeType).then((c) => u.send(c.blob)).catch(l);
|
|
26310
26310
|
}), this.cacheAsset(s.assetResponse.asset), s.assetResponse.asset;
|
|
26311
26311
|
}
|
|
@@ -26338,7 +26338,7 @@ class CB {
|
|
|
26338
26338
|
});
|
|
26339
26339
|
if (this.bgrmProcessCache.delete(t), console.log(a), !a.data?.assetRemoveBackground?.key)
|
|
26340
26340
|
throw new Error("Failed to remove background from image");
|
|
26341
|
-
return
|
|
26341
|
+
return Za.add(a.data.assetRemoveBackground), bn.add(
|
|
26342
26342
|
df,
|
|
26343
26343
|
t,
|
|
26344
26344
|
a.data.assetRemoveBackground.key
|
|
@@ -26373,7 +26373,7 @@ class CB {
|
|
|
26373
26373
|
});
|
|
26374
26374
|
if (this.bgrmProcessCache.delete(n), !s.data?.assetVectorize?.key)
|
|
26375
26375
|
throw new Error("Failed to vectorize image");
|
|
26376
|
-
return
|
|
26376
|
+
return Za.add(s.data.assetVectorize), bn.add(
|
|
26377
26377
|
hf,
|
|
26378
26378
|
n,
|
|
26379
26379
|
s.data.assetVectorize.key
|
|
@@ -26406,7 +26406,7 @@ class CB {
|
|
|
26406
26406
|
});
|
|
26407
26407
|
if (this.bgrmProcessCache.delete(n), !s.data?.assetEnhanceWithAI?.key)
|
|
26408
26408
|
throw new Error("Failed to enhance image with AI");
|
|
26409
|
-
return
|
|
26409
|
+
return Za.add(s.data.assetEnhanceWithAI), bn.add(
|
|
26410
26410
|
pf,
|
|
26411
26411
|
n,
|
|
26412
26412
|
s.data.assetEnhanceWithAI.key
|
|
@@ -26418,16 +26418,16 @@ class CB {
|
|
|
26418
26418
|
return this.bgrmProcessCache.set(n, a), a;
|
|
26419
26419
|
}
|
|
26420
26420
|
removePersistedAsset(e) {
|
|
26421
|
-
|
|
26421
|
+
Za.remove(e), bn.delete(df, e), bn.delete(hf, e), bn.delete(pf, e), bn.deleteForTransformedKey(df, e), bn.deleteForTransformedKey(hf, e), bn.deleteForTransformedKey(pf, e);
|
|
26422
26422
|
}
|
|
26423
26423
|
getPersistedAssets() {
|
|
26424
|
-
return
|
|
26424
|
+
return Za.list();
|
|
26425
26425
|
}
|
|
26426
26426
|
registerPersistedAssetListener(e) {
|
|
26427
|
-
|
|
26427
|
+
Za.addCallback(e);
|
|
26428
26428
|
}
|
|
26429
26429
|
unRegisterPersistedAssetListener(e) {
|
|
26430
|
-
|
|
26430
|
+
Za.removeCallback(e);
|
|
26431
26431
|
}
|
|
26432
26432
|
isRaster(e) {
|
|
26433
26433
|
return !(e.type === "image/svg+xml" || e.type === "application/pdf" || e.type === "application/postscript");
|
|
@@ -26523,7 +26523,7 @@ const ff = "persistentAssets", Ps = class Ps {
|
|
|
26523
26523
|
}
|
|
26524
26524
|
};
|
|
26525
26525
|
Ps.callbacks = [];
|
|
26526
|
-
let
|
|
26526
|
+
let Za = Ps;
|
|
26527
26527
|
const df = "bgrmPersistentAssets", hf = "vectorizePersistentAssets", pf = "enhanceAIPersistentAssets";
|
|
26528
26528
|
class bn {
|
|
26529
26529
|
static has(e, t) {
|
|
@@ -28329,7 +28329,7 @@ function rx(r, e, t) {
|
|
|
28329
28329
|
var i = Math.sqrt(n);
|
|
28330
28330
|
return [[(r * t + e * i) / (r * r + e * e), (e * t - r * i) / (r * r + e * e)], [(r * t - e * i) / (r * r + e * e), (e * t + r * i) / (r * r + e * e)]];
|
|
28331
28331
|
}
|
|
28332
|
-
var ri,
|
|
28332
|
+
var ri, ks = Math.PI / 180;
|
|
28333
28333
|
function nx(r, e, t) {
|
|
28334
28334
|
return (1 - t) * r + t * e;
|
|
28335
28335
|
}
|
|
@@ -28455,7 +28455,7 @@ function sx(r, e, t, n, i) {
|
|
|
28455
28455
|
var d, g, v, y;
|
|
28456
28456
|
c.cX || d0(c, h, f);
|
|
28457
28457
|
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++) {
|
|
28458
|
-
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 *
|
|
28458
|
+
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];
|
|
28459
28459
|
T[B] = { relative: c.relative, type: Le.CURVE_TO };
|
|
28460
28460
|
var ee = function(re, de) {
|
|
28461
28461
|
var Be = Ty([re * c.rX, de * c.rY], c.xRot), Ee = Be[0], ze = Be[1];
|
|
@@ -31305,7 +31305,7 @@ class dM extends Ol {
|
|
|
31305
31305
|
function ei(r, e, t) {
|
|
31306
31306
|
return r[e] * t;
|
|
31307
31307
|
}
|
|
31308
|
-
function
|
|
31308
|
+
function Fs(r, e, t, n) {
|
|
31309
31309
|
return e + Math.cos(r) * t + Math.sin(r) * n;
|
|
31310
31310
|
}
|
|
31311
31311
|
class aF extends Rl {
|
|
@@ -31351,19 +31351,19 @@ class aF extends Rl {
|
|
|
31351
31351
|
case "hueRotate": {
|
|
31352
31352
|
const a = i[0] * Math.PI / 180;
|
|
31353
31353
|
i = [
|
|
31354
|
-
|
|
31355
|
-
|
|
31356
|
-
|
|
31354
|
+
Fs(a, 0.213, 0.787, -0.213),
|
|
31355
|
+
Fs(a, 0.715, -0.715, -0.715),
|
|
31356
|
+
Fs(a, 0.072, -0.072, 0.928),
|
|
31357
31357
|
0,
|
|
31358
31358
|
0,
|
|
31359
|
-
|
|
31360
|
-
|
|
31361
|
-
|
|
31359
|
+
Fs(a, 0.213, -0.213, 0.143),
|
|
31360
|
+
Fs(a, 0.715, 0.285, 0.14),
|
|
31361
|
+
Fs(a, 0.072, -0.072, -0.283),
|
|
31362
31362
|
0,
|
|
31363
31363
|
0,
|
|
31364
|
-
|
|
31365
|
-
|
|
31366
|
-
|
|
31364
|
+
Fs(a, 0.213, -0.213, -0.787),
|
|
31365
|
+
Fs(a, 0.715, -0.715, 0.715),
|
|
31366
|
+
Fs(a, 0.072, 0.928, 0.072),
|
|
31367
31367
|
0,
|
|
31368
31368
|
0,
|
|
31369
31369
|
0,
|
|
@@ -31848,7 +31848,7 @@ class uo {
|
|
|
31848
31848
|
this.documentElement.resize(e, t, n);
|
|
31849
31849
|
}
|
|
31850
31850
|
}
|
|
31851
|
-
const g0 = [
|
|
31851
|
+
const g0 = [Je.SilentIllustration, Je.ProductOverlay], Cx = (r) => {
|
|
31852
31852
|
const e = [];
|
|
31853
31853
|
for (const n of r.steps) {
|
|
31854
31854
|
const i = CM(n.stepName, r.stepGroups);
|
|
@@ -31870,7 +31870,7 @@ const g0 = [Ze.SilentIllustration, Ze.ProductOverlay], Cx = (r) => {
|
|
|
31870
31870
|
title: t,
|
|
31871
31871
|
renderableSteps: [
|
|
31872
31872
|
{
|
|
31873
|
-
type:
|
|
31873
|
+
type: Je.Finish,
|
|
31874
31874
|
stepName: "Finish",
|
|
31875
31875
|
stepTitle: t,
|
|
31876
31876
|
helpText: "",
|
|
@@ -31909,8 +31909,8 @@ const g0 = [Ze.SilentIllustration, Ze.ProductOverlay], Cx = (r) => {
|
|
|
31909
31909
|
silentSteps: a
|
|
31910
31910
|
};
|
|
31911
31911
|
return s.silentSteps.length === 0 && s.renderableSteps.length === 0 ? null : s;
|
|
31912
|
-
},
|
|
31913
|
-
const n = await
|
|
31912
|
+
}, Ka = async (r, e) => (await Promise.all(r.map((n) => SM(n, e)))).filter((n) => n !== null), EM = async (r, e, t = !1) => {
|
|
31913
|
+
const n = await Ka(r, e), i = [];
|
|
31914
31914
|
for (const s of n)
|
|
31915
31915
|
for (const o of s.renderableSteps) {
|
|
31916
31916
|
let l = 0;
|
|
@@ -31918,7 +31918,7 @@ const g0 = [Ze.SilentIllustration, Ze.ProductOverlay], Cx = (r) => {
|
|
|
31918
31918
|
let u;
|
|
31919
31919
|
o.option?.variants ? (u = o.option, l = u?.variants?.length || 0) : (u = await ft.getOption(o.option?.id), l = u?.variants?.length || 0);
|
|
31920
31920
|
}
|
|
31921
|
-
o.silent || (o.type ===
|
|
31921
|
+
o.silent || (o.type === Je.Model || o.type === Je.Material || o.type === Je.Picture || o.type === Je.Shape ? (l > 1 || t) && i.push(o.stepName) : i.push(o.stepName));
|
|
31922
31922
|
}
|
|
31923
31923
|
const a = n.filter((s) => s.renderableSteps.filter(
|
|
31924
31924
|
(l) => i.includes(l.stepName)
|
|
@@ -32235,8 +32235,8 @@ function kM() {
|
|
|
32235
32235
|
return fe;
|
|
32236
32236
|
if (jt.set(I, Ut), !Br)
|
|
32237
32237
|
var be = ae ? Ce(I) : lr(I);
|
|
32238
|
-
return Ge(be || I, function(Me,
|
|
32239
|
-
be && (
|
|
32238
|
+
return Ge(be || I, function(Me, Ke) {
|
|
32239
|
+
be && (Ke = Me, Me = I[Ke]), Gn(Ut, Ke, Cn(Me, H, ae, xe, Ke, I, jt));
|
|
32240
32240
|
}), Ut;
|
|
32241
32241
|
}
|
|
32242
32242
|
function cn(I) {
|
|
@@ -32694,9 +32694,9 @@ function TM() {
|
|
|
32694
32694
|
if (be && !Z)
|
|
32695
32695
|
return ot || (ot = new jr()), jt || Zn(I) ? pe(I, H, ae, xe, ht, ot) : ce(I, H, Br, ae, xe, ht, ot);
|
|
32696
32696
|
if (!(ae & i)) {
|
|
32697
|
-
var Me = Z && kr.call(I, "__wrapped__"),
|
|
32698
|
-
if (Me ||
|
|
32699
|
-
var Xe = Me ? I.value() : I, yt =
|
|
32697
|
+
var Me = Z && kr.call(I, "__wrapped__"), Ke = fe && kr.call(H, "__wrapped__");
|
|
32698
|
+
if (Me || Ke) {
|
|
32699
|
+
var Xe = Me ? I.value() : I, yt = Ke ? H.value() : H;
|
|
32700
32700
|
return ot || (ot = new jr()), ht(Xe, yt, ae, xe, ot);
|
|
32701
32701
|
}
|
|
32702
32702
|
}
|
|
@@ -32728,9 +32728,9 @@ function TM() {
|
|
|
32728
32728
|
return M == H;
|
|
32729
32729
|
var Z = -1, fe = !0, be = ae & a ? new Rr() : void 0;
|
|
32730
32730
|
for (ot.set(I, H), ot.set(H, I); ++Z < Ut; ) {
|
|
32731
|
-
var Me = I[Z],
|
|
32731
|
+
var Me = I[Z], Ke = H[Z];
|
|
32732
32732
|
if (xe)
|
|
32733
|
-
var Xe = jt ? xe(
|
|
32733
|
+
var Xe = jt ? xe(Ke, Me, Z, H, I, ot) : xe(Me, Ke, Z, I, H, ot);
|
|
32734
32734
|
if (Xe !== void 0) {
|
|
32735
32735
|
if (Xe)
|
|
32736
32736
|
continue;
|
|
@@ -32745,7 +32745,7 @@ function TM() {
|
|
|
32745
32745
|
fe = !1;
|
|
32746
32746
|
break;
|
|
32747
32747
|
}
|
|
32748
|
-
} else if (!(Me ===
|
|
32748
|
+
} else if (!(Me === Ke || ht(Me, Ke, ae, xe, ot))) {
|
|
32749
32749
|
fe = !1;
|
|
32750
32750
|
break;
|
|
32751
32751
|
}
|
|
@@ -32799,7 +32799,7 @@ function TM() {
|
|
|
32799
32799
|
var Me = ot.get(I);
|
|
32800
32800
|
if (Me && ot.get(H))
|
|
32801
32801
|
return Me == H;
|
|
32802
|
-
var
|
|
32802
|
+
var Ke = !0;
|
|
32803
32803
|
ot.set(I, H), ot.set(H, I);
|
|
32804
32804
|
for (var Xe = jt; ++fe < Br; ) {
|
|
32805
32805
|
be = Ut[fe];
|
|
@@ -32807,16 +32807,16 @@ function TM() {
|
|
|
32807
32807
|
if (xe)
|
|
32808
32808
|
var pr = jt ? xe(Pt, yt, be, H, I, ot) : xe(yt, Pt, be, I, H, ot);
|
|
32809
32809
|
if (!(pr === void 0 ? yt === Pt || ht(yt, Pt, ae, xe, ot) : pr)) {
|
|
32810
|
-
|
|
32810
|
+
Ke = !1;
|
|
32811
32811
|
break;
|
|
32812
32812
|
}
|
|
32813
32813
|
Xe || (Xe = be == "constructor");
|
|
32814
32814
|
}
|
|
32815
|
-
if (
|
|
32815
|
+
if (Ke && !Xe) {
|
|
32816
32816
|
var yr = I.constructor, ur = H.constructor;
|
|
32817
|
-
yr != ur && "constructor" in I && "constructor" in H && !(typeof yr == "function" && yr instanceof yr && typeof ur == "function" && ur instanceof ur) && (
|
|
32817
|
+
yr != ur && "constructor" in I && "constructor" in H && !(typeof yr == "function" && yr instanceof yr && typeof ur == "function" && ur instanceof ur) && (Ke = !1);
|
|
32818
32818
|
}
|
|
32819
|
-
return ot.delete(I), ot.delete(H),
|
|
32819
|
+
return ot.delete(I), ot.delete(H), Ke;
|
|
32820
32820
|
}
|
|
32821
32821
|
function _e(I) {
|
|
32822
32822
|
return sn(I, lr, Jt);
|
|
@@ -33973,7 +33973,7 @@ function LM(r) {
|
|
|
33973
33973
|
var e = r.tag & 1;
|
|
33974
33974
|
return r.tag >>>= 1, e;
|
|
33975
33975
|
}
|
|
33976
|
-
function
|
|
33976
|
+
function es(r, e, t) {
|
|
33977
33977
|
if (!e)
|
|
33978
33978
|
return t;
|
|
33979
33979
|
for (; r.bitcount < 24; )
|
|
@@ -33992,10 +33992,10 @@ function Py(r, e) {
|
|
|
33992
33992
|
}
|
|
33993
33993
|
function UM(r, e, t) {
|
|
33994
33994
|
var n, i, a, s, o, l;
|
|
33995
|
-
for (n =
|
|
33995
|
+
for (n = es(r, 5, 257), i = es(r, 5, 1), a = es(r, 4, 4), s = 0; s < 19; ++s)
|
|
33996
33996
|
Wa[s] = 0;
|
|
33997
33997
|
for (s = 0; s < a; ++s) {
|
|
33998
|
-
var u =
|
|
33998
|
+
var u = es(r, 3, 0);
|
|
33999
33999
|
Wa[_M[s]] = u;
|
|
34000
34000
|
}
|
|
34001
34001
|
for (m0(Ix, Wa, 0, 19), o = 0; o < n + i; ) {
|
|
@@ -34003,15 +34003,15 @@ function UM(r, e, t) {
|
|
|
34003
34003
|
switch (c) {
|
|
34004
34004
|
case 16:
|
|
34005
34005
|
var h = Wa[o - 1];
|
|
34006
|
-
for (l =
|
|
34006
|
+
for (l = es(r, 2, 3); l; --l)
|
|
34007
34007
|
Wa[o++] = h;
|
|
34008
34008
|
break;
|
|
34009
34009
|
case 17:
|
|
34010
|
-
for (l =
|
|
34010
|
+
for (l = es(r, 3, 3); l; --l)
|
|
34011
34011
|
Wa[o++] = 0;
|
|
34012
34012
|
break;
|
|
34013
34013
|
case 18:
|
|
34014
|
-
for (l =
|
|
34014
|
+
for (l = es(r, 7, 11); l; --l)
|
|
34015
34015
|
Wa[o++] = 0;
|
|
34016
34016
|
break;
|
|
34017
34017
|
default:
|
|
@@ -34030,7 +34030,7 @@ function Px(r, e, t) {
|
|
|
34030
34030
|
r.dest[r.destLen++] = n;
|
|
34031
34031
|
else {
|
|
34032
34032
|
var i, a, s, o;
|
|
34033
|
-
for (n -= 257, i =
|
|
34033
|
+
for (n -= 257, i = es(r, YA[n], XA[n]), a = Py(r, t), s = r.destLen - es(r, mF[a], vF[a]), o = s; o < s + i; ++o)
|
|
34034
34034
|
r.dest[r.destLen++] = r.dest[o];
|
|
34035
34035
|
}
|
|
34036
34036
|
}
|
|
@@ -34047,7 +34047,7 @@ function VM(r) {
|
|
|
34047
34047
|
function zM(r, e) {
|
|
34048
34048
|
var t = new MM(r, e), n, i, a;
|
|
34049
34049
|
do {
|
|
34050
|
-
switch (n = LM(t), i =
|
|
34050
|
+
switch (n = LM(t), i = es(t, 2, 0), i) {
|
|
34051
34051
|
case 0:
|
|
34052
34052
|
a = VM(t);
|
|
34053
34053
|
break;
|
|
@@ -36583,7 +36583,7 @@ function p_(r, e, t, n) {
|
|
|
36583
36583
|
}, i;
|
|
36584
36584
|
};
|
|
36585
36585
|
}
|
|
36586
|
-
var
|
|
36586
|
+
var os = { GlyphSet: ZA, glyphLoader: d_, ttfGlyphLoader: h_, cffGlyphLoader: p_ };
|
|
36587
36587
|
function SF(r, e) {
|
|
36588
36588
|
if (r === e)
|
|
36589
36589
|
return !0;
|
|
@@ -36984,15 +36984,15 @@ function E_(r, e, t, n) {
|
|
|
36984
36984
|
var k;
|
|
36985
36985
|
n.lowMemory ? (k = g_(r, e + c.charStrings), t.nGlyphs = k.offsets.length) : (k = io(r, e + c.charStrings), t.nGlyphs = k.objects.length);
|
|
36986
36986
|
var T = x_(r, e + c.charset, t.nGlyphs, o.objects);
|
|
36987
|
-
if (c.encoding === 0 ? t.cffEncoding = new cg(a_, T) : c.encoding === 1 ? t.cffEncoding = new cg(s_, T) : t.cffEncoding = C_(r, e + c.encoding, T), t.encoding = t.encoding || t.cffEncoding, t.glyphs = new
|
|
36987
|
+
if (c.encoding === 0 ? t.cffEncoding = new cg(a_, T) : c.encoding === 1 ? t.cffEncoding = new cg(s_, T) : t.cffEncoding = C_(r, e + c.encoding, T), t.encoding = t.encoding || t.cffEncoding, t.glyphs = new os.GlyphSet(t), n.lowMemory)
|
|
36988
36988
|
t._push = function(B) {
|
|
36989
36989
|
var G = m_(B, k.offsets, r, e + c.charStrings);
|
|
36990
|
-
t.glyphs.push(B,
|
|
36990
|
+
t.glyphs.push(B, os.cffGlyphLoader(t, B, Lx, G));
|
|
36991
36991
|
};
|
|
36992
36992
|
else
|
|
36993
36993
|
for (var S = 0; S < t.nGlyphs; S += 1) {
|
|
36994
36994
|
var R = k.objects[S];
|
|
36995
|
-
t.glyphs.push(S,
|
|
36995
|
+
t.glyphs.push(S, os.cffGlyphLoader(t, S, Lx, R));
|
|
36996
36996
|
}
|
|
36997
36997
|
}
|
|
36998
36998
|
function DF(r, e) {
|
|
@@ -39450,17 +39450,17 @@ function YF(r, e) {
|
|
|
39450
39450
|
return WF(e.points);
|
|
39451
39451
|
}
|
|
39452
39452
|
function m5(r, e, t, n) {
|
|
39453
|
-
for (var i = new
|
|
39453
|
+
for (var i = new os.GlyphSet(n), a = 0; a < t.length - 1; a += 1) {
|
|
39454
39454
|
var s = t[a], o = t[a + 1];
|
|
39455
|
-
s !== o ? i.push(a,
|
|
39455
|
+
s !== o ? i.push(a, os.ttfGlyphLoader(n, a, QF, r, e + s, YF)) : i.push(a, os.glyphLoader(n, a));
|
|
39456
39456
|
}
|
|
39457
39457
|
return i;
|
|
39458
39458
|
}
|
|
39459
39459
|
function v5(r, e, t, n) {
|
|
39460
|
-
var i = new
|
|
39460
|
+
var i = new os.GlyphSet(n);
|
|
39461
39461
|
return n._push = function(a) {
|
|
39462
39462
|
var s = t[a], o = t[a + 1];
|
|
39463
|
-
s !== o ? i.push(a,
|
|
39463
|
+
s !== o ? i.push(a, os.ttfGlyphLoader(n, a, QF, r, e + s, YF)) : i.push(a, os.glyphLoader(n, a));
|
|
39464
39464
|
}, i;
|
|
39465
39465
|
}
|
|
39466
39466
|
function y5(r, e, t, n, i) {
|
|
@@ -39493,7 +39493,7 @@ function C5(r) {
|
|
|
39493
39493
|
var tT = function(r) {
|
|
39494
39494
|
var e = this.srPeriod, t = this.srPhase, n = this.srThreshold, i = 1;
|
|
39495
39495
|
return r < 0 && (r = -r, i = -1), r += n - t, r = Math.trunc(r / e) * e, r += t, r < 0 ? t * i : r * i;
|
|
39496
|
-
},
|
|
39496
|
+
}, is = {
|
|
39497
39497
|
x: 1,
|
|
39498
39498
|
y: 0,
|
|
39499
39499
|
axis: "x",
|
|
@@ -39518,10 +39518,10 @@ var tT = function(r) {
|
|
|
39518
39518
|
return;
|
|
39519
39519
|
}
|
|
39520
39520
|
if (i = n.distance(r, e, !0, !0), a = n.distance(r, t, !0, !0), l = n.distance(e, e, !1, !0), u = n.distance(t, t, !1, !0), s = Math.abs(i), o = Math.abs(a), c = s + o, c === 0) {
|
|
39521
|
-
|
|
39521
|
+
is.setRelative(r, r, (l + u) / 2, n, !0);
|
|
39522
39522
|
return;
|
|
39523
39523
|
}
|
|
39524
|
-
|
|
39524
|
+
is.setRelative(r, r, (l * o + u * s) / c, n, !0);
|
|
39525
39525
|
},
|
|
39526
39526
|
// Slope of line normal to this
|
|
39527
39527
|
normalSlope: Number.NEGATIVE_INFINITY,
|
|
@@ -39622,13 +39622,13 @@ var tT = function(r) {
|
|
|
39622
39622
|
r.yTouched = !1;
|
|
39623
39623
|
}
|
|
39624
39624
|
};
|
|
39625
|
-
Object.freeze(
|
|
39625
|
+
Object.freeze(is);
|
|
39626
39626
|
Object.freeze(Rs);
|
|
39627
39627
|
function Hd(r, e) {
|
|
39628
39628
|
this.x = r, this.y = e, this.axis = void 0, this.slope = e / r, this.normalSlope = -r / e, Object.freeze(this);
|
|
39629
39629
|
}
|
|
39630
39630
|
Hd.prototype.distance = function(r, e, t, n) {
|
|
39631
|
-
return this.x *
|
|
39631
|
+
return this.x * is.distance(r, e, t, n) + this.y * Rs.distance(r, e, t, n);
|
|
39632
39632
|
};
|
|
39633
39633
|
Hd.prototype.interpolate = function(r, e, t, n) {
|
|
39634
39634
|
var i, a, s, o, l, u, c;
|
|
@@ -39648,7 +39648,7 @@ Hd.prototype.touch = function(r) {
|
|
|
39648
39648
|
};
|
|
39649
39649
|
function jd(r, e) {
|
|
39650
39650
|
var t = Math.sqrt(r * r + e * e);
|
|
39651
|
-
return r /= t, e /= t, r === 1 && e === 0 ?
|
|
39651
|
+
return r /= t, e /= t, r === 1 && e === 0 ? is : r === 0 && e === 1 ? Rs : new Hd(r, e);
|
|
39652
39652
|
}
|
|
39653
39653
|
function Bs(r, e, t, n) {
|
|
39654
39654
|
this.x = this.xo = Math.round(r * 64) / 64, this.y = this.yo = Math.round(e * 64) / 64, this.lastPointOfContour = t, this.onCurve = n, this.prevPointOnContour = void 0, this.nextPointOnContour = void 0, this.xTouched = !1, this.yTouched = !1, Object.preventExtensions(this);
|
|
@@ -39680,7 +39680,7 @@ function fo(r, e) {
|
|
|
39680
39680
|
this.zp0 = this.zp1 = this.zp2 = 1, this.rp0 = this.rp1 = this.rp2 = 0;
|
|
39681
39681
|
/* fall through */
|
|
39682
39682
|
case "prep":
|
|
39683
|
-
this.fv = this.pv = this.dpv =
|
|
39683
|
+
this.fv = this.pv = this.dpv = is, this.round = eT;
|
|
39684
39684
|
}
|
|
39685
39685
|
}
|
|
39686
39686
|
ZF.prototype.exec = function(r, e) {
|
|
@@ -40432,15 +40432,15 @@ JF = [
|
|
|
40432
40432
|
/* 0x00 */
|
|
40433
40433
|
Yx.bind(void 0, Rs),
|
|
40434
40434
|
/* 0x01 */
|
|
40435
|
-
Yx.bind(void 0,
|
|
40435
|
+
Yx.bind(void 0, is),
|
|
40436
40436
|
/* 0x02 */
|
|
40437
40437
|
Xx.bind(void 0, Rs),
|
|
40438
40438
|
/* 0x03 */
|
|
40439
|
-
Xx.bind(void 0,
|
|
40439
|
+
Xx.bind(void 0, is),
|
|
40440
40440
|
/* 0x04 */
|
|
40441
40441
|
Jx.bind(void 0, Rs),
|
|
40442
40442
|
/* 0x05 */
|
|
40443
|
-
Jx.bind(void 0,
|
|
40443
|
+
Jx.bind(void 0, is),
|
|
40444
40444
|
/* 0x06 */
|
|
40445
40445
|
Kx.bind(void 0, 0),
|
|
40446
40446
|
/* 0x07 */
|
|
@@ -40533,7 +40533,7 @@ JF = [
|
|
|
40533
40533
|
/* 0x30 */
|
|
40534
40534
|
tC.bind(void 0, Rs),
|
|
40535
40535
|
/* 0x31 */
|
|
40536
|
-
tC.bind(void 0,
|
|
40536
|
+
tC.bind(void 0, is),
|
|
40537
40537
|
/* 0x32 */
|
|
40538
40538
|
rC.bind(void 0, 0),
|
|
40539
40539
|
/* 0x33 */
|
|
@@ -41871,7 +41871,7 @@ function hn(r) {
|
|
|
41871
41871
|
usWidthClass: r.widthClass || this.usWidthClasses.MEDIUM,
|
|
41872
41872
|
fsSelection: r.fsSelection || this.fsSelectionValues.REGULAR
|
|
41873
41873
|
}, r.tables.os2)
|
|
41874
|
-
})), this.supported = !0, this.glyphs = new
|
|
41874
|
+
})), this.supported = !0, this.glyphs = new os.GlyphSet(this, r.glyphs || []), this.encoding = new xF(this), this.position = new zd(this), this.substitution = new sa(this), this.tables = this.tables || {}, this._push = null, this._hmtxTableData = {}, Object.defineProperty(this, "hinting", {
|
|
41875
41875
|
get: function() {
|
|
41876
41876
|
if (this._hinting)
|
|
41877
41877
|
return this._hinting;
|
|
@@ -43311,7 +43311,7 @@ function SN() {
|
|
|
43311
43311
|
}, e.default = t, r.exports = e.default;
|
|
43312
43312
|
})(lp, lp.exports)), lp.exports;
|
|
43313
43313
|
}
|
|
43314
|
-
var
|
|
43314
|
+
var Ts = {}, up = {}, OC;
|
|
43315
43315
|
function EN() {
|
|
43316
43316
|
if (OC) return up;
|
|
43317
43317
|
OC = 1, up.__esModule = !0, up.wrapHelper = r;
|
|
@@ -43328,8 +43328,8 @@ function EN() {
|
|
|
43328
43328
|
}
|
|
43329
43329
|
var BC;
|
|
43330
43330
|
function kN() {
|
|
43331
|
-
if (BC) return
|
|
43332
|
-
BC = 1,
|
|
43331
|
+
if (BC) return Ts;
|
|
43332
|
+
BC = 1, Ts.__esModule = !0, Ts.checkRevision = c, Ts.template = h, Ts.wrapProgram = f, Ts.resolvePartial = d, Ts.invokePartial = g, Ts.noop = v;
|
|
43333
43333
|
function r(S) {
|
|
43334
43334
|
return S && S.__esModule ? S : { default: S };
|
|
43335
43335
|
}
|
|
@@ -43504,7 +43504,7 @@ function kN() {
|
|
|
43504
43504
|
return G.lookupProperty = B, G;
|
|
43505
43505
|
});
|
|
43506
43506
|
}
|
|
43507
|
-
return
|
|
43507
|
+
return Ts;
|
|
43508
43508
|
}
|
|
43509
43509
|
var cp = { exports: {} }, MC;
|
|
43510
43510
|
function hT() {
|
|
@@ -46781,7 +46781,7 @@ const oo = /* @__PURE__ */ new Map(), Hf = /* @__PURE__ */ new Map(), N0 = /* @_
|
|
|
46781
46781
|
panelId: r.layoutState.layout.panelId
|
|
46782
46782
|
};
|
|
46783
46783
|
if (t && e === tr.Illustration) {
|
|
46784
|
-
const l = await
|
|
46784
|
+
const l = await us(await CT(t)), f = Us().parseFromString(l.svg, "image/svg+xml").firstElementChild.getAttribute("viewBox");
|
|
46785
46785
|
if (!f) throw new Error("SVG missing viewBox.");
|
|
46786
46786
|
const d = o.height, g = f.split(" "), v = parseFloat(g[2]) || 1, y = parseFloat(g[3]) || 1, A = v / y;
|
|
46787
46787
|
o.height = o.width / A, o.top += (d - o.height) / 2;
|
|
@@ -46933,7 +46933,7 @@ class wW {
|
|
|
46933
46933
|
};
|
|
46934
46934
|
}
|
|
46935
46935
|
static async getIllustration(e, t) {
|
|
46936
|
-
const n = t.region?.item || await Ef(e, tr.Illustration, t.src), i = await
|
|
46936
|
+
const n = t.region?.item || await Ef(e, tr.Illustration, t.src), i = await us(await CT(t.src)), a = await wd(i.svg), s = br();
|
|
46937
46937
|
return {
|
|
46938
46938
|
cachedObjectURL: a,
|
|
46939
46939
|
stepRegion: t.region?.item,
|
|
@@ -46980,7 +46980,7 @@ const Hn = (r, e) => Ri(r, e).elements.find((i) => i.id === r), Ri = (r, e) => {
|
|
|
46980
46980
|
if (s.type === "illustration") {
|
|
46981
46981
|
const o = s;
|
|
46982
46982
|
if (o.src && !o.svg) {
|
|
46983
|
-
const l = await ma(o.src), u = await
|
|
46983
|
+
const l = await ma(o.src), u = await us(l);
|
|
46984
46984
|
o.svg = NA(
|
|
46985
46985
|
u.svg,
|
|
46986
46986
|
o.width,
|
|
@@ -46991,7 +46991,7 @@ const Hn = (r, e) => Ri(r, e).elements.find((i) => i.id === r), Ri = (r, e) => {
|
|
|
46991
46991
|
} else if (s.type === "frame") {
|
|
46992
46992
|
const o = s;
|
|
46993
46993
|
if (o.pattern?.colors && o.pattern?.src) {
|
|
46994
|
-
const l = await ma(o.pattern?.src), u = await
|
|
46994
|
+
const l = await ma(o.pattern?.src), u = await us(l);
|
|
46995
46995
|
o.pattern.svg = u.svg;
|
|
46996
46996
|
}
|
|
46997
46997
|
}
|
|
@@ -47639,14 +47639,14 @@ class cS {
|
|
|
47639
47639
|
if (!a)
|
|
47640
47640
|
throw new Si(i);
|
|
47641
47641
|
let s = "";
|
|
47642
|
-
if (this.configuration.type ===
|
|
47642
|
+
if (this.configuration.type === Je.ProductOverlay) {
|
|
47643
47643
|
let l = "";
|
|
47644
47644
|
if (this.product?.overlayImageUrl && (l = this.product.overlayImageUrl), s = l, !l)
|
|
47645
47645
|
throw new Os(this.configuration, "Couldn't find an asset for product overlay step");
|
|
47646
47646
|
}
|
|
47647
47647
|
const o = this.evaluateAssetType();
|
|
47648
47648
|
if (o === tr.Image) {
|
|
47649
|
-
const l = this.configuration.type ===
|
|
47649
|
+
const l = this.configuration.type === Je.SilentIllustration ? this.configuration.data.asset?.fileLink : this.product?.overlayImageUrl;
|
|
47650
47650
|
if (!l)
|
|
47651
47651
|
throw new Error("Undefined raster silent step source");
|
|
47652
47652
|
const u = {
|
|
@@ -47661,7 +47661,7 @@ class cS {
|
|
|
47661
47661
|
layer: i.layer,
|
|
47662
47662
|
layerIndex: i.layerIndex,
|
|
47663
47663
|
immutable: i.immutable,
|
|
47664
|
-
productOverlay: this.configuration.type ===
|
|
47664
|
+
productOverlay: this.configuration.type === Je.ProductOverlay ? !0 : void 0,
|
|
47665
47665
|
rotation: i.rotation,
|
|
47666
47666
|
excludeFromExport: this.configuration.data.excludeFromPrint,
|
|
47667
47667
|
preserveAspectRatio: "none"
|
|
@@ -47674,7 +47674,7 @@ class cS {
|
|
|
47674
47674
|
command: new di(u, a)
|
|
47675
47675
|
};
|
|
47676
47676
|
} else {
|
|
47677
|
-
const l = this.configuration.type ===
|
|
47677
|
+
const l = this.configuration.type === Je.SilentIllustration ? this.configuration.data.asset?.fileLink : s, c = await us(await (async () => new Promise((f, d) => {
|
|
47678
47678
|
if (!l) {
|
|
47679
47679
|
d("Undefined vector silent step source");
|
|
47680
47680
|
return;
|
|
@@ -47698,7 +47698,7 @@ class cS {
|
|
|
47698
47698
|
layerIndex: i.layerIndex,
|
|
47699
47699
|
rotation: i.rotation,
|
|
47700
47700
|
immutable: i.immutable,
|
|
47701
|
-
productOverlay: this.configuration.type ===
|
|
47701
|
+
productOverlay: this.configuration.type === Je.ProductOverlay ? !0 : void 0,
|
|
47702
47702
|
excludeFromExport: this.configuration.data.excludeFromPrint
|
|
47703
47703
|
};
|
|
47704
47704
|
return {
|
|
@@ -47714,10 +47714,10 @@ class cS {
|
|
|
47714
47714
|
async trigger() {
|
|
47715
47715
|
if (!this.configuration.data.regions)
|
|
47716
47716
|
throw new Os(this.configuration, "Missing regions.");
|
|
47717
|
-
if (this.configuration.type ===
|
|
47717
|
+
if (this.configuration.type === Je.SilentIllustration) {
|
|
47718
47718
|
const e = this.configuration.data.regions.map(this.processRegion);
|
|
47719
47719
|
return Promise.all(e);
|
|
47720
|
-
} else return this.configuration.type ===
|
|
47720
|
+
} else return this.configuration.type === Je.ProductOverlay ? Promise.all(
|
|
47721
47721
|
this.configuration.data.regions.map((e) => {
|
|
47722
47722
|
if (!this.layouts.find((n) => e.panelId === n.panelId))
|
|
47723
47723
|
throw new Si(e);
|
|
@@ -47726,7 +47726,7 @@ class cS {
|
|
|
47726
47726
|
) : Promise.reject("Unknown silent step. This is a bug");
|
|
47727
47727
|
}
|
|
47728
47728
|
evaluateAssetType() {
|
|
47729
|
-
const e = this.configuration.type ===
|
|
47729
|
+
const e = this.configuration.type === Je.ProductOverlay && this.product?.overlayImageUrl ? this.product.overlayImageUrl.toLowerCase() : this.configuration.data.asset?.fileLink?.toLowerCase().split("?")[0];
|
|
47730
47730
|
return e?.startsWith("data:image/png") || e?.endsWith(".jpeg") || e?.endsWith(".jpg") || e?.endsWith(".png") ? tr.Image : (e?.endsWith(".svg") || e?.startsWith("image/svg+xml"), tr.Illustration);
|
|
47731
47731
|
}
|
|
47732
47732
|
}
|
|
@@ -49574,7 +49574,7 @@ class hg {
|
|
|
49574
49574
|
"Vector files may not include images or gradients when a color limit is specified."
|
|
49575
49575
|
);
|
|
49576
49576
|
}
|
|
49577
|
-
const f = await
|
|
49577
|
+
const f = await us(h), d = {
|
|
49578
49578
|
src: e,
|
|
49579
49579
|
width: u,
|
|
49580
49580
|
height: c,
|
|
@@ -49935,7 +49935,7 @@ class D7 {
|
|
|
49935
49935
|
if (!s)
|
|
49936
49936
|
throw new hd(a);
|
|
49937
49937
|
e.mandatory && i.setMandatoryFulfilled(e.stepName, !1);
|
|
49938
|
-
const o = n.map((y) => new yc(y.id)), l = await
|
|
49938
|
+
const o = n.map((y) => new yc(y.id)), l = await us(await this.getIllustrationBody(s)), u = await wd(l.svg), c = (y, A) => {
|
|
49939
49939
|
const x = i.getLayouts().find((T) => T.panelId === y.panelId);
|
|
49940
49940
|
if (!x)
|
|
49941
49941
|
throw new Si(y);
|
|
@@ -63004,7 +63004,7 @@ const uL = [
|
|
|
63004
63004
|
return console.error(u), [];
|
|
63005
63005
|
}
|
|
63006
63006
|
}, mL = async (r, e, t) => {
|
|
63007
|
-
const n = [], a = e.type ===
|
|
63007
|
+
const n = [], a = e.type === Je.ProductOverlay ? t || e.data.asset?.fileLink || "" : e.data.asset?.fileLink || "", o = a.endsWith(".jpeg") || a.endsWith(".jpg") || a.endsWith(".png") ? tr.Image : (a.endsWith(".svg"), tr.Illustration), l = e.data.regions;
|
|
63008
63008
|
if (o === "image")
|
|
63009
63009
|
try {
|
|
63010
63010
|
l.forEach((u) => {
|
|
@@ -63021,7 +63021,7 @@ const uL = [
|
|
|
63021
63021
|
height: u.height,
|
|
63022
63022
|
layer: u.layer,
|
|
63023
63023
|
layerIndex: u.layerIndex,
|
|
63024
|
-
productOverlay: e.type ===
|
|
63024
|
+
productOverlay: e.type === Je.ProductOverlay ? !0 : void 0,
|
|
63025
63025
|
scaleX: 1,
|
|
63026
63026
|
scaleY: 1,
|
|
63027
63027
|
rotation: u.rotation,
|
|
@@ -63060,7 +63060,7 @@ const uL = [
|
|
|
63060
63060
|
scaleX: 1,
|
|
63061
63061
|
scaleY: 1,
|
|
63062
63062
|
rotation: h.rotation,
|
|
63063
|
-
productOverlay: e.type ===
|
|
63063
|
+
productOverlay: e.type === Je.ProductOverlay ? !0 : void 0,
|
|
63064
63064
|
excludeFromExport: e.data.excludeFromPrint
|
|
63065
63065
|
};
|
|
63066
63066
|
n.push(new di(d, f));
|
|
@@ -63158,18 +63158,18 @@ const uL = [
|
|
|
63158
63158
|
const o = e.steps.find((l) => l.stepName === s.name);
|
|
63159
63159
|
if (o)
|
|
63160
63160
|
switch (o.type) {
|
|
63161
|
-
case
|
|
63161
|
+
case Je.DigitalContent:
|
|
63162
63162
|
i.push(
|
|
63163
63163
|
...await cL(t, s, o)
|
|
63164
63164
|
);
|
|
63165
63165
|
break;
|
|
63166
|
-
case
|
|
63167
|
-
case
|
|
63166
|
+
case Je.Frame:
|
|
63167
|
+
case Je.Photo:
|
|
63168
63168
|
i.push(
|
|
63169
63169
|
...await fL(t, a, s, o)
|
|
63170
63170
|
);
|
|
63171
63171
|
break;
|
|
63172
|
-
case
|
|
63172
|
+
case Je.Illustration:
|
|
63173
63173
|
i.push(
|
|
63174
63174
|
...await dL(
|
|
63175
63175
|
t,
|
|
@@ -63179,20 +63179,20 @@ const uL = [
|
|
|
63179
63179
|
)
|
|
63180
63180
|
);
|
|
63181
63181
|
break;
|
|
63182
|
-
case
|
|
63182
|
+
case Je.Module:
|
|
63183
63183
|
i.push(...await hL(t, s, o));
|
|
63184
63184
|
break;
|
|
63185
|
-
case
|
|
63185
|
+
case Je.Picture:
|
|
63186
63186
|
i.push(
|
|
63187
63187
|
...await pL(t, a, s, o)
|
|
63188
63188
|
);
|
|
63189
63189
|
break;
|
|
63190
|
-
case
|
|
63190
|
+
case Je.Shape:
|
|
63191
63191
|
i.push(
|
|
63192
63192
|
...await gL(t, a, s, o)
|
|
63193
63193
|
);
|
|
63194
63194
|
break;
|
|
63195
|
-
case
|
|
63195
|
+
case Je.Text:
|
|
63196
63196
|
i.push(
|
|
63197
63197
|
...await vL(t, a, s, o)
|
|
63198
63198
|
);
|
|
@@ -63200,7 +63200,7 @@ const uL = [
|
|
|
63200
63200
|
}
|
|
63201
63201
|
}
|
|
63202
63202
|
for (const s of e.steps)
|
|
63203
|
-
s.type !==
|
|
63203
|
+
s.type !== Je.SilentIllustration && s.type !== Je.ProductOverlay || await co(s, a) && i.push(
|
|
63204
63204
|
...await mL(t, s, n)
|
|
63205
63205
|
);
|
|
63206
63206
|
return i;
|
|
@@ -63389,7 +63389,7 @@ const DW = (r, e) => {
|
|
|
63389
63389
|
const t = [];
|
|
63390
63390
|
return r.forEach((n) => {
|
|
63391
63391
|
const i = e.steps.find((a) => a.stepName === n.stepName);
|
|
63392
|
-
i?.type ===
|
|
63392
|
+
i?.type === Je.Text && n.stepAspectType === "Text" && t.push({
|
|
63393
63393
|
name: i.stepName,
|
|
63394
63394
|
data: {
|
|
63395
63395
|
text: n.value
|
|
@@ -64334,7 +64334,7 @@ const aU = (r) => r.sort((e, t) => e.index - t.index).map((e) => ({
|
|
|
64334
64334
|
}), c), {})
|
|
64335
64335
|
), i = ft.getOptions(Array.from(n)), a = this.fetchConversionConfiguration();
|
|
64336
64336
|
await Promise.all([i, a]), this.allScenes = Cx(e);
|
|
64337
|
-
const o = (await
|
|
64337
|
+
const o = (await Ka(this.allScenes, this.stepSelections)).map((c) => c.silentSteps).flat(), { stepElements: l, commands: u } = await this.stepElementsForIntroducedSilentSteps(o, !!this.reloadedState);
|
|
64338
64338
|
this.commandContext.apply(new Nn(u), !0), this.stepElements = { ...this.stepElements, ...l }, await this.ensureStepsAreLoaded(), this.isReloadedTransaction || this.updateStateWithServer(), this.renderLayouts(), this.reloadedState && t();
|
|
64339
64339
|
}
|
|
64340
64340
|
getWorkflowExperience() {
|
|
@@ -64359,7 +64359,7 @@ const aU = (r) => r.sort((e, t) => e.index - t.index).map((e) => ({
|
|
|
64359
64359
|
const i = Cx(n), a = { ...e };
|
|
64360
64360
|
let s = -1;
|
|
64361
64361
|
for (; ; ) {
|
|
64362
|
-
const u = (await
|
|
64362
|
+
const u = (await Ka(i, a)).flatMap((c) => c.renderableSteps);
|
|
64363
64363
|
if (u.length === s)
|
|
64364
64364
|
break;
|
|
64365
64365
|
s = u.length;
|
|
@@ -64372,7 +64372,7 @@ const aU = (r) => r.sort((e, t) => e.index - t.index).map((e) => ({
|
|
|
64372
64372
|
});
|
|
64373
64373
|
}
|
|
64374
64374
|
}
|
|
64375
|
-
return (await
|
|
64375
|
+
return (await Ka(i, a)).flatMap((l) => l.renderableSteps).forEach((l) => {
|
|
64376
64376
|
l.option?.id && !l.option?.variants && t.add(l.option.id);
|
|
64377
64377
|
}), t;
|
|
64378
64378
|
}
|
|
@@ -64511,7 +64511,7 @@ const aU = (r) => r.sort((e, t) => e.index - t.index).map((e) => ({
|
|
|
64511
64511
|
this.mandatorySteps[e] !== t && (this.mandatorySteps = { ...this.mandatorySteps, [e]: t }, this.onMandatoryChange());
|
|
64512
64512
|
}
|
|
64513
64513
|
async getMandatoryUnfulfilledSteps() {
|
|
64514
|
-
return (await
|
|
64514
|
+
return (await Ka(this.allScenes, this.stepSelections)).flatMap((a) => a.renderableSteps).filter((a) => a.mandatory).filter((a) => !this.mandatorySteps[a.stepName]).map((a) => a.stepName);
|
|
64515
64515
|
}
|
|
64516
64516
|
setStepError(e, t, n) {
|
|
64517
64517
|
let i = !1;
|
|
@@ -64548,7 +64548,7 @@ const aU = (r) => r.sort((e, t) => e.index - t.index).map((e) => ({
|
|
|
64548
64548
|
},
|
|
64549
64549
|
{ refocusCamera: t }
|
|
64550
64550
|
);
|
|
64551
|
-
this.setModelContainer(i), (await
|
|
64551
|
+
this.setModelContainer(i), (await Ka(this.allScenes, this.stepSelections)).filter((o) => o).map((o) => o.renderableSteps).flat().filter((o) => o.type === Je.Model || o.type === Je.Material).forEach((o) => {
|
|
64552
64552
|
if (!o.option?.id) {
|
|
64553
64553
|
console.error(`Failed to read option id from step: ${o.stepName}`);
|
|
64554
64554
|
return;
|
|
@@ -64556,7 +64556,7 @@ const aU = (r) => r.sort((e, t) => e.index - t.index).map((e) => ({
|
|
|
64556
64556
|
const l = this.stepSelections[o.stepName]?.selectedVariants || [];
|
|
64557
64557
|
if (l.length === 0) return;
|
|
64558
64558
|
const u = l[0];
|
|
64559
|
-
if (o.type ===
|
|
64559
|
+
if (o.type === Je.Model) {
|
|
64560
64560
|
if (!this.modelContainer)
|
|
64561
64561
|
throw new un(
|
|
64562
64562
|
"We should always have a model container when injecting a preview!"
|
|
@@ -64700,7 +64700,7 @@ const aU = (r) => r.sort((e, t) => e.index - t.index).map((e) => ({
|
|
|
64700
64700
|
async getInvalidModelVariants() {
|
|
64701
64701
|
let e = [];
|
|
64702
64702
|
for (const t of this.experience.getWorkflow()?.steps || [])
|
|
64703
|
-
t.type ===
|
|
64703
|
+
t.type === Je.Model && !await co(t, this.stepSelections) && e.push(t.stepName);
|
|
64704
64704
|
return e;
|
|
64705
64705
|
}
|
|
64706
64706
|
/**
|
|
@@ -64711,10 +64711,10 @@ const aU = (r) => r.sort((e, t) => e.index - t.index).map((e) => ({
|
|
|
64711
64711
|
if (!n)
|
|
64712
64712
|
return Promise.resolve({ stepElements: {}, commands: [] });
|
|
64713
64713
|
const i = async (u, c, h) => {
|
|
64714
|
-
if (u.type ===
|
|
64714
|
+
if (u.type === Je.SilentIllustration) {
|
|
64715
64715
|
const f = await new cS(u, c).trigger();
|
|
64716
64716
|
return { step: u, results: f };
|
|
64717
|
-
} else if (u.type ===
|
|
64717
|
+
} else if (u.type === Je.ProductOverlay) {
|
|
64718
64718
|
const f = await new cS(
|
|
64719
64719
|
u,
|
|
64720
64720
|
c,
|
|
@@ -64804,7 +64804,7 @@ const aU = (r) => r.sort((e, t) => e.index - t.index).map((e) => ({
|
|
|
64804
64804
|
}, this.selectionCost = Object.values(this.stepSelections).reduce((R, B) => R + B.selectedVariants.map((G) => G.priceModifier || 0).reduce((G, $) => G + $, 0), 0);
|
|
64805
64805
|
for (const R of a.steps)
|
|
64806
64806
|
await co(R, this.stepSelections) || (this.stepInitialised[R.stepName] = !1, delete this.stepMetadata[R.stepName], delete this.stepSelections[R.stepName], delete this.storage[R.stepName]);
|
|
64807
|
-
const o = this.allScenes, l = await
|
|
64807
|
+
const o = this.allScenes, l = await Ka(o, s), u = await Ka(o, this.stepSelections), c = l.map((R) => R.silentSteps).flat(), f = u.map((R) => R.silentSteps).flat().filter(
|
|
64808
64808
|
(R) => !c.some((B) => B.stepName === R.stepName)
|
|
64809
64809
|
);
|
|
64810
64810
|
for (const R of c)
|
|
@@ -64816,7 +64816,7 @@ const aU = (r) => r.sort((e, t) => e.index - t.index).map((e) => ({
|
|
|
64816
64816
|
[e]: n
|
|
64817
64817
|
}, this.removeElements(d);
|
|
64818
64818
|
const y = a.steps.find((R) => R.stepName === e);
|
|
64819
|
-
y?.type ===
|
|
64819
|
+
y?.type === Je.Frame && this.getWorkflowExperience().getStepById(y.stepName)?.frameService?.setTargetElements(n.map((B) => B.id));
|
|
64820
64820
|
const A = d.map((R) => new yc(R.id)), x = new lS(this.constructSerializableWorkflow()), k = [...v, ...A, x];
|
|
64821
64821
|
k.length > 0 && this.commandContext.apply(new Nn(k), !0), await this.ensureStepsAreLoaded(), this.onElementsChange();
|
|
64822
64822
|
const T = await this.getInvalidModelVariants(), S = this.modelContainer;
|
|
@@ -64832,7 +64832,7 @@ const aU = (r) => r.sort((e, t) => e.index - t.index).map((e) => ({
|
|
|
64832
64832
|
);
|
|
64833
64833
|
await Promise.all(R);
|
|
64834
64834
|
}
|
|
64835
|
-
await this.onSelectionChange(), y?.type !==
|
|
64835
|
+
await this.onSelectionChange(), await this.reapplyMaterialSteps(), y?.type !== Je.Frame && y?.type !== Je.Text && this.setMandatoryFulfilled(e, !0), i && await i();
|
|
64836
64836
|
}
|
|
64837
64837
|
/**
|
|
64838
64838
|
* Ensures all steps for active scenes are initialized and loads them in parallel.
|
|
@@ -64848,11 +64848,11 @@ const aU = (r) => r.sort((e, t) => e.index - t.index).map((e) => ({
|
|
|
64848
64848
|
* @returns {Promise<void>}
|
|
64849
64849
|
*/
|
|
64850
64850
|
async ensureStepsAreLoaded() {
|
|
64851
|
-
const t = (await
|
|
64851
|
+
const t = (await Ka(this.allScenes, this.stepSelections)).map((l) => l.renderableSteps), n = [], i = t.flat();
|
|
64852
64852
|
for (const l of i)
|
|
64853
64853
|
if (!this.stepInitialised[l.stepName])
|
|
64854
64854
|
switch (this.stepInitialised[l.stepName] = !0, l.type) {
|
|
64855
|
-
case
|
|
64855
|
+
case Je.DigitalContent:
|
|
64856
64856
|
n.push(
|
|
64857
64857
|
PT.init(
|
|
64858
64858
|
l,
|
|
@@ -64861,43 +64861,43 @@ const aU = (r) => r.sort((e, t) => e.index - t.index).map((e) => ({
|
|
|
64861
64861
|
)
|
|
64862
64862
|
);
|
|
64863
64863
|
break;
|
|
64864
|
-
case
|
|
64864
|
+
case Je.Frame:
|
|
64865
64865
|
n.push(pl.init(l, this, this.reloadedState));
|
|
64866
64866
|
break;
|
|
64867
|
-
case
|
|
64867
|
+
case Je.Illustration:
|
|
64868
64868
|
n.push(
|
|
64869
64869
|
Hp.init(l, this, this.reloadedState)
|
|
64870
64870
|
);
|
|
64871
64871
|
break;
|
|
64872
|
-
case
|
|
64872
|
+
case Je.Material:
|
|
64873
64873
|
n.push(
|
|
64874
64874
|
RT.init(l, this, this.reloadedState)
|
|
64875
64875
|
);
|
|
64876
64876
|
break;
|
|
64877
|
-
case
|
|
64877
|
+
case Je.Model:
|
|
64878
64878
|
n.push(OT.init(l, this, this.reloadedState));
|
|
64879
64879
|
break;
|
|
64880
|
-
case
|
|
64880
|
+
case Je.Module:
|
|
64881
64881
|
this.stepSpecificServices[l.stepName] = {
|
|
64882
64882
|
module: await LT(l.data.module)
|
|
64883
64883
|
}, n.push(
|
|
64884
64884
|
BT.init(l, this, this.reloadedState)
|
|
64885
64885
|
);
|
|
64886
64886
|
break;
|
|
64887
|
-
case
|
|
64887
|
+
case Je.Picture:
|
|
64888
64888
|
n.push(
|
|
64889
64889
|
MT.init(l, this, this.reloadedState)
|
|
64890
64890
|
);
|
|
64891
64891
|
break;
|
|
64892
|
-
case
|
|
64892
|
+
case Je.Question:
|
|
64893
64893
|
n.push(
|
|
64894
64894
|
_T.init(l, this, this.reloadedState)
|
|
64895
64895
|
);
|
|
64896
64896
|
break;
|
|
64897
|
-
case
|
|
64897
|
+
case Je.Shape:
|
|
64898
64898
|
n.push(jf.init(l, this, this.reloadedState));
|
|
64899
64899
|
break;
|
|
64900
|
-
case
|
|
64900
|
+
case Je.Text:
|
|
64901
64901
|
n.push(pi.init(l, this, this.reloadedState));
|
|
64902
64902
|
break;
|
|
64903
64903
|
}
|
|
@@ -64959,10 +64959,23 @@ const aU = (r) => r.sort((e, t) => e.index - t.index).map((e) => ({
|
|
|
64959
64959
|
traversableScenes() {
|
|
64960
64960
|
return EM(this.allScenes, this.stepSelections, this.singleVariantsRenderable);
|
|
64961
64961
|
}
|
|
64962
|
+
async reapplyMaterialSteps() {
|
|
64963
|
+
if (!this.modelContainer) return;
|
|
64964
|
+
const t = (await Ka(this.allScenes, this.stepSelections)).flatMap((n) => n.renderableSteps).filter((n) => n.type === Je.Material);
|
|
64965
|
+
for (const n of t) {
|
|
64966
|
+
const i = this.stepSelections[n.stepName]?.selectedVariants;
|
|
64967
|
+
if (!i || i.length === 0) continue;
|
|
64968
|
+
const s = i[0].material;
|
|
64969
|
+
if (!s || !n.option?.id) continue;
|
|
64970
|
+
n.data.targetMaterials.forEach((l) => {
|
|
64971
|
+
this.modelContainer?.applyMaterialVariant(l, n.option.id, s);
|
|
64972
|
+
});
|
|
64973
|
+
}
|
|
64974
|
+
}
|
|
64962
64975
|
};
|
|
64963
64976
|
ad.configurationPromiseMap = /* @__PURE__ */ new Map();
|
|
64964
64977
|
let qy = ad;
|
|
64965
|
-
class
|
|
64978
|
+
class ns {
|
|
64966
64979
|
constructor(e) {
|
|
64967
64980
|
this.variantData = e;
|
|
64968
64981
|
}
|
|
@@ -65078,7 +65091,7 @@ const sd = class sd {
|
|
|
65078
65091
|
getCurrentVariant() {
|
|
65079
65092
|
const n = this.manager.getWorkflowSelections()[this.step.stepName]?.selections[0];
|
|
65080
65093
|
if (n)
|
|
65081
|
-
return new
|
|
65094
|
+
return new ns(n);
|
|
65082
65095
|
}
|
|
65083
65096
|
/**
|
|
65084
65097
|
* @returns A list of valid variants for this step. Does not include disabled variants.
|
|
@@ -65092,10 +65105,10 @@ const sd = class sd {
|
|
|
65092
65105
|
async getAllVariants() {
|
|
65093
65106
|
if (!this.step.option?.id) return [];
|
|
65094
65107
|
if (this.step.option.variants)
|
|
65095
|
-
return (this.step.option.variants || []).map((t) => new
|
|
65108
|
+
return (this.step.option.variants || []).map((t) => new ns(t)) || [];
|
|
65096
65109
|
const e = await ft.getOption(this.step.option?.id);
|
|
65097
65110
|
if (!e) throw new Error("Option not found, cannot fetch variants.");
|
|
65098
|
-
return (e.variants || []).map((t) => new
|
|
65111
|
+
return (e.variants || []).map((t) => new ns(t)) || [];
|
|
65099
65112
|
}
|
|
65100
65113
|
/**
|
|
65101
65114
|
* @returns A unique identifier for this step within the workflow.
|
|
@@ -65685,51 +65698,51 @@ class mU extends na {
|
|
|
65685
65698
|
class wp {
|
|
65686
65699
|
static get(e, t) {
|
|
65687
65700
|
switch (t.type) {
|
|
65688
|
-
case
|
|
65701
|
+
case Je.DigitalContent:
|
|
65689
65702
|
return new gU(
|
|
65690
65703
|
e,
|
|
65691
65704
|
t,
|
|
65692
65705
|
e.getStepTags(t.stepName)
|
|
65693
65706
|
);
|
|
65694
|
-
case
|
|
65707
|
+
case Je.Information:
|
|
65695
65708
|
return new pU(
|
|
65696
65709
|
e,
|
|
65697
65710
|
t,
|
|
65698
65711
|
e.getStepTags(t.stepName)
|
|
65699
65712
|
);
|
|
65700
|
-
case
|
|
65713
|
+
case Je.Question:
|
|
65701
65714
|
return new fU(
|
|
65702
65715
|
e,
|
|
65703
65716
|
t,
|
|
65704
65717
|
e.getStepTags(t.stepName)
|
|
65705
65718
|
);
|
|
65706
|
-
case
|
|
65719
|
+
case Je.Text:
|
|
65707
65720
|
return new hU(e, t, e.getStepTags(t.stepName));
|
|
65708
|
-
case
|
|
65721
|
+
case Je.Illustration:
|
|
65709
65722
|
return new oU(
|
|
65710
65723
|
e,
|
|
65711
65724
|
t,
|
|
65712
65725
|
e.getStepTags(t.stepName)
|
|
65713
65726
|
);
|
|
65714
|
-
case
|
|
65727
|
+
case Je.Picture:
|
|
65715
65728
|
return new cU(
|
|
65716
65729
|
e,
|
|
65717
65730
|
t,
|
|
65718
65731
|
e.getStepTags(t.stepName)
|
|
65719
65732
|
);
|
|
65720
|
-
case
|
|
65733
|
+
case Je.Shape:
|
|
65721
65734
|
return new dU(e, t, e.getStepTags(t.stepName));
|
|
65722
|
-
case
|
|
65735
|
+
case Je.Material:
|
|
65723
65736
|
return new lU(
|
|
65724
65737
|
e,
|
|
65725
65738
|
t,
|
|
65726
65739
|
e.getStepTags(t.stepName)
|
|
65727
65740
|
);
|
|
65728
|
-
case
|
|
65741
|
+
case Je.Model:
|
|
65729
65742
|
return new uU(e, t, e.getStepTags(t.stepName));
|
|
65730
|
-
case
|
|
65743
|
+
case Je.Frame:
|
|
65731
65744
|
return new TQ(e, t, e.getStepTags(t.stepName));
|
|
65732
|
-
case
|
|
65745
|
+
case Je.Module:
|
|
65733
65746
|
return new mU(e, t, e.getStepTags(t.stepName));
|
|
65734
65747
|
default:
|
|
65735
65748
|
throw new un(`Step type ${t.type} not yet supported in Core SDK`);
|
|
@@ -66837,7 +66850,7 @@ class RU {
|
|
|
66837
66850
|
* @returns Returns true when a valid handle is implemented for a given step type. Certain steps don't support handles, such as silent illustrations.
|
|
66838
66851
|
*/
|
|
66839
66852
|
stepHasHandle(e) {
|
|
66840
|
-
return e.type !==
|
|
66853
|
+
return e.type !== Je.SilentIllustration && e.type !== Je.ProductOverlay;
|
|
66841
66854
|
}
|
|
66842
66855
|
async getExportedStepData() {
|
|
66843
66856
|
const e = this.getWorkflow(), t = this.getWorkflowManager().getWorkflowMetadata(), n = this.getWorkflowManager().getWorkflowSelections(), i = [];
|
|
@@ -66856,7 +66869,7 @@ class RU {
|
|
|
66856
66869
|
continue;
|
|
66857
66870
|
}
|
|
66858
66871
|
switch (a.type) {
|
|
66859
|
-
case
|
|
66872
|
+
case Je.Frame:
|
|
66860
66873
|
{
|
|
66861
66874
|
const c = a.data, h = o;
|
|
66862
66875
|
h.image && c.displayImageOnFinishStep && u.properties.push({
|
|
@@ -66866,7 +66879,7 @@ class RU {
|
|
|
66866
66879
|
});
|
|
66867
66880
|
}
|
|
66868
66881
|
break;
|
|
66869
|
-
case
|
|
66882
|
+
case Je.Illustration:
|
|
66870
66883
|
{
|
|
66871
66884
|
const c = a.data, h = o;
|
|
66872
66885
|
if (h && h.colors && h.colors.length > 0 && c.displayColorsOnFinishStep) {
|
|
@@ -66879,7 +66892,7 @@ class RU {
|
|
|
66879
66892
|
}
|
|
66880
66893
|
}
|
|
66881
66894
|
break;
|
|
66882
|
-
case
|
|
66895
|
+
case Je.Module:
|
|
66883
66896
|
{
|
|
66884
66897
|
const c = a.data, h = o;
|
|
66885
66898
|
h && h.text && c.displayTextOnFinishStep && u.properties.push({
|
|
@@ -66889,7 +66902,7 @@ class RU {
|
|
|
66889
66902
|
});
|
|
66890
66903
|
}
|
|
66891
66904
|
break;
|
|
66892
|
-
case
|
|
66905
|
+
case Je.Text: {
|
|
66893
66906
|
const c = a.data, h = o;
|
|
66894
66907
|
h && h.text && c.displayTextOnFinishStep && u.properties.push({
|
|
66895
66908
|
type: "text",
|
|
@@ -66944,14 +66957,14 @@ class RU {
|
|
|
66944
66957
|
}
|
|
66945
66958
|
const OU = (r) => {
|
|
66946
66959
|
if ([
|
|
66947
|
-
|
|
66948
|
-
|
|
66949
|
-
|
|
66950
|
-
|
|
66951
|
-
|
|
66952
|
-
|
|
66953
|
-
|
|
66954
|
-
|
|
66960
|
+
Je.Question,
|
|
66961
|
+
Je.Frame,
|
|
66962
|
+
Je.Illustration,
|
|
66963
|
+
Je.Material,
|
|
66964
|
+
Je.Model,
|
|
66965
|
+
Je.Picture,
|
|
66966
|
+
Je.Shape,
|
|
66967
|
+
Je.Text
|
|
66955
66968
|
].includes(r.type)) {
|
|
66956
66969
|
const t = r.data;
|
|
66957
66970
|
return !!t.displaySelectionOnFinishStep || !!t.displaySelectionsOnFinishStep;
|
|
@@ -67105,7 +67118,7 @@ class _U extends h1 {
|
|
|
67105
67118
|
const e = await this.getImage();
|
|
67106
67119
|
if (e?.fileLink)
|
|
67107
67120
|
if (e?.fileLink.endsWith(".svg")) {
|
|
67108
|
-
const t = await ma(e?.fileLink), n = await c1(e?.fileLink), i = n.width, a = n.height, s = await
|
|
67121
|
+
const t = await ma(e?.fileLink), n = await c1(e?.fileLink), i = n.width, a = n.height, s = await us(t);
|
|
67109
67122
|
this.bundle.getGlobalPropertyStateManager().getAspectStorage(this.property.name)?.colors?.forEach((u) => {
|
|
67110
67123
|
s.colors[u.key] = {
|
|
67111
67124
|
browserValue: u.browserValue,
|
|
@@ -67296,7 +67309,7 @@ class _U extends h1 {
|
|
|
67296
67309
|
return this.property.data?.fileUpload?.pmsPickerEnabled ?? !1;
|
|
67297
67310
|
}
|
|
67298
67311
|
async getOriginalColors() {
|
|
67299
|
-
return this.imageData?.svg ? (await
|
|
67312
|
+
return this.imageData?.svg ? (await us(this.imageData.svg)).colors : void 0;
|
|
67300
67313
|
}
|
|
67301
67314
|
async changeColors(e) {
|
|
67302
67315
|
if (!this.imageData?.svg)
|
|
@@ -67407,7 +67420,7 @@ class jT extends h1 {
|
|
|
67407
67420
|
const e = this.optionResource?.variants?.find(
|
|
67408
67421
|
(t) => t.id === this.optionResource?.defaultVariant?.id
|
|
67409
67422
|
);
|
|
67410
|
-
e && await this.selectVariant(new
|
|
67423
|
+
e && await this.selectVariant(new ns(e));
|
|
67411
67424
|
}
|
|
67412
67425
|
/**
|
|
67413
67426
|
* Gets the currently selected variant, or undefined if no variant is selected.
|
|
@@ -67417,25 +67430,25 @@ class jT extends h1 {
|
|
|
67417
67430
|
const e = this.getStateValue();
|
|
67418
67431
|
if (e) {
|
|
67419
67432
|
const t = this.optionResource.variants?.find((n) => n.id === e);
|
|
67420
|
-
return t ? new
|
|
67433
|
+
return t ? new ns(t) : void 0;
|
|
67421
67434
|
} else {
|
|
67422
67435
|
const t = this.optionResource.variants?.find(
|
|
67423
67436
|
(n) => n.id === this.optionResource?.defaultVariant?.id
|
|
67424
67437
|
);
|
|
67425
|
-
return t ? new
|
|
67438
|
+
return t ? new ns(t) : void 0;
|
|
67426
67439
|
}
|
|
67427
67440
|
}
|
|
67428
67441
|
/**
|
|
67429
67442
|
* @returns A list of valid variants for this step. Does not include disabled variants.
|
|
67430
67443
|
*/
|
|
67431
67444
|
async getAvailableVariants() {
|
|
67432
|
-
return await this.ensureOptionLoaded(), (this.optionResource?.variants?.filter((t) => t.enabled) || []).map((t) => new
|
|
67445
|
+
return await this.ensureOptionLoaded(), (this.optionResource?.variants?.filter((t) => t.enabled) || []).map((t) => new ns(t));
|
|
67433
67446
|
}
|
|
67434
67447
|
/**
|
|
67435
67448
|
* @returns A list of all variants for this step, including disabled ones.
|
|
67436
67449
|
*/
|
|
67437
67450
|
async getAllVariants() {
|
|
67438
|
-
return await this.ensureOptionLoaded(), (this.optionResource?.variants || []).map((t) => new
|
|
67451
|
+
return await this.ensureOptionLoaded(), (this.optionResource?.variants || []).map((t) => new ns(t));
|
|
67439
67452
|
}
|
|
67440
67453
|
/**
|
|
67441
67454
|
* Select a given variant on the option for all shared steps.
|
|
@@ -67450,7 +67463,7 @@ class jT extends h1 {
|
|
|
67450
67463
|
await this.ensureOptionLoaded();
|
|
67451
67464
|
const n = this.optionResource?.variants?.find((i) => i.id === t);
|
|
67452
67465
|
if (n)
|
|
67453
|
-
return this.applyVariantSelection(new
|
|
67466
|
+
return this.applyVariantSelection(new ns(n), e);
|
|
67454
67467
|
}
|
|
67455
67468
|
async applyVariantSelection(e, t) {
|
|
67456
67469
|
const i = (await this.getSharedSteps(t)).map((a) => a.selectVariant(e));
|
|
@@ -67474,22 +67487,22 @@ class nE extends jT {
|
|
|
67474
67487
|
await this.ensureOptionLoaded();
|
|
67475
67488
|
const n = this.optionResource?.variants?.find((a) => a.id === t);
|
|
67476
67489
|
if (!n) return;
|
|
67477
|
-
await this.applyColorVariant(new
|
|
67490
|
+
await this.applyColorVariant(new ns(n), e);
|
|
67478
67491
|
const i = this.bundle.getGlobalPropertyStateManager().getAspectStorage(this.property.name)?.customColor;
|
|
67479
67492
|
i && await this.setCustomColor(i);
|
|
67480
67493
|
}
|
|
67481
67494
|
async applyColorVariant(e, t, n) {
|
|
67482
67495
|
const a = (await this.getSharedSteps(t)).map((s) => {
|
|
67483
67496
|
switch (s.getType()) {
|
|
67484
|
-
case
|
|
67497
|
+
case Je.Shape:
|
|
67485
67498
|
return s.selectVariant(e);
|
|
67486
|
-
case
|
|
67499
|
+
case Je.Text:
|
|
67487
67500
|
return s.setFillColor({
|
|
67488
67501
|
fill: e.getColor(),
|
|
67489
67502
|
stroke: e.getColor(),
|
|
67490
67503
|
variant: e.getResource()
|
|
67491
67504
|
});
|
|
67492
|
-
case
|
|
67505
|
+
case Je.Illustration:
|
|
67493
67506
|
return s.setColor(n?.toString() || "", e.getColor() || "");
|
|
67494
67507
|
}
|
|
67495
67508
|
});
|
|
@@ -67513,7 +67526,7 @@ const LU = (r, e, t) => {
|
|
|
67513
67526
|
const n = r.getWorkflowExperiences(), i = r.getGlobalPropertyConfiguration();
|
|
67514
67527
|
return i ? n.flatMap((s) => s.getSteps()).filter((s) => s.getGlobalPropertyAspects(i.id).includes(e) && s.getType() === t) : [];
|
|
67515
67528
|
}, UU = (r, e) => {
|
|
67516
|
-
const n = LU(r, e,
|
|
67529
|
+
const n = LU(r, e, Je.Illustration).map((i) => {
|
|
67517
67530
|
if (!i.getCurrentVariant()?.getAssetResource()?.assetConfiguration)
|
|
67518
67531
|
return 0;
|
|
67519
67532
|
const s = i.getColors();
|
|
@@ -67722,7 +67735,7 @@ function VU() {
|
|
|
67722
67735
|
}
|
|
67723
67736
|
q.prototype.clear = pe, q.prototype.delete = ce, q.prototype.get = Ce, q.prototype.has = _e, q.prototype.set = rt;
|
|
67724
67737
|
function lt(L, te) {
|
|
67725
|
-
var le = ki(L), Ve = !le &&
|
|
67738
|
+
var le = ki(L), Ve = !le && fs(L), pt = !le && !Ve && ds(L), _t = !le && !Ve && !pt && Ae(L), Qr = le || Ve || pt || _t, Vn = Qr ? pn(L.length, String) : [], si = Vn.length;
|
|
67726
67739
|
for (var Hi in L)
|
|
67727
67740
|
Qr && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
67728
67741
|
(Hi == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -67733,11 +67746,11 @@ function VU() {
|
|
|
67733
67746
|
}
|
|
67734
67747
|
function nt(L, te, le) {
|
|
67735
67748
|
var Ve = L[te];
|
|
67736
|
-
(!(tt.call(L, te) &&
|
|
67749
|
+
(!(tt.call(L, te) && cs(Ve, le)) || le === void 0 && !(te in L)) && vr(L, te, le);
|
|
67737
67750
|
}
|
|
67738
67751
|
function Jt(L, te) {
|
|
67739
67752
|
for (var le = L.length; le--; )
|
|
67740
|
-
if (
|
|
67753
|
+
if (cs(L[le][0], te))
|
|
67741
67754
|
return le;
|
|
67742
67755
|
return -1;
|
|
67743
67756
|
}
|
|
@@ -67760,7 +67773,7 @@ function VU() {
|
|
|
67760
67773
|
Qr = be(L);
|
|
67761
67774
|
else {
|
|
67762
67775
|
var si = fe(L), Hi = si == x || si == k;
|
|
67763
|
-
if (
|
|
67776
|
+
if (ds(L))
|
|
67764
67777
|
return Zn(L);
|
|
67765
67778
|
if (si == B || si == f || Hi && !pt)
|
|
67766
67779
|
Qr = {};
|
|
@@ -67786,7 +67799,7 @@ function VU() {
|
|
|
67786
67799
|
}
|
|
67787
67800
|
function fn(L, te, le, Ve, pt) {
|
|
67788
67801
|
var _t = -1, Qr = L.length;
|
|
67789
|
-
for (le || (le =
|
|
67802
|
+
for (le || (le = Ke), pt || (pt = []); ++_t < Qr; ) {
|
|
67790
67803
|
var Vn = L[_t];
|
|
67791
67804
|
le(Vn) ? Vr(pt, Vn) : pt[pt.length] = Vn;
|
|
67792
67805
|
}
|
|
@@ -67814,14 +67827,14 @@ function VU() {
|
|
|
67814
67827
|
function Bn(L) {
|
|
67815
67828
|
if (!ca(L) || pr(L))
|
|
67816
67829
|
return !1;
|
|
67817
|
-
var te =
|
|
67830
|
+
var te = hs(L) ? P : $t;
|
|
67818
67831
|
return te.test(hi(L));
|
|
67819
67832
|
}
|
|
67820
67833
|
function Mn(L) {
|
|
67821
67834
|
return zi(L) && fe(L) == W;
|
|
67822
67835
|
}
|
|
67823
67836
|
function Oi(L) {
|
|
67824
|
-
return zi(L) &&
|
|
67837
|
+
return zi(L) && ps(L.length) && !!St[vn(L)];
|
|
67825
67838
|
}
|
|
67826
67839
|
function yi(L) {
|
|
67827
67840
|
if (!ca(L))
|
|
@@ -67993,8 +68006,8 @@ function VU() {
|
|
|
67993
68006
|
return I(L);
|
|
67994
68007
|
}
|
|
67995
68008
|
}
|
|
67996
|
-
function
|
|
67997
|
-
return ki(L) ||
|
|
68009
|
+
function Ke(L) {
|
|
68010
|
+
return ki(L) || fs(L) || !!(It && L && L[It]);
|
|
67998
68011
|
}
|
|
67999
68012
|
function Xe(L, te) {
|
|
68000
68013
|
var le = typeof L;
|
|
@@ -68105,25 +68118,25 @@ function VU() {
|
|
|
68105
68118
|
return le.cache = new (ua.Cache || rn)(), le;
|
|
68106
68119
|
}
|
|
68107
68120
|
ua.Cache = rn;
|
|
68108
|
-
function
|
|
68121
|
+
function cs(L, te) {
|
|
68109
68122
|
return L === te || L !== L && te !== te;
|
|
68110
68123
|
}
|
|
68111
|
-
var
|
|
68124
|
+
var fs = Or(/* @__PURE__ */ (function() {
|
|
68112
68125
|
return arguments;
|
|
68113
68126
|
})()) ? Or : function(L) {
|
|
68114
68127
|
return zi(L) && tt.call(L, "callee") && !Qe.call(L, "callee");
|
|
68115
68128
|
}, ki = Array.isArray;
|
|
68116
68129
|
function Ha(L) {
|
|
68117
|
-
return L != null &&
|
|
68130
|
+
return L != null && ps(L.length) && !hs(L);
|
|
68118
68131
|
}
|
|
68119
|
-
var
|
|
68120
|
-
function
|
|
68132
|
+
var ds = K || qr;
|
|
68133
|
+
function hs(L) {
|
|
68121
68134
|
if (!ca(L))
|
|
68122
68135
|
return !1;
|
|
68123
68136
|
var te = vn(L);
|
|
68124
68137
|
return te == x || te == k || te == g || te == $;
|
|
68125
68138
|
}
|
|
68126
|
-
function
|
|
68139
|
+
function ps(L) {
|
|
68127
68140
|
return typeof L == "number" && L > -1 && L % 1 == 0 && L <= h;
|
|
68128
68141
|
}
|
|
68129
68142
|
function ca(L) {
|
|
@@ -69257,7 +69270,7 @@ class sE {
|
|
|
69257
69270
|
return this.productCollection ? new $T(this.productCollection) : void 0;
|
|
69258
69271
|
}
|
|
69259
69272
|
async initializeAdditionalRequiredColorChannels(e) {
|
|
69260
|
-
for (const t of e.getStepsByType(
|
|
69273
|
+
for (const t of e.getStepsByType(Je.Illustration)) {
|
|
69261
69274
|
const n = t.getGlobalPropertyAspects(this.globalConfigurationPropertyId || "");
|
|
69262
69275
|
for (const i of n) {
|
|
69263
69276
|
const a = this.getGlobalPropertyConfiguration()?.aspects.find(
|
|
@@ -71174,7 +71187,7 @@ const lV = new RegExp(/^(\d{4})-(\d{2})-(\d{2})[tT](\d{2}):(\d{2}):(\d{2})(?:\.(
|
|
|
71174
71187
|
po.from = (r) => r && typeof r == "object" && (r instanceof po || "deserializeJSON" in r) ? r : typeof r == "string" || Object.getPrototypeOf(r) === String.prototype ? po(String(r)) : po(JSON.stringify(r));
|
|
71175
71188
|
po.fromObject = po.from;
|
|
71176
71189
|
const gE = /^-?\d*(\.\d+)?$/;
|
|
71177
|
-
class
|
|
71190
|
+
class as {
|
|
71178
71191
|
string;
|
|
71179
71192
|
type;
|
|
71180
71193
|
constructor(e, t) {
|
|
@@ -71188,7 +71201,7 @@ class is {
|
|
|
71188
71201
|
if (!e || typeof e != "object")
|
|
71189
71202
|
return !1;
|
|
71190
71203
|
const t = e;
|
|
71191
|
-
return
|
|
71204
|
+
return as.prototype.isPrototypeOf(e) || t.type === "bigDecimal" && gE.test(t.string);
|
|
71192
71205
|
}
|
|
71193
71206
|
}
|
|
71194
71207
|
class xV {
|
|
@@ -71273,7 +71286,7 @@ class CV extends xV {
|
|
|
71273
71286
|
});
|
|
71274
71287
|
}
|
|
71275
71288
|
async loadEventStreamCapability() {
|
|
71276
|
-
const { EventStreamSerde: e } = await import("./index-
|
|
71289
|
+
const { EventStreamSerde: e } = await import("./index-DA4lVvrA.js");
|
|
71277
71290
|
return new e({
|
|
71278
71291
|
marshaller: this.getEventStreamMarshaller(),
|
|
71279
71292
|
serializer: this.serializer,
|
|
@@ -71761,7 +71774,7 @@ Ag.aws = dI;
|
|
|
71761
71774
|
function oz(r, e, t) {
|
|
71762
71775
|
return r.$source || (r.$source = {}), r.$source[e] = t, r;
|
|
71763
71776
|
}
|
|
71764
|
-
function
|
|
71777
|
+
function Is(r, e, t) {
|
|
71765
71778
|
r.__aws_sdk_context ? r.__aws_sdk_context.features || (r.__aws_sdk_context.features = {}) : r.__aws_sdk_context = {
|
|
71766
71779
|
features: {}
|
|
71767
71780
|
}, r.__aws_sdk_context.features[e] = t;
|
|
@@ -72007,38 +72020,38 @@ class xz {
|
|
|
72007
72020
|
}
|
|
72008
72021
|
const Cz = /\d{12}\.ddb/;
|
|
72009
72022
|
async function Sz(r, e, t) {
|
|
72010
|
-
if (t.request?.headers?.["smithy-protocol"] === "rpc-v2-cbor" &&
|
|
72023
|
+
if (t.request?.headers?.["smithy-protocol"] === "rpc-v2-cbor" && Is(r, "PROTOCOL_RPC_V2_CBOR", "M"), typeof e.retryStrategy == "function") {
|
|
72011
72024
|
const a = await e.retryStrategy();
|
|
72012
72025
|
if (typeof a.mode == "string")
|
|
72013
72026
|
switch (a.mode) {
|
|
72014
72027
|
case Do.ADAPTIVE:
|
|
72015
|
-
|
|
72028
|
+
Is(r, "RETRY_MODE_ADAPTIVE", "F");
|
|
72016
72029
|
break;
|
|
72017
72030
|
case Do.STANDARD:
|
|
72018
|
-
|
|
72031
|
+
Is(r, "RETRY_MODE_STANDARD", "E");
|
|
72019
72032
|
break;
|
|
72020
72033
|
}
|
|
72021
72034
|
}
|
|
72022
72035
|
if (typeof e.accountIdEndpointMode == "function") {
|
|
72023
72036
|
const a = r.endpointV2;
|
|
72024
|
-
switch (String(a?.url?.hostname).match(Cz) &&
|
|
72037
|
+
switch (String(a?.url?.hostname).match(Cz) && Is(r, "ACCOUNT_ID_ENDPOINT", "O"), await e.accountIdEndpointMode?.()) {
|
|
72025
72038
|
case "disabled":
|
|
72026
|
-
|
|
72039
|
+
Is(r, "ACCOUNT_ID_MODE_DISABLED", "Q");
|
|
72027
72040
|
break;
|
|
72028
72041
|
case "preferred":
|
|
72029
|
-
|
|
72042
|
+
Is(r, "ACCOUNT_ID_MODE_PREFERRED", "P");
|
|
72030
72043
|
break;
|
|
72031
72044
|
case "required":
|
|
72032
|
-
|
|
72045
|
+
Is(r, "ACCOUNT_ID_MODE_REQUIRED", "R");
|
|
72033
72046
|
break;
|
|
72034
72047
|
}
|
|
72035
72048
|
}
|
|
72036
72049
|
const i = r.__smithy_context?.selectedHttpAuthScheme?.identity;
|
|
72037
72050
|
if (i?.$source) {
|
|
72038
72051
|
const a = i;
|
|
72039
|
-
a.accountId &&
|
|
72052
|
+
a.accountId && Is(r, "RESOLVED_ACCOUNT_ID", "T");
|
|
72040
72053
|
for (const [s, o] of Object.entries(a.$source ?? {}))
|
|
72041
|
-
|
|
72054
|
+
Is(r, s, o);
|
|
72042
72055
|
}
|
|
72043
72056
|
}
|
|
72044
72057
|
const AE = "user-agent", Rv = "x-amz-user-agent", bE = " ", Ov = "/", Ez = /[^!$%&'*+\-.^_`|~\w]/g, kz = /[^!$%&'*+\-.^_`|~\w#]/g, wE = "-", Fz = 1024;
|
|
@@ -73633,8 +73646,8 @@ var oj = (
|
|
|
73633
73646
|
throw this.error;
|
|
73634
73647
|
return this.outer ? (this.outer.finished || this.outer.update(this.hash.digest()), this.outer.digest()) : this.hash.digest();
|
|
73635
73648
|
}, r.prototype.digest = function() {
|
|
73636
|
-
return
|
|
73637
|
-
return
|
|
73649
|
+
return ts(this, void 0, void 0, function() {
|
|
73650
|
+
return rs(this, function(e) {
|
|
73638
73651
|
return [2, this.digestSync()];
|
|
73639
73652
|
});
|
|
73640
73653
|
});
|
|
@@ -73896,7 +73909,7 @@ function Fj(r, e, t) {
|
|
|
73896
73909
|
if (t?.source) {
|
|
73897
73910
|
const n = t.source;
|
|
73898
73911
|
if (typeof e == "number" && (e > Number.MAX_SAFE_INTEGER || e < Number.MIN_SAFE_INTEGER || n !== String(e)))
|
|
73899
|
-
return n.includes(".") ? new
|
|
73912
|
+
return n.includes(".") ? new as(n, "bigDecimal") : BigInt(n);
|
|
73900
73913
|
}
|
|
73901
73914
|
return e;
|
|
73902
73915
|
}
|
|
@@ -73991,10 +74004,10 @@ class Pj extends C1 {
|
|
|
73991
74004
|
if (i.isBigIntegerSchema() && (typeof t == "number" || typeof t == "string"))
|
|
73992
74005
|
return BigInt(t);
|
|
73993
74006
|
if (i.isBigDecimalSchema() && t != null) {
|
|
73994
|
-
if (t instanceof
|
|
74007
|
+
if (t instanceof as)
|
|
73995
74008
|
return t;
|
|
73996
74009
|
const s = t;
|
|
73997
|
-
return s.type === "bigDecimal" && "string" in s ? new
|
|
74010
|
+
return s.type === "bigDecimal" && "string" in s ? new as(s.string, s.type) : new as(String(t), "bigDecimal");
|
|
73998
74011
|
}
|
|
73999
74012
|
if (i.isNumericSchema() && typeof t == "string") {
|
|
74000
74013
|
switch (t) {
|
|
@@ -74011,7 +74024,7 @@ class Pj extends C1 {
|
|
|
74011
74024
|
if (n) {
|
|
74012
74025
|
const s = Array.isArray(t) ? [] : {};
|
|
74013
74026
|
for (const [o, l] of Object.entries(t))
|
|
74014
|
-
l instanceof
|
|
74027
|
+
l instanceof as ? s[o] = l : s[o] = this._read(i, l);
|
|
74015
74028
|
return s;
|
|
74016
74029
|
} else
|
|
74017
74030
|
return structuredClone(t);
|
|
@@ -74029,7 +74042,7 @@ class Rj {
|
|
|
74029
74042
|
if (this.stage === 2)
|
|
74030
74043
|
throw new Error("@aws-sdk/core/protocols - JsonReplacer exhausted.");
|
|
74031
74044
|
return this.stage = 1, (e, t) => {
|
|
74032
|
-
if (t instanceof
|
|
74045
|
+
if (t instanceof as) {
|
|
74033
74046
|
const n = `${UE + "nv" + this.counter++}_` + t.string;
|
|
74034
74047
|
return this.values.set(`"${n}"`, t.string), n;
|
|
74035
74048
|
}
|
|
@@ -74128,7 +74141,7 @@ class Oj extends C1 {
|
|
|
74128
74141
|
default:
|
|
74129
74142
|
return console.warn("Missing timestamp format, using epoch seconds", t), t.getTime() / 1e3;
|
|
74130
74143
|
}
|
|
74131
|
-
t instanceof
|
|
74144
|
+
t instanceof as && (this.useReplacer = !0);
|
|
74132
74145
|
}
|
|
74133
74146
|
if (!(t === null && n?.isStructSchema())) {
|
|
74134
74147
|
if (a.isStringSchema()) {
|
|
@@ -74145,7 +74158,7 @@ class Oj extends C1 {
|
|
|
74145
74158
|
if (i) {
|
|
74146
74159
|
const s = Array.isArray(t) ? [] : {};
|
|
74147
74160
|
for (const [o, l] of Object.entries(t))
|
|
74148
|
-
l instanceof
|
|
74161
|
+
l instanceof as ? (this.useReplacer = !0, s[o] = l) : s[o] = this._write(a, l);
|
|
74149
74162
|
return s;
|
|
74150
74163
|
} else
|
|
74151
74164
|
return structuredClone(t);
|
|
@@ -74229,7 +74242,7 @@ class _j extends Mj {
|
|
|
74229
74242
|
return "application/x-amz-json-1.1";
|
|
74230
74243
|
}
|
|
74231
74244
|
}
|
|
74232
|
-
const DI = "required", Ii = "fn", Di = "argv", bc = "ref", VE = !0, zE = "isSet", Td = "booleanEquals", Fu = "error", Xa = "endpoint",
|
|
74245
|
+
const DI = "required", Ii = "fn", Di = "argv", bc = "ref", VE = !0, zE = "isSet", Td = "booleanEquals", Fu = "error", Xa = "endpoint", Ds = "tree", S1 = "PartitionResult", E1 = "getAttr", Rf = "stringEquals", HE = { [DI]: !1, type: "string" }, jE = { [DI]: !0, default: !1, type: "boolean" }, GE = { [bc]: "Endpoint" }, PI = { [Ii]: Td, [Di]: [{ [bc]: "UseFIPS" }, !0] }, RI = { [Ii]: Td, [Di]: [{ [bc]: "UseDualStack" }, !0] }, ti = {}, qf = { [bc]: "Region" }, $E = { [Ii]: E1, [Di]: [{ [bc]: S1 }, "supportsFIPS"] }, OI = { [bc]: S1 }, qE = { [Ii]: Td, [Di]: [!0, { [Ii]: E1, [Di]: [OI, "supportsDualStack"] }] }, QE = [PI], WE = [RI], YE = [qf], Nj = { parameters: { Region: HE, UseDualStack: jE, UseFIPS: jE, Endpoint: HE }, rules: [{ conditions: [{ [Ii]: zE, [Di]: [GE] }], rules: [{ conditions: QE, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: Fu }, { conditions: WE, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: Fu }, { endpoint: { url: GE, properties: ti, headers: ti }, type: Xa }], type: Ds }, { conditions: [{ [Ii]: zE, [Di]: YE }], rules: [{ conditions: [{ [Ii]: "aws.partition", [Di]: YE, assign: S1 }], rules: [{ conditions: [PI, RI], rules: [{ conditions: [{ [Ii]: Td, [Di]: [VE, $E] }, qE], rules: [{ conditions: [{ [Ii]: Rf, [Di]: [qf, "us-east-1"] }], endpoint: { url: "https://cognito-idp-fips.us-east-1.amazonaws.com", properties: ti, headers: ti }, type: Xa }, { conditions: [{ [Ii]: Rf, [Di]: [qf, "us-east-2"] }], endpoint: { url: "https://cognito-idp-fips.us-east-2.amazonaws.com", properties: ti, headers: ti }, type: Xa }, { conditions: [{ [Ii]: Rf, [Di]: [qf, "us-west-1"] }], endpoint: { url: "https://cognito-idp-fips.us-west-1.amazonaws.com", properties: ti, headers: ti }, type: Xa }, { conditions: [{ [Ii]: Rf, [Di]: [qf, "us-west-2"] }], endpoint: { url: "https://cognito-idp-fips.us-west-2.amazonaws.com", properties: ti, headers: ti }, type: Xa }, { endpoint: { url: "https://cognito-idp-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: ti, headers: ti }, type: Xa }], type: Ds }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: Fu }], type: Ds }, { conditions: QE, rules: [{ conditions: [{ [Ii]: Td, [Di]: [$E, VE] }], rules: [{ endpoint: { url: "https://cognito-idp-fips.{Region}.{PartitionResult#dnsSuffix}", properties: ti, headers: ti }, type: Xa }], type: Ds }, { error: "FIPS is enabled but this partition does not support FIPS", type: Fu }], type: Ds }, { conditions: WE, rules: [{ conditions: [qE], rules: [{ conditions: [{ [Ii]: Rf, [Di]: ["aws", { [Ii]: E1, [Di]: [OI, "name"] }] }], endpoint: { url: "https://cognito-idp.{Region}.amazonaws.com", properties: ti, headers: ti }, type: Xa }, { endpoint: { url: "https://cognito-idp.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: ti, headers: ti }, type: Xa }], type: Ds }, { error: "DualStack is enabled but this partition does not support DualStack", type: Fu }], type: Ds }, { endpoint: { url: "https://cognito-idp.{Region}.{PartitionResult#dnsSuffix}", properties: ti, headers: ti }, type: Xa }], type: Ds }], type: Ds }, { error: "Invalid Configuration: Missing Region", type: Fu }] }, Lj = Nj, Uj = new MV({
|
|
74233
74246
|
size: 50,
|
|
74234
74247
|
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"]
|
|
74235
74248
|
}), Vj = (r, e = {}) => Uj.get(r, () => ez(Lj, {
|
|
@@ -78836,7 +78849,7 @@ class NW {
|
|
|
78836
78849
|
} catch (n) {
|
|
78837
78850
|
throw console.error(n), new lo("Critical - Unable to synchronize workflow state with server.");
|
|
78838
78851
|
}
|
|
78839
|
-
}, this.options = e, this.options.applicationKey && X4(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 42.0.
|
|
78852
|
+
}, this.options = e, this.options.applicationKey && X4(this.options.applicationKey), console.debug("------------------------"), console.debug("Spiff Commerce Core SDK"), console.debug("Version: 42.0.1"), console.debug(`Application Key Provided: ${!!this.options.applicationKey}`), console.debug("------------------------");
|
|
78840
78853
|
}
|
|
78841
78854
|
configure(e) {
|
|
78842
78855
|
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);
|
|
@@ -80153,7 +80166,7 @@ class TQ extends na {
|
|
|
80153
80166
|
*/
|
|
80154
80167
|
async getOriginalImageColors() {
|
|
80155
80168
|
const e = this.getImageData();
|
|
80156
|
-
return e?.svg ? (await
|
|
80169
|
+
return e?.svg ? (await us(e.svg)).colors : void 0;
|
|
80157
80170
|
}
|
|
80158
80171
|
/**
|
|
80159
80172
|
* Merges multiple color class IDs into a single unified color. This is useful for consolidating near-identical colors in vectorized SVGs.
|
|
@@ -80784,7 +80797,7 @@ export {
|
|
|
80784
80797
|
pl as aX,
|
|
80785
80798
|
br as aY,
|
|
80786
80799
|
yL as aZ,
|
|
80787
|
-
|
|
80800
|
+
us as a_,
|
|
80788
80801
|
ig as aa,
|
|
80789
80802
|
QA as ab,
|
|
80790
80803
|
fU as ac,
|
|
@@ -80800,7 +80813,7 @@ export {
|
|
|
80800
80813
|
Ak as am,
|
|
80801
80814
|
v4 as an,
|
|
80802
80815
|
na as ao,
|
|
80803
|
-
|
|
80816
|
+
Je as ap,
|
|
80804
80817
|
dc as aq,
|
|
80805
80818
|
a7 as ar,
|
|
80806
80819
|
NU as as,
|
|
@@ -80809,7 +80822,7 @@ export {
|
|
|
80809
80822
|
un as av,
|
|
80810
80823
|
x4 as aw,
|
|
80811
80824
|
EW as ax,
|
|
80812
|
-
|
|
80825
|
+
ns as ay,
|
|
80813
80826
|
Wy as az,
|
|
80814
80827
|
HQ as b,
|
|
80815
80828
|
jf as b$,
|
|
@@ -80912,4 +80925,4 @@ export {
|
|
|
80912
80925
|
r7 as y,
|
|
80913
80926
|
e7 as z
|
|
80914
80927
|
};
|
|
80915
|
-
//# sourceMappingURL=index-
|
|
80928
|
+
//# sourceMappingURL=index-oPZ1sxEc.js.map
|