@obb871001/api-integration-sdk 1.0.244 → 1.0.246

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
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 ue, QueryClient as nl, QueryClientProvider as ll } from "@tanstack/react-query";
1
+ import xa, { createContext as Ii, useContext as Ki, useState as tl, useMemo as ha, useCallback as J, useRef as Oi, useEffect as ma } from "react";
2
+ import { useQueries as Cn, useQuery as X, useQueryClient as vn, useMutation as me, QueryClient as nl, QueryClientProvider as ll } from "@tanstack/react-query";
3
3
  import rl from "axios";
4
- import { get as oe, find as Ee, 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";
4
+ import { get as oe, find as Ee, isEmpty as pe, entries as Tn, 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
6
  var Ai = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
7
7
  function qi(e) {
@@ -75,14 +75,14 @@ function dl() {
75
75
  ae.unshift("Warning: " + H), Function.prototype.apply.call(console[T], console, ae);
76
76
  }
77
77
  }
78
- var C = !1, v = !1, h = !1, k = !1, D = !1, w;
79
- w = Symbol.for("react.module.reference");
80
- function x(T) {
81
- return !!(typeof T == "string" || typeof T == "function" || T === t || T === p || D || T === u || T === i || T === a || k || T === r || C || v || h || typeof T == "object" && T !== null && (T.$$typeof === l || T.$$typeof === m || T.$$typeof === b || T.$$typeof === c || T.$$typeof === g || // This needs to include all possible module reference object
78
+ var C = !1, x = !1, v = !1, k = !1, D = !1, F;
79
+ F = Symbol.for("react.module.reference");
80
+ function h(T) {
81
+ return !!(typeof T == "string" || typeof T == "function" || T === t || T === p || D || T === u || T === i || T === a || k || T === r || C || x || v || typeof T == "object" && T !== null && (T.$$typeof === l || T.$$typeof === m || T.$$typeof === b || T.$$typeof === c || T.$$typeof === g || // 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.
85
- T.$$typeof === w || T.getModuleId !== void 0));
85
+ T.$$typeof === F || T.getModuleId !== void 0));
86
86
  }
87
87
  function S(T, H, V) {
88
88
  var I = T.displayName;
@@ -91,10 +91,10 @@ function dl() {
91
91
  var ee = H.displayName || H.name || "";
92
92
  return ee !== "" ? V + "(" + ee + ")" : V;
93
93
  }
94
- function L(T) {
94
+ function R(T) {
95
95
  return T.displayName || "Context";
96
96
  }
97
- function G(T) {
97
+ function L(T) {
98
98
  if (T == null)
99
99
  return null;
100
100
  if (typeof T.tag == "number" && d("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof T == "function")
@@ -119,19 +119,19 @@ function dl() {
119
119
  switch (T.$$typeof) {
120
120
  case c:
121
121
  var H = T;
122
- return L(H) + ".Consumer";
122
+ return R(H) + ".Consumer";
123
123
  case b:
124
124
  var V = T;
125
- return L(V._context) + ".Provider";
125
+ return R(V._context) + ".Provider";
126
126
  case g:
127
127
  return S(T, T.render, "ForwardRef");
128
128
  case m:
129
129
  var I = T.displayName || null;
130
- return I !== null ? I : G(T.type) || "Memo";
130
+ return I !== null ? I : L(T.type) || "Memo";
131
131
  case l: {
132
132
  var ee = T, ae = ee._payload, Y = ee._init;
133
133
  try {
134
- return G(Y(ae));
134
+ return L(Y(ae));
135
135
  } catch {
136
136
  return null;
137
137
  }
@@ -139,18 +139,18 @@ function dl() {
139
139
  }
140
140
  return null;
141
141
  }
142
- var O = Object.assign, R = 0, P, z, A, B, W, E, M;
143
- function F() {
142
+ var O = Object.assign, M = 0, P, z, A, B, W, E, G;
143
+ function w() {
144
144
  }
145
- F.__reactDisabledLog = !0;
145
+ w.__reactDisabledLog = !0;
146
146
  function N() {
147
147
  {
148
- if (R === 0) {
149
- P = console.log, z = console.info, A = console.warn, B = console.error, W = console.group, E = console.groupCollapsed, M = console.groupEnd;
148
+ if (M === 0) {
149
+ P = console.log, z = console.info, A = console.warn, B = console.error, W = console.group, E = console.groupCollapsed, G = console.groupEnd;
150
150
  var T = {
151
151
  configurable: !0,
152
152
  enumerable: !0,
153
- value: F,
153
+ value: w,
154
154
  writable: !0
155
155
  };
156
156
  Object.defineProperties(console, {
@@ -163,12 +163,12 @@ function dl() {
163
163
  groupEnd: T
164
164
  });
165
165
  }
166
- R++;
166
+ M++;
167
167
  }
168
168
  }
169
169
  function K() {
170
170
  {
171
- if (R--, R === 0) {
171
+ if (M--, M === 0) {
172
172
  var T = {
173
173
  configurable: !0,
174
174
  enumerable: !0,
@@ -194,11 +194,11 @@ function dl() {
194
194
  value: E
195
195
  }),
196
196
  groupEnd: O({}, T, {
197
- value: M
197
+ value: G
198
198
  })
199
199
  });
200
200
  }
201
- R < 0 && d("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
201
+ M < 0 && d("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
202
202
  }
203
203
  }
204
204
  var q = U.ReactCurrentDispatcher, Q;
@@ -291,7 +291,7 @@ function dl() {
291
291
  var oa = T ? T.displayName || T.name : "", Qe = oa ? Z(oa) : "";
292
292
  return typeof T == "function" && ie.set(T, Qe), Qe;
293
293
  }
294
- function me(T, H, V) {
294
+ function ue(T, H, V) {
295
295
  return Ce(T, !1);
296
296
  }
297
297
  function Ue(T) {
@@ -314,7 +314,7 @@ function dl() {
314
314
  if (typeof T == "object")
315
315
  switch (T.$$typeof) {
316
316
  case g:
317
- return me(T.render);
317
+ return ue(T.render);
318
318
  case m:
319
319
  return Pe(T.type, H, V);
320
320
  case l: {
@@ -488,7 +488,7 @@ function dl() {
488
488
  function La() {
489
489
  {
490
490
  if (la.current) {
491
- var T = G(la.current.type);
491
+ var T = L(la.current.type);
492
492
  if (T)
493
493
  return `
494
494
 
@@ -523,7 +523,7 @@ Check the top-level render call using <` + V + ">.");
523
523
  return;
524
524
  Ga[V] = !0;
525
525
  var I = "";
526
- T && T._owner && T._owner !== la.current && (I = " It was passed a child from " + G(T._owner.type) + "."), we(T), d('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', V, I), we(null);
526
+ T && T._owner && T._owner !== la.current && (I = " It was passed a child from " + L(T._owner.type) + "."), we(T), d('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', V, I), we(null);
527
527
  }
528
528
  }
529
529
  function Pa(T, H) {
@@ -560,11 +560,11 @@ Check the top-level render call using <` + V + ">.");
560
560
  else
561
561
  return;
562
562
  if (V) {
563
- var I = G(H);
563
+ var I = L(H);
564
564
  $e(V, T.props, "prop", I, T);
565
565
  } else if (H.PropTypes !== void 0 && !fa) {
566
566
  fa = !0;
567
- var ee = G(H);
567
+ var ee = L(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.");
@@ -585,14 +585,14 @@ Check the top-level render call using <` + V + ">.");
585
585
  var _a = {};
586
586
  function fe(T, H, V, I, ee, ae) {
587
587
  {
588
- var Y = x(T);
588
+ var Y = h(T);
589
589
  if (!Y) {
590
590
  var $ = "";
591
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
592
  var ye = Ri();
593
593
  ye ? $ += ye : $ += La();
594
594
  var le;
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, $);
595
+ T === null ? le = "null" : ce(T) ? le = "array" : T !== void 0 && T.$$typeof === s ? (le = "<" + (L(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
597
  var re = Mi(T, H, V, ee, ae);
598
598
  if (re == null)
@@ -611,17 +611,17 @@ Check the top-level render call using <` + V + ">.");
611
611
  Pa(Se, T);
612
612
  }
613
613
  if (De.call(H, "key")) {
614
- var Qe = G(T), ve = Object.keys(H).filter(function(al) {
615
- return al !== "key";
614
+ var Qe = L(T), ve = Object.keys(H).filter(function(il) {
615
+ return il !== "key";
616
616
  }), wi = ve.length > 0 ? "{key: someKey, " + ve.join(": ..., ") + ": ...}" : "{key: someKey}";
617
617
  if (!_a[Qe + wi]) {
618
- var el = ve.length > 0 ? "{" + ve.join(": ..., ") + ": ...}" : "{}";
618
+ var al = 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} />`, wi, Qe, el, Qe), _a[Qe + wi] = !0;
624
+ <%s key={someKey} {...props} />`, wi, Qe, al, Qe), _a[Qe + wi] = !0;
625
625
  }
626
626
  }
627
627
  return T === t ? Pi(re) : Fa(re), re;
@@ -633,8 +633,8 @@ React keys must be passed directly to JSX without using spread:
633
633
  function wa(T, H, V) {
634
634
  return fe(T, H, V, !1);
635
635
  }
636
- var Fi = wa, Xn = Le;
637
- ya.Fragment = t, ya.jsx = Fi, ya.jsxs = Xn;
636
+ var Fi = wa, el = Le;
637
+ ya.Fragment = t, ya.jsx = Fi, ya.jsxs = el;
638
638
  })()), ya;
639
639
  }
640
640
  var ut;
@@ -642,16 +642,16 @@ 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 = Ii(null), te = () => {
646
- const e = Ki(Tn);
645
+ const hn = Ii(null), te = () => {
646
+ const e = Ki(hn);
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 = Ii(null), fl = ({ children: e }) => {
654
- const [s, n] = il(ba.PENDING), t = ha(() => {
653
+ }, kn = Ii(null), fl = ({ children: e }) => {
654
+ const [s, n] = tl(ba.PENDING), t = ha(() => {
655
655
  const u = s === ba.READY, p = s === ba.PENDING;
656
656
  return {
657
657
  status: s,
@@ -662,9 +662,9 @@ const Tn = Ii(null), te = () => {
662
662
  setAsPending: () => n(ba.PENDING)
663
663
  };
664
664
  }, [s]);
665
- return /* @__PURE__ */ sa.jsx(hn.Provider, { value: t, children: e });
666
- }, kn = () => {
667
- const e = Ki(hn);
665
+ return /* @__PURE__ */ sa.jsx(kn.Provider, { value: t, children: e });
666
+ }, xn = () => {
667
+ const e = Ki(kn);
668
668
  if (!e)
669
669
  throw new Error("useStatus must be used within a StatusProvider");
670
670
  return e;
@@ -687,7 +687,7 @@ const Tn = Ii(null), te = () => {
687
687
  default:
688
688
  return e;
689
689
  }
690
- }, He = "https://d1h3qe8voog6w4.cloudfront.net", pt = "https://d3jx2uvukujuvn.cloudfront.net", xn = (e) => `${He}/reward_icon/${e}.avif`, Sn = () => `${He}/reward_icon/background_deposit.avif`, Dn = "ds88platformIcon", ka = {
690
+ }, He = "https://d1h3qe8voog6w4.cloudfront.net", pt = "https://d3jx2uvukujuvn.cloudfront.net", Sn = (e) => `${He}/reward_icon/${e}.avif`, Dn = () => `${He}/reward_icon/background_deposit.avif`, En = "ds88platformIcon", ka = {
691
691
  zh_TW: "系統提示",
692
692
  zh_CN: "系统提示",
693
693
  en_US: "System Prompt",
@@ -745,8 +745,8 @@ function gt({
745
745
  }
746
746
  ), i;
747
747
  }
748
- const En = Ii(null), nm = () => {
749
- const e = Ki(En);
748
+ const Nn = Ii(null), nm = () => {
749
+ const e = Ki(Nn);
750
750
  if (!e)
751
751
  throw new Error(
752
752
  "useGameInfoContext must be used within a GameInfoCtx.Provider"
@@ -778,7 +778,7 @@ const En = Ii(null), nm = () => {
778
778
  minimumFractionDigits: 2,
779
779
  maximumFractionDigits: 2
780
780
  }).format(s);
781
- }, Nn = (e = [], s) => Ee(e, { gameTypeName: s })?.gameTypeUid, Ln = (e = [], s) => Ee(e, { platform: s })?.platformUid, Gn = (e = [], s) => Ee(e, { SubPlatformEnum: s }), Mn = (e = [], s, n) => se(e) ? [] : e.filter((t) => n ? String(t?.SubPlatformEnumUid) === String(n?.SubPlatformEnumUid) : String(t.platformUid) === String(s)), _l = (e = []) => se(e) ? {} : e.reduce((s, n) => {
781
+ }, Ln = (e = [], s) => Ee(e, { gameTypeName: s })?.gameTypeUid, Gn = (e = [], s) => Ee(e, { platform: s })?.platformUid, Mn = (e = [], s) => Ee(e, { SubPlatformEnum: s }), Rn = (e = [], s, n) => pe(e) ? [] : e.filter((t) => n ? String(t?.SubPlatformEnumUid) === String(n?.SubPlatformEnumUid) : String(t.platformUid) === String(s)), _l = (e = []) => pe(e) ? {} : e.reduce((s, n) => {
782
782
  const t = n?.game_subtype || "UNKNOWN";
783
783
  return s[t] || (s[t] = []), s[t].push(n), s;
784
784
  }, {}), Ul = ({
@@ -788,21 +788,21 @@ const En = Ii(null), nm = () => {
788
788
  allGameTypes: t,
789
789
  allPlatforms: u
790
790
  }) => {
791
- const p = Nn(t, e);
791
+ const p = Ln(t, e);
792
792
  return p ? s.reduce((b, c) => {
793
- const g = Ln(u, c), i = Gn(u, c), a = n[p] || [], m = Mn(
793
+ const g = Gn(u, c), i = Mn(u, c), a = n[p] || [], m = Rn(
794
794
  a,
795
795
  g,
796
796
  i
797
797
  );
798
- return se(m) || (b[c] = m), b;
798
+ return pe(m) || (b[c] = m), b;
799
799
  }, {}) : {};
800
800
  }, yl = ({
801
801
  platformName: e,
802
802
  gamesOfType: s = [],
803
803
  allPlatforms: n = []
804
804
  }) => {
805
- const t = Ln(n, e), u = Gn(n, e), p = Mn(
805
+ const t = Gn(n, e), u = Mn(n, e), p = Rn(
806
806
  s,
807
807
  t,
808
808
  u
@@ -816,17 +816,17 @@ function Cl() {
816
816
  e.exports = t();
817
817
  })(bl, (function() {
818
818
  var n = 1e3, t = 6e4, u = 36e5, p = "millisecond", b = "second", c = "minute", g = "hour", i = "day", a = "week", m = "month", l = "quarter", r = "year", o = "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(O) {
819
- var R = ["th", "st", "nd", "rd"], P = O % 100;
820
- return "[" + O + (R[(P - 20) % 10] || R[P] || R[0]) + "]";
821
- } }, y = function(O, R, P) {
819
+ var M = ["th", "st", "nd", "rd"], P = O % 100;
820
+ return "[" + O + (M[(P - 20) % 10] || M[P] || M[0]) + "]";
821
+ } }, y = function(O, M, P) {
822
822
  var z = String(O);
823
- return !z || z.length >= R ? O : "" + Array(R + 1 - z.length).join(P) + O;
823
+ return !z || z.length >= M ? O : "" + Array(M + 1 - z.length).join(P) + O;
824
824
  }, C = { s: y, z: function(O) {
825
- var R = -O.utcOffset(), P = Math.abs(R), z = Math.floor(P / 60), A = P % 60;
826
- return (R <= 0 ? "+" : "-") + y(z, 2, "0") + ":" + y(A, 2, "0");
827
- }, m: function O(R, P) {
828
- if (R.date() < P.date()) return -O(P, R);
829
- var z = 12 * (P.year() - R.year()) + (P.month() - R.month()), A = R.clone().add(z, m), B = P - A < 0, W = R.clone().add(z + (B ? -1 : 1), m);
825
+ var M = -O.utcOffset(), P = Math.abs(M), z = Math.floor(P / 60), A = P % 60;
826
+ return (M <= 0 ? "+" : "-") + y(z, 2, "0") + ":" + y(A, 2, "0");
827
+ }, m: function O(M, P) {
828
+ if (M.date() < P.date()) return -O(P, M);
829
+ var z = 12 * (P.year() - M.year()) + (P.month() - M.month()), A = M.clone().add(z, m), B = P - A < 0, W = M.clone().add(z + (B ? -1 : 1), m);
830
830
  return +(-(z + (P - A) / (B ? A - W : W - A)) || 0);
831
831
  }, a: function(O) {
832
832
  return O < 0 ? Math.ceil(O) || 0 : Math.floor(O);
@@ -834,37 +834,37 @@ function Cl() {
834
834
  return { M: m, y: r, w: a, d: i, D: o, h: g, m: c, s: b, ms: p, Q: l }[O] || String(O || "").toLowerCase().replace(/s$/, "");
835
835
  }, u: function(O) {
836
836
  return O === void 0;
837
- } }, v = "en", h = {};
838
- h[v] = d;
837
+ } }, x = "en", v = {};
838
+ v[x] = d;
839
839
  var k = "$isDayjsObject", D = function(O) {
840
- return O instanceof L || !(!O || !O[k]);
841
- }, w = function O(R, P, z) {
840
+ return O instanceof R || !(!O || !O[k]);
841
+ }, F = function O(M, P, z) {
842
842
  var A;
843
- if (!R) return v;
844
- if (typeof R == "string") {
845
- var B = R.toLowerCase();
846
- h[B] && (A = B), P && (h[B] = P, A = B);
847
- var W = R.split("-");
843
+ if (!M) return x;
844
+ if (typeof M == "string") {
845
+ var B = M.toLowerCase();
846
+ v[B] && (A = B), P && (v[B] = P, A = B);
847
+ var W = M.split("-");
848
848
  if (!A && W.length > 1) return O(W[0]);
849
849
  } else {
850
- var E = R.name;
851
- h[E] = R, A = E;
850
+ var E = M.name;
851
+ v[E] = M, A = E;
852
852
  }
853
- return !z && A && (v = A), A || !z && v;
854
- }, x = function(O, R) {
853
+ return !z && A && (x = A), A || !z && x;
854
+ }, h = function(O, M) {
855
855
  if (D(O)) return O.clone();
856
- var P = typeof R == "object" ? R : {};
857
- return P.date = O, P.args = arguments, new L(P);
856
+ var P = typeof M == "object" ? M : {};
857
+ return P.date = O, P.args = arguments, new R(P);
858
858
  }, S = C;
859
- S.l = w, S.i = D, S.w = function(O, R) {
860
- return x(O, { locale: R.$L, utc: R.$u, x: R.$x, $offset: R.$offset });
859
+ S.l = F, S.i = D, S.w = function(O, M) {
860
+ return h(O, { locale: M.$L, utc: M.$u, x: M.$x, $offset: M.$offset });
861
861
  };
862
- var L = (function() {
862
+ var R = (function() {
863
863
  function O(P) {
864
- this.$L = w(P.locale, null, !0), this.parse(P), this.$x = this.$x || P.x || {}, this[k] = !0;
864
+ this.$L = F(P.locale, null, !0), this.parse(P), this.$x = this.$x || P.x || {}, this[k] = !0;
865
865
  }
866
- var R = O.prototype;
867
- return R.parse = function(P) {
866
+ var M = O.prototype;
867
+ return M.parse = function(P) {
868
868
  this.$d = (function(z) {
869
869
  var A = z.date, B = z.utc;
870
870
  if (A === null) return /* @__PURE__ */ new Date(NaN);
@@ -873,97 +873,97 @@ function Cl() {
873
873
  if (typeof A == "string" && !/Z$/i.test(A)) {
874
874
  var W = A.match(f);
875
875
  if (W) {
876
- var E = W[2] - 1 || 0, M = (W[7] || "0").substring(0, 3);
877
- return B ? new Date(Date.UTC(W[1], E, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, M)) : new Date(W[1], E, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, M);
876
+ var E = W[2] - 1 || 0, G = (W[7] || "0").substring(0, 3);
877
+ return B ? new Date(Date.UTC(W[1], E, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, G)) : new Date(W[1], E, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, G);
878
878
  }
879
879
  }
880
880
  return new Date(A);
881
881
  })(P), this.init();
882
- }, R.init = function() {
882
+ }, M.init = function() {
883
883
  var P = this.$d;
884
884
  this.$y = P.getFullYear(), this.$M = P.getMonth(), this.$D = P.getDate(), this.$W = P.getDay(), this.$H = P.getHours(), this.$m = P.getMinutes(), this.$s = P.getSeconds(), this.$ms = P.getMilliseconds();
885
- }, R.$utils = function() {
885
+ }, M.$utils = function() {
886
886
  return S;
887
- }, R.isValid = function() {
887
+ }, M.isValid = function() {
888
888
  return this.$d.toString() !== _;
889
- }, R.isSame = function(P, z) {
890
- var A = x(P);
889
+ }, M.isSame = function(P, z) {
890
+ var A = h(P);
891
891
  return this.startOf(z) <= A && A <= this.endOf(z);
892
- }, R.isAfter = function(P, z) {
893
- return x(P) < this.startOf(z);
894
- }, R.isBefore = function(P, z) {
895
- return this.endOf(z) < x(P);
896
- }, R.$g = function(P, z, A) {
892
+ }, M.isAfter = function(P, z) {
893
+ return h(P) < this.startOf(z);
894
+ }, M.isBefore = function(P, z) {
895
+ return this.endOf(z) < h(P);
896
+ }, M.$g = function(P, z, A) {
897
897
  return S.u(P) ? this[z] : this.set(A, P);
898
- }, R.unix = function() {
898
+ }, M.unix = function() {
899
899
  return Math.floor(this.valueOf() / 1e3);
900
- }, R.valueOf = function() {
900
+ }, M.valueOf = function() {
901
901
  return this.$d.getTime();
902
- }, R.startOf = function(P, z) {
902
+ }, M.startOf = function(P, z) {
903
903
  var A = this, B = !!S.u(z) || z, W = S.p(P), E = function(ne, ie) {
904
904
  var be = S.w(A.$u ? Date.UTC(A.$y, ie, ne) : new Date(A.$y, ie, ne), A);
905
905
  return B ? be : be.endOf(i);
906
- }, M = function(ne, ie) {
906
+ }, G = function(ne, ie) {
907
907
  return S.w(A.toDate()[ne].apply(A.toDate("s"), (B ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), A);
908
- }, F = this.$W, N = this.$M, K = this.$D, q = "set" + (this.$u ? "UTC" : "");
908
+ }, w = this.$W, N = this.$M, K = this.$D, q = "set" + (this.$u ? "UTC" : "");
909
909
  switch (W) {
910
910
  case r:
911
911
  return B ? E(1, 0) : E(31, 11);
912
912
  case m:
913
913
  return B ? E(1, N) : E(0, N + 1);
914
914
  case a:
915
- var Q = this.$locale().weekStart || 0, Z = (F < Q ? F + 7 : F) - Q;
915
+ var Q = this.$locale().weekStart || 0, Z = (w < Q ? w + 7 : w) - Q;
916
916
  return E(B ? K - Z : K + (6 - Z), N);
917
917
  case i:
918
918
  case o:
919
- return M(q + "Hours", 0);
919
+ return G(q + "Hours", 0);
920
920
  case g:
921
- return M(q + "Minutes", 1);
921
+ return G(q + "Minutes", 1);
922
922
  case c:
923
- return M(q + "Seconds", 2);
923
+ return G(q + "Seconds", 2);
924
924
  case b:
925
- return M(q + "Milliseconds", 3);
925
+ return G(q + "Milliseconds", 3);
926
926
  default:
927
927
  return this.clone();
928
928
  }
929
- }, R.endOf = function(P) {
929
+ }, M.endOf = function(P) {
930
930
  return this.startOf(P, !1);
931
- }, R.$set = function(P, z) {
932
- var A, B = S.p(P), W = "set" + (this.$u ? "UTC" : ""), E = (A = {}, A[i] = W + "Date", A[o] = W + "Date", A[m] = W + "Month", A[r] = W + "FullYear", A[g] = W + "Hours", A[c] = W + "Minutes", A[b] = W + "Seconds", A[p] = W + "Milliseconds", A)[B], M = B === i ? this.$D + (z - this.$W) : z;
931
+ }, M.$set = function(P, z) {
932
+ var A, B = S.p(P), W = "set" + (this.$u ? "UTC" : ""), E = (A = {}, A[i] = W + "Date", A[o] = W + "Date", A[m] = W + "Month", A[r] = W + "FullYear", A[g] = W + "Hours", A[c] = W + "Minutes", A[b] = W + "Seconds", A[p] = W + "Milliseconds", A)[B], G = B === i ? this.$D + (z - this.$W) : z;
933
933
  if (B === m || B === r) {
934
- var F = this.clone().set(o, 1);
935
- F.$d[E](M), F.init(), this.$d = F.set(o, Math.min(this.$D, F.daysInMonth())).$d;
936
- } else E && this.$d[E](M);
934
+ var w = this.clone().set(o, 1);
935
+ w.$d[E](G), w.init(), this.$d = w.set(o, Math.min(this.$D, w.daysInMonth())).$d;
936
+ } else E && this.$d[E](G);
937
937
  return this.init(), this;
938
- }, R.set = function(P, z) {
938
+ }, M.set = function(P, z) {
939
939
  return this.clone().$set(P, z);
940
- }, R.get = function(P) {
940
+ }, M.get = function(P) {
941
941
  return this[S.p(P)]();
942
- }, R.add = function(P, z) {
942
+ }, M.add = function(P, z) {
943
943
  var A, B = this;
944
944
  P = Number(P);
945
945
  var W = S.p(z), E = function(N) {
946
- var K = x(B);
946
+ var K = h(B);
947
947
  return S.w(K.date(K.date() + Math.round(N * P)), B);
948
948
  };
949
949
  if (W === m) return this.set(m, this.$M + P);
950
950
  if (W === r) return this.set(r, this.$y + P);
951
951
  if (W === i) return E(1);
952
952
  if (W === a) return E(7);
953
- var M = (A = {}, A[c] = t, A[g] = u, A[b] = n, A)[W] || 1, F = this.$d.getTime() + P * M;
954
- return S.w(F, this);
955
- }, R.subtract = function(P, z) {
953
+ var G = (A = {}, A[c] = t, A[g] = u, A[b] = n, A)[W] || 1, w = this.$d.getTime() + P * G;
954
+ return S.w(w, this);
955
+ }, M.subtract = function(P, z) {
956
956
  return this.add(-1 * P, z);
957
- }, R.format = function(P) {
957
+ }, M.format = function(P) {
958
958
  var z = this, A = this.$locale();
959
959
  if (!this.isValid()) return A.invalidDate || _;
960
- var B = P || "YYYY-MM-DDTHH:mm:ssZ", W = S.z(this), E = this.$H, M = this.$m, F = this.$M, N = A.weekdays, K = A.months, q = A.meridiem, Q = function(ie, be, Ce, me) {
961
- return ie && (ie[be] || ie(z, B)) || Ce[be].slice(0, me);
960
+ var B = P || "YYYY-MM-DDTHH:mm:ssZ", W = S.z(this), E = this.$H, G = this.$m, w = this.$M, N = A.weekdays, K = A.months, q = A.meridiem, Q = function(ie, be, Ce, ue) {
961
+ return ie && (ie[be] || ie(z, B)) || Ce[be].slice(0, ue);
962
962
  }, Z = function(ie) {
963
963
  return S.s(E % 12 || 12, ie, "0");
964
964
  }, ne = q || function(ie, be, Ce) {
965
- var me = ie < 12 ? "AM" : "PM";
966
- return Ce ? me.toLowerCase() : me;
965
+ var ue = ie < 12 ? "AM" : "PM";
966
+ return Ce ? ue.toLowerCase() : ue;
967
967
  };
968
968
  return B.replace(U, (function(ie, be) {
969
969
  return be || (function(Ce) {
@@ -973,13 +973,13 @@ function Cl() {
973
973
  case "YYYY":
974
974
  return S.s(z.$y, 4, "0");
975
975
  case "M":
976
- return F + 1;
976
+ return w + 1;
977
977
  case "MM":
978
- return S.s(F + 1, 2, "0");
978
+ return S.s(w + 1, 2, "0");
979
979
  case "MMM":
980
- return Q(A.monthsShort, F, K, 3);
980
+ return Q(A.monthsShort, w, K, 3);
981
981
  case "MMMM":
982
- return Q(K, F);
982
+ return Q(K, w);
983
983
  case "D":
984
984
  return z.$D;
985
985
  case "DD":
@@ -1001,13 +1001,13 @@ function Cl() {
1001
1001
  case "hh":
1002
1002
  return Z(2);
1003
1003
  case "a":
1004
- return ne(E, M, !0);
1004
+ return ne(E, G, !0);
1005
1005
  case "A":
1006
- return ne(E, M, !1);
1006
+ return ne(E, G, !1);
1007
1007
  case "m":
1008
- return String(M);
1008
+ return String(G);
1009
1009
  case "mm":
1010
- return S.s(M, 2, "0");
1010
+ return S.s(G, 2, "0");
1011
1011
  case "s":
1012
1012
  return String(z.$s);
1013
1013
  case "ss":
@@ -1020,11 +1020,11 @@ function Cl() {
1020
1020
  return null;
1021
1021
  })(ie) || W.replace(":", "");
1022
1022
  }));
1023
- }, R.utcOffset = function() {
1023
+ }, M.utcOffset = function() {
1024
1024
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
1025
- }, R.diff = function(P, z, A) {
1026
- var B, W = this, E = S.p(z), M = x(P), F = (M.utcOffset() - this.utcOffset()) * t, N = this - M, K = function() {
1027
- return S.m(W, M);
1025
+ }, M.diff = function(P, z, A) {
1026
+ var B, W = this, E = S.p(z), G = h(P), w = (G.utcOffset() - this.utcOffset()) * t, N = this - G, K = function() {
1027
+ return S.m(W, G);
1028
1028
  };
1029
1029
  switch (E) {
1030
1030
  case r:
@@ -1037,10 +1037,10 @@ function Cl() {
1037
1037
  B = K() / 3;
1038
1038
  break;
1039
1039
  case a:
1040
- B = (N - F) / 6048e5;
1040
+ B = (N - w) / 6048e5;
1041
1041
  break;
1042
1042
  case i:
1043
- B = (N - F) / 864e5;
1043
+ B = (N - w) / 864e5;
1044
1044
  break;
1045
1045
  case g:
1046
1046
  B = N / u;
@@ -1055,35 +1055,35 @@ function Cl() {
1055
1055
  B = N;
1056
1056
  }
1057
1057
  return A ? B : S.a(B);
1058
- }, R.daysInMonth = function() {
1058
+ }, M.daysInMonth = function() {
1059
1059
  return this.endOf(m).$D;
1060
- }, R.$locale = function() {
1061
- return h[this.$L];
1062
- }, R.locale = function(P, z) {
1060
+ }, M.$locale = function() {
1061
+ return v[this.$L];
1062
+ }, M.locale = function(P, z) {
1063
1063
  if (!P) return this.$L;
1064
- var A = this.clone(), B = w(P, z, !0);
1064
+ var A = this.clone(), B = F(P, z, !0);
1065
1065
  return B && (A.$L = B), A;
1066
- }, R.clone = function() {
1066
+ }, M.clone = function() {
1067
1067
  return S.w(this.$d, this);
1068
- }, R.toDate = function() {
1068
+ }, M.toDate = function() {
1069
1069
  return new Date(this.valueOf());
1070
- }, R.toJSON = function() {
1070
+ }, M.toJSON = function() {
1071
1071
  return this.isValid() ? this.toISOString() : null;
1072
- }, R.toISOString = function() {
1072
+ }, M.toISOString = function() {
1073
1073
  return this.$d.toISOString();
1074
- }, R.toString = function() {
1074
+ }, M.toString = function() {
1075
1075
  return this.$d.toUTCString();
1076
1076
  }, O;
1077
- })(), G = L.prototype;
1078
- return x.prototype = G, [["$ms", p], ["$s", b], ["$m", c], ["$H", g], ["$W", i], ["$M", m], ["$y", r], ["$D", o]].forEach((function(O) {
1079
- G[O[1]] = function(R) {
1080
- return this.$g(R, O[0], O[1]);
1077
+ })(), L = R.prototype;
1078
+ return h.prototype = L, [["$ms", p], ["$s", b], ["$m", c], ["$H", g], ["$W", i], ["$M", m], ["$y", r], ["$D", o]].forEach((function(O) {
1079
+ L[O[1]] = function(M) {
1080
+ return this.$g(M, O[0], O[1]);
1081
1081
  };
1082
- })), x.extend = function(O, R) {
1083
- return O.$i || (O(R, L, x), O.$i = !0), x;
1084
- }, x.locale = w, x.isDayjs = D, x.unix = function(O) {
1085
- return x(1e3 * O);
1086
- }, x.en = h[v], x.Ls = h, x.p = {}, x;
1082
+ })), h.extend = function(O, M) {
1083
+ return O.$i || (O(M, R, h), O.$i = !0), h;
1084
+ }, h.locale = F, h.isDayjs = D, h.unix = function(O) {
1085
+ return h(1e3 * O);
1086
+ }, h.en = v[x], h.Ls = v, h.p = {}, h;
1087
1087
  }));
1088
1088
  })(Ha)), Ha.exports;
1089
1089
  }
@@ -1261,16 +1261,16 @@ function j() {
1261
1261
  * wordArray1.concat(wordArray2);
1262
1262
  */
1263
1263
  concat: function(d) {
1264
- var y = this.words, C = d.words, v = this.sigBytes, h = d.sigBytes;
1265
- if (this.clamp(), v % 4)
1266
- for (var k = 0; k < h; k++) {
1264
+ var y = this.words, C = d.words, x = this.sigBytes, v = d.sigBytes;
1265
+ if (this.clamp(), x % 4)
1266
+ for (var k = 0; k < v; k++) {
1267
1267
  var D = C[k >>> 2] >>> 24 - k % 4 * 8 & 255;
1268
- y[v + k >>> 2] |= D << 24 - (v + k) % 4 * 8;
1268
+ y[x + k >>> 2] |= D << 24 - (x + k) % 4 * 8;
1269
1269
  }
1270
1270
  else
1271
- for (var w = 0; w < h; w += 4)
1272
- y[v + w >>> 2] = C[w >>> 2];
1273
- return this.sigBytes += h, this;
1271
+ for (var F = 0; F < v; F += 4)
1272
+ y[x + F >>> 2] = C[F >>> 2];
1273
+ return this.sigBytes += v, this;
1274
1274
  },
1275
1275
  /**
1276
1276
  * Removes insignificant bits.
@@ -1329,11 +1329,11 @@ function j() {
1329
1329
  * var hexString = CryptoJS.enc.Hex.stringify(wordArray);
1330
1330
  */
1331
1331
  stringify: function(d) {
1332
- for (var y = d.words, C = d.sigBytes, v = [], h = 0; h < C; h++) {
1333
- var k = y[h >>> 2] >>> 24 - h % 4 * 8 & 255;
1334
- v.push((k >>> 4).toString(16)), v.push((k & 15).toString(16));
1332
+ for (var y = d.words, C = d.sigBytes, x = [], v = 0; v < C; v++) {
1333
+ var k = y[v >>> 2] >>> 24 - v % 4 * 8 & 255;
1334
+ x.push((k >>> 4).toString(16)), x.push((k & 15).toString(16));
1335
1335
  }
1336
- return v.join("");
1336
+ return x.join("");
1337
1337
  },
1338
1338
  /**
1339
1339
  * Converts a hex string to a word array.
@@ -1349,8 +1349,8 @@ function j() {
1349
1349
  * var wordArray = CryptoJS.enc.Hex.parse(hexString);
1350
1350
  */
1351
1351
  parse: function(d) {
1352
- for (var y = d.length, C = [], v = 0; v < y; v += 2)
1353
- C[v >>> 3] |= parseInt(d.substr(v, 2), 16) << 24 - v % 8 * 4;
1352
+ for (var y = d.length, C = [], x = 0; x < y; x += 2)
1353
+ C[x >>> 3] |= parseInt(d.substr(x, 2), 16) << 24 - x % 8 * 4;
1354
1354
  return new m.init(C, y / 2);
1355
1355
  }
1356
1356
  }, o = l.Latin1 = {
@@ -1368,11 +1368,11 @@ function j() {
1368
1368
  * var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
1369
1369
  */
1370
1370
  stringify: function(d) {
1371
- for (var y = d.words, C = d.sigBytes, v = [], h = 0; h < C; h++) {
1372
- var k = y[h >>> 2] >>> 24 - h % 4 * 8 & 255;
1373
- v.push(String.fromCharCode(k));
1371
+ for (var y = d.words, C = d.sigBytes, x = [], v = 0; v < C; v++) {
1372
+ var k = y[v >>> 2] >>> 24 - v % 4 * 8 & 255;
1373
+ x.push(String.fromCharCode(k));
1374
1374
  }
1375
- return v.join("");
1375
+ return x.join("");
1376
1376
  },
1377
1377
  /**
1378
1378
  * Converts a Latin1 string to a word array.
@@ -1388,8 +1388,8 @@ function j() {
1388
1388
  * var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
1389
1389
  */
1390
1390
  parse: function(d) {
1391
- for (var y = d.length, C = [], v = 0; v < y; v++)
1392
- C[v >>> 2] |= (d.charCodeAt(v) & 255) << 24 - v % 4 * 8;
1391
+ for (var y = d.length, C = [], x = 0; x < y; x++)
1392
+ C[x >>> 2] |= (d.charCodeAt(x) & 255) << 24 - x % 4 * 8;
1393
1393
  return new m.init(C, y);
1394
1394
  }
1395
1395
  }, _ = l.Utf8 = {
@@ -1468,13 +1468,13 @@ function j() {
1468
1468
  * var processedData = bufferedBlockAlgorithm._process(!!'flush');
1469
1469
  */
1470
1470
  _process: function(d) {
1471
- var y, C = this._data, v = C.words, h = C.sigBytes, k = this.blockSize, D = k * 4, w = h / D;
1472
- d ? w = t.ceil(w) : w = t.max((w | 0) - this._minBufferSize, 0);
1473
- var x = w * k, S = t.min(x * 4, h);
1474
- if (x) {
1475
- for (var L = 0; L < x; L += k)
1476
- this._doProcessBlock(v, L);
1477
- y = v.splice(0, x), C.sigBytes -= S;
1471
+ var y, C = this._data, x = C.words, v = C.sigBytes, k = this.blockSize, D = k * 4, F = v / D;
1472
+ d ? F = t.ceil(F) : F = t.max((F | 0) - this._minBufferSize, 0);
1473
+ var h = F * k, S = t.min(h * 4, v);
1474
+ if (h) {
1475
+ for (var R = 0; R < h; R += k)
1476
+ this._doProcessBlock(x, R);
1477
+ y = x.splice(0, h), C.sigBytes -= S;
1478
1478
  }
1479
1479
  return new m.init(y, S);
1480
1480
  },
@@ -2128,40 +2128,40 @@ function ta() {
2128
2128
  var d = f + U, y = _[d];
2129
2129
  _[d] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360;
2130
2130
  }
2131
- var C = this._hash.words, v = _[f + 0], h = _[f + 1], k = _[f + 2], D = _[f + 3], w = _[f + 4], x = _[f + 5], S = _[f + 6], L = _[f + 7], G = _[f + 8], O = _[f + 9], R = _[f + 10], P = _[f + 11], z = _[f + 12], A = _[f + 13], B = _[f + 14], W = _[f + 15], E = C[0], M = C[1], F = C[2], N = C[3];
2132
- E = m(E, M, F, N, v, 7, i[0]), N = m(N, E, M, F, h, 12, i[1]), F = m(F, N, E, M, k, 17, i[2]), M = m(M, F, N, E, D, 22, i[3]), E = m(E, M, F, N, w, 7, i[4]), N = m(N, E, M, F, x, 12, i[5]), F = m(F, N, E, M, S, 17, i[6]), M = m(M, F, N, E, L, 22, i[7]), E = m(E, M, F, N, G, 7, i[8]), N = m(N, E, M, F, O, 12, i[9]), F = m(F, N, E, M, R, 17, i[10]), M = m(M, F, N, E, P, 22, i[11]), E = m(E, M, F, N, z, 7, i[12]), N = m(N, E, M, F, A, 12, i[13]), F = m(F, N, E, M, B, 17, i[14]), M = m(M, F, N, E, W, 22, i[15]), E = l(E, M, F, N, h, 5, i[16]), N = l(N, E, M, F, S, 9, i[17]), F = l(F, N, E, M, P, 14, i[18]), M = l(M, F, N, E, v, 20, i[19]), E = l(E, M, F, N, x, 5, i[20]), N = l(N, E, M, F, R, 9, i[21]), F = l(F, N, E, M, W, 14, i[22]), M = l(M, F, N, E, w, 20, i[23]), E = l(E, M, F, N, O, 5, i[24]), N = l(N, E, M, F, B, 9, i[25]), F = l(F, N, E, M, D, 14, i[26]), M = l(M, F, N, E, G, 20, i[27]), E = l(E, M, F, N, A, 5, i[28]), N = l(N, E, M, F, k, 9, i[29]), F = l(F, N, E, M, L, 14, i[30]), M = l(M, F, N, E, z, 20, i[31]), E = r(E, M, F, N, x, 4, i[32]), N = r(N, E, M, F, G, 11, i[33]), F = r(F, N, E, M, P, 16, i[34]), M = r(M, F, N, E, B, 23, i[35]), E = r(E, M, F, N, h, 4, i[36]), N = r(N, E, M, F, w, 11, i[37]), F = r(F, N, E, M, L, 16, i[38]), M = r(M, F, N, E, R, 23, i[39]), E = r(E, M, F, N, A, 4, i[40]), N = r(N, E, M, F, v, 11, i[41]), F = r(F, N, E, M, D, 16, i[42]), M = r(M, F, N, E, S, 23, i[43]), E = r(E, M, F, N, O, 4, i[44]), N = r(N, E, M, F, z, 11, i[45]), F = r(F, N, E, M, W, 16, i[46]), M = r(M, F, N, E, k, 23, i[47]), E = o(E, M, F, N, v, 6, i[48]), N = o(N, E, M, F, L, 10, i[49]), F = o(F, N, E, M, B, 15, i[50]), M = o(M, F, N, E, x, 21, i[51]), E = o(E, M, F, N, z, 6, i[52]), N = o(N, E, M, F, D, 10, i[53]), F = o(F, N, E, M, R, 15, i[54]), M = o(M, F, N, E, h, 21, i[55]), E = o(E, M, F, N, G, 6, i[56]), N = o(N, E, M, F, W, 10, i[57]), F = o(F, N, E, M, S, 15, i[58]), M = o(M, F, N, E, A, 21, i[59]), E = o(E, M, F, N, w, 6, i[60]), N = o(N, E, M, F, P, 10, i[61]), F = o(F, N, E, M, k, 15, i[62]), M = o(M, F, N, E, O, 21, i[63]), C[0] = C[0] + E | 0, C[1] = C[1] + M | 0, C[2] = C[2] + F | 0, C[3] = C[3] + N | 0;
2131
+ var C = this._hash.words, x = _[f + 0], v = _[f + 1], k = _[f + 2], D = _[f + 3], F = _[f + 4], h = _[f + 5], S = _[f + 6], R = _[f + 7], L = _[f + 8], O = _[f + 9], M = _[f + 10], P = _[f + 11], z = _[f + 12], A = _[f + 13], B = _[f + 14], W = _[f + 15], E = C[0], G = C[1], w = C[2], N = C[3];
2132
+ E = m(E, G, w, N, x, 7, i[0]), N = m(N, E, G, w, v, 12, i[1]), w = m(w, N, E, G, k, 17, i[2]), G = m(G, w, N, E, D, 22, i[3]), E = m(E, G, w, N, F, 7, i[4]), N = m(N, E, G, w, h, 12, i[5]), w = m(w, N, E, G, S, 17, i[6]), G = m(G, w, N, E, R, 22, i[7]), E = m(E, G, w, N, L, 7, i[8]), N = m(N, E, G, w, O, 12, i[9]), w = m(w, N, E, G, M, 17, i[10]), G = m(G, w, N, E, P, 22, i[11]), E = m(E, G, w, N, z, 7, i[12]), N = m(N, E, G, w, A, 12, i[13]), w = m(w, N, E, G, B, 17, i[14]), G = m(G, w, N, E, W, 22, i[15]), E = l(E, G, w, N, v, 5, i[16]), N = l(N, E, G, w, S, 9, i[17]), w = l(w, N, E, G, P, 14, i[18]), G = l(G, w, N, E, x, 20, i[19]), E = l(E, G, w, N, h, 5, i[20]), N = l(N, E, G, w, M, 9, i[21]), w = l(w, N, E, G, W, 14, i[22]), G = l(G, w, N, E, F, 20, i[23]), E = l(E, G, w, N, O, 5, i[24]), N = l(N, E, G, w, B, 9, i[25]), w = l(w, N, E, G, D, 14, i[26]), G = l(G, w, N, E, L, 20, i[27]), E = l(E, G, w, N, A, 5, i[28]), N = l(N, E, G, w, k, 9, i[29]), w = l(w, N, E, G, R, 14, i[30]), G = l(G, w, N, E, z, 20, i[31]), E = r(E, G, w, N, h, 4, i[32]), N = r(N, E, G, w, L, 11, i[33]), w = r(w, N, E, G, P, 16, i[34]), G = r(G, w, N, E, B, 23, i[35]), E = r(E, G, w, N, v, 4, i[36]), N = r(N, E, G, w, F, 11, i[37]), w = r(w, N, E, G, R, 16, i[38]), G = r(G, w, N, E, M, 23, i[39]), E = r(E, G, w, N, A, 4, i[40]), N = r(N, E, G, w, x, 11, i[41]), w = r(w, N, E, G, D, 16, i[42]), G = r(G, w, N, E, S, 23, i[43]), E = r(E, G, w, N, O, 4, i[44]), N = r(N, E, G, w, z, 11, i[45]), w = r(w, N, E, G, W, 16, i[46]), G = r(G, w, N, E, k, 23, i[47]), E = o(E, G, w, N, x, 6, i[48]), N = o(N, E, G, w, R, 10, i[49]), w = o(w, N, E, G, B, 15, i[50]), G = o(G, w, N, E, h, 21, i[51]), E = o(E, G, w, N, z, 6, i[52]), N = o(N, E, G, w, D, 10, i[53]), w = o(w, N, E, G, M, 15, i[54]), G = o(G, w, N, E, v, 21, i[55]), E = o(E, G, w, N, L, 6, i[56]), N = o(N, E, G, w, W, 10, i[57]), w = o(w, N, E, G, S, 15, i[58]), G = o(G, w, N, E, A, 21, i[59]), E = o(E, G, w, N, F, 6, i[60]), N = o(N, E, G, w, P, 10, i[61]), w = o(w, N, E, G, k, 15, i[62]), G = o(G, w, N, E, O, 21, i[63]), C[0] = C[0] + E | 0, C[1] = C[1] + G | 0, C[2] = C[2] + w | 0, C[3] = C[3] + N | 0;
2133
2133
  },
2134
2134
  _doFinalize: function() {
2135
2135
  var _ = this._data, f = _.words, U = this._nDataBytes * 8, d = _.sigBytes * 8;
2136
2136
  f[d >>> 5] |= 128 << 24 - d % 32;
2137
2137
  var y = t.floor(U / 4294967296), C = U;
2138
2138
  f[(d + 64 >>> 9 << 4) + 15] = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, f[(d + 64 >>> 9 << 4) + 14] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, _.sigBytes = (f.length + 1) * 4, this._process();
2139
- for (var v = this._hash, h = v.words, k = 0; k < 4; k++) {
2140
- var D = h[k];
2141
- h[k] = (D << 8 | D >>> 24) & 16711935 | (D << 24 | D >>> 8) & 4278255360;
2139
+ for (var x = this._hash, v = x.words, k = 0; k < 4; k++) {
2140
+ var D = v[k];
2141
+ v[k] = (D << 8 | D >>> 24) & 16711935 | (D << 24 | D >>> 8) & 4278255360;
2142
2142
  }
2143
- return v;
2143
+ return x;
2144
2144
  },
2145
2145
  clone: function() {
2146
2146
  var _ = c.clone.call(this);
2147
2147
  return _._hash = this._hash.clone(), _;
2148
2148
  }
2149
2149
  });
2150
- function m(_, f, U, d, y, C, v) {
2151
- var h = _ + (f & U | ~f & d) + y + v;
2152
- return (h << C | h >>> 32 - C) + f;
2150
+ function m(_, f, U, d, y, C, x) {
2151
+ var v = _ + (f & U | ~f & d) + y + x;
2152
+ return (v << C | v >>> 32 - C) + f;
2153
2153
  }
2154
- function l(_, f, U, d, y, C, v) {
2155
- var h = _ + (f & d | U & ~d) + y + v;
2156
- return (h << C | h >>> 32 - C) + f;
2154
+ function l(_, f, U, d, y, C, x) {
2155
+ var v = _ + (f & d | U & ~d) + y + x;
2156
+ return (v << C | v >>> 32 - C) + f;
2157
2157
  }
2158
- function r(_, f, U, d, y, C, v) {
2159
- var h = _ + (f ^ U ^ d) + y + v;
2160
- return (h << C | h >>> 32 - C) + f;
2158
+ function r(_, f, U, d, y, C, x) {
2159
+ var v = _ + (f ^ U ^ d) + y + x;
2160
+ return (v << C | v >>> 32 - C) + f;
2161
2161
  }
2162
- function o(_, f, U, d, y, C, v) {
2163
- var h = _ + (U ^ (f | ~d)) + y + v;
2164
- return (h << C | h >>> 32 - C) + f;
2162
+ function o(_, f, U, d, y, C, x) {
2163
+ var v = _ + (U ^ (f | ~d)) + y + x;
2164
+ return (v << C | v >>> 32 - C) + f;
2165
2165
  }
2166
2166
  u.MD5 = c._createHelper(a), u.HmacMD5 = c._createHmacHelper(a);
2167
2167
  })(Math), n.MD5;
@@ -2169,7 +2169,7 @@ function ta() {
2169
2169
  })(qa)), qa.exports;
2170
2170
  }
2171
2171
  var $a = { exports: {} }, wl = $a.exports, vt;
2172
- function Rn() {
2172
+ function Pn() {
2173
2173
  return vt || (vt = 1, (function(e, s) {
2174
2174
  (function(n, t) {
2175
2175
  e.exports = t(j());
@@ -2238,17 +2238,17 @@ function $i() {
2238
2238
  this._hash = new b.init(i.slice(0));
2239
2239
  },
2240
2240
  _doProcessBlock: function(r, o) {
2241
- for (var _ = this._hash.words, f = _[0], U = _[1], d = _[2], y = _[3], C = _[4], v = _[5], h = _[6], k = _[7], D = 0; D < 64; D++) {
2241
+ for (var _ = this._hash.words, f = _[0], U = _[1], d = _[2], y = _[3], C = _[4], x = _[5], v = _[6], k = _[7], D = 0; D < 64; D++) {
2242
2242
  if (D < 16)
2243
2243
  m[D] = r[o + D] | 0;
2244
2244
  else {
2245
- var w = m[D - 15], x = (w << 25 | w >>> 7) ^ (w << 14 | w >>> 18) ^ w >>> 3, S = m[D - 2], L = (S << 15 | S >>> 17) ^ (S << 13 | S >>> 19) ^ S >>> 10;
2246
- m[D] = x + m[D - 7] + L + m[D - 16];
2245
+ var F = m[D - 15], h = (F << 25 | F >>> 7) ^ (F << 14 | F >>> 18) ^ F >>> 3, S = m[D - 2], R = (S << 15 | S >>> 17) ^ (S << 13 | S >>> 19) ^ S >>> 10;
2246
+ m[D] = h + m[D - 7] + R + m[D - 16];
2247
2247
  }
2248
- var G = C & v ^ ~C & h, O = f & U ^ f & d ^ U & d, R = (f << 30 | f >>> 2) ^ (f << 19 | f >>> 13) ^ (f << 10 | f >>> 22), P = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), z = k + P + G + a[D] + m[D], A = R + O;
2249
- k = h, h = v, v = C, C = y + z | 0, y = d, d = U, U = f, f = z + A | 0;
2248
+ var L = C & x ^ ~C & v, O = f & U ^ f & d ^ U & d, M = (f << 30 | f >>> 2) ^ (f << 19 | f >>> 13) ^ (f << 10 | f >>> 22), P = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), z = k + P + L + a[D] + m[D], A = M + O;
2249
+ k = v, v = x, x = C, C = y + z | 0, y = d, d = U, U = f, f = z + A | 0;
2250
2250
  }
2251
- _[0] = _[0] + f | 0, _[1] = _[1] + U | 0, _[2] = _[2] + d | 0, _[3] = _[3] + y | 0, _[4] = _[4] + C | 0, _[5] = _[5] + v | 0, _[6] = _[6] + h | 0, _[7] = _[7] + k | 0;
2251
+ _[0] = _[0] + f | 0, _[1] = _[1] + U | 0, _[2] = _[2] + d | 0, _[3] = _[3] + y | 0, _[4] = _[4] + C | 0, _[5] = _[5] + x | 0, _[6] = _[6] + v | 0, _[7] = _[7] + k | 0;
2252
2252
  },
2253
2253
  _doFinalize: function() {
2254
2254
  var r = this._data, o = r.words, _ = this._nDataBytes * 8, f = r.sigBytes * 8;
@@ -2295,7 +2295,7 @@ function Bl() {
2295
2295
  })(Qa)), Qa.exports;
2296
2296
  }
2297
2297
  var Ya = { exports: {} }, Hl = Ya.exports, kt;
2298
- function Pn() {
2298
+ function Fn() {
2299
2299
  return kt || (kt = 1, (function(e, s) {
2300
2300
  (function(n, t, u) {
2301
2301
  e.exports = t(j(), Si());
@@ -2405,7 +2405,7 @@ function Pn() {
2405
2405
  ]);
2406
2406
  },
2407
2407
  _doProcessBlock: function(o, _) {
2408
- for (var f = this._hash.words, U = f[0], d = f[1], y = f[2], C = f[3], v = f[4], h = f[5], k = f[6], D = f[7], w = U.high, x = U.low, S = d.high, L = d.low, G = y.high, O = y.low, R = C.high, P = C.low, z = v.high, A = v.low, B = h.high, W = h.low, E = k.high, M = k.low, F = D.high, N = D.low, K = w, q = x, Q = S, Z = L, ne = G, ie = O, be = R, Ce = P, me = z, Ue = A, Pe = B, De = W, qe = E, We = M, ze = F, $e = N, he = 0; he < 80; he++) {
2408
+ for (var f = this._hash.words, U = f[0], d = f[1], y = f[2], C = f[3], x = f[4], v = f[5], k = f[6], D = f[7], F = U.high, h = U.low, S = d.high, R = d.low, L = y.high, O = y.low, M = C.high, P = C.low, z = x.high, A = x.low, B = v.high, W = v.low, E = k.high, G = k.low, w = D.high, N = D.low, K = F, q = h, Q = S, Z = R, ne = L, ie = O, be = M, Ce = P, ue = z, Ue = A, Pe = B, De = W, qe = E, We = G, ze = w, $e = N, he = 0; he < 80; he++) {
2409
2409
  var ce, Ne, na = l[he];
2410
2410
  if (he < 16)
2411
2411
  Ne = na.high = o[_ + he * 2] | 0, ce = na.low = o[_ + he * 2 + 1] | 0;
@@ -2413,10 +2413,10 @@ function Pn() {
2413
2413
  var ga = l[he - 15], Fe = ga.high, Ve = ga.low, Ni = (Fe >>> 1 | Ve << 31) ^ (Fe >>> 8 | Ve << 24) ^ Fe >>> 7, da = (Ve >>> 1 | Fe << 31) ^ (Ve >>> 8 | Fe << 24) ^ (Ve >>> 7 | Fe << 25), ca = l[he - 2], Ze = ca.high, je = ca.low, Li = (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], Gi = Ea.high, Mi = Ea.low, la = l[he - 16], Na = la.high, we = la.low;
2414
2414
  ce = da + Mi, Ne = Ni + Gi + (ce >>> 0 < da >>> 0 ? 1 : 0), ce = ce + Da, Ne = Ne + Li + (ce >>> 0 < Da >>> 0 ? 1 : 0), ce = ce + we, Ne = Ne + Na + (ce >>> 0 < we >>> 0 ? 1 : 0), na.high = Ne, na.low = ce;
2415
2415
  }
2416
- var fa = me & Pe ^ ~me & qe, 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 = (me >>> 14 | Ue << 18) ^ (me >>> 18 | Ue << 14) ^ (me << 23 | Ue >>> 9), Pa = (Ue >>> 14 | me << 18) ^ (Ue >>> 18 | me << 14) ^ (Ue << 23 | me >>> 9), Fa = m[he], Pi = Fa.high, _a = Fa.low, fe = $e + Pa, Le = ze + Ra + (fe >>> 0 < $e >>> 0 ? 1 : 0), fe = fe + ra, Le = Le + fa + (fe >>> 0 < ra >>> 0 ? 1 : 0), fe = fe + _a, Le = Le + Pi + (fe >>> 0 < _a >>> 0 ? 1 : 0), fe = fe + ce, Le = Le + Ne + (fe >>> 0 < ce >>> 0 ? 1 : 0), wa = Ma + Ri, Fi = Ga + La + (wa >>> 0 < Ma >>> 0 ? 1 : 0);
2417
- ze = qe, $e = We, qe = Pe, We = De, Pe = me, De = Ue, Ue = Ce + fe | 0, me = be + Le + (Ue >>> 0 < Ce >>> 0 ? 1 : 0) | 0, be = ne, Ce = ie, ne = Q, ie = Z, Q = K, Z = q, q = fe + wa | 0, K = Le + Fi + (q >>> 0 < fe >>> 0 ? 1 : 0) | 0;
2416
+ var fa = ue & Pe ^ ~ue & qe, 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 = (ue >>> 14 | Ue << 18) ^ (ue >>> 18 | Ue << 14) ^ (ue << 23 | Ue >>> 9), Pa = (Ue >>> 14 | ue << 18) ^ (Ue >>> 18 | ue << 14) ^ (Ue << 23 | ue >>> 9), Fa = m[he], Pi = Fa.high, _a = Fa.low, fe = $e + Pa, Le = ze + Ra + (fe >>> 0 < $e >>> 0 ? 1 : 0), fe = fe + ra, Le = Le + fa + (fe >>> 0 < ra >>> 0 ? 1 : 0), fe = fe + _a, Le = Le + Pi + (fe >>> 0 < _a >>> 0 ? 1 : 0), fe = fe + ce, Le = Le + Ne + (fe >>> 0 < ce >>> 0 ? 1 : 0), wa = Ma + Ri, Fi = Ga + La + (wa >>> 0 < Ma >>> 0 ? 1 : 0);
2417
+ ze = qe, $e = We, qe = Pe, We = De, Pe = ue, De = Ue, Ue = Ce + fe | 0, ue = be + Le + (Ue >>> 0 < Ce >>> 0 ? 1 : 0) | 0, be = ne, Ce = ie, ne = Q, ie = Z, Q = K, Z = q, q = fe + wa | 0, K = Le + Fi + (q >>> 0 < fe >>> 0 ? 1 : 0) | 0;
2418
2418
  }
2419
- x = U.low = x + q, U.high = w + K + (x >>> 0 < q >>> 0 ? 1 : 0), L = d.low = L + Z, d.high = S + Q + (L >>> 0 < Z >>> 0 ? 1 : 0), O = y.low = O + ie, y.high = G + ne + (O >>> 0 < ie >>> 0 ? 1 : 0), P = C.low = P + Ce, C.high = R + be + (P >>> 0 < Ce >>> 0 ? 1 : 0), A = v.low = A + Ue, v.high = z + me + (A >>> 0 < Ue >>> 0 ? 1 : 0), W = h.low = W + De, h.high = B + Pe + (W >>> 0 < De >>> 0 ? 1 : 0), M = k.low = M + We, k.high = E + qe + (M >>> 0 < We >>> 0 ? 1 : 0), N = D.low = N + $e, D.high = F + ze + (N >>> 0 < $e >>> 0 ? 1 : 0);
2419
+ h = U.low = h + q, U.high = F + K + (h >>> 0 < q >>> 0 ? 1 : 0), R = d.low = R + Z, d.high = S + Q + (R >>> 0 < Z >>> 0 ? 1 : 0), O = y.low = O + ie, y.high = L + ne + (O >>> 0 < ie >>> 0 ? 1 : 0), P = C.low = P + Ce, C.high = M + be + (P >>> 0 < Ce >>> 0 ? 1 : 0), A = x.low = A + Ue, x.high = z + ue + (A >>> 0 < Ue >>> 0 ? 1 : 0), W = v.low = W + De, v.high = B + Pe + (W >>> 0 < De >>> 0 ? 1 : 0), G = k.low = G + We, k.high = E + qe + (G >>> 0 < We >>> 0 ? 1 : 0), N = D.low = N + $e, D.high = w + ze + (N >>> 0 < $e >>> 0 ? 1 : 0);
2420
2420
  },
2421
2421
  _doFinalize: function() {
2422
2422
  var o = this._data, _ = o.words, f = this._nDataBytes * 8, U = o.sigBytes * 8;
@@ -2439,7 +2439,7 @@ var Xa = { exports: {} }, Wl = Xa.exports, xt;
2439
2439
  function zl() {
2440
2440
  return xt || (xt = 1, (function(e, s) {
2441
2441
  (function(n, t, u) {
2442
- e.exports = t(j(), Si(), Pn());
2442
+ e.exports = t(j(), Si(), Fn());
2443
2443
  })(Wl, function(n) {
2444
2444
  return (function() {
2445
2445
  var t = n, u = t.x64, p = u.Word, b = u.WordArray, c = t.algo, g = c.SHA512, i = c.SHA384 = g.extend({
@@ -2482,15 +2482,15 @@ function Zl() {
2482
2482
  for (var f = 0; f < 5; f++)
2483
2483
  for (var U = 0; U < 5; U++)
2484
2484
  l[f + 5 * U] = U + (2 * f + 3 * U) % 5 * 5;
2485
- for (var v = 1, h = 0; h < 24; h++) {
2486
- for (var k = 0, D = 0, w = 0; w < 7; w++) {
2487
- if (v & 1) {
2488
- var x = (1 << w) - 1;
2489
- x < 32 ? D ^= 1 << x : k ^= 1 << x - 32;
2485
+ for (var x = 1, v = 0; v < 24; v++) {
2486
+ for (var k = 0, D = 0, F = 0; F < 7; F++) {
2487
+ if (x & 1) {
2488
+ var h = (1 << F) - 1;
2489
+ h < 32 ? D ^= 1 << h : k ^= 1 << h - 32;
2490
2490
  }
2491
- v & 128 ? v = v << 1 ^ 113 : v <<= 1;
2491
+ x & 128 ? x = x << 1 ^ 113 : x <<= 1;
2492
2492
  }
2493
- r[h] = i.create(k, D);
2493
+ r[v] = i.create(k, D);
2494
2494
  }
2495
2495
  })();
2496
2496
  var o = [];
@@ -2517,36 +2517,36 @@ function Zl() {
2517
2517
  },
2518
2518
  _doProcessBlock: function(f, U) {
2519
2519
  for (var d = this._state, y = this.blockSize / 2, C = 0; C < y; C++) {
2520
- var v = f[U + 2 * C], h = f[U + 2 * C + 1];
2521
- v = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, h = (h << 8 | h >>> 24) & 16711935 | (h << 24 | h >>> 8) & 4278255360;
2520
+ var x = f[U + 2 * C], v = f[U + 2 * C + 1];
2521
+ x = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, v = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360;
2522
2522
  var k = d[C];
2523
- k.high ^= h, k.low ^= v;
2523
+ k.high ^= v, k.low ^= x;
2524
2524
  }
2525
2525
  for (var D = 0; D < 24; D++) {
2526
- for (var w = 0; w < 5; w++) {
2527
- for (var x = 0, S = 0, L = 0; L < 5; L++) {
2528
- var k = d[w + 5 * L];
2529
- x ^= k.high, S ^= k.low;
2526
+ for (var F = 0; F < 5; F++) {
2527
+ for (var h = 0, S = 0, R = 0; R < 5; R++) {
2528
+ var k = d[F + 5 * R];
2529
+ h ^= k.high, S ^= k.low;
2530
2530
  }
2531
- var G = o[w];
2532
- G.high = x, G.low = S;
2531
+ var L = o[F];
2532
+ L.high = h, L.low = S;
2533
2533
  }
2534
- for (var w = 0; w < 5; w++)
2535
- for (var O = o[(w + 4) % 5], R = o[(w + 1) % 5], P = R.high, z = R.low, x = O.high ^ (P << 1 | z >>> 31), S = O.low ^ (z << 1 | P >>> 31), L = 0; L < 5; L++) {
2536
- var k = d[w + 5 * L];
2537
- k.high ^= x, k.low ^= S;
2534
+ for (var F = 0; F < 5; F++)
2535
+ for (var O = o[(F + 4) % 5], M = o[(F + 1) % 5], P = M.high, z = M.low, h = O.high ^ (P << 1 | z >>> 31), S = O.low ^ (z << 1 | P >>> 31), R = 0; R < 5; R++) {
2536
+ var k = d[F + 5 * R];
2537
+ k.high ^= h, k.low ^= S;
2538
2538
  }
2539
2539
  for (var A = 1; A < 25; A++) {
2540
- var x, S, k = d[A], B = k.high, W = k.low, E = m[A];
2541
- E < 32 ? (x = B << E | W >>> 32 - E, S = W << E | B >>> 32 - E) : (x = W << E - 32 | B >>> 64 - E, S = B << E - 32 | W >>> 64 - E);
2542
- var M = o[l[A]];
2543
- M.high = x, M.low = S;
2540
+ var h, S, k = d[A], B = k.high, W = k.low, E = m[A];
2541
+ E < 32 ? (h = B << E | W >>> 32 - E, S = W << E | B >>> 32 - E) : (h = W << E - 32 | B >>> 64 - E, S = B << E - 32 | W >>> 64 - E);
2542
+ var G = o[l[A]];
2543
+ G.high = h, G.low = S;
2544
2544
  }
2545
- var F = o[0], N = d[0];
2546
- F.high = N.high, F.low = N.low;
2547
- for (var w = 0; w < 5; w++)
2548
- for (var L = 0; L < 5; L++) {
2549
- var A = w + 5 * L, k = d[A], K = o[A], q = o[(w + 1) % 5 + 5 * L], Q = o[(w + 2) % 5 + 5 * L];
2545
+ var w = o[0], N = d[0];
2546
+ w.high = N.high, w.low = N.low;
2547
+ for (var F = 0; F < 5; F++)
2548
+ for (var R = 0; R < 5; R++) {
2549
+ var A = F + 5 * R, k = d[A], K = o[A], q = o[(F + 1) % 5 + 5 * R], Q = o[(F + 2) % 5 + 5 * R];
2550
2550
  k.high = K.high ^ ~q.high & Q.high, k.low = K.low ^ ~q.low & Q.low;
2551
2551
  }
2552
2552
  var k = d[0], Z = r[D];
@@ -2558,11 +2558,11 @@ function Zl() {
2558
2558
  this._nDataBytes * 8;
2559
2559
  var d = f.sigBytes * 8, y = this.blockSize * 32;
2560
2560
  U[d >>> 5] |= 1 << 24 - d % 32, U[(t.ceil((d + 1) / y) * y >>> 5) - 1] |= 128, f.sigBytes = U.length * 4, this._process();
2561
- for (var C = this._state, v = this.cfg.outputLength / 8, h = v / 8, k = [], D = 0; D < h; D++) {
2562
- var w = C[D], x = w.high, S = w.low;
2563
- x = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360, S = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360, k.push(S), k.push(x);
2561
+ for (var C = this._state, x = this.cfg.outputLength / 8, v = x / 8, k = [], D = 0; D < v; D++) {
2562
+ var F = C[D], h = F.high, S = F.low;
2563
+ h = (h << 8 | h >>> 24) & 16711935 | (h << 24 | h >>> 8) & 4278255360, S = (S << 8 | S >>> 24) & 16711935 | (S << 24 | S >>> 8) & 4278255360, k.push(S), k.push(h);
2564
2564
  }
2565
- return new b.init(k, v);
2565
+ return new b.init(k, x);
2566
2566
  },
2567
2567
  clone: function() {
2568
2568
  for (var f = c.clone.call(this), U = f._state = this._state.slice(0), d = 0; d < 25; d++)
@@ -2910,48 +2910,48 @@ function Il() {
2910
2910
  _doReset: function() {
2911
2911
  this._hash = b.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
2912
2912
  },
2913
- _doProcessBlock: function(h, k) {
2913
+ _doProcessBlock: function(v, k) {
2914
2914
  for (var D = 0; D < 16; D++) {
2915
- var w = k + D, x = h[w];
2916
- h[w] = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360;
2915
+ var F = k + D, h = v[F];
2916
+ v[F] = (h << 8 | h >>> 24) & 16711935 | (h << 24 | h >>> 8) & 4278255360;
2917
2917
  }
2918
- var S = this._hash.words, L = r.words, G = o.words, O = i.words, R = a.words, P = m.words, z = l.words, A, B, W, E, M, F, N, K, q, Q;
2919
- F = A = S[0], N = B = S[1], K = W = S[2], q = E = S[3], Q = M = S[4];
2918
+ var S = this._hash.words, R = r.words, L = o.words, O = i.words, M = a.words, P = m.words, z = l.words, A, B, W, E, G, w, N, K, q, Q;
2919
+ w = A = S[0], N = B = S[1], K = W = S[2], q = E = S[3], Q = G = S[4];
2920
2920
  for (var Z, D = 0; D < 80; D += 1)
2921
- Z = A + h[k + O[D]] | 0, D < 16 ? Z += f(B, W, E) + L[0] : D < 32 ? Z += U(B, W, E) + L[1] : D < 48 ? Z += d(B, W, E) + L[2] : D < 64 ? Z += y(B, W, E) + L[3] : Z += C(B, W, E) + L[4], Z = Z | 0, Z = v(Z, P[D]), Z = Z + M | 0, A = M, M = E, E = v(W, 10), W = B, B = Z, Z = F + h[k + R[D]] | 0, D < 16 ? Z += C(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;
2922
- Z = S[1] + W + q | 0, S[1] = S[2] + E + Q | 0, S[2] = S[3] + M + F | 0, S[3] = S[4] + A + N | 0, S[4] = S[0] + B + K | 0, S[0] = Z;
2921
+ Z = A + v[k + O[D]] | 0, D < 16 ? Z += f(B, W, E) + R[0] : D < 32 ? Z += U(B, W, E) + R[1] : D < 48 ? Z += d(B, W, E) + R[2] : D < 64 ? Z += y(B, W, E) + R[3] : Z += C(B, W, E) + R[4], Z = Z | 0, Z = x(Z, P[D]), Z = Z + G | 0, A = G, G = E, E = x(W, 10), W = B, B = Z, Z = w + v[k + M[D]] | 0, D < 16 ? Z += C(N, K, q) + L[0] : D < 32 ? Z += y(N, K, q) + L[1] : D < 48 ? Z += d(N, K, q) + L[2] : D < 64 ? Z += U(N, K, q) + L[3] : Z += f(N, K, q) + L[4], Z = Z | 0, Z = x(Z, z[D]), Z = Z + Q | 0, w = Q, Q = q, q = x(K, 10), K = N, N = Z;
2922
+ Z = S[1] + W + q | 0, S[1] = S[2] + E + Q | 0, S[2] = S[3] + G + w | 0, S[3] = S[4] + A + N | 0, S[4] = S[0] + B + K | 0, S[0] = Z;
2923
2923
  },
2924
2924
  _doFinalize: function() {
2925
- var h = this._data, k = h.words, D = this._nDataBytes * 8, w = h.sigBytes * 8;
2926
- k[w >>> 5] |= 128 << 24 - w % 32, k[(w + 64 >>> 9 << 4) + 14] = (D << 8 | D >>> 24) & 16711935 | (D << 24 | D >>> 8) & 4278255360, h.sigBytes = (k.length + 1) * 4, this._process();
2927
- for (var x = this._hash, S = x.words, L = 0; L < 5; L++) {
2928
- var G = S[L];
2929
- S[L] = (G << 8 | G >>> 24) & 16711935 | (G << 24 | G >>> 8) & 4278255360;
2925
+ var v = this._data, k = v.words, D = this._nDataBytes * 8, F = v.sigBytes * 8;
2926
+ k[F >>> 5] |= 128 << 24 - F % 32, k[(F + 64 >>> 9 << 4) + 14] = (D << 8 | D >>> 24) & 16711935 | (D << 24 | D >>> 8) & 4278255360, v.sigBytes = (k.length + 1) * 4, this._process();
2927
+ for (var h = this._hash, S = h.words, R = 0; R < 5; R++) {
2928
+ var L = S[R];
2929
+ S[R] = (L << 8 | L >>> 24) & 16711935 | (L << 24 | L >>> 8) & 4278255360;
2930
2930
  }
2931
- return x;
2931
+ return h;
2932
2932
  },
2933
2933
  clone: function() {
2934
- var h = c.clone.call(this);
2935
- return h._hash = this._hash.clone(), h;
2934
+ var v = c.clone.call(this);
2935
+ return v._hash = this._hash.clone(), v;
2936
2936
  }
2937
2937
  });
2938
- function f(h, k, D) {
2939
- return h ^ k ^ D;
2938
+ function f(v, k, D) {
2939
+ return v ^ k ^ D;
2940
2940
  }
2941
- function U(h, k, D) {
2942
- return h & k | ~h & D;
2941
+ function U(v, k, D) {
2942
+ return v & k | ~v & D;
2943
2943
  }
2944
- function d(h, k, D) {
2945
- return (h | ~k) ^ D;
2944
+ function d(v, k, D) {
2945
+ return (v | ~k) ^ D;
2946
2946
  }
2947
- function y(h, k, D) {
2948
- return h & D | k & ~D;
2947
+ function y(v, k, D) {
2948
+ return v & D | k & ~D;
2949
2949
  }
2950
- function C(h, k, D) {
2951
- return h ^ (k | ~D);
2950
+ function C(v, k, D) {
2951
+ return v ^ (k | ~D);
2952
2952
  }
2953
- function v(h, k) {
2954
- return h << k | h >>> 32 - k;
2953
+ function x(v, k) {
2954
+ return v << k | v >>> 32 - k;
2955
2955
  }
2956
2956
  u.RIPEMD160 = c._createHelper(_), u.HmacRIPEMD160 = c._createHmacHelper(_);
2957
2957
  })(), n.RIPEMD160;
@@ -3084,14 +3084,14 @@ function $l() {
3084
3084
  */
3085
3085
  compute: function(m, l) {
3086
3086
  for (var r = this.cfg, o = i.create(r.hasher, m), _ = b.create(), f = b.create([1]), U = _.words, d = f.words, y = r.keySize, C = r.iterations; U.length < y; ) {
3087
- var v = o.update(l).finalize(f);
3087
+ var x = o.update(l).finalize(f);
3088
3088
  o.reset();
3089
- for (var h = v.words, k = h.length, D = v, w = 1; w < C; w++) {
3089
+ for (var v = x.words, k = v.length, D = x, F = 1; F < C; F++) {
3090
3090
  D = o.finalize(D), o.reset();
3091
- for (var x = D.words, S = 0; S < k; S++)
3092
- h[S] ^= x[S];
3091
+ for (var h = D.words, S = 0; S < k; S++)
3092
+ v[S] ^= h[S];
3093
3093
  }
3094
- _.concat(v), d[0]++;
3094
+ _.concat(x), d[0]++;
3095
3095
  }
3096
3096
  return _.sigBytes = y * 4, _;
3097
3097
  }
@@ -3107,7 +3107,7 @@ var ni = { exports: {} }, jl = ni.exports, Lt;
3107
3107
  function Ie() {
3108
3108
  return Lt || (Lt = 1, (function(e, s) {
3109
3109
  (function(n, t, u) {
3110
- e.exports = t(j(), Rn(), ji());
3110
+ e.exports = t(j(), Pn(), ji());
3111
3111
  })(jl, function(n) {
3112
3112
  return (function() {
3113
3113
  var t = n, u = t.lib, p = u.Base, b = u.WordArray, c = t.algo, g = c.MD5, i = c.EvpKDF = p.extend({
@@ -3167,7 +3167,7 @@ function Ie() {
3167
3167
  })(ni)), ni.exports;
3168
3168
  }
3169
3169
  var li = { exports: {} }, Ql = li.exports, Gt;
3170
- function pe() {
3170
+ function ge() {
3171
3171
  return Gt || (Gt = 1, (function(e, s) {
3172
3172
  (function(n, t, u) {
3173
3173
  e.exports = t(j(), Ie());
@@ -3196,8 +3196,8 @@ function pe() {
3196
3196
  *
3197
3197
  * var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray });
3198
3198
  */
3199
- createEncryptor: function(x, S) {
3200
- return this.create(this._ENC_XFORM_MODE, x, S);
3199
+ createEncryptor: function(h, S) {
3200
+ return this.create(this._ENC_XFORM_MODE, h, S);
3201
3201
  },
3202
3202
  /**
3203
3203
  * Creates this cipher in decryption mode.
@@ -3213,8 +3213,8 @@ function pe() {
3213
3213
  *
3214
3214
  * var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray });
3215
3215
  */
3216
- createDecryptor: function(x, S) {
3217
- return this.create(this._DEC_XFORM_MODE, x, S);
3216
+ createDecryptor: function(h, S) {
3217
+ return this.create(this._DEC_XFORM_MODE, h, S);
3218
3218
  },
3219
3219
  /**
3220
3220
  * Initializes a newly created cipher.
@@ -3227,8 +3227,8 @@ function pe() {
3227
3227
  *
3228
3228
  * var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
3229
3229
  */
3230
- init: function(x, S, L) {
3231
- this.cfg = this.cfg.extend(L), this._xformMode = x, this._key = S, this.reset();
3230
+ init: function(h, S, R) {
3231
+ this.cfg = this.cfg.extend(R), this._xformMode = h, this._key = S, this.reset();
3232
3232
  },
3233
3233
  /**
3234
3234
  * Resets this cipher to its initial state.
@@ -3252,8 +3252,8 @@ function pe() {
3252
3252
  * var encrypted = cipher.process('data');
3253
3253
  * var encrypted = cipher.process(wordArray);
3254
3254
  */
3255
- process: function(x) {
3256
- return this._append(x), this._process();
3255
+ process: function(h) {
3256
+ return this._append(h), this._process();
3257
3257
  },
3258
3258
  /**
3259
3259
  * Finalizes the encryption or decryption process.
@@ -3269,8 +3269,8 @@ function pe() {
3269
3269
  * var encrypted = cipher.finalize('data');
3270
3270
  * var encrypted = cipher.finalize(wordArray);
3271
3271
  */
3272
- finalize: function(x) {
3273
- x && this._append(x);
3272
+ finalize: function(h) {
3273
+ h && this._append(h);
3274
3274
  var S = this._doFinalize();
3275
3275
  return S;
3276
3276
  },
@@ -3292,16 +3292,16 @@ function pe() {
3292
3292
  * var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
3293
3293
  */
3294
3294
  _createHelper: /* @__PURE__ */ (function() {
3295
- function x(S) {
3296
- return typeof S == "string" ? w : h;
3295
+ function h(S) {
3296
+ return typeof S == "string" ? F : v;
3297
3297
  }
3298
3298
  return function(S) {
3299
3299
  return {
3300
- encrypt: function(L, G, O) {
3301
- return x(G).encrypt(S, L, G, O);
3300
+ encrypt: function(R, L, O) {
3301
+ return h(L).encrypt(S, R, L, O);
3302
3302
  },
3303
- decrypt: function(L, G, O) {
3304
- return x(G).decrypt(S, L, G, O);
3303
+ decrypt: function(R, L, O) {
3304
+ return h(L).decrypt(S, R, L, O);
3305
3305
  }
3306
3306
  };
3307
3307
  };
@@ -3309,8 +3309,8 @@ function pe() {
3309
3309
  });
3310
3310
  p.StreamCipher = r.extend({
3311
3311
  _doFinalize: function() {
3312
- var x = this._process(!0);
3313
- return x;
3312
+ var h = this._process(!0);
3313
+ return h;
3314
3314
  },
3315
3315
  blockSize: 1
3316
3316
  });
@@ -3327,8 +3327,8 @@ function pe() {
3327
3327
  *
3328
3328
  * var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words);
3329
3329
  */
3330
- createEncryptor: function(x, S) {
3331
- return this.Encryptor.create(x, S);
3330
+ createEncryptor: function(h, S) {
3331
+ return this.Encryptor.create(h, S);
3332
3332
  },
3333
3333
  /**
3334
3334
  * Creates this mode for decryption.
@@ -3342,8 +3342,8 @@ function pe() {
3342
3342
  *
3343
3343
  * var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words);
3344
3344
  */
3345
- createDecryptor: function(x, S) {
3346
- return this.Decryptor.create(x, S);
3345
+ createDecryptor: function(h, S) {
3346
+ return this.Decryptor.create(h, S);
3347
3347
  },
3348
3348
  /**
3349
3349
  * Initializes a newly created mode.
@@ -3355,12 +3355,12 @@ function pe() {
3355
3355
  *
3356
3356
  * var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words);
3357
3357
  */
3358
- init: function(x, S) {
3359
- this._cipher = x, this._iv = S;
3358
+ init: function(h, S) {
3359
+ this._cipher = h, this._iv = S;
3360
3360
  }
3361
3361
  }), f = o.CBC = (function() {
3362
- var x = _.extend();
3363
- x.Encryptor = x.extend({
3362
+ var h = _.extend();
3363
+ h.Encryptor = h.extend({
3364
3364
  /**
3365
3365
  * Processes the data block at offset.
3366
3366
  *
@@ -3371,11 +3371,11 @@ function pe() {
3371
3371
  *
3372
3372
  * mode.processBlock(data.words, offset);
3373
3373
  */
3374
- processBlock: function(L, G) {
3375
- var O = this._cipher, R = O.blockSize;
3376
- S.call(this, L, G, R), O.encryptBlock(L, G), this._prevBlock = L.slice(G, G + R);
3374
+ processBlock: function(R, L) {
3375
+ var O = this._cipher, M = O.blockSize;
3376
+ S.call(this, R, L, M), O.encryptBlock(R, L), this._prevBlock = R.slice(L, L + M);
3377
3377
  }
3378
- }), x.Decryptor = x.extend({
3378
+ }), h.Decryptor = h.extend({
3379
3379
  /**
3380
3380
  * Processes the data block at offset.
3381
3381
  *
@@ -3386,18 +3386,18 @@ function pe() {
3386
3386
  *
3387
3387
  * mode.processBlock(data.words, offset);
3388
3388
  */
3389
- processBlock: function(L, G) {
3390
- var O = this._cipher, R = O.blockSize, P = L.slice(G, G + R);
3391
- O.decryptBlock(L, G), S.call(this, L, G, R), this._prevBlock = P;
3389
+ processBlock: function(R, L) {
3390
+ var O = this._cipher, M = O.blockSize, P = R.slice(L, L + M);
3391
+ O.decryptBlock(R, L), S.call(this, R, L, M), this._prevBlock = P;
3392
3392
  }
3393
3393
  });
3394
- function S(L, G, O) {
3395
- var R, P = this._iv;
3396
- P ? (R = P, this._iv = t) : R = this._prevBlock;
3394
+ function S(R, L, O) {
3395
+ var M, P = this._iv;
3396
+ P ? (M = P, this._iv = t) : M = this._prevBlock;
3397
3397
  for (var z = 0; z < O; z++)
3398
- L[G + z] ^= R[z];
3398
+ R[L + z] ^= M[z];
3399
3399
  }
3400
- return x;
3400
+ return h;
3401
3401
  })(), U = u.pad = {}, d = U.Pkcs7 = {
3402
3402
  /**
3403
3403
  * Pads data using the algorithm defined in PKCS #5/7.
@@ -3411,11 +3411,11 @@ function pe() {
3411
3411
  *
3412
3412
  * CryptoJS.pad.Pkcs7.pad(wordArray, 4);
3413
3413
  */
3414
- pad: function(x, S) {
3415
- for (var L = S * 4, G = L - x.sigBytes % L, O = G << 24 | G << 16 | G << 8 | G, R = [], P = 0; P < G; P += 4)
3416
- R.push(O);
3417
- var z = c.create(R, G);
3418
- x.concat(z);
3414
+ pad: function(h, S) {
3415
+ for (var R = S * 4, L = R - h.sigBytes % R, O = L << 24 | L << 16 | L << 8 | L, M = [], P = 0; P < L; P += 4)
3416
+ M.push(O);
3417
+ var z = c.create(M, L);
3418
+ h.concat(z);
3419
3419
  },
3420
3420
  /**
3421
3421
  * Unpads data that had been padded using the algorithm defined in PKCS #5/7.
@@ -3428,9 +3428,9 @@ function pe() {
3428
3428
  *
3429
3429
  * CryptoJS.pad.Pkcs7.unpad(wordArray);
3430
3430
  */
3431
- unpad: function(x) {
3432
- var S = x.words[x.sigBytes - 1 >>> 2] & 255;
3433
- x.sigBytes -= S;
3431
+ unpad: function(h) {
3432
+ var S = h.words[h.sigBytes - 1 >>> 2] & 255;
3433
+ h.sigBytes -= S;
3434
3434
  }
3435
3435
  };
3436
3436
  p.BlockCipher = r.extend({
@@ -3445,17 +3445,17 @@ function pe() {
3445
3445
  padding: d
3446
3446
  }),
3447
3447
  reset: function() {
3448
- var x;
3448
+ var h;
3449
3449
  r.reset.call(this);
3450
- var S = this.cfg, L = S.iv, G = S.mode;
3451
- this._xformMode == this._ENC_XFORM_MODE ? x = G.createEncryptor : (x = G.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == x ? this._mode.init(this, L && L.words) : (this._mode = x.call(G, this, L && L.words), this._mode.__creator = x);
3450
+ var S = this.cfg, R = S.iv, L = S.mode;
3451
+ this._xformMode == this._ENC_XFORM_MODE ? h = L.createEncryptor : (h = L.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == h ? this._mode.init(this, R && R.words) : (this._mode = h.call(L, this, R && R.words), this._mode.__creator = h);
3452
3452
  },
3453
- _doProcessBlock: function(x, S) {
3454
- this._mode.processBlock(x, S);
3453
+ _doProcessBlock: function(h, S) {
3454
+ this._mode.processBlock(h, S);
3455
3455
  },
3456
3456
  _doFinalize: function() {
3457
- var x, S = this.cfg.padding;
3458
- return this._xformMode == this._ENC_XFORM_MODE ? (S.pad(this._data, this.blockSize), x = this._process(!0)) : (x = this._process(!0), S.unpad(x)), x;
3457
+ var h, S = this.cfg.padding;
3458
+ return this._xformMode == this._ENC_XFORM_MODE ? (S.pad(this._data, this.blockSize), h = this._process(!0)) : (h = this._process(!0), S.unpad(h)), h;
3459
3459
  },
3460
3460
  blockSize: 128 / 32
3461
3461
  });
@@ -3479,8 +3479,8 @@ function pe() {
3479
3479
  * formatter: CryptoJS.format.OpenSSL
3480
3480
  * });
3481
3481
  */
3482
- init: function(x) {
3483
- this.mixIn(x);
3482
+ init: function(h) {
3483
+ this.mixIn(h);
3484
3484
  },
3485
3485
  /**
3486
3486
  * Converts this cipher params object to a string.
@@ -3497,10 +3497,10 @@ function pe() {
3497
3497
  * var string = cipherParams.toString();
3498
3498
  * var string = cipherParams.toString(CryptoJS.format.OpenSSL);
3499
3499
  */
3500
- toString: function(x) {
3501
- return (x || this.formatter).stringify(this);
3500
+ toString: function(h) {
3501
+ return (h || this.formatter).stringify(this);
3502
3502
  }
3503
- }), C = u.format = {}, v = C.OpenSSL = {
3503
+ }), C = u.format = {}, x = C.OpenSSL = {
3504
3504
  /**
3505
3505
  * Converts a cipher params object to an OpenSSL-compatible string.
3506
3506
  *
@@ -3514,9 +3514,9 @@ function pe() {
3514
3514
  *
3515
3515
  * var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
3516
3516
  */
3517
- stringify: function(x) {
3518
- var S, L = x.ciphertext, G = x.salt;
3519
- return G ? S = c.create([1398893684, 1701076831]).concat(G).concat(L) : S = L, S.toString(a);
3517
+ stringify: function(h) {
3518
+ var S, R = h.ciphertext, L = h.salt;
3519
+ return L ? S = c.create([1398893684, 1701076831]).concat(L).concat(R) : S = R, S.toString(a);
3520
3520
  },
3521
3521
  /**
3522
3522
  * Converts an OpenSSL-compatible string to a cipher params object.
@@ -3531,18 +3531,18 @@ function pe() {
3531
3531
  *
3532
3532
  * var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
3533
3533
  */
3534
- parse: function(x) {
3535
- var S, L = a.parse(x), G = L.words;
3536
- return G[0] == 1398893684 && G[1] == 1701076831 && (S = c.create(G.slice(2, 4)), G.splice(0, 4), L.sigBytes -= 16), y.create({ ciphertext: L, salt: S });
3534
+ parse: function(h) {
3535
+ var S, R = a.parse(h), L = R.words;
3536
+ return L[0] == 1398893684 && L[1] == 1701076831 && (S = c.create(L.slice(2, 4)), L.splice(0, 4), R.sigBytes -= 16), y.create({ ciphertext: R, salt: S });
3537
3537
  }
3538
- }, h = p.SerializableCipher = b.extend({
3538
+ }, v = p.SerializableCipher = b.extend({
3539
3539
  /**
3540
3540
  * Configuration options.
3541
3541
  *
3542
3542
  * @property {Formatter} format The formatting strategy to convert cipher param objects to and from a string. Default: OpenSSL
3543
3543
  */
3544
3544
  cfg: b.extend({
3545
- format: v
3545
+ format: x
3546
3546
  }),
3547
3547
  /**
3548
3548
  * Encrypts a message.
@@ -3562,18 +3562,18 @@ function pe() {
3562
3562
  * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
3563
3563
  * var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
3564
3564
  */
3565
- encrypt: function(x, S, L, G) {
3566
- G = this.cfg.extend(G);
3567
- var O = x.createEncryptor(L, G), R = O.finalize(S), P = O.cfg;
3565
+ encrypt: function(h, S, R, L) {
3566
+ L = this.cfg.extend(L);
3567
+ var O = h.createEncryptor(R, L), M = O.finalize(S), P = O.cfg;
3568
3568
  return y.create({
3569
- ciphertext: R,
3570
- key: L,
3569
+ ciphertext: M,
3570
+ key: R,
3571
3571
  iv: P.iv,
3572
- algorithm: x,
3572
+ algorithm: h,
3573
3573
  mode: P.mode,
3574
3574
  padding: P.padding,
3575
- blockSize: x.blockSize,
3576
- formatter: G.format
3575
+ blockSize: h.blockSize,
3576
+ formatter: L.format
3577
3577
  });
3578
3578
  },
3579
3579
  /**
@@ -3593,9 +3593,9 @@ function pe() {
3593
3593
  * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
3594
3594
  * var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
3595
3595
  */
3596
- decrypt: function(x, S, L, G) {
3597
- G = this.cfg.extend(G), S = this._parse(S, G.format);
3598
- var O = x.createDecryptor(L, G).finalize(S.ciphertext);
3596
+ decrypt: function(h, S, R, L) {
3597
+ L = this.cfg.extend(L), S = this._parse(S, L.format);
3598
+ var O = h.createDecryptor(R, L).finalize(S.ciphertext);
3599
3599
  return O;
3600
3600
  },
3601
3601
  /**
@@ -3613,8 +3613,8 @@ function pe() {
3613
3613
  *
3614
3614
  * var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);
3615
3615
  */
3616
- _parse: function(x, S) {
3617
- return typeof x == "string" ? S.parse(x, this) : x;
3616
+ _parse: function(h, S) {
3617
+ return typeof h == "string" ? S.parse(h, this) : h;
3618
3618
  }
3619
3619
  }), k = u.kdf = {}, D = k.OpenSSL = {
3620
3620
  /**
@@ -3634,21 +3634,21 @@ function pe() {
3634
3634
  * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
3635
3635
  * var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
3636
3636
  */
3637
- execute: function(x, S, L, G, O) {
3638
- if (G || (G = c.random(64 / 8)), O)
3639
- var R = l.create({ keySize: S + L, hasher: O }).compute(x, G);
3637
+ execute: function(h, S, R, L, O) {
3638
+ if (L || (L = c.random(64 / 8)), O)
3639
+ var M = l.create({ keySize: S + R, hasher: O }).compute(h, L);
3640
3640
  else
3641
- var R = l.create({ keySize: S + L }).compute(x, G);
3642
- var P = c.create(R.words.slice(S), L * 4);
3643
- return R.sigBytes = S * 4, y.create({ key: R, iv: P, salt: G });
3641
+ var M = l.create({ keySize: S + R }).compute(h, L);
3642
+ var P = c.create(M.words.slice(S), R * 4);
3643
+ return M.sigBytes = S * 4, y.create({ key: M, iv: P, salt: L });
3644
3644
  }
3645
- }, w = p.PasswordBasedCipher = h.extend({
3645
+ }, F = p.PasswordBasedCipher = v.extend({
3646
3646
  /**
3647
3647
  * Configuration options.
3648
3648
  *
3649
3649
  * @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
3650
3650
  */
3651
- cfg: h.cfg.extend({
3651
+ cfg: v.cfg.extend({
3652
3652
  kdf: D
3653
3653
  }),
3654
3654
  /**
@@ -3668,12 +3668,12 @@ function pe() {
3668
3668
  * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
3669
3669
  * var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
3670
3670
  */
3671
- encrypt: function(x, S, L, G) {
3672
- G = this.cfg.extend(G);
3673
- var O = G.kdf.execute(L, x.keySize, x.ivSize, G.salt, G.hasher);
3674
- G.iv = O.iv;
3675
- var R = h.encrypt.call(this, x, S, O.key, G);
3676
- return R.mixIn(O), R;
3671
+ encrypt: function(h, S, R, L) {
3672
+ L = this.cfg.extend(L);
3673
+ var O = L.kdf.execute(R, h.keySize, h.ivSize, L.salt, L.hasher);
3674
+ L.iv = O.iv;
3675
+ var M = v.encrypt.call(this, h, S, O.key, L);
3676
+ return M.mixIn(O), M;
3677
3677
  },
3678
3678
  /**
3679
3679
  * Decrypts serialized ciphertext using a password.
@@ -3692,12 +3692,12 @@ function pe() {
3692
3692
  * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
3693
3693
  * var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
3694
3694
  */
3695
- decrypt: function(x, S, L, G) {
3696
- G = this.cfg.extend(G), S = this._parse(S, G.format);
3697
- var O = G.kdf.execute(L, x.keySize, x.ivSize, S.salt, G.hasher);
3698
- G.iv = O.iv;
3699
- var R = h.decrypt.call(this, x, S, O.key, G);
3700
- return R;
3695
+ decrypt: function(h, S, R, L) {
3696
+ L = this.cfg.extend(L), S = this._parse(S, L.format);
3697
+ var O = L.kdf.execute(R, h.keySize, h.ivSize, S.salt, L.hasher);
3698
+ L.iv = O.iv;
3699
+ var M = v.decrypt.call(this, h, S, O.key, L);
3700
+ return M;
3701
3701
  }
3702
3702
  });
3703
3703
  })();
@@ -3708,7 +3708,7 @@ var ri = { exports: {} }, Yl = ri.exports, Mt;
3708
3708
  function Xl() {
3709
3709
  return Mt || (Mt = 1, (function(e, s) {
3710
3710
  (function(n, t, u) {
3711
- e.exports = t(j(), pe());
3711
+ e.exports = t(j(), ge());
3712
3712
  })(Yl, function(n) {
3713
3713
  return n.mode.CFB = (function() {
3714
3714
  var t = n.lib.BlockCipherMode.extend();
@@ -3738,7 +3738,7 @@ var oi = { exports: {} }, er = oi.exports, Rt;
3738
3738
  function ar() {
3739
3739
  return Rt || (Rt = 1, (function(e, s) {
3740
3740
  (function(n, t, u) {
3741
- e.exports = t(j(), pe());
3741
+ e.exports = t(j(), ge());
3742
3742
  })(er, function(n) {
3743
3743
  return n.mode.CTR = (function() {
3744
3744
  var t = n.lib.BlockCipherMode.extend(), u = t.Encryptor = t.extend({
@@ -3760,7 +3760,7 @@ var mi = { exports: {} }, ir = mi.exports, Pt;
3760
3760
  function tr() {
3761
3761
  return Pt || (Pt = 1, (function(e, s) {
3762
3762
  (function(n, t, u) {
3763
- e.exports = t(j(), pe());
3763
+ e.exports = t(j(), ge());
3764
3764
  })(ir, function(n) {
3765
3765
  return n.mode.CTRGladman = (function() {
3766
3766
  var t = n.lib.BlockCipherMode.extend();
@@ -3794,7 +3794,7 @@ var si = { exports: {} }, nr = si.exports, Ft;
3794
3794
  function lr() {
3795
3795
  return Ft || (Ft = 1, (function(e, s) {
3796
3796
  (function(n, t, u) {
3797
- e.exports = t(j(), pe());
3797
+ e.exports = t(j(), ge());
3798
3798
  })(nr, function(n) {
3799
3799
  return n.mode.OFB = (function() {
3800
3800
  var t = n.lib.BlockCipherMode.extend(), u = t.Encryptor = t.extend({
@@ -3814,7 +3814,7 @@ var ui = { exports: {} }, rr = ui.exports, wt;
3814
3814
  function or() {
3815
3815
  return wt || (wt = 1, (function(e, s) {
3816
3816
  (function(n, t, u) {
3817
- e.exports = t(j(), pe());
3817
+ e.exports = t(j(), ge());
3818
3818
  })(rr, function(n) {
3819
3819
  return n.mode.ECB = (function() {
3820
3820
  var t = n.lib.BlockCipherMode.extend();
@@ -3835,7 +3835,7 @@ var pi = { exports: {} }, mr = pi.exports, Ot;
3835
3835
  function sr() {
3836
3836
  return Ot || (Ot = 1, (function(e, s) {
3837
3837
  (function(n, t, u) {
3838
- e.exports = t(j(), pe());
3838
+ e.exports = t(j(), ge());
3839
3839
  })(mr, function(n) {
3840
3840
  return n.pad.AnsiX923 = {
3841
3841
  pad: function(t, u) {
@@ -3854,7 +3854,7 @@ var gi = { exports: {} }, ur = gi.exports, At;
3854
3854
  function pr() {
3855
3855
  return At || (At = 1, (function(e, s) {
3856
3856
  (function(n, t, u) {
3857
- e.exports = t(j(), pe());
3857
+ e.exports = t(j(), ge());
3858
3858
  })(ur, function(n) {
3859
3859
  return n.pad.Iso10126 = {
3860
3860
  pad: function(t, u) {
@@ -3873,7 +3873,7 @@ var di = { exports: {} }, gr = di.exports, Bt;
3873
3873
  function dr() {
3874
3874
  return Bt || (Bt = 1, (function(e, s) {
3875
3875
  (function(n, t, u) {
3876
- e.exports = t(j(), pe());
3876
+ e.exports = t(j(), ge());
3877
3877
  })(gr, function(n) {
3878
3878
  return n.pad.Iso97971 = {
3879
3879
  pad: function(t, u) {
@@ -3890,7 +3890,7 @@ var ci = { exports: {} }, cr = ci.exports, Ht;
3890
3890
  function fr() {
3891
3891
  return Ht || (Ht = 1, (function(e, s) {
3892
3892
  (function(n, t, u) {
3893
- e.exports = t(j(), pe());
3893
+ e.exports = t(j(), ge());
3894
3894
  })(cr, function(n) {
3895
3895
  return n.pad.ZeroPadding = {
3896
3896
  pad: function(t, u) {
@@ -3912,7 +3912,7 @@ var fi = { exports: {} }, _r = fi.exports, Wt;
3912
3912
  function Ur() {
3913
3913
  return Wt || (Wt = 1, (function(e, s) {
3914
3914
  (function(n, t, u) {
3915
- e.exports = t(j(), pe());
3915
+ e.exports = t(j(), ge());
3916
3916
  })(_r, function(n) {
3917
3917
  return n.pad.NoPadding = {
3918
3918
  pad: function() {
@@ -3927,7 +3927,7 @@ var _i = { exports: {} }, yr = _i.exports, zt;
3927
3927
  function br() {
3928
3928
  return zt || (zt = 1, (function(e, s) {
3929
3929
  (function(n, t, u) {
3930
- e.exports = t(j(), pe());
3930
+ e.exports = t(j(), ge());
3931
3931
  })(yr, function(n) {
3932
3932
  return (function(t) {
3933
3933
  var u = n, p = u.lib, b = p.CipherParams, c = u.enc, g = c.Hex, i = u.format;
@@ -3974,35 +3974,35 @@ var Ui = { exports: {} }, Cr = Ui.exports, Vt;
3974
3974
  function vr() {
3975
3975
  return Vt || (Vt = 1, (function(e, s) {
3976
3976
  (function(n, t, u) {
3977
- e.exports = t(j(), ia(), ta(), Ie(), pe());
3977
+ e.exports = t(j(), ia(), ta(), Ie(), ge());
3978
3978
  })(Cr, function(n) {
3979
3979
  return (function() {
3980
3980
  var t = n, u = t.lib, p = u.BlockCipher, b = t.algo, c = [], g = [], i = [], a = [], m = [], l = [], r = [], o = [], _ = [], f = [];
3981
3981
  (function() {
3982
3982
  for (var y = [], C = 0; C < 256; C++)
3983
3983
  C < 128 ? y[C] = C << 1 : y[C] = C << 1 ^ 283;
3984
- for (var v = 0, h = 0, C = 0; C < 256; C++) {
3985
- var k = h ^ h << 1 ^ h << 2 ^ h << 3 ^ h << 4;
3986
- k = k >>> 8 ^ k & 255 ^ 99, c[v] = k, g[k] = v;
3987
- var D = y[v], w = y[D], x = y[w], S = y[k] * 257 ^ k * 16843008;
3988
- i[v] = S << 24 | S >>> 8, a[v] = S << 16 | S >>> 16, m[v] = S << 8 | S >>> 24, l[v] = S;
3989
- var S = x * 16843009 ^ w * 65537 ^ D * 257 ^ v * 16843008;
3990
- r[k] = S << 24 | S >>> 8, o[k] = S << 16 | S >>> 16, _[k] = S << 8 | S >>> 24, f[k] = S, v ? (v = D ^ y[y[y[x ^ D]]], h ^= y[y[h]]) : v = h = 1;
3984
+ for (var x = 0, v = 0, C = 0; C < 256; C++) {
3985
+ var k = v ^ v << 1 ^ v << 2 ^ v << 3 ^ v << 4;
3986
+ k = k >>> 8 ^ k & 255 ^ 99, c[x] = k, g[k] = x;
3987
+ var D = y[x], F = y[D], h = y[F], S = y[k] * 257 ^ k * 16843008;
3988
+ i[x] = S << 24 | S >>> 8, a[x] = S << 16 | S >>> 16, m[x] = S << 8 | S >>> 24, l[x] = S;
3989
+ var S = h * 16843009 ^ F * 65537 ^ D * 257 ^ x * 16843008;
3990
+ r[k] = S << 24 | S >>> 8, o[k] = S << 16 | S >>> 16, _[k] = S << 8 | S >>> 24, f[k] = S, x ? (x = D ^ y[y[y[h ^ D]]], v ^= y[y[v]]) : x = v = 1;
3991
3991
  }
3992
3992
  })();
3993
3993
  var U = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], d = b.AES = p.extend({
3994
3994
  _doReset: function() {
3995
3995
  var y;
3996
3996
  if (!(this._nRounds && this._keyPriorReset === this._key)) {
3997
- for (var C = this._keyPriorReset = this._key, v = C.words, h = C.sigBytes / 4, k = this._nRounds = h + 6, D = (k + 1) * 4, w = this._keySchedule = [], x = 0; x < D; x++)
3998
- x < h ? w[x] = v[x] : (y = w[x - 1], x % h ? h > 6 && x % h == 4 && (y = c[y >>> 24] << 24 | c[y >>> 16 & 255] << 16 | c[y >>> 8 & 255] << 8 | c[y & 255]) : (y = y << 8 | y >>> 24, y = c[y >>> 24] << 24 | c[y >>> 16 & 255] << 16 | c[y >>> 8 & 255] << 8 | c[y & 255], y ^= U[x / h | 0] << 24), w[x] = w[x - h] ^ y);
3999
- for (var S = this._invKeySchedule = [], L = 0; L < D; L++) {
4000
- var x = D - L;
4001
- if (L % 4)
4002
- var y = w[x];
3997
+ for (var C = this._keyPriorReset = this._key, x = C.words, v = C.sigBytes / 4, k = this._nRounds = v + 6, D = (k + 1) * 4, F = this._keySchedule = [], h = 0; h < D; h++)
3998
+ h < v ? F[h] = x[h] : (y = F[h - 1], h % v ? v > 6 && h % v == 4 && (y = c[y >>> 24] << 24 | c[y >>> 16 & 255] << 16 | c[y >>> 8 & 255] << 8 | c[y & 255]) : (y = y << 8 | y >>> 24, y = c[y >>> 24] << 24 | c[y >>> 16 & 255] << 16 | c[y >>> 8 & 255] << 8 | c[y & 255], y ^= U[h / v | 0] << 24), F[h] = F[h - v] ^ y);
3999
+ for (var S = this._invKeySchedule = [], R = 0; R < D; R++) {
4000
+ var h = D - R;
4001
+ if (R % 4)
4002
+ var y = F[h];
4003
4003
  else
4004
- var y = w[x - 4];
4005
- L < 4 || x <= 4 ? S[L] = y : S[L] = r[c[y >>> 24]] ^ o[c[y >>> 16 & 255]] ^ _[c[y >>> 8 & 255]] ^ f[c[y & 255]];
4004
+ var y = F[h - 4];
4005
+ R < 4 || h <= 4 ? S[R] = y : S[R] = r[c[y >>> 24]] ^ o[c[y >>> 16 & 255]] ^ _[c[y >>> 8 & 255]] ^ f[c[y & 255]];
4006
4006
  }
4007
4007
  }
4008
4008
  },
@@ -4010,17 +4010,17 @@ function vr() {
4010
4010
  this._doCryptBlock(y, C, this._keySchedule, i, a, m, l, c);
4011
4011
  },
4012
4012
  decryptBlock: function(y, C) {
4013
- var v = y[C + 1];
4014
- y[C + 1] = y[C + 3], y[C + 3] = v, this._doCryptBlock(y, C, this._invKeySchedule, r, o, _, f, g);
4015
- var v = y[C + 1];
4016
- y[C + 1] = y[C + 3], y[C + 3] = v;
4013
+ var x = y[C + 1];
4014
+ y[C + 1] = y[C + 3], y[C + 3] = x, this._doCryptBlock(y, C, this._invKeySchedule, r, o, _, f, g);
4015
+ var x = y[C + 1];
4016
+ y[C + 1] = y[C + 3], y[C + 3] = x;
4017
4017
  },
4018
- _doCryptBlock: function(y, C, v, h, k, D, w, x) {
4019
- for (var S = this._nRounds, L = y[C] ^ v[0], G = y[C + 1] ^ v[1], O = y[C + 2] ^ v[2], R = y[C + 3] ^ v[3], P = 4, z = 1; z < S; z++) {
4020
- var A = h[L >>> 24] ^ k[G >>> 16 & 255] ^ D[O >>> 8 & 255] ^ w[R & 255] ^ v[P++], B = h[G >>> 24] ^ k[O >>> 16 & 255] ^ D[R >>> 8 & 255] ^ w[L & 255] ^ v[P++], W = h[O >>> 24] ^ k[R >>> 16 & 255] ^ D[L >>> 8 & 255] ^ w[G & 255] ^ v[P++], E = h[R >>> 24] ^ k[L >>> 16 & 255] ^ D[G >>> 8 & 255] ^ w[O & 255] ^ v[P++];
4021
- L = A, G = B, O = W, R = E;
4018
+ _doCryptBlock: function(y, C, x, v, k, D, F, h) {
4019
+ for (var S = this._nRounds, R = y[C] ^ x[0], L = y[C + 1] ^ x[1], O = y[C + 2] ^ x[2], M = y[C + 3] ^ x[3], P = 4, z = 1; z < S; z++) {
4020
+ var A = v[R >>> 24] ^ k[L >>> 16 & 255] ^ D[O >>> 8 & 255] ^ F[M & 255] ^ x[P++], B = v[L >>> 24] ^ k[O >>> 16 & 255] ^ D[M >>> 8 & 255] ^ F[R & 255] ^ x[P++], W = v[O >>> 24] ^ k[M >>> 16 & 255] ^ D[R >>> 8 & 255] ^ F[L & 255] ^ x[P++], E = v[M >>> 24] ^ k[R >>> 16 & 255] ^ D[L >>> 8 & 255] ^ F[O & 255] ^ x[P++];
4021
+ R = A, L = B, O = W, M = E;
4022
4022
  }
4023
- var A = (x[L >>> 24] << 24 | x[G >>> 16 & 255] << 16 | x[O >>> 8 & 255] << 8 | x[R & 255]) ^ v[P++], B = (x[G >>> 24] << 24 | x[O >>> 16 & 255] << 16 | x[R >>> 8 & 255] << 8 | x[L & 255]) ^ v[P++], W = (x[O >>> 24] << 24 | x[R >>> 16 & 255] << 16 | x[L >>> 8 & 255] << 8 | x[G & 255]) ^ v[P++], E = (x[R >>> 24] << 24 | x[L >>> 16 & 255] << 16 | x[G >>> 8 & 255] << 8 | x[O & 255]) ^ v[P++];
4023
+ var A = (h[R >>> 24] << 24 | h[L >>> 16 & 255] << 16 | h[O >>> 8 & 255] << 8 | h[M & 255]) ^ x[P++], B = (h[L >>> 24] << 24 | h[O >>> 16 & 255] << 16 | h[M >>> 8 & 255] << 8 | h[R & 255]) ^ x[P++], W = (h[O >>> 24] << 24 | h[M >>> 16 & 255] << 16 | h[R >>> 8 & 255] << 8 | h[L & 255]) ^ x[P++], E = (h[M >>> 24] << 24 | h[R >>> 16 & 255] << 16 | h[L >>> 8 & 255] << 8 | h[O & 255]) ^ x[P++];
4024
4024
  y[C] = A, y[C + 1] = B, y[C + 2] = W, y[C + 3] = E;
4025
4025
  },
4026
4026
  keySize: 256 / 32
@@ -4034,7 +4034,7 @@ var yi = { exports: {} }, Tr = yi.exports, Zt;
4034
4034
  function hr() {
4035
4035
  return Zt || (Zt = 1, (function(e, s) {
4036
4036
  (function(n, t, u) {
4037
- e.exports = t(j(), ia(), ta(), Ie(), pe());
4037
+ e.exports = t(j(), ia(), ta(), Ie(), ge());
4038
4038
  })(Tr, function(n) {
4039
4039
  return (function() {
4040
4040
  var t = n, u = t.lib, p = u.WordArray, b = u.BlockCipher, c = t.algo, g = [
@@ -4684,19 +4684,19 @@ function hr() {
4684
4684
  ], r = c.DES = b.extend({
4685
4685
  _doReset: function() {
4686
4686
  for (var U = this._key, d = U.words, y = [], C = 0; C < 56; C++) {
4687
- var v = g[C] - 1;
4688
- y[C] = d[v >>> 5] >>> 31 - v % 32 & 1;
4687
+ var x = g[C] - 1;
4688
+ y[C] = d[x >>> 5] >>> 31 - x % 32 & 1;
4689
4689
  }
4690
- for (var h = this._subKeys = [], k = 0; k < 16; k++) {
4691
- for (var D = h[k] = [], w = a[k], C = 0; C < 24; C++)
4692
- D[C / 6 | 0] |= y[(i[C] - 1 + w) % 28] << 31 - C % 6, D[4 + (C / 6 | 0)] |= y[28 + (i[C + 24] - 1 + w) % 28] << 31 - C % 6;
4690
+ for (var v = this._subKeys = [], k = 0; k < 16; k++) {
4691
+ for (var D = v[k] = [], F = a[k], C = 0; C < 24; C++)
4692
+ D[C / 6 | 0] |= y[(i[C] - 1 + F) % 28] << 31 - C % 6, D[4 + (C / 6 | 0)] |= y[28 + (i[C + 24] - 1 + F) % 28] << 31 - C % 6;
4693
4693
  D[0] = D[0] << 1 | D[0] >>> 31;
4694
4694
  for (var C = 1; C < 7; C++)
4695
4695
  D[C] = D[C] >>> (C - 1) * 4 + 3;
4696
4696
  D[7] = D[7] << 5 | D[7] >>> 27;
4697
4697
  }
4698
- for (var x = this._invSubKeys = [], C = 0; C < 16; C++)
4699
- x[C] = h[15 - C];
4698
+ for (var h = this._invSubKeys = [], C = 0; C < 16; C++)
4699
+ h[C] = v[15 - C];
4700
4700
  },
4701
4701
  encryptBlock: function(U, d) {
4702
4702
  this._doCryptBlock(U, d, this._subKeys);
@@ -4707,12 +4707,12 @@ function hr() {
4707
4707
  _doCryptBlock: function(U, d, y) {
4708
4708
  this._lBlock = U[d], this._rBlock = U[d + 1], o.call(this, 4, 252645135), o.call(this, 16, 65535), _.call(this, 2, 858993459), _.call(this, 8, 16711935), o.call(this, 1, 1431655765);
4709
4709
  for (var C = 0; C < 16; C++) {
4710
- for (var v = y[C], h = this._lBlock, k = this._rBlock, D = 0, w = 0; w < 8; w++)
4711
- D |= m[w][((k ^ v[w]) & l[w]) >>> 0];
4712
- this._lBlock = k, this._rBlock = h ^ D;
4710
+ for (var x = y[C], v = this._lBlock, k = this._rBlock, D = 0, F = 0; F < 8; F++)
4711
+ D |= m[F][((k ^ x[F]) & l[F]) >>> 0];
4712
+ this._lBlock = k, this._rBlock = v ^ D;
4713
4713
  }
4714
- var x = this._lBlock;
4715
- this._lBlock = this._rBlock, this._rBlock = x, o.call(this, 1, 1431655765), _.call(this, 8, 16711935), _.call(this, 2, 858993459), o.call(this, 16, 65535), o.call(this, 4, 252645135), U[d] = this._lBlock, U[d + 1] = this._rBlock;
4714
+ var h = this._lBlock;
4715
+ this._lBlock = this._rBlock, this._rBlock = h, o.call(this, 1, 1431655765), _.call(this, 8, 16711935), _.call(this, 2, 858993459), o.call(this, 16, 65535), o.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,
@@ -4732,8 +4732,8 @@ function hr() {
4732
4732
  var U = this._key, d = U.words;
4733
4733
  if (d.length !== 2 && d.length !== 4 && d.length < 6)
4734
4734
  throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
4735
- var y = d.slice(0, 2), C = d.length < 4 ? d.slice(0, 2) : d.slice(2, 4), v = d.length < 6 ? d.slice(0, 2) : d.slice(4, 6);
4736
- this._des1 = r.createEncryptor(p.create(y)), this._des2 = r.createEncryptor(p.create(C)), this._des3 = r.createEncryptor(p.create(v));
4735
+ var y = d.slice(0, 2), C = d.length < 4 ? d.slice(0, 2) : d.slice(2, 4), x = d.length < 6 ? d.slice(0, 2) : d.slice(4, 6);
4736
+ this._des1 = r.createEncryptor(p.create(y)), this._des2 = r.createEncryptor(p.create(C)), this._des3 = r.createEncryptor(p.create(x));
4737
4737
  },
4738
4738
  encryptBlock: function(U, d) {
4739
4739
  this._des1.encryptBlock(U, d), this._des2.decryptBlock(U, d), this._des3.encryptBlock(U, d);
@@ -4754,7 +4754,7 @@ var bi = { exports: {} }, kr = bi.exports, Jt;
4754
4754
  function xr() {
4755
4755
  return Jt || (Jt = 1, (function(e, s) {
4756
4756
  (function(n, t, u) {
4757
- e.exports = t(j(), ia(), ta(), Ie(), pe());
4757
+ e.exports = t(j(), ia(), ta(), Ie(), ge());
4758
4758
  })(kr, function(n) {
4759
4759
  return (function() {
4760
4760
  var t = n, u = t.lib, p = u.StreamCipher, b = t.algo, c = b.RC4 = p.extend({
@@ -4808,7 +4808,7 @@ var Ci = { exports: {} }, Sr = Ci.exports, It;
4808
4808
  function Dr() {
4809
4809
  return It || (It = 1, (function(e, s) {
4810
4810
  (function(n, t, u) {
4811
- e.exports = t(j(), ia(), ta(), Ie(), pe());
4811
+ e.exports = t(j(), ia(), ta(), Ie(), ge());
4812
4812
  })(Sr, function(n) {
4813
4813
  return (function() {
4814
4814
  var t = n, u = t.lib, p = u.StreamCipher, b = t.algo, c = [], g = [], i = [], a = b.Rabbit = p.extend({
@@ -4840,8 +4840,8 @@ function Dr() {
4840
4840
  for (var o = 0; o < 8; o++)
4841
4841
  f[o] ^= _[o + 4 & 7];
4842
4842
  if (r) {
4843
- var U = r.words, d = U[0], y = U[1], C = (d << 8 | d >>> 24) & 16711935 | (d << 24 | d >>> 8) & 4278255360, v = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, h = C >>> 16 | v & 4294901760, k = v << 16 | C & 65535;
4844
- f[0] ^= C, f[1] ^= h, f[2] ^= v, f[3] ^= k, f[4] ^= C, f[5] ^= h, f[6] ^= v, f[7] ^= k;
4843
+ var U = r.words, d = U[0], y = U[1], C = (d << 8 | d >>> 24) & 16711935 | (d << 24 | d >>> 8) & 4278255360, x = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, v = C >>> 16 | x & 4294901760, k = x << 16 | C & 65535;
4844
+ f[0] ^= C, f[1] ^= v, f[2] ^= x, f[3] ^= k, f[4] ^= C, f[5] ^= v, f[6] ^= x, f[7] ^= k;
4845
4845
  for (var o = 0; o < 4; o++)
4846
4846
  m.call(this);
4847
4847
  }
@@ -4874,7 +4874,7 @@ var vi = { exports: {} }, Er = vi.exports, Kt;
4874
4874
  function Nr() {
4875
4875
  return Kt || (Kt = 1, (function(e, s) {
4876
4876
  (function(n, t, u) {
4877
- e.exports = t(j(), ia(), ta(), Ie(), pe());
4877
+ e.exports = t(j(), ia(), ta(), Ie(), ge());
4878
4878
  })(Er, function(n) {
4879
4879
  return (function() {
4880
4880
  var t = n, u = t.lib, p = u.StreamCipher, b = t.algo, c = [], g = [], i = [], a = b.RabbitLegacy = p.extend({
@@ -4904,8 +4904,8 @@ function Nr() {
4904
4904
  for (var f = 0; f < 8; f++)
4905
4905
  _[f] ^= o[f + 4 & 7];
4906
4906
  if (r) {
4907
- var U = r.words, d = U[0], y = U[1], C = (d << 8 | d >>> 24) & 16711935 | (d << 24 | d >>> 8) & 4278255360, v = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, h = C >>> 16 | v & 4294901760, k = v << 16 | C & 65535;
4908
- _[0] ^= C, _[1] ^= h, _[2] ^= v, _[3] ^= k, _[4] ^= C, _[5] ^= h, _[6] ^= v, _[7] ^= k;
4907
+ var U = r.words, d = U[0], y = U[1], C = (d << 8 | d >>> 24) & 16711935 | (d << 24 | d >>> 8) & 4278255360, x = (y << 8 | y >>> 24) & 16711935 | (y << 24 | y >>> 8) & 4278255360, v = C >>> 16 | x & 4294901760, k = x << 16 | C & 65535;
4908
+ _[0] ^= C, _[1] ^= v, _[2] ^= x, _[3] ^= k, _[4] ^= C, _[5] ^= v, _[6] ^= x, _[7] ^= k;
4909
4909
  for (var f = 0; f < 4; f++)
4910
4910
  m.call(this);
4911
4911
  }
@@ -4938,7 +4938,7 @@ var Ti = { exports: {} }, Lr = Ti.exports, qt;
4938
4938
  function Gr() {
4939
4939
  return qt || (qt = 1, (function(e, s) {
4940
4940
  (function(n, t, u) {
4941
- e.exports = t(j(), ia(), ta(), Ie(), pe());
4941
+ e.exports = t(j(), ia(), ta(), Ie(), ge());
4942
4942
  })(Lr, function(n) {
4943
4943
  return (function() {
4944
4944
  var t = n, u = t.lib, p = u.BlockCipher, b = t.algo;
@@ -6000,20 +6000,20 @@ function Gr() {
6000
6000
  sbox: []
6001
6001
  };
6002
6002
  function m(f, U) {
6003
- let d = U >> 24 & 255, y = U >> 16 & 255, C = U >> 8 & 255, v = U & 255, h = f.sbox[0][d] + f.sbox[1][y];
6004
- return h = h ^ f.sbox[2][C], h = h + f.sbox[3][v], h;
6003
+ let d = U >> 24 & 255, y = U >> 16 & 255, C = U >> 8 & 255, x = U & 255, v = f.sbox[0][d] + f.sbox[1][y];
6004
+ return v = v ^ f.sbox[2][C], v = v + f.sbox[3][x], v;
6005
6005
  }
6006
6006
  function l(f, U, d) {
6007
- let y = U, C = d, v;
6008
- for (let h = 0; h < c; ++h)
6009
- y = y ^ f.pbox[h], C = m(f, y) ^ C, v = y, y = C, C = v;
6010
- return v = y, y = C, C = v, C = C ^ f.pbox[c], y = y ^ f.pbox[c + 1], { left: y, right: C };
6007
+ let y = U, C = d, x;
6008
+ for (let v = 0; v < c; ++v)
6009
+ y = y ^ f.pbox[v], C = m(f, y) ^ C, x = y, y = C, C = x;
6010
+ return x = y, y = C, C = x, C = C ^ f.pbox[c], y = y ^ f.pbox[c + 1], { left: y, right: C };
6011
6011
  }
6012
6012
  function r(f, U, d) {
6013
- let y = U, C = d, v;
6014
- for (let h = c + 1; h > 1; --h)
6015
- y = y ^ f.pbox[h], C = m(f, y) ^ C, v = y, y = C, C = v;
6016
- return v = y, y = C, C = v, C = C ^ f.pbox[1], y = y ^ f.pbox[0], { left: y, right: C };
6013
+ let y = U, C = d, x;
6014
+ for (let v = c + 1; v > 1; --v)
6015
+ y = y ^ f.pbox[v], C = m(f, y) ^ C, x = y, y = C, C = x;
6016
+ return x = y, y = C, C = x, C = C ^ f.pbox[1], y = y ^ f.pbox[0], { left: y, right: C };
6017
6017
  }
6018
6018
  function o(f, U, d) {
6019
6019
  for (let k = 0; k < 4; k++) {
@@ -6024,12 +6024,12 @@ function Gr() {
6024
6024
  let y = 0;
6025
6025
  for (let k = 0; k < c + 2; k++)
6026
6026
  f.pbox[k] = g[k] ^ U[y], y++, y >= d && (y = 0);
6027
- let C = 0, v = 0, h = 0;
6027
+ let C = 0, x = 0, v = 0;
6028
6028
  for (let k = 0; k < c + 2; k += 2)
6029
- h = l(f, C, v), C = h.left, v = h.right, f.pbox[k] = C, f.pbox[k + 1] = v;
6029
+ v = l(f, C, x), C = v.left, x = v.right, f.pbox[k] = C, f.pbox[k + 1] = x;
6030
6030
  for (let k = 0; k < 4; k++)
6031
6031
  for (let D = 0; D < 256; D += 2)
6032
- h = l(f, C, v), C = h.left, v = h.right, f.sbox[k][D] = C, f.sbox[k][D + 1] = v;
6032
+ v = l(f, C, x), C = v.left, x = v.right, f.sbox[k][D] = C, f.sbox[k][D + 1] = x;
6033
6033
  return !0;
6034
6034
  }
6035
6035
  var _ = b.Blowfish = p.extend({
@@ -6060,14 +6060,14 @@ var Mr = Wa.exports, $t;
6060
6060
  function Rr() {
6061
6061
  return $t || ($t = 1, (function(e, s) {
6062
6062
  (function(n, t, u) {
6063
- e.exports = t(j(), Si(), Nl(), Gl(), ia(), Pl(), ta(), Rn(), $i(), Bl(), Pn(), zl(), Zl(), Il(), ji(), $l(), Ie(), pe(), Xl(), ar(), tr(), lr(), or(), sr(), pr(), dr(), fr(), Ur(), br(), vr(), hr(), xr(), Dr(), Nr(), Gr());
6063
+ e.exports = t(j(), Si(), Nl(), Gl(), ia(), Pl(), ta(), Pn(), $i(), Bl(), Fn(), zl(), Zl(), Il(), ji(), $l(), Ie(), ge(), Xl(), ar(), tr(), lr(), or(), sr(), pr(), dr(), fr(), 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
- var Fn = Rr();
6070
- const Ye = /* @__PURE__ */ qi(Fn), Je = (e) => {
6069
+ var wn = Rr();
6070
+ const Ye = /* @__PURE__ */ qi(wn), Je = (e) => {
6071
6071
  const s = "mySecretPassphrase", n = Ye.lib.WordArray.random(16), t = Ye.PBKDF2(s, n, {
6072
6072
  keySize: 128 / 32,
6073
6073
  iterations: 1e3
@@ -6077,142 +6077,150 @@ const Ye = /* @__PURE__ */ qi(Fn), Je = (e) => {
6077
6077
  padding: Ye.pad.Pkcs7
6078
6078
  }), p = n.toString(Ye.enc.Base64), b = Ye.enc.Base64.stringify(u.ciphertext);
6079
6079
  return p + ":" + b;
6080
- }, ge = () => {
6080
+ }, se = () => {
6081
6081
  const { client: e, formDataClient: s } = te(), n = J(
6082
6082
  async (v) => {
6083
- const { mac_address: h = "", app_version: k = "", anydesk_id: D = "" } = v, { data: w } = await e.post("/cash-register/login", {
6084
- mac_address: h,
6085
- app_version: k,
6086
- anydesk_id: D
6083
+ const { mac_address: k = "", app_version: D = "", anydesk_id: F = "" } = v, { data: h } = await e.post("/cash-register/login", {
6084
+ mac_address: k,
6085
+ app_version: D,
6086
+ anydesk_id: F
6087
6087
  });
6088
- return w;
6088
+ return h;
6089
6089
  },
6090
6090
  [e]
6091
6091
  ), t = J(async () => e.get("/member/getMemberInfo"), [e]), u = J(async () => await e.get("/member/getGameList"), [e]), p = J(async () => await e.get("/member/getNowCurrencyExchange"), [e]), b = J(async () => await e.get("member/getFavoriteGame"), [e]), c = J(
6092
6092
  async (v) => {
6093
- const { account: h, password: k, trans_code: D } = v;
6093
+ const { account: k, password: D, trans_code: F } = v;
6094
6094
  return await e.post("/login", {
6095
- memId: h,
6096
- passwd: k,
6097
- trans_code: D
6095
+ memId: k,
6096
+ passwd: D,
6097
+ trans_code: F
6098
6098
  });
6099
6099
  },
6100
6100
  [e]
6101
6101
  ), g = J(async () => await e.post("/logout"), [e]), i = J(
6102
6102
  async (v) => {
6103
- const { gameUid: h = "", status: k = 0 } = v;
6104
- return await e.put(`/member/toggleFavoriteGame/${h}`, {
6105
- status: k
6103
+ const { gameUid: k = "", status: D = 0 } = v;
6104
+ return await e.put(`/member/toggleFavoriteGame/${k}`, {
6105
+ status: D
6106
6106
  });
6107
6107
  },
6108
6108
  [e]
6109
6109
  ), a = J(async () => await e.get("/profit/ranking"), [e]), m = J(
6110
6110
  async ({
6111
6111
  memberId: v,
6112
- password: h,
6113
- unlimitCode: k,
6114
- email: D,
6115
- inviteCode: w,
6116
- currencyCode: x,
6117
- validCode: S
6112
+ password: k,
6113
+ unlimitCode: D,
6114
+ email: F,
6115
+ inviteCode: h,
6116
+ currencyCode: S,
6117
+ validCode: R
6118
6118
  }) => {
6119
6119
  const L = {
6120
6120
  memId: v,
6121
- passwd: Je(h),
6122
- email: D,
6123
- currency_code: x,
6124
- code: S
6121
+ passwd: Je(k),
6122
+ email: F,
6123
+ currency_code: S,
6124
+ code: R
6125
6125
  };
6126
- return k && (L.unlimit_code = k), w && (L.invite = w), e.post("/signUp", L);
6126
+ return D && (L.unlimit_code = D), h && (L.invite = h), e.post("/signUp", L);
6127
6127
  },
6128
6128
  [e]
6129
6129
  ), l = J(
6130
6130
  async (v) => {
6131
- const { name: h, birthday: k, email: D, mobile: w } = v;
6131
+ const { name: k, birthday: D, email: F, mobile: h } = v;
6132
6132
  return await e.post("/editMembetInfo", {
6133
- name: h,
6133
+ name: k,
6134
6134
  // 暱稱
6135
- birthday: k,
6135
+ birthday: D,
6136
6136
  // 生日 (格式:YYYY-MM-DD)
6137
- email: D,
6137
+ email: F,
6138
6138
  // 電子郵件
6139
- mobile: w
6139
+ mobile: h
6140
6140
  // 手機號碼
6141
6141
  });
6142
6142
  },
6143
6143
  [e]
6144
6144
  ), r = J(
6145
6145
  async (v) => {
6146
- const { oldPwd: h, newPwd: k } = v;
6146
+ const { oldPwd: k, newPwd: D } = v;
6147
6147
  return await e.post("/passwordReset", {
6148
- old_pwd: Je(h),
6149
- new_pwd: Je(k)
6148
+ old_pwd: Je(k),
6149
+ new_pwd: Je(D)
6150
6150
  });
6151
6151
  },
6152
6152
  [e]
6153
6153
  ), o = J(
6154
6154
  async (v) => {
6155
- const { newPwd: h, confirmNewPwd: k } = v;
6155
+ const { newPwd: k, confirmNewPwd: D } = v;
6156
6156
  return await e.post("/setWithdrawPassword", {
6157
- newPassword: Je(h),
6158
- confirmPassword: Je(k)
6157
+ newPassword: Je(k),
6158
+ confirmPassword: Je(D)
6159
6159
  });
6160
6160
  },
6161
6161
  [e]
6162
6162
  ), _ = J(
6163
6163
  async (v) => {
6164
- const { oldPwd: h, newPwd: k } = v;
6164
+ const { oldPwd: k, newPwd: D } = v;
6165
6165
  return await e.post("/withdrawPasswordReset", {
6166
- old_pwd: Je(h),
6167
- new_pwd: Je(k)
6166
+ old_pwd: Je(k),
6167
+ new_pwd: Je(D)
6168
6168
  });
6169
6169
  },
6170
6170
  [e]
6171
6171
  ), f = J(
6172
6172
  async ({ paramsData: v }) => {
6173
- const { start_time: h, end_time: k, limit: D = 25 } = v || {};
6173
+ const { start_time: k, end_time: D, limit: F = 25 } = v || {};
6174
6174
  return await e.get("/report/totalprofit", {
6175
6175
  params: {
6176
- start_time: `${_e(h).format("YYYY-MM-DD")} 12:00:00`,
6177
- end_time: `${_e(k).format("YYYY-MM-DD")} 11:59:59`,
6178
- limit: D
6176
+ start_time: `${_e(k).format("YYYY-MM-DD")} 12:00:00`,
6177
+ end_time: `${_e(D).format("YYYY-MM-DD")} 11:59:59`,
6178
+ limit: F
6179
6179
  }
6180
6180
  });
6181
6181
  },
6182
6182
  [e]
6183
6183
  ), U = J(
6184
6184
  async (v) => {
6185
- const { platform: h } = v;
6185
+ const { platform: k } = v;
6186
6186
  return await e.post("/member/all-in-la", {
6187
- platform: h
6187
+ platform: k
6188
6188
  });
6189
6189
  },
6190
6190
  [e]
6191
6191
  ), d = J(async () => await e.get("/member/checkRestrictedWagering"), [e]), y = J(
6192
6192
  async (v) => {
6193
- const { memId: h, point: k, currency: D, password: w } = v;
6193
+ const { memId: k, point: D, currency: F, password: h } = v;
6194
6194
  return await e.post("/pointsTransaction", {
6195
- to_memId: h,
6196
- point: k,
6197
- currency: D,
6198
- password: Je(w)
6195
+ to_memId: k,
6196
+ point: D,
6197
+ currency: F,
6198
+ password: Je(h)
6199
6199
  });
6200
6200
  },
6201
6201
  [e]
6202
6202
  ), C = J(
6203
6203
  async ({ formData: v }) => {
6204
6204
  const {
6205
- bank_name: h,
6206
- bank_account_name: k,
6207
- bank_branch_name: D,
6208
- bank_account: w,
6209
- bank_card_number: x,
6210
- id_card: S,
6205
+ bank_name: k,
6206
+ bank_account_name: D,
6207
+ bank_branch_name: F,
6208
+ bank_account: h,
6209
+ bank_card_number: S,
6210
+ id_card: R,
6211
6211
  id_pic: L
6212
6212
  } = v;
6213
6213
  return await s.post("/bindBankAccount", v);
6214
6214
  },
6215
6215
  [s]
6216
+ ), x = J(
6217
+ async (v) => {
6218
+ const { point_transfer: k } = v;
6219
+ return await e.post("/cash-register/clear", {
6220
+ point_transfer: k
6221
+ });
6222
+ },
6223
+ [e]
6216
6224
  );
6217
6225
  return {
6218
6226
  machineLoginApi: n,
@@ -6233,10 +6241,11 @@ const Ye = /* @__PURE__ */ qi(Fn), Je = (e) => {
6233
6241
  userBindBankApi: C,
6234
6242
  transferInGameApi: U,
6235
6243
  checkUserWagerApi: d,
6236
- pointTransferApi: y
6244
+ pointTransferApi: y,
6245
+ abandonPointsApi: x
6237
6246
  };
6238
6247
  }, om = ({ otherQueryKey: e = [], options: s = {} } = {}) => {
6239
- const { userCurrencyExchangeApi: n } = ge(), { getToken: t } = te(), { enabled: u, ...p } = s, c = !!t?.() && (u ? u.every((g) => g) : !0);
6248
+ const { userCurrencyExchangeApi: n } = se(), { getToken: t } = te(), { enabled: u, ...p } = s, c = !!t?.() && (u ? u.every((g) => g) : !0);
6240
6249
  return Cn({
6241
6250
  queries: [
6242
6251
  {
@@ -6254,7 +6263,7 @@ const Ye = /* @__PURE__ */ qi(Fn), Je = (e) => {
6254
6263
  trigger: s = [],
6255
6264
  enabled: n = !0
6256
6265
  } = {}) => {
6257
- const { getToken: t } = te(), u = t?.(), { userInfoApi: p } = ge();
6266
+ const { getToken: t } = te(), u = t?.(), { userInfoApi: p } = se();
6258
6267
  return Cn({
6259
6268
  queries: [
6260
6269
  {
@@ -6271,7 +6280,7 @@ const Ye = /* @__PURE__ */ qi(Fn), Je = (e) => {
6271
6280
  userFavoriteGameApi: n,
6272
6281
  userGameListApi: t,
6273
6282
  userCurrencyExchangeApi: u
6274
- } = ge(), p = X({
6283
+ } = se(), p = X({
6275
6284
  queryKey: ["getMemInfo"],
6276
6285
  queryFn: async () => s(),
6277
6286
  enabled: e
@@ -6365,7 +6374,7 @@ const Ye = /* @__PURE__ */ qi(Fn), Je = (e) => {
6365
6374
  return X({
6366
6375
  queryKey: ["getBetRecord"],
6367
6376
  queryFn: async () => await n(s),
6368
- select: (t) => vn(t).map(([p, b]) => ({
6377
+ select: (t) => Tn(t).map(([p, b]) => ({
6369
6378
  ...b,
6370
6379
  platform: p
6371
6380
  })),
@@ -6467,7 +6476,7 @@ function Xi() {
6467
6476
  return Oe.setUpSocketIOPing = t, Oe;
6468
6477
  }
6469
6478
  var Aa = {}, Xt;
6470
- function wn() {
6479
+ function On() {
6471
6480
  if (Xt) return Aa;
6472
6481
  Xt = 1, Object.defineProperty(Aa, "__esModule", { value: !0 }), Aa.heartbeat = n;
6473
6482
  var e = Re();
@@ -6554,7 +6563,7 @@ function wr() {
6554
6563
  }, e.apply(this, arguments);
6555
6564
  };
6556
6565
  Object.defineProperty(Xe, "__esModule", { value: !0 }), Xe.attachListeners = void 0;
6557
- var s = Xi(), n = wn(), t = Re(), u = at(), p = function(a, m, l, r) {
6566
+ var s = Xi(), n = On(), t = Re(), u = at(), p = function(a, m, l, r) {
6558
6567
  a.onmessage = function(o) {
6559
6568
  var _;
6560
6569
  m.current.onMessage && m.current.onMessage(o), typeof r?.current == "number" && (r.current = Date.now()), !(typeof m.current.filter == "function" && m.current.filter(o) !== !0) && (m.current.heartbeat && typeof m.current.heartbeat != "boolean" && ((_ = m.current.heartbeat) === null || _ === void 0 ? void 0 : _.returnMessage) === o.data || l(o));
@@ -6603,9 +6612,9 @@ function wr() {
6603
6612
  return _ && window.clearTimeout(_);
6604
6613
  };
6605
6614
  }, i = function(a, m, l, r, o, _, f) {
6606
- var U = m.setLastMessage, d = m.setReadyState, y, C, v;
6607
- return l.current.fromSocketIO && (y = (0, s.setUpSocketIOPing)(f)), p(a, l, U, _), b(a, l, d, o, _), C = c(a, l, d, r, o), v = g(a, l, d, r, o), function() {
6608
- d(t.ReadyState.CLOSING), C(), v(), a.close(), y && clearInterval(y);
6615
+ var U = m.setLastMessage, d = m.setReadyState, y, C, x;
6616
+ return l.current.fromSocketIO && (y = (0, s.setUpSocketIOPing)(f)), p(a, l, U, _), b(a, l, d, o, _), C = c(a, l, d, r, o), x = g(a, l, d, r, o), function() {
6617
+ d(t.ReadyState.CLOSING), C(), x(), a.close(), y && clearInterval(y);
6609
6618
  };
6610
6619
  };
6611
6620
  return Xe.attachListeners = i, Xe;
@@ -6624,7 +6633,7 @@ function Or() {
6624
6633
  }, e.apply(this, arguments);
6625
6634
  };
6626
6635
  Object.defineProperty(ea, "__esModule", { value: !0 }), ea.attachSharedListeners = void 0;
6627
- var s = Yi(), n = Re(), t = et(), u = Xi(), p = wn(), b = function(m, l, r) {
6636
+ var s = Yi(), n = Re(), t = et(), u = Xi(), p = On(), b = function(m, l, r) {
6628
6637
  m.onmessage = function(o) {
6629
6638
  (0, t.getSubscribers)(l).forEach(function(_) {
6630
6639
  var f;
@@ -6817,7 +6826,7 @@ function Br() {
6817
6826
  for (var a = [], m = 2; m < arguments.length; m++)
6818
6827
  a[m - 2] = arguments[m];
6819
6828
  return s(void 0, t([g, i], a, !0), void 0, function(l, r, o) {
6820
- var _, f, U, d, y, C, v, h;
6829
+ var _, f, U, d, y, C, x, v;
6821
6830
  return o === void 0 && (o = 0), n(this, function(k) {
6822
6831
  switch (k.label) {
6823
6832
  case 0:
@@ -6832,7 +6841,7 @@ function Br() {
6832
6841
  case 4:
6833
6842
  return k.sent(), [2, (0, e.getUrl)(l, r, o + 1)];
6834
6843
  case 5:
6835
- return (h = (v = r.current).onReconnectStop) === null || h === void 0 || h.call(v, o), [2, null];
6844
+ return (v = (x = r.current).onReconnectStop) === null || v === void 0 || v.call(x, o), [2, null];
6836
6845
  case 6:
6837
6846
  return [3, 8];
6838
6847
  case 7:
@@ -6890,24 +6899,24 @@ function it() {
6890
6899
  });
6891
6900
  }
6892
6901
  return new (o || (o = Promise))(function(U, d) {
6893
- function y(h) {
6902
+ function y(v) {
6894
6903
  try {
6895
- v(_.next(h));
6904
+ x(_.next(v));
6896
6905
  } catch (k) {
6897
6906
  d(k);
6898
6907
  }
6899
6908
  }
6900
- function C(h) {
6909
+ function C(v) {
6901
6910
  try {
6902
- v(_.throw(h));
6911
+ x(_.throw(v));
6903
6912
  } catch (k) {
6904
6913
  d(k);
6905
6914
  }
6906
6915
  }
6907
- function v(h) {
6908
- h.done ? U(h.value) : f(h.value).then(y, C);
6916
+ function x(v) {
6917
+ v.done ? U(v.value) : f(v.value).then(y, C);
6909
6918
  }
6910
- v((_ = _.apply(l, r || [])).next());
6919
+ x((_ = _.apply(l, r || [])).next());
6911
6920
  });
6912
6921
  }, n = ke && ke.__generator || function(l, r) {
6913
6922
  var o = { label: 0, sent: function() {
@@ -6917,56 +6926,56 @@ function it() {
6917
6926
  return d.next = y(0), d.throw = y(1), d.return = y(2), typeof Symbol == "function" && (d[Symbol.iterator] = function() {
6918
6927
  return this;
6919
6928
  }), d;
6920
- function y(v) {
6921
- return function(h) {
6922
- return C([v, h]);
6929
+ function y(x) {
6930
+ return function(v) {
6931
+ return C([x, v]);
6923
6932
  };
6924
6933
  }
6925
- function C(v) {
6934
+ function C(x) {
6926
6935
  if (_) throw new TypeError("Generator is already executing.");
6927
- for (; d && (d = 0, v[0] && (o = 0)), o; ) try {
6928
- 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;
6929
- switch (f = 0, U && (v = [v[0] & 2, U.value]), v[0]) {
6936
+ for (; d && (d = 0, x[0] && (o = 0)), o; ) try {
6937
+ if (_ = 1, f && (U = x[0] & 2 ? f.return : x[0] ? f.throw || ((U = f.return) && U.call(f), 0) : f.next) && !(U = U.call(f, x[1])).done) return U;
6938
+ switch (f = 0, U && (x = [x[0] & 2, U.value]), x[0]) {
6930
6939
  case 0:
6931
6940
  case 1:
6932
- U = v;
6941
+ U = x;
6933
6942
  break;
6934
6943
  case 4:
6935
- return o.label++, { value: v[1], done: !1 };
6944
+ return o.label++, { value: x[1], done: !1 };
6936
6945
  case 5:
6937
- o.label++, f = v[1], v = [0];
6946
+ o.label++, f = x[1], x = [0];
6938
6947
  continue;
6939
6948
  case 7:
6940
- v = o.ops.pop(), o.trys.pop();
6949
+ x = o.ops.pop(), o.trys.pop();
6941
6950
  continue;
6942
6951
  default:
6943
- if (U = o.trys, !(U = U.length > 0 && U[U.length - 1]) && (v[0] === 6 || v[0] === 2)) {
6952
+ if (U = o.trys, !(U = U.length > 0 && U[U.length - 1]) && (x[0] === 6 || x[0] === 2)) {
6944
6953
  o = 0;
6945
6954
  continue;
6946
6955
  }
6947
- if (v[0] === 3 && (!U || v[1] > U[0] && v[1] < U[3])) {
6948
- o.label = v[1];
6956
+ if (x[0] === 3 && (!U || x[1] > U[0] && x[1] < U[3])) {
6957
+ o.label = x[1];
6949
6958
  break;
6950
6959
  }
6951
- if (v[0] === 6 && o.label < U[1]) {
6952
- o.label = U[1], U = v;
6960
+ if (x[0] === 6 && o.label < U[1]) {
6961
+ o.label = U[1], U = x;
6953
6962
  break;
6954
6963
  }
6955
6964
  if (U && o.label < U[2]) {
6956
- o.label = U[2], o.ops.push(v);
6965
+ o.label = U[2], o.ops.push(x);
6957
6966
  break;
6958
6967
  }
6959
6968
  U[2] && o.ops.pop(), o.trys.pop();
6960
6969
  continue;
6961
6970
  }
6962
- v = r.call(l, o);
6963
- } catch (h) {
6964
- v = [6, h], f = 0;
6971
+ x = r.call(l, o);
6972
+ } catch (v) {
6973
+ x = [6, v], f = 0;
6965
6974
  } finally {
6966
6975
  _ = U = 0;
6967
6976
  }
6968
- if (v[0] & 5) throw v[1];
6969
- return { value: v[0] ? v[1] : void 0, done: !0 };
6977
+ if (x[0] & 5) throw x[1];
6978
+ return { value: x[0] ? x[1] : void 0, done: !0 };
6970
6979
  }
6971
6980
  }, t = ke && ke.__importDefault || function(l) {
6972
6981
  return l && l.__esModule ? l : { default: l };
@@ -6974,7 +6983,7 @@ function it() {
6974
6983
  Object.defineProperty(ke, "__esModule", { value: !0 }), ke.useWebSocket = void 0;
6975
6984
  var u = xa, p = ul, b = Re(), c = Ar(), g = Br(), i = t(Hr()), a = at(), m = function(l, r, o) {
6976
6985
  r === void 0 && (r = b.DEFAULT_OPTIONS), o === void 0 && (o = !0);
6977
- var _ = (0, u.useState)(null), f = _[0], U = _[1], d = (0, u.useState)({}), y = d[0], C = d[1], v = (0, u.useMemo)(function() {
6986
+ var _ = (0, u.useState)(null), f = _[0], U = _[1], d = (0, u.useState)({}), y = d[0], C = d[1], x = (0, u.useMemo)(function() {
6978
6987
  if (!r.disableJson && f)
6979
6988
  try {
6980
6989
  return JSON.parse(f.data);
@@ -6982,32 +6991,32 @@ function it() {
6982
6991
  return b.UNPARSABLE_JSON_OBJECT;
6983
6992
  }
6984
6993
  return null;
6985
- }, [f, r.disableJson]), h = (0, u.useRef)(null), k = (0, u.useRef)(null), D = (0, u.useRef)(function() {
6986
- }), w = (0, u.useRef)(0), x = (0, u.useRef)(Date.now()), S = (0, u.useRef)([]), L = (0, u.useRef)(null), G = (0, u.useRef)(r);
6987
- G.current = r;
6988
- var O = h.current && y[h.current] !== void 0 ? y[h.current] : l !== null && o === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, R = r.queryParams ? JSON.stringify(r.queryParams) : null, P = (0, u.useCallback)(function(B, W) {
6994
+ }, [f, r.disableJson]), v = (0, u.useRef)(null), k = (0, u.useRef)(null), D = (0, u.useRef)(function() {
6995
+ }), F = (0, u.useRef)(0), h = (0, u.useRef)(Date.now()), S = (0, u.useRef)([]), R = (0, u.useRef)(null), L = (0, u.useRef)(r);
6996
+ L.current = r;
6997
+ var O = v.current && y[v.current] !== void 0 ? y[v.current] : l !== null && o === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, M = r.queryParams ? JSON.stringify(r.queryParams) : null, P = (0, u.useCallback)(function(B, W) {
6989
6998
  var E;
6990
6999
  if (W === void 0 && (W = !0), b.isEventSourceSupported && k.current instanceof EventSource) {
6991
7000
  console.warn("Unable to send a message from an eventSource");
6992
7001
  return;
6993
7002
  }
6994
- ((E = k.current) === null || E === void 0 ? void 0 : E.readyState) === b.ReadyState.OPEN ? ((0, a.assertIsWebSocket)(k.current, G.current.skipAssert), k.current.send(B)) : W && S.current.push(B);
7003
+ ((E = k.current) === null || E === void 0 ? void 0 : E.readyState) === b.ReadyState.OPEN ? ((0, a.assertIsWebSocket)(k.current, L.current.skipAssert), k.current.send(B)) : W && S.current.push(B);
6995
7004
  }, []), z = (0, u.useCallback)(function(B, W) {
6996
7005
  W === void 0 && (W = !0), P(JSON.stringify(B), W);
6997
7006
  }, [P]), A = (0, u.useCallback)(function() {
6998
- return G.current.share !== !0 || b.isEventSourceSupported && k.current instanceof EventSource ? k.current : (L.current === null && k.current && ((0, a.assertIsWebSocket)(k.current, G.current.skipAssert), L.current = (0, i.default)(k.current, D)), L.current);
7007
+ return L.current.share !== !0 || b.isEventSourceSupported && k.current instanceof EventSource ? k.current : (R.current === null && k.current && ((0, a.assertIsWebSocket)(k.current, L.current.skipAssert), R.current = (0, i.default)(k.current, D)), R.current);
6999
7008
  }, []);
7000
7009
  return (0, u.useEffect)(function() {
7001
7010
  if (l !== null && o === !0) {
7002
- var B, W = !1, E = !0, M = function() {
7011
+ var B, W = !1, E = !0, G = function() {
7003
7012
  return s(void 0, void 0, void 0, function() {
7004
- var F, N, K;
7013
+ var w, N, K;
7005
7014
  return n(this, function(q) {
7006
7015
  switch (q.label) {
7007
7016
  case 0:
7008
- return F = h, [4, (0, g.getUrl)(l, G)];
7017
+ return w = v, [4, (0, g.getUrl)(l, L)];
7009
7018
  case 1:
7010
- return F.current = q.sent(), h.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), h.current = "ABORTED", (0, p.flushSync)(function() {
7019
+ return w.current = q.sent(), v.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), v.current = "ABORTED", (0, p.flushSync)(function() {
7011
7020
  return C(function(Q) {
7012
7021
  return e(e({}, Q), { ABORTED: b.ReadyState.CLOSED });
7013
7022
  });
@@ -7022,10 +7031,10 @@ function it() {
7022
7031
  W || (0, p.flushSync)(function() {
7023
7032
  return C(function(Z) {
7024
7033
  var ne;
7025
- return e(e({}, Z), h.current && (ne = {}, ne[h.current] = Q, ne));
7034
+ return e(e({}, Z), v.current && (ne = {}, ne[v.current] = Q, ne));
7026
7035
  });
7027
7036
  });
7028
- }, E && (B = (0, c.createOrJoinSocket)(k, h.current, K, G, N, D, w, x, P)), [
7037
+ }, E && (B = (0, c.createOrJoinSocket)(k, v.current, K, L, N, D, F, h, P)), [
7029
7038
  2
7030
7039
  /*return*/
7031
7040
  ]);
@@ -7034,15 +7043,15 @@ function it() {
7034
7043
  });
7035
7044
  };
7036
7045
  return D.current = function() {
7037
- W || (L.current && (L.current = null), B?.(), M());
7038
- }, M(), function() {
7039
- W = !0, E = !1, L.current && (L.current = null), B?.(), U(null);
7046
+ W || (R.current && (R.current = null), B?.(), G());
7047
+ }, G(), function() {
7048
+ W = !0, E = !1, R.current && (R.current = null), B?.(), U(null);
7040
7049
  };
7041
- } else (l === null || o === !1) && (w.current = 0, C(function(F) {
7050
+ } else (l === null || o === !1) && (F.current = 0, C(function(w) {
7042
7051
  var N;
7043
- return e(e({}, F), h.current && (N = {}, N[h.current] = b.ReadyState.CLOSED, N));
7052
+ return e(e({}, w), v.current && (N = {}, N[v.current] = b.ReadyState.CLOSED, N));
7044
7053
  }));
7045
- }, [l, o, R, P]), (0, u.useEffect)(function() {
7054
+ }, [l, o, M, P]), (0, u.useEffect)(function() {
7046
7055
  O === b.ReadyState.OPEN && S.current.splice(0).forEach(function(B) {
7047
7056
  P(B);
7048
7057
  });
@@ -7050,7 +7059,7 @@ function it() {
7050
7059
  sendMessage: P,
7051
7060
  sendJsonMessage: z,
7052
7061
  lastMessage: f,
7053
- lastJsonMessage: v,
7062
+ lastJsonMessage: x,
7054
7063
  readyState: O,
7055
7064
  getWebSocket: A
7056
7065
  };
@@ -7180,7 +7189,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7180
7189
  isInGameBox: t = !1,
7181
7190
  currentGamePlatform: u = ""
7182
7191
  }) => {
7183
- const { store: p, lng: b } = te(), { isReady: c, setAsReady: g, isPending: i, setAsPending: a } = kn(), m = Me(b), { mutateAsync: l } = Oo();
7192
+ const { store: p, lng: b } = te(), { isReady: c, setAsReady: g, isPending: i, setAsPending: a } = xn(), m = Me(b), { mutateAsync: l } = Oo();
7184
7193
  return !e || !s || !n ? { handleTransferInGame: () => {
7185
7194
  } } : { handleTransferInGame: async () => {
7186
7195
  console.log("執行遊戲內轉帳"), t && await l({
@@ -7245,7 +7254,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7245
7254
  },
7246
7255
  enableNotification: p = !1
7247
7256
  }) => {
7248
- const { store: b, lng: c } = te(), g = tl(), { isReady: i, setAsReady: a, isPending: m, setAsPending: l } = kn(), r = Me(c), o = Oi(!1), _ = Oi(s), f = oe(t, "uid", null);
7257
+ const { store: b, lng: c } = te(), g = vn(), { isReady: i, setAsReady: a, isPending: m, setAsPending: l } = xn(), r = Me(c), o = Oi(!1), _ = Oi(s), f = oe(t, "uid", null);
7249
7258
  oe(t, "testFunction", 0);
7250
7259
  const U = oe(
7251
7260
  u,
@@ -7262,10 +7271,10 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7262
7271
  // 發送普通訊息
7263
7272
  sendJsonMessage: C,
7264
7273
  // 發送 JSON 訊息
7265
- lastMessage: v,
7274
+ lastMessage: x,
7266
7275
  // 最後接收到的訊息
7267
7276
  // lastJsonMessage, // 最後接收到的 JSON 訊息
7268
- readyState: h
7277
+ readyState: v
7269
7278
  // WebSocket 連線狀態
7270
7279
  // getWebSocket, // 獲取 WebSocket 實例
7271
7280
  } = Jr(e, {
@@ -7277,25 +7286,25 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7277
7286
  ...n
7278
7287
  }), k = ha(() => {
7279
7288
  try {
7280
- return JSON.parse(v?.data);
7289
+ return JSON.parse(x?.data);
7281
7290
  } catch {
7282
7291
  return null;
7283
7292
  }
7284
- }, [v]);
7293
+ }, [x]);
7285
7294
  ma(() => {
7286
- const x = setInterval(
7295
+ const h = setInterval(
7287
7296
  () => y("ping"),
7288
7297
  Kr
7289
7298
  );
7290
- return () => clearInterval(x);
7299
+ return () => clearInterval(h);
7291
7300
  }, [y]);
7292
7301
  const D = J(
7293
- (x, S) => {
7302
+ (h, S) => {
7294
7303
  p && b.dispatch({
7295
7304
  type: "ui/openNotificationModal",
7296
7305
  payload: {
7297
7306
  title: ka[r] || "System Prompt",
7298
- content: x,
7307
+ content: h,
7299
7308
  type: "warning",
7300
7309
  props: S
7301
7310
  }
@@ -7306,17 +7315,17 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7306
7315
  ma(() => {
7307
7316
  _.current = s;
7308
7317
  }, [s]);
7309
- const w = Oi(null);
7318
+ const F = Oi(null);
7310
7319
  return ma(() => {
7311
- if (!k || w.current === k) return;
7312
- w.current = k;
7320
+ if (!k || F.current === k) return;
7321
+ F.current = k;
7313
7322
  const {
7314
- onDeposit: x,
7323
+ onDeposit: h,
7315
7324
  onTransCode: S,
7316
- onError: L,
7317
- onUpdateMember: G,
7325
+ onError: R,
7326
+ onUpdateMember: L,
7318
7327
  onMaintainNotice: O,
7319
- onMaintainNoticeMember: R,
7328
+ onMaintainNoticeMember: M,
7320
7329
  onTransferInGame: P,
7321
7330
  onCashRegisterLimit: z
7322
7331
  } = _.current, A = oe(k, "type", ""), B = {
@@ -7325,10 +7334,10 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7325
7334
  memo: oe(k, "memo", null),
7326
7335
  amount: oe(k, "amount", null),
7327
7336
  limitAmount: oe(k, "limit_amount", null)
7328
- }, W = Number(B.memberInfoUid) === f, E = B.data, M = B.amount, F = B.limitAmount;
7337
+ }, W = Number(B.memberInfoUid) === f, E = B.data, G = B.amount, w = B.limitAmount;
7329
7338
  switch (A) {
7330
7339
  case xe.DEPOSIT:
7331
- W && (d(), x?.(B));
7340
+ W && (d(), h?.(B));
7332
7341
  break;
7333
7342
  case xe.TRANS_CODE:
7334
7343
  S?.(B);
@@ -7338,13 +7347,13 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7338
7347
  const N = oe(k, "open_game_modal", 0) === 1;
7339
7348
  D(E, {
7340
7349
  notificationType: N ? "gamingNotice" : void 0
7341
- }), L?.(B);
7350
+ }), R?.(B);
7342
7351
  }
7343
7352
  break;
7344
7353
  case xe.UPDATE_MEMBER:
7345
7354
  f && (g.invalidateQueries({
7346
7355
  queryKey: ["getMemberInfo"]
7347
- }), G?.(B));
7356
+ }), L?.(B));
7348
7357
  break;
7349
7358
  case xe.MAINTAIN_NOTICE:
7350
7359
  D(E, {
@@ -7352,7 +7361,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7352
7361
  }), O?.(B);
7353
7362
  break;
7354
7363
  case xe.MAINTAIN_NOTICE_MEMBER:
7355
- W && (D(E), R?.(B), setTimeout(() => {
7364
+ W && (D(E), M?.(B), setTimeout(() => {
7356
7365
  window.location.reload();
7357
7366
  }, 5e4));
7358
7367
  break;
@@ -7392,14 +7401,14 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7392
7401
  case xe.CASH_REGISTER_LIMIT:
7393
7402
  D(E, {
7394
7403
  notificationType: "cashRegisterLimit",
7395
- amount: M,
7396
- limitAmount: F
7404
+ amount: G,
7405
+ limitAmount: w
7397
7406
  }), z?.(B);
7398
7407
  break;
7399
7408
  case xe.UPDATE_ONLY_ONE_MEMBER:
7400
7409
  W && (g.invalidateQueries({
7401
7410
  queryKey: ["getMemberInfo"]
7402
- }), G?.(B));
7411
+ }), L?.(B));
7403
7412
  break;
7404
7413
  case xe.GAME_MAINTAIN:
7405
7414
  D(E, {
@@ -7423,19 +7432,19 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7423
7432
  a
7424
7433
  ]), ma(() => () => o.current = !0, []), ma(() => {
7425
7434
  if (U) {
7426
- const x = localStorage.getItem(
7435
+ const h = localStorage.getItem(
7427
7436
  "transfer_in_game_request_id"
7428
7437
  );
7429
- x && f && m && C({
7438
+ h && f && m && C({
7430
7439
  type: xe.CHECK_REQUEST,
7431
- request_id: x,
7440
+ request_id: h,
7432
7441
  member_info_uid: f
7433
7442
  });
7434
7443
  }
7435
7444
  }, [f, m, C, U]), {
7436
7445
  sendMessage: y,
7437
7446
  sendJsonMessage: C,
7438
- readyState: h
7447
+ readyState: v
7439
7448
  // WebSocket 連線狀態
7440
7449
  };
7441
7450
  }, Di = () => {
@@ -7532,8 +7541,8 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7532
7541
  // VIP 群組
7533
7542
  tagsGroup: a.tags_group,
7534
7543
  //標籤群組
7535
- eventBg: Sn(),
7536
- eventIcon: xn(a.type)
7544
+ eventBg: Dn(),
7545
+ eventIcon: Sn(a.type)
7537
7546
  }, U = {
7538
7547
  isActive: l.attribute_is_active === 1,
7539
7548
  //是否啟用
@@ -7583,7 +7592,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7583
7592
  });
7584
7593
  }, gm = ({ options: e } = {}) => {
7585
7594
  const { redeemEventRewardApi: s } = Di();
7586
- return ue({
7595
+ return me({
7587
7596
  mutationKey: ["redeemEventReward"],
7588
7597
  mutationFn: async (n) => s(n),
7589
7598
  ...e
@@ -7669,7 +7678,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7669
7678
  }
7670
7679
  });
7671
7680
  }, _m = ({ options: e } = {}) => {
7672
- const { rankingGameApi: s } = ge();
7681
+ const { rankingGameApi: s } = se();
7673
7682
  return X({
7674
7683
  queryKey: ["rankingGame"],
7675
7684
  queryFn: async () => s(),
@@ -7732,7 +7741,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7732
7741
  });
7733
7742
  }, Yr = ({ options: e } = {}) => {
7734
7743
  const { commonReadInboxApi: s } = Ei();
7735
- return ue({
7744
+ return me({
7736
7745
  mutationKey: ["readInbox"],
7737
7746
  mutationFn: async (n) => await s(n),
7738
7747
  ...e
@@ -7748,7 +7757,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7748
7757
  inboxListQuery: s,
7749
7758
  readInboxMutation: n
7750
7759
  };
7751
- }, On = () => {
7760
+ }, An = () => {
7752
7761
  const { client: e } = te();
7753
7762
  return {
7754
7763
  newsListApi: J(
@@ -7805,7 +7814,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7805
7814
  ...e.other
7806
7815
  }
7807
7816
  ], ym = ({ options: e, formData: s } = {}) => {
7808
- const { lng: n } = te(), { newsListApi: t } = On(), u = Me(n);
7817
+ const { lng: n } = te(), { newsListApi: t } = An(), u = Me(n);
7809
7818
  return X({
7810
7819
  queryKey: ["newsList"],
7811
7820
  queryFn: () => {
@@ -7831,7 +7840,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7831
7840
  ...e
7832
7841
  });
7833
7842
  }, bm = ({ options: e, formData: s } = {}) => {
7834
- const { lng: n } = te(), { newsListApi: t } = On(), u = Me(n);
7843
+ const { lng: n } = te(), { newsListApi: t } = An(), u = Me(n);
7835
7844
  return X({
7836
7845
  queryKey: ["newsList"],
7837
7846
  queryFn: () => {
@@ -7892,7 +7901,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7892
7901
  withdrawal_amount: a,
7893
7902
  bank_account_number: m,
7894
7903
  currency_code: l,
7895
- withdrawal_code: Fn.MD5(r).toString(),
7904
+ withdrawal_code: wn.MD5(r).toString(),
7896
7905
  payment_type: "ThirdParty"
7897
7906
  }
7898
7907
  });
@@ -7982,14 +7991,14 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
7982
7991
  });
7983
7992
  }, io = ({ options: e } = {}) => {
7984
7993
  const { depositApi: s } = Ke();
7985
- return ue({
7994
+ return me({
7986
7995
  mutationKey: ["depositAction"],
7987
7996
  mutationFn: async (n) => s(n),
7988
7997
  ...e
7989
7998
  });
7990
7999
  }, to = ({ options: e } = {}) => {
7991
8000
  const { withdrawApi: s } = Ke();
7992
- return ue({
8001
+ return me({
7993
8002
  mutationKey: ["withdrawAction"],
7994
8003
  mutationFn: async (n) => s(n),
7995
8004
  ...e
@@ -8010,7 +8019,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8010
8019
  });
8011
8020
  }, ro = ({ options: e } = {}) => {
8012
8021
  const { bankDepositApi: s } = Ke();
8013
- return ue({
8022
+ return me({
8014
8023
  mutationKey: ["bankDeposit"],
8015
8024
  mutationFn: async (n) => s(n),
8016
8025
  ...e
@@ -8045,10 +8054,10 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8045
8054
  eventTransaction: o,
8046
8055
  withdrawTransaction: _
8047
8056
  };
8048
- }, 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) => {
8057
+ }, Bn = "3.7.8", mo = Bn, 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) => {
8049
8058
  let s = {};
8050
8059
  return e.forEach((n, t) => s[n] = t), s;
8051
- })(Ta), uo = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, de = 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) => {
8060
+ })(Ta), uo = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, de = String.fromCharCode.bind(String), cn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), Hn = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (s) => s == "+" ? "-" : "_"), Wn = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), zn = (e) => {
8052
8061
  let s, n, t, u, p = "";
8053
8062
  const b = e.length % 3;
8054
8063
  for (let c = 0; c < e.length; ) {
@@ -8057,12 +8066,12 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8057
8066
  s = n << 16 | t << 8 | u, p += Ta[s >> 18 & 63] + Ta[s >> 12 & 63] + Ta[s >> 6 & 63] + Ta[s & 63];
8058
8067
  }
8059
8068
  return b ? p.slice(0, b - 3) + "===".substring(b) : p;
8060
- }, 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) => {
8069
+ }, tt = typeof btoa == "function" ? (e) => btoa(e) : pa ? (e) => Buffer.from(e, "binary").toString("base64") : zn, Zi = pa ? (e) => Buffer.from(e).toString("base64") : (e) => {
8061
8070
  let n = [];
8062
8071
  for (let t = 0, u = e.length; t < u; t += 4096)
8063
8072
  n.push(de.apply(null, e.subarray(t, t + 4096)));
8064
8073
  return tt(n.join(""));
8065
- }, hi = (e, s = !1) => s ? Bn(Zi(e)) : Zi(e), po = (e) => {
8074
+ }, hi = (e, s = !1) => s ? Hn(Zi(e)) : Zi(e), po = (e) => {
8066
8075
  if (e.length < 2) {
8067
8076
  var s = e.charCodeAt(0);
8068
8077
  return s < 128 ? e : s < 2048 ? de(192 | s >>> 6) + de(128 | s & 63) : de(224 | s >>> 12 & 15) + de(128 | s >>> 6 & 63) + de(128 | s & 63);
@@ -8070,7 +8079,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8070
8079
  var s = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
8071
8080
  return de(240 | s >>> 18 & 7) + de(128 | s >>> 12 & 63) + de(128 | s >>> 6 & 63) + de(128 | s & 63);
8072
8081
  }
8073
- }, 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) => Zi(dn.encode(e)) : (e) => tt(zn(e)), ua = (e, s = !1) => s ? 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) => {
8082
+ }, go = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Vn = (e) => e.replace(go, po), fn = pa ? (e) => Buffer.from(e, "utf8").toString("base64") : dn ? (e) => Zi(dn.encode(e)) : (e) => tt(Vn(e)), ua = (e, s = !1) => s ? Hn(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) => {
8074
8083
  switch (e.length) {
8075
8084
  case 4:
8076
8085
  var s = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), n = s - 65536;
@@ -8080,7 +8089,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8080
8089
  default:
8081
8090
  return de((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
8082
8091
  }
8083
- }, Vn = (e) => e.replace(co, fo), Zn = (e) => {
8092
+ }, Zn = (e) => e.replace(co, fo), Jn = (e) => {
8084
8093
  if (e = e.replace(/\s+/g, ""), !uo.test(e))
8085
8094
  throw new TypeError("malformed base64.");
8086
8095
  e += "==".slice(2 - (e.length & 3));
@@ -8088,18 +8097,18 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8088
8097
  for (let p = 0; p < e.length; )
8089
8098
  s = Ba[e.charAt(p++)] << 18 | Ba[e.charAt(p++)] << 12 | (n = Ba[e.charAt(p++)]) << 6 | (t = Ba[e.charAt(p++)]), n === 64 ? u.push(de(s >> 16 & 255)) : t === 64 ? u.push(de(s >> 16 & 255, s >> 8 & 255)) : u.push(de(s >> 16 & 255, s >> 8 & 255, s & 255));
8090
8099
  return u.join("");
8091
- }, 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)), _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, (s) => s == "-" ? "+" : "/")), Ji = (e) => _o(Kn(e)), Uo = (e) => {
8100
+ }, nt = typeof atob == "function" ? (e) => atob(Wn(e)) : pa ? (e) => Buffer.from(e, "base64").toString("binary") : Jn, In = pa ? (e) => cn(Buffer.from(e, "base64")) : (e) => cn(nt(e).split("").map((s) => s.charCodeAt(0))), Kn = (e) => In(qn(e)), _o = pa ? (e) => Buffer.from(e, "base64").toString("utf8") : gn ? (e) => gn.decode(In(e)) : (e) => Zn(nt(e)), qn = (e) => Wn(e.replace(/[-_]/g, (s) => s == "-" ? "+" : "/")), Ji = (e) => _o(qn(e)), Uo = (e) => {
8092
8101
  if (typeof e != "string")
8093
8102
  return !1;
8094
8103
  const s = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
8095
8104
  return !/[^\s0-9a-zA-Z\+/]/.test(s) || !/[^\s0-9a-zA-Z\-_]/.test(s);
8096
- }, qn = (e) => ({
8105
+ }, $n = (e) => ({
8097
8106
  value: e,
8098
8107
  enumerable: !1,
8099
8108
  writable: !0,
8100
8109
  configurable: !0
8101
- }), $n = function() {
8102
- const e = (s, n) => Object.defineProperty(String.prototype, s, qn(n));
8110
+ }), jn = function() {
8111
+ const e = (s, n) => Object.defineProperty(String.prototype, s, $n(n));
8103
8112
  e("fromBase64", function() {
8104
8113
  return Ji(this);
8105
8114
  }), e("toBase64", function(s) {
@@ -8109,10 +8118,10 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8109
8118
  }), e("toBase64URL", function() {
8110
8119
  return ua(this, !0);
8111
8120
  }), e("toUint8Array", function() {
8112
- return In(this);
8121
+ return Kn(this);
8113
8122
  });
8114
- }, jn = function() {
8115
- const e = (s, n) => Object.defineProperty(Uint8Array.prototype, s, qn(n));
8123
+ }, Qn = function() {
8124
+ const e = (s, n) => Object.defineProperty(Uint8Array.prototype, s, $n(n));
8116
8125
  e("toBase64", function(s) {
8117
8126
  return hi(this, s);
8118
8127
  }), e("toBase64URI", function() {
@@ -8121,27 +8130,27 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8121
8130
  return hi(this, !0);
8122
8131
  });
8123
8132
  }, yo = () => {
8124
- $n(), jn();
8133
+ jn(), Qn();
8125
8134
  }, bo = {
8126
- version: An,
8135
+ version: Bn,
8127
8136
  VERSION: mo,
8128
8137
  atob: nt,
8129
- atobPolyfill: Zn,
8138
+ atobPolyfill: Jn,
8130
8139
  btoa: tt,
8131
- btoaPolyfill: Wn,
8140
+ btoaPolyfill: zn,
8132
8141
  fromBase64: Ji,
8133
8142
  toBase64: ua,
8134
8143
  encode: ua,
8135
8144
  encodeURI: _n,
8136
8145
  encodeURL: _n,
8137
- utob: zn,
8138
- btou: Vn,
8146
+ utob: Vn,
8147
+ btou: Zn,
8139
8148
  decode: Ji,
8140
8149
  isValid: Uo,
8141
8150
  fromUint8Array: hi,
8142
- toUint8Array: In,
8143
- extendString: $n,
8144
- extendUint8Array: jn,
8151
+ toUint8Array: Kn,
8152
+ extendString: jn,
8153
+ extendUint8Array: Qn,
8145
8154
  extendBuiltins: yo
8146
8155
  }, vm = (e, s) => {
8147
8156
  const { playGameApi: n } = Qi();
@@ -8177,14 +8186,14 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8177
8186
  enabled: !!e?.gameCode,
8178
8187
  ...s
8179
8188
  });
8180
- }, Qn = () => {
8189
+ }, Yn = () => {
8181
8190
  const { client: e } = te(), s = J(async () => await e.get("/rebate"), [e]), n = J(async () => await e.post("/withdraw/rebate"), [e]);
8182
8191
  return {
8183
8192
  currentRebateApi: s,
8184
8193
  receiveRebateApi: n
8185
8194
  };
8186
8195
  }, Co = ({ options: e } = {}) => {
8187
- const { currentRebateApi: s } = Qn();
8196
+ const { currentRebateApi: s } = Yn();
8188
8197
  return X({
8189
8198
  queryKey: ["currentRebate"],
8190
8199
  queryFn: () => s(),
@@ -8192,8 +8201,8 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8192
8201
  ...e
8193
8202
  });
8194
8203
  }, vo = ({ options: e } = {}) => {
8195
- const { receiveRebateApi: s } = Qn();
8196
- return ue({
8204
+ const { receiveRebateApi: s } = Yn();
8205
+ return me({
8197
8206
  mutationKey: ["receiveRebate"],
8198
8207
  mutationFn: async () => s(),
8199
8208
  ...e
@@ -8257,8 +8266,8 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8257
8266
  rewardUid: l,
8258
8267
  rewardWagering: p,
8259
8268
  rewardAmount: b,
8260
- rewardBg: Sn(),
8261
- rewardIcon: xn("win")
8269
+ rewardBg: Dn(),
8270
+ rewardIcon: Sn("win")
8262
8271
  };
8263
8272
  });
8264
8273
  return {
@@ -8270,7 +8279,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8270
8279
  });
8271
8280
  }, ho = ({ options: e } = {}) => {
8272
8281
  const { redeemRewardApi: s } = Sa();
8273
- return ue({
8282
+ return me({
8274
8283
  mutationKey: ["redeemReward"],
8275
8284
  mutationFn: async (n) => await s(n),
8276
8285
  ...e
@@ -8322,63 +8331,63 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8322
8331
  historyRewardsListQuery: p
8323
8332
  };
8324
8333
  }, Do = ({ options: e } = {}) => {
8325
- const { userLoginApi: s } = ge();
8326
- return ue({
8334
+ const { userLoginApi: s } = se();
8335
+ return me({
8327
8336
  mutationKey: ["userLogin"],
8328
8337
  mutationFn: async (n) => s(n),
8329
8338
  ...e
8330
8339
  });
8331
8340
  }, Eo = ({ options: e } = {}) => {
8332
- const { userLogoutApi: s } = ge();
8333
- return ue({
8341
+ const { userLogoutApi: s } = se();
8342
+ return me({
8334
8343
  mutationKey: ["userLogout"],
8335
8344
  mutationFn: async () => s(),
8336
8345
  ...e
8337
8346
  });
8338
8347
  }, No = ({ options: e } = {}) => {
8339
- const { userSignUpApi: s } = ge();
8340
- return ue({
8348
+ const { userSignUpApi: s } = se();
8349
+ return me({
8341
8350
  mutationKey: ["userSignUp"],
8342
8351
  mutationFn: async (n) => s(n),
8343
8352
  ...e
8344
8353
  });
8345
8354
  }, Lo = ({ options: e } = {}) => {
8346
- const { addOrRemoveFavoriteGameApi: s } = ge();
8347
- return ue({
8355
+ const { addOrRemoveFavoriteGameApi: s } = se();
8356
+ return me({
8348
8357
  mutationKey: ["toggleFavoriteGame"],
8349
8358
  mutationFn: async (n) => s(n),
8350
8359
  ...e
8351
8360
  });
8352
8361
  }, Go = ({ options: e } = {}) => {
8353
- const { updateUserInfoApi: s } = ge();
8354
- return ue({
8362
+ const { updateUserInfoApi: s } = se();
8363
+ return me({
8355
8364
  mutationKey: ["updateUserInfo"],
8356
8365
  mutationFn: async (n) => s(n),
8357
8366
  ...e
8358
8367
  });
8359
8368
  }, Mo = ({ options: e } = {}) => {
8360
- const { resetUserPasswordApi: s } = ge();
8361
- return ue({
8369
+ const { resetUserPasswordApi: s } = se();
8370
+ return me({
8362
8371
  mutationKey: ["resetUserPassword"],
8363
8372
  mutationFn: async (n) => s(n),
8364
8373
  ...e
8365
8374
  });
8366
8375
  }, Ro = ({ options: e } = {}) => {
8367
- const { setUserTransactionPasswordApi: s } = ge();
8368
- return ue({
8376
+ const { setUserTransactionPasswordApi: s } = se();
8377
+ return me({
8369
8378
  mutationKey: ["setUserTransactionPassword"],
8370
8379
  mutationFn: async (n) => s(n),
8371
8380
  ...e
8372
8381
  });
8373
8382
  }, Po = ({ options: e } = {}) => {
8374
- const { resetUserTransactionPasswordApi: s } = ge();
8375
- return ue({
8383
+ const { resetUserTransactionPasswordApi: s } = se();
8384
+ return me({
8376
8385
  mutationKey: ["resetUserTransactionPassword"],
8377
8386
  mutationFn: async (n) => s(n),
8378
8387
  ...e
8379
8388
  });
8380
8389
  }, Fo = ({ paramsData: e, options: s } = {}) => {
8381
- const { userRebateApi: n } = ge(), { getToken: t } = te();
8390
+ const { userRebateApi: n } = se(), { getToken: t } = te();
8382
8391
  return t?.(), X({
8383
8392
  queryKey: ["userRebate", e],
8384
8393
  queryFn: async () => n({ paramsData: e }),
@@ -8386,23 +8395,23 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8386
8395
  ...s
8387
8396
  });
8388
8397
  }, wo = ({ options: e } = {}) => {
8389
- const { userBindBankApi: s } = ge();
8390
- return ue({
8398
+ const { userBindBankApi: s } = se();
8399
+ return me({
8391
8400
  mutationKey: ["userBindBank"],
8392
8401
  mutationFn: async (n) => s({ formData: n }),
8393
8402
  ...e
8394
8403
  });
8395
8404
  }, Oo = ({ options: e } = {}) => {
8396
- const { transferInGameApi: s } = ge();
8397
- return ue({
8405
+ const { transferInGameApi: s } = se();
8406
+ return me({
8398
8407
  mutationKey: ["transferInGame"],
8399
8408
  mutationFn: async (n) => s(n),
8400
8409
  retry: !1,
8401
8410
  ...e
8402
8411
  });
8403
8412
  }, km = ({ options: e } = {}) => {
8404
- const { currency: s } = te(), { pointTransferApi: n } = ge();
8405
- return ue({
8413
+ const { currency: s } = te(), { pointTransferApi: n } = se();
8414
+ return me({
8406
8415
  mutationKey: ["pointTransfer"],
8407
8416
  mutationFn: async (t) => n({
8408
8417
  ...t,
@@ -8411,7 +8420,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8411
8420
  ...e
8412
8421
  });
8413
8422
  }, xm = ({ options: e } = {}) => {
8414
- const { currency: s } = te(), { checkUserWagerApi: n } = ge();
8423
+ const { currency: s } = te(), { checkUserWagerApi: n } = se();
8415
8424
  return X({
8416
8425
  queryKey: ["checkUserWager"],
8417
8426
  queryFn: async () => n(),
@@ -8423,7 +8432,19 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8423
8432
  },
8424
8433
  ...e
8425
8434
  });
8426
- }, Sm = ({
8435
+ }, Sm = ({ options: e } = {}) => {
8436
+ const s = vn(), { abandonPointsApi: n } = se();
8437
+ return me({
8438
+ mutationKey: ["abandonPoint"],
8439
+ mutationFn: async (t) => n({
8440
+ ...t
8441
+ }),
8442
+ onSuccess: () => {
8443
+ s.invalidateQueries({ queryKey: ["userCurrencyExchange"] });
8444
+ },
8445
+ ...e
8446
+ });
8447
+ }, Dm = ({
8427
8448
  options: e = {
8428
8449
  login: {},
8429
8450
  logout: {},
@@ -8458,14 +8479,14 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8458
8479
  userRebate: i,
8459
8480
  userBindCard: a
8460
8481
  };
8461
- }, Yn = () => {
8482
+ }, Xn = () => {
8462
8483
  const { client: e } = te(), s = J(async () => await e.get("/vip/list"), [e]), n = J(async () => await e.get("/vip/check"), [e]);
8463
8484
  return {
8464
8485
  vipListApi: s,
8465
8486
  vipInfoApi: n
8466
8487
  };
8467
- }, Dm = ({ options: e } = {}) => {
8468
- const { store: s } = te(), n = s?.getState()?.isMemberInfo || s?.getState()?.member?.member || {}, { vipInfoApi: t } = Yn();
8488
+ }, Em = ({ options: e } = {}) => {
8489
+ const { store: s } = te(), n = s?.getState()?.isMemberInfo || s?.getState()?.member?.member || {}, { vipInfoApi: t } = Xn();
8469
8490
  return X({
8470
8491
  queryKey: ["vipInfo"],
8471
8492
  queryFn: async () => t(),
@@ -8480,7 +8501,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8480
8501
  ...e
8481
8502
  });
8482
8503
  }, Ao = ({ options: e } = {}) => {
8483
- const { store: s } = te(), n = s?.getState()?.isWalletCurrency || s?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: t } = Yn();
8504
+ const { store: s } = te(), n = s?.getState()?.isWalletCurrency || s?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: t } = Xn();
8484
8505
  return X({
8485
8506
  queryKey: ["vipList"],
8486
8507
  queryFn: async () => {
@@ -8516,7 +8537,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8516
8537
  },
8517
8538
  ...e
8518
8539
  });
8519
- }, Em = ({ options: e } = {
8540
+ }, Nm = ({ options: e } = {
8520
8541
  vipList: {}
8521
8542
  }) => ({
8522
8543
  vipList: Ao({ options: e.vipList })
@@ -8539,7 +8560,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8539
8560
  default:
8540
8561
  return "En";
8541
8562
  }
8542
- }, yn = "game-icon-ds88", Nm = ({ gameData: e = {} } = {}) => {
8563
+ }, yn = "game-icon-ds88", Lm = ({ gameData: e = {} } = {}) => {
8543
8564
  const { lng: s } = te(), n = Un(s), {
8544
8565
  gameCode: t,
8545
8566
  // 遊戲代碼
@@ -8578,7 +8599,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8578
8599
  // 越南名稱
8579
8600
  gameNameTw: C
8580
8601
  // 繁體中文名稱
8581
- } = e, v = e?.[`gameName${Un(n)}`], h = `${pt}/${yn}/en/${i}/${rt(t, / /g, "_")}.webp`, k = `${pt}/${yn}/en/${i}/${rt(t, / /g, "_")}.gif`;
8602
+ } = e, x = e?.[`gameName${Un(n)}`], v = `${pt}/${yn}/en/${i}/${rt(t, / /g, "_")}.webp`, k = `${pt}/${yn}/en/${i}/${rt(t, / /g, "_")}.gif`;
8582
8603
  return {
8583
8604
  gameCode: t,
8584
8605
  gameUid: u,
@@ -8598,8 +8619,8 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8598
8619
  gameNameZh: d,
8599
8620
  gameNameVi: y,
8600
8621
  gameNameTw: C,
8601
- gameName: v,
8602
- gameImageUrl: h,
8622
+ gameName: x,
8623
+ gameImageUrl: v,
8603
8624
  gameImageUrlAnimated: k
8604
8625
  };
8605
8626
  }, Bo = (e, s = !1) => ml([
@@ -8613,7 +8634,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8613
8634
  "HACK",
8614
8635
  "NAGA",
8615
8636
  "RSG"
8616
- ], e) && s ? `${e}_dark` : e, Lm = ({ platformData: e, darkMode: s } = {}) => {
8637
+ ], e) && s ? `${e}_dark` : e, Gm = ({ platformData: e, darkMode: s } = {}) => {
8617
8638
  const {
8618
8639
  SubPlatformEnum: n,
8619
8640
  // 子平台枚舉
@@ -8635,7 +8656,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8635
8656
  // 臨時維護開始時間
8636
8657
  temp_maintenance_end_time: m
8637
8658
  // 臨時維護結束時間
8638
- } = e || {}, l = `${He}/${Dn}/${Bo(t, s)}.png`;
8659
+ } = e || {}, l = `${He}/${En}/${Bo(t, s)}.png`;
8639
8660
  return {
8640
8661
  subPlatformEnum: n,
8641
8662
  platformEnum: t,
@@ -8649,7 +8670,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8649
8670
  tempMaintenanceEndTime: m,
8650
8671
  platformImageUrl: l
8651
8672
  };
8652
- }, 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, t) => {
8673
+ }, Ho = (e = {}) => !ki(e) || pe(e) ? [] : xi(e), bn = (e = []) => !Ge(e) || pe(e) ? [] : Te(e, "platform"), Wo = (e = []) => !Ge(e) || pe(e) ? [] : Te(e, "gameTypeName"), zo = (e = []) => !Ge(e) || pe(e) ? [] : Te(e, "game_subtype"), Vo = (e = {}) => !ki(e) || pe(e) ? [] : xi(e), Zo = (e = [], s = []) => !Ge(e) || pe(e) ? {} : !Ge(s) || pe(s) ? {} : e.reduce((n, t) => {
8653
8674
  const u = s.map((p) => p.game_subtype);
8654
8675
  return u.forEach((p) => {
8655
8676
  n[p] = n[p] || [];
@@ -8660,7 +8681,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8660
8681
  gameList: n = {},
8661
8682
  allGameTypes: t = [],
8662
8683
  allPlatforms: u = []
8663
- }) => !Ge(e) || !Ge(s) ? {} : se(n) ? {} : e.reduce((p, b) => {
8684
+ }) => !Ge(e) || !Ge(s) ? {} : pe(n) ? {} : e.reduce((p, b) => {
8664
8685
  const c = Ul({
8665
8686
  gameTypeName: b,
8666
8687
  platforms: s,
@@ -8668,15 +8689,15 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8668
8689
  allGameTypes: t,
8669
8690
  allPlatforms: u
8670
8691
  });
8671
- return se(c) || (p[b] = c), p;
8672
- }, {}), Gm = ({
8692
+ return pe(c) || (p[b] = c), p;
8693
+ }, {}), Mm = ({
8673
8694
  types: e = [],
8674
8695
  platforms: s = [],
8675
8696
  allGameType: n = [],
8676
8697
  allGamePlatform: t = [],
8677
8698
  allGameList: u = {}
8678
8699
  } = {}) => !Array.isArray(e) || !Array.isArray(s) ? {} : e.reduce((p, b) => {
8679
- const c = Nn(n, b);
8700
+ const c = Ln(n, b);
8680
8701
  if (!c) return p;
8681
8702
  const g = u[c] || [], i = s.reduce((a, m) => {
8682
8703
  const l = yl({
@@ -8684,13 +8705,13 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8684
8705
  gamesOfType: g,
8685
8706
  allPlatforms: t
8686
8707
  });
8687
- return se(l) ? a : { ...a, [m]: l };
8708
+ return pe(l) ? a : { ...a, [m]: l };
8688
8709
  }, {});
8689
- return se(i) || (p[b] = i), p;
8690
- }, {}), Io = (e = {}) => !ki(e) || se(e) ? {} : Object.values(e).reduce((n, t) => (Object.entries(t).forEach(([u, p]) => {
8710
+ return pe(i) || (p[b] = i), p;
8711
+ }, {}), Io = (e = {}) => !ki(e) || pe(e) ? {} : Object.values(e).reduce((n, t) => (Object.entries(t).forEach(([u, p]) => {
8691
8712
  n[u] ? n[u] = [...n[u], ...p] : n[u] = p;
8692
8713
  }), n), {}), Ko = (e = {}) => {
8693
- if (!ki(e) || se(e)) return {};
8714
+ if (!ki(e) || pe(e)) return {};
8694
8715
  const s = {};
8695
8716
  for (const [n, t] of Object.entries(e)) {
8696
8717
  s[n] = {};
@@ -8720,20 +8741,20 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8720
8741
  allGameTypes: n,
8721
8742
  allPlatforms: s
8722
8743
  }), d = Te(s, (D) => {
8723
- const w = `${He}/${Dn}/${D.platformEnum}.png`;
8744
+ const F = `${He}/${En}/${D.platformEnum}.png`;
8724
8745
  return {
8725
8746
  ...D,
8726
- platformImageUrl: w
8747
+ platformImageUrl: F
8727
8748
  };
8728
- }), y = Zo(m, t), C = Io(U), v = Ko(C), h = vn(U).reduce(
8729
- (D, [w, x]) => {
8730
- const S = xi(sl(x));
8731
- return D[w] = S, D;
8749
+ }), y = Zo(m, t), C = Io(U), x = Ko(C), v = Tn(U).reduce(
8750
+ (D, [F, h]) => {
8751
+ const S = xi(sl(h));
8752
+ return D[F] = S, D;
8732
8753
  },
8733
8754
  {}
8734
- ), k = ot(U).reduce((D, w) => {
8735
- const x = ot(U[w]);
8736
- return D[w] = x, D;
8755
+ ), k = ot(U).reduce((D, F) => {
8756
+ const h = ot(U[F]);
8757
+ return D[F] = h, D;
8737
8758
  }, {});
8738
8759
  return {
8739
8760
  platform: {
@@ -8760,15 +8781,15 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8760
8781
  categorized: {
8761
8782
  bySubType: { ...y, MyFavorite: f },
8762
8783
  byPlatform: C,
8763
- byPlatformAndCategory: v,
8784
+ byPlatformAndCategory: x,
8764
8785
  byGameTypeAndPlatform: U,
8765
- byGameType: h
8786
+ byGameType: v
8766
8787
  },
8767
8788
  user: {
8768
8789
  favorite: f
8769
8790
  }
8770
8791
  };
8771
- }, Mm = (e = []) => !Ge(e) || se(e) ? [] : xi(e, (s) => se(s.SubPlatformEnum) ? s : s.SubPlatformEnum.map((n) => ({
8792
+ }, Rm = (e = []) => !Ge(e) || pe(e) ? [] : xi(e, (s) => pe(s.SubPlatformEnum) ? s : s.SubPlatformEnum.map((n) => ({
8772
8793
  ...s,
8773
8794
  ...n,
8774
8795
  platform: n.SubPlatformEnum,
@@ -8794,7 +8815,7 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
8794
8815
  },
8795
8816
  user: { favorite: [] }
8796
8817
  }, jo = ({ enabled: e = !0 } = {}) => {
8797
- const { getToken: s } = te(), { userFavoriteGameApi: n, userGameListApi: t } = ge(), { data: u, isLoading: p, error: b, refetch: c } = X({
8818
+ const { getToken: s } = te(), { userFavoriteGameApi: n, userGameListApi: t } = se(), { data: u, isLoading: p, error: b, refetch: c } = X({
8798
8819
  queryKey: ["gamesInfo"],
8799
8820
  queryFn: async () => {
8800
8821
  let g = {}, i = {};
@@ -35367,9 +35388,9 @@ const Jr = /* @__PURE__ */ qi(Zr), Ir = ({
35367
35388
  n && Qo(!0);
35368
35389
  }, [n]);
35369
35390
  const t = jo({ enabled: s });
35370
- return /* @__PURE__ */ sa.jsx(En.Provider, { value: t, children: e });
35391
+ return /* @__PURE__ */ sa.jsx(Nn.Provider, { value: t, children: e });
35371
35392
  };
35372
- function Rm({
35393
+ function Pm({
35373
35394
  children: e,
35374
35395
  autoFetchGamesInfo: s = !1,
35375
35396
  useMockData: n = !1,
@@ -35390,7 +35411,7 @@ function Rm({
35390
35411
  }),
35391
35412
  []
35392
35413
  ), g = t || c;
35393
- return /* @__PURE__ */ sa.jsx(ll, { client: g, children: /* @__PURE__ */ sa.jsx(Tn.Provider, { value: { client: p, formDataClient: b, ...u }, children: /* @__PURE__ */ sa.jsx(fl, { children: /* @__PURE__ */ sa.jsx(
35414
+ return /* @__PURE__ */ sa.jsx(ll, { client: g, children: /* @__PURE__ */ sa.jsx(hn.Provider, { value: { client: p, formDataClient: b, ...u }, children: /* @__PURE__ */ sa.jsx(fl, { children: /* @__PURE__ */ sa.jsx(
35394
35415
  Yo,
35395
35416
  {
35396
35417
  autoFetch: s,
@@ -35400,14 +35421,14 @@ function Rm({
35400
35421
  ) }) }) });
35401
35422
  }
35402
35423
  export {
35403
- Tn as ApiCtx,
35404
- Rm as ApiProvider,
35405
- En as GamesInfoCtx,
35424
+ hn as ApiCtx,
35425
+ Pm as ApiProvider,
35426
+ Nn as GamesInfoCtx,
35406
35427
  ba as STATUS_TYPES,
35407
- hn as StatusContext,
35428
+ kn as StatusContext,
35408
35429
  fl as StatusProvider,
35409
35430
  Jo as buildMultiTypes,
35410
- Gm as buildMultiTypesWithSubTypes,
35431
+ Mm as buildMultiTypesWithSubTypes,
35411
35432
  yl as buildSinglePlatformWithSubTypes,
35412
35433
  Ul as buildSingleType,
35413
35434
  Zo as categorizeGames,
@@ -35416,10 +35437,10 @@ export {
35416
35437
  zo as extractGameSubTypeNames,
35417
35438
  Wo as extractGameTypeNames,
35418
35439
  bn as extractPlatformNames,
35419
- Mn as filterGamesByPlatform,
35420
- Nn as findGameTypeUid,
35421
- Ln as findPlatformUid,
35422
- Gn as findSubPlatform,
35440
+ Rn as filterGamesByPlatform,
35441
+ Ln as findGameTypeUid,
35442
+ Gn as findPlatformUid,
35443
+ Mn as findSubPlatform,
35423
35444
  Ho as flattenAllGames,
35424
35445
  Vo as flattenFavoriteGames,
35425
35446
  rm as formatNumber,
@@ -35429,7 +35450,8 @@ export {
35429
35450
  Bo as handleDarkImage,
35430
35451
  Qo as initMockWindowData,
35431
35452
  qo as processGameInfo,
35432
- Mm as processPlatformData,
35453
+ Rm as processPlatformData,
35454
+ Sm as useAbandonPoint,
35433
35455
  te as useApiContext,
35434
35456
  om as useBalanceGetter,
35435
35457
  um as useBet,
@@ -35448,7 +35470,7 @@ export {
35448
35470
  qr as useEventList,
35449
35471
  lo as useEventTransaction,
35450
35472
  xo as useExpiredRewardsList,
35451
- Nm as useGameConfig,
35473
+ Lm as useGameConfig,
35452
35474
  nm as useGameInfoContext,
35453
35475
  jo as useGamesInfo,
35454
35476
  cm as useGetCarouseList,
@@ -35464,7 +35486,7 @@ export {
35464
35486
  bm as useNewsDetail,
35465
35487
  ym as useNewsList,
35466
35488
  Cm as usePayment,
35467
- Lm as usePlatformConfig,
35489
+ Gm as usePlatformConfig,
35468
35490
  vm as usePlayGame,
35469
35491
  km as usePointTransfer,
35470
35492
  Yr as useReadInbox,
@@ -35478,16 +35500,16 @@ export {
35478
35500
  To as useRewardsList,
35479
35501
  Ro as useSetUserTransactionPassword,
35480
35502
  No as useSignUp,
35481
- kn as useStatus,
35503
+ xn as useStatus,
35482
35504
  Lo as useToggleFavoriteGame,
35483
35505
  Oo as useTransferInGame,
35484
35506
  ko as useUnUsedRewardsList,
35485
35507
  Go as useUpdateUserInfo,
35486
- Sm as useUser,
35508
+ Dm as useUser,
35487
35509
  wo as useUserBindCard,
35488
35510
  Fo as useUserRebate,
35489
- Em as useVip,
35490
- Dm as useVipInfo,
35511
+ Nm as useVip,
35512
+ Em as useVipInfo,
35491
35513
  Ao as useVipList,
35492
35514
  to as useWithdrawAction,
35493
35515
  oo as useWithdrawTransaction