@obb871001/api-integration-sdk 1.0.285 → 1.0.286
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.cjs +5 -5
- package/dist/index.js +944 -904
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import de, { createContext as zi, useContext as ut, useState as tt, useMemo as Oa, useCallback as I, useRef as
|
|
2
|
-
import { useQueries as Bn, useQuery as ne, useQueryClient as Hn, useMutation as
|
|
1
|
+
import de, { createContext as zi, useContext as ut, useState as tt, useMemo as Oa, useCallback as I, useRef as X, useEffect as pe } from "react";
|
|
2
|
+
import { useQueries as Bn, useQuery as ne, useQueryClient as Hn, useMutation as oe, QueryClient as Al, QueryClientProvider as Ol } from "@tanstack/react-query";
|
|
3
3
|
import Bl from "axios";
|
|
4
4
|
import { get as ge, find as Qe, isEmpty as Ee, entries as Wn, map as We, isArray as la, toLower as ht, omit as Hl, replace as Tt, includes as Wl, isObject as Ii, flatMap as Vi, values as zl, keys as kt } from "lodash";
|
|
5
5
|
import Il from "react-dom";
|
|
@@ -75,10 +75,10 @@ function Jl() {
|
|
|
75
75
|
me.unshift("Warning: " + z), Function.prototype.apply.call(console[h], console, me);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var C = !1, v = !1, x = !1,
|
|
78
|
+
var C = !1, v = !1, x = !1, E = !1, M = !1, B;
|
|
79
79
|
B = Symbol.for("react.module.reference");
|
|
80
80
|
function k(h) {
|
|
81
|
-
return !!(typeof h == "string" || typeof h == "function" || h === n || h === g ||
|
|
81
|
+
return !!(typeof h == "string" || typeof h == "function" || h === n || h === g || M || h === p || h === a || h === i || E || h === u || C || v || x || typeof h == "object" && h !== null && (h.$$typeof === o || h.$$typeof === s || h.$$typeof === b || h.$$typeof === f || h.$$typeof === l || // 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.
|
|
@@ -91,10 +91,10 @@ function Jl() {
|
|
|
91
91
|
var re = z.displayName || z.name || "";
|
|
92
92
|
return re !== "" ? Z + "(" + re + ")" : Z;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function P(h) {
|
|
95
95
|
return h.displayName || "Context";
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function A(h) {
|
|
98
98
|
if (h == null)
|
|
99
99
|
return null;
|
|
100
100
|
if (typeof h.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof h == "function")
|
|
@@ -119,19 +119,19 @@ function Jl() {
|
|
|
119
119
|
switch (h.$$typeof) {
|
|
120
120
|
case f:
|
|
121
121
|
var z = h;
|
|
122
|
-
return
|
|
122
|
+
return P(z) + ".Consumer";
|
|
123
123
|
case b:
|
|
124
124
|
var Z = h;
|
|
125
|
-
return
|
|
125
|
+
return P(Z._context) + ".Provider";
|
|
126
126
|
case l:
|
|
127
127
|
return T(h, h.render, "ForwardRef");
|
|
128
128
|
case s:
|
|
129
129
|
var $ = h.displayName || null;
|
|
130
|
-
return $ !== null ? $ :
|
|
130
|
+
return $ !== null ? $ : A(h.type) || "Memo";
|
|
131
131
|
case o: {
|
|
132
132
|
var re = h, me = re._payload, te = re._init;
|
|
133
133
|
try {
|
|
134
|
-
return
|
|
134
|
+
return A(te(me));
|
|
135
135
|
} catch {
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
@@ -139,14 +139,14 @@ function Jl() {
|
|
|
139
139
|
}
|
|
140
140
|
return null;
|
|
141
141
|
}
|
|
142
|
-
var
|
|
142
|
+
var S = Object.assign, D = 0, N, F, O, H, W, G, L;
|
|
143
143
|
function w() {
|
|
144
144
|
}
|
|
145
145
|
w.__reactDisabledLog = !0;
|
|
146
|
-
function
|
|
146
|
+
function R() {
|
|
147
147
|
{
|
|
148
148
|
if (D === 0) {
|
|
149
|
-
|
|
149
|
+
N = console.log, F = console.info, O = console.warn, H = console.error, W = console.group, G = console.groupCollapsed, L = console.groupEnd;
|
|
150
150
|
var h = {
|
|
151
151
|
configurable: !0,
|
|
152
152
|
enumerable: !0,
|
|
@@ -175,26 +175,26 @@ function Jl() {
|
|
|
175
175
|
writable: !0
|
|
176
176
|
};
|
|
177
177
|
Object.defineProperties(console, {
|
|
178
|
-
log:
|
|
179
|
-
value:
|
|
178
|
+
log: S({}, h, {
|
|
179
|
+
value: N
|
|
180
180
|
}),
|
|
181
|
-
info:
|
|
182
|
-
value:
|
|
181
|
+
info: S({}, h, {
|
|
182
|
+
value: F
|
|
183
183
|
}),
|
|
184
|
-
warn:
|
|
184
|
+
warn: S({}, h, {
|
|
185
185
|
value: O
|
|
186
186
|
}),
|
|
187
|
-
error:
|
|
187
|
+
error: S({}, h, {
|
|
188
188
|
value: H
|
|
189
189
|
}),
|
|
190
|
-
group:
|
|
190
|
+
group: S({}, h, {
|
|
191
191
|
value: W
|
|
192
192
|
}),
|
|
193
|
-
groupCollapsed:
|
|
194
|
-
value: M
|
|
195
|
-
}),
|
|
196
|
-
groupEnd: E({}, h, {
|
|
193
|
+
groupCollapsed: S({}, h, {
|
|
197
194
|
value: G
|
|
195
|
+
}),
|
|
196
|
+
groupEnd: S({}, h, {
|
|
197
|
+
value: L
|
|
198
198
|
})
|
|
199
199
|
});
|
|
200
200
|
}
|
|
@@ -215,13 +215,13 @@ function Jl() {
|
|
|
215
215
|
` + Q + h;
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
var
|
|
218
|
+
var ee = !1, ie;
|
|
219
219
|
{
|
|
220
220
|
var _e = typeof WeakMap == "function" ? WeakMap : Map;
|
|
221
221
|
ie = new _e();
|
|
222
222
|
}
|
|
223
223
|
function ye(h, z) {
|
|
224
|
-
if (!h ||
|
|
224
|
+
if (!h || ee)
|
|
225
225
|
return "";
|
|
226
226
|
{
|
|
227
227
|
var Z = ie.get(h);
|
|
@@ -229,11 +229,11 @@ function Jl() {
|
|
|
229
229
|
return Z;
|
|
230
230
|
}
|
|
231
231
|
var $;
|
|
232
|
-
|
|
232
|
+
ee = !0;
|
|
233
233
|
var re = Error.prepareStackTrace;
|
|
234
234
|
Error.prepareStackTrace = void 0;
|
|
235
235
|
var me;
|
|
236
|
-
me = q.current, q.current = null,
|
|
236
|
+
me = q.current, q.current = null, R();
|
|
237
237
|
try {
|
|
238
238
|
if (z) {
|
|
239
239
|
var te = function() {
|
|
@@ -286,7 +286,7 @@ function Jl() {
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
} finally {
|
|
289
|
-
|
|
289
|
+
ee = !1, q.current = me, K(), Error.prepareStackTrace = re;
|
|
290
290
|
}
|
|
291
291
|
var Pa = h ? h.displayName || h.name : "", Ca = Pa ? J(Pa) : "";
|
|
292
292
|
return typeof h == "function" && ie.set(h, Ca), Ca;
|
|
@@ -488,7 +488,7 @@ function Jl() {
|
|
|
488
488
|
function La() {
|
|
489
489
|
{
|
|
490
490
|
if (da.current) {
|
|
491
|
-
var h =
|
|
491
|
+
var h = A(da.current.type);
|
|
492
492
|
if (h)
|
|
493
493
|
return `
|
|
494
494
|
|
|
@@ -523,7 +523,7 @@ Check the top-level render call using <` + Z + ">.");
|
|
|
523
523
|
return;
|
|
524
524
|
ba[Z] = !0;
|
|
525
525
|
var $ = "";
|
|
526
|
-
h && h._owner && h._owner !== da.current && ($ = " It was passed a child from " +
|
|
526
|
+
h && h._owner && h._owner !== da.current && ($ = " It was passed a child from " + A(h._owner.type) + "."), Ze(h), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Z, $), Ze(null);
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
function Se(h, z) {
|
|
@@ -560,11 +560,11 @@ Check the top-level render call using <` + Z + ">.");
|
|
|
560
560
|
else
|
|
561
561
|
return;
|
|
562
562
|
if (Z) {
|
|
563
|
-
var $ =
|
|
563
|
+
var $ = A(z);
|
|
564
564
|
ea(Z, h.props, "prop", $, h);
|
|
565
565
|
} else if (z.PropTypes !== void 0 && !ca) {
|
|
566
566
|
ca = !0;
|
|
567
|
-
var re =
|
|
567
|
+
var re = A(z);
|
|
568
568
|
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", re || "Unknown");
|
|
569
569
|
}
|
|
570
570
|
typeof z.getDefaultProps == "function" && !z.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -592,7 +592,7 @@ Check the top-level render call using <` + Z + ">.");
|
|
|
592
592
|
var Ae = Ga();
|
|
593
593
|
Ae ? Y += Ae : Y += La();
|
|
594
594
|
var be;
|
|
595
|
-
h === null ? be = "null" : ve(h) ? be = "array" : h !== void 0 && h.$$typeof === r ? (be = "<" + (
|
|
595
|
+
h === null ? be = "null" : ve(h) ? be = "array" : h !== void 0 && h.$$typeof === r ? (be = "<" + (A(h.type) || "Unknown") + " />", Y = " Did you accidentally export a JSX literal instead of a component?") : be = typeof h, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", be, Y);
|
|
596
596
|
}
|
|
597
597
|
var he = Ia(h, z, Z, re, me);
|
|
598
598
|
if (he == null)
|
|
@@ -611,7 +611,7 @@ Check the top-level render call using <` + Z + ">.");
|
|
|
611
611
|
Se(Je, h);
|
|
612
612
|
}
|
|
613
613
|
if (Ue.call(z, "key")) {
|
|
614
|
-
var Ca =
|
|
614
|
+
var Ca = A(h), Be = Object.keys(z).filter(function(wl) {
|
|
615
615
|
return wl !== "key";
|
|
616
616
|
}), $i = Be.length > 0 ? "{key: someKey, " + Be.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
617
617
|
if (!ta[Ca + $i]) {
|
|
@@ -642,7 +642,7 @@ function Kl() {
|
|
|
642
642
|
return Dt || (Dt = 1, process.env.NODE_ENV === "production" ? Xa.exports = Zl() : Xa.exports = Jl()), Xa.exports;
|
|
643
643
|
}
|
|
644
644
|
var we = Kl();
|
|
645
|
-
const zn = zi(null),
|
|
645
|
+
const zn = zi(null), se = () => {
|
|
646
646
|
const e = ut(zn);
|
|
647
647
|
if (!e)
|
|
648
648
|
throw new Error("useApiContext must be used within ApiProvider");
|
|
@@ -745,14 +745,14 @@ function Nt({
|
|
|
745
745
|
}
|
|
746
746
|
), a;
|
|
747
747
|
}
|
|
748
|
-
const qn = zi(null),
|
|
748
|
+
const qn = zi(null), Um = () => {
|
|
749
749
|
const e = ut(qn);
|
|
750
750
|
if (!e)
|
|
751
751
|
throw new Error(
|
|
752
752
|
"useGameInfoContext must be used within a GameInfoCtx.Provider"
|
|
753
753
|
);
|
|
754
754
|
return e;
|
|
755
|
-
},
|
|
755
|
+
}, bm = () => {
|
|
756
756
|
const e = (n, p) => !n && !p, r = (n) => n.startsWith("pc.");
|
|
757
757
|
return {
|
|
758
758
|
executeLogout: ({
|
|
@@ -771,7 +771,7 @@ const qn = zi(null), ym = () => {
|
|
|
771
771
|
shouldShowErrorNotice: e,
|
|
772
772
|
isMachineDomain: r
|
|
773
773
|
};
|
|
774
|
-
},
|
|
774
|
+
}, Cm = (e) => {
|
|
775
775
|
let r = Number(e);
|
|
776
776
|
return isNaN(r) ? e : new Intl.NumberFormat("en-US", {
|
|
777
777
|
style: "decimal",
|
|
@@ -815,153 +815,153 @@ function Xl() {
|
|
|
815
815
|
(function(t, n) {
|
|
816
816
|
e.exports = n();
|
|
817
817
|
})(Yl, (function() {
|
|
818
|
-
var t = 1e3, n = 6e4, p = 36e5, g = "millisecond", b = "second", f = "minute", l = "hour", a = "day", i = "week", s = "month", o = "quarter", u = "year", m = "date", c = "Invalid Date", d = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(
|
|
819
|
-
var D = ["th", "st", "nd", "rd"],
|
|
820
|
-
return "[" +
|
|
821
|
-
} }, U = function(
|
|
822
|
-
var
|
|
823
|
-
return !
|
|
824
|
-
}, C = { s: U, z: function(
|
|
825
|
-
var D = -
|
|
826
|
-
return (D <= 0 ? "+" : "-") + U(
|
|
827
|
-
}, m: function
|
|
828
|
-
if (D.date() <
|
|
829
|
-
var
|
|
830
|
-
return +(-(
|
|
831
|
-
}, a: function(
|
|
832
|
-
return
|
|
833
|
-
}, p: function(
|
|
834
|
-
return { M: s, y: u, w: i, d: a, D: m, h: l, m: f, s: b, ms: g, Q: o }[
|
|
835
|
-
}, u: function(
|
|
836
|
-
return
|
|
818
|
+
var t = 1e3, n = 6e4, p = 36e5, g = "millisecond", b = "second", f = "minute", l = "hour", a = "day", i = "week", s = "month", o = "quarter", u = "year", m = "date", c = "Invalid Date", d = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(S) {
|
|
819
|
+
var D = ["th", "st", "nd", "rd"], N = S % 100;
|
|
820
|
+
return "[" + S + (D[(N - 20) % 10] || D[N] || D[0]) + "]";
|
|
821
|
+
} }, U = function(S, D, N) {
|
|
822
|
+
var F = String(S);
|
|
823
|
+
return !F || F.length >= D ? S : "" + Array(D + 1 - F.length).join(N) + S;
|
|
824
|
+
}, C = { s: U, z: function(S) {
|
|
825
|
+
var D = -S.utcOffset(), N = Math.abs(D), F = Math.floor(N / 60), O = N % 60;
|
|
826
|
+
return (D <= 0 ? "+" : "-") + U(F, 2, "0") + ":" + U(O, 2, "0");
|
|
827
|
+
}, m: function S(D, N) {
|
|
828
|
+
if (D.date() < N.date()) return -S(N, D);
|
|
829
|
+
var F = 12 * (N.year() - D.year()) + (N.month() - D.month()), O = D.clone().add(F, s), H = N - O < 0, W = D.clone().add(F + (H ? -1 : 1), s);
|
|
830
|
+
return +(-(F + (N - O) / (H ? O - W : W - O)) || 0);
|
|
831
|
+
}, a: function(S) {
|
|
832
|
+
return S < 0 ? Math.ceil(S) || 0 : Math.floor(S);
|
|
833
|
+
}, p: function(S) {
|
|
834
|
+
return { M: s, y: u, w: i, d: a, D: m, h: l, m: f, s: b, ms: g, Q: o }[S] || String(S || "").toLowerCase().replace(/s$/, "");
|
|
835
|
+
}, u: function(S) {
|
|
836
|
+
return S === void 0;
|
|
837
837
|
} }, v = "en", x = {};
|
|
838
838
|
x[v] = _;
|
|
839
|
-
var
|
|
840
|
-
return
|
|
841
|
-
}, B = function
|
|
839
|
+
var E = "$isDayjsObject", M = function(S) {
|
|
840
|
+
return S instanceof P || !(!S || !S[E]);
|
|
841
|
+
}, B = function S(D, N, F) {
|
|
842
842
|
var O;
|
|
843
843
|
if (!D) return v;
|
|
844
844
|
if (typeof D == "string") {
|
|
845
845
|
var H = D.toLowerCase();
|
|
846
|
-
x[H] && (O = H),
|
|
846
|
+
x[H] && (O = H), N && (x[H] = N, O = H);
|
|
847
847
|
var W = D.split("-");
|
|
848
|
-
if (!O && W.length > 1) return
|
|
848
|
+
if (!O && W.length > 1) return S(W[0]);
|
|
849
849
|
} else {
|
|
850
|
-
var
|
|
851
|
-
x[
|
|
850
|
+
var G = D.name;
|
|
851
|
+
x[G] = D, O = G;
|
|
852
852
|
}
|
|
853
|
-
return !
|
|
854
|
-
}, k = function(
|
|
855
|
-
if (
|
|
856
|
-
var
|
|
857
|
-
return
|
|
853
|
+
return !F && O && (v = O), O || !F && v;
|
|
854
|
+
}, k = function(S, D) {
|
|
855
|
+
if (M(S)) return S.clone();
|
|
856
|
+
var N = typeof D == "object" ? D : {};
|
|
857
|
+
return N.date = S, N.args = arguments, new P(N);
|
|
858
858
|
}, T = C;
|
|
859
|
-
T.l = B, T.i =
|
|
860
|
-
return k(
|
|
859
|
+
T.l = B, T.i = M, T.w = function(S, D) {
|
|
860
|
+
return k(S, { locale: D.$L, utc: D.$u, x: D.$x, $offset: D.$offset });
|
|
861
861
|
};
|
|
862
|
-
var
|
|
863
|
-
function
|
|
864
|
-
this.$L = B(
|
|
862
|
+
var P = (function() {
|
|
863
|
+
function S(N) {
|
|
864
|
+
this.$L = B(N.locale, null, !0), this.parse(N), this.$x = this.$x || N.x || {}, this[E] = !0;
|
|
865
865
|
}
|
|
866
|
-
var D =
|
|
867
|
-
return D.parse = function(
|
|
868
|
-
this.$d = (function(
|
|
869
|
-
var O =
|
|
866
|
+
var D = S.prototype;
|
|
867
|
+
return D.parse = function(N) {
|
|
868
|
+
this.$d = (function(F) {
|
|
869
|
+
var O = F.date, H = F.utc;
|
|
870
870
|
if (O === null) return /* @__PURE__ */ new Date(NaN);
|
|
871
871
|
if (T.u(O)) return /* @__PURE__ */ new Date();
|
|
872
872
|
if (O instanceof Date) return new Date(O);
|
|
873
873
|
if (typeof O == "string" && !/Z$/i.test(O)) {
|
|
874
874
|
var W = O.match(d);
|
|
875
875
|
if (W) {
|
|
876
|
-
var
|
|
877
|
-
return H ? new Date(Date.UTC(W[1],
|
|
876
|
+
var G = W[2] - 1 || 0, L = (W[7] || "0").substring(0, 3);
|
|
877
|
+
return H ? new Date(Date.UTC(W[1], G, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, L)) : new Date(W[1], G, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, L);
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
880
|
return new Date(O);
|
|
881
|
-
})(
|
|
881
|
+
})(N), this.init();
|
|
882
882
|
}, D.init = function() {
|
|
883
|
-
var
|
|
884
|
-
this.$y =
|
|
883
|
+
var N = this.$d;
|
|
884
|
+
this.$y = N.getFullYear(), this.$M = N.getMonth(), this.$D = N.getDate(), this.$W = N.getDay(), this.$H = N.getHours(), this.$m = N.getMinutes(), this.$s = N.getSeconds(), this.$ms = N.getMilliseconds();
|
|
885
885
|
}, D.$utils = function() {
|
|
886
886
|
return T;
|
|
887
887
|
}, D.isValid = function() {
|
|
888
888
|
return this.$d.toString() !== c;
|
|
889
|
-
}, D.isSame = function(
|
|
890
|
-
var O = k(
|
|
891
|
-
return this.startOf(
|
|
892
|
-
}, D.isAfter = function(
|
|
893
|
-
return k(
|
|
894
|
-
}, D.isBefore = function(
|
|
895
|
-
return this.endOf(
|
|
896
|
-
}, D.$g = function(
|
|
897
|
-
return T.u(
|
|
889
|
+
}, D.isSame = function(N, F) {
|
|
890
|
+
var O = k(N);
|
|
891
|
+
return this.startOf(F) <= O && O <= this.endOf(F);
|
|
892
|
+
}, D.isAfter = function(N, F) {
|
|
893
|
+
return k(N) < this.startOf(F);
|
|
894
|
+
}, D.isBefore = function(N, F) {
|
|
895
|
+
return this.endOf(F) < k(N);
|
|
896
|
+
}, D.$g = function(N, F, O) {
|
|
897
|
+
return T.u(N) ? this[F] : this.set(O, N);
|
|
898
898
|
}, D.unix = function() {
|
|
899
899
|
return Math.floor(this.valueOf() / 1e3);
|
|
900
900
|
}, D.valueOf = function() {
|
|
901
901
|
return this.$d.getTime();
|
|
902
|
-
}, D.startOf = function(
|
|
903
|
-
var O = this, H = !!T.u(
|
|
904
|
-
var _e = T.w(O.$u ? Date.UTC(O.$y, ie,
|
|
902
|
+
}, D.startOf = function(N, F) {
|
|
903
|
+
var O = this, H = !!T.u(F) || F, W = T.p(N), G = function(ee, ie) {
|
|
904
|
+
var _e = T.w(O.$u ? Date.UTC(O.$y, ie, ee) : new Date(O.$y, ie, ee), O);
|
|
905
905
|
return H ? _e : _e.endOf(a);
|
|
906
|
-
},
|
|
907
|
-
return T.w(O.toDate()[
|
|
908
|
-
}, w = this.$W,
|
|
906
|
+
}, L = function(ee, ie) {
|
|
907
|
+
return T.w(O.toDate()[ee].apply(O.toDate("s"), (H ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), O);
|
|
908
|
+
}, w = this.$W, R = this.$M, K = this.$D, q = "set" + (this.$u ? "UTC" : "");
|
|
909
909
|
switch (W) {
|
|
910
910
|
case u:
|
|
911
|
-
return H ?
|
|
911
|
+
return H ? G(1, 0) : G(31, 11);
|
|
912
912
|
case s:
|
|
913
|
-
return H ?
|
|
913
|
+
return H ? G(1, R) : G(0, R + 1);
|
|
914
914
|
case i:
|
|
915
915
|
var Q = this.$locale().weekStart || 0, J = (w < Q ? w + 7 : w) - Q;
|
|
916
|
-
return
|
|
916
|
+
return G(H ? K - J : K + (6 - J), R);
|
|
917
917
|
case a:
|
|
918
918
|
case m:
|
|
919
|
-
return
|
|
919
|
+
return L(q + "Hours", 0);
|
|
920
920
|
case l:
|
|
921
|
-
return
|
|
921
|
+
return L(q + "Minutes", 1);
|
|
922
922
|
case f:
|
|
923
|
-
return
|
|
923
|
+
return L(q + "Seconds", 2);
|
|
924
924
|
case b:
|
|
925
|
-
return
|
|
925
|
+
return L(q + "Milliseconds", 3);
|
|
926
926
|
default:
|
|
927
927
|
return this.clone();
|
|
928
928
|
}
|
|
929
|
-
}, D.endOf = function(
|
|
930
|
-
return this.startOf(
|
|
931
|
-
}, D.$set = function(
|
|
932
|
-
var O, H = T.p(
|
|
929
|
+
}, D.endOf = function(N) {
|
|
930
|
+
return this.startOf(N, !1);
|
|
931
|
+
}, D.$set = function(N, F) {
|
|
932
|
+
var O, H = T.p(N), W = "set" + (this.$u ? "UTC" : ""), G = (O = {}, O[a] = W + "Date", O[m] = W + "Date", O[s] = W + "Month", O[u] = W + "FullYear", O[l] = W + "Hours", O[f] = W + "Minutes", O[b] = W + "Seconds", O[g] = W + "Milliseconds", O)[H], L = H === a ? this.$D + (F - this.$W) : F;
|
|
933
933
|
if (H === s || H === u) {
|
|
934
934
|
var w = this.clone().set(m, 1);
|
|
935
|
-
w.$d[
|
|
936
|
-
} else
|
|
935
|
+
w.$d[G](L), w.init(), this.$d = w.set(m, Math.min(this.$D, w.daysInMonth())).$d;
|
|
936
|
+
} else G && this.$d[G](L);
|
|
937
937
|
return this.init(), this;
|
|
938
|
-
}, D.set = function(
|
|
939
|
-
return this.clone().$set(
|
|
940
|
-
}, D.get = function(
|
|
941
|
-
return this[T.p(
|
|
942
|
-
}, D.add = function(
|
|
938
|
+
}, D.set = function(N, F) {
|
|
939
|
+
return this.clone().$set(N, F);
|
|
940
|
+
}, D.get = function(N) {
|
|
941
|
+
return this[T.p(N)]();
|
|
942
|
+
}, D.add = function(N, F) {
|
|
943
943
|
var O, H = this;
|
|
944
|
-
|
|
945
|
-
var W = T.p(
|
|
944
|
+
N = Number(N);
|
|
945
|
+
var W = T.p(F), G = function(R) {
|
|
946
946
|
var K = k(H);
|
|
947
|
-
return T.w(K.date(K.date() + Math.round(
|
|
947
|
+
return T.w(K.date(K.date() + Math.round(R * N)), H);
|
|
948
948
|
};
|
|
949
|
-
if (W === s) return this.set(s, this.$M +
|
|
950
|
-
if (W === u) return this.set(u, this.$y +
|
|
951
|
-
if (W === a) return
|
|
952
|
-
if (W === i) return
|
|
953
|
-
var
|
|
949
|
+
if (W === s) return this.set(s, this.$M + N);
|
|
950
|
+
if (W === u) return this.set(u, this.$y + N);
|
|
951
|
+
if (W === a) return G(1);
|
|
952
|
+
if (W === i) return G(7);
|
|
953
|
+
var L = (O = {}, O[f] = n, O[l] = p, O[b] = t, O)[W] || 1, w = this.$d.getTime() + N * L;
|
|
954
954
|
return T.w(w, this);
|
|
955
|
-
}, D.subtract = function(
|
|
956
|
-
return this.add(-1 *
|
|
957
|
-
}, D.format = function(
|
|
958
|
-
var
|
|
955
|
+
}, D.subtract = function(N, F) {
|
|
956
|
+
return this.add(-1 * N, F);
|
|
957
|
+
}, D.format = function(N) {
|
|
958
|
+
var F = this, O = this.$locale();
|
|
959
959
|
if (!this.isValid()) return O.invalidDate || c;
|
|
960
|
-
var H =
|
|
961
|
-
return ie && (ie[_e] || ie(
|
|
960
|
+
var H = N || "YYYY-MM-DDTHH:mm:ssZ", W = T.z(this), G = this.$H, L = this.$m, w = this.$M, R = O.weekdays, K = O.months, q = O.meridiem, Q = function(ie, _e, ye, le) {
|
|
961
|
+
return ie && (ie[_e] || ie(F, H)) || ye[_e].slice(0, le);
|
|
962
962
|
}, J = function(ie) {
|
|
963
|
-
return T.s(
|
|
964
|
-
},
|
|
963
|
+
return T.s(G % 12 || 12, ie, "0");
|
|
964
|
+
}, ee = q || function(ie, _e, ye) {
|
|
965
965
|
var le = ie < 12 ? "AM" : "PM";
|
|
966
966
|
return ye ? le.toLowerCase() : le;
|
|
967
967
|
};
|
|
@@ -969,9 +969,9 @@ function Xl() {
|
|
|
969
969
|
return _e || (function(ye) {
|
|
970
970
|
switch (ye) {
|
|
971
971
|
case "YY":
|
|
972
|
-
return String(
|
|
972
|
+
return String(F.$y).slice(-2);
|
|
973
973
|
case "YYYY":
|
|
974
|
-
return T.s(
|
|
974
|
+
return T.s(F.$y, 4, "0");
|
|
975
975
|
case "M":
|
|
976
976
|
return w + 1;
|
|
977
977
|
case "MM":
|
|
@@ -981,39 +981,39 @@ function Xl() {
|
|
|
981
981
|
case "MMMM":
|
|
982
982
|
return Q(K, w);
|
|
983
983
|
case "D":
|
|
984
|
-
return
|
|
984
|
+
return F.$D;
|
|
985
985
|
case "DD":
|
|
986
|
-
return T.s(
|
|
986
|
+
return T.s(F.$D, 2, "0");
|
|
987
987
|
case "d":
|
|
988
|
-
return String(
|
|
988
|
+
return String(F.$W);
|
|
989
989
|
case "dd":
|
|
990
|
-
return Q(O.weekdaysMin,
|
|
990
|
+
return Q(O.weekdaysMin, F.$W, R, 2);
|
|
991
991
|
case "ddd":
|
|
992
|
-
return Q(O.weekdaysShort,
|
|
992
|
+
return Q(O.weekdaysShort, F.$W, R, 3);
|
|
993
993
|
case "dddd":
|
|
994
|
-
return
|
|
994
|
+
return R[F.$W];
|
|
995
995
|
case "H":
|
|
996
|
-
return String(
|
|
996
|
+
return String(G);
|
|
997
997
|
case "HH":
|
|
998
|
-
return T.s(
|
|
998
|
+
return T.s(G, 2, "0");
|
|
999
999
|
case "h":
|
|
1000
1000
|
return J(1);
|
|
1001
1001
|
case "hh":
|
|
1002
1002
|
return J(2);
|
|
1003
1003
|
case "a":
|
|
1004
|
-
return
|
|
1004
|
+
return ee(G, L, !0);
|
|
1005
1005
|
case "A":
|
|
1006
|
-
return
|
|
1006
|
+
return ee(G, L, !1);
|
|
1007
1007
|
case "m":
|
|
1008
|
-
return String(
|
|
1008
|
+
return String(L);
|
|
1009
1009
|
case "mm":
|
|
1010
|
-
return T.s(
|
|
1010
|
+
return T.s(L, 2, "0");
|
|
1011
1011
|
case "s":
|
|
1012
|
-
return String(
|
|
1012
|
+
return String(F.$s);
|
|
1013
1013
|
case "ss":
|
|
1014
|
-
return T.s(
|
|
1014
|
+
return T.s(F.$s, 2, "0");
|
|
1015
1015
|
case "SSS":
|
|
1016
|
-
return T.s(
|
|
1016
|
+
return T.s(F.$ms, 3, "0");
|
|
1017
1017
|
case "Z":
|
|
1018
1018
|
return W;
|
|
1019
1019
|
}
|
|
@@ -1022,11 +1022,11 @@ function Xl() {
|
|
|
1022
1022
|
}));
|
|
1023
1023
|
}, D.utcOffset = function() {
|
|
1024
1024
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1025
|
-
}, D.diff = function(
|
|
1026
|
-
var H, W = this,
|
|
1027
|
-
return T.m(W,
|
|
1025
|
+
}, D.diff = function(N, F, O) {
|
|
1026
|
+
var H, W = this, G = T.p(F), L = k(N), w = (L.utcOffset() - this.utcOffset()) * n, R = this - L, K = function() {
|
|
1027
|
+
return T.m(W, L);
|
|
1028
1028
|
};
|
|
1029
|
-
switch (
|
|
1029
|
+
switch (G) {
|
|
1030
1030
|
case u:
|
|
1031
1031
|
H = K() / 12;
|
|
1032
1032
|
break;
|
|
@@ -1037,31 +1037,31 @@ function Xl() {
|
|
|
1037
1037
|
H = K() / 3;
|
|
1038
1038
|
break;
|
|
1039
1039
|
case i:
|
|
1040
|
-
H = (
|
|
1040
|
+
H = (R - w) / 6048e5;
|
|
1041
1041
|
break;
|
|
1042
1042
|
case a:
|
|
1043
|
-
H = (
|
|
1043
|
+
H = (R - w) / 864e5;
|
|
1044
1044
|
break;
|
|
1045
1045
|
case l:
|
|
1046
|
-
H =
|
|
1046
|
+
H = R / p;
|
|
1047
1047
|
break;
|
|
1048
1048
|
case f:
|
|
1049
|
-
H =
|
|
1049
|
+
H = R / n;
|
|
1050
1050
|
break;
|
|
1051
1051
|
case b:
|
|
1052
|
-
H =
|
|
1052
|
+
H = R / t;
|
|
1053
1053
|
break;
|
|
1054
1054
|
default:
|
|
1055
|
-
H =
|
|
1055
|
+
H = R;
|
|
1056
1056
|
}
|
|
1057
1057
|
return O ? H : T.a(H);
|
|
1058
1058
|
}, D.daysInMonth = function() {
|
|
1059
1059
|
return this.endOf(s).$D;
|
|
1060
1060
|
}, D.$locale = function() {
|
|
1061
1061
|
return x[this.$L];
|
|
1062
|
-
}, D.locale = function(
|
|
1063
|
-
if (!
|
|
1064
|
-
var O = this.clone(), H = B(
|
|
1062
|
+
}, D.locale = function(N, F) {
|
|
1063
|
+
if (!N) return this.$L;
|
|
1064
|
+
var O = this.clone(), H = B(N, F, !0);
|
|
1065
1065
|
return H && (O.$L = H), O;
|
|
1066
1066
|
}, D.clone = function() {
|
|
1067
1067
|
return T.w(this.$d, this);
|
|
@@ -1073,16 +1073,16 @@ function Xl() {
|
|
|
1073
1073
|
return this.$d.toISOString();
|
|
1074
1074
|
}, D.toString = function() {
|
|
1075
1075
|
return this.$d.toUTCString();
|
|
1076
|
-
},
|
|
1077
|
-
})(),
|
|
1078
|
-
return k.prototype =
|
|
1079
|
-
|
|
1080
|
-
return this.$g(D,
|
|
1076
|
+
}, S;
|
|
1077
|
+
})(), A = P.prototype;
|
|
1078
|
+
return k.prototype = A, [["$ms", g], ["$s", b], ["$m", f], ["$H", l], ["$W", a], ["$M", s], ["$y", u], ["$D", m]].forEach((function(S) {
|
|
1079
|
+
A[S[1]] = function(D) {
|
|
1080
|
+
return this.$g(D, S[0], S[1]);
|
|
1081
1081
|
};
|
|
1082
|
-
})), k.extend = function(
|
|
1083
|
-
return
|
|
1084
|
-
}, k.locale = B, k.isDayjs =
|
|
1085
|
-
return k(1e3 *
|
|
1082
|
+
})), k.extend = function(S, D) {
|
|
1083
|
+
return S.$i || (S(D, P, k), S.$i = !0), k;
|
|
1084
|
+
}, k.locale = B, k.isDayjs = M, k.unix = function(S) {
|
|
1085
|
+
return k(1e3 * S);
|
|
1086
1086
|
}, k.en = x[v], k.Ls = x, k.p = {}, k;
|
|
1087
1087
|
}));
|
|
1088
1088
|
})(ti)), ti.exports;
|
|
@@ -1263,9 +1263,9 @@ function ae() {
|
|
|
1263
1263
|
concat: function(_) {
|
|
1264
1264
|
var U = this.words, C = _.words, v = this.sigBytes, x = _.sigBytes;
|
|
1265
1265
|
if (this.clamp(), v % 4)
|
|
1266
|
-
for (var
|
|
1267
|
-
var
|
|
1268
|
-
U[v +
|
|
1266
|
+
for (var E = 0; E < x; E++) {
|
|
1267
|
+
var M = C[E >>> 2] >>> 24 - E % 4 * 8 & 255;
|
|
1268
|
+
U[v + E >>> 2] |= M << 24 - (v + E) % 4 * 8;
|
|
1269
1269
|
}
|
|
1270
1270
|
else
|
|
1271
1271
|
for (var B = 0; B < x; B += 4)
|
|
@@ -1330,8 +1330,8 @@ function ae() {
|
|
|
1330
1330
|
*/
|
|
1331
1331
|
stringify: function(_) {
|
|
1332
1332
|
for (var U = _.words, C = _.sigBytes, v = [], x = 0; x < C; x++) {
|
|
1333
|
-
var
|
|
1334
|
-
v.push((
|
|
1333
|
+
var E = U[x >>> 2] >>> 24 - x % 4 * 8 & 255;
|
|
1334
|
+
v.push((E >>> 4).toString(16)), v.push((E & 15).toString(16));
|
|
1335
1335
|
}
|
|
1336
1336
|
return v.join("");
|
|
1337
1337
|
},
|
|
@@ -1369,8 +1369,8 @@ function ae() {
|
|
|
1369
1369
|
*/
|
|
1370
1370
|
stringify: function(_) {
|
|
1371
1371
|
for (var U = _.words, C = _.sigBytes, v = [], x = 0; x < C; x++) {
|
|
1372
|
-
var
|
|
1373
|
-
v.push(String.fromCharCode(
|
|
1372
|
+
var E = U[x >>> 2] >>> 24 - x % 4 * 8 & 255;
|
|
1373
|
+
v.push(String.fromCharCode(E));
|
|
1374
1374
|
}
|
|
1375
1375
|
return v.join("");
|
|
1376
1376
|
},
|
|
@@ -1468,12 +1468,12 @@ function ae() {
|
|
|
1468
1468
|
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
1469
1469
|
*/
|
|
1470
1470
|
_process: function(_) {
|
|
1471
|
-
var U, C = this._data, v = C.words, x = C.sigBytes,
|
|
1471
|
+
var U, C = this._data, v = C.words, x = C.sigBytes, E = this.blockSize, M = E * 4, B = x / M;
|
|
1472
1472
|
_ ? B = n.ceil(B) : B = n.max((B | 0) - this._minBufferSize, 0);
|
|
1473
|
-
var k = B *
|
|
1473
|
+
var k = B * E, T = n.min(k * 4, x);
|
|
1474
1474
|
if (k) {
|
|
1475
|
-
for (var
|
|
1476
|
-
this._doProcessBlock(v,
|
|
1475
|
+
for (var P = 0; P < k; P += E)
|
|
1476
|
+
this._doProcessBlock(v, P);
|
|
1477
1477
|
U = v.splice(0, k), C.sigBytes -= T;
|
|
1478
1478
|
}
|
|
1479
1479
|
return new s.init(U, T);
|
|
@@ -2128,17 +2128,17 @@ function Da() {
|
|
|
2128
2128
|
var _ = d + y, U = c[_];
|
|
2129
2129
|
c[_] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360;
|
|
2130
2130
|
}
|
|
2131
|
-
var C = this._hash.words, v = c[d + 0], x = c[d + 1],
|
|
2132
|
-
|
|
2131
|
+
var C = this._hash.words, v = c[d + 0], x = c[d + 1], E = c[d + 2], M = c[d + 3], B = c[d + 4], k = c[d + 5], T = c[d + 6], P = c[d + 7], A = c[d + 8], S = c[d + 9], D = c[d + 10], N = c[d + 11], F = c[d + 12], O = c[d + 13], H = c[d + 14], W = c[d + 15], G = C[0], L = C[1], w = C[2], R = C[3];
|
|
2132
|
+
G = s(G, L, w, R, v, 7, a[0]), R = s(R, G, L, w, x, 12, a[1]), w = s(w, R, G, L, E, 17, a[2]), L = s(L, w, R, G, M, 22, a[3]), G = s(G, L, w, R, B, 7, a[4]), R = s(R, G, L, w, k, 12, a[5]), w = s(w, R, G, L, T, 17, a[6]), L = s(L, w, R, G, P, 22, a[7]), G = s(G, L, w, R, A, 7, a[8]), R = s(R, G, L, w, S, 12, a[9]), w = s(w, R, G, L, D, 17, a[10]), L = s(L, w, R, G, N, 22, a[11]), G = s(G, L, w, R, F, 7, a[12]), R = s(R, G, L, w, O, 12, a[13]), w = s(w, R, G, L, H, 17, a[14]), L = s(L, w, R, G, W, 22, a[15]), G = o(G, L, w, R, x, 5, a[16]), R = o(R, G, L, w, T, 9, a[17]), w = o(w, R, G, L, N, 14, a[18]), L = o(L, w, R, G, v, 20, a[19]), G = o(G, L, w, R, k, 5, a[20]), R = o(R, G, L, w, D, 9, a[21]), w = o(w, R, G, L, W, 14, a[22]), L = o(L, w, R, G, B, 20, a[23]), G = o(G, L, w, R, S, 5, a[24]), R = o(R, G, L, w, H, 9, a[25]), w = o(w, R, G, L, M, 14, a[26]), L = o(L, w, R, G, A, 20, a[27]), G = o(G, L, w, R, O, 5, a[28]), R = o(R, G, L, w, E, 9, a[29]), w = o(w, R, G, L, P, 14, a[30]), L = o(L, w, R, G, F, 20, a[31]), G = u(G, L, w, R, k, 4, a[32]), R = u(R, G, L, w, A, 11, a[33]), w = u(w, R, G, L, N, 16, a[34]), L = u(L, w, R, G, H, 23, a[35]), G = u(G, L, w, R, x, 4, a[36]), R = u(R, G, L, w, B, 11, a[37]), w = u(w, R, G, L, P, 16, a[38]), L = u(L, w, R, G, D, 23, a[39]), G = u(G, L, w, R, O, 4, a[40]), R = u(R, G, L, w, v, 11, a[41]), w = u(w, R, G, L, M, 16, a[42]), L = u(L, w, R, G, T, 23, a[43]), G = u(G, L, w, R, S, 4, a[44]), R = u(R, G, L, w, F, 11, a[45]), w = u(w, R, G, L, W, 16, a[46]), L = u(L, w, R, G, E, 23, a[47]), G = m(G, L, w, R, v, 6, a[48]), R = m(R, G, L, w, P, 10, a[49]), w = m(w, R, G, L, H, 15, a[50]), L = m(L, w, R, G, k, 21, a[51]), G = m(G, L, w, R, F, 6, a[52]), R = m(R, G, L, w, M, 10, a[53]), w = m(w, R, G, L, D, 15, a[54]), L = m(L, w, R, G, x, 21, a[55]), G = m(G, L, w, R, A, 6, a[56]), R = m(R, G, L, w, W, 10, a[57]), w = m(w, R, G, L, T, 15, a[58]), L = m(L, w, R, G, O, 21, a[59]), G = m(G, L, w, R, B, 6, a[60]), R = m(R, G, L, w, N, 10, a[61]), w = m(w, R, G, L, E, 15, a[62]), L = m(L, w, R, G, S, 21, a[63]), C[0] = C[0] + G | 0, C[1] = C[1] + L | 0, C[2] = C[2] + w | 0, C[3] = C[3] + R | 0;
|
|
2133
2133
|
},
|
|
2134
2134
|
_doFinalize: function() {
|
|
2135
2135
|
var c = this._data, d = c.words, y = this._nDataBytes * 8, _ = c.sigBytes * 8;
|
|
2136
2136
|
d[_ >>> 5] |= 128 << 24 - _ % 32;
|
|
2137
2137
|
var U = n.floor(y / 4294967296), C = y;
|
|
2138
2138
|
d[(_ + 64 >>> 9 << 4) + 15] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, d[(_ + 64 >>> 9 << 4) + 14] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, c.sigBytes = (d.length + 1) * 4, this._process();
|
|
2139
|
-
for (var v = this._hash, x = v.words,
|
|
2140
|
-
var
|
|
2141
|
-
x[
|
|
2139
|
+
for (var v = this._hash, x = v.words, E = 0; E < 4; E++) {
|
|
2140
|
+
var M = x[E];
|
|
2141
|
+
x[E] = (M << 8 | M >>> 24) & 16711935 | (M << 24 | M >>> 8) & 4278255360;
|
|
2142
2142
|
}
|
|
2143
2143
|
return v;
|
|
2144
2144
|
},
|
|
@@ -2238,17 +2238,17 @@ function gt() {
|
|
|
2238
2238
|
this._hash = new b.init(a.slice(0));
|
|
2239
2239
|
},
|
|
2240
2240
|
_doProcessBlock: function(u, m) {
|
|
2241
|
-
for (var c = this._hash.words, d = c[0], y = c[1], _ = c[2], U = c[3], C = c[4], v = c[5], x = c[6],
|
|
2242
|
-
if (
|
|
2243
|
-
s[
|
|
2241
|
+
for (var c = this._hash.words, d = c[0], y = c[1], _ = c[2], U = c[3], C = c[4], v = c[5], x = c[6], E = c[7], M = 0; M < 64; M++) {
|
|
2242
|
+
if (M < 16)
|
|
2243
|
+
s[M] = u[m + M] | 0;
|
|
2244
2244
|
else {
|
|
2245
|
-
var B = s[
|
|
2246
|
-
s[
|
|
2245
|
+
var B = s[M - 15], k = (B << 25 | B >>> 7) ^ (B << 14 | B >>> 18) ^ B >>> 3, T = s[M - 2], P = (T << 15 | T >>> 17) ^ (T << 13 | T >>> 19) ^ T >>> 10;
|
|
2246
|
+
s[M] = k + s[M - 7] + P + s[M - 16];
|
|
2247
2247
|
}
|
|
2248
|
-
var
|
|
2249
|
-
|
|
2248
|
+
var A = C & v ^ ~C & x, S = d & y ^ d & _ ^ y & _, D = (d << 30 | d >>> 2) ^ (d << 19 | d >>> 13) ^ (d << 10 | d >>> 22), N = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), F = E + N + A + i[M] + s[M], O = D + S;
|
|
2249
|
+
E = x, x = v, v = C, C = U + F | 0, U = _, _ = y, y = d, d = F + O | 0;
|
|
2250
2250
|
}
|
|
2251
|
-
c[0] = c[0] + d | 0, c[1] = c[1] + y | 0, c[2] = c[2] + _ | 0, c[3] = c[3] + U | 0, c[4] = c[4] + C | 0, c[5] = c[5] + v | 0, c[6] = c[6] + x | 0, c[7] = c[7] +
|
|
2251
|
+
c[0] = c[0] + d | 0, c[1] = c[1] + y | 0, c[2] = c[2] + _ | 0, c[3] = c[3] + U | 0, c[4] = c[4] + C | 0, c[5] = c[5] + v | 0, c[6] = c[6] + x | 0, c[7] = c[7] + E | 0;
|
|
2252
2252
|
},
|
|
2253
2253
|
_doFinalize: function() {
|
|
2254
2254
|
var u = this._data, m = u.words, c = this._nDataBytes * 8, d = u.sigBytes * 8;
|
|
@@ -2405,7 +2405,7 @@ function el() {
|
|
|
2405
2405
|
]);
|
|
2406
2406
|
},
|
|
2407
2407
|
_doProcessBlock: function(m, c) {
|
|
2408
|
-
for (var d = this._hash.words, y = d[0], _ = d[1], U = d[2], C = d[3], v = d[4], x = d[5],
|
|
2408
|
+
for (var d = this._hash.words, y = d[0], _ = d[1], U = d[2], C = d[3], v = d[4], x = d[5], E = d[6], M = d[7], B = y.high, k = y.low, T = _.high, P = _.low, A = U.high, S = U.low, D = C.high, N = C.low, F = v.high, O = v.low, H = x.high, W = x.low, G = E.high, L = E.low, w = M.high, R = M.low, K = B, q = k, Q = T, J = P, ee = A, ie = S, _e = D, ye = N, le = F, ce = O, ke = H, Ue = W, ze = G, Ce = L, Ge = w, ea = R, Me = 0; Me < 80; Me++) {
|
|
2409
2409
|
var ve, Oe, aa = o[Me];
|
|
2410
2410
|
if (Me < 16)
|
|
2411
2411
|
Oe = aa.high = m[c + Me * 2] | 0, ve = aa.low = m[c + Me * 2 + 1] | 0;
|
|
@@ -2413,10 +2413,10 @@ function el() {
|
|
|
2413
2413
|
var ia = o[Me - 15], xe = ia.high, Re = ia.low, Ke = (xe >>> 1 | Re << 31) ^ (xe >>> 8 | Re << 24) ^ xe >>> 7, oa = (Re >>> 1 | xe << 31) ^ (Re >>> 8 | xe << 24) ^ (Re >>> 7 | xe << 25), ga = o[Me - 2], Ie = ga.high, qe = ga.low, Wa = (Ie >>> 19 | qe << 13) ^ (Ie << 3 | qe >>> 29) ^ Ie >>> 6, Ea = (qe >>> 19 | Ie << 13) ^ (qe << 3 | Ie >>> 29) ^ (qe >>> 6 | Ie << 26), Na = o[Me - 7], za = Na.high, Ia = Na.low, da = o[Me - 16], Ua = da.high, Ze = da.low;
|
|
2414
2414
|
ve = oa + Ia, Oe = Ke + za + (ve >>> 0 < oa >>> 0 ? 1 : 0), ve = ve + Ea, Oe = Oe + Wa + (ve >>> 0 < Ea >>> 0 ? 1 : 0), ve = ve + Ze, Oe = Oe + Ua + (ve >>> 0 < Ze >>> 0 ? 1 : 0), aa.high = Oe, aa.low = ve;
|
|
2415
2415
|
}
|
|
2416
|
-
var ca = le & ke ^ ~le & ze, fa = ce & Ue ^ ~ce & Ce, La = K & Q ^ K &
|
|
2417
|
-
Ge = ze, ea = Ce, ze = ke, Ce = Ue, ke = le, Ue = ce, ce = ye + Pe | 0, le = _e + na + (ce >>> 0 < ye >>> 0 ? 1 : 0) | 0, _e =
|
|
2416
|
+
var ca = le & ke ^ ~le & ze, fa = ce & Ue ^ ~ce & Ce, La = K & Q ^ K & ee ^ Q & ee, Ga = q & J ^ q & ie ^ J & ie, ba = (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 = (le >>> 14 | ce << 18) ^ (le >>> 18 | ce << 14) ^ (le << 23 | ce >>> 9), Se = (ce >>> 14 | le << 18) ^ (ce >>> 18 | le << 14) ^ (ce << 23 | le >>> 9), V = s[Me], De = V.high, ta = V.low, Pe = ea + Se, na = Ge + Ra + (Pe >>> 0 < ea >>> 0 ? 1 : 0), Pe = Pe + fa, na = na + ca + (Pe >>> 0 < fa >>> 0 ? 1 : 0), Pe = Pe + ta, na = na + De + (Pe >>> 0 < ta >>> 0 ? 1 : 0), Pe = Pe + ve, na = na + Oe + (Pe >>> 0 < ve >>> 0 ? 1 : 0), Ya = Ma + Ga, qi = ba + La + (Ya >>> 0 < Ma >>> 0 ? 1 : 0);
|
|
2417
|
+
Ge = ze, ea = Ce, ze = ke, Ce = Ue, ke = le, Ue = ce, ce = ye + Pe | 0, le = _e + na + (ce >>> 0 < ye >>> 0 ? 1 : 0) | 0, _e = ee, ye = ie, ee = Q, ie = J, Q = K, J = q, q = Pe + Ya | 0, K = na + qi + (q >>> 0 < Pe >>> 0 ? 1 : 0) | 0;
|
|
2418
2418
|
}
|
|
2419
|
-
k = y.low = k + q, y.high = B + K + (k >>> 0 < q >>> 0 ? 1 : 0),
|
|
2419
|
+
k = y.low = k + q, y.high = B + K + (k >>> 0 < q >>> 0 ? 1 : 0), P = _.low = P + J, _.high = T + Q + (P >>> 0 < J >>> 0 ? 1 : 0), S = U.low = S + ie, U.high = A + ee + (S >>> 0 < ie >>> 0 ? 1 : 0), N = C.low = N + ye, C.high = D + _e + (N >>> 0 < ye >>> 0 ? 1 : 0), O = v.low = O + ce, v.high = F + le + (O >>> 0 < ce >>> 0 ? 1 : 0), W = x.low = W + Ue, x.high = H + ke + (W >>> 0 < Ue >>> 0 ? 1 : 0), L = E.low = L + Ce, E.high = G + ze + (L >>> 0 < Ce >>> 0 ? 1 : 0), R = M.low = R + ea, M.high = w + Ge + (R >>> 0 < ea >>> 0 ? 1 : 0);
|
|
2420
2420
|
},
|
|
2421
2421
|
_doFinalize: function() {
|
|
2422
2422
|
var m = this._data, c = m.words, d = this._nDataBytes * 8, y = m.sigBytes * 8;
|
|
@@ -2483,14 +2483,14 @@ function Tr() {
|
|
|
2483
2483
|
for (var y = 0; y < 5; y++)
|
|
2484
2484
|
o[d + 5 * y] = y + (2 * d + 3 * y) % 5 * 5;
|
|
2485
2485
|
for (var v = 1, x = 0; x < 24; x++) {
|
|
2486
|
-
for (var
|
|
2486
|
+
for (var E = 0, M = 0, B = 0; B < 7; B++) {
|
|
2487
2487
|
if (v & 1) {
|
|
2488
2488
|
var k = (1 << B) - 1;
|
|
2489
|
-
k < 32 ?
|
|
2489
|
+
k < 32 ? M ^= 1 << k : E ^= 1 << k - 32;
|
|
2490
2490
|
}
|
|
2491
2491
|
v & 128 ? v = v << 1 ^ 113 : v <<= 1;
|
|
2492
2492
|
}
|
|
2493
|
-
u[x] = a.create(
|
|
2493
|
+
u[x] = a.create(E, M);
|
|
2494
2494
|
}
|
|
2495
2495
|
})();
|
|
2496
2496
|
var m = [];
|
|
@@ -2519,38 +2519,38 @@ function Tr() {
|
|
|
2519
2519
|
for (var _ = this._state, U = this.blockSize / 2, C = 0; C < U; C++) {
|
|
2520
2520
|
var v = d[y + 2 * C], x = d[y + 2 * C + 1];
|
|
2521
2521
|
v = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, x = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360;
|
|
2522
|
-
var
|
|
2523
|
-
|
|
2522
|
+
var E = _[C];
|
|
2523
|
+
E.high ^= x, E.low ^= v;
|
|
2524
2524
|
}
|
|
2525
|
-
for (var
|
|
2525
|
+
for (var M = 0; M < 24; M++) {
|
|
2526
2526
|
for (var B = 0; B < 5; B++) {
|
|
2527
|
-
for (var k = 0, T = 0,
|
|
2528
|
-
var
|
|
2529
|
-
k ^=
|
|
2527
|
+
for (var k = 0, T = 0, P = 0; P < 5; P++) {
|
|
2528
|
+
var E = _[B + 5 * P];
|
|
2529
|
+
k ^= E.high, T ^= E.low;
|
|
2530
2530
|
}
|
|
2531
|
-
var
|
|
2532
|
-
|
|
2531
|
+
var A = m[B];
|
|
2532
|
+
A.high = k, A.low = T;
|
|
2533
2533
|
}
|
|
2534
2534
|
for (var B = 0; B < 5; B++)
|
|
2535
|
-
for (var
|
|
2536
|
-
var
|
|
2537
|
-
|
|
2535
|
+
for (var S = m[(B + 4) % 5], D = m[(B + 1) % 5], N = D.high, F = D.low, k = S.high ^ (N << 1 | F >>> 31), T = S.low ^ (F << 1 | N >>> 31), P = 0; P < 5; P++) {
|
|
2536
|
+
var E = _[B + 5 * P];
|
|
2537
|
+
E.high ^= k, E.low ^= T;
|
|
2538
2538
|
}
|
|
2539
2539
|
for (var O = 1; O < 25; O++) {
|
|
2540
|
-
var k, T,
|
|
2541
|
-
|
|
2542
|
-
var
|
|
2543
|
-
|
|
2540
|
+
var k, T, E = _[O], H = E.high, W = E.low, G = s[O];
|
|
2541
|
+
G < 32 ? (k = H << G | W >>> 32 - G, T = W << G | H >>> 32 - G) : (k = W << G - 32 | H >>> 64 - G, T = H << G - 32 | W >>> 64 - G);
|
|
2542
|
+
var L = m[o[O]];
|
|
2543
|
+
L.high = k, L.low = T;
|
|
2544
2544
|
}
|
|
2545
|
-
var w = m[0],
|
|
2546
|
-
w.high =
|
|
2545
|
+
var w = m[0], R = _[0];
|
|
2546
|
+
w.high = R.high, w.low = R.low;
|
|
2547
2547
|
for (var B = 0; B < 5; B++)
|
|
2548
|
-
for (var
|
|
2549
|
-
var O = B + 5 *
|
|
2550
|
-
|
|
2548
|
+
for (var P = 0; P < 5; P++) {
|
|
2549
|
+
var O = B + 5 * P, E = _[O], K = m[O], q = m[(B + 1) % 5 + 5 * P], Q = m[(B + 2) % 5 + 5 * P];
|
|
2550
|
+
E.high = K.high ^ ~q.high & Q.high, E.low = K.low ^ ~q.low & Q.low;
|
|
2551
2551
|
}
|
|
2552
|
-
var
|
|
2553
|
-
|
|
2552
|
+
var E = _[0], J = u[M];
|
|
2553
|
+
E.high ^= J.high, E.low ^= J.low;
|
|
2554
2554
|
}
|
|
2555
2555
|
},
|
|
2556
2556
|
_doFinalize: function() {
|
|
@@ -2558,11 +2558,11 @@ function Tr() {
|
|
|
2558
2558
|
this._nDataBytes * 8;
|
|
2559
2559
|
var _ = d.sigBytes * 8, U = this.blockSize * 32;
|
|
2560
2560
|
y[_ >>> 5] |= 1 << 24 - _ % 32, y[(n.ceil((_ + 1) / U) * U >>> 5) - 1] |= 128, d.sigBytes = y.length * 4, this._process();
|
|
2561
|
-
for (var C = this._state, v = this.cfg.outputLength / 8, x = v / 8,
|
|
2562
|
-
var B = C[
|
|
2563
|
-
k = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360, T = (T << 8 | T >>> 24) & 16711935 | (T << 24 | T >>> 8) & 4278255360,
|
|
2561
|
+
for (var C = this._state, v = this.cfg.outputLength / 8, x = v / 8, E = [], M = 0; M < x; M++) {
|
|
2562
|
+
var B = C[M], k = B.high, T = B.low;
|
|
2563
|
+
k = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360, T = (T << 8 | T >>> 24) & 16711935 | (T << 24 | T >>> 8) & 4278255360, E.push(T), E.push(k);
|
|
2564
2564
|
}
|
|
2565
|
-
return new b.init(
|
|
2565
|
+
return new b.init(E, v);
|
|
2566
2566
|
},
|
|
2567
2567
|
clone: function() {
|
|
2568
2568
|
for (var d = f.clone.call(this), y = d._state = this._state.slice(0), _ = 0; _ < 25; _++)
|
|
@@ -2910,23 +2910,23 @@ function xr() {
|
|
|
2910
2910
|
_doReset: function() {
|
|
2911
2911
|
this._hash = b.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
|
|
2912
2912
|
},
|
|
2913
|
-
_doProcessBlock: function(x,
|
|
2914
|
-
for (var
|
|
2915
|
-
var B =
|
|
2913
|
+
_doProcessBlock: function(x, E) {
|
|
2914
|
+
for (var M = 0; M < 16; M++) {
|
|
2915
|
+
var B = E + M, k = x[B];
|
|
2916
2916
|
x[B] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
|
|
2917
2917
|
}
|
|
2918
|
-
var T = this._hash.words,
|
|
2919
|
-
w = O = T[0],
|
|
2920
|
-
for (var J,
|
|
2921
|
-
J = O + x[
|
|
2922
|
-
J = T[1] + W + q | 0, T[1] = T[2] +
|
|
2918
|
+
var T = this._hash.words, P = u.words, A = m.words, S = a.words, D = i.words, N = s.words, F = o.words, O, H, W, G, L, w, R, K, q, Q;
|
|
2919
|
+
w = O = T[0], R = H = T[1], K = W = T[2], q = G = T[3], Q = L = T[4];
|
|
2920
|
+
for (var J, M = 0; M < 80; M += 1)
|
|
2921
|
+
J = O + x[E + S[M]] | 0, M < 16 ? J += d(H, W, G) + P[0] : M < 32 ? J += y(H, W, G) + P[1] : M < 48 ? J += _(H, W, G) + P[2] : M < 64 ? J += U(H, W, G) + P[3] : J += C(H, W, G) + P[4], J = J | 0, J = v(J, N[M]), J = J + L | 0, O = L, L = G, G = v(W, 10), W = H, H = J, J = w + x[E + D[M]] | 0, M < 16 ? J += C(R, K, q) + A[0] : M < 32 ? J += U(R, K, q) + A[1] : M < 48 ? J += _(R, K, q) + A[2] : M < 64 ? J += y(R, K, q) + A[3] : J += d(R, K, q) + A[4], J = J | 0, J = v(J, F[M]), J = J + Q | 0, w = Q, Q = q, q = v(K, 10), K = R, R = J;
|
|
2922
|
+
J = T[1] + W + q | 0, T[1] = T[2] + G + Q | 0, T[2] = T[3] + L + w | 0, T[3] = T[4] + O + R | 0, T[4] = T[0] + H + K | 0, T[0] = J;
|
|
2923
2923
|
},
|
|
2924
2924
|
_doFinalize: function() {
|
|
2925
|
-
var x = this._data,
|
|
2926
|
-
|
|
2927
|
-
for (var k = this._hash, T = k.words,
|
|
2928
|
-
var
|
|
2929
|
-
T[
|
|
2925
|
+
var x = this._data, E = x.words, M = this._nDataBytes * 8, B = x.sigBytes * 8;
|
|
2926
|
+
E[B >>> 5] |= 128 << 24 - B % 32, E[(B + 64 >>> 9 << 4) + 14] = (M << 8 | M >>> 24) & 16711935 | (M << 24 | M >>> 8) & 4278255360, x.sigBytes = (E.length + 1) * 4, this._process();
|
|
2927
|
+
for (var k = this._hash, T = k.words, P = 0; P < 5; P++) {
|
|
2928
|
+
var A = T[P];
|
|
2929
|
+
T[P] = (A << 8 | A >>> 24) & 16711935 | (A << 24 | A >>> 8) & 4278255360;
|
|
2930
2930
|
}
|
|
2931
2931
|
return k;
|
|
2932
2932
|
},
|
|
@@ -2935,23 +2935,23 @@ function xr() {
|
|
|
2935
2935
|
return x._hash = this._hash.clone(), x;
|
|
2936
2936
|
}
|
|
2937
2937
|
});
|
|
2938
|
-
function d(x,
|
|
2939
|
-
return x ^
|
|
2938
|
+
function d(x, E, M) {
|
|
2939
|
+
return x ^ E ^ M;
|
|
2940
2940
|
}
|
|
2941
|
-
function y(x,
|
|
2942
|
-
return x &
|
|
2941
|
+
function y(x, E, M) {
|
|
2942
|
+
return x & E | ~x & M;
|
|
2943
2943
|
}
|
|
2944
|
-
function _(x,
|
|
2945
|
-
return (x | ~
|
|
2944
|
+
function _(x, E, M) {
|
|
2945
|
+
return (x | ~E) ^ M;
|
|
2946
2946
|
}
|
|
2947
|
-
function U(x,
|
|
2948
|
-
return x &
|
|
2947
|
+
function U(x, E, M) {
|
|
2948
|
+
return x & M | E & ~M;
|
|
2949
2949
|
}
|
|
2950
|
-
function C(x,
|
|
2951
|
-
return x ^ (
|
|
2950
|
+
function C(x, E, M) {
|
|
2951
|
+
return x ^ (E | ~M);
|
|
2952
2952
|
}
|
|
2953
|
-
function v(x,
|
|
2954
|
-
return x <<
|
|
2953
|
+
function v(x, E) {
|
|
2954
|
+
return x << E | x >>> 32 - E;
|
|
2955
2955
|
}
|
|
2956
2956
|
p.RIPEMD160 = f._createHelper(c), p.HmacRIPEMD160 = f._createHmacHelper(c);
|
|
2957
2957
|
})(), t.RIPEMD160;
|
|
@@ -3086,9 +3086,9 @@ function Er() {
|
|
|
3086
3086
|
for (var u = this.cfg, m = a.create(u.hasher, s), c = b.create(), d = b.create([1]), y = c.words, _ = d.words, U = u.keySize, C = u.iterations; y.length < U; ) {
|
|
3087
3087
|
var v = m.update(o).finalize(d);
|
|
3088
3088
|
m.reset();
|
|
3089
|
-
for (var x = v.words,
|
|
3090
|
-
|
|
3091
|
-
for (var k =
|
|
3089
|
+
for (var x = v.words, E = x.length, M = v, B = 1; B < C; B++) {
|
|
3090
|
+
M = m.finalize(M), m.reset();
|
|
3091
|
+
for (var k = M.words, T = 0; T < E; T++)
|
|
3092
3092
|
x[T] ^= k[T];
|
|
3093
3093
|
}
|
|
3094
3094
|
c.concat(v), _[0]++;
|
|
@@ -3227,8 +3227,8 @@ function Ne() {
|
|
|
3227
3227
|
*
|
|
3228
3228
|
* var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
|
|
3229
3229
|
*/
|
|
3230
|
-
init: function(k, T,
|
|
3231
|
-
this.cfg = this.cfg.extend(
|
|
3230
|
+
init: function(k, T, P) {
|
|
3231
|
+
this.cfg = this.cfg.extend(P), this._xformMode = k, this._key = T, this.reset();
|
|
3232
3232
|
},
|
|
3233
3233
|
/**
|
|
3234
3234
|
* Resets this cipher to its initial state.
|
|
@@ -3297,11 +3297,11 @@ function Ne() {
|
|
|
3297
3297
|
}
|
|
3298
3298
|
return function(T) {
|
|
3299
3299
|
return {
|
|
3300
|
-
encrypt: function(
|
|
3301
|
-
return k(
|
|
3300
|
+
encrypt: function(P, A, S) {
|
|
3301
|
+
return k(A).encrypt(T, P, A, S);
|
|
3302
3302
|
},
|
|
3303
|
-
decrypt: function(
|
|
3304
|
-
return k(
|
|
3303
|
+
decrypt: function(P, A, S) {
|
|
3304
|
+
return k(A).decrypt(T, P, A, S);
|
|
3305
3305
|
}
|
|
3306
3306
|
};
|
|
3307
3307
|
};
|
|
@@ -3371,9 +3371,9 @@ function Ne() {
|
|
|
3371
3371
|
*
|
|
3372
3372
|
* mode.processBlock(data.words, offset);
|
|
3373
3373
|
*/
|
|
3374
|
-
processBlock: function(
|
|
3375
|
-
var
|
|
3376
|
-
T.call(this,
|
|
3374
|
+
processBlock: function(P, A) {
|
|
3375
|
+
var S = this._cipher, D = S.blockSize;
|
|
3376
|
+
T.call(this, P, A, D), S.encryptBlock(P, A), this._prevBlock = P.slice(A, A + D);
|
|
3377
3377
|
}
|
|
3378
3378
|
}), k.Decryptor = k.extend({
|
|
3379
3379
|
/**
|
|
@@ -3386,16 +3386,16 @@ function Ne() {
|
|
|
3386
3386
|
*
|
|
3387
3387
|
* mode.processBlock(data.words, offset);
|
|
3388
3388
|
*/
|
|
3389
|
-
processBlock: function(
|
|
3390
|
-
var
|
|
3391
|
-
|
|
3389
|
+
processBlock: function(P, A) {
|
|
3390
|
+
var S = this._cipher, D = S.blockSize, N = P.slice(A, A + D);
|
|
3391
|
+
S.decryptBlock(P, A), T.call(this, P, A, D), this._prevBlock = N;
|
|
3392
3392
|
}
|
|
3393
3393
|
});
|
|
3394
|
-
function T(
|
|
3395
|
-
var D,
|
|
3396
|
-
|
|
3397
|
-
for (var
|
|
3398
|
-
|
|
3394
|
+
function T(P, A, S) {
|
|
3395
|
+
var D, N = this._iv;
|
|
3396
|
+
N ? (D = N, this._iv = n) : D = this._prevBlock;
|
|
3397
|
+
for (var F = 0; F < S; F++)
|
|
3398
|
+
P[A + F] ^= D[F];
|
|
3399
3399
|
}
|
|
3400
3400
|
return k;
|
|
3401
3401
|
})(), y = p.pad = {}, _ = y.Pkcs7 = {
|
|
@@ -3412,10 +3412,10 @@ function Ne() {
|
|
|
3412
3412
|
* CryptoJS.pad.Pkcs7.pad(wordArray, 4);
|
|
3413
3413
|
*/
|
|
3414
3414
|
pad: function(k, T) {
|
|
3415
|
-
for (var
|
|
3416
|
-
D.push(
|
|
3417
|
-
var
|
|
3418
|
-
k.concat(
|
|
3415
|
+
for (var P = T * 4, A = P - k.sigBytes % P, S = A << 24 | A << 16 | A << 8 | A, D = [], N = 0; N < A; N += 4)
|
|
3416
|
+
D.push(S);
|
|
3417
|
+
var F = f.create(D, A);
|
|
3418
|
+
k.concat(F);
|
|
3419
3419
|
},
|
|
3420
3420
|
/**
|
|
3421
3421
|
* Unpads data that had been padded using the algorithm defined in PKCS #5/7.
|
|
@@ -3447,8 +3447,8 @@ function Ne() {
|
|
|
3447
3447
|
reset: function() {
|
|
3448
3448
|
var k;
|
|
3449
3449
|
u.reset.call(this);
|
|
3450
|
-
var T = this.cfg,
|
|
3451
|
-
this._xformMode == this._ENC_XFORM_MODE ? k =
|
|
3450
|
+
var T = this.cfg, P = T.iv, A = T.mode;
|
|
3451
|
+
this._xformMode == this._ENC_XFORM_MODE ? k = A.createEncryptor : (k = A.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == k ? this._mode.init(this, P && P.words) : (this._mode = k.call(A, this, P && P.words), this._mode.__creator = k);
|
|
3452
3452
|
},
|
|
3453
3453
|
_doProcessBlock: function(k, T) {
|
|
3454
3454
|
this._mode.processBlock(k, T);
|
|
@@ -3515,8 +3515,8 @@ function Ne() {
|
|
|
3515
3515
|
* var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
|
|
3516
3516
|
*/
|
|
3517
3517
|
stringify: function(k) {
|
|
3518
|
-
var T,
|
|
3519
|
-
return
|
|
3518
|
+
var T, P = k.ciphertext, A = k.salt;
|
|
3519
|
+
return A ? T = f.create([1398893684, 1701076831]).concat(A).concat(P) : T = P, T.toString(i);
|
|
3520
3520
|
},
|
|
3521
3521
|
/**
|
|
3522
3522
|
* Converts an OpenSSL-compatible string to a cipher params object.
|
|
@@ -3532,8 +3532,8 @@ function Ne() {
|
|
|
3532
3532
|
* var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
|
|
3533
3533
|
*/
|
|
3534
3534
|
parse: function(k) {
|
|
3535
|
-
var T,
|
|
3536
|
-
return
|
|
3535
|
+
var T, P = i.parse(k), A = P.words;
|
|
3536
|
+
return A[0] == 1398893684 && A[1] == 1701076831 && (T = f.create(A.slice(2, 4)), A.splice(0, 4), P.sigBytes -= 16), U.create({ ciphertext: P, salt: T });
|
|
3537
3537
|
}
|
|
3538
3538
|
}, x = g.SerializableCipher = b.extend({
|
|
3539
3539
|
/**
|
|
@@ -3562,18 +3562,18 @@ function Ne() {
|
|
|
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(k, T,
|
|
3566
|
-
|
|
3567
|
-
var
|
|
3565
|
+
encrypt: function(k, T, P, A) {
|
|
3566
|
+
A = this.cfg.extend(A);
|
|
3567
|
+
var S = k.createEncryptor(P, A), D = S.finalize(T), N = S.cfg;
|
|
3568
3568
|
return U.create({
|
|
3569
3569
|
ciphertext: D,
|
|
3570
|
-
key:
|
|
3571
|
-
iv:
|
|
3570
|
+
key: P,
|
|
3571
|
+
iv: N.iv,
|
|
3572
3572
|
algorithm: k,
|
|
3573
|
-
mode:
|
|
3574
|
-
padding:
|
|
3573
|
+
mode: N.mode,
|
|
3574
|
+
padding: N.padding,
|
|
3575
3575
|
blockSize: k.blockSize,
|
|
3576
|
-
formatter:
|
|
3576
|
+
formatter: A.format
|
|
3577
3577
|
});
|
|
3578
3578
|
},
|
|
3579
3579
|
/**
|
|
@@ -3593,10 +3593,10 @@ function Ne() {
|
|
|
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(k, T,
|
|
3597
|
-
|
|
3598
|
-
var
|
|
3599
|
-
return
|
|
3596
|
+
decrypt: function(k, T, P, A) {
|
|
3597
|
+
A = this.cfg.extend(A), T = this._parse(T, A.format);
|
|
3598
|
+
var S = k.createDecryptor(P, A).finalize(T.ciphertext);
|
|
3599
|
+
return S;
|
|
3600
3600
|
},
|
|
3601
3601
|
/**
|
|
3602
3602
|
* Converts serialized ciphertext to CipherParams,
|
|
@@ -3616,7 +3616,7 @@ function Ne() {
|
|
|
3616
3616
|
_parse: function(k, T) {
|
|
3617
3617
|
return typeof k == "string" ? T.parse(k, this) : k;
|
|
3618
3618
|
}
|
|
3619
|
-
}),
|
|
3619
|
+
}), E = p.kdf = {}, M = E.OpenSSL = {
|
|
3620
3620
|
/**
|
|
3621
3621
|
* Derives a key and IV from a password.
|
|
3622
3622
|
*
|
|
@@ -3634,13 +3634,13 @@ function Ne() {
|
|
|
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(k, T,
|
|
3638
|
-
if (
|
|
3639
|
-
var D = o.create({ keySize: T +
|
|
3637
|
+
execute: function(k, T, P, A, S) {
|
|
3638
|
+
if (A || (A = f.random(64 / 8)), S)
|
|
3639
|
+
var D = o.create({ keySize: T + P, hasher: S }).compute(k, A);
|
|
3640
3640
|
else
|
|
3641
|
-
var D = o.create({ keySize: T +
|
|
3642
|
-
var
|
|
3643
|
-
return D.sigBytes = T * 4, U.create({ key: D, iv:
|
|
3641
|
+
var D = o.create({ keySize: T + P }).compute(k, A);
|
|
3642
|
+
var N = f.create(D.words.slice(T), P * 4);
|
|
3643
|
+
return D.sigBytes = T * 4, U.create({ key: D, iv: N, salt: A });
|
|
3644
3644
|
}
|
|
3645
3645
|
}, B = g.PasswordBasedCipher = x.extend({
|
|
3646
3646
|
/**
|
|
@@ -3649,7 +3649,7 @@ function Ne() {
|
|
|
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
3651
|
cfg: x.cfg.extend({
|
|
3652
|
-
kdf:
|
|
3652
|
+
kdf: M
|
|
3653
3653
|
}),
|
|
3654
3654
|
/**
|
|
3655
3655
|
* Encrypts a message using a password.
|
|
@@ -3668,12 +3668,12 @@ function Ne() {
|
|
|
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(k, T,
|
|
3672
|
-
|
|
3673
|
-
var
|
|
3674
|
-
|
|
3675
|
-
var D = x.encrypt.call(this, k, T,
|
|
3676
|
-
return D.mixIn(
|
|
3671
|
+
encrypt: function(k, T, P, A) {
|
|
3672
|
+
A = this.cfg.extend(A);
|
|
3673
|
+
var S = A.kdf.execute(P, k.keySize, k.ivSize, A.salt, A.hasher);
|
|
3674
|
+
A.iv = S.iv;
|
|
3675
|
+
var D = x.encrypt.call(this, k, T, S.key, A);
|
|
3676
|
+
return D.mixIn(S), D;
|
|
3677
3677
|
},
|
|
3678
3678
|
/**
|
|
3679
3679
|
* Decrypts serialized ciphertext using a password.
|
|
@@ -3692,11 +3692,11 @@ function Ne() {
|
|
|
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(k, T,
|
|
3696
|
-
|
|
3697
|
-
var
|
|
3698
|
-
|
|
3699
|
-
var D = x.decrypt.call(this, k, T,
|
|
3695
|
+
decrypt: function(k, T, P, A) {
|
|
3696
|
+
A = this.cfg.extend(A), T = this._parse(T, A.format);
|
|
3697
|
+
var S = A.kdf.execute(P, k.keySize, k.ivSize, T.salt, A.hasher);
|
|
3698
|
+
A.iv = S.iv;
|
|
3699
|
+
var D = x.decrypt.call(this, k, T, S.key, A);
|
|
3700
3700
|
return D;
|
|
3701
3701
|
}
|
|
3702
3702
|
});
|
|
@@ -3982,27 +3982,27 @@ function eo() {
|
|
|
3982
3982
|
for (var U = [], C = 0; C < 256; C++)
|
|
3983
3983
|
C < 128 ? U[C] = C << 1 : U[C] = C << 1 ^ 283;
|
|
3984
3984
|
for (var v = 0, x = 0, C = 0; C < 256; C++) {
|
|
3985
|
-
var
|
|
3986
|
-
|
|
3987
|
-
var
|
|
3985
|
+
var E = x ^ x << 1 ^ x << 2 ^ x << 3 ^ x << 4;
|
|
3986
|
+
E = E >>> 8 ^ E & 255 ^ 99, f[v] = E, l[E] = v;
|
|
3987
|
+
var M = U[v], B = U[M], k = U[B], T = U[E] * 257 ^ E * 16843008;
|
|
3988
3988
|
a[v] = T << 24 | T >>> 8, i[v] = T << 16 | T >>> 16, s[v] = T << 8 | T >>> 24, o[v] = T;
|
|
3989
|
-
var T = k * 16843009 ^ B * 65537 ^
|
|
3990
|
-
u[
|
|
3989
|
+
var T = k * 16843009 ^ B * 65537 ^ M * 257 ^ v * 16843008;
|
|
3990
|
+
u[E] = T << 24 | T >>> 8, m[E] = T << 16 | T >>> 16, c[E] = T << 8 | T >>> 24, d[E] = T, v ? (v = M ^ U[U[U[k ^ M]]], x ^= U[U[x]]) : v = x = 1;
|
|
3991
3991
|
}
|
|
3992
3992
|
})();
|
|
3993
3993
|
var y = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], _ = b.AES = g.extend({
|
|
3994
3994
|
_doReset: function() {
|
|
3995
3995
|
var U;
|
|
3996
3996
|
if (!(this._nRounds && this._keyPriorReset === this._key)) {
|
|
3997
|
-
for (var C = this._keyPriorReset = this._key, v = C.words, x = C.sigBytes / 4,
|
|
3997
|
+
for (var C = this._keyPriorReset = this._key, v = C.words, x = C.sigBytes / 4, E = this._nRounds = x + 6, M = (E + 1) * 4, B = this._keySchedule = [], k = 0; k < M; k++)
|
|
3998
3998
|
k < x ? B[k] = v[k] : (U = B[k - 1], k % x ? x > 6 && k % x == 4 && (U = f[U >>> 24] << 24 | f[U >>> 16 & 255] << 16 | f[U >>> 8 & 255] << 8 | f[U & 255]) : (U = U << 8 | U >>> 24, U = f[U >>> 24] << 24 | f[U >>> 16 & 255] << 16 | f[U >>> 8 & 255] << 8 | f[U & 255], U ^= y[k / x | 0] << 24), B[k] = B[k - x] ^ U);
|
|
3999
|
-
for (var T = this._invKeySchedule = [],
|
|
4000
|
-
var k =
|
|
4001
|
-
if (
|
|
3999
|
+
for (var T = this._invKeySchedule = [], P = 0; P < M; P++) {
|
|
4000
|
+
var k = M - P;
|
|
4001
|
+
if (P % 4)
|
|
4002
4002
|
var U = B[k];
|
|
4003
4003
|
else
|
|
4004
4004
|
var U = B[k - 4];
|
|
4005
|
-
|
|
4005
|
+
P < 4 || k <= 4 ? T[P] = U : T[P] = u[f[U >>> 24]] ^ m[f[U >>> 16 & 255]] ^ c[f[U >>> 8 & 255]] ^ d[f[U & 255]];
|
|
4006
4006
|
}
|
|
4007
4007
|
}
|
|
4008
4008
|
},
|
|
@@ -4015,13 +4015,13 @@ function eo() {
|
|
|
4015
4015
|
var v = U[C + 1];
|
|
4016
4016
|
U[C + 1] = U[C + 3], U[C + 3] = v;
|
|
4017
4017
|
},
|
|
4018
|
-
_doCryptBlock: function(U, C, v, x,
|
|
4019
|
-
for (var T = this._nRounds,
|
|
4020
|
-
var O = x[
|
|
4021
|
-
|
|
4018
|
+
_doCryptBlock: function(U, C, v, x, E, M, B, k) {
|
|
4019
|
+
for (var T = this._nRounds, P = U[C] ^ v[0], A = U[C + 1] ^ v[1], S = U[C + 2] ^ v[2], D = U[C + 3] ^ v[3], N = 4, F = 1; F < T; F++) {
|
|
4020
|
+
var O = x[P >>> 24] ^ E[A >>> 16 & 255] ^ M[S >>> 8 & 255] ^ B[D & 255] ^ v[N++], H = x[A >>> 24] ^ E[S >>> 16 & 255] ^ M[D >>> 8 & 255] ^ B[P & 255] ^ v[N++], W = x[S >>> 24] ^ E[D >>> 16 & 255] ^ M[P >>> 8 & 255] ^ B[A & 255] ^ v[N++], G = x[D >>> 24] ^ E[P >>> 16 & 255] ^ M[A >>> 8 & 255] ^ B[S & 255] ^ v[N++];
|
|
4021
|
+
P = O, A = H, S = W, D = G;
|
|
4022
4022
|
}
|
|
4023
|
-
var O = (k[
|
|
4024
|
-
U[C] = O, U[C + 1] = H, U[C + 2] = W, U[C + 3] =
|
|
4023
|
+
var O = (k[P >>> 24] << 24 | k[A >>> 16 & 255] << 16 | k[S >>> 8 & 255] << 8 | k[D & 255]) ^ v[N++], H = (k[A >>> 24] << 24 | k[S >>> 16 & 255] << 16 | k[D >>> 8 & 255] << 8 | k[P & 255]) ^ v[N++], W = (k[S >>> 24] << 24 | k[D >>> 16 & 255] << 16 | k[P >>> 8 & 255] << 8 | k[A & 255]) ^ v[N++], G = (k[D >>> 24] << 24 | k[P >>> 16 & 255] << 16 | k[A >>> 8 & 255] << 8 | k[S & 255]) ^ v[N++];
|
|
4024
|
+
U[C] = O, U[C + 1] = H, U[C + 2] = W, U[C + 3] = G;
|
|
4025
4025
|
},
|
|
4026
4026
|
keySize: 256 / 32
|
|
4027
4027
|
});
|
|
@@ -4687,13 +4687,13 @@ function io() {
|
|
|
4687
4687
|
var v = l[C] - 1;
|
|
4688
4688
|
U[C] = _[v >>> 5] >>> 31 - v % 32 & 1;
|
|
4689
4689
|
}
|
|
4690
|
-
for (var x = this._subKeys = [],
|
|
4691
|
-
for (var
|
|
4692
|
-
|
|
4693
|
-
|
|
4690
|
+
for (var x = this._subKeys = [], E = 0; E < 16; E++) {
|
|
4691
|
+
for (var M = x[E] = [], B = i[E], C = 0; C < 24; C++)
|
|
4692
|
+
M[C / 6 | 0] |= U[(a[C] - 1 + B) % 28] << 31 - C % 6, M[4 + (C / 6 | 0)] |= U[28 + (a[C + 24] - 1 + B) % 28] << 31 - C % 6;
|
|
4693
|
+
M[0] = M[0] << 1 | M[0] >>> 31;
|
|
4694
4694
|
for (var C = 1; C < 7; C++)
|
|
4695
|
-
|
|
4696
|
-
|
|
4695
|
+
M[C] = M[C] >>> (C - 1) * 4 + 3;
|
|
4696
|
+
M[7] = M[7] << 5 | M[7] >>> 27;
|
|
4697
4697
|
}
|
|
4698
4698
|
for (var k = this._invSubKeys = [], C = 0; C < 16; C++)
|
|
4699
4699
|
k[C] = x[15 - C];
|
|
@@ -4707,9 +4707,9 @@ function io() {
|
|
|
4707
4707
|
_doCryptBlock: function(y, _, U) {
|
|
4708
4708
|
this._lBlock = y[_], this._rBlock = y[_ + 1], m.call(this, 4, 252645135), m.call(this, 16, 65535), c.call(this, 2, 858993459), c.call(this, 8, 16711935), m.call(this, 1, 1431655765);
|
|
4709
4709
|
for (var C = 0; C < 16; C++) {
|
|
4710
|
-
for (var v = U[C], x = this._lBlock,
|
|
4711
|
-
|
|
4712
|
-
this._lBlock =
|
|
4710
|
+
for (var v = U[C], x = this._lBlock, E = this._rBlock, M = 0, B = 0; B < 8; B++)
|
|
4711
|
+
M |= s[B][((E ^ v[B]) & o[B]) >>> 0];
|
|
4712
|
+
this._lBlock = E, this._rBlock = x ^ M;
|
|
4713
4713
|
}
|
|
4714
4714
|
var k = this._lBlock;
|
|
4715
4715
|
this._lBlock = this._rBlock, this._rBlock = k, m.call(this, 1, 1431655765), c.call(this, 8, 16711935), c.call(this, 2, 858993459), m.call(this, 16, 65535), m.call(this, 4, 252645135), y[_] = this._lBlock, y[_ + 1] = this._rBlock;
|
|
@@ -4840,8 +4840,8 @@ function ro() {
|
|
|
4840
4840
|
for (var m = 0; m < 8; m++)
|
|
4841
4841
|
d[m] ^= c[m + 4 & 7];
|
|
4842
4842
|
if (u) {
|
|
4843
|
-
var y = u.words, _ = y[0], U = y[1], C = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, v = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = C >>> 16 | v & 4294901760,
|
|
4844
|
-
d[0] ^= C, d[1] ^= x, d[2] ^= v, d[3] ^=
|
|
4843
|
+
var y = u.words, _ = y[0], U = y[1], C = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, v = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = C >>> 16 | v & 4294901760, E = v << 16 | C & 65535;
|
|
4844
|
+
d[0] ^= C, d[1] ^= x, d[2] ^= v, d[3] ^= E, d[4] ^= C, d[5] ^= x, d[6] ^= v, d[7] ^= E;
|
|
4845
4845
|
for (var m = 0; m < 4; m++)
|
|
4846
4846
|
s.call(this);
|
|
4847
4847
|
}
|
|
@@ -4904,8 +4904,8 @@ function so() {
|
|
|
4904
4904
|
for (var d = 0; d < 8; d++)
|
|
4905
4905
|
c[d] ^= m[d + 4 & 7];
|
|
4906
4906
|
if (u) {
|
|
4907
|
-
var y = u.words, _ = y[0], U = y[1], C = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, v = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = C >>> 16 | v & 4294901760,
|
|
4908
|
-
c[0] ^= C, c[1] ^= x, c[2] ^= v, c[3] ^=
|
|
4907
|
+
var y = u.words, _ = y[0], U = y[1], C = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, v = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = C >>> 16 | v & 4294901760, E = v << 16 | C & 65535;
|
|
4908
|
+
c[0] ^= C, c[1] ^= x, c[2] ^= v, c[3] ^= E, c[4] ^= C, c[5] ^= x, c[6] ^= v, c[7] ^= E;
|
|
4909
4909
|
for (var d = 0; d < 4; d++)
|
|
4910
4910
|
s.call(this);
|
|
4911
4911
|
}
|
|
@@ -6016,20 +6016,20 @@ function uo() {
|
|
|
6016
6016
|
return v = U, U = C, C = v, C = C ^ d.pbox[1], U = U ^ d.pbox[0], { left: U, right: C };
|
|
6017
6017
|
}
|
|
6018
6018
|
function m(d, y, _) {
|
|
6019
|
-
for (let
|
|
6020
|
-
d.sbox[
|
|
6021
|
-
for (let
|
|
6022
|
-
d.sbox[
|
|
6019
|
+
for (let E = 0; E < 4; E++) {
|
|
6020
|
+
d.sbox[E] = [];
|
|
6021
|
+
for (let M = 0; M < 256; M++)
|
|
6022
|
+
d.sbox[E][M] = a[E][M];
|
|
6023
6023
|
}
|
|
6024
6024
|
let U = 0;
|
|
6025
|
-
for (let
|
|
6026
|
-
d.pbox[
|
|
6025
|
+
for (let E = 0; E < f + 2; E++)
|
|
6026
|
+
d.pbox[E] = l[E] ^ y[U], U++, U >= _ && (U = 0);
|
|
6027
6027
|
let C = 0, v = 0, x = 0;
|
|
6028
|
-
for (let
|
|
6029
|
-
x = o(d, C, v), C = x.left, v = x.right, d.pbox[
|
|
6030
|
-
for (let
|
|
6031
|
-
for (let
|
|
6032
|
-
x = o(d, C, v), C = x.left, v = x.right, d.sbox[
|
|
6028
|
+
for (let E = 0; E < f + 2; E += 2)
|
|
6029
|
+
x = o(d, C, v), C = x.left, v = x.right, d.pbox[E] = C, d.pbox[E + 1] = v;
|
|
6030
|
+
for (let E = 0; E < 4; E++)
|
|
6031
|
+
for (let M = 0; M < 256; M += 2)
|
|
6032
|
+
x = o(d, C, v), C = x.left, v = x.right, d.sbox[E][M] = C, d.sbox[E][M + 1] = v;
|
|
6033
6033
|
return !0;
|
|
6034
6034
|
}
|
|
6035
6035
|
var c = b.Blowfish = g.extend({
|
|
@@ -6078,215 +6078,224 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
|
|
|
6078
6078
|
}), g = t.toString(va.enc.Base64), b = va.enc.Base64.stringify(p.ciphertext);
|
|
6079
6079
|
return g + ":" + b;
|
|
6080
6080
|
}, ue = () => {
|
|
6081
|
-
const { client: e, formDataClient: r } =
|
|
6082
|
-
async (
|
|
6083
|
-
const { mac_address:
|
|
6084
|
-
mac_address:
|
|
6085
|
-
app_version:
|
|
6086
|
-
anydesk_id:
|
|
6081
|
+
const { client: e, formDataClient: r } = se(), t = I(
|
|
6082
|
+
async (S) => {
|
|
6083
|
+
const { mac_address: D = "", app_version: N = "", anydesk_id: F = "" } = S, { data: O } = await e.post("/cash-register/login", {
|
|
6084
|
+
mac_address: D,
|
|
6085
|
+
app_version: N,
|
|
6086
|
+
anydesk_id: F
|
|
6087
6087
|
});
|
|
6088
|
-
return
|
|
6088
|
+
return O;
|
|
6089
6089
|
},
|
|
6090
6090
|
[e]
|
|
6091
6091
|
), n = I(async () => e.get("/member/getMemberInfo"), [e]), p = I(async () => await e.get("/member/getGameList"), [e]), g = I(async () => await e.get("/member/getNowCurrencyExchange"), [e]), b = I(async () => await e.get("member/getFavoriteGame"), [e]), f = I(
|
|
6092
|
-
async (
|
|
6093
|
-
const { account:
|
|
6092
|
+
async (S) => {
|
|
6093
|
+
const { account: D, password: N, trans_code: F } = S;
|
|
6094
6094
|
return await e.post("/login", {
|
|
6095
|
-
memId:
|
|
6096
|
-
passwd:
|
|
6097
|
-
trans_code:
|
|
6095
|
+
memId: D,
|
|
6096
|
+
passwd: N,
|
|
6097
|
+
trans_code: F
|
|
6098
6098
|
});
|
|
6099
6099
|
},
|
|
6100
6100
|
[e]
|
|
6101
6101
|
), l = I(async () => await e.post("/logout"), [e]), a = I(
|
|
6102
|
-
async (
|
|
6103
|
-
const { gameUid:
|
|
6104
|
-
return await e.put(`/member/toggleFavoriteGame/${
|
|
6105
|
-
status:
|
|
6102
|
+
async (S) => {
|
|
6103
|
+
const { gameUid: D = "", status: N = 0 } = S;
|
|
6104
|
+
return await e.put(`/member/toggleFavoriteGame/${D}`, {
|
|
6105
|
+
status: N
|
|
6106
6106
|
});
|
|
6107
6107
|
},
|
|
6108
6108
|
[e]
|
|
6109
6109
|
), i = I(async () => await e.get("/profit/ranking"), [e]), s = I(
|
|
6110
6110
|
async ({
|
|
6111
|
-
memberId:
|
|
6112
|
-
password:
|
|
6113
|
-
unlimitCode:
|
|
6114
|
-
email:
|
|
6115
|
-
inviteCode:
|
|
6116
|
-
currencyCode:
|
|
6117
|
-
validCode:
|
|
6111
|
+
memberId: S,
|
|
6112
|
+
password: D,
|
|
6113
|
+
unlimitCode: N,
|
|
6114
|
+
email: F,
|
|
6115
|
+
inviteCode: O,
|
|
6116
|
+
currencyCode: H,
|
|
6117
|
+
validCode: W
|
|
6118
6118
|
}) => {
|
|
6119
|
-
const
|
|
6120
|
-
memId:
|
|
6121
|
-
passwd: _a(
|
|
6122
|
-
email:
|
|
6123
|
-
currency_code:
|
|
6124
|
-
code:
|
|
6119
|
+
const G = {
|
|
6120
|
+
memId: S,
|
|
6121
|
+
passwd: _a(D),
|
|
6122
|
+
email: F,
|
|
6123
|
+
currency_code: H,
|
|
6124
|
+
code: W
|
|
6125
6125
|
};
|
|
6126
|
-
return
|
|
6126
|
+
return N && (G.unlimit_code = N), O && (G.invite = O), e.post("/signUp", G);
|
|
6127
6127
|
},
|
|
6128
6128
|
[e]
|
|
6129
6129
|
), o = I(
|
|
6130
|
-
async (
|
|
6131
|
-
const { name:
|
|
6130
|
+
async (S) => {
|
|
6131
|
+
const { name: D, birthday: N, email: F, mobile: O } = S;
|
|
6132
6132
|
return await e.post("/editMembetInfo", {
|
|
6133
|
-
name:
|
|
6133
|
+
name: D,
|
|
6134
6134
|
// 暱稱
|
|
6135
|
-
birthday:
|
|
6135
|
+
birthday: N,
|
|
6136
6136
|
// 生日 (格式:YYYY-MM-DD)
|
|
6137
|
-
email:
|
|
6137
|
+
email: F,
|
|
6138
6138
|
// 電子郵件
|
|
6139
|
-
mobile:
|
|
6139
|
+
mobile: O
|
|
6140
6140
|
// 手機號碼
|
|
6141
6141
|
});
|
|
6142
6142
|
},
|
|
6143
6143
|
[e]
|
|
6144
6144
|
), u = I(
|
|
6145
|
-
async (
|
|
6146
|
-
const { oldPwd:
|
|
6145
|
+
async (S) => {
|
|
6146
|
+
const { oldPwd: D, newPwd: N } = S;
|
|
6147
6147
|
return await e.post("/passwordReset", {
|
|
6148
|
-
old_pwd: _a(
|
|
6149
|
-
new_pwd: _a(
|
|
6148
|
+
old_pwd: _a(D),
|
|
6149
|
+
new_pwd: _a(N)
|
|
6150
6150
|
});
|
|
6151
6151
|
},
|
|
6152
6152
|
[e]
|
|
6153
6153
|
), m = I(
|
|
6154
|
-
async (
|
|
6155
|
-
const { newPwd:
|
|
6154
|
+
async (S) => {
|
|
6155
|
+
const { newPwd: D, confirmNewPwd: N } = S;
|
|
6156
6156
|
return await e.post("/setWithdrawPassword", {
|
|
6157
|
-
newPassword: _a(
|
|
6158
|
-
confirmPassword: _a(
|
|
6157
|
+
newPassword: _a(D),
|
|
6158
|
+
confirmPassword: _a(N)
|
|
6159
6159
|
});
|
|
6160
6160
|
},
|
|
6161
6161
|
[e]
|
|
6162
6162
|
), c = I(
|
|
6163
|
-
async (
|
|
6164
|
-
const { oldPwd:
|
|
6163
|
+
async (S) => {
|
|
6164
|
+
const { oldPwd: D, newPwd: N } = S;
|
|
6165
6165
|
return await e.post("/withdrawPasswordReset", {
|
|
6166
|
-
old_pwd: _a(
|
|
6167
|
-
new_pwd: _a(
|
|
6166
|
+
old_pwd: _a(D),
|
|
6167
|
+
new_pwd: _a(N)
|
|
6168
6168
|
});
|
|
6169
6169
|
},
|
|
6170
6170
|
[e]
|
|
6171
6171
|
), d = I(
|
|
6172
|
-
async ({ paramsData:
|
|
6173
|
-
const { start_time:
|
|
6172
|
+
async ({ paramsData: S }) => {
|
|
6173
|
+
const { start_time: D, end_time: N, limit: F = 25 } = S || {};
|
|
6174
6174
|
return await e.get("/report/totalprofit", {
|
|
6175
6175
|
params: {
|
|
6176
|
-
start_time: `${Fe(
|
|
6177
|
-
end_time: `${Fe(
|
|
6178
|
-
limit:
|
|
6176
|
+
start_time: `${Fe(D).format("YYYY-MM-DD")} 12:00:00`,
|
|
6177
|
+
end_time: `${Fe(N).format("YYYY-MM-DD")} 11:59:59`,
|
|
6178
|
+
limit: F
|
|
6179
6179
|
}
|
|
6180
6180
|
});
|
|
6181
6181
|
},
|
|
6182
6182
|
[e]
|
|
6183
6183
|
), y = I(
|
|
6184
|
-
async (
|
|
6185
|
-
const { platform:
|
|
6184
|
+
async (S) => {
|
|
6185
|
+
const { platform: D } = S;
|
|
6186
6186
|
return await e.post("/member/all-in-la", {
|
|
6187
|
-
platform:
|
|
6187
|
+
platform: D
|
|
6188
6188
|
});
|
|
6189
6189
|
},
|
|
6190
6190
|
[e]
|
|
6191
6191
|
), _ = I(async () => await e.get("/member/checkRestrictedWagering"), [e]), U = I(
|
|
6192
|
-
async (
|
|
6193
|
-
const { memId:
|
|
6192
|
+
async (S) => {
|
|
6193
|
+
const { memId: D, point: N, currency: F, password: O } = S;
|
|
6194
6194
|
return await e.post("/pointsTransaction", {
|
|
6195
|
-
to_memId:
|
|
6196
|
-
point:
|
|
6197
|
-
currency:
|
|
6198
|
-
password: _a(
|
|
6195
|
+
to_memId: D,
|
|
6196
|
+
point: N,
|
|
6197
|
+
currency: F,
|
|
6198
|
+
password: _a(O)
|
|
6199
6199
|
});
|
|
6200
6200
|
},
|
|
6201
6201
|
[e]
|
|
6202
6202
|
), C = I(
|
|
6203
|
-
async ({ formData:
|
|
6203
|
+
async ({ formData: S }) => {
|
|
6204
6204
|
const {
|
|
6205
|
-
bank_name:
|
|
6206
|
-
bank_account_name:
|
|
6207
|
-
bank_branch_name:
|
|
6208
|
-
bank_account:
|
|
6209
|
-
bank_card_number:
|
|
6210
|
-
id_card:
|
|
6211
|
-
id_pic:
|
|
6212
|
-
} =
|
|
6213
|
-
return await r.post("/bindBankAccount",
|
|
6205
|
+
bank_name: D,
|
|
6206
|
+
bank_account_name: N,
|
|
6207
|
+
bank_branch_name: F,
|
|
6208
|
+
bank_account: O,
|
|
6209
|
+
bank_card_number: H,
|
|
6210
|
+
id_card: W,
|
|
6211
|
+
id_pic: G
|
|
6212
|
+
} = S;
|
|
6213
|
+
return await r.post("/bindBankAccount", S);
|
|
6214
6214
|
},
|
|
6215
6215
|
[r]
|
|
6216
6216
|
), v = I(
|
|
6217
|
-
async (
|
|
6218
|
-
const { point_transfer:
|
|
6217
|
+
async (S) => {
|
|
6218
|
+
const { point_transfer: D } = S;
|
|
6219
6219
|
return await e.post("/cash-register/clear", {
|
|
6220
|
-
point_transfer:
|
|
6220
|
+
point_transfer: D
|
|
6221
6221
|
});
|
|
6222
6222
|
},
|
|
6223
6223
|
[e]
|
|
6224
6224
|
), x = I(
|
|
6225
|
-
async (
|
|
6226
|
-
const { trans_code:
|
|
6225
|
+
async (S) => {
|
|
6226
|
+
const { trans_code: D, line_id: N, invite: F, line_name: O } = S;
|
|
6227
6227
|
return await e.post("/goLine", {
|
|
6228
|
-
trans_code:
|
|
6229
|
-
line_id:
|
|
6230
|
-
invite:
|
|
6231
|
-
line_name:
|
|
6228
|
+
trans_code: D,
|
|
6229
|
+
line_id: N,
|
|
6230
|
+
invite: F,
|
|
6231
|
+
line_name: O
|
|
6232
6232
|
});
|
|
6233
6233
|
},
|
|
6234
6234
|
[e]
|
|
6235
|
-
),
|
|
6236
|
-
async (
|
|
6237
|
-
const { trans_code:
|
|
6235
|
+
), E = I(
|
|
6236
|
+
async (S) => {
|
|
6237
|
+
const { trans_code: D, line_id: N, line_name: F } = S;
|
|
6238
6238
|
return await e.post("/login/line", {
|
|
6239
|
-
trans_code:
|
|
6240
|
-
line_id:
|
|
6241
|
-
line_name:
|
|
6239
|
+
trans_code: D,
|
|
6240
|
+
line_id: N,
|
|
6241
|
+
line_name: F
|
|
6242
6242
|
});
|
|
6243
6243
|
},
|
|
6244
6244
|
[e]
|
|
6245
|
-
),
|
|
6246
|
-
async (
|
|
6247
|
-
const { mac_address:
|
|
6248
|
-
return await e.get(`/machine-login-code/${
|
|
6245
|
+
), M = I(
|
|
6246
|
+
async (S) => {
|
|
6247
|
+
const { mac_address: D } = S;
|
|
6248
|
+
return await e.get(`/machine-login-code/${D}`);
|
|
6249
6249
|
},
|
|
6250
6250
|
[e]
|
|
6251
6251
|
), B = I(
|
|
6252
|
-
async (
|
|
6253
|
-
const { member_info_uid:
|
|
6254
|
-
return await e.post(`/member/transfer/${
|
|
6255
|
-
point:
|
|
6256
|
-
currency:
|
|
6257
|
-
withdraw_password:
|
|
6252
|
+
async (S) => {
|
|
6253
|
+
const { member_info_uid: D, point: N, currency: F, withdraw_password: O } = S;
|
|
6254
|
+
return await e.post(`/member/transfer/${D}`, {
|
|
6255
|
+
point: N,
|
|
6256
|
+
currency: F,
|
|
6257
|
+
withdraw_password: O
|
|
6258
6258
|
});
|
|
6259
6259
|
},
|
|
6260
6260
|
[e]
|
|
6261
6261
|
), k = I(
|
|
6262
|
-
async (
|
|
6263
|
-
const { mobile:
|
|
6262
|
+
async (S) => {
|
|
6263
|
+
const { mobile: D, verifyCode: N } = S;
|
|
6264
6264
|
return await e.post("/sms/verifyValidationCode", {
|
|
6265
|
-
mobile:
|
|
6266
|
-
inputCode:
|
|
6265
|
+
mobile: D,
|
|
6266
|
+
inputCode: N
|
|
6267
6267
|
});
|
|
6268
6268
|
},
|
|
6269
6269
|
[e]
|
|
6270
6270
|
), T = I(
|
|
6271
|
-
async (
|
|
6272
|
-
const { mobile:
|
|
6271
|
+
async (S) => {
|
|
6272
|
+
const { mobile: D, verifyCode: N, snCode: F } = S;
|
|
6273
6273
|
return await e.post("/goMobile", {
|
|
6274
|
-
mobile:
|
|
6275
|
-
verification_code:
|
|
6276
|
-
sn_code:
|
|
6274
|
+
mobile: D,
|
|
6275
|
+
verification_code: N,
|
|
6276
|
+
sn_code: F
|
|
6277
6277
|
});
|
|
6278
6278
|
},
|
|
6279
6279
|
[e]
|
|
6280
|
-
),
|
|
6281
|
-
async (
|
|
6282
|
-
const { mobile:
|
|
6280
|
+
), P = I(
|
|
6281
|
+
async (S) => {
|
|
6282
|
+
const { mobile: D } = S;
|
|
6283
6283
|
return await e.get("/sms/getValidCode", {
|
|
6284
6284
|
params: {
|
|
6285
|
-
mobile:
|
|
6285
|
+
mobile: D
|
|
6286
6286
|
}
|
|
6287
6287
|
});
|
|
6288
6288
|
},
|
|
6289
6289
|
[e]
|
|
6290
|
+
), A = I(
|
|
6291
|
+
async (S) => {
|
|
6292
|
+
const { bindType: D, bindId: N } = S;
|
|
6293
|
+
return await e.post("/bindThirdPartyAccount", {
|
|
6294
|
+
bind_type: D,
|
|
6295
|
+
bind_id: N
|
|
6296
|
+
});
|
|
6297
|
+
},
|
|
6298
|
+
[e]
|
|
6290
6299
|
);
|
|
6291
6300
|
return {
|
|
6292
6301
|
machineLoginApi: t,
|
|
@@ -6310,15 +6319,16 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
|
|
|
6310
6319
|
pointTransferApi: U,
|
|
6311
6320
|
abandonPointsApi: v,
|
|
6312
6321
|
lineLoginApi: x,
|
|
6313
|
-
lineLogin2Api:
|
|
6314
|
-
getMachineLoginCodeApi:
|
|
6322
|
+
lineLogin2Api: E,
|
|
6323
|
+
getMachineLoginCodeApi: M,
|
|
6315
6324
|
memberTransferApi: B,
|
|
6316
6325
|
mobileLoginApi: k,
|
|
6317
|
-
sendMobileVerifyCodeApi:
|
|
6318
|
-
mobileLoginApiV2: T
|
|
6326
|
+
sendMobileVerifyCodeApi: P,
|
|
6327
|
+
mobileLoginApiV2: T,
|
|
6328
|
+
bindAccountApi: A
|
|
6319
6329
|
};
|
|
6320
|
-
},
|
|
6321
|
-
const { userCurrencyExchangeApi: t } = ue(), { getToken: n } =
|
|
6330
|
+
}, vm = ({ otherQueryKey: e = [], options: r = {} } = {}) => {
|
|
6331
|
+
const { userCurrencyExchangeApi: t } = ue(), { getToken: n } = se(), { enabled: p, ...g } = r, f = !!n?.() && (p ? p.every((l) => l) : !0);
|
|
6322
6332
|
return Bn({
|
|
6323
6333
|
queries: [
|
|
6324
6334
|
{
|
|
@@ -6331,12 +6341,12 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
|
|
|
6331
6341
|
}
|
|
6332
6342
|
]
|
|
6333
6343
|
});
|
|
6334
|
-
},
|
|
6344
|
+
}, hm = ({
|
|
6335
6345
|
refetchInterval: e = 5e4,
|
|
6336
6346
|
trigger: r = [],
|
|
6337
6347
|
enabled: t = !0
|
|
6338
6348
|
} = {}) => {
|
|
6339
|
-
const { getToken: n } =
|
|
6349
|
+
const { getToken: n } = se(), p = n?.(), { userInfoApi: g } = ue();
|
|
6340
6350
|
return Bn({
|
|
6341
6351
|
queries: [
|
|
6342
6352
|
{
|
|
@@ -6347,7 +6357,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
|
|
|
6347
6357
|
}
|
|
6348
6358
|
]
|
|
6349
6359
|
});
|
|
6350
|
-
},
|
|
6360
|
+
}, Tm = ({ enabled: e = !0 } = {}) => {
|
|
6351
6361
|
const {
|
|
6352
6362
|
userInfoApi: r,
|
|
6353
6363
|
userFavoriteGameApi: t,
|
|
@@ -6377,7 +6387,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
|
|
|
6377
6387
|
l
|
|
6378
6388
|
];
|
|
6379
6389
|
}, ct = () => {
|
|
6380
|
-
const { client: e, lng: r } =
|
|
6390
|
+
const { client: e, lng: r } = se(), t = Ye(r || "tw"), n = I(
|
|
6381
6391
|
async (b) => {
|
|
6382
6392
|
const {
|
|
6383
6393
|
gameUid: f = "",
|
|
@@ -6460,7 +6470,7 @@ const va = /* @__PURE__ */ pt(al), _a = (e) => {
|
|
|
6460
6470
|
queryFn: async () => await t(r),
|
|
6461
6471
|
...e
|
|
6462
6472
|
});
|
|
6463
|
-
},
|
|
6473
|
+
}, km = ({
|
|
6464
6474
|
options: e = {
|
|
6465
6475
|
betRecord: {},
|
|
6466
6476
|
betRecordDetail: {}
|
|
@@ -6969,19 +6979,19 @@ function Co() {
|
|
|
6969
6979
|
i[s - 2] = arguments[s];
|
|
6970
6980
|
return r(void 0, n([l, a], i, !0), void 0, function(o, u, m) {
|
|
6971
6981
|
var c, d, y, _, U, C, v, x;
|
|
6972
|
-
return m === void 0 && (m = 0), t(this, function(
|
|
6973
|
-
switch (
|
|
6982
|
+
return m === void 0 && (m = 0), t(this, function(E) {
|
|
6983
|
+
switch (E.label) {
|
|
6974
6984
|
case 0:
|
|
6975
6985
|
if (typeof o != "function") return [3, 10];
|
|
6976
|
-
|
|
6986
|
+
E.label = 1;
|
|
6977
6987
|
case 1:
|
|
6978
|
-
return
|
|
6988
|
+
return E.trys.push([1, 3, , 9]), [4, o()];
|
|
6979
6989
|
case 2:
|
|
6980
|
-
return c =
|
|
6990
|
+
return c = E.sent(), [3, 9];
|
|
6981
6991
|
case 3:
|
|
6982
|
-
return
|
|
6992
|
+
return E.sent(), u.current.retryOnError ? (d = (C = u.current.reconnectAttempts) !== null && C !== void 0 ? C : g.DEFAULT_RECONNECT_LIMIT, m < d ? (y = typeof u.current.reconnectInterval == "function" ? u.current.reconnectInterval(m) : u.current.reconnectInterval, [4, b(y ?? g.DEFAULT_RECONNECT_INTERVAL_MS)]) : [3, 5]) : [3, 7];
|
|
6983
6993
|
case 4:
|
|
6984
|
-
return
|
|
6994
|
+
return E.sent(), [2, (0, e.getUrl)(o, u, m + 1)];
|
|
6985
6995
|
case 5:
|
|
6986
6996
|
return (x = (v = u.current).onReconnectStop) === null || x === void 0 || x.call(v, m), [2, null];
|
|
6987
6997
|
case 6:
|
|
@@ -6993,7 +7003,7 @@ function Co() {
|
|
|
6993
7003
|
case 9:
|
|
6994
7004
|
return [3, 11];
|
|
6995
7005
|
case 10:
|
|
6996
|
-
c = o,
|
|
7006
|
+
c = o, E.label = 11;
|
|
6997
7007
|
case 11:
|
|
6998
7008
|
return _ = u.current.fromSocketIO ? (0, p.parseSocketIOUrl)(c) : c, U = u.current.queryParams ? (0, p.appendQueryParams)(_, u.current.queryParams) : _, [2, U];
|
|
6999
7009
|
}
|
|
@@ -7044,15 +7054,15 @@ function bt() {
|
|
|
7044
7054
|
function U(x) {
|
|
7045
7055
|
try {
|
|
7046
7056
|
v(c.next(x));
|
|
7047
|
-
} catch (
|
|
7048
|
-
_(
|
|
7057
|
+
} catch (E) {
|
|
7058
|
+
_(E);
|
|
7049
7059
|
}
|
|
7050
7060
|
}
|
|
7051
7061
|
function C(x) {
|
|
7052
7062
|
try {
|
|
7053
7063
|
v(c.throw(x));
|
|
7054
|
-
} catch (
|
|
7055
|
-
_(
|
|
7064
|
+
} catch (E) {
|
|
7065
|
+
_(E);
|
|
7056
7066
|
}
|
|
7057
7067
|
}
|
|
7058
7068
|
function v(x) {
|
|
@@ -7133,30 +7143,30 @@ function bt() {
|
|
|
7133
7143
|
return b.UNPARSABLE_JSON_OBJECT;
|
|
7134
7144
|
}
|
|
7135
7145
|
return null;
|
|
7136
|
-
}, [d, u.disableJson]), x = (0, p.useRef)(null),
|
|
7137
|
-
}), B = (0, p.useRef)(0), k = (0, p.useRef)(Date.now()), T = (0, p.useRef)([]),
|
|
7138
|
-
|
|
7139
|
-
var
|
|
7140
|
-
var
|
|
7141
|
-
if (W === void 0 && (W = !0), b.isEventSourceSupported &&
|
|
7146
|
+
}, [d, u.disableJson]), x = (0, p.useRef)(null), E = (0, p.useRef)(null), M = (0, p.useRef)(function() {
|
|
7147
|
+
}), B = (0, p.useRef)(0), k = (0, p.useRef)(Date.now()), T = (0, p.useRef)([]), P = (0, p.useRef)(null), A = (0, p.useRef)(u);
|
|
7148
|
+
A.current = u;
|
|
7149
|
+
var S = x.current && U[x.current] !== void 0 ? U[x.current] : o !== null && m === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, D = u.queryParams ? JSON.stringify(u.queryParams) : null, N = (0, p.useCallback)(function(H, W) {
|
|
7150
|
+
var G;
|
|
7151
|
+
if (W === void 0 && (W = !0), b.isEventSourceSupported && E.current instanceof EventSource) {
|
|
7142
7152
|
console.warn("Unable to send a message from an eventSource");
|
|
7143
7153
|
return;
|
|
7144
7154
|
}
|
|
7145
|
-
((
|
|
7146
|
-
}, []),
|
|
7147
|
-
W === void 0 && (W = !0),
|
|
7148
|
-
}, [
|
|
7149
|
-
return
|
|
7155
|
+
((G = E.current) === null || G === void 0 ? void 0 : G.readyState) === b.ReadyState.OPEN ? ((0, i.assertIsWebSocket)(E.current, A.current.skipAssert), E.current.send(H)) : W && T.current.push(H);
|
|
7156
|
+
}, []), F = (0, p.useCallback)(function(H, W) {
|
|
7157
|
+
W === void 0 && (W = !0), N(JSON.stringify(H), W);
|
|
7158
|
+
}, [N]), O = (0, p.useCallback)(function() {
|
|
7159
|
+
return A.current.share !== !0 || b.isEventSourceSupported && E.current instanceof EventSource ? E.current : (P.current === null && E.current && ((0, i.assertIsWebSocket)(E.current, A.current.skipAssert), P.current = (0, a.default)(E.current, M)), P.current);
|
|
7150
7160
|
}, []);
|
|
7151
7161
|
return (0, p.useEffect)(function() {
|
|
7152
7162
|
if (o !== null && m === !0) {
|
|
7153
|
-
var H, W = !1,
|
|
7163
|
+
var H, W = !1, G = !0, L = function() {
|
|
7154
7164
|
return r(void 0, void 0, void 0, function() {
|
|
7155
|
-
var w,
|
|
7165
|
+
var w, R, K;
|
|
7156
7166
|
return t(this, function(q) {
|
|
7157
7167
|
switch (q.label) {
|
|
7158
7168
|
case 0:
|
|
7159
|
-
return w = x, [4, (0, l.getUrl)(o,
|
|
7169
|
+
return w = x, [4, (0, l.getUrl)(o, A)];
|
|
7160
7170
|
case 1:
|
|
7161
7171
|
return w.current = q.sent(), x.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), x.current = "ABORTED", (0, g.flushSync)(function() {
|
|
7162
7172
|
return C(function(Q) {
|
|
@@ -7165,18 +7175,18 @@ function bt() {
|
|
|
7165
7175
|
}), [
|
|
7166
7176
|
2
|
|
7167
7177
|
/*return*/
|
|
7168
|
-
]) : (
|
|
7178
|
+
]) : (R = function(Q) {
|
|
7169
7179
|
W || (0, g.flushSync)(function() {
|
|
7170
7180
|
return y(Q);
|
|
7171
7181
|
});
|
|
7172
7182
|
}, K = function(Q) {
|
|
7173
7183
|
W || (0, g.flushSync)(function() {
|
|
7174
7184
|
return C(function(J) {
|
|
7175
|
-
var
|
|
7176
|
-
return e(e({}, J), x.current && (
|
|
7185
|
+
var ee;
|
|
7186
|
+
return e(e({}, J), x.current && (ee = {}, ee[x.current] = Q, ee));
|
|
7177
7187
|
});
|
|
7178
7188
|
});
|
|
7179
|
-
},
|
|
7189
|
+
}, G && (H = (0, f.createOrJoinSocket)(E, x.current, K, A, R, M, B, k, N)), [
|
|
7180
7190
|
2
|
|
7181
7191
|
/*return*/
|
|
7182
7192
|
]);
|
|
@@ -7184,25 +7194,25 @@ function bt() {
|
|
|
7184
7194
|
});
|
|
7185
7195
|
});
|
|
7186
7196
|
};
|
|
7187
|
-
return
|
|
7188
|
-
W || (
|
|
7189
|
-
},
|
|
7190
|
-
W = !0,
|
|
7197
|
+
return M.current = function() {
|
|
7198
|
+
W || (P.current && (P.current = null), H?.(), L());
|
|
7199
|
+
}, L(), function() {
|
|
7200
|
+
W = !0, G = !1, P.current && (P.current = null), H?.(), y(null);
|
|
7191
7201
|
};
|
|
7192
7202
|
} else (o === null || m === !1) && (B.current = 0, C(function(w) {
|
|
7193
|
-
var
|
|
7194
|
-
return e(e({}, w), x.current && (
|
|
7203
|
+
var R;
|
|
7204
|
+
return e(e({}, w), x.current && (R = {}, R[x.current] = b.ReadyState.CLOSED, R));
|
|
7195
7205
|
}));
|
|
7196
|
-
}, [o, m, D,
|
|
7197
|
-
|
|
7198
|
-
|
|
7206
|
+
}, [o, m, D, N]), (0, p.useEffect)(function() {
|
|
7207
|
+
S === b.ReadyState.OPEN && T.current.splice(0).forEach(function(H) {
|
|
7208
|
+
N(H);
|
|
7199
7209
|
});
|
|
7200
|
-
}, [
|
|
7201
|
-
sendMessage:
|
|
7202
|
-
sendJsonMessage:
|
|
7210
|
+
}, [S]), {
|
|
7211
|
+
sendMessage: N,
|
|
7212
|
+
sendJsonMessage: F,
|
|
7203
7213
|
lastMessage: d,
|
|
7204
7214
|
lastJsonMessage: v,
|
|
7205
|
-
readyState:
|
|
7215
|
+
readyState: S,
|
|
7206
7216
|
getWebSocket: O
|
|
7207
7217
|
};
|
|
7208
7218
|
};
|
|
@@ -7331,7 +7341,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7331
7341
|
isInGameBox: n = !1,
|
|
7332
7342
|
currentGamePlatform: p = ""
|
|
7333
7343
|
}) => {
|
|
7334
|
-
const { store: g, lng: b } =
|
|
7344
|
+
const { store: g, lng: b } = se(), { isReady: f, setAsReady: l, isPending: a, setAsPending: i } = Vn(), s = Ye(b), { mutateAsync: o } = Oo();
|
|
7335
7345
|
return !e || !r || !t ? { handleTransferInGame: () => {
|
|
7336
7346
|
} } : { handleTransferInGame: async () => {
|
|
7337
7347
|
console.log("執行遊戲內轉帳"), n && await o({
|
|
@@ -7372,62 +7382,62 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7372
7382
|
} };
|
|
7373
7383
|
}, Eo = ({ options: e } = {}) => {
|
|
7374
7384
|
const { userLoginApi: r } = ue();
|
|
7375
|
-
return
|
|
7385
|
+
return oe({
|
|
7376
7386
|
mutationKey: ["userLogin"],
|
|
7377
7387
|
mutationFn: async (t) => r(t),
|
|
7378
7388
|
...e
|
|
7379
7389
|
});
|
|
7380
7390
|
}, No = ({ options: e } = {}) => {
|
|
7381
7391
|
const { userLogoutApi: r } = ue();
|
|
7382
|
-
return
|
|
7392
|
+
return oe({
|
|
7383
7393
|
mutationKey: ["userLogout"],
|
|
7384
7394
|
mutationFn: async () => r(),
|
|
7385
7395
|
...e
|
|
7386
7396
|
});
|
|
7387
7397
|
}, Lo = ({ options: e } = {}) => {
|
|
7388
7398
|
const { userSignUpApi: r } = ue();
|
|
7389
|
-
return
|
|
7399
|
+
return oe({
|
|
7390
7400
|
mutationKey: ["userSignUp"],
|
|
7391
7401
|
mutationFn: async (t) => r(t),
|
|
7392
7402
|
...e
|
|
7393
7403
|
});
|
|
7394
7404
|
}, Go = ({ options: e } = {}) => {
|
|
7395
7405
|
const { addOrRemoveFavoriteGameApi: r } = ue();
|
|
7396
|
-
return
|
|
7406
|
+
return oe({
|
|
7397
7407
|
mutationKey: ["toggleFavoriteGame"],
|
|
7398
7408
|
mutationFn: async (t) => r(t),
|
|
7399
7409
|
...e
|
|
7400
7410
|
});
|
|
7401
7411
|
}, Mo = ({ options: e } = {}) => {
|
|
7402
7412
|
const { updateUserInfoApi: r } = ue();
|
|
7403
|
-
return
|
|
7413
|
+
return oe({
|
|
7404
7414
|
mutationKey: ["updateUserInfo"],
|
|
7405
7415
|
mutationFn: async (t) => r(t),
|
|
7406
7416
|
...e
|
|
7407
7417
|
});
|
|
7408
7418
|
}, Ro = ({ options: e } = {}) => {
|
|
7409
7419
|
const { resetUserPasswordApi: r } = ue();
|
|
7410
|
-
return
|
|
7420
|
+
return oe({
|
|
7411
7421
|
mutationKey: ["resetUserPassword"],
|
|
7412
7422
|
mutationFn: async (t) => r(t),
|
|
7413
7423
|
...e
|
|
7414
7424
|
});
|
|
7415
7425
|
}, Po = ({ options: e } = {}) => {
|
|
7416
7426
|
const { setUserTransactionPasswordApi: r } = ue();
|
|
7417
|
-
return
|
|
7427
|
+
return oe({
|
|
7418
7428
|
mutationKey: ["setUserTransactionPassword"],
|
|
7419
7429
|
mutationFn: async (t) => r(t),
|
|
7420
7430
|
...e
|
|
7421
7431
|
});
|
|
7422
7432
|
}, Fo = ({ options: e } = {}) => {
|
|
7423
7433
|
const { resetUserTransactionPasswordApi: r } = ue();
|
|
7424
|
-
return
|
|
7434
|
+
return oe({
|
|
7425
7435
|
mutationKey: ["resetUserTransactionPassword"],
|
|
7426
7436
|
mutationFn: async (t) => r(t),
|
|
7427
7437
|
...e
|
|
7428
7438
|
});
|
|
7429
7439
|
}, wo = ({ paramsData: e, options: r } = {}) => {
|
|
7430
|
-
const { userRebateApi: t } = ue(), { getToken: n } =
|
|
7440
|
+
const { userRebateApi: t } = ue(), { getToken: n } = se();
|
|
7431
7441
|
return n?.(), ne({
|
|
7432
7442
|
queryKey: ["userRebate", e],
|
|
7433
7443
|
queryFn: async () => t({ paramsData: e }),
|
|
@@ -7436,22 +7446,22 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7436
7446
|
});
|
|
7437
7447
|
}, Ao = ({ options: e } = {}) => {
|
|
7438
7448
|
const { userBindBankApi: r } = ue();
|
|
7439
|
-
return
|
|
7449
|
+
return oe({
|
|
7440
7450
|
mutationKey: ["userBindBank"],
|
|
7441
7451
|
mutationFn: async (t) => r({ formData: t }),
|
|
7442
7452
|
...e
|
|
7443
7453
|
});
|
|
7444
7454
|
}, Oo = ({ options: e } = {}) => {
|
|
7445
7455
|
const { transferInGameApi: r } = ue();
|
|
7446
|
-
return
|
|
7456
|
+
return oe({
|
|
7447
7457
|
mutationKey: ["transferInGame"],
|
|
7448
7458
|
mutationFn: async (t) => r(t),
|
|
7449
7459
|
retry: !1,
|
|
7450
7460
|
...e
|
|
7451
7461
|
});
|
|
7452
|
-
},
|
|
7453
|
-
const { currency: r } =
|
|
7454
|
-
return
|
|
7462
|
+
}, xm = ({ options: e } = {}) => {
|
|
7463
|
+
const { currency: r } = se(), { pointTransferApi: t } = ue();
|
|
7464
|
+
return oe({
|
|
7455
7465
|
mutationKey: ["pointTransfer"],
|
|
7456
7466
|
mutationFn: async (n) => t({
|
|
7457
7467
|
...n,
|
|
@@ -7459,8 +7469,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7459
7469
|
}),
|
|
7460
7470
|
...e
|
|
7461
7471
|
});
|
|
7462
|
-
},
|
|
7463
|
-
const { currency: r } =
|
|
7472
|
+
}, Sm = ({ options: e } = {}) => {
|
|
7473
|
+
const { currency: r } = se(), { checkUserWagerApi: t } = ue();
|
|
7464
7474
|
return ne({
|
|
7465
7475
|
queryKey: ["checkUserWager"],
|
|
7466
7476
|
queryFn: async () => t(),
|
|
@@ -7472,9 +7482,9 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7472
7482
|
},
|
|
7473
7483
|
...e
|
|
7474
7484
|
});
|
|
7475
|
-
},
|
|
7485
|
+
}, Dm = ({ options: e } = {}) => {
|
|
7476
7486
|
const r = Hn(), { abandonPointsApi: t } = ue();
|
|
7477
|
-
return
|
|
7487
|
+
return oe({
|
|
7478
7488
|
mutationKey: ["abandonPoint"],
|
|
7479
7489
|
mutationFn: async (n) => t({
|
|
7480
7490
|
...n
|
|
@@ -7486,14 +7496,14 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7486
7496
|
});
|
|
7487
7497
|
}, tl = ({ options: e } = {}) => {
|
|
7488
7498
|
const { lineLoginApi: r } = ue();
|
|
7489
|
-
return
|
|
7499
|
+
return oe({
|
|
7490
7500
|
mutationKey: ["lineLogin"],
|
|
7491
7501
|
mutationFn: async (t) => r(t),
|
|
7492
7502
|
...e
|
|
7493
7503
|
});
|
|
7494
7504
|
}, Bo = ({ options: e } = {}) => {
|
|
7495
7505
|
const { lineLogin2Api: r } = ue();
|
|
7496
|
-
return
|
|
7506
|
+
return oe({
|
|
7497
7507
|
mutationKey: ["lineLogin"],
|
|
7498
7508
|
mutationFn: async (t) => r(t),
|
|
7499
7509
|
...e
|
|
@@ -7505,35 +7515,42 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7505
7515
|
queryFn: async () => t(r),
|
|
7506
7516
|
...e
|
|
7507
7517
|
});
|
|
7508
|
-
},
|
|
7509
|
-
const { currency: r } =
|
|
7510
|
-
return
|
|
7518
|
+
}, Em = ({ options: e } = {}) => {
|
|
7519
|
+
const { currency: r } = se(), { memberTransferApi: t } = ue();
|
|
7520
|
+
return oe({
|
|
7511
7521
|
mutationKey: ["memberTransfer"],
|
|
7512
7522
|
mutationFn: async (n) => t({ ...n, currency: r }),
|
|
7513
7523
|
...e
|
|
7514
7524
|
});
|
|
7515
|
-
},
|
|
7525
|
+
}, Nm = ({ options: e } = {}) => {
|
|
7516
7526
|
const { mobileLoginApi: r } = ue();
|
|
7517
|
-
return
|
|
7527
|
+
return oe({
|
|
7518
7528
|
mutationKey: ["mobileLogin"],
|
|
7519
7529
|
mutationFn: async (t) => r(t),
|
|
7520
7530
|
...e
|
|
7521
7531
|
});
|
|
7522
|
-
},
|
|
7532
|
+
}, Lm = ({ options: e } = {}) => {
|
|
7523
7533
|
const { mobileLoginApiV2: r } = ue();
|
|
7524
|
-
return
|
|
7534
|
+
return oe({
|
|
7525
7535
|
mutationKey: ["mobileLoginV2"],
|
|
7526
7536
|
mutationFn: async (t) => r(t),
|
|
7527
7537
|
...e
|
|
7528
7538
|
});
|
|
7529
|
-
},
|
|
7539
|
+
}, Wo = ({ options: e } = {}) => {
|
|
7540
|
+
const { bindAccountApi: r } = ue();
|
|
7541
|
+
return oe({
|
|
7542
|
+
mutationKey: ["bindAccount"],
|
|
7543
|
+
mutationFn: async (t) => r(t),
|
|
7544
|
+
...e
|
|
7545
|
+
});
|
|
7546
|
+
}, Gm = ({ options: e } = {}) => {
|
|
7530
7547
|
const { sendMobileVerifyCodeApi: r } = ue();
|
|
7531
|
-
return
|
|
7548
|
+
return oe({
|
|
7532
7549
|
mutationKey: ["sendMobileVerifyCode"],
|
|
7533
7550
|
mutationFn: async (t) => r(t),
|
|
7534
7551
|
...e
|
|
7535
7552
|
});
|
|
7536
|
-
},
|
|
7553
|
+
}, Mm = ({
|
|
7537
7554
|
options: e = {
|
|
7538
7555
|
login: {},
|
|
7539
7556
|
logout: {},
|
|
@@ -7582,7 +7599,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7582
7599
|
UPDATE_ONLY_ONE_MEMBER: "update_only_one_member",
|
|
7583
7600
|
GAME_MAINTAIN: "game_maintain",
|
|
7584
7601
|
LINE_LOGIN: "line_login"
|
|
7585
|
-
},
|
|
7602
|
+
}, zo = 3e4, Rm = ({
|
|
7586
7603
|
socketUrl: e,
|
|
7587
7604
|
socketHandlers: r = {},
|
|
7588
7605
|
options: t = {},
|
|
@@ -7596,7 +7613,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7596
7613
|
enableNotification: g = !1,
|
|
7597
7614
|
disabledLineAutoRegister: b = !1
|
|
7598
7615
|
}) => {
|
|
7599
|
-
const { store: f, lng: l } =
|
|
7616
|
+
const { store: f, lng: l } = se(), a = Hn(), { isReady: i, setAsReady: s, isPending: o, setAsPending: u } = Vn(), m = Ye(l), c = X(!1), d = X(r), y = ge(n, "uid", null);
|
|
7600
7617
|
ge(n, "testFunction", 0);
|
|
7601
7618
|
const _ = new URLSearchParams(window.location.search), U = ge(
|
|
7602
7619
|
p,
|
|
@@ -7604,17 +7621,17 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7604
7621
|
!1
|
|
7605
7622
|
), { mutateAsync: C } = tl({
|
|
7606
7623
|
options: {
|
|
7607
|
-
onSuccess: (
|
|
7608
|
-
d.current.onLineLogin?.(
|
|
7624
|
+
onSuccess: (S) => {
|
|
7625
|
+
d.current.onLineLogin?.(S);
|
|
7609
7626
|
},
|
|
7610
7627
|
retry: !1
|
|
7611
7628
|
}
|
|
7612
7629
|
}), { mutateAsync: v } = Bo({
|
|
7613
7630
|
options: {
|
|
7614
|
-
onSuccess: (
|
|
7615
|
-
d.current.onLineLogin?.(
|
|
7631
|
+
onSuccess: (S) => {
|
|
7632
|
+
d.current.onLineLogin?.(S);
|
|
7616
7633
|
},
|
|
7617
|
-
onError: (
|
|
7634
|
+
onError: (S, D) => {
|
|
7618
7635
|
b || C(D);
|
|
7619
7636
|
}
|
|
7620
7637
|
}
|
|
@@ -7625,9 +7642,9 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7625
7642
|
isInGameBox: ge(p, "isInGameBox", !1),
|
|
7626
7643
|
currentGamePlatform: ge(p, "currentGamePlatform", "")
|
|
7627
7644
|
}), {
|
|
7628
|
-
sendMessage:
|
|
7645
|
+
sendMessage: E,
|
|
7629
7646
|
// 發送普通訊息
|
|
7630
|
-
sendJsonMessage:
|
|
7647
|
+
sendJsonMessage: M,
|
|
7631
7648
|
// 發送 JSON 訊息
|
|
7632
7649
|
lastMessage: B,
|
|
7633
7650
|
// 最後接收到的訊息
|
|
@@ -7650,19 +7667,19 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7650
7667
|
}
|
|
7651
7668
|
}, [B]);
|
|
7652
7669
|
pe(() => {
|
|
7653
|
-
const
|
|
7654
|
-
() =>
|
|
7655
|
-
|
|
7670
|
+
const S = setInterval(
|
|
7671
|
+
() => E("ping"),
|
|
7672
|
+
zo
|
|
7656
7673
|
);
|
|
7657
|
-
return () => clearInterval(
|
|
7658
|
-
}, [
|
|
7659
|
-
const
|
|
7660
|
-
(
|
|
7674
|
+
return () => clearInterval(S);
|
|
7675
|
+
}, [E]);
|
|
7676
|
+
const P = I(
|
|
7677
|
+
(S, D) => {
|
|
7661
7678
|
g && f.dispatch({
|
|
7662
7679
|
type: "ui/openNotificationModal",
|
|
7663
7680
|
payload: {
|
|
7664
7681
|
title: Qa[m] || "System Prompt",
|
|
7665
|
-
content:
|
|
7682
|
+
content: S,
|
|
7666
7683
|
type: "warning",
|
|
7667
7684
|
props: D
|
|
7668
7685
|
}
|
|
@@ -7673,55 +7690,55 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7673
7690
|
pe(() => {
|
|
7674
7691
|
d.current = r;
|
|
7675
7692
|
}, [r]);
|
|
7676
|
-
const
|
|
7693
|
+
const A = X(null);
|
|
7677
7694
|
return pe(() => {
|
|
7678
|
-
if (!T ||
|
|
7695
|
+
if (!T || A.current === T)
|
|
7679
7696
|
return;
|
|
7680
|
-
|
|
7697
|
+
A.current = T;
|
|
7681
7698
|
const {
|
|
7682
|
-
onDeposit:
|
|
7699
|
+
onDeposit: S,
|
|
7683
7700
|
onTransCode: D,
|
|
7684
|
-
onError:
|
|
7685
|
-
onUpdateMember:
|
|
7701
|
+
onError: N,
|
|
7702
|
+
onUpdateMember: F,
|
|
7686
7703
|
onMaintainNotice: O,
|
|
7687
7704
|
onMaintainNoticeMember: H,
|
|
7688
7705
|
onTransferInGame: W,
|
|
7689
|
-
onCashRegisterLimit:
|
|
7690
|
-
onLineLogin:
|
|
7691
|
-
} = d.current, w = ge(T, "type", ""),
|
|
7706
|
+
onCashRegisterLimit: G,
|
|
7707
|
+
onLineLogin: L
|
|
7708
|
+
} = d.current, w = ge(T, "type", ""), R = {
|
|
7692
7709
|
memberInfoUid: ge(T, "member_info_uid", null),
|
|
7693
7710
|
data: ge(T, "data", null),
|
|
7694
7711
|
memo: ge(T, "memo", null),
|
|
7695
7712
|
amount: ge(T, "amount", null),
|
|
7696
7713
|
limitAmount: ge(T, "limit_amount", null)
|
|
7697
|
-
}, K = Number(
|
|
7714
|
+
}, K = Number(R.memberInfoUid) === y, q = R.data, Q = R.amount, J = R.limitAmount, ee = _.get("mac") || lt.get("machine_mac_address") || "", ie = ge(T, "data.line_id", null), _e = ge(T, "data.line_name", null), ye = ge(T, "member_info_uid", null);
|
|
7698
7715
|
switch (w) {
|
|
7699
7716
|
case He.DEPOSIT:
|
|
7700
|
-
K && (x(),
|
|
7717
|
+
K && (x(), S?.(R));
|
|
7701
7718
|
break;
|
|
7702
7719
|
case He.TRANS_CODE:
|
|
7703
|
-
D?.(
|
|
7720
|
+
D?.(R);
|
|
7704
7721
|
break;
|
|
7705
7722
|
case He.ERROR:
|
|
7706
7723
|
if (K) {
|
|
7707
7724
|
const le = ge(T, "open_game_modal", 0) === 1;
|
|
7708
|
-
|
|
7725
|
+
P(q, {
|
|
7709
7726
|
notificationType: le ? "gamingNotice" : void 0
|
|
7710
|
-
}),
|
|
7727
|
+
}), N?.(R);
|
|
7711
7728
|
}
|
|
7712
7729
|
break;
|
|
7713
7730
|
case He.UPDATE_MEMBER:
|
|
7714
7731
|
y && (a.invalidateQueries({
|
|
7715
7732
|
queryKey: ["getMemberInfo"]
|
|
7716
|
-
}),
|
|
7733
|
+
}), F?.(R));
|
|
7717
7734
|
break;
|
|
7718
7735
|
case He.MAINTAIN_NOTICE:
|
|
7719
|
-
|
|
7736
|
+
P(q, {
|
|
7720
7737
|
notificationType: "maintainNotice"
|
|
7721
|
-
}), O?.(
|
|
7738
|
+
}), O?.(R);
|
|
7722
7739
|
break;
|
|
7723
7740
|
case He.MAINTAIN_NOTICE_MEMBER:
|
|
7724
|
-
K && (
|
|
7741
|
+
K && (P(q), H?.(R), setTimeout(() => {
|
|
7725
7742
|
window.location.reload();
|
|
7726
7743
|
}, 5e4));
|
|
7727
7744
|
break;
|
|
@@ -7732,7 +7749,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7732
7749
|
case He.CHECK_REQUEST:
|
|
7733
7750
|
if (K && U) {
|
|
7734
7751
|
const { request_id: le, amount: ce, platform: ke, status: Ue } = ge(
|
|
7735
|
-
|
|
7752
|
+
R,
|
|
7736
7753
|
"data",
|
|
7737
7754
|
{}
|
|
7738
7755
|
), ze = localStorage.getItem(
|
|
@@ -7755,28 +7772,28 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7755
7772
|
}
|
|
7756
7773
|
});
|
|
7757
7774
|
}
|
|
7758
|
-
W?.(
|
|
7775
|
+
W?.(R);
|
|
7759
7776
|
}
|
|
7760
7777
|
break;
|
|
7761
7778
|
case He.CASH_REGISTER_LIMIT:
|
|
7762
|
-
|
|
7779
|
+
P(q, {
|
|
7763
7780
|
notificationType: "cashRegisterLimit",
|
|
7764
7781
|
amount: Q,
|
|
7765
7782
|
limitAmount: J
|
|
7766
|
-
}),
|
|
7783
|
+
}), G?.(R);
|
|
7767
7784
|
break;
|
|
7768
7785
|
case He.UPDATE_ONLY_ONE_MEMBER:
|
|
7769
7786
|
K && (a.invalidateQueries({
|
|
7770
7787
|
queryKey: ["getMemberInfo"]
|
|
7771
|
-
}),
|
|
7788
|
+
}), F?.(R));
|
|
7772
7789
|
break;
|
|
7773
7790
|
case He.GAME_MAINTAIN:
|
|
7774
|
-
|
|
7791
|
+
P(q, {
|
|
7775
7792
|
notificationType: "gameMaintain"
|
|
7776
7793
|
});
|
|
7777
7794
|
break;
|
|
7778
7795
|
case He.LINE_LOGIN:
|
|
7779
|
-
ye ===
|
|
7796
|
+
ye === ee && v({
|
|
7780
7797
|
line_id: ie,
|
|
7781
7798
|
line_name: _e
|
|
7782
7799
|
});
|
|
@@ -7791,30 +7808,30 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7791
7808
|
f,
|
|
7792
7809
|
a,
|
|
7793
7810
|
m,
|
|
7794
|
-
|
|
7811
|
+
P,
|
|
7795
7812
|
o,
|
|
7796
7813
|
x,
|
|
7797
7814
|
U,
|
|
7798
7815
|
s
|
|
7799
7816
|
]), pe(() => () => c.current = !0, []), pe(() => {
|
|
7800
7817
|
if (U) {
|
|
7801
|
-
const
|
|
7818
|
+
const S = localStorage.getItem(
|
|
7802
7819
|
"transfer_in_game_request_id"
|
|
7803
7820
|
);
|
|
7804
|
-
|
|
7821
|
+
S && y && o && M({
|
|
7805
7822
|
type: He.CHECK_REQUEST,
|
|
7806
|
-
request_id:
|
|
7823
|
+
request_id: S,
|
|
7807
7824
|
member_info_uid: y
|
|
7808
7825
|
});
|
|
7809
7826
|
}
|
|
7810
|
-
}, [y, o,
|
|
7811
|
-
sendMessage:
|
|
7812
|
-
sendJsonMessage:
|
|
7827
|
+
}, [y, o, M, U]), {
|
|
7828
|
+
sendMessage: E,
|
|
7829
|
+
sendJsonMessage: M,
|
|
7813
7830
|
readyState: k
|
|
7814
7831
|
// WebSocket 連線狀態
|
|
7815
7832
|
};
|
|
7816
7833
|
}, Ji = () => {
|
|
7817
|
-
const { client: e } =
|
|
7834
|
+
const { client: e } = se(), r = I(
|
|
7818
7835
|
async ({ paramsData: g } = {}) => {
|
|
7819
7836
|
const { uid: b } = g || {};
|
|
7820
7837
|
return await e.get(`/event/list${b ? `/${b}` : ""}`);
|
|
@@ -7849,8 +7866,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7849
7866
|
checkEventStatusApi: p,
|
|
7850
7867
|
redeemEventRewardApi: n
|
|
7851
7868
|
};
|
|
7852
|
-
},
|
|
7853
|
-
const { store: t, lng: n, data2URL: p } =
|
|
7869
|
+
}, Io = ({ paramsData: e, options: r } = {}) => {
|
|
7870
|
+
const { store: t, lng: n, data2URL: p } = se(), { eventListApi: g } = Ji(), b = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", f = Ye(n);
|
|
7854
7871
|
return ne({
|
|
7855
7872
|
queryKey: ["eventList", e],
|
|
7856
7873
|
queryFn: () => g({ paramsData: e }),
|
|
@@ -7962,21 +7979,21 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7962
7979
|
},
|
|
7963
7980
|
...r
|
|
7964
7981
|
});
|
|
7965
|
-
},
|
|
7982
|
+
}, Pm = ({ options: e } = {}) => {
|
|
7966
7983
|
const { redeemEventRewardApi: r } = Ji();
|
|
7967
|
-
return
|
|
7984
|
+
return oe({
|
|
7968
7985
|
mutationKey: ["redeemEventReward"],
|
|
7969
7986
|
mutationFn: async (t) => r(t),
|
|
7970
7987
|
...e
|
|
7971
7988
|
});
|
|
7972
|
-
},
|
|
7989
|
+
}, Vo = ({ options: e, formData: r } = {}) => {
|
|
7973
7990
|
const { checkCurrentEventProgessApi: t } = Ji();
|
|
7974
7991
|
return ne({
|
|
7975
7992
|
queryKey: ["checkEventProgress"],
|
|
7976
7993
|
queryFn: async () => t(r),
|
|
7977
7994
|
...e
|
|
7978
7995
|
});
|
|
7979
|
-
},
|
|
7996
|
+
}, Zo = ({ options: e, formData: r } = {}) => {
|
|
7980
7997
|
const { checkEventStatusApi: t } = Ji();
|
|
7981
7998
|
return ne({
|
|
7982
7999
|
queryKey: ["checkEventStatus"],
|
|
@@ -7984,16 +8001,16 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
7984
8001
|
select: (n) => n.data.event_status,
|
|
7985
8002
|
...e
|
|
7986
8003
|
});
|
|
7987
|
-
},
|
|
8004
|
+
}, Fm = ({
|
|
7988
8005
|
options: e = {
|
|
7989
8006
|
eventList: {},
|
|
7990
8007
|
checkEventProgress: {},
|
|
7991
8008
|
checkEventStatus: {}
|
|
7992
8009
|
}
|
|
7993
8010
|
} = {}) => {
|
|
7994
|
-
const r =
|
|
8011
|
+
const r = Io({ options: e.eventList }), t = Vo({
|
|
7995
8012
|
options: e.checkEventProgress
|
|
7996
|
-
}), n =
|
|
8013
|
+
}), n = Zo({
|
|
7997
8014
|
options: e.checkEventStatus
|
|
7998
8015
|
});
|
|
7999
8016
|
return {
|
|
@@ -8002,7 +8019,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8002
8019
|
checkEventStatusQuery: n
|
|
8003
8020
|
};
|
|
8004
8021
|
}, Ki = () => {
|
|
8005
|
-
const { client: e } =
|
|
8022
|
+
const { client: e } = se(), r = I(async () => {
|
|
8006
8023
|
const { data: g } = await e.get("/carousels");
|
|
8007
8024
|
return g;
|
|
8008
8025
|
}, [e]), t = I(async () => await e.get("/marquees"), [e]), n = I(async () => await e.get("/notification"), [e]), p = I(
|
|
@@ -8015,8 +8032,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8015
8032
|
commonInboxApi: n,
|
|
8016
8033
|
commonReadInboxApi: p
|
|
8017
8034
|
};
|
|
8018
|
-
},
|
|
8019
|
-
const { lng: e, data2URL: r } =
|
|
8035
|
+
}, wm = () => {
|
|
8036
|
+
const { lng: e, data2URL: r } = se(), { commonCarouselApi: t } = Ki(), n = Ye(e);
|
|
8020
8037
|
return ne({
|
|
8021
8038
|
queryKey: ["getCarouselList"],
|
|
8022
8039
|
queryFn: async () => {
|
|
@@ -8036,8 +8053,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8036
8053
|
};
|
|
8037
8054
|
})
|
|
8038
8055
|
});
|
|
8039
|
-
},
|
|
8040
|
-
const { lng: e } =
|
|
8056
|
+
}, Am = () => {
|
|
8057
|
+
const { lng: e } = se(), { commonMarqueeApi: r } = Ki(), t = Ye(e);
|
|
8041
8058
|
return ne({
|
|
8042
8059
|
queryKey: ["getMarqueeList"],
|
|
8043
8060
|
queryFn: async () => {
|
|
@@ -8049,7 +8066,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8049
8066
|
return We(p, (b) => b[t] || b["en-US"]);
|
|
8050
8067
|
}
|
|
8051
8068
|
});
|
|
8052
|
-
},
|
|
8069
|
+
}, Om = ({ options: e } = {}) => {
|
|
8053
8070
|
const { rankingGameApi: r } = ue();
|
|
8054
8071
|
return ne({
|
|
8055
8072
|
queryKey: ["rankingGame"],
|
|
@@ -8090,8 +8107,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8090
8107
|
},
|
|
8091
8108
|
...e
|
|
8092
8109
|
});
|
|
8093
|
-
},
|
|
8094
|
-
const { commonInboxApi: r } = Ki(), { getToken: t, lng: n } =
|
|
8110
|
+
}, Jo = ({ options: e } = {}) => {
|
|
8111
|
+
const { commonInboxApi: r } = Ki(), { getToken: t, lng: n } = se(), p = t?.(), g = Ye(n);
|
|
8095
8112
|
return ne({
|
|
8096
8113
|
queryKey: ["inboxList"],
|
|
8097
8114
|
queryFn: async () => await r(),
|
|
@@ -8111,26 +8128,26 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8111
8128
|
enabled: !!p,
|
|
8112
8129
|
...e
|
|
8113
8130
|
});
|
|
8114
|
-
},
|
|
8131
|
+
}, Ko = ({ options: e } = {}) => {
|
|
8115
8132
|
const { commonReadInboxApi: r } = Ki();
|
|
8116
|
-
return
|
|
8133
|
+
return oe({
|
|
8117
8134
|
mutationKey: ["readInbox"],
|
|
8118
8135
|
mutationFn: async (t) => await r(t),
|
|
8119
8136
|
...e
|
|
8120
8137
|
});
|
|
8121
|
-
},
|
|
8138
|
+
}, Bm = ({
|
|
8122
8139
|
options: e = {
|
|
8123
8140
|
inboxList: {},
|
|
8124
8141
|
readInbox: {}
|
|
8125
8142
|
}
|
|
8126
8143
|
} = {}) => {
|
|
8127
|
-
const r =
|
|
8144
|
+
const r = Jo({ options: e.inboxList }), t = Ko({ options: e.readInbox });
|
|
8128
8145
|
return {
|
|
8129
8146
|
inboxListQuery: r,
|
|
8130
8147
|
readInboxMutation: t
|
|
8131
8148
|
};
|
|
8132
8149
|
}, nl = () => {
|
|
8133
|
-
const { client: e } =
|
|
8150
|
+
const { client: e } = se();
|
|
8134
8151
|
return {
|
|
8135
8152
|
newsListApi: I(
|
|
8136
8153
|
async ({ uid: t, params: n } = {}) => await e.get(`/news${t ? `/${t}` : ""}`, {
|
|
@@ -8139,7 +8156,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8139
8156
|
[e]
|
|
8140
8157
|
)
|
|
8141
8158
|
};
|
|
8142
|
-
},
|
|
8159
|
+
}, qo = ({
|
|
8143
8160
|
typeConfig: e = {
|
|
8144
8161
|
all: {},
|
|
8145
8162
|
crypto: {},
|
|
@@ -8185,8 +8202,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8185
8202
|
value: "other",
|
|
8186
8203
|
...e.other
|
|
8187
8204
|
}
|
|
8188
|
-
],
|
|
8189
|
-
const { lng: t } =
|
|
8205
|
+
], Hm = ({ options: e, formData: r } = {}) => {
|
|
8206
|
+
const { lng: t } = se(), { newsListApi: n } = nl(), p = Ye(t);
|
|
8190
8207
|
return ne({
|
|
8191
8208
|
queryKey: ["newsList"],
|
|
8192
8209
|
queryFn: () => {
|
|
@@ -8206,13 +8223,13 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8206
8223
|
return {
|
|
8207
8224
|
...g.data,
|
|
8208
8225
|
data: l,
|
|
8209
|
-
blogType:
|
|
8226
|
+
blogType: qo({ typeConfig: e?.typeConfig })
|
|
8210
8227
|
};
|
|
8211
8228
|
},
|
|
8212
8229
|
...e
|
|
8213
8230
|
});
|
|
8214
|
-
},
|
|
8215
|
-
const { lng: t } =
|
|
8231
|
+
}, Wm = ({ options: e, formData: r } = {}) => {
|
|
8232
|
+
const { lng: t } = se(), { newsListApi: n } = nl(), p = Ye(t);
|
|
8216
8233
|
return ne({
|
|
8217
8234
|
queryKey: ["newsList"],
|
|
8218
8235
|
queryFn: () => {
|
|
@@ -8231,7 +8248,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8231
8248
|
...e
|
|
8232
8249
|
});
|
|
8233
8250
|
}, Xe = () => {
|
|
8234
|
-
const { client: e } =
|
|
8251
|
+
const { client: e } = se(), r = I(async () => await e.get("/payment/list"), [e]), t = I(
|
|
8235
8252
|
async ({ paramsData: o }) => await e.get("/thirdPartyPayment/list", {
|
|
8236
8253
|
params: { ...o }
|
|
8237
8254
|
}),
|
|
@@ -8356,14 +8373,14 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8356
8373
|
invoiceApi: i,
|
|
8357
8374
|
updateInvoiceApi: s
|
|
8358
8375
|
};
|
|
8359
|
-
},
|
|
8376
|
+
}, $o = ({ options: e } = {}) => {
|
|
8360
8377
|
const { depositApiV1: r } = Xe();
|
|
8361
8378
|
return ne({
|
|
8362
8379
|
queryKey: ["depositV1"],
|
|
8363
8380
|
queryFn: r,
|
|
8364
8381
|
...e
|
|
8365
8382
|
});
|
|
8366
|
-
},
|
|
8383
|
+
}, Qo = ({ paramsData: e, options: r } = {}) => {
|
|
8367
8384
|
const { depositApiV2: t } = Xe();
|
|
8368
8385
|
return ne({
|
|
8369
8386
|
queryKey: ["depositV2", e],
|
|
@@ -8388,70 +8405,70 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8388
8405
|
},
|
|
8389
8406
|
...r
|
|
8390
8407
|
});
|
|
8391
|
-
},
|
|
8408
|
+
}, jo = ({ options: e } = {}) => {
|
|
8392
8409
|
const { depositApi: r } = Xe();
|
|
8393
|
-
return
|
|
8410
|
+
return oe({
|
|
8394
8411
|
mutationKey: ["depositAction"],
|
|
8395
8412
|
mutationFn: async (t) => r(t),
|
|
8396
8413
|
...e
|
|
8397
8414
|
});
|
|
8398
|
-
},
|
|
8415
|
+
}, Yo = ({ options: e } = {}) => {
|
|
8399
8416
|
const { withdrawApi: r } = Xe();
|
|
8400
|
-
return
|
|
8417
|
+
return oe({
|
|
8401
8418
|
mutationKey: ["withdrawAction"],
|
|
8402
8419
|
mutationFn: async (t) => r(t),
|
|
8403
8420
|
...e
|
|
8404
8421
|
});
|
|
8405
|
-
},
|
|
8422
|
+
}, Xo = ({ paramsData: e, options: r } = {}) => {
|
|
8406
8423
|
const { depositTransactionApi: t } = Xe();
|
|
8407
8424
|
return ne({
|
|
8408
8425
|
queryKey: ["depositTransaction", e],
|
|
8409
8426
|
queryFn: () => t({ paramsData: e }),
|
|
8410
8427
|
...r
|
|
8411
8428
|
});
|
|
8412
|
-
},
|
|
8429
|
+
}, es = ({ paramsData: e, options: r } = {}) => {
|
|
8413
8430
|
const { eventTransactionApi: t } = Xe();
|
|
8414
8431
|
return ne({
|
|
8415
8432
|
queryKey: ["eventTransaction", e],
|
|
8416
8433
|
queryFn: () => t({ paramsData: e }),
|
|
8417
8434
|
...r
|
|
8418
8435
|
});
|
|
8419
|
-
},
|
|
8436
|
+
}, as = ({ options: e } = {}) => {
|
|
8420
8437
|
const { bankDepositApi: r } = Xe();
|
|
8421
|
-
return
|
|
8438
|
+
return oe({
|
|
8422
8439
|
mutationKey: ["bankDeposit"],
|
|
8423
8440
|
mutationFn: async (t) => r(t),
|
|
8424
8441
|
...e
|
|
8425
8442
|
});
|
|
8426
|
-
},
|
|
8443
|
+
}, is = ({ paramsData: e, options: r } = {}) => {
|
|
8427
8444
|
const { withdrawTransactionApi: t } = Xe();
|
|
8428
8445
|
return ne({
|
|
8429
8446
|
queryKey: ["withdrawTransaction", e],
|
|
8430
8447
|
queryFn: () => t({ paramsData: e }),
|
|
8431
8448
|
...r
|
|
8432
8449
|
});
|
|
8433
|
-
},
|
|
8450
|
+
}, zm = ({ options: e } = {}) => {
|
|
8434
8451
|
const { redeemCodeDepositApi: r } = Xe();
|
|
8435
|
-
return
|
|
8452
|
+
return oe({
|
|
8436
8453
|
mutationKey: ["redeemCodeDeposit"],
|
|
8437
8454
|
mutationFn: async (t) => r(t),
|
|
8438
8455
|
...e
|
|
8439
8456
|
});
|
|
8440
|
-
},
|
|
8457
|
+
}, Im = ({ options: e } = {}) => {
|
|
8441
8458
|
const { invoiceApi: r } = Xe();
|
|
8442
|
-
return
|
|
8459
|
+
return oe({
|
|
8443
8460
|
mutationKey: ["invoiceAction"],
|
|
8444
8461
|
mutationFn: async (t) => r(t),
|
|
8445
8462
|
...e
|
|
8446
8463
|
});
|
|
8447
|
-
},
|
|
8464
|
+
}, Vm = ({ options: e } = {}) => {
|
|
8448
8465
|
const { updateInvoiceApi: r } = Xe();
|
|
8449
|
-
return
|
|
8466
|
+
return oe({
|
|
8450
8467
|
mutationKey: ["updateInvoiceAction"],
|
|
8451
8468
|
mutationFn: async (t) => r(t),
|
|
8452
8469
|
...e
|
|
8453
8470
|
});
|
|
8454
|
-
},
|
|
8471
|
+
}, Zm = ({
|
|
8455
8472
|
depositV1: e = {},
|
|
8456
8473
|
depositV2: r = {},
|
|
8457
8474
|
depositTransaction: t = {},
|
|
@@ -8461,7 +8478,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8461
8478
|
eventTransaction: b = {},
|
|
8462
8479
|
withdrawTransaction: f = {}
|
|
8463
8480
|
} = {}) => {
|
|
8464
|
-
const l =
|
|
8481
|
+
const l = $o(e), a = Qo(r), i = Xo(t), s = jo(n), o = Yo(p), u = as(g), m = es(b), c = is(
|
|
8465
8482
|
f
|
|
8466
8483
|
);
|
|
8467
8484
|
return {
|
|
@@ -8474,10 +8491,10 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8474
8491
|
eventTransaction: m,
|
|
8475
8492
|
withdrawTransaction: c
|
|
8476
8493
|
};
|
|
8477
|
-
}, ll = "3.7.8",
|
|
8494
|
+
}, ll = "3.7.8", ts = ll, Ha = typeof Buffer == "function", Nn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Ln = typeof TextEncoder == "function" ? new TextEncoder() : void 0, ns = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", $a = Array.prototype.slice.call(ns), ii = ((e) => {
|
|
8478
8495
|
let r = {};
|
|
8479
8496
|
return e.forEach((t, n) => r[t] = n), r;
|
|
8480
|
-
})($a),
|
|
8497
|
+
})($a), ls = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), Gn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), rl = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (r) => r == "+" ? "-" : "_"), ol = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), sl = (e) => {
|
|
8481
8498
|
let r, t, n, p, g = "";
|
|
8482
8499
|
const b = e.length % 3;
|
|
8483
8500
|
for (let f = 0; f < e.length; ) {
|
|
@@ -8491,7 +8508,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8491
8508
|
for (let n = 0, p = e.length; n < p; n += 4096)
|
|
8492
8509
|
t.push(Le.apply(null, e.subarray(n, n + 4096)));
|
|
8493
8510
|
return Ct(t.join(""));
|
|
8494
|
-
}, Hi = (e, r = !1) => r ? rl(rt(e)) : rt(e),
|
|
8511
|
+
}, Hi = (e, r = !1) => r ? rl(rt(e)) : rt(e), rs = (e) => {
|
|
8495
8512
|
if (e.length < 2) {
|
|
8496
8513
|
var r = e.charCodeAt(0);
|
|
8497
8514
|
return r < 128 ? e : r < 2048 ? Le(192 | r >>> 6) + Le(128 | r & 63) : Le(224 | r >>> 12 & 15) + Le(128 | r >>> 6 & 63) + Le(128 | r & 63);
|
|
@@ -8499,7 +8516,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8499
8516
|
var r = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
|
|
8500
8517
|
return Le(240 | r >>> 18 & 7) + Le(128 | r >>> 12 & 63) + Le(128 | r >>> 6 & 63) + Le(128 | r & 63);
|
|
8501
8518
|
}
|
|
8502
|
-
},
|
|
8519
|
+
}, os = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, ml = (e) => e.replace(os, rs), Mn = Ha ? (e) => Buffer.from(e, "utf8").toString("base64") : Ln ? (e) => rt(Ln.encode(e)) : (e) => Ct(ml(e)), Ba = (e, r = !1) => r ? rl(Mn(e)) : Mn(e), Rn = (e) => Ba(e, !0), ss = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, ms = (e) => {
|
|
8503
8520
|
switch (e.length) {
|
|
8504
8521
|
case 4:
|
|
8505
8522
|
var r = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), t = r - 65536;
|
|
@@ -8509,15 +8526,15 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8509
8526
|
default:
|
|
8510
8527
|
return Le((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
|
|
8511
8528
|
}
|
|
8512
|
-
}, ul = (e) => e.replace(
|
|
8513
|
-
if (e = e.replace(/\s+/g, ""), !
|
|
8529
|
+
}, ul = (e) => e.replace(ss, ms), pl = (e) => {
|
|
8530
|
+
if (e = e.replace(/\s+/g, ""), !ls.test(e))
|
|
8514
8531
|
throw new TypeError("malformed base64.");
|
|
8515
8532
|
e += "==".slice(2 - (e.length & 3));
|
|
8516
8533
|
let r, t, n, p = [];
|
|
8517
8534
|
for (let g = 0; g < e.length; )
|
|
8518
8535
|
r = ii[e.charAt(g++)] << 18 | ii[e.charAt(g++)] << 12 | (t = ii[e.charAt(g++)]) << 6 | (n = ii[e.charAt(g++)]), t === 64 ? p.push(Le(r >> 16 & 255)) : n === 64 ? p.push(Le(r >> 16 & 255, r >> 8 & 255)) : p.push(Le(r >> 16 & 255, r >> 8 & 255, r & 255));
|
|
8519
8536
|
return p.join("");
|
|
8520
|
-
}, vt = typeof atob == "function" ? (e) => atob(ol(e)) : Ha ? (e) => Buffer.from(e, "base64").toString("binary") : pl, gl = Ha ? (e) => Gn(Buffer.from(e, "base64")) : (e) => Gn(vt(e).split("").map((r) => r.charCodeAt(0))), dl = (e) => gl(cl(e)),
|
|
8537
|
+
}, vt = typeof atob == "function" ? (e) => atob(ol(e)) : Ha ? (e) => Buffer.from(e, "base64").toString("binary") : pl, gl = Ha ? (e) => Gn(Buffer.from(e, "base64")) : (e) => Gn(vt(e).split("").map((r) => r.charCodeAt(0))), dl = (e) => gl(cl(e)), us = Ha ? (e) => Buffer.from(e, "base64").toString("utf8") : Nn ? (e) => Nn.decode(gl(e)) : (e) => ul(vt(e)), cl = (e) => ol(e.replace(/[-_]/g, (r) => r == "-" ? "+" : "/")), ot = (e) => us(cl(e)), ps = (e) => {
|
|
8521
8538
|
if (typeof e != "string")
|
|
8522
8539
|
return !1;
|
|
8523
8540
|
const r = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
|
|
@@ -8549,11 +8566,11 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8549
8566
|
}), e("toBase64URL", function() {
|
|
8550
8567
|
return Hi(this, !0);
|
|
8551
8568
|
});
|
|
8552
|
-
},
|
|
8569
|
+
}, gs = () => {
|
|
8553
8570
|
_l(), yl();
|
|
8554
|
-
},
|
|
8571
|
+
}, ds = {
|
|
8555
8572
|
version: ll,
|
|
8556
|
-
VERSION:
|
|
8573
|
+
VERSION: ts,
|
|
8557
8574
|
atob: vt,
|
|
8558
8575
|
atobPolyfill: pl,
|
|
8559
8576
|
btoa: Ct,
|
|
@@ -8566,13 +8583,13 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8566
8583
|
utob: ml,
|
|
8567
8584
|
btou: ul,
|
|
8568
8585
|
decode: ot,
|
|
8569
|
-
isValid:
|
|
8586
|
+
isValid: ps,
|
|
8570
8587
|
fromUint8Array: Hi,
|
|
8571
8588
|
toUint8Array: dl,
|
|
8572
8589
|
extendString: _l,
|
|
8573
8590
|
extendUint8Array: yl,
|
|
8574
|
-
extendBuiltins:
|
|
8575
|
-
},
|
|
8591
|
+
extendBuiltins: gs
|
|
8592
|
+
}, Jm = (e, r) => {
|
|
8576
8593
|
const { playGameApi: t } = ct();
|
|
8577
8594
|
return ne({
|
|
8578
8595
|
queryKey: ["playGame"],
|
|
@@ -8599,7 +8616,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8599
8616
|
supportPortrait: o,
|
|
8600
8617
|
isHtmlCode: m,
|
|
8601
8618
|
gameUrl: u,
|
|
8602
|
-
decodeGameUrl:
|
|
8619
|
+
decodeGameUrl: ds.decode(u),
|
|
8603
8620
|
message: c
|
|
8604
8621
|
};
|
|
8605
8622
|
},
|
|
@@ -8607,12 +8624,12 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8607
8624
|
...r
|
|
8608
8625
|
});
|
|
8609
8626
|
}, Ul = () => {
|
|
8610
|
-
const { client: e } =
|
|
8627
|
+
const { client: e } = se(), r = I(async () => await e.get("/rebate"), [e]), t = I(async () => await e.post("/withdraw/rebate"), [e]);
|
|
8611
8628
|
return {
|
|
8612
8629
|
currentRebateApi: r,
|
|
8613
8630
|
receiveRebateApi: t
|
|
8614
8631
|
};
|
|
8615
|
-
},
|
|
8632
|
+
}, cs = ({ options: e } = {}) => {
|
|
8616
8633
|
const { currentRebateApi: r } = Ul();
|
|
8617
8634
|
return ne({
|
|
8618
8635
|
queryKey: ["currentRebate"],
|
|
@@ -8620,26 +8637,26 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8620
8637
|
select: (t) => Hl(t, ["code", "status"]),
|
|
8621
8638
|
...e
|
|
8622
8639
|
});
|
|
8623
|
-
},
|
|
8640
|
+
}, fs = ({ options: e } = {}) => {
|
|
8624
8641
|
const { receiveRebateApi: r } = Ul();
|
|
8625
|
-
return
|
|
8642
|
+
return oe({
|
|
8626
8643
|
mutationKey: ["receiveRebate"],
|
|
8627
8644
|
mutationFn: async () => r(),
|
|
8628
8645
|
...e
|
|
8629
8646
|
});
|
|
8630
|
-
},
|
|
8647
|
+
}, Km = ({
|
|
8631
8648
|
options: e = {
|
|
8632
8649
|
currentRebate: {},
|
|
8633
8650
|
receiveRebate: {}
|
|
8634
8651
|
}
|
|
8635
8652
|
} = {}) => {
|
|
8636
|
-
const r =
|
|
8653
|
+
const r = cs({ options: e.currentRebate }), t = fs({ options: e.receiveRebate });
|
|
8637
8654
|
return {
|
|
8638
8655
|
currentRebate: r,
|
|
8639
8656
|
receiveRebate: t
|
|
8640
8657
|
};
|
|
8641
8658
|
}, ja = () => {
|
|
8642
|
-
const { client: e } =
|
|
8659
|
+
const { client: e } = se(), r = I(
|
|
8643
8660
|
async ({ uid: b, params: f } = {}) => await e.get(`/memberRewards${b ? `/${b}` : ""}`, {
|
|
8644
8661
|
params: f
|
|
8645
8662
|
}),
|
|
@@ -8657,7 +8674,7 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8657
8674
|
redeemRewardApi: p,
|
|
8658
8675
|
historyRewardApi: g
|
|
8659
8676
|
};
|
|
8660
|
-
},
|
|
8677
|
+
}, _s = ({ options: e } = {}) => {
|
|
8661
8678
|
const { rewardListApi: r } = ja();
|
|
8662
8679
|
return ne({
|
|
8663
8680
|
queryKey: ["rewardsList"],
|
|
@@ -8697,35 +8714,35 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8697
8714
|
},
|
|
8698
8715
|
...e
|
|
8699
8716
|
});
|
|
8700
|
-
},
|
|
8717
|
+
}, ys = ({ options: e } = {}) => {
|
|
8701
8718
|
const { redeemRewardApi: r } = ja();
|
|
8702
|
-
return
|
|
8719
|
+
return oe({
|
|
8703
8720
|
mutationKey: ["redeemReward"],
|
|
8704
8721
|
mutationFn: async (t) => await r(t),
|
|
8705
8722
|
...e
|
|
8706
8723
|
});
|
|
8707
|
-
},
|
|
8724
|
+
}, Us = ({ options: e } = {}) => {
|
|
8708
8725
|
const { unUsedRewardListApi: r } = ja();
|
|
8709
8726
|
return ne({
|
|
8710
8727
|
queryKey: ["unUsedRewardsList"],
|
|
8711
8728
|
queryFn: r,
|
|
8712
8729
|
...e
|
|
8713
8730
|
});
|
|
8714
|
-
},
|
|
8731
|
+
}, bs = ({ options: e } = {}) => {
|
|
8715
8732
|
const { expiredRewardListApi: r } = ja();
|
|
8716
8733
|
return ne({
|
|
8717
8734
|
queryKey: ["expiredRewardsList"],
|
|
8718
8735
|
queryFn: r,
|
|
8719
8736
|
...e
|
|
8720
8737
|
});
|
|
8721
|
-
},
|
|
8738
|
+
}, Cs = ({ options: e } = {}) => {
|
|
8722
8739
|
const { historyRewardApi: r } = ja();
|
|
8723
8740
|
return ne({
|
|
8724
8741
|
queryKey: ["historyRewardsList"],
|
|
8725
8742
|
queryFn: r,
|
|
8726
8743
|
...e
|
|
8727
8744
|
});
|
|
8728
|
-
},
|
|
8745
|
+
}, qm = ({
|
|
8729
8746
|
options: e = {
|
|
8730
8747
|
rewardsList: {},
|
|
8731
8748
|
redeemReward: {},
|
|
@@ -8734,13 +8751,13 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8734
8751
|
historyRewardsList: {}
|
|
8735
8752
|
}
|
|
8736
8753
|
} = {}) => {
|
|
8737
|
-
const r =
|
|
8754
|
+
const r = _s({ options: e.rewardsList }), t = ys({
|
|
8738
8755
|
options: e.redeemReward
|
|
8739
|
-
}), n =
|
|
8756
|
+
}), n = Us({
|
|
8740
8757
|
options: e.unUsedRewardsList
|
|
8741
|
-
}), p =
|
|
8758
|
+
}), p = bs({
|
|
8742
8759
|
options: e.expiredRewardsList
|
|
8743
|
-
}), g =
|
|
8760
|
+
}), g = Cs({
|
|
8744
8761
|
options: e.historyRewardsList
|
|
8745
8762
|
});
|
|
8746
8763
|
return {
|
|
@@ -8751,13 +8768,13 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8751
8768
|
historyRewardsListQuery: g
|
|
8752
8769
|
};
|
|
8753
8770
|
}, bl = () => {
|
|
8754
|
-
const { client: e } =
|
|
8771
|
+
const { client: e } = se(), r = I(async () => await e.get("/vip/list"), [e]), t = I(async () => await e.get("/vip/check"), [e]);
|
|
8755
8772
|
return {
|
|
8756
8773
|
vipListApi: r,
|
|
8757
8774
|
vipInfoApi: t
|
|
8758
8775
|
};
|
|
8759
|
-
},
|
|
8760
|
-
const { store: r } =
|
|
8776
|
+
}, $m = ({ options: e } = {}) => {
|
|
8777
|
+
const { store: r } = se(), t = r?.getState()?.isMemberInfo || r?.getState()?.member?.member || {}, { vipInfoApi: n } = bl();
|
|
8761
8778
|
return ne({
|
|
8762
8779
|
queryKey: ["vipInfo"],
|
|
8763
8780
|
queryFn: async () => n(),
|
|
@@ -8771,8 +8788,8 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8771
8788
|
},
|
|
8772
8789
|
...e
|
|
8773
8790
|
});
|
|
8774
|
-
},
|
|
8775
|
-
const { store: r } =
|
|
8791
|
+
}, vs = ({ options: e } = {}) => {
|
|
8792
|
+
const { store: r } = se(), t = r?.getState()?.isWalletCurrency || r?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: n } = bl();
|
|
8776
8793
|
return ne({
|
|
8777
8794
|
queryKey: ["vipList"],
|
|
8778
8795
|
queryFn: async () => {
|
|
@@ -8808,15 +8825,15 @@ const So = /* @__PURE__ */ pt(xo), Do = ({
|
|
|
8808
8825
|
},
|
|
8809
8826
|
...e
|
|
8810
8827
|
});
|
|
8811
|
-
},
|
|
8828
|
+
}, Qm = ({ options: e } = {
|
|
8812
8829
|
vipList: {}
|
|
8813
8830
|
}) => ({
|
|
8814
|
-
vipList:
|
|
8831
|
+
vipList: vs({ options: e.vipList })
|
|
8815
8832
|
});
|
|
8816
|
-
var
|
|
8817
|
-
if (r && typeof r == "object" || typeof r == "function") for (let p of
|
|
8833
|
+
var hs = Object.create, Cl = Object.defineProperty, Ts = Object.getOwnPropertyDescriptor, ks = Object.getOwnPropertyNames, xs = Object.getPrototypeOf, Ss = Object.prototype.hasOwnProperty, Ds = (e, r) => () => (r || e((r = { exports: {} }).exports, r), r.exports), Es = (e, r, t, n) => {
|
|
8834
|
+
if (r && typeof r == "object" || typeof r == "function") for (let p of ks(r)) !Ss.call(e, p) && p !== t && Cl(e, p, { get: () => r[p], enumerable: !(n = Ts(r, p)) || n.enumerable });
|
|
8818
8835
|
return e;
|
|
8819
|
-
},
|
|
8836
|
+
}, Ns = (e, r, t) => (t = e != null ? hs(xs(e)) : {}, Es(!e || !e.__esModule ? Cl(t, "default", { value: e, enumerable: !0 }) : t, e)), Ls = Ds((e, r) => {
|
|
8820
8837
|
(function(t, n) {
|
|
8821
8838
|
typeof e == "object" && typeof r < "u" ? n(e) : typeof define == "function" && define.amd ? define(["exports"], n) : (t = typeof globalThis < "u" ? globalThis : t || self, n(t.fastUniqueNumbers = {}));
|
|
8822
8839
|
})(e, function(t) {
|
|
@@ -8845,12 +8862,12 @@ var vs = Object.create, Cl = Object.defineProperty, hs = Object.getOwnPropertyDe
|
|
|
8845
8862
|
t.addUniqueNumber = o, t.generateUniqueNumber = s;
|
|
8846
8863
|
});
|
|
8847
8864
|
});
|
|
8848
|
-
|
|
8865
|
+
Ns(Ls());
|
|
8849
8866
|
var pa = (typeof window > "u" ? "undefined" : typeof window) == "object", $e = { setTimeout: pa ? setTimeout.bind(window) : setTimeout, clearTimeout: pa ? clearTimeout.bind(window) : clearTimeout, setInterval: pa ? setInterval.bind(window) : setInterval, clearInterval: pa ? clearInterval.bind(window) : clearInterval };
|
|
8850
|
-
function
|
|
8867
|
+
function Gs(e) {
|
|
8851
8868
|
$e.setTimeout = e.setTimeout, $e.clearTimeout = e.clearTimeout, $e.setInterval = e.setInterval, $e.clearInterval = e.clearInterval;
|
|
8852
8869
|
}
|
|
8853
|
-
var Fa = {},
|
|
8870
|
+
var Fa = {}, Ms = class {
|
|
8854
8871
|
name;
|
|
8855
8872
|
closed = !1;
|
|
8856
8873
|
mc = new MessageChannel();
|
|
@@ -8898,14 +8915,14 @@ var Fa = {}, Gs = class {
|
|
|
8898
8915
|
dispatchEvent(e) {
|
|
8899
8916
|
return this.mc.port1.dispatchEvent(e);
|
|
8900
8917
|
}
|
|
8901
|
-
},
|
|
8902
|
-
function
|
|
8918
|
+
}, Rs = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : Ms;
|
|
8919
|
+
function Ps(e = 0) {
|
|
8903
8920
|
return new Promise((r) => $e.setTimeout(r, e));
|
|
8904
8921
|
}
|
|
8905
8922
|
function vl() {
|
|
8906
8923
|
return Math.random().toString(36).substring(2);
|
|
8907
8924
|
}
|
|
8908
|
-
var
|
|
8925
|
+
var Fs = class {
|
|
8909
8926
|
options;
|
|
8910
8927
|
channel;
|
|
8911
8928
|
token = vl();
|
|
@@ -8929,7 +8946,7 @@ var Ps = class {
|
|
|
8929
8946
|
};
|
|
8930
8947
|
this.channel.addEventListener("message", r);
|
|
8931
8948
|
try {
|
|
8932
|
-
return this.sendAction(0), await
|
|
8949
|
+
return this.sendAction(0), await Ps(this.options.responseTime), this.channel.removeEventListener("message", r), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
|
|
8933
8950
|
} catch {
|
|
8934
8951
|
return !1;
|
|
8935
8952
|
}
|
|
@@ -8985,7 +9002,7 @@ var Ps = class {
|
|
|
8985
9002
|
}
|
|
8986
9003
|
}
|
|
8987
9004
|
}
|
|
8988
|
-
},
|
|
9005
|
+
}, ws = class {
|
|
8989
9006
|
channel;
|
|
8990
9007
|
options;
|
|
8991
9008
|
elector;
|
|
@@ -8995,9 +9012,9 @@ var Ps = class {
|
|
|
8995
9012
|
isLastActive = !1;
|
|
8996
9013
|
constructor(e) {
|
|
8997
9014
|
let { channelName: r } = e;
|
|
8998
|
-
if (this.options = e, this.channel = new
|
|
9015
|
+
if (this.options = e, this.channel = new Rs(r), this.registry.set(this.token, 1), e.leaderElection) {
|
|
8999
9016
|
let t = { fallbackInterval: 2e3, responseTime: 100 };
|
|
9000
|
-
this.elector = new
|
|
9017
|
+
this.elector = new Fs(this.channel, t), this.elector.waitForLeadership();
|
|
9001
9018
|
}
|
|
9002
9019
|
this.channel.addEventListener("message", (t) => {
|
|
9003
9020
|
let { action: n, token: p, data: g } = t.data;
|
|
@@ -9087,8 +9104,8 @@ var Ps = class {
|
|
|
9087
9104
|
close() {
|
|
9088
9105
|
this.options.leaderElection && this.elector.close(), this.send(4), this.channel.close();
|
|
9089
9106
|
}
|
|
9090
|
-
},
|
|
9091
|
-
function
|
|
9107
|
+
}, As = pa ? document : null, Os = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
|
|
9108
|
+
function Bs(e, r) {
|
|
9092
9109
|
let t;
|
|
9093
9110
|
function n(...p) {
|
|
9094
9111
|
t && clearTimeout(t), t = setTimeout(() => {
|
|
@@ -9107,101 +9124,101 @@ function it(e, r) {
|
|
|
9107
9124
|
};
|
|
9108
9125
|
}
|
|
9109
9126
|
var Te = () => Date.now(), wa = 2147483647;
|
|
9110
|
-
function
|
|
9127
|
+
function Hs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle: t = 0, element: n = As, events: p = Os, timers: g = void 0, immediateEvents: b = [], onPresenceChange: f = () => {
|
|
9111
9128
|
}, onPrompt: l = () => {
|
|
9112
9129
|
}, onIdle: a = () => {
|
|
9113
9130
|
}, onActive: i = () => {
|
|
9114
9131
|
}, onAction: s = () => {
|
|
9115
9132
|
}, onMessage: o = () => {
|
|
9116
|
-
}, debounce: u = 0, throttle: m = 0, eventsThrottle: c = 200, startOnMount: d = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: U = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: x = !1, disabled:
|
|
9117
|
-
let
|
|
9133
|
+
}, debounce: u = 0, throttle: m = 0, eventsThrottle: c = 200, startOnMount: d = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: U = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: x = !1, disabled: E = !1 } = {}) {
|
|
9134
|
+
let M = X(Te()), B = X(Te()), k = X(null), T = X(null), P = X(0), A = X(0), S = X(0), D = X(0), N = X(!1), F = X(!1), O = X(!1), H = X(!0), W = X(!1), G = X(null), L = X(null), w = X(e), R = X(0);
|
|
9118
9135
|
pe(() => {
|
|
9119
9136
|
if (r && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), t && r) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
|
|
9120
9137
|
if (e >= wa) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${wa}.`);
|
|
9121
9138
|
if (r >= wa) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${wa}.`);
|
|
9122
9139
|
if (t >= wa) throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${wa}.`);
|
|
9123
9140
|
if (t >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
|
|
9124
|
-
if (t ? (w.current = e - t,
|
|
9125
|
-
if (y ||
|
|
9126
|
-
|
|
9141
|
+
if (t ? (w.current = e - t, R.current = t) : (w.current = e, R.current = r), !H.current) {
|
|
9142
|
+
if (y || E) return;
|
|
9143
|
+
N.current && (le.current(null, Se), L.current && L.current.active()), Ke();
|
|
9127
9144
|
}
|
|
9128
|
-
}, [e, r, t, y,
|
|
9129
|
-
let K =
|
|
9145
|
+
}, [e, r, t, y, E]);
|
|
9146
|
+
let K = X(_);
|
|
9130
9147
|
pe(() => {
|
|
9131
9148
|
K.current = _;
|
|
9132
9149
|
}, [_]);
|
|
9133
|
-
let q =
|
|
9150
|
+
let q = X(b), Q = X(n), J = X([...(/* @__PURE__ */ new Set([...p, ...b])).values()]), ee = X(E);
|
|
9134
9151
|
pe(() => {
|
|
9135
|
-
|
|
9136
|
-
}, [
|
|
9137
|
-
let ie =
|
|
9152
|
+
ee.current = E, !H.current && (E ? Ie() : y || Ke());
|
|
9153
|
+
}, [E]);
|
|
9154
|
+
let ie = X(f);
|
|
9138
9155
|
pe(() => {
|
|
9139
9156
|
ie.current = f;
|
|
9140
9157
|
}, [f]);
|
|
9141
|
-
let _e =
|
|
9158
|
+
let _e = X(l);
|
|
9142
9159
|
pe(() => {
|
|
9143
9160
|
_e.current = l;
|
|
9144
9161
|
}, [l]);
|
|
9145
|
-
let ye =
|
|
9162
|
+
let ye = X(a);
|
|
9146
9163
|
pe(() => {
|
|
9147
9164
|
ye.current = a;
|
|
9148
9165
|
}, [a]);
|
|
9149
|
-
let le =
|
|
9166
|
+
let le = X(i);
|
|
9150
9167
|
pe(() => {
|
|
9151
9168
|
le.current = i;
|
|
9152
9169
|
}, [i]);
|
|
9153
|
-
let ce =
|
|
9170
|
+
let ce = X(s);
|
|
9154
9171
|
pe(() => {
|
|
9155
9172
|
ce.current = s;
|
|
9156
9173
|
}, [s]);
|
|
9157
|
-
let ke =
|
|
9174
|
+
let ke = X(o);
|
|
9158
9175
|
pe(() => {
|
|
9159
9176
|
ke.current = o;
|
|
9160
9177
|
}, [o]);
|
|
9161
9178
|
let Ue = Oa(() => {
|
|
9162
9179
|
let V = (De, ta) => ce.current(De, ta);
|
|
9163
|
-
return u > 0 ?
|
|
9164
|
-
}, [m, u]), ze =
|
|
9180
|
+
return u > 0 ? Bs(V, u) : m > 0 ? it(V, m) : V;
|
|
9181
|
+
}, [m, u]), ze = X();
|
|
9165
9182
|
pe(() => {
|
|
9166
9183
|
U && v && (ze.current = it(() => {
|
|
9167
|
-
|
|
9184
|
+
L.current.active();
|
|
9168
9185
|
}, v));
|
|
9169
9186
|
}, [U, v]);
|
|
9170
9187
|
let Ce = () => {
|
|
9171
|
-
|
|
9188
|
+
G.current !== null && ($e.clearTimeout(G.current), G.current = null);
|
|
9172
9189
|
}, Ge = (V, De = !0) => {
|
|
9173
|
-
Ce(),
|
|
9190
|
+
Ce(), G.current = $e.setTimeout(Oe, V || w.current), De && (T.current = Te());
|
|
9174
9191
|
}, ea = (V) => {
|
|
9175
|
-
!
|
|
9192
|
+
!F.current && !N.current && (_e.current(V, Se), ie.current({ type: "active", prompted: !0 }, Se)), D.current = 0, S.current = Te(), F.current = !0, Ge(R.current, !1);
|
|
9176
9193
|
}, Me = () => {
|
|
9177
|
-
Ce(),
|
|
9194
|
+
Ce(), N.current || (ye.current(null, Se), ie.current({ type: "idle" }, Se)), N.current = !0, k.current = Te(), K.current ? Re() : F.current && (S.current = 0, F.current = !1);
|
|
9178
9195
|
}, ve = (V) => {
|
|
9179
|
-
Ce(), (
|
|
9196
|
+
Ce(), (N.current || F.current) && (le.current(V, Se), ie.current({ type: "active", prompted: !1 }, Se)), F.current = !1, S.current = 0, N.current = !1, P.current += Te() - k.current, A.current += Te() - k.current, xe(), Ge();
|
|
9180
9197
|
}, Oe = (V) => {
|
|
9181
|
-
if (!
|
|
9198
|
+
if (!N.current) {
|
|
9182
9199
|
Ue.cancel && Ue.cancel();
|
|
9183
9200
|
let De = Te() - T.current;
|
|
9184
|
-
if (!(w.current +
|
|
9185
|
-
|
|
9201
|
+
if (!(w.current + R.current < De) && R.current > 0 && !F.current) {
|
|
9202
|
+
L.current ? L.current.prompt() : ea(V);
|
|
9186
9203
|
return;
|
|
9187
9204
|
}
|
|
9188
|
-
|
|
9205
|
+
L.current ? L.current.idle() : Me();
|
|
9189
9206
|
return;
|
|
9190
9207
|
}
|
|
9191
|
-
|
|
9208
|
+
L.current ? L.current.active() : ve(V);
|
|
9192
9209
|
}, aa = (V) => {
|
|
9193
|
-
if (!d && !T.current && (T.current = Te(), le.current(null, Se)), Ue(V, Se),
|
|
9194
|
-
if (Ce(), !
|
|
9210
|
+
if (!d && !T.current && (T.current = Te(), le.current(null, Se)), Ue(V, Se), F.current) return;
|
|
9211
|
+
if (Ce(), !N.current && q.current.includes(V.type)) {
|
|
9195
9212
|
Oe(V);
|
|
9196
9213
|
return;
|
|
9197
9214
|
}
|
|
9198
9215
|
let De = Te() - T.current;
|
|
9199
|
-
if (
|
|
9216
|
+
if (N.current && !_ || !N.current && De >= w.current) {
|
|
9200
9217
|
Oe(V);
|
|
9201
9218
|
return;
|
|
9202
9219
|
}
|
|
9203
|
-
O.current = !1, D.current = 0,
|
|
9204
|
-
}, ia =
|
|
9220
|
+
O.current = !1, D.current = 0, S.current = 0, Ge(), U && v && ze.current();
|
|
9221
|
+
}, ia = X(aa);
|
|
9205
9222
|
pe(() => {
|
|
9206
9223
|
let V = W.current;
|
|
9207
9224
|
V && Re(), c > 0 ? ia.current = it(aa, c) : ia.current = aa, V && xe();
|
|
@@ -9214,28 +9231,28 @@ function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9214
9231
|
pa && Q.current && (W.current || V) && (J.current.forEach((De) => {
|
|
9215
9232
|
Q.current.removeEventListener(De, ia.current, { capture: !0 });
|
|
9216
9233
|
}), W.current = !1);
|
|
9217
|
-
}, Ke = I((V) =>
|
|
9234
|
+
}, Ke = I((V) => ee.current ? !1 : (Ce(), xe(), N.current = !1, F.current = !1, O.current = !1, D.current = 0, S.current = 0, L.current && !V && L.current.start(), Ge(), !0), [G, N, ee, w, L]), oa = I((V) => ee.current ? !1 : (Ce(), xe(), B.current = Te(), P.current += Te() - k.current, A.current += Te() - k.current, P.current = 0, N.current = !1, F.current = !1, O.current = !1, D.current = 0, S.current = 0, L.current && !V && L.current.reset(), y || Ge(), !0), [G, N, w, y, ee, L]), ga = I((V) => ee.current ? !1 : (Ce(), xe(), (N.current || F.current) && ve(), N.current = !1, F.current = !1, O.current = !1, D.current = 0, S.current = 0, B.current = Te(), L.current && !V && L.current.activate(), Ge(), !0), [G, N, F, ee, w, L]), Ie = I((V = !1) => ee.current || O.current ? !1 : (D.current = Ua(), O.current = !0, Re(), Ce(), L.current && !V && L.current.pause(), !0), [G, ee, L]), qe = I((V = !1) => ee.current || !O.current ? !1 : (O.current = !1, F.current || xe(), N.current || Ge(D.current), S.current && (S.current = Te()), L.current && !V && L.current.resume(), !0), [G, w, ee, D, L]), Wa = I((V, De) => (L.current ? (De && ke.current(V, Se), L.current.message(V)) : De && ke.current(V, Se), !0), [o]), Ea = I(() => N.current, [N]), Na = I(() => F.current, [F]), za = I(() => L.current ? L.current.isLeader : null, [L]), Ia = I(() => L.current ? L.current.isLastActive : null, [L]), da = I(() => L.current ? L.current.token : null, [L]), Ua = I(() => {
|
|
9218
9235
|
if (O.current) return D.current;
|
|
9219
|
-
let V = D.current ? D.current :
|
|
9236
|
+
let V = D.current ? D.current : R.current + w.current, De = T.current ? Te() - T.current : 0, ta = Math.floor(V - De);
|
|
9220
9237
|
return ta < 0 ? 0 : Math.abs(ta);
|
|
9221
|
-
}, [w,
|
|
9238
|
+
}, [w, R, F, D, T]), Ze = I(() => Math.round(Te() - B.current), [B]), ca = I(() => Math.round(Te() - M.current), [M]), fa = I(() => k.current ? new Date(k.current) : null, [k]), La = I(() => T.current ? new Date(T.current) : null, [T]), Ga = I(() => N.current ? Math.round(Te() - k.current + P.current) : Math.round(P.current), [k, P]), ba = I(() => N.current ? Math.round(Te() - k.current + A.current) : Math.round(A.current), [k, A]), Ma = I(() => {
|
|
9222
9239
|
let V = Math.round(Ze() - Ga());
|
|
9223
9240
|
return V >= 0 ? V : 0;
|
|
9224
|
-
}, [k,
|
|
9241
|
+
}, [k, P]), Ra = I(() => {
|
|
9225
9242
|
let V = Math.round(ca() - ba());
|
|
9226
9243
|
return V >= 0 ? V : 0;
|
|
9227
|
-
}, [k,
|
|
9244
|
+
}, [k, P]);
|
|
9228
9245
|
pe(() => {
|
|
9229
9246
|
if (u > 0 && m > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
|
|
9230
|
-
g &&
|
|
9247
|
+
g && Gs(g);
|
|
9231
9248
|
let V = () => {
|
|
9232
|
-
|
|
9249
|
+
L.current && L.current.close(), Ue.cancel && Ue.cancel(), Ce(), Re(!0);
|
|
9233
9250
|
};
|
|
9234
9251
|
return pa && window.addEventListener("beforeunload", V), () => {
|
|
9235
|
-
pa && window.removeEventListener("beforeunload", V),
|
|
9252
|
+
pa && window.removeEventListener("beforeunload", V), L.current && L.current.close(), Ue.cancel && Ue.cancel(), Ce(), Re(!0);
|
|
9236
9253
|
};
|
|
9237
9254
|
}, []), pe(() => {
|
|
9238
|
-
|
|
9255
|
+
L.current && L.current.close(), U ? L.current = new ws({ channelName: C, leaderElection: x, onPrompt: () => {
|
|
9239
9256
|
ea();
|
|
9240
9257
|
}, onIdle: () => {
|
|
9241
9258
|
Me();
|
|
@@ -9243,16 +9260,16 @@ function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9243
9260
|
ve();
|
|
9244
9261
|
}, onMessage: (V) => {
|
|
9245
9262
|
ke.current(V, Se);
|
|
9246
|
-
}, start: Ke, reset: oa, activate: ga, pause: Ie, resume: qe }) :
|
|
9263
|
+
}, start: Ke, reset: oa, activate: ga, pause: Ie, resume: qe }) : L.current = null;
|
|
9247
9264
|
}, [U, C, x, _e, ye, le, ke, Ke, oa, Ie, qe]), pe(() => {
|
|
9248
|
-
H.current || (Ce(), Re(!0)), !(y ||
|
|
9249
|
-
}, [y, d,
|
|
9265
|
+
H.current || (Ce(), Re(!0)), !(y || E) && (d ? Ke() : xe());
|
|
9266
|
+
}, [y, d, E, H]), pe(() => {
|
|
9250
9267
|
if (!H.current) {
|
|
9251
9268
|
let V = [...(/* @__PURE__ */ new Set([...p, ...b])).values()];
|
|
9252
|
-
if (Re(), J.current = V, Q.current = n, q.current = b, y ||
|
|
9269
|
+
if (Re(), J.current = V, Q.current = n, q.current = b, y || E) return;
|
|
9253
9270
|
d ? Ke() : xe();
|
|
9254
9271
|
}
|
|
9255
|
-
}, [n, JSON.stringify(p), JSON.stringify(b), H,
|
|
9272
|
+
}, [n, JSON.stringify(p), JSON.stringify(b), H, E, y, d]), pe(() => {
|
|
9256
9273
|
H.current && (H.current = !1);
|
|
9257
9274
|
}, [H]);
|
|
9258
9275
|
let Se = { message: Wa, start: Ke, reset: oa, activate: ga, pause: Ie, resume: qe, isIdle: Ea, isPrompted: Na, isLeader: za, isLastActiveTab: Ia, getTabId: da, getRemainingTime: Ua, getElapsedTime: Ze, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: La, getIdleTime: Ga, getTotalIdleTime: ba, getActiveTime: Ma, getTotalActiveTime: Ra, setOnPresenceChange: (V) => {
|
|
@@ -9270,9 +9287,9 @@ function Bs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9270
9287
|
} };
|
|
9271
9288
|
return Se;
|
|
9272
9289
|
}
|
|
9273
|
-
var
|
|
9274
|
-
|
|
9275
|
-
const
|
|
9290
|
+
var Ws = zi(null);
|
|
9291
|
+
Ws.Consumer;
|
|
9292
|
+
const jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Hs({
|
|
9276
9293
|
onIdle: e,
|
|
9277
9294
|
onActive: r,
|
|
9278
9295
|
onAction: t,
|
|
@@ -9297,8 +9314,8 @@ const Qm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
|
|
|
9297
9314
|
default:
|
|
9298
9315
|
return "En";
|
|
9299
9316
|
}
|
|
9300
|
-
}, Fn = "game-icon-ds88",
|
|
9301
|
-
const { lng: r } =
|
|
9317
|
+
}, Fn = "game-icon-ds88", Ym = ({ gameData: e = {} } = {}) => {
|
|
9318
|
+
const { lng: r } = se(), t = Pn(r), {
|
|
9302
9319
|
gameCode: n,
|
|
9303
9320
|
// 遊戲代碼
|
|
9304
9321
|
gameUid: p,
|
|
@@ -9336,7 +9353,7 @@ const Qm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
|
|
|
9336
9353
|
// 越南名稱
|
|
9337
9354
|
gameNameTw: C
|
|
9338
9355
|
// 繁體中文名稱
|
|
9339
|
-
} = e, v = e?.[`gameName${Pn(t)}`], x = `${Et}/${Fn}/en/${a}/${Tt(n, / /g, "_")}.webp`,
|
|
9356
|
+
} = e, v = e?.[`gameName${Pn(t)}`], x = `${Et}/${Fn}/en/${a}/${Tt(n, / /g, "_")}.webp`, E = `${Et}/${Fn}/en/${a}/${Tt(n, / /g, "_")}.gif`;
|
|
9340
9357
|
return {
|
|
9341
9358
|
gameCode: n,
|
|
9342
9359
|
gameUid: p,
|
|
@@ -9358,9 +9375,9 @@ const Qm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
|
|
|
9358
9375
|
gameNameTw: C,
|
|
9359
9376
|
gameName: v,
|
|
9360
9377
|
gameImageUrl: x,
|
|
9361
|
-
gameImageUrlAnimated:
|
|
9378
|
+
gameImageUrlAnimated: E
|
|
9362
9379
|
};
|
|
9363
|
-
},
|
|
9380
|
+
}, zs = (e, r = !1) => Wl([
|
|
9364
9381
|
"EVO",
|
|
9365
9382
|
"IMSPRIBE",
|
|
9366
9383
|
"SABA",
|
|
@@ -9371,7 +9388,7 @@ const Qm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
|
|
|
9371
9388
|
"HACK",
|
|
9372
9389
|
"NAGA",
|
|
9373
9390
|
"RSG"
|
|
9374
|
-
], e) && r ? `${e}_dark` : e,
|
|
9391
|
+
], e) && r ? `${e}_dark` : e, Xm = ({ platformData: e, darkMode: r } = {}) => {
|
|
9375
9392
|
const {
|
|
9376
9393
|
SubPlatformEnum: t,
|
|
9377
9394
|
// 子平台枚舉
|
|
@@ -9393,7 +9410,7 @@ const Qm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
|
|
|
9393
9410
|
// 臨時維護開始時間
|
|
9394
9411
|
temp_maintenance_end_time: s
|
|
9395
9412
|
// 臨時維護結束時間
|
|
9396
|
-
} = e || {}, o = `${je}/${Kn}/${
|
|
9413
|
+
} = e || {}, o = `${je}/${Kn}/${zs(n, r)}.png`;
|
|
9397
9414
|
return {
|
|
9398
9415
|
subPlatformEnum: t,
|
|
9399
9416
|
platformEnum: n,
|
|
@@ -9407,12 +9424,12 @@ const Qm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
|
|
|
9407
9424
|
tempMaintenanceEndTime: s,
|
|
9408
9425
|
platformImageUrl: o
|
|
9409
9426
|
};
|
|
9410
|
-
},
|
|
9427
|
+
}, Is = (e = {}) => !Ii(e) || Ee(e) ? [] : Vi(e), wn = (e = []) => !la(e) || Ee(e) ? [] : We(e, "platform"), Vs = (e = []) => !la(e) || Ee(e) ? [] : We(e, "gameTypeName"), Zs = (e = []) => !la(e) || Ee(e) ? [] : We(e, "game_subtype"), Js = (e = {}) => !Ii(e) || Ee(e) ? [] : Vi(e), Ks = (e = [], r = []) => !la(e) || Ee(e) ? {} : !la(r) || Ee(r) ? {} : e.reduce((t, n) => {
|
|
9411
9428
|
const p = r.map((g) => g.game_subtype);
|
|
9412
9429
|
return p.forEach((g) => {
|
|
9413
9430
|
t[g] = t[g] || [];
|
|
9414
9431
|
}), p.includes(n.game_subtype) && t[n.game_subtype].push(n), t;
|
|
9415
|
-
}, {}),
|
|
9432
|
+
}, {}), qs = ({
|
|
9416
9433
|
gameTypes: e = [],
|
|
9417
9434
|
platforms: r = [],
|
|
9418
9435
|
gameList: t = {},
|
|
@@ -9427,7 +9444,7 @@ const Qm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
|
|
|
9427
9444
|
allPlatforms: p
|
|
9428
9445
|
});
|
|
9429
9446
|
return Ee(f) || (g[b] = f), g;
|
|
9430
|
-
}, {}),
|
|
9447
|
+
}, {}), eu = ({
|
|
9431
9448
|
types: e = [],
|
|
9432
9449
|
platforms: r = [],
|
|
9433
9450
|
allGameType: t = [],
|
|
@@ -9445,9 +9462,9 @@ const Qm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
|
|
|
9445
9462
|
return Ee(o) ? i : { ...i, [s]: o };
|
|
9446
9463
|
}, {});
|
|
9447
9464
|
return Ee(a) || (g[b] = a), g;
|
|
9448
|
-
}, {}),
|
|
9465
|
+
}, {}), $s = (e = {}) => !Ii(e) || Ee(e) ? {} : Object.values(e).reduce((t, n) => (Object.entries(n).forEach(([p, g]) => {
|
|
9449
9466
|
t[p] ? t[p] = [...t[p], ...g] : t[p] = g;
|
|
9450
|
-
}), t), {}),
|
|
9467
|
+
}), t), {}), Qs = (e = {}) => {
|
|
9451
9468
|
if (!Ii(e) || Ee(e)) return {};
|
|
9452
9469
|
const r = {};
|
|
9453
9470
|
for (const [t, n] of Object.entries(e)) {
|
|
@@ -9458,7 +9475,7 @@ const Qm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
|
|
|
9458
9475
|
}
|
|
9459
9476
|
}
|
|
9460
9477
|
return r;
|
|
9461
|
-
},
|
|
9478
|
+
}, js = ({
|
|
9462
9479
|
allGameList: e = {},
|
|
9463
9480
|
allGamePlatform: r = [],
|
|
9464
9481
|
allGameType: t = [],
|
|
@@ -9471,34 +9488,34 @@ const Qm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
|
|
|
9471
9488
|
highlightGames: a = [],
|
|
9472
9489
|
originPlatform: i = []
|
|
9473
9490
|
}) => {
|
|
9474
|
-
const s =
|
|
9491
|
+
const s = Is(e), o = wn(r), u = Vs(t), m = Zs(n), c = wn(i), d = Js(f), y = qs({
|
|
9475
9492
|
gameTypes: u,
|
|
9476
9493
|
platforms: o,
|
|
9477
9494
|
gameList: e,
|
|
9478
9495
|
allGameTypes: t,
|
|
9479
9496
|
allPlatforms: r
|
|
9480
|
-
}), _ = We(r, (
|
|
9481
|
-
const B = `${je}/${Kn}/${
|
|
9497
|
+
}), _ = We(r, (M) => {
|
|
9498
|
+
const B = `${je}/${Kn}/${M.platformEnum}.png`;
|
|
9482
9499
|
return {
|
|
9483
|
-
...
|
|
9500
|
+
...M,
|
|
9484
9501
|
platformImageUrl: B
|
|
9485
9502
|
};
|
|
9486
|
-
}), U =
|
|
9487
|
-
(
|
|
9503
|
+
}), U = Ks(s, n), C = $s(y), v = Qs(C), x = Wn(y).reduce(
|
|
9504
|
+
(M, [B, k]) => {
|
|
9488
9505
|
const T = Vi(zl(k));
|
|
9489
|
-
return
|
|
9506
|
+
return M[B] = T, M;
|
|
9490
9507
|
},
|
|
9491
9508
|
{}
|
|
9492
|
-
),
|
|
9509
|
+
), E = kt(y).reduce((M, B) => {
|
|
9493
9510
|
const k = kt(y[B]);
|
|
9494
|
-
return
|
|
9511
|
+
return M[B] = k, M;
|
|
9495
9512
|
}, {});
|
|
9496
9513
|
return {
|
|
9497
9514
|
platform: {
|
|
9498
9515
|
all: o,
|
|
9499
9516
|
origin: c,
|
|
9500
9517
|
originPlatform: _,
|
|
9501
|
-
byGameType:
|
|
9518
|
+
byGameType: E
|
|
9502
9519
|
},
|
|
9503
9520
|
type: {
|
|
9504
9521
|
main: u,
|
|
@@ -9526,12 +9543,12 @@ const Qm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
|
|
|
9526
9543
|
favorite: d
|
|
9527
9544
|
}
|
|
9528
9545
|
};
|
|
9529
|
-
},
|
|
9546
|
+
}, au = (e = []) => !la(e) || Ee(e) ? [] : Vi(e, (r) => Ee(r.SubPlatformEnum) ? r : r.SubPlatformEnum.map((t) => ({
|
|
9530
9547
|
...r,
|
|
9531
9548
|
...t,
|
|
9532
9549
|
platform: t.SubPlatformEnum,
|
|
9533
9550
|
platformEnum: t.SubPlatformEnum
|
|
9534
|
-
}))),
|
|
9551
|
+
}))), Ys = {
|
|
9535
9552
|
platform: { all: [], origin: [], originPlatform: [], byGameType: {} },
|
|
9536
9553
|
type: { main: [], sub: [], originMain: [], originSub: [] },
|
|
9537
9554
|
gameList: {
|
|
@@ -9551,8 +9568,8 @@ const Qm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
|
|
|
9551
9568
|
byGameType: {}
|
|
9552
9569
|
},
|
|
9553
9570
|
user: { favorite: [] }
|
|
9554
|
-
},
|
|
9555
|
-
const { getToken: r } =
|
|
9571
|
+
}, Xs = ({ enabled: e = !0 } = {}) => {
|
|
9572
|
+
const { getToken: r } = se(), { userFavoriteGameApi: t, userGameListApi: n } = ue(), { data: p, isLoading: g, error: b, refetch: f } = ne({
|
|
9556
9573
|
queryKey: ["gamesInfo"],
|
|
9557
9574
|
queryFn: async () => {
|
|
9558
9575
|
let l = {}, a = {};
|
|
@@ -9561,7 +9578,7 @@ const Qm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
|
|
|
9561
9578
|
} catch (i) {
|
|
9562
9579
|
console.warn("Failed to fetch favorite games:", i);
|
|
9563
9580
|
}
|
|
9564
|
-
return
|
|
9581
|
+
return js({
|
|
9565
9582
|
allGameList: a.gameTypeGroup || window.gameTypeGroup || {},
|
|
9566
9583
|
allGamePlatform: a.platforms || window.platforms || [],
|
|
9567
9584
|
allGameType: a.gameType || window.gameType || [],
|
|
@@ -9584,12 +9601,12 @@ const Qm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
|
|
|
9584
9601
|
refetchOnWindowFocus: !1
|
|
9585
9602
|
});
|
|
9586
9603
|
return {
|
|
9587
|
-
gamesInfo: p ||
|
|
9604
|
+
gamesInfo: p || Ys,
|
|
9588
9605
|
isLoading: g,
|
|
9589
9606
|
error: b,
|
|
9590
9607
|
refetch: f
|
|
9591
9608
|
};
|
|
9592
|
-
},
|
|
9609
|
+
}, em = (e = !1) => {
|
|
9593
9610
|
if (!e && window.gameTypeGroup) {
|
|
9594
9611
|
console.log("window.gameTypeGroup 已存在,跳過初始化 mock 資料");
|
|
9595
9612
|
return;
|
|
@@ -36116,18 +36133,18 @@ const Qm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Bs({
|
|
|
36116
36133
|
is_invalid_bet: 0
|
|
36117
36134
|
}
|
|
36118
36135
|
});
|
|
36119
|
-
},
|
|
36136
|
+
}, am = ({
|
|
36120
36137
|
children: e,
|
|
36121
36138
|
autoFetch: r = !1,
|
|
36122
36139
|
mockData: t = !1
|
|
36123
36140
|
}) => {
|
|
36124
36141
|
pe(() => {
|
|
36125
|
-
t &&
|
|
36142
|
+
t && em(!0);
|
|
36126
36143
|
}, [t]);
|
|
36127
|
-
const n =
|
|
36144
|
+
const n = Xs({ enabled: r });
|
|
36128
36145
|
return /* @__PURE__ */ we.jsx(qn.Provider, { value: n, children: e });
|
|
36129
36146
|
};
|
|
36130
|
-
function
|
|
36147
|
+
function iu({
|
|
36131
36148
|
children: e,
|
|
36132
36149
|
autoFetchGamesInfo: r = !1,
|
|
36133
36150
|
useMockData: t = !1,
|
|
@@ -36149,7 +36166,7 @@ function au({
|
|
|
36149
36166
|
[]
|
|
36150
36167
|
), l = n || f;
|
|
36151
36168
|
return /* @__PURE__ */ we.jsx(Ol, { client: l, children: /* @__PURE__ */ we.jsx(zn.Provider, { value: { client: g, formDataClient: b, ...p }, children: /* @__PURE__ */ we.jsx(ql, { children: /* @__PURE__ */ we.jsx(
|
|
36152
|
-
|
|
36169
|
+
am,
|
|
36153
36170
|
{
|
|
36154
36171
|
autoFetch: r,
|
|
36155
36172
|
mockData: t,
|
|
@@ -36157,9 +36174,9 @@ function au({
|
|
|
36157
36174
|
}
|
|
36158
36175
|
) }) }) });
|
|
36159
36176
|
}
|
|
36160
|
-
const
|
|
36177
|
+
const tu = ({ onFunction: e = () => {
|
|
36161
36178
|
}, buttonProps: r = {} } = {}) => {
|
|
36162
|
-
const { lineConfig: t } =
|
|
36179
|
+
const { lineConfig: t } = se(), n = X(!1), p = ge(t, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), f = g.get("trans_code"), l = g.get("line_id"), a = g.get("line_name"), i = g.get("invite_code"), { mutate: s, isPending: o } = tl({
|
|
36163
36180
|
options: {
|
|
36164
36181
|
onSuccess: (m) => {
|
|
36165
36182
|
e(m);
|
|
@@ -36197,7 +36214,7 @@ const iu = ({ onFunction: e = () => {
|
|
|
36197
36214
|
}
|
|
36198
36215
|
) : null;
|
|
36199
36216
|
};
|
|
36200
|
-
var
|
|
36217
|
+
var im = Object.defineProperty, Wi = Object.getOwnPropertySymbols, hl = Object.prototype.hasOwnProperty, Tl = Object.prototype.propertyIsEnumerable, An = (e, r, t) => r in e ? im(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, st = (e, r) => {
|
|
36201
36218
|
for (var t in r || (r = {}))
|
|
36202
36219
|
hl.call(r, t) && An(e, t, r[t]);
|
|
36203
36220
|
if (Wi)
|
|
@@ -36749,12 +36766,12 @@ var xa;
|
|
|
36749
36766
|
})(e.QrSegment || (e.QrSegment = {}));
|
|
36750
36767
|
})(xa || (xa = {}));
|
|
36751
36768
|
var Aa = xa;
|
|
36752
|
-
var
|
|
36769
|
+
var tm = {
|
|
36753
36770
|
L: Aa.QrCode.Ecc.LOW,
|
|
36754
36771
|
M: Aa.QrCode.Ecc.MEDIUM,
|
|
36755
36772
|
Q: Aa.QrCode.Ecc.QUARTILE,
|
|
36756
36773
|
H: Aa.QrCode.Ecc.HIGH
|
|
36757
|
-
}, kl = 128, xl = "L", Sl = "#FFFFFF", Dl = "#000000", El = !1, Nl = 1,
|
|
36774
|
+
}, kl = 128, xl = "L", Sl = "#FFFFFF", Dl = "#000000", El = !1, Nl = 1, nm = 4, lm = 0, rm = 0.1;
|
|
36758
36775
|
function Ll(e, r = 0) {
|
|
36759
36776
|
const t = [];
|
|
36760
36777
|
return e.forEach(function(n, p) {
|
|
@@ -36781,10 +36798,10 @@ function Ll(e, r = 0) {
|
|
|
36781
36798
|
function Gl(e, r) {
|
|
36782
36799
|
return e.slice().map((t, n) => n < r.y || n >= r.y + r.h ? t : t.map((p, g) => g < r.x || g >= r.x + r.w ? p : !1));
|
|
36783
36800
|
}
|
|
36784
|
-
function
|
|
36801
|
+
function om(e, r, t, n) {
|
|
36785
36802
|
if (n == null)
|
|
36786
36803
|
return null;
|
|
36787
|
-
const p = e.length + t * 2, g = Math.floor(r *
|
|
36804
|
+
const p = e.length + t * 2, g = Math.floor(r * rm), b = p / r, f = (n.width || g) * b, l = (n.height || g) * b, a = n.x == null ? e.length / 2 - f / 2 : n.x * b, i = n.y == null ? e.length / 2 - l / 2 : n.y * b, s = n.opacity == null ? 1 : n.opacity;
|
|
36788
36805
|
let o = null;
|
|
36789
36806
|
if (n.excavate) {
|
|
36790
36807
|
let m = Math.floor(a), c = Math.floor(i), d = Math.ceil(f + a - m), y = Math.ceil(l + i - c);
|
|
@@ -36793,8 +36810,8 @@ function rm(e, r, t, n) {
|
|
|
36793
36810
|
const u = n.crossOrigin;
|
|
36794
36811
|
return { x: a, y: i, h: l, w: f, excavation: o, opacity: s, crossOrigin: u };
|
|
36795
36812
|
}
|
|
36796
|
-
function
|
|
36797
|
-
return r != null ? Math.max(Math.floor(r), 0) : e ?
|
|
36813
|
+
function sm(e, r) {
|
|
36814
|
+
return r != null ? Math.max(Math.floor(r), 0) : e ? nm : lm;
|
|
36798
36815
|
}
|
|
36799
36816
|
function Ml({
|
|
36800
36817
|
value: e,
|
|
@@ -36810,7 +36827,7 @@ function Ml({
|
|
|
36810
36827
|
const m = (Array.isArray(e) ? e : [e]).reduce((c, d) => (c.push(...Aa.QrSegment.makeSegments(d)), c), []);
|
|
36811
36828
|
return Aa.QrCode.encodeSegments(
|
|
36812
36829
|
m,
|
|
36813
|
-
|
|
36830
|
+
tm[r],
|
|
36814
36831
|
t,
|
|
36815
36832
|
void 0,
|
|
36816
36833
|
void 0,
|
|
@@ -36819,7 +36836,7 @@ function Ml({
|
|
|
36819
36836
|
}, [e, r, t, f]);
|
|
36820
36837
|
const { cells: a, margin: i, numCells: s, calculatedImageSettings: o } = de.useMemo(() => {
|
|
36821
36838
|
let u = l.getModules();
|
|
36822
|
-
const m =
|
|
36839
|
+
const m = sm(n, p), c = u.length + m * 2, d = om(
|
|
36823
36840
|
u,
|
|
36824
36841
|
b,
|
|
36825
36842
|
m,
|
|
@@ -36840,14 +36857,14 @@ function Ml({
|
|
|
36840
36857
|
calculatedImageSettings: o
|
|
36841
36858
|
};
|
|
36842
36859
|
}
|
|
36843
|
-
var
|
|
36860
|
+
var mm = (function() {
|
|
36844
36861
|
try {
|
|
36845
36862
|
new Path2D().addPath(new Path2D());
|
|
36846
36863
|
} catch {
|
|
36847
36864
|
return !1;
|
|
36848
36865
|
}
|
|
36849
36866
|
return !0;
|
|
36850
|
-
})(),
|
|
36867
|
+
})(), um = de.forwardRef(
|
|
36851
36868
|
function(r, t) {
|
|
36852
36869
|
const n = r, {
|
|
36853
36870
|
value: p,
|
|
@@ -36872,11 +36889,11 @@ var sm = (function() {
|
|
|
36872
36889
|
"marginSize",
|
|
36873
36890
|
"imageSettings"
|
|
36874
36891
|
]), { style: d } = c, y = mt(c, ["style"]), _ = u?.src, U = de.useRef(null), C = de.useRef(null), v = de.useCallback(
|
|
36875
|
-
(
|
|
36876
|
-
U.current =
|
|
36892
|
+
(S) => {
|
|
36893
|
+
U.current = S, typeof t == "function" ? t(S) : t && (t.current = S);
|
|
36877
36894
|
},
|
|
36878
36895
|
[t]
|
|
36879
|
-
), [x,
|
|
36896
|
+
), [x, E] = de.useState(!1), { margin: M, cells: B, numCells: k, calculatedImageSettings: T } = Ml({
|
|
36880
36897
|
value: p,
|
|
36881
36898
|
level: b,
|
|
36882
36899
|
minVersion: i,
|
|
@@ -36888,43 +36905,43 @@ var sm = (function() {
|
|
|
36888
36905
|
});
|
|
36889
36906
|
de.useEffect(() => {
|
|
36890
36907
|
if (U.current != null) {
|
|
36891
|
-
const
|
|
36908
|
+
const S = U.current, D = S.getContext("2d");
|
|
36892
36909
|
if (!D)
|
|
36893
36910
|
return;
|
|
36894
|
-
let
|
|
36895
|
-
const
|
|
36896
|
-
O && T.excavation != null && (
|
|
36911
|
+
let N = B;
|
|
36912
|
+
const F = C.current, O = T != null && F !== null && F.complete && F.naturalHeight !== 0 && F.naturalWidth !== 0;
|
|
36913
|
+
O && T.excavation != null && (N = Gl(
|
|
36897
36914
|
B,
|
|
36898
36915
|
T.excavation
|
|
36899
36916
|
));
|
|
36900
36917
|
const H = window.devicePixelRatio || 1;
|
|
36901
|
-
|
|
36918
|
+
S.height = S.width = g * H;
|
|
36902
36919
|
const W = g / k * H;
|
|
36903
|
-
D.scale(W, W), D.fillStyle = f, D.fillRect(0, 0, k, k), D.fillStyle = l,
|
|
36904
|
-
|
|
36905
|
-
w && D.fillRect(
|
|
36920
|
+
D.scale(W, W), D.fillStyle = f, D.fillRect(0, 0, k, k), D.fillStyle = l, mm ? D.fill(new Path2D(Ll(N, M))) : B.forEach(function(G, L) {
|
|
36921
|
+
G.forEach(function(w, R) {
|
|
36922
|
+
w && D.fillRect(R + M, L + M, 1, 1);
|
|
36906
36923
|
});
|
|
36907
36924
|
}), T && (D.globalAlpha = T.opacity), O && D.drawImage(
|
|
36908
|
-
|
|
36909
|
-
T.x +
|
|
36910
|
-
T.y +
|
|
36925
|
+
F,
|
|
36926
|
+
T.x + M,
|
|
36927
|
+
T.y + M,
|
|
36911
36928
|
T.w,
|
|
36912
36929
|
T.h
|
|
36913
36930
|
);
|
|
36914
36931
|
}
|
|
36915
36932
|
}), de.useEffect(() => {
|
|
36916
|
-
|
|
36933
|
+
E(!1);
|
|
36917
36934
|
}, [_]);
|
|
36918
|
-
const
|
|
36919
|
-
let
|
|
36920
|
-
return _ != null && (
|
|
36935
|
+
const P = st({ height: g, width: g }, d);
|
|
36936
|
+
let A = null;
|
|
36937
|
+
return _ != null && (A = /* @__PURE__ */ de.createElement(
|
|
36921
36938
|
"img",
|
|
36922
36939
|
{
|
|
36923
36940
|
src: _,
|
|
36924
36941
|
key: _,
|
|
36925
36942
|
style: { display: "none" },
|
|
36926
36943
|
onLoad: () => {
|
|
36927
|
-
|
|
36944
|
+
E(!0);
|
|
36928
36945
|
},
|
|
36929
36946
|
ref: C,
|
|
36930
36947
|
crossOrigin: T?.crossOrigin
|
|
@@ -36932,16 +36949,16 @@ var sm = (function() {
|
|
|
36932
36949
|
)), /* @__PURE__ */ de.createElement(de.Fragment, null, /* @__PURE__ */ de.createElement(
|
|
36933
36950
|
"canvas",
|
|
36934
36951
|
st({
|
|
36935
|
-
style:
|
|
36952
|
+
style: P,
|
|
36936
36953
|
height: g,
|
|
36937
36954
|
width: g,
|
|
36938
36955
|
ref: v,
|
|
36939
36956
|
role: "img"
|
|
36940
36957
|
}, y)
|
|
36941
|
-
),
|
|
36958
|
+
), A);
|
|
36942
36959
|
}
|
|
36943
36960
|
);
|
|
36944
|
-
|
|
36961
|
+
um.displayName = "QRCodeCanvas";
|
|
36945
36962
|
var Rl = de.forwardRef(
|
|
36946
36963
|
function(r, t) {
|
|
36947
36964
|
const n = r, {
|
|
@@ -37020,7 +37037,7 @@ var Rl = de.forwardRef(
|
|
|
37020
37037
|
}
|
|
37021
37038
|
);
|
|
37022
37039
|
Rl.displayName = "QRCodeSVG";
|
|
37023
|
-
const
|
|
37040
|
+
const pm = {
|
|
37024
37041
|
position: "fixed",
|
|
37025
37042
|
top: 0,
|
|
37026
37043
|
left: 0,
|
|
@@ -37033,7 +37050,7 @@ const um = {
|
|
|
37033
37050
|
justifyContent: "center",
|
|
37034
37051
|
zIndex: 1e4,
|
|
37035
37052
|
gap: "2em"
|
|
37036
|
-
},
|
|
37053
|
+
}, gm = {
|
|
37037
37054
|
position: "absolute",
|
|
37038
37055
|
top: "20px",
|
|
37039
37056
|
right: "20px",
|
|
@@ -37064,8 +37081,8 @@ const um = {
|
|
|
37064
37081
|
title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
|
|
37065
37082
|
expired: "Kode QR telah kedaluwarsa"
|
|
37066
37083
|
}
|
|
37067
|
-
},
|
|
37068
|
-
const { lng: n, getToken: p } =
|
|
37084
|
+
}, ru = ({ forcedShow: e = !1, isVisible: r, setIsVisible: t } = {}) => {
|
|
37085
|
+
const { lng: n, getToken: p } = se(), [g, b] = tt(300), [f, l] = tt(!1), a = X(null), i = Ye(n), s = p?.(), u = new URLSearchParams(window.location.search).get("mac") || lt.get("machine_mac_address") || "", { data: m, isFetching: c } = Ho({
|
|
37069
37086
|
formData: {
|
|
37070
37087
|
mac_address: u
|
|
37071
37088
|
},
|
|
@@ -37086,11 +37103,11 @@ const um = {
|
|
|
37086
37103
|
};
|
|
37087
37104
|
if (!e && (!u || s)) return null;
|
|
37088
37105
|
const _ = On[i] || On.en_US;
|
|
37089
|
-
return r && /* @__PURE__ */ we.jsxs("div", { style:
|
|
37106
|
+
return r && /* @__PURE__ */ we.jsxs("div", { style: pm, children: [
|
|
37090
37107
|
/* @__PURE__ */ we.jsx(
|
|
37091
37108
|
"div",
|
|
37092
37109
|
{
|
|
37093
|
-
style:
|
|
37110
|
+
style: gm,
|
|
37094
37111
|
onClick: () => t(!1),
|
|
37095
37112
|
role: "button",
|
|
37096
37113
|
"aria-label": "Close",
|
|
@@ -37129,111 +37146,134 @@ const um = {
|
|
|
37129
37146
|
)
|
|
37130
37147
|
] })
|
|
37131
37148
|
] });
|
|
37149
|
+
}, ou = () => {
|
|
37150
|
+
const {
|
|
37151
|
+
mutate: e,
|
|
37152
|
+
isPending: r,
|
|
37153
|
+
isSuccess: t,
|
|
37154
|
+
isError: n,
|
|
37155
|
+
error: p
|
|
37156
|
+
} = Wo(), g = X(!1);
|
|
37157
|
+
return pe(() => {
|
|
37158
|
+
if (g.current) return;
|
|
37159
|
+
const b = new URLSearchParams(window.location.search), f = b.get("bind_type"), l = b.get("bind_id");
|
|
37160
|
+
if (f && l)
|
|
37161
|
+
switch (g.current = !0, f) {
|
|
37162
|
+
case "line":
|
|
37163
|
+
e({ bindType: f, bindId: l });
|
|
37164
|
+
break;
|
|
37165
|
+
default:
|
|
37166
|
+
console.warn(`Unsupported bind type: ${f}`);
|
|
37167
|
+
break;
|
|
37168
|
+
}
|
|
37169
|
+
}, [e]), null;
|
|
37132
37170
|
};
|
|
37133
37171
|
export {
|
|
37134
37172
|
zn as ApiCtx,
|
|
37135
|
-
|
|
37173
|
+
iu as ApiProvider,
|
|
37174
|
+
ou as Bind,
|
|
37136
37175
|
qn as GamesInfoCtx,
|
|
37137
|
-
|
|
37138
|
-
|
|
37176
|
+
tu as LineLogin,
|
|
37177
|
+
ru as LineQrCode,
|
|
37139
37178
|
Ja as STATUS_TYPES,
|
|
37140
37179
|
In as StatusContext,
|
|
37141
37180
|
ql as StatusProvider,
|
|
37142
|
-
|
|
37143
|
-
|
|
37181
|
+
qs as buildMultiTypes,
|
|
37182
|
+
eu as buildMultiTypesWithSubTypes,
|
|
37144
37183
|
jl as buildSinglePlatformWithSubTypes,
|
|
37145
37184
|
Ql as buildSingleType,
|
|
37146
|
-
|
|
37185
|
+
Ks as categorizeGames,
|
|
37147
37186
|
Ye as convertLanguageCode,
|
|
37148
|
-
|
|
37149
|
-
|
|
37150
|
-
|
|
37187
|
+
bm as createLogoutHandler,
|
|
37188
|
+
Zs as extractGameSubTypeNames,
|
|
37189
|
+
Vs as extractGameTypeNames,
|
|
37151
37190
|
wn as extractPlatformNames,
|
|
37152
37191
|
Yn as filterGamesByPlatform,
|
|
37153
37192
|
$n as findGameTypeUid,
|
|
37154
37193
|
Qn as findPlatformUid,
|
|
37155
37194
|
jn as findSubPlatform,
|
|
37156
|
-
|
|
37157
|
-
|
|
37158
|
-
|
|
37159
|
-
|
|
37160
|
-
|
|
37195
|
+
Is as flattenAllGames,
|
|
37196
|
+
Js as flattenFavoriteGames,
|
|
37197
|
+
Cm as formatNumber,
|
|
37198
|
+
$s as groupGamesByPlatform,
|
|
37199
|
+
Qs as groupGamesByPlatformAndSubType,
|
|
37161
37200
|
$l as groupGamesBySubType,
|
|
37162
|
-
|
|
37163
|
-
|
|
37164
|
-
|
|
37165
|
-
|
|
37166
|
-
|
|
37167
|
-
|
|
37168
|
-
|
|
37169
|
-
|
|
37201
|
+
zs as handleDarkImage,
|
|
37202
|
+
em as initMockWindowData,
|
|
37203
|
+
js as processGameInfo,
|
|
37204
|
+
au as processPlatformData,
|
|
37205
|
+
Dm as useAbandonPoint,
|
|
37206
|
+
se as useApiContext,
|
|
37207
|
+
vm as useBalanceGetter,
|
|
37208
|
+
km as useBet,
|
|
37170
37209
|
co as useBetRecord,
|
|
37171
37210
|
fo as useBetRecordDetail,
|
|
37172
|
-
|
|
37173
|
-
Vo as
|
|
37174
|
-
|
|
37175
|
-
|
|
37176
|
-
|
|
37177
|
-
|
|
37178
|
-
|
|
37179
|
-
|
|
37180
|
-
$o as
|
|
37181
|
-
|
|
37182
|
-
|
|
37183
|
-
|
|
37184
|
-
|
|
37185
|
-
|
|
37186
|
-
|
|
37187
|
-
|
|
37188
|
-
|
|
37211
|
+
Wo as useBindAccount,
|
|
37212
|
+
Vo as useCheckCurrentEventProgress,
|
|
37213
|
+
Zo as useCheckEventStatus,
|
|
37214
|
+
Sm as useCheckPlayerWager,
|
|
37215
|
+
Rm as useClientWebSocket,
|
|
37216
|
+
cs as useCurrentRebate,
|
|
37217
|
+
jo as useDepositAction,
|
|
37218
|
+
Xo as useDepositTransaction,
|
|
37219
|
+
$o as useDepositV1,
|
|
37220
|
+
Qo as useDepositV2,
|
|
37221
|
+
Fm as useEvent,
|
|
37222
|
+
Io as useEventList,
|
|
37223
|
+
es as useEventTransaction,
|
|
37224
|
+
bs as useExpiredRewardsList,
|
|
37225
|
+
Ym as useGameConfig,
|
|
37226
|
+
Um as useGameInfoContext,
|
|
37227
|
+
Xs as useGamesInfo,
|
|
37228
|
+
wm as useGetCarouseList,
|
|
37189
37229
|
Ho as useGetMachineLoginCode,
|
|
37190
|
-
|
|
37191
|
-
|
|
37192
|
-
|
|
37193
|
-
|
|
37194
|
-
|
|
37195
|
-
|
|
37196
|
-
|
|
37197
|
-
|
|
37198
|
-
|
|
37230
|
+
Am as useGetMarquee,
|
|
37231
|
+
hm as useGetMemberInfo,
|
|
37232
|
+
Om as useGetRankingGame,
|
|
37233
|
+
Cs as useHistoryRewardsList,
|
|
37234
|
+
jm as useIdleTimeout,
|
|
37235
|
+
Bm as useInbox,
|
|
37236
|
+
Jo as useInboxList,
|
|
37237
|
+
Tm as useInitializeWithToken,
|
|
37238
|
+
Im as useInvoiceAction,
|
|
37199
37239
|
tl as useLineLogin,
|
|
37200
37240
|
Bo as useLineLogin2,
|
|
37201
37241
|
Eo as useLogin,
|
|
37202
37242
|
No as useLogout,
|
|
37203
|
-
|
|
37204
|
-
|
|
37205
|
-
|
|
37206
|
-
|
|
37207
|
-
|
|
37208
|
-
|
|
37209
|
-
|
|
37210
|
-
|
|
37211
|
-
|
|
37212
|
-
|
|
37213
|
-
|
|
37214
|
-
|
|
37215
|
-
|
|
37216
|
-
|
|
37217
|
-
|
|
37243
|
+
Em as useMemberTransfer,
|
|
37244
|
+
Nm as useMobileLogin,
|
|
37245
|
+
Lm as useMobileLoginV2,
|
|
37246
|
+
Wm as useNewsDetail,
|
|
37247
|
+
Hm as useNewsList,
|
|
37248
|
+
Zm as usePayment,
|
|
37249
|
+
Xm as usePlatformConfig,
|
|
37250
|
+
Jm as usePlayGame,
|
|
37251
|
+
xm as usePointTransfer,
|
|
37252
|
+
Ko as useReadInbox,
|
|
37253
|
+
Km as useRebate,
|
|
37254
|
+
fs as useReceiveRebate,
|
|
37255
|
+
zm as useRedeemCodeDeposit,
|
|
37256
|
+
Pm as useRedeemEventReward,
|
|
37257
|
+
ys as useRedeemReward,
|
|
37218
37258
|
Ro as useResetUserPassword,
|
|
37219
37259
|
Fo as useResetUserTransactionPassword,
|
|
37220
|
-
|
|
37221
|
-
|
|
37222
|
-
|
|
37260
|
+
qm as useRewards,
|
|
37261
|
+
_s as useRewardsList,
|
|
37262
|
+
Gm as useSendMobileVerifyCode,
|
|
37223
37263
|
Po as useSetUserTransactionPassword,
|
|
37224
37264
|
Lo as useSignUp,
|
|
37225
37265
|
Vn as useStatus,
|
|
37226
37266
|
Go as useToggleFavoriteGame,
|
|
37227
37267
|
Oo as useTransferInGame,
|
|
37228
|
-
|
|
37229
|
-
|
|
37268
|
+
Us as useUnUsedRewardsList,
|
|
37269
|
+
Vm as useUpdateInvoiceAction,
|
|
37230
37270
|
Mo as useUpdateUserInfo,
|
|
37231
|
-
|
|
37271
|
+
Mm as useUser,
|
|
37232
37272
|
Ao as useUserBindCard,
|
|
37233
37273
|
wo as useUserRebate,
|
|
37234
|
-
|
|
37235
|
-
|
|
37236
|
-
|
|
37237
|
-
|
|
37238
|
-
|
|
37274
|
+
Qm as useVip,
|
|
37275
|
+
$m as useVipInfo,
|
|
37276
|
+
vs as useVipList,
|
|
37277
|
+
Yo as useWithdrawAction,
|
|
37278
|
+
is as useWithdrawTransaction
|
|
37239
37279
|
};
|