gearboxdownloadmodal 6.0.83 → 6.0.84

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
@@ -154,14 +154,14 @@ function ul() {
154
154
  }
155
155
  return null;
156
156
  }
157
- var E = Object.assign, L = 0, G, y, K, U, w, I, X;
157
+ var E = Object.assign, L = 0, G, y, K, U, w, I, V;
158
158
  function H() {
159
159
  }
160
160
  H.__reactDisabledLog = !0;
161
- function J() {
161
+ function D() {
162
162
  {
163
163
  if (L === 0) {
164
- G = console.log, y = console.info, K = console.warn, U = console.error, w = console.group, I = console.groupCollapsed, X = console.groupEnd;
164
+ G = console.log, y = console.info, K = console.warn, U = console.error, w = console.group, I = console.groupCollapsed, V = console.groupEnd;
165
165
  var h = {
166
166
  configurable: !0,
167
167
  enumerable: !0,
@@ -209,7 +209,7 @@ function ul() {
209
209
  value: I
210
210
  }),
211
211
  groupEnd: E({}, h, {
212
- value: X
212
+ value: V
213
213
  })
214
214
  });
215
215
  }
@@ -248,7 +248,7 @@ function ul() {
248
248
  var pe = Error.prepareStackTrace;
249
249
  Error.prepareStackTrace = void 0;
250
250
  var ye;
251
- ye = Q.current, Q.current = null, J();
251
+ ye = Q.current, Q.current = null, D();
252
252
  try {
253
253
  if (O) {
254
254
  var de = function() {
@@ -342,13 +342,13 @@ function ul() {
342
342
  }
343
343
  return "";
344
344
  }
345
- var Je = Object.prototype.hasOwnProperty, D = {}, V = b.ReactDebugCurrentFrame;
345
+ var Je = Object.prototype.hasOwnProperty, J = {}, X = b.ReactDebugCurrentFrame;
346
346
  function ae(h) {
347
347
  if (h) {
348
348
  var O = h._owner, N = Ee(h.type, h._source, O ? O.type : null);
349
- V.setExtraStackFrame(N);
349
+ X.setExtraStackFrame(N);
350
350
  } else
351
- V.setExtraStackFrame(null);
351
+ X.setExtraStackFrame(null);
352
352
  }
353
353
  function $(h, O, N, te, pe) {
354
354
  {
@@ -365,7 +365,7 @@ function ul() {
365
365
  } catch (Ce) {
366
366
  Ae = Ce;
367
367
  }
368
- Ae && !(Ae instanceof Error) && (ae(pe), Z("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", te || "React class", N, de, typeof Ae), ae(null)), Ae instanceof Error && !(Ae.message in D) && (D[Ae.message] = !0, ae(pe), Z("Failed %s type: %s", N, Ae.message), ae(null));
368
+ Ae && !(Ae instanceof Error) && (ae(pe), Z("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", te || "React class", N, de, typeof Ae), ae(null)), Ae instanceof Error && !(Ae.message in J) && (J[Ae.message] = !0, ae(pe), Z("Failed %s type: %s", N, Ae.message), ae(null));
369
369
  }
370
370
  }
371
371
  }
@@ -863,13 +863,13 @@ function pl() {
863
863
  function I(R) {
864
864
  return S(R) === a;
865
865
  }
866
- function X(R) {
866
+ function V(R) {
867
867
  return S(R) === o;
868
868
  }
869
869
  function H(R) {
870
870
  return typeof R == "object" && R !== null && R.$$typeof === e;
871
871
  }
872
- function J(R) {
872
+ function D(R) {
873
873
  return S(R) === u;
874
874
  }
875
875
  function P(R) {
@@ -893,7 +893,7 @@ function pl() {
893
893
  function be(R) {
894
894
  return S(R) === c;
895
895
  }
896
- me.AsyncMode = q, me.ConcurrentMode = T, me.ContextConsumer = x, me.ContextProvider = k, me.Element = Y, me.ForwardRef = W, me.Fragment = z, me.Lazy = j, me.Memo = B, me.Portal = E, me.Profiler = L, me.StrictMode = G, me.Suspense = y, me.isAsyncMode = U, me.isConcurrentMode = w, me.isContextConsumer = I, me.isContextProvider = X, me.isElement = H, me.isForwardRef = J, me.isFragment = P, me.isLazy = Q, me.isMemo = F, me.isPortal = re, me.isProfiler = le, me.isStrictMode = ee, me.isSuspense = be, me.isValidElementType = M, me.typeOf = S;
896
+ me.AsyncMode = q, me.ConcurrentMode = T, me.ContextConsumer = x, me.ContextProvider = k, me.Element = Y, me.ForwardRef = W, me.Fragment = z, me.Lazy = j, me.Memo = B, me.Portal = E, me.Profiler = L, me.StrictMode = G, me.Suspense = y, me.isAsyncMode = U, me.isConcurrentMode = w, me.isContextConsumer = I, me.isContextProvider = V, me.isElement = H, me.isForwardRef = D, me.isFragment = P, me.isLazy = Q, me.isMemo = F, me.isPortal = re, me.isProfiler = le, me.isStrictMode = ee, me.isSuspense = be, me.isValidElementType = M, me.typeOf = S;
897
897
  }()), me;
898
898
  }
899
899
  var _i;
@@ -1069,7 +1069,7 @@ function gl() {
1069
1069
  m.prototype = Error.prototype;
1070
1070
  function v(w) {
1071
1071
  if (process.env.NODE_ENV !== "production")
1072
- var I = {}, X = 0;
1072
+ var I = {}, V = 0;
1073
1073
  function H(P, Q, F, re, le, ee, be) {
1074
1074
  if (re = re || f, ee = ee || F, be !== n) {
1075
1075
  if (l) {
@@ -1080,23 +1080,23 @@ function gl() {
1080
1080
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
1081
1081
  var we = re + ":" + F;
1082
1082
  !I[we] && // Avoid spamming the console because they are often not actionable except for lib authors
1083
- X < 3 && (s(
1083
+ V < 3 && (s(
1084
1084
  "You are manually calling a React.PropTypes validation function for the `" + ee + "` prop on `" + re + "`. 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."
1085
- ), I[we] = !0, X++);
1085
+ ), I[we] = !0, V++);
1086
1086
  }
1087
1087
  }
1088
1088
  return Q[F] == null ? P ? Q[F] === null ? new m("The " + le + " `" + ee + "` is marked as required " + ("in `" + re + "`, but its value is `null`.")) : new m("The " + le + " `" + ee + "` is marked as required in " + ("`" + re + "`, but its value is `undefined`.")) : null : w(Q, F, re, le, ee);
1089
1089
  }
1090
- var J = H.bind(null, !1);
1091
- return J.isRequired = H.bind(null, !0), J;
1090
+ var D = H.bind(null, !1);
1091
+ return D.isRequired = H.bind(null, !0), D;
1092
1092
  }
1093
1093
  function b(w) {
1094
- function I(X, H, J, P, Q, F) {
1095
- var re = X[H], le = G(re);
1094
+ function I(V, H, D, P, Q, F) {
1095
+ var re = V[H], le = G(re);
1096
1096
  if (le !== w) {
1097
1097
  var ee = y(re);
1098
1098
  return new m(
1099
- "Invalid " + P + " `" + Q + "` of type " + ("`" + ee + "` supplied to `" + J + "`, expected ") + ("`" + w + "`."),
1099
+ "Invalid " + P + " `" + Q + "` of type " + ("`" + ee + "` supplied to `" + D + "`, expected ") + ("`" + w + "`."),
1100
1100
  { expectedType: w }
1101
1101
  );
1102
1102
  }
@@ -1108,16 +1108,16 @@ function gl() {
1108
1108
  return v(o);
1109
1109
  }
1110
1110
  function M(w) {
1111
- function I(X, H, J, P, Q) {
1111
+ function I(V, H, D, P, Q) {
1112
1112
  if (typeof w != "function")
1113
- return new m("Property `" + Q + "` of component `" + J + "` has invalid PropType notation inside arrayOf.");
1114
- var F = X[H];
1113
+ return new m("Property `" + Q + "` of component `" + D + "` has invalid PropType notation inside arrayOf.");
1114
+ var F = V[H];
1115
1115
  if (!Array.isArray(F)) {
1116
1116
  var re = G(F);
1117
- return new m("Invalid " + P + " `" + Q + "` of type " + ("`" + re + "` supplied to `" + J + "`, expected an array."));
1117
+ return new m("Invalid " + P + " `" + Q + "` of type " + ("`" + re + "` supplied to `" + D + "`, expected an array."));
1118
1118
  }
1119
1119
  for (var le = 0; le < F.length; le++) {
1120
- var ee = w(F, le, J, P, Q + "[" + le + "]", n);
1120
+ var ee = w(F, le, D, P, Q + "[" + le + "]", n);
1121
1121
  if (ee instanceof Error)
1122
1122
  return ee;
1123
1123
  }
@@ -1126,32 +1126,32 @@ function gl() {
1126
1126
  return v(I);
1127
1127
  }
1128
1128
  function S() {
1129
- function w(I, X, H, J, P) {
1130
- var Q = I[X];
1129
+ function w(I, V, H, D, P) {
1130
+ var Q = I[V];
1131
1131
  if (!a(Q)) {
1132
1132
  var F = G(Q);
1133
- return new m("Invalid " + J + " `" + P + "` of type " + ("`" + F + "` supplied to `" + H + "`, expected a single ReactElement."));
1133
+ return new m("Invalid " + D + " `" + P + "` of type " + ("`" + F + "` supplied to `" + H + "`, expected a single ReactElement."));
1134
1134
  }
1135
1135
  return null;
1136
1136
  }
1137
1137
  return v(w);
1138
1138
  }
1139
1139
  function q() {
1140
- function w(I, X, H, J, P) {
1141
- var Q = I[X];
1140
+ function w(I, V, H, D, P) {
1141
+ var Q = I[V];
1142
1142
  if (!t.isValidElementType(Q)) {
1143
1143
  var F = G(Q);
1144
- return new m("Invalid " + J + " `" + P + "` of type " + ("`" + F + "` supplied to `" + H + "`, expected a single ReactElement type."));
1144
+ return new m("Invalid " + D + " `" + P + "` of type " + ("`" + F + "` supplied to `" + H + "`, expected a single ReactElement type."));
1145
1145
  }
1146
1146
  return null;
1147
1147
  }
1148
1148
  return v(w);
1149
1149
  }
1150
1150
  function T(w) {
1151
- function I(X, H, J, P, Q) {
1152
- if (!(X[H] instanceof w)) {
1153
- var F = w.name || f, re = U(X[H]);
1154
- return new m("Invalid " + P + " `" + Q + "` of type " + ("`" + re + "` supplied to `" + J + "`, expected ") + ("instance of `" + F + "`."));
1151
+ function I(V, H, D, P, Q) {
1152
+ if (!(V[H] instanceof w)) {
1153
+ var F = w.name || f, re = U(V[H]);
1154
+ return new m("Invalid " + P + " `" + Q + "` of type " + ("`" + re + "` supplied to `" + D + "`, expected ") + ("instance of `" + F + "`."));
1155
1155
  }
1156
1156
  return null;
1157
1157
  }
@@ -1162,28 +1162,28 @@ function gl() {
1162
1162
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? s(
1163
1163
  "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])."
1164
1164
  ) : s("Invalid argument supplied to oneOf, expected an array.")), o;
1165
- function I(X, H, J, P, Q) {
1166
- for (var F = X[H], re = 0; re < w.length; re++)
1165
+ function I(V, H, D, P, Q) {
1166
+ for (var F = V[H], re = 0; re < w.length; re++)
1167
1167
  if (g(F, w[re]))
1168
1168
  return null;
1169
1169
  var le = JSON.stringify(w, function(be, R) {
1170
1170
  var we = y(R);
1171
1171
  return we === "symbol" ? String(R) : R;
1172
1172
  });
1173
- return new m("Invalid " + P + " `" + Q + "` of value `" + String(F) + "` " + ("supplied to `" + J + "`, expected one of " + le + "."));
1173
+ return new m("Invalid " + P + " `" + Q + "` of value `" + String(F) + "` " + ("supplied to `" + D + "`, expected one of " + le + "."));
1174
1174
  }
1175
1175
  return v(I);
1176
1176
  }
1177
1177
  function k(w) {
1178
- function I(X, H, J, P, Q) {
1178
+ function I(V, H, D, P, Q) {
1179
1179
  if (typeof w != "function")
1180
- return new m("Property `" + Q + "` of component `" + J + "` has invalid PropType notation inside objectOf.");
1181
- var F = X[H], re = G(F);
1180
+ return new m("Property `" + Q + "` of component `" + D + "` has invalid PropType notation inside objectOf.");
1181
+ var F = V[H], re = G(F);
1182
1182
  if (re !== "object")
1183
- return new m("Invalid " + P + " `" + Q + "` of type " + ("`" + re + "` supplied to `" + J + "`, expected an object."));
1183
+ return new m("Invalid " + P + " `" + Q + "` of type " + ("`" + re + "` supplied to `" + D + "`, expected an object."));
1184
1184
  for (var le in F)
1185
1185
  if (r(F, le)) {
1186
- var ee = w(F, le, J, P, Q + "." + le, n);
1186
+ var ee = w(F, le, D, P, Q + "." + le, n);
1187
1187
  if (ee instanceof Error)
1188
1188
  return ee;
1189
1189
  }
@@ -1195,15 +1195,15 @@ function gl() {
1195
1195
  if (!Array.isArray(w))
1196
1196
  return process.env.NODE_ENV !== "production" && s("Invalid argument supplied to oneOfType, expected an instance of array."), o;
1197
1197
  for (var I = 0; I < w.length; I++) {
1198
- var X = w[I];
1199
- if (typeof X != "function")
1198
+ var V = w[I];
1199
+ if (typeof V != "function")
1200
1200
  return s(
1201
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(X) + " at index " + I + "."
1201
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + K(V) + " at index " + I + "."
1202
1202
  ), o;
1203
1203
  }
1204
- function H(J, P, Q, F, re) {
1204
+ function H(D, P, Q, F, re) {
1205
1205
  for (var le = [], ee = 0; ee < w.length; ee++) {
1206
- var be = w[ee], R = be(J, P, Q, F, re, n);
1206
+ var be = w[ee], R = be(D, P, Q, F, re, n);
1207
1207
  if (R == null)
1208
1208
  return null;
1209
1209
  R.data && r(R.data, "expectedType") && le.push(R.data.expectedType);
@@ -1214,26 +1214,26 @@ function gl() {
1214
1214
  return v(H);
1215
1215
  }
1216
1216
  function W() {
1217
- function w(I, X, H, J, P) {
1218
- return E(I[X]) ? null : new m("Invalid " + J + " `" + P + "` supplied to " + ("`" + H + "`, expected a ReactNode."));
1217
+ function w(I, V, H, D, P) {
1218
+ return E(I[V]) ? null : new m("Invalid " + D + " `" + P + "` supplied to " + ("`" + H + "`, expected a ReactNode."));
1219
1219
  }
1220
1220
  return v(w);
1221
1221
  }
1222
- function z(w, I, X, H, J) {
1222
+ function z(w, I, V, H, D) {
1223
1223
  return new m(
1224
- (w || "React class") + ": " + I + " type `" + X + "." + H + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + J + "`."
1224
+ (w || "React class") + ": " + I + " type `" + V + "." + H + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + D + "`."
1225
1225
  );
1226
1226
  }
1227
1227
  function j(w) {
1228
- function I(X, H, J, P, Q) {
1229
- var F = X[H], re = G(F);
1228
+ function I(V, H, D, P, Q) {
1229
+ var F = V[H], re = G(F);
1230
1230
  if (re !== "object")
1231
- return new m("Invalid " + P + " `" + Q + "` of type `" + re + "` " + ("supplied to `" + J + "`, expected `object`."));
1231
+ return new m("Invalid " + P + " `" + Q + "` of type `" + re + "` " + ("supplied to `" + D + "`, expected `object`."));
1232
1232
  for (var le in w) {
1233
1233
  var ee = w[le];
1234
1234
  if (typeof ee != "function")
1235
- return z(J, P, Q, le, y(ee));
1236
- var be = ee(F, le, J, P, Q + "." + le, n);
1235
+ return z(D, P, Q, le, y(ee));
1236
+ var be = ee(F, le, D, P, Q + "." + le, n);
1237
1237
  if (be)
1238
1238
  return be;
1239
1239
  }
@@ -1242,21 +1242,21 @@ function gl() {
1242
1242
  return v(I);
1243
1243
  }
1244
1244
  function B(w) {
1245
- function I(X, H, J, P, Q) {
1246
- var F = X[H], re = G(F);
1245
+ function I(V, H, D, P, Q) {
1246
+ var F = V[H], re = G(F);
1247
1247
  if (re !== "object")
1248
- return new m("Invalid " + P + " `" + Q + "` of type `" + re + "` " + ("supplied to `" + J + "`, expected `object`."));
1249
- var le = e({}, X[H], w);
1248
+ return new m("Invalid " + P + " `" + Q + "` of type `" + re + "` " + ("supplied to `" + D + "`, expected `object`."));
1249
+ var le = e({}, V[H], w);
1250
1250
  for (var ee in le) {
1251
1251
  var be = w[ee];
1252
1252
  if (r(w, ee) && typeof be != "function")
1253
- return z(J, P, Q, ee, y(be));
1253
+ return z(D, P, Q, ee, y(be));
1254
1254
  if (!be)
1255
1255
  return new m(
1256
- "Invalid " + P + " `" + Q + "` key `" + ee + "` supplied to `" + J + "`.\nBad object: " + JSON.stringify(X[H], null, " ") + `
1256
+ "Invalid " + P + " `" + Q + "` key `" + ee + "` supplied to `" + D + "`.\nBad object: " + JSON.stringify(V[H], null, " ") + `
1257
1257
  Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
1258
1258
  );
1259
- var R = be(F, ee, J, P, Q + "." + ee, n);
1259
+ var R = be(F, ee, D, P, Q + "." + ee, n);
1260
1260
  if (R)
1261
1261
  return R;
1262
1262
  }
@@ -1279,15 +1279,15 @@ Valid keys: ` + JSON.stringify(Object.keys(w), null, " ")
1279
1279
  return !0;
1280
1280
  var I = c(w);
1281
1281
  if (I) {
1282
- var X = I.call(w), H;
1282
+ var V = I.call(w), H;
1283
1283
  if (I !== w.entries) {
1284
- for (; !(H = X.next()).done; )
1284
+ for (; !(H = V.next()).done; )
1285
1285
  if (!E(H.value))
1286
1286
  return !1;
1287
1287
  } else
1288
- for (; !(H = X.next()).done; ) {
1289
- var J = H.value;
1290
- if (J && !E(J[1]))
1288
+ for (; !(H = V.next()).done; ) {
1289
+ var D = H.value;
1290
+ if (D && !E(D[1]))
1291
1291
  return !1;
1292
1292
  }
1293
1293
  } else
@@ -8056,7 +8056,7 @@ const Yd = ({
8056
8056
  generateCDN: k,
8057
8057
  cdnUrl: Y
8058
8058
  }) => {
8059
- const [W, z] = _(!1), [j, B] = _(""), [E, L] = _(!1), [G, y] = _(!1), [K, U] = _(!1), [w, I] = _("download"), [X, H] = _(!1), [J, P] = _(!1), [Q, F] = _(!1), [re, le] = Ne(ki), [ee, be] = Ne(pn), R = l === "Playable" ? ee : !0, we = {
8059
+ const [W, z] = _(!1), [j, B] = _(""), [E, L] = _(!1), [G, y] = _(!1), [K, U] = _(!1), [w, I] = _("download"), [V, H] = _(!1), [D, P] = _(!1), [Q, F] = _(!1), [re, le] = Ne(ki), [ee, be] = Ne(pn), R = l === "Playable" ? ee : !0, we = {
8060
8060
  cdn: "Generate Link",
8061
8061
  adikteev: "Copy CDN"
8062
8062
  }, Me = () => {
@@ -8066,7 +8066,7 @@ const Yd = ({
8066
8066
  molocoGenerateHtml: !1,
8067
8067
  urlType: T
8068
8068
  };
8069
- if (V && (oe === "copy" ? (P(!0), oe = "download", ge.molocoGenerateHtml = !0) : H(!0)), console.log("getVersion", $, oe, ge), $ === "cdn") {
8069
+ if (X && (oe === "copy" ? (P(!0), oe = "download", ge.molocoGenerateHtml = !0) : H(!0)), console.log("getVersion", $, oe, ge), $ === "cdn") {
8070
8070
  x(!0), await k(!0);
8071
8071
  return;
8072
8072
  }
@@ -8094,12 +8094,12 @@ const Yd = ({
8094
8094
  }).catch((ge) => {
8095
8095
  c(ge.message, ge);
8096
8096
  });
8097
- }, D = async () => {
8097
+ }, J = async () => {
8098
8098
  F(!0);
8099
8099
  const $ = await Rd(u, A, i, l);
8100
8100
  let oe = `${f}/${$ == null ? void 0 : $.url}`;
8101
8101
  Dt(oe) ? (Lt(ue.t("common:link_copied")), F(!1)) : S(oe);
8102
- }, V = i === "moloco" || i === "molocoV2", ae = re.find(($) => $.name === i);
8102
+ }, X = i === "moloco" || i === "molocoV2", ae = re.find(($) => $.name === i);
8103
8103
  return /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
8104
8104
  /* @__PURE__ */ d.jsxs(
8105
8105
  "div",
@@ -8225,10 +8225,10 @@ const Yd = ({
8225
8225
  /* @__PURE__ */ d.jsx(
8226
8226
  jr,
8227
8227
  {
8228
- className: `${V ? "w-1/2" : "w-2/3"} border-hover-` + l,
8228
+ className: `${X ? "w-1/2" : "w-2/3"} border-hover-` + l,
8229
8229
  downloading: W,
8230
8230
  onClickDonwload: async ($) => {
8231
- if ($.stopPropagation(), V && M.customer === "playableFactoryInternal") {
8231
+ if ($.stopPropagation(), X && M.customer === "playableFactoryInternal") {
8232
8232
  U(!0);
8233
8233
  return;
8234
8234
  } else {
@@ -8237,8 +8237,8 @@ const Yd = ({
8237
8237
  i === "cdn" && v && v.willSpendCredit && !Y || i !== "cdn" && v && v.willSpendCredit ? (m(!0), I("download"), L(!0)) : ["Playable", "Flex"].includes(l) && (!oe || !ge) || l === "Ready" && T === "single" && !oe || l === "Ready" && T === "multi" && (!oe || !ge) ? (m(!0), y(!0)) : (y(!1), L(!1), await Ee(i, "download"));
8238
8238
  }
8239
8239
  },
8240
- children: V ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
8241
- !X && /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
8240
+ children: X ? /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
8241
+ !V && /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
8242
8242
  /* @__PURE__ */ d.jsx(
8243
8243
  zr,
8244
8244
  {
@@ -8256,7 +8256,7 @@ const Yd = ({
8256
8256
  ),
8257
8257
  M.customer !== "playableFactoryInternal" ? ue.t("common:txt") : ue.t("common:download")
8258
8258
  ] }),
8259
- X && /* @__PURE__ */ d.jsx(sn, {})
8259
+ V && /* @__PURE__ */ d.jsx(sn, {})
8260
8260
  ] }) : /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
8261
8261
  !W && /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
8262
8262
  /* @__PURE__ */ d.jsx(
@@ -8293,7 +8293,7 @@ const Yd = ({
8293
8293
  children: /* @__PURE__ */ d.jsx(bo, { className: "h-6 w-6 stroke-dark-full" })
8294
8294
  }
8295
8295
  ),
8296
- V && M.customer !== "playableFactoryInternal" && /* @__PURE__ */ d.jsxs(
8296
+ X && M.customer !== "playableFactoryInternal" && /* @__PURE__ */ d.jsxs(
8297
8297
  jr,
8298
8298
  {
8299
8299
  className: "w-1/2 border-hover-" + l,
@@ -8304,7 +8304,7 @@ const Yd = ({
8304
8304
  },
8305
8305
  disabled: Z,
8306
8306
  children: [
8307
- !J && /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
8307
+ !D && /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
8308
8308
  /* @__PURE__ */ d.jsx(
8309
8309
  zr,
8310
8310
  {
@@ -8322,7 +8322,7 @@ const Yd = ({
8322
8322
  ),
8323
8323
  ue.t("common:html")
8324
8324
  ] }),
8325
- J && /* @__PURE__ */ d.jsx(sn, {})
8325
+ D && /* @__PURE__ */ d.jsx(sn, {})
8326
8326
  ]
8327
8327
  }
8328
8328
  )
@@ -8374,10 +8374,10 @@ const Yd = ({
8374
8374
  U(!1);
8375
8375
  },
8376
8376
  handleDownload: Je,
8377
- handleDownloadMolocoTest: D,
8378
- downloadingMoloco: X,
8377
+ handleDownloadMolocoTest: J,
8378
+ downloadingMoloco: V,
8379
8379
  donwloadintMolocoTest: Q,
8380
- downloadingMolocoHtml: J
8380
+ downloadingMolocoHtml: D
8381
8381
  }
8382
8382
  )
8383
8383
  ] });
@@ -8791,38 +8791,38 @@ const Yd = ({
8791
8791
  setCdnUrl: S,
8792
8792
  customer: q
8793
8793
  }) => {
8794
- const [T, x] = _([]), [k, Y] = _([]), [W, z] = _(!1), [j, B] = _(""), [E, L] = _(!1), [G, y] = _(!1), [K, U] = _("download"), [w, I] = _(!1), [X, H] = _(!1), [J, P] = _(!1), [Q, F] = Ne(ua), [re, le] = Ne(Aa), [ee] = Ne(ki), [be, R] = Ne(pn), we = i === "Playable" ? be : !0, Me = async (V = !1) => {
8795
- V && M || J || (P(!0), ln(r, "cdn", we ? A : null, null, !1, {}).then((ae) => {
8794
+ const [T, x] = _([]), [k, Y] = _([]), [W, z] = _(!1), [j, B] = _(""), [E, L] = _(!1), [G, y] = _(!1), [K, U] = _("download"), [w, I] = _(!1), [V, H] = _(!1), [D, P] = _(!1), [Q, F] = Ne(ua), [re, le] = Ne(Aa), [ee] = Ne(ki), [be, R] = Ne(pn), we = i === "Playable" ? be : !0, Me = async (X = !1) => {
8795
+ X && M || D || (P(!0), ln(r, "cdn", we ? A : null, null, !1, {}).then((ae) => {
8796
8796
  S(ae.url), P(!1);
8797
8797
  }).catch((ae) => {
8798
8798
  a(ae.message, ae), P(!1);
8799
8799
  }));
8800
- }, Ee = async (V) => {
8801
- if (V === "adikteev")
8800
+ }, Ee = async (X) => {
8801
+ if (X === "adikteev")
8802
8802
  return;
8803
8803
  const ae = [...T];
8804
- if (T.includes(V)) {
8805
- const $ = ae.findIndex((oe) => oe === V);
8804
+ if (T.includes(X)) {
8805
+ const $ = ae.findIndex((oe) => oe === X);
8806
8806
  ae.splice($, 1), x(ae);
8807
8807
  } else
8808
- ae.push(V), x([...T, V]);
8808
+ ae.push(X), x([...T, X]);
8809
8809
  ee.filter(($) => [...ae].includes($.id)).map(($) => $.name);
8810
- }, Je = async () => new Promise(async (V, ae) => {
8810
+ }, Je = async () => new Promise(async (X, ae) => {
8811
8811
  const $ = ee.filter((oe) => [...T].includes(oe.id)).map((oe) => oe.name);
8812
8812
  L(!0), od(r, A, $, { urlType: m }).then((oe) => {
8813
- L(!1), V(oe);
8813
+ L(!1), X(oe);
8814
8814
  }).catch((oe) => {
8815
8815
  console.log("get multi download err"), L(!1), a(oe.message, oe), ae(oe);
8816
8816
  });
8817
- }), D = async () => {
8817
+ }), J = async () => {
8818
8818
  A.iosUrl, A.googleUrl, e && e.willSpendCredit ? (y(!0), U("download"), I(!0)) : (I(!1), await Je());
8819
8819
  };
8820
8820
  return Ze(() => {
8821
- const V = ee.filter((ae) => {
8821
+ const X = ee.filter((ae) => {
8822
8822
  var $;
8823
8823
  return e && (($ = e == null ? void 0 : e.networks) == null ? void 0 : $.length) > 0 ? e == null ? void 0 : e.networks.includes(ae.name) : i === "Import" ? t == null ? void 0 : t.networks.filter((oe) => oe.status === "paid").some((oe) => oe.name === ae.name) : (t == null ? void 0 : t.networks.includes(ae.name)) || (u == null ? void 0 : u.networks.includes(ae.name));
8824
8824
  }).filter((ae) => ae.name === "voodoo" ? o.customer === "customer:20" : !0).map((ae) => ae.id);
8825
- x(v ? V : []);
8825
+ x(v ? X : []);
8826
8826
  }, [v]), /* @__PURE__ */ d.jsxs(d.Fragment, { children: [
8827
8827
  /* @__PURE__ */ d.jsx(
8828
8828
  "div",
@@ -8844,31 +8844,28 @@ const Yd = ({
8844
8844
  overflowY: "auto",
8845
8845
  padding: "0.75rem"
8846
8846
  },
8847
- children: n && ee.filter((V) => {
8847
+ children: n && ee.filter((X) => {
8848
8848
  var ae;
8849
- return console.log(V.name, "networklerr gelecek"), e && ((ae = e == null ? void 0 : e.networks) == null ? void 0 : ae.length) > 0 ? (console.log(
8850
- e.networks.includes(V.name),
8851
- "emre colak"
8852
- ), e == null ? void 0 : e.networks.includes(V.name)) : i === "Import" ? t == null ? void 0 : t.networks.filter(($) => $.status === "paid").some(($) => $.name === V.name) : q != null && q.networks ? q.networks.includes(V.name) : (t == null ? void 0 : t.networks.includes(V.name)) || (u == null ? void 0 : u.networks.includes(V.name));
8849
+ return e && ((ae = e == null ? void 0 : e.networks) == null ? void 0 : ae.length) > 0 ? e == null ? void 0 : e.networks.includes(X.name) : i === "Import" ? t == null ? void 0 : t.networks.filter(($) => $.status === "paid").some(($) => $.name === X.name) : q != null && q.networks ? q.networks.includes(X.name) : (t == null ? void 0 : t.networks.includes(X.name)) || (u == null ? void 0 : u.networks.includes(X.name));
8853
8850
  }).filter(
8854
- (V) => V.name === "voodoo" ? o.customer === "customer:20" : !0
8855
- ).map((V) => {
8856
- let ae = V.imageSrc;
8857
- if (V.name === "web") {
8851
+ (X) => X.name === "voodoo" ? o.customer === "customer:20" : !0
8852
+ ).map((X) => {
8853
+ let ae = X.imageSrc;
8854
+ if (X.name === "web") {
8858
8855
  let $ = "web_" + i.toLowerCase() + ".png";
8859
8856
  ae = ae.replace("web.png", $);
8860
8857
  }
8861
8858
  return /* @__PURE__ */ d.jsx(
8862
8859
  Yd,
8863
8860
  {
8864
- id: V.id,
8865
- name: V.name,
8861
+ id: X.id,
8862
+ name: X.name,
8866
8863
  imageUrl: ae,
8867
- selected: T.includes(V.id),
8864
+ selected: T.includes(X.id),
8868
8865
  handleCardClick: Ee,
8869
8866
  networkVersionSize: k,
8870
8867
  fileSizeLoading: W,
8871
- showCheckBox: V.id !== "adikteev",
8868
+ showCheckBox: X.id !== "adikteev",
8872
8869
  typeOfProduct: i,
8873
8870
  versionId: r,
8874
8871
  api: s,
@@ -8888,7 +8885,7 @@ const Yd = ({
8888
8885
  generateCDN: Me,
8889
8886
  cdnUrl: M
8890
8887
  },
8891
- V.id
8888
+ X.id
8892
8889
  );
8893
8890
  })
8894
8891
  }
@@ -8911,7 +8908,7 @@ const Yd = ({
8911
8908
  children: /* @__PURE__ */ d.jsx(
8912
8909
  Jd,
8913
8910
  {
8914
- onClickMultiDownload: D,
8911
+ onClickMultiDownload: J,
8915
8912
  networksVersionTotalSize: j,
8916
8913
  typeOfProduct: i,
8917
8914
  multiDownloading: E
@@ -8931,7 +8928,7 @@ const Yd = ({
8931
8928
  cdnUrl: M,
8932
8929
  setCdnUrl: S,
8933
8930
  generateCDN: async () => {
8934
- if (!J) {
8931
+ if (!D) {
8935
8932
  if (o.customer === "playableFactoryInternal") {
8936
8933
  Me();
8937
8934
  return;
@@ -8939,7 +8936,7 @@ const Yd = ({
8939
8936
  H(!0);
8940
8937
  }
8941
8938
  },
8942
- cdnUploading: J
8939
+ cdnUploading: D
8943
8940
  }
8944
8941
  ),
8945
8942
  re && /* @__PURE__ */ d.jsx(
@@ -8951,7 +8948,7 @@ const Yd = ({
8951
8948
  url: Q
8952
8949
  }
8953
8950
  ),
8954
- X && /* @__PURE__ */ d.jsx(
8951
+ V && /* @__PURE__ */ d.jsx(
8955
8952
  ni,
8956
8953
  {
8957
8954
  width: "100%",
@@ -9059,35 +9056,35 @@ const Fd = ({
9059
9056
  }) => {
9060
9057
  const [M, S] = _(null), [q, T] = _(null), [x, k] = _(null), [Y, W] = _(!1), [z, j] = _(!0), [B, E] = _(window.innerWidth), [L, G] = _(!1), [y, K] = _(!1), [U, w] = _("");
9061
9058
  Ne(ua), Ne(Aa);
9062
- const [I, X] = Ne(ca), [H, J] = Ne(pn);
9059
+ const [I, V] = Ne(ca), [H, D] = Ne(pn);
9063
9060
  Ze(() => {
9064
- !U && r !== "Fusion" && ud(e).then((D) => {
9065
- D != null && D.exist && w(D.uploadPath);
9061
+ !U && r !== "Fusion" && ud(e).then((J) => {
9062
+ J != null && J.exist && w(J.uploadPath);
9066
9063
  });
9067
9064
  }, [U]), console.log("download modal version: 6.0.75");
9068
9065
  const [P, Q] = _(!1);
9069
9066
  Ze(() => {
9070
9067
  }, [P]), Ze(() => {
9071
- const D = () => {
9068
+ const J = () => {
9072
9069
  E(window.innerWidth);
9073
9070
  };
9074
- return window.addEventListener("resize", D), () => {
9075
- window.removeEventListener("resize", D);
9071
+ return window.addEventListener("resize", J), () => {
9072
+ window.removeEventListener("resize", J);
9076
9073
  };
9077
9074
  }, []);
9078
9075
  const F = async () => {
9079
9076
  W(!0);
9080
- const D = await $r(t, s);
9081
- return D != null && D.networks || (D.networks = Ps), S(D), D;
9082
- }, re = (D, V) => {
9077
+ const J = await $r(t, s);
9078
+ return J != null && J.networks || (J.networks = Ps), S(J), J;
9079
+ }, re = (J, X) => {
9083
9080
  clearTimeout(Hs), Hs = setTimeout(() => {
9084
- r === "Playable" && !H || Li(e, { iosUrl: D, googleUrl: V }, { urlType: b });
9081
+ r === "Playable" && !H || Li(e, { iosUrl: J, googleUrl: X }, { urlType: b });
9085
9082
  }, 1e3);
9086
- }, le = (D) => {
9087
- m(D), re(D, g);
9088
- }, ee = (D) => {
9089
- v(D), re(p, D);
9090
- }, be = async (D, V) => {
9083
+ }, le = (J) => {
9084
+ m(J), re(J, g);
9085
+ }, ee = (J) => {
9086
+ v(J), re(p, J);
9087
+ }, be = async (J, X) => {
9091
9088
  var ae, $;
9092
9089
  try {
9093
9090
  let oe;
@@ -9097,12 +9094,12 @@ const Fd = ({
9097
9094
  m(ge.iosLink), v(ge.androidLink), W(!1);
9098
9095
  return;
9099
9096
  }
9100
- if (D && (D.iosUrl || D.googleUrl)) {
9101
- m(D.iosUrl), v(D.googleUrl), W(!1);
9097
+ if (J && (J.iosUrl || J.googleUrl)) {
9098
+ m(J.iosUrl), v(J.googleUrl), W(!1);
9102
9099
  return;
9103
9100
  }
9104
- if (V && V.html) {
9105
- const Bt = `${A}/${V.html}?t=${Date.now()}`;
9101
+ if (X && X.html) {
9102
+ const Bt = `${A}/${X.html}?t=${Date.now()}`;
9106
9103
  let kt = await fetch(Bt).then((gt) => gt.text());
9107
9104
  const it = ((ae = kt.match(
9108
9105
  /var\s+iosLink\s*=\s*['|"](https?[\w\d;,/?:@&=+$\-_.!~*'()#]+)['|"]/
@@ -9120,45 +9117,45 @@ const Fd = ({
9120
9117
  v(ge.googleUrl), m(ge.iosUrl), W(!1);
9121
9118
  return;
9122
9119
  }
9123
- D && (D.iosUrl || D.googleUrl) ? (m(D.iosUrl), v(D.googleUrl), W(!1)) : (v(""), m(""), W(!1));
9120
+ J && (J.iosUrl || J.googleUrl) ? (m(J.iosUrl), v(J.googleUrl), W(!1)) : (v(""), m(""), W(!1));
9124
9121
  } else
9125
- r === "Fusion" && (D && (D.iosUrl || D.googleUrl) ? (m(D.iosUrl), v(D.googleUrl), W(!1)) : (v(""), m(""), W(!1)));
9122
+ r === "Fusion" && (J && (J.iosUrl || J.googleUrl) ? (m(J.iosUrl), v(J.googleUrl), W(!1)) : (v(""), m(""), W(!1)));
9126
9123
  } catch (oe) {
9127
9124
  l(oe.response.data.error.msg);
9128
9125
  }
9129
9126
  }, R = async () => {
9130
9127
  W(!0);
9131
- let D;
9132
- r === "Flex" ? D = await Pd({ _id: e }, s) : r === "Ready" && (D = await Ud({ _id: e }, s)), D && (["admin", "pm", "tester", "sales"].includes(o.role) ? k({
9133
- ...D,
9128
+ let J;
9129
+ r === "Flex" ? J = await Pd({ _id: e }, s) : r === "Ready" && (J = await Ud({ _id: e }, s)), J && (["admin", "pm", "tester", "sales"].includes(o.role) ? k({
9130
+ ...J,
9134
9131
  networks: I
9135
- }) : r === "Ready" && !D.canDownload ? k({
9136
- ...D,
9132
+ }) : (console.log("result", J), r === "Ready" && !J.canDownload ? k({
9133
+ ...J,
9137
9134
  networks: Ps
9138
- }) : (console.log(D.networks, "emre colak"), k({
9139
- ...D,
9140
- networks: D.networks.map((V) => V.value)
9141
- }))), W(!1);
9142
- }, we = async () => await Hd(n, s), [Me, Ee] = _(null), Je = async (D) => await Qd(D, s);
9135
+ }) : (console.log("result", J), k({
9136
+ ...J,
9137
+ networks: J.networks
9138
+ })))), W(!1);
9139
+ }, we = async () => await Hd(n, s), [Me, Ee] = _(null), Je = async (J) => await Qd(J, s);
9143
9140
  return Ze(() => {
9144
- i || (S(null), T(null), k(null), c(null), Ee(null)), i && (r === "Playable" ? we().then((D) => {
9145
- Je(D.customer).then((V) => {
9146
- Ee(V);
9147
- }), F().then((V) => {
9148
- be(null, V);
9141
+ i || (S(null), T(null), k(null), c(null), Ee(null)), i && (r === "Playable" ? we().then((J) => {
9142
+ Je(J.customer).then((X) => {
9143
+ Ee(X);
9144
+ }), F().then((X) => {
9145
+ be(null, X);
9149
9146
  }), j(!1);
9150
- }) : r === "Ready" ? R().then((D) => {
9151
- F().then((V) => {
9152
- be(null, V), j(!1);
9147
+ }) : r === "Ready" ? R().then((J) => {
9148
+ F().then((X) => {
9149
+ be(null, X), j(!1);
9153
9150
  });
9154
- }) : r === "Flex" ? R().then((D) => {
9155
- j(!1), we().then((V) => {
9156
- i && (be(V, null), j(!1), T(V));
9151
+ }) : r === "Flex" ? R().then((J) => {
9152
+ j(!1), we().then((X) => {
9153
+ i && (be(X, null), j(!1), T(X));
9157
9154
  });
9158
- }) : r === "Import" ? Xd(e, s).then((D) => {
9159
- S(D), m(D.iosUrl || ""), v(D.googleUrl || ""), W(!1), j(!1);
9160
- }) : r === "Fusion" && (j(!1), we().then((D) => {
9161
- i && (be(D, null), j(!1), D.networks = I.filter((V) => V !== "cdn"), T(D));
9155
+ }) : r === "Import" ? Xd(e, s).then((J) => {
9156
+ S(J), m(J.iosUrl || ""), v(J.googleUrl || ""), W(!1), j(!1);
9157
+ }) : r === "Fusion" && (j(!1), we().then((J) => {
9158
+ i && (be(J, null), j(!1), J.networks = I.filter((X) => X !== "cdn"), T(J));
9162
9159
  })));
9163
9160
  }, [n, t, e, i]), /* @__PURE__ */ d.jsxs(
9164
9161
  "div",
@@ -9755,8 +9752,8 @@ Yf.default.subscribe(Tf);
9755
9752
  }, y.setContentRef = function(K) {
9756
9753
  y.content = K, y.props.contentRef && y.props.contentRef(K);
9757
9754
  }, y.afterClose = function() {
9758
- var K = y.props, U = K.appElement, w = K.ariaHideApp, I = K.htmlOpenClassName, X = K.bodyOpenClassName, H = K.parentSelector, J = H && H().ownerDocument || document;
9759
- X && m.remove(J.body, X), I && m.remove(J.getElementsByTagName("html")[0], I), w && j > 0 && (j -= 1, j === 0 && p.show(U)), y.props.shouldFocusAfterRender && (y.props.shouldReturnFocusAfterClose ? (A.returnFocus(y.props.preventScroll), A.teardownScopedFocus()) : A.popWithoutFocus()), y.props.onAfterClose && y.props.onAfterClose(), M.default.deregister(y);
9755
+ var K = y.props, U = K.appElement, w = K.ariaHideApp, I = K.htmlOpenClassName, V = K.bodyOpenClassName, H = K.parentSelector, D = H && H().ownerDocument || document;
9756
+ V && m.remove(D.body, V), I && m.remove(D.getElementsByTagName("html")[0], I), w && j > 0 && (j -= 1, j === 0 && p.show(U)), y.props.shouldFocusAfterRender && (y.props.shouldReturnFocusAfterClose ? (A.returnFocus(y.props.preventScroll), A.teardownScopedFocus()) : A.popWithoutFocus()), y.props.onAfterClose && y.props.onAfterClose(), M.default.deregister(y);
9760
9757
  }, y.open = function() {
9761
9758
  y.beforeOpen(), y.state.afterOpen && y.state.beforeClose ? (clearTimeout(y.closeTimer), y.setState({ beforeClose: !1 })) : (y.props.shouldFocusAfterRender && (A.setupScopedFocus(y.node), A.markForFocusLater()), y.setState({ isOpen: !0 }, function() {
9762
9759
  y.openAnimationFrame = requestAnimationFrame(function() {
@@ -9836,20 +9833,20 @@ Yf.default.subscribe(Tf);
9836
9833
  }, {
9837
9834
  key: "beforeOpen",
9838
9835
  value: function() {
9839
- var y = this.props, K = y.appElement, U = y.ariaHideApp, w = y.htmlOpenClassName, I = y.bodyOpenClassName, X = y.parentSelector, H = X && X().ownerDocument || document;
9836
+ var y = this.props, K = y.appElement, U = y.ariaHideApp, w = y.htmlOpenClassName, I = y.bodyOpenClassName, V = y.parentSelector, H = V && V().ownerDocument || document;
9840
9837
  I && m.add(H.body, I), w && m.add(H.getElementsByTagName("html")[0], w), U && (j += 1, p.hide(K)), M.default.register(this);
9841
9838
  }
9842
9839
  // Don't steal focus from inner elements
9843
9840
  }, {
9844
9841
  key: "render",
9845
9842
  value: function() {
9846
- var y = this.props, K = y.id, U = y.className, w = y.overlayClassName, I = y.defaultStyles, X = y.children, H = U ? {} : I.content, J = w ? {} : I.overlay;
9843
+ var y = this.props, K = y.id, U = y.className, w = y.overlayClassName, I = y.defaultStyles, V = y.children, H = U ? {} : I.content, D = w ? {} : I.overlay;
9847
9844
  if (this.shouldBeClosed())
9848
9845
  return null;
9849
9846
  var P = {
9850
9847
  ref: this.setOverlayRef,
9851
9848
  className: this.buildClassName("overlay", w),
9852
- style: n({}, J, this.props.style.overlay),
9849
+ style: n({}, D, this.props.style.overlay),
9853
9850
  onClick: this.handleOverlayOnClick,
9854
9851
  onMouseDown: this.handleOverlayOnMouseDown
9855
9852
  }, Q = n({
@@ -9866,7 +9863,7 @@ Yf.default.subscribe(Tf);
9866
9863
  "aria-label": this.props.contentLabel
9867
9864
  }, this.attributesFromObject("aria", n({ modal: !0 }, this.props.aria)), this.attributesFromObject("data", this.props.data || {}), {
9868
9865
  "data-testid": this.props.testId
9869
- }), F = this.props.contentElement(Q, X);
9866
+ }), F = this.props.contentElement(Q, V);
9870
9867
  return this.props.overlayElement(P, F);
9871
9868
  }
9872
9869
  }]), L;
@@ -12843,28 +12840,28 @@ const lh = ({
12843
12840
  copyLinkUrl: p,
12844
12841
  fusionData: g
12845
12842
  }) => {
12846
- const [m, v] = _(window.innerWidth), [b, Z] = _(!1), [M, S] = _(u), [q, T] = _(!1), [x, k] = _(!0), [Y, W] = _(null), [z, j] = _(""), [B, E] = _("Loading..."), [L, G] = _("Loading..."), [y, K] = _("game"), [U, w] = Ne(ki), [I, X] = Ne(ca);
12843
+ const [m, v] = _(window.innerWidth), [b, Z] = _(!1), [M, S] = _(u), [q, T] = _(!1), [x, k] = _(!0), [Y, W] = _(null), [z, j] = _(""), [B, E] = _("Loading..."), [L, G] = _("Loading..."), [y, K] = _("game"), [U, w] = Ne(ki), [I, V] = Ne(ca);
12847
12844
  ad(o, a, j, f, g);
12848
12845
  const H = async () => {
12849
- let J = await ih(a, o);
12850
- if (!J) {
12846
+ let D = await ih(a, o);
12847
+ if (!D) {
12851
12848
  id("Networks not found");
12852
12849
  return;
12853
12850
  }
12854
- J = J.map((P) => (P.name = P.id, P)), w(J), X(
12855
- J.map((P) => P.id).filter((P) => P !== "default")
12856
- ), ld(J), ln(n, "preview", null, null, !1).then((P) => {
12851
+ D = D.map((P) => (P.name = P.id, P)), w(D), V(
12852
+ D.map((P) => P.id).filter((P) => P !== "default")
12853
+ ), ld(D), ln(n, "preview", null, null, !1).then((P) => {
12857
12854
  Z(!0), S(f + "/" + P.url), (o === "Flex" || o === "Ready" || o === "Playable" || o === "Fusion") && (P.size >= 5 ? T(!0) : T(!1), W(P.size)), k(!1);
12858
12855
  });
12859
12856
  };
12860
12857
  return Ze(() => {
12861
12858
  t ? b || (H(), Z(!0)) : (Z(!1), S(""));
12862
12859
  }, [t]), Ze(() => {
12863
- const J = () => {
12860
+ const D = () => {
12864
12861
  v(window.innerWidth);
12865
12862
  };
12866
- return window.addEventListener("resize", J), () => {
12867
- window.removeEventListener("resize", J);
12863
+ return window.addEventListener("resize", D), () => {
12864
+ window.removeEventListener("resize", D);
12868
12865
  };
12869
12866
  }, []), x && t ? /* @__PURE__ */ d.jsx(d.Fragment, { children: /* @__PURE__ */ d.jsx(
12870
12867
  ui,
@@ -12924,11 +12921,11 @@ const lh = ({
12924
12921
  ) }) : x && o === "Flex" ? null : /* @__PURE__ */ d.jsxs(
12925
12922
  "div",
12926
12923
  {
12927
- onMouseDown: (J) => {
12928
- J.stopPropagation();
12924
+ onMouseDown: (D) => {
12925
+ D.stopPropagation();
12929
12926
  },
12930
- onMouseUp: (J) => {
12931
- J.stopPropagation();
12927
+ onMouseUp: (D) => {
12928
+ D.stopPropagation();
12932
12929
  },
12933
12930
  children: [
12934
12931
  q && t && /* @__PURE__ */ d.jsx(