gearboxdownloadmodal 5.0.5 → 5.0.7
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 +146 -196
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +7 -7
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -230,21 +230,21 @@ function Mo() {
|
|
|
230
230
|
` + J + l;
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
|
-
var
|
|
233
|
+
var Q = !1, R;
|
|
234
234
|
{
|
|
235
235
|
var fe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
236
|
-
|
|
236
|
+
R = new fe();
|
|
237
237
|
}
|
|
238
238
|
function S(l, I) {
|
|
239
|
-
if (!l ||
|
|
239
|
+
if (!l || Q)
|
|
240
240
|
return "";
|
|
241
241
|
{
|
|
242
|
-
var k =
|
|
242
|
+
var k = R.get(l);
|
|
243
243
|
if (k !== void 0)
|
|
244
244
|
return k;
|
|
245
245
|
}
|
|
246
246
|
var T;
|
|
247
|
-
|
|
247
|
+
Q = !0;
|
|
248
248
|
var ae = Error.prepareStackTrace;
|
|
249
249
|
Error.prepareStackTrace = void 0;
|
|
250
250
|
var de;
|
|
@@ -294,19 +294,19 @@ function Mo() {
|
|
|
294
294
|
if (ge--, qe--, qe < 0 || U[ge] !== xe[qe]) {
|
|
295
295
|
var We = `
|
|
296
296
|
` + U[ge].replace(" at new ", " at ");
|
|
297
|
-
return l.displayName && We.includes("<anonymous>") && (We = We.replace("<anonymous>", l.displayName)), typeof l == "function" &&
|
|
297
|
+
return l.displayName && We.includes("<anonymous>") && (We = We.replace("<anonymous>", l.displayName)), typeof l == "function" && R.set(l, We), We;
|
|
298
298
|
}
|
|
299
299
|
while (ge >= 1 && qe >= 0);
|
|
300
300
|
break;
|
|
301
301
|
}
|
|
302
302
|
}
|
|
303
303
|
} finally {
|
|
304
|
-
|
|
304
|
+
Q = !1, D.current = de, V(), Error.prepareStackTrace = ae;
|
|
305
305
|
}
|
|
306
306
|
var qt = l ? l.displayName || l.name : "", bn = qt ? N(qt) : "";
|
|
307
|
-
return typeof l == "function" &&
|
|
307
|
+
return typeof l == "function" && R.set(l, bn), bn;
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function G(l, I, k) {
|
|
310
310
|
return S(l, !1);
|
|
311
311
|
}
|
|
312
312
|
function _(l) {
|
|
@@ -329,7 +329,7 @@ function Mo() {
|
|
|
329
329
|
if (typeof l == "object")
|
|
330
330
|
switch (l.$$typeof) {
|
|
331
331
|
case d:
|
|
332
|
-
return
|
|
332
|
+
return G(l.render);
|
|
333
333
|
case m:
|
|
334
334
|
return ce(l.type, I, k);
|
|
335
335
|
case f: {
|
|
@@ -1470,8 +1470,8 @@ function Bo() {
|
|
|
1470
1470
|
}
|
|
1471
1471
|
function W(S) {
|
|
1472
1472
|
if (typeof S == "object" && S !== null) {
|
|
1473
|
-
var
|
|
1474
|
-
switch (
|
|
1473
|
+
var G = S.$$typeof;
|
|
1474
|
+
switch (G) {
|
|
1475
1475
|
case t:
|
|
1476
1476
|
var _ = S.type;
|
|
1477
1477
|
switch (_) {
|
|
@@ -1492,11 +1492,11 @@ function Bo() {
|
|
|
1492
1492
|
case a:
|
|
1493
1493
|
return ce;
|
|
1494
1494
|
default:
|
|
1495
|
-
return
|
|
1495
|
+
return G;
|
|
1496
1496
|
}
|
|
1497
1497
|
}
|
|
1498
1498
|
case r:
|
|
1499
|
-
return
|
|
1499
|
+
return G;
|
|
1500
1500
|
}
|
|
1501
1501
|
}
|
|
1502
1502
|
}
|
|
@@ -1531,16 +1531,16 @@ function Bo() {
|
|
|
1531
1531
|
function N(S) {
|
|
1532
1532
|
return W(S) === r;
|
|
1533
1533
|
}
|
|
1534
|
-
function
|
|
1534
|
+
function Q(S) {
|
|
1535
1535
|
return W(S) === o;
|
|
1536
1536
|
}
|
|
1537
|
-
function
|
|
1537
|
+
function R(S) {
|
|
1538
1538
|
return W(S) === i;
|
|
1539
1539
|
}
|
|
1540
1540
|
function fe(S) {
|
|
1541
1541
|
return W(S) === m;
|
|
1542
1542
|
}
|
|
1543
|
-
le.AsyncMode = b, le.ConcurrentMode = $, le.ContextConsumer = B, le.ContextProvider = te, le.Element = re, le.ForwardRef = oe, le.Fragment = me, le.Lazy = F, le.Memo = ne, le.Portal = K, le.Profiler = x, le.StrictMode = O, le.Suspense = h, le.isAsyncMode = X, le.isConcurrentMode = v, le.isContextConsumer = w, le.isContextProvider = L, le.isElement = Y, le.isForwardRef = j, le.isFragment = V, le.isLazy = D, le.isMemo = J, le.isPortal = N, le.isProfiler =
|
|
1543
|
+
le.AsyncMode = b, le.ConcurrentMode = $, le.ContextConsumer = B, le.ContextProvider = te, le.Element = re, le.ForwardRef = oe, le.Fragment = me, le.Lazy = F, le.Memo = ne, le.Portal = K, le.Profiler = x, le.StrictMode = O, le.Suspense = h, le.isAsyncMode = X, le.isConcurrentMode = v, le.isContextConsumer = w, le.isContextProvider = L, le.isElement = Y, le.isForwardRef = j, le.isFragment = V, le.isLazy = D, le.isMemo = J, le.isPortal = N, le.isProfiler = Q, le.isStrictMode = R, le.isSuspense = fe, le.isValidElementType = z, le.typeOf = W;
|
|
1544
1544
|
}()), le;
|
|
1545
1545
|
}
|
|
1546
1546
|
var Kn;
|
|
@@ -1717,33 +1717,33 @@ function Fo() {
|
|
|
1717
1717
|
function C(v) {
|
|
1718
1718
|
if (process.env.NODE_ENV !== "production")
|
|
1719
1719
|
var w = {}, L = 0;
|
|
1720
|
-
function Y(V, D, J, N,
|
|
1721
|
-
if (N = N || f,
|
|
1720
|
+
function Y(V, D, J, N, Q, R, fe) {
|
|
1721
|
+
if (N = N || f, R = R || J, fe !== r) {
|
|
1722
1722
|
if (d) {
|
|
1723
1723
|
var S = 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
1726
|
throw S.name = "Invariant Violation", S;
|
|
1727
1727
|
} else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
|
|
1728
|
-
var
|
|
1729
|
-
!w[
|
|
1728
|
+
var G = N + ":" + J;
|
|
1729
|
+
!w[G] && // Avoid spamming the console because they are often not actionable except for lib authors
|
|
1730
1730
|
L < 3 && (o(
|
|
1731
|
-
"You are manually calling a React.PropTypes validation function for the `" +
|
|
1732
|
-
), w[
|
|
1731
|
+
"You are manually calling a React.PropTypes validation function for the `" + R + "` prop on `" + N + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
|
|
1732
|
+
), w[G] = !0, L++);
|
|
1733
1733
|
}
|
|
1734
1734
|
}
|
|
1735
|
-
return D[J] == null ? V ? D[J] === null ? new q("The " +
|
|
1735
|
+
return D[J] == null ? V ? D[J] === null ? new q("The " + Q + " `" + R + "` is marked as required " + ("in `" + N + "`, but its value is `null`.")) : new q("The " + Q + " `" + R + "` is marked as required in " + ("`" + N + "`, but its value is `undefined`.")) : null : v(D, J, N, Q, R);
|
|
1736
1736
|
}
|
|
1737
1737
|
var j = Y.bind(null, !1);
|
|
1738
1738
|
return j.isRequired = Y.bind(null, !0), j;
|
|
1739
1739
|
}
|
|
1740
1740
|
function Z(v) {
|
|
1741
1741
|
function w(L, Y, j, V, D, J) {
|
|
1742
|
-
var N = L[Y],
|
|
1743
|
-
if (
|
|
1744
|
-
var
|
|
1742
|
+
var N = L[Y], Q = O(N);
|
|
1743
|
+
if (Q !== v) {
|
|
1744
|
+
var R = h(N);
|
|
1745
1745
|
return new q(
|
|
1746
|
-
"Invalid " + V + " `" + D + "` of type " + ("`" +
|
|
1746
|
+
"Invalid " + V + " `" + D + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected ") + ("`" + v + "`."),
|
|
1747
1747
|
{ expectedType: v }
|
|
1748
1748
|
);
|
|
1749
1749
|
}
|
|
@@ -1763,10 +1763,10 @@ function Fo() {
|
|
|
1763
1763
|
var N = O(J);
|
|
1764
1764
|
return new q("Invalid " + V + " `" + D + "` of type " + ("`" + N + "` supplied to `" + j + "`, expected an array."));
|
|
1765
1765
|
}
|
|
1766
|
-
for (var
|
|
1767
|
-
var
|
|
1768
|
-
if (
|
|
1769
|
-
return
|
|
1766
|
+
for (var Q = 0; Q < J.length; Q++) {
|
|
1767
|
+
var R = v(J, Q, j, V, D + "[" + Q + "]", r);
|
|
1768
|
+
if (R instanceof Error)
|
|
1769
|
+
return R;
|
|
1770
1770
|
}
|
|
1771
1771
|
return null;
|
|
1772
1772
|
}
|
|
@@ -1813,11 +1813,11 @@ function Fo() {
|
|
|
1813
1813
|
for (var J = L[Y], N = 0; N < v.length; N++)
|
|
1814
1814
|
if (p(J, v[N]))
|
|
1815
1815
|
return null;
|
|
1816
|
-
var
|
|
1817
|
-
var
|
|
1818
|
-
return
|
|
1816
|
+
var Q = JSON.stringify(v, function(fe, S) {
|
|
1817
|
+
var G = h(S);
|
|
1818
|
+
return G === "symbol" ? String(S) : S;
|
|
1819
1819
|
});
|
|
1820
|
-
return new q("Invalid " + V + " `" + D + "` of value `" + String(J) + "` " + ("supplied to `" + j + "`, expected one of " +
|
|
1820
|
+
return new q("Invalid " + V + " `" + D + "` of value `" + String(J) + "` " + ("supplied to `" + j + "`, expected one of " + Q + "."));
|
|
1821
1821
|
}
|
|
1822
1822
|
return C(w);
|
|
1823
1823
|
}
|
|
@@ -1828,11 +1828,11 @@ function Fo() {
|
|
|
1828
1828
|
var J = L[Y], N = O(J);
|
|
1829
1829
|
if (N !== "object")
|
|
1830
1830
|
return new q("Invalid " + V + " `" + D + "` of type " + ("`" + N + "` supplied to `" + j + "`, expected an object."));
|
|
1831
|
-
for (var
|
|
1832
|
-
if (n(J,
|
|
1833
|
-
var
|
|
1834
|
-
if (
|
|
1835
|
-
return
|
|
1831
|
+
for (var Q in J)
|
|
1832
|
+
if (n(J, Q)) {
|
|
1833
|
+
var R = v(J, Q, j, V, D + "." + Q, r);
|
|
1834
|
+
if (R instanceof Error)
|
|
1835
|
+
return R;
|
|
1836
1836
|
}
|
|
1837
1837
|
return null;
|
|
1838
1838
|
}
|
|
@@ -1849,14 +1849,14 @@ function Fo() {
|
|
|
1849
1849
|
), a;
|
|
1850
1850
|
}
|
|
1851
1851
|
function Y(j, V, D, J, N) {
|
|
1852
|
-
for (var
|
|
1853
|
-
var fe = v[
|
|
1852
|
+
for (var Q = [], R = 0; R < v.length; R++) {
|
|
1853
|
+
var fe = v[R], S = fe(j, V, D, J, N, r);
|
|
1854
1854
|
if (S == null)
|
|
1855
1855
|
return null;
|
|
1856
|
-
S.data && n(S.data, "expectedType") &&
|
|
1856
|
+
S.data && n(S.data, "expectedType") && Q.push(S.data.expectedType);
|
|
1857
1857
|
}
|
|
1858
|
-
var
|
|
1859
|
-
return new q("Invalid " + J + " `" + N + "` supplied to " + ("`" + D + "`" +
|
|
1858
|
+
var G = Q.length > 0 ? ", expected one of type [" + Q.join(", ") + "]" : "";
|
|
1859
|
+
return new q("Invalid " + J + " `" + N + "` supplied to " + ("`" + D + "`" + G + "."));
|
|
1860
1860
|
}
|
|
1861
1861
|
return C(Y);
|
|
1862
1862
|
}
|
|
@@ -1876,11 +1876,11 @@ function Fo() {
|
|
|
1876
1876
|
var J = L[Y], N = O(J);
|
|
1877
1877
|
if (N !== "object")
|
|
1878
1878
|
return new q("Invalid " + V + " `" + D + "` of type `" + N + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1879
|
-
for (var
|
|
1880
|
-
var
|
|
1881
|
-
if (typeof
|
|
1882
|
-
return me(j, V, D,
|
|
1883
|
-
var fe =
|
|
1879
|
+
for (var Q in v) {
|
|
1880
|
+
var R = v[Q];
|
|
1881
|
+
if (typeof R != "function")
|
|
1882
|
+
return me(j, V, D, Q, h(R));
|
|
1883
|
+
var fe = R(J, Q, j, V, D + "." + Q, r);
|
|
1884
1884
|
if (fe)
|
|
1885
1885
|
return fe;
|
|
1886
1886
|
}
|
|
@@ -1893,17 +1893,17 @@ function Fo() {
|
|
|
1893
1893
|
var J = L[Y], N = O(J);
|
|
1894
1894
|
if (N !== "object")
|
|
1895
1895
|
return new q("Invalid " + V + " `" + D + "` of type `" + N + "` " + ("supplied to `" + j + "`, expected `object`."));
|
|
1896
|
-
var
|
|
1897
|
-
for (var
|
|
1898
|
-
var fe = v[
|
|
1899
|
-
if (n(v,
|
|
1900
|
-
return me(j, V, D,
|
|
1896
|
+
var Q = t({}, L[Y], v);
|
|
1897
|
+
for (var R in Q) {
|
|
1898
|
+
var fe = v[R];
|
|
1899
|
+
if (n(v, R) && typeof fe != "function")
|
|
1900
|
+
return me(j, V, D, R, h(fe));
|
|
1901
1901
|
if (!fe)
|
|
1902
1902
|
return new q(
|
|
1903
|
-
"Invalid " + V + " `" + D + "` key `" +
|
|
1903
|
+
"Invalid " + V + " `" + D + "` key `" + R + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(L[Y], null, " ") + `
|
|
1904
1904
|
Valid keys: ` + JSON.stringify(Object.keys(v), null, " ")
|
|
1905
1905
|
);
|
|
1906
|
-
var S = fe(J,
|
|
1906
|
+
var S = fe(J, R, j, V, D + "." + R, r);
|
|
1907
1907
|
if (S)
|
|
1908
1908
|
return S;
|
|
1909
1909
|
}
|
|
@@ -4022,20 +4022,11 @@ function Qe(e) {
|
|
|
4022
4022
|
async function zt(e, t) {
|
|
4023
4023
|
return e.network == "fb" && (e.zip = 1), (await Ee.post(t + "/createFlexVersionLink", e || {})).data;
|
|
4024
4024
|
}
|
|
4025
|
-
const QA = ({
|
|
4026
|
-
versionId: e,
|
|
4027
|
-
typeOfProduct: t,
|
|
4028
|
-
api: r,
|
|
4029
|
-
fetchFileUrl: n,
|
|
4030
|
-
copyLinkUrl: i
|
|
4031
|
-
}) => {
|
|
4025
|
+
const QA = ({ versionId: e, typeOfProduct: t, api: r, fetchFileUrl: n, copyLinkUrl: i }) => {
|
|
4032
4026
|
const o = async () => {
|
|
4033
|
-
let a
|
|
4034
|
-
if (t === "Flex") {
|
|
4035
|
-
const A = await zt(
|
|
4036
|
-
{ _id: e, network: "default" },
|
|
4037
|
-
r
|
|
4038
|
-
);
|
|
4027
|
+
let a;
|
|
4028
|
+
if (window.Clipboard && window.Clipboard.copy ? a = window.Clipboard.copy : a = navigator.clipboard.writeText, t === "Flex") {
|
|
4029
|
+
const A = await zt({ _id: e, network: "default" }, r);
|
|
4039
4030
|
console.log("first:", A), a(`${i}/preview?versionId=${e}`), Qe("Link copied");
|
|
4040
4031
|
} else {
|
|
4041
4032
|
const A = await tt(
|
|
@@ -5262,13 +5253,13 @@ const is = ({
|
|
|
5262
5253
|
};
|
|
5263
5254
|
const D = zr.includes("moloco") ? 1 : 0, J = () => {
|
|
5264
5255
|
r(e);
|
|
5265
|
-
}, N = async (
|
|
5256
|
+
}, N = async (G, _, ce, Le, he, _e) => {
|
|
5266
5257
|
try {
|
|
5267
5258
|
if ($(!0), d === "Flex") {
|
|
5268
5259
|
q.iosUrl = p.iosUrl, q.googleUrl = p.googleUrl, await Un(q, c);
|
|
5269
5260
|
const Oe = await zt(
|
|
5270
5261
|
{
|
|
5271
|
-
_id:
|
|
5262
|
+
_id: G,
|
|
5272
5263
|
network: _
|
|
5273
5264
|
},
|
|
5274
5265
|
c
|
|
@@ -5299,9 +5290,7 @@ const is = ({
|
|
|
5299
5290
|
].includes(_) || (_ === "fb" || _ === "luna") && _e)
|
|
5300
5291
|
ve = document.createElement("iframe"), ve.setAttribute("src", "/files/" + Je), ve.style.display = "none", document.body.appendChild(ve), ve.click();
|
|
5301
5292
|
else if (Le) {
|
|
5302
|
-
let be = await fetch(f + "/" + Je).then(
|
|
5303
|
-
(ft) => ft.text()
|
|
5304
|
-
);
|
|
5293
|
+
let be = await fetch(f + "/" + Je).then((ft) => ft.text());
|
|
5305
5294
|
ve = document.createElement("a"), ve.setAttribute(
|
|
5306
5295
|
"href",
|
|
5307
5296
|
"data:html/plain;charset=utf-8," + encodeURIComponent(be)
|
|
@@ -5313,20 +5302,12 @@ const is = ({
|
|
|
5313
5302
|
return $(!1), Je;
|
|
5314
5303
|
} else {
|
|
5315
5304
|
await Fn(
|
|
5316
|
-
|
|
5305
|
+
G,
|
|
5317
5306
|
{ iosLink: p.iosUrl, androidLink: p.googleUrl },
|
|
5318
5307
|
c
|
|
5319
5308
|
);
|
|
5320
5309
|
const Oe = zr.includes(_) ? 1 : 0;
|
|
5321
|
-
tt(
|
|
5322
|
-
c,
|
|
5323
|
-
Q,
|
|
5324
|
-
B,
|
|
5325
|
-
_,
|
|
5326
|
-
_e,
|
|
5327
|
-
Oe,
|
|
5328
|
-
{}
|
|
5329
|
-
).then(async (Je) => {
|
|
5310
|
+
tt(c, G, B, _, _e, Oe, {}).then(async (Je) => {
|
|
5330
5311
|
let { url: ve } = Je, be;
|
|
5331
5312
|
if ([
|
|
5332
5313
|
"google",
|
|
@@ -5367,9 +5348,9 @@ const is = ({
|
|
|
5367
5348
|
} catch (Oe) {
|
|
5368
5349
|
$(!1), m(Oe.response.data.error.msg);
|
|
5369
5350
|
}
|
|
5370
|
-
},
|
|
5371
|
-
let
|
|
5372
|
-
if (d === "Playable") {
|
|
5351
|
+
}, Q = async () => {
|
|
5352
|
+
let G;
|
|
5353
|
+
if (window.Clipboard && window.Clipboard.copy ? G = window.Clipboard.copy : G = navigator.clipboard.writeText, d === "Playable") {
|
|
5373
5354
|
await Fn(
|
|
5374
5355
|
s,
|
|
5375
5356
|
{ iosLink: p.iosUrl, androidLink: p.googleUrl },
|
|
@@ -5384,50 +5365,32 @@ const is = ({
|
|
|
5384
5365
|
1,
|
|
5385
5366
|
`var type = ${i}`
|
|
5386
5367
|
);
|
|
5387
|
-
return
|
|
5368
|
+
return G(`${f}/${ce == null ? void 0 : ce.url}`), Qe("Link Coppied"), ce == null ? void 0 : ce.url;
|
|
5388
5369
|
}
|
|
5389
5370
|
q.iosUrl = p.iosUrl, q.googleUrl = p.googleUrl, await Un(q, c);
|
|
5390
|
-
const _ = await zt(
|
|
5391
|
-
|
|
5392
|
-
|
|
5393
|
-
);
|
|
5394
|
-
return Q(`${f}/${_ == null ? void 0 : _.url}`), Qe("Link Coppied"), _ == null ? void 0 : _.url;
|
|
5395
|
-
}, G = async () => {
|
|
5371
|
+
const _ = await zt({ _id: s, network: i }, c);
|
|
5372
|
+
return G(`${f}/${_ == null ? void 0 : _.url}`), Qe("Link Coppied"), _ == null ? void 0 : _.url;
|
|
5373
|
+
}, R = async () => {
|
|
5396
5374
|
v(!0);
|
|
5397
|
-
const
|
|
5398
|
-
|
|
5399
|
-
|
|
5400
|
-
|
|
5401
|
-
"moloco",
|
|
5402
|
-
!1,
|
|
5403
|
-
D,
|
|
5404
|
-
{ molocoS3: !0 }
|
|
5405
|
-
);
|
|
5406
|
-
let _ = Q.url, ce;
|
|
5375
|
+
const G = await tt(c, s, B, "moloco", !1, D, {
|
|
5376
|
+
molocoS3: !0
|
|
5377
|
+
});
|
|
5378
|
+
let _ = G.url, ce;
|
|
5407
5379
|
if (!_) {
|
|
5408
|
-
v(!1), m(
|
|
5380
|
+
v(!1), m(G.message, G);
|
|
5409
5381
|
return;
|
|
5410
5382
|
}
|
|
5411
5383
|
let Le = await fetch(f + "/" + _).then((he) => he.text());
|
|
5412
|
-
ce = document.createElement("a"), ce.setAttribute(
|
|
5413
|
-
"href",
|
|
5414
|
-
"data:html/plain;charset=utf-8," + encodeURIComponent(Le)
|
|
5415
|
-
), ce.setAttribute(
|
|
5384
|
+
ce = document.createElement("a"), ce.setAttribute("href", "data:html/plain;charset=utf-8," + encodeURIComponent(Le)), ce.setAttribute(
|
|
5416
5385
|
"download",
|
|
5417
5386
|
_.split("/").reduce((he, _e) => _e, "")
|
|
5418
5387
|
), ce.style.display = "none", document.body.appendChild(ce), ce.click(), v(!1), Qe("Download successfully"), O(!1);
|
|
5419
5388
|
}, fe = async () => {
|
|
5420
5389
|
L(!0);
|
|
5421
|
-
const
|
|
5422
|
-
|
|
5423
|
-
|
|
5424
|
-
|
|
5425
|
-
"moloco",
|
|
5426
|
-
!1,
|
|
5427
|
-
D,
|
|
5428
|
-
{ molocoS3: !0 }
|
|
5429
|
-
);
|
|
5430
|
-
await fetch(f + "/" + Q.url).then((_) => {
|
|
5390
|
+
const G = await tt(c, s, B, "moloco", !1, D, {
|
|
5391
|
+
molocoS3: !0
|
|
5392
|
+
});
|
|
5393
|
+
await fetch(f + "/" + G.url).then((_) => {
|
|
5431
5394
|
_.text().then((ce) => {
|
|
5432
5395
|
const Le = {
|
|
5433
5396
|
Applovin: '{"cur":"USD","id":"2be72885d7954bd8a731108d86d41b4abb2a2197","seatbid":[{"bid":[{"adid":"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS","adm":"<VAST version=\\"3.0\\"><Ad id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\"><InLine><AdSystem version=\\"2.0\\"></AdSystem><AdTitle><![CDATA[oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS]]></AdTitle><Impression id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_fwd?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}]]></Impression><Creatives><Creative><Linear><Duration>00:00:30</Duration><TrackingEvents><Tracking event=\\"firstQuartile\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_1q]]></Tracking><Tracking event=\\"midpoint\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_2q]]></Tracking><Tracking event=\\"thirdQuartile\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_3q]]></Tracking><Tracking event=\\"complete\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_4q]]></Tracking></TrackingEvents><VideoClicks><ClickThrough><![CDATA[https://tr-us.adsmoloco.com/rtb/click?exchange=APPLOVIN&imp_id=2be72885d7954bd8a731108d86d41b4abb2a2197&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&campaign_name=d6CJa3T9aYcc1yEx&dcr=]]></ClickThrough></VideoClicks><MediaFiles><MediaFile id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\" delivery=\\"progressive\\" type=\\"video/mp4\\" width=\\"360\\" height=\\"640\\"><![CDATA[https://cdn-f.adsmoloco.com/king/creative/la2szjv7_m16ly8y_qdpyqh49wthqhksm.mp4]]></MediaFile></MediaFiles></Linear><CreativeExtensions></CreativeExtensions></Creative><Creative><CompanionAds><Companion id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\" width=\\"320\\" height=\\"480\\" assetWidth=\\"0\\" assetHeight=\\"0\\" expandedWidth=\\"0\\" expandedHeight=\\"0\\"><TrackingEvents><Tracking event=\\"creativeView\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=endcard]]></Tracking></TrackingEvents><HTMLResource><![CDATA[#PLAYABLE_FACTORY_SOURCE]]></HTMLResource></Companion></CompanionAds><CreativeExtensions></CreativeExtensions></Creative></Creatives><Description></Description><Survey></Survey><Extensions></Extensions></InLine></Ad></VAST>","adomain":["king.com"],"attr":[6],"bundle":"com.king.candycrushsaga","burl":"https://tr-us.adsmoloco.com/rtb/imp?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&campaign_name=d6CJa3T9aYcc1yEx&imp_id=2be72885d7954bd8a731108d86d41b4abb2a2197&price=${AUCTION_PRICE}","cat":["IAB9"],"cid":"d6CJa3T9aYcc1yEx","crid":"king:a:qd4LesSpgup13ArS","ext":{"crtype":"VAST 3.0","duration":30},"id":"1","impid":"1","lurl":"https://noti-us.adsmoloco.com/rtb/loss?code=${AUCTION_LOSS}&ctx=CgNVU0ESFgoSdXMuY3VycmVudC5hbmRyb2lkEAEYAiIQZDZDSmEzVDlhWWNjMXlFeA&exchange=APPLOVIN&force_stream=false&mtid=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}","nurl":"https://noti-us.adsmoloco.com/rtb/win?ctx=CgNVU0ESFgoSdXMuY3VycmVudC5hbmRyb2lkEAEYAiIQZDZDSmEzVDlhWWNjMXlFeA&exchange=APPLOVIN&force_stream=false&mbtw=${AUCTION_MINIMUM_BID_TO_WIN}&mtid=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}","price":0.012}],"seat":"s"}]}'.replace(
|
|
@@ -5443,23 +5406,17 @@ const is = ({
|
|
|
5443
5406
|
he.setAttribute(
|
|
5444
5407
|
"href",
|
|
5445
5408
|
"data:application/json;charset=utf-8," + encodeURIComponent(Le.Applovin)
|
|
5446
|
-
), he.setAttribute("download", (
|
|
5409
|
+
), he.setAttribute("download", (G == null ? void 0 : G.url.split("/").at(-1)) + ".json"), he.style.display = "none", he.onclick = () => {
|
|
5447
5410
|
document.body.removeChild(he);
|
|
5448
5411
|
}, document.body.appendChild(he), he.click(), O(!1), Qe("Download successfully"), L(!1);
|
|
5449
5412
|
});
|
|
5450
5413
|
});
|
|
5451
5414
|
}, S = async () => {
|
|
5452
5415
|
j(!0);
|
|
5453
|
-
const
|
|
5454
|
-
|
|
5455
|
-
|
|
5456
|
-
|
|
5457
|
-
"moloco",
|
|
5458
|
-
!1,
|
|
5459
|
-
D,
|
|
5460
|
-
{ molocoS3: !0 }
|
|
5461
|
-
);
|
|
5462
|
-
await fetch(f + "/" + Q.url).then((_) => {
|
|
5416
|
+
const G = await tt(c, s, B, "moloco", !1, D, {
|
|
5417
|
+
molocoS3: !0
|
|
5418
|
+
});
|
|
5419
|
+
await fetch(f + "/" + G.url).then((_) => {
|
|
5463
5420
|
_.text().then((ce) => {
|
|
5464
5421
|
const Le = {
|
|
5465
5422
|
Applovin: '{"cur":"USD","id":"2be72885d7954bd8a731108d86d41b4abb2a2197","seatbid":[{"bid":[{"adid":"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS","adm":"<VAST version=\\"3.0\\"><Ad id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\"><InLine><AdSystem version=\\"2.0\\"></AdSystem><AdTitle><![CDATA[oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS]]></AdTitle><Impression id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_fwd?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}]]></Impression><Creatives><Creative><Linear><Duration>00:00:30</Duration><TrackingEvents><Tracking event=\\"firstQuartile\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_1q]]></Tracking><Tracking event=\\"midpoint\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_2q]]></Tracking><Tracking event=\\"thirdQuartile\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_3q]]></Tracking><Tracking event=\\"complete\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=play_4q]]></Tracking></TrackingEvents><VideoClicks><ClickThrough><![CDATA[https://tr-us.adsmoloco.com/rtb/click?exchange=APPLOVIN&imp_id=2be72885d7954bd8a731108d86d41b4abb2a2197&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&campaign_name=d6CJa3T9aYcc1yEx&dcr=]]></ClickThrough></VideoClicks><MediaFiles><MediaFile id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\" delivery=\\"progressive\\" type=\\"video/mp4\\" width=\\"360\\" height=\\"640\\"><![CDATA[https://cdn-f.adsmoloco.com/king/creative/la2szjv7_m16ly8y_qdpyqh49wthqhksm.mp4]]></MediaFile></MediaFiles></Linear><CreativeExtensions></CreativeExtensions></Creative><Creative><CompanionAds><Companion id=\\"oOsBIGBokhmzLDk1.a.qd4LesSpgup13ArS\\" width=\\"320\\" height=\\"480\\" assetWidth=\\"0\\" assetHeight=\\"0\\" expandedWidth=\\"0\\" expandedHeight=\\"0\\"><TrackingEvents><Tracking event=\\"creativeView\\"><![CDATA[https://tr-us.adsmoloco.com/rtb/imp_extra?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&event_type=endcard]]></Tracking></TrackingEvents><HTMLResource><![CDATA[#PLAYABLE_FACTORY_SOURCE]]></HTMLResource></Companion></CompanionAds><CreativeExtensions></CreativeExtensions></Creative></Creatives><Description></Description><Survey></Survey><Extensions></Extensions></InLine></Ad></VAST>","adomain":["king.com"],"attr":[6],"bundle":"com.king.candycrushsaga","burl":"https://tr-us.adsmoloco.com/rtb/imp?exchange=APPLOVIN&info=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&campaign_name=d6CJa3T9aYcc1yEx&imp_id=2be72885d7954bd8a731108d86d41b4abb2a2197&price=${AUCTION_PRICE}","cat":["IAB9"],"cid":"d6CJa3T9aYcc1yEx","crid":"king:a:qd4LesSpgup13ArS","ext":{"crtype":"VAST 3.0","duration":30},"id":"1","impid":"1","lurl":"https://noti-us.adsmoloco.com/rtb/loss?code=${AUCTION_LOSS}&ctx=CgNVU0ESFgoSdXMuY3VycmVudC5hbmRyb2lkEAEYAiIQZDZDSmEzVDlhWWNjMXlFeA&exchange=APPLOVIN&force_stream=false&mtid=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}","nurl":"https://noti-us.adsmoloco.com/rtb/win?ctx=CgNVU0ESFgoSdXMuY3VycmVudC5hbmRyb2lkEAEYAiIQZDZDSmEzVDlhWWNjMXlFeA&exchange=APPLOVIN&force_stream=false&mbtw=${AUCTION_MINIMUM_BID_TO_WIN}&mtid=ChAt4vtb6EJNq4PhfVssmxi6ELqg0JsGGhQIARoQavi7965kS0m3_ezvTEDk1yABKgAyAA&price=${AUCTION_PRICE}","price":0.012}],"seat":"s"}]}'.replace(
|
|
@@ -5475,7 +5432,7 @@ const is = ({
|
|
|
5475
5432
|
he.setAttribute(
|
|
5476
5433
|
"href",
|
|
5477
5434
|
"data:application/json;charset=utf-8," + encodeURIComponent(Le.Chartboost)
|
|
5478
|
-
), he.setAttribute("download", (
|
|
5435
|
+
), he.setAttribute("download", (G == null ? void 0 : G.url.split("/").at(-1)) + ".json"), he.style.display = "none", he.onclick = () => {
|
|
5479
5436
|
document.body.removeChild(he);
|
|
5480
5437
|
}, document.body.appendChild(he), he.click(), O(!1), Qe("Download successfully"), j(!1);
|
|
5481
5438
|
});
|
|
@@ -5532,7 +5489,7 @@ const is = ({
|
|
|
5532
5489
|
}
|
|
5533
5490
|
}
|
|
5534
5491
|
),
|
|
5535
|
-
/* @__PURE__ */ u.jsx("div", { children: o && o.map((
|
|
5492
|
+
/* @__PURE__ */ u.jsx("div", { children: o && o.map((G) => G.network).includes(i) ? a ? /* @__PURE__ */ u.jsx(
|
|
5536
5493
|
"div",
|
|
5537
5494
|
{
|
|
5538
5495
|
style: {
|
|
@@ -5548,7 +5505,7 @@ const is = ({
|
|
|
5548
5505
|
},
|
|
5549
5506
|
children: /* @__PURE__ */ u.jsx(Fi, { typeOfProduct: d })
|
|
5550
5507
|
}
|
|
5551
|
-
) : o.map((
|
|
5508
|
+
) : o.map((G) => /* @__PURE__ */ u.jsx(
|
|
5552
5509
|
"div",
|
|
5553
5510
|
{
|
|
5554
5511
|
style: {
|
|
@@ -5563,9 +5520,9 @@ const is = ({
|
|
|
5563
5520
|
justifyContent: "center",
|
|
5564
5521
|
alignItems: "center"
|
|
5565
5522
|
},
|
|
5566
|
-
children:
|
|
5523
|
+
children: G.network === i ? G.size.toString().slice(0, 5) + "Mb" : ""
|
|
5567
5524
|
},
|
|
5568
|
-
|
|
5525
|
+
G.network
|
|
5569
5526
|
)) : null })
|
|
5570
5527
|
]
|
|
5571
5528
|
}
|
|
@@ -5580,14 +5537,7 @@ const is = ({
|
|
|
5580
5537
|
left: "0",
|
|
5581
5538
|
padding: "0.5rem"
|
|
5582
5539
|
},
|
|
5583
|
-
children: d === "Playable" && i !== "instantGame" && A && /* @__PURE__ */ u.jsx(
|
|
5584
|
-
es,
|
|
5585
|
-
{
|
|
5586
|
-
checked: n,
|
|
5587
|
-
typeOfProduct: d,
|
|
5588
|
-
id: e
|
|
5589
|
-
}
|
|
5590
|
-
)
|
|
5540
|
+
children: d === "Playable" && i !== "instantGame" && A && /* @__PURE__ */ u.jsx(es, { checked: n, typeOfProduct: d, id: e })
|
|
5591
5541
|
}
|
|
5592
5542
|
),
|
|
5593
5543
|
/* @__PURE__ */ u.jsx(
|
|
@@ -5630,8 +5580,8 @@ const is = ({
|
|
|
5630
5580
|
return;
|
|
5631
5581
|
} else {
|
|
5632
5582
|
oe("download");
|
|
5633
|
-
const
|
|
5634
|
-
Z && Z.willSpendCredit ? (C(!0), E("download"), F(!0)) : !
|
|
5583
|
+
const G = p.iosUrl, _ = p.googleUrl;
|
|
5584
|
+
Z && Z.willSpendCredit ? (C(!0), E("download"), F(!0)) : !G || !_ ? (C(!0), K(!0)) : (K(!1), F(!1), await N(s, i, void 0, !0, null, !0));
|
|
5635
5585
|
}
|
|
5636
5586
|
},
|
|
5637
5587
|
children: [
|
|
@@ -5663,8 +5613,8 @@ const is = ({
|
|
|
5663
5613
|
className: "w-1/3",
|
|
5664
5614
|
onClickDonwload: async () => {
|
|
5665
5615
|
oe("copyLink");
|
|
5666
|
-
const
|
|
5667
|
-
Z && (Z != null && Z.willSpendCredit) ? (E("copy"), C(!0), F(!0)) : !
|
|
5616
|
+
const G = p.iosUrl, _ = p.googleUrl;
|
|
5617
|
+
Z && (Z != null && Z.willSpendCredit) ? (E("copy"), C(!0), F(!0)) : !G || !_ ? (C(!0), K(!0)) : (F(!1), K(!1), await Q());
|
|
5668
5618
|
},
|
|
5669
5619
|
disabled: z,
|
|
5670
5620
|
children: /* @__PURE__ */ u.jsx(yi, { className: "h-6 w-6 stroke-dark-full" })
|
|
@@ -5681,7 +5631,7 @@ const is = ({
|
|
|
5681
5631
|
{
|
|
5682
5632
|
creditConfirmType: h,
|
|
5683
5633
|
handleCopyLink: async () => {
|
|
5684
|
-
K(!1), C(!1), await
|
|
5634
|
+
K(!1), C(!1), await Q();
|
|
5685
5635
|
},
|
|
5686
5636
|
download: async () => {
|
|
5687
5637
|
K(!1), C(!1), await N(s, i, void 0, !0, null, !0);
|
|
@@ -5702,7 +5652,7 @@ const is = ({
|
|
|
5702
5652
|
googleLink: p.googleUrl,
|
|
5703
5653
|
buttonType: re,
|
|
5704
5654
|
handleCopyLink: async () => {
|
|
5705
|
-
K(!1), C(!1), await
|
|
5655
|
+
K(!1), C(!1), await Q();
|
|
5706
5656
|
},
|
|
5707
5657
|
download: async () => {
|
|
5708
5658
|
K(!1), C(!1), await N(s, i, void 0, !0, null, !0);
|
|
@@ -5715,7 +5665,7 @@ const is = ({
|
|
|
5715
5665
|
onClose: () => {
|
|
5716
5666
|
O(!1);
|
|
5717
5667
|
},
|
|
5718
|
-
handleDownload:
|
|
5668
|
+
handleDownload: R,
|
|
5719
5669
|
handleDownloadMolocoApplovinTest: fe,
|
|
5720
5670
|
handleDownloadMolocoChartboostTest: S,
|
|
5721
5671
|
downloadingMoloco: X,
|
|
@@ -6606,14 +6556,14 @@ const ys = [
|
|
|
6606
6556
|
0,
|
|
6607
6557
|
{}
|
|
6608
6558
|
);
|
|
6609
|
-
let
|
|
6559
|
+
let Q = await fetch(s + "/" + J.url).then(
|
|
6610
6560
|
(S) => S.text()
|
|
6611
6561
|
);
|
|
6612
|
-
const
|
|
6562
|
+
const R = ((Y = Q.match(
|
|
6613
6563
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6614
6564
|
)) == null ? void 0 : Y.at(1)) || "";
|
|
6615
|
-
B(
|
|
6616
|
-
const fe = ((j =
|
|
6565
|
+
B(R);
|
|
6566
|
+
const fe = ((j = Q.match(
|
|
6617
6567
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6618
6568
|
)) == null ? void 0 : j.at(1)) || "";
|
|
6619
6569
|
re(fe);
|
|
@@ -6632,15 +6582,15 @@ const ys = [
|
|
|
6632
6582
|
},
|
|
6633
6583
|
o
|
|
6634
6584
|
);
|
|
6635
|
-
let
|
|
6585
|
+
let Q = await fetch(s + "/" + J.url).then(
|
|
6636
6586
|
(S) => S.text()
|
|
6637
6587
|
);
|
|
6638
|
-
const
|
|
6588
|
+
const R = ((V = Q.match(
|
|
6639
6589
|
/var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6640
|
-
)) == null ? void 0 : V.at(1)) || "", fe = ((D =
|
|
6590
|
+
)) == null ? void 0 : V.at(1)) || "", fe = ((D = Q.match(
|
|
6641
6591
|
/var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
|
|
6642
6592
|
)) == null ? void 0 : D.at(1)) || "";
|
|
6643
|
-
!
|
|
6593
|
+
!R && !fe ? (re(""), B("")) : (B(R), re(fe));
|
|
6644
6594
|
}
|
|
6645
6595
|
}
|
|
6646
6596
|
} catch (J) {
|
|
@@ -7498,7 +7448,7 @@ var ei = Object.assign || function(e) {
|
|
|
7498
7448
|
return function(t, r, n) {
|
|
7499
7449
|
return r && e(t.prototype, r), n && e(t, n), t;
|
|
7500
7450
|
};
|
|
7501
|
-
}(), so = Ae, or = Gt(so), gl = So, ar = Gt(gl), ql = sr,
|
|
7451
|
+
}(), so = Ae, or = Gt(so), gl = So, ar = Gt(gl), ql = sr, P = Gt(ql), yl = dl, ti = Gt(yl), vl = Pe, bl = Zl(vl), nt = Ge, ri = Gt(nt), Cl = fl;
|
|
7502
7452
|
function Zl(e) {
|
|
7503
7453
|
if (e && e.__esModule)
|
|
7504
7454
|
return e;
|
|
@@ -7606,44 +7556,44 @@ var xt = function(e) {
|
|
|
7606
7556
|
}]), t;
|
|
7607
7557
|
}(so.Component);
|
|
7608
7558
|
xt.propTypes = {
|
|
7609
|
-
isOpen:
|
|
7610
|
-
style:
|
|
7611
|
-
content:
|
|
7612
|
-
overlay:
|
|
7559
|
+
isOpen: P.default.bool.isRequired,
|
|
7560
|
+
style: P.default.shape({
|
|
7561
|
+
content: P.default.object,
|
|
7562
|
+
overlay: P.default.object
|
|
7613
7563
|
}),
|
|
7614
|
-
portalClassName:
|
|
7615
|
-
bodyOpenClassName:
|
|
7616
|
-
htmlOpenClassName:
|
|
7617
|
-
className:
|
|
7618
|
-
base:
|
|
7619
|
-
afterOpen:
|
|
7620
|
-
beforeClose:
|
|
7564
|
+
portalClassName: P.default.string,
|
|
7565
|
+
bodyOpenClassName: P.default.string,
|
|
7566
|
+
htmlOpenClassName: P.default.string,
|
|
7567
|
+
className: P.default.oneOfType([P.default.string, P.default.shape({
|
|
7568
|
+
base: P.default.string.isRequired,
|
|
7569
|
+
afterOpen: P.default.string.isRequired,
|
|
7570
|
+
beforeClose: P.default.string.isRequired
|
|
7621
7571
|
})]),
|
|
7622
|
-
overlayClassName:
|
|
7623
|
-
base:
|
|
7624
|
-
afterOpen:
|
|
7625
|
-
beforeClose:
|
|
7572
|
+
overlayClassName: P.default.oneOfType([P.default.string, P.default.shape({
|
|
7573
|
+
base: P.default.string.isRequired,
|
|
7574
|
+
afterOpen: P.default.string.isRequired,
|
|
7575
|
+
beforeClose: P.default.string.isRequired
|
|
7626
7576
|
})]),
|
|
7627
|
-
appElement:
|
|
7628
|
-
onAfterOpen:
|
|
7629
|
-
onRequestClose:
|
|
7630
|
-
closeTimeoutMS:
|
|
7631
|
-
ariaHideApp:
|
|
7632
|
-
shouldFocusAfterRender:
|
|
7633
|
-
shouldCloseOnOverlayClick:
|
|
7634
|
-
shouldReturnFocusAfterClose:
|
|
7635
|
-
preventScroll:
|
|
7636
|
-
parentSelector:
|
|
7637
|
-
aria:
|
|
7638
|
-
data:
|
|
7639
|
-
role:
|
|
7640
|
-
contentLabel:
|
|
7641
|
-
shouldCloseOnEsc:
|
|
7642
|
-
overlayRef:
|
|
7643
|
-
contentRef:
|
|
7644
|
-
id:
|
|
7645
|
-
overlayElement:
|
|
7646
|
-
contentElement:
|
|
7577
|
+
appElement: P.default.oneOfType([P.default.instanceOf(ri.default), P.default.instanceOf(nt.SafeHTMLCollection), P.default.instanceOf(nt.SafeNodeList), P.default.arrayOf(P.default.instanceOf(ri.default))]),
|
|
7578
|
+
onAfterOpen: P.default.func,
|
|
7579
|
+
onRequestClose: P.default.func,
|
|
7580
|
+
closeTimeoutMS: P.default.number,
|
|
7581
|
+
ariaHideApp: P.default.bool,
|
|
7582
|
+
shouldFocusAfterRender: P.default.bool,
|
|
7583
|
+
shouldCloseOnOverlayClick: P.default.bool,
|
|
7584
|
+
shouldReturnFocusAfterClose: P.default.bool,
|
|
7585
|
+
preventScroll: P.default.bool,
|
|
7586
|
+
parentSelector: P.default.func,
|
|
7587
|
+
aria: P.default.object,
|
|
7588
|
+
data: P.default.object,
|
|
7589
|
+
role: P.default.string,
|
|
7590
|
+
contentLabel: P.default.string,
|
|
7591
|
+
shouldCloseOnEsc: P.default.bool,
|
|
7592
|
+
overlayRef: P.default.func,
|
|
7593
|
+
contentRef: P.default.func,
|
|
7594
|
+
id: P.default.string,
|
|
7595
|
+
overlayElement: P.default.func,
|
|
7596
|
+
contentElement: P.default.func
|
|
7647
7597
|
};
|
|
7648
7598
|
xt.defaultProps = {
|
|
7649
7599
|
isOpen: !1,
|