@obb871001/api-integration-sdk 1.0.315 → 1.0.317
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -5
- package/dist/index.js +933 -919
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import de, { createContext as
|
|
2
|
-
import { useQueries as Hn, useQuery as Q, useQueryClient as
|
|
1
|
+
import de, { createContext as Ki, useContext as dt, useState as rt, useMemo as Oa, useCallback as I, useRef as ee, useEffect as ge } from "react";
|
|
2
|
+
import { useQueries as Hn, useQuery as Q, useQueryClient as ct, useMutation as re, QueryClient as Ol, QueryClientProvider as Bl } from "@tanstack/react-query";
|
|
3
3
|
import Hl from "axios";
|
|
4
|
-
import { get as le, find as qe, isEmpty as Ee, entries as Wn, forEach as Wl, map as Be, isArray as la, toLower as
|
|
4
|
+
import { get as le, find as qe, isEmpty as Ee, entries as Wn, forEach as Wl, map as Be, isArray as la, toLower as St, omit as zl, replace as ai, includes as Il, isObject as qi, flatMap as $i, values as Vl, keys as Dt } from "lodash";
|
|
5
5
|
import Jl from "react-dom";
|
|
6
|
-
var
|
|
7
|
-
function
|
|
6
|
+
var Xi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7
|
+
function ft(e) {
|
|
8
8
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
9
9
|
}
|
|
10
10
|
function Zl(e) {
|
|
@@ -31,11 +31,11 @@ function Zl(e) {
|
|
|
31
31
|
});
|
|
32
32
|
}), i;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
35
|
-
var
|
|
34
|
+
var ii = { exports: {} }, Ja = {};
|
|
35
|
+
var Et;
|
|
36
36
|
function Kl() {
|
|
37
|
-
if (
|
|
38
|
-
|
|
37
|
+
if (Et) return Ja;
|
|
38
|
+
Et = 1;
|
|
39
39
|
var e = de, n = Symbol.for("react.element"), i = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
40
40
|
function b(d, r, a) {
|
|
41
41
|
var t, o = {}, s = null, u = null;
|
|
@@ -47,9 +47,9 @@ function Kl() {
|
|
|
47
47
|
return Ja.Fragment = i, Ja.jsx = b, Ja.jsxs = b, Ja;
|
|
48
48
|
}
|
|
49
49
|
var Za = {};
|
|
50
|
-
var
|
|
50
|
+
var Nt;
|
|
51
51
|
function ql() {
|
|
52
|
-
return
|
|
52
|
+
return Nt || (Nt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
53
53
|
var e = de, n = Symbol.for("react.element"), i = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), d = Symbol.for("react.context"), r = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), t = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), s = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), m = Symbol.iterator, c = "@@iterator";
|
|
54
54
|
function f(h) {
|
|
55
55
|
if (h === null || typeof h != "object")
|
|
@@ -67,29 +67,29 @@ function ql() {
|
|
|
67
67
|
}
|
|
68
68
|
function U(h, z, J) {
|
|
69
69
|
{
|
|
70
|
-
var $ = y.ReactDebugCurrentFrame,
|
|
71
|
-
|
|
70
|
+
var $ = y.ReactDebugCurrentFrame, ue = $.getStackAddendum();
|
|
71
|
+
ue !== "" && (z += "%s", J = J.concat([ue]));
|
|
72
72
|
var pe = J.map(function(ne) {
|
|
73
73
|
return String(ne);
|
|
74
74
|
});
|
|
75
75
|
pe.unshift("Warning: " + z), Function.prototype.apply.call(console[h], console, pe);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var C = !1, v = !1, x = !1, S = !1,
|
|
79
|
-
|
|
78
|
+
var C = !1, v = !1, x = !1, S = !1, L = !1, H;
|
|
79
|
+
H = Symbol.for("react.module.reference");
|
|
80
80
|
function k(h) {
|
|
81
|
-
return !!(typeof h == "string" || typeof h == "function" || h === l || h === g ||
|
|
81
|
+
return !!(typeof h == "string" || typeof h == "function" || h === l || h === g || L || h === p || h === a || h === t || S || h === u || C || v || x || typeof h == "object" && h !== null && (h.$$typeof === s || h.$$typeof === o || h.$$typeof === b || h.$$typeof === d || h.$$typeof === r || // 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, J) {
|
|
88
88
|
var $ = h.displayName;
|
|
89
89
|
if ($)
|
|
90
90
|
return $;
|
|
91
|
-
var
|
|
92
|
-
return
|
|
91
|
+
var ue = z.displayName || z.name || "";
|
|
92
|
+
return ue !== "" ? J + "(" + ue + ")" : J;
|
|
93
93
|
}
|
|
94
94
|
function O(h) {
|
|
95
95
|
return h.displayName || "Context";
|
|
@@ -129,7 +129,7 @@ function ql() {
|
|
|
129
129
|
var $ = h.displayName || null;
|
|
130
130
|
return $ !== null ? $ : B(h.type) || "Memo";
|
|
131
131
|
case s: {
|
|
132
|
-
var
|
|
132
|
+
var ue = h, pe = ue._payload, ne = ue._init;
|
|
133
133
|
try {
|
|
134
134
|
return B(ne(pe));
|
|
135
135
|
} catch {
|
|
@@ -139,18 +139,18 @@ function ql() {
|
|
|
139
139
|
}
|
|
140
140
|
return null;
|
|
141
141
|
}
|
|
142
|
-
var w = Object.assign,
|
|
143
|
-
function
|
|
142
|
+
var w = Object.assign, G = 0, R, W, N, P, A, D, E;
|
|
143
|
+
function F() {
|
|
144
144
|
}
|
|
145
|
-
|
|
145
|
+
F.__reactDisabledLog = !0;
|
|
146
146
|
function M() {
|
|
147
147
|
{
|
|
148
|
-
if (
|
|
149
|
-
|
|
148
|
+
if (G === 0) {
|
|
149
|
+
R = console.log, W = console.info, N = console.warn, P = console.error, A = console.group, D = console.groupCollapsed, E = console.groupEnd;
|
|
150
150
|
var h = {
|
|
151
151
|
configurable: !0,
|
|
152
152
|
enumerable: !0,
|
|
153
|
-
value:
|
|
153
|
+
value: F,
|
|
154
154
|
writable: !0
|
|
155
155
|
};
|
|
156
156
|
Object.defineProperties(console, {
|
|
@@ -163,12 +163,12 @@ function ql() {
|
|
|
163
163
|
groupEnd: h
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
|
-
|
|
166
|
+
G++;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
function K() {
|
|
170
170
|
{
|
|
171
|
-
if (
|
|
171
|
+
if (G--, G === 0) {
|
|
172
172
|
var h = {
|
|
173
173
|
configurable: !0,
|
|
174
174
|
enumerable: !0,
|
|
@@ -176,19 +176,19 @@ function ql() {
|
|
|
176
176
|
};
|
|
177
177
|
Object.defineProperties(console, {
|
|
178
178
|
log: w({}, h, {
|
|
179
|
-
value:
|
|
179
|
+
value: R
|
|
180
180
|
}),
|
|
181
181
|
info: w({}, h, {
|
|
182
|
-
value:
|
|
182
|
+
value: W
|
|
183
183
|
}),
|
|
184
184
|
warn: w({}, h, {
|
|
185
|
-
value:
|
|
185
|
+
value: N
|
|
186
186
|
}),
|
|
187
187
|
error: w({}, h, {
|
|
188
|
-
value:
|
|
188
|
+
value: P
|
|
189
189
|
}),
|
|
190
190
|
group: w({}, h, {
|
|
191
|
-
value:
|
|
191
|
+
value: A
|
|
192
192
|
}),
|
|
193
193
|
groupCollapsed: w({}, h, {
|
|
194
194
|
value: D
|
|
@@ -198,7 +198,7 @@ function ql() {
|
|
|
198
198
|
})
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
|
-
|
|
201
|
+
G < 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, j;
|
|
@@ -207,8 +207,8 @@ function ql() {
|
|
|
207
207
|
if (j === void 0)
|
|
208
208
|
try {
|
|
209
209
|
throw Error();
|
|
210
|
-
} catch (
|
|
211
|
-
var $ =
|
|
210
|
+
} catch (ue) {
|
|
211
|
+
var $ = ue.stack.trim().match(/\n( *(at )?)/);
|
|
212
212
|
j = $ && $[1] || "";
|
|
213
213
|
}
|
|
214
214
|
return `
|
|
@@ -230,7 +230,7 @@ function ql() {
|
|
|
230
230
|
}
|
|
231
231
|
var $;
|
|
232
232
|
ae = !0;
|
|
233
|
-
var
|
|
233
|
+
var ue = Error.prepareStackTrace;
|
|
234
234
|
Error.prepareStackTrace = void 0;
|
|
235
235
|
var pe;
|
|
236
236
|
pe = q.current, q.current = null, M();
|
|
@@ -286,12 +286,12 @@ function ql() {
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
} finally {
|
|
289
|
-
ae = !1, q.current = pe, K(), Error.prepareStackTrace =
|
|
289
|
+
ae = !1, q.current = pe, K(), Error.prepareStackTrace = ue;
|
|
290
290
|
}
|
|
291
291
|
var Pa = h ? h.displayName || h.name : "", Ca = Pa ? Z(Pa) : "";
|
|
292
292
|
return typeof h == "function" && te.set(h, Ca), Ca;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function me(h, z, J) {
|
|
295
295
|
return ye(h, !1);
|
|
296
296
|
}
|
|
297
297
|
function ce(h) {
|
|
@@ -314,13 +314,13 @@ function ql() {
|
|
|
314
314
|
if (typeof h == "object")
|
|
315
315
|
switch (h.$$typeof) {
|
|
316
316
|
case r:
|
|
317
|
-
return
|
|
317
|
+
return me(h.render);
|
|
318
318
|
case o:
|
|
319
319
|
return ke(h.type, z, J);
|
|
320
320
|
case s: {
|
|
321
|
-
var $ = h,
|
|
321
|
+
var $ = h, ue = $._payload, pe = $._init;
|
|
322
322
|
try {
|
|
323
|
-
return ke(pe(
|
|
323
|
+
return ke(pe(ue), z, J);
|
|
324
324
|
} catch {
|
|
325
325
|
}
|
|
326
326
|
}
|
|
@@ -335,7 +335,7 @@ function ql() {
|
|
|
335
335
|
} else
|
|
336
336
|
Ce.setExtraStackFrame(null);
|
|
337
337
|
}
|
|
338
|
-
function ea(h, z, J, $,
|
|
338
|
+
function ea(h, z, J, $, ue) {
|
|
339
339
|
{
|
|
340
340
|
var pe = Function.call.bind(Ue);
|
|
341
341
|
for (var ne in h)
|
|
@@ -350,7 +350,7 @@ function ql() {
|
|
|
350
350
|
} catch (be) {
|
|
351
351
|
X = be;
|
|
352
352
|
}
|
|
353
|
-
X && !(X instanceof Error) && (Ge(
|
|
353
|
+
X && !(X instanceof Error) && (Ge(ue), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", $ || "React class", J, ne, typeof X), Ge(null)), X instanceof Error && !(X.message in Ie) && (Ie[X.message] = !0, Ge(ue), _("Failed %s type: %s", J, X.message), Ge(null));
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
}
|
|
@@ -425,7 +425,7 @@ function ql() {
|
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
|
-
var Ia = function(h, z, J, $,
|
|
428
|
+
var Ia = function(h, z, J, $, ue, pe, ne) {
|
|
429
429
|
var X = {
|
|
430
430
|
// This tag allows us to uniquely identify this as a React Element
|
|
431
431
|
$$typeof: n,
|
|
@@ -451,13 +451,13 @@ function ql() {
|
|
|
451
451
|
configurable: !1,
|
|
452
452
|
enumerable: !1,
|
|
453
453
|
writable: !1,
|
|
454
|
-
value:
|
|
454
|
+
value: ue
|
|
455
455
|
}), Object.freeze && (Object.freeze(X.props), Object.freeze(X)), X;
|
|
456
456
|
};
|
|
457
|
-
function Va(h, z, J, $,
|
|
457
|
+
function Va(h, z, J, $, ue) {
|
|
458
458
|
{
|
|
459
459
|
var pe, ne = {}, X = null, Oe = null;
|
|
460
|
-
J !== void 0 && (xe(J), X = "" + J), je(z) && (xe(z.key), X = "" + z.key), Ve(z) && (Oe = z.ref, za(z,
|
|
460
|
+
J !== void 0 && (xe(J), X = "" + J), je(z) && (xe(z.key), X = "" + z.key), Ve(z) && (Oe = z.ref, za(z, ue));
|
|
461
461
|
for (pe in z)
|
|
462
462
|
Ue.call(z, pe) && !Qe.hasOwnProperty(pe) && (ne[pe] = z[pe]);
|
|
463
463
|
if (h && h.defaultProps) {
|
|
@@ -469,7 +469,7 @@ function ql() {
|
|
|
469
469
|
var he = typeof h == "function" ? h.displayName || h.name || "Unknown" : h;
|
|
470
470
|
X && Ea(ne, he), Oe && Na(ne, he);
|
|
471
471
|
}
|
|
472
|
-
return Ia(h, X, Oe,
|
|
472
|
+
return Ia(h, X, Oe, ue, $, Re.current, ne);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
var da = y.ReactCurrentOwner, Ua = y.ReactDebugCurrentFrame;
|
|
@@ -538,9 +538,9 @@ Check the top-level render call using <` + J + ">.");
|
|
|
538
538
|
else if (fa(h))
|
|
539
539
|
h._store && (h._store.validated = !0);
|
|
540
540
|
else if (h) {
|
|
541
|
-
var
|
|
542
|
-
if (typeof
|
|
543
|
-
for (var pe =
|
|
541
|
+
var ue = f(h);
|
|
542
|
+
if (typeof ue == "function" && ue !== h.entries)
|
|
543
|
+
for (var pe = ue.call(h), ne; !(ne = pe.next()).done; )
|
|
544
544
|
fa(ne.value) && Ra(ne.value, z);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
@@ -564,8 +564,8 @@ Check the top-level render call using <` + J + ">.");
|
|
|
564
564
|
ea(J, h.props, "prop", $, h);
|
|
565
565
|
} else if (z.PropTypes !== void 0 && !ca) {
|
|
566
566
|
ca = !0;
|
|
567
|
-
var
|
|
568
|
-
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",
|
|
567
|
+
var ue = B(z);
|
|
568
|
+
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ue || "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.");
|
|
571
571
|
}
|
|
@@ -583,7 +583,7 @@ Check the top-level render call using <` + J + ">.");
|
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
var ta = {};
|
|
586
|
-
function Pe(h, z, J, $,
|
|
586
|
+
function Pe(h, z, J, $, ue, pe) {
|
|
587
587
|
{
|
|
588
588
|
var ne = k(h);
|
|
589
589
|
if (!ne) {
|
|
@@ -594,7 +594,7 @@ Check the top-level render call using <` + J + ">.");
|
|
|
594
594
|
var be;
|
|
595
595
|
h === null ? be = "null" : ve(h) ? be = "array" : h !== void 0 && h.$$typeof === n ? (be = "<" + (B(h.type) || "Unknown") + " />", X = " 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, X);
|
|
596
596
|
}
|
|
597
|
-
var he = Va(h, z, J,
|
|
597
|
+
var he = Va(h, z, J, ue, pe);
|
|
598
598
|
if (he == null)
|
|
599
599
|
return he;
|
|
600
600
|
if (ne) {
|
|
@@ -613,15 +613,15 @@ Check the top-level render call using <` + J + ">.");
|
|
|
613
613
|
if (Ue.call(z, "key")) {
|
|
614
614
|
var Ca = B(h), We = Object.keys(z).filter(function(Al) {
|
|
615
615
|
return Al !== "key";
|
|
616
|
-
}),
|
|
617
|
-
if (!ta[Ca +
|
|
616
|
+
}), Yi = We.length > 0 ? "{key: someKey, " + We.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
617
|
+
if (!ta[Ca + Yi]) {
|
|
618
618
|
var Fl = We.length > 0 ? "{" + We.join(": ..., ") + ": ...}" : "{}";
|
|
619
619
|
_(`A props object containing a "key" prop is being spread into JSX:
|
|
620
620
|
let props = %s;
|
|
621
621
|
<%s {...props} />
|
|
622
622
|
React keys must be passed directly to JSX without using spread:
|
|
623
623
|
let props = %s;
|
|
624
|
-
<%s key={someKey} {...props} />`,
|
|
624
|
+
<%s key={someKey} {...props} />`, Yi, Ca, Fl, Ca), ta[Ca + Yi] = !0;
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
return h === l ? De(he) : V(he), he;
|
|
@@ -633,25 +633,25 @@ React keys must be passed directly to JSX without using spread:
|
|
|
633
633
|
function ei(h, z, J) {
|
|
634
634
|
return Pe(h, z, J, !1);
|
|
635
635
|
}
|
|
636
|
-
var
|
|
637
|
-
Za.Fragment = l, Za.jsx =
|
|
636
|
+
var ji = ei, wl = na;
|
|
637
|
+
Za.Fragment = l, Za.jsx = ji, Za.jsxs = wl;
|
|
638
638
|
})()), Za;
|
|
639
639
|
}
|
|
640
|
-
var
|
|
640
|
+
var Lt;
|
|
641
641
|
function $l() {
|
|
642
|
-
return
|
|
642
|
+
return Lt || (Lt = 1, process.env.NODE_ENV === "production" ? ii.exports = Kl() : ii.exports = ql()), ii.exports;
|
|
643
643
|
}
|
|
644
644
|
var Fe = $l();
|
|
645
|
-
const zn =
|
|
646
|
-
const e =
|
|
645
|
+
const zn = Ki(null), oe = () => {
|
|
646
|
+
const e = dt(zn);
|
|
647
647
|
if (!e)
|
|
648
648
|
throw new Error("useApiContext must be used within ApiProvider");
|
|
649
649
|
return e;
|
|
650
650
|
}, Ka = {
|
|
651
651
|
READY: "ready",
|
|
652
652
|
PENDING: "pending"
|
|
653
|
-
}, In =
|
|
654
|
-
const [n, i] =
|
|
653
|
+
}, In = Ki(null), Ql = ({ children: e }) => {
|
|
654
|
+
const [n, i] = rt(Ka.PENDING), l = Oa(() => {
|
|
655
655
|
const p = n === Ka.READY, g = n === Ka.PENDING;
|
|
656
656
|
return {
|
|
657
657
|
status: n,
|
|
@@ -664,7 +664,7 @@ const zn = Vi(null), oe = () => {
|
|
|
664
664
|
}, [n]);
|
|
665
665
|
return /* @__PURE__ */ Fe.jsx(In.Provider, { value: l, children: e });
|
|
666
666
|
}, Vn = () => {
|
|
667
|
-
const e =
|
|
667
|
+
const e = dt(In);
|
|
668
668
|
if (!e)
|
|
669
669
|
throw new Error("useStatus must be used within a StatusProvider");
|
|
670
670
|
return e;
|
|
@@ -687,7 +687,7 @@ const zn = Vi(null), oe = () => {
|
|
|
687
687
|
default:
|
|
688
688
|
return e;
|
|
689
689
|
}
|
|
690
|
-
}, Xe = "https://d1h3qe8voog6w4.cloudfront.net",
|
|
690
|
+
}, Xe = "https://d1h3qe8voog6w4.cloudfront.net", ti = "https://d3jx2uvukujuvn.cloudfront.net", Jn = (e) => `${Xe}/reward_icon/${e}.avif`, Zn = () => `${Xe}/reward_icon/background_deposit.avif`, Kn = "ds88platformIcon", ja = {
|
|
691
691
|
zh_TW: "系統提示",
|
|
692
692
|
zh_CN: "系统提示",
|
|
693
693
|
en_US: "System Prompt",
|
|
@@ -696,7 +696,7 @@ const zn = Vi(null), oe = () => {
|
|
|
696
696
|
th_TH: "ข้อความระบบ",
|
|
697
697
|
ja_JP: "システムプロンプト"
|
|
698
698
|
};
|
|
699
|
-
function
|
|
699
|
+
function Gt({
|
|
700
700
|
baseURL: e,
|
|
701
701
|
getToken: n,
|
|
702
702
|
timeoutMs: i = 15e3,
|
|
@@ -745,8 +745,8 @@ function Lt({
|
|
|
745
745
|
}
|
|
746
746
|
), a;
|
|
747
747
|
}
|
|
748
|
-
const qn =
|
|
749
|
-
const e =
|
|
748
|
+
const qn = Ki(null), Cm = () => {
|
|
749
|
+
const e = dt(qn);
|
|
750
750
|
if (!e)
|
|
751
751
|
throw new Error(
|
|
752
752
|
"useGameInfoContext must be used within a GameInfoCtx.Provider"
|
|
@@ -809,25 +809,25 @@ const qn = Vi(null), Cm = () => {
|
|
|
809
809
|
);
|
|
810
810
|
return jl(g);
|
|
811
811
|
};
|
|
812
|
-
var
|
|
812
|
+
var si = { exports: {} }, er = si.exports, Mt;
|
|
813
813
|
function ar() {
|
|
814
|
-
return
|
|
814
|
+
return Mt || (Mt = 1, (function(e, n) {
|
|
815
815
|
(function(i, l) {
|
|
816
816
|
e.exports = l();
|
|
817
817
|
})(er, (function() {
|
|
818
818
|
var i = 1e3, l = 6e4, p = 36e5, g = "millisecond", b = "second", d = "minute", r = "hour", a = "day", t = "week", o = "month", s = "quarter", u = "year", m = "date", c = "Invalid Date", f = /^(\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(w) {
|
|
819
|
-
var
|
|
820
|
-
return "[" + w + (
|
|
821
|
-
} }, U = function(w,
|
|
822
|
-
var
|
|
823
|
-
return !
|
|
819
|
+
var G = ["th", "st", "nd", "rd"], R = w % 100;
|
|
820
|
+
return "[" + w + (G[(R - 20) % 10] || G[R] || G[0]) + "]";
|
|
821
|
+
} }, U = function(w, G, R) {
|
|
822
|
+
var W = String(w);
|
|
823
|
+
return !W || W.length >= G ? w : "" + Array(G + 1 - W.length).join(R) + w;
|
|
824
824
|
}, C = { s: U, z: function(w) {
|
|
825
|
-
var
|
|
826
|
-
return (
|
|
827
|
-
}, m: function w(
|
|
828
|
-
if (
|
|
829
|
-
var
|
|
830
|
-
return +(-(
|
|
825
|
+
var G = -w.utcOffset(), R = Math.abs(G), W = Math.floor(R / 60), N = R % 60;
|
|
826
|
+
return (G <= 0 ? "+" : "-") + U(W, 2, "0") + ":" + U(N, 2, "0");
|
|
827
|
+
}, m: function w(G, R) {
|
|
828
|
+
if (G.date() < R.date()) return -w(R, G);
|
|
829
|
+
var W = 12 * (R.year() - G.year()) + (R.month() - G.month()), N = G.clone().add(W, o), P = R - N < 0, A = G.clone().add(W + (P ? -1 : 1), o);
|
|
830
|
+
return +(-(W + (R - N) / (P ? N - A : A - N)) || 0);
|
|
831
831
|
}, a: function(w) {
|
|
832
832
|
return w < 0 ? Math.ceil(w) || 0 : Math.floor(w);
|
|
833
833
|
}, p: function(w) {
|
|
@@ -836,84 +836,84 @@ function ar() {
|
|
|
836
836
|
return w === void 0;
|
|
837
837
|
} }, v = "en", x = {};
|
|
838
838
|
x[v] = _;
|
|
839
|
-
var S = "$isDayjsObject",
|
|
839
|
+
var S = "$isDayjsObject", L = function(w) {
|
|
840
840
|
return w instanceof O || !(!w || !w[S]);
|
|
841
|
-
},
|
|
842
|
-
var
|
|
843
|
-
if (!
|
|
844
|
-
if (typeof
|
|
845
|
-
var
|
|
846
|
-
x[
|
|
847
|
-
var
|
|
848
|
-
if (!
|
|
841
|
+
}, H = function w(G, R, W) {
|
|
842
|
+
var N;
|
|
843
|
+
if (!G) return v;
|
|
844
|
+
if (typeof G == "string") {
|
|
845
|
+
var P = G.toLowerCase();
|
|
846
|
+
x[P] && (N = P), R && (x[P] = R, N = P);
|
|
847
|
+
var A = G.split("-");
|
|
848
|
+
if (!N && A.length > 1) return w(A[0]);
|
|
849
849
|
} else {
|
|
850
|
-
var D =
|
|
851
|
-
x[D] =
|
|
850
|
+
var D = G.name;
|
|
851
|
+
x[D] = G, N = D;
|
|
852
852
|
}
|
|
853
|
-
return !
|
|
854
|
-
}, k = function(w,
|
|
855
|
-
if (
|
|
856
|
-
var
|
|
857
|
-
return
|
|
853
|
+
return !W && N && (v = N), N || !W && v;
|
|
854
|
+
}, k = function(w, G) {
|
|
855
|
+
if (L(w)) return w.clone();
|
|
856
|
+
var R = typeof G == "object" ? G : {};
|
|
857
|
+
return R.date = w, R.args = arguments, new O(R);
|
|
858
858
|
}, T = C;
|
|
859
|
-
T.l =
|
|
860
|
-
return k(w, { locale:
|
|
859
|
+
T.l = H, T.i = L, T.w = function(w, G) {
|
|
860
|
+
return k(w, { locale: G.$L, utc: G.$u, x: G.$x, $offset: G.$offset });
|
|
861
861
|
};
|
|
862
862
|
var O = (function() {
|
|
863
|
-
function w(
|
|
864
|
-
this.$L =
|
|
863
|
+
function w(R) {
|
|
864
|
+
this.$L = H(R.locale, null, !0), this.parse(R), this.$x = this.$x || R.x || {}, this[S] = !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
|
|
875
|
-
if (
|
|
876
|
-
var D =
|
|
877
|
-
return
|
|
866
|
+
var G = w.prototype;
|
|
867
|
+
return G.parse = function(R) {
|
|
868
|
+
this.$d = (function(W) {
|
|
869
|
+
var N = W.date, P = W.utc;
|
|
870
|
+
if (N === null) return /* @__PURE__ */ new Date(NaN);
|
|
871
|
+
if (T.u(N)) return /* @__PURE__ */ new Date();
|
|
872
|
+
if (N instanceof Date) return new Date(N);
|
|
873
|
+
if (typeof N == "string" && !/Z$/i.test(N)) {
|
|
874
|
+
var A = N.match(f);
|
|
875
|
+
if (A) {
|
|
876
|
+
var D = A[2] - 1 || 0, E = (A[7] || "0").substring(0, 3);
|
|
877
|
+
return P ? new Date(Date.UTC(A[1], D, A[3] || 1, A[4] || 0, A[5] || 0, A[6] || 0, E)) : new Date(A[1], D, A[3] || 1, A[4] || 0, A[5] || 0, A[6] || 0, E);
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
|
-
return new Date(
|
|
881
|
-
})(
|
|
882
|
-
},
|
|
883
|
-
var
|
|
884
|
-
this.$y =
|
|
885
|
-
},
|
|
880
|
+
return new Date(N);
|
|
881
|
+
})(R), this.init();
|
|
882
|
+
}, G.init = function() {
|
|
883
|
+
var R = this.$d;
|
|
884
|
+
this.$y = R.getFullYear(), this.$M = R.getMonth(), this.$D = R.getDate(), this.$W = R.getDay(), this.$H = R.getHours(), this.$m = R.getMinutes(), this.$s = R.getSeconds(), this.$ms = R.getMilliseconds();
|
|
885
|
+
}, G.$utils = function() {
|
|
886
886
|
return T;
|
|
887
|
-
},
|
|
887
|
+
}, G.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
|
+
}, G.isSame = function(R, W) {
|
|
890
|
+
var N = k(R);
|
|
891
|
+
return this.startOf(W) <= N && N <= this.endOf(W);
|
|
892
|
+
}, G.isAfter = function(R, W) {
|
|
893
|
+
return k(R) < this.startOf(W);
|
|
894
|
+
}, G.isBefore = function(R, W) {
|
|
895
|
+
return this.endOf(W) < k(R);
|
|
896
|
+
}, G.$g = function(R, W, N) {
|
|
897
|
+
return T.u(R) ? this[W] : this.set(N, R);
|
|
898
|
+
}, G.unix = function() {
|
|
899
899
|
return Math.floor(this.valueOf() / 1e3);
|
|
900
|
-
},
|
|
900
|
+
}, G.valueOf = function() {
|
|
901
901
|
return this.$d.getTime();
|
|
902
|
-
},
|
|
903
|
-
var
|
|
904
|
-
var _e = T.w(
|
|
905
|
-
return
|
|
902
|
+
}, G.startOf = function(R, W) {
|
|
903
|
+
var N = this, P = !!T.u(W) || W, A = T.p(R), D = function(ae, te) {
|
|
904
|
+
var _e = T.w(N.$u ? Date.UTC(N.$y, te, ae) : new Date(N.$y, te, ae), N);
|
|
905
|
+
return P ? _e : _e.endOf(a);
|
|
906
906
|
}, E = function(ae, te) {
|
|
907
|
-
return T.w(
|
|
908
|
-
},
|
|
909
|
-
switch (
|
|
907
|
+
return T.w(N.toDate()[ae].apply(N.toDate("s"), (P ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(te)), N);
|
|
908
|
+
}, F = this.$W, M = this.$M, K = this.$D, q = "set" + (this.$u ? "UTC" : "");
|
|
909
|
+
switch (A) {
|
|
910
910
|
case u:
|
|
911
|
-
return
|
|
911
|
+
return P ? D(1, 0) : D(31, 11);
|
|
912
912
|
case o:
|
|
913
|
-
return
|
|
913
|
+
return P ? D(1, M) : D(0, M + 1);
|
|
914
914
|
case t:
|
|
915
|
-
var j = this.$locale().weekStart || 0, Z = (
|
|
916
|
-
return D(
|
|
915
|
+
var j = this.$locale().weekStart || 0, Z = (F < j ? F + 7 : F) - j;
|
|
916
|
+
return D(P ? K - Z : K + (6 - Z), M);
|
|
917
917
|
case a:
|
|
918
918
|
case m:
|
|
919
919
|
return E(q + "Hours", 0);
|
|
@@ -926,72 +926,72 @@ function ar() {
|
|
|
926
926
|
default:
|
|
927
927
|
return this.clone();
|
|
928
928
|
}
|
|
929
|
-
},
|
|
930
|
-
return this.startOf(
|
|
931
|
-
},
|
|
932
|
-
var
|
|
933
|
-
if (
|
|
934
|
-
var
|
|
935
|
-
|
|
929
|
+
}, G.endOf = function(R) {
|
|
930
|
+
return this.startOf(R, !1);
|
|
931
|
+
}, G.$set = function(R, W) {
|
|
932
|
+
var N, P = T.p(R), A = "set" + (this.$u ? "UTC" : ""), D = (N = {}, N[a] = A + "Date", N[m] = A + "Date", N[o] = A + "Month", N[u] = A + "FullYear", N[r] = A + "Hours", N[d] = A + "Minutes", N[b] = A + "Seconds", N[g] = A + "Milliseconds", N)[P], E = P === a ? this.$D + (W - this.$W) : W;
|
|
933
|
+
if (P === o || P === u) {
|
|
934
|
+
var F = this.clone().set(m, 1);
|
|
935
|
+
F.$d[D](E), F.init(), this.$d = F.set(m, Math.min(this.$D, F.daysInMonth())).$d;
|
|
936
936
|
} else D && this.$d[D](E);
|
|
937
937
|
return this.init(), this;
|
|
938
|
-
},
|
|
939
|
-
return this.clone().$set(
|
|
940
|
-
},
|
|
941
|
-
return this[T.p(
|
|
942
|
-
},
|
|
943
|
-
var
|
|
944
|
-
|
|
945
|
-
var
|
|
946
|
-
var K = k(
|
|
947
|
-
return T.w(K.date(K.date() + Math.round(M *
|
|
938
|
+
}, G.set = function(R, W) {
|
|
939
|
+
return this.clone().$set(R, W);
|
|
940
|
+
}, G.get = function(R) {
|
|
941
|
+
return this[T.p(R)]();
|
|
942
|
+
}, G.add = function(R, W) {
|
|
943
|
+
var N, P = this;
|
|
944
|
+
R = Number(R);
|
|
945
|
+
var A = T.p(W), D = function(M) {
|
|
946
|
+
var K = k(P);
|
|
947
|
+
return T.w(K.date(K.date() + Math.round(M * R)), P);
|
|
948
948
|
};
|
|
949
|
-
if (
|
|
950
|
-
if (
|
|
951
|
-
if (
|
|
952
|
-
if (
|
|
953
|
-
var E = (
|
|
954
|
-
return T.w(
|
|
955
|
-
},
|
|
956
|
-
return this.add(-1 *
|
|
957
|
-
},
|
|
958
|
-
var
|
|
959
|
-
if (!this.isValid()) return
|
|
960
|
-
var
|
|
961
|
-
return te && (te[_e] || te(
|
|
949
|
+
if (A === o) return this.set(o, this.$M + R);
|
|
950
|
+
if (A === u) return this.set(u, this.$y + R);
|
|
951
|
+
if (A === a) return D(1);
|
|
952
|
+
if (A === t) return D(7);
|
|
953
|
+
var E = (N = {}, N[d] = l, N[r] = p, N[b] = i, N)[A] || 1, F = this.$d.getTime() + R * E;
|
|
954
|
+
return T.w(F, this);
|
|
955
|
+
}, G.subtract = function(R, W) {
|
|
956
|
+
return this.add(-1 * R, W);
|
|
957
|
+
}, G.format = function(R) {
|
|
958
|
+
var W = this, N = this.$locale();
|
|
959
|
+
if (!this.isValid()) return N.invalidDate || c;
|
|
960
|
+
var P = R || "YYYY-MM-DDTHH:mm:ssZ", A = T.z(this), D = this.$H, E = this.$m, F = this.$M, M = N.weekdays, K = N.months, q = N.meridiem, j = function(te, _e, ye, me) {
|
|
961
|
+
return te && (te[_e] || te(W, P)) || ye[_e].slice(0, me);
|
|
962
962
|
}, Z = function(te) {
|
|
963
963
|
return T.s(D % 12 || 12, te, "0");
|
|
964
964
|
}, ae = q || function(te, _e, ye) {
|
|
965
|
-
var
|
|
966
|
-
return ye ?
|
|
965
|
+
var me = te < 12 ? "AM" : "PM";
|
|
966
|
+
return ye ? me.toLowerCase() : me;
|
|
967
967
|
};
|
|
968
|
-
return
|
|
968
|
+
return P.replace(y, (function(te, _e) {
|
|
969
969
|
return _e || (function(ye) {
|
|
970
970
|
switch (ye) {
|
|
971
971
|
case "YY":
|
|
972
|
-
return String(
|
|
972
|
+
return String(W.$y).slice(-2);
|
|
973
973
|
case "YYYY":
|
|
974
|
-
return T.s(
|
|
974
|
+
return T.s(W.$y, 4, "0");
|
|
975
975
|
case "M":
|
|
976
|
-
return
|
|
976
|
+
return F + 1;
|
|
977
977
|
case "MM":
|
|
978
|
-
return T.s(
|
|
978
|
+
return T.s(F + 1, 2, "0");
|
|
979
979
|
case "MMM":
|
|
980
|
-
return j(
|
|
980
|
+
return j(N.monthsShort, F, K, 3);
|
|
981
981
|
case "MMMM":
|
|
982
|
-
return j(K,
|
|
982
|
+
return j(K, F);
|
|
983
983
|
case "D":
|
|
984
|
-
return
|
|
984
|
+
return W.$D;
|
|
985
985
|
case "DD":
|
|
986
|
-
return T.s(
|
|
986
|
+
return T.s(W.$D, 2, "0");
|
|
987
987
|
case "d":
|
|
988
|
-
return String(
|
|
988
|
+
return String(W.$W);
|
|
989
989
|
case "dd":
|
|
990
|
-
return j(
|
|
990
|
+
return j(N.weekdaysMin, W.$W, M, 2);
|
|
991
991
|
case "ddd":
|
|
992
|
-
return j(
|
|
992
|
+
return j(N.weekdaysShort, W.$W, M, 3);
|
|
993
993
|
case "dddd":
|
|
994
|
-
return M[
|
|
994
|
+
return M[W.$W];
|
|
995
995
|
case "H":
|
|
996
996
|
return String(D);
|
|
997
997
|
case "HH":
|
|
@@ -1009,104 +1009,104 @@ function ar() {
|
|
|
1009
1009
|
case "mm":
|
|
1010
1010
|
return T.s(E, 2, "0");
|
|
1011
1011
|
case "s":
|
|
1012
|
-
return String(
|
|
1012
|
+
return String(W.$s);
|
|
1013
1013
|
case "ss":
|
|
1014
|
-
return T.s(
|
|
1014
|
+
return T.s(W.$s, 2, "0");
|
|
1015
1015
|
case "SSS":
|
|
1016
|
-
return T.s(
|
|
1016
|
+
return T.s(W.$ms, 3, "0");
|
|
1017
1017
|
case "Z":
|
|
1018
|
-
return
|
|
1018
|
+
return A;
|
|
1019
1019
|
}
|
|
1020
1020
|
return null;
|
|
1021
|
-
})(te) ||
|
|
1021
|
+
})(te) || A.replace(":", "");
|
|
1022
1022
|
}));
|
|
1023
|
-
},
|
|
1023
|
+
}, G.utcOffset = function() {
|
|
1024
1024
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1025
|
-
},
|
|
1026
|
-
var
|
|
1027
|
-
return T.m(
|
|
1025
|
+
}, G.diff = function(R, W, N) {
|
|
1026
|
+
var P, A = this, D = T.p(W), E = k(R), F = (E.utcOffset() - this.utcOffset()) * l, M = this - E, K = function() {
|
|
1027
|
+
return T.m(A, E);
|
|
1028
1028
|
};
|
|
1029
1029
|
switch (D) {
|
|
1030
1030
|
case u:
|
|
1031
|
-
|
|
1031
|
+
P = K() / 12;
|
|
1032
1032
|
break;
|
|
1033
1033
|
case o:
|
|
1034
|
-
|
|
1034
|
+
P = K();
|
|
1035
1035
|
break;
|
|
1036
1036
|
case s:
|
|
1037
|
-
|
|
1037
|
+
P = K() / 3;
|
|
1038
1038
|
break;
|
|
1039
1039
|
case t:
|
|
1040
|
-
|
|
1040
|
+
P = (M - F) / 6048e5;
|
|
1041
1041
|
break;
|
|
1042
1042
|
case a:
|
|
1043
|
-
|
|
1043
|
+
P = (M - F) / 864e5;
|
|
1044
1044
|
break;
|
|
1045
1045
|
case r:
|
|
1046
|
-
|
|
1046
|
+
P = M / p;
|
|
1047
1047
|
break;
|
|
1048
1048
|
case d:
|
|
1049
|
-
|
|
1049
|
+
P = M / l;
|
|
1050
1050
|
break;
|
|
1051
1051
|
case b:
|
|
1052
|
-
|
|
1052
|
+
P = M / i;
|
|
1053
1053
|
break;
|
|
1054
1054
|
default:
|
|
1055
|
-
|
|
1055
|
+
P = M;
|
|
1056
1056
|
}
|
|
1057
|
-
return
|
|
1058
|
-
},
|
|
1057
|
+
return N ? P : T.a(P);
|
|
1058
|
+
}, G.daysInMonth = function() {
|
|
1059
1059
|
return this.endOf(o).$D;
|
|
1060
|
-
},
|
|
1060
|
+
}, G.$locale = function() {
|
|
1061
1061
|
return x[this.$L];
|
|
1062
|
-
},
|
|
1063
|
-
if (!
|
|
1064
|
-
var
|
|
1065
|
-
return
|
|
1066
|
-
},
|
|
1062
|
+
}, G.locale = function(R, W) {
|
|
1063
|
+
if (!R) return this.$L;
|
|
1064
|
+
var N = this.clone(), P = H(R, W, !0);
|
|
1065
|
+
return P && (N.$L = P), N;
|
|
1066
|
+
}, G.clone = function() {
|
|
1067
1067
|
return T.w(this.$d, this);
|
|
1068
|
-
},
|
|
1068
|
+
}, G.toDate = function() {
|
|
1069
1069
|
return new Date(this.valueOf());
|
|
1070
|
-
},
|
|
1070
|
+
}, G.toJSON = function() {
|
|
1071
1071
|
return this.isValid() ? this.toISOString() : null;
|
|
1072
|
-
},
|
|
1072
|
+
}, G.toISOString = function() {
|
|
1073
1073
|
return this.$d.toISOString();
|
|
1074
|
-
},
|
|
1074
|
+
}, G.toString = function() {
|
|
1075
1075
|
return this.$d.toUTCString();
|
|
1076
1076
|
}, w;
|
|
1077
1077
|
})(), B = O.prototype;
|
|
1078
1078
|
return k.prototype = B, [["$ms", g], ["$s", b], ["$m", d], ["$H", r], ["$W", a], ["$M", o], ["$y", u], ["$D", m]].forEach((function(w) {
|
|
1079
|
-
B[w[1]] = function(
|
|
1080
|
-
return this.$g(
|
|
1079
|
+
B[w[1]] = function(G) {
|
|
1080
|
+
return this.$g(G, w[0], w[1]);
|
|
1081
1081
|
};
|
|
1082
|
-
})), k.extend = function(w,
|
|
1083
|
-
return w.$i || (w(
|
|
1084
|
-
}, k.locale =
|
|
1082
|
+
})), k.extend = function(w, G) {
|
|
1083
|
+
return w.$i || (w(G, O, k), w.$i = !0), k;
|
|
1084
|
+
}, k.locale = H, k.isDayjs = L, k.unix = function(w) {
|
|
1085
1085
|
return k(1e3 * w);
|
|
1086
1086
|
}, k.en = x[v], k.Ls = x, k.p = {}, k;
|
|
1087
1087
|
}));
|
|
1088
|
-
})(
|
|
1088
|
+
})(si)), si.exports;
|
|
1089
1089
|
}
|
|
1090
1090
|
var ir = ar();
|
|
1091
|
-
const we = /* @__PURE__ */
|
|
1092
|
-
var
|
|
1091
|
+
const we = /* @__PURE__ */ ft(ir);
|
|
1092
|
+
var mi = { exports: {} };
|
|
1093
1093
|
function tr(e) {
|
|
1094
1094
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
1095
1095
|
}
|
|
1096
|
-
var
|
|
1096
|
+
var ui = { exports: {} };
|
|
1097
1097
|
const nr = {}, lr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1098
1098
|
__proto__: null,
|
|
1099
1099
|
default: nr
|
|
1100
1100
|
}, Symbol.toStringTag, { value: "Module" })), rr = /* @__PURE__ */ Zl(lr);
|
|
1101
|
-
var or =
|
|
1101
|
+
var or = ui.exports, Rt;
|
|
1102
1102
|
function ie() {
|
|
1103
|
-
return
|
|
1103
|
+
return Rt || (Rt = 1, (function(e, n) {
|
|
1104
1104
|
(function(i, l) {
|
|
1105
1105
|
e.exports = l();
|
|
1106
1106
|
})(or, function() {
|
|
1107
1107
|
var i = i || (function(l, p) {
|
|
1108
1108
|
var g;
|
|
1109
|
-
if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof
|
|
1109
|
+
if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof Xi < "u" && Xi.crypto && (g = Xi.crypto), !g && typeof tr == "function")
|
|
1110
1110
|
try {
|
|
1111
1111
|
g = rr;
|
|
1112
1112
|
} catch {
|
|
@@ -1264,12 +1264,12 @@ function ie() {
|
|
|
1264
1264
|
var U = this.words, C = _.words, v = this.sigBytes, x = _.sigBytes;
|
|
1265
1265
|
if (this.clamp(), v % 4)
|
|
1266
1266
|
for (var S = 0; S < x; S++) {
|
|
1267
|
-
var
|
|
1268
|
-
U[v + S >>> 2] |=
|
|
1267
|
+
var L = C[S >>> 2] >>> 24 - S % 4 * 8 & 255;
|
|
1268
|
+
U[v + S >>> 2] |= L << 24 - (v + S) % 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,9 +1468,9 @@ function ie() {
|
|
|
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, S = this.blockSize,
|
|
1472
|
-
_ ?
|
|
1473
|
-
var k =
|
|
1471
|
+
var U, C = this._data, v = C.words, x = C.sigBytes, S = this.blockSize, L = S * 4, H = x / L;
|
|
1472
|
+
_ ? H = l.ceil(H) : H = l.max((H | 0) - this._minBufferSize, 0);
|
|
1473
|
+
var k = H * S, T = l.min(k * 4, x);
|
|
1474
1474
|
if (k) {
|
|
1475
1475
|
for (var O = 0; O < k; O += S)
|
|
1476
1476
|
this._doProcessBlock(v, O);
|
|
@@ -1597,11 +1597,11 @@ function ie() {
|
|
|
1597
1597
|
})(Math);
|
|
1598
1598
|
return i;
|
|
1599
1599
|
});
|
|
1600
|
-
})(
|
|
1600
|
+
})(ui)), ui.exports;
|
|
1601
1601
|
}
|
|
1602
|
-
var
|
|
1603
|
-
function
|
|
1604
|
-
return
|
|
1602
|
+
var pi = { exports: {} }, sr = pi.exports, Pt;
|
|
1603
|
+
function Qi() {
|
|
1604
|
+
return Pt || (Pt = 1, (function(e, n) {
|
|
1605
1605
|
(function(i, l) {
|
|
1606
1606
|
e.exports = l(ie());
|
|
1607
1607
|
})(sr, function(i) {
|
|
@@ -1827,11 +1827,11 @@ function Ki() {
|
|
|
1827
1827
|
});
|
|
1828
1828
|
})(), i;
|
|
1829
1829
|
});
|
|
1830
|
-
})(
|
|
1830
|
+
})(pi)), pi.exports;
|
|
1831
1831
|
}
|
|
1832
|
-
var
|
|
1832
|
+
var gi = { exports: {} }, mr = gi.exports, wt;
|
|
1833
1833
|
function ur() {
|
|
1834
|
-
return
|
|
1834
|
+
return wt || (wt = 1, (function(e, n) {
|
|
1835
1835
|
(function(i, l) {
|
|
1836
1836
|
e.exports = l(ie());
|
|
1837
1837
|
})(mr, function(i) {
|
|
@@ -1849,11 +1849,11 @@ function ur() {
|
|
|
1849
1849
|
}
|
|
1850
1850
|
})(), i.lib.WordArray;
|
|
1851
1851
|
});
|
|
1852
|
-
})(
|
|
1852
|
+
})(gi)), gi.exports;
|
|
1853
1853
|
}
|
|
1854
|
-
var
|
|
1854
|
+
var di = { exports: {} }, pr = di.exports, Ft;
|
|
1855
1855
|
function gr() {
|
|
1856
|
-
return
|
|
1856
|
+
return Ft || (Ft = 1, (function(e, n) {
|
|
1857
1857
|
(function(i, l) {
|
|
1858
1858
|
e.exports = l(ie());
|
|
1859
1859
|
})(pr, function(i) {
|
|
@@ -1943,11 +1943,11 @@ function gr() {
|
|
|
1943
1943
|
}
|
|
1944
1944
|
})(), i.enc.Utf16;
|
|
1945
1945
|
});
|
|
1946
|
-
})(
|
|
1946
|
+
})(di)), di.exports;
|
|
1947
1947
|
}
|
|
1948
|
-
var
|
|
1948
|
+
var ci = { exports: {} }, dr = ci.exports, At;
|
|
1949
1949
|
function Sa() {
|
|
1950
|
-
return
|
|
1950
|
+
return At || (At = 1, (function(e, n) {
|
|
1951
1951
|
(function(i, l) {
|
|
1952
1952
|
e.exports = l(ie());
|
|
1953
1953
|
})(dr, function(i) {
|
|
@@ -2018,11 +2018,11 @@ function Sa() {
|
|
|
2018
2018
|
}
|
|
2019
2019
|
})(), i.enc.Base64;
|
|
2020
2020
|
});
|
|
2021
|
-
})(
|
|
2021
|
+
})(ci)), ci.exports;
|
|
2022
2022
|
}
|
|
2023
|
-
var
|
|
2023
|
+
var fi = { exports: {} }, cr = fi.exports, Ot;
|
|
2024
2024
|
function fr() {
|
|
2025
|
-
return
|
|
2025
|
+
return Ot || (Ot = 1, (function(e, n) {
|
|
2026
2026
|
(function(i, l) {
|
|
2027
2027
|
e.exports = l(ie());
|
|
2028
2028
|
})(cr, function(i) {
|
|
@@ -2100,11 +2100,11 @@ function fr() {
|
|
|
2100
2100
|
}
|
|
2101
2101
|
})(), i.enc.Base64url;
|
|
2102
2102
|
});
|
|
2103
|
-
})(
|
|
2103
|
+
})(fi)), fi.exports;
|
|
2104
2104
|
}
|
|
2105
|
-
var
|
|
2105
|
+
var _i = { exports: {} }, _r = _i.exports, Bt;
|
|
2106
2106
|
function Da() {
|
|
2107
|
-
return
|
|
2107
|
+
return Bt || (Bt = 1, (function(e, n) {
|
|
2108
2108
|
(function(i, l) {
|
|
2109
2109
|
e.exports = l(ie());
|
|
2110
2110
|
})(_r, function(i) {
|
|
@@ -2128,8 +2128,8 @@ function Da() {
|
|
|
2128
2128
|
var _ = f + 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[f + 0], x = c[f + 1], S = c[f + 2],
|
|
2132
|
-
D = o(D, E,
|
|
2131
|
+
var C = this._hash.words, v = c[f + 0], x = c[f + 1], S = c[f + 2], L = c[f + 3], H = c[f + 4], k = c[f + 5], T = c[f + 6], O = c[f + 7], B = c[f + 8], w = c[f + 9], G = c[f + 10], R = c[f + 11], W = c[f + 12], N = c[f + 13], P = c[f + 14], A = c[f + 15], D = C[0], E = C[1], F = C[2], M = C[3];
|
|
2132
|
+
D = o(D, E, F, M, v, 7, a[0]), M = o(M, D, E, F, x, 12, a[1]), F = o(F, M, D, E, S, 17, a[2]), E = o(E, F, M, D, L, 22, a[3]), D = o(D, E, F, M, H, 7, a[4]), M = o(M, D, E, F, k, 12, a[5]), F = o(F, M, D, E, T, 17, a[6]), E = o(E, F, M, D, O, 22, a[7]), D = o(D, E, F, M, B, 7, a[8]), M = o(M, D, E, F, w, 12, a[9]), F = o(F, M, D, E, G, 17, a[10]), E = o(E, F, M, D, R, 22, a[11]), D = o(D, E, F, M, W, 7, a[12]), M = o(M, D, E, F, N, 12, a[13]), F = o(F, M, D, E, P, 17, a[14]), E = o(E, F, M, D, A, 22, a[15]), D = s(D, E, F, M, x, 5, a[16]), M = s(M, D, E, F, T, 9, a[17]), F = s(F, M, D, E, R, 14, a[18]), E = s(E, F, M, D, v, 20, a[19]), D = s(D, E, F, M, k, 5, a[20]), M = s(M, D, E, F, G, 9, a[21]), F = s(F, M, D, E, A, 14, a[22]), E = s(E, F, M, D, H, 20, a[23]), D = s(D, E, F, M, w, 5, a[24]), M = s(M, D, E, F, P, 9, a[25]), F = s(F, M, D, E, L, 14, a[26]), E = s(E, F, M, D, B, 20, a[27]), D = s(D, E, F, M, N, 5, a[28]), M = s(M, D, E, F, S, 9, a[29]), F = s(F, M, D, E, O, 14, a[30]), E = s(E, F, M, D, W, 20, a[31]), D = u(D, E, F, M, k, 4, a[32]), M = u(M, D, E, F, B, 11, a[33]), F = u(F, M, D, E, R, 16, a[34]), E = u(E, F, M, D, P, 23, a[35]), D = u(D, E, F, M, x, 4, a[36]), M = u(M, D, E, F, H, 11, a[37]), F = u(F, M, D, E, O, 16, a[38]), E = u(E, F, M, D, G, 23, a[39]), D = u(D, E, F, M, N, 4, a[40]), M = u(M, D, E, F, v, 11, a[41]), F = u(F, M, D, E, L, 16, a[42]), E = u(E, F, M, D, T, 23, a[43]), D = u(D, E, F, M, w, 4, a[44]), M = u(M, D, E, F, W, 11, a[45]), F = u(F, M, D, E, A, 16, a[46]), E = u(E, F, M, D, S, 23, a[47]), D = m(D, E, F, M, v, 6, a[48]), M = m(M, D, E, F, O, 10, a[49]), F = m(F, M, D, E, P, 15, a[50]), E = m(E, F, M, D, k, 21, a[51]), D = m(D, E, F, M, W, 6, a[52]), M = m(M, D, E, F, L, 10, a[53]), F = m(F, M, D, E, G, 15, a[54]), E = m(E, F, M, D, x, 21, a[55]), D = m(D, E, F, M, B, 6, a[56]), M = m(M, D, E, F, A, 10, a[57]), F = m(F, M, D, E, T, 15, a[58]), E = m(E, F, M, D, N, 21, a[59]), D = m(D, E, F, M, H, 6, a[60]), M = m(M, D, E, F, R, 10, a[61]), F = m(F, M, D, E, S, 15, a[62]), E = m(E, F, M, D, w, 21, a[63]), C[0] = C[0] + D | 0, C[1] = C[1] + E | 0, C[2] = C[2] + F | 0, C[3] = C[3] + M | 0;
|
|
2133
2133
|
},
|
|
2134
2134
|
_doFinalize: function() {
|
|
2135
2135
|
var c = this._data, f = c.words, y = this._nDataBytes * 8, _ = c.sigBytes * 8;
|
|
@@ -2137,8 +2137,8 @@ function Da() {
|
|
|
2137
2137
|
var U = l.floor(y / 4294967296), C = y;
|
|
2138
2138
|
f[(_ + 64 >>> 9 << 4) + 15] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, f[(_ + 64 >>> 9 << 4) + 14] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, c.sigBytes = (f.length + 1) * 4, this._process();
|
|
2139
2139
|
for (var v = this._hash, x = v.words, S = 0; S < 4; S++) {
|
|
2140
|
-
var
|
|
2141
|
-
x[S] = (
|
|
2140
|
+
var L = x[S];
|
|
2141
|
+
x[S] = (L << 8 | L >>> 24) & 16711935 | (L << 24 | L >>> 8) & 4278255360;
|
|
2142
2142
|
}
|
|
2143
2143
|
return v;
|
|
2144
2144
|
},
|
|
@@ -2166,11 +2166,11 @@ function Da() {
|
|
|
2166
2166
|
p.MD5 = d._createHelper(t), p.HmacMD5 = d._createHmacHelper(t);
|
|
2167
2167
|
})(Math), i.MD5;
|
|
2168
2168
|
});
|
|
2169
|
-
})(
|
|
2169
|
+
})(_i)), _i.exports;
|
|
2170
2170
|
}
|
|
2171
|
-
var
|
|
2171
|
+
var yi = { exports: {} }, yr = yi.exports, Ht;
|
|
2172
2172
|
function Xn() {
|
|
2173
|
-
return
|
|
2173
|
+
return Ht || (Ht = 1, (function(e, n) {
|
|
2174
2174
|
(function(i, l) {
|
|
2175
2175
|
e.exports = l(ie());
|
|
2176
2176
|
})(yr, function(i) {
|
|
@@ -2210,11 +2210,11 @@ function Xn() {
|
|
|
2210
2210
|
l.SHA1 = b._createHelper(a), l.HmacSHA1 = b._createHmacHelper(a);
|
|
2211
2211
|
})(), i.SHA1;
|
|
2212
2212
|
});
|
|
2213
|
-
})(
|
|
2213
|
+
})(yi)), yi.exports;
|
|
2214
2214
|
}
|
|
2215
|
-
var
|
|
2216
|
-
function
|
|
2217
|
-
return
|
|
2215
|
+
var Ui = { exports: {} }, Ur = Ui.exports, Wt;
|
|
2216
|
+
function _t() {
|
|
2217
|
+
return Wt || (Wt = 1, (function(e, n) {
|
|
2218
2218
|
(function(i, l) {
|
|
2219
2219
|
e.exports = l(ie());
|
|
2220
2220
|
})(Ur, function(i) {
|
|
@@ -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, f = c[0], y = c[1], _ = c[2], U = c[3], C = c[4], v = c[5], x = c[6], S = c[7],
|
|
2242
|
-
if (
|
|
2243
|
-
o[
|
|
2241
|
+
for (var c = this._hash.words, f = c[0], y = c[1], _ = c[2], U = c[3], C = c[4], v = c[5], x = c[6], S = c[7], L = 0; L < 64; L++) {
|
|
2242
|
+
if (L < 16)
|
|
2243
|
+
o[L] = u[m + L] | 0;
|
|
2244
2244
|
else {
|
|
2245
|
-
var
|
|
2246
|
-
o[
|
|
2245
|
+
var H = o[L - 15], k = (H << 25 | H >>> 7) ^ (H << 14 | H >>> 18) ^ H >>> 3, T = o[L - 2], O = (T << 15 | T >>> 17) ^ (T << 13 | T >>> 19) ^ T >>> 10;
|
|
2246
|
+
o[L] = k + o[L - 7] + O + o[L - 16];
|
|
2247
2247
|
}
|
|
2248
|
-
var B = C & v ^ ~C & x, w = f & y ^ f & _ ^ y & _,
|
|
2249
|
-
S = x, x = v, v = C, C = U +
|
|
2248
|
+
var B = C & v ^ ~C & x, w = f & y ^ f & _ ^ y & _, G = (f << 30 | f >>> 2) ^ (f << 19 | f >>> 13) ^ (f << 10 | f >>> 22), R = (C << 26 | C >>> 6) ^ (C << 21 | C >>> 11) ^ (C << 7 | C >>> 25), W = S + R + B + t[L] + o[L], N = G + w;
|
|
2249
|
+
S = x, x = v, v = C, C = U + W | 0, U = _, _ = y, y = f, f = W + N | 0;
|
|
2250
2250
|
}
|
|
2251
2251
|
c[0] = c[0] + f | 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] + S | 0;
|
|
2252
2252
|
},
|
|
@@ -2262,13 +2262,13 @@ function dt() {
|
|
|
2262
2262
|
p.SHA256 = d._createHelper(s), p.HmacSHA256 = d._createHmacHelper(s);
|
|
2263
2263
|
})(Math), i.SHA256;
|
|
2264
2264
|
});
|
|
2265
|
-
})(
|
|
2265
|
+
})(Ui)), Ui.exports;
|
|
2266
2266
|
}
|
|
2267
|
-
var
|
|
2267
|
+
var bi = { exports: {} }, br = bi.exports, zt;
|
|
2268
2268
|
function Cr() {
|
|
2269
|
-
return
|
|
2269
|
+
return zt || (zt = 1, (function(e, n) {
|
|
2270
2270
|
(function(i, l, p) {
|
|
2271
|
-
e.exports = l(ie(),
|
|
2271
|
+
e.exports = l(ie(), _t());
|
|
2272
2272
|
})(br, function(i) {
|
|
2273
2273
|
return (function() {
|
|
2274
2274
|
var l = i, p = l.lib, g = p.WordArray, b = l.algo, d = b.SHA256, r = b.SHA224 = d.extend({
|
|
@@ -2292,13 +2292,13 @@ function Cr() {
|
|
|
2292
2292
|
l.SHA224 = d._createHelper(r), l.HmacSHA224 = d._createHmacHelper(r);
|
|
2293
2293
|
})(), i.SHA224;
|
|
2294
2294
|
});
|
|
2295
|
-
})(
|
|
2295
|
+
})(bi)), bi.exports;
|
|
2296
2296
|
}
|
|
2297
|
-
var
|
|
2297
|
+
var Ci = { exports: {} }, vr = Ci.exports, It;
|
|
2298
2298
|
function el() {
|
|
2299
|
-
return
|
|
2299
|
+
return It || (It = 1, (function(e, n) {
|
|
2300
2300
|
(function(i, l, p) {
|
|
2301
|
-
e.exports = l(ie(),
|
|
2301
|
+
e.exports = l(ie(), Qi());
|
|
2302
2302
|
})(vr, function(i) {
|
|
2303
2303
|
return (function() {
|
|
2304
2304
|
var l = i, p = l.lib, g = p.Hasher, b = l.x64, d = b.Word, r = b.WordArray, a = l.algo;
|
|
@@ -2405,7 +2405,7 @@ function el() {
|
|
|
2405
2405
|
]);
|
|
2406
2406
|
},
|
|
2407
2407
|
_doProcessBlock: function(m, c) {
|
|
2408
|
-
for (var f = this._hash.words, y = f[0], _ = f[1], U = f[2], C = f[3], v = f[4], x = f[5], S = f[6],
|
|
2408
|
+
for (var f = this._hash.words, y = f[0], _ = f[1], U = f[2], C = f[3], v = f[4], x = f[5], S = f[6], L = f[7], H = y.high, k = y.low, T = _.high, O = _.low, B = U.high, w = U.low, G = C.high, R = C.low, W = v.high, N = v.low, P = x.high, A = x.low, D = S.high, E = S.low, F = L.high, M = L.low, K = H, q = k, j = T, Z = O, ae = B, te = w, _e = G, ye = R, me = W, ce = N, ke = P, Ue = A, Ie = D, Ce = E, Ge = F, ea = M, Me = 0; Me < 80; Me++) {
|
|
2409
2409
|
var ve, He, aa = s[Me];
|
|
2410
2410
|
if (Me < 16)
|
|
2411
2411
|
He = aa.high = m[c + Me * 2] | 0, ve = aa.low = m[c + Me * 2 + 1] | 0;
|
|
@@ -2413,10 +2413,10 @@ function el() {
|
|
|
2413
2413
|
var ia = s[Me - 15], xe = ia.high, Re = ia.low, Qe = (xe >>> 1 | Re << 31) ^ (xe >>> 8 | Re << 24) ^ xe >>> 7, oa = (Re >>> 1 | xe << 31) ^ (Re >>> 8 | xe << 24) ^ (Re >>> 7 | xe << 25), ga = s[Me - 2], Ve = ga.high, je = ga.low, za = (Ve >>> 19 | je << 13) ^ (Ve << 3 | je >>> 29) ^ Ve >>> 6, Ea = (je >>> 19 | Ve << 13) ^ (je << 3 | Ve >>> 29) ^ (je >>> 6 | Ve << 26), Na = s[Me - 7], Ia = Na.high, Va = Na.low, da = s[Me - 16], Ua = da.high, Ze = da.low;
|
|
2414
2414
|
ve = oa + Va, He = Qe + Ia + (ve >>> 0 < oa >>> 0 ? 1 : 0), ve = ve + Ea, He = He + za + (ve >>> 0 < Ea >>> 0 ? 1 : 0), ve = ve + Ze, He = He + Ua + (ve >>> 0 < Ze >>> 0 ? 1 : 0), aa.high = He, aa.low = ve;
|
|
2415
2415
|
}
|
|
2416
|
-
var ca =
|
|
2417
|
-
Ge = Ie, ea = Ce, Ie = ke, Ce = Ue, ke =
|
|
2416
|
+
var ca = me & ke ^ ~me & Ie, fa = ce & Ue ^ ~ce & Ce, La = K & j ^ K & ae ^ j & ae, Ga = q & Z ^ q & te ^ Z & te, 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 = (me >>> 14 | ce << 18) ^ (me >>> 18 | ce << 14) ^ (me << 23 | ce >>> 9), Se = (ce >>> 14 | me << 18) ^ (ce >>> 18 | me << 14) ^ (ce << 23 | me >>> 9), V = o[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 + He + (Pe >>> 0 < ve >>> 0 ? 1 : 0), ei = Ma + Ga, ji = ba + La + (ei >>> 0 < Ma >>> 0 ? 1 : 0);
|
|
2417
|
+
Ge = Ie, ea = Ce, Ie = ke, Ce = Ue, ke = me, Ue = ce, ce = ye + Pe | 0, me = _e + na + (ce >>> 0 < ye >>> 0 ? 1 : 0) | 0, _e = ae, ye = te, ae = j, te = Z, j = K, Z = q, q = Pe + ei | 0, K = na + ji + (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), O = _.low = O + Z, _.high = T + j + (O >>> 0 < Z >>> 0 ? 1 : 0), w = U.low = w + te, U.high = B + ae + (w >>> 0 < te >>> 0 ? 1 : 0), R = C.low = R + ye, C.high = G + _e + (R >>> 0 < ye >>> 0 ? 1 : 0), N = v.low = N + ce, v.high = W + me + (N >>> 0 < ce >>> 0 ? 1 : 0), A = x.low = A + Ue, x.high = P + ke + (A >>> 0 < Ue >>> 0 ? 1 : 0), E = S.low = E + Ce, S.high = D + Ie + (E >>> 0 < Ce >>> 0 ? 1 : 0), M = L.low = M + ea, L.high = F + Ge + (M >>> 0 < ea >>> 0 ? 1 : 0);
|
|
2420
2420
|
},
|
|
2421
2421
|
_doFinalize: function() {
|
|
2422
2422
|
var m = this._data, c = m.words, f = this._nDataBytes * 8, y = m.sigBytes * 8;
|
|
@@ -2433,13 +2433,13 @@ function el() {
|
|
|
2433
2433
|
l.SHA512 = g._createHelper(u), l.HmacSHA512 = g._createHmacHelper(u);
|
|
2434
2434
|
})(), i.SHA512;
|
|
2435
2435
|
});
|
|
2436
|
-
})(
|
|
2436
|
+
})(Ci)), Ci.exports;
|
|
2437
2437
|
}
|
|
2438
|
-
var
|
|
2438
|
+
var vi = { exports: {} }, hr = vi.exports, Vt;
|
|
2439
2439
|
function Tr() {
|
|
2440
|
-
return
|
|
2440
|
+
return Vt || (Vt = 1, (function(e, n) {
|
|
2441
2441
|
(function(i, l, p) {
|
|
2442
|
-
e.exports = l(ie(),
|
|
2442
|
+
e.exports = l(ie(), Qi(), el());
|
|
2443
2443
|
})(hr, function(i) {
|
|
2444
2444
|
return (function() {
|
|
2445
2445
|
var l = i, p = l.x64, g = p.Word, b = p.WordArray, d = l.algo, r = d.SHA512, a = d.SHA384 = r.extend({
|
|
@@ -2463,13 +2463,13 @@ function Tr() {
|
|
|
2463
2463
|
l.SHA384 = r._createHelper(a), l.HmacSHA384 = r._createHmacHelper(a);
|
|
2464
2464
|
})(), i.SHA384;
|
|
2465
2465
|
});
|
|
2466
|
-
})(
|
|
2466
|
+
})(vi)), vi.exports;
|
|
2467
2467
|
}
|
|
2468
|
-
var
|
|
2468
|
+
var hi = { exports: {} }, kr = hi.exports, Jt;
|
|
2469
2469
|
function xr() {
|
|
2470
|
-
return
|
|
2470
|
+
return Jt || (Jt = 1, (function(e, n) {
|
|
2471
2471
|
(function(i, l, p) {
|
|
2472
|
-
e.exports = l(ie(),
|
|
2472
|
+
e.exports = l(ie(), Qi());
|
|
2473
2473
|
})(kr, function(i) {
|
|
2474
2474
|
return (function(l) {
|
|
2475
2475
|
var p = i, g = p.lib, b = g.WordArray, d = g.Hasher, r = p.x64, a = r.Word, t = p.algo, o = [], s = [], u = [];
|
|
@@ -2483,14 +2483,14 @@ function xr() {
|
|
|
2483
2483
|
for (var y = 0; y < 5; y++)
|
|
2484
2484
|
s[f + 5 * y] = y + (2 * f + 3 * y) % 5 * 5;
|
|
2485
2485
|
for (var v = 1, x = 0; x < 24; x++) {
|
|
2486
|
-
for (var S = 0,
|
|
2486
|
+
for (var S = 0, L = 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 ? L ^= 1 << k : S ^= 1 << k - 32;
|
|
2490
2490
|
}
|
|
2491
2491
|
v & 128 ? v = v << 1 ^ 113 : v <<= 1;
|
|
2492
2492
|
}
|
|
2493
|
-
u[x] = a.create(S,
|
|
2493
|
+
u[x] = a.create(S, L);
|
|
2494
2494
|
}
|
|
2495
2495
|
})();
|
|
2496
2496
|
var m = [];
|
|
@@ -2522,34 +2522,34 @@ function xr() {
|
|
|
2522
2522
|
var S = _[C];
|
|
2523
2523
|
S.high ^= x, S.low ^= v;
|
|
2524
2524
|
}
|
|
2525
|
-
for (var
|
|
2526
|
-
for (var
|
|
2525
|
+
for (var L = 0; L < 24; L++) {
|
|
2526
|
+
for (var H = 0; H < 5; H++) {
|
|
2527
2527
|
for (var k = 0, T = 0, O = 0; O < 5; O++) {
|
|
2528
|
-
var S = _[
|
|
2528
|
+
var S = _[H + 5 * O];
|
|
2529
2529
|
k ^= S.high, T ^= S.low;
|
|
2530
2530
|
}
|
|
2531
|
-
var B = m[
|
|
2531
|
+
var B = m[H];
|
|
2532
2532
|
B.high = k, B.low = T;
|
|
2533
2533
|
}
|
|
2534
|
-
for (var
|
|
2535
|
-
for (var w = m[(
|
|
2536
|
-
var S = _[
|
|
2534
|
+
for (var H = 0; H < 5; H++)
|
|
2535
|
+
for (var w = m[(H + 4) % 5], G = m[(H + 1) % 5], R = G.high, W = G.low, k = w.high ^ (R << 1 | W >>> 31), T = w.low ^ (W << 1 | R >>> 31), O = 0; O < 5; O++) {
|
|
2536
|
+
var S = _[H + 5 * O];
|
|
2537
2537
|
S.high ^= k, S.low ^= T;
|
|
2538
2538
|
}
|
|
2539
|
-
for (var
|
|
2540
|
-
var k, T, S = _[
|
|
2541
|
-
D < 32 ? (k =
|
|
2542
|
-
var E = m[s[
|
|
2539
|
+
for (var N = 1; N < 25; N++) {
|
|
2540
|
+
var k, T, S = _[N], P = S.high, A = S.low, D = o[N];
|
|
2541
|
+
D < 32 ? (k = P << D | A >>> 32 - D, T = A << D | P >>> 32 - D) : (k = A << D - 32 | P >>> 64 - D, T = P << D - 32 | A >>> 64 - D);
|
|
2542
|
+
var E = m[s[N]];
|
|
2543
2543
|
E.high = k, E.low = T;
|
|
2544
2544
|
}
|
|
2545
|
-
var
|
|
2546
|
-
|
|
2547
|
-
for (var
|
|
2545
|
+
var F = m[0], M = _[0];
|
|
2546
|
+
F.high = M.high, F.low = M.low;
|
|
2547
|
+
for (var H = 0; H < 5; H++)
|
|
2548
2548
|
for (var O = 0; O < 5; O++) {
|
|
2549
|
-
var
|
|
2549
|
+
var N = H + 5 * O, S = _[N], K = m[N], q = m[(H + 1) % 5 + 5 * O], j = m[(H + 2) % 5 + 5 * O];
|
|
2550
2550
|
S.high = K.high ^ ~q.high & j.high, S.low = K.low ^ ~q.low & j.low;
|
|
2551
2551
|
}
|
|
2552
|
-
var S = _[0], Z = u[
|
|
2552
|
+
var S = _[0], Z = u[L];
|
|
2553
2553
|
S.high ^= Z.high, S.low ^= Z.low;
|
|
2554
2554
|
}
|
|
2555
2555
|
},
|
|
@@ -2558,8 +2558,8 @@ function xr() {
|
|
|
2558
2558
|
this._nDataBytes * 8;
|
|
2559
2559
|
var _ = f.sigBytes * 8, U = this.blockSize * 32;
|
|
2560
2560
|
y[_ >>> 5] |= 1 << 24 - _ % 32, y[(l.ceil((_ + 1) / U) * U >>> 5) - 1] |= 128, f.sigBytes = y.length * 4, this._process();
|
|
2561
|
-
for (var C = this._state, v = this.cfg.outputLength / 8, x = v / 8, S = [],
|
|
2562
|
-
var
|
|
2561
|
+
for (var C = this._state, v = this.cfg.outputLength / 8, x = v / 8, S = [], L = 0; L < x; L++) {
|
|
2562
|
+
var H = C[L], 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, S.push(T), S.push(k);
|
|
2564
2564
|
}
|
|
2565
2565
|
return new b.init(S, v);
|
|
@@ -2573,11 +2573,11 @@ function xr() {
|
|
|
2573
2573
|
p.SHA3 = d._createHelper(c), p.HmacSHA3 = d._createHmacHelper(c);
|
|
2574
2574
|
})(Math), i.SHA3;
|
|
2575
2575
|
});
|
|
2576
|
-
})(
|
|
2576
|
+
})(hi)), hi.exports;
|
|
2577
2577
|
}
|
|
2578
|
-
var
|
|
2578
|
+
var Ti = { exports: {} }, Sr = Ti.exports, Zt;
|
|
2579
2579
|
function Dr() {
|
|
2580
|
-
return
|
|
2580
|
+
return Zt || (Zt = 1, (function(e, n) {
|
|
2581
2581
|
(function(i, l) {
|
|
2582
2582
|
e.exports = l(ie());
|
|
2583
2583
|
})(Sr, function(i) {
|
|
@@ -2911,19 +2911,19 @@ function Dr() {
|
|
|
2911
2911
|
this._hash = b.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
|
|
2912
2912
|
},
|
|
2913
2913
|
_doProcessBlock: function(x, S) {
|
|
2914
|
-
for (var
|
|
2915
|
-
var
|
|
2916
|
-
x[
|
|
2914
|
+
for (var L = 0; L < 16; L++) {
|
|
2915
|
+
var H = S + L, k = x[H];
|
|
2916
|
+
x[H] = (k << 8 | k >>> 24) & 16711935 | (k << 24 | k >>> 8) & 4278255360;
|
|
2917
2917
|
}
|
|
2918
|
-
var T = this._hash.words, O = u.words, B = m.words, w = a.words,
|
|
2919
|
-
|
|
2920
|
-
for (var Z,
|
|
2921
|
-
Z =
|
|
2922
|
-
Z = T[1] +
|
|
2918
|
+
var T = this._hash.words, O = u.words, B = m.words, w = a.words, G = t.words, R = o.words, W = s.words, N, P, A, D, E, F, M, K, q, j;
|
|
2919
|
+
F = N = T[0], M = P = T[1], K = A = T[2], q = D = T[3], j = E = T[4];
|
|
2920
|
+
for (var Z, L = 0; L < 80; L += 1)
|
|
2921
|
+
Z = N + x[S + w[L]] | 0, L < 16 ? Z += f(P, A, D) + O[0] : L < 32 ? Z += y(P, A, D) + O[1] : L < 48 ? Z += _(P, A, D) + O[2] : L < 64 ? Z += U(P, A, D) + O[3] : Z += C(P, A, D) + O[4], Z = Z | 0, Z = v(Z, R[L]), Z = Z + E | 0, N = E, E = D, D = v(A, 10), A = P, P = Z, Z = F + x[S + G[L]] | 0, L < 16 ? Z += C(M, K, q) + B[0] : L < 32 ? Z += U(M, K, q) + B[1] : L < 48 ? Z += _(M, K, q) + B[2] : L < 64 ? Z += y(M, K, q) + B[3] : Z += f(M, K, q) + B[4], Z = Z | 0, Z = v(Z, W[L]), Z = Z + j | 0, F = j, j = q, q = v(K, 10), K = M, M = Z;
|
|
2922
|
+
Z = T[1] + A + q | 0, T[1] = T[2] + D + j | 0, T[2] = T[3] + E + F | 0, T[3] = T[4] + N + M | 0, T[4] = T[0] + P + K | 0, T[0] = Z;
|
|
2923
2923
|
},
|
|
2924
2924
|
_doFinalize: function() {
|
|
2925
|
-
var x = this._data, S = x.words,
|
|
2926
|
-
S[
|
|
2925
|
+
var x = this._data, S = x.words, L = this._nDataBytes * 8, H = x.sigBytes * 8;
|
|
2926
|
+
S[H >>> 5] |= 128 << 24 - H % 32, S[(H + 64 >>> 9 << 4) + 14] = (L << 8 | L >>> 24) & 16711935 | (L << 24 | L >>> 8) & 4278255360, x.sigBytes = (S.length + 1) * 4, this._process();
|
|
2927
2927
|
for (var k = this._hash, T = k.words, O = 0; O < 5; O++) {
|
|
2928
2928
|
var B = T[O];
|
|
2929
2929
|
T[O] = (B << 8 | B >>> 24) & 16711935 | (B << 24 | B >>> 8) & 4278255360;
|
|
@@ -2935,20 +2935,20 @@ function Dr() {
|
|
|
2935
2935
|
return x._hash = this._hash.clone(), x;
|
|
2936
2936
|
}
|
|
2937
2937
|
});
|
|
2938
|
-
function f(x, S,
|
|
2939
|
-
return x ^ S ^
|
|
2938
|
+
function f(x, S, L) {
|
|
2939
|
+
return x ^ S ^ L;
|
|
2940
2940
|
}
|
|
2941
|
-
function y(x, S,
|
|
2942
|
-
return x & S | ~x &
|
|
2941
|
+
function y(x, S, L) {
|
|
2942
|
+
return x & S | ~x & L;
|
|
2943
2943
|
}
|
|
2944
|
-
function _(x, S,
|
|
2945
|
-
return (x | ~S) ^
|
|
2944
|
+
function _(x, S, L) {
|
|
2945
|
+
return (x | ~S) ^ L;
|
|
2946
2946
|
}
|
|
2947
|
-
function U(x, S,
|
|
2948
|
-
return x &
|
|
2947
|
+
function U(x, S, L) {
|
|
2948
|
+
return x & L | S & ~L;
|
|
2949
2949
|
}
|
|
2950
|
-
function C(x, S,
|
|
2951
|
-
return x ^ (S | ~
|
|
2950
|
+
function C(x, S, L) {
|
|
2951
|
+
return x ^ (S | ~L);
|
|
2952
2952
|
}
|
|
2953
2953
|
function v(x, S) {
|
|
2954
2954
|
return x << S | x >>> 32 - S;
|
|
@@ -2956,11 +2956,11 @@ function Dr() {
|
|
|
2956
2956
|
p.RIPEMD160 = d._createHelper(c), p.HmacRIPEMD160 = d._createHmacHelper(c);
|
|
2957
2957
|
})(), i.RIPEMD160;
|
|
2958
2958
|
});
|
|
2959
|
-
})(
|
|
2959
|
+
})(Ti)), Ti.exports;
|
|
2960
2960
|
}
|
|
2961
|
-
var
|
|
2962
|
-
function
|
|
2963
|
-
return
|
|
2961
|
+
var ki = { exports: {} }, Er = ki.exports, Kt;
|
|
2962
|
+
function yt() {
|
|
2963
|
+
return Kt || (Kt = 1, (function(e, n) {
|
|
2964
2964
|
(function(i, l) {
|
|
2965
2965
|
e.exports = l(ie());
|
|
2966
2966
|
})(Er, function(i) {
|
|
@@ -3034,13 +3034,13 @@ function ct() {
|
|
|
3034
3034
|
});
|
|
3035
3035
|
})();
|
|
3036
3036
|
});
|
|
3037
|
-
})(
|
|
3037
|
+
})(ki)), ki.exports;
|
|
3038
3038
|
}
|
|
3039
|
-
var
|
|
3039
|
+
var xi = { exports: {} }, Nr = xi.exports, qt;
|
|
3040
3040
|
function Lr() {
|
|
3041
|
-
return
|
|
3041
|
+
return qt || (qt = 1, (function(e, n) {
|
|
3042
3042
|
(function(i, l, p) {
|
|
3043
|
-
e.exports = l(ie(),
|
|
3043
|
+
e.exports = l(ie(), _t(), yt());
|
|
3044
3044
|
})(Nr, function(i) {
|
|
3045
3045
|
return (function() {
|
|
3046
3046
|
var l = i, p = l.lib, g = p.Base, b = p.WordArray, d = l.algo, r = d.SHA256, a = d.HMAC, t = d.PBKDF2 = g.extend({
|
|
@@ -3086,9 +3086,9 @@ function Lr() {
|
|
|
3086
3086
|
for (var u = this.cfg, m = a.create(u.hasher, o), c = b.create(), f = b.create([1]), y = c.words, _ = f.words, U = u.keySize, C = u.iterations; y.length < U; ) {
|
|
3087
3087
|
var v = m.update(s).finalize(f);
|
|
3088
3088
|
m.reset();
|
|
3089
|
-
for (var x = v.words, S = x.length,
|
|
3090
|
-
|
|
3091
|
-
for (var k =
|
|
3089
|
+
for (var x = v.words, S = x.length, L = v, H = 1; H < C; H++) {
|
|
3090
|
+
L = m.finalize(L), m.reset();
|
|
3091
|
+
for (var k = L.words, T = 0; T < S; T++)
|
|
3092
3092
|
x[T] ^= k[T];
|
|
3093
3093
|
}
|
|
3094
3094
|
c.concat(v), _[0]++;
|
|
@@ -3101,13 +3101,13 @@ function Lr() {
|
|
|
3101
3101
|
};
|
|
3102
3102
|
})(), i.PBKDF2;
|
|
3103
3103
|
});
|
|
3104
|
-
})(
|
|
3104
|
+
})(xi)), xi.exports;
|
|
3105
3105
|
}
|
|
3106
|
-
var
|
|
3106
|
+
var Si = { exports: {} }, Gr = Si.exports, $t;
|
|
3107
3107
|
function ya() {
|
|
3108
|
-
return
|
|
3108
|
+
return $t || ($t = 1, (function(e, n) {
|
|
3109
3109
|
(function(i, l, p) {
|
|
3110
|
-
e.exports = l(ie(), Xn(),
|
|
3110
|
+
e.exports = l(ie(), Xn(), yt());
|
|
3111
3111
|
})(Gr, function(i) {
|
|
3112
3112
|
return (function() {
|
|
3113
3113
|
var l = i, p = l.lib, g = p.Base, b = p.WordArray, d = l.algo, r = d.MD5, a = d.EvpKDF = g.extend({
|
|
@@ -3164,11 +3164,11 @@ function ya() {
|
|
|
3164
3164
|
};
|
|
3165
3165
|
})(), i.EvpKDF;
|
|
3166
3166
|
});
|
|
3167
|
-
})(
|
|
3167
|
+
})(Si)), Si.exports;
|
|
3168
3168
|
}
|
|
3169
|
-
var
|
|
3169
|
+
var Di = { exports: {} }, Mr = Di.exports, Qt;
|
|
3170
3170
|
function Ne() {
|
|
3171
|
-
return
|
|
3171
|
+
return Qt || (Qt = 1, (function(e, n) {
|
|
3172
3172
|
(function(i, l, p) {
|
|
3173
3173
|
e.exports = l(ie(), ya());
|
|
3174
3174
|
})(Mr, function(i) {
|
|
@@ -3293,7 +3293,7 @@ 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 {
|
|
@@ -3372,8 +3372,8 @@ function Ne() {
|
|
|
3372
3372
|
* mode.processBlock(data.words, offset);
|
|
3373
3373
|
*/
|
|
3374
3374
|
processBlock: function(O, B) {
|
|
3375
|
-
var w = this._cipher,
|
|
3376
|
-
T.call(this, O, B,
|
|
3375
|
+
var w = this._cipher, G = w.blockSize;
|
|
3376
|
+
T.call(this, O, B, G), w.encryptBlock(O, B), this._prevBlock = O.slice(B, B + G);
|
|
3377
3377
|
}
|
|
3378
3378
|
}), k.Decryptor = k.extend({
|
|
3379
3379
|
/**
|
|
@@ -3387,15 +3387,15 @@ function Ne() {
|
|
|
3387
3387
|
* mode.processBlock(data.words, offset);
|
|
3388
3388
|
*/
|
|
3389
3389
|
processBlock: function(O, B) {
|
|
3390
|
-
var w = this._cipher,
|
|
3391
|
-
w.decryptBlock(O, B), T.call(this, O, B,
|
|
3390
|
+
var w = this._cipher, G = w.blockSize, R = O.slice(B, B + G);
|
|
3391
|
+
w.decryptBlock(O, B), T.call(this, O, B, G), this._prevBlock = R;
|
|
3392
3392
|
}
|
|
3393
3393
|
});
|
|
3394
3394
|
function T(O, B, w) {
|
|
3395
|
-
var
|
|
3396
|
-
|
|
3397
|
-
for (var
|
|
3398
|
-
O[B +
|
|
3395
|
+
var G, R = this._iv;
|
|
3396
|
+
R ? (G = R, this._iv = l) : G = this._prevBlock;
|
|
3397
|
+
for (var W = 0; W < w; W++)
|
|
3398
|
+
O[B + W] ^= G[W];
|
|
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 O = T * 4, B = O - k.sigBytes % O, w = B << 24 | B << 16 | B << 8 | B,
|
|
3416
|
-
|
|
3417
|
-
var
|
|
3418
|
-
k.concat(
|
|
3415
|
+
for (var O = T * 4, B = O - k.sigBytes % O, w = B << 24 | B << 16 | B << 8 | B, G = [], R = 0; R < B; R += 4)
|
|
3416
|
+
G.push(w);
|
|
3417
|
+
var W = d.create(G, B);
|
|
3418
|
+
k.concat(W);
|
|
3419
3419
|
},
|
|
3420
3420
|
/**
|
|
3421
3421
|
* Unpads data that had been padded using the algorithm defined in PKCS #5/7.
|
|
@@ -3564,14 +3564,14 @@ function Ne() {
|
|
|
3564
3564
|
*/
|
|
3565
3565
|
encrypt: function(k, T, O, B) {
|
|
3566
3566
|
B = this.cfg.extend(B);
|
|
3567
|
-
var w = k.createEncryptor(O, B),
|
|
3567
|
+
var w = k.createEncryptor(O, B), G = w.finalize(T), R = w.cfg;
|
|
3568
3568
|
return U.create({
|
|
3569
|
-
ciphertext:
|
|
3569
|
+
ciphertext: G,
|
|
3570
3570
|
key: O,
|
|
3571
|
-
iv:
|
|
3571
|
+
iv: R.iv,
|
|
3572
3572
|
algorithm: k,
|
|
3573
|
-
mode:
|
|
3574
|
-
padding:
|
|
3573
|
+
mode: R.mode,
|
|
3574
|
+
padding: R.padding,
|
|
3575
3575
|
blockSize: k.blockSize,
|
|
3576
3576
|
formatter: B.format
|
|
3577
3577
|
});
|
|
@@ -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
|
-
}), S = p.kdf = {},
|
|
3619
|
+
}), S = p.kdf = {}, L = S.OpenSSL = {
|
|
3620
3620
|
/**
|
|
3621
3621
|
* Derives a key and IV from a password.
|
|
3622
3622
|
*
|
|
@@ -3636,20 +3636,20 @@ function Ne() {
|
|
|
3636
3636
|
*/
|
|
3637
3637
|
execute: function(k, T, O, B, w) {
|
|
3638
3638
|
if (B || (B = d.random(64 / 8)), w)
|
|
3639
|
-
var
|
|
3639
|
+
var G = s.create({ keySize: T + O, hasher: w }).compute(k, B);
|
|
3640
3640
|
else
|
|
3641
|
-
var
|
|
3642
|
-
var
|
|
3643
|
-
return
|
|
3641
|
+
var G = s.create({ keySize: T + O }).compute(k, B);
|
|
3642
|
+
var R = d.create(G.words.slice(T), O * 4);
|
|
3643
|
+
return G.sigBytes = T * 4, U.create({ key: G, iv: R, salt: B });
|
|
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: L
|
|
3653
3653
|
}),
|
|
3654
3654
|
/**
|
|
3655
3655
|
* Encrypts a message using a password.
|
|
@@ -3672,8 +3672,8 @@ function Ne() {
|
|
|
3672
3672
|
B = this.cfg.extend(B);
|
|
3673
3673
|
var w = B.kdf.execute(O, k.keySize, k.ivSize, B.salt, B.hasher);
|
|
3674
3674
|
B.iv = w.iv;
|
|
3675
|
-
var
|
|
3676
|
-
return
|
|
3675
|
+
var G = x.encrypt.call(this, k, T, w.key, B);
|
|
3676
|
+
return G.mixIn(w), G;
|
|
3677
3677
|
},
|
|
3678
3678
|
/**
|
|
3679
3679
|
* Decrypts serialized ciphertext using a password.
|
|
@@ -3696,17 +3696,17 @@ function Ne() {
|
|
|
3696
3696
|
B = this.cfg.extend(B), T = this._parse(T, B.format);
|
|
3697
3697
|
var w = B.kdf.execute(O, k.keySize, k.ivSize, T.salt, B.hasher);
|
|
3698
3698
|
B.iv = w.iv;
|
|
3699
|
-
var
|
|
3700
|
-
return
|
|
3699
|
+
var G = x.decrypt.call(this, k, T, w.key, B);
|
|
3700
|
+
return G;
|
|
3701
3701
|
}
|
|
3702
3702
|
});
|
|
3703
3703
|
})();
|
|
3704
3704
|
});
|
|
3705
|
-
})(
|
|
3705
|
+
})(Di)), Di.exports;
|
|
3706
3706
|
}
|
|
3707
|
-
var
|
|
3707
|
+
var Ei = { exports: {} }, Rr = Ei.exports, jt;
|
|
3708
3708
|
function Pr() {
|
|
3709
|
-
return
|
|
3709
|
+
return jt || (jt = 1, (function(e, n) {
|
|
3710
3710
|
(function(i, l, p) {
|
|
3711
3711
|
e.exports = l(ie(), Ne());
|
|
3712
3712
|
})(Rr, function(i) {
|
|
@@ -3732,11 +3732,11 @@ function Pr() {
|
|
|
3732
3732
|
return l;
|
|
3733
3733
|
})(), i.mode.CFB;
|
|
3734
3734
|
});
|
|
3735
|
-
})(
|
|
3735
|
+
})(Ei)), Ei.exports;
|
|
3736
3736
|
}
|
|
3737
|
-
var
|
|
3737
|
+
var Ni = { exports: {} }, wr = Ni.exports, Yt;
|
|
3738
3738
|
function Fr() {
|
|
3739
|
-
return
|
|
3739
|
+
return Yt || (Yt = 1, (function(e, n) {
|
|
3740
3740
|
(function(i, l, p) {
|
|
3741
3741
|
e.exports = l(ie(), Ne());
|
|
3742
3742
|
})(wr, function(i) {
|
|
@@ -3754,11 +3754,11 @@ function Fr() {
|
|
|
3754
3754
|
return l.Decryptor = p, l;
|
|
3755
3755
|
})(), i.mode.CTR;
|
|
3756
3756
|
});
|
|
3757
|
-
})(
|
|
3757
|
+
})(Ni)), Ni.exports;
|
|
3758
3758
|
}
|
|
3759
|
-
var
|
|
3759
|
+
var Li = { exports: {} }, Ar = Li.exports, Xt;
|
|
3760
3760
|
function Or() {
|
|
3761
|
-
return
|
|
3761
|
+
return Xt || (Xt = 1, (function(e, n) {
|
|
3762
3762
|
(function(i, l, p) {
|
|
3763
3763
|
e.exports = l(ie(), Ne());
|
|
3764
3764
|
})(Ar, function(i) {
|
|
@@ -3788,11 +3788,11 @@ function Or() {
|
|
|
3788
3788
|
return l.Decryptor = b, l;
|
|
3789
3789
|
})(), i.mode.CTRGladman;
|
|
3790
3790
|
});
|
|
3791
|
-
})(
|
|
3791
|
+
})(Li)), Li.exports;
|
|
3792
3792
|
}
|
|
3793
|
-
var
|
|
3793
|
+
var Gi = { exports: {} }, Br = Gi.exports, en;
|
|
3794
3794
|
function Hr() {
|
|
3795
|
-
return
|
|
3795
|
+
return en || (en = 1, (function(e, n) {
|
|
3796
3796
|
(function(i, l, p) {
|
|
3797
3797
|
e.exports = l(ie(), Ne());
|
|
3798
3798
|
})(Br, function(i) {
|
|
@@ -3808,11 +3808,11 @@ function Hr() {
|
|
|
3808
3808
|
return l.Decryptor = p, l;
|
|
3809
3809
|
})(), i.mode.OFB;
|
|
3810
3810
|
});
|
|
3811
|
-
})(
|
|
3811
|
+
})(Gi)), Gi.exports;
|
|
3812
3812
|
}
|
|
3813
|
-
var
|
|
3813
|
+
var Mi = { exports: {} }, Wr = Mi.exports, an;
|
|
3814
3814
|
function zr() {
|
|
3815
|
-
return
|
|
3815
|
+
return an || (an = 1, (function(e, n) {
|
|
3816
3816
|
(function(i, l, p) {
|
|
3817
3817
|
e.exports = l(ie(), Ne());
|
|
3818
3818
|
})(Wr, function(i) {
|
|
@@ -3829,11 +3829,11 @@ function zr() {
|
|
|
3829
3829
|
}), l;
|
|
3830
3830
|
})(), i.mode.ECB;
|
|
3831
3831
|
});
|
|
3832
|
-
})(
|
|
3832
|
+
})(Mi)), Mi.exports;
|
|
3833
3833
|
}
|
|
3834
|
-
var
|
|
3834
|
+
var Ri = { exports: {} }, Ir = Ri.exports, tn;
|
|
3835
3835
|
function Vr() {
|
|
3836
|
-
return
|
|
3836
|
+
return tn || (tn = 1, (function(e, n) {
|
|
3837
3837
|
(function(i, l, p) {
|
|
3838
3838
|
e.exports = l(ie(), Ne());
|
|
3839
3839
|
})(Ir, function(i) {
|
|
@@ -3848,11 +3848,11 @@ function Vr() {
|
|
|
3848
3848
|
}
|
|
3849
3849
|
}, i.pad.Ansix923;
|
|
3850
3850
|
});
|
|
3851
|
-
})(
|
|
3851
|
+
})(Ri)), Ri.exports;
|
|
3852
3852
|
}
|
|
3853
|
-
var
|
|
3853
|
+
var Pi = { exports: {} }, Jr = Pi.exports, nn;
|
|
3854
3854
|
function Zr() {
|
|
3855
|
-
return
|
|
3855
|
+
return nn || (nn = 1, (function(e, n) {
|
|
3856
3856
|
(function(i, l, p) {
|
|
3857
3857
|
e.exports = l(ie(), Ne());
|
|
3858
3858
|
})(Jr, function(i) {
|
|
@@ -3867,11 +3867,11 @@ function Zr() {
|
|
|
3867
3867
|
}
|
|
3868
3868
|
}, i.pad.Iso10126;
|
|
3869
3869
|
});
|
|
3870
|
-
})(
|
|
3870
|
+
})(Pi)), Pi.exports;
|
|
3871
3871
|
}
|
|
3872
|
-
var
|
|
3872
|
+
var wi = { exports: {} }, Kr = wi.exports, ln;
|
|
3873
3873
|
function qr() {
|
|
3874
|
-
return
|
|
3874
|
+
return ln || (ln = 1, (function(e, n) {
|
|
3875
3875
|
(function(i, l, p) {
|
|
3876
3876
|
e.exports = l(ie(), Ne());
|
|
3877
3877
|
})(Kr, function(i) {
|
|
@@ -3884,11 +3884,11 @@ function qr() {
|
|
|
3884
3884
|
}
|
|
3885
3885
|
}, i.pad.Iso97971;
|
|
3886
3886
|
});
|
|
3887
|
-
})(
|
|
3887
|
+
})(wi)), wi.exports;
|
|
3888
3888
|
}
|
|
3889
|
-
var
|
|
3889
|
+
var Fi = { exports: {} }, $r = Fi.exports, rn;
|
|
3890
3890
|
function Qr() {
|
|
3891
|
-
return
|
|
3891
|
+
return rn || (rn = 1, (function(e, n) {
|
|
3892
3892
|
(function(i, l, p) {
|
|
3893
3893
|
e.exports = l(ie(), Ne());
|
|
3894
3894
|
})($r, function(i) {
|
|
@@ -3906,11 +3906,11 @@ function Qr() {
|
|
|
3906
3906
|
}
|
|
3907
3907
|
}, i.pad.ZeroPadding;
|
|
3908
3908
|
});
|
|
3909
|
-
})(
|
|
3909
|
+
})(Fi)), Fi.exports;
|
|
3910
3910
|
}
|
|
3911
|
-
var
|
|
3911
|
+
var Ai = { exports: {} }, jr = Ai.exports, on;
|
|
3912
3912
|
function Yr() {
|
|
3913
|
-
return
|
|
3913
|
+
return on || (on = 1, (function(e, n) {
|
|
3914
3914
|
(function(i, l, p) {
|
|
3915
3915
|
e.exports = l(ie(), Ne());
|
|
3916
3916
|
})(jr, function(i) {
|
|
@@ -3921,11 +3921,11 @@ function Yr() {
|
|
|
3921
3921
|
}
|
|
3922
3922
|
}, i.pad.NoPadding;
|
|
3923
3923
|
});
|
|
3924
|
-
})(
|
|
3924
|
+
})(Ai)), Ai.exports;
|
|
3925
3925
|
}
|
|
3926
|
-
var
|
|
3926
|
+
var Oi = { exports: {} }, Xr = Oi.exports, sn;
|
|
3927
3927
|
function eo() {
|
|
3928
|
-
return
|
|
3928
|
+
return sn || (sn = 1, (function(e, n) {
|
|
3929
3929
|
(function(i, l, p) {
|
|
3930
3930
|
e.exports = l(ie(), Ne());
|
|
3931
3931
|
})(Xr, function(i) {
|
|
@@ -3968,11 +3968,11 @@ function eo() {
|
|
|
3968
3968
|
};
|
|
3969
3969
|
})(), i.format.Hex;
|
|
3970
3970
|
});
|
|
3971
|
-
})(
|
|
3971
|
+
})(Oi)), Oi.exports;
|
|
3972
3972
|
}
|
|
3973
|
-
var
|
|
3973
|
+
var Bi = { exports: {} }, ao = Bi.exports, mn;
|
|
3974
3974
|
function io() {
|
|
3975
|
-
return
|
|
3975
|
+
return mn || (mn = 1, (function(e, n) {
|
|
3976
3976
|
(function(i, l, p) {
|
|
3977
3977
|
e.exports = l(ie(), Sa(), Da(), ya(), Ne());
|
|
3978
3978
|
})(ao, function(i) {
|
|
@@ -3984,24 +3984,24 @@ function io() {
|
|
|
3984
3984
|
for (var v = 0, x = 0, C = 0; C < 256; C++) {
|
|
3985
3985
|
var S = x ^ x << 1 ^ x << 2 ^ x << 3 ^ x << 4;
|
|
3986
3986
|
S = S >>> 8 ^ S & 255 ^ 99, d[v] = S, r[S] = v;
|
|
3987
|
-
var
|
|
3987
|
+
var L = U[v], H = U[L], k = U[H], T = U[S] * 257 ^ S * 16843008;
|
|
3988
3988
|
a[v] = T << 24 | T >>> 8, t[v] = T << 16 | T >>> 16, o[v] = T << 8 | T >>> 24, s[v] = T;
|
|
3989
|
-
var T = k * 16843009 ^
|
|
3990
|
-
u[S] = T << 24 | T >>> 8, m[S] = T << 16 | T >>> 16, c[S] = T << 8 | T >>> 24, f[S] = T, v ? (v =
|
|
3989
|
+
var T = k * 16843009 ^ H * 65537 ^ L * 257 ^ v * 16843008;
|
|
3990
|
+
u[S] = T << 24 | T >>> 8, m[S] = T << 16 | T >>> 16, c[S] = T << 8 | T >>> 24, f[S] = T, v ? (v = L ^ U[U[U[k ^ L]]], 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, S = this._nRounds = x + 6,
|
|
3998
|
-
k < x ?
|
|
3999
|
-
for (var T = this._invKeySchedule = [], O = 0; O <
|
|
4000
|
-
var k =
|
|
3997
|
+
for (var C = this._keyPriorReset = this._key, v = C.words, x = C.sigBytes / 4, S = this._nRounds = x + 6, L = (S + 1) * 4, H = this._keySchedule = [], k = 0; k < L; k++)
|
|
3998
|
+
k < x ? H[k] = v[k] : (U = H[k - 1], k % x ? x > 6 && k % x == 4 && (U = d[U >>> 24] << 24 | d[U >>> 16 & 255] << 16 | d[U >>> 8 & 255] << 8 | d[U & 255]) : (U = U << 8 | U >>> 24, U = d[U >>> 24] << 24 | d[U >>> 16 & 255] << 16 | d[U >>> 8 & 255] << 8 | d[U & 255], U ^= y[k / x | 0] << 24), H[k] = H[k - x] ^ U);
|
|
3999
|
+
for (var T = this._invKeySchedule = [], O = 0; O < L; O++) {
|
|
4000
|
+
var k = L - O;
|
|
4001
4001
|
if (O % 4)
|
|
4002
|
-
var U =
|
|
4002
|
+
var U = H[k];
|
|
4003
4003
|
else
|
|
4004
|
-
var U =
|
|
4004
|
+
var U = H[k - 4];
|
|
4005
4005
|
O < 4 || k <= 4 ? T[O] = U : T[O] = u[d[U >>> 24]] ^ m[d[U >>> 16 & 255]] ^ c[d[U >>> 8 & 255]] ^ f[d[U & 255]];
|
|
4006
4006
|
}
|
|
4007
4007
|
}
|
|
@@ -4015,24 +4015,24 @@ function io() {
|
|
|
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, S,
|
|
4019
|
-
for (var T = this._nRounds, O = U[C] ^ v[0], B = U[C + 1] ^ v[1], w = U[C + 2] ^ v[2],
|
|
4020
|
-
var
|
|
4021
|
-
O =
|
|
4018
|
+
_doCryptBlock: function(U, C, v, x, S, L, H, k) {
|
|
4019
|
+
for (var T = this._nRounds, O = U[C] ^ v[0], B = U[C + 1] ^ v[1], w = U[C + 2] ^ v[2], G = U[C + 3] ^ v[3], R = 4, W = 1; W < T; W++) {
|
|
4020
|
+
var N = x[O >>> 24] ^ S[B >>> 16 & 255] ^ L[w >>> 8 & 255] ^ H[G & 255] ^ v[R++], P = x[B >>> 24] ^ S[w >>> 16 & 255] ^ L[G >>> 8 & 255] ^ H[O & 255] ^ v[R++], A = x[w >>> 24] ^ S[G >>> 16 & 255] ^ L[O >>> 8 & 255] ^ H[B & 255] ^ v[R++], D = x[G >>> 24] ^ S[O >>> 16 & 255] ^ L[B >>> 8 & 255] ^ H[w & 255] ^ v[R++];
|
|
4021
|
+
O = N, B = P, w = A, G = D;
|
|
4022
4022
|
}
|
|
4023
|
-
var
|
|
4024
|
-
U[C] =
|
|
4023
|
+
var N = (k[O >>> 24] << 24 | k[B >>> 16 & 255] << 16 | k[w >>> 8 & 255] << 8 | k[G & 255]) ^ v[R++], P = (k[B >>> 24] << 24 | k[w >>> 16 & 255] << 16 | k[G >>> 8 & 255] << 8 | k[O & 255]) ^ v[R++], A = (k[w >>> 24] << 24 | k[G >>> 16 & 255] << 16 | k[O >>> 8 & 255] << 8 | k[B & 255]) ^ v[R++], D = (k[G >>> 24] << 24 | k[O >>> 16 & 255] << 16 | k[B >>> 8 & 255] << 8 | k[w & 255]) ^ v[R++];
|
|
4024
|
+
U[C] = N, U[C + 1] = P, U[C + 2] = A, U[C + 3] = D;
|
|
4025
4025
|
},
|
|
4026
4026
|
keySize: 256 / 32
|
|
4027
4027
|
});
|
|
4028
4028
|
l.AES = g._createHelper(_);
|
|
4029
4029
|
})(), i.AES;
|
|
4030
4030
|
});
|
|
4031
|
-
})(
|
|
4031
|
+
})(Bi)), Bi.exports;
|
|
4032
4032
|
}
|
|
4033
|
-
var
|
|
4033
|
+
var Hi = { exports: {} }, to = Hi.exports, un;
|
|
4034
4034
|
function no() {
|
|
4035
|
-
return
|
|
4035
|
+
return un || (un = 1, (function(e, n) {
|
|
4036
4036
|
(function(i, l, p) {
|
|
4037
4037
|
e.exports = l(ie(), Sa(), Da(), ya(), Ne());
|
|
4038
4038
|
})(to, function(i) {
|
|
@@ -4688,12 +4688,12 @@ function no() {
|
|
|
4688
4688
|
U[C] = _[v >>> 5] >>> 31 - v % 32 & 1;
|
|
4689
4689
|
}
|
|
4690
4690
|
for (var x = this._subKeys = [], S = 0; S < 16; S++) {
|
|
4691
|
-
for (var
|
|
4692
|
-
|
|
4693
|
-
|
|
4691
|
+
for (var L = x[S] = [], H = t[S], C = 0; C < 24; C++)
|
|
4692
|
+
L[C / 6 | 0] |= U[(a[C] - 1 + H) % 28] << 31 - C % 6, L[4 + (C / 6 | 0)] |= U[28 + (a[C + 24] - 1 + H) % 28] << 31 - C % 6;
|
|
4693
|
+
L[0] = L[0] << 1 | L[0] >>> 31;
|
|
4694
4694
|
for (var C = 1; C < 7; C++)
|
|
4695
|
-
|
|
4696
|
-
|
|
4695
|
+
L[C] = L[C] >>> (C - 1) * 4 + 3;
|
|
4696
|
+
L[7] = L[7] << 5 | L[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 no() {
|
|
|
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, S = this._rBlock,
|
|
4711
|
-
|
|
4712
|
-
this._lBlock = S, this._rBlock = x ^
|
|
4710
|
+
for (var v = U[C], x = this._lBlock, S = this._rBlock, L = 0, H = 0; H < 8; H++)
|
|
4711
|
+
L |= o[H][((S ^ v[H]) & s[H]) >>> 0];
|
|
4712
|
+
this._lBlock = S, this._rBlock = x ^ L;
|
|
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;
|
|
@@ -4748,11 +4748,11 @@ function no() {
|
|
|
4748
4748
|
l.TripleDES = b._createHelper(f);
|
|
4749
4749
|
})(), i.TripleDES;
|
|
4750
4750
|
});
|
|
4751
|
-
})(
|
|
4751
|
+
})(Hi)), Hi.exports;
|
|
4752
4752
|
}
|
|
4753
|
-
var
|
|
4753
|
+
var Wi = { exports: {} }, lo = Wi.exports, pn;
|
|
4754
4754
|
function ro() {
|
|
4755
|
-
return
|
|
4755
|
+
return pn || (pn = 1, (function(e, n) {
|
|
4756
4756
|
(function(i, l, p) {
|
|
4757
4757
|
e.exports = l(ie(), Sa(), Da(), ya(), Ne());
|
|
4758
4758
|
})(lo, function(i) {
|
|
@@ -4802,11 +4802,11 @@ function ro() {
|
|
|
4802
4802
|
l.RC4Drop = g._createHelper(a);
|
|
4803
4803
|
})(), i.RC4;
|
|
4804
4804
|
});
|
|
4805
|
-
})(
|
|
4805
|
+
})(Wi)), Wi.exports;
|
|
4806
4806
|
}
|
|
4807
|
-
var
|
|
4807
|
+
var zi = { exports: {} }, oo = zi.exports, gn;
|
|
4808
4808
|
function so() {
|
|
4809
|
-
return
|
|
4809
|
+
return gn || (gn = 1, (function(e, n) {
|
|
4810
4810
|
(function(i, l, p) {
|
|
4811
4811
|
e.exports = l(ie(), Sa(), Da(), ya(), Ne());
|
|
4812
4812
|
})(oo, function(i) {
|
|
@@ -4868,11 +4868,11 @@ function so() {
|
|
|
4868
4868
|
l.Rabbit = g._createHelper(t);
|
|
4869
4869
|
})(), i.Rabbit;
|
|
4870
4870
|
});
|
|
4871
|
-
})(
|
|
4871
|
+
})(zi)), zi.exports;
|
|
4872
4872
|
}
|
|
4873
|
-
var
|
|
4873
|
+
var Ii = { exports: {} }, mo = Ii.exports, dn;
|
|
4874
4874
|
function uo() {
|
|
4875
|
-
return
|
|
4875
|
+
return dn || (dn = 1, (function(e, n) {
|
|
4876
4876
|
(function(i, l, p) {
|
|
4877
4877
|
e.exports = l(ie(), Sa(), Da(), ya(), Ne());
|
|
4878
4878
|
})(mo, function(i) {
|
|
@@ -4932,11 +4932,11 @@ function uo() {
|
|
|
4932
4932
|
l.RabbitLegacy = g._createHelper(t);
|
|
4933
4933
|
})(), i.RabbitLegacy;
|
|
4934
4934
|
});
|
|
4935
|
-
})(
|
|
4935
|
+
})(Ii)), Ii.exports;
|
|
4936
4936
|
}
|
|
4937
|
-
var
|
|
4937
|
+
var Vi = { exports: {} }, po = Vi.exports, cn;
|
|
4938
4938
|
function go() {
|
|
4939
|
-
return
|
|
4939
|
+
return cn || (cn = 1, (function(e, n) {
|
|
4940
4940
|
(function(i, l, p) {
|
|
4941
4941
|
e.exports = l(ie(), Sa(), Da(), ya(), Ne());
|
|
4942
4942
|
})(po, function(i) {
|
|
@@ -6018,8 +6018,8 @@ function go() {
|
|
|
6018
6018
|
function m(f, y, _) {
|
|
6019
6019
|
for (let S = 0; S < 4; S++) {
|
|
6020
6020
|
f.sbox[S] = [];
|
|
6021
|
-
for (let
|
|
6022
|
-
f.sbox[S][
|
|
6021
|
+
for (let L = 0; L < 256; L++)
|
|
6022
|
+
f.sbox[S][L] = a[S][L];
|
|
6023
6023
|
}
|
|
6024
6024
|
let U = 0;
|
|
6025
6025
|
for (let S = 0; S < d + 2; S++)
|
|
@@ -6028,8 +6028,8 @@ function go() {
|
|
|
6028
6028
|
for (let S = 0; S < d + 2; S += 2)
|
|
6029
6029
|
x = s(f, C, v), C = x.left, v = x.right, f.pbox[S] = C, f.pbox[S + 1] = v;
|
|
6030
6030
|
for (let S = 0; S < 4; S++)
|
|
6031
|
-
for (let
|
|
6032
|
-
x = s(f, C, v), C = x.left, v = x.right, f.sbox[S][
|
|
6031
|
+
for (let L = 0; L < 256; L += 2)
|
|
6032
|
+
x = s(f, C, v), C = x.left, v = x.right, f.sbox[S][L] = C, f.sbox[S][L + 1] = v;
|
|
6033
6033
|
return !0;
|
|
6034
6034
|
}
|
|
6035
6035
|
var c = b.Blowfish = g.extend({
|
|
@@ -6054,20 +6054,20 @@ function go() {
|
|
|
6054
6054
|
l.Blowfish = g._createHelper(c);
|
|
6055
6055
|
})(), i.Blowfish;
|
|
6056
6056
|
});
|
|
6057
|
-
})(
|
|
6057
|
+
})(Vi)), Vi.exports;
|
|
6058
6058
|
}
|
|
6059
|
-
var co =
|
|
6059
|
+
var co = mi.exports, fn;
|
|
6060
6060
|
function fo() {
|
|
6061
|
-
return
|
|
6061
|
+
return fn || (fn = 1, (function(e, n) {
|
|
6062
6062
|
(function(i, l, p) {
|
|
6063
|
-
e.exports = l(ie(),
|
|
6063
|
+
e.exports = l(ie(), Qi(), ur(), gr(), Sa(), fr(), Da(), Xn(), _t(), Cr(), el(), Tr(), xr(), Dr(), yt(), Lr(), ya(), Ne(), Pr(), Fr(), Or(), Hr(), zr(), Vr(), Zr(), qr(), Qr(), Yr(), eo(), io(), no(), ro(), so(), uo(), go());
|
|
6064
6064
|
})(co, function(i) {
|
|
6065
6065
|
return i;
|
|
6066
6066
|
});
|
|
6067
|
-
})(
|
|
6067
|
+
})(mi)), mi.exports;
|
|
6068
6068
|
}
|
|
6069
6069
|
var al = fo();
|
|
6070
|
-
const va = /* @__PURE__ */
|
|
6070
|
+
const va = /* @__PURE__ */ ft(al), _a = (e) => {
|
|
6071
6071
|
const n = "mySecretPassphrase", i = va.lib.WordArray.random(16), l = va.PBKDF2(n, i, {
|
|
6072
6072
|
keySize: 128 / 32,
|
|
6073
6073
|
iterations: 1e3
|
|
@@ -6077,245 +6077,248 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6077
6077
|
padding: va.pad.Pkcs7
|
|
6078
6078
|
}), g = i.toString(va.enc.Base64), b = va.enc.Base64.stringify(p.ciphertext);
|
|
6079
6079
|
return g + ":" + b;
|
|
6080
|
-
},
|
|
6080
|
+
}, se = () => {
|
|
6081
6081
|
const { client: e, formDataClient: n } = oe(), i = I(
|
|
6082
6082
|
async (N) => {
|
|
6083
|
-
const { mac_address:
|
|
6084
|
-
mac_address:
|
|
6085
|
-
app_version:
|
|
6086
|
-
anydesk_id:
|
|
6083
|
+
const { mac_address: P = "", app_version: A = "", anydesk_id: D = "" } = N, { data: E } = await e.post("/cash-register/login", {
|
|
6084
|
+
mac_address: P,
|
|
6085
|
+
app_version: A,
|
|
6086
|
+
anydesk_id: D
|
|
6087
6087
|
});
|
|
6088
|
-
return
|
|
6088
|
+
return E;
|
|
6089
6089
|
},
|
|
6090
6090
|
[e]
|
|
6091
6091
|
), l = 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]), d = I(
|
|
6092
6092
|
async (N) => {
|
|
6093
|
-
const { account:
|
|
6093
|
+
const { account: P, password: A, trans_code: D } = N;
|
|
6094
6094
|
return await e.post("/login", {
|
|
6095
|
-
memId:
|
|
6096
|
-
passwd:
|
|
6097
|
-
trans_code:
|
|
6095
|
+
memId: P,
|
|
6096
|
+
passwd: A,
|
|
6097
|
+
trans_code: D
|
|
6098
6098
|
});
|
|
6099
6099
|
},
|
|
6100
6100
|
[e]
|
|
6101
6101
|
), r = I(async () => await e.post("/logout"), [e]), a = I(
|
|
6102
6102
|
async (N) => {
|
|
6103
|
-
const { gameUid:
|
|
6104
|
-
return await e.put(`/member/toggleFavoriteGame/${
|
|
6105
|
-
status:
|
|
6103
|
+
const { gameUid: P = "", status: A = 0 } = N;
|
|
6104
|
+
return await e.put(`/member/toggleFavoriteGame/${P}`, {
|
|
6105
|
+
status: A
|
|
6106
6106
|
});
|
|
6107
6107
|
},
|
|
6108
6108
|
[e]
|
|
6109
6109
|
), t = I(async () => await e.get("/profit/ranking"), [e]), o = I(
|
|
6110
6110
|
async ({
|
|
6111
6111
|
memberId: N,
|
|
6112
|
-
password:
|
|
6113
|
-
unlimitCode:
|
|
6114
|
-
email:
|
|
6115
|
-
inviteCode:
|
|
6116
|
-
currencyCode:
|
|
6117
|
-
validCode:
|
|
6112
|
+
password: P,
|
|
6113
|
+
unlimitCode: A,
|
|
6114
|
+
email: D,
|
|
6115
|
+
inviteCode: E,
|
|
6116
|
+
currencyCode: F,
|
|
6117
|
+
validCode: M
|
|
6118
6118
|
}) => {
|
|
6119
|
-
const
|
|
6119
|
+
const K = {
|
|
6120
6120
|
memId: N,
|
|
6121
|
-
passwd: _a(
|
|
6122
|
-
email:
|
|
6123
|
-
currency_code:
|
|
6124
|
-
code:
|
|
6121
|
+
passwd: _a(P),
|
|
6122
|
+
email: D,
|
|
6123
|
+
currency_code: F,
|
|
6124
|
+
code: M
|
|
6125
6125
|
};
|
|
6126
|
-
return
|
|
6126
|
+
return A && (K.unlimit_code = A), E && (K.invite = E), e.post("/signUp", K);
|
|
6127
6127
|
},
|
|
6128
6128
|
[e]
|
|
6129
6129
|
), s = I(
|
|
6130
6130
|
async (N) => {
|
|
6131
|
-
const { name:
|
|
6131
|
+
const { name: P, birthday: A, email: D, mobile: E } = N;
|
|
6132
6132
|
return await e.post("/editMembetInfo", {
|
|
6133
|
-
name:
|
|
6133
|
+
name: P,
|
|
6134
6134
|
// 暱稱
|
|
6135
|
-
birthday:
|
|
6135
|
+
birthday: A,
|
|
6136
6136
|
// 生日 (格式:YYYY-MM-DD)
|
|
6137
|
-
email:
|
|
6137
|
+
email: D,
|
|
6138
6138
|
// 電子郵件
|
|
6139
|
-
mobile:
|
|
6139
|
+
mobile: E
|
|
6140
6140
|
// 手機號碼
|
|
6141
6141
|
});
|
|
6142
6142
|
},
|
|
6143
6143
|
[e]
|
|
6144
6144
|
), u = I(
|
|
6145
6145
|
async (N) => {
|
|
6146
|
-
const { oldPwd:
|
|
6146
|
+
const { oldPwd: P, newPwd: A } = N;
|
|
6147
6147
|
return await e.post("/passwordReset", {
|
|
6148
|
-
old_pwd: _a(
|
|
6149
|
-
new_pwd: _a(
|
|
6148
|
+
old_pwd: _a(P),
|
|
6149
|
+
new_pwd: _a(A)
|
|
6150
6150
|
});
|
|
6151
6151
|
},
|
|
6152
6152
|
[e]
|
|
6153
6153
|
), m = I(
|
|
6154
6154
|
async (N) => {
|
|
6155
|
-
const { newPwd:
|
|
6155
|
+
const { newPwd: P, confirmNewPwd: A } = N;
|
|
6156
6156
|
return await e.post("/setWithdrawPassword", {
|
|
6157
|
-
newPassword: _a(
|
|
6158
|
-
confirmPassword: _a(
|
|
6157
|
+
newPassword: _a(P),
|
|
6158
|
+
confirmPassword: _a(A)
|
|
6159
6159
|
});
|
|
6160
6160
|
},
|
|
6161
6161
|
[e]
|
|
6162
6162
|
), c = I(
|
|
6163
6163
|
async (N) => {
|
|
6164
|
-
const { oldPwd:
|
|
6164
|
+
const { oldPwd: P, newPwd: A } = N;
|
|
6165
6165
|
return await e.post("/withdrawPasswordReset", {
|
|
6166
|
-
old_pwd: _a(
|
|
6167
|
-
new_pwd: _a(
|
|
6166
|
+
old_pwd: _a(P),
|
|
6167
|
+
new_pwd: _a(A)
|
|
6168
6168
|
});
|
|
6169
6169
|
},
|
|
6170
6170
|
[e]
|
|
6171
6171
|
), f = I(
|
|
6172
6172
|
async (N) => {
|
|
6173
|
-
const { mobile:
|
|
6173
|
+
const { mobile: P, verification_code: A } = N;
|
|
6174
6174
|
return await e.post("/withdrawPasswordRenew", {
|
|
6175
|
-
mobile:
|
|
6176
|
-
verification_code:
|
|
6175
|
+
mobile: P,
|
|
6176
|
+
verification_code: A
|
|
6177
6177
|
});
|
|
6178
6178
|
},
|
|
6179
6179
|
[e]
|
|
6180
6180
|
), y = I(
|
|
6181
6181
|
async ({ paramsData: N }) => {
|
|
6182
|
-
const { start_time:
|
|
6182
|
+
const { start_time: P, end_time: A, limit: D = 25 } = N || {};
|
|
6183
6183
|
return await e.get("/report/totalprofit", {
|
|
6184
6184
|
params: {
|
|
6185
|
-
start_time: `${we(
|
|
6186
|
-
end_time: `${we(
|
|
6187
|
-
limit:
|
|
6185
|
+
start_time: `${we(P).format("YYYY-MM-DD")} 12:00:00`,
|
|
6186
|
+
end_time: `${we(A).format("YYYY-MM-DD")} 11:59:59`,
|
|
6187
|
+
limit: D
|
|
6188
6188
|
}
|
|
6189
6189
|
});
|
|
6190
6190
|
},
|
|
6191
6191
|
[e]
|
|
6192
6192
|
), _ = I(
|
|
6193
6193
|
async (N) => {
|
|
6194
|
-
const { platform:
|
|
6194
|
+
const { platform: P } = N;
|
|
6195
6195
|
return await e.post("/member/all-in-la", {
|
|
6196
|
-
platform:
|
|
6196
|
+
platform: P
|
|
6197
6197
|
});
|
|
6198
6198
|
},
|
|
6199
6199
|
[e]
|
|
6200
6200
|
), U = I(async () => await e.get("/member/checkRestrictedWagering"), [e]), C = I(
|
|
6201
6201
|
async (N) => {
|
|
6202
|
-
const { memId:
|
|
6202
|
+
const { memId: P, point: A, currency: D, password: E } = N;
|
|
6203
6203
|
return await e.post("/pointsTransaction", {
|
|
6204
|
-
to_memId:
|
|
6205
|
-
point:
|
|
6206
|
-
currency:
|
|
6207
|
-
password: _a(
|
|
6204
|
+
to_memId: P,
|
|
6205
|
+
point: A,
|
|
6206
|
+
currency: D,
|
|
6207
|
+
password: _a(E)
|
|
6208
6208
|
});
|
|
6209
6209
|
},
|
|
6210
6210
|
[e]
|
|
6211
6211
|
), v = I(
|
|
6212
6212
|
async ({ formData: N }) => {
|
|
6213
6213
|
const {
|
|
6214
|
-
bank_name:
|
|
6215
|
-
bank_account_name:
|
|
6216
|
-
bank_branch_name:
|
|
6217
|
-
bank_account:
|
|
6218
|
-
bank_card_number:
|
|
6219
|
-
id_card:
|
|
6220
|
-
id_pic:
|
|
6214
|
+
bank_name: P,
|
|
6215
|
+
bank_account_name: A,
|
|
6216
|
+
bank_branch_name: D,
|
|
6217
|
+
bank_account: E,
|
|
6218
|
+
bank_card_number: F,
|
|
6219
|
+
id_card: M,
|
|
6220
|
+
id_pic: K
|
|
6221
6221
|
} = N;
|
|
6222
6222
|
return await n.post("/bindBankAccount", N);
|
|
6223
6223
|
},
|
|
6224
6224
|
[n]
|
|
6225
6225
|
), x = I(
|
|
6226
6226
|
async (N) => {
|
|
6227
|
-
const { point_transfer:
|
|
6227
|
+
const { point_transfer: P } = N;
|
|
6228
6228
|
return await e.post("/cash-register/clear", {
|
|
6229
|
-
point_transfer:
|
|
6229
|
+
point_transfer: P
|
|
6230
6230
|
});
|
|
6231
6231
|
},
|
|
6232
6232
|
[e]
|
|
6233
6233
|
), S = I(
|
|
6234
6234
|
async (N) => {
|
|
6235
|
-
const { trans_code:
|
|
6235
|
+
const { trans_code: P, line_id: A, invite: D, line_name: E } = N;
|
|
6236
6236
|
return await e.post("/goLine", {
|
|
6237
|
-
trans_code:
|
|
6238
|
-
line_id:
|
|
6239
|
-
invite:
|
|
6240
|
-
line_name:
|
|
6237
|
+
trans_code: P,
|
|
6238
|
+
line_id: A,
|
|
6239
|
+
invite: D,
|
|
6240
|
+
line_name: E
|
|
6241
6241
|
});
|
|
6242
6242
|
},
|
|
6243
6243
|
[e]
|
|
6244
|
-
),
|
|
6244
|
+
), L = I(
|
|
6245
6245
|
async (N) => {
|
|
6246
|
-
const { trans_code:
|
|
6246
|
+
const { trans_code: P, line_id: A, line_name: D } = N;
|
|
6247
6247
|
return await e.post("/login/line", {
|
|
6248
|
-
trans_code:
|
|
6249
|
-
line_id:
|
|
6250
|
-
line_name:
|
|
6248
|
+
trans_code: P,
|
|
6249
|
+
line_id: A,
|
|
6250
|
+
line_name: D
|
|
6251
6251
|
});
|
|
6252
6252
|
},
|
|
6253
6253
|
[e]
|
|
6254
|
-
),
|
|
6254
|
+
), H = I(
|
|
6255
6255
|
async (N) => {
|
|
6256
|
-
const { mac_address:
|
|
6257
|
-
return await e.get(`/machine-login-code/${
|
|
6256
|
+
const { mac_address: P } = N;
|
|
6257
|
+
return await e.get(`/machine-login-code/${P}`);
|
|
6258
6258
|
},
|
|
6259
6259
|
[e]
|
|
6260
6260
|
), k = I(
|
|
6261
6261
|
async (N) => {
|
|
6262
|
-
const { member_info_uid:
|
|
6263
|
-
return await e.post(`/member/transfer/${
|
|
6264
|
-
point:
|
|
6265
|
-
currency:
|
|
6266
|
-
withdraw_password:
|
|
6262
|
+
const { member_info_uid: P, point: A, currency: D, withdraw_password: E } = N;
|
|
6263
|
+
return await e.post(`/member/transfer/${P}`, {
|
|
6264
|
+
point: A,
|
|
6265
|
+
currency: D,
|
|
6266
|
+
withdraw_password: E
|
|
6267
6267
|
});
|
|
6268
6268
|
},
|
|
6269
6269
|
[e]
|
|
6270
6270
|
), T = I(
|
|
6271
6271
|
async (N) => {
|
|
6272
|
-
const { mobile:
|
|
6272
|
+
const { mobile: P, verifyCode: A } = N;
|
|
6273
6273
|
return await e.post("/sms/verifyValidationCode", {
|
|
6274
|
-
mobile:
|
|
6275
|
-
inputCode:
|
|
6274
|
+
mobile: P,
|
|
6275
|
+
inputCode: A
|
|
6276
6276
|
});
|
|
6277
6277
|
},
|
|
6278
6278
|
[e]
|
|
6279
6279
|
), O = I(
|
|
6280
6280
|
async (N) => {
|
|
6281
|
-
const { mobile:
|
|
6281
|
+
const { mobile: P, verifyCode: A, snCode: D } = N;
|
|
6282
6282
|
return await e.post("/goMobile", {
|
|
6283
|
-
mobile:
|
|
6284
|
-
verification_code:
|
|
6285
|
-
sn_code:
|
|
6283
|
+
mobile: P,
|
|
6284
|
+
verification_code: A,
|
|
6285
|
+
sn_code: D
|
|
6286
6286
|
});
|
|
6287
6287
|
},
|
|
6288
6288
|
[e]
|
|
6289
6289
|
), B = I(
|
|
6290
6290
|
async (N) => {
|
|
6291
|
-
const { mobile:
|
|
6291
|
+
const { mobile: P, verifyCode: A, invite: D } = N;
|
|
6292
6292
|
return await e.post("/goMobileByInvite", {
|
|
6293
|
-
mobile:
|
|
6294
|
-
verification_code:
|
|
6295
|
-
invite:
|
|
6293
|
+
mobile: P,
|
|
6294
|
+
verification_code: A,
|
|
6295
|
+
invite: D
|
|
6296
6296
|
});
|
|
6297
6297
|
},
|
|
6298
6298
|
[e]
|
|
6299
6299
|
), w = I(
|
|
6300
6300
|
async (N) => {
|
|
6301
|
-
const { mobile:
|
|
6301
|
+
const { mobile: P } = N;
|
|
6302
6302
|
return await e.get("/sms/getValidCode", {
|
|
6303
6303
|
params: {
|
|
6304
|
-
mobile:
|
|
6304
|
+
mobile: P
|
|
6305
6305
|
}
|
|
6306
6306
|
});
|
|
6307
6307
|
},
|
|
6308
6308
|
[e]
|
|
6309
|
-
),
|
|
6309
|
+
), G = I(
|
|
6310
6310
|
async (N) => {
|
|
6311
|
-
const { bindType:
|
|
6311
|
+
const { bindType: P, bindId: A } = N;
|
|
6312
6312
|
return await e.post("/member/bindThirdPartyAccount", {
|
|
6313
|
-
bind_type:
|
|
6314
|
-
bind_id:
|
|
6313
|
+
bind_type: P,
|
|
6314
|
+
bind_id: A
|
|
6315
6315
|
});
|
|
6316
6316
|
},
|
|
6317
6317
|
[e]
|
|
6318
|
-
),
|
|
6318
|
+
), R = I(async () => await e.get("/jackpot", {}), [e]), W = I(
|
|
6319
|
+
async (N) => await e.get("/total-bet-ranking"),
|
|
6320
|
+
[e]
|
|
6321
|
+
);
|
|
6319
6322
|
return {
|
|
6320
6323
|
machineLoginApi: i,
|
|
6321
6324
|
userInfoApi: l,
|
|
@@ -6338,19 +6341,20 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6338
6341
|
pointTransferApi: C,
|
|
6339
6342
|
abandonPointsApi: x,
|
|
6340
6343
|
lineLoginApi: S,
|
|
6341
|
-
lineLogin2Api:
|
|
6342
|
-
getMachineLoginCodeApi:
|
|
6344
|
+
lineLogin2Api: L,
|
|
6345
|
+
getMachineLoginCodeApi: H,
|
|
6343
6346
|
memberTransferApi: k,
|
|
6344
6347
|
mobileLoginApi: T,
|
|
6345
6348
|
sendMobileVerifyCodeApi: w,
|
|
6346
6349
|
mobileLoginApiV2: O,
|
|
6347
|
-
bindAccountApi:
|
|
6350
|
+
bindAccountApi: G,
|
|
6348
6351
|
mobileRegisterApi: B,
|
|
6349
6352
|
verifyResetActionApi: f,
|
|
6350
|
-
getJackpotApi:
|
|
6353
|
+
getJackpotApi: R,
|
|
6354
|
+
getBetRankingApi: W
|
|
6351
6355
|
};
|
|
6352
6356
|
}, Tm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
|
|
6353
|
-
const { userCurrencyExchangeApi: i } =
|
|
6357
|
+
const { userCurrencyExchangeApi: i } = se(), { getToken: l } = oe(), { enabled: p, ...g } = n, d = !!l?.() && (p ? p.every((r) => r) : !0);
|
|
6354
6358
|
return Hn({
|
|
6355
6359
|
queries: [
|
|
6356
6360
|
{
|
|
@@ -6368,7 +6372,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6368
6372
|
trigger: n = [],
|
|
6369
6373
|
enabled: i = !0
|
|
6370
6374
|
} = {}) => {
|
|
6371
|
-
const { getToken: l } = oe(), p = l?.(), { userInfoApi: g } =
|
|
6375
|
+
const { getToken: l } = oe(), p = l?.(), { userInfoApi: g } = se();
|
|
6372
6376
|
return Hn({
|
|
6373
6377
|
queries: [
|
|
6374
6378
|
{
|
|
@@ -6385,7 +6389,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6385
6389
|
userFavoriteGameApi: i,
|
|
6386
6390
|
userGameListApi: l,
|
|
6387
6391
|
userCurrencyExchangeApi: p
|
|
6388
|
-
} =
|
|
6392
|
+
} = se(), g = Q({
|
|
6389
6393
|
queryKey: ["getMemInfo"],
|
|
6390
6394
|
queryFn: async () => n(),
|
|
6391
6395
|
enabled: e
|
|
@@ -6408,7 +6412,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6408
6412
|
d,
|
|
6409
6413
|
r
|
|
6410
6414
|
];
|
|
6411
|
-
},
|
|
6415
|
+
}, Ut = () => {
|
|
6412
6416
|
const { client: e, lng: n } = oe(), i = $e(n || "tw"), l = I(
|
|
6413
6417
|
async (b) => {
|
|
6414
6418
|
const {
|
|
@@ -6475,7 +6479,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6475
6479
|
);
|
|
6476
6480
|
return { playGameApi: l, betRecordApi: p, betRecordDetailApi: g };
|
|
6477
6481
|
}, _o = ({ options: e, formData: n } = {}) => {
|
|
6478
|
-
const { betRecordApi: i } =
|
|
6482
|
+
const { betRecordApi: i } = Ut();
|
|
6479
6483
|
return Q({
|
|
6480
6484
|
queryKey: ["getBetRecord"],
|
|
6481
6485
|
queryFn: async () => await i(n),
|
|
@@ -6486,7 +6490,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6486
6490
|
...e
|
|
6487
6491
|
});
|
|
6488
6492
|
}, yo = ({ options: e, formData: n } = {}) => {
|
|
6489
|
-
const { betRecordDetailApi: i } =
|
|
6493
|
+
const { betRecordDetailApi: i } = Ut();
|
|
6490
6494
|
return Q({
|
|
6491
6495
|
queryKey: ["getBetRecordDetail"],
|
|
6492
6496
|
queryFn: async () => await i(n),
|
|
@@ -6506,7 +6510,7 @@ const va = /* @__PURE__ */ gt(al), _a = (e) => {
|
|
|
6506
6510
|
betRecordDetail: i
|
|
6507
6511
|
};
|
|
6508
6512
|
};
|
|
6509
|
-
function
|
|
6513
|
+
function ni(e) {
|
|
6510
6514
|
for (var n = 1; n < arguments.length; n++) {
|
|
6511
6515
|
var i = arguments[n];
|
|
6512
6516
|
for (var l in i)
|
|
@@ -6525,10 +6529,10 @@ var Uo = {
|
|
|
6525
6529
|
);
|
|
6526
6530
|
}
|
|
6527
6531
|
};
|
|
6528
|
-
function
|
|
6532
|
+
function ot(e, n) {
|
|
6529
6533
|
function i(p, g, b) {
|
|
6530
6534
|
if (!(typeof document > "u")) {
|
|
6531
|
-
b =
|
|
6535
|
+
b = ni({}, n, b), typeof b.expires == "number" && (b.expires = new Date(Date.now() + b.expires * 864e5)), b.expires && (b.expires = b.expires.toUTCString()), p = encodeURIComponent(p).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
6532
6536
|
var d = "";
|
|
6533
6537
|
for (var r in b)
|
|
6534
6538
|
b[r] && (d += "; " + r, b[r] !== !0 && (d += "=" + b[r].split(";")[0]));
|
|
@@ -6557,16 +6561,16 @@ function nt(e, n) {
|
|
|
6557
6561
|
i(
|
|
6558
6562
|
p,
|
|
6559
6563
|
"",
|
|
6560
|
-
|
|
6564
|
+
ni({}, g, {
|
|
6561
6565
|
expires: -1
|
|
6562
6566
|
})
|
|
6563
6567
|
);
|
|
6564
6568
|
},
|
|
6565
6569
|
withAttributes: function(p) {
|
|
6566
|
-
return
|
|
6570
|
+
return ot(this.converter, ni({}, this.attributes, p));
|
|
6567
6571
|
},
|
|
6568
6572
|
withConverter: function(p) {
|
|
6569
|
-
return
|
|
6573
|
+
return ot(ni({}, this.converter, p), this.attributes);
|
|
6570
6574
|
}
|
|
6571
6575
|
},
|
|
6572
6576
|
{
|
|
@@ -6575,9 +6579,9 @@ function nt(e, n) {
|
|
|
6575
6579
|
}
|
|
6576
6580
|
);
|
|
6577
6581
|
}
|
|
6578
|
-
var
|
|
6582
|
+
var st = ot(Uo, { path: "/" }), et = {}, Je = {}, at = {}, _n;
|
|
6579
6583
|
function ra() {
|
|
6580
|
-
return
|
|
6584
|
+
return _n || (_n = 1, (function(e) {
|
|
6581
6585
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.isEventSourceSupported = e.isReactNative = e.ReadyState = e.DEFAULT_HEARTBEAT = e.UNPARSABLE_JSON_OBJECT = e.DEFAULT_RECONNECT_INTERVAL_MS = e.DEFAULT_RECONNECT_LIMIT = e.SOCKET_IO_PING_CODE = e.SOCKET_IO_PATH = e.SOCKET_IO_PING_INTERVAL = e.DEFAULT_EVENT_SOURCE_OPTIONS = e.EMPTY_EVENT_HANDLERS = e.DEFAULT_OPTIONS = void 0;
|
|
6582
6586
|
var n = 1, i = 1e3 * n;
|
|
6583
6587
|
e.DEFAULT_OPTIONS = {}, e.EMPTY_EVENT_HANDLERS = {}, e.DEFAULT_EVENT_SOURCE_OPTIONS = {
|
|
@@ -6600,11 +6604,11 @@ function ra() {
|
|
|
6600
6604
|
}
|
|
6601
6605
|
};
|
|
6602
6606
|
e.isReactNative = typeof navigator < "u" && navigator.product === "ReactNative", e.isEventSourceSupported = !e.isReactNative && p();
|
|
6603
|
-
})(
|
|
6607
|
+
})(at)), at;
|
|
6604
6608
|
}
|
|
6605
|
-
var qa = {},
|
|
6606
|
-
function
|
|
6607
|
-
return
|
|
6609
|
+
var qa = {}, it = {}, yn;
|
|
6610
|
+
function bt() {
|
|
6611
|
+
return yn || (yn = 1, (function(e) {
|
|
6608
6612
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetWebSockets = e.sharedWebSockets = void 0, e.sharedWebSockets = {};
|
|
6609
6613
|
var n = function(i) {
|
|
6610
6614
|
if (i && e.sharedWebSockets.hasOwnProperty(i))
|
|
@@ -6614,12 +6618,12 @@ function _t() {
|
|
|
6614
6618
|
e.sharedWebSockets.hasOwnProperty(l) && delete e.sharedWebSockets[l];
|
|
6615
6619
|
};
|
|
6616
6620
|
e.resetWebSockets = n;
|
|
6617
|
-
})(
|
|
6621
|
+
})(it)), it;
|
|
6618
6622
|
}
|
|
6619
|
-
var ha = {}, sa = {},
|
|
6620
|
-
function
|
|
6621
|
-
if (
|
|
6622
|
-
|
|
6623
|
+
var ha = {}, sa = {}, Un;
|
|
6624
|
+
function Ct() {
|
|
6625
|
+
if (Un) return sa;
|
|
6626
|
+
Un = 1, Object.defineProperty(sa, "__esModule", { value: !0 }), sa.setUpSocketIOPing = sa.appendQueryParams = sa.parseSocketIOUrl = void 0;
|
|
6623
6627
|
var e = ra(), n = function(p) {
|
|
6624
6628
|
if (p) {
|
|
6625
6629
|
var g = /^https|wss/.test(p), b = p.replace(/^(https?|wss?)(:\/\/)?/, ""), d = b.replace(/\/$/, ""), r = g ? "wss" : "ws";
|
|
@@ -6649,10 +6653,10 @@ function yt() {
|
|
|
6649
6653
|
};
|
|
6650
6654
|
return sa.setUpSocketIOPing = l, sa;
|
|
6651
6655
|
}
|
|
6652
|
-
var
|
|
6656
|
+
var li = {}, bn;
|
|
6653
6657
|
function il() {
|
|
6654
|
-
if (
|
|
6655
|
-
|
|
6658
|
+
if (bn) return li;
|
|
6659
|
+
bn = 1, Object.defineProperty(li, "__esModule", { value: !0 }), li.heartbeat = i;
|
|
6656
6660
|
var e = ra();
|
|
6657
6661
|
function n(l) {
|
|
6658
6662
|
return Array.isArray(l) ? l.reduce(function(p, g) {
|
|
@@ -6676,11 +6680,11 @@ function il() {
|
|
|
6676
6680
|
}), function() {
|
|
6677
6681
|
};
|
|
6678
6682
|
}
|
|
6679
|
-
return
|
|
6683
|
+
return li;
|
|
6680
6684
|
}
|
|
6681
|
-
var $a = {},
|
|
6682
|
-
function
|
|
6683
|
-
return
|
|
6685
|
+
var $a = {}, tt = {}, Cn;
|
|
6686
|
+
function vt() {
|
|
6687
|
+
return Cn || (Cn = 1, (function(e) {
|
|
6684
6688
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetSubscribers = e.removeSubscriber = e.addSubscriber = e.hasSubscribers = e.getSubscribers = void 0;
|
|
6685
6689
|
var n = {}, i = [], l = function(r) {
|
|
6686
6690
|
return (0, e.hasSubscribers)(r) ? Array.from(n[r]) : i;
|
|
@@ -6707,13 +6711,13 @@ function Ut() {
|
|
|
6707
6711
|
n.hasOwnProperty(a) && delete n[a];
|
|
6708
6712
|
};
|
|
6709
6713
|
e.resetSubscribers = d;
|
|
6710
|
-
})(
|
|
6714
|
+
})(tt)), tt;
|
|
6711
6715
|
}
|
|
6712
|
-
var
|
|
6713
|
-
function
|
|
6714
|
-
if (
|
|
6715
|
-
|
|
6716
|
-
var e =
|
|
6716
|
+
var vn;
|
|
6717
|
+
function ht() {
|
|
6718
|
+
if (vn) return $a;
|
|
6719
|
+
vn = 1, Object.defineProperty($a, "__esModule", { value: !0 }), $a.assertIsWebSocket = i, $a.resetGlobalState = l;
|
|
6720
|
+
var e = bt(), n = vt();
|
|
6717
6721
|
function i(p, g) {
|
|
6718
6722
|
if (!g && !(p instanceof WebSocket))
|
|
6719
6723
|
throw new Error("");
|
|
@@ -6723,10 +6727,10 @@ function bt() {
|
|
|
6723
6727
|
}
|
|
6724
6728
|
return $a;
|
|
6725
6729
|
}
|
|
6726
|
-
var
|
|
6730
|
+
var hn;
|
|
6727
6731
|
function bo() {
|
|
6728
|
-
if (
|
|
6729
|
-
|
|
6732
|
+
if (hn) return ha;
|
|
6733
|
+
hn = 1;
|
|
6730
6734
|
var e = ha && ha.__assign || function() {
|
|
6731
6735
|
return e = Object.assign || function(t) {
|
|
6732
6736
|
for (var o, s = 1, u = arguments.length; s < u; s++) {
|
|
@@ -6737,7 +6741,7 @@ function bo() {
|
|
|
6737
6741
|
}, e.apply(this, arguments);
|
|
6738
6742
|
};
|
|
6739
6743
|
Object.defineProperty(ha, "__esModule", { value: !0 }), ha.attachListeners = void 0;
|
|
6740
|
-
var n =
|
|
6744
|
+
var n = Ct(), i = il(), l = ra(), p = ht(), g = function(t, o, s, u) {
|
|
6741
6745
|
t.onmessage = function(m) {
|
|
6742
6746
|
var c;
|
|
6743
6747
|
o.current.onMessage && o.current.onMessage(m), typeof u?.current == "number" && (u.current = Date.now()), !(typeof o.current.filter == "function" && o.current.filter(m) !== !0) && (o.current.heartbeat && typeof o.current.heartbeat != "boolean" && ((c = o.current.heartbeat) === null || c === void 0 ? void 0 : c.returnMessage) === m.data || s(m));
|
|
@@ -6793,10 +6797,10 @@ function bo() {
|
|
|
6793
6797
|
};
|
|
6794
6798
|
return ha.attachListeners = a, ha;
|
|
6795
6799
|
}
|
|
6796
|
-
var Ta = {},
|
|
6800
|
+
var Ta = {}, Tn;
|
|
6797
6801
|
function Co() {
|
|
6798
|
-
if (
|
|
6799
|
-
|
|
6802
|
+
if (Tn) return Ta;
|
|
6803
|
+
Tn = 1;
|
|
6800
6804
|
var e = Ta && Ta.__assign || function() {
|
|
6801
6805
|
return e = Object.assign || function(o) {
|
|
6802
6806
|
for (var s, u = 1, m = arguments.length; u < m; u++) {
|
|
@@ -6807,7 +6811,7 @@ function Co() {
|
|
|
6807
6811
|
}, e.apply(this, arguments);
|
|
6808
6812
|
};
|
|
6809
6813
|
Object.defineProperty(Ta, "__esModule", { value: !0 }), Ta.attachSharedListeners = void 0;
|
|
6810
|
-
var n =
|
|
6814
|
+
var n = bt(), i = ra(), l = vt(), p = Ct(), g = il(), b = function(o, s, u) {
|
|
6811
6815
|
o.onmessage = function(m) {
|
|
6812
6816
|
(0, l.getSubscribers)(s).forEach(function(c) {
|
|
6813
6817
|
var f;
|
|
@@ -6855,11 +6859,11 @@ function Co() {
|
|
|
6855
6859
|
};
|
|
6856
6860
|
return Ta.attachSharedListeners = t, Ta;
|
|
6857
6861
|
}
|
|
6858
|
-
var
|
|
6862
|
+
var kn;
|
|
6859
6863
|
function vo() {
|
|
6860
|
-
if (
|
|
6861
|
-
|
|
6862
|
-
var e =
|
|
6864
|
+
if (kn) return qa;
|
|
6865
|
+
kn = 1, Object.defineProperty(qa, "__esModule", { value: !0 }), qa.createOrJoinSocket = void 0;
|
|
6866
|
+
var e = bt(), n = ra(), i = bo(), l = Co(), p = vt(), g = function(d, r, a, t, o) {
|
|
6863
6867
|
return function() {
|
|
6864
6868
|
if ((0, p.removeSubscriber)(d, r), !(0, p.hasSubscribers)(d)) {
|
|
6865
6869
|
try {
|
|
@@ -6898,9 +6902,9 @@ function vo() {
|
|
|
6898
6902
|
};
|
|
6899
6903
|
return qa.createOrJoinSocket = b, qa;
|
|
6900
6904
|
}
|
|
6901
|
-
var ma = {},
|
|
6905
|
+
var ma = {}, xn;
|
|
6902
6906
|
function ho() {
|
|
6903
|
-
return
|
|
6907
|
+
return xn || (xn = 1, (function(e) {
|
|
6904
6908
|
var n = ma && ma.__awaiter || function(r, a, t, o) {
|
|
6905
6909
|
function s(u) {
|
|
6906
6910
|
return u instanceof t ? u : new t(function(m) {
|
|
@@ -6992,7 +6996,7 @@ function ho() {
|
|
|
6992
6996
|
return r.concat(u || Array.prototype.slice.call(a));
|
|
6993
6997
|
};
|
|
6994
6998
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getUrl = void 0;
|
|
6995
|
-
var p =
|
|
6999
|
+
var p = Ct(), g = ra(), b = function(r) {
|
|
6996
7000
|
return new Promise(function(a) {
|
|
6997
7001
|
return window.setTimeout(a, r);
|
|
6998
7002
|
});
|
|
@@ -7035,9 +7039,9 @@ function ho() {
|
|
|
7035
7039
|
e.getUrl = d;
|
|
7036
7040
|
})(ma)), ma;
|
|
7037
7041
|
}
|
|
7038
|
-
var
|
|
7042
|
+
var nt = {}, Sn;
|
|
7039
7043
|
function To() {
|
|
7040
|
-
return
|
|
7044
|
+
return Sn || (Sn = 1, (function(e) {
|
|
7041
7045
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
|
|
7042
7046
|
var n = function(i, l) {
|
|
7043
7047
|
return new Proxy(i, {
|
|
@@ -7052,12 +7056,12 @@ function To() {
|
|
|
7052
7056
|
});
|
|
7053
7057
|
};
|
|
7054
7058
|
e.websocketWrapper = n, e.default = e.websocketWrapper;
|
|
7055
|
-
})(
|
|
7059
|
+
})(nt)), nt;
|
|
7056
7060
|
}
|
|
7057
|
-
var
|
|
7058
|
-
function
|
|
7059
|
-
if (
|
|
7060
|
-
|
|
7061
|
+
var Dn;
|
|
7062
|
+
function Tt() {
|
|
7063
|
+
if (Dn) return Je;
|
|
7064
|
+
Dn = 1;
|
|
7061
7065
|
var e = Je && Je.__assign || function() {
|
|
7062
7066
|
return e = Object.assign || function(s) {
|
|
7063
7067
|
for (var u, m = 1, c = arguments.length; m < c; m++) {
|
|
@@ -7155,7 +7159,7 @@ function Ct() {
|
|
|
7155
7159
|
return s && s.__esModule ? s : { default: s };
|
|
7156
7160
|
};
|
|
7157
7161
|
Object.defineProperty(Je, "__esModule", { value: !0 }), Je.useWebSocket = void 0;
|
|
7158
|
-
var p = de, g = Jl, b = ra(), d = vo(), r = ho(), a = l(To()), t =
|
|
7162
|
+
var p = de, g = Jl, b = ra(), d = vo(), r = ho(), a = l(To()), t = ht(), o = function(s, u, m) {
|
|
7159
7163
|
u === void 0 && (u = b.DEFAULT_OPTIONS), m === void 0 && (m = !0);
|
|
7160
7164
|
var c = (0, p.useState)(null), f = c[0], y = c[1], _ = (0, p.useState)({}), U = _[0], C = _[1], v = (0, p.useMemo)(function() {
|
|
7161
7165
|
if (!u.disableJson && f)
|
|
@@ -7165,32 +7169,32 @@ function Ct() {
|
|
|
7165
7169
|
return b.UNPARSABLE_JSON_OBJECT;
|
|
7166
7170
|
}
|
|
7167
7171
|
return null;
|
|
7168
|
-
}, [f, u.disableJson]), x = (0, p.useRef)(null), S = (0, p.useRef)(null),
|
|
7169
|
-
}),
|
|
7172
|
+
}, [f, u.disableJson]), x = (0, p.useRef)(null), S = (0, p.useRef)(null), L = (0, p.useRef)(function() {
|
|
7173
|
+
}), H = (0, p.useRef)(0), k = (0, p.useRef)(Date.now()), T = (0, p.useRef)([]), O = (0, p.useRef)(null), B = (0, p.useRef)(u);
|
|
7170
7174
|
B.current = u;
|
|
7171
|
-
var w = x.current && U[x.current] !== void 0 ? U[x.current] : s !== null && m === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED,
|
|
7175
|
+
var w = x.current && U[x.current] !== void 0 ? U[x.current] : s !== null && m === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, G = u.queryParams ? JSON.stringify(u.queryParams) : null, R = (0, p.useCallback)(function(P, A) {
|
|
7172
7176
|
var D;
|
|
7173
|
-
if (
|
|
7177
|
+
if (A === void 0 && (A = !0), b.isEventSourceSupported && S.current instanceof EventSource) {
|
|
7174
7178
|
console.warn("Unable to send a message from an eventSource");
|
|
7175
7179
|
return;
|
|
7176
7180
|
}
|
|
7177
|
-
((D = S.current) === null || D === void 0 ? void 0 : D.readyState) === b.ReadyState.OPEN ? ((0, t.assertIsWebSocket)(S.current, B.current.skipAssert), S.current.send(
|
|
7178
|
-
}, []),
|
|
7179
|
-
|
|
7180
|
-
}, [
|
|
7181
|
-
return B.current.share !== !0 || b.isEventSourceSupported && S.current instanceof EventSource ? S.current : (O.current === null && S.current && ((0, t.assertIsWebSocket)(S.current, B.current.skipAssert), O.current = (0, a.default)(S.current,
|
|
7181
|
+
((D = S.current) === null || D === void 0 ? void 0 : D.readyState) === b.ReadyState.OPEN ? ((0, t.assertIsWebSocket)(S.current, B.current.skipAssert), S.current.send(P)) : A && T.current.push(P);
|
|
7182
|
+
}, []), W = (0, p.useCallback)(function(P, A) {
|
|
7183
|
+
A === void 0 && (A = !0), R(JSON.stringify(P), A);
|
|
7184
|
+
}, [R]), N = (0, p.useCallback)(function() {
|
|
7185
|
+
return B.current.share !== !0 || b.isEventSourceSupported && S.current instanceof EventSource ? S.current : (O.current === null && S.current && ((0, t.assertIsWebSocket)(S.current, B.current.skipAssert), O.current = (0, a.default)(S.current, L)), O.current);
|
|
7182
7186
|
}, []);
|
|
7183
7187
|
return (0, p.useEffect)(function() {
|
|
7184
7188
|
if (s !== null && m === !0) {
|
|
7185
|
-
var
|
|
7189
|
+
var P, A = !1, D = !0, E = function() {
|
|
7186
7190
|
return n(void 0, void 0, void 0, function() {
|
|
7187
|
-
var
|
|
7191
|
+
var F, M, K;
|
|
7188
7192
|
return i(this, function(q) {
|
|
7189
7193
|
switch (q.label) {
|
|
7190
7194
|
case 0:
|
|
7191
|
-
return
|
|
7195
|
+
return F = x, [4, (0, r.getUrl)(s, B)];
|
|
7192
7196
|
case 1:
|
|
7193
|
-
return
|
|
7197
|
+
return F.current = q.sent(), x.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), x.current = "ABORTED", (0, g.flushSync)(function() {
|
|
7194
7198
|
return C(function(j) {
|
|
7195
7199
|
return e(e({}, j), { ABORTED: b.ReadyState.CLOSED });
|
|
7196
7200
|
});
|
|
@@ -7198,17 +7202,17 @@ function Ct() {
|
|
|
7198
7202
|
2
|
|
7199
7203
|
/*return*/
|
|
7200
7204
|
]) : (M = function(j) {
|
|
7201
|
-
|
|
7205
|
+
A || (0, g.flushSync)(function() {
|
|
7202
7206
|
return y(j);
|
|
7203
7207
|
});
|
|
7204
7208
|
}, K = function(j) {
|
|
7205
|
-
|
|
7209
|
+
A || (0, g.flushSync)(function() {
|
|
7206
7210
|
return C(function(Z) {
|
|
7207
7211
|
var ae;
|
|
7208
7212
|
return e(e({}, Z), x.current && (ae = {}, ae[x.current] = j, ae));
|
|
7209
7213
|
});
|
|
7210
7214
|
});
|
|
7211
|
-
}, D && (
|
|
7215
|
+
}, D && (P = (0, d.createOrJoinSocket)(S, x.current, K, B, M, L, H, k, R)), [
|
|
7212
7216
|
2
|
|
7213
7217
|
/*return*/
|
|
7214
7218
|
]);
|
|
@@ -7216,34 +7220,34 @@ function Ct() {
|
|
|
7216
7220
|
});
|
|
7217
7221
|
});
|
|
7218
7222
|
};
|
|
7219
|
-
return
|
|
7220
|
-
|
|
7223
|
+
return L.current = function() {
|
|
7224
|
+
A || (O.current && (O.current = null), P?.(), E());
|
|
7221
7225
|
}, E(), function() {
|
|
7222
|
-
|
|
7226
|
+
A = !0, D = !1, O.current && (O.current = null), P?.(), y(null);
|
|
7223
7227
|
};
|
|
7224
|
-
} else (s === null || m === !1) && (
|
|
7228
|
+
} else (s === null || m === !1) && (H.current = 0, C(function(F) {
|
|
7225
7229
|
var M;
|
|
7226
|
-
return e(e({},
|
|
7230
|
+
return e(e({}, F), x.current && (M = {}, M[x.current] = b.ReadyState.CLOSED, M));
|
|
7227
7231
|
}));
|
|
7228
|
-
}, [s, m,
|
|
7229
|
-
w === b.ReadyState.OPEN && T.current.splice(0).forEach(function(
|
|
7230
|
-
P
|
|
7232
|
+
}, [s, m, G, R]), (0, p.useEffect)(function() {
|
|
7233
|
+
w === b.ReadyState.OPEN && T.current.splice(0).forEach(function(P) {
|
|
7234
|
+
R(P);
|
|
7231
7235
|
});
|
|
7232
7236
|
}, [w]), {
|
|
7233
|
-
sendMessage:
|
|
7234
|
-
sendJsonMessage:
|
|
7237
|
+
sendMessage: R,
|
|
7238
|
+
sendJsonMessage: W,
|
|
7235
7239
|
lastMessage: f,
|
|
7236
7240
|
lastJsonMessage: v,
|
|
7237
7241
|
readyState: w,
|
|
7238
|
-
getWebSocket:
|
|
7242
|
+
getWebSocket: N
|
|
7239
7243
|
};
|
|
7240
7244
|
};
|
|
7241
7245
|
return Je.useWebSocket = o, Je;
|
|
7242
7246
|
}
|
|
7243
|
-
var ka = {},
|
|
7247
|
+
var ka = {}, En;
|
|
7244
7248
|
function ko() {
|
|
7245
|
-
if (
|
|
7246
|
-
|
|
7249
|
+
if (En) return ka;
|
|
7250
|
+
En = 1;
|
|
7247
7251
|
var e = ka && ka.__assign || function() {
|
|
7248
7252
|
return e = Object.assign || function(d) {
|
|
7249
7253
|
for (var r, a = 1, t = arguments.length; a < t; a++) {
|
|
@@ -7254,7 +7258,7 @@ function ko() {
|
|
|
7254
7258
|
}, e.apply(this, arguments);
|
|
7255
7259
|
};
|
|
7256
7260
|
Object.defineProperty(ka, "__esModule", { value: !0 }), ka.useSocketIO = void 0;
|
|
7257
|
-
var n = de, i =
|
|
7261
|
+
var n = de, i = Tt(), l = ra(), p = {
|
|
7258
7262
|
type: "empty",
|
|
7259
7263
|
payload: null
|
|
7260
7264
|
}, g = function(d) {
|
|
@@ -7286,10 +7290,10 @@ function ko() {
|
|
|
7286
7290
|
};
|
|
7287
7291
|
return ka.useSocketIO = b, ka;
|
|
7288
7292
|
}
|
|
7289
|
-
var ua = {},
|
|
7293
|
+
var ua = {}, Nn;
|
|
7290
7294
|
function xo() {
|
|
7291
|
-
if (
|
|
7292
|
-
|
|
7295
|
+
if (Nn) return ua;
|
|
7296
|
+
Nn = 1;
|
|
7293
7297
|
var e = ua && ua.__assign || function() {
|
|
7294
7298
|
return e = Object.assign || function(b) {
|
|
7295
7299
|
for (var d, r = 1, a = arguments.length; r < a; r++) {
|
|
@@ -7307,7 +7311,7 @@ function xo() {
|
|
|
7307
7311
|
return r;
|
|
7308
7312
|
};
|
|
7309
7313
|
Object.defineProperty(ua, "__esModule", { value: !0 }), ua.useEventSource = void 0;
|
|
7310
|
-
var i = de, l =
|
|
7314
|
+
var i = de, l = Tt(), p = ra(), g = function(b, d, r) {
|
|
7311
7315
|
d === void 0 && (d = p.DEFAULT_EVENT_SOURCE_OPTIONS);
|
|
7312
7316
|
var a = d.withCredentials, t = d.events, o = n(d, ["withCredentials", "events"]);
|
|
7313
7317
|
r === void 0 && (r = !0);
|
|
@@ -7329,11 +7333,11 @@ function xo() {
|
|
|
7329
7333
|
};
|
|
7330
7334
|
return ua.useEventSource = g, ua;
|
|
7331
7335
|
}
|
|
7332
|
-
var
|
|
7336
|
+
var Ln;
|
|
7333
7337
|
function So() {
|
|
7334
|
-
return
|
|
7338
|
+
return Ln || (Ln = 1, (function(e) {
|
|
7335
7339
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
|
|
7336
|
-
var n =
|
|
7340
|
+
var n = Tt();
|
|
7337
7341
|
Object.defineProperty(e, "default", { enumerable: !0, get: function() {
|
|
7338
7342
|
return n.useWebSocket;
|
|
7339
7343
|
} });
|
|
@@ -7349,14 +7353,14 @@ function So() {
|
|
|
7349
7353
|
Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
|
|
7350
7354
|
return p.useEventSource;
|
|
7351
7355
|
} });
|
|
7352
|
-
var g =
|
|
7356
|
+
var g = ht();
|
|
7353
7357
|
Object.defineProperty(e, "resetGlobalState", { enumerable: !0, get: function() {
|
|
7354
7358
|
return g.resetGlobalState;
|
|
7355
7359
|
} });
|
|
7356
|
-
})(
|
|
7360
|
+
})(et)), et;
|
|
7357
7361
|
}
|
|
7358
7362
|
var Do = So();
|
|
7359
|
-
const Eo = /* @__PURE__ */
|
|
7363
|
+
const Eo = /* @__PURE__ */ ft(Do), No = ({
|
|
7360
7364
|
enable: e = !1,
|
|
7361
7365
|
isTestFunction: n = !1,
|
|
7362
7366
|
isTransferMode: i = !1,
|
|
@@ -7439,63 +7443,63 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7439
7443
|
verifyDonationCodeApi: b
|
|
7440
7444
|
};
|
|
7441
7445
|
}, Lo = ({ options: e } = {}) => {
|
|
7442
|
-
const { userLoginApi: n } =
|
|
7446
|
+
const { userLoginApi: n } = se();
|
|
7443
7447
|
return re({
|
|
7444
7448
|
mutationKey: ["userLogin"],
|
|
7445
7449
|
mutationFn: async (i) => n(i),
|
|
7446
7450
|
...e
|
|
7447
7451
|
});
|
|
7448
7452
|
}, Go = ({ options: e } = {}) => {
|
|
7449
|
-
const { userLogoutApi: n } =
|
|
7453
|
+
const { userLogoutApi: n } = se();
|
|
7450
7454
|
return re({
|
|
7451
7455
|
mutationKey: ["userLogout"],
|
|
7452
7456
|
mutationFn: async () => n(),
|
|
7453
7457
|
...e
|
|
7454
7458
|
});
|
|
7455
7459
|
}, Mo = ({ options: e } = {}) => {
|
|
7456
|
-
const { userSignUpApi: n } =
|
|
7460
|
+
const { userSignUpApi: n } = se();
|
|
7457
7461
|
return re({
|
|
7458
7462
|
mutationKey: ["userSignUp"],
|
|
7459
7463
|
mutationFn: async (i) => n(i),
|
|
7460
7464
|
...e
|
|
7461
7465
|
});
|
|
7462
7466
|
}, Ro = ({ options: e } = {}) => {
|
|
7463
|
-
const { addOrRemoveFavoriteGameApi: n } =
|
|
7467
|
+
const { addOrRemoveFavoriteGameApi: n } = se();
|
|
7464
7468
|
return re({
|
|
7465
7469
|
mutationKey: ["toggleFavoriteGame"],
|
|
7466
7470
|
mutationFn: async (i) => n(i),
|
|
7467
7471
|
...e
|
|
7468
7472
|
});
|
|
7469
7473
|
}, Po = ({ options: e } = {}) => {
|
|
7470
|
-
const { updateUserInfoApi: n } =
|
|
7474
|
+
const { updateUserInfoApi: n } = se();
|
|
7471
7475
|
return re({
|
|
7472
7476
|
mutationKey: ["updateUserInfo"],
|
|
7473
7477
|
mutationFn: async (i) => n(i),
|
|
7474
7478
|
...e
|
|
7475
7479
|
});
|
|
7476
7480
|
}, wo = ({ options: e } = {}) => {
|
|
7477
|
-
const { resetUserPasswordApi: n } =
|
|
7481
|
+
const { resetUserPasswordApi: n } = se();
|
|
7478
7482
|
return re({
|
|
7479
7483
|
mutationKey: ["resetUserPassword"],
|
|
7480
7484
|
mutationFn: async (i) => n(i),
|
|
7481
7485
|
...e
|
|
7482
7486
|
});
|
|
7483
7487
|
}, Fo = ({ options: e } = {}) => {
|
|
7484
|
-
const { setUserTransactionPasswordApi: n } =
|
|
7488
|
+
const { setUserTransactionPasswordApi: n } = se();
|
|
7485
7489
|
return re({
|
|
7486
7490
|
mutationKey: ["setUserTransactionPassword"],
|
|
7487
7491
|
mutationFn: async (i) => n(i),
|
|
7488
7492
|
...e
|
|
7489
7493
|
});
|
|
7490
7494
|
}, Ao = ({ options: e } = {}) => {
|
|
7491
|
-
const { resetUserTransactionPasswordApi: n } =
|
|
7495
|
+
const { resetUserTransactionPasswordApi: n } = se();
|
|
7492
7496
|
return re({
|
|
7493
7497
|
mutationKey: ["resetUserTransactionPassword"],
|
|
7494
7498
|
mutationFn: async (i) => n(i),
|
|
7495
7499
|
...e
|
|
7496
7500
|
});
|
|
7497
7501
|
}, Oo = ({ paramsData: e, options: n } = {}) => {
|
|
7498
|
-
const { userRebateApi: i } =
|
|
7502
|
+
const { userRebateApi: i } = se(), { getToken: l } = oe();
|
|
7499
7503
|
return l?.(), Q({
|
|
7500
7504
|
queryKey: ["userRebate", e],
|
|
7501
7505
|
queryFn: async () => i({ paramsData: e }),
|
|
@@ -7503,14 +7507,14 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7503
7507
|
...n
|
|
7504
7508
|
});
|
|
7505
7509
|
}, Bo = ({ options: e } = {}) => {
|
|
7506
|
-
const { userBindBankApi: n } =
|
|
7510
|
+
const { userBindBankApi: n } = se();
|
|
7507
7511
|
return re({
|
|
7508
7512
|
mutationKey: ["userBindBank"],
|
|
7509
7513
|
mutationFn: async (i) => n({ formData: i }),
|
|
7510
7514
|
...e
|
|
7511
7515
|
});
|
|
7512
7516
|
}, Ho = ({ options: e } = {}) => {
|
|
7513
|
-
const { transferInGameApi: n } =
|
|
7517
|
+
const { transferInGameApi: n } = se();
|
|
7514
7518
|
return re({
|
|
7515
7519
|
mutationKey: ["transferInGame"],
|
|
7516
7520
|
mutationFn: async (i) => n(i),
|
|
@@ -7518,7 +7522,7 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7518
7522
|
...e
|
|
7519
7523
|
});
|
|
7520
7524
|
}, Dm = ({ options: e } = {}) => {
|
|
7521
|
-
const { currency: n } = oe(), { pointTransferApi: i } =
|
|
7525
|
+
const { currency: n } = oe(), { pointTransferApi: i } = se();
|
|
7522
7526
|
return re({
|
|
7523
7527
|
mutationKey: ["pointTransfer"],
|
|
7524
7528
|
mutationFn: async (l) => i({
|
|
@@ -7528,7 +7532,7 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7528
7532
|
...e
|
|
7529
7533
|
});
|
|
7530
7534
|
}, Em = ({ options: e } = {}) => {
|
|
7531
|
-
const { currency: n } = oe(), { checkUserWagerApi: i } =
|
|
7535
|
+
const { currency: n } = oe(), { checkUserWagerApi: i } = se();
|
|
7532
7536
|
return Q({
|
|
7533
7537
|
queryKey: ["checkUserWager"],
|
|
7534
7538
|
queryFn: async () => i(),
|
|
@@ -7541,7 +7545,7 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7541
7545
|
...e
|
|
7542
7546
|
});
|
|
7543
7547
|
}, Nm = ({ options: e } = {}) => {
|
|
7544
|
-
const n =
|
|
7548
|
+
const n = ct(), { abandonPointsApi: i } = se();
|
|
7545
7549
|
return re({
|
|
7546
7550
|
mutationKey: ["abandonPoint"],
|
|
7547
7551
|
mutationFn: async (l) => i({
|
|
@@ -7553,63 +7557,63 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7553
7557
|
...e
|
|
7554
7558
|
});
|
|
7555
7559
|
}, tl = ({ options: e } = {}) => {
|
|
7556
|
-
const { lineLoginApi: n } =
|
|
7560
|
+
const { lineLoginApi: n } = se();
|
|
7557
7561
|
return re({
|
|
7558
7562
|
mutationKey: ["lineLogin"],
|
|
7559
7563
|
mutationFn: async (i) => n(i),
|
|
7560
7564
|
...e
|
|
7561
7565
|
});
|
|
7562
7566
|
}, Wo = ({ options: e } = {}) => {
|
|
7563
|
-
const { lineLogin2Api: n } =
|
|
7567
|
+
const { lineLogin2Api: n } = se();
|
|
7564
7568
|
return re({
|
|
7565
7569
|
mutationKey: ["lineLogin"],
|
|
7566
7570
|
mutationFn: async (i) => n(i),
|
|
7567
7571
|
...e
|
|
7568
7572
|
});
|
|
7569
7573
|
}, zo = ({ options: e, formData: n } = {}) => {
|
|
7570
|
-
const { getMachineLoginCodeApi: i } =
|
|
7574
|
+
const { getMachineLoginCodeApi: i } = se();
|
|
7571
7575
|
return Q({
|
|
7572
7576
|
queryKey: ["getMachineLoginCode"],
|
|
7573
7577
|
queryFn: async () => i(n),
|
|
7574
7578
|
...e
|
|
7575
7579
|
});
|
|
7576
7580
|
}, Lm = ({ options: e } = {}) => {
|
|
7577
|
-
const { currency: n } = oe(), { memberTransferApi: i } =
|
|
7581
|
+
const { currency: n } = oe(), { memberTransferApi: i } = se();
|
|
7578
7582
|
return re({
|
|
7579
7583
|
mutationKey: ["memberTransfer"],
|
|
7580
7584
|
mutationFn: async (l) => i({ ...l, currency: n }),
|
|
7581
7585
|
...e
|
|
7582
7586
|
});
|
|
7583
7587
|
}, Gm = ({ options: e } = {}) => {
|
|
7584
|
-
const { mobileLoginApi: n } =
|
|
7588
|
+
const { mobileLoginApi: n } = se();
|
|
7585
7589
|
return re({
|
|
7586
7590
|
mutationKey: ["mobileLogin"],
|
|
7587
7591
|
mutationFn: async (i) => n(i),
|
|
7588
7592
|
...e
|
|
7589
7593
|
});
|
|
7590
7594
|
}, Mm = ({ options: e } = {}) => {
|
|
7591
|
-
const { mobileLoginApiV2: n } =
|
|
7595
|
+
const { mobileLoginApiV2: n } = se();
|
|
7592
7596
|
return re({
|
|
7593
7597
|
mutationKey: ["mobileLoginV2"],
|
|
7594
7598
|
mutationFn: async (i) => n(i),
|
|
7595
7599
|
...e
|
|
7596
7600
|
});
|
|
7597
7601
|
}, Rm = ({ options: e } = {}) => {
|
|
7598
|
-
const { mobileRegisterApi: n } =
|
|
7602
|
+
const { mobileRegisterApi: n } = se();
|
|
7599
7603
|
return re({
|
|
7600
7604
|
mutationKey: ["mobileRegister"],
|
|
7601
7605
|
mutationFn: async (i) => n(i),
|
|
7602
7606
|
...e
|
|
7603
7607
|
});
|
|
7604
7608
|
}, Io = ({ options: e } = {}) => {
|
|
7605
|
-
const { bindAccountApi: n } =
|
|
7609
|
+
const { bindAccountApi: n } = se();
|
|
7606
7610
|
return re({
|
|
7607
7611
|
mutationKey: ["bindAccount"],
|
|
7608
7612
|
mutationFn: async (i) => n(i),
|
|
7609
7613
|
...e
|
|
7610
7614
|
});
|
|
7611
7615
|
}, Pm = ({ options: e } = {}) => {
|
|
7612
|
-
const { sendMobileVerifyCodeApi: n } =
|
|
7616
|
+
const { sendMobileVerifyCodeApi: n } = se();
|
|
7613
7617
|
return re({
|
|
7614
7618
|
mutationKey: ["sendMobileVerifyCode"],
|
|
7615
7619
|
mutationFn: async (i) => n(i),
|
|
@@ -7630,14 +7634,14 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7630
7634
|
...e
|
|
7631
7635
|
});
|
|
7632
7636
|
}, Am = ({ options: e } = {}) => {
|
|
7633
|
-
const { verifyResetActionApi: n } =
|
|
7637
|
+
const { verifyResetActionApi: n } = se();
|
|
7634
7638
|
return re({
|
|
7635
7639
|
mutationKey: ["verifyResetAction"],
|
|
7636
7640
|
mutationFn: async (i) => n(i),
|
|
7637
7641
|
...e
|
|
7638
7642
|
});
|
|
7639
7643
|
}, Om = ({ options: e, bonusData: n } = {}) => {
|
|
7640
|
-
const { getJackpotApi: i } =
|
|
7644
|
+
const { getJackpotApi: i } = se();
|
|
7641
7645
|
return Q({
|
|
7642
7646
|
queryKey: ["getJackpotData"],
|
|
7643
7647
|
queryFn: async () => i(),
|
|
@@ -7655,7 +7659,14 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7655
7659
|
},
|
|
7656
7660
|
...e
|
|
7657
7661
|
});
|
|
7658
|
-
}, Bm = ({
|
|
7662
|
+
}, Bm = ({ options: e } = {}) => {
|
|
7663
|
+
const { getBetRankingApi: n } = se();
|
|
7664
|
+
return Q({
|
|
7665
|
+
queryKey: ["getBetRankingData"],
|
|
7666
|
+
queryFn: async () => n(),
|
|
7667
|
+
...e
|
|
7668
|
+
});
|
|
7669
|
+
}, Hm = ({
|
|
7659
7670
|
options: e = {
|
|
7660
7671
|
login: {},
|
|
7661
7672
|
logout: {},
|
|
@@ -7704,7 +7715,7 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7704
7715
|
UPDATE_ONLY_ONE_MEMBER: "update_only_one_member",
|
|
7705
7716
|
GAME_MAINTAIN: "game_maintain",
|
|
7706
7717
|
LINE_LOGIN: "line_login"
|
|
7707
|
-
}, Vo = 3e4,
|
|
7718
|
+
}, Vo = 3e4, Wm = ({
|
|
7708
7719
|
socketUrl: e,
|
|
7709
7720
|
socketHandlers: n = {},
|
|
7710
7721
|
options: i = {},
|
|
@@ -7718,7 +7729,7 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7718
7729
|
enableNotification: g = !1,
|
|
7719
7730
|
disabledLineAutoRegister: b = !1
|
|
7720
7731
|
}) => {
|
|
7721
|
-
const { store: d, lng: r } = oe(), a =
|
|
7732
|
+
const { store: d, lng: r } = oe(), a = ct(), { isReady: t, setAsReady: o, isPending: s, setAsPending: u } = Vn(), m = $e(r), c = ee(!1), f = ee(n), y = le(l, "uid", null);
|
|
7722
7733
|
le(l, "testFunction", 0);
|
|
7723
7734
|
const _ = new URLSearchParams(window.location.search), U = le(
|
|
7724
7735
|
p,
|
|
@@ -7736,8 +7747,8 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7736
7747
|
onSuccess: (w) => {
|
|
7737
7748
|
f.current.onLineLogin?.(w);
|
|
7738
7749
|
},
|
|
7739
|
-
onError: (w,
|
|
7740
|
-
b || C(
|
|
7750
|
+
onError: (w, G) => {
|
|
7751
|
+
b || C(G);
|
|
7741
7752
|
}
|
|
7742
7753
|
}
|
|
7743
7754
|
}), { handleTransferInGame: x } = No({
|
|
@@ -7749,9 +7760,9 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7749
7760
|
}), {
|
|
7750
7761
|
sendMessage: S,
|
|
7751
7762
|
// 發送普通訊息
|
|
7752
|
-
sendJsonMessage:
|
|
7763
|
+
sendJsonMessage: L,
|
|
7753
7764
|
// 發送 JSON 訊息
|
|
7754
|
-
lastMessage:
|
|
7765
|
+
lastMessage: H,
|
|
7755
7766
|
// 最後接收到的訊息
|
|
7756
7767
|
// lastJsonMessage, // 最後接收到的 JSON 訊息
|
|
7757
7768
|
readyState: k
|
|
@@ -7766,11 +7777,11 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7766
7777
|
...i
|
|
7767
7778
|
}), T = Oa(() => {
|
|
7768
7779
|
try {
|
|
7769
|
-
return JSON.parse(
|
|
7780
|
+
return JSON.parse(H?.data);
|
|
7770
7781
|
} catch {
|
|
7771
7782
|
return null;
|
|
7772
7783
|
}
|
|
7773
|
-
}, [
|
|
7784
|
+
}, [H]);
|
|
7774
7785
|
ge(() => {
|
|
7775
7786
|
const w = setInterval(
|
|
7776
7787
|
() => S("ping"),
|
|
@@ -7779,14 +7790,14 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7779
7790
|
return () => clearInterval(w);
|
|
7780
7791
|
}, [S]);
|
|
7781
7792
|
const O = I(
|
|
7782
|
-
(w,
|
|
7793
|
+
(w, G) => {
|
|
7783
7794
|
g && d.dispatch({
|
|
7784
7795
|
type: "ui/openNotificationModal",
|
|
7785
7796
|
payload: {
|
|
7786
7797
|
title: ja[m] || "System Prompt",
|
|
7787
7798
|
content: w,
|
|
7788
7799
|
type: "warning",
|
|
7789
|
-
props:
|
|
7800
|
+
props: G
|
|
7790
7801
|
}
|
|
7791
7802
|
});
|
|
7792
7803
|
},
|
|
@@ -7802,48 +7813,48 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7802
7813
|
B.current = T;
|
|
7803
7814
|
const {
|
|
7804
7815
|
onDeposit: w,
|
|
7805
|
-
onTransCode:
|
|
7806
|
-
onError:
|
|
7807
|
-
onUpdateMember:
|
|
7808
|
-
onMaintainNotice:
|
|
7809
|
-
onMaintainNoticeMember:
|
|
7810
|
-
onTransferInGame:
|
|
7816
|
+
onTransCode: G,
|
|
7817
|
+
onError: R,
|
|
7818
|
+
onUpdateMember: W,
|
|
7819
|
+
onMaintainNotice: N,
|
|
7820
|
+
onMaintainNoticeMember: P,
|
|
7821
|
+
onTransferInGame: A,
|
|
7811
7822
|
onCashRegisterLimit: D,
|
|
7812
7823
|
onLineLogin: E
|
|
7813
|
-
} = f.current,
|
|
7824
|
+
} = f.current, F = le(T, "type", ""), M = {
|
|
7814
7825
|
memberInfoUid: le(T, "member_info_uid", null),
|
|
7815
7826
|
data: le(T, "data", null),
|
|
7816
7827
|
memo: le(T, "memo", null),
|
|
7817
7828
|
amount: le(T, "amount", null),
|
|
7818
7829
|
limitAmount: le(T, "limit_amount", null)
|
|
7819
|
-
}, K = Number(M.memberInfoUid) === y, q = M.data, j = M.amount, Z = M.limitAmount, ae = _.get("mac") ||
|
|
7820
|
-
switch (
|
|
7830
|
+
}, K = Number(M.memberInfoUid) === y, q = M.data, j = M.amount, Z = M.limitAmount, ae = _.get("mac") || st.get("machine_mac_address") || "", te = le(T, "data.line_id", null), _e = le(T, "data.line_name", null), ye = le(T, "member_info_uid", null);
|
|
7831
|
+
switch (F) {
|
|
7821
7832
|
case ze.DEPOSIT:
|
|
7822
7833
|
K && (x(), w?.(M));
|
|
7823
7834
|
break;
|
|
7824
7835
|
case ze.TRANS_CODE:
|
|
7825
|
-
|
|
7836
|
+
G?.(M);
|
|
7826
7837
|
break;
|
|
7827
7838
|
case ze.ERROR:
|
|
7828
7839
|
if (K) {
|
|
7829
|
-
const
|
|
7840
|
+
const me = le(T, "open_game_modal", 0) === 1;
|
|
7830
7841
|
O(q, {
|
|
7831
|
-
notificationType:
|
|
7832
|
-
}),
|
|
7842
|
+
notificationType: me ? "gamingNotice" : void 0
|
|
7843
|
+
}), R?.(M);
|
|
7833
7844
|
}
|
|
7834
7845
|
break;
|
|
7835
7846
|
case ze.UPDATE_MEMBER:
|
|
7836
7847
|
y && (a.invalidateQueries({
|
|
7837
7848
|
queryKey: ["getMemberInfo"]
|
|
7838
|
-
}),
|
|
7849
|
+
}), W?.(M));
|
|
7839
7850
|
break;
|
|
7840
7851
|
case ze.MAINTAIN_NOTICE:
|
|
7841
7852
|
O(q, {
|
|
7842
7853
|
notificationType: "maintainNotice"
|
|
7843
|
-
}),
|
|
7854
|
+
}), N?.(M);
|
|
7844
7855
|
break;
|
|
7845
7856
|
case ze.MAINTAIN_NOTICE_MEMBER:
|
|
7846
|
-
K && (O(q),
|
|
7857
|
+
K && (O(q), P?.(M), setTimeout(() => {
|
|
7847
7858
|
window.location.reload();
|
|
7848
7859
|
}, 5e4));
|
|
7849
7860
|
break;
|
|
@@ -7853,7 +7864,7 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7853
7864
|
case ze.TRANSFER_IN_GAME:
|
|
7854
7865
|
case ze.CHECK_REQUEST:
|
|
7855
7866
|
if (K && U) {
|
|
7856
|
-
const { request_id:
|
|
7867
|
+
const { request_id: me, amount: ce, platform: ke, status: Ue } = le(
|
|
7857
7868
|
M,
|
|
7858
7869
|
"data",
|
|
7859
7870
|
{}
|
|
@@ -7861,9 +7872,9 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7861
7872
|
"transfer_in_game_request_id"
|
|
7862
7873
|
);
|
|
7863
7874
|
if (s) {
|
|
7864
|
-
localStorage.setItem("transfer_in_game_request_id",
|
|
7875
|
+
localStorage.setItem("transfer_in_game_request_id", me);
|
|
7865
7876
|
return;
|
|
7866
|
-
} else if (Ie && Ie ===
|
|
7877
|
+
} else if (Ie && Ie === me) {
|
|
7867
7878
|
if (Ue === "rollback") {
|
|
7868
7879
|
x();
|
|
7869
7880
|
return;
|
|
@@ -7877,7 +7888,7 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7877
7888
|
}
|
|
7878
7889
|
});
|
|
7879
7890
|
}
|
|
7880
|
-
|
|
7891
|
+
A?.(M);
|
|
7881
7892
|
}
|
|
7882
7893
|
break;
|
|
7883
7894
|
case ze.CASH_REGISTER_LIMIT:
|
|
@@ -7890,7 +7901,7 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7890
7901
|
case ze.UPDATE_ONLY_ONE_MEMBER:
|
|
7891
7902
|
K && (a.invalidateQueries({
|
|
7892
7903
|
queryKey: ["getMemberInfo"]
|
|
7893
|
-
}),
|
|
7904
|
+
}), W?.(M));
|
|
7894
7905
|
break;
|
|
7895
7906
|
case ze.GAME_MAINTAIN:
|
|
7896
7907
|
O(q, {
|
|
@@ -7904,7 +7915,7 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7904
7915
|
});
|
|
7905
7916
|
break;
|
|
7906
7917
|
default:
|
|
7907
|
-
console.warn("Unknown socket type:",
|
|
7918
|
+
console.warn("Unknown socket type:", F);
|
|
7908
7919
|
break;
|
|
7909
7920
|
}
|
|
7910
7921
|
}, [
|
|
@@ -7923,15 +7934,15 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
7923
7934
|
const w = localStorage.getItem(
|
|
7924
7935
|
"transfer_in_game_request_id"
|
|
7925
7936
|
);
|
|
7926
|
-
w && y && s &&
|
|
7937
|
+
w && y && s && L({
|
|
7927
7938
|
type: ze.CHECK_REQUEST,
|
|
7928
7939
|
request_id: w,
|
|
7929
7940
|
member_info_uid: y
|
|
7930
7941
|
});
|
|
7931
7942
|
}
|
|
7932
|
-
}, [y, s,
|
|
7943
|
+
}, [y, s, L, U]), {
|
|
7933
7944
|
sendMessage: S,
|
|
7934
|
-
sendJsonMessage:
|
|
7945
|
+
sendJsonMessage: L,
|
|
7935
7946
|
readyState: k
|
|
7936
7947
|
// WebSocket 連線狀態
|
|
7937
7948
|
};
|
|
@@ -8095,7 +8106,7 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
8095
8106
|
},
|
|
8096
8107
|
...n
|
|
8097
8108
|
});
|
|
8098
|
-
},
|
|
8109
|
+
}, zm = ({ options: e } = {}) => {
|
|
8099
8110
|
const { redeemEventRewardApi: n } = Ya();
|
|
8100
8111
|
return re({
|
|
8101
8112
|
mutationKey: ["redeemEventReward"],
|
|
@@ -8117,14 +8128,14 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
8117
8128
|
select: (l) => l.data.event_status,
|
|
8118
8129
|
...e
|
|
8119
8130
|
});
|
|
8120
|
-
},
|
|
8131
|
+
}, Im = ({ options: e } = {}) => {
|
|
8121
8132
|
const { settleEventApi: n } = Ya();
|
|
8122
8133
|
return re({
|
|
8123
8134
|
mutationKey: ["settleEvent"],
|
|
8124
8135
|
mutationFn: async (i) => n(i),
|
|
8125
8136
|
...e
|
|
8126
8137
|
});
|
|
8127
|
-
},
|
|
8138
|
+
}, Vm = ({
|
|
8128
8139
|
options: e = {
|
|
8129
8140
|
eventList: {},
|
|
8130
8141
|
checkEventProgress: {},
|
|
@@ -8141,7 +8152,7 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
8141
8152
|
checkEventProgressQuery: i,
|
|
8142
8153
|
checkEventStatusQuery: l
|
|
8143
8154
|
};
|
|
8144
|
-
},
|
|
8155
|
+
}, Jm = () => {
|
|
8145
8156
|
const { lng: e, data2URL: n } = oe(), { commonCarouselApi: i } = Ha(), l = $e(e);
|
|
8146
8157
|
return Q({
|
|
8147
8158
|
queryKey: ["getCarouselList"],
|
|
@@ -8162,7 +8173,7 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
8162
8173
|
};
|
|
8163
8174
|
})
|
|
8164
8175
|
});
|
|
8165
|
-
},
|
|
8176
|
+
}, Zm = () => {
|
|
8166
8177
|
const { lng: e } = oe(), { commonMarqueeApi: n } = Ha(), i = $e(e);
|
|
8167
8178
|
return Q({
|
|
8168
8179
|
queryKey: ["getMarqueeList"],
|
|
@@ -8175,8 +8186,8 @@ const Eo = /* @__PURE__ */ gt(Do), No = ({
|
|
|
8175
8186
|
return Be(p, (b) => b[i] || b?.en_US);
|
|
8176
8187
|
}
|
|
8177
8188
|
});
|
|
8178
|
-
},
|
|
8179
|
-
const { rankingGameApi: n } =
|
|
8189
|
+
}, Km = ({ options: e } = {}) => {
|
|
8190
|
+
const { rankingGameApi: n } = se();
|
|
8180
8191
|
return Q({
|
|
8181
8192
|
queryKey: ["rankingGame"],
|
|
8182
8193
|
queryFn: async () => n(),
|
|
@@ -8503,7 +8514,7 @@ function ps(e, n) {
|
|
|
8503
8514
|
clearTimeout(i);
|
|
8504
8515
|
}, l;
|
|
8505
8516
|
}
|
|
8506
|
-
function
|
|
8517
|
+
function lt(e, n) {
|
|
8507
8518
|
let i = 0;
|
|
8508
8519
|
return function(...l) {
|
|
8509
8520
|
let p = (/* @__PURE__ */ new Date()).getTime();
|
|
@@ -8518,16 +8529,16 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8518
8529
|
}, onAction: o = () => {
|
|
8519
8530
|
}, onMessage: s = () => {
|
|
8520
8531
|
}, debounce: u = 0, throttle: m = 0, eventsThrottle: c = 200, startOnMount: f = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: U = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: x = !1, disabled: S = !1 } = {}) {
|
|
8521
|
-
let
|
|
8532
|
+
let L = ee(Te()), H = ee(Te()), k = ee(null), T = ee(null), O = ee(0), B = ee(0), w = ee(0), G = ee(0), R = ee(!1), W = ee(!1), N = ee(!1), P = ee(!0), A = ee(!1), D = ee(null), E = ee(null), F = ee(e), M = ee(0);
|
|
8522
8533
|
ge(() => {
|
|
8523
8534
|
if (n && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), i && n) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
|
|
8524
8535
|
if (e >= Fa) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${Fa}.`);
|
|
8525
8536
|
if (n >= Fa) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${Fa}.`);
|
|
8526
8537
|
if (i >= Fa) throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${Fa}.`);
|
|
8527
8538
|
if (i >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
|
|
8528
|
-
if (i ? (
|
|
8539
|
+
if (i ? (F.current = e - i, M.current = i) : (F.current = e, M.current = n), !P.current) {
|
|
8529
8540
|
if (y || S) return;
|
|
8530
|
-
|
|
8541
|
+
R.current && (me.current(null, Se), E.current && E.current.active()), Qe();
|
|
8531
8542
|
}
|
|
8532
8543
|
}, [e, n, i, y, S]);
|
|
8533
8544
|
let K = ee(_);
|
|
@@ -8536,7 +8547,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8536
8547
|
}, [_]);
|
|
8537
8548
|
let q = ee(b), j = ee(l), Z = ee([...(/* @__PURE__ */ new Set([...p, ...b])).values()]), ae = ee(S);
|
|
8538
8549
|
ge(() => {
|
|
8539
|
-
ae.current = S, !
|
|
8550
|
+
ae.current = S, !P.current && (S ? Ve() : y || Qe());
|
|
8540
8551
|
}, [S]);
|
|
8541
8552
|
let te = ee(d);
|
|
8542
8553
|
ge(() => {
|
|
@@ -8550,9 +8561,9 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8550
8561
|
ge(() => {
|
|
8551
8562
|
ye.current = a;
|
|
8552
8563
|
}, [a]);
|
|
8553
|
-
let
|
|
8564
|
+
let me = ee(t);
|
|
8554
8565
|
ge(() => {
|
|
8555
|
-
|
|
8566
|
+
me.current = t;
|
|
8556
8567
|
}, [t]);
|
|
8557
8568
|
let ce = ee(o);
|
|
8558
8569
|
ge(() => {
|
|
@@ -8564,28 +8575,28 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8564
8575
|
}, [s]);
|
|
8565
8576
|
let Ue = Oa(() => {
|
|
8566
8577
|
let V = (De, ta) => ce.current(De, ta);
|
|
8567
|
-
return u > 0 ? ps(V, u) : m > 0 ?
|
|
8578
|
+
return u > 0 ? ps(V, u) : m > 0 ? lt(V, m) : V;
|
|
8568
8579
|
}, [m, u]), Ie = ee();
|
|
8569
8580
|
ge(() => {
|
|
8570
|
-
U && v && (Ie.current =
|
|
8581
|
+
U && v && (Ie.current = lt(() => {
|
|
8571
8582
|
E.current.active();
|
|
8572
8583
|
}, v));
|
|
8573
8584
|
}, [U, v]);
|
|
8574
8585
|
let Ce = () => {
|
|
8575
8586
|
D.current !== null && (Ye.clearTimeout(D.current), D.current = null);
|
|
8576
8587
|
}, Ge = (V, De = !0) => {
|
|
8577
|
-
Ce(), D.current = Ye.setTimeout(He, V ||
|
|
8588
|
+
Ce(), D.current = Ye.setTimeout(He, V || F.current), De && (T.current = Te());
|
|
8578
8589
|
}, ea = (V) => {
|
|
8579
|
-
!
|
|
8590
|
+
!W.current && !R.current && (_e.current(V, Se), te.current({ type: "active", prompted: !0 }, Se)), G.current = 0, w.current = Te(), W.current = !0, Ge(M.current, !1);
|
|
8580
8591
|
}, Me = () => {
|
|
8581
|
-
Ce(),
|
|
8592
|
+
Ce(), R.current || (ye.current(null, Se), te.current({ type: "idle" }, Se)), R.current = !0, k.current = Te(), K.current ? Re() : W.current && (w.current = 0, W.current = !1);
|
|
8582
8593
|
}, ve = (V) => {
|
|
8583
|
-
Ce(), (
|
|
8594
|
+
Ce(), (R.current || W.current) && (me.current(V, Se), te.current({ type: "active", prompted: !1 }, Se)), W.current = !1, w.current = 0, R.current = !1, O.current += Te() - k.current, B.current += Te() - k.current, xe(), Ge();
|
|
8584
8595
|
}, He = (V) => {
|
|
8585
|
-
if (!
|
|
8596
|
+
if (!R.current) {
|
|
8586
8597
|
Ue.cancel && Ue.cancel();
|
|
8587
8598
|
let De = Te() - T.current;
|
|
8588
|
-
if (!(
|
|
8599
|
+
if (!(F.current + M.current < De) && M.current > 0 && !W.current) {
|
|
8589
8600
|
E.current ? E.current.prompt() : ea(V);
|
|
8590
8601
|
return;
|
|
8591
8602
|
}
|
|
@@ -8594,35 +8605,35 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8594
8605
|
}
|
|
8595
8606
|
E.current ? E.current.active() : ve(V);
|
|
8596
8607
|
}, aa = (V) => {
|
|
8597
|
-
if (!f && !T.current && (T.current = Te(),
|
|
8598
|
-
if (Ce(), !
|
|
8608
|
+
if (!f && !T.current && (T.current = Te(), me.current(null, Se)), Ue(V, Se), W.current) return;
|
|
8609
|
+
if (Ce(), !R.current && q.current.includes(V.type)) {
|
|
8599
8610
|
He(V);
|
|
8600
8611
|
return;
|
|
8601
8612
|
}
|
|
8602
8613
|
let De = Te() - T.current;
|
|
8603
|
-
if (
|
|
8614
|
+
if (R.current && !_ || !R.current && De >= F.current) {
|
|
8604
8615
|
He(V);
|
|
8605
8616
|
return;
|
|
8606
8617
|
}
|
|
8607
|
-
|
|
8618
|
+
N.current = !1, G.current = 0, w.current = 0, Ge(), U && v && Ie.current();
|
|
8608
8619
|
}, ia = ee(aa);
|
|
8609
8620
|
ge(() => {
|
|
8610
|
-
let V =
|
|
8611
|
-
V && Re(), c > 0 ? ia.current =
|
|
8621
|
+
let V = A.current;
|
|
8622
|
+
V && Re(), c > 0 ? ia.current = lt(aa, c) : ia.current = aa, V && xe();
|
|
8612
8623
|
}, [c, m, u, ce, U, v]);
|
|
8613
8624
|
let xe = () => {
|
|
8614
|
-
pa && j.current && (
|
|
8625
|
+
pa && j.current && (A.current || (Z.current.forEach((V) => {
|
|
8615
8626
|
j.current.addEventListener(V, ia.current, { capture: !0, passive: !0 });
|
|
8616
|
-
}),
|
|
8627
|
+
}), A.current = !0));
|
|
8617
8628
|
}, Re = (V = !1) => {
|
|
8618
|
-
pa && j.current && (
|
|
8629
|
+
pa && j.current && (A.current || V) && (Z.current.forEach((De) => {
|
|
8619
8630
|
j.current.removeEventListener(De, ia.current, { capture: !0 });
|
|
8620
|
-
}),
|
|
8621
|
-
}, Qe = I((V) => ae.current ? !1 : (Ce(), xe(),
|
|
8622
|
-
if (
|
|
8623
|
-
let V =
|
|
8631
|
+
}), A.current = !1);
|
|
8632
|
+
}, Qe = I((V) => ae.current ? !1 : (Ce(), xe(), R.current = !1, W.current = !1, N.current = !1, G.current = 0, w.current = 0, E.current && !V && E.current.start(), Ge(), !0), [D, R, ae, F, E]), oa = I((V) => ae.current ? !1 : (Ce(), xe(), H.current = Te(), O.current += Te() - k.current, B.current += Te() - k.current, O.current = 0, R.current = !1, W.current = !1, N.current = !1, G.current = 0, w.current = 0, E.current && !V && E.current.reset(), y || Ge(), !0), [D, R, F, y, ae, E]), ga = I((V) => ae.current ? !1 : (Ce(), xe(), (R.current || W.current) && ve(), R.current = !1, W.current = !1, N.current = !1, G.current = 0, w.current = 0, H.current = Te(), E.current && !V && E.current.activate(), Ge(), !0), [D, R, W, ae, F, E]), Ve = I((V = !1) => ae.current || N.current ? !1 : (G.current = Ua(), N.current = !0, Re(), Ce(), E.current && !V && E.current.pause(), !0), [D, ae, E]), je = I((V = !1) => ae.current || !N.current ? !1 : (N.current = !1, W.current || xe(), R.current || Ge(G.current), w.current && (w.current = Te()), E.current && !V && E.current.resume(), !0), [D, F, ae, G, E]), za = I((V, De) => (E.current ? (De && ke.current(V, Se), E.current.message(V)) : De && ke.current(V, Se), !0), [s]), Ea = I(() => R.current, [R]), Na = I(() => W.current, [W]), Ia = I(() => E.current ? E.current.isLeader : null, [E]), Va = I(() => E.current ? E.current.isLastActive : null, [E]), da = I(() => E.current ? E.current.token : null, [E]), Ua = I(() => {
|
|
8633
|
+
if (N.current) return G.current;
|
|
8634
|
+
let V = G.current ? G.current : M.current + F.current, De = T.current ? Te() - T.current : 0, ta = Math.floor(V - De);
|
|
8624
8635
|
return ta < 0 ? 0 : Math.abs(ta);
|
|
8625
|
-
}, [
|
|
8636
|
+
}, [F, M, W, G, T]), Ze = I(() => Math.round(Te() - H.current), [H]), ca = I(() => Math.round(Te() - L.current), [L]), fa = I(() => k.current ? new Date(k.current) : null, [k]), La = I(() => T.current ? new Date(T.current) : null, [T]), Ga = I(() => R.current ? Math.round(Te() - k.current + O.current) : Math.round(O.current), [k, O]), ba = I(() => R.current ? Math.round(Te() - k.current + B.current) : Math.round(B.current), [k, B]), Ma = I(() => {
|
|
8626
8637
|
let V = Math.round(Ze() - Ga());
|
|
8627
8638
|
return V >= 0 ? V : 0;
|
|
8628
8639
|
}, [k, O]), Ra = I(() => {
|
|
@@ -8648,17 +8659,17 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8648
8659
|
}, onMessage: (V) => {
|
|
8649
8660
|
ke.current(V, Se);
|
|
8650
8661
|
}, start: Qe, reset: oa, activate: ga, pause: Ve, resume: je }) : E.current = null;
|
|
8651
|
-
}, [U, C, x, _e, ye,
|
|
8652
|
-
|
|
8653
|
-
}, [y, f, S,
|
|
8654
|
-
if (!
|
|
8662
|
+
}, [U, C, x, _e, ye, me, ke, Qe, oa, Ve, je]), ge(() => {
|
|
8663
|
+
P.current || (Ce(), Re(!0)), !(y || S) && (f ? Qe() : xe());
|
|
8664
|
+
}, [y, f, S, P]), ge(() => {
|
|
8665
|
+
if (!P.current) {
|
|
8655
8666
|
let V = [...(/* @__PURE__ */ new Set([...p, ...b])).values()];
|
|
8656
8667
|
if (Re(), Z.current = V, j.current = l, q.current = b, y || S) return;
|
|
8657
8668
|
f ? Qe() : xe();
|
|
8658
8669
|
}
|
|
8659
|
-
}, [l, JSON.stringify(p), JSON.stringify(b),
|
|
8660
|
-
|
|
8661
|
-
}, [
|
|
8670
|
+
}, [l, JSON.stringify(p), JSON.stringify(b), P, S, y, f]), ge(() => {
|
|
8671
|
+
P.current && (P.current = !1);
|
|
8672
|
+
}, [P]);
|
|
8662
8673
|
let Se = { message: za, start: Qe, reset: oa, activate: ga, pause: Ve, resume: je, isIdle: Ea, isPrompted: Na, isLeader: Ia, isLastActiveTab: Va, getTabId: da, getRemainingTime: Ua, getElapsedTime: Ze, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: La, getIdleTime: Ga, getTotalIdleTime: ba, getActiveTime: Ma, getTotalActiveTime: Ra, setOnPresenceChange: (V) => {
|
|
8663
8674
|
d = V, te.current = V;
|
|
8664
8675
|
}, setOnPrompt: (V) => {
|
|
@@ -8666,7 +8677,7 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8666
8677
|
}, setOnIdle: (V) => {
|
|
8667
8678
|
a = V, ye.current = V;
|
|
8668
8679
|
}, setOnActive: (V) => {
|
|
8669
|
-
t = V,
|
|
8680
|
+
t = V, me.current = V;
|
|
8670
8681
|
}, setOnAction: (V) => {
|
|
8671
8682
|
o = V, ce.current = V;
|
|
8672
8683
|
}, setOnMessage: (V) => {
|
|
@@ -8674,9 +8685,9 @@ function gs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8674
8685
|
} };
|
|
8675
8686
|
return Se;
|
|
8676
8687
|
}
|
|
8677
|
-
var ds =
|
|
8688
|
+
var ds = Ki(null);
|
|
8678
8689
|
ds.Consumer;
|
|
8679
|
-
const
|
|
8690
|
+
const qm = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
8680
8691
|
onIdle: e,
|
|
8681
8692
|
onActive: n,
|
|
8682
8693
|
onAction: i,
|
|
@@ -8710,7 +8721,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
8710
8721
|
mutationFn: async (i) => await n(i),
|
|
8711
8722
|
...e
|
|
8712
8723
|
});
|
|
8713
|
-
},
|
|
8724
|
+
}, $m = ({
|
|
8714
8725
|
options: e = {
|
|
8715
8726
|
inboxList: {},
|
|
8716
8727
|
readInbox: {}
|
|
@@ -8777,7 +8788,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
8777
8788
|
value: "other",
|
|
8778
8789
|
...e.other
|
|
8779
8790
|
}
|
|
8780
|
-
],
|
|
8791
|
+
], Qm = ({ options: e, formData: n } = {}) => {
|
|
8781
8792
|
const { lng: i } = oe(), { newsListApi: l } = rl(), p = $e(i);
|
|
8782
8793
|
return Q({
|
|
8783
8794
|
queryKey: ["newsList"],
|
|
@@ -8803,7 +8814,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
8803
8814
|
},
|
|
8804
8815
|
...e
|
|
8805
8816
|
});
|
|
8806
|
-
},
|
|
8817
|
+
}, jm = ({ options: e, formData: n } = {}) => {
|
|
8807
8818
|
const { lng: i } = oe(), { newsListApi: l } = rl(), p = $e(i);
|
|
8808
8819
|
return Q({
|
|
8809
8820
|
queryKey: ["newsList"],
|
|
@@ -9010,11 +9021,11 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9010
9021
|
providerList: Be(r.providers, (a) => ({
|
|
9011
9022
|
...a,
|
|
9012
9023
|
providerUid: a.uid,
|
|
9013
|
-
providerImageUrl: `${Xe}/paymentIcon/${
|
|
9024
|
+
providerImageUrl: `${Xe}/paymentIcon/${St(a.provider_name)}.png`,
|
|
9014
9025
|
providerMax: a.max,
|
|
9015
9026
|
providerMin: a.min
|
|
9016
9027
|
})),
|
|
9017
|
-
methodImageUrl: `${Xe}/paymentIcon/${
|
|
9028
|
+
methodImageUrl: `${Xe}/paymentIcon/${St(r.method_name)}pay.png`
|
|
9018
9029
|
}));
|
|
9019
9030
|
return {
|
|
9020
9031
|
bank: g,
|
|
@@ -9066,63 +9077,63 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9066
9077
|
queryFn: () => i({ paramsData: e }),
|
|
9067
9078
|
...n
|
|
9068
9079
|
});
|
|
9069
|
-
},
|
|
9080
|
+
}, Ym = ({ options: e } = {}) => {
|
|
9070
9081
|
const { redeemCodeDepositApi: n } = Ae();
|
|
9071
9082
|
return re({
|
|
9072
9083
|
mutationKey: ["redeemCodeDeposit"],
|
|
9073
9084
|
mutationFn: async (i) => n(i),
|
|
9074
9085
|
...e
|
|
9075
9086
|
});
|
|
9076
|
-
},
|
|
9087
|
+
}, Xm = ({ options: e } = {}) => {
|
|
9077
9088
|
const { invoiceApi: n } = Ae();
|
|
9078
9089
|
return re({
|
|
9079
9090
|
mutationKey: ["invoiceAction"],
|
|
9080
9091
|
mutationFn: async (i) => n(i),
|
|
9081
9092
|
...e
|
|
9082
9093
|
});
|
|
9083
|
-
},
|
|
9094
|
+
}, eu = ({ options: e } = {}) => {
|
|
9084
9095
|
const { updateInvoiceApi: n } = Ae();
|
|
9085
9096
|
return re({
|
|
9086
9097
|
mutationKey: ["updateInvoiceAction"],
|
|
9087
9098
|
mutationFn: async (i) => n(i),
|
|
9088
9099
|
...e
|
|
9089
9100
|
});
|
|
9090
|
-
},
|
|
9101
|
+
}, au = ({ options: e, paramsData: n } = {}) => {
|
|
9091
9102
|
const { transactionRecordApi: i } = Ae();
|
|
9092
9103
|
return Q({
|
|
9093
9104
|
queryKey: ["transactionRecord", "deposit"],
|
|
9094
9105
|
queryFn: () => i(n, "deposit"),
|
|
9095
9106
|
...e
|
|
9096
9107
|
});
|
|
9097
|
-
},
|
|
9108
|
+
}, iu = ({ options: e, paramsData: n } = {}) => {
|
|
9098
9109
|
const { transactionRecordApi: i } = Ae();
|
|
9099
9110
|
return Q({
|
|
9100
9111
|
queryKey: ["transactionRecord", "withdraw"],
|
|
9101
9112
|
queryFn: () => i(n, "withdraw"),
|
|
9102
9113
|
...e
|
|
9103
9114
|
});
|
|
9104
|
-
},
|
|
9115
|
+
}, tu = ({ options: e, paramsData: n } = {}) => {
|
|
9105
9116
|
const { transactionRecordApi: i } = Ae();
|
|
9106
9117
|
return Q({
|
|
9107
9118
|
queryKey: ["transactionRecord", "event"],
|
|
9108
9119
|
queryFn: () => i(n, "event"),
|
|
9109
9120
|
...e
|
|
9110
9121
|
});
|
|
9111
|
-
},
|
|
9122
|
+
}, nu = ({ options: e, paramsData: n } = {}) => {
|
|
9112
9123
|
const { transactionRecordApi: i } = Ae();
|
|
9113
9124
|
return Q({
|
|
9114
9125
|
queryKey: ["transactionRecord", "rebate"],
|
|
9115
9126
|
queryFn: () => i(n, "rebate"),
|
|
9116
9127
|
...e
|
|
9117
9128
|
});
|
|
9118
|
-
},
|
|
9129
|
+
}, lu = ({ options: e, paramsData: n } = {}) => {
|
|
9119
9130
|
const { treasureRecordApi: i } = Ae();
|
|
9120
9131
|
return Q({
|
|
9121
9132
|
queryKey: ["treasureRecord", n],
|
|
9122
9133
|
queryFn: () => i(n),
|
|
9123
9134
|
...e
|
|
9124
9135
|
});
|
|
9125
|
-
},
|
|
9136
|
+
}, ru = ({
|
|
9126
9137
|
depositV1: e = {},
|
|
9127
9138
|
depositV2: n = {},
|
|
9128
9139
|
depositTransaction: i = {},
|
|
@@ -9145,10 +9156,10 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9145
9156
|
eventTransaction: m,
|
|
9146
9157
|
withdrawTransaction: c
|
|
9147
9158
|
};
|
|
9148
|
-
}, ol = "3.7.8", xs = ol, Wa = typeof Buffer == "function",
|
|
9159
|
+
}, ol = "3.7.8", xs = ol, Wa = typeof Buffer == "function", Gn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Mn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Ss = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Qa = Array.prototype.slice.call(Ss), ri = ((e) => {
|
|
9149
9160
|
let n = {};
|
|
9150
9161
|
return e.forEach((i, l) => n[i] = l), n;
|
|
9151
|
-
})(Qa), Ds = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String),
|
|
9162
|
+
})(Qa), Ds = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), Rn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), sl = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), ml = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), ul = (e) => {
|
|
9152
9163
|
let n, i, l, p, g = "";
|
|
9153
9164
|
const b = e.length % 3;
|
|
9154
9165
|
for (let d = 0; d < e.length; ) {
|
|
@@ -9157,12 +9168,12 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9157
9168
|
n = i << 16 | l << 8 | p, g += Qa[n >> 18 & 63] + Qa[n >> 12 & 63] + Qa[n >> 6 & 63] + Qa[n & 63];
|
|
9158
9169
|
}
|
|
9159
9170
|
return b ? g.slice(0, b - 3) + "===".substring(b) : g;
|
|
9160
|
-
},
|
|
9171
|
+
}, kt = typeof btoa == "function" ? (e) => btoa(e) : Wa ? (e) => Buffer.from(e, "binary").toString("base64") : ul, mt = Wa ? (e) => Buffer.from(e).toString("base64") : (e) => {
|
|
9161
9172
|
let i = [];
|
|
9162
9173
|
for (let l = 0, p = e.length; l < p; l += 4096)
|
|
9163
9174
|
i.push(Le.apply(null, e.subarray(l, l + 4096)));
|
|
9164
|
-
return
|
|
9165
|
-
},
|
|
9175
|
+
return kt(i.join(""));
|
|
9176
|
+
}, Ji = (e, n = !1) => n ? sl(mt(e)) : mt(e), Es = (e) => {
|
|
9166
9177
|
if (e.length < 2) {
|
|
9167
9178
|
var n = e.charCodeAt(0);
|
|
9168
9179
|
return n < 128 ? e : n < 2048 ? Le(192 | n >>> 6) + Le(128 | n & 63) : Le(224 | n >>> 12 & 15) + Le(128 | n >>> 6 & 63) + Le(128 | n & 63);
|
|
@@ -9170,7 +9181,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9170
9181
|
var n = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
|
|
9171
9182
|
return Le(240 | n >>> 18 & 7) + Le(128 | n >>> 12 & 63) + Le(128 | n >>> 6 & 63) + Le(128 | n & 63);
|
|
9172
9183
|
}
|
|
9173
|
-
}, Ns = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, pl = (e) => e.replace(Ns, Es),
|
|
9184
|
+
}, Ns = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, pl = (e) => e.replace(Ns, Es), Pn = Wa ? (e) => Buffer.from(e, "utf8").toString("base64") : Mn ? (e) => mt(Mn.encode(e)) : (e) => kt(pl(e)), Ba = (e, n = !1) => n ? sl(Pn(e)) : Pn(e), wn = (e) => Ba(e, !0), Ls = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Gs = (e) => {
|
|
9174
9185
|
switch (e.length) {
|
|
9175
9186
|
case 4:
|
|
9176
9187
|
var n = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), i = n - 65536;
|
|
@@ -9186,9 +9197,9 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9186
9197
|
e += "==".slice(2 - (e.length & 3));
|
|
9187
9198
|
let n, i, l, p = [];
|
|
9188
9199
|
for (let g = 0; g < e.length; )
|
|
9189
|
-
n =
|
|
9200
|
+
n = ri[e.charAt(g++)] << 18 | ri[e.charAt(g++)] << 12 | (i = ri[e.charAt(g++)]) << 6 | (l = ri[e.charAt(g++)]), i === 64 ? p.push(Le(n >> 16 & 255)) : l === 64 ? p.push(Le(n >> 16 & 255, n >> 8 & 255)) : p.push(Le(n >> 16 & 255, n >> 8 & 255, n & 255));
|
|
9190
9201
|
return p.join("");
|
|
9191
|
-
},
|
|
9202
|
+
}, xt = typeof atob == "function" ? (e) => atob(ml(e)) : Wa ? (e) => Buffer.from(e, "base64").toString("binary") : dl, cl = Wa ? (e) => Rn(Buffer.from(e, "base64")) : (e) => Rn(xt(e).split("").map((n) => n.charCodeAt(0))), fl = (e) => cl(_l(e)), Ms = Wa ? (e) => Buffer.from(e, "base64").toString("utf8") : Gn ? (e) => Gn.decode(cl(e)) : (e) => gl(xt(e)), _l = (e) => ml(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), ut = (e) => Ms(_l(e)), Rs = (e) => {
|
|
9192
9203
|
if (typeof e != "string")
|
|
9193
9204
|
return !1;
|
|
9194
9205
|
const n = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
|
|
@@ -9201,7 +9212,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9201
9212
|
}), Ul = function() {
|
|
9202
9213
|
const e = (n, i) => Object.defineProperty(String.prototype, n, yl(i));
|
|
9203
9214
|
e("fromBase64", function() {
|
|
9204
|
-
return
|
|
9215
|
+
return ut(this);
|
|
9205
9216
|
}), e("toBase64", function(n) {
|
|
9206
9217
|
return Ba(this, n);
|
|
9207
9218
|
}), e("toBase64URI", function() {
|
|
@@ -9214,37 +9225,37 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9214
9225
|
}, bl = function() {
|
|
9215
9226
|
const e = (n, i) => Object.defineProperty(Uint8Array.prototype, n, yl(i));
|
|
9216
9227
|
e("toBase64", function(n) {
|
|
9217
|
-
return
|
|
9228
|
+
return Ji(this, n);
|
|
9218
9229
|
}), e("toBase64URI", function() {
|
|
9219
|
-
return
|
|
9230
|
+
return Ji(this, !0);
|
|
9220
9231
|
}), e("toBase64URL", function() {
|
|
9221
|
-
return
|
|
9232
|
+
return Ji(this, !0);
|
|
9222
9233
|
});
|
|
9223
9234
|
}, Ps = () => {
|
|
9224
9235
|
Ul(), bl();
|
|
9225
9236
|
}, ws = {
|
|
9226
9237
|
version: ol,
|
|
9227
9238
|
VERSION: xs,
|
|
9228
|
-
atob:
|
|
9239
|
+
atob: xt,
|
|
9229
9240
|
atobPolyfill: dl,
|
|
9230
|
-
btoa:
|
|
9241
|
+
btoa: kt,
|
|
9231
9242
|
btoaPolyfill: ul,
|
|
9232
|
-
fromBase64:
|
|
9243
|
+
fromBase64: ut,
|
|
9233
9244
|
toBase64: Ba,
|
|
9234
9245
|
encode: Ba,
|
|
9235
|
-
encodeURI:
|
|
9236
|
-
encodeURL:
|
|
9246
|
+
encodeURI: wn,
|
|
9247
|
+
encodeURL: wn,
|
|
9237
9248
|
utob: pl,
|
|
9238
9249
|
btou: gl,
|
|
9239
|
-
decode:
|
|
9250
|
+
decode: ut,
|
|
9240
9251
|
isValid: Rs,
|
|
9241
|
-
fromUint8Array:
|
|
9252
|
+
fromUint8Array: Ji,
|
|
9242
9253
|
toUint8Array: fl,
|
|
9243
9254
|
extendString: Ul,
|
|
9244
9255
|
extendUint8Array: bl,
|
|
9245
9256
|
extendBuiltins: Ps
|
|
9246
|
-
},
|
|
9247
|
-
const { playGameApi: i } =
|
|
9257
|
+
}, ou = (e, n) => {
|
|
9258
|
+
const { playGameApi: i } = Ut();
|
|
9248
9259
|
return Q({
|
|
9249
9260
|
queryKey: ["playGame"],
|
|
9250
9261
|
queryFn: async () => {
|
|
@@ -9298,7 +9309,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9298
9309
|
mutationFn: async () => n(),
|
|
9299
9310
|
...e
|
|
9300
9311
|
});
|
|
9301
|
-
},
|
|
9312
|
+
}, su = ({
|
|
9302
9313
|
options: e = {
|
|
9303
9314
|
currentRebate: {},
|
|
9304
9315
|
receiveRebate: {}
|
|
@@ -9396,7 +9407,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9396
9407
|
queryFn: n,
|
|
9397
9408
|
...e
|
|
9398
9409
|
});
|
|
9399
|
-
},
|
|
9410
|
+
}, mu = ({
|
|
9400
9411
|
options: e = {
|
|
9401
9412
|
rewardsList: {},
|
|
9402
9413
|
redeemReward: {},
|
|
@@ -9456,7 +9467,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9456
9467
|
treasureListApi: n,
|
|
9457
9468
|
redeemTreasureApi: i
|
|
9458
9469
|
};
|
|
9459
|
-
},
|
|
9470
|
+
}, uu = ({ paramsData: e, options: n } = {}) => {
|
|
9460
9471
|
const { client: i, lng: l } = oe(), p = $e(l || "tw"), { treasureListApi: g } = vl();
|
|
9461
9472
|
return Q({
|
|
9462
9473
|
queryKey: ["treasureList", e],
|
|
@@ -9484,7 +9495,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9484
9495
|
},
|
|
9485
9496
|
...n
|
|
9486
9497
|
});
|
|
9487
|
-
},
|
|
9498
|
+
}, pu = ({ options: e } = {}) => {
|
|
9488
9499
|
const { redeemTreasureApi: n } = vl();
|
|
9489
9500
|
return re({
|
|
9490
9501
|
mutationKey: ["redeemTreasure"],
|
|
@@ -9497,7 +9508,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9497
9508
|
vipListApi: n,
|
|
9498
9509
|
vipInfoApi: i
|
|
9499
9510
|
};
|
|
9500
|
-
},
|
|
9511
|
+
}, gu = ({ options: e } = {}) => {
|
|
9501
9512
|
const { store: n } = oe(), i = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: l } = hl();
|
|
9502
9513
|
return Q({
|
|
9503
9514
|
queryKey: ["vipInfo"],
|
|
@@ -9549,11 +9560,11 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9549
9560
|
},
|
|
9550
9561
|
...e
|
|
9551
9562
|
});
|
|
9552
|
-
},
|
|
9563
|
+
}, du = ({ options: e } = {
|
|
9553
9564
|
vipList: {}
|
|
9554
9565
|
}) => ({
|
|
9555
9566
|
vipList: Is({ options: e.vipList })
|
|
9556
|
-
}),
|
|
9567
|
+
}), Fn = (e) => {
|
|
9557
9568
|
switch (e) {
|
|
9558
9569
|
case "tw":
|
|
9559
9570
|
return "Tw";
|
|
@@ -9572,8 +9583,8 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9572
9583
|
default:
|
|
9573
9584
|
return "En";
|
|
9574
9585
|
}
|
|
9575
|
-
},
|
|
9576
|
-
const { lng: n } = oe(), i =
|
|
9586
|
+
}, oi = "game-icon-ds88", cu = ({ gameData: e = {} } = {}) => {
|
|
9587
|
+
const { lng: n } = oe(), i = Fn(n), {
|
|
9577
9588
|
gameCode: l,
|
|
9578
9589
|
// 遊戲代碼
|
|
9579
9590
|
gameUid: p,
|
|
@@ -9611,7 +9622,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9611
9622
|
// 越南名稱
|
|
9612
9623
|
gameNameTw: C
|
|
9613
9624
|
// 繁體中文名稱
|
|
9614
|
-
} = e, v = e?.[`gameName${
|
|
9625
|
+
} = e, v = e?.[`gameName${Fn(i)}`], x = `${ti}/${oi}/${n}/${a}/${ai(l, / /g, "_")}.webp`, S = `${ti}/${oi}/${n}/${a}/${ai(l, / /g, "_")}.gif`, L = `${ti}/${oi}/en/${a}/${ai(l, / /g, "_")}.webp`, H = `${ti}/${oi}/en/${a}/${ai(l, / /g, "_")}.gif`;
|
|
9615
9626
|
return {
|
|
9616
9627
|
gameCode: l,
|
|
9617
9628
|
gameUid: p,
|
|
@@ -9633,7 +9644,9 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9633
9644
|
gameNameTw: C,
|
|
9634
9645
|
gameName: v,
|
|
9635
9646
|
gameImageUrl: x,
|
|
9636
|
-
gameImageUrlAnimated: S
|
|
9647
|
+
gameImageUrlAnimated: S,
|
|
9648
|
+
fallbackGameImageUrl: L,
|
|
9649
|
+
fallbackGameImageUrlAnimated: H
|
|
9637
9650
|
};
|
|
9638
9651
|
}, Vs = (e, n = !1) => Il([
|
|
9639
9652
|
"EVO",
|
|
@@ -9646,7 +9659,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9646
9659
|
"HACK",
|
|
9647
9660
|
"NAGA",
|
|
9648
9661
|
"RSG"
|
|
9649
|
-
], e) && n ? `${e}_dark` : e,
|
|
9662
|
+
], e) && n ? `${e}_dark` : e, fu = ({ platformData: e, darkMode: n } = {}) => {
|
|
9650
9663
|
const {
|
|
9651
9664
|
SubPlatformEnum: i,
|
|
9652
9665
|
// 子平台枚舉
|
|
@@ -9682,7 +9695,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9682
9695
|
tempMaintenanceEndTime: o,
|
|
9683
9696
|
platformImageUrl: s
|
|
9684
9697
|
};
|
|
9685
|
-
}, Js = (e = {}) => !
|
|
9698
|
+
}, Js = (e = {}) => !qi(e) || Ee(e) ? [] : $i(e), An = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "platform"), Zs = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "gameTypeName"), Ks = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "game_subtype"), qs = (e = {}) => !qi(e) || Ee(e) ? [] : $i(e), $s = (e = [], n = []) => !la(e) || Ee(e) ? {} : !la(n) || Ee(n) ? {} : e.reduce((i, l) => {
|
|
9686
9699
|
const p = n.map((g) => g.game_subtype);
|
|
9687
9700
|
return p.forEach((g) => {
|
|
9688
9701
|
i[g] = i[g] || [];
|
|
@@ -9702,7 +9715,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9702
9715
|
allPlatforms: p
|
|
9703
9716
|
});
|
|
9704
9717
|
return Ee(d) || (g[b] = d), g;
|
|
9705
|
-
}, {}),
|
|
9718
|
+
}, {}), _u = ({
|
|
9706
9719
|
types: e = [],
|
|
9707
9720
|
platforms: n = [],
|
|
9708
9721
|
allGameType: i = [],
|
|
@@ -9720,10 +9733,10 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9720
9733
|
return Ee(s) ? t : { ...t, [o]: s };
|
|
9721
9734
|
}, {});
|
|
9722
9735
|
return Ee(a) || (g[b] = a), g;
|
|
9723
|
-
}, {}), js = (e = {}) => !
|
|
9736
|
+
}, {}), js = (e = {}) => !qi(e) || Ee(e) ? {} : Object.values(e).reduce((i, l) => (Object.entries(l).forEach(([p, g]) => {
|
|
9724
9737
|
i[p] ? i[p] = [...i[p], ...g] : i[p] = g;
|
|
9725
9738
|
}), i), {}), Ys = (e = {}) => {
|
|
9726
|
-
if (!
|
|
9739
|
+
if (!qi(e) || Ee(e)) return {};
|
|
9727
9740
|
const n = {};
|
|
9728
9741
|
for (const [i, l] of Object.entries(e)) {
|
|
9729
9742
|
n[i] = {};
|
|
@@ -9752,21 +9765,21 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9752
9765
|
gameList: e,
|
|
9753
9766
|
allGameTypes: i,
|
|
9754
9767
|
allPlatforms: n
|
|
9755
|
-
}), _ = Be(n, (
|
|
9756
|
-
const
|
|
9768
|
+
}), _ = Be(n, (L) => {
|
|
9769
|
+
const H = `${Xe}/${Kn}/${L.platformEnum}.png`;
|
|
9757
9770
|
return {
|
|
9758
|
-
...
|
|
9759
|
-
platformImageUrl:
|
|
9771
|
+
...L,
|
|
9772
|
+
platformImageUrl: H
|
|
9760
9773
|
};
|
|
9761
9774
|
}), U = $s(o, l), C = js(y), v = Ys(C), x = Wn(y).reduce(
|
|
9762
|
-
(
|
|
9763
|
-
const T =
|
|
9764
|
-
return
|
|
9775
|
+
(L, [H, k]) => {
|
|
9776
|
+
const T = $i(Vl(k));
|
|
9777
|
+
return L[H] = T, L;
|
|
9765
9778
|
},
|
|
9766
9779
|
{}
|
|
9767
|
-
), S =
|
|
9768
|
-
const k =
|
|
9769
|
-
return
|
|
9780
|
+
), S = Dt(y).reduce((L, H) => {
|
|
9781
|
+
const k = Dt(y[H]);
|
|
9782
|
+
return L[H] = k, L;
|
|
9770
9783
|
}, {});
|
|
9771
9784
|
return {
|
|
9772
9785
|
platform: {
|
|
@@ -9801,7 +9814,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9801
9814
|
favorite: f
|
|
9802
9815
|
}
|
|
9803
9816
|
};
|
|
9804
|
-
},
|
|
9817
|
+
}, yu = (e = []) => !la(e) || Ee(e) ? [] : $i(e, (n) => Ee(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((i) => ({
|
|
9805
9818
|
...n,
|
|
9806
9819
|
...i,
|
|
9807
9820
|
platform: i.SubPlatformEnum,
|
|
@@ -9827,7 +9840,7 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
9827
9840
|
},
|
|
9828
9841
|
user: { favorite: [] }
|
|
9829
9842
|
}, am = ({ enabled: e = !0 } = {}) => {
|
|
9830
|
-
const { getToken: n } = oe(), { userFavoriteGameApi: i, userGameListApi: l } =
|
|
9843
|
+
const { getToken: n } = oe(), { userFavoriteGameApi: i, userGameListApi: l } = se(), { data: p, isLoading: g, error: b, refetch: d } = Q({
|
|
9831
9844
|
queryKey: ["gamesInfo"],
|
|
9832
9845
|
queryFn: async () => {
|
|
9833
9846
|
let r = {}, a = {};
|
|
@@ -36402,15 +36415,15 @@ const Km = ({ onIdle: e, onActive: n, onAction: i, timeout: l = 6e5 }) => gs({
|
|
|
36402
36415
|
const l = am({ enabled: n });
|
|
36403
36416
|
return /* @__PURE__ */ Fe.jsx(qn.Provider, { value: l, children: e });
|
|
36404
36417
|
};
|
|
36405
|
-
function
|
|
36418
|
+
function Uu({
|
|
36406
36419
|
children: e,
|
|
36407
36420
|
autoFetchGamesInfo: n = !1,
|
|
36408
36421
|
useMockData: i = !1,
|
|
36409
36422
|
queryClient: l,
|
|
36410
36423
|
...p
|
|
36411
36424
|
}) {
|
|
36412
|
-
const g = Oa(() =>
|
|
36413
|
-
() =>
|
|
36425
|
+
const g = Oa(() => Gt(p), [p]), b = Oa(
|
|
36426
|
+
() => Gt({ ...p, formData: !0 }),
|
|
36414
36427
|
[p]
|
|
36415
36428
|
), d = Oa(
|
|
36416
36429
|
() => new Ol({
|
|
@@ -36432,7 +36445,7 @@ function yu({
|
|
|
36432
36445
|
}
|
|
36433
36446
|
) }) }) });
|
|
36434
36447
|
}
|
|
36435
|
-
const
|
|
36448
|
+
const bu = ({ onFunction: e = () => {
|
|
36436
36449
|
}, buttonProps: n = {} } = {}) => {
|
|
36437
36450
|
const { lineConfig: i } = oe(), l = ee(!1), p = le(i, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), d = g.get("trans_code"), r = g.get("line_id"), a = g.get("line_name"), t = g.get("invite_code"), { mutate: o, isPending: s } = tl({
|
|
36438
36451
|
options: {
|
|
@@ -36472,19 +36485,19 @@ const Uu = ({ onFunction: e = () => {
|
|
|
36472
36485
|
}
|
|
36473
36486
|
) : null;
|
|
36474
36487
|
};
|
|
36475
|
-
var nm = Object.defineProperty,
|
|
36488
|
+
var nm = Object.defineProperty, Zi = Object.getOwnPropertySymbols, Tl = Object.prototype.hasOwnProperty, kl = Object.prototype.propertyIsEnumerable, On = (e, n, i) => n in e ? nm(e, n, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[n] = i, pt = (e, n) => {
|
|
36476
36489
|
for (var i in n || (n = {}))
|
|
36477
36490
|
Tl.call(n, i) && On(e, i, n[i]);
|
|
36478
|
-
if (
|
|
36479
|
-
for (var i of
|
|
36491
|
+
if (Zi)
|
|
36492
|
+
for (var i of Zi(n))
|
|
36480
36493
|
kl.call(n, i) && On(e, i, n[i]);
|
|
36481
36494
|
return e;
|
|
36482
|
-
},
|
|
36495
|
+
}, gt = (e, n) => {
|
|
36483
36496
|
var i = {};
|
|
36484
36497
|
for (var l in e)
|
|
36485
36498
|
Tl.call(e, l) && n.indexOf(l) < 0 && (i[l] = e[l]);
|
|
36486
|
-
if (e != null &&
|
|
36487
|
-
for (var l of
|
|
36499
|
+
if (e != null && Zi)
|
|
36500
|
+
for (var l of Zi(e))
|
|
36488
36501
|
n.indexOf(l) < 0 && kl.call(e, l) && (i[l] = e[l]);
|
|
36489
36502
|
return i;
|
|
36490
36503
|
};
|
|
@@ -37135,7 +37148,7 @@ var pm = (function() {
|
|
|
37135
37148
|
boostLevel: o,
|
|
37136
37149
|
marginSize: s,
|
|
37137
37150
|
imageSettings: u
|
|
37138
|
-
} = l, c =
|
|
37151
|
+
} = l, c = gt(l, [
|
|
37139
37152
|
"value",
|
|
37140
37153
|
"size",
|
|
37141
37154
|
"level",
|
|
@@ -37146,12 +37159,12 @@ var pm = (function() {
|
|
|
37146
37159
|
"boostLevel",
|
|
37147
37160
|
"marginSize",
|
|
37148
37161
|
"imageSettings"
|
|
37149
|
-
]), { style: f } = c, y =
|
|
37162
|
+
]), { style: f } = c, y = gt(c, ["style"]), _ = u?.src, U = de.useRef(null), C = de.useRef(null), v = de.useCallback(
|
|
37150
37163
|
(w) => {
|
|
37151
37164
|
U.current = w, typeof i == "function" ? i(w) : i && (i.current = w);
|
|
37152
37165
|
},
|
|
37153
37166
|
[i]
|
|
37154
|
-
), [x, S] = de.useState(!1), { margin:
|
|
37167
|
+
), [x, S] = de.useState(!1), { margin: L, cells: H, numCells: k, calculatedImageSettings: T } = Rl({
|
|
37155
37168
|
value: p,
|
|
37156
37169
|
level: b,
|
|
37157
37170
|
minVersion: t,
|
|
@@ -37163,26 +37176,26 @@ var pm = (function() {
|
|
|
37163
37176
|
});
|
|
37164
37177
|
de.useEffect(() => {
|
|
37165
37178
|
if (U.current != null) {
|
|
37166
|
-
const w = U.current,
|
|
37167
|
-
if (!
|
|
37179
|
+
const w = U.current, G = w.getContext("2d");
|
|
37180
|
+
if (!G)
|
|
37168
37181
|
return;
|
|
37169
|
-
let
|
|
37170
|
-
const
|
|
37171
|
-
|
|
37172
|
-
|
|
37182
|
+
let R = H;
|
|
37183
|
+
const W = C.current, N = T != null && W !== null && W.complete && W.naturalHeight !== 0 && W.naturalWidth !== 0;
|
|
37184
|
+
N && T.excavation != null && (R = Ml(
|
|
37185
|
+
H,
|
|
37173
37186
|
T.excavation
|
|
37174
37187
|
));
|
|
37175
|
-
const
|
|
37176
|
-
w.height = w.width = g *
|
|
37177
|
-
const
|
|
37178
|
-
|
|
37179
|
-
D.forEach(function(
|
|
37180
|
-
|
|
37188
|
+
const P = window.devicePixelRatio || 1;
|
|
37189
|
+
w.height = w.width = g * P;
|
|
37190
|
+
const A = g / k * P;
|
|
37191
|
+
G.scale(A, A), G.fillStyle = d, G.fillRect(0, 0, k, k), G.fillStyle = r, pm ? G.fill(new Path2D(Gl(R, L))) : H.forEach(function(D, E) {
|
|
37192
|
+
D.forEach(function(F, M) {
|
|
37193
|
+
F && G.fillRect(M + L, E + L, 1, 1);
|
|
37181
37194
|
});
|
|
37182
|
-
}), T && (
|
|
37183
|
-
|
|
37184
|
-
T.x +
|
|
37185
|
-
T.y +
|
|
37195
|
+
}), T && (G.globalAlpha = T.opacity), N && G.drawImage(
|
|
37196
|
+
W,
|
|
37197
|
+
T.x + L,
|
|
37198
|
+
T.y + L,
|
|
37186
37199
|
T.w,
|
|
37187
37200
|
T.h
|
|
37188
37201
|
);
|
|
@@ -37190,7 +37203,7 @@ var pm = (function() {
|
|
|
37190
37203
|
}), de.useEffect(() => {
|
|
37191
37204
|
S(!1);
|
|
37192
37205
|
}, [_]);
|
|
37193
|
-
const O =
|
|
37206
|
+
const O = pt({ height: g, width: g }, f);
|
|
37194
37207
|
let B = null;
|
|
37195
37208
|
return _ != null && (B = /* @__PURE__ */ de.createElement(
|
|
37196
37209
|
"img",
|
|
@@ -37206,7 +37219,7 @@ var pm = (function() {
|
|
|
37206
37219
|
}
|
|
37207
37220
|
)), /* @__PURE__ */ de.createElement(de.Fragment, null, /* @__PURE__ */ de.createElement(
|
|
37208
37221
|
"canvas",
|
|
37209
|
-
|
|
37222
|
+
pt({
|
|
37210
37223
|
style: O,
|
|
37211
37224
|
height: g,
|
|
37212
37225
|
width: g,
|
|
@@ -37231,7 +37244,7 @@ var Pl = de.forwardRef(
|
|
|
37231
37244
|
title: s,
|
|
37232
37245
|
marginSize: u,
|
|
37233
37246
|
imageSettings: m
|
|
37234
|
-
} = l, c =
|
|
37247
|
+
} = l, c = gt(l, [
|
|
37235
37248
|
"value",
|
|
37236
37249
|
"size",
|
|
37237
37250
|
"level",
|
|
@@ -37273,7 +37286,7 @@ var Pl = de.forwardRef(
|
|
|
37273
37286
|
const x = Gl(C, f);
|
|
37274
37287
|
return /* @__PURE__ */ de.createElement(
|
|
37275
37288
|
"svg",
|
|
37276
|
-
|
|
37289
|
+
pt({
|
|
37277
37290
|
height: g,
|
|
37278
37291
|
width: g,
|
|
37279
37292
|
viewBox: `0 0 ${_} ${_}`,
|
|
@@ -37339,8 +37352,8 @@ const dm = {
|
|
|
37339
37352
|
title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
|
|
37340
37353
|
expired: "Kode QR telah kedaluwarsa"
|
|
37341
37354
|
}
|
|
37342
|
-
},
|
|
37343
|
-
const { lng: l, getToken: p, lineConfig: g } = oe(), [b, d] =
|
|
37355
|
+
}, hu = ({ forcedShow: e = !1, isVisible: n, setIsVisible: i } = {}) => {
|
|
37356
|
+
const { lng: l, getToken: p, lineConfig: g } = oe(), [b, d] = rt(300), [r, a] = rt(!1), t = ee(null), o = le(g, "liffId", ""), s = $e(l), u = p?.(), c = new URLSearchParams(window.location.search).get("mac") || st.get("machine_mac_address") || "", { data: f, isFetching: y } = zo({
|
|
37344
37357
|
formData: {
|
|
37345
37358
|
mac_address: c
|
|
37346
37359
|
},
|
|
@@ -37349,7 +37362,7 @@ const dm = {
|
|
|
37349
37362
|
}
|
|
37350
37363
|
}), _ = le(f, "liff_url", "") || `https://liff.line.me/${o}`;
|
|
37351
37364
|
ge(() => {
|
|
37352
|
-
c &&
|
|
37365
|
+
c && st.set("machine_mac_address", c, { expires: 365 });
|
|
37353
37366
|
}, [c]), ge(() => (_ && (d(300), a(!1), t.current && clearInterval(t.current), t.current = setInterval(() => {
|
|
37354
37367
|
d((v) => v <= 1 ? (clearInterval(t.current), a(!0), 0) : v - 1);
|
|
37355
37368
|
}, 1e3)), () => {
|
|
@@ -37404,8 +37417,8 @@ const dm = {
|
|
|
37404
37417
|
)
|
|
37405
37418
|
] })
|
|
37406
37419
|
] });
|
|
37407
|
-
},
|
|
37408
|
-
const e =
|
|
37420
|
+
}, Tu = () => {
|
|
37421
|
+
const e = ct(), {
|
|
37409
37422
|
mutate: n,
|
|
37410
37423
|
isPending: i,
|
|
37411
37424
|
isSuccess: l,
|
|
@@ -37436,16 +37449,16 @@ const dm = {
|
|
|
37436
37449
|
};
|
|
37437
37450
|
export {
|
|
37438
37451
|
zn as ApiCtx,
|
|
37439
|
-
|
|
37440
|
-
|
|
37452
|
+
Uu as ApiProvider,
|
|
37453
|
+
Tu as Bind,
|
|
37441
37454
|
qn as GamesInfoCtx,
|
|
37442
|
-
|
|
37443
|
-
|
|
37455
|
+
bu as LineLogin,
|
|
37456
|
+
hu as LineQrCode,
|
|
37444
37457
|
Ka as STATUS_TYPES,
|
|
37445
37458
|
In as StatusContext,
|
|
37446
37459
|
Ql as StatusProvider,
|
|
37447
37460
|
Qs as buildMultiTypes,
|
|
37448
|
-
|
|
37461
|
+
_u as buildMultiTypesWithSubTypes,
|
|
37449
37462
|
Xl as buildSinglePlatformWithSubTypes,
|
|
37450
37463
|
Yl as buildSingleType,
|
|
37451
37464
|
$s as categorizeGames,
|
|
@@ -37467,43 +37480,44 @@ export {
|
|
|
37467
37480
|
Vs as handleDarkImage,
|
|
37468
37481
|
im as initMockWindowData,
|
|
37469
37482
|
Xs as processGameInfo,
|
|
37470
|
-
|
|
37483
|
+
yu as processPlatformData,
|
|
37471
37484
|
Nm as useAbandonPoint,
|
|
37472
37485
|
oe as useApiContext,
|
|
37473
37486
|
Tm as useBalanceGetter,
|
|
37474
37487
|
Sm as useBet,
|
|
37488
|
+
Bm as useBetRankingData,
|
|
37475
37489
|
_o as useBetRecord,
|
|
37476
37490
|
yo as useBetRecordDetail,
|
|
37477
37491
|
Io as useBindAccount,
|
|
37478
37492
|
Zo as useCheckCurrentEventProgress,
|
|
37479
37493
|
Ko as useCheckEventStatus,
|
|
37480
37494
|
Em as useCheckPlayerWager,
|
|
37481
|
-
|
|
37495
|
+
Wm as useClientWebSocket,
|
|
37482
37496
|
Fs as useCurrentRebate,
|
|
37483
37497
|
bs as useDepositAction,
|
|
37484
37498
|
vs as useDepositTransaction,
|
|
37485
37499
|
ys as useDepositV1,
|
|
37486
37500
|
Us as useDepositV2,
|
|
37487
|
-
|
|
37488
|
-
|
|
37501
|
+
au as useDepositWalletLog,
|
|
37502
|
+
Vm as useEvent,
|
|
37489
37503
|
Jo as useEventList,
|
|
37490
37504
|
hs as useEventTransaction,
|
|
37491
|
-
|
|
37505
|
+
tu as useEventWalletLog,
|
|
37492
37506
|
Ws as useExpiredRewardsList,
|
|
37493
|
-
|
|
37507
|
+
cu as useGameConfig,
|
|
37494
37508
|
Cm as useGameInfoContext,
|
|
37495
37509
|
am as useGamesInfo,
|
|
37496
|
-
|
|
37510
|
+
Jm as useGetCarouseList,
|
|
37497
37511
|
zo as useGetMachineLoginCode,
|
|
37498
|
-
|
|
37512
|
+
Zm as useGetMarquee,
|
|
37499
37513
|
km as useGetMemberInfo,
|
|
37500
|
-
|
|
37514
|
+
Km as useGetRankingGame,
|
|
37501
37515
|
zs as useHistoryRewardsList,
|
|
37502
|
-
|
|
37503
|
-
|
|
37516
|
+
qm as useIdleTimeout,
|
|
37517
|
+
$m as useInbox,
|
|
37504
37518
|
cs as useInboxList,
|
|
37505
37519
|
xm as useInitializeWithToken,
|
|
37506
|
-
|
|
37520
|
+
Xm as useInvoiceAction,
|
|
37507
37521
|
Om as useJackpotData,
|
|
37508
37522
|
tl as useLineLogin,
|
|
37509
37523
|
Wo as useLineLogin2,
|
|
@@ -37513,46 +37527,46 @@ export {
|
|
|
37513
37527
|
Gm as useMobileLogin,
|
|
37514
37528
|
Mm as useMobileLoginV2,
|
|
37515
37529
|
Rm as useMobileRegister,
|
|
37516
|
-
|
|
37517
|
-
|
|
37518
|
-
|
|
37519
|
-
|
|
37520
|
-
|
|
37530
|
+
jm as useNewsDetail,
|
|
37531
|
+
Qm as useNewsList,
|
|
37532
|
+
ru as usePayment,
|
|
37533
|
+
fu as usePlatformConfig,
|
|
37534
|
+
ou as usePlayGame,
|
|
37521
37535
|
Dm as usePointTransfer,
|
|
37522
37536
|
fs as useReadInbox,
|
|
37523
|
-
|
|
37524
|
-
|
|
37537
|
+
su as useRebate,
|
|
37538
|
+
nu as useRebateWalletLog,
|
|
37525
37539
|
As as useReceiveRebate,
|
|
37526
|
-
|
|
37527
|
-
|
|
37540
|
+
Ym as useRedeemCodeDeposit,
|
|
37541
|
+
zm as useRedeemEventReward,
|
|
37528
37542
|
Bs as useRedeemReward,
|
|
37529
|
-
|
|
37543
|
+
pu as useRedeemTreasure,
|
|
37530
37544
|
wo as useResetUserPassword,
|
|
37531
37545
|
Ao as useResetUserTransactionPassword,
|
|
37532
|
-
|
|
37546
|
+
mu as useRewards,
|
|
37533
37547
|
Os as useRewardsList,
|
|
37534
37548
|
Pm as useSendMobileVerifyCode,
|
|
37535
37549
|
Fo as useSetUserTransactionPassword,
|
|
37536
|
-
|
|
37550
|
+
Im as useSettleEvent,
|
|
37537
37551
|
Mo as useSignUp,
|
|
37538
37552
|
Vn as useStatus,
|
|
37539
37553
|
Ro as useToggleFavoriteGame,
|
|
37540
37554
|
Ho as useTransferInGame,
|
|
37541
|
-
|
|
37542
|
-
|
|
37555
|
+
uu as useTreasureList,
|
|
37556
|
+
lu as useTreasureWalletLog,
|
|
37543
37557
|
Hs as useUnUsedRewardsList,
|
|
37544
|
-
|
|
37558
|
+
eu as useUpdateInvoiceAction,
|
|
37545
37559
|
Po as useUpdateUserInfo,
|
|
37546
|
-
|
|
37560
|
+
Hm as useUser,
|
|
37547
37561
|
Bo as useUserBindCard,
|
|
37548
37562
|
Oo as useUserRebate,
|
|
37549
37563
|
Fm as useVerifyDonationCode,
|
|
37550
37564
|
wm as useVerifyPhoneBar,
|
|
37551
37565
|
Am as useVerifyResetAction,
|
|
37552
|
-
|
|
37553
|
-
|
|
37566
|
+
du as useVip,
|
|
37567
|
+
gu as useVipInfo,
|
|
37554
37568
|
Is as useVipList,
|
|
37555
37569
|
Cs as useWithdrawAction,
|
|
37556
37570
|
ks as useWithdrawTransaction,
|
|
37557
|
-
|
|
37571
|
+
iu as useWithdrawWalletLog
|
|
37558
37572
|
};
|