gearboxdownloadmodal 5.0.93 → 5.0.94
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es.js +781 -641
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +18 -18
- package/dist/index.umd.js.map +1 -1
- package/dist/insights.svg +15 -0
- package/dist/src/components/InsightIcon.d.ts +9 -0
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -41,14 +41,14 @@ function Yi() {
|
|
|
41
41
|
Ir = 1;
|
|
42
42
|
var e = ie, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
43
43
|
function a(A, d, c) {
|
|
44
|
-
var s, m = {}, b = null,
|
|
45
|
-
c !== void 0 && (b = "" + c), d.key !== void 0 && (b = "" + d.key), d.ref !== void 0 && (
|
|
44
|
+
var s, m = {}, b = null, q = null;
|
|
45
|
+
c !== void 0 && (b = "" + c), d.key !== void 0 && (b = "" + d.key), d.ref !== void 0 && (q = d.ref);
|
|
46
46
|
for (s in d)
|
|
47
47
|
r.call(d, s) && !i.hasOwnProperty(s) && (m[s] = d[s]);
|
|
48
48
|
if (A && A.defaultProps)
|
|
49
49
|
for (s in d = A.defaultProps, d)
|
|
50
50
|
m[s] === void 0 && (m[s] = d[s]);
|
|
51
|
-
return { $$typeof: t, type: A, key: b, ref:
|
|
51
|
+
return { $$typeof: t, type: A, key: b, ref: q, props: m, _owner: o.current };
|
|
52
52
|
}
|
|
53
53
|
return yt.Fragment = n, yt.jsx = a, yt.jsxs = a, yt;
|
|
54
54
|
}
|
|
@@ -62,27 +62,27 @@ var vt = {};
|
|
|
62
62
|
* This source code is licensed under the MIT license found in the
|
|
63
63
|
* LICENSE file in the root directory of this source tree.
|
|
64
64
|
*/
|
|
65
|
-
var
|
|
65
|
+
var xr;
|
|
66
66
|
function ji() {
|
|
67
|
-
return
|
|
68
|
-
var e = ie, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), A = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), b = Symbol.for("react.lazy"),
|
|
67
|
+
return xr || (xr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
68
|
+
var e = ie, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), A = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), q = Symbol.for("react.offscreen"), p = Symbol.iterator, g = "@@iterator";
|
|
69
69
|
function Z(u) {
|
|
70
70
|
if (u === null || typeof u != "object")
|
|
71
71
|
return null;
|
|
72
|
-
var I = p && u[p] || u[
|
|
72
|
+
var I = p && u[p] || u[g];
|
|
73
73
|
return typeof I == "function" ? I : null;
|
|
74
74
|
}
|
|
75
|
-
var
|
|
75
|
+
var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
76
76
|
function O(u) {
|
|
77
77
|
{
|
|
78
78
|
for (var I = arguments.length, S = new Array(I > 1 ? I - 1 : 0), T = 1; T < I; T++)
|
|
79
79
|
S[T - 1] = arguments[T];
|
|
80
|
-
|
|
80
|
+
k("error", u, S);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function k(u, I, S) {
|
|
84
84
|
{
|
|
85
|
-
var T =
|
|
85
|
+
var T = x.ReactDebugCurrentFrame, oe = T.getStackAddendum();
|
|
86
86
|
oe !== "" && (I += "%s", S = S.concat([oe]));
|
|
87
87
|
var ue = S.map(function(_) {
|
|
88
88
|
return String(_);
|
|
@@ -93,7 +93,7 @@ function ji() {
|
|
|
93
93
|
var M = !1, C = !1, U = !1, ee = !1, Q = !1, ae;
|
|
94
94
|
ae = Symbol.for("react.module.reference");
|
|
95
95
|
function re(u) {
|
|
96
|
-
return !!(typeof u == "string" || typeof u == "function" || u === r || u === i || Q || u === o || u === c || u === s || ee || u ===
|
|
96
|
+
return !!(typeof u == "string" || typeof u == "function" || u === r || u === i || Q || u === o || u === c || u === s || ee || u === q || M || C || U || typeof u == "object" && u !== null && (u.$$typeof === b || u.$$typeof === m || u.$$typeof === a || u.$$typeof === A || u.$$typeof === d || // This needs to include all possible module reference object
|
|
97
97
|
// types supported by any Flight configuration anywhere since
|
|
98
98
|
// we don't know which Flight build this will end up being used
|
|
99
99
|
// with.
|
|
@@ -154,14 +154,14 @@ function ji() {
|
|
|
154
154
|
}
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
|
-
var
|
|
157
|
+
var w = Object.assign, W = 0, Y, f, K, G, y, h, z;
|
|
158
158
|
function J() {
|
|
159
159
|
}
|
|
160
160
|
J.__reactDisabledLog = !0;
|
|
161
161
|
function N() {
|
|
162
162
|
{
|
|
163
163
|
if (W === 0) {
|
|
164
|
-
|
|
164
|
+
Y = console.log, f = console.info, K = console.warn, G = console.error, y = console.group, h = console.groupCollapsed, z = console.groupEnd;
|
|
165
165
|
var u = {
|
|
166
166
|
configurable: !0,
|
|
167
167
|
enumerable: !0,
|
|
@@ -181,7 +181,7 @@ function ji() {
|
|
|
181
181
|
W++;
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function V() {
|
|
185
185
|
{
|
|
186
186
|
if (W--, W === 0) {
|
|
187
187
|
var u = {
|
|
@@ -190,34 +190,34 @@ function ji() {
|
|
|
190
190
|
writable: !0
|
|
191
191
|
};
|
|
192
192
|
Object.defineProperties(console, {
|
|
193
|
-
log:
|
|
194
|
-
value:
|
|
193
|
+
log: w({}, u, {
|
|
194
|
+
value: Y
|
|
195
195
|
}),
|
|
196
|
-
info:
|
|
196
|
+
info: w({}, u, {
|
|
197
197
|
value: f
|
|
198
198
|
}),
|
|
199
|
-
warn:
|
|
199
|
+
warn: w({}, u, {
|
|
200
200
|
value: K
|
|
201
201
|
}),
|
|
202
|
-
error:
|
|
202
|
+
error: w({}, u, {
|
|
203
203
|
value: G
|
|
204
204
|
}),
|
|
205
|
-
group:
|
|
205
|
+
group: w({}, u, {
|
|
206
206
|
value: y
|
|
207
207
|
}),
|
|
208
|
-
groupCollapsed:
|
|
208
|
+
groupCollapsed: w({}, u, {
|
|
209
209
|
value: h
|
|
210
210
|
}),
|
|
211
|
-
groupEnd:
|
|
212
|
-
value:
|
|
211
|
+
groupEnd: w({}, u, {
|
|
212
|
+
value: z
|
|
213
213
|
})
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
216
|
W < 0 && O("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
|
-
var E =
|
|
220
|
-
function
|
|
219
|
+
var E = x.ReactCurrentDispatcher, R;
|
|
220
|
+
function P(u, I, S) {
|
|
221
221
|
{
|
|
222
222
|
if (R === void 0)
|
|
223
223
|
try {
|
|
@@ -230,13 +230,13 @@ function ji() {
|
|
|
230
230
|
` + R + u;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
var
|
|
233
|
+
var j = !1, D;
|
|
234
234
|
{
|
|
235
235
|
var le = typeof WeakMap == "function" ? WeakMap : Map;
|
|
236
236
|
D = new le();
|
|
237
237
|
}
|
|
238
238
|
function L(u, I) {
|
|
239
|
-
if (!u ||
|
|
239
|
+
if (!u || j)
|
|
240
240
|
return "";
|
|
241
241
|
{
|
|
242
242
|
var S = D.get(u);
|
|
@@ -244,7 +244,7 @@ function ji() {
|
|
|
244
244
|
return S;
|
|
245
245
|
}
|
|
246
246
|
var T;
|
|
247
|
-
|
|
247
|
+
j = !0;
|
|
248
248
|
var oe = Error.prepareStackTrace;
|
|
249
249
|
Error.prepareStackTrace = void 0;
|
|
250
250
|
var ue;
|
|
@@ -285,25 +285,25 @@ function ji() {
|
|
|
285
285
|
if (Re && T && typeof Re.stack == "string") {
|
|
286
286
|
for (var F = Re.stack.split(`
|
|
287
287
|
`), be = T.stack.split(`
|
|
288
|
-
`),
|
|
288
|
+
`), me = F.length - 1, pe = be.length - 1; me >= 1 && pe >= 0 && F[me] !== be[pe]; )
|
|
289
289
|
pe--;
|
|
290
|
-
for (;
|
|
291
|
-
if (F[
|
|
292
|
-
if (
|
|
290
|
+
for (; me >= 1 && pe >= 0; me--, pe--)
|
|
291
|
+
if (F[me] !== be[pe]) {
|
|
292
|
+
if (me !== 1 || pe !== 1)
|
|
293
293
|
do
|
|
294
|
-
if (
|
|
294
|
+
if (me--, pe--, pe < 0 || F[me] !== be[pe]) {
|
|
295
295
|
var Ke = `
|
|
296
|
-
` + F[
|
|
296
|
+
` + F[me].replace(" at new ", " at ");
|
|
297
297
|
return u.displayName && Ke.includes("<anonymous>") && (Ke = Ke.replace("<anonymous>", u.displayName)), typeof u == "function" && D.set(u, Ke), Ke;
|
|
298
298
|
}
|
|
299
|
-
while (
|
|
299
|
+
while (me >= 1 && pe >= 0);
|
|
300
300
|
break;
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
} finally {
|
|
304
|
-
|
|
304
|
+
j = !1, E.current = ue, V(), Error.prepareStackTrace = oe;
|
|
305
305
|
}
|
|
306
|
-
var ut = u ? u.displayName || u.name : "", Zr = ut ?
|
|
306
|
+
var ut = u ? u.displayName || u.name : "", Zr = ut ? P(ut) : "";
|
|
307
307
|
return typeof u == "function" && D.set(u, Zr), Zr;
|
|
308
308
|
}
|
|
309
309
|
function qe(u, I, S) {
|
|
@@ -319,12 +319,12 @@ function ji() {
|
|
|
319
319
|
if (typeof u == "function")
|
|
320
320
|
return L(u, st(u));
|
|
321
321
|
if (typeof u == "string")
|
|
322
|
-
return
|
|
322
|
+
return P(u);
|
|
323
323
|
switch (u) {
|
|
324
324
|
case c:
|
|
325
|
-
return
|
|
325
|
+
return P("Suspense");
|
|
326
326
|
case s:
|
|
327
|
-
return
|
|
327
|
+
return P("SuspenseList");
|
|
328
328
|
}
|
|
329
329
|
if (typeof u == "object")
|
|
330
330
|
switch (u.$$typeof) {
|
|
@@ -342,7 +342,7 @@ function ji() {
|
|
|
342
342
|
}
|
|
343
343
|
return "";
|
|
344
344
|
}
|
|
345
|
-
var kt = Object.prototype.hasOwnProperty, cr = {}, dr =
|
|
345
|
+
var kt = Object.prototype.hasOwnProperty, cr = {}, dr = x.ReactDebugCurrentFrame;
|
|
346
346
|
function zt(u) {
|
|
347
347
|
if (u) {
|
|
348
348
|
var I = u._owner, S = Be(u.type, u._source, I ? I.type : null);
|
|
@@ -362,8 +362,8 @@ function ji() {
|
|
|
362
362
|
throw be.name = "Invariant Violation", be;
|
|
363
363
|
}
|
|
364
364
|
F = u[_](I, _, T, S, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
365
|
-
} catch (
|
|
366
|
-
F =
|
|
365
|
+
} catch (me) {
|
|
366
|
+
F = me;
|
|
367
367
|
}
|
|
368
368
|
F && !(F instanceof Error) && (zt(oe), O("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", T || "React class", S, _, typeof F), zt(null)), F instanceof Error && !(F.message in cr) && (cr[F.message] = !0, zt(oe), O("Failed %s type: %s", S, F.message), zt(null));
|
|
369
369
|
}
|
|
@@ -393,7 +393,7 @@ function ji() {
|
|
|
393
393
|
if (mi(u))
|
|
394
394
|
return O("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", di(u)), mr(u);
|
|
395
395
|
}
|
|
396
|
-
var gt =
|
|
396
|
+
var gt = x.ReactCurrentOwner, pi = {
|
|
397
397
|
key: !0,
|
|
398
398
|
ref: !0,
|
|
399
399
|
__self: !0,
|
|
@@ -480,9 +480,9 @@ function ji() {
|
|
|
480
480
|
for (ue in I)
|
|
481
481
|
kt.call(I, ue) && !pi.hasOwnProperty(ue) && (_[ue] = I[ue]);
|
|
482
482
|
if (u && u.defaultProps) {
|
|
483
|
-
var
|
|
484
|
-
for (ue in
|
|
485
|
-
_[ue] === void 0 && (_[ue] =
|
|
483
|
+
var me = u.defaultProps;
|
|
484
|
+
for (ue in me)
|
|
485
|
+
_[ue] === void 0 && (_[ue] = me[ue]);
|
|
486
486
|
}
|
|
487
487
|
if (F || be) {
|
|
488
488
|
var pe = typeof u == "function" ? u.displayName || u.name || "Unknown" : u;
|
|
@@ -491,7 +491,7 @@ function ji() {
|
|
|
491
491
|
return vi(u, F, be, oe, T, gt.current, _);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
var hn =
|
|
494
|
+
var hn = x.ReactCurrentOwner, qr = x.ReactDebugCurrentFrame;
|
|
495
495
|
function lt(u) {
|
|
496
496
|
if (u) {
|
|
497
497
|
var I = u._owner, S = Be(u.type, u._source, I ? I.type : null);
|
|
@@ -597,7 +597,7 @@ Check the top-level render call using <` + S + ">.");
|
|
|
597
597
|
typeof I.getDefaultProps == "function" && !I.getDefaultProps.isReactClassApproved && O("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function xi(u) {
|
|
601
601
|
{
|
|
602
602
|
for (var I = Object.keys(u.props), S = 0; S < I.length; S++) {
|
|
603
603
|
var T = I[S];
|
|
@@ -617,8 +617,8 @@ Check the top-level render call using <` + S + ">.");
|
|
|
617
617
|
(u === void 0 || typeof u == "object" && u !== null && Object.keys(u).length === 0) && (F += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
618
618
|
var be = Ci(oe);
|
|
619
619
|
be ? F += be : F += gr();
|
|
620
|
-
var
|
|
621
|
-
u === null ?
|
|
620
|
+
var me;
|
|
621
|
+
u === null ? me = "null" : pn(u) ? me = "array" : u !== void 0 && u.$$typeof === t ? (me = "<" + (H(u.type) || "Unknown") + " />", F = " Did you accidentally export a JSX literal instead of a component?") : me = typeof u, O("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", me, F);
|
|
622
622
|
}
|
|
623
623
|
var pe = bi(u, I, S, oe, ue);
|
|
624
624
|
if (pe == null)
|
|
@@ -636,16 +636,16 @@ Check the top-level render call using <` + S + ">.");
|
|
|
636
636
|
else
|
|
637
637
|
br(Ke, u);
|
|
638
638
|
}
|
|
639
|
-
return u === r ?
|
|
639
|
+
return u === r ? xi(pe) : Ii(pe), pe;
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function wi(u, I, S) {
|
|
643
643
|
return Cr(u, I, S, !0);
|
|
644
644
|
}
|
|
645
645
|
function Ki(u, I, S) {
|
|
646
646
|
return Cr(u, I, S, !1);
|
|
647
647
|
}
|
|
648
|
-
var Wi = Ki, Mi =
|
|
648
|
+
var Wi = Ki, Mi = wi;
|
|
649
649
|
vt.Fragment = r, vt.jsx = Wi, vt.jsxs = Mi;
|
|
650
650
|
}()), vt;
|
|
651
651
|
}
|
|
@@ -1045,7 +1045,7 @@ Gt.prototype = {
|
|
|
1045
1045
|
return new Gt(n, 0).mod(e);
|
|
1046
1046
|
}
|
|
1047
1047
|
};
|
|
1048
|
-
var mo = Gt, We = Ao,
|
|
1048
|
+
var mo = Gt, We = Ao, wr = mo, Xi = co, He = {
|
|
1049
1049
|
PATTERN000: 0,
|
|
1050
1050
|
PATTERN001: 1,
|
|
1051
1051
|
PATTERN010: 2,
|
|
@@ -1141,8 +1141,8 @@ var mo = Gt, We = Ao, xr = mo, Xi = co, He = {
|
|
|
1141
1141
|
}
|
|
1142
1142
|
},
|
|
1143
1143
|
getErrorCorrectPolynomial: function(e) {
|
|
1144
|
-
for (var t = new
|
|
1145
|
-
t = t.multiply(new
|
|
1144
|
+
for (var t = new wr([1], 0), n = 0; n < e; n++)
|
|
1145
|
+
t = t.multiply(new wr([1, Xi.gexp(n)], 0));
|
|
1146
1146
|
return t;
|
|
1147
1147
|
},
|
|
1148
1148
|
getLengthInBits: function(e, t) {
|
|
@@ -1214,24 +1214,24 @@ var mo = Gt, We = Ao, xr = mo, Xi = co, He = {
|
|
|
1214
1214
|
var m = Math.abs(100 * s / t / t - 50) / 5;
|
|
1215
1215
|
return n += m * 10, n;
|
|
1216
1216
|
}
|
|
1217
|
-
}, Qi = ge,
|
|
1217
|
+
}, Qi = ge, Vi = Gi, po = Ti, fo = Hi, Pe = Qi, Pi = mo;
|
|
1218
1218
|
function Je(e, t) {
|
|
1219
1219
|
this.typeNumber = e, this.errorCorrectLevel = t, this.modules = null, this.moduleCount = 0, this.dataCache = null, this.dataList = [];
|
|
1220
1220
|
}
|
|
1221
|
-
var
|
|
1222
|
-
|
|
1223
|
-
var t = new
|
|
1221
|
+
var we = Je.prototype;
|
|
1222
|
+
we.addData = function(e) {
|
|
1223
|
+
var t = new Vi(e);
|
|
1224
1224
|
this.dataList.push(t), this.dataCache = null;
|
|
1225
1225
|
};
|
|
1226
|
-
|
|
1226
|
+
we.isDark = function(e, t) {
|
|
1227
1227
|
if (e < 0 || this.moduleCount <= e || t < 0 || this.moduleCount <= t)
|
|
1228
1228
|
throw new Error(e + "," + t);
|
|
1229
1229
|
return this.modules[e][t];
|
|
1230
1230
|
};
|
|
1231
|
-
|
|
1231
|
+
we.getModuleCount = function() {
|
|
1232
1232
|
return this.moduleCount;
|
|
1233
1233
|
};
|
|
1234
|
-
|
|
1234
|
+
we.make = function() {
|
|
1235
1235
|
if (this.typeNumber < 1) {
|
|
1236
1236
|
var e = 1;
|
|
1237
1237
|
for (e = 1; e < 40; e++) {
|
|
@@ -1239,7 +1239,7 @@ xe.make = function() {
|
|
|
1239
1239
|
r += t[o].dataCount;
|
|
1240
1240
|
for (var o = 0; o < this.dataList.length; o++) {
|
|
1241
1241
|
var i = this.dataList[o];
|
|
1242
|
-
n.put(i.mode, 4), n.put(i.getLength(),
|
|
1242
|
+
n.put(i.mode, 4), n.put(i.getLength(), Pe.getLengthInBits(i.mode, e)), i.write(n);
|
|
1243
1243
|
}
|
|
1244
1244
|
if (n.getLengthInBits() <= r * 8)
|
|
1245
1245
|
break;
|
|
@@ -1248,7 +1248,7 @@ xe.make = function() {
|
|
|
1248
1248
|
}
|
|
1249
1249
|
this.makeImpl(!1, this.getBestMaskPattern());
|
|
1250
1250
|
};
|
|
1251
|
-
|
|
1251
|
+
we.makeImpl = function(e, t) {
|
|
1252
1252
|
this.moduleCount = this.typeNumber * 4 + 17, this.modules = new Array(this.moduleCount);
|
|
1253
1253
|
for (var n = 0; n < this.moduleCount; n++) {
|
|
1254
1254
|
this.modules[n] = new Array(this.moduleCount);
|
|
@@ -1257,21 +1257,21 @@ xe.makeImpl = function(e, t) {
|
|
|
1257
1257
|
}
|
|
1258
1258
|
this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(e, t), this.typeNumber >= 7 && this.setupTypeNumber(e), this.dataCache == null && (this.dataCache = Je.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)), this.mapData(this.dataCache, t);
|
|
1259
1259
|
};
|
|
1260
|
-
|
|
1260
|
+
we.setupPositionProbePattern = function(e, t) {
|
|
1261
1261
|
for (var n = -1; n <= 7; n++)
|
|
1262
1262
|
if (!(e + n <= -1 || this.moduleCount <= e + n))
|
|
1263
1263
|
for (var r = -1; r <= 7; r++)
|
|
1264
1264
|
t + r <= -1 || this.moduleCount <= t + r || (0 <= n && n <= 6 && (r == 0 || r == 6) || 0 <= r && r <= 6 && (n == 0 || n == 6) || 2 <= n && n <= 4 && 2 <= r && r <= 4 ? this.modules[e + n][t + r] = !0 : this.modules[e + n][t + r] = !1);
|
|
1265
1265
|
};
|
|
1266
|
-
|
|
1266
|
+
we.getBestMaskPattern = function() {
|
|
1267
1267
|
for (var e = 0, t = 0, n = 0; n < 8; n++) {
|
|
1268
1268
|
this.makeImpl(!0, n);
|
|
1269
|
-
var r =
|
|
1269
|
+
var r = Pe.getLostPoint(this);
|
|
1270
1270
|
(n == 0 || e > r) && (e = r, t = n);
|
|
1271
1271
|
}
|
|
1272
1272
|
return t;
|
|
1273
1273
|
};
|
|
1274
|
-
|
|
1274
|
+
we.createMovieClip = function(e, t, n) {
|
|
1275
1275
|
var r = e.createEmptyMovieClip(t, n), o = 1;
|
|
1276
1276
|
this.make();
|
|
1277
1277
|
for (var i = 0; i < this.modules.length; i++)
|
|
@@ -1281,14 +1281,14 @@ xe.createMovieClip = function(e, t, n) {
|
|
|
1281
1281
|
}
|
|
1282
1282
|
return r;
|
|
1283
1283
|
};
|
|
1284
|
-
|
|
1284
|
+
we.setupTimingPattern = function() {
|
|
1285
1285
|
for (var e = 8; e < this.moduleCount - 8; e++)
|
|
1286
1286
|
this.modules[e][6] == null && (this.modules[e][6] = e % 2 == 0);
|
|
1287
1287
|
for (var t = 8; t < this.moduleCount - 8; t++)
|
|
1288
1288
|
this.modules[6][t] == null && (this.modules[6][t] = t % 2 == 0);
|
|
1289
1289
|
};
|
|
1290
|
-
|
|
1291
|
-
for (var e =
|
|
1290
|
+
we.setupPositionAdjustPattern = function() {
|
|
1291
|
+
for (var e = Pe.getPatternPosition(this.typeNumber), t = 0; t < e.length; t++)
|
|
1292
1292
|
for (var n = 0; n < e.length; n++) {
|
|
1293
1293
|
var r = e[t], o = e[n];
|
|
1294
1294
|
if (this.modules[r][o] == null)
|
|
@@ -1297,8 +1297,8 @@ xe.setupPositionAdjustPattern = function() {
|
|
|
1297
1297
|
i == -2 || i == 2 || a == -2 || a == 2 || i == 0 && a == 0 ? this.modules[r + i][o + a] = !0 : this.modules[r + i][o + a] = !1;
|
|
1298
1298
|
}
|
|
1299
1299
|
};
|
|
1300
|
-
|
|
1301
|
-
for (var t =
|
|
1300
|
+
we.setupTypeNumber = function(e) {
|
|
1301
|
+
for (var t = Pe.getBCHTypeNumber(this.typeNumber), n = 0; n < 18; n++) {
|
|
1302
1302
|
var r = !e && (t >> n & 1) == 1;
|
|
1303
1303
|
this.modules[Math.floor(n / 3)][n % 3 + this.moduleCount - 8 - 3] = r;
|
|
1304
1304
|
}
|
|
@@ -1307,8 +1307,8 @@ xe.setupTypeNumber = function(e) {
|
|
|
1307
1307
|
this.modules[n % 3 + this.moduleCount - 8 - 3][Math.floor(n / 3)] = r;
|
|
1308
1308
|
}
|
|
1309
1309
|
};
|
|
1310
|
-
|
|
1311
|
-
for (var n = this.errorCorrectLevel << 3 | t, r =
|
|
1310
|
+
we.setupTypeInfo = function(e, t) {
|
|
1311
|
+
for (var n = this.errorCorrectLevel << 3 | t, r = Pe.getBCHTypeInfo(n), o = 0; o < 15; o++) {
|
|
1312
1312
|
var i = !e && (r >> o & 1) == 1;
|
|
1313
1313
|
o < 6 ? this.modules[o][8] = i : o < 8 ? this.modules[o + 1][8] = i : this.modules[this.moduleCount - 15 + o][8] = i;
|
|
1314
1314
|
}
|
|
@@ -1318,14 +1318,14 @@ xe.setupTypeInfo = function(e, t) {
|
|
|
1318
1318
|
}
|
|
1319
1319
|
this.modules[this.moduleCount - 8][8] = !e;
|
|
1320
1320
|
};
|
|
1321
|
-
|
|
1321
|
+
we.mapData = function(e, t) {
|
|
1322
1322
|
for (var n = -1, r = this.moduleCount - 1, o = 7, i = 0, a = this.moduleCount - 1; a > 0; a -= 2)
|
|
1323
1323
|
for (a == 6 && a--; ; ) {
|
|
1324
1324
|
for (var A = 0; A < 2; A++)
|
|
1325
1325
|
if (this.modules[r][a - A] == null) {
|
|
1326
1326
|
var d = !1;
|
|
1327
1327
|
i < e.length && (d = (e[i] >>> o & 1) == 1);
|
|
1328
|
-
var c =
|
|
1328
|
+
var c = Pe.getMask(t, r, a - A);
|
|
1329
1329
|
c && (d = !d), this.modules[r][a - A] = d, o--, o == -1 && (i++, o = 7);
|
|
1330
1330
|
}
|
|
1331
1331
|
if (r += n, r < 0 || this.moduleCount <= r) {
|
|
@@ -1339,7 +1339,7 @@ Je.PAD1 = 17;
|
|
|
1339
1339
|
Je.createData = function(e, t, n) {
|
|
1340
1340
|
for (var r = po.getRSBlocks(e, t), o = new fo(), i = 0; i < n.length; i++) {
|
|
1341
1341
|
var a = n[i];
|
|
1342
|
-
o.put(a.mode, 4), o.put(a.getLength(),
|
|
1342
|
+
o.put(a.mode, 4), o.put(a.getLength(), Pe.getLengthInBits(a.mode, e)), a.write(o);
|
|
1343
1343
|
}
|
|
1344
1344
|
for (var A = 0, i = 0; i < r.length; i++)
|
|
1345
1345
|
A += r[i].dataCount;
|
|
@@ -1358,21 +1358,21 @@ Je.createBytes = function(e, t) {
|
|
|
1358
1358
|
for (var s = 0; s < i[A].length; s++)
|
|
1359
1359
|
i[A][s] = 255 & e.buffer[s + n];
|
|
1360
1360
|
n += d;
|
|
1361
|
-
var m =
|
|
1361
|
+
var m = Pe.getErrorCorrectPolynomial(c), b = new Pi(i[A], m.getLength() - 1), q = b.mod(m);
|
|
1362
1362
|
a[A] = new Array(m.getLength() - 1);
|
|
1363
1363
|
for (var s = 0; s < a[A].length; s++) {
|
|
1364
|
-
var p = s +
|
|
1365
|
-
a[A][s] = p >= 0 ?
|
|
1364
|
+
var p = s + q.getLength() - a[A].length;
|
|
1365
|
+
a[A][s] = p >= 0 ? q.get(p) : 0;
|
|
1366
1366
|
}
|
|
1367
1367
|
}
|
|
1368
|
-
for (var
|
|
1369
|
-
|
|
1370
|
-
for (var Z = new Array(
|
|
1368
|
+
for (var g = 0, s = 0; s < t.length; s++)
|
|
1369
|
+
g += t[s].totalCount;
|
|
1370
|
+
for (var Z = new Array(g), x = 0, s = 0; s < r; s++)
|
|
1371
1371
|
for (var A = 0; A < t.length; A++)
|
|
1372
|
-
s < i[A].length && (Z[
|
|
1372
|
+
s < i[A].length && (Z[x++] = i[A][s]);
|
|
1373
1373
|
for (var s = 0; s < o; s++)
|
|
1374
1374
|
for (var A = 0; A < t.length; A++)
|
|
1375
|
-
s < a[A].length && (Z[
|
|
1375
|
+
s < a[A].length && (Z[x++] = a[A][s]);
|
|
1376
1376
|
return Z;
|
|
1377
1377
|
};
|
|
1378
1378
|
var Bi = Je, zn = { exports: {} }, jt = { exports: {} }, Ae = {};
|
|
@@ -1389,8 +1389,8 @@ function Ui() {
|
|
|
1389
1389
|
if (Kr)
|
|
1390
1390
|
return Ae;
|
|
1391
1391
|
Kr = 1;
|
|
1392
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120,
|
|
1393
|
-
function
|
|
1392
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, q = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, Z = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, O = e ? Symbol.for("react.scope") : 60119;
|
|
1393
|
+
function k(C) {
|
|
1394
1394
|
if (typeof C == "object" && C !== null) {
|
|
1395
1395
|
var U = C.$$typeof;
|
|
1396
1396
|
switch (U) {
|
|
@@ -1408,7 +1408,7 @@ function Ui() {
|
|
|
1408
1408
|
case A:
|
|
1409
1409
|
case s:
|
|
1410
1410
|
case p:
|
|
1411
|
-
case
|
|
1411
|
+
case q:
|
|
1412
1412
|
case a:
|
|
1413
1413
|
return C;
|
|
1414
1414
|
default:
|
|
@@ -1421,35 +1421,35 @@ function Ui() {
|
|
|
1421
1421
|
}
|
|
1422
1422
|
}
|
|
1423
1423
|
function M(C) {
|
|
1424
|
-
return
|
|
1424
|
+
return k(C) === c;
|
|
1425
1425
|
}
|
|
1426
|
-
return Ae.AsyncMode = d, Ae.ConcurrentMode = c, Ae.ContextConsumer = A, Ae.ContextProvider = a, Ae.Element = t, Ae.ForwardRef = s, Ae.Fragment = r, Ae.Lazy = p, Ae.Memo =
|
|
1427
|
-
return M(C) ||
|
|
1426
|
+
return Ae.AsyncMode = d, Ae.ConcurrentMode = c, Ae.ContextConsumer = A, Ae.ContextProvider = a, Ae.Element = t, Ae.ForwardRef = s, Ae.Fragment = r, Ae.Lazy = p, Ae.Memo = q, Ae.Portal = n, Ae.Profiler = i, Ae.StrictMode = o, Ae.Suspense = m, Ae.isAsyncMode = function(C) {
|
|
1427
|
+
return M(C) || k(C) === d;
|
|
1428
1428
|
}, Ae.isConcurrentMode = M, Ae.isContextConsumer = function(C) {
|
|
1429
|
-
return
|
|
1429
|
+
return k(C) === A;
|
|
1430
1430
|
}, Ae.isContextProvider = function(C) {
|
|
1431
|
-
return
|
|
1431
|
+
return k(C) === a;
|
|
1432
1432
|
}, Ae.isElement = function(C) {
|
|
1433
1433
|
return typeof C == "object" && C !== null && C.$$typeof === t;
|
|
1434
1434
|
}, Ae.isForwardRef = function(C) {
|
|
1435
|
-
return
|
|
1435
|
+
return k(C) === s;
|
|
1436
1436
|
}, Ae.isFragment = function(C) {
|
|
1437
|
-
return
|
|
1437
|
+
return k(C) === r;
|
|
1438
1438
|
}, Ae.isLazy = function(C) {
|
|
1439
|
-
return
|
|
1439
|
+
return k(C) === p;
|
|
1440
1440
|
}, Ae.isMemo = function(C) {
|
|
1441
|
-
return
|
|
1441
|
+
return k(C) === q;
|
|
1442
1442
|
}, Ae.isPortal = function(C) {
|
|
1443
|
-
return
|
|
1443
|
+
return k(C) === n;
|
|
1444
1444
|
}, Ae.isProfiler = function(C) {
|
|
1445
|
-
return
|
|
1445
|
+
return k(C) === i;
|
|
1446
1446
|
}, Ae.isStrictMode = function(C) {
|
|
1447
|
-
return
|
|
1447
|
+
return k(C) === o;
|
|
1448
1448
|
}, Ae.isSuspense = function(C) {
|
|
1449
|
-
return
|
|
1449
|
+
return k(C) === m;
|
|
1450
1450
|
}, Ae.isValidElementType = function(C) {
|
|
1451
|
-
return typeof C == "string" || typeof C == "function" || C === r || C === c || C === i || C === o || C === m || C === b || typeof C == "object" && C !== null && (C.$$typeof === p || C.$$typeof ===
|
|
1452
|
-
}, Ae.typeOf =
|
|
1451
|
+
return typeof C == "string" || typeof C == "function" || C === r || C === c || C === i || C === o || C === m || C === b || typeof C == "object" && C !== null && (C.$$typeof === p || C.$$typeof === q || C.$$typeof === a || C.$$typeof === A || C.$$typeof === s || C.$$typeof === Z || C.$$typeof === x || C.$$typeof === O || C.$$typeof === g);
|
|
1452
|
+
}, Ae.typeOf = k, Ae;
|
|
1453
1453
|
}
|
|
1454
1454
|
var se = {};
|
|
1455
1455
|
/** @license React v16.13.1
|
|
@@ -1463,10 +1463,10 @@ var se = {};
|
|
|
1463
1463
|
var Wr;
|
|
1464
1464
|
function Fi() {
|
|
1465
1465
|
return Wr || (Wr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1466
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120,
|
|
1467
|
-
function
|
|
1466
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, d = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, b = e ? Symbol.for("react.suspense_list") : 60120, q = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, Z = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, O = e ? Symbol.for("react.scope") : 60119;
|
|
1467
|
+
function k(L) {
|
|
1468
1468
|
return typeof L == "string" || typeof L == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1469
|
-
L === r || L === c || L === i || L === o || L === m || L === b || typeof L == "object" && L !== null && (L.$$typeof === p || L.$$typeof ===
|
|
1469
|
+
L === r || L === c || L === i || L === o || L === m || L === b || typeof L == "object" && L !== null && (L.$$typeof === p || L.$$typeof === q || L.$$typeof === a || L.$$typeof === A || L.$$typeof === s || L.$$typeof === Z || L.$$typeof === x || L.$$typeof === O || L.$$typeof === g);
|
|
1470
1470
|
}
|
|
1471
1471
|
function M(L) {
|
|
1472
1472
|
if (typeof L == "object" && L !== null) {
|
|
@@ -1488,7 +1488,7 @@ function Fi() {
|
|
|
1488
1488
|
case A:
|
|
1489
1489
|
case s:
|
|
1490
1490
|
case p:
|
|
1491
|
-
case
|
|
1491
|
+
case q:
|
|
1492
1492
|
case a:
|
|
1493
1493
|
return Be;
|
|
1494
1494
|
default:
|
|
@@ -1500,7 +1500,7 @@ function Fi() {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
var C = d, U = c, ee = A, Q = a, ae = t, re = s, te = r, ne = p, H =
|
|
1503
|
+
var C = d, U = c, ee = A, Q = a, ae = t, re = s, te = r, ne = p, H = q, w = n, W = i, Y = o, f = m, K = !1;
|
|
1504
1504
|
function G(L) {
|
|
1505
1505
|
return K || (K = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), y(L) || M(L) === d;
|
|
1506
1506
|
}
|
|
@@ -1510,7 +1510,7 @@ function Fi() {
|
|
|
1510
1510
|
function h(L) {
|
|
1511
1511
|
return M(L) === A;
|
|
1512
1512
|
}
|
|
1513
|
-
function
|
|
1513
|
+
function z(L) {
|
|
1514
1514
|
return M(L) === a;
|
|
1515
1515
|
}
|
|
1516
1516
|
function J(L) {
|
|
@@ -1519,19 +1519,19 @@ function Fi() {
|
|
|
1519
1519
|
function N(L) {
|
|
1520
1520
|
return M(L) === s;
|
|
1521
1521
|
}
|
|
1522
|
-
function
|
|
1522
|
+
function V(L) {
|
|
1523
1523
|
return M(L) === r;
|
|
1524
1524
|
}
|
|
1525
1525
|
function E(L) {
|
|
1526
1526
|
return M(L) === p;
|
|
1527
1527
|
}
|
|
1528
1528
|
function R(L) {
|
|
1529
|
-
return M(L) ===
|
|
1529
|
+
return M(L) === q;
|
|
1530
1530
|
}
|
|
1531
|
-
function
|
|
1531
|
+
function P(L) {
|
|
1532
1532
|
return M(L) === n;
|
|
1533
1533
|
}
|
|
1534
|
-
function
|
|
1534
|
+
function j(L) {
|
|
1535
1535
|
return M(L) === i;
|
|
1536
1536
|
}
|
|
1537
1537
|
function D(L) {
|
|
@@ -1540,7 +1540,7 @@ function Fi() {
|
|
|
1540
1540
|
function le(L) {
|
|
1541
1541
|
return M(L) === m;
|
|
1542
1542
|
}
|
|
1543
|
-
se.AsyncMode = C, se.ConcurrentMode = U, se.ContextConsumer = ee, se.ContextProvider = Q, se.Element = ae, se.ForwardRef = re, se.Fragment = te, se.Lazy = ne, se.Memo = H, se.Portal =
|
|
1543
|
+
se.AsyncMode = C, se.ConcurrentMode = U, se.ContextConsumer = ee, se.ContextProvider = Q, se.Element = ae, se.ForwardRef = re, se.Fragment = te, se.Lazy = ne, se.Memo = H, se.Portal = w, se.Profiler = W, se.StrictMode = Y, se.Suspense = f, se.isAsyncMode = G, se.isConcurrentMode = y, se.isContextConsumer = h, se.isContextProvider = z, se.isElement = J, se.isForwardRef = N, se.isFragment = V, se.isLazy = E, se.isMemo = R, se.isPortal = P, se.isProfiler = j, se.isStrictMode = D, se.isSuspense = le, se.isValidElementType = k, se.typeOf = M;
|
|
1544
1544
|
}()), se;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Mr;
|
|
@@ -1649,9 +1649,9 @@ function $i() {
|
|
|
1649
1649
|
(d || "React class") + ": type specification of " + A + " `" + s + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof m + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
1650
1650
|
), m instanceof Error && !(m.message in n)) {
|
|
1651
1651
|
n[m.message] = !0;
|
|
1652
|
-
var
|
|
1652
|
+
var q = c ? c() : "";
|
|
1653
1653
|
e(
|
|
1654
|
-
"Failed " + A + " type: " + m.message + (
|
|
1654
|
+
"Failed " + A + " type: " + m.message + (q ?? "")
|
|
1655
1655
|
);
|
|
1656
1656
|
}
|
|
1657
1657
|
}
|
|
@@ -1686,17 +1686,17 @@ function ea() {
|
|
|
1686
1686
|
if (typeof h == "function")
|
|
1687
1687
|
return h;
|
|
1688
1688
|
}
|
|
1689
|
-
var b = "<<anonymous>>",
|
|
1690
|
-
array:
|
|
1691
|
-
bigint:
|
|
1692
|
-
bool:
|
|
1693
|
-
func:
|
|
1694
|
-
number:
|
|
1695
|
-
object:
|
|
1696
|
-
string:
|
|
1697
|
-
symbol:
|
|
1689
|
+
var b = "<<anonymous>>", q = {
|
|
1690
|
+
array: x("array"),
|
|
1691
|
+
bigint: x("bigint"),
|
|
1692
|
+
bool: x("boolean"),
|
|
1693
|
+
func: x("function"),
|
|
1694
|
+
number: x("number"),
|
|
1695
|
+
object: x("object"),
|
|
1696
|
+
string: x("string"),
|
|
1697
|
+
symbol: x("symbol"),
|
|
1698
1698
|
any: O(),
|
|
1699
|
-
arrayOf:
|
|
1699
|
+
arrayOf: k,
|
|
1700
1700
|
element: M(),
|
|
1701
1701
|
elementType: C(),
|
|
1702
1702
|
instanceOf: U,
|
|
@@ -1710,40 +1710,40 @@ function ea() {
|
|
|
1710
1710
|
function p(y, h) {
|
|
1711
1711
|
return y === h ? y !== 0 || 1 / y === 1 / h : y !== y && h !== h;
|
|
1712
1712
|
}
|
|
1713
|
-
function
|
|
1713
|
+
function g(y, h) {
|
|
1714
1714
|
this.message = y, this.data = h && typeof h == "object" ? h : {}, this.stack = "";
|
|
1715
1715
|
}
|
|
1716
|
-
|
|
1716
|
+
g.prototype = Error.prototype;
|
|
1717
1717
|
function Z(y) {
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production")
|
|
1719
|
-
var h = {},
|
|
1720
|
-
function J(
|
|
1721
|
-
if (
|
|
1719
|
+
var h = {}, z = 0;
|
|
1720
|
+
function J(V, E, R, P, j, D, le) {
|
|
1721
|
+
if (P = P || b, D = D || R, le !== n) {
|
|
1722
1722
|
if (d) {
|
|
1723
1723
|
var L = new Error(
|
|
1724
1724
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1725
1725
|
);
|
|
1726
1726
|
throw L.name = "Invariant Violation", L;
|
|
1727
1727
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1728
|
-
var qe =
|
|
1728
|
+
var qe = P + ":" + R;
|
|
1729
1729
|
!h[qe] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1730
|
-
|
|
1731
|
-
"You are manually calling a React.PropTypes validation function for the `" + D + "` prop on `" +
|
|
1732
|
-
), h[qe] = !0,
|
|
1730
|
+
z < 3 && (i(
|
|
1731
|
+
"You are manually calling a React.PropTypes validation function for the `" + D + "` prop on `" + P + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1732
|
+
), h[qe] = !0, z++);
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
|
-
return E[R] == null ?
|
|
1735
|
+
return E[R] == null ? V ? E[R] === null ? new g("The " + j + " `" + D + "` is marked as required " + ("in `" + P + "`, but its value is `null`.")) : new g("The " + j + " `" + D + "` is marked as required in " + ("`" + P + "`, but its value is `undefined`.")) : null : y(E, R, P, j, D);
|
|
1736
1736
|
}
|
|
1737
1737
|
var N = J.bind(null, !1);
|
|
1738
1738
|
return N.isRequired = J.bind(null, !0), N;
|
|
1739
1739
|
}
|
|
1740
|
-
function
|
|
1741
|
-
function h(
|
|
1742
|
-
var
|
|
1743
|
-
if (
|
|
1744
|
-
var D = f(
|
|
1745
|
-
return new
|
|
1746
|
-
"Invalid " +
|
|
1740
|
+
function x(y) {
|
|
1741
|
+
function h(z, J, N, V, E, R) {
|
|
1742
|
+
var P = z[J], j = Y(P);
|
|
1743
|
+
if (j !== y) {
|
|
1744
|
+
var D = f(P);
|
|
1745
|
+
return new g(
|
|
1746
|
+
"Invalid " + V + " `" + E + "` of type " + ("`" + D + "` supplied to `" + N + "`, expected ") + ("`" + y + "`."),
|
|
1747
1747
|
{ expectedType: y }
|
|
1748
1748
|
);
|
|
1749
1749
|
}
|
|
@@ -1754,17 +1754,17 @@ function ea() {
|
|
|
1754
1754
|
function O() {
|
|
1755
1755
|
return Z(a);
|
|
1756
1756
|
}
|
|
1757
|
-
function
|
|
1758
|
-
function h(
|
|
1757
|
+
function k(y) {
|
|
1758
|
+
function h(z, J, N, V, E) {
|
|
1759
1759
|
if (typeof y != "function")
|
|
1760
|
-
return new
|
|
1761
|
-
var R =
|
|
1760
|
+
return new g("Property `" + E + "` of component `" + N + "` has invalid PropType notation inside arrayOf.");
|
|
1761
|
+
var R = z[J];
|
|
1762
1762
|
if (!Array.isArray(R)) {
|
|
1763
|
-
var
|
|
1764
|
-
return new
|
|
1763
|
+
var P = Y(R);
|
|
1764
|
+
return new g("Invalid " + V + " `" + E + "` of type " + ("`" + P + "` supplied to `" + N + "`, expected an array."));
|
|
1765
1765
|
}
|
|
1766
|
-
for (var
|
|
1767
|
-
var D = y(R,
|
|
1766
|
+
for (var j = 0; j < R.length; j++) {
|
|
1767
|
+
var D = y(R, j, N, V, E + "[" + j + "]", n);
|
|
1768
1768
|
if (D instanceof Error)
|
|
1769
1769
|
return D;
|
|
1770
1770
|
}
|
|
@@ -1773,32 +1773,32 @@ function ea() {
|
|
|
1773
1773
|
return Z(h);
|
|
1774
1774
|
}
|
|
1775
1775
|
function M() {
|
|
1776
|
-
function y(h,
|
|
1777
|
-
var E = h[
|
|
1776
|
+
function y(h, z, J, N, V) {
|
|
1777
|
+
var E = h[z];
|
|
1778
1778
|
if (!A(E)) {
|
|
1779
|
-
var R =
|
|
1780
|
-
return new
|
|
1779
|
+
var R = Y(E);
|
|
1780
|
+
return new g("Invalid " + N + " `" + V + "` of type " + ("`" + R + "` supplied to `" + J + "`, expected a single ReactElement."));
|
|
1781
1781
|
}
|
|
1782
1782
|
return null;
|
|
1783
1783
|
}
|
|
1784
1784
|
return Z(y);
|
|
1785
1785
|
}
|
|
1786
1786
|
function C() {
|
|
1787
|
-
function y(h,
|
|
1788
|
-
var E = h[
|
|
1787
|
+
function y(h, z, J, N, V) {
|
|
1788
|
+
var E = h[z];
|
|
1789
1789
|
if (!e.isValidElementType(E)) {
|
|
1790
|
-
var R =
|
|
1791
|
-
return new
|
|
1790
|
+
var R = Y(E);
|
|
1791
|
+
return new g("Invalid " + N + " `" + V + "` of type " + ("`" + R + "` supplied to `" + J + "`, expected a single ReactElement type."));
|
|
1792
1792
|
}
|
|
1793
1793
|
return null;
|
|
1794
1794
|
}
|
|
1795
1795
|
return Z(y);
|
|
1796
1796
|
}
|
|
1797
1797
|
function U(y) {
|
|
1798
|
-
function h(
|
|
1799
|
-
if (!(
|
|
1800
|
-
var R = y.name || b,
|
|
1801
|
-
return new
|
|
1798
|
+
function h(z, J, N, V, E) {
|
|
1799
|
+
if (!(z[J] instanceof y)) {
|
|
1800
|
+
var R = y.name || b, P = G(z[J]);
|
|
1801
|
+
return new g("Invalid " + V + " `" + E + "` of type " + ("`" + P + "` supplied to `" + N + "`, expected ") + ("instance of `" + R + "`."));
|
|
1802
1802
|
}
|
|
1803
1803
|
return null;
|
|
1804
1804
|
}
|
|
@@ -1809,28 +1809,28 @@ function ea() {
|
|
|
1809
1809
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1810
1810
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1811
1811
|
) : i("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
1812
|
-
function h(
|
|
1813
|
-
for (var R =
|
|
1814
|
-
if (p(R, y[
|
|
1812
|
+
function h(z, J, N, V, E) {
|
|
1813
|
+
for (var R = z[J], P = 0; P < y.length; P++)
|
|
1814
|
+
if (p(R, y[P]))
|
|
1815
1815
|
return null;
|
|
1816
|
-
var
|
|
1816
|
+
var j = JSON.stringify(y, function(le, L) {
|
|
1817
1817
|
var qe = f(L);
|
|
1818
1818
|
return qe === "symbol" ? String(L) : L;
|
|
1819
1819
|
});
|
|
1820
|
-
return new
|
|
1820
|
+
return new g("Invalid " + V + " `" + E + "` of value `" + String(R) + "` " + ("supplied to `" + N + "`, expected one of " + j + "."));
|
|
1821
1821
|
}
|
|
1822
1822
|
return Z(h);
|
|
1823
1823
|
}
|
|
1824
1824
|
function Q(y) {
|
|
1825
|
-
function h(
|
|
1825
|
+
function h(z, J, N, V, E) {
|
|
1826
1826
|
if (typeof y != "function")
|
|
1827
|
-
return new
|
|
1828
|
-
var R =
|
|
1829
|
-
if (
|
|
1830
|
-
return new
|
|
1831
|
-
for (var
|
|
1832
|
-
if (r(R,
|
|
1833
|
-
var D = y(R,
|
|
1827
|
+
return new g("Property `" + E + "` of component `" + N + "` has invalid PropType notation inside objectOf.");
|
|
1828
|
+
var R = z[J], P = Y(R);
|
|
1829
|
+
if (P !== "object")
|
|
1830
|
+
return new g("Invalid " + V + " `" + E + "` of type " + ("`" + P + "` supplied to `" + N + "`, expected an object."));
|
|
1831
|
+
for (var j in R)
|
|
1832
|
+
if (r(R, j)) {
|
|
1833
|
+
var D = y(R, j, N, V, E + "." + j, n);
|
|
1834
1834
|
if (D instanceof Error)
|
|
1835
1835
|
return D;
|
|
1836
1836
|
}
|
|
@@ -1842,45 +1842,45 @@ function ea() {
|
|
|
1842
1842
|
if (!Array.isArray(y))
|
|
1843
1843
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
1844
1844
|
for (var h = 0; h < y.length; h++) {
|
|
1845
|
-
var
|
|
1846
|
-
if (typeof
|
|
1845
|
+
var z = y[h];
|
|
1846
|
+
if (typeof z != "function")
|
|
1847
1847
|
return i(
|
|
1848
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(
|
|
1848
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(z) + " at index " + h + "."
|
|
1849
1849
|
), a;
|
|
1850
1850
|
}
|
|
1851
|
-
function J(N,
|
|
1852
|
-
for (var
|
|
1853
|
-
var le = y[D], L = le(N,
|
|
1851
|
+
function J(N, V, E, R, P) {
|
|
1852
|
+
for (var j = [], D = 0; D < y.length; D++) {
|
|
1853
|
+
var le = y[D], L = le(N, V, E, R, P, n);
|
|
1854
1854
|
if (L == null)
|
|
1855
1855
|
return null;
|
|
1856
|
-
L.data && r(L.data, "expectedType") &&
|
|
1856
|
+
L.data && r(L.data, "expectedType") && j.push(L.data.expectedType);
|
|
1857
1857
|
}
|
|
1858
|
-
var qe =
|
|
1859
|
-
return new
|
|
1858
|
+
var qe = j.length > 0 ? ", expected one of type [" + j.join(", ") + "]" : "";
|
|
1859
|
+
return new g("Invalid " + R + " `" + P + "` supplied to " + ("`" + E + "`" + qe + "."));
|
|
1860
1860
|
}
|
|
1861
1861
|
return Z(J);
|
|
1862
1862
|
}
|
|
1863
1863
|
function re() {
|
|
1864
|
-
function y(h,
|
|
1865
|
-
return
|
|
1864
|
+
function y(h, z, J, N, V) {
|
|
1865
|
+
return w(h[z]) ? null : new g("Invalid " + N + " `" + V + "` supplied to " + ("`" + J + "`, expected a ReactNode."));
|
|
1866
1866
|
}
|
|
1867
1867
|
return Z(y);
|
|
1868
1868
|
}
|
|
1869
|
-
function te(y, h,
|
|
1870
|
-
return new
|
|
1871
|
-
(y || "React class") + ": " + h + " type `" +
|
|
1869
|
+
function te(y, h, z, J, N) {
|
|
1870
|
+
return new g(
|
|
1871
|
+
(y || "React class") + ": " + h + " type `" + z + "." + J + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + N + "`."
|
|
1872
1872
|
);
|
|
1873
1873
|
}
|
|
1874
1874
|
function ne(y) {
|
|
1875
|
-
function h(
|
|
1876
|
-
var R =
|
|
1877
|
-
if (
|
|
1878
|
-
return new
|
|
1879
|
-
for (var
|
|
1880
|
-
var D = y[
|
|
1875
|
+
function h(z, J, N, V, E) {
|
|
1876
|
+
var R = z[J], P = Y(R);
|
|
1877
|
+
if (P !== "object")
|
|
1878
|
+
return new g("Invalid " + V + " `" + E + "` of type `" + P + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1879
|
+
for (var j in y) {
|
|
1880
|
+
var D = y[j];
|
|
1881
1881
|
if (typeof D != "function")
|
|
1882
|
-
return te(N,
|
|
1883
|
-
var le = D(R,
|
|
1882
|
+
return te(N, V, E, j, f(D));
|
|
1883
|
+
var le = D(R, j, N, V, E + "." + j, n);
|
|
1884
1884
|
if (le)
|
|
1885
1885
|
return le;
|
|
1886
1886
|
}
|
|
@@ -1889,21 +1889,21 @@ function ea() {
|
|
|
1889
1889
|
return Z(h);
|
|
1890
1890
|
}
|
|
1891
1891
|
function H(y) {
|
|
1892
|
-
function h(
|
|
1893
|
-
var R =
|
|
1894
|
-
if (
|
|
1895
|
-
return new
|
|
1896
|
-
var
|
|
1897
|
-
for (var D in
|
|
1892
|
+
function h(z, J, N, V, E) {
|
|
1893
|
+
var R = z[J], P = Y(R);
|
|
1894
|
+
if (P !== "object")
|
|
1895
|
+
return new g("Invalid " + V + " `" + E + "` of type `" + P + "` " + ("supplied to `" + N + "`, expected `object`."));
|
|
1896
|
+
var j = t({}, z[J], y);
|
|
1897
|
+
for (var D in j) {
|
|
1898
1898
|
var le = y[D];
|
|
1899
1899
|
if (r(y, D) && typeof le != "function")
|
|
1900
|
-
return te(N,
|
|
1900
|
+
return te(N, V, E, D, f(le));
|
|
1901
1901
|
if (!le)
|
|
1902
|
-
return new
|
|
1903
|
-
"Invalid " +
|
|
1902
|
+
return new g(
|
|
1903
|
+
"Invalid " + V + " `" + E + "` key `" + D + "` supplied to `" + N + "`.\nBad object: " + JSON.stringify(z[J], null, " ") + `
|
|
1904
1904
|
Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
1905
1905
|
);
|
|
1906
|
-
var L = le(R, D, N,
|
|
1906
|
+
var L = le(R, D, N, V, E + "." + D, n);
|
|
1907
1907
|
if (L)
|
|
1908
1908
|
return L;
|
|
1909
1909
|
}
|
|
@@ -1911,7 +1911,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
1911
1911
|
}
|
|
1912
1912
|
return Z(h);
|
|
1913
1913
|
}
|
|
1914
|
-
function
|
|
1914
|
+
function w(y) {
|
|
1915
1915
|
switch (typeof y) {
|
|
1916
1916
|
case "number":
|
|
1917
1917
|
case "string":
|
|
@@ -1921,20 +1921,20 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
1921
1921
|
return !y;
|
|
1922
1922
|
case "object":
|
|
1923
1923
|
if (Array.isArray(y))
|
|
1924
|
-
return y.every(
|
|
1924
|
+
return y.every(w);
|
|
1925
1925
|
if (y === null || A(y))
|
|
1926
1926
|
return !0;
|
|
1927
1927
|
var h = m(y);
|
|
1928
1928
|
if (h) {
|
|
1929
|
-
var
|
|
1929
|
+
var z = h.call(y), J;
|
|
1930
1930
|
if (h !== y.entries) {
|
|
1931
|
-
for (; !(J =
|
|
1932
|
-
if (!
|
|
1931
|
+
for (; !(J = z.next()).done; )
|
|
1932
|
+
if (!w(J.value))
|
|
1933
1933
|
return !1;
|
|
1934
1934
|
} else
|
|
1935
|
-
for (; !(J =
|
|
1935
|
+
for (; !(J = z.next()).done; ) {
|
|
1936
1936
|
var N = J.value;
|
|
1937
|
-
if (N && !
|
|
1937
|
+
if (N && !w(N[1]))
|
|
1938
1938
|
return !1;
|
|
1939
1939
|
}
|
|
1940
1940
|
} else
|
|
@@ -1947,14 +1947,14 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
1947
1947
|
function W(y, h) {
|
|
1948
1948
|
return y === "symbol" ? !0 : h ? h["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && h instanceof Symbol : !1;
|
|
1949
1949
|
}
|
|
1950
|
-
function
|
|
1950
|
+
function Y(y) {
|
|
1951
1951
|
var h = typeof y;
|
|
1952
1952
|
return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : W(h, y) ? "symbol" : h;
|
|
1953
1953
|
}
|
|
1954
1954
|
function f(y) {
|
|
1955
1955
|
if (typeof y > "u" || y === null)
|
|
1956
1956
|
return "" + y;
|
|
1957
|
-
var h =
|
|
1957
|
+
var h = Y(y);
|
|
1958
1958
|
if (h === "object") {
|
|
1959
1959
|
if (y instanceof Date)
|
|
1960
1960
|
return "date";
|
|
@@ -1980,7 +1980,7 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
1980
1980
|
function G(y) {
|
|
1981
1981
|
return !y.constructor || !y.constructor.name ? b : y.constructor.name;
|
|
1982
1982
|
}
|
|
1983
|
-
return
|
|
1983
|
+
return q.checkPropTypes = o, q.resetWarningCache = o.resetWarningCache, q.PropTypes = q, q;
|
|
1984
1984
|
}, Zn;
|
|
1985
1985
|
}
|
|
1986
1986
|
var In, zr;
|
|
@@ -2127,14 +2127,14 @@ var ya = {
|
|
|
2127
2127
|
return fa.default.createElement(qa.default, la({}, A, {
|
|
2128
2128
|
bgColor: n,
|
|
2129
2129
|
bgD: c.map(function(s, m) {
|
|
2130
|
-
return s.map(function(b,
|
|
2131
|
-
return b ? "" : "M " +
|
|
2130
|
+
return s.map(function(b, q) {
|
|
2131
|
+
return b ? "" : "M " + q + " " + m + " l 1 0 0 1 -1 0 Z";
|
|
2132
2132
|
}).join(" ");
|
|
2133
2133
|
}).join(" "),
|
|
2134
2134
|
fgColor: r,
|
|
2135
2135
|
fgD: c.map(function(s, m) {
|
|
2136
|
-
return s.map(function(b,
|
|
2137
|
-
return b ? "M " +
|
|
2136
|
+
return s.map(function(b, q) {
|
|
2137
|
+
return b ? "M " + q + " " + m + " l 1 0 0 1 -1 0 Z" : "";
|
|
2138
2138
|
}).join(" ");
|
|
2139
2139
|
}).join(" "),
|
|
2140
2140
|
ref: t,
|
|
@@ -2194,16 +2194,16 @@ function Co(e, t) {
|
|
|
2194
2194
|
const { toString: Ca } = Object.prototype, { getPrototypeOf: _n } = Object, on = ((e) => (t) => {
|
|
2195
2195
|
const n = Ca.call(t);
|
|
2196
2196
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
2197
|
-
})(/* @__PURE__ */ Object.create(null)), De = (e) => (e = e.toLowerCase(), (t) => on(t) === e), an = (e) => (t) => typeof t === e, { isArray: pt } = Array,
|
|
2197
|
+
})(/* @__PURE__ */ Object.create(null)), De = (e) => (e = e.toLowerCase(), (t) => on(t) === e), an = (e) => (t) => typeof t === e, { isArray: pt } = Array, xt = an("undefined");
|
|
2198
2198
|
function Za(e) {
|
|
2199
|
-
return e !== null && !
|
|
2199
|
+
return e !== null && !xt(e) && e.constructor !== null && !xt(e.constructor) && Se(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
2200
2200
|
}
|
|
2201
2201
|
const Zo = De("ArrayBuffer");
|
|
2202
2202
|
function Ia(e) {
|
|
2203
2203
|
let t;
|
|
2204
2204
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && Zo(e.buffer), t;
|
|
2205
2205
|
}
|
|
2206
|
-
const
|
|
2206
|
+
const xa = an("string"), Se = an("function"), Io = an("number"), An = (e) => e !== null && typeof e == "object", wa = (e) => e === !0 || e === !1, Tt = (e) => {
|
|
2207
2207
|
if (on(e) !== "object")
|
|
2208
2208
|
return !1;
|
|
2209
2209
|
const t = _n(e);
|
|
@@ -2227,7 +2227,7 @@ function Lt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
|
2227
2227
|
A = i[r], t.call(null, e[A], A, e);
|
|
2228
2228
|
}
|
|
2229
2229
|
}
|
|
2230
|
-
function
|
|
2230
|
+
function xo(e, t) {
|
|
2231
2231
|
t = t.toLowerCase();
|
|
2232
2232
|
const n = Object.keys(e);
|
|
2233
2233
|
let r = n.length, o;
|
|
@@ -2236,10 +2236,10 @@ function wo(e, t) {
|
|
|
2236
2236
|
return o;
|
|
2237
2237
|
return null;
|
|
2238
2238
|
}
|
|
2239
|
-
const
|
|
2239
|
+
const wo = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), Ko = (e) => !xt(e) && e !== wo;
|
|
2240
2240
|
function Yn() {
|
|
2241
2241
|
const { caseless: e } = Ko(this) && this || {}, t = {}, n = (r, o) => {
|
|
2242
|
-
const i = e &&
|
|
2242
|
+
const i = e && xo(t, o) || o;
|
|
2243
2243
|
Tt(t[i]) && Tt(r) ? t[i] = Yn(t[i], r) : Tt(r) ? t[i] = Yn({}, r) : pt(r) ? t[i] = r.slice() : t[i] = r;
|
|
2244
2244
|
};
|
|
2245
2245
|
for (let r = 0, o = arguments.length; r < o; r++)
|
|
@@ -2303,7 +2303,7 @@ const za = (e, t, n, { allOwnKeys: r } = {}) => (Lt(t, (o, i) => {
|
|
|
2303
2303
|
let a;
|
|
2304
2304
|
(a = t(o, i, e)) !== !1 && (r[i] = a || o);
|
|
2305
2305
|
}), Object.defineProperties(e, r);
|
|
2306
|
-
},
|
|
2306
|
+
}, Va = (e) => {
|
|
2307
2307
|
Wo(e, (t, n) => {
|
|
2308
2308
|
if (Se(e) && ["arguments", "caller", "callee"].indexOf(n) !== -1)
|
|
2309
2309
|
return !1;
|
|
@@ -2318,7 +2318,7 @@ const za = (e, t, n, { allOwnKeys: r } = {}) => (Lt(t, (o, i) => {
|
|
|
2318
2318
|
});
|
|
2319
2319
|
}
|
|
2320
2320
|
});
|
|
2321
|
-
},
|
|
2321
|
+
}, Pa = (e, t) => {
|
|
2322
2322
|
const n = {}, r = (o) => {
|
|
2323
2323
|
o.forEach((i) => {
|
|
2324
2324
|
n[i] = !0;
|
|
@@ -2326,10 +2326,10 @@ const za = (e, t, n, { allOwnKeys: r } = {}) => (Lt(t, (o, i) => {
|
|
|
2326
2326
|
};
|
|
2327
2327
|
return pt(e) ? r(e) : r(String(e).split(t)), n;
|
|
2328
2328
|
}, Ba = () => {
|
|
2329
|
-
}, Ua = (e, t) => (e = +e, Number.isFinite(e) ? e : t),
|
|
2329
|
+
}, Ua = (e, t) => (e = +e, Number.isFinite(e) ? e : t), xn = "abcdefghijklmnopqrstuvwxyz", jr = "0123456789", Mo = {
|
|
2330
2330
|
DIGIT: jr,
|
|
2331
|
-
ALPHA:
|
|
2332
|
-
ALPHA_DIGIT:
|
|
2331
|
+
ALPHA: xn,
|
|
2332
|
+
ALPHA_DIGIT: xn + xn.toUpperCase() + jr
|
|
2333
2333
|
}, Fa = (e = 16, t = Mo.ALPHA_DIGIT) => {
|
|
2334
2334
|
let n = "";
|
|
2335
2335
|
const { length: r } = t;
|
|
@@ -2350,7 +2350,7 @@ const $a = (e) => {
|
|
|
2350
2350
|
const i = pt(r) ? [] : {};
|
|
2351
2351
|
return Lt(r, (a, A) => {
|
|
2352
2352
|
const d = n(a, o + 1);
|
|
2353
|
-
!
|
|
2353
|
+
!xt(d) && (i[A] = d);
|
|
2354
2354
|
}), t[o] = void 0, i;
|
|
2355
2355
|
}
|
|
2356
2356
|
}
|
|
@@ -2363,12 +2363,12 @@ const $a = (e) => {
|
|
|
2363
2363
|
isBuffer: Za,
|
|
2364
2364
|
isFormData: Oa,
|
|
2365
2365
|
isArrayBufferView: Ia,
|
|
2366
|
-
isString:
|
|
2366
|
+
isString: xa,
|
|
2367
2367
|
isNumber: Io,
|
|
2368
|
-
isBoolean:
|
|
2368
|
+
isBoolean: wa,
|
|
2369
2369
|
isObject: An,
|
|
2370
2370
|
isPlainObject: Tt,
|
|
2371
|
-
isUndefined:
|
|
2371
|
+
isUndefined: xt,
|
|
2372
2372
|
isDate: Ka,
|
|
2373
2373
|
isFile: Wa,
|
|
2374
2374
|
isBlob: Ma,
|
|
@@ -2396,13 +2396,13 @@ const $a = (e) => {
|
|
|
2396
2396
|
hasOwnProp: Yr,
|
|
2397
2397
|
// an alias to avoid ESLint no-prototype-builtins detection
|
|
2398
2398
|
reduceDescriptors: Wo,
|
|
2399
|
-
freezeMethods:
|
|
2400
|
-
toObjectSet:
|
|
2399
|
+
freezeMethods: Va,
|
|
2400
|
+
toObjectSet: Pa,
|
|
2401
2401
|
toCamelCase: Xa,
|
|
2402
2402
|
noop: Ba,
|
|
2403
2403
|
toFiniteNumber: Ua,
|
|
2404
|
-
findKey:
|
|
2405
|
-
global:
|
|
2404
|
+
findKey: xo,
|
|
2405
|
+
global: wo,
|
|
2406
2406
|
isContextDefined: Ko,
|
|
2407
2407
|
ALPHABET: Mo,
|
|
2408
2408
|
generateString: Fa,
|
|
@@ -2486,8 +2486,8 @@ function sn(e, t, n) {
|
|
|
2486
2486
|
metaTokens: !0,
|
|
2487
2487
|
dots: !1,
|
|
2488
2488
|
indexes: !1
|
|
2489
|
-
}, !1, function(
|
|
2490
|
-
return !v.isUndefined(Z[
|
|
2489
|
+
}, !1, function(g, Z) {
|
|
2490
|
+
return !v.isUndefined(Z[g]);
|
|
2491
2491
|
});
|
|
2492
2492
|
const r = n.metaTokens, o = n.visitor || s, i = n.dots, a = n.indexes, d = (n.Blob || typeof Blob < "u" && Blob) && v.isSpecCompliantForm(t);
|
|
2493
2493
|
if (!v.isFunction(o))
|
|
@@ -2501,45 +2501,45 @@ function sn(e, t, n) {
|
|
|
2501
2501
|
throw new $("Blob is not supported. Use a Buffer instead.");
|
|
2502
2502
|
return v.isArrayBuffer(p) || v.isTypedArray(p) ? d && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
2503
2503
|
}
|
|
2504
|
-
function s(p,
|
|
2505
|
-
let
|
|
2504
|
+
function s(p, g, Z) {
|
|
2505
|
+
let x = p;
|
|
2506
2506
|
if (p && !Z && typeof p == "object") {
|
|
2507
|
-
if (v.endsWith(
|
|
2508
|
-
|
|
2509
|
-
else if (v.isArray(p) && rA(p) || (v.isFileList(p) || v.endsWith(
|
|
2510
|
-
return
|
|
2511
|
-
!(v.isUndefined(
|
|
2507
|
+
if (v.endsWith(g, "{}"))
|
|
2508
|
+
g = r ? g : g.slice(0, -2), p = JSON.stringify(p);
|
|
2509
|
+
else if (v.isArray(p) && rA(p) || (v.isFileList(p) || v.endsWith(g, "[]")) && (x = v.toArray(p)))
|
|
2510
|
+
return g = Oo(g), x.forEach(function(k, M) {
|
|
2511
|
+
!(v.isUndefined(k) || k === null) && t.append(
|
|
2512
2512
|
// eslint-disable-next-line no-nested-ternary
|
|
2513
|
-
a === !0 ? Jr([
|
|
2514
|
-
c(
|
|
2513
|
+
a === !0 ? Jr([g], M, i) : a === null ? g : g + "[]",
|
|
2514
|
+
c(k)
|
|
2515
2515
|
);
|
|
2516
2516
|
}), !1;
|
|
2517
2517
|
}
|
|
2518
|
-
return jn(p) ? !0 : (t.append(Jr(Z,
|
|
2518
|
+
return jn(p) ? !0 : (t.append(Jr(Z, g, i), c(p)), !1);
|
|
2519
2519
|
}
|
|
2520
2520
|
const m = [], b = Object.assign(oA, {
|
|
2521
2521
|
defaultVisitor: s,
|
|
2522
2522
|
convertValue: c,
|
|
2523
2523
|
isVisitable: jn
|
|
2524
2524
|
});
|
|
2525
|
-
function
|
|
2525
|
+
function q(p, g) {
|
|
2526
2526
|
if (!v.isUndefined(p)) {
|
|
2527
2527
|
if (m.indexOf(p) !== -1)
|
|
2528
|
-
throw Error("Circular reference detected in " +
|
|
2529
|
-
m.push(p), v.forEach(p, function(
|
|
2530
|
-
(!(v.isUndefined(
|
|
2528
|
+
throw Error("Circular reference detected in " + g.join("."));
|
|
2529
|
+
m.push(p), v.forEach(p, function(x, O) {
|
|
2530
|
+
(!(v.isUndefined(x) || x === null) && o.call(
|
|
2531
2531
|
t,
|
|
2532
|
-
|
|
2532
|
+
x,
|
|
2533
2533
|
v.isString(O) ? O.trim() : O,
|
|
2534
|
-
|
|
2534
|
+
g,
|
|
2535
2535
|
b
|
|
2536
|
-
)) === !0 &&
|
|
2536
|
+
)) === !0 && q(x, g ? g.concat(O) : [O]);
|
|
2537
2537
|
}), m.pop();
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
2540
2540
|
if (!v.isObject(e))
|
|
2541
2541
|
throw new TypeError("data must be an object");
|
|
2542
|
-
return
|
|
2542
|
+
return q(e), t;
|
|
2543
2543
|
}
|
|
2544
2544
|
function Nr(e) {
|
|
2545
2545
|
const t = {
|
|
@@ -2807,7 +2807,7 @@ function gA(e) {
|
|
|
2807
2807
|
return t;
|
|
2808
2808
|
}
|
|
2809
2809
|
const yA = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
2810
|
-
function
|
|
2810
|
+
function wn(e, t, n, r, o) {
|
|
2811
2811
|
if (v.isFunction(r))
|
|
2812
2812
|
return r.call(this, t, n);
|
|
2813
2813
|
if (o && (t = n), !!v.isString(t)) {
|
|
@@ -2867,7 +2867,7 @@ class ln {
|
|
|
2867
2867
|
has(t, n) {
|
|
2868
2868
|
if (t = bt(t), t) {
|
|
2869
2869
|
const r = v.findKey(this, t);
|
|
2870
|
-
return !!(r && this[r] !== void 0 && (!n ||
|
|
2870
|
+
return !!(r && this[r] !== void 0 && (!n || wn(this, this[r], r, n)));
|
|
2871
2871
|
}
|
|
2872
2872
|
return !1;
|
|
2873
2873
|
}
|
|
@@ -2877,7 +2877,7 @@ class ln {
|
|
|
2877
2877
|
function i(a) {
|
|
2878
2878
|
if (a = bt(a), a) {
|
|
2879
2879
|
const A = v.findKey(r, a);
|
|
2880
|
-
A && (!n ||
|
|
2880
|
+
A && (!n || wn(r, r[A], A, n)) && (delete r[A], o = !0);
|
|
2881
2881
|
}
|
|
2882
2882
|
}
|
|
2883
2883
|
return v.isArray(t) ? t.forEach(i) : i(t), o;
|
|
@@ -2887,7 +2887,7 @@ class ln {
|
|
|
2887
2887
|
let r = n.length, o = !1;
|
|
2888
2888
|
for (; r--; ) {
|
|
2889
2889
|
const i = n[r];
|
|
2890
|
-
(!t ||
|
|
2890
|
+
(!t || wn(this, this[i], i, t, !0)) && (delete this[i], o = !0);
|
|
2891
2891
|
}
|
|
2892
2892
|
return o;
|
|
2893
2893
|
}
|
|
@@ -3012,13 +3012,13 @@ const ZA = Ne.isStandardBrowserEnv ? (
|
|
|
3012
3012
|
function IA(e) {
|
|
3013
3013
|
return /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e);
|
|
3014
3014
|
}
|
|
3015
|
-
function
|
|
3015
|
+
function xA(e, t) {
|
|
3016
3016
|
return t ? e.replace(/\/+$/, "") + "/" + t.replace(/^\/+/, "") : e;
|
|
3017
3017
|
}
|
|
3018
3018
|
function Jo(e, t) {
|
|
3019
|
-
return e && !IA(t) ?
|
|
3019
|
+
return e && !IA(t) ? xA(e, t) : t;
|
|
3020
3020
|
}
|
|
3021
|
-
const
|
|
3021
|
+
const wA = Ne.isStandardBrowserEnv ? (
|
|
3022
3022
|
// Standard browser envs have full support of the APIs needed to test
|
|
3023
3023
|
// whether the request URL is of the same origin as current location.
|
|
3024
3024
|
function() {
|
|
@@ -3066,8 +3066,8 @@ function WA(e, t) {
|
|
|
3066
3066
|
b += n[m++], m = m % e;
|
|
3067
3067
|
if (o = (o + 1) % e, o === i && (i = (i + 1) % e), c - a < t)
|
|
3068
3068
|
return;
|
|
3069
|
-
const
|
|
3070
|
-
return
|
|
3069
|
+
const q = s && c - s;
|
|
3070
|
+
return q ? Math.round(b * 1e3 / q) : void 0;
|
|
3071
3071
|
};
|
|
3072
3072
|
}
|
|
3073
3073
|
function Gr(e, t) {
|
|
@@ -3100,8 +3100,8 @@ const MA = typeof XMLHttpRequest < "u", LA = MA && function(e) {
|
|
|
3100
3100
|
v.isFormData(o) && (Ne.isStandardBrowserEnv || Ne.isStandardBrowserWebWorkerEnv ? i.setContentType(!1) : i.getContentType(/^\s*multipart\/form-data/) ? v.isString(c = i.getContentType()) && i.setContentType(c.replace(/^\s*(multipart\/form-data);+/, "$1")) : i.setContentType("multipart/form-data"));
|
|
3101
3101
|
let s = new XMLHttpRequest();
|
|
3102
3102
|
if (e.auth) {
|
|
3103
|
-
const p = e.auth.username || "",
|
|
3104
|
-
i.set("Authorization", "Basic " + btoa(p + ":" +
|
|
3103
|
+
const p = e.auth.username || "", g = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
|
|
3104
|
+
i.set("Authorization", "Basic " + btoa(p + ":" + g));
|
|
3105
3105
|
}
|
|
3106
3106
|
const m = Jo(e.baseURL, e.url);
|
|
3107
3107
|
s.open(e.method.toUpperCase(), ko(m, e.params, e.paramsSerializer), !0), s.timeout = e.timeout;
|
|
@@ -3131,26 +3131,26 @@ const MA = typeof XMLHttpRequest < "u", LA = MA && function(e) {
|
|
|
3131
3131
|
}, s.onerror = function() {
|
|
3132
3132
|
r(new $("Network Error", $.ERR_NETWORK, e, s)), s = null;
|
|
3133
3133
|
}, s.ontimeout = function() {
|
|
3134
|
-
let
|
|
3134
|
+
let g = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
|
|
3135
3135
|
const Z = e.transitional || zo;
|
|
3136
|
-
e.timeoutErrorMessage && (
|
|
3137
|
-
|
|
3136
|
+
e.timeoutErrorMessage && (g = e.timeoutErrorMessage), r(new $(
|
|
3137
|
+
g,
|
|
3138
3138
|
Z.clarifyTimeoutError ? $.ETIMEDOUT : $.ECONNABORTED,
|
|
3139
3139
|
e,
|
|
3140
3140
|
s
|
|
3141
3141
|
)), s = null;
|
|
3142
3142
|
}, Ne.isStandardBrowserEnv) {
|
|
3143
|
-
const p = (e.withCredentials ||
|
|
3143
|
+
const p = (e.withCredentials || wA(m)) && e.xsrfCookieName && ZA.read(e.xsrfCookieName);
|
|
3144
3144
|
p && i.set(e.xsrfHeaderName, p);
|
|
3145
3145
|
}
|
|
3146
|
-
o === void 0 && i.setContentType(null), "setRequestHeader" in s && v.forEach(i.toJSON(), function(
|
|
3147
|
-
s.setRequestHeader(Z,
|
|
3146
|
+
o === void 0 && i.setContentType(null), "setRequestHeader" in s && v.forEach(i.toJSON(), function(g, Z) {
|
|
3147
|
+
s.setRequestHeader(Z, g);
|
|
3148
3148
|
}), v.isUndefined(e.withCredentials) || (s.withCredentials = !!e.withCredentials), a && a !== "json" && (s.responseType = e.responseType), typeof e.onDownloadProgress == "function" && s.addEventListener("progress", Gr(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && s.upload && s.upload.addEventListener("progress", Gr(e.onUploadProgress)), (e.cancelToken || e.signal) && (A = (p) => {
|
|
3149
3149
|
s && (r(!p || p.type ? new St(null, e, s) : p), s.abort(), s = null);
|
|
3150
3150
|
}, e.cancelToken && e.cancelToken.subscribe(A), e.signal && (e.signal.aborted ? A() : e.signal.addEventListener("abort", A)));
|
|
3151
|
-
const
|
|
3152
|
-
if (
|
|
3153
|
-
r(new $("Unsupported protocol " +
|
|
3151
|
+
const q = KA(m);
|
|
3152
|
+
if (q && Ne.protocols.indexOf(q) === -1) {
|
|
3153
|
+
r(new $("Unsupported protocol " + q + ":", $.ERR_BAD_REQUEST, e));
|
|
3154
3154
|
return;
|
|
3155
3155
|
}
|
|
3156
3156
|
s.send(o || null);
|
|
@@ -3333,7 +3333,7 @@ const Nn = {
|
|
|
3333
3333
|
assertOptions: OA,
|
|
3334
3334
|
validators: nr
|
|
3335
3335
|
}, Xe = Nn.validators;
|
|
3336
|
-
class
|
|
3336
|
+
class Pt {
|
|
3337
3337
|
constructor(t) {
|
|
3338
3338
|
this.defaults = t, this.interceptors = {
|
|
3339
3339
|
request: new Dr(),
|
|
@@ -3373,12 +3373,12 @@ class Vt {
|
|
|
3373
3373
|
), n.headers = Te.concat(a, i);
|
|
3374
3374
|
const A = [];
|
|
3375
3375
|
let d = !0;
|
|
3376
|
-
this.interceptors.request.forEach(function(
|
|
3377
|
-
typeof
|
|
3376
|
+
this.interceptors.request.forEach(function(g) {
|
|
3377
|
+
typeof g.runWhen == "function" && g.runWhen(n) === !1 || (d = d && g.synchronous, A.unshift(g.fulfilled, g.rejected));
|
|
3378
3378
|
});
|
|
3379
3379
|
const c = [];
|
|
3380
|
-
this.interceptors.response.forEach(function(
|
|
3381
|
-
c.push(
|
|
3380
|
+
this.interceptors.response.forEach(function(g) {
|
|
3381
|
+
c.push(g.fulfilled, g.rejected);
|
|
3382
3382
|
});
|
|
3383
3383
|
let s, m = 0, b;
|
|
3384
3384
|
if (!d) {
|
|
@@ -3388,18 +3388,18 @@ class Vt {
|
|
|
3388
3388
|
return s;
|
|
3389
3389
|
}
|
|
3390
3390
|
b = A.length;
|
|
3391
|
-
let
|
|
3391
|
+
let q = n;
|
|
3392
3392
|
for (m = 0; m < b; ) {
|
|
3393
|
-
const p = A[m++],
|
|
3393
|
+
const p = A[m++], g = A[m++];
|
|
3394
3394
|
try {
|
|
3395
|
-
|
|
3395
|
+
q = p(q);
|
|
3396
3396
|
} catch (Z) {
|
|
3397
|
-
|
|
3397
|
+
g.call(this, Z);
|
|
3398
3398
|
break;
|
|
3399
3399
|
}
|
|
3400
3400
|
}
|
|
3401
3401
|
try {
|
|
3402
|
-
s = Hr.call(this,
|
|
3402
|
+
s = Hr.call(this, q);
|
|
3403
3403
|
} catch (p) {
|
|
3404
3404
|
return Promise.reject(p);
|
|
3405
3405
|
}
|
|
@@ -3414,7 +3414,7 @@ class Vt {
|
|
|
3414
3414
|
}
|
|
3415
3415
|
}
|
|
3416
3416
|
v.forEach(["delete", "get", "head", "options"], function(t) {
|
|
3417
|
-
|
|
3417
|
+
Pt.prototype[t] = function(n, r) {
|
|
3418
3418
|
return this.request(mt(r || {}, {
|
|
3419
3419
|
method: t,
|
|
3420
3420
|
url: n,
|
|
@@ -3435,9 +3435,9 @@ v.forEach(["post", "put", "patch"], function(t) {
|
|
|
3435
3435
|
}));
|
|
3436
3436
|
};
|
|
3437
3437
|
}
|
|
3438
|
-
|
|
3438
|
+
Pt.prototype[t] = n(), Pt.prototype[t + "Form"] = n(!0);
|
|
3439
3439
|
});
|
|
3440
|
-
const Xt =
|
|
3440
|
+
const Xt = Pt;
|
|
3441
3441
|
class rr {
|
|
3442
3442
|
constructor(t) {
|
|
3443
3443
|
if (typeof t != "function")
|
|
@@ -3628,7 +3628,7 @@ function Ho(e, t, n) {
|
|
|
3628
3628
|
}
|
|
3629
3629
|
return e != null ? o[e] : o;
|
|
3630
3630
|
}
|
|
3631
|
-
const
|
|
3631
|
+
const Vr = Object.freeze({
|
|
3632
3632
|
decodeName: or,
|
|
3633
3633
|
decodeValue: ir,
|
|
3634
3634
|
encodeName: Go,
|
|
@@ -3678,12 +3678,12 @@ function Rn(e, t) {
|
|
|
3678
3678
|
};
|
|
3679
3679
|
return Object.create(n, r);
|
|
3680
3680
|
}
|
|
3681
|
-
Rn({ read:
|
|
3682
|
-
let
|
|
3683
|
-
typeof window < "u" && (
|
|
3681
|
+
Rn({ read: Vr.decodeValue, write: Vr.encodeValue }, ar);
|
|
3682
|
+
let Vo;
|
|
3683
|
+
typeof window < "u" && (Vo = Qo("token"));
|
|
3684
3684
|
const he = jA.create({
|
|
3685
3685
|
headers: {
|
|
3686
|
-
Authorization:
|
|
3686
|
+
Authorization: Vo
|
|
3687
3687
|
}
|
|
3688
3688
|
});
|
|
3689
3689
|
async function RA(e, t, n) {
|
|
@@ -3723,13 +3723,13 @@ async function QA(e, t, n) {
|
|
|
3723
3723
|
network: n
|
|
3724
3724
|
})).data;
|
|
3725
3725
|
}
|
|
3726
|
-
async function
|
|
3726
|
+
async function VA(e, t, n) {
|
|
3727
3727
|
return (await he.post(n + "/createReadyVersionLinkMulti", {
|
|
3728
3728
|
_id: e,
|
|
3729
3729
|
networks: t
|
|
3730
3730
|
})).data;
|
|
3731
3731
|
}
|
|
3732
|
-
async function
|
|
3732
|
+
async function Po(e, t) {
|
|
3733
3733
|
return (await he.post(t + "/updateFlexUrl", e || {})).data;
|
|
3734
3734
|
}
|
|
3735
3735
|
async function Bt(e, t, n) {
|
|
@@ -3766,7 +3766,7 @@ function Qe() {
|
|
|
3766
3766
|
return r;
|
|
3767
3767
|
}
|
|
3768
3768
|
const Zt = (e) => typeof e == "number" && !isNaN(e), it = (e) => typeof e == "string", Ze = (e) => typeof e == "function", Qt = (e) => it(e) || Ze(e) ? e : null, Mn = (e) => dt(e) || it(e) || Ze(e) || Zt(e);
|
|
3769
|
-
function
|
|
3769
|
+
function PA(e, t, n) {
|
|
3770
3770
|
n === void 0 && (n = 300);
|
|
3771
3771
|
const { scrollHeight: r, style: o } = e;
|
|
3772
3772
|
requestAnimationFrame(() => {
|
|
@@ -3779,21 +3779,21 @@ function cn(e) {
|
|
|
3779
3779
|
let { enter: t, exit: n, appendPosition: r = !1, collapse: o = !0, collapseDuration: i = 300 } = e;
|
|
3780
3780
|
return function(a) {
|
|
3781
3781
|
let { children: A, position: d, preventExitTransition: c, done: s, nodeRef: m, isIn: b } = a;
|
|
3782
|
-
const
|
|
3782
|
+
const q = r ? `${t}--${d}` : t, p = r ? `${n}--${d}` : n, g = et(0);
|
|
3783
3783
|
return Oi(() => {
|
|
3784
|
-
const Z = m.current,
|
|
3785
|
-
|
|
3784
|
+
const Z = m.current, x = q.split(" "), O = (k) => {
|
|
3785
|
+
k.target === m.current && (Z.dispatchEvent(new Event("d")), Z.removeEventListener("animationend", O), Z.removeEventListener("animationcancel", O), g.current === 0 && k.type !== "animationcancel" && Z.classList.remove(...x));
|
|
3786
3786
|
};
|
|
3787
|
-
Z.classList.add(...
|
|
3787
|
+
Z.classList.add(...x), Z.addEventListener("animationend", O), Z.addEventListener("animationcancel", O);
|
|
3788
3788
|
}, []), Ie(() => {
|
|
3789
|
-
const Z = m.current,
|
|
3790
|
-
Z.removeEventListener("animationend",
|
|
3789
|
+
const Z = m.current, x = () => {
|
|
3790
|
+
Z.removeEventListener("animationend", x), o ? PA(Z, s, i) : s();
|
|
3791
3791
|
};
|
|
3792
|
-
b || (c ?
|
|
3792
|
+
b || (c ? x() : (g.current = 1, Z.className += ` ${p}`, Z.addEventListener("animationend", x)));
|
|
3793
3793
|
}, [b]), ie.createElement(ie.Fragment, null, A);
|
|
3794
3794
|
};
|
|
3795
3795
|
}
|
|
3796
|
-
function
|
|
3796
|
+
function Pr(e, t) {
|
|
3797
3797
|
return e != null ? { content: e.content, containerId: e.props.containerId, id: e.props.toastId, theme: e.props.theme, type: e.props.type, data: e.props.data || {}, isLoading: e.props.isLoading, icon: e.props.icon, status: t } : {};
|
|
3798
3798
|
}
|
|
3799
3799
|
const Le = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map(), on(e, t) {
|
|
@@ -3829,42 +3829,42 @@ const Le = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map
|
|
|
3829
3829
|
return ie.createElement("div", { className: "Toastify__spinner" });
|
|
3830
3830
|
} };
|
|
3831
3831
|
function BA(e) {
|
|
3832
|
-
const [, t] = Si((
|
|
3833
|
-
function d(
|
|
3834
|
-
let { containerId: p } =
|
|
3835
|
-
const { limit:
|
|
3836
|
-
!
|
|
3832
|
+
const [, t] = Si((q) => q + 1, 0), [n, r] = B([]), o = et(null), i = et(/* @__PURE__ */ new Map()).current, a = (q) => n.indexOf(q) !== -1, A = et({ toastKey: 1, displayedToast: 0, count: 0, queue: [], props: e, containerId: null, isToastActive: a, getToast: (q) => i.get(q) }).current;
|
|
3833
|
+
function d(q) {
|
|
3834
|
+
let { containerId: p } = q;
|
|
3835
|
+
const { limit: g } = A.props;
|
|
3836
|
+
!g || p && A.containerId !== p || (A.count -= A.queue.length, A.queue = []);
|
|
3837
3837
|
}
|
|
3838
|
-
function c(
|
|
3839
|
-
r((p) =>
|
|
3838
|
+
function c(q) {
|
|
3839
|
+
r((p) => q == null ? [] : p.filter((g) => g !== q));
|
|
3840
3840
|
}
|
|
3841
3841
|
function s() {
|
|
3842
|
-
const { toastContent:
|
|
3843
|
-
b(
|
|
3842
|
+
const { toastContent: q, toastProps: p, staleId: g } = A.queue.shift();
|
|
3843
|
+
b(q, p, g);
|
|
3844
3844
|
}
|
|
3845
|
-
function m(
|
|
3846
|
-
let { delay:
|
|
3847
|
-
if (!Mn(
|
|
3845
|
+
function m(q, p) {
|
|
3846
|
+
let { delay: g, staleId: Z, ...x } = p;
|
|
3847
|
+
if (!Mn(q) || function(ne) {
|
|
3848
3848
|
return !o.current || A.props.enableMultiContainer && ne.containerId !== A.props.containerId || i.has(ne.toastId) && ne.updateId == null;
|
|
3849
|
-
}(
|
|
3849
|
+
}(x))
|
|
3850
3850
|
return;
|
|
3851
|
-
const { toastId: O, updateId:
|
|
3851
|
+
const { toastId: O, updateId: k, data: M } = x, { props: C } = A, U = () => c(O), ee = k == null;
|
|
3852
3852
|
ee && A.count++;
|
|
3853
|
-
const Q = { ...C, style: C.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(
|
|
3854
|
-
let [H,
|
|
3855
|
-
return
|
|
3856
|
-
})), toastId: O, updateId:
|
|
3857
|
-
const ne =
|
|
3853
|
+
const Q = { ...C, style: C.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(x).filter((ne) => {
|
|
3854
|
+
let [H, w] = ne;
|
|
3855
|
+
return w != null;
|
|
3856
|
+
})), toastId: O, updateId: k, data: M, closeToast: U, isIn: !1, className: Qt(x.className || C.toastClassName), bodyClassName: Qt(x.bodyClassName || C.bodyClassName), progressClassName: Qt(x.progressClassName || C.progressClassName), autoClose: !x.isLoading && (ae = x.autoClose, re = C.autoClose, ae === !1 || Zt(ae) && ae > 0 ? ae : re), deleteToast() {
|
|
3857
|
+
const ne = Pr(i.get(O), "removed");
|
|
3858
3858
|
i.delete(O), Le.emit(4, ne);
|
|
3859
3859
|
const H = A.queue.length;
|
|
3860
3860
|
if (A.count = O == null ? A.count - A.displayedToast : A.count - 1, A.count < 0 && (A.count = 0), H > 0) {
|
|
3861
|
-
const
|
|
3862
|
-
if (H === 1 ||
|
|
3861
|
+
const w = O == null ? A.props.limit : 1;
|
|
3862
|
+
if (H === 1 || w === 1)
|
|
3863
3863
|
A.displayedToast++, s();
|
|
3864
3864
|
else {
|
|
3865
|
-
const W =
|
|
3865
|
+
const W = w > H ? H : w;
|
|
3866
3866
|
A.displayedToast = W;
|
|
3867
|
-
for (let
|
|
3867
|
+
for (let Y = 0; Y < W; Y++)
|
|
3868
3868
|
s();
|
|
3869
3869
|
}
|
|
3870
3870
|
} else
|
|
@@ -3872,31 +3872,31 @@ function BA(e) {
|
|
|
3872
3872
|
} };
|
|
3873
3873
|
var ae, re;
|
|
3874
3874
|
Q.iconOut = function(ne) {
|
|
3875
|
-
let { theme: H, type:
|
|
3876
|
-
const K = { theme: H, type:
|
|
3877
|
-
return
|
|
3878
|
-
}(Q), Ze(
|
|
3879
|
-
let te =
|
|
3880
|
-
dt(
|
|
3875
|
+
let { theme: H, type: w, isLoading: W, icon: Y } = ne, f = null;
|
|
3876
|
+
const K = { theme: H, type: w };
|
|
3877
|
+
return Y === !1 || (Ze(Y) ? f = Y(K) : dt(Y) ? f = En(Y, K) : it(Y) || Zt(Y) ? f = Y : W ? f = Ln.spinner() : ((G) => G in Ln)(w) && (f = Ln[w](K))), f;
|
|
3878
|
+
}(Q), Ze(x.onOpen) && (Q.onOpen = x.onOpen), Ze(x.onClose) && (Q.onClose = x.onClose), Q.closeButton = C.closeButton, x.closeButton === !1 || Mn(x.closeButton) ? Q.closeButton = x.closeButton : x.closeButton === !0 && (Q.closeButton = !Mn(C.closeButton) || C.closeButton);
|
|
3879
|
+
let te = q;
|
|
3880
|
+
dt(q) && !it(q.type) ? te = En(q, { closeToast: U, toastProps: Q, data: M }) : Ze(q) && (te = q({ closeToast: U, toastProps: Q, data: M })), C.limit && C.limit > 0 && A.count > C.limit && ee ? A.queue.push({ toastContent: te, toastProps: Q, staleId: Z }) : Zt(g) ? setTimeout(() => {
|
|
3881
3881
|
b(te, Q, Z);
|
|
3882
|
-
},
|
|
3882
|
+
}, g) : b(te, Q, Z);
|
|
3883
3883
|
}
|
|
3884
|
-
function b(
|
|
3884
|
+
function b(q, p, g) {
|
|
3885
3885
|
const { toastId: Z } = p;
|
|
3886
|
-
|
|
3887
|
-
const
|
|
3888
|
-
i.set(Z,
|
|
3886
|
+
g && i.delete(g);
|
|
3887
|
+
const x = { content: q, props: p };
|
|
3888
|
+
i.set(Z, x), r((O) => [...O, Z].filter((k) => k !== g)), Le.emit(4, Pr(x, x.props.updateId == null ? "added" : "updated"));
|
|
3889
3889
|
}
|
|
3890
|
-
return Ie(() => (A.containerId = e.containerId, Le.cancelEmit(3).on(0, m).on(1, (
|
|
3890
|
+
return Ie(() => (A.containerId = e.containerId, Le.cancelEmit(3).on(0, m).on(1, (q) => o.current && c(q)).on(5, d).emit(2, A), () => {
|
|
3891
3891
|
i.clear(), Le.emit(3, A);
|
|
3892
3892
|
}), []), Ie(() => {
|
|
3893
3893
|
A.props = e, A.isToastActive = a, A.displayedToast = n.length;
|
|
3894
|
-
}), { getToastToRender: function(
|
|
3895
|
-
const p = /* @__PURE__ */ new Map(),
|
|
3896
|
-
return e.newestOnTop &&
|
|
3897
|
-
const { position:
|
|
3898
|
-
p.has(
|
|
3899
|
-
}), Array.from(p, (Z) =>
|
|
3894
|
+
}), { getToastToRender: function(q) {
|
|
3895
|
+
const p = /* @__PURE__ */ new Map(), g = Array.from(i.values());
|
|
3896
|
+
return e.newestOnTop && g.reverse(), g.forEach((Z) => {
|
|
3897
|
+
const { position: x } = Z.props;
|
|
3898
|
+
p.has(x) || p.set(x, []), p.get(x).push(Z);
|
|
3899
|
+
}), Array.from(p, (Z) => q(Z[0], Z[1]));
|
|
3900
3900
|
}, containerRef: o, isToastActive: a };
|
|
3901
3901
|
}
|
|
3902
3902
|
function Br(e) {
|
|
@@ -3907,9 +3907,9 @@ function Ur(e) {
|
|
|
3907
3907
|
}
|
|
3908
3908
|
function UA(e) {
|
|
3909
3909
|
const [t, n] = B(!1), [r, o] = B(!1), i = et(null), a = et({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, A = et(e), { autoClose: d, pauseOnHover: c, closeToast: s, onClick: m, closeOnClick: b } = e;
|
|
3910
|
-
function
|
|
3910
|
+
function q(M) {
|
|
3911
3911
|
if (e.draggable) {
|
|
3912
|
-
M.nativeEvent.type === "touchstart" && M.nativeEvent.preventDefault(), a.didMove = !1, document.addEventListener("mousemove",
|
|
3912
|
+
M.nativeEvent.type === "touchstart" && M.nativeEvent.preventDefault(), a.didMove = !1, document.addEventListener("mousemove", x), document.addEventListener("mouseup", O), document.addEventListener("touchmove", x), document.addEventListener("touchend", O);
|
|
3913
3913
|
const C = i.current;
|
|
3914
3914
|
a.canCloseOnClick = !0, a.canDrag = !0, a.boundingRect = C.getBoundingClientRect(), C.style.transition = "", a.x = Br(M.nativeEvent), a.y = Ur(M.nativeEvent), e.draggableDirection === "x" ? (a.start = a.x, a.removalDistance = C.offsetWidth * (e.draggablePercent / 100)) : (a.start = a.y, a.removalDistance = C.offsetHeight * (e.draggablePercent === 80 ? 1.5 * e.draggablePercent : e.draggablePercent / 100));
|
|
3915
3915
|
}
|
|
@@ -3917,21 +3917,21 @@ function UA(e) {
|
|
|
3917
3917
|
function p(M) {
|
|
3918
3918
|
if (a.boundingRect) {
|
|
3919
3919
|
const { top: C, bottom: U, left: ee, right: Q } = a.boundingRect;
|
|
3920
|
-
M.nativeEvent.type !== "touchend" && e.pauseOnHover && a.x >= ee && a.x <= Q && a.y >= C && a.y <= U ? Z() :
|
|
3920
|
+
M.nativeEvent.type !== "touchend" && e.pauseOnHover && a.x >= ee && a.x <= Q && a.y >= C && a.y <= U ? Z() : g();
|
|
3921
3921
|
}
|
|
3922
3922
|
}
|
|
3923
|
-
function
|
|
3923
|
+
function g() {
|
|
3924
3924
|
n(!0);
|
|
3925
3925
|
}
|
|
3926
3926
|
function Z() {
|
|
3927
3927
|
n(!1);
|
|
3928
3928
|
}
|
|
3929
|
-
function
|
|
3929
|
+
function x(M) {
|
|
3930
3930
|
const C = i.current;
|
|
3931
3931
|
a.canDrag && C && (a.didMove = !0, t && Z(), a.x = Br(M), a.y = Ur(M), a.delta = e.draggableDirection === "x" ? a.x - a.start : a.y - a.start, a.start !== a.x && (a.canCloseOnClick = !1), C.style.transform = `translate${e.draggableDirection}(${a.delta}px)`, C.style.opacity = "" + (1 - Math.abs(a.delta / a.removalDistance)));
|
|
3932
3932
|
}
|
|
3933
3933
|
function O() {
|
|
3934
|
-
document.removeEventListener("mousemove",
|
|
3934
|
+
document.removeEventListener("mousemove", x), document.removeEventListener("mouseup", O), document.removeEventListener("touchmove", x), document.removeEventListener("touchend", O);
|
|
3935
3935
|
const M = i.current;
|
|
3936
3936
|
if (a.canDrag && a.didMove && M) {
|
|
3937
3937
|
if (a.canDrag = !1, Math.abs(a.delta) > a.removalDistance)
|
|
@@ -3941,16 +3941,16 @@ function UA(e) {
|
|
|
3941
3941
|
}
|
|
3942
3942
|
Ie(() => {
|
|
3943
3943
|
A.current = e;
|
|
3944
|
-
}), Ie(() => (i.current && i.current.addEventListener("d",
|
|
3944
|
+
}), Ie(() => (i.current && i.current.addEventListener("d", g, { once: !0 }), Ze(e.onOpen) && e.onOpen(dt(e.children) && e.children.props), () => {
|
|
3945
3945
|
const M = A.current;
|
|
3946
3946
|
Ze(M.onClose) && M.onClose(dt(M.children) && M.children.props);
|
|
3947
|
-
}), []), Ie(() => (e.pauseOnFocusLoss && (document.hasFocus() || Z(), window.addEventListener("focus",
|
|
3948
|
-
e.pauseOnFocusLoss && (window.removeEventListener("focus",
|
|
3947
|
+
}), []), Ie(() => (e.pauseOnFocusLoss && (document.hasFocus() || Z(), window.addEventListener("focus", g), window.addEventListener("blur", Z)), () => {
|
|
3948
|
+
e.pauseOnFocusLoss && (window.removeEventListener("focus", g), window.removeEventListener("blur", Z));
|
|
3949
3949
|
}), [e.pauseOnFocusLoss]);
|
|
3950
|
-
const
|
|
3951
|
-
return d && c && (
|
|
3950
|
+
const k = { onMouseDown: q, onTouchStart: q, onMouseUp: p, onTouchEnd: p };
|
|
3951
|
+
return d && c && (k.onMouseEnter = Z, k.onMouseLeave = g), b && (k.onClick = (M) => {
|
|
3952
3952
|
m && m(M), a.canCloseOnClick && s();
|
|
3953
|
-
}), { playToast:
|
|
3953
|
+
}), { playToast: g, pauseToast: Z, isRunning: t, preventExitTransition: r, toastRef: i, eventHandlers: k };
|
|
3954
3954
|
}
|
|
3955
3955
|
function Uo(e) {
|
|
3956
3956
|
let { closeToast: t, theme: n, ariaLabel: r = "close" } = e;
|
|
@@ -3960,17 +3960,17 @@ function Uo(e) {
|
|
|
3960
3960
|
}
|
|
3961
3961
|
function FA(e) {
|
|
3962
3962
|
let { delay: t, isRunning: n, closeToast: r, type: o = "default", hide: i, className: a, style: A, controlledProgress: d, progress: c, rtl: s, isIn: m, theme: b } = e;
|
|
3963
|
-
const
|
|
3963
|
+
const q = i || d && c === 0, p = { ...A, animationDuration: `${t}ms`, animationPlayState: n ? "running" : "paused", opacity: q ? 0 : 1 };
|
|
3964
3964
|
d && (p.transform = `scaleX(${c})`);
|
|
3965
|
-
const
|
|
3966
|
-
return ie.createElement("div", { role: "progressbar", "aria-hidden":
|
|
3965
|
+
const g = Qe("Toastify__progress-bar", d ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${b}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": s }), Z = Ze(a) ? a({ rtl: s, type: o, defaultClassName: g }) : Qe(g, a);
|
|
3966
|
+
return ie.createElement("div", { role: "progressbar", "aria-hidden": q ? "true" : "false", "aria-label": "notification timer", className: Z, style: p, [d && c >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: d && c < 1 ? null : () => {
|
|
3967
3967
|
m && r();
|
|
3968
3968
|
} });
|
|
3969
3969
|
}
|
|
3970
3970
|
const _A = (e) => {
|
|
3971
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = UA(e), { closeButton: i, children: a, autoClose: A, onClick: d, type: c, hideProgressBar: s, closeToast: m, transition: b, position:
|
|
3971
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = UA(e), { closeButton: i, children: a, autoClose: A, onClick: d, type: c, hideProgressBar: s, closeToast: m, transition: b, position: q, className: p, style: g, bodyClassName: Z, bodyStyle: x, progressClassName: O, progressStyle: k, updateId: M, role: C, progress: U, rtl: ee, toastId: Q, deleteToast: ae, isIn: re, isLoading: te, iconOut: ne, closeOnClick: H, theme: w } = e, W = Qe("Toastify__toast", `Toastify__toast-theme--${w}`, `Toastify__toast--${c}`, { "Toastify__toast--rtl": ee }, { "Toastify__toast--close-on-click": H }), Y = Ze(p) ? p({ rtl: ee, position: q, type: c, defaultClassName: W }) : Qe(W, p), f = !!U || !A, K = { closeToast: m, type: c, theme: w };
|
|
3972
3972
|
let G = null;
|
|
3973
|
-
return i === !1 || (G = Ze(i) ? i(K) : dt(i) ? En(i, K) : Uo(K)), ie.createElement(b, { isIn: re, done: ae, position:
|
|
3973
|
+
return i === !1 || (G = Ze(i) ? i(K) : dt(i) ? En(i, K) : Uo(K)), ie.createElement(b, { isIn: re, done: ae, position: q, preventExitTransition: n, nodeRef: r }, ie.createElement("div", { id: Q, onClick: d, className: Y, ...o, style: g, ref: r }, ie.createElement("div", { ...re && { role: C }, className: Ze(Z) ? Z({ type: c }) : Qe("Toastify__toast-body", Z), style: x }, ne != null && ie.createElement("div", { className: Qe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !te }) }, ne), ie.createElement("div", null, a)), G, ie.createElement(FA, { ...M && !f ? { key: `pb-${M}` } : {}, rtl: ee, theme: w, delay: A, isRunning: t, isIn: re, closeToast: m, hide: s, type: c, style: k, className: O, controlledProgress: f, progress: U || 0 })));
|
|
3974
3974
|
}, dn = function(e, t) {
|
|
3975
3975
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3976
3976
|
}, $A = cn(dn("bounce", !0));
|
|
@@ -3987,9 +3987,9 @@ const Gn = Li((e, t) => {
|
|
|
3987
3987
|
t && (t.current = r.current);
|
|
3988
3988
|
}, []), ie.createElement("div", { ref: r, className: "Toastify", id: d }, n((s, m) => {
|
|
3989
3989
|
const b = m.length ? { ...a } : { ...a, pointerEvents: "none" };
|
|
3990
|
-
return ie.createElement("div", { className: c(s), style: b, key: `container-${s}` }, m.map((
|
|
3991
|
-
let { content:
|
|
3992
|
-
return ie.createElement(_A, { ...Z, isIn: o(Z.toastId), style: { ...Z.style, "--nth": p + 1, "--len": m.length }, key: `toast-${Z.key}` },
|
|
3990
|
+
return ie.createElement("div", { className: c(s), style: b, key: `container-${s}` }, m.map((q, p) => {
|
|
3991
|
+
let { content: g, props: Z } = q;
|
|
3992
|
+
return ie.createElement(_A, { ...Z, isIn: o(Z.toastId), style: { ...Z.style, "--nth": p + 1, "--len": m.length }, key: `toast-${Z.key}` }, g);
|
|
3993
3993
|
}));
|
|
3994
3994
|
}));
|
|
3995
3995
|
});
|
|
@@ -4019,8 +4019,8 @@ ce.loading = (e, t) => It(e, Ut("default", { isLoading: !0, autoClose: !1, close
|
|
|
4019
4019
|
const A = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, d = (s, m, b) => {
|
|
4020
4020
|
if (m == null)
|
|
4021
4021
|
return void ce.dismiss(r);
|
|
4022
|
-
const
|
|
4023
|
-
return r ? ce.update(r, { ...
|
|
4022
|
+
const q = { type: s, ...A, ...n, data: b }, p = it(m) ? { render: m } : m;
|
|
4023
|
+
return r ? ce.update(r, { ...q, ...p }) : ce(p.render, { ...q, ...p }), b;
|
|
4024
4024
|
}, c = Ze(e) ? e() : e;
|
|
4025
4025
|
return c.then((s) => d("success", a, s)).catch((s) => d("error", i, s)), c;
|
|
4026
4026
|
}, ce.success = Dt("success"), ce.info = Dt("info"), ce.error = Dt("error"), ce.warning = Dt("warning"), ce.warn = ce.warning, ce.dark = (e, t) => It(e, Ut("default", { theme: "dark", ...t })), ce.dismiss = (e) => {
|
|
@@ -4070,7 +4070,7 @@ function Ot(e) {
|
|
|
4070
4070
|
});
|
|
4071
4071
|
}
|
|
4072
4072
|
let Ar = "", $e = "Playable", Ce = null, _o = null;
|
|
4073
|
-
const
|
|
4073
|
+
const Vt = async (e) => {
|
|
4074
4074
|
let t = Ar + "/" + e, n = e;
|
|
4075
4075
|
fetch(t).then((r) => r.blob()).then((r) => {
|
|
4076
4076
|
const o = window.URL.createObjectURL(r), i = document.createElement("a");
|
|
@@ -4085,7 +4085,7 @@ const Pt = async (e) => {
|
|
|
4085
4085
|
async function Ft(e, t, n, r = "download", o = !1, i = null) {
|
|
4086
4086
|
return new Promise(async (a, A) => {
|
|
4087
4087
|
let d = async (c) => {
|
|
4088
|
-
r === "download" ? await
|
|
4088
|
+
r === "download" ? await Vt(c) : r === "copy" && ns(c, _o);
|
|
4089
4089
|
};
|
|
4090
4090
|
$e === "Playable" ? (n && await Bt(
|
|
4091
4091
|
e,
|
|
@@ -4097,7 +4097,7 @@ async function Ft(e, t, n, r = "download", o = !1, i = null) {
|
|
|
4097
4097
|
}).catch((c) => {
|
|
4098
4098
|
let s = c.response.data.error.msg;
|
|
4099
4099
|
A({ message: s });
|
|
4100
|
-
})) : $e === "Flex" ? (n && await
|
|
4100
|
+
})) : $e === "Flex" ? (n && await Po(
|
|
4101
4101
|
{
|
|
4102
4102
|
_id: e,
|
|
4103
4103
|
iosLink: n == null ? void 0 : n.iosUrl,
|
|
@@ -4145,7 +4145,7 @@ async function Ft(e, t, n, r = "download", o = !1, i = null) {
|
|
|
4145
4145
|
}
|
|
4146
4146
|
async function rs(e, t, n) {
|
|
4147
4147
|
return new Promise(async (r, o) => {
|
|
4148
|
-
console.log("get multi download"), $e === "Flex" ? (await
|
|
4148
|
+
console.log("get multi download"), $e === "Flex" ? (await Po(
|
|
4149
4149
|
{
|
|
4150
4150
|
_id: e,
|
|
4151
4151
|
iosLink: t == null ? void 0 : t.iosUrl,
|
|
@@ -4157,7 +4157,7 @@ async function rs(e, t, n) {
|
|
|
4157
4157
|
o(i);
|
|
4158
4158
|
return;
|
|
4159
4159
|
}
|
|
4160
|
-
await
|
|
4160
|
+
await Vt(i.url), r(i.url);
|
|
4161
4161
|
}).catch((i) => {
|
|
4162
4162
|
let a = i.response.data.error.msg;
|
|
4163
4163
|
o({ message: a });
|
|
@@ -4165,12 +4165,12 @@ async function rs(e, t, n) {
|
|
|
4165
4165
|
e,
|
|
4166
4166
|
{ iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
|
|
4167
4167
|
Ce
|
|
4168
|
-
), console.log("ready link multi"),
|
|
4168
|
+
), console.log("ready link multi"), VA(e, n, Ce).then(async (i) => {
|
|
4169
4169
|
if (console.log("res", i), i.message) {
|
|
4170
4170
|
o(i);
|
|
4171
4171
|
return;
|
|
4172
4172
|
}
|
|
4173
|
-
await
|
|
4173
|
+
await Vt(i.url), r(i.url);
|
|
4174
4174
|
}).catch((i) => {
|
|
4175
4175
|
console.log("err", i);
|
|
4176
4176
|
let a = i.response.data.error.msg;
|
|
@@ -4180,7 +4180,7 @@ async function rs(e, t, n) {
|
|
|
4180
4180
|
{ iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
|
|
4181
4181
|
Ce
|
|
4182
4182
|
), XA(e, n, Ce).then(async (i) => {
|
|
4183
|
-
await
|
|
4183
|
+
await Vt(i.url), r(i.url);
|
|
4184
4184
|
}).catch((i) => {
|
|
4185
4185
|
let a = i.response.data.error.msg;
|
|
4186
4186
|
o({ message: a });
|
|
@@ -4378,7 +4378,7 @@ const is = ({
|
|
|
4378
4378
|
}
|
|
4379
4379
|
);
|
|
4380
4380
|
};
|
|
4381
|
-
var
|
|
4381
|
+
var de = /* @__PURE__ */ ((e) => (e.Flex = "#7101FF", e.Playable = "#F9830B", e.Import = "#00a3ff", e.Ready = "#0060A5", e))(de || {});
|
|
4382
4382
|
const As = ({ typeOfProduct: e }) => /* @__PURE__ */ l.jsxs(
|
|
4383
4383
|
"div",
|
|
4384
4384
|
{
|
|
@@ -4391,7 +4391,7 @@ const As = ({ typeOfProduct: e }) => /* @__PURE__ */ l.jsxs(
|
|
|
4391
4391
|
"span",
|
|
4392
4392
|
{
|
|
4393
4393
|
style: {
|
|
4394
|
-
color:
|
|
4394
|
+
color: de[e]
|
|
4395
4395
|
},
|
|
4396
4396
|
children: "Select a Network"
|
|
4397
4397
|
}
|
|
@@ -4446,11 +4446,11 @@ const ls = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
4446
4446
|
isTest: c,
|
|
4447
4447
|
setIsTest: s
|
|
4448
4448
|
}) => {
|
|
4449
|
-
const m = (
|
|
4450
|
-
r(
|
|
4451
|
-
}, b = (
|
|
4452
|
-
o(
|
|
4453
|
-
}, [
|
|
4449
|
+
const m = (k) => {
|
|
4450
|
+
r(k.target.value);
|
|
4451
|
+
}, b = (k) => {
|
|
4452
|
+
o(k.target.value);
|
|
4453
|
+
}, [q, p] = B("game"), g = () => /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
4454
4454
|
/* @__PURE__ */ l.jsxs(
|
|
4455
4455
|
"div",
|
|
4456
4456
|
{
|
|
@@ -4502,7 +4502,7 @@ const ls = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
4502
4502
|
// pl-2
|
|
4503
4503
|
color: "#000000",
|
|
4504
4504
|
// placeholder:text-black
|
|
4505
|
-
borderColor:
|
|
4505
|
+
borderColor: de[e]
|
|
4506
4506
|
},
|
|
4507
4507
|
type: "text",
|
|
4508
4508
|
value: n.iosUrl,
|
|
@@ -4571,7 +4571,7 @@ const ls = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
4571
4571
|
// pl-2
|
|
4572
4572
|
color: "#000000",
|
|
4573
4573
|
// placeholder:text-black
|
|
4574
|
-
borderColor:
|
|
4574
|
+
borderColor: de[e]
|
|
4575
4575
|
//typeOfProduct === "Flex" ? ColorStyle.Flex : ColorStyle.Playable,
|
|
4576
4576
|
},
|
|
4577
4577
|
type: "text",
|
|
@@ -4610,7 +4610,7 @@ const ls = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
4610
4610
|
fontWeight: "bold"
|
|
4611
4611
|
// font-bold
|
|
4612
4612
|
},
|
|
4613
|
-
children: "Url:"
|
|
4613
|
+
children: "Redirection Url:"
|
|
4614
4614
|
}
|
|
4615
4615
|
),
|
|
4616
4616
|
/* @__PURE__ */ l.jsx(
|
|
@@ -4635,7 +4635,7 @@ const ls = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
4635
4635
|
// pl-2
|
|
4636
4636
|
color: "#000000",
|
|
4637
4637
|
// placeholder:text-black
|
|
4638
|
-
borderColor:
|
|
4638
|
+
borderColor: de[e]
|
|
4639
4639
|
},
|
|
4640
4640
|
type: "text",
|
|
4641
4641
|
value: n.iosUrl,
|
|
@@ -4646,7 +4646,7 @@ const ls = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
4646
4646
|
)
|
|
4647
4647
|
]
|
|
4648
4648
|
}
|
|
4649
|
-
) }),
|
|
4649
|
+
) }), x = () => /* @__PURE__ */ l.jsxs(
|
|
4650
4650
|
"div",
|
|
4651
4651
|
{
|
|
4652
4652
|
style: {
|
|
@@ -4702,7 +4702,7 @@ const ls = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
4702
4702
|
// pl-2
|
|
4703
4703
|
color: "#000000",
|
|
4704
4704
|
// placeholder:text-black
|
|
4705
|
-
borderColor:
|
|
4705
|
+
borderColor: de[e]
|
|
4706
4706
|
//typeOfProduct === "Flex" ? ColorStyle.Flex : ColorStyle.Playable,
|
|
4707
4707
|
},
|
|
4708
4708
|
type: "checkbox",
|
|
@@ -4716,7 +4716,111 @@ const ls = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
4716
4716
|
)
|
|
4717
4717
|
]
|
|
4718
4718
|
}
|
|
4719
|
-
)
|
|
4719
|
+
), O = () => /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsxs(
|
|
4720
|
+
"div",
|
|
4721
|
+
{
|
|
4722
|
+
style: {
|
|
4723
|
+
display: "flex",
|
|
4724
|
+
width: "210px",
|
|
4725
|
+
height: "40px",
|
|
4726
|
+
flexDirection: "row",
|
|
4727
|
+
justifyContent: "space-between",
|
|
4728
|
+
alignItems: "center",
|
|
4729
|
+
backgroundColor: "rgba(209, 213, 219, 0.5)",
|
|
4730
|
+
borderRadius: "25px",
|
|
4731
|
+
border: "2px solid rgba(209, 213, 219, 1)",
|
|
4732
|
+
marginBottom: "10px",
|
|
4733
|
+
position: "relative",
|
|
4734
|
+
overflow: "hidden"
|
|
4735
|
+
},
|
|
4736
|
+
className: "tab-switch",
|
|
4737
|
+
children: [
|
|
4738
|
+
/* @__PURE__ */ l.jsx(
|
|
4739
|
+
"div",
|
|
4740
|
+
{
|
|
4741
|
+
style: {
|
|
4742
|
+
position: "absolute",
|
|
4743
|
+
top: "0",
|
|
4744
|
+
left: q === "single" ? "0" : "105px",
|
|
4745
|
+
width: "105px",
|
|
4746
|
+
height: "100%",
|
|
4747
|
+
backgroundColor: de[e],
|
|
4748
|
+
transition: "all 0.3s ease-in-out"
|
|
4749
|
+
},
|
|
4750
|
+
id: "tab-switch-background"
|
|
4751
|
+
}
|
|
4752
|
+
),
|
|
4753
|
+
/* @__PURE__ */ l.jsx(
|
|
4754
|
+
"div",
|
|
4755
|
+
{
|
|
4756
|
+
style: {
|
|
4757
|
+
width: "105px",
|
|
4758
|
+
height: "100%",
|
|
4759
|
+
display: "flex",
|
|
4760
|
+
justifyContent: "center",
|
|
4761
|
+
alignItems: "center",
|
|
4762
|
+
borderTopLeftRadius: "25px",
|
|
4763
|
+
borderBottomLeftRadius: "25px",
|
|
4764
|
+
cursor: "pointer",
|
|
4765
|
+
position: "relative"
|
|
4766
|
+
},
|
|
4767
|
+
onClick: () => {
|
|
4768
|
+
document.getElementById("tab-switch-background").style.left = "0", document.getElementById("single-tab").style.color = "#fff", document.getElementById("game-tab").style.color = "#000", setTimeout(() => {
|
|
4769
|
+
p("single");
|
|
4770
|
+
}, 500);
|
|
4771
|
+
},
|
|
4772
|
+
children: /* @__PURE__ */ l.jsx(
|
|
4773
|
+
"span",
|
|
4774
|
+
{
|
|
4775
|
+
style: {
|
|
4776
|
+
position: "relative",
|
|
4777
|
+
color: q === "single" ? "#fff" : "#000",
|
|
4778
|
+
transition: "all 0.3s ease-in-out"
|
|
4779
|
+
},
|
|
4780
|
+
id: "single-tab",
|
|
4781
|
+
children: "Single URL"
|
|
4782
|
+
}
|
|
4783
|
+
)
|
|
4784
|
+
},
|
|
4785
|
+
"singleTab"
|
|
4786
|
+
),
|
|
4787
|
+
/* @__PURE__ */ l.jsx(
|
|
4788
|
+
"div",
|
|
4789
|
+
{
|
|
4790
|
+
style: {
|
|
4791
|
+
width: "105px",
|
|
4792
|
+
height: "100%",
|
|
4793
|
+
display: "flex",
|
|
4794
|
+
justifyContent: "center",
|
|
4795
|
+
alignItems: "center",
|
|
4796
|
+
borderTopRightRadius: "25px",
|
|
4797
|
+
borderBottomRightRadius: "25px",
|
|
4798
|
+
cursor: "pointer",
|
|
4799
|
+
position: "relative"
|
|
4800
|
+
},
|
|
4801
|
+
onClick: () => {
|
|
4802
|
+
document.getElementById("tab-switch-background").style.left = "105px", document.getElementById("single-tab").style.color = "#000", document.getElementById("game-tab").style.color = "#fff", setTimeout(() => {
|
|
4803
|
+
p("game");
|
|
4804
|
+
}, 350);
|
|
4805
|
+
},
|
|
4806
|
+
children: /* @__PURE__ */ l.jsx(
|
|
4807
|
+
"span",
|
|
4808
|
+
{
|
|
4809
|
+
style: {
|
|
4810
|
+
position: "relative",
|
|
4811
|
+
color: q === "game" ? "#fff" : "#000",
|
|
4812
|
+
transition: "all 0.3s ease-in-out"
|
|
4813
|
+
},
|
|
4814
|
+
id: "game-tab",
|
|
4815
|
+
children: "Multi URL"
|
|
4816
|
+
}
|
|
4817
|
+
)
|
|
4818
|
+
},
|
|
4819
|
+
"gameTab"
|
|
4820
|
+
)
|
|
4821
|
+
]
|
|
4822
|
+
}
|
|
4823
|
+
) });
|
|
4720
4824
|
return /* @__PURE__ */ l.jsx(l.Fragment, { children: e !== "Import" && /* @__PURE__ */ l.jsxs(
|
|
4721
4825
|
"div",
|
|
4722
4826
|
{
|
|
@@ -4726,9 +4830,10 @@ const ls = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
4726
4830
|
flexDirection: "column"
|
|
4727
4831
|
},
|
|
4728
4832
|
children: [
|
|
4729
|
-
d.customer == "playableFactoryInternal" && e === "Playable" && /* @__PURE__ */ l.jsx(
|
|
4730
|
-
|
|
4731
|
-
|
|
4833
|
+
d.customer == "playableFactoryInternal" && e === "Playable" && /* @__PURE__ */ l.jsx(x, {}),
|
|
4834
|
+
e === "Ready" && /* @__PURE__ */ l.jsx(O, {}),
|
|
4835
|
+
q === "game" && /* @__PURE__ */ l.jsx(g, {}),
|
|
4836
|
+
q === "single" && /* @__PURE__ */ l.jsx(Z, {}),
|
|
4732
4837
|
(A == null ? void 0 : A.willSpendCredit) && /* @__PURE__ */ l.jsx(us, { creditDownload: A, api: a })
|
|
4733
4838
|
]
|
|
4734
4839
|
}
|
|
@@ -4738,7 +4843,7 @@ const ls = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
4738
4843
|
"span",
|
|
4739
4844
|
{
|
|
4740
4845
|
style: {
|
|
4741
|
-
color:
|
|
4846
|
+
color: de[e]
|
|
4742
4847
|
},
|
|
4743
4848
|
children: t
|
|
4744
4849
|
}
|
|
@@ -4813,25 +4918,6 @@ const ls = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
4813
4918
|
/* @__PURE__ */ l.jsx(As, { typeOfProduct: e })
|
|
4814
4919
|
]
|
|
4815
4920
|
}
|
|
4816
|
-
), $o = ({ fill: e, stroke: t, className: n, style: r }) => /* @__PURE__ */ l.jsx(
|
|
4817
|
-
"svg",
|
|
4818
|
-
{
|
|
4819
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
4820
|
-
fill: e,
|
|
4821
|
-
stroke: t,
|
|
4822
|
-
strokeWidth: n,
|
|
4823
|
-
style: r,
|
|
4824
|
-
className: "w-6 h-6",
|
|
4825
|
-
viewBox: "0 0 24 24",
|
|
4826
|
-
children: /* @__PURE__ */ l.jsx(
|
|
4827
|
-
"path",
|
|
4828
|
-
{
|
|
4829
|
-
strokeLinecap: "round",
|
|
4830
|
-
strokeLinejoin: "round",
|
|
4831
|
-
d: "M11.48 3.499a.562.562 0 0 1 1.04 0l2.125 5.111a.563.563 0 0 0 .475.345l5.518.442c.499.04.701.663.321.988l-4.204 3.602a.563.563 0 0 0-.182.557l1.285 5.385a.562.562 0 0 1-.84.61l-4.725-2.885a.563.563 0 0 0-.586 0L6.982 20.54a.562.562 0 0 1-.84-.61l1.285-5.386a.562.562 0 0 0-.182-.557l-4.204-3.602a.563.563 0 0 1 .321-.988l5.518-.442a.563.563 0 0 0 .475-.345L11.48 3.5z"
|
|
4832
|
-
}
|
|
4833
|
-
)
|
|
4834
|
-
}
|
|
4835
4921
|
), Fr = ({
|
|
4836
4922
|
children: e,
|
|
4837
4923
|
className: t,
|
|
@@ -4934,8 +5020,8 @@ const ls = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
|
|
|
4934
5020
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4935
5021
|
style: { height: "14px", width: "14px" },
|
|
4936
5022
|
viewBox: "0 0 20 20",
|
|
4937
|
-
fill:
|
|
4938
|
-
stroke:
|
|
5023
|
+
fill: de[t],
|
|
5024
|
+
stroke: de[t],
|
|
4939
5025
|
strokeWidth: "1",
|
|
4940
5026
|
children: /* @__PURE__ */ l.jsx(
|
|
4941
5027
|
"path",
|
|
@@ -4985,7 +5071,7 @@ const fs = ({ typeOfProduct: e }) => /* @__PURE__ */ l.jsx(
|
|
|
4985
5071
|
width: "8px",
|
|
4986
5072
|
height: "8px",
|
|
4987
5073
|
borderRadius: "50%",
|
|
4988
|
-
backgroundColor:
|
|
5074
|
+
backgroundColor: de[e]
|
|
4989
5075
|
}
|
|
4990
5076
|
}
|
|
4991
5077
|
),
|
|
@@ -4998,7 +5084,7 @@ const fs = ({ typeOfProduct: e }) => /* @__PURE__ */ l.jsx(
|
|
|
4998
5084
|
width: "8px",
|
|
4999
5085
|
height: "8px",
|
|
5000
5086
|
borderRadius: "50%",
|
|
5001
|
-
backgroundColor:
|
|
5087
|
+
backgroundColor: de[e]
|
|
5002
5088
|
}
|
|
5003
5089
|
}
|
|
5004
5090
|
),
|
|
@@ -5011,7 +5097,7 @@ const fs = ({ typeOfProduct: e }) => /* @__PURE__ */ l.jsx(
|
|
|
5011
5097
|
width: "8px",
|
|
5012
5098
|
height: "8px",
|
|
5013
5099
|
borderRadius: "50%",
|
|
5014
|
-
backgroundColor:
|
|
5100
|
+
backgroundColor: de[e]
|
|
5015
5101
|
}
|
|
5016
5102
|
}
|
|
5017
5103
|
),
|
|
@@ -5024,7 +5110,7 @@ const fs = ({ typeOfProduct: e }) => /* @__PURE__ */ l.jsx(
|
|
|
5024
5110
|
width: "8px",
|
|
5025
5111
|
height: "8px",
|
|
5026
5112
|
borderRadius: "50%",
|
|
5027
|
-
backgroundColor:
|
|
5113
|
+
backgroundColor: de[e]
|
|
5028
5114
|
}
|
|
5029
5115
|
}
|
|
5030
5116
|
)
|
|
@@ -5204,7 +5290,7 @@ const fs = ({ typeOfProduct: e }) => /* @__PURE__ */ l.jsx(
|
|
|
5204
5290
|
]
|
|
5205
5291
|
}
|
|
5206
5292
|
);
|
|
5207
|
-
},
|
|
5293
|
+
}, $o = ({
|
|
5208
5294
|
onClose: e,
|
|
5209
5295
|
handleCopyLink: t,
|
|
5210
5296
|
download: n,
|
|
@@ -5537,7 +5623,48 @@ async function ys(e, t, n, r) {
|
|
|
5537
5623
|
typeOfProduct: r
|
|
5538
5624
|
})).data;
|
|
5539
5625
|
}
|
|
5540
|
-
const
|
|
5626
|
+
const ei = ({ fill: e, stroke: t, className: n, style: r }) => /* @__PURE__ */ l.jsxs(
|
|
5627
|
+
"svg",
|
|
5628
|
+
{
|
|
5629
|
+
width: "115",
|
|
5630
|
+
height: "114",
|
|
5631
|
+
viewBox: "0 0 115 114",
|
|
5632
|
+
fill: "none",
|
|
5633
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5634
|
+
style: r,
|
|
5635
|
+
children: [
|
|
5636
|
+
/* @__PURE__ */ l.jsx("ellipse", { cx: "57.5623", cy: "56.7577", rx: "56.6053", ry: "56.4569", fill: "white" }),
|
|
5637
|
+
/* @__PURE__ */ l.jsx(
|
|
5638
|
+
"path",
|
|
5639
|
+
{
|
|
5640
|
+
d: "M24.7305 79.2015C24.7305 82.0917 24.8379 84.0921 24.9789 85.4794C25.2764 88.4065 27.6305 90.083 30.2086 90.1693C31.2215 90.2031 32.5619 90.2283 34.3121 90.2283C36.0623 90.2283 37.4027 90.2031 38.4155 90.1693C40.9937 90.083 43.3477 88.4065 43.6453 85.4794C43.7863 84.0921 43.8937 82.0917 43.8937 79.2015C43.8937 76.3114 43.7863 74.311 43.6453 72.9237C43.3477 69.9966 40.9937 68.3201 38.4155 68.2338C37.4027 68.1999 36.0623 68.1748 34.3121 68.1748C32.5619 68.1748 31.2215 68.1999 30.2086 68.2338C27.6305 68.3201 25.2764 69.9966 24.9789 72.9237C24.8379 74.311 24.7305 76.3114 24.7305 79.2015Z",
|
|
5641
|
+
fill: "#8BCF40"
|
|
5642
|
+
}
|
|
5643
|
+
),
|
|
5644
|
+
/* @__PURE__ */ l.jsx(
|
|
5645
|
+
"path",
|
|
5646
|
+
{
|
|
5647
|
+
d: "M71.9004 68.9101C71.9004 77.2702 72.0947 82.0161 72.289 84.6796C72.5046 87.6344 74.669 89.94 77.7461 90.1279C78.7253 90.1876 79.9532 90.2285 81.482 90.2285C83.0108 90.2285 84.2387 90.1876 85.218 90.1279C88.295 89.94 90.4594 87.6344 90.6751 84.6796C90.8694 82.0161 91.0636 77.2702 91.0636 68.9101C91.0636 60.5501 90.8694 55.8042 90.6751 53.1407C90.4594 50.1859 88.295 47.8803 85.218 47.6924C84.2387 47.6327 83.0108 47.5918 81.482 47.5918C79.9532 47.5918 78.7253 47.6327 77.7461 47.6924C74.669 47.8803 72.5046 50.1859 72.289 53.1407C72.0947 55.8042 71.9004 60.5501 71.9004 68.9101Z",
|
|
5648
|
+
fill: "#8BCF40"
|
|
5649
|
+
}
|
|
5650
|
+
),
|
|
5651
|
+
/* @__PURE__ */ l.jsx(
|
|
5652
|
+
"path",
|
|
5653
|
+
{
|
|
5654
|
+
d: "M48.3164 74.7919C48.3164 79.8075 48.4618 82.9723 48.6297 84.9622C48.8836 87.973 51.195 90.029 54.1148 90.1567C55.0924 90.1995 56.3343 90.2293 57.898 90.2293C59.4618 90.2293 60.7037 90.1995 61.6813 90.1567C64.601 90.029 66.9124 87.973 67.1664 84.9621C67.3343 82.9723 67.4797 79.8075 67.4797 74.7919C67.4797 69.7764 67.3343 66.6116 67.1664 64.6217C66.9124 61.6109 64.601 59.5549 61.6813 59.4271C60.7037 59.3843 59.4618 59.3545 57.898 59.3545C56.3343 59.3545 55.0924 59.3843 54.1148 59.4271C51.195 59.5549 48.8836 61.6109 48.6297 64.6217C48.4618 66.6116 48.3164 69.7764 48.3164 74.7919Z",
|
|
5655
|
+
fill: "#8BCF40"
|
|
5656
|
+
}
|
|
5657
|
+
),
|
|
5658
|
+
/* @__PURE__ */ l.jsx(
|
|
5659
|
+
"path",
|
|
5660
|
+
{
|
|
5661
|
+
d: "M84.6819 24.1036C82.5944 24.0168 78.1969 24.0056 73.191 25.0298C70.2379 25.634 69.4377 29.1745 71.3961 31.1279L74.0374 33.7623C73.1954 34.5241 72.1093 35.5228 70.8815 36.6895C68.0243 39.4044 64.3529 43.0729 61.2048 46.803C61.1649 46.8502 61.0921 46.8943 60.9809 46.8912C60.9293 46.8898 60.8925 46.8774 60.8726 46.8674C60.8577 46.8598 60.8477 46.852 60.835 46.8345C59.4972 44.9673 57.726 42.5735 55.8505 40.2596C54.0307 38.0144 50.776 37.4362 48.2948 39.1139C44.7474 41.5126 37.3817 47.0411 29.1424 56.4388C28.6422 57.0094 28.1388 57.5941 27.6327 58.1935C26.5838 59.4356 26.7432 61.2905 27.9886 62.3368C29.234 63.3828 31.0938 63.2239 32.1427 61.9818C32.625 61.4107 33.1047 60.8534 33.5812 60.3099C41.2675 51.5431 48.105 46.3693 51.3981 44.1213C53.1257 46.2623 54.771 48.4857 56.0375 50.2535C58.3937 53.5424 63.2069 53.563 65.7159 50.5902C68.6648 47.0959 72.1618 43.5954 74.9487 40.9474C76.2434 39.7171 77.3748 38.6804 78.2119 37.9258L81.0367 40.7433C82.9954 42.6967 86.5451 41.8985 87.151 38.9532C88.1778 33.9604 88.1666 29.5744 88.0795 27.4924C88.0024 25.6466 86.5326 24.1806 84.6819 24.1036Z",
|
|
5662
|
+
fill: "#8BCF40"
|
|
5663
|
+
}
|
|
5664
|
+
)
|
|
5665
|
+
]
|
|
5666
|
+
}
|
|
5667
|
+
), vs = [
|
|
5541
5668
|
"adcolony",
|
|
5542
5669
|
"ironsource",
|
|
5543
5670
|
"applovin",
|
|
@@ -5562,17 +5689,17 @@ const vs = [
|
|
|
5562
5689
|
api: s,
|
|
5563
5690
|
handleDownloadError: m,
|
|
5564
5691
|
fetchFileUrl: b,
|
|
5565
|
-
urls:
|
|
5692
|
+
urls: q,
|
|
5566
5693
|
game: p,
|
|
5567
|
-
setIsConfirmActive:
|
|
5694
|
+
setIsConfirmActive: g,
|
|
5568
5695
|
creditDownload: Z,
|
|
5569
|
-
getDownloadCount:
|
|
5696
|
+
getDownloadCount: x,
|
|
5570
5697
|
disabled: O,
|
|
5571
|
-
user:
|
|
5698
|
+
user: k,
|
|
5572
5699
|
setSafariCopyLink: M,
|
|
5573
5700
|
isTest: C
|
|
5574
5701
|
}) => {
|
|
5575
|
-
const [U, ee] = B(!1), [Q, ae] = B(""), [re, te] = B(!1), [ne, H] = B(!1), [
|
|
5702
|
+
const [U, ee] = B(!1), [Q, ae] = B(""), [re, te] = B(!1), [ne, H] = B(!1), [w, W] = B(!1), [Y, f] = B("download"), [K, G] = B(!1), [y, h] = B(!1), [z, J] = B(!1);
|
|
5576
5703
|
let N = {
|
|
5577
5704
|
aarki: "html,copy",
|
|
5578
5705
|
adcolony: "copy,html",
|
|
@@ -5616,26 +5743,26 @@ const vs = [
|
|
|
5616
5743
|
adikteev: "html",
|
|
5617
5744
|
jammp: "copy,html"
|
|
5618
5745
|
};
|
|
5619
|
-
const
|
|
5746
|
+
const V = () => {
|
|
5620
5747
|
n(e);
|
|
5621
|
-
}, E = async (
|
|
5622
|
-
Ft(c,
|
|
5748
|
+
}, E = async (j, D) => (ee(!0), new Promise((le, L) => {
|
|
5749
|
+
Ft(c, j, q, D, C).then((qe) => {
|
|
5623
5750
|
ee(!1), le(qe);
|
|
5624
5751
|
}).catch((qe) => {
|
|
5625
5752
|
ee(!1), m(qe.message, qe), L(qe);
|
|
5626
5753
|
});
|
|
5627
|
-
})), R = async (
|
|
5628
|
-
|
|
5754
|
+
})), R = async (j = !1) => {
|
|
5755
|
+
j ? h(!0) : G(!0);
|
|
5629
5756
|
const D = {};
|
|
5630
|
-
|
|
5631
|
-
|
|
5757
|
+
j && (D.molocoGenerateHtml = !0), Ft(c, o, q, "download", C, D).then((le) => {
|
|
5758
|
+
j ? h(!1) : G(!1), W(!1);
|
|
5632
5759
|
}).catch((le) => {
|
|
5633
5760
|
m(le.message, le);
|
|
5634
5761
|
});
|
|
5635
|
-
},
|
|
5762
|
+
}, P = async () => {
|
|
5636
5763
|
J(!0);
|
|
5637
|
-
const
|
|
5638
|
-
let D = `${b}/${
|
|
5764
|
+
const j = await ys(s, c, o, d);
|
|
5765
|
+
let D = `${b}/${j == null ? void 0 : j.url}`;
|
|
5639
5766
|
un(D) ? (Ot("Link Copied"), J(!1)) : M(D);
|
|
5640
5767
|
};
|
|
5641
5768
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
@@ -5648,7 +5775,7 @@ const vs = [
|
|
|
5648
5775
|
flexDirection: "column",
|
|
5649
5776
|
gap: "20px",
|
|
5650
5777
|
padding: "16px",
|
|
5651
|
-
borderColor: r ?
|
|
5778
|
+
borderColor: r ? de[d] : "lightgray",
|
|
5652
5779
|
borderWidth: "1px",
|
|
5653
5780
|
borderStyle: "solid",
|
|
5654
5781
|
backgroundColor: "white",
|
|
@@ -5658,7 +5785,7 @@ const vs = [
|
|
|
5658
5785
|
cursor: "pointer"
|
|
5659
5786
|
},
|
|
5660
5787
|
className: "border-hover-" + d,
|
|
5661
|
-
onClick:
|
|
5788
|
+
onClick: V,
|
|
5662
5789
|
children: [
|
|
5663
5790
|
/* @__PURE__ */ l.jsxs(
|
|
5664
5791
|
"div",
|
|
@@ -5679,20 +5806,31 @@ const vs = [
|
|
|
5679
5806
|
padding: "8px"
|
|
5680
5807
|
},
|
|
5681
5808
|
children: [
|
|
5682
|
-
vs.includes(o) && d !== "Import" &&
|
|
5683
|
-
|
|
5809
|
+
vs.includes(o) && d !== "Import" && // <StarIcon
|
|
5810
|
+
// fill={ColorStyle[typeOfProduct as keyof typeof ColorStyle]}
|
|
5811
|
+
// stroke={ColorStyle[typeOfProduct as keyof typeof ColorStyle]}
|
|
5812
|
+
// className="mb-1 inline-block w-6"
|
|
5813
|
+
// style={{
|
|
5814
|
+
// marginBottom: "0.25rem",
|
|
5815
|
+
// display: "inline-block",
|
|
5816
|
+
// width: "1.5rem",
|
|
5817
|
+
// }}
|
|
5818
|
+
// />
|
|
5819
|
+
/* @__PURE__ */ l.jsx(
|
|
5820
|
+
ei,
|
|
5684
5821
|
{
|
|
5685
|
-
fill:
|
|
5686
|
-
stroke:
|
|
5822
|
+
fill: de[d],
|
|
5823
|
+
stroke: de[d],
|
|
5687
5824
|
className: "mb-1 inline-block w-6",
|
|
5688
5825
|
style: {
|
|
5689
5826
|
marginBottom: "0.25rem",
|
|
5690
5827
|
display: "inline-block",
|
|
5691
|
-
width: "1.5rem"
|
|
5828
|
+
width: "1.5rem",
|
|
5829
|
+
height: "auto"
|
|
5692
5830
|
}
|
|
5693
5831
|
}
|
|
5694
5832
|
),
|
|
5695
|
-
/* @__PURE__ */ l.jsx("div", { children: i && i.map((
|
|
5833
|
+
/* @__PURE__ */ l.jsx("div", { children: i && i.map((j) => j.network).includes(o) ? a ? /* @__PURE__ */ l.jsx(
|
|
5696
5834
|
"div",
|
|
5697
5835
|
{
|
|
5698
5836
|
style: {
|
|
@@ -5708,7 +5846,7 @@ const vs = [
|
|
|
5708
5846
|
},
|
|
5709
5847
|
children: /* @__PURE__ */ l.jsx(fs, { typeOfProduct: d })
|
|
5710
5848
|
}
|
|
5711
|
-
) : i.map((
|
|
5849
|
+
) : i.map((j) => /* @__PURE__ */ l.jsx(
|
|
5712
5850
|
"div",
|
|
5713
5851
|
{
|
|
5714
5852
|
style: {
|
|
@@ -5723,9 +5861,9 @@ const vs = [
|
|
|
5723
5861
|
justifyContent: "center",
|
|
5724
5862
|
alignItems: "center"
|
|
5725
5863
|
},
|
|
5726
|
-
children:
|
|
5864
|
+
children: j.network === o ? j.size.toString().slice(0, 5) + "Mb" : ""
|
|
5727
5865
|
},
|
|
5728
|
-
|
|
5866
|
+
j.network
|
|
5729
5867
|
)) : null })
|
|
5730
5868
|
]
|
|
5731
5869
|
}
|
|
@@ -5752,7 +5890,7 @@ const vs = [
|
|
|
5752
5890
|
/* @__PURE__ */ l.jsx(
|
|
5753
5891
|
"img",
|
|
5754
5892
|
{
|
|
5755
|
-
onClick:
|
|
5893
|
+
onClick: V,
|
|
5756
5894
|
style: {
|
|
5757
5895
|
width: "30rem",
|
|
5758
5896
|
// Equivalent to 120/4 = 30rem
|
|
@@ -5780,14 +5918,14 @@ const vs = [
|
|
|
5780
5918
|
{
|
|
5781
5919
|
className: "w-2/3 border-hover-" + d,
|
|
5782
5920
|
downloading: U,
|
|
5783
|
-
onClickDonwload: async (
|
|
5784
|
-
if (
|
|
5921
|
+
onClickDonwload: async (j) => {
|
|
5922
|
+
if (j.stopPropagation(), (o === "moloco" || o === "molocoV2") && k.customer === "playableFactoryInternal") {
|
|
5785
5923
|
W(!0);
|
|
5786
5924
|
return;
|
|
5787
5925
|
} else {
|
|
5788
5926
|
ae("download");
|
|
5789
|
-
const D =
|
|
5790
|
-
Z && Z.willSpendCredit ? (
|
|
5927
|
+
const D = q.iosUrl, le = q.googleUrl;
|
|
5928
|
+
Z && Z.willSpendCredit ? (g(!0), f("download"), te(!0)) : d !== "Import" && (!D || !le) ? (g(!0), H(!0)) : (H(!1), te(!1), await E(o, "download"));
|
|
5791
5929
|
}
|
|
5792
5930
|
},
|
|
5793
5931
|
children: [
|
|
@@ -5817,10 +5955,10 @@ const vs = [
|
|
|
5817
5955
|
Fr,
|
|
5818
5956
|
{
|
|
5819
5957
|
className: "w-1/3 border-hover-" + d,
|
|
5820
|
-
onClickDonwload: async (
|
|
5821
|
-
|
|
5822
|
-
const D =
|
|
5823
|
-
Z && (Z != null && Z.willSpendCredit) ? (f("copy"),
|
|
5958
|
+
onClickDonwload: async (j) => {
|
|
5959
|
+
j.stopPropagation(), ae("copyLink");
|
|
5960
|
+
const D = q.iosUrl, le = q.googleUrl;
|
|
5961
|
+
Z && (Z != null && Z.willSpendCredit) ? (f("copy"), g(!0), te(!0)) : d !== "Import" && (!D || !le) ? (g(!0), H(!0)) : (te(!1), H(!1), await E(o, "copy"));
|
|
5824
5962
|
},
|
|
5825
5963
|
disabled: O,
|
|
5826
5964
|
children: /* @__PURE__ */ l.jsx(bo, { className: "h-6 w-6 stroke-dark-full" })
|
|
@@ -5833,48 +5971,48 @@ const vs = [
|
|
|
5833
5971
|
}
|
|
5834
5972
|
),
|
|
5835
5973
|
re && /* @__PURE__ */ l.jsx(
|
|
5836
|
-
|
|
5974
|
+
$o,
|
|
5837
5975
|
{
|
|
5838
|
-
creditConfirmType:
|
|
5976
|
+
creditConfirmType: Y,
|
|
5839
5977
|
handleCopyLink: async () => {
|
|
5840
|
-
H(!1),
|
|
5978
|
+
H(!1), g(!1), await E(o, "copy");
|
|
5841
5979
|
},
|
|
5842
5980
|
download: async () => {
|
|
5843
|
-
H(!1),
|
|
5981
|
+
H(!1), g(!1), await E(o, "download");
|
|
5844
5982
|
},
|
|
5845
5983
|
onClose: () => {
|
|
5846
|
-
te(!1),
|
|
5984
|
+
te(!1), g(!1);
|
|
5847
5985
|
},
|
|
5848
|
-
getDownloadCount:
|
|
5986
|
+
getDownloadCount: x
|
|
5849
5987
|
}
|
|
5850
5988
|
),
|
|
5851
5989
|
ne && /* @__PURE__ */ l.jsx(
|
|
5852
5990
|
qs,
|
|
5853
5991
|
{
|
|
5854
5992
|
onClose: () => {
|
|
5855
|
-
H(!1),
|
|
5993
|
+
H(!1), g(!1);
|
|
5856
5994
|
},
|
|
5857
|
-
iosLink:
|
|
5858
|
-
googleLink:
|
|
5995
|
+
iosLink: q.iosUrl,
|
|
5996
|
+
googleLink: q.googleUrl,
|
|
5859
5997
|
buttonType: Q,
|
|
5860
5998
|
handleCopyLink: async () => {
|
|
5861
|
-
H(!1),
|
|
5999
|
+
H(!1), g(!1), await E(o, "copy");
|
|
5862
6000
|
},
|
|
5863
6001
|
download: async () => {
|
|
5864
|
-
H(!1),
|
|
6002
|
+
H(!1), g(!1), await E(o, "download");
|
|
5865
6003
|
}
|
|
5866
6004
|
}
|
|
5867
6005
|
),
|
|
5868
|
-
|
|
6006
|
+
w && k.customer === "playableFactoryInternal" && /* @__PURE__ */ l.jsx(
|
|
5869
6007
|
gs,
|
|
5870
6008
|
{
|
|
5871
6009
|
onClose: () => {
|
|
5872
6010
|
W(!1);
|
|
5873
6011
|
},
|
|
5874
6012
|
handleDownload: R,
|
|
5875
|
-
handleDownloadMolocoTest:
|
|
6013
|
+
handleDownloadMolocoTest: P,
|
|
5876
6014
|
downloadingMoloco: K,
|
|
5877
|
-
donwloadintMolocoTest:
|
|
6015
|
+
donwloadintMolocoTest: z,
|
|
5878
6016
|
downloadingMolocoHtml: y
|
|
5879
6017
|
}
|
|
5880
6018
|
)
|
|
@@ -6126,11 +6264,11 @@ const vs = [
|
|
|
6126
6264
|
},
|
|
6127
6265
|
children: e !== "Import" && /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
6128
6266
|
/* @__PURE__ */ l.jsx(
|
|
6129
|
-
|
|
6267
|
+
ei,
|
|
6130
6268
|
{
|
|
6131
|
-
fill:
|
|
6132
|
-
stroke:
|
|
6133
|
-
style: { display: "inline-block", width: "1.5rem" },
|
|
6269
|
+
fill: de[e],
|
|
6270
|
+
stroke: de[e],
|
|
6271
|
+
style: { display: "inline-block", width: "1.5rem", height: "auto" },
|
|
6134
6272
|
className: ""
|
|
6135
6273
|
}
|
|
6136
6274
|
),
|
|
@@ -6139,7 +6277,9 @@ const vs = [
|
|
|
6139
6277
|
{
|
|
6140
6278
|
style: {
|
|
6141
6279
|
display: "flex",
|
|
6142
|
-
alignItems: "center"
|
|
6280
|
+
alignItems: "center",
|
|
6281
|
+
marginTop: "0.25rem",
|
|
6282
|
+
marginLeft: "0.25rem"
|
|
6143
6283
|
},
|
|
6144
6284
|
children: "Data tracking functionality is turned on by default for marked network downloads"
|
|
6145
6285
|
}
|
|
@@ -6157,7 +6297,7 @@ const vs = [
|
|
|
6157
6297
|
padding: "0.5rem",
|
|
6158
6298
|
width: "12rem",
|
|
6159
6299
|
height: "2.5rem",
|
|
6160
|
-
backgroundColor:
|
|
6300
|
+
backgroundColor: de[t],
|
|
6161
6301
|
color: "white",
|
|
6162
6302
|
fontSize: "0.875rem",
|
|
6163
6303
|
borderRadius: "0.875rem"
|
|
@@ -6188,7 +6328,7 @@ const vs = [
|
|
|
6188
6328
|
borderRadius: "0.875rem",
|
|
6189
6329
|
alignItems: "center",
|
|
6190
6330
|
justifyContent: "center",
|
|
6191
|
-
backgroundColor:
|
|
6331
|
+
backgroundColor: de[t]
|
|
6192
6332
|
},
|
|
6193
6333
|
children: /* @__PURE__ */ l.jsx(sr, {})
|
|
6194
6334
|
}
|
|
@@ -6204,7 +6344,7 @@ const vs = [
|
|
|
6204
6344
|
}
|
|
6205
6345
|
) })
|
|
6206
6346
|
}
|
|
6207
|
-
),
|
|
6347
|
+
), xs = ({
|
|
6208
6348
|
playable: e,
|
|
6209
6349
|
creditDownload: t,
|
|
6210
6350
|
visible: n,
|
|
@@ -6218,26 +6358,26 @@ const vs = [
|
|
|
6218
6358
|
game: s,
|
|
6219
6359
|
getDownloadCount: m,
|
|
6220
6360
|
disabled: b,
|
|
6221
|
-
setSafariCopyLink:
|
|
6361
|
+
setSafariCopyLink: q,
|
|
6222
6362
|
isTest: p
|
|
6223
6363
|
}) => {
|
|
6224
|
-
const [
|
|
6225
|
-
const G = [...
|
|
6226
|
-
if (
|
|
6364
|
+
const [g, Z] = B([]), [x, O] = B([]), [k, M] = B(!1), [C, U] = B(""), [ee, Q] = B(!1), [ae, re] = B(!1), [te, ne] = B("download"), [H, w] = B(!1), W = async (K) => {
|
|
6365
|
+
const G = [...g];
|
|
6366
|
+
if (g.includes(K)) {
|
|
6227
6367
|
const y = G.findIndex((h) => h === K);
|
|
6228
6368
|
G.splice(y, 1), Z(G);
|
|
6229
6369
|
} else
|
|
6230
|
-
G.push(K), Z([...
|
|
6370
|
+
G.push(K), Z([...g, K]);
|
|
6231
6371
|
On.filter((y) => [...G].includes(y.id)).map((y) => y.name);
|
|
6232
|
-
},
|
|
6233
|
-
const y = On.filter((h) => [...
|
|
6372
|
+
}, Y = async () => (console.log("multi download"), new Promise(async (K, G) => {
|
|
6373
|
+
const y = On.filter((h) => [...g].includes(h.id)).map((h) => h.name);
|
|
6234
6374
|
Q(!0), console.log("get multi download"), rs(r, c, y).then((h) => {
|
|
6235
6375
|
console.log("get multi download res"), Q(!1), K(h);
|
|
6236
6376
|
}).catch((h) => {
|
|
6237
6377
|
console.log("get multi download err"), Q(!1), A(h.message, h), G(h);
|
|
6238
6378
|
});
|
|
6239
6379
|
})), f = async () => {
|
|
6240
|
-
c.iosUrl, c.googleUrl, t && t.willSpendCredit ? (re(!0), ne("download"),
|
|
6380
|
+
c.iosUrl, c.googleUrl, t && t.willSpendCredit ? (re(!0), ne("download"), w(!0)) : (w(!1), await Y());
|
|
6241
6381
|
};
|
|
6242
6382
|
return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
|
|
6243
6383
|
/* @__PURE__ */ l.jsxs(
|
|
@@ -6272,10 +6412,10 @@ const vs = [
|
|
|
6272
6412
|
id: K.id,
|
|
6273
6413
|
name: K.name,
|
|
6274
6414
|
imageUrl: K.imageSrc,
|
|
6275
|
-
selected:
|
|
6415
|
+
selected: g.includes(K.id),
|
|
6276
6416
|
handleCardClick: W,
|
|
6277
|
-
networkVersionSize:
|
|
6278
|
-
fileSizeLoading:
|
|
6417
|
+
networkVersionSize: x,
|
|
6418
|
+
fileSizeLoading: k,
|
|
6279
6419
|
showCheckBox: !0,
|
|
6280
6420
|
typeOfProduct: o,
|
|
6281
6421
|
versionId: r,
|
|
@@ -6289,7 +6429,7 @@ const vs = [
|
|
|
6289
6429
|
getDownloadCount: m,
|
|
6290
6430
|
disabled: b,
|
|
6291
6431
|
user: a,
|
|
6292
|
-
setSafariCopyLink:
|
|
6432
|
+
setSafariCopyLink: q,
|
|
6293
6433
|
isTest: p
|
|
6294
6434
|
},
|
|
6295
6435
|
K.id
|
|
@@ -6300,7 +6440,7 @@ const vs = [
|
|
|
6300
6440
|
]
|
|
6301
6441
|
}
|
|
6302
6442
|
),
|
|
6303
|
-
|
|
6443
|
+
g.length > 1 && (o === "Playable" || o === "Ready" || o === "Flex") && /* @__PURE__ */ l.jsx(
|
|
6304
6444
|
"div",
|
|
6305
6445
|
{
|
|
6306
6446
|
style: {
|
|
@@ -6325,23 +6465,23 @@ const vs = [
|
|
|
6325
6465
|
}
|
|
6326
6466
|
),
|
|
6327
6467
|
H && /* @__PURE__ */ l.jsx(
|
|
6328
|
-
|
|
6468
|
+
$o,
|
|
6329
6469
|
{
|
|
6330
6470
|
creditConfirmType: te,
|
|
6331
6471
|
handleCopyLink: async () => {
|
|
6332
6472
|
},
|
|
6333
6473
|
download: async () => {
|
|
6334
|
-
|
|
6474
|
+
w(!1), re(!1), await Y();
|
|
6335
6475
|
},
|
|
6336
6476
|
onClose: () => {
|
|
6337
|
-
|
|
6477
|
+
w(!1), re(!1);
|
|
6338
6478
|
},
|
|
6339
6479
|
getDownloadCount: m
|
|
6340
6480
|
}
|
|
6341
6481
|
)
|
|
6342
6482
|
] });
|
|
6343
6483
|
};
|
|
6344
|
-
async function
|
|
6484
|
+
async function ws(e, t) {
|
|
6345
6485
|
return (await he.post(t + "/findPlayable", { _id: e })).data;
|
|
6346
6486
|
}
|
|
6347
6487
|
async function Ks(e, t) {
|
|
@@ -6410,7 +6550,7 @@ const Es = [
|
|
|
6410
6550
|
setFileSize: m,
|
|
6411
6551
|
setSafariCopyLink: b
|
|
6412
6552
|
}) => {
|
|
6413
|
-
const [
|
|
6553
|
+
const [q, p] = B(null), [g, Z] = B(null), [x, O] = B(null), [k, M] = B(!1), [C, U] = B("Loading..."), [ee, Q] = B("Loading..."), [ae, re] = B(!0), [te, ne] = B(window.innerWidth), [H, w] = B(!1);
|
|
6414
6554
|
Ie(() => {
|
|
6415
6555
|
const h = () => {
|
|
6416
6556
|
ne(window.innerWidth);
|
|
@@ -6421,16 +6561,16 @@ const Es = [
|
|
|
6421
6561
|
}, []);
|
|
6422
6562
|
const W = async () => {
|
|
6423
6563
|
M(!0);
|
|
6424
|
-
const h = await
|
|
6564
|
+
const h = await ws(e, i);
|
|
6425
6565
|
return h != null && h.networks || (h.networks = Es), p(h), h;
|
|
6426
|
-
},
|
|
6566
|
+
}, Y = (h) => {
|
|
6427
6567
|
U(h);
|
|
6428
6568
|
}, f = (h) => {
|
|
6429
6569
|
Q(h);
|
|
6430
|
-
}, K = async (h,
|
|
6570
|
+
}, K = async (h, z) => {
|
|
6431
6571
|
var J, N;
|
|
6432
6572
|
try {
|
|
6433
|
-
let
|
|
6573
|
+
let V;
|
|
6434
6574
|
if (r === "Playable" || r === "Ready") {
|
|
6435
6575
|
const E = await Ms(t, i);
|
|
6436
6576
|
if (E) {
|
|
@@ -6441,18 +6581,18 @@ const Es = [
|
|
|
6441
6581
|
U(h.iosUrl), Q(h.googleUrl), M(!1);
|
|
6442
6582
|
return;
|
|
6443
6583
|
}
|
|
6444
|
-
if (
|
|
6445
|
-
let R = await fetch(c + "/" +
|
|
6584
|
+
if (z && z.html) {
|
|
6585
|
+
let R = await fetch(c + "/" + z.html).then(
|
|
6446
6586
|
(D) => D.text()
|
|
6447
6587
|
);
|
|
6448
|
-
const
|
|
6588
|
+
const P = ((J = R.match(
|
|
6449
6589
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6450
6590
|
)) == null ? void 0 : J.at(1)) || "";
|
|
6451
|
-
U(
|
|
6452
|
-
const
|
|
6591
|
+
U(P);
|
|
6592
|
+
const j = ((N = R.match(
|
|
6453
6593
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6454
6594
|
)) == null ? void 0 : N.at(1)) || "";
|
|
6455
|
-
Q(
|
|
6595
|
+
Q(j), M(!1);
|
|
6456
6596
|
} else
|
|
6457
6597
|
Q(""), U(""), M(!1);
|
|
6458
6598
|
} else if (r === "Flex") {
|
|
@@ -6463,8 +6603,8 @@ const Es = [
|
|
|
6463
6603
|
}
|
|
6464
6604
|
h && (h.iosUrl || h.googleUrl) ? (U(h.iosUrl), Q(h.googleUrl), M(!1)) : (Q(""), U(""), M(!1));
|
|
6465
6605
|
}
|
|
6466
|
-
} catch (
|
|
6467
|
-
d(
|
|
6606
|
+
} catch (V) {
|
|
6607
|
+
d(V.response.data.error.msg);
|
|
6468
6608
|
}
|
|
6469
6609
|
}, G = async () => {
|
|
6470
6610
|
M(!0);
|
|
@@ -6478,12 +6618,12 @@ const Es = [
|
|
|
6478
6618
|
o || (p(null), Z(null), O(null), m(null)), o && (r === "Playable" ? (W().then((h) => {
|
|
6479
6619
|
K(null, h);
|
|
6480
6620
|
}), re(!1)) : r === "Ready" ? G().then((h) => {
|
|
6481
|
-
W().then((
|
|
6482
|
-
K(null,
|
|
6621
|
+
W().then((z) => {
|
|
6622
|
+
K(null, z), re(!1);
|
|
6483
6623
|
});
|
|
6484
6624
|
}) : r === "Flex" ? G().then((h) => {
|
|
6485
|
-
re(!1), y().then((
|
|
6486
|
-
o && (K(
|
|
6625
|
+
re(!1), y().then((z) => {
|
|
6626
|
+
o && (K(z, null), re(!1), Z(z));
|
|
6487
6627
|
});
|
|
6488
6628
|
}) : r === "Import" && Ss(t, i).then((h) => {
|
|
6489
6629
|
console.log(h), p(h), U(h.iosUrl || ""), Q(h.googleUrl || ""), M(!1), re(!1);
|
|
@@ -6509,17 +6649,17 @@ const Es = [
|
|
|
6509
6649
|
typeOfProduct: r,
|
|
6510
6650
|
fileSize: s,
|
|
6511
6651
|
urls: { iosUrl: C, googleUrl: ee },
|
|
6512
|
-
handleIosChange:
|
|
6652
|
+
handleIosChange: Y,
|
|
6513
6653
|
handleGoogleChange: f,
|
|
6514
6654
|
disabled: ae,
|
|
6515
6655
|
api: i,
|
|
6516
|
-
creditDownload:
|
|
6656
|
+
creditDownload: x,
|
|
6517
6657
|
user: a,
|
|
6518
6658
|
isTest: H,
|
|
6519
|
-
setIsTest:
|
|
6659
|
+
setIsTest: w
|
|
6520
6660
|
}
|
|
6521
6661
|
),
|
|
6522
|
-
|
|
6662
|
+
k ? /* @__PURE__ */ l.jsx(
|
|
6523
6663
|
"div",
|
|
6524
6664
|
{
|
|
6525
6665
|
style: {
|
|
@@ -6531,11 +6671,11 @@ const Es = [
|
|
|
6531
6671
|
},
|
|
6532
6672
|
children: /* @__PURE__ */ l.jsx(sr, { isNetworksLoading: !0 })
|
|
6533
6673
|
}
|
|
6534
|
-
) : (
|
|
6535
|
-
|
|
6674
|
+
) : (q || x) && (r === "Flex" ? g : !0) && !k && C !== "Loading..." && ee !== "Loading..." && /* @__PURE__ */ l.jsx(
|
|
6675
|
+
xs,
|
|
6536
6676
|
{
|
|
6537
|
-
playable:
|
|
6538
|
-
creditDownload:
|
|
6677
|
+
playable: q,
|
|
6678
|
+
creditDownload: x,
|
|
6539
6679
|
visible: o,
|
|
6540
6680
|
versionId: t,
|
|
6541
6681
|
typeOfProduct: r,
|
|
@@ -6544,7 +6684,7 @@ const Es = [
|
|
|
6544
6684
|
handleDownloadError: d,
|
|
6545
6685
|
fetchFileUrl: c,
|
|
6546
6686
|
urls: { iosUrl: C, googleUrl: ee },
|
|
6547
|
-
game:
|
|
6687
|
+
game: g,
|
|
6548
6688
|
getDownloadCount: G,
|
|
6549
6689
|
disabled: ae,
|
|
6550
6690
|
setSafariCopyLink: b,
|
|
@@ -6581,33 +6721,33 @@ var Tn = { exports: {} }, at = {}, Hn = { exports: {} }, ze = {}, Xn = { exports
|
|
|
6581
6721
|
if (b && !m.innerHTML)
|
|
6582
6722
|
return !0;
|
|
6583
6723
|
try {
|
|
6584
|
-
var
|
|
6585
|
-
return b ? p !== r && i(m,
|
|
6724
|
+
var q = window.getComputedStyle(m), p = q.getPropertyValue("display");
|
|
6725
|
+
return b ? p !== r && i(m, q) : p === n;
|
|
6586
6726
|
} catch {
|
|
6587
6727
|
return console.warn("Failed to inspect element style"), !1;
|
|
6588
6728
|
}
|
|
6589
6729
|
}
|
|
6590
6730
|
function A(m) {
|
|
6591
|
-
for (var b = m,
|
|
6592
|
-
if (
|
|
6731
|
+
for (var b = m, q = m.getRootNode && m.getRootNode(); b && b !== document.body; ) {
|
|
6732
|
+
if (q && b === q && (b = q.host.parentNode), a(b))
|
|
6593
6733
|
return !1;
|
|
6594
6734
|
b = b.parentNode;
|
|
6595
6735
|
}
|
|
6596
6736
|
return !0;
|
|
6597
6737
|
}
|
|
6598
6738
|
function d(m, b) {
|
|
6599
|
-
var
|
|
6739
|
+
var q = m.nodeName.toLowerCase(), p = o.test(q) && !m.disabled || q === "a" && m.href || b;
|
|
6600
6740
|
return p && A(m);
|
|
6601
6741
|
}
|
|
6602
6742
|
function c(m) {
|
|
6603
6743
|
var b = m.getAttribute("tabindex");
|
|
6604
6744
|
b === null && (b = void 0);
|
|
6605
|
-
var
|
|
6606
|
-
return (
|
|
6745
|
+
var q = isNaN(b);
|
|
6746
|
+
return (q || b >= 0) && d(m, !q);
|
|
6607
6747
|
}
|
|
6608
6748
|
function s(m) {
|
|
6609
|
-
var b = [].slice.call(m.querySelectorAll("*"), 0).reduce(function(
|
|
6610
|
-
return
|
|
6749
|
+
var b = [].slice.call(m.querySelectorAll("*"), 0).reduce(function(q, p) {
|
|
6750
|
+
return q.concat(p.shadowRoot ? s(p.shadowRoot) : [p]);
|
|
6611
6751
|
}, []);
|
|
6612
6752
|
return b.filter(c);
|
|
6613
6753
|
}
|
|
@@ -6619,7 +6759,7 @@ Object.defineProperty(ze, "__esModule", {
|
|
|
6619
6759
|
});
|
|
6620
6760
|
ze.resetState = Ns;
|
|
6621
6761
|
ze.log = Ds;
|
|
6622
|
-
ze.handleBlur =
|
|
6762
|
+
ze.handleBlur = wt;
|
|
6623
6763
|
ze.handleFocus = Kt;
|
|
6624
6764
|
ze.markForFocusLater = Rs;
|
|
6625
6765
|
ze.returnFocus = Gs;
|
|
@@ -6640,7 +6780,7 @@ function Ds() {
|
|
|
6640
6780
|
console.log(t.nodeName, t.className, t.id);
|
|
6641
6781
|
}), console.log("end focusManager ----------"));
|
|
6642
6782
|
}
|
|
6643
|
-
function
|
|
6783
|
+
function wt() {
|
|
6644
6784
|
Qn = !0;
|
|
6645
6785
|
}
|
|
6646
6786
|
function Kt() {
|
|
@@ -6671,12 +6811,12 @@ function Ts() {
|
|
|
6671
6811
|
At.length > 0 && At.pop();
|
|
6672
6812
|
}
|
|
6673
6813
|
function Hs(e) {
|
|
6674
|
-
ct = e, window.addEventListener ? (window.addEventListener("blur",
|
|
6814
|
+
ct = e, window.addEventListener ? (window.addEventListener("blur", wt, !1), document.addEventListener("focus", Kt, !0)) : (window.attachEvent("onBlur", wt), document.attachEvent("onFocus", Kt));
|
|
6675
6815
|
}
|
|
6676
6816
|
function Xs() {
|
|
6677
|
-
ct = null, window.addEventListener ? (window.removeEventListener("blur",
|
|
6817
|
+
ct = null, window.addEventListener ? (window.removeEventListener("blur", wt), document.removeEventListener("focus", Kt)) : (window.detachEvent("onBlur", wt), document.detachEvent("onFocus", Kt));
|
|
6678
6818
|
}
|
|
6679
|
-
var
|
|
6819
|
+
var Vn = { exports: {} };
|
|
6680
6820
|
(function(e, t) {
|
|
6681
6821
|
Object.defineProperty(t, "__esModule", {
|
|
6682
6822
|
value: !0
|
|
@@ -6695,32 +6835,32 @@ var Pn = { exports: {} };
|
|
|
6695
6835
|
d.preventDefault();
|
|
6696
6836
|
return;
|
|
6697
6837
|
}
|
|
6698
|
-
var s = void 0, m = d.shiftKey, b = c[0],
|
|
6838
|
+
var s = void 0, m = d.shiftKey, b = c[0], q = c[c.length - 1], p = i();
|
|
6699
6839
|
if (A === p) {
|
|
6700
6840
|
if (!m)
|
|
6701
6841
|
return;
|
|
6702
|
-
s =
|
|
6842
|
+
s = q;
|
|
6703
6843
|
}
|
|
6704
|
-
if (
|
|
6844
|
+
if (q === p && !m && (s = b), b === p && m && (s = q), s) {
|
|
6705
6845
|
d.preventDefault(), s.focus();
|
|
6706
6846
|
return;
|
|
6707
6847
|
}
|
|
6708
|
-
var
|
|
6848
|
+
var g = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), Z = g != null && g[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
|
|
6709
6849
|
if (Z) {
|
|
6710
|
-
var
|
|
6711
|
-
if (
|
|
6712
|
-
d.preventDefault(), s = m ?
|
|
6850
|
+
var x = c.indexOf(p);
|
|
6851
|
+
if (x > -1 && (x += m ? -1 : 1), s = c[x], typeof s > "u") {
|
|
6852
|
+
d.preventDefault(), s = m ? q : b, s.focus();
|
|
6713
6853
|
return;
|
|
6714
6854
|
}
|
|
6715
6855
|
d.preventDefault(), s.focus();
|
|
6716
6856
|
}
|
|
6717
6857
|
}
|
|
6718
6858
|
e.exports = t.default;
|
|
6719
|
-
})(
|
|
6720
|
-
var Qs =
|
|
6859
|
+
})(Vn, Vn.exports);
|
|
6860
|
+
var Qs = Vn.exports, Ye = {}, Vs = process.env.NODE_ENV !== "production", ni = function() {
|
|
6721
6861
|
};
|
|
6722
|
-
if (
|
|
6723
|
-
var
|
|
6862
|
+
if (Vs) {
|
|
6863
|
+
var Ps = function(t, n) {
|
|
6724
6864
|
var r = arguments.length;
|
|
6725
6865
|
n = new Array(r > 1 ? r - 1 : 0);
|
|
6726
6866
|
for (var o = 1; o < r; o++)
|
|
@@ -6743,7 +6883,7 @@ if (Ps) {
|
|
|
6743
6883
|
throw new Error(
|
|
6744
6884
|
"`warning(condition, format, ...args)` requires a warning message argument"
|
|
6745
6885
|
);
|
|
6746
|
-
e ||
|
|
6886
|
+
e || Ps.apply(null, [t].concat(n));
|
|
6747
6887
|
};
|
|
6748
6888
|
}
|
|
6749
6889
|
var Bs = ni, ke = {}, ri = { exports: {} };
|
|
@@ -6792,17 +6932,17 @@ var tl = Bs, nl = ol(tl), rl = ke;
|
|
|
6792
6932
|
function ol(e) {
|
|
6793
6933
|
return e && e.__esModule ? e : { default: e };
|
|
6794
6934
|
}
|
|
6795
|
-
var
|
|
6935
|
+
var xe = null;
|
|
6796
6936
|
function il() {
|
|
6797
|
-
|
|
6937
|
+
xe && (xe.removeAttribute ? xe.removeAttribute("aria-hidden") : xe.length != null ? xe.forEach(function(e) {
|
|
6798
6938
|
return e.removeAttribute("aria-hidden");
|
|
6799
|
-
}) : document.querySelectorAll(
|
|
6939
|
+
}) : document.querySelectorAll(xe).forEach(function(e) {
|
|
6800
6940
|
return e.removeAttribute("aria-hidden");
|
|
6801
|
-
})),
|
|
6941
|
+
})), xe = null;
|
|
6802
6942
|
}
|
|
6803
6943
|
function al() {
|
|
6804
6944
|
if (process.env.NODE_ENV !== "production") {
|
|
6805
|
-
var e =
|
|
6945
|
+
var e = xe || {};
|
|
6806
6946
|
console.log("ariaAppHider ----------"), console.log(e.nodeName, e.className, e.id), console.log("end ariaAppHider ----------");
|
|
6807
6947
|
}
|
|
6808
6948
|
}
|
|
@@ -6816,10 +6956,10 @@ function Al(e) {
|
|
|
6816
6956
|
var n = document.querySelectorAll(t);
|
|
6817
6957
|
oi(n, t), t = n;
|
|
6818
6958
|
}
|
|
6819
|
-
return
|
|
6959
|
+
return xe = t || xe, xe;
|
|
6820
6960
|
}
|
|
6821
6961
|
function lr(e) {
|
|
6822
|
-
var t = e ||
|
|
6962
|
+
var t = e || xe;
|
|
6823
6963
|
return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, nl.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []);
|
|
6824
6964
|
}
|
|
6825
6965
|
function sl(e) {
|
|
@@ -6859,7 +6999,7 @@ function ll(e) {
|
|
|
6859
6999
|
}
|
|
6860
7000
|
}
|
|
6861
7001
|
function ul() {
|
|
6862
|
-
|
|
7002
|
+
xe = null;
|
|
6863
7003
|
}
|
|
6864
7004
|
var ft = {};
|
|
6865
7005
|
Object.defineProperty(ft, "__esModule", {
|
|
@@ -6999,61 +7139,61 @@ function $r() {
|
|
|
6999
7139
|
}
|
|
7000
7140
|
ot[ot.length - 1].focusContent();
|
|
7001
7141
|
}
|
|
7002
|
-
function
|
|
7142
|
+
function xl(e, t) {
|
|
7003
7143
|
!ve && !Oe && (ve = document.createElement("div"), ve.setAttribute("data-react-modal-body-trap", ""), ve.style.position = "absolute", ve.style.opacity = "0", ve.setAttribute("tabindex", "0"), ve.addEventListener("focus", $r), Oe = ve.cloneNode(), Oe.addEventListener("focus", $r)), ot = t, ot.length > 0 ? (document.body.firstChild !== ve && document.body.insertBefore(ve, document.body.firstChild), document.body.lastChild !== Oe && document.body.appendChild(Oe)) : (ve.parentElement && ve.parentElement.removeChild(ve), Oe.parentElement && Oe.parentElement.removeChild(Oe));
|
|
7004
7144
|
}
|
|
7005
|
-
bl.default.subscribe(
|
|
7145
|
+
bl.default.subscribe(xl);
|
|
7006
7146
|
(function(e, t) {
|
|
7007
7147
|
Object.defineProperty(t, "__esModule", {
|
|
7008
7148
|
value: !0
|
|
7009
7149
|
});
|
|
7010
|
-
var n = Object.assign || function(
|
|
7150
|
+
var n = Object.assign || function(w) {
|
|
7011
7151
|
for (var W = 1; W < arguments.length; W++) {
|
|
7012
|
-
var
|
|
7013
|
-
for (var f in
|
|
7014
|
-
Object.prototype.hasOwnProperty.call(
|
|
7015
|
-
}
|
|
7016
|
-
return
|
|
7017
|
-
}, r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
7018
|
-
return typeof
|
|
7019
|
-
} : function(
|
|
7020
|
-
return
|
|
7152
|
+
var Y = arguments[W];
|
|
7153
|
+
for (var f in Y)
|
|
7154
|
+
Object.prototype.hasOwnProperty.call(Y, f) && (w[f] = Y[f]);
|
|
7155
|
+
}
|
|
7156
|
+
return w;
|
|
7157
|
+
}, r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(w) {
|
|
7158
|
+
return typeof w;
|
|
7159
|
+
} : function(w) {
|
|
7160
|
+
return w && typeof Symbol == "function" && w.constructor === Symbol && w !== Symbol.prototype ? "symbol" : typeof w;
|
|
7021
7161
|
}, o = function() {
|
|
7022
|
-
function
|
|
7023
|
-
for (var f = 0; f <
|
|
7024
|
-
var K =
|
|
7162
|
+
function w(W, Y) {
|
|
7163
|
+
for (var f = 0; f < Y.length; f++) {
|
|
7164
|
+
var K = Y[f];
|
|
7025
7165
|
K.enumerable = K.enumerable || !1, K.configurable = !0, "value" in K && (K.writable = !0), Object.defineProperty(W, K.key, K);
|
|
7026
7166
|
}
|
|
7027
7167
|
}
|
|
7028
|
-
return function(W,
|
|
7029
|
-
return
|
|
7168
|
+
return function(W, Y, f) {
|
|
7169
|
+
return Y && w(W.prototype, Y), f && w(W, f), W;
|
|
7030
7170
|
};
|
|
7031
|
-
}(), i = ie, a = nn, A = C(a), d = ze, c = M(d), s = Qs, m = C(s), b = Ye,
|
|
7032
|
-
function M(
|
|
7033
|
-
if (
|
|
7034
|
-
return
|
|
7171
|
+
}(), i = ie, a = nn, A = C(a), d = ze, c = M(d), s = Qs, m = C(s), b = Ye, q = M(b), p = ft, g = M(p), Z = ke, x = C(Z), O = ht, k = C(O);
|
|
7172
|
+
function M(w) {
|
|
7173
|
+
if (w && w.__esModule)
|
|
7174
|
+
return w;
|
|
7035
7175
|
var W = {};
|
|
7036
|
-
if (
|
|
7037
|
-
for (var
|
|
7038
|
-
Object.prototype.hasOwnProperty.call(
|
|
7039
|
-
return W.default =
|
|
7176
|
+
if (w != null)
|
|
7177
|
+
for (var Y in w)
|
|
7178
|
+
Object.prototype.hasOwnProperty.call(w, Y) && (W[Y] = w[Y]);
|
|
7179
|
+
return W.default = w, W;
|
|
7040
7180
|
}
|
|
7041
|
-
function C(
|
|
7042
|
-
return
|
|
7181
|
+
function C(w) {
|
|
7182
|
+
return w && w.__esModule ? w : { default: w };
|
|
7043
7183
|
}
|
|
7044
|
-
function U(
|
|
7045
|
-
if (!(
|
|
7184
|
+
function U(w, W) {
|
|
7185
|
+
if (!(w instanceof W))
|
|
7046
7186
|
throw new TypeError("Cannot call a class as a function");
|
|
7047
7187
|
}
|
|
7048
|
-
function ee(
|
|
7049
|
-
if (!
|
|
7188
|
+
function ee(w, W) {
|
|
7189
|
+
if (!w)
|
|
7050
7190
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
7051
|
-
return W && (typeof W == "object" || typeof W == "function") ? W :
|
|
7191
|
+
return W && (typeof W == "object" || typeof W == "function") ? W : w;
|
|
7052
7192
|
}
|
|
7053
|
-
function Q(
|
|
7193
|
+
function Q(w, W) {
|
|
7054
7194
|
if (typeof W != "function" && W !== null)
|
|
7055
7195
|
throw new TypeError("Super expression must either be null or a function, not " + typeof W);
|
|
7056
|
-
|
|
7196
|
+
w.prototype = Object.create(W && W.prototype, { constructor: { value: w, enumerable: !1, writable: !0, configurable: !0 } }), W && (Object.setPrototypeOf ? Object.setPrototypeOf(w, W) : w.__proto__ = W);
|
|
7057
7197
|
}
|
|
7058
7198
|
var ae = {
|
|
7059
7199
|
overlay: "ReactModal__Overlay",
|
|
@@ -7062,18 +7202,18 @@ bl.default.subscribe(wl);
|
|
|
7062
7202
|
return W.code === "Tab" || W.keyCode === 9;
|
|
7063
7203
|
}, te = function(W) {
|
|
7064
7204
|
return W.code === "Escape" || W.keyCode === 27;
|
|
7065
|
-
}, ne = 0, H = function(
|
|
7066
|
-
Q(W,
|
|
7067
|
-
function W(
|
|
7205
|
+
}, ne = 0, H = function(w) {
|
|
7206
|
+
Q(W, w);
|
|
7207
|
+
function W(Y) {
|
|
7068
7208
|
U(this, W);
|
|
7069
|
-
var f = ee(this, (W.__proto__ || Object.getPrototypeOf(W)).call(this,
|
|
7209
|
+
var f = ee(this, (W.__proto__ || Object.getPrototypeOf(W)).call(this, Y));
|
|
7070
7210
|
return f.setOverlayRef = function(K) {
|
|
7071
7211
|
f.overlay = K, f.props.overlayRef && f.props.overlayRef(K);
|
|
7072
7212
|
}, f.setContentRef = function(K) {
|
|
7073
7213
|
f.content = K, f.props.contentRef && f.props.contentRef(K);
|
|
7074
7214
|
}, f.afterClose = function() {
|
|
7075
|
-
var K = f.props, G = K.appElement, y = K.ariaHideApp, h = K.htmlOpenClassName,
|
|
7076
|
-
|
|
7215
|
+
var K = f.props, G = K.appElement, y = K.ariaHideApp, h = K.htmlOpenClassName, z = K.bodyOpenClassName, J = K.parentSelector, N = J && J().ownerDocument || document;
|
|
7216
|
+
z && g.remove(N.body, z), h && g.remove(N.getElementsByTagName("html")[0], h), y && ne > 0 && (ne -= 1, ne === 0 && q.show(G)), f.props.shouldFocusAfterRender && (f.props.shouldReturnFocusAfterClose ? (c.returnFocus(f.props.preventScroll), c.teardownScopedFocus()) : c.popWithoutFocus()), f.props.onAfterClose && f.props.onAfterClose(), k.default.deregister(f);
|
|
7077
7217
|
}, f.open = function() {
|
|
7078
7218
|
f.beforeOpen(), f.state.afterOpen && f.state.beforeClose ? (clearTimeout(f.closeTimer), f.setState({ beforeClose: !1 })) : (f.props.shouldFocusAfterRender && (c.setupScopedFocus(f.node), c.markForFocusLater()), f.setState({ isOpen: !0 }, function() {
|
|
7079
7219
|
f.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -7153,17 +7293,17 @@ bl.default.subscribe(wl);
|
|
|
7153
7293
|
}, {
|
|
7154
7294
|
key: "beforeOpen",
|
|
7155
7295
|
value: function() {
|
|
7156
|
-
var f = this.props, K = f.appElement, G = f.ariaHideApp, y = f.htmlOpenClassName, h = f.bodyOpenClassName,
|
|
7157
|
-
h &&
|
|
7296
|
+
var f = this.props, K = f.appElement, G = f.ariaHideApp, y = f.htmlOpenClassName, h = f.bodyOpenClassName, z = f.parentSelector, J = z && z().ownerDocument || document;
|
|
7297
|
+
h && g.add(J.body, h), y && g.add(J.getElementsByTagName("html")[0], y), G && (ne += 1, q.hide(K)), k.default.register(this);
|
|
7158
7298
|
}
|
|
7159
7299
|
// Don't steal focus from inner elements
|
|
7160
7300
|
}, {
|
|
7161
7301
|
key: "render",
|
|
7162
7302
|
value: function() {
|
|
7163
|
-
var f = this.props, K = f.id, G = f.className, y = f.overlayClassName, h = f.defaultStyles,
|
|
7303
|
+
var f = this.props, K = f.id, G = f.className, y = f.overlayClassName, h = f.defaultStyles, z = f.children, J = G ? {} : h.content, N = y ? {} : h.overlay;
|
|
7164
7304
|
if (this.shouldBeClosed())
|
|
7165
7305
|
return null;
|
|
7166
|
-
var
|
|
7306
|
+
var V = {
|
|
7167
7307
|
ref: this.setOverlayRef,
|
|
7168
7308
|
className: this.buildClassName("overlay", y),
|
|
7169
7309
|
style: n({}, N, this.props.style.overlay),
|
|
@@ -7183,8 +7323,8 @@ bl.default.subscribe(wl);
|
|
|
7183
7323
|
"aria-label": this.props.contentLabel
|
|
7184
7324
|
}, this.attributesFromObject("aria", n({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
|
|
7185
7325
|
"data-testid": this.props.testId
|
|
7186
|
-
}), R = this.props.contentElement(E,
|
|
7187
|
-
return this.props.overlayElement(
|
|
7326
|
+
}), R = this.props.contentElement(E, z);
|
|
7327
|
+
return this.props.overlayElement(V, R);
|
|
7188
7328
|
}
|
|
7189
7329
|
}]), W;
|
|
7190
7330
|
}(i.Component);
|
|
@@ -7210,7 +7350,7 @@ bl.default.subscribe(wl);
|
|
|
7210
7350
|
bodyOpenClassName: A.default.string,
|
|
7211
7351
|
htmlOpenClassName: A.default.string,
|
|
7212
7352
|
ariaHideApp: A.default.bool,
|
|
7213
|
-
appElement: A.default.oneOfType([A.default.instanceOf(
|
|
7353
|
+
appElement: A.default.oneOfType([A.default.instanceOf(x.default), A.default.instanceOf(Z.SafeHTMLCollection), A.default.instanceOf(Z.SafeNodeList), A.default.arrayOf(A.default.instanceOf(x.default))]),
|
|
7214
7354
|
onAfterOpen: A.default.func,
|
|
7215
7355
|
onAfterClose: A.default.func,
|
|
7216
7356
|
onRequestClose: A.default.func,
|
|
@@ -7233,7 +7373,7 @@ bl.default.subscribe(wl);
|
|
|
7233
7373
|
testId: A.default.string
|
|
7234
7374
|
}, t.default = H, e.exports = t.default;
|
|
7235
7375
|
})(Hn, Hn.exports);
|
|
7236
|
-
var
|
|
7376
|
+
var wl = Hn.exports;
|
|
7237
7377
|
function ai() {
|
|
7238
7378
|
var e = this.constructor.getDerivedStateFromProps(this.props, this.state);
|
|
7239
7379
|
e != null && this.setState(e);
|
|
@@ -7319,7 +7459,7 @@ var eo = Object.assign || function(e) {
|
|
|
7319
7459
|
return function(t, n, r) {
|
|
7320
7460
|
return n && e(t.prototype, n), r && e(t, r), t;
|
|
7321
7461
|
};
|
|
7322
|
-
}(), li = ie, $t = Et(li), Sl = Ei, en = Et(Sl), Ol = nn, X = Et(Ol), El =
|
|
7462
|
+
}(), li = ie, $t = Et(li), Sl = Ei, en = Et(Sl), Ol = nn, X = Et(Ol), El = wl, to = Et(El), kl = Ye, zl = jl(kl), Ve = ke, no = Et(Ve), Yl = Ml;
|
|
7323
7463
|
function jl(e) {
|
|
7324
7464
|
if (e && e.__esModule)
|
|
7325
7465
|
return e;
|
|
@@ -7346,7 +7486,7 @@ function Nl(e, t) {
|
|
|
7346
7486
|
throw new TypeError("Super expression must either be null or a function, not " + typeof t);
|
|
7347
7487
|
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
|
|
7348
7488
|
}
|
|
7349
|
-
var Dl = at.portalClassName = "ReactModalPortal", Rl = at.bodyOpenClassName = "ReactModal__Body--open", _e =
|
|
7489
|
+
var Dl = at.portalClassName = "ReactModalPortal", Rl = at.bodyOpenClassName = "ReactModal__Body--open", _e = Ve.canUseDOM && en.default.createPortal !== void 0, Pn = function(t) {
|
|
7350
7490
|
return document.createElement(t);
|
|
7351
7491
|
}, oo = function() {
|
|
7352
7492
|
return _e ? en.default.createPortal : en.default.unstable_renderSubtreeIntoContainer;
|
|
@@ -7375,8 +7515,8 @@ var qt = function(e) {
|
|
|
7375
7515
|
return Ll(t, [{
|
|
7376
7516
|
key: "componentDidMount",
|
|
7377
7517
|
value: function() {
|
|
7378
|
-
if (
|
|
7379
|
-
_e || (this.node =
|
|
7518
|
+
if (Ve.canUseDOM) {
|
|
7519
|
+
_e || (this.node = Pn("div")), this.node.className = this.props.portalClassName;
|
|
7380
7520
|
var r = Rt(this.props.parentSelector);
|
|
7381
7521
|
r.appendChild(this.node), !_e && this.renderPortal(this.props);
|
|
7382
7522
|
}
|
|
@@ -7390,7 +7530,7 @@ var qt = function(e) {
|
|
|
7390
7530
|
}, {
|
|
7391
7531
|
key: "componentDidUpdate",
|
|
7392
7532
|
value: function(r, o, i) {
|
|
7393
|
-
if (
|
|
7533
|
+
if (Ve.canUseDOM) {
|
|
7394
7534
|
var a = this.props, A = a.isOpen, d = a.portalClassName;
|
|
7395
7535
|
r.portalClassName !== d && (this.node.className = d);
|
|
7396
7536
|
var c = i.prevParent, s = i.nextParent;
|
|
@@ -7400,7 +7540,7 @@ var qt = function(e) {
|
|
|
7400
7540
|
}, {
|
|
7401
7541
|
key: "componentWillUnmount",
|
|
7402
7542
|
value: function() {
|
|
7403
|
-
if (!(!
|
|
7543
|
+
if (!(!Ve.canUseDOM || !this.node || !this.portal)) {
|
|
7404
7544
|
var r = this.portal.state, o = Date.now(), i = r.isOpen && this.props.closeTimeoutMS && (r.closesAt || o + this.props.closeTimeoutMS);
|
|
7405
7545
|
i ? (r.beforeClose || this.portal.closeWithTimeout(), setTimeout(this.removePortal, i - o)) : this.removePortal();
|
|
7406
7546
|
}
|
|
@@ -7408,9 +7548,9 @@ var qt = function(e) {
|
|
|
7408
7548
|
}, {
|
|
7409
7549
|
key: "render",
|
|
7410
7550
|
value: function() {
|
|
7411
|
-
if (!
|
|
7551
|
+
if (!Ve.canUseDOM || !_e)
|
|
7412
7552
|
return null;
|
|
7413
|
-
!this.node && _e && (this.node =
|
|
7553
|
+
!this.node && _e && (this.node = Pn("div"));
|
|
7414
7554
|
var r = oo();
|
|
7415
7555
|
return r($t.default.createElement(to.default, eo({
|
|
7416
7556
|
ref: this.portalRef,
|
|
@@ -7445,7 +7585,7 @@ qt.propTypes = {
|
|
|
7445
7585
|
afterOpen: X.default.string.isRequired,
|
|
7446
7586
|
beforeClose: X.default.string.isRequired
|
|
7447
7587
|
})]),
|
|
7448
|
-
appElement: X.default.oneOfType([X.default.instanceOf(no.default), X.default.instanceOf(
|
|
7588
|
+
appElement: X.default.oneOfType([X.default.instanceOf(no.default), X.default.instanceOf(Ve.SafeHTMLCollection), X.default.instanceOf(Ve.SafeNodeList), X.default.arrayOf(X.default.instanceOf(no.default))]),
|
|
7449
7589
|
onAfterOpen: X.default.func,
|
|
7450
7590
|
onRequestClose: X.default.func,
|
|
7451
7591
|
closeTimeoutMS: X.default.number,
|
|
@@ -7522,7 +7662,7 @@ qt.defaultStyles = {
|
|
|
7522
7662
|
};
|
|
7523
7663
|
(0, Yl.polyfill)(qt);
|
|
7524
7664
|
process.env.NODE_ENV !== "production" && (qt.setCreateHTMLElement = function(e) {
|
|
7525
|
-
return
|
|
7665
|
+
return Pn = e;
|
|
7526
7666
|
});
|
|
7527
7667
|
at.default = qt;
|
|
7528
7668
|
(function(e, t) {
|
|
@@ -7609,7 +7749,7 @@ const Tl = ({ width: e, height: t }) => /* @__PURE__ */ l.jsxs("svg", { width: e
|
|
|
7609
7749
|
"div",
|
|
7610
7750
|
{
|
|
7611
7751
|
className: " pointer-events-auto ml-3 flex h-full w-[180px] items-center justify-center rounded-md transition-all hover:scale-105 cursor-pointer",
|
|
7612
|
-
style: { backgroundColor:
|
|
7752
|
+
style: { backgroundColor: de.Flex },
|
|
7613
7753
|
onClick: () => e(!1),
|
|
7614
7754
|
children: /* @__PURE__ */ l.jsx("span", { className: "text-center align-middle text-xl font-bold text-white", children: "Continue" })
|
|
7615
7755
|
}
|
|
@@ -7730,7 +7870,7 @@ const Tl = ({ width: e, height: t }) => /* @__PURE__ */ l.jsxs("svg", { width: e
|
|
|
7730
7870
|
)
|
|
7731
7871
|
]
|
|
7732
7872
|
}
|
|
7733
|
-
),
|
|
7873
|
+
), Pl = ({
|
|
7734
7874
|
visible: e,
|
|
7735
7875
|
closeModal: t,
|
|
7736
7876
|
versionId: n,
|
|
@@ -7744,19 +7884,19 @@ const Tl = ({ width: e, height: t }) => /* @__PURE__ */ l.jsxs("svg", { width: e
|
|
|
7744
7884
|
iframeUrl: s,
|
|
7745
7885
|
handleDownloadError: m,
|
|
7746
7886
|
fetchFileUrl: b,
|
|
7747
|
-
copyLinkUrl:
|
|
7887
|
+
copyLinkUrl: q
|
|
7748
7888
|
}) => {
|
|
7749
|
-
const [p,
|
|
7889
|
+
const [p, g] = B(window.innerWidth), [Z, x] = B(!1), [O, k] = B(s), [M, C] = B(!1), [U, ee] = B(!0), [Q, ae] = B(null), [re, te] = B("");
|
|
7750
7890
|
os(a, A, te, b);
|
|
7751
|
-
const ne = (
|
|
7752
|
-
io({ _id:
|
|
7891
|
+
const ne = (w) => {
|
|
7892
|
+
io({ _id: w, network: "applovin", typeOfProduct: a }, A).then((W) => {
|
|
7753
7893
|
W.size >= 5 ? C(!0) : C(!1), ae(W.size);
|
|
7754
7894
|
}).finally(() => {
|
|
7755
7895
|
ee(!1);
|
|
7756
7896
|
});
|
|
7757
7897
|
}, H = async () => {
|
|
7758
|
-
Ft(n, "default", null, null, !1).then((
|
|
7759
|
-
|
|
7898
|
+
Ft(n, "default", null, null, !1).then((w) => {
|
|
7899
|
+
x(!0), k(b + "/" + w), a === "Flex" || a === "Ready" ? ne(n) : (ee(!1), a === "Playable" && io({ _id: n, network: "applovin", typeOfProduct: a }, A).then(
|
|
7760
7900
|
(W) => {
|
|
7761
7901
|
console.log(W), ae(W.size);
|
|
7762
7902
|
}
|
|
@@ -7764,13 +7904,13 @@ const Tl = ({ width: e, height: t }) => /* @__PURE__ */ l.jsxs("svg", { width: e
|
|
|
7764
7904
|
});
|
|
7765
7905
|
};
|
|
7766
7906
|
return Ie(() => {
|
|
7767
|
-
e ? Z || (H(),
|
|
7907
|
+
e ? Z || (H(), x(!0)) : (x(!1), k(""));
|
|
7768
7908
|
}, [e]), Ie(() => {
|
|
7769
|
-
const
|
|
7770
|
-
|
|
7909
|
+
const w = () => {
|
|
7910
|
+
g(window.innerWidth);
|
|
7771
7911
|
};
|
|
7772
|
-
return window.addEventListener("resize",
|
|
7773
|
-
window.removeEventListener("resize",
|
|
7912
|
+
return window.addEventListener("resize", w), () => {
|
|
7913
|
+
window.removeEventListener("resize", w);
|
|
7774
7914
|
};
|
|
7775
7915
|
}, []), U && e ? /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(
|
|
7776
7916
|
Bn,
|
|
@@ -7830,11 +7970,11 @@ const Tl = ({ width: e, height: t }) => /* @__PURE__ */ l.jsxs("svg", { width: e
|
|
|
7830
7970
|
) }) : U && a === "Flex" ? null : /* @__PURE__ */ l.jsxs(
|
|
7831
7971
|
"div",
|
|
7832
7972
|
{
|
|
7833
|
-
onMouseDown: (
|
|
7834
|
-
|
|
7973
|
+
onMouseDown: (w) => {
|
|
7974
|
+
w.stopPropagation();
|
|
7835
7975
|
},
|
|
7836
|
-
onMouseUp: (
|
|
7837
|
-
|
|
7976
|
+
onMouseUp: (w) => {
|
|
7977
|
+
w.stopPropagation();
|
|
7838
7978
|
},
|
|
7839
7979
|
children: [
|
|
7840
7980
|
a === "Flex" && M && e && /* @__PURE__ */ l.jsx(
|
|
@@ -7919,7 +8059,7 @@ const Tl = ({ width: e, height: t }) => /* @__PURE__ */ l.jsxs("svg", { width: e
|
|
|
7919
8059
|
iframeUrl: O,
|
|
7920
8060
|
api: A,
|
|
7921
8061
|
fetchFileUrl: b,
|
|
7922
|
-
copyLinkUrl:
|
|
8062
|
+
copyLinkUrl: q,
|
|
7923
8063
|
setSafariCopyLink: te
|
|
7924
8064
|
}
|
|
7925
8065
|
) : /* @__PURE__ */ l.jsx(l.Fragment, { children: /* @__PURE__ */ l.jsx(
|
|
@@ -7999,6 +8139,6 @@ const Tl = ({ width: e, height: t }) => /* @__PURE__ */ l.jsxs("svg", { width: e
|
|
|
7999
8139
|
);
|
|
8000
8140
|
};
|
|
8001
8141
|
export {
|
|
8002
|
-
|
|
8142
|
+
Pl as DownloadModal
|
|
8003
8143
|
};
|
|
8004
8144
|
//# sourceMappingURL=index.es.js.map
|