gearboxdownloadmodal 3.0.12 → 3.0.14
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 +247 -231
- 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
|
@@ -370,7 +370,7 @@ function wa() {
|
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
var ea = Array.isArray;
|
|
373
|
-
function
|
|
373
|
+
function lr(s) {
|
|
374
374
|
return ea(s);
|
|
375
375
|
}
|
|
376
376
|
function ta(s) {
|
|
@@ -398,8 +398,8 @@ function wa() {
|
|
|
398
398
|
ref: !0,
|
|
399
399
|
__self: !0,
|
|
400
400
|
__source: !0
|
|
401
|
-
}, sn, ln,
|
|
402
|
-
|
|
401
|
+
}, sn, ln, ur;
|
|
402
|
+
ur = {};
|
|
403
403
|
function Aa(s) {
|
|
404
404
|
if (xt.call(s, "ref")) {
|
|
405
405
|
var Z = Object.getOwnPropertyDescriptor(s, "ref").get;
|
|
@@ -419,7 +419,7 @@ function wa() {
|
|
|
419
419
|
function oa(s, Z) {
|
|
420
420
|
if (typeof s.ref == "string" && ht.current && Z && ht.current.stateNode !== Z) {
|
|
421
421
|
var O = G(ht.current.type);
|
|
422
|
-
|
|
422
|
+
ur[O] || (L('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', G(ht.current.type), s.ref), ur[O] = !0);
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
425
|
function ia(s, Z) {
|
|
@@ -491,7 +491,7 @@ function wa() {
|
|
|
491
491
|
return la(s, B, ve, re, D, ht.current, U);
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
var
|
|
494
|
+
var cr = w.ReactCurrentOwner, un = w.ReactDebugCurrentFrame;
|
|
495
495
|
function ot(s) {
|
|
496
496
|
if (s) {
|
|
497
497
|
var Z = s._owner, O = Ve(s.type, s._source, Z ? Z.type : null);
|
|
@@ -499,15 +499,15 @@ function wa() {
|
|
|
499
499
|
} else
|
|
500
500
|
un.setExtraStackFrame(null);
|
|
501
501
|
}
|
|
502
|
-
var
|
|
503
|
-
|
|
504
|
-
function
|
|
502
|
+
var mr;
|
|
503
|
+
mr = !1;
|
|
504
|
+
function dr(s) {
|
|
505
505
|
return typeof s == "object" && s !== null && s.$$typeof === t;
|
|
506
506
|
}
|
|
507
507
|
function cn() {
|
|
508
508
|
{
|
|
509
|
-
if (
|
|
510
|
-
var s = G(
|
|
509
|
+
if (cr.current) {
|
|
510
|
+
var s = G(cr.current.type);
|
|
511
511
|
if (s)
|
|
512
512
|
return `
|
|
513
513
|
|
|
@@ -550,25 +550,25 @@ Check the top-level render call using <` + O + ">.");
|
|
|
550
550
|
return;
|
|
551
551
|
mn[O] = !0;
|
|
552
552
|
var D = "";
|
|
553
|
-
s && s._owner && s._owner !==
|
|
553
|
+
s && s._owner && s._owner !== cr.current && (D = " It was passed a child from " + G(s._owner.type) + "."), ot(s), L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', O, D), ot(null);
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
function pn(s, Z) {
|
|
557
557
|
{
|
|
558
558
|
if (typeof s != "object")
|
|
559
559
|
return;
|
|
560
|
-
if (
|
|
560
|
+
if (lr(s))
|
|
561
561
|
for (var O = 0; O < s.length; O++) {
|
|
562
562
|
var D = s[O];
|
|
563
|
-
|
|
563
|
+
dr(D) && dn(D, Z);
|
|
564
564
|
}
|
|
565
|
-
else if (
|
|
565
|
+
else if (dr(s))
|
|
566
566
|
s._store && (s._store.validated = !0);
|
|
567
567
|
else if (s) {
|
|
568
568
|
var re = C(s);
|
|
569
569
|
if (typeof re == "function" && re !== s.entries)
|
|
570
570
|
for (var ie = re.call(s), U; !(U = ie.next()).done; )
|
|
571
|
-
|
|
571
|
+
dr(U.value) && dn(U.value, Z);
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
574
|
}
|
|
@@ -589,8 +589,8 @@ Check the top-level render call using <` + O + ">.");
|
|
|
589
589
|
if (O) {
|
|
590
590
|
var D = G(Z);
|
|
591
591
|
$A(O, s.props, "prop", D, s);
|
|
592
|
-
} else if (Z.PropTypes !== void 0 && !
|
|
593
|
-
|
|
592
|
+
} else if (Z.PropTypes !== void 0 && !mr) {
|
|
593
|
+
mr = !0;
|
|
594
594
|
var re = G(Z);
|
|
595
595
|
L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", re || "Unknown");
|
|
596
596
|
}
|
|
@@ -618,7 +618,7 @@ Check the top-level render call using <` + O + ">.");
|
|
|
618
618
|
var ve = ca(re);
|
|
619
619
|
ve ? B += ve : B += cn();
|
|
620
620
|
var me;
|
|
621
|
-
s === null ? me = "null" :
|
|
621
|
+
s === null ? me = "null" : lr(s) ? me = "array" : s !== void 0 && s.$$typeof === t ? (me = "<" + (G(s.type) || "Unknown") + " />", B = " Did you accidentally export a JSX literal instead of a component?") : me = typeof s, L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", me, B);
|
|
622
622
|
}
|
|
623
623
|
var de = ua(s, Z, O, re, ie);
|
|
624
624
|
if (de == null)
|
|
@@ -627,7 +627,7 @@ Check the top-level render call using <` + O + ">.");
|
|
|
627
627
|
var Ie = Z.children;
|
|
628
628
|
if (Ie !== void 0)
|
|
629
629
|
if (D)
|
|
630
|
-
if (
|
|
630
|
+
if (lr(Ie)) {
|
|
631
631
|
for (var it = 0; it < Ie.length; it++)
|
|
632
632
|
pn(Ie[it], s);
|
|
633
633
|
Object.freeze && Object.freeze(Ie);
|
|
@@ -713,7 +713,7 @@ const Wa = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzIiIHZpZX
|
|
|
713
713
|
children: e
|
|
714
714
|
}
|
|
715
715
|
);
|
|
716
|
-
var
|
|
716
|
+
var _t = {}, $n = {
|
|
717
717
|
MODE_NUMBER: 1,
|
|
718
718
|
MODE_ALPHA_NUM: 2,
|
|
719
719
|
MODE_8BIT_BYTE: 4,
|
|
@@ -1552,10 +1552,10 @@ object-assign
|
|
|
1552
1552
|
(c) Sindre Sorhus
|
|
1553
1553
|
@license MIT
|
|
1554
1554
|
*/
|
|
1555
|
-
var
|
|
1555
|
+
var pr, Cn;
|
|
1556
1556
|
function Ra() {
|
|
1557
1557
|
if (Cn)
|
|
1558
|
-
return
|
|
1558
|
+
return pr;
|
|
1559
1559
|
Cn = 1;
|
|
1560
1560
|
var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, r = Object.prototype.propertyIsEnumerable;
|
|
1561
1561
|
function n(a) {
|
|
@@ -1585,7 +1585,7 @@ function Ra() {
|
|
|
1585
1585
|
return !1;
|
|
1586
1586
|
}
|
|
1587
1587
|
}
|
|
1588
|
-
return
|
|
1588
|
+
return pr = A() ? Object.assign : function(a, o) {
|
|
1589
1589
|
for (var i, c = n(a), l, u = 1; u < arguments.length; u++) {
|
|
1590
1590
|
i = Object(arguments[u]);
|
|
1591
1591
|
for (var m in i)
|
|
@@ -1597,24 +1597,24 @@ function Ra() {
|
|
|
1597
1597
|
}
|
|
1598
1598
|
}
|
|
1599
1599
|
return c;
|
|
1600
|
-
},
|
|
1600
|
+
}, pr;
|
|
1601
1601
|
}
|
|
1602
|
-
var
|
|
1602
|
+
var fr, In;
|
|
1603
1603
|
function Hr() {
|
|
1604
1604
|
if (In)
|
|
1605
|
-
return
|
|
1605
|
+
return fr;
|
|
1606
1606
|
In = 1;
|
|
1607
1607
|
var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
1608
|
-
return
|
|
1608
|
+
return fr = e, fr;
|
|
1609
1609
|
}
|
|
1610
|
-
var
|
|
1610
|
+
var hr, Kn;
|
|
1611
1611
|
function sA() {
|
|
1612
|
-
return Kn || (Kn = 1,
|
|
1612
|
+
return Kn || (Kn = 1, hr = Function.call.bind(Object.prototype.hasOwnProperty)), hr;
|
|
1613
1613
|
}
|
|
1614
|
-
var
|
|
1614
|
+
var qr, wn;
|
|
1615
1615
|
function Ta() {
|
|
1616
1616
|
if (wn)
|
|
1617
|
-
return
|
|
1617
|
+
return qr;
|
|
1618
1618
|
wn = 1;
|
|
1619
1619
|
var e = function() {
|
|
1620
1620
|
};
|
|
@@ -1659,12 +1659,12 @@ function Ta() {
|
|
|
1659
1659
|
}
|
|
1660
1660
|
return A.resetWarningCache = function() {
|
|
1661
1661
|
process.env.NODE_ENV !== "production" && (r = {});
|
|
1662
|
-
},
|
|
1662
|
+
}, qr = A, qr;
|
|
1663
1663
|
}
|
|
1664
|
-
var
|
|
1664
|
+
var gr, Wn;
|
|
1665
1665
|
function Ha() {
|
|
1666
1666
|
if (Wn)
|
|
1667
|
-
return
|
|
1667
|
+
return gr;
|
|
1668
1668
|
Wn = 1;
|
|
1669
1669
|
var e = iA(), t = Ra(), r = Hr(), n = sA(), A = Ta(), a = function() {
|
|
1670
1670
|
};
|
|
@@ -1679,7 +1679,7 @@ function Ha() {
|
|
|
1679
1679
|
function o() {
|
|
1680
1680
|
return null;
|
|
1681
1681
|
}
|
|
1682
|
-
return
|
|
1682
|
+
return gr = function(i, c) {
|
|
1683
1683
|
var l = typeof Symbol == "function" && Symbol.iterator, u = "@@iterator";
|
|
1684
1684
|
function m(b) {
|
|
1685
1685
|
var I = b && (l && b[l] || b[u]);
|
|
@@ -1981,19 +1981,19 @@ Valid keys: ` + JSON.stringify(Object.keys(b), null, " ")
|
|
|
1981
1981
|
return !b.constructor || !b.constructor.name ? p : b.constructor.name;
|
|
1982
1982
|
}
|
|
1983
1983
|
return f.checkPropTypes = A, f.resetWarningCache = A.resetWarningCache, f.PropTypes = f, f;
|
|
1984
|
-
},
|
|
1984
|
+
}, gr;
|
|
1985
1985
|
}
|
|
1986
|
-
var
|
|
1986
|
+
var vr, On;
|
|
1987
1987
|
function Xa() {
|
|
1988
1988
|
if (On)
|
|
1989
|
-
return
|
|
1989
|
+
return vr;
|
|
1990
1990
|
On = 1;
|
|
1991
1991
|
var e = Hr();
|
|
1992
1992
|
function t() {
|
|
1993
1993
|
}
|
|
1994
1994
|
function r() {
|
|
1995
1995
|
}
|
|
1996
|
-
return r.resetWarningCache = t,
|
|
1996
|
+
return r.resetWarningCache = t, vr = function() {
|
|
1997
1997
|
function n(o, i, c, l, u, m) {
|
|
1998
1998
|
if (m !== e) {
|
|
1999
1999
|
var p = new Error(
|
|
@@ -2030,14 +2030,14 @@ function Xa() {
|
|
|
2030
2030
|
resetWarningCache: t
|
|
2031
2031
|
};
|
|
2032
2032
|
return a.PropTypes = a, a;
|
|
2033
|
-
},
|
|
2033
|
+
}, vr;
|
|
2034
2034
|
}
|
|
2035
2035
|
if (process.env.NODE_ENV !== "production") {
|
|
2036
2036
|
var Qa = iA(), Pa = !0;
|
|
2037
2037
|
Sr.exports = Ha()(Qa.isElement, Pa);
|
|
2038
2038
|
} else
|
|
2039
2039
|
Sr.exports = Xa()();
|
|
2040
|
-
var
|
|
2040
|
+
var $t = Sr.exports, Xr = {};
|
|
2041
2041
|
Object.defineProperty(Xr, "__esModule", {
|
|
2042
2042
|
value: !0
|
|
2043
2043
|
});
|
|
@@ -2048,7 +2048,7 @@ var Va = Object.assign || function(e) {
|
|
|
2048
2048
|
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
2049
2049
|
}
|
|
2050
2050
|
return e;
|
|
2051
|
-
}, Ba =
|
|
2051
|
+
}, Ba = $t, we = uA(Ba), lA = ne, zt = uA(lA);
|
|
2052
2052
|
function uA(e) {
|
|
2053
2053
|
return e && e.__esModule ? e : { default: e };
|
|
2054
2054
|
}
|
|
@@ -2070,7 +2070,7 @@ var Ua = {
|
|
|
2070
2070
|
}, _a = {
|
|
2071
2071
|
title: void 0,
|
|
2072
2072
|
xmlns: "http://www.w3.org/2000/svg"
|
|
2073
|
-
},
|
|
2073
|
+
}, er = (0, lA.forwardRef)(function(e, t) {
|
|
2074
2074
|
var r = e.bgColor, n = e.bgD, A = e.fgD, a = e.fgColor, o = e.size, i = e.title, c = e.viewBoxSize, l = Fa(e, ["bgColor", "bgD", "fgD", "fgColor", "size", "title", "viewBoxSize"]);
|
|
2075
2075
|
return zt.default.createElement(
|
|
2076
2076
|
"svg",
|
|
@@ -2084,14 +2084,14 @@ var Ua = {
|
|
|
2084
2084
|
zt.default.createElement("path", { d: A, fill: a })
|
|
2085
2085
|
);
|
|
2086
2086
|
});
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2090
|
-
Xr.default =
|
|
2091
|
-
Object.defineProperty(
|
|
2087
|
+
er.displayName = "QRCodeSvg";
|
|
2088
|
+
er.propTypes = Ua;
|
|
2089
|
+
er.defaultProps = _a;
|
|
2090
|
+
Xr.default = er;
|
|
2091
|
+
Object.defineProperty(_t, "__esModule", {
|
|
2092
2092
|
value: !0
|
|
2093
2093
|
});
|
|
2094
|
-
|
|
2094
|
+
_t.QRCode = void 0;
|
|
2095
2095
|
var $a = Object.assign || function(e) {
|
|
2096
2096
|
for (var t = 1; t < arguments.length; t++) {
|
|
2097
2097
|
var r = arguments[t];
|
|
@@ -2099,7 +2099,7 @@ var $a = Object.assign || function(e) {
|
|
|
2099
2099
|
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
2100
2100
|
}
|
|
2101
2101
|
return e;
|
|
2102
|
-
}, eo = Na, to = wt(eo), ro = tA, no = wt(ro), Ao =
|
|
2102
|
+
}, eo = Na, to = wt(eo), ro = tA, no = wt(ro), Ao = $t, De = wt(Ao), cA = ne, ao = wt(cA), oo = Xr, io = wt(oo);
|
|
2103
2103
|
function wt(e) {
|
|
2104
2104
|
return e && e.__esModule ? e : { default: e };
|
|
2105
2105
|
}
|
|
@@ -2142,11 +2142,11 @@ var lo = {
|
|
|
2142
2142
|
viewBoxSize: l.length
|
|
2143
2143
|
}));
|
|
2144
2144
|
});
|
|
2145
|
-
|
|
2145
|
+
_t.QRCode = Wt;
|
|
2146
2146
|
Wt.displayName = "QRCode";
|
|
2147
2147
|
Wt.propTypes = lo;
|
|
2148
2148
|
Wt.defaultProps = uo;
|
|
2149
|
-
var co =
|
|
2149
|
+
var co = _t.default = Wt;
|
|
2150
2150
|
const mA = ({
|
|
2151
2151
|
title: e,
|
|
2152
2152
|
titleId: t,
|
|
@@ -2191,10 +2191,10 @@ function dA(e, t) {
|
|
|
2191
2191
|
return e.apply(t, arguments);
|
|
2192
2192
|
};
|
|
2193
2193
|
}
|
|
2194
|
-
const { toString: mo } = Object.prototype, { getPrototypeOf: Qr } = Object,
|
|
2194
|
+
const { toString: mo } = Object.prototype, { getPrototypeOf: Qr } = Object, tr = ((e) => (t) => {
|
|
2195
2195
|
const r = mo.call(t);
|
|
2196
2196
|
return e[r] || (e[r] = r.slice(8, -1).toLowerCase());
|
|
2197
|
-
})(/* @__PURE__ */ Object.create(null)), Je = (e) => (e = e.toLowerCase(), (t) =>
|
|
2197
|
+
})(/* @__PURE__ */ Object.create(null)), Je = (e) => (e = e.toLowerCase(), (t) => tr(t) === e), rr = (e) => (t) => typeof t === e, { isArray: mt } = Array, Ct = rr("undefined");
|
|
2198
2198
|
function po(e) {
|
|
2199
2199
|
return e !== null && !Ct(e) && e.constructor !== null && !Ct(e.constructor) && Oe(e.constructor.isBuffer) && e.constructor.isBuffer(e);
|
|
2200
2200
|
}
|
|
@@ -2203,14 +2203,14 @@ function fo(e) {
|
|
|
2203
2203
|
let t;
|
|
2204
2204
|
return typeof ArrayBuffer < "u" && ArrayBuffer.isView ? t = ArrayBuffer.isView(e) : t = e && e.buffer && pA(e.buffer), t;
|
|
2205
2205
|
}
|
|
2206
|
-
const ho =
|
|
2207
|
-
if (
|
|
2206
|
+
const ho = rr("string"), Oe = rr("function"), fA = rr("number"), nr = (e) => e !== null && typeof e == "object", qo = (e) => e === !0 || e === !1, Dt = (e) => {
|
|
2207
|
+
if (tr(e) !== "object")
|
|
2208
2208
|
return !1;
|
|
2209
2209
|
const t = Qr(e);
|
|
2210
2210
|
return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
|
|
2211
|
-
}, go = Je("Date"), vo = Je("File"), yo = Je("Blob"), bo = Je("FileList"), Zo = (e) =>
|
|
2211
|
+
}, go = Je("Date"), vo = Je("File"), yo = Je("Blob"), bo = Je("FileList"), Zo = (e) => nr(e) && Oe(e.pipe), Co = (e) => {
|
|
2212
2212
|
let t;
|
|
2213
|
-
return e && (typeof FormData == "function" && e instanceof FormData || Oe(e.append) && ((t =
|
|
2213
|
+
return e && (typeof FormData == "function" && e instanceof FormData || Oe(e.append) && ((t = tr(e)) === "formdata" || // detect form-data instance
|
|
2214
2214
|
t === "object" && Oe(e.toString) && e.toString() === "[object FormData]"));
|
|
2215
2215
|
}, Io = Je("URLSearchParams"), Ko = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
|
|
2216
2216
|
function Ot(e, t, { allOwnKeys: r = !1 } = {}) {
|
|
@@ -2326,10 +2326,10 @@ const wo = (e, t, r, { allOwnKeys: n } = {}) => (Ot(t, (A, a) => {
|
|
|
2326
2326
|
};
|
|
2327
2327
|
return mt(e) ? n(e) : n(String(e).split(t)), r;
|
|
2328
2328
|
}, Do = () => {
|
|
2329
|
-
}, Go = (e, t) => (e = +e, Number.isFinite(e) ? e : t),
|
|
2329
|
+
}, Go = (e, t) => (e = +e, Number.isFinite(e) ? e : t), yr = "abcdefghijklmnopqrstuvwxyz", Sn = "0123456789", yA = {
|
|
2330
2330
|
DIGIT: Sn,
|
|
2331
|
-
ALPHA:
|
|
2332
|
-
ALPHA_DIGIT:
|
|
2331
|
+
ALPHA: yr,
|
|
2332
|
+
ALPHA_DIGIT: yr + yr.toUpperCase() + Sn
|
|
2333
2333
|
}, Ro = (e = 16, t = yA.ALPHA_DIGIT) => {
|
|
2334
2334
|
let r = "";
|
|
2335
2335
|
const { length: n } = t;
|
|
@@ -2342,7 +2342,7 @@ function To(e) {
|
|
|
2342
2342
|
}
|
|
2343
2343
|
const Ho = (e) => {
|
|
2344
2344
|
const t = new Array(10), r = (n, A) => {
|
|
2345
|
-
if (
|
|
2345
|
+
if (nr(n)) {
|
|
2346
2346
|
if (t.indexOf(n) >= 0)
|
|
2347
2347
|
return;
|
|
2348
2348
|
if (!("toJSON" in n)) {
|
|
@@ -2357,7 +2357,7 @@ const Ho = (e) => {
|
|
|
2357
2357
|
return n;
|
|
2358
2358
|
};
|
|
2359
2359
|
return r(e, 0);
|
|
2360
|
-
}, Xo = Je("AsyncFunction"), Qo = (e) => e && (
|
|
2360
|
+
}, Xo = Je("AsyncFunction"), Qo = (e) => e && (nr(e) || Oe(e)) && Oe(e.then) && Oe(e.catch), y = {
|
|
2361
2361
|
isArray: mt,
|
|
2362
2362
|
isArrayBuffer: pA,
|
|
2363
2363
|
isBuffer: po,
|
|
@@ -2366,7 +2366,7 @@ const Ho = (e) => {
|
|
|
2366
2366
|
isString: ho,
|
|
2367
2367
|
isNumber: fA,
|
|
2368
2368
|
isBoolean: qo,
|
|
2369
|
-
isObject:
|
|
2369
|
+
isObject: nr,
|
|
2370
2370
|
isPlainObject: Dt,
|
|
2371
2371
|
isUndefined: Ct,
|
|
2372
2372
|
isDate: go,
|
|
@@ -2385,7 +2385,7 @@ const Ho = (e) => {
|
|
|
2385
2385
|
stripBOM: Wo,
|
|
2386
2386
|
inherits: Oo,
|
|
2387
2387
|
toFlatObject: Mo,
|
|
2388
|
-
kindOf:
|
|
2388
|
+
kindOf: tr,
|
|
2389
2389
|
kindOfTest: Je,
|
|
2390
2390
|
endsWith: So,
|
|
2391
2391
|
toArray: xo,
|
|
@@ -2479,7 +2479,7 @@ function Vo(e) {
|
|
|
2479
2479
|
const Bo = y.toFlatObject(y, {}, null, function(t) {
|
|
2480
2480
|
return /^is[A-Z]/.test(t);
|
|
2481
2481
|
});
|
|
2482
|
-
function
|
|
2482
|
+
function Ar(e, t, r) {
|
|
2483
2483
|
if (!y.isObject(e))
|
|
2484
2484
|
throw new TypeError("target must be an object");
|
|
2485
2485
|
t = t || new FormData(), r = y.toFlatObject(r, {
|
|
@@ -2556,7 +2556,7 @@ function En(e) {
|
|
|
2556
2556
|
});
|
|
2557
2557
|
}
|
|
2558
2558
|
function Pr(e, t) {
|
|
2559
|
-
this._pairs = [], e &&
|
|
2559
|
+
this._pairs = [], e && Ar(e, this, t);
|
|
2560
2560
|
}
|
|
2561
2561
|
const IA = Pr.prototype;
|
|
2562
2562
|
IA.append = function(t, r) {
|
|
@@ -2658,7 +2658,7 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function")(),
|
|
|
2658
2658
|
protocols: ["http", "https", "file", "blob", "url", "data"]
|
|
2659
2659
|
};
|
|
2660
2660
|
function ni(e, t) {
|
|
2661
|
-
return
|
|
2661
|
+
return Ar(e, new xe.classes.URLSearchParams(), Object.assign({
|
|
2662
2662
|
visitor: function(r, n, A, a) {
|
|
2663
2663
|
return xe.isNode && y.isBuffer(r) ? (this.append(n, r.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
|
|
2664
2664
|
}
|
|
@@ -2719,7 +2719,7 @@ const Vr = {
|
|
|
2719
2719
|
return ni(t, this.formSerializer).toString();
|
|
2720
2720
|
if ((i = y.isFileList(t)) || n.indexOf("multipart/form-data") > -1) {
|
|
2721
2721
|
const c = this.env && this.env.FormData;
|
|
2722
|
-
return
|
|
2722
|
+
return Ar(
|
|
2723
2723
|
i ? { "files[]": t } : t,
|
|
2724
2724
|
c && new c(),
|
|
2725
2725
|
this.formSerializer
|
|
@@ -2807,7 +2807,7 @@ function li(e) {
|
|
|
2807
2807
|
return t;
|
|
2808
2808
|
}
|
|
2809
2809
|
const ui = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
|
|
2810
|
-
function
|
|
2810
|
+
function br(e, t, r, n, A) {
|
|
2811
2811
|
if (y.isFunction(n))
|
|
2812
2812
|
return n.call(this, t, r);
|
|
2813
2813
|
if (A && (t = r), !!y.isString(t)) {
|
|
@@ -2831,7 +2831,7 @@ function mi(e, t) {
|
|
|
2831
2831
|
});
|
|
2832
2832
|
});
|
|
2833
2833
|
}
|
|
2834
|
-
class
|
|
2834
|
+
class ar {
|
|
2835
2835
|
constructor(t) {
|
|
2836
2836
|
t && this.set(t);
|
|
2837
2837
|
}
|
|
@@ -2867,7 +2867,7 @@ class or {
|
|
|
2867
2867
|
has(t, r) {
|
|
2868
2868
|
if (t = vt(t), t) {
|
|
2869
2869
|
const n = y.findKey(this, t);
|
|
2870
|
-
return !!(n && this[n] !== void 0 && (!r ||
|
|
2870
|
+
return !!(n && this[n] !== void 0 && (!r || br(this, this[n], n, r)));
|
|
2871
2871
|
}
|
|
2872
2872
|
return !1;
|
|
2873
2873
|
}
|
|
@@ -2877,7 +2877,7 @@ class or {
|
|
|
2877
2877
|
function a(o) {
|
|
2878
2878
|
if (o = vt(o), o) {
|
|
2879
2879
|
const i = y.findKey(n, o);
|
|
2880
|
-
i && (!r ||
|
|
2880
|
+
i && (!r || br(n, n[i], i, r)) && (delete n[i], A = !0);
|
|
2881
2881
|
}
|
|
2882
2882
|
}
|
|
2883
2883
|
return y.isArray(t) ? t.forEach(a) : a(t), A;
|
|
@@ -2887,7 +2887,7 @@ class or {
|
|
|
2887
2887
|
let n = r.length, A = !1;
|
|
2888
2888
|
for (; n--; ) {
|
|
2889
2889
|
const a = r[n];
|
|
2890
|
-
(!t ||
|
|
2890
|
+
(!t || br(this, this[a], a, t, !0)) && (delete this[a], A = !0);
|
|
2891
2891
|
}
|
|
2892
2892
|
return A;
|
|
2893
2893
|
}
|
|
@@ -2940,8 +2940,8 @@ class or {
|
|
|
2940
2940
|
return y.isArray(t) ? t.forEach(a) : a(t), this;
|
|
2941
2941
|
}
|
|
2942
2942
|
}
|
|
2943
|
-
|
|
2944
|
-
y.reduceDescriptors(
|
|
2943
|
+
ar.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
|
|
2944
|
+
y.reduceDescriptors(ar.prototype, ({ value: e }, t) => {
|
|
2945
2945
|
let r = t[0].toUpperCase() + t.slice(1);
|
|
2946
2946
|
return {
|
|
2947
2947
|
get: () => e,
|
|
@@ -2950,9 +2950,9 @@ y.reduceDescriptors(or.prototype, ({ value: e }, t) => {
|
|
|
2950
2950
|
}
|
|
2951
2951
|
};
|
|
2952
2952
|
});
|
|
2953
|
-
y.freezeMethods(
|
|
2954
|
-
const Ge =
|
|
2955
|
-
function
|
|
2953
|
+
y.freezeMethods(ar);
|
|
2954
|
+
const Ge = ar;
|
|
2955
|
+
function Zr(e, t) {
|
|
2956
2956
|
const r = this || Br, n = t || r, A = Ge.from(n.headers);
|
|
2957
2957
|
let a = n.data;
|
|
2958
2958
|
return y.forEach(e, function(i) {
|
|
@@ -3187,22 +3187,22 @@ const SA = {
|
|
|
3187
3187
|
},
|
|
3188
3188
|
adapters: Rt
|
|
3189
3189
|
};
|
|
3190
|
-
function
|
|
3190
|
+
function Cr(e) {
|
|
3191
3191
|
if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
|
|
3192
3192
|
throw new Mt(null, e);
|
|
3193
3193
|
}
|
|
3194
3194
|
function kn(e) {
|
|
3195
|
-
return
|
|
3195
|
+
return Cr(e), e.headers = Ge.from(e.headers), e.data = Zr.call(
|
|
3196
3196
|
e,
|
|
3197
3197
|
e.transformRequest
|
|
3198
3198
|
), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), SA.getAdapter(e.adapter || Br.adapter)(e).then(function(n) {
|
|
3199
|
-
return
|
|
3199
|
+
return Cr(e), n.data = Zr.call(
|
|
3200
3200
|
e,
|
|
3201
3201
|
e.transformResponse,
|
|
3202
3202
|
n
|
|
3203
3203
|
), n.headers = Ge.from(n.headers), n;
|
|
3204
3204
|
}, function(n) {
|
|
3205
|
-
return OA(n) || (
|
|
3205
|
+
return OA(n) || (Cr(e), n && n.response && (n.response.data = Zr.call(
|
|
3206
3206
|
e,
|
|
3207
3207
|
e.transformResponse,
|
|
3208
3208
|
n.response
|
|
@@ -3321,7 +3321,7 @@ const Lr = {
|
|
|
3321
3321
|
assertOptions: Zi,
|
|
3322
3322
|
validators: Fr
|
|
3323
3323
|
}, He = Lr.validators;
|
|
3324
|
-
class
|
|
3324
|
+
class Xt {
|
|
3325
3325
|
constructor(t) {
|
|
3326
3326
|
this.defaults = t, this.interceptors = {
|
|
3327
3327
|
request: new Ln(),
|
|
@@ -3402,7 +3402,7 @@ class Qt {
|
|
|
3402
3402
|
}
|
|
3403
3403
|
}
|
|
3404
3404
|
y.forEach(["delete", "get", "head", "options"], function(t) {
|
|
3405
|
-
|
|
3405
|
+
Xt.prototype[t] = function(r, n) {
|
|
3406
3406
|
return this.request(ct(n || {}, {
|
|
3407
3407
|
method: t,
|
|
3408
3408
|
url: r,
|
|
@@ -3423,9 +3423,9 @@ y.forEach(["post", "put", "patch"], function(t) {
|
|
|
3423
3423
|
}));
|
|
3424
3424
|
};
|
|
3425
3425
|
}
|
|
3426
|
-
|
|
3426
|
+
Xt.prototype[t] = r(), Xt.prototype[t + "Form"] = r(!0);
|
|
3427
3427
|
});
|
|
3428
|
-
const Tt =
|
|
3428
|
+
const Tt = Xt;
|
|
3429
3429
|
class Ur {
|
|
3430
3430
|
constructor(t) {
|
|
3431
3431
|
if (typeof t != "function")
|
|
@@ -3584,7 +3584,7 @@ pe.CanceledError = Mt;
|
|
|
3584
3584
|
pe.CancelToken = Ci;
|
|
3585
3585
|
pe.isCancel = OA;
|
|
3586
3586
|
pe.VERSION = xA;
|
|
3587
|
-
pe.toFormData =
|
|
3587
|
+
pe.toFormData = Ar;
|
|
3588
3588
|
pe.AxiosError = $;
|
|
3589
3589
|
pe.Cancel = pe.CanceledError;
|
|
3590
3590
|
pe.all = function(t) {
|
|
@@ -3674,7 +3674,7 @@ const Re = Wi.create({
|
|
|
3674
3674
|
Authorization: JA
|
|
3675
3675
|
}
|
|
3676
3676
|
});
|
|
3677
|
-
async function
|
|
3677
|
+
async function Qt(e, t, r, n, A, a, o, i) {
|
|
3678
3678
|
return (await Re.post(e + "/createPlayableVersionLink", {
|
|
3679
3679
|
_id: t,
|
|
3680
3680
|
nano: r,
|
|
@@ -3703,7 +3703,7 @@ function Xe() {
|
|
|
3703
3703
|
(e = arguments[r++]) && (t = NA(e)) && (n && (n += " "), n += t);
|
|
3704
3704
|
return n;
|
|
3705
3705
|
}
|
|
3706
|
-
const bt = (e) => typeof e == "number" && !isNaN(e), rt = (e) => typeof e == "string", ye = (e) => typeof e == "function", Ht = (e) => rt(e) || ye(e) ? e : null,
|
|
3706
|
+
const bt = (e) => typeof e == "number" && !isNaN(e), rt = (e) => typeof e == "string", ye = (e) => typeof e == "function", Ht = (e) => rt(e) || ye(e) ? e : null, Ir = (e) => ut(e) || rt(e) || ye(e) || bt(e);
|
|
3707
3707
|
function xi(e, t, r) {
|
|
3708
3708
|
r === void 0 && (r = 300);
|
|
3709
3709
|
const { scrollHeight: n, style: A } = e;
|
|
@@ -3713,7 +3713,7 @@ function xi(e, t, r) {
|
|
|
3713
3713
|
});
|
|
3714
3714
|
});
|
|
3715
3715
|
}
|
|
3716
|
-
function
|
|
3716
|
+
function or(e) {
|
|
3717
3717
|
let { enter: t, exit: r, appendPosition: n = !1, collapse: A = !0, collapseDuration: a = 300 } = e;
|
|
3718
3718
|
return function(o) {
|
|
3719
3719
|
let { children: i, position: c, preventExitTransition: l, done: u, nodeRef: m, isIn: p } = o;
|
|
@@ -3755,7 +3755,7 @@ const We = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map
|
|
|
3755
3755
|
} }, kt = (e) => {
|
|
3756
3756
|
let { theme: t, type: r, ...n } = e;
|
|
3757
3757
|
return ne.createElement("svg", { viewBox: "0 0 24 24", width: "100%", height: "100%", fill: t === "colored" ? "currentColor" : `var(--toastify-icon-color-${r})`, ...n });
|
|
3758
|
-
},
|
|
3758
|
+
}, Kr = { info: function(e) {
|
|
3759
3759
|
return ne.createElement(kt, { ...e }, ne.createElement("path", { d: "M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z" }));
|
|
3760
3760
|
}, warning: function(e) {
|
|
3761
3761
|
return ne.createElement(kt, { ...e }, ne.createElement("path", { d: "M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z" }));
|
|
@@ -3782,7 +3782,7 @@ function Ei(e) {
|
|
|
3782
3782
|
}
|
|
3783
3783
|
function m(f, q) {
|
|
3784
3784
|
let { delay: g, staleId: C, ...w } = q;
|
|
3785
|
-
if (!
|
|
3785
|
+
if (!Ir(f) || function(N) {
|
|
3786
3786
|
return !A.current || i.props.enableMultiContainer && N.containerId !== i.props.containerId || a.has(N.toastId) && N.updateId == null;
|
|
3787
3787
|
}(w))
|
|
3788
3788
|
return;
|
|
@@ -3812,8 +3812,8 @@ function Ei(e) {
|
|
|
3812
3812
|
Ae.iconOut = function(N) {
|
|
3813
3813
|
let { theme: G, type: K, isLoading: S, icon: W } = N, d = null;
|
|
3814
3814
|
const x = { theme: G, type: K };
|
|
3815
|
-
return W === !1 || (ye(W) ? d = W(x) : ut(W) ? d = Or(W, x) : rt(W) || bt(W) ? d = W : S ? d =
|
|
3816
|
-
}(Ae), ye(w.onOpen) && (Ae.onOpen = w.onOpen), ye(w.onClose) && (Ae.onClose = w.onClose), Ae.closeButton = v.closeButton, w.closeButton === !1 ||
|
|
3815
|
+
return W === !1 || (ye(W) ? d = W(x) : ut(W) ? d = Or(W, x) : rt(W) || bt(W) ? d = W : S ? d = Kr.spinner() : ((te) => te in Kr)(K) && (d = Kr[K](x))), d;
|
|
3816
|
+
}(Ae), ye(w.onOpen) && (Ae.onOpen = w.onOpen), ye(w.onClose) && (Ae.onClose = w.onClose), Ae.closeButton = v.closeButton, w.closeButton === !1 || Ir(w.closeButton) ? Ae.closeButton = w.closeButton : w.closeButton === !0 && (Ae.closeButton = !Ir(v.closeButton) || v.closeButton);
|
|
3817
3817
|
let ee = f;
|
|
3818
3818
|
ut(f) && !rt(f.type) ? ee = Or(f, { closeToast: Q, toastProps: Ae, data: E }) : ye(f) && (ee = f({ closeToast: Q, toastProps: Ae, data: E })), v.limit && v.limit > 0 && i.count > v.limit && ce ? i.queue.push({ toastContent: ee, toastProps: Ae, staleId: C }) : bt(g) ? setTimeout(() => {
|
|
3819
3819
|
p(ee, Ae, C);
|
|
@@ -3909,12 +3909,12 @@ const zi = (e) => {
|
|
|
3909
3909
|
const { isRunning: t, preventExitTransition: r, toastRef: n, eventHandlers: A } = Li(e), { closeButton: a, children: o, autoClose: i, onClick: c, type: l, hideProgressBar: u, closeToast: m, transition: p, position: f, className: q, style: g, bodyClassName: C, bodyStyle: w, progressClassName: L, progressStyle: z, updateId: E, role: v, progress: Q, rtl: ce, toastId: Ae, deleteToast: J, isIn: F, isLoading: ee, iconOut: N, closeOnClick: G, theme: K } = e, S = Xe("Toastify__toast", `Toastify__toast-theme--${K}`, `Toastify__toast--${l}`, { "Toastify__toast--rtl": ce }, { "Toastify__toast--close-on-click": G }), W = ye(q) ? q({ rtl: ce, position: f, type: l, defaultClassName: S }) : Xe(S, q), d = !!Q || !i, x = { closeToast: m, type: l, theme: K };
|
|
3910
3910
|
let te = null;
|
|
3911
3911
|
return a === !1 || (te = ye(a) ? a(x) : ut(a) ? Or(a, x) : DA(x)), ne.createElement(p, { isIn: F, done: J, position: f, preventExitTransition: r, nodeRef: n }, ne.createElement("div", { id: Ae, onClick: c, className: W, ...A, style: g, ref: n }, ne.createElement("div", { ...F && { role: v }, className: ye(C) ? C({ type: l }) : Xe("Toastify__toast-body", C), style: w }, N != null && ne.createElement("div", { className: Xe("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !ee }) }, N), ne.createElement("div", null, o)), te, ne.createElement(Yi, { ...E && !d ? { key: `pb-${E}` } : {}, rtl: ce, theme: K, delay: i, isRunning: t, isIn: F, closeToast: m, hide: u, type: l, style: z, className: L, controlledProgress: d, progress: Q || 0 })));
|
|
3912
|
-
},
|
|
3912
|
+
}, ir = function(e, t) {
|
|
3913
3913
|
return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
|
|
3914
|
-
}, ki = ir(
|
|
3915
|
-
ir(
|
|
3916
|
-
ir(
|
|
3917
|
-
ir(
|
|
3914
|
+
}, ki = or(ir("bounce", !0));
|
|
3915
|
+
or(ir("slide", !0));
|
|
3916
|
+
or(ir("zoom"));
|
|
3917
|
+
or(ir("flip"));
|
|
3918
3918
|
const kr = va((e, t) => {
|
|
3919
3919
|
const { getToastToRender: r, containerRef: n, isToastActive: A } = Ei(e), { className: a, style: o, rtl: i, containerId: c } = e;
|
|
3920
3920
|
function l(u) {
|
|
@@ -3932,7 +3932,7 @@ const kr = va((e, t) => {
|
|
|
3932
3932
|
}));
|
|
3933
3933
|
});
|
|
3934
3934
|
kr.displayName = "ToastContainer", kr.defaultProps = { position: "top-right", transition: ki, autoClose: 5e3, closeButton: DA, pauseOnHover: !0, pauseOnFocusLoss: !0, closeOnClick: !0, draggable: !0, draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
|
|
3935
|
-
let
|
|
3935
|
+
let wr, Fe = /* @__PURE__ */ new Map(), yt = [], ji = 1;
|
|
3936
3936
|
function GA() {
|
|
3937
3937
|
return "" + ji++;
|
|
3938
3938
|
}
|
|
@@ -3942,16 +3942,16 @@ function Ji(e) {
|
|
|
3942
3942
|
function Zt(e, t) {
|
|
3943
3943
|
return Fe.size > 0 ? We.emit(0, e, t) : yt.push({ content: e, options: t }), t.toastId;
|
|
3944
3944
|
}
|
|
3945
|
-
function
|
|
3945
|
+
function Pt(e, t) {
|
|
3946
3946
|
return { ...t, type: t && t.type || e, toastId: Ji(t) };
|
|
3947
3947
|
}
|
|
3948
3948
|
function jt(e) {
|
|
3949
|
-
return (t, r) => Zt(t,
|
|
3949
|
+
return (t, r) => Zt(t, Pt(e, r));
|
|
3950
3950
|
}
|
|
3951
3951
|
function le(e, t) {
|
|
3952
|
-
return Zt(e,
|
|
3952
|
+
return Zt(e, Pt("default", t));
|
|
3953
3953
|
}
|
|
3954
|
-
le.loading = (e, t) => Zt(e,
|
|
3954
|
+
le.loading = (e, t) => Zt(e, Pt("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), le.promise = function(e, t, r) {
|
|
3955
3955
|
let n, { pending: A, error: a, success: o } = t;
|
|
3956
3956
|
A && (n = rt(A) ? le.loading(A, r) : le.loading(A.render, { ...r, ...A }));
|
|
3957
3957
|
const i = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, c = (u, m, p) => {
|
|
@@ -3961,7 +3961,7 @@ le.loading = (e, t) => Zt(e, Vt("default", { isLoading: !0, autoClose: !1, close
|
|
|
3961
3961
|
return n ? le.update(n, { ...f, ...q }) : le(q.render, { ...f, ...q }), p;
|
|
3962
3962
|
}, l = ye(e) ? e() : e;
|
|
3963
3963
|
return l.then((u) => c("success", o, u)).catch((u) => c("error", a, u)), l;
|
|
3964
|
-
}, le.success = jt("success"), le.info = jt("info"), le.error = jt("error"), le.warning = jt("warning"), le.warn = le.warning, le.dark = (e, t) => Zt(e,
|
|
3964
|
+
}, le.success = jt("success"), le.info = jt("info"), le.error = jt("error"), le.warning = jt("warning"), le.warn = le.warning, le.dark = (e, t) => Zt(e, Pt("default", { theme: "dark", ...t })), le.dismiss = (e) => {
|
|
3965
3965
|
Fe.size > 0 ? We.emit(1, e) : yt = yt.filter((t) => e != null && t.options.toastId !== e);
|
|
3966
3966
|
}, le.clearWaitingQueue = function(e) {
|
|
3967
3967
|
return e === void 0 && (e = {}), We.emit(5, e);
|
|
@@ -3974,7 +3974,7 @@ le.loading = (e, t) => Zt(e, Vt("default", { isLoading: !0, autoClose: !1, close
|
|
|
3974
3974
|
t === void 0 && (t = {}), setTimeout(() => {
|
|
3975
3975
|
const r = function(n, A) {
|
|
3976
3976
|
let { containerId: a } = A;
|
|
3977
|
-
const o = Fe.get(a ||
|
|
3977
|
+
const o = Fe.get(a || wr);
|
|
3978
3978
|
return o && o.getToast(n);
|
|
3979
3979
|
}(e, t);
|
|
3980
3980
|
if (r) {
|
|
@@ -3989,7 +3989,7 @@ le.loading = (e, t) => Zt(e, Vt("default", { isLoading: !0, autoClose: !1, close
|
|
|
3989
3989
|
}, le.onChange = (e) => (We.on(4, e), () => {
|
|
3990
3990
|
We.off(4, e);
|
|
3991
3991
|
}), le.POSITION = { TOP_LEFT: "top-left", TOP_RIGHT: "top-right", TOP_CENTER: "top-center", BOTTOM_LEFT: "bottom-left", BOTTOM_RIGHT: "bottom-right", BOTTOM_CENTER: "bottom-center" }, le.TYPE = { INFO: "info", SUCCESS: "success", WARNING: "warning", ERROR: "error", DEFAULT: "default" }, We.on(2, (e) => {
|
|
3992
|
-
|
|
3992
|
+
wr = e.containerId || e, Fe.set(wr, e), yt.forEach((t) => {
|
|
3993
3993
|
We.emit(0, t.content, t.options);
|
|
3994
3994
|
}), yt = [];
|
|
3995
3995
|
}).on(3, (e) => {
|
|
@@ -4019,7 +4019,7 @@ function lt(e) {
|
|
|
4019
4019
|
theme: "light"
|
|
4020
4020
|
});
|
|
4021
4021
|
}
|
|
4022
|
-
let
|
|
4022
|
+
let Vt = (e = 21) => {
|
|
4023
4023
|
let t = "", r = crypto.getRandomValues(new Uint8Array(e));
|
|
4024
4024
|
for (; e--; ) {
|
|
4025
4025
|
let n = r[e] & 63;
|
|
@@ -4039,10 +4039,10 @@ const Ni = ({
|
|
|
4039
4039
|
`https://flex.playablefactory.app/preview?versionId=${e}`
|
|
4040
4040
|
), lt("Link copied");
|
|
4041
4041
|
else {
|
|
4042
|
-
const a = await
|
|
4042
|
+
const a = await Qt(
|
|
4043
4043
|
r,
|
|
4044
4044
|
e,
|
|
4045
|
-
|
|
4045
|
+
Vt(5),
|
|
4046
4046
|
"default",
|
|
4047
4047
|
!1,
|
|
4048
4048
|
0,
|
|
@@ -4139,7 +4139,7 @@ const Ni = ({
|
|
|
4139
4139
|
style: {
|
|
4140
4140
|
fontSize: "1rem",
|
|
4141
4141
|
color: "white",
|
|
4142
|
-
background: "
|
|
4142
|
+
background: "rgba(0, 163, 255, 0)"
|
|
4143
4143
|
},
|
|
4144
4144
|
onClick: A,
|
|
4145
4145
|
children: "Copy Link"
|
|
@@ -4697,7 +4697,7 @@ const Xn = [
|
|
|
4697
4697
|
fetchFileUrl: p,
|
|
4698
4698
|
setInstantGameModal: f
|
|
4699
4699
|
}) => {
|
|
4700
|
-
const [q, g] = se(!1), [C, w] = se(
|
|
4700
|
+
const [q, g] = se(!1), [C, w] = se(Vt(5)), L = () => {
|
|
4701
4701
|
r(e);
|
|
4702
4702
|
}, z = async (v, Q, ce, Ae, J, F) => {
|
|
4703
4703
|
try {
|
|
@@ -4726,7 +4726,7 @@ const Xn = [
|
|
|
4726
4726
|
), G.style.display = "none", document.body.appendChild(G), G.click(), g(!1), N;
|
|
4727
4727
|
} else {
|
|
4728
4728
|
const ee = Xn.includes(Q) ? 1 : 0;
|
|
4729
|
-
|
|
4729
|
+
Qt(
|
|
4730
4730
|
u,
|
|
4731
4731
|
v,
|
|
4732
4732
|
C,
|
|
@@ -4777,10 +4777,10 @@ const Xn = [
|
|
|
4777
4777
|
}
|
|
4778
4778
|
}, E = async () => {
|
|
4779
4779
|
if (c === "Playable") {
|
|
4780
|
-
const Q = await
|
|
4780
|
+
const Q = await Qt(
|
|
4781
4781
|
u,
|
|
4782
4782
|
l,
|
|
4783
|
-
|
|
4783
|
+
Vt(5),
|
|
4784
4784
|
A,
|
|
4785
4785
|
!1,
|
|
4786
4786
|
1,
|
|
@@ -4970,7 +4970,7 @@ const Xn = [
|
|
|
4970
4970
|
]
|
|
4971
4971
|
}
|
|
4972
4972
|
) });
|
|
4973
|
-
},
|
|
4973
|
+
}, Wr = [
|
|
4974
4974
|
{
|
|
4975
4975
|
id: "1",
|
|
4976
4976
|
name: "unity",
|
|
@@ -5618,11 +5618,11 @@ const ts = ({
|
|
|
5618
5618
|
F.splice(N, 1), m(F);
|
|
5619
5619
|
} else
|
|
5620
5620
|
A === "Playable" ? (F.push(J), m([...u, J])) : (F.splice(0), F.push(J), m([J]));
|
|
5621
|
-
let ee =
|
|
5621
|
+
let ee = Wr.filter((N) => [...F].includes(N.id)).map((N) => N.name);
|
|
5622
5622
|
await Q(ee);
|
|
5623
5623
|
}, Ae = async () => {
|
|
5624
5624
|
try {
|
|
5625
|
-
const J =
|
|
5625
|
+
const J = Wr.filter((K) => [...u].includes(K.id)).map((K) => K.name);
|
|
5626
5626
|
z(!0);
|
|
5627
5627
|
const F = await es(n, J, a), { url: ee } = F;
|
|
5628
5628
|
let N;
|
|
@@ -5654,7 +5654,7 @@ const ts = ({
|
|
|
5654
5654
|
overflow: "auto",
|
|
5655
5655
|
padding: "1.75rem"
|
|
5656
5656
|
},
|
|
5657
|
-
children: r &&
|
|
5657
|
+
children: r && Wr.filter((J) => {
|
|
5658
5658
|
var F;
|
|
5659
5659
|
return t && ((F = t == null ? void 0 : t.networks) == null ? void 0 : F.length) > 0 ? t == null ? void 0 : t.networks.includes(J.name) : e == null ? void 0 : e.networks.includes(J.name);
|
|
5660
5660
|
}).filter(
|
|
@@ -5734,7 +5734,23 @@ const ss = [
|
|
|
5734
5734
|
"vungle",
|
|
5735
5735
|
"moloco",
|
|
5736
5736
|
"inmobi"
|
|
5737
|
-
], ls =
|
|
5737
|
+
], ls = [
|
|
5738
|
+
"adcolony",
|
|
5739
|
+
"applovin",
|
|
5740
|
+
"chartboost",
|
|
5741
|
+
"crossinstall",
|
|
5742
|
+
"fb",
|
|
5743
|
+
"google",
|
|
5744
|
+
"ironsource",
|
|
5745
|
+
"lifestreet",
|
|
5746
|
+
"liftoff",
|
|
5747
|
+
"mobvista",
|
|
5748
|
+
"nucleo",
|
|
5749
|
+
"tapjoy",
|
|
5750
|
+
"toutiao",
|
|
5751
|
+
"unity",
|
|
5752
|
+
"vungle"
|
|
5753
|
+
], us = ({
|
|
5738
5754
|
playableId: e,
|
|
5739
5755
|
versionId: t,
|
|
5740
5756
|
gameId: r,
|
|
@@ -5757,10 +5773,10 @@ const ss = [
|
|
|
5757
5773
|
try {
|
|
5758
5774
|
let I;
|
|
5759
5775
|
if (n === "Playable") {
|
|
5760
|
-
I = await
|
|
5776
|
+
I = await Qt(
|
|
5761
5777
|
a,
|
|
5762
5778
|
t,
|
|
5763
|
-
|
|
5779
|
+
Vt(5),
|
|
5764
5780
|
"default",
|
|
5765
5781
|
!1,
|
|
5766
5782
|
0,
|
|
@@ -5810,9 +5826,9 @@ const ss = [
|
|
|
5810
5826
|
{ _id: t },
|
|
5811
5827
|
a
|
|
5812
5828
|
);
|
|
5813
|
-
|
|
5829
|
+
["admin", "pm", "tester"].includes(o.role) ? g({
|
|
5814
5830
|
...W,
|
|
5815
|
-
networks:
|
|
5831
|
+
networks: ls
|
|
5816
5832
|
}) : g(W), z(!1);
|
|
5817
5833
|
}, G = async () => {
|
|
5818
5834
|
const W = await as({ _id: t }, a);
|
|
@@ -5944,24 +5960,24 @@ var HA = Dr.exports;
|
|
|
5944
5960
|
Object.defineProperty(Le, "__esModule", {
|
|
5945
5961
|
value: !0
|
|
5946
5962
|
});
|
|
5947
|
-
Le.resetState =
|
|
5948
|
-
Le.log =
|
|
5963
|
+
Le.resetState = ps;
|
|
5964
|
+
Le.log = fs;
|
|
5949
5965
|
Le.handleBlur = It;
|
|
5950
5966
|
Le.handleFocus = Kt;
|
|
5951
|
-
Le.markForFocusLater =
|
|
5952
|
-
Le.returnFocus =
|
|
5953
|
-
Le.popWithoutFocus =
|
|
5954
|
-
Le.setupScopedFocus =
|
|
5955
|
-
Le.teardownScopedFocus =
|
|
5956
|
-
var
|
|
5957
|
-
function
|
|
5967
|
+
Le.markForFocusLater = hs;
|
|
5968
|
+
Le.returnFocus = qs;
|
|
5969
|
+
Le.popWithoutFocus = gs;
|
|
5970
|
+
Le.setupScopedFocus = vs;
|
|
5971
|
+
Le.teardownScopedFocus = ys;
|
|
5972
|
+
var cs = HA, ms = ds(cs);
|
|
5973
|
+
function ds(e) {
|
|
5958
5974
|
return e && e.__esModule ? e : { default: e };
|
|
5959
5975
|
}
|
|
5960
5976
|
var At = [], st = null, Gr = !1;
|
|
5961
|
-
function
|
|
5977
|
+
function ps() {
|
|
5962
5978
|
At = [];
|
|
5963
5979
|
}
|
|
5964
|
-
function
|
|
5980
|
+
function fs() {
|
|
5965
5981
|
process.env.NODE_ENV !== "production" && (console.log("focusManager ----------"), At.forEach(function(e) {
|
|
5966
5982
|
var t = e || {};
|
|
5967
5983
|
console.log(t.nodeName, t.className, t.id);
|
|
@@ -5976,16 +5992,16 @@ function Kt() {
|
|
|
5976
5992
|
return;
|
|
5977
5993
|
setTimeout(function() {
|
|
5978
5994
|
if (!st.contains(document.activeElement)) {
|
|
5979
|
-
var e = (0,
|
|
5995
|
+
var e = (0, ms.default)(st)[0] || st;
|
|
5980
5996
|
e.focus();
|
|
5981
5997
|
}
|
|
5982
5998
|
}, 0);
|
|
5983
5999
|
}
|
|
5984
6000
|
}
|
|
5985
|
-
function
|
|
6001
|
+
function hs() {
|
|
5986
6002
|
At.push(document.activeElement);
|
|
5987
6003
|
}
|
|
5988
|
-
function
|
|
6004
|
+
function qs() {
|
|
5989
6005
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1, t = null;
|
|
5990
6006
|
try {
|
|
5991
6007
|
At.length !== 0 && (t = At.pop(), t.focus({ preventScroll: e }));
|
|
@@ -5994,13 +6010,13 @@ function hs() {
|
|
|
5994
6010
|
console.warn(["You tried to return focus to", t, "but it is not in the DOM anymore"].join(" "));
|
|
5995
6011
|
}
|
|
5996
6012
|
}
|
|
5997
|
-
function
|
|
6013
|
+
function gs() {
|
|
5998
6014
|
At.length > 0 && At.pop();
|
|
5999
6015
|
}
|
|
6000
|
-
function
|
|
6016
|
+
function vs(e) {
|
|
6001
6017
|
st = e, window.addEventListener ? (window.addEventListener("blur", It, !1), document.addEventListener("focus", Kt, !0)) : (window.attachEvent("onBlur", It), document.attachEvent("onFocus", Kt));
|
|
6002
6018
|
}
|
|
6003
|
-
function
|
|
6019
|
+
function ys() {
|
|
6004
6020
|
st = null, window.addEventListener ? (window.removeEventListener("blur", It), document.removeEventListener("focus", Kt)) : (window.detachEvent("onBlur", It), document.detachEvent("onFocus", Kt));
|
|
6005
6021
|
}
|
|
6006
6022
|
var Rr = { exports: {} };
|
|
@@ -6044,10 +6060,10 @@ var Rr = { exports: {} };
|
|
|
6044
6060
|
}
|
|
6045
6061
|
e.exports = t.default;
|
|
6046
6062
|
})(Rr, Rr.exports);
|
|
6047
|
-
var
|
|
6063
|
+
var bs = Rr.exports, Ye = {}, Zs = process.env.NODE_ENV !== "production", XA = function() {
|
|
6048
6064
|
};
|
|
6049
|
-
if (
|
|
6050
|
-
var
|
|
6065
|
+
if (Zs) {
|
|
6066
|
+
var Cs = function(t, r) {
|
|
6051
6067
|
var n = arguments.length;
|
|
6052
6068
|
r = new Array(n > 1 ? n - 1 : 0);
|
|
6053
6069
|
for (var A = 1; A < n; A++)
|
|
@@ -6070,10 +6086,10 @@ if (bs) {
|
|
|
6070
6086
|
throw new Error(
|
|
6071
6087
|
"`warning(condition, format, ...args)` requires a warning message argument"
|
|
6072
6088
|
);
|
|
6073
|
-
e ||
|
|
6089
|
+
e || Cs.apply(null, [t].concat(r));
|
|
6074
6090
|
};
|
|
6075
6091
|
}
|
|
6076
|
-
var
|
|
6092
|
+
var Is = XA, Ee = {}, QA = { exports: {} };
|
|
6077
6093
|
/*!
|
|
6078
6094
|
Copyright (c) 2015 Jed Watson.
|
|
6079
6095
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
@@ -6090,44 +6106,44 @@ var Cs = XA, Ee = {}, QA = { exports: {} };
|
|
|
6090
6106
|
e.exports ? e.exports = r : window.ExecutionEnvironment = r;
|
|
6091
6107
|
})();
|
|
6092
6108
|
})(QA);
|
|
6093
|
-
var
|
|
6109
|
+
var Ks = QA.exports;
|
|
6094
6110
|
Object.defineProperty(Ee, "__esModule", {
|
|
6095
6111
|
value: !0
|
|
6096
6112
|
});
|
|
6097
6113
|
Ee.canUseDOM = Ee.SafeNodeList = Ee.SafeHTMLCollection = void 0;
|
|
6098
|
-
var
|
|
6099
|
-
function
|
|
6114
|
+
var ws = Ks, Ws = Os(ws);
|
|
6115
|
+
function Os(e) {
|
|
6100
6116
|
return e && e.__esModule ? e : { default: e };
|
|
6101
6117
|
}
|
|
6102
|
-
var
|
|
6103
|
-
Ee.SafeHTMLCollection =
|
|
6104
|
-
Ee.SafeNodeList =
|
|
6105
|
-
Ee.canUseDOM =
|
|
6106
|
-
Ee.default =
|
|
6118
|
+
var sr = Ws.default, Ms = sr.canUseDOM ? window.HTMLElement : {};
|
|
6119
|
+
Ee.SafeHTMLCollection = sr.canUseDOM ? window.HTMLCollection : {};
|
|
6120
|
+
Ee.SafeNodeList = sr.canUseDOM ? window.NodeList : {};
|
|
6121
|
+
Ee.canUseDOM = sr.canUseDOM;
|
|
6122
|
+
Ee.default = Ms;
|
|
6107
6123
|
Object.defineProperty(Ye, "__esModule", {
|
|
6108
6124
|
value: !0
|
|
6109
6125
|
});
|
|
6110
|
-
Ye.resetState =
|
|
6111
|
-
Ye.log =
|
|
6126
|
+
Ye.resetState = Ys;
|
|
6127
|
+
Ye.log = zs;
|
|
6112
6128
|
Ye.assertNodeList = PA;
|
|
6113
|
-
Ye.setElement =
|
|
6129
|
+
Ye.setElement = ks;
|
|
6114
6130
|
Ye.validateElement = tn;
|
|
6115
|
-
Ye.hide =
|
|
6116
|
-
Ye.show =
|
|
6117
|
-
Ye.documentNotReadyOrSSRTesting =
|
|
6118
|
-
var
|
|
6119
|
-
function
|
|
6131
|
+
Ye.hide = js;
|
|
6132
|
+
Ye.show = Js;
|
|
6133
|
+
Ye.documentNotReadyOrSSRTesting = Ns;
|
|
6134
|
+
var Ss = Is, xs = Ls(Ss), Es = Ee;
|
|
6135
|
+
function Ls(e) {
|
|
6120
6136
|
return e && e.__esModule ? e : { default: e };
|
|
6121
6137
|
}
|
|
6122
6138
|
var be = null;
|
|
6123
|
-
function
|
|
6139
|
+
function Ys() {
|
|
6124
6140
|
be && (be.removeAttribute ? be.removeAttribute("aria-hidden") : be.length != null ? be.forEach(function(e) {
|
|
6125
6141
|
return e.removeAttribute("aria-hidden");
|
|
6126
6142
|
}) : document.querySelectorAll(be).forEach(function(e) {
|
|
6127
6143
|
return e.removeAttribute("aria-hidden");
|
|
6128
6144
|
})), be = null;
|
|
6129
6145
|
}
|
|
6130
|
-
function
|
|
6146
|
+
function zs() {
|
|
6131
6147
|
if (process.env.NODE_ENV !== "production") {
|
|
6132
6148
|
var e = be || {};
|
|
6133
6149
|
console.log("ariaAppHider ----------"), console.log(e.nodeName, e.className, e.id), console.log("end ariaAppHider ----------");
|
|
@@ -6137,9 +6153,9 @@ function PA(e, t) {
|
|
|
6137
6153
|
if (!e || !e.length)
|
|
6138
6154
|
throw new Error("react-modal: No elements were found for selector " + t + ".");
|
|
6139
6155
|
}
|
|
6140
|
-
function
|
|
6156
|
+
function ks(e) {
|
|
6141
6157
|
var t = e;
|
|
6142
|
-
if (typeof t == "string" &&
|
|
6158
|
+
if (typeof t == "string" && Es.canUseDOM) {
|
|
6143
6159
|
var r = document.querySelectorAll(t);
|
|
6144
6160
|
PA(r, t), t = r;
|
|
6145
6161
|
}
|
|
@@ -6147,9 +6163,9 @@ function zs(e) {
|
|
|
6147
6163
|
}
|
|
6148
6164
|
function tn(e) {
|
|
6149
6165
|
var t = e || be;
|
|
6150
|
-
return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0,
|
|
6166
|
+
return t ? Array.isArray(t) || t instanceof HTMLCollection || t instanceof NodeList ? t : [t] : ((0, xs.default)(!1, ["react-modal: App element is not defined.", "Please use `Modal.setAppElement(el)` or set `appElement={el}`.", "This is needed so screen readers don't see main content", "when modal is opened. It is not recommended, but you can opt-out", "by setting `ariaHideApp={false}`."].join(" ")), []);
|
|
6151
6167
|
}
|
|
6152
|
-
function
|
|
6168
|
+
function js(e) {
|
|
6153
6169
|
var t = !0, r = !1, n = void 0;
|
|
6154
6170
|
try {
|
|
6155
6171
|
for (var A = tn(e)[Symbol.iterator](), a; !(t = (a = A.next()).done); t = !0) {
|
|
@@ -6167,7 +6183,7 @@ function ks(e) {
|
|
|
6167
6183
|
}
|
|
6168
6184
|
}
|
|
6169
6185
|
}
|
|
6170
|
-
function
|
|
6186
|
+
function Js(e) {
|
|
6171
6187
|
var t = !0, r = !1, n = void 0;
|
|
6172
6188
|
try {
|
|
6173
6189
|
for (var A = tn(e)[Symbol.iterator](), a; !(t = (a = A.next()).done); t = !0) {
|
|
@@ -6185,20 +6201,20 @@ function js(e) {
|
|
|
6185
6201
|
}
|
|
6186
6202
|
}
|
|
6187
6203
|
}
|
|
6188
|
-
function
|
|
6204
|
+
function Ns() {
|
|
6189
6205
|
be = null;
|
|
6190
6206
|
}
|
|
6191
6207
|
var dt = {};
|
|
6192
6208
|
Object.defineProperty(dt, "__esModule", {
|
|
6193
6209
|
value: !0
|
|
6194
6210
|
});
|
|
6195
|
-
dt.resetState =
|
|
6196
|
-
dt.log =
|
|
6211
|
+
dt.resetState = Ds;
|
|
6212
|
+
dt.log = Gs;
|
|
6197
6213
|
var $e = {}, et = {};
|
|
6198
6214
|
function Qn(e, t) {
|
|
6199
6215
|
e.classList.remove(t);
|
|
6200
6216
|
}
|
|
6201
|
-
function
|
|
6217
|
+
function Ds() {
|
|
6202
6218
|
var e = document.getElementsByTagName("html")[0];
|
|
6203
6219
|
for (var t in $e)
|
|
6204
6220
|
Qn(e, $e[t]);
|
|
@@ -6207,7 +6223,7 @@ function Ns() {
|
|
|
6207
6223
|
Qn(r, et[n]);
|
|
6208
6224
|
$e = {}, et = {};
|
|
6209
6225
|
}
|
|
6210
|
-
function
|
|
6226
|
+
function Gs() {
|
|
6211
6227
|
if (process.env.NODE_ENV !== "production") {
|
|
6212
6228
|
var e = document.getElementsByTagName("html")[0].className, t = `Show tracked classes:
|
|
6213
6229
|
|
|
@@ -6228,38 +6244,38 @@ doc.body (` + e + `):
|
|
|
6228
6244
|
`, console.log(t);
|
|
6229
6245
|
}
|
|
6230
6246
|
}
|
|
6231
|
-
var
|
|
6247
|
+
var Rs = function(t, r) {
|
|
6232
6248
|
return t[r] || (t[r] = 0), t[r] += 1, r;
|
|
6233
|
-
},
|
|
6249
|
+
}, Ts = function(t, r) {
|
|
6234
6250
|
return t[r] && (t[r] -= 1), r;
|
|
6235
|
-
},
|
|
6251
|
+
}, Hs = function(t, r, n) {
|
|
6236
6252
|
n.forEach(function(A) {
|
|
6237
|
-
|
|
6253
|
+
Rs(r, A), t.add(A);
|
|
6238
6254
|
});
|
|
6239
|
-
},
|
|
6255
|
+
}, Xs = function(t, r, n) {
|
|
6240
6256
|
n.forEach(function(A) {
|
|
6241
|
-
|
|
6257
|
+
Ts(r, A), r[A] === 0 && t.remove(A);
|
|
6242
6258
|
});
|
|
6243
6259
|
};
|
|
6244
6260
|
dt.add = function(t, r) {
|
|
6245
|
-
return
|
|
6261
|
+
return Hs(t.classList, t.nodeName.toLowerCase() == "html" ? $e : et, r.split(" "));
|
|
6246
6262
|
};
|
|
6247
6263
|
dt.remove = function(t, r) {
|
|
6248
|
-
return
|
|
6264
|
+
return Xs(t.classList, t.nodeName.toLowerCase() == "html" ? $e : et, r.split(" "));
|
|
6249
6265
|
};
|
|
6250
6266
|
var pt = {};
|
|
6251
6267
|
Object.defineProperty(pt, "__esModule", {
|
|
6252
6268
|
value: !0
|
|
6253
6269
|
});
|
|
6254
|
-
pt.log =
|
|
6255
|
-
pt.resetState =
|
|
6256
|
-
function
|
|
6270
|
+
pt.log = Ps;
|
|
6271
|
+
pt.resetState = Vs;
|
|
6272
|
+
function Qs(e, t) {
|
|
6257
6273
|
if (!(e instanceof t))
|
|
6258
6274
|
throw new TypeError("Cannot call a class as a function");
|
|
6259
6275
|
}
|
|
6260
6276
|
var VA = function e() {
|
|
6261
6277
|
var t = this;
|
|
6262
|
-
|
|
6278
|
+
Qs(this, e), this.register = function(r) {
|
|
6263
6279
|
if (t.openInstances.indexOf(r) !== -1) {
|
|
6264
6280
|
process.env.NODE_ENV !== "production" && console.warn("React-Modal: Cannot register modal instance that's already open");
|
|
6265
6281
|
return;
|
|
@@ -6283,35 +6299,35 @@ var VA = function e() {
|
|
|
6283
6299
|
);
|
|
6284
6300
|
});
|
|
6285
6301
|
}, this.openInstances = [], this.subscribers = [];
|
|
6286
|
-
},
|
|
6287
|
-
function
|
|
6288
|
-
console.log("portalOpenInstances ----------"), console.log(
|
|
6302
|
+
}, Bt = new VA();
|
|
6303
|
+
function Ps() {
|
|
6304
|
+
console.log("portalOpenInstances ----------"), console.log(Bt.openInstances.length), Bt.openInstances.forEach(function(e) {
|
|
6289
6305
|
return console.log(e);
|
|
6290
6306
|
}), console.log("end portalOpenInstances ----------");
|
|
6291
6307
|
}
|
|
6292
|
-
function
|
|
6293
|
-
|
|
6308
|
+
function Vs() {
|
|
6309
|
+
Bt = new VA();
|
|
6294
6310
|
}
|
|
6295
|
-
pt.default =
|
|
6311
|
+
pt.default = Bt;
|
|
6296
6312
|
var rn = {};
|
|
6297
6313
|
Object.defineProperty(rn, "__esModule", {
|
|
6298
6314
|
value: !0
|
|
6299
6315
|
});
|
|
6300
|
-
rn.resetState =
|
|
6301
|
-
rn.log =
|
|
6302
|
-
var
|
|
6303
|
-
function
|
|
6316
|
+
rn.resetState = _s;
|
|
6317
|
+
rn.log = $s;
|
|
6318
|
+
var Bs = pt, Fs = Us(Bs);
|
|
6319
|
+
function Us(e) {
|
|
6304
6320
|
return e && e.__esModule ? e : { default: e };
|
|
6305
6321
|
}
|
|
6306
6322
|
var ge = void 0, Me = void 0, tt = [];
|
|
6307
|
-
function
|
|
6323
|
+
function _s() {
|
|
6308
6324
|
for (var e = [ge, Me], t = 0; t < e.length; t++) {
|
|
6309
6325
|
var r = e[t];
|
|
6310
6326
|
r && r.parentNode && r.parentNode.removeChild(r);
|
|
6311
6327
|
}
|
|
6312
6328
|
ge = Me = null, tt = [];
|
|
6313
6329
|
}
|
|
6314
|
-
function
|
|
6330
|
+
function $s() {
|
|
6315
6331
|
console.log("bodyTrap ----------"), console.log(tt.length);
|
|
6316
6332
|
for (var e = [ge, Me], t = 0; t < e.length; t++) {
|
|
6317
6333
|
var r = e[t], n = r || {};
|
|
@@ -6326,10 +6342,10 @@ function Pn() {
|
|
|
6326
6342
|
}
|
|
6327
6343
|
tt[tt.length - 1].focusContent();
|
|
6328
6344
|
}
|
|
6329
|
-
function
|
|
6345
|
+
function el(e, t) {
|
|
6330
6346
|
!ge && !Me && (ge = document.createElement("div"), ge.setAttribute("data-react-modal-body-trap", ""), ge.style.position = "absolute", ge.style.opacity = "0", ge.setAttribute("tabindex", "0"), ge.addEventListener("focus", Pn), Me = ge.cloneNode(), Me.addEventListener("focus", Pn)), tt = t, tt.length > 0 ? (document.body.firstChild !== ge && document.body.insertBefore(ge, document.body.firstChild), document.body.lastChild !== Me && document.body.appendChild(Me)) : (ge.parentElement && ge.parentElement.removeChild(ge), Me.parentElement && Me.parentElement.removeChild(Me));
|
|
6331
6347
|
}
|
|
6332
|
-
|
|
6348
|
+
Fs.default.subscribe(el);
|
|
6333
6349
|
(function(e, t) {
|
|
6334
6350
|
Object.defineProperty(t, "__esModule", {
|
|
6335
6351
|
value: !0
|
|
@@ -6355,7 +6371,7 @@ Bs.default.subscribe($s);
|
|
|
6355
6371
|
return function(S, W, d) {
|
|
6356
6372
|
return W && K(S.prototype, W), d && K(S, d), S;
|
|
6357
6373
|
};
|
|
6358
|
-
}(), a = ne, o =
|
|
6374
|
+
}(), a = ne, o = $t, i = v(o), c = Le, l = E(c), u = bs, m = v(u), p = Ye, f = E(p), q = dt, g = E(q), C = Ee, w = v(C), L = pt, z = v(L);
|
|
6359
6375
|
function E(K) {
|
|
6360
6376
|
if (K && K.__esModule)
|
|
6361
6377
|
return K;
|
|
@@ -6560,7 +6576,7 @@ Bs.default.subscribe($s);
|
|
|
6560
6576
|
testId: i.default.string
|
|
6561
6577
|
}, t.default = G, e.exports = t.default;
|
|
6562
6578
|
})(Nr, Nr.exports);
|
|
6563
|
-
var
|
|
6579
|
+
var tl = Nr.exports;
|
|
6564
6580
|
function BA() {
|
|
6565
6581
|
var e = this.constructor.getDerivedStateFromProps(this.props, this.state);
|
|
6566
6582
|
e != null && this.setState(e);
|
|
@@ -6586,7 +6602,7 @@ function UA(e, t) {
|
|
|
6586
6602
|
BA.__suppressDeprecationWarning = !0;
|
|
6587
6603
|
FA.__suppressDeprecationWarning = !0;
|
|
6588
6604
|
UA.__suppressDeprecationWarning = !0;
|
|
6589
|
-
function
|
|
6605
|
+
function rl(e) {
|
|
6590
6606
|
var t = e.prototype;
|
|
6591
6607
|
if (!t || !t.isReactComponent)
|
|
6592
6608
|
throw new Error("Can only polyfill class components");
|
|
@@ -6621,10 +6637,10 @@ https://fb.me/react-async-component-lifecycle-hooks`
|
|
|
6621
6637
|
}
|
|
6622
6638
|
return e;
|
|
6623
6639
|
}
|
|
6624
|
-
const
|
|
6640
|
+
const nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6625
6641
|
__proto__: null,
|
|
6626
|
-
polyfill:
|
|
6627
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6642
|
+
polyfill: rl
|
|
6643
|
+
}, Symbol.toStringTag, { value: "Module" })), Al = /* @__PURE__ */ Ia(nl);
|
|
6628
6644
|
Object.defineProperty(nt, "__esModule", {
|
|
6629
6645
|
value: !0
|
|
6630
6646
|
});
|
|
@@ -6636,7 +6652,7 @@ var Vn = Object.assign || function(e) {
|
|
|
6636
6652
|
Object.prototype.hasOwnProperty.call(r, n) && (e[n] = r[n]);
|
|
6637
6653
|
}
|
|
6638
6654
|
return e;
|
|
6639
|
-
},
|
|
6655
|
+
}, al = function() {
|
|
6640
6656
|
function e(t, r) {
|
|
6641
6657
|
for (var n = 0; n < r.length; n++) {
|
|
6642
6658
|
var A = r[n];
|
|
@@ -6646,8 +6662,8 @@ var Vn = Object.assign || function(e) {
|
|
|
6646
6662
|
return function(t, r, n) {
|
|
6647
6663
|
return r && e(t.prototype, r), n && e(t, n), t;
|
|
6648
6664
|
};
|
|
6649
|
-
}(), _A = ne,
|
|
6650
|
-
function
|
|
6665
|
+
}(), _A = ne, Ft = St(_A), ol = Za, Ut = St(ol), il = $t, R = St(il), sl = tl, Bn = St(sl), ll = Ye, ul = ml(ll), Qe = Ee, Fn = St(Qe), cl = Al;
|
|
6666
|
+
function ml(e) {
|
|
6651
6667
|
if (e && e.__esModule)
|
|
6652
6668
|
return e;
|
|
6653
6669
|
var t = {};
|
|
@@ -6659,7 +6675,7 @@ function cl(e) {
|
|
|
6659
6675
|
function St(e) {
|
|
6660
6676
|
return e && e.__esModule ? e : { default: e };
|
|
6661
6677
|
}
|
|
6662
|
-
function
|
|
6678
|
+
function dl(e, t) {
|
|
6663
6679
|
if (!(e instanceof t))
|
|
6664
6680
|
throw new TypeError("Cannot call a class as a function");
|
|
6665
6681
|
}
|
|
@@ -6668,38 +6684,38 @@ function Un(e, t) {
|
|
|
6668
6684
|
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
6669
6685
|
return t && (typeof t == "object" || typeof t == "function") ? t : e;
|
|
6670
6686
|
}
|
|
6671
|
-
function
|
|
6687
|
+
function pl(e, t) {
|
|
6672
6688
|
if (typeof t != "function" && t !== null)
|
|
6673
6689
|
throw new TypeError("Super expression must either be null or a function, not " + typeof t);
|
|
6674
6690
|
e.prototype = Object.create(t && t.prototype, { constructor: { value: e, enumerable: !1, writable: !0, configurable: !0 } }), t && (Object.setPrototypeOf ? Object.setPrototypeOf(e, t) : e.__proto__ = t);
|
|
6675
6691
|
}
|
|
6676
|
-
var
|
|
6692
|
+
var fl = nt.portalClassName = "ReactModalPortal", hl = nt.bodyOpenClassName = "ReactModal__Body--open", Ue = Qe.canUseDOM && Ut.default.createPortal !== void 0, Tr = function(t) {
|
|
6677
6693
|
return document.createElement(t);
|
|
6678
6694
|
}, _n = function() {
|
|
6679
|
-
return Ue ?
|
|
6695
|
+
return Ue ? Ut.default.createPortal : Ut.default.unstable_renderSubtreeIntoContainer;
|
|
6680
6696
|
};
|
|
6681
6697
|
function Jt(e) {
|
|
6682
6698
|
return e();
|
|
6683
6699
|
}
|
|
6684
6700
|
var ft = function(e) {
|
|
6685
|
-
|
|
6701
|
+
pl(t, e);
|
|
6686
6702
|
function t() {
|
|
6687
6703
|
var r, n, A, a;
|
|
6688
|
-
|
|
6704
|
+
dl(this, t);
|
|
6689
6705
|
for (var o = arguments.length, i = Array(o), c = 0; c < o; c++)
|
|
6690
6706
|
i[c] = arguments[c];
|
|
6691
6707
|
return a = (n = (A = Un(this, (r = t.__proto__ || Object.getPrototypeOf(t)).call.apply(r, [this].concat(i))), A), A.removePortal = function() {
|
|
6692
|
-
!Ue &&
|
|
6708
|
+
!Ue && Ut.default.unmountComponentAtNode(A.node);
|
|
6693
6709
|
var l = Jt(A.props.parentSelector);
|
|
6694
6710
|
l && l.contains(A.node) ? l.removeChild(A.node) : console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.');
|
|
6695
6711
|
}, A.portalRef = function(l) {
|
|
6696
6712
|
A.portal = l;
|
|
6697
6713
|
}, A.renderPortal = function(l) {
|
|
6698
|
-
var u = _n(), m = u(A,
|
|
6714
|
+
var u = _n(), m = u(A, Ft.default.createElement(Bn.default, Vn({ defaultStyles: t.defaultStyles }, l)), A.node);
|
|
6699
6715
|
A.portalRef(m);
|
|
6700
6716
|
}, n), Un(A, a);
|
|
6701
6717
|
}
|
|
6702
|
-
return
|
|
6718
|
+
return al(t, [{
|
|
6703
6719
|
key: "componentDidMount",
|
|
6704
6720
|
value: function() {
|
|
6705
6721
|
if (Qe.canUseDOM) {
|
|
@@ -6739,7 +6755,7 @@ var ft = function(e) {
|
|
|
6739
6755
|
return null;
|
|
6740
6756
|
!this.node && Ue && (this.node = Tr("div"));
|
|
6741
6757
|
var n = _n();
|
|
6742
|
-
return n(
|
|
6758
|
+
return n(Ft.default.createElement(Bn.default, Vn({
|
|
6743
6759
|
ref: this.portalRef,
|
|
6744
6760
|
defaultStyles: t.defaultStyles
|
|
6745
6761
|
}, this.props)), this.node);
|
|
@@ -6747,7 +6763,7 @@ var ft = function(e) {
|
|
|
6747
6763
|
}], [{
|
|
6748
6764
|
key: "setAppElement",
|
|
6749
6765
|
value: function(n) {
|
|
6750
|
-
|
|
6766
|
+
ul.setElement(n);
|
|
6751
6767
|
}
|
|
6752
6768
|
/* eslint-disable react/no-unused-prop-types */
|
|
6753
6769
|
/* eslint-enable react/no-unused-prop-types */
|
|
@@ -6795,8 +6811,8 @@ ft.propTypes = {
|
|
|
6795
6811
|
};
|
|
6796
6812
|
ft.defaultProps = {
|
|
6797
6813
|
isOpen: !1,
|
|
6798
|
-
portalClassName:
|
|
6799
|
-
bodyOpenClassName:
|
|
6814
|
+
portalClassName: fl,
|
|
6815
|
+
bodyOpenClassName: hl,
|
|
6800
6816
|
role: "dialog",
|
|
6801
6817
|
ariaHideApp: !0,
|
|
6802
6818
|
closeTimeoutMS: 0,
|
|
@@ -6809,14 +6825,14 @@ ft.defaultProps = {
|
|
|
6809
6825
|
return document.body;
|
|
6810
6826
|
},
|
|
6811
6827
|
overlayElement: function(t, r) {
|
|
6812
|
-
return
|
|
6828
|
+
return Ft.default.createElement(
|
|
6813
6829
|
"div",
|
|
6814
6830
|
t,
|
|
6815
6831
|
r
|
|
6816
6832
|
);
|
|
6817
6833
|
},
|
|
6818
6834
|
contentElement: function(t, r) {
|
|
6819
|
-
return
|
|
6835
|
+
return Ft.default.createElement(
|
|
6820
6836
|
"div",
|
|
6821
6837
|
t,
|
|
6822
6838
|
r
|
|
@@ -6847,7 +6863,7 @@ ft.defaultStyles = {
|
|
|
6847
6863
|
padding: "20px"
|
|
6848
6864
|
}
|
|
6849
6865
|
};
|
|
6850
|
-
(0,
|
|
6866
|
+
(0, cl.polyfill)(ft);
|
|
6851
6867
|
process.env.NODE_ENV !== "production" && (ft.setCreateHTMLElement = function(e) {
|
|
6852
6868
|
return Tr = e;
|
|
6853
6869
|
});
|
|
@@ -6862,8 +6878,8 @@ nt.default = ft;
|
|
|
6862
6878
|
}
|
|
6863
6879
|
t.default = n.default, e.exports = t.default;
|
|
6864
6880
|
})(Jr, Jr.exports);
|
|
6865
|
-
var
|
|
6866
|
-
const
|
|
6881
|
+
var ql = Jr.exports;
|
|
6882
|
+
const gl = /* @__PURE__ */ Ca(ql), bl = ({
|
|
6867
6883
|
visible: e,
|
|
6868
6884
|
closeModal: t,
|
|
6869
6885
|
versionId: r,
|
|
@@ -6878,7 +6894,7 @@ const ql = /* @__PURE__ */ Ca(hl), yl = ({
|
|
|
6878
6894
|
handleDownloadError: m,
|
|
6879
6895
|
fetchFileUrl: p
|
|
6880
6896
|
}) => /* @__PURE__ */ h.jsxs(
|
|
6881
|
-
|
|
6897
|
+
gl,
|
|
6882
6898
|
{
|
|
6883
6899
|
isOpen: e,
|
|
6884
6900
|
ariaHideApp: !1,
|
|
@@ -6949,7 +6965,7 @@ const ql = /* @__PURE__ */ Ca(hl), yl = ({
|
|
|
6949
6965
|
}
|
|
6950
6966
|
),
|
|
6951
6967
|
/* @__PURE__ */ h.jsx(
|
|
6952
|
-
|
|
6968
|
+
us,
|
|
6953
6969
|
{
|
|
6954
6970
|
visible: e,
|
|
6955
6971
|
versionId: r,
|
|
@@ -6969,6 +6985,6 @@ const ql = /* @__PURE__ */ Ca(hl), yl = ({
|
|
|
6969
6985
|
}
|
|
6970
6986
|
);
|
|
6971
6987
|
export {
|
|
6972
|
-
|
|
6988
|
+
bl as DownloadModal
|
|
6973
6989
|
};
|
|
6974
6990
|
//# sourceMappingURL=index.es.js.map
|