@obb871001/api-integration-sdk 1.0.333 → 1.0.335

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
@@ -31,10 +31,10 @@ function Zl(e) {
31
31
  });
32
32
  }), t;
33
33
  }
34
- var tt = { exports: {} }, Ja = {};
34
+ var tt = { exports: {} }, Za = {};
35
35
  var Ni;
36
36
  function Kl() {
37
- if (Ni) return Ja;
37
+ if (Ni) return Za;
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) {
@@ -44,9 +44,9 @@ function Kl() {
44
44
  if (d && d.defaultProps) for (i in r = d.defaultProps, r) o[i] === void 0 && (o[i] = r[i]);
45
45
  return { $$typeof: n, type: d, key: m, ref: u, props: o, _owner: p.current };
46
46
  }
47
- return Ja.Fragment = t, Ja.jsx = b, Ja.jsxs = b, Ja;
47
+ return Za.Fragment = t, Za.jsx = b, Za.jsxs = b, Za;
48
48
  }
49
- var Za = {};
49
+ var Ka = {};
50
50
  var Li;
51
51
  function ql() {
52
52
  return Li || (Li = 1, process.env.NODE_ENV !== "production" && (function() {
@@ -400,7 +400,7 @@ function ql() {
400
400
  }
401
401
  return T.key !== void 0;
402
402
  }
403
- function za(T, z) {
403
+ function Ia(T, z) {
404
404
  typeof T.ref == "string" && Re.current;
405
405
  }
406
406
  function Da(T, z) {
@@ -425,7 +425,7 @@ function ql() {
425
425
  });
426
426
  }
427
427
  }
428
- var Ia = function(T, z, J, $, ue, pe, ne) {
428
+ var Va = function(T, z, J, $, ue, pe, ne) {
429
429
  var X = {
430
430
  // This tag allows us to uniquely identify this as a React Element
431
431
  $$typeof: n,
@@ -454,10 +454,10 @@ function ql() {
454
454
  value: ue
455
455
  }), Object.freeze && (Object.freeze(X.props), Object.freeze(X)), X;
456
456
  };
457
- function Va(T, z, J, $, ue) {
457
+ function Ja(T, z, J, $, ue) {
458
458
  {
459
459
  var pe, ne = {}, X = null, Oe = null;
460
- J !== void 0 && (xe(J), X = "" + J), Ye(z) && (xe(z.key), X = "" + z.key), Ve(z) && (Oe = z.ref, za(z, ue));
460
+ J !== void 0 && (xe(J), X = "" + J), Ye(z) && (xe(z.key), X = "" + z.key), Ve(z) && (Oe = z.ref, Ia(z, ue));
461
461
  for (pe in z)
462
462
  fe.call(z, pe) && !je.hasOwnProperty(pe) && (ne[pe] = z[pe]);
463
463
  if (T && T.defaultProps) {
@@ -469,7 +469,7 @@ function ql() {
469
469
  var he = typeof T == "function" ? T.displayName || T.name || "Unknown" : T;
470
470
  X && Da(ne, he), Oe && Ea(ne, he);
471
471
  }
472
- return Ia(T, X, Oe, ue, $, Re.current, ne);
472
+ return Va(T, X, Oe, ue, $, Re.current, ne);
473
473
  }
474
474
  }
475
475
  var da = y.ReactCurrentOwner, ya = y.ReactDebugCurrentFrame;
@@ -594,7 +594,7 @@ Check the top-level render call using <` + J + ">.");
594
594
  var be;
595
595
  T === null ? be = "null" : ve(T) ? be = "array" : T !== void 0 && T.$$typeof === n ? (be = "<" + (A(T.type) || "Unknown") + " />", X = " Did you accidentally export a JSX literal instead of a component?") : be = typeof T, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", be, X);
596
596
  }
597
- var he = Va(T, z, J, ue, pe);
597
+ var he = Ja(T, z, J, ue, pe);
598
598
  if (he == null)
599
599
  return he;
600
600
  if (ne) {
@@ -634,8 +634,8 @@ React keys must be passed directly to JSX without using spread:
634
634
  return Pe(T, z, J, !1);
635
635
  }
636
636
  var Yt = et, wl = na;
637
- Za.Fragment = l, Za.jsx = Yt, Za.jsxs = wl;
638
- })()), Za;
637
+ Ka.Fragment = l, Ka.jsx = Yt, Ka.jsxs = wl;
638
+ })()), Ka;
639
639
  }
640
640
  var Gi;
641
641
  function $l() {
@@ -647,19 +647,19 @@ const In = qt(null), se = () => {
647
647
  if (!e)
648
648
  throw new Error("useApiContext must be used within ApiProvider");
649
649
  return e;
650
- }, Ka = {
650
+ }, qa = {
651
651
  READY: "ready",
652
652
  PENDING: "pending"
653
653
  }, Vn = qt(null), Ql = ({ children: e }) => {
654
- const [n, t] = oi(Ka.PENDING), l = Oa(() => {
655
- const p = n === Ka.READY, g = n === Ka.PENDING;
654
+ const [n, t] = oi(qa.PENDING), l = Oa(() => {
655
+ const p = n === qa.READY, g = n === qa.PENDING;
656
656
  return {
657
657
  status: n,
658
658
  setStatus: t,
659
659
  isReady: p,
660
660
  isPending: g,
661
- setAsReady: () => t(Ka.READY),
662
- setAsPending: () => t(Ka.PENDING)
661
+ setAsReady: () => t(qa.READY),
662
+ setAsPending: () => t(qa.PENDING)
663
663
  };
664
664
  }, [n]);
665
665
  return /* @__PURE__ */ Fe.jsx(Vn.Provider, { value: l, children: e });
@@ -687,7 +687,7 @@ const In = qt(null), se = () => {
687
687
  default:
688
688
  return e;
689
689
  }
690
- }, Ze = "https://d1h3qe8voog6w4.cloudfront.net", it = "https://d3jx2uvukujuvn.cloudfront.net", Zn = (e) => `${Ze}/reward_icon/${e}.avif`, Kn = () => `${Ze}/reward_icon/background_deposit.avif`, qn = "ds88platformIcon", ja = {
690
+ }, Ze = "https://d1h3qe8voog6w4.cloudfront.net", it = "https://d3jx2uvukujuvn.cloudfront.net", Zn = (e) => `${Ze}/reward_icon/${e}.avif`, Kn = () => `${Ze}/reward_icon/background_deposit.avif`, qn = "ds88platformIcon", Ba = {
691
691
  zh_TW: "系統提示",
692
692
  zh_CN: "系统提示",
693
693
  en_US: "System Prompt",
@@ -695,6 +695,14 @@ const In = qt(null), se = () => {
695
695
  vi_VN: "Lời nhắc hệ thống",
696
696
  th_TH: "ข้อความระบบ",
697
697
  ja_JP: "システムプロンプト"
698
+ }, jl = {
699
+ zh_TW: "我們正在為您處理轉點中",
700
+ zh_CN: "我们正在为您处理转点中",
701
+ en_US: "We are processing your transfer",
702
+ id_ID: "Kami sedang memproses transfer Anda",
703
+ vi_VN: "Chúng tôi đang xử lý chuyển khoản của bạn",
704
+ th_TH: "เรากำลังดำเนินการโอนของคุณ",
705
+ ja_JP: "転送を処理しています"
698
706
  };
699
707
  function Mi({
700
708
  baseURL: e,
@@ -734,7 +742,7 @@ function Mi({
734
742
  p?.dispatch({
735
743
  type: "ui/showToast",
736
744
  payload: {
737
- title: ja[m] || "System Prompt",
745
+ title: Ba[m] || "System Prompt",
738
746
  description: o,
739
747
  status: "error",
740
748
  duration: 3e3
@@ -745,14 +753,14 @@ function Mi({
745
753
  }
746
754
  ), a;
747
755
  }
748
- const $n = qt(null), Cm = () => {
756
+ const $n = qt(null), vm = () => {
749
757
  const e = ci($n);
750
758
  if (!e)
751
759
  throw new Error(
752
760
  "useGameInfoContext must be used within a GameInfoCtx.Provider"
753
761
  );
754
762
  return e;
755
- }, vm = () => {
763
+ }, hm = () => {
756
764
  const e = (l, p) => !l && !p, n = (l) => l.startsWith("pc.");
757
765
  return {
758
766
  executeLogout: ({
@@ -771,17 +779,17 @@ const $n = qt(null), Cm = () => {
771
779
  shouldShowErrorNotice: e,
772
780
  isMachineDomain: n
773
781
  };
774
- }, hm = (e) => {
782
+ }, Tm = (e) => {
775
783
  let n = Number(e);
776
784
  return isNaN(n) ? e : new Intl.NumberFormat("en-US", {
777
785
  style: "decimal",
778
786
  minimumFractionDigits: 2,
779
787
  maximumFractionDigits: 2
780
788
  }).format(n);
781
- }, Qn = (e = [], n) => $e(e, { gameTypeName: n })?.gameTypeUid, jn = (e = [], n) => $e(e, { platform: n })?.platformUid, Yn = (e = [], n) => $e(e, { SubPlatformEnum: n }), Xn = (e = [], n, t) => Ee(e) ? [] : e.filter((l) => t ? String(l?.SubPlatformEnumUid) === String(t?.SubPlatformEnumUid) : String(l.platformUid) === String(n)), jl = (e = []) => Ee(e) ? {} : e.reduce((n, t) => {
789
+ }, Qn = (e = [], n) => $e(e, { gameTypeName: n })?.gameTypeUid, jn = (e = [], n) => $e(e, { platform: n })?.platformUid, Yn = (e = [], n) => $e(e, { SubPlatformEnum: n }), Xn = (e = [], n, t) => Ee(e) ? [] : e.filter((l) => t ? String(l?.SubPlatformEnumUid) === String(t?.SubPlatformEnumUid) : String(l.platformUid) === String(n)), Yl = (e = []) => Ee(e) ? {} : e.reduce((n, t) => {
782
790
  const l = t?.game_subtype || "UNKNOWN";
783
791
  return n[l] || (n[l] = []), n[l].push(t), n;
784
- }, {}), Yl = ({
792
+ }, {}), Xl = ({
785
793
  gameTypeName: e,
786
794
  platforms: n,
787
795
  gameList: t,
@@ -797,7 +805,7 @@ const $n = qt(null), Cm = () => {
797
805
  );
798
806
  return Ee(o) || (b[d] = o), b;
799
807
  }, {}) : {};
800
- }, Xl = ({
808
+ }, er = ({
801
809
  platformName: e,
802
810
  gamesOfType: n = [],
803
811
  allPlatforms: t = []
@@ -807,14 +815,14 @@ const $n = qt(null), Cm = () => {
807
815
  l,
808
816
  p
809
817
  );
810
- return jl(g);
818
+ return Yl(g);
811
819
  };
812
- var st = { exports: {} }, er = st.exports, Ri;
813
- function ar() {
820
+ var st = { exports: {} }, ar = st.exports, Ri;
821
+ function tr() {
814
822
  return Ri || (Ri = 1, (function(e, n) {
815
823
  (function(t, l) {
816
824
  e.exports = l();
817
- })(er, (function() {
825
+ })(ar, (function() {
818
826
  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
827
  var R = ["th", "st", "nd", "rd"], P = w % 100;
820
828
  return "[" + w + (R[(P - 20) % 10] || R[P] || R[0]) + "]";
@@ -1087,28 +1095,28 @@ function ar() {
1087
1095
  }));
1088
1096
  })(st)), st.exports;
1089
1097
  }
1090
- var tr = ar();
1091
- const we = /* @__PURE__ */ _i(tr);
1098
+ var ir = tr();
1099
+ const we = /* @__PURE__ */ _i(ir);
1092
1100
  var mt = { exports: {} };
1093
- function ir(e) {
1101
+ function nr(e) {
1094
1102
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
1095
1103
  }
1096
1104
  var ut = { exports: {} };
1097
- const nr = {}, lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1105
+ const lr = {}, rr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1098
1106
  __proto__: null,
1099
- default: nr
1100
- }, Symbol.toStringTag, { value: "Module" })), rr = /* @__PURE__ */ Zl(lr);
1101
- var or = ut.exports, Pi;
1107
+ default: lr
1108
+ }, Symbol.toStringTag, { value: "Module" })), or = /* @__PURE__ */ Zl(rr);
1109
+ var sr = ut.exports, Pi;
1102
1110
  function te() {
1103
1111
  return Pi || (Pi = 1, (function(e, n) {
1104
1112
  (function(t, l) {
1105
1113
  e.exports = l();
1106
- })(or, function() {
1114
+ })(sr, function() {
1107
1115
  var t = t || (function(l, p) {
1108
1116
  var g;
1109
- if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof ei < "u" && ei.crypto && (g = ei.crypto), !g && typeof ir == "function")
1117
+ if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof ei < "u" && ei.crypto && (g = ei.crypto), !g && typeof nr == "function")
1110
1118
  try {
1111
- g = rr;
1119
+ g = or;
1112
1120
  } catch {
1113
1121
  }
1114
1122
  var b = function() {
@@ -1599,12 +1607,12 @@ function te() {
1599
1607
  });
1600
1608
  })(ut)), ut.exports;
1601
1609
  }
1602
- var pt = { exports: {} }, sr = pt.exports, wi;
1610
+ var pt = { exports: {} }, mr = pt.exports, wi;
1603
1611
  function jt() {
1604
1612
  return wi || (wi = 1, (function(e, n) {
1605
1613
  (function(t, l) {
1606
1614
  e.exports = l(te());
1607
- })(sr, function(t) {
1615
+ })(mr, function(t) {
1608
1616
  return (function(l) {
1609
1617
  var p = t, g = p.lib, b = g.Base, d = g.WordArray, r = p.x64 = {};
1610
1618
  r.Word = b.extend({
@@ -1829,12 +1837,12 @@ function jt() {
1829
1837
  });
1830
1838
  })(pt)), pt.exports;
1831
1839
  }
1832
- var gt = { exports: {} }, mr = gt.exports, Fi;
1833
- function ur() {
1840
+ var gt = { exports: {} }, ur = gt.exports, Fi;
1841
+ function pr() {
1834
1842
  return Fi || (Fi = 1, (function(e, n) {
1835
1843
  (function(t, l) {
1836
1844
  e.exports = l(te());
1837
- })(mr, function(t) {
1845
+ })(ur, function(t) {
1838
1846
  return (function() {
1839
1847
  if (typeof ArrayBuffer == "function") {
1840
1848
  var l = t, p = l.lib, g = p.WordArray, b = g.init, d = g.init = function(r) {
@@ -1851,12 +1859,12 @@ function ur() {
1851
1859
  });
1852
1860
  })(gt)), gt.exports;
1853
1861
  }
1854
- var dt = { exports: {} }, pr = dt.exports, Ai;
1855
- function gr() {
1862
+ var dt = { exports: {} }, gr = dt.exports, Ai;
1863
+ function dr() {
1856
1864
  return Ai || (Ai = 1, (function(e, n) {
1857
1865
  (function(t, l) {
1858
1866
  e.exports = l(te());
1859
- })(pr, function(t) {
1867
+ })(gr, function(t) {
1860
1868
  return (function() {
1861
1869
  var l = t, p = l.lib, g = p.WordArray, b = l.enc;
1862
1870
  b.Utf16 = b.Utf16BE = {
@@ -1945,12 +1953,12 @@ function gr() {
1945
1953
  });
1946
1954
  })(dt)), dt.exports;
1947
1955
  }
1948
- var ct = { exports: {} }, dr = ct.exports, Oi;
1956
+ var ct = { exports: {} }, cr = ct.exports, Oi;
1949
1957
  function xa() {
1950
1958
  return Oi || (Oi = 1, (function(e, n) {
1951
1959
  (function(t, l) {
1952
1960
  e.exports = l(te());
1953
- })(dr, function(t) {
1961
+ })(cr, function(t) {
1954
1962
  return (function() {
1955
1963
  var l = t, p = l.lib, g = p.WordArray, b = l.enc;
1956
1964
  b.Base64 = {
@@ -2020,12 +2028,12 @@ function xa() {
2020
2028
  });
2021
2029
  })(ct)), ct.exports;
2022
2030
  }
2023
- var ft = { exports: {} }, cr = ft.exports, Bi;
2024
- function fr() {
2031
+ var ft = { exports: {} }, fr = ft.exports, Bi;
2032
+ function _r() {
2025
2033
  return Bi || (Bi = 1, (function(e, n) {
2026
2034
  (function(t, l) {
2027
2035
  e.exports = l(te());
2028
- })(cr, function(t) {
2036
+ })(fr, function(t) {
2029
2037
  return (function() {
2030
2038
  var l = t, p = l.lib, g = p.WordArray, b = l.enc;
2031
2039
  b.Base64url = {
@@ -2102,12 +2110,12 @@ function fr() {
2102
2110
  });
2103
2111
  })(ft)), ft.exports;
2104
2112
  }
2105
- var _t = { exports: {} }, _r = _t.exports, Hi;
2113
+ var _t = { exports: {} }, yr = _t.exports, Hi;
2106
2114
  function Sa() {
2107
2115
  return Hi || (Hi = 1, (function(e, n) {
2108
2116
  (function(t, l) {
2109
2117
  e.exports = l(te());
2110
- })(_r, function(t) {
2118
+ })(yr, function(t) {
2111
2119
  return (function(l) {
2112
2120
  var p = t, g = p.lib, b = g.WordArray, d = g.Hasher, r = p.algo, a = [];
2113
2121
  (function() {
@@ -2168,12 +2176,12 @@ function Sa() {
2168
2176
  });
2169
2177
  })(_t)), _t.exports;
2170
2178
  }
2171
- var yt = { exports: {} }, yr = yt.exports, Wi;
2179
+ var yt = { exports: {} }, Ur = yt.exports, Wi;
2172
2180
  function el() {
2173
2181
  return Wi || (Wi = 1, (function(e, n) {
2174
2182
  (function(t, l) {
2175
2183
  e.exports = l(te());
2176
- })(yr, function(t) {
2184
+ })(Ur, function(t) {
2177
2185
  return (function() {
2178
2186
  var l = t, p = l.lib, g = p.WordArray, b = p.Hasher, d = l.algo, r = [], a = d.SHA1 = b.extend({
2179
2187
  _doReset: function() {
@@ -2212,12 +2220,12 @@ function el() {
2212
2220
  });
2213
2221
  })(yt)), yt.exports;
2214
2222
  }
2215
- var Ut = { exports: {} }, Ur = Ut.exports, zi;
2223
+ var Ut = { exports: {} }, br = Ut.exports, zi;
2216
2224
  function yi() {
2217
2225
  return zi || (zi = 1, (function(e, n) {
2218
2226
  (function(t, l) {
2219
2227
  e.exports = l(te());
2220
- })(Ur, function(t) {
2228
+ })(br, function(t) {
2221
2229
  return (function(l) {
2222
2230
  var p = t, g = p.lib, b = g.WordArray, d = g.Hasher, r = p.algo, a = [], i = [];
2223
2231
  (function() {
@@ -2264,12 +2272,12 @@ function yi() {
2264
2272
  });
2265
2273
  })(Ut)), Ut.exports;
2266
2274
  }
2267
- var bt = { exports: {} }, br = bt.exports, Ii;
2268
- function Cr() {
2275
+ var bt = { exports: {} }, Cr = bt.exports, Ii;
2276
+ function vr() {
2269
2277
  return Ii || (Ii = 1, (function(e, n) {
2270
2278
  (function(t, l, p) {
2271
2279
  e.exports = l(te(), yi());
2272
- })(br, function(t) {
2280
+ })(Cr, function(t) {
2273
2281
  return (function() {
2274
2282
  var l = t, p = l.lib, g = p.WordArray, b = l.algo, d = b.SHA256, r = b.SHA224 = d.extend({
2275
2283
  _doReset: function() {
@@ -2294,12 +2302,12 @@ function Cr() {
2294
2302
  });
2295
2303
  })(bt)), bt.exports;
2296
2304
  }
2297
- var Ct = { exports: {} }, vr = Ct.exports, Vi;
2305
+ var Ct = { exports: {} }, hr = Ct.exports, Vi;
2298
2306
  function al() {
2299
2307
  return Vi || (Vi = 1, (function(e, n) {
2300
2308
  (function(t, l, p) {
2301
2309
  e.exports = l(te(), jt());
2302
- })(vr, function(t) {
2310
+ })(hr, function(t) {
2303
2311
  return (function() {
2304
2312
  var l = t, p = l.lib, g = p.Hasher, b = l.x64, d = b.Word, r = b.WordArray, a = l.algo;
2305
2313
  function i() {
@@ -2410,8 +2418,8 @@ function al() {
2410
2418
  if (Me < 16)
2411
2419
  He = aa.high = s[c + Me * 2] | 0, ve = aa.low = s[c + Me * 2 + 1] | 0;
2412
2420
  else {
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;
2421
+ 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, Ia = (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], Va = Ea.high, Ja = Ea.low, da = m[Me - 16], ya = da.high, Ke = da.low;
2422
+ ve = oa + Ja, He = je + Va + (ve >>> 0 < oa >>> 0 ? 1 : 0), ve = ve + Da, He = He + Ia + (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
2423
  }
2416
2424
  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
2425
  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;
@@ -2435,12 +2443,12 @@ function al() {
2435
2443
  });
2436
2444
  })(Ct)), Ct.exports;
2437
2445
  }
2438
- var vt = { exports: {} }, hr = vt.exports, Ji;
2439
- function Tr() {
2446
+ var vt = { exports: {} }, Tr = vt.exports, Ji;
2447
+ function kr() {
2440
2448
  return Ji || (Ji = 1, (function(e, n) {
2441
2449
  (function(t, l, p) {
2442
2450
  e.exports = l(te(), jt(), al());
2443
- })(hr, function(t) {
2451
+ })(Tr, function(t) {
2444
2452
  return (function() {
2445
2453
  var l = t, p = l.x64, g = p.Word, b = p.WordArray, d = l.algo, r = d.SHA512, a = d.SHA384 = r.extend({
2446
2454
  _doReset: function() {
@@ -2465,12 +2473,12 @@ function Tr() {
2465
2473
  });
2466
2474
  })(vt)), vt.exports;
2467
2475
  }
2468
- var ht = { exports: {} }, kr = ht.exports, Zi;
2469
- function xr() {
2476
+ var ht = { exports: {} }, xr = ht.exports, Zi;
2477
+ function Sr() {
2470
2478
  return Zi || (Zi = 1, (function(e, n) {
2471
2479
  (function(t, l, p) {
2472
2480
  e.exports = l(te(), jt());
2473
- })(kr, function(t) {
2481
+ })(xr, function(t) {
2474
2482
  return (function(l) {
2475
2483
  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
2484
  (function() {
@@ -2575,12 +2583,12 @@ function xr() {
2575
2583
  });
2576
2584
  })(ht)), ht.exports;
2577
2585
  }
2578
- var Tt = { exports: {} }, Sr = Tt.exports, Ki;
2579
- function Dr() {
2586
+ var Tt = { exports: {} }, Dr = Tt.exports, Ki;
2587
+ function Er() {
2580
2588
  return Ki || (Ki = 1, (function(e, n) {
2581
2589
  (function(t, l) {
2582
2590
  e.exports = l(te());
2583
- })(Sr, function(t) {
2591
+ })(Dr, function(t) {
2584
2592
  return (function(l) {
2585
2593
  var p = t, g = p.lib, b = g.WordArray, d = g.Hasher, r = p.algo, a = b.create([
2586
2594
  0,
@@ -2958,12 +2966,12 @@ function Dr() {
2958
2966
  });
2959
2967
  })(Tt)), Tt.exports;
2960
2968
  }
2961
- var kt = { exports: {} }, Er = kt.exports, qi;
2969
+ var kt = { exports: {} }, Nr = kt.exports, qi;
2962
2970
  function Ui() {
2963
2971
  return qi || (qi = 1, (function(e, n) {
2964
2972
  (function(t, l) {
2965
2973
  e.exports = l(te());
2966
- })(Er, function(t) {
2974
+ })(Nr, function(t) {
2967
2975
  (function() {
2968
2976
  var l = t, p = l.lib, g = p.Base, b = l.enc, d = b.Utf8, r = l.algo;
2969
2977
  r.HMAC = g.extend({
@@ -3036,12 +3044,12 @@ function Ui() {
3036
3044
  });
3037
3045
  })(kt)), kt.exports;
3038
3046
  }
3039
- var xt = { exports: {} }, Nr = xt.exports, $i;
3040
- function Lr() {
3047
+ var xt = { exports: {} }, Lr = xt.exports, $i;
3048
+ function Gr() {
3041
3049
  return $i || ($i = 1, (function(e, n) {
3042
3050
  (function(t, l, p) {
3043
3051
  e.exports = l(te(), yi(), Ui());
3044
- })(Nr, function(t) {
3052
+ })(Lr, function(t) {
3045
3053
  return (function() {
3046
3054
  var l = t, p = l.lib, g = p.Base, b = p.WordArray, d = l.algo, r = d.SHA256, a = d.HMAC, i = d.PBKDF2 = g.extend({
3047
3055
  /**
@@ -3103,12 +3111,12 @@ function Lr() {
3103
3111
  });
3104
3112
  })(xt)), xt.exports;
3105
3113
  }
3106
- var St = { exports: {} }, Gr = St.exports, Qi;
3114
+ var St = { exports: {} }, Mr = St.exports, Qi;
3107
3115
  function _a() {
3108
3116
  return Qi || (Qi = 1, (function(e, n) {
3109
3117
  (function(t, l, p) {
3110
3118
  e.exports = l(te(), el(), Ui());
3111
- })(Gr, function(t) {
3119
+ })(Mr, function(t) {
3112
3120
  return (function() {
3113
3121
  var l = t, p = l.lib, g = p.Base, b = p.WordArray, d = l.algo, r = d.MD5, a = d.EvpKDF = g.extend({
3114
3122
  /**
@@ -3166,12 +3174,12 @@ function _a() {
3166
3174
  });
3167
3175
  })(St)), St.exports;
3168
3176
  }
3169
- var Dt = { exports: {} }, Mr = Dt.exports, ji;
3177
+ var Dt = { exports: {} }, Rr = Dt.exports, ji;
3170
3178
  function Ne() {
3171
3179
  return ji || (ji = 1, (function(e, n) {
3172
3180
  (function(t, l, p) {
3173
3181
  e.exports = l(te(), _a());
3174
- })(Mr, function(t) {
3182
+ })(Rr, function(t) {
3175
3183
  t.lib.Cipher || (function(l) {
3176
3184
  var p = t, g = p.lib, b = g.Base, d = g.WordArray, r = g.BufferedBlockAlgorithm, a = p.enc;
3177
3185
  a.Utf8;
@@ -3704,12 +3712,12 @@ function Ne() {
3704
3712
  });
3705
3713
  })(Dt)), Dt.exports;
3706
3714
  }
3707
- var Et = { exports: {} }, Rr = Et.exports, Yi;
3708
- function Pr() {
3715
+ var Et = { exports: {} }, Pr = Et.exports, Yi;
3716
+ function wr() {
3709
3717
  return Yi || (Yi = 1, (function(e, n) {
3710
3718
  (function(t, l, p) {
3711
3719
  e.exports = l(te(), Ne());
3712
- })(Rr, function(t) {
3720
+ })(Pr, function(t) {
3713
3721
  return t.mode.CFB = (function() {
3714
3722
  var l = t.lib.BlockCipherMode.extend();
3715
3723
  l.Encryptor = l.extend({
@@ -3734,12 +3742,12 @@ function Pr() {
3734
3742
  });
3735
3743
  })(Et)), Et.exports;
3736
3744
  }
3737
- var Nt = { exports: {} }, wr = Nt.exports, Xi;
3738
- function Fr() {
3745
+ var Nt = { exports: {} }, Fr = Nt.exports, Xi;
3746
+ function Ar() {
3739
3747
  return Xi || (Xi = 1, (function(e, n) {
3740
3748
  (function(t, l, p) {
3741
3749
  e.exports = l(te(), Ne());
3742
- })(wr, function(t) {
3750
+ })(Fr, function(t) {
3743
3751
  return t.mode.CTR = (function() {
3744
3752
  var l = t.lib.BlockCipherMode.extend(), p = l.Encryptor = l.extend({
3745
3753
  processBlock: function(g, b) {
@@ -3756,12 +3764,12 @@ function Fr() {
3756
3764
  });
3757
3765
  })(Nt)), Nt.exports;
3758
3766
  }
3759
- var Lt = { exports: {} }, Ar = Lt.exports, en;
3760
- function Or() {
3767
+ var Lt = { exports: {} }, Or = Lt.exports, en;
3768
+ function Br() {
3761
3769
  return en || (en = 1, (function(e, n) {
3762
3770
  (function(t, l, p) {
3763
3771
  e.exports = l(te(), Ne());
3764
- })(Ar, function(t) {
3772
+ })(Or, function(t) {
3765
3773
  return t.mode.CTRGladman = (function() {
3766
3774
  var l = t.lib.BlockCipherMode.extend();
3767
3775
  function p(d) {
@@ -3790,12 +3798,12 @@ function Or() {
3790
3798
  });
3791
3799
  })(Lt)), Lt.exports;
3792
3800
  }
3793
- var Gt = { exports: {} }, Br = Gt.exports, an;
3794
- function Hr() {
3801
+ var Gt = { exports: {} }, Hr = Gt.exports, an;
3802
+ function Wr() {
3795
3803
  return an || (an = 1, (function(e, n) {
3796
3804
  (function(t, l, p) {
3797
3805
  e.exports = l(te(), Ne());
3798
- })(Br, function(t) {
3806
+ })(Hr, function(t) {
3799
3807
  return t.mode.OFB = (function() {
3800
3808
  var l = t.lib.BlockCipherMode.extend(), p = l.Encryptor = l.extend({
3801
3809
  processBlock: function(g, b) {
@@ -3810,12 +3818,12 @@ function Hr() {
3810
3818
  });
3811
3819
  })(Gt)), Gt.exports;
3812
3820
  }
3813
- var Mt = { exports: {} }, Wr = Mt.exports, tn;
3814
- function zr() {
3821
+ var Mt = { exports: {} }, zr = Mt.exports, tn;
3822
+ function Ir() {
3815
3823
  return tn || (tn = 1, (function(e, n) {
3816
3824
  (function(t, l, p) {
3817
3825
  e.exports = l(te(), Ne());
3818
- })(Wr, function(t) {
3826
+ })(zr, function(t) {
3819
3827
  return t.mode.ECB = (function() {
3820
3828
  var l = t.lib.BlockCipherMode.extend();
3821
3829
  return l.Encryptor = l.extend({
@@ -3831,12 +3839,12 @@ function zr() {
3831
3839
  });
3832
3840
  })(Mt)), Mt.exports;
3833
3841
  }
3834
- var Rt = { exports: {} }, Ir = Rt.exports, nn;
3835
- function Vr() {
3842
+ var Rt = { exports: {} }, Vr = Rt.exports, nn;
3843
+ function Jr() {
3836
3844
  return nn || (nn = 1, (function(e, n) {
3837
3845
  (function(t, l, p) {
3838
3846
  e.exports = l(te(), Ne());
3839
- })(Ir, function(t) {
3847
+ })(Vr, function(t) {
3840
3848
  return t.pad.AnsiX923 = {
3841
3849
  pad: function(l, p) {
3842
3850
  var g = l.sigBytes, b = p * 4, d = b - g % b, r = g + d - 1;
@@ -3850,12 +3858,12 @@ function Vr() {
3850
3858
  });
3851
3859
  })(Rt)), Rt.exports;
3852
3860
  }
3853
- var Pt = { exports: {} }, Jr = Pt.exports, ln;
3854
- function Zr() {
3861
+ var Pt = { exports: {} }, Zr = Pt.exports, ln;
3862
+ function Kr() {
3855
3863
  return ln || (ln = 1, (function(e, n) {
3856
3864
  (function(t, l, p) {
3857
3865
  e.exports = l(te(), Ne());
3858
- })(Jr, function(t) {
3866
+ })(Zr, function(t) {
3859
3867
  return t.pad.Iso10126 = {
3860
3868
  pad: function(l, p) {
3861
3869
  var g = p * 4, b = g - l.sigBytes % g;
@@ -3869,12 +3877,12 @@ function Zr() {
3869
3877
  });
3870
3878
  })(Pt)), Pt.exports;
3871
3879
  }
3872
- var wt = { exports: {} }, Kr = wt.exports, rn;
3873
- function qr() {
3880
+ var wt = { exports: {} }, qr = wt.exports, rn;
3881
+ function $r() {
3874
3882
  return rn || (rn = 1, (function(e, n) {
3875
3883
  (function(t, l, p) {
3876
3884
  e.exports = l(te(), Ne());
3877
- })(Kr, function(t) {
3885
+ })(qr, function(t) {
3878
3886
  return t.pad.Iso97971 = {
3879
3887
  pad: function(l, p) {
3880
3888
  l.concat(t.lib.WordArray.create([2147483648], 1)), t.pad.ZeroPadding.pad(l, p);
@@ -3886,12 +3894,12 @@ function qr() {
3886
3894
  });
3887
3895
  })(wt)), wt.exports;
3888
3896
  }
3889
- var Ft = { exports: {} }, $r = Ft.exports, on;
3890
- function Qr() {
3897
+ var Ft = { exports: {} }, Qr = Ft.exports, on;
3898
+ function jr() {
3891
3899
  return on || (on = 1, (function(e, n) {
3892
3900
  (function(t, l, p) {
3893
3901
  e.exports = l(te(), Ne());
3894
- })($r, function(t) {
3902
+ })(Qr, function(t) {
3895
3903
  return t.pad.ZeroPadding = {
3896
3904
  pad: function(l, p) {
3897
3905
  var g = p * 4;
@@ -3908,12 +3916,12 @@ function Qr() {
3908
3916
  });
3909
3917
  })(Ft)), Ft.exports;
3910
3918
  }
3911
- var At = { exports: {} }, jr = At.exports, sn;
3912
- function Yr() {
3919
+ var At = { exports: {} }, Yr = At.exports, sn;
3920
+ function Xr() {
3913
3921
  return sn || (sn = 1, (function(e, n) {
3914
3922
  (function(t, l, p) {
3915
3923
  e.exports = l(te(), Ne());
3916
- })(jr, function(t) {
3924
+ })(Yr, function(t) {
3917
3925
  return t.pad.NoPadding = {
3918
3926
  pad: function() {
3919
3927
  },
@@ -3923,12 +3931,12 @@ function Yr() {
3923
3931
  });
3924
3932
  })(At)), At.exports;
3925
3933
  }
3926
- var Ot = { exports: {} }, Xr = Ot.exports, mn;
3927
- function eo() {
3934
+ var Ot = { exports: {} }, eo = Ot.exports, mn;
3935
+ function ao() {
3928
3936
  return mn || (mn = 1, (function(e, n) {
3929
3937
  (function(t, l, p) {
3930
3938
  e.exports = l(te(), Ne());
3931
- })(Xr, function(t) {
3939
+ })(eo, function(t) {
3932
3940
  return (function(l) {
3933
3941
  var p = t, g = p.lib, b = g.CipherParams, d = p.enc, r = d.Hex, a = p.format;
3934
3942
  a.Hex = {
@@ -3970,12 +3978,12 @@ function eo() {
3970
3978
  });
3971
3979
  })(Ot)), Ot.exports;
3972
3980
  }
3973
- var Bt = { exports: {} }, ao = Bt.exports, un;
3974
- function to() {
3981
+ var Bt = { exports: {} }, to = Bt.exports, un;
3982
+ function io() {
3975
3983
  return un || (un = 1, (function(e, n) {
3976
3984
  (function(t, l, p) {
3977
3985
  e.exports = l(te(), xa(), Sa(), _a(), Ne());
3978
- })(ao, function(t) {
3986
+ })(to, function(t) {
3979
3987
  return (function() {
3980
3988
  var l = t, p = l.lib, g = p.BlockCipher, b = l.algo, d = [], r = [], a = [], i = [], o = [], m = [], u = [], s = [], c = [], f = [];
3981
3989
  (function() {
@@ -4030,12 +4038,12 @@ function to() {
4030
4038
  });
4031
4039
  })(Bt)), Bt.exports;
4032
4040
  }
4033
- var Ht = { exports: {} }, io = Ht.exports, pn;
4034
- function no() {
4041
+ var Ht = { exports: {} }, no = Ht.exports, pn;
4042
+ function lo() {
4035
4043
  return pn || (pn = 1, (function(e, n) {
4036
4044
  (function(t, l, p) {
4037
4045
  e.exports = l(te(), xa(), Sa(), _a(), Ne());
4038
- })(io, function(t) {
4046
+ })(no, function(t) {
4039
4047
  return (function() {
4040
4048
  var l = t, p = l.lib, g = p.WordArray, b = p.BlockCipher, d = l.algo, r = [
4041
4049
  57,
@@ -4750,12 +4758,12 @@ function no() {
4750
4758
  });
4751
4759
  })(Ht)), Ht.exports;
4752
4760
  }
4753
- var Wt = { exports: {} }, lo = Wt.exports, gn;
4754
- function ro() {
4761
+ var Wt = { exports: {} }, ro = Wt.exports, gn;
4762
+ function oo() {
4755
4763
  return gn || (gn = 1, (function(e, n) {
4756
4764
  (function(t, l, p) {
4757
4765
  e.exports = l(te(), xa(), Sa(), _a(), Ne());
4758
- })(lo, function(t) {
4766
+ })(ro, function(t) {
4759
4767
  return (function() {
4760
4768
  var l = t, p = l.lib, g = p.StreamCipher, b = l.algo, d = b.RC4 = g.extend({
4761
4769
  _doReset: function() {
@@ -4804,12 +4812,12 @@ function ro() {
4804
4812
  });
4805
4813
  })(Wt)), Wt.exports;
4806
4814
  }
4807
- var zt = { exports: {} }, oo = zt.exports, dn;
4808
- function so() {
4815
+ var zt = { exports: {} }, so = zt.exports, dn;
4816
+ function mo() {
4809
4817
  return dn || (dn = 1, (function(e, n) {
4810
4818
  (function(t, l, p) {
4811
4819
  e.exports = l(te(), xa(), Sa(), _a(), Ne());
4812
- })(oo, function(t) {
4820
+ })(so, function(t) {
4813
4821
  return (function() {
4814
4822
  var l = t, p = l.lib, g = p.StreamCipher, b = l.algo, d = [], r = [], a = [], i = b.Rabbit = g.extend({
4815
4823
  _doReset: function() {
@@ -4870,12 +4878,12 @@ function so() {
4870
4878
  });
4871
4879
  })(zt)), zt.exports;
4872
4880
  }
4873
- var It = { exports: {} }, mo = It.exports, cn;
4874
- function uo() {
4881
+ var It = { exports: {} }, uo = It.exports, cn;
4882
+ function po() {
4875
4883
  return cn || (cn = 1, (function(e, n) {
4876
4884
  (function(t, l, p) {
4877
4885
  e.exports = l(te(), xa(), Sa(), _a(), Ne());
4878
- })(mo, function(t) {
4886
+ })(uo, function(t) {
4879
4887
  return (function() {
4880
4888
  var l = t, p = l.lib, g = p.StreamCipher, b = l.algo, d = [], r = [], a = [], i = b.RabbitLegacy = g.extend({
4881
4889
  _doReset: function() {
@@ -4934,12 +4942,12 @@ function uo() {
4934
4942
  });
4935
4943
  })(It)), It.exports;
4936
4944
  }
4937
- var Vt = { exports: {} }, po = Vt.exports, fn;
4938
- function go() {
4945
+ var Vt = { exports: {} }, go = Vt.exports, fn;
4946
+ function co() {
4939
4947
  return fn || (fn = 1, (function(e, n) {
4940
4948
  (function(t, l, p) {
4941
4949
  e.exports = l(te(), xa(), Sa(), _a(), Ne());
4942
- })(po, function(t) {
4950
+ })(go, function(t) {
4943
4951
  return (function() {
4944
4952
  var l = t, p = l.lib, g = p.BlockCipher, b = l.algo;
4945
4953
  const d = 16, r = [
@@ -6056,17 +6064,17 @@ function go() {
6056
6064
  });
6057
6065
  })(Vt)), Vt.exports;
6058
6066
  }
6059
- var co = mt.exports, _n;
6060
- function fo() {
6067
+ var fo = mt.exports, _n;
6068
+ function _o() {
6061
6069
  return _n || (_n = 1, (function(e, n) {
6062
6070
  (function(t, l, p) {
6063
- e.exports = l(te(), jt(), ur(), gr(), xa(), fr(), Sa(), el(), yi(), Cr(), al(), Tr(), xr(), Dr(), Ui(), Lr(), _a(), Ne(), Pr(), Fr(), Or(), Hr(), zr(), Vr(), Zr(), qr(), Qr(), Yr(), eo(), to(), no(), ro(), so(), uo(), go());
6064
- })(co, function(t) {
6071
+ e.exports = l(te(), jt(), pr(), dr(), xa(), _r(), Sa(), el(), yi(), vr(), al(), kr(), Sr(), Er(), Ui(), Gr(), _a(), Ne(), wr(), Ar(), Br(), Wr(), Ir(), Jr(), Kr(), $r(), jr(), Xr(), ao(), io(), lo(), oo(), mo(), po(), co());
6072
+ })(fo, function(t) {
6065
6073
  return t;
6066
6074
  });
6067
6075
  })(mt)), mt.exports;
6068
6076
  }
6069
- var Zt = fo();
6077
+ var Zt = _o();
6070
6078
  const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6071
6079
  const n = "mySecretPassphrase", t = Ca.lib.WordArray.random(16), l = Ca.PBKDF2(n, t, {
6072
6080
  keySize: 128 / 32,
@@ -6363,7 +6371,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6363
6371
  getUserAvatarListApi: B,
6364
6372
  updateUserAvatarApi: W
6365
6373
  };
6366
- }, Tm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
6374
+ }, km = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
6367
6375
  const { userCurrencyExchangeApi: t } = oe(), { getToken: l } = se(), { enabled: p, ...g } = n, d = !!l?.() && (p ? p.every((r) => r) : !0);
6368
6376
  return Wn({
6369
6377
  queries: [
@@ -6377,7 +6385,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6377
6385
  }
6378
6386
  ]
6379
6387
  });
6380
- }, km = ({
6388
+ }, xm = ({
6381
6389
  refetchInterval: e = 5e4,
6382
6390
  trigger: n = [],
6383
6391
  enabled: t = !0
@@ -6393,7 +6401,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6393
6401
  }
6394
6402
  ]
6395
6403
  });
6396
- }, xm = ({ enabled: e = !0 } = {}) => {
6404
+ }, Sm = ({ enabled: e = !0 } = {}) => {
6397
6405
  const {
6398
6406
  userInfoApi: n,
6399
6407
  userFavoriteGameApi: t,
@@ -6488,7 +6496,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6488
6496
  [e]
6489
6497
  );
6490
6498
  return { playGameApi: l, betRecordApi: p, betRecordDetailApi: g };
6491
- }, _o = ({ options: e, formData: n } = {}) => {
6499
+ }, yo = ({ options: e, formData: n } = {}) => {
6492
6500
  const { betRecordApi: t } = bi();
6493
6501
  return j({
6494
6502
  queryKey: ["getBetRecord"],
@@ -6499,20 +6507,20 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
6499
6507
  })),
6500
6508
  ...e
6501
6509
  });
6502
- }, yo = ({ options: e, formData: n } = {}) => {
6510
+ }, Uo = ({ options: e, formData: n } = {}) => {
6503
6511
  const { betRecordDetailApi: t } = bi();
6504
6512
  return j({
6505
6513
  queryKey: ["getBetRecordDetail"],
6506
6514
  queryFn: async () => await t(n),
6507
6515
  ...e
6508
6516
  });
6509
- }, Sm = ({
6517
+ }, Dm = ({
6510
6518
  options: e = {
6511
6519
  betRecord: {},
6512
6520
  betRecordDetail: {}
6513
6521
  }
6514
6522
  }) => {
6515
- const n = _o({ options: e.betRecord }), t = yo({
6523
+ const n = yo({ options: e.betRecord }), t = Uo({
6516
6524
  options: e.betRecordDetail
6517
6525
  });
6518
6526
  return {
@@ -6528,7 +6536,7 @@ function nt(e) {
6528
6536
  }
6529
6537
  return e;
6530
6538
  }
6531
- var Uo = {
6539
+ var bo = {
6532
6540
  read: function(e) {
6533
6541
  return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
6534
6542
  },
@@ -6589,7 +6597,7 @@ function si(e, n) {
6589
6597
  }
6590
6598
  );
6591
6599
  }
6592
- var mi = si(Uo, { path: "/" }), ai = {}, Je = {}, ti = {}, yn;
6600
+ var mi = si(bo, { path: "/" }), ai = {}, Je = {}, ti = {}, yn;
6593
6601
  function ra() {
6594
6602
  return yn || (yn = 1, (function(e) {
6595
6603
  Object.defineProperty(e, "__esModule", { value: !0 }), e.isEventSourceSupported = e.isReactNative = e.ReadyState = e.DEFAULT_HEARTBEAT = e.UNPARSABLE_JSON_OBJECT = e.DEFAULT_RECONNECT_INTERVAL_MS = e.DEFAULT_RECONNECT_LIMIT = e.SOCKET_IO_PING_CODE = e.SOCKET_IO_PATH = e.SOCKET_IO_PING_INTERVAL = e.DEFAULT_EVENT_SOURCE_OPTIONS = e.EMPTY_EVENT_HANDLERS = e.DEFAULT_OPTIONS = void 0;
@@ -6616,7 +6624,7 @@ function ra() {
6616
6624
  e.isReactNative = typeof navigator < "u" && navigator.product === "ReactNative", e.isEventSourceSupported = !e.isReactNative && p();
6617
6625
  })(ti)), ti;
6618
6626
  }
6619
- var qa = {}, ii = {}, Un;
6627
+ var $a = {}, ii = {}, Un;
6620
6628
  function Ci() {
6621
6629
  return Un || (Un = 1, (function(e) {
6622
6630
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetWebSockets = e.sharedWebSockets = void 0, e.sharedWebSockets = {};
@@ -6692,7 +6700,7 @@ function tl() {
6692
6700
  }
6693
6701
  return lt;
6694
6702
  }
6695
- var $a = {}, ni = {}, vn;
6703
+ var Qa = {}, ni = {}, vn;
6696
6704
  function hi() {
6697
6705
  return vn || (vn = 1, (function(e) {
6698
6706
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetSubscribers = e.removeSubscriber = e.addSubscriber = e.hasSubscribers = e.getSubscribers = void 0;
@@ -6725,8 +6733,8 @@ function hi() {
6725
6733
  }
6726
6734
  var hn;
6727
6735
  function Ti() {
6728
- if (hn) return $a;
6729
- hn = 1, Object.defineProperty($a, "__esModule", { value: !0 }), $a.assertIsWebSocket = t, $a.resetGlobalState = l;
6736
+ if (hn) return Qa;
6737
+ hn = 1, Object.defineProperty(Qa, "__esModule", { value: !0 }), Qa.assertIsWebSocket = t, Qa.resetGlobalState = l;
6730
6738
  var e = Ci(), n = hi();
6731
6739
  function t(p, g) {
6732
6740
  if (!g && !(p instanceof WebSocket))
@@ -6735,10 +6743,10 @@ function Ti() {
6735
6743
  function l(p) {
6736
6744
  (0, n.resetSubscribers)(p), (0, e.resetWebSockets)(p);
6737
6745
  }
6738
- return $a;
6746
+ return Qa;
6739
6747
  }
6740
6748
  var Tn;
6741
- function bo() {
6749
+ function Co() {
6742
6750
  if (Tn) return va;
6743
6751
  Tn = 1;
6744
6752
  var e = va && va.__assign || function() {
@@ -6808,7 +6816,7 @@ function bo() {
6808
6816
  return va.attachListeners = a, va;
6809
6817
  }
6810
6818
  var ha = {}, kn;
6811
- function Co() {
6819
+ function vo() {
6812
6820
  if (kn) return ha;
6813
6821
  kn = 1;
6814
6822
  var e = ha && ha.__assign || function() {
@@ -6870,10 +6878,10 @@ function Co() {
6870
6878
  return ha.attachSharedListeners = i, ha;
6871
6879
  }
6872
6880
  var xn;
6873
- function vo() {
6874
- if (xn) return qa;
6875
- xn = 1, Object.defineProperty(qa, "__esModule", { value: !0 }), qa.createOrJoinSocket = void 0;
6876
- var e = Ci(), n = ra(), t = bo(), l = Co(), p = hi(), g = function(d, r, a, i, o) {
6881
+ function ho() {
6882
+ if (xn) return $a;
6883
+ xn = 1, Object.defineProperty($a, "__esModule", { value: !0 }), $a.createOrJoinSocket = void 0;
6884
+ var e = Ci(), n = ra(), t = Co(), l = vo(), p = hi(), g = function(d, r, a, i, o) {
6877
6885
  return function() {
6878
6886
  if ((0, p.removeSubscriber)(d, r), !(0, p.hasSubscribers)(d)) {
6879
6887
  try {
@@ -6910,10 +6918,10 @@ function vo() {
6910
6918
  }, i, m.current, u, s, c);
6911
6919
  }
6912
6920
  };
6913
- return qa.createOrJoinSocket = b, qa;
6921
+ return $a.createOrJoinSocket = b, $a;
6914
6922
  }
6915
6923
  var ma = {}, Sn;
6916
- function ho() {
6924
+ function To() {
6917
6925
  return Sn || (Sn = 1, (function(e) {
6918
6926
  var n = ma && ma.__awaiter || function(r, a, i, o) {
6919
6927
  function m(u) {
@@ -7050,7 +7058,7 @@ function ho() {
7050
7058
  })(ma)), ma;
7051
7059
  }
7052
7060
  var li = {}, Dn;
7053
- function To() {
7061
+ function ko() {
7054
7062
  return Dn || (Dn = 1, (function(e) {
7055
7063
  Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
7056
7064
  var n = function(t, l) {
@@ -7169,7 +7177,7 @@ function ki() {
7169
7177
  return m && m.__esModule ? m : { default: m };
7170
7178
  };
7171
7179
  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(m, u, s) {
7180
+ var p = de, g = Jl, b = ra(), d = ho(), r = To(), a = l(ko()), i = Ti(), o = function(m, u, s) {
7173
7181
  u === void 0 && (u = b.DEFAULT_OPTIONS), s === void 0 && (s = !0);
7174
7182
  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
7183
  if (!u.disableJson && f)
@@ -7255,7 +7263,7 @@ function ki() {
7255
7263
  return Je.useWebSocket = o, Je;
7256
7264
  }
7257
7265
  var Ta = {}, Nn;
7258
- function ko() {
7266
+ function xo() {
7259
7267
  if (Nn) return Ta;
7260
7268
  Nn = 1;
7261
7269
  var e = Ta && Ta.__assign || function() {
@@ -7301,7 +7309,7 @@ function ko() {
7301
7309
  return Ta.useSocketIO = b, Ta;
7302
7310
  }
7303
7311
  var ua = {}, Ln;
7304
- function xo() {
7312
+ function So() {
7305
7313
  if (Ln) return ua;
7306
7314
  Ln = 1;
7307
7315
  var e = ua && ua.__assign || function() {
@@ -7344,14 +7352,14 @@ function xo() {
7344
7352
  return ua.useEventSource = g, ua;
7345
7353
  }
7346
7354
  var Gn;
7347
- function So() {
7355
+ function Do() {
7348
7356
  return Gn || (Gn = 1, (function(e) {
7349
7357
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
7350
7358
  var n = ki();
7351
7359
  Object.defineProperty(e, "default", { enumerable: !0, get: function() {
7352
7360
  return n.useWebSocket;
7353
7361
  } });
7354
- var t = ko();
7362
+ var t = xo();
7355
7363
  Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
7356
7364
  return t.useSocketIO;
7357
7365
  } });
@@ -7359,7 +7367,7 @@ function So() {
7359
7367
  Object.defineProperty(e, "ReadyState", { enumerable: !0, get: function() {
7360
7368
  return l.ReadyState;
7361
7369
  } });
7362
- var p = xo();
7370
+ var p = So();
7363
7371
  Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
7364
7372
  return p.useEventSource;
7365
7373
  } });
@@ -7369,15 +7377,15 @@ function So() {
7369
7377
  } });
7370
7378
  })(ai)), ai;
7371
7379
  }
7372
- var Do = So();
7373
- const Eo = /* @__PURE__ */ _i(Do), No = ({
7380
+ var Eo = Do();
7381
+ const No = /* @__PURE__ */ _i(Eo), Lo = ({
7374
7382
  enable: e = !1,
7375
7383
  isTestFunction: n = !1,
7376
7384
  isTransferMode: t = !1,
7377
7385
  isInGameBox: l = !1,
7378
7386
  currentGamePlatform: p = ""
7379
7387
  }) => {
7380
- const { store: g, lng: b } = se(), { isReady: d, setAsReady: r, isPending: a, setAsPending: i } = Jn(), o = Qe(b), { mutateAsync: m } = Ho();
7388
+ const { store: g, lng: b } = se(), { isReady: d, setAsReady: r, isPending: a, setAsPending: i } = Jn(), o = Qe(b), { mutateAsync: m } = Wo();
7381
7389
  return !e || !n || !t ? { handleTransferInGame: () => {
7382
7390
  } } : { handleTransferInGame: async () => {
7383
7391
  console.log("執行遊戲內轉帳"), l && await m({
@@ -7389,7 +7397,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7389
7397
  r(), g.dispatch({
7390
7398
  type: "ui/showToast",
7391
7399
  payload: {
7392
- title: ja[o] || "System Prompt",
7400
+ title: Ba[o] || "System Prompt",
7393
7401
  description: "點數轉入成功,請確認遊戲餘額",
7394
7402
  status: "success"
7395
7403
  }
@@ -7402,7 +7410,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7402
7410
  localStorage.setItem("transfer_in_game_request_id", f), i(), g.dispatch({
7403
7411
  type: "ui/showToast",
7404
7412
  payload: {
7405
- title: ja[o] || "System Prompt",
7413
+ title: Ba[o] || "System Prompt",
7406
7414
  description: "您的上一筆訂單未完成,請耐心等候,我們正在為您處理",
7407
7415
  status: "warning"
7408
7416
  }
@@ -7416,7 +7424,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7416
7424
  }
7417
7425
  });
7418
7426
  } };
7419
- }, Ha = () => {
7427
+ }, Wa = () => {
7420
7428
  const { client: e } = se(), n = I(async () => {
7421
7429
  const { data: d } = await e.get("/carousels");
7422
7430
  return d;
@@ -7452,63 +7460,63 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7452
7460
  verifyPhoneBarApi: g,
7453
7461
  verifyDonationCodeApi: b
7454
7462
  };
7455
- }, Lo = ({ options: e } = {}) => {
7463
+ }, Go = ({ options: e } = {}) => {
7456
7464
  const { userLoginApi: n } = oe();
7457
7465
  return le({
7458
7466
  mutationKey: ["userLogin"],
7459
7467
  mutationFn: async (t) => n(t),
7460
7468
  ...e
7461
7469
  });
7462
- }, Go = ({ options: e } = {}) => {
7470
+ }, Mo = ({ options: e } = {}) => {
7463
7471
  const { userLogoutApi: n } = oe();
7464
7472
  return le({
7465
7473
  mutationKey: ["userLogout"],
7466
7474
  mutationFn: async () => n(),
7467
7475
  ...e
7468
7476
  });
7469
- }, Mo = ({ options: e } = {}) => {
7477
+ }, Ro = ({ options: e } = {}) => {
7470
7478
  const { userSignUpApi: n } = oe();
7471
7479
  return le({
7472
7480
  mutationKey: ["userSignUp"],
7473
7481
  mutationFn: async (t) => n(t),
7474
7482
  ...e
7475
7483
  });
7476
- }, Ro = ({ options: e } = {}) => {
7484
+ }, Po = ({ options: e } = {}) => {
7477
7485
  const { addOrRemoveFavoriteGameApi: n } = oe();
7478
7486
  return le({
7479
7487
  mutationKey: ["toggleFavoriteGame"],
7480
7488
  mutationFn: async (t) => n(t),
7481
7489
  ...e
7482
7490
  });
7483
- }, Po = ({ options: e } = {}) => {
7491
+ }, wo = ({ options: e } = {}) => {
7484
7492
  const { updateUserInfoApi: n } = oe();
7485
7493
  return le({
7486
7494
  mutationKey: ["updateUserInfo"],
7487
7495
  mutationFn: async (t) => n(t),
7488
7496
  ...e
7489
7497
  });
7490
- }, wo = ({ options: e } = {}) => {
7498
+ }, Fo = ({ options: e } = {}) => {
7491
7499
  const { resetUserPasswordApi: n } = oe();
7492
7500
  return le({
7493
7501
  mutationKey: ["resetUserPassword"],
7494
7502
  mutationFn: async (t) => n(t),
7495
7503
  ...e
7496
7504
  });
7497
- }, Fo = ({ options: e } = {}) => {
7505
+ }, Ao = ({ options: e } = {}) => {
7498
7506
  const { setUserTransactionPasswordApi: n } = oe();
7499
7507
  return le({
7500
7508
  mutationKey: ["setUserTransactionPassword"],
7501
7509
  mutationFn: async (t) => n(t),
7502
7510
  ...e
7503
7511
  });
7504
- }, Ao = ({ options: e } = {}) => {
7512
+ }, Oo = ({ options: e } = {}) => {
7505
7513
  const { resetUserTransactionPasswordApi: n } = oe();
7506
7514
  return le({
7507
7515
  mutationKey: ["resetUserTransactionPassword"],
7508
7516
  mutationFn: async (t) => n(t),
7509
7517
  ...e
7510
7518
  });
7511
- }, Oo = ({ paramsData: e, options: n } = {}) => {
7519
+ }, Bo = ({ paramsData: e, options: n } = {}) => {
7512
7520
  const { userRebateApi: t } = oe(), { getToken: l } = se();
7513
7521
  return l?.(), j({
7514
7522
  queryKey: ["userRebate", e],
@@ -7516,14 +7524,14 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7516
7524
  enabled: !1,
7517
7525
  ...n
7518
7526
  });
7519
- }, Bo = ({ options: e } = {}) => {
7527
+ }, Ho = ({ options: e } = {}) => {
7520
7528
  const { userBindBankApi: n } = oe();
7521
7529
  return le({
7522
7530
  mutationKey: ["userBindBank"],
7523
7531
  mutationFn: async (t) => n({ formData: t }),
7524
7532
  ...e
7525
7533
  });
7526
- }, Ho = ({ options: e } = {}) => {
7534
+ }, Wo = ({ options: e } = {}) => {
7527
7535
  const { transferInGameApi: n } = oe();
7528
7536
  return le({
7529
7537
  mutationKey: ["transferInGame"],
@@ -7531,7 +7539,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7531
7539
  retry: !1,
7532
7540
  ...e
7533
7541
  });
7534
- }, Dm = ({ options: e } = {}) => {
7542
+ }, Em = ({ options: e } = {}) => {
7535
7543
  const { currency: n } = se(), { pointTransferApi: t } = oe();
7536
7544
  return le({
7537
7545
  mutationKey: ["pointTransfer"],
@@ -7541,7 +7549,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7541
7549
  }),
7542
7550
  ...e
7543
7551
  });
7544
- }, Em = ({ options: e } = {}) => {
7552
+ }, Nm = ({ options: e } = {}) => {
7545
7553
  const { currency: n } = se(), { checkUserWagerApi: t } = oe();
7546
7554
  return j({
7547
7555
  queryKey: ["checkUserWager"],
@@ -7554,7 +7562,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7554
7562
  },
7555
7563
  ...e
7556
7564
  });
7557
- }, Nm = ({ options: e } = {}) => {
7565
+ }, Lm = ({ options: e } = {}) => {
7558
7566
  const n = fi(), { abandonPointsApi: t } = oe();
7559
7567
  return le({
7560
7568
  mutationKey: ["abandonPoint"],
@@ -7573,84 +7581,84 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7573
7581
  mutationFn: async (t) => n(t),
7574
7582
  ...e
7575
7583
  });
7576
- }, Wo = ({ options: e } = {}) => {
7584
+ }, zo = ({ options: e } = {}) => {
7577
7585
  const { lineLogin2Api: n } = oe();
7578
7586
  return le({
7579
7587
  mutationKey: ["lineLogin"],
7580
7588
  mutationFn: async (t) => n(t),
7581
7589
  ...e
7582
7590
  });
7583
- }, zo = ({ options: e, formData: n } = {}) => {
7591
+ }, Io = ({ options: e, formData: n } = {}) => {
7584
7592
  const { getMachineLoginCodeApi: t } = oe();
7585
7593
  return j({
7586
7594
  queryKey: ["getMachineLoginCode"],
7587
7595
  queryFn: async () => t(n),
7588
7596
  ...e
7589
7597
  });
7590
- }, Lm = ({ options: e } = {}) => {
7598
+ }, Gm = ({ options: e } = {}) => {
7591
7599
  const { currency: n } = se(), { memberTransferApi: t } = oe();
7592
7600
  return le({
7593
7601
  mutationKey: ["memberTransfer"],
7594
7602
  mutationFn: async (l) => t({ ...l, currency: n }),
7595
7603
  ...e
7596
7604
  });
7597
- }, Gm = ({ options: e } = {}) => {
7605
+ }, Mm = ({ options: e } = {}) => {
7598
7606
  const { mobileLoginApi: n } = oe();
7599
7607
  return le({
7600
7608
  mutationKey: ["mobileLogin"],
7601
7609
  mutationFn: async (t) => n(t),
7602
7610
  ...e
7603
7611
  });
7604
- }, Mm = ({ options: e } = {}) => {
7612
+ }, Rm = ({ options: e } = {}) => {
7605
7613
  const { mobileLoginApiV2: n } = oe();
7606
7614
  return le({
7607
7615
  mutationKey: ["mobileLoginV2"],
7608
7616
  mutationFn: async (t) => n(t),
7609
7617
  ...e
7610
7618
  });
7611
- }, Rm = ({ options: e } = {}) => {
7619
+ }, Pm = ({ options: e } = {}) => {
7612
7620
  const { mobileRegisterApi: n } = oe();
7613
7621
  return le({
7614
7622
  mutationKey: ["mobileRegister"],
7615
7623
  mutationFn: async (t) => n(t),
7616
7624
  ...e
7617
7625
  });
7618
- }, Io = ({ options: e } = {}) => {
7626
+ }, Vo = ({ options: e } = {}) => {
7619
7627
  const { bindAccountApi: n } = oe();
7620
7628
  return le({
7621
7629
  mutationKey: ["bindAccount"],
7622
7630
  mutationFn: async (t) => n(t),
7623
7631
  ...e
7624
7632
  });
7625
- }, Pm = ({ options: e } = {}) => {
7633
+ }, wm = ({ options: e } = {}) => {
7626
7634
  const { sendMobileVerifyCodeApi: n } = oe();
7627
7635
  return le({
7628
7636
  mutationKey: ["sendMobileVerifyCode"],
7629
7637
  mutationFn: async (t) => n(t),
7630
7638
  ...e
7631
7639
  });
7632
- }, wm = ({ options: e, paramsData: n } = {}) => {
7633
- const { verifyPhoneBarApi: t } = Ha();
7640
+ }, Fm = ({ options: e, paramsData: n } = {}) => {
7641
+ const { verifyPhoneBarApi: t } = Wa();
7634
7642
  return j({
7635
7643
  queryKey: ["verifyPhoneBar", n],
7636
7644
  queryFn: async () => t(n),
7637
7645
  ...e
7638
7646
  });
7639
- }, Fm = ({ options: e, paramsData: n } = {}) => {
7640
- const { verifyDonationCodeApi: t } = Ha();
7647
+ }, Am = ({ options: e, paramsData: n } = {}) => {
7648
+ const { verifyDonationCodeApi: t } = Wa();
7641
7649
  return j({
7642
7650
  queryKey: ["verifyDonationCode", n],
7643
7651
  queryFn: async () => t(n),
7644
7652
  ...e
7645
7653
  });
7646
- }, Am = ({ options: e } = {}) => {
7654
+ }, Om = ({ options: e } = {}) => {
7647
7655
  const { verifyResetActionApi: n } = oe();
7648
7656
  return le({
7649
7657
  mutationKey: ["verifyResetAction"],
7650
7658
  mutationFn: async (t) => n(t),
7651
7659
  ...e
7652
7660
  });
7653
- }, Om = ({ options: e, bonusData: n } = {}) => {
7661
+ }, Bm = ({ options: e, bonusData: n } = {}) => {
7654
7662
  const { getJackpotApi: t } = oe();
7655
7663
  return j({
7656
7664
  queryKey: ["getJackpotData"],
@@ -7669,14 +7677,14 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7669
7677
  },
7670
7678
  ...e
7671
7679
  });
7672
- }, Bm = ({ options: e } = {}) => {
7680
+ }, Hm = ({ options: e } = {}) => {
7673
7681
  const { getBetRankingApi: n } = oe();
7674
7682
  return j({
7675
7683
  queryKey: ["getBetRankingData"],
7676
7684
  queryFn: async () => n(),
7677
7685
  ...e
7678
7686
  });
7679
- }, Hm = ({ options: e } = {}) => {
7687
+ }, Wm = ({ options: e } = {}) => {
7680
7688
  const { getUserAvatarListApi: n } = oe();
7681
7689
  return j({
7682
7690
  queryKey: ["getAvatarList"],
@@ -7686,14 +7694,14 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7686
7694
  // },
7687
7695
  ...e
7688
7696
  });
7689
- }, Wm = ({ options: e } = {}) => {
7697
+ }, zm = ({ options: e } = {}) => {
7690
7698
  const { updateUserAvatarApi: n } = oe();
7691
7699
  return le({
7692
7700
  mutationKey: ["updateAvatar"],
7693
7701
  mutationFn: async (t) => n(t),
7694
7702
  ...e
7695
7703
  });
7696
- }, zm = ({
7704
+ }, Im = ({
7697
7705
  options: e = {
7698
7706
  login: {},
7699
7707
  logout: {},
@@ -7707,15 +7715,15 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7707
7715
  userBindCard: {}
7708
7716
  }
7709
7717
  } = {}) => {
7710
- const n = Lo({ options: e.login }), t = Go({ options: e.logout }), l = Mo({ options: e.register }), p = Po({ options: e.updateUserInfo }), g = Ro({
7718
+ const n = Go({ options: e.login }), t = Mo({ options: e.logout }), l = Ro({ options: e.register }), p = wo({ options: e.updateUserInfo }), g = Po({
7711
7719
  options: e.toggleFavoriteGame
7712
- }), b = wo({
7720
+ }), b = Fo({
7713
7721
  options: e.resetUserPassword
7714
- }), d = Fo({
7722
+ }), d = Ao({
7715
7723
  options: e.setUserTransactionPassword
7716
- }), r = Ao({
7724
+ }), r = Oo({
7717
7725
  options: e.resetUserTransactionPassword
7718
- }), a = Oo({ options: e.userRebate }), i = Bo({ options: e.userBindCard });
7726
+ }), a = Bo({ options: e.userRebate }), i = Ho({ options: e.userBindCard });
7719
7727
  return {
7720
7728
  login: n,
7721
7729
  logout: t,
@@ -7742,7 +7750,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7742
7750
  UPDATE_ONLY_ONE_MEMBER: "update_only_one_member",
7743
7751
  GAME_MAINTAIN: "game_maintain",
7744
7752
  LINE_LOGIN: "line_login"
7745
- }, Vo = 3e4, Im = ({
7753
+ }, Jo = 3e4, Vm = ({
7746
7754
  socketUrl: e,
7747
7755
  socketHandlers: n = {},
7748
7756
  options: t = {},
@@ -7769,7 +7777,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7769
7777
  },
7770
7778
  retry: !1
7771
7779
  }
7772
- }), { mutateAsync: v } = Wo({
7780
+ }), { mutateAsync: v } = zo({
7773
7781
  options: {
7774
7782
  onSuccess: (w) => {
7775
7783
  f.current.onLineLogin?.(w);
@@ -7778,7 +7786,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7778
7786
  b || C(R);
7779
7787
  }
7780
7788
  }
7781
- }), { handleTransferInGame: D } = No({
7789
+ }), { handleTransferInGame: D } = Lo({
7782
7790
  enable: U,
7783
7791
  isTestFunction: !0,
7784
7792
  isTransferMode: re(p, "isTransferMode", !1),
@@ -7795,7 +7803,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7795
7803
  readyState: k
7796
7804
  // WebSocket 連線狀態
7797
7805
  // getWebSocket, // 獲取 WebSocket 實例
7798
- } = Eo(e, {
7806
+ } = No(e, {
7799
7807
  queryParams: { key: "wsky" },
7800
7808
  onOpen: () => console.log("連線成功"),
7801
7809
  shouldReconnect: () => c.current === !1,
@@ -7812,7 +7820,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7812
7820
  ge(() => {
7813
7821
  const w = setInterval(
7814
7822
  () => E("ping"),
7815
- Vo
7823
+ Jo
7816
7824
  );
7817
7825
  return () => clearInterval(w);
7818
7826
  }, [E]);
@@ -7821,7 +7829,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7821
7829
  g && d.dispatch({
7822
7830
  type: "ui/openNotificationModal",
7823
7831
  payload: {
7824
- title: ja[s] || "System Prompt",
7832
+ title: Ba[s] || "System Prompt",
7825
7833
  content: w,
7826
7834
  type: "warning",
7827
7835
  props: R
@@ -7905,7 +7913,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7905
7913
  localStorage.removeItem("transfer_in_game_request_id"), o(), d.dispatch({
7906
7914
  type: "ui/showToast",
7907
7915
  payload: {
7908
- title: ja[s] || "System Prompt",
7916
+ title: Ba[s] || "System Prompt",
7909
7917
  description: `您於${ke}存入的${ce}元已經處理完成了,請確認遊戲餘額`,
7910
7918
  status: "success"
7911
7919
  }
@@ -7965,7 +7973,19 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7965
7973
  member_info_uid: y
7966
7974
  });
7967
7975
  }
7968
- }, [y, m, G, U]), {
7976
+ }, [y, m, G, U]), ge(() => {
7977
+ m ? d.dispatch({
7978
+ type: "ui/showToast",
7979
+ payload: {
7980
+ title: Ba[s] || "System Prompt",
7981
+ description: jl[s] || "We are processing your transfer",
7982
+ status: "warning",
7983
+ duration: 999999
7984
+ }
7985
+ }) : i && d.dispatch({
7986
+ type: "ui/clearToast"
7987
+ });
7988
+ }, [m, i, d, s]), {
7969
7989
  sendMessage: E,
7970
7990
  sendJsonMessage: G,
7971
7991
  readyState: k
@@ -8014,7 +8034,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8014
8034
  redeemEventRewardApi: l,
8015
8035
  settleEventApi: g
8016
8036
  };
8017
- }, Jo = ({ paramsData: e, options: n } = {}) => {
8037
+ }, Zo = ({ paramsData: e, options: n } = {}) => {
8018
8038
  const { store: t, lng: l, data2URL: p } = se(), { eventListApi: g } = Ya(), b = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", d = Qe(l);
8019
8039
  return j({
8020
8040
  queryKey: ["eventList", e],
@@ -8131,21 +8151,21 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8131
8151
  },
8132
8152
  ...n
8133
8153
  });
8134
- }, Vm = ({ options: e } = {}) => {
8154
+ }, Jm = ({ options: e } = {}) => {
8135
8155
  const { redeemEventRewardApi: n } = Ya();
8136
8156
  return le({
8137
8157
  mutationKey: ["redeemEventReward"],
8138
8158
  mutationFn: async (t) => n(t),
8139
8159
  ...e
8140
8160
  });
8141
- }, Zo = ({ options: e, formData: n } = {}) => {
8161
+ }, Ko = ({ options: e, formData: n } = {}) => {
8142
8162
  const { checkCurrentEventProgessApi: t } = Ya();
8143
8163
  return j({
8144
8164
  queryKey: ["checkEventProgress"],
8145
8165
  queryFn: async () => t(n),
8146
8166
  ...e
8147
8167
  });
8148
- }, Ko = ({ options: e, formData: n } = {}) => {
8168
+ }, qo = ({ options: e, formData: n } = {}) => {
8149
8169
  const { checkEventStatusApi: t } = Ya();
8150
8170
  return j({
8151
8171
  queryKey: ["checkEventStatus"],
@@ -8153,23 +8173,23 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8153
8173
  select: (l) => l.data.event_status,
8154
8174
  ...e
8155
8175
  });
8156
- }, Jm = ({ options: e } = {}) => {
8176
+ }, Zm = ({ options: e } = {}) => {
8157
8177
  const { settleEventApi: n } = Ya();
8158
8178
  return le({
8159
8179
  mutationKey: ["settleEvent"],
8160
8180
  mutationFn: async (t) => n(t),
8161
8181
  ...e
8162
8182
  });
8163
- }, Zm = ({
8183
+ }, Km = ({
8164
8184
  options: e = {
8165
8185
  eventList: {},
8166
8186
  checkEventProgress: {},
8167
8187
  checkEventStatus: {}
8168
8188
  }
8169
8189
  } = {}) => {
8170
- const n = Jo({ options: e.eventList }), t = Zo({
8190
+ const n = Zo({ options: e.eventList }), t = Ko({
8171
8191
  options: e.checkEventProgress
8172
- }), l = Ko({
8192
+ }), l = qo({
8173
8193
  options: e.checkEventStatus
8174
8194
  });
8175
8195
  return {
@@ -8177,8 +8197,8 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8177
8197
  checkEventProgressQuery: t,
8178
8198
  checkEventStatusQuery: l
8179
8199
  };
8180
- }, Km = ({ skipPreload: e = !1 } = {}) => {
8181
- const { lng: n, data2URL: t } = se(), { commonCarouselApi: l } = Ha(), p = Qe(n);
8200
+ }, qm = ({ skipPreload: e = !1 } = {}) => {
8201
+ const { lng: n, data2URL: t } = se(), { commonCarouselApi: l } = Wa(), p = Qe(n);
8182
8202
  return j({
8183
8203
  queryKey: ["getCarouselList", e],
8184
8204
  queryFn: async () => {
@@ -8205,8 +8225,8 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8205
8225
  };
8206
8226
  })
8207
8227
  });
8208
- }, qm = () => {
8209
- const { lng: e } = se(), { commonMarqueeApi: n } = Ha(), t = Qe(e);
8228
+ }, $m = () => {
8229
+ const { lng: e } = se(), { commonMarqueeApi: n } = Wa(), t = Qe(e);
8210
8230
  return j({
8211
8231
  queryKey: ["getMarqueeList"],
8212
8232
  queryFn: async () => {
@@ -8218,7 +8238,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8218
8238
  return Be(p, (b) => b[t] || b?.en_US);
8219
8239
  }
8220
8240
  });
8221
- }, $m = ({ options: e } = {}) => {
8241
+ }, Qm = ({ options: e } = {}) => {
8222
8242
  const { rankingGameApi: n } = oe();
8223
8243
  return j({
8224
8244
  queryKey: ["rankingGame"],
@@ -8260,10 +8280,10 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8260
8280
  ...e
8261
8281
  });
8262
8282
  };
8263
- var qo = Object.create, nl = Object.defineProperty, $o = Object.getOwnPropertyDescriptor, Qo = Object.getOwnPropertyNames, jo = Object.getPrototypeOf, Yo = Object.prototype.hasOwnProperty, Xo = (e, n) => () => (n || e((n = { exports: {} }).exports, n), n.exports), es = (e, n, t, l) => {
8264
- if (n && typeof n == "object" || typeof n == "function") for (let p of Qo(n)) !Yo.call(e, p) && p !== t && nl(e, p, { get: () => n[p], enumerable: !(l = $o(n, p)) || l.enumerable });
8283
+ var $o = Object.create, nl = Object.defineProperty, Qo = Object.getOwnPropertyDescriptor, jo = Object.getOwnPropertyNames, Yo = Object.getPrototypeOf, Xo = Object.prototype.hasOwnProperty, es = (e, n) => () => (n || e((n = { exports: {} }).exports, n), n.exports), as = (e, n, t, l) => {
8284
+ if (n && typeof n == "object" || typeof n == "function") for (let p of jo(n)) !Xo.call(e, p) && p !== t && nl(e, p, { get: () => n[p], enumerable: !(l = Qo(n, p)) || l.enumerable });
8265
8285
  return e;
8266
- }, as = (e, n, t) => (t = e != null ? qo(jo(e)) : {}, es(!e || !e.__esModule ? nl(t, "default", { value: e, enumerable: !0 }) : t, e)), ts = Xo((e, n) => {
8286
+ }, ts = (e, n, t) => (t = e != null ? $o(Yo(e)) : {}, as(!e || !e.__esModule ? nl(t, "default", { value: e, enumerable: !0 }) : t, e)), is = es((e, n) => {
8267
8287
  (function(t, l) {
8268
8288
  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 = {}));
8269
8289
  })(e, function(t) {
@@ -8292,12 +8312,12 @@ var qo = Object.create, nl = Object.defineProperty, $o = Object.getOwnPropertyDe
8292
8312
  t.addUniqueNumber = m, t.generateUniqueNumber = o;
8293
8313
  });
8294
8314
  });
8295
- as(ts());
8315
+ ts(is());
8296
8316
  var pa = (typeof window > "u" ? "undefined" : typeof window) == "object", Xe = { setTimeout: pa ? setTimeout.bind(window) : setTimeout, clearTimeout: pa ? clearTimeout.bind(window) : clearTimeout, setInterval: pa ? setInterval.bind(window) : setInterval, clearInterval: pa ? clearInterval.bind(window) : clearInterval };
8297
- function is(e) {
8317
+ function ns(e) {
8298
8318
  Xe.setTimeout = e.setTimeout, Xe.clearTimeout = e.clearTimeout, Xe.setInterval = e.setInterval, Xe.clearInterval = e.clearInterval;
8299
8319
  }
8300
- var wa = {}, ns = class {
8320
+ var wa = {}, ls = class {
8301
8321
  name;
8302
8322
  closed = !1;
8303
8323
  mc = new MessageChannel();
@@ -8345,14 +8365,14 @@ var wa = {}, ns = class {
8345
8365
  dispatchEvent(e) {
8346
8366
  return this.mc.port1.dispatchEvent(e);
8347
8367
  }
8348
- }, ls = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : ns;
8349
- function rs(e = 0) {
8368
+ }, rs = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : ls;
8369
+ function os(e = 0) {
8350
8370
  return new Promise((n) => Xe.setTimeout(n, e));
8351
8371
  }
8352
8372
  function ll() {
8353
8373
  return Math.random().toString(36).substring(2);
8354
8374
  }
8355
- var os = class {
8375
+ var ss = class {
8356
8376
  options;
8357
8377
  channel;
8358
8378
  token = ll();
@@ -8376,7 +8396,7 @@ var os = class {
8376
8396
  };
8377
8397
  this.channel.addEventListener("message", n);
8378
8398
  try {
8379
- return this.sendAction(0), await rs(this.options.responseTime), this.channel.removeEventListener("message", n), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
8399
+ return this.sendAction(0), await os(this.options.responseTime), this.channel.removeEventListener("message", n), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
8380
8400
  } catch {
8381
8401
  return !1;
8382
8402
  }
@@ -8432,7 +8452,7 @@ var os = class {
8432
8452
  }
8433
8453
  }
8434
8454
  }
8435
- }, ss = class {
8455
+ }, ms = class {
8436
8456
  channel;
8437
8457
  options;
8438
8458
  elector;
@@ -8442,9 +8462,9 @@ var os = class {
8442
8462
  isLastActive = !1;
8443
8463
  constructor(e) {
8444
8464
  let { channelName: n } = e;
8445
- if (this.options = e, this.channel = new ls(n), this.registry.set(this.token, 1), e.leaderElection) {
8465
+ if (this.options = e, this.channel = new rs(n), this.registry.set(this.token, 1), e.leaderElection) {
8446
8466
  let t = { fallbackInterval: 2e3, responseTime: 100 };
8447
- this.elector = new os(this.channel, t), this.elector.waitForLeadership();
8467
+ this.elector = new ss(this.channel, t), this.elector.waitForLeadership();
8448
8468
  }
8449
8469
  this.channel.addEventListener("message", (t) => {
8450
8470
  let { action: l, token: p, data: g } = t.data;
@@ -8534,8 +8554,8 @@ var os = class {
8534
8554
  close() {
8535
8555
  this.options.leaderElection && this.elector.close(), this.send(4), this.channel.close();
8536
8556
  }
8537
- }, ms = pa ? document : null, us = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
8538
- function ps(e, n) {
8557
+ }, us = pa ? document : null, ps = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
8558
+ function gs(e, n) {
8539
8559
  let t;
8540
8560
  function l(...p) {
8541
8561
  t && clearTimeout(t), t = setTimeout(() => {
@@ -8554,7 +8574,7 @@ function ri(e, n) {
8554
8574
  };
8555
8575
  }
8556
8576
  var Te = () => Date.now(), Fa = 2147483647;
8557
- function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: t = 0, element: l = ms, events: p = us, timers: g = void 0, immediateEvents: b = [], onPresenceChange: d = () => {
8577
+ function ds({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: t = 0, element: l = us, events: p = ps, timers: g = void 0, immediateEvents: b = [], onPresenceChange: d = () => {
8558
8578
  }, onPrompt: r = () => {
8559
8579
  }, onIdle: a = () => {
8560
8580
  }, onActive: i = () => {
@@ -8607,7 +8627,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8607
8627
  }, [m]);
8608
8628
  let fe = Oa(() => {
8609
8629
  let V = (De, ia) => ce.current(De, ia);
8610
- return u > 0 ? ps(V, u) : s > 0 ? ri(V, s) : V;
8630
+ return u > 0 ? gs(V, u) : s > 0 ? ri(V, s) : V;
8611
8631
  }, [s, u]), Ie = ee();
8612
8632
  ge(() => {
8613
8633
  U && v && (Ie.current = ri(() => {
@@ -8661,7 +8681,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8661
8681
  pa && Q.current && (M.current || V) && (K.current.forEach((De) => {
8662
8682
  Q.current.removeEventListener(De, ta.current, { capture: !0 });
8663
8683
  }), M.current = !1);
8664
- }, 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(() => {
8684
+ }, 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]), Ia = 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]), Va = I(() => x.current ? x.current.isLeader : null, [x]), Ja = I(() => x.current ? x.current.isLastActive : null, [x]), da = I(() => x.current ? x.current.token : null, [x]), ya = I(() => {
8665
8685
  if (B.current) return R.current;
8666
8686
  let V = R.current ? R.current : N.current + L.current, De = h.current ? Te() - h.current : 0, ia = Math.floor(V - De);
8667
8687
  return ia < 0 ? 0 : Math.abs(ia);
@@ -8674,7 +8694,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8674
8694
  }, [k, F]);
8675
8695
  ge(() => {
8676
8696
  if (u > 0 && s > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
8677
- g && is(g);
8697
+ g && ns(g);
8678
8698
  let V = () => {
8679
8699
  x.current && x.current.close(), fe.cancel && fe.cancel(), Ce(), Re(!0);
8680
8700
  };
@@ -8682,7 +8702,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8682
8702
  pa && window.removeEventListener("beforeunload", V), x.current && x.current.close(), fe.cancel && fe.cancel(), Ce(), Re(!0);
8683
8703
  };
8684
8704
  }, []), ge(() => {
8685
- x.current && x.current.close(), U ? x.current = new ss({ channelName: C, leaderElection: D, onPrompt: () => {
8705
+ x.current && x.current.close(), U ? x.current = new ms({ channelName: C, leaderElection: D, onPrompt: () => {
8686
8706
  ea();
8687
8707
  }, onIdle: () => {
8688
8708
  Me();
@@ -8702,7 +8722,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8702
8722
  }, [l, JSON.stringify(p), JSON.stringify(b), W, E, y, f]), ge(() => {
8703
8723
  W.current && (W.current = !1);
8704
8724
  }, [W]);
8705
- let Se = { message: za, start: je, reset: oa, activate: ga, pause: Ve, resume: Ye, isIdle: Da, isPrompted: Ea, isLeader: Ia, isLastActiveTab: Va, getTabId: da, getRemainingTime: ya, getElapsedTime: Ke, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: Na, getIdleTime: La, getTotalIdleTime: Ua, getActiveTime: Ga, getTotalActiveTime: Ma, setOnPresenceChange: (V) => {
8725
+ let Se = { message: Ia, start: je, reset: oa, activate: ga, pause: Ve, resume: Ye, isIdle: Da, isPrompted: Ea, isLeader: Va, isLastActiveTab: Ja, getTabId: da, getRemainingTime: ya, getElapsedTime: Ke, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: Na, getIdleTime: La, getTotalIdleTime: Ua, getActiveTime: Ga, getTotalActiveTime: Ma, setOnPresenceChange: (V) => {
8706
8726
  d = V, ie.current = V;
8707
8727
  }, setOnPrompt: (V) => {
8708
8728
  r = V, ye.current = V;
@@ -8717,16 +8737,16 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8717
8737
  } };
8718
8738
  return Se;
8719
8739
  }
8720
- var ds = qt(null);
8721
- ds.Consumer;
8722
- const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8740
+ var cs = qt(null);
8741
+ cs.Consumer;
8742
+ const jm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => ds({
8723
8743
  onIdle: e,
8724
8744
  onActive: n,
8725
8745
  onAction: t,
8726
8746
  timeout: l,
8727
8747
  throttle: 500
8728
- }), cs = ({ options: e } = {}) => {
8729
- const { commonInboxApi: n } = Ha(), { getToken: t, lng: l } = se(), p = t?.(), g = Qe(l);
8748
+ }), fs = ({ options: e } = {}) => {
8749
+ const { commonInboxApi: n } = Wa(), { getToken: t, lng: l } = se(), p = t?.(), g = Qe(l);
8730
8750
  return j({
8731
8751
  queryKey: ["inboxList"],
8732
8752
  queryFn: async () => await n(),
@@ -8746,20 +8766,20 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8746
8766
  enabled: !!p,
8747
8767
  ...e
8748
8768
  });
8749
- }, fs = ({ options: e } = {}) => {
8750
- const { commonReadInboxApi: n } = Ha();
8769
+ }, _s = ({ options: e } = {}) => {
8770
+ const { commonReadInboxApi: n } = Wa();
8751
8771
  return le({
8752
8772
  mutationKey: ["readInbox"],
8753
8773
  mutationFn: async (t) => await n(t),
8754
8774
  ...e
8755
8775
  });
8756
- }, jm = ({
8776
+ }, Ym = ({
8757
8777
  options: e = {
8758
8778
  inboxList: {},
8759
8779
  readInbox: {}
8760
8780
  }
8761
8781
  } = {}) => {
8762
- const n = cs({ options: e.inboxList }), t = fs({ options: e.readInbox });
8782
+ const n = fs({ options: e.inboxList }), t = _s({ options: e.readInbox });
8763
8783
  return {
8764
8784
  inboxListQuery: n,
8765
8785
  readInboxMutation: t
@@ -8774,7 +8794,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8774
8794
  [e]
8775
8795
  )
8776
8796
  };
8777
- }, _s = ({
8797
+ }, ys = ({
8778
8798
  typeConfig: e = {
8779
8799
  all: {},
8780
8800
  crypto: {},
@@ -8820,7 +8840,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8820
8840
  value: "other",
8821
8841
  ...e.other
8822
8842
  }
8823
- ], Ym = ({ options: e, formData: n } = {}) => {
8843
+ ], Xm = ({ options: e, formData: n } = {}) => {
8824
8844
  const { lng: t } = se(), { newsListApi: l } = rl(), p = Qe(t);
8825
8845
  return j({
8826
8846
  queryKey: ["newsList"],
@@ -8841,12 +8861,12 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8841
8861
  return {
8842
8862
  ...g.data,
8843
8863
  data: r,
8844
- blogType: _s({ typeConfig: e?.typeConfig })
8864
+ blogType: ys({ typeConfig: e?.typeConfig })
8845
8865
  };
8846
8866
  },
8847
8867
  ...e
8848
8868
  });
8849
- }, Xm = ({ options: e, formData: n } = {}) => {
8869
+ }, eu = ({ options: e, formData: n } = {}) => {
8850
8870
  const { lng: t } = se(), { newsListApi: l } = rl(), p = Qe(t);
8851
8871
  return j({
8852
8872
  queryKey: ["newsList"],
@@ -9035,14 +9055,14 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9035
9055
  transactionRecordApi: m,
9036
9056
  treasureRecordApi: u
9037
9057
  };
9038
- }, ys = ({ options: e } = {}) => {
9058
+ }, Us = ({ options: e } = {}) => {
9039
9059
  const { depositApiV1: n } = Ae();
9040
9060
  return j({
9041
9061
  queryKey: ["depositV1"],
9042
9062
  queryFn: n,
9043
9063
  ...e
9044
9064
  });
9045
- }, Us = ({ paramsData: e, options: n } = {}) => {
9065
+ }, bs = ({ paramsData: e, options: n } = {}) => {
9046
9066
  const { depositApiV2: t } = Ae();
9047
9067
  return j({
9048
9068
  queryKey: ["depositV2", e],
@@ -9067,105 +9087,105 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9067
9087
  },
9068
9088
  ...n
9069
9089
  });
9070
- }, bs = ({ options: e } = {}) => {
9090
+ }, Cs = ({ options: e } = {}) => {
9071
9091
  const { depositApi: n } = Ae();
9072
9092
  return le({
9073
9093
  mutationKey: ["depositAction"],
9074
9094
  mutationFn: async (t) => n(t),
9075
9095
  ...e
9076
9096
  });
9077
- }, Cs = ({ options: e } = {}) => {
9097
+ }, vs = ({ options: e } = {}) => {
9078
9098
  const { withdrawApi: n } = Ae();
9079
9099
  return le({
9080
9100
  mutationKey: ["withdrawAction"],
9081
9101
  mutationFn: async (t) => n(t),
9082
9102
  ...e
9083
9103
  });
9084
- }, vs = ({ paramsData: e, options: n } = {}) => {
9104
+ }, hs = ({ paramsData: e, options: n } = {}) => {
9085
9105
  const { depositTransactionApi: t } = Ae();
9086
9106
  return j({
9087
9107
  queryKey: ["depositTransaction", e],
9088
9108
  queryFn: () => t({ paramsData: e }),
9089
9109
  ...n
9090
9110
  });
9091
- }, hs = ({ paramsData: e, options: n } = {}) => {
9111
+ }, Ts = ({ paramsData: e, options: n } = {}) => {
9092
9112
  const { eventTransactionApi: t } = Ae();
9093
9113
  return j({
9094
9114
  queryKey: ["eventTransaction", e],
9095
9115
  queryFn: () => t({ paramsData: e }),
9096
9116
  ...n
9097
9117
  });
9098
- }, Ts = ({ options: e } = {}) => {
9118
+ }, ks = ({ options: e } = {}) => {
9099
9119
  const { bankDepositApi: n } = Ae();
9100
9120
  return le({
9101
9121
  mutationKey: ["bankDeposit"],
9102
9122
  mutationFn: async (t) => n(t),
9103
9123
  ...e
9104
9124
  });
9105
- }, ks = ({ paramsData: e, options: n } = {}) => {
9125
+ }, xs = ({ paramsData: e, options: n } = {}) => {
9106
9126
  const { withdrawTransactionApi: t } = Ae();
9107
9127
  return j({
9108
9128
  queryKey: ["withdrawTransaction", e],
9109
9129
  queryFn: () => t({ paramsData: e }),
9110
9130
  ...n
9111
9131
  });
9112
- }, eu = ({ options: e } = {}) => {
9132
+ }, au = ({ options: e } = {}) => {
9113
9133
  const { redeemCodeDepositApi: n } = Ae();
9114
9134
  return le({
9115
9135
  mutationKey: ["redeemCodeDeposit"],
9116
9136
  mutationFn: async (t) => n(t),
9117
9137
  ...e
9118
9138
  });
9119
- }, au = ({ options: e } = {}) => {
9139
+ }, tu = ({ options: e } = {}) => {
9120
9140
  const { invoiceApi: n } = Ae();
9121
9141
  return le({
9122
9142
  mutationKey: ["invoiceAction"],
9123
9143
  mutationFn: async (t) => n(t),
9124
9144
  ...e
9125
9145
  });
9126
- }, tu = ({ options: e } = {}) => {
9146
+ }, iu = ({ options: e } = {}) => {
9127
9147
  const { updateInvoiceApi: n } = Ae();
9128
9148
  return le({
9129
9149
  mutationKey: ["updateInvoiceAction"],
9130
9150
  mutationFn: async (t) => n(t),
9131
9151
  ...e
9132
9152
  });
9133
- }, iu = ({ options: e, paramsData: n } = {}) => {
9153
+ }, nu = ({ options: e, paramsData: n } = {}) => {
9134
9154
  const { transactionRecordApi: t } = Ae();
9135
9155
  return j({
9136
9156
  queryKey: ["transactionRecord", "deposit"],
9137
9157
  queryFn: () => t(n, "deposit"),
9138
9158
  ...e
9139
9159
  });
9140
- }, nu = ({ options: e, paramsData: n } = {}) => {
9160
+ }, lu = ({ options: e, paramsData: n } = {}) => {
9141
9161
  const { transactionRecordApi: t } = Ae();
9142
9162
  return j({
9143
9163
  queryKey: ["transactionRecord", "withdraw"],
9144
9164
  queryFn: () => t(n, "withdraw"),
9145
9165
  ...e
9146
9166
  });
9147
- }, lu = ({ options: e, paramsData: n } = {}) => {
9167
+ }, ru = ({ options: e, paramsData: n } = {}) => {
9148
9168
  const { transactionRecordApi: t } = Ae();
9149
9169
  return j({
9150
9170
  queryKey: ["transactionRecord", "event"],
9151
9171
  queryFn: () => t(n, "event"),
9152
9172
  ...e
9153
9173
  });
9154
- }, ru = ({ options: e, paramsData: n } = {}) => {
9174
+ }, ou = ({ options: e, paramsData: n } = {}) => {
9155
9175
  const { transactionRecordApi: t } = Ae();
9156
9176
  return j({
9157
9177
  queryKey: ["transactionRecord", "rebate"],
9158
9178
  queryFn: () => t(n, "rebate"),
9159
9179
  ...e
9160
9180
  });
9161
- }, ou = ({ options: e, paramsData: n } = {}) => {
9181
+ }, su = ({ options: e, paramsData: n } = {}) => {
9162
9182
  const { treasureRecordApi: t } = Ae();
9163
9183
  return j({
9164
9184
  queryKey: ["treasureRecord", n],
9165
9185
  queryFn: () => t(n),
9166
9186
  ...e
9167
9187
  });
9168
- }, su = ({
9188
+ }, mu = ({
9169
9189
  depositV1: e = {},
9170
9190
  depositV2: n = {},
9171
9191
  depositTransaction: t = {},
@@ -9175,7 +9195,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9175
9195
  eventTransaction: b = {},
9176
9196
  withdrawTransaction: d = {}
9177
9197
  } = {}) => {
9178
- const r = ys(e), a = Us(n), i = vs(t), o = bs(l), m = Cs(p), u = Ts(g), s = hs(b), c = ks(
9198
+ const r = Us(e), a = bs(n), i = hs(t), o = Cs(l), m = vs(p), u = ks(g), s = Ts(b), c = xs(
9179
9199
  d
9180
9200
  );
9181
9201
  return {
@@ -9188,24 +9208,24 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9188
9208
  eventTransaction: s,
9189
9209
  withdrawTransaction: c
9190
9210
  };
9191
- }, 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) => {
9211
+ }, ol = "3.7.8", Ss = ol, za = typeof Buffer == "function", Mn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Rn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Ds = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", ja = Array.prototype.slice.call(Ds), rt = ((e) => {
9192
9212
  let n = {};
9193
9213
  return e.forEach((t, l) => n[t] = l), n;
9194
- })(Qa), Ds = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), Pn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), sl = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), ml = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), ul = (e) => {
9214
+ })(ja), Es = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), Pn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), sl = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), ml = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), ul = (e) => {
9195
9215
  let n, t, l, p, g = "";
9196
9216
  const b = e.length % 3;
9197
9217
  for (let d = 0; d < e.length; ) {
9198
9218
  if ((t = e.charCodeAt(d++)) > 255 || (l = e.charCodeAt(d++)) > 255 || (p = e.charCodeAt(d++)) > 255)
9199
9219
  throw new TypeError("invalid character found");
9200
- n = t << 16 | l << 8 | p, g += Qa[n >> 18 & 63] + Qa[n >> 12 & 63] + Qa[n >> 6 & 63] + Qa[n & 63];
9220
+ n = t << 16 | l << 8 | p, g += ja[n >> 18 & 63] + ja[n >> 12 & 63] + ja[n >> 6 & 63] + ja[n & 63];
9201
9221
  }
9202
9222
  return b ? g.slice(0, b - 3) + "===".substring(b) : g;
9203
- }, xi = typeof btoa == "function" ? (e) => btoa(e) : Wa ? (e) => Buffer.from(e, "binary").toString("base64") : ul, ui = Wa ? (e) => Buffer.from(e).toString("base64") : (e) => {
9223
+ }, xi = typeof btoa == "function" ? (e) => btoa(e) : za ? (e) => Buffer.from(e, "binary").toString("base64") : ul, ui = za ? (e) => Buffer.from(e).toString("base64") : (e) => {
9204
9224
  let t = [];
9205
9225
  for (let l = 0, p = e.length; l < p; l += 4096)
9206
9226
  t.push(Le.apply(null, e.subarray(l, l + 4096)));
9207
9227
  return xi(t.join(""));
9208
- }, Jt = (e, n = !1) => n ? sl(ui(e)) : ui(e), Es = (e) => {
9228
+ }, Jt = (e, n = !1) => n ? sl(ui(e)) : ui(e), Ns = (e) => {
9209
9229
  if (e.length < 2) {
9210
9230
  var n = e.charCodeAt(0);
9211
9231
  return n < 128 ? e : n < 2048 ? Le(192 | n >>> 6) + Le(128 | n & 63) : Le(224 | n >>> 12 & 15) + Le(128 | n >>> 6 & 63) + Le(128 | n & 63);
@@ -9213,7 +9233,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9213
9233
  var n = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
9214
9234
  return Le(240 | n >>> 18 & 7) + Le(128 | n >>> 12 & 63) + Le(128 | n >>> 6 & 63) + Le(128 | n & 63);
9215
9235
  }
9216
- }, Ns = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, pl = (e) => e.replace(Ns, Es), wn = Wa ? (e) => Buffer.from(e, "utf8").toString("base64") : Rn ? (e) => ui(Rn.encode(e)) : (e) => xi(pl(e)), Ba = (e, n = !1) => n ? sl(wn(e)) : wn(e), Fn = (e) => Ba(e, !0), Ls = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Gs = (e) => {
9236
+ }, Ls = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, pl = (e) => e.replace(Ls, Ns), wn = za ? (e) => Buffer.from(e, "utf8").toString("base64") : Rn ? (e) => ui(Rn.encode(e)) : (e) => xi(pl(e)), Ha = (e, n = !1) => n ? sl(wn(e)) : wn(e), Fn = (e) => Ha(e, !0), Gs = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Ms = (e) => {
9217
9237
  switch (e.length) {
9218
9238
  case 4:
9219
9239
  var n = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), t = n - 65536;
@@ -9223,15 +9243,15 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9223
9243
  default:
9224
9244
  return Le((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
9225
9245
  }
9226
- }, gl = (e) => e.replace(Ls, Gs), dl = (e) => {
9227
- if (e = e.replace(/\s+/g, ""), !Ds.test(e))
9246
+ }, gl = (e) => e.replace(Gs, Ms), dl = (e) => {
9247
+ if (e = e.replace(/\s+/g, ""), !Es.test(e))
9228
9248
  throw new TypeError("malformed base64.");
9229
9249
  e += "==".slice(2 - (e.length & 3));
9230
9250
  let n, t, l, p = [];
9231
9251
  for (let g = 0; g < e.length; )
9232
9252
  n = rt[e.charAt(g++)] << 18 | rt[e.charAt(g++)] << 12 | (t = rt[e.charAt(g++)]) << 6 | (l = rt[e.charAt(g++)]), t === 64 ? p.push(Le(n >> 16 & 255)) : l === 64 ? p.push(Le(n >> 16 & 255, n >> 8 & 255)) : p.push(Le(n >> 16 & 255, n >> 8 & 255, n & 255));
9233
9253
  return p.join("");
9234
- }, Si = typeof atob == "function" ? (e) => atob(ml(e)) : Wa ? (e) => Buffer.from(e, "base64").toString("binary") : dl, cl = Wa ? (e) => Pn(Buffer.from(e, "base64")) : (e) => Pn(Si(e).split("").map((n) => n.charCodeAt(0))), fl = (e) => cl(_l(e)), Ms = Wa ? (e) => Buffer.from(e, "base64").toString("utf8") : Mn ? (e) => Mn.decode(cl(e)) : (e) => gl(Si(e)), _l = (e) => ml(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), pi = (e) => Ms(_l(e)), Rs = (e) => {
9254
+ }, Si = typeof atob == "function" ? (e) => atob(ml(e)) : za ? (e) => Buffer.from(e, "base64").toString("binary") : dl, cl = za ? (e) => Pn(Buffer.from(e, "base64")) : (e) => Pn(Si(e).split("").map((n) => n.charCodeAt(0))), fl = (e) => cl(_l(e)), Rs = za ? (e) => Buffer.from(e, "base64").toString("utf8") : Mn ? (e) => Mn.decode(cl(e)) : (e) => gl(Si(e)), _l = (e) => ml(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), pi = (e) => Rs(_l(e)), Ps = (e) => {
9235
9255
  if (typeof e != "string")
9236
9256
  return !1;
9237
9257
  const n = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
@@ -9246,11 +9266,11 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9246
9266
  e("fromBase64", function() {
9247
9267
  return pi(this);
9248
9268
  }), e("toBase64", function(n) {
9249
- return Ba(this, n);
9269
+ return Ha(this, n);
9250
9270
  }), e("toBase64URI", function() {
9251
- return Ba(this, !0);
9271
+ return Ha(this, !0);
9252
9272
  }), e("toBase64URL", function() {
9253
- return Ba(this, !0);
9273
+ return Ha(this, !0);
9254
9274
  }), e("toUint8Array", function() {
9255
9275
  return fl(this);
9256
9276
  });
@@ -9263,30 +9283,30 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9263
9283
  }), e("toBase64URL", function() {
9264
9284
  return Jt(this, !0);
9265
9285
  });
9266
- }, Ps = () => {
9286
+ }, ws = () => {
9267
9287
  Ul(), bl();
9268
- }, ws = {
9288
+ }, Fs = {
9269
9289
  version: ol,
9270
- VERSION: xs,
9290
+ VERSION: Ss,
9271
9291
  atob: Si,
9272
9292
  atobPolyfill: dl,
9273
9293
  btoa: xi,
9274
9294
  btoaPolyfill: ul,
9275
9295
  fromBase64: pi,
9276
- toBase64: Ba,
9277
- encode: Ba,
9296
+ toBase64: Ha,
9297
+ encode: Ha,
9278
9298
  encodeURI: Fn,
9279
9299
  encodeURL: Fn,
9280
9300
  utob: pl,
9281
9301
  btou: gl,
9282
9302
  decode: pi,
9283
- isValid: Rs,
9303
+ isValid: Ps,
9284
9304
  fromUint8Array: Jt,
9285
9305
  toUint8Array: fl,
9286
9306
  extendString: Ul,
9287
9307
  extendUint8Array: bl,
9288
- extendBuiltins: Ps
9289
- }, mu = (e, n) => {
9308
+ extendBuiltins: ws
9309
+ }, uu = (e, n) => {
9290
9310
  const { playGameApi: t } = bi();
9291
9311
  return j({
9292
9312
  queryKey: ["playGame"],
@@ -9313,7 +9333,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9313
9333
  supportPortrait: m,
9314
9334
  isHtmlCode: s,
9315
9335
  gameUrl: u,
9316
- decodeGameUrl: ws.decode(u),
9336
+ decodeGameUrl: Fs.decode(u),
9317
9337
  message: c
9318
9338
  };
9319
9339
  },
@@ -9326,7 +9346,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9326
9346
  currentRebateApi: n,
9327
9347
  receiveRebateApi: t
9328
9348
  };
9329
- }, Fs = ({ options: e } = {}) => {
9349
+ }, As = ({ options: e } = {}) => {
9330
9350
  const { currentRebateApi: n } = Cl();
9331
9351
  return j({
9332
9352
  queryKey: ["currentRebate"],
@@ -9334,20 +9354,20 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9334
9354
  select: (t) => zl(t, ["code", "status"]),
9335
9355
  ...e
9336
9356
  });
9337
- }, As = ({ options: e } = {}) => {
9357
+ }, Os = ({ options: e } = {}) => {
9338
9358
  const { receiveRebateApi: n } = Cl();
9339
9359
  return le({
9340
9360
  mutationKey: ["receiveRebate"],
9341
9361
  mutationFn: async () => n(),
9342
9362
  ...e
9343
9363
  });
9344
- }, uu = ({
9364
+ }, pu = ({
9345
9365
  options: e = {
9346
9366
  currentRebate: {},
9347
9367
  receiveRebate: {}
9348
9368
  }
9349
9369
  } = {}) => {
9350
- const n = Fs({ options: e.currentRebate }), t = As({ options: e.receiveRebate });
9370
+ const n = As({ options: e.currentRebate }), t = Os({ options: e.receiveRebate });
9351
9371
  return {
9352
9372
  currentRebate: n,
9353
9373
  receiveRebate: t
@@ -9371,7 +9391,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9371
9391
  redeemRewardApi: p,
9372
9392
  historyRewardApi: g
9373
9393
  };
9374
- }, Os = ({ options: e, formData: n } = {}) => {
9394
+ }, Bs = ({ options: e, formData: n } = {}) => {
9375
9395
  const { rewardListApi: t } = Xa();
9376
9396
  return j({
9377
9397
  queryKey: ["rewardsList"],
@@ -9411,35 +9431,35 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9411
9431
  },
9412
9432
  ...e
9413
9433
  });
9414
- }, Bs = ({ options: e } = {}) => {
9434
+ }, Hs = ({ options: e } = {}) => {
9415
9435
  const { redeemRewardApi: n } = Xa();
9416
9436
  return le({
9417
9437
  mutationKey: ["redeemReward"],
9418
9438
  mutationFn: async (t) => await n(t),
9419
9439
  ...e
9420
9440
  });
9421
- }, Hs = ({ options: e } = {}) => {
9441
+ }, Ws = ({ options: e } = {}) => {
9422
9442
  const { unUsedRewardListApi: n } = Xa();
9423
9443
  return j({
9424
9444
  queryKey: ["unUsedRewardsList"],
9425
9445
  queryFn: n,
9426
9446
  ...e
9427
9447
  });
9428
- }, Ws = ({ options: e } = {}) => {
9448
+ }, zs = ({ options: e } = {}) => {
9429
9449
  const { expiredRewardListApi: n } = Xa();
9430
9450
  return j({
9431
9451
  queryKey: ["expiredRewardsList"],
9432
9452
  queryFn: n,
9433
9453
  ...e
9434
9454
  });
9435
- }, zs = ({ options: e } = {}) => {
9455
+ }, Is = ({ options: e } = {}) => {
9436
9456
  const { historyRewardApi: n } = Xa();
9437
9457
  return j({
9438
9458
  queryKey: ["historyRewardsList"],
9439
9459
  queryFn: n,
9440
9460
  ...e
9441
9461
  });
9442
- }, pu = ({
9462
+ }, gu = ({
9443
9463
  options: e = {
9444
9464
  rewardsList: {},
9445
9465
  redeemReward: {},
@@ -9448,13 +9468,13 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9448
9468
  historyRewardsList: {}
9449
9469
  }
9450
9470
  } = {}) => {
9451
- const n = Os({ options: e.rewardsList }), t = Bs({
9471
+ const n = Bs({ options: e.rewardsList }), t = Hs({
9452
9472
  options: e.redeemReward
9453
- }), l = Hs({
9473
+ }), l = Ws({
9454
9474
  options: e.unUsedRewardsList
9455
- }), p = Ws({
9475
+ }), p = zs({
9456
9476
  options: e.expiredRewardsList
9457
- }), g = zs({
9477
+ }), g = Is({
9458
9478
  options: e.historyRewardsList
9459
9479
  });
9460
9480
  return {
@@ -9499,7 +9519,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9499
9519
  treasureListApi: n,
9500
9520
  redeemTreasureApi: t
9501
9521
  };
9502
- }, gu = ({ paramsData: e, options: n } = {}) => {
9522
+ }, du = ({ paramsData: e, options: n } = {}) => {
9503
9523
  const { client: t, lng: l } = se(), p = Qe(l || "tw"), { treasureListApi: g } = vl();
9504
9524
  return j({
9505
9525
  queryKey: ["treasureList", e],
@@ -9527,7 +9547,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9527
9547
  },
9528
9548
  ...n
9529
9549
  });
9530
- }, du = ({ options: e } = {}) => {
9550
+ }, cu = ({ options: e } = {}) => {
9531
9551
  const { redeemTreasureApi: n } = vl();
9532
9552
  return le({
9533
9553
  mutationKey: ["redeemTreasure"],
@@ -9540,7 +9560,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9540
9560
  vipListApi: n,
9541
9561
  vipInfoApi: t
9542
9562
  };
9543
- }, cu = ({ options: e } = {}) => {
9563
+ }, fu = ({ options: e } = {}) => {
9544
9564
  const { store: n } = se(), t = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: l } = hl();
9545
9565
  return j({
9546
9566
  queryKey: ["vipInfo"],
@@ -9555,7 +9575,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9555
9575
  },
9556
9576
  ...e
9557
9577
  });
9558
- }, Is = ({ options: e } = {}) => {
9578
+ }, Vs = ({ options: e } = {}) => {
9559
9579
  const { store: n } = se(), t = n?.getState()?.isWalletCurrency || n?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: l } = hl();
9560
9580
  return j({
9561
9581
  queryKey: ["vipList"],
@@ -9592,10 +9612,10 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9592
9612
  },
9593
9613
  ...e
9594
9614
  });
9595
- }, fu = ({ options: e } = {
9615
+ }, _u = ({ options: e } = {
9596
9616
  vipList: {}
9597
9617
  }) => ({
9598
- vipList: Is({ options: e.vipList })
9618
+ vipList: Vs({ options: e.vipList })
9599
9619
  }), An = (e) => {
9600
9620
  switch (e) {
9601
9621
  case "tw":
@@ -9615,7 +9635,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9615
9635
  default:
9616
9636
  return "En";
9617
9637
  }
9618
- }, ot = "game-icon-ds88", _u = ({ gameData: e = {} } = {}) => {
9638
+ }, ot = "game-icon-ds88", yu = ({ gameData: e = {} } = {}) => {
9619
9639
  const { lng: n } = se(), t = An(n), {
9620
9640
  gameCode: l,
9621
9641
  // 遊戲代碼
@@ -9688,7 +9708,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9688
9708
  isInvalidBet: y,
9689
9709
  haveJackpot: _
9690
9710
  };
9691
- }, Vs = (e, n = !1) => Il([
9711
+ }, Js = (e, n = !1) => Il([
9692
9712
  "EVO",
9693
9713
  "IMSPRIBE",
9694
9714
  "SABA",
@@ -9699,7 +9719,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9699
9719
  "HACK",
9700
9720
  "NAGA",
9701
9721
  "RSG"
9702
- ], e) && n ? `${e}_dark` : e, yu = ({ platformData: e, darkMode: n } = {}) => {
9722
+ ], e) && n ? `${e}_dark` : e, Uu = ({ platformData: e, darkMode: n } = {}) => {
9703
9723
  const {
9704
9724
  SubPlatformEnum: t,
9705
9725
  // 子平台枚舉
@@ -9721,7 +9741,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9721
9741
  // 臨時維護開始時間
9722
9742
  temp_maintenance_end_time: o
9723
9743
  // 臨時維護結束時間
9724
- } = e || {}, m = `${Ze}/${qn}/${Vs(l, n)}.png`;
9744
+ } = e || {}, m = `${Ze}/${qn}/${Js(l, n)}.png`;
9725
9745
  return {
9726
9746
  subPlatformEnum: t,
9727
9747
  platformEnum: l,
@@ -9735,19 +9755,19 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9735
9755
  tempMaintenanceEndTime: o,
9736
9756
  platformImageUrl: m
9737
9757
  };
9738
- }, 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) => {
9758
+ }, Zs = (e = {}) => !$t(e) || Ee(e) ? [] : Qt(e), On = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "platform"), Ks = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "gameTypeName"), qs = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "game_subtype"), $s = (e = {}) => !$t(e) || Ee(e) ? [] : Qt(e), Qs = (e = [], n = []) => !la(e) || Ee(e) ? {} : !la(n) || Ee(n) ? {} : e.reduce((t, l) => {
9739
9759
  const p = n.map((g) => g.game_subtype);
9740
9760
  return p.forEach((g) => {
9741
9761
  t[g] = t[g] || [];
9742
9762
  }), p.includes(l.game_subtype) && t[l.game_subtype].push(l), t;
9743
- }, {}), Qs = ({
9763
+ }, {}), js = ({
9744
9764
  gameTypes: e = [],
9745
9765
  platforms: n = [],
9746
9766
  gameList: t = {},
9747
9767
  allGameTypes: l = [],
9748
9768
  allPlatforms: p = []
9749
9769
  }) => !la(e) || !la(n) ? {} : Ee(t) ? {} : e.reduce((g, b) => {
9750
- const d = Yl({
9770
+ const d = Xl({
9751
9771
  gameTypeName: b,
9752
9772
  platforms: n,
9753
9773
  gameList: t,
@@ -9755,7 +9775,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9755
9775
  allPlatforms: p
9756
9776
  });
9757
9777
  return Ee(d) || (g[b] = d), g;
9758
- }, {}), Uu = ({
9778
+ }, {}), bu = ({
9759
9779
  types: e = [],
9760
9780
  platforms: n = [],
9761
9781
  allGameType: t = [],
@@ -9765,7 +9785,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9765
9785
  const d = Qn(t, b);
9766
9786
  if (!d) return g;
9767
9787
  const r = p[d] || [], a = n.reduce((i, o) => {
9768
- const m = Xl({
9788
+ const m = er({
9769
9789
  platformName: o,
9770
9790
  gamesOfType: r,
9771
9791
  allPlatforms: l
@@ -9773,9 +9793,9 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9773
9793
  return Ee(m) ? i : { ...i, [o]: m };
9774
9794
  }, {});
9775
9795
  return Ee(a) || (g[b] = a), g;
9776
- }, {}), js = (e = {}) => !$t(e) || Ee(e) ? {} : Object.values(e).reduce((t, l) => (Object.entries(l).forEach(([p, g]) => {
9796
+ }, {}), Ys = (e = {}) => !$t(e) || Ee(e) ? {} : Object.values(e).reduce((t, l) => (Object.entries(l).forEach(([p, g]) => {
9777
9797
  t[p] ? t[p] = [...t[p], ...g] : t[p] = g;
9778
- }), t), {}), Ys = (e = {}) => {
9798
+ }), t), {}), Xs = (e = {}) => {
9779
9799
  if (!$t(e) || Ee(e)) return {};
9780
9800
  const n = {};
9781
9801
  for (const [t, l] of Object.entries(e)) {
@@ -9786,7 +9806,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9786
9806
  }
9787
9807
  }
9788
9808
  return n;
9789
- }, Xs = ({
9809
+ }, em = ({
9790
9810
  allGameList: e = {},
9791
9811
  allGamePlatform: n = [],
9792
9812
  allGameType: t = [],
@@ -9799,7 +9819,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9799
9819
  highlightGames: a = [],
9800
9820
  originPlatform: i = []
9801
9821
  }) => {
9802
- const o = Js(e), m = On(n), u = Zs(t), s = Ks(l), c = On(i), f = qs(d), y = Qs({
9822
+ const o = Zs(e), m = On(n), u = Ks(t), s = qs(l), c = On(i), f = $s(d), y = js({
9803
9823
  gameTypes: u,
9804
9824
  platforms: m,
9805
9825
  gameList: e,
@@ -9811,7 +9831,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9811
9831
  ...G,
9812
9832
  platformImageUrl: O
9813
9833
  };
9814
- }), U = $s(o, l), C = js(y), v = Ys(C), D = zn(y).reduce(
9834
+ }), U = Qs(o, l), C = Ys(y), v = Xs(C), D = zn(y).reduce(
9815
9835
  (G, [O, k]) => {
9816
9836
  const h = Qt(Vl(k));
9817
9837
  return G[O] = h, G;
@@ -9854,12 +9874,12 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9854
9874
  favorite: f
9855
9875
  }
9856
9876
  };
9857
- }, bu = (e = []) => !la(e) || Ee(e) ? [] : Qt(e, (n) => Ee(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((t) => ({
9877
+ }, Cu = (e = []) => !la(e) || Ee(e) ? [] : Qt(e, (n) => Ee(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((t) => ({
9858
9878
  ...n,
9859
9879
  ...t,
9860
9880
  platform: t.SubPlatformEnum,
9861
9881
  platformEnum: t.SubPlatformEnum
9862
- }))), em = {
9882
+ }))), am = {
9863
9883
  platform: { all: [], origin: [], originPlatform: [], byGameType: {} },
9864
9884
  type: { main: [], sub: [], originMain: [], originSub: [] },
9865
9885
  gameList: {
@@ -9879,7 +9899,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9879
9899
  byGameType: {}
9880
9900
  },
9881
9901
  user: { favorite: [] }
9882
- }, am = ({ enabled: e = !0 } = {}) => {
9902
+ }, tm = ({ enabled: e = !0 } = {}) => {
9883
9903
  const { getToken: n } = se(), { userFavoriteGameApi: t, userGameListApi: l } = oe(), { data: p, isLoading: g, error: b, refetch: d } = j({
9884
9904
  queryKey: ["gamesInfo"],
9885
9905
  queryFn: async () => {
@@ -9889,7 +9909,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9889
9909
  } catch (i) {
9890
9910
  console.warn("Failed to fetch favorite games:", i);
9891
9911
  }
9892
- return Xs({
9912
+ return em({
9893
9913
  allGameList: a.gameTypeGroup || window.gameTypeGroup || {},
9894
9914
  allGamePlatform: a.platforms || window.platforms || [],
9895
9915
  allGameType: a.gameType || window.gameType || [],
@@ -9912,12 +9932,12 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9912
9932
  refetchOnWindowFocus: !1
9913
9933
  });
9914
9934
  return {
9915
- gamesInfo: p || em,
9935
+ gamesInfo: p || am,
9916
9936
  isLoading: g,
9917
9937
  error: b,
9918
9938
  refetch: d
9919
9939
  };
9920
- }, tm = (e = !1) => {
9940
+ }, im = (e = !1) => {
9921
9941
  if (!e && window.gameTypeGroup) {
9922
9942
  console.log("window.gameTypeGroup 已存在,跳過初始化 mock 資料");
9923
9943
  return;
@@ -36444,18 +36464,18 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
36444
36464
  is_invalid_bet: 0
36445
36465
  }
36446
36466
  });
36447
- }, im = ({
36467
+ }, nm = ({
36448
36468
  children: e,
36449
36469
  autoFetch: n = !1,
36450
36470
  mockData: t = !1
36451
36471
  }) => {
36452
36472
  ge(() => {
36453
- t && tm(!0);
36473
+ t && im(!0);
36454
36474
  }, [t]);
36455
- const l = am({ enabled: n });
36475
+ const l = tm({ enabled: n });
36456
36476
  return /* @__PURE__ */ Fe.jsx($n.Provider, { value: l, children: e });
36457
36477
  };
36458
- function Cu({
36478
+ function vu({
36459
36479
  children: e,
36460
36480
  autoFetchGamesInfo: n = !1,
36461
36481
  useMockData: t = !1,
@@ -36477,7 +36497,7 @@ function Cu({
36477
36497
  []
36478
36498
  ), r = l || d;
36479
36499
  return /* @__PURE__ */ Fe.jsx(Bl, { client: r, children: /* @__PURE__ */ Fe.jsx(In.Provider, { value: { client: g, formDataClient: b, ...p }, children: /* @__PURE__ */ Fe.jsx(Ql, { children: /* @__PURE__ */ Fe.jsx(
36480
- im,
36500
+ nm,
36481
36501
  {
36482
36502
  autoFetch: n,
36483
36503
  mockData: t,
@@ -36485,7 +36505,7 @@ function Cu({
36485
36505
  }
36486
36506
  ) }) }) });
36487
36507
  }
36488
- const vu = ({ onFunction: e = () => {
36508
+ const hu = ({ onFunction: e = () => {
36489
36509
  }, buttonProps: n = {} } = {}) => {
36490
36510
  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({
36491
36511
  options: {
@@ -36525,7 +36545,7 @@ const vu = ({ onFunction: e = () => {
36525
36545
  }
36526
36546
  ) : null;
36527
36547
  };
36528
- var nm = Object.defineProperty, Kt = Object.getOwnPropertySymbols, Tl = Object.prototype.hasOwnProperty, kl = Object.prototype.propertyIsEnumerable, Bn = (e, n, t) => n in e ? nm(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, gi = (e, n) => {
36548
+ var lm = Object.defineProperty, Kt = Object.getOwnPropertySymbols, Tl = Object.prototype.hasOwnProperty, kl = Object.prototype.propertyIsEnumerable, Bn = (e, n, t) => n in e ? lm(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, gi = (e, n) => {
36529
36549
  for (var t in n || (n = {}))
36530
36550
  Tl.call(n, t) && Bn(e, t, n[t]);
36531
36551
  if (Kt)
@@ -37077,12 +37097,12 @@ var ka;
37077
37097
  })(e.QrSegment || (e.QrSegment = {}));
37078
37098
  })(ka || (ka = {}));
37079
37099
  var Aa = ka;
37080
- var lm = {
37100
+ var rm = {
37081
37101
  L: Aa.QrCode.Ecc.LOW,
37082
37102
  M: Aa.QrCode.Ecc.MEDIUM,
37083
37103
  Q: Aa.QrCode.Ecc.QUARTILE,
37084
37104
  H: Aa.QrCode.Ecc.HIGH
37085
- }, xl = 128, Sl = "L", Dl = "#FFFFFF", El = "#000000", Nl = !1, Ll = 1, rm = 4, om = 0, sm = 0.1;
37105
+ }, xl = 128, Sl = "L", Dl = "#FFFFFF", El = "#000000", Nl = !1, Ll = 1, om = 4, sm = 0, mm = 0.1;
37086
37106
  function Gl(e, n = 0) {
37087
37107
  const t = [];
37088
37108
  return e.forEach(function(l, p) {
@@ -37109,10 +37129,10 @@ function Gl(e, n = 0) {
37109
37129
  function Ml(e, n) {
37110
37130
  return e.slice().map((t, l) => l < n.y || l >= n.y + n.h ? t : t.map((p, g) => g < n.x || g >= n.x + n.w ? p : !1));
37111
37131
  }
37112
- function mm(e, n, t, l) {
37132
+ function um(e, n, t, l) {
37113
37133
  if (l == null)
37114
37134
  return null;
37115
- 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;
37135
+ const p = e.length + t * 2, g = Math.floor(n * mm), 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;
37116
37136
  let m = null;
37117
37137
  if (l.excavate) {
37118
37138
  let s = Math.floor(a), c = Math.floor(i), f = Math.ceil(d + a - s), y = Math.ceil(r + i - c);
@@ -37121,8 +37141,8 @@ function mm(e, n, t, l) {
37121
37141
  const u = l.crossOrigin;
37122
37142
  return { x: a, y: i, h: r, w: d, excavation: m, opacity: o, crossOrigin: u };
37123
37143
  }
37124
- function um(e, n) {
37125
- return n != null ? Math.max(Math.floor(n), 0) : e ? rm : om;
37144
+ function pm(e, n) {
37145
+ return n != null ? Math.max(Math.floor(n), 0) : e ? om : sm;
37126
37146
  }
37127
37147
  function Rl({
37128
37148
  value: e,
@@ -37138,7 +37158,7 @@ function Rl({
37138
37158
  const s = (Array.isArray(e) ? e : [e]).reduce((c, f) => (c.push(...Aa.QrSegment.makeSegments(f)), c), []);
37139
37159
  return Aa.QrCode.encodeSegments(
37140
37160
  s,
37141
- lm[n],
37161
+ rm[n],
37142
37162
  t,
37143
37163
  void 0,
37144
37164
  void 0,
@@ -37147,7 +37167,7 @@ function Rl({
37147
37167
  }, [e, n, t, d]);
37148
37168
  const { cells: a, margin: i, numCells: o, calculatedImageSettings: m } = de.useMemo(() => {
37149
37169
  let u = r.getModules();
37150
- const s = um(l, p), c = u.length + s * 2, f = mm(
37170
+ const s = pm(l, p), c = u.length + s * 2, f = um(
37151
37171
  u,
37152
37172
  b,
37153
37173
  s,
@@ -37168,14 +37188,14 @@ function Rl({
37168
37188
  calculatedImageSettings: m
37169
37189
  };
37170
37190
  }
37171
- var pm = (function() {
37191
+ var gm = (function() {
37172
37192
  try {
37173
37193
  new Path2D().addPath(new Path2D());
37174
37194
  } catch {
37175
37195
  return !1;
37176
37196
  }
37177
37197
  return !0;
37178
- })(), gm = de.forwardRef(
37198
+ })(), dm = de.forwardRef(
37179
37199
  function(n, t) {
37180
37200
  const l = n, {
37181
37201
  value: p,
@@ -37228,7 +37248,7 @@ var pm = (function() {
37228
37248
  const W = window.devicePixelRatio || 1;
37229
37249
  w.height = w.width = g * W;
37230
37250
  const M = g / k * W;
37231
- R.scale(M, M), R.fillStyle = d, R.fillRect(0, 0, k, k), R.fillStyle = r, pm ? R.fill(new Path2D(Gl(P, G))) : O.forEach(function(S, x) {
37251
+ R.scale(M, M), R.fillStyle = d, R.fillRect(0, 0, k, k), R.fillStyle = r, gm ? R.fill(new Path2D(Gl(P, G))) : O.forEach(function(S, x) {
37232
37252
  S.forEach(function(L, N) {
37233
37253
  L && R.fillRect(N + G, x + G, 1, 1);
37234
37254
  });
@@ -37269,7 +37289,7 @@ var pm = (function() {
37269
37289
  ), A);
37270
37290
  }
37271
37291
  );
37272
- gm.displayName = "QRCodeCanvas";
37292
+ dm.displayName = "QRCodeCanvas";
37273
37293
  var Pl = de.forwardRef(
37274
37294
  function(n, t) {
37275
37295
  const l = n, {
@@ -37348,7 +37368,7 @@ var Pl = de.forwardRef(
37348
37368
  }
37349
37369
  );
37350
37370
  Pl.displayName = "QRCodeSVG";
37351
- const dm = {
37371
+ const cm = {
37352
37372
  position: "fixed",
37353
37373
  top: 0,
37354
37374
  left: 0,
@@ -37361,7 +37381,7 @@ const dm = {
37361
37381
  justifyContent: "center",
37362
37382
  zIndex: 1e4,
37363
37383
  gap: "2em"
37364
- }, cm = {
37384
+ }, fm = {
37365
37385
  position: "absolute",
37366
37386
  top: "20px",
37367
37387
  right: "20px",
@@ -37392,8 +37412,8 @@ const dm = {
37392
37412
  title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
37393
37413
  expired: "Kode QR telah kedaluwarsa"
37394
37414
  }
37395
- }, ku = ({ forcedShow: e = !1, isVisible: n, setIsVisible: t } = {}) => {
37396
- 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({
37415
+ }, xu = ({ forcedShow: e = !1, isVisible: n, setIsVisible: t } = {}) => {
37416
+ 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 } = Io({
37397
37417
  formData: {
37398
37418
  mac_address: c
37399
37419
  },
@@ -37414,11 +37434,11 @@ const dm = {
37414
37434
  };
37415
37435
  if (!e && (!c || u)) return null;
37416
37436
  const C = Hn[m] || Hn.en_US;
37417
- return n && /* @__PURE__ */ Fe.jsxs("div", { style: dm, children: [
37437
+ return n && /* @__PURE__ */ Fe.jsxs("div", { style: cm, children: [
37418
37438
  /* @__PURE__ */ Fe.jsx(
37419
37439
  "div",
37420
37440
  {
37421
- style: cm,
37441
+ style: fm,
37422
37442
  onClick: () => t(!1),
37423
37443
  role: "button",
37424
37444
  "aria-label": "Close",
@@ -37457,14 +37477,14 @@ const dm = {
37457
37477
  )
37458
37478
  ] })
37459
37479
  ] });
37460
- }, xu = () => {
37480
+ }, Su = () => {
37461
37481
  const e = fi(), {
37462
37482
  mutate: n,
37463
37483
  isPending: t,
37464
37484
  isSuccess: l,
37465
37485
  isError: p,
37466
37486
  error: g
37467
- } = Io({
37487
+ } = Vo({
37468
37488
  options: {
37469
37489
  onSuccess: () => {
37470
37490
  e.invalidateQueries({
@@ -37489,126 +37509,126 @@ const dm = {
37489
37509
  };
37490
37510
  export {
37491
37511
  In as ApiCtx,
37492
- Cu as ApiProvider,
37493
- xu as Bind,
37512
+ vu as ApiProvider,
37513
+ Su as Bind,
37494
37514
  $n as GamesInfoCtx,
37495
- vu as LineLogin,
37496
- ku as LineQrCode,
37497
- Ka as STATUS_TYPES,
37515
+ hu as LineLogin,
37516
+ xu as LineQrCode,
37517
+ qa as STATUS_TYPES,
37498
37518
  Vn as StatusContext,
37499
37519
  Ql as StatusProvider,
37500
- Qs as buildMultiTypes,
37501
- Uu as buildMultiTypesWithSubTypes,
37502
- Xl as buildSinglePlatformWithSubTypes,
37503
- Yl as buildSingleType,
37504
- $s as categorizeGames,
37520
+ js as buildMultiTypes,
37521
+ bu as buildMultiTypesWithSubTypes,
37522
+ er as buildSinglePlatformWithSubTypes,
37523
+ Xl as buildSingleType,
37524
+ Qs as categorizeGames,
37505
37525
  Qe as convertLanguageCode,
37506
- vm as createLogoutHandler,
37507
- Ks as extractGameSubTypeNames,
37508
- Zs as extractGameTypeNames,
37526
+ hm as createLogoutHandler,
37527
+ qs as extractGameSubTypeNames,
37528
+ Ks as extractGameTypeNames,
37509
37529
  On as extractPlatformNames,
37510
37530
  Xn as filterGamesByPlatform,
37511
37531
  Qn as findGameTypeUid,
37512
37532
  jn as findPlatformUid,
37513
37533
  Yn as findSubPlatform,
37514
- Js as flattenAllGames,
37515
- qs as flattenFavoriteGames,
37516
- hm as formatNumber,
37517
- js as groupGamesByPlatform,
37518
- Ys as groupGamesByPlatformAndSubType,
37519
- jl as groupGamesBySubType,
37520
- Vs as handleDarkImage,
37521
- tm as initMockWindowData,
37522
- Xs as processGameInfo,
37523
- bu as processPlatformData,
37524
- Nm as useAbandonPoint,
37534
+ Zs as flattenAllGames,
37535
+ $s as flattenFavoriteGames,
37536
+ Tm as formatNumber,
37537
+ Ys as groupGamesByPlatform,
37538
+ Xs as groupGamesByPlatformAndSubType,
37539
+ Yl as groupGamesBySubType,
37540
+ Js as handleDarkImage,
37541
+ im as initMockWindowData,
37542
+ em as processGameInfo,
37543
+ Cu as processPlatformData,
37544
+ Lm as useAbandonPoint,
37525
37545
  se as useApiContext,
37526
- Hm as useAvatarList,
37527
- Tm as useBalanceGetter,
37528
- Sm as useBet,
37529
- Bm as useBetRankingData,
37530
- _o as useBetRecord,
37531
- yo as useBetRecordDetail,
37532
- Io as useBindAccount,
37533
- Zo as useCheckCurrentEventProgress,
37534
- Ko as useCheckEventStatus,
37535
- Em as useCheckPlayerWager,
37536
- Im as useClientWebSocket,
37537
- Fs as useCurrentRebate,
37538
- bs as useDepositAction,
37539
- vs as useDepositTransaction,
37540
- ys as useDepositV1,
37541
- Us as useDepositV2,
37542
- iu as useDepositWalletLog,
37543
- Zm as useEvent,
37544
- Jo as useEventList,
37545
- hs as useEventTransaction,
37546
- lu as useEventWalletLog,
37547
- Ws as useExpiredRewardsList,
37548
- _u as useGameConfig,
37549
- Cm as useGameInfoContext,
37550
- am as useGamesInfo,
37551
- Km as useGetCarouseList,
37552
- zo as useGetMachineLoginCode,
37553
- qm as useGetMarquee,
37554
- km as useGetMemberInfo,
37555
- $m as useGetRankingGame,
37556
- zs as useHistoryRewardsList,
37557
- Qm as useIdleTimeout,
37558
- jm as useInbox,
37559
- cs as useInboxList,
37560
- xm as useInitializeWithToken,
37561
- au as useInvoiceAction,
37562
- Om as useJackpotData,
37546
+ Wm as useAvatarList,
37547
+ km as useBalanceGetter,
37548
+ Dm as useBet,
37549
+ Hm as useBetRankingData,
37550
+ yo as useBetRecord,
37551
+ Uo as useBetRecordDetail,
37552
+ Vo as useBindAccount,
37553
+ Ko as useCheckCurrentEventProgress,
37554
+ qo as useCheckEventStatus,
37555
+ Nm as useCheckPlayerWager,
37556
+ Vm as useClientWebSocket,
37557
+ As as useCurrentRebate,
37558
+ Cs as useDepositAction,
37559
+ hs as useDepositTransaction,
37560
+ Us as useDepositV1,
37561
+ bs as useDepositV2,
37562
+ nu as useDepositWalletLog,
37563
+ Km as useEvent,
37564
+ Zo as useEventList,
37565
+ Ts as useEventTransaction,
37566
+ ru as useEventWalletLog,
37567
+ zs as useExpiredRewardsList,
37568
+ yu as useGameConfig,
37569
+ vm as useGameInfoContext,
37570
+ tm as useGamesInfo,
37571
+ qm as useGetCarouseList,
37572
+ Io as useGetMachineLoginCode,
37573
+ $m as useGetMarquee,
37574
+ xm as useGetMemberInfo,
37575
+ Qm as useGetRankingGame,
37576
+ Is as useHistoryRewardsList,
37577
+ jm as useIdleTimeout,
37578
+ Ym as useInbox,
37579
+ fs as useInboxList,
37580
+ Sm as useInitializeWithToken,
37581
+ tu as useInvoiceAction,
37582
+ Bm as useJackpotData,
37563
37583
  il as useLineLogin,
37564
- Wo as useLineLogin2,
37565
- Lo as useLogin,
37566
- Go as useLogout,
37567
- Lm as useMemberTransfer,
37568
- Gm as useMobileLogin,
37569
- Mm as useMobileLoginV2,
37570
- Rm as useMobileRegister,
37571
- Xm as useNewsDetail,
37572
- Ym as useNewsList,
37573
- su as usePayment,
37574
- yu as usePlatformConfig,
37575
- mu as usePlayGame,
37576
- Dm as usePointTransfer,
37577
- fs as useReadInbox,
37578
- uu as useRebate,
37579
- ru as useRebateWalletLog,
37580
- As as useReceiveRebate,
37581
- eu as useRedeemCodeDeposit,
37582
- Vm as useRedeemEventReward,
37583
- Bs as useRedeemReward,
37584
- du as useRedeemTreasure,
37585
- wo as useResetUserPassword,
37586
- Ao as useResetUserTransactionPassword,
37587
- pu as useRewards,
37588
- Os as useRewardsList,
37589
- Pm as useSendMobileVerifyCode,
37590
- Fo as useSetUserTransactionPassword,
37591
- Jm as useSettleEvent,
37592
- Mo as useSignUp,
37584
+ zo as useLineLogin2,
37585
+ Go as useLogin,
37586
+ Mo as useLogout,
37587
+ Gm as useMemberTransfer,
37588
+ Mm as useMobileLogin,
37589
+ Rm as useMobileLoginV2,
37590
+ Pm as useMobileRegister,
37591
+ eu as useNewsDetail,
37592
+ Xm as useNewsList,
37593
+ mu as usePayment,
37594
+ Uu as usePlatformConfig,
37595
+ uu as usePlayGame,
37596
+ Em as usePointTransfer,
37597
+ _s as useReadInbox,
37598
+ pu as useRebate,
37599
+ ou as useRebateWalletLog,
37600
+ Os as useReceiveRebate,
37601
+ au as useRedeemCodeDeposit,
37602
+ Jm as useRedeemEventReward,
37603
+ Hs as useRedeemReward,
37604
+ cu as useRedeemTreasure,
37605
+ Fo as useResetUserPassword,
37606
+ Oo as useResetUserTransactionPassword,
37607
+ gu as useRewards,
37608
+ Bs as useRewardsList,
37609
+ wm as useSendMobileVerifyCode,
37610
+ Ao as useSetUserTransactionPassword,
37611
+ Zm as useSettleEvent,
37612
+ Ro as useSignUp,
37593
37613
  Jn as useStatus,
37594
- Ro as useToggleFavoriteGame,
37595
- Ho as useTransferInGame,
37596
- gu as useTreasureList,
37597
- ou as useTreasureWalletLog,
37598
- Hs as useUnUsedRewardsList,
37599
- Wm as useUpdateAvatar,
37600
- tu as useUpdateInvoiceAction,
37601
- Po as useUpdateUserInfo,
37602
- zm as useUser,
37603
- Bo as useUserBindCard,
37604
- Oo as useUserRebate,
37605
- Fm as useVerifyDonationCode,
37606
- wm as useVerifyPhoneBar,
37607
- Am as useVerifyResetAction,
37608
- fu as useVip,
37609
- cu as useVipInfo,
37610
- Is as useVipList,
37611
- Cs as useWithdrawAction,
37612
- ks as useWithdrawTransaction,
37613
- nu as useWithdrawWalletLog
37614
+ Po as useToggleFavoriteGame,
37615
+ Wo as useTransferInGame,
37616
+ du as useTreasureList,
37617
+ su as useTreasureWalletLog,
37618
+ Ws as useUnUsedRewardsList,
37619
+ zm as useUpdateAvatar,
37620
+ iu as useUpdateInvoiceAction,
37621
+ wo as useUpdateUserInfo,
37622
+ Im as useUser,
37623
+ Ho as useUserBindCard,
37624
+ Bo as useUserRebate,
37625
+ Am as useVerifyDonationCode,
37626
+ Fm as useVerifyPhoneBar,
37627
+ Om as useVerifyResetAction,
37628
+ _u as useVip,
37629
+ fu as useVipInfo,
37630
+ Vs as useVipList,
37631
+ vs as useWithdrawAction,
37632
+ xs as useWithdrawTransaction,
37633
+ lu as useWithdrawWalletLog
37614
37634
  };