@obb871001/api-integration-sdk 1.0.153 → 1.0.154

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
- import ca, { createContext as ll, useContext as nl, useCallback as ie, useMemo as Mi, useEffect as ga, useRef as Ii } from "react";
1
+ import _a, { createContext as ll, useContext as nl, useCallback as ie, useMemo as Pi, useEffect as da, useRef as Ii } from "react";
2
2
  import { useQuery as Te, QueryClient as Rl, QueryClientProvider as Pl, useQueries as rl, useMutation as Ge } from "@tanstack/react-query";
3
3
  import Fl from "axios";
4
- import { find as Fi, isEmpty as te, isObject as ci, flatMap as _i, isArray as Be, map as _a, entries as Ol, values as Bl, keys as Ki, get as Sa, replace as qi, includes as wl } from "lodash";
4
+ import { find as ci, isEmpty as te, isObject as _i, flatMap as fi, isArray as Be, map as aa, entries as Ol, values as Bl, keys as Ki, get as Sa, replace as qi, includes as wl } from "lodash";
5
5
  import Al from "react-dom";
6
- var Si = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
6
+ var Ei = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
7
  function ol(e) {
8
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9
9
  }
@@ -31,12 +31,12 @@ function Hl(e) {
31
31
  });
32
32
  }), o;
33
33
  }
34
- var Da = { exports: {} }, ma = {};
34
+ var Da = { exports: {} }, sa = {};
35
35
  var ji;
36
36
  function Wl() {
37
- if (ji) return ma;
37
+ if (ji) return sa;
38
38
  ji = 1;
39
- var e = ca, y = Symbol.for("react.element"), o = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, c = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, _ = { key: !0, ref: !0, __self: !0, __source: !0 };
39
+ var e = _a, y = Symbol.for("react.element"), o = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, c = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, _ = { key: !0, ref: !0, __self: !0, __source: !0 };
40
40
  function v(f, d, a) {
41
41
  var t, s = {}, l = null, r = null;
42
42
  a !== void 0 && (l = "" + a), d.key !== void 0 && (l = "" + d.key), d.ref !== void 0 && (r = d.ref);
@@ -44,13 +44,13 @@ function Wl() {
44
44
  if (f && f.defaultProps) for (t in d = f.defaultProps, d) s[t] === void 0 && (s[t] = d[t]);
45
45
  return { $$typeof: y, type: f, key: l, ref: r, props: s, _owner: c.current };
46
46
  }
47
- return ma.Fragment = o, ma.jsx = v, ma.jsxs = v, ma;
47
+ return sa.Fragment = o, sa.jsx = v, sa.jsxs = v, sa;
48
48
  }
49
- var sa = {};
49
+ var ua = {};
50
50
  var Qi;
51
51
  function zl() {
52
52
  return Qi || (Qi = 1, process.env.NODE_ENV !== "production" && (function() {
53
- var e = ca, y = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), f = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), t = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), r = Symbol.for("react.offscreen"), n = Symbol.iterator, p = "@@iterator";
53
+ var e = _a, y = Symbol.for("react.element"), o = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), _ = Symbol.for("react.profiler"), v = Symbol.for("react.provider"), f = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), t = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), r = Symbol.for("react.offscreen"), n = Symbol.iterator, p = "@@iterator";
54
54
  function u(b) {
55
55
  if (b === null || typeof b != "object")
56
56
  return null;
@@ -217,8 +217,8 @@ function zl() {
217
217
  }
218
218
  var pe = !1, Ue;
219
219
  {
220
- var ia = typeof WeakMap == "function" ? WeakMap : Map;
221
- Ue = new ia();
220
+ var ta = typeof WeakMap == "function" ? WeakMap : Map;
221
+ Ue = new ta();
222
222
  }
223
223
  function Me(b, P) {
224
224
  if (!b || pe)
@@ -366,24 +366,24 @@ function zl() {
366
366
  }
367
367
  function je(b) {
368
368
  try {
369
- return ta(b), !1;
369
+ return la(b), !1;
370
370
  } catch {
371
371
  return !0;
372
372
  }
373
373
  }
374
- function ta(b) {
374
+ function la(b) {
375
375
  return "" + b;
376
376
  }
377
377
  function Se(b) {
378
378
  if (je(b))
379
- return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ce(b)), ta(b);
379
+ return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ce(b)), la(b);
380
380
  }
381
- var Fe = g.ReactCurrentOwner, yi = {
381
+ var Fe = g.ReactCurrentOwner, bi = {
382
382
  key: !0,
383
383
  ref: !0,
384
384
  __self: !0,
385
385
  __source: !0
386
- }, la, na;
386
+ }, na, ra;
387
387
  function Oe(b) {
388
388
  if (ye.call(b, "ref")) {
389
389
  var P = Object.getOwnPropertyDescriptor(b, "ref").get;
@@ -400,13 +400,13 @@ function zl() {
400
400
  }
401
401
  return b.key !== void 0;
402
402
  }
403
- function Ci(b, P) {
403
+ function vi(b, P) {
404
404
  typeof b.ref == "string" && Fe.current;
405
405
  }
406
406
  function fa(b, P) {
407
407
  {
408
408
  var O = function() {
409
- la || (la = !0, m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
409
+ na || (na = !0, m("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
410
410
  };
411
411
  O.isReactWarning = !0, Object.defineProperty(b, "key", {
412
412
  get: O,
@@ -417,7 +417,7 @@ function zl() {
417
417
  function Ua(b, P) {
418
418
  {
419
419
  var O = function() {
420
- na || (na = !0, m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
420
+ ra || (ra = !0, m("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", P));
421
421
  };
422
422
  O.isReactWarning = !0, Object.defineProperty(b, "ref", {
423
423
  get: O,
@@ -425,7 +425,7 @@ function zl() {
425
425
  });
426
426
  }
427
427
  }
428
- var bi = function(b, P, O, H, Q, X, K) {
428
+ var Ti = function(b, P, O, H, Q, X, K) {
429
429
  var J = {
430
430
  // This tag allows us to uniquely identify this as a React Element
431
431
  $$typeof: y,
@@ -454,12 +454,12 @@ function zl() {
454
454
  value: Q
455
455
  }), Object.freeze && (Object.freeze(J.props), Object.freeze(J)), J;
456
456
  };
457
- function vi(b, P, O, H, Q) {
457
+ function hi(b, P, O, H, Q) {
458
458
  {
459
459
  var X, K = {}, J = null, se = null;
460
- O !== void 0 && (Se(O), J = "" + O), We(P) && (Se(P.key), J = "" + P.key), Oe(P) && (se = P.ref, Ci(P, Q));
460
+ O !== void 0 && (Se(O), J = "" + O), We(P) && (Se(P.key), J = "" + P.key), Oe(P) && (se = P.ref, vi(P, Q));
461
461
  for (X in P)
462
- ye.call(P, X) && !yi.hasOwnProperty(X) && (K[X] = P[X]);
462
+ ye.call(P, X) && !bi.hasOwnProperty(X) && (K[X] = P[X]);
463
463
  if (b && b.defaultProps) {
464
464
  var ee = b.defaultProps;
465
465
  for (X in ee)
@@ -469,7 +469,7 @@ function zl() {
469
469
  var ae = typeof b == "function" ? b.displayName || b.name || "Unknown" : b;
470
470
  J && fa(K, ae), se && Ua(K, ae);
471
471
  }
472
- return bi(b, J, se, Q, H, Fe.current, K);
472
+ return Ti(b, J, se, Q, H, Fe.current, K);
473
473
  }
474
474
  }
475
475
  var Qe = g.ReactCurrentOwner, ya = g.ReactDebugCurrentFrame;
@@ -480,8 +480,8 @@ function zl() {
480
480
  } else
481
481
  ya.setExtraStackFrame(null);
482
482
  }
483
- var ra;
484
- ra = !1;
483
+ var oa;
484
+ oa = !1;
485
485
  function Ye(b) {
486
486
  return typeof b == "object" && b !== null && b.$$typeof === y;
487
487
  }
@@ -497,7 +497,7 @@ Check the render method of \`` + b + "`.";
497
497
  return "";
498
498
  }
499
499
  }
500
- function Ti(b) {
500
+ function ki(b) {
501
501
  return "";
502
502
  }
503
503
  var ba = {};
@@ -562,15 +562,15 @@ Check the top-level render call using <` + O + ">.");
562
562
  if (O) {
563
563
  var H = E(P);
564
564
  He(O, b.props, "prop", H, b);
565
- } else if (P.PropTypes !== void 0 && !ra) {
566
- ra = !0;
565
+ } else if (P.PropTypes !== void 0 && !oa) {
566
+ oa = !0;
567
567
  var Q = E(P);
568
568
  m("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", Q || "Unknown");
569
569
  }
570
570
  typeof P.getDefaultProps == "function" && !P.getDefaultProps.isReactClassApproved && m("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
571
571
  }
572
572
  }
573
- function hi(b) {
573
+ function xi(b) {
574
574
  {
575
575
  for (var P = Object.keys(b.props), O = 0; O < P.length; O++) {
576
576
  var H = P[O];
@@ -582,19 +582,19 @@ Check the top-level render call using <` + O + ">.");
582
582
  b.ref !== null && (De(b), m("Invalid attribute `ref` supplied to `React.Fragment`."), De(null));
583
583
  }
584
584
  }
585
- var oa = {};
585
+ var ma = {};
586
586
  function oe(b, P, O, H, Q, X) {
587
587
  {
588
588
  var K = x(b);
589
589
  if (!K) {
590
590
  var J = "";
591
591
  (b === void 0 || typeof b == "object" && b !== null && Object.keys(b).length === 0) && (J += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
592
- var se = Ti();
592
+ var se = ki();
593
593
  se ? J += se : J += Ca();
594
594
  var ee;
595
595
  b === null ? ee = "null" : re(b) ? ee = "array" : b !== void 0 && b.$$typeof === y ? (ee = "<" + (E(b.type) || "Unknown") + " />", J = " Did you accidentally export a JSX literal instead of a component?") : ee = typeof b, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", ee, J);
596
596
  }
597
- var ae = vi(b, P, O, Q, X);
597
+ var ae = hi(b, P, O, Q, X);
598
598
  if (ae == null)
599
599
  return ae;
600
600
  if (K) {
@@ -613,18 +613,18 @@ Check the top-level render call using <` + O + ">.");
613
613
  if (ye.call(P, "key")) {
614
614
  var ze = E(b), ue = Object.keys(P).filter(function(Ml) {
615
615
  return Ml !== "key";
616
- }), xi = ue.length > 0 ? "{key: someKey, " + ue.join(": ..., ") + ": ...}" : "{key: someKey}";
617
- if (!oa[ze + xi]) {
616
+ }), Di = ue.length > 0 ? "{key: someKey, " + ue.join(": ..., ") + ": ...}" : "{key: someKey}";
617
+ if (!ma[ze + Di]) {
618
618
  var Gl = ue.length > 0 ? "{" + ue.join(": ..., ") + ": ...}" : "{}";
619
619
  m(`A props object containing a "key" prop is being spread into JSX:
620
620
  let props = %s;
621
621
  <%s {...props} />
622
622
  React keys must be passed directly to JSX without using spread:
623
623
  let props = %s;
624
- <%s key={someKey} {...props} />`, xi, ze, Gl, ze), oa[ze + xi] = !0;
624
+ <%s key={someKey} {...props} />`, Di, ze, Gl, ze), ma[ze + Di] = !0;
625
625
  }
626
626
  }
627
- return b === i ? hi(ae) : ka(ae), ae;
627
+ return b === i ? xi(ae) : ka(ae), ae;
628
628
  }
629
629
  }
630
630
  function be(b, P, O) {
@@ -633,9 +633,9 @@ React keys must be passed directly to JSX without using spread:
633
633
  function xa(b, P, O) {
634
634
  return oe(b, P, O, !1);
635
635
  }
636
- var ki = xa, Ll = be;
637
- sa.Fragment = i, sa.jsx = ki, sa.jsxs = Ll;
638
- })()), sa;
636
+ var Si = xa, Ll = be;
637
+ ua.Fragment = i, ua.jsx = Si, ua.jsxs = Ll;
638
+ })()), ua;
639
639
  }
640
640
  var Yi;
641
641
  function Zl() {
@@ -680,7 +680,7 @@ const sl = ll(null), mo = () => {
680
680
  "useGameInfoContext must be used within a GameInfoCtx.Provider"
681
681
  );
682
682
  return e;
683
- }, Oi = (e) => {
683
+ }, Ui = (e) => {
684
684
  switch (e) {
685
685
  case "tw":
686
686
  return "zh_TW";
@@ -725,7 +725,7 @@ const sl = ll(null), mo = () => {
725
725
  minimumFractionDigits: 2,
726
726
  maximumFractionDigits: 2
727
727
  }).format(y);
728
- }, ul = (e = [], y) => Fi(e, { gameTypeName: y })?.gameTypeUid, pl = (e = [], y) => Fi(e, { platform: y })?.platformUid, gl = (e = [], y) => Fi(e, { SubPlatformEnum: y }), dl = (e = [], y, o) => te(e) ? [] : e.filter((i) => o ? String(i?.SubPlatformEnumUid) === String(o?.SubPlatformEnumUid) : String(i.platformUid) === String(y)), Vl = (e = []) => te(e) ? {} : e.reduce((y, o) => {
728
+ }, ul = (e = [], y) => ci(e, { gameTypeName: y })?.gameTypeUid, pl = (e = [], y) => ci(e, { platform: y })?.platformUid, gl = (e = [], y) => ci(e, { SubPlatformEnum: y }), dl = (e = [], y, o) => te(e) ? [] : e.filter((i) => o ? String(i?.SubPlatformEnumUid) === String(o?.SubPlatformEnumUid) : String(i.platformUid) === String(y)), Vl = (e = []) => te(e) ? {} : e.reduce((y, o) => {
729
729
  const i = o?.game_subtype || "UNKNOWN";
730
730
  return y[i] || (y[i] = []), y[i].push(o), y;
731
731
  }, {}), Il = ({
@@ -755,7 +755,7 @@ const sl = ll(null), mo = () => {
755
755
  c
756
756
  );
757
757
  return Vl(_);
758
- }, ql = (e = {}) => !ci(e) || te(e) ? [] : _i(e), Xi = (e = []) => !Be(e) || te(e) ? [] : _a(e, "platform"), jl = (e = []) => !Be(e) || te(e) ? [] : _a(e, "gameTypeName"), Ql = (e = []) => !Be(e) || te(e) ? [] : _a(e, "game_subtype"), Yl = (e = {}) => !ci(e) || te(e) ? [] : _i(e), Xl = (e = [], y = []) => !Be(e) || te(e) ? {} : !Be(y) || te(y) ? {} : e.reduce((o, i) => {
758
+ }, ql = (e = {}) => !_i(e) || te(e) ? [] : fi(e), Xi = (e = []) => !Be(e) || te(e) ? [] : aa(e, "platform"), jl = (e = []) => !Be(e) || te(e) ? [] : aa(e, "gameTypeName"), Ql = (e = []) => !Be(e) || te(e) ? [] : aa(e, "game_subtype"), Yl = (e = {}) => !_i(e) || te(e) ? [] : fi(e), Xl = (e = [], y = []) => !Be(e) || te(e) ? {} : !Be(y) || te(y) ? {} : e.reduce((o, i) => {
759
759
  const c = y.map((_) => _.game_subtype);
760
760
  return c.forEach((_) => {
761
761
  o[_] = o[_] || [];
@@ -793,10 +793,10 @@ const sl = ll(null), mo = () => {
793
793
  return te(l) ? t : { ...t, [s]: l };
794
794
  }, {});
795
795
  return te(a) || (_[v] = a), _;
796
- }, {}), en = (e = {}) => !ci(e) || te(e) ? {} : Object.values(e).reduce((o, i) => (Object.entries(i).forEach(([c, _]) => {
796
+ }, {}), en = (e = {}) => !_i(e) || te(e) ? {} : Object.values(e).reduce((o, i) => (Object.entries(i).forEach(([c, _]) => {
797
797
  o[c] ? o[c] = [...o[c], ..._] : o[c] = _;
798
798
  }), o), {}), an = (e = {}) => {
799
- if (!ci(e) || te(e)) return {};
799
+ if (!_i(e) || te(e)) return {};
800
800
  const y = {};
801
801
  for (const [o, i] of Object.entries(e)) {
802
802
  y[o] = {};
@@ -827,7 +827,7 @@ const sl = ll(null), mo = () => {
827
827
  allPlatforms: y
828
828
  }), m = Xl(s, i), U = en(g), C = an(U), T = Ol(g).reduce(
829
829
  (k, [D, F]) => {
830
- const x = _i(Bl(F));
830
+ const x = fi(Bl(F));
831
831
  return k[D] = x, k;
832
832
  },
833
833
  {}
@@ -868,7 +868,7 @@ const sl = ll(null), mo = () => {
868
868
  favorite: u
869
869
  }
870
870
  };
871
- }, go = (e = []) => !Be(e) || te(e) ? [] : _i(e, (y) => te(y.SubPlatformEnum) ? y : y.SubPlatformEnum.map((o) => ({
871
+ }, go = (e = []) => !Be(e) || te(e) ? [] : fi(e, (y) => te(y.SubPlatformEnum) ? y : y.SubPlatformEnum.map((o) => ({
872
872
  ...y,
873
873
  ...o,
874
874
  platform: o.SubPlatformEnum,
@@ -891,7 +891,7 @@ function V() {
891
891
  })(mn, function() {
892
892
  var o = o || (function(i, c) {
893
893
  var _;
894
- if (typeof window < "u" && window.crypto && (_ = window.crypto), typeof self < "u" && self.crypto && (_ = self.crypto), typeof globalThis < "u" && globalThis.crypto && (_ = globalThis.crypto), !_ && typeof window < "u" && window.msCrypto && (_ = window.msCrypto), !_ && typeof Si < "u" && Si.crypto && (_ = Si.crypto), !_ && typeof ln == "function")
894
+ if (typeof window < "u" && window.crypto && (_ = window.crypto), typeof self < "u" && self.crypto && (_ = self.crypto), typeof globalThis < "u" && globalThis.crypto && (_ = globalThis.crypto), !_ && typeof window < "u" && window.msCrypto && (_ = window.msCrypto), !_ && typeof Ei < "u" && Ei.crypto && (_ = Ei.crypto), !_ && typeof ln == "function")
895
895
  try {
896
896
  _ = on;
897
897
  } catch {
@@ -1385,7 +1385,7 @@ function V() {
1385
1385
  })(Ma)), Ma.exports;
1386
1386
  }
1387
1387
  var Ra = { exports: {} }, sn = Ra.exports, et;
1388
- function fi() {
1388
+ function yi() {
1389
1389
  return et || (et = 1, (function(e, y) {
1390
1390
  (function(o, i) {
1391
1391
  e.exports = i(V());
@@ -2083,7 +2083,7 @@ var za = { exports: {} }, Tn = za.exports, st;
2083
2083
  function _l() {
2084
2084
  return st || (st = 1, (function(e, y) {
2085
2085
  (function(o, i, c) {
2086
- e.exports = i(V(), fi());
2086
+ e.exports = i(V(), yi());
2087
2087
  })(Tn, function(o) {
2088
2088
  return (function() {
2089
2089
  var i = o, c = i.lib, _ = c.Hasher, v = i.x64, f = v.Word, d = v.WordArray, a = i.algo;
@@ -2190,18 +2190,18 @@ function _l() {
2190
2190
  ]);
2191
2191
  },
2192
2192
  _doProcessBlock: function(n, p) {
2193
- for (var u = this._hash.words, g = u[0], m = u[1], U = u[2], C = u[3], T = u[4], h = u[5], k = u[6], D = u[7], F = g.high, x = g.low, S = m.high, L = m.low, E = U.high, B = U.low, w = C.high, A = C.low, j = T.high, I = T.low, W = h.high, Z = h.low, N = k.high, M = k.low, R = D.high, G = D.low, Y = F, q = x, $ = S, z = L, pe = E, Ue = B, ia = w, Me = A, ge = j, me = I, xe = W, ye = Z, Ae = N, Re = M, Pe = R, He = G, de = 0; de < 80; de++) {
2193
+ for (var u = this._hash.words, g = u[0], m = u[1], U = u[2], C = u[3], T = u[4], h = u[5], k = u[6], D = u[7], F = g.high, x = g.low, S = m.high, L = m.low, E = U.high, B = U.low, w = C.high, A = C.low, j = T.high, I = T.low, W = h.high, Z = h.low, N = k.high, M = k.low, R = D.high, G = D.low, Y = F, q = x, $ = S, z = L, pe = E, Ue = B, ta = w, Me = A, ge = j, me = I, xe = W, ye = Z, Ae = N, Re = M, Pe = R, He = G, de = 0; de < 80; de++) {
2194
2194
  var re, Ce, je = l[de];
2195
2195
  if (de < 16)
2196
2196
  Ce = je.high = n[p + de * 2] | 0, re = je.low = n[p + de * 2 + 1] | 0;
2197
2197
  else {
2198
- var ta = l[de - 15], Se = ta.high, Fe = ta.low, yi = (Se >>> 1 | Fe << 31) ^ (Se >>> 8 | Fe << 24) ^ Se >>> 7, la = (Fe >>> 1 | Se << 31) ^ (Fe >>> 8 | Se << 24) ^ (Fe >>> 7 | Se << 25), na = l[de - 2], Oe = na.high, We = na.low, Ci = (Oe >>> 19 | We << 13) ^ (Oe << 3 | We >>> 29) ^ Oe >>> 6, fa = (We >>> 19 | Oe << 13) ^ (We << 3 | Oe >>> 29) ^ (We >>> 6 | Oe << 26), Ua = l[de - 7], bi = Ua.high, vi = Ua.low, Qe = l[de - 16], ya = Qe.high, De = Qe.low;
2199
- re = la + vi, Ce = yi + bi + (re >>> 0 < la >>> 0 ? 1 : 0), re = re + fa, Ce = Ce + Ci + (re >>> 0 < fa >>> 0 ? 1 : 0), re = re + De, Ce = Ce + ya + (re >>> 0 < De >>> 0 ? 1 : 0), je.high = Ce, je.low = re;
2198
+ var la = l[de - 15], Se = la.high, Fe = la.low, bi = (Se >>> 1 | Fe << 31) ^ (Se >>> 8 | Fe << 24) ^ Se >>> 7, na = (Fe >>> 1 | Se << 31) ^ (Fe >>> 8 | Se << 24) ^ (Fe >>> 7 | Se << 25), ra = l[de - 2], Oe = ra.high, We = ra.low, vi = (Oe >>> 19 | We << 13) ^ (Oe << 3 | We >>> 29) ^ Oe >>> 6, fa = (We >>> 19 | Oe << 13) ^ (We << 3 | Oe >>> 29) ^ (We >>> 6 | Oe << 26), Ua = l[de - 7], Ti = Ua.high, hi = Ua.low, Qe = l[de - 16], ya = Qe.high, De = Qe.low;
2199
+ re = na + hi, Ce = bi + Ti + (re >>> 0 < na >>> 0 ? 1 : 0), re = re + fa, Ce = Ce + vi + (re >>> 0 < fa >>> 0 ? 1 : 0), re = re + De, Ce = Ce + ya + (re >>> 0 < De >>> 0 ? 1 : 0), je.high = Ce, je.low = re;
2200
2200
  }
2201
- var ra = ge & xe ^ ~ge & Ae, Ye = me & ye ^ ~me & Re, Ca = Y & $ ^ Y & pe ^ $ & pe, Ti = q & z ^ q & Ue ^ z & Ue, ba = (Y >>> 28 | q << 4) ^ (Y << 30 | q >>> 2) ^ (Y << 25 | q >>> 7), va = (q >>> 28 | Y << 4) ^ (q << 30 | Y >>> 2) ^ (q << 25 | Y >>> 7), Ta = (ge >>> 14 | me << 18) ^ (ge >>> 18 | me << 14) ^ (ge << 23 | me >>> 9), ha = (me >>> 14 | ge << 18) ^ (me >>> 18 | ge << 14) ^ (me << 23 | ge >>> 9), ka = s[de], hi = ka.high, oa = ka.low, oe = He + ha, be = Pe + Ta + (oe >>> 0 < He >>> 0 ? 1 : 0), oe = oe + Ye, be = be + ra + (oe >>> 0 < Ye >>> 0 ? 1 : 0), oe = oe + oa, be = be + hi + (oe >>> 0 < oa >>> 0 ? 1 : 0), oe = oe + re, be = be + Ce + (oe >>> 0 < re >>> 0 ? 1 : 0), xa = va + Ti, ki = ba + Ca + (xa >>> 0 < va >>> 0 ? 1 : 0);
2202
- Pe = Ae, He = Re, Ae = xe, Re = ye, xe = ge, ye = me, me = Me + oe | 0, ge = ia + be + (me >>> 0 < Me >>> 0 ? 1 : 0) | 0, ia = pe, Me = Ue, pe = $, Ue = z, $ = Y, z = q, q = oe + xa | 0, Y = be + ki + (q >>> 0 < oe >>> 0 ? 1 : 0) | 0;
2201
+ var oa = ge & xe ^ ~ge & Ae, Ye = me & ye ^ ~me & Re, Ca = Y & $ ^ Y & pe ^ $ & pe, ki = q & z ^ q & Ue ^ z & Ue, ba = (Y >>> 28 | q << 4) ^ (Y << 30 | q >>> 2) ^ (Y << 25 | q >>> 7), va = (q >>> 28 | Y << 4) ^ (q << 30 | Y >>> 2) ^ (q << 25 | Y >>> 7), Ta = (ge >>> 14 | me << 18) ^ (ge >>> 18 | me << 14) ^ (ge << 23 | me >>> 9), ha = (me >>> 14 | ge << 18) ^ (me >>> 18 | ge << 14) ^ (me << 23 | ge >>> 9), ka = s[de], xi = ka.high, ma = ka.low, oe = He + ha, be = Pe + Ta + (oe >>> 0 < He >>> 0 ? 1 : 0), oe = oe + Ye, be = be + oa + (oe >>> 0 < Ye >>> 0 ? 1 : 0), oe = oe + ma, be = be + xi + (oe >>> 0 < ma >>> 0 ? 1 : 0), oe = oe + re, be = be + Ce + (oe >>> 0 < re >>> 0 ? 1 : 0), xa = va + ki, Si = ba + Ca + (xa >>> 0 < va >>> 0 ? 1 : 0);
2202
+ Pe = Ae, He = Re, Ae = xe, Re = ye, xe = ge, ye = me, me = Me + oe | 0, ge = ta + be + (me >>> 0 < Me >>> 0 ? 1 : 0) | 0, ta = pe, Me = Ue, pe = $, Ue = z, $ = Y, z = q, q = oe + xa | 0, Y = be + Si + (q >>> 0 < oe >>> 0 ? 1 : 0) | 0;
2203
2203
  }
2204
- x = g.low = x + q, g.high = F + Y + (x >>> 0 < q >>> 0 ? 1 : 0), L = m.low = L + z, m.high = S + $ + (L >>> 0 < z >>> 0 ? 1 : 0), B = U.low = B + Ue, U.high = E + pe + (B >>> 0 < Ue >>> 0 ? 1 : 0), A = C.low = A + Me, C.high = w + ia + (A >>> 0 < Me >>> 0 ? 1 : 0), I = T.low = I + me, T.high = j + ge + (I >>> 0 < me >>> 0 ? 1 : 0), Z = h.low = Z + ye, h.high = W + xe + (Z >>> 0 < ye >>> 0 ? 1 : 0), M = k.low = M + Re, k.high = N + Ae + (M >>> 0 < Re >>> 0 ? 1 : 0), G = D.low = G + He, D.high = R + Pe + (G >>> 0 < He >>> 0 ? 1 : 0);
2204
+ x = g.low = x + q, g.high = F + Y + (x >>> 0 < q >>> 0 ? 1 : 0), L = m.low = L + z, m.high = S + $ + (L >>> 0 < z >>> 0 ? 1 : 0), B = U.low = B + Ue, U.high = E + pe + (B >>> 0 < Ue >>> 0 ? 1 : 0), A = C.low = A + Me, C.high = w + ta + (A >>> 0 < Me >>> 0 ? 1 : 0), I = T.low = I + me, T.high = j + ge + (I >>> 0 < me >>> 0 ? 1 : 0), Z = h.low = Z + ye, h.high = W + xe + (Z >>> 0 < ye >>> 0 ? 1 : 0), M = k.low = M + Re, k.high = N + Ae + (M >>> 0 < Re >>> 0 ? 1 : 0), G = D.low = G + He, D.high = R + Pe + (G >>> 0 < He >>> 0 ? 1 : 0);
2205
2205
  },
2206
2206
  _doFinalize: function() {
2207
2207
  var n = this._data, p = n.words, u = this._nDataBytes * 8, g = n.sigBytes * 8;
@@ -2224,7 +2224,7 @@ var Za = { exports: {} }, hn = Za.exports, ut;
2224
2224
  function kn() {
2225
2225
  return ut || (ut = 1, (function(e, y) {
2226
2226
  (function(o, i, c) {
2227
- e.exports = i(V(), fi(), _l());
2227
+ e.exports = i(V(), yi(), _l());
2228
2228
  })(hn, function(o) {
2229
2229
  return (function() {
2230
2230
  var i = o, c = i.x64, _ = c.Word, v = c.WordArray, f = i.algo, d = f.SHA512, a = f.SHA384 = d.extend({
@@ -2254,7 +2254,7 @@ var Ja = { exports: {} }, xn = Ja.exports, pt;
2254
2254
  function Sn() {
2255
2255
  return pt || (pt = 1, (function(e, y) {
2256
2256
  (function(o, i, c) {
2257
- e.exports = i(V(), fi());
2257
+ e.exports = i(V(), yi());
2258
2258
  })(xn, function(o) {
2259
2259
  return (function(i) {
2260
2260
  var c = o, _ = c.lib, v = _.WordArray, f = _.Hasher, d = c.x64, a = d.Word, t = c.algo, s = [], l = [], r = [];
@@ -5845,7 +5845,7 @@ var cr = Ga.exports, Pt;
5845
5845
  function _r() {
5846
5846
  return Pt || (Pt = 1, (function(e, y) {
5847
5847
  (function(o, i, c) {
5848
- e.exports = i(V(), fi(), pn(), dn(), Ke(), fn(), qe(), cl(), Bi(), vn(), _l(), kn(), Sn(), En(), wi(), Gn(), we(), le(), Fn(), Bn(), An(), Wn(), Zn(), Vn(), Kn(), jn(), Yn(), $n(), ar(), tr(), nr(), or(), sr(), pr(), dr());
5848
+ e.exports = i(V(), yi(), pn(), dn(), Ke(), fn(), qe(), cl(), Bi(), vn(), _l(), kn(), Sn(), En(), wi(), Gn(), we(), le(), Fn(), Bn(), An(), Wn(), Zn(), Vn(), Kn(), jn(), Yn(), $n(), ar(), tr(), nr(), or(), sr(), pr(), dr());
5849
5849
  })(cr, function(o) {
5850
5850
  return o;
5851
5851
  });
@@ -32560,7 +32560,7 @@ const $e = /* @__PURE__ */ ol(fr), Ze = (e) => {
32560
32560
  autoFetch: y = !1,
32561
32561
  mockData: o = !1
32562
32562
  }) => {
32563
- ga(() => {
32563
+ da(() => {
32564
32564
  o && Cr(!0);
32565
32565
  }, [o]);
32566
32566
  const i = yr({ enabled: y });
@@ -32573,7 +32573,7 @@ function co({
32573
32573
  queryClient: i,
32574
32574
  ...c
32575
32575
  }) {
32576
- const _ = Mi(() => Jl(c), [c]), v = Mi(
32576
+ const _ = Pi(() => Jl(c), [c]), v = Pi(
32577
32577
  () => new Rl({
32578
32578
  defaultOptions: {
32579
32579
  queries: {
@@ -32646,7 +32646,7 @@ const _o = ({ otherQueryKey: e = [], options: y = {} } = {}) => {
32646
32646
  d
32647
32647
  ];
32648
32648
  };
32649
- var Di = {}, ce = {}, Ei = {}, Ft;
32649
+ var Ni = {}, ce = {}, Li = {}, Ft;
32650
32650
  function ke() {
32651
32651
  return Ft || (Ft = 1, (function(e) {
32652
32652
  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;
@@ -32671,9 +32671,9 @@ function ke() {
32671
32671
  }
32672
32672
  };
32673
32673
  e.isReactNative = typeof navigator < "u" && navigator.product === "ReactNative", e.isEventSourceSupported = !e.isReactNative && c();
32674
- })(Ei)), Ei;
32674
+ })(Li)), Li;
32675
32675
  }
32676
- var ua = {}, Ni = {}, Ot;
32676
+ var pa = {}, Gi = {}, Ot;
32677
32677
  function Ai() {
32678
32678
  return Ot || (Ot = 1, (function(e) {
32679
32679
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetWebSockets = e.sharedWebSockets = void 0, e.sharedWebSockets = {};
@@ -32685,7 +32685,7 @@ function Ai() {
32685
32685
  e.sharedWebSockets.hasOwnProperty(i) && delete e.sharedWebSockets[i];
32686
32686
  };
32687
32687
  e.resetWebSockets = y;
32688
- })(Ni)), Ni;
32688
+ })(Gi)), Gi;
32689
32689
  }
32690
32690
  var Je = {}, Ee = {}, Bt;
32691
32691
  function Hi() {
@@ -32749,7 +32749,7 @@ function fl() {
32749
32749
  }
32750
32750
  return Ea;
32751
32751
  }
32752
- var pa = {}, Li = {}, At;
32752
+ var ga = {}, Mi = {}, At;
32753
32753
  function Wi() {
32754
32754
  return At || (At = 1, (function(e) {
32755
32755
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetSubscribers = e.removeSubscriber = e.addSubscriber = e.hasSubscribers = e.getSubscribers = void 0;
@@ -32778,12 +32778,12 @@ function Wi() {
32778
32778
  y.hasOwnProperty(a) && delete y[a];
32779
32779
  };
32780
32780
  e.resetSubscribers = f;
32781
- })(Li)), Li;
32781
+ })(Mi)), Mi;
32782
32782
  }
32783
32783
  var Ht;
32784
32784
  function zi() {
32785
- if (Ht) return pa;
32786
- Ht = 1, Object.defineProperty(pa, "__esModule", { value: !0 }), pa.assertIsWebSocket = o, pa.resetGlobalState = i;
32785
+ if (Ht) return ga;
32786
+ Ht = 1, Object.defineProperty(ga, "__esModule", { value: !0 }), ga.assertIsWebSocket = o, ga.resetGlobalState = i;
32787
32787
  var e = Ai(), y = Wi();
32788
32788
  function o(c, _) {
32789
32789
  if (!_ && !(c instanceof WebSocket))
@@ -32792,7 +32792,7 @@ function zi() {
32792
32792
  function i(c) {
32793
32793
  (0, y.resetSubscribers)(c), (0, e.resetWebSockets)(c);
32794
32794
  }
32795
- return pa;
32795
+ return ga;
32796
32796
  }
32797
32797
  var Wt;
32798
32798
  function vr() {
@@ -32928,8 +32928,8 @@ function Tr() {
32928
32928
  }
32929
32929
  var Zt;
32930
32930
  function hr() {
32931
- if (Zt) return ua;
32932
- Zt = 1, Object.defineProperty(ua, "__esModule", { value: !0 }), ua.createOrJoinSocket = void 0;
32931
+ if (Zt) return pa;
32932
+ Zt = 1, Object.defineProperty(pa, "__esModule", { value: !0 }), pa.createOrJoinSocket = void 0;
32933
32933
  var e = Ai(), y = ke(), o = vr(), i = Tr(), c = Wi(), _ = function(f, d, a, t, s) {
32934
32934
  return function() {
32935
32935
  if ((0, c.removeSubscriber)(f, d), !(0, c.hasSubscribers)(f)) {
@@ -32967,7 +32967,7 @@ function hr() {
32967
32967
  }, t, l.current, r, n, p);
32968
32968
  }
32969
32969
  };
32970
- return ua.createOrJoinSocket = v, ua;
32970
+ return pa.createOrJoinSocket = v, pa;
32971
32971
  }
32972
32972
  var Ne = {}, Jt;
32973
32973
  function kr() {
@@ -33106,7 +33106,7 @@ function kr() {
33106
33106
  e.getUrl = f;
33107
33107
  })(Ne)), Ne;
33108
33108
  }
33109
- var Gi = {}, Vt;
33109
+ var Ri = {}, Vt;
33110
33110
  function xr() {
33111
33111
  return Vt || (Vt = 1, (function(e) {
33112
33112
  Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
@@ -33123,7 +33123,7 @@ function xr() {
33123
33123
  });
33124
33124
  };
33125
33125
  e.websocketWrapper = y, e.default = e.websocketWrapper;
33126
- })(Gi)), Gi;
33126
+ })(Ri)), Ri;
33127
33127
  }
33128
33128
  var It;
33129
33129
  function Zi() {
@@ -33226,7 +33226,7 @@ function Zi() {
33226
33226
  return l && l.__esModule ? l : { default: l };
33227
33227
  };
33228
33228
  Object.defineProperty(ce, "__esModule", { value: !0 }), ce.useWebSocket = void 0;
33229
- var c = ca, _ = Al, v = ke(), f = hr(), d = kr(), a = i(xr()), t = zi(), s = function(l, r, n) {
33229
+ var c = _a, _ = Al, v = ke(), f = hr(), d = kr(), a = i(xr()), t = zi(), s = function(l, r, n) {
33230
33230
  r === void 0 && (r = v.DEFAULT_OPTIONS), n === void 0 && (n = !0);
33231
33231
  var p = (0, c.useState)(null), u = p[0], g = p[1], m = (0, c.useState)({}), U = m[0], C = m[1], T = (0, c.useMemo)(function() {
33232
33232
  if (!r.disableJson && u)
@@ -33325,7 +33325,7 @@ function Sr() {
33325
33325
  }, e.apply(this, arguments);
33326
33326
  };
33327
33327
  Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.useSocketIO = void 0;
33328
- var y = ca, o = Zi(), i = ke(), c = {
33328
+ var y = _a, o = Zi(), i = ke(), c = {
33329
33329
  type: "empty",
33330
33330
  payload: null
33331
33331
  }, _ = function(f) {
@@ -33378,7 +33378,7 @@ function Dr() {
33378
33378
  return d;
33379
33379
  };
33380
33380
  Object.defineProperty(Le, "__esModule", { value: !0 }), Le.useEventSource = void 0;
33381
- var o = ca, i = Zi(), c = ke(), _ = function(v, f, d) {
33381
+ var o = _a, i = Zi(), c = ke(), _ = function(v, f, d) {
33382
33382
  f === void 0 && (f = c.DEFAULT_EVENT_SOURCE_OPTIONS);
33383
33383
  var a = f.withCredentials, t = f.events, s = y(f, ["withCredentials", "events"]);
33384
33384
  d === void 0 && (d = !0);
@@ -33424,7 +33424,7 @@ function Er() {
33424
33424
  Object.defineProperty(e, "resetGlobalState", { enumerable: !0, get: function() {
33425
33425
  return _.resetGlobalState;
33426
33426
  } });
33427
- })(Di)), Di;
33427
+ })(Ni)), Ni;
33428
33428
  }
33429
33429
  var Nr = Er();
33430
33430
  const Lr = /* @__PURE__ */ ol(Nr), ve = {
@@ -33461,22 +33461,22 @@ const Lr = /* @__PURE__ */ ol(Nr), ve = {
33461
33461
  reconnectAttempts: 9999,
33462
33462
  reconnectInterval: 1e3,
33463
33463
  ...o
33464
- }), a = Mi(() => {
33464
+ }), a = Pi(() => {
33465
33465
  try {
33466
33466
  return JSON.parse(f?.data);
33467
33467
  } catch {
33468
33468
  return null;
33469
33469
  }
33470
33470
  }, [f?.data]);
33471
- return ga(() => {
33471
+ return da(() => {
33472
33472
  const t = setInterval(
33473
33473
  () => _("ping"),
33474
33474
  Gr
33475
33475
  );
33476
33476
  return () => clearInterval(t);
33477
- }, [_]), ga(() => {
33477
+ }, [_]), da(() => {
33478
33478
  c.current = y;
33479
- }, [y]), ga(() => {
33479
+ }, [y]), da(() => {
33480
33480
  if (!a) return;
33481
33481
  const {
33482
33482
  onDeposit: t,
@@ -33526,13 +33526,13 @@ const Lr = /* @__PURE__ */ ol(Nr), ve = {
33526
33526
  console.warn("Unknown socket type:", U);
33527
33527
  break;
33528
33528
  }
33529
- }, [a]), ga(() => () => i.current = !0, []), {
33529
+ }, [a]), da(() => () => i.current = !0, []), {
33530
33530
  sendMessage: _,
33531
33531
  sendJsonMessage: v,
33532
33532
  readyState: d
33533
33533
  // WebSocket 連線狀態
33534
33534
  };
33535
- }, Ui = () => {
33535
+ }, Ci = () => {
33536
33536
  const { client: e } = he(), y = ie(async () => {
33537
33537
  const { data: _ } = await e.get("/carousels");
33538
33538
  return _;
@@ -33547,7 +33547,7 @@ const Lr = /* @__PURE__ */ ol(Nr), ve = {
33547
33547
  commonReadInboxApi: c
33548
33548
  };
33549
33549
  }, Co = () => {
33550
- const { lng: e } = he(), { commonCarouselApi: y } = Ui(), o = Oi(e);
33550
+ const { lng: e } = he(), { commonCarouselApi: y } = Ci(), o = Ui(e);
33551
33551
  return Te({
33552
33552
  queryKey: ["getCarouselList"],
33553
33553
  queryFn: async () => await y(),
@@ -33560,13 +33560,13 @@ const Lr = /* @__PURE__ */ ol(Nr), ve = {
33560
33560
  })
33561
33561
  });
33562
33562
  }, bo = () => {
33563
- const { lng: e } = he(), { commonMarqueeApi: y } = Ui(), o = Oi(e);
33563
+ const { lng: e } = he(), { commonMarqueeApi: y } = Ci(), o = Ui(e);
33564
33564
  return Te({
33565
33565
  queryKey: ["getMarqueeList"],
33566
33566
  queryFn: async () => y(),
33567
33567
  select: (i) => {
33568
33568
  const c = i.Marquees;
33569
- return _a(c, (v) => v[o] || v["en-US"]);
33569
+ return aa(c, (v) => v[o] || v["en-US"]);
33570
33570
  }
33571
33571
  });
33572
33572
  }, vo = ({ options: e } = {}) => {
@@ -33577,7 +33577,7 @@ const Lr = /* @__PURE__ */ ol(Nr), ve = {
33577
33577
  enabled: window.profit_ranking_status === 1,
33578
33578
  select: (o) => {
33579
33579
  const { data: i } = o;
33580
- return _a(i, (_) => {
33580
+ return aa(i, (_) => {
33581
33581
  const {
33582
33582
  game_uid: v,
33583
33583
  game_code: f,
@@ -33611,15 +33611,28 @@ const Lr = /* @__PURE__ */ ol(Nr), ve = {
33611
33611
  ...e
33612
33612
  });
33613
33613
  }, Mr = ({ options: e } = {}) => {
33614
- const { commonInboxApi: y } = Ui(), { getToken: o } = he(), i = o?.();
33614
+ const { commonInboxApi: y } = Ci(), { getToken: o, lng: i } = he(), c = o?.(), _ = Ui(i);
33615
33615
  return Te({
33616
33616
  queryKey: ["inboxList"],
33617
33617
  queryFn: async () => await y(),
33618
- enabled: !!i,
33618
+ select: (v) => {
33619
+ const { data: f } = v;
33620
+ return aa(f, (a) => {
33621
+ const { internal_notifications_language: t } = a;
33622
+ return {
33623
+ ...a,
33624
+ notificationLng: ci(
33625
+ t,
33626
+ (s) => s.language === _
33627
+ ) || t[0]
33628
+ };
33629
+ });
33630
+ },
33631
+ enabled: !!c,
33619
33632
  ...e
33620
33633
  });
33621
33634
  }, Rr = ({ options: e } = {}) => {
33622
- const { commonReadInboxApi: y } = Ui();
33635
+ const { commonReadInboxApi: y } = Ci();
33623
33636
  return Ge({
33624
33637
  mutationKey: ["readInbox"],
33625
33638
  mutationFn: async (o) => await y(o),
@@ -33636,24 +33649,24 @@ const Lr = /* @__PURE__ */ ol(Nr), ve = {
33636
33649
  inboxListQuery: y,
33637
33650
  readInboxMutation: o
33638
33651
  };
33639
- }, Ul = "3.7.8", Pr = Ul, aa = typeof Buffer == "function", Qt = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Yt = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Fr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", da = Array.prototype.slice.call(Fr), Na = ((e) => {
33652
+ }, Ul = "3.7.8", Pr = Ul, ia = typeof Buffer == "function", Qt = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Yt = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Fr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", ca = Array.prototype.slice.call(Fr), Na = ((e) => {
33640
33653
  let y = {};
33641
33654
  return e.forEach((o, i) => y[o] = i), y;
33642
- })(da), Or = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, ne = String.fromCharCode.bind(String), Xt = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), yl = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (y) => y == "+" ? "-" : "_"), Cl = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), bl = (e) => {
33655
+ })(ca), Or = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, ne = String.fromCharCode.bind(String), Xt = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), yl = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (y) => y == "+" ? "-" : "_"), Cl = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), bl = (e) => {
33643
33656
  let y, o, i, c, _ = "";
33644
33657
  const v = e.length % 3;
33645
33658
  for (let f = 0; f < e.length; ) {
33646
33659
  if ((o = e.charCodeAt(f++)) > 255 || (i = e.charCodeAt(f++)) > 255 || (c = e.charCodeAt(f++)) > 255)
33647
33660
  throw new TypeError("invalid character found");
33648
- y = o << 16 | i << 8 | c, _ += da[y >> 18 & 63] + da[y >> 12 & 63] + da[y >> 6 & 63] + da[y & 63];
33661
+ y = o << 16 | i << 8 | c, _ += ca[y >> 18 & 63] + ca[y >> 12 & 63] + ca[y >> 6 & 63] + ca[y & 63];
33649
33662
  }
33650
33663
  return v ? _.slice(0, v - 3) + "===".substring(v) : _;
33651
- }, Ji = typeof btoa == "function" ? (e) => btoa(e) : aa ? (e) => Buffer.from(e, "binary").toString("base64") : bl, Ri = aa ? (e) => Buffer.from(e).toString("base64") : (e) => {
33664
+ }, Ji = typeof btoa == "function" ? (e) => btoa(e) : ia ? (e) => Buffer.from(e, "binary").toString("base64") : bl, Fi = ia ? (e) => Buffer.from(e).toString("base64") : (e) => {
33652
33665
  let o = [];
33653
33666
  for (let i = 0, c = e.length; i < c; i += 4096)
33654
33667
  o.push(ne.apply(null, e.subarray(i, i + 4096)));
33655
33668
  return Ji(o.join(""));
33656
- }, di = (e, y = !1) => y ? yl(Ri(e)) : Ri(e), Br = (e) => {
33669
+ }, di = (e, y = !1) => y ? yl(Fi(e)) : Fi(e), Br = (e) => {
33657
33670
  if (e.length < 2) {
33658
33671
  var y = e.charCodeAt(0);
33659
33672
  return y < 128 ? e : y < 2048 ? ne(192 | y >>> 6) + ne(128 | y & 63) : ne(224 | y >>> 12 & 15) + ne(128 | y >>> 6 & 63) + ne(128 | y & 63);
@@ -33661,7 +33674,7 @@ const Lr = /* @__PURE__ */ ol(Nr), ve = {
33661
33674
  var y = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
33662
33675
  return ne(240 | y >>> 18 & 7) + ne(128 | y >>> 12 & 63) + ne(128 | y >>> 6 & 63) + ne(128 | y & 63);
33663
33676
  }
33664
- }, wr = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, vl = (e) => e.replace(wr, Br), $t = aa ? (e) => Buffer.from(e, "utf8").toString("base64") : Yt ? (e) => Ri(Yt.encode(e)) : (e) => Ji(vl(e)), ea = (e, y = !1) => y ? yl($t(e)) : $t(e), el = (e) => ea(e, !0), Ar = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Hr = (e) => {
33677
+ }, wr = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, vl = (e) => e.replace(wr, Br), $t = ia ? (e) => Buffer.from(e, "utf8").toString("base64") : Yt ? (e) => Fi(Yt.encode(e)) : (e) => Ji(vl(e)), ea = (e, y = !1) => y ? yl($t(e)) : $t(e), el = (e) => ea(e, !0), Ar = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Hr = (e) => {
33665
33678
  switch (e.length) {
33666
33679
  case 4:
33667
33680
  var y = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), o = y - 65536;
@@ -33679,7 +33692,7 @@ const Lr = /* @__PURE__ */ ol(Nr), ve = {
33679
33692
  for (let _ = 0; _ < e.length; )
33680
33693
  y = Na[e.charAt(_++)] << 18 | Na[e.charAt(_++)] << 12 | (o = Na[e.charAt(_++)]) << 6 | (i = Na[e.charAt(_++)]), o === 64 ? c.push(ne(y >> 16 & 255)) : i === 64 ? c.push(ne(y >> 16 & 255, y >> 8 & 255)) : c.push(ne(y >> 16 & 255, y >> 8 & 255, y & 255));
33681
33694
  return c.join("");
33682
- }, Vi = typeof atob == "function" ? (e) => atob(Cl(e)) : aa ? (e) => Buffer.from(e, "base64").toString("binary") : hl, kl = aa ? (e) => Xt(Buffer.from(e, "base64")) : (e) => Xt(Vi(e).split("").map((y) => y.charCodeAt(0))), xl = (e) => kl(Sl(e)), Wr = aa ? (e) => Buffer.from(e, "base64").toString("utf8") : Qt ? (e) => Qt.decode(kl(e)) : (e) => Tl(Vi(e)), Sl = (e) => Cl(e.replace(/[-_]/g, (y) => y == "-" ? "+" : "/")), Pi = (e) => Wr(Sl(e)), zr = (e) => {
33695
+ }, Vi = typeof atob == "function" ? (e) => atob(Cl(e)) : ia ? (e) => Buffer.from(e, "base64").toString("binary") : hl, kl = ia ? (e) => Xt(Buffer.from(e, "base64")) : (e) => Xt(Vi(e).split("").map((y) => y.charCodeAt(0))), xl = (e) => kl(Sl(e)), Wr = ia ? (e) => Buffer.from(e, "base64").toString("utf8") : Qt ? (e) => Qt.decode(kl(e)) : (e) => Tl(Vi(e)), Sl = (e) => Cl(e.replace(/[-_]/g, (y) => y == "-" ? "+" : "/")), Oi = (e) => Wr(Sl(e)), zr = (e) => {
33683
33696
  if (typeof e != "string")
33684
33697
  return !1;
33685
33698
  const y = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
@@ -33692,7 +33705,7 @@ const Lr = /* @__PURE__ */ ol(Nr), ve = {
33692
33705
  }), El = function() {
33693
33706
  const e = (y, o) => Object.defineProperty(String.prototype, y, Dl(o));
33694
33707
  e("fromBase64", function() {
33695
- return Pi(this);
33708
+ return Oi(this);
33696
33709
  }), e("toBase64", function(y) {
33697
33710
  return ea(this, y);
33698
33711
  }), e("toBase64URI", function() {
@@ -33720,14 +33733,14 @@ const Lr = /* @__PURE__ */ ol(Nr), ve = {
33720
33733
  atobPolyfill: hl,
33721
33734
  btoa: Ji,
33722
33735
  btoaPolyfill: bl,
33723
- fromBase64: Pi,
33736
+ fromBase64: Oi,
33724
33737
  toBase64: ea,
33725
33738
  encode: ea,
33726
33739
  encodeURI: el,
33727
33740
  encodeURL: el,
33728
33741
  utob: vl,
33729
33742
  btou: Tl,
33730
- decode: Pi,
33743
+ decode: Oi,
33731
33744
  isValid: zr,
33732
33745
  fromUint8Array: di,
33733
33746
  toUint8Array: xl,
@@ -33735,7 +33748,7 @@ const Lr = /* @__PURE__ */ ol(Nr), ve = {
33735
33748
  extendUint8Array: Nl,
33736
33749
  extendBuiltins: Zr
33737
33750
  }, Vr = () => {
33738
- const { client: e, lng: y } = he(), o = Oi(y || "tw");
33751
+ const { client: e, lng: y } = he(), o = Ui(y || "tw");
33739
33752
  return { playGameApi: ie(
33740
33753
  async (c) => {
33741
33754
  const {
@@ -34022,7 +34035,7 @@ export {
34022
34035
  Kl as buildSinglePlatformWithSubTypes,
34023
34036
  Il as buildSingleType,
34024
34037
  Xl as categorizeGames,
34025
- Oi as convertLanguageCode,
34038
+ Ui as convertLanguageCode,
34026
34039
  so as createLogoutHandler,
34027
34040
  Ql as extractGameSubTypeNames,
34028
34041
  jl as extractGameTypeNames,