@obb871001/api-integration-sdk 1.0.407 → 1.0.408

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.
Files changed (3) hide show
  1. package/dist/index.cjs +6 -6
  2. package/dist/index.js +1098 -1070
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,13 +1,13 @@
1
- import _e, { createContext as jt, useContext as yi, useState as _a, useMemo as Wa, useCallback as H, useRef as ie, useEffect as ue } from "react";
2
- import { useQueries as Kn, useQuery as Q, useQueryClient as Sa, useMutation as ee, QueryClient as Jr, QueryClientProvider as Zr } from "@tanstack/react-query";
3
- import Kr from "axios";
4
- import { get as j, isEmpty as Pe, find as We, entries as qn, forEach as qr, map as De, isArray as Ye, toLower as Li, omit as $r, keyBy as Qr, replace as rt, includes as jr, isObject as Yt, flatMap as Xt, values as Yr, keys as Gi } from "lodash";
5
- import Xr from "react-dom";
6
- var ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
- function Ui(e) {
1
+ import _e, { createContext as Yt, useContext as Ui, useState as ya, useMemo as za, useCallback as H, useRef as ie, useEffect as ue } from "react";
2
+ import { useQueries as qn, useQuery as Q, useQueryClient as Da, useMutation as ee, QueryClient as Zr, QueryClientProvider as Kr } from "@tanstack/react-query";
3
+ import qr from "axios";
4
+ import { get as j, isEmpty as Pe, find as We, entries as $n, forEach as $r, map as De, isArray as Xe, toLower as Gi, omit as Qr, keyBy as jr, replace as lt, includes as Yr, isObject as Xt, flatMap as ei, values as Xr, keys as Mi } from "lodash";
5
+ import el from "react-dom";
6
+ var ni = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
+ function bi(e) {
8
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9
9
  }
10
- function el(e) {
10
+ function al(e) {
11
11
  if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
12
12
  var n = e.default;
13
13
  if (typeof n == "function") {
@@ -31,11 +31,11 @@ function el(e) {
31
31
  });
32
32
  }), a;
33
33
  }
34
- var lt = { exports: {} }, $a = {};
35
- var Mi;
36
- function al() {
37
- if (Mi) return $a;
38
- Mi = 1;
34
+ var ot = { exports: {} }, Qa = {};
35
+ var Ri;
36
+ function tl() {
37
+ if (Ri) return Qa;
38
+ Ri = 1;
39
39
  var e = _e, n = /* @__PURE__ */ Symbol.for("react.element"), a = /* @__PURE__ */ Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, u = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
40
40
  function U(d, l, t) {
41
41
  var i, o = {}, s = null, p = null;
@@ -44,12 +44,12 @@ function al() {
44
44
  if (d && d.defaultProps) for (i in l = d.defaultProps, l) o[i] === void 0 && (o[i] = l[i]);
45
45
  return { $$typeof: n, type: d, key: s, ref: p, props: o, _owner: u.current };
46
46
  }
47
- return $a.Fragment = a, $a.jsx = U, $a.jsxs = U, $a;
47
+ return Qa.Fragment = a, Qa.jsx = U, Qa.jsxs = U, Qa;
48
48
  }
49
- var Qa = {};
50
- var Ri;
51
- function tl() {
52
- return Ri || (Ri = 1, process.env.NODE_ENV !== "production" && (function() {
49
+ var ja = {};
50
+ var Pi;
51
+ function il() {
52
+ return Pi || (Pi = 1, process.env.NODE_ENV !== "production" && (function() {
53
53
  var e = _e, n = /* @__PURE__ */ Symbol.for("react.element"), a = /* @__PURE__ */ Symbol.for("react.portal"), r = /* @__PURE__ */ Symbol.for("react.fragment"), u = /* @__PURE__ */ Symbol.for("react.strict_mode"), g = /* @__PURE__ */ Symbol.for("react.profiler"), U = /* @__PURE__ */ Symbol.for("react.provider"), d = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), t = /* @__PURE__ */ Symbol.for("react.suspense"), i = /* @__PURE__ */ Symbol.for("react.suspense_list"), o = /* @__PURE__ */ Symbol.for("react.memo"), s = /* @__PURE__ */ Symbol.for("react.lazy"), p = /* @__PURE__ */ Symbol.for("react.offscreen"), m = Symbol.iterator, f = "@@iterator";
54
54
  function c(x) {
55
55
  if (x === null || typeof x != "object")
@@ -277,9 +277,9 @@ function tl() {
277
277
  if (Te !== 1 || xe !== 1)
278
278
  do
279
279
  if (Te--, xe--, xe < 0 || ne[Te] !== Ie[xe]) {
280
- var je = `
280
+ var Ye = `
281
281
  ` + ne[Te].replace(" at new ", " at ");
282
- return x.displayName && je.includes("<anonymous>") && (je = je.replace("<anonymous>", x.displayName)), typeof x == "function" && ae.set(x, je), je;
282
+ return x.displayName && Ye.includes("<anonymous>") && (Ye = Ye.replace("<anonymous>", x.displayName)), typeof x == "function" && ae.set(x, Ye), Ye;
283
283
  }
284
284
  while (Te >= 1 && xe >= 0);
285
285
  break;
@@ -288,8 +288,8 @@ function tl() {
288
288
  } finally {
289
289
  Y = !1, q.current = de, J(), Error.prepareStackTrace = me;
290
290
  }
291
- var Fa = x ? x.displayName || x.name : "", Ca = Fa ? V(Fa) : "";
292
- return typeof x == "function" && ae.set(x, Ca), Ca;
291
+ var Aa = x ? x.displayName || x.name : "", va = Aa ? V(Aa) : "";
292
+ return typeof x == "function" && ae.set(x, va), va;
293
293
  }
294
294
  function pe(x, I, K) {
295
295
  return ve(x, !1);
@@ -364,26 +364,26 @@ function tl() {
364
364
  return K;
365
365
  }
366
366
  }
367
- function ta(x) {
367
+ function ia(x) {
368
368
  try {
369
- return ia(x), !1;
369
+ return na(x), !1;
370
370
  } catch {
371
371
  return !0;
372
372
  }
373
373
  }
374
- function ia(x) {
374
+ function na(x) {
375
375
  return "" + x;
376
376
  }
377
377
  function Le(x) {
378
- if (ta(x))
379
- return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(x)), ia(x);
378
+ if (ia(x))
379
+ return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(x)), na(x);
380
380
  }
381
- var Be = y.ReactCurrentOwner, Xe = {
381
+ var Be = y.ReactCurrentOwner, ea = {
382
382
  key: !0,
383
383
  ref: !0,
384
384
  __self: !0,
385
385
  __source: !0
386
- }, oa, ga;
386
+ }, sa, da;
387
387
  function Ke(x) {
388
388
  if (he.call(x, "ref")) {
389
389
  var I = Object.getOwnPropertyDescriptor(x, "ref").get;
@@ -392,7 +392,7 @@ function tl() {
392
392
  }
393
393
  return x.ref !== void 0;
394
394
  }
395
- function ea(x) {
395
+ function aa(x) {
396
396
  if (he.call(x, "key")) {
397
397
  var I = Object.getOwnPropertyDescriptor(x, "key").get;
398
398
  if (I && I.isReactWarning)
@@ -400,13 +400,13 @@ function tl() {
400
400
  }
401
401
  return x.key !== void 0;
402
402
  }
403
- function Za(x, I) {
403
+ function Ka(x, I) {
404
404
  typeof x.ref == "string" && Be.current;
405
405
  }
406
- function La(x, I) {
406
+ function Ga(x, I) {
407
407
  {
408
408
  var K = function() {
409
- oa || (oa = !0, _("%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)", I));
409
+ sa || (sa = !0, _("%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)", I));
410
410
  };
411
411
  K.isReactWarning = !0, Object.defineProperty(x, "key", {
412
412
  get: K,
@@ -414,10 +414,10 @@ function tl() {
414
414
  });
415
415
  }
416
416
  }
417
- function Ga(x, I) {
417
+ function Ma(x, I) {
418
418
  {
419
419
  var K = function() {
420
- ga || (ga = !0, _("%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)", I));
420
+ da || (da = !0, _("%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)", I));
421
421
  };
422
422
  K.isReactWarning = !0, Object.defineProperty(x, "ref", {
423
423
  get: K,
@@ -425,7 +425,7 @@ function tl() {
425
425
  });
426
426
  }
427
427
  }
428
- var Ka = function(x, I, K, X, me, de, se) {
428
+ var qa = function(x, I, K, X, me, de, se) {
429
429
  var ne = {
430
430
  // This tag allows us to uniquely identify this as a React Element
431
431
  $$typeof: n,
@@ -454,12 +454,12 @@ function tl() {
454
454
  value: me
455
455
  }), Object.freeze && (Object.freeze(ne.props), Object.freeze(ne)), ne;
456
456
  };
457
- function qa(x, I, K, X, me) {
457
+ function $a(x, I, K, X, me) {
458
458
  {
459
459
  var de, se = {}, ne = null, Ie = null;
460
- K !== void 0 && (Le(K), ne = "" + K), ea(I) && (Le(I.key), ne = "" + I.key), Ke(I) && (Ie = I.ref, Za(I, me));
460
+ K !== void 0 && (Le(K), ne = "" + K), aa(I) && (Le(I.key), ne = "" + I.key), Ke(I) && (Ie = I.ref, Ka(I, me));
461
461
  for (de in I)
462
- he.call(I, de) && !Xe.hasOwnProperty(de) && (se[de] = I[de]);
462
+ he.call(I, de) && !ea.hasOwnProperty(de) && (se[de] = I[de]);
463
463
  if (x && x.defaultProps) {
464
464
  var Te = x.defaultProps;
465
465
  for (de in Te)
@@ -467,28 +467,28 @@ function tl() {
467
467
  }
468
468
  if (ne || Ie) {
469
469
  var xe = typeof x == "function" ? x.displayName || x.name || "Unknown" : x;
470
- ne && La(se, xe), Ie && Ga(se, xe);
470
+ ne && Ga(se, xe), Ie && Ma(se, xe);
471
471
  }
472
- return Ka(x, ne, Ie, me, X, Be.current, se);
472
+ return qa(x, ne, Ie, me, X, Be.current, se);
473
473
  }
474
474
  }
475
- var da = y.ReactCurrentOwner, Ua = y.ReactDebugCurrentFrame;
476
- function Qe(x) {
475
+ var ca = y.ReactCurrentOwner, ba = y.ReactDebugCurrentFrame;
476
+ function je(x) {
477
477
  if (x) {
478
478
  var I = x._owner, K = Ne(x.type, x._source, I ? I.type : null);
479
- Ua.setExtraStackFrame(K);
479
+ ba.setExtraStackFrame(K);
480
480
  } else
481
- Ua.setExtraStackFrame(null);
481
+ ba.setExtraStackFrame(null);
482
482
  }
483
- var ca;
484
- ca = !1;
485
- function fa(x) {
483
+ var fa;
484
+ fa = !1;
485
+ function _a(x) {
486
486
  return typeof x == "object" && x !== null && x.$$typeof === n;
487
487
  }
488
- function Ma() {
488
+ function Ra() {
489
489
  {
490
- if (da.current) {
491
- var x = P(da.current.type);
490
+ if (ca.current) {
491
+ var x = P(ca.current.type);
492
492
  if (x)
493
493
  return `
494
494
 
@@ -497,13 +497,13 @@ Check the render method of \`` + x + "`.";
497
497
  return "";
498
498
  }
499
499
  }
500
- function Ra(x) {
500
+ function Pa(x) {
501
501
  return "";
502
502
  }
503
- var ba = {};
504
- function Pa(x) {
503
+ var Ca = {};
504
+ function wa(x) {
505
505
  {
506
- var I = Ma();
506
+ var I = Ra();
507
507
  if (!I) {
508
508
  var K = typeof x == "string" ? x : x.displayName || x.name;
509
509
  K && (I = `
@@ -513,17 +513,17 @@ Check the top-level render call using <` + K + ">.");
513
513
  return I;
514
514
  }
515
515
  }
516
- function wa(x, I) {
516
+ function Fa(x, I) {
517
517
  {
518
518
  if (!x._store || x._store.validated || x.key != null)
519
519
  return;
520
520
  x._store.validated = !0;
521
- var K = Pa(I);
522
- if (ba[K])
521
+ var K = wa(I);
522
+ if (Ca[K])
523
523
  return;
524
- ba[K] = !0;
524
+ Ca[K] = !0;
525
525
  var X = "";
526
- x && x._owner && x._owner !== da.current && (X = " It was passed a child from " + P(x._owner.type) + "."), Qe(x), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', K, X), Qe(null);
526
+ x && x._owner && x._owner !== ca.current && (X = " It was passed a child from " + P(x._owner.type) + "."), je(x), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', K, X), je(null);
527
527
  }
528
528
  }
529
529
  function Ge(x, I) {
@@ -533,15 +533,15 @@ Check the top-level render call using <` + K + ">.");
533
533
  if (ke(x))
534
534
  for (var K = 0; K < x.length; K++) {
535
535
  var X = x[K];
536
- fa(X) && wa(X, I);
536
+ _a(X) && Fa(X, I);
537
537
  }
538
- else if (fa(x))
538
+ else if (_a(x))
539
539
  x._store && (x._store.validated = !0);
540
540
  else if (x) {
541
541
  var me = c(x);
542
542
  if (typeof me == "function" && me !== x.entries)
543
543
  for (var de = me.call(x), se; !(se = de.next()).done; )
544
- fa(se.value) && wa(se.value, I);
544
+ _a(se.value) && Fa(se.value, I);
545
545
  }
546
546
  }
547
547
  }
@@ -562,8 +562,8 @@ Check the top-level render call using <` + K + ">.");
562
562
  if (K) {
563
563
  var X = P(I);
564
564
  ze(K, x.props, "prop", X, x);
565
- } else if (I.PropTypes !== void 0 && !ca) {
566
- ca = !0;
565
+ } else if (I.PropTypes !== void 0 && !fa) {
566
+ fa = !0;
567
567
  var me = P(I);
568
568
  _("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", me || "Unknown");
569
569
  }
@@ -575,96 +575,96 @@ Check the top-level render call using <` + K + ">.");
575
575
  for (var I = Object.keys(x.props), K = 0; K < I.length; K++) {
576
576
  var X = I[K];
577
577
  if (X !== "children" && X !== "key") {
578
- Qe(x), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", X), Qe(null);
578
+ je(x), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", X), je(null);
579
579
  break;
580
580
  }
581
581
  }
582
- x.ref !== null && (Qe(x), _("Invalid attribute `ref` supplied to `React.Fragment`."), Qe(null));
582
+ x.ref !== null && (je(x), _("Invalid attribute `ref` supplied to `React.Fragment`."), je(null));
583
583
  }
584
584
  }
585
- var na = {};
585
+ var ra = {};
586
586
  function He(x, I, K, X, me, de) {
587
587
  {
588
588
  var se = k(x);
589
589
  if (!se) {
590
590
  var ne = "";
591
591
  (x === void 0 || typeof x == "object" && x !== null && Object.keys(x).length === 0) && (ne += " 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 Ie = Ra();
593
- Ie ? ne += Ie : ne += Ma();
592
+ var Ie = Pa();
593
+ Ie ? ne += Ie : ne += Ra();
594
594
  var Te;
595
595
  x === null ? Te = "null" : ke(x) ? Te = "array" : x !== void 0 && x.$$typeof === n ? (Te = "<" + (P(x.type) || "Unknown") + " />", ne = " Did you accidentally export a JSX literal instead of a component?") : Te = typeof x, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Te, ne);
596
596
  }
597
- var xe = qa(x, I, K, me, de);
597
+ var xe = $a(x, I, K, me, de);
598
598
  if (xe == null)
599
599
  return xe;
600
600
  if (se) {
601
- var je = I.children;
602
- if (je !== void 0)
601
+ var Ye = I.children;
602
+ if (Ye !== void 0)
603
603
  if (X)
604
- if (ke(je)) {
605
- for (var Fa = 0; Fa < je.length; Fa++)
606
- Ge(je[Fa], x);
607
- Object.freeze && Object.freeze(je);
604
+ if (ke(Ye)) {
605
+ for (var Aa = 0; Aa < Ye.length; Aa++)
606
+ Ge(Ye[Aa], x);
607
+ Object.freeze && Object.freeze(Ye);
608
608
  } else
609
609
  _("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
610
610
  else
611
- Ge(je, x);
611
+ Ge(Ye, x);
612
612
  }
613
613
  if (he.call(I, "key")) {
614
- var Ca = P(x), Je = Object.keys(I).filter(function(Vr) {
615
- return Vr !== "key";
616
- }), ti = Je.length > 0 ? "{key: someKey, " + Je.join(": ..., ") + ": ...}" : "{key: someKey}";
617
- if (!na[Ca + ti]) {
618
- var Ir = Je.length > 0 ? "{" + Je.join(": ..., ") + ": ...}" : "{}";
614
+ var va = P(x), Je = Object.keys(I).filter(function(Jr) {
615
+ return Jr !== "key";
616
+ }), ii = Je.length > 0 ? "{key: someKey, " + Je.join(": ..., ") + ": ...}" : "{key: someKey}";
617
+ if (!ra[va + ii]) {
618
+ var Vr = Je.length > 0 ? "{" + Je.join(": ..., ") + ": ...}" : "{}";
619
619
  _(`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} />`, ti, Ca, Ir, Ca), na[Ca + ti] = !0;
624
+ <%s key={someKey} {...props} />`, ii, va, Vr, va), ra[va + ii] = !0;
625
625
  }
626
626
  }
627
627
  return x === r ? Me(xe) : Z(xe), xe;
628
628
  }
629
629
  }
630
- function ra(x, I, K) {
630
+ function la(x, I, K) {
631
631
  return He(x, I, K, !0);
632
632
  }
633
- function nt(x, I, K) {
633
+ function rt(x, I, K) {
634
634
  return He(x, I, K, !1);
635
635
  }
636
- var ai = nt, zr = ra;
637
- Qa.Fragment = r, Qa.jsx = ai, Qa.jsxs = zr;
638
- })()), Qa;
636
+ var ti = rt, Ir = la;
637
+ ja.Fragment = r, ja.jsx = ti, ja.jsxs = Ir;
638
+ })()), ja;
639
639
  }
640
- var Pi;
641
- function il() {
642
- return Pi || (Pi = 1, process.env.NODE_ENV === "production" ? lt.exports = al() : lt.exports = tl()), lt.exports;
640
+ var wi;
641
+ function nl() {
642
+ return wi || (wi = 1, process.env.NODE_ENV === "production" ? ot.exports = tl() : ot.exports = il()), ot.exports;
643
643
  }
644
- var ce = il();
645
- const $n = jt(null), le = () => {
646
- const e = yi($n);
644
+ var ce = nl();
645
+ const Qn = Yt(null), le = () => {
646
+ const e = Ui(Qn);
647
647
  if (!e)
648
648
  throw new Error("useApiContext must be used within ApiProvider");
649
649
  return e;
650
- }, ja = {
650
+ }, Ya = {
651
651
  READY: "ready",
652
652
  PENDING: "pending"
653
- }, Qn = jt(null), nl = ({ children: e }) => {
654
- const [n, a] = _a(ja.READY), r = Wa(() => {
655
- const u = n === ja.READY, g = n === ja.PENDING;
653
+ }, jn = Yt(null), rl = ({ children: e }) => {
654
+ const [n, a] = ya(Ya.READY), r = za(() => {
655
+ const u = n === Ya.READY, g = n === Ya.PENDING;
656
656
  return {
657
657
  status: n,
658
658
  setStatus: a,
659
659
  isReady: u,
660
660
  isPending: g,
661
- setAsReady: () => a(ja.READY),
662
- setAsPending: () => a(ja.PENDING)
661
+ setAsReady: () => a(Ya.READY),
662
+ setAsPending: () => a(Ya.PENDING)
663
663
  };
664
664
  }, [n]);
665
- return /* @__PURE__ */ ce.jsx(Qn.Provider, { value: r, children: e });
666
- }, jn = () => {
667
- const e = yi(Qn);
665
+ return /* @__PURE__ */ ce.jsx(jn.Provider, { value: r, children: e });
666
+ }, Yn = () => {
667
+ const e = Ui(jn);
668
668
  if (!e)
669
669
  throw new Error("useStatus must be used within a StatusProvider");
670
670
  return e;
@@ -687,7 +687,7 @@ const $n = jt(null), le = () => {
687
687
  default:
688
688
  return e;
689
689
  }
690
- }, $e = "https://d1h3qe8voog6w4.cloudfront.net", ot = "https://d3jx2uvukujuvn.cloudfront.net", Yn = (e) => `${$e}/reward_icon/${e}.avif`, Xn = () => `${$e}/reward_icon/background_deposit.avif`, er = "ds88platformIcon", za = {
690
+ }, Qe = "https://d1h3qe8voog6w4.cloudfront.net", st = "https://d3jx2uvukujuvn.cloudfront.net", Xn = (e) => `${Qe}/reward_icon/${e}.avif`, er = () => `${Qe}/reward_icon/background_deposit.avif`, ar = "ds88platformIcon", Ia = {
691
691
  zh_TW: "系統提示",
692
692
  zh_CN: "系统提示",
693
693
  en_US: "System Prompt",
@@ -695,7 +695,7 @@ const $n = jt(null), le = () => {
695
695
  vi_VN: "Lời nhắc hệ thống",
696
696
  th_TH: "ข้อความระบบ",
697
697
  ja_JP: "システムプロンプト"
698
- }, rl = {
698
+ }, ll = {
699
699
  zh_TW: "我們正在為您處理轉點中",
700
700
  zh_CN: "我们正在为您处理转点中",
701
701
  en_US: "We are processing your transfer",
@@ -704,7 +704,7 @@ const $n = jt(null), le = () => {
704
704
  th_TH: "เรากำลังดำเนินการโอนของคุณ",
705
705
  ja_JP: "転送を処理しています"
706
706
  };
707
- function wi({
707
+ function Fi({
708
708
  baseURL: e,
709
709
  getToken: n,
710
710
  timeoutMs: a = 15e3,
@@ -715,7 +715,7 @@ function wi({
715
715
  currency: d,
716
716
  toasterOpen: l = !1
717
717
  } = {}) {
718
- const t = Kr.create({
718
+ const t = qr.create({
719
719
  baseURL: e,
720
720
  timeout: a,
721
721
  headers: {
@@ -742,7 +742,7 @@ function wi({
742
742
  u?.dispatch({
743
743
  type: "ui/showToast",
744
744
  payload: {
745
- title: za[s] || "System Prompt",
745
+ title: Ia[s] || "System Prompt",
746
746
  description: o,
747
747
  status: "error",
748
748
  duration: 3e3
@@ -753,14 +753,14 @@ function wi({
753
753
  }
754
754
  ), t;
755
755
  }
756
- const ar = jt(null), wm = () => {
757
- const e = yi(ar);
756
+ const tr = Yt(null), Fm = () => {
757
+ const e = Ui(tr);
758
758
  if (!e)
759
759
  throw new Error(
760
760
  "useGameInfoContext must be used within a GameInfoCtx.Provider"
761
761
  );
762
762
  return e;
763
- }, ll = (e) => {
763
+ }, ol = (e) => {
764
764
  switch (e) {
765
765
  case "tw":
766
766
  return "Tw";
@@ -779,7 +779,7 @@ const ar = jt(null), wm = () => {
779
779
  default:
780
780
  return "Tw";
781
781
  }
782
- }, Fm = () => {
782
+ }, Am = () => {
783
783
  const e = (r, u) => !r && !u, n = (r) => r.startsWith("pc.");
784
784
  return {
785
785
  executeLogout: ({
@@ -798,50 +798,50 @@ const ar = jt(null), wm = () => {
798
798
  shouldShowErrorNotice: e,
799
799
  isMachineDomain: n
800
800
  };
801
- }, Am = (e) => {
801
+ }, Om = (e) => {
802
802
  let n = Number(e);
803
803
  return isNaN(n) ? e : new Intl.NumberFormat("en-US", {
804
804
  style: "decimal",
805
805
  minimumFractionDigits: 2,
806
806
  maximumFractionDigits: 2
807
807
  }).format(n);
808
- }, tr = (e = [], n) => We(e, { gameTypeName: n })?.gameTypeUid, ir = (e = [], n) => We(e, { platform: n })?.platformUid, nr = (e = [], n) => We(e, { SubPlatformEnum: n }), rr = (e = [], n, a) => Pe(e) ? [] : e.filter((r) => a ? String(r?.SubPlatformEnumUid) === String(a?.SubPlatformEnumUid) : String(r.platformUid) === String(n)), ol = (e = []) => Pe(e) ? {} : e.reduce((n, a) => {
808
+ }, ir = (e = [], n) => We(e, { gameTypeName: n })?.gameTypeUid, nr = (e = [], n) => We(e, { platform: n })?.platformUid, rr = (e = [], n) => We(e, { SubPlatformEnum: n }), lr = (e = [], n, a) => Pe(e) ? [] : e.filter((r) => a ? String(r?.SubPlatformEnumUid) === String(a?.SubPlatformEnumUid) : String(r.platformUid) === String(n)), sl = (e = []) => Pe(e) ? {} : e.reduce((n, a) => {
809
809
  const r = a?.game_subtype || "UNKNOWN";
810
810
  return n[r] || (n[r] = []), n[r].push(a), n;
811
- }, {}), sl = ({
811
+ }, {}), ml = ({
812
812
  gameTypeName: e,
813
813
  platforms: n,
814
814
  gameList: a,
815
815
  allGameTypes: r,
816
816
  allPlatforms: u
817
817
  }) => {
818
- const g = tr(r, e);
818
+ const g = ir(r, e);
819
819
  return g ? n.reduce((U, d) => {
820
- const l = ir(u, d), t = nr(u, d), i = a[g] || [], o = rr(
820
+ const l = nr(u, d), t = rr(u, d), i = a[g] || [], o = lr(
821
821
  i,
822
822
  l,
823
823
  t
824
824
  );
825
825
  return Pe(o) || (U[d] = o), U;
826
826
  }, {}) : {};
827
- }, ml = ({
827
+ }, ul = ({
828
828
  platformName: e,
829
829
  gamesOfType: n = [],
830
830
  allPlatforms: a = []
831
831
  }) => {
832
- const r = ir(a, e), u = nr(a, e), g = rr(
832
+ const r = nr(a, e), u = rr(a, e), g = lr(
833
833
  n,
834
834
  r,
835
835
  u
836
836
  );
837
- return ol(g);
837
+ return sl(g);
838
838
  };
839
- var gt = { exports: {} }, ul = gt.exports, Fi;
840
- function pl() {
841
- return Fi || (Fi = 1, (function(e, n) {
839
+ var dt = { exports: {} }, pl = dt.exports, Ai;
840
+ function gl() {
841
+ return Ai || (Ai = 1, (function(e, n) {
842
842
  (function(a, r) {
843
843
  e.exports = r();
844
- })(ul, (function() {
844
+ })(pl, (function() {
845
845
  var a = 1e3, r = 6e4, u = 36e5, g = "millisecond", U = "second", d = "minute", l = "hour", t = "day", i = "week", o = "month", s = "quarter", p = "year", m = "date", f = "Invalid Date", c = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|YYYY|YY|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) {
846
846
  var R = ["th", "st", "nd", "rd"], L = w % 100;
847
847
  return "[" + w + (R[(L - 20) % 10] || R[L] || R[0]) + "]";
@@ -1112,30 +1112,30 @@ function pl() {
1112
1112
  return k(1e3 * w);
1113
1113
  }, k.en = T[v], k.Ls = T, k.p = {}, k;
1114
1114
  }));
1115
- })(gt)), gt.exports;
1115
+ })(dt)), dt.exports;
1116
1116
  }
1117
- var gl = pl();
1118
- const Re = /* @__PURE__ */ Ui(gl);
1119
- var dt = { exports: {} };
1120
- function dl(e) {
1117
+ var dl = gl();
1118
+ const Re = /* @__PURE__ */ bi(dl);
1119
+ var ct = { exports: {} };
1120
+ function cl(e) {
1121
1121
  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.');
1122
1122
  }
1123
- var ct = { exports: {} };
1124
- const cl = {}, fl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1123
+ var ft = { exports: {} };
1124
+ const fl = {}, _l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1125
1125
  __proto__: null,
1126
- default: cl
1127
- }, Symbol.toStringTag, { value: "Module" })), _l = /* @__PURE__ */ el(fl);
1128
- var yl = ct.exports, Ai;
1126
+ default: fl
1127
+ }, Symbol.toStringTag, { value: "Module" })), yl = /* @__PURE__ */ al(_l);
1128
+ var Ul = ft.exports, Oi;
1129
1129
  function oe() {
1130
- return Ai || (Ai = 1, (function(e, n) {
1130
+ return Oi || (Oi = 1, (function(e, n) {
1131
1131
  (function(a, r) {
1132
1132
  e.exports = r();
1133
- })(yl, function() {
1133
+ })(Ul, function() {
1134
1134
  var a = a || (function(r, u) {
1135
1135
  var g;
1136
- 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 ii < "u" && ii.crypto && (g = ii.crypto), !g && typeof dl == "function")
1136
+ 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 ni < "u" && ni.crypto && (g = ni.crypto), !g && typeof cl == "function")
1137
1137
  try {
1138
- g = _l;
1138
+ g = yl;
1139
1139
  } catch {
1140
1140
  }
1141
1141
  var U = function() {
@@ -1624,14 +1624,14 @@ function oe() {
1624
1624
  })(Math);
1625
1625
  return a;
1626
1626
  });
1627
- })(ct)), ct.exports;
1627
+ })(ft)), ft.exports;
1628
1628
  }
1629
- var ft = { exports: {} }, Ul = ft.exports, Oi;
1630
- function ei() {
1631
- return Oi || (Oi = 1, (function(e, n) {
1629
+ var _t = { exports: {} }, bl = _t.exports, Bi;
1630
+ function ai() {
1631
+ return Bi || (Bi = 1, (function(e, n) {
1632
1632
  (function(a, r) {
1633
1633
  e.exports = r(oe());
1634
- })(Ul, function(a) {
1634
+ })(bl, function(a) {
1635
1635
  return (function(r) {
1636
1636
  var u = a, g = u.lib, U = g.Base, d = g.WordArray, l = u.x64 = {};
1637
1637
  l.Word = U.extend({
@@ -1854,14 +1854,14 @@ function ei() {
1854
1854
  });
1855
1855
  })(), a;
1856
1856
  });
1857
- })(ft)), ft.exports;
1857
+ })(_t)), _t.exports;
1858
1858
  }
1859
- var _t = { exports: {} }, bl = _t.exports, Bi;
1860
- function Cl() {
1861
- return Bi || (Bi = 1, (function(e, n) {
1859
+ var yt = { exports: {} }, Cl = yt.exports, Hi;
1860
+ function vl() {
1861
+ return Hi || (Hi = 1, (function(e, n) {
1862
1862
  (function(a, r) {
1863
1863
  e.exports = r(oe());
1864
- })(bl, function(a) {
1864
+ })(Cl, function(a) {
1865
1865
  return (function() {
1866
1866
  if (typeof ArrayBuffer == "function") {
1867
1867
  var r = a, u = r.lib, g = u.WordArray, U = g.init, d = g.init = function(l) {
@@ -1876,14 +1876,14 @@ function Cl() {
1876
1876
  }
1877
1877
  })(), a.lib.WordArray;
1878
1878
  });
1879
- })(_t)), _t.exports;
1879
+ })(yt)), yt.exports;
1880
1880
  }
1881
- var yt = { exports: {} }, vl = yt.exports, Hi;
1882
- function hl() {
1883
- return Hi || (Hi = 1, (function(e, n) {
1881
+ var Ut = { exports: {} }, hl = Ut.exports, Wi;
1882
+ function Tl() {
1883
+ return Wi || (Wi = 1, (function(e, n) {
1884
1884
  (function(a, r) {
1885
1885
  e.exports = r(oe());
1886
- })(vl, function(a) {
1886
+ })(hl, function(a) {
1887
1887
  return (function() {
1888
1888
  var r = a, u = r.lib, g = u.WordArray, U = r.enc;
1889
1889
  U.Utf16 = U.Utf16BE = {
@@ -1970,14 +1970,14 @@ function hl() {
1970
1970
  }
1971
1971
  })(), a.enc.Utf16;
1972
1972
  });
1973
- })(yt)), yt.exports;
1973
+ })(Ut)), Ut.exports;
1974
1974
  }
1975
- var Ut = { exports: {} }, Tl = Ut.exports, Wi;
1976
- function Da() {
1977
- return Wi || (Wi = 1, (function(e, n) {
1975
+ var bt = { exports: {} }, kl = bt.exports, zi;
1976
+ function Ea() {
1977
+ return zi || (zi = 1, (function(e, n) {
1978
1978
  (function(a, r) {
1979
1979
  e.exports = r(oe());
1980
- })(Tl, function(a) {
1980
+ })(kl, function(a) {
1981
1981
  return (function() {
1982
1982
  var r = a, u = r.lib, g = u.WordArray, U = r.enc;
1983
1983
  U.Base64 = {
@@ -2045,14 +2045,14 @@ function Da() {
2045
2045
  }
2046
2046
  })(), a.enc.Base64;
2047
2047
  });
2048
- })(Ut)), Ut.exports;
2048
+ })(bt)), bt.exports;
2049
2049
  }
2050
- var bt = { exports: {} }, kl = bt.exports, zi;
2051
- function xl() {
2052
- return zi || (zi = 1, (function(e, n) {
2050
+ var Ct = { exports: {} }, xl = Ct.exports, Ii;
2051
+ function Sl() {
2052
+ return Ii || (Ii = 1, (function(e, n) {
2053
2053
  (function(a, r) {
2054
2054
  e.exports = r(oe());
2055
- })(kl, function(a) {
2055
+ })(xl, function(a) {
2056
2056
  return (function() {
2057
2057
  var r = a, u = r.lib, g = u.WordArray, U = r.enc;
2058
2058
  U.Base64url = {
@@ -2127,14 +2127,14 @@ function xl() {
2127
2127
  }
2128
2128
  })(), a.enc.Base64url;
2129
2129
  });
2130
- })(bt)), bt.exports;
2130
+ })(Ct)), Ct.exports;
2131
2131
  }
2132
- var Ct = { exports: {} }, Sl = Ct.exports, Ii;
2133
- function Ea() {
2134
- return Ii || (Ii = 1, (function(e, n) {
2132
+ var vt = { exports: {} }, Dl = vt.exports, Vi;
2133
+ function Na() {
2134
+ return Vi || (Vi = 1, (function(e, n) {
2135
2135
  (function(a, r) {
2136
2136
  e.exports = r(oe());
2137
- })(Sl, function(a) {
2137
+ })(Dl, function(a) {
2138
2138
  return (function(r) {
2139
2139
  var u = a, g = u.lib, U = g.WordArray, d = g.Hasher, l = u.algo, t = [];
2140
2140
  (function() {
@@ -2193,14 +2193,14 @@ function Ea() {
2193
2193
  u.MD5 = d._createHelper(i), u.HmacMD5 = d._createHmacHelper(i);
2194
2194
  })(Math), a.MD5;
2195
2195
  });
2196
- })(Ct)), Ct.exports;
2196
+ })(vt)), vt.exports;
2197
2197
  }
2198
- var vt = { exports: {} }, Dl = vt.exports, Vi;
2199
- function lr() {
2200
- return Vi || (Vi = 1, (function(e, n) {
2198
+ var ht = { exports: {} }, El = ht.exports, Ji;
2199
+ function or() {
2200
+ return Ji || (Ji = 1, (function(e, n) {
2201
2201
  (function(a, r) {
2202
2202
  e.exports = r(oe());
2203
- })(Dl, function(a) {
2203
+ })(El, function(a) {
2204
2204
  return (function() {
2205
2205
  var r = a, u = r.lib, g = u.WordArray, U = u.Hasher, d = r.algo, l = [], t = d.SHA1 = U.extend({
2206
2206
  _doReset: function() {
@@ -2237,14 +2237,14 @@ function lr() {
2237
2237
  r.SHA1 = U._createHelper(t), r.HmacSHA1 = U._createHmacHelper(t);
2238
2238
  })(), a.SHA1;
2239
2239
  });
2240
- })(vt)), vt.exports;
2240
+ })(ht)), ht.exports;
2241
2241
  }
2242
- var ht = { exports: {} }, El = ht.exports, Ji;
2243
- function bi() {
2244
- return Ji || (Ji = 1, (function(e, n) {
2242
+ var Tt = { exports: {} }, Nl = Tt.exports, Zi;
2243
+ function Ci() {
2244
+ return Zi || (Zi = 1, (function(e, n) {
2245
2245
  (function(a, r) {
2246
2246
  e.exports = r(oe());
2247
- })(El, function(a) {
2247
+ })(Nl, function(a) {
2248
2248
  return (function(r) {
2249
2249
  var u = a, g = u.lib, U = g.WordArray, d = g.Hasher, l = u.algo, t = [], i = [];
2250
2250
  (function() {
@@ -2289,14 +2289,14 @@ function bi() {
2289
2289
  u.SHA256 = d._createHelper(s), u.HmacSHA256 = d._createHmacHelper(s);
2290
2290
  })(Math), a.SHA256;
2291
2291
  });
2292
- })(ht)), ht.exports;
2292
+ })(Tt)), Tt.exports;
2293
2293
  }
2294
- var Tt = { exports: {} }, Nl = Tt.exports, Zi;
2295
- function Ll() {
2296
- return Zi || (Zi = 1, (function(e, n) {
2294
+ var kt = { exports: {} }, Ll = kt.exports, Ki;
2295
+ function Gl() {
2296
+ return Ki || (Ki = 1, (function(e, n) {
2297
2297
  (function(a, r, u) {
2298
- e.exports = r(oe(), bi());
2299
- })(Nl, function(a) {
2298
+ e.exports = r(oe(), Ci());
2299
+ })(Ll, function(a) {
2300
2300
  return (function() {
2301
2301
  var r = a, u = r.lib, g = u.WordArray, U = r.algo, d = U.SHA256, l = U.SHA224 = d.extend({
2302
2302
  _doReset: function() {
@@ -2319,14 +2319,14 @@ function Ll() {
2319
2319
  r.SHA224 = d._createHelper(l), r.HmacSHA224 = d._createHmacHelper(l);
2320
2320
  })(), a.SHA224;
2321
2321
  });
2322
- })(Tt)), Tt.exports;
2322
+ })(kt)), kt.exports;
2323
2323
  }
2324
- var kt = { exports: {} }, Gl = kt.exports, Ki;
2325
- function or() {
2326
- return Ki || (Ki = 1, (function(e, n) {
2324
+ var xt = { exports: {} }, Ml = xt.exports, qi;
2325
+ function sr() {
2326
+ return qi || (qi = 1, (function(e, n) {
2327
2327
  (function(a, r, u) {
2328
- e.exports = r(oe(), ei());
2329
- })(Gl, function(a) {
2328
+ e.exports = r(oe(), ai());
2329
+ })(Ml, function(a) {
2330
2330
  return (function() {
2331
2331
  var r = a, u = r.lib, g = u.Hasher, U = r.x64, d = U.Word, l = U.WordArray, t = r.algo;
2332
2332
  function i() {
@@ -2433,15 +2433,15 @@ function or() {
2433
2433
  },
2434
2434
  _doProcessBlock: function(m, f) {
2435
2435
  for (var c = this._hash.words, y = c[0], _ = c[1], b = c[2], C = c[3], v = c[4], T = c[5], D = c[6], M = c[7], A = y.high, k = y.low, S = _.high, F = _.low, P = b.high, w = b.low, R = C.high, L = C.low, B = v.high, O = v.low, W = T.high, z = T.low, G = D.high, h = D.low, E = M.high, N = M.low, J = A, q = k, $ = S, V = F, Y = P, ae = w, Ce = R, ve = L, pe = B, ye = O, Ne = W, he = z, fe = G, ge = h, Ue = E, ze = N, Ee = 0; Ee < 80; Ee++) {
2436
- var ke, Ve, ta = s[Ee];
2436
+ var ke, Ve, ia = s[Ee];
2437
2437
  if (Ee < 16)
2438
- Ve = ta.high = m[f + Ee * 2] | 0, ke = ta.low = m[f + Ee * 2 + 1] | 0;
2438
+ Ve = ia.high = m[f + Ee * 2] | 0, ke = ia.low = m[f + Ee * 2 + 1] | 0;
2439
2439
  else {
2440
- var ia = s[Ee - 15], Le = ia.high, Be = ia.low, Xe = (Le >>> 1 | Be << 31) ^ (Le >>> 8 | Be << 24) ^ Le >>> 7, oa = (Be >>> 1 | Le << 31) ^ (Be >>> 8 | Le << 24) ^ (Be >>> 7 | Le << 25), ga = s[Ee - 2], Ke = ga.high, ea = ga.low, Za = (Ke >>> 19 | ea << 13) ^ (Ke << 3 | ea >>> 29) ^ Ke >>> 6, La = (ea >>> 19 | Ke << 13) ^ (ea << 3 | Ke >>> 29) ^ (ea >>> 6 | Ke << 26), Ga = s[Ee - 7], Ka = Ga.high, qa = Ga.low, da = s[Ee - 16], Ua = da.high, Qe = da.low;
2441
- ke = oa + qa, Ve = Xe + Ka + (ke >>> 0 < oa >>> 0 ? 1 : 0), ke = ke + La, Ve = Ve + Za + (ke >>> 0 < La >>> 0 ? 1 : 0), ke = ke + Qe, Ve = Ve + Ua + (ke >>> 0 < Qe >>> 0 ? 1 : 0), ta.high = Ve, ta.low = ke;
2440
+ var na = s[Ee - 15], Le = na.high, Be = na.low, ea = (Le >>> 1 | Be << 31) ^ (Le >>> 8 | Be << 24) ^ Le >>> 7, sa = (Be >>> 1 | Le << 31) ^ (Be >>> 8 | Le << 24) ^ (Be >>> 7 | Le << 25), da = s[Ee - 2], Ke = da.high, aa = da.low, Ka = (Ke >>> 19 | aa << 13) ^ (Ke << 3 | aa >>> 29) ^ Ke >>> 6, Ga = (aa >>> 19 | Ke << 13) ^ (aa << 3 | Ke >>> 29) ^ (aa >>> 6 | Ke << 26), Ma = s[Ee - 7], qa = Ma.high, $a = Ma.low, ca = s[Ee - 16], ba = ca.high, je = ca.low;
2441
+ ke = sa + $a, Ve = ea + qa + (ke >>> 0 < sa >>> 0 ? 1 : 0), ke = ke + Ga, Ve = Ve + Ka + (ke >>> 0 < Ga >>> 0 ? 1 : 0), ke = ke + je, Ve = Ve + ba + (ke >>> 0 < je >>> 0 ? 1 : 0), ia.high = Ve, ia.low = ke;
2442
2442
  }
2443
- var ca = pe & Ne ^ ~pe & fe, fa = ye & he ^ ~ye & ge, Ma = J & $ ^ J & Y ^ $ & Y, Ra = q & V ^ q & ae ^ V & ae, ba = (J >>> 28 | q << 4) ^ (J << 30 | q >>> 2) ^ (J << 25 | q >>> 7), Pa = (q >>> 28 | J << 4) ^ (q << 30 | J >>> 2) ^ (q << 25 | J >>> 7), wa = (pe >>> 14 | ye << 18) ^ (pe >>> 18 | ye << 14) ^ (pe << 23 | ye >>> 9), Ge = (ye >>> 14 | pe << 18) ^ (ye >>> 18 | pe << 14) ^ (ye << 23 | pe >>> 9), Z = o[Ee], Me = Z.high, na = Z.low, He = ze + Ge, ra = Ue + wa + (He >>> 0 < ze >>> 0 ? 1 : 0), He = He + fa, ra = ra + ca + (He >>> 0 < fa >>> 0 ? 1 : 0), He = He + na, ra = ra + Me + (He >>> 0 < na >>> 0 ? 1 : 0), He = He + ke, ra = ra + Ve + (He >>> 0 < ke >>> 0 ? 1 : 0), nt = Pa + Ra, ai = ba + Ma + (nt >>> 0 < Pa >>> 0 ? 1 : 0);
2444
- Ue = fe, ze = ge, fe = Ne, ge = he, Ne = pe, he = ye, ye = ve + He | 0, pe = Ce + ra + (ye >>> 0 < ve >>> 0 ? 1 : 0) | 0, Ce = Y, ve = ae, Y = $, ae = V, $ = J, V = q, q = He + nt | 0, J = ra + ai + (q >>> 0 < He >>> 0 ? 1 : 0) | 0;
2443
+ var fa = pe & Ne ^ ~pe & fe, _a = ye & he ^ ~ye & ge, Ra = J & $ ^ J & Y ^ $ & Y, Pa = q & V ^ q & ae ^ V & ae, Ca = (J >>> 28 | q << 4) ^ (J << 30 | q >>> 2) ^ (J << 25 | q >>> 7), wa = (q >>> 28 | J << 4) ^ (q << 30 | J >>> 2) ^ (q << 25 | J >>> 7), Fa = (pe >>> 14 | ye << 18) ^ (pe >>> 18 | ye << 14) ^ (pe << 23 | ye >>> 9), Ge = (ye >>> 14 | pe << 18) ^ (ye >>> 18 | pe << 14) ^ (ye << 23 | pe >>> 9), Z = o[Ee], Me = Z.high, ra = Z.low, He = ze + Ge, la = Ue + Fa + (He >>> 0 < ze >>> 0 ? 1 : 0), He = He + _a, la = la + fa + (He >>> 0 < _a >>> 0 ? 1 : 0), He = He + ra, la = la + Me + (He >>> 0 < ra >>> 0 ? 1 : 0), He = He + ke, la = la + Ve + (He >>> 0 < ke >>> 0 ? 1 : 0), rt = wa + Pa, ti = Ca + Ra + (rt >>> 0 < wa >>> 0 ? 1 : 0);
2444
+ Ue = fe, ze = ge, fe = Ne, ge = he, Ne = pe, he = ye, ye = ve + He | 0, pe = Ce + la + (ye >>> 0 < ve >>> 0 ? 1 : 0) | 0, Ce = Y, ve = ae, Y = $, ae = V, $ = J, V = q, q = He + rt | 0, J = la + ti + (q >>> 0 < He >>> 0 ? 1 : 0) | 0;
2445
2445
  }
2446
2446
  k = y.low = k + q, y.high = A + J + (k >>> 0 < q >>> 0 ? 1 : 0), F = _.low = F + V, _.high = S + $ + (F >>> 0 < V >>> 0 ? 1 : 0), w = b.low = w + ae, b.high = P + Y + (w >>> 0 < ae >>> 0 ? 1 : 0), L = C.low = L + ve, C.high = R + Ce + (L >>> 0 < ve >>> 0 ? 1 : 0), O = v.low = O + ye, v.high = B + pe + (O >>> 0 < ye >>> 0 ? 1 : 0), z = T.low = z + he, T.high = W + Ne + (z >>> 0 < he >>> 0 ? 1 : 0), h = D.low = h + ge, D.high = G + fe + (h >>> 0 < ge >>> 0 ? 1 : 0), N = M.low = N + ze, M.high = E + Ue + (N >>> 0 < ze >>> 0 ? 1 : 0);
2447
2447
  },
@@ -2460,14 +2460,14 @@ function or() {
2460
2460
  r.SHA512 = g._createHelper(p), r.HmacSHA512 = g._createHmacHelper(p);
2461
2461
  })(), a.SHA512;
2462
2462
  });
2463
- })(kt)), kt.exports;
2463
+ })(xt)), xt.exports;
2464
2464
  }
2465
- var xt = { exports: {} }, Ml = xt.exports, qi;
2466
- function Rl() {
2467
- return qi || (qi = 1, (function(e, n) {
2465
+ var St = { exports: {} }, Rl = St.exports, $i;
2466
+ function Pl() {
2467
+ return $i || ($i = 1, (function(e, n) {
2468
2468
  (function(a, r, u) {
2469
- e.exports = r(oe(), ei(), or());
2470
- })(Ml, function(a) {
2469
+ e.exports = r(oe(), ai(), sr());
2470
+ })(Rl, function(a) {
2471
2471
  return (function() {
2472
2472
  var r = a, u = r.x64, g = u.Word, U = u.WordArray, d = r.algo, l = d.SHA512, t = d.SHA384 = l.extend({
2473
2473
  _doReset: function() {
@@ -2490,14 +2490,14 @@ function Rl() {
2490
2490
  r.SHA384 = l._createHelper(t), r.HmacSHA384 = l._createHmacHelper(t);
2491
2491
  })(), a.SHA384;
2492
2492
  });
2493
- })(xt)), xt.exports;
2493
+ })(St)), St.exports;
2494
2494
  }
2495
- var St = { exports: {} }, Pl = St.exports, $i;
2496
- function wl() {
2497
- return $i || ($i = 1, (function(e, n) {
2495
+ var Dt = { exports: {} }, wl = Dt.exports, Qi;
2496
+ function Fl() {
2497
+ return Qi || (Qi = 1, (function(e, n) {
2498
2498
  (function(a, r, u) {
2499
- e.exports = r(oe(), ei());
2500
- })(Pl, function(a) {
2499
+ e.exports = r(oe(), ai());
2500
+ })(wl, function(a) {
2501
2501
  return (function(r) {
2502
2502
  var u = a, g = u.lib, U = g.WordArray, d = g.Hasher, l = u.x64, t = l.Word, i = u.algo, o = [], s = [], p = [];
2503
2503
  (function() {
@@ -2600,14 +2600,14 @@ function wl() {
2600
2600
  u.SHA3 = d._createHelper(f), u.HmacSHA3 = d._createHmacHelper(f);
2601
2601
  })(Math), a.SHA3;
2602
2602
  });
2603
- })(St)), St.exports;
2603
+ })(Dt)), Dt.exports;
2604
2604
  }
2605
- var Dt = { exports: {} }, Fl = Dt.exports, Qi;
2606
- function Al() {
2607
- return Qi || (Qi = 1, (function(e, n) {
2605
+ var Et = { exports: {} }, Al = Et.exports, ji;
2606
+ function Ol() {
2607
+ return ji || (ji = 1, (function(e, n) {
2608
2608
  (function(a, r) {
2609
2609
  e.exports = r(oe());
2610
- })(Fl, function(a) {
2610
+ })(Al, function(a) {
2611
2611
  return (function(r) {
2612
2612
  var u = a, g = u.lib, U = g.WordArray, d = g.Hasher, l = u.algo, t = U.create([
2613
2613
  0,
@@ -2983,14 +2983,14 @@ function Al() {
2983
2983
  u.RIPEMD160 = d._createHelper(f), u.HmacRIPEMD160 = d._createHmacHelper(f);
2984
2984
  })(), a.RIPEMD160;
2985
2985
  });
2986
- })(Dt)), Dt.exports;
2986
+ })(Et)), Et.exports;
2987
2987
  }
2988
- var Et = { exports: {} }, Ol = Et.exports, ji;
2989
- function Ci() {
2990
- return ji || (ji = 1, (function(e, n) {
2988
+ var Nt = { exports: {} }, Bl = Nt.exports, Yi;
2989
+ function vi() {
2990
+ return Yi || (Yi = 1, (function(e, n) {
2991
2991
  (function(a, r) {
2992
2992
  e.exports = r(oe());
2993
- })(Ol, function(a) {
2993
+ })(Bl, function(a) {
2994
2994
  (function() {
2995
2995
  var r = a, u = r.lib, g = u.Base, U = r.enc, d = U.Utf8, l = r.algo;
2996
2996
  l.HMAC = g.extend({
@@ -3061,14 +3061,14 @@ function Ci() {
3061
3061
  });
3062
3062
  })();
3063
3063
  });
3064
- })(Et)), Et.exports;
3064
+ })(Nt)), Nt.exports;
3065
3065
  }
3066
- var Nt = { exports: {} }, Bl = Nt.exports, Yi;
3067
- function Hl() {
3068
- return Yi || (Yi = 1, (function(e, n) {
3066
+ var Lt = { exports: {} }, Hl = Lt.exports, Xi;
3067
+ function Wl() {
3068
+ return Xi || (Xi = 1, (function(e, n) {
3069
3069
  (function(a, r, u) {
3070
- e.exports = r(oe(), bi(), Ci());
3071
- })(Bl, function(a) {
3070
+ e.exports = r(oe(), Ci(), vi());
3071
+ })(Hl, function(a) {
3072
3072
  return (function() {
3073
3073
  var r = a, u = r.lib, g = u.Base, U = u.WordArray, d = r.algo, l = d.SHA256, t = d.HMAC, i = d.PBKDF2 = g.extend({
3074
3074
  /**
@@ -3128,14 +3128,14 @@ function Hl() {
3128
3128
  };
3129
3129
  })(), a.PBKDF2;
3130
3130
  });
3131
- })(Nt)), Nt.exports;
3131
+ })(Lt)), Lt.exports;
3132
3132
  }
3133
- var Lt = { exports: {} }, Wl = Lt.exports, Xi;
3134
- function ya() {
3135
- return Xi || (Xi = 1, (function(e, n) {
3133
+ var Gt = { exports: {} }, zl = Gt.exports, en;
3134
+ function Ua() {
3135
+ return en || (en = 1, (function(e, n) {
3136
3136
  (function(a, r, u) {
3137
- e.exports = r(oe(), lr(), Ci());
3138
- })(Wl, function(a) {
3137
+ e.exports = r(oe(), or(), vi());
3138
+ })(zl, function(a) {
3139
3139
  return (function() {
3140
3140
  var r = a, u = r.lib, g = u.Base, U = u.WordArray, d = r.algo, l = d.MD5, t = d.EvpKDF = g.extend({
3141
3141
  /**
@@ -3191,14 +3191,14 @@ function ya() {
3191
3191
  };
3192
3192
  })(), a.EvpKDF;
3193
3193
  });
3194
- })(Lt)), Lt.exports;
3194
+ })(Gt)), Gt.exports;
3195
3195
  }
3196
- var Gt = { exports: {} }, zl = Gt.exports, en;
3196
+ var Mt = { exports: {} }, Il = Mt.exports, an;
3197
3197
  function we() {
3198
- return en || (en = 1, (function(e, n) {
3198
+ return an || (an = 1, (function(e, n) {
3199
3199
  (function(a, r, u) {
3200
- e.exports = r(oe(), ya());
3201
- })(zl, function(a) {
3200
+ e.exports = r(oe(), Ua());
3201
+ })(Il, function(a) {
3202
3202
  a.lib.Cipher || (function(r) {
3203
3203
  var u = a, g = u.lib, U = g.Base, d = g.WordArray, l = g.BufferedBlockAlgorithm, t = u.enc;
3204
3204
  t.Utf8;
@@ -3729,14 +3729,14 @@ function we() {
3729
3729
  });
3730
3730
  })();
3731
3731
  });
3732
- })(Gt)), Gt.exports;
3732
+ })(Mt)), Mt.exports;
3733
3733
  }
3734
- var Mt = { exports: {} }, Il = Mt.exports, an;
3735
- function Vl() {
3736
- return an || (an = 1, (function(e, n) {
3734
+ var Rt = { exports: {} }, Vl = Rt.exports, tn;
3735
+ function Jl() {
3736
+ return tn || (tn = 1, (function(e, n) {
3737
3737
  (function(a, r, u) {
3738
3738
  e.exports = r(oe(), we());
3739
- })(Il, function(a) {
3739
+ })(Vl, function(a) {
3740
3740
  return a.mode.CFB = (function() {
3741
3741
  var r = a.lib.BlockCipherMode.extend();
3742
3742
  r.Encryptor = r.extend({
@@ -3759,14 +3759,14 @@ function Vl() {
3759
3759
  return r;
3760
3760
  })(), a.mode.CFB;
3761
3761
  });
3762
- })(Mt)), Mt.exports;
3762
+ })(Rt)), Rt.exports;
3763
3763
  }
3764
- var Rt = { exports: {} }, Jl = Rt.exports, tn;
3765
- function Zl() {
3766
- return tn || (tn = 1, (function(e, n) {
3764
+ var Pt = { exports: {} }, Zl = Pt.exports, nn;
3765
+ function Kl() {
3766
+ return nn || (nn = 1, (function(e, n) {
3767
3767
  (function(a, r, u) {
3768
3768
  e.exports = r(oe(), we());
3769
- })(Jl, function(a) {
3769
+ })(Zl, function(a) {
3770
3770
  return a.mode.CTR = (function() {
3771
3771
  var r = a.lib.BlockCipherMode.extend(), u = r.Encryptor = r.extend({
3772
3772
  processBlock: function(g, U) {
@@ -3781,14 +3781,14 @@ function Zl() {
3781
3781
  return r.Decryptor = u, r;
3782
3782
  })(), a.mode.CTR;
3783
3783
  });
3784
- })(Rt)), Rt.exports;
3784
+ })(Pt)), Pt.exports;
3785
3785
  }
3786
- var Pt = { exports: {} }, Kl = Pt.exports, nn;
3787
- function ql() {
3788
- return nn || (nn = 1, (function(e, n) {
3786
+ var wt = { exports: {} }, ql = wt.exports, rn;
3787
+ function $l() {
3788
+ return rn || (rn = 1, (function(e, n) {
3789
3789
  (function(a, r, u) {
3790
3790
  e.exports = r(oe(), we());
3791
- })(Kl, function(a) {
3791
+ })(ql, function(a) {
3792
3792
  return a.mode.CTRGladman = (function() {
3793
3793
  var r = a.lib.BlockCipherMode.extend();
3794
3794
  function u(d) {
@@ -3815,14 +3815,14 @@ function ql() {
3815
3815
  return r.Decryptor = U, r;
3816
3816
  })(), a.mode.CTRGladman;
3817
3817
  });
3818
- })(Pt)), Pt.exports;
3818
+ })(wt)), wt.exports;
3819
3819
  }
3820
- var wt = { exports: {} }, $l = wt.exports, rn;
3821
- function Ql() {
3822
- return rn || (rn = 1, (function(e, n) {
3820
+ var Ft = { exports: {} }, Ql = Ft.exports, ln;
3821
+ function jl() {
3822
+ return ln || (ln = 1, (function(e, n) {
3823
3823
  (function(a, r, u) {
3824
3824
  e.exports = r(oe(), we());
3825
- })($l, function(a) {
3825
+ })(Ql, function(a) {
3826
3826
  return a.mode.OFB = (function() {
3827
3827
  var r = a.lib.BlockCipherMode.extend(), u = r.Encryptor = r.extend({
3828
3828
  processBlock: function(g, U) {
@@ -3835,14 +3835,14 @@ function Ql() {
3835
3835
  return r.Decryptor = u, r;
3836
3836
  })(), a.mode.OFB;
3837
3837
  });
3838
- })(wt)), wt.exports;
3838
+ })(Ft)), Ft.exports;
3839
3839
  }
3840
- var Ft = { exports: {} }, jl = Ft.exports, ln;
3841
- function Yl() {
3842
- return ln || (ln = 1, (function(e, n) {
3840
+ var At = { exports: {} }, Yl = At.exports, on;
3841
+ function Xl() {
3842
+ return on || (on = 1, (function(e, n) {
3843
3843
  (function(a, r, u) {
3844
3844
  e.exports = r(oe(), we());
3845
- })(jl, function(a) {
3845
+ })(Yl, function(a) {
3846
3846
  return a.mode.ECB = (function() {
3847
3847
  var r = a.lib.BlockCipherMode.extend();
3848
3848
  return r.Encryptor = r.extend({
@@ -3856,14 +3856,14 @@ function Yl() {
3856
3856
  }), r;
3857
3857
  })(), a.mode.ECB;
3858
3858
  });
3859
- })(Ft)), Ft.exports;
3859
+ })(At)), At.exports;
3860
3860
  }
3861
- var At = { exports: {} }, Xl = At.exports, on;
3862
- function eo() {
3863
- return on || (on = 1, (function(e, n) {
3861
+ var Ot = { exports: {} }, eo = Ot.exports, sn;
3862
+ function ao() {
3863
+ return sn || (sn = 1, (function(e, n) {
3864
3864
  (function(a, r, u) {
3865
3865
  e.exports = r(oe(), we());
3866
- })(Xl, function(a) {
3866
+ })(eo, function(a) {
3867
3867
  return a.pad.AnsiX923 = {
3868
3868
  pad: function(r, u) {
3869
3869
  var g = r.sigBytes, U = u * 4, d = U - g % U, l = g + d - 1;
@@ -3875,14 +3875,14 @@ function eo() {
3875
3875
  }
3876
3876
  }, a.pad.Ansix923;
3877
3877
  });
3878
- })(At)), At.exports;
3878
+ })(Ot)), Ot.exports;
3879
3879
  }
3880
- var Ot = { exports: {} }, ao = Ot.exports, sn;
3881
- function to() {
3882
- return sn || (sn = 1, (function(e, n) {
3880
+ var Bt = { exports: {} }, to = Bt.exports, mn;
3881
+ function io() {
3882
+ return mn || (mn = 1, (function(e, n) {
3883
3883
  (function(a, r, u) {
3884
3884
  e.exports = r(oe(), we());
3885
- })(ao, function(a) {
3885
+ })(to, function(a) {
3886
3886
  return a.pad.Iso10126 = {
3887
3887
  pad: function(r, u) {
3888
3888
  var g = u * 4, U = g - r.sigBytes % g;
@@ -3894,14 +3894,14 @@ function to() {
3894
3894
  }
3895
3895
  }, a.pad.Iso10126;
3896
3896
  });
3897
- })(Ot)), Ot.exports;
3897
+ })(Bt)), Bt.exports;
3898
3898
  }
3899
- var Bt = { exports: {} }, io = Bt.exports, mn;
3900
- function no() {
3901
- return mn || (mn = 1, (function(e, n) {
3899
+ var Ht = { exports: {} }, no = Ht.exports, un;
3900
+ function ro() {
3901
+ return un || (un = 1, (function(e, n) {
3902
3902
  (function(a, r, u) {
3903
3903
  e.exports = r(oe(), we());
3904
- })(io, function(a) {
3904
+ })(no, function(a) {
3905
3905
  return a.pad.Iso97971 = {
3906
3906
  pad: function(r, u) {
3907
3907
  r.concat(a.lib.WordArray.create([2147483648], 1)), a.pad.ZeroPadding.pad(r, u);
@@ -3911,14 +3911,14 @@ function no() {
3911
3911
  }
3912
3912
  }, a.pad.Iso97971;
3913
3913
  });
3914
- })(Bt)), Bt.exports;
3914
+ })(Ht)), Ht.exports;
3915
3915
  }
3916
- var Ht = { exports: {} }, ro = Ht.exports, un;
3917
- function lo() {
3918
- return un || (un = 1, (function(e, n) {
3916
+ var Wt = { exports: {} }, lo = Wt.exports, pn;
3917
+ function oo() {
3918
+ return pn || (pn = 1, (function(e, n) {
3919
3919
  (function(a, r, u) {
3920
3920
  e.exports = r(oe(), we());
3921
- })(ro, function(a) {
3921
+ })(lo, function(a) {
3922
3922
  return a.pad.ZeroPadding = {
3923
3923
  pad: function(r, u) {
3924
3924
  var g = u * 4;
@@ -3933,14 +3933,14 @@ function lo() {
3933
3933
  }
3934
3934
  }, a.pad.ZeroPadding;
3935
3935
  });
3936
- })(Ht)), Ht.exports;
3936
+ })(Wt)), Wt.exports;
3937
3937
  }
3938
- var Wt = { exports: {} }, oo = Wt.exports, pn;
3939
- function so() {
3940
- return pn || (pn = 1, (function(e, n) {
3938
+ var zt = { exports: {} }, so = zt.exports, gn;
3939
+ function mo() {
3940
+ return gn || (gn = 1, (function(e, n) {
3941
3941
  (function(a, r, u) {
3942
3942
  e.exports = r(oe(), we());
3943
- })(oo, function(a) {
3943
+ })(so, function(a) {
3944
3944
  return a.pad.NoPadding = {
3945
3945
  pad: function() {
3946
3946
  },
@@ -3948,14 +3948,14 @@ function so() {
3948
3948
  }
3949
3949
  }, a.pad.NoPadding;
3950
3950
  });
3951
- })(Wt)), Wt.exports;
3951
+ })(zt)), zt.exports;
3952
3952
  }
3953
- var zt = { exports: {} }, mo = zt.exports, gn;
3954
- function uo() {
3955
- return gn || (gn = 1, (function(e, n) {
3953
+ var It = { exports: {} }, uo = It.exports, dn;
3954
+ function po() {
3955
+ return dn || (dn = 1, (function(e, n) {
3956
3956
  (function(a, r, u) {
3957
3957
  e.exports = r(oe(), we());
3958
- })(mo, function(a) {
3958
+ })(uo, function(a) {
3959
3959
  return (function(r) {
3960
3960
  var u = a, g = u.lib, U = g.CipherParams, d = u.enc, l = d.Hex, t = u.format;
3961
3961
  t.Hex = {
@@ -3995,14 +3995,14 @@ function uo() {
3995
3995
  };
3996
3996
  })(), a.format.Hex;
3997
3997
  });
3998
- })(zt)), zt.exports;
3998
+ })(It)), It.exports;
3999
3999
  }
4000
- var It = { exports: {} }, po = It.exports, dn;
4001
- function go() {
4002
- return dn || (dn = 1, (function(e, n) {
4000
+ var Vt = { exports: {} }, go = Vt.exports, cn;
4001
+ function co() {
4002
+ return cn || (cn = 1, (function(e, n) {
4003
4003
  (function(a, r, u) {
4004
- e.exports = r(oe(), Da(), Ea(), ya(), we());
4005
- })(po, function(a) {
4004
+ e.exports = r(oe(), Ea(), Na(), Ua(), we());
4005
+ })(go, function(a) {
4006
4006
  return (function() {
4007
4007
  var r = a, u = r.lib, g = u.BlockCipher, U = r.algo, d = [], l = [], t = [], i = [], o = [], s = [], p = [], m = [], f = [], c = [];
4008
4008
  (function() {
@@ -4055,14 +4055,14 @@ function go() {
4055
4055
  r.AES = g._createHelper(_);
4056
4056
  })(), a.AES;
4057
4057
  });
4058
- })(It)), It.exports;
4058
+ })(Vt)), Vt.exports;
4059
4059
  }
4060
- var Vt = { exports: {} }, co = Vt.exports, cn;
4061
- function fo() {
4062
- return cn || (cn = 1, (function(e, n) {
4060
+ var Jt = { exports: {} }, fo = Jt.exports, fn;
4061
+ function _o() {
4062
+ return fn || (fn = 1, (function(e, n) {
4063
4063
  (function(a, r, u) {
4064
- e.exports = r(oe(), Da(), Ea(), ya(), we());
4065
- })(co, function(a) {
4064
+ e.exports = r(oe(), Ea(), Na(), Ua(), we());
4065
+ })(fo, function(a) {
4066
4066
  return (function() {
4067
4067
  var r = a, u = r.lib, g = u.WordArray, U = u.BlockCipher, d = r.algo, l = [
4068
4068
  57,
@@ -4775,14 +4775,14 @@ function fo() {
4775
4775
  r.TripleDES = U._createHelper(c);
4776
4776
  })(), a.TripleDES;
4777
4777
  });
4778
- })(Vt)), Vt.exports;
4778
+ })(Jt)), Jt.exports;
4779
4779
  }
4780
- var Jt = { exports: {} }, _o = Jt.exports, fn;
4781
- function yo() {
4782
- return fn || (fn = 1, (function(e, n) {
4780
+ var Zt = { exports: {} }, yo = Zt.exports, _n;
4781
+ function Uo() {
4782
+ return _n || (_n = 1, (function(e, n) {
4783
4783
  (function(a, r, u) {
4784
- e.exports = r(oe(), Da(), Ea(), ya(), we());
4785
- })(_o, function(a) {
4784
+ e.exports = r(oe(), Ea(), Na(), Ua(), we());
4785
+ })(yo, function(a) {
4786
4786
  return (function() {
4787
4787
  var r = a, u = r.lib, g = u.StreamCipher, U = r.algo, d = U.RC4 = g.extend({
4788
4788
  _doReset: function() {
@@ -4829,14 +4829,14 @@ function yo() {
4829
4829
  r.RC4Drop = g._createHelper(t);
4830
4830
  })(), a.RC4;
4831
4831
  });
4832
- })(Jt)), Jt.exports;
4832
+ })(Zt)), Zt.exports;
4833
4833
  }
4834
- var Zt = { exports: {} }, Uo = Zt.exports, _n;
4835
- function bo() {
4836
- return _n || (_n = 1, (function(e, n) {
4834
+ var Kt = { exports: {} }, bo = Kt.exports, yn;
4835
+ function Co() {
4836
+ return yn || (yn = 1, (function(e, n) {
4837
4837
  (function(a, r, u) {
4838
- e.exports = r(oe(), Da(), Ea(), ya(), we());
4839
- })(Uo, function(a) {
4838
+ e.exports = r(oe(), Ea(), Na(), Ua(), we());
4839
+ })(bo, function(a) {
4840
4840
  return (function() {
4841
4841
  var r = a, u = r.lib, g = u.StreamCipher, U = r.algo, d = [], l = [], t = [], i = U.Rabbit = g.extend({
4842
4842
  _doReset: function() {
@@ -4895,14 +4895,14 @@ function bo() {
4895
4895
  r.Rabbit = g._createHelper(i);
4896
4896
  })(), a.Rabbit;
4897
4897
  });
4898
- })(Zt)), Zt.exports;
4898
+ })(Kt)), Kt.exports;
4899
4899
  }
4900
- var Kt = { exports: {} }, Co = Kt.exports, yn;
4901
- function vo() {
4902
- return yn || (yn = 1, (function(e, n) {
4900
+ var qt = { exports: {} }, vo = qt.exports, Un;
4901
+ function ho() {
4902
+ return Un || (Un = 1, (function(e, n) {
4903
4903
  (function(a, r, u) {
4904
- e.exports = r(oe(), Da(), Ea(), ya(), we());
4905
- })(Co, function(a) {
4904
+ e.exports = r(oe(), Ea(), Na(), Ua(), we());
4905
+ })(vo, function(a) {
4906
4906
  return (function() {
4907
4907
  var r = a, u = r.lib, g = u.StreamCipher, U = r.algo, d = [], l = [], t = [], i = U.RabbitLegacy = g.extend({
4908
4908
  _doReset: function() {
@@ -4959,14 +4959,14 @@ function vo() {
4959
4959
  r.RabbitLegacy = g._createHelper(i);
4960
4960
  })(), a.RabbitLegacy;
4961
4961
  });
4962
- })(Kt)), Kt.exports;
4962
+ })(qt)), qt.exports;
4963
4963
  }
4964
- var qt = { exports: {} }, ho = qt.exports, Un;
4965
- function To() {
4966
- return Un || (Un = 1, (function(e, n) {
4964
+ var $t = { exports: {} }, To = $t.exports, bn;
4965
+ function ko() {
4966
+ return bn || (bn = 1, (function(e, n) {
4967
4967
  (function(a, r, u) {
4968
- e.exports = r(oe(), Da(), Ea(), ya(), we());
4969
- })(ho, function(a) {
4968
+ e.exports = r(oe(), Ea(), Na(), Ua(), we());
4969
+ })(To, function(a) {
4970
4970
  return (function() {
4971
4971
  var r = a, u = r.lib, g = u.BlockCipher, U = r.algo;
4972
4972
  const d = 16, l = [
@@ -6081,28 +6081,28 @@ function To() {
6081
6081
  r.Blowfish = g._createHelper(f);
6082
6082
  })(), a.Blowfish;
6083
6083
  });
6084
- })(qt)), qt.exports;
6084
+ })($t)), $t.exports;
6085
6085
  }
6086
- var ko = dt.exports, bn;
6087
- function xo() {
6088
- return bn || (bn = 1, (function(e, n) {
6086
+ var xo = ct.exports, Cn;
6087
+ function So() {
6088
+ return Cn || (Cn = 1, (function(e, n) {
6089
6089
  (function(a, r, u) {
6090
- e.exports = r(oe(), ei(), Cl(), hl(), Da(), xl(), Ea(), lr(), bi(), Ll(), or(), Rl(), wl(), Al(), Ci(), Hl(), ya(), we(), Vl(), Zl(), ql(), Ql(), Yl(), eo(), to(), no(), lo(), so(), uo(), go(), fo(), yo(), bo(), vo(), To());
6091
- })(ko, function(a) {
6090
+ e.exports = r(oe(), ai(), vl(), Tl(), Ea(), Sl(), Na(), or(), Ci(), Gl(), sr(), Pl(), Fl(), Ol(), vi(), Wl(), Ua(), we(), Jl(), Kl(), $l(), jl(), Xl(), ao(), io(), ro(), oo(), mo(), po(), co(), _o(), Uo(), Co(), ho(), ko());
6091
+ })(xo, function(a) {
6092
6092
  return a;
6093
6093
  });
6094
- })(dt)), dt.exports;
6094
+ })(ct)), ct.exports;
6095
6095
  }
6096
- var at = xo();
6097
- const va = /* @__PURE__ */ Ui(at), Aa = (e) => {
6098
- const n = "mySecretPassphrase", a = va.lib.WordArray.random(16), r = va.PBKDF2(n, a, {
6096
+ var tt = So();
6097
+ const ha = /* @__PURE__ */ bi(tt), Oa = (e) => {
6098
+ const n = "mySecretPassphrase", a = ha.lib.WordArray.random(16), r = ha.PBKDF2(n, a, {
6099
6099
  keySize: 128 / 32,
6100
6100
  iterations: 1e3
6101
- }), u = va.AES.encrypt(e, r, {
6101
+ }), u = ha.AES.encrypt(e, r, {
6102
6102
  iv: a,
6103
- mode: va.mode.CBC,
6104
- padding: va.pad.Pkcs7
6105
- }), g = a.toString(va.enc.Base64), U = va.enc.Base64.stringify(u.ciphertext);
6103
+ mode: ha.mode.CBC,
6104
+ padding: ha.pad.Pkcs7
6105
+ }), g = a.toString(ha.enc.Base64), U = ha.enc.Base64.stringify(u.ciphertext);
6106
6106
  return g + ":" + U;
6107
6107
  }, re = () => {
6108
6108
  const { client: e, formDataClient: n } = le(), a = H(
@@ -6146,7 +6146,7 @@ const va = /* @__PURE__ */ Ui(at), Aa = (e) => {
6146
6146
  }) => {
6147
6147
  const Y = {
6148
6148
  memId: h,
6149
- passwd: Aa(E),
6149
+ passwd: Oa(E),
6150
6150
  email: J,
6151
6151
  currency_code: $,
6152
6152
  code: V
@@ -6173,14 +6173,14 @@ const va = /* @__PURE__ */ Ui(at), Aa = (e) => {
6173
6173
  async (h) => {
6174
6174
  const { oldPwd: E, newPwd: N } = h;
6175
6175
  return await e.post("/passwordReset", {
6176
- old_pwd: at.MD5(E).toString(),
6177
- new_pwd: at.MD5(N).toString()
6176
+ old_pwd: tt.MD5(E).toString(),
6177
+ new_pwd: tt.MD5(N).toString()
6178
6178
  });
6179
6179
  },
6180
6180
  [e]
6181
6181
  ), m = H(
6182
6182
  async (h) => {
6183
- const { newPwd: E } = h, N = at.MD5(E).toString();
6183
+ const { newPwd: E } = h, N = tt.MD5(E).toString();
6184
6184
  return await e.post("/member/initset", {
6185
6185
  password: N,
6186
6186
  password_confirmation: N
@@ -6191,8 +6191,8 @@ const va = /* @__PURE__ */ Ui(at), Aa = (e) => {
6191
6191
  async (h) => {
6192
6192
  const { newPwd: E, confirmNewPwd: N } = h;
6193
6193
  return await e.post("/setWithdrawPassword", {
6194
- newPassword: Aa(E),
6195
- confirmPassword: Aa(N)
6194
+ newPassword: Oa(E),
6195
+ confirmPassword: Oa(N)
6196
6196
  });
6197
6197
  },
6198
6198
  [e]
@@ -6200,8 +6200,8 @@ const va = /* @__PURE__ */ Ui(at), Aa = (e) => {
6200
6200
  async (h) => {
6201
6201
  const { oldPwd: E, newPwd: N } = h;
6202
6202
  return await e.post("/withdrawPasswordReset", {
6203
- old_pwd: Aa(E),
6204
- new_pwd: Aa(N)
6203
+ old_pwd: Oa(E),
6204
+ new_pwd: Oa(N)
6205
6205
  });
6206
6206
  },
6207
6207
  [e]
@@ -6241,7 +6241,7 @@ const va = /* @__PURE__ */ Ui(at), Aa = (e) => {
6241
6241
  to_memId: E,
6242
6242
  point: N,
6243
6243
  currency: J,
6244
- password: Aa(q)
6244
+ password: Oa(q)
6245
6245
  });
6246
6246
  },
6247
6247
  [e]
@@ -6410,9 +6410,9 @@ const va = /* @__PURE__ */ Ui(at), Aa = (e) => {
6410
6410
  getUserAvatarListApi: W,
6411
6411
  updateUserAvatarApi: z
6412
6412
  };
6413
- }, Om = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
6413
+ }, Bm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
6414
6414
  const { userCurrencyExchangeApi: a } = re(), { getToken: r } = le(), { enabled: u, ...g } = n, d = !!r?.() && (u ? u.every((l) => l) : !0);
6415
- return Kn({
6415
+ return qn({
6416
6416
  queries: [
6417
6417
  {
6418
6418
  queryKey: ["userCurrencyExchange", ...e],
@@ -6424,13 +6424,13 @@ const va = /* @__PURE__ */ Ui(at), Aa = (e) => {
6424
6424
  }
6425
6425
  ]
6426
6426
  });
6427
- }, Bm = ({
6427
+ }, Hm = ({
6428
6428
  refetchInterval: e = 5e4,
6429
6429
  trigger: n = [],
6430
6430
  enabled: a = !0
6431
6431
  } = {}) => {
6432
6432
  const { getToken: r } = le(), u = r?.(), { userInfoApi: g } = re();
6433
- return Kn({
6433
+ return qn({
6434
6434
  queries: [
6435
6435
  {
6436
6436
  queryKey: ["getMemberInfo", ...n],
@@ -6440,7 +6440,7 @@ const va = /* @__PURE__ */ Ui(at), Aa = (e) => {
6440
6440
  }
6441
6441
  ]
6442
6442
  });
6443
- }, Hm = ({ enabled: e = !0 } = {}) => {
6443
+ }, Wm = ({ enabled: e = !0 } = {}) => {
6444
6444
  const {
6445
6445
  userInfoApi: n,
6446
6446
  userFavoriteGameApi: a,
@@ -6469,7 +6469,7 @@ const va = /* @__PURE__ */ Ui(at), Aa = (e) => {
6469
6469
  d,
6470
6470
  l
6471
6471
  ];
6472
- }, vi = () => {
6472
+ }, hi = () => {
6473
6473
  const { client: e, lng: n } = le(), a = Ze(n || "tw"), r = H(
6474
6474
  async (U) => {
6475
6475
  const {
@@ -6535,31 +6535,31 @@ const va = /* @__PURE__ */ Ui(at), Aa = (e) => {
6535
6535
  [e]
6536
6536
  );
6537
6537
  return { playGameApi: r, betRecordApi: u, betRecordDetailApi: g };
6538
- }, So = ({ options: e, formData: n } = {}) => {
6539
- const { betRecordApi: a } = vi();
6538
+ }, Do = ({ options: e, formData: n } = {}) => {
6539
+ const { betRecordApi: a } = hi();
6540
6540
  return Q({
6541
6541
  queryKey: ["getBetRecord"],
6542
6542
  queryFn: async () => await a(n),
6543
- select: (r) => qn(r).map(([g, U]) => ({
6543
+ select: (r) => $n(r).map(([g, U]) => ({
6544
6544
  ...U,
6545
6545
  platform: g
6546
6546
  })),
6547
6547
  ...e
6548
6548
  });
6549
- }, Do = ({ options: e, formData: n } = {}) => {
6550
- const { betRecordDetailApi: a } = vi();
6549
+ }, Eo = ({ options: e, formData: n } = {}) => {
6550
+ const { betRecordDetailApi: a } = hi();
6551
6551
  return Q({
6552
6552
  queryKey: ["getBetRecordDetail"],
6553
6553
  queryFn: async () => await a(n),
6554
6554
  ...e
6555
6555
  });
6556
- }, Wm = ({
6556
+ }, zm = ({
6557
6557
  options: e = {
6558
6558
  betRecord: {},
6559
6559
  betRecordDetail: {}
6560
6560
  }
6561
6561
  }) => {
6562
- const n = So({ options: e.betRecord }), a = Do({
6562
+ const n = Do({ options: e.betRecord }), a = Eo({
6563
6563
  options: e.betRecordDetail
6564
6564
  });
6565
6565
  return {
@@ -6567,7 +6567,7 @@ const va = /* @__PURE__ */ Ui(at), Aa = (e) => {
6567
6567
  betRecordDetail: a
6568
6568
  };
6569
6569
  };
6570
- function st(e) {
6570
+ function mt(e) {
6571
6571
  for (var n = 1; n < arguments.length; n++) {
6572
6572
  var a = arguments[n];
6573
6573
  for (var r in a)
@@ -6575,7 +6575,7 @@ function st(e) {
6575
6575
  }
6576
6576
  return e;
6577
6577
  }
6578
- var Eo = {
6578
+ var No = {
6579
6579
  read: function(e) {
6580
6580
  return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
6581
6581
  },
@@ -6586,10 +6586,10 @@ var Eo = {
6586
6586
  );
6587
6587
  }
6588
6588
  };
6589
- function pi(e, n) {
6589
+ function gi(e, n) {
6590
6590
  function a(u, g, U) {
6591
6591
  if (!(typeof document > "u")) {
6592
- U = st({}, n, U), typeof U.expires == "number" && (U.expires = new Date(Date.now() + U.expires * 864e5)), U.expires && (U.expires = U.expires.toUTCString()), u = encodeURIComponent(u).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
6592
+ U = mt({}, n, U), typeof U.expires == "number" && (U.expires = new Date(Date.now() + U.expires * 864e5)), U.expires && (U.expires = U.expires.toUTCString()), u = encodeURIComponent(u).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
6593
6593
  var d = "";
6594
6594
  for (var l in U)
6595
6595
  U[l] && (d += "; " + l, U[l] !== !0 && (d += "=" + U[l].split(";")[0]));
@@ -6618,16 +6618,16 @@ function pi(e, n) {
6618
6618
  a(
6619
6619
  u,
6620
6620
  "",
6621
- st({}, g, {
6621
+ mt({}, g, {
6622
6622
  expires: -1
6623
6623
  })
6624
6624
  );
6625
6625
  },
6626
6626
  withAttributes: function(u) {
6627
- return pi(this.converter, st({}, this.attributes, u));
6627
+ return gi(this.converter, mt({}, this.attributes, u));
6628
6628
  },
6629
6629
  withConverter: function(u) {
6630
- return pi(st({}, this.converter, u), this.attributes);
6630
+ return gi(mt({}, this.converter, u), this.attributes);
6631
6631
  }
6632
6632
  },
6633
6633
  {
@@ -6636,9 +6636,9 @@ function pi(e, n) {
6636
6636
  }
6637
6637
  );
6638
6638
  }
6639
- var gi = pi(Eo, { path: "/" }), ni = {}, qe = {}, ri = {}, Cn;
6640
- function la() {
6641
- return Cn || (Cn = 1, (function(e) {
6639
+ var di = gi(No, { path: "/" }), ri = {}, qe = {}, li = {}, vn;
6640
+ function oa() {
6641
+ return vn || (vn = 1, (function(e) {
6642
6642
  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;
6643
6643
  var n = 1, a = 1e3 * n;
6644
6644
  e.DEFAULT_OPTIONS = {}, e.EMPTY_EVENT_HANDLERS = {}, e.DEFAULT_EVENT_SOURCE_OPTIONS = {
@@ -6661,11 +6661,11 @@ function la() {
6661
6661
  }
6662
6662
  };
6663
6663
  e.isReactNative = typeof navigator < "u" && navigator.product === "ReactNative", e.isEventSourceSupported = !e.isReactNative && u();
6664
- })(ri)), ri;
6664
+ })(li)), li;
6665
6665
  }
6666
- var Ya = {}, li = {}, vn;
6667
- function hi() {
6668
- return vn || (vn = 1, (function(e) {
6666
+ var Xa = {}, oi = {}, hn;
6667
+ function Ti() {
6668
+ return hn || (hn = 1, (function(e) {
6669
6669
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetWebSockets = e.sharedWebSockets = void 0, e.sharedWebSockets = {};
6670
6670
  var n = function(a) {
6671
6671
  if (a && e.sharedWebSockets.hasOwnProperty(a))
@@ -6675,13 +6675,13 @@ function hi() {
6675
6675
  e.sharedWebSockets.hasOwnProperty(r) && delete e.sharedWebSockets[r];
6676
6676
  };
6677
6677
  e.resetWebSockets = n;
6678
- })(li)), li;
6678
+ })(oi)), oi;
6679
6679
  }
6680
- var ha = {}, sa = {}, hn;
6681
- function Ti() {
6682
- if (hn) return sa;
6683
- hn = 1, Object.defineProperty(sa, "__esModule", { value: !0 }), sa.setUpSocketIOPing = sa.appendQueryParams = sa.parseSocketIOUrl = void 0;
6684
- var e = la(), n = function(u) {
6680
+ var Ta = {}, ma = {}, Tn;
6681
+ function ki() {
6682
+ if (Tn) return ma;
6683
+ Tn = 1, Object.defineProperty(ma, "__esModule", { value: !0 }), ma.setUpSocketIOPing = ma.appendQueryParams = ma.parseSocketIOUrl = void 0;
6684
+ var e = oa(), n = function(u) {
6685
6685
  if (u) {
6686
6686
  var g = /^https|wss/.test(u), U = u.replace(/^(https?|wss?)(:\/\/)?/, ""), d = U.replace(/\/$/, ""), l = g ? "wss" : "ws";
6687
6687
  return "".concat(l, "://").concat(d).concat(e.SOCKET_IO_PATH);
@@ -6691,7 +6691,7 @@ function Ti() {
6691
6691
  }
6692
6692
  return u;
6693
6693
  };
6694
- sa.parseSocketIOUrl = n;
6694
+ ma.parseSocketIOUrl = n;
6695
6695
  var a = function(u, g) {
6696
6696
  g === void 0 && (g = {});
6697
6697
  var U = /\?([\w]+=[\w]+)/, d = U.test(u), l = "".concat(Object.entries(g).reduce(function(t, i) {
@@ -6700,7 +6700,7 @@ function Ti() {
6700
6700
  }, "").slice(0, -1));
6701
6701
  return "".concat(u).concat(d ? "&" : "?").concat(l);
6702
6702
  };
6703
- sa.appendQueryParams = a;
6703
+ ma.appendQueryParams = a;
6704
6704
  var r = function(u, g) {
6705
6705
  g === void 0 && (g = e.SOCKET_IO_PING_INTERVAL);
6706
6706
  var U = function() {
@@ -6708,13 +6708,13 @@ function Ti() {
6708
6708
  };
6709
6709
  return window.setInterval(U, g);
6710
6710
  };
6711
- return sa.setUpSocketIOPing = r, sa;
6711
+ return ma.setUpSocketIOPing = r, ma;
6712
6712
  }
6713
- var mt = {}, Tn;
6714
- function sr() {
6715
- if (Tn) return mt;
6716
- Tn = 1, Object.defineProperty(mt, "__esModule", { value: !0 }), mt.heartbeat = a;
6717
- var e = la();
6713
+ var ut = {}, kn;
6714
+ function mr() {
6715
+ if (kn) return ut;
6716
+ kn = 1, Object.defineProperty(ut, "__esModule", { value: !0 }), ut.heartbeat = a;
6717
+ var e = oa();
6718
6718
  function n(r) {
6719
6719
  return Array.isArray(r) ? r.reduce(function(u, g) {
6720
6720
  return u.current > g.current ? u : g;
@@ -6737,11 +6737,11 @@ function sr() {
6737
6737
  }), function() {
6738
6738
  };
6739
6739
  }
6740
- return mt;
6740
+ return ut;
6741
6741
  }
6742
- var Xa = {}, oi = {}, kn;
6743
- function ki() {
6744
- return kn || (kn = 1, (function(e) {
6742
+ var et = {}, si = {}, xn;
6743
+ function xi() {
6744
+ return xn || (xn = 1, (function(e) {
6745
6745
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetSubscribers = e.removeSubscriber = e.addSubscriber = e.hasSubscribers = e.getSubscribers = void 0;
6746
6746
  var n = {}, a = [], r = function(l) {
6747
6747
  return (0, e.hasSubscribers)(l) ? Array.from(n[l]) : a;
@@ -6768,13 +6768,13 @@ function ki() {
6768
6768
  n.hasOwnProperty(t) && delete n[t];
6769
6769
  };
6770
6770
  e.resetSubscribers = d;
6771
- })(oi)), oi;
6771
+ })(si)), si;
6772
6772
  }
6773
- var xn;
6774
- function xi() {
6775
- if (xn) return Xa;
6776
- xn = 1, Object.defineProperty(Xa, "__esModule", { value: !0 }), Xa.assertIsWebSocket = a, Xa.resetGlobalState = r;
6777
- var e = hi(), n = ki();
6773
+ var Sn;
6774
+ function Si() {
6775
+ if (Sn) return et;
6776
+ Sn = 1, Object.defineProperty(et, "__esModule", { value: !0 }), et.assertIsWebSocket = a, et.resetGlobalState = r;
6777
+ var e = Ti(), n = xi();
6778
6778
  function a(u, g) {
6779
6779
  if (!g && !(u instanceof WebSocket))
6780
6780
  throw new Error("");
@@ -6782,13 +6782,13 @@ function xi() {
6782
6782
  function r(u) {
6783
6783
  (0, n.resetSubscribers)(u), (0, e.resetWebSockets)(u);
6784
6784
  }
6785
- return Xa;
6785
+ return et;
6786
6786
  }
6787
- var Sn;
6788
- function No() {
6789
- if (Sn) return ha;
6790
- Sn = 1;
6791
- var e = ha && ha.__assign || function() {
6787
+ var Dn;
6788
+ function Lo() {
6789
+ if (Dn) return Ta;
6790
+ Dn = 1;
6791
+ var e = Ta && Ta.__assign || function() {
6792
6792
  return e = Object.assign || function(i) {
6793
6793
  for (var o, s = 1, p = arguments.length; s < p; s++) {
6794
6794
  o = arguments[s];
@@ -6797,8 +6797,8 @@ function No() {
6797
6797
  return i;
6798
6798
  }, e.apply(this, arguments);
6799
6799
  };
6800
- Object.defineProperty(ha, "__esModule", { value: !0 }), ha.attachListeners = void 0;
6801
- var n = Ti(), a = sr(), r = la(), u = xi(), g = function(i, o, s, p) {
6800
+ Object.defineProperty(Ta, "__esModule", { value: !0 }), Ta.attachListeners = void 0;
6801
+ var n = ki(), a = mr(), r = oa(), u = Si(), g = function(i, o, s, p) {
6802
6802
  i.onmessage = function(m) {
6803
6803
  var f;
6804
6804
  o.current.onMessage && o.current.onMessage(m), typeof p?.current == "number" && (p.current = Date.now()), !(typeof o.current.filter == "function" && o.current.filter(m) !== !0) && (o.current.heartbeat && typeof o.current.heartbeat != "boolean" && ((f = o.current.heartbeat) === null || f === void 0 ? void 0 : f.returnMessage) === m.data || s(m));
@@ -6852,13 +6852,13 @@ function No() {
6852
6852
  _(r.ReadyState.CLOSING), C(), v(), i.close(), b && clearInterval(b);
6853
6853
  };
6854
6854
  };
6855
- return ha.attachListeners = t, ha;
6855
+ return Ta.attachListeners = t, Ta;
6856
6856
  }
6857
- var Ta = {}, Dn;
6858
- function Lo() {
6859
- if (Dn) return Ta;
6860
- Dn = 1;
6861
- var e = Ta && Ta.__assign || function() {
6857
+ var ka = {}, En;
6858
+ function Go() {
6859
+ if (En) return ka;
6860
+ En = 1;
6861
+ var e = ka && ka.__assign || function() {
6862
6862
  return e = Object.assign || function(o) {
6863
6863
  for (var s, p = 1, m = arguments.length; p < m; p++) {
6864
6864
  s = arguments[p];
@@ -6867,8 +6867,8 @@ function Lo() {
6867
6867
  return o;
6868
6868
  }, e.apply(this, arguments);
6869
6869
  };
6870
- Object.defineProperty(Ta, "__esModule", { value: !0 }), Ta.attachSharedListeners = void 0;
6871
- var n = hi(), a = la(), r = ki(), u = Ti(), g = sr(), U = function(o, s, p) {
6870
+ Object.defineProperty(ka, "__esModule", { value: !0 }), ka.attachSharedListeners = void 0;
6871
+ var n = Ti(), a = oa(), r = xi(), u = ki(), g = mr(), U = function(o, s, p) {
6872
6872
  o.onmessage = function(m) {
6873
6873
  (0, r.getSubscribers)(s).forEach(function(f) {
6874
6874
  var c;
@@ -6914,13 +6914,13 @@ function Lo() {
6914
6914
  f && clearInterval(f);
6915
6915
  };
6916
6916
  };
6917
- return Ta.attachSharedListeners = i, Ta;
6917
+ return ka.attachSharedListeners = i, ka;
6918
6918
  }
6919
- var En;
6920
- function Go() {
6921
- if (En) return Ya;
6922
- En = 1, Object.defineProperty(Ya, "__esModule", { value: !0 }), Ya.createOrJoinSocket = void 0;
6923
- var e = hi(), n = la(), a = No(), r = Lo(), u = ki(), g = function(d, l, t, i, o) {
6919
+ var Nn;
6920
+ function Mo() {
6921
+ if (Nn) return Xa;
6922
+ Nn = 1, Object.defineProperty(Xa, "__esModule", { value: !0 }), Xa.createOrJoinSocket = void 0;
6923
+ var e = Ti(), n = oa(), a = Lo(), r = Go(), u = xi(), g = function(d, l, t, i, o) {
6924
6924
  return function() {
6925
6925
  if ((0, u.removeSubscriber)(d, l), !(0, u.hasSubscribers)(d)) {
6926
6926
  try {
@@ -6957,12 +6957,12 @@ function Go() {
6957
6957
  }, i, s.current, p, m, f);
6958
6958
  }
6959
6959
  };
6960
- return Ya.createOrJoinSocket = U, Ya;
6960
+ return Xa.createOrJoinSocket = U, Xa;
6961
6961
  }
6962
- var ma = {}, Nn;
6963
- function Mo() {
6964
- return Nn || (Nn = 1, (function(e) {
6965
- var n = ma && ma.__awaiter || function(l, t, i, o) {
6962
+ var ua = {}, Ln;
6963
+ function Ro() {
6964
+ return Ln || (Ln = 1, (function(e) {
6965
+ var n = ua && ua.__awaiter || function(l, t, i, o) {
6966
6966
  function s(p) {
6967
6967
  return p instanceof i ? p : new i(function(m) {
6968
6968
  m(p);
@@ -6988,7 +6988,7 @@ function Mo() {
6988
6988
  }
6989
6989
  y((o = o.apply(l, t || [])).next());
6990
6990
  });
6991
- }, a = ma && ma.__generator || function(l, t) {
6991
+ }, a = ua && ua.__generator || function(l, t) {
6992
6992
  var i = { label: 0, sent: function() {
6993
6993
  if (p[0] & 1) throw p[1];
6994
6994
  return p[1];
@@ -7047,13 +7047,13 @@ function Mo() {
7047
7047
  if (y[0] & 5) throw y[1];
7048
7048
  return { value: y[0] ? y[1] : void 0, done: !0 };
7049
7049
  }
7050
- }, r = ma && ma.__spreadArray || function(l, t, i) {
7050
+ }, r = ua && ua.__spreadArray || function(l, t, i) {
7051
7051
  if (i || arguments.length === 2) for (var o = 0, s = t.length, p; o < s; o++)
7052
7052
  (p || !(o in t)) && (p || (p = Array.prototype.slice.call(t, 0, o)), p[o] = t[o]);
7053
7053
  return l.concat(p || Array.prototype.slice.call(t));
7054
7054
  };
7055
7055
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getUrl = void 0;
7056
- var u = Ti(), g = la(), U = function(l) {
7056
+ var u = ki(), g = oa(), U = function(l) {
7057
7057
  return new Promise(function(t) {
7058
7058
  return window.setTimeout(t, l);
7059
7059
  });
@@ -7094,11 +7094,11 @@ function Mo() {
7094
7094
  });
7095
7095
  };
7096
7096
  e.getUrl = d;
7097
- })(ma)), ma;
7097
+ })(ua)), ua;
7098
7098
  }
7099
- var si = {}, Ln;
7100
- function Ro() {
7101
- return Ln || (Ln = 1, (function(e) {
7099
+ var mi = {}, Gn;
7100
+ function Po() {
7101
+ return Gn || (Gn = 1, (function(e) {
7102
7102
  Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
7103
7103
  var n = function(a, r) {
7104
7104
  return new Proxy(a, {
@@ -7113,12 +7113,12 @@ function Ro() {
7113
7113
  });
7114
7114
  };
7115
7115
  e.websocketWrapper = n, e.default = e.websocketWrapper;
7116
- })(si)), si;
7116
+ })(mi)), mi;
7117
7117
  }
7118
- var Gn;
7119
- function Si() {
7120
- if (Gn) return qe;
7121
- Gn = 1;
7118
+ var Mn;
7119
+ function Di() {
7120
+ if (Mn) return qe;
7121
+ Mn = 1;
7122
7122
  var e = qe && qe.__assign || function() {
7123
7123
  return e = Object.assign || function(s) {
7124
7124
  for (var p, m = 1, f = arguments.length; m < f; m++) {
@@ -7216,7 +7216,7 @@ function Si() {
7216
7216
  return s && s.__esModule ? s : { default: s };
7217
7217
  };
7218
7218
  Object.defineProperty(qe, "__esModule", { value: !0 }), qe.useWebSocket = void 0;
7219
- var u = _e, g = Xr, U = la(), d = Go(), l = Mo(), t = r(Ro()), i = xi(), o = function(s, p, m) {
7219
+ var u = _e, g = el, U = oa(), d = Mo(), l = Ro(), t = r(Po()), i = Si(), o = function(s, p, m) {
7220
7220
  p === void 0 && (p = U.DEFAULT_OPTIONS), m === void 0 && (m = !0);
7221
7221
  var f = (0, u.useState)(null), c = f[0], y = f[1], _ = (0, u.useState)({}), b = _[0], C = _[1], v = (0, u.useMemo)(function() {
7222
7222
  if (!p.disableJson && c)
@@ -7301,11 +7301,11 @@ function Si() {
7301
7301
  };
7302
7302
  return qe.useWebSocket = o, qe;
7303
7303
  }
7304
- var ka = {}, Mn;
7305
- function Po() {
7306
- if (Mn) return ka;
7307
- Mn = 1;
7308
- var e = ka && ka.__assign || function() {
7304
+ var xa = {}, Rn;
7305
+ function wo() {
7306
+ if (Rn) return xa;
7307
+ Rn = 1;
7308
+ var e = xa && xa.__assign || function() {
7309
7309
  return e = Object.assign || function(d) {
7310
7310
  for (var l, t = 1, i = arguments.length; t < i; t++) {
7311
7311
  l = arguments[t];
@@ -7314,8 +7314,8 @@ function Po() {
7314
7314
  return d;
7315
7315
  }, e.apply(this, arguments);
7316
7316
  };
7317
- Object.defineProperty(ka, "__esModule", { value: !0 }), ka.useSocketIO = void 0;
7318
- var n = _e, a = Si(), r = la(), u = {
7317
+ Object.defineProperty(xa, "__esModule", { value: !0 }), xa.useSocketIO = void 0;
7318
+ var n = _e, a = Di(), r = oa(), u = {
7319
7319
  type: "empty",
7320
7320
  payload: null
7321
7321
  }, g = function(d) {
@@ -7345,13 +7345,13 @@ function Po() {
7345
7345
  getWebSocket: c
7346
7346
  };
7347
7347
  };
7348
- return ka.useSocketIO = U, ka;
7348
+ return xa.useSocketIO = U, xa;
7349
7349
  }
7350
- var ua = {}, Rn;
7351
- function wo() {
7352
- if (Rn) return ua;
7353
- Rn = 1;
7354
- var e = ua && ua.__assign || function() {
7350
+ var pa = {}, Pn;
7351
+ function Fo() {
7352
+ if (Pn) return pa;
7353
+ Pn = 1;
7354
+ var e = pa && pa.__assign || function() {
7355
7355
  return e = Object.assign || function(U) {
7356
7356
  for (var d, l = 1, t = arguments.length; l < t; l++) {
7357
7357
  d = arguments[l];
@@ -7359,7 +7359,7 @@ function wo() {
7359
7359
  }
7360
7360
  return U;
7361
7361
  }, e.apply(this, arguments);
7362
- }, n = ua && ua.__rest || function(U, d) {
7362
+ }, n = pa && pa.__rest || function(U, d) {
7363
7363
  var l = {};
7364
7364
  for (var t in U) Object.prototype.hasOwnProperty.call(U, t) && d.indexOf(t) < 0 && (l[t] = U[t]);
7365
7365
  if (U != null && typeof Object.getOwnPropertySymbols == "function")
@@ -7367,8 +7367,8 @@ function wo() {
7367
7367
  d.indexOf(t[i]) < 0 && Object.prototype.propertyIsEnumerable.call(U, t[i]) && (l[t[i]] = U[t[i]]);
7368
7368
  return l;
7369
7369
  };
7370
- Object.defineProperty(ua, "__esModule", { value: !0 }), ua.useEventSource = void 0;
7371
- var a = _e, r = Si(), u = la(), g = function(U, d, l) {
7370
+ Object.defineProperty(pa, "__esModule", { value: !0 }), pa.useEventSource = void 0;
7371
+ var a = _e, r = Di(), u = oa(), g = function(U, d, l) {
7372
7372
  d === void 0 && (d = u.DEFAULT_EVENT_SOURCE_OPTIONS);
7373
7373
  var t = d.withCredentials, i = d.events, o = n(d, ["withCredentials", "events"]);
7374
7374
  l === void 0 && (l = !0);
@@ -7388,43 +7388,43 @@ function wo() {
7388
7388
  getEventSource: y
7389
7389
  };
7390
7390
  };
7391
- return ua.useEventSource = g, ua;
7391
+ return pa.useEventSource = g, pa;
7392
7392
  }
7393
- var Pn;
7394
- function Fo() {
7395
- return Pn || (Pn = 1, (function(e) {
7393
+ var wn;
7394
+ function Ao() {
7395
+ return wn || (wn = 1, (function(e) {
7396
7396
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
7397
- var n = Si();
7397
+ var n = Di();
7398
7398
  Object.defineProperty(e, "default", { enumerable: !0, get: function() {
7399
7399
  return n.useWebSocket;
7400
7400
  } });
7401
- var a = Po();
7401
+ var a = wo();
7402
7402
  Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
7403
7403
  return a.useSocketIO;
7404
7404
  } });
7405
- var r = la();
7405
+ var r = oa();
7406
7406
  Object.defineProperty(e, "ReadyState", { enumerable: !0, get: function() {
7407
7407
  return r.ReadyState;
7408
7408
  } });
7409
- var u = wo();
7409
+ var u = Fo();
7410
7410
  Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
7411
7411
  return u.useEventSource;
7412
7412
  } });
7413
- var g = xi();
7413
+ var g = Si();
7414
7414
  Object.defineProperty(e, "resetGlobalState", { enumerable: !0, get: function() {
7415
7415
  return g.resetGlobalState;
7416
7416
  } });
7417
- })(ni)), ni;
7417
+ })(ri)), ri;
7418
7418
  }
7419
- var Ao = Fo();
7420
- const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7419
+ var Oo = Ao();
7420
+ const Bo = /* @__PURE__ */ bi(Oo), Ho = ({
7421
7421
  enable: e = !1,
7422
7422
  isTestFunction: n = !1,
7423
7423
  isTransferMode: a = !1,
7424
7424
  isInGameBox: r = !1,
7425
7425
  currentGamePlatform: u = ""
7426
7426
  }) => {
7427
- const { store: g, lng: U } = le(), { isReady: d, setAsReady: l, isPending: t, setAsPending: i } = jn(), o = Ze(U), { mutateAsync: s } = Xo();
7427
+ const { store: g, lng: U } = le(), { isReady: d, setAsReady: l, isPending: t, setAsPending: i } = Yn(), o = Ze(U), { mutateAsync: s } = es();
7428
7428
  return !e || !n || !a ? { handleTransferInGame: () => {
7429
7429
  } } : { handleTransferInGame: async () => {
7430
7430
  console.log("執行遊戲內轉帳"), r && await s({
@@ -7436,7 +7436,7 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7436
7436
  g.dispatch({
7437
7437
  type: "ui/showToast",
7438
7438
  payload: {
7439
- title: za[o] || "System Prompt",
7439
+ title: Ia[o] || "System Prompt",
7440
7440
  description: "點數轉入成功,請確認遊戲餘額",
7441
7441
  status: "success"
7442
7442
  }
@@ -7449,7 +7449,7 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7449
7449
  localStorage.setItem("transfer_in_game_request_id", c), i(), g.dispatch({
7450
7450
  type: "ui/showToast",
7451
7451
  payload: {
7452
- title: za[o] || "System Prompt",
7452
+ title: Ia[o] || "System Prompt",
7453
7453
  description: "您的上一筆訂單未完成,請耐心等候,我們正在為您處理",
7454
7454
  status: "warning"
7455
7455
  }
@@ -7463,16 +7463,16 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7463
7463
  }
7464
7464
  });
7465
7465
  } };
7466
- }, wn = "/member-monthly-card", mr = () => {
7467
- const { client: e } = le(), n = H(async () => await e.get(`${wn}/info`), [e]), a = H(async () => await e.post(`${wn}/withdraw`), [e]);
7466
+ }, Fn = "/member-monthly-card", ur = () => {
7467
+ const { client: e } = le(), n = H(async () => await e.get(`${Fn}/info`), [e]), a = H(async () => await e.post(`${Fn}/withdraw`), [e]);
7468
7468
  return {
7469
7469
  getMonthCardInfoApi: n,
7470
7470
  withdrawMonthCardApi: a
7471
7471
  };
7472
- }, Di = ["monthCardInfo"], Ho = ({ options: e } = {}) => {
7473
- const { getMonthCardInfoApi: n } = mr();
7472
+ }, Ei = ["monthCardInfo"], Wo = ({ options: e } = {}) => {
7473
+ const { getMonthCardInfoApi: n } = ur();
7474
7474
  return Q({
7475
- queryKey: Di,
7475
+ queryKey: Ei,
7476
7476
  queryFn: n,
7477
7477
  select: (a) => {
7478
7478
  const r = j(a, "status", null), u = j(a, "remaining_days", null), g = j(a, "activated_at", null), U = j(a, "is_under_maintenance", 0) === 1, d = j(a, "wagering_progress", []), l = j(a, "daily", []);
@@ -7489,32 +7489,32 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7489
7489
  },
7490
7490
  ...e
7491
7491
  });
7492
- }, Wo = ({ options: e } = {}) => {
7493
- const { withdrawMonthCardApi: n } = mr(), a = Sa();
7492
+ }, zo = ({ options: e } = {}) => {
7493
+ const { withdrawMonthCardApi: n } = ur(), a = Da();
7494
7494
  return ee({
7495
7495
  mutationKey: ["withdrawMonthCard"],
7496
7496
  mutationFn: n,
7497
7497
  onSuccess: (r, u, g) => {
7498
- a.invalidateQueries({ queryKey: Di }), e?.onSuccess?.(r, u, g);
7498
+ a.invalidateQueries({ queryKey: Ei }), e?.onSuccess?.(r, u, g);
7499
7499
  },
7500
7500
  ...e
7501
7501
  });
7502
- }, zm = ({
7502
+ }, Im = ({
7503
7503
  options: e = {
7504
7504
  monthCardInfo: {},
7505
7505
  withdrawMonthCard: {}
7506
7506
  }
7507
7507
  } = {}) => {
7508
- const n = Ho({
7508
+ const n = Wo({
7509
7509
  options: e.monthCardInfo
7510
- }), a = Wo({
7510
+ }), a = zo({
7511
7511
  options: e.withdrawMonthCard
7512
7512
  });
7513
7513
  return {
7514
7514
  monthCardInfoQuery: n,
7515
7515
  withdrawMonthCardMutation: a
7516
7516
  };
7517
- }, Na = () => {
7517
+ }, La = () => {
7518
7518
  const { client: e } = le(), n = H(async () => {
7519
7519
  const { data: l } = await e.get("/carousels");
7520
7520
  return l;
@@ -7554,70 +7554,70 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7554
7554
  verifyDonationCodeApi: d,
7555
7555
  announcementApi: a
7556
7556
  };
7557
- }, zo = ({ options: e } = {}) => {
7557
+ }, Io = ({ options: e } = {}) => {
7558
7558
  const { userLoginApi: n } = re();
7559
7559
  return ee({
7560
7560
  mutationKey: ["userLogin"],
7561
7561
  mutationFn: async (a) => n(a),
7562
7562
  ...e
7563
7563
  });
7564
- }, Io = ({ options: e } = {}) => {
7564
+ }, Vo = ({ options: e } = {}) => {
7565
7565
  const { userLogoutApi: n } = re();
7566
7566
  return ee({
7567
7567
  mutationKey: ["userLogout"],
7568
7568
  mutationFn: async () => n(),
7569
7569
  ...e
7570
7570
  });
7571
- }, Vo = ({ options: e } = {}) => {
7571
+ }, Jo = ({ options: e } = {}) => {
7572
7572
  const { userSignUpApi: n } = re();
7573
7573
  return ee({
7574
7574
  mutationKey: ["userSignUp"],
7575
7575
  mutationFn: async (a) => n(a),
7576
7576
  ...e
7577
7577
  });
7578
- }, Jo = ({ options: e } = {}) => {
7578
+ }, Zo = ({ options: e } = {}) => {
7579
7579
  const { addOrRemoveFavoriteGameApi: n } = re();
7580
7580
  return ee({
7581
7581
  mutationKey: ["toggleFavoriteGame"],
7582
7582
  mutationFn: async (a) => n(a),
7583
7583
  ...e
7584
7584
  });
7585
- }, Zo = ({ options: e } = {}) => {
7585
+ }, Ko = ({ options: e } = {}) => {
7586
7586
  const { updateUserInfoApi: n } = re();
7587
7587
  return ee({
7588
7588
  mutationKey: ["updateUserInfo"],
7589
7589
  mutationFn: async (a) => n(a),
7590
7590
  ...e
7591
7591
  });
7592
- }, Ko = ({ options: e } = {}) => {
7592
+ }, qo = ({ options: e } = {}) => {
7593
7593
  const { resetUserPasswordApi: n } = re();
7594
7594
  return ee({
7595
7595
  mutationKey: ["resetUserPassword"],
7596
7596
  mutationFn: async (a) => n(a),
7597
7597
  ...e
7598
7598
  });
7599
- }, qo = ({ options: e } = {}) => {
7599
+ }, $o = ({ options: e } = {}) => {
7600
7600
  const { memberInitSetApi: n } = re();
7601
7601
  return ee({
7602
7602
  mutationKey: ["memberInitSet"],
7603
7603
  mutationFn: async (a) => n(a),
7604
7604
  ...e
7605
7605
  });
7606
- }, $o = ({ options: e } = {}) => {
7606
+ }, Qo = ({ options: e } = {}) => {
7607
7607
  const { setUserTransactionPasswordApi: n } = re();
7608
7608
  return ee({
7609
7609
  mutationKey: ["setUserTransactionPassword"],
7610
7610
  mutationFn: async (a) => n(a),
7611
7611
  ...e
7612
7612
  });
7613
- }, Qo = ({ options: e } = {}) => {
7613
+ }, jo = ({ options: e } = {}) => {
7614
7614
  const { resetUserTransactionPasswordApi: n } = re();
7615
7615
  return ee({
7616
7616
  mutationKey: ["resetUserTransactionPassword"],
7617
7617
  mutationFn: async (a) => n(a),
7618
7618
  ...e
7619
7619
  });
7620
- }, jo = ({ paramsData: e, options: n } = {}) => {
7620
+ }, Yo = ({ paramsData: e, options: n } = {}) => {
7621
7621
  const { userRebateApi: a } = re(), { getToken: r } = le();
7622
7622
  return r?.(), Q({
7623
7623
  queryKey: ["userRebate", e],
@@ -7625,14 +7625,14 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7625
7625
  enabled: !1,
7626
7626
  ...n
7627
7627
  });
7628
- }, Yo = ({ options: e } = {}) => {
7628
+ }, Xo = ({ options: e } = {}) => {
7629
7629
  const { userBindBankApi: n } = re();
7630
7630
  return ee({
7631
7631
  mutationKey: ["userBindBank"],
7632
7632
  mutationFn: async (a) => n({ formData: a }),
7633
7633
  ...e
7634
7634
  });
7635
- }, Xo = ({ options: e } = {}) => {
7635
+ }, es = ({ options: e } = {}) => {
7636
7636
  const { transferInGameApi: n } = re();
7637
7637
  return ee({
7638
7638
  mutationKey: ["transferInGame"],
@@ -7640,7 +7640,7 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7640
7640
  retry: !1,
7641
7641
  ...e
7642
7642
  });
7643
- }, Im = ({ options: e } = {}) => {
7643
+ }, Vm = ({ options: e } = {}) => {
7644
7644
  const { currency: n } = le(), { pointTransferApi: a } = re();
7645
7645
  return ee({
7646
7646
  mutationKey: ["pointTransfer"],
@@ -7650,7 +7650,7 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7650
7650
  }),
7651
7651
  ...e
7652
7652
  });
7653
- }, Vm = ({ options: e } = {}) => {
7653
+ }, Jm = ({ options: e } = {}) => {
7654
7654
  const { currency: n } = le(), { checkUserWagerApi: a } = re();
7655
7655
  return Q({
7656
7656
  queryKey: ["checkUserWager"],
@@ -7663,8 +7663,8 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7663
7663
  },
7664
7664
  ...e
7665
7665
  });
7666
- }, Jm = ({ options: e } = {}) => {
7667
- const n = Sa(), { abandonPointsApi: a } = re();
7666
+ }, Zm = ({ options: e } = {}) => {
7667
+ const n = Da(), { abandonPointsApi: a } = re();
7668
7668
  return ee({
7669
7669
  mutationKey: ["abandonPoint"],
7670
7670
  mutationFn: async (r) => a({
@@ -7675,105 +7675,105 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7675
7675
  },
7676
7676
  ...e
7677
7677
  });
7678
- }, ur = ({ options: e } = {}) => {
7678
+ }, pr = ({ options: e } = {}) => {
7679
7679
  const { lineLoginApi: n } = re();
7680
7680
  return ee({
7681
7681
  mutationKey: ["lineLogin"],
7682
7682
  mutationFn: async (a) => n(a),
7683
7683
  ...e
7684
7684
  });
7685
- }, es = ({ options: e } = {}) => {
7685
+ }, as = ({ options: e } = {}) => {
7686
7686
  const { lineLogin2Api: n } = re();
7687
7687
  return ee({
7688
7688
  mutationKey: ["lineLogin"],
7689
7689
  mutationFn: async (a) => n(a),
7690
7690
  ...e
7691
7691
  });
7692
- }, Zm = ({ options: e } = {}) => {
7692
+ }, Km = ({ options: e } = {}) => {
7693
7693
  const { machineLoginApi: n } = re();
7694
7694
  return ee({
7695
7695
  mutationKey: ["machineLogin"],
7696
7696
  mutationFn: async (a) => n(a),
7697
7697
  ...e
7698
7698
  });
7699
- }, as = ({ options: e, formData: n } = {}) => {
7699
+ }, ts = ({ options: e, formData: n } = {}) => {
7700
7700
  const { getMachineLoginCodeApi: a } = re();
7701
7701
  return Q({
7702
7702
  queryKey: ["getMachineLoginCode"],
7703
7703
  queryFn: async () => a(n),
7704
7704
  ...e
7705
7705
  });
7706
- }, Km = ({ options: e } = {}) => {
7706
+ }, qm = ({ options: e } = {}) => {
7707
7707
  const { currency: n } = le(), { memberTransferApi: a } = re();
7708
7708
  return ee({
7709
7709
  mutationKey: ["memberTransfer"],
7710
7710
  mutationFn: async (r) => a({ ...r, currency: n }),
7711
7711
  ...e
7712
7712
  });
7713
- }, qm = ({ options: e } = {}) => {
7713
+ }, $m = ({ options: e } = {}) => {
7714
7714
  const { mobileLoginApi: n } = re();
7715
7715
  return ee({
7716
7716
  mutationKey: ["mobileLogin"],
7717
7717
  mutationFn: async (a) => n(a),
7718
7718
  ...e
7719
7719
  });
7720
- }, $m = ({ options: e } = {}) => {
7720
+ }, Qm = ({ options: e } = {}) => {
7721
7721
  const { mobileLoginApiV2: n } = re();
7722
7722
  return ee({
7723
7723
  mutationKey: ["mobileLoginV2"],
7724
7724
  mutationFn: async (a) => n(a),
7725
7725
  ...e
7726
7726
  });
7727
- }, Qm = ({ options: e } = {}) => {
7727
+ }, jm = ({ options: e } = {}) => {
7728
7728
  const { mobileRegisterApi: n } = re();
7729
7729
  return ee({
7730
7730
  mutationKey: ["mobileRegister"],
7731
7731
  mutationFn: async (a) => n(a),
7732
7732
  ...e
7733
7733
  });
7734
- }, ts = ({ options: e } = {}) => {
7734
+ }, is = ({ options: e } = {}) => {
7735
7735
  const { bindAccountApi: n } = re();
7736
7736
  return ee({
7737
7737
  mutationKey: ["bindAccount"],
7738
7738
  mutationFn: async (a) => n(a),
7739
7739
  ...e
7740
7740
  });
7741
- }, jm = ({ options: e } = {}) => {
7741
+ }, Ym = ({ options: e } = {}) => {
7742
7742
  const { sendMobileVerifyCodeApi: n } = re();
7743
7743
  return ee({
7744
7744
  mutationKey: ["sendMobileVerifyCode"],
7745
7745
  mutationFn: async (a) => n(a),
7746
7746
  ...e
7747
7747
  });
7748
- }, Ym = ({ options: e, paramsData: n } = {}) => {
7749
- const { verifyPhoneBarApi: a } = Na();
7748
+ }, Xm = ({ options: e, paramsData: n } = {}) => {
7749
+ const { verifyPhoneBarApi: a } = La();
7750
7750
  return Q({
7751
7751
  queryKey: ["verifyPhoneBar", n],
7752
7752
  queryFn: async () => a(n),
7753
7753
  ...e
7754
7754
  });
7755
- }, Xm = ({ options: e, paramsData: n } = {}) => {
7756
- const { verifyDonationCodeApi: a } = Na();
7755
+ }, eu = ({ options: e, paramsData: n } = {}) => {
7756
+ const { verifyDonationCodeApi: a } = La();
7757
7757
  return Q({
7758
7758
  queryKey: ["verifyDonationCode", n],
7759
7759
  queryFn: async () => a(n),
7760
7760
  ...e
7761
7761
  });
7762
- }, eu = ({ options: e } = {}) => {
7762
+ }, au = ({ options: e } = {}) => {
7763
7763
  const { createMachineApi: n } = re();
7764
7764
  return ee({
7765
7765
  mutationKey: ["createMachine"],
7766
7766
  mutationFn: async (a) => n({ formData: a }),
7767
7767
  ...e
7768
7768
  });
7769
- }, au = ({ options: e } = {}) => {
7769
+ }, tu = ({ options: e } = {}) => {
7770
7770
  const { verifyResetActionApi: n } = re();
7771
7771
  return ee({
7772
7772
  mutationKey: ["verifyResetAction"],
7773
7773
  mutationFn: async (a) => n(a),
7774
7774
  ...e
7775
7775
  });
7776
- }, tu = ({ options: e, bonusData: n } = {}) => {
7776
+ }, iu = ({ options: e, bonusData: n } = {}) => {
7777
7777
  const { getJackpotApi: a } = re();
7778
7778
  return Q({
7779
7779
  queryKey: ["getJackpotData"],
@@ -7786,20 +7786,20 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7786
7786
  GRAND: 0,
7787
7787
  MEGA: 0
7788
7788
  });
7789
- return n ? qr(n, (U, d) => {
7789
+ return n ? $r(n, (U, d) => {
7790
7790
  U.amount = j(u, d, 0) + Math.floor(Math.random() * 1e3);
7791
7791
  }) : u;
7792
7792
  },
7793
7793
  ...e
7794
7794
  });
7795
- }, iu = ({ options: e } = {}) => {
7795
+ }, nu = ({ options: e } = {}) => {
7796
7796
  const { getBetRankingApi: n } = re();
7797
7797
  return Q({
7798
7798
  queryKey: ["getBetRankingData"],
7799
7799
  queryFn: async () => n(),
7800
7800
  ...e
7801
7801
  });
7802
- }, nu = ({ options: e } = {}) => {
7802
+ }, ru = ({ options: e } = {}) => {
7803
7803
  const { getUserAvatarListApi: n } = re();
7804
7804
  return Q({
7805
7805
  queryKey: ["getAvatarList"],
@@ -7809,14 +7809,14 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7809
7809
  // },
7810
7810
  ...e
7811
7811
  });
7812
- }, ru = ({ options: e } = {}) => {
7812
+ }, lu = ({ options: e } = {}) => {
7813
7813
  const { updateUserAvatarApi: n } = re();
7814
7814
  return ee({
7815
7815
  mutationKey: ["updateAvatar"],
7816
7816
  mutationFn: async (a) => n(a),
7817
7817
  ...e
7818
7818
  });
7819
- }, lu = ({
7819
+ }, ou = ({
7820
7820
  options: e = {
7821
7821
  login: {},
7822
7822
  logout: {},
@@ -7830,17 +7830,17 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7830
7830
  userBindCard: {}
7831
7831
  }
7832
7832
  } = {}) => {
7833
- const n = zo({ options: e.login }), a = Io({ options: e.logout }), r = Vo({ options: e.register }), u = Zo({ options: e.updateUserInfo }), g = Jo({
7833
+ const n = Io({ options: e.login }), a = Vo({ options: e.logout }), r = Jo({ options: e.register }), u = Ko({ options: e.updateUserInfo }), g = Zo({
7834
7834
  options: e.toggleFavoriteGame
7835
- }), U = Ko({
7835
+ }), U = qo({
7836
7836
  options: e.resetUserPassword
7837
- }), d = qo({
7837
+ }), d = $o({
7838
7838
  options: e.memberInitSet
7839
- }), l = $o({
7839
+ }), l = Qo({
7840
7840
  options: e.setUserTransactionPassword
7841
- }), t = Qo({
7841
+ }), t = jo({
7842
7842
  options: e.resetUserTransactionPassword
7843
- }), i = jo({ options: e.userRebate }), o = Yo({ options: e.userBindCard });
7843
+ }), i = Yo({ options: e.userRebate }), o = Xo({ options: e.userBindCard });
7844
7844
  return {
7845
7845
  login: n,
7846
7846
  logout: a,
@@ -7871,7 +7871,7 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7871
7871
  UPDATE_EVENT_WALLET: "update_event_wallet",
7872
7872
  MONTHLY_CARD_ISSUE_POINT: "monthly_card_issue_point",
7873
7873
  EVENT_CLAIMABLE: "event_claimable"
7874
- }, is = 3e4, ns = ({
7874
+ }, ns = 3e4, rs = ({
7875
7875
  maintainList: e,
7876
7876
  isInGameBox: n,
7877
7877
  currentGamePlatform: a
@@ -7885,7 +7885,7 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7885
7885
  show: r,
7886
7886
  reason: r ? `在 gamebox 且當前廠商「${a}」在維護清單 → 顯示` : `在 gamebox 但當前廠商「${a ?? "(無)"}」不在維護清單 → 靜默`
7887
7887
  };
7888
- }, ou = ({
7888
+ }, su = ({
7889
7889
  socketUrl: e,
7890
7890
  socketHandlers: n = {},
7891
7891
  options: a = {},
@@ -7900,20 +7900,20 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7900
7900
  disabledLineAutoRegister: U = !1,
7901
7901
  navigate: d = null
7902
7902
  }) => {
7903
- const { store: l, lng: t } = le(), i = Sa(), { isReady: o, setAsReady: s, isPending: p, setAsPending: m } = jn(), f = Ze(t), c = ie(!1), y = ie(n), _ = j(r, "uid", null), b = j(r, "cagent_uid", null);
7903
+ const { store: l, lng: t } = le(), i = Da(), { isReady: o, setAsReady: s, isPending: p, setAsPending: m } = Yn(), f = Ze(t), c = ie(!1), y = ie(n), _ = j(r, "uid", null), b = j(r, "cagent_uid", null);
7904
7904
  j(r, "testFunction", 0);
7905
7905
  const C = new URLSearchParams(window.location.search), v = j(
7906
7906
  u,
7907
7907
  "enableTransferInGaming",
7908
7908
  !1
7909
- ), { mutateAsync: T } = ur({
7909
+ ), { mutateAsync: T } = pr({
7910
7910
  options: {
7911
7911
  onSuccess: (L) => {
7912
7912
  y.current.onLineLogin?.(L);
7913
7913
  },
7914
7914
  retry: !1
7915
7915
  }
7916
- }), { mutateAsync: D } = es({
7916
+ }), { mutateAsync: D } = as({
7917
7917
  options: {
7918
7918
  onSuccess: (L) => {
7919
7919
  y.current.onLineLogin?.(L);
@@ -7922,7 +7922,7 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7922
7922
  U || T(B);
7923
7923
  }
7924
7924
  }
7925
- }), { handleTransferInGame: M } = Bo({
7925
+ }), { handleTransferInGame: M } = Ho({
7926
7926
  enable: v,
7927
7927
  isTestFunction: !0,
7928
7928
  isTransferMode: j(u, "isTransferMode", !1),
@@ -7939,14 +7939,14 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7939
7939
  readyState: F
7940
7940
  // WebSocket 連線狀態
7941
7941
  // getWebSocket, // 獲取 WebSocket 實例
7942
- } = Oo(e, {
7942
+ } = Bo(e, {
7943
7943
  queryParams: { key: "wsky" },
7944
7944
  onOpen: () => console.log("連線成功"),
7945
7945
  shouldReconnect: () => c.current === !1,
7946
7946
  reconnectAttempts: 9999,
7947
7947
  reconnectInterval: 1e3,
7948
7948
  ...a
7949
- }), P = Wa(() => {
7949
+ }), P = za(() => {
7950
7950
  try {
7951
7951
  return JSON.parse(S?.data);
7952
7952
  } catch {
@@ -7956,7 +7956,7 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7956
7956
  ue(() => {
7957
7957
  const L = setInterval(
7958
7958
  () => A("ping"),
7959
- is
7959
+ ns
7960
7960
  );
7961
7961
  return () => clearInterval(L);
7962
7962
  }, [A]);
@@ -7965,7 +7965,7 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
7965
7965
  g && l.dispatch({
7966
7966
  type: "ui/openNotificationModal",
7967
7967
  payload: {
7968
- title: za[f] || "System Prompt",
7968
+ title: Ia[f] || "System Prompt",
7969
7969
  content: L,
7970
7970
  type: "warning",
7971
7971
  props: B
@@ -8000,7 +8000,7 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8000
8000
  memo: j(P, "memo", null),
8001
8001
  amount: j(P, "amount", null),
8002
8002
  limitAmount: j(P, "limit_amount", null)
8003
- }, Y = Number(V.memberInfoUid) === _, ae = V.data, Ce = V.amount, ve = V.limitAmount, pe = C.get("mac") || gi.get("machine_mac_address") || "", ye = j(P, "data.line_id", null), Ne = j(P, "data.line_name", null), he = j(P, "member_info_uid", null);
8003
+ }, Y = Number(V.memberInfoUid) === _, ae = V.data, Ce = V.amount, ve = V.limitAmount, pe = C.get("mac") || di.get("machine_mac_address") || "", ye = j(P, "data.line_id", null), Ne = j(P, "data.line_name", null), he = j(P, "member_info_uid", null);
8004
8004
  switch ($) {
8005
8005
  case Ae.DEPOSIT:
8006
8006
  Y && (M(), L?.(V));
@@ -8067,7 +8067,7 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8067
8067
  localStorage.removeItem("transfer_in_game_request_id"), l.dispatch({
8068
8068
  type: "ui/showToast",
8069
8069
  payload: {
8070
- title: za[f] || "System Prompt",
8070
+ title: Ia[f] || "System Prompt",
8071
8071
  description: `您於${Ue}存入的${ge}元已經處理完成了,請確認遊戲餘額`,
8072
8072
  status: "success"
8073
8073
  }
@@ -8089,7 +8089,7 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8089
8089
  }), W?.(V));
8090
8090
  break;
8091
8091
  case Ae.GAME_MAINTAIN: {
8092
- const fe = V.data, { show: ge } = ns({
8092
+ const fe = V.data, { show: ge } = rs({
8093
8093
  maintainList: fe,
8094
8094
  // 直接用當前路由判斷是否在 gamebox(不依賴 transferInGamingConfig,
8095
8095
  // 因為不是每隻遊戲都會帶入該設定)
@@ -8111,7 +8111,7 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8111
8111
  Y && (i.invalidateQueries({ queryKey: ["getEventWalletList"] }), i.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
8112
8112
  return;
8113
8113
  case Ae.MONTHLY_CARD_ISSUE_POINT:
8114
- Y && (i.invalidateQueries({ queryKey: Di }), J?.(V));
8114
+ Y && (i.invalidateQueries({ queryKey: Ei }), J?.(V));
8115
8115
  return;
8116
8116
  /**
8117
8117
  * event_claimable:活動可領取推播
@@ -8163,8 +8163,8 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8163
8163
  p ? l.dispatch({
8164
8164
  type: "ui/showToast",
8165
8165
  payload: {
8166
- title: za[f] || "System Prompt",
8167
- description: rl[f] || "We are processing your transfer",
8166
+ title: Ia[f] || "System Prompt",
8167
+ description: ll[f] || "We are processing your transfer",
8168
8168
  status: "warning",
8169
8169
  duration: 1 / 0,
8170
8170
  id: "trasnferingInGame"
@@ -8181,7 +8181,7 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8181
8181
  readyState: F
8182
8182
  // WebSocket 連線狀態
8183
8183
  };
8184
- }, Va = () => {
8184
+ }, Ja = () => {
8185
8185
  const { client: e } = le(), n = H(
8186
8186
  async ({ paramsData: d } = {}) => {
8187
8187
  const { uid: l } = d || {};
@@ -8228,8 +8228,8 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8228
8228
  settleEventApi: g,
8229
8229
  memberEventSettleApi: U
8230
8230
  };
8231
- }, rs = ({ paramsData: e, options: n } = {}) => {
8232
- const { store: a, lng: r, data2URL: u } = le(), { eventListApi: g } = Va(), U = a?.getState()?.isWalletCurrency || a?.getState()?.currency?.currentCurrency || "TWD", d = Ze(r);
8231
+ }, ls = ({ paramsData: e, options: n } = {}) => {
8232
+ const { store: a, lng: r, data2URL: u } = le(), { eventListApi: g } = Ja(), U = a?.getState()?.isWalletCurrency || a?.getState()?.currency?.currentCurrency || "TWD", d = Ze(r);
8233
8233
  return Q({
8234
8234
  queryKey: ["eventList", e],
8235
8235
  queryFn: () => g({ paramsData: e }),
@@ -8250,8 +8250,8 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8250
8250
  ...c,
8251
8251
  carouselCurrentLanguagePCImageUrl: `${u}/carousels/${c?.image_pc}`,
8252
8252
  carouselCurrentLanguageMBImageUrl: `${u}/carousels/${c?.image_mobile}`,
8253
- carouselCurrentLanguageS3PCImageUrl: `${$e}/carousels/${c?.image_pc}`,
8254
- carouselCurrentLanguageS3MBImageUrl: `${$e}/carousels/${c?.image_mobile}`
8253
+ carouselCurrentLanguageS3PCImageUrl: `${Qe}/carousels/${c?.image_pc}`,
8254
+ carouselCurrentLanguageS3MBImageUrl: `${Qe}/carousels/${c?.image_mobile}`
8255
8255
  }
8256
8256
  }, _ = {
8257
8257
  eventUid: o.uid,
@@ -8297,8 +8297,8 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8297
8297
  // VIP 群組
8298
8298
  tagsGroup: o.tags_group,
8299
8299
  //標籤群組
8300
- eventBg: Xn(),
8301
- eventIcon: Yn(o.type),
8300
+ eventBg: er(),
8301
+ eventIcon: Xn(o.type),
8302
8302
  nextSettlementDate: o.next_settlement_date,
8303
8303
  //下一次結算日期
8304
8304
  lastSettlementDate: o.last_settlement_date
@@ -8366,52 +8366,52 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8366
8366
  },
8367
8367
  ...n
8368
8368
  });
8369
- }, su = ({ options: e } = {}) => {
8370
- const { redeemEventRewardApi: n } = Va();
8369
+ }, mu = ({ options: e } = {}) => {
8370
+ const { redeemEventRewardApi: n } = Ja();
8371
8371
  return ee({
8372
8372
  mutationKey: ["redeemEventReward"],
8373
8373
  mutationFn: async (a) => n(a),
8374
8374
  ...e
8375
8375
  });
8376
- }, ls = ({ options: e, formData: n } = {}) => {
8377
- const { checkCurrentEventProgessApi: a } = Va();
8376
+ }, os = ({ options: e, formData: n } = {}) => {
8377
+ const { checkCurrentEventProgessApi: a } = Ja();
8378
8378
  return Q({
8379
8379
  queryKey: ["checkEventProgress"],
8380
8380
  queryFn: async () => a(n),
8381
8381
  ...e
8382
8382
  });
8383
- }, os = ({ options: e, formData: n } = {}) => {
8384
- const { checkEventStatusApi: a } = Va();
8383
+ }, ss = ({ options: e, formData: n } = {}) => {
8384
+ const { checkEventStatusApi: a } = Ja();
8385
8385
  return Q({
8386
8386
  queryKey: ["checkEventStatus"],
8387
8387
  queryFn: async () => a(n),
8388
8388
  select: (r) => r.data.event_status || r.data,
8389
8389
  ...e
8390
8390
  });
8391
- }, mu = ({ options: e } = {}) => {
8392
- const { settleEventApi: n } = Va();
8391
+ }, uu = ({ options: e } = {}) => {
8392
+ const { settleEventApi: n } = Ja();
8393
8393
  return ee({
8394
8394
  mutationKey: ["settleEvent"],
8395
8395
  mutationFn: async (a) => n(a),
8396
8396
  ...e
8397
8397
  });
8398
- }, uu = ({ options: e } = {}) => {
8399
- const { memberEventSettleApi: n } = Va();
8398
+ }, pu = ({ options: e } = {}) => {
8399
+ const { memberEventSettleApi: n } = Ja();
8400
8400
  return ee({
8401
8401
  mutationKey: ["memberEventSettle"],
8402
8402
  mutationFn: async (a) => n(a),
8403
8403
  ...e
8404
8404
  });
8405
- }, pu = ({
8405
+ }, gu = ({
8406
8406
  options: e = {
8407
8407
  eventList: {},
8408
8408
  checkEventProgress: {},
8409
8409
  checkEventStatus: {}
8410
8410
  }
8411
8411
  } = {}) => {
8412
- const n = rs({ options: e.eventList }), a = ls({
8412
+ const n = ls({ options: e.eventList }), a = os({
8413
8413
  options: e.checkEventProgress
8414
- }), r = os({
8414
+ }), r = ss({
8415
8415
  options: e.checkEventStatus
8416
8416
  });
8417
8417
  return {
@@ -8419,7 +8419,7 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8419
8419
  checkEventProgressQuery: a,
8420
8420
  checkEventStatusQuery: r
8421
8421
  };
8422
- }, tt = () => {
8422
+ }, it = () => {
8423
8423
  const { client: e } = le(), n = H(
8424
8424
  async ({ gamePlatform: U, params: d } = {}) => await e.get(
8425
8425
  `/gameBonusRestricted${U ? `/${U}` : ""}`,
@@ -8452,8 +8452,8 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8452
8452
  settleEventWalletApi: u,
8453
8453
  abandonEventWalletApi: g
8454
8454
  };
8455
- }, gu = ({ gamePlatform: e, params: n } = {}) => {
8456
- const { eventWalletListApi: a } = tt();
8455
+ }, du = ({ gamePlatform: e, params: n } = {}) => {
8456
+ const { eventWalletListApi: a } = it();
8457
8457
  return Q({
8458
8458
  queryKey: ["getEventWalletList", e, n],
8459
8459
  queryFn: async () => await a({
@@ -8493,8 +8493,8 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8493
8493
  };
8494
8494
  }
8495
8495
  });
8496
- }, du = () => {
8497
- const e = Sa(), { enabledEventWalletApi: n } = tt();
8496
+ }, cu = () => {
8497
+ const e = Da(), { enabledEventWalletApi: n } = it();
8498
8498
  return ee({
8499
8499
  mutationKey: ["enabledEventWallet"],
8500
8500
  mutationFn: async ({ eventUids: a }) => await n({ eventUids: a }),
@@ -8502,8 +8502,8 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8502
8502
  e.invalidateQueries({ queryKey: ["evaluateEventWallet"] });
8503
8503
  }
8504
8504
  });
8505
- }, cu = ({ gamePlatform: e = "", options: n = {} } = {}) => {
8506
- const { evaluateEventWalletApi: a } = tt();
8505
+ }, fu = ({ gamePlatform: e = "", options: n = {} } = {}) => {
8506
+ const { evaluateEventWalletApi: a } = it();
8507
8507
  return Q({
8508
8508
  queryKey: ["evaluateEventWallet", e],
8509
8509
  queryFn: async () => await a({ gamePlatform: e }),
@@ -8518,8 +8518,8 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8518
8518
  },
8519
8519
  ...n
8520
8520
  });
8521
- }, fu = () => {
8522
- const e = Sa(), { settleEventWalletApi: n } = tt();
8521
+ }, _u = () => {
8522
+ const e = Da(), { settleEventWalletApi: n } = it();
8523
8523
  return ee({
8524
8524
  mutationKey: ["settleEventWallet"],
8525
8525
  mutationFn: async ({ groupUid: a }) => await n({ groupUid: a }),
@@ -8527,8 +8527,8 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8527
8527
  e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
8528
8528
  }
8529
8529
  });
8530
- }, _u = () => {
8531
- const e = Sa(), { abandonEventWalletApi: n } = tt();
8530
+ }, yu = () => {
8531
+ const e = Da(), { abandonEventWalletApi: n } = it();
8532
8532
  return ee({
8533
8533
  mutationKey: ["abandonEventWallet"],
8534
8534
  mutationFn: async ({ groupUid: a }) => await n({ groupUid: a }),
@@ -8536,13 +8536,13 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8536
8536
  e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
8537
8537
  }
8538
8538
  });
8539
- }, yu = ({ options: e } = {}) => {
8540
- const { lng: n } = le(), { announcementApi: a } = Na(), r = Ze(n);
8539
+ }, Uu = ({ options: e } = {}) => {
8540
+ const { lng: n } = le(), { announcementApi: a } = La(), r = Ze(n);
8541
8541
  return Q({
8542
8542
  queryKey: ["getAnnouncement"],
8543
8543
  queryFn: async () => await a(),
8544
8544
  select: (u) => {
8545
- const g = Ye(u) ? u : u?.data ?? [];
8545
+ const g = Xe(u) ? u : u?.data ?? [];
8546
8546
  return De(g, (U) => {
8547
8547
  const d = We(U?.news_language, { language: r }) || We(U?.news_language, { language: "en_US" }) || U?.news_language?.[0];
8548
8548
  return {
@@ -8553,8 +8553,8 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8553
8553
  },
8554
8554
  ...e
8555
8555
  });
8556
- }, Uu = ({ skipPreload: e = !1 } = {}) => {
8557
- const { lng: n, data2URL: a } = le(), { commonCarouselApi: r } = Na(), u = Ze(n);
8556
+ }, bu = ({ skipPreload: e = !1 } = {}) => {
8557
+ const { lng: n, data2URL: a } = le(), { commonCarouselApi: r } = La(), u = Ze(n);
8558
8558
  return Q({
8559
8559
  queryKey: ["getCarouselList", e],
8560
8560
  queryFn: async () => {
@@ -8568,21 +8568,21 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8568
8568
  carouselCurrentLanguageData: t,
8569
8569
  carouselCurrentLanguagePCImageUrl: `${a}/carousels/${t?.image_pc}`,
8570
8570
  carouselCurrentLanguageMBImageUrl: `${a}/carousels/${t?.image_mobile}`,
8571
- carouselCurrentLanguageS3PCImageUrl: `${$e}/carousels/${t?.image_pc}`,
8572
- carouselCurrentLanguageS3MBImageUrl: `${$e}/carousels/${t?.image_mobile}`,
8571
+ carouselCurrentLanguageS3PCImageUrl: `${Qe}/carousels/${t?.image_pc}`,
8572
+ carouselCurrentLanguageS3MBImageUrl: `${Qe}/carousels/${t?.image_mobile}`,
8573
8573
  carouselCurrentLanguageLink: t?.url_link,
8574
8574
  currentLngCarousel: {
8575
8575
  ...t,
8576
8576
  carouselCurrentLanguagePCImageUrl: `${a}/carousels/${t?.image_pc}`,
8577
8577
  carouselCurrentLanguageMBImageUrl: `${a}/carousels/${t?.image_mobile}`,
8578
- carouselCurrentLanguageS3PCImageUrl: `${$e}/carousels/${t?.image_pc}`,
8579
- carouselCurrentLanguageS3MBImageUrl: `${$e}/carousels/${t?.image_mobile}`
8578
+ carouselCurrentLanguageS3PCImageUrl: `${Qe}/carousels/${t?.image_pc}`,
8579
+ carouselCurrentLanguageS3MBImageUrl: `${Qe}/carousels/${t?.image_mobile}`
8580
8580
  }
8581
8581
  };
8582
8582
  })
8583
8583
  });
8584
- }, bu = () => {
8585
- const { lng: e, getToken: n } = le(), a = n?.(), { commonMarqueeApi: r } = Na(), u = Ze(e);
8584
+ }, Cu = () => {
8585
+ const { lng: e, getToken: n } = le(), a = n?.(), { commonMarqueeApi: r } = La(), u = Ze(e);
8586
8586
  return Q({
8587
8587
  queryKey: ["getMarqueeList", a],
8588
8588
  queryFn: async () => {
@@ -8590,14 +8590,14 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8590
8590
  return g && !a ? g : await r();
8591
8591
  },
8592
8592
  select: (g) => {
8593
- const U = Ye(g) ? g : g.Marquees, d = Ye(g) ? g : g.MarqueesInsideGameBox, l = De(U, (i) => i[u] || i?.en_US), t = De(d, (i) => i[u] || i?.en_US);
8593
+ const U = Xe(g) ? g : g.Marquees, d = Xe(g) ? g : g.MarqueesInsideGameBox, l = De(U, (i) => i[u] || i?.en_US), t = De(d, (i) => i[u] || i?.en_US);
8594
8594
  return {
8595
8595
  marquee: l,
8596
8596
  gameMarquee: t
8597
8597
  };
8598
8598
  }
8599
8599
  });
8600
- }, Cu = ({ options: e } = {}) => {
8600
+ }, vu = ({ options: e } = {}) => {
8601
8601
  const { rankingGameApi: n } = re();
8602
8602
  return Q({
8603
8603
  queryKey: ["rankingGame"],
@@ -8639,10 +8639,10 @@ const Oo = /* @__PURE__ */ Ui(Ao), Bo = ({
8639
8639
  ...e
8640
8640
  });
8641
8641
  };
8642
- var ss = Object.create, pr = Object.defineProperty, ms = Object.getOwnPropertyDescriptor, us = Object.getOwnPropertyNames, ps = Object.getPrototypeOf, gs = Object.prototype.hasOwnProperty, ds = (e, n) => () => (n || e((n = { exports: {} }).exports, n), n.exports), cs = (e, n, a, r) => {
8643
- if (n && typeof n == "object" || typeof n == "function") for (let u of us(n)) !gs.call(e, u) && u !== a && pr(e, u, { get: () => n[u], enumerable: !(r = ms(n, u)) || r.enumerable });
8642
+ var ms = Object.create, gr = Object.defineProperty, us = Object.getOwnPropertyDescriptor, ps = Object.getOwnPropertyNames, gs = Object.getPrototypeOf, ds = Object.prototype.hasOwnProperty, cs = (e, n) => () => (n || e((n = { exports: {} }).exports, n), n.exports), fs = (e, n, a, r) => {
8643
+ if (n && typeof n == "object" || typeof n == "function") for (let u of ps(n)) !ds.call(e, u) && u !== a && gr(e, u, { get: () => n[u], enumerable: !(r = us(n, u)) || r.enumerable });
8644
8644
  return e;
8645
- }, fs = (e, n, a) => (a = e != null ? ss(ps(e)) : {}, cs(!e || !e.__esModule ? pr(a, "default", { value: e, enumerable: !0 }) : a, e)), _s = ds((e, n) => {
8645
+ }, _s = (e, n, a) => (a = e != null ? ms(gs(e)) : {}, fs(!e || !e.__esModule ? gr(a, "default", { value: e, enumerable: !0 }) : a, e)), ys = cs((e, n) => {
8646
8646
  (function(a, r) {
8647
8647
  typeof e == "object" && typeof n < "u" ? r(e) : typeof define == "function" && define.amd ? define(["exports"], r) : (a = typeof globalThis < "u" ? globalThis : a || self, r(a.fastUniqueNumbers = {}));
8648
8648
  })(e, function(a) {
@@ -8671,17 +8671,17 @@ var ss = Object.create, pr = Object.defineProperty, ms = Object.getOwnPropertyDe
8671
8671
  a.addUniqueNumber = s, a.generateUniqueNumber = o;
8672
8672
  });
8673
8673
  });
8674
- fs(_s());
8675
- var pa = (typeof window > "u" ? "undefined" : typeof window) == "object", aa = { setTimeout: pa ? setTimeout.bind(window) : setTimeout, clearTimeout: pa ? clearTimeout.bind(window) : clearTimeout, setInterval: pa ? setInterval.bind(window) : setInterval, clearInterval: pa ? clearInterval.bind(window) : clearInterval };
8676
- function ys(e) {
8677
- aa.setTimeout = e.setTimeout, aa.clearTimeout = e.clearTimeout, aa.setInterval = e.setInterval, aa.clearInterval = e.clearInterval;
8674
+ _s(ys());
8675
+ var ga = (typeof window > "u" ? "undefined" : typeof window) == "object", ta = { setTimeout: ga ? setTimeout.bind(window) : setTimeout, clearTimeout: ga ? clearTimeout.bind(window) : clearTimeout, setInterval: ga ? setInterval.bind(window) : setInterval, clearInterval: ga ? clearInterval.bind(window) : clearInterval };
8676
+ function Us(e) {
8677
+ ta.setTimeout = e.setTimeout, ta.clearTimeout = e.clearTimeout, ta.setInterval = e.setInterval, ta.clearInterval = e.clearInterval;
8678
8678
  }
8679
- var Oa = {}, Us = class {
8679
+ var Ba = {}, bs = class {
8680
8680
  name;
8681
8681
  closed = !1;
8682
8682
  mc = new MessageChannel();
8683
8683
  constructor(e) {
8684
- this.name = e, Oa[e] = Oa[e] || [], Oa[e].push(this), this.mc.port1.start(), this.mc.port2.start(), this.onStorage = this.onStorage.bind(this), window.addEventListener("storage", this.onStorage);
8684
+ this.name = e, Ba[e] = Ba[e] || [], Ba[e].push(this), this.mc.port1.start(), this.mc.port2.start(), this.onStorage = this.onStorage.bind(this), window.addEventListener("storage", this.onStorage);
8685
8685
  }
8686
8686
  onStorage(e) {
8687
8687
  if (e.storageArea !== window.localStorage || e.key.substring(0, this.name.length) !== this.name || e.newValue === null) return;
@@ -8691,17 +8691,17 @@ var Oa = {}, Us = class {
8691
8691
  postMessage(e) {
8692
8692
  if (this.closed) throw new Error("InvalidStateError");
8693
8693
  let n = JSON.stringify(e), a = `${this.name}:${String(Date.now())}${String(Math.random())}`;
8694
- window.localStorage.setItem(a, n), aa.setTimeout(() => {
8694
+ window.localStorage.setItem(a, n), ta.setTimeout(() => {
8695
8695
  window.localStorage.removeItem(a);
8696
- }, 500), Oa[this.name].forEach((r) => {
8696
+ }, 500), Ba[this.name].forEach((r) => {
8697
8697
  r !== this && r.mc.port2.postMessage(JSON.parse(n));
8698
8698
  });
8699
8699
  }
8700
8700
  close() {
8701
8701
  if (this.closed) return;
8702
8702
  this.closed = !0, this.mc.port1.close(), this.mc.port2.close(), window.removeEventListener("storage", this.onStorage);
8703
- let e = Oa[this.name].indexOf(this);
8704
- Oa[this.name].splice(e, 1);
8703
+ let e = Ba[this.name].indexOf(this);
8704
+ Ba[this.name].splice(e, 1);
8705
8705
  }
8706
8706
  get onmessage() {
8707
8707
  return this.mc.port1.onmessage;
@@ -8724,17 +8724,17 @@ var Oa = {}, Us = class {
8724
8724
  dispatchEvent(e) {
8725
8725
  return this.mc.port1.dispatchEvent(e);
8726
8726
  }
8727
- }, bs = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : Us;
8728
- function Cs(e = 0) {
8729
- return new Promise((n) => aa.setTimeout(n, e));
8727
+ }, Cs = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : bs;
8728
+ function vs(e = 0) {
8729
+ return new Promise((n) => ta.setTimeout(n, e));
8730
8730
  }
8731
- function gr() {
8731
+ function dr() {
8732
8732
  return Math.random().toString(36).substring(2);
8733
8733
  }
8734
- var vs = class {
8734
+ var hs = class {
8735
8735
  options;
8736
8736
  channel;
8737
- token = gr();
8737
+ token = dr();
8738
8738
  isLeader = !1;
8739
8739
  isDead = !1;
8740
8740
  isApplying = !1;
@@ -8755,7 +8755,7 @@ var vs = class {
8755
8755
  };
8756
8756
  this.channel.addEventListener("message", n);
8757
8757
  try {
8758
- return this.sendAction(0), await Cs(this.options.responseTime), this.channel.removeEventListener("message", n), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
8758
+ return this.sendAction(0), await vs(this.options.responseTime), this.channel.removeEventListener("message", n), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
8759
8759
  } catch {
8760
8760
  return !1;
8761
8761
  }
@@ -8768,13 +8768,13 @@ var vs = class {
8768
8768
  if (e) return;
8769
8769
  e = !0;
8770
8770
  try {
8771
- aa.clearInterval(n);
8771
+ ta.clearInterval(n);
8772
8772
  } catch {
8773
8773
  }
8774
8774
  let g = this.intervals.indexOf(n);
8775
8775
  g >= 0 && this.intervals.splice(g, 1), this.channel.removeEventListener("message", u), a();
8776
8776
  };
8777
- n = aa.setInterval(() => {
8777
+ n = ta.setInterval(() => {
8778
8778
  this.apply().then(() => {
8779
8779
  this.isLeader && r();
8780
8780
  });
@@ -8806,24 +8806,24 @@ var vs = class {
8806
8806
  if (!this.isDead) {
8807
8807
  this.isDead = !0, this.isLeader = !1, this.sendAction(2);
8808
8808
  try {
8809
- this.listeners.forEach((e) => this.channel.removeEventListener("message", e)), this.intervals.forEach((e) => aa.clearInterval(e));
8809
+ this.listeners.forEach((e) => this.channel.removeEventListener("message", e)), this.intervals.forEach((e) => ta.clearInterval(e));
8810
8810
  } catch {
8811
8811
  }
8812
8812
  }
8813
8813
  }
8814
- }, hs = class {
8814
+ }, Ts = class {
8815
8815
  channel;
8816
8816
  options;
8817
8817
  elector;
8818
- token = gr();
8818
+ token = dr();
8819
8819
  registry = /* @__PURE__ */ new Map();
8820
8820
  allIdle = !1;
8821
8821
  isLastActive = !1;
8822
8822
  constructor(e) {
8823
8823
  let { channelName: n } = e;
8824
- if (this.options = e, this.channel = new bs(n), this.registry.set(this.token, 1), e.leaderElection) {
8824
+ if (this.options = e, this.channel = new Cs(n), this.registry.set(this.token, 1), e.leaderElection) {
8825
8825
  let a = { fallbackInterval: 2e3, responseTime: 100 };
8826
- this.elector = new vs(this.channel, a), this.elector.waitForLeadership();
8826
+ this.elector = new hs(this.channel, a), this.elector.waitForLeadership();
8827
8827
  }
8828
8828
  this.channel.addEventListener("message", (a) => {
8829
8829
  let { action: r, token: u, data: g } = a.data;
@@ -8913,8 +8913,8 @@ var vs = class {
8913
8913
  close() {
8914
8914
  this.options.leaderElection && this.elector.close(), this.send(4), this.channel.close();
8915
8915
  }
8916
- }, Ts = pa ? document : null, ks = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
8917
- function xs(e, n) {
8916
+ }, ks = ga ? document : null, xs = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
8917
+ function Ss(e, n) {
8918
8918
  let a;
8919
8919
  function r(...u) {
8920
8920
  a && clearTimeout(a), a = setTimeout(() => {
@@ -8925,15 +8925,15 @@ function xs(e, n) {
8925
8925
  clearTimeout(a);
8926
8926
  }, r;
8927
8927
  }
8928
- function mi(e, n) {
8928
+ function ui(e, n) {
8929
8929
  let a = 0;
8930
8930
  return function(...r) {
8931
8931
  let u = (/* @__PURE__ */ new Date()).getTime();
8932
8932
  if (!(u - a < n)) return a = u, e(...r);
8933
8933
  };
8934
8934
  }
8935
- var Se = () => Date.now(), Ba = 2147483647;
8936
- function Ss({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: a = 0, element: r = Ts, events: u = ks, timers: g = void 0, immediateEvents: U = [], onPresenceChange: d = () => {
8935
+ var Se = () => Date.now(), Ha = 2147483647;
8936
+ function Ds({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: a = 0, element: r = ks, events: u = xs, timers: g = void 0, immediateEvents: U = [], onPresenceChange: d = () => {
8937
8937
  }, onPrompt: l = () => {
8938
8938
  }, onIdle: t = () => {
8939
8939
  }, onActive: i = () => {
@@ -8943,13 +8943,13 @@ function Ss({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8943
8943
  let M = ie(Se()), A = ie(Se()), k = ie(null), S = ie(null), F = ie(0), P = ie(0), w = ie(0), R = ie(0), L = ie(!1), B = ie(!1), O = ie(!1), W = ie(!0), z = ie(!1), G = ie(null), h = ie(null), E = ie(e), N = ie(0);
8944
8944
  ue(() => {
8945
8945
  if (n && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), a && n) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
8946
- if (e >= Ba) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${Ba}.`);
8947
- if (n >= Ba) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${Ba}.`);
8948
- if (a >= Ba) throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${Ba}.`);
8946
+ if (e >= Ha) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${Ha}.`);
8947
+ if (n >= Ha) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${Ha}.`);
8948
+ if (a >= Ha) throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${Ha}.`);
8949
8949
  if (a >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
8950
8950
  if (a ? (E.current = e - a, N.current = a) : (E.current = e, N.current = n), !W.current) {
8951
8951
  if (y || D) return;
8952
- L.current && (pe.current(null, Ge), h.current && h.current.active()), Xe();
8952
+ L.current && (pe.current(null, Ge), h.current && h.current.active()), ea();
8953
8953
  }
8954
8954
  }, [e, n, a, y, D]);
8955
8955
  let J = ie(_);
@@ -8958,7 +8958,7 @@ function Ss({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8958
8958
  }, [_]);
8959
8959
  let q = ie(U), $ = ie(r), V = ie([...(/* @__PURE__ */ new Set([...u, ...U])).values()]), Y = ie(D);
8960
8960
  ue(() => {
8961
- Y.current = D, !W.current && (D ? Ke() : y || Xe());
8961
+ Y.current = D, !W.current && (D ? Ke() : y || ea());
8962
8962
  }, [D]);
8963
8963
  let ae = ie(d);
8964
8964
  ue(() => {
@@ -8984,19 +8984,19 @@ function Ss({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
8984
8984
  ue(() => {
8985
8985
  Ne.current = s;
8986
8986
  }, [s]);
8987
- let he = Wa(() => {
8988
- let Z = (Me, na) => ye.current(Me, na);
8989
- return p > 0 ? xs(Z, p) : m > 0 ? mi(Z, m) : Z;
8987
+ let he = za(() => {
8988
+ let Z = (Me, ra) => ye.current(Me, ra);
8989
+ return p > 0 ? Ss(Z, p) : m > 0 ? ui(Z, m) : Z;
8990
8990
  }, [m, p]), fe = ie();
8991
8991
  ue(() => {
8992
- b && v && (fe.current = mi(() => {
8992
+ b && v && (fe.current = ui(() => {
8993
8993
  h.current.active();
8994
8994
  }, v));
8995
8995
  }, [b, v]);
8996
8996
  let ge = () => {
8997
- G.current !== null && (aa.clearTimeout(G.current), G.current = null);
8997
+ G.current !== null && (ta.clearTimeout(G.current), G.current = null);
8998
8998
  }, Ue = (Z, Me = !0) => {
8999
- ge(), G.current = aa.setTimeout(Ve, Z || E.current), Me && (S.current = Se());
8999
+ ge(), G.current = ta.setTimeout(Ve, Z || E.current), Me && (S.current = Se());
9000
9000
  }, ze = (Z) => {
9001
9001
  !B.current && !L.current && (Ce.current(Z, Ge), ae.current({ type: "active", prompted: !0 }, Ge)), R.current = 0, w.current = Se(), B.current = !0, Ue(N.current, !1);
9002
9002
  }, Ee = () => {
@@ -9015,7 +9015,7 @@ function Ss({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
9015
9015
  return;
9016
9016
  }
9017
9017
  h.current ? h.current.active() : ke(Z);
9018
- }, ta = (Z) => {
9018
+ }, ia = (Z) => {
9019
9019
  if (!c && !S.current && (S.current = Se(), pe.current(null, Ge)), he(Z, Ge), B.current) return;
9020
9020
  if (ge(), !L.current && q.current.includes(Z.type)) {
9021
9021
  Ve(Z);
@@ -9027,41 +9027,41 @@ function Ss({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
9027
9027
  return;
9028
9028
  }
9029
9029
  O.current = !1, R.current = 0, w.current = 0, Ue(), b && v && fe.current();
9030
- }, ia = ie(ta);
9030
+ }, na = ie(ia);
9031
9031
  ue(() => {
9032
9032
  let Z = z.current;
9033
- Z && Be(), f > 0 ? ia.current = mi(ta, f) : ia.current = ta, Z && Le();
9033
+ Z && Be(), f > 0 ? na.current = ui(ia, f) : na.current = ia, Z && Le();
9034
9034
  }, [f, m, p, ye, b, v]);
9035
9035
  let Le = () => {
9036
- pa && $.current && (z.current || (V.current.forEach((Z) => {
9037
- $.current.addEventListener(Z, ia.current, { capture: !0, passive: !0 });
9036
+ ga && $.current && (z.current || (V.current.forEach((Z) => {
9037
+ $.current.addEventListener(Z, na.current, { capture: !0, passive: !0 });
9038
9038
  }), z.current = !0));
9039
9039
  }, Be = (Z = !1) => {
9040
- pa && $.current && (z.current || Z) && (V.current.forEach((Me) => {
9041
- $.current.removeEventListener(Me, ia.current, { capture: !0 });
9040
+ ga && $.current && (z.current || Z) && (V.current.forEach((Me) => {
9041
+ $.current.removeEventListener(Me, na.current, { capture: !0 });
9042
9042
  }), z.current = !1);
9043
- }, Xe = H((Z) => Y.current ? !1 : (ge(), Le(), L.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, h.current && !Z && h.current.start(), Ue(), !0), [G, L, Y, E, h]), oa = H((Z) => Y.current ? !1 : (ge(), Le(), A.current = Se(), F.current += Se() - k.current, P.current += Se() - k.current, F.current = 0, L.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, h.current && !Z && h.current.reset(), y || Ue(), !0), [G, L, E, y, Y, h]), ga = H((Z) => Y.current ? !1 : (ge(), Le(), (L.current || B.current) && ke(), L.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, A.current = Se(), h.current && !Z && h.current.activate(), Ue(), !0), [G, L, B, Y, E, h]), Ke = H((Z = !1) => Y.current || O.current ? !1 : (R.current = Ua(), O.current = !0, Be(), ge(), h.current && !Z && h.current.pause(), !0), [G, Y, h]), ea = H((Z = !1) => Y.current || !O.current ? !1 : (O.current = !1, B.current || Le(), L.current || Ue(R.current), w.current && (w.current = Se()), h.current && !Z && h.current.resume(), !0), [G, E, Y, R, h]), Za = H((Z, Me) => (h.current ? (Me && Ne.current(Z, Ge), h.current.message(Z)) : Me && Ne.current(Z, Ge), !0), [s]), La = H(() => L.current, [L]), Ga = H(() => B.current, [B]), Ka = H(() => h.current ? h.current.isLeader : null, [h]), qa = H(() => h.current ? h.current.isLastActive : null, [h]), da = H(() => h.current ? h.current.token : null, [h]), Ua = H(() => {
9043
+ }, ea = H((Z) => Y.current ? !1 : (ge(), Le(), L.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, h.current && !Z && h.current.start(), Ue(), !0), [G, L, Y, E, h]), sa = H((Z) => Y.current ? !1 : (ge(), Le(), A.current = Se(), F.current += Se() - k.current, P.current += Se() - k.current, F.current = 0, L.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, h.current && !Z && h.current.reset(), y || Ue(), !0), [G, L, E, y, Y, h]), da = H((Z) => Y.current ? !1 : (ge(), Le(), (L.current || B.current) && ke(), L.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, A.current = Se(), h.current && !Z && h.current.activate(), Ue(), !0), [G, L, B, Y, E, h]), Ke = H((Z = !1) => Y.current || O.current ? !1 : (R.current = ba(), O.current = !0, Be(), ge(), h.current && !Z && h.current.pause(), !0), [G, Y, h]), aa = H((Z = !1) => Y.current || !O.current ? !1 : (O.current = !1, B.current || Le(), L.current || Ue(R.current), w.current && (w.current = Se()), h.current && !Z && h.current.resume(), !0), [G, E, Y, R, h]), Ka = H((Z, Me) => (h.current ? (Me && Ne.current(Z, Ge), h.current.message(Z)) : Me && Ne.current(Z, Ge), !0), [s]), Ga = H(() => L.current, [L]), Ma = H(() => B.current, [B]), qa = H(() => h.current ? h.current.isLeader : null, [h]), $a = H(() => h.current ? h.current.isLastActive : null, [h]), ca = H(() => h.current ? h.current.token : null, [h]), ba = H(() => {
9044
9044
  if (O.current) return R.current;
9045
- let Z = R.current ? R.current : N.current + E.current, Me = S.current ? Se() - S.current : 0, na = Math.floor(Z - Me);
9046
- return na < 0 ? 0 : Math.abs(na);
9047
- }, [E, N, B, R, S]), Qe = H(() => Math.round(Se() - A.current), [A]), ca = H(() => Math.round(Se() - M.current), [M]), fa = H(() => k.current ? new Date(k.current) : null, [k]), Ma = H(() => S.current ? new Date(S.current) : null, [S]), Ra = H(() => L.current ? Math.round(Se() - k.current + F.current) : Math.round(F.current), [k, F]), ba = H(() => L.current ? Math.round(Se() - k.current + P.current) : Math.round(P.current), [k, P]), Pa = H(() => {
9048
- let Z = Math.round(Qe() - Ra());
9045
+ let Z = R.current ? R.current : N.current + E.current, Me = S.current ? Se() - S.current : 0, ra = Math.floor(Z - Me);
9046
+ return ra < 0 ? 0 : Math.abs(ra);
9047
+ }, [E, N, B, R, S]), je = H(() => Math.round(Se() - A.current), [A]), fa = H(() => Math.round(Se() - M.current), [M]), _a = H(() => k.current ? new Date(k.current) : null, [k]), Ra = H(() => S.current ? new Date(S.current) : null, [S]), Pa = H(() => L.current ? Math.round(Se() - k.current + F.current) : Math.round(F.current), [k, F]), Ca = H(() => L.current ? Math.round(Se() - k.current + P.current) : Math.round(P.current), [k, P]), wa = H(() => {
9048
+ let Z = Math.round(je() - Pa());
9049
9049
  return Z >= 0 ? Z : 0;
9050
- }, [k, F]), wa = H(() => {
9051
- let Z = Math.round(ca() - ba());
9050
+ }, [k, F]), Fa = H(() => {
9051
+ let Z = Math.round(fa() - Ca());
9052
9052
  return Z >= 0 ? Z : 0;
9053
9053
  }, [k, F]);
9054
9054
  ue(() => {
9055
9055
  if (p > 0 && m > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
9056
- g && ys(g);
9056
+ g && Us(g);
9057
9057
  let Z = () => {
9058
9058
  h.current && h.current.close(), he.cancel && he.cancel(), ge(), Be(!0);
9059
9059
  };
9060
- return pa && window.addEventListener("beforeunload", Z), () => {
9061
- pa && window.removeEventListener("beforeunload", Z), h.current && h.current.close(), he.cancel && he.cancel(), ge(), Be(!0);
9060
+ return ga && window.addEventListener("beforeunload", Z), () => {
9061
+ ga && window.removeEventListener("beforeunload", Z), h.current && h.current.close(), he.cancel && he.cancel(), ge(), Be(!0);
9062
9062
  };
9063
9063
  }, []), ue(() => {
9064
- h.current && h.current.close(), b ? h.current = new hs({ channelName: C, leaderElection: T, onPrompt: () => {
9064
+ h.current && h.current.close(), b ? h.current = new Ts({ channelName: C, leaderElection: T, onPrompt: () => {
9065
9065
  ze();
9066
9066
  }, onIdle: () => {
9067
9067
  Ee();
@@ -9069,19 +9069,19 @@ function Ss({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
9069
9069
  ke();
9070
9070
  }, onMessage: (Z) => {
9071
9071
  Ne.current(Z, Ge);
9072
- }, start: Xe, reset: oa, activate: ga, pause: Ke, resume: ea }) : h.current = null;
9073
- }, [b, C, T, Ce, ve, pe, Ne, Xe, oa, Ke, ea]), ue(() => {
9074
- W.current || (ge(), Be(!0)), !(y || D) && (c ? Xe() : Le());
9072
+ }, start: ea, reset: sa, activate: da, pause: Ke, resume: aa }) : h.current = null;
9073
+ }, [b, C, T, Ce, ve, pe, Ne, ea, sa, Ke, aa]), ue(() => {
9074
+ W.current || (ge(), Be(!0)), !(y || D) && (c ? ea() : Le());
9075
9075
  }, [y, c, D, W]), ue(() => {
9076
9076
  if (!W.current) {
9077
9077
  let Z = [...(/* @__PURE__ */ new Set([...u, ...U])).values()];
9078
9078
  if (Be(), V.current = Z, $.current = r, q.current = U, y || D) return;
9079
- c ? Xe() : Le();
9079
+ c ? ea() : Le();
9080
9080
  }
9081
9081
  }, [r, JSON.stringify(u), JSON.stringify(U), W, D, y, c]), ue(() => {
9082
9082
  W.current && (W.current = !1);
9083
9083
  }, [W]);
9084
- let Ge = { message: Za, start: Xe, reset: oa, activate: ga, pause: Ke, resume: ea, isIdle: La, isPrompted: Ga, isLeader: Ka, isLastActiveTab: qa, getTabId: da, getRemainingTime: Ua, getElapsedTime: Qe, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: Ma, getIdleTime: Ra, getTotalIdleTime: ba, getActiveTime: Pa, getTotalActiveTime: wa, setOnPresenceChange: (Z) => {
9084
+ let Ge = { message: Ka, start: ea, reset: sa, activate: da, pause: Ke, resume: aa, isIdle: Ga, isPrompted: Ma, isLeader: qa, isLastActiveTab: $a, getTabId: ca, getRemainingTime: ba, getElapsedTime: je, getTotalElapsedTime: fa, getLastIdleTime: _a, getLastActiveTime: Ra, getIdleTime: Pa, getTotalIdleTime: Ca, getActiveTime: wa, getTotalActiveTime: Fa, setOnPresenceChange: (Z) => {
9085
9085
  d = Z, ae.current = Z;
9086
9086
  }, setOnPrompt: (Z) => {
9087
9087
  l = Z, Ce.current = Z;
@@ -9096,16 +9096,16 @@ function Ss({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
9096
9096
  } };
9097
9097
  return Ge;
9098
9098
  }
9099
- var Ds = jt(null);
9100
- Ds.Consumer;
9101
- const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9099
+ var Es = Yt(null);
9100
+ Es.Consumer;
9101
+ const hu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ds({
9102
9102
  onIdle: e,
9103
9103
  onActive: n,
9104
9104
  onAction: a,
9105
9105
  timeout: r,
9106
9106
  throttle: 500
9107
- }), Es = ({ options: e } = {}) => {
9108
- const { commonInboxApi: n } = Na(), { getToken: a, lng: r } = le(), u = a?.(), g = Ze(r);
9107
+ }), Ns = ({ options: e } = {}) => {
9108
+ const { commonInboxApi: n } = La(), { getToken: a, lng: r } = le(), u = a?.(), g = Ze(r);
9109
9109
  return Q({
9110
9110
  queryKey: ["inboxList"],
9111
9111
  queryFn: async () => await n(),
@@ -9125,25 +9125,25 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9125
9125
  enabled: !!u,
9126
9126
  ...e
9127
9127
  });
9128
- }, Ns = ({ options: e } = {}) => {
9129
- const { commonReadInboxApi: n } = Na();
9128
+ }, Ls = ({ options: e } = {}) => {
9129
+ const { commonReadInboxApi: n } = La();
9130
9130
  return ee({
9131
9131
  mutationKey: ["readInbox"],
9132
9132
  mutationFn: async (a) => await n(a),
9133
9133
  ...e
9134
9134
  });
9135
- }, hu = ({
9135
+ }, Tu = ({
9136
9136
  options: e = {
9137
9137
  inboxList: {},
9138
9138
  readInbox: {}
9139
9139
  }
9140
9140
  } = {}) => {
9141
- const n = Es({ options: e.inboxList }), a = Ns({ options: e.readInbox });
9141
+ const n = Ns({ options: e.inboxList }), a = Ls({ options: e.readInbox });
9142
9142
  return {
9143
9143
  inboxListQuery: n,
9144
9144
  readInboxMutation: a
9145
9145
  };
9146
- }, dr = () => {
9146
+ }, cr = () => {
9147
9147
  const { client: e } = le();
9148
9148
  return {
9149
9149
  newsListApi: H(
@@ -9153,7 +9153,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9153
9153
  [e]
9154
9154
  )
9155
9155
  };
9156
- }, Ls = ({
9156
+ }, Gs = ({
9157
9157
  typeConfig: e = {
9158
9158
  all: {},
9159
9159
  crypto: {},
@@ -9199,8 +9199,8 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9199
9199
  value: "other",
9200
9200
  ...e.other
9201
9201
  }
9202
- ], Tu = ({ options: e, formData: n } = {}) => {
9203
- const { lng: a } = le(), { newsListApi: r } = dr(), u = Ze(a);
9202
+ ], ku = ({ options: e, formData: n } = {}) => {
9203
+ const { lng: a } = le(), { newsListApi: r } = cr(), u = Ze(a);
9204
9204
  return Q({
9205
9205
  queryKey: ["newsList"],
9206
9206
  queryFn: () => {
@@ -9220,13 +9220,13 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9220
9220
  return {
9221
9221
  ...g.data,
9222
9222
  data: l,
9223
- blogType: Ls({ typeConfig: e?.typeConfig })
9223
+ blogType: Gs({ typeConfig: e?.typeConfig })
9224
9224
  };
9225
9225
  },
9226
9226
  ...e
9227
9227
  });
9228
- }, ku = ({ options: e, formData: n } = {}) => {
9229
- const { lng: a } = le(), { newsListApi: r } = dr(), u = Ze(a);
9228
+ }, xu = ({ options: e, formData: n } = {}) => {
9229
+ const { lng: a } = le(), { newsListApi: r } = cr(), u = Ze(a);
9230
9230
  return Q({
9231
9231
  queryKey: ["newsList"],
9232
9232
  queryFn: () => {
@@ -9287,7 +9287,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9287
9287
  withdrawal_amount: y,
9288
9288
  bank_account_number: _,
9289
9289
  currency_code: b,
9290
- withdrawal_code: at.MD5(C).toString(),
9290
+ withdrawal_code: tt.MD5(C).toString(),
9291
9291
  payment_type: "ThirdParty"
9292
9292
  }
9293
9293
  });
@@ -9449,14 +9449,14 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9449
9449
  snCashRecordApi: f,
9450
9450
  otherTransactionApi: t
9451
9451
  };
9452
- }, Gs = ({ options: e } = {}) => {
9452
+ }, Ms = ({ options: e } = {}) => {
9453
9453
  const { depositApiV1: n } = Fe();
9454
9454
  return Q({
9455
9455
  queryKey: ["depositV1"],
9456
9456
  queryFn: n,
9457
9457
  ...e
9458
9458
  });
9459
- }, Ms = ({ paramsData: e, options: n } = {}) => {
9459
+ }, Rs = ({ paramsData: e, options: n } = {}) => {
9460
9460
  const { depositApiV2: a } = Fe();
9461
9461
  return Q({
9462
9462
  queryKey: ["depositV2", e],
@@ -9467,11 +9467,11 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9467
9467
  providerList: De(l.providers, (t) => ({
9468
9468
  ...t,
9469
9469
  providerUid: t.uid,
9470
- providerImageUrl: `${$e}/paymentIcon/${Li(t.provider_name)}.png`,
9470
+ providerImageUrl: `${Qe}/paymentIcon/${Gi(t.provider_name)}.png`,
9471
9471
  providerMax: t.max,
9472
9472
  providerMin: t.min
9473
9473
  })),
9474
- methodImageUrl: `${$e}/paymentIcon/${Li(l.method_name)}pay.png`
9474
+ methodImageUrl: `${Qe}/paymentIcon/${Gi(l.method_name)}pay.png`
9475
9475
  }));
9476
9476
  return {
9477
9477
  bank: g,
@@ -9481,119 +9481,119 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9481
9481
  },
9482
9482
  ...n
9483
9483
  });
9484
- }, Rs = ({ options: e } = {}) => {
9484
+ }, Ps = ({ options: e } = {}) => {
9485
9485
  const { depositApi: n } = Fe();
9486
9486
  return ee({
9487
9487
  mutationKey: ["depositAction"],
9488
9488
  mutationFn: async (a) => n(a),
9489
9489
  ...e
9490
9490
  });
9491
- }, Ps = ({ options: e } = {}) => {
9491
+ }, ws = ({ options: e } = {}) => {
9492
9492
  const { withdrawApi: n } = Fe();
9493
9493
  return ee({
9494
9494
  mutationKey: ["withdrawAction"],
9495
9495
  mutationFn: async (a) => n(a),
9496
9496
  ...e
9497
9497
  });
9498
- }, ws = ({ paramsData: e, options: n } = {}) => {
9498
+ }, Fs = ({ paramsData: e, options: n } = {}) => {
9499
9499
  const { depositTransactionApi: a } = Fe();
9500
9500
  return Q({
9501
9501
  queryKey: ["depositTransaction", e],
9502
9502
  queryFn: () => a({ paramsData: e }),
9503
9503
  ...n
9504
9504
  });
9505
- }, Fs = ({ paramsData: e, options: n } = {}) => {
9505
+ }, As = ({ paramsData: e, options: n } = {}) => {
9506
9506
  const { eventTransactionApi: a } = Fe();
9507
9507
  return Q({
9508
9508
  queryKey: ["eventTransaction", e],
9509
9509
  queryFn: () => a({ paramsData: e }),
9510
9510
  ...n
9511
9511
  });
9512
- }, As = ({ options: e } = {}) => {
9512
+ }, Os = ({ options: e } = {}) => {
9513
9513
  const { bankDepositApi: n } = Fe();
9514
9514
  return ee({
9515
9515
  mutationKey: ["bankDeposit"],
9516
9516
  mutationFn: async (a) => n(a),
9517
9517
  ...e
9518
9518
  });
9519
- }, Os = ({ paramsData: e, options: n } = {}) => {
9519
+ }, Bs = ({ paramsData: e, options: n } = {}) => {
9520
9520
  const { withdrawTransactionApi: a } = Fe();
9521
9521
  return Q({
9522
9522
  queryKey: ["withdrawTransaction", e],
9523
9523
  queryFn: () => a({ paramsData: e }),
9524
9524
  ...n
9525
9525
  });
9526
- }, xu = ({ options: e } = {}) => {
9526
+ }, Su = ({ options: e } = {}) => {
9527
9527
  const { redeemCodeDepositApi: n } = Fe();
9528
9528
  return ee({
9529
9529
  mutationKey: ["redeemCodeDeposit"],
9530
9530
  mutationFn: async (a) => n(a),
9531
9531
  ...e
9532
9532
  });
9533
- }, Su = ({ options: e } = {}) => {
9533
+ }, Du = ({ options: e } = {}) => {
9534
9534
  const { invoiceApi: n } = Fe();
9535
9535
  return ee({
9536
9536
  mutationKey: ["invoiceAction"],
9537
9537
  mutationFn: async (a) => n(a),
9538
9538
  ...e
9539
9539
  });
9540
- }, Du = ({ options: e } = {}) => {
9540
+ }, Eu = ({ options: e } = {}) => {
9541
9541
  const { updateInvoiceApi: n } = Fe();
9542
9542
  return ee({
9543
9543
  mutationKey: ["updateInvoiceAction"],
9544
9544
  mutationFn: async (a) => n(a),
9545
9545
  ...e
9546
9546
  });
9547
- }, Eu = ({ options: e, paramsData: n } = {}) => {
9547
+ }, Nu = ({ options: e, paramsData: n } = {}) => {
9548
9548
  const { transactionRecordApi: a } = Fe();
9549
9549
  return Q({
9550
9550
  queryKey: ["transactionRecord", "deposit"],
9551
9551
  queryFn: () => a(n, "deposit"),
9552
9552
  ...e
9553
9553
  });
9554
- }, Nu = ({ options: e, paramsData: n } = {}) => {
9554
+ }, Lu = ({ options: e, paramsData: n } = {}) => {
9555
9555
  const { transactionRecordApi: a } = Fe();
9556
9556
  return Q({
9557
9557
  queryKey: ["transactionRecord", "withdraw"],
9558
9558
  queryFn: () => a(n, "withdraw"),
9559
9559
  ...e
9560
9560
  });
9561
- }, Lu = ({ options: e, paramsData: n } = {}) => {
9561
+ }, Gu = ({ options: e, paramsData: n } = {}) => {
9562
9562
  const { transactionRecordApi: a } = Fe();
9563
9563
  return Q({
9564
9564
  queryKey: ["transactionRecord", "event"],
9565
9565
  queryFn: () => a(n, "event"),
9566
9566
  ...e
9567
9567
  });
9568
- }, Gu = ({ options: e, paramsData: n } = {}) => {
9568
+ }, Mu = ({ options: e, paramsData: n } = {}) => {
9569
9569
  const { transactionRecordApi: a } = Fe();
9570
9570
  return Q({
9571
9571
  queryKey: ["transactionRecord", "rebate"],
9572
9572
  queryFn: () => a(n, "rebate"),
9573
9573
  ...e
9574
9574
  });
9575
- }, Mu = ({ options: e, paramsData: n } = {}) => {
9575
+ }, Ru = ({ options: e, paramsData: n } = {}) => {
9576
9576
  const { treasureRecordApi: a } = Fe();
9577
9577
  return Q({
9578
9578
  queryKey: ["treasureRecord", n],
9579
9579
  queryFn: () => a(n),
9580
9580
  ...e
9581
9581
  });
9582
- }, Ru = ({ options: e, paramsData: n } = {}) => {
9582
+ }, Pu = ({ options: e, paramsData: n } = {}) => {
9583
9583
  const { snCashRecordApi: a } = Fe();
9584
9584
  return Q({
9585
9585
  queryKey: ["snCashRecord", n],
9586
9586
  queryFn: () => a(n),
9587
9587
  ...e
9588
9588
  });
9589
- }, Pu = ({ options: e, paramsData: n } = {}) => {
9589
+ }, wu = ({ options: e, paramsData: n } = {}) => {
9590
9590
  const { otherTransactionApi: a } = Fe();
9591
9591
  return Q({
9592
9592
  queryKey: ["otherTransaction", n],
9593
9593
  queryFn: () => a({ paramsData: n }),
9594
9594
  ...e
9595
9595
  });
9596
- }, wu = ({
9596
+ }, Fu = ({
9597
9597
  depositV1: e = {},
9598
9598
  depositV2: n = {},
9599
9599
  depositTransaction: a = {},
@@ -9603,7 +9603,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9603
9603
  eventTransaction: U = {},
9604
9604
  withdrawTransaction: d = {}
9605
9605
  } = {}) => {
9606
- const l = Gs(e), t = Ms(n), i = ws(a), o = Rs(r), s = Ps(u), p = As(g), m = Fs(U), f = Os(
9606
+ const l = Ms(e), t = Rs(n), i = Fs(a), o = Ps(r), s = ws(u), p = Os(g), m = As(U), f = Bs(
9607
9607
  d
9608
9608
  );
9609
9609
  return {
@@ -9616,24 +9616,24 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9616
9616
  eventTransaction: m,
9617
9617
  withdrawTransaction: f
9618
9618
  };
9619
- }, cr = "3.8.0", Bs = cr, Ja = typeof Buffer == "function", Fn = typeof TextDecoder == "function" ? new TextDecoder("utf-8", { ignoreBOM: !0 }) : void 0, An = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Hs = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", et = Array.prototype.slice.call(Hs), ut = ((e) => {
9619
+ }, fr = "3.8.0", Hs = fr, Za = typeof Buffer == "function", An = typeof TextDecoder == "function" ? new TextDecoder("utf-8", { ignoreBOM: !0 }) : void 0, On = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Ws = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", at = Array.prototype.slice.call(Ws), pt = ((e) => {
9620
9620
  let n = {};
9621
9621
  return e.forEach((a, r) => n[a] = r), n;
9622
- })(et), Ws = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Oe = String.fromCharCode.bind(String), On = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), fr = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), _r = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), yr = (e) => {
9622
+ })(at), zs = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Oe = String.fromCharCode.bind(String), Bn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), _r = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), yr = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), Ur = (e) => {
9623
9623
  let n, a, r, u, g = "";
9624
9624
  const U = e.length % 3;
9625
9625
  for (let d = 0; d < e.length; ) {
9626
9626
  if ((a = e.charCodeAt(d++)) > 255 || (r = e.charCodeAt(d++)) > 255 || (u = e.charCodeAt(d++)) > 255)
9627
9627
  throw new TypeError("invalid character found");
9628
- n = a << 16 | r << 8 | u, g += et[n >> 18 & 63] + et[n >> 12 & 63] + et[n >> 6 & 63] + et[n & 63];
9628
+ n = a << 16 | r << 8 | u, g += at[n >> 18 & 63] + at[n >> 12 & 63] + at[n >> 6 & 63] + at[n & 63];
9629
9629
  }
9630
9630
  return U ? g.slice(0, U - 3) + "===".substring(U) : g;
9631
- }, Ei = typeof btoa == "function" ? (e) => btoa(e) : Ja ? (e) => Buffer.from(e, "binary").toString("base64") : yr, di = Ja ? (e) => Buffer.from(e).toString("base64") : (e) => {
9631
+ }, Ni = typeof btoa == "function" ? (e) => btoa(e) : Za ? (e) => Buffer.from(e, "binary").toString("base64") : Ur, ci = Za ? (e) => Buffer.from(e).toString("base64") : (e) => {
9632
9632
  let a = [];
9633
9633
  for (let r = 0, u = e.length; r < u; r += 4096)
9634
9634
  a.push(Oe.apply(null, e.subarray(r, r + 4096)));
9635
- return Ei(a.join(""));
9636
- }, $t = (e, n = !1) => n ? fr(di(e)) : di(e), zs = (e) => {
9635
+ return Ni(a.join(""));
9636
+ }, Qt = (e, n = !1) => n ? _r(ci(e)) : ci(e), Is = (e) => {
9637
9637
  if (e.length < 2) {
9638
9638
  var n = e.charCodeAt(0);
9639
9639
  return n < 128 ? e : n < 2048 ? Oe(192 | n >>> 6) + Oe(128 | n & 63) : Oe(224 | n >>> 12 & 15) + Oe(128 | n >>> 6 & 63) + Oe(128 | n & 63);
@@ -9641,7 +9641,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9641
9641
  var n = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
9642
9642
  return Oe(240 | n >>> 18 & 7) + Oe(128 | n >>> 12 & 63) + Oe(128 | n >>> 6 & 63) + Oe(128 | n & 63);
9643
9643
  }
9644
- }, Is = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Ur = (e) => e.replace(Is, zs), Bn = Ja ? (e) => Buffer.from(e, "utf8").toString("base64") : An ? (e) => di(An.encode(e)) : (e) => Ei(Ur(e)), Ia = (e, n = !1) => n ? fr(Bn(e)) : Bn(e), Hn = (e) => Ia(e, !0), Vs = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Js = (e) => {
9644
+ }, Vs = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, br = (e) => e.replace(Vs, Is), Hn = Za ? (e) => Buffer.from(e, "utf8").toString("base64") : On ? (e) => ci(On.encode(e)) : (e) => Ni(br(e)), Va = (e, n = !1) => n ? _r(Hn(e)) : Hn(e), Wn = (e) => Va(e, !0), Js = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Zs = (e) => {
9645
9645
  switch (e.length) {
9646
9646
  case 4:
9647
9647
  var n = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), a = n - 65536;
@@ -9651,71 +9651,71 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9651
9651
  default:
9652
9652
  return Oe((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
9653
9653
  }
9654
- }, br = (e) => e.replace(Vs, Js), Cr = (e) => {
9655
- if (e = e.replace(/\s+/g, ""), !Ws.test(e))
9654
+ }, Cr = (e) => e.replace(Js, Zs), vr = (e) => {
9655
+ if (e = e.replace(/\s+/g, ""), !zs.test(e))
9656
9656
  throw new TypeError("malformed base64.");
9657
9657
  e += "==".slice(2 - (e.length & 3));
9658
9658
  let n, a, r, u = [];
9659
9659
  for (let g = 0; g < e.length; )
9660
- n = ut[e.charAt(g++)] << 18 | ut[e.charAt(g++)] << 12 | (a = ut[e.charAt(g++)]) << 6 | (r = ut[e.charAt(g++)]), a === 64 ? u.push(Oe(n >> 16 & 255)) : r === 64 ? u.push(Oe(n >> 16 & 255, n >> 8 & 255)) : u.push(Oe(n >> 16 & 255, n >> 8 & 255, n & 255));
9660
+ n = pt[e.charAt(g++)] << 18 | pt[e.charAt(g++)] << 12 | (a = pt[e.charAt(g++)]) << 6 | (r = pt[e.charAt(g++)]), a === 64 ? u.push(Oe(n >> 16 & 255)) : r === 64 ? u.push(Oe(n >> 16 & 255, n >> 8 & 255)) : u.push(Oe(n >> 16 & 255, n >> 8 & 255, n & 255));
9661
9661
  return u.join("");
9662
- }, Ni = typeof atob == "function" ? (e) => atob(_r(e)) : Ja ? (e) => Buffer.from(e, "base64").toString("binary") : Cr, vr = Ja ? (e) => On(Buffer.from(e, "base64")) : (e) => On(Ni(e).split("").map((n) => n.charCodeAt(0))), hr = (e) => vr(Tr(e)), Zs = Ja ? (e) => Buffer.from(e, "base64").toString("utf8") : Fn ? (e) => Fn.decode(vr(e)) : (e) => br(Ni(e)), Tr = (e) => _r(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), ci = (e) => Zs(Tr(e)), Ks = (e) => {
9662
+ }, Li = typeof atob == "function" ? (e) => atob(yr(e)) : Za ? (e) => Buffer.from(e, "base64").toString("binary") : vr, hr = Za ? (e) => Bn(Buffer.from(e, "base64")) : (e) => Bn(Li(e).split("").map((n) => n.charCodeAt(0))), Tr = (e) => hr(kr(e)), Ks = Za ? (e) => Buffer.from(e, "base64").toString("utf8") : An ? (e) => An.decode(hr(e)) : (e) => Cr(Li(e)), kr = (e) => yr(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), fi = (e) => Ks(kr(e)), qs = (e) => {
9663
9663
  if (typeof e != "string")
9664
9664
  return !1;
9665
9665
  const n = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
9666
9666
  return !/[^\s0-9a-zA-Z\+/]/.test(n) || !/[^\s0-9a-zA-Z\-_]/.test(n);
9667
- }, kr = (e) => ({
9667
+ }, xr = (e) => ({
9668
9668
  value: e,
9669
9669
  enumerable: !1,
9670
9670
  writable: !0,
9671
9671
  configurable: !0
9672
- }), xr = function() {
9673
- const e = (n, a) => Object.defineProperty(String.prototype, n, kr(a));
9672
+ }), Sr = function() {
9673
+ const e = (n, a) => Object.defineProperty(String.prototype, n, xr(a));
9674
9674
  e("fromBase64", function() {
9675
- return ci(this);
9675
+ return fi(this);
9676
9676
  }), e("toBase64", function(n) {
9677
- return Ia(this, n);
9677
+ return Va(this, n);
9678
9678
  }), e("toBase64URI", function() {
9679
- return Ia(this, !0);
9679
+ return Va(this, !0);
9680
9680
  }), e("toBase64URL", function() {
9681
- return Ia(this, !0);
9681
+ return Va(this, !0);
9682
9682
  }), e("toUint8Array", function() {
9683
- return hr(this);
9683
+ return Tr(this);
9684
9684
  });
9685
- }, Sr = function() {
9686
- const e = (n, a) => Object.defineProperty(Uint8Array.prototype, n, kr(a));
9685
+ }, Dr = function() {
9686
+ const e = (n, a) => Object.defineProperty(Uint8Array.prototype, n, xr(a));
9687
9687
  e("toBase64", function(n) {
9688
- return $t(this, n);
9688
+ return Qt(this, n);
9689
9689
  }), e("toBase64URI", function() {
9690
- return $t(this, !0);
9690
+ return Qt(this, !0);
9691
9691
  }), e("toBase64URL", function() {
9692
- return $t(this, !0);
9692
+ return Qt(this, !0);
9693
9693
  });
9694
- }, qs = () => {
9695
- xr(), Sr();
9696
- }, $s = {
9697
- version: cr,
9698
- VERSION: Bs,
9699
- atob: Ni,
9700
- atobPolyfill: Cr,
9701
- btoa: Ei,
9702
- btoaPolyfill: yr,
9703
- fromBase64: ci,
9704
- toBase64: Ia,
9705
- encode: Ia,
9706
- encodeURI: Hn,
9707
- encodeURL: Hn,
9708
- utob: Ur,
9709
- btou: br,
9710
- decode: ci,
9711
- isValid: Ks,
9712
- fromUint8Array: $t,
9713
- toUint8Array: hr,
9714
- extendString: xr,
9715
- extendUint8Array: Sr,
9716
- extendBuiltins: qs
9717
- }, Fu = (e, n) => {
9718
- const { playGameApi: a } = vi();
9694
+ }, $s = () => {
9695
+ Sr(), Dr();
9696
+ }, Qs = {
9697
+ version: fr,
9698
+ VERSION: Hs,
9699
+ atob: Li,
9700
+ atobPolyfill: vr,
9701
+ btoa: Ni,
9702
+ btoaPolyfill: Ur,
9703
+ fromBase64: fi,
9704
+ toBase64: Va,
9705
+ encode: Va,
9706
+ encodeURI: Wn,
9707
+ encodeURL: Wn,
9708
+ utob: br,
9709
+ btou: Cr,
9710
+ decode: fi,
9711
+ isValid: qs,
9712
+ fromUint8Array: Qt,
9713
+ toUint8Array: Tr,
9714
+ extendString: Sr,
9715
+ extendUint8Array: Dr,
9716
+ extendBuiltins: $s
9717
+ }, Au = (e, n) => {
9718
+ const { playGameApi: a } = hi();
9719
9719
  return Q({
9720
9720
  queryKey: ["playGame"],
9721
9721
  queryFn: async () => {
@@ -9742,7 +9742,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9742
9742
  supportPortrait: s,
9743
9743
  isHtmlCode: m,
9744
9744
  gameUrl: p,
9745
- decodeGameUrl: $s.decode(p),
9745
+ decodeGameUrl: Qs.decode(p),
9746
9746
  message: f,
9747
9747
  betLimitInfo: c
9748
9748
  };
@@ -9750,39 +9750,39 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9750
9750
  enabled: !!e?.gameCode,
9751
9751
  ...n
9752
9752
  });
9753
- }, Dr = () => {
9753
+ }, Er = () => {
9754
9754
  const { client: e } = le(), n = H(async () => await e.get("/rebate"), [e]), a = H(async () => await e.post("/withdraw/rebate"), [e]);
9755
9755
  return {
9756
9756
  currentRebateApi: n,
9757
9757
  receiveRebateApi: a
9758
9758
  };
9759
- }, Qs = ({ options: e } = {}) => {
9760
- const { currentRebateApi: n } = Dr();
9759
+ }, js = ({ options: e } = {}) => {
9760
+ const { currentRebateApi: n } = Er();
9761
9761
  return Q({
9762
9762
  queryKey: ["currentRebate"],
9763
9763
  queryFn: () => n(),
9764
- select: (a) => $r(a, ["code", "status"]),
9764
+ select: (a) => Qr(a, ["code", "status"]),
9765
9765
  ...e
9766
9766
  });
9767
- }, js = ({ options: e } = {}) => {
9768
- const { receiveRebateApi: n } = Dr();
9767
+ }, Ys = ({ options: e } = {}) => {
9768
+ const { receiveRebateApi: n } = Er();
9769
9769
  return ee({
9770
9770
  mutationKey: ["receiveRebate"],
9771
9771
  mutationFn: async () => n(),
9772
9772
  ...e
9773
9773
  });
9774
- }, Au = ({
9774
+ }, Ou = ({
9775
9775
  options: e = {
9776
9776
  currentRebate: {},
9777
9777
  receiveRebate: {}
9778
9778
  }
9779
9779
  } = {}) => {
9780
- const n = Qs({ options: e.currentRebate }), a = js({ options: e.receiveRebate });
9780
+ const n = js({ options: e.currentRebate }), a = Ys({ options: e.receiveRebate });
9781
9781
  return {
9782
9782
  currentRebate: n,
9783
9783
  receiveRebate: a
9784
9784
  };
9785
- }, it = () => {
9785
+ }, nt = () => {
9786
9786
  const { client: e } = le(), n = H(
9787
9787
  async ({ uid: U, params: d } = {}) => await e.get(`/memberRewards${U ? `/${U}` : ""}`, {
9788
9788
  params: d
@@ -9801,8 +9801,8 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9801
9801
  redeemRewardApi: u,
9802
9802
  historyRewardApi: g
9803
9803
  };
9804
- }, Ys = ({ options: e, formData: n } = {}) => {
9805
- const { rewardListApi: a } = it();
9804
+ }, Xs = ({ options: e, formData: n } = {}) => {
9805
+ const { rewardListApi: a } = nt();
9806
9806
  return Q({
9807
9807
  queryKey: ["rewardsList"],
9808
9808
  queryFn: () => {
@@ -9831,8 +9831,8 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9831
9831
  rewardUid: p,
9832
9832
  rewardWagering: U,
9833
9833
  rewardAmount: d,
9834
- rewardBg: Xn(),
9835
- rewardIcon: Yn("win")
9834
+ rewardBg: er(),
9835
+ rewardIcon: Xn("win")
9836
9836
  };
9837
9837
  });
9838
9838
  return {
@@ -9848,35 +9848,35 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9848
9848
  },
9849
9849
  ...e
9850
9850
  });
9851
- }, Xs = ({ options: e } = {}) => {
9852
- const { redeemRewardApi: n } = it();
9851
+ }, em = ({ options: e } = {}) => {
9852
+ const { redeemRewardApi: n } = nt();
9853
9853
  return ee({
9854
9854
  mutationKey: ["redeemReward"],
9855
9855
  mutationFn: async (a) => await n(a),
9856
9856
  ...e
9857
9857
  });
9858
- }, em = ({ options: e } = {}) => {
9859
- const { unUsedRewardListApi: n } = it();
9858
+ }, am = ({ options: e } = {}) => {
9859
+ const { unUsedRewardListApi: n } = nt();
9860
9860
  return Q({
9861
9861
  queryKey: ["unUsedRewardsList"],
9862
9862
  queryFn: n,
9863
9863
  ...e
9864
9864
  });
9865
- }, am = ({ options: e } = {}) => {
9866
- const { expiredRewardListApi: n } = it();
9865
+ }, tm = ({ options: e } = {}) => {
9866
+ const { expiredRewardListApi: n } = nt();
9867
9867
  return Q({
9868
9868
  queryKey: ["expiredRewardsList"],
9869
9869
  queryFn: n,
9870
9870
  ...e
9871
9871
  });
9872
- }, tm = ({ options: e } = {}) => {
9873
- const { historyRewardApi: n } = it();
9872
+ }, im = ({ options: e } = {}) => {
9873
+ const { historyRewardApi: n } = nt();
9874
9874
  return Q({
9875
9875
  queryKey: ["historyRewardsList"],
9876
9876
  queryFn: n,
9877
9877
  ...e
9878
9878
  });
9879
- }, Ou = ({
9879
+ }, Bu = ({
9880
9880
  options: e = {
9881
9881
  rewardsList: {},
9882
9882
  redeemReward: {},
@@ -9885,13 +9885,13 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9885
9885
  historyRewardsList: {}
9886
9886
  }
9887
9887
  } = {}) => {
9888
- const n = Ys({ options: e.rewardsList }), a = Xs({
9888
+ const n = Xs({ options: e.rewardsList }), a = em({
9889
9889
  options: e.redeemReward
9890
- }), r = em({
9890
+ }), r = am({
9891
9891
  options: e.unUsedRewardsList
9892
- }), u = am({
9892
+ }), u = tm({
9893
9893
  options: e.expiredRewardsList
9894
- }), g = tm({
9894
+ }), g = im({
9895
9895
  options: e.historyRewardsList
9896
9896
  });
9897
9897
  return {
@@ -9901,7 +9901,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9901
9901
  expiredRewardsListQuery: u,
9902
9902
  historyRewardsListQuery: g
9903
9903
  };
9904
- }, Er = () => {
9904
+ }, Nr = () => {
9905
9905
  const { client: e } = le(), n = H(
9906
9906
  async (r = {}) => {
9907
9907
  const {
@@ -9936,8 +9936,8 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9936
9936
  treasureListApi: n,
9937
9937
  redeemTreasureApi: a
9938
9938
  };
9939
- }, Bu = ({ paramsData: e, options: n } = {}) => {
9940
- const { client: a, lng: r } = le(), u = Ze(r || "tw"), { treasureListApi: g } = Er();
9939
+ }, Hu = ({ paramsData: e, options: n } = {}) => {
9940
+ const { client: a, lng: r } = le(), u = Ze(r || "tw"), { treasureListApi: g } = Nr();
9941
9941
  return Q({
9942
9942
  queryKey: ["treasureList", e],
9943
9943
  queryFn: () => g(e),
@@ -9964,21 +9964,21 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9964
9964
  },
9965
9965
  ...n
9966
9966
  });
9967
- }, Hu = ({ options: e } = {}) => {
9968
- const { redeemTreasureApi: n } = Er();
9967
+ }, Wu = ({ options: e } = {}) => {
9968
+ const { redeemTreasureApi: n } = Nr();
9969
9969
  return ee({
9970
9970
  mutationKey: ["redeemTreasure"],
9971
9971
  mutationFn: async (a) => n(a),
9972
9972
  ...e
9973
9973
  });
9974
- }, Nr = () => {
9974
+ }, Lr = () => {
9975
9975
  const { client: e } = le(), n = H(async () => await e.get("/vip/list"), [e]), a = H(async () => await e.get("/vip/check"), [e]);
9976
9976
  return {
9977
9977
  vipListApi: n,
9978
9978
  vipInfoApi: a
9979
9979
  };
9980
- }, Wu = ({ options: e } = {}) => {
9981
- const { store: n } = le(), a = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: r } = Nr();
9980
+ }, zu = ({ options: e } = {}) => {
9981
+ const { store: n } = le(), a = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: r } = Lr();
9982
9982
  return Q({
9983
9983
  queryKey: ["vipInfo"],
9984
9984
  queryFn: async () => r(),
@@ -9988,7 +9988,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
9988
9988
  currentStatus: t.status,
9989
9989
  currentOverflow: t.promotion_overflow,
9990
9990
  type: t.type
9991
- })), l = Qr(d, "type");
9991
+ })), l = jr(d, "type");
9992
9992
  return {
9993
9993
  currentWager: g.wagering || g.value,
9994
9994
  currentLevel: a.vip_level,
@@ -10002,8 +10002,8 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10002
10002
  },
10003
10003
  ...e
10004
10004
  });
10005
- }, im = ({ options: e } = {}) => {
10006
- const { store: n } = le(), a = n?.getState()?.isWalletCurrency || n?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: r } = Nr();
10005
+ }, nm = ({ options: e } = {}) => {
10006
+ const { store: n } = le(), a = n?.getState()?.isWalletCurrency || n?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: r } = Lr();
10007
10007
  return Q({
10008
10008
  queryKey: ["vipList"],
10009
10009
  queryFn: async () => {
@@ -10011,7 +10011,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10011
10011
  return u || r();
10012
10012
  },
10013
10013
  select: (u) => {
10014
- const g = Ye(u) ? u : u.data;
10014
+ const g = Xe(u) ? u : u.data;
10015
10015
  return De(g, (d) => {
10016
10016
  const {
10017
10017
  vip_criteria: l,
@@ -10028,7 +10028,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10028
10028
  };
10029
10029
  return {
10030
10030
  ...d,
10031
- vipImageUrl: `${$e}/vip/vip${d.level}_l.avif`,
10031
+ vipImageUrl: `${Qe}/vip/vip${d.level}_l.avif`,
10032
10032
  vipRule: p,
10033
10033
  vipWithdraw: m,
10034
10034
  vipWithdrawFeeRate: f,
@@ -10039,12 +10039,12 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10039
10039
  },
10040
10040
  ...e
10041
10041
  });
10042
- }, zu = ({ options: e } = {
10042
+ }, Iu = ({ options: e } = {
10043
10043
  vipList: {}
10044
10044
  }) => ({
10045
- vipList: im({ options: e.vipList })
10046
- }), Iu = ({ onMessage: e } = {}) => {
10047
- const [n, a] = _a(!1), [r, u] = _a([]), g = ie(e);
10045
+ vipList: nm({ options: e.vipList })
10046
+ }), Vu = ({ onMessage: e } = {}) => {
10047
+ const [n, a] = ya(!1), [r, u] = ya([]), g = ie(e);
10048
10048
  g.current = e;
10049
10049
  const U = H((o) => {
10050
10050
  const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("zh-TW");
@@ -10091,8 +10091,8 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10091
10091
  webViewRestartMoneyMachine: i,
10092
10092
  logs: r
10093
10093
  };
10094
- }, pt = "game-icon-ds88", Vu = ({ gameData: e = {} } = {}) => {
10095
- const { lng: n } = le(), a = ll(n), {
10094
+ }, gt = "game-icon-ds88", Ju = ({ gameData: e = {} } = {}) => {
10095
+ const { lng: n } = le(), a = ol(n), {
10096
10096
  gameCode: r,
10097
10097
  // 遊戲代碼
10098
10098
  gameUid: u,
@@ -10135,7 +10135,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10135
10135
  // 越南名稱
10136
10136
  gameNameTw: D
10137
10137
  // 繁體中文名稱
10138
- } = e, M = e?.[`gameName${a}`], A = `${ot}/${pt}/${n}/${t}/${rt(r, / /g, "_")}.webp`, k = `${ot}/${pt}/${n}/${t}/${rt(r, / /g, "_")}.gif`, S = `${ot}/${pt}/en/${t}/${rt(r, / /g, "_")}.webp`, F = `${ot}/${pt}/en/${t}/${rt(r, / /g, "_")}.gif`;
10138
+ } = e, M = e?.[`gameName${a}`], A = `${st}/${gt}/${n}/${t}/${lt(r, / /g, "_")}.webp`, k = `${st}/${gt}/${n}/${t}/${lt(r, / /g, "_")}.gif`, S = `${st}/${gt}/en/${t}/${lt(r, / /g, "_")}.webp`, F = `${st}/${gt}/en/${t}/${lt(r, / /g, "_")}.gif`;
10139
10139
  return {
10140
10140
  gameCode: r,
10141
10141
  gameUid: u,
@@ -10164,7 +10164,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10164
10164
  isInvalidBet: y,
10165
10165
  haveJackpot: _
10166
10166
  };
10167
- }, nm = (e, n = !1) => jr([
10167
+ }, rm = (e, n = !1) => Yr([
10168
10168
  "EVO",
10169
10169
  "IMSPRIBE",
10170
10170
  "SABA",
@@ -10175,7 +10175,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10175
10175
  "HACK",
10176
10176
  "NAGA",
10177
10177
  "RSG"
10178
- ], e) && n ? `${e}_dark` : e, Ju = ({ platformData: e, darkMode: n } = {}) => {
10178
+ ], e) && n ? `${e}_dark` : e, Zu = ({ platformData: e, darkMode: n } = {}) => {
10179
10179
  const {
10180
10180
  SubPlatformEnum: a,
10181
10181
  // 子平台枚舉
@@ -10197,7 +10197,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10197
10197
  // 臨時維護開始時間
10198
10198
  temp_maintenance_end_time: o
10199
10199
  // 臨時維護結束時間
10200
- } = e || {}, s = `${$e}/${er}/${nm(r, n)}.png`;
10200
+ } = e || {}, s = `${Qe}/${ar}/${rm(r, n)}.png`;
10201
10201
  return {
10202
10202
  subPlatformEnum: a,
10203
10203
  platformEnum: r,
@@ -10211,19 +10211,19 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10211
10211
  tempMaintenanceEndTime: o,
10212
10212
  platformImageUrl: s
10213
10213
  };
10214
- }, rm = (e = {}) => !Yt(e) || Pe(e) ? [] : Xt(e), Wn = (e = []) => !Ye(e) || Pe(e) ? [] : De(e, "platform"), lm = (e = []) => !Ye(e) || Pe(e) ? [] : De(e, "gameTypeName"), om = (e = []) => !Ye(e) || Pe(e) ? [] : De(e, "game_subtype"), sm = (e = {}) => !Yt(e) || Pe(e) ? [] : Xt(e), mm = (e = [], n = []) => !Ye(e) || Pe(e) ? {} : !Ye(n) || Pe(n) ? {} : e.reduce((a, r) => {
10214
+ }, lm = (e = {}) => !Xt(e) || Pe(e) ? [] : ei(e), zn = (e = []) => !Xe(e) || Pe(e) ? [] : De(e, "platform"), om = (e = []) => !Xe(e) || Pe(e) ? [] : De(e, "gameTypeName"), sm = (e = []) => !Xe(e) || Pe(e) ? [] : De(e, "game_subtype"), mm = (e = {}) => !Xt(e) || Pe(e) ? [] : ei(e), um = (e = [], n = []) => !Xe(e) || Pe(e) ? {} : !Xe(n) || Pe(n) ? {} : e.reduce((a, r) => {
10215
10215
  const u = n.map((g) => g.game_subtype);
10216
10216
  return u.forEach((g) => {
10217
10217
  a[g] = a[g] || [];
10218
10218
  }), u.includes(r.game_subtype) && a[r.game_subtype].push(r), a;
10219
- }, {}), um = ({
10219
+ }, {}), pm = ({
10220
10220
  gameTypes: e = [],
10221
10221
  platforms: n = [],
10222
10222
  gameList: a = {},
10223
10223
  allGameTypes: r = [],
10224
10224
  allPlatforms: u = []
10225
- }) => !Ye(e) || !Ye(n) ? {} : Pe(a) ? {} : e.reduce((g, U) => {
10226
- const d = sl({
10225
+ }) => !Xe(e) || !Xe(n) ? {} : Pe(a) ? {} : e.reduce((g, U) => {
10226
+ const d = ml({
10227
10227
  gameTypeName: U,
10228
10228
  platforms: n,
10229
10229
  gameList: a,
@@ -10231,17 +10231,17 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10231
10231
  allPlatforms: u
10232
10232
  });
10233
10233
  return Pe(d) || (g[U] = d), g;
10234
- }, {}), Zu = ({
10234
+ }, {}), Ku = ({
10235
10235
  types: e = [],
10236
10236
  platforms: n = [],
10237
10237
  allGameType: a = [],
10238
10238
  allGamePlatform: r = [],
10239
10239
  allGameList: u = {}
10240
10240
  } = {}) => !Array.isArray(e) || !Array.isArray(n) ? {} : e.reduce((g, U) => {
10241
- const d = tr(a, U);
10241
+ const d = ir(a, U);
10242
10242
  if (!d) return g;
10243
10243
  const l = u[d] || [], t = n.reduce((i, o) => {
10244
- const s = ml({
10244
+ const s = ul({
10245
10245
  platformName: o,
10246
10246
  gamesOfType: l,
10247
10247
  allPlatforms: r
@@ -10249,10 +10249,10 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10249
10249
  return Pe(s) ? i : { ...i, [o]: s };
10250
10250
  }, {});
10251
10251
  return Pe(t) || (g[U] = t), g;
10252
- }, {}), pm = (e = {}) => !Yt(e) || Pe(e) ? {} : Object.values(e).reduce((a, r) => (Object.entries(r).forEach(([u, g]) => {
10252
+ }, {}), gm = (e = {}) => !Xt(e) || Pe(e) ? {} : Object.values(e).reduce((a, r) => (Object.entries(r).forEach(([u, g]) => {
10253
10253
  a[u] ? a[u] = [...a[u], ...g] : a[u] = g;
10254
- }), a), {}), gm = (e = {}) => {
10255
- if (!Yt(e) || Pe(e)) return {};
10254
+ }), a), {}), dm = (e = {}) => {
10255
+ if (!Xt(e) || Pe(e)) return {};
10256
10256
  const n = {};
10257
10257
  for (const [a, r] of Object.entries(e)) {
10258
10258
  n[a] = {};
@@ -10262,7 +10262,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10262
10262
  }
10263
10263
  }
10264
10264
  return n;
10265
- }, dm = ({
10265
+ }, cm = ({
10266
10266
  allGameList: e = {},
10267
10267
  allGamePlatform: n = [],
10268
10268
  allGameType: a = [],
@@ -10275,26 +10275,26 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10275
10275
  highlightGames: t = [],
10276
10276
  originPlatform: i = []
10277
10277
  }) => {
10278
- const o = rm(e), s = Wn(n), p = lm(a), m = om(r), f = Wn(i), c = sm(d), y = um({
10278
+ const o = lm(e), s = zn(n), p = om(a), m = sm(r), f = zn(i), c = mm(d), y = pm({
10279
10279
  gameTypes: p,
10280
10280
  platforms: s,
10281
10281
  gameList: e,
10282
10282
  allGameTypes: a,
10283
10283
  allPlatforms: n
10284
10284
  }), _ = De(n, (M) => {
10285
- const A = `${$e}/${er}/${M.platformEnum}.png`;
10285
+ const A = `${Qe}/${ar}/${M.platformEnum}.png`;
10286
10286
  return {
10287
10287
  ...M,
10288
10288
  platformImageUrl: A
10289
10289
  };
10290
- }), b = mm(o, r), C = pm(y), v = gm(C), T = qn(y).reduce(
10290
+ }), b = um(o, r), C = gm(y), v = dm(C), T = $n(y).reduce(
10291
10291
  (M, [A, k]) => {
10292
- const S = Xt(Yr(k));
10292
+ const S = ei(Xr(k));
10293
10293
  return M[A] = S, M;
10294
10294
  },
10295
10295
  {}
10296
- ), D = Gi(y).reduce((M, A) => {
10297
- const k = Gi(y[A]);
10296
+ ), D = Mi(y).reduce((M, A) => {
10297
+ const k = Mi(y[A]);
10298
10298
  return M[A] = k, M;
10299
10299
  }, {});
10300
10300
  return {
@@ -10330,12 +10330,12 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10330
10330
  favorite: c
10331
10331
  }
10332
10332
  };
10333
- }, Ku = (e = []) => !Ye(e) || Pe(e) ? [] : Xt(e, (n) => Pe(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((a) => ({
10333
+ }, qu = (e = []) => !Xe(e) || Pe(e) ? [] : ei(e, (n) => Pe(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((a) => ({
10334
10334
  ...n,
10335
10335
  ...a,
10336
10336
  platform: a.SubPlatformEnum,
10337
10337
  platformEnum: a.SubPlatformEnum
10338
- }))), cm = {
10338
+ }))), fm = {
10339
10339
  platform: { all: [], origin: [], originPlatform: [], byGameType: {} },
10340
10340
  type: { main: [], sub: [], originMain: [], originSub: [] },
10341
10341
  gameList: {
@@ -10355,7 +10355,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10355
10355
  byGameType: {}
10356
10356
  },
10357
10357
  user: { favorite: [] }
10358
- }, fm = ({ enabled: e = !0 } = {}) => {
10358
+ }, _m = ({ enabled: e = !0 } = {}) => {
10359
10359
  const { getToken: n } = le(), { userFavoriteGameApi: a, userGameListApi: r } = re(), { data: u, isLoading: g, error: U, refetch: d } = Q({
10360
10360
  queryKey: ["gamesInfo"],
10361
10361
  queryFn: async () => {
@@ -10365,7 +10365,7 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10365
10365
  } catch (i) {
10366
10366
  console.warn("Failed to fetch favorite games:", i);
10367
10367
  }
10368
- return dm({
10368
+ return cm({
10369
10369
  allGameList: t.gameTypeGroup || window.gameTypeGroup || {},
10370
10370
  allGamePlatform: t.platforms || window.platforms || [],
10371
10371
  allGameType: t.gameType || window.gameType || [],
@@ -10388,12 +10388,12 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
10388
10388
  refetchOnWindowFocus: !1
10389
10389
  });
10390
10390
  return {
10391
- gamesInfo: u || cm,
10391
+ gamesInfo: u || fm,
10392
10392
  isLoading: g,
10393
10393
  error: U,
10394
10394
  refetch: d
10395
10395
  };
10396
- }, _m = (e = !1) => {
10396
+ }, ym = (e = !1) => {
10397
10397
  if (!e && window.gameTypeGroup) {
10398
10398
  console.log("window.gameTypeGroup 已存在,跳過初始化 mock 資料");
10399
10399
  return;
@@ -36920,29 +36920,29 @@ const vu = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => Ss({
36920
36920
  is_invalid_bet: 0
36921
36921
  }
36922
36922
  });
36923
- }, ym = ({
36923
+ }, Um = ({
36924
36924
  children: e,
36925
36925
  autoFetch: n = !1,
36926
36926
  mockData: a = !1
36927
36927
  }) => {
36928
36928
  ue(() => {
36929
- a && _m(!0);
36929
+ a && ym(!0);
36930
36930
  }, [a]);
36931
- const r = fm({ enabled: n });
36932
- return /* @__PURE__ */ ce.jsx(ar.Provider, { value: r, children: e });
36931
+ const r = _m({ enabled: n });
36932
+ return /* @__PURE__ */ ce.jsx(tr.Provider, { value: r, children: e });
36933
36933
  };
36934
- function qu({
36934
+ function $u({
36935
36935
  children: e,
36936
36936
  autoFetchGamesInfo: n = !1,
36937
36937
  useMockData: a = !1,
36938
36938
  queryClient: r,
36939
36939
  ...u
36940
36940
  }) {
36941
- const g = Wa(() => wi(u), [u]), U = Wa(
36942
- () => wi({ ...u, formData: !0 }),
36941
+ const g = za(() => Fi(u), [u]), U = za(
36942
+ () => Fi({ ...u, formData: !0 }),
36943
36943
  [u]
36944
- ), d = Wa(
36945
- () => new Jr({
36944
+ ), d = za(
36945
+ () => new Zr({
36946
36946
  defaultOptions: {
36947
36947
  queries: {
36948
36948
  refetchOnWindowFocus: !1,
@@ -36952,8 +36952,8 @@ function qu({
36952
36952
  }),
36953
36953
  []
36954
36954
  ), l = r || d;
36955
- return /* @__PURE__ */ ce.jsx(Zr, { client: l, children: /* @__PURE__ */ ce.jsx($n.Provider, { value: { client: g, formDataClient: U, ...u }, children: /* @__PURE__ */ ce.jsx(nl, { children: /* @__PURE__ */ ce.jsx(
36956
- ym,
36955
+ return /* @__PURE__ */ ce.jsx(Kr, { client: l, children: /* @__PURE__ */ ce.jsx(Qn.Provider, { value: { client: g, formDataClient: U, ...u }, children: /* @__PURE__ */ ce.jsx(rl, { children: /* @__PURE__ */ ce.jsx(
36956
+ Um,
36957
36957
  {
36958
36958
  autoFetch: n,
36959
36959
  mockData: a,
@@ -36961,14 +36961,14 @@ function qu({
36961
36961
  }
36962
36962
  ) }) }) });
36963
36963
  }
36964
- const $u = () => {
36965
- const e = Sa(), {
36964
+ const Qu = () => {
36965
+ const e = Da(), {
36966
36966
  mutate: n,
36967
36967
  isPending: a,
36968
36968
  isSuccess: r,
36969
36969
  isError: u,
36970
36970
  error: g
36971
- } = ts({
36971
+ } = is({
36972
36972
  options: {
36973
36973
  onSuccess: () => {
36974
36974
  e.invalidateQueries({
@@ -36982,9 +36982,9 @@ const $u = () => {
36982
36982
  const d = new URLSearchParams(window.location.search), l = d.get("bind_type"), t = d.get("bind_id");
36983
36983
  l && t && (U.current = !0, l === "line" ? n({ bindType: l, bindId: t }) : console.warn(`Unsupported bind type: ${l}`));
36984
36984
  }, [n]), null;
36985
- }, Qu = ({ onFunction: e = () => {
36985
+ }, ju = ({ onFunction: e = () => {
36986
36986
  }, buttonProps: n = {} } = {}) => {
36987
- const { lineConfig: a } = le(), r = ie(!1), u = j(a, "liffId", ""), g = new URLSearchParams(window.location.search), U = g.get("line_login"), d = g.get("trans_code"), l = g.get("line_id"), t = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: s } = ur({
36987
+ const { lineConfig: a } = le(), r = ie(!1), u = j(a, "liffId", ""), g = new URLSearchParams(window.location.search), U = g.get("line_login"), d = g.get("trans_code"), l = g.get("line_id"), t = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: s } = pr({
36988
36988
  options: {
36989
36989
  onSuccess: (m) => {
36990
36990
  e(m);
@@ -37022,23 +37022,23 @@ const $u = () => {
37022
37022
  }
37023
37023
  ) : null;
37024
37024
  };
37025
- var Um = Object.defineProperty, Qt = Object.getOwnPropertySymbols, Lr = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable, zn = (e, n, a) => n in e ? Um(e, n, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[n] = a, fi = (e, n) => {
37025
+ var bm = Object.defineProperty, jt = Object.getOwnPropertySymbols, Gr = Object.prototype.hasOwnProperty, Mr = Object.prototype.propertyIsEnumerable, In = (e, n, a) => n in e ? bm(e, n, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[n] = a, _i = (e, n) => {
37026
37026
  for (var a in n || (n = {}))
37027
- Lr.call(n, a) && zn(e, a, n[a]);
37028
- if (Qt)
37029
- for (var a of Qt(n))
37030
- Gr.call(n, a) && zn(e, a, n[a]);
37027
+ Gr.call(n, a) && In(e, a, n[a]);
37028
+ if (jt)
37029
+ for (var a of jt(n))
37030
+ Mr.call(n, a) && In(e, a, n[a]);
37031
37031
  return e;
37032
- }, _i = (e, n) => {
37032
+ }, yi = (e, n) => {
37033
37033
  var a = {};
37034
37034
  for (var r in e)
37035
- Lr.call(e, r) && n.indexOf(r) < 0 && (a[r] = e[r]);
37036
- if (e != null && Qt)
37037
- for (var r of Qt(e))
37038
- n.indexOf(r) < 0 && Gr.call(e, r) && (a[r] = e[r]);
37035
+ Gr.call(e, r) && n.indexOf(r) < 0 && (a[r] = e[r]);
37036
+ if (e != null && jt)
37037
+ for (var r of jt(e))
37038
+ n.indexOf(r) < 0 && Mr.call(e, r) && (a[r] = e[r]);
37039
37039
  return a;
37040
37040
  };
37041
- var xa;
37041
+ var Sa;
37042
37042
  ((e) => {
37043
37043
  const n = class te {
37044
37044
  /*-- Constructor (low level) and fields --*/
@@ -37543,7 +37543,7 @@ var xa;
37543
37543
  g.NUMERIC_REGEX = /^[0-9]*$/, g.ALPHANUMERIC_REGEX = /^[A-Z0-9 $%*+.\/:-]*$/, g.ALPHANUMERIC_CHARSET = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:";
37544
37544
  let U = g;
37545
37545
  e.QrSegment = g;
37546
- })(xa || (xa = {}));
37546
+ })(Sa || (Sa = {}));
37547
37547
  ((e) => {
37548
37548
  ((n) => {
37549
37549
  const a = class {
@@ -37555,7 +37555,7 @@ var xa;
37555
37555
  };
37556
37556
  a.LOW = new a(0, 1), a.MEDIUM = new a(1, 0), a.QUARTILE = new a(2, 3), a.HIGH = new a(3, 2), n.Ecc = a;
37557
37557
  })(e.QrCode || (e.QrCode = {}));
37558
- })(xa || (xa = {}));
37558
+ })(Sa || (Sa = {}));
37559
37559
  ((e) => {
37560
37560
  ((n) => {
37561
37561
  const a = class {
@@ -37572,15 +37572,15 @@ var xa;
37572
37572
  };
37573
37573
  a.NUMERIC = new a(1, [10, 12, 14]), a.ALPHANUMERIC = new a(2, [9, 11, 13]), a.BYTE = new a(4, [8, 16, 16]), a.KANJI = new a(8, [8, 10, 12]), a.ECI = new a(7, [0, 0, 0]), n.Mode = a;
37574
37574
  })(e.QrSegment || (e.QrSegment = {}));
37575
- })(xa || (xa = {}));
37576
- var Ha = xa;
37577
- var bm = {
37578
- L: Ha.QrCode.Ecc.LOW,
37579
- M: Ha.QrCode.Ecc.MEDIUM,
37580
- Q: Ha.QrCode.Ecc.QUARTILE,
37581
- H: Ha.QrCode.Ecc.HIGH
37582
- }, Mr = 128, Rr = "L", Pr = "#FFFFFF", wr = "#000000", Fr = !1, Ar = 1, Cm = 4, vm = 0, hm = 0.1;
37583
- function Or(e, n = 0) {
37575
+ })(Sa || (Sa = {}));
37576
+ var Wa = Sa;
37577
+ var Cm = {
37578
+ L: Wa.QrCode.Ecc.LOW,
37579
+ M: Wa.QrCode.Ecc.MEDIUM,
37580
+ Q: Wa.QrCode.Ecc.QUARTILE,
37581
+ H: Wa.QrCode.Ecc.HIGH
37582
+ }, Rr = 128, Pr = "L", wr = "#FFFFFF", Fr = "#000000", Ar = !1, Or = 1, vm = 4, hm = 0, Tm = 0.1;
37583
+ function Br(e, n = 0) {
37584
37584
  const a = [];
37585
37585
  return e.forEach(function(r, u) {
37586
37586
  let g = null;
@@ -37603,13 +37603,13 @@ function Or(e, n = 0) {
37603
37603
  });
37604
37604
  }), a.join("");
37605
37605
  }
37606
- function Br(e, n) {
37606
+ function Hr(e, n) {
37607
37607
  return e.slice().map((a, r) => r < n.y || r >= n.y + n.h ? a : a.map((u, g) => g < n.x || g >= n.x + n.w ? u : !1));
37608
37608
  }
37609
- function Tm(e, n, a, r) {
37609
+ function km(e, n, a, r) {
37610
37610
  if (r == null)
37611
37611
  return null;
37612
- const u = e.length + a * 2, g = Math.floor(n * hm), U = u / n, d = (r.width || g) * U, l = (r.height || g) * U, t = r.x == null ? e.length / 2 - d / 2 : r.x * U, i = r.y == null ? e.length / 2 - l / 2 : r.y * U, o = r.opacity == null ? 1 : r.opacity;
37612
+ const u = e.length + a * 2, g = Math.floor(n * Tm), U = u / n, d = (r.width || g) * U, l = (r.height || g) * U, t = r.x == null ? e.length / 2 - d / 2 : r.x * U, i = r.y == null ? e.length / 2 - l / 2 : r.y * U, o = r.opacity == null ? 1 : r.opacity;
37613
37613
  let s = null;
37614
37614
  if (r.excavate) {
37615
37615
  let m = Math.floor(t), f = Math.floor(i), c = Math.ceil(d + t - m), y = Math.ceil(l + i - f);
@@ -37618,10 +37618,10 @@ function Tm(e, n, a, r) {
37618
37618
  const p = r.crossOrigin;
37619
37619
  return { x: t, y: i, h: l, w: d, excavation: s, opacity: o, crossOrigin: p };
37620
37620
  }
37621
- function km(e, n) {
37622
- return n != null ? Math.max(Math.floor(n), 0) : e ? Cm : vm;
37621
+ function xm(e, n) {
37622
+ return n != null ? Math.max(Math.floor(n), 0) : e ? vm : hm;
37623
37623
  }
37624
- function Hr({
37624
+ function Wr({
37625
37625
  value: e,
37626
37626
  level: n,
37627
37627
  minVersion: a,
@@ -37632,10 +37632,10 @@ function Hr({
37632
37632
  boostLevel: d
37633
37633
  }) {
37634
37634
  let l = _e.useMemo(() => {
37635
- const m = (Array.isArray(e) ? e : [e]).reduce((f, c) => (f.push(...Ha.QrSegment.makeSegments(c)), f), []);
37636
- return Ha.QrCode.encodeSegments(
37635
+ const m = (Array.isArray(e) ? e : [e]).reduce((f, c) => (f.push(...Wa.QrSegment.makeSegments(c)), f), []);
37636
+ return Wa.QrCode.encodeSegments(
37637
37637
  m,
37638
- bm[n],
37638
+ Cm[n],
37639
37639
  a,
37640
37640
  void 0,
37641
37641
  void 0,
@@ -37644,7 +37644,7 @@ function Hr({
37644
37644
  }, [e, n, a, d]);
37645
37645
  const { cells: t, margin: i, numCells: o, calculatedImageSettings: s } = _e.useMemo(() => {
37646
37646
  let p = l.getModules();
37647
- const m = km(r, u), f = p.length + m * 2, c = Tm(
37647
+ const m = xm(r, u), f = p.length + m * 2, c = km(
37648
37648
  p,
37649
37649
  U,
37650
37650
  m,
@@ -37665,27 +37665,27 @@ function Hr({
37665
37665
  calculatedImageSettings: s
37666
37666
  };
37667
37667
  }
37668
- var xm = (function() {
37668
+ var Sm = (function() {
37669
37669
  try {
37670
37670
  new Path2D().addPath(new Path2D());
37671
37671
  } catch {
37672
37672
  return !1;
37673
37673
  }
37674
37674
  return !0;
37675
- })(), Sm = _e.forwardRef(
37675
+ })(), Dm = _e.forwardRef(
37676
37676
  function(n, a) {
37677
37677
  const r = n, {
37678
37678
  value: u,
37679
- size: g = Mr,
37680
- level: U = Rr,
37681
- bgColor: d = Pr,
37682
- fgColor: l = wr,
37683
- includeMargin: t = Fr,
37684
- minVersion: i = Ar,
37679
+ size: g = Rr,
37680
+ level: U = Pr,
37681
+ bgColor: d = wr,
37682
+ fgColor: l = Fr,
37683
+ includeMargin: t = Ar,
37684
+ minVersion: i = Or,
37685
37685
  boostLevel: o,
37686
37686
  marginSize: s,
37687
37687
  imageSettings: p
37688
- } = r, f = _i(r, [
37688
+ } = r, f = yi(r, [
37689
37689
  "value",
37690
37690
  "size",
37691
37691
  "level",
@@ -37696,12 +37696,12 @@ var xm = (function() {
37696
37696
  "boostLevel",
37697
37697
  "marginSize",
37698
37698
  "imageSettings"
37699
- ]), { style: c } = f, y = _i(f, ["style"]), _ = p?.src, b = _e.useRef(null), C = _e.useRef(null), v = _e.useCallback(
37699
+ ]), { style: c } = f, y = yi(f, ["style"]), _ = p?.src, b = _e.useRef(null), C = _e.useRef(null), v = _e.useCallback(
37700
37700
  (w) => {
37701
37701
  b.current = w, typeof a == "function" ? a(w) : a && (a.current = w);
37702
37702
  },
37703
37703
  [a]
37704
- ), [T, D] = _e.useState(!1), { margin: M, cells: A, numCells: k, calculatedImageSettings: S } = Hr({
37704
+ ), [T, D] = _e.useState(!1), { margin: M, cells: A, numCells: k, calculatedImageSettings: S } = Wr({
37705
37705
  value: u,
37706
37706
  level: U,
37707
37707
  minVersion: i,
@@ -37718,14 +37718,14 @@ var xm = (function() {
37718
37718
  return;
37719
37719
  let L = A;
37720
37720
  const B = C.current, O = S != null && B !== null && B.complete && B.naturalHeight !== 0 && B.naturalWidth !== 0;
37721
- O && S.excavation != null && (L = Br(
37721
+ O && S.excavation != null && (L = Hr(
37722
37722
  A,
37723
37723
  S.excavation
37724
37724
  ));
37725
37725
  const W = window.devicePixelRatio || 1;
37726
37726
  w.height = w.width = g * W;
37727
37727
  const z = g / k * W;
37728
- R.scale(z, z), R.fillStyle = d, R.fillRect(0, 0, k, k), R.fillStyle = l, xm ? R.fill(new Path2D(Or(L, M))) : A.forEach(function(G, h) {
37728
+ R.scale(z, z), R.fillStyle = d, R.fillRect(0, 0, k, k), R.fillStyle = l, Sm ? R.fill(new Path2D(Br(L, M))) : A.forEach(function(G, h) {
37729
37729
  G.forEach(function(E, N) {
37730
37730
  E && R.fillRect(N + M, h + M, 1, 1);
37731
37731
  });
@@ -37740,7 +37740,7 @@ var xm = (function() {
37740
37740
  }), _e.useEffect(() => {
37741
37741
  D(!1);
37742
37742
  }, [_]);
37743
- const F = fi({ height: g, width: g }, c);
37743
+ const F = _i({ height: g, width: g }, c);
37744
37744
  let P = null;
37745
37745
  return _ != null && (P = /* @__PURE__ */ _e.createElement(
37746
37746
  "img",
@@ -37756,7 +37756,7 @@ var xm = (function() {
37756
37756
  }
37757
37757
  )), /* @__PURE__ */ _e.createElement(_e.Fragment, null, /* @__PURE__ */ _e.createElement(
37758
37758
  "canvas",
37759
- fi({
37759
+ _i({
37760
37760
  style: F,
37761
37761
  height: g,
37762
37762
  width: g,
@@ -37766,22 +37766,22 @@ var xm = (function() {
37766
37766
  ), P);
37767
37767
  }
37768
37768
  );
37769
- Sm.displayName = "QRCodeCanvas";
37770
- var Wr = _e.forwardRef(
37769
+ Dm.displayName = "QRCodeCanvas";
37770
+ var zr = _e.forwardRef(
37771
37771
  function(n, a) {
37772
37772
  const r = n, {
37773
37773
  value: u,
37774
- size: g = Mr,
37775
- level: U = Rr,
37776
- bgColor: d = Pr,
37777
- fgColor: l = wr,
37778
- includeMargin: t = Fr,
37779
- minVersion: i = Ar,
37774
+ size: g = Rr,
37775
+ level: U = Pr,
37776
+ bgColor: d = wr,
37777
+ fgColor: l = Fr,
37778
+ includeMargin: t = Ar,
37779
+ minVersion: i = Or,
37780
37780
  boostLevel: o,
37781
37781
  title: s,
37782
37782
  marginSize: p,
37783
37783
  imageSettings: m
37784
- } = r, f = _i(r, [
37784
+ } = r, f = yi(r, [
37785
37785
  "value",
37786
37786
  "size",
37787
37787
  "level",
@@ -37793,7 +37793,7 @@ var Wr = _e.forwardRef(
37793
37793
  "title",
37794
37794
  "marginSize",
37795
37795
  "imageSettings"
37796
- ]), { margin: c, cells: y, numCells: _, calculatedImageSettings: b } = Hr({
37796
+ ]), { margin: c, cells: y, numCells: _, calculatedImageSettings: b } = Wr({
37797
37797
  value: u,
37798
37798
  level: U,
37799
37799
  minVersion: i,
@@ -37804,7 +37804,7 @@ var Wr = _e.forwardRef(
37804
37804
  size: g
37805
37805
  });
37806
37806
  let C = y, v = null;
37807
- m != null && b != null && (b.excavation != null && (C = Br(
37807
+ m != null && b != null && (b.excavation != null && (C = Hr(
37808
37808
  y,
37809
37809
  b.excavation
37810
37810
  )), v = /* @__PURE__ */ _e.createElement(
@@ -37820,10 +37820,10 @@ var Wr = _e.forwardRef(
37820
37820
  crossOrigin: b.crossOrigin
37821
37821
  }
37822
37822
  ));
37823
- const T = Or(C, c);
37823
+ const T = Br(C, c);
37824
37824
  return /* @__PURE__ */ _e.createElement(
37825
37825
  "svg",
37826
- fi({
37826
+ _i({
37827
37827
  height: g,
37828
37828
  width: g,
37829
37829
  viewBox: `0 0 ${_} ${_}`,
@@ -37844,8 +37844,8 @@ var Wr = _e.forwardRef(
37844
37844
  );
37845
37845
  }
37846
37846
  );
37847
- Wr.displayName = "QRCodeSVG";
37848
- const Dm = {
37847
+ zr.displayName = "QRCodeSVG";
37848
+ const Em = {
37849
37849
  position: "fixed",
37850
37850
  top: 0,
37851
37851
  left: 0,
@@ -37858,7 +37858,7 @@ const Dm = {
37858
37858
  justifyContent: "center",
37859
37859
  zIndex: 1e4,
37860
37860
  gap: "2em"
37861
- }, Em = {
37861
+ }, Nm = {
37862
37862
  position: "absolute",
37863
37863
  top: "20px",
37864
37864
  right: "20px",
@@ -37868,7 +37868,7 @@ const Dm = {
37868
37868
  padding: "10px",
37869
37869
  lineHeight: "1",
37870
37870
  zIndex: 10001
37871
- }, In = {
37871
+ }, Vn = {
37872
37872
  zh_TW: {
37873
37873
  title: "請使用 LINE 掃描 QR Code 登入",
37874
37874
  expired: "QR Code 已過期"
@@ -37889,8 +37889,8 @@ const Dm = {
37889
37889
  title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
37890
37890
  expired: "Kode QR telah kedaluwarsa"
37891
37891
  }
37892
- }, Xu = ({ forcedShow: e = !1, isVisible: n, setIsVisible: a } = {}) => {
37893
- const { lng: r, getToken: u, lineConfig: g } = le(), [U, d] = _a(300), [l, t] = _a(!1), i = ie(null), o = j(g, "liffId", ""), s = Ze(r), p = u?.(), f = new URLSearchParams(window.location.search).get("mac") || gi.get("machine_mac_address") || "", { data: c, isFetching: y } = as({
37892
+ }, e0 = ({ forcedShow: e = !1, isVisible: n, setIsVisible: a } = {}) => {
37893
+ const { lng: r, getToken: u, lineConfig: g } = le(), [U, d] = ya(300), [l, t] = ya(!1), i = ie(null), o = j(g, "liffId", ""), s = Ze(r), p = u?.(), f = new URLSearchParams(window.location.search).get("mac") || di.get("machine_mac_address") || "", { data: c, isFetching: y } = ts({
37894
37894
  formData: {
37895
37895
  mac_address: f
37896
37896
  },
@@ -37899,7 +37899,7 @@ const Dm = {
37899
37899
  }
37900
37900
  }), _ = j(c, "liff_url", "") || `https://liff.line.me/${o}`;
37901
37901
  ue(() => {
37902
- f && gi.set("machine_mac_address", f, { expires: 365 });
37902
+ f && di.set("machine_mac_address", f, { expires: 365 });
37903
37903
  }, [f]), ue(() => (_ && (d(300), t(!1), i.current && clearInterval(i.current), i.current = setInterval(() => {
37904
37904
  d((v) => v <= 1 ? (clearInterval(i.current), t(!0), 0) : v - 1);
37905
37905
  }, 1e3)), () => {
@@ -37910,12 +37910,12 @@ const Dm = {
37910
37910
  return `${T}:${D < 10 ? "0" : ""}${D}`;
37911
37911
  };
37912
37912
  if (!e && (!f || p)) return null;
37913
- const C = In[s] || In.en_US;
37914
- return n && /* @__PURE__ */ ce.jsxs("div", { style: Dm, children: [
37913
+ const C = Vn[s] || Vn.en_US;
37914
+ return n && /* @__PURE__ */ ce.jsxs("div", { style: Em, children: [
37915
37915
  /* @__PURE__ */ ce.jsx(
37916
37916
  "div",
37917
37917
  {
37918
- style: Em,
37918
+ style: Nm,
37919
37919
  onClick: () => a(!1),
37920
37920
  role: "button",
37921
37921
  "aria-label": "Close",
@@ -37938,7 +37938,7 @@ const Dm = {
37938
37938
  boxSizing: "border-box",
37939
37939
  color: "black"
37940
37940
  },
37941
- children: y ? "Loading..." : /* @__PURE__ */ ce.jsx(Wr, { width: "100%", height: "100%", value: _ })
37941
+ children: y ? "Loading..." : /* @__PURE__ */ ce.jsx(zr, { width: "100%", height: "100%", value: _ })
37942
37942
  }
37943
37943
  ),
37944
37944
  !y && /* @__PURE__ */ ce.jsx(
@@ -37954,14 +37954,14 @@ const Dm = {
37954
37954
  )
37955
37955
  ] })
37956
37956
  ] });
37957
- }, Vn = {
37957
+ }, Jn = {
37958
37958
  siteName: /\{siteName\}/g,
37959
37959
  siteUrl: /\{siteUrl\}/g
37960
- }, ui = (e, n = {}) => {
37960
+ }, pi = (e, n = {}) => {
37961
37961
  if (typeof e != "string") return e;
37962
37962
  const { siteName: a = "", siteUrl: r = "" } = typeof n == "string" ? { siteName: n } : n;
37963
- return e.replace(Vn.siteName, a).replace(Vn.siteUrl, r);
37964
- }, Jn = {
37963
+ return e.replace(Jn.siteName, a).replace(Jn.siteUrl, r);
37964
+ }, Zn = {
37965
37965
  zh_TW: {
37966
37966
  tabs: { privacy: "隱私條款", terms: "服務條款" },
37967
37967
  close: "關閉",
@@ -38411,18 +38411,29 @@ const Dm = {
38411
38411
  ]
38412
38412
  }
38413
38413
  }
38414
- }, Nm = (e) => Jn[e] || Jn.zh_TW, Zn = ["privacy", "terms"], e0 = ({
38414
+ }, Lm = (e) => Zn[e] || Zn.zh_TW, Kn = ["privacy", "terms"], $e = {
38415
+ overlay: "rgba(0, 0, 0, 0.72)",
38416
+ cardBg: "#1b1b22",
38417
+ border: "#2c2c36",
38418
+ title: "#f2f2f5",
38419
+ heading: "#ededf2",
38420
+ body: "#c4c4cc",
38421
+ muted: "#8a8a94",
38422
+ accent: "#8b9cff",
38423
+ tabActive: "#ffffff",
38424
+ tabInactive: "#8a8a94"
38425
+ }, a0 = ({
38415
38426
  open: e = !1,
38416
38427
  onOpenChange: n,
38417
38428
  siteName: a = "",
38418
38429
  siteUrl: r = "",
38419
38430
  defaultTab: u = "privacy",
38420
38431
  lng: g,
38421
- zIndex: U = 1e3,
38432
+ zIndex: U = 99999,
38422
38433
  overlayStyle: d = {},
38423
38434
  contentStyle: l = {}
38424
38435
  }) => {
38425
- const t = le(), i = g ?? t?.lng, o = Ze(i), s = Nm(o), p = { siteName: a, siteUrl: r }, m = Zn.includes(u) ? u : "privacy", [f, c] = _a(m), [y, _] = _a(e);
38436
+ const t = le(), i = g ?? t?.lng, o = Ze(i), s = Lm(o), p = { siteName: a, siteUrl: r }, m = Kn.includes(u) ? u : "privacy", [f, c] = ya(m), [y, _] = ya(e);
38426
38437
  if (e !== y && (_(e), e && c(m)), ue(() => {
38427
38438
  if (!e) return;
38428
38439
  const v = (D) => {
@@ -38449,7 +38460,8 @@ const Dm = {
38449
38460
  display: "flex",
38450
38461
  alignItems: "center",
38451
38462
  justifyContent: "center",
38452
- background: "rgba(0, 0, 0, 0.6)",
38463
+ background: $e.overlay,
38464
+ backdropFilter: "blur(2px)",
38453
38465
  padding: 16,
38454
38466
  boxSizing: "border-box",
38455
38467
  ...d
@@ -38464,11 +38476,12 @@ const Dm = {
38464
38476
  maxHeight: "85vh",
38465
38477
  display: "flex",
38466
38478
  flexDirection: "column",
38467
- background: "#fff",
38468
- color: "#1a1a1a",
38479
+ background: $e.cardBg,
38480
+ color: $e.body,
38469
38481
  borderRadius: 12,
38482
+ border: `1px solid ${$e.border}`,
38470
38483
  overflow: "hidden",
38471
- boxShadow: "0 12px 40px rgba(0, 0, 0, 0.35)",
38484
+ boxShadow: "0 16px 48px rgba(0, 0, 0, 0.6)",
38472
38485
  ...l
38473
38486
  },
38474
38487
  children: [
@@ -38478,16 +38491,20 @@ const Dm = {
38478
38491
  style: {
38479
38492
  display: "flex",
38480
38493
  alignItems: "stretch",
38481
- borderBottom: "1px solid #eee",
38494
+ borderBottom: `1px solid ${$e.border}`,
38482
38495
  flexShrink: 0
38483
38496
  },
38484
38497
  children: [
38485
- Zn.map((v) => {
38498
+ Kn.map((v) => {
38486
38499
  const T = f === v ? {
38487
- color: "#1a1a1a",
38500
+ color: $e.tabActive,
38488
38501
  fontWeight: 700,
38489
- borderBottom: "2px solid #1a1a1a"
38490
- } : { color: "#999", fontWeight: 500, borderBottom: "2px solid transparent" };
38502
+ borderBottom: `2px solid ${$e.accent}`
38503
+ } : {
38504
+ color: $e.tabInactive,
38505
+ fontWeight: 500,
38506
+ borderBottom: "2px solid transparent"
38507
+ };
38491
38508
  return /* @__PURE__ */ ce.jsx(
38492
38509
  "button",
38493
38510
  {
@@ -38519,7 +38536,7 @@ const Dm = {
38519
38536
  border: "none",
38520
38537
  cursor: "pointer",
38521
38538
  fontSize: 20,
38522
- color: "#999"
38539
+ color: $e.muted
38523
38540
  },
38524
38541
  children: "✕"
38525
38542
  }
@@ -38528,14 +38545,25 @@ const Dm = {
38528
38545
  }
38529
38546
  ),
38530
38547
  /* @__PURE__ */ ce.jsxs("div", { style: { padding: 20, overflowY: "auto" }, children: [
38531
- /* @__PURE__ */ ce.jsx("h2", { style: { margin: "0 0 4px", fontSize: 20 }, children: ui(b?.title, p) }),
38532
- b?.updatedAt && /* @__PURE__ */ ce.jsxs("p", { style: { margin: "0 0 16px", fontSize: 12, color: "#999" }, children: [
38548
+ /* @__PURE__ */ ce.jsx("h2", { style: { margin: "0 0 4px", fontSize: 20, color: $e.title }, children: pi(b?.title, p) }),
38549
+ b?.updatedAt && /* @__PURE__ */ ce.jsxs("p", { style: { margin: "0 0 16px", fontSize: 12, color: $e.muted }, children: [
38533
38550
  s.updatedLabel,
38534
38551
  ":",
38535
38552
  b.updatedAt
38536
38553
  ] }),
38537
38554
  b?.sections?.map((v, T) => /* @__PURE__ */ ce.jsxs("div", { style: { marginBottom: 16 }, children: [
38538
- v.heading ? /* @__PURE__ */ ce.jsx("h3", { style: { margin: "0 0 6px", fontSize: 15, fontWeight: 700 }, children: ui(v.heading, p) }) : null,
38555
+ v.heading ? /* @__PURE__ */ ce.jsx(
38556
+ "h3",
38557
+ {
38558
+ style: {
38559
+ margin: "0 0 6px",
38560
+ fontSize: 15,
38561
+ fontWeight: 700,
38562
+ color: $e.heading
38563
+ },
38564
+ children: pi(v.heading, p)
38565
+ }
38566
+ ) : null,
38539
38567
  v.body.map((D, M) => /* @__PURE__ */ ce.jsx(
38540
38568
  "p",
38541
38569
  {
@@ -38543,9 +38571,9 @@ const Dm = {
38543
38571
  margin: "0 0 8px",
38544
38572
  fontSize: 13,
38545
38573
  lineHeight: 1.8,
38546
- color: "#444"
38574
+ color: $e.body
38547
38575
  },
38548
- children: ui(D, p)
38576
+ children: pi(D, p)
38549
38577
  },
38550
38578
  M
38551
38579
  ))
@@ -38556,156 +38584,156 @@ const Dm = {
38556
38584
  )
38557
38585
  }
38558
38586
  );
38559
- }, a0 = (e = !1) => {
38560
- const [n, a] = _a(e), r = H(() => a(!0), []), u = H(() => a(!1), []), g = H(() => a((d) => !d), []), U = H((d) => a(!!d), []);
38587
+ }, t0 = (e = !1) => {
38588
+ const [n, a] = ya(e), r = H(() => a(!0), []), u = H(() => a(!1), []), g = H(() => a((d) => !d), []), U = H((d) => a(!!d), []);
38561
38589
  return { open: n, setOpen: a, onOpen: r, onClose: u, onToggle: g, onOpenChange: U };
38562
38590
  };
38563
38591
  export {
38564
- $n as ApiCtx,
38565
- qu as ApiProvider,
38566
- $u as Bind,
38567
- ar as GamesInfoCtx,
38568
- Qu as LineLogin,
38569
- Xu as LineQrCode,
38570
- Di as MONTH_CARD_QUERY_KEY,
38592
+ Qn as ApiCtx,
38593
+ $u as ApiProvider,
38594
+ Qu as Bind,
38595
+ tr as GamesInfoCtx,
38596
+ ju as LineLogin,
38597
+ e0 as LineQrCode,
38598
+ Ei as MONTH_CARD_QUERY_KEY,
38571
38599
  Ae as SOCKET_TYPE,
38572
- ja as STATUS_TYPES,
38573
- Qn as StatusContext,
38574
- nl as StatusProvider,
38575
- e0 as TermsDialog,
38576
- um as buildMultiTypes,
38577
- Zu as buildMultiTypesWithSubTypes,
38578
- ml as buildSinglePlatformWithSubTypes,
38579
- sl as buildSingleType,
38580
- mm as categorizeGames,
38600
+ Ya as STATUS_TYPES,
38601
+ jn as StatusContext,
38602
+ rl as StatusProvider,
38603
+ a0 as TermsDialog,
38604
+ pm as buildMultiTypes,
38605
+ Ku as buildMultiTypesWithSubTypes,
38606
+ ul as buildSinglePlatformWithSubTypes,
38607
+ ml as buildSingleType,
38608
+ um as categorizeGames,
38581
38609
  Ze as convertLanguageCode,
38582
- ll as convertLanguageGameCode,
38583
- Fm as createLogoutHandler,
38584
- om as extractGameSubTypeNames,
38585
- lm as extractGameTypeNames,
38586
- Wn as extractPlatformNames,
38587
- rr as filterGamesByPlatform,
38588
- tr as findGameTypeUid,
38589
- ir as findPlatformUid,
38590
- nr as findSubPlatform,
38591
- rm as flattenAllGames,
38592
- sm as flattenFavoriteGames,
38593
- Am as formatNumber,
38594
- Nm as getTermsContent,
38595
- pm as groupGamesByPlatform,
38596
- gm as groupGamesByPlatformAndSubType,
38597
- ol as groupGamesBySubType,
38598
- nm as handleDarkImage,
38599
- _m as initMockWindowData,
38600
- ui as interpolate,
38601
- dm as processGameInfo,
38602
- Ku as processPlatformData,
38603
- ns as resolveGameMaintainDisplay,
38604
- _u as useAbandonEventWallet,
38605
- Jm as useAbandonPoint,
38610
+ ol as convertLanguageGameCode,
38611
+ Am as createLogoutHandler,
38612
+ sm as extractGameSubTypeNames,
38613
+ om as extractGameTypeNames,
38614
+ zn as extractPlatformNames,
38615
+ lr as filterGamesByPlatform,
38616
+ ir as findGameTypeUid,
38617
+ nr as findPlatformUid,
38618
+ rr as findSubPlatform,
38619
+ lm as flattenAllGames,
38620
+ mm as flattenFavoriteGames,
38621
+ Om as formatNumber,
38622
+ Lm as getTermsContent,
38623
+ gm as groupGamesByPlatform,
38624
+ dm as groupGamesByPlatformAndSubType,
38625
+ sl as groupGamesBySubType,
38626
+ rm as handleDarkImage,
38627
+ ym as initMockWindowData,
38628
+ pi as interpolate,
38629
+ cm as processGameInfo,
38630
+ qu as processPlatformData,
38631
+ rs as resolveGameMaintainDisplay,
38632
+ yu as useAbandonEventWallet,
38633
+ Zm as useAbandonPoint,
38606
38634
  le as useApiContext,
38607
- nu as useAvatarList,
38608
- Om as useBalanceGetter,
38609
- Wm as useBet,
38610
- iu as useBetRankingData,
38611
- So as useBetRecord,
38612
- Do as useBetRecordDetail,
38613
- ts as useBindAccount,
38614
- ls as useCheckCurrentEventProgress,
38615
- os as useCheckEventStatus,
38616
- Vm as useCheckPlayerWager,
38617
- ou as useClientWebSocket,
38618
- eu as useCreateMachine,
38619
- Qs as useCurrentRebate,
38620
- Rs as useDepositAction,
38621
- ws as useDepositTransaction,
38622
- Gs as useDepositV1,
38623
- Ms as useDepositV2,
38624
- Eu as useDepositWalletLog,
38625
- a0 as useDisclosure,
38626
- du as useEnabledEventWallet,
38627
- cu as useEvaluateEventWallet,
38628
- pu as useEvent,
38629
- rs as useEventList,
38630
- Fs as useEventTransaction,
38631
- Lu as useEventWalletLog,
38632
- am as useExpiredRewardsList,
38633
- Vu as useGameConfig,
38634
- wm as useGameInfoContext,
38635
- fm as useGamesInfo,
38636
- yu as useGetAnnouncement,
38637
- Uu as useGetCarouseList,
38638
- gu as useGetEventWalletList,
38639
- as as useGetMachineLoginCode,
38640
- bu as useGetMarquee,
38641
- Bm as useGetMemberInfo,
38642
- Cu as useGetRankingGame,
38643
- tm as useHistoryRewardsList,
38644
- vu as useIdleTimeout,
38645
- hu as useInbox,
38646
- Es as useInboxList,
38647
- Hm as useInitializeWithToken,
38648
- Su as useInvoiceAction,
38649
- tu as useJackpotData,
38650
- ur as useLineLogin,
38651
- es as useLineLogin2,
38652
- zo as useLogin,
38653
- Io as useLogout,
38654
- Zm as useMachineLogin,
38655
- uu as useMemberEventSettle,
38656
- qo as useMemberInitSet,
38657
- Km as useMemberTransfer,
38658
- qm as useMobileLogin,
38659
- $m as useMobileLoginV2,
38660
- Qm as useMobileRegister,
38661
- zm as useMonthCard,
38662
- Ho as useMonthCardInfo,
38663
- ku as useNewsDetail,
38664
- Tu as useNewsList,
38665
- Pu as useOtherTransaction,
38666
- wu as usePayment,
38667
- Ju as usePlatformConfig,
38668
- Fu as usePlayGame,
38669
- Im as usePointTransfer,
38670
- Ns as useReadInbox,
38671
- Au as useRebate,
38672
- Gu as useRebateWalletLog,
38673
- js as useReceiveRebate,
38674
- xu as useRedeemCodeDeposit,
38675
- su as useRedeemEventReward,
38676
- Xs as useRedeemReward,
38677
- Hu as useRedeemTreasure,
38678
- Ko as useResetUserPassword,
38679
- Qo as useResetUserTransactionPassword,
38680
- Ou as useRewards,
38681
- Ys as useRewardsList,
38682
- jm as useSendMobileVerifyCode,
38683
- $o as useSetUserTransactionPassword,
38684
- mu as useSettleEvent,
38685
- fu as useSettleEventWallet,
38686
- Vo as useSignUp,
38687
- Ru as useSnCashRecord,
38688
- jn as useStatus,
38689
- Jo as useToggleFavoriteGame,
38690
- Xo as useTransferInGame,
38691
- Bu as useTreasureList,
38692
- Mu as useTreasureWalletLog,
38693
- em as useUnUsedRewardsList,
38694
- ru as useUpdateAvatar,
38695
- Du as useUpdateInvoiceAction,
38696
- Zo as useUpdateUserInfo,
38697
- lu as useUser,
38698
- Yo as useUserBindCard,
38699
- jo as useUserRebate,
38700
- Xm as useVerifyDonationCode,
38701
- Ym as useVerifyPhoneBar,
38702
- au as useVerifyResetAction,
38703
- zu as useVip,
38704
- Wu as useVipInfo,
38705
- im as useVipList,
38706
- Iu as useWebView2,
38707
- Ps as useWithdrawAction,
38708
- Wo as useWithdrawMonthCard,
38709
- Os as useWithdrawTransaction,
38710
- Nu as useWithdrawWalletLog
38635
+ ru as useAvatarList,
38636
+ Bm as useBalanceGetter,
38637
+ zm as useBet,
38638
+ nu as useBetRankingData,
38639
+ Do as useBetRecord,
38640
+ Eo as useBetRecordDetail,
38641
+ is as useBindAccount,
38642
+ os as useCheckCurrentEventProgress,
38643
+ ss as useCheckEventStatus,
38644
+ Jm as useCheckPlayerWager,
38645
+ su as useClientWebSocket,
38646
+ au as useCreateMachine,
38647
+ js as useCurrentRebate,
38648
+ Ps as useDepositAction,
38649
+ Fs as useDepositTransaction,
38650
+ Ms as useDepositV1,
38651
+ Rs as useDepositV2,
38652
+ Nu as useDepositWalletLog,
38653
+ t0 as useDisclosure,
38654
+ cu as useEnabledEventWallet,
38655
+ fu as useEvaluateEventWallet,
38656
+ gu as useEvent,
38657
+ ls as useEventList,
38658
+ As as useEventTransaction,
38659
+ Gu as useEventWalletLog,
38660
+ tm as useExpiredRewardsList,
38661
+ Ju as useGameConfig,
38662
+ Fm as useGameInfoContext,
38663
+ _m as useGamesInfo,
38664
+ Uu as useGetAnnouncement,
38665
+ bu as useGetCarouseList,
38666
+ du as useGetEventWalletList,
38667
+ ts as useGetMachineLoginCode,
38668
+ Cu as useGetMarquee,
38669
+ Hm as useGetMemberInfo,
38670
+ vu as useGetRankingGame,
38671
+ im as useHistoryRewardsList,
38672
+ hu as useIdleTimeout,
38673
+ Tu as useInbox,
38674
+ Ns as useInboxList,
38675
+ Wm as useInitializeWithToken,
38676
+ Du as useInvoiceAction,
38677
+ iu as useJackpotData,
38678
+ pr as useLineLogin,
38679
+ as as useLineLogin2,
38680
+ Io as useLogin,
38681
+ Vo as useLogout,
38682
+ Km as useMachineLogin,
38683
+ pu as useMemberEventSettle,
38684
+ $o as useMemberInitSet,
38685
+ qm as useMemberTransfer,
38686
+ $m as useMobileLogin,
38687
+ Qm as useMobileLoginV2,
38688
+ jm as useMobileRegister,
38689
+ Im as useMonthCard,
38690
+ Wo as useMonthCardInfo,
38691
+ xu as useNewsDetail,
38692
+ ku as useNewsList,
38693
+ wu as useOtherTransaction,
38694
+ Fu as usePayment,
38695
+ Zu as usePlatformConfig,
38696
+ Au as usePlayGame,
38697
+ Vm as usePointTransfer,
38698
+ Ls as useReadInbox,
38699
+ Ou as useRebate,
38700
+ Mu as useRebateWalletLog,
38701
+ Ys as useReceiveRebate,
38702
+ Su as useRedeemCodeDeposit,
38703
+ mu as useRedeemEventReward,
38704
+ em as useRedeemReward,
38705
+ Wu as useRedeemTreasure,
38706
+ qo as useResetUserPassword,
38707
+ jo as useResetUserTransactionPassword,
38708
+ Bu as useRewards,
38709
+ Xs as useRewardsList,
38710
+ Ym as useSendMobileVerifyCode,
38711
+ Qo as useSetUserTransactionPassword,
38712
+ uu as useSettleEvent,
38713
+ _u as useSettleEventWallet,
38714
+ Jo as useSignUp,
38715
+ Pu as useSnCashRecord,
38716
+ Yn as useStatus,
38717
+ Zo as useToggleFavoriteGame,
38718
+ es as useTransferInGame,
38719
+ Hu as useTreasureList,
38720
+ Ru as useTreasureWalletLog,
38721
+ am as useUnUsedRewardsList,
38722
+ lu as useUpdateAvatar,
38723
+ Eu as useUpdateInvoiceAction,
38724
+ Ko as useUpdateUserInfo,
38725
+ ou as useUser,
38726
+ Xo as useUserBindCard,
38727
+ Yo as useUserRebate,
38728
+ eu as useVerifyDonationCode,
38729
+ Xm as useVerifyPhoneBar,
38730
+ tu as useVerifyResetAction,
38731
+ Iu as useVip,
38732
+ zu as useVipInfo,
38733
+ nm as useVipList,
38734
+ Vu as useWebView2,
38735
+ ws as useWithdrawAction,
38736
+ zo as useWithdrawMonthCard,
38737
+ Bs as useWithdrawTransaction,
38738
+ Lu as useWithdrawWalletLog
38711
38739
  };