@obb871001/api-integration-sdk 1.0.331 → 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
@@ -7891,11 +7899,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7891
7899
  case ze.TRANSFER_IN_GAME:
7892
7900
  case ze.CHECK_REQUEST:
7893
7901
  if (Z && U) {
7894
- const { request_id: me, amount: ce, platform: ke, status: fe } = re(
7895
- N,
7896
- "data",
7897
- {}
7898
- ), Ie = localStorage.getItem(
7902
+ const { request_id: me, amount: ce, platform: ke, status: fe } = re(N, "data", {}) || {}, Ie = localStorage.getItem(
7899
7903
  "transfer_in_game_request_id"
7900
7904
  );
7901
7905
  if (fe === "pending") {
@@ -7909,7 +7913,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7909
7913
  localStorage.removeItem("transfer_in_game_request_id"), o(), d.dispatch({
7910
7914
  type: "ui/showToast",
7911
7915
  payload: {
7912
- title: ja[s] || "System Prompt",
7916
+ title: Ba[s] || "System Prompt",
7913
7917
  description: `您於${ke}存入的${ce}元已經處理完成了,請確認遊戲餘額`,
7914
7918
  status: "success"
7915
7919
  }
@@ -7969,7 +7973,19 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
7969
7973
  member_info_uid: y
7970
7974
  });
7971
7975
  }
7972
- }, [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]), {
7973
7989
  sendMessage: E,
7974
7990
  sendJsonMessage: G,
7975
7991
  readyState: k
@@ -8018,7 +8034,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8018
8034
  redeemEventRewardApi: l,
8019
8035
  settleEventApi: g
8020
8036
  };
8021
- }, Jo = ({ paramsData: e, options: n } = {}) => {
8037
+ }, Zo = ({ paramsData: e, options: n } = {}) => {
8022
8038
  const { store: t, lng: l, data2URL: p } = se(), { eventListApi: g } = Ya(), b = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", d = Qe(l);
8023
8039
  return j({
8024
8040
  queryKey: ["eventList", e],
@@ -8135,21 +8151,21 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8135
8151
  },
8136
8152
  ...n
8137
8153
  });
8138
- }, Vm = ({ options: e } = {}) => {
8154
+ }, Jm = ({ options: e } = {}) => {
8139
8155
  const { redeemEventRewardApi: n } = Ya();
8140
8156
  return le({
8141
8157
  mutationKey: ["redeemEventReward"],
8142
8158
  mutationFn: async (t) => n(t),
8143
8159
  ...e
8144
8160
  });
8145
- }, Zo = ({ options: e, formData: n } = {}) => {
8161
+ }, Ko = ({ options: e, formData: n } = {}) => {
8146
8162
  const { checkCurrentEventProgessApi: t } = Ya();
8147
8163
  return j({
8148
8164
  queryKey: ["checkEventProgress"],
8149
8165
  queryFn: async () => t(n),
8150
8166
  ...e
8151
8167
  });
8152
- }, Ko = ({ options: e, formData: n } = {}) => {
8168
+ }, qo = ({ options: e, formData: n } = {}) => {
8153
8169
  const { checkEventStatusApi: t } = Ya();
8154
8170
  return j({
8155
8171
  queryKey: ["checkEventStatus"],
@@ -8157,23 +8173,23 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8157
8173
  select: (l) => l.data.event_status,
8158
8174
  ...e
8159
8175
  });
8160
- }, Jm = ({ options: e } = {}) => {
8176
+ }, Zm = ({ options: e } = {}) => {
8161
8177
  const { settleEventApi: n } = Ya();
8162
8178
  return le({
8163
8179
  mutationKey: ["settleEvent"],
8164
8180
  mutationFn: async (t) => n(t),
8165
8181
  ...e
8166
8182
  });
8167
- }, Zm = ({
8183
+ }, Km = ({
8168
8184
  options: e = {
8169
8185
  eventList: {},
8170
8186
  checkEventProgress: {},
8171
8187
  checkEventStatus: {}
8172
8188
  }
8173
8189
  } = {}) => {
8174
- const n = Jo({ options: e.eventList }), t = Zo({
8190
+ const n = Zo({ options: e.eventList }), t = Ko({
8175
8191
  options: e.checkEventProgress
8176
- }), l = Ko({
8192
+ }), l = qo({
8177
8193
  options: e.checkEventStatus
8178
8194
  });
8179
8195
  return {
@@ -8181,8 +8197,8 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8181
8197
  checkEventProgressQuery: t,
8182
8198
  checkEventStatusQuery: l
8183
8199
  };
8184
- }, Km = ({ skipPreload: e = !1 } = {}) => {
8185
- 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);
8186
8202
  return j({
8187
8203
  queryKey: ["getCarouselList", e],
8188
8204
  queryFn: async () => {
@@ -8209,8 +8225,8 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8209
8225
  };
8210
8226
  })
8211
8227
  });
8212
- }, qm = () => {
8213
- const { lng: e } = se(), { commonMarqueeApi: n } = Ha(), t = Qe(e);
8228
+ }, $m = () => {
8229
+ const { lng: e } = se(), { commonMarqueeApi: n } = Wa(), t = Qe(e);
8214
8230
  return j({
8215
8231
  queryKey: ["getMarqueeList"],
8216
8232
  queryFn: async () => {
@@ -8222,7 +8238,7 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8222
8238
  return Be(p, (b) => b[t] || b?.en_US);
8223
8239
  }
8224
8240
  });
8225
- }, $m = ({ options: e } = {}) => {
8241
+ }, Qm = ({ options: e } = {}) => {
8226
8242
  const { rankingGameApi: n } = oe();
8227
8243
  return j({
8228
8244
  queryKey: ["rankingGame"],
@@ -8264,10 +8280,10 @@ const Eo = /* @__PURE__ */ _i(Do), No = ({
8264
8280
  ...e
8265
8281
  });
8266
8282
  };
8267
- 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) => {
8268
- 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 });
8269
8285
  return e;
8270
- }, 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) => {
8271
8287
  (function(t, l) {
8272
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 = {}));
8273
8289
  })(e, function(t) {
@@ -8296,12 +8312,12 @@ var qo = Object.create, nl = Object.defineProperty, $o = Object.getOwnPropertyDe
8296
8312
  t.addUniqueNumber = m, t.generateUniqueNumber = o;
8297
8313
  });
8298
8314
  });
8299
- as(ts());
8315
+ ts(is());
8300
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 };
8301
- function is(e) {
8317
+ function ns(e) {
8302
8318
  Xe.setTimeout = e.setTimeout, Xe.clearTimeout = e.clearTimeout, Xe.setInterval = e.setInterval, Xe.clearInterval = e.clearInterval;
8303
8319
  }
8304
- var wa = {}, ns = class {
8320
+ var wa = {}, ls = class {
8305
8321
  name;
8306
8322
  closed = !1;
8307
8323
  mc = new MessageChannel();
@@ -8349,14 +8365,14 @@ var wa = {}, ns = class {
8349
8365
  dispatchEvent(e) {
8350
8366
  return this.mc.port1.dispatchEvent(e);
8351
8367
  }
8352
- }, ls = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : ns;
8353
- function rs(e = 0) {
8368
+ }, rs = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : ls;
8369
+ function os(e = 0) {
8354
8370
  return new Promise((n) => Xe.setTimeout(n, e));
8355
8371
  }
8356
8372
  function ll() {
8357
8373
  return Math.random().toString(36).substring(2);
8358
8374
  }
8359
- var os = class {
8375
+ var ss = class {
8360
8376
  options;
8361
8377
  channel;
8362
8378
  token = ll();
@@ -8380,7 +8396,7 @@ var os = class {
8380
8396
  };
8381
8397
  this.channel.addEventListener("message", n);
8382
8398
  try {
8383
- 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);
8384
8400
  } catch {
8385
8401
  return !1;
8386
8402
  }
@@ -8436,7 +8452,7 @@ var os = class {
8436
8452
  }
8437
8453
  }
8438
8454
  }
8439
- }, ss = class {
8455
+ }, ms = class {
8440
8456
  channel;
8441
8457
  options;
8442
8458
  elector;
@@ -8446,9 +8462,9 @@ var os = class {
8446
8462
  isLastActive = !1;
8447
8463
  constructor(e) {
8448
8464
  let { channelName: n } = e;
8449
- 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) {
8450
8466
  let t = { fallbackInterval: 2e3, responseTime: 100 };
8451
- this.elector = new os(this.channel, t), this.elector.waitForLeadership();
8467
+ this.elector = new ss(this.channel, t), this.elector.waitForLeadership();
8452
8468
  }
8453
8469
  this.channel.addEventListener("message", (t) => {
8454
8470
  let { action: l, token: p, data: g } = t.data;
@@ -8538,8 +8554,8 @@ var os = class {
8538
8554
  close() {
8539
8555
  this.options.leaderElection && this.elector.close(), this.send(4), this.channel.close();
8540
8556
  }
8541
- }, ms = pa ? document : null, us = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
8542
- 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) {
8543
8559
  let t;
8544
8560
  function l(...p) {
8545
8561
  t && clearTimeout(t), t = setTimeout(() => {
@@ -8558,7 +8574,7 @@ function ri(e, n) {
8558
8574
  };
8559
8575
  }
8560
8576
  var Te = () => Date.now(), Fa = 2147483647;
8561
- 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 = () => {
8562
8578
  }, onPrompt: r = () => {
8563
8579
  }, onIdle: a = () => {
8564
8580
  }, onActive: i = () => {
@@ -8611,7 +8627,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8611
8627
  }, [m]);
8612
8628
  let fe = Oa(() => {
8613
8629
  let V = (De, ia) => ce.current(De, ia);
8614
- 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;
8615
8631
  }, [s, u]), Ie = ee();
8616
8632
  ge(() => {
8617
8633
  U && v && (Ie.current = ri(() => {
@@ -8665,7 +8681,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8665
8681
  pa && Q.current && (M.current || V) && (K.current.forEach((De) => {
8666
8682
  Q.current.removeEventListener(De, ta.current, { capture: !0 });
8667
8683
  }), M.current = !1);
8668
- }, je = I((V) => ae.current ? !1 : (Ce(), xe(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.start(), Ge(), !0), [S, P, ae, L, x]), oa = I((V) => ae.current ? !1 : (Ce(), xe(), O.current = Te(), F.current += Te() - k.current, A.current += Te() - k.current, F.current = 0, P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.reset(), y || Ge(), !0), [S, P, L, y, ae, x]), ga = I((V) => ae.current ? !1 : (Ce(), xe(), (P.current || H.current) && ve(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, O.current = Te(), x.current && !V && x.current.activate(), Ge(), !0), [S, P, H, ae, L, x]), Ve = I((V = !1) => ae.current || B.current ? !1 : (R.current = ya(), B.current = !0, Re(), Ce(), x.current && !V && x.current.pause(), !0), [S, ae, x]), Ye = I((V = !1) => ae.current || !B.current ? !1 : (B.current = !1, H.current || xe(), P.current || Ge(R.current), w.current && (w.current = Te()), x.current && !V && x.current.resume(), !0), [S, L, ae, R, x]), za = I((V, De) => (x.current ? (De && ke.current(V, Se), x.current.message(V)) : De && ke.current(V, Se), !0), [m]), Da = I(() => P.current, [P]), Ea = I(() => H.current, [H]), Ia = I(() => x.current ? x.current.isLeader : null, [x]), Va = I(() => x.current ? x.current.isLastActive : null, [x]), da = I(() => x.current ? x.current.token : null, [x]), ya = I(() => {
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(() => {
8669
8685
  if (B.current) return R.current;
8670
8686
  let V = R.current ? R.current : N.current + L.current, De = h.current ? Te() - h.current : 0, ia = Math.floor(V - De);
8671
8687
  return ia < 0 ? 0 : Math.abs(ia);
@@ -8678,7 +8694,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8678
8694
  }, [k, F]);
8679
8695
  ge(() => {
8680
8696
  if (u > 0 && s > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
8681
- g && is(g);
8697
+ g && ns(g);
8682
8698
  let V = () => {
8683
8699
  x.current && x.current.close(), fe.cancel && fe.cancel(), Ce(), Re(!0);
8684
8700
  };
@@ -8686,7 +8702,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8686
8702
  pa && window.removeEventListener("beforeunload", V), x.current && x.current.close(), fe.cancel && fe.cancel(), Ce(), Re(!0);
8687
8703
  };
8688
8704
  }, []), ge(() => {
8689
- 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: () => {
8690
8706
  ea();
8691
8707
  }, onIdle: () => {
8692
8708
  Me();
@@ -8706,7 +8722,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8706
8722
  }, [l, JSON.stringify(p), JSON.stringify(b), W, E, y, f]), ge(() => {
8707
8723
  W.current && (W.current = !1);
8708
8724
  }, [W]);
8709
- 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) => {
8710
8726
  d = V, ie.current = V;
8711
8727
  }, setOnPrompt: (V) => {
8712
8728
  r = V, ye.current = V;
@@ -8721,16 +8737,16 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8721
8737
  } };
8722
8738
  return Se;
8723
8739
  }
8724
- var ds = qt(null);
8725
- ds.Consumer;
8726
- 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({
8727
8743
  onIdle: e,
8728
8744
  onActive: n,
8729
8745
  onAction: t,
8730
8746
  timeout: l,
8731
8747
  throttle: 500
8732
- }), cs = ({ options: e } = {}) => {
8733
- 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);
8734
8750
  return j({
8735
8751
  queryKey: ["inboxList"],
8736
8752
  queryFn: async () => await n(),
@@ -8750,20 +8766,20 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8750
8766
  enabled: !!p,
8751
8767
  ...e
8752
8768
  });
8753
- }, fs = ({ options: e } = {}) => {
8754
- const { commonReadInboxApi: n } = Ha();
8769
+ }, _s = ({ options: e } = {}) => {
8770
+ const { commonReadInboxApi: n } = Wa();
8755
8771
  return le({
8756
8772
  mutationKey: ["readInbox"],
8757
8773
  mutationFn: async (t) => await n(t),
8758
8774
  ...e
8759
8775
  });
8760
- }, jm = ({
8776
+ }, Ym = ({
8761
8777
  options: e = {
8762
8778
  inboxList: {},
8763
8779
  readInbox: {}
8764
8780
  }
8765
8781
  } = {}) => {
8766
- const n = cs({ options: e.inboxList }), t = fs({ options: e.readInbox });
8782
+ const n = fs({ options: e.inboxList }), t = _s({ options: e.readInbox });
8767
8783
  return {
8768
8784
  inboxListQuery: n,
8769
8785
  readInboxMutation: t
@@ -8778,7 +8794,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8778
8794
  [e]
8779
8795
  )
8780
8796
  };
8781
- }, _s = ({
8797
+ }, ys = ({
8782
8798
  typeConfig: e = {
8783
8799
  all: {},
8784
8800
  crypto: {},
@@ -8824,7 +8840,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8824
8840
  value: "other",
8825
8841
  ...e.other
8826
8842
  }
8827
- ], Ym = ({ options: e, formData: n } = {}) => {
8843
+ ], Xm = ({ options: e, formData: n } = {}) => {
8828
8844
  const { lng: t } = se(), { newsListApi: l } = rl(), p = Qe(t);
8829
8845
  return j({
8830
8846
  queryKey: ["newsList"],
@@ -8845,12 +8861,12 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
8845
8861
  return {
8846
8862
  ...g.data,
8847
8863
  data: r,
8848
- blogType: _s({ typeConfig: e?.typeConfig })
8864
+ blogType: ys({ typeConfig: e?.typeConfig })
8849
8865
  };
8850
8866
  },
8851
8867
  ...e
8852
8868
  });
8853
- }, Xm = ({ options: e, formData: n } = {}) => {
8869
+ }, eu = ({ options: e, formData: n } = {}) => {
8854
8870
  const { lng: t } = se(), { newsListApi: l } = rl(), p = Qe(t);
8855
8871
  return j({
8856
8872
  queryKey: ["newsList"],
@@ -9039,14 +9055,14 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9039
9055
  transactionRecordApi: m,
9040
9056
  treasureRecordApi: u
9041
9057
  };
9042
- }, ys = ({ options: e } = {}) => {
9058
+ }, Us = ({ options: e } = {}) => {
9043
9059
  const { depositApiV1: n } = Ae();
9044
9060
  return j({
9045
9061
  queryKey: ["depositV1"],
9046
9062
  queryFn: n,
9047
9063
  ...e
9048
9064
  });
9049
- }, Us = ({ paramsData: e, options: n } = {}) => {
9065
+ }, bs = ({ paramsData: e, options: n } = {}) => {
9050
9066
  const { depositApiV2: t } = Ae();
9051
9067
  return j({
9052
9068
  queryKey: ["depositV2", e],
@@ -9071,105 +9087,105 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9071
9087
  },
9072
9088
  ...n
9073
9089
  });
9074
- }, bs = ({ options: e } = {}) => {
9090
+ }, Cs = ({ options: e } = {}) => {
9075
9091
  const { depositApi: n } = Ae();
9076
9092
  return le({
9077
9093
  mutationKey: ["depositAction"],
9078
9094
  mutationFn: async (t) => n(t),
9079
9095
  ...e
9080
9096
  });
9081
- }, Cs = ({ options: e } = {}) => {
9097
+ }, vs = ({ options: e } = {}) => {
9082
9098
  const { withdrawApi: n } = Ae();
9083
9099
  return le({
9084
9100
  mutationKey: ["withdrawAction"],
9085
9101
  mutationFn: async (t) => n(t),
9086
9102
  ...e
9087
9103
  });
9088
- }, vs = ({ paramsData: e, options: n } = {}) => {
9104
+ }, hs = ({ paramsData: e, options: n } = {}) => {
9089
9105
  const { depositTransactionApi: t } = Ae();
9090
9106
  return j({
9091
9107
  queryKey: ["depositTransaction", e],
9092
9108
  queryFn: () => t({ paramsData: e }),
9093
9109
  ...n
9094
9110
  });
9095
- }, hs = ({ paramsData: e, options: n } = {}) => {
9111
+ }, Ts = ({ paramsData: e, options: n } = {}) => {
9096
9112
  const { eventTransactionApi: t } = Ae();
9097
9113
  return j({
9098
9114
  queryKey: ["eventTransaction", e],
9099
9115
  queryFn: () => t({ paramsData: e }),
9100
9116
  ...n
9101
9117
  });
9102
- }, Ts = ({ options: e } = {}) => {
9118
+ }, ks = ({ options: e } = {}) => {
9103
9119
  const { bankDepositApi: n } = Ae();
9104
9120
  return le({
9105
9121
  mutationKey: ["bankDeposit"],
9106
9122
  mutationFn: async (t) => n(t),
9107
9123
  ...e
9108
9124
  });
9109
- }, ks = ({ paramsData: e, options: n } = {}) => {
9125
+ }, xs = ({ paramsData: e, options: n } = {}) => {
9110
9126
  const { withdrawTransactionApi: t } = Ae();
9111
9127
  return j({
9112
9128
  queryKey: ["withdrawTransaction", e],
9113
9129
  queryFn: () => t({ paramsData: e }),
9114
9130
  ...n
9115
9131
  });
9116
- }, eu = ({ options: e } = {}) => {
9132
+ }, au = ({ options: e } = {}) => {
9117
9133
  const { redeemCodeDepositApi: n } = Ae();
9118
9134
  return le({
9119
9135
  mutationKey: ["redeemCodeDeposit"],
9120
9136
  mutationFn: async (t) => n(t),
9121
9137
  ...e
9122
9138
  });
9123
- }, au = ({ options: e } = {}) => {
9139
+ }, tu = ({ options: e } = {}) => {
9124
9140
  const { invoiceApi: n } = Ae();
9125
9141
  return le({
9126
9142
  mutationKey: ["invoiceAction"],
9127
9143
  mutationFn: async (t) => n(t),
9128
9144
  ...e
9129
9145
  });
9130
- }, tu = ({ options: e } = {}) => {
9146
+ }, iu = ({ options: e } = {}) => {
9131
9147
  const { updateInvoiceApi: n } = Ae();
9132
9148
  return le({
9133
9149
  mutationKey: ["updateInvoiceAction"],
9134
9150
  mutationFn: async (t) => n(t),
9135
9151
  ...e
9136
9152
  });
9137
- }, iu = ({ options: e, paramsData: n } = {}) => {
9153
+ }, nu = ({ options: e, paramsData: n } = {}) => {
9138
9154
  const { transactionRecordApi: t } = Ae();
9139
9155
  return j({
9140
9156
  queryKey: ["transactionRecord", "deposit"],
9141
9157
  queryFn: () => t(n, "deposit"),
9142
9158
  ...e
9143
9159
  });
9144
- }, nu = ({ options: e, paramsData: n } = {}) => {
9160
+ }, lu = ({ options: e, paramsData: n } = {}) => {
9145
9161
  const { transactionRecordApi: t } = Ae();
9146
9162
  return j({
9147
9163
  queryKey: ["transactionRecord", "withdraw"],
9148
9164
  queryFn: () => t(n, "withdraw"),
9149
9165
  ...e
9150
9166
  });
9151
- }, lu = ({ options: e, paramsData: n } = {}) => {
9167
+ }, ru = ({ options: e, paramsData: n } = {}) => {
9152
9168
  const { transactionRecordApi: t } = Ae();
9153
9169
  return j({
9154
9170
  queryKey: ["transactionRecord", "event"],
9155
9171
  queryFn: () => t(n, "event"),
9156
9172
  ...e
9157
9173
  });
9158
- }, ru = ({ options: e, paramsData: n } = {}) => {
9174
+ }, ou = ({ options: e, paramsData: n } = {}) => {
9159
9175
  const { transactionRecordApi: t } = Ae();
9160
9176
  return j({
9161
9177
  queryKey: ["transactionRecord", "rebate"],
9162
9178
  queryFn: () => t(n, "rebate"),
9163
9179
  ...e
9164
9180
  });
9165
- }, ou = ({ options: e, paramsData: n } = {}) => {
9181
+ }, su = ({ options: e, paramsData: n } = {}) => {
9166
9182
  const { treasureRecordApi: t } = Ae();
9167
9183
  return j({
9168
9184
  queryKey: ["treasureRecord", n],
9169
9185
  queryFn: () => t(n),
9170
9186
  ...e
9171
9187
  });
9172
- }, su = ({
9188
+ }, mu = ({
9173
9189
  depositV1: e = {},
9174
9190
  depositV2: n = {},
9175
9191
  depositTransaction: t = {},
@@ -9179,7 +9195,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9179
9195
  eventTransaction: b = {},
9180
9196
  withdrawTransaction: d = {}
9181
9197
  } = {}) => {
9182
- const r = ys(e), a = Us(n), i = vs(t), o = bs(l), m = Cs(p), u = Ts(g), s = hs(b), c = ks(
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(
9183
9199
  d
9184
9200
  );
9185
9201
  return {
@@ -9192,24 +9208,24 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9192
9208
  eventTransaction: s,
9193
9209
  withdrawTransaction: c
9194
9210
  };
9195
- }, ol = "3.7.8", xs = ol, Wa = typeof Buffer == "function", Mn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Rn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Ss = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Qa = Array.prototype.slice.call(Ss), rt = ((e) => {
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) => {
9196
9212
  let n = {};
9197
9213
  return e.forEach((t, l) => n[t] = l), n;
9198
- })(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) => {
9199
9215
  let n, t, l, p, g = "";
9200
9216
  const b = e.length % 3;
9201
9217
  for (let d = 0; d < e.length; ) {
9202
9218
  if ((t = e.charCodeAt(d++)) > 255 || (l = e.charCodeAt(d++)) > 255 || (p = e.charCodeAt(d++)) > 255)
9203
9219
  throw new TypeError("invalid character found");
9204
- 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];
9205
9221
  }
9206
9222
  return b ? g.slice(0, b - 3) + "===".substring(b) : g;
9207
- }, 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) => {
9208
9224
  let t = [];
9209
9225
  for (let l = 0, p = e.length; l < p; l += 4096)
9210
9226
  t.push(Le.apply(null, e.subarray(l, l + 4096)));
9211
9227
  return xi(t.join(""));
9212
- }, 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) => {
9213
9229
  if (e.length < 2) {
9214
9230
  var n = e.charCodeAt(0);
9215
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);
@@ -9217,7 +9233,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9217
9233
  var n = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
9218
9234
  return Le(240 | n >>> 18 & 7) + Le(128 | n >>> 12 & 63) + Le(128 | n >>> 6 & 63) + Le(128 | n & 63);
9219
9235
  }
9220
- }, 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) => {
9221
9237
  switch (e.length) {
9222
9238
  case 4:
9223
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;
@@ -9227,15 +9243,15 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9227
9243
  default:
9228
9244
  return Le((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
9229
9245
  }
9230
- }, gl = (e) => e.replace(Ls, Gs), dl = (e) => {
9231
- 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))
9232
9248
  throw new TypeError("malformed base64.");
9233
9249
  e += "==".slice(2 - (e.length & 3));
9234
9250
  let n, t, l, p = [];
9235
9251
  for (let g = 0; g < e.length; )
9236
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));
9237
9253
  return p.join("");
9238
- }, 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) => {
9239
9255
  if (typeof e != "string")
9240
9256
  return !1;
9241
9257
  const n = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
@@ -9250,11 +9266,11 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9250
9266
  e("fromBase64", function() {
9251
9267
  return pi(this);
9252
9268
  }), e("toBase64", function(n) {
9253
- return Ba(this, n);
9269
+ return Ha(this, n);
9254
9270
  }), e("toBase64URI", function() {
9255
- return Ba(this, !0);
9271
+ return Ha(this, !0);
9256
9272
  }), e("toBase64URL", function() {
9257
- return Ba(this, !0);
9273
+ return Ha(this, !0);
9258
9274
  }), e("toUint8Array", function() {
9259
9275
  return fl(this);
9260
9276
  });
@@ -9267,30 +9283,30 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9267
9283
  }), e("toBase64URL", function() {
9268
9284
  return Jt(this, !0);
9269
9285
  });
9270
- }, Ps = () => {
9286
+ }, ws = () => {
9271
9287
  Ul(), bl();
9272
- }, ws = {
9288
+ }, Fs = {
9273
9289
  version: ol,
9274
- VERSION: xs,
9290
+ VERSION: Ss,
9275
9291
  atob: Si,
9276
9292
  atobPolyfill: dl,
9277
9293
  btoa: xi,
9278
9294
  btoaPolyfill: ul,
9279
9295
  fromBase64: pi,
9280
- toBase64: Ba,
9281
- encode: Ba,
9296
+ toBase64: Ha,
9297
+ encode: Ha,
9282
9298
  encodeURI: Fn,
9283
9299
  encodeURL: Fn,
9284
9300
  utob: pl,
9285
9301
  btou: gl,
9286
9302
  decode: pi,
9287
- isValid: Rs,
9303
+ isValid: Ps,
9288
9304
  fromUint8Array: Jt,
9289
9305
  toUint8Array: fl,
9290
9306
  extendString: Ul,
9291
9307
  extendUint8Array: bl,
9292
- extendBuiltins: Ps
9293
- }, mu = (e, n) => {
9308
+ extendBuiltins: ws
9309
+ }, uu = (e, n) => {
9294
9310
  const { playGameApi: t } = bi();
9295
9311
  return j({
9296
9312
  queryKey: ["playGame"],
@@ -9317,7 +9333,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9317
9333
  supportPortrait: m,
9318
9334
  isHtmlCode: s,
9319
9335
  gameUrl: u,
9320
- decodeGameUrl: ws.decode(u),
9336
+ decodeGameUrl: Fs.decode(u),
9321
9337
  message: c
9322
9338
  };
9323
9339
  },
@@ -9330,7 +9346,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9330
9346
  currentRebateApi: n,
9331
9347
  receiveRebateApi: t
9332
9348
  };
9333
- }, Fs = ({ options: e } = {}) => {
9349
+ }, As = ({ options: e } = {}) => {
9334
9350
  const { currentRebateApi: n } = Cl();
9335
9351
  return j({
9336
9352
  queryKey: ["currentRebate"],
@@ -9338,20 +9354,20 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9338
9354
  select: (t) => zl(t, ["code", "status"]),
9339
9355
  ...e
9340
9356
  });
9341
- }, As = ({ options: e } = {}) => {
9357
+ }, Os = ({ options: e } = {}) => {
9342
9358
  const { receiveRebateApi: n } = Cl();
9343
9359
  return le({
9344
9360
  mutationKey: ["receiveRebate"],
9345
9361
  mutationFn: async () => n(),
9346
9362
  ...e
9347
9363
  });
9348
- }, uu = ({
9364
+ }, pu = ({
9349
9365
  options: e = {
9350
9366
  currentRebate: {},
9351
9367
  receiveRebate: {}
9352
9368
  }
9353
9369
  } = {}) => {
9354
- const n = Fs({ options: e.currentRebate }), t = As({ options: e.receiveRebate });
9370
+ const n = As({ options: e.currentRebate }), t = Os({ options: e.receiveRebate });
9355
9371
  return {
9356
9372
  currentRebate: n,
9357
9373
  receiveRebate: t
@@ -9375,7 +9391,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9375
9391
  redeemRewardApi: p,
9376
9392
  historyRewardApi: g
9377
9393
  };
9378
- }, Os = ({ options: e, formData: n } = {}) => {
9394
+ }, Bs = ({ options: e, formData: n } = {}) => {
9379
9395
  const { rewardListApi: t } = Xa();
9380
9396
  return j({
9381
9397
  queryKey: ["rewardsList"],
@@ -9415,35 +9431,35 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9415
9431
  },
9416
9432
  ...e
9417
9433
  });
9418
- }, Bs = ({ options: e } = {}) => {
9434
+ }, Hs = ({ options: e } = {}) => {
9419
9435
  const { redeemRewardApi: n } = Xa();
9420
9436
  return le({
9421
9437
  mutationKey: ["redeemReward"],
9422
9438
  mutationFn: async (t) => await n(t),
9423
9439
  ...e
9424
9440
  });
9425
- }, Hs = ({ options: e } = {}) => {
9441
+ }, Ws = ({ options: e } = {}) => {
9426
9442
  const { unUsedRewardListApi: n } = Xa();
9427
9443
  return j({
9428
9444
  queryKey: ["unUsedRewardsList"],
9429
9445
  queryFn: n,
9430
9446
  ...e
9431
9447
  });
9432
- }, Ws = ({ options: e } = {}) => {
9448
+ }, zs = ({ options: e } = {}) => {
9433
9449
  const { expiredRewardListApi: n } = Xa();
9434
9450
  return j({
9435
9451
  queryKey: ["expiredRewardsList"],
9436
9452
  queryFn: n,
9437
9453
  ...e
9438
9454
  });
9439
- }, zs = ({ options: e } = {}) => {
9455
+ }, Is = ({ options: e } = {}) => {
9440
9456
  const { historyRewardApi: n } = Xa();
9441
9457
  return j({
9442
9458
  queryKey: ["historyRewardsList"],
9443
9459
  queryFn: n,
9444
9460
  ...e
9445
9461
  });
9446
- }, pu = ({
9462
+ }, gu = ({
9447
9463
  options: e = {
9448
9464
  rewardsList: {},
9449
9465
  redeemReward: {},
@@ -9452,13 +9468,13 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9452
9468
  historyRewardsList: {}
9453
9469
  }
9454
9470
  } = {}) => {
9455
- const n = Os({ options: e.rewardsList }), t = Bs({
9471
+ const n = Bs({ options: e.rewardsList }), t = Hs({
9456
9472
  options: e.redeemReward
9457
- }), l = Hs({
9473
+ }), l = Ws({
9458
9474
  options: e.unUsedRewardsList
9459
- }), p = Ws({
9475
+ }), p = zs({
9460
9476
  options: e.expiredRewardsList
9461
- }), g = zs({
9477
+ }), g = Is({
9462
9478
  options: e.historyRewardsList
9463
9479
  });
9464
9480
  return {
@@ -9503,7 +9519,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9503
9519
  treasureListApi: n,
9504
9520
  redeemTreasureApi: t
9505
9521
  };
9506
- }, gu = ({ paramsData: e, options: n } = {}) => {
9522
+ }, du = ({ paramsData: e, options: n } = {}) => {
9507
9523
  const { client: t, lng: l } = se(), p = Qe(l || "tw"), { treasureListApi: g } = vl();
9508
9524
  return j({
9509
9525
  queryKey: ["treasureList", e],
@@ -9531,7 +9547,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9531
9547
  },
9532
9548
  ...n
9533
9549
  });
9534
- }, du = ({ options: e } = {}) => {
9550
+ }, cu = ({ options: e } = {}) => {
9535
9551
  const { redeemTreasureApi: n } = vl();
9536
9552
  return le({
9537
9553
  mutationKey: ["redeemTreasure"],
@@ -9544,7 +9560,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9544
9560
  vipListApi: n,
9545
9561
  vipInfoApi: t
9546
9562
  };
9547
- }, cu = ({ options: e } = {}) => {
9563
+ }, fu = ({ options: e } = {}) => {
9548
9564
  const { store: n } = se(), t = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: l } = hl();
9549
9565
  return j({
9550
9566
  queryKey: ["vipInfo"],
@@ -9559,7 +9575,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9559
9575
  },
9560
9576
  ...e
9561
9577
  });
9562
- }, Is = ({ options: e } = {}) => {
9578
+ }, Vs = ({ options: e } = {}) => {
9563
9579
  const { store: n } = se(), t = n?.getState()?.isWalletCurrency || n?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: l } = hl();
9564
9580
  return j({
9565
9581
  queryKey: ["vipList"],
@@ -9596,10 +9612,10 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9596
9612
  },
9597
9613
  ...e
9598
9614
  });
9599
- }, fu = ({ options: e } = {
9615
+ }, _u = ({ options: e } = {
9600
9616
  vipList: {}
9601
9617
  }) => ({
9602
- vipList: Is({ options: e.vipList })
9618
+ vipList: Vs({ options: e.vipList })
9603
9619
  }), An = (e) => {
9604
9620
  switch (e) {
9605
9621
  case "tw":
@@ -9619,7 +9635,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9619
9635
  default:
9620
9636
  return "En";
9621
9637
  }
9622
- }, ot = "game-icon-ds88", _u = ({ gameData: e = {} } = {}) => {
9638
+ }, ot = "game-icon-ds88", yu = ({ gameData: e = {} } = {}) => {
9623
9639
  const { lng: n } = se(), t = An(n), {
9624
9640
  gameCode: l,
9625
9641
  // 遊戲代碼
@@ -9692,7 +9708,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9692
9708
  isInvalidBet: y,
9693
9709
  haveJackpot: _
9694
9710
  };
9695
- }, Vs = (e, n = !1) => Il([
9711
+ }, Js = (e, n = !1) => Il([
9696
9712
  "EVO",
9697
9713
  "IMSPRIBE",
9698
9714
  "SABA",
@@ -9703,7 +9719,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9703
9719
  "HACK",
9704
9720
  "NAGA",
9705
9721
  "RSG"
9706
- ], e) && n ? `${e}_dark` : e, yu = ({ platformData: e, darkMode: n } = {}) => {
9722
+ ], e) && n ? `${e}_dark` : e, Uu = ({ platformData: e, darkMode: n } = {}) => {
9707
9723
  const {
9708
9724
  SubPlatformEnum: t,
9709
9725
  // 子平台枚舉
@@ -9725,7 +9741,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9725
9741
  // 臨時維護開始時間
9726
9742
  temp_maintenance_end_time: o
9727
9743
  // 臨時維護結束時間
9728
- } = e || {}, m = `${Ze}/${qn}/${Vs(l, n)}.png`;
9744
+ } = e || {}, m = `${Ze}/${qn}/${Js(l, n)}.png`;
9729
9745
  return {
9730
9746
  subPlatformEnum: t,
9731
9747
  platformEnum: l,
@@ -9739,19 +9755,19 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9739
9755
  tempMaintenanceEndTime: o,
9740
9756
  platformImageUrl: m
9741
9757
  };
9742
- }, Js = (e = {}) => !$t(e) || Ee(e) ? [] : Qt(e), On = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "platform"), Zs = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "gameTypeName"), Ks = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "game_subtype"), qs = (e = {}) => !$t(e) || Ee(e) ? [] : Qt(e), $s = (e = [], n = []) => !la(e) || Ee(e) ? {} : !la(n) || Ee(n) ? {} : e.reduce((t, l) => {
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) => {
9743
9759
  const p = n.map((g) => g.game_subtype);
9744
9760
  return p.forEach((g) => {
9745
9761
  t[g] = t[g] || [];
9746
9762
  }), p.includes(l.game_subtype) && t[l.game_subtype].push(l), t;
9747
- }, {}), Qs = ({
9763
+ }, {}), js = ({
9748
9764
  gameTypes: e = [],
9749
9765
  platforms: n = [],
9750
9766
  gameList: t = {},
9751
9767
  allGameTypes: l = [],
9752
9768
  allPlatforms: p = []
9753
9769
  }) => !la(e) || !la(n) ? {} : Ee(t) ? {} : e.reduce((g, b) => {
9754
- const d = Yl({
9770
+ const d = Xl({
9755
9771
  gameTypeName: b,
9756
9772
  platforms: n,
9757
9773
  gameList: t,
@@ -9759,7 +9775,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9759
9775
  allPlatforms: p
9760
9776
  });
9761
9777
  return Ee(d) || (g[b] = d), g;
9762
- }, {}), Uu = ({
9778
+ }, {}), bu = ({
9763
9779
  types: e = [],
9764
9780
  platforms: n = [],
9765
9781
  allGameType: t = [],
@@ -9769,7 +9785,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9769
9785
  const d = Qn(t, b);
9770
9786
  if (!d) return g;
9771
9787
  const r = p[d] || [], a = n.reduce((i, o) => {
9772
- const m = Xl({
9788
+ const m = er({
9773
9789
  platformName: o,
9774
9790
  gamesOfType: r,
9775
9791
  allPlatforms: l
@@ -9777,9 +9793,9 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9777
9793
  return Ee(m) ? i : { ...i, [o]: m };
9778
9794
  }, {});
9779
9795
  return Ee(a) || (g[b] = a), g;
9780
- }, {}), 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]) => {
9781
9797
  t[p] ? t[p] = [...t[p], ...g] : t[p] = g;
9782
- }), t), {}), Ys = (e = {}) => {
9798
+ }), t), {}), Xs = (e = {}) => {
9783
9799
  if (!$t(e) || Ee(e)) return {};
9784
9800
  const n = {};
9785
9801
  for (const [t, l] of Object.entries(e)) {
@@ -9790,7 +9806,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9790
9806
  }
9791
9807
  }
9792
9808
  return n;
9793
- }, Xs = ({
9809
+ }, em = ({
9794
9810
  allGameList: e = {},
9795
9811
  allGamePlatform: n = [],
9796
9812
  allGameType: t = [],
@@ -9803,7 +9819,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9803
9819
  highlightGames: a = [],
9804
9820
  originPlatform: i = []
9805
9821
  }) => {
9806
- 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({
9807
9823
  gameTypes: u,
9808
9824
  platforms: m,
9809
9825
  gameList: e,
@@ -9815,7 +9831,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9815
9831
  ...G,
9816
9832
  platformImageUrl: O
9817
9833
  };
9818
- }), 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(
9819
9835
  (G, [O, k]) => {
9820
9836
  const h = Qt(Vl(k));
9821
9837
  return G[O] = h, G;
@@ -9858,12 +9874,12 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9858
9874
  favorite: f
9859
9875
  }
9860
9876
  };
9861
- }, 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) => ({
9862
9878
  ...n,
9863
9879
  ...t,
9864
9880
  platform: t.SubPlatformEnum,
9865
9881
  platformEnum: t.SubPlatformEnum
9866
- }))), em = {
9882
+ }))), am = {
9867
9883
  platform: { all: [], origin: [], originPlatform: [], byGameType: {} },
9868
9884
  type: { main: [], sub: [], originMain: [], originSub: [] },
9869
9885
  gameList: {
@@ -9883,7 +9899,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9883
9899
  byGameType: {}
9884
9900
  },
9885
9901
  user: { favorite: [] }
9886
- }, am = ({ enabled: e = !0 } = {}) => {
9902
+ }, tm = ({ enabled: e = !0 } = {}) => {
9887
9903
  const { getToken: n } = se(), { userFavoriteGameApi: t, userGameListApi: l } = oe(), { data: p, isLoading: g, error: b, refetch: d } = j({
9888
9904
  queryKey: ["gamesInfo"],
9889
9905
  queryFn: async () => {
@@ -9893,7 +9909,7 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9893
9909
  } catch (i) {
9894
9910
  console.warn("Failed to fetch favorite games:", i);
9895
9911
  }
9896
- return Xs({
9912
+ return em({
9897
9913
  allGameList: a.gameTypeGroup || window.gameTypeGroup || {},
9898
9914
  allGamePlatform: a.platforms || window.platforms || [],
9899
9915
  allGameType: a.gameType || window.gameType || [],
@@ -9916,12 +9932,12 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
9916
9932
  refetchOnWindowFocus: !1
9917
9933
  });
9918
9934
  return {
9919
- gamesInfo: p || em,
9935
+ gamesInfo: p || am,
9920
9936
  isLoading: g,
9921
9937
  error: b,
9922
9938
  refetch: d
9923
9939
  };
9924
- }, tm = (e = !1) => {
9940
+ }, im = (e = !1) => {
9925
9941
  if (!e && window.gameTypeGroup) {
9926
9942
  console.log("window.gameTypeGroup 已存在,跳過初始化 mock 資料");
9927
9943
  return;
@@ -36448,18 +36464,18 @@ const Qm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => gs({
36448
36464
  is_invalid_bet: 0
36449
36465
  }
36450
36466
  });
36451
- }, im = ({
36467
+ }, nm = ({
36452
36468
  children: e,
36453
36469
  autoFetch: n = !1,
36454
36470
  mockData: t = !1
36455
36471
  }) => {
36456
36472
  ge(() => {
36457
- t && tm(!0);
36473
+ t && im(!0);
36458
36474
  }, [t]);
36459
- const l = am({ enabled: n });
36475
+ const l = tm({ enabled: n });
36460
36476
  return /* @__PURE__ */ Fe.jsx($n.Provider, { value: l, children: e });
36461
36477
  };
36462
- function Cu({
36478
+ function vu({
36463
36479
  children: e,
36464
36480
  autoFetchGamesInfo: n = !1,
36465
36481
  useMockData: t = !1,
@@ -36481,7 +36497,7 @@ function Cu({
36481
36497
  []
36482
36498
  ), r = l || d;
36483
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(
36484
- im,
36500
+ nm,
36485
36501
  {
36486
36502
  autoFetch: n,
36487
36503
  mockData: t,
@@ -36489,7 +36505,7 @@ function Cu({
36489
36505
  }
36490
36506
  ) }) }) });
36491
36507
  }
36492
- const vu = ({ onFunction: e = () => {
36508
+ const hu = ({ onFunction: e = () => {
36493
36509
  }, buttonProps: n = {} } = {}) => {
36494
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({
36495
36511
  options: {
@@ -36529,7 +36545,7 @@ const vu = ({ onFunction: e = () => {
36529
36545
  }
36530
36546
  ) : null;
36531
36547
  };
36532
- 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) => {
36533
36549
  for (var t in n || (n = {}))
36534
36550
  Tl.call(n, t) && Bn(e, t, n[t]);
36535
36551
  if (Kt)
@@ -37081,12 +37097,12 @@ var ka;
37081
37097
  })(e.QrSegment || (e.QrSegment = {}));
37082
37098
  })(ka || (ka = {}));
37083
37099
  var Aa = ka;
37084
- var lm = {
37100
+ var rm = {
37085
37101
  L: Aa.QrCode.Ecc.LOW,
37086
37102
  M: Aa.QrCode.Ecc.MEDIUM,
37087
37103
  Q: Aa.QrCode.Ecc.QUARTILE,
37088
37104
  H: Aa.QrCode.Ecc.HIGH
37089
- }, 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;
37090
37106
  function Gl(e, n = 0) {
37091
37107
  const t = [];
37092
37108
  return e.forEach(function(l, p) {
@@ -37113,10 +37129,10 @@ function Gl(e, n = 0) {
37113
37129
  function Ml(e, n) {
37114
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));
37115
37131
  }
37116
- function mm(e, n, t, l) {
37132
+ function um(e, n, t, l) {
37117
37133
  if (l == null)
37118
37134
  return null;
37119
- const p = e.length + t * 2, g = Math.floor(n * sm), b = p / n, d = (l.width || g) * b, r = (l.height || g) * b, a = l.x == null ? e.length / 2 - d / 2 : l.x * b, i = l.y == null ? e.length / 2 - r / 2 : l.y * b, o = l.opacity == null ? 1 : l.opacity;
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;
37120
37136
  let m = null;
37121
37137
  if (l.excavate) {
37122
37138
  let s = Math.floor(a), c = Math.floor(i), f = Math.ceil(d + a - s), y = Math.ceil(r + i - c);
@@ -37125,8 +37141,8 @@ function mm(e, n, t, l) {
37125
37141
  const u = l.crossOrigin;
37126
37142
  return { x: a, y: i, h: r, w: d, excavation: m, opacity: o, crossOrigin: u };
37127
37143
  }
37128
- function um(e, n) {
37129
- 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;
37130
37146
  }
37131
37147
  function Rl({
37132
37148
  value: e,
@@ -37142,7 +37158,7 @@ function Rl({
37142
37158
  const s = (Array.isArray(e) ? e : [e]).reduce((c, f) => (c.push(...Aa.QrSegment.makeSegments(f)), c), []);
37143
37159
  return Aa.QrCode.encodeSegments(
37144
37160
  s,
37145
- lm[n],
37161
+ rm[n],
37146
37162
  t,
37147
37163
  void 0,
37148
37164
  void 0,
@@ -37151,7 +37167,7 @@ function Rl({
37151
37167
  }, [e, n, t, d]);
37152
37168
  const { cells: a, margin: i, numCells: o, calculatedImageSettings: m } = de.useMemo(() => {
37153
37169
  let u = r.getModules();
37154
- 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(
37155
37171
  u,
37156
37172
  b,
37157
37173
  s,
@@ -37172,14 +37188,14 @@ function Rl({
37172
37188
  calculatedImageSettings: m
37173
37189
  };
37174
37190
  }
37175
- var pm = (function() {
37191
+ var gm = (function() {
37176
37192
  try {
37177
37193
  new Path2D().addPath(new Path2D());
37178
37194
  } catch {
37179
37195
  return !1;
37180
37196
  }
37181
37197
  return !0;
37182
- })(), gm = de.forwardRef(
37198
+ })(), dm = de.forwardRef(
37183
37199
  function(n, t) {
37184
37200
  const l = n, {
37185
37201
  value: p,
@@ -37232,7 +37248,7 @@ var pm = (function() {
37232
37248
  const W = window.devicePixelRatio || 1;
37233
37249
  w.height = w.width = g * W;
37234
37250
  const M = g / k * W;
37235
- 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) {
37236
37252
  S.forEach(function(L, N) {
37237
37253
  L && R.fillRect(N + G, x + G, 1, 1);
37238
37254
  });
@@ -37273,7 +37289,7 @@ var pm = (function() {
37273
37289
  ), A);
37274
37290
  }
37275
37291
  );
37276
- gm.displayName = "QRCodeCanvas";
37292
+ dm.displayName = "QRCodeCanvas";
37277
37293
  var Pl = de.forwardRef(
37278
37294
  function(n, t) {
37279
37295
  const l = n, {
@@ -37352,7 +37368,7 @@ var Pl = de.forwardRef(
37352
37368
  }
37353
37369
  );
37354
37370
  Pl.displayName = "QRCodeSVG";
37355
- const dm = {
37371
+ const cm = {
37356
37372
  position: "fixed",
37357
37373
  top: 0,
37358
37374
  left: 0,
@@ -37365,7 +37381,7 @@ const dm = {
37365
37381
  justifyContent: "center",
37366
37382
  zIndex: 1e4,
37367
37383
  gap: "2em"
37368
- }, cm = {
37384
+ }, fm = {
37369
37385
  position: "absolute",
37370
37386
  top: "20px",
37371
37387
  right: "20px",
@@ -37396,8 +37412,8 @@ const dm = {
37396
37412
  title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
37397
37413
  expired: "Kode QR telah kedaluwarsa"
37398
37414
  }
37399
- }, ku = ({ forcedShow: e = !1, isVisible: n, setIsVisible: t } = {}) => {
37400
- const { lng: l, getToken: p, lineConfig: g } = se(), [b, d] = oi(300), [r, a] = oi(!1), i = ee(null), o = re(g, "liffId", ""), m = Qe(l), u = p?.(), c = new URLSearchParams(window.location.search).get("mac") || mi.get("machine_mac_address") || "", { data: f, isFetching: y } = zo({
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({
37401
37417
  formData: {
37402
37418
  mac_address: c
37403
37419
  },
@@ -37418,11 +37434,11 @@ const dm = {
37418
37434
  };
37419
37435
  if (!e && (!c || u)) return null;
37420
37436
  const C = Hn[m] || Hn.en_US;
37421
- return n && /* @__PURE__ */ Fe.jsxs("div", { style: dm, children: [
37437
+ return n && /* @__PURE__ */ Fe.jsxs("div", { style: cm, children: [
37422
37438
  /* @__PURE__ */ Fe.jsx(
37423
37439
  "div",
37424
37440
  {
37425
- style: cm,
37441
+ style: fm,
37426
37442
  onClick: () => t(!1),
37427
37443
  role: "button",
37428
37444
  "aria-label": "Close",
@@ -37461,14 +37477,14 @@ const dm = {
37461
37477
  )
37462
37478
  ] })
37463
37479
  ] });
37464
- }, xu = () => {
37480
+ }, Su = () => {
37465
37481
  const e = fi(), {
37466
37482
  mutate: n,
37467
37483
  isPending: t,
37468
37484
  isSuccess: l,
37469
37485
  isError: p,
37470
37486
  error: g
37471
- } = Io({
37487
+ } = Vo({
37472
37488
  options: {
37473
37489
  onSuccess: () => {
37474
37490
  e.invalidateQueries({
@@ -37493,126 +37509,126 @@ const dm = {
37493
37509
  };
37494
37510
  export {
37495
37511
  In as ApiCtx,
37496
- Cu as ApiProvider,
37497
- xu as Bind,
37512
+ vu as ApiProvider,
37513
+ Su as Bind,
37498
37514
  $n as GamesInfoCtx,
37499
- vu as LineLogin,
37500
- ku as LineQrCode,
37501
- Ka as STATUS_TYPES,
37515
+ hu as LineLogin,
37516
+ xu as LineQrCode,
37517
+ qa as STATUS_TYPES,
37502
37518
  Vn as StatusContext,
37503
37519
  Ql as StatusProvider,
37504
- Qs as buildMultiTypes,
37505
- Uu as buildMultiTypesWithSubTypes,
37506
- Xl as buildSinglePlatformWithSubTypes,
37507
- Yl as buildSingleType,
37508
- $s as categorizeGames,
37520
+ js as buildMultiTypes,
37521
+ bu as buildMultiTypesWithSubTypes,
37522
+ er as buildSinglePlatformWithSubTypes,
37523
+ Xl as buildSingleType,
37524
+ Qs as categorizeGames,
37509
37525
  Qe as convertLanguageCode,
37510
- vm as createLogoutHandler,
37511
- Ks as extractGameSubTypeNames,
37512
- Zs as extractGameTypeNames,
37526
+ hm as createLogoutHandler,
37527
+ qs as extractGameSubTypeNames,
37528
+ Ks as extractGameTypeNames,
37513
37529
  On as extractPlatformNames,
37514
37530
  Xn as filterGamesByPlatform,
37515
37531
  Qn as findGameTypeUid,
37516
37532
  jn as findPlatformUid,
37517
37533
  Yn as findSubPlatform,
37518
- Js as flattenAllGames,
37519
- qs as flattenFavoriteGames,
37520
- hm as formatNumber,
37521
- js as groupGamesByPlatform,
37522
- Ys as groupGamesByPlatformAndSubType,
37523
- jl as groupGamesBySubType,
37524
- Vs as handleDarkImage,
37525
- tm as initMockWindowData,
37526
- Xs as processGameInfo,
37527
- bu as processPlatformData,
37528
- 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,
37529
37545
  se as useApiContext,
37530
- Hm as useAvatarList,
37531
- Tm as useBalanceGetter,
37532
- Sm as useBet,
37533
- Bm as useBetRankingData,
37534
- _o as useBetRecord,
37535
- yo as useBetRecordDetail,
37536
- Io as useBindAccount,
37537
- Zo as useCheckCurrentEventProgress,
37538
- Ko as useCheckEventStatus,
37539
- Em as useCheckPlayerWager,
37540
- Im as useClientWebSocket,
37541
- Fs as useCurrentRebate,
37542
- bs as useDepositAction,
37543
- vs as useDepositTransaction,
37544
- ys as useDepositV1,
37545
- Us as useDepositV2,
37546
- iu as useDepositWalletLog,
37547
- Zm as useEvent,
37548
- Jo as useEventList,
37549
- hs as useEventTransaction,
37550
- lu as useEventWalletLog,
37551
- Ws as useExpiredRewardsList,
37552
- _u as useGameConfig,
37553
- Cm as useGameInfoContext,
37554
- am as useGamesInfo,
37555
- Km as useGetCarouseList,
37556
- zo as useGetMachineLoginCode,
37557
- qm as useGetMarquee,
37558
- km as useGetMemberInfo,
37559
- $m as useGetRankingGame,
37560
- zs as useHistoryRewardsList,
37561
- Qm as useIdleTimeout,
37562
- jm as useInbox,
37563
- cs as useInboxList,
37564
- xm as useInitializeWithToken,
37565
- au as useInvoiceAction,
37566
- 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,
37567
37583
  il as useLineLogin,
37568
- Wo as useLineLogin2,
37569
- Lo as useLogin,
37570
- Go as useLogout,
37571
- Lm as useMemberTransfer,
37572
- Gm as useMobileLogin,
37573
- Mm as useMobileLoginV2,
37574
- Rm as useMobileRegister,
37575
- Xm as useNewsDetail,
37576
- Ym as useNewsList,
37577
- su as usePayment,
37578
- yu as usePlatformConfig,
37579
- mu as usePlayGame,
37580
- Dm as usePointTransfer,
37581
- fs as useReadInbox,
37582
- uu as useRebate,
37583
- ru as useRebateWalletLog,
37584
- As as useReceiveRebate,
37585
- eu as useRedeemCodeDeposit,
37586
- Vm as useRedeemEventReward,
37587
- Bs as useRedeemReward,
37588
- du as useRedeemTreasure,
37589
- wo as useResetUserPassword,
37590
- Ao as useResetUserTransactionPassword,
37591
- pu as useRewards,
37592
- Os as useRewardsList,
37593
- Pm as useSendMobileVerifyCode,
37594
- Fo as useSetUserTransactionPassword,
37595
- Jm as useSettleEvent,
37596
- 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,
37597
37613
  Jn as useStatus,
37598
- Ro as useToggleFavoriteGame,
37599
- Ho as useTransferInGame,
37600
- gu as useTreasureList,
37601
- ou as useTreasureWalletLog,
37602
- Hs as useUnUsedRewardsList,
37603
- Wm as useUpdateAvatar,
37604
- tu as useUpdateInvoiceAction,
37605
- Po as useUpdateUserInfo,
37606
- zm as useUser,
37607
- Bo as useUserBindCard,
37608
- Oo as useUserRebate,
37609
- Fm as useVerifyDonationCode,
37610
- wm as useVerifyPhoneBar,
37611
- Am as useVerifyResetAction,
37612
- fu as useVip,
37613
- cu as useVipInfo,
37614
- Is as useVipList,
37615
- Cs as useWithdrawAction,
37616
- ks as useWithdrawTransaction,
37617
- 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
37618
37634
  };