gearboxdownloadmodal 8.0.3 → 8.0.4

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
@@ -8275,16 +8275,20 @@ const Yd = ({
8275
8275
  }, ze = () => {
8276
8276
  n(t);
8277
8277
  }, $e = async (ue, Ce, Oe) => {
8278
+ if (z(!0), l === "Flex" && k.flex === !1) {
8279
+ d("|ACCESS|"), z(!1);
8280
+ return;
8281
+ }
8278
8282
  const Yt = {
8279
8283
  molocoGenerateHtml: !1,
8280
8284
  urlType: T,
8281
8285
  responsiveType: "responsive"
8282
8286
  };
8283
8287
  if (ut ? Ce === "copy" ? (P(!0), Ce = "download", Yt.molocoGenerateHtml = !0) : H(!0) : At && (Yt.responsiveType = Oe), console.log("getVersion", ue, Ce, Yt), ue === "cdn") {
8284
- x(!0), await K(!0);
8288
+ x(!0), await K(!0), z(!1);
8285
8289
  return;
8286
8290
  }
8287
- return ue === "adikteev" && (Ce = "copy"), z(!0), new Promise((yr, vr) => {
8291
+ return ue === "adikteev" && (Ce = "copy"), new Promise((yr, vr) => {
8288
8292
  pn(
8289
8293
  A,
8290
8294
  ue,
@@ -8442,11 +8446,7 @@ const Yd = ({
8442
8446
  className: `${ut ? "w-1/2" : "w-2/3"} border-hover-` + l,
8443
8447
  downloading: W,
8444
8448
  onClickDonwload: async (ue) => {
8445
- if (ue.stopPropagation(), console.log("user in onclickdownload", k), l === "Flex" && k.flex === !1) {
8446
- d("|ACCESS|");
8447
- return;
8448
- }
8449
- if (ut && k.customer === "playableFactoryInternal") {
8449
+ if (ue.stopPropagation(), console.log("user in onclickdownload", k), ut && k.customer === "playableFactoryInternal") {
8450
8450
  U(!0);
8451
8451
  return;
8452
8452
  } else if (At)