gearboxdownloadmodal 5.0.81 → 5.0.82
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 +83 -89
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +6 -6
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -154,14 +154,14 @@ function Yi() {
|
|
|
154
154
|
}
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
|
-
var x = Object.assign, L = 0,
|
|
157
|
+
var x = Object.assign, L = 0, Y, p, K, D, y, g, z;
|
|
158
158
|
function N() {
|
|
159
159
|
}
|
|
160
160
|
N.__reactDisabledLog = !0;
|
|
161
161
|
function k() {
|
|
162
162
|
{
|
|
163
163
|
if (L === 0) {
|
|
164
|
-
|
|
164
|
+
Y = console.log, p = console.info, K = console.warn, D = console.error, y = console.group, g = console.groupCollapsed, z = console.groupEnd;
|
|
165
165
|
var l = {
|
|
166
166
|
configurable: !0,
|
|
167
167
|
enumerable: !0,
|
|
@@ -191,7 +191,7 @@ function Yi() {
|
|
|
191
191
|
};
|
|
192
192
|
Object.defineProperties(console, {
|
|
193
193
|
log: x({}, l, {
|
|
194
|
-
value:
|
|
194
|
+
value: Y
|
|
195
195
|
}),
|
|
196
196
|
info: x({}, l, {
|
|
197
197
|
value: p
|
|
@@ -209,7 +209,7 @@ function Yi() {
|
|
|
209
209
|
value: g
|
|
210
210
|
}),
|
|
211
211
|
groupEnd: x({}, l, {
|
|
212
|
-
value:
|
|
212
|
+
value: z
|
|
213
213
|
})
|
|
214
214
|
});
|
|
215
215
|
}
|
|
@@ -1500,7 +1500,7 @@ function Ui() {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
var C = u, U = d, ee = A, X = a, se = t, ie = s, te = r, ne = f, T = h, x = n, L = i,
|
|
1503
|
+
var C = u, U = d, ee = A, X = a, se = t, ie = s, te = r, ne = f, T = h, x = n, L = i, Y = o, p = m, K = !1;
|
|
1504
1504
|
function D(S) {
|
|
1505
1505
|
return K || (K = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), y(S) || W(S) === u;
|
|
1506
1506
|
}
|
|
@@ -1510,7 +1510,7 @@ function Ui() {
|
|
|
1510
1510
|
function g(S) {
|
|
1511
1511
|
return W(S) === A;
|
|
1512
1512
|
}
|
|
1513
|
-
function
|
|
1513
|
+
function z(S) {
|
|
1514
1514
|
return W(S) === a;
|
|
1515
1515
|
}
|
|
1516
1516
|
function N(S) {
|
|
@@ -1540,7 +1540,7 @@ function Ui() {
|
|
|
1540
1540
|
function ce(S) {
|
|
1541
1541
|
return W(S) === m;
|
|
1542
1542
|
}
|
|
1543
|
-
Ae.AsyncMode = C, Ae.ConcurrentMode = U, Ae.ContextConsumer = ee, Ae.ContextProvider = X, Ae.Element = se, Ae.ForwardRef = ie, Ae.Fragment = te, Ae.Lazy = ne, Ae.Memo = T, Ae.Portal = x, Ae.Profiler = L, Ae.StrictMode =
|
|
1543
|
+
Ae.AsyncMode = C, Ae.ConcurrentMode = U, Ae.ContextConsumer = ee, Ae.ContextProvider = X, Ae.Element = se, Ae.ForwardRef = ie, Ae.Fragment = te, Ae.Lazy = ne, Ae.Memo = T, Ae.Portal = x, Ae.Profiler = L, Ae.StrictMode = Y, Ae.Suspense = p, Ae.isAsyncMode = D, Ae.isConcurrentMode = y, Ae.isContextConsumer = g, Ae.isContextProvider = z, Ae.isElement = N, Ae.isForwardRef = k, Ae.isFragment = P, Ae.isLazy = j, Ae.isMemo = O, Ae.isPortal = R, Ae.isProfiler = Q, Ae.isStrictMode = V, Ae.isSuspense = ce, Ae.isValidElementType = J, Ae.typeOf = W;
|
|
1544
1544
|
}()), Ae;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Wr;
|
|
@@ -1716,7 +1716,7 @@ function $i() {
|
|
|
1716
1716
|
q.prototype = Error.prototype;
|
|
1717
1717
|
function Z(y) {
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production")
|
|
1719
|
-
var g = {},
|
|
1719
|
+
var g = {}, z = 0;
|
|
1720
1720
|
function N(P, j, O, R, Q, V, ce) {
|
|
1721
1721
|
if (R = R || b, V = V || O, ce !== n) {
|
|
1722
1722
|
if (u) {
|
|
@@ -1727,9 +1727,9 @@ function $i() {
|
|
|
1727
1727
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1728
1728
|
var we = R + ":" + O;
|
|
1729
1729
|
!g[we] && // 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 `" + V + "` prop on `" + R + "`. 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
|
-
), g[we] = !0,
|
|
1732
|
+
), g[we] = !0, z++);
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
1735
|
return j[O] == null ? P ? j[O] === null ? new q("The " + Q + " `" + V + "` is marked as required " + ("in `" + R + "`, but its value is `null`.")) : new q("The " + Q + " `" + V + "` is marked as required in " + ("`" + R + "`, but its value is `undefined`.")) : null : y(j, O, R, Q, V);
|
|
@@ -1738,8 +1738,8 @@ function $i() {
|
|
|
1738
1738
|
return k.isRequired = N.bind(null, !0), k;
|
|
1739
1739
|
}
|
|
1740
1740
|
function w(y) {
|
|
1741
|
-
function g(
|
|
1742
|
-
var R =
|
|
1741
|
+
function g(z, N, k, P, j, O) {
|
|
1742
|
+
var R = z[N], Q = Y(R);
|
|
1743
1743
|
if (Q !== y) {
|
|
1744
1744
|
var V = p(R);
|
|
1745
1745
|
return new q(
|
|
@@ -1755,12 +1755,12 @@ function $i() {
|
|
|
1755
1755
|
return Z(a);
|
|
1756
1756
|
}
|
|
1757
1757
|
function J(y) {
|
|
1758
|
-
function g(
|
|
1758
|
+
function g(z, N, k, P, j) {
|
|
1759
1759
|
if (typeof y != "function")
|
|
1760
1760
|
return new q("Property `" + j + "` of component `" + k + "` has invalid PropType notation inside arrayOf.");
|
|
1761
|
-
var O =
|
|
1761
|
+
var O = z[N];
|
|
1762
1762
|
if (!Array.isArray(O)) {
|
|
1763
|
-
var R =
|
|
1763
|
+
var R = Y(O);
|
|
1764
1764
|
return new q("Invalid " + P + " `" + j + "` of type " + ("`" + R + "` supplied to `" + k + "`, expected an array."));
|
|
1765
1765
|
}
|
|
1766
1766
|
for (var Q = 0; Q < O.length; Q++) {
|
|
@@ -1773,10 +1773,10 @@ function $i() {
|
|
|
1773
1773
|
return Z(g);
|
|
1774
1774
|
}
|
|
1775
1775
|
function W() {
|
|
1776
|
-
function y(g,
|
|
1777
|
-
var j = g[
|
|
1776
|
+
function y(g, z, N, k, P) {
|
|
1777
|
+
var j = g[z];
|
|
1778
1778
|
if (!A(j)) {
|
|
1779
|
-
var O =
|
|
1779
|
+
var O = Y(j);
|
|
1780
1780
|
return new q("Invalid " + k + " `" + P + "` of type " + ("`" + O + "` supplied to `" + N + "`, expected a single ReactElement."));
|
|
1781
1781
|
}
|
|
1782
1782
|
return null;
|
|
@@ -1784,10 +1784,10 @@ function $i() {
|
|
|
1784
1784
|
return Z(y);
|
|
1785
1785
|
}
|
|
1786
1786
|
function C() {
|
|
1787
|
-
function y(g,
|
|
1788
|
-
var j = g[
|
|
1787
|
+
function y(g, z, N, k, P) {
|
|
1788
|
+
var j = g[z];
|
|
1789
1789
|
if (!e.isValidElementType(j)) {
|
|
1790
|
-
var O =
|
|
1790
|
+
var O = Y(j);
|
|
1791
1791
|
return new q("Invalid " + k + " `" + P + "` of type " + ("`" + O + "` supplied to `" + N + "`, expected a single ReactElement type."));
|
|
1792
1792
|
}
|
|
1793
1793
|
return null;
|
|
@@ -1795,9 +1795,9 @@ function $i() {
|
|
|
1795
1795
|
return Z(y);
|
|
1796
1796
|
}
|
|
1797
1797
|
function U(y) {
|
|
1798
|
-
function g(
|
|
1799
|
-
if (!(
|
|
1800
|
-
var O = y.name || b, R = D(
|
|
1798
|
+
function g(z, N, k, P, j) {
|
|
1799
|
+
if (!(z[N] instanceof y)) {
|
|
1800
|
+
var O = y.name || b, R = D(z[N]);
|
|
1801
1801
|
return new q("Invalid " + P + " `" + j + "` of type " + ("`" + R + "` supplied to `" + k + "`, expected ") + ("instance of `" + O + "`."));
|
|
1802
1802
|
}
|
|
1803
1803
|
return null;
|
|
@@ -1809,8 +1809,8 @@ function $i() {
|
|
|
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 g(
|
|
1813
|
-
for (var O =
|
|
1812
|
+
function g(z, N, k, P, j) {
|
|
1813
|
+
for (var O = z[N], R = 0; R < y.length; R++)
|
|
1814
1814
|
if (f(O, y[R]))
|
|
1815
1815
|
return null;
|
|
1816
1816
|
var Q = JSON.stringify(y, function(ce, S) {
|
|
@@ -1822,10 +1822,10 @@ function $i() {
|
|
|
1822
1822
|
return Z(g);
|
|
1823
1823
|
}
|
|
1824
1824
|
function X(y) {
|
|
1825
|
-
function g(
|
|
1825
|
+
function g(z, N, k, P, j) {
|
|
1826
1826
|
if (typeof y != "function")
|
|
1827
1827
|
return new q("Property `" + j + "` of component `" + k + "` has invalid PropType notation inside objectOf.");
|
|
1828
|
-
var O =
|
|
1828
|
+
var O = z[N], R = Y(O);
|
|
1829
1829
|
if (R !== "object")
|
|
1830
1830
|
return new q("Invalid " + P + " `" + j + "` of type " + ("`" + R + "` supplied to `" + k + "`, expected an object."));
|
|
1831
1831
|
for (var Q in O)
|
|
@@ -1842,10 +1842,10 @@ function $i() {
|
|
|
1842
1842
|
if (!Array.isArray(y))
|
|
1843
1843
|
return process.env.NODE_ENV !== "production" && i("Invalid argument supplied to oneOfType, expected an instance of array."), a;
|
|
1844
1844
|
for (var g = 0; g < y.length; g++) {
|
|
1845
|
-
var
|
|
1846
|
-
if (typeof
|
|
1845
|
+
var z = y[g];
|
|
1846
|
+
if (typeof z != "function")
|
|
1847
1847
|
return i(
|
|
1848
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(
|
|
1848
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(z) + " at index " + g + "."
|
|
1849
1849
|
), a;
|
|
1850
1850
|
}
|
|
1851
1851
|
function N(k, P, j, O, R) {
|
|
@@ -1861,19 +1861,19 @@ function $i() {
|
|
|
1861
1861
|
return Z(N);
|
|
1862
1862
|
}
|
|
1863
1863
|
function ie() {
|
|
1864
|
-
function y(g,
|
|
1865
|
-
return x(g[
|
|
1864
|
+
function y(g, z, N, k, P) {
|
|
1865
|
+
return x(g[z]) ? null : new q("Invalid " + k + " `" + P + "` supplied to " + ("`" + N + "`, expected a ReactNode."));
|
|
1866
1866
|
}
|
|
1867
1867
|
return Z(y);
|
|
1868
1868
|
}
|
|
1869
|
-
function te(y, g,
|
|
1869
|
+
function te(y, g, z, N, k) {
|
|
1870
1870
|
return new q(
|
|
1871
|
-
(y || "React class") + ": " + g + " type `" +
|
|
1871
|
+
(y || "React class") + ": " + g + " type `" + z + "." + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + k + "`."
|
|
1872
1872
|
);
|
|
1873
1873
|
}
|
|
1874
1874
|
function ne(y) {
|
|
1875
|
-
function g(
|
|
1876
|
-
var O =
|
|
1875
|
+
function g(z, N, k, P, j) {
|
|
1876
|
+
var O = z[N], R = Y(O);
|
|
1877
1877
|
if (R !== "object")
|
|
1878
1878
|
return new q("Invalid " + P + " `" + j + "` of type `" + R + "` " + ("supplied to `" + k + "`, expected `object`."));
|
|
1879
1879
|
for (var Q in y) {
|
|
@@ -1889,18 +1889,18 @@ function $i() {
|
|
|
1889
1889
|
return Z(g);
|
|
1890
1890
|
}
|
|
1891
1891
|
function T(y) {
|
|
1892
|
-
function g(
|
|
1893
|
-
var O =
|
|
1892
|
+
function g(z, N, k, P, j) {
|
|
1893
|
+
var O = z[N], R = Y(O);
|
|
1894
1894
|
if (R !== "object")
|
|
1895
1895
|
return new q("Invalid " + P + " `" + j + "` of type `" + R + "` " + ("supplied to `" + k + "`, expected `object`."));
|
|
1896
|
-
var Q = t({},
|
|
1896
|
+
var Q = t({}, z[N], y);
|
|
1897
1897
|
for (var V in Q) {
|
|
1898
1898
|
var ce = y[V];
|
|
1899
1899
|
if (r(y, V) && typeof ce != "function")
|
|
1900
1900
|
return te(k, P, j, V, p(ce));
|
|
1901
1901
|
if (!ce)
|
|
1902
1902
|
return new q(
|
|
1903
|
-
"Invalid " + P + " `" + j + "` key `" + V + "` supplied to `" + k + "`.\nBad object: " + JSON.stringify(
|
|
1903
|
+
"Invalid " + P + " `" + j + "` key `" + V + "` supplied to `" + k + "`.\nBad object: " + JSON.stringify(z[N], null, " ") + `
|
|
1904
1904
|
Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
1905
1905
|
);
|
|
1906
1906
|
var S = ce(O, V, k, P, j + "." + V, n);
|
|
@@ -1926,13 +1926,13 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
1926
1926
|
return !0;
|
|
1927
1927
|
var g = m(y);
|
|
1928
1928
|
if (g) {
|
|
1929
|
-
var
|
|
1929
|
+
var z = g.call(y), N;
|
|
1930
1930
|
if (g !== y.entries) {
|
|
1931
|
-
for (; !(N =
|
|
1931
|
+
for (; !(N = z.next()).done; )
|
|
1932
1932
|
if (!x(N.value))
|
|
1933
1933
|
return !1;
|
|
1934
1934
|
} else
|
|
1935
|
-
for (; !(N =
|
|
1935
|
+
for (; !(N = z.next()).done; ) {
|
|
1936
1936
|
var k = N.value;
|
|
1937
1937
|
if (k && !x(k[1]))
|
|
1938
1938
|
return !1;
|
|
@@ -1947,14 +1947,14 @@ Valid keys: ` + JSON.stringify(Object.keys(y), null, " ")
|
|
|
1947
1947
|
function L(y, g) {
|
|
1948
1948
|
return y === "symbol" ? !0 : g ? g["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && g instanceof Symbol : !1;
|
|
1949
1949
|
}
|
|
1950
|
-
function
|
|
1950
|
+
function Y(y) {
|
|
1951
1951
|
var g = typeof y;
|
|
1952
1952
|
return Array.isArray(y) ? "array" : y instanceof RegExp ? "object" : L(g, y) ? "symbol" : g;
|
|
1953
1953
|
}
|
|
1954
1954
|
function p(y) {
|
|
1955
1955
|
if (typeof y > "u" || y === null)
|
|
1956
1956
|
return "" + y;
|
|
1957
|
-
var g =
|
|
1957
|
+
var g = Y(y);
|
|
1958
1958
|
if (g === "object") {
|
|
1959
1959
|
if (y instanceof Date)
|
|
1960
1960
|
return "date";
|
|
@@ -3857,7 +3857,7 @@ function PA(e) {
|
|
|
3857
3857
|
else {
|
|
3858
3858
|
const L = x > T ? T : x;
|
|
3859
3859
|
A.displayedToast = L;
|
|
3860
|
-
for (let
|
|
3860
|
+
for (let Y = 0; Y < L; Y++)
|
|
3861
3861
|
s();
|
|
3862
3862
|
}
|
|
3863
3863
|
} else
|
|
@@ -3865,9 +3865,9 @@ function PA(e) {
|
|
|
3865
3865
|
} };
|
|
3866
3866
|
var se, ie;
|
|
3867
3867
|
X.iconOut = function(ne) {
|
|
3868
|
-
let { theme: T, type: x, isLoading: L, icon:
|
|
3868
|
+
let { theme: T, type: x, isLoading: L, icon: Y } = ne, p = null;
|
|
3869
3869
|
const K = { theme: T, type: x };
|
|
3870
|
-
return
|
|
3870
|
+
return Y === !1 || (be(Y) ? p = Y(K) : ct(Y) ? p = Sn(Y, K) : rt(Y) || It(Y) ? p = Y : L ? p = Wn.spinner() : ((D) => D in Wn)(x) && (p = Wn[x](K))), p;
|
|
3871
3871
|
}(X), be(w.onOpen) && (X.onOpen = w.onOpen), be(w.onClose) && (X.onClose = w.onClose), X.closeButton = C.closeButton, w.closeButton === !1 || Kn(w.closeButton) ? X.closeButton = w.closeButton : w.closeButton === !0 && (X.closeButton = !Kn(C.closeButton) || C.closeButton);
|
|
3872
3872
|
let te = h;
|
|
3873
3873
|
ct(h) && !rt(h.type) ? te = Sn(h, { closeToast: U, toastProps: X, data: W }) : be(h) && (te = h({ closeToast: U, toastProps: X, data: W })), C.limit && C.limit > 0 && A.count > C.limit && ee ? A.queue.push({ toastContent: te, toastProps: X, staleId: Z }) : It(q) ? setTimeout(() => {
|
|
@@ -3961,9 +3961,9 @@ function BA(e) {
|
|
|
3961
3961
|
} });
|
|
3962
3962
|
}
|
|
3963
3963
|
const UA = (e) => {
|
|
3964
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = VA(e), { closeButton: i, children: a, autoClose: A, onClick: u, type: d, hideProgressBar: s, closeToast: m, transition: b, position: h, className: f, style: q, bodyClassName: Z, bodyStyle: w, progressClassName: E, progressStyle: J, updateId: W, role: C, progress: U, rtl: ee, toastId: X, deleteToast: se, isIn: ie, isLoading: te, iconOut: ne, closeOnClick: T, theme: x } = e, L = Qe("Toastify__toast", `Toastify__toast-theme--${x}`, `Toastify__toast--${d}`, { "Toastify__toast--rtl": ee }, { "Toastify__toast--close-on-click": T }),
|
|
3964
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = VA(e), { closeButton: i, children: a, autoClose: A, onClick: u, type: d, hideProgressBar: s, closeToast: m, transition: b, position: h, className: f, style: q, bodyClassName: Z, bodyStyle: w, progressClassName: E, progressStyle: J, updateId: W, role: C, progress: U, rtl: ee, toastId: X, deleteToast: se, isIn: ie, isLoading: te, iconOut: ne, closeOnClick: T, theme: x } = e, L = Qe("Toastify__toast", `Toastify__toast-theme--${x}`, `Toastify__toast--${d}`, { "Toastify__toast--rtl": ee }, { "Toastify__toast--close-on-click": T }), Y = be(f) ? f({ rtl: ee, position: h, type: d, defaultClassName: L }) : Qe(L, f), p = !!U || !A, K = { closeToast: m, type: d, theme: x };
|
|
3965
3965
|
let D = null;
|
|
3966
|
-
return i === !1 || (D = be(i) ? i(K) : ct(i) ? Sn(i, K) : Bo(K)), oe.createElement(b, { isIn: ie, done: se, position: h, preventExitTransition: n, nodeRef: r }, oe.createElement("div", { id: X, onClick: u, className:
|
|
3966
|
+
return i === !1 || (D = be(i) ? i(K) : ct(i) ? Sn(i, K) : Bo(K)), oe.createElement(b, { isIn: ie, done: se, position: h, preventExitTransition: n, nodeRef: r }, oe.createElement("div", { id: X, onClick: u, className: Y, ...o, style: q, ref: r }, oe.createElement("div", { ...ie && { role: C }, className: be(Z) ? Z({ type: d }) : Qe("Toastify__toast-body", Z), style: w }, ne != null && oe.createElement("div", { className: Qe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !te }) }, ne), oe.createElement("div", null, a)), D, oe.createElement(BA, { ...W && !p ? { key: `pb-${W}` } : {}, rtl: ee, theme: x, delay: A, isRunning: t, isIn: ie, closeToast: m, hide: s, type: d, style: J, className: E, controlledProgress: p, progress: U || 0 })));
|
|
3967
3967
|
}, un = function(e, t) {
|
|
3968
3968
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3969
3969
|
}, FA = ln(un("bounce", !0));
|
|
@@ -5406,8 +5406,8 @@ const gs = [
|
|
|
5406
5406
|
setSafariCopyLink: W,
|
|
5407
5407
|
isTest: C
|
|
5408
5408
|
}) => {
|
|
5409
|
-
const [U, ee] = B(!1), [X, se] = B(""), [ie, te] = B(!1), [ne, T] = B(!1), [x, L] = B(!1), [
|
|
5410
|
-
let
|
|
5409
|
+
const [U, ee] = B(!1), [X, se] = B(""), [ie, te] = B(!1), [ne, T] = B(!1), [x, L] = B(!1), [Y, p] = B("download"), [K, D] = B(!1), [y, g] = B(!1);
|
|
5410
|
+
let z = {
|
|
5411
5411
|
aarki: "html,copy",
|
|
5412
5412
|
adcolony: "copy,html",
|
|
5413
5413
|
adjoe: "copy,html",
|
|
@@ -5453,13 +5453,7 @@ const gs = [
|
|
|
5453
5453
|
const N = () => {
|
|
5454
5454
|
n(e);
|
|
5455
5455
|
}, k = async (O, R) => (ee(!0), new Promise((Q, V) => {
|
|
5456
|
-
Bt(
|
|
5457
|
-
d,
|
|
5458
|
-
O,
|
|
5459
|
-
h,
|
|
5460
|
-
R,
|
|
5461
|
-
C
|
|
5462
|
-
).then((ce) => {
|
|
5456
|
+
Bt(d, O, h, R, C).then((ce) => {
|
|
5463
5457
|
ee(!1), Q(ce);
|
|
5464
5458
|
}).catch((ce) => {
|
|
5465
5459
|
ee(!1), m(ce.message, ce), V(ce);
|
|
@@ -5651,7 +5645,7 @@ const gs = [
|
|
|
5651
5645
|
]
|
|
5652
5646
|
}
|
|
5653
5647
|
),
|
|
5654
|
-
|
|
5648
|
+
z[o] && z[o].includes("copy") && /* @__PURE__ */ c.jsx(
|
|
5655
5649
|
Ur,
|
|
5656
5650
|
{
|
|
5657
5651
|
className: "w-1/3 border-hover-" + u,
|
|
@@ -5673,7 +5667,7 @@ const gs = [
|
|
|
5673
5667
|
ie && /* @__PURE__ */ c.jsx(
|
|
5674
5668
|
$o,
|
|
5675
5669
|
{
|
|
5676
|
-
creditConfirmType:
|
|
5670
|
+
creditConfirmType: Y,
|
|
5677
5671
|
handleCopyLink: async () => {
|
|
5678
5672
|
T(!1), q(!1), await k(o, "copy");
|
|
5679
5673
|
},
|
|
@@ -6051,7 +6045,7 @@ const gs = [
|
|
|
6051
6045
|
} else
|
|
6052
6046
|
D.push(K), Z([...q, K]);
|
|
6053
6047
|
Ln.filter((y) => [...D].includes(y.id)).map((y) => y.name);
|
|
6054
|
-
},
|
|
6048
|
+
}, Y = async () => {
|
|
6055
6049
|
const K = Ln.filter((D) => [...q].includes(D.id)).map((D) => D.name);
|
|
6056
6050
|
X(!0), ts(r, d, K).then((D) => {
|
|
6057
6051
|
X(!1), ft("Multi downloaded completed successfully");
|
|
@@ -6059,7 +6053,7 @@ const gs = [
|
|
|
6059
6053
|
X(!1), A(D.message, D);
|
|
6060
6054
|
});
|
|
6061
6055
|
}, p = async () => {
|
|
6062
|
-
d.iosUrl, d.googleUrl, t && t.willSpendCredit ? (ie(!0), ne("download"), x(!0)) : (x(!1), await
|
|
6056
|
+
d.iosUrl, d.googleUrl, t && t.willSpendCredit ? (ie(!0), ne("download"), x(!0)) : (x(!1), await Y());
|
|
6063
6057
|
};
|
|
6064
6058
|
return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
6065
6059
|
/* @__PURE__ */ c.jsxs(
|
|
@@ -6153,7 +6147,7 @@ const gs = [
|
|
|
6153
6147
|
handleCopyLink: async () => {
|
|
6154
6148
|
},
|
|
6155
6149
|
download: async () => {
|
|
6156
|
-
x(!1), ie(!1), await
|
|
6150
|
+
x(!1), ie(!1), await Y();
|
|
6157
6151
|
},
|
|
6158
6152
|
onClose: () => {
|
|
6159
6153
|
x(!1), ie(!1);
|
|
@@ -6245,11 +6239,11 @@ const Ss = [
|
|
|
6245
6239
|
W(!0);
|
|
6246
6240
|
const g = await Is(e, i);
|
|
6247
6241
|
return g != null && g.networks || (g.networks = Ss), f(g), g;
|
|
6248
|
-
},
|
|
6242
|
+
}, Y = (g) => {
|
|
6249
6243
|
U(g);
|
|
6250
6244
|
}, p = (g) => {
|
|
6251
6245
|
X(g);
|
|
6252
|
-
}, K = async (g,
|
|
6246
|
+
}, K = async (g, z) => {
|
|
6253
6247
|
var N, k;
|
|
6254
6248
|
try {
|
|
6255
6249
|
let P;
|
|
@@ -6263,8 +6257,8 @@ const Ss = [
|
|
|
6263
6257
|
U(g.iosUrl), X(g.googleUrl), W(!1);
|
|
6264
6258
|
return;
|
|
6265
6259
|
}
|
|
6266
|
-
if (
|
|
6267
|
-
let O = await fetch(d + "/" +
|
|
6260
|
+
if (z && z.html) {
|
|
6261
|
+
let O = await fetch(d + "/" + z.html).then(
|
|
6268
6262
|
(V) => V.text()
|
|
6269
6263
|
);
|
|
6270
6264
|
const R = ((N = O.match(
|
|
@@ -6300,8 +6294,8 @@ const Ss = [
|
|
|
6300
6294
|
o || (f(null), Z(null), E(null), m(null)), o && (r === "Playable" || r === "Ready" ? (L().then((g) => {
|
|
6301
6295
|
K(null, g);
|
|
6302
6296
|
}), ie(!1)) : r === "Flex" ? D().then((g) => {
|
|
6303
|
-
ie(!1), y().then((
|
|
6304
|
-
o && (K(
|
|
6297
|
+
ie(!1), y().then((z) => {
|
|
6298
|
+
o && (K(z, null), ie(!1), Z(z));
|
|
6305
6299
|
});
|
|
6306
6300
|
}) : r === "Import" && Ms(t, i).then((g) => {
|
|
6307
6301
|
console.log(g), f(g), U(g.iosUrl || ""), X(g.googleUrl || ""), W(!1), ie(!1);
|
|
@@ -6327,7 +6321,7 @@ const Ss = [
|
|
|
6327
6321
|
typeOfProduct: r,
|
|
6328
6322
|
fileSize: s,
|
|
6329
6323
|
urls: { iosUrl: C, googleUrl: ee },
|
|
6330
|
-
handleIosChange:
|
|
6324
|
+
handleIosChange: Y,
|
|
6331
6325
|
handleGoogleChange: p,
|
|
6332
6326
|
disabled: se,
|
|
6333
6327
|
api: i,
|
|
@@ -6827,9 +6821,9 @@ yl.default.subscribe(Zl);
|
|
|
6827
6821
|
});
|
|
6828
6822
|
var n = Object.assign || function(x) {
|
|
6829
6823
|
for (var L = 1; L < arguments.length; L++) {
|
|
6830
|
-
var
|
|
6831
|
-
for (var p in
|
|
6832
|
-
Object.prototype.hasOwnProperty.call(
|
|
6824
|
+
var Y = arguments[L];
|
|
6825
|
+
for (var p in Y)
|
|
6826
|
+
Object.prototype.hasOwnProperty.call(Y, p) && (x[p] = Y[p]);
|
|
6833
6827
|
}
|
|
6834
6828
|
return x;
|
|
6835
6829
|
}, r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(x) {
|
|
@@ -6837,14 +6831,14 @@ yl.default.subscribe(Zl);
|
|
|
6837
6831
|
} : function(x) {
|
|
6838
6832
|
return x && typeof Symbol == "function" && x.constructor === Symbol && x !== Symbol.prototype ? "symbol" : typeof x;
|
|
6839
6833
|
}, o = function() {
|
|
6840
|
-
function x(L,
|
|
6841
|
-
for (var p = 0; p <
|
|
6842
|
-
var K =
|
|
6834
|
+
function x(L, Y) {
|
|
6835
|
+
for (var p = 0; p < Y.length; p++) {
|
|
6836
|
+
var K = Y[p];
|
|
6843
6837
|
K.enumerable = K.enumerable || !1, K.configurable = !0, "value" in K && (K.writable = !0), Object.defineProperty(L, K.key, K);
|
|
6844
6838
|
}
|
|
6845
6839
|
}
|
|
6846
|
-
return function(L,
|
|
6847
|
-
return
|
|
6840
|
+
return function(L, Y, p) {
|
|
6841
|
+
return Y && x(L.prototype, Y), p && x(L, p), L;
|
|
6848
6842
|
};
|
|
6849
6843
|
}(), i = oe, a = en, A = C(a), u = ze, d = W(u), s = Hs, m = C(s), b = Ye, h = W(b), f = ht, q = W(f), Z = ke, w = C(Z), E = qt, J = C(E);
|
|
6850
6844
|
function W(x) {
|
|
@@ -6852,8 +6846,8 @@ yl.default.subscribe(Zl);
|
|
|
6852
6846
|
return x;
|
|
6853
6847
|
var L = {};
|
|
6854
6848
|
if (x != null)
|
|
6855
|
-
for (var
|
|
6856
|
-
Object.prototype.hasOwnProperty.call(x,
|
|
6849
|
+
for (var Y in x)
|
|
6850
|
+
Object.prototype.hasOwnProperty.call(x, Y) && (L[Y] = x[Y]);
|
|
6857
6851
|
return L.default = x, L;
|
|
6858
6852
|
}
|
|
6859
6853
|
function C(x) {
|
|
@@ -6882,16 +6876,16 @@ yl.default.subscribe(Zl);
|
|
|
6882
6876
|
return L.code === "Escape" || L.keyCode === 27;
|
|
6883
6877
|
}, ne = 0, T = function(x) {
|
|
6884
6878
|
X(L, x);
|
|
6885
|
-
function L(
|
|
6879
|
+
function L(Y) {
|
|
6886
6880
|
U(this, L);
|
|
6887
|
-
var p = ee(this, (L.__proto__ || Object.getPrototypeOf(L)).call(this,
|
|
6881
|
+
var p = ee(this, (L.__proto__ || Object.getPrototypeOf(L)).call(this, Y));
|
|
6888
6882
|
return p.setOverlayRef = function(K) {
|
|
6889
6883
|
p.overlay = K, p.props.overlayRef && p.props.overlayRef(K);
|
|
6890
6884
|
}, p.setContentRef = function(K) {
|
|
6891
6885
|
p.content = K, p.props.contentRef && p.props.contentRef(K);
|
|
6892
6886
|
}, p.afterClose = function() {
|
|
6893
|
-
var K = p.props, D = K.appElement, y = K.ariaHideApp, g = K.htmlOpenClassName,
|
|
6894
|
-
|
|
6887
|
+
var K = p.props, D = K.appElement, y = K.ariaHideApp, g = K.htmlOpenClassName, z = K.bodyOpenClassName, N = K.parentSelector, k = N && N().ownerDocument || document;
|
|
6888
|
+
z && q.remove(k.body, z), g && q.remove(k.getElementsByTagName("html")[0], g), y && ne > 0 && (ne -= 1, ne === 0 && h.show(D)), p.props.shouldFocusAfterRender && (p.props.shouldReturnFocusAfterClose ? (d.returnFocus(p.props.preventScroll), d.teardownScopedFocus()) : d.popWithoutFocus()), p.props.onAfterClose && p.props.onAfterClose(), J.default.deregister(p);
|
|
6895
6889
|
}, p.open = function() {
|
|
6896
6890
|
p.beforeOpen(), p.state.afterOpen && p.state.beforeClose ? (clearTimeout(p.closeTimer), p.setState({ beforeClose: !1 })) : (p.props.shouldFocusAfterRender && (d.setupScopedFocus(p.node), d.markForFocusLater()), p.setState({ isOpen: !0 }, function() {
|
|
6897
6891
|
p.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -6971,14 +6965,14 @@ yl.default.subscribe(Zl);
|
|
|
6971
6965
|
}, {
|
|
6972
6966
|
key: "beforeOpen",
|
|
6973
6967
|
value: function() {
|
|
6974
|
-
var p = this.props, K = p.appElement, D = p.ariaHideApp, y = p.htmlOpenClassName, g = p.bodyOpenClassName,
|
|
6968
|
+
var p = this.props, K = p.appElement, D = p.ariaHideApp, y = p.htmlOpenClassName, g = p.bodyOpenClassName, z = p.parentSelector, N = z && z().ownerDocument || document;
|
|
6975
6969
|
g && q.add(N.body, g), y && q.add(N.getElementsByTagName("html")[0], y), D && (ne += 1, h.hide(K)), J.default.register(this);
|
|
6976
6970
|
}
|
|
6977
6971
|
// Don't steal focus from inner elements
|
|
6978
6972
|
}, {
|
|
6979
6973
|
key: "render",
|
|
6980
6974
|
value: function() {
|
|
6981
|
-
var p = this.props, K = p.id, D = p.className, y = p.overlayClassName, g = p.defaultStyles,
|
|
6975
|
+
var p = this.props, K = p.id, D = p.className, y = p.overlayClassName, g = p.defaultStyles, z = p.children, N = D ? {} : g.content, k = y ? {} : g.overlay;
|
|
6982
6976
|
if (this.shouldBeClosed())
|
|
6983
6977
|
return null;
|
|
6984
6978
|
var P = {
|
|
@@ -7001,7 +6995,7 @@ yl.default.subscribe(Zl);
|
|
|
7001
6995
|
"aria-label": this.props.contentLabel
|
|
7002
6996
|
}, this.attributesFromObject("aria", n({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
|
|
7003
6997
|
"data-testid": this.props.testId
|
|
7004
|
-
}), O = this.props.contentElement(j,
|
|
6998
|
+
}), O = this.props.contentElement(j, z);
|
|
7005
6999
|
return this.props.overlayElement(P, O);
|
|
7006
7000
|
}
|
|
7007
7001
|
}]), L;
|