gearboxdownloadmodal 4.0.26 → 4.0.27
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 +44 -44
- 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
|
@@ -90,16 +90,16 @@ function Mo() {
|
|
|
90
90
|
se.unshift("Warning: " + Z), Function.prototype.apply.call(console[l], console, se);
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
|
-
var L = !1, b = !1,
|
|
93
|
+
var L = !1, b = !1, Ae = !1, le = !1, _ = !1, ie;
|
|
94
94
|
ie = Symbol.for("react.module.reference");
|
|
95
95
|
function ce(l) {
|
|
96
|
-
return !!(typeof l == "string" || typeof l == "function" || l === n || l === o || _ || l === i || l === s || l === u || le || l === q || L || b ||
|
|
96
|
+
return !!(typeof l == "string" || typeof l == "function" || l === n || l === o || _ || l === i || l === s || l === u || le || l === q || L || b || Ae || typeof l == "object" && l !== null && (l.$$typeof === h || l.$$typeof === d || l.$$typeof === A || l.$$typeof === a || l.$$typeof === c || // This needs to include all possible module reference object
|
|
97
97
|
// types supported by any Flight configuration anywhere since
|
|
98
98
|
// we don't know which Flight build this will end up being used
|
|
99
99
|
// with.
|
|
100
100
|
l.$$typeof === ie || l.getModuleId !== void 0));
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function ae(l, Z, M) {
|
|
103
103
|
var H = l.displayName;
|
|
104
104
|
if (H)
|
|
105
105
|
return H;
|
|
@@ -139,7 +139,7 @@ function Mo() {
|
|
|
139
139
|
var M = l;
|
|
140
140
|
return $(M._context) + ".Provider";
|
|
141
141
|
case c:
|
|
142
|
-
return
|
|
142
|
+
return ae(l, l.render, "ForwardRef");
|
|
143
143
|
case d:
|
|
144
144
|
var H = l.displayName || null;
|
|
145
145
|
return H !== null ? H : P(l.type) || "Memo";
|
|
@@ -1392,8 +1392,8 @@ function Ho() {
|
|
|
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, i = e ? Symbol.for("react.strict_mode") : 60108, o = 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, s = e ? Symbol.for("react.concurrent_mode") : 60111, u = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, h = e ? Symbol.for("react.suspense_list") : 60120, q = e ? Symbol.for("react.memo") : 60115, f = e ? Symbol.for("react.lazy") : 60116, y = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, I = e ? Symbol.for("react.responder") : 60118, k = e ? Symbol.for("react.scope") : 60119;
|
|
1393
1393
|
function J(b) {
|
|
1394
1394
|
if (typeof b == "object" && b !== null) {
|
|
1395
|
-
var
|
|
1396
|
-
switch (
|
|
1395
|
+
var Ae = b.$$typeof;
|
|
1396
|
+
switch (Ae) {
|
|
1397
1397
|
case t:
|
|
1398
1398
|
switch (b = b.type, b) {
|
|
1399
1399
|
case c:
|
|
@@ -1412,11 +1412,11 @@ function Ho() {
|
|
|
1412
1412
|
case A:
|
|
1413
1413
|
return b;
|
|
1414
1414
|
default:
|
|
1415
|
-
return
|
|
1415
|
+
return Ae;
|
|
1416
1416
|
}
|
|
1417
1417
|
}
|
|
1418
1418
|
case r:
|
|
1419
|
-
return
|
|
1419
|
+
return Ae;
|
|
1420
1420
|
}
|
|
1421
1421
|
}
|
|
1422
1422
|
}
|
|
@@ -1500,7 +1500,7 @@ function Xo() {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
var b = c,
|
|
1503
|
+
var b = c, Ae = s, le = a, _ = A, ie = t, ce = u, ae = n, $ = f, P = q, O = r, K = o, E = i, p = d, W = !1;
|
|
1504
1504
|
function N(S) {
|
|
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.")), g(S) || L(S) === c;
|
|
1506
1506
|
}
|
|
@@ -1540,7 +1540,7 @@ function Xo() {
|
|
|
1540
1540
|
function me(S) {
|
|
1541
1541
|
return L(S) === d;
|
|
1542
1542
|
}
|
|
1543
|
-
ne.AsyncMode = b, ne.ConcurrentMode =
|
|
1543
|
+
ne.AsyncMode = b, ne.ConcurrentMode = Ae, ne.ContextConsumer = le, ne.ContextProvider = _, ne.Element = ie, ne.ForwardRef = ce, ne.Fragment = ae, ne.Lazy = $, ne.Memo = P, ne.Portal = O, ne.Profiler = K, ne.StrictMode = E, ne.Suspense = p, ne.isAsyncMode = N, ne.isConcurrentMode = g, ne.isContextConsumer = w, ne.isContextProvider = x, ne.isElement = G, ne.isForwardRef = D, ne.isFragment = R, ne.isLazy = j, ne.isMemo = Y, ne.isPortal = z, ne.isProfiler = Q, ne.isStrictMode = T, ne.isSuspense = me, ne.isValidElementType = J, ne.typeOf = L;
|
|
1544
1544
|
}()), ne;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Cn;
|
|
@@ -1699,7 +1699,7 @@ function Bo() {
|
|
|
1699
1699
|
arrayOf: J,
|
|
1700
1700
|
element: L(),
|
|
1701
1701
|
elementType: b(),
|
|
1702
|
-
instanceOf:
|
|
1702
|
+
instanceOf: Ae,
|
|
1703
1703
|
node: ce(),
|
|
1704
1704
|
objectOf: _,
|
|
1705
1705
|
oneOf: le,
|
|
@@ -1794,7 +1794,7 @@ function Bo() {
|
|
|
1794
1794
|
}
|
|
1795
1795
|
return C(g);
|
|
1796
1796
|
}
|
|
1797
|
-
function
|
|
1797
|
+
function Ae(g) {
|
|
1798
1798
|
function w(x, G, D, R, j) {
|
|
1799
1799
|
if (!(x[G] instanceof g)) {
|
|
1800
1800
|
var Y = g.name || h, z = N(x[G]);
|
|
@@ -1866,7 +1866,7 @@ function Bo() {
|
|
|
1866
1866
|
}
|
|
1867
1867
|
return C(g);
|
|
1868
1868
|
}
|
|
1869
|
-
function
|
|
1869
|
+
function ae(g, w, x, G, D) {
|
|
1870
1870
|
return new y(
|
|
1871
1871
|
(g || "React class") + ": " + w + " type `" + x + "." + G + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + D + "`."
|
|
1872
1872
|
);
|
|
@@ -1879,7 +1879,7 @@ function Bo() {
|
|
|
1879
1879
|
for (var Q in g) {
|
|
1880
1880
|
var T = g[Q];
|
|
1881
1881
|
if (typeof T != "function")
|
|
1882
|
-
return
|
|
1882
|
+
return ae(D, R, j, Q, p(T));
|
|
1883
1883
|
var me = T(Y, Q, D, R, j + "." + Q, r);
|
|
1884
1884
|
if (me)
|
|
1885
1885
|
return me;
|
|
@@ -1897,7 +1897,7 @@ function Bo() {
|
|
|
1897
1897
|
for (var T in Q) {
|
|
1898
1898
|
var me = g[T];
|
|
1899
1899
|
if (n(g, T) && typeof me != "function")
|
|
1900
|
-
return
|
|
1900
|
+
return ae(D, R, j, T, p(me));
|
|
1901
1901
|
if (!me)
|
|
1902
1902
|
return new y(
|
|
1903
1903
|
"Invalid " + R + " `" + j + "` key `" + T + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify(x[G], null, " ") + `
|
|
@@ -3786,12 +3786,12 @@ function ka(e) {
|
|
|
3786
3786
|
return !i.current || a.props.enableMultiContainer && $.containerId !== a.props.containerId || o.has($.toastId) && $.updateId == null;
|
|
3787
3787
|
}(I))
|
|
3788
3788
|
return;
|
|
3789
|
-
const { toastId: k, updateId: J, data: L } = I, { props: b } = a,
|
|
3789
|
+
const { toastId: k, updateId: J, data: L } = I, { props: b } = a, Ae = () => s(k), le = J == null;
|
|
3790
3790
|
le && a.count++;
|
|
3791
3791
|
const _ = { ...b, style: b.toastStyle, key: a.toastKey++, ...Object.fromEntries(Object.entries(I).filter(($) => {
|
|
3792
3792
|
let [P, O] = $;
|
|
3793
3793
|
return O != null;
|
|
3794
|
-
})), toastId: k, updateId: J, data: L, closeToast:
|
|
3794
|
+
})), toastId: k, updateId: J, data: L, closeToast: Ae, isIn: !1, className: Qt(I.className || b.toastClassName), bodyClassName: Qt(I.bodyClassName || b.bodyClassName), progressClassName: Qt(I.progressClassName || b.progressClassName), autoClose: !I.isLoading && (ie = I.autoClose, ce = b.autoClose, ie === !1 || bt(ie) && ie > 0 ? ie : ce), deleteToast() {
|
|
3795
3795
|
const $ = Dn(o.get(k), "removed");
|
|
3796
3796
|
o.delete(k), xe.emit(4, $);
|
|
3797
3797
|
const P = a.queue.length;
|
|
@@ -3814,10 +3814,10 @@ function ka(e) {
|
|
|
3814
3814
|
const W = { theme: P, type: O };
|
|
3815
3815
|
return E === !1 || (be(E) ? p = E(W) : ut(E) ? p = Or(E, W) : nt(E) || bt(E) ? p = E : K ? p = wr.spinner() : ((N) => N in wr)(O) && (p = wr[O](W))), p;
|
|
3816
3816
|
}(_), be(I.onOpen) && (_.onOpen = I.onOpen), be(I.onClose) && (_.onClose = I.onClose), _.closeButton = b.closeButton, I.closeButton === !1 || Kr(I.closeButton) ? _.closeButton = I.closeButton : I.closeButton === !0 && (_.closeButton = !Kr(b.closeButton) || b.closeButton);
|
|
3817
|
-
let
|
|
3818
|
-
ut(q) && !nt(q.type) ?
|
|
3819
|
-
h(
|
|
3820
|
-
}, y) : h(
|
|
3817
|
+
let ae = q;
|
|
3818
|
+
ut(q) && !nt(q.type) ? ae = Or(q, { closeToast: Ae, toastProps: _, data: L }) : be(q) && (ae = q({ closeToast: Ae, toastProps: _, data: L })), b.limit && b.limit > 0 && a.count > b.limit && le ? a.queue.push({ toastContent: ae, toastProps: _, staleId: C }) : bt(y) ? setTimeout(() => {
|
|
3819
|
+
h(ae, _, C);
|
|
3820
|
+
}, y) : h(ae, _, C);
|
|
3821
3821
|
}
|
|
3822
3822
|
function h(q, f, y) {
|
|
3823
3823
|
const { toastId: C } = f;
|
|
@@ -3854,8 +3854,8 @@ function za(e) {
|
|
|
3854
3854
|
}
|
|
3855
3855
|
function f(L) {
|
|
3856
3856
|
if (A.boundingRect) {
|
|
3857
|
-
const { top: b, bottom:
|
|
3858
|
-
L.nativeEvent.type !== "touchend" && e.pauseOnHover && A.x >= le && A.x <= _ && A.y >= b && A.y <=
|
|
3857
|
+
const { top: b, bottom: Ae, left: le, right: _ } = A.boundingRect;
|
|
3858
|
+
L.nativeEvent.type !== "touchend" && e.pauseOnHover && A.x >= le && A.x <= _ && A.y >= b && A.y <= Ae ? C() : y();
|
|
3859
3859
|
}
|
|
3860
3860
|
}
|
|
3861
3861
|
function y() {
|
|
@@ -3906,9 +3906,9 @@ function ja(e) {
|
|
|
3906
3906
|
} });
|
|
3907
3907
|
}
|
|
3908
3908
|
const Ja = (e) => {
|
|
3909
|
-
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: i } = za(e), { closeButton: o, children: A, autoClose: a, onClick: c, type: s, hideProgressBar: u, closeToast: d, transition: h, position: q, className: f, style: y, bodyClassName: C, bodyStyle: I, progressClassName: k, progressStyle: J, updateId: L, role: b, progress:
|
|
3909
|
+
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: i } = za(e), { closeButton: o, children: A, autoClose: a, onClick: c, type: s, hideProgressBar: u, closeToast: d, transition: h, position: q, className: f, style: y, bodyClassName: C, bodyStyle: I, progressClassName: k, progressStyle: J, updateId: L, role: b, progress: Ae, rtl: le, toastId: _, deleteToast: ie, isIn: ce, isLoading: ae, iconOut: $, closeOnClick: P, theme: O } = e, K = Xe("Toastify__toast", `Toastify__toast-theme--${O}`, `Toastify__toast--${s}`, { "Toastify__toast--rtl": le }, { "Toastify__toast--close-on-click": P }), E = be(f) ? f({ rtl: le, position: q, type: s, defaultClassName: K }) : Xe(K, f), p = !!Ae || !a, W = { closeToast: d, type: s, theme: O };
|
|
3910
3910
|
let N = null;
|
|
3911
|
-
return o === !1 || (N = be(o) ? o(W) : ut(o) ? Or(o, W) : Gi(W)), te.createElement(h, { isIn: ce, done: ie, position: q, preventExitTransition: r, nodeRef: n }, te.createElement("div", { id: _, onClick: c, className: E, ...i, style: y, ref: n }, te.createElement("div", { ...ce && { role: b }, className: be(C) ? C({ type: s }) : Xe("Toastify__toast-body", C), style: I }, $ != null && te.createElement("div", { className: Xe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !
|
|
3911
|
+
return o === !1 || (N = be(o) ? o(W) : ut(o) ? Or(o, W) : Gi(W)), te.createElement(h, { isIn: ce, done: ie, position: q, preventExitTransition: r, nodeRef: n }, te.createElement("div", { id: _, onClick: c, className: E, ...i, style: y, ref: n }, te.createElement("div", { ...ce && { role: b }, className: be(C) ? C({ type: s }) : Xe("Toastify__toast-body", C), style: I }, $ != null && te.createElement("div", { className: Xe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ae }) }, $), te.createElement("div", null, A)), N, te.createElement(ja, { ...L && !p ? { key: `pb-${L}` } : {}, rtl: le, theme: O, delay: a, isRunning: t, isIn: ce, closeToast: d, hide: u, type: s, style: J, className: k, controlledProgress: p, progress: Ae || 0 })));
|
|
3912
3912
|
}, sr = function(e, t) {
|
|
3913
3913
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3914
3914
|
}, Na = ar(sr("bounce", !0));
|
|
@@ -5013,7 +5013,7 @@ const es = ({
|
|
|
5013
5013
|
flexDownloadCount: k,
|
|
5014
5014
|
disabled: J
|
|
5015
5015
|
}) => {
|
|
5016
|
-
const [L, b] = B(!1), [
|
|
5016
|
+
const [L, b] = B(!1), [Ae, le] = B(Kt(5)), [_, ie] = B(""), [ce, ae] = B(!1), [$, P] = B(!1), [O, K] = B("download"), E = () => {
|
|
5017
5017
|
r(e);
|
|
5018
5018
|
}, p = async (N, g, w, x, G, D) => {
|
|
5019
5019
|
try {
|
|
@@ -5068,7 +5068,7 @@ const es = ({
|
|
|
5068
5068
|
It(
|
|
5069
5069
|
u,
|
|
5070
5070
|
N,
|
|
5071
|
-
|
|
5071
|
+
Ae,
|
|
5072
5072
|
g,
|
|
5073
5073
|
D,
|
|
5074
5074
|
R,
|
|
@@ -5280,7 +5280,7 @@ const es = ({
|
|
|
5280
5280
|
} else {
|
|
5281
5281
|
ie("download");
|
|
5282
5282
|
const N = f.iosUrl, g = f.googleUrl;
|
|
5283
|
-
I && I.willSpendCredit ? (C(!0), K("download"),
|
|
5283
|
+
I && I.willSpendCredit ? (C(!0), K("download"), ae(!0)) : !N || !g ? (C(!0), P(!0)) : (P(!1), ae(!1), await p(s, i, void 0, !0, null, !0));
|
|
5284
5284
|
}
|
|
5285
5285
|
},
|
|
5286
5286
|
children: [
|
|
@@ -5313,7 +5313,7 @@ const es = ({
|
|
|
5313
5313
|
onClickDonwload: async () => {
|
|
5314
5314
|
ie("copyLink");
|
|
5315
5315
|
const N = f.iosUrl, g = f.googleUrl;
|
|
5316
|
-
I && (I != null && I.willSpendCredit) ? (K("copy"), C(!0),
|
|
5316
|
+
I && (I != null && I.willSpendCredit) ? (K("copy"), C(!0), ae(!0)) : !N || !g ? (C(!0), P(!0)) : (ae(!1), P(!1), await W());
|
|
5317
5317
|
},
|
|
5318
5318
|
disabled: J,
|
|
5319
5319
|
children: /* @__PURE__ */ m.jsx(di, { className: "h-6 w-6 stroke-dark-full" })
|
|
@@ -5336,7 +5336,7 @@ const es = ({
|
|
|
5336
5336
|
P(!1), C(!1), await p(s, i, void 0, !0, null, !0);
|
|
5337
5337
|
},
|
|
5338
5338
|
onClose: () => {
|
|
5339
|
-
|
|
5339
|
+
ae(!1), C(!1);
|
|
5340
5340
|
},
|
|
5341
5341
|
flexDownloadCount: k
|
|
5342
5342
|
}
|
|
@@ -6010,7 +6010,7 @@ const as = ({
|
|
|
6010
6010
|
flexDownloadCount: h,
|
|
6011
6011
|
disabled: q
|
|
6012
6012
|
}) => {
|
|
6013
|
-
const [f, y] = B([]), [C, I] = B([]), [k, J] = B(!1), [L, b] = B(""), [
|
|
6013
|
+
const [f, y] = B([]), [C, I] = B([]), [k, J] = B(!1), [L, b] = B(""), [Ae, le] = B(!1), [_, ie] = B(!1), [ce, ae] = B(!1), $ = async (K) => {
|
|
6014
6014
|
J(!0);
|
|
6015
6015
|
const E = await os(
|
|
6016
6016
|
n,
|
|
@@ -6086,7 +6086,7 @@ const as = ({
|
|
|
6086
6086
|
urls: u,
|
|
6087
6087
|
game: d,
|
|
6088
6088
|
downloadFlex: t,
|
|
6089
|
-
setIsConfirmActive:
|
|
6089
|
+
setIsConfirmActive: ae,
|
|
6090
6090
|
flexDownloadCount: h,
|
|
6091
6091
|
disabled: q
|
|
6092
6092
|
},
|
|
@@ -6125,7 +6125,7 @@ const as = ({
|
|
|
6125
6125
|
onClickMultiDownload: O,
|
|
6126
6126
|
networksVersionTotalSize: L,
|
|
6127
6127
|
typeOfProduct: i,
|
|
6128
|
-
multiDownloading:
|
|
6128
|
+
multiDownloading: Ae
|
|
6129
6129
|
}
|
|
6130
6130
|
)
|
|
6131
6131
|
}
|
|
@@ -6193,7 +6193,7 @@ const ps = [
|
|
|
6193
6193
|
}) => {
|
|
6194
6194
|
const [u, d] = B(null), [h, q] = B(null), [f, y] = B(null), [C, I] = B(null), [k, J] = B(!1);
|
|
6195
6195
|
B({});
|
|
6196
|
-
const [L, b] = B(null), [
|
|
6196
|
+
const [L, b] = B(null), [Ae, le] = B(null), [_, ie] = B(""), [ce, ae] = B(!0), [$, P] = B(window.innerWidth);
|
|
6197
6197
|
console.log("disabled", ce), ve(() => {
|
|
6198
6198
|
const x = () => {
|
|
6199
6199
|
P(window.innerWidth);
|
|
@@ -6234,7 +6234,7 @@ const ps = [
|
|
|
6234
6234
|
const T = ((D = z.match(
|
|
6235
6235
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6236
6236
|
)) == null ? void 0 : D.at(1)) || "";
|
|
6237
|
-
ie(T),
|
|
6237
|
+
ie(T), ae(!1);
|
|
6238
6238
|
} else if (n === "Flex") {
|
|
6239
6239
|
if (x)
|
|
6240
6240
|
le(x.iosUrl), ie(x.googleUrl);
|
|
@@ -6280,8 +6280,8 @@ const ps = [
|
|
|
6280
6280
|
b(x);
|
|
6281
6281
|
};
|
|
6282
6282
|
return ve(() => {
|
|
6283
|
-
i || (d(null), q(null), y(null), I(null)), i && n === "Playable" ? (O(), p(null),
|
|
6284
|
-
i && (p(x),
|
|
6283
|
+
i || (d(null), q(null), y(null), I(null)), i && n === "Playable" ? (O(), p(null), ae(!1), w()) : i && n === "Flex" && (W(), N(), g().then((x) => {
|
|
6284
|
+
i && (p(x), ae(!1));
|
|
6285
6285
|
})), i && w();
|
|
6286
6286
|
}, [r, e, t, i]), ve(() => {
|
|
6287
6287
|
g().then((x) => {
|
|
@@ -6307,7 +6307,7 @@ const ps = [
|
|
|
6307
6307
|
title: a,
|
|
6308
6308
|
typeOfProduct: n,
|
|
6309
6309
|
fileSize: C,
|
|
6310
|
-
urls: { iosUrl:
|
|
6310
|
+
urls: { iosUrl: Ae, googleUrl: _ },
|
|
6311
6311
|
handleIosChange: K,
|
|
6312
6312
|
handleGoogleChange: E,
|
|
6313
6313
|
disabled: ce,
|
|
@@ -6329,7 +6329,7 @@ const ps = [
|
|
|
6329
6329
|
children: /* @__PURE__ */ m.jsx(Hi, { typeOfProduct: n })
|
|
6330
6330
|
}
|
|
6331
6331
|
),
|
|
6332
|
-
(u || f) && !k &&
|
|
6332
|
+
(u || f) && !k && Ae !== "" && _ !== "" && /* @__PURE__ */ m.jsx(
|
|
6333
6333
|
ss,
|
|
6334
6334
|
{
|
|
6335
6335
|
playable: u,
|
|
@@ -6342,7 +6342,7 @@ const ps = [
|
|
|
6342
6342
|
instantGames: L,
|
|
6343
6343
|
handleDownloadError: c,
|
|
6344
6344
|
fetchFileUrl: s,
|
|
6345
|
-
urls: { iosUrl:
|
|
6345
|
+
urls: { iosUrl: Ae, googleUrl: _ },
|
|
6346
6346
|
game: h,
|
|
6347
6347
|
flexDownloadCount: W,
|
|
6348
6348
|
disabled: ce
|
|
@@ -6838,7 +6838,7 @@ rl.default.subscribe(Al);
|
|
|
6838
6838
|
function b(O) {
|
|
6839
6839
|
return O && O.__esModule ? O : { default: O };
|
|
6840
6840
|
}
|
|
6841
|
-
function
|
|
6841
|
+
function Ae(O, K) {
|
|
6842
6842
|
if (!(O instanceof K))
|
|
6843
6843
|
throw new TypeError("Cannot call a class as a function");
|
|
6844
6844
|
}
|
|
@@ -6857,12 +6857,12 @@ rl.default.subscribe(Al);
|
|
|
6857
6857
|
content: "ReactModal__Content"
|
|
6858
6858
|
}, ce = function(K) {
|
|
6859
6859
|
return K.code === "Tab" || K.keyCode === 9;
|
|
6860
|
-
},
|
|
6860
|
+
}, ae = function(K) {
|
|
6861
6861
|
return K.code === "Escape" || K.keyCode === 27;
|
|
6862
6862
|
}, $ = 0, P = function(O) {
|
|
6863
6863
|
_(K, O);
|
|
6864
6864
|
function K(E) {
|
|
6865
|
-
|
|
6865
|
+
Ae(this, K);
|
|
6866
6866
|
var p = le(this, (K.__proto__ || Object.getPrototypeOf(K)).call(this, E));
|
|
6867
6867
|
return p.setOverlayRef = function(W) {
|
|
6868
6868
|
p.overlay = W, p.props.overlayRef && p.props.overlayRef(W);
|
|
@@ -6897,7 +6897,7 @@ rl.default.subscribe(Al);
|
|
|
6897
6897
|
closesAt: null
|
|
6898
6898
|
}, p.afterClose);
|
|
6899
6899
|
}, p.handleKeyDown = function(W) {
|
|
6900
|
-
ce(W) && (0, d.default)(p.content, W), p.props.shouldCloseOnEsc &&
|
|
6900
|
+
ce(W) && (0, d.default)(p.content, W), p.props.shouldCloseOnEsc && ae(W) && (W.stopPropagation(), p.requestClose(W));
|
|
6901
6901
|
}, p.handleOverlayOnClick = function(W) {
|
|
6902
6902
|
p.shouldClose === null && (p.shouldClose = !0), p.shouldClose && p.props.shouldCloseOnOverlayClick && (p.ownerHandlesClose() ? p.requestClose(W) : p.focusContent()), p.shouldClose = null;
|
|
6903
6903
|
}, p.handleContentOnMouseUp = function() {
|