@obb871001/api-integration-sdk 1.0.329 → 1.0.331

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
@@ -38,11 +38,11 @@ function Kl() {
38
38
  Ni = 1;
39
39
  var e = de, n = Symbol.for("react.element"), t = Symbol.for("react.fragment"), l = 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
40
  function b(d, r, a) {
41
- var i, o = {}, s = null, u = null;
42
- a !== void 0 && (s = "" + a), r.key !== void 0 && (s = "" + r.key), r.ref !== void 0 && (u = r.ref);
41
+ var i, o = {}, m = null, u = null;
42
+ a !== void 0 && (m = "" + a), r.key !== void 0 && (m = "" + r.key), r.ref !== void 0 && (u = r.ref);
43
43
  for (i in r) l.call(r, i) && !g.hasOwnProperty(i) && (o[i] = r[i]);
44
44
  if (d && d.defaultProps) for (i in r = d.defaultProps, r) o[i] === void 0 && (o[i] = r[i]);
45
- return { $$typeof: n, type: d, key: s, ref: u, props: o, _owner: p.current };
45
+ return { $$typeof: n, type: d, key: m, ref: u, props: o, _owner: p.current };
46
46
  }
47
47
  return Ja.Fragment = t, Ja.jsx = b, Ja.jsxs = b, Ja;
48
48
  }
@@ -50,11 +50,11 @@ var Za = {};
50
50
  var Li;
51
51
  function ql() {
52
52
  return Li || (Li = 1, process.env.NODE_ENV !== "production" && (function() {
53
- var e = de, n = Symbol.for("react.element"), t = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), d = Symbol.for("react.context"), r = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), s = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), m = Symbol.iterator, c = "@@iterator";
53
+ var e = de, n = Symbol.for("react.element"), t = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), d = Symbol.for("react.context"), r = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), s = Symbol.iterator, c = "@@iterator";
54
54
  function f(T) {
55
55
  if (T === null || typeof T != "object")
56
56
  return null;
57
- var z = m && T[m] || T[c];
57
+ var z = s && T[s] || T[c];
58
58
  return typeof z == "function" ? z : null;
59
59
  }
60
60
  var y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -78,7 +78,7 @@ function ql() {
78
78
  var C = !1, v = !1, D = !1, E = !1, G = !1, O;
79
79
  O = Symbol.for("react.module.reference");
80
80
  function k(T) {
81
- return !!(typeof T == "string" || typeof T == "function" || T === l || T === g || G || T === p || T === a || T === i || E || T === u || C || v || D || typeof T == "object" && T !== null && (T.$$typeof === s || T.$$typeof === o || T.$$typeof === b || T.$$typeof === d || T.$$typeof === r || // This needs to include all possible module reference object
81
+ return !!(typeof T == "string" || typeof T == "function" || T === l || T === g || G || T === p || T === a || T === i || E || T === u || C || v || D || typeof T == "object" && T !== null && (T.$$typeof === m || T.$$typeof === o || T.$$typeof === b || T.$$typeof === d || T.$$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.
@@ -128,7 +128,7 @@ function ql() {
128
128
  case o:
129
129
  var $ = T.displayName || null;
130
130
  return $ !== null ? $ : A(T.type) || "Memo";
131
- case s: {
131
+ case m: {
132
132
  var ue = T, pe = ue._payload, ne = ue._init;
133
133
  try {
134
134
  return A(ne(pe));
@@ -246,29 +246,29 @@ function ql() {
246
246
  }), typeof Reflect == "object" && Reflect.construct) {
247
247
  try {
248
248
  Reflect.construct(ne, []);
249
- } catch (ze) {
250
- $ = ze;
249
+ } catch (We) {
250
+ $ = We;
251
251
  }
252
252
  Reflect.construct(T, [], ne);
253
253
  } else {
254
254
  try {
255
255
  ne.call();
256
- } catch (ze) {
257
- $ = ze;
256
+ } catch (We) {
257
+ $ = We;
258
258
  }
259
259
  T.call(ne.prototype);
260
260
  }
261
261
  } else {
262
262
  try {
263
263
  throw Error();
264
- } catch (ze) {
265
- $ = ze;
264
+ } catch (We) {
265
+ $ = We;
266
266
  }
267
267
  T();
268
268
  }
269
- } catch (ze) {
270
- if (ze && $ && typeof ze.stack == "string") {
271
- for (var X = ze.stack.split(`
269
+ } catch (We) {
270
+ if (We && $ && typeof We.stack == "string") {
271
+ for (var X = We.stack.split(`
272
272
  `), Oe = $.stack.split(`
273
273
  `), be = X.length - 1, he = Oe.length - 1; be >= 1 && he >= 0 && X[be] !== Oe[he]; )
274
274
  he--;
@@ -291,7 +291,7 @@ function ql() {
291
291
  var Ra = T ? T.displayName || T.name : "", ba = Ra ? K(Ra) : "";
292
292
  return typeof T == "function" && ie.set(T, ba), ba;
293
293
  }
294
- function se(T, z, J) {
294
+ function me(T, z, J) {
295
295
  return Ue(T, !1);
296
296
  }
297
297
  function ce(T) {
@@ -314,10 +314,10 @@ function ql() {
314
314
  if (typeof T == "object")
315
315
  switch (T.$$typeof) {
316
316
  case r:
317
- return se(T.render);
317
+ return me(T.render);
318
318
  case o:
319
319
  return ke(T.type, z, J);
320
- case s: {
320
+ case m: {
321
321
  var $ = T, ue = $._payload, pe = $._init;
322
322
  try {
323
323
  return ke(pe(ue), z, J);
@@ -327,7 +327,7 @@ function ql() {
327
327
  }
328
328
  return "";
329
329
  }
330
- var fe = Object.prototype.hasOwnProperty, He = {}, Ce = y.ReactDebugCurrentFrame;
330
+ var fe = Object.prototype.hasOwnProperty, Ie = {}, Ce = y.ReactDebugCurrentFrame;
331
331
  function Ge(T) {
332
332
  if (T) {
333
333
  var z = T._owner, J = ke(T.type, T._source, z ? z.type : null);
@@ -350,7 +350,7 @@ function ql() {
350
350
  } catch (be) {
351
351
  X = be;
352
352
  }
353
- X && !(X instanceof Error) && (Ge(ue), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", $ || "React class", J, ne, typeof X), Ge(null)), X instanceof Error && !(X.message in He) && (He[X.message] = !0, Ge(ue), _("Failed %s type: %s", J, X.message), Ge(null));
353
+ X && !(X instanceof Error) && (Ge(ue), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", $ || "React class", J, ne, typeof X), Ge(null)), X instanceof Error && !(X.message in Ie) && (Ie[X.message] = !0, Ge(ue), _("Failed %s type: %s", J, X.message), Ge(null));
354
354
  }
355
355
  }
356
356
  }
@@ -358,7 +358,7 @@ function ql() {
358
358
  function ve(T) {
359
359
  return Me(T);
360
360
  }
361
- function We(T) {
361
+ function He(T) {
362
362
  {
363
363
  var z = typeof Symbol == "function" && Symbol.toStringTag, J = z && T[Symbol.toStringTag] || T.constructor.name || "Object";
364
364
  return J;
@@ -376,7 +376,7 @@ function ql() {
376
376
  }
377
377
  function xe(T) {
378
378
  if (aa(T))
379
- return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", We(T)), ta(T);
379
+ return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", He(T)), ta(T);
380
380
  }
381
381
  var Re = y.ReactCurrentOwner, je = {
382
382
  key: !0,
@@ -611,11 +611,11 @@ Check the top-level render call using <` + J + ">.");
611
611
  Se(qe, T);
612
612
  }
613
613
  if (fe.call(z, "key")) {
614
- var ba = A(T), ze = Object.keys(z).filter(function(Al) {
614
+ var ba = A(T), We = Object.keys(z).filter(function(Al) {
615
615
  return Al !== "key";
616
- }), Xt = ze.length > 0 ? "{key: someKey, " + ze.join(": ..., ") + ": ...}" : "{key: someKey}";
616
+ }), Xt = We.length > 0 ? "{key: someKey, " + We.join(": ..., ") + ": ...}" : "{key: someKey}";
617
617
  if (!ia[ba + Xt]) {
618
- var Fl = ze.length > 0 ? "{" + ze.join(": ..., ") + ": ...}" : "{}";
618
+ var Fl = We.length > 0 ? "{" + We.join(": ..., ") + ": ...}" : "{}";
619
619
  _(`A props object containing a "key" prop is being spread into JSX:
620
620
  let props = %s;
621
621
  <%s {...props} />
@@ -642,7 +642,7 @@ function $l() {
642
642
  return Gi || (Gi = 1, process.env.NODE_ENV === "production" ? tt.exports = Kl() : tt.exports = ql()), tt.exports;
643
643
  }
644
644
  var Fe = $l();
645
- const In = qt(null), me = () => {
645
+ const In = qt(null), se = () => {
646
646
  const e = ci(In);
647
647
  if (!e)
648
648
  throw new Error("useApiContext must be used within ApiProvider");
@@ -716,8 +716,8 @@ function Mi({
716
716
  });
717
717
  return a.interceptors.request.use(async (i) => {
718
718
  if (i.headers = i.headers || {}, n) {
719
- const s = await n();
720
- s && (i.headers.Authorization = `Bearer ${s}`);
719
+ const m = await n();
720
+ m && (i.headers.Authorization = `Bearer ${m}`);
721
721
  }
722
722
  const o = p?.getState()?.isWalletCurrency || d || "TWD";
723
723
  return i.headers.Currency = o, i.headers["currency-code"] = o, i.headers.lang = l, i;
@@ -730,11 +730,11 @@ function Mi({
730
730
  "發生錯誤,請稍後再試。"
731
731
  );
732
732
  if (r) {
733
- const s = Qe(l);
733
+ const m = Qe(l);
734
734
  p?.dispatch({
735
735
  type: "ui/showToast",
736
736
  payload: {
737
- title: ja[s] || "System Prompt",
737
+ title: ja[m] || "System Prompt",
738
738
  description: o,
739
739
  status: "error",
740
740
  duration: 3e3
@@ -815,7 +815,7 @@ function ar() {
815
815
  (function(t, l) {
816
816
  e.exports = l();
817
817
  })(er, (function() {
818
- var t = 1e3, l = 6e4, p = 36e5, g = "millisecond", b = "second", d = "minute", r = "hour", a = "day", i = "week", o = "month", s = "quarter", u = "year", m = "date", c = "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(w) {
818
+ var t = 1e3, l = 6e4, p = 36e5, g = "millisecond", b = "second", d = "minute", r = "hour", a = "day", i = "week", o = "month", m = "quarter", u = "year", s = "date", c = "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(w) {
819
819
  var R = ["th", "st", "nd", "rd"], P = w % 100;
820
820
  return "[" + w + (R[(P - 20) % 10] || R[P] || R[0]) + "]";
821
821
  } }, U = function(w, R, P) {
@@ -831,7 +831,7 @@ function ar() {
831
831
  }, a: function(w) {
832
832
  return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
833
833
  }, p: function(w) {
834
- return { M: o, y: u, w: i, d: a, D: m, h: r, m: d, s: b, ms: g, Q: s }[w] || String(w || "").toLowerCase().replace(/s$/, "");
834
+ return { M: o, y: u, w: i, d: a, D: s, h: r, m: d, s: b, ms: g, Q: m }[w] || String(w || "").toLowerCase().replace(/s$/, "");
835
835
  }, u: function(w) {
836
836
  return w === void 0;
837
837
  } }, v = "en", D = {};
@@ -915,7 +915,7 @@ function ar() {
915
915
  var Q = this.$locale().weekStart || 0, K = (L < Q ? L + 7 : L) - Q;
916
916
  return S(W ? Z - K : Z + (6 - K), N);
917
917
  case a:
918
- case m:
918
+ case s:
919
919
  return x(q + "Hours", 0);
920
920
  case r:
921
921
  return x(q + "Minutes", 1);
@@ -929,10 +929,10 @@ function ar() {
929
929
  }, R.endOf = function(P) {
930
930
  return this.startOf(P, !1);
931
931
  }, R.$set = function(P, H) {
932
- var B, W = h.p(P), M = "set" + (this.$u ? "UTC" : ""), S = (B = {}, B[a] = M + "Date", B[m] = M + "Date", B[o] = M + "Month", B[u] = M + "FullYear", B[r] = M + "Hours", B[d] = M + "Minutes", B[b] = M + "Seconds", B[g] = M + "Milliseconds", B)[W], x = W === a ? this.$D + (H - this.$W) : H;
932
+ var B, W = h.p(P), M = "set" + (this.$u ? "UTC" : ""), S = (B = {}, B[a] = M + "Date", B[s] = M + "Date", B[o] = M + "Month", B[u] = M + "FullYear", B[r] = M + "Hours", B[d] = M + "Minutes", B[b] = M + "Seconds", B[g] = M + "Milliseconds", B)[W], x = W === a ? this.$D + (H - this.$W) : H;
933
933
  if (W === o || W === u) {
934
- var L = this.clone().set(m, 1);
935
- L.$d[S](x), L.init(), this.$d = L.set(m, Math.min(this.$D, L.daysInMonth())).$d;
934
+ var L = this.clone().set(s, 1);
935
+ L.$d[S](x), L.init(), this.$d = L.set(s, Math.min(this.$D, L.daysInMonth())).$d;
936
936
  } else S && this.$d[S](x);
937
937
  return this.init(), this;
938
938
  }, R.set = function(P, H) {
@@ -957,13 +957,13 @@ function ar() {
957
957
  }, R.format = function(P) {
958
958
  var H = this, B = this.$locale();
959
959
  if (!this.isValid()) return B.invalidDate || c;
960
- var W = P || "YYYY-MM-DDTHH:mm:ssZ", M = h.z(this), S = this.$H, x = this.$m, L = this.$M, N = B.weekdays, Z = B.months, q = B.meridiem, Q = function(ie, ye, Ue, se) {
961
- return ie && (ie[ye] || ie(H, W)) || Ue[ye].slice(0, se);
960
+ var W = P || "YYYY-MM-DDTHH:mm:ssZ", M = h.z(this), S = this.$H, x = this.$m, L = this.$M, N = B.weekdays, Z = B.months, q = B.meridiem, Q = function(ie, ye, Ue, me) {
961
+ return ie && (ie[ye] || ie(H, W)) || Ue[ye].slice(0, me);
962
962
  }, K = function(ie) {
963
963
  return h.s(S % 12 || 12, ie, "0");
964
964
  }, ae = q || function(ie, ye, Ue) {
965
- var se = ie < 12 ? "AM" : "PM";
966
- return Ue ? se.toLowerCase() : se;
965
+ var me = ie < 12 ? "AM" : "PM";
966
+ return Ue ? me.toLowerCase() : me;
967
967
  };
968
968
  return W.replace(y, (function(ie, ye) {
969
969
  return ye || (function(Ue) {
@@ -1033,7 +1033,7 @@ function ar() {
1033
1033
  case o:
1034
1034
  W = Z();
1035
1035
  break;
1036
- case s:
1036
+ case m:
1037
1037
  W = Z() / 3;
1038
1038
  break;
1039
1039
  case i:
@@ -1075,7 +1075,7 @@ function ar() {
1075
1075
  return this.$d.toUTCString();
1076
1076
  }, w;
1077
1077
  })(), A = F.prototype;
1078
- return k.prototype = A, [["$ms", g], ["$s", b], ["$m", d], ["$H", r], ["$W", a], ["$M", o], ["$y", u], ["$D", m]].forEach((function(w) {
1078
+ return k.prototype = A, [["$ms", g], ["$s", b], ["$m", d], ["$H", r], ["$W", a], ["$M", o], ["$y", u], ["$D", s]].forEach((function(w) {
1079
1079
  A[w[1]] = function(R) {
1080
1080
  return this.$g(R, w[0], w[1]);
1081
1081
  };
@@ -1314,7 +1314,7 @@ function te() {
1314
1314
  U.push(b());
1315
1315
  return new o.init(U, _);
1316
1316
  }
1317
- }), s = r.enc = {}, u = s.Hex = {
1317
+ }), m = r.enc = {}, u = m.Hex = {
1318
1318
  /**
1319
1319
  * Converts a word array to a hex string.
1320
1320
  *
@@ -1353,7 +1353,7 @@ function te() {
1353
1353
  C[v >>> 3] |= parseInt(_.substr(v, 2), 16) << 24 - v % 8 * 4;
1354
1354
  return new o.init(C, U / 2);
1355
1355
  }
1356
- }, m = s.Latin1 = {
1356
+ }, s = m.Latin1 = {
1357
1357
  /**
1358
1358
  * Converts a word array to a Latin1 string.
1359
1359
  *
@@ -1392,7 +1392,7 @@ function te() {
1392
1392
  C[v >>> 2] |= (_.charCodeAt(v) & 255) << 24 - v % 4 * 8;
1393
1393
  return new o.init(C, U);
1394
1394
  }
1395
- }, c = s.Utf8 = {
1395
+ }, c = m.Utf8 = {
1396
1396
  /**
1397
1397
  * Converts a word array to a UTF-8 string.
1398
1398
  *
@@ -1408,7 +1408,7 @@ function te() {
1408
1408
  */
1409
1409
  stringify: function(_) {
1410
1410
  try {
1411
- return decodeURIComponent(escape(m.stringify(_)));
1411
+ return decodeURIComponent(escape(s.stringify(_)));
1412
1412
  } catch {
1413
1413
  throw new Error("Malformed UTF-8 data");
1414
1414
  }
@@ -1427,7 +1427,7 @@ function te() {
1427
1427
  * var wordArray = CryptoJS.enc.Utf8.parse(utf8String);
1428
1428
  */
1429
1429
  parse: function(_) {
1430
- return m.parse(unescape(encodeURIComponent(_)));
1430
+ return s.parse(unescape(encodeURIComponent(_)));
1431
1431
  }
1432
1432
  }, f = a.BufferedBlockAlgorithm = i.extend({
1433
1433
  /**
@@ -1804,8 +1804,8 @@ function jt() {
1804
1804
  * var x32WordArray = x64WordArray.toX32();
1805
1805
  */
1806
1806
  toX32: function() {
1807
- for (var a = this.words, i = a.length, o = [], s = 0; s < i; s++) {
1808
- var u = a[s];
1807
+ for (var a = this.words, i = a.length, o = [], m = 0; m < i; m++) {
1808
+ var u = a[m];
1809
1809
  o.push(u.high), o.push(u.low);
1810
1810
  }
1811
1811
  return d.create(o, this.sigBytes);
@@ -1820,8 +1820,8 @@ function jt() {
1820
1820
  * var clone = x64WordArray.clone();
1821
1821
  */
1822
1822
  clone: function() {
1823
- for (var a = b.clone.call(this), i = a.words = this.words.slice(0), o = i.length, s = 0; s < o; s++)
1824
- i[s] = i[s].clone();
1823
+ for (var a = b.clone.call(this), i = a.words = this.words.slice(0), o = i.length, m = 0; m < o; m++)
1824
+ i[m] = i[m].clone();
1825
1825
  return a;
1826
1826
  }
1827
1827
  });
@@ -1874,8 +1874,8 @@ function gr() {
1874
1874
  * var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
1875
1875
  */
1876
1876
  stringify: function(r) {
1877
- for (var a = r.words, i = r.sigBytes, o = [], s = 0; s < i; s += 2) {
1878
- var u = a[s >>> 2] >>> 16 - s % 4 * 8 & 65535;
1877
+ for (var a = r.words, i = r.sigBytes, o = [], m = 0; m < i; m += 2) {
1878
+ var u = a[m >>> 2] >>> 16 - m % 4 * 8 & 65535;
1879
1879
  o.push(String.fromCharCode(u));
1880
1880
  }
1881
1881
  return o.join("");
@@ -1913,8 +1913,8 @@ function gr() {
1913
1913
  * var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
1914
1914
  */
1915
1915
  stringify: function(r) {
1916
- for (var a = r.words, i = r.sigBytes, o = [], s = 0; s < i; s += 2) {
1917
- var u = d(a[s >>> 2] >>> 16 - s % 4 * 8 & 65535);
1916
+ for (var a = r.words, i = r.sigBytes, o = [], m = 0; m < i; m += 2) {
1917
+ var u = d(a[m >>> 2] >>> 16 - m % 4 * 8 & 65535);
1918
1918
  o.push(String.fromCharCode(u));
1919
1919
  }
1920
1920
  return o.join("");
@@ -1970,14 +1970,14 @@ function xa() {
1970
1970
  stringify: function(r) {
1971
1971
  var a = r.words, i = r.sigBytes, o = this._map;
1972
1972
  r.clamp();
1973
- for (var s = [], u = 0; u < i; u += 3)
1974
- for (var m = a[u >>> 2] >>> 24 - u % 4 * 8 & 255, c = a[u + 1 >>> 2] >>> 24 - (u + 1) % 4 * 8 & 255, f = a[u + 2 >>> 2] >>> 24 - (u + 2) % 4 * 8 & 255, y = m << 16 | c << 8 | f, _ = 0; _ < 4 && u + _ * 0.75 < i; _++)
1975
- s.push(o.charAt(y >>> 6 * (3 - _) & 63));
1973
+ for (var m = [], u = 0; u < i; u += 3)
1974
+ for (var s = a[u >>> 2] >>> 24 - u % 4 * 8 & 255, c = a[u + 1 >>> 2] >>> 24 - (u + 1) % 4 * 8 & 255, f = a[u + 2 >>> 2] >>> 24 - (u + 2) % 4 * 8 & 255, y = s << 16 | c << 8 | f, _ = 0; _ < 4 && u + _ * 0.75 < i; _++)
1975
+ m.push(o.charAt(y >>> 6 * (3 - _) & 63));
1976
1976
  var U = o.charAt(64);
1977
1977
  if (U)
1978
- for (; s.length % 4; )
1979
- s.push(U);
1980
- return s.join("");
1978
+ for (; m.length % 4; )
1979
+ m.push(U);
1980
+ return m.join("");
1981
1981
  },
1982
1982
  /**
1983
1983
  * Converts a Base64 string to a word array.
@@ -1996,25 +1996,25 @@ function xa() {
1996
1996
  var a = r.length, i = this._map, o = this._reverseMap;
1997
1997
  if (!o) {
1998
1998
  o = this._reverseMap = [];
1999
- for (var s = 0; s < i.length; s++)
2000
- o[i.charCodeAt(s)] = s;
1999
+ for (var m = 0; m < i.length; m++)
2000
+ o[i.charCodeAt(m)] = m;
2001
2001
  }
2002
2002
  var u = i.charAt(64);
2003
2003
  if (u) {
2004
- var m = r.indexOf(u);
2005
- m !== -1 && (a = m);
2004
+ var s = r.indexOf(u);
2005
+ s !== -1 && (a = s);
2006
2006
  }
2007
2007
  return d(r, a, o);
2008
2008
  },
2009
2009
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
2010
2010
  };
2011
2011
  function d(r, a, i) {
2012
- for (var o = [], s = 0, u = 0; u < a; u++)
2012
+ for (var o = [], m = 0, u = 0; u < a; u++)
2013
2013
  if (u % 4) {
2014
- var m = i[r.charCodeAt(u - 1)] << u % 4 * 2, c = i[r.charCodeAt(u)] >>> 6 - u % 4 * 2, f = m | c;
2015
- o[s >>> 2] |= f << 24 - s % 4 * 8, s++;
2014
+ var s = i[r.charCodeAt(u - 1)] << u % 4 * 2, c = i[r.charCodeAt(u)] >>> 6 - u % 4 * 2, f = s | c;
2015
+ o[m >>> 2] |= f << 24 - m % 4 * 8, m++;
2016
2016
  }
2017
- return g.create(o, s);
2017
+ return g.create(o, m);
2018
2018
  }
2019
2019
  })(), t.enc.Base64;
2020
2020
  });
@@ -2046,12 +2046,12 @@ function fr() {
2046
2046
  */
2047
2047
  stringify: function(r, a) {
2048
2048
  a === void 0 && (a = !0);
2049
- var i = r.words, o = r.sigBytes, s = a ? this._safe_map : this._map;
2049
+ var i = r.words, o = r.sigBytes, m = a ? this._safe_map : this._map;
2050
2050
  r.clamp();
2051
- for (var u = [], m = 0; m < o; m += 3)
2052
- for (var c = i[m >>> 2] >>> 24 - m % 4 * 8 & 255, f = i[m + 1 >>> 2] >>> 24 - (m + 1) % 4 * 8 & 255, y = i[m + 2 >>> 2] >>> 24 - (m + 2) % 4 * 8 & 255, _ = c << 16 | f << 8 | y, U = 0; U < 4 && m + U * 0.75 < o; U++)
2053
- u.push(s.charAt(_ >>> 6 * (3 - U) & 63));
2054
- var C = s.charAt(64);
2051
+ for (var u = [], s = 0; s < o; s += 3)
2052
+ for (var c = i[s >>> 2] >>> 24 - s % 4 * 8 & 255, f = i[s + 1 >>> 2] >>> 24 - (s + 1) % 4 * 8 & 255, y = i[s + 2 >>> 2] >>> 24 - (s + 2) % 4 * 8 & 255, _ = c << 16 | f << 8 | y, U = 0; U < 4 && s + U * 0.75 < o; U++)
2053
+ u.push(m.charAt(_ >>> 6 * (3 - U) & 63));
2054
+ var C = m.charAt(64);
2055
2055
  if (C)
2056
2056
  for (; u.length % 4; )
2057
2057
  u.push(C);
@@ -2074,29 +2074,29 @@ function fr() {
2074
2074
  */
2075
2075
  parse: function(r, a) {
2076
2076
  a === void 0 && (a = !0);
2077
- var i = r.length, o = a ? this._safe_map : this._map, s = this._reverseMap;
2078
- if (!s) {
2079
- s = this._reverseMap = [];
2077
+ var i = r.length, o = a ? this._safe_map : this._map, m = this._reverseMap;
2078
+ if (!m) {
2079
+ m = this._reverseMap = [];
2080
2080
  for (var u = 0; u < o.length; u++)
2081
- s[o.charCodeAt(u)] = u;
2081
+ m[o.charCodeAt(u)] = u;
2082
2082
  }
2083
- var m = o.charAt(64);
2084
- if (m) {
2085
- var c = r.indexOf(m);
2083
+ var s = o.charAt(64);
2084
+ if (s) {
2085
+ var c = r.indexOf(s);
2086
2086
  c !== -1 && (i = c);
2087
2087
  }
2088
- return d(r, i, s);
2088
+ return d(r, i, m);
2089
2089
  },
2090
2090
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
2091
2091
  _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
2092
2092
  };
2093
2093
  function d(r, a, i) {
2094
- for (var o = [], s = 0, u = 0; u < a; u++)
2094
+ for (var o = [], m = 0, u = 0; u < a; u++)
2095
2095
  if (u % 4) {
2096
- var m = i[r.charCodeAt(u - 1)] << u % 4 * 2, c = i[r.charCodeAt(u)] >>> 6 - u % 4 * 2, f = m | c;
2097
- o[s >>> 2] |= f << 24 - s % 4 * 8, s++;
2096
+ var s = i[r.charCodeAt(u - 1)] << u % 4 * 2, c = i[r.charCodeAt(u)] >>> 6 - u % 4 * 2, f = s | c;
2097
+ o[m >>> 2] |= f << 24 - m % 4 * 8, m++;
2098
2098
  }
2099
- return g.create(o, s);
2099
+ return g.create(o, m);
2100
2100
  }
2101
2101
  })(), t.enc.Base64url;
2102
2102
  });
@@ -2129,7 +2129,7 @@ function Sa() {
2129
2129
  c[_] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360;
2130
2130
  }
2131
2131
  var C = this._hash.words, v = c[f + 0], D = c[f + 1], E = c[f + 2], G = c[f + 3], O = c[f + 4], k = c[f + 5], h = c[f + 6], F = c[f + 7], A = c[f + 8], w = c[f + 9], R = c[f + 10], P = c[f + 11], H = c[f + 12], B = c[f + 13], W = c[f + 14], M = c[f + 15], S = C[0], x = C[1], L = C[2], N = C[3];
2132
- S = o(S, x, L, N, v, 7, a[0]), N = o(N, S, x, L, D, 12, a[1]), L = o(L, N, S, x, E, 17, a[2]), x = o(x, L, N, S, G, 22, a[3]), S = o(S, x, L, N, O, 7, a[4]), N = o(N, S, x, L, k, 12, a[5]), L = o(L, N, S, x, h, 17, a[6]), x = o(x, L, N, S, F, 22, a[7]), S = o(S, x, L, N, A, 7, a[8]), N = o(N, S, x, L, w, 12, a[9]), L = o(L, N, S, x, R, 17, a[10]), x = o(x, L, N, S, P, 22, a[11]), S = o(S, x, L, N, H, 7, a[12]), N = o(N, S, x, L, B, 12, a[13]), L = o(L, N, S, x, W, 17, a[14]), x = o(x, L, N, S, M, 22, a[15]), S = s(S, x, L, N, D, 5, a[16]), N = s(N, S, x, L, h, 9, a[17]), L = s(L, N, S, x, P, 14, a[18]), x = s(x, L, N, S, v, 20, a[19]), S = s(S, x, L, N, k, 5, a[20]), N = s(N, S, x, L, R, 9, a[21]), L = s(L, N, S, x, M, 14, a[22]), x = s(x, L, N, S, O, 20, a[23]), S = s(S, x, L, N, w, 5, a[24]), N = s(N, S, x, L, W, 9, a[25]), L = s(L, N, S, x, G, 14, a[26]), x = s(x, L, N, S, A, 20, a[27]), S = s(S, x, L, N, B, 5, a[28]), N = s(N, S, x, L, E, 9, a[29]), L = s(L, N, S, x, F, 14, a[30]), x = s(x, L, N, S, H, 20, a[31]), S = u(S, x, L, N, k, 4, a[32]), N = u(N, S, x, L, A, 11, a[33]), L = u(L, N, S, x, P, 16, a[34]), x = u(x, L, N, S, W, 23, a[35]), S = u(S, x, L, N, D, 4, a[36]), N = u(N, S, x, L, O, 11, a[37]), L = u(L, N, S, x, F, 16, a[38]), x = u(x, L, N, S, R, 23, a[39]), S = u(S, x, L, N, B, 4, a[40]), N = u(N, S, x, L, v, 11, a[41]), L = u(L, N, S, x, G, 16, a[42]), x = u(x, L, N, S, h, 23, a[43]), S = u(S, x, L, N, w, 4, a[44]), N = u(N, S, x, L, H, 11, a[45]), L = u(L, N, S, x, M, 16, a[46]), x = u(x, L, N, S, E, 23, a[47]), S = m(S, x, L, N, v, 6, a[48]), N = m(N, S, x, L, F, 10, a[49]), L = m(L, N, S, x, W, 15, a[50]), x = m(x, L, N, S, k, 21, a[51]), S = m(S, x, L, N, H, 6, a[52]), N = m(N, S, x, L, G, 10, a[53]), L = m(L, N, S, x, R, 15, a[54]), x = m(x, L, N, S, D, 21, a[55]), S = m(S, x, L, N, A, 6, a[56]), N = m(N, S, x, L, M, 10, a[57]), L = m(L, N, S, x, h, 15, a[58]), x = m(x, L, N, S, B, 21, a[59]), S = m(S, x, L, N, O, 6, a[60]), N = m(N, S, x, L, P, 10, a[61]), L = m(L, N, S, x, E, 15, a[62]), x = m(x, L, N, S, w, 21, a[63]), C[0] = C[0] + S | 0, C[1] = C[1] + x | 0, C[2] = C[2] + L | 0, C[3] = C[3] + N | 0;
2132
+ S = o(S, x, L, N, v, 7, a[0]), N = o(N, S, x, L, D, 12, a[1]), L = o(L, N, S, x, E, 17, a[2]), x = o(x, L, N, S, G, 22, a[3]), S = o(S, x, L, N, O, 7, a[4]), N = o(N, S, x, L, k, 12, a[5]), L = o(L, N, S, x, h, 17, a[6]), x = o(x, L, N, S, F, 22, a[7]), S = o(S, x, L, N, A, 7, a[8]), N = o(N, S, x, L, w, 12, a[9]), L = o(L, N, S, x, R, 17, a[10]), x = o(x, L, N, S, P, 22, a[11]), S = o(S, x, L, N, H, 7, a[12]), N = o(N, S, x, L, B, 12, a[13]), L = o(L, N, S, x, W, 17, a[14]), x = o(x, L, N, S, M, 22, a[15]), S = m(S, x, L, N, D, 5, a[16]), N = m(N, S, x, L, h, 9, a[17]), L = m(L, N, S, x, P, 14, a[18]), x = m(x, L, N, S, v, 20, a[19]), S = m(S, x, L, N, k, 5, a[20]), N = m(N, S, x, L, R, 9, a[21]), L = m(L, N, S, x, M, 14, a[22]), x = m(x, L, N, S, O, 20, a[23]), S = m(S, x, L, N, w, 5, a[24]), N = m(N, S, x, L, W, 9, a[25]), L = m(L, N, S, x, G, 14, a[26]), x = m(x, L, N, S, A, 20, a[27]), S = m(S, x, L, N, B, 5, a[28]), N = m(N, S, x, L, E, 9, a[29]), L = m(L, N, S, x, F, 14, a[30]), x = m(x, L, N, S, H, 20, a[31]), S = u(S, x, L, N, k, 4, a[32]), N = u(N, S, x, L, A, 11, a[33]), L = u(L, N, S, x, P, 16, a[34]), x = u(x, L, N, S, W, 23, a[35]), S = u(S, x, L, N, D, 4, a[36]), N = u(N, S, x, L, O, 11, a[37]), L = u(L, N, S, x, F, 16, a[38]), x = u(x, L, N, S, R, 23, a[39]), S = u(S, x, L, N, B, 4, a[40]), N = u(N, S, x, L, v, 11, a[41]), L = u(L, N, S, x, G, 16, a[42]), x = u(x, L, N, S, h, 23, a[43]), S = u(S, x, L, N, w, 4, a[44]), N = u(N, S, x, L, H, 11, a[45]), L = u(L, N, S, x, M, 16, a[46]), x = u(x, L, N, S, E, 23, a[47]), S = s(S, x, L, N, v, 6, a[48]), N = s(N, S, x, L, F, 10, a[49]), L = s(L, N, S, x, W, 15, a[50]), x = s(x, L, N, S, k, 21, a[51]), S = s(S, x, L, N, H, 6, a[52]), N = s(N, S, x, L, G, 10, a[53]), L = s(L, N, S, x, R, 15, a[54]), x = s(x, L, N, S, D, 21, a[55]), S = s(S, x, L, N, A, 6, a[56]), N = s(N, S, x, L, M, 10, a[57]), L = s(L, N, S, x, h, 15, a[58]), x = s(x, L, N, S, B, 21, a[59]), S = s(S, x, L, N, O, 6, a[60]), N = s(N, S, x, L, P, 10, a[61]), L = s(L, N, S, x, E, 15, a[62]), x = s(x, L, N, S, w, 21, a[63]), C[0] = C[0] + S | 0, C[1] = C[1] + x | 0, C[2] = C[2] + L | 0, C[3] = C[3] + N | 0;
2133
2133
  },
2134
2134
  _doFinalize: function() {
2135
2135
  var c = this._data, f = c.words, y = this._nDataBytes * 8, _ = c.sigBytes * 8;
@@ -2151,7 +2151,7 @@ function Sa() {
2151
2151
  var D = c + (f & y | ~f & _) + U + v;
2152
2152
  return (D << C | D >>> 32 - C) + f;
2153
2153
  }
2154
- function s(c, f, y, _, U, C, v) {
2154
+ function m(c, f, y, _, U, C, v) {
2155
2155
  var D = c + (f & _ | y & ~_) + U + v;
2156
2156
  return (D << C | D >>> 32 - C) + f;
2157
2157
  }
@@ -2159,7 +2159,7 @@ function Sa() {
2159
2159
  var D = c + (f ^ y ^ _) + U + v;
2160
2160
  return (D << C | D >>> 32 - C) + f;
2161
2161
  }
2162
- function m(c, f, y, _, U, C, v) {
2162
+ function s(c, f, y, _, U, C, v) {
2163
2163
  var D = c + (y ^ (f | ~_)) + U + v;
2164
2164
  return (D << C | D >>> 32 - C) + f;
2165
2165
  }
@@ -2186,7 +2186,7 @@ function el() {
2186
2186
  ]);
2187
2187
  },
2188
2188
  _doProcessBlock: function(i, o) {
2189
- for (var s = this._hash.words, u = s[0], m = s[1], c = s[2], f = s[3], y = s[4], _ = 0; _ < 80; _++) {
2189
+ for (var m = this._hash.words, u = m[0], s = m[1], c = m[2], f = m[3], y = m[4], _ = 0; _ < 80; _++) {
2190
2190
  if (_ < 16)
2191
2191
  r[_] = i[o + _] | 0;
2192
2192
  else {
@@ -2194,13 +2194,13 @@ function el() {
2194
2194
  r[_] = U << 1 | U >>> 31;
2195
2195
  }
2196
2196
  var C = (u << 5 | u >>> 27) + y + r[_];
2197
- _ < 20 ? C += (m & c | ~m & f) + 1518500249 : _ < 40 ? C += (m ^ c ^ f) + 1859775393 : _ < 60 ? C += (m & c | m & f | c & f) - 1894007588 : C += (m ^ c ^ f) - 899497514, y = f, f = c, c = m << 30 | m >>> 2, m = u, u = C;
2197
+ _ < 20 ? C += (s & c | ~s & f) + 1518500249 : _ < 40 ? C += (s ^ c ^ f) + 1859775393 : _ < 60 ? C += (s & c | s & f | c & f) - 1894007588 : C += (s ^ c ^ f) - 899497514, y = f, f = c, c = s << 30 | s >>> 2, s = u, u = C;
2198
2198
  }
2199
- s[0] = s[0] + u | 0, s[1] = s[1] + m | 0, s[2] = s[2] + c | 0, s[3] = s[3] + f | 0, s[4] = s[4] + y | 0;
2199
+ m[0] = m[0] + u | 0, m[1] = m[1] + s | 0, m[2] = m[2] + c | 0, m[3] = m[3] + f | 0, m[4] = m[4] + y | 0;
2200
2200
  },
2201
2201
  _doFinalize: function() {
2202
- var i = this._data, o = i.words, s = this._nDataBytes * 8, u = i.sigBytes * 8;
2203
- return o[u >>> 5] |= 128 << 24 - u % 32, o[(u + 64 >>> 9 << 4) + 14] = Math.floor(s / 4294967296), o[(u + 64 >>> 9 << 4) + 15] = s, i.sigBytes = o.length * 4, this._process(), this._hash;
2202
+ var i = this._data, o = i.words, m = this._nDataBytes * 8, u = i.sigBytes * 8;
2203
+ return o[u >>> 5] |= 128 << 24 - u % 32, o[(u + 64 >>> 9 << 4) + 14] = Math.floor(m / 4294967296), o[(u + 64 >>> 9 << 4) + 15] = m, i.sigBytes = o.length * 4, this._process(), this._hash;
2204
2204
  },
2205
2205
  clone: function() {
2206
2206
  var i = b.clone.call(this);
@@ -2227,20 +2227,20 @@ function yi() {
2227
2227
  return !1;
2228
2228
  return !0;
2229
2229
  }
2230
- function m(y) {
2230
+ function s(y) {
2231
2231
  return (y - (y | 0)) * 4294967296 | 0;
2232
2232
  }
2233
2233
  for (var c = 2, f = 0; f < 64; )
2234
- u(c) && (f < 8 && (a[f] = m(l.pow(c, 1 / 2))), i[f] = m(l.pow(c, 1 / 3)), f++), c++;
2234
+ u(c) && (f < 8 && (a[f] = s(l.pow(c, 1 / 2))), i[f] = s(l.pow(c, 1 / 3)), f++), c++;
2235
2235
  })();
2236
- var o = [], s = r.SHA256 = d.extend({
2236
+ var o = [], m = r.SHA256 = d.extend({
2237
2237
  _doReset: function() {
2238
2238
  this._hash = new b.init(a.slice(0));
2239
2239
  },
2240
- _doProcessBlock: function(u, m) {
2240
+ _doProcessBlock: function(u, s) {
2241
2241
  for (var c = this._hash.words, f = c[0], y = c[1], _ = c[2], U = c[3], C = c[4], v = c[5], D = c[6], E = c[7], G = 0; G < 64; G++) {
2242
2242
  if (G < 16)
2243
- o[G] = u[m + G] | 0;
2243
+ o[G] = u[s + G] | 0;
2244
2244
  else {
2245
2245
  var O = o[G - 15], k = (O << 25 | O >>> 7) ^ (O << 14 | O >>> 18) ^ O >>> 3, h = o[G - 2], F = (h << 15 | h >>> 17) ^ (h << 13 | h >>> 19) ^ h >>> 10;
2246
2246
  o[G] = k + o[G - 7] + F + o[G - 16];
@@ -2251,15 +2251,15 @@ function yi() {
2251
2251
  c[0] = c[0] + f | 0, c[1] = c[1] + y | 0, c[2] = c[2] + _ | 0, c[3] = c[3] + U | 0, c[4] = c[4] + C | 0, c[5] = c[5] + v | 0, c[6] = c[6] + D | 0, c[7] = c[7] + E | 0;
2252
2252
  },
2253
2253
  _doFinalize: function() {
2254
- var u = this._data, m = u.words, c = this._nDataBytes * 8, f = u.sigBytes * 8;
2255
- return m[f >>> 5] |= 128 << 24 - f % 32, m[(f + 64 >>> 9 << 4) + 14] = l.floor(c / 4294967296), m[(f + 64 >>> 9 << 4) + 15] = c, u.sigBytes = m.length * 4, this._process(), this._hash;
2254
+ var u = this._data, s = u.words, c = this._nDataBytes * 8, f = u.sigBytes * 8;
2255
+ return s[f >>> 5] |= 128 << 24 - f % 32, s[(f + 64 >>> 9 << 4) + 14] = l.floor(c / 4294967296), s[(f + 64 >>> 9 << 4) + 15] = c, u.sigBytes = s.length * 4, this._process(), this._hash;
2256
2256
  },
2257
2257
  clone: function() {
2258
2258
  var u = d.clone.call(this);
2259
2259
  return u._hash = this._hash.clone(), u;
2260
2260
  }
2261
2261
  });
2262
- p.SHA256 = d._createHelper(s), p.HmacSHA256 = d._createHmacHelper(s);
2262
+ p.SHA256 = d._createHelper(m), p.HmacSHA256 = d._createHmacHelper(m);
2263
2263
  })(Math), t.SHA256;
2264
2264
  });
2265
2265
  })(Ut)), Ut.exports;
@@ -2386,10 +2386,10 @@ function al() {
2386
2386
  i(1501505948, 4234509866),
2387
2387
  i(1607167915, 987167468),
2388
2388
  i(1816402316, 1246189591)
2389
- ], s = [];
2389
+ ], m = [];
2390
2390
  (function() {
2391
- for (var m = 0; m < 80; m++)
2392
- s[m] = i();
2391
+ for (var s = 0; s < 80; s++)
2392
+ m[s] = i();
2393
2393
  })();
2394
2394
  var u = a.SHA512 = g.extend({
2395
2395
  _doReset: function() {
@@ -2404,29 +2404,29 @@ function al() {
2404
2404
  new d.init(1541459225, 327033209)
2405
2405
  ]);
2406
2406
  },
2407
- _doProcessBlock: function(m, c) {
2408
- for (var f = this._hash.words, y = f[0], _ = f[1], U = f[2], C = f[3], v = f[4], D = f[5], E = f[6], G = f[7], O = y.high, k = y.low, h = _.high, F = _.low, A = U.high, w = U.low, R = C.high, P = C.low, H = v.high, B = v.low, W = D.high, M = D.low, S = E.high, x = E.low, L = G.high, N = G.low, Z = O, q = k, Q = h, K = F, ae = A, ie = w, ye = R, Ue = P, se = H, ce = B, ke = W, fe = M, He = S, Ce = x, Ge = L, ea = N, Me = 0; Me < 80; Me++) {
2409
- var ve, We, aa = s[Me];
2407
+ _doProcessBlock: function(s, c) {
2408
+ for (var f = this._hash.words, y = f[0], _ = f[1], U = f[2], C = f[3], v = f[4], D = f[5], E = f[6], G = f[7], O = y.high, k = y.low, h = _.high, F = _.low, A = U.high, w = U.low, R = C.high, P = C.low, H = v.high, B = v.low, W = D.high, M = D.low, S = E.high, x = E.low, L = G.high, N = G.low, Z = O, q = k, Q = h, K = F, ae = A, ie = w, ye = R, Ue = P, me = H, ce = B, ke = W, fe = M, Ie = S, Ce = x, Ge = L, ea = N, Me = 0; Me < 80; Me++) {
2409
+ var ve, He, aa = m[Me];
2410
2410
  if (Me < 16)
2411
- We = aa.high = m[c + Me * 2] | 0, ve = aa.low = m[c + Me * 2 + 1] | 0;
2411
+ He = aa.high = s[c + Me * 2] | 0, ve = aa.low = s[c + Me * 2 + 1] | 0;
2412
2412
  else {
2413
- var ta = s[Me - 15], xe = ta.high, Re = ta.low, je = (xe >>> 1 | Re << 31) ^ (xe >>> 8 | Re << 24) ^ xe >>> 7, oa = (Re >>> 1 | xe << 31) ^ (Re >>> 8 | xe << 24) ^ (Re >>> 7 | xe << 25), ga = s[Me - 2], Ve = ga.high, Ye = ga.low, za = (Ve >>> 19 | Ye << 13) ^ (Ve << 3 | Ye >>> 29) ^ Ve >>> 6, Da = (Ye >>> 19 | Ve << 13) ^ (Ye << 3 | Ve >>> 29) ^ (Ye >>> 6 | Ve << 26), Ea = s[Me - 7], Ia = Ea.high, Va = Ea.low, da = s[Me - 16], ya = da.high, Ke = da.low;
2414
- ve = oa + Va, We = je + Ia + (ve >>> 0 < oa >>> 0 ? 1 : 0), ve = ve + Da, We = We + za + (ve >>> 0 < Da >>> 0 ? 1 : 0), ve = ve + Ke, We = We + ya + (ve >>> 0 < Ke >>> 0 ? 1 : 0), aa.high = We, aa.low = ve;
2413
+ var ta = m[Me - 15], xe = ta.high, Re = ta.low, je = (xe >>> 1 | Re << 31) ^ (xe >>> 8 | Re << 24) ^ xe >>> 7, oa = (Re >>> 1 | xe << 31) ^ (Re >>> 8 | xe << 24) ^ (Re >>> 7 | xe << 25), ga = m[Me - 2], Ve = ga.high, Ye = ga.low, za = (Ve >>> 19 | Ye << 13) ^ (Ve << 3 | Ye >>> 29) ^ Ve >>> 6, Da = (Ye >>> 19 | Ve << 13) ^ (Ye << 3 | Ve >>> 29) ^ (Ye >>> 6 | Ve << 26), Ea = m[Me - 7], Ia = Ea.high, Va = Ea.low, da = m[Me - 16], ya = da.high, Ke = da.low;
2414
+ ve = oa + Va, He = je + Ia + (ve >>> 0 < oa >>> 0 ? 1 : 0), ve = ve + Da, He = He + za + (ve >>> 0 < Da >>> 0 ? 1 : 0), ve = ve + Ke, He = He + ya + (ve >>> 0 < Ke >>> 0 ? 1 : 0), aa.high = He, aa.low = ve;
2415
2415
  }
2416
- var ca = se & ke ^ ~se & He, fa = ce & fe ^ ~ce & Ce, Na = Z & Q ^ Z & ae ^ Q & ae, La = q & K ^ q & ie ^ K & ie, Ua = (Z >>> 28 | q << 4) ^ (Z << 30 | q >>> 2) ^ (Z << 25 | q >>> 7), Ga = (q >>> 28 | Z << 4) ^ (q << 30 | Z >>> 2) ^ (q << 25 | Z >>> 7), Ma = (se >>> 14 | ce << 18) ^ (se >>> 18 | ce << 14) ^ (se << 23 | ce >>> 9), Se = (ce >>> 14 | se << 18) ^ (ce >>> 18 | se << 14) ^ (ce << 23 | se >>> 9), V = o[Me], De = V.high, ia = V.low, Pe = ea + Se, na = Ge + Ma + (Pe >>> 0 < ea >>> 0 ? 1 : 0), Pe = Pe + fa, na = na + ca + (Pe >>> 0 < fa >>> 0 ? 1 : 0), Pe = Pe + ia, na = na + De + (Pe >>> 0 < ia >>> 0 ? 1 : 0), Pe = Pe + ve, na = na + We + (Pe >>> 0 < ve >>> 0 ? 1 : 0), et = Ga + La, Yt = Ua + Na + (et >>> 0 < Ga >>> 0 ? 1 : 0);
2417
- Ge = He, ea = Ce, He = ke, Ce = fe, ke = se, fe = ce, ce = Ue + Pe | 0, se = ye + na + (ce >>> 0 < Ue >>> 0 ? 1 : 0) | 0, ye = ae, Ue = ie, ae = Q, ie = K, Q = Z, K = q, q = Pe + et | 0, Z = na + Yt + (q >>> 0 < Pe >>> 0 ? 1 : 0) | 0;
2416
+ var ca = me & ke ^ ~me & Ie, fa = ce & fe ^ ~ce & Ce, Na = Z & Q ^ Z & ae ^ Q & ae, La = q & K ^ q & ie ^ K & ie, Ua = (Z >>> 28 | q << 4) ^ (Z << 30 | q >>> 2) ^ (Z << 25 | q >>> 7), Ga = (q >>> 28 | Z << 4) ^ (q << 30 | Z >>> 2) ^ (q << 25 | Z >>> 7), Ma = (me >>> 14 | ce << 18) ^ (me >>> 18 | ce << 14) ^ (me << 23 | ce >>> 9), Se = (ce >>> 14 | me << 18) ^ (ce >>> 18 | me << 14) ^ (ce << 23 | me >>> 9), V = o[Me], De = V.high, ia = V.low, Pe = ea + Se, na = Ge + Ma + (Pe >>> 0 < ea >>> 0 ? 1 : 0), Pe = Pe + fa, na = na + ca + (Pe >>> 0 < fa >>> 0 ? 1 : 0), Pe = Pe + ia, na = na + De + (Pe >>> 0 < ia >>> 0 ? 1 : 0), Pe = Pe + ve, na = na + He + (Pe >>> 0 < ve >>> 0 ? 1 : 0), et = Ga + La, Yt = Ua + Na + (et >>> 0 < Ga >>> 0 ? 1 : 0);
2417
+ Ge = Ie, ea = Ce, Ie = ke, Ce = fe, ke = me, fe = ce, ce = Ue + Pe | 0, me = ye + na + (ce >>> 0 < Ue >>> 0 ? 1 : 0) | 0, ye = ae, Ue = ie, ae = Q, ie = K, Q = Z, K = q, q = Pe + et | 0, Z = na + Yt + (q >>> 0 < Pe >>> 0 ? 1 : 0) | 0;
2418
2418
  }
2419
- k = y.low = k + q, y.high = O + Z + (k >>> 0 < q >>> 0 ? 1 : 0), F = _.low = F + K, _.high = h + Q + (F >>> 0 < K >>> 0 ? 1 : 0), w = U.low = w + ie, U.high = A + ae + (w >>> 0 < ie >>> 0 ? 1 : 0), P = C.low = P + Ue, C.high = R + ye + (P >>> 0 < Ue >>> 0 ? 1 : 0), B = v.low = B + ce, v.high = H + se + (B >>> 0 < ce >>> 0 ? 1 : 0), M = D.low = M + fe, D.high = W + ke + (M >>> 0 < fe >>> 0 ? 1 : 0), x = E.low = x + Ce, E.high = S + He + (x >>> 0 < Ce >>> 0 ? 1 : 0), N = G.low = N + ea, G.high = L + Ge + (N >>> 0 < ea >>> 0 ? 1 : 0);
2419
+ k = y.low = k + q, y.high = O + Z + (k >>> 0 < q >>> 0 ? 1 : 0), F = _.low = F + K, _.high = h + Q + (F >>> 0 < K >>> 0 ? 1 : 0), w = U.low = w + ie, U.high = A + ae + (w >>> 0 < ie >>> 0 ? 1 : 0), P = C.low = P + Ue, C.high = R + ye + (P >>> 0 < Ue >>> 0 ? 1 : 0), B = v.low = B + ce, v.high = H + me + (B >>> 0 < ce >>> 0 ? 1 : 0), M = D.low = M + fe, D.high = W + ke + (M >>> 0 < fe >>> 0 ? 1 : 0), x = E.low = x + Ce, E.high = S + Ie + (x >>> 0 < Ce >>> 0 ? 1 : 0), N = G.low = N + ea, G.high = L + Ge + (N >>> 0 < ea >>> 0 ? 1 : 0);
2420
2420
  },
2421
2421
  _doFinalize: function() {
2422
- var m = this._data, c = m.words, f = this._nDataBytes * 8, y = m.sigBytes * 8;
2423
- c[y >>> 5] |= 128 << 24 - y % 32, c[(y + 128 >>> 10 << 5) + 30] = Math.floor(f / 4294967296), c[(y + 128 >>> 10 << 5) + 31] = f, m.sigBytes = c.length * 4, this._process();
2422
+ var s = this._data, c = s.words, f = this._nDataBytes * 8, y = s.sigBytes * 8;
2423
+ c[y >>> 5] |= 128 << 24 - y % 32, c[(y + 128 >>> 10 << 5) + 30] = Math.floor(f / 4294967296), c[(y + 128 >>> 10 << 5) + 31] = f, s.sigBytes = c.length * 4, this._process();
2424
2424
  var _ = this._hash.toX32();
2425
2425
  return _;
2426
2426
  },
2427
2427
  clone: function() {
2428
- var m = g.clone.call(this);
2429
- return m._hash = this._hash.clone(), m;
2428
+ var s = g.clone.call(this);
2429
+ return s._hash = this._hash.clone(), s;
2430
2430
  },
2431
2431
  blockSize: 1024 / 32
2432
2432
  });
@@ -2472,7 +2472,7 @@ function xr() {
2472
2472
  e.exports = l(te(), jt());
2473
2473
  })(kr, function(t) {
2474
2474
  return (function(l) {
2475
- var p = t, g = p.lib, b = g.WordArray, d = g.Hasher, r = p.x64, a = r.Word, i = p.algo, o = [], s = [], u = [];
2475
+ var p = t, g = p.lib, b = g.WordArray, d = g.Hasher, r = p.x64, a = r.Word, i = p.algo, o = [], m = [], u = [];
2476
2476
  (function() {
2477
2477
  for (var f = 1, y = 0, _ = 0; _ < 24; _++) {
2478
2478
  o[f + 5 * y] = (_ + 1) * (_ + 2) / 2 % 64;
@@ -2481,7 +2481,7 @@ function xr() {
2481
2481
  }
2482
2482
  for (var f = 0; f < 5; f++)
2483
2483
  for (var y = 0; y < 5; y++)
2484
- s[f + 5 * y] = y + (2 * f + 3 * y) % 5 * 5;
2484
+ m[f + 5 * y] = y + (2 * f + 3 * y) % 5 * 5;
2485
2485
  for (var v = 1, D = 0; D < 24; D++) {
2486
2486
  for (var E = 0, G = 0, O = 0; O < 7; O++) {
2487
2487
  if (v & 1) {
@@ -2493,10 +2493,10 @@ function xr() {
2493
2493
  u[D] = a.create(E, G);
2494
2494
  }
2495
2495
  })();
2496
- var m = [];
2496
+ var s = [];
2497
2497
  (function() {
2498
2498
  for (var f = 0; f < 25; f++)
2499
- m[f] = a.create();
2499
+ s[f] = a.create();
2500
2500
  })();
2501
2501
  var c = i.SHA3 = d.extend({
2502
2502
  /**
@@ -2528,25 +2528,25 @@ function xr() {
2528
2528
  var E = _[O + 5 * F];
2529
2529
  k ^= E.high, h ^= E.low;
2530
2530
  }
2531
- var A = m[O];
2531
+ var A = s[O];
2532
2532
  A.high = k, A.low = h;
2533
2533
  }
2534
2534
  for (var O = 0; O < 5; O++)
2535
- for (var w = m[(O + 4) % 5], R = m[(O + 1) % 5], P = R.high, H = R.low, k = w.high ^ (P << 1 | H >>> 31), h = w.low ^ (H << 1 | P >>> 31), F = 0; F < 5; F++) {
2535
+ for (var w = s[(O + 4) % 5], R = s[(O + 1) % 5], P = R.high, H = R.low, k = w.high ^ (P << 1 | H >>> 31), h = w.low ^ (H << 1 | P >>> 31), F = 0; F < 5; F++) {
2536
2536
  var E = _[O + 5 * F];
2537
2537
  E.high ^= k, E.low ^= h;
2538
2538
  }
2539
2539
  for (var B = 1; B < 25; B++) {
2540
2540
  var k, h, E = _[B], W = E.high, M = E.low, S = o[B];
2541
2541
  S < 32 ? (k = W << S | M >>> 32 - S, h = M << S | W >>> 32 - S) : (k = M << S - 32 | W >>> 64 - S, h = W << S - 32 | M >>> 64 - S);
2542
- var x = m[s[B]];
2542
+ var x = s[m[B]];
2543
2543
  x.high = k, x.low = h;
2544
2544
  }
2545
- var L = m[0], N = _[0];
2545
+ var L = s[0], N = _[0];
2546
2546
  L.high = N.high, L.low = N.low;
2547
2547
  for (var O = 0; O < 5; O++)
2548
2548
  for (var F = 0; F < 5; F++) {
2549
- var B = O + 5 * F, E = _[B], Z = m[B], q = m[(O + 1) % 5 + 5 * F], Q = m[(O + 2) % 5 + 5 * F];
2549
+ var B = O + 5 * F, E = _[B], Z = s[B], q = s[(O + 1) % 5 + 5 * F], Q = s[(O + 2) % 5 + 5 * F];
2550
2550
  E.high = Z.high ^ ~q.high & Q.high, E.low = Z.low ^ ~q.low & Q.low;
2551
2551
  }
2552
2552
  var E = _[0], K = u[G];
@@ -2825,7 +2825,7 @@ function Dr() {
2825
2825
  8,
2826
2826
  5,
2827
2827
  6
2828
- ]), s = b.create([
2828
+ ]), m = b.create([
2829
2829
  8,
2830
2830
  9,
2831
2831
  9,
@@ -2906,7 +2906,7 @@ function Dr() {
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]), c = r.RIPEMD160 = d.extend({
2909
+ ]), u = b.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), s = b.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), c = r.RIPEMD160 = d.extend({
2910
2910
  _doReset: function() {
2911
2911
  this._hash = b.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
2912
2912
  },
@@ -2915,7 +2915,7 @@ function Dr() {
2915
2915
  var O = E + G, k = D[O];
2916
2916
  D[O] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
2917
2917
  }
2918
- var h = this._hash.words, F = u.words, A = m.words, w = a.words, R = i.words, P = o.words, H = s.words, B, W, M, S, x, L, N, Z, q, Q;
2918
+ var h = this._hash.words, F = u.words, A = s.words, w = a.words, R = i.words, P = o.words, H = m.words, B, W, M, S, x, L, N, Z, q, Q;
2919
2919
  L = B = h[0], N = W = h[1], Z = M = h[2], q = S = h[3], Q = x = h[4];
2920
2920
  for (var K, G = 0; G < 80; G += 1)
2921
2921
  K = B + D[E + w[G]] | 0, G < 16 ? K += f(W, M, S) + F[0] : G < 32 ? K += y(W, M, S) + F[1] : G < 48 ? K += _(W, M, S) + F[2] : G < 64 ? K += U(W, M, S) + F[3] : K += C(W, M, S) + F[4], K = K | 0, K = v(K, P[G]), K = K + x | 0, B = x, x = S, S = v(M, 10), M = W, W = K, K = L + D[E + R[G]] | 0, G < 16 ? K += C(N, Z, q) + A[0] : G < 32 ? K += U(N, Z, q) + A[1] : G < 48 ? K += _(N, Z, q) + A[2] : G < 64 ? K += y(N, Z, q) + A[3] : K += f(N, Z, q) + A[4], K = K | 0, K = v(K, H[G]), K = K + Q | 0, L = Q, Q = q, q = v(Z, 10), Z = N, N = K;
@@ -2979,11 +2979,11 @@ function Ui() {
2979
2979
  */
2980
2980
  init: function(a, i) {
2981
2981
  a = this._hasher = new a.init(), typeof i == "string" && (i = d.parse(i));
2982
- var o = a.blockSize, s = o * 4;
2983
- i.sigBytes > s && (i = a.finalize(i)), i.clamp();
2984
- for (var u = this._oKey = i.clone(), m = this._iKey = i.clone(), c = u.words, f = m.words, y = 0; y < o; y++)
2982
+ var o = a.blockSize, m = o * 4;
2983
+ i.sigBytes > m && (i = a.finalize(i)), i.clamp();
2984
+ for (var u = this._oKey = i.clone(), s = this._iKey = i.clone(), c = u.words, f = s.words, y = 0; y < o; y++)
2985
2985
  c[y] ^= 1549556828, f[y] ^= 909522486;
2986
- u.sigBytes = m.sigBytes = s, this.reset();
2986
+ u.sigBytes = s.sigBytes = m, this.reset();
2987
2987
  },
2988
2988
  /**
2989
2989
  * Resets this HMAC to its initial state.
@@ -3028,8 +3028,8 @@ function Ui() {
3028
3028
  finalize: function(a) {
3029
3029
  var i = this._hasher, o = i.finalize(a);
3030
3030
  i.reset();
3031
- var s = i.finalize(this._oKey.clone().concat(o));
3032
- return s;
3031
+ var m = i.finalize(this._oKey.clone().concat(o));
3032
+ return m;
3033
3033
  }
3034
3034
  });
3035
3035
  })();
@@ -3082,12 +3082,12 @@ function Lr() {
3082
3082
  *
3083
3083
  * var key = kdf.compute(password, salt);
3084
3084
  */
3085
- compute: function(o, s) {
3086
- for (var u = this.cfg, m = a.create(u.hasher, o), c = b.create(), f = b.create([1]), y = c.words, _ = f.words, U = u.keySize, C = u.iterations; y.length < U; ) {
3087
- var v = m.update(s).finalize(f);
3088
- m.reset();
3085
+ compute: function(o, m) {
3086
+ for (var u = this.cfg, s = a.create(u.hasher, o), c = b.create(), f = b.create([1]), y = c.words, _ = f.words, U = u.keySize, C = u.iterations; y.length < U; ) {
3087
+ var v = s.update(m).finalize(f);
3088
+ s.reset();
3089
3089
  for (var D = v.words, E = D.length, G = v, O = 1; O < C; O++) {
3090
- G = m.finalize(G), m.reset();
3090
+ G = s.finalize(G), s.reset();
3091
3091
  for (var k = G.words, h = 0; h < E; h++)
3092
3092
  D[h] ^= k[h];
3093
3093
  }
@@ -3096,8 +3096,8 @@ function Lr() {
3096
3096
  return c.sigBytes = U * 4, c;
3097
3097
  }
3098
3098
  });
3099
- l.PBKDF2 = function(o, s, u) {
3100
- return i.create(u).compute(o, s);
3099
+ l.PBKDF2 = function(o, m, u) {
3100
+ return i.create(u).compute(o, m);
3101
3101
  };
3102
3102
  })(), t.PBKDF2;
3103
3103
  });
@@ -3150,17 +3150,17 @@ function _a() {
3150
3150
  * var key = kdf.compute(password, salt);
3151
3151
  */
3152
3152
  compute: function(i, o) {
3153
- for (var s, u = this.cfg, m = u.hasher.create(), c = b.create(), f = c.words, y = u.keySize, _ = u.iterations; f.length < y; ) {
3154
- s && m.update(s), s = m.update(i).finalize(o), m.reset();
3153
+ for (var m, u = this.cfg, s = u.hasher.create(), c = b.create(), f = c.words, y = u.keySize, _ = u.iterations; f.length < y; ) {
3154
+ m && s.update(m), m = s.update(i).finalize(o), s.reset();
3155
3155
  for (var U = 1; U < _; U++)
3156
- s = m.finalize(s), m.reset();
3157
- c.concat(s);
3156
+ m = s.finalize(m), s.reset();
3157
+ c.concat(m);
3158
3158
  }
3159
3159
  return c.sigBytes = y * 4, c;
3160
3160
  }
3161
3161
  });
3162
- l.EvpKDF = function(i, o, s) {
3163
- return a.create(s).compute(i, o);
3162
+ l.EvpKDF = function(i, o, m) {
3163
+ return a.create(m).compute(i, o);
3164
3164
  };
3165
3165
  })(), t.EvpKDF;
3166
3166
  });
@@ -3175,7 +3175,7 @@ function Ne() {
3175
3175
  t.lib.Cipher || (function(l) {
3176
3176
  var p = t, g = p.lib, b = g.Base, d = g.WordArray, r = g.BufferedBlockAlgorithm, a = p.enc;
3177
3177
  a.Utf8;
3178
- var i = a.Base64, o = p.algo, s = o.EvpKDF, u = g.Cipher = r.extend({
3178
+ var i = a.Base64, o = p.algo, m = o.EvpKDF, u = g.Cipher = r.extend({
3179
3179
  /**
3180
3180
  * Configuration options.
3181
3181
  *
@@ -3314,7 +3314,7 @@ function Ne() {
3314
3314
  },
3315
3315
  blockSize: 1
3316
3316
  });
3317
- var m = p.mode = {}, c = g.BlockCipherMode = b.extend({
3317
+ var s = p.mode = {}, c = g.BlockCipherMode = b.extend({
3318
3318
  /**
3319
3319
  * Creates this mode for encryption.
3320
3320
  *
@@ -3358,7 +3358,7 @@ function Ne() {
3358
3358
  init: function(k, h) {
3359
3359
  this._cipher = k, this._iv = h;
3360
3360
  }
3361
- }), f = m.CBC = (function() {
3361
+ }), f = s.CBC = (function() {
3362
3362
  var k = c.extend();
3363
3363
  k.Encryptor = k.extend({
3364
3364
  /**
@@ -3636,9 +3636,9 @@ function Ne() {
3636
3636
  */
3637
3637
  execute: function(k, h, F, A, w) {
3638
3638
  if (A || (A = d.random(64 / 8)), w)
3639
- var R = s.create({ keySize: h + F, hasher: w }).compute(k, A);
3639
+ var R = m.create({ keySize: h + F, hasher: w }).compute(k, A);
3640
3640
  else
3641
- var R = s.create({ keySize: h + F }).compute(k, A);
3641
+ var R = m.create({ keySize: h + F }).compute(k, A);
3642
3642
  var P = d.create(R.words.slice(h), F * 4);
3643
3643
  return R.sigBytes = h * 4, U.create({ key: R, iv: P, salt: A });
3644
3644
  }
@@ -3747,8 +3747,8 @@ function Fr() {
3747
3747
  a && (i = this._counter = a.slice(0), this._iv = void 0);
3748
3748
  var o = i.slice(0);
3749
3749
  d.encryptBlock(o, 0), i[r - 1] = i[r - 1] + 1 | 0;
3750
- for (var s = 0; s < r; s++)
3751
- g[b + s] ^= o[s];
3750
+ for (var m = 0; m < r; m++)
3751
+ g[b + m] ^= o[m];
3752
3752
  }
3753
3753
  });
3754
3754
  return l.Decryptor = p, l;
@@ -3777,12 +3777,12 @@ function Or() {
3777
3777
  }
3778
3778
  var b = l.Encryptor = l.extend({
3779
3779
  processBlock: function(d, r) {
3780
- var a = this._cipher, i = a.blockSize, o = this._iv, s = this._counter;
3781
- o && (s = this._counter = o.slice(0), this._iv = void 0), g(s);
3782
- var u = s.slice(0);
3780
+ var a = this._cipher, i = a.blockSize, o = this._iv, m = this._counter;
3781
+ o && (m = this._counter = o.slice(0), this._iv = void 0), g(m);
3782
+ var u = m.slice(0);
3783
3783
  a.encryptBlock(u, 0);
3784
- for (var m = 0; m < i; m++)
3785
- d[r + m] ^= u[m];
3784
+ for (var s = 0; s < i; s++)
3785
+ d[r + s] ^= u[s];
3786
3786
  }
3787
3787
  });
3788
3788
  return l.Decryptor = b, l;
@@ -3977,7 +3977,7 @@ function to() {
3977
3977
  e.exports = l(te(), xa(), Sa(), _a(), Ne());
3978
3978
  })(ao, function(t) {
3979
3979
  return (function() {
3980
- var l = t, p = l.lib, g = p.BlockCipher, b = l.algo, d = [], r = [], a = [], i = [], o = [], s = [], u = [], m = [], c = [], f = [];
3980
+ var l = t, p = l.lib, g = p.BlockCipher, b = l.algo, d = [], r = [], a = [], i = [], o = [], m = [], u = [], s = [], c = [], f = [];
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;
@@ -3985,9 +3985,9 @@ function to() {
3985
3985
  var E = D ^ D << 1 ^ D << 2 ^ D << 3 ^ D << 4;
3986
3986
  E = E >>> 8 ^ E & 255 ^ 99, d[v] = E, r[E] = v;
3987
3987
  var G = U[v], O = U[G], k = U[O], h = U[E] * 257 ^ E * 16843008;
3988
- a[v] = h << 24 | h >>> 8, i[v] = h << 16 | h >>> 16, o[v] = h << 8 | h >>> 24, s[v] = h;
3988
+ a[v] = h << 24 | h >>> 8, i[v] = h << 16 | h >>> 16, o[v] = h << 8 | h >>> 24, m[v] = h;
3989
3989
  var h = k * 16843009 ^ O * 65537 ^ G * 257 ^ v * 16843008;
3990
- u[E] = h << 24 | h >>> 8, m[E] = h << 16 | h >>> 16, c[E] = h << 8 | h >>> 24, f[E] = h, v ? (v = G ^ U[U[U[k ^ G]]], D ^= U[U[D]]) : v = D = 1;
3990
+ u[E] = h << 24 | h >>> 8, s[E] = h << 16 | h >>> 16, c[E] = h << 8 | h >>> 24, f[E] = h, v ? (v = G ^ U[U[U[k ^ G]]], D ^= U[U[D]]) : v = D = 1;
3991
3991
  }
3992
3992
  })();
3993
3993
  var y = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], _ = b.AES = g.extend({
@@ -4002,16 +4002,16 @@ function to() {
4002
4002
  var U = O[k];
4003
4003
  else
4004
4004
  var U = O[k - 4];
4005
- F < 4 || k <= 4 ? h[F] = U : h[F] = u[d[U >>> 24]] ^ m[d[U >>> 16 & 255]] ^ c[d[U >>> 8 & 255]] ^ f[d[U & 255]];
4005
+ F < 4 || k <= 4 ? h[F] = U : h[F] = u[d[U >>> 24]] ^ s[d[U >>> 16 & 255]] ^ c[d[U >>> 8 & 255]] ^ f[d[U & 255]];
4006
4006
  }
4007
4007
  }
4008
4008
  },
4009
4009
  encryptBlock: function(U, C) {
4010
- this._doCryptBlock(U, C, this._keySchedule, a, i, o, s, d);
4010
+ this._doCryptBlock(U, C, this._keySchedule, a, i, o, m, d);
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, c, f, r);
4014
+ U[C + 1] = U[C + 3], U[C + 3] = v, this._doCryptBlock(U, C, this._invKeySchedule, u, s, c, f, r);
4015
4015
  var v = U[C + 1];
4016
4016
  U[C + 1] = U[C + 3], U[C + 3] = v;
4017
4017
  },
@@ -4672,7 +4672,7 @@ function no() {
4672
4672
  2147483678: 131104,
4673
4673
  2147483679: 134350848
4674
4674
  }
4675
- ], s = [
4675
+ ], m = [
4676
4676
  4160749569,
4677
4677
  528482304,
4678
4678
  33030144,
@@ -4705,20 +4705,20 @@ function no() {
4705
4705
  this._doCryptBlock(y, _, this._invSubKeys);
4706
4706
  },
4707
4707
  _doCryptBlock: function(y, _, U) {
4708
- this._lBlock = y[_], this._rBlock = y[_ + 1], m.call(this, 4, 252645135), m.call(this, 16, 65535), c.call(this, 2, 858993459), c.call(this, 8, 16711935), m.call(this, 1, 1431655765);
4708
+ this._lBlock = y[_], this._rBlock = y[_ + 1], s.call(this, 4, 252645135), s.call(this, 16, 65535), c.call(this, 2, 858993459), c.call(this, 8, 16711935), s.call(this, 1, 1431655765);
4709
4709
  for (var C = 0; C < 16; C++) {
4710
4710
  for (var v = U[C], D = this._lBlock, E = this._rBlock, G = 0, O = 0; O < 8; O++)
4711
- G |= o[O][((E ^ v[O]) & s[O]) >>> 0];
4711
+ G |= o[O][((E ^ v[O]) & m[O]) >>> 0];
4712
4712
  this._lBlock = E, this._rBlock = D ^ G;
4713
4713
  }
4714
4714
  var k = this._lBlock;
4715
- this._lBlock = this._rBlock, this._rBlock = k, m.call(this, 1, 1431655765), c.call(this, 8, 16711935), c.call(this, 2, 858993459), m.call(this, 16, 65535), m.call(this, 4, 252645135), y[_] = this._lBlock, y[_ + 1] = this._rBlock;
4715
+ this._lBlock = this._rBlock, this._rBlock = k, s.call(this, 1, 1431655765), c.call(this, 8, 16711935), c.call(this, 2, 858993459), s.call(this, 16, 65535), s.call(this, 4, 252645135), y[_] = this._lBlock, y[_ + 1] = this._rBlock;
4716
4716
  },
4717
4717
  keySize: 64 / 32,
4718
4718
  ivSize: 64 / 32,
4719
4719
  blockSize: 64 / 32
4720
4720
  });
4721
- function m(y, _) {
4721
+ function s(y, _) {
4722
4722
  var U = (this._lBlock >>> y ^ this._rBlock) & _;
4723
4723
  this._rBlock ^= U, this._lBlock ^= U << y;
4724
4724
  }
@@ -4759,13 +4759,13 @@ function ro() {
4759
4759
  return (function() {
4760
4760
  var l = t, p = l.lib, g = p.StreamCipher, b = l.algo, d = b.RC4 = g.extend({
4761
4761
  _doReset: function() {
4762
- for (var i = this._key, o = i.words, s = i.sigBytes, u = this._S = [], m = 0; m < 256; m++)
4763
- u[m] = m;
4764
- for (var m = 0, c = 0; m < 256; m++) {
4765
- var f = m % s, y = o[f >>> 2] >>> 24 - f % 4 * 8 & 255;
4766
- c = (c + u[m] + y) % 256;
4767
- var _ = u[m];
4768
- u[m] = u[c], u[c] = _;
4762
+ for (var i = this._key, o = i.words, m = i.sigBytes, u = this._S = [], s = 0; s < 256; s++)
4763
+ u[s] = s;
4764
+ for (var s = 0, c = 0; s < 256; s++) {
4765
+ var f = s % m, y = o[f >>> 2] >>> 24 - f % 4 * 8 & 255;
4766
+ c = (c + u[s] + y) % 256;
4767
+ var _ = u[s];
4768
+ u[s] = u[c], u[c] = _;
4769
4769
  }
4770
4770
  this._i = this._j = 0;
4771
4771
  },
@@ -4776,12 +4776,12 @@ function ro() {
4776
4776
  ivSize: 0
4777
4777
  });
4778
4778
  function r() {
4779
- for (var i = this._S, o = this._i, s = this._j, u = 0, m = 0; m < 4; m++) {
4780
- o = (o + 1) % 256, s = (s + i[o]) % 256;
4779
+ for (var i = this._S, o = this._i, m = this._j, u = 0, s = 0; s < 4; s++) {
4780
+ o = (o + 1) % 256, m = (m + i[o]) % 256;
4781
4781
  var c = i[o];
4782
- i[o] = i[s], i[s] = c, u |= i[(i[o] + i[s]) % 256] << 24 - m * 8;
4782
+ i[o] = i[m], i[m] = c, u |= i[(i[o] + i[m]) % 256] << 24 - s * 8;
4783
4783
  }
4784
- return this._i = o, this._j = s, u;
4784
+ return this._i = o, this._j = m, u;
4785
4785
  }
4786
4786
  l.RC4 = g._createHelper(d);
4787
4787
  var a = b.RC4Drop = d.extend({
@@ -4813,57 +4813,57 @@ function so() {
4813
4813
  return (function() {
4814
4814
  var l = t, p = l.lib, g = p.StreamCipher, b = l.algo, d = [], r = [], a = [], i = b.Rabbit = g.extend({
4815
4815
  _doReset: function() {
4816
- for (var s = this._key.words, u = this.cfg.iv, m = 0; m < 4; m++)
4817
- s[m] = (s[m] << 8 | s[m] >>> 24) & 16711935 | (s[m] << 24 | s[m] >>> 8) & 4278255360;
4816
+ for (var m = this._key.words, u = this.cfg.iv, s = 0; s < 4; s++)
4817
+ m[s] = (m[s] << 8 | m[s] >>> 24) & 16711935 | (m[s] << 24 | m[s] >>> 8) & 4278255360;
4818
4818
  var c = this._X = [
4819
- s[0],
4820
- s[3] << 16 | s[2] >>> 16,
4821
- s[1],
4822
- s[0] << 16 | s[3] >>> 16,
4823
- s[2],
4824
- s[1] << 16 | s[0] >>> 16,
4825
- s[3],
4826
- s[2] << 16 | s[1] >>> 16
4819
+ m[0],
4820
+ m[3] << 16 | m[2] >>> 16,
4821
+ m[1],
4822
+ m[0] << 16 | m[3] >>> 16,
4823
+ m[2],
4824
+ m[1] << 16 | m[0] >>> 16,
4825
+ m[3],
4826
+ m[2] << 16 | m[1] >>> 16
4827
4827
  ], f = this._C = [
4828
- s[2] << 16 | s[2] >>> 16,
4829
- s[0] & 4294901760 | s[1] & 65535,
4830
- s[3] << 16 | s[3] >>> 16,
4831
- s[1] & 4294901760 | s[2] & 65535,
4832
- s[0] << 16 | s[0] >>> 16,
4833
- s[2] & 4294901760 | s[3] & 65535,
4834
- s[1] << 16 | s[1] >>> 16,
4835
- s[3] & 4294901760 | s[0] & 65535
4828
+ m[2] << 16 | m[2] >>> 16,
4829
+ m[0] & 4294901760 | m[1] & 65535,
4830
+ m[3] << 16 | m[3] >>> 16,
4831
+ m[1] & 4294901760 | m[2] & 65535,
4832
+ m[0] << 16 | m[0] >>> 16,
4833
+ m[2] & 4294901760 | m[3] & 65535,
4834
+ m[1] << 16 | m[1] >>> 16,
4835
+ m[3] & 4294901760 | m[0] & 65535
4836
4836
  ];
4837
4837
  this._b = 0;
4838
- for (var m = 0; m < 4; m++)
4838
+ for (var s = 0; s < 4; s++)
4839
4839
  o.call(this);
4840
- for (var m = 0; m < 8; m++)
4841
- f[m] ^= c[m + 4 & 7];
4840
+ for (var s = 0; s < 8; s++)
4841
+ f[s] ^= c[s + 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, D = C >>> 16 | v & 4294901760, E = v << 16 | C & 65535;
4844
4844
  f[0] ^= C, f[1] ^= D, f[2] ^= v, f[3] ^= E, f[4] ^= C, f[5] ^= D, f[6] ^= v, f[7] ^= E;
4845
- for (var m = 0; m < 4; m++)
4845
+ for (var s = 0; s < 4; s++)
4846
4846
  o.call(this);
4847
4847
  }
4848
4848
  },
4849
- _doProcessBlock: function(s, u) {
4850
- var m = this._X;
4851
- o.call(this), d[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, d[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, d[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, d[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4849
+ _doProcessBlock: function(m, u) {
4850
+ var s = this._X;
4851
+ o.call(this), d[0] = s[0] ^ s[5] >>> 16 ^ s[3] << 16, d[1] = s[2] ^ s[7] >>> 16 ^ s[5] << 16, d[2] = s[4] ^ s[1] >>> 16 ^ s[7] << 16, d[3] = s[6] ^ s[3] >>> 16 ^ s[1] << 16;
4852
4852
  for (var c = 0; c < 4; c++)
4853
- d[c] = (d[c] << 8 | d[c] >>> 24) & 16711935 | (d[c] << 24 | d[c] >>> 8) & 4278255360, s[u + c] ^= d[c];
4853
+ d[c] = (d[c] << 8 | d[c] >>> 24) & 16711935 | (d[c] << 24 | d[c] >>> 8) & 4278255360, m[u + c] ^= d[c];
4854
4854
  },
4855
4855
  blockSize: 128 / 32,
4856
4856
  ivSize: 64 / 32
4857
4857
  });
4858
4858
  function o() {
4859
- for (var s = this._X, u = this._C, m = 0; m < 8; m++)
4860
- r[m] = u[m];
4859
+ for (var m = this._X, u = this._C, s = 0; s < 8; s++)
4860
+ r[s] = u[s];
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
- for (var m = 0; m < 8; m++) {
4863
- var c = s[m] + u[m], f = c & 65535, y = c >>> 16, _ = ((f * f >>> 17) + f * y >>> 15) + y * y, U = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4864
- a[m] = _ ^ U;
4862
+ for (var s = 0; s < 8; s++) {
4863
+ var c = m[s] + u[s], f = c & 65535, y = c >>> 16, _ = ((f * f >>> 17) + f * y >>> 15) + y * y, U = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4864
+ a[s] = _ ^ U;
4865
4865
  }
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;
4866
+ m[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0, m[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0, m[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0, m[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0, m[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0, m[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0, m[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0, m[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
4867
4867
  }
4868
4868
  l.Rabbit = g._createHelper(i);
4869
4869
  })(), t.Rabbit;
@@ -4879,30 +4879,30 @@ function uo() {
4879
4879
  return (function() {
4880
4880
  var l = t, p = l.lib, g = p.StreamCipher, b = l.algo, d = [], r = [], a = [], i = b.RabbitLegacy = g.extend({
4881
4881
  _doReset: function() {
4882
- var s = this._key.words, u = this.cfg.iv, m = this._X = [
4883
- s[0],
4884
- s[3] << 16 | s[2] >>> 16,
4885
- s[1],
4886
- s[0] << 16 | s[3] >>> 16,
4887
- s[2],
4888
- s[1] << 16 | s[0] >>> 16,
4889
- s[3],
4890
- s[2] << 16 | s[1] >>> 16
4882
+ var m = this._key.words, u = this.cfg.iv, s = this._X = [
4883
+ m[0],
4884
+ m[3] << 16 | m[2] >>> 16,
4885
+ m[1],
4886
+ m[0] << 16 | m[3] >>> 16,
4887
+ m[2],
4888
+ m[1] << 16 | m[0] >>> 16,
4889
+ m[3],
4890
+ m[2] << 16 | m[1] >>> 16
4891
4891
  ], c = this._C = [
4892
- s[2] << 16 | s[2] >>> 16,
4893
- s[0] & 4294901760 | s[1] & 65535,
4894
- s[3] << 16 | s[3] >>> 16,
4895
- s[1] & 4294901760 | s[2] & 65535,
4896
- s[0] << 16 | s[0] >>> 16,
4897
- s[2] & 4294901760 | s[3] & 65535,
4898
- s[1] << 16 | s[1] >>> 16,
4899
- s[3] & 4294901760 | s[0] & 65535
4892
+ m[2] << 16 | m[2] >>> 16,
4893
+ m[0] & 4294901760 | m[1] & 65535,
4894
+ m[3] << 16 | m[3] >>> 16,
4895
+ m[1] & 4294901760 | m[2] & 65535,
4896
+ m[0] << 16 | m[0] >>> 16,
4897
+ m[2] & 4294901760 | m[3] & 65535,
4898
+ m[1] << 16 | m[1] >>> 16,
4899
+ m[3] & 4294901760 | m[0] & 65535
4900
4900
  ];
4901
4901
  this._b = 0;
4902
4902
  for (var f = 0; f < 4; f++)
4903
4903
  o.call(this);
4904
4904
  for (var f = 0; f < 8; f++)
4905
- c[f] ^= m[f + 4 & 7];
4905
+ c[f] ^= s[f + 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, D = C >>> 16 | v & 4294901760, E = v << 16 | C & 65535;
4908
4908
  c[0] ^= C, c[1] ^= D, c[2] ^= v, c[3] ^= E, c[4] ^= C, c[5] ^= D, c[6] ^= v, c[7] ^= E;
@@ -4910,24 +4910,24 @@ function uo() {
4910
4910
  o.call(this);
4911
4911
  }
4912
4912
  },
4913
- _doProcessBlock: function(s, u) {
4914
- var m = this._X;
4915
- o.call(this), d[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, d[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, d[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, d[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4913
+ _doProcessBlock: function(m, u) {
4914
+ var s = this._X;
4915
+ o.call(this), d[0] = s[0] ^ s[5] >>> 16 ^ s[3] << 16, d[1] = s[2] ^ s[7] >>> 16 ^ s[5] << 16, d[2] = s[4] ^ s[1] >>> 16 ^ s[7] << 16, d[3] = s[6] ^ s[3] >>> 16 ^ s[1] << 16;
4916
4916
  for (var c = 0; c < 4; c++)
4917
- d[c] = (d[c] << 8 | d[c] >>> 24) & 16711935 | (d[c] << 24 | d[c] >>> 8) & 4278255360, s[u + c] ^= d[c];
4917
+ d[c] = (d[c] << 8 | d[c] >>> 24) & 16711935 | (d[c] << 24 | d[c] >>> 8) & 4278255360, m[u + c] ^= d[c];
4918
4918
  },
4919
4919
  blockSize: 128 / 32,
4920
4920
  ivSize: 64 / 32
4921
4921
  });
4922
4922
  function o() {
4923
- for (var s = this._X, u = this._C, m = 0; m < 8; m++)
4924
- r[m] = u[m];
4923
+ for (var m = this._X, u = this._C, s = 0; s < 8; s++)
4924
+ r[s] = u[s];
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
- for (var m = 0; m < 8; m++) {
4927
- var c = s[m] + u[m], f = c & 65535, y = c >>> 16, _ = ((f * f >>> 17) + f * y >>> 15) + y * y, U = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4928
- a[m] = _ ^ U;
4926
+ for (var s = 0; s < 8; s++) {
4927
+ var c = m[s] + u[s], f = c & 65535, y = c >>> 16, _ = ((f * f >>> 17) + f * y >>> 15) + y * y, U = ((c & 4294901760) * c | 0) + ((c & 65535) * c | 0);
4928
+ a[s] = _ ^ U;
4929
4929
  }
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;
4930
+ m[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0, m[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0, m[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0, m[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0, m[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0, m[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0, m[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0, m[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
4931
4931
  }
4932
4932
  l.RabbitLegacy = g._createHelper(i);
4933
4933
  })(), t.RabbitLegacy;
@@ -6003,7 +6003,7 @@ function go() {
6003
6003
  let _ = y >> 24 & 255, U = y >> 16 & 255, C = y >> 8 & 255, v = y & 255, D = f.sbox[0][_] + f.sbox[1][U];
6004
6004
  return D = D ^ f.sbox[2][C], D = D + f.sbox[3][v], D;
6005
6005
  }
6006
- function s(f, y, _) {
6006
+ function m(f, y, _) {
6007
6007
  let U = y, C = _, v;
6008
6008
  for (let D = 0; D < d; ++D)
6009
6009
  U = U ^ f.pbox[D], C = o(f, U) ^ C, v = U, U = C, C = v;
@@ -6015,7 +6015,7 @@ function go() {
6015
6015
  U = U ^ f.pbox[D], C = o(f, U) ^ C, v = U, U = C, C = v;
6016
6016
  return v = U, U = C, C = v, C = C ^ f.pbox[1], U = U ^ f.pbox[0], { left: U, right: C };
6017
6017
  }
6018
- function m(f, y, _) {
6018
+ function s(f, y, _) {
6019
6019
  for (let E = 0; E < 4; E++) {
6020
6020
  f.sbox[E] = [];
6021
6021
  for (let G = 0; G < 256; G++)
@@ -6026,21 +6026,21 @@ function go() {
6026
6026
  f.pbox[E] = r[E] ^ y[U], U++, U >= _ && (U = 0);
6027
6027
  let C = 0, v = 0, D = 0;
6028
6028
  for (let E = 0; E < d + 2; E += 2)
6029
- D = s(f, C, v), C = D.left, v = D.right, f.pbox[E] = C, f.pbox[E + 1] = v;
6029
+ D = m(f, C, v), C = D.left, v = D.right, f.pbox[E] = C, f.pbox[E + 1] = v;
6030
6030
  for (let E = 0; E < 4; E++)
6031
6031
  for (let G = 0; G < 256; G += 2)
6032
- D = s(f, C, v), C = D.left, v = D.right, f.sbox[E][G] = C, f.sbox[E][G + 1] = v;
6032
+ D = m(f, C, v), C = D.left, v = D.right, f.sbox[E][G] = C, f.sbox[E][G + 1] = v;
6033
6033
  return !0;
6034
6034
  }
6035
6035
  var c = b.Blowfish = g.extend({
6036
6036
  _doReset: function() {
6037
6037
  if (this._keyPriorReset !== this._key) {
6038
6038
  var f = this._keyPriorReset = this._key, y = f.words, _ = f.sigBytes / 4;
6039
- m(i, y, _);
6039
+ s(i, y, _);
6040
6040
  }
6041
6041
  },
6042
6042
  encryptBlock: function(f, y) {
6043
- var _ = s(i, f[y], f[y + 1]);
6043
+ var _ = m(i, f[y], f[y + 1]);
6044
6044
  f[y] = _.left, f[y + 1] = _.right;
6045
6045
  },
6046
6046
  decryptBlock: function(f, y) {
@@ -6078,7 +6078,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6078
6078
  }), g = t.toString(Ca.enc.Base64), b = Ca.enc.Base64.stringify(p.ciphertext);
6079
6079
  return g + ":" + b;
6080
6080
  }, oe = () => {
6081
- const { client: e, formDataClient: n } = me(), t = I(
6081
+ const { client: e, formDataClient: n } = se(), t = I(
6082
6082
  async (M) => {
6083
6083
  const { mac_address: S = "", app_version: x = "", anydesk_id: L = "" } = M, { data: N } = await e.post("/cash-register/login", {
6084
6084
  mac_address: S,
@@ -6126,7 +6126,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6126
6126
  return x && (Q.unlimit_code = x), N && (Q.invite = N), e.post("/signUp", Q);
6127
6127
  },
6128
6128
  [e]
6129
- ), s = I(
6129
+ ), m = I(
6130
6130
  async (M) => {
6131
6131
  const { name: S, birthday: x, email: L, mobile: N } = M;
6132
6132
  return await e.post("/editMembetInfo", {
@@ -6150,7 +6150,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6150
6150
  });
6151
6151
  },
6152
6152
  [e]
6153
- ), m = I(
6153
+ ), s = I(
6154
6154
  async (M) => {
6155
6155
  const { newPwd: S, confirmNewPwd: x } = M;
6156
6156
  return await e.post("/setWithdrawPassword", {
@@ -6338,9 +6338,9 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6338
6338
  addOrRemoveFavoriteGameApi: a,
6339
6339
  rankingGameApi: i,
6340
6340
  userSignUpApi: o,
6341
- updateUserInfoApi: s,
6341
+ updateUserInfoApi: m,
6342
6342
  resetUserPasswordApi: u,
6343
- setUserTransactionPasswordApi: m,
6343
+ setUserTransactionPasswordApi: s,
6344
6344
  resetUserTransactionPasswordApi: c,
6345
6345
  userRebateApi: y,
6346
6346
  userBindBankApi: v,
@@ -6364,7 +6364,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6364
6364
  updateUserAvatarApi: W
6365
6365
  };
6366
6366
  }, Tm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
6367
- const { userCurrencyExchangeApi: t } = oe(), { getToken: l } = me(), { enabled: p, ...g } = n, d = !!l?.() && (p ? p.every((r) => r) : !0);
6367
+ const { userCurrencyExchangeApi: t } = oe(), { getToken: l } = se(), { enabled: p, ...g } = n, d = !!l?.() && (p ? p.every((r) => r) : !0);
6368
6368
  return Wn({
6369
6369
  queries: [
6370
6370
  {
@@ -6382,7 +6382,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6382
6382
  trigger: n = [],
6383
6383
  enabled: t = !0
6384
6384
  } = {}) => {
6385
- const { getToken: l } = me(), p = l?.(), { userInfoApi: g } = oe();
6385
+ const { getToken: l } = se(), p = l?.(), { userInfoApi: g } = oe();
6386
6386
  return Wn({
6387
6387
  queries: [
6388
6388
  {
@@ -6423,7 +6423,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6423
6423
  r
6424
6424
  ];
6425
6425
  }, bi = () => {
6426
- const { client: e, lng: n } = me(), t = Qe(n || "tw"), l = I(
6426
+ const { client: e, lng: n } = se(), t = Qe(n || "tw"), l = I(
6427
6427
  async (b) => {
6428
6428
  const {
6429
6429
  gameUid: d = "",
@@ -6474,7 +6474,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6474
6474
  platform: a,
6475
6475
  limit: i = 25,
6476
6476
  page: o = 1
6477
- } = b, { data: s } = await e.get("/report/betlog", {
6477
+ } = b, { data: m } = await e.get("/report/betlog", {
6478
6478
  params: {
6479
6479
  str_date: d,
6480
6480
  end_Date: r,
@@ -6483,7 +6483,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6483
6483
  page: o
6484
6484
  }
6485
6485
  });
6486
- return s;
6486
+ return m;
6487
6487
  },
6488
6488
  [e]
6489
6489
  );
@@ -6648,8 +6648,8 @@ function vi() {
6648
6648
  var t = function(p, g) {
6649
6649
  g === void 0 && (g = {});
6650
6650
  var b = /\?([\w]+=[\w]+)/, d = b.test(p), r = "".concat(Object.entries(g).reduce(function(a, i) {
6651
- var o = i[0], s = i[1];
6652
- return a + "".concat(o, "=").concat(s, "&");
6651
+ var o = i[0], m = i[1];
6652
+ return a + "".concat(o, "=").concat(m, "&");
6653
6653
  }, "").slice(0, -1));
6654
6654
  return "".concat(p).concat(d ? "&" : "?").concat(r);
6655
6655
  };
@@ -6674,13 +6674,13 @@ function tl() {
6674
6674
  }).current : l.current;
6675
6675
  }
6676
6676
  function t(l, p, g) {
6677
- var b = g || {}, d = b.interval, r = d === void 0 ? e.DEFAULT_HEARTBEAT.interval : d, a = b.timeout, i = 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(), c = setInterval(function() {
6677
+ var b = g || {}, d = b.interval, r = d === void 0 ? e.DEFAULT_HEARTBEAT.interval : d, a = b.timeout, i = a === void 0 ? e.DEFAULT_HEARTBEAT.timeout : a, o = b.message, m = o === void 0 ? e.DEFAULT_HEARTBEAT.message : o, u = Math.max(100, r / 10), s = Date.now(), c = setInterval(function() {
6678
6678
  var f = Date.now(), y = n(p);
6679
6679
  if (y + i <= f)
6680
- console.warn("Heartbeat timed out, closing connection, last message received ".concat(f - y, "ms ago, last ping sent ").concat(f - m, "ms ago")), l.close();
6681
- else if (y + r <= f && m + r <= f)
6680
+ console.warn("Heartbeat timed out, closing connection, last message received ".concat(f - y, "ms ago, last ping sent ").concat(f - s, "ms ago")), l.close();
6681
+ else if (y + r <= f && s + r <= f)
6682
6682
  try {
6683
- typeof s == "function" ? l.send(s()) : l.send(s), m = f;
6683
+ typeof m == "function" ? l.send(m()) : l.send(m), s = f;
6684
6684
  } catch (_) {
6685
6685
  console.error("Heartbeat failed, closing connection", _ instanceof Error ? _.message : _), l.close();
6686
6686
  }
@@ -6743,27 +6743,27 @@ function bo() {
6743
6743
  Tn = 1;
6744
6744
  var e = va && va.__assign || function() {
6745
6745
  return e = Object.assign || function(i) {
6746
- for (var o, s = 1, u = arguments.length; s < u; s++) {
6747
- o = arguments[s];
6748
- for (var m in o) Object.prototype.hasOwnProperty.call(o, m) && (i[m] = o[m]);
6746
+ for (var o, m = 1, u = arguments.length; m < u; m++) {
6747
+ o = arguments[m];
6748
+ for (var s in o) Object.prototype.hasOwnProperty.call(o, s) && (i[s] = o[s]);
6749
6749
  }
6750
6750
  return i;
6751
6751
  }, e.apply(this, arguments);
6752
6752
  };
6753
6753
  Object.defineProperty(va, "__esModule", { value: !0 }), va.attachListeners = void 0;
6754
- var n = vi(), t = tl(), l = ra(), p = Ti(), g = function(i, o, s, u) {
6755
- i.onmessage = function(m) {
6754
+ var n = vi(), t = tl(), l = ra(), p = Ti(), g = function(i, o, m, u) {
6755
+ i.onmessage = function(s) {
6756
6756
  var c;
6757
- o.current.onMessage && o.current.onMessage(m), typeof u?.current == "number" && (u.current = Date.now()), !(typeof o.current.filter == "function" && o.current.filter(m) !== !0) && (o.current.heartbeat && typeof o.current.heartbeat != "boolean" && ((c = o.current.heartbeat) === null || c === void 0 ? void 0 : c.returnMessage) === m.data || s(m));
6757
+ o.current.onMessage && o.current.onMessage(s), typeof u?.current == "number" && (u.current = Date.now()), !(typeof o.current.filter == "function" && o.current.filter(s) !== !0) && (o.current.heartbeat && typeof o.current.heartbeat != "boolean" && ((c = o.current.heartbeat) === null || c === void 0 ? void 0 : c.returnMessage) === s.data || m(s));
6758
6758
  };
6759
- }, b = function(i, o, s, u, m) {
6759
+ }, b = function(i, o, m, u, s) {
6760
6760
  i.onopen = function(c) {
6761
- if (o.current.onOpen && o.current.onOpen(c), u.current = 0, s(l.ReadyState.OPEN), o.current.heartbeat && i instanceof WebSocket) {
6761
+ if (o.current.onOpen && o.current.onOpen(c), u.current = 0, m(l.ReadyState.OPEN), o.current.heartbeat && i instanceof WebSocket) {
6762
6762
  var f = typeof o.current.heartbeat == "boolean" ? void 0 : o.current.heartbeat;
6763
- m.current = Date.now(), (0, t.heartbeat)(i, m, f);
6763
+ s.current = Date.now(), (0, t.heartbeat)(i, s, f);
6764
6764
  }
6765
6765
  };
6766
- }, d = function(i, o, s, u, m) {
6766
+ }, d = function(i, o, m, u, s) {
6767
6767
  if (l.isEventSourceSupported && i instanceof EventSource)
6768
6768
  return function() {
6769
6769
  };
@@ -6771,12 +6771,12 @@ function bo() {
6771
6771
  var c;
6772
6772
  return i.onclose = function(f) {
6773
6773
  var y;
6774
- if (o.current.onClose && o.current.onClose(f), s(l.ReadyState.CLOSED), o.current.shouldReconnect && o.current.shouldReconnect(f)) {
6774
+ if (o.current.onClose && o.current.onClose(f), m(l.ReadyState.CLOSED), o.current.shouldReconnect && o.current.shouldReconnect(f)) {
6775
6775
  var _ = (y = o.current.reconnectAttempts) !== null && y !== void 0 ? y : l.DEFAULT_RECONNECT_LIMIT;
6776
- if (m.current < _) {
6777
- var U = typeof o.current.reconnectInterval == "function" ? o.current.reconnectInterval(m.current) : o.current.reconnectInterval;
6776
+ if (s.current < _) {
6777
+ var U = typeof o.current.reconnectInterval == "function" ? o.current.reconnectInterval(s.current) : o.current.reconnectInterval;
6778
6778
  c = window.setTimeout(function() {
6779
- m.current++, u();
6779
+ s.current++, u();
6780
6780
  }, U ?? l.DEFAULT_RECONNECT_INTERVAL_MS);
6781
6781
  } else
6782
6782
  o.current.onReconnectStop && o.current.onReconnectStop(_), console.warn("Max reconnect attempts of ".concat(_, " exceeded"));
@@ -6784,24 +6784,24 @@ function bo() {
6784
6784
  }, function() {
6785
6785
  return c && window.clearTimeout(c);
6786
6786
  };
6787
- }, r = function(i, o, s, u, m) {
6787
+ }, r = function(i, o, m, u, s) {
6788
6788
  var c;
6789
6789
  return i.onerror = function(f) {
6790
6790
  var y;
6791
- if (o.current.onError && o.current.onError(f), l.isEventSourceSupported && i 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(l.ReadyState.CLOSED), i.close()), o.current.retryOnError)
6792
- if (m.current < ((y = o.current.reconnectAttempts) !== null && y !== void 0 ? y : l.DEFAULT_RECONNECT_LIMIT)) {
6793
- var _ = typeof o.current.reconnectInterval == "function" ? o.current.reconnectInterval(m.current) : o.current.reconnectInterval;
6791
+ if (o.current.onError && o.current.onError(f), l.isEventSourceSupported && i instanceof EventSource && (o.current.onClose && o.current.onClose(e(e({}, f), { code: 1006, reason: "An error occurred with the EventSource: ".concat(f), wasClean: !1 })), m(l.ReadyState.CLOSED), i.close()), o.current.retryOnError)
6792
+ if (s.current < ((y = o.current.reconnectAttempts) !== null && y !== void 0 ? y : l.DEFAULT_RECONNECT_LIMIT)) {
6793
+ var _ = typeof o.current.reconnectInterval == "function" ? o.current.reconnectInterval(s.current) : o.current.reconnectInterval;
6794
6794
  c = window.setTimeout(function() {
6795
- m.current++, u();
6795
+ s.current++, u();
6796
6796
  }, _ ?? l.DEFAULT_RECONNECT_INTERVAL_MS);
6797
6797
  } else
6798
6798
  o.current.onReconnectStop && o.current.onReconnectStop(o.current.reconnectAttempts), console.warn("Max reconnect attempts of ".concat(o.current.reconnectAttempts, " exceeded"));
6799
6799
  }, function() {
6800
6800
  return c && window.clearTimeout(c);
6801
6801
  };
6802
- }, a = function(i, o, s, u, m, c, f) {
6802
+ }, a = function(i, o, m, u, s, c, f) {
6803
6803
  var y = o.setLastMessage, _ = o.setReadyState, U, C, v;
6804
- return s.current.fromSocketIO && (U = (0, n.setUpSocketIOPing)(f)), g(i, s, y, c), b(i, s, _, m, c), C = d(i, s, _, u, m), v = r(i, s, _, u, m), function() {
6804
+ return m.current.fromSocketIO && (U = (0, n.setUpSocketIOPing)(f)), g(i, m, y, c), b(i, m, _, s, c), C = d(i, m, _, u, s), v = r(i, m, _, u, s), function() {
6805
6805
  _(l.ReadyState.CLOSING), C(), v(), i.close(), U && clearInterval(U);
6806
6806
  };
6807
6807
  };
@@ -6813,57 +6813,57 @@ function Co() {
6813
6813
  kn = 1;
6814
6814
  var e = ha && ha.__assign || function() {
6815
6815
  return e = Object.assign || function(o) {
6816
- for (var s, u = 1, m = arguments.length; u < m; u++) {
6817
- s = arguments[u];
6818
- for (var c in s) Object.prototype.hasOwnProperty.call(s, c) && (o[c] = s[c]);
6816
+ for (var m, u = 1, s = arguments.length; u < s; u++) {
6817
+ m = arguments[u];
6818
+ for (var c in m) Object.prototype.hasOwnProperty.call(m, c) && (o[c] = m[c]);
6819
6819
  }
6820
6820
  return o;
6821
6821
  }, e.apply(this, arguments);
6822
6822
  };
6823
6823
  Object.defineProperty(ha, "__esModule", { value: !0 }), ha.attachSharedListeners = void 0;
6824
- var n = Ci(), t = ra(), l = hi(), p = vi(), g = tl(), b = function(o, s, u) {
6825
- o.onmessage = function(m) {
6826
- (0, l.getSubscribers)(s).forEach(function(c) {
6824
+ var n = Ci(), t = ra(), l = hi(), p = vi(), g = tl(), b = function(o, m, u) {
6825
+ o.onmessage = function(s) {
6826
+ (0, l.getSubscribers)(m).forEach(function(c) {
6827
6827
  var f;
6828
- c.optionsRef.current.onMessage && c.optionsRef.current.onMessage(m), typeof ((f = c?.lastMessageTime) === null || f === void 0 ? void 0 : f.current) == "number" && (c.lastMessageTime.current = Date.now()), !(typeof c.optionsRef.current.filter == "function" && c.optionsRef.current.filter(m) !== !0) && (u && typeof u != "boolean" && u?.returnMessage === m.data || c.setLastMessage(m));
6828
+ c.optionsRef.current.onMessage && c.optionsRef.current.onMessage(s), typeof ((f = c?.lastMessageTime) === null || f === void 0 ? void 0 : f.current) == "number" && (c.lastMessageTime.current = Date.now()), !(typeof c.optionsRef.current.filter == "function" && c.optionsRef.current.filter(s) !== !0) && (u && typeof u != "boolean" && u?.returnMessage === s.data || c.setLastMessage(s));
6829
6829
  });
6830
6830
  };
6831
- }, d = function(o, s, u) {
6832
- o.onopen = function(m) {
6833
- var c = (0, l.getSubscribers)(s);
6831
+ }, d = function(o, m, u) {
6832
+ o.onopen = function(s) {
6833
+ var c = (0, l.getSubscribers)(m);
6834
6834
  c.forEach(function(f) {
6835
- f.reconnectCount.current = 0, f.optionsRef.current.onOpen && f.optionsRef.current.onOpen(m), f.setReadyState(t.ReadyState.OPEN), u && o instanceof WebSocket && (f.lastMessageTime.current = Date.now());
6835
+ f.reconnectCount.current = 0, f.optionsRef.current.onOpen && f.optionsRef.current.onOpen(s), f.setReadyState(t.ReadyState.OPEN), u && o instanceof WebSocket && (f.lastMessageTime.current = Date.now());
6836
6836
  }), u && o instanceof WebSocket && (0, g.heartbeat)(o, c.map(function(f) {
6837
6837
  return f.lastMessageTime;
6838
6838
  }), typeof u == "boolean" ? void 0 : u);
6839
6839
  };
6840
- }, r = function(o, s) {
6840
+ }, r = function(o, m) {
6841
6841
  o instanceof WebSocket && (o.onclose = function(u) {
6842
- (0, l.getSubscribers)(s).forEach(function(m) {
6843
- m.optionsRef.current.onClose && m.optionsRef.current.onClose(u), m.setReadyState(t.ReadyState.CLOSED);
6844
- }), delete n.sharedWebSockets[s], (0, l.getSubscribers)(s).forEach(function(m) {
6842
+ (0, l.getSubscribers)(m).forEach(function(s) {
6843
+ s.optionsRef.current.onClose && s.optionsRef.current.onClose(u), s.setReadyState(t.ReadyState.CLOSED);
6844
+ }), delete n.sharedWebSockets[m], (0, l.getSubscribers)(m).forEach(function(s) {
6845
6845
  var c;
6846
- if (m.optionsRef.current.shouldReconnect && m.optionsRef.current.shouldReconnect(u)) {
6847
- var f = (c = m.optionsRef.current.reconnectAttempts) !== null && c !== void 0 ? c : t.DEFAULT_RECONNECT_LIMIT;
6848
- if (m.reconnectCount.current < f) {
6849
- var y = typeof m.optionsRef.current.reconnectInterval == "function" ? m.optionsRef.current.reconnectInterval(m.reconnectCount.current) : m.optionsRef.current.reconnectInterval;
6846
+ if (s.optionsRef.current.shouldReconnect && s.optionsRef.current.shouldReconnect(u)) {
6847
+ var f = (c = s.optionsRef.current.reconnectAttempts) !== null && c !== void 0 ? c : t.DEFAULT_RECONNECT_LIMIT;
6848
+ if (s.reconnectCount.current < f) {
6849
+ var y = typeof s.optionsRef.current.reconnectInterval == "function" ? s.optionsRef.current.reconnectInterval(s.reconnectCount.current) : s.optionsRef.current.reconnectInterval;
6850
6850
  setTimeout(function() {
6851
- m.reconnectCount.current++, m.reconnect.current();
6851
+ s.reconnectCount.current++, s.reconnect.current();
6852
6852
  }, y ?? t.DEFAULT_RECONNECT_INTERVAL_MS);
6853
6853
  } else
6854
- m.optionsRef.current.onReconnectStop && m.optionsRef.current.onReconnectStop(m.optionsRef.current.reconnectAttempts), console.warn("Max reconnect attempts of ".concat(f, " exceeded"));
6854
+ s.optionsRef.current.onReconnectStop && s.optionsRef.current.onReconnectStop(s.optionsRef.current.reconnectAttempts), console.warn("Max reconnect attempts of ".concat(f, " exceeded"));
6855
6855
  }
6856
6856
  });
6857
6857
  });
6858
- }, a = function(o, s) {
6858
+ }, a = function(o, m) {
6859
6859
  o.onerror = function(u) {
6860
- (0, l.getSubscribers)(s).forEach(function(m) {
6861
- m.optionsRef.current.onError && m.optionsRef.current.onError(u), t.isEventSourceSupported && o instanceof EventSource && (m.optionsRef.current.onClose && m.optionsRef.current.onClose(e(e({}, u), { code: 1006, reason: "An error occurred with the EventSource: ".concat(u), wasClean: !1 })), m.setReadyState(t.ReadyState.CLOSED));
6860
+ (0, l.getSubscribers)(m).forEach(function(s) {
6861
+ s.optionsRef.current.onError && s.optionsRef.current.onError(u), t.isEventSourceSupported && o instanceof EventSource && (s.optionsRef.current.onClose && s.optionsRef.current.onClose(e(e({}, u), { code: 1006, reason: "An error occurred with the EventSource: ".concat(u), wasClean: !1 })), s.setReadyState(t.ReadyState.CLOSED));
6862
6862
  }), t.isEventSourceSupported && o instanceof EventSource && o.close();
6863
6863
  };
6864
- }, i = function(o, s, u, m) {
6864
+ }, i = function(o, m, u, s) {
6865
6865
  var c;
6866
- return u.current.fromSocketIO && (c = (0, p.setUpSocketIOPing)(m)), b(o, s, u.current.heartbeat), r(o, s), d(o, s, u.current.heartbeat), a(o, s), function() {
6866
+ return u.current.fromSocketIO && (c = (0, p.setUpSocketIOPing)(s)), b(o, m, u.current.heartbeat), r(o, m), d(o, m, u.current.heartbeat), a(o, m), function() {
6867
6867
  c && clearInterval(c);
6868
6868
  };
6869
6869
  };
@@ -6877,16 +6877,16 @@ function vo() {
6877
6877
  return function() {
6878
6878
  if ((0, p.removeSubscriber)(d, r), !(0, p.hasSubscribers)(d)) {
6879
6879
  try {
6880
- var s = e.sharedWebSockets[d];
6881
- s instanceof WebSocket && (s.onclose = function(u) {
6880
+ var m = e.sharedWebSockets[d];
6881
+ m instanceof WebSocket && (m.onclose = function(u) {
6882
6882
  a.current.onClose && a.current.onClose(u), i(n.ReadyState.CLOSED);
6883
- }), s.close();
6883
+ }), m.close();
6884
6884
  } catch {
6885
6885
  }
6886
6886
  o && o(), delete e.sharedWebSockets[d];
6887
6887
  }
6888
6888
  };
6889
- }, b = function(d, r, a, i, o, s, u, m, c) {
6889
+ }, b = function(d, r, a, i, o, m, u, s, c) {
6890
6890
  if (!n.isEventSourceSupported && i.current.eventSourceOptions)
6891
6891
  throw n.isReactNative ? new Error("EventSource is not supported in ReactNative") : new Error("EventSource is not supported");
6892
6892
  if (i.current.share) {
@@ -6897,8 +6897,8 @@ function vo() {
6897
6897
  setReadyState: a,
6898
6898
  optionsRef: i,
6899
6899
  reconnectCount: u,
6900
- lastMessageTime: m,
6901
- reconnect: s
6900
+ lastMessageTime: s,
6901
+ reconnect: m
6902
6902
  };
6903
6903
  return (0, p.addSubscriber)(r, y), g(r, y, i, a, f);
6904
6904
  } else {
@@ -6907,7 +6907,7 @@ function vo() {
6907
6907
  return (0, t.attachListeners)(d.current, {
6908
6908
  setLastMessage: o,
6909
6909
  setReadyState: a
6910
- }, i, s.current, u, m, c);
6910
+ }, i, m.current, u, s, c);
6911
6911
  }
6912
6912
  };
6913
6913
  return qa.createOrJoinSocket = b, qa;
@@ -6916,28 +6916,28 @@ var ma = {}, Sn;
6916
6916
  function ho() {
6917
6917
  return Sn || (Sn = 1, (function(e) {
6918
6918
  var n = ma && ma.__awaiter || function(r, a, i, o) {
6919
- function s(u) {
6920
- return u instanceof i ? u : new i(function(m) {
6921
- m(u);
6919
+ function m(u) {
6920
+ return u instanceof i ? u : new i(function(s) {
6921
+ s(u);
6922
6922
  });
6923
6923
  }
6924
- return new (i || (i = Promise))(function(u, m) {
6924
+ return new (i || (i = Promise))(function(u, s) {
6925
6925
  function c(_) {
6926
6926
  try {
6927
6927
  y(o.next(_));
6928
6928
  } catch (U) {
6929
- m(U);
6929
+ s(U);
6930
6930
  }
6931
6931
  }
6932
6932
  function f(_) {
6933
6933
  try {
6934
6934
  y(o.throw(_));
6935
6935
  } catch (U) {
6936
- m(U);
6936
+ s(U);
6937
6937
  }
6938
6938
  }
6939
6939
  function y(_) {
6940
- _.done ? u(_.value) : s(_.value).then(c, f);
6940
+ _.done ? u(_.value) : m(_.value).then(c, f);
6941
6941
  }
6942
6942
  y((o = o.apply(r, a || [])).next());
6943
6943
  });
@@ -6945,10 +6945,10 @@ function ho() {
6945
6945
  var i = { label: 0, sent: function() {
6946
6946
  if (u[0] & 1) throw u[1];
6947
6947
  return u[1];
6948
- }, trys: [], ops: [] }, o, s, u, m = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
6949
- return m.next = c(0), m.throw = c(1), m.return = c(2), typeof Symbol == "function" && (m[Symbol.iterator] = function() {
6948
+ }, trys: [], ops: [] }, o, m, u, s = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
6949
+ return s.next = c(0), s.throw = c(1), s.return = c(2), typeof Symbol == "function" && (s[Symbol.iterator] = function() {
6950
6950
  return this;
6951
- }), m;
6951
+ }), s;
6952
6952
  function c(y) {
6953
6953
  return function(_) {
6954
6954
  return f([y, _]);
@@ -6956,9 +6956,9 @@ function ho() {
6956
6956
  }
6957
6957
  function f(y) {
6958
6958
  if (o) throw new TypeError("Generator is already executing.");
6959
- for (; m && (m = 0, y[0] && (i = 0)), i; ) try {
6960
- 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;
6961
- switch (s = 0, u && (y = [y[0] & 2, u.value]), y[0]) {
6959
+ for (; s && (s = 0, y[0] && (i = 0)), i; ) try {
6960
+ if (o = 1, m && (u = y[0] & 2 ? m.return : y[0] ? m.throw || ((u = m.return) && u.call(m), 0) : m.next) && !(u = u.call(m, y[1])).done) return u;
6961
+ switch (m = 0, u && (y = [y[0] & 2, u.value]), y[0]) {
6962
6962
  case 0:
6963
6963
  case 1:
6964
6964
  u = y;
@@ -6966,7 +6966,7 @@ function ho() {
6966
6966
  case 4:
6967
6967
  return i.label++, { value: y[1], done: !1 };
6968
6968
  case 5:
6969
- i.label++, s = y[1], y = [0];
6969
+ i.label++, m = y[1], y = [0];
6970
6970
  continue;
6971
6971
  case 7:
6972
6972
  y = i.ops.pop(), i.trys.pop();
@@ -6993,7 +6993,7 @@ function ho() {
6993
6993
  }
6994
6994
  y = a.call(r, i);
6995
6995
  } catch (_) {
6996
- y = [6, _], s = 0;
6996
+ y = [6, _], m = 0;
6997
6997
  } finally {
6998
6998
  o = u = 0;
6999
6999
  }
@@ -7001,7 +7001,7 @@ function ho() {
7001
7001
  return { value: y[0] ? y[1] : void 0, done: !0 };
7002
7002
  }
7003
7003
  }, l = ma && ma.__spreadArray || function(r, a, i) {
7004
- if (i || arguments.length === 2) for (var o = 0, s = a.length, u; o < s; o++)
7004
+ if (i || arguments.length === 2) for (var o = 0, m = a.length, u; o < m; o++)
7005
7005
  (u || !(o in a)) && (u || (u = Array.prototype.slice.call(a, 0, o)), u[o] = a[o]);
7006
7006
  return r.concat(u || Array.prototype.slice.call(a));
7007
7007
  };
@@ -7013,23 +7013,23 @@ function ho() {
7013
7013
  }, d = function(r, a) {
7014
7014
  for (var i = [], o = 2; o < arguments.length; o++)
7015
7015
  i[o - 2] = arguments[o];
7016
- return n(void 0, l([r, a], i, !0), void 0, function(s, u, m) {
7016
+ return n(void 0, l([r, a], i, !0), void 0, function(m, u, s) {
7017
7017
  var c, f, y, _, U, C, v, D;
7018
- return m === void 0 && (m = 0), t(this, function(E) {
7018
+ return s === void 0 && (s = 0), t(this, function(E) {
7019
7019
  switch (E.label) {
7020
7020
  case 0:
7021
- if (typeof s != "function") return [3, 10];
7021
+ if (typeof m != "function") return [3, 10];
7022
7022
  E.label = 1;
7023
7023
  case 1:
7024
- return E.trys.push([1, 3, , 9]), [4, s()];
7024
+ return E.trys.push([1, 3, , 9]), [4, m()];
7025
7025
  case 2:
7026
7026
  return c = E.sent(), [3, 9];
7027
7027
  case 3:
7028
- return E.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];
7028
+ return E.sent(), u.current.retryOnError ? (f = (C = u.current.reconnectAttempts) !== null && C !== void 0 ? C : g.DEFAULT_RECONNECT_LIMIT, s < f ? (y = typeof u.current.reconnectInterval == "function" ? u.current.reconnectInterval(s) : u.current.reconnectInterval, [4, b(y ?? g.DEFAULT_RECONNECT_INTERVAL_MS)]) : [3, 5]) : [3, 7];
7029
7029
  case 4:
7030
- return E.sent(), [2, (0, e.getUrl)(s, u, m + 1)];
7030
+ return E.sent(), [2, (0, e.getUrl)(m, u, s + 1)];
7031
7031
  case 5:
7032
- return (D = (v = u.current).onReconnectStop) === null || D === void 0 || D.call(v, m), [2, null];
7032
+ return (D = (v = u.current).onReconnectStop) === null || D === void 0 || D.call(v, s), [2, null];
7033
7033
  case 6:
7034
7034
  return [3, 8];
7035
7035
  case 7:
@@ -7039,7 +7039,7 @@ function ho() {
7039
7039
  case 9:
7040
7040
  return [3, 11];
7041
7041
  case 10:
7042
- c = s, E.label = 11;
7042
+ c = m, E.label = 11;
7043
7043
  case 11:
7044
7044
  return _ = u.current.fromSocketIO ? (0, p.parseSocketIOUrl)(c) : c, U = u.current.queryParams ? (0, p.appendQueryParams)(_, u.current.queryParams) : _, [2, U];
7045
7045
  }
@@ -7073,20 +7073,20 @@ function ki() {
7073
7073
  if (En) return Je;
7074
7074
  En = 1;
7075
7075
  var e = Je && Je.__assign || function() {
7076
- return e = Object.assign || function(s) {
7077
- for (var u, m = 1, c = arguments.length; m < c; m++) {
7078
- u = arguments[m];
7079
- for (var f in u) Object.prototype.hasOwnProperty.call(u, f) && (s[f] = u[f]);
7076
+ return e = Object.assign || function(m) {
7077
+ for (var u, s = 1, c = arguments.length; s < c; s++) {
7078
+ u = arguments[s];
7079
+ for (var f in u) Object.prototype.hasOwnProperty.call(u, f) && (m[f] = u[f]);
7080
7080
  }
7081
- return s;
7081
+ return m;
7082
7082
  }, e.apply(this, arguments);
7083
- }, n = Je && Je.__awaiter || function(s, u, m, c) {
7083
+ }, n = Je && Je.__awaiter || function(m, u, s, c) {
7084
7084
  function f(y) {
7085
- return y instanceof m ? y : new m(function(_) {
7085
+ return y instanceof s ? y : new s(function(_) {
7086
7086
  _(y);
7087
7087
  });
7088
7088
  }
7089
- return new (m || (m = Promise))(function(y, _) {
7089
+ return new (s || (s = Promise))(function(y, _) {
7090
7090
  function U(D) {
7091
7091
  try {
7092
7092
  v(c.next(D));
@@ -7104,10 +7104,10 @@ function ki() {
7104
7104
  function v(D) {
7105
7105
  D.done ? y(D.value) : f(D.value).then(U, C);
7106
7106
  }
7107
- v((c = c.apply(s, u || [])).next());
7107
+ v((c = c.apply(m, u || [])).next());
7108
7108
  });
7109
- }, t = Je && Je.__generator || function(s, u) {
7110
- var m = { label: 0, sent: function() {
7109
+ }, t = Je && Je.__generator || function(m, u) {
7110
+ var s = { label: 0, sent: function() {
7111
7111
  if (y[0] & 1) throw y[1];
7112
7112
  return y[1];
7113
7113
  }, trys: [], ops: [] }, c, f, y, _ = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
@@ -7121,7 +7121,7 @@ function ki() {
7121
7121
  }
7122
7122
  function C(v) {
7123
7123
  if (c) throw new TypeError("Generator is already executing.");
7124
- for (; _ && (_ = 0, v[0] && (m = 0)), m; ) try {
7124
+ for (; _ && (_ = 0, v[0] && (s = 0)), s; ) try {
7125
7125
  if (c = 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;
7126
7126
  switch (f = 0, y && (v = [v[0] & 2, y.value]), v[0]) {
7127
7127
  case 0:
@@ -7129,34 +7129,34 @@ function ki() {
7129
7129
  y = v;
7130
7130
  break;
7131
7131
  case 4:
7132
- return m.label++, { value: v[1], done: !1 };
7132
+ return s.label++, { value: v[1], done: !1 };
7133
7133
  case 5:
7134
- m.label++, f = v[1], v = [0];
7134
+ s.label++, f = v[1], v = [0];
7135
7135
  continue;
7136
7136
  case 7:
7137
- v = m.ops.pop(), m.trys.pop();
7137
+ v = s.ops.pop(), s.trys.pop();
7138
7138
  continue;
7139
7139
  default:
7140
- if (y = m.trys, !(y = y.length > 0 && y[y.length - 1]) && (v[0] === 6 || v[0] === 2)) {
7141
- m = 0;
7140
+ if (y = s.trys, !(y = y.length > 0 && y[y.length - 1]) && (v[0] === 6 || v[0] === 2)) {
7141
+ s = 0;
7142
7142
  continue;
7143
7143
  }
7144
7144
  if (v[0] === 3 && (!y || v[1] > y[0] && v[1] < y[3])) {
7145
- m.label = v[1];
7145
+ s.label = v[1];
7146
7146
  break;
7147
7147
  }
7148
- if (v[0] === 6 && m.label < y[1]) {
7149
- m.label = y[1], y = v;
7148
+ if (v[0] === 6 && s.label < y[1]) {
7149
+ s.label = y[1], y = v;
7150
7150
  break;
7151
7151
  }
7152
- if (y && m.label < y[2]) {
7153
- m.label = y[2], m.ops.push(v);
7152
+ if (y && s.label < y[2]) {
7153
+ s.label = y[2], s.ops.push(v);
7154
7154
  break;
7155
7155
  }
7156
- y[2] && m.ops.pop(), m.trys.pop();
7156
+ y[2] && s.ops.pop(), s.trys.pop();
7157
7157
  continue;
7158
7158
  }
7159
- v = u.call(s, m);
7159
+ v = u.call(m, s);
7160
7160
  } catch (D) {
7161
7161
  v = [6, D], f = 0;
7162
7162
  } finally {
@@ -7165,12 +7165,12 @@ function ki() {
7165
7165
  if (v[0] & 5) throw v[1];
7166
7166
  return { value: v[0] ? v[1] : void 0, done: !0 };
7167
7167
  }
7168
- }, l = Je && Je.__importDefault || function(s) {
7169
- return s && s.__esModule ? s : { default: s };
7168
+ }, l = Je && Je.__importDefault || function(m) {
7169
+ return m && m.__esModule ? m : { default: m };
7170
7170
  };
7171
7171
  Object.defineProperty(Je, "__esModule", { value: !0 }), Je.useWebSocket = void 0;
7172
- var p = de, g = Jl, b = ra(), d = vo(), r = ho(), a = l(To()), i = Ti(), o = function(s, u, m) {
7173
- u === void 0 && (u = b.DEFAULT_OPTIONS), m === void 0 && (m = !0);
7172
+ var p = de, g = Jl, b = ra(), d = vo(), r = ho(), a = l(To()), i = Ti(), o = function(m, u, s) {
7173
+ u === void 0 && (u = b.DEFAULT_OPTIONS), s === void 0 && (s = !0);
7174
7174
  var c = (0, p.useState)(null), f = c[0], y = c[1], _ = (0, p.useState)({}), U = _[0], C = _[1], v = (0, p.useMemo)(function() {
7175
7175
  if (!u.disableJson && f)
7176
7176
  try {
@@ -7182,7 +7182,7 @@ function ki() {
7182
7182
  }, [f, u.disableJson]), D = (0, p.useRef)(null), E = (0, p.useRef)(null), G = (0, p.useRef)(function() {
7183
7183
  }), O = (0, p.useRef)(0), k = (0, p.useRef)(Date.now()), h = (0, p.useRef)([]), F = (0, p.useRef)(null), A = (0, p.useRef)(u);
7184
7184
  A.current = u;
7185
- var w = D.current && U[D.current] !== void 0 ? U[D.current] : s !== null && m === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, R = u.queryParams ? JSON.stringify(u.queryParams) : null, P = (0, p.useCallback)(function(W, M) {
7185
+ var w = D.current && U[D.current] !== void 0 ? U[D.current] : m !== null && s === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, R = u.queryParams ? JSON.stringify(u.queryParams) : null, P = (0, p.useCallback)(function(W, M) {
7186
7186
  var S;
7187
7187
  if (M === void 0 && (M = !0), b.isEventSourceSupported && E.current instanceof EventSource) {
7188
7188
  console.warn("Unable to send a message from an eventSource");
@@ -7195,14 +7195,14 @@ function ki() {
7195
7195
  return A.current.share !== !0 || b.isEventSourceSupported && E.current instanceof EventSource ? E.current : (F.current === null && E.current && ((0, i.assertIsWebSocket)(E.current, A.current.skipAssert), F.current = (0, a.default)(E.current, G)), F.current);
7196
7196
  }, []);
7197
7197
  return (0, p.useEffect)(function() {
7198
- if (s !== null && m === !0) {
7198
+ if (m !== null && s === !0) {
7199
7199
  var W, M = !1, S = !0, x = function() {
7200
7200
  return n(void 0, void 0, void 0, function() {
7201
7201
  var L, N, Z;
7202
7202
  return t(this, function(q) {
7203
7203
  switch (q.label) {
7204
7204
  case 0:
7205
- return L = D, [4, (0, r.getUrl)(s, A)];
7205
+ return L = D, [4, (0, r.getUrl)(m, A)];
7206
7206
  case 1:
7207
7207
  return L.current = q.sent(), D.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), D.current = "ABORTED", (0, g.flushSync)(function() {
7208
7208
  return C(function(Q) {
@@ -7235,11 +7235,11 @@ function ki() {
7235
7235
  }, x(), function() {
7236
7236
  M = !0, S = !1, F.current && (F.current = null), W?.(), y(null);
7237
7237
  };
7238
- } else (s === null || m === !1) && (O.current = 0, C(function(L) {
7238
+ } else (m === null || s === !1) && (O.current = 0, C(function(L) {
7239
7239
  var N;
7240
7240
  return e(e({}, L), D.current && (N = {}, N[D.current] = b.ReadyState.CLOSED, N));
7241
7241
  }));
7242
- }, [s, m, R, P]), (0, p.useEffect)(function() {
7242
+ }, [m, s, R, P]), (0, p.useEffect)(function() {
7243
7243
  w === b.ReadyState.OPEN && h.current.splice(0).forEach(function(W) {
7244
7244
  P(W);
7245
7245
  });
@@ -7286,11 +7286,11 @@ function ko() {
7286
7286
  r === void 0 && (r = l.DEFAULT_OPTIONS), a === void 0 && (a = !0);
7287
7287
  var i = (0, n.useMemo)(function() {
7288
7288
  return e(e({}, r), { fromSocketIO: !0 });
7289
- }, []), o = (0, t.useWebSocket)(d, i, a), s = o.sendMessage, u = o.sendJsonMessage, m = o.lastMessage, c = o.readyState, f = o.getWebSocket, y = (0, n.useMemo)(function() {
7290
- return g(m);
7291
- }, [m]);
7289
+ }, []), o = (0, t.useWebSocket)(d, i, a), m = o.sendMessage, u = o.sendJsonMessage, s = o.lastMessage, c = o.readyState, f = o.getWebSocket, y = (0, n.useMemo)(function() {
7290
+ return g(s);
7291
+ }, [s]);
7292
7292
  return {
7293
- sendMessage: s,
7293
+ sendMessage: m,
7294
7294
  sendJsonMessage: u,
7295
7295
  lastMessage: y,
7296
7296
  lastJsonMessage: y,
@@ -7325,11 +7325,11 @@ function xo() {
7325
7325
  d === void 0 && (d = p.DEFAULT_EVENT_SOURCE_OPTIONS);
7326
7326
  var a = d.withCredentials, i = d.events, o = n(d, ["withCredentials", "events"]);
7327
7327
  r === void 0 && (r = !0);
7328
- var s = e(e({}, o), { eventSourceOptions: {
7328
+ var m = e(e({}, o), { eventSourceOptions: {
7329
7329
  withCredentials: a
7330
7330
  } }), u = (0, t.useRef)(p.EMPTY_EVENT_HANDLERS);
7331
7331
  i && (u.current = i);
7332
- var m = (0, l.useWebSocket)(b, s, r), c = m.lastMessage, f = m.readyState, y = m.getWebSocket;
7332
+ var s = (0, l.useWebSocket)(b, m, r), c = s.lastMessage, f = s.readyState, y = s.getWebSocket;
7333
7333
  return (0, t.useEffect)(function() {
7334
7334
  c?.type && Object.entries(u.current).forEach(function(_) {
7335
7335
  var U = _[0], C = _[1];
@@ -7377,13 +7377,13 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7377
7377
  isInGameBox: l = !1,
7378
7378
  currentGamePlatform: p = ""
7379
7379
  }) => {
7380
- const { store: g, lng: b } = me(), { isReady: d, setAsReady: r, isPending: a, setAsPending: i } = Jn(), o = Qe(b), { mutateAsync: s } = Ho();
7380
+ const { store: g, lng: b } = se(), { isReady: d, setAsReady: r, isPending: a, setAsPending: i } = Jn(), o = Qe(b), { mutateAsync: m } = Ho();
7381
7381
  return !e || !n || !t ? { handleTransferInGame: () => {
7382
7382
  } } : { handleTransferInGame: async () => {
7383
- console.log("執行遊戲內轉帳"), l && await s({
7383
+ console.log("執行遊戲內轉帳"), l && await m({
7384
7384
  platform: p
7385
- }).then((m) => {
7386
- const { code: c, request_id: f } = m;
7385
+ }).then((s) => {
7386
+ const { code: c, request_id: f } = s;
7387
7387
  switch (c) {
7388
7388
  case 200:
7389
7389
  r(), g.dispatch({
@@ -7417,7 +7417,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7417
7417
  });
7418
7418
  } };
7419
7419
  }, Ha = () => {
7420
- const { client: e } = me(), n = I(async () => {
7420
+ const { client: e } = se(), n = I(async () => {
7421
7421
  const { data: d } = await e.get("/carousels");
7422
7422
  return d;
7423
7423
  }, [e]), t = I(async () => await e.get("/marquees"), [e]), l = I(async () => await e.get("/notification"), [e]), p = I(
@@ -7509,7 +7509,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7509
7509
  ...e
7510
7510
  });
7511
7511
  }, Oo = ({ paramsData: e, options: n } = {}) => {
7512
- const { userRebateApi: t } = oe(), { getToken: l } = me();
7512
+ const { userRebateApi: t } = oe(), { getToken: l } = se();
7513
7513
  return l?.(), j({
7514
7514
  queryKey: ["userRebate", e],
7515
7515
  queryFn: async () => t({ paramsData: e }),
@@ -7532,7 +7532,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7532
7532
  ...e
7533
7533
  });
7534
7534
  }, Dm = ({ options: e } = {}) => {
7535
- const { currency: n } = me(), { pointTransferApi: t } = oe();
7535
+ const { currency: n } = se(), { pointTransferApi: t } = oe();
7536
7536
  return le({
7537
7537
  mutationKey: ["pointTransfer"],
7538
7538
  mutationFn: async (l) => t({
@@ -7542,7 +7542,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7542
7542
  ...e
7543
7543
  });
7544
7544
  }, Em = ({ options: e } = {}) => {
7545
- const { currency: n } = me(), { checkUserWagerApi: t } = oe();
7545
+ const { currency: n } = se(), { checkUserWagerApi: t } = oe();
7546
7546
  return j({
7547
7547
  queryKey: ["checkUserWager"],
7548
7548
  queryFn: async () => t(),
@@ -7588,7 +7588,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7588
7588
  ...e
7589
7589
  });
7590
7590
  }, Lm = ({ options: e } = {}) => {
7591
- const { currency: n } = me(), { memberTransferApi: t } = oe();
7591
+ const { currency: n } = se(), { memberTransferApi: t } = oe();
7592
7592
  return le({
7593
7593
  mutationKey: ["memberTransfer"],
7594
7594
  mutationFn: async (l) => t({ ...l, currency: n }),
@@ -7728,7 +7728,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7728
7728
  userRebate: a,
7729
7729
  userBindCard: i
7730
7730
  };
7731
- }, Ie = {
7731
+ }, ze = {
7732
7732
  DEPOSIT: "deposit",
7733
7733
  TRANS_CODE: "transCode",
7734
7734
  ERROR: "error",
@@ -7756,7 +7756,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7756
7756
  enableNotification: g = !1,
7757
7757
  disabledLineAutoRegister: b = !1
7758
7758
  }) => {
7759
- const { store: d, lng: r } = me(), a = fi(), { isReady: i, setAsReady: o, isPending: s, setAsPending: u } = Jn(), m = Qe(r), c = ee(!1), f = ee(n), y = re(l, "uid", null);
7759
+ const { store: d, lng: r } = se(), a = fi(), { isReady: i, setAsReady: o, isPending: m, setAsPending: u } = Jn(), s = Qe(r), c = ee(!1), f = ee(n), y = re(l, "uid", null);
7760
7760
  re(l, "testFunction", 0);
7761
7761
  const _ = new URLSearchParams(window.location.search), U = re(
7762
7762
  p,
@@ -7821,14 +7821,14 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7821
7821
  g && d.dispatch({
7822
7822
  type: "ui/openNotificationModal",
7823
7823
  payload: {
7824
- title: ja[m] || "System Prompt",
7824
+ title: ja[s] || "System Prompt",
7825
7825
  content: w,
7826
7826
  type: "warning",
7827
7827
  props: R
7828
7828
  }
7829
7829
  });
7830
7830
  },
7831
- [g, d, m]
7831
+ [g, d, s]
7832
7832
  );
7833
7833
  ge(() => {
7834
7834
  f.current = n;
@@ -7856,67 +7856,60 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7856
7856
  limitAmount: re(h, "limit_amount", null)
7857
7857
  }, Z = Number(N.memberInfoUid) === y, q = N.data, Q = N.amount, K = N.limitAmount, ae = _.get("mac") || mi.get("machine_mac_address") || "", ie = re(h, "data.line_id", null), ye = re(h, "data.line_name", null), Ue = re(h, "member_info_uid", null);
7858
7858
  switch (L) {
7859
- case Ie.DEPOSIT:
7859
+ case ze.DEPOSIT:
7860
7860
  Z && (D(), w?.(N));
7861
7861
  break;
7862
- case Ie.TRANS_CODE:
7862
+ case ze.TRANS_CODE:
7863
7863
  R?.(N);
7864
7864
  break;
7865
- case Ie.ERROR:
7865
+ case ze.ERROR:
7866
7866
  if (Z) {
7867
- const se = re(h, "open_game_modal", 0) === 1;
7867
+ const me = re(h, "open_game_modal", 0) === 1;
7868
7868
  F(q, {
7869
- notificationType: se ? "gamingNotice" : void 0
7869
+ notificationType: me ? "gamingNotice" : void 0
7870
7870
  }), P?.(N);
7871
7871
  }
7872
7872
  break;
7873
- case Ie.UPDATE_MEMBER:
7873
+ case ze.UPDATE_MEMBER:
7874
7874
  y && (a.invalidateQueries({
7875
7875
  queryKey: ["getMemberInfo"]
7876
7876
  }), H?.(N));
7877
7877
  break;
7878
- case Ie.MAINTAIN_NOTICE:
7878
+ case ze.MAINTAIN_NOTICE:
7879
7879
  F(q, {
7880
7880
  notificationType: "maintainNotice"
7881
7881
  }), B?.(N);
7882
7882
  break;
7883
- case Ie.MAINTAIN_NOTICE_MEMBER:
7883
+ case ze.MAINTAIN_NOTICE_MEMBER:
7884
7884
  Z && (F(q), W?.(N), setTimeout(() => {
7885
7885
  window.location.reload();
7886
7886
  }, 5e4));
7887
7887
  break;
7888
- case Ie.RELOAD:
7888
+ case ze.RELOAD:
7889
7889
  window.location.reload();
7890
7890
  break;
7891
- case Ie.TRANSFER_IN_GAME:
7892
- case Ie.CHECK_REQUEST:
7893
- if (console.log(Z, U, "isForMember之前"), Z && U) {
7894
- const { request_id: se, amount: ce, platform: ke, status: fe } = re(
7891
+ case ze.TRANSFER_IN_GAME:
7892
+ case ze.CHECK_REQUEST:
7893
+ if (Z && U) {
7894
+ const { request_id: me, amount: ce, platform: ke, status: fe } = re(
7895
7895
  N,
7896
7896
  "data",
7897
7897
  {}
7898
- ), He = localStorage.getItem(
7898
+ ), Ie = localStorage.getItem(
7899
7899
  "transfer_in_game_request_id"
7900
7900
  );
7901
- if (console.log(
7902
- se,
7903
- ce,
7904
- ke,
7905
- fe,
7906
- "request_id",
7907
- s
7908
- ), s) {
7909
- localStorage.setItem("transfer_in_game_request_id", se);
7901
+ if (fe === "pending") {
7902
+ localStorage.setItem("transfer_in_game_request_id", me);
7910
7903
  return;
7911
- } else if (console.log(He, se, "currentRequestId"), He && He === se) {
7904
+ } else if (Ie && Ie === me) {
7912
7905
  if (fe === "rollback") {
7913
- console.log("rollback"), D();
7906
+ D();
7914
7907
  return;
7915
7908
  }
7916
7909
  localStorage.removeItem("transfer_in_game_request_id"), o(), d.dispatch({
7917
7910
  type: "ui/showToast",
7918
7911
  payload: {
7919
- title: ja[m] || "System Prompt",
7912
+ title: ja[s] || "System Prompt",
7920
7913
  description: `您於${ke}存入的${ce}元已經處理完成了,請確認遊戲餘額`,
7921
7914
  status: "success"
7922
7915
  }
@@ -7925,24 +7918,24 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7925
7918
  M?.(N);
7926
7919
  }
7927
7920
  break;
7928
- case Ie.CASH_REGISTER_LIMIT:
7921
+ case ze.CASH_REGISTER_LIMIT:
7929
7922
  F(q, {
7930
7923
  notificationType: "cashRegisterLimit",
7931
7924
  amount: Q,
7932
7925
  limitAmount: K
7933
7926
  }), S?.(N);
7934
7927
  break;
7935
- case Ie.UPDATE_ONLY_ONE_MEMBER:
7928
+ case ze.UPDATE_ONLY_ONE_MEMBER:
7936
7929
  Z && (a.invalidateQueries({
7937
7930
  queryKey: ["getMemberInfo"]
7938
7931
  }), H?.(N));
7939
7932
  break;
7940
- case Ie.GAME_MAINTAIN:
7933
+ case ze.GAME_MAINTAIN:
7941
7934
  F(q, {
7942
7935
  notificationType: "gameMaintain"
7943
7936
  });
7944
7937
  break;
7945
- case Ie.LINE_LOGIN:
7938
+ case ze.LINE_LOGIN:
7946
7939
  Ue === ae && C({
7947
7940
  line_id: ie,
7948
7941
  line_name: ye
@@ -7957,9 +7950,9 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7957
7950
  y,
7958
7951
  d,
7959
7952
  a,
7960
- m,
7961
- F,
7962
7953
  s,
7954
+ F,
7955
+ m,
7963
7956
  D,
7964
7957
  U,
7965
7958
  o,
@@ -7970,20 +7963,20 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7970
7963
  const w = localStorage.getItem(
7971
7964
  "transfer_in_game_request_id"
7972
7965
  );
7973
- w && y && s && G({
7974
- type: Ie.CHECK_REQUEST,
7966
+ w && y && m && G({
7967
+ type: ze.CHECK_REQUEST,
7975
7968
  request_id: w,
7976
7969
  member_info_uid: y
7977
7970
  });
7978
7971
  }
7979
- }, [y, s, G, U]), {
7972
+ }, [y, m, G, U]), {
7980
7973
  sendMessage: E,
7981
7974
  sendJsonMessage: G,
7982
7975
  readyState: k
7983
7976
  // WebSocket 連線狀態
7984
7977
  };
7985
7978
  }, Ya = () => {
7986
- const { client: e } = me(), n = I(
7979
+ const { client: e } = se(), n = I(
7987
7980
  async ({ paramsData: b } = {}) => {
7988
7981
  const { uid: d } = b || {};
7989
7982
  return await e.get(`/event/list${d ? `/${d}` : ""}`);
@@ -8026,17 +8019,17 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8026
8019
  settleEventApi: g
8027
8020
  };
8028
8021
  }, Jo = ({ paramsData: e, options: n } = {}) => {
8029
- const { store: t, lng: l, data2URL: p } = me(), { eventListApi: g } = Ya(), b = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", d = Qe(l);
8022
+ const { store: t, lng: l, data2URL: p } = se(), { eventListApi: g } = Ya(), b = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", d = Qe(l);
8030
8023
  return j({
8031
8024
  queryKey: ["eventList", e],
8032
8025
  queryFn: () => g({ paramsData: e }),
8033
8026
  select: (r) => {
8034
8027
  const { data: a } = r;
8035
8028
  return Be(a, (o) => {
8036
- const { events_attributes: s } = o, u = $e(
8037
- s,
8029
+ const { events_attributes: m } = o, u = $e(
8030
+ m,
8038
8031
  (v) => v.attribute_currency === b
8039
- ) || s[0], m = re(u, "rewards", {}), c = re(o, "carousels.[0]", {}), f = $e(c.carousels_lang, (v) => v.lang === d) || c?.carousels_lang?.[0], y = {
8032
+ ) || m[0], s = re(u, "rewards", {}), c = re(o, "carousels.[0]", {}), f = $e(c.carousels_lang, (v) => v.lang === d) || c?.carousels_lang?.[0], y = {
8040
8033
  ...c,
8041
8034
  currentLngCarousel: {
8042
8035
  ...f,
@@ -8105,31 +8098,31 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8105
8098
  eventUid: u.event_uid
8106
8099
  //活動UID
8107
8100
  }, C = {
8108
- baseValue: m.base_value,
8101
+ baseValue: s.base_value,
8109
8102
  //基礎數值
8110
- enableRewardsLimit: m.enable_rewards_limit === 1,
8103
+ enableRewardsLimit: s.enable_rewards_limit === 1,
8111
8104
  //是否啟用獎勵限制
8112
- enableAmountLimit: m.enable_amounts_limit === 1,
8105
+ enableAmountLimit: s.enable_amounts_limit === 1,
8113
8106
  //是否啟用金額限制
8114
- limitAmount: m.limit_amounts,
8107
+ limitAmount: s.limit_amounts,
8115
8108
  //限制金額
8116
- enableTimesLimit: m.enable_times_limit === 1,
8109
+ enableTimesLimit: s.enable_times_limit === 1,
8117
8110
  //是否啟用次數限制
8118
- limitTimes: m.limit_times,
8111
+ limitTimes: s.limit_times,
8119
8112
  //限制次數
8120
- enableWageringLimit: m.enable_wagering_limit === 1,
8113
+ enableWageringLimit: s.enable_wagering_limit === 1,
8121
8114
  //是否啟用投注限制
8122
- wageringLimitType: m.wagering_limit_type,
8115
+ wageringLimitType: s.wagering_limit_type,
8123
8116
  //投注限制類型
8124
- wageringLimitValue: m.wagering_limit_value,
8117
+ wageringLimitValue: s.wagering_limit_value,
8125
8118
  //投注限制數值
8126
- expirationDays: m.expiration_days,
8119
+ expirationDays: s.expiration_days,
8127
8120
  //獎勵過期天數
8128
- rewardName: m.name,
8121
+ rewardName: s.name,
8129
8122
  //獎勵名稱
8130
- rewardUid: m.uid,
8123
+ rewardUid: s.uid,
8131
8124
  //獎勵UID
8132
- rewardType: m.type
8125
+ rewardType: s.type
8133
8126
  //獎勵類型
8134
8127
  };
8135
8128
  return {
@@ -8189,7 +8182,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8189
8182
  checkEventStatusQuery: l
8190
8183
  };
8191
8184
  }, Km = ({ skipPreload: e = !1 } = {}) => {
8192
- const { lng: n, data2URL: t } = me(), { commonCarouselApi: l } = Ha(), p = Qe(n);
8185
+ const { lng: n, data2URL: t } = se(), { commonCarouselApi: l } = Ha(), p = Qe(n);
8193
8186
  return j({
8194
8187
  queryKey: ["getCarouselList", e],
8195
8188
  queryFn: async () => {
@@ -8217,7 +8210,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8217
8210
  })
8218
8211
  });
8219
8212
  }, qm = () => {
8220
- const { lng: e } = me(), { commonMarqueeApi: n } = Ha(), t = Qe(e);
8213
+ const { lng: e } = se(), { commonMarqueeApi: n } = Ha(), t = Qe(e);
8221
8214
  return j({
8222
8215
  queryKey: ["getMarqueeList"],
8223
8216
  queryFn: async () => {
@@ -8245,7 +8238,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8245
8238
  game_platform_uid: a,
8246
8239
  memId: i,
8247
8240
  platform: o,
8248
- popularity_ranking: s,
8241
+ popularity_ranking: m,
8249
8242
  profit: u
8250
8243
  } = g;
8251
8244
  return {
@@ -8261,7 +8254,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8261
8254
  //會員ID
8262
8255
  platform: o,
8263
8256
  //平台
8264
- popularityRanking: s,
8257
+ popularityRanking: m,
8265
8258
  //人氣排名
8266
8259
  profit: u
8267
8260
  //winloss
@@ -8279,17 +8272,17 @@ var qo = Object.create, nl = Object.defineProperty, $o = Object.getOwnPropertyDe
8279
8272
  typeof e == "object" && typeof n < "u" ? l(e) : typeof define == "function" && define.amd ? define(["exports"], l) : (t = typeof globalThis < "u" ? globalThis : t || self, l(t.fastUniqueNumbers = {}));
8280
8273
  })(e, function(t) {
8281
8274
  var l = function(u) {
8282
- return function(m) {
8283
- var c = u(m);
8284
- return m.add(c), c;
8275
+ return function(s) {
8276
+ var c = u(s);
8277
+ return s.add(c), c;
8285
8278
  };
8286
8279
  }, p = function(u) {
8287
- return function(m, c) {
8288
- return u.set(m, c), c;
8280
+ return function(s, c) {
8281
+ return u.set(s, c), c;
8289
8282
  };
8290
- }, g = Number.MAX_SAFE_INTEGER === void 0 ? 9007199254740991 : Number.MAX_SAFE_INTEGER, b = 536870912, d = b * 2, r = function(u, m) {
8283
+ }, g = Number.MAX_SAFE_INTEGER === void 0 ? 9007199254740991 : Number.MAX_SAFE_INTEGER, b = 536870912, d = b * 2, r = function(u, s) {
8291
8284
  return function(c) {
8292
- var f = m.get(c), y = f === void 0 ? c.size : f < d ? f + 1 : 0;
8285
+ var f = s.get(c), y = f === void 0 ? c.size : f < d ? f + 1 : 0;
8293
8286
  if (!c.has(y)) return u(c, y);
8294
8287
  if (c.size < b) {
8295
8288
  for (; c.has(y); ) y = Math.floor(Math.random() * d);
@@ -8299,8 +8292,8 @@ var qo = Object.create, nl = Object.defineProperty, $o = Object.getOwnPropertyDe
8299
8292
  for (; c.has(y); ) y = Math.floor(Math.random() * g);
8300
8293
  return u(c, y);
8301
8294
  };
8302
- }, a = /* @__PURE__ */ new WeakMap(), i = p(a), o = r(i, a), s = l(o);
8303
- t.addUniqueNumber = s, t.generateUniqueNumber = o;
8295
+ }, a = /* @__PURE__ */ new WeakMap(), i = p(a), o = r(i, a), m = l(o);
8296
+ t.addUniqueNumber = m, t.generateUniqueNumber = o;
8304
8297
  });
8305
8298
  });
8306
8299
  as(ts());
@@ -8570,8 +8563,8 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8570
8563
  }, onIdle: a = () => {
8571
8564
  }, onActive: i = () => {
8572
8565
  }, onAction: o = () => {
8573
- }, onMessage: s = () => {
8574
- }, debounce: u = 0, throttle: m = 0, eventsThrottle: c = 200, startOnMount: f = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: U = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: D = !1, disabled: E = !1 } = {}) {
8566
+ }, onMessage: m = () => {
8567
+ }, debounce: u = 0, throttle: s = 0, eventsThrottle: c = 200, startOnMount: f = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: U = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: D = !1, disabled: E = !1 } = {}) {
8575
8568
  let G = ee(Te()), O = ee(Te()), k = ee(null), h = ee(null), F = ee(0), A = ee(0), w = ee(0), R = ee(0), P = ee(!1), H = ee(!1), B = ee(!1), W = ee(!0), M = ee(!1), S = ee(null), x = ee(null), L = ee(e), N = ee(0);
8576
8569
  ge(() => {
8577
8570
  if (n && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), t && n) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
@@ -8581,7 +8574,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8581
8574
  if (t >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
8582
8575
  if (t ? (L.current = e - t, N.current = t) : (L.current = e, N.current = n), !W.current) {
8583
8576
  if (y || E) return;
8584
- P.current && (se.current(null, Se), x.current && x.current.active()), je();
8577
+ P.current && (me.current(null, Se), x.current && x.current.active()), je();
8585
8578
  }
8586
8579
  }, [e, n, t, y, E]);
8587
8580
  let Z = ee(_);
@@ -8604,38 +8597,38 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8604
8597
  ge(() => {
8605
8598
  Ue.current = a;
8606
8599
  }, [a]);
8607
- let se = ee(i);
8600
+ let me = ee(i);
8608
8601
  ge(() => {
8609
- se.current = i;
8602
+ me.current = i;
8610
8603
  }, [i]);
8611
8604
  let ce = ee(o);
8612
8605
  ge(() => {
8613
8606
  ce.current = o;
8614
8607
  }, [o]);
8615
- let ke = ee(s);
8608
+ let ke = ee(m);
8616
8609
  ge(() => {
8617
- ke.current = s;
8618
- }, [s]);
8610
+ ke.current = m;
8611
+ }, [m]);
8619
8612
  let fe = Oa(() => {
8620
8613
  let V = (De, ia) => ce.current(De, ia);
8621
- return u > 0 ? ps(V, u) : m > 0 ? ri(V, m) : V;
8622
- }, [m, u]), He = ee();
8614
+ return u > 0 ? ps(V, u) : s > 0 ? ri(V, s) : V;
8615
+ }, [s, u]), Ie = ee();
8623
8616
  ge(() => {
8624
- U && v && (He.current = ri(() => {
8617
+ U && v && (Ie.current = ri(() => {
8625
8618
  x.current.active();
8626
8619
  }, v));
8627
8620
  }, [U, v]);
8628
8621
  let Ce = () => {
8629
8622
  S.current !== null && (Xe.clearTimeout(S.current), S.current = null);
8630
8623
  }, Ge = (V, De = !0) => {
8631
- Ce(), S.current = Xe.setTimeout(We, V || L.current), De && (h.current = Te());
8624
+ Ce(), S.current = Xe.setTimeout(He, V || L.current), De && (h.current = Te());
8632
8625
  }, ea = (V) => {
8633
8626
  !H.current && !P.current && (ye.current(V, Se), ie.current({ type: "active", prompted: !0 }, Se)), R.current = 0, w.current = Te(), H.current = !0, Ge(N.current, !1);
8634
8627
  }, Me = () => {
8635
8628
  Ce(), P.current || (Ue.current(null, Se), ie.current({ type: "idle" }, Se)), P.current = !0, k.current = Te(), Z.current ? Re() : H.current && (w.current = 0, H.current = !1);
8636
8629
  }, ve = (V) => {
8637
- Ce(), (P.current || H.current) && (se.current(V, Se), ie.current({ type: "active", prompted: !1 }, Se)), H.current = !1, w.current = 0, P.current = !1, F.current += Te() - k.current, A.current += Te() - k.current, xe(), Ge();
8638
- }, We = (V) => {
8630
+ Ce(), (P.current || H.current) && (me.current(V, Se), ie.current({ type: "active", prompted: !1 }, Se)), H.current = !1, w.current = 0, P.current = !1, F.current += Te() - k.current, A.current += Te() - k.current, xe(), Ge();
8631
+ }, He = (V) => {
8639
8632
  if (!P.current) {
8640
8633
  fe.cancel && fe.cancel();
8641
8634
  let De = Te() - h.current;
@@ -8648,22 +8641,22 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8648
8641
  }
8649
8642
  x.current ? x.current.active() : ve(V);
8650
8643
  }, aa = (V) => {
8651
- if (!f && !h.current && (h.current = Te(), se.current(null, Se)), fe(V, Se), H.current) return;
8644
+ if (!f && !h.current && (h.current = Te(), me.current(null, Se)), fe(V, Se), H.current) return;
8652
8645
  if (Ce(), !P.current && q.current.includes(V.type)) {
8653
- We(V);
8646
+ He(V);
8654
8647
  return;
8655
8648
  }
8656
8649
  let De = Te() - h.current;
8657
8650
  if (P.current && !_ || !P.current && De >= L.current) {
8658
- We(V);
8651
+ He(V);
8659
8652
  return;
8660
8653
  }
8661
- B.current = !1, R.current = 0, w.current = 0, Ge(), U && v && He.current();
8654
+ B.current = !1, R.current = 0, w.current = 0, Ge(), U && v && Ie.current();
8662
8655
  }, ta = ee(aa);
8663
8656
  ge(() => {
8664
8657
  let V = M.current;
8665
8658
  V && Re(), c > 0 ? ta.current = ri(aa, c) : ta.current = aa, V && xe();
8666
- }, [c, m, u, ce, U, v]);
8659
+ }, [c, s, u, ce, U, v]);
8667
8660
  let xe = () => {
8668
8661
  pa && Q.current && (M.current || (K.current.forEach((V) => {
8669
8662
  Q.current.addEventListener(V, ta.current, { capture: !0, passive: !0 });
@@ -8672,7 +8665,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8672
8665
  pa && Q.current && (M.current || V) && (K.current.forEach((De) => {
8673
8666
  Q.current.removeEventListener(De, ta.current, { capture: !0 });
8674
8667
  }), M.current = !1);
8675
- }, je = I((V) => ae.current ? !1 : (Ce(), xe(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.start(), Ge(), !0), [S, P, ae, L, x]), oa = I((V) => ae.current ? !1 : (Ce(), xe(), O.current = Te(), F.current += Te() - k.current, A.current += Te() - k.current, F.current = 0, P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.reset(), y || Ge(), !0), [S, P, L, y, ae, x]), ga = I((V) => ae.current ? !1 : (Ce(), xe(), (P.current || H.current) && ve(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, O.current = Te(), x.current && !V && x.current.activate(), Ge(), !0), [S, P, H, ae, L, x]), Ve = I((V = !1) => ae.current || B.current ? !1 : (R.current = ya(), B.current = !0, Re(), Ce(), x.current && !V && x.current.pause(), !0), [S, ae, x]), Ye = I((V = !1) => ae.current || !B.current ? !1 : (B.current = !1, H.current || xe(), P.current || Ge(R.current), w.current && (w.current = Te()), x.current && !V && x.current.resume(), !0), [S, L, ae, R, x]), za = I((V, De) => (x.current ? (De && ke.current(V, Se), x.current.message(V)) : De && ke.current(V, Se), !0), [s]), Da = I(() => P.current, [P]), Ea = I(() => H.current, [H]), Ia = I(() => x.current ? x.current.isLeader : null, [x]), Va = I(() => x.current ? x.current.isLastActive : null, [x]), da = I(() => x.current ? x.current.token : null, [x]), ya = I(() => {
8668
+ }, je = I((V) => ae.current ? !1 : (Ce(), xe(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.start(), Ge(), !0), [S, P, ae, L, x]), oa = I((V) => ae.current ? !1 : (Ce(), xe(), O.current = Te(), F.current += Te() - k.current, A.current += Te() - k.current, F.current = 0, P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.reset(), y || Ge(), !0), [S, P, L, y, ae, x]), ga = I((V) => ae.current ? !1 : (Ce(), xe(), (P.current || H.current) && ve(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, O.current = Te(), x.current && !V && x.current.activate(), Ge(), !0), [S, P, H, ae, L, x]), Ve = I((V = !1) => ae.current || B.current ? !1 : (R.current = ya(), B.current = !0, Re(), Ce(), x.current && !V && x.current.pause(), !0), [S, ae, x]), Ye = I((V = !1) => ae.current || !B.current ? !1 : (B.current = !1, H.current || xe(), P.current || Ge(R.current), w.current && (w.current = Te()), x.current && !V && x.current.resume(), !0), [S, L, ae, R, x]), za = I((V, De) => (x.current ? (De && ke.current(V, Se), x.current.message(V)) : De && ke.current(V, Se), !0), [m]), Da = I(() => P.current, [P]), Ea = I(() => H.current, [H]), Ia = I(() => x.current ? x.current.isLeader : null, [x]), Va = I(() => x.current ? x.current.isLastActive : null, [x]), da = I(() => x.current ? x.current.token : null, [x]), ya = I(() => {
8676
8669
  if (B.current) return R.current;
8677
8670
  let V = R.current ? R.current : N.current + L.current, De = h.current ? Te() - h.current : 0, ia = Math.floor(V - De);
8678
8671
  return ia < 0 ? 0 : Math.abs(ia);
@@ -8684,7 +8677,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8684
8677
  return V >= 0 ? V : 0;
8685
8678
  }, [k, F]);
8686
8679
  ge(() => {
8687
- if (u > 0 && m > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
8680
+ if (u > 0 && s > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
8688
8681
  g && is(g);
8689
8682
  let V = () => {
8690
8683
  x.current && x.current.close(), fe.cancel && fe.cancel(), Ce(), Re(!0);
@@ -8702,7 +8695,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8702
8695
  }, onMessage: (V) => {
8703
8696
  ke.current(V, Se);
8704
8697
  }, start: je, reset: oa, activate: ga, pause: Ve, resume: Ye }) : x.current = null;
8705
- }, [U, C, D, ye, Ue, se, ke, je, oa, Ve, Ye]), ge(() => {
8698
+ }, [U, C, D, ye, Ue, me, ke, je, oa, Ve, Ye]), ge(() => {
8706
8699
  W.current || (Ce(), Re(!0)), !(y || E) && (f ? je() : xe());
8707
8700
  }, [y, f, E, W]), ge(() => {
8708
8701
  if (!W.current) {
@@ -8720,11 +8713,11 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8720
8713
  }, setOnIdle: (V) => {
8721
8714
  a = V, Ue.current = V;
8722
8715
  }, setOnActive: (V) => {
8723
- i = V, se.current = V;
8716
+ i = V, me.current = V;
8724
8717
  }, setOnAction: (V) => {
8725
8718
  o = V, ce.current = V;
8726
8719
  }, setOnMessage: (V) => {
8727
- s = V, ke.current = V;
8720
+ m = V, ke.current = V;
8728
8721
  } };
8729
8722
  return Se;
8730
8723
  }
@@ -8737,7 +8730,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8737
8730
  timeout: l,
8738
8731
  throttle: 500
8739
8732
  }), cs = ({ options: e } = {}) => {
8740
- const { commonInboxApi: n } = Ha(), { getToken: t, lng: l } = me(), p = t?.(), g = Qe(l);
8733
+ const { commonInboxApi: n } = Ha(), { getToken: t, lng: l } = se(), p = t?.(), g = Qe(l);
8741
8734
  return j({
8742
8735
  queryKey: ["inboxList"],
8743
8736
  queryFn: async () => await n(),
@@ -8776,7 +8769,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8776
8769
  readInboxMutation: t
8777
8770
  };
8778
8771
  }, rl = () => {
8779
- const { client: e } = me();
8772
+ const { client: e } = se();
8780
8773
  return {
8781
8774
  newsListApi: I(
8782
8775
  async ({ uid: t, params: l } = {}) => await e.get(`/news${t ? `/${t}` : ""}`, {
@@ -8832,7 +8825,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8832
8825
  ...e.other
8833
8826
  }
8834
8827
  ], Ym = ({ options: e, formData: n } = {}) => {
8835
- const { lng: t } = me(), { newsListApi: l } = rl(), p = Qe(t);
8828
+ const { lng: t } = se(), { newsListApi: l } = rl(), p = Qe(t);
8836
8829
  return j({
8837
8830
  queryKey: ["newsList"],
8838
8831
  queryFn: () => {
@@ -8858,7 +8851,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8858
8851
  ...e
8859
8852
  });
8860
8853
  }, Xm = ({ options: e, formData: n } = {}) => {
8861
- const { lng: t } = me(), { newsListApi: l } = rl(), p = Qe(t);
8854
+ const { lng: t } = se(), { newsListApi: l } = rl(), p = Qe(t);
8862
8855
  return j({
8863
8856
  queryKey: ["newsList"],
8864
8857
  queryFn: () => {
@@ -8877,14 +8870,14 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8877
8870
  ...e
8878
8871
  });
8879
8872
  }, Ae = () => {
8880
- const { client: e } = me(), n = I(async () => await e.get("/payment/list"), [e]), t = I(
8881
- async ({ paramsData: m }) => await e.get("/thirdPartyPayment/list", {
8882
- params: { ...m }
8873
+ const { client: e } = se(), n = I(async () => await e.get("/payment/list"), [e]), t = I(
8874
+ async ({ paramsData: s }) => await e.get("/thirdPartyPayment/list", {
8875
+ params: { ...s }
8883
8876
  }),
8884
8877
  [e]
8885
8878
  ), l = I(
8886
- async (m) => {
8887
- const { deposit_amount: c, method_id: f, currency_code: y, provider_uid: _ } = m;
8879
+ async (s) => {
8880
+ const { deposit_amount: c, method_id: f, currency_code: y, provider_uid: _ } = s;
8888
8881
  return await e.post("/thirdPartyPayment/deposit", {
8889
8882
  deposit: {
8890
8883
  deposit_amount: c,
@@ -8896,8 +8889,8 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8896
8889
  },
8897
8890
  [e]
8898
8891
  ), p = I(
8899
- async (m) => {
8900
- const { bank_uid: c, amount: f, bank_number_last5: y, postscript: _ } = m;
8892
+ async (s) => {
8893
+ const { bank_uid: c, amount: f, bank_number_last5: y, postscript: _ } = s;
8901
8894
  return await e.post("/vip/deposit", {
8902
8895
  bank_uid: c,
8903
8896
  amount: f,
@@ -8907,13 +8900,13 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8907
8900
  },
8908
8901
  [e]
8909
8902
  ), g = I(
8910
- async (m) => {
8903
+ async (s) => {
8911
8904
  const {
8912
8905
  withdrawal_amount: c,
8913
8906
  bank_account_number: f,
8914
8907
  currency_code: y,
8915
8908
  withdrawal_code: _
8916
- } = m;
8909
+ } = s;
8917
8910
  return await e.post("/thirdPartyPayment/withdraw", {
8918
8911
  withdraw: {
8919
8912
  withdrawal_amount: c,
@@ -8926,8 +8919,8 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8926
8919
  },
8927
8920
  [e]
8928
8921
  ), b = I(
8929
- async ({ paramsData: m } = {}) => {
8930
- const { str_date: c, end_date: f, limit: y = 25, current_page: _ } = m || {}, U = we().format("HH:mm:ss"), C = we().subtract(24, "hour").format("HH:mm:ss");
8922
+ async ({ paramsData: s } = {}) => {
8923
+ const { str_date: c, end_date: f, limit: y = 25, current_page: _ } = s || {}, U = we().format("HH:mm:ss"), C = we().subtract(24, "hour").format("HH:mm:ss");
8931
8924
  return await e.get("/report/deposit", {
8932
8925
  params: {
8933
8926
  str_date: `${we(c).format("YYYY-MM-DD")} ${U}`,
@@ -8939,8 +8932,8 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8939
8932
  },
8940
8933
  [e]
8941
8934
  ), d = I(
8942
- async ({ paramsData: m }) => {
8943
- const { str_date: c, end_date: f, limit: y = 25, current_page: _ } = m || {}, U = we().format("HH:mm:ss"), C = we().subtract(24, "hour").format("HH:mm:ss");
8935
+ async ({ paramsData: s }) => {
8936
+ const { str_date: c, end_date: f, limit: y = 25, current_page: _ } = s || {}, U = we().format("HH:mm:ss"), C = we().subtract(24, "hour").format("HH:mm:ss");
8944
8937
  return await e.get("report/eventsreward", {
8945
8938
  params: {
8946
8939
  str_date: `${we(c).format("YYYY-MM-DD")} ${U}`,
@@ -8952,8 +8945,8 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8952
8945
  },
8953
8946
  [e]
8954
8947
  ), r = I(
8955
- async ({ paramsData: m } = {}) => {
8956
- const { str_date: c, end_date: f, limit: y = 25, current_page: _ } = m || {};
8948
+ async ({ paramsData: s } = {}) => {
8949
+ const { str_date: c, end_date: f, limit: y = 25, current_page: _ } = s || {};
8957
8950
  return await e.get("/report/withdraw", {
8958
8951
  params: {
8959
8952
  str_date: `${we(c).format("YYYY-MM-DD")} 12:00:00`,
@@ -8965,14 +8958,14 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8965
8958
  },
8966
8959
  [e]
8967
8960
  ), a = I(
8968
- async (m) => {
8969
- const { redeem_code: c } = m;
8961
+ async (s) => {
8962
+ const { redeem_code: c } = s;
8970
8963
  return await e.post(`/sn/redeem/${c}`);
8971
8964
  },
8972
8965
  [e]
8973
8966
  ), i = I(
8974
- async (m) => {
8975
- const { type: c, code: f } = m;
8967
+ async (s) => {
8968
+ const { type: c, code: f } = s;
8976
8969
  return await e.post("/member/invoice", {
8977
8970
  type: c,
8978
8971
  code: f
@@ -8980,16 +8973,16 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8980
8973
  },
8981
8974
  [e]
8982
8975
  ), o = I(
8983
- async (m) => {
8984
- const { type: c, code: f, uid: y } = m;
8976
+ async (s) => {
8977
+ const { type: c, code: f, uid: y } = s;
8985
8978
  return await e.put(`/member/invoice/${y}`, {
8986
8979
  type: c,
8987
8980
  code: f
8988
8981
  });
8989
8982
  },
8990
8983
  [e]
8991
- ), s = I(
8992
- async (m, c) => {
8984
+ ), m = I(
8985
+ async (s, c) => {
8993
8986
  const {
8994
8987
  str_date: f,
8995
8988
  end_date: y,
@@ -8997,7 +8990,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8997
8990
  page: U = 1,
8998
8991
  wallet_log_uid: C,
8999
8992
  transhash: v
9000
- } = m;
8993
+ } = s;
9001
8994
  return await e.get(`/walletlog/${c}`, {
9002
8995
  params: {
9003
8996
  s_date: f,
@@ -9011,14 +9004,14 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9011
9004
  },
9012
9005
  [e]
9013
9006
  ), u = I(
9014
- async (m) => {
9007
+ async (s) => {
9015
9008
  const {
9016
9009
  str_date: c,
9017
9010
  end_date: f,
9018
9011
  limit: y = 25,
9019
9012
  page: _ = 1,
9020
9013
  treasure_uid: U
9021
- } = m;
9014
+ } = s;
9022
9015
  return await e.get("/treasure/drawLog", {
9023
9016
  params: {
9024
9017
  str_date: c,
@@ -9043,7 +9036,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9043
9036
  redeemCodeDepositApi: a,
9044
9037
  invoiceApi: i,
9045
9038
  updateInvoiceApi: o,
9046
- transactionRecordApi: s,
9039
+ transactionRecordApi: m,
9047
9040
  treasureRecordApi: u
9048
9041
  };
9049
9042
  }, ys = ({ options: e } = {}) => {
@@ -9186,7 +9179,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9186
9179
  eventTransaction: b = {},
9187
9180
  withdrawTransaction: d = {}
9188
9181
  } = {}) => {
9189
- const r = ys(e), a = Us(n), i = vs(t), o = bs(l), s = Cs(p), u = Ts(g), m = hs(b), c = ks(
9182
+ const r = ys(e), a = Us(n), i = vs(t), o = bs(l), m = Cs(p), u = Ts(g), s = hs(b), c = ks(
9190
9183
  d
9191
9184
  );
9192
9185
  return {
@@ -9194,9 +9187,9 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9194
9187
  depositV2: a,
9195
9188
  depositTransaction: i,
9196
9189
  depositAction: o,
9197
- withdrawAction: s,
9190
+ withdrawAction: m,
9198
9191
  bankDepositAction: u,
9199
- eventTransaction: m,
9192
+ eventTransaction: s,
9200
9193
  withdrawTransaction: c
9201
9194
  };
9202
9195
  }, ol = "3.7.8", xs = ol, Wa = typeof Buffer == "function", Mn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Rn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Ss = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Qa = Array.prototype.slice.call(Ss), rt = ((e) => {
@@ -9312,17 +9305,17 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9312
9305
  game_currency: a,
9313
9306
  lang: i,
9314
9307
  not_support_iframe: o,
9315
- portrait: s,
9308
+ portrait: m,
9316
9309
  url: u,
9317
- is_html_code: m,
9310
+ is_html_code: s,
9318
9311
  message: c
9319
9312
  } = r;
9320
9313
  return {
9321
9314
  gameCurrency: a,
9322
9315
  lang: i,
9323
9316
  supportIframe: !o,
9324
- supportPortrait: s,
9325
- isHtmlCode: m,
9317
+ supportPortrait: m,
9318
+ isHtmlCode: s,
9326
9319
  gameUrl: u,
9327
9320
  decodeGameUrl: ws.decode(u),
9328
9321
  message: c
@@ -9332,7 +9325,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9332
9325
  ...n
9333
9326
  });
9334
9327
  }, Cl = () => {
9335
- const { client: e } = me(), n = I(async () => await e.get("/rebate"), [e]), t = I(async () => await e.post("/withdraw/rebate"), [e]);
9328
+ const { client: e } = se(), n = I(async () => await e.get("/rebate"), [e]), t = I(async () => await e.post("/withdraw/rebate"), [e]);
9336
9329
  return {
9337
9330
  currentRebateApi: n,
9338
9331
  receiveRebateApi: t
@@ -9364,7 +9357,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9364
9357
  receiveRebate: t
9365
9358
  };
9366
9359
  }, Xa = () => {
9367
- const { client: e } = me(), n = I(
9360
+ const { client: e } = se(), n = I(
9368
9361
  async ({ uid: b, params: d } = {}) => await e.get(`/memberRewards${b ? `/${b}` : ""}`, {
9369
9362
  params: d
9370
9363
  }),
@@ -9399,7 +9392,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9399
9392
  expiration_days: a,
9400
9393
  name: i,
9401
9394
  position: o,
9402
- type: s,
9395
+ type: m,
9403
9396
  uid: u
9404
9397
  } = r;
9405
9398
  return {
@@ -9407,7 +9400,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9407
9400
  rewardExpirationDays: a,
9408
9401
  rewardName: i,
9409
9402
  rewardPosition: o,
9410
- rewardType: s,
9403
+ rewardType: m,
9411
9404
  rewardUid: u,
9412
9405
  rewardWagering: b,
9413
9406
  rewardAmount: d,
@@ -9476,7 +9469,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9476
9469
  historyRewardsListQuery: g
9477
9470
  };
9478
9471
  }, vl = () => {
9479
- const { client: e } = me(), n = I(
9472
+ const { client: e } = se(), n = I(
9480
9473
  async (l = {}) => {
9481
9474
  const {
9482
9475
  startTime: p = "2025-12-30 00:00:00",
@@ -9511,7 +9504,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9511
9504
  redeemTreasureApi: t
9512
9505
  };
9513
9506
  }, gu = ({ paramsData: e, options: n } = {}) => {
9514
- const { client: t, lng: l } = me(), p = Qe(l || "tw"), { treasureListApi: g } = vl();
9507
+ const { client: t, lng: l } = se(), p = Qe(l || "tw"), { treasureListApi: g } = vl();
9515
9508
  return j({
9516
9509
  queryKey: ["treasureList", e],
9517
9510
  queryFn: () => g(e),
@@ -9546,13 +9539,13 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9546
9539
  ...e
9547
9540
  });
9548
9541
  }, hl = () => {
9549
- const { client: e } = me(), n = I(async () => await e.get("/vip/list"), [e]), t = I(async () => await e.get("/vip/check"), [e]);
9542
+ const { client: e } = se(), n = I(async () => await e.get("/vip/list"), [e]), t = I(async () => await e.get("/vip/check"), [e]);
9550
9543
  return {
9551
9544
  vipListApi: n,
9552
9545
  vipInfoApi: t
9553
9546
  };
9554
9547
  }, cu = ({ options: e } = {}) => {
9555
- const { store: n } = me(), t = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: l } = hl();
9548
+ const { store: n } = se(), t = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: l } = hl();
9556
9549
  return j({
9557
9550
  queryKey: ["vipInfo"],
9558
9551
  queryFn: async () => l(),
@@ -9567,7 +9560,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9567
9560
  ...e
9568
9561
  });
9569
9562
  }, Is = ({ options: e } = {}) => {
9570
- const { store: n } = me(), t = n?.getState()?.isWalletCurrency || n?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: l } = hl();
9563
+ const { store: n } = se(), t = n?.getState()?.isWalletCurrency || n?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: l } = hl();
9571
9564
  return j({
9572
9565
  queryKey: ["vipList"],
9573
9566
  queryFn: async () => {
@@ -9582,11 +9575,11 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9582
9575
  vip_payment_tags: a,
9583
9576
  vip_withdrawal_rate: i,
9584
9577
  rebate_range: o,
9585
- vip_game_rebate: s
9586
- } = d, u = $e(r, { currency_code: t }) || {}, m = $e(a, { currency_code: t }) || {}, c = i, f = Be(o, (U) => ({
9578
+ vip_game_rebate: m
9579
+ } = d, u = $e(r, { currency_code: t }) || {}, s = $e(a, { currency_code: t }) || {}, c = i, f = Be(o, (U) => ({
9587
9580
  ...U,
9588
9581
  rebateRange: JSON.parse(U.rebate_range)
9589
- })), y = re(s, "[0]", {}), _ = {
9582
+ })), y = re(m, "[0]", {}), _ = {
9590
9583
  ...y,
9591
9584
  platformRebate: JSON.parse(y.rebate || "{}")
9592
9585
  };
@@ -9594,7 +9587,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9594
9587
  ...d,
9595
9588
  vipImageUrl: `${Ze}/vip/vip${d.level}_l.avif`,
9596
9589
  vipRule: u,
9597
- vipWithdraw: m,
9590
+ vipWithdraw: s,
9598
9591
  vipWithdrawFeeRate: c,
9599
9592
  vipRebateRange: f,
9600
9593
  processedVipGameRebate: _
@@ -9627,7 +9620,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9627
9620
  return "En";
9628
9621
  }
9629
9622
  }, ot = "game-icon-ds88", _u = ({ gameData: e = {} } = {}) => {
9630
- const { lng: n } = me(), t = An(n), {
9623
+ const { lng: n } = se(), t = An(n), {
9631
9624
  gameCode: l,
9632
9625
  // 遊戲代碼
9633
9626
  gameUid: p,
@@ -9647,11 +9640,11 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9647
9640
  // 遊戲子類型
9648
9641
  game_type: o,
9649
9642
  // 遊戲類型
9650
- game_tags: s,
9643
+ game_tags: m,
9651
9644
  // 遊戲標籤
9652
9645
  isUnderMaintenance: u,
9653
9646
  // 是否維護中
9654
- support_vertical: m,
9647
+ support_vertical: s,
9655
9648
  // 是否支援直向
9656
9649
  support_horizontal: c,
9657
9650
  // 是否支援橫向
@@ -9681,9 +9674,9 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9681
9674
  gamePlatform: a,
9682
9675
  gameSubType: i,
9683
9676
  gameType: o,
9684
- gameTags: s,
9677
+ gameTags: m,
9685
9678
  isUnderMaintenance: u,
9686
- supportVertical: m,
9679
+ supportVertical: s,
9687
9680
  supportHorizontal: c,
9688
9681
  userClickCount: U,
9689
9682
  gameNameEn: C,
@@ -9732,7 +9725,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9732
9725
  // 臨時維護開始時間
9733
9726
  temp_maintenance_end_time: o
9734
9727
  // 臨時維護結束時間
9735
- } = e || {}, s = `${Ze}/${qn}/${Vs(l, n)}.png`;
9728
+ } = e || {}, m = `${Ze}/${qn}/${Vs(l, n)}.png`;
9736
9729
  return {
9737
9730
  subPlatformEnum: t,
9738
9731
  platformEnum: l,
@@ -9744,7 +9737,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9744
9737
  platformMode: a,
9745
9738
  tempMaintenanceStartTime: i,
9746
9739
  tempMaintenanceEndTime: o,
9747
- platformImageUrl: s
9740
+ platformImageUrl: m
9748
9741
  };
9749
9742
  }, Js = (e = {}) => !$t(e) || Ee(e) ? [] : Qt(e), On = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "platform"), Zs = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "gameTypeName"), Ks = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "game_subtype"), qs = (e = {}) => !$t(e) || Ee(e) ? [] : Qt(e), $s = (e = [], n = []) => !la(e) || Ee(e) ? {} : !la(n) || Ee(n) ? {} : e.reduce((t, l) => {
9750
9743
  const p = n.map((g) => g.game_subtype);
@@ -9776,12 +9769,12 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9776
9769
  const d = Qn(t, b);
9777
9770
  if (!d) return g;
9778
9771
  const r = p[d] || [], a = n.reduce((i, o) => {
9779
- const s = Xl({
9772
+ const m = Xl({
9780
9773
  platformName: o,
9781
9774
  gamesOfType: r,
9782
9775
  allPlatforms: l
9783
9776
  });
9784
- return Ee(s) ? i : { ...i, [o]: s };
9777
+ return Ee(m) ? i : { ...i, [o]: m };
9785
9778
  }, {});
9786
9779
  return Ee(a) || (g[b] = a), g;
9787
9780
  }, {}), js = (e = {}) => !$t(e) || Ee(e) ? {} : Object.values(e).reduce((t, l) => (Object.entries(l).forEach(([p, g]) => {
@@ -9810,9 +9803,9 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9810
9803
  highlightGames: a = [],
9811
9804
  originPlatform: i = []
9812
9805
  }) => {
9813
- const o = Js(e), s = On(n), u = Zs(t), m = Ks(l), c = On(i), f = qs(d), y = Qs({
9806
+ const o = Js(e), m = On(n), u = Zs(t), s = Ks(l), c = On(i), f = qs(d), y = Qs({
9814
9807
  gameTypes: u,
9815
- platforms: s,
9808
+ platforms: m,
9816
9809
  gameList: e,
9817
9810
  allGameTypes: t,
9818
9811
  allPlatforms: n
@@ -9834,14 +9827,14 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9834
9827
  }, {});
9835
9828
  return {
9836
9829
  platform: {
9837
- all: s,
9830
+ all: m,
9838
9831
  origin: c,
9839
9832
  originPlatform: _,
9840
9833
  byGameType: E
9841
9834
  },
9842
9835
  type: {
9843
9836
  main: u,
9844
- sub: m,
9837
+ sub: s,
9845
9838
  originMain: t,
9846
9839
  originSub: l
9847
9840
  },
@@ -9891,7 +9884,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9891
9884
  },
9892
9885
  user: { favorite: [] }
9893
9886
  }, am = ({ enabled: e = !0 } = {}) => {
9894
- const { getToken: n } = me(), { userFavoriteGameApi: t, userGameListApi: l } = oe(), { data: p, isLoading: g, error: b, refetch: d } = j({
9887
+ const { getToken: n } = se(), { userFavoriteGameApi: t, userGameListApi: l } = oe(), { data: p, isLoading: g, error: b, refetch: d } = j({
9895
9888
  queryKey: ["gamesInfo"],
9896
9889
  queryFn: async () => {
9897
9890
  let r = {}, a = {};
@@ -36498,10 +36491,10 @@ function Cu({
36498
36491
  }
36499
36492
  const vu = ({ onFunction: e = () => {
36500
36493
  }, buttonProps: n = {} } = {}) => {
36501
- const { lineConfig: t } = me(), l = ee(!1), p = re(t, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), d = g.get("trans_code"), r = g.get("line_id"), a = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: s } = il({
36494
+ const { lineConfig: t } = se(), l = ee(!1), p = re(t, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), d = g.get("trans_code"), r = g.get("line_id"), a = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: m } = il({
36502
36495
  options: {
36503
- onSuccess: (m) => {
36504
- e(m);
36496
+ onSuccess: (s) => {
36497
+ e(s);
36505
36498
  },
36506
36499
  retry: !1
36507
36500
  }
@@ -36566,19 +36559,19 @@ var ka;
36566
36559
  if (o < -1 || o > 7)
36567
36560
  throw new RangeError("Mask value out of range");
36568
36561
  this.size = r * 4 + 17;
36569
- let s = [];
36570
- for (let m = 0; m < this.size; m++)
36571
- s.push(!1);
36572
- for (let m = 0; m < this.size; m++)
36573
- this.modules.push(s.slice()), this.isFunction.push(s.slice());
36562
+ let m = [];
36563
+ for (let s = 0; s < this.size; s++)
36564
+ m.push(!1);
36565
+ for (let s = 0; s < this.size; s++)
36566
+ this.modules.push(m.slice()), this.isFunction.push(m.slice());
36574
36567
  this.drawFunctionPatterns();
36575
36568
  const u = this.addEccAndInterleave(i);
36576
36569
  if (this.drawCodewords(u), o == -1) {
36577
- let m = 1e9;
36570
+ let s = 1e9;
36578
36571
  for (let c = 0; c < 8; c++) {
36579
36572
  this.applyMask(c), this.drawFormatBits(c);
36580
36573
  const f = this.getPenaltyScore();
36581
- f < m && (o = c, m = f), this.applyMask(c);
36574
+ f < s && (o = c, s = f), this.applyMask(c);
36582
36575
  }
36583
36576
  }
36584
36577
  p(0 <= o && o <= 7), this.mask = o, this.applyMask(o), this.drawFormatBits(o), this.isFunction = [];
@@ -36611,36 +36604,36 @@ var ka;
36611
36604
  // This function allows the user to create a custom sequence of segments that switches
36612
36605
  // between modes (such as alphanumeric and byte) to encode text in less space.
36613
36606
  // This is a mid-level API; the high-level API is encodeText() and encodeBinary().
36614
- static encodeSegments(r, a, i = 1, o = 40, s = -1, u = !0) {
36615
- if (!(Y.MIN_VERSION <= i && i <= o && o <= Y.MAX_VERSION) || s < -1 || s > 7)
36607
+ static encodeSegments(r, a, i = 1, o = 40, m = -1, u = !0) {
36608
+ if (!(Y.MIN_VERSION <= i && i <= o && o <= Y.MAX_VERSION) || m < -1 || m > 7)
36616
36609
  throw new RangeError("Invalid value");
36617
- let m, c;
36618
- for (m = i; ; m++) {
36619
- const U = Y.getNumDataCodewords(m, a) * 8, C = b.getTotalBits(r, m);
36610
+ let s, c;
36611
+ for (s = i; ; s++) {
36612
+ const U = Y.getNumDataCodewords(s, a) * 8, C = b.getTotalBits(r, s);
36620
36613
  if (C <= U) {
36621
36614
  c = C;
36622
36615
  break;
36623
36616
  }
36624
- if (m >= o)
36617
+ if (s >= o)
36625
36618
  throw new RangeError("Data too long");
36626
36619
  }
36627
36620
  for (const U of [Y.Ecc.MEDIUM, Y.Ecc.QUARTILE, Y.Ecc.HIGH])
36628
- u && c <= Y.getNumDataCodewords(m, U) * 8 && (a = U);
36621
+ u && c <= Y.getNumDataCodewords(s, U) * 8 && (a = U);
36629
36622
  let f = [];
36630
36623
  for (const U of r) {
36631
- t(U.mode.modeBits, 4, f), t(U.numChars, U.mode.numCharCountBits(m), f);
36624
+ t(U.mode.modeBits, 4, f), t(U.numChars, U.mode.numCharCountBits(s), f);
36632
36625
  for (const C of U.getData())
36633
36626
  f.push(C);
36634
36627
  }
36635
36628
  p(f.length == c);
36636
- const y = Y.getNumDataCodewords(m, a) * 8;
36629
+ const y = Y.getNumDataCodewords(s, a) * 8;
36637
36630
  p(f.length <= y), t(0, Math.min(4, y - f.length), f), t(0, (8 - f.length % 8) % 8, f), p(f.length % 8 == 0);
36638
36631
  for (let U = 236; f.length < y; U ^= 253)
36639
36632
  t(U, 8, f);
36640
36633
  let _ = [];
36641
36634
  for (; _.length * 8 < f.length; )
36642
36635
  _.push(0);
36643
- return f.forEach((U, C) => _[C >>> 3] |= U << 7 - (C & 7)), new Y(m, a, _, s);
36636
+ return f.forEach((U, C) => _[C >>> 3] |= U << 7 - (C & 7)), new Y(s, a, _, m);
36644
36637
  }
36645
36638
  /*-- Accessor methods --*/
36646
36639
  // Returns the color of the module (pixel) at the given coordinates, which is false
@@ -36670,19 +36663,19 @@ var ka;
36670
36663
  drawFormatBits(r) {
36671
36664
  const a = this.errorCorrectionLevel.formatBits << 3 | r;
36672
36665
  let i = a;
36673
- for (let s = 0; s < 10; s++)
36666
+ for (let m = 0; m < 10; m++)
36674
36667
  i = i << 1 ^ (i >>> 9) * 1335;
36675
36668
  const o = (a << 10 | i) ^ 21522;
36676
36669
  p(o >>> 15 == 0);
36677
- for (let s = 0; s <= 5; s++)
36678
- this.setFunctionModule(8, s, l(o, s));
36670
+ for (let m = 0; m <= 5; m++)
36671
+ this.setFunctionModule(8, m, l(o, m));
36679
36672
  this.setFunctionModule(8, 7, l(o, 6)), this.setFunctionModule(8, 8, l(o, 7)), this.setFunctionModule(7, 8, l(o, 8));
36680
- for (let s = 9; s < 15; s++)
36681
- this.setFunctionModule(14 - s, 8, l(o, s));
36682
- for (let s = 0; s < 8; s++)
36683
- this.setFunctionModule(this.size - 1 - s, 8, l(o, s));
36684
- for (let s = 8; s < 15; s++)
36685
- this.setFunctionModule(8, this.size - 15 + s, l(o, s));
36673
+ for (let m = 9; m < 15; m++)
36674
+ this.setFunctionModule(14 - m, 8, l(o, m));
36675
+ for (let m = 0; m < 8; m++)
36676
+ this.setFunctionModule(this.size - 1 - m, 8, l(o, m));
36677
+ for (let m = 8; m < 15; m++)
36678
+ this.setFunctionModule(8, this.size - 15 + m, l(o, m));
36686
36679
  this.setFunctionModule(8, this.size - 8, !0);
36687
36680
  }
36688
36681
  // Draws two copies of the version bits (with its own error correction code),
@@ -36696,8 +36689,8 @@ var ka;
36696
36689
  const a = this.version << 12 | r;
36697
36690
  p(a >>> 18 == 0);
36698
36691
  for (let i = 0; i < 18; i++) {
36699
- const o = l(a, i), s = this.size - 11 + i % 3, u = Math.floor(i / 3);
36700
- this.setFunctionModule(s, u, o), this.setFunctionModule(u, s, o);
36692
+ const o = l(a, i), m = this.size - 11 + i % 3, u = Math.floor(i / 3);
36693
+ this.setFunctionModule(m, u, o), this.setFunctionModule(u, m, o);
36701
36694
  }
36702
36695
  }
36703
36696
  // Draws a 9*9 finder pattern including the border separator,
@@ -36705,8 +36698,8 @@ var ka;
36705
36698
  drawFinderPattern(r, a) {
36706
36699
  for (let i = -4; i <= 4; i++)
36707
36700
  for (let o = -4; o <= 4; o++) {
36708
- const s = Math.max(Math.abs(o), Math.abs(i)), u = r + o, m = a + i;
36709
- 0 <= u && u < this.size && 0 <= m && m < this.size && this.setFunctionModule(u, m, s != 2 && s != 4);
36701
+ const m = Math.max(Math.abs(o), Math.abs(i)), u = r + o, s = a + i;
36702
+ 0 <= u && u < this.size && 0 <= s && s < this.size && this.setFunctionModule(u, s, m != 2 && m != 4);
36710
36703
  }
36711
36704
  }
36712
36705
  // Draws a 5*5 alignment pattern, with the center module
@@ -36728,19 +36721,19 @@ var ka;
36728
36721
  const a = this.version, i = this.errorCorrectionLevel;
36729
36722
  if (r.length != Y.getNumDataCodewords(a, i))
36730
36723
  throw new RangeError("Invalid argument");
36731
- const o = Y.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][a], s = Y.ECC_CODEWORDS_PER_BLOCK[i.ordinal][a], u = Math.floor(Y.getNumRawDataModules(a) / 8), m = o - u % o, c = Math.floor(u / o);
36724
+ const o = Y.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][a], m = Y.ECC_CODEWORDS_PER_BLOCK[i.ordinal][a], u = Math.floor(Y.getNumRawDataModules(a) / 8), s = o - u % o, c = Math.floor(u / o);
36732
36725
  let f = [];
36733
- const y = Y.reedSolomonComputeDivisor(s);
36726
+ const y = Y.reedSolomonComputeDivisor(m);
36734
36727
  for (let U = 0, C = 0; U < o; U++) {
36735
- let v = r.slice(C, C + c - s + (U < m ? 0 : 1));
36728
+ let v = r.slice(C, C + c - m + (U < s ? 0 : 1));
36736
36729
  C += v.length;
36737
36730
  const D = Y.reedSolomonComputeRemainder(v, y);
36738
- U < m && v.push(0), f.push(v.concat(D));
36731
+ U < s && v.push(0), f.push(v.concat(D));
36739
36732
  }
36740
36733
  let _ = [];
36741
36734
  for (let U = 0; U < f[0].length; U++)
36742
36735
  f.forEach((C, v) => {
36743
- (U != c - s || v >= m) && _.push(C[U]);
36736
+ (U != c - m || v >= s) && _.push(C[U]);
36744
36737
  });
36745
36738
  return p(_.length == u), _;
36746
36739
  }
@@ -36753,8 +36746,8 @@ var ka;
36753
36746
  for (let i = this.size - 1; i >= 1; i -= 2) {
36754
36747
  i == 6 && (i = 5);
36755
36748
  for (let o = 0; o < this.size; o++)
36756
- for (let s = 0; s < 2; s++) {
36757
- const u = i - s, c = (i + 1 & 2) == 0 ? this.size - 1 - o : o;
36749
+ for (let m = 0; m < 2; m++) {
36750
+ const u = i - m, c = (i + 1 & 2) == 0 ? this.size - 1 - o : o;
36758
36751
  !this.isFunction[c][u] && a < r.length * 8 && (this.modules[c][u] = l(r[a >>> 3], 7 - (a & 7)), a++);
36759
36752
  }
36760
36753
  }
@@ -36806,26 +36799,26 @@ var ka;
36806
36799
  // This is used by the automatic mask choice algorithm to find the mask pattern that yields the lowest score.
36807
36800
  getPenaltyScore() {
36808
36801
  let r = 0;
36809
- for (let s = 0; s < this.size; s++) {
36810
- let u = !1, m = 0, c = [0, 0, 0, 0, 0, 0, 0];
36802
+ for (let m = 0; m < this.size; m++) {
36803
+ let u = !1, s = 0, c = [0, 0, 0, 0, 0, 0, 0];
36811
36804
  for (let f = 0; f < this.size; f++)
36812
- this.modules[s][f] == u ? (m++, m == 5 ? r += Y.PENALTY_N1 : m > 5 && r++) : (this.finderPenaltyAddHistory(m, c), u || (r += this.finderPenaltyCountPatterns(c) * Y.PENALTY_N3), u = this.modules[s][f], m = 1);
36813
- r += this.finderPenaltyTerminateAndCount(u, m, c) * Y.PENALTY_N3;
36805
+ this.modules[m][f] == u ? (s++, s == 5 ? r += Y.PENALTY_N1 : s > 5 && r++) : (this.finderPenaltyAddHistory(s, c), u || (r += this.finderPenaltyCountPatterns(c) * Y.PENALTY_N3), u = this.modules[m][f], s = 1);
36806
+ r += this.finderPenaltyTerminateAndCount(u, s, c) * Y.PENALTY_N3;
36814
36807
  }
36815
- for (let s = 0; s < this.size; s++) {
36816
- let u = !1, m = 0, c = [0, 0, 0, 0, 0, 0, 0];
36808
+ for (let m = 0; m < this.size; m++) {
36809
+ let u = !1, s = 0, c = [0, 0, 0, 0, 0, 0, 0];
36817
36810
  for (let f = 0; f < this.size; f++)
36818
- this.modules[f][s] == u ? (m++, m == 5 ? r += Y.PENALTY_N1 : m > 5 && r++) : (this.finderPenaltyAddHistory(m, c), u || (r += this.finderPenaltyCountPatterns(c) * Y.PENALTY_N3), u = this.modules[f][s], m = 1);
36819
- r += this.finderPenaltyTerminateAndCount(u, m, c) * Y.PENALTY_N3;
36811
+ this.modules[f][m] == u ? (s++, s == 5 ? r += Y.PENALTY_N1 : s > 5 && r++) : (this.finderPenaltyAddHistory(s, c), u || (r += this.finderPenaltyCountPatterns(c) * Y.PENALTY_N3), u = this.modules[f][m], s = 1);
36812
+ r += this.finderPenaltyTerminateAndCount(u, s, c) * Y.PENALTY_N3;
36820
36813
  }
36821
- for (let s = 0; s < this.size - 1; s++)
36814
+ for (let m = 0; m < this.size - 1; m++)
36822
36815
  for (let u = 0; u < this.size - 1; u++) {
36823
- const m = this.modules[s][u];
36824
- m == this.modules[s][u + 1] && m == this.modules[s + 1][u] && m == this.modules[s + 1][u + 1] && (r += Y.PENALTY_N2);
36816
+ const s = this.modules[m][u];
36817
+ s == this.modules[m][u + 1] && s == this.modules[m + 1][u] && s == this.modules[m + 1][u + 1] && (r += Y.PENALTY_N2);
36825
36818
  }
36826
36819
  let a = 0;
36827
- for (const s of this.modules)
36828
- a = s.reduce((u, m) => u + (m ? 1 : 0), a);
36820
+ for (const m of this.modules)
36821
+ a = m.reduce((u, s) => u + (s ? 1 : 0), a);
36829
36822
  const i = this.size * this.size, o = Math.ceil(Math.abs(a * 20 - i * 10) / i) - 1;
36830
36823
  return p(0 <= o && o <= 9), r += o * Y.PENALTY_N4, p(0 <= r && r <= 2568888), r;
36831
36824
  }
@@ -36874,8 +36867,8 @@ var ka;
36874
36867
  a.push(1);
36875
36868
  let i = 1;
36876
36869
  for (let o = 0; o < r; o++) {
36877
- for (let s = 0; s < a.length; s++)
36878
- a[s] = Y.reedSolomonMultiply(a[s], i), s + 1 < a.length && (a[s] ^= a[s + 1]);
36870
+ for (let m = 0; m < a.length; m++)
36871
+ a[m] = Y.reedSolomonMultiply(a[m], i), m + 1 < a.length && (a[m] ^= a[m + 1]);
36879
36872
  i = Y.reedSolomonMultiply(i, 2);
36880
36873
  }
36881
36874
  return a;
@@ -36884,8 +36877,8 @@ var ka;
36884
36877
  static reedSolomonComputeRemainder(r, a) {
36885
36878
  let i = a.map((o) => 0);
36886
36879
  for (const o of r) {
36887
- const s = o ^ i.shift();
36888
- i.push(0), a.forEach((u, m) => i[m] ^= Y.reedSolomonMultiply(u, s));
36880
+ const m = o ^ i.shift();
36881
+ i.push(0), a.forEach((u, s) => i[s] ^= Y.reedSolomonMultiply(u, m));
36889
36882
  }
36890
36883
  return i;
36891
36884
  }
@@ -37038,10 +37031,10 @@ var ka;
37038
37031
  static getTotalBits(r, a) {
37039
37032
  let i = 0;
37040
37033
  for (const o of r) {
37041
- const s = o.mode.numCharCountBits(a);
37042
- if (o.numChars >= 1 << s)
37034
+ const m = o.mode.numCharCountBits(a);
37035
+ if (o.numChars >= 1 << m)
37043
37036
  return 1 / 0;
37044
- i += 4 + s + o.bitData.length;
37037
+ i += 4 + m + o.bitData.length;
37045
37038
  }
37046
37039
  return i;
37047
37040
  }
@@ -37124,13 +37117,13 @@ function mm(e, n, t, l) {
37124
37117
  if (l == null)
37125
37118
  return null;
37126
37119
  const p = e.length + t * 2, g = Math.floor(n * sm), b = p / n, d = (l.width || g) * b, r = (l.height || g) * b, a = l.x == null ? e.length / 2 - d / 2 : l.x * b, i = l.y == null ? e.length / 2 - r / 2 : l.y * b, o = l.opacity == null ? 1 : l.opacity;
37127
- let s = null;
37120
+ let m = null;
37128
37121
  if (l.excavate) {
37129
- let m = Math.floor(a), c = Math.floor(i), f = Math.ceil(d + a - m), y = Math.ceil(r + i - c);
37130
- s = { x: m, y: c, w: f, h: y };
37122
+ let s = Math.floor(a), c = Math.floor(i), f = Math.ceil(d + a - s), y = Math.ceil(r + i - c);
37123
+ m = { x: s, y: c, w: f, h: y };
37131
37124
  }
37132
37125
  const u = l.crossOrigin;
37133
- return { x: a, y: i, h: r, w: d, excavation: s, opacity: o, crossOrigin: u };
37126
+ return { x: a, y: i, h: r, w: d, excavation: m, opacity: o, crossOrigin: u };
37134
37127
  }
37135
37128
  function um(e, n) {
37136
37129
  return n != null ? Math.max(Math.floor(n), 0) : e ? rm : om;
@@ -37146,9 +37139,9 @@ function Rl({
37146
37139
  boostLevel: d
37147
37140
  }) {
37148
37141
  let r = de.useMemo(() => {
37149
- const m = (Array.isArray(e) ? e : [e]).reduce((c, f) => (c.push(...Aa.QrSegment.makeSegments(f)), c), []);
37142
+ const s = (Array.isArray(e) ? e : [e]).reduce((c, f) => (c.push(...Aa.QrSegment.makeSegments(f)), c), []);
37150
37143
  return Aa.QrCode.encodeSegments(
37151
- m,
37144
+ s,
37152
37145
  lm[n],
37153
37146
  t,
37154
37147
  void 0,
@@ -37156,17 +37149,17 @@ function Rl({
37156
37149
  d
37157
37150
  );
37158
37151
  }, [e, n, t, d]);
37159
- const { cells: a, margin: i, numCells: o, calculatedImageSettings: s } = de.useMemo(() => {
37152
+ const { cells: a, margin: i, numCells: o, calculatedImageSettings: m } = de.useMemo(() => {
37160
37153
  let u = r.getModules();
37161
- const m = um(l, p), c = u.length + m * 2, f = mm(
37154
+ const s = um(l, p), c = u.length + s * 2, f = mm(
37162
37155
  u,
37163
37156
  b,
37164
- m,
37157
+ s,
37165
37158
  g
37166
37159
  );
37167
37160
  return {
37168
37161
  cells: u,
37169
- margin: m,
37162
+ margin: s,
37170
37163
  numCells: c,
37171
37164
  calculatedImageSettings: f
37172
37165
  };
@@ -37176,7 +37169,7 @@ function Rl({
37176
37169
  margin: i,
37177
37170
  cells: a,
37178
37171
  numCells: o,
37179
- calculatedImageSettings: s
37172
+ calculatedImageSettings: m
37180
37173
  };
37181
37174
  }
37182
37175
  var pm = (function() {
@@ -37197,7 +37190,7 @@ var pm = (function() {
37197
37190
  includeMargin: a = Nl,
37198
37191
  minVersion: i = Ll,
37199
37192
  boostLevel: o,
37200
- marginSize: s,
37193
+ marginSize: m,
37201
37194
  imageSettings: u
37202
37195
  } = l, c = di(l, [
37203
37196
  "value",
@@ -37221,7 +37214,7 @@ var pm = (function() {
37221
37214
  minVersion: i,
37222
37215
  boostLevel: o,
37223
37216
  includeMargin: a,
37224
- marginSize: s,
37217
+ marginSize: m,
37225
37218
  imageSettings: u,
37226
37219
  size: g
37227
37220
  });
@@ -37292,9 +37285,9 @@ var Pl = de.forwardRef(
37292
37285
  includeMargin: a = Nl,
37293
37286
  minVersion: i = Ll,
37294
37287
  boostLevel: o,
37295
- title: s,
37288
+ title: m,
37296
37289
  marginSize: u,
37297
- imageSettings: m
37290
+ imageSettings: s
37298
37291
  } = l, c = di(l, [
37299
37292
  "value",
37300
37293
  "size",
@@ -37314,17 +37307,17 @@ var Pl = de.forwardRef(
37314
37307
  boostLevel: o,
37315
37308
  includeMargin: a,
37316
37309
  marginSize: u,
37317
- imageSettings: m,
37310
+ imageSettings: s,
37318
37311
  size: g
37319
37312
  });
37320
37313
  let C = y, v = null;
37321
- m != null && U != null && (U.excavation != null && (C = Ml(
37314
+ s != null && U != null && (U.excavation != null && (C = Ml(
37322
37315
  y,
37323
37316
  U.excavation
37324
37317
  )), v = /* @__PURE__ */ de.createElement(
37325
37318
  "image",
37326
37319
  {
37327
- href: m.src,
37320
+ href: s.src,
37328
37321
  height: U.h,
37329
37322
  width: U.w,
37330
37323
  x: U.x + f,
@@ -37344,7 +37337,7 @@ var Pl = de.forwardRef(
37344
37337
  ref: t,
37345
37338
  role: "img"
37346
37339
  }, c),
37347
- !!s && /* @__PURE__ */ de.createElement("title", null, s),
37340
+ !!m && /* @__PURE__ */ de.createElement("title", null, m),
37348
37341
  /* @__PURE__ */ de.createElement(
37349
37342
  "path",
37350
37343
  {
@@ -37404,7 +37397,7 @@ const dm = {
37404
37397
  expired: "Kode QR telah kedaluwarsa"
37405
37398
  }
37406
37399
  }, ku = ({ forcedShow: e = !1, isVisible: n, setIsVisible: t } = {}) => {
37407
- const { lng: l, getToken: p, lineConfig: g } = me(), [b, d] = oi(300), [r, a] = oi(!1), i = ee(null), o = re(g, "liffId", ""), s = Qe(l), u = p?.(), c = new URLSearchParams(window.location.search).get("mac") || mi.get("machine_mac_address") || "", { data: f, isFetching: y } = zo({
37400
+ const { lng: l, getToken: p, lineConfig: g } = se(), [b, d] = oi(300), [r, a] = oi(!1), i = ee(null), o = re(g, "liffId", ""), m = Qe(l), u = p?.(), c = new URLSearchParams(window.location.search).get("mac") || mi.get("machine_mac_address") || "", { data: f, isFetching: y } = zo({
37408
37401
  formData: {
37409
37402
  mac_address: c
37410
37403
  },
@@ -37424,7 +37417,7 @@ const dm = {
37424
37417
  return `${D}:${E < 10 ? "0" : ""}${E}`;
37425
37418
  };
37426
37419
  if (!e && (!c || u)) return null;
37427
- const C = Hn[s] || Hn.en_US;
37420
+ const C = Hn[m] || Hn.en_US;
37428
37421
  return n && /* @__PURE__ */ Fe.jsxs("div", { style: dm, children: [
37429
37422
  /* @__PURE__ */ Fe.jsx(
37430
37423
  "div",
@@ -37533,7 +37526,7 @@ export {
37533
37526
  Xs as processGameInfo,
37534
37527
  bu as processPlatformData,
37535
37528
  Nm as useAbandonPoint,
37536
- me as useApiContext,
37529
+ se as useApiContext,
37537
37530
  Hm as useAvatarList,
37538
37531
  Tm as useBalanceGetter,
37539
37532
  Sm as useBet,