@obb871001/api-integration-sdk 1.0.340 → 1.0.342
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 +4 -4
- package/dist/index.js +830 -802
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import de, { createContext as
|
|
2
|
-
import { useQueries as
|
|
3
|
-
import
|
|
4
|
-
import { get as
|
|
5
|
-
import
|
|
6
|
-
var
|
|
7
|
-
function
|
|
1
|
+
import de, { createContext as $t, useContext as fi, useState as si, useMemo as Oa, useCallback as z, useRef as ae, useEffect as pe } from "react";
|
|
2
|
+
import { useQueries as zn, useQuery as j, useQueryClient as _i, useMutation as X, QueryClient as Bl, QueryClientProvider as Hl } from "@tanstack/react-query";
|
|
3
|
+
import Wl from "axios";
|
|
4
|
+
import { get as te, find as Ke, isEmpty as Ee, entries as In, forEach as zl, map as Be, isArray as la, toLower as Ei, omit as Il, replace as tt, includes as Vl, isObject as Qt, flatMap as jt, values as Jl, keys as Ni } from "lodash";
|
|
5
|
+
import Zl from "react-dom";
|
|
6
|
+
var ai = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7
|
+
function yi(e) {
|
|
8
8
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function Kl(e) {
|
|
11
11
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
12
12
|
var n = e.default;
|
|
13
13
|
if (typeof n == "function") {
|
|
@@ -31,11 +31,11 @@ function Zl(e) {
|
|
|
31
31
|
});
|
|
32
32
|
}), t;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
35
|
-
var
|
|
36
|
-
function
|
|
37
|
-
if (
|
|
38
|
-
|
|
34
|
+
var it = { exports: {} }, Za = {};
|
|
35
|
+
var Li;
|
|
36
|
+
function ql() {
|
|
37
|
+
if (Li) return Za;
|
|
38
|
+
Li = 1;
|
|
39
39
|
var e = de, n = Symbol.for("react.element"), t = 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 U(d, r, a) {
|
|
41
41
|
var i, o = {}, m = null, u = null;
|
|
@@ -47,9 +47,9 @@ function Kl() {
|
|
|
47
47
|
return Za.Fragment = t, Za.jsx = U, Za.jsxs = U, Za;
|
|
48
48
|
}
|
|
49
49
|
var Ka = {};
|
|
50
|
-
var
|
|
51
|
-
function
|
|
52
|
-
return
|
|
50
|
+
var Gi;
|
|
51
|
+
function $l() {
|
|
52
|
+
return Gi || (Gi = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
53
53
|
var e = de, n = Symbol.for("react.element"), t = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), U = Symbol.for("react.provider"), d = Symbol.for("react.context"), r = Symbol.for("react.forward_ref"), a = Symbol.for("react.suspense"), i = Symbol.for("react.suspense_list"), o = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), s = Symbol.iterator, c = "@@iterator";
|
|
54
54
|
function f(T) {
|
|
55
55
|
if (T === null || typeof T != "object")
|
|
@@ -69,8 +69,8 @@ function ql() {
|
|
|
69
69
|
{
|
|
70
70
|
var $ = y.ReactDebugCurrentFrame, ue = $.getStackAddendum();
|
|
71
71
|
ue !== "" && (I += "%s", J = J.concat([ue]));
|
|
72
|
-
var ge = J.map(function(
|
|
73
|
-
return String(
|
|
72
|
+
var ge = J.map(function(re) {
|
|
73
|
+
return String(re);
|
|
74
74
|
});
|
|
75
75
|
ge.unshift("Warning: " + I), Function.prototype.apply.call(console[T], console, ge);
|
|
76
76
|
}
|
|
@@ -129,9 +129,9 @@ function ql() {
|
|
|
129
129
|
var $ = T.displayName || null;
|
|
130
130
|
return $ !== null ? $ : A(T.type) || "Memo";
|
|
131
131
|
case m: {
|
|
132
|
-
var ue = T, ge = ue._payload,
|
|
132
|
+
var ue = T, ge = ue._payload, re = ue._init;
|
|
133
133
|
try {
|
|
134
|
-
return A(
|
|
134
|
+
return A(re(ge));
|
|
135
135
|
} catch {
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
@@ -215,48 +215,48 @@ function ql() {
|
|
|
215
215
|
` + Q + T;
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
var
|
|
218
|
+
var ie = !1, le;
|
|
219
219
|
{
|
|
220
220
|
var ye = typeof WeakMap == "function" ? WeakMap : Map;
|
|
221
|
-
|
|
221
|
+
le = new ye();
|
|
222
222
|
}
|
|
223
223
|
function Ue(T, I) {
|
|
224
|
-
if (!T ||
|
|
224
|
+
if (!T || ie)
|
|
225
225
|
return "";
|
|
226
226
|
{
|
|
227
|
-
var J =
|
|
227
|
+
var J = le.get(T);
|
|
228
228
|
if (J !== void 0)
|
|
229
229
|
return J;
|
|
230
230
|
}
|
|
231
231
|
var $;
|
|
232
|
-
|
|
232
|
+
ie = !0;
|
|
233
233
|
var ue = Error.prepareStackTrace;
|
|
234
234
|
Error.prepareStackTrace = void 0;
|
|
235
235
|
var ge;
|
|
236
236
|
ge = q.current, q.current = null, N();
|
|
237
237
|
try {
|
|
238
238
|
if (I) {
|
|
239
|
-
var
|
|
239
|
+
var re = function() {
|
|
240
240
|
throw Error();
|
|
241
241
|
};
|
|
242
|
-
if (Object.defineProperty(
|
|
242
|
+
if (Object.defineProperty(re.prototype, "props", {
|
|
243
243
|
set: function() {
|
|
244
244
|
throw Error();
|
|
245
245
|
}
|
|
246
246
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
247
247
|
try {
|
|
248
|
-
Reflect.construct(
|
|
248
|
+
Reflect.construct(re, []);
|
|
249
249
|
} catch (We) {
|
|
250
250
|
$ = We;
|
|
251
251
|
}
|
|
252
|
-
Reflect.construct(T, [],
|
|
252
|
+
Reflect.construct(T, [], re);
|
|
253
253
|
} else {
|
|
254
254
|
try {
|
|
255
|
-
|
|
255
|
+
re.call();
|
|
256
256
|
} catch (We) {
|
|
257
257
|
$ = We;
|
|
258
258
|
}
|
|
259
|
-
T.call(
|
|
259
|
+
T.call(re.prototype);
|
|
260
260
|
}
|
|
261
261
|
} else {
|
|
262
262
|
try {
|
|
@@ -268,28 +268,28 @@ function ql() {
|
|
|
268
268
|
}
|
|
269
269
|
} catch (We) {
|
|
270
270
|
if (We && $ && typeof We.stack == "string") {
|
|
271
|
-
for (var
|
|
271
|
+
for (var ee = We.stack.split(`
|
|
272
272
|
`), Oe = $.stack.split(`
|
|
273
|
-
`), be =
|
|
273
|
+
`), be = ee.length - 1, he = Oe.length - 1; be >= 1 && he >= 0 && ee[be] !== Oe[he]; )
|
|
274
274
|
he--;
|
|
275
275
|
for (; be >= 1 && he >= 0; be--, he--)
|
|
276
|
-
if (
|
|
276
|
+
if (ee[be] !== Oe[he]) {
|
|
277
277
|
if (be !== 1 || he !== 1)
|
|
278
278
|
do
|
|
279
|
-
if (be--, he--, he < 0 ||
|
|
279
|
+
if (be--, he--, he < 0 || ee[be] !== Oe[he]) {
|
|
280
280
|
var $e = `
|
|
281
|
-
` +
|
|
282
|
-
return T.displayName && $e.includes("<anonymous>") && ($e = $e.replace("<anonymous>", T.displayName)), typeof T == "function" &&
|
|
281
|
+
` + ee[be].replace(" at new ", " at ");
|
|
282
|
+
return T.displayName && $e.includes("<anonymous>") && ($e = $e.replace("<anonymous>", T.displayName)), typeof T == "function" && le.set(T, $e), $e;
|
|
283
283
|
}
|
|
284
284
|
while (be >= 1 && he >= 0);
|
|
285
285
|
break;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
} finally {
|
|
289
|
-
|
|
289
|
+
ie = !1, q.current = ge, Z(), Error.prepareStackTrace = ue;
|
|
290
290
|
}
|
|
291
291
|
var Ra = T ? T.displayName || T.name : "", ba = Ra ? K(Ra) : "";
|
|
292
|
-
return typeof T == "function" &&
|
|
292
|
+
return typeof T == "function" && le.set(T, ba), ba;
|
|
293
293
|
}
|
|
294
294
|
function me(T, I, J) {
|
|
295
295
|
return Ue(T, !1);
|
|
@@ -338,19 +338,19 @@ function ql() {
|
|
|
338
338
|
function ea(T, I, J, $, ue) {
|
|
339
339
|
{
|
|
340
340
|
var ge = Function.call.bind(fe);
|
|
341
|
-
for (var
|
|
342
|
-
if (ge(T,
|
|
343
|
-
var
|
|
341
|
+
for (var re in T)
|
|
342
|
+
if (ge(T, re)) {
|
|
343
|
+
var ee = void 0;
|
|
344
344
|
try {
|
|
345
|
-
if (typeof T[
|
|
346
|
-
var Oe = Error(($ || "React class") + ": " + J + " type `" +
|
|
345
|
+
if (typeof T[re] != "function") {
|
|
346
|
+
var Oe = Error(($ || "React class") + ": " + J + " type `" + re + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof T[re] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
347
347
|
throw Oe.name = "Invariant Violation", Oe;
|
|
348
348
|
}
|
|
349
|
-
|
|
349
|
+
ee = T[re](I, re, $, J, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
350
350
|
} catch (be) {
|
|
351
|
-
|
|
351
|
+
ee = be;
|
|
352
352
|
}
|
|
353
|
-
|
|
353
|
+
ee && !(ee 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, re, typeof ee), Ge(null)), ee instanceof Error && !(ee.message in Ie) && (Ie[ee.message] = !0, Ge(ue), _("Failed %s type: %s", J, ee.message), Ge(null));
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
}
|
|
@@ -425,51 +425,51 @@ function ql() {
|
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
|
-
var Va = function(T, I, J, $, ue, ge,
|
|
429
|
-
var
|
|
428
|
+
var Va = function(T, I, J, $, ue, ge, re) {
|
|
429
|
+
var ee = {
|
|
430
430
|
// This tag allows us to uniquely identify this as a React Element
|
|
431
431
|
$$typeof: n,
|
|
432
432
|
// Built-in properties that belong on the element
|
|
433
433
|
type: T,
|
|
434
434
|
key: I,
|
|
435
435
|
ref: J,
|
|
436
|
-
props:
|
|
436
|
+
props: re,
|
|
437
437
|
// Record the component responsible for creating this element.
|
|
438
438
|
_owner: ge
|
|
439
439
|
};
|
|
440
|
-
return
|
|
440
|
+
return ee._store = {}, Object.defineProperty(ee._store, "validated", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !0,
|
|
444
444
|
value: !1
|
|
445
|
-
}), Object.defineProperty(
|
|
445
|
+
}), Object.defineProperty(ee, "_self", {
|
|
446
446
|
configurable: !1,
|
|
447
447
|
enumerable: !1,
|
|
448
448
|
writable: !1,
|
|
449
449
|
value: $
|
|
450
|
-
}), Object.defineProperty(
|
|
450
|
+
}), Object.defineProperty(ee, "_source", {
|
|
451
451
|
configurable: !1,
|
|
452
452
|
enumerable: !1,
|
|
453
453
|
writable: !1,
|
|
454
454
|
value: ue
|
|
455
|
-
}), Object.freeze && (Object.freeze(
|
|
455
|
+
}), Object.freeze && (Object.freeze(ee.props), Object.freeze(ee)), ee;
|
|
456
456
|
};
|
|
457
457
|
function Ja(T, I, J, $, ue) {
|
|
458
458
|
{
|
|
459
|
-
var ge,
|
|
460
|
-
J !== void 0 && (xe(J),
|
|
459
|
+
var ge, re = {}, ee = null, Oe = null;
|
|
460
|
+
J !== void 0 && (xe(J), ee = "" + J), Ye(I) && (xe(I.key), ee = "" + I.key), Ve(I) && (Oe = I.ref, Ia(I, ue));
|
|
461
461
|
for (ge in I)
|
|
462
|
-
fe.call(I, ge) && !je.hasOwnProperty(ge) && (
|
|
462
|
+
fe.call(I, ge) && !je.hasOwnProperty(ge) && (re[ge] = I[ge]);
|
|
463
463
|
if (T && T.defaultProps) {
|
|
464
464
|
var be = T.defaultProps;
|
|
465
465
|
for (ge in be)
|
|
466
|
-
|
|
466
|
+
re[ge] === void 0 && (re[ge] = be[ge]);
|
|
467
467
|
}
|
|
468
|
-
if (
|
|
468
|
+
if (ee || Oe) {
|
|
469
469
|
var he = typeof T == "function" ? T.displayName || T.name || "Unknown" : T;
|
|
470
|
-
|
|
470
|
+
ee && Da(re, he), Oe && Ea(re, he);
|
|
471
471
|
}
|
|
472
|
-
return Va(T,
|
|
472
|
+
return Va(T, ee, Oe, ue, $, Re.current, re);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
var da = y.ReactCurrentOwner, ya = y.ReactDebugCurrentFrame;
|
|
@@ -540,8 +540,8 @@ Check the top-level render call using <` + J + ">.");
|
|
|
540
540
|
else if (T) {
|
|
541
541
|
var ue = f(T);
|
|
542
542
|
if (typeof ue == "function" && ue !== T.entries)
|
|
543
|
-
for (var ge = ue.call(T),
|
|
544
|
-
fa(
|
|
543
|
+
for (var ge = ue.call(T), re; !(re = ge.next()).done; )
|
|
544
|
+
fa(re.value) && Ma(re.value, I);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
@@ -585,19 +585,19 @@ Check the top-level render call using <` + J + ">.");
|
|
|
585
585
|
var ia = {};
|
|
586
586
|
function Pe(T, I, J, $, ue, ge) {
|
|
587
587
|
{
|
|
588
|
-
var
|
|
589
|
-
if (!
|
|
590
|
-
var
|
|
591
|
-
(T === void 0 || typeof T == "object" && T !== null && Object.keys(T).length === 0) && (
|
|
588
|
+
var re = k(T);
|
|
589
|
+
if (!re) {
|
|
590
|
+
var ee = "";
|
|
591
|
+
(T === void 0 || typeof T == "object" && T !== null && Object.keys(T).length === 0) && (ee += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
592
592
|
var Oe = La();
|
|
593
|
-
Oe ?
|
|
593
|
+
Oe ? ee += Oe : ee += Na();
|
|
594
594
|
var be;
|
|
595
|
-
T === null ? be = "null" : ve(T) ? be = "array" : T !== void 0 && T.$$typeof === n ? (be = "<" + (A(T.type) || "Unknown") + " />",
|
|
595
|
+
T === null ? be = "null" : ve(T) ? be = "array" : T !== void 0 && T.$$typeof === n ? (be = "<" + (A(T.type) || "Unknown") + " />", ee = " Did you accidentally export a JSX literal instead of a component?") : be = typeof T, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", be, ee);
|
|
596
596
|
}
|
|
597
597
|
var he = Ja(T, I, J, ue, ge);
|
|
598
598
|
if (he == null)
|
|
599
599
|
return he;
|
|
600
|
-
if (
|
|
600
|
+
if (re) {
|
|
601
601
|
var $e = I.children;
|
|
602
602
|
if ($e !== void 0)
|
|
603
603
|
if ($)
|
|
@@ -611,17 +611,17 @@ Check the top-level render call using <` + J + ">.");
|
|
|
611
611
|
Se($e, T);
|
|
612
612
|
}
|
|
613
613
|
if (fe.call(I, "key")) {
|
|
614
|
-
var ba = A(T), We = Object.keys(I).filter(function(
|
|
615
|
-
return
|
|
616
|
-
}),
|
|
617
|
-
if (!ia[ba +
|
|
618
|
-
var
|
|
614
|
+
var ba = A(T), We = Object.keys(I).filter(function(Ol) {
|
|
615
|
+
return Ol !== "key";
|
|
616
|
+
}), ei = We.length > 0 ? "{key: someKey, " + We.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
617
|
+
if (!ia[ba + ei]) {
|
|
618
|
+
var Al = 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} />`, ei, ba, Al, ba), ia[ba + ei] = !0;
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
627
|
return T === l ? De(he) : V(he), he;
|
|
@@ -630,28 +630,28 @@ React keys must be passed directly to JSX without using spread:
|
|
|
630
630
|
function na(T, I, J) {
|
|
631
631
|
return Pe(T, I, J, !0);
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function at(T, I, J) {
|
|
634
634
|
return Pe(T, I, J, !1);
|
|
635
635
|
}
|
|
636
|
-
var
|
|
637
|
-
Ka.Fragment = l, Ka.jsx =
|
|
636
|
+
var Xt = at, Fl = na;
|
|
637
|
+
Ka.Fragment = l, Ka.jsx = Xt, Ka.jsxs = Fl;
|
|
638
638
|
})()), Ka;
|
|
639
639
|
}
|
|
640
|
-
var
|
|
641
|
-
function
|
|
642
|
-
return
|
|
640
|
+
var Mi;
|
|
641
|
+
function Ql() {
|
|
642
|
+
return Mi || (Mi = 1, process.env.NODE_ENV === "production" ? it.exports = ql() : it.exports = $l()), it.exports;
|
|
643
643
|
}
|
|
644
|
-
var Fe =
|
|
645
|
-
const
|
|
646
|
-
const e =
|
|
644
|
+
var Fe = Ql();
|
|
645
|
+
const Vn = $t(null), se = () => {
|
|
646
|
+
const e = fi(Vn);
|
|
647
647
|
if (!e)
|
|
648
648
|
throw new Error("useApiContext must be used within ApiProvider");
|
|
649
649
|
return e;
|
|
650
650
|
}, qa = {
|
|
651
651
|
READY: "ready",
|
|
652
652
|
PENDING: "pending"
|
|
653
|
-
},
|
|
654
|
-
const [n, t] =
|
|
653
|
+
}, Jn = $t(null), jl = ({ children: e }) => {
|
|
654
|
+
const [n, t] = si(qa.READY), l = Oa(() => {
|
|
655
655
|
const p = n === qa.READY, g = n === qa.PENDING;
|
|
656
656
|
return {
|
|
657
657
|
status: n,
|
|
@@ -662,9 +662,9 @@ const In = qt(null), se = () => {
|
|
|
662
662
|
setAsPending: () => t(qa.PENDING)
|
|
663
663
|
};
|
|
664
664
|
}, [n]);
|
|
665
|
-
return /* @__PURE__ */ Fe.jsx(
|
|
666
|
-
},
|
|
667
|
-
const e =
|
|
665
|
+
return /* @__PURE__ */ Fe.jsx(Jn.Provider, { value: l, children: e });
|
|
666
|
+
}, Zn = () => {
|
|
667
|
+
const e = fi(Jn);
|
|
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 In = qt(null), se = () => {
|
|
|
687
687
|
default:
|
|
688
688
|
return e;
|
|
689
689
|
}
|
|
690
|
-
}, Ze = "https://d1h3qe8voog6w4.cloudfront.net",
|
|
690
|
+
}, Ze = "https://d1h3qe8voog6w4.cloudfront.net", nt = "https://d3jx2uvukujuvn.cloudfront.net", Kn = (e) => `${Ze}/reward_icon/${e}.avif`, qn = () => `${Ze}/reward_icon/background_deposit.avif`, $n = "ds88platformIcon", Ba = {
|
|
691
691
|
zh_TW: "系統提示",
|
|
692
692
|
zh_CN: "系统提示",
|
|
693
693
|
en_US: "System Prompt",
|
|
@@ -695,7 +695,7 @@ const In = qt(null), se = () => {
|
|
|
695
695
|
vi_VN: "Lời nhắc hệ thống",
|
|
696
696
|
th_TH: "ข้อความระบบ",
|
|
697
697
|
ja_JP: "システムプロンプト"
|
|
698
|
-
},
|
|
698
|
+
}, Yl = {
|
|
699
699
|
zh_TW: "我們正在為您處理轉點中",
|
|
700
700
|
zh_CN: "我们正在为您处理转点中",
|
|
701
701
|
en_US: "We are processing your transfer",
|
|
@@ -704,7 +704,7 @@ const In = qt(null), se = () => {
|
|
|
704
704
|
th_TH: "เรากำลังดำเนินการโอนของคุณ",
|
|
705
705
|
ja_JP: "転送を処理しています"
|
|
706
706
|
};
|
|
707
|
-
function
|
|
707
|
+
function Ri({
|
|
708
708
|
baseURL: e,
|
|
709
709
|
getToken: n,
|
|
710
710
|
timeoutMs: t = 15e3,
|
|
@@ -715,7 +715,7 @@ function Mi({
|
|
|
715
715
|
currency: d,
|
|
716
716
|
toasterOpen: r = !1
|
|
717
717
|
} = {}) {
|
|
718
|
-
const a =
|
|
718
|
+
const a = Wl.create({
|
|
719
719
|
baseURL: e,
|
|
720
720
|
timeout: t,
|
|
721
721
|
headers: {
|
|
@@ -732,7 +732,7 @@ function Mi({
|
|
|
732
732
|
}), a.interceptors.response.use(
|
|
733
733
|
(i) => i.data,
|
|
734
734
|
(i) => {
|
|
735
|
-
const o =
|
|
735
|
+
const o = te(
|
|
736
736
|
i,
|
|
737
737
|
"response.data.message",
|
|
738
738
|
"發生錯誤,請稍後再試。"
|
|
@@ -753,8 +753,8 @@ function Mi({
|
|
|
753
753
|
}
|
|
754
754
|
), a;
|
|
755
755
|
}
|
|
756
|
-
const
|
|
757
|
-
const e =
|
|
756
|
+
const Qn = $t(null), hm = () => {
|
|
757
|
+
const e = fi(Qn);
|
|
758
758
|
if (!e)
|
|
759
759
|
throw new Error(
|
|
760
760
|
"useGameInfoContext must be used within a GameInfoCtx.Provider"
|
|
@@ -786,43 +786,43 @@ const $n = qt(null), hm = () => {
|
|
|
786
786
|
minimumFractionDigits: 2,
|
|
787
787
|
maximumFractionDigits: 2
|
|
788
788
|
}).format(n);
|
|
789
|
-
},
|
|
789
|
+
}, jn = (e = [], n) => Ke(e, { gameTypeName: n })?.gameTypeUid, Yn = (e = [], n) => Ke(e, { platform: n })?.platformUid, Xn = (e = [], n) => Ke(e, { SubPlatformEnum: n }), el = (e = [], n, t) => Ee(e) ? [] : e.filter((l) => t ? String(l?.SubPlatformEnumUid) === String(t?.SubPlatformEnumUid) : String(l.platformUid) === String(n)), Xl = (e = []) => Ee(e) ? {} : e.reduce((n, t) => {
|
|
790
790
|
const l = t?.game_subtype || "UNKNOWN";
|
|
791
791
|
return n[l] || (n[l] = []), n[l].push(t), n;
|
|
792
|
-
}, {}),
|
|
792
|
+
}, {}), er = ({
|
|
793
793
|
gameTypeName: e,
|
|
794
794
|
platforms: n,
|
|
795
795
|
gameList: t,
|
|
796
796
|
allGameTypes: l,
|
|
797
797
|
allPlatforms: p
|
|
798
798
|
}) => {
|
|
799
|
-
const g =
|
|
799
|
+
const g = jn(l, e);
|
|
800
800
|
return g ? n.reduce((U, d) => {
|
|
801
|
-
const r =
|
|
801
|
+
const r = Yn(p, d), a = Xn(p, d), i = t[g] || [], o = el(
|
|
802
802
|
i,
|
|
803
803
|
r,
|
|
804
804
|
a
|
|
805
805
|
);
|
|
806
806
|
return Ee(o) || (U[d] = o), U;
|
|
807
807
|
}, {}) : {};
|
|
808
|
-
},
|
|
808
|
+
}, ar = ({
|
|
809
809
|
platformName: e,
|
|
810
810
|
gamesOfType: n = [],
|
|
811
811
|
allPlatforms: t = []
|
|
812
812
|
}) => {
|
|
813
|
-
const l =
|
|
813
|
+
const l = Yn(t, e), p = Xn(t, e), g = el(
|
|
814
814
|
n,
|
|
815
815
|
l,
|
|
816
816
|
p
|
|
817
817
|
);
|
|
818
|
-
return
|
|
818
|
+
return Xl(g);
|
|
819
819
|
};
|
|
820
|
-
var
|
|
821
|
-
function
|
|
822
|
-
return
|
|
820
|
+
var mt = { exports: {} }, tr = mt.exports, Pi;
|
|
821
|
+
function ir() {
|
|
822
|
+
return Pi || (Pi = 1, (function(e, n) {
|
|
823
823
|
(function(t, l) {
|
|
824
824
|
e.exports = l();
|
|
825
|
-
})(
|
|
825
|
+
})(tr, (function() {
|
|
826
826
|
var t = 1e3, l = 6e4, p = 36e5, g = "millisecond", U = "second", d = "minute", r = "hour", a = "day", i = "week", o = "month", m = "quarter", u = "year", s = "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) {
|
|
827
827
|
var R = ["th", "st", "nd", "rd"], P = w % 100;
|
|
828
828
|
return "[" + w + (R[(P - 20) % 10] || R[P] || R[0]) + "]";
|
|
@@ -908,11 +908,11 @@ function tr() {
|
|
|
908
908
|
}, R.valueOf = function() {
|
|
909
909
|
return this.$d.getTime();
|
|
910
910
|
}, R.startOf = function(P, H) {
|
|
911
|
-
var B = this, W = !!h.u(H) || H, M = h.p(P), S = function(
|
|
912
|
-
var ye = h.w(B.$u ? Date.UTC(B.$y,
|
|
911
|
+
var B = this, W = !!h.u(H) || H, M = h.p(P), S = function(ie, le) {
|
|
912
|
+
var ye = h.w(B.$u ? Date.UTC(B.$y, le, ie) : new Date(B.$y, le, ie), B);
|
|
913
913
|
return W ? ye : ye.endOf(a);
|
|
914
|
-
}, x = function(
|
|
915
|
-
return h.w(B.toDate()[
|
|
914
|
+
}, x = function(ie, le) {
|
|
915
|
+
return h.w(B.toDate()[ie].apply(B.toDate("s"), (W ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(le)), B);
|
|
916
916
|
}, L = this.$W, N = this.$M, Z = this.$D, q = "set" + (this.$u ? "UTC" : "");
|
|
917
917
|
switch (M) {
|
|
918
918
|
case u:
|
|
@@ -965,15 +965,15 @@ function tr() {
|
|
|
965
965
|
}, R.format = function(P) {
|
|
966
966
|
var H = this, B = this.$locale();
|
|
967
967
|
if (!this.isValid()) return B.invalidDate || c;
|
|
968
|
-
var W = P || "YYYY-MM-DDTHH:mm:ssZ", M = h.z(this), S = this.$H, x = this.$m, L = this.$M, N = B.weekdays, Z = B.months, q = B.meridiem, Q = function(
|
|
969
|
-
return
|
|
970
|
-
}, K = function(
|
|
971
|
-
return h.s(S % 12 || 12,
|
|
972
|
-
},
|
|
973
|
-
var me =
|
|
968
|
+
var W = P || "YYYY-MM-DDTHH:mm:ssZ", M = h.z(this), S = this.$H, x = this.$m, L = this.$M, N = B.weekdays, Z = B.months, q = B.meridiem, Q = function(le, ye, Ue, me) {
|
|
969
|
+
return le && (le[ye] || le(H, W)) || Ue[ye].slice(0, me);
|
|
970
|
+
}, K = function(le) {
|
|
971
|
+
return h.s(S % 12 || 12, le, "0");
|
|
972
|
+
}, ie = q || function(le, ye, Ue) {
|
|
973
|
+
var me = le < 12 ? "AM" : "PM";
|
|
974
974
|
return Ue ? me.toLowerCase() : me;
|
|
975
975
|
};
|
|
976
|
-
return W.replace(y, (function(
|
|
976
|
+
return W.replace(y, (function(le, ye) {
|
|
977
977
|
return ye || (function(Ue) {
|
|
978
978
|
switch (Ue) {
|
|
979
979
|
case "YY":
|
|
@@ -1009,9 +1009,9 @@ function tr() {
|
|
|
1009
1009
|
case "hh":
|
|
1010
1010
|
return K(2);
|
|
1011
1011
|
case "a":
|
|
1012
|
-
return
|
|
1012
|
+
return ie(S, x, !0);
|
|
1013
1013
|
case "A":
|
|
1014
|
-
return
|
|
1014
|
+
return ie(S, x, !1);
|
|
1015
1015
|
case "m":
|
|
1016
1016
|
return String(x);
|
|
1017
1017
|
case "mm":
|
|
@@ -1026,7 +1026,7 @@ function tr() {
|
|
|
1026
1026
|
return M;
|
|
1027
1027
|
}
|
|
1028
1028
|
return null;
|
|
1029
|
-
})(
|
|
1029
|
+
})(le) || M.replace(":", "");
|
|
1030
1030
|
}));
|
|
1031
1031
|
}, R.utcOffset = function() {
|
|
1032
1032
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
@@ -1093,30 +1093,30 @@ function tr() {
|
|
|
1093
1093
|
return k(1e3 * w);
|
|
1094
1094
|
}, k.en = D[v], k.Ls = D, k.p = {}, k;
|
|
1095
1095
|
}));
|
|
1096
|
-
})(
|
|
1096
|
+
})(mt)), mt.exports;
|
|
1097
1097
|
}
|
|
1098
|
-
var
|
|
1099
|
-
const we = /* @__PURE__ */
|
|
1100
|
-
var
|
|
1101
|
-
function
|
|
1098
|
+
var nr = ir();
|
|
1099
|
+
const we = /* @__PURE__ */ yi(nr);
|
|
1100
|
+
var ut = { exports: {} };
|
|
1101
|
+
function lr(e) {
|
|
1102
1102
|
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.');
|
|
1103
1103
|
}
|
|
1104
|
-
var
|
|
1105
|
-
const
|
|
1104
|
+
var pt = { exports: {} };
|
|
1105
|
+
const rr = {}, or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1106
1106
|
__proto__: null,
|
|
1107
|
-
default:
|
|
1108
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1109
|
-
var
|
|
1110
|
-
function
|
|
1111
|
-
return
|
|
1107
|
+
default: rr
|
|
1108
|
+
}, Symbol.toStringTag, { value: "Module" })), sr = /* @__PURE__ */ Kl(or);
|
|
1109
|
+
var mr = pt.exports, wi;
|
|
1110
|
+
function ne() {
|
|
1111
|
+
return wi || (wi = 1, (function(e, n) {
|
|
1112
1112
|
(function(t, l) {
|
|
1113
1113
|
e.exports = l();
|
|
1114
|
-
})(
|
|
1114
|
+
})(mr, function() {
|
|
1115
1115
|
var t = t || (function(l, p) {
|
|
1116
1116
|
var g;
|
|
1117
|
-
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
|
|
1117
|
+
if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof ai < "u" && ai.crypto && (g = ai.crypto), !g && typeof lr == "function")
|
|
1118
1118
|
try {
|
|
1119
|
-
g =
|
|
1119
|
+
g = sr;
|
|
1120
1120
|
} catch {
|
|
1121
1121
|
}
|
|
1122
1122
|
var U = function() {
|
|
@@ -1605,14 +1605,14 @@ function ie() {
|
|
|
1605
1605
|
})(Math);
|
|
1606
1606
|
return t;
|
|
1607
1607
|
});
|
|
1608
|
-
})(
|
|
1608
|
+
})(pt)), pt.exports;
|
|
1609
1609
|
}
|
|
1610
|
-
var
|
|
1611
|
-
function
|
|
1612
|
-
return
|
|
1610
|
+
var gt = { exports: {} }, ur = gt.exports, Fi;
|
|
1611
|
+
function Yt() {
|
|
1612
|
+
return Fi || (Fi = 1, (function(e, n) {
|
|
1613
1613
|
(function(t, l) {
|
|
1614
|
-
e.exports = l(
|
|
1615
|
-
})(
|
|
1614
|
+
e.exports = l(ne());
|
|
1615
|
+
})(ur, function(t) {
|
|
1616
1616
|
return (function(l) {
|
|
1617
1617
|
var p = t, g = p.lib, U = g.Base, d = g.WordArray, r = p.x64 = {};
|
|
1618
1618
|
r.Word = U.extend({
|
|
@@ -1835,14 +1835,14 @@ function jt() {
|
|
|
1835
1835
|
});
|
|
1836
1836
|
})(), t;
|
|
1837
1837
|
});
|
|
1838
|
-
})(
|
|
1838
|
+
})(gt)), gt.exports;
|
|
1839
1839
|
}
|
|
1840
|
-
var
|
|
1841
|
-
function
|
|
1842
|
-
return
|
|
1840
|
+
var dt = { exports: {} }, pr = dt.exports, Ai;
|
|
1841
|
+
function gr() {
|
|
1842
|
+
return Ai || (Ai = 1, (function(e, n) {
|
|
1843
1843
|
(function(t, l) {
|
|
1844
|
-
e.exports = l(
|
|
1845
|
-
})(
|
|
1844
|
+
e.exports = l(ne());
|
|
1845
|
+
})(pr, function(t) {
|
|
1846
1846
|
return (function() {
|
|
1847
1847
|
if (typeof ArrayBuffer == "function") {
|
|
1848
1848
|
var l = t, p = l.lib, g = p.WordArray, U = g.init, d = g.init = function(r) {
|
|
@@ -1857,14 +1857,14 @@ function pr() {
|
|
|
1857
1857
|
}
|
|
1858
1858
|
})(), t.lib.WordArray;
|
|
1859
1859
|
});
|
|
1860
|
-
})(
|
|
1860
|
+
})(dt)), dt.exports;
|
|
1861
1861
|
}
|
|
1862
|
-
var
|
|
1863
|
-
function
|
|
1864
|
-
return
|
|
1862
|
+
var ct = { exports: {} }, dr = ct.exports, Oi;
|
|
1863
|
+
function cr() {
|
|
1864
|
+
return Oi || (Oi = 1, (function(e, n) {
|
|
1865
1865
|
(function(t, l) {
|
|
1866
|
-
e.exports = l(
|
|
1867
|
-
})(
|
|
1866
|
+
e.exports = l(ne());
|
|
1867
|
+
})(dr, function(t) {
|
|
1868
1868
|
return (function() {
|
|
1869
1869
|
var l = t, p = l.lib, g = p.WordArray, U = l.enc;
|
|
1870
1870
|
U.Utf16 = U.Utf16BE = {
|
|
@@ -1951,14 +1951,14 @@ function dr() {
|
|
|
1951
1951
|
}
|
|
1952
1952
|
})(), t.enc.Utf16;
|
|
1953
1953
|
});
|
|
1954
|
-
})(
|
|
1954
|
+
})(ct)), ct.exports;
|
|
1955
1955
|
}
|
|
1956
|
-
var
|
|
1956
|
+
var ft = { exports: {} }, fr = ft.exports, Bi;
|
|
1957
1957
|
function xa() {
|
|
1958
|
-
return
|
|
1958
|
+
return Bi || (Bi = 1, (function(e, n) {
|
|
1959
1959
|
(function(t, l) {
|
|
1960
|
-
e.exports = l(
|
|
1961
|
-
})(
|
|
1960
|
+
e.exports = l(ne());
|
|
1961
|
+
})(fr, function(t) {
|
|
1962
1962
|
return (function() {
|
|
1963
1963
|
var l = t, p = l.lib, g = p.WordArray, U = l.enc;
|
|
1964
1964
|
U.Base64 = {
|
|
@@ -2026,14 +2026,14 @@ function xa() {
|
|
|
2026
2026
|
}
|
|
2027
2027
|
})(), t.enc.Base64;
|
|
2028
2028
|
});
|
|
2029
|
-
})(
|
|
2029
|
+
})(ft)), ft.exports;
|
|
2030
2030
|
}
|
|
2031
|
-
var
|
|
2032
|
-
function
|
|
2033
|
-
return
|
|
2031
|
+
var _t = { exports: {} }, _r = _t.exports, Hi;
|
|
2032
|
+
function yr() {
|
|
2033
|
+
return Hi || (Hi = 1, (function(e, n) {
|
|
2034
2034
|
(function(t, l) {
|
|
2035
|
-
e.exports = l(
|
|
2036
|
-
})(
|
|
2035
|
+
e.exports = l(ne());
|
|
2036
|
+
})(_r, function(t) {
|
|
2037
2037
|
return (function() {
|
|
2038
2038
|
var l = t, p = l.lib, g = p.WordArray, U = l.enc;
|
|
2039
2039
|
U.Base64url = {
|
|
@@ -2108,14 +2108,14 @@ function _r() {
|
|
|
2108
2108
|
}
|
|
2109
2109
|
})(), t.enc.Base64url;
|
|
2110
2110
|
});
|
|
2111
|
-
})(
|
|
2111
|
+
})(_t)), _t.exports;
|
|
2112
2112
|
}
|
|
2113
|
-
var
|
|
2113
|
+
var yt = { exports: {} }, Ur = yt.exports, Wi;
|
|
2114
2114
|
function Sa() {
|
|
2115
|
-
return
|
|
2115
|
+
return Wi || (Wi = 1, (function(e, n) {
|
|
2116
2116
|
(function(t, l) {
|
|
2117
|
-
e.exports = l(
|
|
2118
|
-
})(
|
|
2117
|
+
e.exports = l(ne());
|
|
2118
|
+
})(Ur, function(t) {
|
|
2119
2119
|
return (function(l) {
|
|
2120
2120
|
var p = t, g = p.lib, U = g.WordArray, d = g.Hasher, r = p.algo, a = [];
|
|
2121
2121
|
(function() {
|
|
@@ -2174,14 +2174,14 @@ function Sa() {
|
|
|
2174
2174
|
p.MD5 = d._createHelper(i), p.HmacMD5 = d._createHmacHelper(i);
|
|
2175
2175
|
})(Math), t.MD5;
|
|
2176
2176
|
});
|
|
2177
|
-
})(
|
|
2177
|
+
})(yt)), yt.exports;
|
|
2178
2178
|
}
|
|
2179
|
-
var
|
|
2180
|
-
function
|
|
2181
|
-
return
|
|
2179
|
+
var Ut = { exports: {} }, br = Ut.exports, zi;
|
|
2180
|
+
function al() {
|
|
2181
|
+
return zi || (zi = 1, (function(e, n) {
|
|
2182
2182
|
(function(t, l) {
|
|
2183
|
-
e.exports = l(
|
|
2184
|
-
})(
|
|
2183
|
+
e.exports = l(ne());
|
|
2184
|
+
})(br, function(t) {
|
|
2185
2185
|
return (function() {
|
|
2186
2186
|
var l = t, p = l.lib, g = p.WordArray, U = p.Hasher, d = l.algo, r = [], a = d.SHA1 = U.extend({
|
|
2187
2187
|
_doReset: function() {
|
|
@@ -2218,14 +2218,14 @@ function el() {
|
|
|
2218
2218
|
l.SHA1 = U._createHelper(a), l.HmacSHA1 = U._createHmacHelper(a);
|
|
2219
2219
|
})(), t.SHA1;
|
|
2220
2220
|
});
|
|
2221
|
-
})(
|
|
2221
|
+
})(Ut)), Ut.exports;
|
|
2222
2222
|
}
|
|
2223
|
-
var
|
|
2224
|
-
function
|
|
2225
|
-
return
|
|
2223
|
+
var bt = { exports: {} }, Cr = bt.exports, Ii;
|
|
2224
|
+
function Ui() {
|
|
2225
|
+
return Ii || (Ii = 1, (function(e, n) {
|
|
2226
2226
|
(function(t, l) {
|
|
2227
|
-
e.exports = l(
|
|
2228
|
-
})(
|
|
2227
|
+
e.exports = l(ne());
|
|
2228
|
+
})(Cr, function(t) {
|
|
2229
2229
|
return (function(l) {
|
|
2230
2230
|
var p = t, g = p.lib, U = g.WordArray, d = g.Hasher, r = p.algo, a = [], i = [];
|
|
2231
2231
|
(function() {
|
|
@@ -2270,14 +2270,14 @@ function yi() {
|
|
|
2270
2270
|
p.SHA256 = d._createHelper(m), p.HmacSHA256 = d._createHmacHelper(m);
|
|
2271
2271
|
})(Math), t.SHA256;
|
|
2272
2272
|
});
|
|
2273
|
-
})(
|
|
2273
|
+
})(bt)), bt.exports;
|
|
2274
2274
|
}
|
|
2275
|
-
var
|
|
2276
|
-
function
|
|
2277
|
-
return
|
|
2275
|
+
var Ct = { exports: {} }, vr = Ct.exports, Vi;
|
|
2276
|
+
function hr() {
|
|
2277
|
+
return Vi || (Vi = 1, (function(e, n) {
|
|
2278
2278
|
(function(t, l, p) {
|
|
2279
|
-
e.exports = l(
|
|
2280
|
-
})(
|
|
2279
|
+
e.exports = l(ne(), Ui());
|
|
2280
|
+
})(vr, function(t) {
|
|
2281
2281
|
return (function() {
|
|
2282
2282
|
var l = t, p = l.lib, g = p.WordArray, U = l.algo, d = U.SHA256, r = U.SHA224 = d.extend({
|
|
2283
2283
|
_doReset: function() {
|
|
@@ -2300,14 +2300,14 @@ function vr() {
|
|
|
2300
2300
|
l.SHA224 = d._createHelper(r), l.HmacSHA224 = d._createHmacHelper(r);
|
|
2301
2301
|
})(), t.SHA224;
|
|
2302
2302
|
});
|
|
2303
|
-
})(
|
|
2303
|
+
})(Ct)), Ct.exports;
|
|
2304
2304
|
}
|
|
2305
|
-
var
|
|
2306
|
-
function
|
|
2307
|
-
return
|
|
2305
|
+
var vt = { exports: {} }, Tr = vt.exports, Ji;
|
|
2306
|
+
function tl() {
|
|
2307
|
+
return Ji || (Ji = 1, (function(e, n) {
|
|
2308
2308
|
(function(t, l, p) {
|
|
2309
|
-
e.exports = l(
|
|
2310
|
-
})(
|
|
2309
|
+
e.exports = l(ne(), Yt());
|
|
2310
|
+
})(Tr, function(t) {
|
|
2311
2311
|
return (function() {
|
|
2312
2312
|
var l = t, p = l.lib, g = p.Hasher, U = l.x64, d = U.Word, r = U.WordArray, a = l.algo;
|
|
2313
2313
|
function i() {
|
|
@@ -2413,7 +2413,7 @@ function al() {
|
|
|
2413
2413
|
]);
|
|
2414
2414
|
},
|
|
2415
2415
|
_doProcessBlock: function(s, c) {
|
|
2416
|
-
for (var f = this._hash.words, y = f[0], _ = f[1], b = f[2], C = f[3], v = f[4], D = f[5], E = f[6], G = f[7], O = y.high, k = y.low, h = _.high, F = _.low, A = b.high, w = b.low, R = C.high, P = C.low, H = v.high, B = v.low, W = D.high, M = D.low, S = E.high, x = E.low, L = G.high, N = G.low, Z = O, q = k, Q = h, K = F,
|
|
2416
|
+
for (var f = this._hash.words, y = f[0], _ = f[1], b = f[2], C = f[3], v = f[4], D = f[5], E = f[6], G = f[7], O = y.high, k = y.low, h = _.high, F = _.low, A = b.high, w = b.low, R = C.high, P = C.low, H = v.high, B = v.low, W = D.high, M = D.low, S = E.high, x = E.low, L = G.high, N = G.low, Z = O, q = k, Q = h, K = F, ie = A, le = w, ye = R, Ue = P, me = H, ce = B, ke = W, fe = M, Ie = S, Ce = x, Ge = L, ea = N, Me = 0; Me < 80; Me++) {
|
|
2417
2417
|
var ve, He, aa = m[Me];
|
|
2418
2418
|
if (Me < 16)
|
|
2419
2419
|
He = aa.high = s[c + Me * 2] | 0, ve = aa.low = s[c + Me * 2 + 1] | 0;
|
|
@@ -2421,10 +2421,10 @@ function al() {
|
|
|
2421
2421
|
var ta = m[Me - 15], xe = ta.high, Re = ta.low, je = (xe >>> 1 | Re << 31) ^ (xe >>> 8 | Re << 24) ^ xe >>> 7, oa = (Re >>> 1 | xe << 31) ^ (Re >>> 8 | xe << 24) ^ (Re >>> 7 | xe << 25), ga = m[Me - 2], Ve = ga.high, Ye = ga.low, Ia = (Ve >>> 19 | Ye << 13) ^ (Ve << 3 | Ye >>> 29) ^ Ve >>> 6, Da = (Ye >>> 19 | Ve << 13) ^ (Ye << 3 | Ve >>> 29) ^ (Ye >>> 6 | Ve << 26), Ea = m[Me - 7], Va = Ea.high, Ja = Ea.low, da = m[Me - 16], ya = da.high, qe = da.low;
|
|
2422
2422
|
ve = oa + Ja, He = je + Va + (ve >>> 0 < oa >>> 0 ? 1 : 0), ve = ve + Da, He = He + Ia + (ve >>> 0 < Da >>> 0 ? 1 : 0), ve = ve + qe, He = He + ya + (ve >>> 0 < qe >>> 0 ? 1 : 0), aa.high = He, aa.low = ve;
|
|
2423
2423
|
}
|
|
2424
|
-
var ca = me & ke ^ ~me & Ie, fa = ce & fe ^ ~ce & Ce, Na = Z & Q ^ Z &
|
|
2425
|
-
Ge = Ie, ea = Ce, Ie = ke, Ce = fe, ke = me, fe = ce, ce = Ue + Pe | 0, me = ye + na + (ce >>> 0 < Ue >>> 0 ? 1 : 0) | 0, ye =
|
|
2424
|
+
var ca = me & ke ^ ~me & Ie, fa = ce & fe ^ ~ce & Ce, Na = Z & Q ^ Z & ie ^ Q & ie, La = q & K ^ q & le ^ K & le, Ua = (Z >>> 28 | q << 4) ^ (Z << 30 | q >>> 2) ^ (Z << 25 | q >>> 7), Ga = (q >>> 28 | Z << 4) ^ (q << 30 | Z >>> 2) ^ (q << 25 | Z >>> 7), Ma = (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, ia = V.low, Pe = ea + Se, na = Ge + Ma + (Pe >>> 0 < ea >>> 0 ? 1 : 0), Pe = Pe + fa, na = na + ca + (Pe >>> 0 < fa >>> 0 ? 1 : 0), Pe = Pe + ia, na = na + De + (Pe >>> 0 < ia >>> 0 ? 1 : 0), Pe = Pe + ve, na = na + He + (Pe >>> 0 < ve >>> 0 ? 1 : 0), at = Ga + La, Xt = Ua + Na + (at >>> 0 < Ga >>> 0 ? 1 : 0);
|
|
2425
|
+
Ge = Ie, ea = Ce, Ie = ke, Ce = fe, ke = me, fe = ce, ce = Ue + Pe | 0, me = ye + na + (ce >>> 0 < Ue >>> 0 ? 1 : 0) | 0, ye = ie, Ue = le, ie = Q, le = K, Q = Z, K = q, q = Pe + at | 0, Z = na + Xt + (q >>> 0 < Pe >>> 0 ? 1 : 0) | 0;
|
|
2426
2426
|
}
|
|
2427
|
-
k = y.low = k + q, y.high = O + Z + (k >>> 0 < q >>> 0 ? 1 : 0), F = _.low = F + K, _.high = h + Q + (F >>> 0 < K >>> 0 ? 1 : 0), w = b.low = w +
|
|
2427
|
+
k = y.low = k + q, y.high = O + Z + (k >>> 0 < q >>> 0 ? 1 : 0), F = _.low = F + K, _.high = h + Q + (F >>> 0 < K >>> 0 ? 1 : 0), w = b.low = w + le, b.high = A + ie + (w >>> 0 < le >>> 0 ? 1 : 0), P = C.low = P + Ue, C.high = R + ye + (P >>> 0 < Ue >>> 0 ? 1 : 0), B = v.low = B + ce, v.high = H + me + (B >>> 0 < ce >>> 0 ? 1 : 0), M = D.low = M + fe, D.high = W + ke + (M >>> 0 < fe >>> 0 ? 1 : 0), x = E.low = x + Ce, E.high = S + Ie + (x >>> 0 < Ce >>> 0 ? 1 : 0), N = G.low = N + ea, G.high = L + Ge + (N >>> 0 < ea >>> 0 ? 1 : 0);
|
|
2428
2428
|
},
|
|
2429
2429
|
_doFinalize: function() {
|
|
2430
2430
|
var s = this._data, c = s.words, f = this._nDataBytes * 8, y = s.sigBytes * 8;
|
|
@@ -2441,14 +2441,14 @@ function al() {
|
|
|
2441
2441
|
l.SHA512 = g._createHelper(u), l.HmacSHA512 = g._createHmacHelper(u);
|
|
2442
2442
|
})(), t.SHA512;
|
|
2443
2443
|
});
|
|
2444
|
-
})(
|
|
2444
|
+
})(vt)), vt.exports;
|
|
2445
2445
|
}
|
|
2446
|
-
var
|
|
2447
|
-
function
|
|
2448
|
-
return
|
|
2446
|
+
var ht = { exports: {} }, kr = ht.exports, Zi;
|
|
2447
|
+
function xr() {
|
|
2448
|
+
return Zi || (Zi = 1, (function(e, n) {
|
|
2449
2449
|
(function(t, l, p) {
|
|
2450
|
-
e.exports = l(
|
|
2451
|
-
})(
|
|
2450
|
+
e.exports = l(ne(), Yt(), tl());
|
|
2451
|
+
})(kr, function(t) {
|
|
2452
2452
|
return (function() {
|
|
2453
2453
|
var l = t, p = l.x64, g = p.Word, U = p.WordArray, d = l.algo, r = d.SHA512, a = d.SHA384 = r.extend({
|
|
2454
2454
|
_doReset: function() {
|
|
@@ -2471,14 +2471,14 @@ function kr() {
|
|
|
2471
2471
|
l.SHA384 = r._createHelper(a), l.HmacSHA384 = r._createHmacHelper(a);
|
|
2472
2472
|
})(), t.SHA384;
|
|
2473
2473
|
});
|
|
2474
|
-
})(
|
|
2474
|
+
})(ht)), ht.exports;
|
|
2475
2475
|
}
|
|
2476
|
-
var
|
|
2477
|
-
function
|
|
2478
|
-
return
|
|
2476
|
+
var Tt = { exports: {} }, Sr = Tt.exports, Ki;
|
|
2477
|
+
function Dr() {
|
|
2478
|
+
return Ki || (Ki = 1, (function(e, n) {
|
|
2479
2479
|
(function(t, l, p) {
|
|
2480
|
-
e.exports = l(
|
|
2481
|
-
})(
|
|
2480
|
+
e.exports = l(ne(), Yt());
|
|
2481
|
+
})(Sr, function(t) {
|
|
2482
2482
|
return (function(l) {
|
|
2483
2483
|
var p = t, g = p.lib, U = g.WordArray, d = g.Hasher, r = p.x64, a = r.Word, i = p.algo, o = [], m = [], u = [];
|
|
2484
2484
|
(function() {
|
|
@@ -2581,14 +2581,14 @@ function Sr() {
|
|
|
2581
2581
|
p.SHA3 = d._createHelper(c), p.HmacSHA3 = d._createHmacHelper(c);
|
|
2582
2582
|
})(Math), t.SHA3;
|
|
2583
2583
|
});
|
|
2584
|
-
})(
|
|
2584
|
+
})(Tt)), Tt.exports;
|
|
2585
2585
|
}
|
|
2586
|
-
var
|
|
2587
|
-
function
|
|
2588
|
-
return
|
|
2586
|
+
var kt = { exports: {} }, Er = kt.exports, qi;
|
|
2587
|
+
function Nr() {
|
|
2588
|
+
return qi || (qi = 1, (function(e, n) {
|
|
2589
2589
|
(function(t, l) {
|
|
2590
|
-
e.exports = l(
|
|
2591
|
-
})(
|
|
2590
|
+
e.exports = l(ne());
|
|
2591
|
+
})(Er, function(t) {
|
|
2592
2592
|
return (function(l) {
|
|
2593
2593
|
var p = t, g = p.lib, U = g.WordArray, d = g.Hasher, r = p.algo, a = U.create([
|
|
2594
2594
|
0,
|
|
@@ -2964,14 +2964,14 @@ function Er() {
|
|
|
2964
2964
|
p.RIPEMD160 = d._createHelper(c), p.HmacRIPEMD160 = d._createHmacHelper(c);
|
|
2965
2965
|
})(), t.RIPEMD160;
|
|
2966
2966
|
});
|
|
2967
|
-
})(
|
|
2967
|
+
})(kt)), kt.exports;
|
|
2968
2968
|
}
|
|
2969
|
-
var
|
|
2970
|
-
function
|
|
2971
|
-
return
|
|
2969
|
+
var xt = { exports: {} }, Lr = xt.exports, $i;
|
|
2970
|
+
function bi() {
|
|
2971
|
+
return $i || ($i = 1, (function(e, n) {
|
|
2972
2972
|
(function(t, l) {
|
|
2973
|
-
e.exports = l(
|
|
2974
|
-
})(
|
|
2973
|
+
e.exports = l(ne());
|
|
2974
|
+
})(Lr, function(t) {
|
|
2975
2975
|
(function() {
|
|
2976
2976
|
var l = t, p = l.lib, g = p.Base, U = l.enc, d = U.Utf8, r = l.algo;
|
|
2977
2977
|
r.HMAC = g.extend({
|
|
@@ -3042,14 +3042,14 @@ function Ui() {
|
|
|
3042
3042
|
});
|
|
3043
3043
|
})();
|
|
3044
3044
|
});
|
|
3045
|
-
})(
|
|
3045
|
+
})(xt)), xt.exports;
|
|
3046
3046
|
}
|
|
3047
|
-
var
|
|
3048
|
-
function
|
|
3049
|
-
return
|
|
3047
|
+
var St = { exports: {} }, Gr = St.exports, Qi;
|
|
3048
|
+
function Mr() {
|
|
3049
|
+
return Qi || (Qi = 1, (function(e, n) {
|
|
3050
3050
|
(function(t, l, p) {
|
|
3051
|
-
e.exports = l(
|
|
3052
|
-
})(
|
|
3051
|
+
e.exports = l(ne(), Ui(), bi());
|
|
3052
|
+
})(Gr, function(t) {
|
|
3053
3053
|
return (function() {
|
|
3054
3054
|
var l = t, p = l.lib, g = p.Base, U = p.WordArray, d = l.algo, r = d.SHA256, a = d.HMAC, i = d.PBKDF2 = g.extend({
|
|
3055
3055
|
/**
|
|
@@ -3109,14 +3109,14 @@ function Gr() {
|
|
|
3109
3109
|
};
|
|
3110
3110
|
})(), t.PBKDF2;
|
|
3111
3111
|
});
|
|
3112
|
-
})(
|
|
3112
|
+
})(St)), St.exports;
|
|
3113
3113
|
}
|
|
3114
|
-
var
|
|
3114
|
+
var Dt = { exports: {} }, Rr = Dt.exports, ji;
|
|
3115
3115
|
function _a() {
|
|
3116
|
-
return
|
|
3116
|
+
return ji || (ji = 1, (function(e, n) {
|
|
3117
3117
|
(function(t, l, p) {
|
|
3118
|
-
e.exports = l(
|
|
3119
|
-
})(
|
|
3118
|
+
e.exports = l(ne(), al(), bi());
|
|
3119
|
+
})(Rr, function(t) {
|
|
3120
3120
|
return (function() {
|
|
3121
3121
|
var l = t, p = l.lib, g = p.Base, U = p.WordArray, d = l.algo, r = d.MD5, a = d.EvpKDF = g.extend({
|
|
3122
3122
|
/**
|
|
@@ -3172,14 +3172,14 @@ function _a() {
|
|
|
3172
3172
|
};
|
|
3173
3173
|
})(), t.EvpKDF;
|
|
3174
3174
|
});
|
|
3175
|
-
})(
|
|
3175
|
+
})(Dt)), Dt.exports;
|
|
3176
3176
|
}
|
|
3177
|
-
var
|
|
3177
|
+
var Et = { exports: {} }, Pr = Et.exports, Yi;
|
|
3178
3178
|
function Ne() {
|
|
3179
|
-
return
|
|
3179
|
+
return Yi || (Yi = 1, (function(e, n) {
|
|
3180
3180
|
(function(t, l, p) {
|
|
3181
|
-
e.exports = l(
|
|
3182
|
-
})(
|
|
3181
|
+
e.exports = l(ne(), _a());
|
|
3182
|
+
})(Pr, function(t) {
|
|
3183
3183
|
t.lib.Cipher || (function(l) {
|
|
3184
3184
|
var p = t, g = p.lib, U = g.Base, d = g.WordArray, r = g.BufferedBlockAlgorithm, a = p.enc;
|
|
3185
3185
|
a.Utf8;
|
|
@@ -3710,14 +3710,14 @@ function Ne() {
|
|
|
3710
3710
|
});
|
|
3711
3711
|
})();
|
|
3712
3712
|
});
|
|
3713
|
-
})(
|
|
3713
|
+
})(Et)), Et.exports;
|
|
3714
3714
|
}
|
|
3715
|
-
var
|
|
3716
|
-
function
|
|
3717
|
-
return
|
|
3715
|
+
var Nt = { exports: {} }, wr = Nt.exports, Xi;
|
|
3716
|
+
function Fr() {
|
|
3717
|
+
return Xi || (Xi = 1, (function(e, n) {
|
|
3718
3718
|
(function(t, l, p) {
|
|
3719
|
-
e.exports = l(
|
|
3720
|
-
})(
|
|
3719
|
+
e.exports = l(ne(), Ne());
|
|
3720
|
+
})(wr, function(t) {
|
|
3721
3721
|
return t.mode.CFB = (function() {
|
|
3722
3722
|
var l = t.lib.BlockCipherMode.extend();
|
|
3723
3723
|
l.Encryptor = l.extend({
|
|
@@ -3740,14 +3740,14 @@ function wr() {
|
|
|
3740
3740
|
return l;
|
|
3741
3741
|
})(), t.mode.CFB;
|
|
3742
3742
|
});
|
|
3743
|
-
})(
|
|
3743
|
+
})(Nt)), Nt.exports;
|
|
3744
3744
|
}
|
|
3745
|
-
var
|
|
3746
|
-
function
|
|
3747
|
-
return
|
|
3745
|
+
var Lt = { exports: {} }, Ar = Lt.exports, en;
|
|
3746
|
+
function Or() {
|
|
3747
|
+
return en || (en = 1, (function(e, n) {
|
|
3748
3748
|
(function(t, l, p) {
|
|
3749
|
-
e.exports = l(
|
|
3750
|
-
})(
|
|
3749
|
+
e.exports = l(ne(), Ne());
|
|
3750
|
+
})(Ar, function(t) {
|
|
3751
3751
|
return t.mode.CTR = (function() {
|
|
3752
3752
|
var l = t.lib.BlockCipherMode.extend(), p = l.Encryptor = l.extend({
|
|
3753
3753
|
processBlock: function(g, U) {
|
|
@@ -3762,14 +3762,14 @@ function Ar() {
|
|
|
3762
3762
|
return l.Decryptor = p, l;
|
|
3763
3763
|
})(), t.mode.CTR;
|
|
3764
3764
|
});
|
|
3765
|
-
})(
|
|
3765
|
+
})(Lt)), Lt.exports;
|
|
3766
3766
|
}
|
|
3767
|
-
var
|
|
3768
|
-
function
|
|
3769
|
-
return
|
|
3767
|
+
var Gt = { exports: {} }, Br = Gt.exports, an;
|
|
3768
|
+
function Hr() {
|
|
3769
|
+
return an || (an = 1, (function(e, n) {
|
|
3770
3770
|
(function(t, l, p) {
|
|
3771
|
-
e.exports = l(
|
|
3772
|
-
})(
|
|
3771
|
+
e.exports = l(ne(), Ne());
|
|
3772
|
+
})(Br, function(t) {
|
|
3773
3773
|
return t.mode.CTRGladman = (function() {
|
|
3774
3774
|
var l = t.lib.BlockCipherMode.extend();
|
|
3775
3775
|
function p(d) {
|
|
@@ -3796,14 +3796,14 @@ function Br() {
|
|
|
3796
3796
|
return l.Decryptor = U, l;
|
|
3797
3797
|
})(), t.mode.CTRGladman;
|
|
3798
3798
|
});
|
|
3799
|
-
})(
|
|
3799
|
+
})(Gt)), Gt.exports;
|
|
3800
3800
|
}
|
|
3801
|
-
var
|
|
3802
|
-
function
|
|
3803
|
-
return
|
|
3801
|
+
var Mt = { exports: {} }, Wr = Mt.exports, tn;
|
|
3802
|
+
function zr() {
|
|
3803
|
+
return tn || (tn = 1, (function(e, n) {
|
|
3804
3804
|
(function(t, l, p) {
|
|
3805
|
-
e.exports = l(
|
|
3806
|
-
})(
|
|
3805
|
+
e.exports = l(ne(), Ne());
|
|
3806
|
+
})(Wr, function(t) {
|
|
3807
3807
|
return t.mode.OFB = (function() {
|
|
3808
3808
|
var l = t.lib.BlockCipherMode.extend(), p = l.Encryptor = l.extend({
|
|
3809
3809
|
processBlock: function(g, U) {
|
|
@@ -3816,14 +3816,14 @@ function Wr() {
|
|
|
3816
3816
|
return l.Decryptor = p, l;
|
|
3817
3817
|
})(), t.mode.OFB;
|
|
3818
3818
|
});
|
|
3819
|
-
})(
|
|
3819
|
+
})(Mt)), Mt.exports;
|
|
3820
3820
|
}
|
|
3821
|
-
var
|
|
3822
|
-
function
|
|
3823
|
-
return
|
|
3821
|
+
var Rt = { exports: {} }, Ir = Rt.exports, nn;
|
|
3822
|
+
function Vr() {
|
|
3823
|
+
return nn || (nn = 1, (function(e, n) {
|
|
3824
3824
|
(function(t, l, p) {
|
|
3825
|
-
e.exports = l(
|
|
3826
|
-
})(
|
|
3825
|
+
e.exports = l(ne(), Ne());
|
|
3826
|
+
})(Ir, function(t) {
|
|
3827
3827
|
return t.mode.ECB = (function() {
|
|
3828
3828
|
var l = t.lib.BlockCipherMode.extend();
|
|
3829
3829
|
return l.Encryptor = l.extend({
|
|
@@ -3837,14 +3837,14 @@ function Ir() {
|
|
|
3837
3837
|
}), l;
|
|
3838
3838
|
})(), t.mode.ECB;
|
|
3839
3839
|
});
|
|
3840
|
-
})(
|
|
3840
|
+
})(Rt)), Rt.exports;
|
|
3841
3841
|
}
|
|
3842
|
-
var
|
|
3843
|
-
function
|
|
3844
|
-
return
|
|
3842
|
+
var Pt = { exports: {} }, Jr = Pt.exports, ln;
|
|
3843
|
+
function Zr() {
|
|
3844
|
+
return ln || (ln = 1, (function(e, n) {
|
|
3845
3845
|
(function(t, l, p) {
|
|
3846
|
-
e.exports = l(
|
|
3847
|
-
})(
|
|
3846
|
+
e.exports = l(ne(), Ne());
|
|
3847
|
+
})(Jr, function(t) {
|
|
3848
3848
|
return t.pad.AnsiX923 = {
|
|
3849
3849
|
pad: function(l, p) {
|
|
3850
3850
|
var g = l.sigBytes, U = p * 4, d = U - g % U, r = g + d - 1;
|
|
@@ -3856,14 +3856,14 @@ function Jr() {
|
|
|
3856
3856
|
}
|
|
3857
3857
|
}, t.pad.Ansix923;
|
|
3858
3858
|
});
|
|
3859
|
-
})(
|
|
3859
|
+
})(Pt)), Pt.exports;
|
|
3860
3860
|
}
|
|
3861
|
-
var
|
|
3862
|
-
function
|
|
3863
|
-
return
|
|
3861
|
+
var wt = { exports: {} }, Kr = wt.exports, rn;
|
|
3862
|
+
function qr() {
|
|
3863
|
+
return rn || (rn = 1, (function(e, n) {
|
|
3864
3864
|
(function(t, l, p) {
|
|
3865
|
-
e.exports = l(
|
|
3866
|
-
})(
|
|
3865
|
+
e.exports = l(ne(), Ne());
|
|
3866
|
+
})(Kr, function(t) {
|
|
3867
3867
|
return t.pad.Iso10126 = {
|
|
3868
3868
|
pad: function(l, p) {
|
|
3869
3869
|
var g = p * 4, U = g - l.sigBytes % g;
|
|
@@ -3875,14 +3875,14 @@ function Kr() {
|
|
|
3875
3875
|
}
|
|
3876
3876
|
}, t.pad.Iso10126;
|
|
3877
3877
|
});
|
|
3878
|
-
})(
|
|
3878
|
+
})(wt)), wt.exports;
|
|
3879
3879
|
}
|
|
3880
|
-
var
|
|
3881
|
-
function
|
|
3882
|
-
return
|
|
3880
|
+
var Ft = { exports: {} }, $r = Ft.exports, on;
|
|
3881
|
+
function Qr() {
|
|
3882
|
+
return on || (on = 1, (function(e, n) {
|
|
3883
3883
|
(function(t, l, p) {
|
|
3884
|
-
e.exports = l(
|
|
3885
|
-
})(
|
|
3884
|
+
e.exports = l(ne(), Ne());
|
|
3885
|
+
})($r, function(t) {
|
|
3886
3886
|
return t.pad.Iso97971 = {
|
|
3887
3887
|
pad: function(l, p) {
|
|
3888
3888
|
l.concat(t.lib.WordArray.create([2147483648], 1)), t.pad.ZeroPadding.pad(l, p);
|
|
@@ -3892,14 +3892,14 @@ function $r() {
|
|
|
3892
3892
|
}
|
|
3893
3893
|
}, t.pad.Iso97971;
|
|
3894
3894
|
});
|
|
3895
|
-
})(
|
|
3895
|
+
})(Ft)), Ft.exports;
|
|
3896
3896
|
}
|
|
3897
|
-
var
|
|
3898
|
-
function
|
|
3899
|
-
return
|
|
3897
|
+
var At = { exports: {} }, jr = At.exports, sn;
|
|
3898
|
+
function Yr() {
|
|
3899
|
+
return sn || (sn = 1, (function(e, n) {
|
|
3900
3900
|
(function(t, l, p) {
|
|
3901
|
-
e.exports = l(
|
|
3902
|
-
})(
|
|
3901
|
+
e.exports = l(ne(), Ne());
|
|
3902
|
+
})(jr, function(t) {
|
|
3903
3903
|
return t.pad.ZeroPadding = {
|
|
3904
3904
|
pad: function(l, p) {
|
|
3905
3905
|
var g = p * 4;
|
|
@@ -3914,14 +3914,14 @@ function jr() {
|
|
|
3914
3914
|
}
|
|
3915
3915
|
}, t.pad.ZeroPadding;
|
|
3916
3916
|
});
|
|
3917
|
-
})(
|
|
3917
|
+
})(At)), At.exports;
|
|
3918
3918
|
}
|
|
3919
|
-
var
|
|
3920
|
-
function
|
|
3921
|
-
return
|
|
3919
|
+
var Ot = { exports: {} }, Xr = Ot.exports, mn;
|
|
3920
|
+
function eo() {
|
|
3921
|
+
return mn || (mn = 1, (function(e, n) {
|
|
3922
3922
|
(function(t, l, p) {
|
|
3923
|
-
e.exports = l(
|
|
3924
|
-
})(
|
|
3923
|
+
e.exports = l(ne(), Ne());
|
|
3924
|
+
})(Xr, function(t) {
|
|
3925
3925
|
return t.pad.NoPadding = {
|
|
3926
3926
|
pad: function() {
|
|
3927
3927
|
},
|
|
@@ -3929,14 +3929,14 @@ function Xr() {
|
|
|
3929
3929
|
}
|
|
3930
3930
|
}, t.pad.NoPadding;
|
|
3931
3931
|
});
|
|
3932
|
-
})(
|
|
3932
|
+
})(Ot)), Ot.exports;
|
|
3933
3933
|
}
|
|
3934
|
-
var
|
|
3935
|
-
function
|
|
3936
|
-
return
|
|
3934
|
+
var Bt = { exports: {} }, ao = Bt.exports, un;
|
|
3935
|
+
function to() {
|
|
3936
|
+
return un || (un = 1, (function(e, n) {
|
|
3937
3937
|
(function(t, l, p) {
|
|
3938
|
-
e.exports = l(
|
|
3939
|
-
})(
|
|
3938
|
+
e.exports = l(ne(), Ne());
|
|
3939
|
+
})(ao, function(t) {
|
|
3940
3940
|
return (function(l) {
|
|
3941
3941
|
var p = t, g = p.lib, U = g.CipherParams, d = p.enc, r = d.Hex, a = p.format;
|
|
3942
3942
|
a.Hex = {
|
|
@@ -3976,14 +3976,14 @@ function ao() {
|
|
|
3976
3976
|
};
|
|
3977
3977
|
})(), t.format.Hex;
|
|
3978
3978
|
});
|
|
3979
|
-
})(
|
|
3979
|
+
})(Bt)), Bt.exports;
|
|
3980
3980
|
}
|
|
3981
|
-
var
|
|
3982
|
-
function
|
|
3983
|
-
return
|
|
3981
|
+
var Ht = { exports: {} }, io = Ht.exports, pn;
|
|
3982
|
+
function no() {
|
|
3983
|
+
return pn || (pn = 1, (function(e, n) {
|
|
3984
3984
|
(function(t, l, p) {
|
|
3985
|
-
e.exports = l(
|
|
3986
|
-
})(
|
|
3985
|
+
e.exports = l(ne(), xa(), Sa(), _a(), Ne());
|
|
3986
|
+
})(io, function(t) {
|
|
3987
3987
|
return (function() {
|
|
3988
3988
|
var l = t, p = l.lib, g = p.BlockCipher, U = l.algo, d = [], r = [], a = [], i = [], o = [], m = [], u = [], s = [], c = [], f = [];
|
|
3989
3989
|
(function() {
|
|
@@ -4036,14 +4036,14 @@ function io() {
|
|
|
4036
4036
|
l.AES = g._createHelper(_);
|
|
4037
4037
|
})(), t.AES;
|
|
4038
4038
|
});
|
|
4039
|
-
})(
|
|
4039
|
+
})(Ht)), Ht.exports;
|
|
4040
4040
|
}
|
|
4041
|
-
var
|
|
4042
|
-
function
|
|
4043
|
-
return
|
|
4041
|
+
var Wt = { exports: {} }, lo = Wt.exports, gn;
|
|
4042
|
+
function ro() {
|
|
4043
|
+
return gn || (gn = 1, (function(e, n) {
|
|
4044
4044
|
(function(t, l, p) {
|
|
4045
|
-
e.exports = l(
|
|
4046
|
-
})(
|
|
4045
|
+
e.exports = l(ne(), xa(), Sa(), _a(), Ne());
|
|
4046
|
+
})(lo, function(t) {
|
|
4047
4047
|
return (function() {
|
|
4048
4048
|
var l = t, p = l.lib, g = p.WordArray, U = p.BlockCipher, d = l.algo, r = [
|
|
4049
4049
|
57,
|
|
@@ -4756,14 +4756,14 @@ function lo() {
|
|
|
4756
4756
|
l.TripleDES = U._createHelper(f);
|
|
4757
4757
|
})(), t.TripleDES;
|
|
4758
4758
|
});
|
|
4759
|
-
})(
|
|
4759
|
+
})(Wt)), Wt.exports;
|
|
4760
4760
|
}
|
|
4761
|
-
var
|
|
4762
|
-
function
|
|
4763
|
-
return
|
|
4761
|
+
var zt = { exports: {} }, oo = zt.exports, dn;
|
|
4762
|
+
function so() {
|
|
4763
|
+
return dn || (dn = 1, (function(e, n) {
|
|
4764
4764
|
(function(t, l, p) {
|
|
4765
|
-
e.exports = l(
|
|
4766
|
-
})(
|
|
4765
|
+
e.exports = l(ne(), xa(), Sa(), _a(), Ne());
|
|
4766
|
+
})(oo, function(t) {
|
|
4767
4767
|
return (function() {
|
|
4768
4768
|
var l = t, p = l.lib, g = p.StreamCipher, U = l.algo, d = U.RC4 = g.extend({
|
|
4769
4769
|
_doReset: function() {
|
|
@@ -4810,14 +4810,14 @@ function oo() {
|
|
|
4810
4810
|
l.RC4Drop = g._createHelper(a);
|
|
4811
4811
|
})(), t.RC4;
|
|
4812
4812
|
});
|
|
4813
|
-
})(
|
|
4813
|
+
})(zt)), zt.exports;
|
|
4814
4814
|
}
|
|
4815
|
-
var
|
|
4816
|
-
function
|
|
4817
|
-
return
|
|
4815
|
+
var It = { exports: {} }, mo = It.exports, cn;
|
|
4816
|
+
function uo() {
|
|
4817
|
+
return cn || (cn = 1, (function(e, n) {
|
|
4818
4818
|
(function(t, l, p) {
|
|
4819
|
-
e.exports = l(
|
|
4820
|
-
})(
|
|
4819
|
+
e.exports = l(ne(), xa(), Sa(), _a(), Ne());
|
|
4820
|
+
})(mo, function(t) {
|
|
4821
4821
|
return (function() {
|
|
4822
4822
|
var l = t, p = l.lib, g = p.StreamCipher, U = l.algo, d = [], r = [], a = [], i = U.Rabbit = g.extend({
|
|
4823
4823
|
_doReset: function() {
|
|
@@ -4876,14 +4876,14 @@ function mo() {
|
|
|
4876
4876
|
l.Rabbit = g._createHelper(i);
|
|
4877
4877
|
})(), t.Rabbit;
|
|
4878
4878
|
});
|
|
4879
|
-
})(
|
|
4879
|
+
})(It)), It.exports;
|
|
4880
4880
|
}
|
|
4881
|
-
var
|
|
4882
|
-
function
|
|
4883
|
-
return
|
|
4881
|
+
var Vt = { exports: {} }, po = Vt.exports, fn;
|
|
4882
|
+
function go() {
|
|
4883
|
+
return fn || (fn = 1, (function(e, n) {
|
|
4884
4884
|
(function(t, l, p) {
|
|
4885
|
-
e.exports = l(
|
|
4886
|
-
})(
|
|
4885
|
+
e.exports = l(ne(), xa(), Sa(), _a(), Ne());
|
|
4886
|
+
})(po, function(t) {
|
|
4887
4887
|
return (function() {
|
|
4888
4888
|
var l = t, p = l.lib, g = p.StreamCipher, U = l.algo, d = [], r = [], a = [], i = U.RabbitLegacy = g.extend({
|
|
4889
4889
|
_doReset: function() {
|
|
@@ -4940,14 +4940,14 @@ function po() {
|
|
|
4940
4940
|
l.RabbitLegacy = g._createHelper(i);
|
|
4941
4941
|
})(), t.RabbitLegacy;
|
|
4942
4942
|
});
|
|
4943
|
-
})(
|
|
4943
|
+
})(Vt)), Vt.exports;
|
|
4944
4944
|
}
|
|
4945
|
-
var
|
|
4946
|
-
function
|
|
4947
|
-
return
|
|
4945
|
+
var Jt = { exports: {} }, co = Jt.exports, _n;
|
|
4946
|
+
function fo() {
|
|
4947
|
+
return _n || (_n = 1, (function(e, n) {
|
|
4948
4948
|
(function(t, l, p) {
|
|
4949
|
-
e.exports = l(
|
|
4950
|
-
})(
|
|
4949
|
+
e.exports = l(ne(), xa(), Sa(), _a(), Ne());
|
|
4950
|
+
})(co, function(t) {
|
|
4951
4951
|
return (function() {
|
|
4952
4952
|
var l = t, p = l.lib, g = p.BlockCipher, U = l.algo;
|
|
4953
4953
|
const d = 16, r = [
|
|
@@ -6062,20 +6062,20 @@ function co() {
|
|
|
6062
6062
|
l.Blowfish = g._createHelper(c);
|
|
6063
6063
|
})(), t.Blowfish;
|
|
6064
6064
|
});
|
|
6065
|
-
})(
|
|
6065
|
+
})(Jt)), Jt.exports;
|
|
6066
6066
|
}
|
|
6067
|
-
var
|
|
6068
|
-
function
|
|
6069
|
-
return
|
|
6067
|
+
var _o = ut.exports, yn;
|
|
6068
|
+
function yo() {
|
|
6069
|
+
return yn || (yn = 1, (function(e, n) {
|
|
6070
6070
|
(function(t, l, p) {
|
|
6071
|
-
e.exports = l(
|
|
6072
|
-
})(
|
|
6071
|
+
e.exports = l(ne(), Yt(), gr(), cr(), xa(), yr(), Sa(), al(), Ui(), hr(), tl(), xr(), Dr(), Nr(), bi(), Mr(), _a(), Ne(), Fr(), Or(), Hr(), zr(), Vr(), Zr(), qr(), Qr(), Yr(), eo(), to(), no(), ro(), so(), uo(), go(), fo());
|
|
6072
|
+
})(_o, function(t) {
|
|
6073
6073
|
return t;
|
|
6074
6074
|
});
|
|
6075
|
-
})(
|
|
6075
|
+
})(ut)), ut.exports;
|
|
6076
6076
|
}
|
|
6077
|
-
var
|
|
6078
|
-
const Ca = /* @__PURE__ */
|
|
6077
|
+
var Kt = yo();
|
|
6078
|
+
const Ca = /* @__PURE__ */ yi(Kt), Pa = (e) => {
|
|
6079
6079
|
const n = "mySecretPassphrase", t = Ca.lib.WordArray.random(16), l = Ca.PBKDF2(n, t, {
|
|
6080
6080
|
keySize: 128 / 32,
|
|
6081
6081
|
iterations: 1e3
|
|
@@ -6153,8 +6153,8 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
|
|
|
6153
6153
|
async (M) => {
|
|
6154
6154
|
const { oldPwd: S, newPwd: x } = M;
|
|
6155
6155
|
return await e.post("/passwordReset", {
|
|
6156
|
-
old_pwd:
|
|
6157
|
-
new_pwd:
|
|
6156
|
+
old_pwd: Kt.MD5(S).toString(),
|
|
6157
|
+
new_pwd: Kt.MD5(x).toString()
|
|
6158
6158
|
});
|
|
6159
6159
|
},
|
|
6160
6160
|
[e]
|
|
@@ -6373,7 +6373,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
|
|
|
6373
6373
|
};
|
|
6374
6374
|
}, xm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
|
|
6375
6375
|
const { userCurrencyExchangeApi: t } = oe(), { getToken: l } = se(), { enabled: p, ...g } = n, d = !!l?.() && (p ? p.every((r) => r) : !0);
|
|
6376
|
-
return
|
|
6376
|
+
return zn({
|
|
6377
6377
|
queries: [
|
|
6378
6378
|
{
|
|
6379
6379
|
queryKey: ["userCurrencyExchange", ...e],
|
|
@@ -6391,7 +6391,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
|
|
|
6391
6391
|
enabled: t = !0
|
|
6392
6392
|
} = {}) => {
|
|
6393
6393
|
const { getToken: l } = se(), p = l?.(), { userInfoApi: g } = oe();
|
|
6394
|
-
return
|
|
6394
|
+
return zn({
|
|
6395
6395
|
queries: [
|
|
6396
6396
|
{
|
|
6397
6397
|
queryKey: ["getMemberInfo", ...n],
|
|
@@ -6430,7 +6430,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
|
|
|
6430
6430
|
d,
|
|
6431
6431
|
r
|
|
6432
6432
|
];
|
|
6433
|
-
},
|
|
6433
|
+
}, Ci = () => {
|
|
6434
6434
|
const { client: e, lng: n } = se(), t = Qe(n || "tw"), l = z(
|
|
6435
6435
|
async (U) => {
|
|
6436
6436
|
const {
|
|
@@ -6496,19 +6496,19 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
|
|
|
6496
6496
|
[e]
|
|
6497
6497
|
);
|
|
6498
6498
|
return { playGameApi: l, betRecordApi: p, betRecordDetailApi: g };
|
|
6499
|
-
},
|
|
6500
|
-
const { betRecordApi: t } =
|
|
6499
|
+
}, Uo = ({ options: e, formData: n } = {}) => {
|
|
6500
|
+
const { betRecordApi: t } = Ci();
|
|
6501
6501
|
return j({
|
|
6502
6502
|
queryKey: ["getBetRecord"],
|
|
6503
6503
|
queryFn: async () => await t(n),
|
|
6504
|
-
select: (l) =>
|
|
6504
|
+
select: (l) => In(l).map(([g, U]) => ({
|
|
6505
6505
|
...U,
|
|
6506
6506
|
platform: g
|
|
6507
6507
|
})),
|
|
6508
6508
|
...e
|
|
6509
6509
|
});
|
|
6510
|
-
},
|
|
6511
|
-
const { betRecordDetailApi: t } =
|
|
6510
|
+
}, bo = ({ options: e, formData: n } = {}) => {
|
|
6511
|
+
const { betRecordDetailApi: t } = Ci();
|
|
6512
6512
|
return j({
|
|
6513
6513
|
queryKey: ["getBetRecordDetail"],
|
|
6514
6514
|
queryFn: async () => await t(n),
|
|
@@ -6520,7 +6520,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
|
|
|
6520
6520
|
betRecordDetail: {}
|
|
6521
6521
|
}
|
|
6522
6522
|
}) => {
|
|
6523
|
-
const n =
|
|
6523
|
+
const n = Uo({ options: e.betRecord }), t = bo({
|
|
6524
6524
|
options: e.betRecordDetail
|
|
6525
6525
|
});
|
|
6526
6526
|
return {
|
|
@@ -6528,7 +6528,7 @@ const Ca = /* @__PURE__ */ _i(Zt), Pa = (e) => {
|
|
|
6528
6528
|
betRecordDetail: t
|
|
6529
6529
|
};
|
|
6530
6530
|
};
|
|
6531
|
-
function
|
|
6531
|
+
function lt(e) {
|
|
6532
6532
|
for (var n = 1; n < arguments.length; n++) {
|
|
6533
6533
|
var t = arguments[n];
|
|
6534
6534
|
for (var l in t)
|
|
@@ -6536,7 +6536,7 @@ function nt(e) {
|
|
|
6536
6536
|
}
|
|
6537
6537
|
return e;
|
|
6538
6538
|
}
|
|
6539
|
-
var
|
|
6539
|
+
var Co = {
|
|
6540
6540
|
read: function(e) {
|
|
6541
6541
|
return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
6542
6542
|
},
|
|
@@ -6547,10 +6547,10 @@ var bo = {
|
|
|
6547
6547
|
);
|
|
6548
6548
|
}
|
|
6549
6549
|
};
|
|
6550
|
-
function
|
|
6550
|
+
function mi(e, n) {
|
|
6551
6551
|
function t(p, g, U) {
|
|
6552
6552
|
if (!(typeof document > "u")) {
|
|
6553
|
-
U =
|
|
6553
|
+
U = lt({}, n, U), typeof U.expires == "number" && (U.expires = new Date(Date.now() + U.expires * 864e5)), U.expires && (U.expires = U.expires.toUTCString()), p = encodeURIComponent(p).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
6554
6554
|
var d = "";
|
|
6555
6555
|
for (var r in U)
|
|
6556
6556
|
U[r] && (d += "; " + r, U[r] !== !0 && (d += "=" + U[r].split(";")[0]));
|
|
@@ -6579,16 +6579,16 @@ function si(e, n) {
|
|
|
6579
6579
|
t(
|
|
6580
6580
|
p,
|
|
6581
6581
|
"",
|
|
6582
|
-
|
|
6582
|
+
lt({}, g, {
|
|
6583
6583
|
expires: -1
|
|
6584
6584
|
})
|
|
6585
6585
|
);
|
|
6586
6586
|
},
|
|
6587
6587
|
withAttributes: function(p) {
|
|
6588
|
-
return
|
|
6588
|
+
return mi(this.converter, lt({}, this.attributes, p));
|
|
6589
6589
|
},
|
|
6590
6590
|
withConverter: function(p) {
|
|
6591
|
-
return
|
|
6591
|
+
return mi(lt({}, this.converter, p), this.attributes);
|
|
6592
6592
|
}
|
|
6593
6593
|
},
|
|
6594
6594
|
{
|
|
@@ -6597,9 +6597,9 @@ function si(e, n) {
|
|
|
6597
6597
|
}
|
|
6598
6598
|
);
|
|
6599
6599
|
}
|
|
6600
|
-
var
|
|
6600
|
+
var ui = mi(Co, { path: "/" }), ti = {}, Je = {}, ii = {}, Un;
|
|
6601
6601
|
function ra() {
|
|
6602
|
-
return
|
|
6602
|
+
return Un || (Un = 1, (function(e) {
|
|
6603
6603
|
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;
|
|
6604
6604
|
var n = 1, t = 1e3 * n;
|
|
6605
6605
|
e.DEFAULT_OPTIONS = {}, e.EMPTY_EVENT_HANDLERS = {}, e.DEFAULT_EVENT_SOURCE_OPTIONS = {
|
|
@@ -6622,11 +6622,11 @@ function ra() {
|
|
|
6622
6622
|
}
|
|
6623
6623
|
};
|
|
6624
6624
|
e.isReactNative = typeof navigator < "u" && navigator.product === "ReactNative", e.isEventSourceSupported = !e.isReactNative && p();
|
|
6625
|
-
})(
|
|
6625
|
+
})(ii)), ii;
|
|
6626
6626
|
}
|
|
6627
|
-
var $a = {},
|
|
6628
|
-
function
|
|
6629
|
-
return
|
|
6627
|
+
var $a = {}, ni = {}, bn;
|
|
6628
|
+
function vi() {
|
|
6629
|
+
return bn || (bn = 1, (function(e) {
|
|
6630
6630
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetWebSockets = e.sharedWebSockets = void 0, e.sharedWebSockets = {};
|
|
6631
6631
|
var n = function(t) {
|
|
6632
6632
|
if (t && e.sharedWebSockets.hasOwnProperty(t))
|
|
@@ -6636,12 +6636,12 @@ function Ci() {
|
|
|
6636
6636
|
e.sharedWebSockets.hasOwnProperty(l) && delete e.sharedWebSockets[l];
|
|
6637
6637
|
};
|
|
6638
6638
|
e.resetWebSockets = n;
|
|
6639
|
-
})(
|
|
6639
|
+
})(ni)), ni;
|
|
6640
6640
|
}
|
|
6641
|
-
var va = {}, sa = {},
|
|
6642
|
-
function
|
|
6643
|
-
if (
|
|
6644
|
-
|
|
6641
|
+
var va = {}, sa = {}, Cn;
|
|
6642
|
+
function hi() {
|
|
6643
|
+
if (Cn) return sa;
|
|
6644
|
+
Cn = 1, Object.defineProperty(sa, "__esModule", { value: !0 }), sa.setUpSocketIOPing = sa.appendQueryParams = sa.parseSocketIOUrl = void 0;
|
|
6645
6645
|
var e = ra(), n = function(p) {
|
|
6646
6646
|
if (p) {
|
|
6647
6647
|
var g = /^https|wss/.test(p), U = p.replace(/^(https?|wss?)(:\/\/)?/, ""), d = U.replace(/\/$/, ""), r = g ? "wss" : "ws";
|
|
@@ -6671,10 +6671,10 @@ function vi() {
|
|
|
6671
6671
|
};
|
|
6672
6672
|
return sa.setUpSocketIOPing = l, sa;
|
|
6673
6673
|
}
|
|
6674
|
-
var
|
|
6675
|
-
function
|
|
6676
|
-
if (
|
|
6677
|
-
|
|
6674
|
+
var rt = {}, vn;
|
|
6675
|
+
function il() {
|
|
6676
|
+
if (vn) return rt;
|
|
6677
|
+
vn = 1, Object.defineProperty(rt, "__esModule", { value: !0 }), rt.heartbeat = t;
|
|
6678
6678
|
var e = ra();
|
|
6679
6679
|
function n(l) {
|
|
6680
6680
|
return Array.isArray(l) ? l.reduce(function(p, g) {
|
|
@@ -6698,11 +6698,11 @@ function tl() {
|
|
|
6698
6698
|
}), function() {
|
|
6699
6699
|
};
|
|
6700
6700
|
}
|
|
6701
|
-
return
|
|
6701
|
+
return rt;
|
|
6702
6702
|
}
|
|
6703
|
-
var Qa = {},
|
|
6704
|
-
function
|
|
6705
|
-
return
|
|
6703
|
+
var Qa = {}, li = {}, hn;
|
|
6704
|
+
function Ti() {
|
|
6705
|
+
return hn || (hn = 1, (function(e) {
|
|
6706
6706
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetSubscribers = e.removeSubscriber = e.addSubscriber = e.hasSubscribers = e.getSubscribers = void 0;
|
|
6707
6707
|
var n = {}, t = [], l = function(r) {
|
|
6708
6708
|
return (0, e.hasSubscribers)(r) ? Array.from(n[r]) : t;
|
|
@@ -6729,13 +6729,13 @@ function hi() {
|
|
|
6729
6729
|
n.hasOwnProperty(a) && delete n[a];
|
|
6730
6730
|
};
|
|
6731
6731
|
e.resetSubscribers = d;
|
|
6732
|
-
})(
|
|
6732
|
+
})(li)), li;
|
|
6733
6733
|
}
|
|
6734
|
-
var
|
|
6735
|
-
function
|
|
6736
|
-
if (
|
|
6737
|
-
|
|
6738
|
-
var e =
|
|
6734
|
+
var Tn;
|
|
6735
|
+
function ki() {
|
|
6736
|
+
if (Tn) return Qa;
|
|
6737
|
+
Tn = 1, Object.defineProperty(Qa, "__esModule", { value: !0 }), Qa.assertIsWebSocket = t, Qa.resetGlobalState = l;
|
|
6738
|
+
var e = vi(), n = Ti();
|
|
6739
6739
|
function t(p, g) {
|
|
6740
6740
|
if (!g && !(p instanceof WebSocket))
|
|
6741
6741
|
throw new Error("");
|
|
@@ -6745,10 +6745,10 @@ function Ti() {
|
|
|
6745
6745
|
}
|
|
6746
6746
|
return Qa;
|
|
6747
6747
|
}
|
|
6748
|
-
var
|
|
6749
|
-
function
|
|
6750
|
-
if (
|
|
6751
|
-
|
|
6748
|
+
var kn;
|
|
6749
|
+
function vo() {
|
|
6750
|
+
if (kn) return va;
|
|
6751
|
+
kn = 1;
|
|
6752
6752
|
var e = va && va.__assign || function() {
|
|
6753
6753
|
return e = Object.assign || function(i) {
|
|
6754
6754
|
for (var o, m = 1, u = arguments.length; m < u; m++) {
|
|
@@ -6759,7 +6759,7 @@ function Co() {
|
|
|
6759
6759
|
}, e.apply(this, arguments);
|
|
6760
6760
|
};
|
|
6761
6761
|
Object.defineProperty(va, "__esModule", { value: !0 }), va.attachListeners = void 0;
|
|
6762
|
-
var n =
|
|
6762
|
+
var n = hi(), t = il(), l = ra(), p = ki(), g = function(i, o, m, u) {
|
|
6763
6763
|
i.onmessage = function(s) {
|
|
6764
6764
|
var c;
|
|
6765
6765
|
o.current.onMessage && o.current.onMessage(s), typeof u?.current == "number" && (u.current = Date.now()), !(typeof o.current.filter == "function" && o.current.filter(s) !== !0) && (o.current.heartbeat && typeof o.current.heartbeat != "boolean" && ((c = o.current.heartbeat) === null || c === void 0 ? void 0 : c.returnMessage) === s.data || m(s));
|
|
@@ -6815,10 +6815,10 @@ function Co() {
|
|
|
6815
6815
|
};
|
|
6816
6816
|
return va.attachListeners = a, va;
|
|
6817
6817
|
}
|
|
6818
|
-
var ha = {},
|
|
6819
|
-
function
|
|
6820
|
-
if (
|
|
6821
|
-
|
|
6818
|
+
var ha = {}, xn;
|
|
6819
|
+
function ho() {
|
|
6820
|
+
if (xn) return ha;
|
|
6821
|
+
xn = 1;
|
|
6822
6822
|
var e = ha && ha.__assign || function() {
|
|
6823
6823
|
return e = Object.assign || function(o) {
|
|
6824
6824
|
for (var m, u = 1, s = arguments.length; u < s; u++) {
|
|
@@ -6829,7 +6829,7 @@ function vo() {
|
|
|
6829
6829
|
}, e.apply(this, arguments);
|
|
6830
6830
|
};
|
|
6831
6831
|
Object.defineProperty(ha, "__esModule", { value: !0 }), ha.attachSharedListeners = void 0;
|
|
6832
|
-
var n =
|
|
6832
|
+
var n = vi(), t = ra(), l = Ti(), p = hi(), g = il(), U = function(o, m, u) {
|
|
6833
6833
|
o.onmessage = function(s) {
|
|
6834
6834
|
(0, l.getSubscribers)(m).forEach(function(c) {
|
|
6835
6835
|
var f;
|
|
@@ -6877,11 +6877,11 @@ function vo() {
|
|
|
6877
6877
|
};
|
|
6878
6878
|
return ha.attachSharedListeners = i, ha;
|
|
6879
6879
|
}
|
|
6880
|
-
var
|
|
6881
|
-
function
|
|
6882
|
-
if (
|
|
6883
|
-
|
|
6884
|
-
var e =
|
|
6880
|
+
var Sn;
|
|
6881
|
+
function To() {
|
|
6882
|
+
if (Sn) return $a;
|
|
6883
|
+
Sn = 1, Object.defineProperty($a, "__esModule", { value: !0 }), $a.createOrJoinSocket = void 0;
|
|
6884
|
+
var e = vi(), n = ra(), t = vo(), l = ho(), p = Ti(), g = function(d, r, a, i, o) {
|
|
6885
6885
|
return function() {
|
|
6886
6886
|
if ((0, p.removeSubscriber)(d, r), !(0, p.hasSubscribers)(d)) {
|
|
6887
6887
|
try {
|
|
@@ -6920,9 +6920,9 @@ function ho() {
|
|
|
6920
6920
|
};
|
|
6921
6921
|
return $a.createOrJoinSocket = U, $a;
|
|
6922
6922
|
}
|
|
6923
|
-
var ma = {},
|
|
6924
|
-
function
|
|
6925
|
-
return
|
|
6923
|
+
var ma = {}, Dn;
|
|
6924
|
+
function ko() {
|
|
6925
|
+
return Dn || (Dn = 1, (function(e) {
|
|
6926
6926
|
var n = ma && ma.__awaiter || function(r, a, i, o) {
|
|
6927
6927
|
function m(u) {
|
|
6928
6928
|
return u instanceof i ? u : new i(function(s) {
|
|
@@ -7014,7 +7014,7 @@ function To() {
|
|
|
7014
7014
|
return r.concat(u || Array.prototype.slice.call(a));
|
|
7015
7015
|
};
|
|
7016
7016
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.getUrl = void 0;
|
|
7017
|
-
var p =
|
|
7017
|
+
var p = hi(), g = ra(), U = function(r) {
|
|
7018
7018
|
return new Promise(function(a) {
|
|
7019
7019
|
return window.setTimeout(a, r);
|
|
7020
7020
|
});
|
|
@@ -7057,9 +7057,9 @@ function To() {
|
|
|
7057
7057
|
e.getUrl = d;
|
|
7058
7058
|
})(ma)), ma;
|
|
7059
7059
|
}
|
|
7060
|
-
var
|
|
7061
|
-
function
|
|
7062
|
-
return
|
|
7060
|
+
var ri = {}, En;
|
|
7061
|
+
function xo() {
|
|
7062
|
+
return En || (En = 1, (function(e) {
|
|
7063
7063
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
|
|
7064
7064
|
var n = function(t, l) {
|
|
7065
7065
|
return new Proxy(t, {
|
|
@@ -7074,12 +7074,12 @@ function ko() {
|
|
|
7074
7074
|
});
|
|
7075
7075
|
};
|
|
7076
7076
|
e.websocketWrapper = n, e.default = e.websocketWrapper;
|
|
7077
|
-
})(
|
|
7077
|
+
})(ri)), ri;
|
|
7078
7078
|
}
|
|
7079
|
-
var
|
|
7080
|
-
function
|
|
7081
|
-
if (
|
|
7082
|
-
|
|
7079
|
+
var Nn;
|
|
7080
|
+
function xi() {
|
|
7081
|
+
if (Nn) return Je;
|
|
7082
|
+
Nn = 1;
|
|
7083
7083
|
var e = Je && Je.__assign || function() {
|
|
7084
7084
|
return e = Object.assign || function(m) {
|
|
7085
7085
|
for (var u, s = 1, c = arguments.length; s < c; s++) {
|
|
@@ -7177,7 +7177,7 @@ function ki() {
|
|
|
7177
7177
|
return m && m.__esModule ? m : { default: m };
|
|
7178
7178
|
};
|
|
7179
7179
|
Object.defineProperty(Je, "__esModule", { value: !0 }), Je.useWebSocket = void 0;
|
|
7180
|
-
var p = de, g =
|
|
7180
|
+
var p = de, g = Zl, U = ra(), d = To(), r = ko(), a = l(xo()), i = ki(), o = function(m, u, s) {
|
|
7181
7181
|
u === void 0 && (u = U.DEFAULT_OPTIONS), s === void 0 && (s = !0);
|
|
7182
7182
|
var c = (0, p.useState)(null), f = c[0], y = c[1], _ = (0, p.useState)({}), b = _[0], C = _[1], v = (0, p.useMemo)(function() {
|
|
7183
7183
|
if (!u.disableJson && f)
|
|
@@ -7226,8 +7226,8 @@ function ki() {
|
|
|
7226
7226
|
}, Z = function(Q) {
|
|
7227
7227
|
M || (0, g.flushSync)(function() {
|
|
7228
7228
|
return C(function(K) {
|
|
7229
|
-
var
|
|
7230
|
-
return e(e({}, K), D.current && (
|
|
7229
|
+
var ie;
|
|
7230
|
+
return e(e({}, K), D.current && (ie = {}, ie[D.current] = Q, ie));
|
|
7231
7231
|
});
|
|
7232
7232
|
});
|
|
7233
7233
|
}, S && (W = (0, d.createOrJoinSocket)(E, D.current, Z, A, N, G, O, k, P)), [
|
|
@@ -7262,10 +7262,10 @@ function ki() {
|
|
|
7262
7262
|
};
|
|
7263
7263
|
return Je.useWebSocket = o, Je;
|
|
7264
7264
|
}
|
|
7265
|
-
var Ta = {},
|
|
7266
|
-
function
|
|
7267
|
-
if (
|
|
7268
|
-
|
|
7265
|
+
var Ta = {}, Ln;
|
|
7266
|
+
function So() {
|
|
7267
|
+
if (Ln) return Ta;
|
|
7268
|
+
Ln = 1;
|
|
7269
7269
|
var e = Ta && Ta.__assign || function() {
|
|
7270
7270
|
return e = Object.assign || function(d) {
|
|
7271
7271
|
for (var r, a = 1, i = arguments.length; a < i; a++) {
|
|
@@ -7276,7 +7276,7 @@ function xo() {
|
|
|
7276
7276
|
}, e.apply(this, arguments);
|
|
7277
7277
|
};
|
|
7278
7278
|
Object.defineProperty(Ta, "__esModule", { value: !0 }), Ta.useSocketIO = void 0;
|
|
7279
|
-
var n = de, t =
|
|
7279
|
+
var n = de, t = xi(), l = ra(), p = {
|
|
7280
7280
|
type: "empty",
|
|
7281
7281
|
payload: null
|
|
7282
7282
|
}, g = function(d) {
|
|
@@ -7308,10 +7308,10 @@ function xo() {
|
|
|
7308
7308
|
};
|
|
7309
7309
|
return Ta.useSocketIO = U, Ta;
|
|
7310
7310
|
}
|
|
7311
|
-
var ua = {},
|
|
7312
|
-
function
|
|
7313
|
-
if (
|
|
7314
|
-
|
|
7311
|
+
var ua = {}, Gn;
|
|
7312
|
+
function Do() {
|
|
7313
|
+
if (Gn) return ua;
|
|
7314
|
+
Gn = 1;
|
|
7315
7315
|
var e = ua && ua.__assign || function() {
|
|
7316
7316
|
return e = Object.assign || function(U) {
|
|
7317
7317
|
for (var d, r = 1, a = arguments.length; r < a; r++) {
|
|
@@ -7329,7 +7329,7 @@ function So() {
|
|
|
7329
7329
|
return r;
|
|
7330
7330
|
};
|
|
7331
7331
|
Object.defineProperty(ua, "__esModule", { value: !0 }), ua.useEventSource = void 0;
|
|
7332
|
-
var t = de, l =
|
|
7332
|
+
var t = de, l = xi(), p = ra(), g = function(U, d, r) {
|
|
7333
7333
|
d === void 0 && (d = p.DEFAULT_EVENT_SOURCE_OPTIONS);
|
|
7334
7334
|
var a = d.withCredentials, i = d.events, o = n(d, ["withCredentials", "events"]);
|
|
7335
7335
|
r === void 0 && (r = !0);
|
|
@@ -7351,15 +7351,15 @@ function So() {
|
|
|
7351
7351
|
};
|
|
7352
7352
|
return ua.useEventSource = g, ua;
|
|
7353
7353
|
}
|
|
7354
|
-
var
|
|
7355
|
-
function
|
|
7356
|
-
return
|
|
7354
|
+
var Mn;
|
|
7355
|
+
function Eo() {
|
|
7356
|
+
return Mn || (Mn = 1, (function(e) {
|
|
7357
7357
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
|
|
7358
|
-
var n =
|
|
7358
|
+
var n = xi();
|
|
7359
7359
|
Object.defineProperty(e, "default", { enumerable: !0, get: function() {
|
|
7360
7360
|
return n.useWebSocket;
|
|
7361
7361
|
} });
|
|
7362
|
-
var t =
|
|
7362
|
+
var t = So();
|
|
7363
7363
|
Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
|
|
7364
7364
|
return t.useSocketIO;
|
|
7365
7365
|
} });
|
|
@@ -7367,25 +7367,25 @@ function Do() {
|
|
|
7367
7367
|
Object.defineProperty(e, "ReadyState", { enumerable: !0, get: function() {
|
|
7368
7368
|
return l.ReadyState;
|
|
7369
7369
|
} });
|
|
7370
|
-
var p =
|
|
7370
|
+
var p = Do();
|
|
7371
7371
|
Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
|
|
7372
7372
|
return p.useEventSource;
|
|
7373
7373
|
} });
|
|
7374
|
-
var g =
|
|
7374
|
+
var g = ki();
|
|
7375
7375
|
Object.defineProperty(e, "resetGlobalState", { enumerable: !0, get: function() {
|
|
7376
7376
|
return g.resetGlobalState;
|
|
7377
7377
|
} });
|
|
7378
|
-
})(
|
|
7378
|
+
})(ti)), ti;
|
|
7379
7379
|
}
|
|
7380
|
-
var
|
|
7381
|
-
const
|
|
7380
|
+
var No = Eo();
|
|
7381
|
+
const Lo = /* @__PURE__ */ yi(No), Go = ({
|
|
7382
7382
|
enable: e = !1,
|
|
7383
7383
|
isTestFunction: n = !1,
|
|
7384
7384
|
isTransferMode: t = !1,
|
|
7385
7385
|
isInGameBox: l = !1,
|
|
7386
7386
|
currentGamePlatform: p = ""
|
|
7387
7387
|
}) => {
|
|
7388
|
-
const { store: g, lng: U } = se(), { isReady: d, setAsReady: r, isPending: a, setAsPending: i } =
|
|
7388
|
+
const { store: g, lng: U } = se(), { isReady: d, setAsReady: r, isPending: a, setAsPending: i } = Zn(), o = Qe(U), { mutateAsync: m } = zo();
|
|
7389
7389
|
return !e || !n || !t ? { handleTransferInGame: () => {
|
|
7390
7390
|
} } : { handleTransferInGame: async () => {
|
|
7391
7391
|
console.log("執行遊戲內轉帳"), l && await m({
|
|
@@ -7460,63 +7460,63 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7460
7460
|
verifyPhoneBarApi: g,
|
|
7461
7461
|
verifyDonationCodeApi: U
|
|
7462
7462
|
};
|
|
7463
|
-
},
|
|
7463
|
+
}, Mo = ({ options: e } = {}) => {
|
|
7464
7464
|
const { userLoginApi: n } = oe();
|
|
7465
|
-
return
|
|
7465
|
+
return X({
|
|
7466
7466
|
mutationKey: ["userLogin"],
|
|
7467
7467
|
mutationFn: async (t) => n(t),
|
|
7468
7468
|
...e
|
|
7469
7469
|
});
|
|
7470
|
-
},
|
|
7470
|
+
}, Ro = ({ options: e } = {}) => {
|
|
7471
7471
|
const { userLogoutApi: n } = oe();
|
|
7472
|
-
return
|
|
7472
|
+
return X({
|
|
7473
7473
|
mutationKey: ["userLogout"],
|
|
7474
7474
|
mutationFn: async () => n(),
|
|
7475
7475
|
...e
|
|
7476
7476
|
});
|
|
7477
|
-
},
|
|
7477
|
+
}, Po = ({ options: e } = {}) => {
|
|
7478
7478
|
const { userSignUpApi: n } = oe();
|
|
7479
|
-
return
|
|
7479
|
+
return X({
|
|
7480
7480
|
mutationKey: ["userSignUp"],
|
|
7481
7481
|
mutationFn: async (t) => n(t),
|
|
7482
7482
|
...e
|
|
7483
7483
|
});
|
|
7484
|
-
},
|
|
7484
|
+
}, wo = ({ options: e } = {}) => {
|
|
7485
7485
|
const { addOrRemoveFavoriteGameApi: n } = oe();
|
|
7486
|
-
return
|
|
7486
|
+
return X({
|
|
7487
7487
|
mutationKey: ["toggleFavoriteGame"],
|
|
7488
7488
|
mutationFn: async (t) => n(t),
|
|
7489
7489
|
...e
|
|
7490
7490
|
});
|
|
7491
|
-
},
|
|
7491
|
+
}, Fo = ({ options: e } = {}) => {
|
|
7492
7492
|
const { updateUserInfoApi: n } = oe();
|
|
7493
|
-
return
|
|
7493
|
+
return X({
|
|
7494
7494
|
mutationKey: ["updateUserInfo"],
|
|
7495
7495
|
mutationFn: async (t) => n(t),
|
|
7496
7496
|
...e
|
|
7497
7497
|
});
|
|
7498
|
-
},
|
|
7498
|
+
}, Ao = ({ options: e } = {}) => {
|
|
7499
7499
|
const { resetUserPasswordApi: n } = oe();
|
|
7500
|
-
return
|
|
7500
|
+
return X({
|
|
7501
7501
|
mutationKey: ["resetUserPassword"],
|
|
7502
7502
|
mutationFn: async (t) => n(t),
|
|
7503
7503
|
...e
|
|
7504
7504
|
});
|
|
7505
|
-
},
|
|
7505
|
+
}, Oo = ({ options: e } = {}) => {
|
|
7506
7506
|
const { setUserTransactionPasswordApi: n } = oe();
|
|
7507
|
-
return
|
|
7507
|
+
return X({
|
|
7508
7508
|
mutationKey: ["setUserTransactionPassword"],
|
|
7509
7509
|
mutationFn: async (t) => n(t),
|
|
7510
7510
|
...e
|
|
7511
7511
|
});
|
|
7512
|
-
},
|
|
7512
|
+
}, Bo = ({ options: e } = {}) => {
|
|
7513
7513
|
const { resetUserTransactionPasswordApi: n } = oe();
|
|
7514
|
-
return
|
|
7514
|
+
return X({
|
|
7515
7515
|
mutationKey: ["resetUserTransactionPassword"],
|
|
7516
7516
|
mutationFn: async (t) => n(t),
|
|
7517
7517
|
...e
|
|
7518
7518
|
});
|
|
7519
|
-
},
|
|
7519
|
+
}, Ho = ({ paramsData: e, options: n } = {}) => {
|
|
7520
7520
|
const { userRebateApi: t } = oe(), { getToken: l } = se();
|
|
7521
7521
|
return l?.(), j({
|
|
7522
7522
|
queryKey: ["userRebate", e],
|
|
@@ -7524,16 +7524,16 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7524
7524
|
enabled: !1,
|
|
7525
7525
|
...n
|
|
7526
7526
|
});
|
|
7527
|
-
},
|
|
7527
|
+
}, Wo = ({ options: e } = {}) => {
|
|
7528
7528
|
const { userBindBankApi: n } = oe();
|
|
7529
|
-
return
|
|
7529
|
+
return X({
|
|
7530
7530
|
mutationKey: ["userBindBank"],
|
|
7531
7531
|
mutationFn: async (t) => n({ formData: t }),
|
|
7532
7532
|
...e
|
|
7533
7533
|
});
|
|
7534
|
-
},
|
|
7534
|
+
}, zo = ({ options: e } = {}) => {
|
|
7535
7535
|
const { transferInGameApi: n } = oe();
|
|
7536
|
-
return
|
|
7536
|
+
return X({
|
|
7537
7537
|
mutationKey: ["transferInGame"],
|
|
7538
7538
|
mutationFn: async (t) => n(t),
|
|
7539
7539
|
retry: !1,
|
|
@@ -7541,7 +7541,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7541
7541
|
});
|
|
7542
7542
|
}, Nm = ({ options: e } = {}) => {
|
|
7543
7543
|
const { currency: n } = se(), { pointTransferApi: t } = oe();
|
|
7544
|
-
return
|
|
7544
|
+
return X({
|
|
7545
7545
|
mutationKey: ["pointTransfer"],
|
|
7546
7546
|
mutationFn: async (l) => t({
|
|
7547
7547
|
...l,
|
|
@@ -7563,8 +7563,8 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7563
7563
|
...e
|
|
7564
7564
|
});
|
|
7565
7565
|
}, Gm = ({ options: e } = {}) => {
|
|
7566
|
-
const n =
|
|
7567
|
-
return
|
|
7566
|
+
const n = _i(), { abandonPointsApi: t } = oe();
|
|
7567
|
+
return X({
|
|
7568
7568
|
mutationKey: ["abandonPoint"],
|
|
7569
7569
|
mutationFn: async (l) => t({
|
|
7570
7570
|
...l
|
|
@@ -7574,21 +7574,21 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7574
7574
|
},
|
|
7575
7575
|
...e
|
|
7576
7576
|
});
|
|
7577
|
-
},
|
|
7577
|
+
}, nl = ({ options: e } = {}) => {
|
|
7578
7578
|
const { lineLoginApi: n } = oe();
|
|
7579
|
-
return
|
|
7579
|
+
return X({
|
|
7580
7580
|
mutationKey: ["lineLogin"],
|
|
7581
7581
|
mutationFn: async (t) => n(t),
|
|
7582
7582
|
...e
|
|
7583
7583
|
});
|
|
7584
|
-
},
|
|
7584
|
+
}, Io = ({ options: e } = {}) => {
|
|
7585
7585
|
const { lineLogin2Api: n } = oe();
|
|
7586
|
-
return
|
|
7586
|
+
return X({
|
|
7587
7587
|
mutationKey: ["lineLogin"],
|
|
7588
7588
|
mutationFn: async (t) => n(t),
|
|
7589
7589
|
...e
|
|
7590
7590
|
});
|
|
7591
|
-
},
|
|
7591
|
+
}, Vo = ({ options: e, formData: n } = {}) => {
|
|
7592
7592
|
const { getMachineLoginCodeApi: t } = oe();
|
|
7593
7593
|
return j({
|
|
7594
7594
|
queryKey: ["getMachineLoginCode"],
|
|
@@ -7597,42 +7597,42 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7597
7597
|
});
|
|
7598
7598
|
}, Mm = ({ options: e } = {}) => {
|
|
7599
7599
|
const { currency: n } = se(), { memberTransferApi: t } = oe();
|
|
7600
|
-
return
|
|
7600
|
+
return X({
|
|
7601
7601
|
mutationKey: ["memberTransfer"],
|
|
7602
7602
|
mutationFn: async (l) => t({ ...l, currency: n }),
|
|
7603
7603
|
...e
|
|
7604
7604
|
});
|
|
7605
7605
|
}, Rm = ({ options: e } = {}) => {
|
|
7606
7606
|
const { mobileLoginApi: n } = oe();
|
|
7607
|
-
return
|
|
7607
|
+
return X({
|
|
7608
7608
|
mutationKey: ["mobileLogin"],
|
|
7609
7609
|
mutationFn: async (t) => n(t),
|
|
7610
7610
|
...e
|
|
7611
7611
|
});
|
|
7612
7612
|
}, Pm = ({ options: e } = {}) => {
|
|
7613
7613
|
const { mobileLoginApiV2: n } = oe();
|
|
7614
|
-
return
|
|
7614
|
+
return X({
|
|
7615
7615
|
mutationKey: ["mobileLoginV2"],
|
|
7616
7616
|
mutationFn: async (t) => n(t),
|
|
7617
7617
|
...e
|
|
7618
7618
|
});
|
|
7619
7619
|
}, wm = ({ options: e } = {}) => {
|
|
7620
7620
|
const { mobileRegisterApi: n } = oe();
|
|
7621
|
-
return
|
|
7621
|
+
return X({
|
|
7622
7622
|
mutationKey: ["mobileRegister"],
|
|
7623
7623
|
mutationFn: async (t) => n(t),
|
|
7624
7624
|
...e
|
|
7625
7625
|
});
|
|
7626
|
-
},
|
|
7626
|
+
}, Jo = ({ options: e } = {}) => {
|
|
7627
7627
|
const { bindAccountApi: n } = oe();
|
|
7628
|
-
return
|
|
7628
|
+
return X({
|
|
7629
7629
|
mutationKey: ["bindAccount"],
|
|
7630
7630
|
mutationFn: async (t) => n(t),
|
|
7631
7631
|
...e
|
|
7632
7632
|
});
|
|
7633
7633
|
}, Fm = ({ options: e } = {}) => {
|
|
7634
7634
|
const { sendMobileVerifyCodeApi: n } = oe();
|
|
7635
|
-
return
|
|
7635
|
+
return X({
|
|
7636
7636
|
mutationKey: ["sendMobileVerifyCode"],
|
|
7637
7637
|
mutationFn: async (t) => n(t),
|
|
7638
7638
|
...e
|
|
@@ -7653,7 +7653,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7653
7653
|
});
|
|
7654
7654
|
}, Bm = ({ options: e } = {}) => {
|
|
7655
7655
|
const { verifyResetActionApi: n } = oe();
|
|
7656
|
-
return
|
|
7656
|
+
return X({
|
|
7657
7657
|
mutationKey: ["verifyResetAction"],
|
|
7658
7658
|
mutationFn: async (t) => n(t),
|
|
7659
7659
|
...e
|
|
@@ -7664,15 +7664,15 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7664
7664
|
queryKey: ["getJackpotData"],
|
|
7665
7665
|
queryFn: async () => t(),
|
|
7666
7666
|
select: (l) => {
|
|
7667
|
-
const p =
|
|
7667
|
+
const p = te(l, "data", {
|
|
7668
7668
|
MAJOR: 0,
|
|
7669
7669
|
MINOR: 0,
|
|
7670
7670
|
MINI: 0,
|
|
7671
7671
|
GRAND: 0,
|
|
7672
7672
|
MEGA: 0
|
|
7673
7673
|
});
|
|
7674
|
-
return n ?
|
|
7675
|
-
U.amount =
|
|
7674
|
+
return n ? zl(n, (U, d) => {
|
|
7675
|
+
U.amount = te(p, d, 0) + Math.floor(Math.random() * 1e3);
|
|
7676
7676
|
}) : p;
|
|
7677
7677
|
},
|
|
7678
7678
|
...e
|
|
@@ -7696,7 +7696,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7696
7696
|
});
|
|
7697
7697
|
}, Im = ({ options: e } = {}) => {
|
|
7698
7698
|
const { updateUserAvatarApi: n } = oe();
|
|
7699
|
-
return
|
|
7699
|
+
return X({
|
|
7700
7700
|
mutationKey: ["updateAvatar"],
|
|
7701
7701
|
mutationFn: async (t) => n(t),
|
|
7702
7702
|
...e
|
|
@@ -7715,15 +7715,15 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7715
7715
|
userBindCard: {}
|
|
7716
7716
|
}
|
|
7717
7717
|
} = {}) => {
|
|
7718
|
-
const n =
|
|
7718
|
+
const n = Mo({ options: e.login }), t = Ro({ options: e.logout }), l = Po({ options: e.register }), p = Fo({ options: e.updateUserInfo }), g = wo({
|
|
7719
7719
|
options: e.toggleFavoriteGame
|
|
7720
|
-
}), U =
|
|
7720
|
+
}), U = Ao({
|
|
7721
7721
|
options: e.resetUserPassword
|
|
7722
|
-
}), d =
|
|
7722
|
+
}), d = Oo({
|
|
7723
7723
|
options: e.setUserTransactionPassword
|
|
7724
|
-
}), r =
|
|
7724
|
+
}), r = Bo({
|
|
7725
7725
|
options: e.resetUserTransactionPassword
|
|
7726
|
-
}), a =
|
|
7726
|
+
}), a = Ho({ options: e.userRebate }), i = Wo({ options: e.userBindCard });
|
|
7727
7727
|
return {
|
|
7728
7728
|
login: n,
|
|
7729
7729
|
logout: t,
|
|
@@ -7750,7 +7750,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7750
7750
|
UPDATE_ONLY_ONE_MEMBER: "update_only_one_member",
|
|
7751
7751
|
GAME_MAINTAIN: "game_maintain",
|
|
7752
7752
|
LINE_LOGIN: "line_login"
|
|
7753
|
-
},
|
|
7753
|
+
}, Zo = 3e4, Jm = ({
|
|
7754
7754
|
socketUrl: e,
|
|
7755
7755
|
socketHandlers: n = {},
|
|
7756
7756
|
options: t = {},
|
|
@@ -7764,20 +7764,20 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7764
7764
|
enableNotification: g = !1,
|
|
7765
7765
|
disabledLineAutoRegister: U = !1
|
|
7766
7766
|
}) => {
|
|
7767
|
-
const { store: d, lng: r } = se(), a =
|
|
7768
|
-
|
|
7769
|
-
const _ = new URLSearchParams(window.location.search), b =
|
|
7767
|
+
const { store: d, lng: r } = se(), a = _i(), { isReady: i, setAsReady: o, isPending: m, setAsPending: u } = Zn(), s = Qe(r), c = ae(!1), f = ae(n), y = te(l, "uid", null);
|
|
7768
|
+
te(l, "testFunction", 0);
|
|
7769
|
+
const _ = new URLSearchParams(window.location.search), b = te(
|
|
7770
7770
|
p,
|
|
7771
7771
|
"enableTransferInGaming",
|
|
7772
7772
|
!1
|
|
7773
|
-
), { mutateAsync: C } =
|
|
7773
|
+
), { mutateAsync: C } = nl({
|
|
7774
7774
|
options: {
|
|
7775
7775
|
onSuccess: (w) => {
|
|
7776
7776
|
f.current.onLineLogin?.(w);
|
|
7777
7777
|
},
|
|
7778
7778
|
retry: !1
|
|
7779
7779
|
}
|
|
7780
|
-
}), { mutateAsync: v } =
|
|
7780
|
+
}), { mutateAsync: v } = Io({
|
|
7781
7781
|
options: {
|
|
7782
7782
|
onSuccess: (w) => {
|
|
7783
7783
|
f.current.onLineLogin?.(w);
|
|
@@ -7786,12 +7786,12 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7786
7786
|
U || C(R);
|
|
7787
7787
|
}
|
|
7788
7788
|
}
|
|
7789
|
-
}), { handleTransferInGame: D } =
|
|
7789
|
+
}), { handleTransferInGame: D } = Go({
|
|
7790
7790
|
enable: b,
|
|
7791
7791
|
isTestFunction: !0,
|
|
7792
|
-
isTransferMode:
|
|
7793
|
-
isInGameBox:
|
|
7794
|
-
currentGamePlatform:
|
|
7792
|
+
isTransferMode: te(p, "isTransferMode", !1),
|
|
7793
|
+
isInGameBox: te(p, "isInGameBox", !1),
|
|
7794
|
+
currentGamePlatform: te(p, "currentGamePlatform", "")
|
|
7795
7795
|
}), {
|
|
7796
7796
|
sendMessage: E,
|
|
7797
7797
|
// 發送普通訊息
|
|
@@ -7803,7 +7803,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7803
7803
|
readyState: k
|
|
7804
7804
|
// WebSocket 連線狀態
|
|
7805
7805
|
// getWebSocket, // 獲取 WebSocket 實例
|
|
7806
|
-
} =
|
|
7806
|
+
} = Lo(e, {
|
|
7807
7807
|
queryParams: { key: "wsky" },
|
|
7808
7808
|
onOpen: () => console.log("連線成功"),
|
|
7809
7809
|
shouldReconnect: () => c.current === !1,
|
|
@@ -7820,7 +7820,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7820
7820
|
pe(() => {
|
|
7821
7821
|
const w = setInterval(
|
|
7822
7822
|
() => E("ping"),
|
|
7823
|
-
|
|
7823
|
+
Zo
|
|
7824
7824
|
);
|
|
7825
7825
|
return () => clearInterval(w);
|
|
7826
7826
|
}, [E]);
|
|
@@ -7841,7 +7841,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7841
7841
|
pe(() => {
|
|
7842
7842
|
f.current = n;
|
|
7843
7843
|
}, [n]);
|
|
7844
|
-
const A =
|
|
7844
|
+
const A = ae(null);
|
|
7845
7845
|
return pe(() => {
|
|
7846
7846
|
if (!h || A.current === h)
|
|
7847
7847
|
return;
|
|
@@ -7856,13 +7856,13 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7856
7856
|
onTransferInGame: M,
|
|
7857
7857
|
onCashRegisterLimit: S,
|
|
7858
7858
|
onLineLogin: x
|
|
7859
|
-
} = f.current, L =
|
|
7860
|
-
memberInfoUid:
|
|
7861
|
-
data:
|
|
7862
|
-
memo:
|
|
7863
|
-
amount:
|
|
7864
|
-
limitAmount:
|
|
7865
|
-
}, Z = Number(N.memberInfoUid) === y, q = N.data, Q = N.amount, K = N.limitAmount,
|
|
7859
|
+
} = f.current, L = te(h, "type", ""), N = {
|
|
7860
|
+
memberInfoUid: te(h, "member_info_uid", null),
|
|
7861
|
+
data: te(h, "data", null),
|
|
7862
|
+
memo: te(h, "memo", null),
|
|
7863
|
+
amount: te(h, "amount", null),
|
|
7864
|
+
limitAmount: te(h, "limit_amount", null)
|
|
7865
|
+
}, Z = Number(N.memberInfoUid) === y, q = N.data, Q = N.amount, K = N.limitAmount, ie = _.get("mac") || ui.get("machine_mac_address") || "", le = te(h, "data.line_id", null), ye = te(h, "data.line_name", null), Ue = te(h, "member_info_uid", null);
|
|
7866
7866
|
switch (L) {
|
|
7867
7867
|
case ze.DEPOSIT:
|
|
7868
7868
|
Z && (D(), w?.(N));
|
|
@@ -7872,7 +7872,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7872
7872
|
break;
|
|
7873
7873
|
case ze.ERROR:
|
|
7874
7874
|
if (Z) {
|
|
7875
|
-
const me =
|
|
7875
|
+
const me = te(h, "open_game_modal", 0) === 1;
|
|
7876
7876
|
F(q, {
|
|
7877
7877
|
notificationType: me ? "gamingNotice" : void 0
|
|
7878
7878
|
}), P?.(N);
|
|
@@ -7899,7 +7899,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7899
7899
|
case ze.TRANSFER_IN_GAME:
|
|
7900
7900
|
case ze.CHECK_REQUEST:
|
|
7901
7901
|
if (Z && b) {
|
|
7902
|
-
const { request_id: me, amount: ce, platform: ke, status: fe } =
|
|
7902
|
+
const { request_id: me, amount: ce, platform: ke, status: fe } = te(N, "data", {}) || {}, Ie = localStorage.getItem(
|
|
7903
7903
|
"transfer_in_game_request_id"
|
|
7904
7904
|
);
|
|
7905
7905
|
if (fe === "pending") {
|
|
@@ -7940,8 +7940,8 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7940
7940
|
});
|
|
7941
7941
|
break;
|
|
7942
7942
|
case ze.LINE_LOGIN:
|
|
7943
|
-
Ue ===
|
|
7944
|
-
line_id:
|
|
7943
|
+
Ue === ie && C({
|
|
7944
|
+
line_id: le,
|
|
7945
7945
|
line_name: ye
|
|
7946
7946
|
});
|
|
7947
7947
|
break;
|
|
@@ -7982,7 +7982,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
7982
7982
|
type: "ui/showToast",
|
|
7983
7983
|
payload: {
|
|
7984
7984
|
title: Ba[s] || "System Prompt",
|
|
7985
|
-
description:
|
|
7985
|
+
description: Yl[s] || "We are processing your transfer",
|
|
7986
7986
|
status: "warning",
|
|
7987
7987
|
duration: 1 / 0,
|
|
7988
7988
|
id: "trasnferingInGame"
|
|
@@ -8042,7 +8042,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
8042
8042
|
redeemEventRewardApi: l,
|
|
8043
8043
|
settleEventApi: g
|
|
8044
8044
|
};
|
|
8045
|
-
},
|
|
8045
|
+
}, Ko = ({ paramsData: e, options: n } = {}) => {
|
|
8046
8046
|
const { store: t, lng: l, data2URL: p } = se(), { eventListApi: g } = Ya(), U = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", d = Qe(l);
|
|
8047
8047
|
return j({
|
|
8048
8048
|
queryKey: ["eventList", e],
|
|
@@ -8053,7 +8053,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
8053
8053
|
const { events_attributes: m } = o, u = Ke(
|
|
8054
8054
|
m,
|
|
8055
8055
|
(v) => v.attribute_currency === U
|
|
8056
|
-
) || m[0], s =
|
|
8056
|
+
) || m[0], s = te(u, "rewards", {}), c = te(o, "carousels.[0]", {}), f = Ke(c.carousels_lang, (v) => v.lang === d) || c?.carousels_lang?.[0], y = {
|
|
8057
8057
|
...c,
|
|
8058
8058
|
currentLngCarousel: {
|
|
8059
8059
|
...f,
|
|
@@ -8106,8 +8106,8 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
8106
8106
|
// VIP 群組
|
|
8107
8107
|
tagsGroup: o.tags_group,
|
|
8108
8108
|
//標籤群組
|
|
8109
|
-
eventBg:
|
|
8110
|
-
eventIcon:
|
|
8109
|
+
eventBg: qn(),
|
|
8110
|
+
eventIcon: Kn(o.type),
|
|
8111
8111
|
nextSettlementDate: o.next_settlement_date,
|
|
8112
8112
|
//下一次結算日期
|
|
8113
8113
|
lastSettlementDate: o.last_settlement_date
|
|
@@ -8161,19 +8161,19 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
8161
8161
|
});
|
|
8162
8162
|
}, Zm = ({ options: e } = {}) => {
|
|
8163
8163
|
const { redeemEventRewardApi: n } = Ya();
|
|
8164
|
-
return
|
|
8164
|
+
return X({
|
|
8165
8165
|
mutationKey: ["redeemEventReward"],
|
|
8166
8166
|
mutationFn: async (t) => n(t),
|
|
8167
8167
|
...e
|
|
8168
8168
|
});
|
|
8169
|
-
},
|
|
8169
|
+
}, qo = ({ options: e, formData: n } = {}) => {
|
|
8170
8170
|
const { checkCurrentEventProgessApi: t } = Ya();
|
|
8171
8171
|
return j({
|
|
8172
8172
|
queryKey: ["checkEventProgress"],
|
|
8173
8173
|
queryFn: async () => t(n),
|
|
8174
8174
|
...e
|
|
8175
8175
|
});
|
|
8176
|
-
},
|
|
8176
|
+
}, $o = ({ options: e, formData: n } = {}) => {
|
|
8177
8177
|
const { checkEventStatusApi: t } = Ya();
|
|
8178
8178
|
return j({
|
|
8179
8179
|
queryKey: ["checkEventStatus"],
|
|
@@ -8183,7 +8183,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
8183
8183
|
});
|
|
8184
8184
|
}, Km = ({ options: e } = {}) => {
|
|
8185
8185
|
const { settleEventApi: n } = Ya();
|
|
8186
|
-
return
|
|
8186
|
+
return X({
|
|
8187
8187
|
mutationKey: ["settleEvent"],
|
|
8188
8188
|
mutationFn: async (t) => n(t),
|
|
8189
8189
|
...e
|
|
@@ -8195,9 +8195,9 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
8195
8195
|
checkEventStatus: {}
|
|
8196
8196
|
}
|
|
8197
8197
|
} = {}) => {
|
|
8198
|
-
const n =
|
|
8198
|
+
const n = Ko({ options: e.eventList }), t = qo({
|
|
8199
8199
|
options: e.checkEventProgress
|
|
8200
|
-
}), l =
|
|
8200
|
+
}), l = $o({
|
|
8201
8201
|
options: e.checkEventStatus
|
|
8202
8202
|
});
|
|
8203
8203
|
return {
|
|
@@ -8205,7 +8205,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
8205
8205
|
checkEventProgressQuery: t,
|
|
8206
8206
|
checkEventStatusQuery: l
|
|
8207
8207
|
};
|
|
8208
|
-
},
|
|
8208
|
+
}, Xa = () => {
|
|
8209
8209
|
const { client: e } = se(), n = z(
|
|
8210
8210
|
async ({ gamePlatform: U, params: d } = {}) => await e.get(
|
|
8211
8211
|
`/gameBonusRestricted${U ? `/${U}` : ""}`,
|
|
@@ -8239,12 +8239,12 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
8239
8239
|
abandonEventWalletApi: g
|
|
8240
8240
|
};
|
|
8241
8241
|
}, $m = ({ gamePlatform: e } = {}) => {
|
|
8242
|
-
const { eventWalletListApi: n } =
|
|
8242
|
+
const { eventWalletListApi: n } = Xa();
|
|
8243
8243
|
return j({
|
|
8244
8244
|
queryKey: ["getEventWalletList", e],
|
|
8245
8245
|
queryFn: async () => await n({ gamePlatform: e }),
|
|
8246
8246
|
select: (t) => {
|
|
8247
|
-
const l =
|
|
8247
|
+
const l = te(t, "data", []), p = te(t, "summary", []), g = e ? Ke(p, (b) => b.restricted_platform === e) : p, U = te(l, "data", []), {
|
|
8248
8248
|
current_page: d,
|
|
8249
8249
|
first_page_url: r,
|
|
8250
8250
|
from: a,
|
|
@@ -8276,7 +8276,31 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
8276
8276
|
};
|
|
8277
8277
|
}
|
|
8278
8278
|
});
|
|
8279
|
-
}, Qm = (
|
|
8279
|
+
}, Qm = () => {
|
|
8280
|
+
const { enabledEventWalletApi: e } = Xa();
|
|
8281
|
+
return X({
|
|
8282
|
+
mutationKey: ["enabledEventWallet"],
|
|
8283
|
+
mutationFn: async ({ eventUids: n }) => await e({ eventUids: n })
|
|
8284
|
+
});
|
|
8285
|
+
}, jm = ({ gamePlatform: e = "" } = {}) => {
|
|
8286
|
+
const { evaluateEventWalletApi: n } = Xa();
|
|
8287
|
+
return j({
|
|
8288
|
+
queryKey: ["evaluateEventWallet", e],
|
|
8289
|
+
queryFn: async () => await n({ gamePlatform: e })
|
|
8290
|
+
});
|
|
8291
|
+
}, Ym = () => {
|
|
8292
|
+
const { settleEventWalletApi: e } = Xa();
|
|
8293
|
+
return X({
|
|
8294
|
+
mutationKey: ["settleEventWallet"],
|
|
8295
|
+
mutationFn: async ({ groupUid: n }) => await e({ groupUid: n })
|
|
8296
|
+
});
|
|
8297
|
+
}, Xm = () => {
|
|
8298
|
+
const { abandonEventWalletApi: e } = Xa();
|
|
8299
|
+
return X({
|
|
8300
|
+
mutationKey: ["abandonEventWallet"],
|
|
8301
|
+
mutationFn: async ({ groupUid: n }) => await e({ groupUid: n })
|
|
8302
|
+
});
|
|
8303
|
+
}, eu = ({ skipPreload: e = !1 } = {}) => {
|
|
8280
8304
|
const { lng: n, data2URL: t } = se(), { commonCarouselApi: l } = Wa(), p = Qe(n);
|
|
8281
8305
|
return j({
|
|
8282
8306
|
queryKey: ["getCarouselList", e],
|
|
@@ -8304,7 +8328,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
8304
8328
|
};
|
|
8305
8329
|
})
|
|
8306
8330
|
});
|
|
8307
|
-
},
|
|
8331
|
+
}, au = () => {
|
|
8308
8332
|
const { lng: e } = se(), { commonMarqueeApi: n } = Wa(), t = Qe(e);
|
|
8309
8333
|
return j({
|
|
8310
8334
|
queryKey: ["getMarqueeList"],
|
|
@@ -8317,7 +8341,7 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
8317
8341
|
return Be(p, (U) => U[t] || U?.en_US);
|
|
8318
8342
|
}
|
|
8319
8343
|
});
|
|
8320
|
-
},
|
|
8344
|
+
}, tu = ({ options: e } = {}) => {
|
|
8321
8345
|
const { rankingGameApi: n } = oe();
|
|
8322
8346
|
return j({
|
|
8323
8347
|
queryKey: ["rankingGame"],
|
|
@@ -8359,10 +8383,10 @@ const No = /* @__PURE__ */ _i(Eo), Lo = ({
|
|
|
8359
8383
|
...e
|
|
8360
8384
|
});
|
|
8361
8385
|
};
|
|
8362
|
-
var Qo = Object.create,
|
|
8363
|
-
if (n && typeof n == "object" || typeof n == "function") for (let p of Yo(n)) !es.call(e, p) && p !== t &&
|
|
8386
|
+
var Qo = Object.create, ll = Object.defineProperty, jo = Object.getOwnPropertyDescriptor, Yo = Object.getOwnPropertyNames, Xo = Object.getPrototypeOf, es = Object.prototype.hasOwnProperty, as = (e, n) => () => (n || e((n = { exports: {} }).exports, n), n.exports), ts = (e, n, t, l) => {
|
|
8387
|
+
if (n && typeof n == "object" || typeof n == "function") for (let p of Yo(n)) !es.call(e, p) && p !== t && ll(e, p, { get: () => n[p], enumerable: !(l = jo(n, p)) || l.enumerable });
|
|
8364
8388
|
return e;
|
|
8365
|
-
}, is = (e, n, t) => (t = e != null ? Qo(Xo(e)) : {}, ts(!e || !e.__esModule ?
|
|
8389
|
+
}, is = (e, n, t) => (t = e != null ? Qo(Xo(e)) : {}, ts(!e || !e.__esModule ? ll(t, "default", { value: e, enumerable: !0 }) : t, e)), ns = as((e, n) => {
|
|
8366
8390
|
(function(t, l) {
|
|
8367
8391
|
typeof e == "object" && typeof n < "u" ? l(e) : typeof define == "function" && define.amd ? define(["exports"], l) : (t = typeof globalThis < "u" ? globalThis : t || self, l(t.fastUniqueNumbers = {}));
|
|
8368
8392
|
})(e, function(t) {
|
|
@@ -8448,13 +8472,13 @@ var wa = {}, rs = class {
|
|
|
8448
8472
|
function ss(e = 0) {
|
|
8449
8473
|
return new Promise((n) => Xe.setTimeout(n, e));
|
|
8450
8474
|
}
|
|
8451
|
-
function
|
|
8475
|
+
function rl() {
|
|
8452
8476
|
return Math.random().toString(36).substring(2);
|
|
8453
8477
|
}
|
|
8454
8478
|
var ms = class {
|
|
8455
8479
|
options;
|
|
8456
8480
|
channel;
|
|
8457
|
-
token =
|
|
8481
|
+
token = rl();
|
|
8458
8482
|
isLeader = !1;
|
|
8459
8483
|
isDead = !1;
|
|
8460
8484
|
isApplying = !1;
|
|
@@ -8535,7 +8559,7 @@ var ms = class {
|
|
|
8535
8559
|
channel;
|
|
8536
8560
|
options;
|
|
8537
8561
|
elector;
|
|
8538
|
-
token =
|
|
8562
|
+
token = rl();
|
|
8539
8563
|
registry = /* @__PURE__ */ new Map();
|
|
8540
8564
|
allIdle = !1;
|
|
8541
8565
|
isLastActive = !1;
|
|
@@ -8645,7 +8669,7 @@ function ds(e, n) {
|
|
|
8645
8669
|
clearTimeout(t);
|
|
8646
8670
|
}, l;
|
|
8647
8671
|
}
|
|
8648
|
-
function
|
|
8672
|
+
function oi(e, n) {
|
|
8649
8673
|
let t = 0;
|
|
8650
8674
|
return function(...l) {
|
|
8651
8675
|
let p = (/* @__PURE__ */ new Date()).getTime();
|
|
@@ -8660,7 +8684,7 @@ function cs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8660
8684
|
}, onAction: o = () => {
|
|
8661
8685
|
}, onMessage: m = () => {
|
|
8662
8686
|
}, debounce: u = 0, throttle: s = 0, eventsThrottle: c = 200, startOnMount: f = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: b = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: D = !1, disabled: E = !1 } = {}) {
|
|
8663
|
-
let G =
|
|
8687
|
+
let G = ae(Te()), O = ae(Te()), k = ae(null), h = ae(null), F = ae(0), A = ae(0), w = ae(0), R = ae(0), P = ae(!1), H = ae(!1), B = ae(!1), W = ae(!0), M = ae(!1), S = ae(null), x = ae(null), L = ae(e), N = ae(0);
|
|
8664
8688
|
pe(() => {
|
|
8665
8689
|
if (n && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), t && n) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
|
|
8666
8690
|
if (e >= Fa) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${Fa}.`);
|
|
@@ -8672,44 +8696,44 @@ function cs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8672
8696
|
P.current && (me.current(null, Se), x.current && x.current.active()), je();
|
|
8673
8697
|
}
|
|
8674
8698
|
}, [e, n, t, y, E]);
|
|
8675
|
-
let Z =
|
|
8699
|
+
let Z = ae(_);
|
|
8676
8700
|
pe(() => {
|
|
8677
8701
|
Z.current = _;
|
|
8678
8702
|
}, [_]);
|
|
8679
|
-
let q =
|
|
8703
|
+
let q = ae(U), Q = ae(l), K = ae([...(/* @__PURE__ */ new Set([...p, ...U])).values()]), ie = ae(E);
|
|
8680
8704
|
pe(() => {
|
|
8681
|
-
|
|
8705
|
+
ie.current = E, !W.current && (E ? Ve() : y || je());
|
|
8682
8706
|
}, [E]);
|
|
8683
|
-
let
|
|
8707
|
+
let le = ae(d);
|
|
8684
8708
|
pe(() => {
|
|
8685
|
-
|
|
8709
|
+
le.current = d;
|
|
8686
8710
|
}, [d]);
|
|
8687
|
-
let ye =
|
|
8711
|
+
let ye = ae(r);
|
|
8688
8712
|
pe(() => {
|
|
8689
8713
|
ye.current = r;
|
|
8690
8714
|
}, [r]);
|
|
8691
|
-
let Ue =
|
|
8715
|
+
let Ue = ae(a);
|
|
8692
8716
|
pe(() => {
|
|
8693
8717
|
Ue.current = a;
|
|
8694
8718
|
}, [a]);
|
|
8695
|
-
let me =
|
|
8719
|
+
let me = ae(i);
|
|
8696
8720
|
pe(() => {
|
|
8697
8721
|
me.current = i;
|
|
8698
8722
|
}, [i]);
|
|
8699
|
-
let ce =
|
|
8723
|
+
let ce = ae(o);
|
|
8700
8724
|
pe(() => {
|
|
8701
8725
|
ce.current = o;
|
|
8702
8726
|
}, [o]);
|
|
8703
|
-
let ke =
|
|
8727
|
+
let ke = ae(m);
|
|
8704
8728
|
pe(() => {
|
|
8705
8729
|
ke.current = m;
|
|
8706
8730
|
}, [m]);
|
|
8707
8731
|
let fe = Oa(() => {
|
|
8708
8732
|
let V = (De, ia) => ce.current(De, ia);
|
|
8709
|
-
return u > 0 ? ds(V, u) : s > 0 ?
|
|
8710
|
-
}, [s, u]), Ie =
|
|
8733
|
+
return u > 0 ? ds(V, u) : s > 0 ? oi(V, s) : V;
|
|
8734
|
+
}, [s, u]), Ie = ae();
|
|
8711
8735
|
pe(() => {
|
|
8712
|
-
b && v && (Ie.current =
|
|
8736
|
+
b && v && (Ie.current = oi(() => {
|
|
8713
8737
|
x.current.active();
|
|
8714
8738
|
}, v));
|
|
8715
8739
|
}, [b, v]);
|
|
@@ -8718,11 +8742,11 @@ function cs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8718
8742
|
}, Ge = (V, De = !0) => {
|
|
8719
8743
|
Ce(), S.current = Xe.setTimeout(He, V || L.current), De && (h.current = Te());
|
|
8720
8744
|
}, ea = (V) => {
|
|
8721
|
-
!H.current && !P.current && (ye.current(V, Se),
|
|
8745
|
+
!H.current && !P.current && (ye.current(V, Se), le.current({ type: "active", prompted: !0 }, Se)), R.current = 0, w.current = Te(), H.current = !0, Ge(N.current, !1);
|
|
8722
8746
|
}, Me = () => {
|
|
8723
|
-
Ce(), P.current || (Ue.current(null, Se),
|
|
8747
|
+
Ce(), P.current || (Ue.current(null, Se), le.current({ type: "idle" }, Se)), P.current = !0, k.current = Te(), Z.current ? Re() : H.current && (w.current = 0, H.current = !1);
|
|
8724
8748
|
}, ve = (V) => {
|
|
8725
|
-
Ce(), (P.current || H.current) && (me.current(V, Se),
|
|
8749
|
+
Ce(), (P.current || H.current) && (me.current(V, Se), le.current({ type: "active", prompted: !1 }, Se)), H.current = !1, w.current = 0, P.current = !1, F.current += Te() - k.current, A.current += Te() - k.current, xe(), Ge();
|
|
8726
8750
|
}, He = (V) => {
|
|
8727
8751
|
if (!P.current) {
|
|
8728
8752
|
fe.cancel && fe.cancel();
|
|
@@ -8747,10 +8771,10 @@ function cs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8747
8771
|
return;
|
|
8748
8772
|
}
|
|
8749
8773
|
B.current = !1, R.current = 0, w.current = 0, Ge(), b && v && Ie.current();
|
|
8750
|
-
}, ta =
|
|
8774
|
+
}, ta = ae(aa);
|
|
8751
8775
|
pe(() => {
|
|
8752
8776
|
let V = M.current;
|
|
8753
|
-
V && Re(), c > 0 ? ta.current =
|
|
8777
|
+
V && Re(), c > 0 ? ta.current = oi(aa, c) : ta.current = aa, V && xe();
|
|
8754
8778
|
}, [c, s, u, ce, b, v]);
|
|
8755
8779
|
let xe = () => {
|
|
8756
8780
|
pa && Q.current && (M.current || (K.current.forEach((V) => {
|
|
@@ -8760,7 +8784,7 @@ function cs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8760
8784
|
pa && Q.current && (M.current || V) && (K.current.forEach((De) => {
|
|
8761
8785
|
Q.current.removeEventListener(De, ta.current, { capture: !0 });
|
|
8762
8786
|
}), M.current = !1);
|
|
8763
|
-
}, je = z((V) =>
|
|
8787
|
+
}, je = z((V) => ie.current ? !1 : (Ce(), xe(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.start(), Ge(), !0), [S, P, ie, L, x]), oa = z((V) => ie.current ? !1 : (Ce(), xe(), O.current = Te(), F.current += Te() - k.current, A.current += Te() - k.current, F.current = 0, P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, x.current && !V && x.current.reset(), y || Ge(), !0), [S, P, L, y, ie, x]), ga = z((V) => ie.current ? !1 : (Ce(), xe(), (P.current || H.current) && ve(), P.current = !1, H.current = !1, B.current = !1, R.current = 0, w.current = 0, O.current = Te(), x.current && !V && x.current.activate(), Ge(), !0), [S, P, H, ie, L, x]), Ve = z((V = !1) => ie.current || B.current ? !1 : (R.current = ya(), B.current = !0, Re(), Ce(), x.current && !V && x.current.pause(), !0), [S, ie, x]), Ye = z((V = !1) => ie.current || !B.current ? !1 : (B.current = !1, H.current || xe(), P.current || Ge(R.current), w.current && (w.current = Te()), x.current && !V && x.current.resume(), !0), [S, L, ie, R, x]), Ia = z((V, De) => (x.current ? (De && ke.current(V, Se), x.current.message(V)) : De && ke.current(V, Se), !0), [m]), Da = z(() => P.current, [P]), Ea = z(() => H.current, [H]), Va = z(() => x.current ? x.current.isLeader : null, [x]), Ja = z(() => x.current ? x.current.isLastActive : null, [x]), da = z(() => x.current ? x.current.token : null, [x]), ya = z(() => {
|
|
8764
8788
|
if (B.current) return R.current;
|
|
8765
8789
|
let V = R.current ? R.current : N.current + L.current, De = h.current ? Te() - h.current : 0, ia = Math.floor(V - De);
|
|
8766
8790
|
return ia < 0 ? 0 : Math.abs(ia);
|
|
@@ -8802,7 +8826,7 @@ function cs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8802
8826
|
W.current && (W.current = !1);
|
|
8803
8827
|
}, [W]);
|
|
8804
8828
|
let Se = { message: Ia, start: je, reset: oa, activate: ga, pause: Ve, resume: Ye, isIdle: Da, isPrompted: Ea, isLeader: Va, isLastActiveTab: Ja, getTabId: da, getRemainingTime: ya, getElapsedTime: qe, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: Na, getIdleTime: La, getTotalIdleTime: Ua, getActiveTime: Ga, getTotalActiveTime: Ma, setOnPresenceChange: (V) => {
|
|
8805
|
-
d = V,
|
|
8829
|
+
d = V, le.current = V;
|
|
8806
8830
|
}, setOnPrompt: (V) => {
|
|
8807
8831
|
r = V, ye.current = V;
|
|
8808
8832
|
}, setOnIdle: (V) => {
|
|
@@ -8816,9 +8840,9 @@ function cs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8816
8840
|
} };
|
|
8817
8841
|
return Se;
|
|
8818
8842
|
}
|
|
8819
|
-
var fs =
|
|
8843
|
+
var fs = $t(null);
|
|
8820
8844
|
fs.Consumer;
|
|
8821
|
-
const
|
|
8845
|
+
const iu = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
8822
8846
|
onIdle: e,
|
|
8823
8847
|
onActive: n,
|
|
8824
8848
|
onAction: t,
|
|
@@ -8847,12 +8871,12 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
8847
8871
|
});
|
|
8848
8872
|
}, ys = ({ options: e } = {}) => {
|
|
8849
8873
|
const { commonReadInboxApi: n } = Wa();
|
|
8850
|
-
return
|
|
8874
|
+
return X({
|
|
8851
8875
|
mutationKey: ["readInbox"],
|
|
8852
8876
|
mutationFn: async (t) => await n(t),
|
|
8853
8877
|
...e
|
|
8854
8878
|
});
|
|
8855
|
-
},
|
|
8879
|
+
}, nu = ({
|
|
8856
8880
|
options: e = {
|
|
8857
8881
|
inboxList: {},
|
|
8858
8882
|
readInbox: {}
|
|
@@ -8863,7 +8887,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
8863
8887
|
inboxListQuery: n,
|
|
8864
8888
|
readInboxMutation: t
|
|
8865
8889
|
};
|
|
8866
|
-
},
|
|
8890
|
+
}, ol = () => {
|
|
8867
8891
|
const { client: e } = se();
|
|
8868
8892
|
return {
|
|
8869
8893
|
newsListApi: z(
|
|
@@ -8919,8 +8943,8 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
8919
8943
|
value: "other",
|
|
8920
8944
|
...e.other
|
|
8921
8945
|
}
|
|
8922
|
-
],
|
|
8923
|
-
const { lng: t } = se(), { newsListApi: l } =
|
|
8946
|
+
], lu = ({ options: e, formData: n } = {}) => {
|
|
8947
|
+
const { lng: t } = se(), { newsListApi: l } = ol(), p = Qe(t);
|
|
8924
8948
|
return j({
|
|
8925
8949
|
queryKey: ["newsList"],
|
|
8926
8950
|
queryFn: () => {
|
|
@@ -8945,8 +8969,8 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
8945
8969
|
},
|
|
8946
8970
|
...e
|
|
8947
8971
|
});
|
|
8948
|
-
},
|
|
8949
|
-
const { lng: t } = se(), { newsListApi: l } =
|
|
8972
|
+
}, ru = ({ options: e, formData: n } = {}) => {
|
|
8973
|
+
const { lng: t } = se(), { newsListApi: l } = ol(), p = Qe(t);
|
|
8950
8974
|
return j({
|
|
8951
8975
|
queryKey: ["newsList"],
|
|
8952
8976
|
queryFn: () => {
|
|
@@ -9007,7 +9031,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9007
9031
|
withdrawal_amount: c,
|
|
9008
9032
|
bank_account_number: f,
|
|
9009
9033
|
currency_code: y,
|
|
9010
|
-
withdrawal_code:
|
|
9034
|
+
withdrawal_code: Kt.MD5(_).toString(),
|
|
9011
9035
|
payment_type: "ThirdParty"
|
|
9012
9036
|
}
|
|
9013
9037
|
});
|
|
@@ -9152,11 +9176,11 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9152
9176
|
providerList: Be(r.providers, (a) => ({
|
|
9153
9177
|
...a,
|
|
9154
9178
|
providerUid: a.uid,
|
|
9155
|
-
providerImageUrl: `${Ze}/paymentIcon/${
|
|
9179
|
+
providerImageUrl: `${Ze}/paymentIcon/${Ei(a.provider_name)}.png`,
|
|
9156
9180
|
providerMax: a.max,
|
|
9157
9181
|
providerMin: a.min
|
|
9158
9182
|
})),
|
|
9159
|
-
methodImageUrl: `${Ze}/paymentIcon/${
|
|
9183
|
+
methodImageUrl: `${Ze}/paymentIcon/${Ei(r.method_name)}pay.png`
|
|
9160
9184
|
}));
|
|
9161
9185
|
return {
|
|
9162
9186
|
bank: g,
|
|
@@ -9168,14 +9192,14 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9168
9192
|
});
|
|
9169
9193
|
}, vs = ({ options: e } = {}) => {
|
|
9170
9194
|
const { depositApi: n } = Ae();
|
|
9171
|
-
return
|
|
9195
|
+
return X({
|
|
9172
9196
|
mutationKey: ["depositAction"],
|
|
9173
9197
|
mutationFn: async (t) => n(t),
|
|
9174
9198
|
...e
|
|
9175
9199
|
});
|
|
9176
9200
|
}, hs = ({ options: e } = {}) => {
|
|
9177
9201
|
const { withdrawApi: n } = Ae();
|
|
9178
|
-
return
|
|
9202
|
+
return X({
|
|
9179
9203
|
mutationKey: ["withdrawAction"],
|
|
9180
9204
|
mutationFn: async (t) => n(t),
|
|
9181
9205
|
...e
|
|
@@ -9196,7 +9220,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9196
9220
|
});
|
|
9197
9221
|
}, xs = ({ options: e } = {}) => {
|
|
9198
9222
|
const { bankDepositApi: n } = Ae();
|
|
9199
|
-
return
|
|
9223
|
+
return X({
|
|
9200
9224
|
mutationKey: ["bankDeposit"],
|
|
9201
9225
|
mutationFn: async (t) => n(t),
|
|
9202
9226
|
...e
|
|
@@ -9208,63 +9232,63 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9208
9232
|
queryFn: () => t({ paramsData: e }),
|
|
9209
9233
|
...n
|
|
9210
9234
|
});
|
|
9211
|
-
},
|
|
9235
|
+
}, ou = ({ options: e } = {}) => {
|
|
9212
9236
|
const { redeemCodeDepositApi: n } = Ae();
|
|
9213
|
-
return
|
|
9237
|
+
return X({
|
|
9214
9238
|
mutationKey: ["redeemCodeDeposit"],
|
|
9215
9239
|
mutationFn: async (t) => n(t),
|
|
9216
9240
|
...e
|
|
9217
9241
|
});
|
|
9218
|
-
},
|
|
9242
|
+
}, su = ({ options: e } = {}) => {
|
|
9219
9243
|
const { invoiceApi: n } = Ae();
|
|
9220
|
-
return
|
|
9244
|
+
return X({
|
|
9221
9245
|
mutationKey: ["invoiceAction"],
|
|
9222
9246
|
mutationFn: async (t) => n(t),
|
|
9223
9247
|
...e
|
|
9224
9248
|
});
|
|
9225
|
-
},
|
|
9249
|
+
}, mu = ({ options: e } = {}) => {
|
|
9226
9250
|
const { updateInvoiceApi: n } = Ae();
|
|
9227
|
-
return
|
|
9251
|
+
return X({
|
|
9228
9252
|
mutationKey: ["updateInvoiceAction"],
|
|
9229
9253
|
mutationFn: async (t) => n(t),
|
|
9230
9254
|
...e
|
|
9231
9255
|
});
|
|
9232
|
-
},
|
|
9256
|
+
}, uu = ({ options: e, paramsData: n } = {}) => {
|
|
9233
9257
|
const { transactionRecordApi: t } = Ae();
|
|
9234
9258
|
return j({
|
|
9235
9259
|
queryKey: ["transactionRecord", "deposit"],
|
|
9236
9260
|
queryFn: () => t(n, "deposit"),
|
|
9237
9261
|
...e
|
|
9238
9262
|
});
|
|
9239
|
-
},
|
|
9263
|
+
}, pu = ({ options: e, paramsData: n } = {}) => {
|
|
9240
9264
|
const { transactionRecordApi: t } = Ae();
|
|
9241
9265
|
return j({
|
|
9242
9266
|
queryKey: ["transactionRecord", "withdraw"],
|
|
9243
9267
|
queryFn: () => t(n, "withdraw"),
|
|
9244
9268
|
...e
|
|
9245
9269
|
});
|
|
9246
|
-
},
|
|
9270
|
+
}, gu = ({ options: e, paramsData: n } = {}) => {
|
|
9247
9271
|
const { transactionRecordApi: t } = Ae();
|
|
9248
9272
|
return j({
|
|
9249
9273
|
queryKey: ["transactionRecord", "event"],
|
|
9250
9274
|
queryFn: () => t(n, "event"),
|
|
9251
9275
|
...e
|
|
9252
9276
|
});
|
|
9253
|
-
},
|
|
9277
|
+
}, du = ({ options: e, paramsData: n } = {}) => {
|
|
9254
9278
|
const { transactionRecordApi: t } = Ae();
|
|
9255
9279
|
return j({
|
|
9256
9280
|
queryKey: ["transactionRecord", "rebate"],
|
|
9257
9281
|
queryFn: () => t(n, "rebate"),
|
|
9258
9282
|
...e
|
|
9259
9283
|
});
|
|
9260
|
-
},
|
|
9284
|
+
}, cu = ({ options: e, paramsData: n } = {}) => {
|
|
9261
9285
|
const { treasureRecordApi: t } = Ae();
|
|
9262
9286
|
return j({
|
|
9263
9287
|
queryKey: ["treasureRecord", n],
|
|
9264
9288
|
queryFn: () => t(n),
|
|
9265
9289
|
...e
|
|
9266
9290
|
});
|
|
9267
|
-
},
|
|
9291
|
+
}, fu = ({
|
|
9268
9292
|
depositV1: e = {},
|
|
9269
9293
|
depositV2: n = {},
|
|
9270
9294
|
depositTransaction: t = {},
|
|
@@ -9287,10 +9311,10 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9287
9311
|
eventTransaction: s,
|
|
9288
9312
|
withdrawTransaction: c
|
|
9289
9313
|
};
|
|
9290
|
-
},
|
|
9314
|
+
}, sl = "3.7.8", Ds = sl, za = typeof Buffer == "function", Rn = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Pn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Es = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", ja = Array.prototype.slice.call(Es), ot = ((e) => {
|
|
9291
9315
|
let n = {};
|
|
9292
9316
|
return e.forEach((t, l) => n[t] = l), n;
|
|
9293
|
-
})(ja), Ns = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String),
|
|
9317
|
+
})(ja), Ns = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), wn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), ml = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), ul = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), pl = (e) => {
|
|
9294
9318
|
let n, t, l, p, g = "";
|
|
9295
9319
|
const U = e.length % 3;
|
|
9296
9320
|
for (let d = 0; d < e.length; ) {
|
|
@@ -9299,12 +9323,12 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9299
9323
|
n = t << 16 | l << 8 | p, g += ja[n >> 18 & 63] + ja[n >> 12 & 63] + ja[n >> 6 & 63] + ja[n & 63];
|
|
9300
9324
|
}
|
|
9301
9325
|
return U ? g.slice(0, U - 3) + "===".substring(U) : g;
|
|
9302
|
-
},
|
|
9326
|
+
}, Si = typeof btoa == "function" ? (e) => btoa(e) : za ? (e) => Buffer.from(e, "binary").toString("base64") : pl, pi = za ? (e) => Buffer.from(e).toString("base64") : (e) => {
|
|
9303
9327
|
let t = [];
|
|
9304
9328
|
for (let l = 0, p = e.length; l < p; l += 4096)
|
|
9305
9329
|
t.push(Le.apply(null, e.subarray(l, l + 4096)));
|
|
9306
|
-
return
|
|
9307
|
-
},
|
|
9330
|
+
return Si(t.join(""));
|
|
9331
|
+
}, Zt = (e, n = !1) => n ? ml(pi(e)) : pi(e), Ls = (e) => {
|
|
9308
9332
|
if (e.length < 2) {
|
|
9309
9333
|
var n = e.charCodeAt(0);
|
|
9310
9334
|
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);
|
|
@@ -9312,7 +9336,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9312
9336
|
var n = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
|
|
9313
9337
|
return Le(240 | n >>> 18 & 7) + Le(128 | n >>> 12 & 63) + Le(128 | n >>> 6 & 63) + Le(128 | n & 63);
|
|
9314
9338
|
}
|
|
9315
|
-
}, Gs = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,
|
|
9339
|
+
}, Gs = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, gl = (e) => e.replace(Gs, Ls), Fn = za ? (e) => Buffer.from(e, "utf8").toString("base64") : Pn ? (e) => pi(Pn.encode(e)) : (e) => Si(gl(e)), Ha = (e, n = !1) => n ? ml(Fn(e)) : Fn(e), An = (e) => Ha(e, !0), Ms = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Rs = (e) => {
|
|
9316
9340
|
switch (e.length) {
|
|
9317
9341
|
case 4:
|
|
9318
9342
|
var n = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), t = n - 65536;
|
|
@@ -9322,28 +9346,28 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9322
9346
|
default:
|
|
9323
9347
|
return Le((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
|
|
9324
9348
|
}
|
|
9325
|
-
},
|
|
9349
|
+
}, dl = (e) => e.replace(Ms, Rs), cl = (e) => {
|
|
9326
9350
|
if (e = e.replace(/\s+/g, ""), !Ns.test(e))
|
|
9327
9351
|
throw new TypeError("malformed base64.");
|
|
9328
9352
|
e += "==".slice(2 - (e.length & 3));
|
|
9329
9353
|
let n, t, l, p = [];
|
|
9330
9354
|
for (let g = 0; g < e.length; )
|
|
9331
|
-
n =
|
|
9355
|
+
n = ot[e.charAt(g++)] << 18 | ot[e.charAt(g++)] << 12 | (t = ot[e.charAt(g++)]) << 6 | (l = ot[e.charAt(g++)]), t === 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));
|
|
9332
9356
|
return p.join("");
|
|
9333
|
-
},
|
|
9357
|
+
}, Di = typeof atob == "function" ? (e) => atob(ul(e)) : za ? (e) => Buffer.from(e, "base64").toString("binary") : cl, fl = za ? (e) => wn(Buffer.from(e, "base64")) : (e) => wn(Di(e).split("").map((n) => n.charCodeAt(0))), _l = (e) => fl(yl(e)), Ps = za ? (e) => Buffer.from(e, "base64").toString("utf8") : Rn ? (e) => Rn.decode(fl(e)) : (e) => dl(Di(e)), yl = (e) => ul(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), gi = (e) => Ps(yl(e)), ws = (e) => {
|
|
9334
9358
|
if (typeof e != "string")
|
|
9335
9359
|
return !1;
|
|
9336
9360
|
const n = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
|
|
9337
9361
|
return !/[^\s0-9a-zA-Z\+/]/.test(n) || !/[^\s0-9a-zA-Z\-_]/.test(n);
|
|
9338
|
-
},
|
|
9362
|
+
}, Ul = (e) => ({
|
|
9339
9363
|
value: e,
|
|
9340
9364
|
enumerable: !1,
|
|
9341
9365
|
writable: !0,
|
|
9342
9366
|
configurable: !0
|
|
9343
|
-
}),
|
|
9344
|
-
const e = (n, t) => Object.defineProperty(String.prototype, n,
|
|
9367
|
+
}), bl = function() {
|
|
9368
|
+
const e = (n, t) => Object.defineProperty(String.prototype, n, Ul(t));
|
|
9345
9369
|
e("fromBase64", function() {
|
|
9346
|
-
return
|
|
9370
|
+
return gi(this);
|
|
9347
9371
|
}), e("toBase64", function(n) {
|
|
9348
9372
|
return Ha(this, n);
|
|
9349
9373
|
}), e("toBase64URI", function() {
|
|
@@ -9351,42 +9375,42 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9351
9375
|
}), e("toBase64URL", function() {
|
|
9352
9376
|
return Ha(this, !0);
|
|
9353
9377
|
}), e("toUint8Array", function() {
|
|
9354
|
-
return
|
|
9378
|
+
return _l(this);
|
|
9355
9379
|
});
|
|
9356
|
-
},
|
|
9357
|
-
const e = (n, t) => Object.defineProperty(Uint8Array.prototype, n,
|
|
9380
|
+
}, Cl = function() {
|
|
9381
|
+
const e = (n, t) => Object.defineProperty(Uint8Array.prototype, n, Ul(t));
|
|
9358
9382
|
e("toBase64", function(n) {
|
|
9359
|
-
return
|
|
9383
|
+
return Zt(this, n);
|
|
9360
9384
|
}), e("toBase64URI", function() {
|
|
9361
|
-
return
|
|
9385
|
+
return Zt(this, !0);
|
|
9362
9386
|
}), e("toBase64URL", function() {
|
|
9363
|
-
return
|
|
9387
|
+
return Zt(this, !0);
|
|
9364
9388
|
});
|
|
9365
9389
|
}, Fs = () => {
|
|
9366
|
-
|
|
9390
|
+
bl(), Cl();
|
|
9367
9391
|
}, As = {
|
|
9368
|
-
version:
|
|
9392
|
+
version: sl,
|
|
9369
9393
|
VERSION: Ds,
|
|
9370
|
-
atob:
|
|
9371
|
-
atobPolyfill:
|
|
9372
|
-
btoa:
|
|
9373
|
-
btoaPolyfill:
|
|
9374
|
-
fromBase64:
|
|
9394
|
+
atob: Di,
|
|
9395
|
+
atobPolyfill: cl,
|
|
9396
|
+
btoa: Si,
|
|
9397
|
+
btoaPolyfill: pl,
|
|
9398
|
+
fromBase64: gi,
|
|
9375
9399
|
toBase64: Ha,
|
|
9376
9400
|
encode: Ha,
|
|
9377
|
-
encodeURI:
|
|
9378
|
-
encodeURL:
|
|
9379
|
-
utob:
|
|
9380
|
-
btou:
|
|
9381
|
-
decode:
|
|
9401
|
+
encodeURI: An,
|
|
9402
|
+
encodeURL: An,
|
|
9403
|
+
utob: gl,
|
|
9404
|
+
btou: dl,
|
|
9405
|
+
decode: gi,
|
|
9382
9406
|
isValid: ws,
|
|
9383
|
-
fromUint8Array:
|
|
9384
|
-
toUint8Array:
|
|
9385
|
-
extendString:
|
|
9386
|
-
extendUint8Array:
|
|
9407
|
+
fromUint8Array: Zt,
|
|
9408
|
+
toUint8Array: _l,
|
|
9409
|
+
extendString: bl,
|
|
9410
|
+
extendUint8Array: Cl,
|
|
9387
9411
|
extendBuiltins: Fs
|
|
9388
|
-
},
|
|
9389
|
-
const { playGameApi: t } =
|
|
9412
|
+
}, _u = (e, n) => {
|
|
9413
|
+
const { playGameApi: t } = Ci();
|
|
9390
9414
|
return j({
|
|
9391
9415
|
queryKey: ["playGame"],
|
|
9392
9416
|
queryFn: async () => {
|
|
@@ -9419,28 +9443,28 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9419
9443
|
enabled: !!e?.gameCode,
|
|
9420
9444
|
...n
|
|
9421
9445
|
});
|
|
9422
|
-
},
|
|
9446
|
+
}, vl = () => {
|
|
9423
9447
|
const { client: e } = se(), n = z(async () => await e.get("/rebate"), [e]), t = z(async () => await e.post("/withdraw/rebate"), [e]);
|
|
9424
9448
|
return {
|
|
9425
9449
|
currentRebateApi: n,
|
|
9426
9450
|
receiveRebateApi: t
|
|
9427
9451
|
};
|
|
9428
9452
|
}, Os = ({ options: e } = {}) => {
|
|
9429
|
-
const { currentRebateApi: n } =
|
|
9453
|
+
const { currentRebateApi: n } = vl();
|
|
9430
9454
|
return j({
|
|
9431
9455
|
queryKey: ["currentRebate"],
|
|
9432
9456
|
queryFn: () => n(),
|
|
9433
|
-
select: (t) =>
|
|
9457
|
+
select: (t) => Il(t, ["code", "status"]),
|
|
9434
9458
|
...e
|
|
9435
9459
|
});
|
|
9436
9460
|
}, Bs = ({ options: e } = {}) => {
|
|
9437
|
-
const { receiveRebateApi: n } =
|
|
9438
|
-
return
|
|
9461
|
+
const { receiveRebateApi: n } = vl();
|
|
9462
|
+
return X({
|
|
9439
9463
|
mutationKey: ["receiveRebate"],
|
|
9440
9464
|
mutationFn: async () => n(),
|
|
9441
9465
|
...e
|
|
9442
9466
|
});
|
|
9443
|
-
},
|
|
9467
|
+
}, yu = ({
|
|
9444
9468
|
options: e = {
|
|
9445
9469
|
currentRebate: {},
|
|
9446
9470
|
receiveRebate: {}
|
|
@@ -9451,7 +9475,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9451
9475
|
currentRebate: n,
|
|
9452
9476
|
receiveRebate: t
|
|
9453
9477
|
};
|
|
9454
|
-
},
|
|
9478
|
+
}, et = () => {
|
|
9455
9479
|
const { client: e } = se(), n = z(
|
|
9456
9480
|
async ({ uid: U, params: d } = {}) => await e.get(`/memberRewards${U ? `/${U}` : ""}`, {
|
|
9457
9481
|
params: d
|
|
@@ -9471,7 +9495,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9471
9495
|
historyRewardApi: g
|
|
9472
9496
|
};
|
|
9473
9497
|
}, Hs = ({ options: e, formData: n } = {}) => {
|
|
9474
|
-
const { rewardListApi: t } =
|
|
9498
|
+
const { rewardListApi: t } = et();
|
|
9475
9499
|
return j({
|
|
9476
9500
|
queryKey: ["rewardsList"],
|
|
9477
9501
|
queryFn: () => {
|
|
@@ -9483,7 +9507,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9483
9507
|
const {
|
|
9484
9508
|
wagering_restricted_amount: U,
|
|
9485
9509
|
claimed_amount: d
|
|
9486
|
-
} = g, r =
|
|
9510
|
+
} = g, r = te(g, "rewards", {}), {
|
|
9487
9511
|
expiration_days: a,
|
|
9488
9512
|
name: i,
|
|
9489
9513
|
position: o,
|
|
@@ -9499,8 +9523,8 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9499
9523
|
rewardUid: u,
|
|
9500
9524
|
rewardWagering: U,
|
|
9501
9525
|
rewardAmount: d,
|
|
9502
|
-
rewardBg:
|
|
9503
|
-
rewardIcon:
|
|
9526
|
+
rewardBg: qn(),
|
|
9527
|
+
rewardIcon: Kn("win")
|
|
9504
9528
|
};
|
|
9505
9529
|
});
|
|
9506
9530
|
return {
|
|
@@ -9511,34 +9535,34 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9511
9535
|
...e
|
|
9512
9536
|
});
|
|
9513
9537
|
}, Ws = ({ options: e } = {}) => {
|
|
9514
|
-
const { redeemRewardApi: n } =
|
|
9515
|
-
return
|
|
9538
|
+
const { redeemRewardApi: n } = et();
|
|
9539
|
+
return X({
|
|
9516
9540
|
mutationKey: ["redeemReward"],
|
|
9517
9541
|
mutationFn: async (t) => await n(t),
|
|
9518
9542
|
...e
|
|
9519
9543
|
});
|
|
9520
9544
|
}, zs = ({ options: e } = {}) => {
|
|
9521
|
-
const { unUsedRewardListApi: n } =
|
|
9545
|
+
const { unUsedRewardListApi: n } = et();
|
|
9522
9546
|
return j({
|
|
9523
9547
|
queryKey: ["unUsedRewardsList"],
|
|
9524
9548
|
queryFn: n,
|
|
9525
9549
|
...e
|
|
9526
9550
|
});
|
|
9527
9551
|
}, Is = ({ options: e } = {}) => {
|
|
9528
|
-
const { expiredRewardListApi: n } =
|
|
9552
|
+
const { expiredRewardListApi: n } = et();
|
|
9529
9553
|
return j({
|
|
9530
9554
|
queryKey: ["expiredRewardsList"],
|
|
9531
9555
|
queryFn: n,
|
|
9532
9556
|
...e
|
|
9533
9557
|
});
|
|
9534
9558
|
}, Vs = ({ options: e } = {}) => {
|
|
9535
|
-
const { historyRewardApi: n } =
|
|
9559
|
+
const { historyRewardApi: n } = et();
|
|
9536
9560
|
return j({
|
|
9537
9561
|
queryKey: ["historyRewardsList"],
|
|
9538
9562
|
queryFn: n,
|
|
9539
9563
|
...e
|
|
9540
9564
|
});
|
|
9541
|
-
},
|
|
9565
|
+
}, Uu = ({
|
|
9542
9566
|
options: e = {
|
|
9543
9567
|
rewardsList: {},
|
|
9544
9568
|
redeemReward: {},
|
|
@@ -9563,7 +9587,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9563
9587
|
expiredRewardsListQuery: p,
|
|
9564
9588
|
historyRewardsListQuery: g
|
|
9565
9589
|
};
|
|
9566
|
-
},
|
|
9590
|
+
}, hl = () => {
|
|
9567
9591
|
const { client: e } = se(), n = z(
|
|
9568
9592
|
async (l = {}) => {
|
|
9569
9593
|
const {
|
|
@@ -9598,20 +9622,20 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9598
9622
|
treasureListApi: n,
|
|
9599
9623
|
redeemTreasureApi: t
|
|
9600
9624
|
};
|
|
9601
|
-
},
|
|
9602
|
-
const { client: t, lng: l } = se(), p = Qe(l || "tw"), { treasureListApi: g } =
|
|
9625
|
+
}, bu = ({ paramsData: e, options: n } = {}) => {
|
|
9626
|
+
const { client: t, lng: l } = se(), p = Qe(l || "tw"), { treasureListApi: g } = hl();
|
|
9603
9627
|
return j({
|
|
9604
9628
|
queryKey: ["treasureList", e],
|
|
9605
9629
|
queryFn: () => g(e),
|
|
9606
9630
|
select: (U) => {
|
|
9607
|
-
const d =
|
|
9608
|
-
current_page:
|
|
9609
|
-
per_page:
|
|
9610
|
-
total:
|
|
9611
|
-
last_page:
|
|
9631
|
+
const d = te(U, "data", {}), r = {
|
|
9632
|
+
current_page: te(d, "current_page", 1),
|
|
9633
|
+
per_page: te(d, "per_page", 10),
|
|
9634
|
+
total: te(d, "total", 1),
|
|
9635
|
+
last_page: te(d, "last_page", 1)
|
|
9612
9636
|
};
|
|
9613
9637
|
return {
|
|
9614
|
-
list: Be(
|
|
9638
|
+
list: Be(te(d, "data", []), (i) => {
|
|
9615
9639
|
const o = Ke(i.treasure_copywriting, {
|
|
9616
9640
|
language: p
|
|
9617
9641
|
});
|
|
@@ -9626,21 +9650,21 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9626
9650
|
},
|
|
9627
9651
|
...n
|
|
9628
9652
|
});
|
|
9629
|
-
},
|
|
9630
|
-
const { redeemTreasureApi: n } =
|
|
9631
|
-
return
|
|
9653
|
+
}, Cu = ({ options: e } = {}) => {
|
|
9654
|
+
const { redeemTreasureApi: n } = hl();
|
|
9655
|
+
return X({
|
|
9632
9656
|
mutationKey: ["redeemTreasure"],
|
|
9633
9657
|
mutationFn: async (t) => n(t),
|
|
9634
9658
|
...e
|
|
9635
9659
|
});
|
|
9636
|
-
},
|
|
9660
|
+
}, Tl = () => {
|
|
9637
9661
|
const { client: e } = se(), n = z(async () => await e.get("/vip/list"), [e]), t = z(async () => await e.get("/vip/check"), [e]);
|
|
9638
9662
|
return {
|
|
9639
9663
|
vipListApi: n,
|
|
9640
9664
|
vipInfoApi: t
|
|
9641
9665
|
};
|
|
9642
|
-
},
|
|
9643
|
-
const { store: n } = se(), t = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: l } =
|
|
9666
|
+
}, vu = ({ options: e } = {}) => {
|
|
9667
|
+
const { store: n } = se(), t = n?.getState()?.isMemberInfo || n?.getState()?.member?.member || {}, { vipInfoApi: l } = Tl();
|
|
9644
9668
|
return j({
|
|
9645
9669
|
queryKey: ["vipInfo"],
|
|
9646
9670
|
queryFn: async () => l(),
|
|
@@ -9655,7 +9679,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9655
9679
|
...e
|
|
9656
9680
|
});
|
|
9657
9681
|
}, Js = ({ options: e } = {}) => {
|
|
9658
|
-
const { store: n } = se(), t = n?.getState()?.isWalletCurrency || n?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: l } =
|
|
9682
|
+
const { store: n } = se(), t = n?.getState()?.isWalletCurrency || n?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: l } = Tl();
|
|
9659
9683
|
return j({
|
|
9660
9684
|
queryKey: ["vipList"],
|
|
9661
9685
|
queryFn: async () => {
|
|
@@ -9674,7 +9698,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9674
9698
|
} = d, u = Ke(r, { currency_code: t }) || {}, s = Ke(a, { currency_code: t }) || {}, c = i, f = Be(o, (b) => ({
|
|
9675
9699
|
...b,
|
|
9676
9700
|
rebateRange: JSON.parse(b.rebate_range)
|
|
9677
|
-
})), y =
|
|
9701
|
+
})), y = te(m, "[0]", {}), _ = {
|
|
9678
9702
|
...y,
|
|
9679
9703
|
platformRebate: JSON.parse(y.rebate || "{}")
|
|
9680
9704
|
};
|
|
@@ -9691,11 +9715,11 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9691
9715
|
},
|
|
9692
9716
|
...e
|
|
9693
9717
|
});
|
|
9694
|
-
},
|
|
9718
|
+
}, hu = ({ options: e } = {
|
|
9695
9719
|
vipList: {}
|
|
9696
9720
|
}) => ({
|
|
9697
9721
|
vipList: Js({ options: e.vipList })
|
|
9698
|
-
}),
|
|
9722
|
+
}), On = (e) => {
|
|
9699
9723
|
switch (e) {
|
|
9700
9724
|
case "tw":
|
|
9701
9725
|
return "Tw";
|
|
@@ -9714,8 +9738,8 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9714
9738
|
default:
|
|
9715
9739
|
return "En";
|
|
9716
9740
|
}
|
|
9717
|
-
},
|
|
9718
|
-
const { lng: n } = se(), t =
|
|
9741
|
+
}, st = "game-icon-ds88", Tu = ({ gameData: e = {} } = {}) => {
|
|
9742
|
+
const { lng: n } = se(), t = On(n), {
|
|
9719
9743
|
gameCode: l,
|
|
9720
9744
|
// 遊戲代碼
|
|
9721
9745
|
gameUid: p,
|
|
@@ -9758,7 +9782,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9758
9782
|
// 越南名稱
|
|
9759
9783
|
gameNameTw: E
|
|
9760
9784
|
// 繁體中文名稱
|
|
9761
|
-
} = e, G = e?.[`gameName${
|
|
9785
|
+
} = e, G = e?.[`gameName${On(t)}`], O = `${nt}/${st}/${n}/${a}/${tt(l, / /g, "_")}.webp`, k = `${nt}/${st}/${n}/${a}/${tt(l, / /g, "_")}.gif`, h = `${nt}/${st}/en/${a}/${tt(l, / /g, "_")}.webp`, F = `${nt}/${st}/en/${a}/${tt(l, / /g, "_")}.gif`;
|
|
9762
9786
|
return {
|
|
9763
9787
|
gameCode: l,
|
|
9764
9788
|
gameUid: p,
|
|
@@ -9787,7 +9811,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9787
9811
|
isInvalidBet: y,
|
|
9788
9812
|
haveJackpot: _
|
|
9789
9813
|
};
|
|
9790
|
-
}, Zs = (e, n = !1) =>
|
|
9814
|
+
}, Zs = (e, n = !1) => Vl([
|
|
9791
9815
|
"EVO",
|
|
9792
9816
|
"IMSPRIBE",
|
|
9793
9817
|
"SABA",
|
|
@@ -9798,7 +9822,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9798
9822
|
"HACK",
|
|
9799
9823
|
"NAGA",
|
|
9800
9824
|
"RSG"
|
|
9801
|
-
], e) && n ? `${e}_dark` : e,
|
|
9825
|
+
], e) && n ? `${e}_dark` : e, ku = ({ platformData: e, darkMode: n } = {}) => {
|
|
9802
9826
|
const {
|
|
9803
9827
|
SubPlatformEnum: t,
|
|
9804
9828
|
// 子平台枚舉
|
|
@@ -9820,7 +9844,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9820
9844
|
// 臨時維護開始時間
|
|
9821
9845
|
temp_maintenance_end_time: o
|
|
9822
9846
|
// 臨時維護結束時間
|
|
9823
|
-
} = e || {}, m = `${Ze}/${
|
|
9847
|
+
} = e || {}, m = `${Ze}/${$n}/${Zs(l, n)}.png`;
|
|
9824
9848
|
return {
|
|
9825
9849
|
subPlatformEnum: t,
|
|
9826
9850
|
platformEnum: l,
|
|
@@ -9834,7 +9858,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9834
9858
|
tempMaintenanceEndTime: o,
|
|
9835
9859
|
platformImageUrl: m
|
|
9836
9860
|
};
|
|
9837
|
-
}, Ks = (e = {}) =>
|
|
9861
|
+
}, Ks = (e = {}) => !Qt(e) || Ee(e) ? [] : jt(e), Bn = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "platform"), qs = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "gameTypeName"), $s = (e = []) => !la(e) || Ee(e) ? [] : Be(e, "game_subtype"), Qs = (e = {}) => !Qt(e) || Ee(e) ? [] : jt(e), js = (e = [], n = []) => !la(e) || Ee(e) ? {} : !la(n) || Ee(n) ? {} : e.reduce((t, l) => {
|
|
9838
9862
|
const p = n.map((g) => g.game_subtype);
|
|
9839
9863
|
return p.forEach((g) => {
|
|
9840
9864
|
t[g] = t[g] || [];
|
|
@@ -9846,7 +9870,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9846
9870
|
allGameTypes: l = [],
|
|
9847
9871
|
allPlatforms: p = []
|
|
9848
9872
|
}) => !la(e) || !la(n) ? {} : Ee(t) ? {} : e.reduce((g, U) => {
|
|
9849
|
-
const d =
|
|
9873
|
+
const d = er({
|
|
9850
9874
|
gameTypeName: U,
|
|
9851
9875
|
platforms: n,
|
|
9852
9876
|
gameList: t,
|
|
@@ -9854,17 +9878,17 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9854
9878
|
allPlatforms: p
|
|
9855
9879
|
});
|
|
9856
9880
|
return Ee(d) || (g[U] = d), g;
|
|
9857
|
-
}, {}),
|
|
9881
|
+
}, {}), xu = ({
|
|
9858
9882
|
types: e = [],
|
|
9859
9883
|
platforms: n = [],
|
|
9860
9884
|
allGameType: t = [],
|
|
9861
9885
|
allGamePlatform: l = [],
|
|
9862
9886
|
allGameList: p = {}
|
|
9863
9887
|
} = {}) => !Array.isArray(e) || !Array.isArray(n) ? {} : e.reduce((g, U) => {
|
|
9864
|
-
const d =
|
|
9888
|
+
const d = jn(t, U);
|
|
9865
9889
|
if (!d) return g;
|
|
9866
9890
|
const r = p[d] || [], a = n.reduce((i, o) => {
|
|
9867
|
-
const m =
|
|
9891
|
+
const m = ar({
|
|
9868
9892
|
platformName: o,
|
|
9869
9893
|
gamesOfType: r,
|
|
9870
9894
|
allPlatforms: l
|
|
@@ -9872,10 +9896,10 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9872
9896
|
return Ee(m) ? i : { ...i, [o]: m };
|
|
9873
9897
|
}, {});
|
|
9874
9898
|
return Ee(a) || (g[U] = a), g;
|
|
9875
|
-
}, {}), Xs = (e = {}) =>
|
|
9899
|
+
}, {}), Xs = (e = {}) => !Qt(e) || Ee(e) ? {} : Object.values(e).reduce((t, l) => (Object.entries(l).forEach(([p, g]) => {
|
|
9876
9900
|
t[p] ? t[p] = [...t[p], ...g] : t[p] = g;
|
|
9877
9901
|
}), t), {}), em = (e = {}) => {
|
|
9878
|
-
if (
|
|
9902
|
+
if (!Qt(e) || Ee(e)) return {};
|
|
9879
9903
|
const n = {};
|
|
9880
9904
|
for (const [t, l] of Object.entries(e)) {
|
|
9881
9905
|
n[t] = {};
|
|
@@ -9898,26 +9922,26 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9898
9922
|
highlightGames: a = [],
|
|
9899
9923
|
originPlatform: i = []
|
|
9900
9924
|
}) => {
|
|
9901
|
-
const o = Ks(e), m =
|
|
9925
|
+
const o = Ks(e), m = Bn(n), u = qs(t), s = $s(l), c = Bn(i), f = Qs(d), y = Ys({
|
|
9902
9926
|
gameTypes: u,
|
|
9903
9927
|
platforms: m,
|
|
9904
9928
|
gameList: e,
|
|
9905
9929
|
allGameTypes: t,
|
|
9906
9930
|
allPlatforms: n
|
|
9907
9931
|
}), _ = Be(n, (G) => {
|
|
9908
|
-
const O = `${Ze}/${
|
|
9932
|
+
const O = `${Ze}/${$n}/${G.platformEnum}.png`;
|
|
9909
9933
|
return {
|
|
9910
9934
|
...G,
|
|
9911
9935
|
platformImageUrl: O
|
|
9912
9936
|
};
|
|
9913
|
-
}), b = js(o, l), C = Xs(y), v = em(C), D =
|
|
9937
|
+
}), b = js(o, l), C = Xs(y), v = em(C), D = In(y).reduce(
|
|
9914
9938
|
(G, [O, k]) => {
|
|
9915
|
-
const h =
|
|
9939
|
+
const h = jt(Jl(k));
|
|
9916
9940
|
return G[O] = h, G;
|
|
9917
9941
|
},
|
|
9918
9942
|
{}
|
|
9919
|
-
), E =
|
|
9920
|
-
const k =
|
|
9943
|
+
), E = Ni(y).reduce((G, O) => {
|
|
9944
|
+
const k = Ni(y[O]);
|
|
9921
9945
|
return G[O] = k, G;
|
|
9922
9946
|
}, {});
|
|
9923
9947
|
return {
|
|
@@ -9953,7 +9977,7 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
9953
9977
|
favorite: f
|
|
9954
9978
|
}
|
|
9955
9979
|
};
|
|
9956
|
-
},
|
|
9980
|
+
}, Su = (e = []) => !la(e) || Ee(e) ? [] : jt(e, (n) => Ee(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((t) => ({
|
|
9957
9981
|
...n,
|
|
9958
9982
|
...t,
|
|
9959
9983
|
platform: t.SubPlatformEnum,
|
|
@@ -36552,20 +36576,20 @@ const Xm = ({ onIdle: e, onActive: n, onAction: t, timeout: l = 6e5 }) => cs({
|
|
|
36552
36576
|
t && nm(!0);
|
|
36553
36577
|
}, [t]);
|
|
36554
36578
|
const l = im({ enabled: n });
|
|
36555
|
-
return /* @__PURE__ */ Fe.jsx(
|
|
36579
|
+
return /* @__PURE__ */ Fe.jsx(Qn.Provider, { value: l, children: e });
|
|
36556
36580
|
};
|
|
36557
|
-
function
|
|
36581
|
+
function Du({
|
|
36558
36582
|
children: e,
|
|
36559
36583
|
autoFetchGamesInfo: n = !1,
|
|
36560
36584
|
useMockData: t = !1,
|
|
36561
36585
|
queryClient: l,
|
|
36562
36586
|
...p
|
|
36563
36587
|
}) {
|
|
36564
|
-
const g = Oa(() =>
|
|
36565
|
-
() =>
|
|
36588
|
+
const g = Oa(() => Ri(p), [p]), U = Oa(
|
|
36589
|
+
() => Ri({ ...p, formData: !0 }),
|
|
36566
36590
|
[p]
|
|
36567
36591
|
), d = Oa(
|
|
36568
|
-
() => new
|
|
36592
|
+
() => new Bl({
|
|
36569
36593
|
defaultOptions: {
|
|
36570
36594
|
queries: {
|
|
36571
36595
|
refetchOnWindowFocus: !1,
|
|
@@ -36575,7 +36599,7 @@ function Tu({
|
|
|
36575
36599
|
}),
|
|
36576
36600
|
[]
|
|
36577
36601
|
), r = l || d;
|
|
36578
|
-
return /* @__PURE__ */ Fe.jsx(
|
|
36602
|
+
return /* @__PURE__ */ Fe.jsx(Hl, { client: r, children: /* @__PURE__ */ Fe.jsx(Vn.Provider, { value: { client: g, formDataClient: U, ...p }, children: /* @__PURE__ */ Fe.jsx(jl, { children: /* @__PURE__ */ Fe.jsx(
|
|
36579
36603
|
lm,
|
|
36580
36604
|
{
|
|
36581
36605
|
autoFetch: n,
|
|
@@ -36584,9 +36608,9 @@ function Tu({
|
|
|
36584
36608
|
}
|
|
36585
36609
|
) }) }) });
|
|
36586
36610
|
}
|
|
36587
|
-
const
|
|
36611
|
+
const Eu = ({ onFunction: e = () => {
|
|
36588
36612
|
}, buttonProps: n = {} } = {}) => {
|
|
36589
|
-
const { lineConfig: t } = se(), l =
|
|
36613
|
+
const { lineConfig: t } = se(), l = ae(!1), p = te(t, "liffId", ""), g = new URLSearchParams(window.location.search), U = g.get("line_login"), d = g.get("trans_code"), r = g.get("line_id"), a = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: m } = nl({
|
|
36590
36614
|
options: {
|
|
36591
36615
|
onSuccess: (s) => {
|
|
36592
36616
|
e(s);
|
|
@@ -36624,20 +36648,20 @@ const ku = ({ onFunction: e = () => {
|
|
|
36624
36648
|
}
|
|
36625
36649
|
) : null;
|
|
36626
36650
|
};
|
|
36627
|
-
var rm = Object.defineProperty,
|
|
36651
|
+
var rm = Object.defineProperty, qt = Object.getOwnPropertySymbols, kl = Object.prototype.hasOwnProperty, xl = Object.prototype.propertyIsEnumerable, Hn = (e, n, t) => n in e ? rm(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t, di = (e, n) => {
|
|
36628
36652
|
for (var t in n || (n = {}))
|
|
36629
|
-
|
|
36630
|
-
if (
|
|
36631
|
-
for (var t of
|
|
36632
|
-
|
|
36653
|
+
kl.call(n, t) && Hn(e, t, n[t]);
|
|
36654
|
+
if (qt)
|
|
36655
|
+
for (var t of qt(n))
|
|
36656
|
+
xl.call(n, t) && Hn(e, t, n[t]);
|
|
36633
36657
|
return e;
|
|
36634
|
-
},
|
|
36658
|
+
}, ci = (e, n) => {
|
|
36635
36659
|
var t = {};
|
|
36636
36660
|
for (var l in e)
|
|
36637
|
-
|
|
36638
|
-
if (e != null &&
|
|
36639
|
-
for (var l of
|
|
36640
|
-
n.indexOf(l) < 0 &&
|
|
36661
|
+
kl.call(e, l) && n.indexOf(l) < 0 && (t[l] = e[l]);
|
|
36662
|
+
if (e != null && qt)
|
|
36663
|
+
for (var l of qt(e))
|
|
36664
|
+
n.indexOf(l) < 0 && xl.call(e, l) && (t[l] = e[l]);
|
|
36641
36665
|
return t;
|
|
36642
36666
|
};
|
|
36643
36667
|
var ka;
|
|
@@ -37181,8 +37205,8 @@ var om = {
|
|
|
37181
37205
|
M: Aa.QrCode.Ecc.MEDIUM,
|
|
37182
37206
|
Q: Aa.QrCode.Ecc.QUARTILE,
|
|
37183
37207
|
H: Aa.QrCode.Ecc.HIGH
|
|
37184
|
-
},
|
|
37185
|
-
function
|
|
37208
|
+
}, Sl = 128, Dl = "L", El = "#FFFFFF", Nl = "#000000", Ll = !1, Gl = 1, sm = 4, mm = 0, um = 0.1;
|
|
37209
|
+
function Ml(e, n = 0) {
|
|
37186
37210
|
const t = [];
|
|
37187
37211
|
return e.forEach(function(l, p) {
|
|
37188
37212
|
let g = null;
|
|
@@ -37205,7 +37229,7 @@ function Gl(e, n = 0) {
|
|
|
37205
37229
|
});
|
|
37206
37230
|
}), t.join("");
|
|
37207
37231
|
}
|
|
37208
|
-
function
|
|
37232
|
+
function Rl(e, n) {
|
|
37209
37233
|
return e.slice().map((t, l) => l < n.y || l >= n.y + n.h ? t : t.map((p, g) => g < n.x || g >= n.x + n.w ? p : !1));
|
|
37210
37234
|
}
|
|
37211
37235
|
function pm(e, n, t, l) {
|
|
@@ -37223,7 +37247,7 @@ function pm(e, n, t, l) {
|
|
|
37223
37247
|
function gm(e, n) {
|
|
37224
37248
|
return n != null ? Math.max(Math.floor(n), 0) : e ? sm : mm;
|
|
37225
37249
|
}
|
|
37226
|
-
function
|
|
37250
|
+
function Pl({
|
|
37227
37251
|
value: e,
|
|
37228
37252
|
level: n,
|
|
37229
37253
|
minVersion: t,
|
|
@@ -37278,16 +37302,16 @@ var dm = (function() {
|
|
|
37278
37302
|
function(n, t) {
|
|
37279
37303
|
const l = n, {
|
|
37280
37304
|
value: p,
|
|
37281
|
-
size: g =
|
|
37282
|
-
level: U =
|
|
37283
|
-
bgColor: d =
|
|
37284
|
-
fgColor: r =
|
|
37285
|
-
includeMargin: a =
|
|
37286
|
-
minVersion: i =
|
|
37305
|
+
size: g = Sl,
|
|
37306
|
+
level: U = Dl,
|
|
37307
|
+
bgColor: d = El,
|
|
37308
|
+
fgColor: r = Nl,
|
|
37309
|
+
includeMargin: a = Ll,
|
|
37310
|
+
minVersion: i = Gl,
|
|
37287
37311
|
boostLevel: o,
|
|
37288
37312
|
marginSize: m,
|
|
37289
37313
|
imageSettings: u
|
|
37290
|
-
} = l, c =
|
|
37314
|
+
} = l, c = ci(l, [
|
|
37291
37315
|
"value",
|
|
37292
37316
|
"size",
|
|
37293
37317
|
"level",
|
|
@@ -37298,12 +37322,12 @@ var dm = (function() {
|
|
|
37298
37322
|
"boostLevel",
|
|
37299
37323
|
"marginSize",
|
|
37300
37324
|
"imageSettings"
|
|
37301
|
-
]), { style: f } = c, y =
|
|
37325
|
+
]), { style: f } = c, y = ci(c, ["style"]), _ = u?.src, b = de.useRef(null), C = de.useRef(null), v = de.useCallback(
|
|
37302
37326
|
(w) => {
|
|
37303
37327
|
b.current = w, typeof t == "function" ? t(w) : t && (t.current = w);
|
|
37304
37328
|
},
|
|
37305
37329
|
[t]
|
|
37306
|
-
), [D, E] = de.useState(!1), { margin: G, cells: O, numCells: k, calculatedImageSettings: h } =
|
|
37330
|
+
), [D, E] = de.useState(!1), { margin: G, cells: O, numCells: k, calculatedImageSettings: h } = Pl({
|
|
37307
37331
|
value: p,
|
|
37308
37332
|
level: U,
|
|
37309
37333
|
minVersion: i,
|
|
@@ -37320,14 +37344,14 @@ var dm = (function() {
|
|
|
37320
37344
|
return;
|
|
37321
37345
|
let P = O;
|
|
37322
37346
|
const H = C.current, B = h != null && H !== null && H.complete && H.naturalHeight !== 0 && H.naturalWidth !== 0;
|
|
37323
|
-
B && h.excavation != null && (P =
|
|
37347
|
+
B && h.excavation != null && (P = Rl(
|
|
37324
37348
|
O,
|
|
37325
37349
|
h.excavation
|
|
37326
37350
|
));
|
|
37327
37351
|
const W = window.devicePixelRatio || 1;
|
|
37328
37352
|
w.height = w.width = g * W;
|
|
37329
37353
|
const M = g / k * W;
|
|
37330
|
-
R.scale(M, M), R.fillStyle = d, R.fillRect(0, 0, k, k), R.fillStyle = r, dm ? R.fill(new Path2D(
|
|
37354
|
+
R.scale(M, M), R.fillStyle = d, R.fillRect(0, 0, k, k), R.fillStyle = r, dm ? R.fill(new Path2D(Ml(P, G))) : O.forEach(function(S, x) {
|
|
37331
37355
|
S.forEach(function(L, N) {
|
|
37332
37356
|
L && R.fillRect(N + G, x + G, 1, 1);
|
|
37333
37357
|
});
|
|
@@ -37342,7 +37366,7 @@ var dm = (function() {
|
|
|
37342
37366
|
}), de.useEffect(() => {
|
|
37343
37367
|
E(!1);
|
|
37344
37368
|
}, [_]);
|
|
37345
|
-
const F =
|
|
37369
|
+
const F = di({ height: g, width: g }, f);
|
|
37346
37370
|
let A = null;
|
|
37347
37371
|
return _ != null && (A = /* @__PURE__ */ de.createElement(
|
|
37348
37372
|
"img",
|
|
@@ -37358,7 +37382,7 @@ var dm = (function() {
|
|
|
37358
37382
|
}
|
|
37359
37383
|
)), /* @__PURE__ */ de.createElement(de.Fragment, null, /* @__PURE__ */ de.createElement(
|
|
37360
37384
|
"canvas",
|
|
37361
|
-
|
|
37385
|
+
di({
|
|
37362
37386
|
style: F,
|
|
37363
37387
|
height: g,
|
|
37364
37388
|
width: g,
|
|
@@ -37369,21 +37393,21 @@ var dm = (function() {
|
|
|
37369
37393
|
}
|
|
37370
37394
|
);
|
|
37371
37395
|
cm.displayName = "QRCodeCanvas";
|
|
37372
|
-
var
|
|
37396
|
+
var wl = de.forwardRef(
|
|
37373
37397
|
function(n, t) {
|
|
37374
37398
|
const l = n, {
|
|
37375
37399
|
value: p,
|
|
37376
|
-
size: g =
|
|
37377
|
-
level: U =
|
|
37378
|
-
bgColor: d =
|
|
37379
|
-
fgColor: r =
|
|
37380
|
-
includeMargin: a =
|
|
37381
|
-
minVersion: i =
|
|
37400
|
+
size: g = Sl,
|
|
37401
|
+
level: U = Dl,
|
|
37402
|
+
bgColor: d = El,
|
|
37403
|
+
fgColor: r = Nl,
|
|
37404
|
+
includeMargin: a = Ll,
|
|
37405
|
+
minVersion: i = Gl,
|
|
37382
37406
|
boostLevel: o,
|
|
37383
37407
|
title: m,
|
|
37384
37408
|
marginSize: u,
|
|
37385
37409
|
imageSettings: s
|
|
37386
|
-
} = l, c =
|
|
37410
|
+
} = l, c = ci(l, [
|
|
37387
37411
|
"value",
|
|
37388
37412
|
"size",
|
|
37389
37413
|
"level",
|
|
@@ -37395,7 +37419,7 @@ var Pl = de.forwardRef(
|
|
|
37395
37419
|
"title",
|
|
37396
37420
|
"marginSize",
|
|
37397
37421
|
"imageSettings"
|
|
37398
|
-
]), { margin: f, cells: y, numCells: _, calculatedImageSettings: b } =
|
|
37422
|
+
]), { margin: f, cells: y, numCells: _, calculatedImageSettings: b } = Pl({
|
|
37399
37423
|
value: p,
|
|
37400
37424
|
level: U,
|
|
37401
37425
|
minVersion: i,
|
|
@@ -37406,7 +37430,7 @@ var Pl = de.forwardRef(
|
|
|
37406
37430
|
size: g
|
|
37407
37431
|
});
|
|
37408
37432
|
let C = y, v = null;
|
|
37409
|
-
s != null && b != null && (b.excavation != null && (C =
|
|
37433
|
+
s != null && b != null && (b.excavation != null && (C = Rl(
|
|
37410
37434
|
y,
|
|
37411
37435
|
b.excavation
|
|
37412
37436
|
)), v = /* @__PURE__ */ de.createElement(
|
|
@@ -37422,10 +37446,10 @@ var Pl = de.forwardRef(
|
|
|
37422
37446
|
crossOrigin: b.crossOrigin
|
|
37423
37447
|
}
|
|
37424
37448
|
));
|
|
37425
|
-
const D =
|
|
37449
|
+
const D = Ml(C, f);
|
|
37426
37450
|
return /* @__PURE__ */ de.createElement(
|
|
37427
37451
|
"svg",
|
|
37428
|
-
|
|
37452
|
+
di({
|
|
37429
37453
|
height: g,
|
|
37430
37454
|
width: g,
|
|
37431
37455
|
viewBox: `0 0 ${_} ${_}`,
|
|
@@ -37446,7 +37470,7 @@ var Pl = de.forwardRef(
|
|
|
37446
37470
|
);
|
|
37447
37471
|
}
|
|
37448
37472
|
);
|
|
37449
|
-
|
|
37473
|
+
wl.displayName = "QRCodeSVG";
|
|
37450
37474
|
const fm = {
|
|
37451
37475
|
position: "fixed",
|
|
37452
37476
|
top: 0,
|
|
@@ -37470,7 +37494,7 @@ const fm = {
|
|
|
37470
37494
|
padding: "10px",
|
|
37471
37495
|
lineHeight: "1",
|
|
37472
37496
|
zIndex: 10001
|
|
37473
|
-
},
|
|
37497
|
+
}, Wn = {
|
|
37474
37498
|
zh_TW: {
|
|
37475
37499
|
title: "請使用 LINE 掃描 QR Code 登入",
|
|
37476
37500
|
expired: "QR Code 已過期"
|
|
@@ -37491,17 +37515,17 @@ const fm = {
|
|
|
37491
37515
|
title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
|
|
37492
37516
|
expired: "Kode QR telah kedaluwarsa"
|
|
37493
37517
|
}
|
|
37494
|
-
},
|
|
37495
|
-
const { lng: l, getToken: p, lineConfig: g } = se(), [U, d] =
|
|
37518
|
+
}, Gu = ({ forcedShow: e = !1, isVisible: n, setIsVisible: t } = {}) => {
|
|
37519
|
+
const { lng: l, getToken: p, lineConfig: g } = se(), [U, d] = si(300), [r, a] = si(!1), i = ae(null), o = te(g, "liffId", ""), m = Qe(l), u = p?.(), c = new URLSearchParams(window.location.search).get("mac") || ui.get("machine_mac_address") || "", { data: f, isFetching: y } = Vo({
|
|
37496
37520
|
formData: {
|
|
37497
37521
|
mac_address: c
|
|
37498
37522
|
},
|
|
37499
37523
|
options: {
|
|
37500
37524
|
enabled: e ? !0 : !!c && !u
|
|
37501
37525
|
}
|
|
37502
|
-
}), _ =
|
|
37526
|
+
}), _ = te(f, "liff_url", "") || `https://liff.line.me/${o}`;
|
|
37503
37527
|
pe(() => {
|
|
37504
|
-
c &&
|
|
37528
|
+
c && ui.set("machine_mac_address", c, { expires: 365 });
|
|
37505
37529
|
}, [c]), pe(() => (_ && (d(300), a(!1), i.current && clearInterval(i.current), i.current = setInterval(() => {
|
|
37506
37530
|
d((v) => v <= 1 ? (clearInterval(i.current), a(!0), 0) : v - 1);
|
|
37507
37531
|
}, 1e3)), () => {
|
|
@@ -37512,7 +37536,7 @@ const fm = {
|
|
|
37512
37536
|
return `${D}:${E < 10 ? "0" : ""}${E}`;
|
|
37513
37537
|
};
|
|
37514
37538
|
if (!e && (!c || u)) return null;
|
|
37515
|
-
const C =
|
|
37539
|
+
const C = Wn[m] || Wn.en_US;
|
|
37516
37540
|
return n && /* @__PURE__ */ Fe.jsxs("div", { style: fm, children: [
|
|
37517
37541
|
/* @__PURE__ */ Fe.jsx(
|
|
37518
37542
|
"div",
|
|
@@ -37540,7 +37564,7 @@ const fm = {
|
|
|
37540
37564
|
boxSizing: "border-box",
|
|
37541
37565
|
color: "black"
|
|
37542
37566
|
},
|
|
37543
|
-
children: y ? "Loading..." : /* @__PURE__ */ Fe.jsx(
|
|
37567
|
+
children: y ? "Loading..." : /* @__PURE__ */ Fe.jsx(wl, { width: "100%", height: "100%", value: _ })
|
|
37544
37568
|
}
|
|
37545
37569
|
),
|
|
37546
37570
|
!y && /* @__PURE__ */ Fe.jsx(
|
|
@@ -37556,14 +37580,14 @@ const fm = {
|
|
|
37556
37580
|
)
|
|
37557
37581
|
] })
|
|
37558
37582
|
] });
|
|
37559
|
-
},
|
|
37560
|
-
const e =
|
|
37583
|
+
}, Mu = () => {
|
|
37584
|
+
const e = _i(), {
|
|
37561
37585
|
mutate: n,
|
|
37562
37586
|
isPending: t,
|
|
37563
37587
|
isSuccess: l,
|
|
37564
37588
|
isError: p,
|
|
37565
37589
|
error: g
|
|
37566
|
-
} =
|
|
37590
|
+
} = Jo({
|
|
37567
37591
|
options: {
|
|
37568
37592
|
onSuccess: () => {
|
|
37569
37593
|
e.invalidateQueries({
|
|
@@ -37571,7 +37595,7 @@ const fm = {
|
|
|
37571
37595
|
});
|
|
37572
37596
|
}
|
|
37573
37597
|
}
|
|
37574
|
-
}), U =
|
|
37598
|
+
}), U = ae(!1);
|
|
37575
37599
|
return pe(() => {
|
|
37576
37600
|
if (U.current) return;
|
|
37577
37601
|
const d = new URLSearchParams(window.location.search), r = d.get("bind_type"), a = d.get("bind_id");
|
|
@@ -37587,50 +37611,51 @@ const fm = {
|
|
|
37587
37611
|
}, [n]), null;
|
|
37588
37612
|
};
|
|
37589
37613
|
export {
|
|
37590
|
-
|
|
37591
|
-
|
|
37592
|
-
|
|
37593
|
-
|
|
37594
|
-
|
|
37595
|
-
|
|
37614
|
+
Vn as ApiCtx,
|
|
37615
|
+
Du as ApiProvider,
|
|
37616
|
+
Mu as Bind,
|
|
37617
|
+
Qn as GamesInfoCtx,
|
|
37618
|
+
Eu as LineLogin,
|
|
37619
|
+
Gu as LineQrCode,
|
|
37596
37620
|
qa as STATUS_TYPES,
|
|
37597
|
-
|
|
37598
|
-
|
|
37621
|
+
Jn as StatusContext,
|
|
37622
|
+
jl as StatusProvider,
|
|
37599
37623
|
Ys as buildMultiTypes,
|
|
37600
|
-
|
|
37601
|
-
|
|
37602
|
-
|
|
37624
|
+
xu as buildMultiTypesWithSubTypes,
|
|
37625
|
+
ar as buildSinglePlatformWithSubTypes,
|
|
37626
|
+
er as buildSingleType,
|
|
37603
37627
|
js as categorizeGames,
|
|
37604
37628
|
Qe as convertLanguageCode,
|
|
37605
37629
|
Tm as createLogoutHandler,
|
|
37606
37630
|
$s as extractGameSubTypeNames,
|
|
37607
37631
|
qs as extractGameTypeNames,
|
|
37608
|
-
|
|
37609
|
-
|
|
37610
|
-
|
|
37611
|
-
|
|
37612
|
-
|
|
37632
|
+
Bn as extractPlatformNames,
|
|
37633
|
+
el as filterGamesByPlatform,
|
|
37634
|
+
jn as findGameTypeUid,
|
|
37635
|
+
Yn as findPlatformUid,
|
|
37636
|
+
Xn as findSubPlatform,
|
|
37613
37637
|
Ks as flattenAllGames,
|
|
37614
37638
|
Qs as flattenFavoriteGames,
|
|
37615
37639
|
km as formatNumber,
|
|
37616
37640
|
Xs as groupGamesByPlatform,
|
|
37617
37641
|
em as groupGamesByPlatformAndSubType,
|
|
37618
|
-
|
|
37642
|
+
Xl as groupGamesBySubType,
|
|
37619
37643
|
Zs as handleDarkImage,
|
|
37620
37644
|
nm as initMockWindowData,
|
|
37621
37645
|
am as processGameInfo,
|
|
37622
|
-
|
|
37646
|
+
Su as processPlatformData,
|
|
37647
|
+
Xm as useAbandonEventWallet,
|
|
37623
37648
|
Gm as useAbandonPoint,
|
|
37624
37649
|
se as useApiContext,
|
|
37625
37650
|
zm as useAvatarList,
|
|
37626
37651
|
xm as useBalanceGetter,
|
|
37627
37652
|
Em as useBet,
|
|
37628
37653
|
Wm as useBetRankingData,
|
|
37629
|
-
|
|
37630
|
-
|
|
37631
|
-
|
|
37632
|
-
|
|
37633
|
-
|
|
37654
|
+
Uo as useBetRecord,
|
|
37655
|
+
bo as useBetRecordDetail,
|
|
37656
|
+
Jo as useBindAccount,
|
|
37657
|
+
qo as useCheckCurrentEventProgress,
|
|
37658
|
+
$o as useCheckEventStatus,
|
|
37634
37659
|
Lm as useCheckPlayerWager,
|
|
37635
37660
|
Jm as useClientWebSocket,
|
|
37636
37661
|
Os as useCurrentRebate,
|
|
@@ -37638,77 +37663,80 @@ export {
|
|
|
37638
37663
|
Ts as useDepositTransaction,
|
|
37639
37664
|
bs as useDepositV1,
|
|
37640
37665
|
Cs as useDepositV2,
|
|
37641
|
-
|
|
37666
|
+
uu as useDepositWalletLog,
|
|
37667
|
+
Qm as useEnabledEventWallet,
|
|
37668
|
+
jm as useEvaluateEventWallet,
|
|
37642
37669
|
qm as useEvent,
|
|
37643
|
-
|
|
37670
|
+
Ko as useEventList,
|
|
37644
37671
|
ks as useEventTransaction,
|
|
37645
|
-
|
|
37672
|
+
gu as useEventWalletLog,
|
|
37646
37673
|
Is as useExpiredRewardsList,
|
|
37647
|
-
|
|
37674
|
+
Tu as useGameConfig,
|
|
37648
37675
|
hm as useGameInfoContext,
|
|
37649
37676
|
im as useGamesInfo,
|
|
37650
|
-
|
|
37677
|
+
eu as useGetCarouseList,
|
|
37651
37678
|
$m as useGetEventWalletList,
|
|
37652
|
-
|
|
37653
|
-
|
|
37679
|
+
Vo as useGetMachineLoginCode,
|
|
37680
|
+
au as useGetMarquee,
|
|
37654
37681
|
Sm as useGetMemberInfo,
|
|
37655
|
-
|
|
37682
|
+
tu as useGetRankingGame,
|
|
37656
37683
|
Vs as useHistoryRewardsList,
|
|
37657
|
-
|
|
37658
|
-
|
|
37684
|
+
iu as useIdleTimeout,
|
|
37685
|
+
nu as useInbox,
|
|
37659
37686
|
_s as useInboxList,
|
|
37660
37687
|
Dm as useInitializeWithToken,
|
|
37661
|
-
|
|
37688
|
+
su as useInvoiceAction,
|
|
37662
37689
|
Hm as useJackpotData,
|
|
37663
|
-
|
|
37664
|
-
|
|
37665
|
-
|
|
37666
|
-
|
|
37690
|
+
nl as useLineLogin,
|
|
37691
|
+
Io as useLineLogin2,
|
|
37692
|
+
Mo as useLogin,
|
|
37693
|
+
Ro as useLogout,
|
|
37667
37694
|
Mm as useMemberTransfer,
|
|
37668
37695
|
Rm as useMobileLogin,
|
|
37669
37696
|
Pm as useMobileLoginV2,
|
|
37670
37697
|
wm as useMobileRegister,
|
|
37671
|
-
|
|
37672
|
-
|
|
37673
|
-
|
|
37674
|
-
|
|
37675
|
-
|
|
37698
|
+
ru as useNewsDetail,
|
|
37699
|
+
lu as useNewsList,
|
|
37700
|
+
fu as usePayment,
|
|
37701
|
+
ku as usePlatformConfig,
|
|
37702
|
+
_u as usePlayGame,
|
|
37676
37703
|
Nm as usePointTransfer,
|
|
37677
37704
|
ys as useReadInbox,
|
|
37678
|
-
|
|
37679
|
-
|
|
37705
|
+
yu as useRebate,
|
|
37706
|
+
du as useRebateWalletLog,
|
|
37680
37707
|
Bs as useReceiveRebate,
|
|
37681
|
-
|
|
37708
|
+
ou as useRedeemCodeDeposit,
|
|
37682
37709
|
Zm as useRedeemEventReward,
|
|
37683
37710
|
Ws as useRedeemReward,
|
|
37684
|
-
|
|
37685
|
-
|
|
37686
|
-
|
|
37687
|
-
|
|
37711
|
+
Cu as useRedeemTreasure,
|
|
37712
|
+
Ao as useResetUserPassword,
|
|
37713
|
+
Bo as useResetUserTransactionPassword,
|
|
37714
|
+
Uu as useRewards,
|
|
37688
37715
|
Hs as useRewardsList,
|
|
37689
37716
|
Fm as useSendMobileVerifyCode,
|
|
37690
|
-
|
|
37717
|
+
Oo as useSetUserTransactionPassword,
|
|
37691
37718
|
Km as useSettleEvent,
|
|
37692
|
-
|
|
37693
|
-
|
|
37694
|
-
|
|
37695
|
-
|
|
37696
|
-
|
|
37697
|
-
|
|
37719
|
+
Ym as useSettleEventWallet,
|
|
37720
|
+
Po as useSignUp,
|
|
37721
|
+
Zn as useStatus,
|
|
37722
|
+
wo as useToggleFavoriteGame,
|
|
37723
|
+
zo as useTransferInGame,
|
|
37724
|
+
bu as useTreasureList,
|
|
37725
|
+
cu as useTreasureWalletLog,
|
|
37698
37726
|
zs as useUnUsedRewardsList,
|
|
37699
37727
|
Im as useUpdateAvatar,
|
|
37700
|
-
|
|
37701
|
-
|
|
37728
|
+
mu as useUpdateInvoiceAction,
|
|
37729
|
+
Fo as useUpdateUserInfo,
|
|
37702
37730
|
Vm as useUser,
|
|
37703
|
-
|
|
37704
|
-
|
|
37731
|
+
Wo as useUserBindCard,
|
|
37732
|
+
Ho as useUserRebate,
|
|
37705
37733
|
Om as useVerifyDonationCode,
|
|
37706
37734
|
Am as useVerifyPhoneBar,
|
|
37707
37735
|
Bm as useVerifyResetAction,
|
|
37708
|
-
|
|
37709
|
-
|
|
37736
|
+
hu as useVip,
|
|
37737
|
+
vu as useVipInfo,
|
|
37710
37738
|
Js as useVipList,
|
|
37711
37739
|
hs as useWithdrawAction,
|
|
37712
37740
|
Ss as useWithdrawTransaction,
|
|
37713
|
-
|
|
37741
|
+
pu as useWithdrawWalletLog
|
|
37714
37742
|
};
|