gearboxdownloadmodal 5.0.81 → 5.0.83
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 +178 -184
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +15 -15
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -24,7 +24,7 @@ function ki(e) {
|
|
|
24
24
|
});
|
|
25
25
|
}), n;
|
|
26
26
|
}
|
|
27
|
-
var On = { exports: {} },
|
|
27
|
+
var On = { exports: {} }, yt = {};
|
|
28
28
|
/**
|
|
29
29
|
* @license React
|
|
30
30
|
* react-jsx-runtime.production.min.js
|
|
@@ -37,7 +37,7 @@ var On = { exports: {} }, vt = {};
|
|
|
37
37
|
var Zr;
|
|
38
38
|
function zi() {
|
|
39
39
|
if (Zr)
|
|
40
|
-
return
|
|
40
|
+
return yt;
|
|
41
41
|
Zr = 1;
|
|
42
42
|
var e = oe, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
43
43
|
function a(A, u, d) {
|
|
@@ -50,9 +50,9 @@ function zi() {
|
|
|
50
50
|
m[s] === void 0 && (m[s] = u[s]);
|
|
51
51
|
return { $$typeof: t, type: A, key: b, ref: h, props: m, _owner: o.current };
|
|
52
52
|
}
|
|
53
|
-
return
|
|
53
|
+
return yt.Fragment = n, yt.jsx = a, yt.jsxs = a, yt;
|
|
54
54
|
}
|
|
55
|
-
var
|
|
55
|
+
var vt = {};
|
|
56
56
|
/**
|
|
57
57
|
* @license React
|
|
58
58
|
* react-jsx-runtime.development.js
|
|
@@ -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
|
}
|
|
@@ -393,7 +393,7 @@ function Yi() {
|
|
|
393
393
|
if (di(l))
|
|
394
394
|
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ci(l)), dr(l);
|
|
395
395
|
}
|
|
396
|
-
var
|
|
396
|
+
var gt = w.ReactCurrentOwner, mi = {
|
|
397
397
|
key: !0,
|
|
398
398
|
ref: !0,
|
|
399
399
|
__self: !0,
|
|
@@ -417,9 +417,9 @@ function Yi() {
|
|
|
417
417
|
return l.key !== void 0;
|
|
418
418
|
}
|
|
419
419
|
function hi(l, I) {
|
|
420
|
-
if (typeof l.ref == "string" &&
|
|
421
|
-
var M = T(
|
|
422
|
-
mn[M] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', T(
|
|
420
|
+
if (typeof l.ref == "string" && gt.current && I && gt.current.stateNode !== I) {
|
|
421
|
+
var M = T(gt.current.type);
|
|
422
|
+
mn[M] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', T(gt.current.type), l.ref), mn[M] = !0);
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
function qi(l, I) {
|
|
@@ -488,7 +488,7 @@ function Yi() {
|
|
|
488
488
|
var me = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
|
|
489
489
|
F && qi(_, me), ve && gi(_, me);
|
|
490
490
|
}
|
|
491
|
-
return yi(l, F, ve, re, G,
|
|
491
|
+
return yi(l, F, ve, re, G, gt.current, _);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
494
|
var pn = w.ReactCurrentOwner, hr = w.ReactDebugCurrentFrame;
|
|
@@ -646,8 +646,8 @@ Check the top-level render call using <` + M + ">.");
|
|
|
646
646
|
return br(l, I, M, !1);
|
|
647
647
|
}
|
|
648
648
|
var Ki = xi, Wi = wi;
|
|
649
|
-
|
|
650
|
-
}()),
|
|
649
|
+
vt.Fragment = r, vt.jsx = Ki, vt.jsxs = Wi;
|
|
650
|
+
}()), vt;
|
|
651
651
|
}
|
|
652
652
|
process.env.NODE_ENV === "production" ? On.exports = zi() : On.exports = Yi();
|
|
653
653
|
var c = On.exports;
|
|
@@ -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";
|
|
@@ -2099,8 +2099,8 @@ var sa = Object.assign || function(e) {
|
|
|
2099
2099
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
2100
2100
|
}
|
|
2101
2101
|
return e;
|
|
2102
|
-
}, la = Vi, ua =
|
|
2103
|
-
function
|
|
2102
|
+
}, la = Vi, ua = Wt(la), ca = Ao, da = Wt(ca), ma = en, Ge = Wt(ma), go = oe, pa = Wt(go), fa = Un, ha = Wt(fa);
|
|
2103
|
+
function Wt(e) {
|
|
2104
2104
|
return e && e.__esModule ? e : { default: e };
|
|
2105
2105
|
}
|
|
2106
2106
|
function qa(e, t) {
|
|
@@ -2120,7 +2120,7 @@ var ga = {
|
|
|
2120
2120
|
fgColor: "#000000",
|
|
2121
2121
|
level: "L",
|
|
2122
2122
|
size: 256
|
|
2123
|
-
},
|
|
2123
|
+
}, Mt = (0, go.forwardRef)(function(e, t) {
|
|
2124
2124
|
var n = e.bgColor, r = e.fgColor, o = e.level, i = e.size, a = e.value, A = qa(e, ["bgColor", "fgColor", "level", "size", "value"]), u = new ua.default(-1, da.default[o]);
|
|
2125
2125
|
u.addData(a), u.make();
|
|
2126
2126
|
var d = u.modules;
|
|
@@ -2142,11 +2142,11 @@ var ga = {
|
|
|
2142
2142
|
viewBoxSize: d.length
|
|
2143
2143
|
}));
|
|
2144
2144
|
});
|
|
2145
|
-
$t.QRCode =
|
|
2146
|
-
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
var va = $t.default =
|
|
2145
|
+
$t.QRCode = Mt;
|
|
2146
|
+
Mt.displayName = "QRCode";
|
|
2147
|
+
Mt.propTypes = ga;
|
|
2148
|
+
Mt.defaultProps = ya;
|
|
2149
|
+
var va = $t.default = Mt;
|
|
2150
2150
|
const yo = ({
|
|
2151
2151
|
title: e,
|
|
2152
2152
|
titleId: t,
|
|
@@ -2194,9 +2194,9 @@ function vo(e, t) {
|
|
|
2194
2194
|
const { toString: ba } = Object.prototype, { getPrototypeOf: Fn } = Object, nn = ((e) => (t) => {
|
|
2195
2195
|
const n = ba.call(t);
|
|
2196
2196
|
return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
|
|
2197
|
-
})(/* @__PURE__ */ Object.create(null)), De = (e) => (e = e.toLowerCase(), (t) => nn(t) === e), rn = (e) => (t) => typeof t === e, { isArray: pt } = Array,
|
|
2197
|
+
})(/* @__PURE__ */ Object.create(null)), De = (e) => (e = e.toLowerCase(), (t) => nn(t) === e), rn = (e) => (t) => typeof t === e, { isArray: pt } = Array, wt = rn("undefined");
|
|
2198
2198
|
function Ca(e) {
|
|
2199
|
-
return e !== null && !
|
|
2199
|
+
return e !== null && !wt(e) && e.constructor !== null && !wt(e.constructor) && Le(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
2200
2200
|
}
|
|
2201
2201
|
const bo = De("ArrayBuffer");
|
|
2202
2202
|
function Za(e) {
|
|
@@ -2213,7 +2213,7 @@ const Ia = rn("string"), Le = rn("function"), Co = rn("number"), on = (e) => e !
|
|
|
2213
2213
|
return e && (typeof FormData == "function" && e instanceof FormData || Le(e.append) && ((t = nn(e)) === "formdata" || // detect form-data instance
|
|
2214
2214
|
t === "object" && Le(e.toString) && e.toString() === "[object FormData]"));
|
|
2215
2215
|
}, Oa = De("URLSearchParams"), Ea = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
2216
|
-
function
|
|
2216
|
+
function Lt(e, t, { allOwnKeys: n = !1 } = {}) {
|
|
2217
2217
|
if (e === null || typeof e > "u")
|
|
2218
2218
|
return;
|
|
2219
2219
|
let r, o;
|
|
@@ -2236,17 +2236,17 @@ function Zo(e, t) {
|
|
|
2236
2236
|
return o;
|
|
2237
2237
|
return null;
|
|
2238
2238
|
}
|
|
2239
|
-
const Io = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), wo = (e) => !
|
|
2239
|
+
const Io = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), wo = (e) => !wt(e) && e !== Io;
|
|
2240
2240
|
function kn() {
|
|
2241
2241
|
const { caseless: e } = wo(this) && this || {}, t = {}, n = (r, o) => {
|
|
2242
2242
|
const i = e && Zo(t, o) || o;
|
|
2243
2243
|
Tt(t[i]) && Tt(r) ? t[i] = kn(t[i], r) : Tt(r) ? t[i] = kn({}, r) : pt(r) ? t[i] = r.slice() : t[i] = r;
|
|
2244
2244
|
};
|
|
2245
2245
|
for (let r = 0, o = arguments.length; r < o; r++)
|
|
2246
|
-
arguments[r] &&
|
|
2246
|
+
arguments[r] && Lt(arguments[r], n);
|
|
2247
2247
|
return t;
|
|
2248
2248
|
}
|
|
2249
|
-
const ka = (e, t, n, { allOwnKeys: r } = {}) => (
|
|
2249
|
+
const ka = (e, t, n, { allOwnKeys: r } = {}) => (Lt(t, (o, i) => {
|
|
2250
2250
|
n && Le(o) ? e[i] = vo(o, n) : e[i] = o;
|
|
2251
2251
|
}, { allOwnKeys: r }), e), za = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Ya = (e, t, n, r) => {
|
|
2252
2252
|
e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
|
|
@@ -2299,7 +2299,7 @@ const ka = (e, t, n, { allOwnKeys: r } = {}) => (St(t, (o, i) => {
|
|
|
2299
2299
|
}
|
|
2300
2300
|
), zr = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Xa = De("RegExp"), xo = (e, t) => {
|
|
2301
2301
|
const n = Object.getOwnPropertyDescriptors(e), r = {};
|
|
2302
|
-
|
|
2302
|
+
Lt(n, (o, i) => {
|
|
2303
2303
|
let a;
|
|
2304
2304
|
(a = t(o, i, e)) !== !1 && (r[i] = a || o);
|
|
2305
2305
|
}), Object.defineProperties(e, r);
|
|
@@ -2348,9 +2348,9 @@ const _a = (e) => {
|
|
|
2348
2348
|
if (!("toJSON" in r)) {
|
|
2349
2349
|
t[o] = r;
|
|
2350
2350
|
const i = pt(r) ? [] : {};
|
|
2351
|
-
return
|
|
2351
|
+
return Lt(r, (a, A) => {
|
|
2352
2352
|
const u = n(a, o + 1);
|
|
2353
|
-
!
|
|
2353
|
+
!wt(u) && (i[A] = u);
|
|
2354
2354
|
}), t[o] = void 0, i;
|
|
2355
2355
|
}
|
|
2356
2356
|
}
|
|
@@ -2368,7 +2368,7 @@ const _a = (e) => {
|
|
|
2368
2368
|
isBoolean: wa,
|
|
2369
2369
|
isObject: on,
|
|
2370
2370
|
isPlainObject: Tt,
|
|
2371
|
-
isUndefined:
|
|
2371
|
+
isUndefined: wt,
|
|
2372
2372
|
isDate: xa,
|
|
2373
2373
|
isFile: Ka,
|
|
2374
2374
|
isBlob: Wa,
|
|
@@ -2378,7 +2378,7 @@ const _a = (e) => {
|
|
|
2378
2378
|
isURLSearchParams: Oa,
|
|
2379
2379
|
isTypedArray: Da,
|
|
2380
2380
|
isFileList: Ma,
|
|
2381
|
-
forEach:
|
|
2381
|
+
forEach: Lt,
|
|
2382
2382
|
merge: kn,
|
|
2383
2383
|
extend: ka,
|
|
2384
2384
|
trim: Ea,
|
|
@@ -2793,7 +2793,7 @@ const er = $n, fA = v.toObjectSet([
|
|
|
2793
2793
|
o = a.indexOf(":"), n = a.substring(0, o).trim().toLowerCase(), r = a.substring(o + 1).trim(), !(!n || t[n] && fA[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
|
|
2794
2794
|
}), t;
|
|
2795
2795
|
}, Dr = Symbol("internals");
|
|
2796
|
-
function
|
|
2796
|
+
function bt(e) {
|
|
2797
2797
|
return e && String(e).trim().toLowerCase();
|
|
2798
2798
|
}
|
|
2799
2799
|
function Ht(e) {
|
|
@@ -2838,7 +2838,7 @@ class An {
|
|
|
2838
2838
|
set(t, n, r) {
|
|
2839
2839
|
const o = this;
|
|
2840
2840
|
function i(A, u, d) {
|
|
2841
|
-
const s =
|
|
2841
|
+
const s = bt(u);
|
|
2842
2842
|
if (!s)
|
|
2843
2843
|
throw new Error("header name must be a non-empty string");
|
|
2844
2844
|
const m = v.findKey(o, s);
|
|
@@ -2848,7 +2848,7 @@ class An {
|
|
|
2848
2848
|
return v.isPlainObject(t) || t instanceof this.constructor ? a(t, n) : v.isString(t) && (t = t.trim()) && !gA(t) ? a(hA(t), n) : t != null && i(n, t, r), this;
|
|
2849
2849
|
}
|
|
2850
2850
|
get(t, n) {
|
|
2851
|
-
if (t =
|
|
2851
|
+
if (t = bt(t), t) {
|
|
2852
2852
|
const r = v.findKey(this, t);
|
|
2853
2853
|
if (r) {
|
|
2854
2854
|
const o = this[r];
|
|
@@ -2865,7 +2865,7 @@ class An {
|
|
|
2865
2865
|
}
|
|
2866
2866
|
}
|
|
2867
2867
|
has(t, n) {
|
|
2868
|
-
if (t =
|
|
2868
|
+
if (t = bt(t), t) {
|
|
2869
2869
|
const r = v.findKey(this, t);
|
|
2870
2870
|
return !!(r && this[r] !== void 0 && (!n || In(this, this[r], r, n)));
|
|
2871
2871
|
}
|
|
@@ -2875,7 +2875,7 @@ class An {
|
|
|
2875
2875
|
const r = this;
|
|
2876
2876
|
let o = !1;
|
|
2877
2877
|
function i(a) {
|
|
2878
|
-
if (a =
|
|
2878
|
+
if (a = bt(a), a) {
|
|
2879
2879
|
const A = v.findKey(r, a);
|
|
2880
2880
|
A && (!n || In(r, r[A], A, n)) && (delete r[A], o = !0);
|
|
2881
2881
|
}
|
|
@@ -2934,7 +2934,7 @@ class An {
|
|
|
2934
2934
|
accessors: {}
|
|
2935
2935
|
}).accessors, o = this.prototype;
|
|
2936
2936
|
function i(a) {
|
|
2937
|
-
const A =
|
|
2937
|
+
const A = bt(a);
|
|
2938
2938
|
r[A] || (vA(o, a), r[A] = !0);
|
|
2939
2939
|
}
|
|
2940
2940
|
return v.isArray(t) ? t.forEach(i) : i(t), this;
|
|
@@ -2962,10 +2962,10 @@ function wn(e, t) {
|
|
|
2962
2962
|
function zo(e) {
|
|
2963
2963
|
return !!(e && e.__CANCEL__);
|
|
2964
2964
|
}
|
|
2965
|
-
function
|
|
2965
|
+
function St(e, t, n) {
|
|
2966
2966
|
$.call(this, e ?? "canceled", $.ERR_CANCELED, t, n), this.name = "CanceledError";
|
|
2967
2967
|
}
|
|
2968
|
-
v.inherits(
|
|
2968
|
+
v.inherits(St, $, {
|
|
2969
2969
|
__CANCEL__: !0
|
|
2970
2970
|
});
|
|
2971
2971
|
function bA(e, t, n) {
|
|
@@ -3146,7 +3146,7 @@ const WA = typeof XMLHttpRequest < "u", MA = WA && function(e) {
|
|
|
3146
3146
|
o === void 0 && i.setContentType(null), "setRequestHeader" in s && v.forEach(i.toJSON(), function(q, Z) {
|
|
3147
3147
|
s.setRequestHeader(Z, q);
|
|
3148
3148
|
}), v.isUndefined(e.withCredentials) || (s.withCredentials = !!e.withCredentials), a && a !== "json" && (s.responseType = e.responseType), typeof e.onDownloadProgress == "function" && s.addEventListener("progress", Rr(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && s.upload && s.upload.addEventListener("progress", Rr(e.onUploadProgress)), (e.cancelToken || e.signal) && (A = (f) => {
|
|
3149
|
-
s && (r(!f || f.type ? new
|
|
3149
|
+
s && (r(!f || f.type ? new St(null, e, s) : f), s.abort(), s = null);
|
|
3150
3150
|
}, e.cancelToken && e.cancelToken.subscribe(A), e.signal && (e.signal.aborted ? A() : e.signal.addEventListener("abort", A)));
|
|
3151
3151
|
const h = xA(m);
|
|
3152
3152
|
if (h && Ne.protocols.indexOf(h) === -1) {
|
|
@@ -3201,7 +3201,7 @@ const Gr = (e) => `- ${e}`, LA = (e) => v.isFunction(e) || e === null || e === !
|
|
|
3201
3201
|
};
|
|
3202
3202
|
function xn(e) {
|
|
3203
3203
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
3204
|
-
throw new
|
|
3204
|
+
throw new St(null, e);
|
|
3205
3205
|
}
|
|
3206
3206
|
function Tr(e) {
|
|
3207
3207
|
return xn(e), e.headers = Te.from(e.headers), e.data = wn.call(
|
|
@@ -3463,7 +3463,7 @@ class nr {
|
|
|
3463
3463
|
r.unsubscribe(i);
|
|
3464
3464
|
}, a;
|
|
3465
3465
|
}, t(function(i, a, A) {
|
|
3466
|
-
r.reason || (r.reason = new
|
|
3466
|
+
r.reason || (r.reason = new St(i, a, A), n(r.reason));
|
|
3467
3467
|
});
|
|
3468
3468
|
}
|
|
3469
3469
|
/**
|
|
@@ -3592,7 +3592,7 @@ function No(e) {
|
|
|
3592
3592
|
}
|
|
3593
3593
|
const fe = No(er);
|
|
3594
3594
|
fe.Axios = Xt;
|
|
3595
|
-
fe.CanceledError =
|
|
3595
|
+
fe.CanceledError = St;
|
|
3596
3596
|
fe.CancelToken = OA;
|
|
3597
3597
|
fe.isCancel = zo;
|
|
3598
3598
|
fe.VERSION = Jo;
|
|
@@ -3758,7 +3758,7 @@ function Qe() {
|
|
|
3758
3758
|
(e = arguments[n++]) && (t = Vo(e)) && (r && (r += " "), r += t);
|
|
3759
3759
|
return r;
|
|
3760
3760
|
}
|
|
3761
|
-
const
|
|
3761
|
+
const Zt = (e) => typeof e == "number" && !isNaN(e), rt = (e) => typeof e == "string", be = (e) => typeof e == "function", Qt = (e) => rt(e) || be(e) ? e : null, Kn = (e) => ct(e) || rt(e) || be(e) || Zt(e);
|
|
3762
3762
|
function QA(e, t, n) {
|
|
3763
3763
|
n === void 0 && (n = 300);
|
|
3764
3764
|
const { scrollHeight: r, style: o } = e;
|
|
@@ -3846,7 +3846,7 @@ function PA(e) {
|
|
|
3846
3846
|
const X = { ...C, style: C.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(w).filter((ne) => {
|
|
3847
3847
|
let [T, x] = ne;
|
|
3848
3848
|
return x != null;
|
|
3849
|
-
})), toastId: E, updateId: J, data: W, closeToast: U, isIn: !1, className: Qt(w.className || C.toastClassName), bodyClassName: Qt(w.bodyClassName || C.bodyClassName), progressClassName: Qt(w.progressClassName || C.progressClassName), autoClose: !w.isLoading && (se = w.autoClose, ie = C.autoClose, se === !1 ||
|
|
3849
|
+
})), toastId: E, updateId: J, data: W, closeToast: U, isIn: !1, className: Qt(w.className || C.toastClassName), bodyClassName: Qt(w.bodyClassName || C.bodyClassName), progressClassName: Qt(w.progressClassName || C.progressClassName), autoClose: !w.isLoading && (se = w.autoClose, ie = C.autoClose, se === !1 || Zt(se) && se > 0 ? se : ie), deleteToast() {
|
|
3850
3850
|
const ne = Pr(i.get(E), "removed");
|
|
3851
3851
|
i.delete(E), Me.emit(4, ne);
|
|
3852
3852
|
const T = A.queue.length;
|
|
@@ -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,12 +3865,12 @@ 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) || Zt(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
|
-
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 }) :
|
|
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 }) : Zt(q) ? setTimeout(() => {
|
|
3874
3874
|
b(te, X, Z);
|
|
3875
3875
|
}, q) : b(te, X, Z);
|
|
3876
3876
|
}
|
|
@@ -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));
|
|
@@ -3987,26 +3987,26 @@ const Dn = Mi((e, t) => {
|
|
|
3987
3987
|
}));
|
|
3988
3988
|
});
|
|
3989
3989
|
Dn.displayName = "ToastContainer", Dn.defaultProps = { position: "top-right", transition: FA, autoClose: 5e3, closeButton: Bo, pauseOnHover: !0, pauseOnFocusLoss: !0, closeOnClick: !0, draggable: !0, draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
|
|
3990
|
-
let Mn, Fe = /* @__PURE__ */ new Map(),
|
|
3990
|
+
let Mn, Fe = /* @__PURE__ */ new Map(), Ct = [], _A = 1;
|
|
3991
3991
|
function Uo() {
|
|
3992
3992
|
return "" + _A++;
|
|
3993
3993
|
}
|
|
3994
3994
|
function $A(e) {
|
|
3995
|
-
return e && (rt(e.toastId) ||
|
|
3995
|
+
return e && (rt(e.toastId) || Zt(e.toastId)) ? e.toastId : Uo();
|
|
3996
3996
|
}
|
|
3997
|
-
function
|
|
3998
|
-
return Fe.size > 0 ? Me.emit(0, e, t) :
|
|
3997
|
+
function It(e, t) {
|
|
3998
|
+
return Fe.size > 0 ? Me.emit(0, e, t) : Ct.push({ content: e, options: t }), t.toastId;
|
|
3999
3999
|
}
|
|
4000
4000
|
function Vt(e, t) {
|
|
4001
4001
|
return { ...t, type: t && t.type || e, toastId: $A(t) };
|
|
4002
4002
|
}
|
|
4003
4003
|
function Dt(e) {
|
|
4004
|
-
return (t, n) =>
|
|
4004
|
+
return (t, n) => It(t, Vt(e, n));
|
|
4005
4005
|
}
|
|
4006
4006
|
function ue(e, t) {
|
|
4007
|
-
return
|
|
4007
|
+
return It(e, Vt("default", t));
|
|
4008
4008
|
}
|
|
4009
|
-
ue.loading = (e, t) =>
|
|
4009
|
+
ue.loading = (e, t) => It(e, Vt("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), ue.promise = function(e, t, n) {
|
|
4010
4010
|
let r, { pending: o, error: i, success: a } = t;
|
|
4011
4011
|
o && (r = rt(o) ? ue.loading(o, n) : ue.loading(o.render, { ...n, ...o }));
|
|
4012
4012
|
const A = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, u = (s, m, b) => {
|
|
@@ -4016,8 +4016,8 @@ ue.loading = (e, t) => wt(e, Vt("default", { isLoading: !0, autoClose: !1, close
|
|
|
4016
4016
|
return r ? ue.update(r, { ...h, ...f }) : ue(f.render, { ...h, ...f }), b;
|
|
4017
4017
|
}, d = be(e) ? e() : e;
|
|
4018
4018
|
return d.then((s) => u("success", a, s)).catch((s) => u("error", i, s)), d;
|
|
4019
|
-
}, ue.success = Dt("success"), ue.info = Dt("info"), ue.error = Dt("error"), ue.warning = Dt("warning"), ue.warn = ue.warning, ue.dark = (e, t) =>
|
|
4020
|
-
Fe.size > 0 ? Me.emit(1, e) :
|
|
4019
|
+
}, ue.success = Dt("success"), ue.info = Dt("info"), ue.error = Dt("error"), ue.warning = Dt("warning"), ue.warn = ue.warning, ue.dark = (e, t) => It(e, Vt("default", { theme: "dark", ...t })), ue.dismiss = (e) => {
|
|
4020
|
+
Fe.size > 0 ? Me.emit(1, e) : Ct = Ct.filter((t) => e != null && t.options.toastId !== e);
|
|
4021
4021
|
}, ue.clearWaitingQueue = function(e) {
|
|
4022
4022
|
return e === void 0 && (e = {}), Me.emit(5, e);
|
|
4023
4023
|
}, ue.isActive = (e) => {
|
|
@@ -4036,7 +4036,7 @@ ue.loading = (e, t) => wt(e, Vt("default", { isLoading: !0, autoClose: !1, close
|
|
|
4036
4036
|
const { props: r, content: o } = n, i = { delay: 100, ...r, ...t, toastId: t.toastId || e, updateId: Uo() };
|
|
4037
4037
|
i.toastId !== e && (i.staleId = e);
|
|
4038
4038
|
const a = i.render || o;
|
|
4039
|
-
delete i.render,
|
|
4039
|
+
delete i.render, It(a, i);
|
|
4040
4040
|
}
|
|
4041
4041
|
}, 0);
|
|
4042
4042
|
}, ue.done = (e) => {
|
|
@@ -4044,13 +4044,13 @@ ue.loading = (e, t) => wt(e, Vt("default", { isLoading: !0, autoClose: !1, close
|
|
|
4044
4044
|
}, ue.onChange = (e) => (Me.on(4, e), () => {
|
|
4045
4045
|
Me.off(4, e);
|
|
4046
4046
|
}), ue.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" }, ue.TYPE = { INFO: "info", SUCCESS: "success", WARNING: "warning", ERROR: "error", DEFAULT: "default" }, Me.on(2, (e) => {
|
|
4047
|
-
Mn = e.containerId || e, Fe.set(Mn, e),
|
|
4047
|
+
Mn = e.containerId || e, Fe.set(Mn, e), Ct.forEach((t) => {
|
|
4048
4048
|
Me.emit(0, t.content, t.options);
|
|
4049
|
-
}),
|
|
4049
|
+
}), Ct = [];
|
|
4050
4050
|
}).on(3, (e) => {
|
|
4051
4051
|
Fe.delete(e.containerId || e), Fe.size === 0 && Me.off(0).off(1).off(5);
|
|
4052
4052
|
});
|
|
4053
|
-
function
|
|
4053
|
+
function Ot(e) {
|
|
4054
4054
|
ue.success(e, {
|
|
4055
4055
|
position: "top-center",
|
|
4056
4056
|
autoClose: 650,
|
|
@@ -4063,17 +4063,17 @@ function ft(e) {
|
|
|
4063
4063
|
});
|
|
4064
4064
|
}
|
|
4065
4065
|
let ar = "", lt = "Playable", Oe = null, Fo = null;
|
|
4066
|
-
const Rn = (e) => {
|
|
4066
|
+
const Rn = async (e) => {
|
|
4067
4067
|
let t = ar + "/" + e, n = e;
|
|
4068
4068
|
fetch(t).then((r) => r.blob()).then((r) => {
|
|
4069
4069
|
const o = window.URL.createObjectURL(r), i = document.createElement("a");
|
|
4070
|
-
i.href = o, i.download = n.split("/").reduce((a, A) => A, ""), document.body.appendChild(i), i.click(), window.URL.revokeObjectURL(o),
|
|
4070
|
+
i.href = o, i.download = n.split("/").reduce((a, A) => A, ""), document.body.appendChild(i), i.click(), window.URL.revokeObjectURL(o), Ot("Download successfully");
|
|
4071
4071
|
}).catch((r) => {
|
|
4072
4072
|
console.error("File error:", r);
|
|
4073
4073
|
});
|
|
4074
4074
|
}, es = (e, t) => {
|
|
4075
4075
|
let n = ar + "/" + e;
|
|
4076
|
-
sn(n) ?
|
|
4076
|
+
sn(n) ? Ot("Link Copied") : t(n);
|
|
4077
4077
|
};
|
|
4078
4078
|
async function Bt(e, t, n, r = "download", o = !1) {
|
|
4079
4079
|
return new Promise(async (i, a) => {
|
|
@@ -4137,12 +4137,12 @@ async function ts(e, t, n) {
|
|
|
4137
4137
|
androidLink: t == null ? void 0 : t.googleUrl
|
|
4138
4138
|
},
|
|
4139
4139
|
Oe
|
|
4140
|
-
), DA(e, n, Oe).then((i) => {
|
|
4140
|
+
), DA(e, n, Oe).then(async (i) => {
|
|
4141
4141
|
if (i.message) {
|
|
4142
4142
|
o(i);
|
|
4143
4143
|
return;
|
|
4144
4144
|
}
|
|
4145
|
-
Rn(i.url), r(i.url);
|
|
4145
|
+
await Rn(i.url), r(i.url);
|
|
4146
4146
|
}).catch((i) => {
|
|
4147
4147
|
let a = i.response.data.error.msg;
|
|
4148
4148
|
o({ message: a });
|
|
@@ -4150,8 +4150,8 @@ async function ts(e, t, n) {
|
|
|
4150
4150
|
e,
|
|
4151
4151
|
{ iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
|
|
4152
4152
|
Oe
|
|
4153
|
-
), HA(e, n, Oe).then((i) => {
|
|
4154
|
-
Rn(i.url), r(i.url);
|
|
4153
|
+
), HA(e, n, Oe).then(async (i) => {
|
|
4154
|
+
await Rn(i.url), r(i.url);
|
|
4155
4155
|
}).catch((i) => {
|
|
4156
4156
|
let a = i.response.data.error.msg;
|
|
4157
4157
|
o({ message: a });
|
|
@@ -4173,7 +4173,7 @@ const rs = ({
|
|
|
4173
4173
|
A(!0), Bt(e, "default", null, null, !1).then((d) => {
|
|
4174
4174
|
A(!1);
|
|
4175
4175
|
let s;
|
|
4176
|
-
t === "Flex" ? s = `${o}/preview?versionId=${e}` : t === "Import" ? s = `${o}/preview?versionId=${e}_` : s = `${o}/preview?versionId=${e}_`, sn(s) ?
|
|
4176
|
+
t === "Flex" ? s = `${o}/preview?versionId=${e}` : t === "Import" ? s = `${o}/preview?versionId=${e}_` : s = `${o}/preview?versionId=${e}_`, sn(s) ? Ot("Link copied") : i(s), A(!1);
|
|
4177
4177
|
}).catch((d) => {
|
|
4178
4178
|
A(!1);
|
|
4179
4179
|
});
|
|
@@ -4395,7 +4395,7 @@ const As = () => /* @__PURE__ */ c.jsxs("svg", { width: "24", height: "24", view
|
|
|
4395
4395
|
{
|
|
4396
4396
|
style: { marginLeft: "0.5rem", display: "flex", alignItems: "center", fontSize: "12px", fontWeight: "bold", textDecoration: "underline", color: "#yourColorHere" },
|
|
4397
4397
|
onClick: () => as("Flex Credit", t).then(
|
|
4398
|
-
(n) =>
|
|
4398
|
+
(n) => Ot("You will be contacted regarding your request.")
|
|
4399
4399
|
),
|
|
4400
4400
|
children: [
|
|
4401
4401
|
"Get more",
|
|
@@ -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);
|
|
@@ -5474,7 +5468,7 @@ const gs = [
|
|
|
5474
5468
|
g(!0);
|
|
5475
5469
|
const O = await qs(s, d, o, u);
|
|
5476
5470
|
let R = `${b}/${O == null ? void 0 : O.url}`;
|
|
5477
|
-
sn(R) ? (
|
|
5471
|
+
sn(R) ? (Ot("Link Copied"), g(!1)) : W(R);
|
|
5478
5472
|
};
|
|
5479
5473
|
return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
5480
5474
|
/* @__PURE__ */ c.jsxs(
|
|
@@ -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,15 +6045,15 @@ 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
|
-
X(!1)
|
|
6051
|
+
X(!1);
|
|
6058
6052
|
}).catch((D) => {
|
|
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,
|
|
@@ -6437,8 +6431,8 @@ Object.defineProperty(ze, "__esModule", {
|
|
|
6437
6431
|
});
|
|
6438
6432
|
ze.resetState = js;
|
|
6439
6433
|
ze.log = Js;
|
|
6440
|
-
ze.handleBlur =
|
|
6441
|
-
ze.handleFocus =
|
|
6434
|
+
ze.handleBlur = xt;
|
|
6435
|
+
ze.handleFocus = Kt;
|
|
6442
6436
|
ze.markForFocusLater = Ns;
|
|
6443
6437
|
ze.returnFocus = Ds;
|
|
6444
6438
|
ze.popWithoutFocus = Rs;
|
|
@@ -6458,10 +6452,10 @@ function Js() {
|
|
|
6458
6452
|
console.log(t.nodeName, t.className, t.id);
|
|
6459
6453
|
}), console.log("end focusManager ----------"));
|
|
6460
6454
|
}
|
|
6461
|
-
function
|
|
6455
|
+
function xt() {
|
|
6462
6456
|
Xn = !0;
|
|
6463
6457
|
}
|
|
6464
|
-
function
|
|
6458
|
+
function Kt() {
|
|
6465
6459
|
if (Xn) {
|
|
6466
6460
|
if (Xn = !1, !ut)
|
|
6467
6461
|
return;
|
|
@@ -6489,10 +6483,10 @@ function Rs() {
|
|
|
6489
6483
|
it.length > 0 && it.pop();
|
|
6490
6484
|
}
|
|
6491
6485
|
function Gs(e) {
|
|
6492
|
-
ut = e, window.addEventListener ? (window.addEventListener("blur",
|
|
6486
|
+
ut = e, window.addEventListener ? (window.addEventListener("blur", xt, !1), document.addEventListener("focus", Kt, !0)) : (window.attachEvent("onBlur", xt), document.attachEvent("onFocus", Kt));
|
|
6493
6487
|
}
|
|
6494
6488
|
function Ts() {
|
|
6495
|
-
ut = null, window.addEventListener ? (window.removeEventListener("blur",
|
|
6489
|
+
ut = null, window.addEventListener ? (window.removeEventListener("blur", xt), document.removeEventListener("focus", Kt)) : (window.detachEvent("onBlur", xt), document.detachEvent("onFocus", Kt));
|
|
6496
6490
|
}
|
|
6497
6491
|
var Qn = { exports: {} };
|
|
6498
6492
|
(function(e, t) {
|
|
@@ -6679,12 +6673,12 @@ function Al(e) {
|
|
|
6679
6673
|
function sl() {
|
|
6680
6674
|
Ze = null;
|
|
6681
6675
|
}
|
|
6682
|
-
var
|
|
6683
|
-
Object.defineProperty(
|
|
6676
|
+
var ft = {};
|
|
6677
|
+
Object.defineProperty(ft, "__esModule", {
|
|
6684
6678
|
value: !0
|
|
6685
6679
|
});
|
|
6686
|
-
|
|
6687
|
-
|
|
6680
|
+
ft.resetState = ll;
|
|
6681
|
+
ft.log = ul;
|
|
6688
6682
|
var et = {}, tt = {};
|
|
6689
6683
|
function Fr(e, t) {
|
|
6690
6684
|
e.classList.remove(t);
|
|
@@ -6732,18 +6726,18 @@ var cl = function(t, n) {
|
|
|
6732
6726
|
dl(n, o), n[o] === 0 && t.remove(o);
|
|
6733
6727
|
});
|
|
6734
6728
|
};
|
|
6735
|
-
|
|
6729
|
+
ft.add = function(t, n) {
|
|
6736
6730
|
return ml(t.classList, t.nodeName.toLowerCase() == "html" ? et : tt, n.split(" "));
|
|
6737
6731
|
};
|
|
6738
|
-
|
|
6732
|
+
ft.remove = function(t, n) {
|
|
6739
6733
|
return pl(t.classList, t.nodeName.toLowerCase() == "html" ? et : tt, n.split(" "));
|
|
6740
6734
|
};
|
|
6741
|
-
var
|
|
6742
|
-
Object.defineProperty(
|
|
6735
|
+
var ht = {};
|
|
6736
|
+
Object.defineProperty(ht, "__esModule", {
|
|
6743
6737
|
value: !0
|
|
6744
6738
|
});
|
|
6745
|
-
|
|
6746
|
-
|
|
6739
|
+
ht.log = hl;
|
|
6740
|
+
ht.resetState = ql;
|
|
6747
6741
|
function fl(e, t) {
|
|
6748
6742
|
if (!(e instanceof t))
|
|
6749
6743
|
throw new TypeError("Cannot call a class as a function");
|
|
@@ -6783,14 +6777,14 @@ function hl() {
|
|
|
6783
6777
|
function ql() {
|
|
6784
6778
|
Ut = new oi();
|
|
6785
6779
|
}
|
|
6786
|
-
|
|
6780
|
+
ht.default = Ut;
|
|
6787
6781
|
var lr = {};
|
|
6788
6782
|
Object.defineProperty(lr, "__esModule", {
|
|
6789
6783
|
value: !0
|
|
6790
6784
|
});
|
|
6791
6785
|
lr.resetState = bl;
|
|
6792
6786
|
lr.log = Cl;
|
|
6793
|
-
var gl =
|
|
6787
|
+
var gl = ht, yl = vl(gl);
|
|
6794
6788
|
function vl(e) {
|
|
6795
6789
|
return e && e.__esModule ? e : { default: e };
|
|
6796
6790
|
}
|
|
@@ -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,23 +6831,23 @@ 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
|
-
}(), i = oe, a = en, A = C(a), u = ze, d = W(u), s = Hs, m = C(s), b = Ye, h = W(b), f =
|
|
6843
|
+
}(), i = oe, a = en, A = C(a), u = ze, d = W(u), s = Hs, m = C(s), b = Ye, h = W(b), f = ft, q = W(f), Z = ke, w = C(Z), E = ht, J = C(E);
|
|
6850
6844
|
function W(x) {
|
|
6851
6845
|
if (x && x.__esModule)
|
|
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;
|
|
@@ -7172,7 +7166,7 @@ var Jl = ot.portalClassName = "ReactModalPortal", Nl = ot.bodyOpenClassName = "R
|
|
|
7172
7166
|
function Rt(e) {
|
|
7173
7167
|
return e();
|
|
7174
7168
|
}
|
|
7175
|
-
var
|
|
7169
|
+
var qt = function(e) {
|
|
7176
7170
|
jl(t, e);
|
|
7177
7171
|
function t() {
|
|
7178
7172
|
var n, r, o, i;
|
|
@@ -7244,7 +7238,7 @@ var gt = function(e) {
|
|
|
7244
7238
|
/* eslint-enable react/no-unused-prop-types */
|
|
7245
7239
|
}]), t;
|
|
7246
7240
|
}(si.Component);
|
|
7247
|
-
|
|
7241
|
+
qt.propTypes = {
|
|
7248
7242
|
isOpen: H.default.bool.isRequired,
|
|
7249
7243
|
style: H.default.shape({
|
|
7250
7244
|
content: H.default.object,
|
|
@@ -7284,7 +7278,7 @@ gt.propTypes = {
|
|
|
7284
7278
|
overlayElement: H.default.func,
|
|
7285
7279
|
contentElement: H.default.func
|
|
7286
7280
|
};
|
|
7287
|
-
|
|
7281
|
+
qt.defaultProps = {
|
|
7288
7282
|
isOpen: !1,
|
|
7289
7283
|
portalClassName: Jl,
|
|
7290
7284
|
bodyOpenClassName: Nl,
|
|
@@ -7314,7 +7308,7 @@ gt.defaultProps = {
|
|
|
7314
7308
|
);
|
|
7315
7309
|
}
|
|
7316
7310
|
};
|
|
7317
|
-
|
|
7311
|
+
qt.defaultStyles = {
|
|
7318
7312
|
overlay: {
|
|
7319
7313
|
position: "fixed",
|
|
7320
7314
|
top: 0,
|
|
@@ -7338,11 +7332,11 @@ gt.defaultStyles = {
|
|
|
7338
7332
|
padding: "20px"
|
|
7339
7333
|
}
|
|
7340
7334
|
};
|
|
7341
|
-
(0, kl.polyfill)(
|
|
7342
|
-
process.env.NODE_ENV !== "production" && (
|
|
7335
|
+
(0, kl.polyfill)(qt);
|
|
7336
|
+
process.env.NODE_ENV !== "production" && (qt.setCreateHTMLElement = function(e) {
|
|
7343
7337
|
return Pn = e;
|
|
7344
7338
|
});
|
|
7345
|
-
ot.default =
|
|
7339
|
+
ot.default = qt;
|
|
7346
7340
|
(function(e, t) {
|
|
7347
7341
|
Object.defineProperty(t, "__esModule", {
|
|
7348
7342
|
value: !0
|