gearboxdownloadmodal 5.0.59 → 5.0.60
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 +589 -577
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +18 -18
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -66,25 +66,25 @@ var wn;
|
|
|
66
66
|
function Ei() {
|
|
67
67
|
return wn || (wn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
68
68
|
var e = oe, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), A = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = Symbol.iterator, q = "@@iterator";
|
|
69
|
-
function
|
|
69
|
+
function I(l) {
|
|
70
70
|
if (l === null || typeof l != "object")
|
|
71
71
|
return null;
|
|
72
72
|
var w = p && l[p] || l[q];
|
|
73
73
|
return typeof w == "function" ? w : null;
|
|
74
74
|
}
|
|
75
75
|
var K = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
76
|
-
function
|
|
76
|
+
function E(l) {
|
|
77
77
|
{
|
|
78
|
-
for (var w = arguments.length,
|
|
79
|
-
|
|
80
|
-
J("error", l,
|
|
78
|
+
for (var w = arguments.length, O = new Array(w > 1 ? w - 1 : 0), T = 1; T < w; T++)
|
|
79
|
+
O[T - 1] = arguments[T];
|
|
80
|
+
J("error", l, O);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
83
|
-
function J(l, w,
|
|
83
|
+
function J(l, w, O) {
|
|
84
84
|
{
|
|
85
85
|
var T = K.ReactDebugCurrentFrame, ne = T.getStackAddendum();
|
|
86
|
-
ne !== "" && (w += "%s",
|
|
87
|
-
var ce =
|
|
86
|
+
ne !== "" && (w += "%s", O = O.concat([ne]));
|
|
87
|
+
var ce = O.map(function(te) {
|
|
88
88
|
return String(te);
|
|
89
89
|
});
|
|
90
90
|
ce.unshift("Warning: " + w), Function.prototype.apply.call(console[l], console, ce);
|
|
@@ -99,20 +99,20 @@ function Ei() {
|
|
|
99
99
|
// with.
|
|
100
100
|
l.$$typeof === se || l.getModuleId !== void 0));
|
|
101
101
|
}
|
|
102
|
-
function ue(l, w,
|
|
102
|
+
function ue(l, w, O) {
|
|
103
103
|
var T = l.displayName;
|
|
104
104
|
if (T)
|
|
105
105
|
return T;
|
|
106
106
|
var ne = w.displayName || w.name || "";
|
|
107
|
-
return ne !== "" ?
|
|
107
|
+
return ne !== "" ? O + "(" + ne + ")" : O;
|
|
108
108
|
}
|
|
109
109
|
function _(l) {
|
|
110
110
|
return l.displayName || "Context";
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function j(l) {
|
|
113
113
|
if (l == null)
|
|
114
114
|
return null;
|
|
115
|
-
if (typeof l.tag == "number" &&
|
|
115
|
+
if (typeof l.tag == "number" && E("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof l == "function")
|
|
116
116
|
return l.displayName || l.name || null;
|
|
117
117
|
if (typeof l == "string")
|
|
118
118
|
return l;
|
|
@@ -136,17 +136,17 @@ function Ei() {
|
|
|
136
136
|
var w = l;
|
|
137
137
|
return _(w) + ".Consumer";
|
|
138
138
|
case a:
|
|
139
|
-
var
|
|
140
|
-
return _(
|
|
139
|
+
var O = l;
|
|
140
|
+
return _(O._context) + ".Provider";
|
|
141
141
|
case c:
|
|
142
142
|
return ue(l, l.render, "ForwardRef");
|
|
143
143
|
case m:
|
|
144
144
|
var T = l.displayName || null;
|
|
145
|
-
return T !== null ? T :
|
|
145
|
+
return T !== null ? T : j(l.type) || "Memo";
|
|
146
146
|
case g: {
|
|
147
147
|
var ne = l, ce = ne._payload, te = ne._init;
|
|
148
148
|
try {
|
|
149
|
-
return
|
|
149
|
+
return j(te(ce));
|
|
150
150
|
} catch {
|
|
151
151
|
return null;
|
|
152
152
|
}
|
|
@@ -154,14 +154,14 @@ function Ei() {
|
|
|
154
154
|
}
|
|
155
155
|
return null;
|
|
156
156
|
}
|
|
157
|
-
var
|
|
157
|
+
var C = Object.assign, M = 0, S, f, L, Y, v, x, N;
|
|
158
158
|
function D() {
|
|
159
159
|
}
|
|
160
160
|
D.__reactDisabledLog = !0;
|
|
161
|
-
function
|
|
161
|
+
function z() {
|
|
162
162
|
{
|
|
163
|
-
if (
|
|
164
|
-
|
|
163
|
+
if (M === 0) {
|
|
164
|
+
S = console.log, f = console.info, L = console.warn, Y = console.error, v = console.group, x = console.groupCollapsed, N = console.groupEnd;
|
|
165
165
|
var l = {
|
|
166
166
|
configurable: !0,
|
|
167
167
|
enumerable: !0,
|
|
@@ -178,46 +178,46 @@ function Ei() {
|
|
|
178
178
|
groupEnd: l
|
|
179
179
|
});
|
|
180
180
|
}
|
|
181
|
-
|
|
181
|
+
M++;
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
184
|
function Q() {
|
|
185
185
|
{
|
|
186
|
-
if (
|
|
186
|
+
if (M--, M === 0) {
|
|
187
187
|
var l = {
|
|
188
188
|
configurable: !0,
|
|
189
189
|
enumerable: !0,
|
|
190
190
|
writable: !0
|
|
191
191
|
};
|
|
192
192
|
Object.defineProperties(console, {
|
|
193
|
-
log:
|
|
194
|
-
value:
|
|
193
|
+
log: C({}, l, {
|
|
194
|
+
value: S
|
|
195
195
|
}),
|
|
196
|
-
info:
|
|
196
|
+
info: C({}, l, {
|
|
197
197
|
value: f
|
|
198
198
|
}),
|
|
199
|
-
warn:
|
|
200
|
-
value:
|
|
199
|
+
warn: C({}, l, {
|
|
200
|
+
value: L
|
|
201
201
|
}),
|
|
202
|
-
error:
|
|
203
|
-
value:
|
|
202
|
+
error: C({}, l, {
|
|
203
|
+
value: Y
|
|
204
204
|
}),
|
|
205
|
-
group:
|
|
205
|
+
group: C({}, l, {
|
|
206
206
|
value: v
|
|
207
207
|
}),
|
|
208
|
-
groupCollapsed:
|
|
208
|
+
groupCollapsed: C({}, l, {
|
|
209
209
|
value: x
|
|
210
210
|
}),
|
|
211
|
-
groupEnd:
|
|
211
|
+
groupEnd: C({}, l, {
|
|
212
212
|
value: N
|
|
213
213
|
})
|
|
214
214
|
});
|
|
215
215
|
}
|
|
216
|
-
|
|
216
|
+
M < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
var R = K.ReactCurrentDispatcher, G;
|
|
220
|
-
function X(l, w,
|
|
220
|
+
function X(l, w, O) {
|
|
221
221
|
{
|
|
222
222
|
if (G === void 0)
|
|
223
223
|
try {
|
|
@@ -232,23 +232,23 @@ function Ei() {
|
|
|
232
232
|
}
|
|
233
233
|
var ee = !1, P;
|
|
234
234
|
{
|
|
235
|
-
var
|
|
236
|
-
P = new
|
|
235
|
+
var k = typeof WeakMap == "function" ? WeakMap : Map;
|
|
236
|
+
P = new k();
|
|
237
237
|
}
|
|
238
|
-
function
|
|
238
|
+
function Z(l, w) {
|
|
239
239
|
if (!l || ee)
|
|
240
240
|
return "";
|
|
241
241
|
{
|
|
242
|
-
var
|
|
243
|
-
if (
|
|
244
|
-
return
|
|
242
|
+
var O = P.get(l);
|
|
243
|
+
if (O !== void 0)
|
|
244
|
+
return O;
|
|
245
245
|
}
|
|
246
246
|
var T;
|
|
247
247
|
ee = !0;
|
|
248
248
|
var ne = Error.prepareStackTrace;
|
|
249
249
|
Error.prepareStackTrace = void 0;
|
|
250
250
|
var ce;
|
|
251
|
-
ce = R.current, R.current = null,
|
|
251
|
+
ce = R.current, R.current = null, z();
|
|
252
252
|
try {
|
|
253
253
|
if (w) {
|
|
254
254
|
var te = function() {
|
|
@@ -284,14 +284,14 @@ function Ei() {
|
|
|
284
284
|
} catch (Ve) {
|
|
285
285
|
if (Ve && T && typeof Ve.stack == "string") {
|
|
286
286
|
for (var $ = Ve.stack.split(`
|
|
287
|
-
`),
|
|
288
|
-
`), pe = $.length - 1, fe =
|
|
287
|
+
`), Ie = T.stack.split(`
|
|
288
|
+
`), pe = $.length - 1, fe = Ie.length - 1; pe >= 1 && fe >= 0 && $[pe] !== Ie[fe]; )
|
|
289
289
|
fe--;
|
|
290
290
|
for (; pe >= 1 && fe >= 0; pe--, fe--)
|
|
291
|
-
if ($[pe] !==
|
|
291
|
+
if ($[pe] !== Ie[fe]) {
|
|
292
292
|
if (pe !== 1 || fe !== 1)
|
|
293
293
|
do
|
|
294
|
-
if (pe--, fe--, fe < 0 || $[pe] !==
|
|
294
|
+
if (pe--, fe--, fe < 0 || $[pe] !== Ie[fe]) {
|
|
295
295
|
var Oe = `
|
|
296
296
|
` + $[pe].replace(" at new ", " at ");
|
|
297
297
|
return l.displayName && Oe.includes("<anonymous>") && (Oe = Oe.replace("<anonymous>", l.displayName)), typeof l == "function" && P.set(l, Oe), Oe;
|
|
@@ -306,18 +306,18 @@ function Ei() {
|
|
|
306
306
|
var mt = l ? l.displayName || l.name : "", Zn = mt ? X(mt) : "";
|
|
307
307
|
return typeof l == "function" && P.set(l, Zn), Zn;
|
|
308
308
|
}
|
|
309
|
-
function ie(l, w,
|
|
310
|
-
return
|
|
309
|
+
function ie(l, w, O) {
|
|
310
|
+
return Z(l, !1);
|
|
311
311
|
}
|
|
312
312
|
function we(l) {
|
|
313
313
|
var w = l.prototype;
|
|
314
314
|
return !!(w && w.isReactComponent);
|
|
315
315
|
}
|
|
316
|
-
function ve(l, w,
|
|
316
|
+
function ve(l, w, O) {
|
|
317
317
|
if (l == null)
|
|
318
318
|
return "";
|
|
319
319
|
if (typeof l == "function")
|
|
320
|
-
return
|
|
320
|
+
return Z(l, we(l));
|
|
321
321
|
if (typeof l == "string")
|
|
322
322
|
return X(l);
|
|
323
323
|
switch (l) {
|
|
@@ -331,26 +331,26 @@ function Ei() {
|
|
|
331
331
|
case c:
|
|
332
332
|
return ie(l.render);
|
|
333
333
|
case m:
|
|
334
|
-
return ve(l.type, w,
|
|
334
|
+
return ve(l.type, w, O);
|
|
335
335
|
case g: {
|
|
336
336
|
var T = l, ne = T._payload, ce = T._init;
|
|
337
337
|
try {
|
|
338
|
-
return ve(ce(ne), w,
|
|
338
|
+
return ve(ce(ne), w, O);
|
|
339
339
|
} catch {
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
343
|
return "";
|
|
344
344
|
}
|
|
345
|
-
var ze = Object.prototype.hasOwnProperty, Qe = {},
|
|
345
|
+
var ze = Object.prototype.hasOwnProperty, Qe = {}, Ze = K.ReactDebugCurrentFrame;
|
|
346
346
|
function me(l) {
|
|
347
347
|
if (l) {
|
|
348
|
-
var w = l._owner,
|
|
349
|
-
|
|
348
|
+
var w = l._owner, O = ve(l.type, l._source, w ? w.type : null);
|
|
349
|
+
Ze.setExtraStackFrame(O);
|
|
350
350
|
} else
|
|
351
|
-
|
|
351
|
+
Ze.setExtraStackFrame(null);
|
|
352
352
|
}
|
|
353
|
-
function bt(l, w,
|
|
353
|
+
function bt(l, w, O, T, ne) {
|
|
354
354
|
{
|
|
355
355
|
var ce = Function.call.bind(ze);
|
|
356
356
|
for (var te in l)
|
|
@@ -358,14 +358,14 @@ function Ei() {
|
|
|
358
358
|
var $ = void 0;
|
|
359
359
|
try {
|
|
360
360
|
if (typeof l[te] != "function") {
|
|
361
|
-
var
|
|
362
|
-
throw
|
|
361
|
+
var Ie = Error((T || "React class") + ": " + O + " type `" + te + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof l[te] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
362
|
+
throw Ie.name = "Invariant Violation", Ie;
|
|
363
363
|
}
|
|
364
|
-
$ = l[te](w, te, T,
|
|
364
|
+
$ = l[te](w, te, T, O, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
365
365
|
} catch (pe) {
|
|
366
366
|
$ = pe;
|
|
367
367
|
}
|
|
368
|
-
$ && !($ instanceof Error) && (me(ne),
|
|
368
|
+
$ && !($ instanceof Error) && (me(ne), E("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", T || "React class", O, te, typeof $), me(null)), $ instanceof Error && !($.message in Qe) && (Qe[$.message] = !0, me(ne), E("Failed %s type: %s", O, $.message), me(null));
|
|
369
369
|
}
|
|
370
370
|
}
|
|
371
371
|
}
|
|
@@ -375,8 +375,8 @@ function Ei() {
|
|
|
375
375
|
}
|
|
376
376
|
function si(l) {
|
|
377
377
|
{
|
|
378
|
-
var w = typeof Symbol == "function" && Symbol.toStringTag,
|
|
379
|
-
return
|
|
378
|
+
var w = typeof Symbol == "function" && Symbol.toStringTag, O = w && l[Symbol.toStringTag] || l.constructor.name || "Object";
|
|
379
|
+
return O;
|
|
380
380
|
}
|
|
381
381
|
}
|
|
382
382
|
function li(l) {
|
|
@@ -391,7 +391,7 @@ function Ei() {
|
|
|
391
391
|
}
|
|
392
392
|
function pn(l) {
|
|
393
393
|
if (li(l))
|
|
394
|
-
return
|
|
394
|
+
return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", si(l)), mn(l);
|
|
395
395
|
}
|
|
396
396
|
var Zt = K.ReactCurrentOwner, ui = {
|
|
397
397
|
key: !0,
|
|
@@ -418,40 +418,40 @@ function Ei() {
|
|
|
418
418
|
}
|
|
419
419
|
function mi(l, w) {
|
|
420
420
|
if (typeof l.ref == "string" && Zt.current && w && Zt.current.stateNode !== w) {
|
|
421
|
-
var
|
|
422
|
-
hr[
|
|
421
|
+
var O = j(Zt.current.type);
|
|
422
|
+
hr[O] || (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', j(Zt.current.type), l.ref), hr[O] = !0);
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
function pi(l, w) {
|
|
426
426
|
{
|
|
427
|
-
var
|
|
428
|
-
fn || (fn = !0,
|
|
427
|
+
var O = function() {
|
|
428
|
+
fn || (fn = !0, E("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
|
|
429
429
|
};
|
|
430
|
-
|
|
431
|
-
get:
|
|
430
|
+
O.isReactWarning = !0, Object.defineProperty(l, "key", {
|
|
431
|
+
get: O,
|
|
432
432
|
configurable: !0
|
|
433
433
|
});
|
|
434
434
|
}
|
|
435
435
|
}
|
|
436
436
|
function fi(l, w) {
|
|
437
437
|
{
|
|
438
|
-
var
|
|
439
|
-
hn || (hn = !0,
|
|
438
|
+
var O = function() {
|
|
439
|
+
hn || (hn = !0, E("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", w));
|
|
440
440
|
};
|
|
441
|
-
|
|
442
|
-
get:
|
|
441
|
+
O.isReactWarning = !0, Object.defineProperty(l, "ref", {
|
|
442
|
+
get: O,
|
|
443
443
|
configurable: !0
|
|
444
444
|
});
|
|
445
445
|
}
|
|
446
446
|
}
|
|
447
|
-
var hi = function(l, w,
|
|
447
|
+
var hi = function(l, w, O, T, ne, ce, te) {
|
|
448
448
|
var $ = {
|
|
449
449
|
// This tag allows us to uniquely identify this as a React Element
|
|
450
450
|
$$typeof: t,
|
|
451
451
|
// Built-in properties that belong on the element
|
|
452
452
|
type: l,
|
|
453
453
|
key: w,
|
|
454
|
-
ref:
|
|
454
|
+
ref: O,
|
|
455
455
|
props: te,
|
|
456
456
|
// Record the component responsible for creating this element.
|
|
457
457
|
_owner: ce
|
|
@@ -473,10 +473,10 @@ function Ei() {
|
|
|
473
473
|
value: ne
|
|
474
474
|
}), Object.freeze && (Object.freeze($.props), Object.freeze($)), $;
|
|
475
475
|
};
|
|
476
|
-
function qi(l, w,
|
|
476
|
+
function qi(l, w, O, T, ne) {
|
|
477
477
|
{
|
|
478
|
-
var ce, te = {}, $ = null,
|
|
479
|
-
|
|
478
|
+
var ce, te = {}, $ = null, Ie = null;
|
|
479
|
+
O !== void 0 && (pn(O), $ = "" + O), di(w) && (pn(w.key), $ = "" + w.key), ci(w) && (Ie = w.ref, mi(w, ne));
|
|
480
480
|
for (ce in w)
|
|
481
481
|
ze.call(w, ce) && !ui.hasOwnProperty(ce) && (te[ce] = w[ce]);
|
|
482
482
|
if (l && l.defaultProps) {
|
|
@@ -484,18 +484,18 @@ function Ei() {
|
|
|
484
484
|
for (ce in pe)
|
|
485
485
|
te[ce] === void 0 && (te[ce] = pe[ce]);
|
|
486
486
|
}
|
|
487
|
-
if ($ ||
|
|
487
|
+
if ($ || Ie) {
|
|
488
488
|
var fe = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
|
|
489
|
-
$ && pi(te, fe),
|
|
489
|
+
$ && pi(te, fe), Ie && fi(te, fe);
|
|
490
490
|
}
|
|
491
|
-
return hi(l, $,
|
|
491
|
+
return hi(l, $, Ie, ne, T, Zt.current, te);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
494
|
var qr = K.ReactCurrentOwner, qn = K.ReactDebugCurrentFrame;
|
|
495
495
|
function dt(l) {
|
|
496
496
|
if (l) {
|
|
497
|
-
var w = l._owner,
|
|
498
|
-
qn.setExtraStackFrame(
|
|
497
|
+
var w = l._owner, O = ve(l.type, l._source, w ? w.type : null);
|
|
498
|
+
qn.setExtraStackFrame(O);
|
|
499
499
|
} else
|
|
500
500
|
qn.setExtraStackFrame(null);
|
|
501
501
|
}
|
|
@@ -507,7 +507,7 @@ function Ei() {
|
|
|
507
507
|
function gn() {
|
|
508
508
|
{
|
|
509
509
|
if (qr.current) {
|
|
510
|
-
var l =
|
|
510
|
+
var l = j(qr.current.type);
|
|
511
511
|
if (l)
|
|
512
512
|
return `
|
|
513
513
|
|
|
@@ -519,10 +519,10 @@ Check the render method of \`` + l + "`.";
|
|
|
519
519
|
function gi(l) {
|
|
520
520
|
{
|
|
521
521
|
if (l !== void 0) {
|
|
522
|
-
var w = l.fileName.replace(/^.*[\\\/]/, ""),
|
|
522
|
+
var w = l.fileName.replace(/^.*[\\\/]/, ""), O = l.lineNumber;
|
|
523
523
|
return `
|
|
524
524
|
|
|
525
|
-
Check your code at ` + w + ":" +
|
|
525
|
+
Check your code at ` + w + ":" + O + ".";
|
|
526
526
|
}
|
|
527
527
|
return "";
|
|
528
528
|
}
|
|
@@ -532,10 +532,10 @@ Check your code at ` + w + ":" + M + ".";
|
|
|
532
532
|
{
|
|
533
533
|
var w = gn();
|
|
534
534
|
if (!w) {
|
|
535
|
-
var
|
|
536
|
-
|
|
535
|
+
var O = typeof l == "string" ? l : l.displayName || l.name;
|
|
536
|
+
O && (w = `
|
|
537
537
|
|
|
538
|
-
Check the top-level render call using <` +
|
|
538
|
+
Check the top-level render call using <` + O + ">.");
|
|
539
539
|
}
|
|
540
540
|
return w;
|
|
541
541
|
}
|
|
@@ -545,12 +545,12 @@ Check the top-level render call using <` + M + ">.");
|
|
|
545
545
|
if (!l._store || l._store.validated || l.key != null)
|
|
546
546
|
return;
|
|
547
547
|
l._store.validated = !0;
|
|
548
|
-
var
|
|
549
|
-
if (vn[
|
|
548
|
+
var O = vi(w);
|
|
549
|
+
if (vn[O])
|
|
550
550
|
return;
|
|
551
|
-
vn[
|
|
551
|
+
vn[O] = !0;
|
|
552
552
|
var T = "";
|
|
553
|
-
l && l._owner && l._owner !== qr.current && (T = " It was passed a child from " +
|
|
553
|
+
l && l._owner && l._owner !== qr.current && (T = " It was passed a child from " + j(l._owner.type) + "."), dt(l), E('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', O, T), dt(null);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
function bn(l, w) {
|
|
@@ -558,14 +558,14 @@ Check the top-level render call using <` + M + ">.");
|
|
|
558
558
|
if (typeof l != "object")
|
|
559
559
|
return;
|
|
560
560
|
if (fr(l))
|
|
561
|
-
for (var
|
|
562
|
-
var T = l[
|
|
561
|
+
for (var O = 0; O < l.length; O++) {
|
|
562
|
+
var T = l[O];
|
|
563
563
|
vr(T) && yn(T, w);
|
|
564
564
|
}
|
|
565
565
|
else if (vr(l))
|
|
566
566
|
l._store && (l._store.validated = !0);
|
|
567
567
|
else if (l) {
|
|
568
|
-
var ne =
|
|
568
|
+
var ne = I(l);
|
|
569
569
|
if (typeof ne == "function" && ne !== l.entries)
|
|
570
570
|
for (var ce = ne.call(l), te; !(te = ce.next()).done; )
|
|
571
571
|
vr(te.value) && yn(te.value, w);
|
|
@@ -577,50 +577,50 @@ Check the top-level render call using <` + M + ">.");
|
|
|
577
577
|
var w = l.type;
|
|
578
578
|
if (w == null || typeof w == "string")
|
|
579
579
|
return;
|
|
580
|
-
var
|
|
580
|
+
var O;
|
|
581
581
|
if (typeof w == "function")
|
|
582
|
-
|
|
582
|
+
O = w.propTypes;
|
|
583
583
|
else if (typeof w == "object" && (w.$$typeof === c || // Note: Memo only checks outer props here.
|
|
584
584
|
// Inner props are checked in the reconciler.
|
|
585
585
|
w.$$typeof === m))
|
|
586
|
-
|
|
586
|
+
O = w.propTypes;
|
|
587
587
|
else
|
|
588
588
|
return;
|
|
589
|
-
if (
|
|
590
|
-
var T =
|
|
591
|
-
bt(
|
|
589
|
+
if (O) {
|
|
590
|
+
var T = j(w);
|
|
591
|
+
bt(O, l.props, "prop", T, l);
|
|
592
592
|
} else if (w.PropTypes !== void 0 && !gr) {
|
|
593
593
|
gr = !0;
|
|
594
|
-
var ne =
|
|
595
|
-
|
|
594
|
+
var ne = j(w);
|
|
595
|
+
E("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ne || "Unknown");
|
|
596
596
|
}
|
|
597
|
-
typeof w.getDefaultProps == "function" && !w.getDefaultProps.isReactClassApproved &&
|
|
597
|
+
typeof w.getDefaultProps == "function" && !w.getDefaultProps.isReactClassApproved && E("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
function bi(l) {
|
|
601
601
|
{
|
|
602
|
-
for (var w = Object.keys(l.props),
|
|
603
|
-
var T = w[
|
|
602
|
+
for (var w = Object.keys(l.props), O = 0; O < w.length; O++) {
|
|
603
|
+
var T = w[O];
|
|
604
604
|
if (T !== "children" && T !== "key") {
|
|
605
|
-
dt(l),
|
|
605
|
+
dt(l), E("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", T), dt(null);
|
|
606
606
|
break;
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
|
-
l.ref !== null && (dt(l),
|
|
609
|
+
l.ref !== null && (dt(l), E("Invalid attribute `ref` supplied to `React.Fragment`."), dt(null));
|
|
610
610
|
}
|
|
611
611
|
}
|
|
612
|
-
function Cn(l, w,
|
|
612
|
+
function Cn(l, w, O, T, ne, ce) {
|
|
613
613
|
{
|
|
614
614
|
var te = le(l);
|
|
615
615
|
if (!te) {
|
|
616
616
|
var $ = "";
|
|
617
617
|
(l === void 0 || typeof l == "object" && l !== null && Object.keys(l).length === 0) && ($ += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
618
|
-
var
|
|
619
|
-
|
|
618
|
+
var Ie = gi(ne);
|
|
619
|
+
Ie ? $ += Ie : $ += gn();
|
|
620
620
|
var pe;
|
|
621
|
-
l === null ? pe = "null" : fr(l) ? pe = "array" : l !== void 0 && l.$$typeof === t ? (pe = "<" + (
|
|
621
|
+
l === null ? pe = "null" : fr(l) ? pe = "array" : l !== void 0 && l.$$typeof === t ? (pe = "<" + (j(l.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : pe = typeof l, E("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", pe, $);
|
|
622
622
|
}
|
|
623
|
-
var fe = qi(l, w,
|
|
623
|
+
var fe = qi(l, w, O, ne, ce);
|
|
624
624
|
if (fe == null)
|
|
625
625
|
return fe;
|
|
626
626
|
if (te) {
|
|
@@ -632,18 +632,18 @@ Check the top-level render call using <` + M + ">.");
|
|
|
632
632
|
bn(Oe[mt], l);
|
|
633
633
|
Object.freeze && Object.freeze(Oe);
|
|
634
634
|
} else
|
|
635
|
-
|
|
635
|
+
E("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
637
|
bn(Oe, l);
|
|
638
638
|
}
|
|
639
639
|
return l === n ? bi(fe) : yi(fe), fe;
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
|
-
function Ci(l, w,
|
|
643
|
-
return Cn(l, w,
|
|
642
|
+
function Ci(l, w, O) {
|
|
643
|
+
return Cn(l, w, O, !0);
|
|
644
644
|
}
|
|
645
|
-
function Zi(l, w,
|
|
646
|
-
return Cn(l, w,
|
|
645
|
+
function Zi(l, w, O) {
|
|
646
|
+
return Cn(l, w, O, !1);
|
|
647
647
|
}
|
|
648
648
|
var Ii = Zi, wi = Ci;
|
|
649
649
|
wt.Fragment = n, wt.jsx = Ii, wt.jsxs = wi;
|
|
@@ -1367,13 +1367,13 @@ Te.createBytes = function(e, t) {
|
|
|
1367
1367
|
}
|
|
1368
1368
|
for (var q = 0, s = 0; s < t.length; s++)
|
|
1369
1369
|
q += t[s].totalCount;
|
|
1370
|
-
for (var
|
|
1370
|
+
for (var I = new Array(q), K = 0, s = 0; s < n; s++)
|
|
1371
1371
|
for (var A = 0; A < t.length; A++)
|
|
1372
|
-
s < i[A].length && (
|
|
1372
|
+
s < i[A].length && (I[K++] = i[A][s]);
|
|
1373
1373
|
for (var s = 0; s < o; s++)
|
|
1374
1374
|
for (var A = 0; A < t.length; A++)
|
|
1375
|
-
s < a[A].length && (
|
|
1376
|
-
return
|
|
1375
|
+
s < a[A].length && (I[K++] = a[A][s]);
|
|
1376
|
+
return I;
|
|
1377
1377
|
};
|
|
1378
1378
|
var Xi = Te, jr = { exports: {} }, Rt = { exports: {} }, ae = {};
|
|
1379
1379
|
/** @license React v16.13.1
|
|
@@ -1389,7 +1389,7 @@ function Qi() {
|
|
|
1389
1389
|
if (xn)
|
|
1390
1390
|
return ae;
|
|
1391
1391
|
xn = 1;
|
|
1392
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, q = e ? Symbol.for("react.block") : 60121,
|
|
1392
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, q = e ? Symbol.for("react.block") : 60121, I = e ? Symbol.for("react.fundamental") : 60117, K = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
1393
1393
|
function J(b) {
|
|
1394
1394
|
if (typeof b == "object" && b !== null) {
|
|
1395
1395
|
var V = b.$$typeof;
|
|
@@ -1448,7 +1448,7 @@ function Qi() {
|
|
|
1448
1448
|
}, ae.isSuspense = function(b) {
|
|
1449
1449
|
return J(b) === m;
|
|
1450
1450
|
}, ae.isValidElementType = function(b) {
|
|
1451
|
-
return typeof b == "string" || typeof b == "function" || b === n || b === d || b === i || b === o || b === m || b === g || typeof b == "object" && b !== null && (b.$$typeof === p || b.$$typeof === h || b.$$typeof === a || b.$$typeof === A || b.$$typeof === s || b.$$typeof ===
|
|
1451
|
+
return typeof b == "string" || typeof b == "function" || b === n || b === d || b === i || b === o || b === m || b === g || typeof b == "object" && b !== null && (b.$$typeof === p || b.$$typeof === h || b.$$typeof === a || b.$$typeof === A || b.$$typeof === s || b.$$typeof === I || b.$$typeof === K || b.$$typeof === E || b.$$typeof === q);
|
|
1452
1452
|
}, ae.typeOf = J, ae;
|
|
1453
1453
|
}
|
|
1454
1454
|
var Ae = {};
|
|
@@ -1463,17 +1463,17 @@ var Ae = {};
|
|
|
1463
1463
|
var Wn;
|
|
1464
1464
|
function Vi() {
|
|
1465
1465
|
return Wn || (Wn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
1466
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, q = e ? Symbol.for("react.block") : 60121,
|
|
1467
|
-
function J(
|
|
1468
|
-
return typeof
|
|
1469
|
-
|
|
1470
|
-
}
|
|
1471
|
-
function W(
|
|
1472
|
-
if (typeof
|
|
1473
|
-
var ie =
|
|
1466
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, r = e ? Symbol.for("react.portal") : 60106, n = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, d = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, m = e ? Symbol.for("react.suspense") : 60113, g = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, q = e ? Symbol.for("react.block") : 60121, I = e ? Symbol.for("react.fundamental") : 60117, K = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
1467
|
+
function J(Z) {
|
|
1468
|
+
return typeof Z == "string" || typeof Z == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
1469
|
+
Z === n || Z === d || Z === i || Z === o || Z === m || Z === g || typeof Z == "object" && Z !== null && (Z.$$typeof === p || Z.$$typeof === h || Z.$$typeof === a || Z.$$typeof === A || Z.$$typeof === s || Z.$$typeof === I || Z.$$typeof === K || Z.$$typeof === E || Z.$$typeof === q);
|
|
1470
|
+
}
|
|
1471
|
+
function W(Z) {
|
|
1472
|
+
if (typeof Z == "object" && Z !== null) {
|
|
1473
|
+
var ie = Z.$$typeof;
|
|
1474
1474
|
switch (ie) {
|
|
1475
1475
|
case t:
|
|
1476
|
-
var we =
|
|
1476
|
+
var we = Z.type;
|
|
1477
1477
|
switch (we) {
|
|
1478
1478
|
case c:
|
|
1479
1479
|
case d:
|
|
@@ -1500,47 +1500,47 @@ function Vi() {
|
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
1503
|
-
var b = c, V = d, F = A, B = a, se = t, le = s, ue = n, _ = p,
|
|
1504
|
-
function
|
|
1505
|
-
return
|
|
1503
|
+
var b = c, V = d, F = A, B = a, se = t, le = s, ue = n, _ = p, j = h, C = r, M = i, S = o, f = m, L = !1;
|
|
1504
|
+
function Y(Z) {
|
|
1505
|
+
return L || (L = !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.")), v(Z) || W(Z) === c;
|
|
1506
1506
|
}
|
|
1507
|
-
function v(
|
|
1508
|
-
return W(
|
|
1507
|
+
function v(Z) {
|
|
1508
|
+
return W(Z) === d;
|
|
1509
1509
|
}
|
|
1510
|
-
function x(
|
|
1511
|
-
return W(
|
|
1510
|
+
function x(Z) {
|
|
1511
|
+
return W(Z) === A;
|
|
1512
1512
|
}
|
|
1513
|
-
function N(
|
|
1514
|
-
return W(
|
|
1513
|
+
function N(Z) {
|
|
1514
|
+
return W(Z) === a;
|
|
1515
1515
|
}
|
|
1516
|
-
function D(
|
|
1517
|
-
return typeof
|
|
1516
|
+
function D(Z) {
|
|
1517
|
+
return typeof Z == "object" && Z !== null && Z.$$typeof === t;
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1520
|
-
return W(
|
|
1519
|
+
function z(Z) {
|
|
1520
|
+
return W(Z) === s;
|
|
1521
1521
|
}
|
|
1522
|
-
function Q(
|
|
1523
|
-
return W(
|
|
1522
|
+
function Q(Z) {
|
|
1523
|
+
return W(Z) === n;
|
|
1524
1524
|
}
|
|
1525
|
-
function R(
|
|
1526
|
-
return W(
|
|
1525
|
+
function R(Z) {
|
|
1526
|
+
return W(Z) === p;
|
|
1527
1527
|
}
|
|
1528
|
-
function G(
|
|
1529
|
-
return W(
|
|
1528
|
+
function G(Z) {
|
|
1529
|
+
return W(Z) === h;
|
|
1530
1530
|
}
|
|
1531
|
-
function X(
|
|
1532
|
-
return W(
|
|
1531
|
+
function X(Z) {
|
|
1532
|
+
return W(Z) === r;
|
|
1533
1533
|
}
|
|
1534
|
-
function ee(
|
|
1535
|
-
return W(
|
|
1534
|
+
function ee(Z) {
|
|
1535
|
+
return W(Z) === i;
|
|
1536
1536
|
}
|
|
1537
|
-
function P(
|
|
1538
|
-
return W(
|
|
1537
|
+
function P(Z) {
|
|
1538
|
+
return W(Z) === o;
|
|
1539
1539
|
}
|
|
1540
|
-
function
|
|
1541
|
-
return W(
|
|
1540
|
+
function k(Z) {
|
|
1541
|
+
return W(Z) === m;
|
|
1542
1542
|
}
|
|
1543
|
-
Ae.AsyncMode = b, Ae.ConcurrentMode = V, Ae.ContextConsumer = F, Ae.ContextProvider = B, Ae.Element = se, Ae.ForwardRef = le, Ae.Fragment = ue, Ae.Lazy = _, Ae.Memo =
|
|
1543
|
+
Ae.AsyncMode = b, Ae.ConcurrentMode = V, Ae.ContextConsumer = F, Ae.ContextProvider = B, Ae.Element = se, Ae.ForwardRef = le, Ae.Fragment = ue, Ae.Lazy = _, Ae.Memo = j, Ae.Portal = C, Ae.Profiler = M, Ae.StrictMode = S, Ae.Suspense = f, Ae.isAsyncMode = Y, Ae.isConcurrentMode = v, Ae.isContextConsumer = x, Ae.isContextProvider = N, Ae.isElement = D, Ae.isForwardRef = z, Ae.isFragment = Q, Ae.isLazy = R, Ae.isMemo = G, Ae.isPortal = X, Ae.isProfiler = ee, Ae.isStrictMode = P, Ae.isSuspense = k, Ae.isValidElementType = J, Ae.typeOf = W;
|
|
1544
1544
|
}()), Ae;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Mn;
|
|
@@ -1695,7 +1695,7 @@ function Ui() {
|
|
|
1695
1695
|
object: K("object"),
|
|
1696
1696
|
string: K("string"),
|
|
1697
1697
|
symbol: K("symbol"),
|
|
1698
|
-
any:
|
|
1698
|
+
any: E(),
|
|
1699
1699
|
arrayOf: J,
|
|
1700
1700
|
element: W(),
|
|
1701
1701
|
elementType: b(),
|
|
@@ -1705,7 +1705,7 @@ function Ui() {
|
|
|
1705
1705
|
oneOf: F,
|
|
1706
1706
|
oneOfType: se,
|
|
1707
1707
|
shape: _,
|
|
1708
|
-
exact:
|
|
1708
|
+
exact: j
|
|
1709
1709
|
};
|
|
1710
1710
|
function p(v, x) {
|
|
1711
1711
|
return v === x ? v !== 0 || 1 / v === 1 / x : v !== v && x !== x;
|
|
@@ -1714,16 +1714,16 @@ function Ui() {
|
|
|
1714
1714
|
this.message = v, this.data = x && typeof x == "object" ? x : {}, this.stack = "";
|
|
1715
1715
|
}
|
|
1716
1716
|
q.prototype = Error.prototype;
|
|
1717
|
-
function
|
|
1717
|
+
function I(v) {
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production")
|
|
1719
1719
|
var x = {}, N = 0;
|
|
1720
|
-
function D(Q, R, G, X, ee, P,
|
|
1721
|
-
if (X = X || g, P = P || G,
|
|
1720
|
+
function D(Q, R, G, X, ee, P, k) {
|
|
1721
|
+
if (X = X || g, P = P || G, k !== r) {
|
|
1722
1722
|
if (c) {
|
|
1723
|
-
var
|
|
1723
|
+
var Z = new Error(
|
|
1724
1724
|
"Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
|
|
1725
1725
|
);
|
|
1726
|
-
throw
|
|
1726
|
+
throw Z.name = "Invariant Violation", Z;
|
|
1727
1727
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1728
1728
|
var ie = X + ":" + G;
|
|
1729
1729
|
!x[ie] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
@@ -1734,109 +1734,109 @@ function Ui() {
|
|
|
1734
1734
|
}
|
|
1735
1735
|
return R[G] == null ? Q ? R[G] === null ? new q("The " + ee + " `" + P + "` is marked as required " + ("in `" + X + "`, but its value is `null`.")) : new q("The " + ee + " `" + P + "` is marked as required in " + ("`" + X + "`, but its value is `undefined`.")) : null : v(R, G, X, ee, P);
|
|
1736
1736
|
}
|
|
1737
|
-
var
|
|
1738
|
-
return
|
|
1737
|
+
var z = D.bind(null, !1);
|
|
1738
|
+
return z.isRequired = D.bind(null, !0), z;
|
|
1739
1739
|
}
|
|
1740
1740
|
function K(v) {
|
|
1741
|
-
function x(N, D,
|
|
1742
|
-
var X = N[D], ee =
|
|
1741
|
+
function x(N, D, z, Q, R, G) {
|
|
1742
|
+
var X = N[D], ee = S(X);
|
|
1743
1743
|
if (ee !== v) {
|
|
1744
1744
|
var P = f(X);
|
|
1745
1745
|
return new q(
|
|
1746
|
-
"Invalid " + Q + " `" + R + "` of type " + ("`" + P + "` supplied to `" +
|
|
1746
|
+
"Invalid " + Q + " `" + R + "` of type " + ("`" + P + "` supplied to `" + z + "`, expected ") + ("`" + v + "`."),
|
|
1747
1747
|
{ expectedType: v }
|
|
1748
1748
|
);
|
|
1749
1749
|
}
|
|
1750
1750
|
return null;
|
|
1751
1751
|
}
|
|
1752
|
-
return
|
|
1752
|
+
return I(x);
|
|
1753
1753
|
}
|
|
1754
|
-
function
|
|
1755
|
-
return
|
|
1754
|
+
function E() {
|
|
1755
|
+
return I(a);
|
|
1756
1756
|
}
|
|
1757
1757
|
function J(v) {
|
|
1758
|
-
function x(N, D,
|
|
1758
|
+
function x(N, D, z, Q, R) {
|
|
1759
1759
|
if (typeof v != "function")
|
|
1760
|
-
return new q("Property `" + R + "` of component `" +
|
|
1760
|
+
return new q("Property `" + R + "` of component `" + z + "` has invalid PropType notation inside arrayOf.");
|
|
1761
1761
|
var G = N[D];
|
|
1762
1762
|
if (!Array.isArray(G)) {
|
|
1763
|
-
var X =
|
|
1764
|
-
return new q("Invalid " + Q + " `" + R + "` of type " + ("`" + X + "` supplied to `" +
|
|
1763
|
+
var X = S(G);
|
|
1764
|
+
return new q("Invalid " + Q + " `" + R + "` of type " + ("`" + X + "` supplied to `" + z + "`, expected an array."));
|
|
1765
1765
|
}
|
|
1766
1766
|
for (var ee = 0; ee < G.length; ee++) {
|
|
1767
|
-
var P = v(G, ee,
|
|
1767
|
+
var P = v(G, ee, z, Q, R + "[" + ee + "]", r);
|
|
1768
1768
|
if (P instanceof Error)
|
|
1769
1769
|
return P;
|
|
1770
1770
|
}
|
|
1771
1771
|
return null;
|
|
1772
1772
|
}
|
|
1773
|
-
return
|
|
1773
|
+
return I(x);
|
|
1774
1774
|
}
|
|
1775
1775
|
function W() {
|
|
1776
|
-
function v(x, N, D,
|
|
1776
|
+
function v(x, N, D, z, Q) {
|
|
1777
1777
|
var R = x[N];
|
|
1778
1778
|
if (!A(R)) {
|
|
1779
|
-
var G =
|
|
1780
|
-
return new q("Invalid " +
|
|
1779
|
+
var G = S(R);
|
|
1780
|
+
return new q("Invalid " + z + " `" + Q + "` of type " + ("`" + G + "` supplied to `" + D + "`, expected a single ReactElement."));
|
|
1781
1781
|
}
|
|
1782
1782
|
return null;
|
|
1783
1783
|
}
|
|
1784
|
-
return
|
|
1784
|
+
return I(v);
|
|
1785
1785
|
}
|
|
1786
1786
|
function b() {
|
|
1787
|
-
function v(x, N, D,
|
|
1787
|
+
function v(x, N, D, z, Q) {
|
|
1788
1788
|
var R = x[N];
|
|
1789
1789
|
if (!e.isValidElementType(R)) {
|
|
1790
|
-
var G =
|
|
1791
|
-
return new q("Invalid " +
|
|
1790
|
+
var G = S(R);
|
|
1791
|
+
return new q("Invalid " + z + " `" + Q + "` of type " + ("`" + G + "` supplied to `" + D + "`, expected a single ReactElement type."));
|
|
1792
1792
|
}
|
|
1793
1793
|
return null;
|
|
1794
1794
|
}
|
|
1795
|
-
return
|
|
1795
|
+
return I(v);
|
|
1796
1796
|
}
|
|
1797
1797
|
function V(v) {
|
|
1798
|
-
function x(N, D,
|
|
1798
|
+
function x(N, D, z, Q, R) {
|
|
1799
1799
|
if (!(N[D] instanceof v)) {
|
|
1800
|
-
var G = v.name || g, X =
|
|
1801
|
-
return new q("Invalid " + Q + " `" + R + "` of type " + ("`" + X + "` supplied to `" +
|
|
1800
|
+
var G = v.name || g, X = Y(N[D]);
|
|
1801
|
+
return new q("Invalid " + Q + " `" + R + "` of type " + ("`" + X + "` supplied to `" + z + "`, expected ") + ("instance of `" + G + "`."));
|
|
1802
1802
|
}
|
|
1803
1803
|
return null;
|
|
1804
1804
|
}
|
|
1805
|
-
return
|
|
1805
|
+
return I(x);
|
|
1806
1806
|
}
|
|
1807
1807
|
function F(v) {
|
|
1808
1808
|
if (!Array.isArray(v))
|
|
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 x(N, D,
|
|
1812
|
+
function x(N, D, z, Q, R) {
|
|
1813
1813
|
for (var G = N[D], X = 0; X < v.length; X++)
|
|
1814
1814
|
if (p(G, v[X]))
|
|
1815
1815
|
return null;
|
|
1816
|
-
var ee = JSON.stringify(v, function(
|
|
1817
|
-
var ie = f(
|
|
1818
|
-
return ie === "symbol" ? String(
|
|
1816
|
+
var ee = JSON.stringify(v, function(k, Z) {
|
|
1817
|
+
var ie = f(Z);
|
|
1818
|
+
return ie === "symbol" ? String(Z) : Z;
|
|
1819
1819
|
});
|
|
1820
|
-
return new q("Invalid " + Q + " `" + R + "` of value `" + String(G) + "` " + ("supplied to `" +
|
|
1820
|
+
return new q("Invalid " + Q + " `" + R + "` of value `" + String(G) + "` " + ("supplied to `" + z + "`, expected one of " + ee + "."));
|
|
1821
1821
|
}
|
|
1822
|
-
return
|
|
1822
|
+
return I(x);
|
|
1823
1823
|
}
|
|
1824
1824
|
function B(v) {
|
|
1825
|
-
function x(N, D,
|
|
1825
|
+
function x(N, D, z, Q, R) {
|
|
1826
1826
|
if (typeof v != "function")
|
|
1827
|
-
return new q("Property `" + R + "` of component `" +
|
|
1828
|
-
var G = N[D], X =
|
|
1827
|
+
return new q("Property `" + R + "` of component `" + z + "` has invalid PropType notation inside objectOf.");
|
|
1828
|
+
var G = N[D], X = S(G);
|
|
1829
1829
|
if (X !== "object")
|
|
1830
|
-
return new q("Invalid " + Q + " `" + R + "` of type " + ("`" + X + "` supplied to `" +
|
|
1830
|
+
return new q("Invalid " + Q + " `" + R + "` of type " + ("`" + X + "` supplied to `" + z + "`, expected an object."));
|
|
1831
1831
|
for (var ee in G)
|
|
1832
1832
|
if (n(G, ee)) {
|
|
1833
|
-
var P = v(G, ee,
|
|
1833
|
+
var P = v(G, ee, z, Q, R + "." + ee, r);
|
|
1834
1834
|
if (P instanceof Error)
|
|
1835
1835
|
return P;
|
|
1836
1836
|
}
|
|
1837
1837
|
return null;
|
|
1838
1838
|
}
|
|
1839
|
-
return
|
|
1839
|
+
return I(x);
|
|
1840
1840
|
}
|
|
1841
1841
|
function se(v) {
|
|
1842
1842
|
if (!Array.isArray(v))
|
|
@@ -1845,73 +1845,73 @@ function Ui() {
|
|
|
1845
1845
|
var N = v[x];
|
|
1846
1846
|
if (typeof N != "function")
|
|
1847
1847
|
return i(
|
|
1848
|
-
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " +
|
|
1848
|
+
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + L(N) + " at index " + x + "."
|
|
1849
1849
|
), a;
|
|
1850
1850
|
}
|
|
1851
|
-
function D(
|
|
1851
|
+
function D(z, Q, R, G, X) {
|
|
1852
1852
|
for (var ee = [], P = 0; P < v.length; P++) {
|
|
1853
|
-
var
|
|
1854
|
-
if (
|
|
1853
|
+
var k = v[P], Z = k(z, Q, R, G, X, r);
|
|
1854
|
+
if (Z == null)
|
|
1855
1855
|
return null;
|
|
1856
|
-
|
|
1856
|
+
Z.data && n(Z.data, "expectedType") && ee.push(Z.data.expectedType);
|
|
1857
1857
|
}
|
|
1858
1858
|
var ie = ee.length > 0 ? ", expected one of type [" + ee.join(", ") + "]" : "";
|
|
1859
1859
|
return new q("Invalid " + G + " `" + X + "` supplied to " + ("`" + R + "`" + ie + "."));
|
|
1860
1860
|
}
|
|
1861
|
-
return
|
|
1861
|
+
return I(D);
|
|
1862
1862
|
}
|
|
1863
1863
|
function le() {
|
|
1864
|
-
function v(x, N, D,
|
|
1865
|
-
return
|
|
1864
|
+
function v(x, N, D, z, Q) {
|
|
1865
|
+
return C(x[N]) ? null : new q("Invalid " + z + " `" + Q + "` supplied to " + ("`" + D + "`, expected a ReactNode."));
|
|
1866
1866
|
}
|
|
1867
|
-
return
|
|
1867
|
+
return I(v);
|
|
1868
1868
|
}
|
|
1869
|
-
function ue(v, x, N, D,
|
|
1869
|
+
function ue(v, x, N, D, z) {
|
|
1870
1870
|
return new q(
|
|
1871
|
-
(v || "React class") + ": " + x + " type `" + N + "." + D + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" +
|
|
1871
|
+
(v || "React class") + ": " + x + " type `" + N + "." + D + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + z + "`."
|
|
1872
1872
|
);
|
|
1873
1873
|
}
|
|
1874
1874
|
function _(v) {
|
|
1875
|
-
function x(N, D,
|
|
1876
|
-
var G = N[D], X =
|
|
1875
|
+
function x(N, D, z, Q, R) {
|
|
1876
|
+
var G = N[D], X = S(G);
|
|
1877
1877
|
if (X !== "object")
|
|
1878
|
-
return new q("Invalid " + Q + " `" + R + "` of type `" + X + "` " + ("supplied to `" +
|
|
1878
|
+
return new q("Invalid " + Q + " `" + R + "` of type `" + X + "` " + ("supplied to `" + z + "`, expected `object`."));
|
|
1879
1879
|
for (var ee in v) {
|
|
1880
1880
|
var P = v[ee];
|
|
1881
1881
|
if (typeof P != "function")
|
|
1882
|
-
return ue(
|
|
1883
|
-
var
|
|
1884
|
-
if (
|
|
1885
|
-
return
|
|
1882
|
+
return ue(z, Q, R, ee, f(P));
|
|
1883
|
+
var k = P(G, ee, z, Q, R + "." + ee, r);
|
|
1884
|
+
if (k)
|
|
1885
|
+
return k;
|
|
1886
1886
|
}
|
|
1887
1887
|
return null;
|
|
1888
1888
|
}
|
|
1889
|
-
return
|
|
1889
|
+
return I(x);
|
|
1890
1890
|
}
|
|
1891
|
-
function
|
|
1892
|
-
function x(N, D,
|
|
1893
|
-
var G = N[D], X =
|
|
1891
|
+
function j(v) {
|
|
1892
|
+
function x(N, D, z, Q, R) {
|
|
1893
|
+
var G = N[D], X = S(G);
|
|
1894
1894
|
if (X !== "object")
|
|
1895
|
-
return new q("Invalid " + Q + " `" + R + "` of type `" + X + "` " + ("supplied to `" +
|
|
1895
|
+
return new q("Invalid " + Q + " `" + R + "` of type `" + X + "` " + ("supplied to `" + z + "`, expected `object`."));
|
|
1896
1896
|
var ee = t({}, N[D], v);
|
|
1897
1897
|
for (var P in ee) {
|
|
1898
|
-
var
|
|
1899
|
-
if (n(v, P) && typeof
|
|
1900
|
-
return ue(
|
|
1901
|
-
if (!
|
|
1898
|
+
var k = v[P];
|
|
1899
|
+
if (n(v, P) && typeof k != "function")
|
|
1900
|
+
return ue(z, Q, R, P, f(k));
|
|
1901
|
+
if (!k)
|
|
1902
1902
|
return new q(
|
|
1903
|
-
"Invalid " + Q + " `" + R + "` key `" + P + "` supplied to `" +
|
|
1903
|
+
"Invalid " + Q + " `" + R + "` key `" + P + "` supplied to `" + z + "`.\nBad object: " + JSON.stringify(N[D], null, " ") + `
|
|
1904
1904
|
Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
1905
1905
|
);
|
|
1906
|
-
var
|
|
1907
|
-
if (
|
|
1908
|
-
return
|
|
1906
|
+
var Z = k(G, P, z, Q, R + "." + P, r);
|
|
1907
|
+
if (Z)
|
|
1908
|
+
return Z;
|
|
1909
1909
|
}
|
|
1910
1910
|
return null;
|
|
1911
1911
|
}
|
|
1912
|
-
return
|
|
1912
|
+
return I(x);
|
|
1913
1913
|
}
|
|
1914
|
-
function
|
|
1914
|
+
function C(v) {
|
|
1915
1915
|
switch (typeof v) {
|
|
1916
1916
|
case "number":
|
|
1917
1917
|
case "string":
|
|
@@ -1921,7 +1921,7 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
1921
1921
|
return !v;
|
|
1922
1922
|
case "object":
|
|
1923
1923
|
if (Array.isArray(v))
|
|
1924
|
-
return v.every(
|
|
1924
|
+
return v.every(C);
|
|
1925
1925
|
if (v === null || A(v))
|
|
1926
1926
|
return !0;
|
|
1927
1927
|
var x = m(v);
|
|
@@ -1929,12 +1929,12 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
1929
1929
|
var N = x.call(v), D;
|
|
1930
1930
|
if (x !== v.entries) {
|
|
1931
1931
|
for (; !(D = N.next()).done; )
|
|
1932
|
-
if (!
|
|
1932
|
+
if (!C(D.value))
|
|
1933
1933
|
return !1;
|
|
1934
1934
|
} else
|
|
1935
1935
|
for (; !(D = N.next()).done; ) {
|
|
1936
|
-
var
|
|
1937
|
-
if (
|
|
1936
|
+
var z = D.value;
|
|
1937
|
+
if (z && !C(z[1]))
|
|
1938
1938
|
return !1;
|
|
1939
1939
|
}
|
|
1940
1940
|
} else
|
|
@@ -1944,17 +1944,17 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
1944
1944
|
return !1;
|
|
1945
1945
|
}
|
|
1946
1946
|
}
|
|
1947
|
-
function
|
|
1947
|
+
function M(v, x) {
|
|
1948
1948
|
return v === "symbol" ? !0 : x ? x["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && x instanceof Symbol : !1;
|
|
1949
1949
|
}
|
|
1950
|
-
function
|
|
1950
|
+
function S(v) {
|
|
1951
1951
|
var x = typeof v;
|
|
1952
|
-
return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" :
|
|
1952
|
+
return Array.isArray(v) ? "array" : v instanceof RegExp ? "object" : M(x, v) ? "symbol" : x;
|
|
1953
1953
|
}
|
|
1954
1954
|
function f(v) {
|
|
1955
1955
|
if (typeof v > "u" || v === null)
|
|
1956
1956
|
return "" + v;
|
|
1957
|
-
var x =
|
|
1957
|
+
var x = S(v);
|
|
1958
1958
|
if (x === "object") {
|
|
1959
1959
|
if (v instanceof Date)
|
|
1960
1960
|
return "date";
|
|
@@ -1963,7 +1963,7 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
1963
1963
|
}
|
|
1964
1964
|
return x;
|
|
1965
1965
|
}
|
|
1966
|
-
function
|
|
1966
|
+
function L(v) {
|
|
1967
1967
|
var x = f(v);
|
|
1968
1968
|
switch (x) {
|
|
1969
1969
|
case "array":
|
|
@@ -1977,7 +1977,7 @@ Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
|
1977
1977
|
return x;
|
|
1978
1978
|
}
|
|
1979
1979
|
}
|
|
1980
|
-
function
|
|
1980
|
+
function Y(v) {
|
|
1981
1981
|
return !v.constructor || !v.constructor.name ? g : v.constructor.name;
|
|
1982
1982
|
}
|
|
1983
1983
|
return h.checkPropTypes = o, h.resetWarningCache = o.resetWarningCache, h.PropTypes = h, h;
|
|
@@ -2486,8 +2486,8 @@ function ur(e, t, r) {
|
|
|
2486
2486
|
metaTokens: !0,
|
|
2487
2487
|
dots: !1,
|
|
2488
2488
|
indexes: !1
|
|
2489
|
-
}, !1, function(q,
|
|
2490
|
-
return !y.isUndefined(
|
|
2489
|
+
}, !1, function(q, I) {
|
|
2490
|
+
return !y.isUndefined(I[q]);
|
|
2491
2491
|
});
|
|
2492
2492
|
const n = r.metaTokens, o = r.visitor || s, i = r.dots, a = r.indexes, c = (r.Blob || typeof Blob < "u" && Blob) && y.isSpecCompliantForm(t);
|
|
2493
2493
|
if (!y.isFunction(o))
|
|
@@ -2501,9 +2501,9 @@ function ur(e, t, r) {
|
|
|
2501
2501
|
throw new re("Blob is not supported. Use a Buffer instead.");
|
|
2502
2502
|
return y.isArrayBuffer(p) || y.isTypedArray(p) ? c && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
|
|
2503
2503
|
}
|
|
2504
|
-
function s(p, q,
|
|
2504
|
+
function s(p, q, I) {
|
|
2505
2505
|
let K = p;
|
|
2506
|
-
if (p && !
|
|
2506
|
+
if (p && !I && typeof p == "object") {
|
|
2507
2507
|
if (y.endsWith(q, "{}"))
|
|
2508
2508
|
q = n ? q : q.slice(0, -2), p = JSON.stringify(p);
|
|
2509
2509
|
else if (y.isArray(p) && $a(p) || (y.isFileList(p) || y.endsWith(q, "[]")) && (K = y.toArray(p)))
|
|
@@ -2515,7 +2515,7 @@ function ur(e, t, r) {
|
|
|
2515
2515
|
);
|
|
2516
2516
|
}), !1;
|
|
2517
2517
|
}
|
|
2518
|
-
return Dr(p) ? !0 : (t.append(Jn(
|
|
2518
|
+
return Dr(p) ? !0 : (t.append(Jn(I, q, i), d(p)), !1);
|
|
2519
2519
|
}
|
|
2520
2520
|
const m = [], g = Object.assign(eA, {
|
|
2521
2521
|
defaultVisitor: s,
|
|
@@ -2526,14 +2526,14 @@ function ur(e, t, r) {
|
|
|
2526
2526
|
if (!y.isUndefined(p)) {
|
|
2527
2527
|
if (m.indexOf(p) !== -1)
|
|
2528
2528
|
throw Error("Circular reference detected in " + q.join("."));
|
|
2529
|
-
m.push(p), y.forEach(p, function(K,
|
|
2529
|
+
m.push(p), y.forEach(p, function(K, E) {
|
|
2530
2530
|
(!(y.isUndefined(K) || K === null) && o.call(
|
|
2531
2531
|
t,
|
|
2532
2532
|
K,
|
|
2533
|
-
y.isString(
|
|
2533
|
+
y.isString(E) ? E.trim() : E,
|
|
2534
2534
|
q,
|
|
2535
2535
|
g
|
|
2536
|
-
)) === !0 && h(K, q ? q.concat(
|
|
2536
|
+
)) === !0 && h(K, q ? q.concat(E) : [E]);
|
|
2537
2537
|
}), m.pop();
|
|
2538
2538
|
}
|
|
2539
2539
|
}
|
|
@@ -3110,7 +3110,7 @@ const wA = typeof XMLHttpRequest < "u", KA = wA && function(e) {
|
|
|
3110
3110
|
return;
|
|
3111
3111
|
const p = Be.from(
|
|
3112
3112
|
"getAllResponseHeaders" in s && s.getAllResponseHeaders()
|
|
3113
|
-
),
|
|
3113
|
+
), I = {
|
|
3114
3114
|
data: !a || a === "text" || a === "json" ? s.responseText : s.response,
|
|
3115
3115
|
status: s.status,
|
|
3116
3116
|
statusText: s.statusText,
|
|
@@ -3118,11 +3118,11 @@ const wA = typeof XMLHttpRequest < "u", KA = wA && function(e) {
|
|
|
3118
3118
|
config: e,
|
|
3119
3119
|
request: s
|
|
3120
3120
|
};
|
|
3121
|
-
gA(function(
|
|
3122
|
-
r(
|
|
3123
|
-
}, function(
|
|
3124
|
-
n(
|
|
3125
|
-
},
|
|
3121
|
+
gA(function(E) {
|
|
3122
|
+
r(E), c();
|
|
3123
|
+
}, function(E) {
|
|
3124
|
+
n(E), c();
|
|
3125
|
+
}, I), s = null;
|
|
3126
3126
|
}
|
|
3127
3127
|
if ("onloadend" in s ? s.onloadend = g : s.onreadystatechange = function() {
|
|
3128
3128
|
!s || s.readyState !== 4 || s.status === 0 && !(s.responseURL && s.responseURL.indexOf("file:") === 0) || setTimeout(g);
|
|
@@ -3132,10 +3132,10 @@ const wA = typeof XMLHttpRequest < "u", KA = wA && function(e) {
|
|
|
3132
3132
|
n(new re("Network Error", re.ERR_NETWORK, e, s)), s = null;
|
|
3133
3133
|
}, s.ontimeout = function() {
|
|
3134
3134
|
let q = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
|
|
3135
|
-
const
|
|
3135
|
+
const I = e.transitional || zo;
|
|
3136
3136
|
e.timeoutErrorMessage && (q = e.timeoutErrorMessage), n(new re(
|
|
3137
3137
|
q,
|
|
3138
|
-
|
|
3138
|
+
I.clarifyTimeoutError ? re.ETIMEDOUT : re.ECONNABORTED,
|
|
3139
3139
|
e,
|
|
3140
3140
|
s
|
|
3141
3141
|
)), s = null;
|
|
@@ -3143,8 +3143,8 @@ const wA = typeof XMLHttpRequest < "u", KA = wA && function(e) {
|
|
|
3143
3143
|
const p = CA(m) && e.xsrfCookieName && vA.read(e.xsrfCookieName);
|
|
3144
3144
|
p && i.set(e.xsrfHeaderName, p);
|
|
3145
3145
|
}
|
|
3146
|
-
o === void 0 && i.setContentType(null), "setRequestHeader" in s && y.forEach(i.toJSON(), function(q,
|
|
3147
|
-
s.setRequestHeader(
|
|
3146
|
+
o === void 0 && i.setContentType(null), "setRequestHeader" in s && y.forEach(i.toJSON(), function(q, I) {
|
|
3147
|
+
s.setRequestHeader(I, q);
|
|
3148
3148
|
}), y.isUndefined(e.withCredentials) || (s.withCredentials = !!e.withCredentials), a && a !== "json" && (s.responseType = e.responseType), typeof e.onDownloadProgress == "function" && s.addEventListener("progress", Gn(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && s.upload && s.upload.addEventListener("progress", Gn(e.onUploadProgress)), (e.cancelToken || e.signal) && (A = (p) => {
|
|
3149
3149
|
s && (n(!p || p.type ? new Jt(null, e, s) : p), s.abort(), s = null);
|
|
3150
3150
|
}, e.cancelToken && e.cancelToken.subscribe(A), e.signal && (e.signal.aborted ? A() : e.signal.addEventListener("abort", A)));
|
|
@@ -3393,8 +3393,8 @@ class Ft {
|
|
|
3393
3393
|
const p = A[m++], q = A[m++];
|
|
3394
3394
|
try {
|
|
3395
3395
|
h = p(h);
|
|
3396
|
-
} catch (
|
|
3397
|
-
q.call(this,
|
|
3396
|
+
} catch (I) {
|
|
3397
|
+
q.call(this, I);
|
|
3398
3398
|
break;
|
|
3399
3399
|
}
|
|
3400
3400
|
}
|
|
@@ -3681,13 +3681,13 @@ function Tr(e, t) {
|
|
|
3681
3681
|
Tr({ read: Vn.decodeValue, write: Vn.encodeValue }, ln);
|
|
3682
3682
|
let Po;
|
|
3683
3683
|
typeof window < "u" && (Po = Vo("token"));
|
|
3684
|
-
const
|
|
3684
|
+
const Ce = EA.create({
|
|
3685
3685
|
headers: {
|
|
3686
3686
|
Authorization: Po
|
|
3687
3687
|
}
|
|
3688
3688
|
});
|
|
3689
3689
|
async function Wt(e, t, r, n, o, i, a, A) {
|
|
3690
|
-
return (await
|
|
3690
|
+
return (await Ce.post(e + "/createPlayableVersionLink", {
|
|
3691
3691
|
_id: t,
|
|
3692
3692
|
nano: r,
|
|
3693
3693
|
network: n,
|
|
@@ -3731,15 +3731,15 @@ function dr(e) {
|
|
|
3731
3731
|
let { children: A, position: c, preventExitTransition: d, done: s, nodeRef: m, isIn: g } = a;
|
|
3732
3732
|
const h = n ? `${t}--${c}` : t, p = n ? `${r}--${c}` : r, q = it(0);
|
|
3733
3733
|
return Wi(() => {
|
|
3734
|
-
const
|
|
3735
|
-
J.target === m.current && (
|
|
3734
|
+
const I = m.current, K = h.split(" "), E = (J) => {
|
|
3735
|
+
J.target === m.current && (I.dispatchEvent(new Event("d")), I.removeEventListener("animationend", E), I.removeEventListener("animationcancel", E), q.current === 0 && J.type !== "animationcancel" && I.classList.remove(...K));
|
|
3736
3736
|
};
|
|
3737
|
-
|
|
3737
|
+
I.classList.add(...K), I.addEventListener("animationend", E), I.addEventListener("animationcancel", E);
|
|
3738
3738
|
}, []), xe(() => {
|
|
3739
|
-
const
|
|
3740
|
-
|
|
3739
|
+
const I = m.current, K = () => {
|
|
3740
|
+
I.removeEventListener("animationend", K), o ? jA(I, s, i) : s();
|
|
3741
3741
|
};
|
|
3742
|
-
g || (d ? K() : (q.current = 1,
|
|
3742
|
+
g || (d ? K() : (q.current = 1, I.className += ` ${p}`, I.addEventListener("animationend", K)));
|
|
3743
3743
|
}, [g]), oe.createElement(oe.Fragment, null, A);
|
|
3744
3744
|
};
|
|
3745
3745
|
}
|
|
@@ -3793,28 +3793,28 @@ function JA(e) {
|
|
|
3793
3793
|
g(h, p, q);
|
|
3794
3794
|
}
|
|
3795
3795
|
function m(h, p) {
|
|
3796
|
-
let { delay: q, staleId:
|
|
3796
|
+
let { delay: q, staleId: I, ...K } = p;
|
|
3797
3797
|
if (!Or(h) || function(_) {
|
|
3798
3798
|
return !o.current || A.props.enableMultiContainer && _.containerId !== A.props.containerId || i.has(_.toastId) && _.updateId == null;
|
|
3799
3799
|
}(K))
|
|
3800
3800
|
return;
|
|
3801
|
-
const { toastId:
|
|
3801
|
+
const { toastId: E, updateId: J, data: W } = K, { props: b } = A, V = () => d(E), F = J == null;
|
|
3802
3802
|
F && A.count++;
|
|
3803
3803
|
const B = { ...b, style: b.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(K).filter((_) => {
|
|
3804
|
-
let [
|
|
3805
|
-
return
|
|
3806
|
-
})), toastId:
|
|
3807
|
-
const _ = Pn(i.get(
|
|
3808
|
-
i.delete(
|
|
3809
|
-
const
|
|
3810
|
-
if (A.count =
|
|
3811
|
-
const
|
|
3812
|
-
if (
|
|
3804
|
+
let [j, C] = _;
|
|
3805
|
+
return C != null;
|
|
3806
|
+
})), toastId: E, updateId: J, data: W, closeToast: V, isIn: !1, className: Ut(K.className || b.toastClassName), bodyClassName: Ut(K.bodyClassName || b.bodyClassName), progressClassName: Ut(K.progressClassName || b.progressClassName), autoClose: !K.isLoading && (se = K.autoClose, le = b.autoClose, se === !1 || Mt(se) && se > 0 ? se : le), deleteToast() {
|
|
3807
|
+
const _ = Pn(i.get(E), "removed");
|
|
3808
|
+
i.delete(E), Ee.emit(4, _);
|
|
3809
|
+
const j = A.queue.length;
|
|
3810
|
+
if (A.count = E == null ? A.count - A.displayedToast : A.count - 1, A.count < 0 && (A.count = 0), j > 0) {
|
|
3811
|
+
const C = E == null ? A.props.limit : 1;
|
|
3812
|
+
if (j === 1 || C === 1)
|
|
3813
3813
|
A.displayedToast++, s();
|
|
3814
3814
|
else {
|
|
3815
|
-
const
|
|
3816
|
-
A.displayedToast =
|
|
3817
|
-
for (let
|
|
3815
|
+
const M = C > j ? j : C;
|
|
3816
|
+
A.displayedToast = M;
|
|
3817
|
+
for (let S = 0; S < M; S++)
|
|
3818
3818
|
s();
|
|
3819
3819
|
}
|
|
3820
3820
|
} else
|
|
@@ -3822,20 +3822,20 @@ function JA(e) {
|
|
|
3822
3822
|
} };
|
|
3823
3823
|
var se, le;
|
|
3824
3824
|
B.iconOut = function(_) {
|
|
3825
|
-
let { theme:
|
|
3826
|
-
const
|
|
3827
|
-
return
|
|
3825
|
+
let { theme: j, type: C, isLoading: M, icon: S } = _, f = null;
|
|
3826
|
+
const L = { theme: j, type: C };
|
|
3827
|
+
return S === !1 || (Ke(S) ? f = S(L) : ft(S) ? f = Yr(S, L) : lt(S) || Mt(S) ? f = S : M ? f = Lr.spinner() : ((Y) => Y in Lr)(C) && (f = Lr[C](L))), f;
|
|
3828
3828
|
}(B), Ke(K.onOpen) && (B.onOpen = K.onOpen), Ke(K.onClose) && (B.onClose = K.onClose), B.closeButton = b.closeButton, K.closeButton === !1 || Or(K.closeButton) ? B.closeButton = K.closeButton : K.closeButton === !0 && (B.closeButton = !Or(b.closeButton) || b.closeButton);
|
|
3829
3829
|
let ue = h;
|
|
3830
|
-
ft(h) && !lt(h.type) ? ue = Yr(h, { closeToast: V, toastProps: B, data: W }) : Ke(h) && (ue = h({ closeToast: V, toastProps: B, data: W })), b.limit && b.limit > 0 && A.count > b.limit && F ? A.queue.push({ toastContent: ue, toastProps: B, staleId:
|
|
3831
|
-
g(ue, B,
|
|
3832
|
-
}, q) : g(ue, B,
|
|
3830
|
+
ft(h) && !lt(h.type) ? ue = Yr(h, { closeToast: V, toastProps: B, data: W }) : Ke(h) && (ue = h({ closeToast: V, toastProps: B, data: W })), b.limit && b.limit > 0 && A.count > b.limit && F ? A.queue.push({ toastContent: ue, toastProps: B, staleId: I }) : Mt(q) ? setTimeout(() => {
|
|
3831
|
+
g(ue, B, I);
|
|
3832
|
+
}, q) : g(ue, B, I);
|
|
3833
3833
|
}
|
|
3834
3834
|
function g(h, p, q) {
|
|
3835
|
-
const { toastId:
|
|
3835
|
+
const { toastId: I } = p;
|
|
3836
3836
|
q && i.delete(q);
|
|
3837
3837
|
const K = { content: h, props: p };
|
|
3838
|
-
i.set(
|
|
3838
|
+
i.set(I, K), n((E) => [...E, I].filter((J) => J !== q)), Ee.emit(4, Pn(K, K.props.updateId == null ? "added" : "updated"));
|
|
3839
3839
|
}
|
|
3840
3840
|
return xe(() => (A.containerId = e.containerId, Ee.cancelEmit(3).on(0, m).on(1, (h) => o.current && d(h)).on(5, c).emit(2, A), () => {
|
|
3841
3841
|
i.clear(), Ee.emit(3, A);
|
|
@@ -3843,10 +3843,10 @@ function JA(e) {
|
|
|
3843
3843
|
A.props = e, A.isToastActive = a, A.displayedToast = r.length;
|
|
3844
3844
|
}), { getToastToRender: function(h) {
|
|
3845
3845
|
const p = /* @__PURE__ */ new Map(), q = Array.from(i.values());
|
|
3846
|
-
return e.newestOnTop && q.reverse(), q.forEach((
|
|
3847
|
-
const { position: K } =
|
|
3848
|
-
p.has(K) || p.set(K, []), p.get(K).push(
|
|
3849
|
-
}), Array.from(p, (
|
|
3846
|
+
return e.newestOnTop && q.reverse(), q.forEach((I) => {
|
|
3847
|
+
const { position: K } = I.props;
|
|
3848
|
+
p.has(K) || p.set(K, []), p.get(K).push(I);
|
|
3849
|
+
}), Array.from(p, (I) => h(I[0], I[1]));
|
|
3850
3850
|
}, containerRef: o, isToastActive: a };
|
|
3851
3851
|
}
|
|
3852
3852
|
function Bn(e) {
|
|
@@ -3859,7 +3859,7 @@ function DA(e) {
|
|
|
3859
3859
|
const [t, r] = U(!1), [n, o] = U(!1), i = it(null), a = it({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, A = it(e), { autoClose: c, pauseOnHover: d, closeToast: s, onClick: m, closeOnClick: g } = e;
|
|
3860
3860
|
function h(W) {
|
|
3861
3861
|
if (e.draggable) {
|
|
3862
|
-
W.nativeEvent.type === "touchstart" && W.nativeEvent.preventDefault(), a.didMove = !1, document.addEventListener("mousemove", K), document.addEventListener("mouseup",
|
|
3862
|
+
W.nativeEvent.type === "touchstart" && W.nativeEvent.preventDefault(), a.didMove = !1, document.addEventListener("mousemove", K), document.addEventListener("mouseup", E), document.addEventListener("touchmove", K), document.addEventListener("touchend", E);
|
|
3863
3863
|
const b = i.current;
|
|
3864
3864
|
a.canCloseOnClick = !0, a.canDrag = !0, a.boundingRect = b.getBoundingClientRect(), b.style.transition = "", a.x = Bn(W.nativeEvent), a.y = Un(W.nativeEvent), e.draggableDirection === "x" ? (a.start = a.x, a.removalDistance = b.offsetWidth * (e.draggablePercent / 100)) : (a.start = a.y, a.removalDistance = b.offsetHeight * (e.draggablePercent === 80 ? 1.5 * e.draggablePercent : e.draggablePercent / 100));
|
|
3865
3865
|
}
|
|
@@ -3867,21 +3867,21 @@ function DA(e) {
|
|
|
3867
3867
|
function p(W) {
|
|
3868
3868
|
if (a.boundingRect) {
|
|
3869
3869
|
const { top: b, bottom: V, left: F, right: B } = a.boundingRect;
|
|
3870
|
-
W.nativeEvent.type !== "touchend" && e.pauseOnHover && a.x >= F && a.x <= B && a.y >= b && a.y <= V ?
|
|
3870
|
+
W.nativeEvent.type !== "touchend" && e.pauseOnHover && a.x >= F && a.x <= B && a.y >= b && a.y <= V ? I() : q();
|
|
3871
3871
|
}
|
|
3872
3872
|
}
|
|
3873
3873
|
function q() {
|
|
3874
3874
|
r(!0);
|
|
3875
3875
|
}
|
|
3876
|
-
function
|
|
3876
|
+
function I() {
|
|
3877
3877
|
r(!1);
|
|
3878
3878
|
}
|
|
3879
3879
|
function K(W) {
|
|
3880
3880
|
const b = i.current;
|
|
3881
|
-
a.canDrag && b && (a.didMove = !0, t &&
|
|
3881
|
+
a.canDrag && b && (a.didMove = !0, t && I(), a.x = Bn(W), a.y = Un(W), a.delta = e.draggableDirection === "x" ? a.x - a.start : a.y - a.start, a.start !== a.x && (a.canCloseOnClick = !1), b.style.transform = `translate${e.draggableDirection}(${a.delta}px)`, b.style.opacity = "" + (1 - Math.abs(a.delta / a.removalDistance)));
|
|
3882
3882
|
}
|
|
3883
|
-
function
|
|
3884
|
-
document.removeEventListener("mousemove", K), document.removeEventListener("mouseup",
|
|
3883
|
+
function E() {
|
|
3884
|
+
document.removeEventListener("mousemove", K), document.removeEventListener("mouseup", E), document.removeEventListener("touchmove", K), document.removeEventListener("touchend", E);
|
|
3885
3885
|
const W = i.current;
|
|
3886
3886
|
if (a.canDrag && a.didMove && W) {
|
|
3887
3887
|
if (a.canDrag = !1, Math.abs(a.delta) > a.removalDistance)
|
|
@@ -3894,13 +3894,13 @@ function DA(e) {
|
|
|
3894
3894
|
}), xe(() => (i.current && i.current.addEventListener("d", q, { once: !0 }), Ke(e.onOpen) && e.onOpen(ft(e.children) && e.children.props), () => {
|
|
3895
3895
|
const W = A.current;
|
|
3896
3896
|
Ke(W.onClose) && W.onClose(ft(W.children) && W.children.props);
|
|
3897
|
-
}), []), xe(() => (e.pauseOnFocusLoss && (document.hasFocus() ||
|
|
3898
|
-
e.pauseOnFocusLoss && (window.removeEventListener("focus", q), window.removeEventListener("blur",
|
|
3897
|
+
}), []), xe(() => (e.pauseOnFocusLoss && (document.hasFocus() || I(), window.addEventListener("focus", q), window.addEventListener("blur", I)), () => {
|
|
3898
|
+
e.pauseOnFocusLoss && (window.removeEventListener("focus", q), window.removeEventListener("blur", I));
|
|
3899
3899
|
}), [e.pauseOnFocusLoss]);
|
|
3900
3900
|
const J = { onMouseDown: h, onTouchStart: h, onMouseUp: p, onTouchEnd: p };
|
|
3901
|
-
return c && d && (J.onMouseEnter =
|
|
3901
|
+
return c && d && (J.onMouseEnter = I, J.onMouseLeave = q), g && (J.onClick = (W) => {
|
|
3902
3902
|
m && m(W), a.canCloseOnClick && s();
|
|
3903
|
-
}), { playToast: q, pauseToast:
|
|
3903
|
+
}), { playToast: q, pauseToast: I, isRunning: t, preventExitTransition: n, toastRef: i, eventHandlers: J };
|
|
3904
3904
|
}
|
|
3905
3905
|
function Uo(e) {
|
|
3906
3906
|
let { closeToast: t, theme: r, ariaLabel: n = "close" } = e;
|
|
@@ -3912,15 +3912,15 @@ function NA(e) {
|
|
|
3912
3912
|
let { delay: t, isRunning: r, closeToast: n, type: o = "default", hide: i, className: a, style: A, controlledProgress: c, progress: d, rtl: s, isIn: m, theme: g } = e;
|
|
3913
3913
|
const h = i || c && d === 0, p = { ...A, animationDuration: `${t}ms`, animationPlayState: r ? "running" : "paused", opacity: h ? 0 : 1 };
|
|
3914
3914
|
c && (p.transform = `scaleX(${d})`);
|
|
3915
|
-
const q = _e("Toastify__progress-bar", c ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${g}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": s }),
|
|
3916
|
-
return oe.createElement("div", { role: "progressbar", "aria-hidden": h ? "true" : "false", "aria-label": "notification timer", className:
|
|
3915
|
+
const q = _e("Toastify__progress-bar", c ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${g}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": s }), I = Ke(a) ? a({ rtl: s, type: o, defaultClassName: q }) : _e(q, a);
|
|
3916
|
+
return oe.createElement("div", { role: "progressbar", "aria-hidden": h ? "true" : "false", "aria-label": "notification timer", className: I, style: p, [c && d >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: c && d < 1 ? null : () => {
|
|
3917
3917
|
m && n();
|
|
3918
3918
|
} });
|
|
3919
3919
|
}
|
|
3920
3920
|
const RA = (e) => {
|
|
3921
|
-
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: o } = DA(e), { closeButton: i, children: a, autoClose: A, onClick: c, type: d, hideProgressBar: s, closeToast: m, transition: g, position: h, className: p, style: q, bodyClassName:
|
|
3922
|
-
let
|
|
3923
|
-
return i === !1 || (
|
|
3921
|
+
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: o } = DA(e), { closeButton: i, children: a, autoClose: A, onClick: c, type: d, hideProgressBar: s, closeToast: m, transition: g, position: h, className: p, style: q, bodyClassName: I, bodyStyle: K, progressClassName: E, progressStyle: J, updateId: W, role: b, progress: V, rtl: F, toastId: B, deleteToast: se, isIn: le, isLoading: ue, iconOut: _, closeOnClick: j, theme: C } = e, M = _e("Toastify__toast", `Toastify__toast-theme--${C}`, `Toastify__toast--${d}`, { "Toastify__toast--rtl": F }, { "Toastify__toast--close-on-click": j }), S = Ke(p) ? p({ rtl: F, position: h, type: d, defaultClassName: M }) : _e(M, p), f = !!V || !A, L = { closeToast: m, type: d, theme: C };
|
|
3922
|
+
let Y = null;
|
|
3923
|
+
return i === !1 || (Y = Ke(i) ? i(L) : ft(i) ? Yr(i, L) : Uo(L)), oe.createElement(g, { isIn: le, done: se, position: h, preventExitTransition: r, nodeRef: n }, oe.createElement("div", { id: B, onClick: c, className: S, ...o, style: q, ref: n }, oe.createElement("div", { ...le && { role: b }, className: Ke(I) ? I({ type: d }) : _e("Toastify__toast-body", I), style: K }, _ != null && oe.createElement("div", { className: _e("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ue }) }, _), oe.createElement("div", null, a)), Y, oe.createElement(NA, { ...W && !f ? { key: `pb-${W}` } : {}, rtl: F, theme: C, delay: A, isRunning: t, isIn: le, closeToast: m, hide: s, type: d, style: J, className: E, controlledProgress: f, progress: V || 0 })));
|
|
3924
3924
|
}, mr = function(e, t) {
|
|
3925
3925
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3926
3926
|
}, GA = dr(mr("bounce", !0));
|
|
@@ -3938,8 +3938,8 @@ const Hr = Ki((e, t) => {
|
|
|
3938
3938
|
}, []), oe.createElement("div", { ref: n, className: "Toastify", id: c }, r((s, m) => {
|
|
3939
3939
|
const g = m.length ? { ...a } : { ...a, pointerEvents: "none" };
|
|
3940
3940
|
return oe.createElement("div", { className: d(s), style: g, key: `container-${s}` }, m.map((h, p) => {
|
|
3941
|
-
let { content: q, props:
|
|
3942
|
-
return oe.createElement(RA, { ...
|
|
3941
|
+
let { content: q, props: I } = h;
|
|
3942
|
+
return oe.createElement(RA, { ...I, isIn: o(I.toastId), style: { ...I.style, "--nth": p + 1, "--len": m.length }, key: `toast-${I.key}` }, q);
|
|
3943
3943
|
}));
|
|
3944
3944
|
}));
|
|
3945
3945
|
});
|
|
@@ -4020,7 +4020,7 @@ function ke(e) {
|
|
|
4020
4020
|
});
|
|
4021
4021
|
}
|
|
4022
4022
|
async function $t(e, t) {
|
|
4023
|
-
return e.network == "fb" && (e.zip = 1), (await
|
|
4023
|
+
return e.network == "fb" && (e.zip = 1), (await Ce.post(t + "/createFlexVersionLink", e || {})).data;
|
|
4024
4024
|
}
|
|
4025
4025
|
function $e(e) {
|
|
4026
4026
|
const t = document.createElement("input");
|
|
@@ -4032,7 +4032,7 @@ function $e(e) {
|
|
|
4032
4032
|
}
|
|
4033
4033
|
}
|
|
4034
4034
|
async function er(e, t, r) {
|
|
4035
|
-
return (await
|
|
4035
|
+
return (await Ce.post(e + "/createImportedVersionLink", {
|
|
4036
4036
|
_id: t,
|
|
4037
4037
|
network: r
|
|
4038
4038
|
// zip,
|
|
@@ -4243,7 +4243,7 @@ const VA = ({ typeOfProduct: e }) => /* @__PURE__ */ u.jsxs(
|
|
|
4243
4243
|
}
|
|
4244
4244
|
);
|
|
4245
4245
|
async function PA(e, t) {
|
|
4246
|
-
return (await
|
|
4246
|
+
return (await Ce.post(t + "/buyRequest", {
|
|
4247
4247
|
requestType: e
|
|
4248
4248
|
})).data;
|
|
4249
4249
|
}
|
|
@@ -5007,7 +5007,7 @@ const rs = ({ typeOfProduct: e }) => /* @__PURE__ */ u.jsx(
|
|
|
5007
5007
|
}
|
|
5008
5008
|
);
|
|
5009
5009
|
async function _n(e, t, r) {
|
|
5010
|
-
return (await
|
|
5010
|
+
return (await Ce.post(r + "/updatePlayableVersion", {
|
|
5011
5011
|
...t,
|
|
5012
5012
|
_id: e
|
|
5013
5013
|
})).data;
|
|
@@ -5164,10 +5164,10 @@ const as = ({
|
|
|
5164
5164
|
}
|
|
5165
5165
|
);
|
|
5166
5166
|
async function $n(e, t) {
|
|
5167
|
-
return (await
|
|
5167
|
+
return (await Ce.post(t + "/updateFlexUrl", e || {})).data;
|
|
5168
5168
|
}
|
|
5169
5169
|
async function As(e, t, r, n) {
|
|
5170
|
-
return (await
|
|
5170
|
+
return (await Ce.post(e + "/createMolocoTestPage", {
|
|
5171
5171
|
_id: t,
|
|
5172
5172
|
network: r,
|
|
5173
5173
|
typeOfProduct: n
|
|
@@ -5201,13 +5201,13 @@ const Er = [
|
|
|
5201
5201
|
urls: h,
|
|
5202
5202
|
game: p,
|
|
5203
5203
|
setIsConfirmActive: q,
|
|
5204
|
-
downloadFlex:
|
|
5204
|
+
downloadFlex: I,
|
|
5205
5205
|
flexDownloadCount: K,
|
|
5206
|
-
disabled:
|
|
5206
|
+
disabled: E,
|
|
5207
5207
|
user: J,
|
|
5208
5208
|
setSafariCopyLink: W
|
|
5209
5209
|
}) => {
|
|
5210
|
-
const [b, V] = U(!1), [F, B] = U(es(5)), [se, le] = U(""), [ue, _] = U(!1), [
|
|
5210
|
+
const [b, V] = U(!1), [F, B] = U(es(5)), [se, le] = U(""), [ue, _] = U(!1), [j, C] = U(!1), [M, S] = U(!1), [f, L] = U("download"), [Y, v] = U(!1), [x, N] = U(!1);
|
|
5211
5211
|
U(!1);
|
|
5212
5212
|
let D = {
|
|
5213
5213
|
aarki: "html,copy",
|
|
@@ -5253,19 +5253,19 @@ const Er = [
|
|
|
5253
5253
|
adikteev: "html",
|
|
5254
5254
|
jammp: "copy,html"
|
|
5255
5255
|
};
|
|
5256
|
-
const
|
|
5256
|
+
const z = Er.includes("moloco") ? 1 : 0, Q = () => {
|
|
5257
5257
|
r(e);
|
|
5258
|
-
}, R = (
|
|
5259
|
-
fetch(
|
|
5258
|
+
}, R = (k, Z) => {
|
|
5259
|
+
fetch(k).then((ie) => ie.blob()).then((ie) => {
|
|
5260
5260
|
const we = window.URL.createObjectURL(ie), ve = document.createElement("a");
|
|
5261
|
-
ve.href = we, ve.download =
|
|
5261
|
+
ve.href = we, ve.download = Z.split("/").reduce((ze, Qe) => Qe, ""), document.body.appendChild(ve), ve.click(), window.URL.revokeObjectURL(we);
|
|
5262
5262
|
}).catch((ie) => {
|
|
5263
5263
|
console.error("Dosya alınamadı:", ie);
|
|
5264
5264
|
});
|
|
5265
|
-
}, G = async (
|
|
5265
|
+
}, G = async (k, Z, ie, we, ve, ze) => {
|
|
5266
5266
|
try {
|
|
5267
5267
|
V(!0);
|
|
5268
|
-
let Qe = (
|
|
5268
|
+
let Qe = (Ze) => {
|
|
5269
5269
|
if ([
|
|
5270
5270
|
"google",
|
|
5271
5271
|
"toutiao",
|
|
@@ -5283,34 +5283,34 @@ const Er = [
|
|
|
5283
5283
|
"voodoo_notion",
|
|
5284
5284
|
"snapchat",
|
|
5285
5285
|
"inmobi"
|
|
5286
|
-
].includes(
|
|
5287
|
-
let me = g + "/" +
|
|
5288
|
-
R(me,
|
|
5286
|
+
].includes(Z) || (Z === "fb" || Z === "luna") && ze) {
|
|
5287
|
+
let me = g + "/" + Ze;
|
|
5288
|
+
R(me, Ze);
|
|
5289
5289
|
} else if (we) {
|
|
5290
|
-
let me = g + "/" +
|
|
5291
|
-
R(me,
|
|
5290
|
+
let me = g + "/" + Ze;
|
|
5291
|
+
R(me, Ze);
|
|
5292
5292
|
}
|
|
5293
5293
|
V(!1), ke("Download successfully");
|
|
5294
5294
|
};
|
|
5295
5295
|
if (c === "Flex") {
|
|
5296
5296
|
await $n(
|
|
5297
5297
|
{
|
|
5298
|
-
_id:
|
|
5298
|
+
_id: k,
|
|
5299
5299
|
iosLink: h.iosUrl,
|
|
5300
5300
|
androidLink: h.googleUrl
|
|
5301
5301
|
},
|
|
5302
5302
|
s
|
|
5303
5303
|
);
|
|
5304
|
-
const
|
|
5304
|
+
const Ze = await $t(
|
|
5305
5305
|
{
|
|
5306
|
-
_id:
|
|
5307
|
-
network:
|
|
5306
|
+
_id: k,
|
|
5307
|
+
network: Z
|
|
5308
5308
|
},
|
|
5309
5309
|
s
|
|
5310
5310
|
);
|
|
5311
|
-
let me =
|
|
5311
|
+
let me = Ze.url;
|
|
5312
5312
|
if (!me) {
|
|
5313
|
-
V(!1), m(
|
|
5313
|
+
V(!1), m(Ze.message, Ze);
|
|
5314
5314
|
return;
|
|
5315
5315
|
}
|
|
5316
5316
|
let bt;
|
|
@@ -5331,7 +5331,7 @@ const Er = [
|
|
|
5331
5331
|
"voodoo_notion",
|
|
5332
5332
|
"snapchat",
|
|
5333
5333
|
"inmobi"
|
|
5334
|
-
].includes(
|
|
5334
|
+
].includes(Z) || (Z === "fb" || Z === "luna") && ze) {
|
|
5335
5335
|
let Ct = g + "/" + me;
|
|
5336
5336
|
R(Ct, me);
|
|
5337
5337
|
} else if (we) {
|
|
@@ -5340,18 +5340,18 @@ const Er = [
|
|
|
5340
5340
|
}
|
|
5341
5341
|
return V(!1), me;
|
|
5342
5342
|
} else if (c === "Import")
|
|
5343
|
-
er(s,
|
|
5344
|
-
let me =
|
|
5343
|
+
er(s, k, Z).then((Ze) => {
|
|
5344
|
+
let me = Ze.url;
|
|
5345
5345
|
return Qe(me), me;
|
|
5346
5346
|
});
|
|
5347
5347
|
else {
|
|
5348
5348
|
await _n(
|
|
5349
|
-
|
|
5349
|
+
k,
|
|
5350
5350
|
{ iosLink: h.iosUrl, androidLink: h.googleUrl },
|
|
5351
5351
|
s
|
|
5352
5352
|
);
|
|
5353
|
-
const
|
|
5354
|
-
Wt(s,
|
|
5353
|
+
const Ze = Er.includes(Z) ? 1 : 0;
|
|
5354
|
+
Wt(s, k, F, Z, ze, Ze, {}).then(async (me) => {
|
|
5355
5355
|
let { url: bt } = me;
|
|
5356
5356
|
return Qe(bt), bt;
|
|
5357
5357
|
}).catch((me) => {
|
|
@@ -5368,7 +5368,7 @@ const Er = [
|
|
|
5368
5368
|
{ iosLink: h.iosUrl, androidLink: h.googleUrl },
|
|
5369
5369
|
s
|
|
5370
5370
|
);
|
|
5371
|
-
const
|
|
5371
|
+
const k = await Wt(
|
|
5372
5372
|
s,
|
|
5373
5373
|
d,
|
|
5374
5374
|
"",
|
|
@@ -5377,12 +5377,12 @@ const Er = [
|
|
|
5377
5377
|
1,
|
|
5378
5378
|
`var type = ${o}`
|
|
5379
5379
|
);
|
|
5380
|
-
let
|
|
5381
|
-
return $e(
|
|
5380
|
+
let Z = `${g}/${k == null ? void 0 : k.url}`;
|
|
5381
|
+
return $e(Z) ? ke("Link Copied") : W(Z), k == null ? void 0 : k.url;
|
|
5382
5382
|
} else if (c === "Import") {
|
|
5383
|
-
const
|
|
5384
|
-
let
|
|
5385
|
-
return $e(
|
|
5383
|
+
const k = await er(s, d, o);
|
|
5384
|
+
let Z = `${g}/${k == null ? void 0 : k.url}`;
|
|
5385
|
+
return $e(Z) ? ke("Link Copied") : W(Z), k == null ? void 0 : k.url;
|
|
5386
5386
|
} else {
|
|
5387
5387
|
await $n(
|
|
5388
5388
|
{
|
|
@@ -5392,30 +5392,30 @@ const Er = [
|
|
|
5392
5392
|
},
|
|
5393
5393
|
s
|
|
5394
5394
|
);
|
|
5395
|
-
const
|
|
5396
|
-
let
|
|
5397
|
-
return $e(
|
|
5395
|
+
const k = await $t({ _id: d, network: o }, s);
|
|
5396
|
+
let Z = `${g}/${k == null ? void 0 : k.url}`;
|
|
5397
|
+
return $e(Z) ? ke("Link Copied") : W(Z), k == null ? void 0 : k.url;
|
|
5398
5398
|
}
|
|
5399
5399
|
}, ee = async () => {
|
|
5400
5400
|
v(!0);
|
|
5401
|
-
const
|
|
5401
|
+
const k = await Wt(s, d, F, "moloco", !1, z, {
|
|
5402
5402
|
molocoS3: !0
|
|
5403
5403
|
});
|
|
5404
|
-
let
|
|
5405
|
-
if (!
|
|
5406
|
-
v(!1), m(
|
|
5404
|
+
let Z = k.url, ie;
|
|
5405
|
+
if (!Z) {
|
|
5406
|
+
v(!1), m(k.message, k);
|
|
5407
5407
|
return;
|
|
5408
5408
|
}
|
|
5409
|
-
let we = await fetch(g + "/" +
|
|
5409
|
+
let we = await fetch(g + "/" + Z).then((ve) => ve.text());
|
|
5410
5410
|
ie = document.createElement("a"), ie.setAttribute("href", "data:html/plain;charset=utf-8," + encodeURIComponent(we)), ie.setAttribute(
|
|
5411
5411
|
"download",
|
|
5412
|
-
|
|
5413
|
-
), ie.style.display = "none", document.body.appendChild(ie), ie.click(), v(!1), ke("Download successfully"),
|
|
5412
|
+
Z.split("/").reduce((ve, ze) => ze, "")
|
|
5413
|
+
), ie.style.display = "none", document.body.appendChild(ie), ie.click(), v(!1), ke("Download successfully"), S(!1);
|
|
5414
5414
|
}, P = async () => {
|
|
5415
5415
|
N(!0);
|
|
5416
|
-
const
|
|
5417
|
-
let
|
|
5418
|
-
$e(
|
|
5416
|
+
const k = await As(s, d, o, c);
|
|
5417
|
+
let Z = `${g}/${k == null ? void 0 : k.url}`;
|
|
5418
|
+
$e(Z) ? ke("Link Copied") : W(Z);
|
|
5419
5419
|
};
|
|
5420
5420
|
return /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
5421
5421
|
/* @__PURE__ */ u.jsxs(
|
|
@@ -5468,7 +5468,7 @@ const Er = [
|
|
|
5468
5468
|
}
|
|
5469
5469
|
}
|
|
5470
5470
|
),
|
|
5471
|
-
/* @__PURE__ */ u.jsx("div", { children: i && i.map((
|
|
5471
|
+
/* @__PURE__ */ u.jsx("div", { children: i && i.map((k) => k.network).includes(o) ? a ? /* @__PURE__ */ u.jsx(
|
|
5472
5472
|
"div",
|
|
5473
5473
|
{
|
|
5474
5474
|
style: {
|
|
@@ -5484,7 +5484,7 @@ const Er = [
|
|
|
5484
5484
|
},
|
|
5485
5485
|
children: /* @__PURE__ */ u.jsx(rs, { typeOfProduct: c })
|
|
5486
5486
|
}
|
|
5487
|
-
) : i.map((
|
|
5487
|
+
) : i.map((k) => /* @__PURE__ */ u.jsx(
|
|
5488
5488
|
"div",
|
|
5489
5489
|
{
|
|
5490
5490
|
style: {
|
|
@@ -5499,9 +5499,9 @@ const Er = [
|
|
|
5499
5499
|
justifyContent: "center",
|
|
5500
5500
|
alignItems: "center"
|
|
5501
5501
|
},
|
|
5502
|
-
children:
|
|
5502
|
+
children: k.network === o ? k.size.toString().slice(0, 5) + "Mb" : ""
|
|
5503
5503
|
},
|
|
5504
|
-
|
|
5504
|
+
k.network
|
|
5505
5505
|
)) : null })
|
|
5506
5506
|
]
|
|
5507
5507
|
}
|
|
@@ -5559,12 +5559,12 @@ const Er = [
|
|
|
5559
5559
|
downloading: b,
|
|
5560
5560
|
onClickDonwload: async () => {
|
|
5561
5561
|
if ((o === "moloco" || o === "molocoV2") && J.customer === "playableFactoryInternal") {
|
|
5562
|
-
|
|
5562
|
+
S(!0);
|
|
5563
5563
|
return;
|
|
5564
5564
|
} else {
|
|
5565
5565
|
le("download");
|
|
5566
|
-
const
|
|
5567
|
-
|
|
5566
|
+
const k = h.iosUrl, Z = h.googleUrl;
|
|
5567
|
+
I && I.willSpendCredit ? (q(!0), L("download"), _(!0)) : c !== "Import" && (!k || !Z) ? (q(!0), C(!0)) : (C(!1), _(!1), await G(d, o, void 0, !0, null, !0));
|
|
5568
5568
|
}
|
|
5569
5569
|
},
|
|
5570
5570
|
children: [
|
|
@@ -5596,10 +5596,10 @@ const Er = [
|
|
|
5596
5596
|
className: "w-1/3",
|
|
5597
5597
|
onClickDonwload: async () => {
|
|
5598
5598
|
le("copyLink");
|
|
5599
|
-
const
|
|
5600
|
-
|
|
5599
|
+
const k = h.iosUrl, Z = h.googleUrl;
|
|
5600
|
+
I && (I != null && I.willSpendCredit) ? (L("copy"), q(!0), _(!0)) : c !== "Import" && (!k || !Z) ? (q(!0), C(!0)) : (_(!1), C(!1), await X());
|
|
5601
5601
|
},
|
|
5602
|
-
disabled:
|
|
5602
|
+
disabled: E,
|
|
5603
5603
|
children: /* @__PURE__ */ u.jsx(Co, { className: "h-6 w-6 stroke-dark-full" })
|
|
5604
5604
|
}
|
|
5605
5605
|
)
|
|
@@ -5614,10 +5614,10 @@ const Er = [
|
|
|
5614
5614
|
{
|
|
5615
5615
|
creditConfirmType: f,
|
|
5616
5616
|
handleCopyLink: async () => {
|
|
5617
|
-
|
|
5617
|
+
C(!1), q(!1), await X();
|
|
5618
5618
|
},
|
|
5619
5619
|
download: async () => {
|
|
5620
|
-
|
|
5620
|
+
C(!1), q(!1), await G(d, o, void 0, !0, null, !0);
|
|
5621
5621
|
},
|
|
5622
5622
|
onClose: () => {
|
|
5623
5623
|
_(!1), q(!1);
|
|
@@ -5625,32 +5625,32 @@ const Er = [
|
|
|
5625
5625
|
flexDownloadCount: K
|
|
5626
5626
|
}
|
|
5627
5627
|
),
|
|
5628
|
-
|
|
5628
|
+
j && /* @__PURE__ */ u.jsx(
|
|
5629
5629
|
os,
|
|
5630
5630
|
{
|
|
5631
5631
|
onClose: () => {
|
|
5632
|
-
|
|
5632
|
+
C(!1), q(!1);
|
|
5633
5633
|
},
|
|
5634
5634
|
iosLink: h.iosUrl,
|
|
5635
5635
|
googleLink: h.googleUrl,
|
|
5636
5636
|
buttonType: se,
|
|
5637
5637
|
handleCopyLink: async () => {
|
|
5638
|
-
|
|
5638
|
+
C(!1), q(!1), await X();
|
|
5639
5639
|
},
|
|
5640
5640
|
download: async () => {
|
|
5641
|
-
|
|
5641
|
+
C(!1), q(!1), await G(d, o, void 0, !0, null, !0);
|
|
5642
5642
|
}
|
|
5643
5643
|
}
|
|
5644
5644
|
),
|
|
5645
|
-
|
|
5645
|
+
M && J.customer === "playableFactoryInternal" && /* @__PURE__ */ u.jsx(
|
|
5646
5646
|
as,
|
|
5647
5647
|
{
|
|
5648
5648
|
onClose: () => {
|
|
5649
|
-
|
|
5649
|
+
S(!1);
|
|
5650
5650
|
},
|
|
5651
5651
|
handleDownload: ee,
|
|
5652
5652
|
handleDownloadMolocoTest: P,
|
|
5653
|
-
downloadingMoloco:
|
|
5653
|
+
downloadingMoloco: Y,
|
|
5654
5654
|
downloadingMolocoApplovin: x
|
|
5655
5655
|
}
|
|
5656
5656
|
)
|
|
@@ -5958,13 +5958,13 @@ const Er = [
|
|
|
5958
5958
|
}
|
|
5959
5959
|
);
|
|
5960
5960
|
async function ds(e, t, r) {
|
|
5961
|
-
return (await
|
|
5961
|
+
return (await Ce.post(r + "/getPlayableVersionSize", {
|
|
5962
5962
|
_id: e,
|
|
5963
5963
|
networks: t
|
|
5964
5964
|
})).data;
|
|
5965
5965
|
}
|
|
5966
5966
|
async function ms(e, t, r) {
|
|
5967
|
-
return (await
|
|
5967
|
+
return (await Ce.post(r + "/createPlayableVersionLinkMulti", {
|
|
5968
5968
|
_id: e,
|
|
5969
5969
|
networks: t
|
|
5970
5970
|
})).data;
|
|
@@ -5985,29 +5985,31 @@ const ps = ({
|
|
|
5985
5985
|
disabled: g,
|
|
5986
5986
|
setSafariCopyLink: h
|
|
5987
5987
|
}) => {
|
|
5988
|
-
const [p, q] = U([]), [
|
|
5988
|
+
const [p, q] = U([]), [I, K] = U([]), [E, J] = U(!1), [W, b] = U(""), [V, F] = U(!1), [B, se] = U(!1), le = async (j) => {
|
|
5989
5989
|
J(!0);
|
|
5990
|
-
const
|
|
5991
|
-
K(
|
|
5992
|
-
}, ue = async (
|
|
5993
|
-
const
|
|
5994
|
-
if (p.includes(
|
|
5995
|
-
const
|
|
5996
|
-
|
|
5997
|
-
} else
|
|
5998
|
-
|
|
5999
|
-
|
|
6000
|
-
|
|
5990
|
+
const C = await ds(n, j, i);
|
|
5991
|
+
K(C.details), b(C.size), J(!1);
|
|
5992
|
+
}, ue = async (j) => {
|
|
5993
|
+
const C = [...p];
|
|
5994
|
+
if (p.includes(j)) {
|
|
5995
|
+
const S = C.findIndex((f) => f === j);
|
|
5996
|
+
C.splice(S, 1), q(C);
|
|
5997
|
+
} else if (o === "Playable" || o === "Ready")
|
|
5998
|
+
C.push(j), q([...p, j]);
|
|
5999
|
+
else
|
|
6000
|
+
return;
|
|
6001
|
+
let M = kr.filter((S) => [...C].includes(S.id)).map((S) => S.name);
|
|
6002
|
+
await le(M);
|
|
6001
6003
|
}, _ = async () => {
|
|
6002
6004
|
try {
|
|
6003
|
-
const
|
|
6005
|
+
const j = kr.filter((L) => [...p].includes(L.id)).map((L) => L.name);
|
|
6004
6006
|
F(!0);
|
|
6005
|
-
const
|
|
6006
|
-
let
|
|
6007
|
-
const f = c + "/" +
|
|
6008
|
-
|
|
6009
|
-
} catch (
|
|
6010
|
-
F(!1), A(
|
|
6007
|
+
const C = await ms(n, j, i), { url: M } = C;
|
|
6008
|
+
let S;
|
|
6009
|
+
const f = c + "/" + M;
|
|
6010
|
+
S = document.createElement("iframe"), S.setAttribute("src", f), S.style.display = "none", document.body.appendChild(S), S.click(), F(!1), ke("Multi downloaded completed successfully");
|
|
6011
|
+
} catch (j) {
|
|
6012
|
+
F(!1), A(j.response.data.error.msg), console.error(j);
|
|
6011
6013
|
}
|
|
6012
6014
|
};
|
|
6013
6015
|
return /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
|
|
@@ -6032,21 +6034,21 @@ const ps = ({
|
|
|
6032
6034
|
overflowY: "auto",
|
|
6033
6035
|
padding: "0.75rem"
|
|
6034
6036
|
},
|
|
6035
|
-
children: r && kr.filter((
|
|
6036
|
-
var
|
|
6037
|
-
return t && ((
|
|
6037
|
+
children: r && kr.filter((j) => {
|
|
6038
|
+
var C;
|
|
6039
|
+
return t && ((C = t == null ? void 0 : t.networks) == null ? void 0 : C.length) > 0 ? t == null ? void 0 : t.networks.includes(j.name) : o === "Import" ? e == null ? void 0 : e.networks.filter((M) => M.status === "paid").some((M) => M.name === j.name) : e == null ? void 0 : e.networks.includes(j.name);
|
|
6038
6040
|
}).filter(
|
|
6039
|
-
(
|
|
6040
|
-
).map((
|
|
6041
|
+
(j) => j.name === "voodoo" ? a.customer === "customer:20" : !0
|
|
6042
|
+
).map((j) => /* @__PURE__ */ u.jsx(
|
|
6041
6043
|
ss,
|
|
6042
6044
|
{
|
|
6043
|
-
id:
|
|
6044
|
-
name:
|
|
6045
|
-
imageUrl:
|
|
6046
|
-
selected: p.includes(
|
|
6045
|
+
id: j.id,
|
|
6046
|
+
name: j.name,
|
|
6047
|
+
imageUrl: j.imageSrc,
|
|
6048
|
+
selected: p.includes(j.id),
|
|
6047
6049
|
handleCardClick: ue,
|
|
6048
|
-
networkVersionSize:
|
|
6049
|
-
fileSizeLoading:
|
|
6050
|
+
networkVersionSize: I,
|
|
6051
|
+
fileSizeLoading: E,
|
|
6050
6052
|
showCheckBox: !0,
|
|
6051
6053
|
typeOfProduct: o,
|
|
6052
6054
|
versionId: n,
|
|
@@ -6062,7 +6064,7 @@ const ps = ({
|
|
|
6062
6064
|
user: a,
|
|
6063
6065
|
setSafariCopyLink: h
|
|
6064
6066
|
},
|
|
6065
|
-
|
|
6067
|
+
j.id
|
|
6066
6068
|
))
|
|
6067
6069
|
}
|
|
6068
6070
|
),
|
|
@@ -6097,27 +6099,27 @@ const ps = ({
|
|
|
6097
6099
|
] });
|
|
6098
6100
|
};
|
|
6099
6101
|
async function fs(e, t) {
|
|
6100
|
-
return (await
|
|
6102
|
+
return (await Ce.post(t + "/findPlayable", { _id: e })).data;
|
|
6101
6103
|
}
|
|
6102
6104
|
async function hs(e, t) {
|
|
6103
|
-
return (await
|
|
6105
|
+
return (await Ce.post(t + "/getFlexDownloadCount", e)).data;
|
|
6104
6106
|
}
|
|
6105
6107
|
async function qs(e, t) {
|
|
6106
6108
|
try {
|
|
6107
|
-
return (await
|
|
6109
|
+
return (await Ce.post(t + "/findGame", { _id: e })).data;
|
|
6108
6110
|
} catch {
|
|
6109
6111
|
}
|
|
6110
6112
|
}
|
|
6111
6113
|
async function gs(e, t) {
|
|
6112
|
-
return (await
|
|
6114
|
+
return (await Ce.post(t + "/getPlayableVersionMarketLink", {
|
|
6113
6115
|
_id: e
|
|
6114
6116
|
})).data;
|
|
6115
6117
|
}
|
|
6116
6118
|
async function vs(e, t) {
|
|
6117
|
-
return (await
|
|
6119
|
+
return (await Ce.post(t + "/getFlexData", { _id: e })).data;
|
|
6118
6120
|
}
|
|
6119
6121
|
async function ys(e, t) {
|
|
6120
|
-
return (await
|
|
6122
|
+
return (await Ce.post(t + "/getImportedPlayable", { id: e })).data;
|
|
6121
6123
|
}
|
|
6122
6124
|
const bs = [
|
|
6123
6125
|
"adcolony",
|
|
@@ -6161,31 +6163,31 @@ const bs = [
|
|
|
6161
6163
|
setFileSize: m,
|
|
6162
6164
|
setSafariCopyLink: g
|
|
6163
6165
|
}) => {
|
|
6164
|
-
const [h, p] = U(null), [q,
|
|
6166
|
+
const [h, p] = U(null), [q, I] = U(null), [K, E] = U(null), [J, W] = U(!1), [b, V] = U("Loading..."), [F, B] = U("Loading..."), [se, le] = U(!0), [ue, _] = U(window.innerWidth);
|
|
6165
6167
|
xe(() => {
|
|
6166
|
-
const
|
|
6168
|
+
const Y = () => {
|
|
6167
6169
|
_(window.innerWidth);
|
|
6168
6170
|
};
|
|
6169
|
-
return window.addEventListener("resize",
|
|
6170
|
-
window.removeEventListener("resize",
|
|
6171
|
+
return window.addEventListener("resize", Y), () => {
|
|
6172
|
+
window.removeEventListener("resize", Y);
|
|
6171
6173
|
};
|
|
6172
6174
|
}, []);
|
|
6173
|
-
const
|
|
6175
|
+
const j = async () => {
|
|
6174
6176
|
W(!0);
|
|
6175
|
-
const
|
|
6176
|
-
return
|
|
6177
|
-
},
|
|
6178
|
-
V(
|
|
6179
|
-
},
|
|
6180
|
-
B(
|
|
6181
|
-
},
|
|
6177
|
+
const Y = await fs(e, i);
|
|
6178
|
+
return Y != null && Y.networks || (Y.networks = bs), p(Y), Y;
|
|
6179
|
+
}, C = (Y) => {
|
|
6180
|
+
V(Y);
|
|
6181
|
+
}, M = (Y) => {
|
|
6182
|
+
B(Y);
|
|
6183
|
+
}, S = async (Y, v) => {
|
|
6182
6184
|
var x, N;
|
|
6183
6185
|
try {
|
|
6184
6186
|
let D;
|
|
6185
6187
|
if (n === "Playable" || n === "Ready") {
|
|
6186
|
-
const
|
|
6187
|
-
if (
|
|
6188
|
-
V(
|
|
6188
|
+
const z = await gs(t, i);
|
|
6189
|
+
if (z) {
|
|
6190
|
+
V(z.iosLink), B(z.androidLink), W(!1);
|
|
6189
6191
|
return;
|
|
6190
6192
|
}
|
|
6191
6193
|
if (v && v.html) {
|
|
@@ -6203,33 +6205,33 @@ const bs = [
|
|
|
6203
6205
|
} else
|
|
6204
6206
|
B(""), V(""), W(!1);
|
|
6205
6207
|
} else if (n === "Flex") {
|
|
6206
|
-
const
|
|
6207
|
-
if (
|
|
6208
|
-
B(
|
|
6208
|
+
const z = await vs(t, i);
|
|
6209
|
+
if (z.googleUrl || z.iosUrl) {
|
|
6210
|
+
B(z.googleUrl), V(z.iosUrl), W(!1);
|
|
6209
6211
|
return;
|
|
6210
6212
|
}
|
|
6211
|
-
|
|
6213
|
+
Y && (Y.iosUrl || Y.googleUrl) ? (V(Y.iosUrl), B(Y.googleUrl), W(!1)) : (B(""), V(""), W(!1));
|
|
6212
6214
|
}
|
|
6213
6215
|
} catch (D) {
|
|
6214
6216
|
c(D.response.data.error.msg);
|
|
6215
6217
|
}
|
|
6216
6218
|
}, f = async () => {
|
|
6217
6219
|
W(!0);
|
|
6218
|
-
const
|
|
6219
|
-
["admin", "pm", "tester"].includes(a.role) ?
|
|
6220
|
-
...
|
|
6220
|
+
const Y = await hs({ _id: t }, i);
|
|
6221
|
+
["admin", "pm", "tester"].includes(a.role) ? E({
|
|
6222
|
+
...Y,
|
|
6221
6223
|
networks: Cs
|
|
6222
|
-
}) :
|
|
6223
|
-
},
|
|
6224
|
+
}) : E(Y), W(!1);
|
|
6225
|
+
}, L = async () => await qs(r, i);
|
|
6224
6226
|
return xe(() => {
|
|
6225
|
-
o || (p(null),
|
|
6226
|
-
|
|
6227
|
-
}), le(!1)) : n === "Flex" ? f().then((
|
|
6228
|
-
le(!1),
|
|
6229
|
-
o && (
|
|
6227
|
+
o || (p(null), I(null), E(null), m(null)), o && (n === "Playable" || n === "Ready" ? (j().then((Y) => {
|
|
6228
|
+
S(null, Y);
|
|
6229
|
+
}), le(!1)) : n === "Flex" ? f().then((Y) => {
|
|
6230
|
+
le(!1), L().then((v) => {
|
|
6231
|
+
o && (S(v, null), le(!1), I(v));
|
|
6230
6232
|
});
|
|
6231
|
-
}) : n === "Import" && ys(t, i).then((
|
|
6232
|
-
console.log(
|
|
6233
|
+
}) : n === "Import" && ys(t, i).then((Y) => {
|
|
6234
|
+
console.log(Y), p(Y), V(Y.iosUrl || ""), B(Y.googleUrl || ""), W(!1), le(!1);
|
|
6233
6235
|
}));
|
|
6234
6236
|
}, [r, e, t, o]), /* @__PURE__ */ u.jsxs(
|
|
6235
6237
|
"div",
|
|
@@ -6252,8 +6254,8 @@ const bs = [
|
|
|
6252
6254
|
typeOfProduct: n,
|
|
6253
6255
|
fileSize: s,
|
|
6254
6256
|
urls: { iosUrl: b, googleUrl: F },
|
|
6255
|
-
handleIosChange:
|
|
6256
|
-
handleGoogleChange:
|
|
6257
|
+
handleIosChange: C,
|
|
6258
|
+
handleGoogleChange: M,
|
|
6257
6259
|
disabled: se,
|
|
6258
6260
|
api: i,
|
|
6259
6261
|
downloadFlex: K
|
|
@@ -6444,8 +6446,8 @@ var Br = { exports: {} };
|
|
|
6444
6446
|
c.preventDefault(), s.focus();
|
|
6445
6447
|
return;
|
|
6446
6448
|
}
|
|
6447
|
-
var q = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),
|
|
6448
|
-
if (
|
|
6449
|
+
var q = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), I = q != null && q[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
|
|
6450
|
+
if (I) {
|
|
6449
6451
|
var K = d.indexOf(p);
|
|
6450
6452
|
if (K > -1 && (K += m ? -1 : 1), s = d[K], typeof s > "u") {
|
|
6451
6453
|
c.preventDefault(), s = m ? h : g, s.focus();
|
|
@@ -6746,73 +6748,73 @@ ll.default.subscribe(ml);
|
|
|
6746
6748
|
Object.defineProperty(t, "__esModule", {
|
|
6747
6749
|
value: !0
|
|
6748
6750
|
});
|
|
6749
|
-
var r = Object.assign || function(
|
|
6750
|
-
for (var
|
|
6751
|
-
var
|
|
6752
|
-
for (var f in
|
|
6753
|
-
Object.prototype.hasOwnProperty.call(
|
|
6754
|
-
}
|
|
6755
|
-
return
|
|
6756
|
-
}, n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(
|
|
6757
|
-
return typeof
|
|
6758
|
-
} : function(
|
|
6759
|
-
return
|
|
6751
|
+
var r = Object.assign || function(C) {
|
|
6752
|
+
for (var M = 1; M < arguments.length; M++) {
|
|
6753
|
+
var S = arguments[M];
|
|
6754
|
+
for (var f in S)
|
|
6755
|
+
Object.prototype.hasOwnProperty.call(S, f) && (C[f] = S[f]);
|
|
6756
|
+
}
|
|
6757
|
+
return C;
|
|
6758
|
+
}, n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(C) {
|
|
6759
|
+
return typeof C;
|
|
6760
|
+
} : function(C) {
|
|
6761
|
+
return C && typeof Symbol == "function" && C.constructor === Symbol && C !== Symbol.prototype ? "symbol" : typeof C;
|
|
6760
6762
|
}, o = function() {
|
|
6761
|
-
function
|
|
6762
|
-
for (var f = 0; f <
|
|
6763
|
-
var
|
|
6764
|
-
|
|
6763
|
+
function C(M, S) {
|
|
6764
|
+
for (var f = 0; f < S.length; f++) {
|
|
6765
|
+
var L = S[f];
|
|
6766
|
+
L.enumerable = L.enumerable || !1, L.configurable = !0, "value" in L && (L.writable = !0), Object.defineProperty(M, L.key, L);
|
|
6765
6767
|
}
|
|
6766
6768
|
}
|
|
6767
|
-
return function(
|
|
6768
|
-
return
|
|
6769
|
+
return function(M, S, f) {
|
|
6770
|
+
return S && C(M.prototype, S), f && C(M, f), M;
|
|
6769
6771
|
};
|
|
6770
|
-
}(), i = oe, a = ir, A = b(a), c = Ne, d = W(c), s = ks, m = b(s), g = Re, h = W(g), p = gt, q = W(p),
|
|
6771
|
-
function W(
|
|
6772
|
-
if (
|
|
6773
|
-
return
|
|
6774
|
-
var
|
|
6775
|
-
if (
|
|
6776
|
-
for (var
|
|
6777
|
-
Object.prototype.hasOwnProperty.call(
|
|
6778
|
-
return
|
|
6779
|
-
}
|
|
6780
|
-
function b(
|
|
6781
|
-
return
|
|
6782
|
-
}
|
|
6783
|
-
function V(
|
|
6784
|
-
if (!(
|
|
6772
|
+
}(), i = oe, a = ir, A = b(a), c = Ne, d = W(c), s = ks, m = b(s), g = Re, h = W(g), p = gt, q = W(p), I = De, K = b(I), E = vt, J = b(E);
|
|
6773
|
+
function W(C) {
|
|
6774
|
+
if (C && C.__esModule)
|
|
6775
|
+
return C;
|
|
6776
|
+
var M = {};
|
|
6777
|
+
if (C != null)
|
|
6778
|
+
for (var S in C)
|
|
6779
|
+
Object.prototype.hasOwnProperty.call(C, S) && (M[S] = C[S]);
|
|
6780
|
+
return M.default = C, M;
|
|
6781
|
+
}
|
|
6782
|
+
function b(C) {
|
|
6783
|
+
return C && C.__esModule ? C : { default: C };
|
|
6784
|
+
}
|
|
6785
|
+
function V(C, M) {
|
|
6786
|
+
if (!(C instanceof M))
|
|
6785
6787
|
throw new TypeError("Cannot call a class as a function");
|
|
6786
6788
|
}
|
|
6787
|
-
function F(
|
|
6788
|
-
if (!
|
|
6789
|
+
function F(C, M) {
|
|
6790
|
+
if (!C)
|
|
6789
6791
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
6790
|
-
return
|
|
6792
|
+
return M && (typeof M == "object" || typeof M == "function") ? M : C;
|
|
6791
6793
|
}
|
|
6792
|
-
function B(
|
|
6793
|
-
if (typeof
|
|
6794
|
-
throw new TypeError("Super expression must either be null or a function, not " + typeof
|
|
6795
|
-
|
|
6794
|
+
function B(C, M) {
|
|
6795
|
+
if (typeof M != "function" && M !== null)
|
|
6796
|
+
throw new TypeError("Super expression must either be null or a function, not " + typeof M);
|
|
6797
|
+
C.prototype = Object.create(M && M.prototype, { constructor: { value: C, enumerable: !1, writable: !0, configurable: !0 } }), M && (Object.setPrototypeOf ? Object.setPrototypeOf(C, M) : C.__proto__ = M);
|
|
6796
6798
|
}
|
|
6797
6799
|
var se = {
|
|
6798
6800
|
overlay: "ReactModal__Overlay",
|
|
6799
6801
|
content: "ReactModal__Content"
|
|
6800
|
-
}, le = function(
|
|
6801
|
-
return
|
|
6802
|
-
}, ue = function(
|
|
6803
|
-
return
|
|
6804
|
-
}, _ = 0,
|
|
6805
|
-
B(
|
|
6806
|
-
function
|
|
6807
|
-
V(this,
|
|
6808
|
-
var f = F(this, (
|
|
6809
|
-
return f.setOverlayRef = function(
|
|
6810
|
-
f.overlay =
|
|
6811
|
-
}, f.setContentRef = function(
|
|
6812
|
-
f.content =
|
|
6802
|
+
}, le = function(M) {
|
|
6803
|
+
return M.code === "Tab" || M.keyCode === 9;
|
|
6804
|
+
}, ue = function(M) {
|
|
6805
|
+
return M.code === "Escape" || M.keyCode === 27;
|
|
6806
|
+
}, _ = 0, j = function(C) {
|
|
6807
|
+
B(M, C);
|
|
6808
|
+
function M(S) {
|
|
6809
|
+
V(this, M);
|
|
6810
|
+
var f = F(this, (M.__proto__ || Object.getPrototypeOf(M)).call(this, S));
|
|
6811
|
+
return f.setOverlayRef = function(L) {
|
|
6812
|
+
f.overlay = L, f.props.overlayRef && f.props.overlayRef(L);
|
|
6813
|
+
}, f.setContentRef = function(L) {
|
|
6814
|
+
f.content = L, f.props.contentRef && f.props.contentRef(L);
|
|
6813
6815
|
}, f.afterClose = function() {
|
|
6814
|
-
var
|
|
6815
|
-
N && q.remove(
|
|
6816
|
+
var L = f.props, Y = L.appElement, v = L.ariaHideApp, x = L.htmlOpenClassName, N = L.bodyOpenClassName, D = L.parentSelector, z = D && D().ownerDocument || document;
|
|
6817
|
+
N && q.remove(z.body, N), x && q.remove(z.getElementsByTagName("html")[0], x), v && _ > 0 && (_ -= 1, _ === 0 && h.show(Y)), f.props.shouldFocusAfterRender && (f.props.shouldReturnFocusAfterClose ? (d.returnFocus(f.props.preventScroll), d.teardownScopedFocus()) : d.popWithoutFocus()), f.props.onAfterClose && f.props.onAfterClose(), J.default.deregister(f);
|
|
6816
6818
|
}, f.open = function() {
|
|
6817
6819
|
f.beforeOpen(), f.state.afterOpen && f.state.beforeClose ? (clearTimeout(f.closeTimer), f.setState({ beforeClose: !1 })) : (f.props.shouldFocusAfterRender && (d.setupScopedFocus(f.node), d.markForFocusLater()), f.setState({ isOpen: !0 }, function() {
|
|
6818
6820
|
f.openAnimationFrame = requestAnimationFrame(function() {
|
|
@@ -6827,8 +6829,8 @@ ll.default.subscribe(ml);
|
|
|
6827
6829
|
}, f.focusContent = function() {
|
|
6828
6830
|
return f.content && !f.contentHasFocus() && f.content.focus({ preventScroll: !0 });
|
|
6829
6831
|
}, f.closeWithTimeout = function() {
|
|
6830
|
-
var
|
|
6831
|
-
f.setState({ beforeClose: !0, closesAt:
|
|
6832
|
+
var L = Date.now() + f.props.closeTimeoutMS;
|
|
6833
|
+
f.setState({ beforeClose: !0, closesAt: L }, function() {
|
|
6832
6834
|
f.closeTimer = setTimeout(f.closeWithoutTimeout, f.state.closesAt - Date.now());
|
|
6833
6835
|
});
|
|
6834
6836
|
}, f.closeWithoutTimeout = function() {
|
|
@@ -6838,51 +6840,51 @@ ll.default.subscribe(ml);
|
|
|
6838
6840
|
afterOpen: !1,
|
|
6839
6841
|
closesAt: null
|
|
6840
6842
|
}, f.afterClose);
|
|
6841
|
-
}, f.handleKeyDown = function(
|
|
6842
|
-
le(
|
|
6843
|
-
}, f.handleOverlayOnClick = function(
|
|
6844
|
-
f.shouldClose === null && (f.shouldClose = !0), f.shouldClose && f.props.shouldCloseOnOverlayClick && (f.ownerHandlesClose() ? f.requestClose(
|
|
6843
|
+
}, f.handleKeyDown = function(L) {
|
|
6844
|
+
le(L) && (0, m.default)(f.content, L), f.props.shouldCloseOnEsc && ue(L) && (L.stopPropagation(), f.requestClose(L));
|
|
6845
|
+
}, f.handleOverlayOnClick = function(L) {
|
|
6846
|
+
f.shouldClose === null && (f.shouldClose = !0), f.shouldClose && f.props.shouldCloseOnOverlayClick && (f.ownerHandlesClose() ? f.requestClose(L) : f.focusContent()), f.shouldClose = null;
|
|
6845
6847
|
}, f.handleContentOnMouseUp = function() {
|
|
6846
6848
|
f.shouldClose = !1;
|
|
6847
|
-
}, f.handleOverlayOnMouseDown = function(
|
|
6848
|
-
!f.props.shouldCloseOnOverlayClick &&
|
|
6849
|
+
}, f.handleOverlayOnMouseDown = function(L) {
|
|
6850
|
+
!f.props.shouldCloseOnOverlayClick && L.target == f.overlay && L.preventDefault();
|
|
6849
6851
|
}, f.handleContentOnClick = function() {
|
|
6850
6852
|
f.shouldClose = !1;
|
|
6851
6853
|
}, f.handleContentOnMouseDown = function() {
|
|
6852
6854
|
f.shouldClose = !1;
|
|
6853
|
-
}, f.requestClose = function(
|
|
6854
|
-
return f.ownerHandlesClose() && f.props.onRequestClose(
|
|
6855
|
+
}, f.requestClose = function(L) {
|
|
6856
|
+
return f.ownerHandlesClose() && f.props.onRequestClose(L);
|
|
6855
6857
|
}, f.ownerHandlesClose = function() {
|
|
6856
6858
|
return f.props.onRequestClose;
|
|
6857
6859
|
}, f.shouldBeClosed = function() {
|
|
6858
6860
|
return !f.state.isOpen && !f.state.beforeClose;
|
|
6859
6861
|
}, f.contentHasFocus = function() {
|
|
6860
6862
|
return document.activeElement === f.content || f.content.contains(document.activeElement);
|
|
6861
|
-
}, f.buildClassName = function(
|
|
6862
|
-
var v = (typeof
|
|
6863
|
-
base: se[
|
|
6864
|
-
afterOpen: se[
|
|
6865
|
-
beforeClose: se[
|
|
6863
|
+
}, f.buildClassName = function(L, Y) {
|
|
6864
|
+
var v = (typeof Y > "u" ? "undefined" : n(Y)) === "object" ? Y : {
|
|
6865
|
+
base: se[L],
|
|
6866
|
+
afterOpen: se[L] + "--after-open",
|
|
6867
|
+
beforeClose: se[L] + "--before-close"
|
|
6866
6868
|
}, x = v.base;
|
|
6867
|
-
return f.state.afterOpen && (x = x + " " + v.afterOpen), f.state.beforeClose && (x = x + " " + v.beforeClose), typeof
|
|
6868
|
-
}, f.attributesFromObject = function(
|
|
6869
|
-
return Object.keys(
|
|
6870
|
-
return v[
|
|
6869
|
+
return f.state.afterOpen && (x = x + " " + v.afterOpen), f.state.beforeClose && (x = x + " " + v.beforeClose), typeof Y == "string" && Y ? x + " " + Y : x;
|
|
6870
|
+
}, f.attributesFromObject = function(L, Y) {
|
|
6871
|
+
return Object.keys(Y).reduce(function(v, x) {
|
|
6872
|
+
return v[L + "-" + x] = Y[x], v;
|
|
6871
6873
|
}, {});
|
|
6872
6874
|
}, f.state = {
|
|
6873
6875
|
afterOpen: !1,
|
|
6874
6876
|
beforeClose: !1
|
|
6875
6877
|
}, f.shouldClose = null, f.moveFromContentToOverlay = null, f;
|
|
6876
6878
|
}
|
|
6877
|
-
return o(
|
|
6879
|
+
return o(M, [{
|
|
6878
6880
|
key: "componentDidMount",
|
|
6879
6881
|
value: function() {
|
|
6880
6882
|
this.props.isOpen && this.open();
|
|
6881
6883
|
}
|
|
6882
6884
|
}, {
|
|
6883
6885
|
key: "componentDidUpdate",
|
|
6884
|
-
value: function(f,
|
|
6885
|
-
process.env.NODE_ENV !== "production" && (f.bodyOpenClassName !== this.props.bodyOpenClassName && console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'), f.htmlOpenClassName !== this.props.htmlOpenClassName && console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')), this.props.isOpen && !f.isOpen ? this.open() : !this.props.isOpen && f.isOpen && this.close(), this.props.shouldFocusAfterRender && this.state.isOpen && !
|
|
6886
|
+
value: function(f, L) {
|
|
6887
|
+
process.env.NODE_ENV !== "production" && (f.bodyOpenClassName !== this.props.bodyOpenClassName && console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'), f.htmlOpenClassName !== this.props.htmlOpenClassName && console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')), this.props.isOpen && !f.isOpen ? this.open() : !this.props.isOpen && f.isOpen && this.close(), this.props.shouldFocusAfterRender && this.state.isOpen && !L.isOpen && this.focusContent();
|
|
6886
6888
|
}
|
|
6887
6889
|
}, {
|
|
6888
6890
|
key: "componentWillUnmount",
|
|
@@ -6892,27 +6894,27 @@ ll.default.subscribe(ml);
|
|
|
6892
6894
|
}, {
|
|
6893
6895
|
key: "beforeOpen",
|
|
6894
6896
|
value: function() {
|
|
6895
|
-
var f = this.props,
|
|
6896
|
-
x && q.add(D.body, x), v && q.add(D.getElementsByTagName("html")[0], v),
|
|
6897
|
+
var f = this.props, L = f.appElement, Y = f.ariaHideApp, v = f.htmlOpenClassName, x = f.bodyOpenClassName, N = f.parentSelector, D = N && N().ownerDocument || document;
|
|
6898
|
+
x && q.add(D.body, x), v && q.add(D.getElementsByTagName("html")[0], v), Y && (_ += 1, h.hide(L)), J.default.register(this);
|
|
6897
6899
|
}
|
|
6898
6900
|
// Don't steal focus from inner elements
|
|
6899
6901
|
}, {
|
|
6900
6902
|
key: "render",
|
|
6901
6903
|
value: function() {
|
|
6902
|
-
var f = this.props,
|
|
6904
|
+
var f = this.props, L = f.id, Y = f.className, v = f.overlayClassName, x = f.defaultStyles, N = f.children, D = Y ? {} : x.content, z = v ? {} : x.overlay;
|
|
6903
6905
|
if (this.shouldBeClosed())
|
|
6904
6906
|
return null;
|
|
6905
6907
|
var Q = {
|
|
6906
6908
|
ref: this.setOverlayRef,
|
|
6907
6909
|
className: this.buildClassName("overlay", v),
|
|
6908
|
-
style: r({},
|
|
6910
|
+
style: r({}, z, this.props.style.overlay),
|
|
6909
6911
|
onClick: this.handleOverlayOnClick,
|
|
6910
6912
|
onMouseDown: this.handleOverlayOnMouseDown
|
|
6911
6913
|
}, R = r({
|
|
6912
|
-
id:
|
|
6914
|
+
id: L,
|
|
6913
6915
|
ref: this.setContentRef,
|
|
6914
6916
|
style: r({}, D, this.props.style.content),
|
|
6915
|
-
className: this.buildClassName("content",
|
|
6917
|
+
className: this.buildClassName("content", Y),
|
|
6916
6918
|
tabIndex: "-1",
|
|
6917
6919
|
onKeyDown: this.handleKeyDown,
|
|
6918
6920
|
onMouseDown: this.handleContentOnMouseDown,
|
|
@@ -6925,15 +6927,15 @@ ll.default.subscribe(ml);
|
|
|
6925
6927
|
}), G = this.props.contentElement(R, N);
|
|
6926
6928
|
return this.props.overlayElement(Q, G);
|
|
6927
6929
|
}
|
|
6928
|
-
}]),
|
|
6930
|
+
}]), M;
|
|
6929
6931
|
}(i.Component);
|
|
6930
|
-
|
|
6932
|
+
j.defaultProps = {
|
|
6931
6933
|
style: {
|
|
6932
6934
|
overlay: {},
|
|
6933
6935
|
content: {}
|
|
6934
6936
|
},
|
|
6935
6937
|
defaultStyles: {}
|
|
6936
|
-
},
|
|
6938
|
+
}, j.propTypes = {
|
|
6937
6939
|
isOpen: A.default.bool.isRequired,
|
|
6938
6940
|
defaultStyles: A.default.shape({
|
|
6939
6941
|
content: A.default.object,
|
|
@@ -6949,7 +6951,7 @@ ll.default.subscribe(ml);
|
|
|
6949
6951
|
bodyOpenClassName: A.default.string,
|
|
6950
6952
|
htmlOpenClassName: A.default.string,
|
|
6951
6953
|
ariaHideApp: A.default.bool,
|
|
6952
|
-
appElement: A.default.oneOfType([A.default.instanceOf(K.default), A.default.instanceOf(
|
|
6954
|
+
appElement: A.default.oneOfType([A.default.instanceOf(K.default), A.default.instanceOf(I.SafeHTMLCollection), A.default.instanceOf(I.SafeNodeList), A.default.arrayOf(A.default.instanceOf(K.default))]),
|
|
6953
6955
|
onAfterOpen: A.default.func,
|
|
6954
6956
|
onAfterClose: A.default.func,
|
|
6955
6957
|
onRequestClose: A.default.func,
|
|
@@ -6970,7 +6972,7 @@ ll.default.subscribe(ml);
|
|
|
6970
6972
|
overlayElement: A.default.func,
|
|
6971
6973
|
contentElement: A.default.func,
|
|
6972
6974
|
testId: A.default.string
|
|
6973
|
-
}, t.default =
|
|
6975
|
+
}, t.default = j, e.exports = t.default;
|
|
6974
6976
|
})(Qr, Qr.exports);
|
|
6975
6977
|
var pl = Qr.exports;
|
|
6976
6978
|
function oi() {
|
|
@@ -7275,11 +7277,15 @@ ut.default = yt;
|
|
|
7275
7277
|
t.default = n.default, e.exports = t.default;
|
|
7276
7278
|
})(Xr, Xr.exports);
|
|
7277
7279
|
var Ol = Xr.exports;
|
|
7278
|
-
const Fr = /* @__PURE__ */ Oi(Ol)
|
|
7280
|
+
const Fr = /* @__PURE__ */ Oi(Ol);
|
|
7281
|
+
async function Ll(e, t) {
|
|
7282
|
+
return (await Ce.post(t + "/getFileSize", e)).data;
|
|
7283
|
+
}
|
|
7284
|
+
const Sl = ({ width: e, height: t }) => /* @__PURE__ */ u.jsxs("svg", { width: e, height: t, viewBox: "0 0 105 105", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
7279
7285
|
/* @__PURE__ */ u.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M42.2918 79.3302C42.5513 78.6026 43.0293 77.973 43.6602 77.5273C44.2911 77.0816 45.0443 76.8416 45.8168 76.8402H59.2418C60.0143 76.8416 60.7675 77.0816 61.3984 77.5273C62.0293 77.973 62.5072 78.6026 62.7668 79.3302L67.9193 93.7152H75.0293C76.5211 93.7152 77.9519 94.3078 79.0068 95.3627C80.0617 96.4176 80.6543 97.8484 80.6543 99.3402C80.6543 100.832 80.0617 102.263 79.0068 103.318C77.9519 104.373 76.5211 104.965 75.0293 104.965H30.0293C28.5375 104.965 27.1067 104.373 26.0518 103.318C24.9969 102.263 24.4043 100.832 24.4043 99.3402C24.4043 97.8484 24.9969 96.4176 26.0518 95.3627C27.1067 94.3078 28.5375 93.7152 30.0293 93.7152H37.1393L42.2843 79.3302H42.2918Z", fill: "#3F008E" }),
|
|
7280
7286
|
/* @__PURE__ */ u.jsx("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M69.6975 22.1831H69.375V7.50562C69.375 6.21562 69.225 4.96312 68.955 3.75562H94.08C100.103 3.75562 105 8.64562 105 14.6831V71.5781C105 77.6156 100.11 82.5056 94.0725 82.5056H10.9275C9.49248 82.5056 8.07151 82.223 6.74573 81.6738C5.41994 81.1247 4.2153 80.3197 3.20059 79.305C2.18588 78.2903 1.38096 77.0857 0.831806 75.7599C0.282648 74.4341 0 73.0131 0 71.5781L0 14.6831C0 8.64562 4.89 3.75562 10.9275 3.75562H36.045C35.7657 4.98606 35.6248 6.24387 35.625 7.50562V22.1831H35.3025C23.61 22.1831 17.7525 36.3206 26.025 44.5931L43.2225 61.7906C45.6836 64.25 49.0206 65.6316 52.5 65.6316C55.9794 65.6316 59.3164 64.25 61.7775 61.7906L78.975 44.5931C87.2475 36.3206 81.39 22.1831 69.6975 22.1831Z", fill: "#7101FF" }),
|
|
7281
7287
|
/* @__PURE__ */ u.jsx("path", { d: "M55.1876 55.1551L72.3776 37.9501C72.903 37.4261 73.2611 36.758 73.4066 36.0304C73.552 35.3028 73.4784 34.5484 73.195 33.8626C72.9115 33.1769 72.431 32.5906 71.8142 32.1781C71.1974 31.7656 70.4722 31.5453 69.7301 31.5451H60.0326V7.50012C60.0326 5.511 59.2425 3.60334 57.8359 2.19682C56.4294 0.790299 54.5218 0.00012207 52.5326 0.00012207C50.5435 0.00012207 48.6359 0.790299 47.2293 2.19682C45.8228 3.60334 45.0326 5.511 45.0326 7.50012V31.5526H35.3351C34.5931 31.5528 33.8678 31.7731 33.2511 32.1856C32.6343 32.5981 32.1538 33.1844 31.8703 33.8701C31.5869 34.5559 31.5132 35.3103 31.6587 36.0379C31.8042 36.7655 32.1623 37.4336 32.6876 37.9576L49.8776 55.1551C50.226 55.5044 50.6398 55.7814 51.0954 55.9705C51.551 56.1595 52.0394 56.2568 52.5326 56.2568C53.0259 56.2568 53.5143 56.1595 53.9699 55.9705C54.4255 55.7814 54.8393 55.5044 55.1876 55.1551Z", fill: "#3F008E" })
|
|
7282
|
-
] }),
|
|
7288
|
+
] }), El = ({ setIsExceedingFileSizeAccepted: e, closeModal: t, setLoading: r }) => {
|
|
7283
7289
|
const n = () => {
|
|
7284
7290
|
t(), e(!1), r(!0);
|
|
7285
7291
|
};
|
|
@@ -7324,7 +7330,7 @@ const Fr = /* @__PURE__ */ Oi(Ol), Ll = ({ width: e, height: t }) => /* @__PURE_
|
|
|
7324
7330
|
children: /* @__PURE__ */ u.jsx("img", { src: Ao, alt: "close image" })
|
|
7325
7331
|
}
|
|
7326
7332
|
) }),
|
|
7327
|
-
/* @__PURE__ */ u.jsx("div", { className: "mt-5 h-[150px] w-full ", children: /* @__PURE__ */ u.jsx("div", { className: "flex h-full w-full items-center justify-center", children: /* @__PURE__ */ u.jsx(
|
|
7333
|
+
/* @__PURE__ */ u.jsx("div", { className: "mt-5 h-[150px] w-full ", children: /* @__PURE__ */ u.jsx("div", { className: "flex h-full w-full items-center justify-center", children: /* @__PURE__ */ u.jsx(Sl, { width: 100, height: 100 }) }) }),
|
|
7328
7334
|
/* @__PURE__ */ u.jsx("div", { className: "mb-5 h-[50px] w-full", children: /* @__PURE__ */ u.jsx("div", { className: "flex h-full w-full items-center justify-center", children: /* @__PURE__ */ u.jsx("span", { className: "text-3xl font-bold text-flex-purple", children: "Playable Size Too Big" }) }) }),
|
|
7329
7335
|
/* @__PURE__ */ u.jsx("div", { className: "mb-3 h-[50px] w-full", children: /* @__PURE__ */ u.jsx("div", { className: "flex h-full w-full items-center justify-center", children: /* @__PURE__ */ u.jsxs("span", { className: "text-center align-middle text-lg text-black", children: [
|
|
7330
7336
|
"Please be aware that your playable is larger than 5 MB.",
|
|
@@ -7353,7 +7359,7 @@ const Fr = /* @__PURE__ */ Oi(Ol), Ll = ({ width: e, height: t }) => /* @__PURE_
|
|
|
7353
7359
|
]
|
|
7354
7360
|
}
|
|
7355
7361
|
);
|
|
7356
|
-
},
|
|
7362
|
+
}, kl = ({ onClose: e, url: t }) => /* @__PURE__ */ u.jsxs(
|
|
7357
7363
|
"div",
|
|
7358
7364
|
{
|
|
7359
7365
|
style: {
|
|
@@ -7465,7 +7471,7 @@ const Fr = /* @__PURE__ */ Oi(Ol), Ll = ({ width: e, height: t }) => /* @__PURE_
|
|
|
7465
7471
|
)
|
|
7466
7472
|
]
|
|
7467
7473
|
}
|
|
7468
|
-
),
|
|
7474
|
+
), jl = ({
|
|
7469
7475
|
visible: e,
|
|
7470
7476
|
closeModal: t,
|
|
7471
7477
|
versionId: r,
|
|
@@ -7481,25 +7487,31 @@ const Fr = /* @__PURE__ */ Oi(Ol), Ll = ({ width: e, height: t }) => /* @__PURE_
|
|
|
7481
7487
|
fetchFileUrl: g,
|
|
7482
7488
|
copyLinkUrl: h
|
|
7483
7489
|
}) => {
|
|
7484
|
-
const [p, q] = U(window.innerWidth), [
|
|
7485
|
-
|
|
7486
|
-
|
|
7490
|
+
const [p, q] = U(window.innerWidth), [I, K] = U(!1), [E, J] = U(s), [W, b] = U(!1), [V, F] = U(!0), [B, se] = U(null), [le, ue] = U(""), _ = (C) => {
|
|
7491
|
+
Ll({ _id: C, network: "applovin" }, A).then((M) => {
|
|
7492
|
+
M.size >= 5 ? b(!0) : b(!1), se(M.size);
|
|
7493
|
+
}).finally(() => {
|
|
7494
|
+
F(!1);
|
|
7495
|
+
});
|
|
7496
|
+
}, j = async () => {
|
|
7497
|
+
a === "Flex" ? $t({ _id: r, network: "default" }, A).then((C) => {
|
|
7498
|
+
K(!0), J(g + "/" + C.url), _(r);
|
|
7487
7499
|
}).catch(() => {
|
|
7488
7500
|
F(!1);
|
|
7489
|
-
}) : a === "Import" ? er(A, r, "default").then((
|
|
7490
|
-
K(!0), J(g + "/" +
|
|
7491
|
-
}) : Wt(A, r, "", "default", !1, 0, {}).then((
|
|
7492
|
-
K(!0), J(g + "/" +
|
|
7501
|
+
}) : a === "Import" ? er(A, r, "default").then((C) => {
|
|
7502
|
+
K(!0), J(g + "/" + C.url), F(!1);
|
|
7503
|
+
}) : Wt(A, r, "", "default", !1, 0, {}).then((C) => {
|
|
7504
|
+
K(!0), J(g + "/" + C.url), F(!1);
|
|
7493
7505
|
});
|
|
7494
7506
|
};
|
|
7495
7507
|
return xe(() => {
|
|
7496
|
-
e ?
|
|
7508
|
+
e ? I || (j(), K(!0)) : (K(!1), J(""));
|
|
7497
7509
|
}, [e]), xe(() => {
|
|
7498
|
-
const
|
|
7510
|
+
const C = () => {
|
|
7499
7511
|
q(window.innerWidth);
|
|
7500
7512
|
};
|
|
7501
|
-
return window.addEventListener("resize",
|
|
7502
|
-
window.removeEventListener("resize",
|
|
7513
|
+
return window.addEventListener("resize", C), () => {
|
|
7514
|
+
window.removeEventListener("resize", C);
|
|
7503
7515
|
};
|
|
7504
7516
|
}, []), V && e ? /* @__PURE__ */ u.jsx(u.Fragment, { children: /* @__PURE__ */ u.jsx(
|
|
7505
7517
|
Fr,
|
|
@@ -7559,15 +7571,15 @@ const Fr = /* @__PURE__ */ Oi(Ol), Ll = ({ width: e, height: t }) => /* @__PURE_
|
|
|
7559
7571
|
) }) : V && a === "Flex" ? null : (console.log("typeOfProduct:", a), /* @__PURE__ */ u.jsxs(
|
|
7560
7572
|
"div",
|
|
7561
7573
|
{
|
|
7562
|
-
onMouseDown: (
|
|
7563
|
-
|
|
7574
|
+
onMouseDown: (C) => {
|
|
7575
|
+
C.stopPropagation();
|
|
7564
7576
|
},
|
|
7565
|
-
onMouseUp: (
|
|
7566
|
-
|
|
7577
|
+
onMouseUp: (C) => {
|
|
7578
|
+
C.stopPropagation();
|
|
7567
7579
|
},
|
|
7568
7580
|
children: [
|
|
7569
7581
|
a === "Flex" && W && e && /* @__PURE__ */ u.jsx(
|
|
7570
|
-
|
|
7582
|
+
El,
|
|
7571
7583
|
{
|
|
7572
7584
|
setIsExceedingFileSizeAccepted: b,
|
|
7573
7585
|
closeModal: t,
|
|
@@ -7639,13 +7651,13 @@ const Fr = /* @__PURE__ */ Oi(Ol), Ll = ({ width: e, height: t }) => /* @__PURE_
|
|
|
7639
7651
|
}
|
|
7640
7652
|
),
|
|
7641
7653
|
/* @__PURE__ */ u.jsxs(ki, { children: [
|
|
7642
|
-
|
|
7654
|
+
I ? /* @__PURE__ */ u.jsx(
|
|
7643
7655
|
QA,
|
|
7644
7656
|
{
|
|
7645
7657
|
versionName: o,
|
|
7646
7658
|
versionId: r,
|
|
7647
7659
|
typeOfProduct: a,
|
|
7648
|
-
iframeUrl:
|
|
7660
|
+
iframeUrl: E,
|
|
7649
7661
|
api: A,
|
|
7650
7662
|
fetchFileUrl: g,
|
|
7651
7663
|
copyLinkUrl: h,
|
|
@@ -7698,7 +7710,7 @@ const Fr = /* @__PURE__ */ Oi(Ol), Ll = ({ width: e, height: t }) => /* @__PURE_
|
|
|
7698
7710
|
] }),
|
|
7699
7711
|
/* @__PURE__ */ u.jsx(Hr, {}),
|
|
7700
7712
|
le && /* @__PURE__ */ u.jsx(
|
|
7701
|
-
|
|
7713
|
+
kl,
|
|
7702
7714
|
{
|
|
7703
7715
|
onClose: () => {
|
|
7704
7716
|
$e(le), ue("");
|
|
@@ -7714,6 +7726,6 @@ const Fr = /* @__PURE__ */ Oi(Ol), Ll = ({ width: e, height: t }) => /* @__PURE_
|
|
|
7714
7726
|
));
|
|
7715
7727
|
};
|
|
7716
7728
|
export {
|
|
7717
|
-
|
|
7729
|
+
jl as DownloadModal
|
|
7718
7730
|
};
|
|
7719
7731
|
//# sourceMappingURL=index.es.js.map
|