@obb871001/api-integration-sdk 1.0.288 → 1.0.290
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 +6 -6
- package/dist/index.js +704 -685
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -69,20 +69,20 @@ function Jl() {
|
|
|
69
69
|
{
|
|
70
70
|
var $ = y.ReactDebugCurrentFrame, re = $.getStackAddendum();
|
|
71
71
|
re !== "" && (z += "%s", Z = Z.concat([re]));
|
|
72
|
-
var
|
|
72
|
+
var ue = Z.map(function(te) {
|
|
73
73
|
return String(te);
|
|
74
74
|
});
|
|
75
|
-
|
|
75
|
+
ue.unshift("Warning: " + z), Function.prototype.apply.call(console[h], console, ue);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var C = !1, v = !1, x = !1, E = !1,
|
|
79
|
-
|
|
78
|
+
var C = !1, v = !1, x = !1, E = !1, G = !1, H;
|
|
79
|
+
H = 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 || G || 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.
|
|
85
|
-
h.$$typeof ===
|
|
85
|
+
h.$$typeof === H || h.getModuleId !== void 0));
|
|
86
86
|
}
|
|
87
87
|
function T(h, z, Z) {
|
|
88
88
|
var $ = h.displayName;
|
|
@@ -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 w(h) {
|
|
95
95
|
return h.displayName || "Context";
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function O(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 w(z) + ".Consumer";
|
|
123
123
|
case b:
|
|
124
124
|
var Z = h;
|
|
125
|
-
return
|
|
125
|
+
return w(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 ? $ : O(h.type) || "Memo";
|
|
131
131
|
case o: {
|
|
132
|
-
var re = h,
|
|
132
|
+
var re = h, ue = re._payload, te = re._init;
|
|
133
133
|
try {
|
|
134
|
-
return
|
|
134
|
+
return O(te(ue));
|
|
135
135
|
} catch {
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
@@ -139,18 +139,18 @@ function Jl() {
|
|
|
139
139
|
}
|
|
140
140
|
return null;
|
|
141
141
|
}
|
|
142
|
-
var
|
|
143
|
-
function
|
|
142
|
+
var P = Object.assign, S = 0, D, M, F, B, W, L, N;
|
|
143
|
+
function A() {
|
|
144
144
|
}
|
|
145
|
-
|
|
145
|
+
A.__reactDisabledLog = !0;
|
|
146
146
|
function R() {
|
|
147
147
|
{
|
|
148
|
-
if (
|
|
149
|
-
|
|
148
|
+
if (S === 0) {
|
|
149
|
+
D = console.log, M = console.info, F = console.warn, B = console.error, W = console.group, L = console.groupCollapsed, N = console.groupEnd;
|
|
150
150
|
var h = {
|
|
151
151
|
configurable: !0,
|
|
152
152
|
enumerable: !0,
|
|
153
|
-
value:
|
|
153
|
+
value: A,
|
|
154
154
|
writable: !0
|
|
155
155
|
};
|
|
156
156
|
Object.defineProperties(console, {
|
|
@@ -163,42 +163,42 @@ function Jl() {
|
|
|
163
163
|
groupEnd: h
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
|
-
|
|
166
|
+
S++;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
function K() {
|
|
170
170
|
{
|
|
171
|
-
if (
|
|
171
|
+
if (S--, S === 0) {
|
|
172
172
|
var h = {
|
|
173
173
|
configurable: !0,
|
|
174
174
|
enumerable: !0,
|
|
175
175
|
writable: !0
|
|
176
176
|
};
|
|
177
177
|
Object.defineProperties(console, {
|
|
178
|
-
log:
|
|
179
|
-
value:
|
|
178
|
+
log: P({}, h, {
|
|
179
|
+
value: D
|
|
180
180
|
}),
|
|
181
|
-
info:
|
|
182
|
-
value:
|
|
181
|
+
info: P({}, h, {
|
|
182
|
+
value: M
|
|
183
183
|
}),
|
|
184
|
-
warn:
|
|
185
|
-
value:
|
|
184
|
+
warn: P({}, h, {
|
|
185
|
+
value: F
|
|
186
186
|
}),
|
|
187
|
-
error:
|
|
188
|
-
value:
|
|
187
|
+
error: P({}, h, {
|
|
188
|
+
value: B
|
|
189
189
|
}),
|
|
190
|
-
group:
|
|
190
|
+
group: P({}, h, {
|
|
191
191
|
value: W
|
|
192
192
|
}),
|
|
193
|
-
groupCollapsed:
|
|
194
|
-
value: G
|
|
195
|
-
}),
|
|
196
|
-
groupEnd: S({}, h, {
|
|
193
|
+
groupCollapsed: P({}, h, {
|
|
197
194
|
value: L
|
|
195
|
+
}),
|
|
196
|
+
groupEnd: P({}, h, {
|
|
197
|
+
value: N
|
|
198
198
|
})
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
|
-
|
|
201
|
+
S < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
var q = y.ReactCurrentDispatcher, Q;
|
|
@@ -232,8 +232,8 @@ function Jl() {
|
|
|
232
232
|
ee = !0;
|
|
233
233
|
var re = Error.prepareStackTrace;
|
|
234
234
|
Error.prepareStackTrace = void 0;
|
|
235
|
-
var
|
|
236
|
-
|
|
235
|
+
var ue;
|
|
236
|
+
ue = 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
|
-
ee = !1, q.current =
|
|
289
|
+
ee = !1, q.current = ue, 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;
|
|
@@ -318,9 +318,9 @@ function Jl() {
|
|
|
318
318
|
case s:
|
|
319
319
|
return ke(h.type, z, Z);
|
|
320
320
|
case o: {
|
|
321
|
-
var $ = h, re = $._payload,
|
|
321
|
+
var $ = h, re = $._payload, ue = $._init;
|
|
322
322
|
try {
|
|
323
|
-
return ke(
|
|
323
|
+
return ke(ue(re), z, Z);
|
|
324
324
|
} catch {
|
|
325
325
|
}
|
|
326
326
|
}
|
|
@@ -337,9 +337,9 @@ function Jl() {
|
|
|
337
337
|
}
|
|
338
338
|
function ea(h, z, Z, $, re) {
|
|
339
339
|
{
|
|
340
|
-
var
|
|
340
|
+
var ue = Function.call.bind(Ue);
|
|
341
341
|
for (var te in h)
|
|
342
|
-
if (
|
|
342
|
+
if (ue(h, te)) {
|
|
343
343
|
var Y = void 0;
|
|
344
344
|
try {
|
|
345
345
|
if (typeof h[te] != "function") {
|
|
@@ -425,7 +425,7 @@ function Jl() {
|
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
|
-
var za = function(h, z, Z, $, re,
|
|
428
|
+
var za = function(h, z, Z, $, re, ue, te) {
|
|
429
429
|
var Y = {
|
|
430
430
|
// This tag allows us to uniquely identify this as a React Element
|
|
431
431
|
$$typeof: r,
|
|
@@ -435,7 +435,7 @@ function Jl() {
|
|
|
435
435
|
ref: Z,
|
|
436
436
|
props: te,
|
|
437
437
|
// Record the component responsible for creating this element.
|
|
438
|
-
_owner:
|
|
438
|
+
_owner: ue
|
|
439
439
|
};
|
|
440
440
|
return Y._store = {}, Object.defineProperty(Y._store, "validated", {
|
|
441
441
|
configurable: !1,
|
|
@@ -456,14 +456,14 @@ function Jl() {
|
|
|
456
456
|
};
|
|
457
457
|
function Ia(h, z, Z, $, re) {
|
|
458
458
|
{
|
|
459
|
-
var
|
|
459
|
+
var ue, te = {}, Y = null, Ae = null;
|
|
460
460
|
Z !== void 0 && (xe(Z), Y = "" + Z), qe(z) && (xe(z.key), Y = "" + z.key), Ie(z) && (Ae = z.ref, Wa(z, re));
|
|
461
|
-
for (
|
|
462
|
-
Ue.call(z,
|
|
461
|
+
for (ue in z)
|
|
462
|
+
Ue.call(z, ue) && !Ke.hasOwnProperty(ue) && (te[ue] = z[ue]);
|
|
463
463
|
if (h && h.defaultProps) {
|
|
464
464
|
var be = h.defaultProps;
|
|
465
|
-
for (
|
|
466
|
-
te[
|
|
465
|
+
for (ue in be)
|
|
466
|
+
te[ue] === void 0 && (te[ue] = be[ue]);
|
|
467
467
|
}
|
|
468
468
|
if (Y || Ae) {
|
|
469
469
|
var he = typeof h == "function" ? h.displayName || h.name || "Unknown" : h;
|
|
@@ -488,7 +488,7 @@ function Jl() {
|
|
|
488
488
|
function La() {
|
|
489
489
|
{
|
|
490
490
|
if (da.current) {
|
|
491
|
-
var h =
|
|
491
|
+
var h = O(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 " + O(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) {
|
|
@@ -540,7 +540,7 @@ Check the top-level render call using <` + Z + ">.");
|
|
|
540
540
|
else if (h) {
|
|
541
541
|
var re = d(h);
|
|
542
542
|
if (typeof re == "function" && re !== h.entries)
|
|
543
|
-
for (var
|
|
543
|
+
for (var ue = re.call(h), te; !(te = ue.next()).done; )
|
|
544
544
|
fa(te.value) && Ra(te.value, z);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
@@ -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 $ = O(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 = O(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.");
|
|
@@ -583,7 +583,7 @@ Check the top-level render call using <` + Z + ">.");
|
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
var ta = {};
|
|
586
|
-
function Pe(h, z, Z, $, re,
|
|
586
|
+
function Pe(h, z, Z, $, re, ue) {
|
|
587
587
|
{
|
|
588
588
|
var te = k(h);
|
|
589
589
|
if (!te) {
|
|
@@ -592,9 +592,9 @@ 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 = "<" + (O(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
|
-
var he = Ia(h, z, Z, re,
|
|
597
|
+
var he = Ia(h, z, Z, re, ue);
|
|
598
598
|
if (he == null)
|
|
599
599
|
return he;
|
|
600
600
|
if (te) {
|
|
@@ -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 = O(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]) {
|
|
@@ -815,274 +815,274 @@ 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
|
|
820
|
-
return "[" +
|
|
821
|
-
} }, U = function(S, D
|
|
822
|
-
var
|
|
823
|
-
return !
|
|
824
|
-
}, C = { s: U, z: function(
|
|
825
|
-
var
|
|
826
|
-
return (
|
|
827
|
-
}, m: function S
|
|
828
|
-
if (
|
|
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(P) {
|
|
819
|
+
var S = ["th", "st", "nd", "rd"], D = P % 100;
|
|
820
|
+
return "[" + P + (S[(D - 20) % 10] || S[D] || S[0]) + "]";
|
|
821
|
+
} }, U = function(P, S, D) {
|
|
822
|
+
var M = String(P);
|
|
823
|
+
return !M || M.length >= S ? P : "" + Array(S + 1 - M.length).join(D) + P;
|
|
824
|
+
}, C = { s: U, z: function(P) {
|
|
825
|
+
var S = -P.utcOffset(), D = Math.abs(S), M = Math.floor(D / 60), F = D % 60;
|
|
826
|
+
return (S <= 0 ? "+" : "-") + U(M, 2, "0") + ":" + U(F, 2, "0");
|
|
827
|
+
}, m: function P(S, D) {
|
|
828
|
+
if (S.date() < D.date()) return -P(D, S);
|
|
829
|
+
var M = 12 * (D.year() - S.year()) + (D.month() - S.month()), F = S.clone().add(M, s), B = D - F < 0, W = S.clone().add(M + (B ? -1 : 1), s);
|
|
830
|
+
return +(-(M + (D - F) / (B ? F - W : W - F)) || 0);
|
|
831
|
+
}, a: function(P) {
|
|
832
|
+
return P < 0 ? Math.ceil(P) || 0 : Math.floor(P);
|
|
833
|
+
}, p: function(P) {
|
|
834
|
+
return { M: s, y: u, w: i, d: a, D: m, h: l, m: f, s: b, ms: g, Q: o }[P] || String(P || "").toLowerCase().replace(/s$/, "");
|
|
835
|
+
}, u: function(P) {
|
|
836
|
+
return P === void 0;
|
|
837
837
|
} }, v = "en", x = {};
|
|
838
838
|
x[v] = _;
|
|
839
|
-
var E = "$isDayjsObject",
|
|
840
|
-
return
|
|
841
|
-
},
|
|
842
|
-
var
|
|
843
|
-
if (!
|
|
844
|
-
if (typeof
|
|
845
|
-
var
|
|
846
|
-
x[
|
|
847
|
-
var W =
|
|
848
|
-
if (!
|
|
839
|
+
var E = "$isDayjsObject", G = function(P) {
|
|
840
|
+
return P instanceof w || !(!P || !P[E]);
|
|
841
|
+
}, H = function P(S, D, M) {
|
|
842
|
+
var F;
|
|
843
|
+
if (!S) return v;
|
|
844
|
+
if (typeof S == "string") {
|
|
845
|
+
var B = S.toLowerCase();
|
|
846
|
+
x[B] && (F = B), D && (x[B] = D, F = B);
|
|
847
|
+
var W = S.split("-");
|
|
848
|
+
if (!F && W.length > 1) return P(W[0]);
|
|
849
849
|
} else {
|
|
850
|
-
var
|
|
851
|
-
x[
|
|
850
|
+
var L = S.name;
|
|
851
|
+
x[L] = S, F = L;
|
|
852
852
|
}
|
|
853
|
-
return !
|
|
854
|
-
}, k = function(
|
|
855
|
-
if (
|
|
856
|
-
var
|
|
857
|
-
return
|
|
853
|
+
return !M && F && (v = F), F || !M && v;
|
|
854
|
+
}, k = function(P, S) {
|
|
855
|
+
if (G(P)) return P.clone();
|
|
856
|
+
var D = typeof S == "object" ? S : {};
|
|
857
|
+
return D.date = P, D.args = arguments, new w(D);
|
|
858
858
|
}, T = C;
|
|
859
|
-
T.l =
|
|
860
|
-
return k(
|
|
859
|
+
T.l = H, T.i = G, T.w = function(P, S) {
|
|
860
|
+
return k(P, { locale: S.$L, utc: S.$u, x: S.$x, $offset: S.$offset });
|
|
861
861
|
};
|
|
862
|
-
var
|
|
863
|
-
function
|
|
864
|
-
this.$L =
|
|
862
|
+
var w = (function() {
|
|
863
|
+
function P(D) {
|
|
864
|
+
this.$L = H(D.locale, null, !0), this.parse(D), this.$x = this.$x || D.x || {}, this[E] = !0;
|
|
865
865
|
}
|
|
866
|
-
var
|
|
867
|
-
return
|
|
868
|
-
this.$d = (function(
|
|
869
|
-
var
|
|
870
|
-
if (
|
|
871
|
-
if (T.u(
|
|
872
|
-
if (
|
|
873
|
-
if (typeof
|
|
874
|
-
var W =
|
|
866
|
+
var S = P.prototype;
|
|
867
|
+
return S.parse = function(D) {
|
|
868
|
+
this.$d = (function(M) {
|
|
869
|
+
var F = M.date, B = M.utc;
|
|
870
|
+
if (F === null) return /* @__PURE__ */ new Date(NaN);
|
|
871
|
+
if (T.u(F)) return /* @__PURE__ */ new Date();
|
|
872
|
+
if (F instanceof Date) return new Date(F);
|
|
873
|
+
if (typeof F == "string" && !/Z$/i.test(F)) {
|
|
874
|
+
var W = F.match(d);
|
|
875
875
|
if (W) {
|
|
876
|
-
var
|
|
877
|
-
return
|
|
876
|
+
var L = W[2] - 1 || 0, N = (W[7] || "0").substring(0, 3);
|
|
877
|
+
return B ? new Date(Date.UTC(W[1], L, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, N)) : new Date(W[1], L, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, N);
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
|
-
return new Date(
|
|
881
|
-
})(
|
|
882
|
-
},
|
|
883
|
-
var
|
|
884
|
-
this.$y =
|
|
885
|
-
},
|
|
880
|
+
return new Date(F);
|
|
881
|
+
})(D), this.init();
|
|
882
|
+
}, S.init = function() {
|
|
883
|
+
var D = this.$d;
|
|
884
|
+
this.$y = D.getFullYear(), this.$M = D.getMonth(), this.$D = D.getDate(), this.$W = D.getDay(), this.$H = D.getHours(), this.$m = D.getMinutes(), this.$s = D.getSeconds(), this.$ms = D.getMilliseconds();
|
|
885
|
+
}, S.$utils = function() {
|
|
886
886
|
return T;
|
|
887
|
-
},
|
|
887
|
+
}, S.isValid = function() {
|
|
888
888
|
return this.$d.toString() !== c;
|
|
889
|
-
},
|
|
890
|
-
var
|
|
891
|
-
return this.startOf(
|
|
892
|
-
},
|
|
893
|
-
return k(
|
|
894
|
-
},
|
|
895
|
-
return this.endOf(
|
|
896
|
-
},
|
|
897
|
-
return T.u(
|
|
898
|
-
},
|
|
889
|
+
}, S.isSame = function(D, M) {
|
|
890
|
+
var F = k(D);
|
|
891
|
+
return this.startOf(M) <= F && F <= this.endOf(M);
|
|
892
|
+
}, S.isAfter = function(D, M) {
|
|
893
|
+
return k(D) < this.startOf(M);
|
|
894
|
+
}, S.isBefore = function(D, M) {
|
|
895
|
+
return this.endOf(M) < k(D);
|
|
896
|
+
}, S.$g = function(D, M, F) {
|
|
897
|
+
return T.u(D) ? this[M] : this.set(F, D);
|
|
898
|
+
}, S.unix = function() {
|
|
899
899
|
return Math.floor(this.valueOf() / 1e3);
|
|
900
|
-
},
|
|
900
|
+
}, S.valueOf = function() {
|
|
901
901
|
return this.$d.getTime();
|
|
902
|
-
},
|
|
903
|
-
var
|
|
904
|
-
var _e = T.w(
|
|
905
|
-
return
|
|
906
|
-
},
|
|
907
|
-
return T.w(
|
|
908
|
-
},
|
|
902
|
+
}, S.startOf = function(D, M) {
|
|
903
|
+
var F = this, B = !!T.u(M) || M, W = T.p(D), L = function(ee, ie) {
|
|
904
|
+
var _e = T.w(F.$u ? Date.UTC(F.$y, ie, ee) : new Date(F.$y, ie, ee), F);
|
|
905
|
+
return B ? _e : _e.endOf(a);
|
|
906
|
+
}, N = function(ee, ie) {
|
|
907
|
+
return T.w(F.toDate()[ee].apply(F.toDate("s"), (B ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), F);
|
|
908
|
+
}, A = this.$W, R = this.$M, K = this.$D, q = "set" + (this.$u ? "UTC" : "");
|
|
909
909
|
switch (W) {
|
|
910
910
|
case u:
|
|
911
|
-
return
|
|
911
|
+
return B ? L(1, 0) : L(31, 11);
|
|
912
912
|
case s:
|
|
913
|
-
return
|
|
913
|
+
return B ? L(1, R) : L(0, R + 1);
|
|
914
914
|
case i:
|
|
915
|
-
var Q = this.$locale().weekStart || 0, J = (
|
|
916
|
-
return
|
|
915
|
+
var Q = this.$locale().weekStart || 0, J = (A < Q ? A + 7 : A) - Q;
|
|
916
|
+
return L(B ? K - J : K + (6 - J), R);
|
|
917
917
|
case a:
|
|
918
918
|
case m:
|
|
919
|
-
return
|
|
919
|
+
return N(q + "Hours", 0);
|
|
920
920
|
case l:
|
|
921
|
-
return
|
|
921
|
+
return N(q + "Minutes", 1);
|
|
922
922
|
case f:
|
|
923
|
-
return
|
|
923
|
+
return N(q + "Seconds", 2);
|
|
924
924
|
case b:
|
|
925
|
-
return
|
|
925
|
+
return N(q + "Milliseconds", 3);
|
|
926
926
|
default:
|
|
927
927
|
return this.clone();
|
|
928
928
|
}
|
|
929
|
-
},
|
|
930
|
-
return this.startOf(
|
|
931
|
-
},
|
|
932
|
-
var
|
|
933
|
-
if (
|
|
934
|
-
var
|
|
935
|
-
|
|
936
|
-
} else
|
|
929
|
+
}, S.endOf = function(D) {
|
|
930
|
+
return this.startOf(D, !1);
|
|
931
|
+
}, S.$set = function(D, M) {
|
|
932
|
+
var F, B = T.p(D), W = "set" + (this.$u ? "UTC" : ""), L = (F = {}, F[a] = W + "Date", F[m] = W + "Date", F[s] = W + "Month", F[u] = W + "FullYear", F[l] = W + "Hours", F[f] = W + "Minutes", F[b] = W + "Seconds", F[g] = W + "Milliseconds", F)[B], N = B === a ? this.$D + (M - this.$W) : M;
|
|
933
|
+
if (B === s || B === u) {
|
|
934
|
+
var A = this.clone().set(m, 1);
|
|
935
|
+
A.$d[L](N), A.init(), this.$d = A.set(m, Math.min(this.$D, A.daysInMonth())).$d;
|
|
936
|
+
} else L && this.$d[L](N);
|
|
937
937
|
return this.init(), this;
|
|
938
|
-
},
|
|
939
|
-
return this.clone().$set(
|
|
940
|
-
},
|
|
941
|
-
return this[T.p(
|
|
942
|
-
},
|
|
943
|
-
var
|
|
944
|
-
|
|
945
|
-
var W = T.p(
|
|
946
|
-
var K = k(
|
|
947
|
-
return T.w(K.date(K.date() + Math.round(R *
|
|
938
|
+
}, S.set = function(D, M) {
|
|
939
|
+
return this.clone().$set(D, M);
|
|
940
|
+
}, S.get = function(D) {
|
|
941
|
+
return this[T.p(D)]();
|
|
942
|
+
}, S.add = function(D, M) {
|
|
943
|
+
var F, B = this;
|
|
944
|
+
D = Number(D);
|
|
945
|
+
var W = T.p(M), L = function(R) {
|
|
946
|
+
var K = k(B);
|
|
947
|
+
return T.w(K.date(K.date() + Math.round(R * D)), B);
|
|
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
|
|
954
|
-
return T.w(
|
|
955
|
-
},
|
|
956
|
-
return this.add(-1 *
|
|
957
|
-
},
|
|
958
|
-
var
|
|
959
|
-
if (!this.isValid()) return
|
|
960
|
-
var
|
|
961
|
-
return ie && (ie[_e] || ie(
|
|
949
|
+
if (W === s) return this.set(s, this.$M + D);
|
|
950
|
+
if (W === u) return this.set(u, this.$y + D);
|
|
951
|
+
if (W === a) return L(1);
|
|
952
|
+
if (W === i) return L(7);
|
|
953
|
+
var N = (F = {}, F[f] = n, F[l] = p, F[b] = t, F)[W] || 1, A = this.$d.getTime() + D * N;
|
|
954
|
+
return T.w(A, this);
|
|
955
|
+
}, S.subtract = function(D, M) {
|
|
956
|
+
return this.add(-1 * D, M);
|
|
957
|
+
}, S.format = function(D) {
|
|
958
|
+
var M = this, F = this.$locale();
|
|
959
|
+
if (!this.isValid()) return F.invalidDate || c;
|
|
960
|
+
var B = D || "YYYY-MM-DDTHH:mm:ssZ", W = T.z(this), L = this.$H, N = this.$m, A = this.$M, R = F.weekdays, K = F.months, q = F.meridiem, Q = function(ie, _e, ye, le) {
|
|
961
|
+
return ie && (ie[_e] || ie(M, B)) || ye[_e].slice(0, le);
|
|
962
962
|
}, J = function(ie) {
|
|
963
|
-
return T.s(
|
|
963
|
+
return T.s(L % 12 || 12, ie, "0");
|
|
964
964
|
}, ee = q || function(ie, _e, ye) {
|
|
965
965
|
var le = ie < 12 ? "AM" : "PM";
|
|
966
966
|
return ye ? le.toLowerCase() : le;
|
|
967
967
|
};
|
|
968
|
-
return
|
|
968
|
+
return B.replace(y, (function(ie, _e) {
|
|
969
969
|
return _e || (function(ye) {
|
|
970
970
|
switch (ye) {
|
|
971
971
|
case "YY":
|
|
972
|
-
return String(
|
|
972
|
+
return String(M.$y).slice(-2);
|
|
973
973
|
case "YYYY":
|
|
974
|
-
return T.s(
|
|
974
|
+
return T.s(M.$y, 4, "0");
|
|
975
975
|
case "M":
|
|
976
|
-
return
|
|
976
|
+
return A + 1;
|
|
977
977
|
case "MM":
|
|
978
|
-
return T.s(
|
|
978
|
+
return T.s(A + 1, 2, "0");
|
|
979
979
|
case "MMM":
|
|
980
|
-
return Q(
|
|
980
|
+
return Q(F.monthsShort, A, K, 3);
|
|
981
981
|
case "MMMM":
|
|
982
|
-
return Q(K,
|
|
982
|
+
return Q(K, A);
|
|
983
983
|
case "D":
|
|
984
|
-
return
|
|
984
|
+
return M.$D;
|
|
985
985
|
case "DD":
|
|
986
|
-
return T.s(
|
|
986
|
+
return T.s(M.$D, 2, "0");
|
|
987
987
|
case "d":
|
|
988
|
-
return String(
|
|
988
|
+
return String(M.$W);
|
|
989
989
|
case "dd":
|
|
990
|
-
return Q(
|
|
990
|
+
return Q(F.weekdaysMin, M.$W, R, 2);
|
|
991
991
|
case "ddd":
|
|
992
|
-
return Q(
|
|
992
|
+
return Q(F.weekdaysShort, M.$W, R, 3);
|
|
993
993
|
case "dddd":
|
|
994
|
-
return R[
|
|
994
|
+
return R[M.$W];
|
|
995
995
|
case "H":
|
|
996
|
-
return String(
|
|
996
|
+
return String(L);
|
|
997
997
|
case "HH":
|
|
998
|
-
return T.s(
|
|
998
|
+
return T.s(L, 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 ee(
|
|
1004
|
+
return ee(L, N, !0);
|
|
1005
1005
|
case "A":
|
|
1006
|
-
return ee(
|
|
1006
|
+
return ee(L, N, !1);
|
|
1007
1007
|
case "m":
|
|
1008
|
-
return String(
|
|
1008
|
+
return String(N);
|
|
1009
1009
|
case "mm":
|
|
1010
|
-
return T.s(
|
|
1010
|
+
return T.s(N, 2, "0");
|
|
1011
1011
|
case "s":
|
|
1012
|
-
return String(
|
|
1012
|
+
return String(M.$s);
|
|
1013
1013
|
case "ss":
|
|
1014
|
-
return T.s(
|
|
1014
|
+
return T.s(M.$s, 2, "0");
|
|
1015
1015
|
case "SSS":
|
|
1016
|
-
return T.s(
|
|
1016
|
+
return T.s(M.$ms, 3, "0");
|
|
1017
1017
|
case "Z":
|
|
1018
1018
|
return W;
|
|
1019
1019
|
}
|
|
1020
1020
|
return null;
|
|
1021
1021
|
})(ie) || W.replace(":", "");
|
|
1022
1022
|
}));
|
|
1023
|
-
},
|
|
1023
|
+
}, S.utcOffset = function() {
|
|
1024
1024
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1025
|
-
},
|
|
1026
|
-
var
|
|
1027
|
-
return T.m(W,
|
|
1025
|
+
}, S.diff = function(D, M, F) {
|
|
1026
|
+
var B, W = this, L = T.p(M), N = k(D), A = (N.utcOffset() - this.utcOffset()) * n, R = this - N, K = function() {
|
|
1027
|
+
return T.m(W, N);
|
|
1028
1028
|
};
|
|
1029
|
-
switch (
|
|
1029
|
+
switch (L) {
|
|
1030
1030
|
case u:
|
|
1031
|
-
|
|
1031
|
+
B = K() / 12;
|
|
1032
1032
|
break;
|
|
1033
1033
|
case s:
|
|
1034
|
-
|
|
1034
|
+
B = K();
|
|
1035
1035
|
break;
|
|
1036
1036
|
case o:
|
|
1037
|
-
|
|
1037
|
+
B = K() / 3;
|
|
1038
1038
|
break;
|
|
1039
1039
|
case i:
|
|
1040
|
-
|
|
1040
|
+
B = (R - A) / 6048e5;
|
|
1041
1041
|
break;
|
|
1042
1042
|
case a:
|
|
1043
|
-
|
|
1043
|
+
B = (R - A) / 864e5;
|
|
1044
1044
|
break;
|
|
1045
1045
|
case l:
|
|
1046
|
-
|
|
1046
|
+
B = R / p;
|
|
1047
1047
|
break;
|
|
1048
1048
|
case f:
|
|
1049
|
-
|
|
1049
|
+
B = R / n;
|
|
1050
1050
|
break;
|
|
1051
1051
|
case b:
|
|
1052
|
-
|
|
1052
|
+
B = R / t;
|
|
1053
1053
|
break;
|
|
1054
1054
|
default:
|
|
1055
|
-
|
|
1055
|
+
B = R;
|
|
1056
1056
|
}
|
|
1057
|
-
return
|
|
1058
|
-
},
|
|
1057
|
+
return F ? B : T.a(B);
|
|
1058
|
+
}, S.daysInMonth = function() {
|
|
1059
1059
|
return this.endOf(s).$D;
|
|
1060
|
-
},
|
|
1060
|
+
}, S.$locale = function() {
|
|
1061
1061
|
return x[this.$L];
|
|
1062
|
-
},
|
|
1063
|
-
if (!
|
|
1064
|
-
var
|
|
1065
|
-
return
|
|
1066
|
-
},
|
|
1062
|
+
}, S.locale = function(D, M) {
|
|
1063
|
+
if (!D) return this.$L;
|
|
1064
|
+
var F = this.clone(), B = H(D, M, !0);
|
|
1065
|
+
return B && (F.$L = B), F;
|
|
1066
|
+
}, S.clone = function() {
|
|
1067
1067
|
return T.w(this.$d, this);
|
|
1068
|
-
},
|
|
1068
|
+
}, S.toDate = function() {
|
|
1069
1069
|
return new Date(this.valueOf());
|
|
1070
|
-
},
|
|
1070
|
+
}, S.toJSON = function() {
|
|
1071
1071
|
return this.isValid() ? this.toISOString() : null;
|
|
1072
|
-
},
|
|
1072
|
+
}, S.toISOString = function() {
|
|
1073
1073
|
return this.$d.toISOString();
|
|
1074
|
-
},
|
|
1074
|
+
}, S.toString = function() {
|
|
1075
1075
|
return this.$d.toUTCString();
|
|
1076
|
-
},
|
|
1077
|
-
})(),
|
|
1078
|
-
return k.prototype =
|
|
1079
|
-
|
|
1080
|
-
return this.$g(
|
|
1076
|
+
}, P;
|
|
1077
|
+
})(), O = w.prototype;
|
|
1078
|
+
return k.prototype = O, [["$ms", g], ["$s", b], ["$m", f], ["$H", l], ["$W", a], ["$M", s], ["$y", u], ["$D", m]].forEach((function(P) {
|
|
1079
|
+
O[P[1]] = function(S) {
|
|
1080
|
+
return this.$g(S, P[0], P[1]);
|
|
1081
1081
|
};
|
|
1082
|
-
})), k.extend = function(
|
|
1083
|
-
return
|
|
1084
|
-
}, k.locale =
|
|
1085
|
-
return k(1e3 *
|
|
1082
|
+
})), k.extend = function(P, S) {
|
|
1083
|
+
return P.$i || (P(S, w, k), P.$i = !0), k;
|
|
1084
|
+
}, k.locale = H, k.isDayjs = G, k.unix = function(P) {
|
|
1085
|
+
return k(1e3 * P);
|
|
1086
1086
|
}, k.en = x[v], k.Ls = x, k.p = {}, k;
|
|
1087
1087
|
}));
|
|
1088
1088
|
})(ti)), ti.exports;
|
|
@@ -1264,12 +1264,12 @@ function ae() {
|
|
|
1264
1264
|
var U = this.words, C = _.words, v = this.sigBytes, x = _.sigBytes;
|
|
1265
1265
|
if (this.clamp(), v % 4)
|
|
1266
1266
|
for (var E = 0; E < x; E++) {
|
|
1267
|
-
var
|
|
1268
|
-
U[v + E >>> 2] |=
|
|
1267
|
+
var G = C[E >>> 2] >>> 24 - E % 4 * 8 & 255;
|
|
1268
|
+
U[v + E >>> 2] |= G << 24 - (v + E) % 4 * 8;
|
|
1269
1269
|
}
|
|
1270
1270
|
else
|
|
1271
|
-
for (var
|
|
1272
|
-
U[v +
|
|
1271
|
+
for (var H = 0; H < x; H += 4)
|
|
1272
|
+
U[v + H >>> 2] = C[H >>> 2];
|
|
1273
1273
|
return this.sigBytes += x, this;
|
|
1274
1274
|
},
|
|
1275
1275
|
/**
|
|
@@ -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, E = this.blockSize,
|
|
1472
|
-
_ ?
|
|
1473
|
-
var k =
|
|
1471
|
+
var U, C = this._data, v = C.words, x = C.sigBytes, E = this.blockSize, G = E * 4, H = x / G;
|
|
1472
|
+
_ ? H = n.ceil(H) : H = n.max((H | 0) - this._minBufferSize, 0);
|
|
1473
|
+
var k = H * E, T = n.min(k * 4, x);
|
|
1474
1474
|
if (k) {
|
|
1475
|
-
for (var
|
|
1476
|
-
this._doProcessBlock(v,
|
|
1475
|
+
for (var w = 0; w < k; w += E)
|
|
1476
|
+
this._doProcessBlock(v, w);
|
|
1477
1477
|
U = v.splice(0, k), C.sigBytes -= T;
|
|
1478
1478
|
}
|
|
1479
1479
|
return new s.init(U, T);
|
|
@@ -2128,8 +2128,8 @@ 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], E = c[d + 2],
|
|
2132
|
-
|
|
2131
|
+
var C = this._hash.words, v = c[d + 0], x = c[d + 1], E = c[d + 2], G = c[d + 3], H = c[d + 4], k = c[d + 5], T = c[d + 6], w = c[d + 7], O = c[d + 8], P = c[d + 9], S = c[d + 10], D = c[d + 11], M = c[d + 12], F = c[d + 13], B = c[d + 14], W = c[d + 15], L = C[0], N = C[1], A = C[2], R = C[3];
|
|
2132
|
+
L = s(L, N, A, R, v, 7, a[0]), R = s(R, L, N, A, x, 12, a[1]), A = s(A, R, L, N, E, 17, a[2]), N = s(N, A, R, L, G, 22, a[3]), L = s(L, N, A, R, H, 7, a[4]), R = s(R, L, N, A, k, 12, a[5]), A = s(A, R, L, N, T, 17, a[6]), N = s(N, A, R, L, w, 22, a[7]), L = s(L, N, A, R, O, 7, a[8]), R = s(R, L, N, A, P, 12, a[9]), A = s(A, R, L, N, S, 17, a[10]), N = s(N, A, R, L, D, 22, a[11]), L = s(L, N, A, R, M, 7, a[12]), R = s(R, L, N, A, F, 12, a[13]), A = s(A, R, L, N, B, 17, a[14]), N = s(N, A, R, L, W, 22, a[15]), L = o(L, N, A, R, x, 5, a[16]), R = o(R, L, N, A, T, 9, a[17]), A = o(A, R, L, N, D, 14, a[18]), N = o(N, A, R, L, v, 20, a[19]), L = o(L, N, A, R, k, 5, a[20]), R = o(R, L, N, A, S, 9, a[21]), A = o(A, R, L, N, W, 14, a[22]), N = o(N, A, R, L, H, 20, a[23]), L = o(L, N, A, R, P, 5, a[24]), R = o(R, L, N, A, B, 9, a[25]), A = o(A, R, L, N, G, 14, a[26]), N = o(N, A, R, L, O, 20, a[27]), L = o(L, N, A, R, F, 5, a[28]), R = o(R, L, N, A, E, 9, a[29]), A = o(A, R, L, N, w, 14, a[30]), N = o(N, A, R, L, M, 20, a[31]), L = u(L, N, A, R, k, 4, a[32]), R = u(R, L, N, A, O, 11, a[33]), A = u(A, R, L, N, D, 16, a[34]), N = u(N, A, R, L, B, 23, a[35]), L = u(L, N, A, R, x, 4, a[36]), R = u(R, L, N, A, H, 11, a[37]), A = u(A, R, L, N, w, 16, a[38]), N = u(N, A, R, L, S, 23, a[39]), L = u(L, N, A, R, F, 4, a[40]), R = u(R, L, N, A, v, 11, a[41]), A = u(A, R, L, N, G, 16, a[42]), N = u(N, A, R, L, T, 23, a[43]), L = u(L, N, A, R, P, 4, a[44]), R = u(R, L, N, A, M, 11, a[45]), A = u(A, R, L, N, W, 16, a[46]), N = u(N, A, R, L, E, 23, a[47]), L = m(L, N, A, R, v, 6, a[48]), R = m(R, L, N, A, w, 10, a[49]), A = m(A, R, L, N, B, 15, a[50]), N = m(N, A, R, L, k, 21, a[51]), L = m(L, N, A, R, M, 6, a[52]), R = m(R, L, N, A, G, 10, a[53]), A = m(A, R, L, N, S, 15, a[54]), N = m(N, A, R, L, x, 21, a[55]), L = m(L, N, A, R, O, 6, a[56]), R = m(R, L, N, A, W, 10, a[57]), A = m(A, R, L, N, T, 15, a[58]), N = m(N, A, R, L, F, 21, a[59]), L = m(L, N, A, R, H, 6, a[60]), R = m(R, L, N, A, D, 10, a[61]), A = m(A, R, L, N, E, 15, a[62]), N = m(N, A, R, L, P, 21, a[63]), C[0] = C[0] + L | 0, C[1] = C[1] + N | 0, C[2] = C[2] + A | 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;
|
|
@@ -2137,8 +2137,8 @@ function Da() {
|
|
|
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
2139
|
for (var v = this._hash, x = v.words, E = 0; E < 4; E++) {
|
|
2140
|
-
var
|
|
2141
|
-
x[E] = (
|
|
2140
|
+
var G = x[E];
|
|
2141
|
+
x[E] = (G << 8 | G >>> 24) & 16711935 | (G << 24 | G >>> 8) & 4278255360;
|
|
2142
2142
|
}
|
|
2143
2143
|
return v;
|
|
2144
2144
|
},
|
|
@@ -2238,15 +2238,15 @@ function dt() {
|
|
|
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], E = c[7],
|
|
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], G = 0; G < 64; G++) {
|
|
2242
|
+
if (G < 16)
|
|
2243
|
+
s[G] = u[m + G] | 0;
|
|
2244
2244
|
else {
|
|
2245
|
-
var
|
|
2246
|
-
s[
|
|
2245
|
+
var H = s[G - 15], k = (H << 25 | H >>> 7) ^ (H << 14 | H >>> 18) ^ H >>> 3, T = s[G - 2], w = (T << 15 | T >>> 17) ^ (T << 13 | T >>> 19) ^ T >>> 10;
|
|
2246
|
+
s[G] = k + s[G - 7] + w + s[G - 16];
|
|
2247
2247
|
}
|
|
2248
|
-
var
|
|
2249
|
-
E = x, x = v, v = C, C = U +
|
|
2248
|
+
var O = C & v ^ ~C & x, P = d & y ^ d & _ ^ y & _, S = (d << 30 | d >>> 2) ^ (d << 19 | d >>> 13) ^ (d << 10 | d >>> 22), D = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), M = E + D + O + i[G] + s[G], F = S + P;
|
|
2249
|
+
E = x, x = v, v = C, C = U + M | 0, U = _, _ = y, y = d, d = M + F | 0;
|
|
2250
2250
|
}
|
|
2251
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
|
},
|
|
@@ -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], E = d[6],
|
|
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], G = d[7], H = y.high, k = y.low, T = _.high, w = _.low, O = U.high, P = U.low, S = C.high, D = C.low, M = v.high, F = v.low, B = x.high, W = x.low, L = E.high, N = E.low, A = G.high, R = G.low, K = H, q = k, Q = T, J = w, ee = O, ie = P, _e = S, ye = D, le = M, ce = F, ke = B, Ue = W, ze = L, Ce = N, Ge = A, 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;
|
|
@@ -2416,7 +2416,7 @@ function el() {
|
|
|
2416
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
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 =
|
|
2419
|
+
k = y.low = k + q, y.high = H + K + (k >>> 0 < q >>> 0 ? 1 : 0), w = _.low = w + J, _.high = T + Q + (w >>> 0 < J >>> 0 ? 1 : 0), P = U.low = P + ie, U.high = O + ee + (P >>> 0 < ie >>> 0 ? 1 : 0), D = C.low = D + ye, C.high = S + _e + (D >>> 0 < ye >>> 0 ? 1 : 0), F = v.low = F + ce, v.high = M + le + (F >>> 0 < ce >>> 0 ? 1 : 0), W = x.low = W + Ue, x.high = B + ke + (W >>> 0 < Ue >>> 0 ? 1 : 0), N = E.low = N + Ce, E.high = L + ze + (N >>> 0 < Ce >>> 0 ? 1 : 0), R = G.low = R + ea, G.high = A + 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 E = 0,
|
|
2486
|
+
for (var E = 0, G = 0, H = 0; H < 7; H++) {
|
|
2487
2487
|
if (v & 1) {
|
|
2488
|
-
var k = (1 <<
|
|
2489
|
-
k < 32 ?
|
|
2488
|
+
var k = (1 << H) - 1;
|
|
2489
|
+
k < 32 ? G ^= 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(E,
|
|
2493
|
+
u[x] = a.create(E, G);
|
|
2494
2494
|
}
|
|
2495
2495
|
})();
|
|
2496
2496
|
var m = [];
|
|
@@ -2522,34 +2522,34 @@ function Tr() {
|
|
|
2522
2522
|
var E = _[C];
|
|
2523
2523
|
E.high ^= x, E.low ^= v;
|
|
2524
2524
|
}
|
|
2525
|
-
for (var
|
|
2526
|
-
for (var
|
|
2527
|
-
for (var k = 0, T = 0,
|
|
2528
|
-
var E = _[
|
|
2525
|
+
for (var G = 0; G < 24; G++) {
|
|
2526
|
+
for (var H = 0; H < 5; H++) {
|
|
2527
|
+
for (var k = 0, T = 0, w = 0; w < 5; w++) {
|
|
2528
|
+
var E = _[H + 5 * w];
|
|
2529
2529
|
k ^= E.high, T ^= E.low;
|
|
2530
2530
|
}
|
|
2531
|
-
var
|
|
2532
|
-
|
|
2531
|
+
var O = m[H];
|
|
2532
|
+
O.high = k, O.low = T;
|
|
2533
2533
|
}
|
|
2534
|
-
for (var
|
|
2535
|
-
for (var
|
|
2536
|
-
var E = _[
|
|
2534
|
+
for (var H = 0; H < 5; H++)
|
|
2535
|
+
for (var P = m[(H + 4) % 5], S = m[(H + 1) % 5], D = S.high, M = S.low, k = P.high ^ (D << 1 | M >>> 31), T = P.low ^ (M << 1 | D >>> 31), w = 0; w < 5; w++) {
|
|
2536
|
+
var E = _[H + 5 * w];
|
|
2537
2537
|
E.high ^= k, E.low ^= T;
|
|
2538
2538
|
}
|
|
2539
|
-
for (var
|
|
2540
|
-
var k, T, E = _[
|
|
2541
|
-
|
|
2542
|
-
var
|
|
2543
|
-
|
|
2539
|
+
for (var F = 1; F < 25; F++) {
|
|
2540
|
+
var k, T, E = _[F], B = E.high, W = E.low, L = s[F];
|
|
2541
|
+
L < 32 ? (k = B << L | W >>> 32 - L, T = W << L | B >>> 32 - L) : (k = W << L - 32 | B >>> 64 - L, T = B << L - 32 | W >>> 64 - L);
|
|
2542
|
+
var N = m[o[F]];
|
|
2543
|
+
N.high = k, N.low = T;
|
|
2544
2544
|
}
|
|
2545
|
-
var
|
|
2546
|
-
|
|
2547
|
-
for (var
|
|
2548
|
-
for (var
|
|
2549
|
-
var
|
|
2545
|
+
var A = m[0], R = _[0];
|
|
2546
|
+
A.high = R.high, A.low = R.low;
|
|
2547
|
+
for (var H = 0; H < 5; H++)
|
|
2548
|
+
for (var w = 0; w < 5; w++) {
|
|
2549
|
+
var F = H + 5 * w, E = _[F], K = m[F], q = m[(H + 1) % 5 + 5 * w], Q = m[(H + 2) % 5 + 5 * w];
|
|
2550
2550
|
E.high = K.high ^ ~q.high & Q.high, E.low = K.low ^ ~q.low & Q.low;
|
|
2551
2551
|
}
|
|
2552
|
-
var E = _[0], J = u[
|
|
2552
|
+
var E = _[0], J = u[G];
|
|
2553
2553
|
E.high ^= J.high, E.low ^= J.low;
|
|
2554
2554
|
}
|
|
2555
2555
|
},
|
|
@@ -2558,8 +2558,8 @@ 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, E = [],
|
|
2562
|
-
var
|
|
2561
|
+
for (var C = this._state, v = this.cfg.outputLength / 8, x = v / 8, E = [], G = 0; G < x; G++) {
|
|
2562
|
+
var H = C[G], k = H.high, T = H.low;
|
|
2563
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
2565
|
return new b.init(E, v);
|
|
@@ -2911,22 +2911,22 @@ function xr() {
|
|
|
2911
2911
|
this._hash = b.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
|
|
2912
2912
|
},
|
|
2913
2913
|
_doProcessBlock: function(x, E) {
|
|
2914
|
-
for (var
|
|
2915
|
-
var
|
|
2916
|
-
x[
|
|
2914
|
+
for (var G = 0; G < 16; G++) {
|
|
2915
|
+
var H = E + G, k = x[H];
|
|
2916
|
+
x[H] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
|
|
2917
2917
|
}
|
|
2918
|
-
var T = this._hash.words,
|
|
2919
|
-
|
|
2920
|
-
for (var J,
|
|
2921
|
-
J =
|
|
2922
|
-
J = T[1] + W + q | 0, T[1] = T[2] +
|
|
2918
|
+
var T = this._hash.words, w = u.words, O = m.words, P = a.words, S = i.words, D = s.words, M = o.words, F, B, W, L, N, A, R, K, q, Q;
|
|
2919
|
+
A = F = T[0], R = B = T[1], K = W = T[2], q = L = T[3], Q = N = T[4];
|
|
2920
|
+
for (var J, G = 0; G < 80; G += 1)
|
|
2921
|
+
J = F + x[E + P[G]] | 0, G < 16 ? J += d(B, W, L) + w[0] : G < 32 ? J += y(B, W, L) + w[1] : G < 48 ? J += _(B, W, L) + w[2] : G < 64 ? J += U(B, W, L) + w[3] : J += C(B, W, L) + w[4], J = J | 0, J = v(J, D[G]), J = J + N | 0, F = N, N = L, L = v(W, 10), W = B, B = J, J = A + x[E + S[G]] | 0, G < 16 ? J += C(R, K, q) + O[0] : G < 32 ? J += U(R, K, q) + O[1] : G < 48 ? J += _(R, K, q) + O[2] : G < 64 ? J += y(R, K, q) + O[3] : J += d(R, K, q) + O[4], J = J | 0, J = v(J, M[G]), J = J + Q | 0, A = Q, Q = q, q = v(K, 10), K = R, R = J;
|
|
2922
|
+
J = T[1] + W + q | 0, T[1] = T[2] + L + Q | 0, T[2] = T[3] + N + A | 0, T[3] = T[4] + F + R | 0, T[4] = T[0] + B + K | 0, T[0] = J;
|
|
2923
2923
|
},
|
|
2924
2924
|
_doFinalize: function() {
|
|
2925
|
-
var x = this._data, E = x.words,
|
|
2926
|
-
E[
|
|
2927
|
-
for (var k = this._hash, T = k.words,
|
|
2928
|
-
var
|
|
2929
|
-
T[
|
|
2925
|
+
var x = this._data, E = x.words, G = this._nDataBytes * 8, H = x.sigBytes * 8;
|
|
2926
|
+
E[H >>> 5] |= 128 << 24 - H % 32, E[(H + 64 >>> 9 << 4) + 14] = (G << 8 | G >>> 24) & 16711935 | (G << 24 | G >>> 8) & 4278255360, x.sigBytes = (E.length + 1) * 4, this._process();
|
|
2927
|
+
for (var k = this._hash, T = k.words, w = 0; w < 5; w++) {
|
|
2928
|
+
var O = T[w];
|
|
2929
|
+
T[w] = (O << 8 | O >>> 24) & 16711935 | (O << 24 | O >>> 8) & 4278255360;
|
|
2930
2930
|
}
|
|
2931
2931
|
return k;
|
|
2932
2932
|
},
|
|
@@ -2935,20 +2935,20 @@ function xr() {
|
|
|
2935
2935
|
return x._hash = this._hash.clone(), x;
|
|
2936
2936
|
}
|
|
2937
2937
|
});
|
|
2938
|
-
function d(x, E,
|
|
2939
|
-
return x ^ E ^
|
|
2938
|
+
function d(x, E, G) {
|
|
2939
|
+
return x ^ E ^ G;
|
|
2940
2940
|
}
|
|
2941
|
-
function y(x, E,
|
|
2942
|
-
return x & E | ~x &
|
|
2941
|
+
function y(x, E, G) {
|
|
2942
|
+
return x & E | ~x & G;
|
|
2943
2943
|
}
|
|
2944
|
-
function _(x, E,
|
|
2945
|
-
return (x | ~E) ^
|
|
2944
|
+
function _(x, E, G) {
|
|
2945
|
+
return (x | ~E) ^ G;
|
|
2946
2946
|
}
|
|
2947
|
-
function U(x, E,
|
|
2948
|
-
return x &
|
|
2947
|
+
function U(x, E, G) {
|
|
2948
|
+
return x & G | E & ~G;
|
|
2949
2949
|
}
|
|
2950
|
-
function C(x, E,
|
|
2951
|
-
return x ^ (E | ~
|
|
2950
|
+
function C(x, E, G) {
|
|
2951
|
+
return x ^ (E | ~G);
|
|
2952
2952
|
}
|
|
2953
2953
|
function v(x, E) {
|
|
2954
2954
|
return x << E | x >>> 32 - E;
|
|
@@ -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, E = x.length,
|
|
3090
|
-
|
|
3091
|
-
for (var k =
|
|
3089
|
+
for (var x = v.words, E = x.length, G = v, H = 1; H < C; H++) {
|
|
3090
|
+
G = m.finalize(G), m.reset();
|
|
3091
|
+
for (var k = G.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, w) {
|
|
3231
|
+
this.cfg = this.cfg.extend(w), this._xformMode = k, this._key = T, this.reset();
|
|
3232
3232
|
},
|
|
3233
3233
|
/**
|
|
3234
3234
|
* Resets this cipher to its initial state.
|
|
@@ -3293,15 +3293,15 @@ function Ne() {
|
|
|
3293
3293
|
*/
|
|
3294
3294
|
_createHelper: /* @__PURE__ */ (function() {
|
|
3295
3295
|
function k(T) {
|
|
3296
|
-
return typeof T == "string" ?
|
|
3296
|
+
return typeof T == "string" ? H : x;
|
|
3297
3297
|
}
|
|
3298
3298
|
return function(T) {
|
|
3299
3299
|
return {
|
|
3300
|
-
encrypt: function(
|
|
3301
|
-
return k(
|
|
3300
|
+
encrypt: function(w, O, P) {
|
|
3301
|
+
return k(O).encrypt(T, w, O, P);
|
|
3302
3302
|
},
|
|
3303
|
-
decrypt: function(
|
|
3304
|
-
return k(
|
|
3303
|
+
decrypt: function(w, O, P) {
|
|
3304
|
+
return k(O).decrypt(T, w, O, P);
|
|
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(w, O) {
|
|
3375
|
+
var P = this._cipher, S = P.blockSize;
|
|
3376
|
+
T.call(this, w, O, S), P.encryptBlock(w, O), this._prevBlock = w.slice(O, O + S);
|
|
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(w, O) {
|
|
3390
|
+
var P = this._cipher, S = P.blockSize, D = w.slice(O, O + S);
|
|
3391
|
+
P.decryptBlock(w, O), T.call(this, w, O, S), this._prevBlock = D;
|
|
3392
3392
|
}
|
|
3393
3393
|
});
|
|
3394
|
-
function T(
|
|
3395
|
-
var
|
|
3396
|
-
|
|
3397
|
-
for (var
|
|
3398
|
-
|
|
3394
|
+
function T(w, O, P) {
|
|
3395
|
+
var S, D = this._iv;
|
|
3396
|
+
D ? (S = D, this._iv = n) : S = this._prevBlock;
|
|
3397
|
+
for (var M = 0; M < P; M++)
|
|
3398
|
+
w[O + M] ^= S[M];
|
|
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
|
-
|
|
3417
|
-
var
|
|
3418
|
-
k.concat(
|
|
3415
|
+
for (var w = T * 4, O = w - k.sigBytes % w, P = O << 24 | O << 16 | O << 8 | O, S = [], D = 0; D < O; D += 4)
|
|
3416
|
+
S.push(P);
|
|
3417
|
+
var M = f.create(S, O);
|
|
3418
|
+
k.concat(M);
|
|
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, w = T.iv, O = T.mode;
|
|
3451
|
+
this._xformMode == this._ENC_XFORM_MODE ? k = O.createEncryptor : (k = O.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == k ? this._mode.init(this, w && w.words) : (this._mode = k.call(O, this, w && w.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, w = k.ciphertext, O = k.salt;
|
|
3519
|
+
return O ? T = f.create([1398893684, 1701076831]).concat(O).concat(w) : T = w, 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, w = i.parse(k), O = w.words;
|
|
3536
|
+
return O[0] == 1398893684 && O[1] == 1701076831 && (T = f.create(O.slice(2, 4)), O.splice(0, 4), w.sigBytes -= 16), U.create({ ciphertext: w, 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, w, O) {
|
|
3566
|
+
O = this.cfg.extend(O);
|
|
3567
|
+
var P = k.createEncryptor(w, O), S = P.finalize(T), D = P.cfg;
|
|
3568
3568
|
return U.create({
|
|
3569
|
-
ciphertext:
|
|
3570
|
-
key:
|
|
3571
|
-
iv:
|
|
3569
|
+
ciphertext: S,
|
|
3570
|
+
key: w,
|
|
3571
|
+
iv: D.iv,
|
|
3572
3572
|
algorithm: k,
|
|
3573
|
-
mode:
|
|
3574
|
-
padding:
|
|
3573
|
+
mode: D.mode,
|
|
3574
|
+
padding: D.padding,
|
|
3575
3575
|
blockSize: k.blockSize,
|
|
3576
|
-
formatter:
|
|
3576
|
+
formatter: O.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, w, O) {
|
|
3597
|
+
O = this.cfg.extend(O), T = this._parse(T, O.format);
|
|
3598
|
+
var P = k.createDecryptor(w, O).finalize(T.ciphertext);
|
|
3599
|
+
return P;
|
|
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
|
-
}), E = p.kdf = {},
|
|
3619
|
+
}), E = p.kdf = {}, G = E.OpenSSL = {
|
|
3620
3620
|
/**
|
|
3621
3621
|
* Derives a key and IV from a password.
|
|
3622
3622
|
*
|
|
@@ -3634,22 +3634,22 @@ 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
|
|
3637
|
+
execute: function(k, T, w, O, P) {
|
|
3638
|
+
if (O || (O = f.random(64 / 8)), P)
|
|
3639
|
+
var S = o.create({ keySize: T + w, hasher: P }).compute(k, O);
|
|
3640
3640
|
else
|
|
3641
|
-
var
|
|
3642
|
-
var
|
|
3643
|
-
return
|
|
3641
|
+
var S = o.create({ keySize: T + w }).compute(k, O);
|
|
3642
|
+
var D = f.create(S.words.slice(T), w * 4);
|
|
3643
|
+
return S.sigBytes = T * 4, U.create({ key: S, iv: D, salt: O });
|
|
3644
3644
|
}
|
|
3645
|
-
},
|
|
3645
|
+
}, H = g.PasswordBasedCipher = x.extend({
|
|
3646
3646
|
/**
|
|
3647
3647
|
* Configuration options.
|
|
3648
3648
|
*
|
|
3649
3649
|
* @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
|
|
3650
3650
|
*/
|
|
3651
3651
|
cfg: x.cfg.extend({
|
|
3652
|
-
kdf:
|
|
3652
|
+
kdf: G
|
|
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
|
|
3676
|
-
return
|
|
3671
|
+
encrypt: function(k, T, w, O) {
|
|
3672
|
+
O = this.cfg.extend(O);
|
|
3673
|
+
var P = O.kdf.execute(w, k.keySize, k.ivSize, O.salt, O.hasher);
|
|
3674
|
+
O.iv = P.iv;
|
|
3675
|
+
var S = x.encrypt.call(this, k, T, P.key, O);
|
|
3676
|
+
return S.mixIn(P), S;
|
|
3677
3677
|
},
|
|
3678
3678
|
/**
|
|
3679
3679
|
* Decrypts serialized ciphertext using a password.
|
|
@@ -3692,12 +3692,12 @@ 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
|
|
3700
|
-
return
|
|
3695
|
+
decrypt: function(k, T, w, O) {
|
|
3696
|
+
O = this.cfg.extend(O), T = this._parse(T, O.format);
|
|
3697
|
+
var P = O.kdf.execute(w, k.keySize, k.ivSize, T.salt, O.hasher);
|
|
3698
|
+
O.iv = P.iv;
|
|
3699
|
+
var S = x.decrypt.call(this, k, T, P.key, O);
|
|
3700
|
+
return S;
|
|
3701
3701
|
}
|
|
3702
3702
|
});
|
|
3703
3703
|
})();
|
|
@@ -3984,25 +3984,25 @@ function eo() {
|
|
|
3984
3984
|
for (var v = 0, x = 0, C = 0; C < 256; C++) {
|
|
3985
3985
|
var E = x ^ x << 1 ^ x << 2 ^ x << 3 ^ x << 4;
|
|
3986
3986
|
E = E >>> 8 ^ E & 255 ^ 99, f[v] = E, l[E] = v;
|
|
3987
|
-
var
|
|
3987
|
+
var G = U[v], H = U[G], k = U[H], 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 ^
|
|
3990
|
-
u[E] = T << 24 | T >>> 8, m[E] = T << 16 | T >>> 16, c[E] = T << 8 | T >>> 24, d[E] = T, v ? (v =
|
|
3989
|
+
var T = k * 16843009 ^ H * 65537 ^ G * 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 = G ^ U[U[U[k ^ G]]], 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, E = this._nRounds = x + 6,
|
|
3998
|
-
k < x ?
|
|
3999
|
-
for (var T = this._invKeySchedule = [],
|
|
4000
|
-
var k =
|
|
4001
|
-
if (
|
|
4002
|
-
var U =
|
|
3997
|
+
for (var C = this._keyPriorReset = this._key, v = C.words, x = C.sigBytes / 4, E = this._nRounds = x + 6, G = (E + 1) * 4, H = this._keySchedule = [], k = 0; k < G; k++)
|
|
3998
|
+
k < x ? H[k] = v[k] : (U = H[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), H[k] = H[k - x] ^ U);
|
|
3999
|
+
for (var T = this._invKeySchedule = [], w = 0; w < G; w++) {
|
|
4000
|
+
var k = G - w;
|
|
4001
|
+
if (w % 4)
|
|
4002
|
+
var U = H[k];
|
|
4003
4003
|
else
|
|
4004
|
-
var U =
|
|
4005
|
-
|
|
4004
|
+
var U = H[k - 4];
|
|
4005
|
+
w < 4 || k <= 4 ? T[w] = U : T[w] = 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, E,
|
|
4019
|
-
for (var T = this._nRounds,
|
|
4020
|
-
var
|
|
4021
|
-
|
|
4018
|
+
_doCryptBlock: function(U, C, v, x, E, G, H, k) {
|
|
4019
|
+
for (var T = this._nRounds, w = U[C] ^ v[0], O = U[C + 1] ^ v[1], P = U[C + 2] ^ v[2], S = U[C + 3] ^ v[3], D = 4, M = 1; M < T; M++) {
|
|
4020
|
+
var F = x[w >>> 24] ^ E[O >>> 16 & 255] ^ G[P >>> 8 & 255] ^ H[S & 255] ^ v[D++], B = x[O >>> 24] ^ E[P >>> 16 & 255] ^ G[S >>> 8 & 255] ^ H[w & 255] ^ v[D++], W = x[P >>> 24] ^ E[S >>> 16 & 255] ^ G[w >>> 8 & 255] ^ H[O & 255] ^ v[D++], L = x[S >>> 24] ^ E[w >>> 16 & 255] ^ G[O >>> 8 & 255] ^ H[P & 255] ^ v[D++];
|
|
4021
|
+
w = F, O = B, P = W, S = L;
|
|
4022
4022
|
}
|
|
4023
|
-
var
|
|
4024
|
-
U[C] =
|
|
4023
|
+
var F = (k[w >>> 24] << 24 | k[O >>> 16 & 255] << 16 | k[P >>> 8 & 255] << 8 | k[S & 255]) ^ v[D++], B = (k[O >>> 24] << 24 | k[P >>> 16 & 255] << 16 | k[S >>> 8 & 255] << 8 | k[w & 255]) ^ v[D++], W = (k[P >>> 24] << 24 | k[S >>> 16 & 255] << 16 | k[w >>> 8 & 255] << 8 | k[O & 255]) ^ v[D++], L = (k[S >>> 24] << 24 | k[w >>> 16 & 255] << 16 | k[O >>> 8 & 255] << 8 | k[P & 255]) ^ v[D++];
|
|
4024
|
+
U[C] = F, U[C + 1] = B, U[C + 2] = W, U[C + 3] = L;
|
|
4025
4025
|
},
|
|
4026
4026
|
keySize: 256 / 32
|
|
4027
4027
|
});
|
|
@@ -4688,12 +4688,12 @@ function io() {
|
|
|
4688
4688
|
U[C] = _[v >>> 5] >>> 31 - v % 32 & 1;
|
|
4689
4689
|
}
|
|
4690
4690
|
for (var x = this._subKeys = [], E = 0; E < 16; E++) {
|
|
4691
|
-
for (var
|
|
4692
|
-
|
|
4693
|
-
|
|
4691
|
+
for (var G = x[E] = [], H = i[E], C = 0; C < 24; C++)
|
|
4692
|
+
G[C / 6 | 0] |= U[(a[C] - 1 + H) % 28] << 31 - C % 6, G[4 + (C / 6 | 0)] |= U[28 + (a[C + 24] - 1 + H) % 28] << 31 - C % 6;
|
|
4693
|
+
G[0] = G[0] << 1 | G[0] >>> 31;
|
|
4694
4694
|
for (var C = 1; C < 7; C++)
|
|
4695
|
-
|
|
4696
|
-
|
|
4695
|
+
G[C] = G[C] >>> (C - 1) * 4 + 3;
|
|
4696
|
+
G[7] = G[7] << 5 | G[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, E = this._rBlock,
|
|
4711
|
-
|
|
4712
|
-
this._lBlock = E, this._rBlock = x ^
|
|
4710
|
+
for (var v = U[C], x = this._lBlock, E = this._rBlock, G = 0, H = 0; H < 8; H++)
|
|
4711
|
+
G |= s[H][((E ^ v[H]) & o[H]) >>> 0];
|
|
4712
|
+
this._lBlock = E, this._rBlock = x ^ G;
|
|
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;
|
|
@@ -6018,8 +6018,8 @@ function uo() {
|
|
|
6018
6018
|
function m(d, y, _) {
|
|
6019
6019
|
for (let E = 0; E < 4; E++) {
|
|
6020
6020
|
d.sbox[E] = [];
|
|
6021
|
-
for (let
|
|
6022
|
-
d.sbox[E][
|
|
6021
|
+
for (let G = 0; G < 256; G++)
|
|
6022
|
+
d.sbox[E][G] = a[E][G];
|
|
6023
6023
|
}
|
|
6024
6024
|
let U = 0;
|
|
6025
6025
|
for (let E = 0; E < f + 2; E++)
|
|
@@ -6028,8 +6028,8 @@ function uo() {
|
|
|
6028
6028
|
for (let E = 0; E < f + 2; E += 2)
|
|
6029
6029
|
x = o(d, C, v), C = x.left, v = x.right, d.pbox[E] = C, d.pbox[E + 1] = v;
|
|
6030
6030
|
for (let E = 0; E < 4; E++)
|
|
6031
|
-
for (let
|
|
6032
|
-
x = o(d, C, v), C = x.left, v = x.right, d.sbox[E][
|
|
6031
|
+
for (let G = 0; G < 256; G += 2)
|
|
6032
|
+
x = o(d, C, v), C = x.left, v = x.right, d.sbox[E][G] = C, d.sbox[E][G + 1] = v;
|
|
6033
6033
|
return !0;
|
|
6034
6034
|
}
|
|
6035
6035
|
var c = b.Blowfish = g.extend({
|
|
@@ -6077,32 +6077,32 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6077
6077
|
padding: va.pad.Pkcs7
|
|
6078
6078
|
}), g = t.toString(va.enc.Base64), b = va.enc.Base64.stringify(p.ciphertext);
|
|
6079
6079
|
return g + ":" + b;
|
|
6080
|
-
},
|
|
6080
|
+
}, me = () => {
|
|
6081
6081
|
const { client: e, formDataClient: r } = se(), t = I(
|
|
6082
6082
|
async (S) => {
|
|
6083
|
-
const { mac_address: D = "", app_version:
|
|
6083
|
+
const { mac_address: D = "", app_version: M = "", anydesk_id: F = "" } = S, { data: B } = await e.post("/cash-register/login", {
|
|
6084
6084
|
mac_address: D,
|
|
6085
|
-
app_version:
|
|
6085
|
+
app_version: M,
|
|
6086
6086
|
anydesk_id: F
|
|
6087
6087
|
});
|
|
6088
|
-
return
|
|
6088
|
+
return B;
|
|
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
6092
|
async (S) => {
|
|
6093
|
-
const { account: D, password:
|
|
6093
|
+
const { account: D, password: M, trans_code: F } = S;
|
|
6094
6094
|
return await e.post("/login", {
|
|
6095
6095
|
memId: D,
|
|
6096
|
-
passwd:
|
|
6096
|
+
passwd: M,
|
|
6097
6097
|
trans_code: F
|
|
6098
6098
|
});
|
|
6099
6099
|
},
|
|
6100
6100
|
[e]
|
|
6101
6101
|
), l = I(async () => await e.post("/logout"), [e]), a = I(
|
|
6102
6102
|
async (S) => {
|
|
6103
|
-
const { gameUid: D = "", status:
|
|
6103
|
+
const { gameUid: D = "", status: M = 0 } = S;
|
|
6104
6104
|
return await e.put(`/member/toggleFavoriteGame/${D}`, {
|
|
6105
|
-
status:
|
|
6105
|
+
status: M
|
|
6106
6106
|
});
|
|
6107
6107
|
},
|
|
6108
6108
|
[e]
|
|
@@ -6110,71 +6110,71 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6110
6110
|
async ({
|
|
6111
6111
|
memberId: S,
|
|
6112
6112
|
password: D,
|
|
6113
|
-
unlimitCode:
|
|
6113
|
+
unlimitCode: M,
|
|
6114
6114
|
email: F,
|
|
6115
|
-
inviteCode:
|
|
6116
|
-
currencyCode:
|
|
6117
|
-
validCode:
|
|
6115
|
+
inviteCode: B,
|
|
6116
|
+
currencyCode: W,
|
|
6117
|
+
validCode: L
|
|
6118
6118
|
}) => {
|
|
6119
|
-
const
|
|
6119
|
+
const N = {
|
|
6120
6120
|
memId: S,
|
|
6121
6121
|
passwd: _a(D),
|
|
6122
6122
|
email: F,
|
|
6123
|
-
currency_code:
|
|
6124
|
-
code:
|
|
6123
|
+
currency_code: W,
|
|
6124
|
+
code: L
|
|
6125
6125
|
};
|
|
6126
|
-
return
|
|
6126
|
+
return M && (N.unlimit_code = M), B && (N.invite = B), e.post("/signUp", N);
|
|
6127
6127
|
},
|
|
6128
6128
|
[e]
|
|
6129
6129
|
), o = I(
|
|
6130
6130
|
async (S) => {
|
|
6131
|
-
const { name: D, birthday:
|
|
6131
|
+
const { name: D, birthday: M, email: F, mobile: B } = S;
|
|
6132
6132
|
return await e.post("/editMembetInfo", {
|
|
6133
6133
|
name: D,
|
|
6134
6134
|
// 暱稱
|
|
6135
|
-
birthday:
|
|
6135
|
+
birthday: M,
|
|
6136
6136
|
// 生日 (格式:YYYY-MM-DD)
|
|
6137
6137
|
email: F,
|
|
6138
6138
|
// 電子郵件
|
|
6139
|
-
mobile:
|
|
6139
|
+
mobile: B
|
|
6140
6140
|
// 手機號碼
|
|
6141
6141
|
});
|
|
6142
6142
|
},
|
|
6143
6143
|
[e]
|
|
6144
6144
|
), u = I(
|
|
6145
6145
|
async (S) => {
|
|
6146
|
-
const { oldPwd: D, newPwd:
|
|
6146
|
+
const { oldPwd: D, newPwd: M } = S;
|
|
6147
6147
|
return await e.post("/passwordReset", {
|
|
6148
6148
|
old_pwd: _a(D),
|
|
6149
|
-
new_pwd: _a(
|
|
6149
|
+
new_pwd: _a(M)
|
|
6150
6150
|
});
|
|
6151
6151
|
},
|
|
6152
6152
|
[e]
|
|
6153
6153
|
), m = I(
|
|
6154
6154
|
async (S) => {
|
|
6155
|
-
const { newPwd: D, confirmNewPwd:
|
|
6155
|
+
const { newPwd: D, confirmNewPwd: M } = S;
|
|
6156
6156
|
return await e.post("/setWithdrawPassword", {
|
|
6157
6157
|
newPassword: _a(D),
|
|
6158
|
-
confirmPassword: _a(
|
|
6158
|
+
confirmPassword: _a(M)
|
|
6159
6159
|
});
|
|
6160
6160
|
},
|
|
6161
6161
|
[e]
|
|
6162
6162
|
), c = I(
|
|
6163
6163
|
async (S) => {
|
|
6164
|
-
const { oldPwd: D, newPwd:
|
|
6164
|
+
const { oldPwd: D, newPwd: M } = S;
|
|
6165
6165
|
return await e.post("/withdrawPasswordReset", {
|
|
6166
6166
|
old_pwd: _a(D),
|
|
6167
|
-
new_pwd: _a(
|
|
6167
|
+
new_pwd: _a(M)
|
|
6168
6168
|
});
|
|
6169
6169
|
},
|
|
6170
6170
|
[e]
|
|
6171
6171
|
), d = I(
|
|
6172
6172
|
async ({ paramsData: S }) => {
|
|
6173
|
-
const { start_time: D, end_time:
|
|
6173
|
+
const { start_time: D, end_time: M, limit: F = 25 } = S || {};
|
|
6174
6174
|
return await e.get("/report/totalprofit", {
|
|
6175
6175
|
params: {
|
|
6176
6176
|
start_time: `${Fe(D).format("YYYY-MM-DD")} 12:00:00`,
|
|
6177
|
-
end_time: `${Fe(
|
|
6177
|
+
end_time: `${Fe(M).format("YYYY-MM-DD")} 11:59:59`,
|
|
6178
6178
|
limit: F
|
|
6179
6179
|
}
|
|
6180
6180
|
});
|
|
@@ -6190,12 +6190,12 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6190
6190
|
[e]
|
|
6191
6191
|
), _ = I(async () => await e.get("/member/checkRestrictedWagering"), [e]), U = I(
|
|
6192
6192
|
async (S) => {
|
|
6193
|
-
const { memId: D, point:
|
|
6193
|
+
const { memId: D, point: M, currency: F, password: B } = S;
|
|
6194
6194
|
return await e.post("/pointsTransaction", {
|
|
6195
6195
|
to_memId: D,
|
|
6196
|
-
point:
|
|
6196
|
+
point: M,
|
|
6197
6197
|
currency: F,
|
|
6198
|
-
password: _a(
|
|
6198
|
+
password: _a(B)
|
|
6199
6199
|
});
|
|
6200
6200
|
},
|
|
6201
6201
|
[e]
|
|
@@ -6203,12 +6203,12 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6203
6203
|
async ({ formData: S }) => {
|
|
6204
6204
|
const {
|
|
6205
6205
|
bank_name: D,
|
|
6206
|
-
bank_account_name:
|
|
6206
|
+
bank_account_name: M,
|
|
6207
6207
|
bank_branch_name: F,
|
|
6208
|
-
bank_account:
|
|
6209
|
-
bank_card_number:
|
|
6210
|
-
id_card:
|
|
6211
|
-
id_pic:
|
|
6208
|
+
bank_account: B,
|
|
6209
|
+
bank_card_number: W,
|
|
6210
|
+
id_card: L,
|
|
6211
|
+
id_pic: N
|
|
6212
6212
|
} = S;
|
|
6213
6213
|
return await r.post("/bindBankAccount", S);
|
|
6214
6214
|
},
|
|
@@ -6223,61 +6223,71 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6223
6223
|
[e]
|
|
6224
6224
|
), x = I(
|
|
6225
6225
|
async (S) => {
|
|
6226
|
-
const { trans_code: D, line_id:
|
|
6226
|
+
const { trans_code: D, line_id: M, invite: F, line_name: B } = S;
|
|
6227
6227
|
return await e.post("/goLine", {
|
|
6228
6228
|
trans_code: D,
|
|
6229
|
-
line_id:
|
|
6229
|
+
line_id: M,
|
|
6230
6230
|
invite: F,
|
|
6231
|
-
line_name:
|
|
6231
|
+
line_name: B
|
|
6232
6232
|
});
|
|
6233
6233
|
},
|
|
6234
6234
|
[e]
|
|
6235
6235
|
), E = I(
|
|
6236
6236
|
async (S) => {
|
|
6237
|
-
const { trans_code: D, line_id:
|
|
6237
|
+
const { trans_code: D, line_id: M, line_name: F } = S;
|
|
6238
6238
|
return await e.post("/login/line", {
|
|
6239
6239
|
trans_code: D,
|
|
6240
|
-
line_id:
|
|
6240
|
+
line_id: M,
|
|
6241
6241
|
line_name: F
|
|
6242
6242
|
});
|
|
6243
6243
|
},
|
|
6244
6244
|
[e]
|
|
6245
|
-
),
|
|
6245
|
+
), G = I(
|
|
6246
6246
|
async (S) => {
|
|
6247
6247
|
const { mac_address: D } = S;
|
|
6248
6248
|
return await e.get(`/machine-login-code/${D}`);
|
|
6249
6249
|
},
|
|
6250
6250
|
[e]
|
|
6251
|
-
),
|
|
6251
|
+
), H = I(
|
|
6252
6252
|
async (S) => {
|
|
6253
|
-
const { member_info_uid: D, point:
|
|
6253
|
+
const { member_info_uid: D, point: M, currency: F, withdraw_password: B } = S;
|
|
6254
6254
|
return await e.post(`/member/transfer/${D}`, {
|
|
6255
|
-
point:
|
|
6255
|
+
point: M,
|
|
6256
6256
|
currency: F,
|
|
6257
|
-
withdraw_password:
|
|
6257
|
+
withdraw_password: B
|
|
6258
6258
|
});
|
|
6259
6259
|
},
|
|
6260
6260
|
[e]
|
|
6261
6261
|
), k = I(
|
|
6262
6262
|
async (S) => {
|
|
6263
|
-
const { mobile: D, verifyCode:
|
|
6263
|
+
const { mobile: D, verifyCode: M } = S;
|
|
6264
6264
|
return await e.post("/sms/verifyValidationCode", {
|
|
6265
6265
|
mobile: D,
|
|
6266
|
-
inputCode:
|
|
6266
|
+
inputCode: M
|
|
6267
6267
|
});
|
|
6268
6268
|
},
|
|
6269
6269
|
[e]
|
|
6270
6270
|
), T = I(
|
|
6271
6271
|
async (S) => {
|
|
6272
|
-
const { mobile: D, verifyCode:
|
|
6272
|
+
const { mobile: D, verifyCode: M, snCode: F } = S;
|
|
6273
6273
|
return await e.post("/goMobile", {
|
|
6274
6274
|
mobile: D,
|
|
6275
|
-
verification_code:
|
|
6275
|
+
verification_code: M,
|
|
6276
6276
|
sn_code: F
|
|
6277
6277
|
});
|
|
6278
6278
|
},
|
|
6279
6279
|
[e]
|
|
6280
|
-
),
|
|
6280
|
+
), w = I(
|
|
6281
|
+
async (S) => {
|
|
6282
|
+
const { mobile: D, verifyCode: M, invite: F } = S;
|
|
6283
|
+
return await e.post("/goMobileByInvite", {
|
|
6284
|
+
mobile: D,
|
|
6285
|
+
verification_code: M,
|
|
6286
|
+
invite: F
|
|
6287
|
+
});
|
|
6288
|
+
},
|
|
6289
|
+
[e]
|
|
6290
|
+
), O = I(
|
|
6281
6291
|
async (S) => {
|
|
6282
6292
|
const { mobile: D } = S;
|
|
6283
6293
|
return await e.get("/sms/getValidCode", {
|
|
@@ -6287,12 +6297,12 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6287
6297
|
});
|
|
6288
6298
|
},
|
|
6289
6299
|
[e]
|
|
6290
|
-
),
|
|
6300
|
+
), P = I(
|
|
6291
6301
|
async (S) => {
|
|
6292
|
-
const { bindType: D, bindId:
|
|
6302
|
+
const { bindType: D, bindId: M } = S;
|
|
6293
6303
|
return await e.post("/member/bindThirdPartyAccount", {
|
|
6294
6304
|
bind_type: D,
|
|
6295
|
-
bind_id:
|
|
6305
|
+
bind_id: M
|
|
6296
6306
|
});
|
|
6297
6307
|
},
|
|
6298
6308
|
[e]
|
|
@@ -6320,15 +6330,16 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6320
6330
|
abandonPointsApi: v,
|
|
6321
6331
|
lineLoginApi: x,
|
|
6322
6332
|
lineLogin2Api: E,
|
|
6323
|
-
getMachineLoginCodeApi:
|
|
6324
|
-
memberTransferApi:
|
|
6333
|
+
getMachineLoginCodeApi: G,
|
|
6334
|
+
memberTransferApi: H,
|
|
6325
6335
|
mobileLoginApi: k,
|
|
6326
|
-
sendMobileVerifyCodeApi:
|
|
6336
|
+
sendMobileVerifyCodeApi: O,
|
|
6327
6337
|
mobileLoginApiV2: T,
|
|
6328
|
-
bindAccountApi:
|
|
6338
|
+
bindAccountApi: P,
|
|
6339
|
+
mobileRegisterApi: w
|
|
6329
6340
|
};
|
|
6330
6341
|
}, vm = ({ otherQueryKey: e = [], options: r = {} } = {}) => {
|
|
6331
|
-
const { userCurrencyExchangeApi: t } =
|
|
6342
|
+
const { userCurrencyExchangeApi: t } = me(), { getToken: n } = se(), { enabled: p, ...g } = r, f = !!n?.() && (p ? p.every((l) => l) : !0);
|
|
6332
6343
|
return Hn({
|
|
6333
6344
|
queries: [
|
|
6334
6345
|
{
|
|
@@ -6346,7 +6357,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6346
6357
|
trigger: r = [],
|
|
6347
6358
|
enabled: t = !0
|
|
6348
6359
|
} = {}) => {
|
|
6349
|
-
const { getToken: n } = se(), p = n?.(), { userInfoApi: g } =
|
|
6360
|
+
const { getToken: n } = se(), p = n?.(), { userInfoApi: g } = me();
|
|
6350
6361
|
return Hn({
|
|
6351
6362
|
queries: [
|
|
6352
6363
|
{
|
|
@@ -6363,7 +6374,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6363
6374
|
userFavoriteGameApi: t,
|
|
6364
6375
|
userGameListApi: n,
|
|
6365
6376
|
userCurrencyExchangeApi: p
|
|
6366
|
-
} =
|
|
6377
|
+
} = me(), g = ne({
|
|
6367
6378
|
queryKey: ["getMemInfo"],
|
|
6368
6379
|
queryFn: async () => r(),
|
|
6369
6380
|
enabled: e
|
|
@@ -7143,32 +7154,32 @@ function Ct() {
|
|
|
7143
7154
|
return b.UNPARSABLE_JSON_OBJECT;
|
|
7144
7155
|
}
|
|
7145
7156
|
return null;
|
|
7146
|
-
}, [d, u.disableJson]), x = (0, p.useRef)(null), E = (0, p.useRef)(null),
|
|
7147
|
-
}),
|
|
7148
|
-
|
|
7149
|
-
var
|
|
7150
|
-
var
|
|
7157
|
+
}, [d, u.disableJson]), x = (0, p.useRef)(null), E = (0, p.useRef)(null), G = (0, p.useRef)(function() {
|
|
7158
|
+
}), H = (0, p.useRef)(0), k = (0, p.useRef)(Date.now()), T = (0, p.useRef)([]), w = (0, p.useRef)(null), O = (0, p.useRef)(u);
|
|
7159
|
+
O.current = u;
|
|
7160
|
+
var P = x.current && U[x.current] !== void 0 ? U[x.current] : o !== null && m === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, S = u.queryParams ? JSON.stringify(u.queryParams) : null, D = (0, p.useCallback)(function(B, W) {
|
|
7161
|
+
var L;
|
|
7151
7162
|
if (W === void 0 && (W = !0), b.isEventSourceSupported && E.current instanceof EventSource) {
|
|
7152
7163
|
console.warn("Unable to send a message from an eventSource");
|
|
7153
7164
|
return;
|
|
7154
7165
|
}
|
|
7155
|
-
((
|
|
7156
|
-
}, []),
|
|
7157
|
-
W === void 0 && (W = !0),
|
|
7158
|
-
}, [
|
|
7159
|
-
return
|
|
7166
|
+
((L = E.current) === null || L === void 0 ? void 0 : L.readyState) === b.ReadyState.OPEN ? ((0, i.assertIsWebSocket)(E.current, O.current.skipAssert), E.current.send(B)) : W && T.current.push(B);
|
|
7167
|
+
}, []), M = (0, p.useCallback)(function(B, W) {
|
|
7168
|
+
W === void 0 && (W = !0), D(JSON.stringify(B), W);
|
|
7169
|
+
}, [D]), F = (0, p.useCallback)(function() {
|
|
7170
|
+
return O.current.share !== !0 || b.isEventSourceSupported && E.current instanceof EventSource ? E.current : (w.current === null && E.current && ((0, i.assertIsWebSocket)(E.current, O.current.skipAssert), w.current = (0, a.default)(E.current, G)), w.current);
|
|
7160
7171
|
}, []);
|
|
7161
7172
|
return (0, p.useEffect)(function() {
|
|
7162
7173
|
if (o !== null && m === !0) {
|
|
7163
|
-
var
|
|
7174
|
+
var B, W = !1, L = !0, N = function() {
|
|
7164
7175
|
return r(void 0, void 0, void 0, function() {
|
|
7165
|
-
var
|
|
7176
|
+
var A, R, K;
|
|
7166
7177
|
return t(this, function(q) {
|
|
7167
7178
|
switch (q.label) {
|
|
7168
7179
|
case 0:
|
|
7169
|
-
return
|
|
7180
|
+
return A = x, [4, (0, l.getUrl)(o, O)];
|
|
7170
7181
|
case 1:
|
|
7171
|
-
return
|
|
7182
|
+
return A.current = q.sent(), x.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), x.current = "ABORTED", (0, g.flushSync)(function() {
|
|
7172
7183
|
return C(function(Q) {
|
|
7173
7184
|
return e(e({}, Q), { ABORTED: b.ReadyState.CLOSED });
|
|
7174
7185
|
});
|
|
@@ -7186,7 +7197,7 @@ function Ct() {
|
|
|
7186
7197
|
return e(e({}, J), x.current && (ee = {}, ee[x.current] = Q, ee));
|
|
7187
7198
|
});
|
|
7188
7199
|
});
|
|
7189
|
-
},
|
|
7200
|
+
}, L && (B = (0, f.createOrJoinSocket)(E, x.current, K, O, R, G, H, k, D)), [
|
|
7190
7201
|
2
|
|
7191
7202
|
/*return*/
|
|
7192
7203
|
]);
|
|
@@ -7194,26 +7205,26 @@ function Ct() {
|
|
|
7194
7205
|
});
|
|
7195
7206
|
});
|
|
7196
7207
|
};
|
|
7197
|
-
return
|
|
7198
|
-
W || (
|
|
7199
|
-
},
|
|
7200
|
-
W = !0,
|
|
7208
|
+
return G.current = function() {
|
|
7209
|
+
W || (w.current && (w.current = null), B?.(), N());
|
|
7210
|
+
}, N(), function() {
|
|
7211
|
+
W = !0, L = !1, w.current && (w.current = null), B?.(), y(null);
|
|
7201
7212
|
};
|
|
7202
|
-
} else (o === null || m === !1) && (
|
|
7213
|
+
} else (o === null || m === !1) && (H.current = 0, C(function(A) {
|
|
7203
7214
|
var R;
|
|
7204
|
-
return e(e({},
|
|
7215
|
+
return e(e({}, A), x.current && (R = {}, R[x.current] = b.ReadyState.CLOSED, R));
|
|
7205
7216
|
}));
|
|
7206
|
-
}, [o, m,
|
|
7207
|
-
|
|
7208
|
-
|
|
7217
|
+
}, [o, m, S, D]), (0, p.useEffect)(function() {
|
|
7218
|
+
P === b.ReadyState.OPEN && T.current.splice(0).forEach(function(B) {
|
|
7219
|
+
D(B);
|
|
7209
7220
|
});
|
|
7210
|
-
}, [
|
|
7211
|
-
sendMessage:
|
|
7212
|
-
sendJsonMessage:
|
|
7221
|
+
}, [P]), {
|
|
7222
|
+
sendMessage: D,
|
|
7223
|
+
sendJsonMessage: M,
|
|
7213
7224
|
lastMessage: d,
|
|
7214
7225
|
lastJsonMessage: v,
|
|
7215
|
-
readyState:
|
|
7216
|
-
getWebSocket:
|
|
7226
|
+
readyState: P,
|
|
7227
|
+
getWebSocket: F
|
|
7217
7228
|
};
|
|
7218
7229
|
};
|
|
7219
7230
|
return Ve.useWebSocket = s, Ve;
|
|
@@ -7381,63 +7392,63 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
7381
7392
|
});
|
|
7382
7393
|
} };
|
|
7383
7394
|
}, Eo = ({ options: e } = {}) => {
|
|
7384
|
-
const { userLoginApi: r } =
|
|
7395
|
+
const { userLoginApi: r } = me();
|
|
7385
7396
|
return oe({
|
|
7386
7397
|
mutationKey: ["userLogin"],
|
|
7387
7398
|
mutationFn: async (t) => r(t),
|
|
7388
7399
|
...e
|
|
7389
7400
|
});
|
|
7390
7401
|
}, No = ({ options: e } = {}) => {
|
|
7391
|
-
const { userLogoutApi: r } =
|
|
7402
|
+
const { userLogoutApi: r } = me();
|
|
7392
7403
|
return oe({
|
|
7393
7404
|
mutationKey: ["userLogout"],
|
|
7394
7405
|
mutationFn: async () => r(),
|
|
7395
7406
|
...e
|
|
7396
7407
|
});
|
|
7397
7408
|
}, Lo = ({ options: e } = {}) => {
|
|
7398
|
-
const { userSignUpApi: r } =
|
|
7409
|
+
const { userSignUpApi: r } = me();
|
|
7399
7410
|
return oe({
|
|
7400
7411
|
mutationKey: ["userSignUp"],
|
|
7401
7412
|
mutationFn: async (t) => r(t),
|
|
7402
7413
|
...e
|
|
7403
7414
|
});
|
|
7404
7415
|
}, Go = ({ options: e } = {}) => {
|
|
7405
|
-
const { addOrRemoveFavoriteGameApi: r } =
|
|
7416
|
+
const { addOrRemoveFavoriteGameApi: r } = me();
|
|
7406
7417
|
return oe({
|
|
7407
7418
|
mutationKey: ["toggleFavoriteGame"],
|
|
7408
7419
|
mutationFn: async (t) => r(t),
|
|
7409
7420
|
...e
|
|
7410
7421
|
});
|
|
7411
7422
|
}, Mo = ({ options: e } = {}) => {
|
|
7412
|
-
const { updateUserInfoApi: r } =
|
|
7423
|
+
const { updateUserInfoApi: r } = me();
|
|
7413
7424
|
return oe({
|
|
7414
7425
|
mutationKey: ["updateUserInfo"],
|
|
7415
7426
|
mutationFn: async (t) => r(t),
|
|
7416
7427
|
...e
|
|
7417
7428
|
});
|
|
7418
7429
|
}, Ro = ({ options: e } = {}) => {
|
|
7419
|
-
const { resetUserPasswordApi: r } =
|
|
7430
|
+
const { resetUserPasswordApi: r } = me();
|
|
7420
7431
|
return oe({
|
|
7421
7432
|
mutationKey: ["resetUserPassword"],
|
|
7422
7433
|
mutationFn: async (t) => r(t),
|
|
7423
7434
|
...e
|
|
7424
7435
|
});
|
|
7425
7436
|
}, Po = ({ options: e } = {}) => {
|
|
7426
|
-
const { setUserTransactionPasswordApi: r } =
|
|
7437
|
+
const { setUserTransactionPasswordApi: r } = me();
|
|
7427
7438
|
return oe({
|
|
7428
7439
|
mutationKey: ["setUserTransactionPassword"],
|
|
7429
7440
|
mutationFn: async (t) => r(t),
|
|
7430
7441
|
...e
|
|
7431
7442
|
});
|
|
7432
7443
|
}, Fo = ({ options: e } = {}) => {
|
|
7433
|
-
const { resetUserTransactionPasswordApi: r } =
|
|
7444
|
+
const { resetUserTransactionPasswordApi: r } = me();
|
|
7434
7445
|
return oe({
|
|
7435
7446
|
mutationKey: ["resetUserTransactionPassword"],
|
|
7436
7447
|
mutationFn: async (t) => r(t),
|
|
7437
7448
|
...e
|
|
7438
7449
|
});
|
|
7439
7450
|
}, wo = ({ paramsData: e, options: r } = {}) => {
|
|
7440
|
-
const { userRebateApi: t } =
|
|
7451
|
+
const { userRebateApi: t } = me(), { getToken: n } = se();
|
|
7441
7452
|
return n?.(), ne({
|
|
7442
7453
|
queryKey: ["userRebate", e],
|
|
7443
7454
|
queryFn: async () => t({ paramsData: e }),
|
|
@@ -7445,14 +7456,14 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
7445
7456
|
...r
|
|
7446
7457
|
});
|
|
7447
7458
|
}, Ao = ({ options: e } = {}) => {
|
|
7448
|
-
const { userBindBankApi: r } =
|
|
7459
|
+
const { userBindBankApi: r } = me();
|
|
7449
7460
|
return oe({
|
|
7450
7461
|
mutationKey: ["userBindBank"],
|
|
7451
7462
|
mutationFn: async (t) => r({ formData: t }),
|
|
7452
7463
|
...e
|
|
7453
7464
|
});
|
|
7454
7465
|
}, Oo = ({ options: e } = {}) => {
|
|
7455
|
-
const { transferInGameApi: r } =
|
|
7466
|
+
const { transferInGameApi: r } = me();
|
|
7456
7467
|
return oe({
|
|
7457
7468
|
mutationKey: ["transferInGame"],
|
|
7458
7469
|
mutationFn: async (t) => r(t),
|
|
@@ -7460,7 +7471,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
7460
7471
|
...e
|
|
7461
7472
|
});
|
|
7462
7473
|
}, xm = ({ options: e } = {}) => {
|
|
7463
|
-
const { currency: r } = se(), { pointTransferApi: t } =
|
|
7474
|
+
const { currency: r } = se(), { pointTransferApi: t } = me();
|
|
7464
7475
|
return oe({
|
|
7465
7476
|
mutationKey: ["pointTransfer"],
|
|
7466
7477
|
mutationFn: async (n) => t({
|
|
@@ -7470,7 +7481,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
7470
7481
|
...e
|
|
7471
7482
|
});
|
|
7472
7483
|
}, Sm = ({ options: e } = {}) => {
|
|
7473
|
-
const { currency: r } = se(), { checkUserWagerApi: t } =
|
|
7484
|
+
const { currency: r } = se(), { checkUserWagerApi: t } = me();
|
|
7474
7485
|
return ne({
|
|
7475
7486
|
queryKey: ["checkUserWager"],
|
|
7476
7487
|
queryFn: async () => t(),
|
|
@@ -7483,7 +7494,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
7483
7494
|
...e
|
|
7484
7495
|
});
|
|
7485
7496
|
}, Dm = ({ options: e } = {}) => {
|
|
7486
|
-
const r = pt(), { abandonPointsApi: t } =
|
|
7497
|
+
const r = pt(), { abandonPointsApi: t } = me();
|
|
7487
7498
|
return oe({
|
|
7488
7499
|
mutationKey: ["abandonPoint"],
|
|
7489
7500
|
mutationFn: async (n) => t({
|
|
@@ -7495,62 +7506,69 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
7495
7506
|
...e
|
|
7496
7507
|
});
|
|
7497
7508
|
}, tl = ({ options: e } = {}) => {
|
|
7498
|
-
const { lineLoginApi: r } =
|
|
7509
|
+
const { lineLoginApi: r } = me();
|
|
7499
7510
|
return oe({
|
|
7500
7511
|
mutationKey: ["lineLogin"],
|
|
7501
7512
|
mutationFn: async (t) => r(t),
|
|
7502
7513
|
...e
|
|
7503
7514
|
});
|
|
7504
7515
|
}, Bo = ({ options: e } = {}) => {
|
|
7505
|
-
const { lineLogin2Api: r } =
|
|
7516
|
+
const { lineLogin2Api: r } = me();
|
|
7506
7517
|
return oe({
|
|
7507
7518
|
mutationKey: ["lineLogin"],
|
|
7508
7519
|
mutationFn: async (t) => r(t),
|
|
7509
7520
|
...e
|
|
7510
7521
|
});
|
|
7511
7522
|
}, Ho = ({ options: e, formData: r } = {}) => {
|
|
7512
|
-
const { getMachineLoginCodeApi: t } =
|
|
7523
|
+
const { getMachineLoginCodeApi: t } = me();
|
|
7513
7524
|
return ne({
|
|
7514
7525
|
queryKey: ["getMachineLoginCode"],
|
|
7515
7526
|
queryFn: async () => t(r),
|
|
7516
7527
|
...e
|
|
7517
7528
|
});
|
|
7518
7529
|
}, Em = ({ options: e } = {}) => {
|
|
7519
|
-
const { currency: r } = se(), { memberTransferApi: t } =
|
|
7530
|
+
const { currency: r } = se(), { memberTransferApi: t } = me();
|
|
7520
7531
|
return oe({
|
|
7521
7532
|
mutationKey: ["memberTransfer"],
|
|
7522
7533
|
mutationFn: async (n) => t({ ...n, currency: r }),
|
|
7523
7534
|
...e
|
|
7524
7535
|
});
|
|
7525
7536
|
}, Nm = ({ options: e } = {}) => {
|
|
7526
|
-
const { mobileLoginApi: r } =
|
|
7537
|
+
const { mobileLoginApi: r } = me();
|
|
7527
7538
|
return oe({
|
|
7528
7539
|
mutationKey: ["mobileLogin"],
|
|
7529
7540
|
mutationFn: async (t) => r(t),
|
|
7530
7541
|
...e
|
|
7531
7542
|
});
|
|
7532
7543
|
}, Lm = ({ options: e } = {}) => {
|
|
7533
|
-
const { mobileLoginApiV2: r } =
|
|
7544
|
+
const { mobileLoginApiV2: r } = me();
|
|
7534
7545
|
return oe({
|
|
7535
7546
|
mutationKey: ["mobileLoginV2"],
|
|
7536
7547
|
mutationFn: async (t) => r(t),
|
|
7537
7548
|
...e
|
|
7538
7549
|
});
|
|
7550
|
+
}, Gm = ({ options: e } = {}) => {
|
|
7551
|
+
const { mobileRegisterApi: r } = me();
|
|
7552
|
+
return oe({
|
|
7553
|
+
mutationKey: ["mobileRegister"],
|
|
7554
|
+
mutationFn: async (t) => r(t),
|
|
7555
|
+
...e
|
|
7556
|
+
});
|
|
7539
7557
|
}, Wo = ({ options: e } = {}) => {
|
|
7540
|
-
const { bindAccountApi: r } =
|
|
7558
|
+
const { bindAccountApi: r } = me();
|
|
7541
7559
|
return oe({
|
|
7542
7560
|
mutationKey: ["bindAccount"],
|
|
7543
7561
|
mutationFn: async (t) => r(t),
|
|
7544
7562
|
...e
|
|
7545
7563
|
});
|
|
7546
|
-
},
|
|
7547
|
-
const { sendMobileVerifyCodeApi: r } =
|
|
7564
|
+
}, Mm = ({ options: e } = {}) => {
|
|
7565
|
+
const { sendMobileVerifyCodeApi: r } = me();
|
|
7548
7566
|
return oe({
|
|
7549
7567
|
mutationKey: ["sendMobileVerifyCode"],
|
|
7550
7568
|
mutationFn: async (t) => r(t),
|
|
7551
7569
|
...e
|
|
7552
7570
|
});
|
|
7553
|
-
},
|
|
7571
|
+
}, Rm = ({
|
|
7554
7572
|
options: e = {
|
|
7555
7573
|
login: {},
|
|
7556
7574
|
logout: {},
|
|
@@ -7599,7 +7617,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
7599
7617
|
UPDATE_ONLY_ONE_MEMBER: "update_only_one_member",
|
|
7600
7618
|
GAME_MAINTAIN: "game_maintain",
|
|
7601
7619
|
LINE_LOGIN: "line_login"
|
|
7602
|
-
}, zo = 3e4,
|
|
7620
|
+
}, zo = 3e4, Pm = ({
|
|
7603
7621
|
socketUrl: e,
|
|
7604
7622
|
socketHandlers: r = {},
|
|
7605
7623
|
options: t = {},
|
|
@@ -7621,18 +7639,18 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
7621
7639
|
!1
|
|
7622
7640
|
), { mutateAsync: C } = tl({
|
|
7623
7641
|
options: {
|
|
7624
|
-
onSuccess: (
|
|
7625
|
-
d.current.onLineLogin?.(
|
|
7642
|
+
onSuccess: (P) => {
|
|
7643
|
+
d.current.onLineLogin?.(P);
|
|
7626
7644
|
},
|
|
7627
7645
|
retry: !1
|
|
7628
7646
|
}
|
|
7629
7647
|
}), { mutateAsync: v } = Bo({
|
|
7630
7648
|
options: {
|
|
7631
|
-
onSuccess: (
|
|
7632
|
-
d.current.onLineLogin?.(
|
|
7649
|
+
onSuccess: (P) => {
|
|
7650
|
+
d.current.onLineLogin?.(P);
|
|
7633
7651
|
},
|
|
7634
|
-
onError: (
|
|
7635
|
-
b || C(
|
|
7652
|
+
onError: (P, S) => {
|
|
7653
|
+
b || C(S);
|
|
7636
7654
|
}
|
|
7637
7655
|
}
|
|
7638
7656
|
}), { handleTransferInGame: x } = Do({
|
|
@@ -7644,9 +7662,9 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
7644
7662
|
}), {
|
|
7645
7663
|
sendMessage: E,
|
|
7646
7664
|
// 發送普通訊息
|
|
7647
|
-
sendJsonMessage:
|
|
7665
|
+
sendJsonMessage: G,
|
|
7648
7666
|
// 發送 JSON 訊息
|
|
7649
|
-
lastMessage:
|
|
7667
|
+
lastMessage: H,
|
|
7650
7668
|
// 最後接收到的訊息
|
|
7651
7669
|
// lastJsonMessage, // 最後接收到的 JSON 訊息
|
|
7652
7670
|
readyState: k
|
|
@@ -7661,27 +7679,27 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
7661
7679
|
...t
|
|
7662
7680
|
}), T = Oa(() => {
|
|
7663
7681
|
try {
|
|
7664
|
-
return JSON.parse(
|
|
7682
|
+
return JSON.parse(H?.data);
|
|
7665
7683
|
} catch {
|
|
7666
7684
|
return null;
|
|
7667
7685
|
}
|
|
7668
|
-
}, [
|
|
7686
|
+
}, [H]);
|
|
7669
7687
|
pe(() => {
|
|
7670
|
-
const
|
|
7688
|
+
const P = setInterval(
|
|
7671
7689
|
() => E("ping"),
|
|
7672
7690
|
zo
|
|
7673
7691
|
);
|
|
7674
|
-
return () => clearInterval(
|
|
7692
|
+
return () => clearInterval(P);
|
|
7675
7693
|
}, [E]);
|
|
7676
|
-
const
|
|
7677
|
-
(
|
|
7694
|
+
const w = I(
|
|
7695
|
+
(P, S) => {
|
|
7678
7696
|
g && f.dispatch({
|
|
7679
7697
|
type: "ui/openNotificationModal",
|
|
7680
7698
|
payload: {
|
|
7681
7699
|
title: Qa[m] || "System Prompt",
|
|
7682
|
-
content:
|
|
7700
|
+
content: P,
|
|
7683
7701
|
type: "warning",
|
|
7684
|
-
props:
|
|
7702
|
+
props: S
|
|
7685
7703
|
}
|
|
7686
7704
|
});
|
|
7687
7705
|
},
|
|
@@ -7690,55 +7708,55 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
7690
7708
|
pe(() => {
|
|
7691
7709
|
d.current = r;
|
|
7692
7710
|
}, [r]);
|
|
7693
|
-
const
|
|
7711
|
+
const O = X(null);
|
|
7694
7712
|
return pe(() => {
|
|
7695
|
-
if (!T ||
|
|
7713
|
+
if (!T || O.current === T)
|
|
7696
7714
|
return;
|
|
7697
|
-
|
|
7715
|
+
O.current = T;
|
|
7698
7716
|
const {
|
|
7699
|
-
onDeposit:
|
|
7700
|
-
onTransCode:
|
|
7701
|
-
onError:
|
|
7702
|
-
onUpdateMember:
|
|
7703
|
-
onMaintainNotice:
|
|
7704
|
-
onMaintainNoticeMember:
|
|
7717
|
+
onDeposit: P,
|
|
7718
|
+
onTransCode: S,
|
|
7719
|
+
onError: D,
|
|
7720
|
+
onUpdateMember: M,
|
|
7721
|
+
onMaintainNotice: F,
|
|
7722
|
+
onMaintainNoticeMember: B,
|
|
7705
7723
|
onTransferInGame: W,
|
|
7706
|
-
onCashRegisterLimit:
|
|
7707
|
-
onLineLogin:
|
|
7708
|
-
} = d.current,
|
|
7724
|
+
onCashRegisterLimit: L,
|
|
7725
|
+
onLineLogin: N
|
|
7726
|
+
} = d.current, A = ge(T, "type", ""), R = {
|
|
7709
7727
|
memberInfoUid: ge(T, "member_info_uid", null),
|
|
7710
7728
|
data: ge(T, "data", null),
|
|
7711
7729
|
memo: ge(T, "memo", null),
|
|
7712
7730
|
amount: ge(T, "amount", null),
|
|
7713
7731
|
limitAmount: ge(T, "limit_amount", null)
|
|
7714
7732
|
}, 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);
|
|
7715
|
-
switch (
|
|
7733
|
+
switch (A) {
|
|
7716
7734
|
case He.DEPOSIT:
|
|
7717
|
-
K && (x(),
|
|
7735
|
+
K && (x(), P?.(R));
|
|
7718
7736
|
break;
|
|
7719
7737
|
case He.TRANS_CODE:
|
|
7720
|
-
|
|
7738
|
+
S?.(R);
|
|
7721
7739
|
break;
|
|
7722
7740
|
case He.ERROR:
|
|
7723
7741
|
if (K) {
|
|
7724
7742
|
const le = ge(T, "open_game_modal", 0) === 1;
|
|
7725
|
-
|
|
7743
|
+
w(q, {
|
|
7726
7744
|
notificationType: le ? "gamingNotice" : void 0
|
|
7727
|
-
}),
|
|
7745
|
+
}), D?.(R);
|
|
7728
7746
|
}
|
|
7729
7747
|
break;
|
|
7730
7748
|
case He.UPDATE_MEMBER:
|
|
7731
7749
|
y && (a.invalidateQueries({
|
|
7732
7750
|
queryKey: ["getMemberInfo"]
|
|
7733
|
-
}),
|
|
7751
|
+
}), M?.(R));
|
|
7734
7752
|
break;
|
|
7735
7753
|
case He.MAINTAIN_NOTICE:
|
|
7736
|
-
|
|
7754
|
+
w(q, {
|
|
7737
7755
|
notificationType: "maintainNotice"
|
|
7738
|
-
}),
|
|
7756
|
+
}), F?.(R);
|
|
7739
7757
|
break;
|
|
7740
7758
|
case He.MAINTAIN_NOTICE_MEMBER:
|
|
7741
|
-
K && (
|
|
7759
|
+
K && (w(q), B?.(R), setTimeout(() => {
|
|
7742
7760
|
window.location.reload();
|
|
7743
7761
|
}, 5e4));
|
|
7744
7762
|
break;
|
|
@@ -7776,19 +7794,19 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
7776
7794
|
}
|
|
7777
7795
|
break;
|
|
7778
7796
|
case He.CASH_REGISTER_LIMIT:
|
|
7779
|
-
|
|
7797
|
+
w(q, {
|
|
7780
7798
|
notificationType: "cashRegisterLimit",
|
|
7781
7799
|
amount: Q,
|
|
7782
7800
|
limitAmount: J
|
|
7783
|
-
}),
|
|
7801
|
+
}), L?.(R);
|
|
7784
7802
|
break;
|
|
7785
7803
|
case He.UPDATE_ONLY_ONE_MEMBER:
|
|
7786
7804
|
K && (a.invalidateQueries({
|
|
7787
7805
|
queryKey: ["getMemberInfo"]
|
|
7788
|
-
}),
|
|
7806
|
+
}), M?.(R));
|
|
7789
7807
|
break;
|
|
7790
7808
|
case He.GAME_MAINTAIN:
|
|
7791
|
-
|
|
7809
|
+
w(q, {
|
|
7792
7810
|
notificationType: "gameMaintain"
|
|
7793
7811
|
});
|
|
7794
7812
|
break;
|
|
@@ -7799,7 +7817,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
7799
7817
|
});
|
|
7800
7818
|
break;
|
|
7801
7819
|
default:
|
|
7802
|
-
console.warn("Unknown socket type:",
|
|
7820
|
+
console.warn("Unknown socket type:", A);
|
|
7803
7821
|
break;
|
|
7804
7822
|
}
|
|
7805
7823
|
}, [
|
|
@@ -7808,25 +7826,25 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
7808
7826
|
f,
|
|
7809
7827
|
a,
|
|
7810
7828
|
m,
|
|
7811
|
-
|
|
7829
|
+
w,
|
|
7812
7830
|
o,
|
|
7813
7831
|
x,
|
|
7814
7832
|
U,
|
|
7815
7833
|
s
|
|
7816
7834
|
]), pe(() => () => c.current = !0, []), pe(() => {
|
|
7817
7835
|
if (U) {
|
|
7818
|
-
const
|
|
7836
|
+
const P = localStorage.getItem(
|
|
7819
7837
|
"transfer_in_game_request_id"
|
|
7820
7838
|
);
|
|
7821
|
-
|
|
7839
|
+
P && y && o && G({
|
|
7822
7840
|
type: He.CHECK_REQUEST,
|
|
7823
|
-
request_id:
|
|
7841
|
+
request_id: P,
|
|
7824
7842
|
member_info_uid: y
|
|
7825
7843
|
});
|
|
7826
7844
|
}
|
|
7827
|
-
}, [y, o,
|
|
7845
|
+
}, [y, o, G, U]), {
|
|
7828
7846
|
sendMessage: E,
|
|
7829
|
-
sendJsonMessage:
|
|
7847
|
+
sendJsonMessage: G,
|
|
7830
7848
|
readyState: k
|
|
7831
7849
|
// WebSocket 連線狀態
|
|
7832
7850
|
};
|
|
@@ -7979,7 +7997,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
7979
7997
|
},
|
|
7980
7998
|
...r
|
|
7981
7999
|
});
|
|
7982
|
-
},
|
|
8000
|
+
}, Fm = ({ options: e } = {}) => {
|
|
7983
8001
|
const { redeemEventRewardApi: r } = Ji();
|
|
7984
8002
|
return oe({
|
|
7985
8003
|
mutationKey: ["redeemEventReward"],
|
|
@@ -8001,7 +8019,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
8001
8019
|
select: (n) => n.data.event_status,
|
|
8002
8020
|
...e
|
|
8003
8021
|
});
|
|
8004
|
-
},
|
|
8022
|
+
}, wm = ({
|
|
8005
8023
|
options: e = {
|
|
8006
8024
|
eventList: {},
|
|
8007
8025
|
checkEventProgress: {},
|
|
@@ -8032,7 +8050,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
8032
8050
|
commonInboxApi: n,
|
|
8033
8051
|
commonReadInboxApi: p
|
|
8034
8052
|
};
|
|
8035
|
-
},
|
|
8053
|
+
}, Am = () => {
|
|
8036
8054
|
const { lng: e, data2URL: r } = se(), { commonCarouselApi: t } = Ki(), n = Ye(e);
|
|
8037
8055
|
return ne({
|
|
8038
8056
|
queryKey: ["getCarouselList"],
|
|
@@ -8053,7 +8071,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
8053
8071
|
};
|
|
8054
8072
|
})
|
|
8055
8073
|
});
|
|
8056
|
-
},
|
|
8074
|
+
}, Om = () => {
|
|
8057
8075
|
const { lng: e } = se(), { commonMarqueeApi: r } = Ki(), t = Ye(e);
|
|
8058
8076
|
return ne({
|
|
8059
8077
|
queryKey: ["getMarqueeList"],
|
|
@@ -8066,8 +8084,8 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
8066
8084
|
return We(p, (b) => b[t] || b["en-US"]);
|
|
8067
8085
|
}
|
|
8068
8086
|
});
|
|
8069
|
-
},
|
|
8070
|
-
const { rankingGameApi: r } =
|
|
8087
|
+
}, Bm = ({ options: e } = {}) => {
|
|
8088
|
+
const { rankingGameApi: r } = me();
|
|
8071
8089
|
return ne({
|
|
8072
8090
|
queryKey: ["rankingGame"],
|
|
8073
8091
|
queryFn: async () => r(),
|
|
@@ -8135,7 +8153,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
8135
8153
|
mutationFn: async (t) => await r(t),
|
|
8136
8154
|
...e
|
|
8137
8155
|
});
|
|
8138
|
-
},
|
|
8156
|
+
}, Hm = ({
|
|
8139
8157
|
options: e = {
|
|
8140
8158
|
inboxList: {},
|
|
8141
8159
|
readInbox: {}
|
|
@@ -8202,7 +8220,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
8202
8220
|
value: "other",
|
|
8203
8221
|
...e.other
|
|
8204
8222
|
}
|
|
8205
|
-
],
|
|
8223
|
+
], Wm = ({ options: e, formData: r } = {}) => {
|
|
8206
8224
|
const { lng: t } = se(), { newsListApi: n } = nl(), p = Ye(t);
|
|
8207
8225
|
return ne({
|
|
8208
8226
|
queryKey: ["newsList"],
|
|
@@ -8228,7 +8246,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
8228
8246
|
},
|
|
8229
8247
|
...e
|
|
8230
8248
|
});
|
|
8231
|
-
},
|
|
8249
|
+
}, zm = ({ options: e, formData: r } = {}) => {
|
|
8232
8250
|
const { lng: t } = se(), { newsListApi: n } = nl(), p = Ye(t);
|
|
8233
8251
|
return ne({
|
|
8234
8252
|
queryKey: ["newsList"],
|
|
@@ -8447,28 +8465,28 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
8447
8465
|
queryFn: () => t({ paramsData: e }),
|
|
8448
8466
|
...r
|
|
8449
8467
|
});
|
|
8450
|
-
},
|
|
8468
|
+
}, Im = ({ options: e } = {}) => {
|
|
8451
8469
|
const { redeemCodeDepositApi: r } = Xe();
|
|
8452
8470
|
return oe({
|
|
8453
8471
|
mutationKey: ["redeemCodeDeposit"],
|
|
8454
8472
|
mutationFn: async (t) => r(t),
|
|
8455
8473
|
...e
|
|
8456
8474
|
});
|
|
8457
|
-
},
|
|
8475
|
+
}, Vm = ({ options: e } = {}) => {
|
|
8458
8476
|
const { invoiceApi: r } = Xe();
|
|
8459
8477
|
return oe({
|
|
8460
8478
|
mutationKey: ["invoiceAction"],
|
|
8461
8479
|
mutationFn: async (t) => r(t),
|
|
8462
8480
|
...e
|
|
8463
8481
|
});
|
|
8464
|
-
},
|
|
8482
|
+
}, Zm = ({ options: e } = {}) => {
|
|
8465
8483
|
const { updateInvoiceApi: r } = Xe();
|
|
8466
8484
|
return oe({
|
|
8467
8485
|
mutationKey: ["updateInvoiceAction"],
|
|
8468
8486
|
mutationFn: async (t) => r(t),
|
|
8469
8487
|
...e
|
|
8470
8488
|
});
|
|
8471
|
-
},
|
|
8489
|
+
}, Jm = ({
|
|
8472
8490
|
depositV1: e = {},
|
|
8473
8491
|
depositV2: r = {},
|
|
8474
8492
|
depositTransaction: t = {},
|
|
@@ -8589,7 +8607,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
8589
8607
|
extendString: _l,
|
|
8590
8608
|
extendUint8Array: yl,
|
|
8591
8609
|
extendBuiltins: gs
|
|
8592
|
-
},
|
|
8610
|
+
}, Km = (e, r) => {
|
|
8593
8611
|
const { playGameApi: t } = ft();
|
|
8594
8612
|
return ne({
|
|
8595
8613
|
queryKey: ["playGame"],
|
|
@@ -8644,7 +8662,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
8644
8662
|
mutationFn: async () => r(),
|
|
8645
8663
|
...e
|
|
8646
8664
|
});
|
|
8647
|
-
},
|
|
8665
|
+
}, qm = ({
|
|
8648
8666
|
options: e = {
|
|
8649
8667
|
currentRebate: {},
|
|
8650
8668
|
receiveRebate: {}
|
|
@@ -8683,7 +8701,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
8683
8701
|
return r({ uid: n, params: p });
|
|
8684
8702
|
},
|
|
8685
8703
|
select: (t) => {
|
|
8686
|
-
const n = We(t.data, (p) => {
|
|
8704
|
+
const n = We(t.data.data, (p) => {
|
|
8687
8705
|
const {
|
|
8688
8706
|
wagering_restricted_amount: g,
|
|
8689
8707
|
claimed_amount: b
|
|
@@ -8742,7 +8760,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
8742
8760
|
queryFn: r,
|
|
8743
8761
|
...e
|
|
8744
8762
|
});
|
|
8745
|
-
},
|
|
8763
|
+
}, $m = ({
|
|
8746
8764
|
options: e = {
|
|
8747
8765
|
rewardsList: {},
|
|
8748
8766
|
redeemReward: {},
|
|
@@ -8773,7 +8791,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
8773
8791
|
vipListApi: r,
|
|
8774
8792
|
vipInfoApi: t
|
|
8775
8793
|
};
|
|
8776
|
-
},
|
|
8794
|
+
}, Qm = ({ options: e } = {}) => {
|
|
8777
8795
|
const { store: r } = se(), t = r?.getState()?.isMemberInfo || r?.getState()?.member?.member || {}, { vipInfoApi: n } = bl();
|
|
8778
8796
|
return ne({
|
|
8779
8797
|
queryKey: ["vipInfo"],
|
|
@@ -8825,7 +8843,7 @@ const So = /* @__PURE__ */ gt(xo), Do = ({
|
|
|
8825
8843
|
},
|
|
8826
8844
|
...e
|
|
8827
8845
|
});
|
|
8828
|
-
},
|
|
8846
|
+
}, jm = ({ options: e } = {
|
|
8829
8847
|
vipList: {}
|
|
8830
8848
|
}) => ({
|
|
8831
8849
|
vipList: vs({ options: e.vipList })
|
|
@@ -9131,16 +9149,16 @@ function Hs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9131
9149
|
}, onAction: s = () => {
|
|
9132
9150
|
}, onMessage: o = () => {
|
|
9133
9151
|
}, 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
|
|
9152
|
+
let G = X(Te()), H = X(Te()), k = X(null), T = X(null), w = X(0), O = X(0), P = X(0), S = X(0), D = X(!1), M = X(!1), F = X(!1), B = X(!0), W = X(!1), L = X(null), N = X(null), A = X(e), R = X(0);
|
|
9135
9153
|
pe(() => {
|
|
9136
9154
|
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.");
|
|
9137
9155
|
if (e >= wa) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${wa}.`);
|
|
9138
9156
|
if (r >= wa) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${wa}.`);
|
|
9139
9157
|
if (t >= wa) throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${wa}.`);
|
|
9140
9158
|
if (t >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
|
|
9141
|
-
if (t ? (
|
|
9159
|
+
if (t ? (A.current = e - t, R.current = t) : (A.current = e, R.current = r), !B.current) {
|
|
9142
9160
|
if (y || E) return;
|
|
9143
|
-
|
|
9161
|
+
D.current && (le.current(null, Se), N.current && N.current.active()), Ke();
|
|
9144
9162
|
}
|
|
9145
9163
|
}, [e, r, t, y, E]);
|
|
9146
9164
|
let K = X(_);
|
|
@@ -9149,7 +9167,7 @@ function Hs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9149
9167
|
}, [_]);
|
|
9150
9168
|
let q = X(b), Q = X(n), J = X([...(/* @__PURE__ */ new Set([...p, ...b])).values()]), ee = X(E);
|
|
9151
9169
|
pe(() => {
|
|
9152
|
-
ee.current = E, !
|
|
9170
|
+
ee.current = E, !B.current && (E ? Ie() : y || Ke());
|
|
9153
9171
|
}, [E]);
|
|
9154
9172
|
let ie = X(f);
|
|
9155
9173
|
pe(() => {
|
|
@@ -9181,43 +9199,43 @@ function Hs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9181
9199
|
}, [m, u]), ze = X();
|
|
9182
9200
|
pe(() => {
|
|
9183
9201
|
U && v && (ze.current = it(() => {
|
|
9184
|
-
|
|
9202
|
+
N.current.active();
|
|
9185
9203
|
}, v));
|
|
9186
9204
|
}, [U, v]);
|
|
9187
9205
|
let Ce = () => {
|
|
9188
|
-
|
|
9206
|
+
L.current !== null && ($e.clearTimeout(L.current), L.current = null);
|
|
9189
9207
|
}, Ge = (V, De = !0) => {
|
|
9190
|
-
Ce(),
|
|
9208
|
+
Ce(), L.current = $e.setTimeout(Oe, V || A.current), De && (T.current = Te());
|
|
9191
9209
|
}, ea = (V) => {
|
|
9192
|
-
!
|
|
9210
|
+
!M.current && !D.current && (_e.current(V, Se), ie.current({ type: "active", prompted: !0 }, Se)), S.current = 0, P.current = Te(), M.current = !0, Ge(R.current, !1);
|
|
9193
9211
|
}, Me = () => {
|
|
9194
|
-
Ce(),
|
|
9212
|
+
Ce(), D.current || (ye.current(null, Se), ie.current({ type: "idle" }, Se)), D.current = !0, k.current = Te(), K.current ? Re() : M.current && (P.current = 0, M.current = !1);
|
|
9195
9213
|
}, ve = (V) => {
|
|
9196
|
-
Ce(), (
|
|
9214
|
+
Ce(), (D.current || M.current) && (le.current(V, Se), ie.current({ type: "active", prompted: !1 }, Se)), M.current = !1, P.current = 0, D.current = !1, w.current += Te() - k.current, O.current += Te() - k.current, xe(), Ge();
|
|
9197
9215
|
}, Oe = (V) => {
|
|
9198
|
-
if (!
|
|
9216
|
+
if (!D.current) {
|
|
9199
9217
|
Ue.cancel && Ue.cancel();
|
|
9200
9218
|
let De = Te() - T.current;
|
|
9201
|
-
if (!(
|
|
9202
|
-
|
|
9219
|
+
if (!(A.current + R.current < De) && R.current > 0 && !M.current) {
|
|
9220
|
+
N.current ? N.current.prompt() : ea(V);
|
|
9203
9221
|
return;
|
|
9204
9222
|
}
|
|
9205
|
-
|
|
9223
|
+
N.current ? N.current.idle() : Me();
|
|
9206
9224
|
return;
|
|
9207
9225
|
}
|
|
9208
|
-
|
|
9226
|
+
N.current ? N.current.active() : ve(V);
|
|
9209
9227
|
}, aa = (V) => {
|
|
9210
|
-
if (!d && !T.current && (T.current = Te(), le.current(null, Se)), Ue(V, Se),
|
|
9211
|
-
if (Ce(), !
|
|
9228
|
+
if (!d && !T.current && (T.current = Te(), le.current(null, Se)), Ue(V, Se), M.current) return;
|
|
9229
|
+
if (Ce(), !D.current && q.current.includes(V.type)) {
|
|
9212
9230
|
Oe(V);
|
|
9213
9231
|
return;
|
|
9214
9232
|
}
|
|
9215
9233
|
let De = Te() - T.current;
|
|
9216
|
-
if (
|
|
9234
|
+
if (D.current && !_ || !D.current && De >= A.current) {
|
|
9217
9235
|
Oe(V);
|
|
9218
9236
|
return;
|
|
9219
9237
|
}
|
|
9220
|
-
|
|
9238
|
+
F.current = !1, S.current = 0, P.current = 0, Ge(), U && v && ze.current();
|
|
9221
9239
|
}, ia = X(aa);
|
|
9222
9240
|
pe(() => {
|
|
9223
9241
|
let V = W.current;
|
|
@@ -9231,28 +9249,28 @@ function Hs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9231
9249
|
pa && Q.current && (W.current || V) && (J.current.forEach((De) => {
|
|
9232
9250
|
Q.current.removeEventListener(De, ia.current, { capture: !0 });
|
|
9233
9251
|
}), W.current = !1);
|
|
9234
|
-
}, Ke = I((V) => ee.current ? !1 : (Ce(), xe(),
|
|
9235
|
-
if (
|
|
9236
|
-
let V =
|
|
9252
|
+
}, Ke = I((V) => ee.current ? !1 : (Ce(), xe(), D.current = !1, M.current = !1, F.current = !1, S.current = 0, P.current = 0, N.current && !V && N.current.start(), Ge(), !0), [L, D, ee, A, N]), oa = I((V) => ee.current ? !1 : (Ce(), xe(), H.current = Te(), w.current += Te() - k.current, O.current += Te() - k.current, w.current = 0, D.current = !1, M.current = !1, F.current = !1, S.current = 0, P.current = 0, N.current && !V && N.current.reset(), y || Ge(), !0), [L, D, A, y, ee, N]), ga = I((V) => ee.current ? !1 : (Ce(), xe(), (D.current || M.current) && ve(), D.current = !1, M.current = !1, F.current = !1, S.current = 0, P.current = 0, H.current = Te(), N.current && !V && N.current.activate(), Ge(), !0), [L, D, M, ee, A, N]), Ie = I((V = !1) => ee.current || F.current ? !1 : (S.current = Ua(), F.current = !0, Re(), Ce(), N.current && !V && N.current.pause(), !0), [L, ee, N]), qe = I((V = !1) => ee.current || !F.current ? !1 : (F.current = !1, M.current || xe(), D.current || Ge(S.current), P.current && (P.current = Te()), N.current && !V && N.current.resume(), !0), [L, A, ee, S, N]), Wa = I((V, De) => (N.current ? (De && ke.current(V, Se), N.current.message(V)) : De && ke.current(V, Se), !0), [o]), Ea = I(() => D.current, [D]), Na = I(() => M.current, [M]), za = I(() => N.current ? N.current.isLeader : null, [N]), Ia = I(() => N.current ? N.current.isLastActive : null, [N]), da = I(() => N.current ? N.current.token : null, [N]), Ua = I(() => {
|
|
9253
|
+
if (F.current) return S.current;
|
|
9254
|
+
let V = S.current ? S.current : R.current + A.current, De = T.current ? Te() - T.current : 0, ta = Math.floor(V - De);
|
|
9237
9255
|
return ta < 0 ? 0 : Math.abs(ta);
|
|
9238
|
-
}, [
|
|
9256
|
+
}, [A, R, M, S, T]), Ze = I(() => Math.round(Te() - H.current), [H]), ca = I(() => Math.round(Te() - G.current), [G]), fa = I(() => k.current ? new Date(k.current) : null, [k]), La = I(() => T.current ? new Date(T.current) : null, [T]), Ga = I(() => D.current ? Math.round(Te() - k.current + w.current) : Math.round(w.current), [k, w]), ba = I(() => D.current ? Math.round(Te() - k.current + O.current) : Math.round(O.current), [k, O]), Ma = I(() => {
|
|
9239
9257
|
let V = Math.round(Ze() - Ga());
|
|
9240
9258
|
return V >= 0 ? V : 0;
|
|
9241
|
-
}, [k,
|
|
9259
|
+
}, [k, w]), Ra = I(() => {
|
|
9242
9260
|
let V = Math.round(ca() - ba());
|
|
9243
9261
|
return V >= 0 ? V : 0;
|
|
9244
|
-
}, [k,
|
|
9262
|
+
}, [k, w]);
|
|
9245
9263
|
pe(() => {
|
|
9246
9264
|
if (u > 0 && m > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
|
|
9247
9265
|
g && Gs(g);
|
|
9248
9266
|
let V = () => {
|
|
9249
|
-
|
|
9267
|
+
N.current && N.current.close(), Ue.cancel && Ue.cancel(), Ce(), Re(!0);
|
|
9250
9268
|
};
|
|
9251
9269
|
return pa && window.addEventListener("beforeunload", V), () => {
|
|
9252
|
-
pa && window.removeEventListener("beforeunload", V),
|
|
9270
|
+
pa && window.removeEventListener("beforeunload", V), N.current && N.current.close(), Ue.cancel && Ue.cancel(), Ce(), Re(!0);
|
|
9253
9271
|
};
|
|
9254
9272
|
}, []), pe(() => {
|
|
9255
|
-
|
|
9273
|
+
N.current && N.current.close(), U ? N.current = new ws({ channelName: C, leaderElection: x, onPrompt: () => {
|
|
9256
9274
|
ea();
|
|
9257
9275
|
}, onIdle: () => {
|
|
9258
9276
|
Me();
|
|
@@ -9260,18 +9278,18 @@ function Hs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9260
9278
|
ve();
|
|
9261
9279
|
}, onMessage: (V) => {
|
|
9262
9280
|
ke.current(V, Se);
|
|
9263
|
-
}, start: Ke, reset: oa, activate: ga, pause: Ie, resume: qe }) :
|
|
9281
|
+
}, start: Ke, reset: oa, activate: ga, pause: Ie, resume: qe }) : N.current = null;
|
|
9264
9282
|
}, [U, C, x, _e, ye, le, ke, Ke, oa, Ie, qe]), pe(() => {
|
|
9265
|
-
|
|
9266
|
-
}, [y, d, E,
|
|
9267
|
-
if (!
|
|
9283
|
+
B.current || (Ce(), Re(!0)), !(y || E) && (d ? Ke() : xe());
|
|
9284
|
+
}, [y, d, E, B]), pe(() => {
|
|
9285
|
+
if (!B.current) {
|
|
9268
9286
|
let V = [...(/* @__PURE__ */ new Set([...p, ...b])).values()];
|
|
9269
9287
|
if (Re(), J.current = V, Q.current = n, q.current = b, y || E) return;
|
|
9270
9288
|
d ? Ke() : xe();
|
|
9271
9289
|
}
|
|
9272
|
-
}, [n, JSON.stringify(p), JSON.stringify(b),
|
|
9273
|
-
|
|
9274
|
-
}, [
|
|
9290
|
+
}, [n, JSON.stringify(p), JSON.stringify(b), B, E, y, d]), pe(() => {
|
|
9291
|
+
B.current && (B.current = !1);
|
|
9292
|
+
}, [B]);
|
|
9275
9293
|
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) => {
|
|
9276
9294
|
f = V, ie.current = V;
|
|
9277
9295
|
}, setOnPrompt: (V) => {
|
|
@@ -9289,7 +9307,7 @@ function Hs({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9289
9307
|
}
|
|
9290
9308
|
var Ws = zi(null);
|
|
9291
9309
|
Ws.Consumer;
|
|
9292
|
-
const
|
|
9310
|
+
const Ym = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Hs({
|
|
9293
9311
|
onIdle: e,
|
|
9294
9312
|
onActive: r,
|
|
9295
9313
|
onAction: t,
|
|
@@ -9314,7 +9332,7 @@ const jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Hs({
|
|
|
9314
9332
|
default:
|
|
9315
9333
|
return "En";
|
|
9316
9334
|
}
|
|
9317
|
-
}, wn = "game-icon-ds88",
|
|
9335
|
+
}, wn = "game-icon-ds88", Xm = ({ gameData: e = {} } = {}) => {
|
|
9318
9336
|
const { lng: r } = se(), t = Fn(r), {
|
|
9319
9337
|
gameCode: n,
|
|
9320
9338
|
// 遊戲代碼
|
|
@@ -9388,7 +9406,7 @@ const jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Hs({
|
|
|
9388
9406
|
"HACK",
|
|
9389
9407
|
"NAGA",
|
|
9390
9408
|
"RSG"
|
|
9391
|
-
], e) && r ? `${e}_dark` : e,
|
|
9409
|
+
], e) && r ? `${e}_dark` : e, eu = ({ platformData: e, darkMode: r } = {}) => {
|
|
9392
9410
|
const {
|
|
9393
9411
|
SubPlatformEnum: t,
|
|
9394
9412
|
// 子平台枚舉
|
|
@@ -9444,7 +9462,7 @@ const jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Hs({
|
|
|
9444
9462
|
allPlatforms: p
|
|
9445
9463
|
});
|
|
9446
9464
|
return Ee(f) || (g[b] = f), g;
|
|
9447
|
-
}, {}),
|
|
9465
|
+
}, {}), au = ({
|
|
9448
9466
|
types: e = [],
|
|
9449
9467
|
platforms: r = [],
|
|
9450
9468
|
allGameType: t = [],
|
|
@@ -9494,21 +9512,21 @@ const jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Hs({
|
|
|
9494
9512
|
gameList: e,
|
|
9495
9513
|
allGameTypes: t,
|
|
9496
9514
|
allPlatforms: r
|
|
9497
|
-
}), _ = We(r, (
|
|
9498
|
-
const
|
|
9515
|
+
}), _ = We(r, (G) => {
|
|
9516
|
+
const H = `${je}/${Kn}/${G.platformEnum}.png`;
|
|
9499
9517
|
return {
|
|
9500
|
-
...
|
|
9501
|
-
platformImageUrl:
|
|
9518
|
+
...G,
|
|
9519
|
+
platformImageUrl: H
|
|
9502
9520
|
};
|
|
9503
9521
|
}), U = Ks(s, n), C = $s(y), v = Qs(C), x = Wn(y).reduce(
|
|
9504
|
-
(
|
|
9522
|
+
(G, [H, k]) => {
|
|
9505
9523
|
const T = Vi(zl(k));
|
|
9506
|
-
return
|
|
9524
|
+
return G[H] = T, G;
|
|
9507
9525
|
},
|
|
9508
9526
|
{}
|
|
9509
|
-
), E = xt(y).reduce((
|
|
9510
|
-
const k = xt(y[
|
|
9511
|
-
return
|
|
9527
|
+
), E = xt(y).reduce((G, H) => {
|
|
9528
|
+
const k = xt(y[H]);
|
|
9529
|
+
return G[H] = k, G;
|
|
9512
9530
|
}, {});
|
|
9513
9531
|
return {
|
|
9514
9532
|
platform: {
|
|
@@ -9543,7 +9561,7 @@ const jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Hs({
|
|
|
9543
9561
|
favorite: d
|
|
9544
9562
|
}
|
|
9545
9563
|
};
|
|
9546
|
-
},
|
|
9564
|
+
}, iu = (e = []) => !la(e) || Ee(e) ? [] : Vi(e, (r) => Ee(r.SubPlatformEnum) ? r : r.SubPlatformEnum.map((t) => ({
|
|
9547
9565
|
...r,
|
|
9548
9566
|
...t,
|
|
9549
9567
|
platform: t.SubPlatformEnum,
|
|
@@ -9569,7 +9587,7 @@ const jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Hs({
|
|
|
9569
9587
|
},
|
|
9570
9588
|
user: { favorite: [] }
|
|
9571
9589
|
}, Xs = ({ enabled: e = !0 } = {}) => {
|
|
9572
|
-
const { getToken: r } = se(), { userFavoriteGameApi: t, userGameListApi: n } =
|
|
9590
|
+
const { getToken: r } = se(), { userFavoriteGameApi: t, userGameListApi: n } = me(), { data: p, isLoading: g, error: b, refetch: f } = ne({
|
|
9573
9591
|
queryKey: ["gamesInfo"],
|
|
9574
9592
|
queryFn: async () => {
|
|
9575
9593
|
let l = {}, a = {};
|
|
@@ -36144,7 +36162,7 @@ const jm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Hs({
|
|
|
36144
36162
|
const n = Xs({ enabled: r });
|
|
36145
36163
|
return /* @__PURE__ */ we.jsx(qn.Provider, { value: n, children: e });
|
|
36146
36164
|
};
|
|
36147
|
-
function
|
|
36165
|
+
function tu({
|
|
36148
36166
|
children: e,
|
|
36149
36167
|
autoFetchGamesInfo: r = !1,
|
|
36150
36168
|
useMockData: t = !1,
|
|
@@ -36174,7 +36192,7 @@ function iu({
|
|
|
36174
36192
|
}
|
|
36175
36193
|
) }) }) });
|
|
36176
36194
|
}
|
|
36177
|
-
const
|
|
36195
|
+
const nu = ({ onFunction: e = () => {
|
|
36178
36196
|
}, buttonProps: r = {} } = {}) => {
|
|
36179
36197
|
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({
|
|
36180
36198
|
options: {
|
|
@@ -36889,11 +36907,11 @@ var mm = (function() {
|
|
|
36889
36907
|
"marginSize",
|
|
36890
36908
|
"imageSettings"
|
|
36891
36909
|
]), { style: d } = c, y = mt(c, ["style"]), _ = u?.src, U = de.useRef(null), C = de.useRef(null), v = de.useCallback(
|
|
36892
|
-
(
|
|
36893
|
-
U.current =
|
|
36910
|
+
(P) => {
|
|
36911
|
+
U.current = P, typeof t == "function" ? t(P) : t && (t.current = P);
|
|
36894
36912
|
},
|
|
36895
36913
|
[t]
|
|
36896
|
-
), [x, E] = de.useState(!1), { margin:
|
|
36914
|
+
), [x, E] = de.useState(!1), { margin: G, cells: H, numCells: k, calculatedImageSettings: T } = Ml({
|
|
36897
36915
|
value: p,
|
|
36898
36916
|
level: b,
|
|
36899
36917
|
minVersion: i,
|
|
@@ -36905,26 +36923,26 @@ var mm = (function() {
|
|
|
36905
36923
|
});
|
|
36906
36924
|
de.useEffect(() => {
|
|
36907
36925
|
if (U.current != null) {
|
|
36908
|
-
const
|
|
36909
|
-
if (!
|
|
36926
|
+
const P = U.current, S = P.getContext("2d");
|
|
36927
|
+
if (!S)
|
|
36910
36928
|
return;
|
|
36911
|
-
let
|
|
36912
|
-
const
|
|
36913
|
-
|
|
36914
|
-
|
|
36929
|
+
let D = H;
|
|
36930
|
+
const M = C.current, F = T != null && M !== null && M.complete && M.naturalHeight !== 0 && M.naturalWidth !== 0;
|
|
36931
|
+
F && T.excavation != null && (D = Gl(
|
|
36932
|
+
H,
|
|
36915
36933
|
T.excavation
|
|
36916
36934
|
));
|
|
36917
|
-
const
|
|
36918
|
-
|
|
36919
|
-
const W = g / k *
|
|
36920
|
-
|
|
36921
|
-
|
|
36922
|
-
|
|
36935
|
+
const B = window.devicePixelRatio || 1;
|
|
36936
|
+
P.height = P.width = g * B;
|
|
36937
|
+
const W = g / k * B;
|
|
36938
|
+
S.scale(W, W), S.fillStyle = f, S.fillRect(0, 0, k, k), S.fillStyle = l, mm ? S.fill(new Path2D(Ll(D, G))) : H.forEach(function(L, N) {
|
|
36939
|
+
L.forEach(function(A, R) {
|
|
36940
|
+
A && S.fillRect(R + G, N + G, 1, 1);
|
|
36923
36941
|
});
|
|
36924
|
-
}), T && (
|
|
36925
|
-
|
|
36926
|
-
T.x +
|
|
36927
|
-
T.y +
|
|
36942
|
+
}), T && (S.globalAlpha = T.opacity), F && S.drawImage(
|
|
36943
|
+
M,
|
|
36944
|
+
T.x + G,
|
|
36945
|
+
T.y + G,
|
|
36928
36946
|
T.w,
|
|
36929
36947
|
T.h
|
|
36930
36948
|
);
|
|
@@ -36932,9 +36950,9 @@ var mm = (function() {
|
|
|
36932
36950
|
}), de.useEffect(() => {
|
|
36933
36951
|
E(!1);
|
|
36934
36952
|
}, [_]);
|
|
36935
|
-
const
|
|
36936
|
-
let
|
|
36937
|
-
return _ != null && (
|
|
36953
|
+
const w = st({ height: g, width: g }, d);
|
|
36954
|
+
let O = null;
|
|
36955
|
+
return _ != null && (O = /* @__PURE__ */ de.createElement(
|
|
36938
36956
|
"img",
|
|
36939
36957
|
{
|
|
36940
36958
|
src: _,
|
|
@@ -36949,13 +36967,13 @@ var mm = (function() {
|
|
|
36949
36967
|
)), /* @__PURE__ */ de.createElement(de.Fragment, null, /* @__PURE__ */ de.createElement(
|
|
36950
36968
|
"canvas",
|
|
36951
36969
|
st({
|
|
36952
|
-
style:
|
|
36970
|
+
style: w,
|
|
36953
36971
|
height: g,
|
|
36954
36972
|
width: g,
|
|
36955
36973
|
ref: v,
|
|
36956
36974
|
role: "img"
|
|
36957
36975
|
}, y)
|
|
36958
|
-
),
|
|
36976
|
+
), O);
|
|
36959
36977
|
}
|
|
36960
36978
|
);
|
|
36961
36979
|
um.displayName = "QRCodeCanvas";
|
|
@@ -37081,7 +37099,7 @@ const pm = {
|
|
|
37081
37099
|
title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
|
|
37082
37100
|
expired: "Kode QR telah kedaluwarsa"
|
|
37083
37101
|
}
|
|
37084
|
-
},
|
|
37102
|
+
}, ou = ({ forcedShow: e = !1, isVisible: r, setIsVisible: t } = {}) => {
|
|
37085
37103
|
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({
|
|
37086
37104
|
formData: {
|
|
37087
37105
|
mac_address: u
|
|
@@ -37146,7 +37164,7 @@ const pm = {
|
|
|
37146
37164
|
)
|
|
37147
37165
|
] })
|
|
37148
37166
|
] });
|
|
37149
|
-
},
|
|
37167
|
+
}, su = () => {
|
|
37150
37168
|
const e = pt(), {
|
|
37151
37169
|
mutate: r,
|
|
37152
37170
|
isPending: t,
|
|
@@ -37178,16 +37196,16 @@ const pm = {
|
|
|
37178
37196
|
};
|
|
37179
37197
|
export {
|
|
37180
37198
|
zn as ApiCtx,
|
|
37181
|
-
|
|
37182
|
-
|
|
37199
|
+
tu as ApiProvider,
|
|
37200
|
+
su as Bind,
|
|
37183
37201
|
qn as GamesInfoCtx,
|
|
37184
|
-
|
|
37185
|
-
|
|
37202
|
+
nu as LineLogin,
|
|
37203
|
+
ou as LineQrCode,
|
|
37186
37204
|
Ja as STATUS_TYPES,
|
|
37187
37205
|
In as StatusContext,
|
|
37188
37206
|
ql as StatusProvider,
|
|
37189
37207
|
qs as buildMultiTypes,
|
|
37190
|
-
|
|
37208
|
+
au as buildMultiTypesWithSubTypes,
|
|
37191
37209
|
jl as buildSinglePlatformWithSubTypes,
|
|
37192
37210
|
Ql as buildSingleType,
|
|
37193
37211
|
Ks as categorizeGames,
|
|
@@ -37209,7 +37227,7 @@ export {
|
|
|
37209
37227
|
zs as handleDarkImage,
|
|
37210
37228
|
em as initMockWindowData,
|
|
37211
37229
|
js as processGameInfo,
|
|
37212
|
-
|
|
37230
|
+
iu as processPlatformData,
|
|
37213
37231
|
Dm as useAbandonPoint,
|
|
37214
37232
|
se as useApiContext,
|
|
37215
37233
|
vm as useBalanceGetter,
|
|
@@ -37220,30 +37238,30 @@ export {
|
|
|
37220
37238
|
Vo as useCheckCurrentEventProgress,
|
|
37221
37239
|
Zo as useCheckEventStatus,
|
|
37222
37240
|
Sm as useCheckPlayerWager,
|
|
37223
|
-
|
|
37241
|
+
Pm as useClientWebSocket,
|
|
37224
37242
|
cs as useCurrentRebate,
|
|
37225
37243
|
jo as useDepositAction,
|
|
37226
37244
|
Xo as useDepositTransaction,
|
|
37227
37245
|
$o as useDepositV1,
|
|
37228
37246
|
Qo as useDepositV2,
|
|
37229
|
-
|
|
37247
|
+
wm as useEvent,
|
|
37230
37248
|
Io as useEventList,
|
|
37231
37249
|
es as useEventTransaction,
|
|
37232
37250
|
bs as useExpiredRewardsList,
|
|
37233
|
-
|
|
37251
|
+
Xm as useGameConfig,
|
|
37234
37252
|
Um as useGameInfoContext,
|
|
37235
37253
|
Xs as useGamesInfo,
|
|
37236
|
-
|
|
37254
|
+
Am as useGetCarouseList,
|
|
37237
37255
|
Ho as useGetMachineLoginCode,
|
|
37238
|
-
|
|
37256
|
+
Om as useGetMarquee,
|
|
37239
37257
|
hm as useGetMemberInfo,
|
|
37240
|
-
|
|
37258
|
+
Bm as useGetRankingGame,
|
|
37241
37259
|
Cs as useHistoryRewardsList,
|
|
37242
|
-
|
|
37243
|
-
|
|
37260
|
+
Ym as useIdleTimeout,
|
|
37261
|
+
Hm as useInbox,
|
|
37244
37262
|
Jo as useInboxList,
|
|
37245
37263
|
Tm as useInitializeWithToken,
|
|
37246
|
-
|
|
37264
|
+
Vm as useInvoiceAction,
|
|
37247
37265
|
tl as useLineLogin,
|
|
37248
37266
|
Bo as useLineLogin2,
|
|
37249
37267
|
Eo as useLogin,
|
|
@@ -37251,36 +37269,37 @@ export {
|
|
|
37251
37269
|
Em as useMemberTransfer,
|
|
37252
37270
|
Nm as useMobileLogin,
|
|
37253
37271
|
Lm as useMobileLoginV2,
|
|
37254
|
-
|
|
37255
|
-
|
|
37256
|
-
|
|
37257
|
-
|
|
37258
|
-
|
|
37272
|
+
Gm as useMobileRegister,
|
|
37273
|
+
zm as useNewsDetail,
|
|
37274
|
+
Wm as useNewsList,
|
|
37275
|
+
Jm as usePayment,
|
|
37276
|
+
eu as usePlatformConfig,
|
|
37277
|
+
Km as usePlayGame,
|
|
37259
37278
|
xm as usePointTransfer,
|
|
37260
37279
|
Ko as useReadInbox,
|
|
37261
|
-
|
|
37280
|
+
qm as useRebate,
|
|
37262
37281
|
fs as useReceiveRebate,
|
|
37263
|
-
|
|
37264
|
-
|
|
37282
|
+
Im as useRedeemCodeDeposit,
|
|
37283
|
+
Fm as useRedeemEventReward,
|
|
37265
37284
|
ys as useRedeemReward,
|
|
37266
37285
|
Ro as useResetUserPassword,
|
|
37267
37286
|
Fo as useResetUserTransactionPassword,
|
|
37268
|
-
|
|
37287
|
+
$m as useRewards,
|
|
37269
37288
|
_s as useRewardsList,
|
|
37270
|
-
|
|
37289
|
+
Mm as useSendMobileVerifyCode,
|
|
37271
37290
|
Po as useSetUserTransactionPassword,
|
|
37272
37291
|
Lo as useSignUp,
|
|
37273
37292
|
Vn as useStatus,
|
|
37274
37293
|
Go as useToggleFavoriteGame,
|
|
37275
37294
|
Oo as useTransferInGame,
|
|
37276
37295
|
Us as useUnUsedRewardsList,
|
|
37277
|
-
|
|
37296
|
+
Zm as useUpdateInvoiceAction,
|
|
37278
37297
|
Mo as useUpdateUserInfo,
|
|
37279
|
-
|
|
37298
|
+
Rm as useUser,
|
|
37280
37299
|
Ao as useUserBindCard,
|
|
37281
37300
|
wo as useUserRebate,
|
|
37282
|
-
|
|
37283
|
-
|
|
37301
|
+
jm as useVip,
|
|
37302
|
+
Qm as useVipInfo,
|
|
37284
37303
|
vs as useVipList,
|
|
37285
37304
|
Yo as useWithdrawAction,
|
|
37286
37305
|
is as useWithdrawTransaction
|