@obb871001/api-integration-sdk 1.0.237 → 1.0.239

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 +5 -5
  2. package/dist/index.js +1037 -1016
  3. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,25 +1,25 @@
1
- import xa, { createContext as Ji, useContext as Ii, useState as il, useMemo as ha, useCallback as J, useRef as wi, useEffect as ma } from "react";
2
- import { useQueries as Cn, useQuery as X, useQueryClient as tl, useMutation as _e, QueryClient as nl, QueryClientProvider as ll } from "@tanstack/react-query";
1
+ import xa, { createContext as Ii, useContext as Ki, useState as il, useMemo as ha, useCallback as J, useRef as Oi, useEffect as ma } from "react";
2
+ import { useQueries as Cn, useQuery as X, useQueryClient as tl, useMutation as ge, QueryClient as nl, QueryClientProvider as ll } from "@tanstack/react-query";
3
3
  import rl from "axios";
4
4
  import { get as me, find as Le, isEmpty as se, entries as vn, map as Te, isArray as Ge, toLower as lt, omit as ol, replace as rt, includes as ml, isObject as ki, flatMap as xi, values as sl, keys as ot } from "lodash";
5
5
  import ul from "react-dom";
6
- var Oi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
- function Ki(e) {
6
+ var Ai = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
+ function qi(e) {
8
8
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
9
9
  }
10
10
  function pl(e) {
11
11
  if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
12
- var u = e.default;
13
- if (typeof u == "function") {
12
+ var s = e.default;
13
+ if (typeof s == "function") {
14
14
  var n = function i() {
15
15
  var p = !1;
16
16
  try {
17
17
  p = this instanceof i;
18
18
  } catch {
19
19
  }
20
- return p ? Reflect.construct(u, arguments, this.constructor) : u.apply(this, arguments);
20
+ return p ? Reflect.construct(s, arguments, this.constructor) : s.apply(this, arguments);
21
21
  };
22
- n.prototype = u.prototype;
22
+ n.prototype = s.prototype;
23
23
  } else n = {};
24
24
  return Object.defineProperty(n, "__esModule", { value: !0 }), Object.keys(e).forEach(function(i) {
25
25
  var p = Object.getOwnPropertyDescriptor(e, i);
@@ -36,13 +36,13 @@ var mt;
36
36
  function gl() {
37
37
  if (mt) return Ua;
38
38
  mt = 1;
39
- var e = xa, u = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
40
- function C(c, s, a) {
39
+ var e = xa, s = Symbol.for("react.element"), n = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
40
+ function C(c, u, a) {
41
41
  var t, o = {}, l = null, r = null;
42
- a !== void 0 && (l = "" + a), s.key !== void 0 && (l = "" + s.key), s.ref !== void 0 && (r = s.ref);
43
- for (t in s) i.call(s, t) && !g.hasOwnProperty(t) && (o[t] = s[t]);
44
- if (c && c.defaultProps) for (t in s = c.defaultProps, s) o[t] === void 0 && (o[t] = s[t]);
45
- return { $$typeof: u, type: c, key: l, ref: r, props: o, _owner: p.current };
42
+ a !== void 0 && (l = "" + a), u.key !== void 0 && (l = "" + u.key), u.ref !== void 0 && (r = u.ref);
43
+ for (t in u) i.call(u, t) && !g.hasOwnProperty(t) && (o[t] = u[t]);
44
+ if (c && c.defaultProps) for (t in u = c.defaultProps, u) o[t] === void 0 && (o[t] = u[t]);
45
+ return { $$typeof: s, type: c, key: l, ref: r, props: o, _owner: p.current };
46
46
  }
47
47
  return Ua.Fragment = n, Ua.jsx = C, Ua.jsxs = C, Ua;
48
48
  }
@@ -50,11 +50,11 @@ var ya = {};
50
50
  var st;
51
51
  function dl() {
52
52
  return st || (st = 1, process.env.NODE_ENV !== "production" && (function() {
53
- var e = xa, u = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), c = Symbol.for("react.context"), s = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), t = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), r = Symbol.for("react.offscreen"), m = Symbol.iterator, _ = "@@iterator";
54
- function f(T) {
53
+ var e = xa, s = Symbol.for("react.element"), n = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), c = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), t = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), l = Symbol.for("react.lazy"), r = Symbol.for("react.offscreen"), m = Symbol.iterator, f = "@@iterator";
54
+ function _(T) {
55
55
  if (T === null || typeof T != "object")
56
56
  return null;
57
- var H = m && T[m] || T[_];
57
+ var H = m && T[m] || T[f];
58
58
  return typeof H == "function" ? H : null;
59
59
  }
60
60
  var U = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
@@ -78,7 +78,7 @@ function dl() {
78
78
  var b = !1, v = !1, h = !1, x = !1, D = !1, O;
79
79
  O = Symbol.for("react.module.reference");
80
80
  function k(T) {
81
- return !!(typeof T == "string" || typeof T == "function" || T === i || T === g || D || T === p || T === a || T === t || x || T === r || b || v || h || typeof T == "object" && T !== null && (T.$$typeof === l || T.$$typeof === o || T.$$typeof === C || T.$$typeof === c || T.$$typeof === s || // This needs to include all possible module reference object
81
+ return !!(typeof T == "string" || typeof T == "function" || T === i || T === g || D || T === p || T === a || T === t || x || T === r || b || v || h || typeof T == "object" && T !== null && (T.$$typeof === l || T.$$typeof === o || T.$$typeof === C || T.$$typeof === c || T.$$typeof === u || // This needs to include all possible module reference object
82
82
  // types supported by any Flight configuration anywhere since
83
83
  // we don't know which Flight build this will end up being used
84
84
  // with.
@@ -123,7 +123,7 @@ function dl() {
123
123
  case C:
124
124
  var V = T;
125
125
  return P(V._context) + ".Provider";
126
- case s:
126
+ case u:
127
127
  return S(T, T.render, "ForwardRef");
128
128
  case o:
129
129
  var I = T.displayName || null;
@@ -268,17 +268,17 @@ function dl() {
268
268
  }
269
269
  } catch (ve) {
270
270
  if (ve && I && typeof ve.stack == "string") {
271
- for (var j = ve.stack.split(`
271
+ for (var $ = ve.stack.split(`
272
272
  `), ye = I.stack.split(`
273
- `), le = j.length - 1, re = ye.length - 1; le >= 1 && re >= 0 && j[le] !== ye[re]; )
273
+ `), le = $.length - 1, re = ye.length - 1; le >= 1 && re >= 0 && $[le] !== ye[re]; )
274
274
  re--;
275
275
  for (; le >= 1 && re >= 0; le--, re--)
276
- if (j[le] !== ye[re]) {
276
+ if ($[le] !== ye[re]) {
277
277
  if (le !== 1 || re !== 1)
278
278
  do
279
- if (le--, re--, re < 0 || j[le] !== ye[re]) {
279
+ if (le--, re--, re < 0 || $[le] !== ye[re]) {
280
280
  var Se = `
281
- ` + j[le].replace(" at new ", " at ");
281
+ ` + $[le].replace(" at new ", " at ");
282
282
  return T.displayName && Se.includes("<anonymous>") && (Se = Se.replace("<anonymous>", T.displayName)), typeof T == "function" && ie.set(T, Se), Se;
283
283
  }
284
284
  while (le >= 1 && re >= 0);
@@ -288,8 +288,8 @@ function dl() {
288
288
  } finally {
289
289
  ne = !1, q.current = ae, K(), Error.prepareStackTrace = ee;
290
290
  }
291
- var oa = T ? T.displayName || T.name : "", $e = oa ? Z(oa) : "";
292
- return typeof T == "function" && ie.set(T, $e), $e;
291
+ var oa = T ? T.displayName || T.name : "", je = oa ? Z(oa) : "";
292
+ return typeof T == "function" && ie.set(T, je), je;
293
293
  }
294
294
  function oe(T, H, V) {
295
295
  return Ce(T, !1);
@@ -313,7 +313,7 @@ function dl() {
313
313
  }
314
314
  if (typeof T == "object")
315
315
  switch (T.$$typeof) {
316
- case s:
316
+ case u:
317
317
  return oe(T.render);
318
318
  case o:
319
319
  return Re(T.type, H, V);
@@ -340,22 +340,22 @@ function dl() {
340
340
  var ae = Function.call.bind(De);
341
341
  for (var Y in T)
342
342
  if (ae(T, Y)) {
343
- var j = void 0;
343
+ var $ = void 0;
344
344
  try {
345
345
  if (typeof T[Y] != "function") {
346
346
  var ye = Error((I || "React class") + ": " + V + " type `" + Y + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof T[Y] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
347
347
  throw ye.name = "Invariant Violation", ye;
348
348
  }
349
- j = T[Y](H, Y, I, V, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
349
+ $ = T[Y](H, Y, I, V, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
350
350
  } catch (le) {
351
- j = le;
351
+ $ = le;
352
352
  }
353
- j && !(j instanceof Error) && (ze(ee), d("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", I || "React class", V, Y, typeof j), ze(null)), j instanceof Error && !(j.message in Ke) && (Ke[j.message] = !0, ze(ee), d("Failed %s type: %s", V, j.message), ze(null));
353
+ $ && !($ instanceof Error) && (ze(ee), d("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", I || "React class", V, Y, typeof $), ze(null)), $ instanceof Error && !($.message in Ke) && (Ke[$.message] = !0, ze(ee), d("Failed %s type: %s", V, $.message), ze(null));
354
354
  }
355
355
  }
356
356
  }
357
357
  var he = Array.isArray;
358
- function de(T) {
358
+ function ce(T) {
359
359
  return he(T);
360
360
  }
361
361
  function Ee(T) {
@@ -378,7 +378,7 @@ function dl() {
378
378
  if (na(T))
379
379
  return d("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ee(T)), ga(T);
380
380
  }
381
- var Ve = U.ReactCurrentOwner, Ei = {
381
+ var Ve = U.ReactCurrentOwner, Ni = {
382
382
  key: !0,
383
383
  ref: !0,
384
384
  __self: !0,
@@ -392,7 +392,7 @@ function dl() {
392
392
  }
393
393
  return T.ref !== void 0;
394
394
  }
395
- function je(T) {
395
+ function $e(T) {
396
396
  if (De.call(T, "key")) {
397
397
  var H = Object.getOwnPropertyDescriptor(T, "key").get;
398
398
  if (H && H.isReactWarning)
@@ -400,7 +400,7 @@ function dl() {
400
400
  }
401
401
  return T.key !== void 0;
402
402
  }
403
- function Ni(T, H) {
403
+ function Li(T, H) {
404
404
  typeof T.ref == "string" && Ve.current;
405
405
  }
406
406
  function Da(T, H) {
@@ -425,10 +425,10 @@ function dl() {
425
425
  });
426
426
  }
427
427
  }
428
- var Li = function(T, H, V, I, ee, ae, Y) {
429
- var j = {
428
+ var Gi = function(T, H, V, I, ee, ae, Y) {
429
+ var $ = {
430
430
  // This tag allows us to uniquely identify this as a React Element
431
- $$typeof: u,
431
+ $$typeof: s,
432
432
  // Built-in properties that belong on the element
433
433
  type: T,
434
434
  key: H,
@@ -437,39 +437,39 @@ function dl() {
437
437
  // Record the component responsible for creating this element.
438
438
  _owner: ae
439
439
  };
440
- return j._store = {}, Object.defineProperty(j._store, "validated", {
440
+ return $._store = {}, Object.defineProperty($._store, "validated", {
441
441
  configurable: !1,
442
442
  enumerable: !1,
443
443
  writable: !0,
444
444
  value: !1
445
- }), Object.defineProperty(j, "_self", {
445
+ }), Object.defineProperty($, "_self", {
446
446
  configurable: !1,
447
447
  enumerable: !1,
448
448
  writable: !1,
449
449
  value: I
450
- }), Object.defineProperty(j, "_source", {
450
+ }), Object.defineProperty($, "_source", {
451
451
  configurable: !1,
452
452
  enumerable: !1,
453
453
  writable: !1,
454
454
  value: ee
455
- }), Object.freeze && (Object.freeze(j.props), Object.freeze(j)), j;
455
+ }), Object.freeze && (Object.freeze($.props), Object.freeze($)), $;
456
456
  };
457
- function Gi(T, H, V, I, ee) {
457
+ function Mi(T, H, V, I, ee) {
458
458
  {
459
- var ae, Y = {}, j = null, ye = null;
460
- V !== void 0 && (Pe(V), j = "" + V), je(H) && (Pe(H.key), j = "" + H.key), Ze(H) && (ye = H.ref, Ni(H, ee));
459
+ var ae, Y = {}, $ = null, ye = null;
460
+ V !== void 0 && (Pe(V), $ = "" + V), $e(H) && (Pe(H.key), $ = "" + H.key), Ze(H) && (ye = H.ref, Li(H, ee));
461
461
  for (ae in H)
462
- De.call(H, ae) && !Ei.hasOwnProperty(ae) && (Y[ae] = H[ae]);
462
+ De.call(H, ae) && !Ni.hasOwnProperty(ae) && (Y[ae] = H[ae]);
463
463
  if (T && T.defaultProps) {
464
464
  var le = T.defaultProps;
465
465
  for (ae in le)
466
466
  Y[ae] === void 0 && (Y[ae] = le[ae]);
467
467
  }
468
- if (j || ye) {
468
+ if ($ || ye) {
469
469
  var re = typeof T == "function" ? T.displayName || T.name || "Unknown" : T;
470
- j && Da(Y, re), ye && Ea(Y, re);
470
+ $ && Da(Y, re), ye && Ea(Y, re);
471
471
  }
472
- return Li(T, j, ye, ee, I, Ve.current, Y);
472
+ return Gi(T, $, ye, ee, I, Ve.current, Y);
473
473
  }
474
474
  }
475
475
  var la = U.ReactCurrentOwner, Na = U.ReactDebugCurrentFrame;
@@ -480,10 +480,10 @@ function dl() {
480
480
  } else
481
481
  Na.setExtraStackFrame(null);
482
482
  }
483
- var fa;
484
- fa = !1;
483
+ var _a;
484
+ _a = !1;
485
485
  function ra(T) {
486
- return typeof T == "object" && T !== null && T.$$typeof === u;
486
+ return typeof T == "object" && T !== null && T.$$typeof === s;
487
487
  }
488
488
  function La() {
489
489
  {
@@ -497,7 +497,7 @@ Check the render method of \`` + T + "`.";
497
497
  return "";
498
498
  }
499
499
  }
500
- function Mi(T) {
500
+ function Ri(T) {
501
501
  return "";
502
502
  }
503
503
  var Ga = {};
@@ -530,7 +530,7 @@ Check the top-level render call using <` + V + ">.");
530
530
  {
531
531
  if (typeof T != "object")
532
532
  return;
533
- if (de(T))
533
+ if (ce(T))
534
534
  for (var V = 0; V < T.length; V++) {
535
535
  var I = T[V];
536
536
  ra(I) && Ra(I, H);
@@ -538,7 +538,7 @@ Check the top-level render call using <` + V + ">.");
538
538
  else if (ra(T))
539
539
  T._store && (T._store.validated = !0);
540
540
  else if (T) {
541
- var ee = f(T);
541
+ var ee = _(T);
542
542
  if (typeof ee == "function" && ee !== T.entries)
543
543
  for (var ae = ee.call(T), Y; !(Y = ae.next()).done; )
544
544
  ra(Y.value) && Ra(Y.value, H);
@@ -553,7 +553,7 @@ Check the top-level render call using <` + V + ">.");
553
553
  var V;
554
554
  if (typeof H == "function")
555
555
  V = H.propTypes;
556
- else if (typeof H == "object" && (H.$$typeof === s || // Note: Memo only checks outer props here.
556
+ else if (typeof H == "object" && (H.$$typeof === u || // Note: Memo only checks outer props here.
557
557
  // Inner props are checked in the reconciler.
558
558
  H.$$typeof === o))
559
559
  V = H.propTypes;
@@ -562,15 +562,15 @@ Check the top-level render call using <` + V + ">.");
562
562
  if (V) {
563
563
  var I = G(H);
564
564
  qe(V, T.props, "prop", I, T);
565
- } else if (H.PropTypes !== void 0 && !fa) {
566
- fa = !0;
565
+ } else if (H.PropTypes !== void 0 && !_a) {
566
+ _a = !0;
567
567
  var ee = G(H);
568
568
  d("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ee || "Unknown");
569
569
  }
570
570
  typeof H.getDefaultProps == "function" && !H.getDefaultProps.isReactClassApproved && d("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
571
571
  }
572
572
  }
573
- function Ri(T) {
573
+ function Pi(T) {
574
574
  {
575
575
  for (var H = Object.keys(T.props), V = 0; V < H.length; V++) {
576
576
  var I = H[V];
@@ -582,26 +582,26 @@ Check the top-level render call using <` + V + ">.");
582
582
  T.ref !== null && (Fe(T), d("Invalid attribute `ref` supplied to `React.Fragment`."), Fe(null));
583
583
  }
584
584
  }
585
- var _a = {};
586
- function ce(T, H, V, I, ee, ae) {
585
+ var fa = {};
586
+ function _e(T, H, V, I, ee, ae) {
587
587
  {
588
588
  var Y = k(T);
589
589
  if (!Y) {
590
- var j = "";
591
- (T === void 0 || typeof T == "object" && T !== null && Object.keys(T).length === 0) && (j += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
592
- var ye = Mi();
593
- ye ? j += ye : j += La();
590
+ var $ = "";
591
+ (T === void 0 || typeof T == "object" && T !== null && Object.keys(T).length === 0) && ($ += " 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 ye = Ri();
593
+ ye ? $ += ye : $ += La();
594
594
  var le;
595
- T === null ? le = "null" : de(T) ? le = "array" : T !== void 0 && T.$$typeof === u ? (le = "<" + (G(T.type) || "Unknown") + " />", j = " Did you accidentally export a JSX literal instead of a component?") : le = typeof T, d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", le, j);
595
+ T === null ? le = "null" : ce(T) ? le = "array" : T !== void 0 && T.$$typeof === s ? (le = "<" + (G(T.type) || "Unknown") + " />", $ = " Did you accidentally export a JSX literal instead of a component?") : le = typeof T, d("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", le, $);
596
596
  }
597
- var re = Gi(T, H, V, ee, ae);
597
+ var re = Mi(T, H, V, ee, ae);
598
598
  if (re == null)
599
599
  return re;
600
600
  if (Y) {
601
601
  var Se = H.children;
602
602
  if (Se !== void 0)
603
603
  if (I)
604
- if (de(Se)) {
604
+ if (ce(Se)) {
605
605
  for (var oa = 0; oa < Se.length; oa++)
606
606
  Pa(Se[oa], T);
607
607
  Object.freeze && Object.freeze(Se);
@@ -611,30 +611,30 @@ Check the top-level render call using <` + V + ">.");
611
611
  Pa(Se, T);
612
612
  }
613
613
  if (De.call(H, "key")) {
614
- var $e = G(T), ve = Object.keys(H).filter(function(al) {
614
+ var je = G(T), ve = Object.keys(H).filter(function(al) {
615
615
  return al !== "key";
616
- }), Fi = ve.length > 0 ? "{key: someKey, " + ve.join(": ..., ") + ": ...}" : "{key: someKey}";
617
- if (!_a[$e + Fi]) {
616
+ }), wi = ve.length > 0 ? "{key: someKey, " + ve.join(": ..., ") + ": ...}" : "{key: someKey}";
617
+ if (!fa[je + wi]) {
618
618
  var el = ve.length > 0 ? "{" + ve.join(": ..., ") + ": ...}" : "{}";
619
619
  d(`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} />`, Fi, $e, el, $e), _a[$e + Fi] = !0;
624
+ <%s key={someKey} {...props} />`, wi, je, el, je), fa[je + wi] = !0;
625
625
  }
626
626
  }
627
- return T === i ? Ri(re) : Fa(re), re;
627
+ return T === i ? Pi(re) : Fa(re), re;
628
628
  }
629
629
  }
630
630
  function Ne(T, H, V) {
631
- return ce(T, H, V, !0);
631
+ return _e(T, H, V, !0);
632
632
  }
633
633
  function wa(T, H, V) {
634
- return ce(T, H, V, !1);
634
+ return _e(T, H, V, !1);
635
635
  }
636
- var Pi = wa, Xn = Ne;
637
- ya.Fragment = i, ya.jsx = Pi, ya.jsxs = Xn;
636
+ var Fi = wa, Xn = Ne;
637
+ ya.Fragment = i, ya.jsx = Fi, ya.jsxs = Xn;
638
638
  })()), ya;
639
639
  }
640
640
  var ut;
@@ -642,29 +642,29 @@ function cl() {
642
642
  return ut || (ut = 1, process.env.NODE_ENV === "production" ? Oa.exports = gl() : Oa.exports = dl()), Oa.exports;
643
643
  }
644
644
  var sa = cl();
645
- const Tn = Ji(null), te = () => {
646
- const e = Ii(Tn);
645
+ const Tn = Ii(null), te = () => {
646
+ const e = Ki(Tn);
647
647
  if (!e)
648
648
  throw new Error("useApiContext must be used within ApiProvider");
649
649
  return e;
650
650
  }, ba = {
651
651
  READY: "ready",
652
652
  PENDING: "pending"
653
- }, hn = Ji(null), fl = ({ children: e }) => {
654
- const [u, n] = il(ba.PENDING), i = ha(() => {
655
- const p = u === ba.READY, g = u === ba.PENDING;
653
+ }, hn = Ii(null), _l = ({ children: e }) => {
654
+ const [s, n] = il(ba.PENDING), i = ha(() => {
655
+ const p = s === ba.READY, g = s === ba.PENDING;
656
656
  return {
657
- status: u,
657
+ status: s,
658
658
  setStatus: n,
659
659
  isReady: p,
660
660
  isPending: g,
661
661
  setAsReady: () => n(ba.READY),
662
662
  setAsPending: () => n(ba.PENDING)
663
663
  };
664
- }, [u]);
664
+ }, [s]);
665
665
  return /* @__PURE__ */ sa.jsx(hn.Provider, { value: i, children: e });
666
666
  }, kn = () => {
667
- const e = Ii(hn);
667
+ const e = Ki(hn);
668
668
  if (!e)
669
669
  throw new Error("useStatus must be used within a StatusProvider");
670
670
  return e;
@@ -698,14 +698,14 @@ const Tn = Ji(null), te = () => {
698
698
  };
699
699
  function gt({
700
700
  baseURL: e,
701
- getToken: u,
701
+ getToken: s,
702
702
  timeoutMs: n = 15e3,
703
703
  lng: i = "tw",
704
704
  store: p,
705
705
  onError: g,
706
706
  formData: C = !1,
707
707
  currency: c,
708
- toasterOpen: s = !1
708
+ toasterOpen: u = !1
709
709
  } = {}) {
710
710
  const a = rl.create({
711
711
  baseURL: e,
@@ -715,8 +715,8 @@ function gt({
715
715
  }
716
716
  });
717
717
  return a.interceptors.request.use(async (t) => {
718
- if (t.headers = t.headers || {}, u) {
719
- const l = await u();
718
+ if (t.headers = t.headers || {}, s) {
719
+ const l = await s();
720
720
  l && (t.headers.Authorization = `Bearer ${l}`);
721
721
  }
722
722
  const o = p?.getState()?.isWalletCurrency || c || "TWD";
@@ -729,7 +729,7 @@ function gt({
729
729
  "response.data.message",
730
730
  "發生錯誤,請稍後再試。"
731
731
  );
732
- if (s) {
732
+ if (u) {
733
733
  const l = He(i);
734
734
  p?.dispatch({
735
735
  type: "ui/showToast",
@@ -745,15 +745,15 @@ function gt({
745
745
  }
746
746
  ), a;
747
747
  }
748
- const En = Ji(null), nm = () => {
749
- const e = Ii(En);
748
+ const En = Ii(null), nm = () => {
749
+ const e = Ki(En);
750
750
  if (!e)
751
751
  throw new Error(
752
752
  "useGameInfoContext must be used within a GameInfoCtx.Provider"
753
753
  );
754
754
  return e;
755
755
  }, lm = () => {
756
- const e = (i, p) => !i && !p, u = (i) => i.startsWith("pc.");
756
+ const e = (i, p) => !i && !p, s = (i) => i.startsWith("pc.");
757
757
  return {
758
758
  executeLogout: ({
759
759
  isCallBackInvalid: i = !1,
@@ -761,61 +761,61 @@ const En = Ji(null), nm = () => {
761
761
  shouldRedirect: g,
762
762
  onShowError: C,
763
763
  onCleanup: c,
764
- onRemoveToken: s,
764
+ onRemoveToken: u,
765
765
  onRedirect: a,
766
766
  onGoogleLogout: t
767
767
  }) => {
768
- const o = u(p);
769
- e(i, o) && C?.(), c?.(), s?.(), g && a?.("/"), t?.();
768
+ const o = s(p);
769
+ e(i, o) && C?.(), c?.(), u?.(), g && a?.("/"), t?.();
770
770
  },
771
771
  shouldShowErrorNotice: e,
772
- isMachineDomain: u
772
+ isMachineDomain: s
773
773
  };
774
774
  }, rm = (e) => {
775
- let u = Number(e);
776
- return isNaN(u) ? e : new Intl.NumberFormat("en-US", {
775
+ let s = Number(e);
776
+ return isNaN(s) ? e : new Intl.NumberFormat("en-US", {
777
777
  style: "decimal",
778
778
  minimumFractionDigits: 2,
779
779
  maximumFractionDigits: 2
780
- }).format(u);
781
- }, Nn = (e = [], u) => Le(e, { gameTypeName: u })?.gameTypeUid, Ln = (e = [], u) => Le(e, { platform: u })?.platformUid, Gn = (e = [], u) => Le(e, { SubPlatformEnum: u }), Mn = (e = [], u, n) => se(e) ? [] : e.filter((i) => n ? String(i?.SubPlatformEnumUid) === String(n?.SubPlatformEnumUid) : String(i.platformUid) === String(u)), _l = (e = []) => se(e) ? {} : e.reduce((u, n) => {
780
+ }).format(s);
781
+ }, Nn = (e = [], s) => Le(e, { gameTypeName: s })?.gameTypeUid, Ln = (e = [], s) => Le(e, { platform: s })?.platformUid, Gn = (e = [], s) => Le(e, { SubPlatformEnum: s }), Mn = (e = [], s, n) => se(e) ? [] : e.filter((i) => n ? String(i?.SubPlatformEnumUid) === String(n?.SubPlatformEnumUid) : String(i.platformUid) === String(s)), fl = (e = []) => se(e) ? {} : e.reduce((s, n) => {
782
782
  const i = n?.game_subtype || "UNKNOWN";
783
- return u[i] || (u[i] = []), u[i].push(n), u;
783
+ return s[i] || (s[i] = []), s[i].push(n), s;
784
784
  }, {}), Ul = ({
785
785
  gameTypeName: e,
786
- platforms: u,
786
+ platforms: s,
787
787
  gameList: n,
788
788
  allGameTypes: i,
789
789
  allPlatforms: p
790
790
  }) => {
791
791
  const g = Nn(i, e);
792
- return g ? u.reduce((C, c) => {
793
- const s = Ln(p, c), a = Gn(p, c), t = n[g] || [], o = Mn(
792
+ return g ? s.reduce((C, c) => {
793
+ const u = Ln(p, c), a = Gn(p, c), t = n[g] || [], o = Mn(
794
794
  t,
795
- s,
795
+ u,
796
796
  a
797
797
  );
798
798
  return se(o) || (C[c] = o), C;
799
799
  }, {}) : {};
800
800
  }, yl = ({
801
801
  platformName: e,
802
- gamesOfType: u = [],
802
+ gamesOfType: s = [],
803
803
  allPlatforms: n = []
804
804
  }) => {
805
805
  const i = Ln(n, e), p = Gn(n, e), g = Mn(
806
- u,
806
+ s,
807
807
  i,
808
808
  p
809
809
  );
810
- return _l(g);
810
+ return fl(g);
811
811
  };
812
812
  var Ha = { exports: {} }, bl = Ha.exports, dt;
813
813
  function Cl() {
814
- return dt || (dt = 1, (function(e, u) {
814
+ return dt || (dt = 1, (function(e, s) {
815
815
  (function(n, i) {
816
816
  e.exports = i();
817
817
  })(bl, (function() {
818
- var n = 1e3, i = 6e4, p = 36e5, g = "millisecond", C = "second", c = "minute", s = "hour", a = "day", t = "week", o = "month", l = "quarter", r = "year", m = "date", _ = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, U = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, d = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
818
+ var n = 1e3, i = 6e4, p = 36e5, g = "millisecond", C = "second", c = "minute", u = "hour", a = "day", t = "week", o = "month", l = "quarter", r = "year", m = "date", f = "Invalid Date", _ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, U = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, d = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(w) {
819
819
  var M = ["th", "st", "nd", "rd"], R = w % 100;
820
820
  return "[" + w + (M[(R - 20) % 10] || M[R] || M[0]) + "]";
821
821
  } }, y = function(w, M, R) {
@@ -831,7 +831,7 @@ function Cl() {
831
831
  }, a: function(w) {
832
832
  return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
833
833
  }, p: function(w) {
834
- return { M: o, y: r, w: t, d: a, D: m, h: s, m: c, s: C, ms: g, Q: l }[w] || String(w || "").toLowerCase().replace(/s$/, "");
834
+ return { M: o, y: r, w: t, d: a, D: m, h: u, m: c, s: C, ms: g, Q: l }[w] || String(w || "").toLowerCase().replace(/s$/, "");
835
835
  }, u: function(w) {
836
836
  return w === void 0;
837
837
  } }, v = "en", h = {};
@@ -871,7 +871,7 @@ function Cl() {
871
871
  if (S.u(A)) return /* @__PURE__ */ new Date();
872
872
  if (A instanceof Date) return new Date(A);
873
873
  if (typeof A == "string" && !/Z$/i.test(A)) {
874
- var W = A.match(f);
874
+ var W = A.match(_);
875
875
  if (W) {
876
876
  var E = W[2] - 1 || 0, L = (W[7] || "0").substring(0, 3);
877
877
  return B ? new Date(Date.UTC(W[1], E, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, L)) : new Date(W[1], E, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, L);
@@ -885,7 +885,7 @@ function Cl() {
885
885
  }, M.$utils = function() {
886
886
  return S;
887
887
  }, M.isValid = function() {
888
- return this.$d.toString() !== _;
888
+ return this.$d.toString() !== f;
889
889
  }, M.isSame = function(R, z) {
890
890
  var A = k(R);
891
891
  return this.startOf(z) <= A && A <= this.endOf(z);
@@ -917,7 +917,7 @@ function Cl() {
917
917
  case a:
918
918
  case m:
919
919
  return L(q + "Hours", 0);
920
- case s:
920
+ case u:
921
921
  return L(q + "Minutes", 1);
922
922
  case c:
923
923
  return L(q + "Seconds", 2);
@@ -929,7 +929,7 @@ function Cl() {
929
929
  }, M.endOf = function(R) {
930
930
  return this.startOf(R, !1);
931
931
  }, M.$set = function(R, z) {
932
- var A, B = S.p(R), W = "set" + (this.$u ? "UTC" : ""), E = (A = {}, A[a] = W + "Date", A[m] = W + "Date", A[o] = W + "Month", A[r] = W + "FullYear", A[s] = W + "Hours", A[c] = W + "Minutes", A[C] = W + "Seconds", A[g] = W + "Milliseconds", A)[B], L = B === a ? this.$D + (z - this.$W) : z;
932
+ var A, B = S.p(R), W = "set" + (this.$u ? "UTC" : ""), E = (A = {}, A[a] = W + "Date", A[m] = W + "Date", A[o] = W + "Month", A[r] = W + "FullYear", A[u] = W + "Hours", A[c] = W + "Minutes", A[C] = W + "Seconds", A[g] = W + "Milliseconds", A)[B], L = B === a ? this.$D + (z - this.$W) : z;
933
933
  if (B === o || B === r) {
934
934
  var F = this.clone().set(m, 1);
935
935
  F.$d[E](L), F.init(), this.$d = F.set(m, Math.min(this.$D, F.daysInMonth())).$d;
@@ -950,13 +950,13 @@ function Cl() {
950
950
  if (W === r) return this.set(r, this.$y + R);
951
951
  if (W === a) return E(1);
952
952
  if (W === t) return E(7);
953
- var L = (A = {}, A[c] = i, A[s] = p, A[C] = n, A)[W] || 1, F = this.$d.getTime() + R * L;
953
+ var L = (A = {}, A[c] = i, A[u] = p, A[C] = n, A)[W] || 1, F = this.$d.getTime() + R * L;
954
954
  return S.w(F, this);
955
955
  }, M.subtract = function(R, z) {
956
956
  return this.add(-1 * R, z);
957
957
  }, M.format = function(R) {
958
958
  var z = this, A = this.$locale();
959
- if (!this.isValid()) return A.invalidDate || _;
959
+ if (!this.isValid()) return A.invalidDate || f;
960
960
  var B = R || "YYYY-MM-DDTHH:mm:ssZ", W = S.z(this), E = this.$H, L = this.$m, F = this.$M, N = A.weekdays, K = A.months, q = A.meridiem, Q = function(ie, be, Ce, oe) {
961
961
  return ie && (ie[be] || ie(z, B)) || Ce[be].slice(0, oe);
962
962
  }, Z = function(ie) {
@@ -1042,7 +1042,7 @@ function Cl() {
1042
1042
  case a:
1043
1043
  B = (N - F) / 864e5;
1044
1044
  break;
1045
- case s:
1045
+ case u:
1046
1046
  B = N / p;
1047
1047
  break;
1048
1048
  case c:
@@ -1075,7 +1075,7 @@ function Cl() {
1075
1075
  return this.$d.toUTCString();
1076
1076
  }, w;
1077
1077
  })(), G = P.prototype;
1078
- return k.prototype = G, [["$ms", g], ["$s", C], ["$m", c], ["$H", s], ["$W", a], ["$M", o], ["$y", r], ["$D", m]].forEach((function(w) {
1078
+ return k.prototype = G, [["$ms", g], ["$s", C], ["$m", c], ["$H", u], ["$W", a], ["$M", o], ["$y", r], ["$D", m]].forEach((function(w) {
1079
1079
  G[w[1]] = function(M) {
1080
1080
  return this.$g(M, w[0], w[1]);
1081
1081
  };
@@ -1088,7 +1088,7 @@ function Cl() {
1088
1088
  })(Ha)), Ha.exports;
1089
1089
  }
1090
1090
  var vl = Cl();
1091
- const fe = /* @__PURE__ */ Ki(vl);
1091
+ const fe = /* @__PURE__ */ qi(vl);
1092
1092
  var Wa = { exports: {} };
1093
1093
  function Tl(e) {
1094
1094
  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.');
@@ -1099,14 +1099,14 @@ const hl = {}, kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
1099
1099
  default: hl
1100
1100
  }, Symbol.toStringTag, { value: "Module" })), xl = /* @__PURE__ */ pl(kl);
1101
1101
  var Sl = za.exports, ct;
1102
- function $() {
1103
- return ct || (ct = 1, (function(e, u) {
1102
+ function j() {
1103
+ return ct || (ct = 1, (function(e, s) {
1104
1104
  (function(n, i) {
1105
1105
  e.exports = i();
1106
1106
  })(Sl, function() {
1107
1107
  var n = n || (function(i, p) {
1108
1108
  var g;
1109
- if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof Oi < "u" && Oi.crypto && (g = Oi.crypto), !g && typeof Tl == "function")
1109
+ if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof Ai < "u" && Ai.crypto && (g = Ai.crypto), !g && typeof Tl == "function")
1110
1110
  try {
1111
1111
  g = xl;
1112
1112
  } catch {
@@ -1132,7 +1132,7 @@ function $() {
1132
1132
  var b;
1133
1133
  return d.prototype = y, b = new d(), d.prototype = null, b;
1134
1134
  };
1135
- })(), s = {}, a = s.lib = {}, t = a.Base = /* @__PURE__ */ (function() {
1135
+ })(), u = {}, a = u.lib = {}, t = a.Base = /* @__PURE__ */ (function() {
1136
1136
  return {
1137
1137
  /**
1138
1138
  * Creates a new object that inherits from this object.
@@ -1314,7 +1314,7 @@ function $() {
1314
1314
  y.push(C());
1315
1315
  return new o.init(y, d);
1316
1316
  }
1317
- }), l = s.enc = {}, r = l.Hex = {
1317
+ }), l = u.enc = {}, r = l.Hex = {
1318
1318
  /**
1319
1319
  * Converts a word array to a hex string.
1320
1320
  *
@@ -1392,7 +1392,7 @@ function $() {
1392
1392
  b[v >>> 2] |= (d.charCodeAt(v) & 255) << 24 - v % 4 * 8;
1393
1393
  return new o.init(b, y);
1394
1394
  }
1395
- }, _ = l.Utf8 = {
1395
+ }, f = l.Utf8 = {
1396
1396
  /**
1397
1397
  * Converts a word array to a UTF-8 string.
1398
1398
  *
@@ -1429,7 +1429,7 @@ function $() {
1429
1429
  parse: function(d) {
1430
1430
  return m.parse(unescape(encodeURIComponent(d)));
1431
1431
  }
1432
- }, f = a.BufferedBlockAlgorithm = t.extend({
1432
+ }, _ = a.BufferedBlockAlgorithm = t.extend({
1433
1433
  /**
1434
1434
  * Resets this block algorithm's data buffer to its initial state.
1435
1435
  *
@@ -1451,7 +1451,7 @@ function $() {
1451
1451
  * bufferedBlockAlgorithm._append(wordArray);
1452
1452
  */
1453
1453
  _append: function(d) {
1454
- typeof d == "string" && (d = _.parse(d)), this._data.concat(d), this._nDataBytes += d.sigBytes;
1454
+ typeof d == "string" && (d = f.parse(d)), this._data.concat(d), this._nDataBytes += d.sigBytes;
1455
1455
  },
1456
1456
  /**
1457
1457
  * Processes available data blocks.
@@ -1493,7 +1493,7 @@ function $() {
1493
1493
  },
1494
1494
  _minBufferSize: 0
1495
1495
  });
1496
- a.Hasher = f.extend({
1496
+ a.Hasher = _.extend({
1497
1497
  /**
1498
1498
  * Configuration options.
1499
1499
  */
@@ -1518,7 +1518,7 @@ function $() {
1518
1518
  * hasher.reset();
1519
1519
  */
1520
1520
  reset: function() {
1521
- f.reset.call(this), this._doReset();
1521
+ _.reset.call(this), this._doReset();
1522
1522
  },
1523
1523
  /**
1524
1524
  * Updates this hasher with a message.
@@ -1592,22 +1592,22 @@ function $() {
1592
1592
  };
1593
1593
  }
1594
1594
  });
1595
- var U = s.algo = {};
1596
- return s;
1595
+ var U = u.algo = {};
1596
+ return u;
1597
1597
  })(Math);
1598
1598
  return n;
1599
1599
  });
1600
1600
  })(za)), za.exports;
1601
1601
  }
1602
- var Va = { exports: {} }, Dl = Va.exports, ft;
1602
+ var Va = { exports: {} }, Dl = Va.exports, _t;
1603
1603
  function Si() {
1604
- return ft || (ft = 1, (function(e, u) {
1604
+ return _t || (_t = 1, (function(e, s) {
1605
1605
  (function(n, i) {
1606
- e.exports = i($());
1606
+ e.exports = i(j());
1607
1607
  })(Dl, function(n) {
1608
1608
  return (function(i) {
1609
- var p = n, g = p.lib, C = g.Base, c = g.WordArray, s = p.x64 = {};
1610
- s.Word = C.extend({
1609
+ var p = n, g = p.lib, C = g.Base, c = g.WordArray, u = p.x64 = {};
1610
+ u.Word = C.extend({
1611
1611
  /**
1612
1612
  * Initializes a newly created 64-bit word.
1613
1613
  *
@@ -1770,7 +1770,7 @@ function Si() {
1770
1770
  // var high = (this.high + word.high + carry) | 0;
1771
1771
  // return X64Word.create(high, low);
1772
1772
  // }
1773
- }), s.WordArray = C.extend({
1773
+ }), u.WordArray = C.extend({
1774
1774
  /**
1775
1775
  * Initializes a newly created word array.
1776
1776
  *
@@ -1829,18 +1829,18 @@ function Si() {
1829
1829
  });
1830
1830
  })(Va)), Va.exports;
1831
1831
  }
1832
- var Za = { exports: {} }, El = Za.exports, _t;
1832
+ var Za = { exports: {} }, El = Za.exports, ft;
1833
1833
  function Nl() {
1834
- return _t || (_t = 1, (function(e, u) {
1834
+ return ft || (ft = 1, (function(e, s) {
1835
1835
  (function(n, i) {
1836
- e.exports = i($());
1836
+ e.exports = i(j());
1837
1837
  })(El, function(n) {
1838
1838
  return (function() {
1839
1839
  if (typeof ArrayBuffer == "function") {
1840
- var i = n, p = i.lib, g = p.WordArray, C = g.init, c = g.init = function(s) {
1841
- if (s instanceof ArrayBuffer && (s = new Uint8Array(s)), (s instanceof Int8Array || typeof Uint8ClampedArray < "u" && s instanceof Uint8ClampedArray || s instanceof Int16Array || s instanceof Uint16Array || s instanceof Int32Array || s instanceof Uint32Array || s instanceof Float32Array || s instanceof Float64Array) && (s = new Uint8Array(s.buffer, s.byteOffset, s.byteLength)), s instanceof Uint8Array) {
1842
- for (var a = s.byteLength, t = [], o = 0; o < a; o++)
1843
- t[o >>> 2] |= s[o] << 24 - o % 4 * 8;
1840
+ var i = n, p = i.lib, g = p.WordArray, C = g.init, c = g.init = function(u) {
1841
+ if (u instanceof ArrayBuffer && (u = new Uint8Array(u)), (u instanceof Int8Array || typeof Uint8ClampedArray < "u" && u instanceof Uint8ClampedArray || u instanceof Int16Array || u instanceof Uint16Array || u instanceof Int32Array || u instanceof Uint32Array || u instanceof Float32Array || u instanceof Float64Array) && (u = new Uint8Array(u.buffer, u.byteOffset, u.byteLength)), u instanceof Uint8Array) {
1842
+ for (var a = u.byteLength, t = [], o = 0; o < a; o++)
1843
+ t[o >>> 2] |= u[o] << 24 - o % 4 * 8;
1844
1844
  C.call(this, t, a);
1845
1845
  } else
1846
1846
  C.apply(this, arguments);
@@ -1853,9 +1853,9 @@ function Nl() {
1853
1853
  }
1854
1854
  var Ja = { exports: {} }, Ll = Ja.exports, Ut;
1855
1855
  function Gl() {
1856
- return Ut || (Ut = 1, (function(e, u) {
1856
+ return Ut || (Ut = 1, (function(e, s) {
1857
1857
  (function(n, i) {
1858
- e.exports = i($());
1858
+ e.exports = i(j());
1859
1859
  })(Ll, function(n) {
1860
1860
  return (function() {
1861
1861
  var i = n, p = i.lib, g = p.WordArray, C = i.enc;
@@ -1873,8 +1873,8 @@ function Gl() {
1873
1873
  *
1874
1874
  * var utf16String = CryptoJS.enc.Utf16.stringify(wordArray);
1875
1875
  */
1876
- stringify: function(s) {
1877
- for (var a = s.words, t = s.sigBytes, o = [], l = 0; l < t; l += 2) {
1876
+ stringify: function(u) {
1877
+ for (var a = u.words, t = u.sigBytes, o = [], l = 0; l < t; l += 2) {
1878
1878
  var r = a[l >>> 2] >>> 16 - l % 4 * 8 & 65535;
1879
1879
  o.push(String.fromCharCode(r));
1880
1880
  }
@@ -1893,9 +1893,9 @@ function Gl() {
1893
1893
  *
1894
1894
  * var wordArray = CryptoJS.enc.Utf16.parse(utf16String);
1895
1895
  */
1896
- parse: function(s) {
1897
- for (var a = s.length, t = [], o = 0; o < a; o++)
1898
- t[o >>> 1] |= s.charCodeAt(o) << 16 - o % 2 * 16;
1896
+ parse: function(u) {
1897
+ for (var a = u.length, t = [], o = 0; o < a; o++)
1898
+ t[o >>> 1] |= u.charCodeAt(o) << 16 - o % 2 * 16;
1899
1899
  return g.create(t, a * 2);
1900
1900
  }
1901
1901
  }, C.Utf16LE = {
@@ -1912,8 +1912,8 @@ function Gl() {
1912
1912
  *
1913
1913
  * var utf16Str = CryptoJS.enc.Utf16LE.stringify(wordArray);
1914
1914
  */
1915
- stringify: function(s) {
1916
- for (var a = s.words, t = s.sigBytes, o = [], l = 0; l < t; l += 2) {
1915
+ stringify: function(u) {
1916
+ for (var a = u.words, t = u.sigBytes, o = [], l = 0; l < t; l += 2) {
1917
1917
  var r = c(a[l >>> 2] >>> 16 - l % 4 * 8 & 65535);
1918
1918
  o.push(String.fromCharCode(r));
1919
1919
  }
@@ -1932,14 +1932,14 @@ function Gl() {
1932
1932
  *
1933
1933
  * var wordArray = CryptoJS.enc.Utf16LE.parse(utf16Str);
1934
1934
  */
1935
- parse: function(s) {
1936
- for (var a = s.length, t = [], o = 0; o < a; o++)
1937
- t[o >>> 1] |= c(s.charCodeAt(o) << 16 - o % 2 * 16);
1935
+ parse: function(u) {
1936
+ for (var a = u.length, t = [], o = 0; o < a; o++)
1937
+ t[o >>> 1] |= c(u.charCodeAt(o) << 16 - o % 2 * 16);
1938
1938
  return g.create(t, a * 2);
1939
1939
  }
1940
1940
  };
1941
- function c(s) {
1942
- return s << 8 & 4278255360 | s >>> 8 & 16711935;
1941
+ function c(u) {
1942
+ return u << 8 & 4278255360 | u >>> 8 & 16711935;
1943
1943
  }
1944
1944
  })(), n.enc.Utf16;
1945
1945
  });
@@ -1947,9 +1947,9 @@ function Gl() {
1947
1947
  }
1948
1948
  var Ia = { exports: {} }, Ml = Ia.exports, yt;
1949
1949
  function ia() {
1950
- return yt || (yt = 1, (function(e, u) {
1950
+ return yt || (yt = 1, (function(e, s) {
1951
1951
  (function(n, i) {
1952
- e.exports = i($());
1952
+ e.exports = i(j());
1953
1953
  })(Ml, function(n) {
1954
1954
  return (function() {
1955
1955
  var i = n, p = i.lib, g = p.WordArray, C = i.enc;
@@ -1967,11 +1967,11 @@ function ia() {
1967
1967
  *
1968
1968
  * var base64String = CryptoJS.enc.Base64.stringify(wordArray);
1969
1969
  */
1970
- stringify: function(s) {
1971
- var a = s.words, t = s.sigBytes, o = this._map;
1972
- s.clamp();
1970
+ stringify: function(u) {
1971
+ var a = u.words, t = u.sigBytes, o = this._map;
1972
+ u.clamp();
1973
1973
  for (var l = [], r = 0; r < t; r += 3)
1974
- for (var m = a[r >>> 2] >>> 24 - r % 4 * 8 & 255, _ = a[r + 1 >>> 2] >>> 24 - (r + 1) % 4 * 8 & 255, f = a[r + 2 >>> 2] >>> 24 - (r + 2) % 4 * 8 & 255, U = m << 16 | _ << 8 | f, d = 0; d < 4 && r + d * 0.75 < t; d++)
1974
+ for (var m = a[r >>> 2] >>> 24 - r % 4 * 8 & 255, f = a[r + 1 >>> 2] >>> 24 - (r + 1) % 4 * 8 & 255, _ = a[r + 2 >>> 2] >>> 24 - (r + 2) % 4 * 8 & 255, U = m << 16 | f << 8 | _, d = 0; d < 4 && r + d * 0.75 < t; d++)
1975
1975
  l.push(o.charAt(U >>> 6 * (3 - d) & 63));
1976
1976
  var y = o.charAt(64);
1977
1977
  if (y)
@@ -1992,8 +1992,8 @@ function ia() {
1992
1992
  *
1993
1993
  * var wordArray = CryptoJS.enc.Base64.parse(base64String);
1994
1994
  */
1995
- parse: function(s) {
1996
- var a = s.length, t = this._map, o = this._reverseMap;
1995
+ parse: function(u) {
1996
+ var a = u.length, t = this._map, o = this._reverseMap;
1997
1997
  if (!o) {
1998
1998
  o = this._reverseMap = [];
1999
1999
  for (var l = 0; l < t.length; l++)
@@ -2001,18 +2001,18 @@ function ia() {
2001
2001
  }
2002
2002
  var r = t.charAt(64);
2003
2003
  if (r) {
2004
- var m = s.indexOf(r);
2004
+ var m = u.indexOf(r);
2005
2005
  m !== -1 && (a = m);
2006
2006
  }
2007
- return c(s, a, o);
2007
+ return c(u, a, o);
2008
2008
  },
2009
2009
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="
2010
2010
  };
2011
- function c(s, a, t) {
2011
+ function c(u, a, t) {
2012
2012
  for (var o = [], l = 0, r = 0; r < a; r++)
2013
2013
  if (r % 4) {
2014
- var m = t[s.charCodeAt(r - 1)] << r % 4 * 2, _ = t[s.charCodeAt(r)] >>> 6 - r % 4 * 2, f = m | _;
2015
- o[l >>> 2] |= f << 24 - l % 4 * 8, l++;
2014
+ var m = t[u.charCodeAt(r - 1)] << r % 4 * 2, f = t[u.charCodeAt(r)] >>> 6 - r % 4 * 2, _ = m | f;
2015
+ o[l >>> 2] |= _ << 24 - l % 4 * 8, l++;
2016
2016
  }
2017
2017
  return g.create(o, l);
2018
2018
  }
@@ -2022,9 +2022,9 @@ function ia() {
2022
2022
  }
2023
2023
  var Ka = { exports: {} }, Rl = Ka.exports, bt;
2024
2024
  function Pl() {
2025
- return bt || (bt = 1, (function(e, u) {
2025
+ return bt || (bt = 1, (function(e, s) {
2026
2026
  (function(n, i) {
2027
- e.exports = i($());
2027
+ e.exports = i(j());
2028
2028
  })(Rl, function(n) {
2029
2029
  return (function() {
2030
2030
  var i = n, p = i.lib, g = p.WordArray, C = i.enc;
@@ -2044,12 +2044,12 @@ function Pl() {
2044
2044
  *
2045
2045
  * var base64String = CryptoJS.enc.Base64url.stringify(wordArray);
2046
2046
  */
2047
- stringify: function(s, a) {
2047
+ stringify: function(u, a) {
2048
2048
  a === void 0 && (a = !0);
2049
- var t = s.words, o = s.sigBytes, l = a ? this._safe_map : this._map;
2050
- s.clamp();
2049
+ var t = u.words, o = u.sigBytes, l = a ? this._safe_map : this._map;
2050
+ u.clamp();
2051
2051
  for (var r = [], m = 0; m < o; m += 3)
2052
- for (var _ = t[m >>> 2] >>> 24 - m % 4 * 8 & 255, f = t[m + 1 >>> 2] >>> 24 - (m + 1) % 4 * 8 & 255, U = t[m + 2 >>> 2] >>> 24 - (m + 2) % 4 * 8 & 255, d = _ << 16 | f << 8 | U, y = 0; y < 4 && m + y * 0.75 < o; y++)
2052
+ for (var f = t[m >>> 2] >>> 24 - m % 4 * 8 & 255, _ = t[m + 1 >>> 2] >>> 24 - (m + 1) % 4 * 8 & 255, U = t[m + 2 >>> 2] >>> 24 - (m + 2) % 4 * 8 & 255, d = f << 16 | _ << 8 | U, y = 0; y < 4 && m + y * 0.75 < o; y++)
2053
2053
  r.push(l.charAt(d >>> 6 * (3 - y) & 63));
2054
2054
  var b = l.charAt(64);
2055
2055
  if (b)
@@ -2072,9 +2072,9 @@ function Pl() {
2072
2072
  *
2073
2073
  * var wordArray = CryptoJS.enc.Base64url.parse(base64String);
2074
2074
  */
2075
- parse: function(s, a) {
2075
+ parse: function(u, a) {
2076
2076
  a === void 0 && (a = !0);
2077
- var t = s.length, o = a ? this._safe_map : this._map, l = this._reverseMap;
2077
+ var t = u.length, o = a ? this._safe_map : this._map, l = this._reverseMap;
2078
2078
  if (!l) {
2079
2079
  l = this._reverseMap = [];
2080
2080
  for (var r = 0; r < o.length; r++)
@@ -2082,19 +2082,19 @@ function Pl() {
2082
2082
  }
2083
2083
  var m = o.charAt(64);
2084
2084
  if (m) {
2085
- var _ = s.indexOf(m);
2086
- _ !== -1 && (t = _);
2085
+ var f = u.indexOf(m);
2086
+ f !== -1 && (t = f);
2087
2087
  }
2088
- return c(s, t, l);
2088
+ return c(u, t, l);
2089
2089
  },
2090
2090
  _map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
2091
2091
  _safe_map: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"
2092
2092
  };
2093
- function c(s, a, t) {
2093
+ function c(u, a, t) {
2094
2094
  for (var o = [], l = 0, r = 0; r < a; r++)
2095
2095
  if (r % 4) {
2096
- var m = t[s.charCodeAt(r - 1)] << r % 4 * 2, _ = t[s.charCodeAt(r)] >>> 6 - r % 4 * 2, f = m | _;
2097
- o[l >>> 2] |= f << 24 - l % 4 * 8, l++;
2096
+ var m = t[u.charCodeAt(r - 1)] << r % 4 * 2, f = t[u.charCodeAt(r)] >>> 6 - r % 4 * 2, _ = m | f;
2097
+ o[l >>> 2] |= _ << 24 - l % 4 * 8, l++;
2098
2098
  }
2099
2099
  return g.create(o, l);
2100
2100
  }
@@ -2104,17 +2104,17 @@ function Pl() {
2104
2104
  }
2105
2105
  var qa = { exports: {} }, Fl = qa.exports, Ct;
2106
2106
  function ta() {
2107
- return Ct || (Ct = 1, (function(e, u) {
2107
+ return Ct || (Ct = 1, (function(e, s) {
2108
2108
  (function(n, i) {
2109
- e.exports = i($());
2109
+ e.exports = i(j());
2110
2110
  })(Fl, function(n) {
2111
2111
  return (function(i) {
2112
- var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, s = p.algo, a = [];
2112
+ var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, u = p.algo, a = [];
2113
2113
  (function() {
2114
- for (var _ = 0; _ < 64; _++)
2115
- a[_] = i.abs(i.sin(_ + 1)) * 4294967296 | 0;
2114
+ for (var f = 0; f < 64; f++)
2115
+ a[f] = i.abs(i.sin(f + 1)) * 4294967296 | 0;
2116
2116
  })();
2117
- var t = s.MD5 = c.extend({
2117
+ var t = u.MD5 = c.extend({
2118
2118
  _doReset: function() {
2119
2119
  this._hash = new C.init([
2120
2120
  1732584193,
@@ -2123,19 +2123,19 @@ function ta() {
2123
2123
  271733878
2124
2124
  ]);
2125
2125
  },
2126
- _doProcessBlock: function(_, f) {
2126
+ _doProcessBlock: function(f, _) {
2127
2127
  for (var U = 0; U < 16; U++) {
2128
- var d = f + U, y = _[d];
2129
- _[d] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360;
2128
+ var d = _ + U, y = f[d];
2129
+ f[d] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360;
2130
2130
  }
2131
- var b = this._hash.words, v = _[f + 0], h = _[f + 1], x = _[f + 2], D = _[f + 3], O = _[f + 4], k = _[f + 5], S = _[f + 6], P = _[f + 7], G = _[f + 8], w = _[f + 9], M = _[f + 10], R = _[f + 11], z = _[f + 12], A = _[f + 13], B = _[f + 14], W = _[f + 15], E = b[0], L = b[1], F = b[2], N = b[3];
2131
+ var b = this._hash.words, v = f[_ + 0], h = f[_ + 1], x = f[_ + 2], D = f[_ + 3], O = f[_ + 4], k = f[_ + 5], S = f[_ + 6], P = f[_ + 7], G = f[_ + 8], w = f[_ + 9], M = f[_ + 10], R = f[_ + 11], z = f[_ + 12], A = f[_ + 13], B = f[_ + 14], W = f[_ + 15], E = b[0], L = b[1], F = b[2], N = b[3];
2132
2132
  E = o(E, L, F, N, v, 7, a[0]), N = o(N, E, L, F, h, 12, a[1]), F = o(F, N, E, L, x, 17, a[2]), L = o(L, F, N, E, D, 22, a[3]), E = o(E, L, F, N, O, 7, a[4]), N = o(N, E, L, F, k, 12, a[5]), F = o(F, N, E, L, S, 17, a[6]), L = o(L, F, N, E, P, 22, a[7]), E = o(E, L, F, N, G, 7, a[8]), N = o(N, E, L, F, w, 12, a[9]), F = o(F, N, E, L, M, 17, a[10]), L = o(L, F, N, E, R, 22, a[11]), E = o(E, L, F, N, z, 7, a[12]), N = o(N, E, L, F, A, 12, a[13]), F = o(F, N, E, L, B, 17, a[14]), L = o(L, F, N, E, W, 22, a[15]), E = l(E, L, F, N, h, 5, a[16]), N = l(N, E, L, F, S, 9, a[17]), F = l(F, N, E, L, R, 14, a[18]), L = l(L, F, N, E, v, 20, a[19]), E = l(E, L, F, N, k, 5, a[20]), N = l(N, E, L, F, M, 9, a[21]), F = l(F, N, E, L, W, 14, a[22]), L = l(L, F, N, E, O, 20, a[23]), E = l(E, L, F, N, w, 5, a[24]), N = l(N, E, L, F, B, 9, a[25]), F = l(F, N, E, L, D, 14, a[26]), L = l(L, F, N, E, G, 20, a[27]), E = l(E, L, F, N, A, 5, a[28]), N = l(N, E, L, F, x, 9, a[29]), F = l(F, N, E, L, P, 14, a[30]), L = l(L, F, N, E, z, 20, a[31]), E = r(E, L, F, N, k, 4, a[32]), N = r(N, E, L, F, G, 11, a[33]), F = r(F, N, E, L, R, 16, a[34]), L = r(L, F, N, E, B, 23, a[35]), E = r(E, L, F, N, h, 4, a[36]), N = r(N, E, L, F, O, 11, a[37]), F = r(F, N, E, L, P, 16, a[38]), L = r(L, F, N, E, M, 23, a[39]), E = r(E, L, F, N, A, 4, a[40]), N = r(N, E, L, F, v, 11, a[41]), F = r(F, N, E, L, D, 16, a[42]), L = r(L, F, N, E, S, 23, a[43]), E = r(E, L, F, N, w, 4, a[44]), N = r(N, E, L, F, z, 11, a[45]), F = r(F, N, E, L, W, 16, a[46]), L = r(L, F, N, E, x, 23, a[47]), E = m(E, L, F, N, v, 6, a[48]), N = m(N, E, L, F, P, 10, a[49]), F = m(F, N, E, L, B, 15, a[50]), L = m(L, F, N, E, k, 21, a[51]), E = m(E, L, F, N, z, 6, a[52]), N = m(N, E, L, F, D, 10, a[53]), F = m(F, N, E, L, M, 15, a[54]), L = m(L, F, N, E, h, 21, a[55]), E = m(E, L, F, N, G, 6, a[56]), N = m(N, E, L, F, W, 10, a[57]), F = m(F, N, E, L, S, 15, a[58]), L = m(L, F, N, E, A, 21, a[59]), E = m(E, L, F, N, O, 6, a[60]), N = m(N, E, L, F, R, 10, a[61]), F = m(F, N, E, L, x, 15, a[62]), L = m(L, F, N, E, w, 21, a[63]), b[0] = b[0] + E | 0, b[1] = b[1] + L | 0, b[2] = b[2] + F | 0, b[3] = b[3] + N | 0;
2133
2133
  },
2134
2134
  _doFinalize: function() {
2135
- var _ = this._data, f = _.words, U = this._nDataBytes * 8, d = _.sigBytes * 8;
2136
- f[d >>> 5] |= 128 << 24 - d % 32;
2135
+ var f = this._data, _ = f.words, U = this._nDataBytes * 8, d = f.sigBytes * 8;
2136
+ _[d >>> 5] |= 128 << 24 - d % 32;
2137
2137
  var y = i.floor(U / 4294967296), b = U;
2138
- f[(d + 64 >>> 9 << 4) + 15] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, f[(d + 64 >>> 9 << 4) + 14] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, _.sigBytes = (f.length + 1) * 4, this._process();
2138
+ _[(d + 64 >>> 9 << 4) + 15] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, _[(d + 64 >>> 9 << 4) + 14] = (b << 8 | b >>> 24) & 16711935 | (b << 24 | b >>> 8) & 4278255360, f.sigBytes = (_.length + 1) * 4, this._process();
2139
2139
  for (var v = this._hash, h = v.words, x = 0; x < 4; x++) {
2140
2140
  var D = h[x];
2141
2141
  h[x] = (D << 8 | D >>> 24) & 16711935 | (D << 24 | D >>> 8) & 4278255360;
@@ -2143,39 +2143,39 @@ function ta() {
2143
2143
  return v;
2144
2144
  },
2145
2145
  clone: function() {
2146
- var _ = c.clone.call(this);
2147
- return _._hash = this._hash.clone(), _;
2146
+ var f = c.clone.call(this);
2147
+ return f._hash = this._hash.clone(), f;
2148
2148
  }
2149
2149
  });
2150
- function o(_, f, U, d, y, b, v) {
2151
- var h = _ + (f & U | ~f & d) + y + v;
2152
- return (h << b | h >>> 32 - b) + f;
2150
+ function o(f, _, U, d, y, b, v) {
2151
+ var h = f + (_ & U | ~_ & d) + y + v;
2152
+ return (h << b | h >>> 32 - b) + _;
2153
2153
  }
2154
- function l(_, f, U, d, y, b, v) {
2155
- var h = _ + (f & d | U & ~d) + y + v;
2156
- return (h << b | h >>> 32 - b) + f;
2154
+ function l(f, _, U, d, y, b, v) {
2155
+ var h = f + (_ & d | U & ~d) + y + v;
2156
+ return (h << b | h >>> 32 - b) + _;
2157
2157
  }
2158
- function r(_, f, U, d, y, b, v) {
2159
- var h = _ + (f ^ U ^ d) + y + v;
2160
- return (h << b | h >>> 32 - b) + f;
2158
+ function r(f, _, U, d, y, b, v) {
2159
+ var h = f + (_ ^ U ^ d) + y + v;
2160
+ return (h << b | h >>> 32 - b) + _;
2161
2161
  }
2162
- function m(_, f, U, d, y, b, v) {
2163
- var h = _ + (U ^ (f | ~d)) + y + v;
2164
- return (h << b | h >>> 32 - b) + f;
2162
+ function m(f, _, U, d, y, b, v) {
2163
+ var h = f + (U ^ (_ | ~d)) + y + v;
2164
+ return (h << b | h >>> 32 - b) + _;
2165
2165
  }
2166
2166
  p.MD5 = c._createHelper(t), p.HmacMD5 = c._createHmacHelper(t);
2167
2167
  })(Math), n.MD5;
2168
2168
  });
2169
2169
  })(qa)), qa.exports;
2170
2170
  }
2171
- var ja = { exports: {} }, wl = ja.exports, vt;
2171
+ var $a = { exports: {} }, wl = $a.exports, vt;
2172
2172
  function Rn() {
2173
- return vt || (vt = 1, (function(e, u) {
2173
+ return vt || (vt = 1, (function(e, s) {
2174
2174
  (function(n, i) {
2175
- e.exports = i($());
2175
+ e.exports = i(j());
2176
2176
  })(wl, function(n) {
2177
2177
  return (function() {
2178
- var i = n, p = i.lib, g = p.WordArray, C = p.Hasher, c = i.algo, s = [], a = c.SHA1 = C.extend({
2178
+ var i = n, p = i.lib, g = p.WordArray, C = p.Hasher, c = i.algo, u = [], a = c.SHA1 = C.extend({
2179
2179
  _doReset: function() {
2180
2180
  this._hash = new g.init([
2181
2181
  1732584193,
@@ -2186,17 +2186,17 @@ function Rn() {
2186
2186
  ]);
2187
2187
  },
2188
2188
  _doProcessBlock: function(t, o) {
2189
- for (var l = this._hash.words, r = l[0], m = l[1], _ = l[2], f = l[3], U = l[4], d = 0; d < 80; d++) {
2189
+ for (var l = this._hash.words, r = l[0], m = l[1], f = l[2], _ = l[3], U = l[4], d = 0; d < 80; d++) {
2190
2190
  if (d < 16)
2191
- s[d] = t[o + d] | 0;
2191
+ u[d] = t[o + d] | 0;
2192
2192
  else {
2193
- var y = s[d - 3] ^ s[d - 8] ^ s[d - 14] ^ s[d - 16];
2194
- s[d] = y << 1 | y >>> 31;
2193
+ var y = u[d - 3] ^ u[d - 8] ^ u[d - 14] ^ u[d - 16];
2194
+ u[d] = y << 1 | y >>> 31;
2195
2195
  }
2196
- var b = (r << 5 | r >>> 27) + U + s[d];
2197
- d < 20 ? b += (m & _ | ~m & f) + 1518500249 : d < 40 ? b += (m ^ _ ^ f) + 1859775393 : d < 60 ? b += (m & _ | m & f | _ & f) - 1894007588 : b += (m ^ _ ^ f) - 899497514, U = f, f = _, _ = m << 30 | m >>> 2, m = r, r = b;
2196
+ var b = (r << 5 | r >>> 27) + U + u[d];
2197
+ d < 20 ? b += (m & f | ~m & _) + 1518500249 : d < 40 ? b += (m ^ f ^ _) + 1859775393 : d < 60 ? b += (m & f | m & _ | f & _) - 1894007588 : b += (m ^ f ^ _) - 899497514, U = _, _ = f, f = m << 30 | m >>> 2, m = r, r = b;
2198
2198
  }
2199
- l[0] = l[0] + r | 0, l[1] = l[1] + m | 0, l[2] = l[2] + _ | 0, l[3] = l[3] + f | 0, l[4] = l[4] + U | 0;
2199
+ l[0] = l[0] + r | 0, l[1] = l[1] + m | 0, l[2] = l[2] + f | 0, l[3] = l[3] + _ | 0, l[4] = l[4] + U | 0;
2200
2200
  },
2201
2201
  _doFinalize: function() {
2202
2202
  var t = this._data, o = t.words, l = this._nDataBytes * 8, r = t.sigBytes * 8;
@@ -2210,16 +2210,16 @@ function Rn() {
2210
2210
  i.SHA1 = C._createHelper(a), i.HmacSHA1 = C._createHmacHelper(a);
2211
2211
  })(), n.SHA1;
2212
2212
  });
2213
- })(ja)), ja.exports;
2213
+ })($a)), $a.exports;
2214
2214
  }
2215
- var $a = { exports: {} }, Ol = $a.exports, Tt;
2216
- function qi() {
2217
- return Tt || (Tt = 1, (function(e, u) {
2215
+ var ja = { exports: {} }, Ol = ja.exports, Tt;
2216
+ function $i() {
2217
+ return Tt || (Tt = 1, (function(e, s) {
2218
2218
  (function(n, i) {
2219
- e.exports = i($());
2219
+ e.exports = i(j());
2220
2220
  })(Ol, function(n) {
2221
2221
  return (function(i) {
2222
- var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, s = p.algo, a = [], t = [];
2222
+ var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, u = p.algo, a = [], t = [];
2223
2223
  (function() {
2224
2224
  function r(U) {
2225
2225
  for (var d = i.sqrt(U), y = 2; y <= d; y++)
@@ -2230,29 +2230,29 @@ function qi() {
2230
2230
  function m(U) {
2231
2231
  return (U - (U | 0)) * 4294967296 | 0;
2232
2232
  }
2233
- for (var _ = 2, f = 0; f < 64; )
2234
- r(_) && (f < 8 && (a[f] = m(i.pow(_, 1 / 2))), t[f] = m(i.pow(_, 1 / 3)), f++), _++;
2233
+ for (var f = 2, _ = 0; _ < 64; )
2234
+ r(f) && (_ < 8 && (a[_] = m(i.pow(f, 1 / 2))), t[_] = m(i.pow(f, 1 / 3)), _++), f++;
2235
2235
  })();
2236
- var o = [], l = s.SHA256 = c.extend({
2236
+ var o = [], l = u.SHA256 = c.extend({
2237
2237
  _doReset: function() {
2238
2238
  this._hash = new C.init(a.slice(0));
2239
2239
  },
2240
2240
  _doProcessBlock: function(r, m) {
2241
- for (var _ = this._hash.words, f = _[0], U = _[1], d = _[2], y = _[3], b = _[4], v = _[5], h = _[6], x = _[7], D = 0; D < 64; D++) {
2241
+ for (var f = this._hash.words, _ = f[0], U = f[1], d = f[2], y = f[3], b = f[4], v = f[5], h = f[6], x = f[7], D = 0; D < 64; D++) {
2242
2242
  if (D < 16)
2243
2243
  o[D] = r[m + D] | 0;
2244
2244
  else {
2245
2245
  var O = o[D - 15], k = (O << 25 | O >>> 7) ^ (O << 14 | O >>> 18) ^ O >>> 3, S = o[D - 2], P = (S << 15 | S >>> 17) ^ (S << 13 | S >>> 19) ^ S >>> 10;
2246
2246
  o[D] = k + o[D - 7] + P + o[D - 16];
2247
2247
  }
2248
- var G = b & v ^ ~b & h, w = f & U ^ f & d ^ U & d, M = (f << 30 | f >>> 2) ^ (f << 19 | f >>> 13) ^ (f << 10 | f >>> 22), R = (b << 26 | b >>> 6) ^ (b << 21 | b >>> 11) ^ (b << 7 | b >>> 25), z = x + R + G + t[D] + o[D], A = M + w;
2249
- x = h, h = v, v = b, b = y + z | 0, y = d, d = U, U = f, f = z + A | 0;
2248
+ var G = b & v ^ ~b & h, w = _ & U ^ _ & d ^ U & d, M = (_ << 30 | _ >>> 2) ^ (_ << 19 | _ >>> 13) ^ (_ << 10 | _ >>> 22), R = (b << 26 | b >>> 6) ^ (b << 21 | b >>> 11) ^ (b << 7 | b >>> 25), z = x + R + G + t[D] + o[D], A = M + w;
2249
+ x = h, h = v, v = b, b = y + z | 0, y = d, d = U, U = _, _ = z + A | 0;
2250
2250
  }
2251
- _[0] = _[0] + f | 0, _[1] = _[1] + U | 0, _[2] = _[2] + d | 0, _[3] = _[3] + y | 0, _[4] = _[4] + b | 0, _[5] = _[5] + v | 0, _[6] = _[6] + h | 0, _[7] = _[7] + x | 0;
2251
+ f[0] = f[0] + _ | 0, f[1] = f[1] + U | 0, f[2] = f[2] + d | 0, f[3] = f[3] + y | 0, f[4] = f[4] + b | 0, f[5] = f[5] + v | 0, f[6] = f[6] + h | 0, f[7] = f[7] + x | 0;
2252
2252
  },
2253
2253
  _doFinalize: function() {
2254
- var r = this._data, m = r.words, _ = this._nDataBytes * 8, f = r.sigBytes * 8;
2255
- return m[f >>> 5] |= 128 << 24 - f % 32, m[(f + 64 >>> 9 << 4) + 14] = i.floor(_ / 4294967296), m[(f + 64 >>> 9 << 4) + 15] = _, r.sigBytes = m.length * 4, this._process(), this._hash;
2254
+ var r = this._data, m = r.words, f = this._nDataBytes * 8, _ = r.sigBytes * 8;
2255
+ return m[_ >>> 5] |= 128 << 24 - _ % 32, m[(_ + 64 >>> 9 << 4) + 14] = i.floor(f / 4294967296), m[(_ + 64 >>> 9 << 4) + 15] = f, r.sigBytes = m.length * 4, this._process(), this._hash;
2256
2256
  },
2257
2257
  clone: function() {
2258
2258
  var r = c.clone.call(this);
@@ -2262,16 +2262,16 @@ function qi() {
2262
2262
  p.SHA256 = c._createHelper(l), p.HmacSHA256 = c._createHmacHelper(l);
2263
2263
  })(Math), n.SHA256;
2264
2264
  });
2265
- })($a)), $a.exports;
2265
+ })(ja)), ja.exports;
2266
2266
  }
2267
2267
  var Qa = { exports: {} }, Al = Qa.exports, ht;
2268
2268
  function Bl() {
2269
- return ht || (ht = 1, (function(e, u) {
2269
+ return ht || (ht = 1, (function(e, s) {
2270
2270
  (function(n, i, p) {
2271
- e.exports = i($(), qi());
2271
+ e.exports = i(j(), $i());
2272
2272
  })(Al, function(n) {
2273
2273
  return (function() {
2274
- var i = n, p = i.lib, g = p.WordArray, C = i.algo, c = C.SHA256, s = C.SHA224 = c.extend({
2274
+ var i = n, p = i.lib, g = p.WordArray, C = i.algo, c = C.SHA256, u = C.SHA224 = c.extend({
2275
2275
  _doReset: function() {
2276
2276
  this._hash = new g.init([
2277
2277
  3238371032,
@@ -2289,19 +2289,19 @@ function Bl() {
2289
2289
  return a.sigBytes -= 4, a;
2290
2290
  }
2291
2291
  });
2292
- i.SHA224 = c._createHelper(s), i.HmacSHA224 = c._createHmacHelper(s);
2292
+ i.SHA224 = c._createHelper(u), i.HmacSHA224 = c._createHmacHelper(u);
2293
2293
  })(), n.SHA224;
2294
2294
  });
2295
2295
  })(Qa)), Qa.exports;
2296
2296
  }
2297
2297
  var Ya = { exports: {} }, Hl = Ya.exports, kt;
2298
2298
  function Pn() {
2299
- return kt || (kt = 1, (function(e, u) {
2299
+ return kt || (kt = 1, (function(e, s) {
2300
2300
  (function(n, i, p) {
2301
- e.exports = i($(), Si());
2301
+ e.exports = i(j(), Si());
2302
2302
  })(Hl, function(n) {
2303
2303
  return (function() {
2304
- var i = n, p = i.lib, g = p.Hasher, C = i.x64, c = C.Word, s = C.WordArray, a = i.algo;
2304
+ var i = n, p = i.lib, g = p.Hasher, C = i.x64, c = C.Word, u = C.WordArray, a = i.algo;
2305
2305
  function t() {
2306
2306
  return c.create.apply(c, arguments);
2307
2307
  }
@@ -2393,7 +2393,7 @@ function Pn() {
2393
2393
  })();
2394
2394
  var r = a.SHA512 = g.extend({
2395
2395
  _doReset: function() {
2396
- this._hash = new s.init([
2396
+ this._hash = new u.init([
2397
2397
  new c.init(1779033703, 4089235720),
2398
2398
  new c.init(3144134277, 2227873595),
2399
2399
  new c.init(1013904242, 4271175723),
@@ -2404,23 +2404,23 @@ function Pn() {
2404
2404
  new c.init(1541459225, 327033209)
2405
2405
  ]);
2406
2406
  },
2407
- _doProcessBlock: function(m, _) {
2408
- for (var f = this._hash.words, U = f[0], d = f[1], y = f[2], b = f[3], v = f[4], h = f[5], x = f[6], D = f[7], O = U.high, k = U.low, S = d.high, P = d.low, G = y.high, w = y.low, M = b.high, R = b.low, z = v.high, A = v.low, B = h.high, W = h.low, E = x.high, L = x.low, F = D.high, N = D.low, K = O, q = k, Q = S, Z = P, ne = G, ie = w, be = M, Ce = R, oe = z, Ue = A, Re = B, De = W, Ke = E, We = L, ze = F, qe = N, he = 0; he < 80; he++) {
2409
- var de, Ee, na = l[he];
2407
+ _doProcessBlock: function(m, f) {
2408
+ for (var _ = this._hash.words, U = _[0], d = _[1], y = _[2], b = _[3], v = _[4], h = _[5], x = _[6], D = _[7], O = U.high, k = U.low, S = d.high, P = d.low, G = y.high, w = y.low, M = b.high, R = b.low, z = v.high, A = v.low, B = h.high, W = h.low, E = x.high, L = x.low, F = D.high, N = D.low, K = O, q = k, Q = S, Z = P, ne = G, ie = w, be = M, Ce = R, oe = z, Ue = A, Re = B, De = W, Ke = E, We = L, ze = F, qe = N, he = 0; he < 80; he++) {
2409
+ var ce, Ee, na = l[he];
2410
2410
  if (he < 16)
2411
- Ee = na.high = m[_ + he * 2] | 0, de = na.low = m[_ + he * 2 + 1] | 0;
2411
+ Ee = na.high = m[f + he * 2] | 0, ce = na.low = m[f + he * 2 + 1] | 0;
2412
2412
  else {
2413
- var ga = l[he - 15], Pe = ga.high, Ve = ga.low, Ei = (Pe >>> 1 | Ve << 31) ^ (Pe >>> 8 | Ve << 24) ^ Pe >>> 7, da = (Ve >>> 1 | Pe << 31) ^ (Ve >>> 8 | Pe << 24) ^ (Ve >>> 7 | Pe << 25), ca = l[he - 2], Ze = ca.high, je = ca.low, Ni = (Ze >>> 19 | je << 13) ^ (Ze << 3 | je >>> 29) ^ Ze >>> 6, Da = (je >>> 19 | Ze << 13) ^ (je << 3 | Ze >>> 29) ^ (je >>> 6 | Ze << 26), Ea = l[he - 7], Li = Ea.high, Gi = Ea.low, la = l[he - 16], Na = la.high, Fe = la.low;
2414
- de = da + Gi, Ee = Ei + Li + (de >>> 0 < da >>> 0 ? 1 : 0), de = de + Da, Ee = Ee + Ni + (de >>> 0 < Da >>> 0 ? 1 : 0), de = de + Fe, Ee = Ee + Na + (de >>> 0 < Fe >>> 0 ? 1 : 0), na.high = Ee, na.low = de;
2413
+ var ga = l[he - 15], Pe = ga.high, Ve = ga.low, Ni = (Pe >>> 1 | Ve << 31) ^ (Pe >>> 8 | Ve << 24) ^ Pe >>> 7, da = (Ve >>> 1 | Pe << 31) ^ (Ve >>> 8 | Pe << 24) ^ (Ve >>> 7 | Pe << 25), ca = l[he - 2], Ze = ca.high, $e = ca.low, Li = (Ze >>> 19 | $e << 13) ^ (Ze << 3 | $e >>> 29) ^ Ze >>> 6, Da = ($e >>> 19 | Ze << 13) ^ ($e << 3 | Ze >>> 29) ^ ($e >>> 6 | Ze << 26), Ea = l[he - 7], Gi = Ea.high, Mi = Ea.low, la = l[he - 16], Na = la.high, Fe = la.low;
2414
+ ce = da + Mi, Ee = Ni + Gi + (ce >>> 0 < da >>> 0 ? 1 : 0), ce = ce + Da, Ee = Ee + Li + (ce >>> 0 < Da >>> 0 ? 1 : 0), ce = ce + Fe, Ee = Ee + Na + (ce >>> 0 < Fe >>> 0 ? 1 : 0), na.high = Ee, na.low = ce;
2415
2415
  }
2416
- var fa = oe & Re ^ ~oe & Ke, ra = Ue & De ^ ~Ue & We, La = K & Q ^ K & ne ^ Q & ne, Mi = q & Z ^ q & ie ^ Z & ie, Ga = (K >>> 28 | q << 4) ^ (K << 30 | q >>> 2) ^ (K << 25 | q >>> 7), Ma = (q >>> 28 | K << 4) ^ (q << 30 | K >>> 2) ^ (q << 25 | K >>> 7), Ra = (oe >>> 14 | Ue << 18) ^ (oe >>> 18 | Ue << 14) ^ (oe << 23 | Ue >>> 9), Pa = (Ue >>> 14 | oe << 18) ^ (Ue >>> 18 | oe << 14) ^ (Ue << 23 | oe >>> 9), Fa = o[he], Ri = Fa.high, _a = Fa.low, ce = qe + Pa, Ne = ze + Ra + (ce >>> 0 < qe >>> 0 ? 1 : 0), ce = ce + ra, Ne = Ne + fa + (ce >>> 0 < ra >>> 0 ? 1 : 0), ce = ce + _a, Ne = Ne + Ri + (ce >>> 0 < _a >>> 0 ? 1 : 0), ce = ce + de, Ne = Ne + Ee + (ce >>> 0 < de >>> 0 ? 1 : 0), wa = Ma + Mi, Pi = Ga + La + (wa >>> 0 < Ma >>> 0 ? 1 : 0);
2417
- ze = Ke, qe = We, Ke = Re, We = De, Re = oe, De = Ue, Ue = Ce + ce | 0, oe = be + Ne + (Ue >>> 0 < Ce >>> 0 ? 1 : 0) | 0, be = ne, Ce = ie, ne = Q, ie = Z, Q = K, Z = q, q = ce + wa | 0, K = Ne + Pi + (q >>> 0 < ce >>> 0 ? 1 : 0) | 0;
2416
+ var _a = oe & Re ^ ~oe & Ke, ra = Ue & De ^ ~Ue & We, La = K & Q ^ K & ne ^ Q & ne, Ri = q & Z ^ q & ie ^ Z & ie, Ga = (K >>> 28 | q << 4) ^ (K << 30 | q >>> 2) ^ (K << 25 | q >>> 7), Ma = (q >>> 28 | K << 4) ^ (q << 30 | K >>> 2) ^ (q << 25 | K >>> 7), Ra = (oe >>> 14 | Ue << 18) ^ (oe >>> 18 | Ue << 14) ^ (oe << 23 | Ue >>> 9), Pa = (Ue >>> 14 | oe << 18) ^ (Ue >>> 18 | oe << 14) ^ (Ue << 23 | oe >>> 9), Fa = o[he], Pi = Fa.high, fa = Fa.low, _e = qe + Pa, Ne = ze + Ra + (_e >>> 0 < qe >>> 0 ? 1 : 0), _e = _e + ra, Ne = Ne + _a + (_e >>> 0 < ra >>> 0 ? 1 : 0), _e = _e + fa, Ne = Ne + Pi + (_e >>> 0 < fa >>> 0 ? 1 : 0), _e = _e + ce, Ne = Ne + Ee + (_e >>> 0 < ce >>> 0 ? 1 : 0), wa = Ma + Ri, Fi = Ga + La + (wa >>> 0 < Ma >>> 0 ? 1 : 0);
2417
+ ze = Ke, qe = We, Ke = Re, We = De, Re = oe, De = Ue, Ue = Ce + _e | 0, oe = be + Ne + (Ue >>> 0 < Ce >>> 0 ? 1 : 0) | 0, be = ne, Ce = ie, ne = Q, ie = Z, Q = K, Z = q, q = _e + wa | 0, K = Ne + Fi + (q >>> 0 < _e >>> 0 ? 1 : 0) | 0;
2418
2418
  }
2419
2419
  k = U.low = k + q, U.high = O + K + (k >>> 0 < q >>> 0 ? 1 : 0), P = d.low = P + Z, d.high = S + Q + (P >>> 0 < Z >>> 0 ? 1 : 0), w = y.low = w + ie, y.high = G + ne + (w >>> 0 < ie >>> 0 ? 1 : 0), R = b.low = R + Ce, b.high = M + be + (R >>> 0 < Ce >>> 0 ? 1 : 0), A = v.low = A + Ue, v.high = z + oe + (A >>> 0 < Ue >>> 0 ? 1 : 0), W = h.low = W + De, h.high = B + Re + (W >>> 0 < De >>> 0 ? 1 : 0), L = x.low = L + We, x.high = E + Ke + (L >>> 0 < We >>> 0 ? 1 : 0), N = D.low = N + qe, D.high = F + ze + (N >>> 0 < qe >>> 0 ? 1 : 0);
2420
2420
  },
2421
2421
  _doFinalize: function() {
2422
- var m = this._data, _ = m.words, f = this._nDataBytes * 8, U = m.sigBytes * 8;
2423
- _[U >>> 5] |= 128 << 24 - U % 32, _[(U + 128 >>> 10 << 5) + 30] = Math.floor(f / 4294967296), _[(U + 128 >>> 10 << 5) + 31] = f, m.sigBytes = _.length * 4, this._process();
2422
+ var m = this._data, f = m.words, _ = this._nDataBytes * 8, U = m.sigBytes * 8;
2423
+ f[U >>> 5] |= 128 << 24 - U % 32, f[(U + 128 >>> 10 << 5) + 30] = Math.floor(_ / 4294967296), f[(U + 128 >>> 10 << 5) + 31] = _, m.sigBytes = f.length * 4, this._process();
2424
2424
  var d = this._hash.toX32();
2425
2425
  return d;
2426
2426
  },
@@ -2437,12 +2437,12 @@ function Pn() {
2437
2437
  }
2438
2438
  var Xa = { exports: {} }, Wl = Xa.exports, xt;
2439
2439
  function zl() {
2440
- return xt || (xt = 1, (function(e, u) {
2440
+ return xt || (xt = 1, (function(e, s) {
2441
2441
  (function(n, i, p) {
2442
- e.exports = i($(), Si(), Pn());
2442
+ e.exports = i(j(), Si(), Pn());
2443
2443
  })(Wl, function(n) {
2444
2444
  return (function() {
2445
- var i = n, p = i.x64, g = p.Word, C = p.WordArray, c = i.algo, s = c.SHA512, a = c.SHA384 = s.extend({
2445
+ var i = n, p = i.x64, g = p.Word, C = p.WordArray, c = i.algo, u = c.SHA512, a = c.SHA384 = u.extend({
2446
2446
  _doReset: function() {
2447
2447
  this._hash = new C.init([
2448
2448
  new g.init(3418070365, 3238371032),
@@ -2456,32 +2456,32 @@ function zl() {
2456
2456
  ]);
2457
2457
  },
2458
2458
  _doFinalize: function() {
2459
- var t = s._doFinalize.call(this);
2459
+ var t = u._doFinalize.call(this);
2460
2460
  return t.sigBytes -= 16, t;
2461
2461
  }
2462
2462
  });
2463
- i.SHA384 = s._createHelper(a), i.HmacSHA384 = s._createHmacHelper(a);
2463
+ i.SHA384 = u._createHelper(a), i.HmacSHA384 = u._createHmacHelper(a);
2464
2464
  })(), n.SHA384;
2465
2465
  });
2466
2466
  })(Xa)), Xa.exports;
2467
2467
  }
2468
2468
  var ei = { exports: {} }, Vl = ei.exports, St;
2469
2469
  function Zl() {
2470
- return St || (St = 1, (function(e, u) {
2470
+ return St || (St = 1, (function(e, s) {
2471
2471
  (function(n, i, p) {
2472
- e.exports = i($(), Si());
2472
+ e.exports = i(j(), Si());
2473
2473
  })(Vl, function(n) {
2474
2474
  return (function(i) {
2475
- var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, s = p.x64, a = s.Word, t = p.algo, o = [], l = [], r = [];
2475
+ var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, u = p.x64, a = u.Word, t = p.algo, o = [], l = [], r = [];
2476
2476
  (function() {
2477
- for (var f = 1, U = 0, d = 0; d < 24; d++) {
2478
- o[f + 5 * U] = (d + 1) * (d + 2) / 2 % 64;
2479
- var y = U % 5, b = (2 * f + 3 * U) % 5;
2480
- f = y, U = b;
2477
+ for (var _ = 1, U = 0, d = 0; d < 24; d++) {
2478
+ o[_ + 5 * U] = (d + 1) * (d + 2) / 2 % 64;
2479
+ var y = U % 5, b = (2 * _ + 3 * U) % 5;
2480
+ _ = y, U = b;
2481
2481
  }
2482
- for (var f = 0; f < 5; f++)
2482
+ for (var _ = 0; _ < 5; _++)
2483
2483
  for (var U = 0; U < 5; U++)
2484
- l[f + 5 * U] = U + (2 * f + 3 * U) % 5 * 5;
2484
+ l[_ + 5 * U] = U + (2 * _ + 3 * U) % 5 * 5;
2485
2485
  for (var v = 1, h = 0; h < 24; h++) {
2486
2486
  for (var x = 0, D = 0, O = 0; O < 7; O++) {
2487
2487
  if (v & 1) {
@@ -2495,10 +2495,10 @@ function Zl() {
2495
2495
  })();
2496
2496
  var m = [];
2497
2497
  (function() {
2498
- for (var f = 0; f < 25; f++)
2499
- m[f] = a.create();
2498
+ for (var _ = 0; _ < 25; _++)
2499
+ m[_] = a.create();
2500
2500
  })();
2501
- var _ = t.SHA3 = c.extend({
2501
+ var f = t.SHA3 = c.extend({
2502
2502
  /**
2503
2503
  * Configuration options.
2504
2504
  *
@@ -2511,13 +2511,13 @@ function Zl() {
2511
2511
  outputLength: 512
2512
2512
  }),
2513
2513
  _doReset: function() {
2514
- for (var f = this._state = [], U = 0; U < 25; U++)
2515
- f[U] = new a.init();
2514
+ for (var _ = this._state = [], U = 0; U < 25; U++)
2515
+ _[U] = new a.init();
2516
2516
  this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
2517
2517
  },
2518
- _doProcessBlock: function(f, U) {
2518
+ _doProcessBlock: function(_, U) {
2519
2519
  for (var d = this._state, y = this.blockSize / 2, b = 0; b < y; b++) {
2520
- var v = f[U + 2 * b], h = f[U + 2 * b + 1];
2520
+ var v = _[U + 2 * b], h = _[U + 2 * b + 1];
2521
2521
  v = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, h = (h << 8 | h >>> 24) & 16711935 | (h << 24 | h >>> 8) & 4278255360;
2522
2522
  var x = d[b];
2523
2523
  x.high ^= h, x.low ^= v;
@@ -2554,10 +2554,10 @@ function Zl() {
2554
2554
  }
2555
2555
  },
2556
2556
  _doFinalize: function() {
2557
- var f = this._data, U = f.words;
2557
+ var _ = this._data, U = _.words;
2558
2558
  this._nDataBytes * 8;
2559
- var d = f.sigBytes * 8, y = this.blockSize * 32;
2560
- U[d >>> 5] |= 1 << 24 - d % 32, U[(i.ceil((d + 1) / y) * y >>> 5) - 1] |= 128, f.sigBytes = U.length * 4, this._process();
2559
+ var d = _.sigBytes * 8, y = this.blockSize * 32;
2560
+ U[d >>> 5] |= 1 << 24 - d % 32, U[(i.ceil((d + 1) / y) * y >>> 5) - 1] |= 128, _.sigBytes = U.length * 4, this._process();
2561
2561
  for (var b = this._state, v = this.cfg.outputLength / 8, h = v / 8, x = [], D = 0; D < h; D++) {
2562
2562
  var O = b[D], k = O.high, S = O.low;
2563
2563
  k = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360, S = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360, x.push(S), x.push(k);
@@ -2565,24 +2565,24 @@ function Zl() {
2565
2565
  return new C.init(x, v);
2566
2566
  },
2567
2567
  clone: function() {
2568
- for (var f = c.clone.call(this), U = f._state = this._state.slice(0), d = 0; d < 25; d++)
2568
+ for (var _ = c.clone.call(this), U = _._state = this._state.slice(0), d = 0; d < 25; d++)
2569
2569
  U[d] = U[d].clone();
2570
- return f;
2570
+ return _;
2571
2571
  }
2572
2572
  });
2573
- p.SHA3 = c._createHelper(_), p.HmacSHA3 = c._createHmacHelper(_);
2573
+ p.SHA3 = c._createHelper(f), p.HmacSHA3 = c._createHmacHelper(f);
2574
2574
  })(Math), n.SHA3;
2575
2575
  });
2576
2576
  })(ei)), ei.exports;
2577
2577
  }
2578
2578
  var ai = { exports: {} }, Jl = ai.exports, Dt;
2579
2579
  function Il() {
2580
- return Dt || (Dt = 1, (function(e, u) {
2580
+ return Dt || (Dt = 1, (function(e, s) {
2581
2581
  (function(n, i) {
2582
- e.exports = i($());
2582
+ e.exports = i(j());
2583
2583
  })(Jl, function(n) {
2584
2584
  return (function(i) {
2585
- var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, s = p.algo, a = C.create([
2585
+ var p = n, g = p.lib, C = g.WordArray, c = g.Hasher, u = p.algo, a = C.create([
2586
2586
  0,
2587
2587
  1,
2588
2588
  2,
@@ -2906,7 +2906,7 @@ function Il() {
2906
2906
  13,
2907
2907
  11,
2908
2908
  11
2909
- ]), r = C.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), m = C.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), _ = s.RIPEMD160 = c.extend({
2909
+ ]), r = C.create([0, 1518500249, 1859775393, 2400959708, 2840853838]), m = C.create([1352829926, 1548603684, 1836072691, 2053994217, 0]), f = u.RIPEMD160 = c.extend({
2910
2910
  _doReset: function() {
2911
2911
  this._hash = C.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
2912
2912
  },
@@ -2918,7 +2918,7 @@ function Il() {
2918
2918
  var S = this._hash.words, P = r.words, G = m.words, w = a.words, M = t.words, R = o.words, z = l.words, A, B, W, E, L, F, N, K, q, Q;
2919
2919
  F = A = S[0], N = B = S[1], K = W = S[2], q = E = S[3], Q = L = S[4];
2920
2920
  for (var Z, D = 0; D < 80; D += 1)
2921
- Z = A + h[x + w[D]] | 0, D < 16 ? Z += f(B, W, E) + P[0] : D < 32 ? Z += U(B, W, E) + P[1] : D < 48 ? Z += d(B, W, E) + P[2] : D < 64 ? Z += y(B, W, E) + P[3] : Z += b(B, W, E) + P[4], Z = Z | 0, Z = v(Z, R[D]), Z = Z + L | 0, A = L, L = E, E = v(W, 10), W = B, B = Z, Z = F + h[x + M[D]] | 0, D < 16 ? Z += b(N, K, q) + G[0] : D < 32 ? Z += y(N, K, q) + G[1] : D < 48 ? Z += d(N, K, q) + G[2] : D < 64 ? Z += U(N, K, q) + G[3] : Z += f(N, K, q) + G[4], Z = Z | 0, Z = v(Z, z[D]), Z = Z + Q | 0, F = Q, Q = q, q = v(K, 10), K = N, N = Z;
2921
+ Z = A + h[x + w[D]] | 0, D < 16 ? Z += _(B, W, E) + P[0] : D < 32 ? Z += U(B, W, E) + P[1] : D < 48 ? Z += d(B, W, E) + P[2] : D < 64 ? Z += y(B, W, E) + P[3] : Z += b(B, W, E) + P[4], Z = Z | 0, Z = v(Z, R[D]), Z = Z + L | 0, A = L, L = E, E = v(W, 10), W = B, B = Z, Z = F + h[x + M[D]] | 0, D < 16 ? Z += b(N, K, q) + G[0] : D < 32 ? Z += y(N, K, q) + G[1] : D < 48 ? Z += d(N, K, q) + G[2] : D < 64 ? Z += U(N, K, q) + G[3] : Z += _(N, K, q) + G[4], Z = Z | 0, Z = v(Z, z[D]), Z = Z + Q | 0, F = Q, Q = q, q = v(K, 10), K = N, N = Z;
2922
2922
  Z = S[1] + W + q | 0, S[1] = S[2] + E + Q | 0, S[2] = S[3] + L + F | 0, S[3] = S[4] + A + N | 0, S[4] = S[0] + B + K | 0, S[0] = Z;
2923
2923
  },
2924
2924
  _doFinalize: function() {
@@ -2935,7 +2935,7 @@ function Il() {
2935
2935
  return h._hash = this._hash.clone(), h;
2936
2936
  }
2937
2937
  });
2938
- function f(h, x, D) {
2938
+ function _(h, x, D) {
2939
2939
  return h ^ x ^ D;
2940
2940
  }
2941
2941
  function U(h, x, D) {
@@ -2953,20 +2953,20 @@ function Il() {
2953
2953
  function v(h, x) {
2954
2954
  return h << x | h >>> 32 - x;
2955
2955
  }
2956
- p.RIPEMD160 = c._createHelper(_), p.HmacRIPEMD160 = c._createHmacHelper(_);
2956
+ p.RIPEMD160 = c._createHelper(f), p.HmacRIPEMD160 = c._createHmacHelper(f);
2957
2957
  })(), n.RIPEMD160;
2958
2958
  });
2959
2959
  })(ai)), ai.exports;
2960
2960
  }
2961
2961
  var ii = { exports: {} }, Kl = ii.exports, Et;
2962
2962
  function ji() {
2963
- return Et || (Et = 1, (function(e, u) {
2963
+ return Et || (Et = 1, (function(e, s) {
2964
2964
  (function(n, i) {
2965
- e.exports = i($());
2965
+ e.exports = i(j());
2966
2966
  })(Kl, function(n) {
2967
2967
  (function() {
2968
- var i = n, p = i.lib, g = p.Base, C = i.enc, c = C.Utf8, s = i.algo;
2969
- s.HMAC = g.extend({
2968
+ var i = n, p = i.lib, g = p.Base, C = i.enc, c = C.Utf8, u = i.algo;
2969
+ u.HMAC = g.extend({
2970
2970
  /**
2971
2971
  * Initializes a newly created HMAC.
2972
2972
  *
@@ -2981,8 +2981,8 @@ function ji() {
2981
2981
  a = this._hasher = new a.init(), typeof t == "string" && (t = c.parse(t));
2982
2982
  var o = a.blockSize, l = o * 4;
2983
2983
  t.sigBytes > l && (t = a.finalize(t)), t.clamp();
2984
- for (var r = this._oKey = t.clone(), m = this._iKey = t.clone(), _ = r.words, f = m.words, U = 0; U < o; U++)
2985
- _[U] ^= 1549556828, f[U] ^= 909522486;
2984
+ for (var r = this._oKey = t.clone(), m = this._iKey = t.clone(), f = r.words, _ = m.words, U = 0; U < o; U++)
2985
+ f[U] ^= 1549556828, _[U] ^= 909522486;
2986
2986
  r.sigBytes = m.sigBytes = l, this.reset();
2987
2987
  },
2988
2988
  /**
@@ -3037,13 +3037,13 @@ function ji() {
3037
3037
  })(ii)), ii.exports;
3038
3038
  }
3039
3039
  var ti = { exports: {} }, ql = ti.exports, Nt;
3040
- function jl() {
3041
- return Nt || (Nt = 1, (function(e, u) {
3040
+ function $l() {
3041
+ return Nt || (Nt = 1, (function(e, s) {
3042
3042
  (function(n, i, p) {
3043
- e.exports = i($(), qi(), ji());
3043
+ e.exports = i(j(), $i(), ji());
3044
3044
  })(ql, function(n) {
3045
3045
  return (function() {
3046
- var i = n, p = i.lib, g = p.Base, C = p.WordArray, c = i.algo, s = c.SHA256, a = c.HMAC, t = c.PBKDF2 = g.extend({
3046
+ var i = n, p = i.lib, g = p.Base, C = p.WordArray, c = i.algo, u = c.SHA256, a = c.HMAC, t = c.PBKDF2 = g.extend({
3047
3047
  /**
3048
3048
  * Configuration options.
3049
3049
  *
@@ -3053,7 +3053,7 @@ function jl() {
3053
3053
  */
3054
3054
  cfg: g.extend({
3055
3055
  keySize: 128 / 32,
3056
- hasher: s,
3056
+ hasher: u,
3057
3057
  iterations: 25e4
3058
3058
  }),
3059
3059
  /**
@@ -3083,17 +3083,17 @@ function jl() {
3083
3083
  * var key = kdf.compute(password, salt);
3084
3084
  */
3085
3085
  compute: function(o, l) {
3086
- for (var r = this.cfg, m = a.create(r.hasher, o), _ = C.create(), f = C.create([1]), U = _.words, d = f.words, y = r.keySize, b = r.iterations; U.length < y; ) {
3087
- var v = m.update(l).finalize(f);
3086
+ for (var r = this.cfg, m = a.create(r.hasher, o), f = C.create(), _ = C.create([1]), U = f.words, d = _.words, y = r.keySize, b = r.iterations; U.length < y; ) {
3087
+ var v = m.update(l).finalize(_);
3088
3088
  m.reset();
3089
3089
  for (var h = v.words, x = h.length, D = v, O = 1; O < b; O++) {
3090
3090
  D = m.finalize(D), m.reset();
3091
3091
  for (var k = D.words, S = 0; S < x; S++)
3092
3092
  h[S] ^= k[S];
3093
3093
  }
3094
- _.concat(v), d[0]++;
3094
+ f.concat(v), d[0]++;
3095
3095
  }
3096
- return _.sigBytes = y * 4, _;
3096
+ return f.sigBytes = y * 4, f;
3097
3097
  }
3098
3098
  });
3099
3099
  i.PBKDF2 = function(o, l, r) {
@@ -3103,14 +3103,14 @@ function jl() {
3103
3103
  });
3104
3104
  })(ti)), ti.exports;
3105
3105
  }
3106
- var ni = { exports: {} }, $l = ni.exports, Lt;
3106
+ var ni = { exports: {} }, jl = ni.exports, Lt;
3107
3107
  function Je() {
3108
- return Lt || (Lt = 1, (function(e, u) {
3108
+ return Lt || (Lt = 1, (function(e, s) {
3109
3109
  (function(n, i, p) {
3110
- e.exports = i($(), Rn(), ji());
3111
- })($l, function(n) {
3110
+ e.exports = i(j(), Rn(), ji());
3111
+ })(jl, function(n) {
3112
3112
  return (function() {
3113
- var i = n, p = i.lib, g = p.Base, C = p.WordArray, c = i.algo, s = c.MD5, a = c.EvpKDF = g.extend({
3113
+ var i = n, p = i.lib, g = p.Base, C = p.WordArray, c = i.algo, u = c.MD5, a = c.EvpKDF = g.extend({
3114
3114
  /**
3115
3115
  * Configuration options.
3116
3116
  *
@@ -3120,7 +3120,7 @@ function Je() {
3120
3120
  */
3121
3121
  cfg: g.extend({
3122
3122
  keySize: 128 / 32,
3123
- hasher: s,
3123
+ hasher: u,
3124
3124
  iterations: 1
3125
3125
  }),
3126
3126
  /**
@@ -3150,13 +3150,13 @@ function Je() {
3150
3150
  * var key = kdf.compute(password, salt);
3151
3151
  */
3152
3152
  compute: function(t, o) {
3153
- for (var l, r = this.cfg, m = r.hasher.create(), _ = C.create(), f = _.words, U = r.keySize, d = r.iterations; f.length < U; ) {
3153
+ for (var l, r = this.cfg, m = r.hasher.create(), f = C.create(), _ = f.words, U = r.keySize, d = r.iterations; _.length < U; ) {
3154
3154
  l && m.update(l), l = m.update(t).finalize(o), m.reset();
3155
3155
  for (var y = 1; y < d; y++)
3156
3156
  l = m.finalize(l), m.reset();
3157
- _.concat(l);
3157
+ f.concat(l);
3158
3158
  }
3159
- return _.sigBytes = U * 4, _;
3159
+ return f.sigBytes = U * 4, f;
3160
3160
  }
3161
3161
  });
3162
3162
  i.EvpKDF = function(t, o, l) {
@@ -3168,14 +3168,14 @@ function Je() {
3168
3168
  }
3169
3169
  var li = { exports: {} }, Ql = li.exports, Gt;
3170
3170
  function ue() {
3171
- return Gt || (Gt = 1, (function(e, u) {
3171
+ return Gt || (Gt = 1, (function(e, s) {
3172
3172
  (function(n, i, p) {
3173
- e.exports = i($(), Je());
3173
+ e.exports = i(j(), Je());
3174
3174
  })(Ql, function(n) {
3175
3175
  n.lib.Cipher || (function(i) {
3176
- var p = n, g = p.lib, C = g.Base, c = g.WordArray, s = g.BufferedBlockAlgorithm, a = p.enc;
3176
+ var p = n, g = p.lib, C = g.Base, c = g.WordArray, u = g.BufferedBlockAlgorithm, a = p.enc;
3177
3177
  a.Utf8;
3178
- var t = a.Base64, o = p.algo, l = o.EvpKDF, r = g.Cipher = s.extend({
3178
+ var t = a.Base64, o = p.algo, l = o.EvpKDF, r = g.Cipher = u.extend({
3179
3179
  /**
3180
3180
  * Configuration options.
3181
3181
  *
@@ -3238,7 +3238,7 @@ function ue() {
3238
3238
  * cipher.reset();
3239
3239
  */
3240
3240
  reset: function() {
3241
- s.reset.call(this), this._doReset();
3241
+ u.reset.call(this), this._doReset();
3242
3242
  },
3243
3243
  /**
3244
3244
  * Adds data to be encrypted or decrypted.
@@ -3314,7 +3314,7 @@ function ue() {
3314
3314
  },
3315
3315
  blockSize: 1
3316
3316
  });
3317
- var m = p.mode = {}, _ = g.BlockCipherMode = C.extend({
3317
+ var m = p.mode = {}, f = g.BlockCipherMode = C.extend({
3318
3318
  /**
3319
3319
  * Creates this mode for encryption.
3320
3320
  *
@@ -3358,8 +3358,8 @@ function ue() {
3358
3358
  init: function(k, S) {
3359
3359
  this._cipher = k, this._iv = S;
3360
3360
  }
3361
- }), f = m.CBC = (function() {
3362
- var k = _.extend();
3361
+ }), _ = m.CBC = (function() {
3362
+ var k = f.extend();
3363
3363
  k.Encryptor = k.extend({
3364
3364
  /**
3365
3365
  * Processes the data block at offset.
@@ -3441,7 +3441,7 @@ function ue() {
3441
3441
  * @property {Padding} padding The padding strategy to use. Default: Pkcs7
3442
3442
  */
3443
3443
  cfg: r.cfg.extend({
3444
- mode: f,
3444
+ mode: _,
3445
3445
  padding: d
3446
3446
  }),
3447
3447
  reset: function() {
@@ -3706,26 +3706,26 @@ function ue() {
3706
3706
  }
3707
3707
  var ri = { exports: {} }, Yl = ri.exports, Mt;
3708
3708
  function Xl() {
3709
- return Mt || (Mt = 1, (function(e, u) {
3709
+ return Mt || (Mt = 1, (function(e, s) {
3710
3710
  (function(n, i, p) {
3711
- e.exports = i($(), ue());
3711
+ e.exports = i(j(), ue());
3712
3712
  })(Yl, function(n) {
3713
3713
  return n.mode.CFB = (function() {
3714
3714
  var i = n.lib.BlockCipherMode.extend();
3715
3715
  i.Encryptor = i.extend({
3716
3716
  processBlock: function(g, C) {
3717
- var c = this._cipher, s = c.blockSize;
3718
- p.call(this, g, C, s, c), this._prevBlock = g.slice(C, C + s);
3717
+ var c = this._cipher, u = c.blockSize;
3718
+ p.call(this, g, C, u, c), this._prevBlock = g.slice(C, C + u);
3719
3719
  }
3720
3720
  }), i.Decryptor = i.extend({
3721
3721
  processBlock: function(g, C) {
3722
- var c = this._cipher, s = c.blockSize, a = g.slice(C, C + s);
3723
- p.call(this, g, C, s, c), this._prevBlock = a;
3722
+ var c = this._cipher, u = c.blockSize, a = g.slice(C, C + u);
3723
+ p.call(this, g, C, u, c), this._prevBlock = a;
3724
3724
  }
3725
3725
  });
3726
- function p(g, C, c, s) {
3726
+ function p(g, C, c, u) {
3727
3727
  var a, t = this._iv;
3728
- t ? (a = t.slice(0), this._iv = void 0) : a = this._prevBlock, s.encryptBlock(a, 0);
3728
+ t ? (a = t.slice(0), this._iv = void 0) : a = this._prevBlock, u.encryptBlock(a, 0);
3729
3729
  for (var o = 0; o < c; o++)
3730
3730
  g[C + o] ^= a[o];
3731
3731
  }
@@ -3736,18 +3736,18 @@ function Xl() {
3736
3736
  }
3737
3737
  var oi = { exports: {} }, er = oi.exports, Rt;
3738
3738
  function ar() {
3739
- return Rt || (Rt = 1, (function(e, u) {
3739
+ return Rt || (Rt = 1, (function(e, s) {
3740
3740
  (function(n, i, p) {
3741
- e.exports = i($(), ue());
3741
+ e.exports = i(j(), ue());
3742
3742
  })(er, function(n) {
3743
3743
  return n.mode.CTR = (function() {
3744
3744
  var i = n.lib.BlockCipherMode.extend(), p = i.Encryptor = i.extend({
3745
3745
  processBlock: function(g, C) {
3746
- var c = this._cipher, s = c.blockSize, a = this._iv, t = this._counter;
3746
+ var c = this._cipher, u = c.blockSize, a = this._iv, t = this._counter;
3747
3747
  a && (t = this._counter = a.slice(0), this._iv = void 0);
3748
3748
  var o = t.slice(0);
3749
- c.encryptBlock(o, 0), t[s - 1] = t[s - 1] + 1 | 0;
3750
- for (var l = 0; l < s; l++)
3749
+ c.encryptBlock(o, 0), t[u - 1] = t[u - 1] + 1 | 0;
3750
+ for (var l = 0; l < u; l++)
3751
3751
  g[C + l] ^= o[l];
3752
3752
  }
3753
3753
  });
@@ -3758,16 +3758,16 @@ function ar() {
3758
3758
  }
3759
3759
  var mi = { exports: {} }, ir = mi.exports, Pt;
3760
3760
  function tr() {
3761
- return Pt || (Pt = 1, (function(e, u) {
3761
+ return Pt || (Pt = 1, (function(e, s) {
3762
3762
  (function(n, i, p) {
3763
- e.exports = i($(), ue());
3763
+ e.exports = i(j(), ue());
3764
3764
  })(ir, function(n) {
3765
3765
  return n.mode.CTRGladman = (function() {
3766
3766
  var i = n.lib.BlockCipherMode.extend();
3767
3767
  function p(c) {
3768
3768
  if ((c >> 24 & 255) === 255) {
3769
- var s = c >> 16 & 255, a = c >> 8 & 255, t = c & 255;
3770
- s === 255 ? (s = 0, a === 255 ? (a = 0, t === 255 ? t = 0 : ++t) : ++a) : ++s, c = 0, c += s << 16, c += a << 8, c += t;
3769
+ var u = c >> 16 & 255, a = c >> 8 & 255, t = c & 255;
3770
+ u === 255 ? (u = 0, a === 255 ? (a = 0, t === 255 ? t = 0 : ++t) : ++a) : ++u, c = 0, c += u << 16, c += a << 8, c += t;
3771
3771
  } else
3772
3772
  c += 1 << 24;
3773
3773
  return c;
@@ -3776,13 +3776,13 @@ function tr() {
3776
3776
  return (c[0] = p(c[0])) === 0 && (c[1] = p(c[1])), c;
3777
3777
  }
3778
3778
  var C = i.Encryptor = i.extend({
3779
- processBlock: function(c, s) {
3779
+ processBlock: function(c, u) {
3780
3780
  var a = this._cipher, t = a.blockSize, o = this._iv, l = this._counter;
3781
3781
  o && (l = this._counter = o.slice(0), this._iv = void 0), g(l);
3782
3782
  var r = l.slice(0);
3783
3783
  a.encryptBlock(r, 0);
3784
3784
  for (var m = 0; m < t; m++)
3785
- c[s + m] ^= r[m];
3785
+ c[u + m] ^= r[m];
3786
3786
  }
3787
3787
  });
3788
3788
  return i.Decryptor = C, i;
@@ -3792,16 +3792,16 @@ function tr() {
3792
3792
  }
3793
3793
  var si = { exports: {} }, nr = si.exports, Ft;
3794
3794
  function lr() {
3795
- return Ft || (Ft = 1, (function(e, u) {
3795
+ return Ft || (Ft = 1, (function(e, s) {
3796
3796
  (function(n, i, p) {
3797
- e.exports = i($(), ue());
3797
+ e.exports = i(j(), ue());
3798
3798
  })(nr, function(n) {
3799
3799
  return n.mode.OFB = (function() {
3800
3800
  var i = n.lib.BlockCipherMode.extend(), p = i.Encryptor = i.extend({
3801
3801
  processBlock: function(g, C) {
3802
- var c = this._cipher, s = c.blockSize, a = this._iv, t = this._keystream;
3802
+ var c = this._cipher, u = c.blockSize, a = this._iv, t = this._keystream;
3803
3803
  a && (t = this._keystream = a.slice(0), this._iv = void 0), c.encryptBlock(t, 0);
3804
- for (var o = 0; o < s; o++)
3804
+ for (var o = 0; o < u; o++)
3805
3805
  g[C + o] ^= t[o];
3806
3806
  }
3807
3807
  });
@@ -3812,9 +3812,9 @@ function lr() {
3812
3812
  }
3813
3813
  var ui = { exports: {} }, rr = ui.exports, wt;
3814
3814
  function or() {
3815
- return wt || (wt = 1, (function(e, u) {
3815
+ return wt || (wt = 1, (function(e, s) {
3816
3816
  (function(n, i, p) {
3817
- e.exports = i($(), ue());
3817
+ e.exports = i(j(), ue());
3818
3818
  })(rr, function(n) {
3819
3819
  return n.mode.ECB = (function() {
3820
3820
  var i = n.lib.BlockCipherMode.extend();
@@ -3833,14 +3833,14 @@ function or() {
3833
3833
  }
3834
3834
  var pi = { exports: {} }, mr = pi.exports, Ot;
3835
3835
  function sr() {
3836
- return Ot || (Ot = 1, (function(e, u) {
3836
+ return Ot || (Ot = 1, (function(e, s) {
3837
3837
  (function(n, i, p) {
3838
- e.exports = i($(), ue());
3838
+ e.exports = i(j(), ue());
3839
3839
  })(mr, function(n) {
3840
3840
  return n.pad.AnsiX923 = {
3841
3841
  pad: function(i, p) {
3842
- var g = i.sigBytes, C = p * 4, c = C - g % C, s = g + c - 1;
3843
- i.clamp(), i.words[s >>> 2] |= c << 24 - s % 4 * 8, i.sigBytes += c;
3842
+ var g = i.sigBytes, C = p * 4, c = C - g % C, u = g + c - 1;
3843
+ i.clamp(), i.words[u >>> 2] |= c << 24 - u % 4 * 8, i.sigBytes += c;
3844
3844
  },
3845
3845
  unpad: function(i) {
3846
3846
  var p = i.words[i.sigBytes - 1 >>> 2] & 255;
@@ -3852,9 +3852,9 @@ function sr() {
3852
3852
  }
3853
3853
  var gi = { exports: {} }, ur = gi.exports, At;
3854
3854
  function pr() {
3855
- return At || (At = 1, (function(e, u) {
3855
+ return At || (At = 1, (function(e, s) {
3856
3856
  (function(n, i, p) {
3857
- e.exports = i($(), ue());
3857
+ e.exports = i(j(), ue());
3858
3858
  })(ur, function(n) {
3859
3859
  return n.pad.Iso10126 = {
3860
3860
  pad: function(i, p) {
@@ -3871,9 +3871,9 @@ function pr() {
3871
3871
  }
3872
3872
  var di = { exports: {} }, gr = di.exports, Bt;
3873
3873
  function dr() {
3874
- return Bt || (Bt = 1, (function(e, u) {
3874
+ return Bt || (Bt = 1, (function(e, s) {
3875
3875
  (function(n, i, p) {
3876
- e.exports = i($(), ue());
3876
+ e.exports = i(j(), ue());
3877
3877
  })(gr, function(n) {
3878
3878
  return n.pad.Iso97971 = {
3879
3879
  pad: function(i, p) {
@@ -3887,10 +3887,10 @@ function dr() {
3887
3887
  })(di)), di.exports;
3888
3888
  }
3889
3889
  var ci = { exports: {} }, cr = ci.exports, Ht;
3890
- function fr() {
3891
- return Ht || (Ht = 1, (function(e, u) {
3890
+ function _r() {
3891
+ return Ht || (Ht = 1, (function(e, s) {
3892
3892
  (function(n, i, p) {
3893
- e.exports = i($(), ue());
3893
+ e.exports = i(j(), ue());
3894
3894
  })(cr, function(n) {
3895
3895
  return n.pad.ZeroPadding = {
3896
3896
  pad: function(i, p) {
@@ -3908,12 +3908,12 @@ function fr() {
3908
3908
  });
3909
3909
  })(ci)), ci.exports;
3910
3910
  }
3911
- var fi = { exports: {} }, _r = fi.exports, Wt;
3911
+ var _i = { exports: {} }, fr = _i.exports, Wt;
3912
3912
  function Ur() {
3913
- return Wt || (Wt = 1, (function(e, u) {
3913
+ return Wt || (Wt = 1, (function(e, s) {
3914
3914
  (function(n, i, p) {
3915
- e.exports = i($(), ue());
3916
- })(_r, function(n) {
3915
+ e.exports = i(j(), ue());
3916
+ })(fr, function(n) {
3917
3917
  return n.pad.NoPadding = {
3918
3918
  pad: function() {
3919
3919
  },
@@ -3921,16 +3921,16 @@ function Ur() {
3921
3921
  }
3922
3922
  }, n.pad.NoPadding;
3923
3923
  });
3924
- })(fi)), fi.exports;
3924
+ })(_i)), _i.exports;
3925
3925
  }
3926
- var _i = { exports: {} }, yr = _i.exports, zt;
3926
+ var fi = { exports: {} }, yr = fi.exports, zt;
3927
3927
  function br() {
3928
- return zt || (zt = 1, (function(e, u) {
3928
+ return zt || (zt = 1, (function(e, s) {
3929
3929
  (function(n, i, p) {
3930
- e.exports = i($(), ue());
3930
+ e.exports = i(j(), ue());
3931
3931
  })(yr, function(n) {
3932
3932
  return (function(i) {
3933
- var p = n, g = p.lib, C = g.CipherParams, c = p.enc, s = c.Hex, a = p.format;
3933
+ var p = n, g = p.lib, C = g.CipherParams, c = p.enc, u = c.Hex, a = p.format;
3934
3934
  a.Hex = {
3935
3935
  /**
3936
3936
  * Converts the ciphertext of a cipher params object to a hexadecimally encoded string.
@@ -3946,7 +3946,7 @@ function br() {
3946
3946
  * var hexString = CryptoJS.format.Hex.stringify(cipherParams);
3947
3947
  */
3948
3948
  stringify: function(t) {
3949
- return t.ciphertext.toString(s);
3949
+ return t.ciphertext.toString(u);
3950
3950
  },
3951
3951
  /**
3952
3952
  * Converts a hexadecimally encoded ciphertext string to a cipher params object.
@@ -3962,32 +3962,32 @@ function br() {
3962
3962
  * var cipherParams = CryptoJS.format.Hex.parse(hexString);
3963
3963
  */
3964
3964
  parse: function(t) {
3965
- var o = s.parse(t);
3965
+ var o = u.parse(t);
3966
3966
  return C.create({ ciphertext: o });
3967
3967
  }
3968
3968
  };
3969
3969
  })(), n.format.Hex;
3970
3970
  });
3971
- })(_i)), _i.exports;
3971
+ })(fi)), fi.exports;
3972
3972
  }
3973
3973
  var Ui = { exports: {} }, Cr = Ui.exports, Vt;
3974
3974
  function vr() {
3975
- return Vt || (Vt = 1, (function(e, u) {
3975
+ return Vt || (Vt = 1, (function(e, s) {
3976
3976
  (function(n, i, p) {
3977
- e.exports = i($(), ia(), ta(), Je(), ue());
3977
+ e.exports = i(j(), ia(), ta(), Je(), ue());
3978
3978
  })(Cr, function(n) {
3979
3979
  return (function() {
3980
- var i = n, p = i.lib, g = p.BlockCipher, C = i.algo, c = [], s = [], a = [], t = [], o = [], l = [], r = [], m = [], _ = [], f = [];
3980
+ var i = n, p = i.lib, g = p.BlockCipher, C = i.algo, c = [], u = [], a = [], t = [], o = [], l = [], r = [], m = [], f = [], _ = [];
3981
3981
  (function() {
3982
3982
  for (var y = [], b = 0; b < 256; b++)
3983
3983
  b < 128 ? y[b] = b << 1 : y[b] = b << 1 ^ 283;
3984
3984
  for (var v = 0, h = 0, b = 0; b < 256; b++) {
3985
3985
  var x = h ^ h << 1 ^ h << 2 ^ h << 3 ^ h << 4;
3986
- x = x >>> 8 ^ x & 255 ^ 99, c[v] = x, s[x] = v;
3986
+ x = x >>> 8 ^ x & 255 ^ 99, c[v] = x, u[x] = v;
3987
3987
  var D = y[v], O = y[D], k = y[O], S = y[x] * 257 ^ x * 16843008;
3988
3988
  a[v] = S << 24 | S >>> 8, t[v] = S << 16 | S >>> 16, o[v] = S << 8 | S >>> 24, l[v] = S;
3989
3989
  var S = k * 16843009 ^ O * 65537 ^ D * 257 ^ v * 16843008;
3990
- r[x] = S << 24 | S >>> 8, m[x] = S << 16 | S >>> 16, _[x] = S << 8 | S >>> 24, f[x] = S, v ? (v = D ^ y[y[y[k ^ D]]], h ^= y[y[h]]) : v = h = 1;
3990
+ r[x] = S << 24 | S >>> 8, m[x] = S << 16 | S >>> 16, f[x] = S << 8 | S >>> 24, _[x] = S, v ? (v = D ^ y[y[y[k ^ D]]], h ^= y[y[h]]) : v = h = 1;
3991
3991
  }
3992
3992
  })();
3993
3993
  var U = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], d = C.AES = g.extend({
@@ -4002,7 +4002,7 @@ function vr() {
4002
4002
  var y = O[k];
4003
4003
  else
4004
4004
  var y = O[k - 4];
4005
- P < 4 || k <= 4 ? S[P] = y : S[P] = r[c[y >>> 24]] ^ m[c[y >>> 16 & 255]] ^ _[c[y >>> 8 & 255]] ^ f[c[y & 255]];
4005
+ P < 4 || k <= 4 ? S[P] = y : S[P] = r[c[y >>> 24]] ^ m[c[y >>> 16 & 255]] ^ f[c[y >>> 8 & 255]] ^ _[c[y & 255]];
4006
4006
  }
4007
4007
  }
4008
4008
  },
@@ -4011,7 +4011,7 @@ function vr() {
4011
4011
  },
4012
4012
  decryptBlock: function(y, b) {
4013
4013
  var v = y[b + 1];
4014
- y[b + 1] = y[b + 3], y[b + 3] = v, this._doCryptBlock(y, b, this._invKeySchedule, r, m, _, f, s);
4014
+ y[b + 1] = y[b + 3], y[b + 3] = v, this._doCryptBlock(y, b, this._invKeySchedule, r, m, f, _, u);
4015
4015
  var v = y[b + 1];
4016
4016
  y[b + 1] = y[b + 3], y[b + 3] = v;
4017
4017
  },
@@ -4032,12 +4032,12 @@ function vr() {
4032
4032
  }
4033
4033
  var yi = { exports: {} }, Tr = yi.exports, Zt;
4034
4034
  function hr() {
4035
- return Zt || (Zt = 1, (function(e, u) {
4035
+ return Zt || (Zt = 1, (function(e, s) {
4036
4036
  (function(n, i, p) {
4037
- e.exports = i($(), ia(), ta(), Je(), ue());
4037
+ e.exports = i(j(), ia(), ta(), Je(), ue());
4038
4038
  })(Tr, function(n) {
4039
4039
  return (function() {
4040
- var i = n, p = i.lib, g = p.WordArray, C = p.BlockCipher, c = i.algo, s = [
4040
+ var i = n, p = i.lib, g = p.WordArray, C = p.BlockCipher, c = i.algo, u = [
4041
4041
  57,
4042
4042
  49,
4043
4043
  41,
@@ -4684,7 +4684,7 @@ function hr() {
4684
4684
  ], r = c.DES = C.extend({
4685
4685
  _doReset: function() {
4686
4686
  for (var U = this._key, d = U.words, y = [], b = 0; b < 56; b++) {
4687
- var v = s[b] - 1;
4687
+ var v = u[b] - 1;
4688
4688
  y[b] = d[v >>> 5] >>> 31 - v % 32 & 1;
4689
4689
  }
4690
4690
  for (var h = this._subKeys = [], x = 0; x < 16; x++) {
@@ -4705,14 +4705,14 @@ function hr() {
4705
4705
  this._doCryptBlock(U, d, this._invSubKeys);
4706
4706
  },
4707
4707
  _doCryptBlock: function(U, d, y) {
4708
- this._lBlock = U[d], this._rBlock = U[d + 1], m.call(this, 4, 252645135), m.call(this, 16, 65535), _.call(this, 2, 858993459), _.call(this, 8, 16711935), m.call(this, 1, 1431655765);
4708
+ this._lBlock = U[d], this._rBlock = U[d + 1], m.call(this, 4, 252645135), m.call(this, 16, 65535), f.call(this, 2, 858993459), f.call(this, 8, 16711935), m.call(this, 1, 1431655765);
4709
4709
  for (var b = 0; b < 16; b++) {
4710
4710
  for (var v = y[b], h = this._lBlock, x = this._rBlock, D = 0, O = 0; O < 8; O++)
4711
4711
  D |= o[O][((x ^ v[O]) & l[O]) >>> 0];
4712
4712
  this._lBlock = x, this._rBlock = h ^ D;
4713
4713
  }
4714
4714
  var k = this._lBlock;
4715
- this._lBlock = this._rBlock, this._rBlock = k, m.call(this, 1, 1431655765), _.call(this, 8, 16711935), _.call(this, 2, 858993459), m.call(this, 16, 65535), m.call(this, 4, 252645135), U[d] = this._lBlock, U[d + 1] = this._rBlock;
4715
+ this._lBlock = this._rBlock, this._rBlock = k, m.call(this, 1, 1431655765), f.call(this, 8, 16711935), f.call(this, 2, 858993459), m.call(this, 16, 65535), m.call(this, 4, 252645135), U[d] = this._lBlock, U[d + 1] = this._rBlock;
4716
4716
  },
4717
4717
  keySize: 64 / 32,
4718
4718
  ivSize: 64 / 32,
@@ -4722,12 +4722,12 @@ function hr() {
4722
4722
  var y = (this._lBlock >>> U ^ this._rBlock) & d;
4723
4723
  this._rBlock ^= y, this._lBlock ^= y << U;
4724
4724
  }
4725
- function _(U, d) {
4725
+ function f(U, d) {
4726
4726
  var y = (this._rBlock >>> U ^ this._lBlock) & d;
4727
4727
  this._lBlock ^= y, this._rBlock ^= y << U;
4728
4728
  }
4729
4729
  i.DES = C._createHelper(r);
4730
- var f = c.TripleDES = C.extend({
4730
+ var _ = c.TripleDES = C.extend({
4731
4731
  _doReset: function() {
4732
4732
  var U = this._key, d = U.words;
4733
4733
  if (d.length !== 2 && d.length !== 4 && d.length < 6)
@@ -4745,41 +4745,41 @@ function hr() {
4745
4745
  ivSize: 64 / 32,
4746
4746
  blockSize: 64 / 32
4747
4747
  });
4748
- i.TripleDES = C._createHelper(f);
4748
+ i.TripleDES = C._createHelper(_);
4749
4749
  })(), n.TripleDES;
4750
4750
  });
4751
4751
  })(yi)), yi.exports;
4752
4752
  }
4753
4753
  var bi = { exports: {} }, kr = bi.exports, Jt;
4754
4754
  function xr() {
4755
- return Jt || (Jt = 1, (function(e, u) {
4755
+ return Jt || (Jt = 1, (function(e, s) {
4756
4756
  (function(n, i, p) {
4757
- e.exports = i($(), ia(), ta(), Je(), ue());
4757
+ e.exports = i(j(), ia(), ta(), Je(), ue());
4758
4758
  })(kr, function(n) {
4759
4759
  return (function() {
4760
4760
  var i = n, p = i.lib, g = p.StreamCipher, C = i.algo, c = C.RC4 = g.extend({
4761
4761
  _doReset: function() {
4762
4762
  for (var t = this._key, o = t.words, l = t.sigBytes, r = this._S = [], m = 0; m < 256; m++)
4763
4763
  r[m] = m;
4764
- for (var m = 0, _ = 0; m < 256; m++) {
4765
- var f = m % l, U = o[f >>> 2] >>> 24 - f % 4 * 8 & 255;
4766
- _ = (_ + r[m] + U) % 256;
4764
+ for (var m = 0, f = 0; m < 256; m++) {
4765
+ var _ = m % l, U = o[_ >>> 2] >>> 24 - _ % 4 * 8 & 255;
4766
+ f = (f + r[m] + U) % 256;
4767
4767
  var d = r[m];
4768
- r[m] = r[_], r[_] = d;
4768
+ r[m] = r[f], r[f] = d;
4769
4769
  }
4770
4770
  this._i = this._j = 0;
4771
4771
  },
4772
4772
  _doProcessBlock: function(t, o) {
4773
- t[o] ^= s.call(this);
4773
+ t[o] ^= u.call(this);
4774
4774
  },
4775
4775
  keySize: 256 / 32,
4776
4776
  ivSize: 0
4777
4777
  });
4778
- function s() {
4778
+ function u() {
4779
4779
  for (var t = this._S, o = this._i, l = this._j, r = 0, m = 0; m < 4; m++) {
4780
4780
  o = (o + 1) % 256, l = (l + t[o]) % 256;
4781
- var _ = t[o];
4782
- t[o] = t[l], t[l] = _, r |= t[(t[o] + t[l]) % 256] << 24 - m * 8;
4781
+ var f = t[o];
4782
+ t[o] = t[l], t[l] = f, r |= t[(t[o] + t[l]) % 256] << 24 - m * 8;
4783
4783
  }
4784
4784
  return this._i = o, this._j = l, r;
4785
4785
  }
@@ -4796,7 +4796,7 @@ function xr() {
4796
4796
  _doReset: function() {
4797
4797
  c._doReset.call(this);
4798
4798
  for (var t = this.cfg.drop; t > 0; t--)
4799
- s.call(this);
4799
+ u.call(this);
4800
4800
  }
4801
4801
  });
4802
4802
  i.RC4Drop = g._createHelper(a);
@@ -4806,16 +4806,16 @@ function xr() {
4806
4806
  }
4807
4807
  var Ci = { exports: {} }, Sr = Ci.exports, It;
4808
4808
  function Dr() {
4809
- return It || (It = 1, (function(e, u) {
4809
+ return It || (It = 1, (function(e, s) {
4810
4810
  (function(n, i, p) {
4811
- e.exports = i($(), ia(), ta(), Je(), ue());
4811
+ e.exports = i(j(), ia(), ta(), Je(), ue());
4812
4812
  })(Sr, function(n) {
4813
4813
  return (function() {
4814
- var i = n, p = i.lib, g = p.StreamCipher, C = i.algo, c = [], s = [], a = [], t = C.Rabbit = g.extend({
4814
+ var i = n, p = i.lib, g = p.StreamCipher, C = i.algo, c = [], u = [], a = [], t = C.Rabbit = g.extend({
4815
4815
  _doReset: function() {
4816
4816
  for (var l = this._key.words, r = this.cfg.iv, m = 0; m < 4; m++)
4817
4817
  l[m] = (l[m] << 8 | l[m] >>> 24) & 16711935 | (l[m] << 24 | l[m] >>> 8) & 4278255360;
4818
- var _ = this._X = [
4818
+ var f = this._X = [
4819
4819
  l[0],
4820
4820
  l[3] << 16 | l[2] >>> 16,
4821
4821
  l[1],
@@ -4824,7 +4824,7 @@ function Dr() {
4824
4824
  l[1] << 16 | l[0] >>> 16,
4825
4825
  l[3],
4826
4826
  l[2] << 16 | l[1] >>> 16
4827
- ], f = this._C = [
4827
+ ], _ = this._C = [
4828
4828
  l[2] << 16 | l[2] >>> 16,
4829
4829
  l[0] & 4294901760 | l[1] & 65535,
4830
4830
  l[3] << 16 | l[3] >>> 16,
@@ -4838,10 +4838,10 @@ function Dr() {
4838
4838
  for (var m = 0; m < 4; m++)
4839
4839
  o.call(this);
4840
4840
  for (var m = 0; m < 8; m++)
4841
- f[m] ^= _[m + 4 & 7];
4841
+ _[m] ^= f[m + 4 & 7];
4842
4842
  if (r) {
4843
4843
  var U = r.words, d = U[0], y = U[1], b = (d << 8 | d >>> 24) & 16711935 | (d << 24 | d >>> 8) & 4278255360, v = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, h = b >>> 16 | v & 4294901760, x = v << 16 | b & 65535;
4844
- f[0] ^= b, f[1] ^= h, f[2] ^= v, f[3] ^= x, f[4] ^= b, f[5] ^= h, f[6] ^= v, f[7] ^= x;
4844
+ _[0] ^= b, _[1] ^= h, _[2] ^= v, _[3] ^= x, _[4] ^= b, _[5] ^= h, _[6] ^= v, _[7] ^= x;
4845
4845
  for (var m = 0; m < 4; m++)
4846
4846
  o.call(this);
4847
4847
  }
@@ -4849,18 +4849,18 @@ function Dr() {
4849
4849
  _doProcessBlock: function(l, r) {
4850
4850
  var m = this._X;
4851
4851
  o.call(this), c[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, c[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, c[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, c[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4852
- for (var _ = 0; _ < 4; _++)
4853
- c[_] = (c[_] << 8 | c[_] >>> 24) & 16711935 | (c[_] << 24 | c[_] >>> 8) & 4278255360, l[r + _] ^= c[_];
4852
+ for (var f = 0; f < 4; f++)
4853
+ c[f] = (c[f] << 8 | c[f] >>> 24) & 16711935 | (c[f] << 24 | c[f] >>> 8) & 4278255360, l[r + f] ^= c[f];
4854
4854
  },
4855
4855
  blockSize: 128 / 32,
4856
4856
  ivSize: 64 / 32
4857
4857
  });
4858
4858
  function o() {
4859
4859
  for (var l = this._X, r = this._C, m = 0; m < 8; m++)
4860
- s[m] = r[m];
4861
- r[0] = r[0] + 1295307597 + this._b | 0, r[1] = r[1] + 3545052371 + (r[0] >>> 0 < s[0] >>> 0 ? 1 : 0) | 0, r[2] = r[2] + 886263092 + (r[1] >>> 0 < s[1] >>> 0 ? 1 : 0) | 0, r[3] = r[3] + 1295307597 + (r[2] >>> 0 < s[2] >>> 0 ? 1 : 0) | 0, r[4] = r[4] + 3545052371 + (r[3] >>> 0 < s[3] >>> 0 ? 1 : 0) | 0, r[5] = r[5] + 886263092 + (r[4] >>> 0 < s[4] >>> 0 ? 1 : 0) | 0, r[6] = r[6] + 1295307597 + (r[5] >>> 0 < s[5] >>> 0 ? 1 : 0) | 0, r[7] = r[7] + 3545052371 + (r[6] >>> 0 < s[6] >>> 0 ? 1 : 0) | 0, this._b = r[7] >>> 0 < s[7] >>> 0 ? 1 : 0;
4860
+ u[m] = r[m];
4861
+ r[0] = r[0] + 1295307597 + this._b | 0, r[1] = r[1] + 3545052371 + (r[0] >>> 0 < u[0] >>> 0 ? 1 : 0) | 0, r[2] = r[2] + 886263092 + (r[1] >>> 0 < u[1] >>> 0 ? 1 : 0) | 0, r[3] = r[3] + 1295307597 + (r[2] >>> 0 < u[2] >>> 0 ? 1 : 0) | 0, r[4] = r[4] + 3545052371 + (r[3] >>> 0 < u[3] >>> 0 ? 1 : 0) | 0, r[5] = r[5] + 886263092 + (r[4] >>> 0 < u[4] >>> 0 ? 1 : 0) | 0, r[6] = r[6] + 1295307597 + (r[5] >>> 0 < u[5] >>> 0 ? 1 : 0) | 0, r[7] = r[7] + 3545052371 + (r[6] >>> 0 < u[6] >>> 0 ? 1 : 0) | 0, this._b = r[7] >>> 0 < u[7] >>> 0 ? 1 : 0;
4862
4862
  for (var m = 0; m < 8; m++) {
4863
- var _ = l[m] + r[m], f = _ & 65535, U = _ >>> 16, d = ((f * f >>> 17) + f * U >>> 15) + U * U, y = ((_ & 4294901760) * _ | 0) + ((_ & 65535) * _ | 0);
4863
+ var f = l[m] + r[m], _ = f & 65535, U = f >>> 16, d = ((_ * _ >>> 17) + _ * U >>> 15) + U * U, y = ((f & 4294901760) * f | 0) + ((f & 65535) * f | 0);
4864
4864
  a[m] = d ^ y;
4865
4865
  }
4866
4866
  l[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0, l[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0, l[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0, l[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0, l[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0, l[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0, l[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0, l[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
@@ -4872,12 +4872,12 @@ function Dr() {
4872
4872
  }
4873
4873
  var vi = { exports: {} }, Er = vi.exports, Kt;
4874
4874
  function Nr() {
4875
- return Kt || (Kt = 1, (function(e, u) {
4875
+ return Kt || (Kt = 1, (function(e, s) {
4876
4876
  (function(n, i, p) {
4877
- e.exports = i($(), ia(), ta(), Je(), ue());
4877
+ e.exports = i(j(), ia(), ta(), Je(), ue());
4878
4878
  })(Er, function(n) {
4879
4879
  return (function() {
4880
- var i = n, p = i.lib, g = p.StreamCipher, C = i.algo, c = [], s = [], a = [], t = C.RabbitLegacy = g.extend({
4880
+ var i = n, p = i.lib, g = p.StreamCipher, C = i.algo, c = [], u = [], a = [], t = C.RabbitLegacy = g.extend({
4881
4881
  _doReset: function() {
4882
4882
  var l = this._key.words, r = this.cfg.iv, m = this._X = [
4883
4883
  l[0],
@@ -4888,7 +4888,7 @@ function Nr() {
4888
4888
  l[1] << 16 | l[0] >>> 16,
4889
4889
  l[3],
4890
4890
  l[2] << 16 | l[1] >>> 16
4891
- ], _ = this._C = [
4891
+ ], f = this._C = [
4892
4892
  l[2] << 16 | l[2] >>> 16,
4893
4893
  l[0] & 4294901760 | l[1] & 65535,
4894
4894
  l[3] << 16 | l[3] >>> 16,
@@ -4899,32 +4899,32 @@ function Nr() {
4899
4899
  l[3] & 4294901760 | l[0] & 65535
4900
4900
  ];
4901
4901
  this._b = 0;
4902
- for (var f = 0; f < 4; f++)
4902
+ for (var _ = 0; _ < 4; _++)
4903
4903
  o.call(this);
4904
- for (var f = 0; f < 8; f++)
4905
- _[f] ^= m[f + 4 & 7];
4904
+ for (var _ = 0; _ < 8; _++)
4905
+ f[_] ^= m[_ + 4 & 7];
4906
4906
  if (r) {
4907
4907
  var U = r.words, d = U[0], y = U[1], b = (d << 8 | d >>> 24) & 16711935 | (d << 24 | d >>> 8) & 4278255360, v = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, h = b >>> 16 | v & 4294901760, x = v << 16 | b & 65535;
4908
- _[0] ^= b, _[1] ^= h, _[2] ^= v, _[3] ^= x, _[4] ^= b, _[5] ^= h, _[6] ^= v, _[7] ^= x;
4909
- for (var f = 0; f < 4; f++)
4908
+ f[0] ^= b, f[1] ^= h, f[2] ^= v, f[3] ^= x, f[4] ^= b, f[5] ^= h, f[6] ^= v, f[7] ^= x;
4909
+ for (var _ = 0; _ < 4; _++)
4910
4910
  o.call(this);
4911
4911
  }
4912
4912
  },
4913
4913
  _doProcessBlock: function(l, r) {
4914
4914
  var m = this._X;
4915
4915
  o.call(this), c[0] = m[0] ^ m[5] >>> 16 ^ m[3] << 16, c[1] = m[2] ^ m[7] >>> 16 ^ m[5] << 16, c[2] = m[4] ^ m[1] >>> 16 ^ m[7] << 16, c[3] = m[6] ^ m[3] >>> 16 ^ m[1] << 16;
4916
- for (var _ = 0; _ < 4; _++)
4917
- c[_] = (c[_] << 8 | c[_] >>> 24) & 16711935 | (c[_] << 24 | c[_] >>> 8) & 4278255360, l[r + _] ^= c[_];
4916
+ for (var f = 0; f < 4; f++)
4917
+ c[f] = (c[f] << 8 | c[f] >>> 24) & 16711935 | (c[f] << 24 | c[f] >>> 8) & 4278255360, l[r + f] ^= c[f];
4918
4918
  },
4919
4919
  blockSize: 128 / 32,
4920
4920
  ivSize: 64 / 32
4921
4921
  });
4922
4922
  function o() {
4923
4923
  for (var l = this._X, r = this._C, m = 0; m < 8; m++)
4924
- s[m] = r[m];
4925
- r[0] = r[0] + 1295307597 + this._b | 0, r[1] = r[1] + 3545052371 + (r[0] >>> 0 < s[0] >>> 0 ? 1 : 0) | 0, r[2] = r[2] + 886263092 + (r[1] >>> 0 < s[1] >>> 0 ? 1 : 0) | 0, r[3] = r[3] + 1295307597 + (r[2] >>> 0 < s[2] >>> 0 ? 1 : 0) | 0, r[4] = r[4] + 3545052371 + (r[3] >>> 0 < s[3] >>> 0 ? 1 : 0) | 0, r[5] = r[5] + 886263092 + (r[4] >>> 0 < s[4] >>> 0 ? 1 : 0) | 0, r[6] = r[6] + 1295307597 + (r[5] >>> 0 < s[5] >>> 0 ? 1 : 0) | 0, r[7] = r[7] + 3545052371 + (r[6] >>> 0 < s[6] >>> 0 ? 1 : 0) | 0, this._b = r[7] >>> 0 < s[7] >>> 0 ? 1 : 0;
4924
+ u[m] = r[m];
4925
+ r[0] = r[0] + 1295307597 + this._b | 0, r[1] = r[1] + 3545052371 + (r[0] >>> 0 < u[0] >>> 0 ? 1 : 0) | 0, r[2] = r[2] + 886263092 + (r[1] >>> 0 < u[1] >>> 0 ? 1 : 0) | 0, r[3] = r[3] + 1295307597 + (r[2] >>> 0 < u[2] >>> 0 ? 1 : 0) | 0, r[4] = r[4] + 3545052371 + (r[3] >>> 0 < u[3] >>> 0 ? 1 : 0) | 0, r[5] = r[5] + 886263092 + (r[4] >>> 0 < u[4] >>> 0 ? 1 : 0) | 0, r[6] = r[6] + 1295307597 + (r[5] >>> 0 < u[5] >>> 0 ? 1 : 0) | 0, r[7] = r[7] + 3545052371 + (r[6] >>> 0 < u[6] >>> 0 ? 1 : 0) | 0, this._b = r[7] >>> 0 < u[7] >>> 0 ? 1 : 0;
4926
4926
  for (var m = 0; m < 8; m++) {
4927
- var _ = l[m] + r[m], f = _ & 65535, U = _ >>> 16, d = ((f * f >>> 17) + f * U >>> 15) + U * U, y = ((_ & 4294901760) * _ | 0) + ((_ & 65535) * _ | 0);
4927
+ var f = l[m] + r[m], _ = f & 65535, U = f >>> 16, d = ((_ * _ >>> 17) + _ * U >>> 15) + U * U, y = ((f & 4294901760) * f | 0) + ((f & 65535) * f | 0);
4928
4928
  a[m] = d ^ y;
4929
4929
  }
4930
4930
  l[0] = a[0] + (a[7] << 16 | a[7] >>> 16) + (a[6] << 16 | a[6] >>> 16) | 0, l[1] = a[1] + (a[0] << 8 | a[0] >>> 24) + a[7] | 0, l[2] = a[2] + (a[1] << 16 | a[1] >>> 16) + (a[0] << 16 | a[0] >>> 16) | 0, l[3] = a[3] + (a[2] << 8 | a[2] >>> 24) + a[1] | 0, l[4] = a[4] + (a[3] << 16 | a[3] >>> 16) + (a[2] << 16 | a[2] >>> 16) | 0, l[5] = a[5] + (a[4] << 8 | a[4] >>> 24) + a[3] | 0, l[6] = a[6] + (a[5] << 16 | a[5] >>> 16) + (a[4] << 16 | a[4] >>> 16) | 0, l[7] = a[7] + (a[6] << 8 | a[6] >>> 24) + a[5] | 0;
@@ -4936,13 +4936,13 @@ function Nr() {
4936
4936
  }
4937
4937
  var Ti = { exports: {} }, Lr = Ti.exports, qt;
4938
4938
  function Gr() {
4939
- return qt || (qt = 1, (function(e, u) {
4939
+ return qt || (qt = 1, (function(e, s) {
4940
4940
  (function(n, i, p) {
4941
- e.exports = i($(), ia(), ta(), Je(), ue());
4941
+ e.exports = i(j(), ia(), ta(), Je(), ue());
4942
4942
  })(Lr, function(n) {
4943
4943
  return (function() {
4944
4944
  var i = n, p = i.lib, g = p.BlockCipher, C = i.algo;
4945
- const c = 16, s = [
4945
+ const c = 16, u = [
4946
4946
  608135816,
4947
4947
  2242054355,
4948
4948
  320440878,
@@ -5999,76 +5999,76 @@ function Gr() {
5999
5999
  pbox: [],
6000
6000
  sbox: []
6001
6001
  };
6002
- function o(f, U) {
6003
- let d = U >> 24 & 255, y = U >> 16 & 255, b = U >> 8 & 255, v = U & 255, h = f.sbox[0][d] + f.sbox[1][y];
6004
- return h = h ^ f.sbox[2][b], h = h + f.sbox[3][v], h;
6002
+ function o(_, U) {
6003
+ let d = U >> 24 & 255, y = U >> 16 & 255, b = U >> 8 & 255, v = U & 255, h = _.sbox[0][d] + _.sbox[1][y];
6004
+ return h = h ^ _.sbox[2][b], h = h + _.sbox[3][v], h;
6005
6005
  }
6006
- function l(f, U, d) {
6006
+ function l(_, U, d) {
6007
6007
  let y = U, b = d, v;
6008
6008
  for (let h = 0; h < c; ++h)
6009
- y = y ^ f.pbox[h], b = o(f, y) ^ b, v = y, y = b, b = v;
6010
- return v = y, y = b, b = v, b = b ^ f.pbox[c], y = y ^ f.pbox[c + 1], { left: y, right: b };
6009
+ y = y ^ _.pbox[h], b = o(_, y) ^ b, v = y, y = b, b = v;
6010
+ return v = y, y = b, b = v, b = b ^ _.pbox[c], y = y ^ _.pbox[c + 1], { left: y, right: b };
6011
6011
  }
6012
- function r(f, U, d) {
6012
+ function r(_, U, d) {
6013
6013
  let y = U, b = d, v;
6014
6014
  for (let h = c + 1; h > 1; --h)
6015
- y = y ^ f.pbox[h], b = o(f, y) ^ b, v = y, y = b, b = v;
6016
- return v = y, y = b, b = v, b = b ^ f.pbox[1], y = y ^ f.pbox[0], { left: y, right: b };
6015
+ y = y ^ _.pbox[h], b = o(_, y) ^ b, v = y, y = b, b = v;
6016
+ return v = y, y = b, b = v, b = b ^ _.pbox[1], y = y ^ _.pbox[0], { left: y, right: b };
6017
6017
  }
6018
- function m(f, U, d) {
6018
+ function m(_, U, d) {
6019
6019
  for (let x = 0; x < 4; x++) {
6020
- f.sbox[x] = [];
6020
+ _.sbox[x] = [];
6021
6021
  for (let D = 0; D < 256; D++)
6022
- f.sbox[x][D] = a[x][D];
6022
+ _.sbox[x][D] = a[x][D];
6023
6023
  }
6024
6024
  let y = 0;
6025
6025
  for (let x = 0; x < c + 2; x++)
6026
- f.pbox[x] = s[x] ^ U[y], y++, y >= d && (y = 0);
6026
+ _.pbox[x] = u[x] ^ U[y], y++, y >= d && (y = 0);
6027
6027
  let b = 0, v = 0, h = 0;
6028
6028
  for (let x = 0; x < c + 2; x += 2)
6029
- h = l(f, b, v), b = h.left, v = h.right, f.pbox[x] = b, f.pbox[x + 1] = v;
6029
+ h = l(_, b, v), b = h.left, v = h.right, _.pbox[x] = b, _.pbox[x + 1] = v;
6030
6030
  for (let x = 0; x < 4; x++)
6031
6031
  for (let D = 0; D < 256; D += 2)
6032
- h = l(f, b, v), b = h.left, v = h.right, f.sbox[x][D] = b, f.sbox[x][D + 1] = v;
6032
+ h = l(_, b, v), b = h.left, v = h.right, _.sbox[x][D] = b, _.sbox[x][D + 1] = v;
6033
6033
  return !0;
6034
6034
  }
6035
- var _ = C.Blowfish = g.extend({
6035
+ var f = C.Blowfish = g.extend({
6036
6036
  _doReset: function() {
6037
6037
  if (this._keyPriorReset !== this._key) {
6038
- var f = this._keyPriorReset = this._key, U = f.words, d = f.sigBytes / 4;
6038
+ var _ = this._keyPriorReset = this._key, U = _.words, d = _.sigBytes / 4;
6039
6039
  m(t, U, d);
6040
6040
  }
6041
6041
  },
6042
- encryptBlock: function(f, U) {
6043
- var d = l(t, f[U], f[U + 1]);
6044
- f[U] = d.left, f[U + 1] = d.right;
6042
+ encryptBlock: function(_, U) {
6043
+ var d = l(t, _[U], _[U + 1]);
6044
+ _[U] = d.left, _[U + 1] = d.right;
6045
6045
  },
6046
- decryptBlock: function(f, U) {
6047
- var d = r(t, f[U], f[U + 1]);
6048
- f[U] = d.left, f[U + 1] = d.right;
6046
+ decryptBlock: function(_, U) {
6047
+ var d = r(t, _[U], _[U + 1]);
6048
+ _[U] = d.left, _[U + 1] = d.right;
6049
6049
  },
6050
6050
  blockSize: 64 / 32,
6051
6051
  keySize: 128 / 32,
6052
6052
  ivSize: 64 / 32
6053
6053
  });
6054
- i.Blowfish = g._createHelper(_);
6054
+ i.Blowfish = g._createHelper(f);
6055
6055
  })(), n.Blowfish;
6056
6056
  });
6057
6057
  })(Ti)), Ti.exports;
6058
6058
  }
6059
- var Mr = Wa.exports, jt;
6059
+ var Mr = Wa.exports, $t;
6060
6060
  function Rr() {
6061
- return jt || (jt = 1, (function(e, u) {
6061
+ return $t || ($t = 1, (function(e, s) {
6062
6062
  (function(n, i, p) {
6063
- e.exports = i($(), Si(), Nl(), Gl(), ia(), Pl(), ta(), Rn(), qi(), Bl(), Pn(), zl(), Zl(), Il(), ji(), jl(), Je(), ue(), Xl(), ar(), tr(), lr(), or(), sr(), pr(), dr(), fr(), Ur(), br(), vr(), hr(), xr(), Dr(), Nr(), Gr());
6063
+ e.exports = i(j(), Si(), Nl(), Gl(), ia(), Pl(), ta(), Rn(), $i(), Bl(), Pn(), zl(), Zl(), Il(), ji(), $l(), Je(), ue(), Xl(), ar(), tr(), lr(), or(), sr(), pr(), dr(), _r(), Ur(), br(), vr(), hr(), xr(), Dr(), Nr(), Gr());
6064
6064
  })(Mr, function(n) {
6065
6065
  return n;
6066
6066
  });
6067
6067
  })(Wa)), Wa.exports;
6068
6068
  }
6069
6069
  var Fn = Rr();
6070
- const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6071
- const u = "mySecretPassphrase", n = Qe.lib.WordArray.random(16), i = Qe.PBKDF2(u, n, {
6070
+ const Qe = /* @__PURE__ */ qi(Fn), Ye = (e) => {
6071
+ const s = "mySecretPassphrase", n = Qe.lib.WordArray.random(16), i = Qe.PBKDF2(s, n, {
6072
6072
  keySize: 128 / 32,
6073
6073
  iterations: 1e3
6074
6074
  }), p = Qe.AES.encrypt(e, i, {
@@ -6077,8 +6077,8 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6077
6077
  padding: Qe.pad.Pkcs7
6078
6078
  }), g = n.toString(Qe.enc.Base64), C = Qe.enc.Base64.stringify(p.ciphertext);
6079
6079
  return g + ":" + C;
6080
- }, ge = () => {
6081
- const { client: e, formDataClient: u } = te(), n = J(
6080
+ }, de = () => {
6081
+ const { client: e, formDataClient: s } = te(), n = J(
6082
6082
  async (b) => {
6083
6083
  const { mac_address: v = "", app_version: h = "", anydesk_id: x = "" } = b, { data: D } = await e.post("/cash-register/login", {
6084
6084
  mac_address: v,
@@ -6098,7 +6098,7 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6098
6098
  });
6099
6099
  },
6100
6100
  [e]
6101
- ), s = J(async () => await e.post("/logout"), [e]), a = J(
6101
+ ), u = J(async () => await e.post("/logout"), [e]), a = J(
6102
6102
  async (b) => {
6103
6103
  const { gameUid: v = "", status: h = 0 } = b;
6104
6104
  return await e.put(`/member/toggleFavoriteGame/${v}`, {
@@ -6159,7 +6159,7 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6159
6159
  });
6160
6160
  },
6161
6161
  [e]
6162
- ), _ = J(
6162
+ ), f = J(
6163
6163
  async (b) => {
6164
6164
  const { oldPwd: v, newPwd: h } = b;
6165
6165
  return await e.post("/withdrawPasswordReset", {
@@ -6168,7 +6168,7 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6168
6168
  });
6169
6169
  },
6170
6170
  [e]
6171
- ), f = J(
6171
+ ), _ = J(
6172
6172
  async ({ paramsData: b }) => {
6173
6173
  const { start_time: v, end_time: h, limit: x = 25 } = b || {};
6174
6174
  return await e.get("/report/totalprofit", {
@@ -6199,9 +6199,9 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6199
6199
  id_card: k,
6200
6200
  id_pic: S
6201
6201
  } = b;
6202
- return await u.post("/bindBankAccount", b);
6202
+ return await s.post("/bindBankAccount", b);
6203
6203
  },
6204
- [u]
6204
+ [s]
6205
6205
  );
6206
6206
  return {
6207
6207
  machineLoginApi: n,
@@ -6210,21 +6210,21 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6210
6210
  userFavoriteGameApi: C,
6211
6211
  userCurrencyExchangeApi: g,
6212
6212
  userLoginApi: c,
6213
- userLogoutApi: s,
6213
+ userLogoutApi: u,
6214
6214
  addOrRemoveFavoriteGameApi: a,
6215
6215
  rankingGameApi: t,
6216
6216
  userSignUpApi: o,
6217
6217
  updateUserInfoApi: l,
6218
6218
  resetUserPasswordApi: r,
6219
6219
  setUserTransactionPasswordApi: m,
6220
- resetUserTransactionPasswordApi: _,
6221
- userRebateApi: f,
6220
+ resetUserTransactionPasswordApi: f,
6221
+ userRebateApi: _,
6222
6222
  userBindBankApi: y,
6223
6223
  transferInGameApi: U,
6224
6224
  checkUserWagerApi: d
6225
6225
  };
6226
- }, om = ({ otherQueryKey: e = [], options: u = {} } = {}) => {
6227
- const { userCurrencyExchangeApi: n } = ge(), { getToken: i } = te(), { enabled: p, ...g } = u, c = !!i?.() && (p ? p.every((s) => s) : !0);
6226
+ }, om = ({ otherQueryKey: e = [], options: s = {} } = {}) => {
6227
+ const { userCurrencyExchangeApi: n } = de(), { getToken: i } = te(), { enabled: p, ...g } = s, c = !!i?.() && (p ? p.every((u) => u) : !0);
6228
6228
  return Cn({
6229
6229
  queries: [
6230
6230
  {
@@ -6239,14 +6239,14 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6239
6239
  });
6240
6240
  }, mm = ({
6241
6241
  refetchInterval: e = 5e4,
6242
- trigger: u = [],
6242
+ trigger: s = [],
6243
6243
  enabled: n = !0
6244
6244
  } = {}) => {
6245
- const { getToken: i } = te(), p = i?.(), { userInfoApi: g } = ge();
6245
+ const { getToken: i } = te(), p = i?.(), { userInfoApi: g } = de();
6246
6246
  return Cn({
6247
6247
  queries: [
6248
6248
  {
6249
- queryKey: ["getMemberInfo", ...u],
6249
+ queryKey: ["getMemberInfo", ...s],
6250
6250
  queryFn: async () => await g(),
6251
6251
  refetchInterval: e,
6252
6252
  enabled: !!p && n
@@ -6255,13 +6255,13 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6255
6255
  });
6256
6256
  }, sm = ({ enabled: e = !0 } = {}) => {
6257
6257
  const {
6258
- userInfoApi: u,
6258
+ userInfoApi: s,
6259
6259
  userFavoriteGameApi: n,
6260
6260
  userGameListApi: i,
6261
6261
  userCurrencyExchangeApi: p
6262
- } = ge(), g = X({
6262
+ } = de(), g = X({
6263
6263
  queryKey: ["getMemInfo"],
6264
- queryFn: async () => u(),
6264
+ queryFn: async () => s(),
6265
6265
  enabled: e
6266
6266
  }), C = X({
6267
6267
  queryKey: ["getFavoriteGame"],
@@ -6271,7 +6271,7 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6271
6271
  queryKey: ["getUserGameList"],
6272
6272
  queryFn: async () => i(),
6273
6273
  enabled: e && g.isSuccess && C.isSuccess
6274
- }), s = X({
6274
+ }), u = X({
6275
6275
  queryKey: ["getUserCurrencyExchange"],
6276
6276
  queryFn: async () => p(),
6277
6277
  enabled: e && g.isSuccess && C.isSuccess && c.isSuccess
@@ -6280,15 +6280,15 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6280
6280
  g,
6281
6281
  C,
6282
6282
  c,
6283
- s
6283
+ u
6284
6284
  ];
6285
- }, $i = () => {
6286
- const { client: e, lng: u } = te(), n = He(u || "tw"), i = J(
6285
+ }, Qi = () => {
6286
+ const { client: e, lng: s } = te(), n = He(s || "tw"), i = J(
6287
6287
  async (C) => {
6288
6288
  const {
6289
6289
  gameUid: c = "",
6290
6290
  // 遊戲唯一標識
6291
- gameCode: s = "",
6291
+ gameCode: u = "",
6292
6292
  // 遊戲代碼
6293
6293
  isMobile: a = !1,
6294
6294
  // 是否為行動裝置
@@ -6299,7 +6299,7 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6299
6299
  } = C;
6300
6300
  return await e.post("/game/go", {
6301
6301
  gameUid: c,
6302
- gameCode: s,
6302
+ gameCode: u,
6303
6303
  lang: n,
6304
6304
  is_mobile: a,
6305
6305
  currency_code: t,
@@ -6312,13 +6312,13 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6312
6312
  async (C) => {
6313
6313
  const {
6314
6314
  startDate: c = fe().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6315
- endDate: s = fe().format("YYYY-MM-DD 11:59:59"),
6315
+ endDate: u = fe().format("YYYY-MM-DD 11:59:59"),
6316
6316
  platform: a = "",
6317
6317
  limit: t = 25
6318
6318
  } = C, { data: o } = await e.get("/report/netprofit", {
6319
6319
  params: {
6320
6320
  str_date: c,
6321
- end_Date: s,
6321
+ end_Date: u,
6322
6322
  platform: a,
6323
6323
  limit: t
6324
6324
  }
@@ -6330,14 +6330,14 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6330
6330
  async (C) => {
6331
6331
  const {
6332
6332
  startDate: c = fe().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
6333
- endDate: s = fe().format("YYYY-MM-DD 11:59:59"),
6333
+ endDate: u = fe().format("YYYY-MM-DD 11:59:59"),
6334
6334
  platform: a,
6335
6335
  limit: t = 25,
6336
6336
  page: o = 1
6337
6337
  } = C, { data: l } = await e.get("/report/betlog", {
6338
6338
  params: {
6339
6339
  str_date: c,
6340
- end_Date: s,
6340
+ end_Date: u,
6341
6341
  platform: a,
6342
6342
  limit: t,
6343
6343
  page: o
@@ -6348,22 +6348,22 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6348
6348
  [e]
6349
6349
  );
6350
6350
  return { playGameApi: i, betRecordApi: p, betRecordDetailApi: g };
6351
- }, Pr = ({ options: e, formData: u } = {}) => {
6352
- const { betRecordApi: n } = $i();
6351
+ }, Pr = ({ options: e, formData: s } = {}) => {
6352
+ const { betRecordApi: n } = Qi();
6353
6353
  return X({
6354
6354
  queryKey: ["getBetRecord"],
6355
- queryFn: async () => await n(u),
6355
+ queryFn: async () => await n(s),
6356
6356
  select: (i) => vn(i).map(([g, C]) => ({
6357
6357
  ...C,
6358
6358
  platform: g
6359
6359
  })),
6360
6360
  ...e
6361
6361
  });
6362
- }, Fr = ({ options: e, formData: u } = {}) => {
6363
- const { betRecordDetailApi: n } = $i();
6362
+ }, Fr = ({ options: e, formData: s } = {}) => {
6363
+ const { betRecordDetailApi: n } = Qi();
6364
6364
  return X({
6365
6365
  queryKey: ["getBetRecordDetail"],
6366
- queryFn: async () => await n(u),
6366
+ queryFn: async () => await n(s),
6367
6367
  ...e
6368
6368
  });
6369
6369
  }, um = ({
@@ -6372,19 +6372,19 @@ const Qe = /* @__PURE__ */ Ki(Fn), Ye = (e) => {
6372
6372
  betRecordDetail: {}
6373
6373
  }
6374
6374
  }) => {
6375
- const u = Pr({ options: e.betRecord }), n = Fr({
6375
+ const s = Pr({ options: e.betRecord }), n = Fr({
6376
6376
  options: e.betRecordDetail
6377
6377
  });
6378
6378
  return {
6379
- betRecord: u,
6379
+ betRecord: s,
6380
6380
  betRecordDetail: n
6381
6381
  };
6382
6382
  };
6383
- var Ai = {}, ke = {}, Bi = {}, $t;
6383
+ var Bi = {}, ke = {}, Hi = {}, jt;
6384
6384
  function Me() {
6385
- return $t || ($t = 1, (function(e) {
6385
+ return jt || (jt = 1, (function(e) {
6386
6386
  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;
6387
- var u = 1, n = 1e3 * u;
6387
+ var s = 1, n = 1e3 * s;
6388
6388
  e.DEFAULT_OPTIONS = {}, e.EMPTY_EVENT_HANDLERS = {}, e.DEFAULT_EVENT_SOURCE_OPTIONS = {
6389
6389
  withCredentials: !1,
6390
6390
  events: e.EMPTY_EVENT_HANDLERS
@@ -6405,44 +6405,44 @@ function Me() {
6405
6405
  }
6406
6406
  };
6407
6407
  e.isReactNative = typeof navigator < "u" && navigator.product === "ReactNative", e.isEventSourceSupported = !e.isReactNative && p();
6408
- })(Bi)), Bi;
6408
+ })(Hi)), Hi;
6409
6409
  }
6410
- var Ca = {}, Hi = {}, Qt;
6411
- function Qi() {
6410
+ var Ca = {}, Wi = {}, Qt;
6411
+ function Yi() {
6412
6412
  return Qt || (Qt = 1, (function(e) {
6413
6413
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetWebSockets = e.sharedWebSockets = void 0, e.sharedWebSockets = {};
6414
- var u = function(n) {
6414
+ var s = function(n) {
6415
6415
  if (n && e.sharedWebSockets.hasOwnProperty(n))
6416
6416
  delete e.sharedWebSockets[n];
6417
6417
  else
6418
6418
  for (var i in e.sharedWebSockets)
6419
6419
  e.sharedWebSockets.hasOwnProperty(i) && delete e.sharedWebSockets[i];
6420
6420
  };
6421
- e.resetWebSockets = u;
6422
- })(Hi)), Hi;
6421
+ e.resetWebSockets = s;
6422
+ })(Wi)), Wi;
6423
6423
  }
6424
6424
  var Xe = {}, we = {}, Yt;
6425
- function Yi() {
6425
+ function Xi() {
6426
6426
  if (Yt) return we;
6427
6427
  Yt = 1, Object.defineProperty(we, "__esModule", { value: !0 }), we.setUpSocketIOPing = we.appendQueryParams = we.parseSocketIOUrl = void 0;
6428
- var e = Me(), u = function(p) {
6428
+ var e = Me(), s = function(p) {
6429
6429
  if (p) {
6430
- var g = /^https|wss/.test(p), C = p.replace(/^(https?|wss?)(:\/\/)?/, ""), c = C.replace(/\/$/, ""), s = g ? "wss" : "ws";
6431
- return "".concat(s, "://").concat(c).concat(e.SOCKET_IO_PATH);
6430
+ var g = /^https|wss/.test(p), C = p.replace(/^(https?|wss?)(:\/\/)?/, ""), c = C.replace(/\/$/, ""), u = g ? "wss" : "ws";
6431
+ return "".concat(u, "://").concat(c).concat(e.SOCKET_IO_PATH);
6432
6432
  } else if (p === "") {
6433
- var g = /^https/.test(window.location.protocol), s = g ? "wss" : "ws", a = window.location.port ? ":".concat(window.location.port) : "";
6434
- return "".concat(s, "://").concat(window.location.hostname).concat(a).concat(e.SOCKET_IO_PATH);
6433
+ var g = /^https/.test(window.location.protocol), u = g ? "wss" : "ws", a = window.location.port ? ":".concat(window.location.port) : "";
6434
+ return "".concat(u, "://").concat(window.location.hostname).concat(a).concat(e.SOCKET_IO_PATH);
6435
6435
  }
6436
6436
  return p;
6437
6437
  };
6438
- we.parseSocketIOUrl = u;
6438
+ we.parseSocketIOUrl = s;
6439
6439
  var n = function(p, g) {
6440
6440
  g === void 0 && (g = {});
6441
- var C = /\?([\w]+=[\w]+)/, c = C.test(p), s = "".concat(Object.entries(g).reduce(function(a, t) {
6441
+ var C = /\?([\w]+=[\w]+)/, c = C.test(p), u = "".concat(Object.entries(g).reduce(function(a, t) {
6442
6442
  var o = t[0], l = t[1];
6443
6443
  return a + "".concat(o, "=").concat(l, "&");
6444
6444
  }, "").slice(0, -1));
6445
- return "".concat(p).concat(c ? "&" : "?").concat(s);
6445
+ return "".concat(p).concat(c ? "&" : "?").concat(u);
6446
6446
  };
6447
6447
  we.appendQueryParams = n;
6448
6448
  var i = function(p, g) {
@@ -6459,72 +6459,72 @@ function wn() {
6459
6459
  if (Xt) return Aa;
6460
6460
  Xt = 1, Object.defineProperty(Aa, "__esModule", { value: !0 }), Aa.heartbeat = n;
6461
6461
  var e = Me();
6462
- function u(i) {
6462
+ function s(i) {
6463
6463
  return Array.isArray(i) ? i.reduce(function(p, g) {
6464
6464
  return p.current > g.current ? p : g;
6465
6465
  }).current : i.current;
6466
6466
  }
6467
6467
  function n(i, p, g) {
6468
- var C = g || {}, c = C.interval, s = c === void 0 ? e.DEFAULT_HEARTBEAT.interval : c, a = C.timeout, t = a === void 0 ? e.DEFAULT_HEARTBEAT.timeout : a, o = C.message, l = o === void 0 ? e.DEFAULT_HEARTBEAT.message : o, r = Math.max(100, s / 10), m = Date.now(), _ = setInterval(function() {
6469
- var f = Date.now(), U = u(p);
6470
- if (U + t <= f)
6471
- console.warn("Heartbeat timed out, closing connection, last message received ".concat(f - U, "ms ago, last ping sent ").concat(f - m, "ms ago")), i.close();
6472
- else if (U + s <= f && m + s <= f)
6468
+ var C = g || {}, c = C.interval, u = c === void 0 ? e.DEFAULT_HEARTBEAT.interval : c, a = C.timeout, t = a === void 0 ? e.DEFAULT_HEARTBEAT.timeout : a, o = C.message, l = o === void 0 ? e.DEFAULT_HEARTBEAT.message : o, r = Math.max(100, u / 10), m = Date.now(), f = setInterval(function() {
6469
+ var _ = Date.now(), U = s(p);
6470
+ if (U + t <= _)
6471
+ console.warn("Heartbeat timed out, closing connection, last message received ".concat(_ - U, "ms ago, last ping sent ").concat(_ - m, "ms ago")), i.close();
6472
+ else if (U + u <= _ && m + u <= _)
6473
6473
  try {
6474
- typeof l == "function" ? i.send(l()) : i.send(l), m = f;
6474
+ typeof l == "function" ? i.send(l()) : i.send(l), m = _;
6475
6475
  } catch (d) {
6476
6476
  console.error("Heartbeat failed, closing connection", d instanceof Error ? d.message : d), i.close();
6477
6477
  }
6478
6478
  }, r);
6479
6479
  return i.addEventListener("close", function() {
6480
- clearInterval(_);
6480
+ clearInterval(f);
6481
6481
  }), function() {
6482
6482
  };
6483
6483
  }
6484
6484
  return Aa;
6485
6485
  }
6486
- var va = {}, Wi = {}, en;
6487
- function Xi() {
6486
+ var va = {}, zi = {}, en;
6487
+ function et() {
6488
6488
  return en || (en = 1, (function(e) {
6489
6489
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetSubscribers = e.removeSubscriber = e.addSubscriber = e.hasSubscribers = e.getSubscribers = void 0;
6490
- var u = {}, n = [], i = function(s) {
6491
- return (0, e.hasSubscribers)(s) ? Array.from(u[s]) : n;
6490
+ var s = {}, n = [], i = function(u) {
6491
+ return (0, e.hasSubscribers)(u) ? Array.from(s[u]) : n;
6492
6492
  };
6493
6493
  e.getSubscribers = i;
6494
- var p = function(s) {
6494
+ var p = function(u) {
6495
6495
  var a;
6496
- return ((a = u[s]) === null || a === void 0 ? void 0 : a.size) > 0;
6496
+ return ((a = s[u]) === null || a === void 0 ? void 0 : a.size) > 0;
6497
6497
  };
6498
6498
  e.hasSubscribers = p;
6499
- var g = function(s, a) {
6500
- u[s] = u[s] || /* @__PURE__ */ new Set(), u[s].add(a);
6499
+ var g = function(u, a) {
6500
+ s[u] = s[u] || /* @__PURE__ */ new Set(), s[u].add(a);
6501
6501
  };
6502
6502
  e.addSubscriber = g;
6503
- var C = function(s, a) {
6504
- u[s].delete(a);
6503
+ var C = function(u, a) {
6504
+ s[u].delete(a);
6505
6505
  };
6506
6506
  e.removeSubscriber = C;
6507
- var c = function(s) {
6508
- if (s && u.hasOwnProperty(s))
6509
- delete u[s];
6507
+ var c = function(u) {
6508
+ if (u && s.hasOwnProperty(u))
6509
+ delete s[u];
6510
6510
  else
6511
- for (var a in u)
6512
- u.hasOwnProperty(a) && delete u[a];
6511
+ for (var a in s)
6512
+ s.hasOwnProperty(a) && delete s[a];
6513
6513
  };
6514
6514
  e.resetSubscribers = c;
6515
- })(Wi)), Wi;
6515
+ })(zi)), zi;
6516
6516
  }
6517
6517
  var an;
6518
- function et() {
6518
+ function at() {
6519
6519
  if (an) return va;
6520
6520
  an = 1, Object.defineProperty(va, "__esModule", { value: !0 }), va.assertIsWebSocket = n, va.resetGlobalState = i;
6521
- var e = Qi(), u = Xi();
6521
+ var e = Yi(), s = et();
6522
6522
  function n(p, g) {
6523
6523
  if (!g && !(p instanceof WebSocket))
6524
6524
  throw new Error("");
6525
6525
  }
6526
6526
  function i(p) {
6527
- (0, u.resetSubscribers)(p), (0, e.resetWebSockets)(p);
6527
+ (0, s.resetSubscribers)(p), (0, e.resetWebSockets)(p);
6528
6528
  }
6529
6529
  return va;
6530
6530
  }
@@ -6542,16 +6542,16 @@ function wr() {
6542
6542
  }, e.apply(this, arguments);
6543
6543
  };
6544
6544
  Object.defineProperty(Xe, "__esModule", { value: !0 }), Xe.attachListeners = void 0;
6545
- var u = Yi(), n = wn(), i = Me(), p = et(), g = function(t, o, l, r) {
6545
+ var s = Xi(), n = wn(), i = Me(), p = at(), g = function(t, o, l, r) {
6546
6546
  t.onmessage = function(m) {
6547
- var _;
6548
- o.current.onMessage && o.current.onMessage(m), typeof r?.current == "number" && (r.current = Date.now()), !(typeof o.current.filter == "function" && o.current.filter(m) !== !0) && (o.current.heartbeat && typeof o.current.heartbeat != "boolean" && ((_ = o.current.heartbeat) === null || _ === void 0 ? void 0 : _.returnMessage) === m.data || l(m));
6547
+ var f;
6548
+ o.current.onMessage && o.current.onMessage(m), typeof r?.current == "number" && (r.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 || l(m));
6549
6549
  };
6550
6550
  }, C = function(t, o, l, r, m) {
6551
- t.onopen = function(_) {
6552
- if (o.current.onOpen && o.current.onOpen(_), r.current = 0, l(i.ReadyState.OPEN), o.current.heartbeat && t instanceof WebSocket) {
6553
- var f = typeof o.current.heartbeat == "boolean" ? void 0 : o.current.heartbeat;
6554
- m.current = Date.now(), (0, n.heartbeat)(t, m, f);
6551
+ t.onopen = function(f) {
6552
+ if (o.current.onOpen && o.current.onOpen(f), r.current = 0, l(i.ReadyState.OPEN), o.current.heartbeat && t instanceof WebSocket) {
6553
+ var _ = typeof o.current.heartbeat == "boolean" ? void 0 : o.current.heartbeat;
6554
+ m.current = Date.now(), (0, n.heartbeat)(t, m, _);
6555
6555
  }
6556
6556
  };
6557
6557
  }, c = function(t, o, l, r, m) {
@@ -6559,40 +6559,40 @@ function wr() {
6559
6559
  return function() {
6560
6560
  };
6561
6561
  (0, p.assertIsWebSocket)(t, o.current.skipAssert);
6562
- var _;
6563
- return t.onclose = function(f) {
6562
+ var f;
6563
+ return t.onclose = function(_) {
6564
6564
  var U;
6565
- if (o.current.onClose && o.current.onClose(f), l(i.ReadyState.CLOSED), o.current.shouldReconnect && o.current.shouldReconnect(f)) {
6565
+ if (o.current.onClose && o.current.onClose(_), l(i.ReadyState.CLOSED), o.current.shouldReconnect && o.current.shouldReconnect(_)) {
6566
6566
  var d = (U = o.current.reconnectAttempts) !== null && U !== void 0 ? U : i.DEFAULT_RECONNECT_LIMIT;
6567
6567
  if (m.current < d) {
6568
6568
  var y = typeof o.current.reconnectInterval == "function" ? o.current.reconnectInterval(m.current) : o.current.reconnectInterval;
6569
- _ = window.setTimeout(function() {
6569
+ f = window.setTimeout(function() {
6570
6570
  m.current++, r();
6571
6571
  }, y ?? i.DEFAULT_RECONNECT_INTERVAL_MS);
6572
6572
  } else
6573
6573
  o.current.onReconnectStop && o.current.onReconnectStop(d), console.warn("Max reconnect attempts of ".concat(d, " exceeded"));
6574
6574
  }
6575
6575
  }, function() {
6576
- return _ && window.clearTimeout(_);
6576
+ return f && window.clearTimeout(f);
6577
6577
  };
6578
- }, s = function(t, o, l, r, m) {
6579
- var _;
6580
- return t.onerror = function(f) {
6578
+ }, u = function(t, o, l, r, m) {
6579
+ var f;
6580
+ return t.onerror = function(_) {
6581
6581
  var U;
6582
- if (o.current.onError && o.current.onError(f), i.isEventSourceSupported && t instanceof EventSource && (o.current.onClose && o.current.onClose(e(e({}, f), { code: 1006, reason: "An error occurred with the EventSource: ".concat(f), wasClean: !1 })), l(i.ReadyState.CLOSED), t.close()), o.current.retryOnError)
6582
+ if (o.current.onError && o.current.onError(_), i.isEventSourceSupported && t instanceof EventSource && (o.current.onClose && o.current.onClose(e(e({}, _), { code: 1006, reason: "An error occurred with the EventSource: ".concat(_), wasClean: !1 })), l(i.ReadyState.CLOSED), t.close()), o.current.retryOnError)
6583
6583
  if (m.current < ((U = o.current.reconnectAttempts) !== null && U !== void 0 ? U : i.DEFAULT_RECONNECT_LIMIT)) {
6584
6584
  var d = typeof o.current.reconnectInterval == "function" ? o.current.reconnectInterval(m.current) : o.current.reconnectInterval;
6585
- _ = window.setTimeout(function() {
6585
+ f = window.setTimeout(function() {
6586
6586
  m.current++, r();
6587
6587
  }, d ?? i.DEFAULT_RECONNECT_INTERVAL_MS);
6588
6588
  } else
6589
6589
  o.current.onReconnectStop && o.current.onReconnectStop(o.current.reconnectAttempts), console.warn("Max reconnect attempts of ".concat(o.current.reconnectAttempts, " exceeded"));
6590
6590
  }, function() {
6591
- return _ && window.clearTimeout(_);
6591
+ return f && window.clearTimeout(f);
6592
6592
  };
6593
- }, a = function(t, o, l, r, m, _, f) {
6593
+ }, a = function(t, o, l, r, m, f, _) {
6594
6594
  var U = o.setLastMessage, d = o.setReadyState, y, b, v;
6595
- return l.current.fromSocketIO && (y = (0, u.setUpSocketIOPing)(f)), g(t, l, U, _), C(t, l, d, m, _), b = c(t, l, d, r, m), v = s(t, l, d, r, m), function() {
6595
+ return l.current.fromSocketIO && (y = (0, s.setUpSocketIOPing)(_)), g(t, l, U, f), C(t, l, d, m, f), b = c(t, l, d, r, m), v = u(t, l, d, r, m), function() {
6596
6596
  d(i.ReadyState.CLOSING), b(), v(), t.close(), y && clearInterval(y);
6597
6597
  };
6598
6598
  };
@@ -6606,43 +6606,43 @@ function Or() {
6606
6606
  return e = Object.assign || function(o) {
6607
6607
  for (var l, r = 1, m = arguments.length; r < m; r++) {
6608
6608
  l = arguments[r];
6609
- for (var _ in l) Object.prototype.hasOwnProperty.call(l, _) && (o[_] = l[_]);
6609
+ for (var f in l) Object.prototype.hasOwnProperty.call(l, f) && (o[f] = l[f]);
6610
6610
  }
6611
6611
  return o;
6612
6612
  }, e.apply(this, arguments);
6613
6613
  };
6614
6614
  Object.defineProperty(ea, "__esModule", { value: !0 }), ea.attachSharedListeners = void 0;
6615
- var u = Qi(), n = Me(), i = Xi(), p = Yi(), g = wn(), C = function(o, l, r) {
6615
+ var s = Yi(), n = Me(), i = et(), p = Xi(), g = wn(), C = function(o, l, r) {
6616
6616
  o.onmessage = function(m) {
6617
- (0, i.getSubscribers)(l).forEach(function(_) {
6618
- var f;
6619
- _.optionsRef.current.onMessage && _.optionsRef.current.onMessage(m), typeof ((f = _?.lastMessageTime) === null || f === void 0 ? void 0 : f.current) == "number" && (_.lastMessageTime.current = Date.now()), !(typeof _.optionsRef.current.filter == "function" && _.optionsRef.current.filter(m) !== !0) && (r && typeof r != "boolean" && r?.returnMessage === m.data || _.setLastMessage(m));
6617
+ (0, i.getSubscribers)(l).forEach(function(f) {
6618
+ var _;
6619
+ f.optionsRef.current.onMessage && f.optionsRef.current.onMessage(m), typeof ((_ = f?.lastMessageTime) === null || _ === void 0 ? void 0 : _.current) == "number" && (f.lastMessageTime.current = Date.now()), !(typeof f.optionsRef.current.filter == "function" && f.optionsRef.current.filter(m) !== !0) && (r && typeof r != "boolean" && r?.returnMessage === m.data || f.setLastMessage(m));
6620
6620
  });
6621
6621
  };
6622
6622
  }, c = function(o, l, r) {
6623
6623
  o.onopen = function(m) {
6624
- var _ = (0, i.getSubscribers)(l);
6625
- _.forEach(function(f) {
6626
- f.reconnectCount.current = 0, f.optionsRef.current.onOpen && f.optionsRef.current.onOpen(m), f.setReadyState(n.ReadyState.OPEN), r && o instanceof WebSocket && (f.lastMessageTime.current = Date.now());
6627
- }), r && o instanceof WebSocket && (0, g.heartbeat)(o, _.map(function(f) {
6628
- return f.lastMessageTime;
6624
+ var f = (0, i.getSubscribers)(l);
6625
+ f.forEach(function(_) {
6626
+ _.reconnectCount.current = 0, _.optionsRef.current.onOpen && _.optionsRef.current.onOpen(m), _.setReadyState(n.ReadyState.OPEN), r && o instanceof WebSocket && (_.lastMessageTime.current = Date.now());
6627
+ }), r && o instanceof WebSocket && (0, g.heartbeat)(o, f.map(function(_) {
6628
+ return _.lastMessageTime;
6629
6629
  }), typeof r == "boolean" ? void 0 : r);
6630
6630
  };
6631
- }, s = function(o, l) {
6631
+ }, u = function(o, l) {
6632
6632
  o instanceof WebSocket && (o.onclose = function(r) {
6633
6633
  (0, i.getSubscribers)(l).forEach(function(m) {
6634
6634
  m.optionsRef.current.onClose && m.optionsRef.current.onClose(r), m.setReadyState(n.ReadyState.CLOSED);
6635
- }), delete u.sharedWebSockets[l], (0, i.getSubscribers)(l).forEach(function(m) {
6636
- var _;
6635
+ }), delete s.sharedWebSockets[l], (0, i.getSubscribers)(l).forEach(function(m) {
6636
+ var f;
6637
6637
  if (m.optionsRef.current.shouldReconnect && m.optionsRef.current.shouldReconnect(r)) {
6638
- var f = (_ = m.optionsRef.current.reconnectAttempts) !== null && _ !== void 0 ? _ : n.DEFAULT_RECONNECT_LIMIT;
6639
- if (m.reconnectCount.current < f) {
6638
+ var _ = (f = m.optionsRef.current.reconnectAttempts) !== null && f !== void 0 ? f : n.DEFAULT_RECONNECT_LIMIT;
6639
+ if (m.reconnectCount.current < _) {
6640
6640
  var U = typeof m.optionsRef.current.reconnectInterval == "function" ? m.optionsRef.current.reconnectInterval(m.reconnectCount.current) : m.optionsRef.current.reconnectInterval;
6641
6641
  setTimeout(function() {
6642
6642
  m.reconnectCount.current++, m.reconnect.current();
6643
6643
  }, U ?? n.DEFAULT_RECONNECT_INTERVAL_MS);
6644
6644
  } else
6645
- m.optionsRef.current.onReconnectStop && m.optionsRef.current.onReconnectStop(m.optionsRef.current.reconnectAttempts), console.warn("Max reconnect attempts of ".concat(f, " exceeded"));
6645
+ m.optionsRef.current.onReconnectStop && m.optionsRef.current.onReconnectStop(m.optionsRef.current.reconnectAttempts), console.warn("Max reconnect attempts of ".concat(_, " exceeded"));
6646
6646
  }
6647
6647
  });
6648
6648
  });
@@ -6653,9 +6653,9 @@ function Or() {
6653
6653
  }), n.isEventSourceSupported && o instanceof EventSource && o.close();
6654
6654
  };
6655
6655
  }, t = function(o, l, r, m) {
6656
- var _;
6657
- return r.current.fromSocketIO && (_ = (0, p.setUpSocketIOPing)(m)), C(o, l, r.current.heartbeat), s(o, l), c(o, l, r.current.heartbeat), a(o, l), function() {
6658
- _ && clearInterval(_);
6656
+ var f;
6657
+ return r.current.fromSocketIO && (f = (0, p.setUpSocketIOPing)(m)), C(o, l, r.current.heartbeat), u(o, l), c(o, l, r.current.heartbeat), a(o, l), function() {
6658
+ f && clearInterval(f);
6659
6659
  };
6660
6660
  };
6661
6661
  return ea.attachSharedListeners = t, ea;
@@ -6664,25 +6664,25 @@ var ln;
6664
6664
  function Ar() {
6665
6665
  if (ln) return Ca;
6666
6666
  ln = 1, Object.defineProperty(Ca, "__esModule", { value: !0 }), Ca.createOrJoinSocket = void 0;
6667
- var e = Qi(), u = Me(), n = wr(), i = Or(), p = Xi(), g = function(c, s, a, t, o) {
6667
+ var e = Yi(), s = Me(), n = wr(), i = Or(), p = et(), g = function(c, u, a, t, o) {
6668
6668
  return function() {
6669
- if ((0, p.removeSubscriber)(c, s), !(0, p.hasSubscribers)(c)) {
6669
+ if ((0, p.removeSubscriber)(c, u), !(0, p.hasSubscribers)(c)) {
6670
6670
  try {
6671
6671
  var l = e.sharedWebSockets[c];
6672
6672
  l instanceof WebSocket && (l.onclose = function(r) {
6673
- a.current.onClose && a.current.onClose(r), t(u.ReadyState.CLOSED);
6673
+ a.current.onClose && a.current.onClose(r), t(s.ReadyState.CLOSED);
6674
6674
  }), l.close();
6675
6675
  } catch {
6676
6676
  }
6677
6677
  o && o(), delete e.sharedWebSockets[c];
6678
6678
  }
6679
6679
  };
6680
- }, C = function(c, s, a, t, o, l, r, m, _) {
6681
- if (!u.isEventSourceSupported && t.current.eventSourceOptions)
6682
- throw u.isReactNative ? new Error("EventSource is not supported in ReactNative") : new Error("EventSource is not supported");
6680
+ }, C = function(c, u, a, t, o, l, r, m, f) {
6681
+ if (!s.isEventSourceSupported && t.current.eventSourceOptions)
6682
+ throw s.isReactNative ? new Error("EventSource is not supported in ReactNative") : new Error("EventSource is not supported");
6683
6683
  if (t.current.share) {
6684
- var f = null;
6685
- e.sharedWebSockets[s] === void 0 ? (e.sharedWebSockets[s] = t.current.eventSourceOptions ? new EventSource(s, t.current.eventSourceOptions) : new WebSocket(s, t.current.protocols), c.current = e.sharedWebSockets[s], a(u.ReadyState.CONNECTING), f = (0, i.attachSharedListeners)(e.sharedWebSockets[s], s, t, _)) : (c.current = e.sharedWebSockets[s], a(e.sharedWebSockets[s].readyState));
6684
+ var _ = null;
6685
+ e.sharedWebSockets[u] === void 0 ? (e.sharedWebSockets[u] = t.current.eventSourceOptions ? new EventSource(u, t.current.eventSourceOptions) : new WebSocket(u, t.current.protocols), c.current = e.sharedWebSockets[u], a(s.ReadyState.CONNECTING), _ = (0, i.attachSharedListeners)(e.sharedWebSockets[u], u, t, f)) : (c.current = e.sharedWebSockets[u], a(e.sharedWebSockets[u].readyState));
6686
6686
  var U = {
6687
6687
  setLastMessage: o,
6688
6688
  setReadyState: a,
@@ -6691,14 +6691,14 @@ function Ar() {
6691
6691
  lastMessageTime: m,
6692
6692
  reconnect: l
6693
6693
  };
6694
- return (0, p.addSubscriber)(s, U), g(s, U, t, a, f);
6694
+ return (0, p.addSubscriber)(u, U), g(u, U, t, a, _);
6695
6695
  } else {
6696
- if (c.current = t.current.eventSourceOptions ? new EventSource(s, t.current.eventSourceOptions) : new WebSocket(s, t.current.protocols), a(u.ReadyState.CONNECTING), !c.current)
6696
+ if (c.current = t.current.eventSourceOptions ? new EventSource(u, t.current.eventSourceOptions) : new WebSocket(u, t.current.protocols), a(s.ReadyState.CONNECTING), !c.current)
6697
6697
  throw new Error("WebSocket failed to be created");
6698
6698
  return (0, n.attachListeners)(c.current, {
6699
6699
  setLastMessage: o,
6700
6700
  setReadyState: a
6701
- }, t, l.current, r, m, _);
6701
+ }, t, l.current, r, m, f);
6702
6702
  }
6703
6703
  };
6704
6704
  return Ca.createOrJoinSocket = C, Ca;
@@ -6706,21 +6706,21 @@ function Ar() {
6706
6706
  var Oe = {}, rn;
6707
6707
  function Br() {
6708
6708
  return rn || (rn = 1, (function(e) {
6709
- var u = Oe && Oe.__awaiter || function(s, a, t, o) {
6709
+ var s = Oe && Oe.__awaiter || function(u, a, t, o) {
6710
6710
  function l(r) {
6711
6711
  return r instanceof t ? r : new t(function(m) {
6712
6712
  m(r);
6713
6713
  });
6714
6714
  }
6715
6715
  return new (t || (t = Promise))(function(r, m) {
6716
- function _(d) {
6716
+ function f(d) {
6717
6717
  try {
6718
6718
  U(o.next(d));
6719
6719
  } catch (y) {
6720
6720
  m(y);
6721
6721
  }
6722
6722
  }
6723
- function f(d) {
6723
+ function _(d) {
6724
6724
  try {
6725
6725
  U(o.throw(d));
6726
6726
  } catch (y) {
@@ -6728,24 +6728,24 @@ function Br() {
6728
6728
  }
6729
6729
  }
6730
6730
  function U(d) {
6731
- d.done ? r(d.value) : l(d.value).then(_, f);
6731
+ d.done ? r(d.value) : l(d.value).then(f, _);
6732
6732
  }
6733
- U((o = o.apply(s, a || [])).next());
6733
+ U((o = o.apply(u, a || [])).next());
6734
6734
  });
6735
- }, n = Oe && Oe.__generator || function(s, a) {
6735
+ }, n = Oe && Oe.__generator || function(u, a) {
6736
6736
  var t = { label: 0, sent: function() {
6737
6737
  if (r[0] & 1) throw r[1];
6738
6738
  return r[1];
6739
6739
  }, trys: [], ops: [] }, o, l, r, m = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
6740
- return m.next = _(0), m.throw = _(1), m.return = _(2), typeof Symbol == "function" && (m[Symbol.iterator] = function() {
6740
+ return m.next = f(0), m.throw = f(1), m.return = f(2), typeof Symbol == "function" && (m[Symbol.iterator] = function() {
6741
6741
  return this;
6742
6742
  }), m;
6743
- function _(U) {
6743
+ function f(U) {
6744
6744
  return function(d) {
6745
- return f([U, d]);
6745
+ return _([U, d]);
6746
6746
  };
6747
6747
  }
6748
- function f(U) {
6748
+ function _(U) {
6749
6749
  if (o) throw new TypeError("Generator is already executing.");
6750
6750
  for (; m && (m = 0, U[0] && (t = 0)), t; ) try {
6751
6751
  if (o = 1, l && (r = U[0] & 2 ? l.return : U[0] ? l.throw || ((r = l.return) && r.call(l), 0) : l.next) && !(r = r.call(l, U[1])).done) return r;
@@ -6782,7 +6782,7 @@ function Br() {
6782
6782
  r[2] && t.ops.pop(), t.trys.pop();
6783
6783
  continue;
6784
6784
  }
6785
- U = a.call(s, t);
6785
+ U = a.call(u, t);
6786
6786
  } catch (d) {
6787
6787
  U = [6, d], l = 0;
6788
6788
  } finally {
@@ -6791,21 +6791,21 @@ function Br() {
6791
6791
  if (U[0] & 5) throw U[1];
6792
6792
  return { value: U[0] ? U[1] : void 0, done: !0 };
6793
6793
  }
6794
- }, i = Oe && Oe.__spreadArray || function(s, a, t) {
6794
+ }, i = Oe && Oe.__spreadArray || function(u, a, t) {
6795
6795
  if (t || arguments.length === 2) for (var o = 0, l = a.length, r; o < l; o++)
6796
6796
  (r || !(o in a)) && (r || (r = Array.prototype.slice.call(a, 0, o)), r[o] = a[o]);
6797
- return s.concat(r || Array.prototype.slice.call(a));
6797
+ return u.concat(r || Array.prototype.slice.call(a));
6798
6798
  };
6799
6799
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getUrl = void 0;
6800
- var p = Yi(), g = Me(), C = function(s) {
6800
+ var p = Xi(), g = Me(), C = function(u) {
6801
6801
  return new Promise(function(a) {
6802
- return window.setTimeout(a, s);
6802
+ return window.setTimeout(a, u);
6803
6803
  });
6804
- }, c = function(s, a) {
6804
+ }, c = function(u, a) {
6805
6805
  for (var t = [], o = 2; o < arguments.length; o++)
6806
6806
  t[o - 2] = arguments[o];
6807
- return u(void 0, i([s, a], t, !0), void 0, function(l, r, m) {
6808
- var _, f, U, d, y, b, v, h;
6807
+ return s(void 0, i([u, a], t, !0), void 0, function(l, r, m) {
6808
+ var f, _, U, d, y, b, v, h;
6809
6809
  return m === void 0 && (m = 0), n(this, function(x) {
6810
6810
  switch (x.label) {
6811
6811
  case 0:
@@ -6814,9 +6814,9 @@ function Br() {
6814
6814
  case 1:
6815
6815
  return x.trys.push([1, 3, , 9]), [4, l()];
6816
6816
  case 2:
6817
- return _ = x.sent(), [3, 9];
6817
+ return f = x.sent(), [3, 9];
6818
6818
  case 3:
6819
- return x.sent(), r.current.retryOnError ? (f = (b = r.current.reconnectAttempts) !== null && b !== void 0 ? b : g.DEFAULT_RECONNECT_LIMIT, m < f ? (U = typeof r.current.reconnectInterval == "function" ? r.current.reconnectInterval(m) : r.current.reconnectInterval, [4, C(U ?? g.DEFAULT_RECONNECT_INTERVAL_MS)]) : [3, 5]) : [3, 7];
6819
+ return x.sent(), r.current.retryOnError ? (_ = (b = r.current.reconnectAttempts) !== null && b !== void 0 ? b : g.DEFAULT_RECONNECT_LIMIT, m < _ ? (U = typeof r.current.reconnectInterval == "function" ? r.current.reconnectInterval(m) : r.current.reconnectInterval, [4, C(U ?? g.DEFAULT_RECONNECT_INTERVAL_MS)]) : [3, 5]) : [3, 7];
6820
6820
  case 4:
6821
6821
  return x.sent(), [2, (0, e.getUrl)(l, r, m + 1)];
6822
6822
  case 5:
@@ -6830,9 +6830,9 @@ function Br() {
6830
6830
  case 9:
6831
6831
  return [3, 11];
6832
6832
  case 10:
6833
- _ = l, x.label = 11;
6833
+ f = l, x.label = 11;
6834
6834
  case 11:
6835
- return d = r.current.fromSocketIO ? (0, p.parseSocketIOUrl)(_) : _, y = r.current.queryParams ? (0, p.appendQueryParams)(d, r.current.queryParams) : d, [2, y];
6835
+ return d = r.current.fromSocketIO ? (0, p.parseSocketIOUrl)(f) : f, y = r.current.queryParams ? (0, p.appendQueryParams)(d, r.current.queryParams) : d, [2, y];
6836
6836
  }
6837
6837
  });
6838
6838
  });
@@ -6840,11 +6840,11 @@ function Br() {
6840
6840
  e.getUrl = c;
6841
6841
  })(Oe)), Oe;
6842
6842
  }
6843
- var zi = {}, on;
6843
+ var Vi = {}, on;
6844
6844
  function Hr() {
6845
6845
  return on || (on = 1, (function(e) {
6846
6846
  Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
6847
- var u = function(n, i) {
6847
+ var s = function(n, i) {
6848
6848
  return new Proxy(n, {
6849
6849
  get: function(p, g) {
6850
6850
  var C = p[g];
@@ -6856,23 +6856,23 @@ function Hr() {
6856
6856
  }
6857
6857
  });
6858
6858
  };
6859
- e.websocketWrapper = u, e.default = e.websocketWrapper;
6860
- })(zi)), zi;
6859
+ e.websocketWrapper = s, e.default = e.websocketWrapper;
6860
+ })(Vi)), Vi;
6861
6861
  }
6862
6862
  var mn;
6863
- function at() {
6863
+ function it() {
6864
6864
  if (mn) return ke;
6865
6865
  mn = 1;
6866
6866
  var e = ke && ke.__assign || function() {
6867
6867
  return e = Object.assign || function(l) {
6868
- for (var r, m = 1, _ = arguments.length; m < _; m++) {
6868
+ for (var r, m = 1, f = arguments.length; m < f; m++) {
6869
6869
  r = arguments[m];
6870
- for (var f in r) Object.prototype.hasOwnProperty.call(r, f) && (l[f] = r[f]);
6870
+ for (var _ in r) Object.prototype.hasOwnProperty.call(r, _) && (l[_] = r[_]);
6871
6871
  }
6872
6872
  return l;
6873
6873
  }, e.apply(this, arguments);
6874
- }, u = ke && ke.__awaiter || function(l, r, m, _) {
6875
- function f(U) {
6874
+ }, s = ke && ke.__awaiter || function(l, r, m, f) {
6875
+ function _(U) {
6876
6876
  return U instanceof m ? U : new m(function(d) {
6877
6877
  d(U);
6878
6878
  });
@@ -6880,28 +6880,28 @@ function at() {
6880
6880
  return new (m || (m = Promise))(function(U, d) {
6881
6881
  function y(h) {
6882
6882
  try {
6883
- v(_.next(h));
6883
+ v(f.next(h));
6884
6884
  } catch (x) {
6885
6885
  d(x);
6886
6886
  }
6887
6887
  }
6888
6888
  function b(h) {
6889
6889
  try {
6890
- v(_.throw(h));
6890
+ v(f.throw(h));
6891
6891
  } catch (x) {
6892
6892
  d(x);
6893
6893
  }
6894
6894
  }
6895
6895
  function v(h) {
6896
- h.done ? U(h.value) : f(h.value).then(y, b);
6896
+ h.done ? U(h.value) : _(h.value).then(y, b);
6897
6897
  }
6898
- v((_ = _.apply(l, r || [])).next());
6898
+ v((f = f.apply(l, r || [])).next());
6899
6899
  });
6900
6900
  }, n = ke && ke.__generator || function(l, r) {
6901
6901
  var m = { label: 0, sent: function() {
6902
6902
  if (U[0] & 1) throw U[1];
6903
6903
  return U[1];
6904
- }, trys: [], ops: [] }, _, f, U, d = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
6904
+ }, trys: [], ops: [] }, f, _, U, d = Object.create((typeof Iterator == "function" ? Iterator : Object).prototype);
6905
6905
  return d.next = y(0), d.throw = y(1), d.return = y(2), typeof Symbol == "function" && (d[Symbol.iterator] = function() {
6906
6906
  return this;
6907
6907
  }), d;
@@ -6911,10 +6911,10 @@ function at() {
6911
6911
  };
6912
6912
  }
6913
6913
  function b(v) {
6914
- if (_) throw new TypeError("Generator is already executing.");
6914
+ if (f) throw new TypeError("Generator is already executing.");
6915
6915
  for (; d && (d = 0, v[0] && (m = 0)), m; ) try {
6916
- if (_ = 1, f && (U = v[0] & 2 ? f.return : v[0] ? f.throw || ((U = f.return) && U.call(f), 0) : f.next) && !(U = U.call(f, v[1])).done) return U;
6917
- switch (f = 0, U && (v = [v[0] & 2, U.value]), v[0]) {
6916
+ if (f = 1, _ && (U = v[0] & 2 ? _.return : v[0] ? _.throw || ((U = _.return) && U.call(_), 0) : _.next) && !(U = U.call(_, v[1])).done) return U;
6917
+ switch (_ = 0, U && (v = [v[0] & 2, U.value]), v[0]) {
6918
6918
  case 0:
6919
6919
  case 1:
6920
6920
  U = v;
@@ -6922,7 +6922,7 @@ function at() {
6922
6922
  case 4:
6923
6923
  return m.label++, { value: v[1], done: !1 };
6924
6924
  case 5:
6925
- m.label++, f = v[1], v = [0];
6925
+ m.label++, _ = v[1], v = [0];
6926
6926
  continue;
6927
6927
  case 7:
6928
6928
  v = m.ops.pop(), m.trys.pop();
@@ -6949,9 +6949,9 @@ function at() {
6949
6949
  }
6950
6950
  v = r.call(l, m);
6951
6951
  } catch (h) {
6952
- v = [6, h], f = 0;
6952
+ v = [6, h], _ = 0;
6953
6953
  } finally {
6954
- _ = U = 0;
6954
+ f = U = 0;
6955
6955
  }
6956
6956
  if (v[0] & 5) throw v[1];
6957
6957
  return { value: v[0] ? v[1] : void 0, done: !0 };
@@ -6960,17 +6960,17 @@ function at() {
6960
6960
  return l && l.__esModule ? l : { default: l };
6961
6961
  };
6962
6962
  Object.defineProperty(ke, "__esModule", { value: !0 }), ke.useWebSocket = void 0;
6963
- var p = xa, g = ul, C = Me(), c = Ar(), s = Br(), a = i(Hr()), t = et(), o = function(l, r, m) {
6963
+ var p = xa, g = ul, C = Me(), c = Ar(), u = Br(), a = i(Hr()), t = at(), o = function(l, r, m) {
6964
6964
  r === void 0 && (r = C.DEFAULT_OPTIONS), m === void 0 && (m = !0);
6965
- var _ = (0, p.useState)(null), f = _[0], U = _[1], d = (0, p.useState)({}), y = d[0], b = d[1], v = (0, p.useMemo)(function() {
6966
- if (!r.disableJson && f)
6965
+ var f = (0, p.useState)(null), _ = f[0], U = f[1], d = (0, p.useState)({}), y = d[0], b = d[1], v = (0, p.useMemo)(function() {
6966
+ if (!r.disableJson && _)
6967
6967
  try {
6968
- return JSON.parse(f.data);
6968
+ return JSON.parse(_.data);
6969
6969
  } catch {
6970
6970
  return C.UNPARSABLE_JSON_OBJECT;
6971
6971
  }
6972
6972
  return null;
6973
- }, [f, r.disableJson]), h = (0, p.useRef)(null), x = (0, p.useRef)(null), D = (0, p.useRef)(function() {
6973
+ }, [_, r.disableJson]), h = (0, p.useRef)(null), x = (0, p.useRef)(null), D = (0, p.useRef)(function() {
6974
6974
  }), O = (0, p.useRef)(0), k = (0, p.useRef)(Date.now()), S = (0, p.useRef)([]), P = (0, p.useRef)(null), G = (0, p.useRef)(r);
6975
6975
  G.current = r;
6976
6976
  var w = h.current && y[h.current] !== void 0 ? y[h.current] : l !== null && m === !0 ? C.ReadyState.CONNECTING : C.ReadyState.UNINSTANTIATED, M = r.queryParams ? JSON.stringify(r.queryParams) : null, R = (0, p.useCallback)(function(B, W) {
@@ -6988,12 +6988,12 @@ function at() {
6988
6988
  return (0, p.useEffect)(function() {
6989
6989
  if (l !== null && m === !0) {
6990
6990
  var B, W = !1, E = !0, L = function() {
6991
- return u(void 0, void 0, void 0, function() {
6991
+ return s(void 0, void 0, void 0, function() {
6992
6992
  var F, N, K;
6993
6993
  return n(this, function(q) {
6994
6994
  switch (q.label) {
6995
6995
  case 0:
6996
- return F = h, [4, (0, s.getUrl)(l, G)];
6996
+ return F = h, [4, (0, u.getUrl)(l, G)];
6997
6997
  case 1:
6998
6998
  return F.current = q.sent(), h.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), h.current = "ABORTED", (0, g.flushSync)(function() {
6999
6999
  return b(function(Q) {
@@ -7037,7 +7037,7 @@ function at() {
7037
7037
  }, [w]), {
7038
7038
  sendMessage: R,
7039
7039
  sendJsonMessage: z,
7040
- lastMessage: f,
7040
+ lastMessage: _,
7041
7041
  lastJsonMessage: v,
7042
7042
  readyState: w,
7043
7043
  getWebSocket: A
@@ -7051,33 +7051,33 @@ function Wr() {
7051
7051
  sn = 1;
7052
7052
  var e = aa && aa.__assign || function() {
7053
7053
  return e = Object.assign || function(c) {
7054
- for (var s, a = 1, t = arguments.length; a < t; a++) {
7055
- s = arguments[a];
7056
- for (var o in s) Object.prototype.hasOwnProperty.call(s, o) && (c[o] = s[o]);
7054
+ for (var u, a = 1, t = arguments.length; a < t; a++) {
7055
+ u = arguments[a];
7056
+ for (var o in u) Object.prototype.hasOwnProperty.call(u, o) && (c[o] = u[o]);
7057
7057
  }
7058
7058
  return c;
7059
7059
  }, e.apply(this, arguments);
7060
7060
  };
7061
7061
  Object.defineProperty(aa, "__esModule", { value: !0 }), aa.useSocketIO = void 0;
7062
- var u = xa, n = at(), i = Me(), p = {
7062
+ var s = xa, n = it(), i = Me(), p = {
7063
7063
  type: "empty",
7064
7064
  payload: null
7065
7065
  }, g = function(c) {
7066
7066
  if (!c || !c.data)
7067
7067
  return p;
7068
- var s = c.data.match(/\[.*]/);
7069
- if (!s)
7068
+ var u = c.data.match(/\[.*]/);
7069
+ if (!u)
7070
7070
  return p;
7071
- var a = JSON.parse(s);
7071
+ var a = JSON.parse(u);
7072
7072
  return !Array.isArray(a) || !a[1] ? p : {
7073
7073
  type: a[0],
7074
7074
  payload: a[1]
7075
7075
  };
7076
- }, C = function(c, s, a) {
7077
- s === void 0 && (s = i.DEFAULT_OPTIONS), a === void 0 && (a = !0);
7078
- var t = (0, u.useMemo)(function() {
7079
- return e(e({}, s), { fromSocketIO: !0 });
7080
- }, []), o = (0, n.useWebSocket)(c, t, a), l = o.sendMessage, r = o.sendJsonMessage, m = o.lastMessage, _ = o.readyState, f = o.getWebSocket, U = (0, u.useMemo)(function() {
7076
+ }, C = function(c, u, a) {
7077
+ u === void 0 && (u = i.DEFAULT_OPTIONS), a === void 0 && (a = !0);
7078
+ var t = (0, s.useMemo)(function() {
7079
+ return e(e({}, u), { fromSocketIO: !0 });
7080
+ }, []), o = (0, n.useWebSocket)(c, t, a), l = o.sendMessage, r = o.sendJsonMessage, m = o.lastMessage, f = o.readyState, _ = o.getWebSocket, U = (0, s.useMemo)(function() {
7081
7081
  return g(m);
7082
7082
  }, [m]);
7083
7083
  return {
@@ -7085,8 +7085,8 @@ function Wr() {
7085
7085
  sendJsonMessage: r,
7086
7086
  lastMessage: U,
7087
7087
  lastJsonMessage: U,
7088
- readyState: _,
7089
- getWebSocket: f
7088
+ readyState: f,
7089
+ getWebSocket: _
7090
7090
  };
7091
7091
  };
7092
7092
  return aa.useSocketIO = C, aa;
@@ -7097,38 +7097,38 @@ function zr() {
7097
7097
  un = 1;
7098
7098
  var e = Ae && Ae.__assign || function() {
7099
7099
  return e = Object.assign || function(C) {
7100
- for (var c, s = 1, a = arguments.length; s < a; s++) {
7101
- c = arguments[s];
7100
+ for (var c, u = 1, a = arguments.length; u < a; u++) {
7101
+ c = arguments[u];
7102
7102
  for (var t in c) Object.prototype.hasOwnProperty.call(c, t) && (C[t] = c[t]);
7103
7103
  }
7104
7104
  return C;
7105
7105
  }, e.apply(this, arguments);
7106
- }, u = Ae && Ae.__rest || function(C, c) {
7107
- var s = {};
7108
- for (var a in C) Object.prototype.hasOwnProperty.call(C, a) && c.indexOf(a) < 0 && (s[a] = C[a]);
7106
+ }, s = Ae && Ae.__rest || function(C, c) {
7107
+ var u = {};
7108
+ for (var a in C) Object.prototype.hasOwnProperty.call(C, a) && c.indexOf(a) < 0 && (u[a] = C[a]);
7109
7109
  if (C != null && typeof Object.getOwnPropertySymbols == "function")
7110
7110
  for (var t = 0, a = Object.getOwnPropertySymbols(C); t < a.length; t++)
7111
- c.indexOf(a[t]) < 0 && Object.prototype.propertyIsEnumerable.call(C, a[t]) && (s[a[t]] = C[a[t]]);
7112
- return s;
7111
+ c.indexOf(a[t]) < 0 && Object.prototype.propertyIsEnumerable.call(C, a[t]) && (u[a[t]] = C[a[t]]);
7112
+ return u;
7113
7113
  };
7114
7114
  Object.defineProperty(Ae, "__esModule", { value: !0 }), Ae.useEventSource = void 0;
7115
- var n = xa, i = at(), p = Me(), g = function(C, c, s) {
7115
+ var n = xa, i = it(), p = Me(), g = function(C, c, u) {
7116
7116
  c === void 0 && (c = p.DEFAULT_EVENT_SOURCE_OPTIONS);
7117
- var a = c.withCredentials, t = c.events, o = u(c, ["withCredentials", "events"]);
7118
- s === void 0 && (s = !0);
7117
+ var a = c.withCredentials, t = c.events, o = s(c, ["withCredentials", "events"]);
7118
+ u === void 0 && (u = !0);
7119
7119
  var l = e(e({}, o), { eventSourceOptions: {
7120
7120
  withCredentials: a
7121
7121
  } }), r = (0, n.useRef)(p.EMPTY_EVENT_HANDLERS);
7122
7122
  t && (r.current = t);
7123
- var m = (0, i.useWebSocket)(C, l, s), _ = m.lastMessage, f = m.readyState, U = m.getWebSocket;
7123
+ var m = (0, i.useWebSocket)(C, l, u), f = m.lastMessage, _ = m.readyState, U = m.getWebSocket;
7124
7124
  return (0, n.useEffect)(function() {
7125
- _?.type && Object.entries(r.current).forEach(function(d) {
7125
+ f?.type && Object.entries(r.current).forEach(function(d) {
7126
7126
  var y = d[0], b = d[1];
7127
- y === _.type && b(_);
7127
+ y === f.type && b(f);
7128
7128
  });
7129
- }, [_]), {
7130
- lastEvent: _,
7131
- readyState: f,
7129
+ }, [f]), {
7130
+ lastEvent: f,
7131
+ readyState: _,
7132
7132
  getEventSource: U
7133
7133
  };
7134
7134
  };
@@ -7138,9 +7138,9 @@ var pn;
7138
7138
  function Vr() {
7139
7139
  return pn || (pn = 1, (function(e) {
7140
7140
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
7141
- var u = at();
7141
+ var s = it();
7142
7142
  Object.defineProperty(e, "default", { enumerable: !0, get: function() {
7143
- return u.useWebSocket;
7143
+ return s.useWebSocket;
7144
7144
  } });
7145
7145
  var n = Wr();
7146
7146
  Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
@@ -7154,30 +7154,30 @@ function Vr() {
7154
7154
  Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
7155
7155
  return p.useEventSource;
7156
7156
  } });
7157
- var g = et();
7157
+ var g = at();
7158
7158
  Object.defineProperty(e, "resetGlobalState", { enumerable: !0, get: function() {
7159
7159
  return g.resetGlobalState;
7160
7160
  } });
7161
- })(Ai)), Ai;
7161
+ })(Bi)), Bi;
7162
7162
  }
7163
7163
  var Zr = Vr();
7164
- const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7164
+ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7165
7165
  enable: e = !1,
7166
- isTestFunction: u = !1,
7166
+ isTestFunction: s = !1,
7167
7167
  isTransferMode: n = !1,
7168
7168
  isInGameBox: i = !1,
7169
7169
  currentGamePlatform: p = ""
7170
7170
  }) => {
7171
- const { store: g, lng: C } = te(), { isReady: c, setAsReady: s, isPending: a, setAsPending: t } = kn(), o = He(C), { mutateAsync: l } = Oo();
7172
- return !e || !u || !n ? { handleTransferInGame: () => {
7171
+ const { store: g, lng: C } = te(), { isReady: c, setAsReady: u, isPending: a, setAsPending: t } = kn(), o = He(C), { mutateAsync: l } = Oo();
7172
+ return !e || !s || !n ? { handleTransferInGame: () => {
7173
7173
  } } : { handleTransferInGame: async () => {
7174
7174
  console.log("執行遊戲內轉帳"), i && await l({
7175
7175
  platform: p
7176
7176
  }).then((m) => {
7177
- const { code: _, request_id: f } = m;
7178
- switch (_) {
7177
+ const { code: f, request_id: _ } = m;
7178
+ switch (f) {
7179
7179
  case 200:
7180
- s(), g.dispatch({
7180
+ u(), g.dispatch({
7181
7181
  type: "ui/openNotificationModal",
7182
7182
  payload: {
7183
7183
  title: ka[o] || "System Prompt",
@@ -7187,10 +7187,10 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7187
7187
  });
7188
7188
  return;
7189
7189
  case 101:
7190
- localStorage.setItem("transfer_in_game_request_id", f), t();
7190
+ localStorage.setItem("transfer_in_game_request_id", _), t();
7191
7191
  return;
7192
7192
  case 102:
7193
- localStorage.setItem("transfer_in_game_request_id", f), t(), g.dispatch({
7193
+ localStorage.setItem("transfer_in_game_request_id", _), t(), g.dispatch({
7194
7194
  type: "ui/openNotificationModal",
7195
7195
  payload: {
7196
7196
  title: ka[o] || "System Prompt",
@@ -7200,7 +7200,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7200
7200
  });
7201
7201
  return;
7202
7202
  case 103:
7203
- localStorage.removeItem("transfer_in_game_request_id"), s();
7203
+ localStorage.removeItem("transfer_in_game_request_id"), u();
7204
7204
  return;
7205
7205
  default:
7206
7206
  return;
@@ -7222,7 +7222,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7222
7222
  GAME_MAINTAIN: "game_maintain"
7223
7223
  }, Kr = 3e4, pm = ({
7224
7224
  socketUrl: e,
7225
- socketHandlers: u = {},
7225
+ socketHandlers: s = {},
7226
7226
  options: n = {},
7227
7227
  memberInfo: i = {},
7228
7228
  transferInGamingConfig: p = {
@@ -7233,7 +7233,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7233
7233
  },
7234
7234
  enableNotification: g = !1
7235
7235
  }) => {
7236
- const { store: C, lng: c } = te(), s = tl(), { isReady: a, setAsReady: t, isPending: o, setAsPending: l } = kn(), r = He(c), m = wi(!1), _ = wi(u), f = me(i, "uid", null);
7236
+ const { store: C, lng: c } = te(), u = tl(), { isReady: a, setAsReady: t, isPending: o, setAsPending: l } = kn(), r = He(c), m = Oi(!1), f = Oi(s), _ = me(i, "uid", null);
7237
7237
  me(i, "testFunction", 0);
7238
7238
  const U = me(
7239
7239
  p,
@@ -7292,9 +7292,9 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7292
7292
  [g, C, r]
7293
7293
  );
7294
7294
  ma(() => {
7295
- _.current = u;
7296
- }, [u]);
7297
- const O = wi(null);
7295
+ f.current = s;
7296
+ }, [s]);
7297
+ const O = Oi(null);
7298
7298
  return ma(() => {
7299
7299
  if (!x || O.current === x) return;
7300
7300
  O.current = x;
@@ -7307,13 +7307,13 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7307
7307
  onMaintainNoticeMember: M,
7308
7308
  onTransferInGame: R,
7309
7309
  onCashRegisterLimit: z
7310
- } = _.current, A = me(x, "type", ""), B = {
7310
+ } = f.current, A = me(x, "type", ""), B = {
7311
7311
  memberInfoUid: me(x, "member_info_uid", null),
7312
7312
  data: me(x, "data", null),
7313
7313
  memo: me(x, "memo", null),
7314
7314
  amount: me(x, "amount", null),
7315
7315
  limitAmount: me(x, "limit_amount", null)
7316
- }, W = Number(B.memberInfoUid) === f, E = B.data, L = B.amount, F = B.limitAmount;
7316
+ }, W = Number(B.memberInfoUid) === _, E = B.data, L = B.amount, F = B.limitAmount;
7317
7317
  switch (A) {
7318
7318
  case xe.DEPOSIT:
7319
7319
  W && (d(), k?.(B));
@@ -7330,7 +7330,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7330
7330
  }
7331
7331
  break;
7332
7332
  case xe.UPDATE_MEMBER:
7333
- f && (s.invalidateQueries({
7333
+ _ && (u.invalidateQueries({
7334
7334
  queryKey: ["getMemberInfo"]
7335
7335
  }), G?.(B));
7336
7336
  break;
@@ -7385,7 +7385,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7385
7385
  }), z?.(B);
7386
7386
  break;
7387
7387
  case xe.UPDATE_ONLY_ONE_MEMBER:
7388
- W && (s.invalidateQueries({
7388
+ W && (u.invalidateQueries({
7389
7389
  queryKey: ["getMemberInfo"]
7390
7390
  }), G?.(B));
7391
7391
  break;
@@ -7400,9 +7400,9 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7400
7400
  }
7401
7401
  }, [
7402
7402
  x,
7403
- f,
7403
+ _,
7404
7404
  C,
7405
- s,
7405
+ u,
7406
7406
  r,
7407
7407
  D,
7408
7408
  o,
@@ -7414,98 +7414,111 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7414
7414
  const k = localStorage.getItem(
7415
7415
  "transfer_in_game_request_id"
7416
7416
  );
7417
- k && f && o && b({
7417
+ k && _ && o && b({
7418
7418
  type: xe.CHECK_REQUEST,
7419
7419
  request_id: k,
7420
- member_info_uid: f
7420
+ member_info_uid: _
7421
7421
  });
7422
7422
  }
7423
- }, [f, o, b, U]), {
7423
+ }, [_, o, b, U]), {
7424
7424
  sendMessage: y,
7425
7425
  sendJsonMessage: b,
7426
7426
  readyState: h
7427
7427
  // WebSocket 連線狀態
7428
7428
  };
7429
- }, it = () => {
7430
- const { client: e } = te(), u = J(
7431
- async ({ paramsData: p } = {}) => {
7432
- const { uid: g } = p || {};
7433
- return await e.get(`/event/list${g ? `/${g}` : ""}`);
7429
+ }, Di = () => {
7430
+ const { client: e } = te(), s = J(
7431
+ async ({ paramsData: g } = {}) => {
7432
+ const { uid: C } = g || {};
7433
+ return await e.get(`/event/list${C ? `/${C}` : ""}`);
7434
7434
  },
7435
7435
  [e]
7436
7436
  ), n = J(
7437
- async (p) => await e.get("/event/checkMemeberEventsWageringRestricted", {
7438
- params: p
7437
+ async (g) => await e.get("/event/checkMemeberEventsWageringRestricted", {
7438
+ params: g
7439
7439
  }),
7440
7440
  [e]
7441
7441
  ), i = J(
7442
- async (p = {}) => {
7443
- const { currency: g, event_uid: C } = p || {};
7444
- return await e.post("/event/checkMemberEventsStatus", {
7445
- currency: g,
7442
+ async (g = {}) => {
7443
+ const { event_uid: C } = g || {};
7444
+ return await e.get(`/event/${C}/memberGetEventRewards`, {
7446
7445
  event_uid: C
7447
7446
  });
7448
7447
  },
7449
7448
  [e]
7449
+ ), p = J(
7450
+ async (g = {}) => {
7451
+ const { currency: C, event_uid: c } = g || {};
7452
+ return await e.post("/event/checkMemberEventsStatus", {
7453
+ currency: C,
7454
+ event_uid: c
7455
+ });
7456
+ },
7457
+ [e]
7450
7458
  );
7451
- return { eventListApi: u, checkCurrentEventProgessApi: n, checkEventStatusApi: i };
7452
- }, qr = ({ paramsData: e, options: u } = {}) => {
7453
- const { eventListApi: n, store: i } = it(), p = i?.getState()?.isWalletCurrency || i?.getState()?.currency?.currentCurrency || "TWD";
7459
+ return {
7460
+ eventListApi: s,
7461
+ checkCurrentEventProgessApi: n,
7462
+ checkEventStatusApi: p,
7463
+ redeemEventRewardApi: i
7464
+ };
7465
+ }, qr = ({ paramsData: e, options: s } = {}) => {
7466
+ const { eventListApi: n, store: i } = Di(), p = i?.getState()?.isWalletCurrency || i?.getState()?.currency?.currentCurrency || "TWD";
7454
7467
  return X({
7455
7468
  queryKey: ["eventList", e],
7456
7469
  queryFn: () => n({ paramsData: e }),
7457
7470
  select: (g) => {
7458
7471
  const { data: C } = g;
7459
- return Te(C, (s) => {
7460
- const { events_attributes: a } = s, t = Le(
7472
+ return Te(C, (u) => {
7473
+ const { events_attributes: a } = u, t = Le(
7461
7474
  a,
7462
- (_) => _.attribute_currency === p
7475
+ (f) => f.attribute_currency === p
7463
7476
  ) || a[0], o = me(t, "rewards", {}), l = {
7464
- eventUid: s.uid,
7465
- enableCurrencyLimit: s.enable_currency_limit,
7477
+ eventUid: u.uid,
7478
+ enableCurrencyLimit: u.enable_currency_limit,
7466
7479
  //是否啟用幣別限制
7467
- endTime: s.end_time,
7480
+ endTime: u.end_time,
7468
7481
  //結束時間
7469
- startTime: s.start_time,
7482
+ startTime: u.start_time,
7470
7483
  //開始時間
7471
- eventCode: s.event_code,
7484
+ eventCode: u.event_code,
7472
7485
  //活動代碼
7473
- eventShowType: s.event_show_type,
7486
+ eventShowType: u.event_show_type,
7474
7487
  //活動顯示類型
7475
- isActive: s.is_active === 1,
7488
+ isActive: u.is_active === 1,
7476
7489
  //是否啟用
7477
- isShowCarousel: s.is_show_carousel === 1,
7490
+ isShowCarousel: u.is_show_carousel === 1,
7478
7491
  //是否顯示輪播
7479
- isShowPopup: s.is_show_pop_up === 1,
7492
+ isShowPopup: u.is_show_pop_up === 1,
7480
7493
  //是否顯示彈跳視窗
7481
- lastSettleDate: s.last_settle_date,
7494
+ lastSettleDate: u.last_settle_date,
7482
7495
  //上次結算日期
7483
- nextSettleDate: s.next_settle_date,
7496
+ nextSettleDate: u.next_settle_date,
7484
7497
  //下次結算日期
7485
- participatingPlatforms: s.participating_platforms,
7498
+ participatingPlatforms: u.participating_platforms,
7486
7499
  //參與平台
7487
- resetCycle: s.reset_cycle,
7500
+ resetCycle: u.reset_cycle,
7488
7501
  //重置週期
7489
- settlementHour: s.settlement_hour,
7502
+ settlementHour: u.settlement_hour,
7490
7503
  //結算小時
7491
- settlementInterval: s.settlement_interval,
7504
+ settlementInterval: u.settlement_interval,
7492
7505
  //結算間隔
7493
- settlementIntervalCount: s.settlement_interval_count,
7506
+ settlementIntervalCount: u.settlement_interval_count,
7494
7507
  //結算間隔次數
7495
- singleAmountTarget: s.single_amount_target,
7508
+ singleAmountTarget: u.single_amount_target,
7496
7509
  //單次目標金額
7497
- subType: s.subtype,
7510
+ subType: u.subtype,
7498
7511
  //活動子類型
7499
- type: s.type,
7512
+ type: u.type,
7500
7513
  //活動類型
7501
- valueBasis: s.value_basis,
7514
+ valueBasis: u.value_basis,
7502
7515
  //數值基準
7503
- vipGroup: s.vip_group,
7516
+ vipGroup: u.vip_group,
7504
7517
  // VIP 群組
7505
- tagsGroup: s.tags_group,
7518
+ tagsGroup: u.tags_group,
7506
7519
  //標籤群組
7507
7520
  eventBg: Sn(),
7508
- eventIcon: xn(s.type)
7521
+ eventIcon: xn(u.type)
7509
7522
  }, r = {
7510
7523
  isActive: t.attribute_is_active === 1,
7511
7524
  //是否啟用
@@ -7550,42 +7563,49 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7550
7563
  };
7551
7564
  });
7552
7565
  },
7553
- ...u
7566
+ ...s
7567
+ });
7568
+ }, gm = ({ options: e } = {}) => {
7569
+ const { redeemEventRewardApi: s } = Di();
7570
+ return ge({
7571
+ mutationKey: ["redeemEventReward"],
7572
+ mutationFn: async (n) => s(n),
7573
+ ...e
7554
7574
  });
7555
- }, jr = ({ options: e, formData: u } = {}) => {
7556
- const { checkCurrentEventProgessApi: n } = it();
7575
+ }, $r = ({ options: e, formData: s } = {}) => {
7576
+ const { checkCurrentEventProgessApi: n } = Di();
7557
7577
  return X({
7558
7578
  queryKey: ["checkEventProgress"],
7559
- queryFn: async () => n(u),
7579
+ queryFn: async () => n(s),
7560
7580
  ...e
7561
7581
  });
7562
- }, $r = ({ options: e, formData: u } = {}) => {
7563
- const { checkEventStatusApi: n } = it();
7582
+ }, jr = ({ options: e, formData: s } = {}) => {
7583
+ const { checkEventStatusApi: n } = Di();
7564
7584
  return X({
7565
7585
  queryKey: ["checkEventStatus"],
7566
- queryFn: async () => n(u),
7586
+ queryFn: async () => n(s),
7567
7587
  select: (i) => i.data.event_status,
7568
7588
  ...e
7569
7589
  });
7570
- }, gm = ({
7590
+ }, dm = ({
7571
7591
  options: e = {
7572
7592
  eventList: {},
7573
7593
  checkEventProgress: {},
7574
7594
  checkEventStatus: {}
7575
7595
  }
7576
7596
  } = {}) => {
7577
- const u = qr({ options: e.eventList }), n = jr({
7597
+ const s = qr({ options: e.eventList }), n = $r({
7578
7598
  options: e.checkEventProgress
7579
- }), i = $r({
7599
+ }), i = jr({
7580
7600
  options: e.checkEventStatus
7581
7601
  });
7582
7602
  return {
7583
- eventListQuery: u,
7603
+ eventListQuery: s,
7584
7604
  checkEventProgressQuery: n,
7585
7605
  checkEventStatusQuery: i
7586
7606
  };
7587
- }, Di = () => {
7588
- const { client: e } = te(), u = J(async () => {
7607
+ }, Ei = () => {
7608
+ const { client: e } = te(), s = J(async () => {
7589
7609
  const { data: g } = await e.get("/carousels");
7590
7610
  return g;
7591
7611
  }, [e]), n = J(async () => await e.get("/marquees"), [e]), i = J(async () => await e.get("/notification"), [e]), p = J(
@@ -7593,13 +7613,13 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7593
7613
  [e]
7594
7614
  );
7595
7615
  return {
7596
- commonCarouselApi: u,
7616
+ commonCarouselApi: s,
7597
7617
  commonMarqueeApi: n,
7598
7618
  commonInboxApi: i,
7599
7619
  commonReadInboxApi: p
7600
7620
  };
7601
- }, dm = () => {
7602
- const { lng: e, data2URL: u } = te(), { commonCarouselApi: n } = Di(), i = He(e);
7621
+ }, cm = () => {
7622
+ const { lng: e, data2URL: s } = te(), { commonCarouselApi: n } = Ei(), i = He(e);
7603
7623
  return X({
7604
7624
  queryKey: ["getCarouselList"],
7605
7625
  queryFn: async () => {
@@ -7607,25 +7627,25 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7607
7627
  return p || await n();
7608
7628
  },
7609
7629
  select: (p) => p.map((C) => {
7610
- const { carousels_lang: c } = C, s = c?.find((a) => a.lang === i) || c[0];
7630
+ const { carousels_lang: c } = C, u = c?.find((a) => a.lang === i) || c[0];
7611
7631
  return {
7612
7632
  ...C,
7613
- carouselCurrentLanguageData: s,
7614
- carouselCurrentLanguagePCImageUrl: `${u}/carousels/${s.image_pc}`,
7615
- carouselCurrentLanguageMBImageUrl: `${u}/carousels/${s.image_mobile}`,
7616
- carouselCurrentLanguageS3PCImageUrl: `${Be}/carousels/${s.image_pc}`,
7617
- carouselCurrentLanguageS3MBImageUrl: `${Be}/carousels/${s.image_mobile}`,
7618
- carouselCurrentLanguageLink: s.url_link
7633
+ carouselCurrentLanguageData: u,
7634
+ carouselCurrentLanguagePCImageUrl: `${s}/carousels/${u.image_pc}`,
7635
+ carouselCurrentLanguageMBImageUrl: `${s}/carousels/${u.image_mobile}`,
7636
+ carouselCurrentLanguageS3PCImageUrl: `${Be}/carousels/${u.image_pc}`,
7637
+ carouselCurrentLanguageS3MBImageUrl: `${Be}/carousels/${u.image_mobile}`,
7638
+ carouselCurrentLanguageLink: u.url_link
7619
7639
  };
7620
7640
  })
7621
7641
  });
7622
- }, cm = () => {
7623
- const { lng: e } = te(), { commonMarqueeApi: u } = Di(), n = He(e);
7642
+ }, _m = () => {
7643
+ const { lng: e } = te(), { commonMarqueeApi: s } = Ei(), n = He(e);
7624
7644
  return X({
7625
7645
  queryKey: ["getMarqueeList"],
7626
7646
  queryFn: async () => {
7627
7647
  const i = window.marquees;
7628
- return i || await u();
7648
+ return i || await s();
7629
7649
  },
7630
7650
  select: (i) => {
7631
7651
  const p = Ge(i) ? i : i.Marquees;
@@ -7633,10 +7653,10 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7633
7653
  }
7634
7654
  });
7635
7655
  }, fm = ({ options: e } = {}) => {
7636
- const { rankingGameApi: u } = ge();
7656
+ const { rankingGameApi: s } = de();
7637
7657
  return X({
7638
7658
  queryKey: ["rankingGame"],
7639
- queryFn: async () => u(),
7659
+ queryFn: async () => s(),
7640
7660
  enabled: window.profit_ranking_status === 1,
7641
7661
  select: (n) => {
7642
7662
  const { data: i } = n;
@@ -7644,7 +7664,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7644
7664
  const {
7645
7665
  game_uid: C,
7646
7666
  game_code: c,
7647
- game_name_en: s,
7667
+ game_name_en: u,
7648
7668
  game_platform_uid: a,
7649
7669
  memId: t,
7650
7670
  platform: o,
@@ -7656,7 +7676,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7656
7676
  //遊戲UID
7657
7677
  gameCode: c,
7658
7678
  //遊戲代碼
7659
- gameNameEn: s,
7679
+ gameNameEn: u,
7660
7680
  //遊戲名稱(英文)
7661
7681
  gamePlatformUid: a,
7662
7682
  //遊戲平台UID
@@ -7674,10 +7694,10 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7674
7694
  ...e
7675
7695
  });
7676
7696
  }, Qr = ({ options: e } = {}) => {
7677
- const { commonInboxApi: u } = Di(), { getToken: n, lng: i } = te(), p = n?.(), g = He(i);
7697
+ const { commonInboxApi: s } = Ei(), { getToken: n, lng: i } = te(), p = n?.(), g = He(i);
7678
7698
  return X({
7679
7699
  queryKey: ["inboxList"],
7680
- queryFn: async () => await u(),
7700
+ queryFn: async () => await s(),
7681
7701
  select: (C) => {
7682
7702
  const { data: c } = C;
7683
7703
  return Te(c, (a) => {
@@ -7695,21 +7715,21 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7695
7715
  ...e
7696
7716
  });
7697
7717
  }, Yr = ({ options: e } = {}) => {
7698
- const { commonReadInboxApi: u } = Di();
7699
- return _e({
7718
+ const { commonReadInboxApi: s } = Ei();
7719
+ return ge({
7700
7720
  mutationKey: ["readInbox"],
7701
- mutationFn: async (n) => await u(n),
7721
+ mutationFn: async (n) => await s(n),
7702
7722
  ...e
7703
7723
  });
7704
- }, _m = ({
7724
+ }, Um = ({
7705
7725
  options: e = {
7706
7726
  inboxList: {},
7707
7727
  readInbox: {}
7708
7728
  }
7709
7729
  } = {}) => {
7710
- const u = Qr({ options: e.inboxList }), n = Yr({ options: e.readInbox });
7730
+ const s = Qr({ options: e.inboxList }), n = Yr({ options: e.readInbox });
7711
7731
  return {
7712
- inboxListQuery: u,
7732
+ inboxListQuery: s,
7713
7733
  readInboxMutation: n
7714
7734
  };
7715
7735
  }, On = () => {
@@ -7768,16 +7788,16 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7768
7788
  value: "other",
7769
7789
  ...e.other
7770
7790
  }
7771
- ], Um = ({ options: e, formData: u } = {}) => {
7791
+ ], ym = ({ options: e, formData: s } = {}) => {
7772
7792
  const { lng: n } = te(), { newsListApi: i } = On(), p = He(n);
7773
7793
  return X({
7774
7794
  queryKey: ["newsList"],
7775
7795
  queryFn: () => {
7776
- const { uid: g, params: C } = u || {};
7796
+ const { uid: g, params: C } = s || {};
7777
7797
  return i({ uid: g, params: C });
7778
7798
  },
7779
7799
  select: (g) => {
7780
- const { data: C } = g, c = C.data?.filter((a) => a.is_active === 1), s = Te(c, (a) => {
7800
+ const { data: C } = g, c = C.data?.filter((a) => a.is_active === 1), u = Te(c, (a) => {
7781
7801
  const t = Le(a.news_language, {
7782
7802
  language: p
7783
7803
  }) || a.news_language[0];
@@ -7788,18 +7808,18 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7788
7808
  });
7789
7809
  return {
7790
7810
  ...g.data,
7791
- data: s,
7811
+ data: u,
7792
7812
  blogType: Xr({ typeConfig: e?.typeConfig })
7793
7813
  };
7794
7814
  },
7795
7815
  ...e
7796
7816
  });
7797
- }, ym = ({ options: e, formData: u } = {}) => {
7817
+ }, bm = ({ options: e, formData: s } = {}) => {
7798
7818
  const { lng: n } = te(), { newsListApi: i } = On(), p = He(n);
7799
7819
  return X({
7800
7820
  queryKey: ["newsList"],
7801
7821
  queryFn: () => {
7802
- const { uid: g, params: C } = u || {};
7822
+ const { uid: g, params: C } = s || {};
7803
7823
  return i({ uid: g, params: C });
7804
7824
  },
7805
7825
  select: (g) => {
@@ -7814,7 +7834,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7814
7834
  ...e
7815
7835
  });
7816
7836
  }, Ie = () => {
7817
- const { client: e } = te(), u = J(async () => await e.get("/payment/list"), [e]), n = J(
7837
+ const { client: e } = te(), s = J(async () => await e.get("/payment/list"), [e]), n = J(
7818
7838
  async ({ paramsData: a }) => await e.get("/thirdPartyPayment/list", {
7819
7839
  params: { ...a }
7820
7840
  }),
@@ -7864,11 +7884,11 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7864
7884
  [e]
7865
7885
  ), C = J(
7866
7886
  async ({ paramsData: a } = {}) => {
7867
- const { str_date: t, end_date: o, limit: l = 25, current_page: r } = a || {}, m = fe().format("HH:mm:ss"), _ = fe().subtract(24, "hour").format("HH:mm:ss");
7887
+ const { str_date: t, end_date: o, limit: l = 25, current_page: r } = a || {}, m = fe().format("HH:mm:ss"), f = fe().subtract(24, "hour").format("HH:mm:ss");
7868
7888
  return await e.get("/report/deposit", {
7869
7889
  params: {
7870
7890
  str_date: `${fe(t).format("YYYY-MM-DD")} ${m}`,
7871
- end_date: `${fe(o).format("YYYY-MM-DD")} ${_}`,
7891
+ end_date: `${fe(o).format("YYYY-MM-DD")} ${f}`,
7872
7892
  limit: l,
7873
7893
  page: r
7874
7894
  }
@@ -7877,18 +7897,18 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7877
7897
  [e]
7878
7898
  ), c = J(
7879
7899
  async ({ paramsData: a }) => {
7880
- const { str_date: t, end_date: o, limit: l = 25, current_page: r } = a || {}, m = fe().format("HH:mm:ss"), _ = fe().subtract(24, "hour").format("HH:mm:ss");
7900
+ const { str_date: t, end_date: o, limit: l = 25, current_page: r } = a || {}, m = fe().format("HH:mm:ss"), f = fe().subtract(24, "hour").format("HH:mm:ss");
7881
7901
  return await e.get("report/eventsreward", {
7882
7902
  params: {
7883
7903
  str_date: `${fe(t).format("YYYY-MM-DD")} ${m}`,
7884
- end_date: `${fe(o).format("YYYY-MM-DD")} ${_}`,
7904
+ end_date: `${fe(o).format("YYYY-MM-DD")} ${f}`,
7885
7905
  limit: l,
7886
7906
  page: r
7887
7907
  }
7888
7908
  });
7889
7909
  },
7890
7910
  [e]
7891
- ), s = J(
7911
+ ), u = J(
7892
7912
  async ({ paramsData: a } = {}) => {
7893
7913
  const { str_date: t, end_date: o, limit: l = 25, current_page: r } = a || {};
7894
7914
  return await e.get("/report/withdraw", {
@@ -7903,38 +7923,38 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7903
7923
  [e]
7904
7924
  );
7905
7925
  return {
7906
- depositApiV1: u,
7926
+ depositApiV1: s,
7907
7927
  depositApiV2: n,
7908
7928
  depositApi: i,
7909
7929
  bankDepositApi: p,
7910
7930
  withdrawApi: g,
7911
7931
  depositTransactionApi: C,
7912
7932
  eventTransactionApi: c,
7913
- withdrawTransactionApi: s
7933
+ withdrawTransactionApi: u
7914
7934
  };
7915
7935
  }, eo = ({ options: e } = {}) => {
7916
- const { depositApiV1: u } = Ie();
7936
+ const { depositApiV1: s } = Ie();
7917
7937
  return X({
7918
7938
  queryKey: ["depositV1"],
7919
- queryFn: u,
7939
+ queryFn: s,
7920
7940
  ...e
7921
7941
  });
7922
- }, ao = ({ paramsData: e, options: u } = {}) => {
7942
+ }, ao = ({ paramsData: e, options: s } = {}) => {
7923
7943
  const { depositApiV2: n } = Ie();
7924
7944
  return X({
7925
7945
  queryKey: ["depositV2", e],
7926
7946
  queryFn: () => n({ paramsData: e }),
7927
7947
  select: (i) => {
7928
- const { third_party: p, bank: g, vip: C } = i, c = Te(p, (s) => ({
7929
- ...s,
7930
- providerList: Te(s.providers, (a) => ({
7948
+ const { third_party: p, bank: g, vip: C } = i, c = Te(p, (u) => ({
7949
+ ...u,
7950
+ providerList: Te(u.providers, (a) => ({
7931
7951
  ...a,
7932
7952
  providerUid: a.uid,
7933
7953
  providerImageUrl: `${Be}/paymentIcon/${lt(a.provider_name)}.png`,
7934
7954
  providerMax: a.max,
7935
7955
  providerMin: a.min
7936
7956
  })),
7937
- methodImageUrl: `${Be}/paymentIcon/${lt(s.method_name)}pay.png`
7957
+ methodImageUrl: `${Be}/paymentIcon/${lt(u.method_name)}pay.png`
7938
7958
  }));
7939
7959
  return {
7940
7960
  bank: g,
@@ -7942,53 +7962,53 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7942
7962
  thirdParty: c
7943
7963
  };
7944
7964
  },
7945
- ...u
7965
+ ...s
7946
7966
  });
7947
7967
  }, io = ({ options: e } = {}) => {
7948
- const { depositApi: u } = Ie();
7949
- return _e({
7968
+ const { depositApi: s } = Ie();
7969
+ return ge({
7950
7970
  mutationKey: ["depositAction"],
7951
- mutationFn: async (n) => u(n),
7971
+ mutationFn: async (n) => s(n),
7952
7972
  ...e
7953
7973
  });
7954
7974
  }, to = ({ options: e } = {}) => {
7955
- const { withdrawApi: u } = Ie();
7956
- return _e({
7975
+ const { withdrawApi: s } = Ie();
7976
+ return ge({
7957
7977
  mutationKey: ["withdrawAction"],
7958
- mutationFn: async (n) => u(n),
7978
+ mutationFn: async (n) => s(n),
7959
7979
  ...e
7960
7980
  });
7961
- }, no = ({ paramsData: e, options: u } = {}) => {
7981
+ }, no = ({ paramsData: e, options: s } = {}) => {
7962
7982
  const { depositTransactionApi: n } = Ie();
7963
7983
  return X({
7964
7984
  queryKey: ["depositTransaction", e],
7965
7985
  queryFn: () => n({ paramsData: e }),
7966
- ...u
7986
+ ...s
7967
7987
  });
7968
- }, lo = ({ paramsData: e, options: u } = {}) => {
7988
+ }, lo = ({ paramsData: e, options: s } = {}) => {
7969
7989
  const { eventTransactionApi: n } = Ie();
7970
7990
  return X({
7971
7991
  queryKey: ["eventTransaction", e],
7972
7992
  queryFn: () => n({ paramsData: e }),
7973
- ...u
7993
+ ...s
7974
7994
  });
7975
7995
  }, ro = ({ options: e } = {}) => {
7976
- const { bankDepositApi: u } = Ie();
7977
- return _e({
7996
+ const { bankDepositApi: s } = Ie();
7997
+ return ge({
7978
7998
  mutationKey: ["bankDeposit"],
7979
- mutationFn: async (n) => u(n),
7999
+ mutationFn: async (n) => s(n),
7980
8000
  ...e
7981
8001
  });
7982
- }, oo = ({ paramsData: e, options: u } = {}) => {
8002
+ }, oo = ({ paramsData: e, options: s } = {}) => {
7983
8003
  const { withdrawTransactionApi: n } = Ie();
7984
8004
  return X({
7985
8005
  queryKey: ["withdrawTransaction", e],
7986
8006
  queryFn: () => n({ paramsData: e }),
7987
- ...u
8007
+ ...s
7988
8008
  });
7989
- }, bm = ({
8009
+ }, Cm = ({
7990
8010
  depositV1: e = {},
7991
- depositV2: u = {},
8011
+ depositV2: s = {},
7992
8012
  depositTransaction: n = {},
7993
8013
  depositAction: i = {},
7994
8014
  withdrawAction: p = {},
@@ -7996,78 +8016,78 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
7996
8016
  eventTransaction: C = {},
7997
8017
  withdrawTransaction: c = {}
7998
8018
  } = {}) => {
7999
- const s = eo(e), a = ao(u), t = no(n), o = io(i), l = to(p), r = ro(g), m = lo(C), _ = oo(
8019
+ const u = eo(e), a = ao(s), t = no(n), o = io(i), l = to(p), r = ro(g), m = lo(C), f = oo(
8000
8020
  c
8001
8021
  );
8002
8022
  return {
8003
- depositV1: s,
8023
+ depositV1: u,
8004
8024
  depositV2: a,
8005
8025
  depositTransaction: t,
8006
8026
  depositAction: o,
8007
8027
  withdrawAction: l,
8008
8028
  bankDepositAction: r,
8009
8029
  eventTransaction: m,
8010
- withdrawTransaction: _
8030
+ withdrawTransaction: f
8011
8031
  };
8012
8032
  }, An = "3.7.8", mo = An, pa = typeof Buffer == "function", gn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, dn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, so = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Ta = Array.prototype.slice.call(so), Ba = ((e) => {
8013
- let u = {};
8014
- return e.forEach((n, i) => u[n] = i), u;
8015
- })(Ta), uo = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, pe = String.fromCharCode.bind(String), cn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), Bn = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (u) => u == "+" ? "-" : "_"), Hn = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), Wn = (e) => {
8016
- let u, n, i, p, g = "";
8033
+ let s = {};
8034
+ return e.forEach((n, i) => s[n] = i), s;
8035
+ })(Ta), uo = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, pe = String.fromCharCode.bind(String), cn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), Bn = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (s) => s == "+" ? "-" : "_"), Hn = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), Wn = (e) => {
8036
+ let s, n, i, p, g = "";
8017
8037
  const C = e.length % 3;
8018
8038
  for (let c = 0; c < e.length; ) {
8019
8039
  if ((n = e.charCodeAt(c++)) > 255 || (i = e.charCodeAt(c++)) > 255 || (p = e.charCodeAt(c++)) > 255)
8020
8040
  throw new TypeError("invalid character found");
8021
- u = n << 16 | i << 8 | p, g += Ta[u >> 18 & 63] + Ta[u >> 12 & 63] + Ta[u >> 6 & 63] + Ta[u & 63];
8041
+ s = n << 16 | i << 8 | p, g += Ta[s >> 18 & 63] + Ta[s >> 12 & 63] + Ta[s >> 6 & 63] + Ta[s & 63];
8022
8042
  }
8023
8043
  return C ? g.slice(0, C - 3) + "===".substring(C) : g;
8024
- }, tt = typeof btoa == "function" ? (e) => btoa(e) : pa ? (e) => Buffer.from(e, "binary").toString("base64") : Wn, Vi = pa ? (e) => Buffer.from(e).toString("base64") : (e) => {
8044
+ }, tt = typeof btoa == "function" ? (e) => btoa(e) : pa ? (e) => Buffer.from(e, "binary").toString("base64") : Wn, Zi = pa ? (e) => Buffer.from(e).toString("base64") : (e) => {
8025
8045
  let n = [];
8026
8046
  for (let i = 0, p = e.length; i < p; i += 4096)
8027
8047
  n.push(pe.apply(null, e.subarray(i, i + 4096)));
8028
8048
  return tt(n.join(""));
8029
- }, hi = (e, u = !1) => u ? Bn(Vi(e)) : Vi(e), po = (e) => {
8049
+ }, hi = (e, s = !1) => s ? Bn(Zi(e)) : Zi(e), po = (e) => {
8030
8050
  if (e.length < 2) {
8031
- var u = e.charCodeAt(0);
8032
- return u < 128 ? e : u < 2048 ? pe(192 | u >>> 6) + pe(128 | u & 63) : pe(224 | u >>> 12 & 15) + pe(128 | u >>> 6 & 63) + pe(128 | u & 63);
8051
+ var s = e.charCodeAt(0);
8052
+ return s < 128 ? e : s < 2048 ? pe(192 | s >>> 6) + pe(128 | s & 63) : pe(224 | s >>> 12 & 15) + pe(128 | s >>> 6 & 63) + pe(128 | s & 63);
8033
8053
  } else {
8034
- var u = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
8035
- return pe(240 | u >>> 18 & 7) + pe(128 | u >>> 12 & 63) + pe(128 | u >>> 6 & 63) + pe(128 | u & 63);
8054
+ var s = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
8055
+ return pe(240 | s >>> 18 & 7) + pe(128 | s >>> 12 & 63) + pe(128 | s >>> 6 & 63) + pe(128 | s & 63);
8036
8056
  }
8037
- }, go = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, zn = (e) => e.replace(go, po), fn = pa ? (e) => Buffer.from(e, "utf8").toString("base64") : dn ? (e) => Vi(dn.encode(e)) : (e) => tt(zn(e)), ua = (e, u = !1) => u ? Bn(fn(e)) : fn(e), _n = (e) => ua(e, !0), co = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, fo = (e) => {
8057
+ }, go = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, zn = (e) => e.replace(go, po), _n = pa ? (e) => Buffer.from(e, "utf8").toString("base64") : dn ? (e) => Zi(dn.encode(e)) : (e) => tt(zn(e)), ua = (e, s = !1) => s ? Bn(_n(e)) : _n(e), fn = (e) => ua(e, !0), co = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, _o = (e) => {
8038
8058
  switch (e.length) {
8039
8059
  case 4:
8040
- var u = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), n = u - 65536;
8060
+ var s = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), n = s - 65536;
8041
8061
  return pe((n >>> 10) + 55296) + pe((n & 1023) + 56320);
8042
8062
  case 3:
8043
8063
  return pe((15 & e.charCodeAt(0)) << 12 | (63 & e.charCodeAt(1)) << 6 | 63 & e.charCodeAt(2));
8044
8064
  default:
8045
8065
  return pe((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
8046
8066
  }
8047
- }, Vn = (e) => e.replace(co, fo), Zn = (e) => {
8067
+ }, Vn = (e) => e.replace(co, _o), Zn = (e) => {
8048
8068
  if (e = e.replace(/\s+/g, ""), !uo.test(e))
8049
8069
  throw new TypeError("malformed base64.");
8050
8070
  e += "==".slice(2 - (e.length & 3));
8051
- let u, n, i, p = [];
8071
+ let s, n, i, p = [];
8052
8072
  for (let g = 0; g < e.length; )
8053
- u = Ba[e.charAt(g++)] << 18 | Ba[e.charAt(g++)] << 12 | (n = Ba[e.charAt(g++)]) << 6 | (i = Ba[e.charAt(g++)]), n === 64 ? p.push(pe(u >> 16 & 255)) : i === 64 ? p.push(pe(u >> 16 & 255, u >> 8 & 255)) : p.push(pe(u >> 16 & 255, u >> 8 & 255, u & 255));
8073
+ s = Ba[e.charAt(g++)] << 18 | Ba[e.charAt(g++)] << 12 | (n = Ba[e.charAt(g++)]) << 6 | (i = Ba[e.charAt(g++)]), n === 64 ? p.push(pe(s >> 16 & 255)) : i === 64 ? p.push(pe(s >> 16 & 255, s >> 8 & 255)) : p.push(pe(s >> 16 & 255, s >> 8 & 255, s & 255));
8054
8074
  return p.join("");
8055
- }, nt = typeof atob == "function" ? (e) => atob(Hn(e)) : pa ? (e) => Buffer.from(e, "base64").toString("binary") : Zn, Jn = pa ? (e) => cn(Buffer.from(e, "base64")) : (e) => cn(nt(e).split("").map((u) => u.charCodeAt(0))), In = (e) => Jn(Kn(e)), _o = pa ? (e) => Buffer.from(e, "base64").toString("utf8") : gn ? (e) => gn.decode(Jn(e)) : (e) => Vn(nt(e)), Kn = (e) => Hn(e.replace(/[-_]/g, (u) => u == "-" ? "+" : "/")), Zi = (e) => _o(Kn(e)), Uo = (e) => {
8075
+ }, nt = typeof atob == "function" ? (e) => atob(Hn(e)) : pa ? (e) => Buffer.from(e, "base64").toString("binary") : Zn, Jn = pa ? (e) => cn(Buffer.from(e, "base64")) : (e) => cn(nt(e).split("").map((s) => s.charCodeAt(0))), In = (e) => Jn(Kn(e)), fo = pa ? (e) => Buffer.from(e, "base64").toString("utf8") : gn ? (e) => gn.decode(Jn(e)) : (e) => Vn(nt(e)), Kn = (e) => Hn(e.replace(/[-_]/g, (s) => s == "-" ? "+" : "/")), Ji = (e) => fo(Kn(e)), Uo = (e) => {
8056
8076
  if (typeof e != "string")
8057
8077
  return !1;
8058
- const u = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
8059
- return !/[^\s0-9a-zA-Z\+/]/.test(u) || !/[^\s0-9a-zA-Z\-_]/.test(u);
8078
+ const s = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
8079
+ return !/[^\s0-9a-zA-Z\+/]/.test(s) || !/[^\s0-9a-zA-Z\-_]/.test(s);
8060
8080
  }, qn = (e) => ({
8061
8081
  value: e,
8062
8082
  enumerable: !1,
8063
8083
  writable: !0,
8064
8084
  configurable: !0
8065
- }), jn = function() {
8066
- const e = (u, n) => Object.defineProperty(String.prototype, u, qn(n));
8085
+ }), $n = function() {
8086
+ const e = (s, n) => Object.defineProperty(String.prototype, s, qn(n));
8067
8087
  e("fromBase64", function() {
8068
- return Zi(this);
8069
- }), e("toBase64", function(u) {
8070
- return ua(this, u);
8088
+ return Ji(this);
8089
+ }), e("toBase64", function(s) {
8090
+ return ua(this, s);
8071
8091
  }), e("toBase64URI", function() {
8072
8092
  return ua(this, !0);
8073
8093
  }), e("toBase64URL", function() {
@@ -8075,17 +8095,17 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8075
8095
  }), e("toUint8Array", function() {
8076
8096
  return In(this);
8077
8097
  });
8078
- }, $n = function() {
8079
- const e = (u, n) => Object.defineProperty(Uint8Array.prototype, u, qn(n));
8080
- e("toBase64", function(u) {
8081
- return hi(this, u);
8098
+ }, jn = function() {
8099
+ const e = (s, n) => Object.defineProperty(Uint8Array.prototype, s, qn(n));
8100
+ e("toBase64", function(s) {
8101
+ return hi(this, s);
8082
8102
  }), e("toBase64URI", function() {
8083
8103
  return hi(this, !0);
8084
8104
  }), e("toBase64URL", function() {
8085
8105
  return hi(this, !0);
8086
8106
  });
8087
8107
  }, yo = () => {
8088
- jn(), $n();
8108
+ $n(), jn();
8089
8109
  }, bo = {
8090
8110
  version: An,
8091
8111
  VERSION: mo,
@@ -8093,26 +8113,26 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8093
8113
  atobPolyfill: Zn,
8094
8114
  btoa: tt,
8095
8115
  btoaPolyfill: Wn,
8096
- fromBase64: Zi,
8116
+ fromBase64: Ji,
8097
8117
  toBase64: ua,
8098
8118
  encode: ua,
8099
- encodeURI: _n,
8100
- encodeURL: _n,
8119
+ encodeURI: fn,
8120
+ encodeURL: fn,
8101
8121
  utob: zn,
8102
8122
  btou: Vn,
8103
- decode: Zi,
8123
+ decode: Ji,
8104
8124
  isValid: Uo,
8105
8125
  fromUint8Array: hi,
8106
8126
  toUint8Array: In,
8107
- extendString: jn,
8108
- extendUint8Array: $n,
8127
+ extendString: $n,
8128
+ extendUint8Array: jn,
8109
8129
  extendBuiltins: yo
8110
- }, Cm = (e, u) => {
8111
- const { playGameApi: n } = $i();
8130
+ }, vm = (e, s) => {
8131
+ const { playGameApi: n } = Qi();
8112
8132
  return X({
8113
8133
  queryKey: ["playGame"],
8114
8134
  queryFn: async () => {
8115
- const { gameUid: i, gameCode: p, isMobile: g, gameCurrency: C, currentCurrency: c } = e || {}, s = await n({
8135
+ const { gameUid: i, gameCode: p, isMobile: g, gameCurrency: C, currentCurrency: c } = e || {}, u = await n({
8116
8136
  gameUid: i,
8117
8137
  gameCode: p,
8118
8138
  isMobile: g,
@@ -8125,8 +8145,8 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8125
8145
  portrait: l,
8126
8146
  url: r,
8127
8147
  is_html_code: m,
8128
- message: _
8129
- } = s;
8148
+ message: f
8149
+ } = u;
8130
8150
  return {
8131
8151
  gameCurrency: a,
8132
8152
  lang: t,
@@ -8135,46 +8155,46 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8135
8155
  isHtmlCode: m,
8136
8156
  gameUrl: r,
8137
8157
  decodeGameUrl: bo.decode(r),
8138
- message: _
8158
+ message: f
8139
8159
  };
8140
8160
  },
8141
8161
  enabled: !!e?.gameCode,
8142
- ...u
8162
+ ...s
8143
8163
  });
8144
8164
  }, Qn = () => {
8145
- const { client: e } = te(), u = J(async () => await e.get("/rebate"), [e]), n = J(async () => await e.post("/withdraw/rebate"), [e]);
8165
+ const { client: e } = te(), s = J(async () => await e.get("/rebate"), [e]), n = J(async () => await e.post("/withdraw/rebate"), [e]);
8146
8166
  return {
8147
- currentRebateApi: u,
8167
+ currentRebateApi: s,
8148
8168
  receiveRebateApi: n
8149
8169
  };
8150
8170
  }, Co = ({ options: e } = {}) => {
8151
- const { currentRebateApi: u } = Qn();
8171
+ const { currentRebateApi: s } = Qn();
8152
8172
  return X({
8153
8173
  queryKey: ["currentRebate"],
8154
- queryFn: () => u(),
8174
+ queryFn: () => s(),
8155
8175
  select: (n) => ol(n, ["code", "status"]),
8156
8176
  ...e
8157
8177
  });
8158
8178
  }, vo = ({ options: e } = {}) => {
8159
- const { receiveRebateApi: u } = Qn();
8160
- return _e({
8179
+ const { receiveRebateApi: s } = Qn();
8180
+ return ge({
8161
8181
  mutationKey: ["receiveRebate"],
8162
- mutationFn: async () => u(),
8182
+ mutationFn: async () => s(),
8163
8183
  ...e
8164
8184
  });
8165
- }, vm = ({
8185
+ }, Tm = ({
8166
8186
  options: e = {
8167
8187
  currentRebate: {},
8168
8188
  receiveRebate: {}
8169
8189
  }
8170
8190
  } = {}) => {
8171
- const u = Co({ options: e.currentRebate }), n = vo({ options: e.receiveRebate });
8191
+ const s = Co({ options: e.currentRebate }), n = vo({ options: e.receiveRebate });
8172
8192
  return {
8173
- currentRebate: u,
8193
+ currentRebate: s,
8174
8194
  receiveRebate: n
8175
8195
  };
8176
8196
  }, Sa = () => {
8177
- const { client: e } = te(), u = J(
8197
+ const { client: e } = te(), s = J(
8178
8198
  async ({ uid: C, params: c } = {}) => await e.get(`/memberRewards${C ? `/${C}` : ""}`, {
8179
8199
  params: c
8180
8200
  }),
@@ -8186,19 +8206,19 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8186
8206
  [e]
8187
8207
  ), g = J(async () => await e.get("/memberRewards/member/history"), [e]);
8188
8208
  return {
8189
- rewardListApi: u,
8209
+ rewardListApi: s,
8190
8210
  unUsedRewardListApi: n,
8191
8211
  expiredRewardListApi: i,
8192
8212
  redeemRewardApi: p,
8193
8213
  historyRewardApi: g
8194
8214
  };
8195
8215
  }, To = ({ options: e } = {}) => {
8196
- const { rewardListApi: u } = Sa();
8216
+ const { rewardListApi: s } = Sa();
8197
8217
  return X({
8198
8218
  queryKey: ["rewardsList"],
8199
8219
  queryFn: (n) => {
8200
8220
  const { uid: i, params: p } = n || {};
8201
- return u({ uid: i, params: p });
8221
+ return s({ uid: i, params: p });
8202
8222
  },
8203
8223
  select: (n) => {
8204
8224
  const i = Te(n.data, (p) => {
@@ -8206,7 +8226,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8206
8226
  wagering_restricted_amount: g,
8207
8227
  claimed_amount: C
8208
8228
  } = p, c = me(p, "rewards", {}), {
8209
- expiration_days: s,
8229
+ expiration_days: u,
8210
8230
  name: a,
8211
8231
  position: t,
8212
8232
  type: o,
@@ -8214,7 +8234,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8214
8234
  } = c;
8215
8235
  return {
8216
8236
  ...p,
8217
- rewardExpirationDays: s,
8237
+ rewardExpirationDays: u,
8218
8238
  rewardName: a,
8219
8239
  rewardPosition: t,
8220
8240
  rewardType: o,
@@ -8233,34 +8253,34 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8233
8253
  ...e
8234
8254
  });
8235
8255
  }, ho = ({ options: e } = {}) => {
8236
- const { redeemRewardApi: u } = Sa();
8237
- return _e({
8256
+ const { redeemRewardApi: s } = Sa();
8257
+ return ge({
8238
8258
  mutationKey: ["redeemReward"],
8239
- mutationFn: async (n) => await u(n),
8259
+ mutationFn: async (n) => await s(n),
8240
8260
  ...e
8241
8261
  });
8242
8262
  }, ko = ({ options: e } = {}) => {
8243
- const { unUsedRewardListApi: u } = Sa();
8263
+ const { unUsedRewardListApi: s } = Sa();
8244
8264
  return X({
8245
8265
  queryKey: ["unUsedRewardsList"],
8246
- queryFn: u,
8266
+ queryFn: s,
8247
8267
  ...e
8248
8268
  });
8249
8269
  }, xo = ({ options: e } = {}) => {
8250
- const { expiredRewardListApi: u } = Sa();
8270
+ const { expiredRewardListApi: s } = Sa();
8251
8271
  return X({
8252
8272
  queryKey: ["expiredRewardsList"],
8253
- queryFn: u,
8273
+ queryFn: s,
8254
8274
  ...e
8255
8275
  });
8256
8276
  }, So = ({ options: e } = {}) => {
8257
- const { historyRewardApi: u } = Sa();
8277
+ const { historyRewardApi: s } = Sa();
8258
8278
  return X({
8259
8279
  queryKey: ["historyRewardsList"],
8260
- queryFn: u,
8280
+ queryFn: s,
8261
8281
  ...e
8262
8282
  });
8263
- }, Tm = ({
8283
+ }, hm = ({
8264
8284
  options: e = {
8265
8285
  rewardsList: {},
8266
8286
  redeemReward: {},
@@ -8269,7 +8289,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8269
8289
  historyRewardsList: {}
8270
8290
  }
8271
8291
  } = {}) => {
8272
- const u = To({ options: e.rewardsList }), n = ho({
8292
+ const s = To({ options: e.rewardsList }), n = ho({
8273
8293
  options: e.redeemReward
8274
8294
  }), i = ko({
8275
8295
  options: e.unUsedRewardsList
@@ -8279,105 +8299,105 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8279
8299
  options: e.historyRewardsList
8280
8300
  });
8281
8301
  return {
8282
- rewardsListQuery: u,
8302
+ rewardsListQuery: s,
8283
8303
  redeemRewardMutation: n,
8284
8304
  unUsedRewardsListQuery: i,
8285
8305
  expiredRewardsListQuery: p,
8286
8306
  historyRewardsListQuery: g
8287
8307
  };
8288
8308
  }, Do = ({ options: e } = {}) => {
8289
- const { userLoginApi: u } = ge();
8290
- return _e({
8309
+ const { userLoginApi: s } = de();
8310
+ return ge({
8291
8311
  mutationKey: ["userLogin"],
8292
- mutationFn: async (n) => u(n),
8312
+ mutationFn: async (n) => s(n),
8293
8313
  ...e
8294
8314
  });
8295
8315
  }, Eo = ({ options: e } = {}) => {
8296
- const { userLogoutApi: u } = ge();
8297
- return _e({
8316
+ const { userLogoutApi: s } = de();
8317
+ return ge({
8298
8318
  mutationKey: ["userLogout"],
8299
- mutationFn: async () => u(),
8319
+ mutationFn: async () => s(),
8300
8320
  ...e
8301
8321
  });
8302
8322
  }, No = ({ options: e } = {}) => {
8303
- const { userSignUpApi: u } = ge();
8304
- return _e({
8323
+ const { userSignUpApi: s } = de();
8324
+ return ge({
8305
8325
  mutationKey: ["userSignUp"],
8306
- mutationFn: async (n) => u(n),
8326
+ mutationFn: async (n) => s(n),
8307
8327
  ...e
8308
8328
  });
8309
8329
  }, Lo = ({ options: e } = {}) => {
8310
- const { addOrRemoveFavoriteGameApi: u } = ge();
8311
- return _e({
8330
+ const { addOrRemoveFavoriteGameApi: s } = de();
8331
+ return ge({
8312
8332
  mutationKey: ["toggleFavoriteGame"],
8313
- mutationFn: async (n) => u(n),
8333
+ mutationFn: async (n) => s(n),
8314
8334
  ...e
8315
8335
  });
8316
8336
  }, Go = ({ options: e } = {}) => {
8317
- const { updateUserInfoApi: u } = ge();
8318
- return _e({
8337
+ const { updateUserInfoApi: s } = de();
8338
+ return ge({
8319
8339
  mutationKey: ["updateUserInfo"],
8320
- mutationFn: async (n) => u(n),
8340
+ mutationFn: async (n) => s(n),
8321
8341
  ...e
8322
8342
  });
8323
8343
  }, Mo = ({ options: e } = {}) => {
8324
- const { resetUserPasswordApi: u } = ge();
8325
- return _e({
8344
+ const { resetUserPasswordApi: s } = de();
8345
+ return ge({
8326
8346
  mutationKey: ["resetUserPassword"],
8327
- mutationFn: async (n) => u(n),
8347
+ mutationFn: async (n) => s(n),
8328
8348
  ...e
8329
8349
  });
8330
8350
  }, Ro = ({ options: e } = {}) => {
8331
- const { setUserTransactionPasswordApi: u } = ge();
8332
- return _e({
8351
+ const { setUserTransactionPasswordApi: s } = de();
8352
+ return ge({
8333
8353
  mutationKey: ["setUserTransactionPassword"],
8334
- mutationFn: async (n) => u(n),
8354
+ mutationFn: async (n) => s(n),
8335
8355
  ...e
8336
8356
  });
8337
8357
  }, Po = ({ options: e } = {}) => {
8338
- const { resetUserTransactionPasswordApi: u } = ge();
8339
- return _e({
8358
+ const { resetUserTransactionPasswordApi: s } = de();
8359
+ return ge({
8340
8360
  mutationKey: ["resetUserTransactionPassword"],
8341
- mutationFn: async (n) => u(n),
8361
+ mutationFn: async (n) => s(n),
8342
8362
  ...e
8343
8363
  });
8344
- }, Fo = ({ paramsData: e, options: u } = {}) => {
8345
- const { userRebateApi: n } = ge(), { getToken: i } = te();
8364
+ }, Fo = ({ paramsData: e, options: s } = {}) => {
8365
+ const { userRebateApi: n } = de(), { getToken: i } = te();
8346
8366
  return i?.(), X({
8347
8367
  queryKey: ["userRebate", e],
8348
8368
  queryFn: async () => n({ paramsData: e }),
8349
8369
  enabled: !1,
8350
- ...u
8370
+ ...s
8351
8371
  });
8352
8372
  }, wo = ({ options: e } = {}) => {
8353
- const { userBindBankApi: u } = ge();
8354
- return _e({
8373
+ const { userBindBankApi: s } = de();
8374
+ return ge({
8355
8375
  mutationKey: ["userBindBank"],
8356
- mutationFn: async (n) => u({ formData: n }),
8376
+ mutationFn: async (n) => s({ formData: n }),
8357
8377
  ...e
8358
8378
  });
8359
8379
  }, Oo = ({ options: e } = {}) => {
8360
- const { transferInGameApi: u } = ge();
8361
- return _e({
8380
+ const { transferInGameApi: s } = de();
8381
+ return ge({
8362
8382
  mutationKey: ["transferInGame"],
8363
- mutationFn: async (n) => u(n),
8383
+ mutationFn: async (n) => s(n),
8364
8384
  retry: !1,
8365
8385
  ...e
8366
8386
  });
8367
- }, hm = ({ options: e } = {}) => {
8368
- const { currency: u } = te(), { checkUserWagerApi: n } = ge();
8387
+ }, km = ({ options: e } = {}) => {
8388
+ const { currency: s } = te(), { checkUserWagerApi: n } = de();
8369
8389
  return X({
8370
8390
  queryKey: ["checkUserWager"],
8371
8391
  queryFn: async () => n(),
8372
8392
  select: (i) => {
8373
8393
  const { data: p } = i;
8374
8394
  return Le(p?.base, {
8375
- currency: u
8395
+ currency: s
8376
8396
  }) || {};
8377
8397
  },
8378
8398
  ...e
8379
8399
  });
8380
- }, km = ({
8400
+ }, xm = ({
8381
8401
  options: e = {
8382
8402
  login: {},
8383
8403
  logout: {},
@@ -8391,35 +8411,35 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8391
8411
  userBindCard: {}
8392
8412
  }
8393
8413
  } = {}) => {
8394
- const u = Do({ options: e.login }), n = Eo({ options: e.logout }), i = No({ options: e.register }), p = Go({ options: e.updateUserInfo }), g = Lo({
8414
+ const s = Do({ options: e.login }), n = Eo({ options: e.logout }), i = No({ options: e.register }), p = Go({ options: e.updateUserInfo }), g = Lo({
8395
8415
  options: e.toggleFavoriteGame
8396
8416
  }), C = Mo({
8397
8417
  options: e.resetUserPassword
8398
8418
  }), c = Ro({
8399
8419
  options: e.setUserTransactionPassword
8400
- }), s = Po({
8420
+ }), u = Po({
8401
8421
  options: e.resetUserTransactionPassword
8402
8422
  }), a = Fo({ options: e.userRebate }), t = wo({ options: e.userBindCard });
8403
8423
  return {
8404
- login: u,
8424
+ login: s,
8405
8425
  logout: n,
8406
8426
  register: i,
8407
8427
  updateUserInfo: p,
8408
8428
  toggleFavoriteGame: g,
8409
8429
  resetUserPassword: C,
8410
8430
  setUserTransactionPassword: c,
8411
- resetUserTransactionPassword: s,
8431
+ resetUserTransactionPassword: u,
8412
8432
  userRebate: a,
8413
8433
  userBindCard: t
8414
8434
  };
8415
8435
  }, Yn = () => {
8416
- const { client: e } = te(), u = J(async () => await e.get("/vip/list"), [e]), n = J(async () => await e.get("/vip/check"), [e]);
8436
+ const { client: e } = te(), s = J(async () => await e.get("/vip/list"), [e]), n = J(async () => await e.get("/vip/check"), [e]);
8417
8437
  return {
8418
- vipListApi: u,
8438
+ vipListApi: s,
8419
8439
  vipInfoApi: n
8420
8440
  };
8421
- }, xm = ({ options: e } = {}) => {
8422
- const { store: u } = te(), n = u?.getState()?.isMemberInfo || u?.getState()?.member?.member || {}, { vipInfoApi: i } = Yn();
8441
+ }, Sm = ({ options: e } = {}) => {
8442
+ const { store: s } = te(), n = s?.getState()?.isMemberInfo || s?.getState()?.member?.member || {}, { vipInfoApi: i } = Yn();
8423
8443
  return X({
8424
8444
  queryKey: ["vipInfo"],
8425
8445
  queryFn: async () => i(),
@@ -8434,7 +8454,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8434
8454
  ...e
8435
8455
  });
8436
8456
  }, Ao = ({ options: e } = {}) => {
8437
- const { store: u } = te(), n = u?.getState()?.isWalletCurrency || u?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: i } = Yn();
8457
+ const { store: s } = te(), n = s?.getState()?.isWalletCurrency || s?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: i } = Yn();
8438
8458
  return X({
8439
8459
  queryKey: ["vipList"],
8440
8460
  queryFn: async () => {
@@ -8445,12 +8465,12 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8445
8465
  const g = Ge(p) ? p : p.data;
8446
8466
  return Te(g, (c) => {
8447
8467
  const {
8448
- vip_criteria: s,
8468
+ vip_criteria: u,
8449
8469
  vip_payment_tags: a,
8450
8470
  vip_withdrawal_rate: t,
8451
8471
  rebate_range: o,
8452
8472
  vip_game_rebate: l
8453
- } = c, r = Le(s, { currency_code: n }) || {}, m = Le(a, { currency_code: n }) || {}, _ = t, f = Te(o, (y) => ({
8473
+ } = c, r = Le(u, { currency_code: n }) || {}, m = Le(a, { currency_code: n }) || {}, f = t, _ = Te(o, (y) => ({
8454
8474
  ...y,
8455
8475
  rebateRange: JSON.parse(y.rebate_range)
8456
8476
  })), U = me(l, "[0]", {}), d = {
@@ -8462,15 +8482,15 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8462
8482
  vipImageUrl: `${Be}/vip/vip${c.level}_l.avif`,
8463
8483
  vipRule: r,
8464
8484
  vipWithdraw: m,
8465
- vipWithdrawFeeRate: _,
8466
- vipRebateRange: f,
8485
+ vipWithdrawFeeRate: f,
8486
+ vipRebateRange: _,
8467
8487
  processedVipGameRebate: d
8468
8488
  };
8469
8489
  });
8470
8490
  },
8471
8491
  ...e
8472
8492
  });
8473
- }, Sm = ({ options: e } = {
8493
+ }, Dm = ({ options: e } = {
8474
8494
  vipList: {}
8475
8495
  }) => ({
8476
8496
  vipList: Ao({ options: e.vipList })
@@ -8493,8 +8513,8 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8493
8513
  default:
8494
8514
  return "En";
8495
8515
  }
8496
- }, yn = "game-icon-ds88", Dm = ({ gameData: e = {} } = {}) => {
8497
- const { lng: u } = te(), n = Un(u), {
8516
+ }, yn = "game-icon-ds88", Em = ({ gameData: e = {} } = {}) => {
8517
+ const { lng: s } = te(), n = Un(s), {
8498
8518
  gameCode: i,
8499
8519
  // 遊戲代碼
8500
8520
  gameUid: p,
@@ -8506,7 +8526,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8506
8526
  // platform_enum: platformEnum, // 平台枚舉
8507
8527
  currencyCode: c,
8508
8528
  // 支援貨幣
8509
- enterLobbyMode: s,
8529
+ enterLobbyMode: u,
8510
8530
  // 進入大廳模式
8511
8531
  game_platform: a,
8512
8532
  // 遊戲平台
@@ -8520,9 +8540,9 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8520
8540
  // 是否維護中
8521
8541
  support_vertical: m,
8522
8542
  // 是否支援直向
8523
- support_horizontal: _,
8543
+ support_horizontal: f,
8524
8544
  // 是否支援橫向
8525
- userClickCount: f,
8545
+ userClickCount: _,
8526
8546
  // 用戶點擊次數
8527
8547
  gameNameEn: U,
8528
8548
  // 英文名稱
@@ -8539,15 +8559,15 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8539
8559
  gameTypeUid: g,
8540
8560
  providerUid: C,
8541
8561
  supportCurrency: c,
8542
- enterLobbyMode: s,
8562
+ enterLobbyMode: u,
8543
8563
  gamePlatform: a,
8544
8564
  gameSubType: t,
8545
8565
  gameType: o,
8546
8566
  gameTags: l,
8547
8567
  isUnderMaintenance: r,
8548
8568
  supportVertical: m,
8549
- supportHorizontal: _,
8550
- userClickCount: f,
8569
+ supportHorizontal: f,
8570
+ userClickCount: _,
8551
8571
  gameNameEn: U,
8552
8572
  gameNameZh: d,
8553
8573
  gameNameVi: y,
@@ -8556,7 +8576,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8556
8576
  gameImageUrl: h,
8557
8577
  gameImageUrlAnimated: x
8558
8578
  };
8559
- }, Bo = (e, u = !1) => ml([
8579
+ }, Bo = (e, s = !1) => ml([
8560
8580
  "EVO",
8561
8581
  "IMSPRIBE",
8562
8582
  "SABA",
@@ -8567,7 +8587,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8567
8587
  "HACK",
8568
8588
  "NAGA",
8569
8589
  "RSG"
8570
- ], e) && u ? `${e}_dark` : e, Em = ({ platformData: e, darkMode: u } = {}) => {
8590
+ ], e) && s ? `${e}_dark` : e, Nm = ({ platformData: e, darkMode: s } = {}) => {
8571
8591
  const {
8572
8592
  SubPlatformEnum: n,
8573
8593
  // 子平台枚舉
@@ -8581,7 +8601,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8581
8601
  // 維護結束時間
8582
8602
  platform: c,
8583
8603
  // 平台代碼
8584
- platformUid: s,
8604
+ platformUid: u,
8585
8605
  // 平台唯一標識符
8586
8606
  platformMode: a,
8587
8607
  // 平台模式
@@ -8589,7 +8609,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8589
8609
  // 臨時維護開始時間
8590
8610
  temp_maintenance_end_time: o
8591
8611
  // 臨時維護結束時間
8592
- } = e || {}, l = `${Be}/${Dn}/${Bo(i, u)}.png`;
8612
+ } = e || {}, l = `${Be}/${Dn}/${Bo(i, s)}.png`;
8593
8613
  return {
8594
8614
  subPlatformEnum: n,
8595
8615
  platformEnum: i,
@@ -8597,45 +8617,45 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8597
8617
  maintenanceStartTime: g,
8598
8618
  maintenanceEndTime: C,
8599
8619
  platform: c,
8600
- platformUid: s,
8620
+ platformUid: u,
8601
8621
  platformMode: a,
8602
8622
  tempMaintenanceStartTime: t,
8603
8623
  tempMaintenanceEndTime: o,
8604
8624
  platformImageUrl: l
8605
8625
  };
8606
- }, Ho = (e = {}) => !ki(e) || se(e) ? [] : xi(e), bn = (e = []) => !Ge(e) || se(e) ? [] : Te(e, "platform"), Wo = (e = []) => !Ge(e) || se(e) ? [] : Te(e, "gameTypeName"), zo = (e = []) => !Ge(e) || se(e) ? [] : Te(e, "game_subtype"), Vo = (e = {}) => !ki(e) || se(e) ? [] : xi(e), Zo = (e = [], u = []) => !Ge(e) || se(e) ? {} : !Ge(u) || se(u) ? {} : e.reduce((n, i) => {
8607
- const p = u.map((g) => g.game_subtype);
8626
+ }, Ho = (e = {}) => !ki(e) || se(e) ? [] : xi(e), bn = (e = []) => !Ge(e) || se(e) ? [] : Te(e, "platform"), Wo = (e = []) => !Ge(e) || se(e) ? [] : Te(e, "gameTypeName"), zo = (e = []) => !Ge(e) || se(e) ? [] : Te(e, "game_subtype"), Vo = (e = {}) => !ki(e) || se(e) ? [] : xi(e), Zo = (e = [], s = []) => !Ge(e) || se(e) ? {} : !Ge(s) || se(s) ? {} : e.reduce((n, i) => {
8627
+ const p = s.map((g) => g.game_subtype);
8608
8628
  return p.forEach((g) => {
8609
8629
  n[g] = n[g] || [];
8610
8630
  }), p.includes(i.game_subtype) && n[i.game_subtype].push(i), n;
8611
8631
  }, {}), Jo = ({
8612
8632
  gameTypes: e = [],
8613
- platforms: u = [],
8633
+ platforms: s = [],
8614
8634
  gameList: n = {},
8615
8635
  allGameTypes: i = [],
8616
8636
  allPlatforms: p = []
8617
- }) => !Ge(e) || !Ge(u) ? {} : se(n) ? {} : e.reduce((g, C) => {
8637
+ }) => !Ge(e) || !Ge(s) ? {} : se(n) ? {} : e.reduce((g, C) => {
8618
8638
  const c = Ul({
8619
8639
  gameTypeName: C,
8620
- platforms: u,
8640
+ platforms: s,
8621
8641
  gameList: n,
8622
8642
  allGameTypes: i,
8623
8643
  allPlatforms: p
8624
8644
  });
8625
8645
  return se(c) || (g[C] = c), g;
8626
- }, {}), Nm = ({
8646
+ }, {}), Lm = ({
8627
8647
  types: e = [],
8628
- platforms: u = [],
8648
+ platforms: s = [],
8629
8649
  allGameType: n = [],
8630
8650
  allGamePlatform: i = [],
8631
8651
  allGameList: p = {}
8632
- } = {}) => !Array.isArray(e) || !Array.isArray(u) ? {} : e.reduce((g, C) => {
8652
+ } = {}) => !Array.isArray(e) || !Array.isArray(s) ? {} : e.reduce((g, C) => {
8633
8653
  const c = Nn(n, C);
8634
8654
  if (!c) return g;
8635
- const s = p[c] || [], a = u.reduce((t, o) => {
8655
+ const u = p[c] || [], a = s.reduce((t, o) => {
8636
8656
  const l = yl({
8637
8657
  platformName: o,
8638
- gamesOfType: s,
8658
+ gamesOfType: u,
8639
8659
  allPlatforms: i
8640
8660
  });
8641
8661
  return se(l) ? t : { ...t, [o]: l };
@@ -8645,35 +8665,35 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8645
8665
  n[p] ? n[p] = [...n[p], ...g] : n[p] = g;
8646
8666
  }), n), {}), Ko = (e = {}) => {
8647
8667
  if (!ki(e) || se(e)) return {};
8648
- const u = {};
8668
+ const s = {};
8649
8669
  for (const [n, i] of Object.entries(e)) {
8650
- u[n] = {};
8670
+ s[n] = {};
8651
8671
  for (const p of i) {
8652
8672
  const g = p.game_subtype;
8653
- u[n][g] || (u[n][g] = []), u[n][g].push(p);
8673
+ s[n][g] || (s[n][g] = []), s[n][g].push(p);
8654
8674
  }
8655
8675
  }
8656
- return u;
8676
+ return s;
8657
8677
  }, qo = ({
8658
8678
  allGameList: e = {},
8659
- allGamePlatform: u = [],
8679
+ allGamePlatform: s = [],
8660
8680
  allGameType: n = [],
8661
8681
  allGame_subtype: i = [],
8662
8682
  allNewGameList: p = [],
8663
8683
  allTopGameList: g = [],
8664
8684
  randomlySelectedGames: C = [],
8665
8685
  userFavoriteGame: c = {},
8666
- exclusiveBrandGames: s = [],
8686
+ exclusiveBrandGames: u = [],
8667
8687
  highlightGames: a = [],
8668
8688
  originPlatform: t = []
8669
8689
  }) => {
8670
- const o = Ho(e), l = bn(u), r = Wo(n), m = zo(i), _ = bn(t), f = Vo(c), U = Jo({
8690
+ const o = Ho(e), l = bn(s), r = Wo(n), m = zo(i), f = bn(t), _ = Vo(c), U = Jo({
8671
8691
  gameTypes: r,
8672
8692
  platforms: l,
8673
8693
  gameList: e,
8674
8694
  allGameTypes: n,
8675
- allPlatforms: u
8676
- }), d = Te(u, (D) => {
8695
+ allPlatforms: s
8696
+ }), d = Te(s, (D) => {
8677
8697
  const O = `${Be}/${Dn}/${D.platformEnum}.png`;
8678
8698
  return {
8679
8699
  ...D,
@@ -8692,7 +8712,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8692
8712
  return {
8693
8713
  platform: {
8694
8714
  all: l,
8695
- origin: _,
8715
+ origin: f,
8696
8716
  originPlatform: d,
8697
8717
  byGameType: x
8698
8718
  },
@@ -8706,28 +8726,28 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8706
8726
  all: o,
8707
8727
  new: p,
8708
8728
  top: g,
8709
- favorite: f,
8729
+ favorite: _,
8710
8730
  highlight: a,
8711
- exclusiveBrand: s,
8731
+ exclusiveBrand: u,
8712
8732
  randomlySelected: C
8713
8733
  },
8714
8734
  categorized: {
8715
- bySubType: { ...y, MyFavorite: f },
8735
+ bySubType: { ...y, MyFavorite: _ },
8716
8736
  byPlatform: b,
8717
8737
  byPlatformAndCategory: v,
8718
8738
  byGameTypeAndPlatform: U,
8719
8739
  byGameType: h
8720
8740
  },
8721
8741
  user: {
8722
- favorite: f
8742
+ favorite: _
8723
8743
  }
8724
8744
  };
8725
- }, Lm = (e = []) => !Ge(e) || se(e) ? [] : xi(e, (u) => se(u.SubPlatformEnum) ? u : u.SubPlatformEnum.map((n) => ({
8726
- ...u,
8745
+ }, Gm = (e = []) => !Ge(e) || se(e) ? [] : xi(e, (s) => se(s.SubPlatformEnum) ? s : s.SubPlatformEnum.map((n) => ({
8746
+ ...s,
8727
8747
  ...n,
8728
8748
  platform: n.SubPlatformEnum,
8729
8749
  platformEnum: n.SubPlatformEnum
8730
- }))), jo = {
8750
+ }))), $o = {
8731
8751
  platform: { all: [], origin: [], originPlatform: [], byGameType: {} },
8732
8752
  type: { main: [], sub: [], originMain: [], originSub: [] },
8733
8753
  gameList: {
@@ -8747,13 +8767,13 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8747
8767
  byGameType: {}
8748
8768
  },
8749
8769
  user: { favorite: [] }
8750
- }, $o = ({ enabled: e = !0 } = {}) => {
8751
- const { getToken: u } = te(), { userFavoriteGameApi: n, userGameListApi: i } = ge(), { data: p, isLoading: g, error: C, refetch: c } = X({
8770
+ }, jo = ({ enabled: e = !0 } = {}) => {
8771
+ const { getToken: s } = te(), { userFavoriteGameApi: n, userGameListApi: i } = de(), { data: p, isLoading: g, error: C, refetch: c } = X({
8752
8772
  queryKey: ["gamesInfo"],
8753
8773
  queryFn: async () => {
8754
- let s = {}, a = {};
8774
+ let u = {}, a = {};
8755
8775
  try {
8756
- await u?.() && (a = await i(), s = await n());
8776
+ await s?.() && (a = await i(), u = await n());
8757
8777
  } catch (t) {
8758
8778
  console.warn("Failed to fetch favorite games:", t);
8759
8779
  }
@@ -8764,7 +8784,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8764
8784
  allGame_subtype: a.gameSubType || window.gameSubType || [],
8765
8785
  allNewGameList: a.newGames || window.newGames || [],
8766
8786
  allTopGameList: a.topGames || window.topGames || [],
8767
- userFavoriteGame: s.userFavoriteGame || {},
8787
+ userFavoriteGame: u.userFavoriteGame || {},
8768
8788
  randomlySelectedGames: a.randomlySelectedGames || window.randomlySelectedGames || [],
8769
8789
  exclusiveBrandGames: a.exclusiveBrandGames || window.exclusiveBrandGames || [],
8770
8790
  highlightGames: a.highlightGames || window.highlightGames || [],
@@ -8780,7 +8800,7 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
8780
8800
  refetchOnWindowFocus: !1
8781
8801
  });
8782
8802
  return {
8783
- gamesInfo: p || jo,
8803
+ gamesInfo: p || $o,
8784
8804
  isLoading: g,
8785
8805
  error: C,
8786
8806
  refetch: c
@@ -35314,18 +35334,18 @@ const Jr = /* @__PURE__ */ Ki(Zr), Ir = ({
35314
35334
  });
35315
35335
  }, Yo = ({
35316
35336
  children: e,
35317
- autoFetch: u = !1,
35337
+ autoFetch: s = !1,
35318
35338
  mockData: n = !1
35319
35339
  }) => {
35320
35340
  ma(() => {
35321
35341
  n && Qo(!0);
35322
35342
  }, [n]);
35323
- const i = $o({ enabled: u });
35343
+ const i = jo({ enabled: s });
35324
35344
  return /* @__PURE__ */ sa.jsx(En.Provider, { value: i, children: e });
35325
35345
  };
35326
- function Gm({
35346
+ function Mm({
35327
35347
  children: e,
35328
- autoFetchGamesInfo: u = !1,
35348
+ autoFetchGamesInfo: s = !1,
35329
35349
  useMockData: n = !1,
35330
35350
  queryClient: i,
35331
35351
  ...p
@@ -35343,11 +35363,11 @@ function Gm({
35343
35363
  }
35344
35364
  }),
35345
35365
  []
35346
- ), s = i || c;
35347
- return /* @__PURE__ */ sa.jsx(ll, { client: s, children: /* @__PURE__ */ sa.jsx(Tn.Provider, { value: { client: g, formDataClient: C, ...p }, children: /* @__PURE__ */ sa.jsx(fl, { children: /* @__PURE__ */ sa.jsx(
35366
+ ), u = i || c;
35367
+ return /* @__PURE__ */ sa.jsx(ll, { client: u, children: /* @__PURE__ */ sa.jsx(Tn.Provider, { value: { client: g, formDataClient: C, ...p }, children: /* @__PURE__ */ sa.jsx(_l, { children: /* @__PURE__ */ sa.jsx(
35348
35368
  Yo,
35349
35369
  {
35350
- autoFetch: u,
35370
+ autoFetch: s,
35351
35371
  mockData: n,
35352
35372
  children: e
35353
35373
  }
@@ -35355,13 +35375,13 @@ function Gm({
35355
35375
  }
35356
35376
  export {
35357
35377
  Tn as ApiCtx,
35358
- Gm as ApiProvider,
35378
+ Mm as ApiProvider,
35359
35379
  En as GamesInfoCtx,
35360
35380
  ba as STATUS_TYPES,
35361
35381
  hn as StatusContext,
35362
- fl as StatusProvider,
35382
+ _l as StatusProvider,
35363
35383
  Jo as buildMultiTypes,
35364
- Nm as buildMultiTypesWithSubTypes,
35384
+ Lm as buildMultiTypesWithSubTypes,
35365
35385
  yl as buildSinglePlatformWithSubTypes,
35366
35386
  Ul as buildSingleType,
35367
35387
  Zo as categorizeGames,
@@ -35379,54 +35399,55 @@ export {
35379
35399
  rm as formatNumber,
35380
35400
  Io as groupGamesByPlatform,
35381
35401
  Ko as groupGamesByPlatformAndSubType,
35382
- _l as groupGamesBySubType,
35402
+ fl as groupGamesBySubType,
35383
35403
  Bo as handleDarkImage,
35384
35404
  Qo as initMockWindowData,
35385
35405
  qo as processGameInfo,
35386
- Lm as processPlatformData,
35406
+ Gm as processPlatformData,
35387
35407
  te as useApiContext,
35388
35408
  om as useBalanceGetter,
35389
35409
  um as useBet,
35390
35410
  Pr as useBetRecord,
35391
35411
  Fr as useBetRecordDetail,
35392
- jr as useCheckCurrentEventProgress,
35393
- $r as useCheckEventStatus,
35394
- hm as useCheckPlayerWager,
35412
+ $r as useCheckCurrentEventProgress,
35413
+ jr as useCheckEventStatus,
35414
+ km as useCheckPlayerWager,
35395
35415
  pm as useClientWebSocket,
35396
35416
  Co as useCurrentRebate,
35397
35417
  io as useDepositAction,
35398
35418
  no as useDepositTransaction,
35399
35419
  eo as useDepositV1,
35400
35420
  ao as useDepositV2,
35401
- gm as useEvent,
35421
+ dm as useEvent,
35402
35422
  qr as useEventList,
35403
35423
  lo as useEventTransaction,
35404
35424
  xo as useExpiredRewardsList,
35405
- Dm as useGameConfig,
35425
+ Em as useGameConfig,
35406
35426
  nm as useGameInfoContext,
35407
- $o as useGamesInfo,
35408
- dm as useGetCarouseList,
35409
- cm as useGetMarquee,
35427
+ jo as useGamesInfo,
35428
+ cm as useGetCarouseList,
35429
+ _m as useGetMarquee,
35410
35430
  mm as useGetMemberInfo,
35411
35431
  fm as useGetRankingGame,
35412
35432
  So as useHistoryRewardsList,
35413
- _m as useInbox,
35433
+ Um as useInbox,
35414
35434
  Qr as useInboxList,
35415
35435
  sm as useInitializeWithToken,
35416
35436
  Do as useLogin,
35417
35437
  Eo as useLogout,
35418
- ym as useNewsDetail,
35419
- Um as useNewsList,
35420
- bm as usePayment,
35421
- Em as usePlatformConfig,
35422
- Cm as usePlayGame,
35438
+ bm as useNewsDetail,
35439
+ ym as useNewsList,
35440
+ Cm as usePayment,
35441
+ Nm as usePlatformConfig,
35442
+ vm as usePlayGame,
35423
35443
  Yr as useReadInbox,
35424
- vm as useRebate,
35444
+ Tm as useRebate,
35425
35445
  vo as useReceiveRebate,
35446
+ gm as useRedeemEventReward,
35426
35447
  ho as useRedeemReward,
35427
35448
  Mo as useResetUserPassword,
35428
35449
  Po as useResetUserTransactionPassword,
35429
- Tm as useRewards,
35450
+ hm as useRewards,
35430
35451
  To as useRewardsList,
35431
35452
  Ro as useSetUserTransactionPassword,
35432
35453
  No as useSignUp,
@@ -35435,11 +35456,11 @@ export {
35435
35456
  Oo as useTransferInGame,
35436
35457
  ko as useUnUsedRewardsList,
35437
35458
  Go as useUpdateUserInfo,
35438
- km as useUser,
35459
+ xm as useUser,
35439
35460
  wo as useUserBindCard,
35440
35461
  Fo as useUserRebate,
35441
- Sm as useVip,
35442
- xm as useVipInfo,
35462
+ Dm as useVip,
35463
+ Sm as useVipInfo,
35443
35464
  Ao as useVipList,
35444
35465
  to as useWithdrawAction,
35445
35466
  oo as useWithdrawTransaction