gearboxdownloadmodal 5.0.13 → 5.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
@@ -5266,8 +5266,8 @@ const os = ({
5266
5266
  r(e);
5267
5267
  }, N = async (T, $, he, Le, fe, _e) => {
5268
5268
  try {
5269
- if (ee(!0), d === "Flex") {
5270
- q.iosUrl = p.iosUrl, q.googleUrl = p.googleUrl, await Fn(q, c);
5269
+ if (ee(!0), console.log("1"), d === "Flex") {
5270
+ console.log("Flex 1"), q.iosUrl = p.iosUrl, q.googleUrl = p.googleUrl, await Fn(q, c);
5271
5271
  const Oe = await zt(
5272
5272
  {
5273
5273
  _id: T,
@@ -5275,11 +5275,13 @@ const os = ({
5275
5275
  },
5276
5276
  c
5277
5277
  );
5278
+ console.log("Flex 2");
5278
5279
  let Je = Oe.url;
5279
5280
  if (!Je) {
5280
5281
  ee(!1), m(Oe.message, Oe);
5281
5282
  return;
5282
5283
  }
5284
+ console.log("Flex 3");
5283
5285
  let ve;
5284
5286
  if ([
5285
5287
  "google",
@@ -5299,7 +5301,7 @@ const os = ({
5299
5301
  "snapchat",
5300
5302
  "inmobi"
5301
5303
  ].includes($) || ($ === "fb" || $ === "luna") && _e)
5302
- ve = document.createElement("iframe"), ve.setAttribute("src", "/files/" + Je), ve.style.display = "none", document.body.appendChild(ve), ve.click();
5304
+ ve = document.createElement("iframe"), ve.setAttribute("src", "/files/" + Je), ve.style.display = "none", console.log("Flex 4"), document.body.appendChild(ve), console.log("Flex 5"), ve.click(), console.log("Flex 6");
5303
5305
  else if (Le) {
5304
5306
  let be = await fetch(f + "/" + Je).then((ft) => ft.text());
5305
5307
  ve = document.createElement("a"), ve.setAttribute(
@@ -5308,7 +5310,7 @@ const os = ({
5308
5310
  ), ve.setAttribute(
5309
5311
  "download",
5310
5312
  Je.split("/").reduce((ft, ht) => ht, "")
5311
- ), ve.style.display = "none", document.body.appendChild(ve), ve.click();
5313
+ ), ve.style.display = "none", console.log("Flex else 4"), document.body.appendChild(ve), console.log("Flex else 5"), ve.click(), console.log("Flex else 6");
5312
5314
  }
5313
5315
  return ee(!1), Je;
5314
5316
  } else {