gearboxdownloadmodal 8.5.6 → 8.5.12
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 +240 -236
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +16 -16
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -69,41 +69,41 @@ function gl() {
|
|
|
69
69
|
function K(d) {
|
|
70
70
|
if (d === null || typeof d != "object")
|
|
71
71
|
return null;
|
|
72
|
-
var
|
|
73
|
-
return typeof
|
|
72
|
+
var R = c && d[c] || d[Z];
|
|
73
|
+
return typeof R == "function" ? R : null;
|
|
74
74
|
}
|
|
75
75
|
var S = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
76
76
|
function k(d) {
|
|
77
77
|
{
|
|
78
|
-
for (var
|
|
78
|
+
for (var R = arguments.length, N = new Array(R > 1 ? R - 1 : 0), ii = 1; ii < R; ii++)
|
|
79
79
|
N[ii - 1] = arguments[ii];
|
|
80
|
-
|
|
80
|
+
E("error", d, N);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function E(d, R, N) {
|
|
84
84
|
{
|
|
85
85
|
var ii = S.ReactDebugCurrentFrame, Ki = ii.getStackAddendum();
|
|
86
|
-
Ki !== "" && (
|
|
86
|
+
Ki !== "" && (R += "%s", N = N.concat([Ki]));
|
|
87
87
|
var hi = N.map(function(qi) {
|
|
88
88
|
return String(qi);
|
|
89
89
|
});
|
|
90
|
-
hi.unshift("Warning: " +
|
|
90
|
+
hi.unshift("Warning: " + R), Function.prototype.apply.call(console[d], console, hi);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
var J = !1, h = !1, G = !1, j = !1, F = !1, v;
|
|
94
94
|
v = Symbol.for("react.module.reference");
|
|
95
|
-
function
|
|
95
|
+
function $(d) {
|
|
96
96
|
return !!(typeof d == "string" || typeof d == "function" || d === a || d === r || F || d === o || d === A || d === q || j || d === I || J || h || G || typeof d == "object" && d !== null && (d.$$typeof === u || d.$$typeof === p || d.$$typeof === s || d.$$typeof === n || d.$$typeof === l || // 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.
|
|
100
100
|
d.$$typeof === v || d.getModuleId !== void 0));
|
|
101
101
|
}
|
|
102
|
-
function X(d,
|
|
102
|
+
function X(d, R, N) {
|
|
103
103
|
var ii = d.displayName;
|
|
104
104
|
if (ii)
|
|
105
105
|
return ii;
|
|
106
|
-
var Ki =
|
|
106
|
+
var Ki = R.displayName || R.name || "";
|
|
107
107
|
return Ki !== "" ? N + "(" + Ki + ")" : N;
|
|
108
108
|
}
|
|
109
109
|
function H(d) {
|
|
@@ -133,8 +133,8 @@ function gl() {
|
|
|
133
133
|
if (typeof d == "object")
|
|
134
134
|
switch (d.$$typeof) {
|
|
135
135
|
case n:
|
|
136
|
-
var
|
|
137
|
-
return H(
|
|
136
|
+
var R = d;
|
|
137
|
+
return H(R) + ".Consumer";
|
|
138
138
|
case s:
|
|
139
139
|
var N = d;
|
|
140
140
|
return H(N._context) + ".Provider";
|
|
@@ -217,7 +217,7 @@ function gl() {
|
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
var b = S.ReactCurrentDispatcher, w;
|
|
220
|
-
function ei(d,
|
|
220
|
+
function ei(d, R, N) {
|
|
221
221
|
{
|
|
222
222
|
if (w === void 0)
|
|
223
223
|
try {
|
|
@@ -235,7 +235,7 @@ function gl() {
|
|
|
235
235
|
var Si = typeof WeakMap == "function" ? WeakMap : Map;
|
|
236
236
|
ai = new Si();
|
|
237
237
|
}
|
|
238
|
-
function Y(d,
|
|
238
|
+
function Y(d, R) {
|
|
239
239
|
if (!d || si)
|
|
240
240
|
return "";
|
|
241
241
|
{
|
|
@@ -250,7 +250,7 @@ function gl() {
|
|
|
250
250
|
var hi;
|
|
251
251
|
hi = b.current, b.current = null, z();
|
|
252
252
|
try {
|
|
253
|
-
if (
|
|
253
|
+
if (R) {
|
|
254
254
|
var qi = function() {
|
|
255
255
|
throw Error();
|
|
256
256
|
};
|
|
@@ -306,14 +306,14 @@ function gl() {
|
|
|
306
306
|
var Xe = d ? d.displayName || d.name : "", Ge = Xe ? ei(Xe) : "";
|
|
307
307
|
return typeof d == "function" && ai.set(d, Ge), Ge;
|
|
308
308
|
}
|
|
309
|
-
function Ri(d,
|
|
309
|
+
function Ri(d, R, N) {
|
|
310
310
|
return Y(d, !1);
|
|
311
311
|
}
|
|
312
312
|
function Ni(d) {
|
|
313
|
-
var
|
|
314
|
-
return !!(
|
|
313
|
+
var R = d.prototype;
|
|
314
|
+
return !!(R && R.isReactComponent);
|
|
315
315
|
}
|
|
316
|
-
function Ui(d,
|
|
316
|
+
function Ui(d, R, N) {
|
|
317
317
|
if (d == null)
|
|
318
318
|
return "";
|
|
319
319
|
if (typeof d == "function")
|
|
@@ -331,11 +331,11 @@ function gl() {
|
|
|
331
331
|
case l:
|
|
332
332
|
return Ri(d.render);
|
|
333
333
|
case p:
|
|
334
|
-
return Ui(d.type,
|
|
334
|
+
return Ui(d.type, R, N);
|
|
335
335
|
case u: {
|
|
336
336
|
var ii = d, Ki = ii._payload, hi = ii._init;
|
|
337
337
|
try {
|
|
338
|
-
return Ui(hi(Ki),
|
|
338
|
+
return Ui(hi(Ki), R, N);
|
|
339
339
|
} catch {
|
|
340
340
|
}
|
|
341
341
|
}
|
|
@@ -345,12 +345,12 @@ function gl() {
|
|
|
345
345
|
var Gi = Object.prototype.hasOwnProperty, Pi = {}, Q = S.ReactDebugCurrentFrame;
|
|
346
346
|
function T(d) {
|
|
347
347
|
if (d) {
|
|
348
|
-
var
|
|
348
|
+
var R = d._owner, N = Ui(d.type, d._source, R ? R.type : null);
|
|
349
349
|
Q.setExtraStackFrame(N);
|
|
350
350
|
} else
|
|
351
351
|
Q.setExtraStackFrame(null);
|
|
352
352
|
}
|
|
353
|
-
function
|
|
353
|
+
function _(d, R, N, ii, Ki) {
|
|
354
354
|
{
|
|
355
355
|
var hi = Function.call.bind(Gi);
|
|
356
356
|
for (var qi in d)
|
|
@@ -361,7 +361,7 @@ function gl() {
|
|
|
361
361
|
var xi = Error((ii || "React class") + ": " + N + " type `" + qi + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof d[qi] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
362
362
|
throw xi.name = "Invariant Violation", xi;
|
|
363
363
|
}
|
|
364
|
-
li = d[qi](
|
|
364
|
+
li = d[qi](R, qi, ii, N, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
365
365
|
} catch (ki) {
|
|
366
366
|
li = ki;
|
|
367
367
|
}
|
|
@@ -369,13 +369,13 @@ function gl() {
|
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
|
-
var
|
|
372
|
+
var Ci = Array.isArray;
|
|
373
373
|
function Ii(d) {
|
|
374
|
-
return
|
|
374
|
+
return Ci(d);
|
|
375
375
|
}
|
|
376
376
|
function zi(d) {
|
|
377
377
|
{
|
|
378
|
-
var
|
|
378
|
+
var R = typeof Symbol == "function" && Symbol.toStringTag, N = R && d[Symbol.toStringTag] || d.constructor.name || "Object";
|
|
379
379
|
return N;
|
|
380
380
|
}
|
|
381
381
|
}
|
|
@@ -402,30 +402,30 @@ function gl() {
|
|
|
402
402
|
ge = {};
|
|
403
403
|
function Gt(d) {
|
|
404
404
|
if (Gi.call(d, "ref")) {
|
|
405
|
-
var
|
|
406
|
-
if (
|
|
405
|
+
var R = Object.getOwnPropertyDescriptor(d, "ref").get;
|
|
406
|
+
if (R && R.isReactWarning)
|
|
407
407
|
return !1;
|
|
408
408
|
}
|
|
409
409
|
return d.ref !== void 0;
|
|
410
410
|
}
|
|
411
411
|
function bt(d) {
|
|
412
412
|
if (Gi.call(d, "key")) {
|
|
413
|
-
var
|
|
414
|
-
if (
|
|
413
|
+
var R = Object.getOwnPropertyDescriptor(d, "key").get;
|
|
414
|
+
if (R && R.isReactWarning)
|
|
415
415
|
return !1;
|
|
416
416
|
}
|
|
417
417
|
return d.key !== void 0;
|
|
418
418
|
}
|
|
419
|
-
function ni(d,
|
|
420
|
-
if (typeof d.ref == "string" && bi.current &&
|
|
419
|
+
function ni(d, R) {
|
|
420
|
+
if (typeof d.ref == "string" && bi.current && R && bi.current.stateNode !== R) {
|
|
421
421
|
var N = f(bi.current.type);
|
|
422
422
|
ge[N] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', f(bi.current.type), d.ref), ge[N] = !0);
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
function Ji(d,
|
|
425
|
+
function Ji(d, R) {
|
|
426
426
|
{
|
|
427
427
|
var N = function() {
|
|
428
|
-
At || (At = !0, k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
428
|
+
At || (At = !0, k("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", R));
|
|
429
429
|
};
|
|
430
430
|
N.isReactWarning = !0, Object.defineProperty(d, "key", {
|
|
431
431
|
get: N,
|
|
@@ -433,10 +433,10 @@ function gl() {
|
|
|
433
433
|
});
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
|
-
function Vi(d,
|
|
436
|
+
function Vi(d, R) {
|
|
437
437
|
{
|
|
438
438
|
var N = function() {
|
|
439
|
-
Yt || (Yt = !0, k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
439
|
+
Yt || (Yt = !0, k("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", R));
|
|
440
440
|
};
|
|
441
441
|
N.isReactWarning = !0, Object.defineProperty(d, "ref", {
|
|
442
442
|
get: N,
|
|
@@ -444,13 +444,13 @@ function gl() {
|
|
|
444
444
|
});
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
var ke = function(d,
|
|
447
|
+
var ke = function(d, R, N, ii, Ki, hi, qi) {
|
|
448
448
|
var li = {
|
|
449
449
|
// This tag allows us to uniquely identify this as a React Element
|
|
450
450
|
$$typeof: i,
|
|
451
451
|
// Built-in properties that belong on the element
|
|
452
452
|
type: d,
|
|
453
|
-
key:
|
|
453
|
+
key: R,
|
|
454
454
|
ref: N,
|
|
455
455
|
props: qi,
|
|
456
456
|
// Record the component responsible for creating this element.
|
|
@@ -473,12 +473,12 @@ function gl() {
|
|
|
473
473
|
value: Ki
|
|
474
474
|
}), Object.freeze && (Object.freeze(li.props), Object.freeze(li)), li;
|
|
475
475
|
};
|
|
476
|
-
function _i(d,
|
|
476
|
+
function _i(d, R, N, ii, Ki) {
|
|
477
477
|
{
|
|
478
478
|
var hi, qi = {}, li = null, xi = null;
|
|
479
|
-
N !== void 0 && (Ce(N), li = "" + N), bt(
|
|
480
|
-
for (hi in
|
|
481
|
-
Gi.call(
|
|
479
|
+
N !== void 0 && (Ce(N), li = "" + N), bt(R) && (Ce(R.key), li = "" + R.key), Gt(R) && (xi = R.ref, ni(R, Ki));
|
|
480
|
+
for (hi in R)
|
|
481
|
+
Gi.call(R, hi) && !re.hasOwnProperty(hi) && (qi[hi] = R[hi]);
|
|
482
482
|
if (d && d.defaultProps) {
|
|
483
483
|
var ki = d.defaultProps;
|
|
484
484
|
for (hi in ki)
|
|
@@ -494,7 +494,7 @@ function gl() {
|
|
|
494
494
|
var ye = S.ReactCurrentOwner, $i = S.ReactDebugCurrentFrame;
|
|
495
495
|
function Ti(d) {
|
|
496
496
|
if (d) {
|
|
497
|
-
var
|
|
497
|
+
var R = d._owner, N = Ui(d.type, d._source, R ? R.type : null);
|
|
498
498
|
$i.setExtraStackFrame(N);
|
|
499
499
|
} else
|
|
500
500
|
$i.setExtraStackFrame(null);
|
|
@@ -519,10 +519,10 @@ Check the render method of \`` + d + "`.";
|
|
|
519
519
|
function tl(d) {
|
|
520
520
|
{
|
|
521
521
|
if (d !== void 0) {
|
|
522
|
-
var
|
|
522
|
+
var R = d.fileName.replace(/^.*[\\\/]/, ""), N = d.lineNumber;
|
|
523
523
|
return `
|
|
524
524
|
|
|
525
|
-
Check your code at ` +
|
|
525
|
+
Check your code at ` + R + ":" + N + ".";
|
|
526
526
|
}
|
|
527
527
|
return "";
|
|
528
528
|
}
|
|
@@ -530,22 +530,22 @@ Check your code at ` + E + ":" + N + ".";
|
|
|
530
530
|
var or = {};
|
|
531
531
|
function al(d) {
|
|
532
532
|
{
|
|
533
|
-
var
|
|
534
|
-
if (!
|
|
533
|
+
var R = ar();
|
|
534
|
+
if (!R) {
|
|
535
535
|
var N = typeof d == "string" ? d : d.displayName || d.name;
|
|
536
|
-
N && (
|
|
536
|
+
N && (R = `
|
|
537
537
|
|
|
538
538
|
Check the top-level render call using <` + N + ">.");
|
|
539
539
|
}
|
|
540
|
-
return
|
|
540
|
+
return R;
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
|
-
function rr(d,
|
|
543
|
+
function rr(d, R) {
|
|
544
544
|
{
|
|
545
545
|
if (!d._store || d._store.validated || d.key != null)
|
|
546
546
|
return;
|
|
547
547
|
d._store.validated = !0;
|
|
548
|
-
var N = al(
|
|
548
|
+
var N = al(R);
|
|
549
549
|
if (or[N])
|
|
550
550
|
return;
|
|
551
551
|
or[N] = !0;
|
|
@@ -553,14 +553,14 @@ Check the top-level render call using <` + N + ">.");
|
|
|
553
553
|
d && d._owner && d._owner !== ye.current && (ii = " It was passed a child from " + f(d._owner.type) + "."), Ti(d), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', N, ii), Ti(null);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
|
-
function sr(d,
|
|
556
|
+
function sr(d, R) {
|
|
557
557
|
{
|
|
558
558
|
if (typeof d != "object")
|
|
559
559
|
return;
|
|
560
560
|
if (Ii(d))
|
|
561
561
|
for (var N = 0; N < d.length; N++) {
|
|
562
562
|
var ii = d[N];
|
|
563
|
-
Ve(ii) && rr(ii,
|
|
563
|
+
Ve(ii) && rr(ii, R);
|
|
564
564
|
}
|
|
565
565
|
else if (Ve(d))
|
|
566
566
|
d._store && (d._store.validated = !0);
|
|
@@ -568,39 +568,39 @@ Check the top-level render call using <` + N + ">.");
|
|
|
568
568
|
var Ki = K(d);
|
|
569
569
|
if (typeof Ki == "function" && Ki !== d.entries)
|
|
570
570
|
for (var hi = Ki.call(d), qi; !(qi = hi.next()).done; )
|
|
571
|
-
Ve(qi.value) && rr(qi.value,
|
|
571
|
+
Ve(qi.value) && rr(qi.value, R);
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
function ol(d) {
|
|
576
576
|
{
|
|
577
|
-
var
|
|
578
|
-
if (
|
|
577
|
+
var R = d.type;
|
|
578
|
+
if (R == null || typeof R == "string")
|
|
579
579
|
return;
|
|
580
580
|
var N;
|
|
581
|
-
if (typeof
|
|
582
|
-
N =
|
|
583
|
-
else if (typeof
|
|
581
|
+
if (typeof R == "function")
|
|
582
|
+
N = R.propTypes;
|
|
583
|
+
else if (typeof R == "object" && (R.$$typeof === l || // Note: Memo only checks outer props here.
|
|
584
584
|
// Inner props are checked in the reconciler.
|
|
585
|
-
|
|
586
|
-
N =
|
|
585
|
+
R.$$typeof === p))
|
|
586
|
+
N = R.propTypes;
|
|
587
587
|
else
|
|
588
588
|
return;
|
|
589
589
|
if (N) {
|
|
590
|
-
var ii = f(
|
|
591
|
-
|
|
592
|
-
} else if (
|
|
590
|
+
var ii = f(R);
|
|
591
|
+
_(N, d.props, "prop", ii, d);
|
|
592
|
+
} else if (R.PropTypes !== void 0 && !De) {
|
|
593
593
|
De = !0;
|
|
594
|
-
var Ki = f(
|
|
594
|
+
var Ki = f(R);
|
|
595
595
|
k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Ki || "Unknown");
|
|
596
596
|
}
|
|
597
|
-
typeof
|
|
597
|
+
typeof R.getDefaultProps == "function" && !R.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
function rl(d) {
|
|
601
601
|
{
|
|
602
|
-
for (var
|
|
603
|
-
var ii =
|
|
602
|
+
for (var R = Object.keys(d.props), N = 0; N < R.length; N++) {
|
|
603
|
+
var ii = R[N];
|
|
604
604
|
if (ii !== "children" && ii !== "key") {
|
|
605
605
|
Ti(d), k("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", ii), Ti(null);
|
|
606
606
|
break;
|
|
@@ -610,9 +610,9 @@ Check the top-level render call using <` + N + ">.");
|
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
612
|
var nr = {};
|
|
613
|
-
function lr(d,
|
|
613
|
+
function lr(d, R, N, ii, Ki, hi) {
|
|
614
614
|
{
|
|
615
|
-
var qi =
|
|
615
|
+
var qi = $(d);
|
|
616
616
|
if (!qi) {
|
|
617
617
|
var li = "";
|
|
618
618
|
(d === void 0 || typeof d == "object" && d !== null && Object.keys(d).length === 0) && (li += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
@@ -621,11 +621,11 @@ Check the top-level render call using <` + N + ">.");
|
|
|
621
621
|
var ki;
|
|
622
622
|
d === null ? ki = "null" : Ii(d) ? ki = "array" : d !== void 0 && d.$$typeof === i ? (ki = "<" + (f(d.type) || "Unknown") + " />", li = " Did you accidentally export a JSX literal instead of a component?") : ki = typeof d, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ki, li);
|
|
623
623
|
}
|
|
624
|
-
var Wi = _i(d,
|
|
624
|
+
var Wi = _i(d, R, N, Ki, hi);
|
|
625
625
|
if (Wi == null)
|
|
626
626
|
return Wi;
|
|
627
627
|
if (qi) {
|
|
628
|
-
var ie =
|
|
628
|
+
var ie = R.children;
|
|
629
629
|
if (ie !== void 0)
|
|
630
630
|
if (ii)
|
|
631
631
|
if (Ii(ie)) {
|
|
@@ -637,8 +637,8 @@ Check the top-level render call using <` + N + ">.");
|
|
|
637
637
|
else
|
|
638
638
|
sr(ie, d);
|
|
639
639
|
}
|
|
640
|
-
if (Gi.call(
|
|
641
|
-
var Ge = f(d), wi = Object.keys(
|
|
640
|
+
if (Gi.call(R, "key")) {
|
|
641
|
+
var Ge = f(d), wi = Object.keys(R).filter(function(ml) {
|
|
642
642
|
return ml !== "key";
|
|
643
643
|
}), Qa = wi.length > 0 ? "{key: someKey, " + wi.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
644
644
|
if (!nr[Ge + Qa]) {
|
|
@@ -654,11 +654,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
654
654
|
return d === a ? rl(Wi) : ol(Wi), Wi;
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
|
-
function sl(d,
|
|
658
|
-
return lr(d,
|
|
657
|
+
function sl(d, R, N) {
|
|
658
|
+
return lr(d, R, N, !0);
|
|
659
659
|
}
|
|
660
|
-
function nl(d,
|
|
661
|
-
return lr(d,
|
|
660
|
+
function nl(d, R, N) {
|
|
661
|
+
return lr(d, R, N, !1);
|
|
662
662
|
}
|
|
663
663
|
var ll = nl, Al = sl;
|
|
664
664
|
mt.Fragment = a, mt.jsx = ll, mt.jsxs = Al;
|
|
@@ -1142,11 +1142,11 @@ function ya(e, i, t) {
|
|
|
1142
1142
|
if (y.endsWith(Z, "{}"))
|
|
1143
1143
|
Z = a ? Z : Z.slice(0, -2), c = JSON.stringify(c);
|
|
1144
1144
|
else if (y.isArray(c) && mA(c) || (y.isFileList(c) || y.endsWith(Z, "[]")) && (S = y.toArray(c)))
|
|
1145
|
-
return Z = ks(Z), S.forEach(function(
|
|
1146
|
-
!(y.isUndefined(
|
|
1145
|
+
return Z = ks(Z), S.forEach(function(E, J) {
|
|
1146
|
+
!(y.isUndefined(E) || E === null) && i.append(
|
|
1147
1147
|
// eslint-disable-next-line no-nested-ternary
|
|
1148
1148
|
s === !0 ? pr([Z], J, r) : s === null ? Z : Z + "[]",
|
|
1149
|
-
A(
|
|
1149
|
+
A(E)
|
|
1150
1150
|
);
|
|
1151
1151
|
}), !1;
|
|
1152
1152
|
}
|
|
@@ -1848,13 +1848,13 @@ const Gs = (e) => {
|
|
|
1848
1848
|
function S() {
|
|
1849
1849
|
if (!K)
|
|
1850
1850
|
return;
|
|
1851
|
-
const
|
|
1851
|
+
const E = Ae.from(
|
|
1852
1852
|
"getAllResponseHeaders" in K && K.getAllResponseHeaders()
|
|
1853
1853
|
), h = {
|
|
1854
1854
|
data: !n || n === "text" || n === "json" ? K.responseText : K.response,
|
|
1855
1855
|
status: K.status,
|
|
1856
1856
|
statusText: K.statusText,
|
|
1857
|
-
headers:
|
|
1857
|
+
headers: E,
|
|
1858
1858
|
config: e,
|
|
1859
1859
|
request: K
|
|
1860
1860
|
};
|
|
@@ -1882,8 +1882,8 @@ const Gs = (e) => {
|
|
|
1882
1882
|
)), K = null;
|
|
1883
1883
|
}, r === void 0 && s.setContentType(null), "setRequestHeader" in K && y.forEach(s.toJSON(), function(J, h) {
|
|
1884
1884
|
K.setRequestHeader(h, J);
|
|
1885
|
-
}), y.isUndefined(o.withCredentials) || (K.withCredentials = !!o.withCredentials), n && n !== "json" && (K.responseType = o.responseType), A && ([u, c] = ra(A, !0), K.addEventListener("progress", u)), l && K.upload && ([p, I] = ra(l), K.upload.addEventListener("progress", p), K.upload.addEventListener("loadend", I)), (o.cancelToken || o.signal) && (q = (
|
|
1886
|
-
K && (a(!
|
|
1885
|
+
}), y.isUndefined(o.withCredentials) || (K.withCredentials = !!o.withCredentials), n && n !== "json" && (K.responseType = o.responseType), A && ([u, c] = ra(A, !0), K.addEventListener("progress", u)), l && K.upload && ([p, I] = ra(l), K.upload.addEventListener("progress", p), K.upload.addEventListener("loadend", I)), (o.cancelToken || o.signal) && (q = (E) => {
|
|
1886
|
+
K && (a(!E || E.type ? new tt(null, e, K) : E), K.abort(), K = null);
|
|
1887
1887
|
}, o.cancelToken && o.cancelToken.subscribe(q), o.signal && (o.signal.aborted ? q() : o.signal.addEventListener("abort", q)));
|
|
1888
1888
|
const k = YA(o.url);
|
|
1889
1889
|
if (k && ji.protocols.indexOf(k) === -1) {
|
|
@@ -2036,17 +2036,17 @@ const Gs = (e) => {
|
|
|
2036
2036
|
method: K,
|
|
2037
2037
|
data: S,
|
|
2038
2038
|
signal: k,
|
|
2039
|
-
cancelToken:
|
|
2039
|
+
cancelToken: E,
|
|
2040
2040
|
timeout: J,
|
|
2041
2041
|
onDownloadProgress: h,
|
|
2042
2042
|
onUploadProgress: G,
|
|
2043
2043
|
responseType: j,
|
|
2044
2044
|
headers: F,
|
|
2045
2045
|
withCredentials: v = "same-origin",
|
|
2046
|
-
fetchOptions:
|
|
2046
|
+
fetchOptions: $
|
|
2047
2047
|
} = Gs(c), X = i || fetch;
|
|
2048
2048
|
j = j ? (j + "").toLowerCase() : "text";
|
|
2049
|
-
let H = TA([k,
|
|
2049
|
+
let H = TA([k, E && E.toAbortSignal()], J), f = null;
|
|
2050
2050
|
const g = H && H.unsubscribe && (() => {
|
|
2051
2051
|
H.unsubscribe();
|
|
2052
2052
|
});
|
|
@@ -2068,7 +2068,7 @@ const Gs = (e) => {
|
|
|
2068
2068
|
}
|
|
2069
2069
|
y.isString(v) || (v = v ? "include" : "omit");
|
|
2070
2070
|
const L = r && "credentials" in t.prototype, C = {
|
|
2071
|
-
|
|
2071
|
+
...$,
|
|
2072
2072
|
signal: H,
|
|
2073
2073
|
method: K.toUpperCase(),
|
|
2074
2074
|
headers: F.normalize().toJSON(),
|
|
@@ -2077,7 +2077,7 @@ const Gs = (e) => {
|
|
|
2077
2077
|
credentials: L ? v : void 0
|
|
2078
2078
|
};
|
|
2079
2079
|
f = r && new t(Z, C);
|
|
2080
|
-
let W = await (r ? X(f,
|
|
2080
|
+
let W = await (r ? X(f, $) : X(Z, C));
|
|
2081
2081
|
const D = q && (j === "stream" || j === "response");
|
|
2082
2082
|
if (q && (h || D && g)) {
|
|
2083
2083
|
const M = {};
|
|
@@ -2766,7 +2766,7 @@ function lq() {
|
|
|
2766
2766
|
return ci;
|
|
2767
2767
|
Er = 1;
|
|
2768
2768
|
var e = typeof Symbol == "function" && Symbol.for, i = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, n = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, A = e ? Symbol.for("react.concurrent_mode") : 60111, q = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, u = e ? Symbol.for("react.suspense_list") : 60120, I = e ? Symbol.for("react.memo") : 60115, c = e ? Symbol.for("react.lazy") : 60116, Z = e ? Symbol.for("react.block") : 60121, K = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
2769
|
-
function
|
|
2769
|
+
function E(h) {
|
|
2770
2770
|
if (typeof h == "object" && h !== null) {
|
|
2771
2771
|
var G = h.$$typeof;
|
|
2772
2772
|
switch (G) {
|
|
@@ -2797,35 +2797,35 @@ function lq() {
|
|
|
2797
2797
|
}
|
|
2798
2798
|
}
|
|
2799
2799
|
function J(h) {
|
|
2800
|
-
return
|
|
2800
|
+
return E(h) === A;
|
|
2801
2801
|
}
|
|
2802
2802
|
return ci.AsyncMode = l, ci.ConcurrentMode = A, ci.ContextConsumer = n, ci.ContextProvider = s, ci.Element = i, ci.ForwardRef = q, ci.Fragment = a, ci.Lazy = c, ci.Memo = I, ci.Portal = t, ci.Profiler = r, ci.StrictMode = o, ci.Suspense = p, ci.isAsyncMode = function(h) {
|
|
2803
|
-
return J(h) ||
|
|
2803
|
+
return J(h) || E(h) === l;
|
|
2804
2804
|
}, ci.isConcurrentMode = J, ci.isContextConsumer = function(h) {
|
|
2805
|
-
return
|
|
2805
|
+
return E(h) === n;
|
|
2806
2806
|
}, ci.isContextProvider = function(h) {
|
|
2807
|
-
return
|
|
2807
|
+
return E(h) === s;
|
|
2808
2808
|
}, ci.isElement = function(h) {
|
|
2809
2809
|
return typeof h == "object" && h !== null && h.$$typeof === i;
|
|
2810
2810
|
}, ci.isForwardRef = function(h) {
|
|
2811
|
-
return
|
|
2811
|
+
return E(h) === q;
|
|
2812
2812
|
}, ci.isFragment = function(h) {
|
|
2813
|
-
return
|
|
2813
|
+
return E(h) === a;
|
|
2814
2814
|
}, ci.isLazy = function(h) {
|
|
2815
|
-
return
|
|
2815
|
+
return E(h) === c;
|
|
2816
2816
|
}, ci.isMemo = function(h) {
|
|
2817
|
-
return
|
|
2817
|
+
return E(h) === I;
|
|
2818
2818
|
}, ci.isPortal = function(h) {
|
|
2819
|
-
return
|
|
2819
|
+
return E(h) === t;
|
|
2820
2820
|
}, ci.isProfiler = function(h) {
|
|
2821
|
-
return
|
|
2821
|
+
return E(h) === r;
|
|
2822
2822
|
}, ci.isStrictMode = function(h) {
|
|
2823
|
-
return
|
|
2823
|
+
return E(h) === o;
|
|
2824
2824
|
}, ci.isSuspense = function(h) {
|
|
2825
|
-
return
|
|
2825
|
+
return E(h) === p;
|
|
2826
2826
|
}, ci.isValidElementType = function(h) {
|
|
2827
2827
|
return typeof h == "string" || typeof h == "function" || h === a || h === A || h === r || h === o || h === p || h === u || typeof h == "object" && h !== null && (h.$$typeof === c || h.$$typeof === I || h.$$typeof === s || h.$$typeof === n || h.$$typeof === q || h.$$typeof === K || h.$$typeof === S || h.$$typeof === k || h.$$typeof === Z);
|
|
2828
|
-
}, ci.typeOf =
|
|
2828
|
+
}, ci.typeOf = E, ci;
|
|
2829
2829
|
}
|
|
2830
2830
|
var di = {};
|
|
2831
2831
|
/** @license React v16.13.1
|
|
@@ -2840,7 +2840,7 @@ var Rr;
|
|
|
2840
2840
|
function Aq() {
|
|
2841
2841
|
return Rr || (Rr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2842
2842
|
var e = typeof Symbol == "function" && Symbol.for, i = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, a = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, r = e ? Symbol.for("react.profiler") : 60114, s = e ? Symbol.for("react.provider") : 60109, n = e ? Symbol.for("react.context") : 60110, l = e ? Symbol.for("react.async_mode") : 60111, A = e ? Symbol.for("react.concurrent_mode") : 60111, q = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, u = e ? Symbol.for("react.suspense_list") : 60120, I = e ? Symbol.for("react.memo") : 60115, c = e ? Symbol.for("react.lazy") : 60116, Z = e ? Symbol.for("react.block") : 60121, K = e ? Symbol.for("react.fundamental") : 60117, S = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
2843
|
-
function
|
|
2843
|
+
function E(Y) {
|
|
2844
2844
|
return typeof Y == "string" || typeof Y == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2845
2845
|
Y === a || Y === A || Y === r || Y === o || Y === p || Y === u || typeof Y == "object" && Y !== null && (Y.$$typeof === c || Y.$$typeof === I || Y.$$typeof === s || Y.$$typeof === n || Y.$$typeof === q || Y.$$typeof === K || Y.$$typeof === S || Y.$$typeof === k || Y.$$typeof === Z);
|
|
2846
2846
|
}
|
|
@@ -2876,7 +2876,7 @@ function Aq() {
|
|
|
2876
2876
|
}
|
|
2877
2877
|
}
|
|
2878
2878
|
}
|
|
2879
|
-
var h = l, G = A, j = n, F = s, v = i,
|
|
2879
|
+
var h = l, G = A, j = n, F = s, v = i, $ = q, X = a, H = c, f = I, g = t, U = r, L = o, C = p, W = !1;
|
|
2880
2880
|
function D(Y) {
|
|
2881
2881
|
return W || (W = !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.")), V(Y) || J(Y) === l;
|
|
2882
2882
|
}
|
|
@@ -2916,7 +2916,7 @@ function Aq() {
|
|
|
2916
2916
|
function Si(Y) {
|
|
2917
2917
|
return J(Y) === p;
|
|
2918
2918
|
}
|
|
2919
|
-
di.AsyncMode = h, di.ConcurrentMode = G, di.ContextConsumer = j, di.ContextProvider = F, di.Element = v, di.ForwardRef =
|
|
2919
|
+
di.AsyncMode = h, di.ConcurrentMode = G, di.ContextConsumer = j, di.ContextProvider = F, di.Element = v, di.ForwardRef = $, di.Fragment = X, di.Lazy = H, di.Memo = f, di.Portal = g, di.Profiler = U, di.StrictMode = L, di.Suspense = C, di.isAsyncMode = D, di.isConcurrentMode = V, di.isContextConsumer = M, di.isContextProvider = x, di.isElement = B, di.isForwardRef = z, di.isFragment = P, di.isLazy = b, di.isMemo = w, di.isPortal = ei, di.isProfiler = si, di.isStrictMode = ai, di.isSuspense = Si, di.isValidElementType = E, di.typeOf = J;
|
|
2920
2920
|
}()), di;
|
|
2921
2921
|
}
|
|
2922
2922
|
var Ur;
|
|
@@ -3072,11 +3072,11 @@ function pq() {
|
|
|
3072
3072
|
string: S("string"),
|
|
3073
3073
|
symbol: S("symbol"),
|
|
3074
3074
|
any: k(),
|
|
3075
|
-
arrayOf:
|
|
3075
|
+
arrayOf: E,
|
|
3076
3076
|
element: J(),
|
|
3077
3077
|
elementType: h(),
|
|
3078
3078
|
instanceOf: G,
|
|
3079
|
-
node:
|
|
3079
|
+
node: $(),
|
|
3080
3080
|
objectOf: F,
|
|
3081
3081
|
oneOf: j,
|
|
3082
3082
|
oneOfType: v,
|
|
@@ -3130,7 +3130,7 @@ function pq() {
|
|
|
3130
3130
|
function k() {
|
|
3131
3131
|
return K(s);
|
|
3132
3132
|
}
|
|
3133
|
-
function
|
|
3133
|
+
function E(V) {
|
|
3134
3134
|
function M(x, B, z, P, b) {
|
|
3135
3135
|
if (typeof V != "function")
|
|
3136
3136
|
return new Z("Property `" + b + "` of component `" + z + "` has invalid PropType notation inside arrayOf.");
|
|
@@ -3236,7 +3236,7 @@ function pq() {
|
|
|
3236
3236
|
}
|
|
3237
3237
|
return K(B);
|
|
3238
3238
|
}
|
|
3239
|
-
function
|
|
3239
|
+
function $() {
|
|
3240
3240
|
function V(M, x, B, z, P) {
|
|
3241
3241
|
return g(M[x]) ? null : new Z("Invalid " + z + " `" + P + "` supplied to " + ("`" + B + "`, expected a ReactNode."));
|
|
3242
3242
|
}
|
|
@@ -4800,8 +4800,8 @@ class qa extends Ea {
|
|
|
4800
4800
|
}
|
|
4801
4801
|
const p = this.resolve(i, t);
|
|
4802
4802
|
let u = p && p.res;
|
|
4803
|
-
const I = p && p.usedKey || s, c = p && p.exactUsedKey || s, Z = Object.prototype.toString.apply(u), K = ["[object Number]", "[object Function]", "[object RegExp]"], S = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, k = !this.i18nFormat || this.i18nFormat.handleAsObject,
|
|
4804
|
-
if (k && u &&
|
|
4803
|
+
const I = p && p.usedKey || s, c = p && p.exactUsedKey || s, Z = Object.prototype.toString.apply(u), K = ["[object Number]", "[object Function]", "[object RegExp]"], S = t.joinArrays !== void 0 ? t.joinArrays : this.options.joinArrays, k = !this.i18nFormat || this.i18nFormat.handleAsObject, E = !ti(u) && typeof u != "boolean" && typeof u != "number";
|
|
4804
|
+
if (k && u && E && K.indexOf(Z) < 0 && !(ti(S) && Array.isArray(u))) {
|
|
4805
4805
|
if (!t.returnObjects && !this.options.returnObjects) {
|
|
4806
4806
|
this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
|
|
4807
4807
|
const J = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(I, u, {
|
|
@@ -4829,7 +4829,7 @@ class qa extends Ea {
|
|
|
4829
4829
|
let J = !1, h = !1;
|
|
4830
4830
|
const G = t.count !== void 0 && !ti(t.count), j = qa.hasDefaultValue(t), F = G ? this.pluralResolver.getSuffix(A, t.count, t) : "", v = t.ordinal && G ? this.pluralResolver.getSuffix(A, t.count, {
|
|
4831
4831
|
ordinal: !1
|
|
4832
|
-
}) : "",
|
|
4832
|
+
}) : "", $ = G && !t.ordinal && t.count === 0 && this.pluralResolver.shouldUseIntlApi(), X = $ && t[`defaultValue${this.options.pluralSeparator}zero`] || t[`defaultValue${F}`] || t[`defaultValue${v}`] || t.defaultValue;
|
|
4833
4833
|
!this.isValidLookup(u) && j && (J = !0, u = X), this.isValidLookup(u) || (h = !0, u = s);
|
|
4834
4834
|
const f = (t.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && h ? void 0 : u, g = j && X !== u && this.options.updateMissing;
|
|
4835
4835
|
if (h || J || g) {
|
|
@@ -4853,7 +4853,7 @@ class qa extends Ea {
|
|
|
4853
4853
|
};
|
|
4854
4854
|
this.options.saveMissing && (this.options.saveMissingPlurals && G ? U.forEach((W) => {
|
|
4855
4855
|
const D = this.pluralResolver.getSuffixes(W, t);
|
|
4856
|
-
|
|
4856
|
+
$ && t[`defaultValue${this.options.pluralSeparator}zero`] && D.indexOf(`${this.options.pluralSeparator}zero`) < 0 && D.push(`${this.options.pluralSeparator}zero`), D.forEach((V) => {
|
|
4857
4857
|
C([W], s + V, t[`defaultValue${V}`] || X);
|
|
4858
4858
|
});
|
|
4859
4859
|
}) : C(U, s, X));
|
|
@@ -4935,9 +4935,9 @@ class qa extends Ea {
|
|
|
4935
4935
|
k.push(j), u && (k.push(j + J), t.ordinal && J.indexOf(G) === 0 && k.push(j + J.replace(G, this.options.pluralSeparator)), I && k.push(j + h));
|
|
4936
4936
|
}
|
|
4937
4937
|
}
|
|
4938
|
-
let
|
|
4939
|
-
for (;
|
|
4940
|
-
this.isValidLookup(a) || (r =
|
|
4938
|
+
let E;
|
|
4939
|
+
for (; E = k.pop(); )
|
|
4940
|
+
this.isValidLookup(a) || (r = E, a = this.getResource(S, K, E, t));
|
|
4941
4941
|
}));
|
|
4942
4942
|
});
|
|
4943
4943
|
}), {
|
|
@@ -6142,7 +6142,7 @@ const dp = (e, i, ...t) => i.read(...t), Zp = (e, i, ...t) => i.write(...t), Sp
|
|
|
6142
6142
|
function k() {
|
|
6143
6143
|
r.has(i) && (Z(e, i), u(e), p(e));
|
|
6144
6144
|
}
|
|
6145
|
-
function
|
|
6145
|
+
function E(F) {
|
|
6146
6146
|
var v;
|
|
6147
6147
|
if (F === i) {
|
|
6148
6148
|
const X = q(e, F);
|
|
@@ -6153,11 +6153,11 @@ const dp = (e, i, ...t) => i.read(...t), Zp = (e, i, ...t) => i.write(...t), Sp
|
|
|
6153
6153
|
throw new Error("no atom init");
|
|
6154
6154
|
return ma(X);
|
|
6155
6155
|
}
|
|
6156
|
-
const
|
|
6156
|
+
const $ = I(e, F);
|
|
6157
6157
|
try {
|
|
6158
|
-
return ma(
|
|
6158
|
+
return ma($);
|
|
6159
6159
|
} finally {
|
|
6160
|
-
K.d.set(F,
|
|
6160
|
+
K.d.set(F, $.n), un(K.v) && In(i, K.v, $), (v = r.get(F)) == null || v.t.add(i), S || k();
|
|
6161
6161
|
}
|
|
6162
6162
|
}
|
|
6163
6163
|
let J, h;
|
|
@@ -6177,7 +6177,7 @@ const dp = (e, i, ...t) => i.read(...t), Zp = (e, i, ...t) => i.write(...t), Sp
|
|
|
6177
6177
|
}
|
|
6178
6178
|
}, j = K.n;
|
|
6179
6179
|
try {
|
|
6180
|
-
const F = A(e, i,
|
|
6180
|
+
const F = A(e, i, E, G);
|
|
6181
6181
|
return Ia(e, i, F), ua(F) && (Io(F, () => J == null ? void 0 : J.abort()), F.then(k, k)), (t = l.r) == null || t.call(l, i), K;
|
|
6182
6182
|
} catch (F) {
|
|
6183
6183
|
return delete K.v, K.e = F, ++K.n, K;
|
|
@@ -6198,13 +6198,13 @@ const dp = (e, i, ...t) => i.read(...t), Zp = (e, i, ...t) => i.write(...t), Sp
|
|
|
6198
6198
|
let I = !0;
|
|
6199
6199
|
const c = (K) => ma(q(e, K)), Z = (K, ...S) => {
|
|
6200
6200
|
var k;
|
|
6201
|
-
const
|
|
6201
|
+
const E = n(e, K);
|
|
6202
6202
|
try {
|
|
6203
6203
|
if (K === i) {
|
|
6204
6204
|
if (!mn(K))
|
|
6205
6205
|
throw new Error("atom not writable");
|
|
6206
|
-
const J =
|
|
6207
|
-
Ia(e, K, h), u(e, K), J !==
|
|
6206
|
+
const J = E.n, h = S[0];
|
|
6207
|
+
Ia(e, K, h), u(e, K), J !== E.n && (o.add(K), (k = r.c) == null || k.call(r, K), p(e, K));
|
|
6208
6208
|
return;
|
|
6209
6209
|
} else
|
|
6210
6210
|
return cn(e, K, ...S);
|
|
@@ -6527,12 +6527,12 @@ const hn = Rt(""), Cn = Rt(!1), Ra = Rt([]), gn = Rt([
|
|
|
6527
6527
|
{ urlType: A }
|
|
6528
6528
|
).then(async (k) => {
|
|
6529
6529
|
var h, G, j, F;
|
|
6530
|
-
const
|
|
6531
|
-
if (
|
|
6532
|
-
const v = await nn(i, a),
|
|
6533
|
-
|
|
6530
|
+
const E = new URL("/preview", o);
|
|
6531
|
+
if (E.searchParams.set("versionId", e), E.searchParams.set(t.toLowerCase(), "true"), i && (t === "Playable" || t === "Ready")) {
|
|
6532
|
+
const v = await nn(i, a), $ = (G = (h = v == null ? void 0 : v.data) == null ? void 0 : h.globalProps) == null ? void 0 : G.defaultLandscape, X = (F = (j = v == null ? void 0 : v.data) == null ? void 0 : j.globalProps) == null ? void 0 : F.defaultPhoneIndex;
|
|
6533
|
+
$ && E.searchParams.append("landscape", "true"), X !== void 0 && E.searchParams.append("phoneIndex", X.toString());
|
|
6534
6534
|
}
|
|
6535
|
-
at(
|
|
6535
|
+
at(E.toString()) ? (I(!0), setTimeout(() => I(!1), 2e3)) : r(E.toString()), p(!1);
|
|
6536
6536
|
}).catch((k) => {
|
|
6537
6537
|
p(!1);
|
|
6538
6538
|
});
|
|
@@ -7220,7 +7220,7 @@ Mu.default.subscribe(Lu);
|
|
|
7220
7220
|
return function(U, L, C) {
|
|
7221
7221
|
return L && g(U.prototype, L), C && g(U, C), U;
|
|
7222
7222
|
};
|
|
7223
|
-
}(), r = pi, s = Wa, n = h(s), l = pe, A = J(l), q = $p, p = h(q), u = ue, I = J(u), c = ot, Z = J(c), K = qe, S = h(K), k = rt,
|
|
7223
|
+
}(), r = pi, s = Wa, n = h(s), l = pe, A = J(l), q = $p, p = h(q), u = ue, I = J(u), c = ot, Z = J(c), K = qe, S = h(K), k = rt, E = h(k);
|
|
7224
7224
|
function J(g) {
|
|
7225
7225
|
if (g && g.__esModule)
|
|
7226
7226
|
return g;
|
|
@@ -7250,7 +7250,7 @@ Mu.default.subscribe(Lu);
|
|
|
7250
7250
|
var v = {
|
|
7251
7251
|
overlay: "ReactModal__Overlay",
|
|
7252
7252
|
content: "ReactModal__Content"
|
|
7253
|
-
},
|
|
7253
|
+
}, $ = function(U) {
|
|
7254
7254
|
return U.code === "Tab" || U.keyCode === 9;
|
|
7255
7255
|
}, X = function(U) {
|
|
7256
7256
|
return U.code === "Escape" || U.keyCode === 27;
|
|
@@ -7265,7 +7265,7 @@ Mu.default.subscribe(Lu);
|
|
|
7265
7265
|
C.content = W, C.props.contentRef && C.props.contentRef(W);
|
|
7266
7266
|
}, C.afterClose = function() {
|
|
7267
7267
|
var W = C.props, D = W.appElement, V = W.ariaHideApp, M = W.htmlOpenClassName, x = W.bodyOpenClassName, B = W.parentSelector, z = B && B().ownerDocument || document;
|
|
7268
|
-
x && Z.remove(z.body, x), M && Z.remove(z.getElementsByTagName("html")[0], M), V && H > 0 && (H -= 1, H === 0 && I.show(D)), C.props.shouldFocusAfterRender && (C.props.shouldReturnFocusAfterClose ? (A.returnFocus(C.props.preventScroll), A.teardownScopedFocus()) : A.popWithoutFocus()), C.props.onAfterClose && C.props.onAfterClose(),
|
|
7268
|
+
x && Z.remove(z.body, x), M && Z.remove(z.getElementsByTagName("html")[0], M), V && H > 0 && (H -= 1, H === 0 && I.show(D)), C.props.shouldFocusAfterRender && (C.props.shouldReturnFocusAfterClose ? (A.returnFocus(C.props.preventScroll), A.teardownScopedFocus()) : A.popWithoutFocus()), C.props.onAfterClose && C.props.onAfterClose(), E.default.deregister(C);
|
|
7269
7269
|
}, C.open = function() {
|
|
7270
7270
|
C.beforeOpen(), C.state.afterOpen && C.state.beforeClose ? (clearTimeout(C.closeTimer), C.setState({ beforeClose: !1 })) : (C.props.shouldFocusAfterRender && (A.setupScopedFocus(C.node), A.markForFocusLater()), C.setState({ isOpen: !0 }, function() {
|
|
7271
7271
|
C.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -7292,7 +7292,7 @@ Mu.default.subscribe(Lu);
|
|
|
7292
7292
|
closesAt: null
|
|
7293
7293
|
}, C.afterClose);
|
|
7294
7294
|
}, C.handleKeyDown = function(W) {
|
|
7295
|
-
|
|
7295
|
+
$(W) && (0, p.default)(C.content, W), C.props.shouldCloseOnEsc && X(W) && (W.stopPropagation(), C.requestClose(W));
|
|
7296
7296
|
}, C.handleOverlayOnClick = function(W) {
|
|
7297
7297
|
C.shouldClose === null && (C.shouldClose = !0), C.shouldClose && C.props.shouldCloseOnOverlayClick && (C.ownerHandlesClose() ? C.requestClose(W) : C.focusContent()), C.shouldClose = null;
|
|
7298
7298
|
}, C.handleContentOnMouseUp = function() {
|
|
@@ -7346,7 +7346,7 @@ Mu.default.subscribe(Lu);
|
|
|
7346
7346
|
key: "beforeOpen",
|
|
7347
7347
|
value: function() {
|
|
7348
7348
|
var C = this.props, W = C.appElement, D = C.ariaHideApp, V = C.htmlOpenClassName, M = C.bodyOpenClassName, x = C.parentSelector, B = x && x().ownerDocument || document;
|
|
7349
|
-
M && Z.add(B.body, M), V && Z.add(B.getElementsByTagName("html")[0], V), D && (H += 1, I.hide(W)),
|
|
7349
|
+
M && Z.add(B.body, M), V && Z.add(B.getElementsByTagName("html")[0], V), D && (H += 1, I.hide(W)), E.default.register(this);
|
|
7350
7350
|
}
|
|
7351
7351
|
// Don't steal focus from inner elements
|
|
7352
7352
|
}, {
|
|
@@ -7775,8 +7775,8 @@ function La(e) {
|
|
|
7775
7775
|
let { children: n, position: l, preventExitTransition: A, done: q, nodeRef: p, isIn: u } = s;
|
|
7776
7776
|
const I = a ? `${i}--${l}` : i, c = a ? `${t}--${l}` : t, Z = Re(0);
|
|
7777
7777
|
return dl(() => {
|
|
7778
|
-
const K = p.current, S = I.split(" "), k = (
|
|
7779
|
-
|
|
7778
|
+
const K = p.current, S = I.split(" "), k = (E) => {
|
|
7779
|
+
E.target === p.current && (K.dispatchEvent(new Event("d")), K.removeEventListener("animationend", k), K.removeEventListener("animationcancel", k), Z.current === 0 && E.type !== "animationcancel" && K.classList.remove(...S));
|
|
7780
7780
|
};
|
|
7781
7781
|
K.classList.add(...S), K.addEventListener("animationend", k), K.addEventListener("animationcancel", k);
|
|
7782
7782
|
}, []), yi(() => {
|
|
@@ -7842,12 +7842,12 @@ function _u(e) {
|
|
|
7842
7842
|
return !o.current || n.props.enableMultiContainer && H.containerId !== n.props.containerId || r.has(H.toastId) && H.updateId == null;
|
|
7843
7843
|
}(S))
|
|
7844
7844
|
return;
|
|
7845
|
-
const { toastId: k, updateId:
|
|
7845
|
+
const { toastId: k, updateId: E, data: J } = S, { props: h } = n, G = () => A(k), j = E == null;
|
|
7846
7846
|
j && n.count++;
|
|
7847
7847
|
const F = { ...h, style: h.toastStyle, key: n.toastKey++, ...Object.fromEntries(Object.entries(S).filter((H) => {
|
|
7848
7848
|
let [f, g] = H;
|
|
7849
7849
|
return g != null;
|
|
7850
|
-
})), toastId: k, updateId:
|
|
7850
|
+
})), toastId: k, updateId: E, data: J, closeToast: G, isIn: !1, className: $t(S.className || h.toastClassName), bodyClassName: $t(S.bodyClassName || h.bodyClassName), progressClassName: $t(S.progressClassName || h.progressClassName), autoClose: !S.isLoading && (v = S.autoClose, $ = h.autoClose, v === !1 || St(v) && v > 0 ? v : $), deleteToast() {
|
|
7851
7851
|
const H = rs(r.get(k), "removed");
|
|
7852
7852
|
r.delete(k), ae.emit(4, H);
|
|
7853
7853
|
const f = n.queue.length;
|
|
@@ -7864,7 +7864,7 @@ function _u(e) {
|
|
|
7864
7864
|
} else
|
|
7865
7865
|
i();
|
|
7866
7866
|
} };
|
|
7867
|
-
var v,
|
|
7867
|
+
var v, $;
|
|
7868
7868
|
F.iconOut = function(H) {
|
|
7869
7869
|
let { theme: f, type: g, isLoading: U, icon: L } = H, C = null;
|
|
7870
7870
|
const W = { theme: f, type: g };
|
|
@@ -7879,7 +7879,7 @@ function _u(e) {
|
|
|
7879
7879
|
const { toastId: K } = c;
|
|
7880
7880
|
Z && r.delete(Z);
|
|
7881
7881
|
const S = { content: I, props: c };
|
|
7882
|
-
r.set(K, S), a((k) => [...k, K].filter((
|
|
7882
|
+
r.set(K, S), a((k) => [...k, K].filter((E) => E !== Z)), ae.emit(4, rs(S, S.props.updateId == null ? "added" : "updated"));
|
|
7883
7883
|
}
|
|
7884
7884
|
return yi(() => (n.containerId = e.containerId, ae.cancelEmit(3).on(0, p).on(1, (I) => o.current && A(I)).on(5, l).emit(2, n), () => {
|
|
7885
7885
|
r.clear(), ae.emit(3, n);
|
|
@@ -7941,10 +7941,10 @@ function $u(e) {
|
|
|
7941
7941
|
}), []), yi(() => (e.pauseOnFocusLoss && (document.hasFocus() || K(), window.addEventListener("focus", Z), window.addEventListener("blur", K)), () => {
|
|
7942
7942
|
e.pauseOnFocusLoss && (window.removeEventListener("focus", Z), window.removeEventListener("blur", K));
|
|
7943
7943
|
}), [e.pauseOnFocusLoss]);
|
|
7944
|
-
const
|
|
7945
|
-
return l && A && (
|
|
7944
|
+
const E = { onMouseDown: I, onTouchStart: I, onMouseUp: c, onTouchEnd: c };
|
|
7945
|
+
return l && A && (E.onMouseEnter = K, E.onMouseLeave = Z), u && (E.onClick = (J) => {
|
|
7946
7946
|
p && p(J), s.canCloseOnClick && q();
|
|
7947
|
-
}), { playToast: Z, pauseToast: K, isRunning: i, preventExitTransition: a, toastRef: r, eventHandlers:
|
|
7947
|
+
}), { playToast: Z, pauseToast: K, isRunning: i, preventExitTransition: a, toastRef: r, eventHandlers: E };
|
|
7948
7948
|
}
|
|
7949
7949
|
function Gn(e) {
|
|
7950
7950
|
let { closeToast: i, theme: t, ariaLabel: a = "close" } = e;
|
|
@@ -7962,9 +7962,9 @@ function iI(e) {
|
|
|
7962
7962
|
} });
|
|
7963
7963
|
}
|
|
7964
7964
|
const eI = (e) => {
|
|
7965
|
-
const { isRunning: i, preventExitTransition: t, toastRef: a, eventHandlers: o } = $u(e), { closeButton: r, children: s, autoClose: n, onClick: l, type: A, hideProgressBar: q, closeToast: p, transition: u, position: I, className: c, style: Z, bodyClassName: K, bodyStyle: S, progressClassName: k, progressStyle:
|
|
7965
|
+
const { isRunning: i, preventExitTransition: t, toastRef: a, eventHandlers: o } = $u(e), { closeButton: r, children: s, autoClose: n, onClick: l, type: A, hideProgressBar: q, closeToast: p, transition: u, position: I, className: c, style: Z, bodyClassName: K, bodyStyle: S, progressClassName: k, progressStyle: E, updateId: J, role: h, progress: G, rtl: j, toastId: F, deleteToast: v, isIn: $, isLoading: X, iconOut: H, closeOnClick: f, theme: g } = e, U = Ee("Toastify__toast", `Toastify__toast-theme--${g}`, `Toastify__toast--${A}`, { "Toastify__toast--rtl": j }, { "Toastify__toast--close-on-click": f }), L = Xi(c) ? c({ rtl: j, position: I, type: A, defaultClassName: U }) : Ee(U, c), C = !!G || !n, W = { closeToast: p, type: A, theme: g };
|
|
7966
7966
|
let D = null;
|
|
7967
|
-
return r === !1 || (D = Xi(r) ? r(W) : Pe(r) ? oo(r, W) : Gn(W)), pi.createElement(u, { isIn:
|
|
7967
|
+
return r === !1 || (D = Xi(r) ? r(W) : Pe(r) ? oo(r, W) : Gn(W)), pi.createElement(u, { isIn: $, done: v, position: I, preventExitTransition: t, nodeRef: a }, pi.createElement("div", { id: F, onClick: l, className: L, ...o, style: Z, ref: a }, pi.createElement("div", { ...$ && { role: h }, className: Xi(K) ? K({ type: A }) : Ee("Toastify__toast-body", K), style: S }, H != null && pi.createElement("div", { className: Ee("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !X }) }, H), pi.createElement("div", null, s)), D, pi.createElement(iI, { ...J && !C ? { key: `pb-${J}` } : {}, rtl: j, theme: g, delay: n, isRunning: i, isIn: $, closeToast: p, hide: q, type: A, style: E, className: k, controlledProgress: C, progress: G || 0 })));
|
|
7968
7968
|
}, Ya = function(e, i) {
|
|
7969
7969
|
return i === void 0 && (i = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: i };
|
|
7970
7970
|
}, tI = La(Ya("bounce", !0));
|
|
@@ -8004,29 +8004,29 @@ function Sa(e, i) {
|
|
|
8004
8004
|
function Tt(e) {
|
|
8005
8005
|
return (i, t) => ht(i, Sa(e, t));
|
|
8006
8006
|
}
|
|
8007
|
-
function
|
|
8007
|
+
function gi(e, i) {
|
|
8008
8008
|
return ht(e, Sa("default", i));
|
|
8009
8009
|
}
|
|
8010
|
-
|
|
8010
|
+
gi.loading = (e, i) => ht(e, Sa("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...i })), gi.promise = function(e, i, t) {
|
|
8011
8011
|
let a, { pending: o, error: r, success: s } = i;
|
|
8012
|
-
o && (a = Be(o) ?
|
|
8012
|
+
o && (a = Be(o) ? gi.loading(o, t) : gi.loading(o.render, { ...t, ...o }));
|
|
8013
8013
|
const n = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, l = (q, p, u) => {
|
|
8014
8014
|
if (p == null)
|
|
8015
|
-
return void
|
|
8015
|
+
return void gi.dismiss(a);
|
|
8016
8016
|
const I = { type: q, ...n, ...t, data: u }, c = Be(p) ? { render: p } : p;
|
|
8017
|
-
return a ?
|
|
8017
|
+
return a ? gi.update(a, { ...I, ...c }) : gi(c.render, { ...I, ...c }), u;
|
|
8018
8018
|
}, A = Xi(e) ? e() : e;
|
|
8019
8019
|
return A.then((q) => l("success", s, q)).catch((q) => l("error", r, q)), A;
|
|
8020
|
-
},
|
|
8020
|
+
}, gi.success = Tt("success"), gi.info = Tt("info"), gi.error = Tt("error"), gi.warning = Tt("warning"), gi.warn = gi.warning, gi.dark = (e, i) => ht(e, Sa("default", { theme: "dark", ...i })), gi.dismiss = (e) => {
|
|
8021
8021
|
je.size > 0 ? ae.emit(1, e) : Kt = Kt.filter((i) => e != null && i.options.toastId !== e);
|
|
8022
|
-
},
|
|
8022
|
+
}, gi.clearWaitingQueue = function(e) {
|
|
8023
8023
|
return e === void 0 && (e = {}), ae.emit(5, e);
|
|
8024
|
-
},
|
|
8024
|
+
}, gi.isActive = (e) => {
|
|
8025
8025
|
let i = !1;
|
|
8026
8026
|
return je.forEach((t) => {
|
|
8027
8027
|
t.isToastActive && t.isToastActive(e) && (i = !0);
|
|
8028
8028
|
}), i;
|
|
8029
|
-
},
|
|
8029
|
+
}, gi.update = function(e, i) {
|
|
8030
8030
|
i === void 0 && (i = {}), setTimeout(() => {
|
|
8031
8031
|
const t = function(a, o) {
|
|
8032
8032
|
let { containerId: r } = o;
|
|
@@ -8040,11 +8040,11 @@ Ci.loading = (e, i) => ht(e, Sa("default", { isLoading: !0, autoClose: !1, close
|
|
|
8040
8040
|
delete r.render, ht(s, r);
|
|
8041
8041
|
}
|
|
8042
8042
|
}, 0);
|
|
8043
|
-
},
|
|
8044
|
-
|
|
8045
|
-
},
|
|
8043
|
+
}, gi.done = (e) => {
|
|
8044
|
+
gi.update(e, { progress: 1 });
|
|
8045
|
+
}, gi.onChange = (e) => (ae.on(4, e), () => {
|
|
8046
8046
|
ae.off(4, e);
|
|
8047
|
-
}),
|
|
8047
|
+
}), gi.POSITION = { TOP_LEFT: "top-left", TOP_RIGHT: "top-right", TOP_CENTER: "top-center", BOTTOM_LEFT: "bottom-left", BOTTOM_RIGHT: "bottom-right", BOTTOM_CENTER: "bottom-center" }, gi.TYPE = { INFO: "info", SUCCESS: "success", WARNING: "warning", ERROR: "error", DEFAULT: "default" }, ae.on(2, (e) => {
|
|
8048
8048
|
_a = e.containerId || e, je.set(_a, e), Kt.forEach((i) => {
|
|
8049
8049
|
ae.emit(0, i.content, i.options);
|
|
8050
8050
|
}), Kt = [];
|
|
@@ -8052,7 +8052,7 @@ Ci.loading = (e, i) => ht(e, Sa("default", { isLoading: !0, autoClose: !1, close
|
|
|
8052
8052
|
je.delete(e.containerId || e), je.size === 0 && ae.off(0).off(1).off(5);
|
|
8053
8053
|
});
|
|
8054
8054
|
function ia(e) {
|
|
8055
|
-
|
|
8055
|
+
gi.error(e, {
|
|
8056
8056
|
position: "top-center",
|
|
8057
8057
|
autoClose: 650,
|
|
8058
8058
|
hideProgressBar: !0,
|
|
@@ -8064,7 +8064,7 @@ function ia(e) {
|
|
|
8064
8064
|
});
|
|
8065
8065
|
}
|
|
8066
8066
|
function Qn(e) {
|
|
8067
|
-
|
|
8067
|
+
gi.success(e, {
|
|
8068
8068
|
position: "top-center",
|
|
8069
8069
|
autoClose: 650,
|
|
8070
8070
|
hideProgressBar: !0,
|
|
@@ -8110,13 +8110,13 @@ const nI = {
|
|
|
8110
8110
|
versionId: r,
|
|
8111
8111
|
customerId: s
|
|
8112
8112
|
}) => {
|
|
8113
|
-
const [n, l] = O([]), [A, q] = O([]), [p, u] = O(!1), [I, c] = O(!1), [Z, K] = O(null), [S, k] = Oi(Ra),
|
|
8113
|
+
const [n, l] = O([]), [A, q] = O([]), [p, u] = O(!1), [I, c] = O(!1), [Z, K] = O(null), [S, k] = Oi(Ra), E = () => mi[o] || mi.Playable, J = () => Jt[o] || "red", h = () => ({
|
|
8114
8114
|
Ready: "#E0F2FE",
|
|
8115
8115
|
Playable: "#FFF7ED",
|
|
8116
8116
|
Import: "#E0F2FE",
|
|
8117
8117
|
Flex: "#F3E8FF",
|
|
8118
8118
|
Fusion: "#F5F5F5"
|
|
8119
|
-
})[o] || "#FFF7ED", G =
|
|
8119
|
+
})[o] || "#FFF7ED", G = E(), j = J(), F = h();
|
|
8120
8120
|
yi(() => {
|
|
8121
8121
|
e && v();
|
|
8122
8122
|
}, [e]);
|
|
@@ -8144,7 +8144,7 @@ const nI = {
|
|
|
8144
8144
|
} finally {
|
|
8145
8145
|
u(!1);
|
|
8146
8146
|
}
|
|
8147
|
-
},
|
|
8147
|
+
}, $ = (g) => {
|
|
8148
8148
|
l((U) => U.includes(g) ? U.filter((L) => L !== g) : [...U, g]);
|
|
8149
8149
|
}, X = () => {
|
|
8150
8150
|
l(A.map((g) => g.id));
|
|
@@ -8399,7 +8399,7 @@ const nI = {
|
|
|
8399
8399
|
return /* @__PURE__ */ m.jsxs(
|
|
8400
8400
|
"div",
|
|
8401
8401
|
{
|
|
8402
|
-
onClick: () =>
|
|
8402
|
+
onClick: () => $(g.id),
|
|
8403
8403
|
style: {
|
|
8404
8404
|
position: "relative",
|
|
8405
8405
|
display: "flex",
|
|
@@ -10064,32 +10064,32 @@ const yI = ({
|
|
|
10064
10064
|
creditDownload: K,
|
|
10065
10065
|
getDownloadCount: S,
|
|
10066
10066
|
disabled: k,
|
|
10067
|
-
user:
|
|
10067
|
+
user: E,
|
|
10068
10068
|
setSafariCopyLink: J,
|
|
10069
10069
|
isTest: h,
|
|
10070
10070
|
urlType: G,
|
|
10071
10071
|
setCdnModal: j,
|
|
10072
10072
|
generateCDN: F,
|
|
10073
10073
|
cdnUrl: v,
|
|
10074
|
-
selectedVersionIds:
|
|
10074
|
+
selectedVersionIds: $
|
|
10075
10075
|
}) => {
|
|
10076
|
-
const [X, H] = O(!1), [f, g] = O(""), [U, L] = O(!1), [C, W] = O(!1), [D, V] = O(!1), [M, x] = O("download"), [B, z] = O(!1), [P, b] = O(!1), [w, ei] = O(!1), [si, ai] = O(!1), [Si, Y] = O(!1), [Ri, Ni] = O(!1), [Ui, Gi] = O(!1), [Pi, Q] = O(!1), [T,
|
|
10076
|
+
const [X, H] = O(!1), [f, g] = O(""), [U, L] = O(!1), [C, W] = O(!1), [D, V] = O(!1), [M, x] = O("download"), [B, z] = O(!1), [P, b] = O(!1), [w, ei] = O(!1), [si, ai] = O(!1), [Si, Y] = O(!1), [Ri, Ni] = O(!1), [Ui, Gi] = O(!1), [Pi, Q] = O(!1), [T, _] = O(!1), [Ci, Ii] = Oi(Ra), [zi, lt] = Oi(Ut), Ie = l === "Playable" ? zi : !0, Ce = {
|
|
10077
10077
|
cdn: "Generate Link",
|
|
10078
10078
|
adikteev: "Copy CDN"
|
|
10079
10079
|
}, bi = () => {
|
|
10080
10080
|
t(e);
|
|
10081
10081
|
}, re = async (ni, Ji, Vi) => {
|
|
10082
|
-
if (H(!0), l === "Flex" &&
|
|
10082
|
+
if (H(!0), l === "Flex" && E.flex === !1 && E.customer !== "playableFactoryInternal") {
|
|
10083
10083
|
p("|ACCESS|"), H(!1);
|
|
10084
10084
|
return;
|
|
10085
10085
|
}
|
|
10086
|
-
if (
|
|
10086
|
+
if ($ && $.length > 0 && Ji === "download")
|
|
10087
10087
|
try {
|
|
10088
10088
|
if (!c || !c._id)
|
|
10089
10089
|
throw new Error("Game data is required for multi-version download");
|
|
10090
10090
|
const _i = await ko(q, c._id, {
|
|
10091
10091
|
networks: [ni],
|
|
10092
|
-
versions:
|
|
10092
|
+
versions: $
|
|
10093
10093
|
}), ye = u + "/" + _i.url, Ti = await (await fetch(ye)).blob(), De = window.URL.createObjectURL(Ti), Ve = document.createElement("a");
|
|
10094
10094
|
return Ve.href = De, Ve.download = _i.url.split("/").pop() || "download.zip", document.body.appendChild(Ve), Ve.click(), window.URL.revokeObjectURL(De), document.body.removeChild(Ve), H(!1), _i.url;
|
|
10095
10095
|
} catch (_i) {
|
|
@@ -10124,13 +10124,13 @@ const yI = ({
|
|
|
10124
10124
|
const Ji = {
|
|
10125
10125
|
molocoGenerateHtml: !1
|
|
10126
10126
|
};
|
|
10127
|
-
if (ni && (Ji.molocoGenerateHtml = !0),
|
|
10127
|
+
if (ni && (Ji.molocoGenerateHtml = !0), $ && $.length > 0)
|
|
10128
10128
|
try {
|
|
10129
10129
|
if (!c || !c._id)
|
|
10130
10130
|
throw new Error("Game data is required for multi-version download");
|
|
10131
10131
|
const Vi = await ko(q, c._id, {
|
|
10132
10132
|
networks: ["moloco"],
|
|
10133
|
-
versions:
|
|
10133
|
+
versions: $,
|
|
10134
10134
|
extras: Ji
|
|
10135
10135
|
}), ke = u + "/" + Vi.url, ye = await (await fetch(ke)).blob(), $i = window.URL.createObjectURL(ye), Ti = document.createElement("a");
|
|
10136
10136
|
return Ti.href = $i, Ti.download = Vi.url.split("/").pop() || "download.zip", document.body.appendChild(Ti), Ti.click(), window.URL.revokeObjectURL($i), document.body.removeChild(Ti), H(!1), ni ? b(!1) : z(!1), V(!1), Vi.url;
|
|
@@ -10148,7 +10148,7 @@ const yI = ({
|
|
|
10148
10148
|
const ni = await CI(q, A, o, l);
|
|
10149
10149
|
let Ji = `${u}/${ni == null ? void 0 : ni.url}`;
|
|
10150
10150
|
at(Ji) ? (ai(!0), setTimeout(() => ai(!1), 2e3), ei(!1)) : (J(Ji), ei(!1));
|
|
10151
|
-
}, ge = o === "moloco" || o === "molocoV2", Gt = o === "google", bt =
|
|
10151
|
+
}, ge = o === "moloco" || o === "molocoV2", Gt = o === "google", bt = Ci.find((ni) => ni.name === o);
|
|
10152
10152
|
return /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
10153
10153
|
/* @__PURE__ */ m.jsxs(
|
|
10154
10154
|
"div",
|
|
@@ -10278,7 +10278,7 @@ const yI = ({
|
|
|
10278
10278
|
downloading: X,
|
|
10279
10279
|
typeOfProduct: l,
|
|
10280
10280
|
onClickDonwload: async (ni) => {
|
|
10281
|
-
if (ni.stopPropagation(), console.log("user in onclickdownload",
|
|
10281
|
+
if (ni.stopPropagation(), console.log("user in onclickdownload", E), ge && E.customer === "playableFactoryInternal") {
|
|
10282
10282
|
V(!0);
|
|
10283
10283
|
return;
|
|
10284
10284
|
} else if (Gt)
|
|
@@ -10306,7 +10306,7 @@ const yI = ({
|
|
|
10306
10306
|
}
|
|
10307
10307
|
}
|
|
10308
10308
|
),
|
|
10309
|
-
|
|
10309
|
+
E.customer !== "playableFactoryInternal" ? ui.t("common:txt") : ui.t("common:download")
|
|
10310
10310
|
] }),
|
|
10311
10311
|
B && /* @__PURE__ */ m.jsx(Ct, {})
|
|
10312
10312
|
] }) : /* @__PURE__ */ m.jsxs(m.Fragment, { children: [
|
|
@@ -10350,7 +10350,7 @@ const yI = ({
|
|
|
10350
10350
|
children: /* @__PURE__ */ m.jsx(rn, { className: "h-4 w-4 stroke-dark-full" })
|
|
10351
10351
|
}
|
|
10352
10352
|
),
|
|
10353
|
-
ge &&
|
|
10353
|
+
ge && E.customer !== "playableFactoryInternal" && /* @__PURE__ */ m.jsxs(
|
|
10354
10354
|
$a,
|
|
10355
10355
|
{
|
|
10356
10356
|
className: "w-1/2 border-hover-" + l,
|
|
@@ -10425,7 +10425,7 @@ const yI = ({
|
|
|
10425
10425
|
}
|
|
10426
10426
|
}
|
|
10427
10427
|
),
|
|
10428
|
-
D &&
|
|
10428
|
+
D && E.customer === "playableFactoryInternal" && /* @__PURE__ */ m.jsx(
|
|
10429
10429
|
hI,
|
|
10430
10430
|
{
|
|
10431
10431
|
onClose: () => {
|
|
@@ -10447,7 +10447,7 @@ const yI = ({
|
|
|
10447
10447
|
Ni(!1);
|
|
10448
10448
|
},
|
|
10449
10449
|
handleDownload: async (ni) => {
|
|
10450
|
-
ni === "portrait" ? Gi(!0) : ni === "landscape" ? Q(!0) :
|
|
10450
|
+
ni === "portrait" ? Gi(!0) : ni === "landscape" ? Q(!0) : _(!0), await re(o, "download", ni), ni === "portrait" ? Gi(!1) : ni === "landscape" ? Q(!1) : _(!1);
|
|
10451
10451
|
},
|
|
10452
10452
|
downloadingPortrait: Ui,
|
|
10453
10453
|
downloadingLandscape: Pi,
|
|
@@ -10936,55 +10936,55 @@ const yI = ({
|
|
|
10936
10936
|
allNetworksSelected: K,
|
|
10937
10937
|
cdnModal: S,
|
|
10938
10938
|
setCdnModal: k,
|
|
10939
|
-
cdnUrl:
|
|
10939
|
+
cdnUrl: E,
|
|
10940
10940
|
setCdnUrl: J,
|
|
10941
10941
|
customer: h,
|
|
10942
10942
|
selectedVersionIds: G
|
|
10943
10943
|
}) => {
|
|
10944
|
-
const [j, F] = O([]), [v,
|
|
10945
|
-
T &&
|
|
10946
|
-
J(
|
|
10947
|
-
}).catch((
|
|
10948
|
-
n(
|
|
10944
|
+
const [j, F] = O([]), [v, $] = O([]), [X, H] = O(!1), [f, g] = O(""), [U, L] = O(!1), [C, W] = O(!1), [D, V] = O("download"), [M, x] = O(!1), [B, z] = O(!1), [P, b] = O(!1), [w, ei] = Oi(hn), [si, ai] = Oi(Cn), [Si] = Oi(Ra), [Y, Ri] = Oi(Ut), Ni = o === "Playable" ? Y : !0, Ui = async (T = !1) => {
|
|
10945
|
+
T && E || P || (b(!0), it(a, "cdn", Ni ? A : null, null, !1, {}).then((_) => {
|
|
10946
|
+
J(_.url), b(!1);
|
|
10947
|
+
}).catch((_) => {
|
|
10948
|
+
n(_.message, _), b(!1);
|
|
10949
10949
|
}));
|
|
10950
10950
|
}, Gi = async (T) => {
|
|
10951
10951
|
if (T === "adikteev" || T === "cdn")
|
|
10952
10952
|
return;
|
|
10953
|
-
const
|
|
10953
|
+
const _ = [...j];
|
|
10954
10954
|
if (j.includes(T)) {
|
|
10955
|
-
const
|
|
10956
|
-
|
|
10955
|
+
const Ci = _.findIndex((Ii) => Ii === T);
|
|
10956
|
+
_.splice(Ci, 1), F(_);
|
|
10957
10957
|
} else
|
|
10958
|
-
|
|
10959
|
-
Si.filter((
|
|
10960
|
-
}, Pi = async () => new Promise(async (T,
|
|
10961
|
-
const
|
|
10958
|
+
_.push(T), F([...j, T]);
|
|
10959
|
+
Si.filter((Ci) => [..._].includes(Ci.id)).map((Ci) => Ci.name);
|
|
10960
|
+
}, Pi = async () => new Promise(async (T, _) => {
|
|
10961
|
+
const Ci = Si.filter((Ii) => [...j].includes(Ii.id)).map((Ii) => Ii.name);
|
|
10962
10962
|
if (L(!0), G && G.length > 0)
|
|
10963
10963
|
try {
|
|
10964
10964
|
if (!q || !q._id)
|
|
10965
10965
|
throw new Error("Game data is required for multi-version download");
|
|
10966
10966
|
const Ii = await ko(r, q._id, {
|
|
10967
|
-
networks:
|
|
10967
|
+
networks: Ci,
|
|
10968
10968
|
versions: G
|
|
10969
10969
|
}), zi = l + "/" + Ii.url, Ie = await (await fetch(zi)).blob(), Ce = window.URL.createObjectURL(Ie), bi = document.createElement("a");
|
|
10970
10970
|
bi.href = Ce, bi.download = Ii.url.split("/").pop() || "download.zip", document.body.appendChild(bi), bi.click(), window.URL.revokeObjectURL(Ce), document.body.removeChild(bi), L(!1), T(Ii.url);
|
|
10971
10971
|
} catch (Ii) {
|
|
10972
|
-
console.log("multi-version download error", Ii), L(!1), n(Ii.message, Ii),
|
|
10972
|
+
console.log("multi-version download error", Ii), L(!1), n(Ii.message, Ii), _(Ii);
|
|
10973
10973
|
}
|
|
10974
10974
|
else
|
|
10975
|
-
im(a, A,
|
|
10975
|
+
im(a, A, Ci, { urlType: Z }).then((Ii) => {
|
|
10976
10976
|
L(!1), T(Ii);
|
|
10977
10977
|
}).catch((Ii) => {
|
|
10978
|
-
console.log("get multi download err"), L(!1), n(Ii.message, Ii),
|
|
10978
|
+
console.log("get multi download err"), L(!1), n(Ii.message, Ii), _(Ii);
|
|
10979
10979
|
});
|
|
10980
10980
|
}), Q = async () => {
|
|
10981
10981
|
A.iosUrl, A.googleUrl, i && i.willSpendCredit ? (W(!0), V("download"), x(!0)) : (x(!1), await Pi());
|
|
10982
10982
|
};
|
|
10983
10983
|
return yi(() => {
|
|
10984
|
-
const T = Si.filter((
|
|
10985
|
-
var
|
|
10986
|
-
return G && G.length > 0 ? !0 : i && ((
|
|
10987
|
-
}).filter((
|
|
10984
|
+
const T = Si.filter((_) => {
|
|
10985
|
+
var Ci;
|
|
10986
|
+
return G && G.length > 0 ? !0 : i && ((Ci = i == null ? void 0 : i.networks) == null ? void 0 : Ci.length) > 0 ? typeof _ == "string" ? i == null ? void 0 : i.networks.includes(_) : i == null ? void 0 : i.networks.includes(_.name) : o === "Import" ? e == null ? void 0 : e.networks.filter((Ii) => Ii.status === "paid").some((Ii) => Ii.name === _.name) : _ ? !0 : e == null ? void 0 : e.networks.includes(_);
|
|
10987
|
+
}).filter((_) => _.name === "voodoo" ? s.customer === "customer:20" : !0).filter((_) => _.id !== "adikteev" && _.id !== "cdn").map((_) => _.id);
|
|
10988
10988
|
console.log("networks", T), F(K ? T : []);
|
|
10989
10989
|
}, [K, G, Si, i, o, e, q, s.customer]), /* @__PURE__ */ m.jsxs(
|
|
10990
10990
|
"div",
|
|
@@ -11018,13 +11018,13 @@ const yI = ({
|
|
|
11018
11018
|
maxWidth: "100%"
|
|
11019
11019
|
},
|
|
11020
11020
|
children: t && Si.filter((T) => {
|
|
11021
|
-
var
|
|
11021
|
+
var _;
|
|
11022
11022
|
if (G && G.length > 0)
|
|
11023
11023
|
return !0;
|
|
11024
|
-
if (i && ((
|
|
11024
|
+
if (i && ((_ = i == null ? void 0 : i.networks) == null ? void 0 : _.length) > 0)
|
|
11025
11025
|
return typeof T == "string" ? i == null ? void 0 : i.networks.includes(T) : i == null ? void 0 : i.networks.includes(T.name);
|
|
11026
11026
|
if (o === "Import")
|
|
11027
|
-
return e == null ? void 0 : e.networks.filter((
|
|
11027
|
+
return e == null ? void 0 : e.networks.filter((Ci) => Ci.status === "paid").some((Ci) => Ci.name === T.name);
|
|
11028
11028
|
if (!T)
|
|
11029
11029
|
e == null || e.networks.includes(T);
|
|
11030
11030
|
else
|
|
@@ -11032,17 +11032,17 @@ const yI = ({
|
|
|
11032
11032
|
}).filter(
|
|
11033
11033
|
(T) => T.name === "voodoo" ? s.customer === "customer:20" : !0
|
|
11034
11034
|
).map((T) => {
|
|
11035
|
-
let
|
|
11035
|
+
let _ = T.imageSrc;
|
|
11036
11036
|
if (T.name === "web") {
|
|
11037
|
-
let
|
|
11038
|
-
|
|
11037
|
+
let Ci = "web_" + o.toLowerCase() + ".png";
|
|
11038
|
+
_ = _.replace("web.png", Ci);
|
|
11039
11039
|
}
|
|
11040
11040
|
return /* @__PURE__ */ m.jsx(
|
|
11041
11041
|
yI,
|
|
11042
11042
|
{
|
|
11043
11043
|
id: T.id,
|
|
11044
11044
|
name: T.name,
|
|
11045
|
-
imageUrl:
|
|
11045
|
+
imageUrl: _,
|
|
11046
11046
|
selected: j.includes(T.id),
|
|
11047
11047
|
handleCardClick: Gi,
|
|
11048
11048
|
networkVersionSize: v,
|
|
@@ -11065,7 +11065,7 @@ const yI = ({
|
|
|
11065
11065
|
urlType: Z,
|
|
11066
11066
|
setCdnModal: k,
|
|
11067
11067
|
generateCDN: Ui,
|
|
11068
|
-
cdnUrl:
|
|
11068
|
+
cdnUrl: E,
|
|
11069
11069
|
selectedVersionIds: G
|
|
11070
11070
|
},
|
|
11071
11071
|
T.id
|
|
@@ -11108,7 +11108,7 @@ const yI = ({
|
|
|
11108
11108
|
versionId: a,
|
|
11109
11109
|
urls: A,
|
|
11110
11110
|
handleDownloadError: n,
|
|
11111
|
-
cdnUrl:
|
|
11111
|
+
cdnUrl: E,
|
|
11112
11112
|
setCdnUrl: J,
|
|
11113
11113
|
generateCDN: async () => {
|
|
11114
11114
|
if (!P) {
|
|
@@ -11246,9 +11246,9 @@ const bI = ({
|
|
|
11246
11246
|
setAndroidLink: K,
|
|
11247
11247
|
urlType: S,
|
|
11248
11248
|
setUrlType: k,
|
|
11249
|
-
selectedVersionIds:
|
|
11249
|
+
selectedVersionIds: E
|
|
11250
11250
|
}) => {
|
|
11251
|
-
const [J, h] = O(null), [G, j] = O(null), [F, v] = O(null), [
|
|
11251
|
+
const [J, h] = O(null), [G, j] = O(null), [F, v] = O(null), [$, X] = O(!1), [H, f] = O(!0), [g, U] = O(window.innerWidth), [L, C] = O(!1), [W, D] = O(!1), [V, M] = O("");
|
|
11252
11252
|
Oi(hn), Oi(Cn);
|
|
11253
11253
|
const [x, B] = Oi(gn), [z, P] = Oi(Ut);
|
|
11254
11254
|
yi(() => {
|
|
@@ -11272,14 +11272,18 @@ const bI = ({
|
|
|
11272
11272
|
return Q != null && Q.networks || (Q.networks = ls), h(Q), Q;
|
|
11273
11273
|
}, si = (Q, T) => {
|
|
11274
11274
|
clearTimeout(As), As = setTimeout(() => {
|
|
11275
|
-
a === "Playable" && !z
|
|
11275
|
+
if (a === "Playable" && !z)
|
|
11276
|
+
return;
|
|
11277
|
+
(E && E.length > 0 ? E : [i]).forEach((Ci) => {
|
|
11278
|
+
_q(Ci, { iosUrl: Q, googleUrl: T }, { urlType: S });
|
|
11279
|
+
});
|
|
11276
11280
|
}, 1e3);
|
|
11277
11281
|
}, ai = (Q) => {
|
|
11278
11282
|
Z(Q), si(Q, c);
|
|
11279
11283
|
}, Si = (Q) => {
|
|
11280
11284
|
K(Q), si(I, Q);
|
|
11281
11285
|
}, Y = async (Q, T) => {
|
|
11282
|
-
var
|
|
11286
|
+
var _, Ci;
|
|
11283
11287
|
try {
|
|
11284
11288
|
let Ii;
|
|
11285
11289
|
if (a === "Playable" || a === "Ready") {
|
|
@@ -11295,9 +11299,9 @@ const bI = ({
|
|
|
11295
11299
|
if (T && T.html) {
|
|
11296
11300
|
const lt = `${A}/${T.html}?t=${Date.now()}`;
|
|
11297
11301
|
let Ie = await fetch(lt).then((re) => re.text());
|
|
11298
|
-
const Ce = ((
|
|
11302
|
+
const Ce = ((_ = Ie.match(/var\s+iosLink\s*=\s*['|"](https?[^\s'"]+)['|"]/)) == null ? void 0 : _.at(1)) || "";
|
|
11299
11303
|
Z(Ce);
|
|
11300
|
-
const bi = ((
|
|
11304
|
+
const bi = ((Ci = Ie.match(/var\s+androidLink\s*=\s*['|"](https?[^\s'"]+)['|"]/)) == null ? void 0 : Ci.at(1)) || "";
|
|
11301
11305
|
K(bi), X(!1);
|
|
11302
11306
|
} else
|
|
11303
11307
|
K(""), Z(""), X(!1);
|
|
@@ -11336,14 +11340,14 @@ const bI = ({
|
|
|
11336
11340
|
}), f(!1);
|
|
11337
11341
|
}) : a === "Ready" ? Ri().then((Q) => {
|
|
11338
11342
|
ei().then((T) => {
|
|
11339
|
-
Y(null, T), f(!1), T != null && T.customer && Pi(T.customer).then((
|
|
11340
|
-
Gi(
|
|
11343
|
+
Y(null, T), f(!1), T != null && T.customer && Pi(T.customer).then((_) => {
|
|
11344
|
+
Gi(_ || null);
|
|
11341
11345
|
});
|
|
11342
11346
|
});
|
|
11343
11347
|
}) : a === "Flex" ? Ri().then((Q) => {
|
|
11344
11348
|
f(!1), Ni().then((T) => {
|
|
11345
|
-
o && (Y(T, null), f(!1), j(T), T && Pi(T.customer).then((
|
|
11346
|
-
Gi(
|
|
11349
|
+
o && (Y(T, null), f(!1), j(T), T && Pi(T.customer).then((_) => {
|
|
11350
|
+
Gi(_ || null);
|
|
11347
11351
|
}));
|
|
11348
11352
|
});
|
|
11349
11353
|
}) : a === "Import" ? LI(i, r).then((Q) => {
|
|
@@ -11406,7 +11410,7 @@ const bI = ({
|
|
|
11406
11410
|
customerId: (Ui == null ? void 0 : Ui._id) || ""
|
|
11407
11411
|
}
|
|
11408
11412
|
),
|
|
11409
|
-
|
|
11413
|
+
$ ? /* @__PURE__ */ m.jsx(
|
|
11410
11414
|
"div",
|
|
11411
11415
|
{
|
|
11412
11416
|
style: {
|
|
@@ -11417,7 +11421,7 @@ const bI = ({
|
|
|
11417
11421
|
},
|
|
11418
11422
|
children: /* @__PURE__ */ m.jsx(Ct, { isNetworksLoading: !0, isLight: !1 })
|
|
11419
11423
|
}
|
|
11420
|
-
) : (J || F || a === "Fusion") && (a === "Flex" ? G : !0) &&
|
|
11424
|
+
) : (J || F || a === "Fusion") && (a === "Flex" ? G : !0) && !$ && I !== "Loading..." && c !== "Loading..." && /* @__PURE__ */ m.jsx(
|
|
11421
11425
|
WI,
|
|
11422
11426
|
{
|
|
11423
11427
|
playable: J,
|
|
@@ -11442,7 +11446,7 @@ const bI = ({
|
|
|
11442
11446
|
cdnUrl: V,
|
|
11443
11447
|
setCdnUrl: M,
|
|
11444
11448
|
customer: Ui ?? void 0,
|
|
11445
|
-
selectedVersionIds:
|
|
11449
|
+
selectedVersionIds: E
|
|
11446
11450
|
}
|
|
11447
11451
|
)
|
|
11448
11452
|
]
|
|
@@ -13996,7 +14000,7 @@ const Dt = 5, YK = ({
|
|
|
13996
14000
|
} catch (h) {
|
|
13997
14001
|
console.error("Error compressing video:", h), t(!1), i();
|
|
13998
14002
|
}
|
|
13999
|
-
}, S = mi[a], k = Jt[a],
|
|
14003
|
+
}, S = mi[a], k = Jt[a], E = r - Dt, J = Dt / r * 100;
|
|
14000
14004
|
return /* @__PURE__ */ m.jsxs(
|
|
14001
14005
|
Za,
|
|
14002
14006
|
{
|
|
@@ -14283,7 +14287,7 @@ const Dt = 5, YK = ({
|
|
|
14283
14287
|
] }),
|
|
14284
14288
|
/* @__PURE__ */ m.jsxs("span", { style: { fontWeight: 500, fontSize: "12px", color: S }, children: [
|
|
14285
14289
|
"+",
|
|
14286
|
-
|
|
14290
|
+
E.toFixed(1),
|
|
14287
14291
|
" MB over"
|
|
14288
14292
|
] })
|
|
14289
14293
|
]
|
|
@@ -14425,8 +14429,8 @@ const Dt = 5, YK = ({
|
|
|
14425
14429
|
},
|
|
14426
14430
|
children: [
|
|
14427
14431
|
a === "Flex" && p && !I && "Compressing...",
|
|
14428
|
-
a === "Flex" && !p && !I &&
|
|
14429
|
-
a === "Flex" && !p && !I &&
|
|
14432
|
+
a === "Flex" && !p && !I && E < 2 && "Compress Now",
|
|
14433
|
+
a === "Flex" && !p && !I && E >= 2 && "Continue",
|
|
14430
14434
|
a !== "Flex" && !p && I && "Export",
|
|
14431
14435
|
a !== "Flex" && "Continue"
|
|
14432
14436
|
]
|
|
@@ -14574,7 +14578,7 @@ const Dt = 5, YK = ({
|
|
|
14574
14578
|
fusionData: Z,
|
|
14575
14579
|
onNameChange: K
|
|
14576
14580
|
}) => {
|
|
14577
|
-
const [S, k] = O(window.innerWidth), [
|
|
14581
|
+
const [S, k] = O(window.innerWidth), [E, J] = O(!1), [h, G] = O(p), [j, F] = O(!1), [v, $] = O(!0), [X, H] = O(null), [f, g] = O(""), [U, L] = O("Loading..."), [C, W] = O("Loading..."), [D, V] = O("game"), [M, x] = Oi(Ra), [B, z] = Oi(gn);
|
|
14578
14582
|
em(n, l, g, I, Z);
|
|
14579
14583
|
const P = async () => {
|
|
14580
14584
|
let b = await jn(l, n, t);
|
|
@@ -14585,11 +14589,11 @@ const Dt = 5, YK = ({
|
|
|
14585
14589
|
b = b.map((w) => (w.name = w.id, w)), x(b), z(
|
|
14586
14590
|
b.map((w) => w.id).filter((w) => w !== "default")
|
|
14587
14591
|
), it(t, "preview", null, null, !1).then((w) => {
|
|
14588
|
-
J(!0), G(I + "/" + w.url), (n === "Flex" || n === "Ready" || n === "Playable" || n === "Fusion") && (w.size >= 5 ? F(!0) : F(!1), H(w.size)),
|
|
14592
|
+
J(!0), G(I + "/" + w.url), (n === "Flex" || n === "Ready" || n === "Playable" || n === "Fusion") && (w.size >= 5 ? F(!0) : F(!1), H(w.size)), $(!1);
|
|
14589
14593
|
});
|
|
14590
14594
|
};
|
|
14591
14595
|
return yi(() => {
|
|
14592
|
-
e ?
|
|
14596
|
+
e ? E || (P(), J(!0)) : (J(!1), G(""));
|
|
14593
14597
|
}, [e]), yi(() => {
|
|
14594
14598
|
const b = () => {
|
|
14595
14599
|
k(window.innerWidth);
|
|
@@ -14603,7 +14607,7 @@ const Dt = 5, YK = ({
|
|
|
14603
14607
|
isOpen: e,
|
|
14604
14608
|
ariaHideApp: !1,
|
|
14605
14609
|
onRequestClose: () => {
|
|
14606
|
-
i(), n === "Flex" &&
|
|
14610
|
+
i(), n === "Flex" && $(!0);
|
|
14607
14611
|
},
|
|
14608
14612
|
style: {
|
|
14609
14613
|
content: {
|
|
@@ -14669,7 +14673,7 @@ const Dt = 5, YK = ({
|
|
|
14669
14673
|
{
|
|
14670
14674
|
setIsExceedingFileSizeAccepted: F,
|
|
14671
14675
|
closeModal: i,
|
|
14672
|
-
setLoading:
|
|
14676
|
+
setLoading: $,
|
|
14673
14677
|
typeOfProduct: n,
|
|
14674
14678
|
versionId: t,
|
|
14675
14679
|
fileSize: X,
|
|
@@ -14686,7 +14690,7 @@ const Dt = 5, YK = ({
|
|
|
14686
14690
|
isOpen: e,
|
|
14687
14691
|
ariaHideApp: !1,
|
|
14688
14692
|
onRequestClose: () => {
|
|
14689
|
-
i(), n === "Flex" &&
|
|
14693
|
+
i(), n === "Flex" && $(!0);
|
|
14690
14694
|
},
|
|
14691
14695
|
style: {
|
|
14692
14696
|
content: {
|
|
@@ -14733,7 +14737,7 @@ const Dt = 5, YK = ({
|
|
|
14733
14737
|
"button",
|
|
14734
14738
|
{
|
|
14735
14739
|
onClick: () => {
|
|
14736
|
-
i(), n === "Flex" &&
|
|
14740
|
+
i(), n === "Flex" && $(!0);
|
|
14737
14741
|
},
|
|
14738
14742
|
style: {
|
|
14739
14743
|
padding: "0.5rem",
|
|
@@ -14779,7 +14783,7 @@ const Dt = 5, YK = ({
|
|
|
14779
14783
|
api: l,
|
|
14780
14784
|
fetchFileUrl: I
|
|
14781
14785
|
}
|
|
14782
|
-
) :
|
|
14786
|
+
) : E ? /* @__PURE__ */ m.jsx(
|
|
14783
14787
|
zp,
|
|
14784
14788
|
{
|
|
14785
14789
|
versionName: r,
|