gearboxdownloadmodal 6.0.13 → 6.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -216,8 +216,8 @@ function Ji() {
216
216
  S < 0 && E("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
217
217
  }
218
218
  }
219
- var D = x.ReactCurrentDispatcher, N;
220
- function R(u, I, M) {
219
+ var R = x.ReactCurrentDispatcher, N;
220
+ function D(u, I, M) {
221
221
  {
222
222
  if (N === void 0)
223
223
  try {
@@ -248,7 +248,7 @@ function Ji() {
248
248
  var ie = Error.prepareStackTrace;
249
249
  Error.prepareStackTrace = void 0;
250
250
  var ue;
251
- ue = D.current, D.current = null, j();
251
+ ue = R.current, R.current = null, j();
252
252
  try {
253
253
  if (I) {
254
254
  var ee = function() {
@@ -301,9 +301,9 @@ function Ji() {
301
301
  }
302
302
  }
303
303
  } finally {
304
- B = !1, D.current = ue, Q(), Error.prepareStackTrace = ie;
304
+ B = !1, R.current = ue, Q(), Error.prepareStackTrace = ie;
305
305
  }
306
- var ut = u ? u.displayName || u.name : "", Ir = ut ? R(ut) : "";
306
+ var ut = u ? u.displayName || u.name : "", Ir = ut ? D(ut) : "";
307
307
  return typeof u == "function" && T.set(u, Ir), Ir;
308
308
  }
309
309
  function ce(u, I, M) {
@@ -319,12 +319,12 @@ function Ji() {
319
319
  if (typeof u == "function")
320
320
  return K(u, Xe(u));
321
321
  if (typeof u == "string")
322
- return R(u);
322
+ return D(u);
323
323
  switch (u) {
324
324
  case c:
325
- return R("Suspense");
325
+ return D("Suspense");
326
326
  case s:
327
- return R("SuspenseList");
327
+ return D("SuspenseList");
328
328
  }
329
329
  if (typeof u == "object")
330
330
  switch (u.$$typeof) {
@@ -1522,13 +1522,13 @@ function _i() {
1522
1522
  function Q(K) {
1523
1523
  return O(K) === r;
1524
1524
  }
1525
- function D(K) {
1525
+ function R(K) {
1526
1526
  return O(K) === p;
1527
1527
  }
1528
1528
  function N(K) {
1529
1529
  return O(K) === g;
1530
1530
  }
1531
- function R(K) {
1531
+ function D(K) {
1532
1532
  return O(K) === n;
1533
1533
  }
1534
1534
  function B(K) {
@@ -1540,7 +1540,7 @@ function _i() {
1540
1540
  function V(K) {
1541
1541
  return O(K) === d;
1542
1542
  }
1543
- le.AsyncMode = C, le.ConcurrentMode = ne, le.ContextConsumer = re, le.ContextProvider = U, le.Element = Ae, le.ForwardRef = F, le.Fragment = oe, le.Lazy = X, le.Memo = _, le.Portal = W, le.Profiler = S, le.StrictMode = Y, le.Suspense = f, le.isAsyncMode = k, le.isConcurrentMode = q, le.isContextConsumer = Z, le.isContextProvider = z, le.isElement = w, le.isForwardRef = j, le.isFragment = Q, le.isLazy = D, le.isMemo = N, le.isPortal = R, le.isProfiler = B, le.isStrictMode = T, le.isSuspense = V, le.isValidElementType = J, le.typeOf = O;
1543
+ le.AsyncMode = C, le.ConcurrentMode = ne, le.ContextConsumer = re, le.ContextProvider = U, le.Element = Ae, le.ForwardRef = F, le.Fragment = oe, le.Lazy = X, le.Memo = _, le.Portal = W, le.Profiler = S, le.StrictMode = Y, le.Suspense = f, le.isAsyncMode = k, le.isConcurrentMode = q, le.isContextConsumer = Z, le.isContextProvider = z, le.isElement = w, le.isForwardRef = j, le.isFragment = Q, le.isLazy = R, le.isMemo = N, le.isPortal = D, le.isProfiler = B, le.isStrictMode = T, le.isSuspense = V, le.isValidElementType = J, le.typeOf = O;
1544
1544
  }()), le;
1545
1545
  }
1546
1546
  var Sr;
@@ -1717,33 +1717,33 @@ function ta() {
1717
1717
  function v(q) {
1718
1718
  if (process.env.NODE_ENV !== "production")
1719
1719
  var Z = {}, z = 0;
1720
- function w(Q, D, N, R, B, T, V) {
1721
- if (R = R || y, T = T || N, V !== n) {
1720
+ function w(Q, R, N, D, B, T, V) {
1721
+ if (D = D || y, T = T || N, V !== n) {
1722
1722
  if (m) {
1723
1723
  var K = 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 K.name = "Invariant Violation", K;
1727
1727
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1728
- var ce = R + ":" + N;
1728
+ var ce = D + ":" + N;
1729
1729
  !Z[ce] && // Avoid spamming the console because they are often not actionable except for lib authors
1730
1730
  z < 3 && (i(
1731
- "You are manually calling a React.PropTypes validation function for the `" + T + "` prop on `" + R + "`. 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."
1731
+ "You are manually calling a React.PropTypes validation function for the `" + T + "` prop on `" + D + "`. 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
1732
  ), Z[ce] = !0, z++);
1733
1733
  }
1734
1734
  }
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);
1735
+ return R[N] == null ? Q ? R[N] === null ? new h("The " + B + " `" + T + "` is marked as required " + ("in `" + D + "`, but its value is `null`.")) : new h("The " + B + " `" + T + "` is marked as required in " + ("`" + D + "`, but its value is `undefined`.")) : null : q(R, N, D, B, T);
1736
1736
  }
1737
1737
  var j = w.bind(null, !1);
1738
1738
  return j.isRequired = w.bind(null, !0), j;
1739
1739
  }
1740
1740
  function x(q) {
1741
- function Z(z, w, j, Q, D, N) {
1742
- var R = z[w], B = Y(R);
1741
+ function Z(z, w, j, Q, R, N) {
1742
+ var D = z[w], B = Y(D);
1743
1743
  if (B !== q) {
1744
- var T = f(R);
1744
+ var T = f(D);
1745
1745
  return new h(
1746
- "Invalid " + Q + " `" + D + "` of type " + ("`" + T + "` supplied to `" + j + "`, expected ") + ("`" + q + "`."),
1746
+ "Invalid " + Q + " `" + R + "` of type " + ("`" + T + "` supplied to `" + j + "`, expected ") + ("`" + q + "`."),
1747
1747
  { expectedType: q }
1748
1748
  );
1749
1749
  }
@@ -1755,16 +1755,16 @@ function ta() {
1755
1755
  return v(a);
1756
1756
  }
1757
1757
  function J(q) {
1758
- function Z(z, w, j, Q, D) {
1758
+ function Z(z, w, j, Q, R) {
1759
1759
  if (typeof q != "function")
1760
- return new h("Property `" + D + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
1760
+ return new h("Property `" + R + "` of component `" + j + "` has invalid PropType notation inside arrayOf.");
1761
1761
  var N = z[w];
1762
1762
  if (!Array.isArray(N)) {
1763
- var R = Y(N);
1764
- return new h("Invalid " + Q + " `" + D + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected an array."));
1763
+ var D = Y(N);
1764
+ return new h("Invalid " + Q + " `" + R + "` of type " + ("`" + D + "` supplied to `" + j + "`, expected an array."));
1765
1765
  }
1766
1766
  for (var B = 0; B < N.length; B++) {
1767
- var T = q(N, B, j, Q, D + "[" + B + "]", n);
1767
+ var T = q(N, B, j, Q, R + "[" + B + "]", n);
1768
1768
  if (T instanceof Error)
1769
1769
  return T;
1770
1770
  }
@@ -1774,9 +1774,9 @@ function ta() {
1774
1774
  }
1775
1775
  function O() {
1776
1776
  function q(Z, z, w, j, Q) {
1777
- var D = Z[z];
1778
- if (!A(D)) {
1779
- var N = Y(D);
1777
+ var R = Z[z];
1778
+ if (!A(R)) {
1779
+ var N = Y(R);
1780
1780
  return new h("Invalid " + j + " `" + Q + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected a single ReactElement."));
1781
1781
  }
1782
1782
  return null;
@@ -1785,9 +1785,9 @@ function ta() {
1785
1785
  }
1786
1786
  function C() {
1787
1787
  function q(Z, z, w, j, Q) {
1788
- var D = Z[z];
1789
- if (!e.isValidElementType(D)) {
1790
- var N = Y(D);
1788
+ var R = Z[z];
1789
+ if (!e.isValidElementType(R)) {
1790
+ var N = Y(R);
1791
1791
  return new h("Invalid " + j + " `" + Q + "` of type " + ("`" + N + "` supplied to `" + w + "`, expected a single ReactElement type."));
1792
1792
  }
1793
1793
  return null;
@@ -1795,10 +1795,10 @@ function ta() {
1795
1795
  return v(q);
1796
1796
  }
1797
1797
  function ne(q) {
1798
- function Z(z, w, j, Q, D) {
1798
+ function Z(z, w, j, Q, R) {
1799
1799
  if (!(z[w] instanceof q)) {
1800
- var N = q.name || y, R = k(z[w]);
1801
- return new h("Invalid " + Q + " `" + D + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected ") + ("instance of `" + N + "`."));
1800
+ var N = q.name || y, D = k(z[w]);
1801
+ return new h("Invalid " + Q + " `" + R + "` of type " + ("`" + D + "` supplied to `" + j + "`, expected ") + ("instance of `" + N + "`."));
1802
1802
  }
1803
1803
  return null;
1804
1804
  }
@@ -1809,28 +1809,28 @@ function ta() {
1809
1809
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? i(
1810
1810
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
1811
1811
  ) : i("Invalid argument supplied to oneOf, expected an array.")), a;
1812
- function Z(z, w, j, Q, D) {
1813
- for (var N = z[w], R = 0; R < q.length; R++)
1814
- if (p(N, q[R]))
1812
+ function Z(z, w, j, Q, R) {
1813
+ for (var N = z[w], D = 0; D < q.length; D++)
1814
+ if (p(N, q[D]))
1815
1815
  return null;
1816
1816
  var B = JSON.stringify(q, function(V, K) {
1817
1817
  var ce = f(K);
1818
1818
  return ce === "symbol" ? String(K) : K;
1819
1819
  });
1820
- return new h("Invalid " + Q + " `" + D + "` of value `" + String(N) + "` " + ("supplied to `" + j + "`, expected one of " + B + "."));
1820
+ return new h("Invalid " + Q + " `" + R + "` 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
- function Z(z, w, j, Q, D) {
1825
+ function Z(z, w, j, Q, R) {
1826
1826
  if (typeof q != "function")
1827
- return new h("Property `" + D + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
1828
- var N = z[w], R = Y(N);
1829
- if (R !== "object")
1830
- return new h("Invalid " + Q + " `" + D + "` of type " + ("`" + R + "` supplied to `" + j + "`, expected an object."));
1827
+ return new h("Property `" + R + "` of component `" + j + "` has invalid PropType notation inside objectOf.");
1828
+ var N = z[w], D = Y(N);
1829
+ if (D !== "object")
1830
+ return new h("Invalid " + Q + " `" + R + "` of type " + ("`" + D + "` supplied to `" + j + "`, expected an object."));
1831
1831
  for (var B in N)
1832
1832
  if (r(N, B)) {
1833
- var T = q(N, B, j, Q, D + "." + B, n);
1833
+ var T = q(N, B, j, Q, R + "." + B, n);
1834
1834
  if (T instanceof Error)
1835
1835
  return T;
1836
1836
  }
@@ -1848,15 +1848,15 @@ function ta() {
1848
1848
  "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + L(z) + " at index " + Z + "."
1849
1849
  ), a;
1850
1850
  }
1851
- function w(j, Q, D, N, R) {
1851
+ function w(j, Q, R, N, D) {
1852
1852
  for (var B = [], T = 0; T < q.length; T++) {
1853
- var V = q[T], K = V(j, Q, D, N, R, n);
1853
+ var V = q[T], K = V(j, Q, R, N, D, n);
1854
1854
  if (K == null)
1855
1855
  return null;
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 h("Invalid " + N + " `" + R + "` supplied to " + ("`" + D + "`" + ce + "."));
1859
+ return new h("Invalid " + N + " `" + D + "` supplied to " + ("`" + R + "`" + ce + "."));
1860
1860
  }
1861
1861
  return v(w);
1862
1862
  }
@@ -1872,15 +1872,15 @@ function ta() {
1872
1872
  );
1873
1873
  }
1874
1874
  function X(q) {
1875
- function Z(z, w, j, Q, D) {
1876
- var N = z[w], R = Y(N);
1877
- if (R !== "object")
1878
- return new h("Invalid " + Q + " `" + D + "` of type `" + R + "` " + ("supplied to `" + j + "`, expected `object`."));
1875
+ function Z(z, w, j, Q, R) {
1876
+ var N = z[w], D = Y(N);
1877
+ if (D !== "object")
1878
+ return new h("Invalid " + Q + " `" + R + "` of type `" + D + "` " + ("supplied to `" + j + "`, expected `object`."));
1879
1879
  for (var B in q) {
1880
1880
  var T = q[B];
1881
1881
  if (typeof T != "function")
1882
- return oe(j, Q, D, B, f(T));
1883
- var V = T(N, B, j, Q, D + "." + B, n);
1882
+ return oe(j, Q, R, B, f(T));
1883
+ var V = T(N, B, j, Q, R + "." + B, n);
1884
1884
  if (V)
1885
1885
  return V;
1886
1886
  }
@@ -1889,21 +1889,21 @@ function ta() {
1889
1889
  return v(Z);
1890
1890
  }
1891
1891
  function _(q) {
1892
- function Z(z, w, j, Q, D) {
1893
- var N = z[w], R = Y(N);
1894
- if (R !== "object")
1895
- return new h("Invalid " + Q + " `" + D + "` of type `" + R + "` " + ("supplied to `" + j + "`, expected `object`."));
1892
+ function Z(z, w, j, Q, R) {
1893
+ var N = z[w], D = Y(N);
1894
+ if (D !== "object")
1895
+ return new h("Invalid " + Q + " `" + R + "` of type `" + D + "` " + ("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
- return oe(j, Q, D, T, f(V));
1900
+ return oe(j, Q, R, T, f(V));
1901
1901
  if (!V)
1902
1902
  return new h(
1903
- "Invalid " + Q + " `" + D + "` key `" + T + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(z[w], null, " ") + `
1903
+ "Invalid " + Q + " `" + R + "` key `" + T + "` supplied to `" + j + "`.\nBad object: " + JSON.stringify(z[w], null, " ") + `
1904
1904
  Valid keys: ` + JSON.stringify(Object.keys(q), null, " ")
1905
1905
  );
1906
- var K = V(N, T, j, Q, D + "." + T, n);
1906
+ var K = V(N, T, j, Q, R + "." + T, n);
1907
1907
  if (K)
1908
1908
  return K;
1909
1909
  }
@@ -3704,7 +3704,7 @@ async function HA(e, t, n) {
3704
3704
  })).data;
3705
3705
  }
3706
3706
  async function XA(e, t, n, r, o) {
3707
- return console.log(r), (await ge.post(e + "/createPlayableVersionLink", {
3707
+ return (await ge.post(e + "/createPlayableVersionLink", {
3708
3708
  _id: t,
3709
3709
  network: n,
3710
3710
  isPfTest: r,
@@ -4148,7 +4148,7 @@ async function Ft(e, t, n, r = "download", o = !1, i = null) {
4148
4148
  }
4149
4149
  async function os(e, t, n) {
4150
4150
  return new Promise(async (r, o) => {
4151
- console.log("get multi download"), tt === "Flex" ? (await Uo(
4151
+ tt === "Flex" ? (await Uo(
4152
4152
  {
4153
4153
  _id: e,
4154
4154
  iosLink: t == null ? void 0 : t.iosUrl,
@@ -4164,12 +4164,12 @@ async function os(e, t, n) {
4164
4164
  }).catch((i) => {
4165
4165
  let a = i.response.data.error.msg;
4166
4166
  o({ message: a });
4167
- })) : tt === "Ready" ? (console.log("ready"), await Bt(
4167
+ })) : tt === "Ready" ? (await Bt(
4168
4168
  e,
4169
4169
  { iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
4170
4170
  Ze
4171
- ), console.log("ready link multi"), VA(e, n, Ze).then(async (i) => {
4172
- if (console.log("res", i), i.message) {
4171
+ ), VA(e, n, Ze).then(async (i) => {
4172
+ if (i.message) {
4173
4173
  o(i);
4174
4174
  return;
4175
4175
  }
@@ -4204,7 +4204,7 @@ const as = ({
4204
4204
  urlType: A
4205
4205
  }) => {
4206
4206
  const [m, c] = P(!1), s = async () => {
4207
- c(!0), console.log("copy mobile"), Ft(
4207
+ c(!0), Ft(
4208
4208
  e,
4209
4209
  "default",
4210
4210
  {
@@ -4222,7 +4222,7 @@ const as = ({
4222
4222
  c(!1);
4223
4223
  });
4224
4224
  };
4225
- return console.log(o), /* @__PURE__ */ l.jsxs(
4225
+ return /* @__PURE__ */ l.jsxs(
4226
4226
  "div",
4227
4227
  {
4228
4228
  style: {
@@ -4371,14 +4371,15 @@ const as = ({
4371
4371
  urlType: s
4372
4372
  }) => {
4373
4373
  const [d, y] = P(window.innerWidth);
4374
- Ce(() => {
4374
+ console.log("iosLink", m), Ce(() => {
4375
+ console.log("re add event listener");
4375
4376
  function p(h) {
4376
4377
  console.log(h), h.data === "cta" && (console.log("Received 'cta' message from iframe"), m && window.open(m, "_blank"));
4377
4378
  }
4378
4379
  return window.addEventListener("message", p, !1), () => {
4379
4380
  window.removeEventListener("message", p);
4380
4381
  };
4381
- }, []), Ce(() => {
4382
+ }, [m, c]), Ce(() => {
4382
4383
  const p = () => {
4383
4384
  y(window.innerWidth);
4384
4385
  };
@@ -5791,7 +5792,7 @@ const bs = ({
5791
5792
  jammp: "copy,html",
5792
5793
  mraid: "copy,html"
5793
5794
  };
5794
- const D = () => {
5795
+ const R = () => {
5795
5796
  n(e);
5796
5797
  }, N = async (V, K) => (U(!0), new Promise((ce, Xe) => {
5797
5798
  Ft(c, V, g, K, C, { urlType: ne }).then((we) => {
@@ -5799,7 +5800,7 @@ const bs = ({
5799
5800
  }).catch((we) => {
5800
5801
  U(!1), d(we.message, we), Xe(we);
5801
5802
  });
5802
- })), R = async (V = !1) => {
5803
+ })), D = async (V = !1) => {
5803
5804
  V ? z(!0) : q(!0);
5804
5805
  const K = {
5805
5806
  molocoGenerateHtml: !1
@@ -5835,7 +5836,7 @@ const bs = ({
5835
5836
  cursor: "pointer"
5836
5837
  },
5837
5838
  className: "border-hover-" + m,
5838
- onClick: D,
5839
+ onClick: R,
5839
5840
  children: [
5840
5841
  /* @__PURE__ */ l.jsxs(
5841
5842
  "div",
@@ -5914,7 +5915,7 @@ const bs = ({
5914
5915
  /* @__PURE__ */ l.jsx(
5915
5916
  "img",
5916
5917
  {
5917
- onClick: D,
5918
+ onClick: R,
5918
5919
  style: {
5919
5920
  width: "30rem",
5920
5921
  // Equivalent to 120/4 = 30rem
@@ -5995,7 +5996,7 @@ const bs = ({
5995
5996
  onClickDonwload: async (V) => {
5996
5997
  V.stopPropagation(), F("download");
5997
5998
  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));
5999
+ v && (v != null && v.willSpendCredit) ? (L("download"), h(!0), X(!0)) : m !== "Import" && (!K || !ce) ? (h(!0), W(!0)) : (X(!1), W(!1), await D(!0));
5999
6000
  },
6000
6001
  disabled: E,
6001
6002
  children: /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
@@ -6065,7 +6066,7 @@ const bs = ({
6065
6066
  onClose: () => {
6066
6067
  Y(!1);
6067
6068
  },
6068
- handleDownload: R,
6069
+ handleDownload: D,
6069
6070
  handleDownloadMolocoTest: B,
6070
6071
  downloadingMoloco: k,
6071
6072
  donwloadintMolocoTest: w,
@@ -6396,14 +6397,14 @@ const bs = ({
6396
6397
  } else
6397
6398
  q.push(k), x([...v, k]);
6398
6399
  En.filter((Z) => [...q].includes(Z.id)).map((Z) => Z.name);
6399
- }, f = async () => (console.log("multi download"), new Promise(async (k, q) => {
6400
+ }, f = async () => new Promise(async (k, q) => {
6400
6401
  const Z = En.filter((z) => [...v].includes(z.id)).map((z) => z.name);
6401
- Ae(!0), console.log("get multi download"), os(r, c, Z).then((z) => {
6402
- console.log("get multi download res"), Ae(!1), k(z);
6402
+ Ae(!0), os(r, c, Z).then((z) => {
6403
+ Ae(!1), k(z);
6403
6404
  }).catch((z) => {
6404
6405
  console.log("get multi download err"), Ae(!1), A(z.message, z), q(z);
6405
6406
  });
6406
- })), L = async () => {
6407
+ }), L = async () => {
6407
6408
  c.iosUrl, c.googleUrl, t && t.willSpendCredit ? (oe(!0), _("download"), S(!0)) : (S(!1), await f());
6408
6409
  };
6409
6410
  return /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
@@ -6607,13 +6608,14 @@ const Os = [
6607
6608
  }, k = (w) => {
6608
6609
  v(w);
6609
6610
  }, q = async (w, j) => {
6610
- var Q, D;
6611
+ var Q, R;
6612
+ console.log("getIosAndAndroidLink");
6611
6613
  try {
6612
6614
  let N;
6613
6615
  if (r === "Playable" || r === "Ready") {
6614
- const R = await Ws(t, i);
6615
- if (R) {
6616
- h(R.iosLink), v(R.androidLink), F(!1);
6616
+ const D = await Ws(t, i);
6617
+ if (D) {
6618
+ console.log("version", D), h(D.iosLink), v(D.androidLink), F(!1);
6617
6619
  return;
6618
6620
  }
6619
6621
  if (w && (w.iosUrl || w.googleUrl)) {
@@ -6628,16 +6630,16 @@ const Os = [
6628
6630
  /var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
6629
6631
  )) == null ? void 0 : Q.at(1)) || "";
6630
6632
  h(T);
6631
- const V = ((D = B.match(
6633
+ const V = ((R = B.match(
6632
6634
  /var\s+androidLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
6633
- )) == null ? void 0 : D.at(1)) || "";
6635
+ )) == null ? void 0 : R.at(1)) || "";
6634
6636
  v(V), F(!1);
6635
6637
  } else
6636
6638
  v(""), h(""), F(!1);
6637
6639
  } else if (r === "Flex") {
6638
- const R = await Ms(t, i);
6639
- if (R.googleUrl || R.iosUrl) {
6640
- v(R.googleUrl), h(R.iosUrl), F(!1);
6640
+ const D = await Ms(t, i);
6641
+ if (D.googleUrl || D.iosUrl) {
6642
+ v(D.googleUrl), h(D.iosUrl), F(!1);
6641
6643
  return;
6642
6644
  }
6643
6645
  w && (w.iosUrl || w.googleUrl) ? (h(w.iosUrl), v(w.googleUrl), F(!1)) : (v(""), h(""), F(!1));
@@ -7354,7 +7356,7 @@ yl.default.subscribe(Zl);
7354
7356
  style: n({}, j, this.props.style.overlay),
7355
7357
  onClick: this.handleOverlayOnClick,
7356
7358
  onMouseDown: this.handleOverlayOnMouseDown
7357
- }, D = n({
7359
+ }, R = n({
7358
7360
  id: L,
7359
7361
  ref: this.setContentRef,
7360
7362
  style: n({}, w, this.props.style.content),
@@ -7368,7 +7370,7 @@ yl.default.subscribe(Zl);
7368
7370
  "aria-label": this.props.contentLabel
7369
7371
  }, this.attributesFromObject("aria", n({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
7370
7372
  "data-testid": this.props.testId
7371
- }), N = this.props.contentElement(D, z);
7373
+ }), N = this.props.contentElement(R, z);
7372
7374
  return this.props.overlayElement(Q, N);
7373
7375
  }
7374
7376
  }]), S;