gearboxdownloadmodal 6.0.12 → 6.0.13

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 CHANGED
@@ -1,4 +1,4 @@
1
- import ae, { useState as P, useEffect as Ie, forwardRef as Li, useReducer as Oi, useRef as nt, isValidElement as mt, cloneElement as kn, useLayoutEffect as Ei } from "react";
1
+ import ae, { useState as P, useEffect as Ce, forwardRef as Li, useReducer as Oi, useRef as nt, isValidElement as mt, cloneElement as kn, useLayoutEffect as Ei } from "react";
2
2
  import ki from "react-dom";
3
3
  function zi(e) {
4
4
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
@@ -41,14 +41,14 @@ function ji() {
41
41
  wr = 1;
42
42
  var e = ae, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
43
43
  function a(A, m, c) {
44
- var s, d = {}, y = null, h = null;
45
- c !== void 0 && (y = "" + c), m.key !== void 0 && (y = "" + m.key), m.ref !== void 0 && (h = m.ref);
44
+ var s, d = {}, y = null, g = null;
45
+ c !== void 0 && (y = "" + c), m.key !== void 0 && (y = "" + m.key), m.ref !== void 0 && (g = m.ref);
46
46
  for (s in m)
47
47
  r.call(m, s) && !i.hasOwnProperty(s) && (d[s] = m[s]);
48
48
  if (A && A.defaultProps)
49
49
  for (s in m = A.defaultProps, m)
50
50
  d[s] === void 0 && (d[s] = m[s]);
51
- return { $$typeof: t, type: A, key: y, ref: h, props: d, _owner: o.current };
51
+ return { $$typeof: t, type: A, key: y, ref: g, props: d, _owner: o.current };
52
52
  }
53
53
  return yt.Fragment = n, yt.jsx = a, yt.jsxs = a, yt;
54
54
  }
@@ -65,11 +65,11 @@ var vt = {};
65
65
  var xr;
66
66
  function Ji() {
67
67
  return xr || (xr = 1, process.env.NODE_ENV !== "production" && function() {
68
- var e = ae, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), A = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), h = Symbol.for("react.offscreen"), p = Symbol.iterator, g = "@@iterator";
68
+ var e = ae, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), A = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), p = Symbol.iterator, h = "@@iterator";
69
69
  function v(u) {
70
70
  if (u === null || typeof u != "object")
71
71
  return null;
72
- var I = p && u[p] || u[g];
72
+ var I = p && u[p] || u[h];
73
73
  return typeof I == "function" ? I : null;
74
74
  }
75
75
  var x = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -93,7 +93,7 @@ function Ji() {
93
93
  var O = !1, C = !1, ne = !1, re = !1, U = !1, Ae;
94
94
  Ae = Symbol.for("react.module.reference");
95
95
  function F(u) {
96
- return !!(typeof u == "string" || typeof u == "function" || u === r || u === i || U || u === o || u === c || u === s || re || u === h || O || C || ne || typeof u == "object" && u !== null && (u.$$typeof === y || u.$$typeof === d || u.$$typeof === a || u.$$typeof === A || u.$$typeof === m || // This needs to include all possible module reference object
96
+ return !!(typeof u == "string" || typeof u == "function" || u === r || u === i || U || u === o || u === c || u === s || re || u === g || O || C || ne || typeof u == "object" && u !== null && (u.$$typeof === y || u.$$typeof === d || u.$$typeof === a || u.$$typeof === A || u.$$typeof === m || // This needs to include all possible module reference object
97
97
  // types supported by any Flight configuration anywhere since
98
98
  // we don't know which Flight build this will end up being used
99
99
  // with.
@@ -653,7 +653,7 @@ process.env.NODE_ENV === "production" ? zn.exports = ji() : zn.exports = Ji();
653
653
  var l = zn.exports;
654
654
  const so = "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzMiIGhlaWdodD0iMzIiIHZpZXdCb3g9IjAgMCAzMyAzMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4NCiAgPGcgY2xpcC1wYXRoPSJ1cmwoI2NsaXAwXzE4OThfMzEyMjcpIj4NCiAgICA8cGF0aCBkPSJNMjAuMzQxNiAxMi4yMjY2TDEyLjc5NDkgMTkuNzczMiIgc3Ryb2tlPSIjMEYwRjFFIiBzdHJva2VXaWR0aD0iMS44Ig0KICAgICAgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiAvPg0KICAgIDxwYXRoIGQ9Ik0yMC4zNDE2IDE5Ljc3MzJMMTIuNzk0OSAxMi4yMjY2IiBzdHJva2U9IiMwRjBGMUUiIHN0cm9rZVdpZHRoPSIxLjgiDQogICAgICBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+DQogICAgPHBhdGgNCiAgICAgIGQ9Ik0xNi41Njg0IDI4QzkuOTQwMzYgMjggNC41NjgzNiAyMi42MjggNC41NjgzNiAxNkM0LjU2ODM2IDkuMzcyIDkuOTQwMzYgNCAxNi41Njg0IDRDMjMuMTk2NCA0IDI4LjU2ODQgOS4zNzIgMjguNTY4NCAxNkMyOC41Njg0IDIyLjYyOCAyMy4xOTY0IDI4IDE2LjU2ODQgMjhaIg0KICAgICAgc3Ryb2tlPSIjMEYwRjFFIiBzdHJva2VXaWR0aD0iMS44IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIC8+DQogIDwvZz4NCiAgPGRlZnM+DQogICAgPGNsaXBQYXRoIGlkPSJjbGlwMF8xODk4XzMxMjI3Ij4NCiAgICAgIDxyZWN0IHdpZHRoPSIzMiIgaGVpZ2h0PSIzMiIgZmlsbD0id2hpdGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAuNTY4MzU5KSIgLz4NCiAgICA8L2NsaXBQYXRoPg0KICA8L2RlZnM+DQo8L3N2Zz4=", Ni = ({ children: e }) => {
655
655
  const [t, n] = P(window.innerWidth);
656
- return Ie(() => {
656
+ return Ce(() => {
657
657
  const r = () => {
658
658
  n(window.innerWidth);
659
659
  };
@@ -1358,16 +1358,16 @@ Ne.createBytes = function(e, t) {
1358
1358
  for (var s = 0; s < i[A].length; s++)
1359
1359
  i[A][s] = 255 & e.buffer[s + n];
1360
1360
  n += m;
1361
- var d = Fe.getErrorCorrectPolynomial(c), y = new Bi(i[A], d.getLength() - 1), h = y.mod(d);
1361
+ var d = Fe.getErrorCorrectPolynomial(c), y = new Bi(i[A], d.getLength() - 1), g = y.mod(d);
1362
1362
  a[A] = new Array(d.getLength() - 1);
1363
1363
  for (var s = 0; s < a[A].length; s++) {
1364
- var p = s + h.getLength() - a[A].length;
1365
- a[A][s] = p >= 0 ? h.get(p) : 0;
1364
+ var p = s + g.getLength() - a[A].length;
1365
+ a[A][s] = p >= 0 ? g.get(p) : 0;
1366
1366
  }
1367
1367
  }
1368
- for (var g = 0, s = 0; s < t.length; s++)
1369
- g += t[s].totalCount;
1370
- for (var v = new Array(g), x = 0, s = 0; s < r; s++)
1368
+ for (var h = 0, s = 0; s < t.length; s++)
1369
+ h += t[s].totalCount;
1370
+ for (var v = new Array(h), x = 0, s = 0; s < r; s++)
1371
1371
  for (var A = 0; A < t.length; A++)
1372
1372
  s < i[A].length && (v[x++] = i[A][s]);
1373
1373
  for (var s = 0; s < o; s++)
@@ -1389,7 +1389,7 @@ function Fi() {
1389
1389
  if (Wr)
1390
1390
  return se;
1391
1391
  Wr = 1;
1392
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
1392
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
1393
1393
  function J(C) {
1394
1394
  if (typeof C == "object" && C !== null) {
1395
1395
  var ne = C.$$typeof;
@@ -1408,7 +1408,7 @@ function Fi() {
1408
1408
  case A:
1409
1409
  case s:
1410
1410
  case p:
1411
- case h:
1411
+ case g:
1412
1412
  case a:
1413
1413
  return C;
1414
1414
  default:
@@ -1423,7 +1423,7 @@ function Fi() {
1423
1423
  function O(C) {
1424
1424
  return J(C) === c;
1425
1425
  }
1426
- return se.AsyncMode = m, se.ConcurrentMode = c, se.ContextConsumer = A, se.ContextProvider = a, se.Element = t, se.ForwardRef = s, se.Fragment = r, se.Lazy = p, se.Memo = h, se.Portal = n, se.Profiler = i, se.StrictMode = o, se.Suspense = d, se.isAsyncMode = function(C) {
1426
+ return se.AsyncMode = m, se.ConcurrentMode = c, se.ContextConsumer = A, se.ContextProvider = a, se.Element = t, se.ForwardRef = s, se.Fragment = r, se.Lazy = p, se.Memo = g, se.Portal = n, se.Profiler = i, se.StrictMode = o, se.Suspense = d, se.isAsyncMode = function(C) {
1427
1427
  return O(C) || J(C) === m;
1428
1428
  }, se.isConcurrentMode = O, se.isContextConsumer = function(C) {
1429
1429
  return J(C) === A;
@@ -1438,7 +1438,7 @@ function Fi() {
1438
1438
  }, se.isLazy = function(C) {
1439
1439
  return J(C) === p;
1440
1440
  }, se.isMemo = function(C) {
1441
- return J(C) === h;
1441
+ return J(C) === g;
1442
1442
  }, se.isPortal = function(C) {
1443
1443
  return J(C) === n;
1444
1444
  }, se.isProfiler = function(C) {
@@ -1448,7 +1448,7 @@ function Fi() {
1448
1448
  }, se.isSuspense = function(C) {
1449
1449
  return J(C) === d;
1450
1450
  }, se.isValidElementType = function(C) {
1451
- return typeof C == "string" || typeof C == "function" || C === r || C === c || C === i || C === o || C === d || C === y || typeof C == "object" && C !== null && (C.$$typeof === p || C.$$typeof === h || C.$$typeof === a || C.$$typeof === A || C.$$typeof === s || C.$$typeof === v || C.$$typeof === x || C.$$typeof === E || C.$$typeof === g);
1451
+ return typeof C == "string" || typeof C == "function" || C === r || C === c || C === i || C === o || C === d || C === y || typeof C == "object" && C !== null && (C.$$typeof === p || C.$$typeof === g || C.$$typeof === a || C.$$typeof === A || C.$$typeof === s || C.$$typeof === v || C.$$typeof === x || C.$$typeof === E || C.$$typeof === h);
1452
1452
  }, se.typeOf = J, se;
1453
1453
  }
1454
1454
  var le = {};
@@ -1463,10 +1463,10 @@ var le = {};
1463
1463
  var Mr;
1464
1464
  function _i() {
1465
1465
  return Mr || (Mr = 1, process.env.NODE_ENV !== "production" && function() {
1466
- var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, h = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, g = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
1466
+ var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, i = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, A = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, c = e ? Symbol.for("react.concurrent_mode") : 60111, s = e ? Symbol.for("react.forward_ref") : 60112, d = e ? Symbol.for("react.suspense") : 60113, y = e ? Symbol.for("react.suspense_list") : 60120, g = e ? Symbol.for("react.memo") : 60115, p = e ? Symbol.for("react.lazy") : 60116, h = e ? Symbol.for("react.block") : 60121, v = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
1467
1467
  function J(K) {
1468
1468
  return typeof K == "string" || typeof K == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1469
- K === r || K === c || K === i || K === o || K === d || K === y || typeof K == "object" && K !== null && (K.$$typeof === p || K.$$typeof === h || K.$$typeof === a || K.$$typeof === A || K.$$typeof === s || K.$$typeof === v || K.$$typeof === x || K.$$typeof === E || K.$$typeof === g);
1469
+ K === r || K === c || K === i || K === o || K === d || K === y || typeof K == "object" && K !== null && (K.$$typeof === p || K.$$typeof === g || K.$$typeof === a || K.$$typeof === A || K.$$typeof === s || K.$$typeof === v || K.$$typeof === x || K.$$typeof === E || K.$$typeof === h);
1470
1470
  }
1471
1471
  function O(K) {
1472
1472
  if (typeof K == "object" && K !== null) {
@@ -1488,7 +1488,7 @@ function _i() {
1488
1488
  case A:
1489
1489
  case s:
1490
1490
  case p:
1491
- case h:
1491
+ case g:
1492
1492
  case a:
1493
1493
  return we;
1494
1494
  default:
@@ -1500,7 +1500,7 @@ function _i() {
1500
1500
  }
1501
1501
  }
1502
1502
  }
1503
- var C = m, ne = c, re = A, U = a, Ae = t, F = s, oe = r, X = p, _ = h, W = n, S = i, Y = o, f = d, L = !1;
1503
+ var C = m, ne = c, re = A, U = a, Ae = t, F = s, oe = r, X = p, _ = g, W = n, S = i, Y = o, f = d, L = !1;
1504
1504
  function k(K) {
1505
1505
  return L || (L = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), q(K) || O(K) === m;
1506
1506
  }
@@ -1526,7 +1526,7 @@ function _i() {
1526
1526
  return O(K) === p;
1527
1527
  }
1528
1528
  function N(K) {
1529
- return O(K) === h;
1529
+ return O(K) === g;
1530
1530
  }
1531
1531
  function R(K) {
1532
1532
  return O(K) === n;
@@ -1649,9 +1649,9 @@ function ea() {
1649
1649
  (m || "React class") + ": type specification of " + A + " `" + s + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof d + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
1650
1650
  ), d instanceof Error && !(d.message in n)) {
1651
1651
  n[d.message] = !0;
1652
- var h = c ? c() : "";
1652
+ var g = c ? c() : "";
1653
1653
  e(
1654
- "Failed " + A + " type: " + d.message + (h ?? "")
1654
+ "Failed " + A + " type: " + d.message + (g ?? "")
1655
1655
  );
1656
1656
  }
1657
1657
  }
@@ -1686,7 +1686,7 @@ function ta() {
1686
1686
  if (typeof Z == "function")
1687
1687
  return Z;
1688
1688
  }
1689
- var y = "<<anonymous>>", h = {
1689
+ var y = "<<anonymous>>", g = {
1690
1690
  array: x("array"),
1691
1691
  bigint: x("bigint"),
1692
1692
  bool: x("boolean"),
@@ -1710,10 +1710,10 @@ function ta() {
1710
1710
  function p(q, Z) {
1711
1711
  return q === Z ? q !== 0 || 1 / q === 1 / Z : q !== q && Z !== Z;
1712
1712
  }
1713
- function g(q, Z) {
1713
+ function h(q, Z) {
1714
1714
  this.message = q, this.data = Z && typeof Z == "object" ? Z : {}, this.stack = "";
1715
1715
  }
1716
- g.prototype = Error.prototype;
1716
+ h.prototype = Error.prototype;
1717
1717
  function v(q) {
1718
1718
  if (process.env.NODE_ENV !== "production")
1719
1719
  var Z = {}, z = 0;
@@ -1732,7 +1732,7 @@ function ta() {
1732
1732
  ), Z[ce] = !0, z++);
1733
1733
  }
1734
1734
  }
1735
- return D[N] == null ? Q ? D[N] === null ? new g("The " + B + " `" + T + "` is marked as required " + ("in `" + R + "`, but its value is `null`.")) : new g("The " + B + " `" + T + "` is marked as required in " + ("`" + R + "`, but its value is `undefined`.")) : null : q(D, N, R, B, T);
1735
+ return D[N] == null ? Q ? D[N] === null ? new h("The " + B + " `" + T + "` is marked as required " + ("in `" + R + "`, but its value is `null`.")) : new h("The " + B + " `" + T + "` is marked as required in " + ("`" + R + "`, but its value is `undefined`.")) : null : q(D, N, R, B, T);
1736
1736
  }
1737
1737
  var j = w.bind(null, !1);
1738
1738
  return j.isRequired = w.bind(null, !0), j;
@@ -1742,7 +1742,7 @@ function ta() {
1742
1742
  var R = z[w], B = Y(R);
1743
1743
  if (B !== q) {
1744
1744
  var T = f(R);
1745
- return new g(
1745
+ return new h(
1746
1746
  "Invalid " + Q + " `" + D + "` of type " + ("`" + T + "` supplied to `" + j + "`, expected ") + ("`" + q + "`."),
1747
1747
  { expectedType: q }
1748
1748
  );
@@ -1757,11 +1757,11 @@ function ta() {
1757
1757
  function J(q) {
1758
1758
  function Z(z, w, j, Q, D) {
1759
1759
  if (typeof q != "function")
1760
- return new g("Property `" + D + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
1760
+ return new h("Property `" + D + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
1761
1761
  var N = z[w];
1762
1762
  if (!Array.isArray(N)) {
1763
1763
  var R = Y(N);
1764
- return new g("Invalid " + Q + " `" + D + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected an array."));
1764
+ return new h("Invalid " + Q + " `" + D + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected an array."));
1765
1765
  }
1766
1766
  for (var B = 0; B < N.length; B++) {
1767
1767
  var T = q(N, B, j, Q, D + "[" + B + "]", n);
@@ -1777,7 +1777,7 @@ function ta() {
1777
1777
  var D = Z[z];
1778
1778
  if (!A(D)) {
1779
1779
  var N = Y(D);
1780
- return new g("Invalid " + j + " `" + Q + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected a single ReactElement."));
1780
+ return new h("Invalid " + j + " `" + Q + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected a single ReactElement."));
1781
1781
  }
1782
1782
  return null;
1783
1783
  }
@@ -1788,7 +1788,7 @@ function ta() {
1788
1788
  var D = Z[z];
1789
1789
  if (!e.isValidElementType(D)) {
1790
1790
  var N = Y(D);
1791
- return new g("Invalid " + j + " `" + Q + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected a single ReactElement type."));
1791
+ return new h("Invalid " + j + " `" + Q + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected a single ReactElement type."));
1792
1792
  }
1793
1793
  return null;
1794
1794
  }
@@ -1798,7 +1798,7 @@ function ta() {
1798
1798
  function Z(z, w, j, Q, D) {
1799
1799
  if (!(z[w] instanceof q)) {
1800
1800
  var N = q.name || y, R = k(z[w]);
1801
- return new g("Invalid " + Q + " `" + D + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected ") + ("instance of `" + N + "`."));
1801
+ return new h("Invalid " + Q + " `" + D + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected ") + ("instance of `" + N + "`."));
1802
1802
  }
1803
1803
  return null;
1804
1804
  }
@@ -1817,17 +1817,17 @@ function ta() {
1817
1817
  var ce = f(K);
1818
1818
  return ce === "symbol" ? String(K) : K;
1819
1819
  });
1820
- return new g("Invalid " + Q + " `" + D + "` of value `" + String(N) + "` " + ("supplied to `" + j + "`, expected one of " + B + "."));
1820
+ return new h("Invalid " + Q + " `" + D + "` of value `" + String(N) + "` " + ("supplied to `" + j + "`, expected one of " + B + "."));
1821
1821
  }
1822
1822
  return v(Z);
1823
1823
  }
1824
1824
  function U(q) {
1825
1825
  function Z(z, w, j, Q, D) {
1826
1826
  if (typeof q != "function")
1827
- return new g("Property `" + D + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
1827
+ return new h("Property `" + D + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
1828
1828
  var N = z[w], R = Y(N);
1829
1829
  if (R !== "object")
1830
- return new g("Invalid " + Q + " `" + D + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected an object."));
1830
+ return new h("Invalid " + Q + " `" + D + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected an object."));
1831
1831
  for (var B in N)
1832
1832
  if (r(N, B)) {
1833
1833
  var T = q(N, B, j, Q, D + "." + B, n);
@@ -1856,18 +1856,18 @@ function ta() {
1856
1856
  K.data && r(K.data, "expectedType") && B.push(K.data.expectedType);
1857
1857
  }
1858
1858
  var ce = B.length > 0 ? ", expected one of type [" + B.join(", ") + "]" : "";
1859
- return new g("Invalid " + N + " `" + R + "` supplied to " + ("`" + D + "`" + ce + "."));
1859
+ return new h("Invalid " + N + " `" + R + "` supplied to " + ("`" + D + "`" + ce + "."));
1860
1860
  }
1861
1861
  return v(w);
1862
1862
  }
1863
1863
  function F() {
1864
1864
  function q(Z, z, w, j, Q) {
1865
- return W(Z[z]) ? null : new g("Invalid " + j + " `" + Q + "` supplied to " + ("`" + w + "`, expected a ReactNode."));
1865
+ return W(Z[z]) ? null : new h("Invalid " + j + " `" + Q + "` supplied to " + ("`" + w + "`, expected a ReactNode."));
1866
1866
  }
1867
1867
  return v(q);
1868
1868
  }
1869
1869
  function oe(q, Z, z, w, j) {
1870
- return new g(
1870
+ return new h(
1871
1871
  (q || "React class") + ": " + Z + " type `" + z + "." + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + j + "`."
1872
1872
  );
1873
1873
  }
@@ -1875,7 +1875,7 @@ function ta() {
1875
1875
  function Z(z, w, j, Q, D) {
1876
1876
  var N = z[w], R = Y(N);
1877
1877
  if (R !== "object")
1878
- return new g("Invalid " + Q + " `" + D + "` of type `" + R + "` " + ("supplied to `" + j + "`, expected `object`."));
1878
+ return new h("Invalid " + Q + " `" + D + "` of type `" + R + "` " + ("supplied to `" + j + "`, expected `object`."));
1879
1879
  for (var B in q) {
1880
1880
  var T = q[B];
1881
1881
  if (typeof T != "function")
@@ -1892,14 +1892,14 @@ function ta() {
1892
1892
  function Z(z, w, j, Q, D) {
1893
1893
  var N = z[w], R = Y(N);
1894
1894
  if (R !== "object")
1895
- return new g("Invalid " + Q + " `" + D + "` of type `" + R + "` " + ("supplied to `" + j + "`, expected `object`."));
1895
+ return new h("Invalid " + Q + " `" + D + "` of type `" + R + "` " + ("supplied to `" + j + "`, expected `object`."));
1896
1896
  var B = t({}, z[w], q);
1897
1897
  for (var T in B) {
1898
1898
  var V = q[T];
1899
1899
  if (r(q, T) && typeof V != "function")
1900
1900
  return oe(j, Q, D, T, f(V));
1901
1901
  if (!V)
1902
- return new g(
1902
+ return new h(
1903
1903
  "Invalid " + Q + " `" + D + "` key `" + T + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(z[w], null, " ") + `
1904
1904
  Valid keys: ` + JSON.stringify(Object.keys(q), null, " ")
1905
1905
  );
@@ -1980,7 +1980,7 @@ Valid keys: ` + JSON.stringify(Object.keys(q), null, " ")
1980
1980
  function k(q) {
1981
1981
  return !q.constructor || !q.constructor.name ? y : q.constructor.name;
1982
1982
  }
1983
- return h.checkPropTypes = o, h.resetWarningCache = o.resetWarningCache, h.PropTypes = h, h;
1983
+ return g.checkPropTypes = o, g.resetWarningCache = o.resetWarningCache, g.PropTypes = g, g;
1984
1984
  }, Zn;
1985
1985
  }
1986
1986
  var In, Yr;
@@ -2127,14 +2127,14 @@ var va = {
2127
2127
  return ha.default.createElement(qa.default, ua({}, A, {
2128
2128
  bgColor: n,
2129
2129
  bgD: c.map(function(s, d) {
2130
- return s.map(function(y, h) {
2131
- return y ? "" : "M " + h + " " + d + " l 1 0 0 1 -1 0 Z";
2130
+ return s.map(function(y, g) {
2131
+ return y ? "" : "M " + g + " " + d + " l 1 0 0 1 -1 0 Z";
2132
2132
  }).join(" ");
2133
2133
  }).join(" "),
2134
2134
  fgColor: r,
2135
2135
  fgD: c.map(function(s, d) {
2136
- return s.map(function(y, h) {
2137
- return y ? "M " + h + " " + d + " l 1 0 0 1 -1 0 Z" : "";
2136
+ return s.map(function(y, g) {
2137
+ return y ? "M " + g + " " + d + " l 1 0 0 1 -1 0 Z" : "";
2138
2138
  }).join(" ");
2139
2139
  }).join(" "),
2140
2140
  ref: t,
@@ -2486,8 +2486,8 @@ function sn(e, t, n) {
2486
2486
  metaTokens: !0,
2487
2487
  dots: !1,
2488
2488
  indexes: !1
2489
- }, !1, function(g, v) {
2490
- return !b.isUndefined(v[g]);
2489
+ }, !1, function(h, v) {
2490
+ return !b.isUndefined(v[h]);
2491
2491
  });
2492
2492
  const r = n.metaTokens, o = n.visitor || s, i = n.dots, a = n.indexes, m = (n.Blob || typeof Blob < "u" && Blob) && b.isSpecCompliantForm(t);
2493
2493
  if (!b.isFunction(o))
@@ -2501,45 +2501,45 @@ function sn(e, t, n) {
2501
2501
  throw new te("Blob is not supported. Use a Buffer instead.");
2502
2502
  return b.isArrayBuffer(p) || b.isTypedArray(p) ? m && typeof Blob == "function" ? new Blob([p]) : Buffer.from(p) : p;
2503
2503
  }
2504
- function s(p, g, v) {
2504
+ function s(p, h, v) {
2505
2505
  let x = p;
2506
2506
  if (p && !v && typeof p == "object") {
2507
- if (b.endsWith(g, "{}"))
2508
- g = r ? g : g.slice(0, -2), p = JSON.stringify(p);
2509
- else if (b.isArray(p) && oA(p) || (b.isFileList(p) || b.endsWith(g, "[]")) && (x = b.toArray(p)))
2510
- return g = ko(g), x.forEach(function(J, O) {
2507
+ if (b.endsWith(h, "{}"))
2508
+ h = r ? h : h.slice(0, -2), p = JSON.stringify(p);
2509
+ else if (b.isArray(p) && oA(p) || (b.isFileList(p) || b.endsWith(h, "[]")) && (x = b.toArray(p)))
2510
+ return h = ko(h), x.forEach(function(J, O) {
2511
2511
  !(b.isUndefined(J) || J === null) && t.append(
2512
2512
  // eslint-disable-next-line no-nested-ternary
2513
- a === !0 ? Nr([g], O, i) : a === null ? g : g + "[]",
2513
+ a === !0 ? Nr([h], O, i) : a === null ? h : h + "[]",
2514
2514
  c(J)
2515
2515
  );
2516
2516
  }), !1;
2517
2517
  }
2518
- return Jn(p) ? !0 : (t.append(Nr(v, g, i), c(p)), !1);
2518
+ return Jn(p) ? !0 : (t.append(Nr(v, h, i), c(p)), !1);
2519
2519
  }
2520
2520
  const d = [], y = Object.assign(iA, {
2521
2521
  defaultVisitor: s,
2522
2522
  convertValue: c,
2523
2523
  isVisitable: Jn
2524
2524
  });
2525
- function h(p, g) {
2525
+ function g(p, h) {
2526
2526
  if (!b.isUndefined(p)) {
2527
2527
  if (d.indexOf(p) !== -1)
2528
- throw Error("Circular reference detected in " + g.join("."));
2528
+ throw Error("Circular reference detected in " + h.join("."));
2529
2529
  d.push(p), b.forEach(p, function(x, E) {
2530
2530
  (!(b.isUndefined(x) || x === null) && o.call(
2531
2531
  t,
2532
2532
  x,
2533
2533
  b.isString(E) ? E.trim() : E,
2534
- g,
2534
+ h,
2535
2535
  y
2536
- )) === !0 && h(x, g ? g.concat(E) : [E]);
2536
+ )) === !0 && g(x, h ? h.concat(E) : [E]);
2537
2537
  }), d.pop();
2538
2538
  }
2539
2539
  }
2540
2540
  if (!b.isObject(e))
2541
2541
  throw new TypeError("data must be an object");
2542
- return h(e), t;
2542
+ return g(e), t;
2543
2543
  }
2544
2544
  function Dr(e) {
2545
2545
  const t = {
@@ -3066,8 +3066,8 @@ function MA(e, t) {
3066
3066
  y += n[d++], d = d % e;
3067
3067
  if (o = (o + 1) % e, o === i && (i = (i + 1) % e), c - a < t)
3068
3068
  return;
3069
- const h = s && c - s;
3070
- return h ? Math.round(y * 1e3 / h) : void 0;
3069
+ const g = s && c - s;
3070
+ return g ? Math.round(y * 1e3 / g) : void 0;
3071
3071
  };
3072
3072
  }
3073
3073
  function Tr(e, t) {
@@ -3100,8 +3100,8 @@ const SA = typeof XMLHttpRequest < "u", LA = SA && function(e) {
3100
3100
  b.isFormData(o) && (De.isStandardBrowserEnv || De.isStandardBrowserWebWorkerEnv ? i.setContentType(!1) : i.getContentType(/^\s*multipart\/form-data/) ? b.isString(c = i.getContentType()) && i.setContentType(c.replace(/^\s*(multipart\/form-data);+/, "$1")) : i.setContentType("multipart/form-data"));
3101
3101
  let s = new XMLHttpRequest();
3102
3102
  if (e.auth) {
3103
- const p = e.auth.username || "", g = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
3104
- i.set("Authorization", "Basic " + btoa(p + ":" + g));
3103
+ const p = e.auth.username || "", h = e.auth.password ? unescape(encodeURIComponent(e.auth.password)) : "";
3104
+ i.set("Authorization", "Basic " + btoa(p + ":" + h));
3105
3105
  }
3106
3106
  const d = Do(e.baseURL, e.url);
3107
3107
  s.open(e.method.toUpperCase(), Yo(d, e.params, e.paramsSerializer), !0), s.timeout = e.timeout;
@@ -3131,10 +3131,10 @@ const SA = typeof XMLHttpRequest < "u", LA = SA && function(e) {
3131
3131
  }, s.onerror = function() {
3132
3132
  r(new te("Network Error", te.ERR_NETWORK, e, s)), s = null;
3133
3133
  }, s.ontimeout = function() {
3134
- let g = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
3134
+ let h = e.timeout ? "timeout of " + e.timeout + "ms exceeded" : "timeout exceeded";
3135
3135
  const v = e.transitional || jo;
3136
- e.timeoutErrorMessage && (g = e.timeoutErrorMessage), r(new te(
3137
- g,
3136
+ e.timeoutErrorMessage && (h = e.timeoutErrorMessage), r(new te(
3137
+ h,
3138
3138
  v.clarifyTimeoutError ? te.ETIMEDOUT : te.ECONNABORTED,
3139
3139
  e,
3140
3140
  s
@@ -3143,14 +3143,14 @@ const SA = typeof XMLHttpRequest < "u", LA = SA && function(e) {
3143
3143
  const p = (e.withCredentials || KA(d)) && e.xsrfCookieName && IA.read(e.xsrfCookieName);
3144
3144
  p && i.set(e.xsrfHeaderName, p);
3145
3145
  }
3146
- o === void 0 && i.setContentType(null), "setRequestHeader" in s && b.forEach(i.toJSON(), function(g, v) {
3147
- s.setRequestHeader(v, g);
3146
+ o === void 0 && i.setContentType(null), "setRequestHeader" in s && b.forEach(i.toJSON(), function(h, v) {
3147
+ s.setRequestHeader(v, h);
3148
3148
  }), b.isUndefined(e.withCredentials) || (s.withCredentials = !!e.withCredentials), a && a !== "json" && (s.responseType = e.responseType), typeof e.onDownloadProgress == "function" && s.addEventListener("progress", Tr(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && s.upload && s.upload.addEventListener("progress", Tr(e.onUploadProgress)), (e.cancelToken || e.signal) && (A = (p) => {
3149
3149
  s && (r(!p || p.type ? new Lt(null, e, s) : p), s.abort(), s = null);
3150
3150
  }, e.cancelToken && e.cancelToken.subscribe(A), e.signal && (e.signal.aborted ? A() : e.signal.addEventListener("abort", A)));
3151
- const h = WA(d);
3152
- if (h && De.protocols.indexOf(h) === -1) {
3153
- r(new te("Unsupported protocol " + h + ":", te.ERR_BAD_REQUEST, e));
3151
+ const g = WA(d);
3152
+ if (g && De.protocols.indexOf(g) === -1) {
3153
+ r(new te("Unsupported protocol " + g + ":", te.ERR_BAD_REQUEST, e));
3154
3154
  return;
3155
3155
  }
3156
3156
  s.send(o || null);
@@ -3373,12 +3373,12 @@ class Vt {
3373
3373
  ), n.headers = He.concat(a, i);
3374
3374
  const A = [];
3375
3375
  let m = !0;
3376
- this.interceptors.request.forEach(function(g) {
3377
- typeof g.runWhen == "function" && g.runWhen(n) === !1 || (m = m && g.synchronous, A.unshift(g.fulfilled, g.rejected));
3376
+ this.interceptors.request.forEach(function(h) {
3377
+ typeof h.runWhen == "function" && h.runWhen(n) === !1 || (m = m && h.synchronous, A.unshift(h.fulfilled, h.rejected));
3378
3378
  });
3379
3379
  const c = [];
3380
- this.interceptors.response.forEach(function(g) {
3381
- c.push(g.fulfilled, g.rejected);
3380
+ this.interceptors.response.forEach(function(h) {
3381
+ c.push(h.fulfilled, h.rejected);
3382
3382
  });
3383
3383
  let s, d = 0, y;
3384
3384
  if (!m) {
@@ -3388,18 +3388,18 @@ class Vt {
3388
3388
  return s;
3389
3389
  }
3390
3390
  y = A.length;
3391
- let h = n;
3391
+ let g = n;
3392
3392
  for (d = 0; d < y; ) {
3393
- const p = A[d++], g = A[d++];
3393
+ const p = A[d++], h = A[d++];
3394
3394
  try {
3395
- h = p(h);
3395
+ g = p(g);
3396
3396
  } catch (v) {
3397
- g.call(this, v);
3397
+ h.call(this, v);
3398
3398
  break;
3399
3399
  }
3400
3400
  }
3401
3401
  try {
3402
- s = Xr.call(this, h);
3402
+ s = Xr.call(this, g);
3403
3403
  } catch (p) {
3404
3404
  return Promise.reject(p);
3405
3405
  }
@@ -3767,7 +3767,7 @@ function Ve() {
3767
3767
  (e = arguments[n++]) && (t = Fo(e)) && (r && (r += " "), r += t);
3768
3768
  return r;
3769
3769
  }
3770
- const Zt = (e) => typeof e == "number" && !isNaN(e), at = (e) => typeof e == "string", Ze = (e) => typeof e == "function", Qt = (e) => at(e) || Ze(e) ? e : null, Mn = (e) => mt(e) || at(e) || Ze(e) || Zt(e);
3770
+ const Zt = (e) => typeof e == "number" && !isNaN(e), at = (e) => typeof e == "string", Ie = (e) => typeof e == "function", Qt = (e) => at(e) || Ie(e) ? e : null, Mn = (e) => mt(e) || at(e) || Ie(e) || Zt(e);
3771
3771
  function BA(e, t, n) {
3772
3772
  n === void 0 && (n = 300);
3773
3773
  const { scrollHeight: r, style: o } = e;
@@ -3781,17 +3781,17 @@ function cn(e) {
3781
3781
  let { enter: t, exit: n, appendPosition: r = !1, collapse: o = !0, collapseDuration: i = 300 } = e;
3782
3782
  return function(a) {
3783
3783
  let { children: A, position: m, preventExitTransition: c, done: s, nodeRef: d, isIn: y } = a;
3784
- const h = r ? `${t}--${m}` : t, p = r ? `${n}--${m}` : n, g = nt(0);
3784
+ const g = r ? `${t}--${m}` : t, p = r ? `${n}--${m}` : n, h = nt(0);
3785
3785
  return Ei(() => {
3786
- const v = d.current, x = h.split(" "), E = (J) => {
3787
- J.target === d.current && (v.dispatchEvent(new Event("d")), v.removeEventListener("animationend", E), v.removeEventListener("animationcancel", E), g.current === 0 && J.type !== "animationcancel" && v.classList.remove(...x));
3786
+ const v = d.current, x = g.split(" "), E = (J) => {
3787
+ J.target === d.current && (v.dispatchEvent(new Event("d")), v.removeEventListener("animationend", E), v.removeEventListener("animationcancel", E), h.current === 0 && J.type !== "animationcancel" && v.classList.remove(...x));
3788
3788
  };
3789
3789
  v.classList.add(...x), v.addEventListener("animationend", E), v.addEventListener("animationcancel", E);
3790
- }, []), Ie(() => {
3790
+ }, []), Ce(() => {
3791
3791
  const v = d.current, x = () => {
3792
3792
  v.removeEventListener("animationend", x), o ? BA(v, s, i) : s();
3793
3793
  };
3794
- y || (c ? x() : (g.current = 1, v.className += ` ${p}`, v.addEventListener("animationend", x)));
3794
+ y || (c ? x() : (h.current = 1, v.className += ` ${p}`, v.addEventListener("animationend", x)));
3795
3795
  }, [y]), ae.createElement(ae.Fragment, null, A);
3796
3796
  };
3797
3797
  }
@@ -3831,22 +3831,22 @@ const Le = { list: /* @__PURE__ */ new Map(), emitQueue: /* @__PURE__ */ new Map
3831
3831
  return ae.createElement("div", { className: "Toastify__spinner" });
3832
3832
  } };
3833
3833
  function UA(e) {
3834
- const [, t] = Oi((h) => h + 1, 0), [n, r] = P([]), o = nt(null), i = nt(/* @__PURE__ */ new Map()).current, a = (h) => n.indexOf(h) !== -1, A = nt({ toastKey: 1, displayedToast: 0, count: 0, queue: [], props: e, containerId: null, isToastActive: a, getToast: (h) => i.get(h) }).current;
3835
- function m(h) {
3836
- let { containerId: p } = h;
3837
- const { limit: g } = A.props;
3838
- !g || p && A.containerId !== p || (A.count -= A.queue.length, A.queue = []);
3834
+ const [, t] = Oi((g) => g + 1, 0), [n, r] = P([]), o = nt(null), i = nt(/* @__PURE__ */ new Map()).current, a = (g) => n.indexOf(g) !== -1, A = nt({ toastKey: 1, displayedToast: 0, count: 0, queue: [], props: e, containerId: null, isToastActive: a, getToast: (g) => i.get(g) }).current;
3835
+ function m(g) {
3836
+ let { containerId: p } = g;
3837
+ const { limit: h } = A.props;
3838
+ !h || p && A.containerId !== p || (A.count -= A.queue.length, A.queue = []);
3839
3839
  }
3840
- function c(h) {
3841
- r((p) => h == null ? [] : p.filter((g) => g !== h));
3840
+ function c(g) {
3841
+ r((p) => g == null ? [] : p.filter((h) => h !== g));
3842
3842
  }
3843
3843
  function s() {
3844
- const { toastContent: h, toastProps: p, staleId: g } = A.queue.shift();
3845
- y(h, p, g);
3844
+ const { toastContent: g, toastProps: p, staleId: h } = A.queue.shift();
3845
+ y(g, p, h);
3846
3846
  }
3847
- function d(h, p) {
3848
- let { delay: g, staleId: v, ...x } = p;
3849
- if (!Mn(h) || function(X) {
3847
+ function d(g, p) {
3848
+ let { delay: h, staleId: v, ...x } = p;
3849
+ if (!Mn(g) || function(X) {
3850
3850
  return !o.current || A.props.enableMultiContainer && X.containerId !== A.props.containerId || i.has(X.toastId) && X.updateId == null;
3851
3851
  }(x))
3852
3852
  return;
@@ -3876,29 +3876,29 @@ function UA(e) {
3876
3876
  U.iconOut = function(X) {
3877
3877
  let { theme: _, type: W, isLoading: S, icon: Y } = X, f = null;
3878
3878
  const L = { theme: _, type: W };
3879
- return Y === !1 || (Ze(Y) ? f = Y(L) : mt(Y) ? f = kn(Y, L) : at(Y) || Zt(Y) ? f = Y : S ? f = Sn.spinner() : ((k) => k in Sn)(W) && (f = Sn[W](L))), f;
3880
- }(U), Ze(x.onOpen) && (U.onOpen = x.onOpen), Ze(x.onClose) && (U.onClose = x.onClose), U.closeButton = C.closeButton, x.closeButton === !1 || Mn(x.closeButton) ? U.closeButton = x.closeButton : x.closeButton === !0 && (U.closeButton = !Mn(C.closeButton) || C.closeButton);
3881
- let oe = h;
3882
- mt(h) && !at(h.type) ? oe = kn(h, { closeToast: ne, toastProps: U, data: O }) : Ze(h) && (oe = h({ closeToast: ne, toastProps: U, data: O })), C.limit && C.limit > 0 && A.count > C.limit && re ? A.queue.push({ toastContent: oe, toastProps: U, staleId: v }) : Zt(g) ? setTimeout(() => {
3879
+ return Y === !1 || (Ie(Y) ? f = Y(L) : mt(Y) ? f = kn(Y, L) : at(Y) || Zt(Y) ? f = Y : S ? f = Sn.spinner() : ((k) => k in Sn)(W) && (f = Sn[W](L))), f;
3880
+ }(U), Ie(x.onOpen) && (U.onOpen = x.onOpen), Ie(x.onClose) && (U.onClose = x.onClose), U.closeButton = C.closeButton, x.closeButton === !1 || Mn(x.closeButton) ? U.closeButton = x.closeButton : x.closeButton === !0 && (U.closeButton = !Mn(C.closeButton) || C.closeButton);
3881
+ let oe = g;
3882
+ mt(g) && !at(g.type) ? oe = kn(g, { closeToast: ne, toastProps: U, data: O }) : Ie(g) && (oe = g({ closeToast: ne, toastProps: U, data: O })), C.limit && C.limit > 0 && A.count > C.limit && re ? A.queue.push({ toastContent: oe, toastProps: U, staleId: v }) : Zt(h) ? setTimeout(() => {
3883
3883
  y(oe, U, v);
3884
- }, g) : y(oe, U, v);
3884
+ }, h) : y(oe, U, v);
3885
3885
  }
3886
- function y(h, p, g) {
3886
+ function y(g, p, h) {
3887
3887
  const { toastId: v } = p;
3888
- g && i.delete(g);
3889
- const x = { content: h, props: p };
3890
- i.set(v, x), r((E) => [...E, v].filter((J) => J !== g)), Le.emit(4, Br(x, x.props.updateId == null ? "added" : "updated"));
3888
+ h && i.delete(h);
3889
+ const x = { content: g, props: p };
3890
+ i.set(v, x), r((E) => [...E, v].filter((J) => J !== h)), Le.emit(4, Br(x, x.props.updateId == null ? "added" : "updated"));
3891
3891
  }
3892
- return Ie(() => (A.containerId = e.containerId, Le.cancelEmit(3).on(0, d).on(1, (h) => o.current && c(h)).on(5, m).emit(2, A), () => {
3892
+ return Ce(() => (A.containerId = e.containerId, Le.cancelEmit(3).on(0, d).on(1, (g) => o.current && c(g)).on(5, m).emit(2, A), () => {
3893
3893
  i.clear(), Le.emit(3, A);
3894
- }), []), Ie(() => {
3894
+ }), []), Ce(() => {
3895
3895
  A.props = e, A.isToastActive = a, A.displayedToast = n.length;
3896
- }), { getToastToRender: function(h) {
3897
- const p = /* @__PURE__ */ new Map(), g = Array.from(i.values());
3898
- return e.newestOnTop && g.reverse(), g.forEach((v) => {
3896
+ }), { getToastToRender: function(g) {
3897
+ const p = /* @__PURE__ */ new Map(), h = Array.from(i.values());
3898
+ return e.newestOnTop && h.reverse(), h.forEach((v) => {
3899
3899
  const { position: x } = v.props;
3900
3900
  p.has(x) || p.set(x, []), p.get(x).push(v);
3901
- }), Array.from(p, (v) => h(v[0], v[1]));
3901
+ }), Array.from(p, (v) => g(v[0], v[1]));
3902
3902
  }, containerRef: o, isToastActive: a };
3903
3903
  }
3904
3904
  function Ur(e) {
@@ -3909,7 +3909,7 @@ function Fr(e) {
3909
3909
  }
3910
3910
  function FA(e) {
3911
3911
  const [t, n] = P(!1), [r, o] = P(!1), i = nt(null), a = nt({ start: 0, x: 0, y: 0, delta: 0, removalDistance: 0, canCloseOnClick: !0, canDrag: !1, boundingRect: null, didMove: !1 }).current, A = nt(e), { autoClose: m, pauseOnHover: c, closeToast: s, onClick: d, closeOnClick: y } = e;
3912
- function h(O) {
3912
+ function g(O) {
3913
3913
  if (e.draggable) {
3914
3914
  O.nativeEvent.type === "touchstart" && O.nativeEvent.preventDefault(), a.didMove = !1, document.addEventListener("mousemove", x), document.addEventListener("mouseup", E), document.addEventListener("touchmove", x), document.addEventListener("touchend", E);
3915
3915
  const C = i.current;
@@ -3919,10 +3919,10 @@ function FA(e) {
3919
3919
  function p(O) {
3920
3920
  if (a.boundingRect) {
3921
3921
  const { top: C, bottom: ne, left: re, right: U } = a.boundingRect;
3922
- O.nativeEvent.type !== "touchend" && e.pauseOnHover && a.x >= re && a.x <= U && a.y >= C && a.y <= ne ? v() : g();
3922
+ O.nativeEvent.type !== "touchend" && e.pauseOnHover && a.x >= re && a.x <= U && a.y >= C && a.y <= ne ? v() : h();
3923
3923
  }
3924
3924
  }
3925
- function g() {
3925
+ function h() {
3926
3926
  n(!0);
3927
3927
  }
3928
3928
  function v() {
@@ -3941,18 +3941,18 @@ function FA(e) {
3941
3941
  O.style.transition = "transform 0.2s, opacity 0.2s", O.style.transform = `translate${e.draggableDirection}(0)`, O.style.opacity = "1";
3942
3942
  }
3943
3943
  }
3944
- Ie(() => {
3944
+ Ce(() => {
3945
3945
  A.current = e;
3946
- }), Ie(() => (i.current && i.current.addEventListener("d", g, { once: !0 }), Ze(e.onOpen) && e.onOpen(mt(e.children) && e.children.props), () => {
3946
+ }), Ce(() => (i.current && i.current.addEventListener("d", h, { once: !0 }), Ie(e.onOpen) && e.onOpen(mt(e.children) && e.children.props), () => {
3947
3947
  const O = A.current;
3948
- Ze(O.onClose) && O.onClose(mt(O.children) && O.children.props);
3949
- }), []), Ie(() => (e.pauseOnFocusLoss && (document.hasFocus() || v(), window.addEventListener("focus", g), window.addEventListener("blur", v)), () => {
3950
- e.pauseOnFocusLoss && (window.removeEventListener("focus", g), window.removeEventListener("blur", v));
3948
+ Ie(O.onClose) && O.onClose(mt(O.children) && O.children.props);
3949
+ }), []), Ce(() => (e.pauseOnFocusLoss && (document.hasFocus() || v(), window.addEventListener("focus", h), window.addEventListener("blur", v)), () => {
3950
+ e.pauseOnFocusLoss && (window.removeEventListener("focus", h), window.removeEventListener("blur", v));
3951
3951
  }), [e.pauseOnFocusLoss]);
3952
- const J = { onMouseDown: h, onTouchStart: h, onMouseUp: p, onTouchEnd: p };
3953
- return m && c && (J.onMouseEnter = v, J.onMouseLeave = g), y && (J.onClick = (O) => {
3952
+ const J = { onMouseDown: g, onTouchStart: g, onMouseUp: p, onTouchEnd: p };
3953
+ return m && c && (J.onMouseEnter = v, J.onMouseLeave = h), y && (J.onClick = (O) => {
3954
3954
  d && d(O), a.canCloseOnClick && s();
3955
- }), { playToast: g, pauseToast: v, isRunning: t, preventExitTransition: r, toastRef: i, eventHandlers: J };
3955
+ }), { playToast: h, pauseToast: v, isRunning: t, preventExitTransition: r, toastRef: i, eventHandlers: J };
3956
3956
  }
3957
3957
  function _o(e) {
3958
3958
  let { closeToast: t, theme: n, ariaLabel: r = "close" } = e;
@@ -3962,17 +3962,17 @@ function _o(e) {
3962
3962
  }
3963
3963
  function _A(e) {
3964
3964
  let { delay: t, isRunning: n, closeToast: r, type: o = "default", hide: i, className: a, style: A, controlledProgress: m, progress: c, rtl: s, isIn: d, theme: y } = e;
3965
- const h = i || m && c === 0, p = { ...A, animationDuration: `${t}ms`, animationPlayState: n ? "running" : "paused", opacity: h ? 0 : 1 };
3965
+ const g = i || m && c === 0, p = { ...A, animationDuration: `${t}ms`, animationPlayState: n ? "running" : "paused", opacity: g ? 0 : 1 };
3966
3966
  m && (p.transform = `scaleX(${c})`);
3967
- const g = Ve("Toastify__progress-bar", m ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${y}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": s }), v = Ze(a) ? a({ rtl: s, type: o, defaultClassName: g }) : Ve(g, a);
3968
- return ae.createElement("div", { role: "progressbar", "aria-hidden": h ? "true" : "false", "aria-label": "notification timer", className: v, style: p, [m && c >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: m && c < 1 ? null : () => {
3967
+ const h = Ve("Toastify__progress-bar", m ? "Toastify__progress-bar--controlled" : "Toastify__progress-bar--animated", `Toastify__progress-bar-theme--${y}`, `Toastify__progress-bar--${o}`, { "Toastify__progress-bar--rtl": s }), v = Ie(a) ? a({ rtl: s, type: o, defaultClassName: h }) : Ve(h, a);
3968
+ return ae.createElement("div", { role: "progressbar", "aria-hidden": g ? "true" : "false", "aria-label": "notification timer", className: v, style: p, [m && c >= 1 ? "onTransitionEnd" : "onAnimationEnd"]: m && c < 1 ? null : () => {
3969
3969
  d && r();
3970
3970
  } });
3971
3971
  }
3972
3972
  const $A = (e) => {
3973
- const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = FA(e), { closeButton: i, children: a, autoClose: A, onClick: m, type: c, hideProgressBar: s, closeToast: d, transition: y, position: h, className: p, style: g, bodyClassName: v, bodyStyle: x, progressClassName: E, progressStyle: J, updateId: O, role: C, progress: ne, rtl: re, toastId: U, deleteToast: Ae, isIn: F, isLoading: oe, iconOut: X, closeOnClick: _, theme: W } = e, S = Ve("Toastify__toast", `Toastify__toast-theme--${W}`, `Toastify__toast--${c}`, { "Toastify__toast--rtl": re }, { "Toastify__toast--close-on-click": _ }), Y = Ze(p) ? p({ rtl: re, position: h, type: c, defaultClassName: S }) : Ve(S, p), f = !!ne || !A, L = { closeToast: d, type: c, theme: W };
3973
+ const { isRunning: t, preventExitTransition: n, toastRef: r, eventHandlers: o } = FA(e), { closeButton: i, children: a, autoClose: A, onClick: m, type: c, hideProgressBar: s, closeToast: d, transition: y, position: g, className: p, style: h, bodyClassName: v, bodyStyle: x, progressClassName: E, progressStyle: J, updateId: O, role: C, progress: ne, rtl: re, toastId: U, deleteToast: Ae, isIn: F, isLoading: oe, iconOut: X, closeOnClick: _, theme: W } = e, S = Ve("Toastify__toast", `Toastify__toast-theme--${W}`, `Toastify__toast--${c}`, { "Toastify__toast--rtl": re }, { "Toastify__toast--close-on-click": _ }), Y = Ie(p) ? p({ rtl: re, position: g, type: c, defaultClassName: S }) : Ve(S, p), f = !!ne || !A, L = { closeToast: d, type: c, theme: W };
3974
3974
  let k = null;
3975
- return i === !1 || (k = Ze(i) ? i(L) : mt(i) ? kn(i, L) : _o(L)), ae.createElement(y, { isIn: F, done: Ae, position: h, preventExitTransition: n, nodeRef: r }, ae.createElement("div", { id: U, onClick: m, className: Y, ...o, style: g, ref: r }, ae.createElement("div", { ...F && { role: C }, className: Ze(v) ? v({ type: c }) : Ve("Toastify__toast-body", v), style: x }, X != null && ae.createElement("div", { className: Ve("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !oe }) }, X), ae.createElement("div", null, a)), k, ae.createElement(_A, { ...O && !f ? { key: `pb-${O}` } : {}, rtl: re, theme: W, delay: A, isRunning: t, isIn: F, closeToast: d, hide: s, type: c, style: J, className: E, controlledProgress: f, progress: ne || 0 })));
3975
+ return i === !1 || (k = Ie(i) ? i(L) : mt(i) ? kn(i, L) : _o(L)), ae.createElement(y, { isIn: F, done: Ae, position: g, preventExitTransition: n, nodeRef: r }, ae.createElement("div", { id: U, onClick: m, className: Y, ...o, style: h, ref: r }, ae.createElement("div", { ...F && { role: C }, className: Ie(v) ? v({ type: c }) : Ve("Toastify__toast-body", v), style: x }, X != null && ae.createElement("div", { className: Ve("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !oe }) }, X), ae.createElement("div", null, a)), k, ae.createElement(_A, { ...O && !f ? { key: `pb-${O}` } : {}, rtl: re, theme: W, delay: A, isRunning: t, isIn: F, closeToast: d, hide: s, type: c, style: J, className: E, controlledProgress: f, progress: ne || 0 })));
3976
3976
  }, mn = function(e, t) {
3977
3977
  return t === void 0 && (t = !1), { enter: `Toastify--animate Toastify__${e}-enter`, exit: `Toastify--animate Toastify__${e}-exit`, appendPosition: t };
3978
3978
  }, es = cn(mn("bounce", !0));
@@ -3983,15 +3983,15 @@ const Tn = Li((e, t) => {
3983
3983
  const { getToastToRender: n, containerRef: r, isToastActive: o } = UA(e), { className: i, style: a, rtl: A, containerId: m } = e;
3984
3984
  function c(s) {
3985
3985
  const d = Ve("Toastify__toast-container", `Toastify__toast-container--${s}`, { "Toastify__toast-container--rtl": A });
3986
- return Ze(i) ? i({ position: s, rtl: A, defaultClassName: d }) : Ve(d, Qt(i));
3986
+ return Ie(i) ? i({ position: s, rtl: A, defaultClassName: d }) : Ve(d, Qt(i));
3987
3987
  }
3988
- return Ie(() => {
3988
+ return Ce(() => {
3989
3989
  t && (t.current = r.current);
3990
3990
  }, []), ae.createElement("div", { ref: r, className: "Toastify", id: m }, n((s, d) => {
3991
3991
  const y = d.length ? { ...a } : { ...a, pointerEvents: "none" };
3992
- return ae.createElement("div", { className: c(s), style: y, key: `container-${s}` }, d.map((h, p) => {
3993
- let { content: g, props: v } = h;
3994
- return ae.createElement($A, { ...v, isIn: o(v.toastId), style: { ...v.style, "--nth": p + 1, "--len": d.length }, key: `toast-${v.key}` }, g);
3992
+ return ae.createElement("div", { className: c(s), style: y, key: `container-${s}` }, d.map((g, p) => {
3993
+ let { content: h, props: v } = g;
3994
+ return ae.createElement($A, { ...v, isIn: o(v.toastId), style: { ...v.style, "--nth": p + 1, "--len": d.length }, key: `toast-${v.key}` }, h);
3995
3995
  }));
3996
3996
  }));
3997
3997
  });
@@ -4021,9 +4021,9 @@ me.loading = (e, t) => It(e, Ut("default", { isLoading: !0, autoClose: !1, close
4021
4021
  const A = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, m = (s, d, y) => {
4022
4022
  if (d == null)
4023
4023
  return void me.dismiss(r);
4024
- const h = { type: s, ...A, ...n, data: y }, p = at(d) ? { render: d } : d;
4025
- return r ? me.update(r, { ...h, ...p }) : me(p.render, { ...h, ...p }), y;
4026
- }, c = Ze(e) ? e() : e;
4024
+ const g = { type: s, ...A, ...n, data: y }, p = at(d) ? { render: d } : d;
4025
+ return r ? me.update(r, { ...g, ...p }) : me(p.render, { ...g, ...p }), y;
4026
+ }, c = Ie(e) ? e() : e;
4027
4027
  return c.then((s) => m("success", a, s)).catch((s) => m("error", i, s)), c;
4028
4028
  }, me.success = Dt("success"), me.info = Dt("info"), me.error = Dt("error"), me.warning = Dt("warning"), me.warn = me.warning, me.dark = (e, t) => It(e, Ut("default", { theme: "dark", ...t })), me.dismiss = (e) => {
4029
4029
  $e.size > 0 ? Le.emit(1, e) : Ct = Ct.filter((t) => e != null && t.options.toastId !== e);
@@ -4071,7 +4071,7 @@ function Ot(e) {
4071
4071
  theme: "light"
4072
4072
  });
4073
4073
  }
4074
- let sr = "", tt = "Playable", Ce = null, ei = null;
4074
+ let sr = "", tt = "Playable", Ze = null, ei = null;
4075
4075
  const Pt = async (e) => {
4076
4076
  let t = sr + "/" + e, n = e;
4077
4077
  fetch(t).then((r) => r.blob()).then((r) => {
@@ -4092,8 +4092,8 @@ async function Ft(e, t, n, r = "download", o = !1, i = null) {
4092
4092
  tt === "Playable" ? (n && await Bt(
4093
4093
  e,
4094
4094
  { iosLink: n == null ? void 0 : n.iosUrl, androidLink: n == null ? void 0 : n.googleUrl },
4095
- Ce
4096
- ), XA(Ce, e, t, o, i).then(async (c) => {
4095
+ Ze
4096
+ ), XA(Ze, e, t, o, i).then(async (c) => {
4097
4097
  let { url: s } = c;
4098
4098
  await m(s), a(c);
4099
4099
  }).catch((c) => {
@@ -4105,14 +4105,14 @@ async function Ft(e, t, n, r = "download", o = !1, i = null) {
4105
4105
  iosLink: n == null ? void 0 : n.iosUrl,
4106
4106
  androidLink: n == null ? void 0 : n.googleUrl
4107
4107
  },
4108
- Ce
4108
+ Ze
4109
4109
  ), TA(
4110
4110
  {
4111
4111
  _id: e,
4112
4112
  network: t,
4113
4113
  extras: i
4114
4114
  },
4115
- Ce
4115
+ Ze
4116
4116
  ).then(async (c) => {
4117
4117
  if (c.message) {
4118
4118
  A(c);
@@ -4123,7 +4123,7 @@ async function Ft(e, t, n, r = "download", o = !1, i = null) {
4123
4123
  }).catch((c) => {
4124
4124
  let s = c.response.data.error.msg;
4125
4125
  A({ message: s });
4126
- })) : tt === "Import" ? HA(Ce, e, t).then(async (c) => {
4126
+ })) : tt === "Import" ? HA(Ze, e, t).then(async (c) => {
4127
4127
  let s = c.url;
4128
4128
  await m(s), a(c);
4129
4129
  }).catch((c) => {
@@ -4132,8 +4132,8 @@ async function Ft(e, t, n, r = "download", o = !1, i = null) {
4132
4132
  }) : tt === "Ready" && (n && ((i == null ? void 0 : i.urlType) === "single" && (n.googleUrl = n.iosUrl), await Bt(
4133
4133
  e,
4134
4134
  { iosLink: n == null ? void 0 : n.iosUrl, androidLink: n == null ? void 0 : n.googleUrl },
4135
- Ce
4136
- )), PA(Ce, e, t, o, i).then(async (c) => {
4135
+ Ze
4136
+ )), PA(Ze, e, t, o, i).then(async (c) => {
4137
4137
  if (c.message) {
4138
4138
  A(c);
4139
4139
  return;
@@ -4154,8 +4154,8 @@ async function os(e, t, n) {
4154
4154
  iosLink: t == null ? void 0 : t.iosUrl,
4155
4155
  androidLink: t == null ? void 0 : t.googleUrl
4156
4156
  },
4157
- Ce
4158
- ), GA(e, n, Ce).then(async (i) => {
4157
+ Ze
4158
+ ), GA(e, n, Ze).then(async (i) => {
4159
4159
  if (i.message) {
4160
4160
  o(i);
4161
4161
  return;
@@ -4167,8 +4167,8 @@ async function os(e, t, n) {
4167
4167
  })) : tt === "Ready" ? (console.log("ready"), await Bt(
4168
4168
  e,
4169
4169
  { iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
4170
- Ce
4171
- ), console.log("ready link multi"), VA(e, n, Ce).then(async (i) => {
4170
+ Ze
4171
+ ), console.log("ready link multi"), VA(e, n, Ze).then(async (i) => {
4172
4172
  if (console.log("res", i), i.message) {
4173
4173
  o(i);
4174
4174
  return;
@@ -4181,8 +4181,8 @@ async function os(e, t, n) {
4181
4181
  })) : (await Bt(
4182
4182
  e,
4183
4183
  { iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
4184
- Ce
4185
- ), QA(e, n, Ce).then(async (i) => {
4184
+ Ze
4185
+ ), QA(e, n, Ze).then(async (i) => {
4186
4186
  await Pt(i.url), r(i.url);
4187
4187
  }).catch((i) => {
4188
4188
  let a = i.response.data.error.msg;
@@ -4191,7 +4191,7 @@ async function os(e, t, n) {
4191
4191
  });
4192
4192
  }
4193
4193
  function is(e, t, n, r) {
4194
- tt = e, Ce = t, ei = n, sr = r;
4194
+ tt = e, Ze = t, ei = n, sr = r;
4195
4195
  }
4196
4196
  const as = ({
4197
4197
  versionId: e,
@@ -4371,7 +4371,14 @@ const as = ({
4371
4371
  urlType: s
4372
4372
  }) => {
4373
4373
  const [d, y] = P(window.innerWidth);
4374
- Ie(() => {
4374
+ Ce(() => {
4375
+ function p(h) {
4376
+ console.log(h), h.data === "cta" && (console.log("Received 'cta' message from iframe"), m && window.open(m, "_blank"));
4377
+ }
4378
+ return window.addEventListener("message", p, !1), () => {
4379
+ window.removeEventListener("message", p);
4380
+ };
4381
+ }, []), Ce(() => {
4375
4382
  const p = () => {
4376
4383
  y(window.innerWidth);
4377
4384
  };
@@ -4379,7 +4386,7 @@ const as = ({
4379
4386
  window.removeEventListener("resize", p);
4380
4387
  };
4381
4388
  }, []);
4382
- const h = (e == null ? void 0 : e.length) > 25 ? e.slice(0, 25) + "..." : e;
4389
+ const g = (e == null ? void 0 : e.length) > 25 ? e.slice(0, 25) + "..." : e;
4383
4390
  return /* @__PURE__ */ l.jsxs(
4384
4391
  "div",
4385
4392
  {
@@ -4395,7 +4402,7 @@ const as = ({
4395
4402
  },
4396
4403
  children: [
4397
4404
  /* @__PURE__ */ l.jsx(Di, { iframeUrl: o }),
4398
- /* @__PURE__ */ l.jsx(Ri, { name: h }),
4405
+ /* @__PURE__ */ l.jsx(Ri, { name: g }),
4399
4406
  /* @__PURE__ */ l.jsx(
4400
4407
  as,
4401
4408
  {
@@ -4703,7 +4710,7 @@ const us = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
4703
4710
  urlType: d,
4704
4711
  setUrlType: y
4705
4712
  }) => {
4706
- const h = () => /* @__PURE__ */ l.jsxs(
4713
+ const g = () => /* @__PURE__ */ l.jsxs(
4707
4714
  "div",
4708
4715
  {
4709
4716
  style: {
@@ -4884,7 +4891,7 @@ const us = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
4884
4891
  flexDirection: "column"
4885
4892
  },
4886
4893
  children: [
4887
- m.customer == "playableFactoryInternal" && e === "Playable" && /* @__PURE__ */ l.jsx(h, {}),
4894
+ m.customer == "playableFactoryInternal" && e === "Playable" && /* @__PURE__ */ l.jsx(g, {}),
4888
4895
  e === "Ready" ? /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
4889
4896
  /* @__PURE__ */ l.jsx(p, {}),
4890
4897
  d === "game" && /* @__PURE__ */ l.jsx(
@@ -4963,7 +4970,7 @@ const us = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
4963
4970
  isTest: s,
4964
4971
  setIsTest: d,
4965
4972
  urlType: y,
4966
- setUrlType: h
4973
+ setUrlType: g
4967
4974
  }) => /* @__PURE__ */ l.jsxs(
4968
4975
  "div",
4969
4976
  {
@@ -4999,7 +5006,7 @@ const us = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
4999
5006
  isTest: s,
5000
5007
  setIsTest: d,
5001
5008
  urlType: y,
5002
- setUrlType: h
5009
+ setUrlType: g
5003
5010
  }
5004
5011
  ),
5005
5012
  /* @__PURE__ */ l.jsx(ss, { typeOfProduct: e })
@@ -5041,7 +5048,7 @@ const us = () => /* @__PURE__ */ l.jsxs("svg", { width: "24", height: "24", view
5041
5048
  }
5042
5049
  ), hs = ({ checked: e, typeOfProduct: t, id: n }) => {
5043
5050
  const [r, o] = P(e);
5044
- Ie(() => {
5051
+ Ce(() => {
5045
5052
  o(e);
5046
5053
  }, [e]);
5047
5054
  const i = () => {
@@ -5728,9 +5735,9 @@ const bs = ({
5728
5735
  api: s,
5729
5736
  handleDownloadError: d,
5730
5737
  fetchFileUrl: y,
5731
- urls: h,
5738
+ urls: g,
5732
5739
  game: p,
5733
- setIsConfirmActive: g,
5740
+ setIsConfirmActive: h,
5734
5741
  creditDownload: v,
5735
5742
  getDownloadCount: x,
5736
5743
  disabled: E,
@@ -5787,7 +5794,7 @@ const bs = ({
5787
5794
  const D = () => {
5788
5795
  n(e);
5789
5796
  }, N = async (V, K) => (U(!0), new Promise((ce, Xe) => {
5790
- Ft(c, V, h, K, C, { urlType: ne }).then((we) => {
5797
+ Ft(c, V, g, K, C, { urlType: ne }).then((we) => {
5791
5798
  U(!1), ce(we);
5792
5799
  }).catch((we) => {
5793
5800
  U(!1), d(we.message, we), Xe(we);
@@ -5797,7 +5804,7 @@ const bs = ({
5797
5804
  const K = {
5798
5805
  molocoGenerateHtml: !1
5799
5806
  };
5800
- V && (K.molocoGenerateHtml = !0), Ft(c, o, h, "download", C, K).then((ce) => {
5807
+ V && (K.molocoGenerateHtml = !0), Ft(c, o, g, "download", C, K).then((ce) => {
5801
5808
  V ? z(!1) : q(!1), Y(!1);
5802
5809
  }).catch((ce) => {
5803
5810
  d(ce.message, ce);
@@ -5941,8 +5948,8 @@ const bs = ({
5941
5948
  return;
5942
5949
  } else {
5943
5950
  F("download");
5944
- const K = h.iosUrl, ce = h.googleUrl;
5945
- v && v.willSpendCredit ? (g(!0), L("download"), X(!0)) : ["Playable", "Flex"].includes(m) && (!K || !ce) || m === "Ready" && ne === "single" && !K || m === "Ready" && ne === "multi" && (!K || !ce) ? (g(!0), W(!0)) : (W(!1), X(!1), await N(o, "download"));
5951
+ const K = g.iosUrl, ce = g.googleUrl;
5952
+ v && v.willSpendCredit ? (h(!0), L("download"), X(!0)) : ["Playable", "Flex"].includes(m) && (!K || !ce) || m === "Ready" && ne === "single" && !K || m === "Ready" && ne === "multi" && (!K || !ce) ? (h(!0), W(!0)) : (W(!1), X(!1), await N(o, "download"));
5946
5953
  }
5947
5954
  },
5948
5955
  children: [
@@ -5974,8 +5981,8 @@ const bs = ({
5974
5981
  className: "w-1/3 border-hover-" + m,
5975
5982
  onClickDonwload: async (V) => {
5976
5983
  V.stopPropagation(), F("copyLink");
5977
- const K = h.iosUrl, ce = h.googleUrl;
5978
- v && (v != null && v.willSpendCredit) ? (L("copy"), g(!0), X(!0)) : m !== "Import" && (!K || !ce) ? (g(!0), W(!0)) : (X(!1), W(!1), await N(o, "copy"));
5984
+ const K = g.iosUrl, ce = g.googleUrl;
5985
+ v && (v != null && v.willSpendCredit) ? (L("copy"), h(!0), X(!0)) : m !== "Import" && (!K || !ce) ? (h(!0), W(!0)) : (X(!1), W(!1), await N(o, "copy"));
5979
5986
  },
5980
5987
  disabled: E,
5981
5988
  children: /* @__PURE__ */ l.jsx(Zo, { className: "h-6 w-6 stroke-dark-full" })
@@ -5987,8 +5994,8 @@ const bs = ({
5987
5994
  className: "w-1/2 border-hover-" + m,
5988
5995
  onClickDonwload: async (V) => {
5989
5996
  V.stopPropagation(), F("download");
5990
- const K = h.iosUrl, ce = h.googleUrl;
5991
- v && (v != null && v.willSpendCredit) ? (L("download"), g(!0), X(!0)) : m !== "Import" && (!K || !ce) ? (g(!0), W(!0)) : (X(!1), W(!1), await R(!0));
5997
+ const K = g.iosUrl, ce = g.googleUrl;
5998
+ v && (v != null && v.willSpendCredit) ? (L("download"), h(!0), X(!0)) : m !== "Import" && (!K || !ce) ? (h(!0), W(!0)) : (X(!1), W(!1), await R(!0));
5992
5999
  },
5993
6000
  disabled: E,
5994
6001
  children: /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
@@ -6022,13 +6029,13 @@ const bs = ({
6022
6029
  {
6023
6030
  creditConfirmType: f,
6024
6031
  handleCopyLink: async () => {
6025
- W(!1), g(!1), await N(o, "copy");
6032
+ W(!1), h(!1), await N(o, "copy");
6026
6033
  },
6027
6034
  download: async () => {
6028
- W(!1), g(!1), await N(o, "download");
6035
+ W(!1), h(!1), await N(o, "download");
6029
6036
  },
6030
6037
  onClose: () => {
6031
- X(!1), g(!1);
6038
+ X(!1), h(!1);
6032
6039
  },
6033
6040
  getDownloadCount: x
6034
6041
  }
@@ -6037,16 +6044,16 @@ const bs = ({
6037
6044
  qs,
6038
6045
  {
6039
6046
  onClose: () => {
6040
- W(!1), g(!1);
6047
+ W(!1), h(!1);
6041
6048
  },
6042
- iosLink: h.iosUrl,
6043
- googleLink: h.googleUrl,
6049
+ iosLink: g.iosUrl,
6050
+ googleLink: g.googleUrl,
6044
6051
  buttonType: Ae,
6045
6052
  handleCopyLink: async () => {
6046
- W(!1), g(!1), await N(o, "copy");
6053
+ W(!1), h(!1), await N(o, "copy");
6047
6054
  },
6048
6055
  download: async () => {
6049
- W(!1), g(!1), await N(o, "download");
6056
+ W(!1), h(!1), await N(o, "download");
6050
6057
  },
6051
6058
  typeOfProduct: m,
6052
6059
  urlType: ne
@@ -6377,9 +6384,9 @@ const bs = ({
6377
6384
  game: s,
6378
6385
  getDownloadCount: d,
6379
6386
  disabled: y,
6380
- setSafariCopyLink: h,
6387
+ setSafariCopyLink: g,
6381
6388
  isTest: p,
6382
- urlType: g
6389
+ urlType: h
6383
6390
  }) => {
6384
6391
  const [v, x] = P([]), [E, J] = P([]), [O, C] = P(!1), [ne, re] = P(""), [U, Ae] = P(!1), [F, oe] = P(!1), [X, _] = P("download"), [W, S] = P(!1), Y = async (k) => {
6385
6392
  const q = [...v];
@@ -6454,9 +6461,9 @@ const bs = ({
6454
6461
  getDownloadCount: d,
6455
6462
  disabled: y,
6456
6463
  user: a,
6457
- setSafariCopyLink: h,
6464
+ setSafariCopyLink: g,
6458
6465
  isTest: p,
6459
- urlType: g
6466
+ urlType: h
6460
6467
  },
6461
6468
  k.id
6462
6469
  );
@@ -6575,15 +6582,15 @@ const Os = [
6575
6582
  fileSize: s,
6576
6583
  setFileSize: d,
6577
6584
  setSafariCopyLink: y,
6578
- iosLink: h,
6585
+ iosLink: g,
6579
6586
  androidLink: p,
6580
- setIosLink: g,
6587
+ setIosLink: h,
6581
6588
  setAndroidLink: v,
6582
6589
  urlType: x,
6583
6590
  setUrlType: E
6584
6591
  }) => {
6585
6592
  const [J, O] = P(null), [C, ne] = P(null), [re, U] = P(null), [Ae, F] = P(!1), [oe, X] = P(!0), [_, W] = P(window.innerWidth), [S, Y] = P(!1);
6586
- Ie(() => {
6593
+ Ce(() => {
6587
6594
  const w = () => {
6588
6595
  W(window.innerWidth);
6589
6596
  };
@@ -6596,7 +6603,7 @@ const Os = [
6596
6603
  const w = await ws(e, i);
6597
6604
  return w != null && w.networks || (w.networks = Os), O(w), w;
6598
6605
  }, L = (w) => {
6599
- g(w);
6606
+ h(w);
6600
6607
  }, k = (w) => {
6601
6608
  v(w);
6602
6609
  }, q = async (w, j) => {
@@ -6606,11 +6613,11 @@ const Os = [
6606
6613
  if (r === "Playable" || r === "Ready") {
6607
6614
  const R = await Ws(t, i);
6608
6615
  if (R) {
6609
- g(R.iosLink), v(R.androidLink), F(!1);
6616
+ h(R.iosLink), v(R.androidLink), F(!1);
6610
6617
  return;
6611
6618
  }
6612
6619
  if (w && (w.iosUrl || w.googleUrl)) {
6613
- g(w.iosUrl), v(w.googleUrl), F(!1);
6620
+ h(w.iosUrl), v(w.googleUrl), F(!1);
6614
6621
  return;
6615
6622
  }
6616
6623
  if (j && j.html) {
@@ -6620,20 +6627,20 @@ const Os = [
6620
6627
  const T = ((Q = B.match(
6621
6628
  /var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
6622
6629
  )) == null ? void 0 : Q.at(1)) || "";
6623
- g(T);
6630
+ h(T);
6624
6631
  const V = ((D = B.match(
6625
6632
  /var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
6626
6633
  )) == null ? void 0 : D.at(1)) || "";
6627
6634
  v(V), F(!1);
6628
6635
  } else
6629
- v(""), g(""), F(!1);
6636
+ v(""), h(""), F(!1);
6630
6637
  } else if (r === "Flex") {
6631
6638
  const R = await Ms(t, i);
6632
6639
  if (R.googleUrl || R.iosUrl) {
6633
- v(R.googleUrl), g(R.iosUrl), F(!1);
6640
+ v(R.googleUrl), h(R.iosUrl), F(!1);
6634
6641
  return;
6635
6642
  }
6636
- w && (w.iosUrl || w.googleUrl) ? (g(w.iosUrl), v(w.googleUrl), F(!1)) : (v(""), g(""), F(!1));
6643
+ w && (w.iosUrl || w.googleUrl) ? (h(w.iosUrl), v(w.googleUrl), F(!1)) : (v(""), h(""), F(!1));
6637
6644
  }
6638
6645
  } catch (N) {
6639
6646
  m(N.response.data.error.msg);
@@ -6649,7 +6656,7 @@ const Os = [
6649
6656
  networks: eo
6650
6657
  }) : U(w)), F(!1);
6651
6658
  }, z = async () => await Ks(n, i);
6652
- return Ie(() => {
6659
+ return Ce(() => {
6653
6660
  o || (O(null), ne(null), U(null), d(null)), o && (r === "Playable" ? (f().then((w) => {
6654
6661
  q(null, w);
6655
6662
  }), X(!1)) : r === "Ready" ? Z().then((w) => {
@@ -6661,7 +6668,7 @@ const Os = [
6661
6668
  o && (q(j, null), X(!1), ne(j));
6662
6669
  });
6663
6670
  }) : r === "Import" && Ss(t, i).then((w) => {
6664
- console.log(w), O(w), g(w.iosUrl || ""), v(w.googleUrl || ""), F(!1), X(!1);
6671
+ console.log(w), O(w), h(w.iosUrl || ""), v(w.googleUrl || ""), F(!1), X(!1);
6665
6672
  }));
6666
6673
  }, [n, e, t, o]), /* @__PURE__ */ l.jsxs(
6667
6674
  "div",
@@ -6683,7 +6690,7 @@ const Os = [
6683
6690
  title: A,
6684
6691
  typeOfProduct: r,
6685
6692
  fileSize: s,
6686
- urls: { iosUrl: h, googleUrl: p },
6693
+ urls: { iosUrl: g, googleUrl: p },
6687
6694
  handleIosChange: L,
6688
6695
  handleGoogleChange: k,
6689
6696
  disabled: oe,
@@ -6708,7 +6715,7 @@ const Os = [
6708
6715
  },
6709
6716
  children: /* @__PURE__ */ l.jsx(lr, { isNetworksLoading: !0 })
6710
6717
  }
6711
- ) : (J || re) && (r === "Flex" ? C : !0) && !Ae && h !== "Loading..." && p !== "Loading..." && /* @__PURE__ */ l.jsx(
6718
+ ) : (J || re) && (r === "Flex" ? C : !0) && !Ae && g !== "Loading..." && p !== "Loading..." && /* @__PURE__ */ l.jsx(
6712
6719
  Is,
6713
6720
  {
6714
6721
  playable: J,
@@ -6720,7 +6727,7 @@ const Os = [
6720
6727
  user: a,
6721
6728
  handleDownloadError: m,
6722
6729
  fetchFileUrl: c,
6723
- urls: { iosUrl: h, googleUrl: p },
6730
+ urls: { iosUrl: g, googleUrl: p },
6724
6731
  game: C,
6725
6732
  getDownloadCount: Z,
6726
6733
  disabled: oe,
@@ -6759,33 +6766,33 @@ var Hn = { exports: {} }, At = {}, Xn = { exports: {} }, Ye = {}, Qn = { exports
6759
6766
  if (y && !d.innerHTML)
6760
6767
  return !0;
6761
6768
  try {
6762
- var h = window.getComputedStyle(d), p = h.getPropertyValue("display");
6763
- return y ? p !== r && i(d, h) : p === n;
6769
+ var g = window.getComputedStyle(d), p = g.getPropertyValue("display");
6770
+ return y ? p !== r && i(d, g) : p === n;
6764
6771
  } catch {
6765
6772
  return console.warn("Failed to inspect element style"), !1;
6766
6773
  }
6767
6774
  }
6768
6775
  function A(d) {
6769
- for (var y = d, h = d.getRootNode && d.getRootNode(); y && y !== document.body; ) {
6770
- if (h && y === h && (y = h.host.parentNode), a(y))
6776
+ for (var y = d, g = d.getRootNode && d.getRootNode(); y && y !== document.body; ) {
6777
+ if (g && y === g && (y = g.host.parentNode), a(y))
6771
6778
  return !1;
6772
6779
  y = y.parentNode;
6773
6780
  }
6774
6781
  return !0;
6775
6782
  }
6776
6783
  function m(d, y) {
6777
- var h = d.nodeName.toLowerCase(), p = o.test(h) && !d.disabled || h === "a" && d.href || y;
6784
+ var g = d.nodeName.toLowerCase(), p = o.test(g) && !d.disabled || g === "a" && d.href || y;
6778
6785
  return p && A(d);
6779
6786
  }
6780
6787
  function c(d) {
6781
6788
  var y = d.getAttribute("tabindex");
6782
6789
  y === null && (y = void 0);
6783
- var h = isNaN(y);
6784
- return (h || y >= 0) && m(d, !h);
6790
+ var g = isNaN(y);
6791
+ return (g || y >= 0) && m(d, !g);
6785
6792
  }
6786
6793
  function s(d) {
6787
- var y = [].slice.call(d.querySelectorAll("*"), 0).reduce(function(h, p) {
6788
- return h.concat(p.shadowRoot ? s(p.shadowRoot) : [p]);
6794
+ var y = [].slice.call(d.querySelectorAll("*"), 0).reduce(function(g, p) {
6795
+ return g.concat(p.shadowRoot ? s(p.shadowRoot) : [p]);
6789
6796
  }, []);
6790
6797
  return y.filter(c);
6791
6798
  }
@@ -6873,21 +6880,21 @@ var Vn = { exports: {} };
6873
6880
  m.preventDefault();
6874
6881
  return;
6875
6882
  }
6876
- var s = void 0, d = m.shiftKey, y = c[0], h = c[c.length - 1], p = i();
6883
+ var s = void 0, d = m.shiftKey, y = c[0], g = c[c.length - 1], p = i();
6877
6884
  if (A === p) {
6878
6885
  if (!d)
6879
6886
  return;
6880
- s = h;
6887
+ s = g;
6881
6888
  }
6882
- if (h === p && !d && (s = y), y === p && d && (s = h), s) {
6889
+ if (g === p && !d && (s = y), y === p && d && (s = g), s) {
6883
6890
  m.preventDefault(), s.focus();
6884
6891
  return;
6885
6892
  }
6886
- var g = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), v = g != null && g[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
6893
+ var h = /(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent), v = h != null && h[1] != "Chrome" && /\biPod\b|\biPad\b/g.exec(navigator.userAgent) == null;
6887
6894
  if (v) {
6888
6895
  var x = c.indexOf(p);
6889
6896
  if (x > -1 && (x += d ? -1 : 1), s = c[x], typeof s > "u") {
6890
- m.preventDefault(), s = d ? h : y, s.focus();
6897
+ m.preventDefault(), s = d ? g : y, s.focus();
6891
6898
  return;
6892
6899
  }
6893
6900
  m.preventDefault(), s.focus();
@@ -7206,7 +7213,7 @@ yl.default.subscribe(Zl);
7206
7213
  return function(S, Y, f) {
7207
7214
  return Y && W(S.prototype, Y), f && W(S, f), S;
7208
7215
  };
7209
- }(), i = ae, a = nn, A = C(a), m = Ye, c = O(m), s = Hs, d = C(s), y = je, h = O(y), p = ft, g = O(p), v = ze, x = C(v), E = ht, J = C(E);
7216
+ }(), i = ae, a = nn, A = C(a), m = Ye, c = O(m), s = Hs, d = C(s), y = je, g = O(y), p = ft, h = O(p), v = ze, x = C(v), E = ht, J = C(E);
7210
7217
  function O(W) {
7211
7218
  if (W && W.__esModule)
7212
7219
  return W;
@@ -7251,7 +7258,7 @@ yl.default.subscribe(Zl);
7251
7258
  f.content = L, f.props.contentRef && f.props.contentRef(L);
7252
7259
  }, f.afterClose = function() {
7253
7260
  var L = f.props, k = L.appElement, q = L.ariaHideApp, Z = L.htmlOpenClassName, z = L.bodyOpenClassName, w = L.parentSelector, j = w && w().ownerDocument || document;
7254
- z && g.remove(j.body, z), Z && g.remove(j.getElementsByTagName("html")[0], Z), q && X > 0 && (X -= 1, X === 0 && h.show(k)), f.props.shouldFocusAfterRender && (f.props.shouldReturnFocusAfterClose ? (c.returnFocus(f.props.preventScroll), c.teardownScopedFocus()) : c.popWithoutFocus()), f.props.onAfterClose && f.props.onAfterClose(), J.default.deregister(f);
7261
+ z && h.remove(j.body, z), Z && h.remove(j.getElementsByTagName("html")[0], Z), q && X > 0 && (X -= 1, X === 0 && g.show(k)), f.props.shouldFocusAfterRender && (f.props.shouldReturnFocusAfterClose ? (c.returnFocus(f.props.preventScroll), c.teardownScopedFocus()) : c.popWithoutFocus()), f.props.onAfterClose && f.props.onAfterClose(), J.default.deregister(f);
7255
7262
  }, f.open = function() {
7256
7263
  f.beforeOpen(), f.state.afterOpen && f.state.beforeClose ? (clearTimeout(f.closeTimer), f.setState({ beforeClose: !1 })) : (f.props.shouldFocusAfterRender && (c.setupScopedFocus(f.node), c.markForFocusLater()), f.setState({ isOpen: !0 }, function() {
7257
7264
  f.openAnimationFrame = requestAnimationFrame(function() {
@@ -7332,7 +7339,7 @@ yl.default.subscribe(Zl);
7332
7339
  key: "beforeOpen",
7333
7340
  value: function() {
7334
7341
  var f = this.props, L = f.appElement, k = f.ariaHideApp, q = f.htmlOpenClassName, Z = f.bodyOpenClassName, z = f.parentSelector, w = z && z().ownerDocument || document;
7335
- Z && g.add(w.body, Z), q && g.add(w.getElementsByTagName("html")[0], q), k && (X += 1, h.hide(L)), J.default.register(this);
7342
+ Z && h.add(w.body, Z), q && h.add(w.getElementsByTagName("html")[0], q), k && (X += 1, g.hide(L)), J.default.register(this);
7336
7343
  }
7337
7344
  // Don't steal focus from inner elements
7338
7345
  }, {
@@ -7966,20 +7973,20 @@ const Un = /* @__PURE__ */ zi(Dl), Rl = ({ width: e, height: t, fill: n }) => /*
7966
7973
  iframeUrl: s,
7967
7974
  handleDownloadError: d,
7968
7975
  fetchFileUrl: y,
7969
- copyLinkUrl: h
7976
+ copyLinkUrl: g
7970
7977
  }) => {
7971
- const [p, g] = P(window.innerWidth), [v, x] = P(!1), [E, J] = P(s), [O, C] = P(!1), [ne, re] = P(!0), [U, Ae] = P(null), [F, oe] = P(""), [X, _] = P("Loading..."), [W, S] = P("Loading..."), [Y, f] = P("game");
7978
+ const [p, h] = P(window.innerWidth), [v, x] = P(!1), [E, J] = P(s), [O, C] = P(!1), [ne, re] = P(!0), [U, Ae] = P(null), [F, oe] = P(""), [X, _] = P("Loading..."), [W, S] = P("Loading..."), [Y, f] = P("game");
7972
7979
  is(a, A, oe, y);
7973
7980
  const L = async () => {
7974
7981
  Ft(n, "preview", null, null, !1).then((k) => {
7975
7982
  x(!0), J(y + "/" + k.url), (a === "Flex" || a === "Ready" || a === "Playable") && (k.size >= 5 ? C(!0) : C(!1), Ae(k.size)), re(!1);
7976
7983
  });
7977
7984
  };
7978
- return Ie(() => {
7985
+ return Ce(() => {
7979
7986
  e ? v || (L(), x(!0)) : (x(!1), J(""));
7980
- }, [e]), Ie(() => {
7987
+ }, [e]), Ce(() => {
7981
7988
  const k = () => {
7982
- g(window.innerWidth);
7989
+ h(window.innerWidth);
7983
7990
  };
7984
7991
  return window.addEventListener("resize", k), () => {
7985
7992
  window.removeEventListener("resize", k);
@@ -8132,7 +8139,7 @@ const Un = /* @__PURE__ */ zi(Dl), Rl = ({ width: e, height: t, fill: n }) => /*
8132
8139
  iframeUrl: E,
8133
8140
  api: A,
8134
8141
  fetchFileUrl: y,
8135
- copyLinkUrl: h,
8142
+ copyLinkUrl: g,
8136
8143
  setSafariCopyLink: oe,
8137
8144
  iosLink: X,
8138
8145
  androidLink: W,