gearboxdownloadmodal 8.0.3 → 8.0.5
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 +12 -10
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +2 -2
- package/dist/index.umd.js.map +1 -1
- package/dist/src/services/getNetworks.d.ts +1 -1
- package/package.json +1 -1
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"),
|
|
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),
|
|
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)
|
|
@@ -13056,9 +13056,11 @@ const uo = 5, rh = ({
|
|
|
13056
13056
|
]
|
|
13057
13057
|
}
|
|
13058
13058
|
);
|
|
13059
|
-
async function sh(t, e) {
|
|
13059
|
+
async function sh(t, e, n, r) {
|
|
13060
13060
|
return (await ve.post(t + "/getNetworks", {
|
|
13061
|
-
typeOfProduct: e
|
|
13061
|
+
typeOfProduct: e,
|
|
13062
|
+
versionId: n,
|
|
13063
|
+
customerId: r
|
|
13062
13064
|
})).data;
|
|
13063
13065
|
}
|
|
13064
13066
|
const uh = ({
|
|
@@ -13081,7 +13083,7 @@ const uh = ({
|
|
|
13081
13083
|
const [m, v] = X(window.innerWidth), [b, Z] = X(!1), [k, S] = X(u), [q, T] = X(!1), [x, K] = X(!0), [Y, W] = X(null), [z, j] = X(""), [B, E] = X("Loading..."), [L, G] = X("Loading..."), [y, M] = X("game"), [U, w] = Te(Yi), [I, V] = Te(ma);
|
|
13082
13084
|
ad(o, a, j, f, g);
|
|
13083
13085
|
const H = async () => {
|
|
13084
|
-
let J = await sh(a, o);
|
|
13086
|
+
let J = await sh(a, o, n, l.customer);
|
|
13085
13087
|
if (!J) {
|
|
13086
13088
|
id("Networks not found");
|
|
13087
13089
|
return;
|