gearboxdownloadmodal 6.0.76 → 6.0.77
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 +122 -120
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -292,9 +292,9 @@ function Va() {
|
|
|
292
292
|
if (be !== 1 || Ze !== 1)
|
|
293
293
|
do
|
|
294
294
|
if (be--, Ze--, Ze < 0 || le[be] !== Ee[Ze]) {
|
|
295
|
-
var
|
|
295
|
+
var Re = `
|
|
296
296
|
` + le[be].replace(" at new ", " at ");
|
|
297
|
-
return f.displayName &&
|
|
297
|
+
return f.displayName && Re.includes("<anonymous>") && (Re = Re.replace("<anonymous>", f.displayName)), typeof f == "function" && _.set(f, Re), Re;
|
|
298
298
|
}
|
|
299
299
|
while (be >= 1 && Ze >= 0);
|
|
300
300
|
break;
|
|
@@ -342,7 +342,7 @@ function Va() {
|
|
|
342
342
|
}
|
|
343
343
|
return "";
|
|
344
344
|
}
|
|
345
|
-
var
|
|
345
|
+
var Je = Object.prototype.hasOwnProperty, N = {}, H = b.ReactDebugCurrentFrame;
|
|
346
346
|
function ae(f) {
|
|
347
347
|
if (f) {
|
|
348
348
|
var K = f._owner, j = we(f.type, f._source, K ? K.type : null);
|
|
@@ -352,7 +352,7 @@ function Va() {
|
|
|
352
352
|
}
|
|
353
353
|
function U(f, K, j, $, me) {
|
|
354
354
|
{
|
|
355
|
-
var ge = Function.call.bind(
|
|
355
|
+
var ge = Function.call.bind(Je);
|
|
356
356
|
for (var ue in f)
|
|
357
357
|
if (ge(f, ue)) {
|
|
358
358
|
var le = void 0;
|
|
@@ -401,7 +401,7 @@ function Va() {
|
|
|
401
401
|
}, _r, $r, Vn;
|
|
402
402
|
Vn = {};
|
|
403
403
|
function Ca(f) {
|
|
404
|
-
if (
|
|
404
|
+
if (Je.call(f, "ref")) {
|
|
405
405
|
var K = Object.getOwnPropertyDescriptor(f, "ref").get;
|
|
406
406
|
if (K && K.isReactWarning)
|
|
407
407
|
return !1;
|
|
@@ -409,7 +409,7 @@ function Va() {
|
|
|
409
409
|
return f.ref !== void 0;
|
|
410
410
|
}
|
|
411
411
|
function Za(f) {
|
|
412
|
-
if (
|
|
412
|
+
if (Je.call(f, "key")) {
|
|
413
413
|
var K = Object.getOwnPropertyDescriptor(f, "key").get;
|
|
414
414
|
if (K && K.isReactWarning)
|
|
415
415
|
return !1;
|
|
@@ -478,7 +478,7 @@ function Va() {
|
|
|
478
478
|
var ge, ue = {}, le = null, Ee = null;
|
|
479
479
|
j !== void 0 && (ln(j), le = "" + j), Za(K) && (ln(K.key), le = "" + K.key), Ca(K) && (Ee = K.ref, xa(K, me));
|
|
480
480
|
for (ge in K)
|
|
481
|
-
|
|
481
|
+
Je.call(K, ge) && !ba.hasOwnProperty(ge) && (ue[ge] = K[ge]);
|
|
482
482
|
if (f && f.defaultProps) {
|
|
483
483
|
var be = f.defaultProps;
|
|
484
484
|
for (ge in be)
|
|
@@ -624,17 +624,17 @@ Check the top-level render call using <` + j + ">.");
|
|
|
624
624
|
if (Ze == null)
|
|
625
625
|
return Ze;
|
|
626
626
|
if (ue) {
|
|
627
|
-
var
|
|
628
|
-
if (
|
|
627
|
+
var Re = K.children;
|
|
628
|
+
if (Re !== void 0)
|
|
629
629
|
if ($)
|
|
630
|
-
if (he(
|
|
631
|
-
for (var wt = 0; wt <
|
|
632
|
-
ii(
|
|
633
|
-
Object.freeze && Object.freeze(
|
|
630
|
+
if (he(Re)) {
|
|
631
|
+
for (var wt = 0; wt < Re.length; wt++)
|
|
632
|
+
ii(Re[wt], f);
|
|
633
|
+
Object.freeze && Object.freeze(Re);
|
|
634
634
|
} else
|
|
635
635
|
C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
636
636
|
else
|
|
637
|
-
ii(
|
|
637
|
+
ii(Re, f);
|
|
638
638
|
}
|
|
639
639
|
return f === r ? Ea(Ze) : Ma(Ze), Ze;
|
|
640
640
|
}
|
|
@@ -1045,7 +1045,7 @@ vn.prototype = {
|
|
|
1045
1045
|
return new vn(n, 0).mod(e);
|
|
1046
1046
|
}
|
|
1047
1047
|
};
|
|
1048
|
-
var go = vn,
|
|
1048
|
+
var go = vn, De = co, li = go, ts = ho, at = {
|
|
1049
1049
|
PATTERN000: 0,
|
|
1050
1050
|
PATTERN001: 1,
|
|
1051
1051
|
PATTERN010: 2,
|
|
@@ -1148,39 +1148,39 @@ var go = vn, Re = co, li = go, ts = ho, at = {
|
|
|
1148
1148
|
getLengthInBits: function(e, t) {
|
|
1149
1149
|
if (1 <= t && t < 10)
|
|
1150
1150
|
switch (e) {
|
|
1151
|
-
case
|
|
1151
|
+
case De.MODE_NUMBER:
|
|
1152
1152
|
return 10;
|
|
1153
|
-
case
|
|
1153
|
+
case De.MODE_ALPHA_NUM:
|
|
1154
1154
|
return 9;
|
|
1155
|
-
case
|
|
1155
|
+
case De.MODE_8BIT_BYTE:
|
|
1156
1156
|
return 8;
|
|
1157
|
-
case
|
|
1157
|
+
case De.MODE_KANJI:
|
|
1158
1158
|
return 8;
|
|
1159
1159
|
default:
|
|
1160
1160
|
throw new Error("mode:" + e);
|
|
1161
1161
|
}
|
|
1162
1162
|
else if (t < 27)
|
|
1163
1163
|
switch (e) {
|
|
1164
|
-
case
|
|
1164
|
+
case De.MODE_NUMBER:
|
|
1165
1165
|
return 12;
|
|
1166
|
-
case
|
|
1166
|
+
case De.MODE_ALPHA_NUM:
|
|
1167
1167
|
return 11;
|
|
1168
|
-
case
|
|
1168
|
+
case De.MODE_8BIT_BYTE:
|
|
1169
1169
|
return 16;
|
|
1170
|
-
case
|
|
1170
|
+
case De.MODE_KANJI:
|
|
1171
1171
|
return 10;
|
|
1172
1172
|
default:
|
|
1173
1173
|
throw new Error("mode:" + e);
|
|
1174
1174
|
}
|
|
1175
1175
|
else if (t < 41)
|
|
1176
1176
|
switch (e) {
|
|
1177
|
-
case
|
|
1177
|
+
case De.MODE_NUMBER:
|
|
1178
1178
|
return 14;
|
|
1179
|
-
case
|
|
1179
|
+
case De.MODE_ALPHA_NUM:
|
|
1180
1180
|
return 13;
|
|
1181
|
-
case
|
|
1181
|
+
case De.MODE_8BIT_BYTE:
|
|
1182
1182
|
return 16;
|
|
1183
|
-
case
|
|
1183
|
+
case De.MODE_KANJI:
|
|
1184
1184
|
return 12;
|
|
1185
1185
|
default:
|
|
1186
1186
|
throw new Error("mode:" + e);
|
|
@@ -1218,20 +1218,20 @@ var go = vn, Re = co, li = go, ts = ho, at = {
|
|
|
1218
1218
|
function _e(e, t) {
|
|
1219
1219
|
this.typeNumber = e, this.errorCorrectLevel = t, this.modules = null, this.moduleCount = 0, this.dataCache = null, this.dataList = [];
|
|
1220
1220
|
}
|
|
1221
|
-
var
|
|
1222
|
-
|
|
1221
|
+
var Ne = _e.prototype;
|
|
1222
|
+
Ne.addData = function(e) {
|
|
1223
1223
|
var t = new rs(e);
|
|
1224
1224
|
this.dataList.push(t), this.dataCache = null;
|
|
1225
1225
|
};
|
|
1226
|
-
|
|
1226
|
+
Ne.isDark = function(e, t) {
|
|
1227
1227
|
if (e < 0 || this.moduleCount <= e || t < 0 || this.moduleCount <= t)
|
|
1228
1228
|
throw new Error(e + "," + t);
|
|
1229
1229
|
return this.modules[e][t];
|
|
1230
1230
|
};
|
|
1231
|
-
|
|
1231
|
+
Ne.getModuleCount = function() {
|
|
1232
1232
|
return this.moduleCount;
|
|
1233
1233
|
};
|
|
1234
|
-
|
|
1234
|
+
Ne.make = function() {
|
|
1235
1235
|
if (this.typeNumber < 1) {
|
|
1236
1236
|
var e = 1;
|
|
1237
1237
|
for (e = 1; e < 40; e++) {
|
|
@@ -1248,7 +1248,7 @@ Ye.make = function() {
|
|
|
1248
1248
|
}
|
|
1249
1249
|
this.makeImpl(!1, this.getBestMaskPattern());
|
|
1250
1250
|
};
|
|
1251
|
-
|
|
1251
|
+
Ne.makeImpl = function(e, t) {
|
|
1252
1252
|
this.moduleCount = this.typeNumber * 4 + 17, this.modules = new Array(this.moduleCount);
|
|
1253
1253
|
for (var n = 0; n < this.moduleCount; n++) {
|
|
1254
1254
|
this.modules[n] = new Array(this.moduleCount);
|
|
@@ -1257,13 +1257,13 @@ Ye.makeImpl = function(e, t) {
|
|
|
1257
1257
|
}
|
|
1258
1258
|
this.setupPositionProbePattern(0, 0), this.setupPositionProbePattern(this.moduleCount - 7, 0), this.setupPositionProbePattern(0, this.moduleCount - 7), this.setupPositionAdjustPattern(), this.setupTimingPattern(), this.setupTypeInfo(e, t), this.typeNumber >= 7 && this.setupTypeNumber(e), this.dataCache == null && (this.dataCache = _e.createData(this.typeNumber, this.errorCorrectLevel, this.dataList)), this.mapData(this.dataCache, t);
|
|
1259
1259
|
};
|
|
1260
|
-
|
|
1260
|
+
Ne.setupPositionProbePattern = function(e, t) {
|
|
1261
1261
|
for (var n = -1; n <= 7; n++)
|
|
1262
1262
|
if (!(e + n <= -1 || this.moduleCount <= e + n))
|
|
1263
1263
|
for (var r = -1; r <= 7; r++)
|
|
1264
1264
|
t + r <= -1 || this.moduleCount <= t + r || (0 <= n && n <= 6 && (r == 0 || r == 6) || 0 <= r && r <= 6 && (n == 0 || n == 6) || 2 <= n && n <= 4 && 2 <= r && r <= 4 ? this.modules[e + n][t + r] = !0 : this.modules[e + n][t + r] = !1);
|
|
1265
1265
|
};
|
|
1266
|
-
|
|
1266
|
+
Ne.getBestMaskPattern = function() {
|
|
1267
1267
|
for (var e = 0, t = 0, n = 0; n < 8; n++) {
|
|
1268
1268
|
this.makeImpl(!0, n);
|
|
1269
1269
|
var r = ut.getLostPoint(this);
|
|
@@ -1271,7 +1271,7 @@ Ye.getBestMaskPattern = function() {
|
|
|
1271
1271
|
}
|
|
1272
1272
|
return t;
|
|
1273
1273
|
};
|
|
1274
|
-
|
|
1274
|
+
Ne.createMovieClip = function(e, t, n) {
|
|
1275
1275
|
var r = e.createEmptyMovieClip(t, n), i = 1;
|
|
1276
1276
|
this.make();
|
|
1277
1277
|
for (var o = 0; o < this.modules.length; o++)
|
|
@@ -1281,13 +1281,13 @@ Ye.createMovieClip = function(e, t, n) {
|
|
|
1281
1281
|
}
|
|
1282
1282
|
return r;
|
|
1283
1283
|
};
|
|
1284
|
-
|
|
1284
|
+
Ne.setupTimingPattern = function() {
|
|
1285
1285
|
for (var e = 8; e < this.moduleCount - 8; e++)
|
|
1286
1286
|
this.modules[e][6] == null && (this.modules[e][6] = e % 2 == 0);
|
|
1287
1287
|
for (var t = 8; t < this.moduleCount - 8; t++)
|
|
1288
1288
|
this.modules[6][t] == null && (this.modules[6][t] = t % 2 == 0);
|
|
1289
1289
|
};
|
|
1290
|
-
|
|
1290
|
+
Ne.setupPositionAdjustPattern = function() {
|
|
1291
1291
|
for (var e = ut.getPatternPosition(this.typeNumber), t = 0; t < e.length; t++)
|
|
1292
1292
|
for (var n = 0; n < e.length; n++) {
|
|
1293
1293
|
var r = e[t], i = e[n];
|
|
@@ -1297,7 +1297,7 @@ Ye.setupPositionAdjustPattern = function() {
|
|
|
1297
1297
|
o == -2 || o == 2 || a == -2 || a == 2 || o == 0 && a == 0 ? this.modules[r + o][i + a] = !0 : this.modules[r + o][i + a] = !1;
|
|
1298
1298
|
}
|
|
1299
1299
|
};
|
|
1300
|
-
|
|
1300
|
+
Ne.setupTypeNumber = function(e) {
|
|
1301
1301
|
for (var t = ut.getBCHTypeNumber(this.typeNumber), n = 0; n < 18; n++) {
|
|
1302
1302
|
var r = !e && (t >> n & 1) == 1;
|
|
1303
1303
|
this.modules[Math.floor(n / 3)][n % 3 + this.moduleCount - 8 - 3] = r;
|
|
@@ -1307,7 +1307,7 @@ Ye.setupTypeNumber = function(e) {
|
|
|
1307
1307
|
this.modules[n % 3 + this.moduleCount - 8 - 3][Math.floor(n / 3)] = r;
|
|
1308
1308
|
}
|
|
1309
1309
|
};
|
|
1310
|
-
|
|
1310
|
+
Ne.setupTypeInfo = function(e, t) {
|
|
1311
1311
|
for (var n = this.errorCorrectLevel << 3 | t, r = ut.getBCHTypeInfo(n), i = 0; i < 15; i++) {
|
|
1312
1312
|
var o = !e && (r >> i & 1) == 1;
|
|
1313
1313
|
i < 6 ? this.modules[i][8] = o : i < 8 ? this.modules[i + 1][8] = o : this.modules[this.moduleCount - 15 + i][8] = o;
|
|
@@ -1318,7 +1318,7 @@ Ye.setupTypeInfo = function(e, t) {
|
|
|
1318
1318
|
}
|
|
1319
1319
|
this.modules[this.moduleCount - 8][8] = !e;
|
|
1320
1320
|
};
|
|
1321
|
-
|
|
1321
|
+
Ne.mapData = function(e, t) {
|
|
1322
1322
|
for (var n = -1, r = this.moduleCount - 1, i = 7, o = 0, a = this.moduleCount - 1; a > 0; a -= 2)
|
|
1323
1323
|
for (a == 6 && a--; ; ) {
|
|
1324
1324
|
for (var s = 0; s < 2; s++)
|
|
@@ -2048,7 +2048,7 @@ var fs = Object.assign || function(e) {
|
|
|
2048
2048
|
Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
|
|
2049
2049
|
}
|
|
2050
2050
|
return e;
|
|
2051
|
-
}, ps = zn,
|
|
2051
|
+
}, ps = zn, Te = Zo(ps), Co = de, dn = Zo(Co);
|
|
2052
2052
|
function Zo(e) {
|
|
2053
2053
|
return e && e.__esModule ? e : { default: e };
|
|
2054
2054
|
}
|
|
@@ -2059,14 +2059,14 @@ function hs(e, t) {
|
|
|
2059
2059
|
return n;
|
|
2060
2060
|
}
|
|
2061
2061
|
var gs = {
|
|
2062
|
-
bgColor:
|
|
2063
|
-
bgD:
|
|
2064
|
-
fgColor:
|
|
2065
|
-
fgD:
|
|
2066
|
-
size:
|
|
2067
|
-
title:
|
|
2068
|
-
viewBoxSize:
|
|
2069
|
-
xmlns:
|
|
2062
|
+
bgColor: Te.default.oneOfType([Te.default.object, Te.default.string]).isRequired,
|
|
2063
|
+
bgD: Te.default.string.isRequired,
|
|
2064
|
+
fgColor: Te.default.oneOfType([Te.default.object, Te.default.string]).isRequired,
|
|
2065
|
+
fgD: Te.default.string.isRequired,
|
|
2066
|
+
size: Te.default.number.isRequired,
|
|
2067
|
+
title: Te.default.string,
|
|
2068
|
+
viewBoxSize: Te.default.number.isRequired,
|
|
2069
|
+
xmlns: Te.default.string
|
|
2070
2070
|
}, ys = {
|
|
2071
2071
|
title: void 0,
|
|
2072
2072
|
xmlns: "http://www.w3.org/2000/svg"
|
|
@@ -5359,7 +5359,7 @@ function At() {
|
|
|
5359
5359
|
(e = arguments[n++]) && (t = ta(e)) && (r && (r += " "), r += t);
|
|
5360
5360
|
return r;
|
|
5361
5361
|
}
|
|
5362
|
-
const Pt = (e) => typeof e == "number" && !isNaN(e), qt = (e) => typeof e == "string",
|
|
5362
|
+
const Pt = (e) => typeof e == "number" && !isNaN(e), qt = (e) => typeof e == "string", je = (e) => typeof e == "function", xn = (e) => qt(e) || je(e) ? e : null, lr = (e) => Ot(e) || qt(e) || je(e) || Pt(e);
|
|
5363
5363
|
function bu(e, t, n) {
|
|
5364
5364
|
n === void 0 && (n = 300);
|
|
5365
5365
|
const { scrollHeight: r, style: i } = e;
|
|
@@ -5390,7 +5390,7 @@ function Hn(e) {
|
|
|
5390
5390
|
function Gi(e, t) {
|
|
5391
5391
|
return e != null ? { content: e.content, containerId: e.props.containerId, id: e.props.toastId, theme: e.props.theme, type: e.props.type, data: e.props.data || {}, isLoading: e.props.isLoading, icon: e.props.icon, status: t } : {};
|
|
5392
5392
|
}
|
|
5393
|
-
const
|
|
5393
|
+
const Ge = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map(), on(e, t) {
|
|
5394
5394
|
return this.list.has(e) || this.list.set(e, []), this.list.get(e).push(t), this;
|
|
5395
5395
|
}, off(e, t) {
|
|
5396
5396
|
if (t) {
|
|
@@ -5449,7 +5449,7 @@ function Cu(e) {
|
|
|
5449
5449
|
return E != null;
|
|
5450
5450
|
})), toastId: C, updateId: S, data: w, closeToast: z, isIn: !1, className: xn(b.className || v.toastClassName), bodyClassName: xn(b.bodyClassName || v.bodyClassName), progressClassName: xn(b.progressClassName || v.progressClassName), autoClose: !b.isLoading && (P = b.autoClose, T = v.autoClose, P === !1 || Pt(P) && P > 0 ? P : T), deleteToast() {
|
|
5451
5451
|
const X = Gi(o.get(C), "removed");
|
|
5452
|
-
o.delete(C),
|
|
5452
|
+
o.delete(C), Ge.emit(4, X);
|
|
5453
5453
|
const ie = s.queue.length;
|
|
5454
5454
|
if (s.count = C == null ? s.count - s.displayedToast : s.count - 1, s.count < 0 && (s.count = 0), ie > 0) {
|
|
5455
5455
|
const E = C == null ? s.props.limit : 1;
|
|
@@ -5468,10 +5468,10 @@ function Cu(e) {
|
|
|
5468
5468
|
L.iconOut = function(X) {
|
|
5469
5469
|
let { theme: ie, type: E, isLoading: M, icon: R } = X, q = null;
|
|
5470
5470
|
const O = { theme: ie, type: E };
|
|
5471
|
-
return R === !1 || (
|
|
5472
|
-
}(L),
|
|
5471
|
+
return R === !1 || (je(R) ? q = R(O) : Ot(R) ? q = pr(R, O) : qt(R) || Pt(R) ? q = R : M ? q = ur.spinner() : ((B) => B in ur)(E) && (q = ur[E](O))), q;
|
|
5472
|
+
}(L), je(b.onOpen) && (L.onOpen = b.onOpen), je(b.onClose) && (L.onClose = b.onClose), L.closeButton = v.closeButton, b.closeButton === !1 || lr(b.closeButton) ? L.closeButton = b.closeButton : b.closeButton === !0 && (L.closeButton = !lr(v.closeButton) || v.closeButton);
|
|
5473
5473
|
let re = g;
|
|
5474
|
-
Ot(g) && !qt(g.type) ? re = pr(g, { closeToast: z, toastProps: L, data: w }) :
|
|
5474
|
+
Ot(g) && !qt(g.type) ? re = pr(g, { closeToast: z, toastProps: L, data: w }) : je(g) && (re = g({ closeToast: z, toastProps: L, data: w })), v.limit && v.limit > 0 && s.count > v.limit && W ? s.queue.push({ toastContent: re, toastProps: L, staleId: h }) : Pt(p) ? setTimeout(() => {
|
|
5475
5475
|
m(re, L, h);
|
|
5476
5476
|
}, p) : m(re, L, h);
|
|
5477
5477
|
}
|
|
@@ -5479,10 +5479,10 @@ function Cu(e) {
|
|
|
5479
5479
|
const { toastId: h } = y;
|
|
5480
5480
|
p && o.delete(p);
|
|
5481
5481
|
const b = { content: g, props: y };
|
|
5482
|
-
o.set(h, b), r((C) => [...C, h].filter((S) => S !== p)),
|
|
5482
|
+
o.set(h, b), r((C) => [...C, h].filter((S) => S !== p)), Ge.emit(4, Gi(b, b.props.updateId == null ? "added" : "updated"));
|
|
5483
5483
|
}
|
|
5484
|
-
return Ie(() => (s.containerId = e.containerId,
|
|
5485
|
-
o.clear(),
|
|
5484
|
+
return Ie(() => (s.containerId = e.containerId, Ge.cancelEmit(3).on(0, d).on(1, (g) => i.current && u(g)).on(5, l).emit(2, s), () => {
|
|
5485
|
+
o.clear(), Ge.emit(3, s);
|
|
5486
5486
|
}), []), Ie(() => {
|
|
5487
5487
|
s.props = e, s.isToastActive = a, s.displayedToast = n.length;
|
|
5488
5488
|
}), { getToastToRender: function(g) {
|
|
@@ -5535,9 +5535,9 @@ function Zu(e) {
|
|
|
5535
5535
|
}
|
|
5536
5536
|
Ie(() => {
|
|
5537
5537
|
s.current = e;
|
|
5538
|
-
}), Ie(() => (o.current && o.current.addEventListener("d", p, { once: !0 }),
|
|
5538
|
+
}), Ie(() => (o.current && o.current.addEventListener("d", p, { once: !0 }), je(e.onOpen) && e.onOpen(Ot(e.children) && e.children.props), () => {
|
|
5539
5539
|
const w = s.current;
|
|
5540
|
-
|
|
5540
|
+
je(w.onClose) && w.onClose(Ot(w.children) && w.children.props);
|
|
5541
5541
|
}), []), Ie(() => (e.pauseOnFocusLoss && (document.hasFocus() || h(), window.addEventListener("focus", p), window.addEventListener("blur", h)), () => {
|
|
5542
5542
|
e.pauseOnFocusLoss && (window.removeEventListener("focus", p), window.removeEventListener("blur", h));
|
|
5543
5543
|
}), [e.pauseOnFocusLoss]);
|
|
@@ -5556,15 +5556,15 @@ function xu(e) {
|
|
|
5556
5556
|
let { delay: t, isRunning: n, closeToast: r, type: i = "default", hide: o, className: a, style: s, controlledProgress: l, progress: u, rtl: A, isIn: d, theme: m } = e;
|
|
5557
5557
|
const g = o || l && u === 0, y = { ...s, animationDuration: `${t}ms`, animationPlayState: n ? "running" : "paused", opacity: g ? 0 : 1 };
|
|
5558
5558
|
l && (y.transform = `scaleX(${u})`);
|
|
5559
|
-
const p = At("Toastify__progress-bar", l ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${m}`, `Toastify__progress-bar--${i}`, { "Toastify__progress-bar--rtl": A }), h =
|
|
5559
|
+
const p = At("Toastify__progress-bar", l ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${m}`, `Toastify__progress-bar--${i}`, { "Toastify__progress-bar--rtl": A }), h = je(a) ? a({ rtl: A, type: i, defaultClassName: p }) : At(p, a);
|
|
5560
5560
|
return de.createElement("div", { role: "progressbar", "aria-hidden": g ? "true" : "false", "aria-label": "notification timer", className: h, style: y, [l && u >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: l && u < 1 ? null : () => {
|
|
5561
5561
|
d && r();
|
|
5562
5562
|
} });
|
|
5563
5563
|
}
|
|
5564
5564
|
const wu = (e) => {
|
|
5565
|
-
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: i } = Zu(e), { closeButton: o, children: a, autoClose: s, onClick: l, type: u, hideProgressBar: A, closeToast: d, transition: m, position: g, className: y, style: p, bodyClassName: h, bodyStyle: b, progressClassName: C, progressStyle: S, updateId: w, role: v, progress: z, rtl: W, toastId: L, deleteToast: P, isIn: T, isLoading: re, iconOut: X, closeOnClick: ie, theme: E } = e, M = At("Toastify__toast", `Toastify__toast-theme--${E}`, `Toastify__toast--${u}`, { "Toastify__toast--rtl": W }, { "Toastify__toast--close-on-click": ie }), R =
|
|
5565
|
+
const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: i } = Zu(e), { closeButton: o, children: a, autoClose: s, onClick: l, type: u, hideProgressBar: A, closeToast: d, transition: m, position: g, className: y, style: p, bodyClassName: h, bodyStyle: b, progressClassName: C, progressStyle: S, updateId: w, role: v, progress: z, rtl: W, toastId: L, deleteToast: P, isIn: T, isLoading: re, iconOut: X, closeOnClick: ie, theme: E } = e, M = At("Toastify__toast", `Toastify__toast-theme--${E}`, `Toastify__toast--${u}`, { "Toastify__toast--rtl": W }, { "Toastify__toast--close-on-click": ie }), R = je(y) ? y({ rtl: W, position: g, type: u, defaultClassName: M }) : At(M, y), q = !!z || !s, O = { closeToast: d, type: u, theme: E };
|
|
5566
5566
|
let B = null;
|
|
5567
|
-
return o === !1 || (B =
|
|
5567
|
+
return o === !1 || (B = je(o) ? o(O) : Ot(o) ? pr(o, O) : na(O)), de.createElement(m, { isIn: T, done: P, position: g, preventExitTransition: n, nodeRef: r }, de.createElement("div", { id: L, onClick: l, className: R, ...i, style: p, ref: r }, de.createElement("div", { ...T && { role: v }, className: je(h) ? h({ type: u }) : At("Toastify__toast-body", h), style: b }, X != null && de.createElement("div", { className: At("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !re }) }, X), de.createElement("div", null, a)), B, de.createElement(xu, { ...w && !q ? { key: `pb-${w}` } : {}, rtl: W, theme: E, delay: s, isRunning: t, isIn: T, closeToast: d, hide: A, type: u, style: S, className: C, controlledProgress: q, progress: z || 0 })));
|
|
5568
5568
|
}, Pn = function(e, t) {
|
|
5569
5569
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
5570
5570
|
}, Iu = Hn(Pn("bounce", !0));
|
|
@@ -5575,7 +5575,7 @@ const wr = Ya((e, t) => {
|
|
|
5575
5575
|
const { getToastToRender: n, containerRef: r, isToastActive: i } = Cu(e), { className: o, style: a, rtl: s, containerId: l } = e;
|
|
5576
5576
|
function u(A) {
|
|
5577
5577
|
const d = At("Toastify__toast-container", `Toastify__toast-container--${A}`, { "Toastify__toast-container--rtl": s });
|
|
5578
|
-
return
|
|
5578
|
+
return je(o) ? o({ position: A, rtl: s, defaultClassName: d }) : At(d, xn(o));
|
|
5579
5579
|
}
|
|
5580
5580
|
return Ie(() => {
|
|
5581
5581
|
t && (t.current = r.current);
|
|
@@ -5596,7 +5596,7 @@ function Ku(e) {
|
|
|
5596
5596
|
return e && (qt(e.toastId) || Pt(e.toastId)) ? e.toastId : ra();
|
|
5597
5597
|
}
|
|
5598
5598
|
function Xt(e, t) {
|
|
5599
|
-
return mt.size > 0 ?
|
|
5599
|
+
return mt.size > 0 ? Ge.emit(0, e, t) : Gt.push({ content: e, options: t }), t.toastId;
|
|
5600
5600
|
}
|
|
5601
5601
|
function Mn(e, t) {
|
|
5602
5602
|
return { ...t, type: t && t.type || e, toastId: Ku(t) };
|
|
@@ -5615,12 +5615,12 @@ ye.loading = (e, t) => Xt(e, Mn("default", { isLoading: !0, autoClose: !1, close
|
|
|
5615
5615
|
return void ye.dismiss(r);
|
|
5616
5616
|
const g = { type: A, ...s, ...n, data: m }, y = qt(d) ? { render: d } : d;
|
|
5617
5617
|
return r ? ye.update(r, { ...g, ...y }) : ye(y.render, { ...g, ...y }), m;
|
|
5618
|
-
}, u =
|
|
5618
|
+
}, u = je(e) ? e() : e;
|
|
5619
5619
|
return u.then((A) => l("success", a, A)).catch((A) => l("error", o, A)), u;
|
|
5620
5620
|
}, ye.success = pn("success"), ye.info = pn("info"), ye.error = pn("error"), ye.warning = pn("warning"), ye.warn = ye.warning, ye.dark = (e, t) => Xt(e, Mn("default", { theme: "dark", ...t })), ye.dismiss = (e) => {
|
|
5621
|
-
mt.size > 0 ?
|
|
5621
|
+
mt.size > 0 ? Ge.emit(1, e) : Gt = Gt.filter((t) => e != null && t.options.toastId !== e);
|
|
5622
5622
|
}, ye.clearWaitingQueue = function(e) {
|
|
5623
|
-
return e === void 0 && (e = {}),
|
|
5623
|
+
return e === void 0 && (e = {}), Ge.emit(5, e);
|
|
5624
5624
|
}, ye.isActive = (e) => {
|
|
5625
5625
|
let t = !1;
|
|
5626
5626
|
return mt.forEach((n) => {
|
|
@@ -5642,14 +5642,14 @@ ye.loading = (e, t) => Xt(e, Mn("default", { isLoading: !0, autoClose: !1, close
|
|
|
5642
5642
|
}, 0);
|
|
5643
5643
|
}, ye.done = (e) => {
|
|
5644
5644
|
ye.update(e, { progress: 1 });
|
|
5645
|
-
}, ye.onChange = (e) => (
|
|
5646
|
-
|
|
5647
|
-
}), ye.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" }, ye.TYPE = { INFO: "info", SUCCESS: "success", WARNING: "warning", ERROR: "error", DEFAULT: "default" },
|
|
5645
|
+
}, ye.onChange = (e) => (Ge.on(4, e), () => {
|
|
5646
|
+
Ge.off(4, e);
|
|
5647
|
+
}), ye.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" }, ye.TYPE = { INFO: "info", SUCCESS: "success", WARNING: "warning", ERROR: "error", DEFAULT: "default" }, Ge.on(2, (e) => {
|
|
5648
5648
|
cr = e.containerId || e, mt.set(cr, e), Gt.forEach((t) => {
|
|
5649
|
-
|
|
5649
|
+
Ge.emit(0, t.content, t.options);
|
|
5650
5650
|
}), Gt = [];
|
|
5651
5651
|
}).on(3, (e) => {
|
|
5652
|
-
mt.delete(e.containerId || e), mt.size === 0 &&
|
|
5652
|
+
mt.delete(e.containerId || e), mt.size === 0 && Ge.off(0).off(1).off(5);
|
|
5653
5653
|
});
|
|
5654
5654
|
function Lu(e) {
|
|
5655
5655
|
ye.error(e, {
|
|
@@ -5675,30 +5675,30 @@ function Ct(e) {
|
|
|
5675
5675
|
theme: "light"
|
|
5676
5676
|
});
|
|
5677
5677
|
}
|
|
5678
|
-
let Xr = "",
|
|
5678
|
+
let Xr = "", ke = "Playable", We = null, ia = null, Vt, oa = [];
|
|
5679
5679
|
const Vr = async (e, t, n) => {
|
|
5680
|
-
|
|
5680
|
+
ke === "Playable" ? t && t.iosUrl !== "Loading..." && t.googleUrl !== "Loading..." && await Ti(
|
|
5681
5681
|
e,
|
|
5682
5682
|
{ iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
|
|
5683
|
-
|
|
5684
|
-
) :
|
|
5683
|
+
We
|
|
5684
|
+
) : ke === "Flex" ? t && t.iosUrl !== "Loading..." && t.googleUrl !== "Loading..." && await vu(
|
|
5685
5685
|
{
|
|
5686
5686
|
_id: e,
|
|
5687
5687
|
iosLink: t == null ? void 0 : t.iosUrl,
|
|
5688
5688
|
androidLink: t == null ? void 0 : t.googleUrl
|
|
5689
5689
|
},
|
|
5690
|
-
|
|
5691
|
-
) :
|
|
5690
|
+
We
|
|
5691
|
+
) : ke === "Ready" ? t && t.iosUrl !== "Loading..." && t.googleUrl !== "Loading..." && ((n == null ? void 0 : n.urlType) === "single" && (t.googleUrl = t.iosUrl), await Ti(
|
|
5692
5692
|
e,
|
|
5693
5693
|
{ iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
|
|
5694
|
-
|
|
5695
|
-
)) :
|
|
5694
|
+
We
|
|
5695
|
+
)) : ke === "Fusion" && t && t.iosUrl !== "Loading..." && t.googleUrl !== "Loading..." && await yu(
|
|
5696
5696
|
{
|
|
5697
5697
|
_id: Vt == null ? void 0 : Vt.fusionId,
|
|
5698
5698
|
iosLink: t == null ? void 0 : t.iosUrl,
|
|
5699
5699
|
androidLink: t == null ? void 0 : t.googleUrl
|
|
5700
5700
|
},
|
|
5701
|
-
|
|
5701
|
+
We
|
|
5702
5702
|
);
|
|
5703
5703
|
}, wn = async (e) => {
|
|
5704
5704
|
let t = Xr + "/" + e, n = e;
|
|
@@ -5726,19 +5726,19 @@ async function _t(e, t, n, r = "download", i = !1, o = null) {
|
|
|
5726
5726
|
} catch (u) {
|
|
5727
5727
|
console.log("updateUrls error", u);
|
|
5728
5728
|
}
|
|
5729
|
-
|
|
5729
|
+
ke === "Playable" ? mu(We, e, t, i, o).then(async (u) => {
|
|
5730
5730
|
let { url: A } = u;
|
|
5731
5731
|
await l(A), a(u);
|
|
5732
5732
|
}).catch((u) => {
|
|
5733
5733
|
let A = u.response.data.error.msg;
|
|
5734
5734
|
s({ message: A });
|
|
5735
|
-
}) :
|
|
5735
|
+
}) : ke === "Flex" ? cu(
|
|
5736
5736
|
{
|
|
5737
5737
|
_id: e,
|
|
5738
5738
|
network: t,
|
|
5739
5739
|
extras: o
|
|
5740
5740
|
},
|
|
5741
|
-
|
|
5741
|
+
We
|
|
5742
5742
|
).then(async (u) => {
|
|
5743
5743
|
if (u.message) {
|
|
5744
5744
|
s(u);
|
|
@@ -5749,13 +5749,13 @@ async function _t(e, t, n, r = "download", i = !1, o = null) {
|
|
|
5749
5749
|
}).catch((u) => {
|
|
5750
5750
|
let A = u.response.data.error.msg;
|
|
5751
5751
|
s({ message: A });
|
|
5752
|
-
}) :
|
|
5752
|
+
}) : ke === "Import" ? du(We, e, t).then(async (u) => {
|
|
5753
5753
|
let A = u.url;
|
|
5754
5754
|
await l(A), a(u);
|
|
5755
5755
|
}).catch((u) => {
|
|
5756
5756
|
let A = u.response.data.error.msg;
|
|
5757
5757
|
s({ message: A });
|
|
5758
|
-
}) :
|
|
5758
|
+
}) : ke === "Ready" ? pu(We, e, t, i, o).then(async (u) => {
|
|
5759
5759
|
if (u.message) {
|
|
5760
5760
|
s(u);
|
|
5761
5761
|
return;
|
|
@@ -5765,8 +5765,8 @@ async function _t(e, t, n, r = "download", i = !1, o = null) {
|
|
|
5765
5765
|
}).catch((u) => {
|
|
5766
5766
|
let A = u.response.data.error.msg;
|
|
5767
5767
|
s({ message: A });
|
|
5768
|
-
}) :
|
|
5769
|
-
|
|
5768
|
+
}) : ke === "Fusion" && gu(
|
|
5769
|
+
We,
|
|
5770
5770
|
e,
|
|
5771
5771
|
t,
|
|
5772
5772
|
Vt,
|
|
@@ -5785,7 +5785,7 @@ async function _t(e, t, n, r = "download", i = !1, o = null) {
|
|
|
5785
5785
|
}
|
|
5786
5786
|
async function Mu(e, t, n, r = null) {
|
|
5787
5787
|
return new Promise(async (i, o) => {
|
|
5788
|
-
n = n.map((a) => aa(a)), await Vr(e, t, r),
|
|
5788
|
+
n = n.map((a) => aa(a)), await Vr(e, t, r), ke === "Flex" ? uu(e, n, We).then(async (a) => {
|
|
5789
5789
|
if (a.message) {
|
|
5790
5790
|
o(a);
|
|
5791
5791
|
return;
|
|
@@ -5794,7 +5794,7 @@ async function Mu(e, t, n, r = null) {
|
|
|
5794
5794
|
}).catch((a) => {
|
|
5795
5795
|
let s = a.response.data.error.msg;
|
|
5796
5796
|
o({ message: s });
|
|
5797
|
-
}) :
|
|
5797
|
+
}) : ke === "Ready" ? hu(e, n, We).then(async (a) => {
|
|
5798
5798
|
if (a.message) {
|
|
5799
5799
|
o(a);
|
|
5800
5800
|
return;
|
|
@@ -5804,7 +5804,7 @@ async function Mu(e, t, n, r = null) {
|
|
|
5804
5804
|
console.log("err", a);
|
|
5805
5805
|
let s = a.response.data.error.msg;
|
|
5806
5806
|
o({ message: s });
|
|
5807
|
-
}) : fu(e, n,
|
|
5807
|
+
}) : fu(e, n, We).then(async (a) => {
|
|
5808
5808
|
await wn(a.url), i(a.url);
|
|
5809
5809
|
}).catch((a) => {
|
|
5810
5810
|
let s = a.response.data.error.msg;
|
|
@@ -5813,7 +5813,7 @@ async function Mu(e, t, n, r = null) {
|
|
|
5813
5813
|
});
|
|
5814
5814
|
}
|
|
5815
5815
|
function Eu(e, t, n, r, i) {
|
|
5816
|
-
|
|
5816
|
+
ke = e, We = t, ia = n, Xr = r, Vt = i;
|
|
5817
5817
|
}
|
|
5818
5818
|
function ku(e) {
|
|
5819
5819
|
oa = e;
|
|
@@ -5823,9 +5823,11 @@ async function Wu(e) {
|
|
|
5823
5823
|
return await qu(
|
|
5824
5824
|
{
|
|
5825
5825
|
versionId: e,
|
|
5826
|
-
checkExistance: !0
|
|
5826
|
+
checkExistance: !0,
|
|
5827
|
+
isFlex: ke === "Flex",
|
|
5828
|
+
isFusion: ke === "Fusion"
|
|
5827
5829
|
},
|
|
5828
|
-
|
|
5830
|
+
We
|
|
5829
5831
|
);
|
|
5830
5832
|
} catch {
|
|
5831
5833
|
return null;
|
|
@@ -6170,7 +6172,7 @@ function Fu(e, t) {
|
|
|
6170
6172
|
[n, e]
|
|
6171
6173
|
);
|
|
6172
6174
|
}
|
|
6173
|
-
function
|
|
6175
|
+
function ze(e, t) {
|
|
6174
6176
|
return [
|
|
6175
6177
|
Bu(e, t),
|
|
6176
6178
|
// We do wrong type assertion here, which results in throwing an error.
|
|
@@ -6189,7 +6191,7 @@ const Aa = an(""), la = an(!1), Ur = an([]), ua = an([]), sn = an(!1), _u = ({
|
|
|
6189
6191
|
androidLink: l,
|
|
6190
6192
|
urlType: u
|
|
6191
6193
|
}) => {
|
|
6192
|
-
const [A, d] = F(!1), [m, g] =
|
|
6194
|
+
const [A, d] = F(!1), [m, g] = ze(sn), y = n === "Playable" ? m : !0, p = async () => {
|
|
6193
6195
|
d(!0), _t(
|
|
6194
6196
|
e,
|
|
6195
6197
|
"default",
|
|
@@ -6487,7 +6489,7 @@ const $i = ({
|
|
|
6487
6489
|
n(A.target.value);
|
|
6488
6490
|
}, a = (A) => {
|
|
6489
6491
|
r(A.target.value);
|
|
6490
|
-
}, [s, l] =
|
|
6492
|
+
}, [s, l] = ze(sn);
|
|
6491
6493
|
let u = i;
|
|
6492
6494
|
return e === "Playable" && !i && !s && (u = !0), /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
|
|
6493
6495
|
e === "Playable" && /* @__PURE__ */ c.jsxs(
|
|
@@ -7731,7 +7733,7 @@ const mc = ({
|
|
|
7731
7733
|
generateCDN: L,
|
|
7732
7734
|
cdnUrl: P
|
|
7733
7735
|
}) => {
|
|
7734
|
-
const [T, re] = F(!1), [X, ie] = F(""), [E, M] = F(!1), [R, q] = F(!1), [O, B] = F(!1), [Z, I] = F("download"), [G, D] = F(!1), [Y, J] = F(!1), [V, Q] = F(!1), [ee, se] =
|
|
7736
|
+
const [T, re] = F(!1), [X, ie] = F(""), [E, M] = F(!1), [R, q] = F(!1), [O, B] = F(!1), [Z, I] = F("download"), [G, D] = F(!1), [Y, J] = F(!1), [V, Q] = F(!1), [ee, se] = ze(Ur), [_, qe] = ze(sn), k = l === "Playable" ? _ : !0, Ce = {
|
|
7735
7737
|
cdn: "Generate Link",
|
|
7736
7738
|
adikteev: "Copy CDN"
|
|
7737
7739
|
}, Me = () => {
|
|
@@ -7759,7 +7761,7 @@ const mc = ({
|
|
|
7759
7761
|
re(!1), d(Be.message, Be), Zt(Be), J(!1), D(!1);
|
|
7760
7762
|
});
|
|
7761
7763
|
});
|
|
7762
|
-
},
|
|
7764
|
+
}, Je = async (U = !1) => {
|
|
7763
7765
|
U ? J(!0) : D(!0);
|
|
7764
7766
|
const oe = {
|
|
7765
7767
|
molocoGenerateHtml: !1
|
|
@@ -7975,7 +7977,7 @@ const mc = ({
|
|
|
7975
7977
|
onClickDonwload: async (U) => {
|
|
7976
7978
|
U.stopPropagation(), ie("copyLink");
|
|
7977
7979
|
const oe = g.iosUrl, he = g.googleUrl;
|
|
7978
|
-
h && (h != null && h.willSpendCredit) ? (I("download"), p(!0), M(!0)) : l !== "Import" && (!oe || !he) ? (p(!0), q(!0)) : (M(!1), q(!1), await
|
|
7980
|
+
h && (h != null && h.willSpendCredit) ? (I("download"), p(!0), M(!0)) : l !== "Import" && (!oe || !he) ? (p(!0), q(!0)) : (M(!1), q(!1), await Je(!0));
|
|
7979
7981
|
},
|
|
7980
7982
|
disabled: C,
|
|
7981
7983
|
children: [
|
|
@@ -8048,7 +8050,7 @@ const mc = ({
|
|
|
8048
8050
|
onClose: () => {
|
|
8049
8051
|
B(!1);
|
|
8050
8052
|
},
|
|
8051
|
-
handleDownload:
|
|
8053
|
+
handleDownload: Je,
|
|
8052
8054
|
handleDownloadMolocoTest: N,
|
|
8053
8055
|
downloadingMoloco: G,
|
|
8054
8056
|
donwloadintMolocoTest: V,
|
|
@@ -8466,7 +8468,7 @@ const mc = ({
|
|
|
8466
8468
|
setCdnUrl: w,
|
|
8467
8469
|
customer: v
|
|
8468
8470
|
}) => {
|
|
8469
|
-
const [z, W] = F([]), [L, P] = F([]), [T, re] = F(!1), [X, ie] = F(""), [E, M] = F(!1), [R, q] = F(!1), [O, B] = F("download"), [Z, I] = F(!1), [G, D] = F(!1), [Y, J] = F(!1), [V, Q] =
|
|
8471
|
+
const [z, W] = F([]), [L, P] = F([]), [T, re] = F(!1), [X, ie] = F(""), [E, M] = F(!1), [R, q] = F(!1), [O, B] = F("download"), [Z, I] = F(!1), [G, D] = F(!1), [Y, J] = F(!1), [V, Q] = ze(Aa), [ee, se] = ze(la), [_] = ze(Ur), [qe, k] = ze(sn), Ce = i === "Playable" ? qe : !0, Me = async (H = !1) => {
|
|
8470
8472
|
H && S || Y || (J(!0), _t(r, "cdn", Ce ? u : null, null, !1, {}).then((ae) => {
|
|
8471
8473
|
w(ae.url), J(!1);
|
|
8472
8474
|
}).catch((ae) => {
|
|
@@ -8482,7 +8484,7 @@ const mc = ({
|
|
|
8482
8484
|
} else
|
|
8483
8485
|
ae.push(H), W([...z, H]);
|
|
8484
8486
|
_.filter((U) => [...ae].includes(U.id)).map((U) => U.name);
|
|
8485
|
-
},
|
|
8487
|
+
}, Je = async () => new Promise(async (H, ae) => {
|
|
8486
8488
|
const U = _.filter((oe) => [...z].includes(oe.id)).map((oe) => oe.name);
|
|
8487
8489
|
M(!0), Mu(r, u, U, { urlType: p }).then((oe) => {
|
|
8488
8490
|
M(!1), H(oe);
|
|
@@ -8490,7 +8492,7 @@ const mc = ({
|
|
|
8490
8492
|
console.log("get multi download err"), M(!1), s(oe.message, oe), ae(oe);
|
|
8491
8493
|
});
|
|
8492
8494
|
}), N = async () => {
|
|
8493
|
-
u.iosUrl, u.googleUrl, t && t.willSpendCredit ? (q(!0), B("download"), I(!0)) : (I(!1), await
|
|
8495
|
+
u.iosUrl, u.googleUrl, t && t.willSpendCredit ? (q(!0), B("download"), I(!0)) : (I(!1), await Je());
|
|
8494
8496
|
};
|
|
8495
8497
|
return Ie(() => {
|
|
8496
8498
|
const H = _.filter((ae) => {
|
|
@@ -8647,7 +8649,7 @@ const mc = ({
|
|
|
8647
8649
|
handleCopyLink: async () => {
|
|
8648
8650
|
},
|
|
8649
8651
|
download: async () => {
|
|
8650
|
-
I(!1), q(!1), await
|
|
8652
|
+
I(!1), q(!1), await Je();
|
|
8651
8653
|
},
|
|
8652
8654
|
onClose: () => {
|
|
8653
8655
|
I(!1), q(!1);
|
|
@@ -8730,8 +8732,8 @@ const Ic = ({
|
|
|
8730
8732
|
setUrlType: C
|
|
8731
8733
|
}) => {
|
|
8732
8734
|
const [S, w] = F(null), [v, z] = F(null), [W, L] = F(null), [P, T] = F(!1), [re, X] = F(!0), [ie, E] = F(window.innerWidth), [M, R] = F(!1), [q, O] = F(!1), [B, Z] = F("");
|
|
8733
|
-
|
|
8734
|
-
const [I, G] =
|
|
8735
|
+
ze(Aa), ze(la);
|
|
8736
|
+
const [I, G] = ze(ua), [D, Y] = ze(sn);
|
|
8735
8737
|
Ie(() => {
|
|
8736
8738
|
!B && r !== "Fusion" && Wu(t).then((N) => {
|
|
8737
8739
|
N != null && N.exist && Z(N.uploadPath);
|
|
@@ -8808,10 +8810,10 @@ const Ic = ({
|
|
|
8808
8810
|
...N,
|
|
8809
8811
|
networks: eo
|
|
8810
8812
|
}) : L(N)), T(!1);
|
|
8811
|
-
}, Ce = async () => await vc(n, o), [Me, we] = F(null),
|
|
8813
|
+
}, Ce = async () => await vc(n, o), [Me, we] = F(null), Je = async (N) => await wc(N, o);
|
|
8812
8814
|
return Ie(() => {
|
|
8813
8815
|
i || (w(null), z(null), L(null), d(null), we(null)), i && (r === "Playable" ? Ce().then((N) => {
|
|
8814
|
-
|
|
8816
|
+
Je(N.customer).then((H) => {
|
|
8815
8817
|
we(H);
|
|
8816
8818
|
}), Q().then((H) => {
|
|
8817
8819
|
qe(null, H);
|
|
@@ -9144,17 +9146,17 @@ var Xc = Rc, Vc = Uc(Xc), Qc = Ve;
|
|
|
9144
9146
|
function Uc(e) {
|
|
9145
9147
|
return e && e.__esModule ? e : { default: e };
|
|
9146
9148
|
}
|
|
9147
|
-
var
|
|
9149
|
+
var Ye = null;
|
|
9148
9150
|
function Bc() {
|
|
9149
|
-
|
|
9151
|
+
Ye && (Ye.removeAttribute ? Ye.removeAttribute("aria-hidden") : Ye.length != null ? Ye.forEach(function(e) {
|
|
9150
9152
|
return e.removeAttribute("aria-hidden");
|
|
9151
|
-
}) : document.querySelectorAll(
|
|
9153
|
+
}) : document.querySelectorAll(Ye).forEach(function(e) {
|
|
9152
9154
|
return e.removeAttribute("aria-hidden");
|
|
9153
|
-
})),
|
|
9155
|
+
})), Ye = null;
|
|
9154
9156
|
}
|
|
9155
9157
|
function Fc() {
|
|
9156
9158
|
if (process.env.NODE_ENV !== "production") {
|
|
9157
|
-
var e =
|
|
9159
|
+
var e = Ye || {};
|
|
9158
9160
|
console.log("ariaAppHider ----------"), console.log(e.nodeName, e.className, e.id), console.log("end ariaAppHider ----------");
|
|
9159
9161
|
}
|
|
9160
9162
|
}
|
|
@@ -9168,10 +9170,10 @@ function _c(e) {
|
|
|
9168
9170
|
var n = document.querySelectorAll(t);
|
|
9169
9171
|
pa(n, t), t = n;
|
|
9170
9172
|
}
|
|
9171
|
-
return
|
|
9173
|
+
return Ye = t || Ye, Ye;
|
|
9172
9174
|
}
|
|
9173
9175
|
function Br(e) {
|
|
9174
|
-
var t = e ||
|
|
9176
|
+
var t = e || Ye;
|
|
9175
9177
|
return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, Vc.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []);
|
|
9176
9178
|
}
|
|
9177
9179
|
function $c(e) {
|
|
@@ -9211,7 +9213,7 @@ function ed(e) {
|
|
|
9211
9213
|
}
|
|
9212
9214
|
}
|
|
9213
9215
|
function td() {
|
|
9214
|
-
|
|
9216
|
+
Ye = null;
|
|
9215
9217
|
}
|
|
9216
9218
|
var Wt = {};
|
|
9217
9219
|
Object.defineProperty(Wt, "__esModule", {
|
|
@@ -10153,7 +10155,7 @@ const Rd = ({
|
|
|
10153
10155
|
copyLinkUrl: g,
|
|
10154
10156
|
fusionData: y
|
|
10155
10157
|
}) => {
|
|
10156
|
-
const [p, h] = F(window.innerWidth), [b, C] = F(!1), [S, w] = F(A), [v, z] = F(!1), [W, L] = F(!0), [P, T] = F(null), [re, X] = F(""), [ie, E] = F("Loading..."), [M, R] = F("Loading..."), [q, O] = F("game"), [B, Z] =
|
|
10158
|
+
const [p, h] = F(window.innerWidth), [b, C] = F(!1), [S, w] = F(A), [v, z] = F(!1), [W, L] = F(!0), [P, T] = F(null), [re, X] = F(""), [ie, E] = F("Loading..."), [M, R] = F("Loading..."), [q, O] = F("game"), [B, Z] = ze(Ur), [I, G] = ze(ua);
|
|
10157
10159
|
Eu(a, s, X, m, y);
|
|
10158
10160
|
const D = async () => {
|
|
10159
10161
|
let Y = await Yd(s, a);
|