gearboxdownloadmodal 5.0.82 → 5.0.83

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
@@ -24,7 +24,7 @@ function ki(e) {
24
24
  });
25
25
  }), n;
26
26
  }
27
- var On = { exports: {} }, vt = {};
27
+ var On = { exports: {} }, yt = {};
28
28
  /**
29
29
  * @license React
30
30
  * react-jsx-runtime.production.min.js
@@ -37,7 +37,7 @@ var On = { exports: {} }, vt = {};
37
37
  var Zr;
38
38
  function zi() {
39
39
  if (Zr)
40
- return vt;
40
+ return yt;
41
41
  Zr = 1;
42
42
  var e = oe, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
43
43
  function a(A, u, d) {
@@ -50,9 +50,9 @@ function zi() {
50
50
  m[s] === void 0 && (m[s] = u[s]);
51
51
  return { $$typeof: t, type: A, key: b, ref: h, props: m, _owner: o.current };
52
52
  }
53
- return vt.Fragment = n, vt.jsx = a, vt.jsxs = a, vt;
53
+ return yt.Fragment = n, yt.jsx = a, yt.jsxs = a, yt;
54
54
  }
55
- var bt = {};
55
+ var vt = {};
56
56
  /**
57
57
  * @license React
58
58
  * react-jsx-runtime.development.js
@@ -393,7 +393,7 @@ function Yi() {
393
393
  if (di(l))
394
394
  return E("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ci(l)), dr(l);
395
395
  }
396
- var yt = w.ReactCurrentOwner, mi = {
396
+ var gt = w.ReactCurrentOwner, mi = {
397
397
  key: !0,
398
398
  ref: !0,
399
399
  __self: !0,
@@ -417,9 +417,9 @@ function Yi() {
417
417
  return l.key !== void 0;
418
418
  }
419
419
  function hi(l, I) {
420
- if (typeof l.ref == "string" && yt.current && I && yt.current.stateNode !== I) {
421
- var M = T(yt.current.type);
422
- mn[M] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', T(yt.current.type), l.ref), mn[M] = !0);
420
+ if (typeof l.ref == "string" && gt.current && I && gt.current.stateNode !== I) {
421
+ var M = T(gt.current.type);
422
+ mn[M] || (E('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', T(gt.current.type), l.ref), mn[M] = !0);
423
423
  }
424
424
  }
425
425
  function qi(l, I) {
@@ -488,7 +488,7 @@ function Yi() {
488
488
  var me = typeof l == "function" ? l.displayName || l.name || "Unknown" : l;
489
489
  F && qi(_, me), ve && gi(_, me);
490
490
  }
491
- return yi(l, F, ve, re, G, yt.current, _);
491
+ return yi(l, F, ve, re, G, gt.current, _);
492
492
  }
493
493
  }
494
494
  var pn = w.ReactCurrentOwner, hr = w.ReactDebugCurrentFrame;
@@ -646,8 +646,8 @@ Check the top-level render call using <` + M + ">.");
646
646
  return br(l, I, M, !1);
647
647
  }
648
648
  var Ki = xi, Wi = wi;
649
- bt.Fragment = r, bt.jsx = Ki, bt.jsxs = Wi;
650
- }()), bt;
649
+ vt.Fragment = r, vt.jsx = Ki, vt.jsxs = Wi;
650
+ }()), vt;
651
651
  }
652
652
  process.env.NODE_ENV === "production" ? On.exports = zi() : On.exports = Yi();
653
653
  var c = On.exports;
@@ -2099,8 +2099,8 @@ var sa = Object.assign || function(e) {
2099
2099
  Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
2100
2100
  }
2101
2101
  return e;
2102
- }, la = Vi, ua = Mt(la), ca = Ao, da = Mt(ca), ma = en, Ge = Mt(ma), go = oe, pa = Mt(go), fa = Un, ha = Mt(fa);
2103
- function Mt(e) {
2102
+ }, la = Vi, ua = Wt(la), ca = Ao, da = Wt(ca), ma = en, Ge = Wt(ma), go = oe, pa = Wt(go), fa = Un, ha = Wt(fa);
2103
+ function Wt(e) {
2104
2104
  return e && e.__esModule ? e : { default: e };
2105
2105
  }
2106
2106
  function qa(e, t) {
@@ -2120,7 +2120,7 @@ var ga = {
2120
2120
  fgColor: "#000000",
2121
2121
  level: "L",
2122
2122
  size: 256
2123
- }, Lt = (0, go.forwardRef)(function(e, t) {
2123
+ }, Mt = (0, go.forwardRef)(function(e, t) {
2124
2124
  var n = e.bgColor, r = e.fgColor, o = e.level, i = e.size, a = e.value, A = qa(e, ["bgColor", "fgColor", "level", "size", "value"]), u = new ua.default(-1, da.default[o]);
2125
2125
  u.addData(a), u.make();
2126
2126
  var d = u.modules;
@@ -2142,11 +2142,11 @@ var ga = {
2142
2142
  viewBoxSize: d.length
2143
2143
  }));
2144
2144
  });
2145
- $t.QRCode = Lt;
2146
- Lt.displayName = "QRCode";
2147
- Lt.propTypes = ga;
2148
- Lt.defaultProps = ya;
2149
- var va = $t.default = Lt;
2145
+ $t.QRCode = Mt;
2146
+ Mt.displayName = "QRCode";
2147
+ Mt.propTypes = ga;
2148
+ Mt.defaultProps = ya;
2149
+ var va = $t.default = Mt;
2150
2150
  const yo = ({
2151
2151
  title: e,
2152
2152
  titleId: t,
@@ -2194,9 +2194,9 @@ function vo(e, t) {
2194
2194
  const { toString: ba } = Object.prototype, { getPrototypeOf: Fn } = Object, nn = ((e) => (t) => {
2195
2195
  const n = ba.call(t);
2196
2196
  return e[n] || (e[n] = n.slice(8, -1).toLowerCase());
2197
- })(/* @__PURE__ */ Object.create(null)), De = (e) => (e = e.toLowerCase(), (t) => nn(t) === e), rn = (e) => (t) => typeof t === e, { isArray: pt } = Array, xt = rn("undefined");
2197
+ })(/* @__PURE__ */ Object.create(null)), De = (e) => (e = e.toLowerCase(), (t) => nn(t) === e), rn = (e) => (t) => typeof t === e, { isArray: pt } = Array, wt = rn("undefined");
2198
2198
  function Ca(e) {
2199
- return e !== null && !xt(e) && e.constructor !== null && !xt(e.constructor) && Le(e.constructor.isBuffer) && e.constructor.isBuffer(e);
2199
+ return e !== null && !wt(e) && e.constructor !== null && !wt(e.constructor) && Le(e.constructor.isBuffer) && e.constructor.isBuffer(e);
2200
2200
  }
2201
2201
  const bo = De("ArrayBuffer");
2202
2202
  function Za(e) {
@@ -2213,7 +2213,7 @@ const Ia = rn("string"), Le = rn("function"), Co = rn("number"), on = (e) => e !
2213
2213
  return e && (typeof FormData == "function" && e instanceof FormData || Le(e.append) && ((t = nn(e)) === "formdata" || // detect form-data instance
2214
2214
  t === "object" && Le(e.toString) && e.toString() === "[object FormData]"));
2215
2215
  }, Oa = De("URLSearchParams"), Ea = (e) => e.trim ? e.trim() : e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g, "");
2216
- function St(e, t, { allOwnKeys: n = !1 } = {}) {
2216
+ function Lt(e, t, { allOwnKeys: n = !1 } = {}) {
2217
2217
  if (e === null || typeof e > "u")
2218
2218
  return;
2219
2219
  let r, o;
@@ -2236,17 +2236,17 @@ function Zo(e, t) {
2236
2236
  return o;
2237
2237
  return null;
2238
2238
  }
2239
- const Io = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), wo = (e) => !xt(e) && e !== Io;
2239
+ const Io = (() => typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : global)(), wo = (e) => !wt(e) && e !== Io;
2240
2240
  function kn() {
2241
2241
  const { caseless: e } = wo(this) && this || {}, t = {}, n = (r, o) => {
2242
2242
  const i = e && Zo(t, o) || o;
2243
2243
  Tt(t[i]) && Tt(r) ? t[i] = kn(t[i], r) : Tt(r) ? t[i] = kn({}, r) : pt(r) ? t[i] = r.slice() : t[i] = r;
2244
2244
  };
2245
2245
  for (let r = 0, o = arguments.length; r < o; r++)
2246
- arguments[r] && St(arguments[r], n);
2246
+ arguments[r] && Lt(arguments[r], n);
2247
2247
  return t;
2248
2248
  }
2249
- const ka = (e, t, n, { allOwnKeys: r } = {}) => (St(t, (o, i) => {
2249
+ const ka = (e, t, n, { allOwnKeys: r } = {}) => (Lt(t, (o, i) => {
2250
2250
  n && Le(o) ? e[i] = vo(o, n) : e[i] = o;
2251
2251
  }, { allOwnKeys: r }), e), za = (e) => (e.charCodeAt(0) === 65279 && (e = e.slice(1)), e), Ya = (e, t, n, r) => {
2252
2252
  e.prototype = Object.create(t.prototype, r), e.prototype.constructor = e, Object.defineProperty(e, "super", {
@@ -2299,7 +2299,7 @@ const ka = (e, t, n, { allOwnKeys: r } = {}) => (St(t, (o, i) => {
2299
2299
  }
2300
2300
  ), zr = (({ hasOwnProperty: e }) => (t, n) => e.call(t, n))(Object.prototype), Xa = De("RegExp"), xo = (e, t) => {
2301
2301
  const n = Object.getOwnPropertyDescriptors(e), r = {};
2302
- St(n, (o, i) => {
2302
+ Lt(n, (o, i) => {
2303
2303
  let a;
2304
2304
  (a = t(o, i, e)) !== !1 && (r[i] = a || o);
2305
2305
  }), Object.defineProperties(e, r);
@@ -2348,9 +2348,9 @@ const _a = (e) => {
2348
2348
  if (!("toJSON" in r)) {
2349
2349
  t[o] = r;
2350
2350
  const i = pt(r) ? [] : {};
2351
- return St(r, (a, A) => {
2351
+ return Lt(r, (a, A) => {
2352
2352
  const u = n(a, o + 1);
2353
- !xt(u) && (i[A] = u);
2353
+ !wt(u) && (i[A] = u);
2354
2354
  }), t[o] = void 0, i;
2355
2355
  }
2356
2356
  }
@@ -2368,7 +2368,7 @@ const _a = (e) => {
2368
2368
  isBoolean: wa,
2369
2369
  isObject: on,
2370
2370
  isPlainObject: Tt,
2371
- isUndefined: xt,
2371
+ isUndefined: wt,
2372
2372
  isDate: xa,
2373
2373
  isFile: Ka,
2374
2374
  isBlob: Wa,
@@ -2378,7 +2378,7 @@ const _a = (e) => {
2378
2378
  isURLSearchParams: Oa,
2379
2379
  isTypedArray: Da,
2380
2380
  isFileList: Ma,
2381
- forEach: St,
2381
+ forEach: Lt,
2382
2382
  merge: kn,
2383
2383
  extend: ka,
2384
2384
  trim: Ea,
@@ -2793,7 +2793,7 @@ const er = $n, fA = v.toObjectSet([
2793
2793
  o = a.indexOf(":"), n = a.substring(0, o).trim().toLowerCase(), r = a.substring(o + 1).trim(), !(!n || t[n] && fA[n]) && (n === "set-cookie" ? t[n] ? t[n].push(r) : t[n] = [r] : t[n] = t[n] ? t[n] + ", " + r : r);
2794
2794
  }), t;
2795
2795
  }, Dr = Symbol("internals");
2796
- function Ct(e) {
2796
+ function bt(e) {
2797
2797
  return e && String(e).trim().toLowerCase();
2798
2798
  }
2799
2799
  function Ht(e) {
@@ -2838,7 +2838,7 @@ class An {
2838
2838
  set(t, n, r) {
2839
2839
  const o = this;
2840
2840
  function i(A, u, d) {
2841
- const s = Ct(u);
2841
+ const s = bt(u);
2842
2842
  if (!s)
2843
2843
  throw new Error("header name must be a non-empty string");
2844
2844
  const m = v.findKey(o, s);
@@ -2848,7 +2848,7 @@ class An {
2848
2848
  return v.isPlainObject(t) || t instanceof this.constructor ? a(t, n) : v.isString(t) && (t = t.trim()) && !gA(t) ? a(hA(t), n) : t != null && i(n, t, r), this;
2849
2849
  }
2850
2850
  get(t, n) {
2851
- if (t = Ct(t), t) {
2851
+ if (t = bt(t), t) {
2852
2852
  const r = v.findKey(this, t);
2853
2853
  if (r) {
2854
2854
  const o = this[r];
@@ -2865,7 +2865,7 @@ class An {
2865
2865
  }
2866
2866
  }
2867
2867
  has(t, n) {
2868
- if (t = Ct(t), t) {
2868
+ if (t = bt(t), t) {
2869
2869
  const r = v.findKey(this, t);
2870
2870
  return !!(r && this[r] !== void 0 && (!n || In(this, this[r], r, n)));
2871
2871
  }
@@ -2875,7 +2875,7 @@ class An {
2875
2875
  const r = this;
2876
2876
  let o = !1;
2877
2877
  function i(a) {
2878
- if (a = Ct(a), a) {
2878
+ if (a = bt(a), a) {
2879
2879
  const A = v.findKey(r, a);
2880
2880
  A && (!n || In(r, r[A], A, n)) && (delete r[A], o = !0);
2881
2881
  }
@@ -2934,7 +2934,7 @@ class An {
2934
2934
  accessors: {}
2935
2935
  }).accessors, o = this.prototype;
2936
2936
  function i(a) {
2937
- const A = Ct(a);
2937
+ const A = bt(a);
2938
2938
  r[A] || (vA(o, a), r[A] = !0);
2939
2939
  }
2940
2940
  return v.isArray(t) ? t.forEach(i) : i(t), this;
@@ -2962,10 +2962,10 @@ function wn(e, t) {
2962
2962
  function zo(e) {
2963
2963
  return !!(e && e.__CANCEL__);
2964
2964
  }
2965
- function Ot(e, t, n) {
2965
+ function St(e, t, n) {
2966
2966
  $.call(this, e ?? "canceled", $.ERR_CANCELED, t, n), this.name = "CanceledError";
2967
2967
  }
2968
- v.inherits(Ot, $, {
2968
+ v.inherits(St, $, {
2969
2969
  __CANCEL__: !0
2970
2970
  });
2971
2971
  function bA(e, t, n) {
@@ -3146,7 +3146,7 @@ const WA = typeof XMLHttpRequest < "u", MA = WA && function(e) {
3146
3146
  o === void 0 && i.setContentType(null), "setRequestHeader" in s && v.forEach(i.toJSON(), function(q, Z) {
3147
3147
  s.setRequestHeader(Z, q);
3148
3148
  }), v.isUndefined(e.withCredentials) || (s.withCredentials = !!e.withCredentials), a && a !== "json" && (s.responseType = e.responseType), typeof e.onDownloadProgress == "function" && s.addEventListener("progress", Rr(e.onDownloadProgress, !0)), typeof e.onUploadProgress == "function" && s.upload && s.upload.addEventListener("progress", Rr(e.onUploadProgress)), (e.cancelToken || e.signal) && (A = (f) => {
3149
- s && (r(!f || f.type ? new Ot(null, e, s) : f), s.abort(), s = null);
3149
+ s && (r(!f || f.type ? new St(null, e, s) : f), s.abort(), s = null);
3150
3150
  }, e.cancelToken && e.cancelToken.subscribe(A), e.signal && (e.signal.aborted ? A() : e.signal.addEventListener("abort", A)));
3151
3151
  const h = xA(m);
3152
3152
  if (h && Ne.protocols.indexOf(h) === -1) {
@@ -3201,7 +3201,7 @@ const Gr = (e) => `- ${e}`, LA = (e) => v.isFunction(e) || e === null || e === !
3201
3201
  };
3202
3202
  function xn(e) {
3203
3203
  if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
3204
- throw new Ot(null, e);
3204
+ throw new St(null, e);
3205
3205
  }
3206
3206
  function Tr(e) {
3207
3207
  return xn(e), e.headers = Te.from(e.headers), e.data = wn.call(
@@ -3463,7 +3463,7 @@ class nr {
3463
3463
  r.unsubscribe(i);
3464
3464
  }, a;
3465
3465
  }, t(function(i, a, A) {
3466
- r.reason || (r.reason = new Ot(i, a, A), n(r.reason));
3466
+ r.reason || (r.reason = new St(i, a, A), n(r.reason));
3467
3467
  });
3468
3468
  }
3469
3469
  /**
@@ -3592,7 +3592,7 @@ function No(e) {
3592
3592
  }
3593
3593
  const fe = No(er);
3594
3594
  fe.Axios = Xt;
3595
- fe.CanceledError = Ot;
3595
+ fe.CanceledError = St;
3596
3596
  fe.CancelToken = OA;
3597
3597
  fe.isCancel = zo;
3598
3598
  fe.VERSION = Jo;
@@ -3758,7 +3758,7 @@ function Qe() {
3758
3758
  (e = arguments[n++]) && (t = Vo(e)) && (r && (r += " "), r += t);
3759
3759
  return r;
3760
3760
  }
3761
- const It = (e) => typeof e == "number" && !isNaN(e), rt = (e) => typeof e == "string", be = (e) => typeof e == "function", Qt = (e) => rt(e) || be(e) ? e : null, Kn = (e) => ct(e) || rt(e) || be(e) || It(e);
3761
+ const Zt = (e) => typeof e == "number" && !isNaN(e), rt = (e) => typeof e == "string", be = (e) => typeof e == "function", Qt = (e) => rt(e) || be(e) ? e : null, Kn = (e) => ct(e) || rt(e) || be(e) || Zt(e);
3762
3762
  function QA(e, t, n) {
3763
3763
  n === void 0 && (n = 300);
3764
3764
  const { scrollHeight: r, style: o } = e;
@@ -3846,7 +3846,7 @@ function PA(e) {
3846
3846
  const X = { ...C, style: C.toastStyle, key: A.toastKey++, ...Object.fromEntries(Object.entries(w).filter((ne) => {
3847
3847
  let [T, x] = ne;
3848
3848
  return x != null;
3849
- })), toastId: E, updateId: J, data: W, closeToast: U, isIn: !1, className: Qt(w.className || C.toastClassName), bodyClassName: Qt(w.bodyClassName || C.bodyClassName), progressClassName: Qt(w.progressClassName || C.progressClassName), autoClose: !w.isLoading && (se = w.autoClose, ie = C.autoClose, se === !1 || It(se) && se > 0 ? se : ie), deleteToast() {
3849
+ })), toastId: E, updateId: J, data: W, closeToast: U, isIn: !1, className: Qt(w.className || C.toastClassName), bodyClassName: Qt(w.bodyClassName || C.bodyClassName), progressClassName: Qt(w.progressClassName || C.progressClassName), autoClose: !w.isLoading && (se = w.autoClose, ie = C.autoClose, se === !1 || Zt(se) && se > 0 ? se : ie), deleteToast() {
3850
3850
  const ne = Pr(i.get(E), "removed");
3851
3851
  i.delete(E), Me.emit(4, ne);
3852
3852
  const T = A.queue.length;
@@ -3867,10 +3867,10 @@ function PA(e) {
3867
3867
  X.iconOut = function(ne) {
3868
3868
  let { theme: T, type: x, isLoading: L, icon: Y } = ne, p = null;
3869
3869
  const K = { theme: T, type: x };
3870
- return Y === !1 || (be(Y) ? p = Y(K) : ct(Y) ? p = Sn(Y, K) : rt(Y) || It(Y) ? p = Y : L ? p = Wn.spinner() : ((D) => D in Wn)(x) && (p = Wn[x](K))), p;
3870
+ return Y === !1 || (be(Y) ? p = Y(K) : ct(Y) ? p = Sn(Y, K) : rt(Y) || Zt(Y) ? p = Y : L ? p = Wn.spinner() : ((D) => D in Wn)(x) && (p = Wn[x](K))), p;
3871
3871
  }(X), be(w.onOpen) && (X.onOpen = w.onOpen), be(w.onClose) && (X.onClose = w.onClose), X.closeButton = C.closeButton, w.closeButton === !1 || Kn(w.closeButton) ? X.closeButton = w.closeButton : w.closeButton === !0 && (X.closeButton = !Kn(C.closeButton) || C.closeButton);
3872
3872
  let te = h;
3873
- ct(h) && !rt(h.type) ? te = Sn(h, { closeToast: U, toastProps: X, data: W }) : be(h) && (te = h({ closeToast: U, toastProps: X, data: W })), C.limit && C.limit > 0 && A.count > C.limit && ee ? A.queue.push({ toastContent: te, toastProps: X, staleId: Z }) : It(q) ? setTimeout(() => {
3873
+ ct(h) && !rt(h.type) ? te = Sn(h, { closeToast: U, toastProps: X, data: W }) : be(h) && (te = h({ closeToast: U, toastProps: X, data: W })), C.limit && C.limit > 0 && A.count > C.limit && ee ? A.queue.push({ toastContent: te, toastProps: X, staleId: Z }) : Zt(q) ? setTimeout(() => {
3874
3874
  b(te, X, Z);
3875
3875
  }, q) : b(te, X, Z);
3876
3876
  }
@@ -3987,26 +3987,26 @@ const Dn = Mi((e, t) => {
3987
3987
  }));
3988
3988
  });
3989
3989
  Dn.displayName = "ToastContainer", Dn.defaultProps = { position: "top-right", transition: FA, autoClose: 5e3, closeButton: Bo, pauseOnHover: !0, pauseOnFocusLoss: !0, closeOnClick: !0, draggable: !0, draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
3990
- let Mn, Fe = /* @__PURE__ */ new Map(), Zt = [], _A = 1;
3990
+ let Mn, Fe = /* @__PURE__ */ new Map(), Ct = [], _A = 1;
3991
3991
  function Uo() {
3992
3992
  return "" + _A++;
3993
3993
  }
3994
3994
  function $A(e) {
3995
- return e && (rt(e.toastId) || It(e.toastId)) ? e.toastId : Uo();
3995
+ return e && (rt(e.toastId) || Zt(e.toastId)) ? e.toastId : Uo();
3996
3996
  }
3997
- function wt(e, t) {
3998
- return Fe.size > 0 ? Me.emit(0, e, t) : Zt.push({ content: e, options: t }), t.toastId;
3997
+ function It(e, t) {
3998
+ return Fe.size > 0 ? Me.emit(0, e, t) : Ct.push({ content: e, options: t }), t.toastId;
3999
3999
  }
4000
4000
  function Vt(e, t) {
4001
4001
  return { ...t, type: t && t.type || e, toastId: $A(t) };
4002
4002
  }
4003
4003
  function Dt(e) {
4004
- return (t, n) => wt(t, Vt(e, n));
4004
+ return (t, n) => It(t, Vt(e, n));
4005
4005
  }
4006
4006
  function ue(e, t) {
4007
- return wt(e, Vt("default", t));
4007
+ return It(e, Vt("default", t));
4008
4008
  }
4009
- ue.loading = (e, t) => wt(e, Vt("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), ue.promise = function(e, t, n) {
4009
+ ue.loading = (e, t) => It(e, Vt("default", { isLoading: !0, autoClose: !1, closeOnClick: !1, closeButton: !1, draggable: !1, ...t })), ue.promise = function(e, t, n) {
4010
4010
  let r, { pending: o, error: i, success: a } = t;
4011
4011
  o && (r = rt(o) ? ue.loading(o, n) : ue.loading(o.render, { ...n, ...o }));
4012
4012
  const A = { isLoading: null, autoClose: null, closeOnClick: null, closeButton: null, draggable: null }, u = (s, m, b) => {
@@ -4016,8 +4016,8 @@ ue.loading = (e, t) => wt(e, Vt("default", { isLoading: !0, autoClose: !1, close
4016
4016
  return r ? ue.update(r, { ...h, ...f }) : ue(f.render, { ...h, ...f }), b;
4017
4017
  }, d = be(e) ? e() : e;
4018
4018
  return d.then((s) => u("success", a, s)).catch((s) => u("error", i, s)), d;
4019
- }, ue.success = Dt("success"), ue.info = Dt("info"), ue.error = Dt("error"), ue.warning = Dt("warning"), ue.warn = ue.warning, ue.dark = (e, t) => wt(e, Vt("default", { theme: "dark", ...t })), ue.dismiss = (e) => {
4020
- Fe.size > 0 ? Me.emit(1, e) : Zt = Zt.filter((t) => e != null && t.options.toastId !== e);
4019
+ }, ue.success = Dt("success"), ue.info = Dt("info"), ue.error = Dt("error"), ue.warning = Dt("warning"), ue.warn = ue.warning, ue.dark = (e, t) => It(e, Vt("default", { theme: "dark", ...t })), ue.dismiss = (e) => {
4020
+ Fe.size > 0 ? Me.emit(1, e) : Ct = Ct.filter((t) => e != null && t.options.toastId !== e);
4021
4021
  }, ue.clearWaitingQueue = function(e) {
4022
4022
  return e === void 0 && (e = {}), Me.emit(5, e);
4023
4023
  }, ue.isActive = (e) => {
@@ -4036,7 +4036,7 @@ ue.loading = (e, t) => wt(e, Vt("default", { isLoading: !0, autoClose: !1, close
4036
4036
  const { props: r, content: o } = n, i = { delay: 100, ...r, ...t, toastId: t.toastId || e, updateId: Uo() };
4037
4037
  i.toastId !== e && (i.staleId = e);
4038
4038
  const a = i.render || o;
4039
- delete i.render, wt(a, i);
4039
+ delete i.render, It(a, i);
4040
4040
  }
4041
4041
  }, 0);
4042
4042
  }, ue.done = (e) => {
@@ -4044,13 +4044,13 @@ ue.loading = (e, t) => wt(e, Vt("default", { isLoading: !0, autoClose: !1, close
4044
4044
  }, ue.onChange = (e) => (Me.on(4, e), () => {
4045
4045
  Me.off(4, e);
4046
4046
  }), ue.POSITION = { TOP_LEFT: "top-left", TOP_RIGHT: "top-right", TOP_CENTER: "top-center", BOTTOM_LEFT: "bottom-left", BOTTOM_RIGHT: "bottom-right", BOTTOM_CENTER: "bottom-center" }, ue.TYPE = { INFO: "info", SUCCESS: "success", WARNING: "warning", ERROR: "error", DEFAULT: "default" }, Me.on(2, (e) => {
4047
- Mn = e.containerId || e, Fe.set(Mn, e), Zt.forEach((t) => {
4047
+ Mn = e.containerId || e, Fe.set(Mn, e), Ct.forEach((t) => {
4048
4048
  Me.emit(0, t.content, t.options);
4049
- }), Zt = [];
4049
+ }), Ct = [];
4050
4050
  }).on(3, (e) => {
4051
4051
  Fe.delete(e.containerId || e), Fe.size === 0 && Me.off(0).off(1).off(5);
4052
4052
  });
4053
- function ft(e) {
4053
+ function Ot(e) {
4054
4054
  ue.success(e, {
4055
4055
  position: "top-center",
4056
4056
  autoClose: 650,
@@ -4063,17 +4063,17 @@ function ft(e) {
4063
4063
  });
4064
4064
  }
4065
4065
  let ar = "", lt = "Playable", Oe = null, Fo = null;
4066
- const Rn = (e) => {
4066
+ const Rn = async (e) => {
4067
4067
  let t = ar + "/" + e, n = e;
4068
4068
  fetch(t).then((r) => r.blob()).then((r) => {
4069
4069
  const o = window.URL.createObjectURL(r), i = document.createElement("a");
4070
- i.href = o, i.download = n.split("/").reduce((a, A) => A, ""), document.body.appendChild(i), i.click(), window.URL.revokeObjectURL(o), ft("Download successfully");
4070
+ i.href = o, i.download = n.split("/").reduce((a, A) => A, ""), document.body.appendChild(i), i.click(), window.URL.revokeObjectURL(o), Ot("Download successfully");
4071
4071
  }).catch((r) => {
4072
4072
  console.error("File error:", r);
4073
4073
  });
4074
4074
  }, es = (e, t) => {
4075
4075
  let n = ar + "/" + e;
4076
- sn(n) ? ft("Link Copied") : t(n);
4076
+ sn(n) ? Ot("Link Copied") : t(n);
4077
4077
  };
4078
4078
  async function Bt(e, t, n, r = "download", o = !1) {
4079
4079
  return new Promise(async (i, a) => {
@@ -4137,12 +4137,12 @@ async function ts(e, t, n) {
4137
4137
  androidLink: t == null ? void 0 : t.googleUrl
4138
4138
  },
4139
4139
  Oe
4140
- ), DA(e, n, Oe).then((i) => {
4140
+ ), DA(e, n, Oe).then(async (i) => {
4141
4141
  if (i.message) {
4142
4142
  o(i);
4143
4143
  return;
4144
4144
  }
4145
- Rn(i.url), r(i.url);
4145
+ await Rn(i.url), r(i.url);
4146
4146
  }).catch((i) => {
4147
4147
  let a = i.response.data.error.msg;
4148
4148
  o({ message: a });
@@ -4150,8 +4150,8 @@ async function ts(e, t, n) {
4150
4150
  e,
4151
4151
  { iosLink: t == null ? void 0 : t.iosUrl, androidLink: t == null ? void 0 : t.googleUrl },
4152
4152
  Oe
4153
- ), HA(e, n, Oe).then((i) => {
4154
- Rn(i.url), r(i.url);
4153
+ ), HA(e, n, Oe).then(async (i) => {
4154
+ await Rn(i.url), r(i.url);
4155
4155
  }).catch((i) => {
4156
4156
  let a = i.response.data.error.msg;
4157
4157
  o({ message: a });
@@ -4173,7 +4173,7 @@ const rs = ({
4173
4173
  A(!0), Bt(e, "default", null, null, !1).then((d) => {
4174
4174
  A(!1);
4175
4175
  let s;
4176
- t === "Flex" ? s = `${o}/preview?versionId=${e}` : t === "Import" ? s = `${o}/preview?versionId=${e}_` : s = `${o}/preview?versionId=${e}_`, sn(s) ? ft("Link copied") : i(s), A(!1);
4176
+ t === "Flex" ? s = `${o}/preview?versionId=${e}` : t === "Import" ? s = `${o}/preview?versionId=${e}_` : s = `${o}/preview?versionId=${e}_`, sn(s) ? Ot("Link copied") : i(s), A(!1);
4177
4177
  }).catch((d) => {
4178
4178
  A(!1);
4179
4179
  });
@@ -4395,7 +4395,7 @@ const As = () => /* @__PURE__ */ c.jsxs("svg", { width: "24", height: "24", view
4395
4395
  {
4396
4396
  style: { marginLeft: "0.5rem", display: "flex", alignItems: "center", fontSize: "12px", fontWeight: "bold", textDecoration: "underline", color: "#yourColorHere" },
4397
4397
  onClick: () => as("Flex Credit", t).then(
4398
- (n) => ft("You will be contacted regarding your request.")
4398
+ (n) => Ot("You will be contacted regarding your request.")
4399
4399
  ),
4400
4400
  children: [
4401
4401
  "Get more",
@@ -5468,7 +5468,7 @@ const gs = [
5468
5468
  g(!0);
5469
5469
  const O = await qs(s, d, o, u);
5470
5470
  let R = `${b}/${O == null ? void 0 : O.url}`;
5471
- sn(R) ? (ft("Link Copied"), g(!1)) : W(R);
5471
+ sn(R) ? (Ot("Link Copied"), g(!1)) : W(R);
5472
5472
  };
5473
5473
  return /* @__PURE__ */ c.jsxs(c.Fragment, { children: [
5474
5474
  /* @__PURE__ */ c.jsxs(
@@ -6048,7 +6048,7 @@ const gs = [
6048
6048
  }, Y = async () => {
6049
6049
  const K = Ln.filter((D) => [...q].includes(D.id)).map((D) => D.name);
6050
6050
  X(!0), ts(r, d, K).then((D) => {
6051
- X(!1), ft("Multi downloaded completed successfully");
6051
+ X(!1);
6052
6052
  }).catch((D) => {
6053
6053
  X(!1), A(D.message, D);
6054
6054
  });
@@ -6431,8 +6431,8 @@ Object.defineProperty(ze, "__esModule", {
6431
6431
  });
6432
6432
  ze.resetState = js;
6433
6433
  ze.log = Js;
6434
- ze.handleBlur = Kt;
6435
- ze.handleFocus = Wt;
6434
+ ze.handleBlur = xt;
6435
+ ze.handleFocus = Kt;
6436
6436
  ze.markForFocusLater = Ns;
6437
6437
  ze.returnFocus = Ds;
6438
6438
  ze.popWithoutFocus = Rs;
@@ -6452,10 +6452,10 @@ function Js() {
6452
6452
  console.log(t.nodeName, t.className, t.id);
6453
6453
  }), console.log("end focusManager ----------"));
6454
6454
  }
6455
- function Kt() {
6455
+ function xt() {
6456
6456
  Xn = !0;
6457
6457
  }
6458
- function Wt() {
6458
+ function Kt() {
6459
6459
  if (Xn) {
6460
6460
  if (Xn = !1, !ut)
6461
6461
  return;
@@ -6483,10 +6483,10 @@ function Rs() {
6483
6483
  it.length > 0 && it.pop();
6484
6484
  }
6485
6485
  function Gs(e) {
6486
- ut = e, window.addEventListener ? (window.addEventListener("blur", Kt, !1), document.addEventListener("focus", Wt, !0)) : (window.attachEvent("onBlur", Kt), document.attachEvent("onFocus", Wt));
6486
+ ut = e, window.addEventListener ? (window.addEventListener("blur", xt, !1), document.addEventListener("focus", Kt, !0)) : (window.attachEvent("onBlur", xt), document.attachEvent("onFocus", Kt));
6487
6487
  }
6488
6488
  function Ts() {
6489
- ut = null, window.addEventListener ? (window.removeEventListener("blur", Kt), document.removeEventListener("focus", Wt)) : (window.detachEvent("onBlur", Kt), document.detachEvent("onFocus", Wt));
6489
+ ut = null, window.addEventListener ? (window.removeEventListener("blur", xt), document.removeEventListener("focus", Kt)) : (window.detachEvent("onBlur", xt), document.detachEvent("onFocus", Kt));
6490
6490
  }
6491
6491
  var Qn = { exports: {} };
6492
6492
  (function(e, t) {
@@ -6673,12 +6673,12 @@ function Al(e) {
6673
6673
  function sl() {
6674
6674
  Ze = null;
6675
6675
  }
6676
- var ht = {};
6677
- Object.defineProperty(ht, "__esModule", {
6676
+ var ft = {};
6677
+ Object.defineProperty(ft, "__esModule", {
6678
6678
  value: !0
6679
6679
  });
6680
- ht.resetState = ll;
6681
- ht.log = ul;
6680
+ ft.resetState = ll;
6681
+ ft.log = ul;
6682
6682
  var et = {}, tt = {};
6683
6683
  function Fr(e, t) {
6684
6684
  e.classList.remove(t);
@@ -6726,18 +6726,18 @@ var cl = function(t, n) {
6726
6726
  dl(n, o), n[o] === 0 && t.remove(o);
6727
6727
  });
6728
6728
  };
6729
- ht.add = function(t, n) {
6729
+ ft.add = function(t, n) {
6730
6730
  return ml(t.classList, t.nodeName.toLowerCase() == "html" ? et : tt, n.split(" "));
6731
6731
  };
6732
- ht.remove = function(t, n) {
6732
+ ft.remove = function(t, n) {
6733
6733
  return pl(t.classList, t.nodeName.toLowerCase() == "html" ? et : tt, n.split(" "));
6734
6734
  };
6735
- var qt = {};
6736
- Object.defineProperty(qt, "__esModule", {
6735
+ var ht = {};
6736
+ Object.defineProperty(ht, "__esModule", {
6737
6737
  value: !0
6738
6738
  });
6739
- qt.log = hl;
6740
- qt.resetState = ql;
6739
+ ht.log = hl;
6740
+ ht.resetState = ql;
6741
6741
  function fl(e, t) {
6742
6742
  if (!(e instanceof t))
6743
6743
  throw new TypeError("Cannot call a class as a function");
@@ -6777,14 +6777,14 @@ function hl() {
6777
6777
  function ql() {
6778
6778
  Ut = new oi();
6779
6779
  }
6780
- qt.default = Ut;
6780
+ ht.default = Ut;
6781
6781
  var lr = {};
6782
6782
  Object.defineProperty(lr, "__esModule", {
6783
6783
  value: !0
6784
6784
  });
6785
6785
  lr.resetState = bl;
6786
6786
  lr.log = Cl;
6787
- var gl = qt, yl = vl(gl);
6787
+ var gl = ht, yl = vl(gl);
6788
6788
  function vl(e) {
6789
6789
  return e && e.__esModule ? e : { default: e };
6790
6790
  }
@@ -6840,7 +6840,7 @@ yl.default.subscribe(Zl);
6840
6840
  return function(L, Y, p) {
6841
6841
  return Y && x(L.prototype, Y), p && x(L, p), L;
6842
6842
  };
6843
- }(), i = oe, a = en, A = C(a), u = ze, d = W(u), s = Hs, m = C(s), b = Ye, h = W(b), f = ht, q = W(f), Z = ke, w = C(Z), E = qt, J = C(E);
6843
+ }(), i = oe, a = en, A = C(a), u = ze, d = W(u), s = Hs, m = C(s), b = Ye, h = W(b), f = ft, q = W(f), Z = ke, w = C(Z), E = ht, J = C(E);
6844
6844
  function W(x) {
6845
6845
  if (x && x.__esModule)
6846
6846
  return x;
@@ -7166,7 +7166,7 @@ var Jl = ot.portalClassName = "ReactModalPortal", Nl = ot.bodyOpenClassName = "R
7166
7166
  function Rt(e) {
7167
7167
  return e();
7168
7168
  }
7169
- var gt = function(e) {
7169
+ var qt = function(e) {
7170
7170
  jl(t, e);
7171
7171
  function t() {
7172
7172
  var n, r, o, i;
@@ -7238,7 +7238,7 @@ var gt = function(e) {
7238
7238
  /* eslint-enable react/no-unused-prop-types */
7239
7239
  }]), t;
7240
7240
  }(si.Component);
7241
- gt.propTypes = {
7241
+ qt.propTypes = {
7242
7242
  isOpen: H.default.bool.isRequired,
7243
7243
  style: H.default.shape({
7244
7244
  content: H.default.object,
@@ -7278,7 +7278,7 @@ gt.propTypes = {
7278
7278
  overlayElement: H.default.func,
7279
7279
  contentElement: H.default.func
7280
7280
  };
7281
- gt.defaultProps = {
7281
+ qt.defaultProps = {
7282
7282
  isOpen: !1,
7283
7283
  portalClassName: Jl,
7284
7284
  bodyOpenClassName: Nl,
@@ -7308,7 +7308,7 @@ gt.defaultProps = {
7308
7308
  );
7309
7309
  }
7310
7310
  };
7311
- gt.defaultStyles = {
7311
+ qt.defaultStyles = {
7312
7312
  overlay: {
7313
7313
  position: "fixed",
7314
7314
  top: 0,
@@ -7332,11 +7332,11 @@ gt.defaultStyles = {
7332
7332
  padding: "20px"
7333
7333
  }
7334
7334
  };
7335
- (0, kl.polyfill)(gt);
7336
- process.env.NODE_ENV !== "production" && (gt.setCreateHTMLElement = function(e) {
7335
+ (0, kl.polyfill)(qt);
7336
+ process.env.NODE_ENV !== "production" && (qt.setCreateHTMLElement = function(e) {
7337
7337
  return Pn = e;
7338
7338
  });
7339
- ot.default = gt;
7339
+ ot.default = qt;
7340
7340
  (function(e, t) {
7341
7341
  Object.defineProperty(t, "__esModule", {
7342
7342
  value: !0