gearboxdownloadmodal 5.0.24 → 5.0.25
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 +128 -128
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +8 -8
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -77,10 +77,10 @@ function Wi() {
|
|
|
77
77
|
{
|
|
78
78
|
for (var Z = arguments.length, S = new Array(Z > 1 ? Z - 1 : 0), R = 1; R < Z; R++)
|
|
79
79
|
S[R - 1] = arguments[R];
|
|
80
|
-
|
|
80
|
+
W("error", l, S);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function W(l, Z, S) {
|
|
84
84
|
{
|
|
85
85
|
var R = x.ReactDebugCurrentFrame, ie = R.getStackAddendum();
|
|
86
86
|
ie !== "" && (Z += "%s", S = S.concat([ie]));
|
|
@@ -154,14 +154,14 @@ function Wi() {
|
|
|
154
154
|
}
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
|
-
var E = Object.assign, K = 0,
|
|
157
|
+
var E = Object.assign, K = 0, M, f, w, X, b, I, z;
|
|
158
158
|
function J() {
|
|
159
159
|
}
|
|
160
160
|
J.__reactDisabledLog = !0;
|
|
161
161
|
function D() {
|
|
162
162
|
{
|
|
163
163
|
if (K === 0) {
|
|
164
|
-
|
|
164
|
+
M = console.log, f = console.info, w = console.warn, X = console.error, b = console.group, I = console.groupCollapsed, z = console.groupEnd;
|
|
165
165
|
var l = {
|
|
166
166
|
configurable: !0,
|
|
167
167
|
enumerable: !0,
|
|
@@ -191,7 +191,7 @@ function Wi() {
|
|
|
191
191
|
};
|
|
192
192
|
Object.defineProperties(console, {
|
|
193
193
|
log: E({}, l, {
|
|
194
|
-
value:
|
|
194
|
+
value: M
|
|
195
195
|
}),
|
|
196
196
|
info: E({}, l, {
|
|
197
197
|
value: f
|
|
@@ -209,7 +209,7 @@ function Wi() {
|
|
|
209
209
|
value: I
|
|
210
210
|
}),
|
|
211
211
|
groupEnd: E({}, l, {
|
|
212
|
-
value:
|
|
212
|
+
value: z
|
|
213
213
|
})
|
|
214
214
|
});
|
|
215
215
|
}
|
|
@@ -1390,7 +1390,7 @@ function Hi() {
|
|
|
1390
1390
|
return se;
|
|
1391
1391
|
wn = 1;
|
|
1392
1392
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = 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, c = e ? Symbol.for("react.async_mode") : 60111, m = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, q = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
1393
|
-
function
|
|
1393
|
+
function W(v) {
|
|
1394
1394
|
if (typeof v == "object" && v !== null) {
|
|
1395
1395
|
var ee = v.$$typeof;
|
|
1396
1396
|
switch (ee) {
|
|
@@ -1421,35 +1421,35 @@ function Hi() {
|
|
|
1421
1421
|
}
|
|
1422
1422
|
}
|
|
1423
1423
|
function O(v) {
|
|
1424
|
-
return
|
|
1424
|
+
return W(v) === m;
|
|
1425
1425
|
}
|
|
1426
1426
|
return se.AsyncMode = c, se.ConcurrentMode = m, se.ContextConsumer = A, se.ContextProvider = a, se.Element = t, se.ForwardRef = s, se.Fragment = n, se.Lazy = p, se.Memo = h, se.Portal = r, se.Profiler = i, se.StrictMode = o, se.Suspense = d, se.isAsyncMode = function(v) {
|
|
1427
|
-
return O(v) ||
|
|
1427
|
+
return O(v) || W(v) === c;
|
|
1428
1428
|
}, se.isConcurrentMode = O, se.isContextConsumer = function(v) {
|
|
1429
|
-
return
|
|
1429
|
+
return W(v) === A;
|
|
1430
1430
|
}, se.isContextProvider = function(v) {
|
|
1431
|
-
return
|
|
1431
|
+
return W(v) === a;
|
|
1432
1432
|
}, se.isElement = function(v) {
|
|
1433
1433
|
return typeof v == "object" && v !== null && v.$$typeof === t;
|
|
1434
1434
|
}, se.isForwardRef = function(v) {
|
|
1435
|
-
return
|
|
1435
|
+
return W(v) === s;
|
|
1436
1436
|
}, se.isFragment = function(v) {
|
|
1437
|
-
return
|
|
1437
|
+
return W(v) === n;
|
|
1438
1438
|
}, se.isLazy = function(v) {
|
|
1439
|
-
return
|
|
1439
|
+
return W(v) === p;
|
|
1440
1440
|
}, se.isMemo = function(v) {
|
|
1441
|
-
return
|
|
1441
|
+
return W(v) === h;
|
|
1442
1442
|
}, se.isPortal = function(v) {
|
|
1443
|
-
return
|
|
1443
|
+
return W(v) === r;
|
|
1444
1444
|
}, se.isProfiler = function(v) {
|
|
1445
|
-
return
|
|
1445
|
+
return W(v) === i;
|
|
1446
1446
|
}, se.isStrictMode = function(v) {
|
|
1447
|
-
return
|
|
1447
|
+
return W(v) === o;
|
|
1448
1448
|
}, se.isSuspense = function(v) {
|
|
1449
|
-
return
|
|
1449
|
+
return W(v) === d;
|
|
1450
1450
|
}, se.isValidElementType = function(v) {
|
|
1451
1451
|
return typeof v == "string" || typeof v == "function" || v === n || v === m || v === i || v === o || v === d || v === g || typeof v == "object" && v !== null && (v.$$typeof === p || v.$$typeof === h || v.$$typeof === a || v.$$typeof === A || v.$$typeof === s || v.$$typeof === C || v.$$typeof === x || v.$$typeof === k || v.$$typeof === q);
|
|
1452
|
-
}, se.typeOf =
|
|
1452
|
+
}, se.typeOf = W, se;
|
|
1453
1453
|
}
|
|
1454
1454
|
var le = {};
|
|
1455
1455
|
/** @license React v16.13.1
|
|
@@ -1464,7 +1464,7 @@ var Kn;
|
|
|
1464
1464
|
function Vi() {
|
|
1465
1465
|
return Kn || (Kn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1466
1466
|
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = 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, c = e ? Symbol.for("react.async_mode") : 60111, m = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, q = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
1467
|
-
function
|
|
1467
|
+
function W(L) {
|
|
1468
1468
|
return typeof L == "string" || typeof L == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1469
1469
|
L === n || L === m || L === i || L === o || L === d || L === g || typeof L == "object" && L !== null && (L.$$typeof === p || L.$$typeof === h || L.$$typeof === a || L.$$typeof === A || L.$$typeof === s || L.$$typeof === C || L.$$typeof === x || L.$$typeof === k || L.$$typeof === q);
|
|
1470
1470
|
}
|
|
@@ -1500,7 +1500,7 @@ function Vi() {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
var v = c, ee = m, oe = A, ne = a, Ae = t, pe = s, V = n, j = p, Y = h, E = r, K = i,
|
|
1503
|
+
var v = c, ee = m, oe = A, ne = a, Ae = t, pe = s, V = n, j = p, Y = h, E = r, K = i, M = o, f = d, w = !1;
|
|
1504
1504
|
function X(L) {
|
|
1505
1505
|
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.")), b(L) || O(L) === c;
|
|
1506
1506
|
}
|
|
@@ -1510,7 +1510,7 @@ function Vi() {
|
|
|
1510
1510
|
function I(L) {
|
|
1511
1511
|
return O(L) === A;
|
|
1512
1512
|
}
|
|
1513
|
-
function
|
|
1513
|
+
function z(L) {
|
|
1514
1514
|
return O(L) === a;
|
|
1515
1515
|
}
|
|
1516
1516
|
function J(L) {
|
|
@@ -1540,7 +1540,7 @@ function Vi() {
|
|
|
1540
1540
|
function ye(L) {
|
|
1541
1541
|
return O(L) === d;
|
|
1542
1542
|
}
|
|
1543
|
-
le.AsyncMode = v, le.ConcurrentMode = ee, le.ContextConsumer = oe, le.ContextProvider = ne, le.Element = Ae, le.ForwardRef = pe, le.Fragment = V, le.Lazy = j, le.Memo = Y, le.Portal = E, le.Profiler = K, le.StrictMode =
|
|
1543
|
+
le.AsyncMode = v, le.ConcurrentMode = ee, le.ContextConsumer = oe, le.ContextProvider = ne, le.Element = Ae, le.ForwardRef = pe, le.Fragment = V, le.Lazy = j, le.Memo = Y, le.Portal = E, le.Profiler = K, le.StrictMode = M, le.Suspense = f, le.isAsyncMode = X, le.isConcurrentMode = b, le.isContextConsumer = I, le.isContextProvider = z, le.isElement = J, le.isForwardRef = D, le.isFragment = Q, le.isLazy = T, le.isMemo = G, le.isPortal = H, le.isProfiler = U, le.isStrictMode = B, le.isSuspense = ye, le.isValidElementType = W, le.typeOf = O;
|
|
1544
1544
|
}()), le;
|
|
1545
1545
|
}
|
|
1546
1546
|
var En;
|
|
@@ -1696,7 +1696,7 @@ function Ui() {
|
|
|
1696
1696
|
string: x("string"),
|
|
1697
1697
|
symbol: x("symbol"),
|
|
1698
1698
|
any: k(),
|
|
1699
|
-
arrayOf:
|
|
1699
|
+
arrayOf: W,
|
|
1700
1700
|
element: O(),
|
|
1701
1701
|
elementType: v(),
|
|
1702
1702
|
instanceOf: ee,
|
|
@@ -1716,7 +1716,7 @@ function Ui() {
|
|
|
1716
1716
|
q.prototype = Error.prototype;
|
|
1717
1717
|
function C(b) {
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production")
|
|
1719
|
-
var I = {},
|
|
1719
|
+
var I = {}, z = 0;
|
|
1720
1720
|
function J(Q, T, G, H, U, B, ye) {
|
|
1721
1721
|
if (H = H || g, B = B || G, ye !== r) {
|
|
1722
1722
|
if (c) {
|
|
@@ -1727,9 +1727,9 @@ function Ui() {
|
|
|
1727
1727
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1728
1728
|
var N = H + ":" + G;
|
|
1729
1729
|
!I[N] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1730
|
-
|
|
1730
|
+
z < 3 && (i(
|
|
1731
1731
|
"You are manually calling a React.PropTypes validation function for the `" + B + "` prop on `" + H + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1732
|
-
), I[N] = !0,
|
|
1732
|
+
), I[N] = !0, z++);
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
1735
|
return T[G] == null ? Q ? T[G] === null ? new q("The " + U + " `" + B + "` is marked as required " + ("in `" + H + "`, but its value is `null`.")) : new q("The " + U + " `" + B + "` is marked as required in " + ("`" + H + "`, but its value is `undefined`.")) : null : b(T, G, H, U, B);
|
|
@@ -1738,8 +1738,8 @@ function Ui() {
|
|
|
1738
1738
|
return D.isRequired = J.bind(null, !0), D;
|
|
1739
1739
|
}
|
|
1740
1740
|
function x(b) {
|
|
1741
|
-
function I(
|
|
1742
|
-
var H =
|
|
1741
|
+
function I(z, J, D, Q, T, G) {
|
|
1742
|
+
var H = z[J], U = M(H);
|
|
1743
1743
|
if (U !== b) {
|
|
1744
1744
|
var B = f(H);
|
|
1745
1745
|
return new q(
|
|
@@ -1754,13 +1754,13 @@ function Ui() {
|
|
|
1754
1754
|
function k() {
|
|
1755
1755
|
return C(a);
|
|
1756
1756
|
}
|
|
1757
|
-
function
|
|
1758
|
-
function I(
|
|
1757
|
+
function W(b) {
|
|
1758
|
+
function I(z, J, D, Q, T) {
|
|
1759
1759
|
if (typeof b != "function")
|
|
1760
1760
|
return new q("Property `" + T + "` of component `" + D + "` has invalid PropType notation inside arrayOf.");
|
|
1761
|
-
var G =
|
|
1761
|
+
var G = z[J];
|
|
1762
1762
|
if (!Array.isArray(G)) {
|
|
1763
|
-
var H =
|
|
1763
|
+
var H = M(G);
|
|
1764
1764
|
return new q("Invalid " + Q + " `" + T + "` of type " + ("`" + H + "` supplied to `" + D + "`, expected an array."));
|
|
1765
1765
|
}
|
|
1766
1766
|
for (var U = 0; U < G.length; U++) {
|
|
@@ -1773,10 +1773,10 @@ function Ui() {
|
|
|
1773
1773
|
return C(I);
|
|
1774
1774
|
}
|
|
1775
1775
|
function O() {
|
|
1776
|
-
function b(I,
|
|
1777
|
-
var T = I[
|
|
1776
|
+
function b(I, z, J, D, Q) {
|
|
1777
|
+
var T = I[z];
|
|
1778
1778
|
if (!A(T)) {
|
|
1779
|
-
var G =
|
|
1779
|
+
var G = M(T);
|
|
1780
1780
|
return new q("Invalid " + D + " `" + Q + "` of type " + ("`" + G + "` supplied to `" + J + "`, expected a single ReactElement."));
|
|
1781
1781
|
}
|
|
1782
1782
|
return null;
|
|
@@ -1784,10 +1784,10 @@ function Ui() {
|
|
|
1784
1784
|
return C(b);
|
|
1785
1785
|
}
|
|
1786
1786
|
function v() {
|
|
1787
|
-
function b(I,
|
|
1788
|
-
var T = I[
|
|
1787
|
+
function b(I, z, J, D, Q) {
|
|
1788
|
+
var T = I[z];
|
|
1789
1789
|
if (!e.isValidElementType(T)) {
|
|
1790
|
-
var G =
|
|
1790
|
+
var G = M(T);
|
|
1791
1791
|
return new q("Invalid " + D + " `" + Q + "` of type " + ("`" + G + "` supplied to `" + J + "`, expected a single ReactElement type."));
|
|
1792
1792
|
}
|
|
1793
1793
|
return null;
|
|
@@ -1795,9 +1795,9 @@ function Ui() {
|
|
|
1795
1795
|
return C(b);
|
|
1796
1796
|
}
|
|
1797
1797
|
function ee(b) {
|
|
1798
|
-
function I(
|
|
1799
|
-
if (!(
|
|
1800
|
-
var G = b.name || g, H = X(
|
|
1798
|
+
function I(z, J, D, Q, T) {
|
|
1799
|
+
if (!(z[J] instanceof b)) {
|
|
1800
|
+
var G = b.name || g, H = X(z[J]);
|
|
1801
1801
|
return new q("Invalid " + Q + " `" + T + "` of type " + ("`" + H + "` supplied to `" + D + "`, expected ") + ("instance of `" + G + "`."));
|
|
1802
1802
|
}
|
|
1803
1803
|
return null;
|
|
@@ -1809,8 +1809,8 @@ function Ui() {
|
|
|
1809
1809
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
|
|
1810
1810
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1811
1811
|
) : i("Invalid argument supplied to oneOf, expected an array.")), a;
|
|
1812
|
-
function I(
|
|
1813
|
-
for (var G =
|
|
1812
|
+
function I(z, J, D, Q, T) {
|
|
1813
|
+
for (var G = z[J], H = 0; H < b.length; H++)
|
|
1814
1814
|
if (p(G, b[H]))
|
|
1815
1815
|
return null;
|
|
1816
1816
|
var U = JSON.stringify(b, function(ye, L) {
|
|
@@ -1822,10 +1822,10 @@ function Ui() {
|
|
|
1822
1822
|
return C(I);
|
|
1823
1823
|
}
|
|
1824
1824
|
function ne(b) {
|
|
1825
|
-
function I(
|
|
1825
|
+
function I(z, J, D, Q, T) {
|
|
1826
1826
|
if (typeof b != "function")
|
|
1827
1827
|
return new q("Property `" + T + "` of component `" + D + "` has invalid PropType notation inside objectOf.");
|
|
1828
|
-
var G =
|
|
1828
|
+
var G = z[J], H = M(G);
|
|
1829
1829
|
if (H !== "object")
|
|
1830
1830
|
return new q("Invalid " + Q + " `" + T + "` of type " + ("`" + H + "` supplied to `" + D + "`, expected an object."));
|
|
1831
1831
|
for (var U in G)
|
|
@@ -1842,10 +1842,10 @@ function Ui() {
|
|
|
1842
1842
|
if (!Array.isArray(b))
|
|
1843
1843
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
1844
1844
|
for (var I = 0; I < b.length; I++) {
|
|
1845
|
-
var
|
|
1846
|
-
if (typeof
|
|
1845
|
+
var z = b[I];
|
|
1846
|
+
if (typeof z != "function")
|
|
1847
1847
|
return i(
|
|
1848
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + w(
|
|
1848
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + w(z) + " at index " + I + "."
|
|
1849
1849
|
), a;
|
|
1850
1850
|
}
|
|
1851
1851
|
function J(D, Q, T, G, H) {
|
|
@@ -1861,19 +1861,19 @@ function Ui() {
|
|
|
1861
1861
|
return C(J);
|
|
1862
1862
|
}
|
|
1863
1863
|
function pe() {
|
|
1864
|
-
function b(I,
|
|
1865
|
-
return E(I[
|
|
1864
|
+
function b(I, z, J, D, Q) {
|
|
1865
|
+
return E(I[z]) ? null : new q("Invalid " + D + " `" + Q + "` supplied to " + ("`" + J + "`, expected a ReactNode."));
|
|
1866
1866
|
}
|
|
1867
1867
|
return C(b);
|
|
1868
1868
|
}
|
|
1869
|
-
function V(b, I,
|
|
1869
|
+
function V(b, I, z, J, D) {
|
|
1870
1870
|
return new q(
|
|
1871
|
-
(b || "React class") + ": " + I + " type `" +
|
|
1871
|
+
(b || "React class") + ": " + I + " type `" + z + "." + J + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + D + "`."
|
|
1872
1872
|
);
|
|
1873
1873
|
}
|
|
1874
1874
|
function j(b) {
|
|
1875
|
-
function I(
|
|
1876
|
-
var G =
|
|
1875
|
+
function I(z, J, D, Q, T) {
|
|
1876
|
+
var G = z[J], H = M(G);
|
|
1877
1877
|
if (H !== "object")
|
|
1878
1878
|
return new q("Invalid " + Q + " `" + T + "` of type `" + H + "` " + ("supplied to `" + D + "`, expected `object`."));
|
|
1879
1879
|
for (var U in b) {
|
|
@@ -1889,18 +1889,18 @@ function Ui() {
|
|
|
1889
1889
|
return C(I);
|
|
1890
1890
|
}
|
|
1891
1891
|
function Y(b) {
|
|
1892
|
-
function I(
|
|
1893
|
-
var G =
|
|
1892
|
+
function I(z, J, D, Q, T) {
|
|
1893
|
+
var G = z[J], H = M(G);
|
|
1894
1894
|
if (H !== "object")
|
|
1895
1895
|
return new q("Invalid " + Q + " `" + T + "` of type `" + H + "` " + ("supplied to `" + D + "`, expected `object`."));
|
|
1896
|
-
var U = t({},
|
|
1896
|
+
var U = t({}, z[J], b);
|
|
1897
1897
|
for (var B in U) {
|
|
1898
1898
|
var ye = b[B];
|
|
1899
1899
|
if (n(b, B) && typeof ye != "function")
|
|
1900
1900
|
return V(D, Q, T, B, f(ye));
|
|
1901
1901
|
if (!ye)
|
|
1902
1902
|
return new q(
|
|
1903
|
-
"Invalid " + Q + " `" + T + "` key `" + B + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify(
|
|
1903
|
+
"Invalid " + Q + " `" + T + "` key `" + B + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify(z[J], null, " ") + `
|
|
1904
1904
|
Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
|
|
1905
1905
|
);
|
|
1906
1906
|
var L = ye(G, B, D, Q, T + "." + B, r);
|
|
@@ -1926,13 +1926,13 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
|
|
|
1926
1926
|
return !0;
|
|
1927
1927
|
var I = d(b);
|
|
1928
1928
|
if (I) {
|
|
1929
|
-
var
|
|
1929
|
+
var z = I.call(b), J;
|
|
1930
1930
|
if (I !== b.entries) {
|
|
1931
|
-
for (; !(J =
|
|
1931
|
+
for (; !(J = z.next()).done; )
|
|
1932
1932
|
if (!E(J.value))
|
|
1933
1933
|
return !1;
|
|
1934
1934
|
} else
|
|
1935
|
-
for (; !(J =
|
|
1935
|
+
for (; !(J = z.next()).done; ) {
|
|
1936
1936
|
var D = J.value;
|
|
1937
1937
|
if (D && !E(D[1]))
|
|
1938
1938
|
return !1;
|
|
@@ -1947,14 +1947,14 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
|
|
|
1947
1947
|
function K(b, I) {
|
|
1948
1948
|
return b === "symbol" ? !0 : I ? I["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && I instanceof Symbol : !1;
|
|
1949
1949
|
}
|
|
1950
|
-
function
|
|
1950
|
+
function M(b) {
|
|
1951
1951
|
var I = typeof b;
|
|
1952
1952
|
return Array.isArray(b) ? "array" : b instanceof RegExp ? "object" : K(I, b) ? "symbol" : I;
|
|
1953
1953
|
}
|
|
1954
1954
|
function f(b) {
|
|
1955
1955
|
if (typeof b > "u" || b === null)
|
|
1956
1956
|
return "" + b;
|
|
1957
|
-
var I =
|
|
1957
|
+
var I = M(b);
|
|
1958
1958
|
if (I === "object") {
|
|
1959
1959
|
if (b instanceof Date)
|
|
1960
1960
|
return "date";
|
|
@@ -2507,11 +2507,11 @@ function cr(e, t, r) {
|
|
|
2507
2507
|
if (y.endsWith(q, "{}"))
|
|
2508
2508
|
q = n ? q : q.slice(0, -2), p = JSON.stringify(p);
|
|
2509
2509
|
else if (y.isArray(p) && $a(p) || (y.isFileList(p) || y.endsWith(q, "[]")) && (x = y.toArray(p)))
|
|
2510
|
-
return q = ko(q), x.forEach(function(
|
|
2511
|
-
!(y.isUndefined(
|
|
2510
|
+
return q = ko(q), x.forEach(function(W, O) {
|
|
2511
|
+
!(y.isUndefined(W) || W === null) && t.append(
|
|
2512
2512
|
// eslint-disable-next-line no-nested-ternary
|
|
2513
2513
|
a === !0 ? jn([q], O, i) : a === null ? q : q + "[]",
|
|
2514
|
-
m(
|
|
2514
|
+
m(W)
|
|
2515
2515
|
);
|
|
2516
2516
|
}), !1;
|
|
2517
2517
|
}
|
|
@@ -3731,8 +3731,8 @@ function dr(e) {
|
|
|
3731
3731
|
let { children: A, position: c, preventExitTransition: m, done: s, nodeRef: d, isIn: g } = a;
|
|
3732
3732
|
const h = n ? `${t}--${c}` : t, p = n ? `${r}--${c}` : r, q = st(0);
|
|
3733
3733
|
return Ei(() => {
|
|
3734
|
-
const C = d.current, x = h.split(" "), k = (
|
|
3735
|
-
|
|
3734
|
+
const C = d.current, x = h.split(" "), k = (W) => {
|
|
3735
|
+
W.target === d.current && (C.dispatchEvent(new Event("d")), C.removeEventListener("animationend", k), C.removeEventListener("animationcancel", k), q.current === 0 && W.type !== "animationcancel" && C.classList.remove(...x));
|
|
3736
3736
|
};
|
|
3737
3737
|
C.classList.add(...x), C.addEventListener("animationend", k), C.addEventListener("animationcancel", k);
|
|
3738
3738
|
}, []), we(() => {
|
|
@@ -3798,12 +3798,12 @@ function JA(e) {
|
|
|
3798
3798
|
return !o.current || A.props.enableMultiContainer && j.containerId !== A.props.containerId || i.has(j.toastId) && j.updateId == null;
|
|
3799
3799
|
}(x))
|
|
3800
3800
|
return;
|
|
3801
|
-
const { toastId: k, updateId:
|
|
3801
|
+
const { toastId: k, updateId: W, data: O } = x, { props: v } = A, ee = () => m(k), oe = W == null;
|
|
3802
3802
|
oe && A.count++;
|
|
3803
3803
|
const ne = { ...v, style: v.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(x).filter((j) => {
|
|
3804
3804
|
let [Y, E] = j;
|
|
3805
3805
|
return E != null;
|
|
3806
|
-
})), toastId: k, updateId:
|
|
3806
|
+
})), toastId: k, updateId: W, data: O, closeToast: ee, isIn: !1, className: Ft(x.className || v.toastClassName), bodyClassName: Ft(x.bodyClassName || v.bodyClassName), progressClassName: Ft(x.progressClassName || v.progressClassName), autoClose: !x.isLoading && (Ae = x.autoClose, pe = v.autoClose, Ae === !1 || St(Ae) && Ae > 0 ? Ae : pe), deleteToast() {
|
|
3807
3807
|
const j = Vn(i.get(k), "removed");
|
|
3808
3808
|
i.delete(k), ze.emit(4, j);
|
|
3809
3809
|
const Y = A.queue.length;
|
|
@@ -3814,7 +3814,7 @@ function JA(e) {
|
|
|
3814
3814
|
else {
|
|
3815
3815
|
const K = E > Y ? Y : E;
|
|
3816
3816
|
A.displayedToast = K;
|
|
3817
|
-
for (let
|
|
3817
|
+
for (let M = 0; M < K; M++)
|
|
3818
3818
|
s();
|
|
3819
3819
|
}
|
|
3820
3820
|
} else
|
|
@@ -3822,9 +3822,9 @@ function JA(e) {
|
|
|
3822
3822
|
} };
|
|
3823
3823
|
var Ae, pe;
|
|
3824
3824
|
ne.iconOut = function(j) {
|
|
3825
|
-
let { theme: Y, type: E, isLoading: K, icon:
|
|
3825
|
+
let { theme: Y, type: E, isLoading: K, icon: M } = j, f = null;
|
|
3826
3826
|
const w = { theme: Y, type: E };
|
|
3827
|
-
return
|
|
3827
|
+
return M === !1 || (xe(M) ? f = M(w) : gt(M) ? f = zr(M, w) : mt(M) || St(M) ? f = M : K ? f = Or.spinner() : ((X) => X in Or)(E) && (f = Or[E](w))), f;
|
|
3828
3828
|
}(ne), xe(x.onOpen) && (ne.onOpen = x.onOpen), xe(x.onClose) && (ne.onClose = x.onClose), ne.closeButton = v.closeButton, x.closeButton === !1 || Sr(x.closeButton) ? ne.closeButton = x.closeButton : x.closeButton === !0 && (ne.closeButton = !Sr(v.closeButton) || v.closeButton);
|
|
3829
3829
|
let V = h;
|
|
3830
3830
|
gt(h) && !mt(h.type) ? V = zr(h, { closeToast: ee, toastProps: ne, data: O }) : xe(h) && (V = h({ closeToast: ee, toastProps: ne, data: O })), v.limit && v.limit > 0 && A.count > v.limit && oe ? A.queue.push({ toastContent: V, toastProps: ne, staleId: C }) : St(q) ? setTimeout(() => {
|
|
@@ -3835,7 +3835,7 @@ function JA(e) {
|
|
|
3835
3835
|
const { toastId: C } = p;
|
|
3836
3836
|
q && i.delete(q);
|
|
3837
3837
|
const x = { content: h, props: p };
|
|
3838
|
-
i.set(C, x), n((k) => [...k, C].filter((
|
|
3838
|
+
i.set(C, x), n((k) => [...k, C].filter((W) => W !== q)), ze.emit(4, Vn(x, x.props.updateId == null ? "added" : "updated"));
|
|
3839
3839
|
}
|
|
3840
3840
|
return we(() => (A.containerId = e.containerId, ze.cancelEmit(3).on(0, d).on(1, (h) => o.current && m(h)).on(5, c).emit(2, A), () => {
|
|
3841
3841
|
i.clear(), ze.emit(3, A);
|
|
@@ -3897,10 +3897,10 @@ function DA(e) {
|
|
|
3897
3897
|
}), []), we(() => (e.pauseOnFocusLoss && (document.hasFocus() || C(), window.addEventListener("focus", q), window.addEventListener("blur", C)), () => {
|
|
3898
3898
|
e.pauseOnFocusLoss && (window.removeEventListener("focus", q), window.removeEventListener("blur", C));
|
|
3899
3899
|
}), [e.pauseOnFocusLoss]);
|
|
3900
|
-
const
|
|
3901
|
-
return c && m && (
|
|
3900
|
+
const W = { onMouseDown: h, onTouchStart: h, onMouseUp: p, onTouchEnd: p };
|
|
3901
|
+
return c && m && (W.onMouseEnter = C, W.onMouseLeave = q), g && (W.onClick = (O) => {
|
|
3902
3902
|
d && d(O), a.canCloseOnClick && s();
|
|
3903
|
-
}), { playToast: q, pauseToast: C, isRunning: t, preventExitTransition: n, toastRef: i, eventHandlers:
|
|
3903
|
+
}), { playToast: q, pauseToast: C, isRunning: t, preventExitTransition: n, toastRef: i, eventHandlers: W };
|
|
3904
3904
|
}
|
|
3905
3905
|
function Xo(e) {
|
|
3906
3906
|
let { closeToast: t, theme: r, ariaLabel: n = "close" } = e;
|
|
@@ -3918,9 +3918,9 @@ function NA(e) {
|
|
|
3918
3918
|
} });
|
|
3919
3919
|
}
|
|
3920
3920
|
const TA = (e) => {
|
|
3921
|
-
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: o } = DA(e), { closeButton: i, children: a, autoClose: A, onClick: c, type: m, hideProgressBar: s, closeToast: d, transition: g, position: h, className: p, style: q, bodyClassName: C, bodyStyle: x, progressClassName: k, progressStyle:
|
|
3921
|
+
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: o } = DA(e), { closeButton: i, children: a, autoClose: A, onClick: c, type: m, hideProgressBar: s, closeToast: d, transition: g, position: h, className: p, style: q, bodyClassName: C, bodyStyle: x, progressClassName: k, progressStyle: W, updateId: O, role: v, progress: ee, rtl: oe, toastId: ne, deleteToast: Ae, isIn: pe, isLoading: V, iconOut: j, closeOnClick: Y, theme: E } = e, K = rt("Toastify__toast", `Toastify__toast-theme--${E}`, `Toastify__toast--${m}`, { "Toastify__toast--rtl": oe }, { "Toastify__toast--close-on-click": Y }), M = xe(p) ? p({ rtl: oe, position: h, type: m, defaultClassName: K }) : rt(K, p), f = !!ee || !A, w = { closeToast: d, type: m, theme: E };
|
|
3922
3922
|
let X = null;
|
|
3923
|
-
return i === !1 || (X = xe(i) ? i(w) : gt(i) ? zr(i, w) : Xo(w)), ae.createElement(g, { isIn: pe, done: Ae, position: h, preventExitTransition: r, nodeRef: n }, ae.createElement("div", { id: ne, onClick: c, className:
|
|
3923
|
+
return i === !1 || (X = xe(i) ? i(w) : gt(i) ? zr(i, w) : Xo(w)), ae.createElement(g, { isIn: pe, done: Ae, position: h, preventExitTransition: r, nodeRef: n }, ae.createElement("div", { id: ne, onClick: c, className: M, ...o, style: q, ref: n }, ae.createElement("div", { ...pe && { role: v }, className: xe(C) ? C({ type: m }) : rt("Toastify__toast-body", C), style: x }, j != null && ae.createElement("div", { className: rt("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !V }) }, j), ae.createElement("div", null, a)), X, ae.createElement(NA, { ...O && !f ? { key: `pb-${O}` } : {}, rtl: oe, theme: E, delay: A, isRunning: t, isIn: pe, closeToast: d, hide: s, type: m, style: W, className: k, controlledProgress: f, progress: ee || 0 })));
|
|
3924
3924
|
}, pr = function(e, t) {
|
|
3925
3925
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3926
3926
|
}, GA = dr(pr("bounce", !0));
|
|
@@ -5215,9 +5215,9 @@ const is = ({
|
|
|
5215
5215
|
downloadFlex: C,
|
|
5216
5216
|
flexDownloadCount: x,
|
|
5217
5217
|
disabled: k,
|
|
5218
|
-
user:
|
|
5218
|
+
user: W
|
|
5219
5219
|
}) => {
|
|
5220
|
-
const [O, v] = $(!1), [ee, oe] = $(Fo(5)), [ne, Ae] = $(""), [pe, V] = $(!1), [j, Y] = $(!1), [E, K] = $(!1), [
|
|
5220
|
+
const [O, v] = $(!1), [ee, oe] = $(Fo(5)), [ne, Ae] = $(""), [pe, V] = $(!1), [j, Y] = $(!1), [E, K] = $(!1), [M, f] = $("download"), [w, X] = $(!1), [b, I] = $(!1), [z, J] = $(!1);
|
|
5221
5221
|
let D = {
|
|
5222
5222
|
aarki: "html,copy",
|
|
5223
5223
|
adcolony: "copy,html",
|
|
@@ -5580,7 +5580,7 @@ const is = ({
|
|
|
5580
5580
|
className: "w-2/3",
|
|
5581
5581
|
downloading: O,
|
|
5582
5582
|
onClickDonwload: async () => {
|
|
5583
|
-
if ((o === "moloco" || o === "molocoV2") &&
|
|
5583
|
+
if ((o === "moloco" || o === "molocoV2") && W.customer === "playableFactoryInternal") {
|
|
5584
5584
|
K(!0);
|
|
5585
5585
|
return;
|
|
5586
5586
|
} else {
|
|
@@ -5634,7 +5634,7 @@ const is = ({
|
|
|
5634
5634
|
pe && /* @__PURE__ */ u.jsx(
|
|
5635
5635
|
os,
|
|
5636
5636
|
{
|
|
5637
|
-
creditConfirmType:
|
|
5637
|
+
creditConfirmType: M,
|
|
5638
5638
|
handleCopyLink: async () => {
|
|
5639
5639
|
Y(!1), q(!1), await U();
|
|
5640
5640
|
},
|
|
@@ -5664,7 +5664,7 @@ const is = ({
|
|
|
5664
5664
|
}
|
|
5665
5665
|
}
|
|
5666
5666
|
),
|
|
5667
|
-
E &&
|
|
5667
|
+
E && W.customer === "playableFactoryInternal" && /* @__PURE__ */ u.jsx(
|
|
5668
5668
|
is,
|
|
5669
5669
|
{
|
|
5670
5670
|
onClose: () => {
|
|
@@ -5675,7 +5675,7 @@ const is = ({
|
|
|
5675
5675
|
handleDownloadMolocoChartboostTest: L,
|
|
5676
5676
|
downloadingMoloco: w,
|
|
5677
5677
|
downloadingMolocoApplovin: b,
|
|
5678
|
-
downloadingMolocoChartboost:
|
|
5678
|
+
downloadingMolocoChartboost: z
|
|
5679
5679
|
}
|
|
5680
5680
|
)
|
|
5681
5681
|
] });
|
|
@@ -6003,14 +6003,14 @@ const ms = ({
|
|
|
6003
6003
|
flexDownloadCount: d,
|
|
6004
6004
|
disabled: g
|
|
6005
6005
|
}) => {
|
|
6006
|
-
const [h, p] = $([]), [q, C] = $([]), [x, k] = $(!1), [
|
|
6006
|
+
const [h, p] = $([]), [q, C] = $([]), [x, k] = $(!1), [W, O] = $(""), [v, ee] = $(!1), [oe, ne] = $(!1), Ae = async (j) => {
|
|
6007
6007
|
k(!0);
|
|
6008
6008
|
const Y = await us(n, j, i);
|
|
6009
6009
|
C(Y.details), O(Y.size), k(!1);
|
|
6010
6010
|
}, pe = async (j) => {
|
|
6011
6011
|
const Y = [...h];
|
|
6012
6012
|
if (h.includes(j)) {
|
|
6013
|
-
const K = Y.findIndex((
|
|
6013
|
+
const K = Y.findIndex((M) => M === j);
|
|
6014
6014
|
Y.splice(K, 1), p(Y);
|
|
6015
6015
|
} else
|
|
6016
6016
|
o === "Playable" ? (Y.push(j), p([...h, j])) : (Y.splice(0), Y.push(j), p([j]));
|
|
@@ -6022,8 +6022,8 @@ const ms = ({
|
|
|
6022
6022
|
ee(!0);
|
|
6023
6023
|
const Y = await cs(n, j, i), { url: E } = Y;
|
|
6024
6024
|
let K;
|
|
6025
|
-
const
|
|
6026
|
-
K = document.createElement("iframe"), K.setAttribute("src",
|
|
6025
|
+
const M = c + "/" + E;
|
|
6026
|
+
K = document.createElement("iframe"), K.setAttribute("src", M), K.style.display = "none", document.body.appendChild(K), K.click(), ee(!1), Re("Multi downloaded completed successfully");
|
|
6027
6027
|
} catch (j) {
|
|
6028
6028
|
ee(!1), A(j.response.data.error.msg), console.error(j);
|
|
6029
6029
|
}
|
|
@@ -6104,7 +6104,7 @@ const ms = ({
|
|
|
6104
6104
|
ls,
|
|
6105
6105
|
{
|
|
6106
6106
|
onClickMultiDownload: V,
|
|
6107
|
-
networksVersionTotalSize:
|
|
6107
|
+
networksVersionTotalSize: W,
|
|
6108
6108
|
typeOfProduct: o,
|
|
6109
6109
|
multiDownloading: v
|
|
6110
6110
|
}
|
|
@@ -6174,7 +6174,7 @@ const gs = [
|
|
|
6174
6174
|
fileSize: s,
|
|
6175
6175
|
setFileSize: d
|
|
6176
6176
|
}) => {
|
|
6177
|
-
const [g, h] = $(null), [p, q] = $(null), [C, x] = $(null), [k,
|
|
6177
|
+
const [g, h] = $(null), [p, q] = $(null), [C, x] = $(null), [k, W] = $(!1), [O, v] = $("Loading..."), [ee, oe] = $("Loading..."), [ne, Ae] = $(!0), [pe, V] = $(window.innerWidth);
|
|
6178
6178
|
we(() => {
|
|
6179
6179
|
const w = () => {
|
|
6180
6180
|
V(window.innerWidth);
|
|
@@ -6184,7 +6184,7 @@ const gs = [
|
|
|
6184
6184
|
};
|
|
6185
6185
|
}, []);
|
|
6186
6186
|
const j = async () => {
|
|
6187
|
-
|
|
6187
|
+
W(!0);
|
|
6188
6188
|
const w = await ds(e, i);
|
|
6189
6189
|
w != null && w.networks || (w.networks = gs), h(w);
|
|
6190
6190
|
}, Y = (w) => {
|
|
@@ -6196,9 +6196,9 @@ const gs = [
|
|
|
6196
6196
|
try {
|
|
6197
6197
|
let I;
|
|
6198
6198
|
if (n === "Playable") {
|
|
6199
|
-
const
|
|
6200
|
-
if (
|
|
6201
|
-
v(
|
|
6199
|
+
const z = await hs(t, i);
|
|
6200
|
+
if (z) {
|
|
6201
|
+
v(z.iosLink), oe(z.androidLink), W(!1);
|
|
6202
6202
|
return;
|
|
6203
6203
|
}
|
|
6204
6204
|
I = await tt(i, t, Fo(5), "default", !1, 0, {});
|
|
@@ -6210,9 +6210,9 @@ const gs = [
|
|
|
6210
6210
|
)) == null ? void 0 : b.at(1)) || "";
|
|
6211
6211
|
oe(Q);
|
|
6212
6212
|
} else if (n === "Flex") {
|
|
6213
|
-
const
|
|
6214
|
-
if (
|
|
6215
|
-
oe(
|
|
6213
|
+
const z = await qs(t, i);
|
|
6214
|
+
if (z.googleUrl || z.iosUrl) {
|
|
6215
|
+
oe(z.googleUrl), v(z.iosUrl), W(!1);
|
|
6216
6216
|
return;
|
|
6217
6217
|
}
|
|
6218
6218
|
w && (w.iosUrl || w.googleUrl) ? (v(w.iosUrl), oe(w.googleUrl)) : (oe(""), v(""));
|
|
@@ -6220,16 +6220,16 @@ const gs = [
|
|
|
6220
6220
|
} catch (I) {
|
|
6221
6221
|
c(I.response.data.error.msg);
|
|
6222
6222
|
}
|
|
6223
|
-
},
|
|
6224
|
-
|
|
6223
|
+
}, M = async () => {
|
|
6224
|
+
W(!0);
|
|
6225
6225
|
const w = await ps({ _id: t }, i);
|
|
6226
6226
|
["admin", "pm", "tester"].includes(a.role) ? x({
|
|
6227
6227
|
...w,
|
|
6228
6228
|
networks: vs
|
|
6229
|
-
}) : x(w),
|
|
6229
|
+
}) : x(w), W(!1);
|
|
6230
6230
|
}, f = async () => await fs(r, i);
|
|
6231
6231
|
return we(() => {
|
|
6232
|
-
o || (h(null), q(null), x(null), d(null)), o && n === "Playable" ? (j(), K(null),
|
|
6232
|
+
o || (h(null), q(null), x(null), d(null)), o && n === "Playable" ? (j(), K(null), Ae(!1)) : o && n === "Flex" && M().then((w) => {
|
|
6233
6233
|
Ae(!1), f().then((X) => {
|
|
6234
6234
|
o && (K(X), Ae(!1), q(X));
|
|
6235
6235
|
});
|
|
@@ -6288,7 +6288,7 @@ const gs = [
|
|
|
6288
6288
|
fetchFileUrl: m,
|
|
6289
6289
|
urls: { iosUrl: O, googleUrl: ee },
|
|
6290
6290
|
game: p,
|
|
6291
|
-
flexDownloadCount:
|
|
6291
|
+
flexDownloadCount: M,
|
|
6292
6292
|
disabled: ne
|
|
6293
6293
|
}
|
|
6294
6294
|
)
|
|
@@ -6750,9 +6750,9 @@ al.default.subscribe(ul);
|
|
|
6750
6750
|
});
|
|
6751
6751
|
var r = Object.assign || function(E) {
|
|
6752
6752
|
for (var K = 1; K < arguments.length; K++) {
|
|
6753
|
-
var
|
|
6754
|
-
for (var f in
|
|
6755
|
-
Object.prototype.hasOwnProperty.call(
|
|
6753
|
+
var M = arguments[K];
|
|
6754
|
+
for (var f in M)
|
|
6755
|
+
Object.prototype.hasOwnProperty.call(M, f) && (E[f] = M[f]);
|
|
6756
6756
|
}
|
|
6757
6757
|
return E;
|
|
6758
6758
|
}, n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(E) {
|
|
@@ -6760,23 +6760,23 @@ al.default.subscribe(ul);
|
|
|
6760
6760
|
} : function(E) {
|
|
6761
6761
|
return E && typeof Symbol == "function" && E.constructor === Symbol && E !== Symbol.prototype ? "symbol" : typeof E;
|
|
6762
6762
|
}, o = function() {
|
|
6763
|
-
function E(K,
|
|
6764
|
-
for (var f = 0; f <
|
|
6765
|
-
var w =
|
|
6763
|
+
function E(K, M) {
|
|
6764
|
+
for (var f = 0; f < M.length; f++) {
|
|
6765
|
+
var w = M[f];
|
|
6766
6766
|
w.enumerable = w.enumerable || !1, w.configurable = !0, "value" in w && (w.writable = !0), Object.defineProperty(K, w.key, w);
|
|
6767
6767
|
}
|
|
6768
6768
|
}
|
|
6769
|
-
return function(K,
|
|
6770
|
-
return
|
|
6769
|
+
return function(K, M, f) {
|
|
6770
|
+
return M && E(K.prototype, M), f && E(K, f), K;
|
|
6771
6771
|
};
|
|
6772
|
-
}(), i = ae, a = ar, A = v(a), c = Te, m = O(c), s = Os, d = v(s), g = Ge, h = O(g), p = bt, q = O(p), C = Ne, x = v(C), k = Ct,
|
|
6772
|
+
}(), i = ae, a = ar, A = v(a), c = Te, m = O(c), s = Os, d = v(s), g = Ge, h = O(g), p = bt, q = O(p), C = Ne, x = v(C), k = Ct, W = v(k);
|
|
6773
6773
|
function O(E) {
|
|
6774
6774
|
if (E && E.__esModule)
|
|
6775
6775
|
return E;
|
|
6776
6776
|
var K = {};
|
|
6777
6777
|
if (E != null)
|
|
6778
|
-
for (var
|
|
6779
|
-
Object.prototype.hasOwnProperty.call(E,
|
|
6778
|
+
for (var M in E)
|
|
6779
|
+
Object.prototype.hasOwnProperty.call(E, M) && (K[M] = E[M]);
|
|
6780
6780
|
return K.default = E, K;
|
|
6781
6781
|
}
|
|
6782
6782
|
function v(E) {
|
|
@@ -6805,16 +6805,16 @@ al.default.subscribe(ul);
|
|
|
6805
6805
|
return K.code === "Escape" || K.keyCode === 27;
|
|
6806
6806
|
}, j = 0, Y = function(E) {
|
|
6807
6807
|
ne(K, E);
|
|
6808
|
-
function K(
|
|
6808
|
+
function K(M) {
|
|
6809
6809
|
ee(this, K);
|
|
6810
|
-
var f = oe(this, (K.__proto__ || Object.getPrototypeOf(K)).call(this,
|
|
6810
|
+
var f = oe(this, (K.__proto__ || Object.getPrototypeOf(K)).call(this, M));
|
|
6811
6811
|
return f.setOverlayRef = function(w) {
|
|
6812
6812
|
f.overlay = w, f.props.overlayRef && f.props.overlayRef(w);
|
|
6813
6813
|
}, f.setContentRef = function(w) {
|
|
6814
6814
|
f.content = w, f.props.contentRef && f.props.contentRef(w);
|
|
6815
6815
|
}, f.afterClose = function() {
|
|
6816
|
-
var w = f.props, X = w.appElement, b = w.ariaHideApp, I = w.htmlOpenClassName,
|
|
6817
|
-
|
|
6816
|
+
var w = f.props, X = w.appElement, b = w.ariaHideApp, I = w.htmlOpenClassName, z = w.bodyOpenClassName, J = w.parentSelector, D = J && J().ownerDocument || document;
|
|
6817
|
+
z && q.remove(D.body, z), I && q.remove(D.getElementsByTagName("html")[0], I), b && j > 0 && (j -= 1, j === 0 && h.show(X)), f.props.shouldFocusAfterRender && (f.props.shouldReturnFocusAfterClose ? (m.returnFocus(f.props.preventScroll), m.teardownScopedFocus()) : m.popWithoutFocus()), f.props.onAfterClose && f.props.onAfterClose(), W.default.deregister(f);
|
|
6818
6818
|
}, f.open = function() {
|
|
6819
6819
|
f.beforeOpen(), f.state.afterOpen && f.state.beforeClose ? (clearTimeout(f.closeTimer), f.setState({ beforeClose: !1 })) : (f.props.shouldFocusAfterRender && (m.setupScopedFocus(f.node), m.markForFocusLater()), f.setState({ isOpen: !0 }, function() {
|
|
6820
6820
|
f.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -6894,14 +6894,14 @@ al.default.subscribe(ul);
|
|
|
6894
6894
|
}, {
|
|
6895
6895
|
key: "beforeOpen",
|
|
6896
6896
|
value: function() {
|
|
6897
|
-
var f = this.props, w = f.appElement, X = f.ariaHideApp, b = f.htmlOpenClassName, I = f.bodyOpenClassName,
|
|
6898
|
-
I && q.add(J.body, I), b && q.add(J.getElementsByTagName("html")[0], b), X && (j += 1, h.hide(w)),
|
|
6897
|
+
var f = this.props, w = f.appElement, X = f.ariaHideApp, b = f.htmlOpenClassName, I = f.bodyOpenClassName, z = f.parentSelector, J = z && z().ownerDocument || document;
|
|
6898
|
+
I && q.add(J.body, I), b && q.add(J.getElementsByTagName("html")[0], b), X && (j += 1, h.hide(w)), W.default.register(this);
|
|
6899
6899
|
}
|
|
6900
6900
|
// Don't steal focus from inner elements
|
|
6901
6901
|
}, {
|
|
6902
6902
|
key: "render",
|
|
6903
6903
|
value: function() {
|
|
6904
|
-
var f = this.props, w = f.id, X = f.className, b = f.overlayClassName, I = f.defaultStyles,
|
|
6904
|
+
var f = this.props, w = f.id, X = f.className, b = f.overlayClassName, I = f.defaultStyles, z = f.children, J = X ? {} : I.content, D = b ? {} : I.overlay;
|
|
6905
6905
|
if (this.shouldBeClosed())
|
|
6906
6906
|
return null;
|
|
6907
6907
|
var Q = {
|
|
@@ -6924,7 +6924,7 @@ al.default.subscribe(ul);
|
|
|
6924
6924
|
"aria-label": this.props.contentLabel
|
|
6925
6925
|
}, this.attributesFromObject("aria", r({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
|
|
6926
6926
|
"data-testid": this.props.testId
|
|
6927
|
-
}), G = this.props.contentElement(T,
|
|
6927
|
+
}), G = this.props.contentElement(T, z);
|
|
6928
6928
|
return this.props.overlayElement(Q, G);
|
|
6929
6929
|
}
|
|
6930
6930
|
}]), K;
|
|
@@ -7371,17 +7371,17 @@ const si = /* @__PURE__ */ Si(Kl), El = ({ width: e, height: t }) => /* @__PURE_
|
|
|
7371
7371
|
fetchFileUrl: g,
|
|
7372
7372
|
copyLinkUrl: h
|
|
7373
7373
|
}) => {
|
|
7374
|
-
const [p, q] = $(window.innerWidth), [C, x] = $(!1), [k,
|
|
7374
|
+
const [p, q] = $(window.innerWidth), [C, x] = $(!1), [k, W] = $(s), [O, v] = $(!1), [ee, oe] = $(!0), [ne, Ae] = $(null), pe = async () => {
|
|
7375
7375
|
a === "Flex" ? await er({ _id: r, network: "default" }, A).then((V) => {
|
|
7376
|
-
x(!0),
|
|
7376
|
+
x(!0), W(g + "/" + V.url), V.size > 5 ? v(!0) : v(!1), Ae(V.size), oe(!1);
|
|
7377
7377
|
}).catch(() => {
|
|
7378
7378
|
oe(!1);
|
|
7379
7379
|
}) : await tt(A, r, "", "default", !1, 0, {}).then((V) => {
|
|
7380
|
-
x(!0),
|
|
7380
|
+
x(!0), W(g + "/" + V.url);
|
|
7381
7381
|
});
|
|
7382
7382
|
};
|
|
7383
7383
|
return we(() => {
|
|
7384
|
-
e ? C || (pe(), x(!0)) : (x(!1),
|
|
7384
|
+
e ? C || (pe(), x(!0)) : (x(!1), W(""));
|
|
7385
7385
|
}, [e]), we(() => {
|
|
7386
7386
|
const V = () => {
|
|
7387
7387
|
q(window.innerWidth);
|