@obb871001/api-integration-sdk 1.0.300 → 1.0.301

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.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import de, { createContext as Ii, useContext as ut, useState as tt, useMemo as Oa, useCallback as I, useRef as ee, useEffect as ge } from "react";
2
2
  import { useQueries as Hn, useQuery as j, useQueryClient as pt, useMutation as re, QueryClient as Ol, QueryClientProvider as Bl } from "@tanstack/react-query";
3
3
  import Hl from "axios";
4
- import { get as le, find as qe, isEmpty as Ee, entries as Wn, map as Oe, isArray as la, toLower as Tt, omit as Wl, replace as kt, includes as zl, isObject as Vi, flatMap as Zi, values as Il, keys as xt } from "lodash";
4
+ import { get as le, find as qe, isEmpty as Ee, entries as Wn, map as Be, isArray as la, toLower as Tt, omit as Wl, replace as kt, includes as zl, isObject as Vi, flatMap as Zi, values as Il, keys as xt } from "lodash";
5
5
  import Vl from "react-dom";
6
6
  var Qi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
7
  function gt(e) {
@@ -37,12 +37,12 @@ function Jl() {
37
37
  if (St) return Za;
38
38
  St = 1;
39
39
  var e = de, l = Symbol.for("react.element"), i = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
40
- function b(c, r, a) {
40
+ function b(f, r, a) {
41
41
  var t, o = {}, s = null, u = null;
42
42
  a !== void 0 && (s = "" + a), r.key !== void 0 && (s = "" + r.key), r.ref !== void 0 && (u = r.ref);
43
43
  for (t in r) n.call(r, t) && !g.hasOwnProperty(t) && (o[t] = r[t]);
44
- if (c && c.defaultProps) for (t in r = c.defaultProps, r) o[t] === void 0 && (o[t] = r[t]);
45
- return { $$typeof: l, type: c, key: s, ref: u, props: o, _owner: p.current };
44
+ if (f && f.defaultProps) for (t in r = f.defaultProps, r) o[t] === void 0 && (o[t] = r[t]);
45
+ return { $$typeof: l, type: f, key: s, ref: u, props: o, _owner: p.current };
46
46
  }
47
47
  return Za.Fragment = i, Za.jsx = b, Za.jsxs = b, Za;
48
48
  }
@@ -50,8 +50,8 @@ var Ja = {};
50
50
  var Dt;
51
51
  function Kl() {
52
52
  return Dt || (Dt = 1, process.env.NODE_ENV !== "production" && (function() {
53
- var e = de, l = Symbol.for("react.element"), i = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), c = Symbol.for("react.context"), r = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), t = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), s = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), m = Symbol.iterator, d = "@@iterator";
54
- function f(h) {
53
+ var e = de, l = Symbol.for("react.element"), i = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), f = Symbol.for("react.context"), r = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), t = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), s = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), m = Symbol.iterator, d = "@@iterator";
54
+ function c(h) {
55
55
  if (h === null || typeof h != "object")
56
56
  return null;
57
57
  var z = m && h[m] || h[d];
@@ -78,7 +78,7 @@ function Kl() {
78
78
  var C = !1, v = !1, x = !1, D = !1, G = !1, H;
79
79
  H = Symbol.for("react.module.reference");
80
80
  function k(h) {
81
- return !!(typeof h == "string" || typeof h == "function" || h === n || h === g || G || h === p || h === a || h === t || D || h === u || C || v || x || typeof h == "object" && h !== null && (h.$$typeof === s || h.$$typeof === o || h.$$typeof === b || h.$$typeof === c || h.$$typeof === r || // This needs to include all possible module reference object
81
+ return !!(typeof h == "string" || typeof h == "function" || h === n || h === g || G || h === p || h === a || h === t || D || h === u || C || v || x || typeof h == "object" && h !== null && (h.$$typeof === s || h.$$typeof === o || h.$$typeof === b || h.$$typeof === f || h.$$typeof === r || // This needs to include all possible module reference object
82
82
  // types supported by any Flight configuration anywhere since
83
83
  // we don't know which Flight build this will end up being used
84
84
  // with.
@@ -117,7 +117,7 @@ function Kl() {
117
117
  }
118
118
  if (typeof h == "object")
119
119
  switch (h.$$typeof) {
120
- case c:
120
+ case f:
121
121
  var z = h;
122
122
  return F(z) + ".Consumer";
123
123
  case b:
@@ -269,14 +269,14 @@ function Kl() {
269
269
  } catch (We) {
270
270
  if (We && $ && typeof We.stack == "string") {
271
271
  for (var X = We.stack.split(`
272
- `), Ae = $.stack.split(`
273
- `), be = X.length - 1, he = Ae.length - 1; be >= 1 && he >= 0 && X[be] !== Ae[he]; )
272
+ `), Oe = $.stack.split(`
273
+ `), be = X.length - 1, he = Oe.length - 1; be >= 1 && he >= 0 && X[be] !== Oe[he]; )
274
274
  he--;
275
275
  for (; be >= 1 && he >= 0; be--, he--)
276
- if (X[be] !== Ae[he]) {
276
+ if (X[be] !== Oe[he]) {
277
277
  if (be !== 1 || he !== 1)
278
278
  do
279
- if (be--, he--, he < 0 || X[be] !== Ae[he]) {
279
+ if (be--, he--, he < 0 || X[be] !== Oe[he]) {
280
280
  var Ke = `
281
281
  ` + X[be].replace(" at new ", " at ");
282
282
  return h.displayName && Ke.includes("<anonymous>") && (Ke = Ke.replace("<anonymous>", h.displayName)), typeof h == "function" && te.set(h, Ke), Ke;
@@ -343,8 +343,8 @@ function Kl() {
343
343
  var X = void 0;
344
344
  try {
345
345
  if (typeof h[ne] != "function") {
346
- var Ae = Error(($ || "React class") + ": " + Z + " type `" + ne + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof h[ne] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
347
- throw Ae.name = "Invariant Violation", Ae;
346
+ var Oe = Error(($ || "React class") + ": " + Z + " type `" + ne + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof h[ne] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
347
+ throw Oe.name = "Invariant Violation", Oe;
348
348
  }
349
349
  X = h[ne](z, ne, $, Z, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
350
350
  } catch (be) {
@@ -456,8 +456,8 @@ function Kl() {
456
456
  };
457
457
  function Va(h, z, Z, $, me) {
458
458
  {
459
- var pe, ne = {}, X = null, Ae = null;
460
- Z !== void 0 && (xe(Z), X = "" + Z), je(z) && (xe(z.key), X = "" + z.key), Ve(z) && (Ae = z.ref, za(z, me));
459
+ var pe, ne = {}, X = null, Oe = null;
460
+ Z !== void 0 && (xe(Z), X = "" + Z), je(z) && (xe(z.key), X = "" + z.key), Ve(z) && (Oe = z.ref, za(z, me));
461
461
  for (pe in z)
462
462
  Ue.call(z, pe) && !Qe.hasOwnProperty(pe) && (ne[pe] = z[pe]);
463
463
  if (h && h.defaultProps) {
@@ -465,11 +465,11 @@ function Kl() {
465
465
  for (pe in be)
466
466
  ne[pe] === void 0 && (ne[pe] = be[pe]);
467
467
  }
468
- if (X || Ae) {
468
+ if (X || Oe) {
469
469
  var he = typeof h == "function" ? h.displayName || h.name || "Unknown" : h;
470
- X && Ea(ne, he), Ae && Na(ne, he);
470
+ X && Ea(ne, he), Oe && Na(ne, he);
471
471
  }
472
- return Ia(h, X, Ae, me, $, Re.current, ne);
472
+ return Ia(h, X, Oe, me, $, Re.current, ne);
473
473
  }
474
474
  }
475
475
  var da = y.ReactCurrentOwner, Ua = y.ReactDebugCurrentFrame;
@@ -538,7 +538,7 @@ Check the top-level render call using <` + Z + ">.");
538
538
  else if (fa(h))
539
539
  h._store && (h._store.validated = !0);
540
540
  else if (h) {
541
- var me = f(h);
541
+ var me = c(h);
542
542
  if (typeof me == "function" && me !== h.entries)
543
543
  for (var pe = me.call(h), ne; !(ne = pe.next()).done; )
544
544
  fa(ne.value) && Ra(ne.value, z);
@@ -589,8 +589,8 @@ Check the top-level render call using <` + Z + ">.");
589
589
  if (!ne) {
590
590
  var X = "";
591
591
  (h === void 0 || typeof h == "object" && h !== null && Object.keys(h).length === 0) && (X += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
592
- var Ae = Ga();
593
- Ae ? X += Ae : X += La();
592
+ var Oe = Ga();
593
+ Oe ? X += Oe : X += La();
594
594
  var be;
595
595
  h === null ? be = "null" : ve(h) ? be = "array" : h !== void 0 && h.$$typeof === l ? (be = "<" + (O(h.type) || "Unknown") + " />", X = " Did you accidentally export a JSX literal instead of a component?") : be = typeof h, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", be, X);
596
596
  }
@@ -704,7 +704,7 @@ function Lt({
704
704
  store: p,
705
705
  onError: g,
706
706
  formData: b = !1,
707
- currency: c,
707
+ currency: f,
708
708
  toasterOpen: r = !1
709
709
  } = {}) {
710
710
  const a = Hl.create({
@@ -719,7 +719,7 @@ function Lt({
719
719
  const s = await l();
720
720
  s && (t.headers.Authorization = `Bearer ${s}`);
721
721
  }
722
- const o = p?.getState()?.isWalletCurrency || c || "TWD";
722
+ const o = p?.getState()?.isWalletCurrency || f || "TWD";
723
723
  return t.headers.Currency = o, t.headers["currency-code"] = o, t.headers.lang = n, t;
724
724
  }), a.interceptors.response.use(
725
725
  (t) => t.data,
@@ -760,13 +760,13 @@ const qn = Ii(null), bm = () => {
760
760
  hostname: p = "",
761
761
  shouldRedirect: g,
762
762
  onShowError: b,
763
- onCleanup: c,
763
+ onCleanup: f,
764
764
  onRemoveToken: r,
765
765
  onRedirect: a,
766
766
  onGoogleLogout: t
767
767
  }) => {
768
768
  const o = l(p);
769
- e(n, o) && b?.(), c?.(), r?.(), g && a?.("/"), t?.();
769
+ e(n, o) && b?.(), f?.(), r?.(), g && a?.("/"), t?.();
770
770
  },
771
771
  shouldShowErrorNotice: e,
772
772
  isMachineDomain: l
@@ -789,13 +789,13 @@ const qn = Ii(null), bm = () => {
789
789
  allPlatforms: p
790
790
  }) => {
791
791
  const g = $n(n, e);
792
- return g ? l.reduce((b, c) => {
793
- const r = Qn(p, c), a = jn(p, c), t = i[g] || [], o = Yn(
792
+ return g ? l.reduce((b, f) => {
793
+ const r = Qn(p, f), a = jn(p, f), t = i[g] || [], o = Yn(
794
794
  t,
795
795
  r,
796
796
  a
797
797
  );
798
- return Ee(o) || (b[c] = o), b;
798
+ return Ee(o) || (b[f] = o), b;
799
799
  }, {}) : {};
800
800
  }, Yl = ({
801
801
  platformName: e,
@@ -815,7 +815,7 @@ function er() {
815
815
  (function(i, n) {
816
816
  e.exports = n();
817
817
  })(Xl, (function() {
818
- var i = 1e3, n = 6e4, p = 36e5, g = "millisecond", b = "second", c = "minute", r = "hour", a = "day", t = "week", o = "month", s = "quarter", u = "year", m = "date", d = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(P) {
818
+ var i = 1e3, n = 6e4, p = 36e5, g = "millisecond", b = "second", f = "minute", r = "hour", a = "day", t = "week", o = "month", s = "quarter", u = "year", m = "date", d = "Invalid Date", c = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(P) {
819
819
  var S = ["th", "st", "nd", "rd"], E = P % 100;
820
820
  return "[" + P + (S[(E - 20) % 10] || S[E] || S[0]) + "]";
821
821
  } }, U = function(P, S, E) {
@@ -831,7 +831,7 @@ function er() {
831
831
  }, a: function(P) {
832
832
  return P < 0 ? Math.ceil(P) || 0 : Math.floor(P);
833
833
  }, p: function(P) {
834
- return { M: o, y: u, w: t, d: a, D: m, h: r, m: c, s: b, ms: g, Q: s }[P] || String(P || "").toLowerCase().replace(/s$/, "");
834
+ return { M: o, y: u, w: t, d: a, D: m, h: r, m: f, s: b, ms: g, Q: s }[P] || String(P || "").toLowerCase().replace(/s$/, "");
835
835
  }, u: function(P) {
836
836
  return P === void 0;
837
837
  } }, v = "en", x = {};
@@ -871,7 +871,7 @@ function er() {
871
871
  if (T.u(w)) return /* @__PURE__ */ new Date();
872
872
  if (w instanceof Date) return new Date(w);
873
873
  if (typeof w == "string" && !/Z$/i.test(w)) {
874
- var W = w.match(f);
874
+ var W = w.match(c);
875
875
  if (W) {
876
876
  var L = W[2] - 1 || 0, N = (W[7] || "0").substring(0, 3);
877
877
  return B ? new Date(Date.UTC(W[1], L, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, N)) : new Date(W[1], L, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, N);
@@ -919,7 +919,7 @@ function er() {
919
919
  return N(q + "Hours", 0);
920
920
  case r:
921
921
  return N(q + "Minutes", 1);
922
- case c:
922
+ case f:
923
923
  return N(q + "Seconds", 2);
924
924
  case b:
925
925
  return N(q + "Milliseconds", 3);
@@ -929,7 +929,7 @@ function er() {
929
929
  }, S.endOf = function(E) {
930
930
  return this.startOf(E, !1);
931
931
  }, S.$set = function(E, M) {
932
- var w, B = T.p(E), W = "set" + (this.$u ? "UTC" : ""), L = (w = {}, w[a] = W + "Date", w[m] = W + "Date", w[o] = W + "Month", w[u] = W + "FullYear", w[r] = W + "Hours", w[c] = W + "Minutes", w[b] = W + "Seconds", w[g] = W + "Milliseconds", w)[B], N = B === a ? this.$D + (M - this.$W) : M;
932
+ var w, B = T.p(E), W = "set" + (this.$u ? "UTC" : ""), L = (w = {}, w[a] = W + "Date", w[m] = W + "Date", w[o] = W + "Month", w[u] = W + "FullYear", w[r] = W + "Hours", w[f] = W + "Minutes", w[b] = W + "Seconds", w[g] = W + "Milliseconds", w)[B], N = B === a ? this.$D + (M - this.$W) : M;
933
933
  if (B === o || B === u) {
934
934
  var A = this.clone().set(m, 1);
935
935
  A.$d[L](N), A.init(), this.$d = A.set(m, Math.min(this.$D, A.daysInMonth())).$d;
@@ -950,7 +950,7 @@ function er() {
950
950
  if (W === u) return this.set(u, this.$y + E);
951
951
  if (W === a) return L(1);
952
952
  if (W === t) return L(7);
953
- var N = (w = {}, w[c] = n, w[r] = p, w[b] = i, w)[W] || 1, A = this.$d.getTime() + E * N;
953
+ var N = (w = {}, w[f] = n, w[r] = p, w[b] = i, w)[W] || 1, A = this.$d.getTime() + E * N;
954
954
  return T.w(A, this);
955
955
  }, S.subtract = function(E, M) {
956
956
  return this.add(-1 * E, M);
@@ -1045,7 +1045,7 @@ function er() {
1045
1045
  case r:
1046
1046
  B = R / p;
1047
1047
  break;
1048
- case c:
1048
+ case f:
1049
1049
  B = R / n;
1050
1050
  break;
1051
1051
  case b:
@@ -1075,7 +1075,7 @@ function er() {
1075
1075
  return this.$d.toUTCString();
1076
1076
  }, P;
1077
1077
  })(), O = F.prototype;
1078
- return k.prototype = O, [["$ms", g], ["$s", b], ["$m", c], ["$H", r], ["$W", a], ["$M", o], ["$y", u], ["$D", m]].forEach((function(P) {
1078
+ return k.prototype = O, [["$ms", g], ["$s", b], ["$m", f], ["$H", r], ["$W", a], ["$M", o], ["$y", u], ["$D", m]].forEach((function(P) {
1079
1079
  O[P[1]] = function(S) {
1080
1080
  return this.$g(S, P[0], P[1]);
1081
1081
  };
@@ -1125,7 +1125,7 @@ function ie() {
1125
1125
  }
1126
1126
  }
1127
1127
  throw new Error("Native crypto module could not be used to get secure random number.");
1128
- }, c = Object.create || /* @__PURE__ */ (function() {
1128
+ }, f = Object.create || /* @__PURE__ */ (function() {
1129
1129
  function _() {
1130
1130
  }
1131
1131
  return function(U) {
@@ -1153,7 +1153,7 @@ function ie() {
1153
1153
  * });
1154
1154
  */
1155
1155
  extend: function(_) {
1156
- var U = c(this);
1156
+ var U = f(this);
1157
1157
  return _ && U.mixIn(_), (!U.hasOwnProperty("init") || this.init === U.init) && (U.init = function() {
1158
1158
  U.$super.init.apply(this, arguments);
1159
1159
  }), U.init.prototype = U, U.$super = this, U;
@@ -1429,7 +1429,7 @@ function ie() {
1429
1429
  parse: function(_) {
1430
1430
  return m.parse(unescape(encodeURIComponent(_)));
1431
1431
  }
1432
- }, f = a.BufferedBlockAlgorithm = t.extend({
1432
+ }, c = a.BufferedBlockAlgorithm = t.extend({
1433
1433
  /**
1434
1434
  * Resets this block algorithm's data buffer to its initial state.
1435
1435
  *
@@ -1493,7 +1493,7 @@ function ie() {
1493
1493
  },
1494
1494
  _minBufferSize: 0
1495
1495
  });
1496
- a.Hasher = f.extend({
1496
+ a.Hasher = c.extend({
1497
1497
  /**
1498
1498
  * Configuration options.
1499
1499
  */
@@ -1518,7 +1518,7 @@ function ie() {
1518
1518
  * hasher.reset();
1519
1519
  */
1520
1520
  reset: function() {
1521
- f.reset.call(this), this._doReset();
1521
+ c.reset.call(this), this._doReset();
1522
1522
  },
1523
1523
  /**
1524
1524
  * Updates this hasher with a message.
@@ -1606,7 +1606,7 @@ function Ji() {
1606
1606
  e.exports = n(ie());
1607
1607
  })(or, function(i) {
1608
1608
  return (function(n) {
1609
- var p = i, g = p.lib, b = g.Base, c = g.WordArray, r = p.x64 = {};
1609
+ var p = i, g = p.lib, b = g.Base, f = g.WordArray, r = p.x64 = {};
1610
1610
  r.Word = b.extend({
1611
1611
  /**
1612
1612
  * Initializes a newly created 64-bit word.
@@ -1808,7 +1808,7 @@ function Ji() {
1808
1808
  var u = a[s];
1809
1809
  o.push(u.high), o.push(u.low);
1810
1810
  }
1811
- return c.create(o, this.sigBytes);
1811
+ return f.create(o, this.sigBytes);
1812
1812
  },
1813
1813
  /**
1814
1814
  * Creates a copy of this word array.
@@ -1837,7 +1837,7 @@ function mr() {
1837
1837
  })(sr, function(i) {
1838
1838
  return (function() {
1839
1839
  if (typeof ArrayBuffer == "function") {
1840
- var n = i, p = n.lib, g = p.WordArray, b = g.init, c = g.init = function(r) {
1840
+ var n = i, p = n.lib, g = p.WordArray, b = g.init, f = g.init = function(r) {
1841
1841
  if (r instanceof ArrayBuffer && (r = new Uint8Array(r)), (r instanceof Int8Array || typeof Uint8ClampedArray < "u" && r instanceof Uint8ClampedArray || r instanceof Int16Array || r instanceof Uint16Array || r instanceof Int32Array || r instanceof Uint32Array || r instanceof Float32Array || r instanceof Float64Array) && (r = new Uint8Array(r.buffer, r.byteOffset, r.byteLength)), r instanceof Uint8Array) {
1842
1842
  for (var a = r.byteLength, t = [], o = 0; o < a; o++)
1843
1843
  t[o >>> 2] |= r[o] << 24 - o % 4 * 8;
@@ -1845,7 +1845,7 @@ function mr() {
1845
1845
  } else
1846
1846
  b.apply(this, arguments);
1847
1847
  };
1848
- c.prototype = g;
1848
+ f.prototype = g;
1849
1849
  }
1850
1850
  })(), i.lib.WordArray;
1851
1851
  });
@@ -1914,7 +1914,7 @@ function pr() {
1914
1914
  */
1915
1915
  stringify: function(r) {
1916
1916
  for (var a = r.words, t = r.sigBytes, o = [], s = 0; s < t; s += 2) {
1917
- var u = c(a[s >>> 2] >>> 16 - s % 4 * 8 & 65535);
1917
+ var u = f(a[s >>> 2] >>> 16 - s % 4 * 8 & 65535);
1918
1918
  o.push(String.fromCharCode(u));
1919
1919
  }
1920
1920
  return o.join("");
@@ -1934,11 +1934,11 @@ function pr() {
1934
1934
  */
1935
1935
  parse: function(r) {
1936
1936
  for (var a = r.length, t = [], o = 0; o < a; o++)
1937
- t[o >>> 1] |= c(r.charCodeAt(o) << 16 - o % 2 * 16);
1937
+ t[o >>> 1] |= f(r.charCodeAt(o) << 16 - o % 2 * 16);
1938
1938
  return g.create(t, a * 2);
1939
1939
  }
1940
1940
  };
1941
- function c(r) {
1941
+ function f(r) {
1942
1942
  return r << 8 & 4278255360 | r >>> 8 & 16711935;
1943
1943
  }
1944
1944
  })(), i.enc.Utf16;
@@ -1971,7 +1971,7 @@ function Sa() {
1971
1971
  var a = r.words, t = r.sigBytes, o = this._map;
1972
1972
  r.clamp();
1973
1973
  for (var s = [], u = 0; u < t; u += 3)
1974
- for (var m = a[u >>> 2] >>> 24 - u % 4 * 8 & 255, d = a[u + 1 >>> 2] >>> 24 - (u + 1) % 4 * 8 & 255, f = a[u + 2 >>> 2] >>> 24 - (u + 2) % 4 * 8 & 255, y = m << 16 | d << 8 | f, _ = 0; _ < 4 && u + _ * 0.75 < t; _++)
1974
+ for (var m = a[u >>> 2] >>> 24 - u % 4 * 8 & 255, d = a[u + 1 >>> 2] >>> 24 - (u + 1) % 4 * 8 & 255, c = a[u + 2 >>> 2] >>> 24 - (u + 2) % 4 * 8 & 255, y = m << 16 | d << 8 | c, _ = 0; _ < 4 && u + _ * 0.75 < t; _++)
1975
1975
  s.push(o.charAt(y >>> 6 * (3 - _) & 63));
1976
1976
  var U = o.charAt(64);
1977
1977
  if (U)
@@ -2004,15 +2004,15 @@ function Sa() {
2004
2004
  var m = r.indexOf(u);
2005
2005
  m !== -1 && (a = m);
2006
2006
  }
2007
- return c(r, a, o);
2007
+ return f(r, a, o);
2008
2008
  },
2009
2009
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
2010
2010
  };
2011
- function c(r, a, t) {
2011
+ function f(r, a, t) {
2012
2012
  for (var o = [], s = 0, u = 0; u < a; u++)
2013
2013
  if (u % 4) {
2014
- var m = t[r.charCodeAt(u - 1)] << u % 4 * 2, d = t[r.charCodeAt(u)] >>> 6 - u % 4 * 2, f = m | d;
2015
- o[s >>> 2] |= f << 24 - s % 4 * 8, s++;
2014
+ var m = t[r.charCodeAt(u - 1)] << u % 4 * 2, d = t[r.charCodeAt(u)] >>> 6 - u % 4 * 2, c = m | d;
2015
+ o[s >>> 2] |= c << 24 - s % 4 * 8, s++;
2016
2016
  }
2017
2017
  return g.create(o, s);
2018
2018
  }
@@ -2049,7 +2049,7 @@ function cr() {
2049
2049
  var t = r.words, o = r.sigBytes, s = a ? this._safe_map : this._map;
2050
2050
  r.clamp();
2051
2051
  for (var u = [], m = 0; m < o; m += 3)
2052
- for (var d = t[m >>> 2] >>> 24 - m % 4 * 8 & 255, f = t[m + 1 >>> 2] >>> 24 - (m + 1) % 4 * 8 & 255, y = t[m + 2 >>> 2] >>> 24 - (m + 2) % 4 * 8 & 255, _ = d << 16 | f << 8 | y, U = 0; U < 4 && m + U * 0.75 < o; U++)
2052
+ for (var d = t[m >>> 2] >>> 24 - m % 4 * 8 & 255, c = t[m + 1 >>> 2] >>> 24 - (m + 1) % 4 * 8 & 255, y = t[m + 2 >>> 2] >>> 24 - (m + 2) % 4 * 8 & 255, _ = d << 16 | c << 8 | y, U = 0; U < 4 && m + U * 0.75 < o; U++)
2053
2053
  u.push(s.charAt(_ >>> 6 * (3 - U) & 63));
2054
2054
  var C = s.charAt(64);
2055
2055
  if (C)
@@ -2085,16 +2085,16 @@ function cr() {
2085
2085
  var d = r.indexOf(m);
2086
2086
  d !== -1 && (t = d);
2087
2087
  }
2088
- return c(r, t, s);
2088
+ return f(r, t, s);
2089
2089
  },
2090
2090
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
2091
2091
  _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
2092
2092
  };
2093
- function c(r, a, t) {
2093
+ function f(r, a, t) {
2094
2094
  for (var o = [], s = 0, u = 0; u < a; u++)
2095
2095
  if (u % 4) {
2096
- var m = t[r.charCodeAt(u - 1)] << u % 4 * 2, d = t[r.charCodeAt(u)] >>> 6 - u % 4 * 2, f = m | d;
2097
- o[s >>> 2] |= f << 24 - s % 4 * 8, s++;
2096
+ var m = t[r.charCodeAt(u - 1)] << u % 4 * 2, d = t[r.charCodeAt(u)] >>> 6 - u % 4 * 2, c = m | d;
2097
+ o[s >>> 2] |= c << 24 - s % 4 * 8, s++;
2098
2098
  }
2099
2099
  return g.create(o, s);
2100
2100
  }
@@ -2109,12 +2109,12 @@ function Da() {
2109
2109
  e.exports = n(ie());
2110
2110
  })(fr, function(i) {
2111
2111
  return (function(n) {
2112
- var p = i, g = p.lib, b = g.WordArray, c = g.Hasher, r = p.algo, a = [];
2112
+ var p = i, g = p.lib, b = g.WordArray, f = g.Hasher, r = p.algo, a = [];
2113
2113
  (function() {
2114
2114
  for (var d = 0; d < 64; d++)
2115
2115
  a[d] = n.abs(n.sin(d + 1)) * 4294967296 | 0;
2116
2116
  })();
2117
- var t = r.MD5 = c.extend({
2117
+ var t = r.MD5 = f.extend({
2118
2118
  _doReset: function() {
2119
2119
  this._hash = new b.init([
2120
2120
  1732584193,
@@ -2123,19 +2123,19 @@ function Da() {
2123
2123
  271733878
2124
2124
  ]);
2125
2125
  },
2126
- _doProcessBlock: function(d, f) {
2126
+ _doProcessBlock: function(d, c) {
2127
2127
  for (var y = 0; y < 16; y++) {
2128
- var _ = f + y, U = d[_];
2128
+ var _ = c + y, U = d[_];
2129
2129
  d[_] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360;
2130
2130
  }
2131
- var C = this._hash.words, v = d[f + 0], x = d[f + 1], D = d[f + 2], G = d[f + 3], H = d[f + 4], k = d[f + 5], T = d[f + 6], F = d[f + 7], O = d[f + 8], P = d[f + 9], S = d[f + 10], E = d[f + 11], M = d[f + 12], w = d[f + 13], B = d[f + 14], W = d[f + 15], L = C[0], N = C[1], A = C[2], R = C[3];
2131
+ var C = this._hash.words, v = d[c + 0], x = d[c + 1], D = d[c + 2], G = d[c + 3], H = d[c + 4], k = d[c + 5], T = d[c + 6], F = d[c + 7], O = d[c + 8], P = d[c + 9], S = d[c + 10], E = d[c + 11], M = d[c + 12], w = d[c + 13], B = d[c + 14], W = d[c + 15], L = C[0], N = C[1], A = C[2], R = C[3];
2132
2132
  L = o(L, N, A, R, v, 7, a[0]), R = o(R, L, N, A, x, 12, a[1]), A = o(A, R, L, N, D, 17, a[2]), N = o(N, A, R, L, G, 22, a[3]), L = o(L, N, A, R, H, 7, a[4]), R = o(R, L, N, A, k, 12, a[5]), A = o(A, R, L, N, T, 17, a[6]), N = o(N, A, R, L, F, 22, a[7]), L = o(L, N, A, R, O, 7, a[8]), R = o(R, L, N, A, P, 12, a[9]), A = o(A, R, L, N, S, 17, a[10]), N = o(N, A, R, L, E, 22, a[11]), L = o(L, N, A, R, M, 7, a[12]), R = o(R, L, N, A, w, 12, a[13]), A = o(A, R, L, N, B, 17, a[14]), N = o(N, A, R, L, W, 22, a[15]), L = s(L, N, A, R, x, 5, a[16]), R = s(R, L, N, A, T, 9, a[17]), A = s(A, R, L, N, E, 14, a[18]), N = s(N, A, R, L, v, 20, a[19]), L = s(L, N, A, R, k, 5, a[20]), R = s(R, L, N, A, S, 9, a[21]), A = s(A, R, L, N, W, 14, a[22]), N = s(N, A, R, L, H, 20, a[23]), L = s(L, N, A, R, P, 5, a[24]), R = s(R, L, N, A, B, 9, a[25]), A = s(A, R, L, N, G, 14, a[26]), N = s(N, A, R, L, O, 20, a[27]), L = s(L, N, A, R, w, 5, a[28]), R = s(R, L, N, A, D, 9, a[29]), A = s(A, R, L, N, F, 14, a[30]), N = s(N, A, R, L, M, 20, a[31]), L = u(L, N, A, R, k, 4, a[32]), R = u(R, L, N, A, O, 11, a[33]), A = u(A, R, L, N, E, 16, a[34]), N = u(N, A, R, L, B, 23, a[35]), L = u(L, N, A, R, x, 4, a[36]), R = u(R, L, N, A, H, 11, a[37]), A = u(A, R, L, N, F, 16, a[38]), N = u(N, A, R, L, S, 23, a[39]), L = u(L, N, A, R, w, 4, a[40]), R = u(R, L, N, A, v, 11, a[41]), A = u(A, R, L, N, G, 16, a[42]), N = u(N, A, R, L, T, 23, a[43]), L = u(L, N, A, R, P, 4, a[44]), R = u(R, L, N, A, M, 11, a[45]), A = u(A, R, L, N, W, 16, a[46]), N = u(N, A, R, L, D, 23, a[47]), L = m(L, N, A, R, v, 6, a[48]), R = m(R, L, N, A, F, 10, a[49]), A = m(A, R, L, N, B, 15, a[50]), N = m(N, A, R, L, k, 21, a[51]), L = m(L, N, A, R, M, 6, a[52]), R = m(R, L, N, A, G, 10, a[53]), A = m(A, R, L, N, S, 15, a[54]), N = m(N, A, R, L, x, 21, a[55]), L = m(L, N, A, R, O, 6, a[56]), R = m(R, L, N, A, W, 10, a[57]), A = m(A, R, L, N, T, 15, a[58]), N = m(N, A, R, L, w, 21, a[59]), L = m(L, N, A, R, H, 6, a[60]), R = m(R, L, N, A, E, 10, a[61]), A = m(A, R, L, N, D, 15, a[62]), N = m(N, A, R, L, P, 21, a[63]), C[0] = C[0] + L | 0, C[1] = C[1] + N | 0, C[2] = C[2] + A | 0, C[3] = C[3] + R | 0;
2133
2133
  },
2134
2134
  _doFinalize: function() {
2135
- var d = this._data, f = d.words, y = this._nDataBytes * 8, _ = d.sigBytes * 8;
2136
- f[_ >>> 5] |= 128 << 24 - _ % 32;
2135
+ var d = this._data, c = d.words, y = this._nDataBytes * 8, _ = d.sigBytes * 8;
2136
+ c[_ >>> 5] |= 128 << 24 - _ % 32;
2137
2137
  var U = n.floor(y / 4294967296), C = y;
2138
- f[(_ + 64 >>> 9 << 4) + 15] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, f[(_ + 64 >>> 9 << 4) + 14] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, d.sigBytes = (f.length + 1) * 4, this._process();
2138
+ c[(_ + 64 >>> 9 << 4) + 15] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, c[(_ + 64 >>> 9 << 4) + 14] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, d.sigBytes = (c.length + 1) * 4, this._process();
2139
2139
  for (var v = this._hash, x = v.words, D = 0; D < 4; D++) {
2140
2140
  var G = x[D];
2141
2141
  x[D] = (G << 8 | G >>> 24) & 16711935 | (G << 24 | G >>> 8) & 4278255360;
@@ -2143,27 +2143,27 @@ function Da() {
2143
2143
  return v;
2144
2144
  },
2145
2145
  clone: function() {
2146
- var d = c.clone.call(this);
2146
+ var d = f.clone.call(this);
2147
2147
  return d._hash = this._hash.clone(), d;
2148
2148
  }
2149
2149
  });
2150
- function o(d, f, y, _, U, C, v) {
2151
- var x = d + (f & y | ~f & _) + U + v;
2152
- return (x << C | x >>> 32 - C) + f;
2150
+ function o(d, c, y, _, U, C, v) {
2151
+ var x = d + (c & y | ~c & _) + U + v;
2152
+ return (x << C | x >>> 32 - C) + c;
2153
2153
  }
2154
- function s(d, f, y, _, U, C, v) {
2155
- var x = d + (f & _ | y & ~_) + U + v;
2156
- return (x << C | x >>> 32 - C) + f;
2154
+ function s(d, c, y, _, U, C, v) {
2155
+ var x = d + (c & _ | y & ~_) + U + v;
2156
+ return (x << C | x >>> 32 - C) + c;
2157
2157
  }
2158
- function u(d, f, y, _, U, C, v) {
2159
- var x = d + (f ^ y ^ _) + U + v;
2160
- return (x << C | x >>> 32 - C) + f;
2158
+ function u(d, c, y, _, U, C, v) {
2159
+ var x = d + (c ^ y ^ _) + U + v;
2160
+ return (x << C | x >>> 32 - C) + c;
2161
2161
  }
2162
- function m(d, f, y, _, U, C, v) {
2163
- var x = d + (y ^ (f | ~_)) + U + v;
2164
- return (x << C | x >>> 32 - C) + f;
2162
+ function m(d, c, y, _, U, C, v) {
2163
+ var x = d + (y ^ (c | ~_)) + U + v;
2164
+ return (x << C | x >>> 32 - C) + c;
2165
2165
  }
2166
- p.MD5 = c._createHelper(t), p.HmacMD5 = c._createHmacHelper(t);
2166
+ p.MD5 = f._createHelper(t), p.HmacMD5 = f._createHmacHelper(t);
2167
2167
  })(Math), i.MD5;
2168
2168
  });
2169
2169
  })(gi)), gi.exports;
@@ -2175,7 +2175,7 @@ function Xn() {
2175
2175
  e.exports = n(ie());
2176
2176
  })(_r, function(i) {
2177
2177
  return (function() {
2178
- var n = i, p = n.lib, g = p.WordArray, b = p.Hasher, c = n.algo, r = [], a = c.SHA1 = b.extend({
2178
+ var n = i, p = n.lib, g = p.WordArray, b = p.Hasher, f = n.algo, r = [], a = f.SHA1 = b.extend({
2179
2179
  _doReset: function() {
2180
2180
  this._hash = new g.init([
2181
2181
  1732584193,
@@ -2186,7 +2186,7 @@ function Xn() {
2186
2186
  ]);
2187
2187
  },
2188
2188
  _doProcessBlock: function(t, o) {
2189
- for (var s = this._hash.words, u = s[0], m = s[1], d = s[2], f = s[3], y = s[4], _ = 0; _ < 80; _++) {
2189
+ for (var s = this._hash.words, u = s[0], m = s[1], d = s[2], c = s[3], y = s[4], _ = 0; _ < 80; _++) {
2190
2190
  if (_ < 16)
2191
2191
  r[_] = t[o + _] | 0;
2192
2192
  else {
@@ -2194,9 +2194,9 @@ function Xn() {
2194
2194
  r[_] = U << 1 | U >>> 31;
2195
2195
  }
2196
2196
  var C = (u << 5 | u >>> 27) + y + r[_];
2197
- _ < 20 ? C += (m & d | ~m & f) + 1518500249 : _ < 40 ? C += (m ^ d ^ f) + 1859775393 : _ < 60 ? C += (m & d | m & f | d & f) - 1894007588 : C += (m ^ d ^ f) - 899497514, y = f, f = d, d = m << 30 | m >>> 2, m = u, u = C;
2197
+ _ < 20 ? C += (m & d | ~m & c) + 1518500249 : _ < 40 ? C += (m ^ d ^ c) + 1859775393 : _ < 60 ? C += (m & d | m & c | d & c) - 1894007588 : C += (m ^ d ^ c) - 899497514, y = c, c = d, d = m << 30 | m >>> 2, m = u, u = C;
2198
2198
  }
2199
- s[0] = s[0] + u | 0, s[1] = s[1] + m | 0, s[2] = s[2] + d | 0, s[3] = s[3] + f | 0, s[4] = s[4] + y | 0;
2199
+ s[0] = s[0] + u | 0, s[1] = s[1] + m | 0, s[2] = s[2] + d | 0, s[3] = s[3] + c | 0, s[4] = s[4] + y | 0;
2200
2200
  },
2201
2201
  _doFinalize: function() {
2202
2202
  var t = this._data, o = t.words, s = this._nDataBytes * 8, u = t.sigBytes * 8;
@@ -2219,7 +2219,7 @@ function dt() {
2219
2219
  e.exports = n(ie());
2220
2220
  })(yr, function(i) {
2221
2221
  return (function(n) {
2222
- var p = i, g = p.lib, b = g.WordArray, c = g.Hasher, r = p.algo, a = [], t = [];
2222
+ var p = i, g = p.lib, b = g.WordArray, f = g.Hasher, r = p.algo, a = [], t = [];
2223
2223
  (function() {
2224
2224
  function u(y) {
2225
2225
  for (var _ = n.sqrt(y), U = 2; U <= _; U++)
@@ -2230,36 +2230,36 @@ function dt() {
2230
2230
  function m(y) {
2231
2231
  return (y - (y | 0)) * 4294967296 | 0;
2232
2232
  }
2233
- for (var d = 2, f = 0; f < 64; )
2234
- u(d) && (f < 8 && (a[f] = m(n.pow(d, 1 / 2))), t[f] = m(n.pow(d, 1 / 3)), f++), d++;
2233
+ for (var d = 2, c = 0; c < 64; )
2234
+ u(d) && (c < 8 && (a[c] = m(n.pow(d, 1 / 2))), t[c] = m(n.pow(d, 1 / 3)), c++), d++;
2235
2235
  })();
2236
- var o = [], s = r.SHA256 = c.extend({
2236
+ var o = [], s = r.SHA256 = f.extend({
2237
2237
  _doReset: function() {
2238
2238
  this._hash = new b.init(a.slice(0));
2239
2239
  },
2240
2240
  _doProcessBlock: function(u, m) {
2241
- for (var d = this._hash.words, f = d[0], y = d[1], _ = d[2], U = d[3], C = d[4], v = d[5], x = d[6], D = d[7], G = 0; G < 64; G++) {
2241
+ for (var d = this._hash.words, c = d[0], y = d[1], _ = d[2], U = d[3], C = d[4], v = d[5], x = d[6], D = d[7], G = 0; G < 64; G++) {
2242
2242
  if (G < 16)
2243
2243
  o[G] = u[m + G] | 0;
2244
2244
  else {
2245
2245
  var H = o[G - 15], k = (H << 25 | H >>> 7) ^ (H << 14 | H >>> 18) ^ H >>> 3, T = o[G - 2], F = (T << 15 | T >>> 17) ^ (T << 13 | T >>> 19) ^ T >>> 10;
2246
2246
  o[G] = k + o[G - 7] + F + o[G - 16];
2247
2247
  }
2248
- var O = C & v ^ ~C & x, P = f & y ^ f & _ ^ y & _, S = (f << 30 | f >>> 2) ^ (f << 19 | f >>> 13) ^ (f << 10 | f >>> 22), E = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), M = D + E + O + t[G] + o[G], w = S + P;
2249
- D = x, x = v, v = C, C = U + M | 0, U = _, _ = y, y = f, f = M + w | 0;
2248
+ var O = C & v ^ ~C & x, P = c & y ^ c & _ ^ y & _, S = (c << 30 | c >>> 2) ^ (c << 19 | c >>> 13) ^ (c << 10 | c >>> 22), E = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), M = D + E + O + t[G] + o[G], w = S + P;
2249
+ D = x, x = v, v = C, C = U + M | 0, U = _, _ = y, y = c, c = M + w | 0;
2250
2250
  }
2251
- d[0] = d[0] + f | 0, d[1] = d[1] + y | 0, d[2] = d[2] + _ | 0, d[3] = d[3] + U | 0, d[4] = d[4] + C | 0, d[5] = d[5] + v | 0, d[6] = d[6] + x | 0, d[7] = d[7] + D | 0;
2251
+ d[0] = d[0] + c | 0, d[1] = d[1] + y | 0, d[2] = d[2] + _ | 0, d[3] = d[3] + U | 0, d[4] = d[4] + C | 0, d[5] = d[5] + v | 0, d[6] = d[6] + x | 0, d[7] = d[7] + D | 0;
2252
2252
  },
2253
2253
  _doFinalize: function() {
2254
- var u = this._data, m = u.words, d = this._nDataBytes * 8, f = u.sigBytes * 8;
2255
- return m[f >>> 5] |= 128 << 24 - f % 32, m[(f + 64 >>> 9 << 4) + 14] = n.floor(d / 4294967296), m[(f + 64 >>> 9 << 4) + 15] = d, u.sigBytes = m.length * 4, this._process(), this._hash;
2254
+ var u = this._data, m = u.words, d = this._nDataBytes * 8, c = u.sigBytes * 8;
2255
+ return m[c >>> 5] |= 128 << 24 - c % 32, m[(c + 64 >>> 9 << 4) + 14] = n.floor(d / 4294967296), m[(c + 64 >>> 9 << 4) + 15] = d, u.sigBytes = m.length * 4, this._process(), this._hash;
2256
2256
  },
2257
2257
  clone: function() {
2258
- var u = c.clone.call(this);
2258
+ var u = f.clone.call(this);
2259
2259
  return u._hash = this._hash.clone(), u;
2260
2260
  }
2261
2261
  });
2262
- p.SHA256 = c._createHelper(s), p.HmacSHA256 = c._createHmacHelper(s);
2262
+ p.SHA256 = f._createHelper(s), p.HmacSHA256 = f._createHmacHelper(s);
2263
2263
  })(Math), i.SHA256;
2264
2264
  });
2265
2265
  })(ci)), ci.exports;
@@ -2271,7 +2271,7 @@ function br() {
2271
2271
  e.exports = n(ie(), dt());
2272
2272
  })(Ur, function(i) {
2273
2273
  return (function() {
2274
- var n = i, p = n.lib, g = p.WordArray, b = n.algo, c = b.SHA256, r = b.SHA224 = c.extend({
2274
+ var n = i, p = n.lib, g = p.WordArray, b = n.algo, f = b.SHA256, r = b.SHA224 = f.extend({
2275
2275
  _doReset: function() {
2276
2276
  this._hash = new g.init([
2277
2277
  3238371032,
@@ -2285,11 +2285,11 @@ function br() {
2285
2285
  ]);
2286
2286
  },
2287
2287
  _doFinalize: function() {
2288
- var a = c._doFinalize.call(this);
2288
+ var a = f._doFinalize.call(this);
2289
2289
  return a.sigBytes -= 4, a;
2290
2290
  }
2291
2291
  });
2292
- n.SHA224 = c._createHelper(r), n.HmacSHA224 = c._createHmacHelper(r);
2292
+ n.SHA224 = f._createHelper(r), n.HmacSHA224 = f._createHmacHelper(r);
2293
2293
  })(), i.SHA224;
2294
2294
  });
2295
2295
  })(fi)), fi.exports;
@@ -2301,9 +2301,9 @@ function el() {
2301
2301
  e.exports = n(ie(), Ji());
2302
2302
  })(Cr, function(i) {
2303
2303
  return (function() {
2304
- var n = i, p = n.lib, g = p.Hasher, b = n.x64, c = b.Word, r = b.WordArray, a = n.algo;
2304
+ var n = i, p = n.lib, g = p.Hasher, b = n.x64, f = b.Word, r = b.WordArray, a = n.algo;
2305
2305
  function t() {
2306
- return c.create.apply(c, arguments);
2306
+ return f.create.apply(f, arguments);
2307
2307
  }
2308
2308
  var o = [
2309
2309
  t(1116352408, 3609767458),
@@ -2394,18 +2394,18 @@ function el() {
2394
2394
  var u = a.SHA512 = g.extend({
2395
2395
  _doReset: function() {
2396
2396
  this._hash = new r.init([
2397
- new c.init(1779033703, 4089235720),
2398
- new c.init(3144134277, 2227873595),
2399
- new c.init(1013904242, 4271175723),
2400
- new c.init(2773480762, 1595750129),
2401
- new c.init(1359893119, 2917565137),
2402
- new c.init(2600822924, 725511199),
2403
- new c.init(528734635, 4215389547),
2404
- new c.init(1541459225, 327033209)
2397
+ new f.init(1779033703, 4089235720),
2398
+ new f.init(3144134277, 2227873595),
2399
+ new f.init(1013904242, 4271175723),
2400
+ new f.init(2773480762, 1595750129),
2401
+ new f.init(1359893119, 2917565137),
2402
+ new f.init(2600822924, 725511199),
2403
+ new f.init(528734635, 4215389547),
2404
+ new f.init(1541459225, 327033209)
2405
2405
  ]);
2406
2406
  },
2407
2407
  _doProcessBlock: function(m, d) {
2408
- for (var f = this._hash.words, y = f[0], _ = f[1], U = f[2], C = f[3], v = f[4], x = f[5], D = f[6], G = f[7], H = y.high, k = y.low, T = _.high, F = _.low, O = U.high, P = U.low, S = C.high, E = C.low, M = v.high, w = v.low, B = x.high, W = x.low, L = D.high, N = D.low, A = G.high, R = G.low, K = H, q = k, Q = T, J = F, ae = O, te = P, _e = S, ye = E, se = M, ce = w, ke = B, Ue = W, Ie = L, Ce = N, Ge = A, ea = R, Me = 0; Me < 80; Me++) {
2408
+ for (var c = this._hash.words, y = c[0], _ = c[1], U = c[2], C = c[3], v = c[4], x = c[5], D = c[6], G = c[7], H = y.high, k = y.low, T = _.high, F = _.low, O = U.high, P = U.low, S = C.high, E = C.low, M = v.high, w = v.low, B = x.high, W = x.low, L = D.high, N = D.low, A = G.high, R = G.low, K = H, q = k, Q = T, J = F, ae = O, te = P, _e = S, ye = E, se = M, ce = w, ke = B, Ue = W, Ie = L, Ce = N, Ge = A, ea = R, Me = 0; Me < 80; Me++) {
2409
2409
  var ve, He, aa = s[Me];
2410
2410
  if (Me < 16)
2411
2411
  He = aa.high = m[d + Me * 2] | 0, ve = aa.low = m[d + Me * 2 + 1] | 0;
@@ -2419,8 +2419,8 @@ function el() {
2419
2419
  k = y.low = k + q, y.high = H + K + (k >>> 0 < q >>> 0 ? 1 : 0), F = _.low = F + J, _.high = T + Q + (F >>> 0 < J >>> 0 ? 1 : 0), P = U.low = P + te, U.high = O + ae + (P >>> 0 < te >>> 0 ? 1 : 0), E = C.low = E + ye, C.high = S + _e + (E >>> 0 < ye >>> 0 ? 1 : 0), w = v.low = w + ce, v.high = M + se + (w >>> 0 < ce >>> 0 ? 1 : 0), W = x.low = W + Ue, x.high = B + ke + (W >>> 0 < Ue >>> 0 ? 1 : 0), N = D.low = N + Ce, D.high = L + Ie + (N >>> 0 < Ce >>> 0 ? 1 : 0), R = G.low = R + ea, G.high = A + Ge + (R >>> 0 < ea >>> 0 ? 1 : 0);
2420
2420
  },
2421
2421
  _doFinalize: function() {
2422
- var m = this._data, d = m.words, f = this._nDataBytes * 8, y = m.sigBytes * 8;
2423
- d[y >>> 5] |= 128 << 24 - y % 32, d[(y + 128 >>> 10 << 5) + 30] = Math.floor(f / 4294967296), d[(y + 128 >>> 10 << 5) + 31] = f, m.sigBytes = d.length * 4, this._process();
2422
+ var m = this._data, d = m.words, c = this._nDataBytes * 8, y = m.sigBytes * 8;
2423
+ d[y >>> 5] |= 128 << 24 - y % 32, d[(y + 128 >>> 10 << 5) + 30] = Math.floor(c / 4294967296), d[(y + 128 >>> 10 << 5) + 31] = c, m.sigBytes = d.length * 4, this._process();
2424
2424
  var _ = this._hash.toX32();
2425
2425
  return _;
2426
2426
  },
@@ -2442,7 +2442,7 @@ function hr() {
2442
2442
  e.exports = n(ie(), Ji(), el());
2443
2443
  })(vr, function(i) {
2444
2444
  return (function() {
2445
- var n = i, p = n.x64, g = p.Word, b = p.WordArray, c = n.algo, r = c.SHA512, a = c.SHA384 = r.extend({
2445
+ var n = i, p = n.x64, g = p.Word, b = p.WordArray, f = n.algo, r = f.SHA512, a = f.SHA384 = r.extend({
2446
2446
  _doReset: function() {
2447
2447
  this._hash = new b.init([
2448
2448
  new g.init(3418070365, 3238371032),
@@ -2472,16 +2472,16 @@ function kr() {
2472
2472
  e.exports = n(ie(), Ji());
2473
2473
  })(Tr, function(i) {
2474
2474
  return (function(n) {
2475
- var p = i, g = p.lib, b = g.WordArray, c = g.Hasher, r = p.x64, a = r.Word, t = p.algo, o = [], s = [], u = [];
2475
+ var p = i, g = p.lib, b = g.WordArray, f = g.Hasher, r = p.x64, a = r.Word, t = p.algo, o = [], s = [], u = [];
2476
2476
  (function() {
2477
- for (var f = 1, y = 0, _ = 0; _ < 24; _++) {
2478
- o[f + 5 * y] = (_ + 1) * (_ + 2) / 2 % 64;
2479
- var U = y % 5, C = (2 * f + 3 * y) % 5;
2480
- f = U, y = C;
2477
+ for (var c = 1, y = 0, _ = 0; _ < 24; _++) {
2478
+ o[c + 5 * y] = (_ + 1) * (_ + 2) / 2 % 64;
2479
+ var U = y % 5, C = (2 * c + 3 * y) % 5;
2480
+ c = U, y = C;
2481
2481
  }
2482
- for (var f = 0; f < 5; f++)
2482
+ for (var c = 0; c < 5; c++)
2483
2483
  for (var y = 0; y < 5; y++)
2484
- s[f + 5 * y] = y + (2 * f + 3 * y) % 5 * 5;
2484
+ s[c + 5 * y] = y + (2 * c + 3 * y) % 5 * 5;
2485
2485
  for (var v = 1, x = 0; x < 24; x++) {
2486
2486
  for (var D = 0, G = 0, H = 0; H < 7; H++) {
2487
2487
  if (v & 1) {
@@ -2495,10 +2495,10 @@ function kr() {
2495
2495
  })();
2496
2496
  var m = [];
2497
2497
  (function() {
2498
- for (var f = 0; f < 25; f++)
2499
- m[f] = a.create();
2498
+ for (var c = 0; c < 25; c++)
2499
+ m[c] = a.create();
2500
2500
  })();
2501
- var d = t.SHA3 = c.extend({
2501
+ var d = t.SHA3 = f.extend({
2502
2502
  /**
2503
2503
  * Configuration options.
2504
2504
  *
@@ -2507,17 +2507,17 @@ function kr() {
2507
2507
  * Only values permitted are: 224, 256, 384, 512.
2508
2508
  * Default: 512
2509
2509
  */
2510
- cfg: c.cfg.extend({
2510
+ cfg: f.cfg.extend({
2511
2511
  outputLength: 512
2512
2512
  }),
2513
2513
  _doReset: function() {
2514
- for (var f = this._state = [], y = 0; y < 25; y++)
2515
- f[y] = new a.init();
2514
+ for (var c = this._state = [], y = 0; y < 25; y++)
2515
+ c[y] = new a.init();
2516
2516
  this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
2517
2517
  },
2518
- _doProcessBlock: function(f, y) {
2518
+ _doProcessBlock: function(c, y) {
2519
2519
  for (var _ = this._state, U = this.blockSize / 2, C = 0; C < U; C++) {
2520
- var v = f[y + 2 * C], x = f[y + 2 * C + 1];
2520
+ var v = c[y + 2 * C], x = c[y + 2 * C + 1];
2521
2521
  v = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, x = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360;
2522
2522
  var D = _[C];
2523
2523
  D.high ^= x, D.low ^= v;
@@ -2554,10 +2554,10 @@ function kr() {
2554
2554
  }
2555
2555
  },
2556
2556
  _doFinalize: function() {
2557
- var f = this._data, y = f.words;
2557
+ var c = this._data, y = c.words;
2558
2558
  this._nDataBytes * 8;
2559
- var _ = f.sigBytes * 8, U = this.blockSize * 32;
2560
- y[_ >>> 5] |= 1 << 24 - _ % 32, y[(n.ceil((_ + 1) / U) * U >>> 5) - 1] |= 128, f.sigBytes = y.length * 4, this._process();
2559
+ var _ = c.sigBytes * 8, U = this.blockSize * 32;
2560
+ y[_ >>> 5] |= 1 << 24 - _ % 32, y[(n.ceil((_ + 1) / U) * U >>> 5) - 1] |= 128, c.sigBytes = y.length * 4, this._process();
2561
2561
  for (var C = this._state, v = this.cfg.outputLength / 8, x = v / 8, D = [], G = 0; G < x; G++) {
2562
2562
  var H = C[G], k = H.high, T = H.low;
2563
2563
  k = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360, T = (T << 8 | T >>> 24) & 16711935 | (T << 24 | T >>> 8) & 4278255360, D.push(T), D.push(k);
@@ -2565,12 +2565,12 @@ function kr() {
2565
2565
  return new b.init(D, v);
2566
2566
  },
2567
2567
  clone: function() {
2568
- for (var f = c.clone.call(this), y = f._state = this._state.slice(0), _ = 0; _ < 25; _++)
2568
+ for (var c = f.clone.call(this), y = c._state = this._state.slice(0), _ = 0; _ < 25; _++)
2569
2569
  y[_] = y[_].clone();
2570
- return f;
2570
+ return c;
2571
2571
  }
2572
2572
  });
2573
- p.SHA3 = c._createHelper(d), p.HmacSHA3 = c._createHmacHelper(d);
2573
+ p.SHA3 = f._createHelper(d), p.HmacSHA3 = f._createHmacHelper(d);
2574
2574
  })(Math), i.SHA3;
2575
2575
  });
2576
2576
  })(Ui)), Ui.exports;
@@ -2582,7 +2582,7 @@ function Sr() {
2582
2582
  e.exports = n(ie());
2583
2583
  })(xr, function(i) {
2584
2584
  return (function(n) {
2585
- var p = i, g = p.lib, b = g.WordArray, c = g.Hasher, r = p.algo, a = b.create([
2585
+ var p = i, g = p.lib, b = g.WordArray, f = g.Hasher, r = p.algo, a = b.create([
2586
2586
  0,
2587
2587
  1,
2588
2588
  2,
@@ -2906,7 +2906,7 @@ function Sr() {
2906
2906
  13,
2907
2907
  11,
2908
2908
  11
2909
- ]), u = b.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), m = b.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), d = r.RIPEMD160 = c.extend({
2909
+ ]), u = b.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), m = b.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), d = r.RIPEMD160 = f.extend({
2910
2910
  _doReset: function() {
2911
2911
  this._hash = b.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
2912
2912
  },
@@ -2918,7 +2918,7 @@ function Sr() {
2918
2918
  var T = this._hash.words, F = u.words, O = m.words, P = a.words, S = t.words, E = o.words, M = s.words, w, B, W, L, N, A, R, K, q, Q;
2919
2919
  A = w = T[0], R = B = T[1], K = W = T[2], q = L = T[3], Q = N = T[4];
2920
2920
  for (var J, G = 0; G < 80; G += 1)
2921
- J = w + x[D + P[G]] | 0, G < 16 ? J += f(B, W, L) + F[0] : G < 32 ? J += y(B, W, L) + F[1] : G < 48 ? J += _(B, W, L) + F[2] : G < 64 ? J += U(B, W, L) + F[3] : J += C(B, W, L) + F[4], J = J | 0, J = v(J, E[G]), J = J + N | 0, w = N, N = L, L = v(W, 10), W = B, B = J, J = A + x[D + S[G]] | 0, G < 16 ? J += C(R, K, q) + O[0] : G < 32 ? J += U(R, K, q) + O[1] : G < 48 ? J += _(R, K, q) + O[2] : G < 64 ? J += y(R, K, q) + O[3] : J += f(R, K, q) + O[4], J = J | 0, J = v(J, M[G]), J = J + Q | 0, A = Q, Q = q, q = v(K, 10), K = R, R = J;
2921
+ J = w + x[D + P[G]] | 0, G < 16 ? J += c(B, W, L) + F[0] : G < 32 ? J += y(B, W, L) + F[1] : G < 48 ? J += _(B, W, L) + F[2] : G < 64 ? J += U(B, W, L) + F[3] : J += C(B, W, L) + F[4], J = J | 0, J = v(J, E[G]), J = J + N | 0, w = N, N = L, L = v(W, 10), W = B, B = J, J = A + x[D + S[G]] | 0, G < 16 ? J += C(R, K, q) + O[0] : G < 32 ? J += U(R, K, q) + O[1] : G < 48 ? J += _(R, K, q) + O[2] : G < 64 ? J += y(R, K, q) + O[3] : J += c(R, K, q) + O[4], J = J | 0, J = v(J, M[G]), J = J + Q | 0, A = Q, Q = q, q = v(K, 10), K = R, R = J;
2922
2922
  J = T[1] + W + q | 0, T[1] = T[2] + L + Q | 0, T[2] = T[3] + N + A | 0, T[3] = T[4] + w + R | 0, T[4] = T[0] + B + K | 0, T[0] = J;
2923
2923
  },
2924
2924
  _doFinalize: function() {
@@ -2931,11 +2931,11 @@ function Sr() {
2931
2931
  return k;
2932
2932
  },
2933
2933
  clone: function() {
2934
- var x = c.clone.call(this);
2934
+ var x = f.clone.call(this);
2935
2935
  return x._hash = this._hash.clone(), x;
2936
2936
  }
2937
2937
  });
2938
- function f(x, D, G) {
2938
+ function c(x, D, G) {
2939
2939
  return x ^ D ^ G;
2940
2940
  }
2941
2941
  function y(x, D, G) {
@@ -2953,7 +2953,7 @@ function Sr() {
2953
2953
  function v(x, D) {
2954
2954
  return x << D | x >>> 32 - D;
2955
2955
  }
2956
- p.RIPEMD160 = c._createHelper(d), p.HmacRIPEMD160 = c._createHmacHelper(d);
2956
+ p.RIPEMD160 = f._createHelper(d), p.HmacRIPEMD160 = f._createHmacHelper(d);
2957
2957
  })(), i.RIPEMD160;
2958
2958
  });
2959
2959
  })(bi)), bi.exports;
@@ -2965,7 +2965,7 @@ function ct() {
2965
2965
  e.exports = n(ie());
2966
2966
  })(Dr, function(i) {
2967
2967
  (function() {
2968
- var n = i, p = n.lib, g = p.Base, b = n.enc, c = b.Utf8, r = n.algo;
2968
+ var n = i, p = n.lib, g = p.Base, b = n.enc, f = b.Utf8, r = n.algo;
2969
2969
  r.HMAC = g.extend({
2970
2970
  /**
2971
2971
  * Initializes a newly created HMAC.
@@ -2978,11 +2978,11 @@ function ct() {
2978
2978
  * var hmacHasher = CryptoJS.algo.HMAC.create(CryptoJS.algo.SHA256, key);
2979
2979
  */
2980
2980
  init: function(a, t) {
2981
- a = this._hasher = new a.init(), typeof t == "string" && (t = c.parse(t));
2981
+ a = this._hasher = new a.init(), typeof t == "string" && (t = f.parse(t));
2982
2982
  var o = a.blockSize, s = o * 4;
2983
2983
  t.sigBytes > s && (t = a.finalize(t)), t.clamp();
2984
- for (var u = this._oKey = t.clone(), m = this._iKey = t.clone(), d = u.words, f = m.words, y = 0; y < o; y++)
2985
- d[y] ^= 1549556828, f[y] ^= 909522486;
2984
+ for (var u = this._oKey = t.clone(), m = this._iKey = t.clone(), d = u.words, c = m.words, y = 0; y < o; y++)
2985
+ d[y] ^= 1549556828, c[y] ^= 909522486;
2986
2986
  u.sigBytes = m.sigBytes = s, this.reset();
2987
2987
  },
2988
2988
  /**
@@ -3043,7 +3043,7 @@ function Nr() {
3043
3043
  e.exports = n(ie(), dt(), ct());
3044
3044
  })(Er, function(i) {
3045
3045
  return (function() {
3046
- var n = i, p = n.lib, g = p.Base, b = p.WordArray, c = n.algo, r = c.SHA256, a = c.HMAC, t = c.PBKDF2 = g.extend({
3046
+ var n = i, p = n.lib, g = p.Base, b = p.WordArray, f = n.algo, r = f.SHA256, a = f.HMAC, t = f.PBKDF2 = g.extend({
3047
3047
  /**
3048
3048
  * Configuration options.
3049
3049
  *
@@ -3083,8 +3083,8 @@ function Nr() {
3083
3083
  * var key = kdf.compute(password, salt);
3084
3084
  */
3085
3085
  compute: function(o, s) {
3086
- for (var u = this.cfg, m = a.create(u.hasher, o), d = b.create(), f = b.create([1]), y = d.words, _ = f.words, U = u.keySize, C = u.iterations; y.length < U; ) {
3087
- var v = m.update(s).finalize(f);
3086
+ for (var u = this.cfg, m = a.create(u.hasher, o), d = b.create(), c = b.create([1]), y = d.words, _ = c.words, U = u.keySize, C = u.iterations; y.length < U; ) {
3087
+ var v = m.update(s).finalize(c);
3088
3088
  m.reset();
3089
3089
  for (var x = v.words, D = x.length, G = v, H = 1; H < C; H++) {
3090
3090
  G = m.finalize(G), m.reset();
@@ -3110,7 +3110,7 @@ function ya() {
3110
3110
  e.exports = n(ie(), Xn(), ct());
3111
3111
  })(Lr, function(i) {
3112
3112
  return (function() {
3113
- var n = i, p = n.lib, g = p.Base, b = p.WordArray, c = n.algo, r = c.MD5, a = c.EvpKDF = g.extend({
3113
+ var n = i, p = n.lib, g = p.Base, b = p.WordArray, f = n.algo, r = f.MD5, a = f.EvpKDF = g.extend({
3114
3114
  /**
3115
3115
  * Configuration options.
3116
3116
  *
@@ -3150,7 +3150,7 @@ function ya() {
3150
3150
  * var key = kdf.compute(password, salt);
3151
3151
  */
3152
3152
  compute: function(t, o) {
3153
- for (var s, u = this.cfg, m = u.hasher.create(), d = b.create(), f = d.words, y = u.keySize, _ = u.iterations; f.length < y; ) {
3153
+ for (var s, u = this.cfg, m = u.hasher.create(), d = b.create(), c = d.words, y = u.keySize, _ = u.iterations; c.length < y; ) {
3154
3154
  s && m.update(s), s = m.update(t).finalize(o), m.reset();
3155
3155
  for (var U = 1; U < _; U++)
3156
3156
  s = m.finalize(s), m.reset();
@@ -3173,7 +3173,7 @@ function Ne() {
3173
3173
  e.exports = n(ie(), ya());
3174
3174
  })(Gr, function(i) {
3175
3175
  i.lib.Cipher || (function(n) {
3176
- var p = i, g = p.lib, b = g.Base, c = g.WordArray, r = g.BufferedBlockAlgorithm, a = p.enc;
3176
+ var p = i, g = p.lib, b = g.Base, f = g.WordArray, r = g.BufferedBlockAlgorithm, a = p.enc;
3177
3177
  a.Utf8;
3178
3178
  var t = a.Base64, o = p.algo, s = o.EvpKDF, u = g.Cipher = r.extend({
3179
3179
  /**
@@ -3358,7 +3358,7 @@ function Ne() {
3358
3358
  init: function(k, T) {
3359
3359
  this._cipher = k, this._iv = T;
3360
3360
  }
3361
- }), f = m.CBC = (function() {
3361
+ }), c = m.CBC = (function() {
3362
3362
  var k = d.extend();
3363
3363
  k.Encryptor = k.extend({
3364
3364
  /**
@@ -3414,7 +3414,7 @@ function Ne() {
3414
3414
  pad: function(k, T) {
3415
3415
  for (var F = T * 4, O = F - k.sigBytes % F, P = O << 24 | O << 16 | O << 8 | O, S = [], E = 0; E < O; E += 4)
3416
3416
  S.push(P);
3417
- var M = c.create(S, O);
3417
+ var M = f.create(S, O);
3418
3418
  k.concat(M);
3419
3419
  },
3420
3420
  /**
@@ -3441,7 +3441,7 @@ function Ne() {
3441
3441
  * @property {Padding} padding The padding strategy to use. Default: Pkcs7
3442
3442
  */
3443
3443
  cfg: u.cfg.extend({
3444
- mode: f,
3444
+ mode: c,
3445
3445
  padding: _
3446
3446
  }),
3447
3447
  reset: function() {
@@ -3516,7 +3516,7 @@ function Ne() {
3516
3516
  */
3517
3517
  stringify: function(k) {
3518
3518
  var T, F = k.ciphertext, O = k.salt;
3519
- return O ? T = c.create([1398893684, 1701076831]).concat(O).concat(F) : T = F, T.toString(t);
3519
+ return O ? T = f.create([1398893684, 1701076831]).concat(O).concat(F) : T = F, T.toString(t);
3520
3520
  },
3521
3521
  /**
3522
3522
  * Converts an OpenSSL-compatible string to a cipher params object.
@@ -3533,7 +3533,7 @@ function Ne() {
3533
3533
  */
3534
3534
  parse: function(k) {
3535
3535
  var T, F = t.parse(k), O = F.words;
3536
- return O[0] == 1398893684 && O[1] == 1701076831 && (T = c.create(O.slice(2, 4)), O.splice(0, 4), F.sigBytes -= 16), U.create({ ciphertext: F, salt: T });
3536
+ return O[0] == 1398893684 && O[1] == 1701076831 && (T = f.create(O.slice(2, 4)), O.splice(0, 4), F.sigBytes -= 16), U.create({ ciphertext: F, salt: T });
3537
3537
  }
3538
3538
  }, x = g.SerializableCipher = b.extend({
3539
3539
  /**
@@ -3635,11 +3635,11 @@ function Ne() {
3635
3635
  * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
3636
3636
  */
3637
3637
  execute: function(k, T, F, O, P) {
3638
- if (O || (O = c.random(64 / 8)), P)
3638
+ if (O || (O = f.random(64 / 8)), P)
3639
3639
  var S = s.create({ keySize: T + F, hasher: P }).compute(k, O);
3640
3640
  else
3641
3641
  var S = s.create({ keySize: T + F }).compute(k, O);
3642
- var E = c.create(S.words.slice(T), F * 4);
3642
+ var E = f.create(S.words.slice(T), F * 4);
3643
3643
  return S.sigBytes = T * 4, U.create({ key: S, iv: E, salt: O });
3644
3644
  }
3645
3645
  }, H = g.PasswordBasedCipher = x.extend({
@@ -3714,19 +3714,19 @@ function Rr() {
3714
3714
  var n = i.lib.BlockCipherMode.extend();
3715
3715
  n.Encryptor = n.extend({
3716
3716
  processBlock: function(g, b) {
3717
- var c = this._cipher, r = c.blockSize;
3718
- p.call(this, g, b, r, c), this._prevBlock = g.slice(b, b + r);
3717
+ var f = this._cipher, r = f.blockSize;
3718
+ p.call(this, g, b, r, f), this._prevBlock = g.slice(b, b + r);
3719
3719
  }
3720
3720
  }), n.Decryptor = n.extend({
3721
3721
  processBlock: function(g, b) {
3722
- var c = this._cipher, r = c.blockSize, a = g.slice(b, b + r);
3723
- p.call(this, g, b, r, c), this._prevBlock = a;
3722
+ var f = this._cipher, r = f.blockSize, a = g.slice(b, b + r);
3723
+ p.call(this, g, b, r, f), this._prevBlock = a;
3724
3724
  }
3725
3725
  });
3726
- function p(g, b, c, r) {
3726
+ function p(g, b, f, r) {
3727
3727
  var a, t = this._iv;
3728
3728
  t ? (a = t.slice(0), this._iv = void 0) : a = this._prevBlock, r.encryptBlock(a, 0);
3729
- for (var o = 0; o < c; o++)
3729
+ for (var o = 0; o < f; o++)
3730
3730
  g[b + o] ^= a[o];
3731
3731
  }
3732
3732
  return n;
@@ -3743,10 +3743,10 @@ function wr() {
3743
3743
  return i.mode.CTR = (function() {
3744
3744
  var n = i.lib.BlockCipherMode.extend(), p = n.Encryptor = n.extend({
3745
3745
  processBlock: function(g, b) {
3746
- var c = this._cipher, r = c.blockSize, a = this._iv, t = this._counter;
3746
+ var f = this._cipher, r = f.blockSize, a = this._iv, t = this._counter;
3747
3747
  a && (t = this._counter = a.slice(0), this._iv = void 0);
3748
3748
  var o = t.slice(0);
3749
- c.encryptBlock(o, 0), t[r - 1] = t[r - 1] + 1 | 0;
3749
+ f.encryptBlock(o, 0), t[r - 1] = t[r - 1] + 1 | 0;
3750
3750
  for (var s = 0; s < r; s++)
3751
3751
  g[b + s] ^= o[s];
3752
3752
  }
@@ -3764,25 +3764,25 @@ function Ar() {
3764
3764
  })(Fr, function(i) {
3765
3765
  return i.mode.CTRGladman = (function() {
3766
3766
  var n = i.lib.BlockCipherMode.extend();
3767
- function p(c) {
3768
- if ((c >> 24 & 255) === 255) {
3769
- var r = c >> 16 & 255, a = c >> 8 & 255, t = c & 255;
3770
- r === 255 ? (r = 0, a === 255 ? (a = 0, t === 255 ? t = 0 : ++t) : ++a) : ++r, c = 0, c += r << 16, c += a << 8, c += t;
3767
+ function p(f) {
3768
+ if ((f >> 24 & 255) === 255) {
3769
+ var r = f >> 16 & 255, a = f >> 8 & 255, t = f & 255;
3770
+ r === 255 ? (r = 0, a === 255 ? (a = 0, t === 255 ? t = 0 : ++t) : ++a) : ++r, f = 0, f += r << 16, f += a << 8, f += t;
3771
3771
  } else
3772
- c += 1 << 24;
3773
- return c;
3772
+ f += 1 << 24;
3773
+ return f;
3774
3774
  }
3775
- function g(c) {
3776
- return (c[0] = p(c[0])) === 0 && (c[1] = p(c[1])), c;
3775
+ function g(f) {
3776
+ return (f[0] = p(f[0])) === 0 && (f[1] = p(f[1])), f;
3777
3777
  }
3778
3778
  var b = n.Encryptor = n.extend({
3779
- processBlock: function(c, r) {
3779
+ processBlock: function(f, r) {
3780
3780
  var a = this._cipher, t = a.blockSize, o = this._iv, s = this._counter;
3781
3781
  o && (s = this._counter = o.slice(0), this._iv = void 0), g(s);
3782
3782
  var u = s.slice(0);
3783
3783
  a.encryptBlock(u, 0);
3784
3784
  for (var m = 0; m < t; m++)
3785
- c[r + m] ^= u[m];
3785
+ f[r + m] ^= u[m];
3786
3786
  }
3787
3787
  });
3788
3788
  return n.Decryptor = b, n;
@@ -3799,8 +3799,8 @@ function Br() {
3799
3799
  return i.mode.OFB = (function() {
3800
3800
  var n = i.lib.BlockCipherMode.extend(), p = n.Encryptor = n.extend({
3801
3801
  processBlock: function(g, b) {
3802
- var c = this._cipher, r = c.blockSize, a = this._iv, t = this._keystream;
3803
- a && (t = this._keystream = a.slice(0), this._iv = void 0), c.encryptBlock(t, 0);
3802
+ var f = this._cipher, r = f.blockSize, a = this._iv, t = this._keystream;
3803
+ a && (t = this._keystream = a.slice(0), this._iv = void 0), f.encryptBlock(t, 0);
3804
3804
  for (var o = 0; o < r; o++)
3805
3805
  g[b + o] ^= t[o];
3806
3806
  }
@@ -3839,8 +3839,8 @@ function Ir() {
3839
3839
  })(zr, function(i) {
3840
3840
  return i.pad.AnsiX923 = {
3841
3841
  pad: function(n, p) {
3842
- var g = n.sigBytes, b = p * 4, c = b - g % b, r = g + c - 1;
3843
- n.clamp(), n.words[r >>> 2] |= c << 24 - r % 4 * 8, n.sigBytes += c;
3842
+ var g = n.sigBytes, b = p * 4, f = b - g % b, r = g + f - 1;
3843
+ n.clamp(), n.words[r >>> 2] |= f << 24 - r % 4 * 8, n.sigBytes += f;
3844
3844
  },
3845
3845
  unpad: function(n) {
3846
3846
  var p = n.words[n.sigBytes - 1 >>> 2] & 255;
@@ -3930,7 +3930,7 @@ function Xr() {
3930
3930
  e.exports = n(ie(), Ne());
3931
3931
  })(Yr, function(i) {
3932
3932
  return (function(n) {
3933
- var p = i, g = p.lib, b = g.CipherParams, c = p.enc, r = c.Hex, a = p.format;
3933
+ var p = i, g = p.lib, b = g.CipherParams, f = p.enc, r = f.Hex, a = p.format;
3934
3934
  a.Hex = {
3935
3935
  /**
3936
3936
  * Converts the ciphertext of a cipher params object to a hexadecimally encoded string.
@@ -3977,17 +3977,17 @@ function ao() {
3977
3977
  e.exports = n(ie(), Sa(), Da(), ya(), Ne());
3978
3978
  })(eo, function(i) {
3979
3979
  return (function() {
3980
- var n = i, p = n.lib, g = p.BlockCipher, b = n.algo, c = [], r = [], a = [], t = [], o = [], s = [], u = [], m = [], d = [], f = [];
3980
+ var n = i, p = n.lib, g = p.BlockCipher, b = n.algo, f = [], r = [], a = [], t = [], o = [], s = [], u = [], m = [], d = [], c = [];
3981
3981
  (function() {
3982
3982
  for (var U = [], C = 0; C < 256; C++)
3983
3983
  C < 128 ? U[C] = C << 1 : U[C] = C << 1 ^ 283;
3984
3984
  for (var v = 0, x = 0, C = 0; C < 256; C++) {
3985
3985
  var D = x ^ x << 1 ^ x << 2 ^ x << 3 ^ x << 4;
3986
- D = D >>> 8 ^ D & 255 ^ 99, c[v] = D, r[D] = v;
3986
+ D = D >>> 8 ^ D & 255 ^ 99, f[v] = D, r[D] = v;
3987
3987
  var G = U[v], H = U[G], k = U[H], T = U[D] * 257 ^ D * 16843008;
3988
3988
  a[v] = T << 24 | T >>> 8, t[v] = T << 16 | T >>> 16, o[v] = T << 8 | T >>> 24, s[v] = T;
3989
3989
  var T = k * 16843009 ^ H * 65537 ^ G * 257 ^ v * 16843008;
3990
- u[D] = T << 24 | T >>> 8, m[D] = T << 16 | T >>> 16, d[D] = T << 8 | T >>> 24, f[D] = T, v ? (v = G ^ U[U[U[k ^ G]]], x ^= U[U[x]]) : v = x = 1;
3990
+ u[D] = T << 24 | T >>> 8, m[D] = T << 16 | T >>> 16, d[D] = T << 8 | T >>> 24, c[D] = T, v ? (v = G ^ U[U[U[k ^ G]]], x ^= U[U[x]]) : v = x = 1;
3991
3991
  }
3992
3992
  })();
3993
3993
  var y = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], _ = b.AES = g.extend({
@@ -3995,23 +3995,23 @@ function ao() {
3995
3995
  var U;
3996
3996
  if (!(this._nRounds && this._keyPriorReset === this._key)) {
3997
3997
  for (var C = this._keyPriorReset = this._key, v = C.words, x = C.sigBytes / 4, D = this._nRounds = x + 6, G = (D + 1) * 4, H = this._keySchedule = [], k = 0; k < G; k++)
3998
- k < x ? H[k] = v[k] : (U = H[k - 1], k % x ? x > 6 && k % x == 4 && (U = c[U >>> 24] << 24 | c[U >>> 16 & 255] << 16 | c[U >>> 8 & 255] << 8 | c[U & 255]) : (U = U << 8 | U >>> 24, U = c[U >>> 24] << 24 | c[U >>> 16 & 255] << 16 | c[U >>> 8 & 255] << 8 | c[U & 255], U ^= y[k / x | 0] << 24), H[k] = H[k - x] ^ U);
3998
+ k < x ? H[k] = v[k] : (U = H[k - 1], k % x ? x > 6 && k % x == 4 && (U = f[U >>> 24] << 24 | f[U >>> 16 & 255] << 16 | f[U >>> 8 & 255] << 8 | f[U & 255]) : (U = U << 8 | U >>> 24, U = f[U >>> 24] << 24 | f[U >>> 16 & 255] << 16 | f[U >>> 8 & 255] << 8 | f[U & 255], U ^= y[k / x | 0] << 24), H[k] = H[k - x] ^ U);
3999
3999
  for (var T = this._invKeySchedule = [], F = 0; F < G; F++) {
4000
4000
  var k = G - F;
4001
4001
  if (F % 4)
4002
4002
  var U = H[k];
4003
4003
  else
4004
4004
  var U = H[k - 4];
4005
- F < 4 || k <= 4 ? T[F] = U : T[F] = u[c[U >>> 24]] ^ m[c[U >>> 16 & 255]] ^ d[c[U >>> 8 & 255]] ^ f[c[U & 255]];
4005
+ F < 4 || k <= 4 ? T[F] = U : T[F] = u[f[U >>> 24]] ^ m[f[U >>> 16 & 255]] ^ d[f[U >>> 8 & 255]] ^ c[f[U & 255]];
4006
4006
  }
4007
4007
  }
4008
4008
  },
4009
4009
  encryptBlock: function(U, C) {
4010
- this._doCryptBlock(U, C, this._keySchedule, a, t, o, s, c);
4010
+ this._doCryptBlock(U, C, this._keySchedule, a, t, o, s, f);
4011
4011
  },
4012
4012
  decryptBlock: function(U, C) {
4013
4013
  var v = U[C + 1];
4014
- U[C + 1] = U[C + 3], U[C + 3] = v, this._doCryptBlock(U, C, this._invKeySchedule, u, m, d, f, r);
4014
+ U[C + 1] = U[C + 3], U[C + 3] = v, this._doCryptBlock(U, C, this._invKeySchedule, u, m, d, c, r);
4015
4015
  var v = U[C + 1];
4016
4016
  U[C + 1] = U[C + 3], U[C + 3] = v;
4017
4017
  },
@@ -4037,7 +4037,7 @@ function to() {
4037
4037
  e.exports = n(ie(), Sa(), Da(), ya(), Ne());
4038
4038
  })(io, function(i) {
4039
4039
  return (function() {
4040
- var n = i, p = n.lib, g = p.WordArray, b = p.BlockCipher, c = n.algo, r = [
4040
+ var n = i, p = n.lib, g = p.WordArray, b = p.BlockCipher, f = n.algo, r = [
4041
4041
  57,
4042
4042
  49,
4043
4043
  41,
@@ -4681,7 +4681,7 @@ function to() {
4681
4681
  8064,
4682
4682
  504,
4683
4683
  2147483679
4684
- ], u = c.DES = b.extend({
4684
+ ], u = f.DES = b.extend({
4685
4685
  _doReset: function() {
4686
4686
  for (var y = this._key, _ = y.words, U = [], C = 0; C < 56; C++) {
4687
4687
  var v = r[C] - 1;
@@ -4727,7 +4727,7 @@ function to() {
4727
4727
  this._lBlock ^= U, this._rBlock ^= U << y;
4728
4728
  }
4729
4729
  n.DES = b._createHelper(u);
4730
- var f = c.TripleDES = b.extend({
4730
+ var c = f.TripleDES = b.extend({
4731
4731
  _doReset: function() {
4732
4732
  var y = this._key, _ = y.words;
4733
4733
  if (_.length !== 2 && _.length !== 4 && _.length < 6)
@@ -4745,7 +4745,7 @@ function to() {
4745
4745
  ivSize: 64 / 32,
4746
4746
  blockSize: 64 / 32
4747
4747
  });
4748
- n.TripleDES = b._createHelper(f);
4748
+ n.TripleDES = b._createHelper(c);
4749
4749
  })(), i.TripleDES;
4750
4750
  });
4751
4751
  })(Fi)), Fi.exports;
@@ -4757,12 +4757,12 @@ function lo() {
4757
4757
  e.exports = n(ie(), Sa(), Da(), ya(), Ne());
4758
4758
  })(no, function(i) {
4759
4759
  return (function() {
4760
- var n = i, p = n.lib, g = p.StreamCipher, b = n.algo, c = b.RC4 = g.extend({
4760
+ var n = i, p = n.lib, g = p.StreamCipher, b = n.algo, f = b.RC4 = g.extend({
4761
4761
  _doReset: function() {
4762
4762
  for (var t = this._key, o = t.words, s = t.sigBytes, u = this._S = [], m = 0; m < 256; m++)
4763
4763
  u[m] = m;
4764
4764
  for (var m = 0, d = 0; m < 256; m++) {
4765
- var f = m % s, y = o[f >>> 2] >>> 24 - f % 4 * 8 & 255;
4765
+ var c = m % s, y = o[c >>> 2] >>> 24 - c % 4 * 8 & 255;
4766
4766
  d = (d + u[m] + y) % 256;
4767
4767
  var _ = u[m];
4768
4768
  u[m] = u[d], u[d] = _;
@@ -4783,18 +4783,18 @@ function lo() {
4783
4783
  }
4784
4784
  return this._i = o, this._j = s, u;
4785
4785
  }
4786
- n.RC4 = g._createHelper(c);
4787
- var a = b.RC4Drop = c.extend({
4786
+ n.RC4 = g._createHelper(f);
4787
+ var a = b.RC4Drop = f.extend({
4788
4788
  /**
4789
4789
  * Configuration options.
4790
4790
  *
4791
4791
  * @property {number} drop The number of keystream words to drop. Default 192
4792
4792
  */
4793
- cfg: c.cfg.extend({
4793
+ cfg: f.cfg.extend({
4794
4794
  drop: 192
4795
4795
  }),
4796
4796
  _doReset: function() {
4797
- c._doReset.call(this);
4797
+ f._doReset.call(this);
4798
4798
  for (var t = this.cfg.drop; t > 0; t--)
4799
4799
  r.call(this);
4800
4800
  }
@@ -4811,7 +4811,7 @@ function oo() {
4811
4811
  e.exports = n(ie(), Sa(), Da(), ya(), Ne());
4812
4812
  })(ro, function(i) {
4813
4813
  return (function() {
4814
- var n = i, p = n.lib, g = p.StreamCipher, b = n.algo, c = [], r = [], a = [], t = b.Rabbit = g.extend({
4814
+ var n = i, p = n.lib, g = p.StreamCipher, b = n.algo, f = [], r = [], a = [], t = b.Rabbit = g.extend({
4815
4815
  _doReset: function() {
4816
4816
  for (var s = this._key.words, u = this.cfg.iv, m = 0; m < 4; m++)
4817
4817
  s[m] = (s[m] << 8 | s[m] >>> 24) & 16711935 | (s[m] << 24 | s[m] >>> 8) & 4278255360;
@@ -4824,7 +4824,7 @@ function oo() {
4824
4824
  s[1] << 16 | s[0] >>> 16,
4825
4825
  s[3],
4826
4826
  s[2] << 16 | s[1] >>> 16
4827
- ], f = this._C = [
4827
+ ], c = this._C = [
4828
4828
  s[2] << 16 | s[2] >>> 16,
4829
4829
  s[0] & 4294901760 | s[1] & 65535,
4830
4830
  s[3] << 16 | s[3] >>> 16,
@@ -4838,19 +4838,19 @@ function oo() {
4838
4838
  for (var m = 0; m < 4; m++)
4839
4839
  o.call(this);
4840
4840
  for (var m = 0; m < 8; m++)
4841
- f[m] ^= d[m + 4 & 7];
4841
+ c[m] ^= d[m + 4 & 7];
4842
4842
  if (u) {
4843
4843
  var y = u.words, _ = y[0], U = y[1], C = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, v = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = C >>> 16 | v & 4294901760, D = v << 16 | C & 65535;
4844
- f[0] ^= C, f[1] ^= x, f[2] ^= v, f[3] ^= D, f[4] ^= C, f[5] ^= x, f[6] ^= v, f[7] ^= D;
4844
+ c[0] ^= C, c[1] ^= x, c[2] ^= v, c[3] ^= D, c[4] ^= C, c[5] ^= x, c[6] ^= v, c[7] ^= D;
4845
4845
  for (var m = 0; m < 4; m++)
4846
4846
  o.call(this);
4847
4847
  }
4848
4848
  },
4849
4849
  _doProcessBlock: function(s, u) {
4850
4850
  var m = this._X;
4851
- o.call(this), c[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, c[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, c[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, c[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4851
+ o.call(this), f[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, f[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, f[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, f[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4852
4852
  for (var d = 0; d < 4; d++)
4853
- c[d] = (c[d] << 8 | c[d] >>> 24) & 16711935 | (c[d] << 24 | c[d] >>> 8) & 4278255360, s[u + d] ^= c[d];
4853
+ f[d] = (f[d] << 8 | f[d] >>> 24) & 16711935 | (f[d] << 24 | f[d] >>> 8) & 4278255360, s[u + d] ^= f[d];
4854
4854
  },
4855
4855
  blockSize: 128 / 32,
4856
4856
  ivSize: 64 / 32
@@ -4860,7 +4860,7 @@ function oo() {
4860
4860
  r[m] = u[m];
4861
4861
  u[0] = u[0] + 1295307597 + this._b | 0, u[1] = u[1] + 3545052371 + (u[0] >>> 0 < r[0] >>> 0 ? 1 : 0) | 0, u[2] = u[2] + 886263092 + (u[1] >>> 0 < r[1] >>> 0 ? 1 : 0) | 0, u[3] = u[3] + 1295307597 + (u[2] >>> 0 < r[2] >>> 0 ? 1 : 0) | 0, u[4] = u[4] + 3545052371 + (u[3] >>> 0 < r[3] >>> 0 ? 1 : 0) | 0, u[5] = u[5] + 886263092 + (u[4] >>> 0 < r[4] >>> 0 ? 1 : 0) | 0, u[6] = u[6] + 1295307597 + (u[5] >>> 0 < r[5] >>> 0 ? 1 : 0) | 0, u[7] = u[7] + 3545052371 + (u[6] >>> 0 < r[6] >>> 0 ? 1 : 0) | 0, this._b = u[7] >>> 0 < r[7] >>> 0 ? 1 : 0;
4862
4862
  for (var m = 0; m < 8; m++) {
4863
- var d = s[m] + u[m], f = d & 65535, y = d >>> 16, _ = ((f * f >>> 17) + f * y >>> 15) + y * y, U = ((d & 4294901760) * d | 0) + ((d & 65535) * d | 0);
4863
+ var d = s[m] + u[m], c = d & 65535, y = d >>> 16, _ = ((c * c >>> 17) + c * y >>> 15) + y * y, U = ((d & 4294901760) * d | 0) + ((d & 65535) * d | 0);
4864
4864
  a[m] = _ ^ U;
4865
4865
  }
4866
4866
  s[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0, s[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0, s[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0, s[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0, s[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0, s[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0, s[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0, s[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
@@ -4877,7 +4877,7 @@ function mo() {
4877
4877
  e.exports = n(ie(), Sa(), Da(), ya(), Ne());
4878
4878
  })(so, function(i) {
4879
4879
  return (function() {
4880
- var n = i, p = n.lib, g = p.StreamCipher, b = n.algo, c = [], r = [], a = [], t = b.RabbitLegacy = g.extend({
4880
+ var n = i, p = n.lib, g = p.StreamCipher, b = n.algo, f = [], r = [], a = [], t = b.RabbitLegacy = g.extend({
4881
4881
  _doReset: function() {
4882
4882
  var s = this._key.words, u = this.cfg.iv, m = this._X = [
4883
4883
  s[0],
@@ -4899,22 +4899,22 @@ function mo() {
4899
4899
  s[3] & 4294901760 | s[0] & 65535
4900
4900
  ];
4901
4901
  this._b = 0;
4902
- for (var f = 0; f < 4; f++)
4902
+ for (var c = 0; c < 4; c++)
4903
4903
  o.call(this);
4904
- for (var f = 0; f < 8; f++)
4905
- d[f] ^= m[f + 4 & 7];
4904
+ for (var c = 0; c < 8; c++)
4905
+ d[c] ^= m[c + 4 & 7];
4906
4906
  if (u) {
4907
4907
  var y = u.words, _ = y[0], U = y[1], C = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, v = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = C >>> 16 | v & 4294901760, D = v << 16 | C & 65535;
4908
4908
  d[0] ^= C, d[1] ^= x, d[2] ^= v, d[3] ^= D, d[4] ^= C, d[5] ^= x, d[6] ^= v, d[7] ^= D;
4909
- for (var f = 0; f < 4; f++)
4909
+ for (var c = 0; c < 4; c++)
4910
4910
  o.call(this);
4911
4911
  }
4912
4912
  },
4913
4913
  _doProcessBlock: function(s, u) {
4914
4914
  var m = this._X;
4915
- o.call(this), c[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, c[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, c[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, c[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4915
+ o.call(this), f[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, f[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, f[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, f[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4916
4916
  for (var d = 0; d < 4; d++)
4917
- c[d] = (c[d] << 8 | c[d] >>> 24) & 16711935 | (c[d] << 24 | c[d] >>> 8) & 4278255360, s[u + d] ^= c[d];
4917
+ f[d] = (f[d] << 8 | f[d] >>> 24) & 16711935 | (f[d] << 24 | f[d] >>> 8) & 4278255360, s[u + d] ^= f[d];
4918
4918
  },
4919
4919
  blockSize: 128 / 32,
4920
4920
  ivSize: 64 / 32
@@ -4924,7 +4924,7 @@ function mo() {
4924
4924
  r[m] = u[m];
4925
4925
  u[0] = u[0] + 1295307597 + this._b | 0, u[1] = u[1] + 3545052371 + (u[0] >>> 0 < r[0] >>> 0 ? 1 : 0) | 0, u[2] = u[2] + 886263092 + (u[1] >>> 0 < r[1] >>> 0 ? 1 : 0) | 0, u[3] = u[3] + 1295307597 + (u[2] >>> 0 < r[2] >>> 0 ? 1 : 0) | 0, u[4] = u[4] + 3545052371 + (u[3] >>> 0 < r[3] >>> 0 ? 1 : 0) | 0, u[5] = u[5] + 886263092 + (u[4] >>> 0 < r[4] >>> 0 ? 1 : 0) | 0, u[6] = u[6] + 1295307597 + (u[5] >>> 0 < r[5] >>> 0 ? 1 : 0) | 0, u[7] = u[7] + 3545052371 + (u[6] >>> 0 < r[6] >>> 0 ? 1 : 0) | 0, this._b = u[7] >>> 0 < r[7] >>> 0 ? 1 : 0;
4926
4926
  for (var m = 0; m < 8; m++) {
4927
- var d = s[m] + u[m], f = d & 65535, y = d >>> 16, _ = ((f * f >>> 17) + f * y >>> 15) + y * y, U = ((d & 4294901760) * d | 0) + ((d & 65535) * d | 0);
4927
+ var d = s[m] + u[m], c = d & 65535, y = d >>> 16, _ = ((c * c >>> 17) + c * y >>> 15) + y * y, U = ((d & 4294901760) * d | 0) + ((d & 65535) * d | 0);
4928
4928
  a[m] = _ ^ U;
4929
4929
  }
4930
4930
  s[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0, s[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0, s[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0, s[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0, s[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0, s[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0, s[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0, s[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
@@ -4942,7 +4942,7 @@ function po() {
4942
4942
  })(uo, function(i) {
4943
4943
  return (function() {
4944
4944
  var n = i, p = n.lib, g = p.BlockCipher, b = n.algo;
4945
- const c = 16, r = [
4945
+ const f = 16, r = [
4946
4946
  608135816,
4947
4947
  2242054355,
4948
4948
  320440878,
@@ -5999,53 +5999,53 @@ function po() {
5999
5999
  pbox: [],
6000
6000
  sbox: []
6001
6001
  };
6002
- function o(f, y) {
6003
- let _ = y >> 24 & 255, U = y >> 16 & 255, C = y >> 8 & 255, v = y & 255, x = f.sbox[0][_] + f.sbox[1][U];
6004
- return x = x ^ f.sbox[2][C], x = x + f.sbox[3][v], x;
6002
+ function o(c, y) {
6003
+ let _ = y >> 24 & 255, U = y >> 16 & 255, C = y >> 8 & 255, v = y & 255, x = c.sbox[0][_] + c.sbox[1][U];
6004
+ return x = x ^ c.sbox[2][C], x = x + c.sbox[3][v], x;
6005
6005
  }
6006
- function s(f, y, _) {
6006
+ function s(c, y, _) {
6007
6007
  let U = y, C = _, v;
6008
- for (let x = 0; x < c; ++x)
6009
- U = U ^ f.pbox[x], C = o(f, U) ^ C, v = U, U = C, C = v;
6010
- return v = U, U = C, C = v, C = C ^ f.pbox[c], U = U ^ f.pbox[c + 1], { left: U, right: C };
6008
+ for (let x = 0; x < f; ++x)
6009
+ U = U ^ c.pbox[x], C = o(c, U) ^ C, v = U, U = C, C = v;
6010
+ return v = U, U = C, C = v, C = C ^ c.pbox[f], U = U ^ c.pbox[f + 1], { left: U, right: C };
6011
6011
  }
6012
- function u(f, y, _) {
6012
+ function u(c, y, _) {
6013
6013
  let U = y, C = _, v;
6014
- for (let x = c + 1; x > 1; --x)
6015
- U = U ^ f.pbox[x], C = o(f, U) ^ C, v = U, U = C, C = v;
6016
- return v = U, U = C, C = v, C = C ^ f.pbox[1], U = U ^ f.pbox[0], { left: U, right: C };
6014
+ for (let x = f + 1; x > 1; --x)
6015
+ U = U ^ c.pbox[x], C = o(c, U) ^ C, v = U, U = C, C = v;
6016
+ return v = U, U = C, C = v, C = C ^ c.pbox[1], U = U ^ c.pbox[0], { left: U, right: C };
6017
6017
  }
6018
- function m(f, y, _) {
6018
+ function m(c, y, _) {
6019
6019
  for (let D = 0; D < 4; D++) {
6020
- f.sbox[D] = [];
6020
+ c.sbox[D] = [];
6021
6021
  for (let G = 0; G < 256; G++)
6022
- f.sbox[D][G] = a[D][G];
6022
+ c.sbox[D][G] = a[D][G];
6023
6023
  }
6024
6024
  let U = 0;
6025
- for (let D = 0; D < c + 2; D++)
6026
- f.pbox[D] = r[D] ^ y[U], U++, U >= _ && (U = 0);
6025
+ for (let D = 0; D < f + 2; D++)
6026
+ c.pbox[D] = r[D] ^ y[U], U++, U >= _ && (U = 0);
6027
6027
  let C = 0, v = 0, x = 0;
6028
- for (let D = 0; D < c + 2; D += 2)
6029
- x = s(f, C, v), C = x.left, v = x.right, f.pbox[D] = C, f.pbox[D + 1] = v;
6028
+ for (let D = 0; D < f + 2; D += 2)
6029
+ x = s(c, C, v), C = x.left, v = x.right, c.pbox[D] = C, c.pbox[D + 1] = v;
6030
6030
  for (let D = 0; D < 4; D++)
6031
6031
  for (let G = 0; G < 256; G += 2)
6032
- x = s(f, C, v), C = x.left, v = x.right, f.sbox[D][G] = C, f.sbox[D][G + 1] = v;
6032
+ x = s(c, C, v), C = x.left, v = x.right, c.sbox[D][G] = C, c.sbox[D][G + 1] = v;
6033
6033
  return !0;
6034
6034
  }
6035
6035
  var d = b.Blowfish = g.extend({
6036
6036
  _doReset: function() {
6037
6037
  if (this._keyPriorReset !== this._key) {
6038
- var f = this._keyPriorReset = this._key, y = f.words, _ = f.sigBytes / 4;
6038
+ var c = this._keyPriorReset = this._key, y = c.words, _ = c.sigBytes / 4;
6039
6039
  m(t, y, _);
6040
6040
  }
6041
6041
  },
6042
- encryptBlock: function(f, y) {
6043
- var _ = s(t, f[y], f[y + 1]);
6044
- f[y] = _.left, f[y + 1] = _.right;
6042
+ encryptBlock: function(c, y) {
6043
+ var _ = s(t, c[y], c[y + 1]);
6044
+ c[y] = _.left, c[y + 1] = _.right;
6045
6045
  },
6046
- decryptBlock: function(f, y) {
6047
- var _ = u(t, f[y], f[y + 1]);
6048
- f[y] = _.left, f[y + 1] = _.right;
6046
+ decryptBlock: function(c, y) {
6047
+ var _ = u(t, c[y], c[y + 1]);
6048
+ c[y] = _.left, c[y + 1] = _.right;
6049
6049
  },
6050
6050
  blockSize: 64 / 32,
6051
6051
  keySize: 128 / 32,
@@ -6088,7 +6088,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6088
6088
  return B;
6089
6089
  },
6090
6090
  [e]
6091
- ), n = I(async () => e.get("/member/getMemberInfo"), [e]), p = I(async () => await e.get("/member/getGameList"), [e]), g = I(async () => await e.get("/member/getNowCurrencyExchange"), [e]), b = I(async () => await e.get("member/getFavoriteGame"), [e]), c = I(
6091
+ ), n = I(async () => e.get("/member/getMemberInfo"), [e]), p = I(async () => await e.get("/member/getGameList"), [e]), g = I(async () => await e.get("/member/getNowCurrencyExchange"), [e]), b = I(async () => await e.get("member/getFavoriteGame"), [e]), f = I(
6092
6092
  async (S) => {
6093
6093
  const { account: E, password: M, trans_code: w } = S;
6094
6094
  return await e.post("/login", {
@@ -6168,7 +6168,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6168
6168
  });
6169
6169
  },
6170
6170
  [e]
6171
- ), f = I(
6171
+ ), c = I(
6172
6172
  async ({ paramsData: S }) => {
6173
6173
  const { start_time: E, end_time: M, limit: w = 25 } = S || {};
6174
6174
  return await e.get("/report/totalprofit", {
@@ -6313,7 +6313,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6313
6313
  userGameListApi: p,
6314
6314
  userFavoriteGameApi: b,
6315
6315
  userCurrencyExchangeApi: g,
6316
- userLoginApi: c,
6316
+ userLoginApi: f,
6317
6317
  userLogoutApi: r,
6318
6318
  addOrRemoveFavoriteGameApi: a,
6319
6319
  rankingGameApi: t,
@@ -6322,7 +6322,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6322
6322
  resetUserPasswordApi: u,
6323
6323
  setUserTransactionPasswordApi: m,
6324
6324
  resetUserTransactionPasswordApi: d,
6325
- userRebateApi: f,
6325
+ userRebateApi: c,
6326
6326
  userBindBankApi: C,
6327
6327
  transferInGameApi: y,
6328
6328
  checkUserWagerApi: _,
@@ -6339,13 +6339,13 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6339
6339
  mobileRegisterApi: F
6340
6340
  };
6341
6341
  }, hm = ({ otherQueryKey: e = [], options: l = {} } = {}) => {
6342
- const { userCurrencyExchangeApi: i } = ue(), { getToken: n } = oe(), { enabled: p, ...g } = l, c = !!n?.() && (p ? p.every((r) => r) : !0);
6342
+ const { userCurrencyExchangeApi: i } = ue(), { getToken: n } = oe(), { enabled: p, ...g } = l, f = !!n?.() && (p ? p.every((r) => r) : !0);
6343
6343
  return Hn({
6344
6344
  queries: [
6345
6345
  {
6346
6346
  queryKey: ["userCurrencyExchange", ...e],
6347
6347
  queryFn: () => i(),
6348
- enabled: c,
6348
+ enabled: f,
6349
6349
  // ← 使用合併後的條件
6350
6350
  ...g
6351
6351
  // ← 不包含 enabled
@@ -6382,26 +6382,26 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6382
6382
  queryKey: ["getFavoriteGame"],
6383
6383
  queryFn: async () => i(),
6384
6384
  enabled: e && g.isSuccess
6385
- }), c = j({
6385
+ }), f = j({
6386
6386
  queryKey: ["getUserGameList"],
6387
6387
  queryFn: async () => n(),
6388
6388
  enabled: e && g.isSuccess && b.isSuccess
6389
6389
  }), r = j({
6390
6390
  queryKey: ["getUserCurrencyExchange"],
6391
6391
  queryFn: async () => p(),
6392
- enabled: e && g.isSuccess && b.isSuccess && c.isSuccess
6392
+ enabled: e && g.isSuccess && b.isSuccess && f.isSuccess
6393
6393
  });
6394
6394
  return [
6395
6395
  g,
6396
6396
  b,
6397
- c,
6397
+ f,
6398
6398
  r
6399
6399
  ];
6400
6400
  }, ft = () => {
6401
6401
  const { client: e, lng: l } = oe(), i = $e(l || "tw"), n = I(
6402
6402
  async (b) => {
6403
6403
  const {
6404
- gameUid: c = "",
6404
+ gameUid: f = "",
6405
6405
  // 遊戲唯一標識
6406
6406
  gameCode: r = "",
6407
6407
  // 遊戲代碼
@@ -6413,7 +6413,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6413
6413
  // 目前使用的幣別
6414
6414
  } = b;
6415
6415
  return await e.post("/game/go", {
6416
- gameUid: c,
6416
+ gameUid: f,
6417
6417
  gameCode: r,
6418
6418
  lang: i,
6419
6419
  is_mobile: a,
@@ -6426,13 +6426,13 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6426
6426
  ), p = I(
6427
6427
  async (b) => {
6428
6428
  const {
6429
- startDate: c = we().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6429
+ startDate: f = we().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6430
6430
  endDate: r = we().format("YYYY-MM-DD 11:59:59"),
6431
6431
  platform: a = "",
6432
6432
  limit: t = 25
6433
6433
  } = b, { data: o } = await e.get("/report/netprofit", {
6434
6434
  params: {
6435
- str_date: c,
6435
+ str_date: f,
6436
6436
  end_Date: r,
6437
6437
  platform: a,
6438
6438
  limit: t
@@ -6444,14 +6444,14 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
6444
6444
  ), g = I(
6445
6445
  async (b) => {
6446
6446
  const {
6447
- startDate: c = we().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6447
+ startDate: f = we().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6448
6448
  endDate: r = we().format("YYYY-MM-DD 11:59:59"),
6449
6449
  platform: a,
6450
6450
  limit: t = 25,
6451
6451
  page: o = 1
6452
6452
  } = b, { data: s } = await e.get("/report/betlog", {
6453
6453
  params: {
6454
- str_date: c,
6454
+ str_date: f,
6455
6455
  end_Date: r,
6456
6456
  platform: a,
6457
6457
  limit: t,
@@ -6518,16 +6518,16 @@ function nt(e, l) {
6518
6518
  function i(p, g, b) {
6519
6519
  if (!(typeof document > "u")) {
6520
6520
  b = ai({}, l, b), typeof b.expires == "number" && (b.expires = new Date(Date.now() + b.expires * 864e5)), b.expires && (b.expires = b.expires.toUTCString()), p = encodeURIComponent(p).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
6521
- var c = "";
6521
+ var f = "";
6522
6522
  for (var r in b)
6523
- b[r] && (c += "; " + r, b[r] !== !0 && (c += "=" + b[r].split(";")[0]));
6524
- return document.cookie = p + "=" + e.write(g, p) + c;
6523
+ b[r] && (f += "; " + r, b[r] !== !0 && (f += "=" + b[r].split(";")[0]));
6524
+ return document.cookie = p + "=" + e.write(g, p) + f;
6525
6525
  }
6526
6526
  }
6527
6527
  function n(p) {
6528
6528
  if (!(typeof document > "u" || arguments.length && !p)) {
6529
- for (var g = document.cookie ? document.cookie.split("; ") : [], b = {}, c = 0; c < g.length; c++) {
6530
- var r = g[c].split("="), a = r.slice(1).join("=");
6529
+ for (var g = document.cookie ? document.cookie.split("; ") : [], b = {}, f = 0; f < g.length; f++) {
6530
+ var r = g[f].split("="), a = r.slice(1).join("=");
6531
6531
  try {
6532
6532
  var t = decodeURIComponent(r[0]);
6533
6533
  if (b[t] = e.read(a, t), p === t)
@@ -6611,8 +6611,8 @@ function yt() {
6611
6611
  yn = 1, Object.defineProperty(sa, "__esModule", { value: !0 }), sa.setUpSocketIOPing = sa.appendQueryParams = sa.parseSocketIOUrl = void 0;
6612
6612
  var e = ra(), l = function(p) {
6613
6613
  if (p) {
6614
- var g = /^https|wss/.test(p), b = p.replace(/^(https?|wss?)(:\/\/)?/, ""), c = b.replace(/\/$/, ""), r = g ? "wss" : "ws";
6615
- return "".concat(r, "://").concat(c).concat(e.SOCKET_IO_PATH);
6614
+ var g = /^https|wss/.test(p), b = p.replace(/^(https?|wss?)(:\/\/)?/, ""), f = b.replace(/\/$/, ""), r = g ? "wss" : "ws";
6615
+ return "".concat(r, "://").concat(f).concat(e.SOCKET_IO_PATH);
6616
6616
  } else if (p === "") {
6617
6617
  var g = /^https/.test(window.location.protocol), r = g ? "wss" : "ws", a = window.location.port ? ":".concat(window.location.port) : "";
6618
6618
  return "".concat(r, "://").concat(window.location.hostname).concat(a).concat(e.SOCKET_IO_PATH);
@@ -6622,11 +6622,11 @@ function yt() {
6622
6622
  sa.parseSocketIOUrl = l;
6623
6623
  var i = function(p, g) {
6624
6624
  g === void 0 && (g = {});
6625
- var b = /\?([\w]+=[\w]+)/, c = b.test(p), r = "".concat(Object.entries(g).reduce(function(a, t) {
6625
+ var b = /\?([\w]+=[\w]+)/, f = b.test(p), r = "".concat(Object.entries(g).reduce(function(a, t) {
6626
6626
  var o = t[0], s = t[1];
6627
6627
  return a + "".concat(o, "=").concat(s, "&");
6628
6628
  }, "").slice(0, -1));
6629
- return "".concat(p).concat(c ? "&" : "?").concat(r);
6629
+ return "".concat(p).concat(f ? "&" : "?").concat(r);
6630
6630
  };
6631
6631
  sa.appendQueryParams = i;
6632
6632
  var n = function(p, g) {
@@ -6649,13 +6649,13 @@ function il() {
6649
6649
  }).current : n.current;
6650
6650
  }
6651
6651
  function i(n, p, g) {
6652
- var b = g || {}, c = b.interval, r = c === void 0 ? e.DEFAULT_HEARTBEAT.interval : c, a = b.timeout, t = a === void 0 ? e.DEFAULT_HEARTBEAT.timeout : a, o = b.message, s = o === void 0 ? e.DEFAULT_HEARTBEAT.message : o, u = Math.max(100, r / 10), m = Date.now(), d = setInterval(function() {
6653
- var f = Date.now(), y = l(p);
6654
- if (y + t <= f)
6655
- console.warn("Heartbeat timed out, closing connection, last message received ".concat(f - y, "ms ago, last ping sent ").concat(f - m, "ms ago")), n.close();
6656
- else if (y + r <= f && m + r <= f)
6652
+ var b = g || {}, f = b.interval, r = f === void 0 ? e.DEFAULT_HEARTBEAT.interval : f, a = b.timeout, t = a === void 0 ? e.DEFAULT_HEARTBEAT.timeout : a, o = b.message, s = o === void 0 ? e.DEFAULT_HEARTBEAT.message : o, u = Math.max(100, r / 10), m = Date.now(), d = setInterval(function() {
6653
+ var c = Date.now(), y = l(p);
6654
+ if (y + t <= c)
6655
+ console.warn("Heartbeat timed out, closing connection, last message received ".concat(c - y, "ms ago, last ping sent ").concat(c - m, "ms ago")), n.close();
6656
+ else if (y + r <= c && m + r <= c)
6657
6657
  try {
6658
- typeof s == "function" ? n.send(s()) : n.send(s), m = f;
6658
+ typeof s == "function" ? n.send(s()) : n.send(s), m = c;
6659
6659
  } catch (_) {
6660
6660
  console.error("Heartbeat failed, closing connection", _ instanceof Error ? _.message : _), n.close();
6661
6661
  }
@@ -6688,14 +6688,14 @@ function Ut() {
6688
6688
  l[r].delete(a);
6689
6689
  };
6690
6690
  e.removeSubscriber = b;
6691
- var c = function(r) {
6691
+ var f = function(r) {
6692
6692
  if (r && l.hasOwnProperty(r))
6693
6693
  delete l[r];
6694
6694
  else
6695
6695
  for (var a in l)
6696
6696
  l.hasOwnProperty(a) && delete l[a];
6697
6697
  };
6698
- e.resetSubscribers = c;
6698
+ e.resetSubscribers = f;
6699
6699
  })(et)), et;
6700
6700
  }
6701
6701
  var Cn;
@@ -6734,19 +6734,19 @@ function Uo() {
6734
6734
  }, b = function(t, o, s, u, m) {
6735
6735
  t.onopen = function(d) {
6736
6736
  if (o.current.onOpen && o.current.onOpen(d), u.current = 0, s(n.ReadyState.OPEN), o.current.heartbeat && t instanceof WebSocket) {
6737
- var f = typeof o.current.heartbeat == "boolean" ? void 0 : o.current.heartbeat;
6738
- m.current = Date.now(), (0, i.heartbeat)(t, m, f);
6737
+ var c = typeof o.current.heartbeat == "boolean" ? void 0 : o.current.heartbeat;
6738
+ m.current = Date.now(), (0, i.heartbeat)(t, m, c);
6739
6739
  }
6740
6740
  };
6741
- }, c = function(t, o, s, u, m) {
6741
+ }, f = function(t, o, s, u, m) {
6742
6742
  if (n.isEventSourceSupported && t instanceof EventSource)
6743
6743
  return function() {
6744
6744
  };
6745
6745
  (0, p.assertIsWebSocket)(t, o.current.skipAssert);
6746
6746
  var d;
6747
- return t.onclose = function(f) {
6747
+ return t.onclose = function(c) {
6748
6748
  var y;
6749
- if (o.current.onClose && o.current.onClose(f), s(n.ReadyState.CLOSED), o.current.shouldReconnect && o.current.shouldReconnect(f)) {
6749
+ if (o.current.onClose && o.current.onClose(c), s(n.ReadyState.CLOSED), o.current.shouldReconnect && o.current.shouldReconnect(c)) {
6750
6750
  var _ = (y = o.current.reconnectAttempts) !== null && y !== void 0 ? y : n.DEFAULT_RECONNECT_LIMIT;
6751
6751
  if (m.current < _) {
6752
6752
  var U = typeof o.current.reconnectInterval == "function" ? o.current.reconnectInterval(m.current) : o.current.reconnectInterval;
@@ -6761,9 +6761,9 @@ function Uo() {
6761
6761
  };
6762
6762
  }, r = function(t, o, s, u, m) {
6763
6763
  var d;
6764
- return t.onerror = function(f) {
6764
+ return t.onerror = function(c) {
6765
6765
  var y;
6766
- if (o.current.onError && o.current.onError(f), n.isEventSourceSupported && t instanceof EventSource && (o.current.onClose && o.current.onClose(e(e({}, f), { code: 1006, reason: "An error occurred with the EventSource: ".concat(f), wasClean: !1 })), s(n.ReadyState.CLOSED), t.close()), o.current.retryOnError)
6766
+ if (o.current.onError && o.current.onError(c), n.isEventSourceSupported && t instanceof EventSource && (o.current.onClose && o.current.onClose(e(e({}, c), { code: 1006, reason: "An error occurred with the EventSource: ".concat(c), wasClean: !1 })), s(n.ReadyState.CLOSED), t.close()), o.current.retryOnError)
6767
6767
  if (m.current < ((y = o.current.reconnectAttempts) !== null && y !== void 0 ? y : n.DEFAULT_RECONNECT_LIMIT)) {
6768
6768
  var _ = typeof o.current.reconnectInterval == "function" ? o.current.reconnectInterval(m.current) : o.current.reconnectInterval;
6769
6769
  d = window.setTimeout(function() {
@@ -6774,9 +6774,9 @@ function Uo() {
6774
6774
  }, function() {
6775
6775
  return d && window.clearTimeout(d);
6776
6776
  };
6777
- }, a = function(t, o, s, u, m, d, f) {
6777
+ }, a = function(t, o, s, u, m, d, c) {
6778
6778
  var y = o.setLastMessage, _ = o.setReadyState, U, C, v;
6779
- return s.current.fromSocketIO && (U = (0, l.setUpSocketIOPing)(f)), g(t, s, y, d), b(t, s, _, m, d), C = c(t, s, _, u, m), v = r(t, s, _, u, m), function() {
6779
+ return s.current.fromSocketIO && (U = (0, l.setUpSocketIOPing)(c)), g(t, s, y, d), b(t, s, _, m, d), C = f(t, s, _, u, m), v = r(t, s, _, u, m), function() {
6780
6780
  _(n.ReadyState.CLOSING), C(), v(), t.close(), U && clearInterval(U);
6781
6781
  };
6782
6782
  };
@@ -6799,17 +6799,17 @@ function bo() {
6799
6799
  var l = _t(), i = ra(), n = Ut(), p = yt(), g = il(), b = function(o, s, u) {
6800
6800
  o.onmessage = function(m) {
6801
6801
  (0, n.getSubscribers)(s).forEach(function(d) {
6802
- var f;
6803
- d.optionsRef.current.onMessage && d.optionsRef.current.onMessage(m), typeof ((f = d?.lastMessageTime) === null || f === void 0 ? void 0 : f.current) == "number" && (d.lastMessageTime.current = Date.now()), !(typeof d.optionsRef.current.filter == "function" && d.optionsRef.current.filter(m) !== !0) && (u && typeof u != "boolean" && u?.returnMessage === m.data || d.setLastMessage(m));
6802
+ var c;
6803
+ d.optionsRef.current.onMessage && d.optionsRef.current.onMessage(m), typeof ((c = d?.lastMessageTime) === null || c === void 0 ? void 0 : c.current) == "number" && (d.lastMessageTime.current = Date.now()), !(typeof d.optionsRef.current.filter == "function" && d.optionsRef.current.filter(m) !== !0) && (u && typeof u != "boolean" && u?.returnMessage === m.data || d.setLastMessage(m));
6804
6804
  });
6805
6805
  };
6806
- }, c = function(o, s, u) {
6806
+ }, f = function(o, s, u) {
6807
6807
  o.onopen = function(m) {
6808
6808
  var d = (0, n.getSubscribers)(s);
6809
- d.forEach(function(f) {
6810
- f.reconnectCount.current = 0, f.optionsRef.current.onOpen && f.optionsRef.current.onOpen(m), f.setReadyState(i.ReadyState.OPEN), u && o instanceof WebSocket && (f.lastMessageTime.current = Date.now());
6811
- }), u && o instanceof WebSocket && (0, g.heartbeat)(o, d.map(function(f) {
6812
- return f.lastMessageTime;
6809
+ d.forEach(function(c) {
6810
+ c.reconnectCount.current = 0, c.optionsRef.current.onOpen && c.optionsRef.current.onOpen(m), c.setReadyState(i.ReadyState.OPEN), u && o instanceof WebSocket && (c.lastMessageTime.current = Date.now());
6811
+ }), u && o instanceof WebSocket && (0, g.heartbeat)(o, d.map(function(c) {
6812
+ return c.lastMessageTime;
6813
6813
  }), typeof u == "boolean" ? void 0 : u);
6814
6814
  };
6815
6815
  }, r = function(o, s) {
@@ -6819,14 +6819,14 @@ function bo() {
6819
6819
  }), delete l.sharedWebSockets[s], (0, n.getSubscribers)(s).forEach(function(m) {
6820
6820
  var d;
6821
6821
  if (m.optionsRef.current.shouldReconnect && m.optionsRef.current.shouldReconnect(u)) {
6822
- var f = (d = m.optionsRef.current.reconnectAttempts) !== null && d !== void 0 ? d : i.DEFAULT_RECONNECT_LIMIT;
6823
- if (m.reconnectCount.current < f) {
6822
+ var c = (d = m.optionsRef.current.reconnectAttempts) !== null && d !== void 0 ? d : i.DEFAULT_RECONNECT_LIMIT;
6823
+ if (m.reconnectCount.current < c) {
6824
6824
  var y = typeof m.optionsRef.current.reconnectInterval == "function" ? m.optionsRef.current.reconnectInterval(m.reconnectCount.current) : m.optionsRef.current.reconnectInterval;
6825
6825
  setTimeout(function() {
6826
6826
  m.reconnectCount.current++, m.reconnect.current();
6827
6827
  }, y ?? i.DEFAULT_RECONNECT_INTERVAL_MS);
6828
6828
  } else
6829
- m.optionsRef.current.onReconnectStop && m.optionsRef.current.onReconnectStop(m.optionsRef.current.reconnectAttempts), console.warn("Max reconnect attempts of ".concat(f, " exceeded"));
6829
+ m.optionsRef.current.onReconnectStop && m.optionsRef.current.onReconnectStop(m.optionsRef.current.reconnectAttempts), console.warn("Max reconnect attempts of ".concat(c, " exceeded"));
6830
6830
  }
6831
6831
  });
6832
6832
  });
@@ -6838,7 +6838,7 @@ function bo() {
6838
6838
  };
6839
6839
  }, t = function(o, s, u, m) {
6840
6840
  var d;
6841
- return u.current.fromSocketIO && (d = (0, p.setUpSocketIOPing)(m)), b(o, s, u.current.heartbeat), r(o, s), c(o, s, u.current.heartbeat), a(o, s), function() {
6841
+ return u.current.fromSocketIO && (d = (0, p.setUpSocketIOPing)(m)), b(o, s, u.current.heartbeat), r(o, s), f(o, s, u.current.heartbeat), a(o, s), function() {
6842
6842
  d && clearInterval(d);
6843
6843
  };
6844
6844
  };
@@ -6848,25 +6848,25 @@ var Tn;
6848
6848
  function Co() {
6849
6849
  if (Tn) return qa;
6850
6850
  Tn = 1, Object.defineProperty(qa, "__esModule", { value: !0 }), qa.createOrJoinSocket = void 0;
6851
- var e = _t(), l = ra(), i = Uo(), n = bo(), p = Ut(), g = function(c, r, a, t, o) {
6851
+ var e = _t(), l = ra(), i = Uo(), n = bo(), p = Ut(), g = function(f, r, a, t, o) {
6852
6852
  return function() {
6853
- if ((0, p.removeSubscriber)(c, r), !(0, p.hasSubscribers)(c)) {
6853
+ if ((0, p.removeSubscriber)(f, r), !(0, p.hasSubscribers)(f)) {
6854
6854
  try {
6855
- var s = e.sharedWebSockets[c];
6855
+ var s = e.sharedWebSockets[f];
6856
6856
  s instanceof WebSocket && (s.onclose = function(u) {
6857
6857
  a.current.onClose && a.current.onClose(u), t(l.ReadyState.CLOSED);
6858
6858
  }), s.close();
6859
6859
  } catch {
6860
6860
  }
6861
- o && o(), delete e.sharedWebSockets[c];
6861
+ o && o(), delete e.sharedWebSockets[f];
6862
6862
  }
6863
6863
  };
6864
- }, b = function(c, r, a, t, o, s, u, m, d) {
6864
+ }, b = function(f, r, a, t, o, s, u, m, d) {
6865
6865
  if (!l.isEventSourceSupported && t.current.eventSourceOptions)
6866
6866
  throw l.isReactNative ? new Error("EventSource is not supported in ReactNative") : new Error("EventSource is not supported");
6867
6867
  if (t.current.share) {
6868
- var f = null;
6869
- e.sharedWebSockets[r] === void 0 ? (e.sharedWebSockets[r] = t.current.eventSourceOptions ? new EventSource(r, t.current.eventSourceOptions) : new WebSocket(r, t.current.protocols), c.current = e.sharedWebSockets[r], a(l.ReadyState.CONNECTING), f = (0, n.attachSharedListeners)(e.sharedWebSockets[r], r, t, d)) : (c.current = e.sharedWebSockets[r], a(e.sharedWebSockets[r].readyState));
6868
+ var c = null;
6869
+ e.sharedWebSockets[r] === void 0 ? (e.sharedWebSockets[r] = t.current.eventSourceOptions ? new EventSource(r, t.current.eventSourceOptions) : new WebSocket(r, t.current.protocols), f.current = e.sharedWebSockets[r], a(l.ReadyState.CONNECTING), c = (0, n.attachSharedListeners)(e.sharedWebSockets[r], r, t, d)) : (f.current = e.sharedWebSockets[r], a(e.sharedWebSockets[r].readyState));
6870
6870
  var y = {
6871
6871
  setLastMessage: o,
6872
6872
  setReadyState: a,
@@ -6875,11 +6875,11 @@ function Co() {
6875
6875
  lastMessageTime: m,
6876
6876
  reconnect: s
6877
6877
  };
6878
- return (0, p.addSubscriber)(r, y), g(r, y, t, a, f);
6878
+ return (0, p.addSubscriber)(r, y), g(r, y, t, a, c);
6879
6879
  } else {
6880
- if (c.current = t.current.eventSourceOptions ? new EventSource(r, t.current.eventSourceOptions) : new WebSocket(r, t.current.protocols), a(l.ReadyState.CONNECTING), !c.current)
6880
+ if (f.current = t.current.eventSourceOptions ? new EventSource(r, t.current.eventSourceOptions) : new WebSocket(r, t.current.protocols), a(l.ReadyState.CONNECTING), !f.current)
6881
6881
  throw new Error("WebSocket failed to be created");
6882
- return (0, i.attachListeners)(c.current, {
6882
+ return (0, i.attachListeners)(f.current, {
6883
6883
  setLastMessage: o,
6884
6884
  setReadyState: a
6885
6885
  }, t, s.current, u, m, d);
@@ -6904,7 +6904,7 @@ function vo() {
6904
6904
  m(U);
6905
6905
  }
6906
6906
  }
6907
- function f(_) {
6907
+ function c(_) {
6908
6908
  try {
6909
6909
  y(o.throw(_));
6910
6910
  } catch (U) {
@@ -6912,7 +6912,7 @@ function vo() {
6912
6912
  }
6913
6913
  }
6914
6914
  function y(_) {
6915
- _.done ? u(_.value) : s(_.value).then(d, f);
6915
+ _.done ? u(_.value) : s(_.value).then(d, c);
6916
6916
  }
6917
6917
  y((o = o.apply(r, a || [])).next());
6918
6918
  });
@@ -6926,10 +6926,10 @@ function vo() {
6926
6926
  }), m;
6927
6927
  function d(y) {
6928
6928
  return function(_) {
6929
- return f([y, _]);
6929
+ return c([y, _]);
6930
6930
  };
6931
6931
  }
6932
- function f(y) {
6932
+ function c(y) {
6933
6933
  if (o) throw new TypeError("Generator is already executing.");
6934
6934
  for (; m && (m = 0, y[0] && (t = 0)), t; ) try {
6935
6935
  if (o = 1, s && (u = y[0] & 2 ? s.return : y[0] ? s.throw || ((u = s.return) && u.call(s), 0) : s.next) && !(u = u.call(s, y[1])).done) return u;
@@ -6985,11 +6985,11 @@ function vo() {
6985
6985
  return new Promise(function(a) {
6986
6986
  return window.setTimeout(a, r);
6987
6987
  });
6988
- }, c = function(r, a) {
6988
+ }, f = function(r, a) {
6989
6989
  for (var t = [], o = 2; o < arguments.length; o++)
6990
6990
  t[o - 2] = arguments[o];
6991
6991
  return l(void 0, n([r, a], t, !0), void 0, function(s, u, m) {
6992
- var d, f, y, _, U, C, v, x;
6992
+ var d, c, y, _, U, C, v, x;
6993
6993
  return m === void 0 && (m = 0), i(this, function(D) {
6994
6994
  switch (D.label) {
6995
6995
  case 0:
@@ -7000,7 +7000,7 @@ function vo() {
7000
7000
  case 2:
7001
7001
  return d = D.sent(), [3, 9];
7002
7002
  case 3:
7003
- return D.sent(), u.current.retryOnError ? (f = (C = u.current.reconnectAttempts) !== null && C !== void 0 ? C : g.DEFAULT_RECONNECT_LIMIT, m < f ? (y = typeof u.current.reconnectInterval == "function" ? u.current.reconnectInterval(m) : u.current.reconnectInterval, [4, b(y ?? g.DEFAULT_RECONNECT_INTERVAL_MS)]) : [3, 5]) : [3, 7];
7003
+ return D.sent(), u.current.retryOnError ? (c = (C = u.current.reconnectAttempts) !== null && C !== void 0 ? C : g.DEFAULT_RECONNECT_LIMIT, m < c ? (y = typeof u.current.reconnectInterval == "function" ? u.current.reconnectInterval(m) : u.current.reconnectInterval, [4, b(y ?? g.DEFAULT_RECONNECT_INTERVAL_MS)]) : [3, 5]) : [3, 7];
7004
7004
  case 4:
7005
7005
  return D.sent(), [2, (0, e.getUrl)(s, u, m + 1)];
7006
7006
  case 5:
@@ -7021,7 +7021,7 @@ function vo() {
7021
7021
  });
7022
7022
  });
7023
7023
  };
7024
- e.getUrl = c;
7024
+ e.getUrl = f;
7025
7025
  })(ma)), ma;
7026
7026
  }
7027
7027
  var at = {}, xn;
@@ -7051,12 +7051,12 @@ function Ct() {
7051
7051
  return e = Object.assign || function(s) {
7052
7052
  for (var u, m = 1, d = arguments.length; m < d; m++) {
7053
7053
  u = arguments[m];
7054
- for (var f in u) Object.prototype.hasOwnProperty.call(u, f) && (s[f] = u[f]);
7054
+ for (var c in u) Object.prototype.hasOwnProperty.call(u, c) && (s[c] = u[c]);
7055
7055
  }
7056
7056
  return s;
7057
7057
  }, e.apply(this, arguments);
7058
7058
  }, l = Ze && Ze.__awaiter || function(s, u, m, d) {
7059
- function f(y) {
7059
+ function c(y) {
7060
7060
  return y instanceof m ? y : new m(function(_) {
7061
7061
  _(y);
7062
7062
  });
@@ -7077,7 +7077,7 @@ function Ct() {
7077
7077
  }
7078
7078
  }
7079
7079
  function v(x) {
7080
- x.done ? y(x.value) : f(x.value).then(U, C);
7080
+ x.done ? y(x.value) : c(x.value).then(U, C);
7081
7081
  }
7082
7082
  v((d = d.apply(s, u || [])).next());
7083
7083
  });
@@ -7085,7 +7085,7 @@ function Ct() {
7085
7085
  var m = { label: 0, sent: function() {
7086
7086
  if (y[0] & 1) throw y[1];
7087
7087
  return y[1];
7088
- }, trys: [], ops: [] }, d, f, y, _ = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
7088
+ }, trys: [], ops: [] }, d, c, y, _ = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
7089
7089
  return _.next = U(0), _.throw = U(1), _.return = U(2), typeof Symbol == "function" && (_[Symbol.iterator] = function() {
7090
7090
  return this;
7091
7091
  }), _;
@@ -7097,8 +7097,8 @@ function Ct() {
7097
7097
  function C(v) {
7098
7098
  if (d) throw new TypeError("Generator is already executing.");
7099
7099
  for (; _ && (_ = 0, v[0] && (m = 0)), m; ) try {
7100
- if (d = 1, f && (y = v[0] & 2 ? f.return : v[0] ? f.throw || ((y = f.return) && y.call(f), 0) : f.next) && !(y = y.call(f, v[1])).done) return y;
7101
- switch (f = 0, y && (v = [v[0] & 2, y.value]), v[0]) {
7100
+ if (d = 1, c && (y = v[0] & 2 ? c.return : v[0] ? c.throw || ((y = c.return) && y.call(c), 0) : c.next) && !(y = y.call(c, v[1])).done) return y;
7101
+ switch (c = 0, y && (v = [v[0] & 2, y.value]), v[0]) {
7102
7102
  case 0:
7103
7103
  case 1:
7104
7104
  y = v;
@@ -7106,7 +7106,7 @@ function Ct() {
7106
7106
  case 4:
7107
7107
  return m.label++, { value: v[1], done: !1 };
7108
7108
  case 5:
7109
- m.label++, f = v[1], v = [0];
7109
+ m.label++, c = v[1], v = [0];
7110
7110
  continue;
7111
7111
  case 7:
7112
7112
  v = m.ops.pop(), m.trys.pop();
@@ -7133,7 +7133,7 @@ function Ct() {
7133
7133
  }
7134
7134
  v = u.call(s, m);
7135
7135
  } catch (x) {
7136
- v = [6, x], f = 0;
7136
+ v = [6, x], c = 0;
7137
7137
  } finally {
7138
7138
  d = y = 0;
7139
7139
  }
@@ -7144,17 +7144,17 @@ function Ct() {
7144
7144
  return s && s.__esModule ? s : { default: s };
7145
7145
  };
7146
7146
  Object.defineProperty(Ze, "__esModule", { value: !0 }), Ze.useWebSocket = void 0;
7147
- var p = de, g = Vl, b = ra(), c = Co(), r = vo(), a = n(ho()), t = bt(), o = function(s, u, m) {
7147
+ var p = de, g = Vl, b = ra(), f = Co(), r = vo(), a = n(ho()), t = bt(), o = function(s, u, m) {
7148
7148
  u === void 0 && (u = b.DEFAULT_OPTIONS), m === void 0 && (m = !0);
7149
- var d = (0, p.useState)(null), f = d[0], y = d[1], _ = (0, p.useState)({}), U = _[0], C = _[1], v = (0, p.useMemo)(function() {
7150
- if (!u.disableJson && f)
7149
+ var d = (0, p.useState)(null), c = d[0], y = d[1], _ = (0, p.useState)({}), U = _[0], C = _[1], v = (0, p.useMemo)(function() {
7150
+ if (!u.disableJson && c)
7151
7151
  try {
7152
- return JSON.parse(f.data);
7152
+ return JSON.parse(c.data);
7153
7153
  } catch {
7154
7154
  return b.UNPARSABLE_JSON_OBJECT;
7155
7155
  }
7156
7156
  return null;
7157
- }, [f, u.disableJson]), x = (0, p.useRef)(null), D = (0, p.useRef)(null), G = (0, p.useRef)(function() {
7157
+ }, [c, u.disableJson]), x = (0, p.useRef)(null), D = (0, p.useRef)(null), G = (0, p.useRef)(function() {
7158
7158
  }), H = (0, p.useRef)(0), k = (0, p.useRef)(Date.now()), T = (0, p.useRef)([]), F = (0, p.useRef)(null), O = (0, p.useRef)(u);
7159
7159
  O.current = u;
7160
7160
  var P = x.current && U[x.current] !== void 0 ? U[x.current] : s !== null && m === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, S = u.queryParams ? JSON.stringify(u.queryParams) : null, E = (0, p.useCallback)(function(B, W) {
@@ -7197,7 +7197,7 @@ function Ct() {
7197
7197
  return e(e({}, J), x.current && (ae = {}, ae[x.current] = Q, ae));
7198
7198
  });
7199
7199
  });
7200
- }, L && (B = (0, c.createOrJoinSocket)(D, x.current, K, O, R, G, H, k, E)), [
7200
+ }, L && (B = (0, f.createOrJoinSocket)(D, x.current, K, O, R, G, H, k, E)), [
7201
7201
  2
7202
7202
  /*return*/
7203
7203
  ]);
@@ -7221,7 +7221,7 @@ function Ct() {
7221
7221
  }, [P]), {
7222
7222
  sendMessage: E,
7223
7223
  sendJsonMessage: M,
7224
- lastMessage: f,
7224
+ lastMessage: c,
7225
7225
  lastJsonMessage: v,
7226
7226
  readyState: P,
7227
7227
  getWebSocket: w
@@ -7234,22 +7234,22 @@ function To() {
7234
7234
  if (Dn) return ka;
7235
7235
  Dn = 1;
7236
7236
  var e = ka && ka.__assign || function() {
7237
- return e = Object.assign || function(c) {
7237
+ return e = Object.assign || function(f) {
7238
7238
  for (var r, a = 1, t = arguments.length; a < t; a++) {
7239
7239
  r = arguments[a];
7240
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (c[o] = r[o]);
7240
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (f[o] = r[o]);
7241
7241
  }
7242
- return c;
7242
+ return f;
7243
7243
  }, e.apply(this, arguments);
7244
7244
  };
7245
7245
  Object.defineProperty(ka, "__esModule", { value: !0 }), ka.useSocketIO = void 0;
7246
7246
  var l = de, i = Ct(), n = ra(), p = {
7247
7247
  type: "empty",
7248
7248
  payload: null
7249
- }, g = function(c) {
7250
- if (!c || !c.data)
7249
+ }, g = function(f) {
7250
+ if (!f || !f.data)
7251
7251
  return p;
7252
- var r = c.data.match(/\[.*]/);
7252
+ var r = f.data.match(/\[.*]/);
7253
7253
  if (!r)
7254
7254
  return p;
7255
7255
  var a = JSON.parse(r);
@@ -7257,11 +7257,11 @@ function To() {
7257
7257
  type: a[0],
7258
7258
  payload: a[1]
7259
7259
  };
7260
- }, b = function(c, r, a) {
7260
+ }, b = function(f, r, a) {
7261
7261
  r === void 0 && (r = n.DEFAULT_OPTIONS), a === void 0 && (a = !0);
7262
7262
  var t = (0, l.useMemo)(function() {
7263
7263
  return e(e({}, r), { fromSocketIO: !0 });
7264
- }, []), o = (0, i.useWebSocket)(c, t, a), s = o.sendMessage, u = o.sendJsonMessage, m = o.lastMessage, d = o.readyState, f = o.getWebSocket, y = (0, l.useMemo)(function() {
7264
+ }, []), o = (0, i.useWebSocket)(f, t, a), s = o.sendMessage, u = o.sendJsonMessage, m = o.lastMessage, d = o.readyState, c = o.getWebSocket, y = (0, l.useMemo)(function() {
7265
7265
  return g(m);
7266
7266
  }, [m]);
7267
7267
  return {
@@ -7270,7 +7270,7 @@ function To() {
7270
7270
  lastMessage: y,
7271
7271
  lastJsonMessage: y,
7272
7272
  readyState: d,
7273
- getWebSocket: f
7273
+ getWebSocket: c
7274
7274
  };
7275
7275
  };
7276
7276
  return ka.useSocketIO = b, ka;
@@ -7281,30 +7281,30 @@ function ko() {
7281
7281
  En = 1;
7282
7282
  var e = ua && ua.__assign || function() {
7283
7283
  return e = Object.assign || function(b) {
7284
- for (var c, r = 1, a = arguments.length; r < a; r++) {
7285
- c = arguments[r];
7286
- for (var t in c) Object.prototype.hasOwnProperty.call(c, t) && (b[t] = c[t]);
7284
+ for (var f, r = 1, a = arguments.length; r < a; r++) {
7285
+ f = arguments[r];
7286
+ for (var t in f) Object.prototype.hasOwnProperty.call(f, t) && (b[t] = f[t]);
7287
7287
  }
7288
7288
  return b;
7289
7289
  }, e.apply(this, arguments);
7290
- }, l = ua && ua.__rest || function(b, c) {
7290
+ }, l = ua && ua.__rest || function(b, f) {
7291
7291
  var r = {};
7292
- for (var a in b) Object.prototype.hasOwnProperty.call(b, a) && c.indexOf(a) < 0 && (r[a] = b[a]);
7292
+ for (var a in b) Object.prototype.hasOwnProperty.call(b, a) && f.indexOf(a) < 0 && (r[a] = b[a]);
7293
7293
  if (b != null && typeof Object.getOwnPropertySymbols == "function")
7294
7294
  for (var t = 0, a = Object.getOwnPropertySymbols(b); t < a.length; t++)
7295
- c.indexOf(a[t]) < 0 && Object.prototype.propertyIsEnumerable.call(b, a[t]) && (r[a[t]] = b[a[t]]);
7295
+ f.indexOf(a[t]) < 0 && Object.prototype.propertyIsEnumerable.call(b, a[t]) && (r[a[t]] = b[a[t]]);
7296
7296
  return r;
7297
7297
  };
7298
7298
  Object.defineProperty(ua, "__esModule", { value: !0 }), ua.useEventSource = void 0;
7299
- var i = de, n = Ct(), p = ra(), g = function(b, c, r) {
7300
- c === void 0 && (c = p.DEFAULT_EVENT_SOURCE_OPTIONS);
7301
- var a = c.withCredentials, t = c.events, o = l(c, ["withCredentials", "events"]);
7299
+ var i = de, n = Ct(), p = ra(), g = function(b, f, r) {
7300
+ f === void 0 && (f = p.DEFAULT_EVENT_SOURCE_OPTIONS);
7301
+ var a = f.withCredentials, t = f.events, o = l(f, ["withCredentials", "events"]);
7302
7302
  r === void 0 && (r = !0);
7303
7303
  var s = e(e({}, o), { eventSourceOptions: {
7304
7304
  withCredentials: a
7305
7305
  } }), u = (0, i.useRef)(p.EMPTY_EVENT_HANDLERS);
7306
7306
  t && (u.current = t);
7307
- var m = (0, n.useWebSocket)(b, s, r), d = m.lastMessage, f = m.readyState, y = m.getWebSocket;
7307
+ var m = (0, n.useWebSocket)(b, s, r), d = m.lastMessage, c = m.readyState, y = m.getWebSocket;
7308
7308
  return (0, i.useEffect)(function() {
7309
7309
  d?.type && Object.entries(u.current).forEach(function(_) {
7310
7310
  var U = _[0], C = _[1];
@@ -7312,7 +7312,7 @@ function ko() {
7312
7312
  });
7313
7313
  }, [d]), {
7314
7314
  lastEvent: d,
7315
- readyState: f,
7315
+ readyState: c,
7316
7316
  getEventSource: y
7317
7317
  };
7318
7318
  };
@@ -7352,13 +7352,13 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7352
7352
  isInGameBox: n = !1,
7353
7353
  currentGamePlatform: p = ""
7354
7354
  }) => {
7355
- const { store: g, lng: b } = oe(), { isReady: c, setAsReady: r, isPending: a, setAsPending: t } = Vn(), o = $e(b), { mutateAsync: s } = Bo();
7355
+ const { store: g, lng: b } = oe(), { isReady: f, setAsReady: r, isPending: a, setAsPending: t } = Vn(), o = $e(b), { mutateAsync: s } = Bo();
7356
7356
  return !e || !l || !i ? { handleTransferInGame: () => {
7357
7357
  } } : { handleTransferInGame: async () => {
7358
7358
  console.log("執行遊戲內轉帳"), n && await s({
7359
7359
  platform: p
7360
7360
  }).then((m) => {
7361
- const { code: d, request_id: f } = m;
7361
+ const { code: d, request_id: c } = m;
7362
7362
  switch (d) {
7363
7363
  case 200:
7364
7364
  r(), g.dispatch({
@@ -7371,10 +7371,10 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7371
7371
  });
7372
7372
  return;
7373
7373
  case 101:
7374
- localStorage.setItem("transfer_in_game_request_id", f), t();
7374
+ localStorage.setItem("transfer_in_game_request_id", c), t();
7375
7375
  return;
7376
7376
  case 102:
7377
- localStorage.setItem("transfer_in_game_request_id", f), t(), g.dispatch({
7377
+ localStorage.setItem("transfer_in_game_request_id", c), t(), g.dispatch({
7378
7378
  type: "ui/openNotificationModal",
7379
7379
  payload: {
7380
7380
  title: ja[o] || "System Prompt",
@@ -7393,14 +7393,14 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7393
7393
  } };
7394
7394
  }, Ha = () => {
7395
7395
  const { client: e } = oe(), l = I(async () => {
7396
- const { data: c } = await e.get("/carousels");
7397
- return c;
7396
+ const { data: f } = await e.get("/carousels");
7397
+ return f;
7398
7398
  }, [e]), i = I(async () => await e.get("/marquees"), [e]), n = I(async () => await e.get("/notification"), [e]), p = I(
7399
- async (c) => await e.put(`/notification/${c}/read`),
7399
+ async (f) => await e.put(`/notification/${f}/read`),
7400
7400
  [e]
7401
7401
  ), g = I(
7402
- async (c) => {
7403
- const { phonecode: r } = c || {};
7402
+ async (f) => {
7403
+ const { phonecode: r } = f || {};
7404
7404
  return await e.get("/verifyPhoneBarcode", {
7405
7405
  params: {
7406
7406
  phonecode: r
@@ -7409,8 +7409,8 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7409
7409
  },
7410
7410
  [e]
7411
7411
  ), b = I(
7412
- async (c) => {
7413
- const { lovecode: r } = c || {};
7412
+ async (f) => {
7413
+ const { lovecode: r } = f || {};
7414
7414
  return await e.get("/verifyLoveCode", {
7415
7415
  params: {
7416
7416
  lovecode: r
@@ -7636,7 +7636,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7636
7636
  options: e.toggleFavoriteGame
7637
7637
  }), b = Po({
7638
7638
  options: e.resetUserPassword
7639
- }), c = wo({
7639
+ }), f = wo({
7640
7640
  options: e.setUserTransactionPassword
7641
7641
  }), r = Fo({
7642
7642
  options: e.resetUserTransactionPassword
@@ -7648,7 +7648,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7648
7648
  updateUserInfo: p,
7649
7649
  toggleFavoriteGame: g,
7650
7650
  resetUserPassword: b,
7651
- setUserTransactionPassword: c,
7651
+ setUserTransactionPassword: f,
7652
7652
  resetUserTransactionPassword: r,
7653
7653
  userRebate: a,
7654
7654
  userBindCard: t
@@ -7681,7 +7681,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7681
7681
  enableNotification: g = !1,
7682
7682
  disabledLineAutoRegister: b = !1
7683
7683
  }) => {
7684
- const { store: c, lng: r } = oe(), a = pt(), { isReady: t, setAsReady: o, isPending: s, setAsPending: u } = Vn(), m = $e(r), d = ee(!1), f = ee(l), y = le(n, "uid", null);
7684
+ const { store: f, lng: r } = oe(), a = pt(), { isReady: t, setAsReady: o, isPending: s, setAsPending: u } = Vn(), m = $e(r), d = ee(!1), c = ee(l), y = le(n, "uid", null);
7685
7685
  le(n, "testFunction", 0);
7686
7686
  const _ = new URLSearchParams(window.location.search), U = le(
7687
7687
  p,
@@ -7690,14 +7690,14 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7690
7690
  ), { mutateAsync: C } = tl({
7691
7691
  options: {
7692
7692
  onSuccess: (P) => {
7693
- f.current.onLineLogin?.(P);
7693
+ c.current.onLineLogin?.(P);
7694
7694
  },
7695
7695
  retry: !1
7696
7696
  }
7697
7697
  }), { mutateAsync: v } = Ho({
7698
7698
  options: {
7699
7699
  onSuccess: (P) => {
7700
- f.current.onLineLogin?.(P);
7700
+ c.current.onLineLogin?.(P);
7701
7701
  },
7702
7702
  onError: (P, S) => {
7703
7703
  b || C(S);
@@ -7743,7 +7743,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7743
7743
  }, [D]);
7744
7744
  const F = I(
7745
7745
  (P, S) => {
7746
- g && c.dispatch({
7746
+ g && f.dispatch({
7747
7747
  type: "ui/openNotificationModal",
7748
7748
  payload: {
7749
7749
  title: ja[m] || "System Prompt",
@@ -7753,10 +7753,10 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7753
7753
  }
7754
7754
  });
7755
7755
  },
7756
- [g, c, m]
7756
+ [g, f, m]
7757
7757
  );
7758
7758
  ge(() => {
7759
- f.current = l;
7759
+ c.current = l;
7760
7760
  }, [l]);
7761
7761
  const O = ee(null);
7762
7762
  return ge(() => {
@@ -7773,7 +7773,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7773
7773
  onTransferInGame: W,
7774
7774
  onCashRegisterLimit: L,
7775
7775
  onLineLogin: N
7776
- } = f.current, A = le(T, "type", ""), R = {
7776
+ } = c.current, A = le(T, "type", ""), R = {
7777
7777
  memberInfoUid: le(T, "member_info_uid", null),
7778
7778
  data: le(T, "data", null),
7779
7779
  memo: le(T, "memo", null),
@@ -7831,7 +7831,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7831
7831
  x();
7832
7832
  return;
7833
7833
  }
7834
- localStorage.removeItem("transfer_in_game_request_id"), o(), c.dispatch({
7834
+ localStorage.removeItem("transfer_in_game_request_id"), o(), f.dispatch({
7835
7835
  type: "ui/openNotificationModal",
7836
7836
  payload: {
7837
7837
  title: ja[m] || "System Prompt",
@@ -7873,7 +7873,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7873
7873
  }, [
7874
7874
  T,
7875
7875
  y,
7876
- c,
7876
+ f,
7877
7877
  a,
7878
7878
  m,
7879
7879
  F,
@@ -7920,10 +7920,10 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7920
7920
  [e]
7921
7921
  ), p = I(
7922
7922
  async (g = {}) => {
7923
- const { currency: b, event_uid: c } = g || {};
7923
+ const { currency: b, event_uid: f } = g || {};
7924
7924
  return await e.post("/event/checkMemberEventsStatus", {
7925
7925
  currency: b,
7926
- event_uid: c
7926
+ event_uid: f
7927
7927
  });
7928
7928
  },
7929
7929
  [e]
@@ -7935,24 +7935,24 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
7935
7935
  redeemEventRewardApi: n
7936
7936
  };
7937
7937
  }, Vo = ({ paramsData: e, options: l } = {}) => {
7938
- const { store: i, lng: n, data2URL: p } = oe(), { eventListApi: g } = Ki(), b = i?.getState()?.isWalletCurrency || i?.getState()?.currency?.currentCurrency || "TWD", c = $e(n);
7938
+ const { store: i, lng: n, data2URL: p } = oe(), { eventListApi: g } = Ki(), b = i?.getState()?.isWalletCurrency || i?.getState()?.currency?.currentCurrency || "TWD", f = $e(n);
7939
7939
  return j({
7940
7940
  queryKey: ["eventList", e],
7941
7941
  queryFn: () => g({ paramsData: e }),
7942
7942
  select: (r) => {
7943
7943
  const { data: a } = r;
7944
- return Oe(a, (o) => {
7944
+ return Be(a, (o) => {
7945
7945
  const { events_attributes: s } = o, u = qe(
7946
7946
  s,
7947
7947
  (v) => v.attribute_currency === b
7948
- ) || s[0], m = le(u, "rewards", {}), d = le(o, "carousels.[0]", {}), f = qe(d.carousels_lang, (v) => v.lang === c) || d?.carousels_lang?.[0], y = {
7948
+ ) || s[0], m = le(u, "rewards", {}), d = le(o, "carousels.[0]", {}), c = qe(d.carousels_lang, (v) => v.lang === f) || d?.carousels_lang?.[0], y = {
7949
7949
  ...d,
7950
7950
  currentLngCarousel: {
7951
- ...f,
7952
- carouselCurrentLanguagePCImageUrl: `${p}/carousels/${f?.image_pc}`,
7953
- carouselCurrentLanguageMBImageUrl: `${p}/carousels/${f?.image_mobile}`,
7954
- carouselCurrentLanguageS3PCImageUrl: `${Xe}/carousels/${f?.image_pc}`,
7955
- carouselCurrentLanguageS3MBImageUrl: `${Xe}/carousels/${f?.image_mobile}`
7951
+ ...c,
7952
+ carouselCurrentLanguagePCImageUrl: `${p}/carousels/${c?.image_pc}`,
7953
+ carouselCurrentLanguageMBImageUrl: `${p}/carousels/${c?.image_mobile}`,
7954
+ carouselCurrentLanguageS3PCImageUrl: `${Xe}/carousels/${c?.image_pc}`,
7955
+ carouselCurrentLanguageS3MBImageUrl: `${Xe}/carousels/${c?.image_mobile}`
7956
7956
  }
7957
7957
  }, _ = {
7958
7958
  eventUid: o.uid,
@@ -8095,7 +8095,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
8095
8095
  return p || await i();
8096
8096
  },
8097
8097
  select: (p) => p.map((b) => {
8098
- const { carousels_lang: c } = b, r = c?.find((a) => a.lang === n) || c[0];
8098
+ const { carousels_lang: f } = b, r = f?.find((a) => a.lang === n) || f[0];
8099
8099
  return {
8100
8100
  ...b,
8101
8101
  carouselCurrentLanguageData: r,
@@ -8117,7 +8117,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
8117
8117
  },
8118
8118
  select: (n) => {
8119
8119
  const p = la(n) ? n : n.Marquees;
8120
- return Oe(p, (b) => b[i] || b["en-US"]);
8120
+ return Be(p, (b) => b[i] || b["en-US"]);
8121
8121
  }
8122
8122
  });
8123
8123
  }, zm = ({ options: e } = {}) => {
@@ -8128,10 +8128,10 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
8128
8128
  enabled: window.profit_ranking_status === 1,
8129
8129
  select: (i) => {
8130
8130
  const { data: n } = i;
8131
- return Oe(n, (g) => {
8131
+ return Be(n, (g) => {
8132
8132
  const {
8133
8133
  game_uid: b,
8134
- game_code: c,
8134
+ game_code: f,
8135
8135
  game_name_en: r,
8136
8136
  game_platform_uid: a,
8137
8137
  memId: t,
@@ -8142,7 +8142,7 @@ const Do = /* @__PURE__ */ gt(So), Eo = ({
8142
8142
  return {
8143
8143
  gameUid: b,
8144
8144
  //遊戲UID
8145
- gameCode: c,
8145
+ gameCode: f,
8146
8146
  //遊戲代碼
8147
8147
  gameNameEn: r,
8148
8148
  //遊戲名稱(英文)
@@ -8178,12 +8178,12 @@ var Ko = Object.create, nl = Object.defineProperty, qo = Object.getOwnPropertyDe
8178
8178
  return function(m, d) {
8179
8179
  return u.set(m, d), d;
8180
8180
  };
8181
- }, g = Number.MAX_SAFE_INTEGER === void 0 ? 9007199254740991 : Number.MAX_SAFE_INTEGER, b = 536870912, c = b * 2, r = function(u, m) {
8181
+ }, g = Number.MAX_SAFE_INTEGER === void 0 ? 9007199254740991 : Number.MAX_SAFE_INTEGER, b = 536870912, f = b * 2, r = function(u, m) {
8182
8182
  return function(d) {
8183
- var f = m.get(d), y = f === void 0 ? d.size : f < c ? f + 1 : 0;
8183
+ var c = m.get(d), y = c === void 0 ? d.size : c < f ? c + 1 : 0;
8184
8184
  if (!d.has(y)) return u(d, y);
8185
8185
  if (d.size < b) {
8186
- for (; d.has(y); ) y = Math.floor(Math.random() * c);
8186
+ for (; d.has(y); ) y = Math.floor(Math.random() * f);
8187
8187
  return u(d, y);
8188
8188
  }
8189
8189
  if (d.size > g) throw new Error("Congratulations, you created a collection of unique numbers which uses all available integers!");
@@ -8456,13 +8456,13 @@ function it(e, l) {
8456
8456
  };
8457
8457
  }
8458
8458
  var Te = () => Date.now(), Fa = 2147483647;
8459
- function ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: l = 0, promptBeforeIdle: i = 0, element: n = ss, events: p = ms, timers: g = void 0, immediateEvents: b = [], onPresenceChange: c = () => {
8459
+ function ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: l = 0, promptBeforeIdle: i = 0, element: n = ss, events: p = ms, timers: g = void 0, immediateEvents: b = [], onPresenceChange: f = () => {
8460
8460
  }, onPrompt: r = () => {
8461
8461
  }, onIdle: a = () => {
8462
8462
  }, onActive: t = () => {
8463
8463
  }, onAction: o = () => {
8464
8464
  }, onMessage: s = () => {
8465
- }, debounce: u = 0, throttle: m = 0, eventsThrottle: d = 200, startOnMount: f = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: U = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: x = !1, disabled: D = !1 } = {}) {
8465
+ }, debounce: u = 0, throttle: m = 0, eventsThrottle: d = 200, startOnMount: c = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: U = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: x = !1, disabled: D = !1 } = {}) {
8466
8466
  let G = ee(Te()), H = ee(Te()), k = ee(null), T = ee(null), F = ee(0), O = ee(0), P = ee(0), S = ee(0), E = ee(!1), M = ee(!1), w = ee(!1), B = ee(!0), W = ee(!1), L = ee(null), N = ee(null), A = ee(e), R = ee(0);
8467
8467
  ge(() => {
8468
8468
  if (l && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), i && l) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
@@ -8483,10 +8483,10 @@ function ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: l = 0, promptBeforeIdle
8483
8483
  ge(() => {
8484
8484
  ae.current = D, !B.current && (D ? Ve() : y || Qe());
8485
8485
  }, [D]);
8486
- let te = ee(c);
8486
+ let te = ee(f);
8487
8487
  ge(() => {
8488
- te.current = c;
8489
- }, [c]);
8488
+ te.current = f;
8489
+ }, [f]);
8490
8490
  let _e = ee(r);
8491
8491
  ge(() => {
8492
8492
  _e.current = r;
@@ -8539,7 +8539,7 @@ function ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: l = 0, promptBeforeIdle
8539
8539
  }
8540
8540
  N.current ? N.current.active() : ve(V);
8541
8541
  }, aa = (V) => {
8542
- if (!f && !T.current && (T.current = Te(), se.current(null, Se)), Ue(V, Se), M.current) return;
8542
+ if (!c && !T.current && (T.current = Te(), se.current(null, Se)), Ue(V, Se), M.current) return;
8543
8543
  if (Ce(), !E.current && q.current.includes(V.type)) {
8544
8544
  He(V);
8545
8545
  return;
@@ -8594,18 +8594,18 @@ function ps({ timeout: e = 1e3 * 60 * 20, promptTimeout: l = 0, promptBeforeIdle
8594
8594
  ke.current(V, Se);
8595
8595
  }, start: Qe, reset: oa, activate: ga, pause: Ve, resume: je }) : N.current = null;
8596
8596
  }, [U, C, x, _e, ye, se, ke, Qe, oa, Ve, je]), ge(() => {
8597
- B.current || (Ce(), Re(!0)), !(y || D) && (f ? Qe() : xe());
8598
- }, [y, f, D, B]), ge(() => {
8597
+ B.current || (Ce(), Re(!0)), !(y || D) && (c ? Qe() : xe());
8598
+ }, [y, c, D, B]), ge(() => {
8599
8599
  if (!B.current) {
8600
8600
  let V = [...(/* @__PURE__ */ new Set([...p, ...b])).values()];
8601
8601
  if (Re(), J.current = V, Q.current = n, q.current = b, y || D) return;
8602
- f ? Qe() : xe();
8602
+ c ? Qe() : xe();
8603
8603
  }
8604
- }, [n, JSON.stringify(p), JSON.stringify(b), B, D, y, f]), ge(() => {
8604
+ }, [n, JSON.stringify(p), JSON.stringify(b), B, D, y, c]), ge(() => {
8605
8605
  B.current && (B.current = !1);
8606
8606
  }, [B]);
8607
8607
  let Se = { message: za, start: Qe, reset: oa, activate: ga, pause: Ve, resume: je, isIdle: Ea, isPrompted: Na, isLeader: Ia, isLastActiveTab: Va, getTabId: da, getRemainingTime: Ua, getElapsedTime: Je, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: La, getIdleTime: Ga, getTotalIdleTime: ba, getActiveTime: Ma, getTotalActiveTime: Ra, setOnPresenceChange: (V) => {
8608
- c = V, te.current = V;
8608
+ f = V, te.current = V;
8609
8609
  }, setOnPrompt: (V) => {
8610
8610
  r = V, _e.current = V;
8611
8611
  }, setOnIdle: (V) => {
@@ -8633,8 +8633,8 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
8633
8633
  queryKey: ["inboxList"],
8634
8634
  queryFn: async () => await l(),
8635
8635
  select: (b) => {
8636
- const { data: c } = b;
8637
- return Oe(c, (a) => {
8636
+ const { data: f } = b;
8637
+ return Be(f, (a) => {
8638
8638
  const { internal_notifications_language: t } = a;
8639
8639
  return {
8640
8640
  ...a,
@@ -8731,7 +8731,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
8731
8731
  return n({ uid: g, params: b });
8732
8732
  },
8733
8733
  select: (g) => {
8734
- const { data: b } = g, c = b.data?.filter((a) => a.is_active === 1), r = Oe(c, (a) => {
8734
+ const { data: b } = g, f = b.data?.filter((a) => a.is_active === 1), r = Be(f, (a) => {
8735
8735
  const t = qe(a.news_language, {
8736
8736
  language: p
8737
8737
  }) || a.news_language[0];
@@ -8767,136 +8767,156 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
8767
8767
  },
8768
8768
  ...e
8769
8769
  });
8770
- }, Be = () => {
8770
+ }, Ae = () => {
8771
8771
  const { client: e } = oe(), l = I(async () => await e.get("/payment/list"), [e]), i = I(
8772
- async ({ paramsData: u }) => await e.get("/thirdPartyPayment/list", {
8773
- params: { ...u }
8772
+ async ({ paramsData: m }) => await e.get("/thirdPartyPayment/list", {
8773
+ params: { ...m }
8774
8774
  }),
8775
8775
  [e]
8776
8776
  ), n = I(
8777
- async (u) => {
8778
- const { deposit_amount: m, method_id: d, currency_code: f, provider_uid: y } = u;
8777
+ async (m) => {
8778
+ const { deposit_amount: d, method_id: c, currency_code: y, provider_uid: _ } = m;
8779
8779
  return await e.post("/thirdPartyPayment/deposit", {
8780
8780
  deposit: {
8781
- deposit_amount: m,
8782
- method_id: d,
8783
- currency_code: f,
8784
- provider_uid: y
8781
+ deposit_amount: d,
8782
+ method_id: c,
8783
+ currency_code: y,
8784
+ provider_uid: _
8785
8785
  }
8786
8786
  });
8787
8787
  },
8788
8788
  [e]
8789
8789
  ), p = I(
8790
- async (u) => {
8791
- const { bank_uid: m, amount: d, bank_number_last5: f, postscript: y } = u;
8790
+ async (m) => {
8791
+ const { bank_uid: d, amount: c, bank_number_last5: y, postscript: _ } = m;
8792
8792
  return await e.post("/vip/deposit", {
8793
- bank_uid: m,
8794
- amount: d,
8795
- bank_number_last5: f,
8796
- postscript: y
8793
+ bank_uid: d,
8794
+ amount: c,
8795
+ bank_number_last5: y,
8796
+ postscript: _
8797
8797
  });
8798
8798
  },
8799
8799
  [e]
8800
8800
  ), g = I(
8801
- async (u) => {
8801
+ async (m) => {
8802
8802
  const {
8803
- withdrawal_amount: m,
8804
- bank_account_number: d,
8805
- currency_code: f,
8806
- withdrawal_code: y
8807
- } = u;
8803
+ withdrawal_amount: d,
8804
+ bank_account_number: c,
8805
+ currency_code: y,
8806
+ withdrawal_code: _
8807
+ } = m;
8808
8808
  return await e.post("/thirdPartyPayment/withdraw", {
8809
8809
  withdraw: {
8810
- withdrawal_amount: m,
8811
- bank_account_number: d,
8812
- currency_code: f,
8813
- withdrawal_code: al.MD5(y).toString(),
8810
+ withdrawal_amount: d,
8811
+ bank_account_number: c,
8812
+ currency_code: y,
8813
+ withdrawal_code: al.MD5(_).toString(),
8814
8814
  payment_type: "ThirdParty"
8815
8815
  }
8816
8816
  });
8817
8817
  },
8818
8818
  [e]
8819
8819
  ), b = I(
8820
- async ({ paramsData: u } = {}) => {
8821
- const { str_date: m, end_date: d, limit: f = 25, current_page: y } = u || {}, _ = we().format("HH:mm:ss"), U = we().subtract(24, "hour").format("HH:mm:ss");
8820
+ async ({ paramsData: m } = {}) => {
8821
+ const { str_date: d, end_date: c, limit: y = 25, current_page: _ } = m || {}, U = we().format("HH:mm:ss"), C = we().subtract(24, "hour").format("HH:mm:ss");
8822
8822
  return await e.get("/report/deposit", {
8823
8823
  params: {
8824
- str_date: `${we(m).format("YYYY-MM-DD")} ${_}`,
8825
- end_date: `${we(d).format("YYYY-MM-DD")} ${U}`,
8826
- limit: f,
8827
- page: y
8824
+ str_date: `${we(d).format("YYYY-MM-DD")} ${U}`,
8825
+ end_date: `${we(c).format("YYYY-MM-DD")} ${C}`,
8826
+ limit: y,
8827
+ page: _
8828
8828
  }
8829
8829
  });
8830
8830
  },
8831
8831
  [e]
8832
- ), c = I(
8833
- async ({ paramsData: u }) => {
8834
- const { str_date: m, end_date: d, limit: f = 25, current_page: y } = u || {}, _ = we().format("HH:mm:ss"), U = we().subtract(24, "hour").format("HH:mm:ss");
8832
+ ), f = I(
8833
+ async ({ paramsData: m }) => {
8834
+ const { str_date: d, end_date: c, limit: y = 25, current_page: _ } = m || {}, U = we().format("HH:mm:ss"), C = we().subtract(24, "hour").format("HH:mm:ss");
8835
8835
  return await e.get("report/eventsreward", {
8836
8836
  params: {
8837
- str_date: `${we(m).format("YYYY-MM-DD")} ${_}`,
8838
- end_date: `${we(d).format("YYYY-MM-DD")} ${U}`,
8839
- limit: f,
8840
- page: y
8837
+ str_date: `${we(d).format("YYYY-MM-DD")} ${U}`,
8838
+ end_date: `${we(c).format("YYYY-MM-DD")} ${C}`,
8839
+ limit: y,
8840
+ page: _
8841
8841
  }
8842
8842
  });
8843
8843
  },
8844
8844
  [e]
8845
8845
  ), r = I(
8846
- async ({ paramsData: u } = {}) => {
8847
- const { str_date: m, end_date: d, limit: f = 25, current_page: y } = u || {};
8846
+ async ({ paramsData: m } = {}) => {
8847
+ const { str_date: d, end_date: c, limit: y = 25, current_page: _ } = m || {};
8848
8848
  return await e.get("/report/withdraw", {
8849
8849
  params: {
8850
- str_date: `${we(m).format("YYYY-MM-DD")} 12:00:00`,
8851
- end_date: `${we(d).format("YYYY-MM-DD")} 11:59:59`,
8852
- limit: f,
8853
- page: y
8850
+ str_date: `${we(d).format("YYYY-MM-DD")} 12:00:00`,
8851
+ end_date: `${we(c).format("YYYY-MM-DD")} 11:59:59`,
8852
+ limit: y,
8853
+ page: _
8854
8854
  }
8855
8855
  });
8856
8856
  },
8857
8857
  [e]
8858
8858
  ), a = I(
8859
- async (u) => {
8860
- const { redeem_code: m } = u;
8861
- return await e.post(`/sn/redeem/${m}`);
8859
+ async (m) => {
8860
+ const { redeem_code: d } = m;
8861
+ return await e.post(`/sn/redeem/${d}`);
8862
8862
  },
8863
8863
  [e]
8864
8864
  ), t = I(
8865
- async (u) => {
8866
- const { type: m, code: d } = u;
8865
+ async (m) => {
8866
+ const { type: d, code: c } = m;
8867
8867
  return await e.post("/member/invoice", {
8868
- type: m,
8869
- code: d
8868
+ type: d,
8869
+ code: c
8870
8870
  });
8871
8871
  },
8872
8872
  [e]
8873
8873
  ), o = I(
8874
- async (u) => {
8875
- const { type: m, code: d, uid: f } = u;
8876
- return await e.put(`/member/invoice/${f}`, {
8877
- type: m,
8878
- code: d
8874
+ async (m) => {
8875
+ const { type: d, code: c, uid: y } = m;
8876
+ return await e.put(`/member/invoice/${y}`, {
8877
+ type: d,
8878
+ code: c
8879
8879
  });
8880
8880
  },
8881
8881
  [e]
8882
8882
  ), s = I(
8883
- async (u, m) => {
8883
+ async (m, d) => {
8884
+ const {
8885
+ str_date: c,
8886
+ end_date: y,
8887
+ limit: _ = 25,
8888
+ page: U = 1,
8889
+ wallet_log_uid: C,
8890
+ transhash: v
8891
+ } = m;
8892
+ return await e.get(`/walletlog/${d}`, {
8893
+ params: {
8894
+ s_date: c,
8895
+ e_date: y,
8896
+ wallet_log_uid: C,
8897
+ transhash: v,
8898
+ limit: _,
8899
+ page: U
8900
+ }
8901
+ });
8902
+ },
8903
+ [e]
8904
+ ), u = I(
8905
+ async (m) => {
8884
8906
  const {
8885
8907
  str_date: d,
8886
- end_date: f,
8908
+ end_date: c,
8887
8909
  limit: y = 25,
8888
8910
  page: _ = 1,
8889
- wallet_log_uid: U,
8890
- transhash: C
8891
- } = u;
8892
- return await e.get(`/walletlog/${m}`, {
8911
+ treasure_uid: U
8912
+ } = m;
8913
+ return await e.get("/treasure/drawLog", {
8893
8914
  params: {
8894
- s_date: d,
8895
- e_date: f,
8896
- wallet_log_uid: U,
8897
- transhash: C,
8915
+ str_date: d,
8916
+ end_date: c,
8898
8917
  limit: y,
8899
- page: _
8918
+ page: _,
8919
+ treasure_uid: U
8900
8920
  }
8901
8921
  });
8902
8922
  },
@@ -8909,29 +8929,30 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
8909
8929
  bankDepositApi: p,
8910
8930
  withdrawApi: g,
8911
8931
  depositTransactionApi: b,
8912
- eventTransactionApi: c,
8932
+ eventTransactionApi: f,
8913
8933
  withdrawTransactionApi: r,
8914
8934
  redeemCodeDepositApi: a,
8915
8935
  invoiceApi: t,
8916
8936
  updateInvoiceApi: o,
8917
- transactionRecordApi: s
8937
+ transactionRecordApi: s,
8938
+ treasureRecordApi: u
8918
8939
  };
8919
8940
  }, _s = ({ options: e } = {}) => {
8920
- const { depositApiV1: l } = Be();
8941
+ const { depositApiV1: l } = Ae();
8921
8942
  return j({
8922
8943
  queryKey: ["depositV1"],
8923
8944
  queryFn: l,
8924
8945
  ...e
8925
8946
  });
8926
8947
  }, ys = ({ paramsData: e, options: l } = {}) => {
8927
- const { depositApiV2: i } = Be();
8948
+ const { depositApiV2: i } = Ae();
8928
8949
  return j({
8929
8950
  queryKey: ["depositV2", e],
8930
8951
  queryFn: () => i({ paramsData: e }),
8931
8952
  select: (n) => {
8932
- const { third_party: p, bank: g, vip: b } = n, c = Oe(p, (r) => ({
8953
+ const { third_party: p, bank: g, vip: b } = n, f = Be(p, (r) => ({
8933
8954
  ...r,
8934
- providerList: Oe(r.providers, (a) => ({
8955
+ providerList: Be(r.providers, (a) => ({
8935
8956
  ...a,
8936
8957
  providerUid: a.uid,
8937
8958
  providerImageUrl: `${Xe}/paymentIcon/${Tt(a.provider_name)}.png`,
@@ -8943,103 +8964,110 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
8943
8964
  return {
8944
8965
  bank: g,
8945
8966
  vip: b,
8946
- thirdParty: c
8967
+ thirdParty: f
8947
8968
  };
8948
8969
  },
8949
8970
  ...l
8950
8971
  });
8951
8972
  }, Us = ({ options: e } = {}) => {
8952
- const { depositApi: l } = Be();
8973
+ const { depositApi: l } = Ae();
8953
8974
  return re({
8954
8975
  mutationKey: ["depositAction"],
8955
8976
  mutationFn: async (i) => l(i),
8956
8977
  ...e
8957
8978
  });
8958
8979
  }, bs = ({ options: e } = {}) => {
8959
- const { withdrawApi: l } = Be();
8980
+ const { withdrawApi: l } = Ae();
8960
8981
  return re({
8961
8982
  mutationKey: ["withdrawAction"],
8962
8983
  mutationFn: async (i) => l(i),
8963
8984
  ...e
8964
8985
  });
8965
8986
  }, Cs = ({ paramsData: e, options: l } = {}) => {
8966
- const { depositTransactionApi: i } = Be();
8987
+ const { depositTransactionApi: i } = Ae();
8967
8988
  return j({
8968
8989
  queryKey: ["depositTransaction", e],
8969
8990
  queryFn: () => i({ paramsData: e }),
8970
8991
  ...l
8971
8992
  });
8972
8993
  }, vs = ({ paramsData: e, options: l } = {}) => {
8973
- const { eventTransactionApi: i } = Be();
8994
+ const { eventTransactionApi: i } = Ae();
8974
8995
  return j({
8975
8996
  queryKey: ["eventTransaction", e],
8976
8997
  queryFn: () => i({ paramsData: e }),
8977
8998
  ...l
8978
8999
  });
8979
9000
  }, hs = ({ options: e } = {}) => {
8980
- const { bankDepositApi: l } = Be();
9001
+ const { bankDepositApi: l } = Ae();
8981
9002
  return re({
8982
9003
  mutationKey: ["bankDeposit"],
8983
9004
  mutationFn: async (i) => l(i),
8984
9005
  ...e
8985
9006
  });
8986
9007
  }, Ts = ({ paramsData: e, options: l } = {}) => {
8987
- const { withdrawTransactionApi: i } = Be();
9008
+ const { withdrawTransactionApi: i } = Ae();
8988
9009
  return j({
8989
9010
  queryKey: ["withdrawTransaction", e],
8990
9011
  queryFn: () => i({ paramsData: e }),
8991
9012
  ...l
8992
9013
  });
8993
9014
  }, Km = ({ options: e } = {}) => {
8994
- const { redeemCodeDepositApi: l } = Be();
9015
+ const { redeemCodeDepositApi: l } = Ae();
8995
9016
  return re({
8996
9017
  mutationKey: ["redeemCodeDeposit"],
8997
9018
  mutationFn: async (i) => l(i),
8998
9019
  ...e
8999
9020
  });
9000
9021
  }, qm = ({ options: e } = {}) => {
9001
- const { invoiceApi: l } = Be();
9022
+ const { invoiceApi: l } = Ae();
9002
9023
  return re({
9003
9024
  mutationKey: ["invoiceAction"],
9004
9025
  mutationFn: async (i) => l(i),
9005
9026
  ...e
9006
9027
  });
9007
9028
  }, $m = ({ options: e } = {}) => {
9008
- const { updateInvoiceApi: l } = Be();
9029
+ const { updateInvoiceApi: l } = Ae();
9009
9030
  return re({
9010
9031
  mutationKey: ["updateInvoiceAction"],
9011
9032
  mutationFn: async (i) => l(i),
9012
9033
  ...e
9013
9034
  });
9014
9035
  }, Qm = ({ options: e, paramsData: l } = {}) => {
9015
- const { transactionRecordApi: i } = Be();
9036
+ const { transactionRecordApi: i } = Ae();
9016
9037
  return j({
9017
9038
  queryKey: ["transactionRecord", "deposit"],
9018
9039
  queryFn: () => i(l, "deposit"),
9019
9040
  ...e
9020
9041
  });
9021
9042
  }, jm = ({ options: e, paramsData: l } = {}) => {
9022
- const { transactionRecordApi: i } = Be();
9043
+ const { transactionRecordApi: i } = Ae();
9023
9044
  return j({
9024
9045
  queryKey: ["transactionRecord", "withdraw"],
9025
9046
  queryFn: () => i(l, "withdraw"),
9026
9047
  ...e
9027
9048
  });
9028
9049
  }, Ym = ({ options: e, paramsData: l } = {}) => {
9029
- const { transactionRecordApi: i } = Be();
9050
+ const { transactionRecordApi: i } = Ae();
9030
9051
  return j({
9031
9052
  queryKey: ["transactionRecord", "event"],
9032
9053
  queryFn: () => i(l, "event"),
9033
9054
  ...e
9034
9055
  });
9035
9056
  }, Xm = ({ options: e, paramsData: l } = {}) => {
9036
- const { transactionRecordApi: i } = Be();
9057
+ const { transactionRecordApi: i } = Ae();
9037
9058
  return j({
9038
9059
  queryKey: ["transactionRecord", "rebate"],
9039
9060
  queryFn: () => i(l, "rebate"),
9040
9061
  ...e
9041
9062
  });
9042
- }, eu = ({
9063
+ }, eu = ({ options: e, paramsData: l } = {}) => {
9064
+ const { treasureRecordApi: i } = Ae();
9065
+ return j({
9066
+ queryKey: ["treasureRecord", l],
9067
+ queryFn: () => i(l),
9068
+ ...e
9069
+ });
9070
+ }, au = ({
9043
9071
  depositV1: e = {},
9044
9072
  depositV2: l = {},
9045
9073
  depositTransaction: i = {},
@@ -9047,10 +9075,10 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9047
9075
  withdrawAction: p = {},
9048
9076
  bankDeposit: g = {},
9049
9077
  eventTransaction: b = {},
9050
- withdrawTransaction: c = {}
9078
+ withdrawTransaction: f = {}
9051
9079
  } = {}) => {
9052
9080
  const r = _s(e), a = ys(l), t = Cs(i), o = Us(n), s = bs(p), u = hs(g), m = vs(b), d = Ts(
9053
- c
9081
+ f
9054
9082
  );
9055
9083
  return {
9056
9084
  depositV1: r,
@@ -9068,8 +9096,8 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9068
9096
  })(Qa), Ss = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), Mn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), sl = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (l) => l == "+" ? "-" : "_"), ml = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), ul = (e) => {
9069
9097
  let l, i, n, p, g = "";
9070
9098
  const b = e.length % 3;
9071
- for (let c = 0; c < e.length; ) {
9072
- if ((i = e.charCodeAt(c++)) > 255 || (n = e.charCodeAt(c++)) > 255 || (p = e.charCodeAt(c++)) > 255)
9099
+ for (let f = 0; f < e.length; ) {
9100
+ if ((i = e.charCodeAt(f++)) > 255 || (n = e.charCodeAt(f++)) > 255 || (p = e.charCodeAt(f++)) > 255)
9073
9101
  throw new TypeError("invalid character found");
9074
9102
  l = i << 16 | n << 8 | p, g += Qa[l >> 18 & 63] + Qa[l >> 12 & 63] + Qa[l >> 6 & 63] + Qa[l & 63];
9075
9103
  }
@@ -9160,17 +9188,17 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9160
9188
  extendString: Ul,
9161
9189
  extendUint8Array: bl,
9162
9190
  extendBuiltins: Rs
9163
- }, au = (e, l) => {
9191
+ }, iu = (e, l) => {
9164
9192
  const { playGameApi: i } = ft();
9165
9193
  return j({
9166
9194
  queryKey: ["playGame"],
9167
9195
  queryFn: async () => {
9168
- const { gameUid: n, gameCode: p, isMobile: g, gameCurrency: b, currentCurrency: c } = e || {}, r = await i({
9196
+ const { gameUid: n, gameCode: p, isMobile: g, gameCurrency: b, currentCurrency: f } = e || {}, r = await i({
9169
9197
  gameUid: n,
9170
9198
  gameCode: p,
9171
9199
  isMobile: g,
9172
9200
  gameCurrency: b,
9173
- currentCurrency: c
9201
+ currentCurrency: f
9174
9202
  }), {
9175
9203
  game_currency: a,
9176
9204
  lang: t,
@@ -9215,7 +9243,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9215
9243
  mutationFn: async () => l(),
9216
9244
  ...e
9217
9245
  });
9218
- }, iu = ({
9246
+ }, tu = ({
9219
9247
  options: e = {
9220
9248
  currentRebate: {},
9221
9249
  receiveRebate: {}
@@ -9228,8 +9256,8 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9228
9256
  };
9229
9257
  }, Ya = () => {
9230
9258
  const { client: e } = oe(), l = I(
9231
- async ({ uid: b, params: c } = {}) => await e.get(`/memberRewards${b ? `/${b}` : ""}`, {
9232
- params: c
9259
+ async ({ uid: b, params: f } = {}) => await e.get(`/memberRewards${b ? `/${b}` : ""}`, {
9260
+ params: f
9233
9261
  }),
9234
9262
  [e]
9235
9263
  ), i = I(async () => await e.get("/memberRewards/member/unused"), [e]), n = I(async () => await e.get("/memberRewards/member/expired"), [e]), p = I(
@@ -9254,17 +9282,17 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9254
9282
  return l({ uid: n, params: p });
9255
9283
  },
9256
9284
  select: (i) => {
9257
- const n = Oe(i.data.data, (p) => {
9285
+ const n = Be(i.data.data, (p) => {
9258
9286
  const {
9259
9287
  wagering_restricted_amount: g,
9260
9288
  claimed_amount: b
9261
- } = p, c = le(p, "rewards", {}), {
9289
+ } = p, f = le(p, "rewards", {}), {
9262
9290
  expiration_days: r,
9263
9291
  name: a,
9264
9292
  position: t,
9265
9293
  type: o,
9266
9294
  uid: s
9267
- } = c;
9295
+ } = f;
9268
9296
  return {
9269
9297
  ...p,
9270
9298
  rewardExpirationDays: r,
@@ -9313,7 +9341,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9313
9341
  queryFn: l,
9314
9342
  ...e
9315
9343
  });
9316
- }, tu = ({
9344
+ }, nu = ({
9317
9345
  options: e = {
9318
9346
  rewardsList: {},
9319
9347
  redeemReward: {},
@@ -9345,7 +9373,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9345
9373
  startTime: p = "2025-12-30 00:00:00",
9346
9374
  endTime: g = "2026-12-31 23:59:59",
9347
9375
  isActive: b = 1,
9348
- showUnavailable: c = 1,
9376
+ showUnavailable: f = 1,
9349
9377
  orderBy: r = "total_prize_money",
9350
9378
  //total_prize_money,updated_at,created_at
9351
9379
  page: a = 1
@@ -9355,7 +9383,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9355
9383
  start_time: p,
9356
9384
  end_time: g,
9357
9385
  is_active: b,
9358
- show_unavailable: c,
9386
+ show_unavailable: f,
9359
9387
  order_by: r,
9360
9388
  page: a
9361
9389
  }
@@ -9373,20 +9401,20 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9373
9401
  treasureListApi: l,
9374
9402
  redeemTreasureApi: i
9375
9403
  };
9376
- }, nu = ({ paramsData: e, options: l } = {}) => {
9404
+ }, lu = ({ paramsData: e, options: l } = {}) => {
9377
9405
  const { client: i, lng: n } = oe(), p = $e(n || "tw"), { treasureListApi: g } = vl();
9378
9406
  return j({
9379
9407
  queryKey: ["treasureList", e],
9380
9408
  queryFn: () => g(e),
9381
9409
  select: (b) => {
9382
- const c = le(b, "data", {}), r = {
9383
- current_page: le(c, "current_page", 1),
9384
- per_page: le(c, "per_page", 10),
9385
- total: le(c, "total", 1),
9386
- last_page: le(c, "last_page", 1)
9410
+ const f = le(b, "data", {}), r = {
9411
+ current_page: le(f, "current_page", 1),
9412
+ per_page: le(f, "per_page", 10),
9413
+ total: le(f, "total", 1),
9414
+ last_page: le(f, "last_page", 1)
9387
9415
  };
9388
9416
  return {
9389
- list: Oe(le(c, "data", []), (t) => {
9417
+ list: Be(le(f, "data", []), (t) => {
9390
9418
  const o = qe(t.treasure_copywriting, {
9391
9419
  language: p
9392
9420
  });
@@ -9396,12 +9424,12 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9396
9424
  };
9397
9425
  }),
9398
9426
  pagination: r,
9399
- res: c
9427
+ res: f
9400
9428
  };
9401
9429
  },
9402
9430
  ...l
9403
9431
  });
9404
- }, lu = ({ options: e } = {}) => {
9432
+ }, ru = ({ options: e } = {}) => {
9405
9433
  const { redeemTreasureApi: l } = vl();
9406
9434
  return re({
9407
9435
  mutationKey: ["redeemTreasure"],
@@ -9414,7 +9442,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9414
9442
  vipListApi: l,
9415
9443
  vipInfoApi: i
9416
9444
  };
9417
- }, ru = ({ options: e } = {}) => {
9445
+ }, ou = ({ options: e } = {}) => {
9418
9446
  const { store: l } = oe(), i = l?.getState()?.isMemberInfo || l?.getState()?.member?.member || {}, { vipInfoApi: n } = hl();
9419
9447
  return j({
9420
9448
  queryKey: ["vipInfo"],
@@ -9439,14 +9467,14 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9439
9467
  },
9440
9468
  select: (p) => {
9441
9469
  const g = la(p) ? p : p.data;
9442
- return Oe(g, (c) => {
9470
+ return Be(g, (f) => {
9443
9471
  const {
9444
9472
  vip_criteria: r,
9445
9473
  vip_payment_tags: a,
9446
9474
  vip_withdrawal_rate: t,
9447
9475
  rebate_range: o,
9448
9476
  vip_game_rebate: s
9449
- } = c, u = qe(r, { currency_code: i }) || {}, m = qe(a, { currency_code: i }) || {}, d = t, f = Oe(o, (U) => ({
9477
+ } = f, u = qe(r, { currency_code: i }) || {}, m = qe(a, { currency_code: i }) || {}, d = t, c = Be(o, (U) => ({
9450
9478
  ...U,
9451
9479
  rebateRange: JSON.parse(U.rebate_range)
9452
9480
  })), y = le(s, "[0]", {}), _ = {
@@ -9454,19 +9482,19 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9454
9482
  platformRebate: JSON.parse(y.rebate || "{}")
9455
9483
  };
9456
9484
  return {
9457
- ...c,
9458
- vipImageUrl: `${Xe}/vip/vip${c.level}_l.avif`,
9485
+ ...f,
9486
+ vipImageUrl: `${Xe}/vip/vip${f.level}_l.avif`,
9459
9487
  vipRule: u,
9460
9488
  vipWithdraw: m,
9461
9489
  vipWithdrawFeeRate: d,
9462
- vipRebateRange: f,
9490
+ vipRebateRange: c,
9463
9491
  processedVipGameRebate: _
9464
9492
  };
9465
9493
  });
9466
9494
  },
9467
9495
  ...e
9468
9496
  });
9469
- }, ou = ({ options: e } = {
9497
+ }, su = ({ options: e } = {
9470
9498
  vipList: {}
9471
9499
  }) => ({
9472
9500
  vipList: zs({ options: e.vipList })
@@ -9489,7 +9517,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9489
9517
  default:
9490
9518
  return "En";
9491
9519
  }
9492
- }, Fn = "game-icon-ds88", su = ({ gameData: e = {} } = {}) => {
9520
+ }, Fn = "game-icon-ds88", mu = ({ gameData: e = {} } = {}) => {
9493
9521
  const { lng: l } = oe(), i = wn(l), {
9494
9522
  gameCode: n,
9495
9523
  // 遊戲代碼
@@ -9500,7 +9528,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9500
9528
  platformUid: b,
9501
9529
  // 平台唯一標識符
9502
9530
  // platform_enum: platformEnum, // 平台枚舉
9503
- currencyCode: c,
9531
+ currencyCode: f,
9504
9532
  // 支援貨幣
9505
9533
  enterLobbyMode: r,
9506
9534
  // 進入大廳模式
@@ -9518,7 +9546,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9518
9546
  // 是否支援直向
9519
9547
  support_horizontal: d,
9520
9548
  // 是否支援橫向
9521
- userClickCount: f,
9549
+ userClickCount: c,
9522
9550
  // 用戶點擊次數
9523
9551
  gameNameEn: y,
9524
9552
  // 英文名稱
@@ -9534,7 +9562,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9534
9562
  gameUid: p,
9535
9563
  gameTypeUid: g,
9536
9564
  providerUid: b,
9537
- supportCurrency: c,
9565
+ supportCurrency: f,
9538
9566
  enterLobbyMode: r,
9539
9567
  gamePlatform: a,
9540
9568
  gameSubType: t,
@@ -9543,7 +9571,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9543
9571
  isUnderMaintenance: u,
9544
9572
  supportVertical: m,
9545
9573
  supportHorizontal: d,
9546
- userClickCount: f,
9574
+ userClickCount: c,
9547
9575
  gameNameEn: y,
9548
9576
  gameNameZh: _,
9549
9577
  gameNameVi: U,
@@ -9563,7 +9591,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9563
9591
  "HACK",
9564
9592
  "NAGA",
9565
9593
  "RSG"
9566
- ], e) && l ? `${e}_dark` : e, mu = ({ platformData: e, darkMode: l } = {}) => {
9594
+ ], e) && l ? `${e}_dark` : e, uu = ({ platformData: e, darkMode: l } = {}) => {
9567
9595
  const {
9568
9596
  SubPlatformEnum: i,
9569
9597
  // 子平台枚舉
@@ -9575,7 +9603,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9575
9603
  // 維護開始時間
9576
9604
  maintenanceEndTime: b,
9577
9605
  // 維護結束時間
9578
- platform: c,
9606
+ platform: f,
9579
9607
  // 平台代碼
9580
9608
  platformUid: r,
9581
9609
  // 平台唯一標識符
@@ -9592,14 +9620,14 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9592
9620
  isUnderMaintenance: p,
9593
9621
  maintenanceStartTime: g,
9594
9622
  maintenanceEndTime: b,
9595
- platform: c,
9623
+ platform: f,
9596
9624
  platformUid: r,
9597
9625
  platformMode: a,
9598
9626
  tempMaintenanceStartTime: t,
9599
9627
  tempMaintenanceEndTime: o,
9600
9628
  platformImageUrl: s
9601
9629
  };
9602
- }, Vs = (e = {}) => !Vi(e) || Ee(e) ? [] : Zi(e), An = (e = []) => !la(e) || Ee(e) ? [] : Oe(e, "platform"), Zs = (e = []) => !la(e) || Ee(e) ? [] : Oe(e, "gameTypeName"), Js = (e = []) => !la(e) || Ee(e) ? [] : Oe(e, "game_subtype"), Ks = (e = {}) => !Vi(e) || Ee(e) ? [] : Zi(e), qs = (e = [], l = []) => !la(e) || Ee(e) ? {} : !la(l) || Ee(l) ? {} : e.reduce((i, n) => {
9630
+ }, Vs = (e = {}) => !Vi(e) || Ee(e) ? [] : Zi(e), An = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "platform"), Zs = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "gameTypeName"), Js = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "game_subtype"), Ks = (e = {}) => !Vi(e) || Ee(e) ? [] : Zi(e), qs = (e = [], l = []) => !la(e) || Ee(e) ? {} : !la(l) || Ee(l) ? {} : e.reduce((i, n) => {
9603
9631
  const p = l.map((g) => g.game_subtype);
9604
9632
  return p.forEach((g) => {
9605
9633
  i[g] = i[g] || [];
@@ -9611,24 +9639,24 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9611
9639
  allGameTypes: n = [],
9612
9640
  allPlatforms: p = []
9613
9641
  }) => !la(e) || !la(l) ? {} : Ee(i) ? {} : e.reduce((g, b) => {
9614
- const c = jl({
9642
+ const f = jl({
9615
9643
  gameTypeName: b,
9616
9644
  platforms: l,
9617
9645
  gameList: i,
9618
9646
  allGameTypes: n,
9619
9647
  allPlatforms: p
9620
9648
  });
9621
- return Ee(c) || (g[b] = c), g;
9622
- }, {}), uu = ({
9649
+ return Ee(f) || (g[b] = f), g;
9650
+ }, {}), pu = ({
9623
9651
  types: e = [],
9624
9652
  platforms: l = [],
9625
9653
  allGameType: i = [],
9626
9654
  allGamePlatform: n = [],
9627
9655
  allGameList: p = {}
9628
9656
  } = {}) => !Array.isArray(e) || !Array.isArray(l) ? {} : e.reduce((g, b) => {
9629
- const c = $n(i, b);
9630
- if (!c) return g;
9631
- const r = p[c] || [], a = l.reduce((t, o) => {
9657
+ const f = $n(i, b);
9658
+ if (!f) return g;
9659
+ const r = p[f] || [], a = l.reduce((t, o) => {
9632
9660
  const s = Yl({
9633
9661
  platformName: o,
9634
9662
  gamesOfType: r,
@@ -9658,18 +9686,18 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9658
9686
  allNewGameList: p = [],
9659
9687
  allTopGameList: g = [],
9660
9688
  randomlySelectedGames: b = [],
9661
- userFavoriteGame: c = {},
9689
+ userFavoriteGame: f = {},
9662
9690
  exclusiveBrandGames: r = [],
9663
9691
  highlightGames: a = [],
9664
9692
  originPlatform: t = []
9665
9693
  }) => {
9666
- const o = Vs(e), s = An(l), u = Zs(i), m = Js(n), d = An(t), f = Ks(c), y = $s({
9694
+ const o = Vs(e), s = An(l), u = Zs(i), m = Js(n), d = An(t), c = Ks(f), y = $s({
9667
9695
  gameTypes: u,
9668
9696
  platforms: s,
9669
9697
  gameList: e,
9670
9698
  allGameTypes: i,
9671
9699
  allPlatforms: l
9672
- }), _ = Oe(l, (G) => {
9700
+ }), _ = Be(l, (G) => {
9673
9701
  const H = `${Xe}/${Kn}/${G.platformEnum}.png`;
9674
9702
  return {
9675
9703
  ...G,
@@ -9702,23 +9730,23 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9702
9730
  all: o,
9703
9731
  new: p,
9704
9732
  top: g,
9705
- favorite: f,
9733
+ favorite: c,
9706
9734
  highlight: a,
9707
9735
  exclusiveBrand: r,
9708
9736
  randomlySelected: b
9709
9737
  },
9710
9738
  categorized: {
9711
- bySubType: { ...U, MyFavorite: f },
9739
+ bySubType: { ...U, MyFavorite: c },
9712
9740
  byPlatform: C,
9713
9741
  byPlatformAndCategory: v,
9714
9742
  byGameTypeAndPlatform: y,
9715
9743
  byGameType: x
9716
9744
  },
9717
9745
  user: {
9718
- favorite: f
9746
+ favorite: c
9719
9747
  }
9720
9748
  };
9721
- }, pu = (e = []) => !la(e) || Ee(e) ? [] : Zi(e, (l) => Ee(l.SubPlatformEnum) ? l : l.SubPlatformEnum.map((i) => ({
9749
+ }, gu = (e = []) => !la(e) || Ee(e) ? [] : Zi(e, (l) => Ee(l.SubPlatformEnum) ? l : l.SubPlatformEnum.map((i) => ({
9722
9750
  ...l,
9723
9751
  ...i,
9724
9752
  platform: i.SubPlatformEnum,
@@ -9744,7 +9772,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9744
9772
  },
9745
9773
  user: { favorite: [] }
9746
9774
  }, em = ({ enabled: e = !0 } = {}) => {
9747
- const { getToken: l } = oe(), { userFavoriteGameApi: i, userGameListApi: n } = ue(), { data: p, isLoading: g, error: b, refetch: c } = j({
9775
+ const { getToken: l } = oe(), { userFavoriteGameApi: i, userGameListApi: n } = ue(), { data: p, isLoading: g, error: b, refetch: f } = j({
9748
9776
  queryKey: ["gamesInfo"],
9749
9777
  queryFn: async () => {
9750
9778
  let r = {}, a = {};
@@ -9779,7 +9807,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
9779
9807
  gamesInfo: p || Xs,
9780
9808
  isLoading: g,
9781
9809
  error: b,
9782
- refetch: c
9810
+ refetch: f
9783
9811
  };
9784
9812
  }, am = (e = !1) => {
9785
9813
  if (!e && window.gameTypeGroup) {
@@ -36319,7 +36347,7 @@ const Im = ({ onIdle: e, onActive: l, onAction: i, timeout: n = 6e5 }) => ps({
36319
36347
  const n = em({ enabled: l });
36320
36348
  return /* @__PURE__ */ Fe.jsx(qn.Provider, { value: n, children: e });
36321
36349
  };
36322
- function gu({
36350
+ function du({
36323
36351
  children: e,
36324
36352
  autoFetchGamesInfo: l = !1,
36325
36353
  useMockData: i = !1,
@@ -36329,7 +36357,7 @@ function gu({
36329
36357
  const g = Oa(() => Lt(p), [p]), b = Oa(
36330
36358
  () => Lt({ ...p, formData: !0 }),
36331
36359
  [p]
36332
- ), c = Oa(
36360
+ ), f = Oa(
36333
36361
  () => new Ol({
36334
36362
  defaultOptions: {
36335
36363
  queries: {
@@ -36339,7 +36367,7 @@ function gu({
36339
36367
  }
36340
36368
  }),
36341
36369
  []
36342
- ), r = n || c;
36370
+ ), r = n || f;
36343
36371
  return /* @__PURE__ */ Fe.jsx(Bl, { client: r, children: /* @__PURE__ */ Fe.jsx(zn.Provider, { value: { client: g, formDataClient: b, ...p }, children: /* @__PURE__ */ Fe.jsx($l, { children: /* @__PURE__ */ Fe.jsx(
36344
36372
  im,
36345
36373
  {
@@ -36349,9 +36377,9 @@ function gu({
36349
36377
  }
36350
36378
  ) }) }) });
36351
36379
  }
36352
- const du = ({ onFunction: e = () => {
36380
+ const cu = ({ onFunction: e = () => {
36353
36381
  }, buttonProps: l = {} } = {}) => {
36354
- const { lineConfig: i } = oe(), n = ee(!1), p = le(i, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), c = g.get("trans_code"), r = g.get("line_id"), a = g.get("line_name"), t = g.get("invite_code"), { mutate: o, isPending: s } = tl({
36382
+ const { lineConfig: i } = oe(), n = ee(!1), p = le(i, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), f = g.get("trans_code"), r = g.get("line_id"), a = g.get("line_name"), t = g.get("invite_code"), { mutate: o, isPending: s } = tl({
36355
36383
  options: {
36356
36384
  onSuccess: (m) => {
36357
36385
  e(m);
@@ -36361,14 +36389,14 @@ const du = ({ onFunction: e = () => {
36361
36389
  });
36362
36390
  ge(() => {
36363
36391
  n.current || b === "true" && r && a && (o({
36364
- trans_code: c,
36392
+ trans_code: f,
36365
36393
  line_id: r,
36366
36394
  invite_code: t,
36367
36395
  line_name: a
36368
36396
  }), n.current = !0);
36369
36397
  }, [
36370
36398
  b,
36371
- c,
36399
+ f,
36372
36400
  r,
36373
36401
  t,
36374
36402
  a,
@@ -36430,8 +36458,8 @@ var xa;
36430
36458
  let m = 1e9;
36431
36459
  for (let d = 0; d < 8; d++) {
36432
36460
  this.applyMask(d), this.drawFormatBits(d);
36433
- const f = this.getPenaltyScore();
36434
- f < m && (o = d, m = f), this.applyMask(d);
36461
+ const c = this.getPenaltyScore();
36462
+ c < m && (o = d, m = c), this.applyMask(d);
36435
36463
  }
36436
36464
  }
36437
36465
  p(0 <= o && o <= 7), this.mask = o, this.applyMask(o), this.drawFormatBits(o), this.isFunction = [];
@@ -36479,21 +36507,21 @@ var xa;
36479
36507
  }
36480
36508
  for (const U of [Y.Ecc.MEDIUM, Y.Ecc.QUARTILE, Y.Ecc.HIGH])
36481
36509
  u && d <= Y.getNumDataCodewords(m, U) * 8 && (a = U);
36482
- let f = [];
36510
+ let c = [];
36483
36511
  for (const U of r) {
36484
- i(U.mode.modeBits, 4, f), i(U.numChars, U.mode.numCharCountBits(m), f);
36512
+ i(U.mode.modeBits, 4, c), i(U.numChars, U.mode.numCharCountBits(m), c);
36485
36513
  for (const C of U.getData())
36486
- f.push(C);
36514
+ c.push(C);
36487
36515
  }
36488
- p(f.length == d);
36516
+ p(c.length == d);
36489
36517
  const y = Y.getNumDataCodewords(m, a) * 8;
36490
- p(f.length <= y), i(0, Math.min(4, y - f.length), f), i(0, (8 - f.length % 8) % 8, f), p(f.length % 8 == 0);
36491
- for (let U = 236; f.length < y; U ^= 253)
36492
- i(U, 8, f);
36518
+ p(c.length <= y), i(0, Math.min(4, y - c.length), c), i(0, (8 - c.length % 8) % 8, c), p(c.length % 8 == 0);
36519
+ for (let U = 236; c.length < y; U ^= 253)
36520
+ i(U, 8, c);
36493
36521
  let _ = [];
36494
- for (; _.length * 8 < f.length; )
36522
+ for (; _.length * 8 < c.length; )
36495
36523
  _.push(0);
36496
- return f.forEach((U, C) => _[C >>> 3] |= U << 7 - (C & 7)), new Y(m, a, _, s);
36524
+ return c.forEach((U, C) => _[C >>> 3] |= U << 7 - (C & 7)), new Y(m, a, _, s);
36497
36525
  }
36498
36526
  /*-- Accessor methods --*/
36499
36527
  // Returns the color of the module (pixel) at the given coordinates, which is false
@@ -36582,17 +36610,17 @@ var xa;
36582
36610
  if (r.length != Y.getNumDataCodewords(a, t))
36583
36611
  throw new RangeError("Invalid argument");
36584
36612
  const o = Y.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][a], s = Y.ECC_CODEWORDS_PER_BLOCK[t.ordinal][a], u = Math.floor(Y.getNumRawDataModules(a) / 8), m = o - u % o, d = Math.floor(u / o);
36585
- let f = [];
36613
+ let c = [];
36586
36614
  const y = Y.reedSolomonComputeDivisor(s);
36587
36615
  for (let U = 0, C = 0; U < o; U++) {
36588
36616
  let v = r.slice(C, C + d - s + (U < m ? 0 : 1));
36589
36617
  C += v.length;
36590
36618
  const x = Y.reedSolomonComputeRemainder(v, y);
36591
- U < m && v.push(0), f.push(v.concat(x));
36619
+ U < m && v.push(0), c.push(v.concat(x));
36592
36620
  }
36593
36621
  let _ = [];
36594
- for (let U = 0; U < f[0].length; U++)
36595
- f.forEach((C, v) => {
36622
+ for (let U = 0; U < c[0].length; U++)
36623
+ c.forEach((C, v) => {
36596
36624
  (U != d - s || v >= m) && _.push(C[U]);
36597
36625
  });
36598
36626
  return p(_.length == u), _;
@@ -36661,14 +36689,14 @@ var xa;
36661
36689
  let r = 0;
36662
36690
  for (let s = 0; s < this.size; s++) {
36663
36691
  let u = !1, m = 0, d = [0, 0, 0, 0, 0, 0, 0];
36664
- for (let f = 0; f < this.size; f++)
36665
- this.modules[s][f] == u ? (m++, m == 5 ? r += Y.PENALTY_N1 : m > 5 && r++) : (this.finderPenaltyAddHistory(m, d), u || (r += this.finderPenaltyCountPatterns(d) * Y.PENALTY_N3), u = this.modules[s][f], m = 1);
36692
+ for (let c = 0; c < this.size; c++)
36693
+ this.modules[s][c] == u ? (m++, m == 5 ? r += Y.PENALTY_N1 : m > 5 && r++) : (this.finderPenaltyAddHistory(m, d), u || (r += this.finderPenaltyCountPatterns(d) * Y.PENALTY_N3), u = this.modules[s][c], m = 1);
36666
36694
  r += this.finderPenaltyTerminateAndCount(u, m, d) * Y.PENALTY_N3;
36667
36695
  }
36668
36696
  for (let s = 0; s < this.size; s++) {
36669
36697
  let u = !1, m = 0, d = [0, 0, 0, 0, 0, 0, 0];
36670
- for (let f = 0; f < this.size; f++)
36671
- this.modules[f][s] == u ? (m++, m == 5 ? r += Y.PENALTY_N1 : m > 5 && r++) : (this.finderPenaltyAddHistory(m, d), u || (r += this.finderPenaltyCountPatterns(d) * Y.PENALTY_N3), u = this.modules[f][s], m = 1);
36698
+ for (let c = 0; c < this.size; c++)
36699
+ this.modules[c][s] == u ? (m++, m == 5 ? r += Y.PENALTY_N1 : m > 5 && r++) : (this.finderPenaltyAddHistory(m, d), u || (r += this.finderPenaltyCountPatterns(d) * Y.PENALTY_N3), u = this.modules[c][s], m = 1);
36672
36700
  r += this.finderPenaltyTerminateAndCount(u, m, d) * Y.PENALTY_N3;
36673
36701
  }
36674
36702
  for (let s = 0; s < this.size - 1; s++)
@@ -36792,17 +36820,17 @@ var xa;
36792
36820
  [-1, 1, 1, 2, 4, 4, 4, 5, 6, 8, 8, 11, 11, 16, 16, 18, 16, 19, 21, 25, 25, 25, 34, 30, 32, 35, 37, 40, 42, 45, 48, 51, 54, 57, 60, 63, 66, 70, 74, 77, 81]
36793
36821
  // High
36794
36822
  ], e.QrCode = l;
36795
- function i(c, r, a) {
36796
- if (r < 0 || r > 31 || c >>> r)
36823
+ function i(f, r, a) {
36824
+ if (r < 0 || r > 31 || f >>> r)
36797
36825
  throw new RangeError("Value out of range");
36798
36826
  for (let t = r - 1; t >= 0; t--)
36799
- a.push(c >>> t & 1);
36827
+ a.push(f >>> t & 1);
36800
36828
  }
36801
- function n(c, r) {
36802
- return (c >>> r & 1) != 0;
36829
+ function n(f, r) {
36830
+ return (f >>> r & 1) != 0;
36803
36831
  }
36804
- function p(c) {
36805
- if (!c)
36832
+ function p(f) {
36833
+ if (!f)
36806
36834
  throw new Error("Assertion error");
36807
36835
  }
36808
36836
  const g = class fe {
@@ -36951,22 +36979,22 @@ function Gl(e, l = 0) {
36951
36979
  const i = [];
36952
36980
  return e.forEach(function(n, p) {
36953
36981
  let g = null;
36954
- n.forEach(function(b, c) {
36982
+ n.forEach(function(b, f) {
36955
36983
  if (!b && g !== null) {
36956
36984
  i.push(
36957
- `M${g + l} ${p + l}h${c - g}v1H${g + l}z`
36985
+ `M${g + l} ${p + l}h${f - g}v1H${g + l}z`
36958
36986
  ), g = null;
36959
36987
  return;
36960
36988
  }
36961
- if (c === n.length - 1) {
36989
+ if (f === n.length - 1) {
36962
36990
  if (!b)
36963
36991
  return;
36964
- g === null ? i.push(`M${c + l},${p + l} h1v1H${c + l}z`) : i.push(
36965
- `M${g + l},${p + l} h${c + 1 - g}v1H${g + l}z`
36992
+ g === null ? i.push(`M${f + l},${p + l} h1v1H${f + l}z`) : i.push(
36993
+ `M${g + l},${p + l} h${f + 1 - g}v1H${g + l}z`
36966
36994
  );
36967
36995
  return;
36968
36996
  }
36969
- b && g === null && (g = c);
36997
+ b && g === null && (g = f);
36970
36998
  });
36971
36999
  }), i.join("");
36972
37000
  }
@@ -36976,14 +37004,14 @@ function Ml(e, l) {
36976
37004
  function sm(e, l, i, n) {
36977
37005
  if (n == null)
36978
37006
  return null;
36979
- const p = e.length + i * 2, g = Math.floor(l * om), b = p / l, c = (n.width || g) * b, r = (n.height || g) * b, a = n.x == null ? e.length / 2 - c / 2 : n.x * b, t = n.y == null ? e.length / 2 - r / 2 : n.y * b, o = n.opacity == null ? 1 : n.opacity;
37007
+ const p = e.length + i * 2, g = Math.floor(l * om), b = p / l, f = (n.width || g) * b, r = (n.height || g) * b, a = n.x == null ? e.length / 2 - f / 2 : n.x * b, t = n.y == null ? e.length / 2 - r / 2 : n.y * b, o = n.opacity == null ? 1 : n.opacity;
36980
37008
  let s = null;
36981
37009
  if (n.excavate) {
36982
- let m = Math.floor(a), d = Math.floor(t), f = Math.ceil(c + a - m), y = Math.ceil(r + t - d);
36983
- s = { x: m, y: d, w: f, h: y };
37010
+ let m = Math.floor(a), d = Math.floor(t), c = Math.ceil(f + a - m), y = Math.ceil(r + t - d);
37011
+ s = { x: m, y: d, w: c, h: y };
36984
37012
  }
36985
37013
  const u = n.crossOrigin;
36986
- return { x: a, y: t, h: r, w: c, excavation: s, opacity: o, crossOrigin: u };
37014
+ return { x: a, y: t, h: r, w: f, excavation: s, opacity: o, crossOrigin: u };
36987
37015
  }
36988
37016
  function mm(e, l) {
36989
37017
  return l != null ? Math.max(Math.floor(l), 0) : e ? lm : rm;
@@ -36996,22 +37024,22 @@ function Rl({
36996
37024
  marginSize: p,
36997
37025
  imageSettings: g,
36998
37026
  size: b,
36999
- boostLevel: c
37027
+ boostLevel: f
37000
37028
  }) {
37001
37029
  let r = de.useMemo(() => {
37002
- const m = (Array.isArray(e) ? e : [e]).reduce((d, f) => (d.push(...Aa.QrSegment.makeSegments(f)), d), []);
37030
+ const m = (Array.isArray(e) ? e : [e]).reduce((d, c) => (d.push(...Aa.QrSegment.makeSegments(c)), d), []);
37003
37031
  return Aa.QrCode.encodeSegments(
37004
37032
  m,
37005
37033
  nm[l],
37006
37034
  i,
37007
37035
  void 0,
37008
37036
  void 0,
37009
- c
37037
+ f
37010
37038
  );
37011
- }, [e, l, i, c]);
37039
+ }, [e, l, i, f]);
37012
37040
  const { cells: a, margin: t, numCells: o, calculatedImageSettings: s } = de.useMemo(() => {
37013
37041
  let u = r.getModules();
37014
- const m = mm(n, p), d = u.length + m * 2, f = sm(
37042
+ const m = mm(n, p), d = u.length + m * 2, c = sm(
37015
37043
  u,
37016
37044
  b,
37017
37045
  m,
@@ -37021,7 +37049,7 @@ function Rl({
37021
37049
  cells: u,
37022
37050
  margin: m,
37023
37051
  numCells: d,
37024
- calculatedImageSettings: f
37052
+ calculatedImageSettings: c
37025
37053
  };
37026
37054
  }, [r, b, g, n, p]);
37027
37055
  return {
@@ -37045,7 +37073,7 @@ var um = (function() {
37045
37073
  value: p,
37046
37074
  size: g = xl,
37047
37075
  level: b = Sl,
37048
- bgColor: c = Dl,
37076
+ bgColor: f = Dl,
37049
37077
  fgColor: r = El,
37050
37078
  includeMargin: a = Nl,
37051
37079
  minVersion: t = Ll,
@@ -37063,7 +37091,7 @@ var um = (function() {
37063
37091
  "boostLevel",
37064
37092
  "marginSize",
37065
37093
  "imageSettings"
37066
- ]), { style: f } = d, y = mt(d, ["style"]), _ = u?.src, U = de.useRef(null), C = de.useRef(null), v = de.useCallback(
37094
+ ]), { style: c } = d, y = mt(d, ["style"]), _ = u?.src, U = de.useRef(null), C = de.useRef(null), v = de.useCallback(
37067
37095
  (P) => {
37068
37096
  U.current = P, typeof i == "function" ? i(P) : i && (i.current = P);
37069
37097
  },
@@ -37092,7 +37120,7 @@ var um = (function() {
37092
37120
  const B = window.devicePixelRatio || 1;
37093
37121
  P.height = P.width = g * B;
37094
37122
  const W = g / k * B;
37095
- S.scale(W, W), S.fillStyle = c, S.fillRect(0, 0, k, k), S.fillStyle = r, um ? S.fill(new Path2D(Gl(E, G))) : H.forEach(function(L, N) {
37123
+ S.scale(W, W), S.fillStyle = f, S.fillRect(0, 0, k, k), S.fillStyle = r, um ? S.fill(new Path2D(Gl(E, G))) : H.forEach(function(L, N) {
37096
37124
  L.forEach(function(A, R) {
37097
37125
  A && S.fillRect(R + G, N + G, 1, 1);
37098
37126
  });
@@ -37107,7 +37135,7 @@ var um = (function() {
37107
37135
  }), de.useEffect(() => {
37108
37136
  D(!1);
37109
37137
  }, [_]);
37110
- const F = st({ height: g, width: g }, f);
37138
+ const F = st({ height: g, width: g }, c);
37111
37139
  let O = null;
37112
37140
  return _ != null && (O = /* @__PURE__ */ de.createElement(
37113
37141
  "img",
@@ -37140,7 +37168,7 @@ var Pl = de.forwardRef(
37140
37168
  value: p,
37141
37169
  size: g = xl,
37142
37170
  level: b = Sl,
37143
- bgColor: c = Dl,
37171
+ bgColor: f = Dl,
37144
37172
  fgColor: r = El,
37145
37173
  includeMargin: a = Nl,
37146
37174
  minVersion: t = Ll,
@@ -37160,7 +37188,7 @@ var Pl = de.forwardRef(
37160
37188
  "title",
37161
37189
  "marginSize",
37162
37190
  "imageSettings"
37163
- ]), { margin: f, cells: y, numCells: _, calculatedImageSettings: U } = Rl({
37191
+ ]), { margin: c, cells: y, numCells: _, calculatedImageSettings: U } = Rl({
37164
37192
  value: p,
37165
37193
  level: b,
37166
37194
  minVersion: t,
@@ -37180,14 +37208,14 @@ var Pl = de.forwardRef(
37180
37208
  href: m.src,
37181
37209
  height: U.h,
37182
37210
  width: U.w,
37183
- x: U.x + f,
37184
- y: U.y + f,
37211
+ x: U.x + c,
37212
+ y: U.y + c,
37185
37213
  preserveAspectRatio: "none",
37186
37214
  opacity: U.opacity,
37187
37215
  crossOrigin: U.crossOrigin
37188
37216
  }
37189
37217
  ));
37190
- const x = Gl(C, f);
37218
+ const x = Gl(C, c);
37191
37219
  return /* @__PURE__ */ de.createElement(
37192
37220
  "svg",
37193
37221
  st({
@@ -37201,7 +37229,7 @@ var Pl = de.forwardRef(
37201
37229
  /* @__PURE__ */ de.createElement(
37202
37230
  "path",
37203
37231
  {
37204
- fill: c,
37232
+ fill: f,
37205
37233
  d: `M0,0 h${_}v${_}H0z`,
37206
37234
  shapeRendering: "crispEdges"
37207
37235
  }
@@ -37256,19 +37284,19 @@ const gm = {
37256
37284
  title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
37257
37285
  expired: "Kode QR telah kedaluwarsa"
37258
37286
  }
37259
- }, _u = ({ forcedShow: e = !1, isVisible: l, setIsVisible: i } = {}) => {
37260
- const { lng: n, getToken: p, lineConfig: g } = oe(), [b, c] = tt(300), [r, a] = tt(!1), t = ee(null), o = le(g, "liffId", ""), s = $e(n), u = p?.(), d = new URLSearchParams(window.location.search).get("mac") || lt.get("machine_mac_address") || "", { data: f, isFetching: y } = Wo({
37287
+ }, yu = ({ forcedShow: e = !1, isVisible: l, setIsVisible: i } = {}) => {
37288
+ const { lng: n, getToken: p, lineConfig: g } = oe(), [b, f] = tt(300), [r, a] = tt(!1), t = ee(null), o = le(g, "liffId", ""), s = $e(n), u = p?.(), d = new URLSearchParams(window.location.search).get("mac") || lt.get("machine_mac_address") || "", { data: c, isFetching: y } = Wo({
37261
37289
  formData: {
37262
37290
  mac_address: d
37263
37291
  },
37264
37292
  options: {
37265
37293
  enabled: e ? !0 : !!d && !u
37266
37294
  }
37267
- }), _ = le(f, "liff_url", "") || `https://liff.line.me/${o}`;
37295
+ }), _ = le(c, "liff_url", "") || `https://liff.line.me/${o}`;
37268
37296
  ge(() => {
37269
37297
  d && lt.set("machine_mac_address", d, { expires: 365 });
37270
- }, [d]), ge(() => (_ && (c(300), a(!1), t.current && clearInterval(t.current), t.current = setInterval(() => {
37271
- c((v) => v <= 1 ? (clearInterval(t.current), a(!0), 0) : v - 1);
37298
+ }, [d]), ge(() => (_ && (f(300), a(!1), t.current && clearInterval(t.current), t.current = setInterval(() => {
37299
+ f((v) => v <= 1 ? (clearInterval(t.current), a(!0), 0) : v - 1);
37272
37300
  }, 1e3)), () => {
37273
37301
  t.current && clearInterval(t.current);
37274
37302
  }), [_]);
@@ -37321,7 +37349,7 @@ const gm = {
37321
37349
  )
37322
37350
  ] })
37323
37351
  ] });
37324
- }, yu = () => {
37352
+ }, Uu = () => {
37325
37353
  const e = pt(), {
37326
37354
  mutate: l,
37327
37355
  isPending: i,
@@ -37339,7 +37367,7 @@ const gm = {
37339
37367
  }), b = ee(!1);
37340
37368
  return ge(() => {
37341
37369
  if (b.current) return;
37342
- const c = new URLSearchParams(window.location.search), r = c.get("bind_type"), a = c.get("bind_id");
37370
+ const f = new URLSearchParams(window.location.search), r = f.get("bind_type"), a = f.get("bind_id");
37343
37371
  if (r && a)
37344
37372
  switch (b.current = !0, r) {
37345
37373
  case "line":
@@ -37353,16 +37381,16 @@ const gm = {
37353
37381
  };
37354
37382
  export {
37355
37383
  zn as ApiCtx,
37356
- gu as ApiProvider,
37357
- yu as Bind,
37384
+ du as ApiProvider,
37385
+ Uu as Bind,
37358
37386
  qn as GamesInfoCtx,
37359
- du as LineLogin,
37360
- _u as LineQrCode,
37387
+ cu as LineLogin,
37388
+ yu as LineQrCode,
37361
37389
  Ka as STATUS_TYPES,
37362
37390
  In as StatusContext,
37363
37391
  $l as StatusProvider,
37364
37392
  $s as buildMultiTypes,
37365
- uu as buildMultiTypesWithSubTypes,
37393
+ pu as buildMultiTypesWithSubTypes,
37366
37394
  Yl as buildSinglePlatformWithSubTypes,
37367
37395
  jl as buildSingleType,
37368
37396
  qs as categorizeGames,
@@ -37384,7 +37412,7 @@ export {
37384
37412
  Is as handleDarkImage,
37385
37413
  am as initMockWindowData,
37386
37414
  Ys as processGameInfo,
37387
- pu as processPlatformData,
37415
+ gu as processPlatformData,
37388
37416
  Em as useAbandonPoint,
37389
37417
  oe as useApiContext,
37390
37418
  hm as useBalanceGetter,
@@ -37407,7 +37435,7 @@ export {
37407
37435
  vs as useEventTransaction,
37408
37436
  Ym as useEventWalletLog,
37409
37437
  Hs as useExpiredRewardsList,
37410
- su as useGameConfig,
37438
+ mu as useGameConfig,
37411
37439
  bm as useGameInfoContext,
37412
37440
  em as useGamesInfo,
37413
37441
  Hm as useGetCarouseList,
@@ -37431,21 +37459,21 @@ export {
37431
37459
  Mm as useMobileRegister,
37432
37460
  Jm as useNewsDetail,
37433
37461
  Zm as useNewsList,
37434
- eu as usePayment,
37435
- mu as usePlatformConfig,
37436
- au as usePlayGame,
37462
+ au as usePayment,
37463
+ uu as usePlatformConfig,
37464
+ iu as usePlayGame,
37437
37465
  Sm as usePointTransfer,
37438
37466
  cs as useReadInbox,
37439
- iu as useRebate,
37467
+ tu as useRebate,
37440
37468
  Xm as useRebateWalletLog,
37441
37469
  Fs as useReceiveRebate,
37442
37470
  Km as useRedeemCodeDeposit,
37443
37471
  Om as useRedeemEventReward,
37444
37472
  Os as useRedeemReward,
37445
- lu as useRedeemTreasure,
37473
+ ru as useRedeemTreasure,
37446
37474
  Po as useResetUserPassword,
37447
37475
  Fo as useResetUserTransactionPassword,
37448
- tu as useRewards,
37476
+ nu as useRewards,
37449
37477
  As as useRewardsList,
37450
37478
  Rm as useSendMobileVerifyCode,
37451
37479
  wo as useSetUserTransactionPassword,
@@ -37453,7 +37481,8 @@ export {
37453
37481
  Vn as useStatus,
37454
37482
  Mo as useToggleFavoriteGame,
37455
37483
  Bo as useTransferInGame,
37456
- nu as useTreasureList,
37484
+ lu as useTreasureList,
37485
+ eu as useTreasureWalletLog,
37457
37486
  Bs as useUnUsedRewardsList,
37458
37487
  $m as useUpdateInvoiceAction,
37459
37488
  Ro as useUpdateUserInfo,
@@ -37462,8 +37491,8 @@ export {
37462
37491
  Ao as useUserRebate,
37463
37492
  wm as useVerifyDonationCode,
37464
37493
  Pm as useVerifyPhoneBar,
37465
- ou as useVip,
37466
- ru as useVipInfo,
37494
+ su as useVip,
37495
+ ou as useVipInfo,
37467
37496
  zs as useVipList,
37468
37497
  bs as useWithdrawAction,
37469
37498
  Ts as useWithdrawTransaction,