gearboxdownloadmodal 6.0.52 → 6.0.54
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 +188 -188
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/insights.svg +14 -14
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import ue, { useState as F, useEffect as be, forwardRef as oa, useReducer as
|
|
1
|
+
import ue, { useState as F, useEffect as be, forwardRef as oa, useReducer as Lo, useRef as at, isValidElement as yt, cloneElement as Vn, useLayoutEffect as ia, createContext as aa, useDebugValue as Aa, useCallback as sa, useContext as la } from "react";
|
|
2
2
|
import ua from "react-dom";
|
|
3
3
|
function ca(e) {
|
|
4
4
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -154,7 +154,7 @@ function pa() {
|
|
|
154
154
|
}
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
|
-
var
|
|
157
|
+
var E = Object.assign, O = 0, Y, h, j, re, b, K, R;
|
|
158
158
|
function z() {
|
|
159
159
|
}
|
|
160
160
|
z.__reactDisabledLog = !0;
|
|
@@ -190,25 +190,25 @@ function pa() {
|
|
|
190
190
|
writable: !0
|
|
191
191
|
};
|
|
192
192
|
Object.defineProperties(console, {
|
|
193
|
-
log:
|
|
193
|
+
log: E({}, c, {
|
|
194
194
|
value: Y
|
|
195
195
|
}),
|
|
196
|
-
info:
|
|
196
|
+
info: E({}, c, {
|
|
197
197
|
value: h
|
|
198
198
|
}),
|
|
199
|
-
warn:
|
|
199
|
+
warn: E({}, c, {
|
|
200
200
|
value: j
|
|
201
201
|
}),
|
|
202
|
-
error:
|
|
202
|
+
error: E({}, c, {
|
|
203
203
|
value: re
|
|
204
204
|
}),
|
|
205
|
-
group:
|
|
205
|
+
group: E({}, c, {
|
|
206
206
|
value: b
|
|
207
207
|
}),
|
|
208
|
-
groupCollapsed:
|
|
208
|
+
groupCollapsed: E({}, c, {
|
|
209
209
|
value: K
|
|
210
210
|
}),
|
|
211
|
-
groupEnd:
|
|
211
|
+
groupEnd: E({}, c, {
|
|
212
212
|
value: R
|
|
213
213
|
})
|
|
214
214
|
});
|
|
@@ -235,7 +235,7 @@ function pa() {
|
|
|
235
235
|
var ie = typeof WeakMap == "function" ? WeakMap : Map;
|
|
236
236
|
w = new ie();
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function L(c, x) {
|
|
239
239
|
if (!c || te)
|
|
240
240
|
return "";
|
|
241
241
|
{
|
|
@@ -292,9 +292,9 @@ function pa() {
|
|
|
292
292
|
if (he !== 1 || qe !== 1)
|
|
293
293
|
do
|
|
294
294
|
if (he--, qe--, qe < 0 || Ae[he] !== xe[qe]) {
|
|
295
|
-
var
|
|
295
|
+
var Ee = `
|
|
296
296
|
` + Ae[he].replace(" at new ", " at ");
|
|
297
|
-
return c.displayName &&
|
|
297
|
+
return c.displayName && Ee.includes("<anonymous>") && (Ee = Ee.replace("<anonymous>", c.displayName)), typeof c == "function" && w.set(c, Ee), Ee;
|
|
298
298
|
}
|
|
299
299
|
while (he >= 1 && qe >= 0);
|
|
300
300
|
break;
|
|
@@ -307,7 +307,7 @@ function pa() {
|
|
|
307
307
|
return typeof c == "function" && w.set(c, Nr), Nr;
|
|
308
308
|
}
|
|
309
309
|
function ne(c, x, k) {
|
|
310
|
-
return
|
|
310
|
+
return L(c, !1);
|
|
311
311
|
}
|
|
312
312
|
function _(c) {
|
|
313
313
|
var x = c.prototype;
|
|
@@ -317,7 +317,7 @@ function pa() {
|
|
|
317
317
|
if (c == null)
|
|
318
318
|
return "";
|
|
319
319
|
if (typeof c == "function")
|
|
320
|
-
return
|
|
320
|
+
return L(c, _(c));
|
|
321
321
|
if (typeof c == "string")
|
|
322
322
|
return B(c);
|
|
323
323
|
switch (c) {
|
|
@@ -398,7 +398,7 @@ function pa() {
|
|
|
398
398
|
ref: !0,
|
|
399
399
|
__self: !0,
|
|
400
400
|
__source: !0
|
|
401
|
-
},
|
|
401
|
+
}, Er, Lr, Kn;
|
|
402
402
|
Kn = {};
|
|
403
403
|
function Ti(c) {
|
|
404
404
|
if (ee.call(c, "ref")) {
|
|
@@ -425,7 +425,7 @@ function pa() {
|
|
|
425
425
|
function Qi(c, x) {
|
|
426
426
|
{
|
|
427
427
|
var k = function() {
|
|
428
|
-
|
|
428
|
+
Er || (Er = !0, Z("%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)", x));
|
|
429
429
|
};
|
|
430
430
|
k.isReactWarning = !0, Object.defineProperty(c, "key", {
|
|
431
431
|
get: k,
|
|
@@ -436,7 +436,7 @@ function pa() {
|
|
|
436
436
|
function Pi(c, x) {
|
|
437
437
|
{
|
|
438
438
|
var k = function() {
|
|
439
|
-
|
|
439
|
+
Lr || (Lr = !0, Z("%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)", x));
|
|
440
440
|
};
|
|
441
441
|
k.isReactWarning = !0, Object.defineProperty(c, "ref", {
|
|
442
442
|
get: k,
|
|
@@ -624,17 +624,17 @@ Check the top-level render call using <` + k + ">.");
|
|
|
624
624
|
if (qe == null)
|
|
625
625
|
return qe;
|
|
626
626
|
if (se) {
|
|
627
|
-
var
|
|
628
|
-
if (
|
|
627
|
+
var Ee = x.children;
|
|
628
|
+
if (Ee !== void 0)
|
|
629
629
|
if (U)
|
|
630
|
-
if (xn(
|
|
631
|
-
for (var ht = 0; ht <
|
|
632
|
-
Yr(
|
|
633
|
-
Object.freeze && Object.freeze(
|
|
630
|
+
if (xn(Ee)) {
|
|
631
|
+
for (var ht = 0; ht < Ee.length; ht++)
|
|
632
|
+
Yr(Ee[ht], c);
|
|
633
|
+
Object.freeze && Object.freeze(Ee);
|
|
634
634
|
} else
|
|
635
635
|
Z("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
636
636
|
else
|
|
637
|
-
Yr(
|
|
637
|
+
Yr(Ee, c);
|
|
638
638
|
}
|
|
639
639
|
return c === r ? $i(qe) : _i(qe), qe;
|
|
640
640
|
}
|
|
@@ -1045,7 +1045,7 @@ nn.prototype = {
|
|
|
1045
1045
|
return new nn(n, 0).mod(e);
|
|
1046
1046
|
}
|
|
1047
1047
|
};
|
|
1048
|
-
var No = nn,
|
|
1048
|
+
var No = nn, Le = ko, Gr = No, Ca = Jo, Fe = {
|
|
1049
1049
|
PATTERN000: 0,
|
|
1050
1050
|
PATTERN001: 1,
|
|
1051
1051
|
PATTERN010: 2,
|
|
@@ -1148,39 +1148,39 @@ var No = nn, Ee = ko, Gr = No, Ca = Jo, Fe = {
|
|
|
1148
1148
|
getLengthInBits: function(e, t) {
|
|
1149
1149
|
if (1 <= t && t < 10)
|
|
1150
1150
|
switch (e) {
|
|
1151
|
-
case
|
|
1151
|
+
case Le.MODE_NUMBER:
|
|
1152
1152
|
return 10;
|
|
1153
|
-
case
|
|
1153
|
+
case Le.MODE_ALPHA_NUM:
|
|
1154
1154
|
return 9;
|
|
1155
|
-
case
|
|
1155
|
+
case Le.MODE_8BIT_BYTE:
|
|
1156
1156
|
return 8;
|
|
1157
|
-
case
|
|
1157
|
+
case Le.MODE_KANJI:
|
|
1158
1158
|
return 8;
|
|
1159
1159
|
default:
|
|
1160
1160
|
throw new Error("mode:" + e);
|
|
1161
1161
|
}
|
|
1162
1162
|
else if (t < 27)
|
|
1163
1163
|
switch (e) {
|
|
1164
|
-
case
|
|
1164
|
+
case Le.MODE_NUMBER:
|
|
1165
1165
|
return 12;
|
|
1166
|
-
case
|
|
1166
|
+
case Le.MODE_ALPHA_NUM:
|
|
1167
1167
|
return 11;
|
|
1168
|
-
case
|
|
1168
|
+
case Le.MODE_8BIT_BYTE:
|
|
1169
1169
|
return 16;
|
|
1170
|
-
case
|
|
1170
|
+
case Le.MODE_KANJI:
|
|
1171
1171
|
return 10;
|
|
1172
1172
|
default:
|
|
1173
1173
|
throw new Error("mode:" + e);
|
|
1174
1174
|
}
|
|
1175
1175
|
else if (t < 41)
|
|
1176
1176
|
switch (e) {
|
|
1177
|
-
case
|
|
1177
|
+
case Le.MODE_NUMBER:
|
|
1178
1178
|
return 14;
|
|
1179
|
-
case
|
|
1179
|
+
case Le.MODE_ALPHA_NUM:
|
|
1180
1180
|
return 13;
|
|
1181
|
-
case
|
|
1181
|
+
case Le.MODE_8BIT_BYTE:
|
|
1182
1182
|
return 16;
|
|
1183
|
-
case
|
|
1183
|
+
case Le.MODE_KANJI:
|
|
1184
1184
|
return 12;
|
|
1185
1185
|
default:
|
|
1186
1186
|
throw new Error("mode:" + e);
|
|
@@ -1464,16 +1464,16 @@ var Hr;
|
|
|
1464
1464
|
function Sa() {
|
|
1465
1465
|
return Hr || (Hr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1466
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, u = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, p = e ? Symbol.for("react.suspense") : 60113, C = e ? Symbol.for("react.suspense_list") : 60120, v = e ? Symbol.for("react.memo") : 60115, q = e ? Symbol.for("react.lazy") : 60116, m = e ? Symbol.for("react.block") : 60121, f = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, Z = e ? Symbol.for("react.scope") : 60119;
|
|
1467
|
-
function S(
|
|
1468
|
-
return typeof
|
|
1469
|
-
|
|
1467
|
+
function S(L) {
|
|
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 === u || L === i || L === o || L === p || L === C || typeof L == "object" && L !== null && (L.$$typeof === q || L.$$typeof === v || L.$$typeof === a || L.$$typeof === A || L.$$typeof === s || L.$$typeof === f || L.$$typeof === y || L.$$typeof === Z || L.$$typeof === m);
|
|
1470
1470
|
}
|
|
1471
|
-
function M(
|
|
1472
|
-
if (typeof
|
|
1473
|
-
var ne =
|
|
1471
|
+
function M(L) {
|
|
1472
|
+
if (typeof L == "object" && L !== null) {
|
|
1473
|
+
var ne = L.$$typeof;
|
|
1474
1474
|
switch (ne) {
|
|
1475
1475
|
case t:
|
|
1476
|
-
var _ =
|
|
1476
|
+
var _ = L.type;
|
|
1477
1477
|
switch (_) {
|
|
1478
1478
|
case d:
|
|
1479
1479
|
case u:
|
|
@@ -1500,47 +1500,47 @@ function Sa() {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
var g = d, D = u, G = A, W = a, X = t, H = s, ae = r, P = q, oe = v,
|
|
1504
|
-
function re(
|
|
1505
|
-
return j || (j = !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.")), b(
|
|
1503
|
+
var g = d, D = u, G = A, W = a, X = t, H = s, ae = r, P = q, oe = v, E = n, O = i, Y = o, h = p, j = !1;
|
|
1504
|
+
function re(L) {
|
|
1505
|
+
return j || (j = !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.")), b(L) || M(L) === d;
|
|
1506
1506
|
}
|
|
1507
|
-
function b(
|
|
1508
|
-
return M(
|
|
1507
|
+
function b(L) {
|
|
1508
|
+
return M(L) === u;
|
|
1509
1509
|
}
|
|
1510
|
-
function K(
|
|
1511
|
-
return M(
|
|
1510
|
+
function K(L) {
|
|
1511
|
+
return M(L) === A;
|
|
1512
1512
|
}
|
|
1513
|
-
function R(
|
|
1514
|
-
return M(
|
|
1513
|
+
function R(L) {
|
|
1514
|
+
return M(L) === a;
|
|
1515
1515
|
}
|
|
1516
|
-
function z(
|
|
1517
|
-
return typeof
|
|
1516
|
+
function z(L) {
|
|
1517
|
+
return typeof L == "object" && L !== null && L.$$typeof === t;
|
|
1518
1518
|
}
|
|
1519
|
-
function J(
|
|
1520
|
-
return M(
|
|
1519
|
+
function J(L) {
|
|
1520
|
+
return M(L) === s;
|
|
1521
1521
|
}
|
|
1522
|
-
function V(
|
|
1523
|
-
return M(
|
|
1522
|
+
function V(L) {
|
|
1523
|
+
return M(L) === r;
|
|
1524
1524
|
}
|
|
1525
|
-
function Q(
|
|
1526
|
-
return M(
|
|
1525
|
+
function Q(L) {
|
|
1526
|
+
return M(L) === q;
|
|
1527
1527
|
}
|
|
1528
|
-
function T(
|
|
1529
|
-
return M(
|
|
1528
|
+
function T(L) {
|
|
1529
|
+
return M(L) === v;
|
|
1530
1530
|
}
|
|
1531
|
-
function B(
|
|
1532
|
-
return M(
|
|
1531
|
+
function B(L) {
|
|
1532
|
+
return M(L) === n;
|
|
1533
1533
|
}
|
|
1534
|
-
function te(
|
|
1535
|
-
return M(
|
|
1534
|
+
function te(L) {
|
|
1535
|
+
return M(L) === i;
|
|
1536
1536
|
}
|
|
1537
|
-
function w(
|
|
1538
|
-
return M(
|
|
1537
|
+
function w(L) {
|
|
1538
|
+
return M(L) === o;
|
|
1539
1539
|
}
|
|
1540
|
-
function ie(
|
|
1541
|
-
return M(
|
|
1540
|
+
function ie(L) {
|
|
1541
|
+
return M(L) === p;
|
|
1542
1542
|
}
|
|
1543
|
-
me.AsyncMode = g, me.ConcurrentMode = D, me.ContextConsumer = G, me.ContextProvider = W, me.Element = X, me.ForwardRef = H, me.Fragment = ae, me.Lazy = P, me.Memo = oe, me.Portal =
|
|
1543
|
+
me.AsyncMode = g, me.ConcurrentMode = D, me.ContextConsumer = G, me.ContextProvider = W, me.Element = X, me.ForwardRef = H, me.Fragment = ae, me.Lazy = P, me.Memo = oe, me.Portal = E, me.Profiler = O, me.StrictMode = Y, me.Suspense = h, me.isAsyncMode = re, me.isConcurrentMode = b, me.isContextConsumer = K, me.isContextProvider = R, me.isElement = z, me.isForwardRef = J, me.isFragment = V, me.isLazy = Q, me.isMemo = T, me.isPortal = B, me.isProfiler = te, me.isStrictMode = w, me.isSuspense = ie, me.isValidElementType = S, me.typeOf = M;
|
|
1544
1544
|
}()), me;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Xr;
|
|
@@ -1552,10 +1552,10 @@ object-assign
|
|
|
1552
1552
|
(c) Sindre Sorhus
|
|
1553
1553
|
@license MIT
|
|
1554
1554
|
*/
|
|
1555
|
-
var
|
|
1555
|
+
var En, Qr;
|
|
1556
1556
|
function Ma() {
|
|
1557
1557
|
if (Qr)
|
|
1558
|
-
return
|
|
1558
|
+
return En;
|
|
1559
1559
|
Qr = 1;
|
|
1560
1560
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
|
|
1561
1561
|
function r(i) {
|
|
@@ -1585,7 +1585,7 @@ function Ma() {
|
|
|
1585
1585
|
return !1;
|
|
1586
1586
|
}
|
|
1587
1587
|
}
|
|
1588
|
-
return
|
|
1588
|
+
return En = o() ? Object.assign : function(i, a) {
|
|
1589
1589
|
for (var A, d = r(i), u, s = 1; s < arguments.length; s++) {
|
|
1590
1590
|
A = Object(arguments[s]);
|
|
1591
1591
|
for (var p in A)
|
|
@@ -1597,15 +1597,15 @@ function Ma() {
|
|
|
1597
1597
|
}
|
|
1598
1598
|
}
|
|
1599
1599
|
return d;
|
|
1600
|
-
},
|
|
1600
|
+
}, En;
|
|
1601
1601
|
}
|
|
1602
|
-
var
|
|
1602
|
+
var Ln, Pr;
|
|
1603
1603
|
function mr() {
|
|
1604
1604
|
if (Pr)
|
|
1605
|
-
return
|
|
1605
|
+
return Ln;
|
|
1606
1606
|
Pr = 1;
|
|
1607
1607
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
1608
|
-
return
|
|
1608
|
+
return Ln = e, Ln;
|
|
1609
1609
|
}
|
|
1610
1610
|
var On, Vr;
|
|
1611
1611
|
function To() {
|
|
@@ -1662,7 +1662,7 @@ function Wa() {
|
|
|
1662
1662
|
}, kn = o, kn;
|
|
1663
1663
|
}
|
|
1664
1664
|
var jn, Ur;
|
|
1665
|
-
function
|
|
1665
|
+
function Ea() {
|
|
1666
1666
|
if (Ur)
|
|
1667
1667
|
return jn;
|
|
1668
1668
|
Ur = 1;
|
|
@@ -1720,10 +1720,10 @@ function La() {
|
|
|
1720
1720
|
function z(V, Q, T, B, te, w, ie) {
|
|
1721
1721
|
if (B = B || C, w = w || T, ie !== n) {
|
|
1722
1722
|
if (d) {
|
|
1723
|
-
var
|
|
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
|
-
throw
|
|
1726
|
+
throw L.name = "Invariant Violation", L;
|
|
1727
1727
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1728
1728
|
var ne = B + ":" + T;
|
|
1729
1729
|
!K[ne] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
@@ -1813,9 +1813,9 @@ function La() {
|
|
|
1813
1813
|
for (var T = R[z], B = 0; B < b.length; B++)
|
|
1814
1814
|
if (q(T, b[B]))
|
|
1815
1815
|
return null;
|
|
1816
|
-
var te = JSON.stringify(b, function(ie,
|
|
1817
|
-
var ne = h(
|
|
1818
|
-
return ne === "symbol" ? String(
|
|
1816
|
+
var te = JSON.stringify(b, function(ie, L) {
|
|
1817
|
+
var ne = h(L);
|
|
1818
|
+
return ne === "symbol" ? String(L) : L;
|
|
1819
1819
|
});
|
|
1820
1820
|
return new m("Invalid " + V + " `" + Q + "` of value `" + String(T) + "` " + ("supplied to `" + J + "`, expected one of " + te + "."));
|
|
1821
1821
|
}
|
|
@@ -1850,10 +1850,10 @@ function La() {
|
|
|
1850
1850
|
}
|
|
1851
1851
|
function z(J, V, Q, T, B) {
|
|
1852
1852
|
for (var te = [], w = 0; w < b.length; w++) {
|
|
1853
|
-
var ie = b[w],
|
|
1854
|
-
if (
|
|
1853
|
+
var ie = b[w], L = ie(J, V, Q, T, B, n);
|
|
1854
|
+
if (L == null)
|
|
1855
1855
|
return null;
|
|
1856
|
-
|
|
1856
|
+
L.data && r(L.data, "expectedType") && te.push(L.data.expectedType);
|
|
1857
1857
|
}
|
|
1858
1858
|
var ne = te.length > 0 ? ", expected one of type [" + te.join(", ") + "]" : "";
|
|
1859
1859
|
return new m("Invalid " + T + " `" + B + "` supplied to " + ("`" + Q + "`" + ne + "."));
|
|
@@ -1862,7 +1862,7 @@ function La() {
|
|
|
1862
1862
|
}
|
|
1863
1863
|
function H() {
|
|
1864
1864
|
function b(K, R, z, J, V) {
|
|
1865
|
-
return
|
|
1865
|
+
return E(K[R]) ? null : new m("Invalid " + J + " `" + V + "` supplied to " + ("`" + z + "`, expected a ReactNode."));
|
|
1866
1866
|
}
|
|
1867
1867
|
return f(b);
|
|
1868
1868
|
}
|
|
@@ -1903,15 +1903,15 @@ function La() {
|
|
|
1903
1903
|
"Invalid " + V + " `" + Q + "` key `" + w + "` supplied to `" + J + "`.\nBad object: " + JSON.stringify(R[z], null, " ") + `
|
|
1904
1904
|
Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
|
|
1905
1905
|
);
|
|
1906
|
-
var
|
|
1907
|
-
if (
|
|
1908
|
-
return
|
|
1906
|
+
var L = ie(T, w, J, V, Q + "." + w, n);
|
|
1907
|
+
if (L)
|
|
1908
|
+
return L;
|
|
1909
1909
|
}
|
|
1910
1910
|
return null;
|
|
1911
1911
|
}
|
|
1912
1912
|
return f(K);
|
|
1913
1913
|
}
|
|
1914
|
-
function
|
|
1914
|
+
function E(b) {
|
|
1915
1915
|
switch (typeof b) {
|
|
1916
1916
|
case "number":
|
|
1917
1917
|
case "string":
|
|
@@ -1921,7 +1921,7 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
|
|
|
1921
1921
|
return !b;
|
|
1922
1922
|
case "object":
|
|
1923
1923
|
if (Array.isArray(b))
|
|
1924
|
-
return b.every(
|
|
1924
|
+
return b.every(E);
|
|
1925
1925
|
if (b === null || A(b))
|
|
1926
1926
|
return !0;
|
|
1927
1927
|
var K = p(b);
|
|
@@ -1929,12 +1929,12 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
|
|
|
1929
1929
|
var R = K.call(b), z;
|
|
1930
1930
|
if (K !== b.entries) {
|
|
1931
1931
|
for (; !(z = R.next()).done; )
|
|
1932
|
-
if (!
|
|
1932
|
+
if (!E(z.value))
|
|
1933
1933
|
return !1;
|
|
1934
1934
|
} else
|
|
1935
1935
|
for (; !(z = R.next()).done; ) {
|
|
1936
1936
|
var J = z.value;
|
|
1937
|
-
if (J && !
|
|
1937
|
+
if (J && !E(J[1]))
|
|
1938
1938
|
return !1;
|
|
1939
1939
|
}
|
|
1940
1940
|
} else
|
|
@@ -1984,7 +1984,7 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
|
|
|
1984
1984
|
}, jn;
|
|
1985
1985
|
}
|
|
1986
1986
|
var zn, Fr;
|
|
1987
|
-
function
|
|
1987
|
+
function La() {
|
|
1988
1988
|
if (Fr)
|
|
1989
1989
|
return zn;
|
|
1990
1990
|
Fr = 1;
|
|
@@ -2034,9 +2034,9 @@ function Ea() {
|
|
|
2034
2034
|
}
|
|
2035
2035
|
if (process.env.NODE_ENV !== "production") {
|
|
2036
2036
|
var Oa = Go(), ka = !0;
|
|
2037
|
-
Un.exports =
|
|
2037
|
+
Un.exports = Ea()(Oa.isElement, ka);
|
|
2038
2038
|
} else
|
|
2039
|
-
Un.exports =
|
|
2039
|
+
Un.exports = La()();
|
|
2040
2040
|
var hn = Un.exports, pr = {};
|
|
2041
2041
|
Object.defineProperty(pr, "__esModule", {
|
|
2042
2042
|
value: !0
|
|
@@ -2357,7 +2357,7 @@ const WA = (e) => {
|
|
|
2357
2357
|
return r;
|
|
2358
2358
|
};
|
|
2359
2359
|
return n(e, 0);
|
|
2360
|
-
},
|
|
2360
|
+
}, EA = Qe("AsyncFunction"), LA = (e) => e && (vn(e) || ze(e)) && ze(e.then) && ze(e.catch), I = {
|
|
2361
2361
|
isArray: bt,
|
|
2362
2362
|
isArrayBuffer: Bo,
|
|
2363
2363
|
isBuffer: eA,
|
|
@@ -2408,8 +2408,8 @@ const WA = (e) => {
|
|
|
2408
2408
|
generateString: SA,
|
|
2409
2409
|
isSpecCompliantForm: MA,
|
|
2410
2410
|
toJSONObject: WA,
|
|
2411
|
-
isAsyncFn:
|
|
2412
|
-
isThenable:
|
|
2411
|
+
isAsyncFn: EA,
|
|
2412
|
+
isThenable: LA
|
|
2413
2413
|
};
|
|
2414
2414
|
function le(e, t, n, r, o) {
|
|
2415
2415
|
Error.call(this), Error.captureStackTrace ? Error.captureStackTrace(this, this.constructor) : this.stack = new Error().stack, this.message = e, this.name = "AxiosError", t && (this.code = t), n && (this.config = n), r && (this.request = r), o && (this.response = o);
|
|
@@ -3781,7 +3781,7 @@ function $e() {
|
|
|
3781
3781
|
(e = arguments[n++]) && (t = vi(e)) && (r && (r += " "), r += t);
|
|
3782
3782
|
return r;
|
|
3783
3783
|
}
|
|
3784
|
-
const
|
|
3784
|
+
const Lt = (e) => typeof e == "number" && !isNaN(e), ut = (e) => typeof e == "string", Se = (e) => typeof e == "function", An = (e) => ut(e) || Se(e) ? e : null, Rn = (e) => yt(e) || ut(e) || Se(e) || Lt(e);
|
|
3785
3785
|
function Ks(e, t, n) {
|
|
3786
3786
|
n === void 0 && (n = 300);
|
|
3787
3787
|
const { scrollHeight: r, style: o } = e;
|
|
@@ -3845,7 +3845,7 @@ const ke = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map
|
|
|
3845
3845
|
return ue.createElement("div", { className: "Toastify__spinner" });
|
|
3846
3846
|
} };
|
|
3847
3847
|
function Ss(e) {
|
|
3848
|
-
const [, t] =
|
|
3848
|
+
const [, t] = Lo((v) => v + 1, 0), [n, r] = F([]), o = at(null), i = at(/* @__PURE__ */ new Map()).current, a = (v) => n.indexOf(v) !== -1, A = at({ toastKey: 1, displayedToast: 0, count: 0, queue: [], props: e, containerId: null, isToastActive: a, getToast: (v) => i.get(v) }).current;
|
|
3849
3849
|
function d(v) {
|
|
3850
3850
|
let { containerId: q } = v;
|
|
3851
3851
|
const { limit: m } = A.props;
|
|
@@ -3867,18 +3867,18 @@ function Ss(e) {
|
|
|
3867
3867
|
const { toastId: Z, updateId: S, data: M } = y, { props: g } = A, D = () => u(Z), G = S == null;
|
|
3868
3868
|
G && A.count++;
|
|
3869
3869
|
const W = { ...g, style: g.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(y).filter((P) => {
|
|
3870
|
-
let [oe,
|
|
3871
|
-
return
|
|
3872
|
-
})), toastId: Z, updateId: S, data: M, closeToast: D, isIn: !1, className: An(y.className || g.toastClassName), bodyClassName: An(y.bodyClassName || g.bodyClassName), progressClassName: An(y.progressClassName || g.progressClassName), autoClose: !y.isLoading && (X = y.autoClose, H = g.autoClose, X === !1 ||
|
|
3870
|
+
let [oe, E] = P;
|
|
3871
|
+
return E != null;
|
|
3872
|
+
})), toastId: Z, updateId: S, data: M, closeToast: D, isIn: !1, className: An(y.className || g.toastClassName), bodyClassName: An(y.bodyClassName || g.bodyClassName), progressClassName: An(y.progressClassName || g.progressClassName), autoClose: !y.isLoading && (X = y.autoClose, H = g.autoClose, X === !1 || Lt(X) && X > 0 ? X : H), deleteToast() {
|
|
3873
3873
|
const P = mo(i.get(Z), "removed");
|
|
3874
3874
|
i.delete(Z), ke.emit(4, P);
|
|
3875
3875
|
const oe = A.queue.length;
|
|
3876
3876
|
if (A.count = Z == null ? A.count - A.displayedToast : A.count - 1, A.count < 0 && (A.count = 0), oe > 0) {
|
|
3877
|
-
const
|
|
3878
|
-
if (oe === 1 ||
|
|
3877
|
+
const E = Z == null ? A.props.limit : 1;
|
|
3878
|
+
if (oe === 1 || E === 1)
|
|
3879
3879
|
A.displayedToast++, s();
|
|
3880
3880
|
else {
|
|
3881
|
-
const O =
|
|
3881
|
+
const O = E > oe ? oe : E;
|
|
3882
3882
|
A.displayedToast = O;
|
|
3883
3883
|
for (let Y = 0; Y < O; Y++)
|
|
3884
3884
|
s();
|
|
@@ -3888,12 +3888,12 @@ function Ss(e) {
|
|
|
3888
3888
|
} };
|
|
3889
3889
|
var X, H;
|
|
3890
3890
|
W.iconOut = function(P) {
|
|
3891
|
-
let { theme: oe, type:
|
|
3892
|
-
const j = { theme: oe, type:
|
|
3893
|
-
return Y === !1 || (Se(Y) ? h = Y(j) : yt(Y) ? h = Vn(Y, j) : ut(Y) ||
|
|
3891
|
+
let { theme: oe, type: E, isLoading: O, icon: Y } = P, h = null;
|
|
3892
|
+
const j = { theme: oe, type: E };
|
|
3893
|
+
return Y === !1 || (Se(Y) ? h = Y(j) : yt(Y) ? h = Vn(Y, j) : ut(Y) || Lt(Y) ? h = Y : O ? h = Gn.spinner() : ((re) => re in Gn)(E) && (h = Gn[E](j))), h;
|
|
3894
3894
|
}(W), Se(y.onOpen) && (W.onOpen = y.onOpen), Se(y.onClose) && (W.onClose = y.onClose), W.closeButton = g.closeButton, y.closeButton === !1 || Rn(y.closeButton) ? W.closeButton = y.closeButton : y.closeButton === !0 && (W.closeButton = !Rn(g.closeButton) || g.closeButton);
|
|
3895
3895
|
let ae = v;
|
|
3896
|
-
yt(v) && !ut(v.type) ? ae = Vn(v, { closeToast: D, toastProps: W, data: M }) : Se(v) && (ae = v({ closeToast: D, toastProps: W, data: M })), g.limit && g.limit > 0 && A.count > g.limit && G ? A.queue.push({ toastContent: ae, toastProps: W, staleId: f }) :
|
|
3896
|
+
yt(v) && !ut(v.type) ? ae = Vn(v, { closeToast: D, toastProps: W, data: M }) : Se(v) && (ae = v({ closeToast: D, toastProps: W, data: M })), g.limit && g.limit > 0 && A.count > g.limit && G ? A.queue.push({ toastContent: ae, toastProps: W, staleId: f }) : Lt(m) ? setTimeout(() => {
|
|
3897
3897
|
C(ae, W, f);
|
|
3898
3898
|
}, m) : C(ae, W, f);
|
|
3899
3899
|
}
|
|
@@ -3983,13 +3983,13 @@ function Ws(e) {
|
|
|
3983
3983
|
p && r();
|
|
3984
3984
|
} });
|
|
3985
3985
|
}
|
|
3986
|
-
const
|
|
3987
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = Ms(e), { closeButton: i, children: a, autoClose: A, onClick: d, type: u, hideProgressBar: s, closeToast: p, transition: C, position: v, className: q, style: m, bodyClassName: f, bodyStyle: y, progressClassName: Z, progressStyle: S, updateId: M, role: g, progress: D, rtl: G, toastId: W, deleteToast: X, isIn: H, isLoading: ae, iconOut: P, closeOnClick: oe, theme:
|
|
3986
|
+
const Es = (e) => {
|
|
3987
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = Ms(e), { closeButton: i, children: a, autoClose: A, onClick: d, type: u, hideProgressBar: s, closeToast: p, transition: C, position: v, className: q, style: m, bodyClassName: f, bodyStyle: y, progressClassName: Z, progressStyle: S, updateId: M, role: g, progress: D, rtl: G, toastId: W, deleteToast: X, isIn: H, isLoading: ae, iconOut: P, closeOnClick: oe, theme: E } = e, O = $e("Toastify__toast", `Toastify__toast-theme--${E}`, `Toastify__toast--${u}`, { "Toastify__toast--rtl": G }, { "Toastify__toast--close-on-click": oe }), Y = Se(q) ? q({ rtl: G, position: v, type: u, defaultClassName: O }) : $e(O, q), h = !!D || !A, j = { closeToast: p, type: u, theme: E };
|
|
3988
3988
|
let re = null;
|
|
3989
|
-
return i === !1 || (re = Se(i) ? i(j) : yt(i) ? Vn(i, j) : bi(j)), ue.createElement(C, { isIn: H, done: X, position: v, preventExitTransition: n, nodeRef: r }, ue.createElement("div", { id: W, onClick: d, className: Y, ...o, style: m, ref: r }, ue.createElement("div", { ...H && { role: g }, className: Se(f) ? f({ type: u }) : $e("Toastify__toast-body", f), style: y }, P != null && ue.createElement("div", { className: $e("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ae }) }, P), ue.createElement("div", null, a)), re, ue.createElement(Ws, { ...M && !h ? { key: `pb-${M}` } : {}, rtl: G, theme:
|
|
3989
|
+
return i === !1 || (re = Se(i) ? i(j) : yt(i) ? Vn(i, j) : bi(j)), ue.createElement(C, { isIn: H, done: X, position: v, preventExitTransition: n, nodeRef: r }, ue.createElement("div", { id: W, onClick: d, className: Y, ...o, style: m, ref: r }, ue.createElement("div", { ...H && { role: g }, className: Se(f) ? f({ type: u }) : $e("Toastify__toast-body", f), style: y }, P != null && ue.createElement("div", { className: $e("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ae }) }, P), ue.createElement("div", null, a)), re, ue.createElement(Ws, { ...M && !h ? { key: `pb-${M}` } : {}, rtl: G, theme: E, delay: A, isRunning: t, isIn: H, closeToast: p, hide: s, type: u, style: S, className: Z, controlledProgress: h, progress: D || 0 })));
|
|
3990
3990
|
}, In = function(e, t) {
|
|
3991
3991
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3992
|
-
},
|
|
3992
|
+
}, Ls = Zn(In("bounce", !0));
|
|
3993
3993
|
Zn(In("slide", !0));
|
|
3994
3994
|
Zn(In("zoom"));
|
|
3995
3995
|
Zn(In("flip"));
|
|
@@ -4005,20 +4005,20 @@ const rr = oa((e, t) => {
|
|
|
4005
4005
|
const C = p.length ? { ...a } : { ...a, pointerEvents: "none" };
|
|
4006
4006
|
return ue.createElement("div", { className: u(s), style: C, key: `container-${s}` }, p.map((v, q) => {
|
|
4007
4007
|
let { content: m, props: f } = v;
|
|
4008
|
-
return ue.createElement(
|
|
4008
|
+
return ue.createElement(Es, { ...f, isIn: o(f.toastId), style: { ...f.style, "--nth": q + 1, "--len": p.length }, key: `toast-${f.key}` }, m);
|
|
4009
4009
|
}));
|
|
4010
4010
|
}));
|
|
4011
4011
|
});
|
|
4012
|
-
rr.displayName = "ToastContainer", rr.defaultProps = { position: "top-right", transition:
|
|
4013
|
-
let Tn, ot = /* @__PURE__ */ new Map(),
|
|
4012
|
+
rr.displayName = "ToastContainer", rr.defaultProps = { position: "top-right", transition: Ls, autoClose: 5e3, closeButton: bi, pauseOnHover: !0, pauseOnFocusLoss: !0, closeOnClick: !0, draggable: !0, draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
|
|
4013
|
+
let Tn, ot = /* @__PURE__ */ new Map(), Et = [], Os = 1;
|
|
4014
4014
|
function Ci() {
|
|
4015
4015
|
return "" + Os++;
|
|
4016
4016
|
}
|
|
4017
4017
|
function ks(e) {
|
|
4018
|
-
return e && (ut(e.toastId) ||
|
|
4018
|
+
return e && (ut(e.toastId) || Lt(e.toastId)) ? e.toastId : Ci();
|
|
4019
4019
|
}
|
|
4020
4020
|
function Ot(e, t) {
|
|
4021
|
-
return ot.size > 0 ? ke.emit(0, e, t) :
|
|
4021
|
+
return ot.size > 0 ? ke.emit(0, e, t) : Et.push({ content: e, options: t }), t.toastId;
|
|
4022
4022
|
}
|
|
4023
4023
|
function un(e, t) {
|
|
4024
4024
|
return { ...t, type: t && t.type || e, toastId: ks(t) };
|
|
@@ -4040,7 +4040,7 @@ fe.loading = (e, t) => Ot(e, un("default", { isLoading: !0, autoClose: !1, close
|
|
|
4040
4040
|
}, u = Se(e) ? e() : e;
|
|
4041
4041
|
return u.then((s) => d("success", a, s)).catch((s) => d("error", i, s)), u;
|
|
4042
4042
|
}, fe.success = Ut("success"), fe.info = Ut("info"), fe.error = Ut("error"), fe.warning = Ut("warning"), fe.warn = fe.warning, fe.dark = (e, t) => Ot(e, un("default", { theme: "dark", ...t })), fe.dismiss = (e) => {
|
|
4043
|
-
ot.size > 0 ? ke.emit(1, e) :
|
|
4043
|
+
ot.size > 0 ? ke.emit(1, e) : Et = Et.filter((t) => e != null && t.options.toastId !== e);
|
|
4044
4044
|
}, fe.clearWaitingQueue = function(e) {
|
|
4045
4045
|
return e === void 0 && (e = {}), ke.emit(5, e);
|
|
4046
4046
|
}, fe.isActive = (e) => {
|
|
@@ -4067,9 +4067,9 @@ fe.loading = (e, t) => Ot(e, un("default", { isLoading: !0, autoClose: !1, close
|
|
|
4067
4067
|
}, fe.onChange = (e) => (ke.on(4, e), () => {
|
|
4068
4068
|
ke.off(4, e);
|
|
4069
4069
|
}), fe.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" }, fe.TYPE = { INFO: "info", SUCCESS: "success", WARNING: "warning", ERROR: "error", DEFAULT: "default" }, ke.on(2, (e) => {
|
|
4070
|
-
Tn = e.containerId || e, ot.set(Tn, e),
|
|
4070
|
+
Tn = e.containerId || e, ot.set(Tn, e), Et.forEach((t) => {
|
|
4071
4071
|
ke.emit(0, t.content, t.options);
|
|
4072
|
-
}),
|
|
4072
|
+
}), Et = [];
|
|
4073
4073
|
}).on(3, (e) => {
|
|
4074
4074
|
ot.delete(e.containerId || e), ot.size === 0 && ke.off(0).off(1).off(5);
|
|
4075
4075
|
});
|
|
@@ -4269,7 +4269,7 @@ const Ns = ({
|
|
|
4269
4269
|
}
|
|
4270
4270
|
or(t, r), p(!1);
|
|
4271
4271
|
let m;
|
|
4272
|
-
n === "Flex" ? m = `${o}/preview?versionId=${e}` : n === "Import" ? m = `${o}/preview?versionId=${e}
|
|
4272
|
+
n === "Flex" ? m = `${o}/preview?versionId=${e}` : n === "Import" ? m = `${o}/preview?versionId=${e}` : n === "Ready" ? m = `${o}/preview?versionId=${e}&ready=true` : n === "Fusion" ? m = `${o}/preview?versionId=${e}` : m = `${o}/preview?versionId=${e}`, m += q, Ct(m) ? mt("Link copied") : i(m), p(!1);
|
|
4273
4273
|
}).catch((v) => {
|
|
4274
4274
|
p(!1);
|
|
4275
4275
|
});
|
|
@@ -5870,7 +5870,7 @@ const $s = ({
|
|
|
5870
5870
|
generateCDN: W,
|
|
5871
5871
|
cdnUrl: X
|
|
5872
5872
|
}) => {
|
|
5873
|
-
const [H, ae] = F(!1), [P, oe] = F(""), [
|
|
5873
|
+
const [H, ae] = F(!1), [P, oe] = F(""), [E, O] = F(!1), [Y, h] = F(!1), [j, re] = F(!1), [b, K] = F("download"), [R, z] = F(!1), [J, V] = F(!1), [Q, T] = F(!1);
|
|
5874
5874
|
let B = {
|
|
5875
5875
|
aarki: "html,copy",
|
|
5876
5876
|
adcolony: "copy,html",
|
|
@@ -5936,7 +5936,7 @@ const $s = ({
|
|
|
5936
5936
|
ae(!1), p(nt.message, nt), Ue(nt), V(!1), z(!1);
|
|
5937
5937
|
});
|
|
5938
5938
|
});
|
|
5939
|
-
},
|
|
5939
|
+
}, L = async (N = !1) => {
|
|
5940
5940
|
N ? V(!0) : z(!0);
|
|
5941
5941
|
const ee = {
|
|
5942
5942
|
molocoGenerateHtml: !1
|
|
@@ -6152,7 +6152,7 @@ const $s = ({
|
|
|
6152
6152
|
onClickDonwload: async (N) => {
|
|
6153
6153
|
N.stopPropagation(), oe("copyLink");
|
|
6154
6154
|
const ee = v.iosUrl, ge = v.googleUrl;
|
|
6155
|
-
f && (f != null && f.willSpendCredit) ? (K("download"), m(!0), O(!0)) : d !== "Import" && (!ee || !ge) ? (m(!0), h(!0)) : (O(!1), h(!1), await
|
|
6155
|
+
f && (f != null && f.willSpendCredit) ? (K("download"), m(!0), O(!0)) : d !== "Import" && (!ee || !ge) ? (m(!0), h(!0)) : (O(!1), h(!1), await L(!0));
|
|
6156
6156
|
},
|
|
6157
6157
|
disabled: Z,
|
|
6158
6158
|
children: [
|
|
@@ -6196,7 +6196,7 @@ const $s = ({
|
|
|
6196
6196
|
]
|
|
6197
6197
|
}
|
|
6198
6198
|
),
|
|
6199
|
-
|
|
6199
|
+
E && /* @__PURE__ */ l.jsx(
|
|
6200
6200
|
ir,
|
|
6201
6201
|
{
|
|
6202
6202
|
creditConfirmType: b,
|
|
@@ -6237,7 +6237,7 @@ const $s = ({
|
|
|
6237
6237
|
onClose: () => {
|
|
6238
6238
|
re(!1);
|
|
6239
6239
|
},
|
|
6240
|
-
handleDownload:
|
|
6240
|
+
handleDownload: L,
|
|
6241
6241
|
handleDownloadMolocoTest: ne,
|
|
6242
6242
|
downloadingMoloco: R,
|
|
6243
6243
|
donwloadintMolocoTest: Q,
|
|
@@ -7047,7 +7047,7 @@ const pl = () => (Qn || (Qn = ml()), Qn), fl = aa(
|
|
|
7047
7047
|
), e);
|
|
7048
7048
|
});
|
|
7049
7049
|
function ql(e, t) {
|
|
7050
|
-
const n = Ki(t), [[r, o, i], a] =
|
|
7050
|
+
const n = Ki(t), [[r, o, i], a] = Lo(
|
|
7051
7051
|
(u) => {
|
|
7052
7052
|
const s = n.get(e);
|
|
7053
7053
|
return Object.is(u[0], s) && u[1] === n && u[2] === e ? u : [s, n, e];
|
|
@@ -7248,7 +7248,7 @@ const Si = xi(""), Mi = xi(!1), vl = ({ onClose: e, url: t }) => /* @__PURE__ */
|
|
|
7248
7248
|
cdnUrl: S,
|
|
7249
7249
|
setCdnUrl: M
|
|
7250
7250
|
}) => {
|
|
7251
|
-
const [g, D] = F([]), [G, W] = F([]), [X, H] = F(!1), [ae, P] = F(""), [oe,
|
|
7251
|
+
const [g, D] = F([]), [G, W] = F([]), [X, H] = F(!1), [ae, P] = F(""), [oe, E] = F(!1), [O, Y] = F(!1), [h, j] = F("download"), [re, b] = F(!1), [K, R] = F(!1), [z, J] = F(!1), [V, Q] = cn(Si), [T, B] = cn(Mi), te = async (ne = !1) => {
|
|
7252
7252
|
ne && S || z || (J(!0), Jt(r, "cdn", u, null, !1, {}).then((_) => {
|
|
7253
7253
|
M(_.url), J(!1);
|
|
7254
7254
|
}).catch((_) => {
|
|
@@ -7264,12 +7264,12 @@ const Si = xi(""), Mi = xi(!1), vl = ({ onClose: e, url: t }) => /* @__PURE__ */
|
|
|
7264
7264
|
Ft.filter((N) => [..._].includes(N.id)).map((N) => N.name);
|
|
7265
7265
|
}, ie = async () => new Promise(async (ne, _) => {
|
|
7266
7266
|
const N = Ft.filter((ee) => [...g].includes(ee.id)).map((ee) => ee.name);
|
|
7267
|
-
|
|
7268
|
-
|
|
7267
|
+
E(!0), zs(r, u, N, { urlType: m }).then((ee) => {
|
|
7268
|
+
E(!1), ne(ee);
|
|
7269
7269
|
}).catch((ee) => {
|
|
7270
|
-
console.log("get multi download err"),
|
|
7270
|
+
console.log("get multi download err"), E(!1), A(ee.message, ee), _(ee);
|
|
7271
7271
|
});
|
|
7272
|
-
}),
|
|
7272
|
+
}), L = async () => {
|
|
7273
7273
|
u.iosUrl, u.googleUrl, t && t.willSpendCredit ? (Y(!0), j("download"), b(!0)) : (b(!1), await ie());
|
|
7274
7274
|
};
|
|
7275
7275
|
return be(() => {
|
|
@@ -7363,7 +7363,7 @@ const Si = xi(""), Mi = xi(!1), vl = ({ onClose: e, url: t }) => /* @__PURE__ */
|
|
|
7363
7363
|
children: /* @__PURE__ */ l.jsx(
|
|
7364
7364
|
tl,
|
|
7365
7365
|
{
|
|
7366
|
-
onClickMultiDownload:
|
|
7366
|
+
onClickMultiDownload: L,
|
|
7367
7367
|
networksVersionTotalSize: ae,
|
|
7368
7368
|
typeOfProduct: o,
|
|
7369
7369
|
multiDownloading: oe
|
|
@@ -7513,7 +7513,7 @@ const Ml = ({
|
|
|
7513
7513
|
urlType: y,
|
|
7514
7514
|
setUrlType: Z
|
|
7515
7515
|
}) => {
|
|
7516
|
-
const [S, M] = F(null), [g, D] = F(null), [G, W] = F(null), [X, H] = F(!1), [ae, P] = F(!0), [oe,
|
|
7516
|
+
const [S, M] = F(null), [g, D] = F(null), [G, W] = F(null), [X, H] = F(!1), [ae, P] = F(!0), [oe, E] = F(window.innerWidth), [O, Y] = F(!1), [h, j] = F(!1), [re, b] = F("");
|
|
7517
7517
|
cn(Si), cn(Mi), be(() => {
|
|
7518
7518
|
!re && r !== "Fusion" && Js(t).then((w) => {
|
|
7519
7519
|
w != null && w.exist && b(w.uploadPath);
|
|
@@ -7523,7 +7523,7 @@ const Ml = ({
|
|
|
7523
7523
|
be(() => {
|
|
7524
7524
|
}, [K]), be(() => {
|
|
7525
7525
|
const w = () => {
|
|
7526
|
-
|
|
7526
|
+
E(window.innerWidth);
|
|
7527
7527
|
};
|
|
7528
7528
|
return window.addEventListener("resize", w), () => {
|
|
7529
7529
|
window.removeEventListener("resize", w);
|
|
@@ -7542,7 +7542,7 @@ const Ml = ({
|
|
|
7542
7542
|
}, Q = (w) => {
|
|
7543
7543
|
f(w), J(v, w);
|
|
7544
7544
|
}, T = async (w, ie) => {
|
|
7545
|
-
var
|
|
7545
|
+
var L, ne;
|
|
7546
7546
|
try {
|
|
7547
7547
|
let _;
|
|
7548
7548
|
if (r === "Playable" || r === "Ready") {
|
|
@@ -7559,9 +7559,9 @@ const Ml = ({
|
|
|
7559
7559
|
let ee = await fetch(u + "/" + ie.html).then(
|
|
7560
7560
|
(Ue) => Ue.text()
|
|
7561
7561
|
);
|
|
7562
|
-
const ge = ((
|
|
7562
|
+
const ge = ((L = ee.match(
|
|
7563
7563
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
7564
|
-
)) == null ? void 0 :
|
|
7564
|
+
)) == null ? void 0 : L.at(1)) || "";
|
|
7565
7565
|
m(ge);
|
|
7566
7566
|
const pt = ((ne = ee.match(
|
|
7567
7567
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
@@ -7756,8 +7756,8 @@ De.returnFocus = zl;
|
|
|
7756
7756
|
De.popWithoutFocus = Yl;
|
|
7757
7757
|
De.setupScopedFocus = Jl;
|
|
7758
7758
|
De.teardownScopedFocus = Nl;
|
|
7759
|
-
var Wl = Wi,
|
|
7760
|
-
function
|
|
7759
|
+
var Wl = Wi, El = Ll(Wl);
|
|
7760
|
+
function Ll(e) {
|
|
7761
7761
|
return e && e.__esModule ? e : { default: e };
|
|
7762
7762
|
}
|
|
7763
7763
|
var dt = [], qt = null, lr = !1;
|
|
@@ -7779,7 +7779,7 @@ function Dt() {
|
|
|
7779
7779
|
return;
|
|
7780
7780
|
setTimeout(function() {
|
|
7781
7781
|
if (!qt.contains(document.activeElement)) {
|
|
7782
|
-
var e = (0,
|
|
7782
|
+
var e = (0, El.default)(qt)[0] || qt;
|
|
7783
7783
|
e.focus();
|
|
7784
7784
|
}
|
|
7785
7785
|
}, 0);
|
|
@@ -7847,7 +7847,7 @@ var ur = { exports: {} };
|
|
|
7847
7847
|
}
|
|
7848
7848
|
e.exports = t.default;
|
|
7849
7849
|
})(ur, ur.exports);
|
|
7850
|
-
var Dl = ur.exports, Re = {}, Rl = process.env.NODE_ENV !== "production",
|
|
7850
|
+
var Dl = ur.exports, Re = {}, Rl = process.env.NODE_ENV !== "production", Ei = function() {
|
|
7851
7851
|
};
|
|
7852
7852
|
if (Rl) {
|
|
7853
7853
|
var Gl = function(t, n) {
|
|
@@ -7864,7 +7864,7 @@ if (Rl) {
|
|
|
7864
7864
|
} catch {
|
|
7865
7865
|
}
|
|
7866
7866
|
};
|
|
7867
|
-
|
|
7867
|
+
Ei = function(e, t, n) {
|
|
7868
7868
|
var r = arguments.length;
|
|
7869
7869
|
n = new Array(r > 2 ? r - 2 : 0);
|
|
7870
7870
|
for (var o = 2; o < r; o++)
|
|
@@ -7876,7 +7876,7 @@ if (Rl) {
|
|
|
7876
7876
|
e || Gl.apply(null, [t].concat(n));
|
|
7877
7877
|
};
|
|
7878
7878
|
}
|
|
7879
|
-
var Tl =
|
|
7879
|
+
var Tl = Ei, Ne = {}, Li = { exports: {} };
|
|
7880
7880
|
/*!
|
|
7881
7881
|
Copyright (c) 2015 Jed Watson.
|
|
7882
7882
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
@@ -7892,8 +7892,8 @@ var Tl = Li, Ne = {}, Ei = { exports: {} };
|
|
|
7892
7892
|
};
|
|
7893
7893
|
e.exports ? e.exports = n : window.ExecutionEnvironment = n;
|
|
7894
7894
|
})();
|
|
7895
|
-
})(
|
|
7896
|
-
var Hl =
|
|
7895
|
+
})(Li);
|
|
7896
|
+
var Hl = Li.exports;
|
|
7897
7897
|
Object.defineProperty(Ne, "__esModule", {
|
|
7898
7898
|
value: !0
|
|
7899
7899
|
});
|
|
@@ -8137,53 +8137,53 @@ fu.default.subscribe(yu);
|
|
|
8137
8137
|
Object.defineProperty(t, "__esModule", {
|
|
8138
8138
|
value: !0
|
|
8139
8139
|
});
|
|
8140
|
-
var n = Object.assign || function(
|
|
8140
|
+
var n = Object.assign || function(E) {
|
|
8141
8141
|
for (var O = 1; O < arguments.length; O++) {
|
|
8142
8142
|
var Y = arguments[O];
|
|
8143
8143
|
for (var h in Y)
|
|
8144
|
-
Object.prototype.hasOwnProperty.call(Y, h) && (
|
|
8144
|
+
Object.prototype.hasOwnProperty.call(Y, h) && (E[h] = Y[h]);
|
|
8145
8145
|
}
|
|
8146
|
-
return
|
|
8147
|
-
}, r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
8148
|
-
return typeof
|
|
8149
|
-
} : function(
|
|
8150
|
-
return
|
|
8146
|
+
return E;
|
|
8147
|
+
}, r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(E) {
|
|
8148
|
+
return typeof E;
|
|
8149
|
+
} : function(E) {
|
|
8150
|
+
return E && typeof Symbol == "function" && E.constructor === Symbol && E !== Symbol.prototype ? "symbol" : typeof E;
|
|
8151
8151
|
}, o = function() {
|
|
8152
|
-
function
|
|
8152
|
+
function E(O, Y) {
|
|
8153
8153
|
for (var h = 0; h < Y.length; h++) {
|
|
8154
8154
|
var j = Y[h];
|
|
8155
8155
|
j.enumerable = j.enumerable || !1, j.configurable = !0, "value" in j && (j.writable = !0), Object.defineProperty(O, j.key, j);
|
|
8156
8156
|
}
|
|
8157
8157
|
}
|
|
8158
8158
|
return function(O, Y, h) {
|
|
8159
|
-
return Y &&
|
|
8159
|
+
return Y && E(O.prototype, Y), h && E(O, h), O;
|
|
8160
8160
|
};
|
|
8161
8161
|
}(), i = ue, a = hn, A = g(a), d = De, u = M(d), s = Dl, p = g(s), C = Re, v = M(C), q = Zt, m = M(q), f = Ne, y = g(f), Z = It, S = g(Z);
|
|
8162
|
-
function M(
|
|
8163
|
-
if (
|
|
8164
|
-
return
|
|
8162
|
+
function M(E) {
|
|
8163
|
+
if (E && E.__esModule)
|
|
8164
|
+
return E;
|
|
8165
8165
|
var O = {};
|
|
8166
|
-
if (
|
|
8167
|
-
for (var Y in
|
|
8168
|
-
Object.prototype.hasOwnProperty.call(
|
|
8169
|
-
return O.default =
|
|
8166
|
+
if (E != null)
|
|
8167
|
+
for (var Y in E)
|
|
8168
|
+
Object.prototype.hasOwnProperty.call(E, Y) && (O[Y] = E[Y]);
|
|
8169
|
+
return O.default = E, O;
|
|
8170
8170
|
}
|
|
8171
|
-
function g(
|
|
8172
|
-
return
|
|
8171
|
+
function g(E) {
|
|
8172
|
+
return E && E.__esModule ? E : { default: E };
|
|
8173
8173
|
}
|
|
8174
|
-
function D(
|
|
8175
|
-
if (!(
|
|
8174
|
+
function D(E, O) {
|
|
8175
|
+
if (!(E instanceof O))
|
|
8176
8176
|
throw new TypeError("Cannot call a class as a function");
|
|
8177
8177
|
}
|
|
8178
|
-
function G(
|
|
8179
|
-
if (!
|
|
8178
|
+
function G(E, O) {
|
|
8179
|
+
if (!E)
|
|
8180
8180
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
8181
|
-
return O && (typeof O == "object" || typeof O == "function") ? O :
|
|
8181
|
+
return O && (typeof O == "object" || typeof O == "function") ? O : E;
|
|
8182
8182
|
}
|
|
8183
|
-
function W(
|
|
8183
|
+
function W(E, O) {
|
|
8184
8184
|
if (typeof O != "function" && O !== null)
|
|
8185
8185
|
throw new TypeError("Super expression must either be null or a function, not " + typeof O);
|
|
8186
|
-
|
|
8186
|
+
E.prototype = Object.create(O && O.prototype, { constructor: { value: E, enumerable: !1, writable: !0, configurable: !0 } }), O && (Object.setPrototypeOf ? Object.setPrototypeOf(E, O) : E.__proto__ = O);
|
|
8187
8187
|
}
|
|
8188
8188
|
var X = {
|
|
8189
8189
|
overlay: "ReactModal__Overlay",
|
|
@@ -8192,8 +8192,8 @@ fu.default.subscribe(yu);
|
|
|
8192
8192
|
return O.code === "Tab" || O.keyCode === 9;
|
|
8193
8193
|
}, ae = function(O) {
|
|
8194
8194
|
return O.code === "Escape" || O.keyCode === 27;
|
|
8195
|
-
}, P = 0, oe = function(
|
|
8196
|
-
W(O,
|
|
8195
|
+
}, P = 0, oe = function(E) {
|
|
8196
|
+
W(O, E);
|
|
8197
8197
|
function O(Y) {
|
|
8198
8198
|
D(this, O);
|
|
8199
8199
|
var h = G(this, (O.__proto__ || Object.getPrototypeOf(O)).call(this, Y));
|
|
@@ -8449,8 +8449,8 @@ var Ko = Object.assign || function(e) {
|
|
|
8449
8449
|
return function(t, n, r) {
|
|
8450
8450
|
return n && e(t.prototype, n), r && e(t, r), t;
|
|
8451
8451
|
};
|
|
8452
|
-
}(), Ji = ue, mn = Xt(Ji), wu = ua, pn = Xt(wu), xu = hn, $ = Xt(xu), Ku = vu, So = Xt(Ku), Su = Re, Mu =
|
|
8453
|
-
function
|
|
8452
|
+
}(), Ji = ue, mn = Xt(Ji), wu = ua, pn = Xt(wu), xu = hn, $ = Xt(xu), Ku = vu, So = Xt(Ku), Su = Re, Mu = Eu(Su), et = Ne, Mo = Xt(et), Wu = Zu;
|
|
8453
|
+
function Eu(e) {
|
|
8454
8454
|
if (e && e.__esModule)
|
|
8455
8455
|
return e;
|
|
8456
8456
|
var t = {};
|
|
@@ -8462,7 +8462,7 @@ function Lu(e) {
|
|
|
8462
8462
|
function Xt(e) {
|
|
8463
8463
|
return e && e.__esModule ? e : { default: e };
|
|
8464
8464
|
}
|
|
8465
|
-
function
|
|
8465
|
+
function Lu(e, t) {
|
|
8466
8466
|
if (!(e instanceof t))
|
|
8467
8467
|
throw new TypeError("Cannot call a class as a function");
|
|
8468
8468
|
}
|
|
@@ -8478,7 +8478,7 @@ function Ou(e, t) {
|
|
|
8478
8478
|
}
|
|
8479
8479
|
var ku = ct.portalClassName = "ReactModalPortal", ju = ct.bodyOpenClassName = "ReactModal__Body--open", it = et.canUseDOM && pn.default.createPortal !== void 0, cr = function(t) {
|
|
8480
8480
|
return document.createElement(t);
|
|
8481
|
-
},
|
|
8481
|
+
}, Eo = function() {
|
|
8482
8482
|
return it ? pn.default.createPortal : pn.default.unstable_renderSubtreeIntoContainer;
|
|
8483
8483
|
};
|
|
8484
8484
|
function tn(e) {
|
|
@@ -8488,7 +8488,7 @@ var wt = function(e) {
|
|
|
8488
8488
|
Ou(t, e);
|
|
8489
8489
|
function t() {
|
|
8490
8490
|
var n, r, o, i;
|
|
8491
|
-
|
|
8491
|
+
Lu(this, t);
|
|
8492
8492
|
for (var a = arguments.length, A = Array(a), d = 0; d < a; d++)
|
|
8493
8493
|
A[d] = arguments[d];
|
|
8494
8494
|
return i = (r = (o = Wo(this, (n = t.__proto__ || Object.getPrototypeOf(t)).call.apply(n, [this].concat(A))), o), o.removePortal = function() {
|
|
@@ -8498,7 +8498,7 @@ var wt = function(e) {
|
|
|
8498
8498
|
}, o.portalRef = function(u) {
|
|
8499
8499
|
o.portal = u;
|
|
8500
8500
|
}, o.renderPortal = function(u) {
|
|
8501
|
-
var s =
|
|
8501
|
+
var s = Eo(), p = s(o, mn.default.createElement(So.default, Ko({ defaultStyles: t.defaultStyles }, u)), o.node);
|
|
8502
8502
|
o.portalRef(p);
|
|
8503
8503
|
}, r), Wo(o, i);
|
|
8504
8504
|
}
|
|
@@ -8541,7 +8541,7 @@ var wt = function(e) {
|
|
|
8541
8541
|
if (!et.canUseDOM || !it)
|
|
8542
8542
|
return null;
|
|
8543
8543
|
!this.node && it && (this.node = cr("div"));
|
|
8544
|
-
var r =
|
|
8544
|
+
var r = Eo();
|
|
8545
8545
|
return r(mn.default.createElement(So.default, Ko({
|
|
8546
8546
|
ref: this.portalRef,
|
|
8547
8547
|
defaultStyles: t.defaultStyles
|
|
@@ -8925,7 +8925,7 @@ const dr = /* @__PURE__ */ ca(zu), Yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
8925
8925
|
copyLinkUrl: v,
|
|
8926
8926
|
fusionData: q
|
|
8927
8927
|
}) => {
|
|
8928
|
-
const [m, f] = F(window.innerWidth), [y, Z] = F(!1), [S, M] = F(s), [g, D] = F(!1), [G, W] = F(!0), [X, H] = F(null), [ae, P] = F(""), [oe,
|
|
8928
|
+
const [m, f] = F(window.innerWidth), [y, Z] = F(!1), [S, M] = F(s), [g, D] = F(!1), [G, W] = F(!0), [X, H] = F(null), [ae, P] = F(""), [oe, E] = F("Loading..."), [O, Y] = F("Loading..."), [h, j] = F("game");
|
|
8929
8929
|
Ys(a, A, P, C, q);
|
|
8930
8930
|
const re = async () => {
|
|
8931
8931
|
Jt(n, "preview", null, null, !1).then((b) => {
|
|
@@ -9140,7 +9140,7 @@ const dr = /* @__PURE__ */ ca(zu), Yu = ({ width: e, height: t, fill: n }) => /*
|
|
|
9140
9140
|
setSafariCopyLink: P,
|
|
9141
9141
|
iosLink: oe,
|
|
9142
9142
|
androidLink: O,
|
|
9143
|
-
setIosLink:
|
|
9143
|
+
setIosLink: E,
|
|
9144
9144
|
setAndroidLink: Y,
|
|
9145
9145
|
urlType: h,
|
|
9146
9146
|
setUrlType: j
|