@obb871001/api-integration-sdk 1.0.437 → 1.0.438
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -5
- package/dist/index.js +960 -941
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import ve, { createContext as ni, useContext as Ei, useState as
|
|
2
|
-
import { useQueries as
|
|
3
|
-
import
|
|
4
|
-
import { get as j, replace as ot, isEmpty as Fe, find as Be, entries as
|
|
5
|
-
import
|
|
1
|
+
import ve, { createContext as ni, useContext as Ei, useState as Qe, useMemo as ka, useCallback as M, useRef as se, useEffect as ce } from "react";
|
|
2
|
+
import { useQueries as sr, useQuery as Y, useQueryClient as ya, useMutation as ae, useInfiniteQuery as sl, QueryClient as ml, QueryClientProvider as ul } from "@tanstack/react-query";
|
|
3
|
+
import pl from "axios";
|
|
4
|
+
import { get as j, replace as ot, isEmpty as Fe, find as Be, entries as mr, forEach as gl, omit as ur, map as Se, isArray as ta, toLower as Ii, keyBy as dl, includes as cl, isObject as ri, flatMap as li, values as fl, keys as zi } from "lodash";
|
|
5
|
+
import _l from "react-dom";
|
|
6
6
|
var ui = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7
7
|
function Di(e) {
|
|
8
8
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function yl(e) {
|
|
11
11
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
12
12
|
var t = e.default;
|
|
13
13
|
if (typeof t == "function") {
|
|
@@ -33,7 +33,7 @@ function fl(e) {
|
|
|
33
33
|
}
|
|
34
34
|
var ct = { exports: {} }, at = {};
|
|
35
35
|
var Vi;
|
|
36
|
-
function
|
|
36
|
+
function bl() {
|
|
37
37
|
if (Vi) return at;
|
|
38
38
|
Vi = 1;
|
|
39
39
|
var e = ve, t = /* @__PURE__ */ Symbol.for("react.element"), a = /* @__PURE__ */ Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, s = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
@@ -48,7 +48,7 @@ function _l() {
|
|
|
48
48
|
}
|
|
49
49
|
var tt = {};
|
|
50
50
|
var Ji;
|
|
51
|
-
function
|
|
51
|
+
function Ul() {
|
|
52
52
|
return Ji || (Ji = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
53
53
|
var e = ve, t = /* @__PURE__ */ Symbol.for("react.element"), a = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), s = /* @__PURE__ */ Symbol.for("react.strict_mode"), u = /* @__PURE__ */ Symbol.for("react.profiler"), b = /* @__PURE__ */ Symbol.for("react.provider"), d = /* @__PURE__ */ Symbol.for("react.context"), l = /* @__PURE__ */ Symbol.for("react.forward_ref"), i = /* @__PURE__ */ Symbol.for("react.suspense"), r = /* @__PURE__ */ Symbol.for("react.suspense_list"), o = /* @__PURE__ */ Symbol.for("react.memo"), m = /* @__PURE__ */ Symbol.for("react.lazy"), g = /* @__PURE__ */ Symbol.for("react.offscreen"), p = Symbol.iterator, f = "@@iterator";
|
|
54
54
|
function y(x) {
|
|
@@ -69,10 +69,10 @@ function yl() {
|
|
|
69
69
|
{
|
|
70
70
|
var ne = _.ReactDebugCurrentFrame, _e = ne.getStackAddendum();
|
|
71
71
|
_e !== "" && (J += "%s", $ = $.concat([_e]));
|
|
72
|
-
var
|
|
72
|
+
var Ce = $.map(function(ge) {
|
|
73
73
|
return String(ge);
|
|
74
74
|
});
|
|
75
|
-
|
|
75
|
+
Ce.unshift("Warning: " + J), Function.prototype.apply.call(console[x], console, Ce);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
78
|
var C = !1, v = !1, T = !1, h = !1, D = !1, H;
|
|
@@ -129,9 +129,9 @@ function yl() {
|
|
|
129
129
|
var ne = x.displayName || null;
|
|
130
130
|
return ne !== null ? ne : P(x.type) || "Memo";
|
|
131
131
|
case m: {
|
|
132
|
-
var _e = x,
|
|
132
|
+
var _e = x, Ce = _e._payload, ge = _e._init;
|
|
133
133
|
try {
|
|
134
|
-
return P(ge(
|
|
134
|
+
return P(ge(Ce));
|
|
135
135
|
} catch {
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
@@ -220,7 +220,7 @@ function yl() {
|
|
|
220
220
|
var Q = typeof WeakMap == "function" ? WeakMap : Map;
|
|
221
221
|
Z = new Q();
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function K(x, J) {
|
|
224
224
|
if (!x || V)
|
|
225
225
|
return "";
|
|
226
226
|
{
|
|
@@ -232,8 +232,8 @@ function yl() {
|
|
|
232
232
|
V = !0;
|
|
233
233
|
var _e = Error.prepareStackTrace;
|
|
234
234
|
Error.prepareStackTrace = void 0;
|
|
235
|
-
var
|
|
236
|
-
|
|
235
|
+
var Ce;
|
|
236
|
+
Ce = ie.current, ie.current = null, w();
|
|
237
237
|
try {
|
|
238
238
|
if (J) {
|
|
239
239
|
var ge = function() {
|
|
@@ -246,29 +246,29 @@ function yl() {
|
|
|
246
246
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
247
247
|
try {
|
|
248
248
|
Reflect.construct(ge, []);
|
|
249
|
-
} catch (
|
|
250
|
-
ne =
|
|
249
|
+
} catch (Ze) {
|
|
250
|
+
ne = Ze;
|
|
251
251
|
}
|
|
252
252
|
Reflect.construct(x, [], ge);
|
|
253
253
|
} else {
|
|
254
254
|
try {
|
|
255
255
|
ge.call();
|
|
256
|
-
} catch (
|
|
257
|
-
ne =
|
|
256
|
+
} catch (Ze) {
|
|
257
|
+
ne = Ze;
|
|
258
258
|
}
|
|
259
259
|
x.call(ge.prototype);
|
|
260
260
|
}
|
|
261
261
|
} else {
|
|
262
262
|
try {
|
|
263
263
|
throw Error();
|
|
264
|
-
} catch (
|
|
265
|
-
ne =
|
|
264
|
+
} catch (Ze) {
|
|
265
|
+
ne = Ze;
|
|
266
266
|
}
|
|
267
267
|
x();
|
|
268
268
|
}
|
|
269
|
-
} catch (
|
|
270
|
-
if (
|
|
271
|
-
for (var ue =
|
|
269
|
+
} catch (Ze) {
|
|
270
|
+
if (Ze && ne && typeof Ze.stack == "string") {
|
|
271
|
+
for (var ue = Ze.stack.split(`
|
|
272
272
|
`), ze = ne.stack.split(`
|
|
273
273
|
`), xe = ue.length - 1, De = ze.length - 1; xe >= 1 && De >= 0 && ue[xe] !== ze[De]; )
|
|
274
274
|
De--;
|
|
@@ -286,13 +286,13 @@ function yl() {
|
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
} finally {
|
|
289
|
-
V = !1, ie.current =
|
|
289
|
+
V = !1, ie.current = Ce, X(), Error.prepareStackTrace = _e;
|
|
290
290
|
}
|
|
291
291
|
var Ia = x ? x.displayName || x.name : "", Da = Ia ? B(Ia) : "";
|
|
292
292
|
return typeof x == "function" && Z.set(x, Da), Da;
|
|
293
293
|
}
|
|
294
294
|
function ee(x, J, $) {
|
|
295
|
-
return
|
|
295
|
+
return K(x, !1);
|
|
296
296
|
}
|
|
297
297
|
function de(x) {
|
|
298
298
|
var J = x.prototype;
|
|
@@ -302,7 +302,7 @@ function yl() {
|
|
|
302
302
|
if (x == null)
|
|
303
303
|
return "";
|
|
304
304
|
if (typeof x == "function")
|
|
305
|
-
return
|
|
305
|
+
return K(x, de(x));
|
|
306
306
|
if (typeof x == "string")
|
|
307
307
|
return B(x);
|
|
308
308
|
switch (x) {
|
|
@@ -318,16 +318,16 @@ function yl() {
|
|
|
318
318
|
case o:
|
|
319
319
|
return he(x.type, J, $);
|
|
320
320
|
case m: {
|
|
321
|
-
var ne = x, _e = ne._payload,
|
|
321
|
+
var ne = x, _e = ne._payload, Ce = ne._init;
|
|
322
322
|
try {
|
|
323
|
-
return he(
|
|
323
|
+
return he(Ce(_e), J, $);
|
|
324
324
|
} catch {
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
return "";
|
|
329
329
|
}
|
|
330
|
-
var
|
|
330
|
+
var be = Object.prototype.hasOwnProperty, Je = {}, Te = _.ReactDebugCurrentFrame;
|
|
331
331
|
function Ge(x) {
|
|
332
332
|
if (x) {
|
|
333
333
|
var J = x._owner, $ = he(x.type, x._source, J ? J.type : null);
|
|
@@ -337,9 +337,9 @@ function yl() {
|
|
|
337
337
|
}
|
|
338
338
|
function Xe(x, J, $, ne, _e) {
|
|
339
339
|
{
|
|
340
|
-
var
|
|
340
|
+
var Ce = Function.call.bind(be);
|
|
341
341
|
for (var ge in x)
|
|
342
|
-
if (
|
|
342
|
+
if (Ce(x, ge)) {
|
|
343
343
|
var ue = void 0;
|
|
344
344
|
try {
|
|
345
345
|
if (typeof x[ge] != "function") {
|
|
@@ -350,12 +350,12 @@ function yl() {
|
|
|
350
350
|
} catch (xe) {
|
|
351
351
|
ue = xe;
|
|
352
352
|
}
|
|
353
|
-
ue && !(ue instanceof Error) && (Ge(_e), c("%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).", ne || "React class", $, ge, typeof ue), Ge(null)), ue instanceof Error && !(ue.message in
|
|
353
|
+
ue && !(ue instanceof Error) && (Ge(_e), c("%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).", ne || "React class", $, ge, typeof ue), Ge(null)), ue instanceof Error && !(ue.message in Je) && (Je[ue.message] = !0, Ge(_e), c("Failed %s type: %s", $, ue.message), Ge(null));
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
var fe = Array.isArray;
|
|
358
|
-
function
|
|
358
|
+
function Ue(x) {
|
|
359
359
|
return fe(x);
|
|
360
360
|
}
|
|
361
361
|
function Ee(x) {
|
|
@@ -366,17 +366,17 @@ function yl() {
|
|
|
366
366
|
}
|
|
367
367
|
function Ie(x) {
|
|
368
368
|
try {
|
|
369
|
-
return
|
|
369
|
+
return Ke(x), !1;
|
|
370
370
|
} catch {
|
|
371
371
|
return !0;
|
|
372
372
|
}
|
|
373
373
|
}
|
|
374
|
-
function
|
|
374
|
+
function Ke(x) {
|
|
375
375
|
return "" + x;
|
|
376
376
|
}
|
|
377
377
|
function Me(x) {
|
|
378
378
|
if (Ie(x))
|
|
379
|
-
return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ee(x)),
|
|
379
|
+
return c("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ee(x)), Ke(x);
|
|
380
380
|
}
|
|
381
381
|
var He = _.ReactCurrentOwner, ia = {
|
|
382
382
|
key: !0,
|
|
@@ -384,8 +384,8 @@ function yl() {
|
|
|
384
384
|
__self: !0,
|
|
385
385
|
__source: !0
|
|
386
386
|
}, ua, ba;
|
|
387
|
-
function
|
|
388
|
-
if (
|
|
387
|
+
function qe(x) {
|
|
388
|
+
if (be.call(x, "ref")) {
|
|
389
389
|
var J = Object.getOwnPropertyDescriptor(x, "ref").get;
|
|
390
390
|
if (J && J.isReactWarning)
|
|
391
391
|
return !1;
|
|
@@ -393,7 +393,7 @@ function yl() {
|
|
|
393
393
|
return x.ref !== void 0;
|
|
394
394
|
}
|
|
395
395
|
function na(x) {
|
|
396
|
-
if (
|
|
396
|
+
if (be.call(x, "key")) {
|
|
397
397
|
var J = Object.getOwnPropertyDescriptor(x, "key").get;
|
|
398
398
|
if (J && J.isReactWarning)
|
|
399
399
|
return !1;
|
|
@@ -425,7 +425,7 @@ function yl() {
|
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
|
-
var Xa = function(x, J, $, ne, _e,
|
|
428
|
+
var Xa = function(x, J, $, ne, _e, Ce, ge) {
|
|
429
429
|
var ue = {
|
|
430
430
|
// This tag allows us to uniquely identify this as a React Element
|
|
431
431
|
$$typeof: t,
|
|
@@ -435,7 +435,7 @@ function yl() {
|
|
|
435
435
|
ref: $,
|
|
436
436
|
props: ge,
|
|
437
437
|
// Record the component responsible for creating this element.
|
|
438
|
-
_owner:
|
|
438
|
+
_owner: Ce
|
|
439
439
|
};
|
|
440
440
|
return ue._store = {}, Object.defineProperty(ue._store, "validated", {
|
|
441
441
|
configurable: !1,
|
|
@@ -456,14 +456,14 @@ function yl() {
|
|
|
456
456
|
};
|
|
457
457
|
function et(x, J, $, ne, _e) {
|
|
458
458
|
{
|
|
459
|
-
var
|
|
460
|
-
$ !== void 0 && (Me($), ue = "" + $), na(J) && (Me(J.key), ue = "" + J.key),
|
|
461
|
-
for (
|
|
462
|
-
|
|
459
|
+
var Ce, ge = {}, ue = null, ze = null;
|
|
460
|
+
$ !== void 0 && (Me($), ue = "" + $), na(J) && (Me(J.key), ue = "" + J.key), qe(J) && (ze = J.ref, Ya(J, _e));
|
|
461
|
+
for (Ce in J)
|
|
462
|
+
be.call(J, Ce) && !ia.hasOwnProperty(Ce) && (ge[Ce] = J[Ce]);
|
|
463
463
|
if (x && x.defaultProps) {
|
|
464
464
|
var xe = x.defaultProps;
|
|
465
|
-
for (
|
|
466
|
-
ge[
|
|
465
|
+
for (Ce in xe)
|
|
466
|
+
ge[Ce] === void 0 && (ge[Ce] = xe[Ce]);
|
|
467
467
|
}
|
|
468
468
|
if (ue || ze) {
|
|
469
469
|
var De = typeof x == "function" ? x.displayName || x.name || "Unknown" : x;
|
|
@@ -530,7 +530,7 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
530
530
|
{
|
|
531
531
|
if (typeof x != "object")
|
|
532
532
|
return;
|
|
533
|
-
if (
|
|
533
|
+
if (Ue(x))
|
|
534
534
|
for (var $ = 0; $ < x.length; $++) {
|
|
535
535
|
var ne = x[$];
|
|
536
536
|
va(ne) && Wa(ne, J);
|
|
@@ -540,12 +540,12 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
540
540
|
else if (x) {
|
|
541
541
|
var _e = y(x);
|
|
542
542
|
if (typeof _e == "function" && _e !== x.entries)
|
|
543
|
-
for (var
|
|
543
|
+
for (var Ce = _e.call(x), ge; !(ge = Ce.next()).done; )
|
|
544
544
|
va(ge.value) && Wa(ge.value, J);
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function q(x) {
|
|
549
549
|
{
|
|
550
550
|
var J = x.type;
|
|
551
551
|
if (J == null || typeof J == "string")
|
|
@@ -583,7 +583,7 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
var la = {};
|
|
586
|
-
function We(x, J, $, ne, _e,
|
|
586
|
+
function We(x, J, $, ne, _e, Ce) {
|
|
587
587
|
{
|
|
588
588
|
var ge = k(x);
|
|
589
589
|
if (!ge) {
|
|
@@ -592,16 +592,16 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
592
592
|
var ze = Ba();
|
|
593
593
|
ze ? ue += ze : ue += Oa();
|
|
594
594
|
var xe;
|
|
595
|
-
x === null ? xe = "null" :
|
|
595
|
+
x === null ? xe = "null" : Ue(x) ? xe = "array" : x !== void 0 && x.$$typeof === t ? (xe = "<" + (P(x.type) || "Unknown") + " />", ue = " Did you accidentally export a JSX literal instead of a component?") : xe = typeof x, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", xe, ue);
|
|
596
596
|
}
|
|
597
|
-
var De = et(x, J, $, _e,
|
|
597
|
+
var De = et(x, J, $, _e, Ce);
|
|
598
598
|
if (De == null)
|
|
599
599
|
return De;
|
|
600
600
|
if (ge) {
|
|
601
601
|
var aa = J.children;
|
|
602
602
|
if (aa !== void 0)
|
|
603
603
|
if (ne)
|
|
604
|
-
if (
|
|
604
|
+
if (Ue(aa)) {
|
|
605
605
|
for (var Ia = 0; Ia < aa.length; Ia++)
|
|
606
606
|
Re(aa[Ia], x);
|
|
607
607
|
Object.freeze && Object.freeze(aa);
|
|
@@ -610,21 +610,21 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
610
610
|
else
|
|
611
611
|
Re(aa, x);
|
|
612
612
|
}
|
|
613
|
-
if (
|
|
614
|
-
var Da = P(x),
|
|
615
|
-
return
|
|
616
|
-
}), mi =
|
|
613
|
+
if (be.call(J, "key")) {
|
|
614
|
+
var Da = P(x), Ze = Object.keys(J).filter(function(ol) {
|
|
615
|
+
return ol !== "key";
|
|
616
|
+
}), mi = Ze.length > 0 ? "{key: someKey, " + Ze.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
617
617
|
if (!la[Da + mi]) {
|
|
618
|
-
var
|
|
618
|
+
var ll = Ze.length > 0 ? "{" + Ze.join(": ..., ") + ": ...}" : "{}";
|
|
619
619
|
c(`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} />`, mi, Da,
|
|
624
|
+
<%s key={someKey} {...props} />`, mi, Da, ll, Da), la[Da + mi] = !0;
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
|
-
return x === n ? Pe(De) :
|
|
627
|
+
return x === n ? Pe(De) : q(De), De;
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
630
|
function oa(x, J, $) {
|
|
@@ -633,25 +633,25 @@ React keys must be passed directly to JSX without using spread:
|
|
|
633
633
|
function dt(x, J, $) {
|
|
634
634
|
return We(x, J, $, !1);
|
|
635
635
|
}
|
|
636
|
-
var si = dt,
|
|
637
|
-
tt.Fragment = n, tt.jsx = si, tt.jsxs =
|
|
636
|
+
var si = dt, rl = oa;
|
|
637
|
+
tt.Fragment = n, tt.jsx = si, tt.jsxs = rl;
|
|
638
638
|
})()), tt;
|
|
639
639
|
}
|
|
640
640
|
var Zi;
|
|
641
|
-
function
|
|
642
|
-
return Zi || (Zi = 1, process.env.NODE_ENV === "production" ? ct.exports =
|
|
641
|
+
function Cl() {
|
|
642
|
+
return Zi || (Zi = 1, process.env.NODE_ENV === "production" ? ct.exports = bl() : ct.exports = Ul()), ct.exports;
|
|
643
643
|
}
|
|
644
|
-
var te =
|
|
645
|
-
const
|
|
646
|
-
const e = Ei(
|
|
644
|
+
var te = Cl();
|
|
645
|
+
const pr = ni(null), re = () => {
|
|
646
|
+
const e = Ei(pr);
|
|
647
647
|
if (!e)
|
|
648
648
|
throw new Error("useApiContext must be used within ApiProvider");
|
|
649
649
|
return e;
|
|
650
650
|
}, it = {
|
|
651
651
|
READY: "ready",
|
|
652
652
|
PENDING: "pending"
|
|
653
|
-
},
|
|
654
|
-
const [t, a] =
|
|
653
|
+
}, gr = ni(null), vl = ({ children: e }) => {
|
|
654
|
+
const [t, a] = Qe(it.READY), n = ka(() => {
|
|
655
655
|
const s = t === it.READY, u = t === it.PENDING;
|
|
656
656
|
return {
|
|
657
657
|
status: t,
|
|
@@ -662,9 +662,9 @@ const mr = ni(null), re = () => {
|
|
|
662
662
|
setAsPending: () => a(it.PENDING)
|
|
663
663
|
};
|
|
664
664
|
}, [t]);
|
|
665
|
-
return /* @__PURE__ */ te.jsx(
|
|
666
|
-
},
|
|
667
|
-
const e = Ei(
|
|
665
|
+
return /* @__PURE__ */ te.jsx(gr.Provider, { value: n, children: e });
|
|
666
|
+
}, dr = () => {
|
|
667
|
+
const e = Ei(gr);
|
|
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 mr = ni(null), re = () => {
|
|
|
687
687
|
default:
|
|
688
688
|
return e;
|
|
689
689
|
}
|
|
690
|
-
},
|
|
690
|
+
}, Ye = "https://d1h3qe8voog6w4.cloudfront.net", st = "https://d3jx2uvukujuvn.cloudfront.net", cr = (e) => `${Ye}/reward_icon/${e}.avif`, fr = () => `${Ye}/reward_icon/background_deposit.avif`, _r = "ds88platformIcon", Ka = {
|
|
691
691
|
zh_TW: "系統提示",
|
|
692
692
|
zh_CN: "系统提示",
|
|
693
693
|
en_US: "System Prompt",
|
|
@@ -695,7 +695,7 @@ const mr = ni(null), re = () => {
|
|
|
695
695
|
vi_VN: "Lời nhắc hệ thống",
|
|
696
696
|
th_TH: "ข้อความระบบ",
|
|
697
697
|
ja_JP: "システムプロンプト"
|
|
698
|
-
},
|
|
698
|
+
}, hl = {
|
|
699
699
|
zh_TW: "我們正在為您處理轉點中",
|
|
700
700
|
zh_CN: "我们正在为您处理转点中",
|
|
701
701
|
en_US: "We are processing your transfer",
|
|
@@ -715,7 +715,7 @@ function Ki({
|
|
|
715
715
|
currency: d,
|
|
716
716
|
toasterOpen: l = !1
|
|
717
717
|
} = {}) {
|
|
718
|
-
const i =
|
|
718
|
+
const i = pl.create({
|
|
719
719
|
baseURL: e,
|
|
720
720
|
timeout: a,
|
|
721
721
|
headers: {
|
|
@@ -753,14 +753,14 @@ function Ki({
|
|
|
753
753
|
}
|
|
754
754
|
), i;
|
|
755
755
|
}
|
|
756
|
-
const
|
|
757
|
-
const e = Ei(
|
|
756
|
+
const yr = ni(null), Uu = () => {
|
|
757
|
+
const e = Ei(yr);
|
|
758
758
|
if (!e)
|
|
759
759
|
throw new Error(
|
|
760
760
|
"useGameInfoContext must be used within a GameInfoCtx.Provider"
|
|
761
761
|
);
|
|
762
762
|
return e;
|
|
763
|
-
},
|
|
763
|
+
}, Tl = [0, 150, 400, 800], fa = {
|
|
764
764
|
installed: !1,
|
|
765
765
|
standalone: !1,
|
|
766
766
|
corrections: 0,
|
|
@@ -770,7 +770,7 @@ const fr = ni(null), yu = () => {
|
|
|
770
770
|
lastFixedAt: null
|
|
771
771
|
};
|
|
772
772
|
typeof window < "u" && (window.__viewportFix__ = fa);
|
|
773
|
-
const
|
|
773
|
+
const Cu = () => fa, kl = () => typeof window < "u" && (window.matchMedia?.("(display-mode: standalone)").matches || window.navigator.standalone === !0) || !1, xl = () => {
|
|
774
774
|
const e = typeof document < "u" ? document.activeElement : null;
|
|
775
775
|
return e ? e.isContentEditable ? !0 : /^(INPUT|TEXTAREA|SELECT)$/.test(e.tagName) : !1;
|
|
776
776
|
};
|
|
@@ -778,7 +778,7 @@ let pi = !1;
|
|
|
778
778
|
const nt = () => {
|
|
779
779
|
if (typeof window > "u") return 0;
|
|
780
780
|
const e = window.visualViewport;
|
|
781
|
-
if (!e || e.scale !== 1 ||
|
|
781
|
+
if (!e || e.scale !== 1 || xl()) return 0;
|
|
782
782
|
const t = Math.round(e.offsetTop);
|
|
783
783
|
if (fa.lastDrift = t, t === 0 || pi) return 0;
|
|
784
784
|
pi = !0;
|
|
@@ -788,14 +788,14 @@ const nt = () => {
|
|
|
788
788
|
pi = !1;
|
|
789
789
|
}
|
|
790
790
|
return fa.corrections += 1, fa.lastFixedAt = Date.now(), -t;
|
|
791
|
-
},
|
|
791
|
+
}, Sl = () => {
|
|
792
792
|
if (typeof window > "u") return () => {
|
|
793
793
|
};
|
|
794
|
-
if (fa.standalone =
|
|
794
|
+
if (fa.standalone = kl(), !fa.standalone) return () => {
|
|
795
795
|
};
|
|
796
796
|
let e = [];
|
|
797
797
|
const t = () => {
|
|
798
|
-
e.forEach(clearTimeout), e =
|
|
798
|
+
e.forEach(clearTimeout), e = Tl.map((s) => setTimeout(nt, s));
|
|
799
799
|
};
|
|
800
800
|
window.addEventListener("orientationchange", t);
|
|
801
801
|
const a = window.screen?.orientation;
|
|
@@ -804,7 +804,7 @@ const nt = () => {
|
|
|
804
804
|
return n?.addEventListener?.("resize", nt), n?.addEventListener?.("scroll", nt), t(), fa.installed = !0, () => {
|
|
805
805
|
e.forEach(clearTimeout), window.removeEventListener("orientationchange", t), a?.removeEventListener?.("change", t), window.removeEventListener("pageshow", t), n?.removeEventListener?.("resize", nt), n?.removeEventListener?.("scroll", nt), fa.installed = !1;
|
|
806
806
|
};
|
|
807
|
-
},
|
|
807
|
+
}, El = "game-icon-ds88", Dl = ({
|
|
808
808
|
lng: e,
|
|
809
809
|
gamePlatform: t,
|
|
810
810
|
gameCode: a,
|
|
@@ -812,9 +812,9 @@ const nt = () => {
|
|
|
812
812
|
preferAnimated: s = !1
|
|
813
813
|
} = {}) => {
|
|
814
814
|
if (!t || !a) return [];
|
|
815
|
-
const u = ot(a, / /g, "_"), b = (o, m, g) => `${st}/${
|
|
815
|
+
const u = ot(a, / /g, "_"), b = (o, m, g) => `${st}/${El}/${o}/${t}/${u}${m}.${g}`, d = e && e !== "en" ? [e, "en"] : ["en"], l = s ? ["gif", "webp"] : ["webp", "gif"], i = (o) => d.flatMap((m) => l.map((g) => b(m, o, g))), r = i("");
|
|
816
816
|
return n ? [...i("_long"), ...r] : r;
|
|
817
|
-
},
|
|
817
|
+
}, Nl = (e) => {
|
|
818
818
|
switch (e) {
|
|
819
819
|
case "tw":
|
|
820
820
|
return "Tw";
|
|
@@ -833,7 +833,7 @@ const nt = () => {
|
|
|
833
833
|
default:
|
|
834
834
|
return "Tw";
|
|
835
835
|
}
|
|
836
|
-
},
|
|
836
|
+
}, vu = () => {
|
|
837
837
|
const e = (n, s) => !n && !s, t = (n) => n.startsWith("pc.");
|
|
838
838
|
return {
|
|
839
839
|
executeLogout: ({
|
|
@@ -852,64 +852,64 @@ const nt = () => {
|
|
|
852
852
|
shouldShowErrorNotice: e,
|
|
853
853
|
isMachineDomain: t
|
|
854
854
|
};
|
|
855
|
-
},
|
|
855
|
+
}, hu = (e) => {
|
|
856
856
|
let t = Number(e);
|
|
857
857
|
return isNaN(t) ? e : new Intl.NumberFormat("en-US", {
|
|
858
858
|
style: "decimal",
|
|
859
859
|
minimumFractionDigits: 2,
|
|
860
860
|
maximumFractionDigits: 2
|
|
861
861
|
}).format(t);
|
|
862
|
-
},
|
|
862
|
+
}, br = (e = [], t) => Be(e, { gameTypeName: t })?.gameTypeUid, Ur = (e = [], t) => Be(e, { platform: t })?.platformUid, Cr = (e = [], t) => Be(e, { SubPlatformEnum: t }), vr = (e = [], t, a) => Fe(e) ? [] : e.filter((n) => a ? String(n?.SubPlatformEnumUid) === String(a?.SubPlatformEnumUid) : String(n.platformUid) === String(t)), Ll = (e = []) => Fe(e) ? {} : e.reduce((t, a) => {
|
|
863
863
|
const n = a?.game_subtype || "UNKNOWN";
|
|
864
864
|
return t[n] || (t[n] = []), t[n].push(a), t;
|
|
865
|
-
}, {}),
|
|
865
|
+
}, {}), Gl = ({
|
|
866
866
|
gameTypeName: e,
|
|
867
867
|
platforms: t,
|
|
868
868
|
gameList: a,
|
|
869
869
|
allGameTypes: n,
|
|
870
870
|
allPlatforms: s
|
|
871
871
|
}) => {
|
|
872
|
-
const u =
|
|
872
|
+
const u = br(n, e);
|
|
873
873
|
return u ? t.reduce((b, d) => {
|
|
874
|
-
const l =
|
|
874
|
+
const l = Ur(s, d), i = Cr(s, d), r = a[u] || [], o = vr(
|
|
875
875
|
r,
|
|
876
876
|
l,
|
|
877
877
|
i
|
|
878
878
|
);
|
|
879
879
|
return Fe(o) || (b[d] = o), b;
|
|
880
880
|
}, {}) : {};
|
|
881
|
-
},
|
|
881
|
+
}, Ml = ({
|
|
882
882
|
platformName: e,
|
|
883
883
|
gamesOfType: t = [],
|
|
884
884
|
allPlatforms: a = []
|
|
885
885
|
}) => {
|
|
886
|
-
const n =
|
|
886
|
+
const n = Ur(a, e), s = Cr(a, e), u = vr(
|
|
887
887
|
t,
|
|
888
888
|
n,
|
|
889
889
|
s
|
|
890
890
|
);
|
|
891
|
-
return
|
|
891
|
+
return Ll(u);
|
|
892
892
|
};
|
|
893
893
|
var Ut = { exports: {} };
|
|
894
|
-
function
|
|
894
|
+
function Rl(e) {
|
|
895
895
|
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.');
|
|
896
896
|
}
|
|
897
897
|
var Ct = { exports: {} };
|
|
898
|
-
const
|
|
898
|
+
const Pl = {}, wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
899
899
|
__proto__: null,
|
|
900
|
-
default:
|
|
901
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
902
|
-
var
|
|
900
|
+
default: Pl
|
|
901
|
+
}, Symbol.toStringTag, { value: "Module" })), Fl = /* @__PURE__ */ yl(wl);
|
|
902
|
+
var Al = Ct.exports, qi;
|
|
903
903
|
function pe() {
|
|
904
904
|
return qi || (qi = 1, (function(e, t) {
|
|
905
905
|
(function(a, n) {
|
|
906
906
|
e.exports = n();
|
|
907
|
-
})(
|
|
907
|
+
})(Al, function() {
|
|
908
908
|
var a = a || (function(n, s) {
|
|
909
909
|
var u;
|
|
910
|
-
if (typeof window < "u" && window.crypto && (u = window.crypto), typeof self < "u" && self.crypto && (u = self.crypto), typeof globalThis < "u" && globalThis.crypto && (u = globalThis.crypto), !u && typeof window < "u" && window.msCrypto && (u = window.msCrypto), !u && typeof ui < "u" && ui.crypto && (u = ui.crypto), !u && typeof
|
|
910
|
+
if (typeof window < "u" && window.crypto && (u = window.crypto), typeof self < "u" && self.crypto && (u = self.crypto), typeof globalThis < "u" && globalThis.crypto && (u = globalThis.crypto), !u && typeof window < "u" && window.msCrypto && (u = window.msCrypto), !u && typeof ui < "u" && ui.crypto && (u = ui.crypto), !u && typeof Rl == "function")
|
|
911
911
|
try {
|
|
912
|
-
u =
|
|
912
|
+
u = Fl;
|
|
913
913
|
} catch {
|
|
914
914
|
}
|
|
915
915
|
var b = function() {
|
|
@@ -1400,12 +1400,12 @@ function pe() {
|
|
|
1400
1400
|
});
|
|
1401
1401
|
})(Ct)), Ct.exports;
|
|
1402
1402
|
}
|
|
1403
|
-
var vt = { exports: {} },
|
|
1403
|
+
var vt = { exports: {} }, Ol = vt.exports, $i;
|
|
1404
1404
|
function oi() {
|
|
1405
1405
|
return $i || ($i = 1, (function(e, t) {
|
|
1406
1406
|
(function(a, n) {
|
|
1407
1407
|
e.exports = n(pe());
|
|
1408
|
-
})(
|
|
1408
|
+
})(Ol, function(a) {
|
|
1409
1409
|
return (function(n) {
|
|
1410
1410
|
var s = a, u = s.lib, b = u.Base, d = u.WordArray, l = s.x64 = {};
|
|
1411
1411
|
l.Word = b.extend({
|
|
@@ -1630,12 +1630,12 @@ function oi() {
|
|
|
1630
1630
|
});
|
|
1631
1631
|
})(vt)), vt.exports;
|
|
1632
1632
|
}
|
|
1633
|
-
var ht = { exports: {} },
|
|
1634
|
-
function
|
|
1633
|
+
var ht = { exports: {} }, Bl = ht.exports, ji;
|
|
1634
|
+
function Hl() {
|
|
1635
1635
|
return ji || (ji = 1, (function(e, t) {
|
|
1636
1636
|
(function(a, n) {
|
|
1637
1637
|
e.exports = n(pe());
|
|
1638
|
-
})(
|
|
1638
|
+
})(Bl, function(a) {
|
|
1639
1639
|
return (function() {
|
|
1640
1640
|
if (typeof ArrayBuffer == "function") {
|
|
1641
1641
|
var n = a, s = n.lib, u = s.WordArray, b = u.init, d = u.init = function(l) {
|
|
@@ -1652,12 +1652,12 @@ function Ol() {
|
|
|
1652
1652
|
});
|
|
1653
1653
|
})(ht)), ht.exports;
|
|
1654
1654
|
}
|
|
1655
|
-
var Tt = { exports: {} },
|
|
1656
|
-
function
|
|
1655
|
+
var Tt = { exports: {} }, Wl = Tt.exports, Qi;
|
|
1656
|
+
function Il() {
|
|
1657
1657
|
return Qi || (Qi = 1, (function(e, t) {
|
|
1658
1658
|
(function(a, n) {
|
|
1659
1659
|
e.exports = n(pe());
|
|
1660
|
-
})(
|
|
1660
|
+
})(Wl, function(a) {
|
|
1661
1661
|
return (function() {
|
|
1662
1662
|
var n = a, s = n.lib, u = s.WordArray, b = n.enc;
|
|
1663
1663
|
b.Utf16 = b.Utf16BE = {
|
|
@@ -1746,12 +1746,12 @@ function Hl() {
|
|
|
1746
1746
|
});
|
|
1747
1747
|
})(Tt)), Tt.exports;
|
|
1748
1748
|
}
|
|
1749
|
-
var kt = { exports: {} },
|
|
1749
|
+
var kt = { exports: {} }, zl = kt.exports, Yi;
|
|
1750
1750
|
function Ra() {
|
|
1751
1751
|
return Yi || (Yi = 1, (function(e, t) {
|
|
1752
1752
|
(function(a, n) {
|
|
1753
1753
|
e.exports = n(pe());
|
|
1754
|
-
})(
|
|
1754
|
+
})(zl, function(a) {
|
|
1755
1755
|
return (function() {
|
|
1756
1756
|
var n = a, s = n.lib, u = s.WordArray, b = n.enc;
|
|
1757
1757
|
b.Base64 = {
|
|
@@ -1821,12 +1821,12 @@ function Ra() {
|
|
|
1821
1821
|
});
|
|
1822
1822
|
})(kt)), kt.exports;
|
|
1823
1823
|
}
|
|
1824
|
-
var xt = { exports: {} },
|
|
1825
|
-
function
|
|
1824
|
+
var xt = { exports: {} }, Vl = xt.exports, Xi;
|
|
1825
|
+
function Jl() {
|
|
1826
1826
|
return Xi || (Xi = 1, (function(e, t) {
|
|
1827
1827
|
(function(a, n) {
|
|
1828
1828
|
e.exports = n(pe());
|
|
1829
|
-
})(
|
|
1829
|
+
})(Vl, function(a) {
|
|
1830
1830
|
return (function() {
|
|
1831
1831
|
var n = a, s = n.lib, u = s.WordArray, b = n.enc;
|
|
1832
1832
|
b.Base64url = {
|
|
@@ -1903,12 +1903,12 @@ function zl() {
|
|
|
1903
1903
|
});
|
|
1904
1904
|
})(xt)), xt.exports;
|
|
1905
1905
|
}
|
|
1906
|
-
var St = { exports: {} },
|
|
1906
|
+
var St = { exports: {} }, Zl = St.exports, en;
|
|
1907
1907
|
function Pa() {
|
|
1908
1908
|
return en || (en = 1, (function(e, t) {
|
|
1909
1909
|
(function(a, n) {
|
|
1910
1910
|
e.exports = n(pe());
|
|
1911
|
-
})(
|
|
1911
|
+
})(Zl, function(a) {
|
|
1912
1912
|
return (function(n) {
|
|
1913
1913
|
var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.algo, i = [];
|
|
1914
1914
|
(function() {
|
|
@@ -1969,12 +1969,12 @@ function Pa() {
|
|
|
1969
1969
|
});
|
|
1970
1970
|
})(St)), St.exports;
|
|
1971
1971
|
}
|
|
1972
|
-
var Et = { exports: {} },
|
|
1973
|
-
function
|
|
1972
|
+
var Et = { exports: {} }, Kl = Et.exports, an;
|
|
1973
|
+
function hr() {
|
|
1974
1974
|
return an || (an = 1, (function(e, t) {
|
|
1975
1975
|
(function(a, n) {
|
|
1976
1976
|
e.exports = n(pe());
|
|
1977
|
-
})(
|
|
1977
|
+
})(Kl, function(a) {
|
|
1978
1978
|
return (function() {
|
|
1979
1979
|
var n = a, s = n.lib, u = s.WordArray, b = s.Hasher, d = n.algo, l = [], i = d.SHA1 = b.extend({
|
|
1980
1980
|
_doReset: function() {
|
|
@@ -2013,12 +2013,12 @@ function Cr() {
|
|
|
2013
2013
|
});
|
|
2014
2014
|
})(Et)), Et.exports;
|
|
2015
2015
|
}
|
|
2016
|
-
var Dt = { exports: {} },
|
|
2016
|
+
var Dt = { exports: {} }, ql = Dt.exports, tn;
|
|
2017
2017
|
function Ni() {
|
|
2018
2018
|
return tn || (tn = 1, (function(e, t) {
|
|
2019
2019
|
(function(a, n) {
|
|
2020
2020
|
e.exports = n(pe());
|
|
2021
|
-
})(
|
|
2021
|
+
})(ql, function(a) {
|
|
2022
2022
|
return (function(n) {
|
|
2023
2023
|
var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.algo, i = [], r = [];
|
|
2024
2024
|
(function() {
|
|
@@ -2065,12 +2065,12 @@ function Ni() {
|
|
|
2065
2065
|
});
|
|
2066
2066
|
})(Dt)), Dt.exports;
|
|
2067
2067
|
}
|
|
2068
|
-
var Nt = { exports: {} },
|
|
2069
|
-
function
|
|
2068
|
+
var Nt = { exports: {} }, $l = Nt.exports, nn;
|
|
2069
|
+
function jl() {
|
|
2070
2070
|
return nn || (nn = 1, (function(e, t) {
|
|
2071
2071
|
(function(a, n, s) {
|
|
2072
2072
|
e.exports = n(pe(), Ni());
|
|
2073
|
-
})(
|
|
2073
|
+
})($l, function(a) {
|
|
2074
2074
|
return (function() {
|
|
2075
2075
|
var n = a, s = n.lib, u = s.WordArray, b = n.algo, d = b.SHA256, l = b.SHA224 = d.extend({
|
|
2076
2076
|
_doReset: function() {
|
|
@@ -2095,12 +2095,12 @@ function ql() {
|
|
|
2095
2095
|
});
|
|
2096
2096
|
})(Nt)), Nt.exports;
|
|
2097
2097
|
}
|
|
2098
|
-
var Lt = { exports: {} },
|
|
2099
|
-
function
|
|
2098
|
+
var Lt = { exports: {} }, Ql = Lt.exports, rn;
|
|
2099
|
+
function Tr() {
|
|
2100
2100
|
return rn || (rn = 1, (function(e, t) {
|
|
2101
2101
|
(function(a, n, s) {
|
|
2102
2102
|
e.exports = n(pe(), oi());
|
|
2103
|
-
})(
|
|
2103
|
+
})(Ql, function(a) {
|
|
2104
2104
|
return (function() {
|
|
2105
2105
|
var n = a, s = n.lib, u = s.Hasher, b = n.x64, d = b.Word, l = b.WordArray, i = n.algo;
|
|
2106
2106
|
function r() {
|
|
@@ -2206,18 +2206,18 @@ function vr() {
|
|
|
2206
2206
|
]);
|
|
2207
2207
|
},
|
|
2208
2208
|
_doProcessBlock: function(p, f) {
|
|
2209
|
-
for (var y = this._hash.words, _ = y[0], c = y[1], U = y[2], C = y[3], v = y[4], T = y[5], h = y[6], D = y[7], H = _.high, k = _.low, S = c.high, A = c.low, P = U.high, R = U.low, L = C.high, G = C.low, I = v.high, W = v.low, O = T.high, z = T.low, N = h.high, E = h.low, F = D.high, w = D.low, X = H, ie = k, le = S, B = A, V = P, Z = R, Q = L,
|
|
2210
|
-
var
|
|
2209
|
+
for (var y = this._hash.words, _ = y[0], c = y[1], U = y[2], C = y[3], v = y[4], T = y[5], h = y[6], D = y[7], H = _.high, k = _.low, S = c.high, A = c.low, P = U.high, R = U.low, L = C.high, G = C.low, I = v.high, W = v.low, O = T.high, z = T.low, N = h.high, E = h.low, F = D.high, w = D.low, X = H, ie = k, le = S, B = A, V = P, Z = R, Q = L, K = G, ee = I, de = W, he = O, be = z, Je = N, Te = E, Ge = F, Xe = w, fe = 0; fe < 80; fe++) {
|
|
2210
|
+
var Ue, Ee, Ie = m[fe];
|
|
2211
2211
|
if (fe < 16)
|
|
2212
|
-
Ee = Ie.high = p[f + fe * 2] | 0,
|
|
2212
|
+
Ee = Ie.high = p[f + fe * 2] | 0, Ue = Ie.low = p[f + fe * 2 + 1] | 0;
|
|
2213
2213
|
else {
|
|
2214
|
-
var
|
|
2215
|
-
|
|
2214
|
+
var Ke = m[fe - 15], Me = Ke.high, He = Ke.low, ia = (Me >>> 1 | He << 31) ^ (Me >>> 8 | He << 24) ^ Me >>> 7, ua = (He >>> 1 | Me << 31) ^ (He >>> 8 | Me << 24) ^ (He >>> 7 | Me << 25), ba = m[fe - 2], qe = ba.high, na = ba.low, Ya = (qe >>> 19 | na << 13) ^ (qe << 3 | na >>> 29) ^ qe >>> 6, Fa = (na >>> 19 | qe << 13) ^ (na << 3 | qe >>> 29) ^ (na >>> 6 | qe << 26), Aa = m[fe - 7], Xa = Aa.high, et = Aa.low, Ua = m[fe - 16], Sa = Ua.high, ea = Ua.low;
|
|
2215
|
+
Ue = ua + et, Ee = ia + Xa + (Ue >>> 0 < ua >>> 0 ? 1 : 0), Ue = Ue + Fa, Ee = Ee + Ya + (Ue >>> 0 < Fa >>> 0 ? 1 : 0), Ue = Ue + ea, Ee = Ee + Sa + (Ue >>> 0 < ea >>> 0 ? 1 : 0), Ie.high = Ee, Ie.low = Ue;
|
|
2216
2216
|
}
|
|
2217
|
-
var Ca = ee & he ^ ~ee &
|
|
2218
|
-
Ge =
|
|
2217
|
+
var Ca = ee & he ^ ~ee & Je, va = de & be ^ ~de & Te, Oa = X & le ^ X & V ^ le & V, Ba = ie & B ^ ie & Z ^ B & Z, Ea = (X >>> 28 | ie << 4) ^ (X << 30 | ie >>> 2) ^ (X << 25 | ie >>> 7), Ha = (ie >>> 28 | X << 4) ^ (ie << 30 | X >>> 2) ^ (ie << 25 | X >>> 7), Wa = (ee >>> 14 | de << 18) ^ (ee >>> 18 | de << 14) ^ (ee << 23 | de >>> 9), Re = (de >>> 14 | ee << 18) ^ (de >>> 18 | ee << 14) ^ (de << 23 | ee >>> 9), q = o[fe], Pe = q.high, la = q.low, We = Xe + Re, oa = Ge + Wa + (We >>> 0 < Xe >>> 0 ? 1 : 0), We = We + va, oa = oa + Ca + (We >>> 0 < va >>> 0 ? 1 : 0), We = We + la, oa = oa + Pe + (We >>> 0 < la >>> 0 ? 1 : 0), We = We + Ue, oa = oa + Ee + (We >>> 0 < Ue >>> 0 ? 1 : 0), dt = Ha + Ba, si = Ea + Oa + (dt >>> 0 < Ha >>> 0 ? 1 : 0);
|
|
2218
|
+
Ge = Je, Xe = Te, Je = he, Te = be, he = ee, be = de, de = K + We | 0, ee = Q + oa + (de >>> 0 < K >>> 0 ? 1 : 0) | 0, Q = V, K = Z, V = le, Z = B, le = X, B = ie, ie = We + dt | 0, X = oa + si + (ie >>> 0 < We >>> 0 ? 1 : 0) | 0;
|
|
2219
2219
|
}
|
|
2220
|
-
k = _.low = k + ie, _.high = H + X + (k >>> 0 < ie >>> 0 ? 1 : 0), A = c.low = A + B, c.high = S + le + (A >>> 0 < B >>> 0 ? 1 : 0), R = U.low = R + Z, U.high = P + V + (R >>> 0 < Z >>> 0 ? 1 : 0), G = C.low = G +
|
|
2220
|
+
k = _.low = k + ie, _.high = H + X + (k >>> 0 < ie >>> 0 ? 1 : 0), A = c.low = A + B, c.high = S + le + (A >>> 0 < B >>> 0 ? 1 : 0), R = U.low = R + Z, U.high = P + V + (R >>> 0 < Z >>> 0 ? 1 : 0), G = C.low = G + K, C.high = L + Q + (G >>> 0 < K >>> 0 ? 1 : 0), W = v.low = W + de, v.high = I + ee + (W >>> 0 < de >>> 0 ? 1 : 0), z = T.low = z + be, T.high = O + he + (z >>> 0 < be >>> 0 ? 1 : 0), E = h.low = E + Te, h.high = N + Je + (E >>> 0 < Te >>> 0 ? 1 : 0), w = D.low = w + Xe, D.high = F + Ge + (w >>> 0 < Xe >>> 0 ? 1 : 0);
|
|
2221
2221
|
},
|
|
2222
2222
|
_doFinalize: function() {
|
|
2223
2223
|
var p = this._data, f = p.words, y = this._nDataBytes * 8, _ = p.sigBytes * 8;
|
|
@@ -2236,12 +2236,12 @@ function vr() {
|
|
|
2236
2236
|
});
|
|
2237
2237
|
})(Lt)), Lt.exports;
|
|
2238
2238
|
}
|
|
2239
|
-
var Gt = { exports: {} },
|
|
2240
|
-
function
|
|
2239
|
+
var Gt = { exports: {} }, Yl = Gt.exports, ln;
|
|
2240
|
+
function Xl() {
|
|
2241
2241
|
return ln || (ln = 1, (function(e, t) {
|
|
2242
2242
|
(function(a, n, s) {
|
|
2243
|
-
e.exports = n(pe(), oi(),
|
|
2244
|
-
})(
|
|
2243
|
+
e.exports = n(pe(), oi(), Tr());
|
|
2244
|
+
})(Yl, function(a) {
|
|
2245
2245
|
return (function() {
|
|
2246
2246
|
var n = a, s = n.x64, u = s.Word, b = s.WordArray, d = n.algo, l = d.SHA512, i = d.SHA384 = l.extend({
|
|
2247
2247
|
_doReset: function() {
|
|
@@ -2266,12 +2266,12 @@ function Ql() {
|
|
|
2266
2266
|
});
|
|
2267
2267
|
})(Gt)), Gt.exports;
|
|
2268
2268
|
}
|
|
2269
|
-
var Mt = { exports: {} },
|
|
2270
|
-
function
|
|
2269
|
+
var Mt = { exports: {} }, eo = Mt.exports, on;
|
|
2270
|
+
function ao() {
|
|
2271
2271
|
return on || (on = 1, (function(e, t) {
|
|
2272
2272
|
(function(a, n, s) {
|
|
2273
2273
|
e.exports = n(pe(), oi());
|
|
2274
|
-
})(
|
|
2274
|
+
})(eo, function(a) {
|
|
2275
2275
|
return (function(n) {
|
|
2276
2276
|
var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.x64, i = l.Word, r = s.algo, o = [], m = [], g = [];
|
|
2277
2277
|
(function() {
|
|
@@ -2376,12 +2376,12 @@ function Xl() {
|
|
|
2376
2376
|
});
|
|
2377
2377
|
})(Mt)), Mt.exports;
|
|
2378
2378
|
}
|
|
2379
|
-
var Rt = { exports: {} },
|
|
2380
|
-
function
|
|
2379
|
+
var Rt = { exports: {} }, to = Rt.exports, sn;
|
|
2380
|
+
function io() {
|
|
2381
2381
|
return sn || (sn = 1, (function(e, t) {
|
|
2382
2382
|
(function(a, n) {
|
|
2383
2383
|
e.exports = n(pe());
|
|
2384
|
-
})(
|
|
2384
|
+
})(to, function(a) {
|
|
2385
2385
|
return (function(n) {
|
|
2386
2386
|
var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.algo, i = b.create([
|
|
2387
2387
|
0,
|
|
@@ -2759,12 +2759,12 @@ function ao() {
|
|
|
2759
2759
|
});
|
|
2760
2760
|
})(Rt)), Rt.exports;
|
|
2761
2761
|
}
|
|
2762
|
-
var Pt = { exports: {} },
|
|
2762
|
+
var Pt = { exports: {} }, no = Pt.exports, mn;
|
|
2763
2763
|
function Li() {
|
|
2764
2764
|
return mn || (mn = 1, (function(e, t) {
|
|
2765
2765
|
(function(a, n) {
|
|
2766
2766
|
e.exports = n(pe());
|
|
2767
|
-
})(
|
|
2767
|
+
})(no, function(a) {
|
|
2768
2768
|
(function() {
|
|
2769
2769
|
var n = a, s = n.lib, u = s.Base, b = n.enc, d = b.Utf8, l = n.algo;
|
|
2770
2770
|
l.HMAC = u.extend({
|
|
@@ -2837,12 +2837,12 @@ function Li() {
|
|
|
2837
2837
|
});
|
|
2838
2838
|
})(Pt)), Pt.exports;
|
|
2839
2839
|
}
|
|
2840
|
-
var wt = { exports: {} },
|
|
2841
|
-
function
|
|
2840
|
+
var wt = { exports: {} }, ro = wt.exports, un;
|
|
2841
|
+
function lo() {
|
|
2842
2842
|
return un || (un = 1, (function(e, t) {
|
|
2843
2843
|
(function(a, n, s) {
|
|
2844
2844
|
e.exports = n(pe(), Ni(), Li());
|
|
2845
|
-
})(
|
|
2845
|
+
})(ro, function(a) {
|
|
2846
2846
|
return (function() {
|
|
2847
2847
|
var n = a, s = n.lib, u = s.Base, b = s.WordArray, d = n.algo, l = d.SHA256, i = d.HMAC, r = d.PBKDF2 = u.extend({
|
|
2848
2848
|
/**
|
|
@@ -2904,12 +2904,12 @@ function no() {
|
|
|
2904
2904
|
});
|
|
2905
2905
|
})(wt)), wt.exports;
|
|
2906
2906
|
}
|
|
2907
|
-
var Ft = { exports: {} },
|
|
2907
|
+
var Ft = { exports: {} }, oo = Ft.exports, pn;
|
|
2908
2908
|
function xa() {
|
|
2909
2909
|
return pn || (pn = 1, (function(e, t) {
|
|
2910
2910
|
(function(a, n, s) {
|
|
2911
|
-
e.exports = n(pe(),
|
|
2912
|
-
})(
|
|
2911
|
+
e.exports = n(pe(), hr(), Li());
|
|
2912
|
+
})(oo, function(a) {
|
|
2913
2913
|
return (function() {
|
|
2914
2914
|
var n = a, s = n.lib, u = s.Base, b = s.WordArray, d = n.algo, l = d.MD5, i = d.EvpKDF = u.extend({
|
|
2915
2915
|
/**
|
|
@@ -2967,12 +2967,12 @@ function xa() {
|
|
|
2967
2967
|
});
|
|
2968
2968
|
})(Ft)), Ft.exports;
|
|
2969
2969
|
}
|
|
2970
|
-
var At = { exports: {} },
|
|
2970
|
+
var At = { exports: {} }, so = At.exports, gn;
|
|
2971
2971
|
function Ae() {
|
|
2972
2972
|
return gn || (gn = 1, (function(e, t) {
|
|
2973
2973
|
(function(a, n, s) {
|
|
2974
2974
|
e.exports = n(pe(), xa());
|
|
2975
|
-
})(
|
|
2975
|
+
})(so, function(a) {
|
|
2976
2976
|
a.lib.Cipher || (function(n) {
|
|
2977
2977
|
var s = a, u = s.lib, b = u.Base, d = u.WordArray, l = u.BufferedBlockAlgorithm, i = s.enc;
|
|
2978
2978
|
i.Utf8;
|
|
@@ -3505,12 +3505,12 @@ function Ae() {
|
|
|
3505
3505
|
});
|
|
3506
3506
|
})(At)), At.exports;
|
|
3507
3507
|
}
|
|
3508
|
-
var Ot = { exports: {} },
|
|
3509
|
-
function
|
|
3508
|
+
var Ot = { exports: {} }, mo = Ot.exports, dn;
|
|
3509
|
+
function uo() {
|
|
3510
3510
|
return dn || (dn = 1, (function(e, t) {
|
|
3511
3511
|
(function(a, n, s) {
|
|
3512
3512
|
e.exports = n(pe(), Ae());
|
|
3513
|
-
})(
|
|
3513
|
+
})(mo, function(a) {
|
|
3514
3514
|
return a.mode.CFB = (function() {
|
|
3515
3515
|
var n = a.lib.BlockCipherMode.extend();
|
|
3516
3516
|
n.Encryptor = n.extend({
|
|
@@ -3535,12 +3535,12 @@ function so() {
|
|
|
3535
3535
|
});
|
|
3536
3536
|
})(Ot)), Ot.exports;
|
|
3537
3537
|
}
|
|
3538
|
-
var Bt = { exports: {} },
|
|
3539
|
-
function
|
|
3538
|
+
var Bt = { exports: {} }, po = Bt.exports, cn;
|
|
3539
|
+
function go() {
|
|
3540
3540
|
return cn || (cn = 1, (function(e, t) {
|
|
3541
3541
|
(function(a, n, s) {
|
|
3542
3542
|
e.exports = n(pe(), Ae());
|
|
3543
|
-
})(
|
|
3543
|
+
})(po, function(a) {
|
|
3544
3544
|
return a.mode.CTR = (function() {
|
|
3545
3545
|
var n = a.lib.BlockCipherMode.extend(), s = n.Encryptor = n.extend({
|
|
3546
3546
|
processBlock: function(u, b) {
|
|
@@ -3557,12 +3557,12 @@ function uo() {
|
|
|
3557
3557
|
});
|
|
3558
3558
|
})(Bt)), Bt.exports;
|
|
3559
3559
|
}
|
|
3560
|
-
var Ht = { exports: {} },
|
|
3561
|
-
function
|
|
3560
|
+
var Ht = { exports: {} }, co = Ht.exports, fn;
|
|
3561
|
+
function fo() {
|
|
3562
3562
|
return fn || (fn = 1, (function(e, t) {
|
|
3563
3563
|
(function(a, n, s) {
|
|
3564
3564
|
e.exports = n(pe(), Ae());
|
|
3565
|
-
})(
|
|
3565
|
+
})(co, function(a) {
|
|
3566
3566
|
return a.mode.CTRGladman = (function() {
|
|
3567
3567
|
var n = a.lib.BlockCipherMode.extend();
|
|
3568
3568
|
function s(d) {
|
|
@@ -3591,12 +3591,12 @@ function go() {
|
|
|
3591
3591
|
});
|
|
3592
3592
|
})(Ht)), Ht.exports;
|
|
3593
3593
|
}
|
|
3594
|
-
var Wt = { exports: {} },
|
|
3595
|
-
function
|
|
3594
|
+
var Wt = { exports: {} }, _o = Wt.exports, _n;
|
|
3595
|
+
function yo() {
|
|
3596
3596
|
return _n || (_n = 1, (function(e, t) {
|
|
3597
3597
|
(function(a, n, s) {
|
|
3598
3598
|
e.exports = n(pe(), Ae());
|
|
3599
|
-
})(
|
|
3599
|
+
})(_o, function(a) {
|
|
3600
3600
|
return a.mode.OFB = (function() {
|
|
3601
3601
|
var n = a.lib.BlockCipherMode.extend(), s = n.Encryptor = n.extend({
|
|
3602
3602
|
processBlock: function(u, b) {
|
|
@@ -3611,12 +3611,12 @@ function fo() {
|
|
|
3611
3611
|
});
|
|
3612
3612
|
})(Wt)), Wt.exports;
|
|
3613
3613
|
}
|
|
3614
|
-
var It = { exports: {} },
|
|
3615
|
-
function
|
|
3614
|
+
var It = { exports: {} }, bo = It.exports, yn;
|
|
3615
|
+
function Uo() {
|
|
3616
3616
|
return yn || (yn = 1, (function(e, t) {
|
|
3617
3617
|
(function(a, n, s) {
|
|
3618
3618
|
e.exports = n(pe(), Ae());
|
|
3619
|
-
})(
|
|
3619
|
+
})(bo, function(a) {
|
|
3620
3620
|
return a.mode.ECB = (function() {
|
|
3621
3621
|
var n = a.lib.BlockCipherMode.extend();
|
|
3622
3622
|
return n.Encryptor = n.extend({
|
|
@@ -3632,12 +3632,12 @@ function yo() {
|
|
|
3632
3632
|
});
|
|
3633
3633
|
})(It)), It.exports;
|
|
3634
3634
|
}
|
|
3635
|
-
var zt = { exports: {} },
|
|
3636
|
-
function
|
|
3635
|
+
var zt = { exports: {} }, Co = zt.exports, bn;
|
|
3636
|
+
function vo() {
|
|
3637
3637
|
return bn || (bn = 1, (function(e, t) {
|
|
3638
3638
|
(function(a, n, s) {
|
|
3639
3639
|
e.exports = n(pe(), Ae());
|
|
3640
|
-
})(
|
|
3640
|
+
})(Co, function(a) {
|
|
3641
3641
|
return a.pad.AnsiX923 = {
|
|
3642
3642
|
pad: function(n, s) {
|
|
3643
3643
|
var u = n.sigBytes, b = s * 4, d = b - u % b, l = u + d - 1;
|
|
@@ -3651,12 +3651,12 @@ function Uo() {
|
|
|
3651
3651
|
});
|
|
3652
3652
|
})(zt)), zt.exports;
|
|
3653
3653
|
}
|
|
3654
|
-
var Vt = { exports: {} },
|
|
3655
|
-
function
|
|
3654
|
+
var Vt = { exports: {} }, ho = Vt.exports, Un;
|
|
3655
|
+
function To() {
|
|
3656
3656
|
return Un || (Un = 1, (function(e, t) {
|
|
3657
3657
|
(function(a, n, s) {
|
|
3658
3658
|
e.exports = n(pe(), Ae());
|
|
3659
|
-
})(
|
|
3659
|
+
})(ho, function(a) {
|
|
3660
3660
|
return a.pad.Iso10126 = {
|
|
3661
3661
|
pad: function(n, s) {
|
|
3662
3662
|
var u = s * 4, b = u - n.sigBytes % u;
|
|
@@ -3670,12 +3670,12 @@ function vo() {
|
|
|
3670
3670
|
});
|
|
3671
3671
|
})(Vt)), Vt.exports;
|
|
3672
3672
|
}
|
|
3673
|
-
var Jt = { exports: {} },
|
|
3674
|
-
function
|
|
3673
|
+
var Jt = { exports: {} }, ko = Jt.exports, Cn;
|
|
3674
|
+
function xo() {
|
|
3675
3675
|
return Cn || (Cn = 1, (function(e, t) {
|
|
3676
3676
|
(function(a, n, s) {
|
|
3677
3677
|
e.exports = n(pe(), Ae());
|
|
3678
|
-
})(
|
|
3678
|
+
})(ko, function(a) {
|
|
3679
3679
|
return a.pad.Iso97971 = {
|
|
3680
3680
|
pad: function(n, s) {
|
|
3681
3681
|
n.concat(a.lib.WordArray.create([2147483648], 1)), a.pad.ZeroPadding.pad(n, s);
|
|
@@ -3687,12 +3687,12 @@ function To() {
|
|
|
3687
3687
|
});
|
|
3688
3688
|
})(Jt)), Jt.exports;
|
|
3689
3689
|
}
|
|
3690
|
-
var Zt = { exports: {} },
|
|
3691
|
-
function
|
|
3690
|
+
var Zt = { exports: {} }, So = Zt.exports, vn;
|
|
3691
|
+
function Eo() {
|
|
3692
3692
|
return vn || (vn = 1, (function(e, t) {
|
|
3693
3693
|
(function(a, n, s) {
|
|
3694
3694
|
e.exports = n(pe(), Ae());
|
|
3695
|
-
})(
|
|
3695
|
+
})(So, function(a) {
|
|
3696
3696
|
return a.pad.ZeroPadding = {
|
|
3697
3697
|
pad: function(n, s) {
|
|
3698
3698
|
var u = s * 4;
|
|
@@ -3709,12 +3709,12 @@ function xo() {
|
|
|
3709
3709
|
});
|
|
3710
3710
|
})(Zt)), Zt.exports;
|
|
3711
3711
|
}
|
|
3712
|
-
var Kt = { exports: {} },
|
|
3713
|
-
function
|
|
3712
|
+
var Kt = { exports: {} }, Do = Kt.exports, hn;
|
|
3713
|
+
function No() {
|
|
3714
3714
|
return hn || (hn = 1, (function(e, t) {
|
|
3715
3715
|
(function(a, n, s) {
|
|
3716
3716
|
e.exports = n(pe(), Ae());
|
|
3717
|
-
})(
|
|
3717
|
+
})(Do, function(a) {
|
|
3718
3718
|
return a.pad.NoPadding = {
|
|
3719
3719
|
pad: function() {
|
|
3720
3720
|
},
|
|
@@ -3724,12 +3724,12 @@ function Eo() {
|
|
|
3724
3724
|
});
|
|
3725
3725
|
})(Kt)), Kt.exports;
|
|
3726
3726
|
}
|
|
3727
|
-
var qt = { exports: {} },
|
|
3728
|
-
function
|
|
3727
|
+
var qt = { exports: {} }, Lo = qt.exports, Tn;
|
|
3728
|
+
function Go() {
|
|
3729
3729
|
return Tn || (Tn = 1, (function(e, t) {
|
|
3730
3730
|
(function(a, n, s) {
|
|
3731
3731
|
e.exports = n(pe(), Ae());
|
|
3732
|
-
})(
|
|
3732
|
+
})(Lo, function(a) {
|
|
3733
3733
|
return (function(n) {
|
|
3734
3734
|
var s = a, u = s.lib, b = u.CipherParams, d = s.enc, l = d.Hex, i = s.format;
|
|
3735
3735
|
i.Hex = {
|
|
@@ -3771,12 +3771,12 @@ function No() {
|
|
|
3771
3771
|
});
|
|
3772
3772
|
})(qt)), qt.exports;
|
|
3773
3773
|
}
|
|
3774
|
-
var $t = { exports: {} },
|
|
3775
|
-
function
|
|
3774
|
+
var $t = { exports: {} }, Mo = $t.exports, kn;
|
|
3775
|
+
function Ro() {
|
|
3776
3776
|
return kn || (kn = 1, (function(e, t) {
|
|
3777
3777
|
(function(a, n, s) {
|
|
3778
3778
|
e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
|
|
3779
|
-
})(
|
|
3779
|
+
})(Mo, function(a) {
|
|
3780
3780
|
return (function() {
|
|
3781
3781
|
var n = a, s = n.lib, u = s.BlockCipher, b = n.algo, d = [], l = [], i = [], r = [], o = [], m = [], g = [], p = [], f = [], y = [];
|
|
3782
3782
|
(function() {
|
|
@@ -3831,12 +3831,12 @@ function Go() {
|
|
|
3831
3831
|
});
|
|
3832
3832
|
})($t)), $t.exports;
|
|
3833
3833
|
}
|
|
3834
|
-
var jt = { exports: {} },
|
|
3835
|
-
function
|
|
3834
|
+
var jt = { exports: {} }, Po = jt.exports, xn;
|
|
3835
|
+
function wo() {
|
|
3836
3836
|
return xn || (xn = 1, (function(e, t) {
|
|
3837
3837
|
(function(a, n, s) {
|
|
3838
3838
|
e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
|
|
3839
|
-
})(
|
|
3839
|
+
})(Po, function(a) {
|
|
3840
3840
|
return (function() {
|
|
3841
3841
|
var n = a, s = n.lib, u = s.WordArray, b = s.BlockCipher, d = n.algo, l = [
|
|
3842
3842
|
57,
|
|
@@ -4551,12 +4551,12 @@ function Ro() {
|
|
|
4551
4551
|
});
|
|
4552
4552
|
})(jt)), jt.exports;
|
|
4553
4553
|
}
|
|
4554
|
-
var Qt = { exports: {} },
|
|
4555
|
-
function
|
|
4554
|
+
var Qt = { exports: {} }, Fo = Qt.exports, Sn;
|
|
4555
|
+
function Ao() {
|
|
4556
4556
|
return Sn || (Sn = 1, (function(e, t) {
|
|
4557
4557
|
(function(a, n, s) {
|
|
4558
4558
|
e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
|
|
4559
|
-
})(
|
|
4559
|
+
})(Fo, function(a) {
|
|
4560
4560
|
return (function() {
|
|
4561
4561
|
var n = a, s = n.lib, u = s.StreamCipher, b = n.algo, d = b.RC4 = u.extend({
|
|
4562
4562
|
_doReset: function() {
|
|
@@ -4605,12 +4605,12 @@ function wo() {
|
|
|
4605
4605
|
});
|
|
4606
4606
|
})(Qt)), Qt.exports;
|
|
4607
4607
|
}
|
|
4608
|
-
var Yt = { exports: {} },
|
|
4609
|
-
function
|
|
4608
|
+
var Yt = { exports: {} }, Oo = Yt.exports, En;
|
|
4609
|
+
function Bo() {
|
|
4610
4610
|
return En || (En = 1, (function(e, t) {
|
|
4611
4611
|
(function(a, n, s) {
|
|
4612
4612
|
e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
|
|
4613
|
-
})(
|
|
4613
|
+
})(Oo, function(a) {
|
|
4614
4614
|
return (function() {
|
|
4615
4615
|
var n = a, s = n.lib, u = s.StreamCipher, b = n.algo, d = [], l = [], i = [], r = b.Rabbit = u.extend({
|
|
4616
4616
|
_doReset: function() {
|
|
@@ -4671,12 +4671,12 @@ function Ao() {
|
|
|
4671
4671
|
});
|
|
4672
4672
|
})(Yt)), Yt.exports;
|
|
4673
4673
|
}
|
|
4674
|
-
var Xt = { exports: {} },
|
|
4675
|
-
function
|
|
4674
|
+
var Xt = { exports: {} }, Ho = Xt.exports, Dn;
|
|
4675
|
+
function Wo() {
|
|
4676
4676
|
return Dn || (Dn = 1, (function(e, t) {
|
|
4677
4677
|
(function(a, n, s) {
|
|
4678
4678
|
e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
|
|
4679
|
-
})(
|
|
4679
|
+
})(Ho, function(a) {
|
|
4680
4680
|
return (function() {
|
|
4681
4681
|
var n = a, s = n.lib, u = s.StreamCipher, b = n.algo, d = [], l = [], i = [], r = b.RabbitLegacy = u.extend({
|
|
4682
4682
|
_doReset: function() {
|
|
@@ -4735,12 +4735,12 @@ function Bo() {
|
|
|
4735
4735
|
});
|
|
4736
4736
|
})(Xt)), Xt.exports;
|
|
4737
4737
|
}
|
|
4738
|
-
var ei = { exports: {} },
|
|
4739
|
-
function
|
|
4738
|
+
var ei = { exports: {} }, Io = ei.exports, Nn;
|
|
4739
|
+
function zo() {
|
|
4740
4740
|
return Nn || (Nn = 1, (function(e, t) {
|
|
4741
4741
|
(function(a, n, s) {
|
|
4742
4742
|
e.exports = n(pe(), Ra(), Pa(), xa(), Ae());
|
|
4743
|
-
})(
|
|
4743
|
+
})(Io, function(a) {
|
|
4744
4744
|
return (function() {
|
|
4745
4745
|
var n = a, s = n.lib, u = s.BlockCipher, b = n.algo;
|
|
4746
4746
|
const d = 16, l = [
|
|
@@ -5857,24 +5857,24 @@ function Wo() {
|
|
|
5857
5857
|
});
|
|
5858
5858
|
})(ei)), ei.exports;
|
|
5859
5859
|
}
|
|
5860
|
-
var
|
|
5861
|
-
function
|
|
5860
|
+
var Vo = Ut.exports, Ln;
|
|
5861
|
+
function Jo() {
|
|
5862
5862
|
return Ln || (Ln = 1, (function(e, t) {
|
|
5863
5863
|
(function(a, n, s) {
|
|
5864
|
-
e.exports = n(pe(), oi(),
|
|
5865
|
-
})(
|
|
5864
|
+
e.exports = n(pe(), oi(), Hl(), Il(), Ra(), Jl(), Pa(), hr(), Ni(), jl(), Tr(), Xl(), ao(), io(), Li(), lo(), xa(), Ae(), uo(), go(), fo(), yo(), Uo(), vo(), To(), xo(), Eo(), No(), Go(), Ro(), wo(), Ao(), Bo(), Wo(), zo());
|
|
5865
|
+
})(Vo, function(a) {
|
|
5866
5866
|
return a;
|
|
5867
5867
|
});
|
|
5868
5868
|
})(Ut)), Ut.exports;
|
|
5869
5869
|
}
|
|
5870
|
-
var Ta =
|
|
5870
|
+
var Ta = Jo();
|
|
5871
5871
|
const ha = /* @__PURE__ */ Di(Ta);
|
|
5872
|
-
var ai = { exports: {} },
|
|
5873
|
-
function
|
|
5872
|
+
var ai = { exports: {} }, Zo = ai.exports, Gn;
|
|
5873
|
+
function Ko() {
|
|
5874
5874
|
return Gn || (Gn = 1, (function(e, t) {
|
|
5875
5875
|
(function(a, n) {
|
|
5876
5876
|
e.exports = n();
|
|
5877
|
-
})(
|
|
5877
|
+
})(Zo, (function() {
|
|
5878
5878
|
var a = 1e3, n = 6e4, s = 36e5, u = "millisecond", b = "second", d = "minute", l = "hour", i = "day", r = "week", o = "month", m = "quarter", g = "year", p = "date", f = "Invalid Date", y = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, _ = /\[([^\]]+)]|YYYY|YY|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, c = { 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(R) {
|
|
5879
5879
|
var L = ["th", "st", "nd", "rd"], G = R % 100;
|
|
5880
5880
|
return "[" + R + (L[(G - 20) % 10] || L[G] || L[0]) + "]";
|
|
@@ -6017,17 +6017,17 @@ function Jo() {
|
|
|
6017
6017
|
}, L.format = function(G) {
|
|
6018
6018
|
var I = this, W = this.$locale();
|
|
6019
6019
|
if (!this.isValid()) return W.invalidDate || f;
|
|
6020
|
-
var O = G || "YYYY-MM-DDTHH:mm:ssZ", z = S.z(this), N = this.$H, E = this.$m, F = this.$M, w = W.weekdays, X = W.months, ie = W.meridiem, le = function(Z, Q,
|
|
6021
|
-
return Z && (Z[Q] || Z(I, O)) ||
|
|
6020
|
+
var O = G || "YYYY-MM-DDTHH:mm:ssZ", z = S.z(this), N = this.$H, E = this.$m, F = this.$M, w = W.weekdays, X = W.months, ie = W.meridiem, le = function(Z, Q, K, ee) {
|
|
6021
|
+
return Z && (Z[Q] || Z(I, O)) || K[Q].slice(0, ee);
|
|
6022
6022
|
}, B = function(Z) {
|
|
6023
6023
|
return S.s(N % 12 || 12, Z, "0");
|
|
6024
|
-
}, V = ie || function(Z, Q,
|
|
6024
|
+
}, V = ie || function(Z, Q, K) {
|
|
6025
6025
|
var ee = Z < 12 ? "AM" : "PM";
|
|
6026
|
-
return
|
|
6026
|
+
return K ? ee.toLowerCase() : ee;
|
|
6027
6027
|
};
|
|
6028
6028
|
return O.replace(_, (function(Z, Q) {
|
|
6029
|
-
return Q || (function(
|
|
6030
|
-
switch (
|
|
6029
|
+
return Q || (function(K) {
|
|
6030
|
+
switch (K) {
|
|
6031
6031
|
case "YY":
|
|
6032
6032
|
return String(I.$y).slice(-2);
|
|
6033
6033
|
case "YYYY":
|
|
@@ -6147,8 +6147,8 @@ function Jo() {
|
|
|
6147
6147
|
}));
|
|
6148
6148
|
})(ai)), ai.exports;
|
|
6149
6149
|
}
|
|
6150
|
-
var
|
|
6151
|
-
const we = /* @__PURE__ */ Di(
|
|
6150
|
+
var qo = Ko();
|
|
6151
|
+
const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
|
|
6152
6152
|
const t = "mySecretPassphrase", a = ha.lib.WordArray.random(16), n = ha.PBKDF2(t, a, {
|
|
6153
6153
|
keySize: 128 / 32,
|
|
6154
6154
|
iterations: 1e3,
|
|
@@ -6159,7 +6159,7 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6159
6159
|
padding: ha.pad.Pkcs7
|
|
6160
6160
|
}), u = a.toString(ha.enc.Base64), b = ha.enc.Base64.stringify(s.ciphertext);
|
|
6161
6161
|
return u + ":" + b;
|
|
6162
|
-
},
|
|
6162
|
+
}, $o = (e) => e === "aes" ? Ja : (t) => Ta.MD5(t).toString(), oe = () => {
|
|
6163
6163
|
const {
|
|
6164
6164
|
client: e,
|
|
6165
6165
|
formDataClient: t,
|
|
@@ -6180,12 +6180,12 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6180
6180
|
[e]
|
|
6181
6181
|
), s = M(async () => e.get("/member/getMemberInfo"), [e]), u = M(async () => await e.get("/member/getGameList"), [e]), b = M(async () => await e.get("/member/getNowCurrencyExchange"), [e]), d = M(async () => await e.get("member/getFavoriteGame"), [e]), l = M(
|
|
6182
6182
|
async (B) => {
|
|
6183
|
-
const { account: V, password: Z, trans_code: Q, two_fa_value:
|
|
6183
|
+
const { account: V, password: Z, trans_code: Q, two_fa_value: K } = B;
|
|
6184
6184
|
return await e.post("/login", {
|
|
6185
6185
|
memId: V,
|
|
6186
6186
|
passwd: Z,
|
|
6187
6187
|
trans_code: Q,
|
|
6188
|
-
two_fa_value:
|
|
6188
|
+
two_fa_value: K
|
|
6189
6189
|
});
|
|
6190
6190
|
},
|
|
6191
6191
|
[e]
|
|
@@ -6203,12 +6203,12 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6203
6203
|
password: V,
|
|
6204
6204
|
unlimitCode: Z,
|
|
6205
6205
|
email: Q,
|
|
6206
|
-
inviteCode:
|
|
6206
|
+
inviteCode: K,
|
|
6207
6207
|
currencyCode: ee,
|
|
6208
6208
|
validCode: de,
|
|
6209
6209
|
nickName: he
|
|
6210
6210
|
}) => {
|
|
6211
|
-
const
|
|
6211
|
+
const be = {
|
|
6212
6212
|
memId: B,
|
|
6213
6213
|
passwd: Ta.MD5(V).toString(),
|
|
6214
6214
|
email: Q,
|
|
@@ -6216,12 +6216,12 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6216
6216
|
code: de,
|
|
6217
6217
|
nick_name: he
|
|
6218
6218
|
};
|
|
6219
|
-
return Q && (
|
|
6219
|
+
return Q && (be.email = Q), Z && (be.unlimit_code = Z), K && (be.invite = K), e.post("/siginUp", be);
|
|
6220
6220
|
},
|
|
6221
6221
|
[e]
|
|
6222
6222
|
), g = M(
|
|
6223
6223
|
async (B) => {
|
|
6224
|
-
const { name: V, birthday: Z, email: Q, mobile:
|
|
6224
|
+
const { name: V, birthday: Z, email: Q, mobile: K } = B;
|
|
6225
6225
|
return await e.post("/editMembetInfo", {
|
|
6226
6226
|
name: V,
|
|
6227
6227
|
// 暱稱
|
|
@@ -6229,14 +6229,14 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6229
6229
|
// 生日 (格式:YYYY-MM-DD)
|
|
6230
6230
|
email: Q,
|
|
6231
6231
|
// 電子郵件
|
|
6232
|
-
mobile:
|
|
6232
|
+
mobile: K
|
|
6233
6233
|
// 手機號碼
|
|
6234
6234
|
});
|
|
6235
6235
|
},
|
|
6236
6236
|
[e]
|
|
6237
6237
|
), p = M(
|
|
6238
6238
|
async (B) => {
|
|
6239
|
-
const { name: V, birthday: Z, email: Q, mobile:
|
|
6239
|
+
const { name: V, birthday: Z, email: Q, mobile: K } = B;
|
|
6240
6240
|
return await e.post("/editMemberInfo", {
|
|
6241
6241
|
name: V,
|
|
6242
6242
|
// 暱稱
|
|
@@ -6244,17 +6244,17 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6244
6244
|
// 生日 (格式:YYYY-MM-DD)
|
|
6245
6245
|
email: Q,
|
|
6246
6246
|
// 電子郵件
|
|
6247
|
-
mobile:
|
|
6247
|
+
mobile: K
|
|
6248
6248
|
// 手機號碼
|
|
6249
6249
|
});
|
|
6250
6250
|
},
|
|
6251
6251
|
[e]
|
|
6252
6252
|
), f = M(
|
|
6253
6253
|
async (B) => {
|
|
6254
|
-
const { oldPwd: V, newPwd: Z, encrypt: Q } = B,
|
|
6254
|
+
const { oldPwd: V, newPwd: Z, encrypt: Q } = B, K = $o(Q || a || "md5");
|
|
6255
6255
|
return await e.post("/passwordReset", {
|
|
6256
|
-
old_pwd:
|
|
6257
|
-
new_pwd:
|
|
6256
|
+
old_pwd: K(V),
|
|
6257
|
+
new_pwd: K(Z)
|
|
6258
6258
|
});
|
|
6259
6259
|
},
|
|
6260
6260
|
[e, a]
|
|
@@ -6316,12 +6316,12 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6316
6316
|
[e]
|
|
6317
6317
|
), T = M(async () => await e.get("/member/checkRestrictedWagering"), [e]), h = M(
|
|
6318
6318
|
async (B) => {
|
|
6319
|
-
const { memId: V, point: Z, currency: Q, password:
|
|
6319
|
+
const { memId: V, point: Z, currency: Q, password: K } = B;
|
|
6320
6320
|
return await e.post("/pointsTransaction", {
|
|
6321
6321
|
to_memId: V,
|
|
6322
6322
|
point: Z,
|
|
6323
6323
|
currency: Q,
|
|
6324
|
-
password: Ja(
|
|
6324
|
+
password: Ja(K)
|
|
6325
6325
|
});
|
|
6326
6326
|
},
|
|
6327
6327
|
[e]
|
|
@@ -6331,7 +6331,7 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6331
6331
|
bank_name: V,
|
|
6332
6332
|
bank_account_name: Z,
|
|
6333
6333
|
bank_branch_name: Q,
|
|
6334
|
-
bank_account:
|
|
6334
|
+
bank_account: K,
|
|
6335
6335
|
bank_card_number: ee,
|
|
6336
6336
|
id_card: de,
|
|
6337
6337
|
id_pic: he
|
|
@@ -6349,12 +6349,12 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6349
6349
|
[e]
|
|
6350
6350
|
), k = M(
|
|
6351
6351
|
async (B) => {
|
|
6352
|
-
const { trans_code: V, line_id: Z, invite: Q, line_name:
|
|
6352
|
+
const { trans_code: V, line_id: Z, invite: Q, line_name: K } = B;
|
|
6353
6353
|
return await e.post("/goLine", {
|
|
6354
6354
|
trans_code: V,
|
|
6355
6355
|
line_id: Z,
|
|
6356
6356
|
invite: Q,
|
|
6357
|
-
line_name:
|
|
6357
|
+
line_name: K
|
|
6358
6358
|
});
|
|
6359
6359
|
},
|
|
6360
6360
|
[e]
|
|
@@ -6376,22 +6376,22 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6376
6376
|
[e]
|
|
6377
6377
|
), P = M(
|
|
6378
6378
|
async (B) => {
|
|
6379
|
-
const { member_info_uid: V, point: Z, currency: Q, withdraw_password:
|
|
6379
|
+
const { member_info_uid: V, point: Z, currency: Q, withdraw_password: K } = B;
|
|
6380
6380
|
return await e.post(`/member/transfer/${V}`, {
|
|
6381
6381
|
point: Z,
|
|
6382
6382
|
currency: Q,
|
|
6383
|
-
withdraw_password:
|
|
6383
|
+
withdraw_password: K
|
|
6384
6384
|
});
|
|
6385
6385
|
},
|
|
6386
6386
|
[e]
|
|
6387
6387
|
), R = M(
|
|
6388
6388
|
async (B) => {
|
|
6389
|
-
const { member_info_uid: V, point: Z, currency: Q, withdraw_password:
|
|
6389
|
+
const { member_info_uid: V, point: Z, currency: Q, withdraw_password: K } = B;
|
|
6390
6390
|
return await e.get(`/member/transfer/${V}`, {
|
|
6391
6391
|
params: {
|
|
6392
6392
|
point: Z,
|
|
6393
6393
|
currency: Q,
|
|
6394
|
-
withdraw_password:
|
|
6394
|
+
withdraw_password: K
|
|
6395
6395
|
}
|
|
6396
6396
|
});
|
|
6397
6397
|
},
|
|
@@ -6407,24 +6407,24 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6407
6407
|
[e]
|
|
6408
6408
|
), G = M(
|
|
6409
6409
|
async (B) => {
|
|
6410
|
-
const { mobile: V, verifyCode: Z, snCode: Q, invoiceType:
|
|
6410
|
+
const { mobile: V, verifyCode: Z, snCode: Q, invoiceType: K, invoiceCode: ee } = B;
|
|
6411
6411
|
return await e.post("/goMobile", {
|
|
6412
6412
|
mobile: V,
|
|
6413
6413
|
verification_code: Z,
|
|
6414
6414
|
sn_code: Q,
|
|
6415
|
-
invoice_type:
|
|
6415
|
+
invoice_type: K,
|
|
6416
6416
|
invoice_code: ee
|
|
6417
6417
|
});
|
|
6418
6418
|
},
|
|
6419
6419
|
[e]
|
|
6420
6420
|
), I = M(
|
|
6421
6421
|
async (B) => {
|
|
6422
|
-
const { mobile: V, password: Z, verifyCode: Q, invite:
|
|
6422
|
+
const { mobile: V, password: Z, verifyCode: Q, invite: K, invoiceType: ee, invoiceCode: de } = B;
|
|
6423
6423
|
return await e.post("/goMobileByInvite", {
|
|
6424
6424
|
mobile: V,
|
|
6425
6425
|
passwd: Ta.MD5(Z).toString(),
|
|
6426
6426
|
verification_code: Q,
|
|
6427
|
-
invite:
|
|
6427
|
+
invite: K,
|
|
6428
6428
|
invoice_type: ee,
|
|
6429
6429
|
invoice_code: de
|
|
6430
6430
|
});
|
|
@@ -6442,12 +6442,12 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6442
6442
|
[e]
|
|
6443
6443
|
), O = M(
|
|
6444
6444
|
async (B) => {
|
|
6445
|
-
const { mobile: V, password: Z, invite: Q, invoiceType:
|
|
6445
|
+
const { mobile: V, password: Z, invite: Q, invoiceType: K, invoiceCode: ee } = B;
|
|
6446
6446
|
return await e.post("/goMobileByPassword", {
|
|
6447
6447
|
mobile: V,
|
|
6448
6448
|
password: Ta.MD5(Z).toString(),
|
|
6449
6449
|
invite: Q,
|
|
6450
|
-
invoice_type:
|
|
6450
|
+
invoice_type: K,
|
|
6451
6451
|
invoice_code: ee
|
|
6452
6452
|
});
|
|
6453
6453
|
},
|
|
@@ -6534,9 +6534,9 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6534
6534
|
getUserAvatarListApi: X,
|
|
6535
6535
|
updateUserAvatarApi: ie
|
|
6536
6536
|
};
|
|
6537
|
-
},
|
|
6537
|
+
}, Tu = ({ otherQueryKey: e = [], options: t = {} } = {}) => {
|
|
6538
6538
|
const { userCurrencyExchangeApi: a } = oe(), { getToken: n } = re(), { enabled: s, ...u } = t, d = !!n?.() && (s ? s.every((l) => l) : !0);
|
|
6539
|
-
return
|
|
6539
|
+
return sr({
|
|
6540
6540
|
queries: [
|
|
6541
6541
|
{
|
|
6542
6542
|
queryKey: ["userCurrencyExchange", ...e],
|
|
@@ -6548,13 +6548,13 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6548
6548
|
}
|
|
6549
6549
|
]
|
|
6550
6550
|
});
|
|
6551
|
-
},
|
|
6551
|
+
}, ku = ({
|
|
6552
6552
|
refetchInterval: e = 5e4,
|
|
6553
6553
|
trigger: t = [],
|
|
6554
6554
|
enabled: a = !0
|
|
6555
6555
|
} = {}) => {
|
|
6556
6556
|
const { getToken: n } = re(), s = n?.(), { userInfoApi: u } = oe();
|
|
6557
|
-
return
|
|
6557
|
+
return sr({
|
|
6558
6558
|
queries: [
|
|
6559
6559
|
{
|
|
6560
6560
|
queryKey: ["getMemberInfo", ...t],
|
|
@@ -6564,7 +6564,7 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6564
6564
|
}
|
|
6565
6565
|
]
|
|
6566
6566
|
});
|
|
6567
|
-
},
|
|
6567
|
+
}, xu = ({ enabled: e = !0 } = {}) => {
|
|
6568
6568
|
const {
|
|
6569
6569
|
userInfoApi: t,
|
|
6570
6570
|
userFavoriteGameApi: a,
|
|
@@ -6659,31 +6659,31 @@ const we = /* @__PURE__ */ Di(Zo), Ja = (e) => {
|
|
|
6659
6659
|
[e]
|
|
6660
6660
|
);
|
|
6661
6661
|
return { playGameApi: n, betRecordApi: s, betRecordDetailApi: u };
|
|
6662
|
-
},
|
|
6662
|
+
}, jo = ({ options: e, formData: t } = {}) => {
|
|
6663
6663
|
const { betRecordApi: a } = Gi();
|
|
6664
6664
|
return Y({
|
|
6665
6665
|
queryKey: ["getBetRecord"],
|
|
6666
6666
|
queryFn: async () => await a(t),
|
|
6667
|
-
select: (n) =>
|
|
6667
|
+
select: (n) => mr(n).map(([u, b]) => ({
|
|
6668
6668
|
...b,
|
|
6669
6669
|
platform: u
|
|
6670
6670
|
})),
|
|
6671
6671
|
...e
|
|
6672
6672
|
});
|
|
6673
|
-
},
|
|
6673
|
+
}, Qo = ({ options: e, formData: t } = {}) => {
|
|
6674
6674
|
const { betRecordDetailApi: a } = Gi();
|
|
6675
6675
|
return Y({
|
|
6676
6676
|
queryKey: ["getBetRecordDetail"],
|
|
6677
6677
|
queryFn: async () => await a(t),
|
|
6678
6678
|
...e
|
|
6679
6679
|
});
|
|
6680
|
-
},
|
|
6680
|
+
}, Su = ({
|
|
6681
6681
|
options: e = {
|
|
6682
6682
|
betRecord: {},
|
|
6683
6683
|
betRecordDetail: {}
|
|
6684
6684
|
}
|
|
6685
6685
|
}) => {
|
|
6686
|
-
const t =
|
|
6686
|
+
const t = jo({ options: e.betRecord }), a = Qo({
|
|
6687
6687
|
options: e.betRecordDetail
|
|
6688
6688
|
});
|
|
6689
6689
|
return {
|
|
@@ -6699,7 +6699,7 @@ function ft(e) {
|
|
|
6699
6699
|
}
|
|
6700
6700
|
return e;
|
|
6701
6701
|
}
|
|
6702
|
-
var
|
|
6702
|
+
var Yo = {
|
|
6703
6703
|
read: function(e) {
|
|
6704
6704
|
return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
6705
6705
|
},
|
|
@@ -6760,7 +6760,7 @@ function Ui(e, t) {
|
|
|
6760
6760
|
}
|
|
6761
6761
|
);
|
|
6762
6762
|
}
|
|
6763
|
-
var Ci = Ui(
|
|
6763
|
+
var Ci = Ui(Yo, { path: "/" }), gi = {}, $e = {}, di = {}, Mn;
|
|
6764
6764
|
function sa() {
|
|
6765
6765
|
return Mn || (Mn = 1, (function(e) {
|
|
6766
6766
|
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;
|
|
@@ -6835,7 +6835,7 @@ function Ri() {
|
|
|
6835
6835
|
return pa.setUpSocketIOPing = n, pa;
|
|
6836
6836
|
}
|
|
6837
6837
|
var _t = {}, wn;
|
|
6838
|
-
function
|
|
6838
|
+
function kr() {
|
|
6839
6839
|
if (wn) return _t;
|
|
6840
6840
|
wn = 1, Object.defineProperty(_t, "__esModule", { value: !0 }), _t.heartbeat = a;
|
|
6841
6841
|
var e = sa();
|
|
@@ -6909,7 +6909,7 @@ function wi() {
|
|
|
6909
6909
|
return lt;
|
|
6910
6910
|
}
|
|
6911
6911
|
var On;
|
|
6912
|
-
function
|
|
6912
|
+
function Xo() {
|
|
6913
6913
|
if (On) return Na;
|
|
6914
6914
|
On = 1;
|
|
6915
6915
|
var e = Na && Na.__assign || function() {
|
|
@@ -6922,7 +6922,7 @@ function Qo() {
|
|
|
6922
6922
|
}, e.apply(this, arguments);
|
|
6923
6923
|
};
|
|
6924
6924
|
Object.defineProperty(Na, "__esModule", { value: !0 }), Na.attachListeners = void 0;
|
|
6925
|
-
var t = Ri(), a =
|
|
6925
|
+
var t = Ri(), a = kr(), n = sa(), s = wi(), u = function(r, o, m, g) {
|
|
6926
6926
|
r.onmessage = function(p) {
|
|
6927
6927
|
var f;
|
|
6928
6928
|
o.current.onMessage && o.current.onMessage(p), typeof g?.current == "number" && (g.current = Date.now()), !(typeof o.current.filter == "function" && o.current.filter(p) !== !0) && (o.current.heartbeat && typeof o.current.heartbeat != "boolean" && ((f = o.current.heartbeat) === null || f === void 0 ? void 0 : f.returnMessage) === p.data || m(p));
|
|
@@ -6979,7 +6979,7 @@ function Qo() {
|
|
|
6979
6979
|
return Na.attachListeners = i, Na;
|
|
6980
6980
|
}
|
|
6981
6981
|
var La = {}, Bn;
|
|
6982
|
-
function
|
|
6982
|
+
function es() {
|
|
6983
6983
|
if (Bn) return La;
|
|
6984
6984
|
Bn = 1;
|
|
6985
6985
|
var e = La && La.__assign || function() {
|
|
@@ -6992,7 +6992,7 @@ function Yo() {
|
|
|
6992
6992
|
}, e.apply(this, arguments);
|
|
6993
6993
|
};
|
|
6994
6994
|
Object.defineProperty(La, "__esModule", { value: !0 }), La.attachSharedListeners = void 0;
|
|
6995
|
-
var t = Mi(), a = sa(), n = Pi(), s = Ri(), u =
|
|
6995
|
+
var t = Mi(), a = sa(), n = Pi(), s = Ri(), u = kr(), b = function(o, m, g) {
|
|
6996
6996
|
o.onmessage = function(p) {
|
|
6997
6997
|
(0, n.getSubscribers)(m).forEach(function(f) {
|
|
6998
6998
|
var y;
|
|
@@ -7041,10 +7041,10 @@ function Yo() {
|
|
|
7041
7041
|
return La.attachSharedListeners = r, La;
|
|
7042
7042
|
}
|
|
7043
7043
|
var Hn;
|
|
7044
|
-
function
|
|
7044
|
+
function as() {
|
|
7045
7045
|
if (Hn) return rt;
|
|
7046
7046
|
Hn = 1, Object.defineProperty(rt, "__esModule", { value: !0 }), rt.createOrJoinSocket = void 0;
|
|
7047
|
-
var e = Mi(), t = sa(), a =
|
|
7047
|
+
var e = Mi(), t = sa(), a = Xo(), n = es(), s = Pi(), u = function(d, l, i, r, o) {
|
|
7048
7048
|
return function() {
|
|
7049
7049
|
if ((0, s.removeSubscriber)(d, l), !(0, s.hasSubscribers)(d)) {
|
|
7050
7050
|
try {
|
|
@@ -7084,7 +7084,7 @@ function Xo() {
|
|
|
7084
7084
|
return rt.createOrJoinSocket = b, rt;
|
|
7085
7085
|
}
|
|
7086
7086
|
var ga = {}, Wn;
|
|
7087
|
-
function
|
|
7087
|
+
function ts() {
|
|
7088
7088
|
return Wn || (Wn = 1, (function(e) {
|
|
7089
7089
|
var t = ga && ga.__awaiter || function(l, i, r, o) {
|
|
7090
7090
|
function m(g) {
|
|
@@ -7221,7 +7221,7 @@ function es() {
|
|
|
7221
7221
|
})(ga)), ga;
|
|
7222
7222
|
}
|
|
7223
7223
|
var _i = {}, In;
|
|
7224
|
-
function
|
|
7224
|
+
function is() {
|
|
7225
7225
|
return In || (In = 1, (function(e) {
|
|
7226
7226
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
|
|
7227
7227
|
var t = function(a, n) {
|
|
@@ -7241,9 +7241,9 @@ function as() {
|
|
|
7241
7241
|
}
|
|
7242
7242
|
var zn;
|
|
7243
7243
|
function Fi() {
|
|
7244
|
-
if (zn) return
|
|
7244
|
+
if (zn) return $e;
|
|
7245
7245
|
zn = 1;
|
|
7246
|
-
var e =
|
|
7246
|
+
var e = $e && $e.__assign || function() {
|
|
7247
7247
|
return e = Object.assign || function(m) {
|
|
7248
7248
|
for (var g, p = 1, f = arguments.length; p < f; p++) {
|
|
7249
7249
|
g = arguments[p];
|
|
@@ -7251,7 +7251,7 @@ function Fi() {
|
|
|
7251
7251
|
}
|
|
7252
7252
|
return m;
|
|
7253
7253
|
}, e.apply(this, arguments);
|
|
7254
|
-
}, t =
|
|
7254
|
+
}, t = $e && $e.__awaiter || function(m, g, p, f) {
|
|
7255
7255
|
function y(_) {
|
|
7256
7256
|
return _ instanceof p ? _ : new p(function(c) {
|
|
7257
7257
|
c(_);
|
|
@@ -7277,7 +7277,7 @@ function Fi() {
|
|
|
7277
7277
|
}
|
|
7278
7278
|
v((f = f.apply(m, g || [])).next());
|
|
7279
7279
|
});
|
|
7280
|
-
}, a =
|
|
7280
|
+
}, a = $e && $e.__generator || function(m, g) {
|
|
7281
7281
|
var p = { label: 0, sent: function() {
|
|
7282
7282
|
if (_[0] & 1) throw _[1];
|
|
7283
7283
|
return _[1];
|
|
@@ -7336,11 +7336,11 @@ function Fi() {
|
|
|
7336
7336
|
if (v[0] & 5) throw v[1];
|
|
7337
7337
|
return { value: v[0] ? v[1] : void 0, done: !0 };
|
|
7338
7338
|
}
|
|
7339
|
-
}, n =
|
|
7339
|
+
}, n = $e && $e.__importDefault || function(m) {
|
|
7340
7340
|
return m && m.__esModule ? m : { default: m };
|
|
7341
7341
|
};
|
|
7342
|
-
Object.defineProperty(
|
|
7343
|
-
var s = ve, u =
|
|
7342
|
+
Object.defineProperty($e, "__esModule", { value: !0 }), $e.useWebSocket = void 0;
|
|
7343
|
+
var s = ve, u = _l, b = sa(), d = as(), l = ts(), i = n(is()), r = wi(), o = function(m, g, p) {
|
|
7344
7344
|
g === void 0 && (g = b.DEFAULT_OPTIONS), p === void 0 && (p = !0);
|
|
7345
7345
|
var f = (0, s.useState)(null), y = f[0], _ = f[1], c = (0, s.useState)({}), U = c[0], C = c[1], v = (0, s.useMemo)(function() {
|
|
7346
7346
|
if (!g.disableJson && y)
|
|
@@ -7423,10 +7423,10 @@ function Fi() {
|
|
|
7423
7423
|
getWebSocket: W
|
|
7424
7424
|
};
|
|
7425
7425
|
};
|
|
7426
|
-
return
|
|
7426
|
+
return $e.useWebSocket = o, $e;
|
|
7427
7427
|
}
|
|
7428
7428
|
var Ga = {}, Vn;
|
|
7429
|
-
function
|
|
7429
|
+
function ns() {
|
|
7430
7430
|
if (Vn) return Ga;
|
|
7431
7431
|
Vn = 1;
|
|
7432
7432
|
var e = Ga && Ga.__assign || function() {
|
|
@@ -7472,7 +7472,7 @@ function ts() {
|
|
|
7472
7472
|
return Ga.useSocketIO = b, Ga;
|
|
7473
7473
|
}
|
|
7474
7474
|
var da = {}, Jn;
|
|
7475
|
-
function
|
|
7475
|
+
function rs() {
|
|
7476
7476
|
if (Jn) return da;
|
|
7477
7477
|
Jn = 1;
|
|
7478
7478
|
var e = da && da.__assign || function() {
|
|
@@ -7515,14 +7515,14 @@ function is() {
|
|
|
7515
7515
|
return da.useEventSource = u, da;
|
|
7516
7516
|
}
|
|
7517
7517
|
var Zn;
|
|
7518
|
-
function
|
|
7518
|
+
function ls() {
|
|
7519
7519
|
return Zn || (Zn = 1, (function(e) {
|
|
7520
7520
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
|
|
7521
7521
|
var t = Fi();
|
|
7522
7522
|
Object.defineProperty(e, "default", { enumerable: !0, get: function() {
|
|
7523
7523
|
return t.useWebSocket;
|
|
7524
7524
|
} });
|
|
7525
|
-
var a =
|
|
7525
|
+
var a = ns();
|
|
7526
7526
|
Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
|
|
7527
7527
|
return a.useSocketIO;
|
|
7528
7528
|
} });
|
|
@@ -7530,7 +7530,7 @@ function ns() {
|
|
|
7530
7530
|
Object.defineProperty(e, "ReadyState", { enumerable: !0, get: function() {
|
|
7531
7531
|
return n.ReadyState;
|
|
7532
7532
|
} });
|
|
7533
|
-
var s =
|
|
7533
|
+
var s = rs();
|
|
7534
7534
|
Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
|
|
7535
7535
|
return s.useEventSource;
|
|
7536
7536
|
} });
|
|
@@ -7540,15 +7540,15 @@ function ns() {
|
|
|
7540
7540
|
} });
|
|
7541
7541
|
})(gi)), gi;
|
|
7542
7542
|
}
|
|
7543
|
-
var
|
|
7544
|
-
const
|
|
7543
|
+
var os = ls();
|
|
7544
|
+
const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
7545
7545
|
enable: e = !1,
|
|
7546
7546
|
isTestFunction: t = !1,
|
|
7547
7547
|
isTransferMode: a = !1,
|
|
7548
7548
|
isInGameBox: n = !1,
|
|
7549
7549
|
currentGamePlatform: s = ""
|
|
7550
7550
|
}) => {
|
|
7551
|
-
const { store: u, lng: b } = re(), { isReady: d, setAsReady: l, isPending: i, setAsPending: r } =
|
|
7551
|
+
const { store: u, lng: b } = re(), { isReady: d, setAsReady: l, isPending: i, setAsPending: r } = dr(), o = Ve(b), { mutateAsync: m } = xs();
|
|
7552
7552
|
return !e || !t || !a ? { handleTransferInGame: () => {
|
|
7553
7553
|
} } : { handleTransferInGame: async () => {
|
|
7554
7554
|
n && await m({
|
|
@@ -7587,13 +7587,13 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7587
7587
|
}
|
|
7588
7588
|
});
|
|
7589
7589
|
} };
|
|
7590
|
-
}, Kn = "/member-monthly-card",
|
|
7590
|
+
}, Kn = "/member-monthly-card", xr = () => {
|
|
7591
7591
|
const { client: e } = re(), t = M(async () => await e.get(`${Kn}/info`), [e]), a = M(async () => await e.post(`${Kn}/withdraw`), [e]);
|
|
7592
7592
|
return {
|
|
7593
7593
|
getMonthCardInfoApi: t,
|
|
7594
7594
|
withdrawMonthCardApi: a
|
|
7595
7595
|
};
|
|
7596
|
-
}, Ai = ["monthCardInfo"],
|
|
7596
|
+
}, Ai = ["monthCardInfo"], us = (e) => {
|
|
7597
7597
|
const t = j(e, "status", null), a = j(e, "remaining_days", null), n = j(e, "activated_at", null), s = j(e, "is_under_maintenance", 0) === 1, u = j(e, "wagering_progress", []), b = j(e, "daily", []), d = t !== null, l = j(e, "withdraw_limit", null), i = j(e, "total_withdraw_amount", 0);
|
|
7598
7598
|
return {
|
|
7599
7599
|
...e,
|
|
@@ -7607,16 +7607,16 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7607
7607
|
withdrawLimit: l,
|
|
7608
7608
|
totalWithdrawAmount: i
|
|
7609
7609
|
};
|
|
7610
|
-
},
|
|
7611
|
-
const { getMonthCardInfoApi: t } =
|
|
7610
|
+
}, ps = ({ options: e } = {}) => {
|
|
7611
|
+
const { getMonthCardInfoApi: t } = xr();
|
|
7612
7612
|
return Y({
|
|
7613
7613
|
queryKey: Ai,
|
|
7614
7614
|
queryFn: t,
|
|
7615
|
-
select:
|
|
7615
|
+
select: us,
|
|
7616
7616
|
...e
|
|
7617
7617
|
});
|
|
7618
|
-
},
|
|
7619
|
-
const { withdrawMonthCardApi: t } =
|
|
7618
|
+
}, gs = ({ options: e } = {}) => {
|
|
7619
|
+
const { withdrawMonthCardApi: t } = xr(), a = ya();
|
|
7620
7620
|
return ae({
|
|
7621
7621
|
mutationKey: ["withdrawMonthCard"],
|
|
7622
7622
|
mutationFn: t,
|
|
@@ -7625,15 +7625,15 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7625
7625
|
},
|
|
7626
7626
|
...e
|
|
7627
7627
|
});
|
|
7628
|
-
},
|
|
7628
|
+
}, Eu = ({
|
|
7629
7629
|
options: e = {
|
|
7630
7630
|
monthCardInfo: {},
|
|
7631
7631
|
withdrawMonthCard: {}
|
|
7632
7632
|
}
|
|
7633
7633
|
} = {}) => {
|
|
7634
|
-
const t =
|
|
7634
|
+
const t = ps({
|
|
7635
7635
|
options: e.monthCardInfo
|
|
7636
|
-
}), a =
|
|
7636
|
+
}), a = gs({
|
|
7637
7637
|
options: e.withdrawMonthCard
|
|
7638
7638
|
});
|
|
7639
7639
|
return {
|
|
@@ -7680,77 +7680,77 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7680
7680
|
verifyDonationCodeApi: d,
|
|
7681
7681
|
announcementApi: a
|
|
7682
7682
|
};
|
|
7683
|
-
},
|
|
7683
|
+
}, ds = ({ options: e } = {}) => {
|
|
7684
7684
|
const { userLoginApi: t } = oe();
|
|
7685
7685
|
return ae({
|
|
7686
7686
|
mutationKey: ["userLogin"],
|
|
7687
7687
|
mutationFn: async (a) => t(a),
|
|
7688
7688
|
...e
|
|
7689
7689
|
});
|
|
7690
|
-
},
|
|
7690
|
+
}, cs = ({ options: e } = {}) => {
|
|
7691
7691
|
const { userLogoutApi: t } = oe();
|
|
7692
7692
|
return ae({
|
|
7693
7693
|
mutationKey: ["userLogout"],
|
|
7694
7694
|
mutationFn: async () => t(),
|
|
7695
7695
|
...e
|
|
7696
7696
|
});
|
|
7697
|
-
},
|
|
7697
|
+
}, fs = ({ options: e } = {}) => {
|
|
7698
7698
|
const { userSignUpApi: t } = oe();
|
|
7699
7699
|
return ae({
|
|
7700
7700
|
mutationKey: ["userSignUp"],
|
|
7701
7701
|
mutationFn: async (a) => t(a),
|
|
7702
7702
|
...e
|
|
7703
7703
|
});
|
|
7704
|
-
},
|
|
7704
|
+
}, _s = ({ options: e } = {}) => {
|
|
7705
7705
|
const { addOrRemoveFavoriteGameApi: t } = oe();
|
|
7706
7706
|
return ae({
|
|
7707
7707
|
mutationKey: ["toggleFavoriteGame"],
|
|
7708
7708
|
mutationFn: async (a) => t(a),
|
|
7709
7709
|
...e
|
|
7710
7710
|
});
|
|
7711
|
-
},
|
|
7711
|
+
}, ys = ({ options: e } = {}) => {
|
|
7712
7712
|
const { updateUserInfoApi: t } = oe();
|
|
7713
7713
|
return ae({
|
|
7714
7714
|
mutationKey: ["updateUserInfo"],
|
|
7715
7715
|
mutationFn: async (a) => t(a),
|
|
7716
7716
|
...e
|
|
7717
7717
|
});
|
|
7718
|
-
},
|
|
7718
|
+
}, bs = ({ options: e } = {}) => {
|
|
7719
7719
|
const { updateMemberInfoApi: t } = oe();
|
|
7720
7720
|
return ae({
|
|
7721
7721
|
mutationKey: ["updateMemberInfo"],
|
|
7722
7722
|
mutationFn: async (a) => t(a),
|
|
7723
7723
|
...e
|
|
7724
7724
|
});
|
|
7725
|
-
},
|
|
7725
|
+
}, Us = ({ options: e } = {}) => {
|
|
7726
7726
|
const { resetUserPasswordApi: t } = oe();
|
|
7727
7727
|
return ae({
|
|
7728
7728
|
mutationKey: ["resetUserPassword"],
|
|
7729
7729
|
mutationFn: async (a) => t(a),
|
|
7730
7730
|
...e
|
|
7731
7731
|
});
|
|
7732
|
-
},
|
|
7732
|
+
}, Cs = ({ options: e } = {}) => {
|
|
7733
7733
|
const { memberInitSetApi: t } = oe();
|
|
7734
7734
|
return ae({
|
|
7735
7735
|
mutationKey: ["memberInitSet"],
|
|
7736
7736
|
mutationFn: async (a) => t(a),
|
|
7737
7737
|
...e
|
|
7738
7738
|
});
|
|
7739
|
-
},
|
|
7739
|
+
}, vs = ({ options: e } = {}) => {
|
|
7740
7740
|
const { setUserTransactionPasswordApi: t } = oe();
|
|
7741
7741
|
return ae({
|
|
7742
7742
|
mutationKey: ["setUserTransactionPassword"],
|
|
7743
7743
|
mutationFn: async (a) => t(a),
|
|
7744
7744
|
...e
|
|
7745
7745
|
});
|
|
7746
|
-
},
|
|
7746
|
+
}, hs = ({ options: e } = {}) => {
|
|
7747
7747
|
const { resetUserTransactionPasswordApi: t } = oe();
|
|
7748
7748
|
return ae({
|
|
7749
7749
|
mutationKey: ["resetUserTransactionPassword"],
|
|
7750
7750
|
mutationFn: async (a) => t(a),
|
|
7751
7751
|
...e
|
|
7752
7752
|
});
|
|
7753
|
-
},
|
|
7753
|
+
}, Ts = ({ paramsData: e, options: t } = {}) => {
|
|
7754
7754
|
const { userRebateApi: a } = oe(), { getToken: n } = re();
|
|
7755
7755
|
return n?.(), Y({
|
|
7756
7756
|
queryKey: ["userRebate", e],
|
|
@@ -7758,14 +7758,14 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7758
7758
|
enabled: !1,
|
|
7759
7759
|
...t
|
|
7760
7760
|
});
|
|
7761
|
-
},
|
|
7761
|
+
}, ks = ({ options: e } = {}) => {
|
|
7762
7762
|
const { userBindBankApi: t } = oe();
|
|
7763
7763
|
return ae({
|
|
7764
7764
|
mutationKey: ["userBindBank"],
|
|
7765
7765
|
mutationFn: async (a) => t({ formData: a }),
|
|
7766
7766
|
...e
|
|
7767
7767
|
});
|
|
7768
|
-
},
|
|
7768
|
+
}, xs = ({ options: e } = {}) => {
|
|
7769
7769
|
const { transferInGameApi: t } = oe();
|
|
7770
7770
|
return ae({
|
|
7771
7771
|
mutationKey: ["transferInGame"],
|
|
@@ -7773,7 +7773,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7773
7773
|
retry: !1,
|
|
7774
7774
|
...e
|
|
7775
7775
|
});
|
|
7776
|
-
},
|
|
7776
|
+
}, Du = ({ options: e } = {}) => {
|
|
7777
7777
|
const { currency: t } = re(), { pointTransferApi: a } = oe();
|
|
7778
7778
|
return ae({
|
|
7779
7779
|
mutationKey: ["pointTransfer"],
|
|
@@ -7783,7 +7783,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7783
7783
|
}),
|
|
7784
7784
|
...e
|
|
7785
7785
|
});
|
|
7786
|
-
},
|
|
7786
|
+
}, Nu = ({ options: e } = {}) => {
|
|
7787
7787
|
const { currency: t } = re(), { checkUserWagerApi: a } = oe();
|
|
7788
7788
|
return Y({
|
|
7789
7789
|
queryKey: ["checkUserWager"],
|
|
@@ -7796,7 +7796,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7796
7796
|
},
|
|
7797
7797
|
...e
|
|
7798
7798
|
});
|
|
7799
|
-
},
|
|
7799
|
+
}, Lu = ({ options: e } = {}) => {
|
|
7800
7800
|
const t = ya(), { abandonPointsApi: a } = oe();
|
|
7801
7801
|
return ae({
|
|
7802
7802
|
mutationKey: ["abandonPoint"],
|
|
@@ -7808,133 +7808,133 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7808
7808
|
},
|
|
7809
7809
|
...e
|
|
7810
7810
|
});
|
|
7811
|
-
},
|
|
7811
|
+
}, Sr = ({ options: e } = {}) => {
|
|
7812
7812
|
const { lineLoginApi: t } = oe();
|
|
7813
7813
|
return ae({
|
|
7814
7814
|
mutationKey: ["lineLogin"],
|
|
7815
7815
|
mutationFn: async (a) => t(a),
|
|
7816
7816
|
...e
|
|
7817
7817
|
});
|
|
7818
|
-
},
|
|
7818
|
+
}, Ss = ({ options: e } = {}) => {
|
|
7819
7819
|
const { lineLogin2Api: t } = oe();
|
|
7820
7820
|
return ae({
|
|
7821
7821
|
mutationKey: ["lineLogin"],
|
|
7822
7822
|
mutationFn: async (a) => t(a),
|
|
7823
7823
|
...e
|
|
7824
7824
|
});
|
|
7825
|
-
},
|
|
7825
|
+
}, Gu = ({ options: e } = {}) => {
|
|
7826
7826
|
const { machineLoginApi: t } = oe();
|
|
7827
7827
|
return ae({
|
|
7828
7828
|
mutationKey: ["machineLogin"],
|
|
7829
7829
|
mutationFn: async (a) => t(a),
|
|
7830
7830
|
...e
|
|
7831
7831
|
});
|
|
7832
|
-
},
|
|
7832
|
+
}, Es = ({ options: e, formData: t } = {}) => {
|
|
7833
7833
|
const { getMachineLoginCodeApi: a } = oe();
|
|
7834
7834
|
return Y({
|
|
7835
7835
|
queryKey: ["getMachineLoginCode"],
|
|
7836
7836
|
queryFn: async () => a(t),
|
|
7837
7837
|
...e
|
|
7838
7838
|
});
|
|
7839
|
-
},
|
|
7839
|
+
}, Mu = ({ options: e } = {}) => {
|
|
7840
7840
|
const { currency: t } = re(), { memberTransferApi: a } = oe();
|
|
7841
7841
|
return ae({
|
|
7842
7842
|
mutationKey: ["memberTransfer"],
|
|
7843
7843
|
mutationFn: async (n) => a({ ...n, currency: t }),
|
|
7844
7844
|
...e
|
|
7845
7845
|
});
|
|
7846
|
-
},
|
|
7846
|
+
}, Ru = ({ options: e } = {}) => {
|
|
7847
7847
|
const { currency: t } = re(), { checkMemberTransferApi: a } = oe();
|
|
7848
7848
|
return ae({
|
|
7849
7849
|
mutationKey: ["checkMemberTransfer"],
|
|
7850
7850
|
mutationFn: async (n) => a({ ...n, currency: t }),
|
|
7851
7851
|
...e
|
|
7852
7852
|
});
|
|
7853
|
-
},
|
|
7853
|
+
}, Pu = ({ options: e } = {}) => {
|
|
7854
7854
|
const { mobileLoginApi: t } = oe();
|
|
7855
7855
|
return ae({
|
|
7856
7856
|
mutationKey: ["mobileLogin"],
|
|
7857
7857
|
mutationFn: async (a) => t(a),
|
|
7858
7858
|
...e
|
|
7859
7859
|
});
|
|
7860
|
-
},
|
|
7860
|
+
}, wu = ({ options: e } = {}) => {
|
|
7861
7861
|
const { mobileLoginApiV2: t } = oe();
|
|
7862
7862
|
return ae({
|
|
7863
7863
|
mutationKey: ["mobileLoginV2"],
|
|
7864
7864
|
mutationFn: async (a) => t(a),
|
|
7865
7865
|
...e
|
|
7866
7866
|
});
|
|
7867
|
-
},
|
|
7867
|
+
}, Fu = ({ options: e } = {}) => {
|
|
7868
7868
|
const { mobileRegisterApi: t } = oe();
|
|
7869
7869
|
return ae({
|
|
7870
7870
|
mutationKey: ["mobileRegister"],
|
|
7871
7871
|
mutationFn: async (a) => t(a),
|
|
7872
7872
|
...e
|
|
7873
7873
|
});
|
|
7874
|
-
},
|
|
7874
|
+
}, Au = ({ options: e } = {}) => {
|
|
7875
7875
|
const { mobilePasswordApi: t } = oe();
|
|
7876
7876
|
return ae({
|
|
7877
7877
|
mutationKey: ["mobileByPassword"],
|
|
7878
7878
|
mutationFn: async (a) => t(a),
|
|
7879
7879
|
...e
|
|
7880
7880
|
});
|
|
7881
|
-
},
|
|
7881
|
+
}, Ou = ({ options: e } = {}) => {
|
|
7882
7882
|
const { forgotPasswordApi: t } = oe();
|
|
7883
7883
|
return ae({
|
|
7884
7884
|
mutationKey: ["forgotPassword"],
|
|
7885
7885
|
mutationFn: async (a) => t(a),
|
|
7886
7886
|
...e
|
|
7887
7887
|
});
|
|
7888
|
-
},
|
|
7888
|
+
}, Bu = ({ options: e } = {}) => {
|
|
7889
7889
|
const { checkMobileApi: t } = oe();
|
|
7890
7890
|
return ae({
|
|
7891
7891
|
mutationKey: ["checkMobile"],
|
|
7892
7892
|
mutationFn: async (a) => t(a),
|
|
7893
7893
|
...e
|
|
7894
7894
|
});
|
|
7895
|
-
},
|
|
7895
|
+
}, Ds = ({ options: e } = {}) => {
|
|
7896
7896
|
const { bindAccountApi: t } = oe();
|
|
7897
7897
|
return ae({
|
|
7898
7898
|
mutationKey: ["bindAccount"],
|
|
7899
7899
|
mutationFn: async (a) => t(a),
|
|
7900
7900
|
...e
|
|
7901
7901
|
});
|
|
7902
|
-
},
|
|
7902
|
+
}, Hu = ({ options: e } = {}) => {
|
|
7903
7903
|
const { sendMobileVerifyCodeApi: t } = oe();
|
|
7904
7904
|
return ae({
|
|
7905
7905
|
mutationKey: ["sendMobileVerifyCode"],
|
|
7906
7906
|
mutationFn: async (a) => t(a),
|
|
7907
7907
|
...e
|
|
7908
7908
|
});
|
|
7909
|
-
},
|
|
7909
|
+
}, Wu = ({ options: e, paramsData: t } = {}) => {
|
|
7910
7910
|
const { verifyPhoneBarApi: a } = wa();
|
|
7911
7911
|
return Y({
|
|
7912
7912
|
queryKey: ["verifyPhoneBar", t],
|
|
7913
7913
|
queryFn: async () => a(t),
|
|
7914
7914
|
...e
|
|
7915
7915
|
});
|
|
7916
|
-
},
|
|
7916
|
+
}, Iu = ({ options: e, paramsData: t } = {}) => {
|
|
7917
7917
|
const { verifyDonationCodeApi: a } = wa();
|
|
7918
7918
|
return Y({
|
|
7919
7919
|
queryKey: ["verifyDonationCode", t],
|
|
7920
7920
|
queryFn: async () => a(t),
|
|
7921
7921
|
...e
|
|
7922
7922
|
});
|
|
7923
|
-
},
|
|
7923
|
+
}, zu = ({ options: e } = {}) => {
|
|
7924
7924
|
const { createMachineApi: t } = oe();
|
|
7925
7925
|
return ae({
|
|
7926
7926
|
mutationKey: ["createMachine"],
|
|
7927
7927
|
mutationFn: async (a) => t({ formData: a }),
|
|
7928
7928
|
...e
|
|
7929
7929
|
});
|
|
7930
|
-
},
|
|
7930
|
+
}, Vu = ({ options: e } = {}) => {
|
|
7931
7931
|
const { verifyResetActionApi: t } = oe();
|
|
7932
7932
|
return ae({
|
|
7933
7933
|
mutationKey: ["verifyResetAction"],
|
|
7934
7934
|
mutationFn: async (a) => t(a),
|
|
7935
7935
|
...e
|
|
7936
7936
|
});
|
|
7937
|
-
},
|
|
7937
|
+
}, Ju = ({ options: e, bonusData: t } = {}) => {
|
|
7938
7938
|
const { getJackpotApi: a } = oe();
|
|
7939
7939
|
return Y({
|
|
7940
7940
|
queryKey: ["getJackpotData"],
|
|
@@ -7947,20 +7947,20 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7947
7947
|
GRAND: 0,
|
|
7948
7948
|
MEGA: 0
|
|
7949
7949
|
});
|
|
7950
|
-
return t ?
|
|
7950
|
+
return t ? gl(t, (b, d) => {
|
|
7951
7951
|
b.amount = j(s, d, 0) + Math.floor(Math.random() * 1e3);
|
|
7952
7952
|
}) : s;
|
|
7953
7953
|
},
|
|
7954
7954
|
...e
|
|
7955
7955
|
});
|
|
7956
|
-
},
|
|
7956
|
+
}, Zu = ({ options: e } = {}) => {
|
|
7957
7957
|
const { getBetRankingApi: t } = oe();
|
|
7958
7958
|
return Y({
|
|
7959
7959
|
queryKey: ["getBetRankingData"],
|
|
7960
7960
|
queryFn: async () => t(),
|
|
7961
7961
|
...e
|
|
7962
7962
|
});
|
|
7963
|
-
},
|
|
7963
|
+
}, Ku = ({ options: e } = {}) => {
|
|
7964
7964
|
const { getUserAvatarListApi: t } = oe();
|
|
7965
7965
|
return Y({
|
|
7966
7966
|
queryKey: ["getAvatarList"],
|
|
@@ -7970,14 +7970,14 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7970
7970
|
// },
|
|
7971
7971
|
...e
|
|
7972
7972
|
});
|
|
7973
|
-
},
|
|
7973
|
+
}, qu = ({ options: e } = {}) => {
|
|
7974
7974
|
const { updateUserAvatarApi: t } = oe();
|
|
7975
7975
|
return ae({
|
|
7976
7976
|
mutationKey: ["updateAvatar"],
|
|
7977
7977
|
mutationFn: async (a) => t(a),
|
|
7978
7978
|
...e
|
|
7979
7979
|
});
|
|
7980
|
-
},
|
|
7980
|
+
}, $u = ({
|
|
7981
7981
|
options: e = {
|
|
7982
7982
|
login: {},
|
|
7983
7983
|
logout: {},
|
|
@@ -7992,19 +7992,19 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
7992
7992
|
userBindCard: {}
|
|
7993
7993
|
}
|
|
7994
7994
|
} = {}) => {
|
|
7995
|
-
const t =
|
|
7995
|
+
const t = ds({ options: e.login }), a = cs({ options: e.logout }), n = fs({ options: e.register }), s = ys({ options: e.updateUserInfo }), u = bs({
|
|
7996
7996
|
options: e.updateMemberInfo
|
|
7997
|
-
}), b =
|
|
7997
|
+
}), b = _s({
|
|
7998
7998
|
options: e.toggleFavoriteGame
|
|
7999
|
-
}), d =
|
|
7999
|
+
}), d = Us({
|
|
8000
8000
|
options: e.resetUserPassword
|
|
8001
|
-
}), l =
|
|
8001
|
+
}), l = Cs({
|
|
8002
8002
|
options: e.memberInitSet
|
|
8003
|
-
}), i =
|
|
8003
|
+
}), i = vs({
|
|
8004
8004
|
options: e.setUserTransactionPassword
|
|
8005
|
-
}), r =
|
|
8005
|
+
}), r = hs({
|
|
8006
8006
|
options: e.resetUserTransactionPassword
|
|
8007
|
-
}), o =
|
|
8007
|
+
}), o = Ts({ options: e.userRebate }), m = ks({ options: e.userBindCard });
|
|
8008
8008
|
return {
|
|
8009
8009
|
login: t,
|
|
8010
8010
|
logout: a,
|
|
@@ -8020,7 +8020,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8020
8020
|
userRebate: o,
|
|
8021
8021
|
userBindCard: m
|
|
8022
8022
|
};
|
|
8023
|
-
},
|
|
8023
|
+
}, ye = {
|
|
8024
8024
|
DEPOSIT: "deposit",
|
|
8025
8025
|
TRANS_CODE: "transCode",
|
|
8026
8026
|
ERROR: "error",
|
|
@@ -8036,8 +8036,12 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8036
8036
|
LINE_LOGIN: "line_login",
|
|
8037
8037
|
UPDATE_EVENT_WALLET: "update_event_wallet",
|
|
8038
8038
|
MONTHLY_CARD_ISSUE_POINT: "monthly_card_issue_point",
|
|
8039
|
-
EVENT_CLAIMABLE: "event_claimable"
|
|
8040
|
-
|
|
8039
|
+
EVENT_CLAIMABLE: "event_claimable",
|
|
8040
|
+
REMOTE_OFF: "remote_off",
|
|
8041
|
+
REMOTE_ON: "remote_on"
|
|
8042
|
+
}, qn = (e) => {
|
|
8043
|
+
typeof window < "u" && window.chrome?.webview && window.chrome.webview.postMessage(JSON.stringify({ action: e }));
|
|
8044
|
+
}, $n = (e, t) => Array.isArray(e) && !!t && e.some((a) => String(a).toLowerCase() === String(t).toLowerCase()), Ns = 3e4, Ls = ({
|
|
8041
8045
|
maintainList: e,
|
|
8042
8046
|
isInGameBox: t,
|
|
8043
8047
|
currentGamePlatform: a
|
|
@@ -8051,7 +8055,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8051
8055
|
show: n,
|
|
8052
8056
|
reason: n ? `在 gamebox 且當前廠商「${a}」在維護清單 → 顯示` : `在 gamebox 但當前廠商「${a ?? "(無)"}」不在維護清單 → 靜默`
|
|
8053
8057
|
};
|
|
8054
|
-
},
|
|
8058
|
+
}, ju = ({
|
|
8055
8059
|
socketUrl: e,
|
|
8056
8060
|
socketHandlers: t = {},
|
|
8057
8061
|
options: a = {},
|
|
@@ -8066,20 +8070,20 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8066
8070
|
disabledLineAutoRegister: b = !1,
|
|
8067
8071
|
navigate: d = null
|
|
8068
8072
|
}) => {
|
|
8069
|
-
const { store: l, lng: i } = re(), r = ya(), { isReady: o, setAsReady: m, isPending: g, setAsPending: p } =
|
|
8073
|
+
const { store: l, lng: i } = re(), r = ya(), { isReady: o, setAsReady: m, isPending: g, setAsPending: p } = dr(), f = Ve(i), y = se(!1), _ = se(t), c = j(n, "uid", null), U = j(n, "cagent_uid", null);
|
|
8070
8074
|
j(n, "testFunction", 0);
|
|
8071
8075
|
const C = new URLSearchParams(window.location.search), v = j(
|
|
8072
8076
|
s,
|
|
8073
8077
|
"enableTransferInGaming",
|
|
8074
8078
|
!1
|
|
8075
|
-
), { mutateAsync: T } =
|
|
8079
|
+
), { mutateAsync: T } = Sr({
|
|
8076
8080
|
options: {
|
|
8077
8081
|
onSuccess: (O) => {
|
|
8078
8082
|
_.current.onLineLogin?.(O);
|
|
8079
8083
|
},
|
|
8080
8084
|
retry: !1
|
|
8081
8085
|
}
|
|
8082
|
-
}), { mutateAsync: h } =
|
|
8086
|
+
}), { mutateAsync: h } = Ss({
|
|
8083
8087
|
options: {
|
|
8084
8088
|
onSuccess: (O) => {
|
|
8085
8089
|
_.current.onLineLogin?.(O);
|
|
@@ -8088,7 +8092,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8088
8092
|
b || T(z);
|
|
8089
8093
|
}
|
|
8090
8094
|
}
|
|
8091
|
-
}), { handleTransferInGame: D } =
|
|
8095
|
+
}), { handleTransferInGame: D } = ms({
|
|
8092
8096
|
enable: v,
|
|
8093
8097
|
isTestFunction: !0,
|
|
8094
8098
|
isTransferMode: j(s, "isTransferMode", !1),
|
|
@@ -8105,7 +8109,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8105
8109
|
readyState: A
|
|
8106
8110
|
// WebSocket 連線狀態
|
|
8107
8111
|
// getWebSocket, // 獲取 WebSocket 實例
|
|
8108
|
-
} =
|
|
8112
|
+
} = ss(e, {
|
|
8109
8113
|
queryParams: { key: "wsky" },
|
|
8110
8114
|
shouldReconnect: () => y.current === !1,
|
|
8111
8115
|
reconnectAttempts: 9999,
|
|
@@ -8121,7 +8125,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8121
8125
|
ce(() => {
|
|
8122
8126
|
const O = setInterval(
|
|
8123
8127
|
() => H("ping"),
|
|
8124
|
-
|
|
8128
|
+
Ns
|
|
8125
8129
|
);
|
|
8126
8130
|
return () => clearInterval(O);
|
|
8127
8131
|
}, [H]);
|
|
@@ -8155,72 +8159,72 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8155
8159
|
onLineLogin: B,
|
|
8156
8160
|
onMonthlyCardIssuePoint: V,
|
|
8157
8161
|
onEventClaimable: Z
|
|
8158
|
-
} = _.current, Q = j(O, "type", ""),
|
|
8162
|
+
} = _.current, Q = j(O, "type", ""), K = {
|
|
8159
8163
|
memberInfoUid: j(O, "member_info_uid", null),
|
|
8160
8164
|
data: j(O, "data", null),
|
|
8161
8165
|
memo: j(O, "memo", null),
|
|
8162
8166
|
amount: j(O, "amount", null),
|
|
8163
8167
|
limitAmount: j(O, "limit_amount", null)
|
|
8164
|
-
}, ee = Number(
|
|
8168
|
+
}, ee = Number(K.memberInfoUid) === c, de = K.data, he = K.amount, be = K.limitAmount, Je = C.get("mac") || Ci.get("machine_mac_address") || "", Te = j(O, "data.line_id", null), Ge = j(O, "data.line_name", null), Xe = j(O, "member_info_uid", null);
|
|
8165
8169
|
switch (Q) {
|
|
8166
|
-
case
|
|
8167
|
-
ee && (D(), z?.(
|
|
8170
|
+
case ye.DEPOSIT:
|
|
8171
|
+
ee && (D(), z?.(K));
|
|
8168
8172
|
break;
|
|
8169
|
-
case
|
|
8170
|
-
N?.(
|
|
8173
|
+
case ye.TRANS_CODE:
|
|
8174
|
+
N?.(K);
|
|
8171
8175
|
break;
|
|
8172
|
-
case
|
|
8176
|
+
case ye.ERROR:
|
|
8173
8177
|
if (ee) {
|
|
8174
8178
|
const fe = j(O, "open_game_modal", 0) === 1;
|
|
8175
8179
|
R(de, {
|
|
8176
8180
|
notificationType: fe ? "gamingNotice" : void 0
|
|
8177
|
-
}), E?.(
|
|
8181
|
+
}), E?.(K);
|
|
8178
8182
|
}
|
|
8179
8183
|
break;
|
|
8180
|
-
case
|
|
8184
|
+
case ye.UPDATE_MEMBER:
|
|
8181
8185
|
c && (r.invalidateQueries({
|
|
8182
8186
|
queryKey: ["getMemberInfo"]
|
|
8183
|
-
}), F?.(
|
|
8187
|
+
}), F?.(K));
|
|
8184
8188
|
break;
|
|
8185
|
-
case
|
|
8189
|
+
case ye.MAINTAIN_NOTICE:
|
|
8186
8190
|
R(de, {
|
|
8187
8191
|
notificationType: "maintainNotice"
|
|
8188
|
-
}), w?.(
|
|
8192
|
+
}), w?.(K);
|
|
8189
8193
|
break;
|
|
8190
|
-
case
|
|
8191
|
-
const fe =
|
|
8194
|
+
case ye.MAINTAIN_NOTICE_MEMBER: {
|
|
8195
|
+
const fe = K.data?.cagent_uid ?? null;
|
|
8192
8196
|
if (fe != null) {
|
|
8193
|
-
String(U) === String(fe) && (R(
|
|
8197
|
+
String(U) === String(fe) && (R(K.data?.msg, { rawMessage: !0 }), X?.(K), setTimeout(() => {
|
|
8194
8198
|
d?.("/");
|
|
8195
8199
|
}, 5e3));
|
|
8196
8200
|
return;
|
|
8197
8201
|
} else if (ee) {
|
|
8198
|
-
const
|
|
8202
|
+
const Ue = l.getState()?.game?.currentGameData?.gameUid ?? null, Ee = K.data?.game_id;
|
|
8199
8203
|
if (Ee != null) {
|
|
8200
|
-
Array.isArray(Ee) && Ee.some((Ie) => String(Ie) === String(
|
|
8204
|
+
Array.isArray(Ee) && Ee.some((Ie) => String(Ie) === String(Ue)) && (R(K.data?.msg, { rawMessage: !0 }), X?.(K), setTimeout(() => {
|
|
8201
8205
|
d?.("/");
|
|
8202
8206
|
}, 5e3));
|
|
8203
8207
|
return;
|
|
8204
8208
|
}
|
|
8205
|
-
R(de), X?.(
|
|
8209
|
+
R(de), X?.(K), setTimeout(() => {
|
|
8206
8210
|
window.location.reload();
|
|
8207
8211
|
}, 5e4);
|
|
8208
8212
|
}
|
|
8209
8213
|
break;
|
|
8210
8214
|
}
|
|
8211
|
-
case
|
|
8215
|
+
case ye.RELOAD:
|
|
8212
8216
|
window.location.reload();
|
|
8213
8217
|
break;
|
|
8214
|
-
case
|
|
8215
|
-
case
|
|
8218
|
+
case ye.TRANSFER_IN_GAME:
|
|
8219
|
+
case ye.CHECK_REQUEST:
|
|
8216
8220
|
if (ee && v) {
|
|
8217
|
-
const { request_id: fe, amount:
|
|
8221
|
+
const { request_id: fe, amount: Ue, platform: Ee, status: Ie } = j(K, "data", {}) || {}, Ke = localStorage.getItem(
|
|
8218
8222
|
"transfer_in_game_request_id"
|
|
8219
8223
|
);
|
|
8220
8224
|
if (Ie === "pending") {
|
|
8221
8225
|
localStorage.setItem("transfer_in_game_request_id", fe);
|
|
8222
8226
|
return;
|
|
8223
|
-
} else if (
|
|
8227
|
+
} else if (Ke && Ke === fe) {
|
|
8224
8228
|
if (Ie === "rollback") {
|
|
8225
8229
|
D();
|
|
8226
8230
|
return;
|
|
@@ -8229,50 +8233,50 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8229
8233
|
type: "ui/showToast",
|
|
8230
8234
|
payload: {
|
|
8231
8235
|
title: Ka[f] || "System Prompt",
|
|
8232
|
-
description: `您於${Ee}存入的${
|
|
8236
|
+
description: `您於${Ee}存入的${Ue}元已經處理完成了,請確認遊戲餘額`,
|
|
8233
8237
|
status: "success"
|
|
8234
8238
|
}
|
|
8235
8239
|
}), m();
|
|
8236
8240
|
}
|
|
8237
|
-
ie?.(
|
|
8241
|
+
ie?.(K);
|
|
8238
8242
|
}
|
|
8239
8243
|
break;
|
|
8240
|
-
case
|
|
8244
|
+
case ye.CASH_REGISTER_LIMIT:
|
|
8241
8245
|
R(de, {
|
|
8242
8246
|
notificationType: "cashRegisterLimit",
|
|
8243
8247
|
amount: he,
|
|
8244
|
-
limitAmount:
|
|
8245
|
-
}), le?.(
|
|
8248
|
+
limitAmount: be
|
|
8249
|
+
}), le?.(K);
|
|
8246
8250
|
break;
|
|
8247
|
-
case
|
|
8251
|
+
case ye.UPDATE_ONLY_ONE_MEMBER:
|
|
8248
8252
|
ee && (r.invalidateQueries({
|
|
8249
8253
|
queryKey: ["getMemberInfo"]
|
|
8250
|
-
}), F?.(
|
|
8254
|
+
}), F?.(K));
|
|
8251
8255
|
break;
|
|
8252
|
-
case
|
|
8253
|
-
const fe =
|
|
8256
|
+
case ye.GAME_MAINTAIN: {
|
|
8257
|
+
const fe = K.data, { show: Ue } = Ls({
|
|
8254
8258
|
maintainList: fe,
|
|
8255
8259
|
// 直接用當前路由判斷是否在 gamebox(不依賴 transferInGamingConfig,
|
|
8256
8260
|
// 因為不是每隻遊戲都會帶入該設定)
|
|
8257
8261
|
isInGameBox: window.location.pathname.includes("gamebox"),
|
|
8258
8262
|
currentGamePlatform: l.getState()?.game?.currentGameData?.gamePlatform ?? null
|
|
8259
8263
|
});
|
|
8260
|
-
|
|
8264
|
+
Ue && R(de, {
|
|
8261
8265
|
notificationType: "gameMaintain"
|
|
8262
8266
|
});
|
|
8263
8267
|
break;
|
|
8264
8268
|
}
|
|
8265
|
-
case
|
|
8266
|
-
Xe ===
|
|
8269
|
+
case ye.LINE_LOGIN:
|
|
8270
|
+
Xe === Je && T({
|
|
8267
8271
|
line_id: Te,
|
|
8268
8272
|
line_name: Ge
|
|
8269
8273
|
});
|
|
8270
8274
|
break;
|
|
8271
|
-
case
|
|
8275
|
+
case ye.UPDATE_EVENT_WALLET:
|
|
8272
8276
|
ee && (r.invalidateQueries({ queryKey: ["getEventWalletList"] }), r.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
|
|
8273
8277
|
return;
|
|
8274
|
-
case
|
|
8275
|
-
ee && (r.invalidateQueries({ queryKey: Ai }), V?.(
|
|
8278
|
+
case ye.MONTHLY_CARD_ISSUE_POINT:
|
|
8279
|
+
ee && (r.invalidateQueries({ queryKey: Ai }), V?.(K));
|
|
8276
8280
|
return;
|
|
8277
8281
|
/**
|
|
8278
8282
|
* event_claimable:活動可領取推播
|
|
@@ -8281,13 +8285,28 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8281
8285
|
* - 有 event_uid 時,另外執行外部傳入的客製化 function(帶入整包 payload)
|
|
8282
8286
|
* 註:與其他 event/member 推播一致,僅對「當前會員」生效(isForMember)。
|
|
8283
8287
|
*/
|
|
8284
|
-
case
|
|
8288
|
+
case ye.EVENT_CLAIMABLE:
|
|
8285
8289
|
if (ee) {
|
|
8286
8290
|
r.invalidateQueries({ queryKey: ["checkEventStatus"] });
|
|
8287
|
-
const fe =
|
|
8288
|
-
(Array.isArray(fe) ? fe.length > 0 : fe != null) && Z?.(
|
|
8291
|
+
const fe = K.data?.event_uid;
|
|
8292
|
+
(Array.isArray(fe) ? fe.length > 0 : fe != null) && Z?.(K);
|
|
8289
8293
|
}
|
|
8290
8294
|
return;
|
|
8295
|
+
/**
|
|
8296
|
+
* remote_off:遠端關鎖。
|
|
8297
|
+
* 訊息格式:{ type:'remote_off', member_info_uid:["55:66:77:88:99:11"], data:null }
|
|
8298
|
+
* 本機 MAC 在名單內 → 通知外殼 closethismic(打開黑屏)。
|
|
8299
|
+
*/
|
|
8300
|
+
case ye.REMOTE_OFF:
|
|
8301
|
+
$n(K.memberInfoUid, Je) && qn("closethismic");
|
|
8302
|
+
return;
|
|
8303
|
+
/**
|
|
8304
|
+
* remote_on:遠端解鎖。
|
|
8305
|
+
* 本機 MAC 在名單內 → 通知外殼 openthismic(關閉黑屏)。
|
|
8306
|
+
*/
|
|
8307
|
+
case ye.REMOTE_ON:
|
|
8308
|
+
$n(K.memberInfoUid, Je) && qn("openthismic");
|
|
8309
|
+
return;
|
|
8291
8310
|
default:
|
|
8292
8311
|
console.warn("Unknown socket type:", Q);
|
|
8293
8312
|
break;
|
|
@@ -8305,7 +8324,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8305
8324
|
"transfer_in_game_request_id"
|
|
8306
8325
|
);
|
|
8307
8326
|
O && c && g && k({
|
|
8308
|
-
type:
|
|
8327
|
+
type: ye.CHECK_REQUEST,
|
|
8309
8328
|
request_id: O,
|
|
8310
8329
|
member_info_uid: c
|
|
8311
8330
|
});
|
|
@@ -8315,7 +8334,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8315
8334
|
type: "ui/showToast",
|
|
8316
8335
|
payload: {
|
|
8317
8336
|
title: Ka[f] || "System Prompt",
|
|
8318
|
-
description:
|
|
8337
|
+
description: hl[f] || "We are processing your transfer",
|
|
8319
8338
|
status: "warning",
|
|
8320
8339
|
duration: 1 / 0,
|
|
8321
8340
|
id: "trasnferingInGame"
|
|
@@ -8340,7 +8359,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8340
8359
|
simulateSocketMessage: W
|
|
8341
8360
|
// 測試用:模擬收到某型別的 WS 訊息
|
|
8342
8361
|
};
|
|
8343
|
-
},
|
|
8362
|
+
}, Gs = () => {
|
|
8344
8363
|
const { client: e } = re();
|
|
8345
8364
|
return {
|
|
8346
8365
|
commissionApi: M(
|
|
@@ -8351,18 +8370,18 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8351
8370
|
[e]
|
|
8352
8371
|
)
|
|
8353
8372
|
};
|
|
8354
|
-
},
|
|
8355
|
-
const { commissionApi: a } =
|
|
8373
|
+
}, Ms = ({ options: e, formData: t } = {}) => {
|
|
8374
|
+
const { commissionApi: a } = Gs();
|
|
8356
8375
|
return Y({
|
|
8357
8376
|
queryKey: ["commissionInfo", t],
|
|
8358
8377
|
queryFn: () => {
|
|
8359
8378
|
const { params: n, currencyCode: s } = t || {};
|
|
8360
8379
|
return a({ params: n, currencyCode: s });
|
|
8361
8380
|
},
|
|
8362
|
-
select: (n) =>
|
|
8381
|
+
select: (n) => ur(n, ["code", "status"]),
|
|
8363
8382
|
...e
|
|
8364
8383
|
});
|
|
8365
|
-
},
|
|
8384
|
+
}, Qu = ({
|
|
8366
8385
|
options: e = {
|
|
8367
8386
|
commissionInfo: {}
|
|
8368
8387
|
},
|
|
@@ -8370,7 +8389,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8370
8389
|
commissionInfo: {}
|
|
8371
8390
|
}
|
|
8372
8391
|
} = {}) => ({
|
|
8373
|
-
commissionInfo:
|
|
8392
|
+
commissionInfo: Ms({
|
|
8374
8393
|
options: e.commissionInfo,
|
|
8375
8394
|
formData: t.commissionInfo
|
|
8376
8395
|
})
|
|
@@ -8421,7 +8440,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8421
8440
|
settleEventApi: u,
|
|
8422
8441
|
memberEventSettleApi: b
|
|
8423
8442
|
};
|
|
8424
|
-
},
|
|
8443
|
+
}, Rs = ({ paramsData: e, options: t } = {}) => {
|
|
8425
8444
|
const { store: a, lng: n, data2URL: s } = re(), { eventListApi: u } = $a(), b = a?.getState()?.isWalletCurrency || a?.getState()?.currency?.currentCurrency || "TWD", d = Ve(n);
|
|
8426
8445
|
return Y({
|
|
8427
8446
|
queryKey: ["eventList", e],
|
|
@@ -8443,8 +8462,8 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8443
8462
|
...y,
|
|
8444
8463
|
carouselCurrentLanguagePCImageUrl: `${s}/carousels/${y?.image_pc}`,
|
|
8445
8464
|
carouselCurrentLanguageMBImageUrl: `${s}/carousels/${y?.image_mobile}`,
|
|
8446
|
-
carouselCurrentLanguageS3PCImageUrl: `${
|
|
8447
|
-
carouselCurrentLanguageS3MBImageUrl: `${
|
|
8465
|
+
carouselCurrentLanguageS3PCImageUrl: `${Ye}/carousels/${y?.image_pc}`,
|
|
8466
|
+
carouselCurrentLanguageS3MBImageUrl: `${Ye}/carousels/${y?.image_mobile}`
|
|
8448
8467
|
}
|
|
8449
8468
|
}, c = {
|
|
8450
8469
|
eventUid: o.uid,
|
|
@@ -8490,8 +8509,8 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8490
8509
|
// VIP 群組
|
|
8491
8510
|
tagsGroup: o.tags_group,
|
|
8492
8511
|
//標籤群組
|
|
8493
|
-
eventBg:
|
|
8494
|
-
eventIcon:
|
|
8512
|
+
eventBg: fr(),
|
|
8513
|
+
eventIcon: cr(o.type),
|
|
8495
8514
|
nextSettlementDate: o.next_settlement_date,
|
|
8496
8515
|
//下一次結算日期
|
|
8497
8516
|
lastSettlementDate: o.last_settlement_date
|
|
@@ -8559,21 +8578,21 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8559
8578
|
},
|
|
8560
8579
|
...t
|
|
8561
8580
|
});
|
|
8562
|
-
},
|
|
8581
|
+
}, Yu = ({ options: e } = {}) => {
|
|
8563
8582
|
const { redeemEventRewardApi: t } = $a();
|
|
8564
8583
|
return ae({
|
|
8565
8584
|
mutationKey: ["redeemEventReward"],
|
|
8566
8585
|
mutationFn: async (a) => t(a),
|
|
8567
8586
|
...e
|
|
8568
8587
|
});
|
|
8569
|
-
},
|
|
8588
|
+
}, Ps = ({ options: e, formData: t } = {}) => {
|
|
8570
8589
|
const { checkCurrentEventProgessApi: a } = $a();
|
|
8571
8590
|
return Y({
|
|
8572
8591
|
queryKey: ["checkEventProgress"],
|
|
8573
8592
|
queryFn: async () => a(t),
|
|
8574
8593
|
...e
|
|
8575
8594
|
});
|
|
8576
|
-
},
|
|
8595
|
+
}, ws = ({ options: e, formData: t } = {}) => {
|
|
8577
8596
|
const { checkEventStatusApi: a } = $a();
|
|
8578
8597
|
return Y({
|
|
8579
8598
|
queryKey: ["checkEventStatus"],
|
|
@@ -8581,30 +8600,30 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8581
8600
|
select: (n) => n.data.event_status || n.data,
|
|
8582
8601
|
...e
|
|
8583
8602
|
});
|
|
8584
|
-
},
|
|
8603
|
+
}, Xu = ({ options: e } = {}) => {
|
|
8585
8604
|
const { settleEventApi: t } = $a();
|
|
8586
8605
|
return ae({
|
|
8587
8606
|
mutationKey: ["settleEvent"],
|
|
8588
8607
|
mutationFn: async (a) => t(a),
|
|
8589
8608
|
...e
|
|
8590
8609
|
});
|
|
8591
|
-
},
|
|
8610
|
+
}, e0 = ({ options: e } = {}) => {
|
|
8592
8611
|
const { memberEventSettleApi: t } = $a();
|
|
8593
8612
|
return ae({
|
|
8594
8613
|
mutationKey: ["memberEventSettle"],
|
|
8595
8614
|
mutationFn: async (a) => t(a),
|
|
8596
8615
|
...e
|
|
8597
8616
|
});
|
|
8598
|
-
},
|
|
8617
|
+
}, a0 = ({
|
|
8599
8618
|
options: e = {
|
|
8600
8619
|
eventList: {},
|
|
8601
8620
|
checkEventProgress: {},
|
|
8602
8621
|
checkEventStatus: {}
|
|
8603
8622
|
}
|
|
8604
8623
|
} = {}) => {
|
|
8605
|
-
const t =
|
|
8624
|
+
const t = Rs({ options: e.eventList }), a = Ps({
|
|
8606
8625
|
options: e.checkEventProgress
|
|
8607
|
-
}), n =
|
|
8626
|
+
}), n = ws({
|
|
8608
8627
|
options: e.checkEventStatus
|
|
8609
8628
|
});
|
|
8610
8629
|
return {
|
|
@@ -8645,7 +8664,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8645
8664
|
settleEventWalletApi: s,
|
|
8646
8665
|
abandonEventWalletApi: u
|
|
8647
8666
|
};
|
|
8648
|
-
},
|
|
8667
|
+
}, t0 = ({ gamePlatform: e, params: t } = {}) => {
|
|
8649
8668
|
const { eventWalletListApi: a } = pt();
|
|
8650
8669
|
return Y({
|
|
8651
8670
|
queryKey: ["getEventWalletList", e, t],
|
|
@@ -8686,7 +8705,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8686
8705
|
};
|
|
8687
8706
|
}
|
|
8688
8707
|
});
|
|
8689
|
-
},
|
|
8708
|
+
}, i0 = () => {
|
|
8690
8709
|
const e = ya(), { enabledEventWalletApi: t } = pt();
|
|
8691
8710
|
return ae({
|
|
8692
8711
|
mutationKey: ["enabledEventWallet"],
|
|
@@ -8695,7 +8714,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8695
8714
|
e.invalidateQueries({ queryKey: ["evaluateEventWallet"] });
|
|
8696
8715
|
}
|
|
8697
8716
|
});
|
|
8698
|
-
},
|
|
8717
|
+
}, n0 = ({ gamePlatform: e = "", options: t = {} } = {}) => {
|
|
8699
8718
|
const { evaluateEventWalletApi: a } = pt();
|
|
8700
8719
|
return Y({
|
|
8701
8720
|
queryKey: ["evaluateEventWallet", e],
|
|
@@ -8711,7 +8730,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8711
8730
|
},
|
|
8712
8731
|
...t
|
|
8713
8732
|
});
|
|
8714
|
-
},
|
|
8733
|
+
}, r0 = () => {
|
|
8715
8734
|
const e = ya(), { settleEventWalletApi: t } = pt();
|
|
8716
8735
|
return ae({
|
|
8717
8736
|
mutationKey: ["settleEventWallet"],
|
|
@@ -8720,7 +8739,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8720
8739
|
e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
|
|
8721
8740
|
}
|
|
8722
8741
|
});
|
|
8723
|
-
},
|
|
8742
|
+
}, l0 = () => {
|
|
8724
8743
|
const e = ya(), { abandonEventWalletApi: t } = pt();
|
|
8725
8744
|
return ae({
|
|
8726
8745
|
mutationKey: ["abandonEventWallet"],
|
|
@@ -8729,7 +8748,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8729
8748
|
e.invalidateQueries({ queryKey: ["getEventWalletList"] }), e.invalidateQueries({ queryKey: ["evaluateEventWallet"] }), e.invalidateQueries({ queryKey: ["playGame"] });
|
|
8730
8749
|
}
|
|
8731
8750
|
});
|
|
8732
|
-
},
|
|
8751
|
+
}, o0 = ({ options: e } = {}) => {
|
|
8733
8752
|
const { lng: t } = re(), { announcementApi: a } = wa(), n = Ve(t);
|
|
8734
8753
|
return Y({
|
|
8735
8754
|
queryKey: ["getAnnouncement"],
|
|
@@ -8746,7 +8765,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8746
8765
|
},
|
|
8747
8766
|
...e
|
|
8748
8767
|
});
|
|
8749
|
-
},
|
|
8768
|
+
}, s0 = ({ skipPreload: e = !1 } = {}) => {
|
|
8750
8769
|
const { lng: t, data2URL: a } = re(), { commonCarouselApi: n } = wa(), s = Ve(t);
|
|
8751
8770
|
return Y({
|
|
8752
8771
|
queryKey: ["getCarouselList", e],
|
|
@@ -8761,20 +8780,20 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8761
8780
|
carouselCurrentLanguageData: i,
|
|
8762
8781
|
carouselCurrentLanguagePCImageUrl: `${a}/carousels/${i?.image_pc}`,
|
|
8763
8782
|
carouselCurrentLanguageMBImageUrl: `${a}/carousels/${i?.image_mobile}`,
|
|
8764
|
-
carouselCurrentLanguageS3PCImageUrl: `${
|
|
8765
|
-
carouselCurrentLanguageS3MBImageUrl: `${
|
|
8783
|
+
carouselCurrentLanguageS3PCImageUrl: `${Ye}/carousels/${i?.image_pc}`,
|
|
8784
|
+
carouselCurrentLanguageS3MBImageUrl: `${Ye}/carousels/${i?.image_mobile}`,
|
|
8766
8785
|
carouselCurrentLanguageLink: i?.url_link,
|
|
8767
8786
|
currentLngCarousel: {
|
|
8768
8787
|
...i,
|
|
8769
8788
|
carouselCurrentLanguagePCImageUrl: `${a}/carousels/${i?.image_pc}`,
|
|
8770
8789
|
carouselCurrentLanguageMBImageUrl: `${a}/carousels/${i?.image_mobile}`,
|
|
8771
|
-
carouselCurrentLanguageS3PCImageUrl: `${
|
|
8772
|
-
carouselCurrentLanguageS3MBImageUrl: `${
|
|
8790
|
+
carouselCurrentLanguageS3PCImageUrl: `${Ye}/carousels/${i?.image_pc}`,
|
|
8791
|
+
carouselCurrentLanguageS3MBImageUrl: `${Ye}/carousels/${i?.image_mobile}`
|
|
8773
8792
|
}
|
|
8774
8793
|
};
|
|
8775
8794
|
})
|
|
8776
8795
|
});
|
|
8777
|
-
},
|
|
8796
|
+
}, m0 = () => {
|
|
8778
8797
|
const { lng: e, getToken: t } = re(), a = t?.(), { commonMarqueeApi: n } = wa(), s = Ve(e);
|
|
8779
8798
|
return Y({
|
|
8780
8799
|
queryKey: ["getMarqueeList", a],
|
|
@@ -8790,7 +8809,7 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8790
8809
|
};
|
|
8791
8810
|
}
|
|
8792
8811
|
});
|
|
8793
|
-
},
|
|
8812
|
+
}, u0 = ({ options: e } = {}) => {
|
|
8794
8813
|
const { rankingGameApi: t } = oe();
|
|
8795
8814
|
return Y({
|
|
8796
8815
|
queryKey: ["rankingGame"],
|
|
@@ -8832,10 +8851,10 @@ const ls = /* @__PURE__ */ Di(rs), os = ({
|
|
|
8832
8851
|
...e
|
|
8833
8852
|
});
|
|
8834
8853
|
};
|
|
8835
|
-
var
|
|
8836
|
-
if (t && typeof t == "object" || typeof t == "function") for (let s of
|
|
8854
|
+
var Fs = Object.create, Er = Object.defineProperty, As = Object.getOwnPropertyDescriptor, Os = Object.getOwnPropertyNames, Bs = Object.getPrototypeOf, Hs = Object.prototype.hasOwnProperty, Ws = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), Is = (e, t, a, n) => {
|
|
8855
|
+
if (t && typeof t == "object" || typeof t == "function") for (let s of Os(t)) !Hs.call(e, s) && s !== a && Er(e, s, { get: () => t[s], enumerable: !(n = As(t, s)) || n.enumerable });
|
|
8837
8856
|
return e;
|
|
8838
|
-
},
|
|
8857
|
+
}, zs = (e, t, a) => (a = e != null ? Fs(Bs(e)) : {}, Is(!e || !e.__esModule ? Er(a, "default", { value: e, enumerable: !0 }) : a, e)), Vs = Ws((e, t) => {
|
|
8839
8858
|
(function(a, n) {
|
|
8840
8859
|
typeof e == "object" && typeof t < "u" ? n(e) : typeof define == "function" && define.amd ? define(["exports"], n) : (a = typeof globalThis < "u" ? globalThis : a || self, n(a.fastUniqueNumbers = {}));
|
|
8841
8860
|
})(e, function(a) {
|
|
@@ -8864,12 +8883,12 @@ var Ps = Object.create, xr = Object.defineProperty, ws = Object.getOwnPropertyDe
|
|
|
8864
8883
|
a.addUniqueNumber = m, a.generateUniqueNumber = o;
|
|
8865
8884
|
});
|
|
8866
8885
|
});
|
|
8867
|
-
|
|
8886
|
+
zs(Vs());
|
|
8868
8887
|
var _a = (typeof window > "u" ? "undefined" : typeof window) == "object", ra = { setTimeout: _a ? setTimeout.bind(window) : setTimeout, clearTimeout: _a ? clearTimeout.bind(window) : clearTimeout, setInterval: _a ? setInterval.bind(window) : setInterval, clearInterval: _a ? clearInterval.bind(window) : clearInterval };
|
|
8869
|
-
function
|
|
8888
|
+
function Js(e) {
|
|
8870
8889
|
ra.setTimeout = e.setTimeout, ra.clearTimeout = e.clearTimeout, ra.setInterval = e.setInterval, ra.clearInterval = e.clearInterval;
|
|
8871
8890
|
}
|
|
8872
|
-
var za = {},
|
|
8891
|
+
var za = {}, Zs = class {
|
|
8873
8892
|
name;
|
|
8874
8893
|
closed = !1;
|
|
8875
8894
|
mc = new MessageChannel();
|
|
@@ -8917,17 +8936,17 @@ var za = {}, Vs = class {
|
|
|
8917
8936
|
dispatchEvent(e) {
|
|
8918
8937
|
return this.mc.port1.dispatchEvent(e);
|
|
8919
8938
|
}
|
|
8920
|
-
},
|
|
8921
|
-
function
|
|
8939
|
+
}, Ks = typeof window > "u" ? void 0 : typeof window.BroadcastChannel == "function" ? window.BroadcastChannel : Zs;
|
|
8940
|
+
function qs(e = 0) {
|
|
8922
8941
|
return new Promise((t) => ra.setTimeout(t, e));
|
|
8923
8942
|
}
|
|
8924
|
-
function
|
|
8943
|
+
function Dr() {
|
|
8925
8944
|
return Math.random().toString(36).substring(2);
|
|
8926
8945
|
}
|
|
8927
|
-
var
|
|
8946
|
+
var $s = class {
|
|
8928
8947
|
options;
|
|
8929
8948
|
channel;
|
|
8930
|
-
token =
|
|
8949
|
+
token = Dr();
|
|
8931
8950
|
isLeader = !1;
|
|
8932
8951
|
isDead = !1;
|
|
8933
8952
|
isApplying = !1;
|
|
@@ -8948,7 +8967,7 @@ var Ks = class {
|
|
|
8948
8967
|
};
|
|
8949
8968
|
this.channel.addEventListener("message", t);
|
|
8950
8969
|
try {
|
|
8951
|
-
return this.sendAction(0), await
|
|
8970
|
+
return this.sendAction(0), await qs(this.options.responseTime), this.channel.removeEventListener("message", t), this.isApplying = !1, e ? this.reApply ? this.apply() : !1 : (this.assumeLead(), !0);
|
|
8952
8971
|
} catch {
|
|
8953
8972
|
return !1;
|
|
8954
8973
|
}
|
|
@@ -9004,19 +9023,19 @@ var Ks = class {
|
|
|
9004
9023
|
}
|
|
9005
9024
|
}
|
|
9006
9025
|
}
|
|
9007
|
-
},
|
|
9026
|
+
}, js = class {
|
|
9008
9027
|
channel;
|
|
9009
9028
|
options;
|
|
9010
9029
|
elector;
|
|
9011
|
-
token =
|
|
9030
|
+
token = Dr();
|
|
9012
9031
|
registry = /* @__PURE__ */ new Map();
|
|
9013
9032
|
allIdle = !1;
|
|
9014
9033
|
isLastActive = !1;
|
|
9015
9034
|
constructor(e) {
|
|
9016
9035
|
let { channelName: t } = e;
|
|
9017
|
-
if (this.options = e, this.channel = new
|
|
9036
|
+
if (this.options = e, this.channel = new Ks(t), this.registry.set(this.token, 1), e.leaderElection) {
|
|
9018
9037
|
let a = { fallbackInterval: 2e3, responseTime: 100 };
|
|
9019
|
-
this.elector = new
|
|
9038
|
+
this.elector = new $s(this.channel, a), this.elector.waitForLeadership();
|
|
9020
9039
|
}
|
|
9021
9040
|
this.channel.addEventListener("message", (a) => {
|
|
9022
9041
|
let { action: n, token: s, data: u } = a.data;
|
|
@@ -9106,8 +9125,8 @@ var Ks = class {
|
|
|
9106
9125
|
close() {
|
|
9107
9126
|
this.options.leaderElection && this.elector.close(), this.send(4), this.channel.close();
|
|
9108
9127
|
}
|
|
9109
|
-
},
|
|
9110
|
-
function
|
|
9128
|
+
}, Qs = _a ? document : null, Ys = ["mousemove", "keydown", "wheel", "DOMMouseScroll", "mousewheel", "mousedown", "touchstart", "touchmove", "MSPointerDown", "MSPointerMove", "visibilitychange", "focus"];
|
|
9129
|
+
function Xs(e, t) {
|
|
9111
9130
|
let a;
|
|
9112
9131
|
function n(...s) {
|
|
9113
9132
|
a && clearTimeout(a), a = setTimeout(() => {
|
|
@@ -9126,7 +9145,7 @@ function yi(e, t) {
|
|
|
9126
9145
|
};
|
|
9127
9146
|
}
|
|
9128
9147
|
var Ne = () => Date.now(), Va = 2147483647;
|
|
9129
|
-
function
|
|
9148
|
+
function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle: a = 0, element: n = Qs, events: s = Ys, timers: u = void 0, immediateEvents: b = [], onPresenceChange: d = () => {
|
|
9130
9149
|
}, onPrompt: l = () => {
|
|
9131
9150
|
}, onIdle: i = () => {
|
|
9132
9151
|
}, onActive: r = () => {
|
|
@@ -9151,7 +9170,7 @@ function Ys({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
9151
9170
|
}, [c]);
|
|
9152
9171
|
let ie = se(b), le = se(n), B = se([...(/* @__PURE__ */ new Set([...s, ...b])).values()]), V = se(h);
|
|
9153
9172
|
ce(() => {
|
|
9154
|
-
V.current = h, !O.current && (h ?
|
|
9173
|
+
V.current = h, !O.current && (h ? qe() : _ || ia());
|
|
9155
9174
|
}, [h]);
|
|
9156
9175
|
let Z = se(d);
|
|
9157
9176
|
ce(() => {
|
|
@@ -9161,9 +9180,9 @@ function Ys({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
9161
9180
|
ce(() => {
|
|
9162
9181
|
Q.current = l;
|
|
9163
9182
|
}, [l]);
|
|
9164
|
-
let
|
|
9183
|
+
let K = se(i);
|
|
9165
9184
|
ce(() => {
|
|
9166
|
-
|
|
9185
|
+
K.current = i;
|
|
9167
9186
|
}, [i]);
|
|
9168
9187
|
let ee = se(r);
|
|
9169
9188
|
ce(() => {
|
|
@@ -9177,127 +9196,127 @@ function Ys({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
9177
9196
|
ce(() => {
|
|
9178
9197
|
he.current = m;
|
|
9179
9198
|
}, [m]);
|
|
9180
|
-
let
|
|
9181
|
-
let
|
|
9182
|
-
return g > 0 ?
|
|
9183
|
-
}, [p, g]),
|
|
9199
|
+
let be = ka(() => {
|
|
9200
|
+
let q = (Pe, la) => de.current(Pe, la);
|
|
9201
|
+
return g > 0 ? Xs(q, g) : p > 0 ? yi(q, p) : q;
|
|
9202
|
+
}, [p, g]), Je = se();
|
|
9184
9203
|
ce(() => {
|
|
9185
|
-
U && v && (
|
|
9204
|
+
U && v && (Je.current = yi(() => {
|
|
9186
9205
|
E.current.active();
|
|
9187
9206
|
}, v));
|
|
9188
9207
|
}, [U, v]);
|
|
9189
9208
|
let Te = () => {
|
|
9190
9209
|
N.current !== null && (ra.clearTimeout(N.current), N.current = null);
|
|
9191
|
-
}, Ge = (
|
|
9192
|
-
Te(), N.current = ra.setTimeout(Ee,
|
|
9193
|
-
}, Xe = (
|
|
9194
|
-
!I.current && !G.current && (Q.current(
|
|
9210
|
+
}, Ge = (q, Pe = !0) => {
|
|
9211
|
+
Te(), N.current = ra.setTimeout(Ee, q || F.current), Pe && (S.current = Ne());
|
|
9212
|
+
}, Xe = (q) => {
|
|
9213
|
+
!I.current && !G.current && (Q.current(q, Re), Z.current({ type: "active", prompted: !0 }, Re)), L.current = 0, R.current = Ne(), I.current = !0, Ge(w.current, !1);
|
|
9195
9214
|
}, fe = () => {
|
|
9196
|
-
Te(), G.current || (
|
|
9197
|
-
},
|
|
9198
|
-
Te(), (G.current || I.current) && (ee.current(
|
|
9199
|
-
}, Ee = (
|
|
9215
|
+
Te(), G.current || (K.current(null, Re), Z.current({ type: "idle" }, Re)), G.current = !0, k.current = Ne(), X.current ? He() : I.current && (R.current = 0, I.current = !1);
|
|
9216
|
+
}, Ue = (q) => {
|
|
9217
|
+
Te(), (G.current || I.current) && (ee.current(q, Re), Z.current({ type: "active", prompted: !1 }, Re)), I.current = !1, R.current = 0, G.current = !1, A.current += Ne() - k.current, P.current += Ne() - k.current, Me(), Ge();
|
|
9218
|
+
}, Ee = (q) => {
|
|
9200
9219
|
if (!G.current) {
|
|
9201
|
-
|
|
9220
|
+
be.cancel && be.cancel();
|
|
9202
9221
|
let Pe = Ne() - S.current;
|
|
9203
9222
|
if (!(F.current + w.current < Pe) && w.current > 0 && !I.current) {
|
|
9204
|
-
E.current ? E.current.prompt() : Xe(
|
|
9223
|
+
E.current ? E.current.prompt() : Xe(q);
|
|
9205
9224
|
return;
|
|
9206
9225
|
}
|
|
9207
9226
|
E.current ? E.current.idle() : fe();
|
|
9208
9227
|
return;
|
|
9209
9228
|
}
|
|
9210
|
-
E.current ? E.current.active() :
|
|
9211
|
-
}, Ie = (
|
|
9212
|
-
if (!y && !S.current && (S.current = Ne(), ee.current(null, Re)),
|
|
9213
|
-
if (Te(), !G.current && ie.current.includes(
|
|
9214
|
-
Ee(
|
|
9229
|
+
E.current ? E.current.active() : Ue(q);
|
|
9230
|
+
}, Ie = (q) => {
|
|
9231
|
+
if (!y && !S.current && (S.current = Ne(), ee.current(null, Re)), be(q, Re), I.current) return;
|
|
9232
|
+
if (Te(), !G.current && ie.current.includes(q.type)) {
|
|
9233
|
+
Ee(q);
|
|
9215
9234
|
return;
|
|
9216
9235
|
}
|
|
9217
9236
|
let Pe = Ne() - S.current;
|
|
9218
9237
|
if (G.current && !c || !G.current && Pe >= F.current) {
|
|
9219
|
-
Ee(
|
|
9238
|
+
Ee(q);
|
|
9220
9239
|
return;
|
|
9221
9240
|
}
|
|
9222
|
-
W.current = !1, L.current = 0, R.current = 0, Ge(), U && v &&
|
|
9223
|
-
},
|
|
9241
|
+
W.current = !1, L.current = 0, R.current = 0, Ge(), U && v && Je.current();
|
|
9242
|
+
}, Ke = se(Ie);
|
|
9224
9243
|
ce(() => {
|
|
9225
|
-
let
|
|
9226
|
-
|
|
9244
|
+
let q = z.current;
|
|
9245
|
+
q && He(), f > 0 ? Ke.current = yi(Ie, f) : Ke.current = Ie, q && Me();
|
|
9227
9246
|
}, [f, p, g, de, U, v]);
|
|
9228
9247
|
let Me = () => {
|
|
9229
|
-
_a && le.current && (z.current || (B.current.forEach((
|
|
9230
|
-
le.current.addEventListener(
|
|
9248
|
+
_a && le.current && (z.current || (B.current.forEach((q) => {
|
|
9249
|
+
le.current.addEventListener(q, Ke.current, { capture: !0, passive: !0 });
|
|
9231
9250
|
}), z.current = !0));
|
|
9232
|
-
}, He = (
|
|
9233
|
-
_a && le.current && (z.current ||
|
|
9234
|
-
le.current.removeEventListener(Pe,
|
|
9251
|
+
}, He = (q = !1) => {
|
|
9252
|
+
_a && le.current && (z.current || q) && (B.current.forEach((Pe) => {
|
|
9253
|
+
le.current.removeEventListener(Pe, Ke.current, { capture: !0 });
|
|
9235
9254
|
}), z.current = !1);
|
|
9236
|
-
}, ia = M((
|
|
9255
|
+
}, ia = M((q) => V.current ? !1 : (Te(), Me(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !q && E.current.start(), Ge(), !0), [N, G, V, F, E]), ua = M((q) => V.current ? !1 : (Te(), Me(), H.current = Ne(), A.current += Ne() - k.current, P.current += Ne() - k.current, A.current = 0, G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !q && E.current.reset(), _ || Ge(), !0), [N, G, F, _, V, E]), ba = M((q) => V.current ? !1 : (Te(), Me(), (G.current || I.current) && Ue(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, H.current = Ne(), E.current && !q && E.current.activate(), Ge(), !0), [N, G, I, V, F, E]), qe = M((q = !1) => V.current || W.current ? !1 : (L.current = Sa(), W.current = !0, He(), Te(), E.current && !q && E.current.pause(), !0), [N, V, E]), na = M((q = !1) => V.current || !W.current ? !1 : (W.current = !1, I.current || Me(), G.current || Ge(L.current), R.current && (R.current = Ne()), E.current && !q && E.current.resume(), !0), [N, F, V, L, E]), Ya = M((q, Pe) => (E.current ? (Pe && he.current(q, Re), E.current.message(q)) : Pe && he.current(q, Re), !0), [m]), Fa = M(() => G.current, [G]), Aa = M(() => I.current, [I]), Xa = M(() => E.current ? E.current.isLeader : null, [E]), et = M(() => E.current ? E.current.isLastActive : null, [E]), Ua = M(() => E.current ? E.current.token : null, [E]), Sa = M(() => {
|
|
9237
9256
|
if (W.current) return L.current;
|
|
9238
|
-
let
|
|
9257
|
+
let q = L.current ? L.current : w.current + F.current, Pe = S.current ? Ne() - S.current : 0, la = Math.floor(q - Pe);
|
|
9239
9258
|
return la < 0 ? 0 : Math.abs(la);
|
|
9240
9259
|
}, [F, w, I, L, S]), ea = M(() => Math.round(Ne() - H.current), [H]), Ca = M(() => Math.round(Ne() - D.current), [D]), va = M(() => k.current ? new Date(k.current) : null, [k]), Oa = M(() => S.current ? new Date(S.current) : null, [S]), Ba = M(() => G.current ? Math.round(Ne() - k.current + A.current) : Math.round(A.current), [k, A]), Ea = M(() => G.current ? Math.round(Ne() - k.current + P.current) : Math.round(P.current), [k, P]), Ha = M(() => {
|
|
9241
|
-
let
|
|
9242
|
-
return
|
|
9260
|
+
let q = Math.round(ea() - Ba());
|
|
9261
|
+
return q >= 0 ? q : 0;
|
|
9243
9262
|
}, [k, A]), Wa = M(() => {
|
|
9244
|
-
let
|
|
9245
|
-
return
|
|
9263
|
+
let q = Math.round(Ca() - Ea());
|
|
9264
|
+
return q >= 0 ? q : 0;
|
|
9246
9265
|
}, [k, A]);
|
|
9247
9266
|
ce(() => {
|
|
9248
9267
|
if (g > 0 && p > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
|
|
9249
|
-
u &&
|
|
9250
|
-
let
|
|
9251
|
-
E.current && E.current.close(),
|
|
9268
|
+
u && Js(u);
|
|
9269
|
+
let q = () => {
|
|
9270
|
+
E.current && E.current.close(), be.cancel && be.cancel(), Te(), He(!0);
|
|
9252
9271
|
};
|
|
9253
|
-
return _a && window.addEventListener("beforeunload",
|
|
9254
|
-
_a && window.removeEventListener("beforeunload",
|
|
9272
|
+
return _a && window.addEventListener("beforeunload", q), () => {
|
|
9273
|
+
_a && window.removeEventListener("beforeunload", q), E.current && E.current.close(), be.cancel && be.cancel(), Te(), He(!0);
|
|
9255
9274
|
};
|
|
9256
9275
|
}, []), ce(() => {
|
|
9257
|
-
E.current && E.current.close(), U ? E.current = new
|
|
9276
|
+
E.current && E.current.close(), U ? E.current = new js({ channelName: C, leaderElection: T, onPrompt: () => {
|
|
9258
9277
|
Xe();
|
|
9259
9278
|
}, onIdle: () => {
|
|
9260
9279
|
fe();
|
|
9261
9280
|
}, onActive: () => {
|
|
9262
|
-
|
|
9263
|
-
}, onMessage: (
|
|
9264
|
-
he.current(
|
|
9265
|
-
}, start: ia, reset: ua, activate: ba, pause:
|
|
9266
|
-
}, [U, C, T, Q,
|
|
9281
|
+
Ue();
|
|
9282
|
+
}, onMessage: (q) => {
|
|
9283
|
+
he.current(q, Re);
|
|
9284
|
+
}, start: ia, reset: ua, activate: ba, pause: qe, resume: na }) : E.current = null;
|
|
9285
|
+
}, [U, C, T, Q, K, ee, he, ia, ua, qe, na]), ce(() => {
|
|
9267
9286
|
O.current || (Te(), He(!0)), !(_ || h) && (y ? ia() : Me());
|
|
9268
9287
|
}, [_, y, h, O]), ce(() => {
|
|
9269
9288
|
if (!O.current) {
|
|
9270
|
-
let
|
|
9271
|
-
if (He(), B.current =
|
|
9289
|
+
let q = [...(/* @__PURE__ */ new Set([...s, ...b])).values()];
|
|
9290
|
+
if (He(), B.current = q, le.current = n, ie.current = b, _ || h) return;
|
|
9272
9291
|
y ? ia() : Me();
|
|
9273
9292
|
}
|
|
9274
9293
|
}, [n, JSON.stringify(s), JSON.stringify(b), O, h, _, y]), ce(() => {
|
|
9275
9294
|
O.current && (O.current = !1);
|
|
9276
9295
|
}, [O]);
|
|
9277
|
-
let Re = { message: Ya, start: ia, reset: ua, activate: ba, pause:
|
|
9278
|
-
d =
|
|
9279
|
-
}, setOnPrompt: (
|
|
9280
|
-
l =
|
|
9281
|
-
}, setOnIdle: (
|
|
9282
|
-
i =
|
|
9283
|
-
}, setOnActive: (
|
|
9284
|
-
r =
|
|
9285
|
-
}, setOnAction: (
|
|
9286
|
-
o =
|
|
9287
|
-
}, setOnMessage: (
|
|
9288
|
-
m =
|
|
9296
|
+
let Re = { message: Ya, start: ia, reset: ua, activate: ba, pause: qe, resume: na, isIdle: Fa, isPrompted: Aa, isLeader: Xa, isLastActiveTab: et, getTabId: Ua, getRemainingTime: Sa, getElapsedTime: ea, getTotalElapsedTime: Ca, getLastIdleTime: va, getLastActiveTime: Oa, getIdleTime: Ba, getTotalIdleTime: Ea, getActiveTime: Ha, getTotalActiveTime: Wa, setOnPresenceChange: (q) => {
|
|
9297
|
+
d = q, Z.current = q;
|
|
9298
|
+
}, setOnPrompt: (q) => {
|
|
9299
|
+
l = q, Q.current = q;
|
|
9300
|
+
}, setOnIdle: (q) => {
|
|
9301
|
+
i = q, K.current = q;
|
|
9302
|
+
}, setOnActive: (q) => {
|
|
9303
|
+
r = q, ee.current = q;
|
|
9304
|
+
}, setOnAction: (q) => {
|
|
9305
|
+
o = q, de.current = q;
|
|
9306
|
+
}, setOnMessage: (q) => {
|
|
9307
|
+
m = q, he.current = q;
|
|
9289
9308
|
} };
|
|
9290
9309
|
return Re;
|
|
9291
9310
|
}
|
|
9292
|
-
var
|
|
9293
|
-
|
|
9294
|
-
const
|
|
9311
|
+
var am = ni(null);
|
|
9312
|
+
am.Consumer;
|
|
9313
|
+
const p0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => em({
|
|
9295
9314
|
onIdle: e,
|
|
9296
9315
|
onActive: t,
|
|
9297
9316
|
onAction: a,
|
|
9298
9317
|
timeout: n,
|
|
9299
9318
|
throttle: 500
|
|
9300
|
-
}),
|
|
9319
|
+
}), tm = ({ options: e } = {}) => {
|
|
9301
9320
|
const { commonInboxApi: t } = wa(), { getToken: a, lng: n } = re(), s = a?.(), u = Ve(n);
|
|
9302
9321
|
return Y({
|
|
9303
9322
|
queryKey: ["inboxList"],
|
|
@@ -9318,25 +9337,25 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9318
9337
|
enabled: !!s,
|
|
9319
9338
|
...e
|
|
9320
9339
|
});
|
|
9321
|
-
},
|
|
9340
|
+
}, im = ({ options: e } = {}) => {
|
|
9322
9341
|
const { commonReadInboxApi: t } = wa();
|
|
9323
9342
|
return ae({
|
|
9324
9343
|
mutationKey: ["readInbox"],
|
|
9325
9344
|
mutationFn: async (a) => await t(a),
|
|
9326
9345
|
...e
|
|
9327
9346
|
});
|
|
9328
|
-
},
|
|
9347
|
+
}, g0 = ({
|
|
9329
9348
|
options: e = {
|
|
9330
9349
|
inboxList: {},
|
|
9331
9350
|
readInbox: {}
|
|
9332
9351
|
}
|
|
9333
9352
|
} = {}) => {
|
|
9334
|
-
const t =
|
|
9353
|
+
const t = tm({ options: e.inboxList }), a = im({ options: e.readInbox });
|
|
9335
9354
|
return {
|
|
9336
9355
|
inboxListQuery: t,
|
|
9337
9356
|
readInboxMutation: a
|
|
9338
9357
|
};
|
|
9339
|
-
},
|
|
9358
|
+
}, Nr = () => {
|
|
9340
9359
|
const { client: e } = re();
|
|
9341
9360
|
return {
|
|
9342
9361
|
newsListApi: M(
|
|
@@ -9346,7 +9365,7 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9346
9365
|
[e]
|
|
9347
9366
|
)
|
|
9348
9367
|
};
|
|
9349
|
-
},
|
|
9368
|
+
}, nm = ({
|
|
9350
9369
|
typeConfig: e = {
|
|
9351
9370
|
all: {},
|
|
9352
9371
|
crypto: {},
|
|
@@ -9392,8 +9411,8 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9392
9411
|
value: "other",
|
|
9393
9412
|
...e.other
|
|
9394
9413
|
}
|
|
9395
|
-
],
|
|
9396
|
-
const { lng: a } = re(), { newsListApi: n } =
|
|
9414
|
+
], d0 = ({ options: e, formData: t } = {}) => {
|
|
9415
|
+
const { lng: a } = re(), { newsListApi: n } = Nr(), s = Ve(a);
|
|
9397
9416
|
return Y({
|
|
9398
9417
|
queryKey: ["newsList"],
|
|
9399
9418
|
queryFn: () => {
|
|
@@ -9413,13 +9432,13 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9413
9432
|
return {
|
|
9414
9433
|
...u.data,
|
|
9415
9434
|
data: l,
|
|
9416
|
-
blogType:
|
|
9435
|
+
blogType: nm({ typeConfig: e?.typeConfig })
|
|
9417
9436
|
};
|
|
9418
9437
|
},
|
|
9419
9438
|
...e
|
|
9420
9439
|
});
|
|
9421
|
-
},
|
|
9422
|
-
const { lng: a } = re(), { newsListApi: n } =
|
|
9440
|
+
}, c0 = ({ options: e, formData: t } = {}) => {
|
|
9441
|
+
const { lng: a } = re(), { newsListApi: n } = Nr(), s = Ve(a);
|
|
9423
9442
|
return Y({
|
|
9424
9443
|
queryKey: ["newsList"],
|
|
9425
9444
|
queryFn: () => {
|
|
@@ -9662,14 +9681,14 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9662
9681
|
snCashRecordApi: y,
|
|
9663
9682
|
otherTransactionApi: r
|
|
9664
9683
|
};
|
|
9665
|
-
},
|
|
9684
|
+
}, rm = ({ options: e } = {}) => {
|
|
9666
9685
|
const { depositApiV1: t } = Le();
|
|
9667
9686
|
return Y({
|
|
9668
9687
|
queryKey: ["depositV1"],
|
|
9669
9688
|
queryFn: t,
|
|
9670
9689
|
...e
|
|
9671
9690
|
});
|
|
9672
|
-
},
|
|
9691
|
+
}, lm = ({ paramsData: e, options: t } = {}) => {
|
|
9673
9692
|
const { depositApiV2: a } = Le();
|
|
9674
9693
|
return Y({
|
|
9675
9694
|
queryKey: ["depositV2", e],
|
|
@@ -9680,11 +9699,11 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9680
9699
|
providerList: Se(l.providers, (i) => ({
|
|
9681
9700
|
...i,
|
|
9682
9701
|
providerUid: i.uid,
|
|
9683
|
-
providerImageUrl: `${
|
|
9702
|
+
providerImageUrl: `${Ye}/paymentIcon/${Ii(i.provider_name)}.png`,
|
|
9684
9703
|
providerMax: i.max,
|
|
9685
9704
|
providerMin: i.min
|
|
9686
9705
|
})),
|
|
9687
|
-
methodImageUrl: `${
|
|
9706
|
+
methodImageUrl: `${Ye}/paymentIcon/${Ii(l.method_name)}pay.png`
|
|
9688
9707
|
}));
|
|
9689
9708
|
return {
|
|
9690
9709
|
bank: u,
|
|
@@ -9694,126 +9713,126 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9694
9713
|
},
|
|
9695
9714
|
...t
|
|
9696
9715
|
});
|
|
9697
|
-
},
|
|
9716
|
+
}, om = ({ options: e } = {}) => {
|
|
9698
9717
|
const { depositApi: t } = Le();
|
|
9699
9718
|
return ae({
|
|
9700
9719
|
mutationKey: ["depositAction"],
|
|
9701
9720
|
mutationFn: async (a) => t(a),
|
|
9702
9721
|
...e
|
|
9703
9722
|
});
|
|
9704
|
-
},
|
|
9723
|
+
}, sm = ({ options: e } = {}) => {
|
|
9705
9724
|
const { withdrawApi: t } = Le();
|
|
9706
9725
|
return ae({
|
|
9707
9726
|
mutationKey: ["withdrawAction"],
|
|
9708
9727
|
mutationFn: async (a) => t(a),
|
|
9709
9728
|
...e
|
|
9710
9729
|
});
|
|
9711
|
-
},
|
|
9730
|
+
}, mm = ({ paramsData: e, options: t } = {}) => {
|
|
9712
9731
|
const { depositTransactionApi: a } = Le();
|
|
9713
9732
|
return Y({
|
|
9714
9733
|
queryKey: ["depositTransaction", e],
|
|
9715
9734
|
queryFn: () => a({ paramsData: e }),
|
|
9716
9735
|
...t
|
|
9717
9736
|
});
|
|
9718
|
-
},
|
|
9737
|
+
}, um = ({ paramsData: e, options: t } = {}) => {
|
|
9719
9738
|
const { eventTransactionApi: a } = Le();
|
|
9720
9739
|
return Y({
|
|
9721
9740
|
queryKey: ["eventTransaction", e],
|
|
9722
9741
|
queryFn: () => a({ paramsData: e }),
|
|
9723
9742
|
...t
|
|
9724
9743
|
});
|
|
9725
|
-
},
|
|
9744
|
+
}, pm = ({ options: e } = {}) => {
|
|
9726
9745
|
const { bankDepositApi: t } = Le();
|
|
9727
9746
|
return ae({
|
|
9728
9747
|
mutationKey: ["bankDeposit"],
|
|
9729
9748
|
mutationFn: async (a) => t(a),
|
|
9730
9749
|
...e
|
|
9731
9750
|
});
|
|
9732
|
-
},
|
|
9751
|
+
}, gm = ({ options: e } = {}) => {
|
|
9733
9752
|
const { companyPaymentDepositApi: t } = Le();
|
|
9734
9753
|
return ae({
|
|
9735
9754
|
mutationKey: ["companyPaymentDeposit"],
|
|
9736
9755
|
mutationFn: async (a) => t(a),
|
|
9737
9756
|
...e
|
|
9738
9757
|
});
|
|
9739
|
-
},
|
|
9758
|
+
}, dm = ({ paramsData: e, options: t } = {}) => {
|
|
9740
9759
|
const { withdrawTransactionApi: a } = Le();
|
|
9741
9760
|
return Y({
|
|
9742
9761
|
queryKey: ["withdrawTransaction", e],
|
|
9743
9762
|
queryFn: () => a({ paramsData: e }),
|
|
9744
9763
|
...t
|
|
9745
9764
|
});
|
|
9746
|
-
},
|
|
9765
|
+
}, f0 = ({ options: e } = {}) => {
|
|
9747
9766
|
const { redeemCodeDepositApi: t } = Le();
|
|
9748
9767
|
return ae({
|
|
9749
9768
|
mutationKey: ["redeemCodeDeposit"],
|
|
9750
9769
|
mutationFn: async (a) => t(a),
|
|
9751
9770
|
...e
|
|
9752
9771
|
});
|
|
9753
|
-
},
|
|
9772
|
+
}, _0 = ({ options: e } = {}) => {
|
|
9754
9773
|
const { invoiceApi: t } = Le();
|
|
9755
9774
|
return ae({
|
|
9756
9775
|
mutationKey: ["invoiceAction"],
|
|
9757
9776
|
mutationFn: async (a) => t(a),
|
|
9758
9777
|
...e
|
|
9759
9778
|
});
|
|
9760
|
-
},
|
|
9779
|
+
}, y0 = ({ options: e } = {}) => {
|
|
9761
9780
|
const { updateInvoiceApi: t } = Le();
|
|
9762
9781
|
return ae({
|
|
9763
9782
|
mutationKey: ["updateInvoiceAction"],
|
|
9764
9783
|
mutationFn: async (a) => t(a),
|
|
9765
9784
|
...e
|
|
9766
9785
|
});
|
|
9767
|
-
},
|
|
9786
|
+
}, b0 = ({ options: e, paramsData: t } = {}) => {
|
|
9768
9787
|
const { transactionRecordApi: a } = Le();
|
|
9769
9788
|
return Y({
|
|
9770
9789
|
queryKey: ["transactionRecord", "deposit"],
|
|
9771
9790
|
queryFn: () => a(t, "deposit"),
|
|
9772
9791
|
...e
|
|
9773
9792
|
});
|
|
9774
|
-
},
|
|
9793
|
+
}, U0 = ({ options: e, paramsData: t } = {}) => {
|
|
9775
9794
|
const { transactionRecordApi: a } = Le();
|
|
9776
9795
|
return Y({
|
|
9777
9796
|
queryKey: ["transactionRecord", "withdraw"],
|
|
9778
9797
|
queryFn: () => a(t, "withdraw"),
|
|
9779
9798
|
...e
|
|
9780
9799
|
});
|
|
9781
|
-
},
|
|
9800
|
+
}, C0 = ({ options: e, paramsData: t } = {}) => {
|
|
9782
9801
|
const { transactionRecordApi: a } = Le();
|
|
9783
9802
|
return Y({
|
|
9784
9803
|
queryKey: ["transactionRecord", "event"],
|
|
9785
9804
|
queryFn: () => a(t, "event"),
|
|
9786
9805
|
...e
|
|
9787
9806
|
});
|
|
9788
|
-
},
|
|
9807
|
+
}, v0 = ({ options: e, paramsData: t } = {}) => {
|
|
9789
9808
|
const { transactionRecordApi: a } = Le();
|
|
9790
9809
|
return Y({
|
|
9791
9810
|
queryKey: ["transactionRecord", "rebate"],
|
|
9792
9811
|
queryFn: () => a(t, "rebate"),
|
|
9793
9812
|
...e
|
|
9794
9813
|
});
|
|
9795
|
-
},
|
|
9814
|
+
}, h0 = ({ options: e, paramsData: t } = {}) => {
|
|
9796
9815
|
const { treasureRecordApi: a } = Le();
|
|
9797
9816
|
return Y({
|
|
9798
9817
|
queryKey: ["treasureRecord", t],
|
|
9799
9818
|
queryFn: () => a(t),
|
|
9800
9819
|
...e
|
|
9801
9820
|
});
|
|
9802
|
-
},
|
|
9821
|
+
}, T0 = ({ options: e, paramsData: t } = {}) => {
|
|
9803
9822
|
const { snCashRecordApi: a } = Le();
|
|
9804
9823
|
return Y({
|
|
9805
9824
|
queryKey: ["snCashRecord", t],
|
|
9806
9825
|
queryFn: () => a(t),
|
|
9807
9826
|
...e
|
|
9808
9827
|
});
|
|
9809
|
-
},
|
|
9828
|
+
}, k0 = ({ options: e, paramsData: t } = {}) => {
|
|
9810
9829
|
const { otherTransactionApi: a } = Le();
|
|
9811
9830
|
return Y({
|
|
9812
9831
|
queryKey: ["otherTransaction", t],
|
|
9813
9832
|
queryFn: () => a({ paramsData: t }),
|
|
9814
9833
|
...e
|
|
9815
9834
|
});
|
|
9816
|
-
},
|
|
9835
|
+
}, x0 = ({
|
|
9817
9836
|
depositV1: e = {},
|
|
9818
9837
|
depositV2: t = {},
|
|
9819
9838
|
depositTransaction: a = {},
|
|
@@ -9824,9 +9843,9 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9824
9843
|
eventTransaction: d = {},
|
|
9825
9844
|
withdrawTransaction: l = {}
|
|
9826
9845
|
} = {}) => {
|
|
9827
|
-
const i =
|
|
9846
|
+
const i = rm(e), r = lm(t), o = mm(a), m = om(n), g = sm(s), p = pm(u), f = gm(
|
|
9828
9847
|
b
|
|
9829
|
-
), y =
|
|
9848
|
+
), y = um(d), _ = dm(
|
|
9830
9849
|
l
|
|
9831
9850
|
);
|
|
9832
9851
|
return {
|
|
@@ -9840,10 +9859,10 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9840
9859
|
eventTransaction: y,
|
|
9841
9860
|
withdrawTransaction: _
|
|
9842
9861
|
};
|
|
9843
|
-
},
|
|
9862
|
+
}, Lr = "3.8.0", cm = Lr, ja = typeof Buffer == "function", jn = typeof TextDecoder == "function" ? new TextDecoder("utf-8", { ignoreBOM: !0 }) : void 0, Qn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, fm = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", mt = Array.prototype.slice.call(fm), yt = ((e) => {
|
|
9844
9863
|
let t = {};
|
|
9845
9864
|
return e.forEach((a, n) => t[a] = n), t;
|
|
9846
|
-
})(mt),
|
|
9865
|
+
})(mt), _m = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Oe = String.fromCharCode.bind(String), Yn = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), Gr = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" : "_"), Mr = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), Rr = (e) => {
|
|
9847
9866
|
let t, a, n, s, u = "";
|
|
9848
9867
|
const b = e.length % 3;
|
|
9849
9868
|
for (let d = 0; d < e.length; ) {
|
|
@@ -9852,12 +9871,12 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9852
9871
|
t = a << 16 | n << 8 | s, u += mt[t >> 18 & 63] + mt[t >> 12 & 63] + mt[t >> 6 & 63] + mt[t & 63];
|
|
9853
9872
|
}
|
|
9854
9873
|
return b ? u.slice(0, b - 3) + "===".substring(b) : u;
|
|
9855
|
-
}, Oi = typeof btoa == "function" ? (e) => btoa(e) : ja ? (e) => Buffer.from(e, "binary").toString("base64") :
|
|
9874
|
+
}, Oi = typeof btoa == "function" ? (e) => btoa(e) : ja ? (e) => Buffer.from(e, "binary").toString("base64") : Rr, vi = ja ? (e) => Buffer.from(e).toString("base64") : (e) => {
|
|
9856
9875
|
let a = [];
|
|
9857
9876
|
for (let n = 0, s = e.length; n < s; n += 4096)
|
|
9858
9877
|
a.push(Oe.apply(null, e.subarray(n, n + 4096)));
|
|
9859
9878
|
return Oi(a.join(""));
|
|
9860
|
-
}, ti = (e, t = !1) => t ?
|
|
9879
|
+
}, ti = (e, t = !1) => t ? Gr(vi(e)) : vi(e), ym = (e) => {
|
|
9861
9880
|
if (e.length < 2) {
|
|
9862
9881
|
var t = e.charCodeAt(0);
|
|
9863
9882
|
return t < 128 ? e : t < 2048 ? Oe(192 | t >>> 6) + Oe(128 | t & 63) : Oe(224 | t >>> 12 & 15) + Oe(128 | t >>> 6 & 63) + Oe(128 | t & 63);
|
|
@@ -9865,7 +9884,7 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9865
9884
|
var t = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
|
|
9866
9885
|
return Oe(240 | t >>> 18 & 7) + Oe(128 | t >>> 12 & 63) + Oe(128 | t >>> 6 & 63) + Oe(128 | t & 63);
|
|
9867
9886
|
}
|
|
9868
|
-
},
|
|
9887
|
+
}, bm = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, Pr = (e) => e.replace(bm, ym), Xn = ja ? (e) => Buffer.from(e, "utf8").toString("base64") : Qn ? (e) => vi(Qn.encode(e)) : (e) => Oi(Pr(e)), qa = (e, t = !1) => t ? Gr(Xn(e)) : Xn(e), er = (e) => qa(e, !0), Um = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Cm = (e) => {
|
|
9869
9888
|
switch (e.length) {
|
|
9870
9889
|
case 4:
|
|
9871
9890
|
var t = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), a = t - 65536;
|
|
@@ -9875,26 +9894,26 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9875
9894
|
default:
|
|
9876
9895
|
return Oe((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
|
|
9877
9896
|
}
|
|
9878
|
-
},
|
|
9879
|
-
if (e = e.replace(/\s+/g, ""), !
|
|
9897
|
+
}, wr = (e) => e.replace(Um, Cm), Fr = (e) => {
|
|
9898
|
+
if (e = e.replace(/\s+/g, ""), !_m.test(e))
|
|
9880
9899
|
throw new TypeError("malformed base64.");
|
|
9881
9900
|
e += "==".slice(2 - (e.length & 3));
|
|
9882
9901
|
let t, a, n, s = [];
|
|
9883
9902
|
for (let u = 0; u < e.length; )
|
|
9884
9903
|
t = yt[e.charAt(u++)] << 18 | yt[e.charAt(u++)] << 12 | (a = yt[e.charAt(u++)]) << 6 | (n = yt[e.charAt(u++)]), a === 64 ? s.push(Oe(t >> 16 & 255)) : n === 64 ? s.push(Oe(t >> 16 & 255, t >> 8 & 255)) : s.push(Oe(t >> 16 & 255, t >> 8 & 255, t & 255));
|
|
9885
9904
|
return s.join("");
|
|
9886
|
-
}, Bi = typeof atob == "function" ? (e) => atob(
|
|
9905
|
+
}, Bi = typeof atob == "function" ? (e) => atob(Mr(e)) : ja ? (e) => Buffer.from(e, "base64").toString("binary") : Fr, Ar = ja ? (e) => Yn(Buffer.from(e, "base64")) : (e) => Yn(Bi(e).split("").map((t) => t.charCodeAt(0))), Or = (e) => Ar(Br(e)), vm = ja ? (e) => Buffer.from(e, "base64").toString("utf8") : jn ? (e) => jn.decode(Ar(e)) : (e) => wr(Bi(e)), Br = (e) => Mr(e.replace(/[-_]/g, (t) => t == "-" ? "+" : "/")), hi = (e) => vm(Br(e)), hm = (e) => {
|
|
9887
9906
|
if (typeof e != "string")
|
|
9888
9907
|
return !1;
|
|
9889
9908
|
const t = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
|
|
9890
9909
|
return !/[^\s0-9a-zA-Z\+/]/.test(t) || !/[^\s0-9a-zA-Z\-_]/.test(t);
|
|
9891
|
-
},
|
|
9910
|
+
}, Hr = (e) => ({
|
|
9892
9911
|
value: e,
|
|
9893
9912
|
enumerable: !1,
|
|
9894
9913
|
writable: !0,
|
|
9895
9914
|
configurable: !0
|
|
9896
|
-
}),
|
|
9897
|
-
const e = (t, a) => Object.defineProperty(String.prototype, t,
|
|
9915
|
+
}), Wr = function() {
|
|
9916
|
+
const e = (t, a) => Object.defineProperty(String.prototype, t, Hr(a));
|
|
9898
9917
|
e("fromBase64", function() {
|
|
9899
9918
|
return hi(this);
|
|
9900
9919
|
}), e("toBase64", function(t) {
|
|
@@ -9904,10 +9923,10 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9904
9923
|
}), e("toBase64URL", function() {
|
|
9905
9924
|
return qa(this, !0);
|
|
9906
9925
|
}), e("toUint8Array", function() {
|
|
9907
|
-
return
|
|
9926
|
+
return Or(this);
|
|
9908
9927
|
});
|
|
9909
|
-
},
|
|
9910
|
-
const e = (t, a) => Object.defineProperty(Uint8Array.prototype, t,
|
|
9928
|
+
}, Ir = function() {
|
|
9929
|
+
const e = (t, a) => Object.defineProperty(Uint8Array.prototype, t, Hr(a));
|
|
9911
9930
|
e("toBase64", function(t) {
|
|
9912
9931
|
return ti(this, t);
|
|
9913
9932
|
}), e("toBase64URI", function() {
|
|
@@ -9915,30 +9934,30 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9915
9934
|
}), e("toBase64URL", function() {
|
|
9916
9935
|
return ti(this, !0);
|
|
9917
9936
|
});
|
|
9918
|
-
},
|
|
9919
|
-
|
|
9920
|
-
},
|
|
9921
|
-
version:
|
|
9922
|
-
VERSION:
|
|
9937
|
+
}, Tm = () => {
|
|
9938
|
+
Wr(), Ir();
|
|
9939
|
+
}, km = {
|
|
9940
|
+
version: Lr,
|
|
9941
|
+
VERSION: cm,
|
|
9923
9942
|
atob: Bi,
|
|
9924
|
-
atobPolyfill:
|
|
9943
|
+
atobPolyfill: Fr,
|
|
9925
9944
|
btoa: Oi,
|
|
9926
|
-
btoaPolyfill:
|
|
9945
|
+
btoaPolyfill: Rr,
|
|
9927
9946
|
fromBase64: hi,
|
|
9928
9947
|
toBase64: qa,
|
|
9929
9948
|
encode: qa,
|
|
9930
|
-
encodeURI:
|
|
9931
|
-
encodeURL:
|
|
9932
|
-
utob:
|
|
9933
|
-
btou:
|
|
9949
|
+
encodeURI: er,
|
|
9950
|
+
encodeURL: er,
|
|
9951
|
+
utob: Pr,
|
|
9952
|
+
btou: wr,
|
|
9934
9953
|
decode: hi,
|
|
9935
|
-
isValid:
|
|
9954
|
+
isValid: hm,
|
|
9936
9955
|
fromUint8Array: ti,
|
|
9937
|
-
toUint8Array:
|
|
9938
|
-
extendString:
|
|
9939
|
-
extendUint8Array:
|
|
9940
|
-
extendBuiltins:
|
|
9941
|
-
},
|
|
9956
|
+
toUint8Array: Or,
|
|
9957
|
+
extendString: Wr,
|
|
9958
|
+
extendUint8Array: Ir,
|
|
9959
|
+
extendBuiltins: Tm
|
|
9960
|
+
}, S0 = (e, t) => {
|
|
9942
9961
|
const { playGameApi: a } = Gi();
|
|
9943
9962
|
return Y({
|
|
9944
9963
|
queryKey: ["playGame"],
|
|
@@ -9966,7 +9985,7 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9966
9985
|
supportPortrait: m,
|
|
9967
9986
|
isHtmlCode: p,
|
|
9968
9987
|
gameUrl: g,
|
|
9969
|
-
decodeGameUrl:
|
|
9988
|
+
decodeGameUrl: km.decode(g),
|
|
9970
9989
|
message: f,
|
|
9971
9990
|
betLimitInfo: y
|
|
9972
9991
|
};
|
|
@@ -9974,34 +9993,34 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
9974
9993
|
enabled: !!e?.gameCode,
|
|
9975
9994
|
...t
|
|
9976
9995
|
});
|
|
9977
|
-
},
|
|
9996
|
+
}, zr = () => {
|
|
9978
9997
|
const { client: e } = re(), t = M(async () => await e.get("/rebate"), [e]), a = M(async () => await e.post("/withdraw/rebate"), [e]);
|
|
9979
9998
|
return {
|
|
9980
9999
|
currentRebateApi: t,
|
|
9981
10000
|
receiveRebateApi: a
|
|
9982
10001
|
};
|
|
9983
|
-
},
|
|
9984
|
-
const { currentRebateApi: t } =
|
|
10002
|
+
}, xm = ({ options: e } = {}) => {
|
|
10003
|
+
const { currentRebateApi: t } = zr();
|
|
9985
10004
|
return Y({
|
|
9986
10005
|
queryKey: ["currentRebate"],
|
|
9987
10006
|
queryFn: () => t(),
|
|
9988
|
-
select: (a) =>
|
|
10007
|
+
select: (a) => ur(a, ["code", "status"]),
|
|
9989
10008
|
...e
|
|
9990
10009
|
});
|
|
9991
|
-
},
|
|
9992
|
-
const { receiveRebateApi: t } =
|
|
10010
|
+
}, Sm = ({ options: e } = {}) => {
|
|
10011
|
+
const { receiveRebateApi: t } = zr();
|
|
9993
10012
|
return ae({
|
|
9994
10013
|
mutationKey: ["receiveRebate"],
|
|
9995
10014
|
mutationFn: async () => t(),
|
|
9996
10015
|
...e
|
|
9997
10016
|
});
|
|
9998
|
-
},
|
|
10017
|
+
}, E0 = ({
|
|
9999
10018
|
options: e = {
|
|
10000
10019
|
currentRebate: {},
|
|
10001
10020
|
receiveRebate: {}
|
|
10002
10021
|
}
|
|
10003
10022
|
} = {}) => {
|
|
10004
|
-
const t =
|
|
10023
|
+
const t = xm({ options: e.currentRebate }), a = Sm({ options: e.receiveRebate });
|
|
10005
10024
|
return {
|
|
10006
10025
|
currentRebate: t,
|
|
10007
10026
|
receiveRebate: a
|
|
@@ -10025,7 +10044,7 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
10025
10044
|
redeemRewardApi: s,
|
|
10026
10045
|
historyRewardApi: u
|
|
10027
10046
|
};
|
|
10028
|
-
},
|
|
10047
|
+
}, Em = ({ options: e, formData: t } = {}) => {
|
|
10029
10048
|
const { rewardListApi: a } = gt();
|
|
10030
10049
|
return Y({
|
|
10031
10050
|
queryKey: ["rewardsList"],
|
|
@@ -10055,8 +10074,8 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
10055
10074
|
rewardUid: g,
|
|
10056
10075
|
rewardWagering: b,
|
|
10057
10076
|
rewardAmount: d,
|
|
10058
|
-
rewardBg:
|
|
10059
|
-
rewardIcon:
|
|
10077
|
+
rewardBg: fr(),
|
|
10078
|
+
rewardIcon: cr("win")
|
|
10060
10079
|
};
|
|
10061
10080
|
});
|
|
10062
10081
|
return {
|
|
@@ -10072,35 +10091,35 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
10072
10091
|
},
|
|
10073
10092
|
...e
|
|
10074
10093
|
});
|
|
10075
|
-
},
|
|
10094
|
+
}, Dm = ({ options: e } = {}) => {
|
|
10076
10095
|
const { redeemRewardApi: t } = gt();
|
|
10077
10096
|
return ae({
|
|
10078
10097
|
mutationKey: ["redeemReward"],
|
|
10079
10098
|
mutationFn: async (a) => await t(a),
|
|
10080
10099
|
...e
|
|
10081
10100
|
});
|
|
10082
|
-
},
|
|
10101
|
+
}, Nm = ({ options: e } = {}) => {
|
|
10083
10102
|
const { unUsedRewardListApi: t } = gt();
|
|
10084
10103
|
return Y({
|
|
10085
10104
|
queryKey: ["unUsedRewardsList"],
|
|
10086
10105
|
queryFn: t,
|
|
10087
10106
|
...e
|
|
10088
10107
|
});
|
|
10089
|
-
},
|
|
10108
|
+
}, Lm = ({ options: e } = {}) => {
|
|
10090
10109
|
const { expiredRewardListApi: t } = gt();
|
|
10091
10110
|
return Y({
|
|
10092
10111
|
queryKey: ["expiredRewardsList"],
|
|
10093
10112
|
queryFn: t,
|
|
10094
10113
|
...e
|
|
10095
10114
|
});
|
|
10096
|
-
},
|
|
10115
|
+
}, Gm = ({ options: e } = {}) => {
|
|
10097
10116
|
const { historyRewardApi: t } = gt();
|
|
10098
10117
|
return Y({
|
|
10099
10118
|
queryKey: ["historyRewardsList"],
|
|
10100
10119
|
queryFn: t,
|
|
10101
10120
|
...e
|
|
10102
10121
|
});
|
|
10103
|
-
},
|
|
10122
|
+
}, D0 = ({
|
|
10104
10123
|
options: e = {
|
|
10105
10124
|
rewardsList: {},
|
|
10106
10125
|
redeemReward: {},
|
|
@@ -10109,13 +10128,13 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
10109
10128
|
historyRewardsList: {}
|
|
10110
10129
|
}
|
|
10111
10130
|
} = {}) => {
|
|
10112
|
-
const t =
|
|
10131
|
+
const t = Em({ options: e.rewardsList }), a = Dm({
|
|
10113
10132
|
options: e.redeemReward
|
|
10114
|
-
}), n =
|
|
10133
|
+
}), n = Nm({
|
|
10115
10134
|
options: e.unUsedRewardsList
|
|
10116
|
-
}), s =
|
|
10135
|
+
}), s = Lm({
|
|
10117
10136
|
options: e.expiredRewardsList
|
|
10118
|
-
}), u =
|
|
10137
|
+
}), u = Gm({
|
|
10119
10138
|
options: e.historyRewardsList
|
|
10120
10139
|
});
|
|
10121
10140
|
return {
|
|
@@ -10166,7 +10185,7 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
10166
10185
|
reward_amount: "1000.00000000",
|
|
10167
10186
|
status: 1
|
|
10168
10187
|
}
|
|
10169
|
-
],
|
|
10188
|
+
], Mm = [
|
|
10170
10189
|
{
|
|
10171
10190
|
uid: 53,
|
|
10172
10191
|
roulettes_uid: ca,
|
|
@@ -10193,7 +10212,7 @@ const m0 = ({ onIdle: e, onActive: t, onAction: a, timeout: n = 6e5 }) => Ys({
|
|
|
10193
10212
|
}
|
|
10194
10213
|
];
|
|
10195
10214
|
let ut = 3;
|
|
10196
|
-
const
|
|
10215
|
+
const Vr = [], Rm = () => [
|
|
10197
10216
|
{
|
|
10198
10217
|
title: Ti,
|
|
10199
10218
|
reward_title: "500 點",
|
|
@@ -10208,7 +10227,7 @@ const Ir = [], Gm = () => [
|
|
|
10208
10227
|
reward_amount: "0.00000000",
|
|
10209
10228
|
created_at: "2026-09-20T11:02:41.000000Z"
|
|
10210
10229
|
}
|
|
10211
|
-
], Hi = (e = 300) => new Promise((t) => setTimeout(t, e)),
|
|
10230
|
+
], Hi = (e = 300) => new Promise((t) => setTimeout(t, e)), Pm = () => ki[Math.floor(Math.random() * ki.length)], wm = async () => (await Hi(), {
|
|
10212
10231
|
code: 200,
|
|
10213
10232
|
status: "Success",
|
|
10214
10233
|
message: "Success",
|
|
@@ -10226,21 +10245,21 @@ const Ir = [], Gm = () => [
|
|
|
10226
10245
|
is_active: 1,
|
|
10227
10246
|
count: ut,
|
|
10228
10247
|
roulettes_rewards: ki,
|
|
10229
|
-
roulettes_copywriting:
|
|
10248
|
+
roulettes_copywriting: Mm
|
|
10230
10249
|
}
|
|
10231
10250
|
]
|
|
10232
|
-
}),
|
|
10251
|
+
}), Fm = async ({ spin_times: e = 1 } = {}) => {
|
|
10233
10252
|
if (await Hi(), ut <= 0)
|
|
10234
10253
|
return { success: !1, message: "No spin count available." };
|
|
10235
10254
|
const t = Math.min(Number(e) || 1, ut), a = [];
|
|
10236
10255
|
for (let n = 0; n < t; n += 1) {
|
|
10237
|
-
const s =
|
|
10256
|
+
const s = Pm();
|
|
10238
10257
|
a.push({
|
|
10239
10258
|
uid: s.uid,
|
|
10240
10259
|
reward_title: s.reward_title,
|
|
10241
10260
|
reward_type: s.reward_type,
|
|
10242
10261
|
reward_amount: Number(s.reward_amount)
|
|
10243
|
-
}),
|
|
10262
|
+
}), Vr.unshift({
|
|
10244
10263
|
title: Ti,
|
|
10245
10264
|
reward_title: s.reward_title,
|
|
10246
10265
|
reward_type: s.reward_type,
|
|
@@ -10256,9 +10275,9 @@ const Ir = [], Gm = () => [
|
|
|
10256
10275
|
remaining_count: ut
|
|
10257
10276
|
}
|
|
10258
10277
|
};
|
|
10259
|
-
},
|
|
10278
|
+
}, Am = async ({ page: e = 1 } = {}) => {
|
|
10260
10279
|
await Hi();
|
|
10261
|
-
const t = 15, a = [...
|
|
10280
|
+
const t = 15, a = [...Vr, ...Rm()], n = a.length, s = Number(e) || 1, u = (s - 1) * t, b = a.slice(u, u + t), d = Math.max(1, Math.ceil(n / t));
|
|
10262
10281
|
return {
|
|
10263
10282
|
success: !0,
|
|
10264
10283
|
message: "Get getRoulettesRewardsLog Success",
|
|
@@ -10273,16 +10292,16 @@ const Ir = [], Gm = () => [
|
|
|
10273
10292
|
}
|
|
10274
10293
|
};
|
|
10275
10294
|
}, Wi = () => {
|
|
10276
|
-
const { client: e } = re(), t = M(async () =>
|
|
10295
|
+
const { client: e } = re(), t = M(async () => wm(), [e]), a = M(
|
|
10277
10296
|
async (s = {}) => {
|
|
10278
10297
|
const { roulettes_uid: u = "", spin_times: b = 1 } = s || {};
|
|
10279
|
-
return
|
|
10298
|
+
return Fm({ spin_times: b });
|
|
10280
10299
|
},
|
|
10281
10300
|
[e]
|
|
10282
10301
|
), n = M(
|
|
10283
10302
|
async (s = {}) => {
|
|
10284
10303
|
const { roulettes_uid: u, page: b = 1 } = s || {};
|
|
10285
|
-
return
|
|
10304
|
+
return Am({ page: b });
|
|
10286
10305
|
},
|
|
10287
10306
|
[e]
|
|
10288
10307
|
);
|
|
@@ -10291,7 +10310,7 @@ const Ir = [], Gm = () => [
|
|
|
10291
10310
|
redeemRoulettesApi: a,
|
|
10292
10311
|
roulettesDrawLogApi: n
|
|
10293
10312
|
};
|
|
10294
|
-
},
|
|
10313
|
+
}, N0 = ({ options: e } = {}) => {
|
|
10295
10314
|
const { lng: t } = re(), a = Ve(t || "tw"), { roulettesListApi: n } = Wi();
|
|
10296
10315
|
return Y({
|
|
10297
10316
|
queryKey: ["roulettesList"],
|
|
@@ -10308,14 +10327,14 @@ const Ir = [], Gm = () => [
|
|
|
10308
10327
|
}), res: s }),
|
|
10309
10328
|
...e
|
|
10310
10329
|
});
|
|
10311
|
-
},
|
|
10330
|
+
}, L0 = ({ options: e } = {}) => {
|
|
10312
10331
|
const { redeemRoulettesApi: t } = Wi();
|
|
10313
10332
|
return ae({
|
|
10314
10333
|
mutationKey: ["redeemRoulettes"],
|
|
10315
10334
|
mutationFn: async (a) => t(a),
|
|
10316
10335
|
...e
|
|
10317
10336
|
});
|
|
10318
|
-
},
|
|
10337
|
+
}, G0 = ({ paramsData: e, options: t } = {}) => {
|
|
10319
10338
|
const { roulettesDrawLogApi: a } = Wi();
|
|
10320
10339
|
return Y({
|
|
10321
10340
|
queryKey: ["roulettesDrawLog", e],
|
|
@@ -10416,18 +10435,18 @@ const Ir = [], Gm = () => [
|
|
|
10416
10435
|
createStoreOrderApi: i,
|
|
10417
10436
|
updateStoreOrderApi: r
|
|
10418
10437
|
};
|
|
10419
|
-
}, Qa = (e) => j(e, "data", e),
|
|
10438
|
+
}, Qa = (e) => j(e, "data", e), Om = (e) => ({
|
|
10420
10439
|
...j(e, "data", {}),
|
|
10421
10440
|
shipment_list: j(e, "shipment_list", {})
|
|
10422
|
-
}),
|
|
10441
|
+
}), M0 = ({ options: e } = {}) => {
|
|
10423
10442
|
const { storeConfigApi: t } = ma();
|
|
10424
10443
|
return Y({
|
|
10425
10444
|
queryKey: ["market", "storeConfig"],
|
|
10426
10445
|
queryFn: t,
|
|
10427
|
-
select:
|
|
10446
|
+
select: Om,
|
|
10428
10447
|
...e
|
|
10429
10448
|
});
|
|
10430
|
-
},
|
|
10449
|
+
}, R0 = ({ options: e } = {}) => {
|
|
10431
10450
|
const { storeProductTypeApi: t } = ma();
|
|
10432
10451
|
return Y({
|
|
10433
10452
|
queryKey: ["market", "productType"],
|
|
@@ -10435,9 +10454,9 @@ const Ir = [], Gm = () => [
|
|
|
10435
10454
|
select: Qa,
|
|
10436
10455
|
...e
|
|
10437
10456
|
});
|
|
10438
|
-
},
|
|
10457
|
+
}, P0 = ({ paramsData: e, options: t } = {}) => {
|
|
10439
10458
|
const { storeProductListApi: a } = ma();
|
|
10440
|
-
return
|
|
10459
|
+
return sl({
|
|
10441
10460
|
queryKey: ["market", "productList", "infinite", e],
|
|
10442
10461
|
initialPageParam: 1,
|
|
10443
10462
|
queryFn: async ({ pageParam: n = 1 }) => {
|
|
@@ -10453,7 +10472,7 @@ const Ir = [], Gm = () => [
|
|
|
10453
10472
|
},
|
|
10454
10473
|
...t
|
|
10455
10474
|
});
|
|
10456
|
-
},
|
|
10475
|
+
}, w0 = ({ paramsData: e, options: t } = {}) => {
|
|
10457
10476
|
const { storeProductDetailApi: a } = ma(), n = j(e, "uid");
|
|
10458
10477
|
return Y({
|
|
10459
10478
|
queryKey: ["market", "productDetail", n],
|
|
@@ -10462,7 +10481,7 @@ const Ir = [], Gm = () => [
|
|
|
10462
10481
|
...t,
|
|
10463
10482
|
enabled: n != null && n !== "" && (t?.enabled ?? !0)
|
|
10464
10483
|
});
|
|
10465
|
-
},
|
|
10484
|
+
}, F0 = ({ options: e } = {}) => {
|
|
10466
10485
|
const { storeCoinBalanceApi: t } = ma(), { getToken: a } = re(), n = a?.();
|
|
10467
10486
|
return Y({
|
|
10468
10487
|
queryKey: ["market", "storeCoinBalance"],
|
|
@@ -10473,7 +10492,7 @@ const Ir = [], Gm = () => [
|
|
|
10473
10492
|
放在 ...options 之後,與呼叫端自帶的 enabled 取交集。 */
|
|
10474
10493
|
enabled: !!n && (e?.enabled ?? !0)
|
|
10475
10494
|
});
|
|
10476
|
-
},
|
|
10495
|
+
}, A0 = ({ paramsData: e, options: t } = {}) => {
|
|
10477
10496
|
const { storeCoinLogApi: a } = ma(), { getToken: n } = re(), s = n?.();
|
|
10478
10497
|
return Y({
|
|
10479
10498
|
queryKey: ["market", "storeCoinLog", e],
|
|
@@ -10483,7 +10502,7 @@ const Ir = [], Gm = () => [
|
|
|
10483
10502
|
// 同 useStoreCoinBalance:未登入不發送
|
|
10484
10503
|
enabled: !!s && (t?.enabled ?? !0)
|
|
10485
10504
|
});
|
|
10486
|
-
},
|
|
10505
|
+
}, O0 = ({ paramsData: e, options: t } = {}) => {
|
|
10487
10506
|
const { storeOrderListApi: a } = ma(), { getToken: n } = re(), s = n?.();
|
|
10488
10507
|
return Y({
|
|
10489
10508
|
queryKey: ["market", "storeOrderList", e],
|
|
@@ -10493,7 +10512,7 @@ const Ir = [], Gm = () => [
|
|
|
10493
10512
|
// 同 useStoreCoinBalance:未登入不發送
|
|
10494
10513
|
enabled: !!s && (t?.enabled ?? !0)
|
|
10495
10514
|
});
|
|
10496
|
-
},
|
|
10515
|
+
}, B0 = ({ paramsData: e, options: t } = {}) => {
|
|
10497
10516
|
const { storeOrderDetailApi: a } = ma(), { getToken: n } = re(), s = n?.(), u = j(e, "uid");
|
|
10498
10517
|
return Y({
|
|
10499
10518
|
queryKey: ["market", "storeOrderDetail", u],
|
|
@@ -10503,7 +10522,7 @@ const Ir = [], Gm = () => [
|
|
|
10503
10522
|
/* 需 Bearer Token 且需有 uid 才發送;與呼叫端自帶的 enabled 取交集 */
|
|
10504
10523
|
enabled: !!s && !!u && (t?.enabled ?? !0)
|
|
10505
10524
|
});
|
|
10506
|
-
},
|
|
10525
|
+
}, H0 = ({ options: e } = {}) => {
|
|
10507
10526
|
const { createStoreOrderApi: t } = ma(), a = ya(), { onSuccess: n, ...s } = e || {};
|
|
10508
10527
|
return ae({
|
|
10509
10528
|
mutationKey: ["market", "createStoreOrder"],
|
|
@@ -10515,7 +10534,7 @@ const Ir = [], Gm = () => [
|
|
|
10515
10534
|
},
|
|
10516
10535
|
...s
|
|
10517
10536
|
});
|
|
10518
|
-
},
|
|
10537
|
+
}, W0 = ({ options: e } = {}) => {
|
|
10519
10538
|
const { updateStoreOrderApi: t } = ma(), a = ya(), { onSuccess: n, ...s } = e || {};
|
|
10520
10539
|
return ae({
|
|
10521
10540
|
mutationKey: ["market", "updateStoreOrder"],
|
|
@@ -10527,7 +10546,7 @@ const Ir = [], Gm = () => [
|
|
|
10527
10546
|
},
|
|
10528
10547
|
...s
|
|
10529
10548
|
});
|
|
10530
|
-
},
|
|
10549
|
+
}, Jr = () => {
|
|
10531
10550
|
const { client: e } = re(), t = M(
|
|
10532
10551
|
async (n = {}) => {
|
|
10533
10552
|
const {
|
|
@@ -10562,8 +10581,8 @@ const Ir = [], Gm = () => [
|
|
|
10562
10581
|
treasureListApi: t,
|
|
10563
10582
|
redeemTreasureApi: a
|
|
10564
10583
|
};
|
|
10565
|
-
},
|
|
10566
|
-
const { client: a, lng: n } = re(), s = Ve(n || "tw"), { treasureListApi: u } =
|
|
10584
|
+
}, I0 = ({ paramsData: e, options: t } = {}) => {
|
|
10585
|
+
const { client: a, lng: n } = re(), s = Ve(n || "tw"), { treasureListApi: u } = Jr();
|
|
10567
10586
|
return Y({
|
|
10568
10587
|
queryKey: ["treasureList", e],
|
|
10569
10588
|
queryFn: () => u(e),
|
|
@@ -10590,21 +10609,21 @@ const Ir = [], Gm = () => [
|
|
|
10590
10609
|
},
|
|
10591
10610
|
...t
|
|
10592
10611
|
});
|
|
10593
|
-
},
|
|
10594
|
-
const { redeemTreasureApi: t } =
|
|
10612
|
+
}, z0 = ({ options: e } = {}) => {
|
|
10613
|
+
const { redeemTreasureApi: t } = Jr();
|
|
10595
10614
|
return ae({
|
|
10596
10615
|
mutationKey: ["redeemTreasure"],
|
|
10597
10616
|
mutationFn: async (a) => t(a),
|
|
10598
10617
|
...e
|
|
10599
10618
|
});
|
|
10600
|
-
},
|
|
10619
|
+
}, Zr = () => {
|
|
10601
10620
|
const { client: e } = re(), t = M(async () => await e.get("/vip/list"), [e]), a = M(async () => await e.get("/vip/check"), [e]);
|
|
10602
10621
|
return {
|
|
10603
10622
|
vipListApi: t,
|
|
10604
10623
|
vipInfoApi: a
|
|
10605
10624
|
};
|
|
10606
|
-
},
|
|
10607
|
-
const { store: t } = re(), a = t?.getState()?.isMemberInfo || t?.getState()?.member?.member || {}, { vipInfoApi: n } =
|
|
10625
|
+
}, V0 = ({ options: e } = {}) => {
|
|
10626
|
+
const { store: t } = re(), a = t?.getState()?.isMemberInfo || t?.getState()?.member?.member || {}, { vipInfoApi: n } = Zr();
|
|
10608
10627
|
return Y({
|
|
10609
10628
|
queryKey: ["vipInfo"],
|
|
10610
10629
|
queryFn: async () => n(),
|
|
@@ -10614,7 +10633,7 @@ const Ir = [], Gm = () => [
|
|
|
10614
10633
|
currentStatus: i.status,
|
|
10615
10634
|
currentOverflow: i.promotion_overflow,
|
|
10616
10635
|
type: i.type
|
|
10617
|
-
})), l =
|
|
10636
|
+
})), l = dl(d, "type");
|
|
10618
10637
|
return {
|
|
10619
10638
|
currentWager: u.wagering || u.value,
|
|
10620
10639
|
currentLevel: a.vip_level,
|
|
@@ -10628,8 +10647,8 @@ const Ir = [], Gm = () => [
|
|
|
10628
10647
|
},
|
|
10629
10648
|
...e
|
|
10630
10649
|
});
|
|
10631
|
-
},
|
|
10632
|
-
const { store: t } = re(), a = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: n } =
|
|
10650
|
+
}, Bm = ({ options: e } = {}) => {
|
|
10651
|
+
const { store: t } = re(), a = t?.getState()?.isWalletCurrency || t?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: n } = Zr();
|
|
10633
10652
|
return Y({
|
|
10634
10653
|
queryKey: ["vipList"],
|
|
10635
10654
|
queryFn: async () => {
|
|
@@ -10654,7 +10673,7 @@ const Ir = [], Gm = () => [
|
|
|
10654
10673
|
};
|
|
10655
10674
|
return {
|
|
10656
10675
|
...d,
|
|
10657
|
-
vipImageUrl: `${
|
|
10676
|
+
vipImageUrl: `${Ye}/vip/vip${d.level}_l.avif`,
|
|
10658
10677
|
vipRule: g,
|
|
10659
10678
|
vipWithdraw: p,
|
|
10660
10679
|
vipWithdrawFeeRate: f,
|
|
@@ -10665,12 +10684,12 @@ const Ir = [], Gm = () => [
|
|
|
10665
10684
|
},
|
|
10666
10685
|
...e
|
|
10667
10686
|
});
|
|
10668
|
-
},
|
|
10687
|
+
}, J0 = ({ options: e } = {
|
|
10669
10688
|
vipList: {}
|
|
10670
10689
|
}) => ({
|
|
10671
|
-
vipList:
|
|
10672
|
-
}),
|
|
10673
|
-
const [t, a] =
|
|
10690
|
+
vipList: Bm({ options: e.vipList })
|
|
10691
|
+
}), Z0 = ({ onMessage: e } = {}) => {
|
|
10692
|
+
const [t, a] = Qe(!1), [n, s] = Qe([]), u = se(e);
|
|
10674
10693
|
u.current = e;
|
|
10675
10694
|
const b = M((_) => {
|
|
10676
10695
|
const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("zh-TW");
|
|
@@ -10752,8 +10771,8 @@ const Ir = [], Gm = () => [
|
|
|
10752
10771
|
webViewUnmute: y,
|
|
10753
10772
|
logs: n
|
|
10754
10773
|
};
|
|
10755
|
-
}, bt = "game-icon-ds88",
|
|
10756
|
-
const { lng: t } = re(), a =
|
|
10774
|
+
}, bt = "game-icon-ds88", K0 = ({ gameData: e = {} } = {}) => {
|
|
10775
|
+
const { lng: t } = re(), a = Nl(t), {
|
|
10757
10776
|
gameCode: n,
|
|
10758
10777
|
// 遊戲代碼
|
|
10759
10778
|
gameUid: s,
|
|
@@ -10797,7 +10816,7 @@ const Ir = [], Gm = () => [
|
|
|
10797
10816
|
gameNameTw: h
|
|
10798
10817
|
// 繁體中文名稱
|
|
10799
10818
|
} = e, D = e?.[`gameName${a}`], H = `${st}/${bt}/${t}/${i}/${ot(n, / /g, "_")}.webp`, k = `${st}/${bt}/${t}/${i}/${ot(n, / /g, "_")}.gif`, S = `${st}/${bt}/en/${i}/${ot(n, / /g, "_")}.webp`, A = `${st}/${bt}/en/${i}/${ot(n, / /g, "_")}.gif`, P = M(
|
|
10800
|
-
({ long: R = !1, preferAnimated: L = !1 } = {}) =>
|
|
10819
|
+
({ long: R = !1, preferAnimated: L = !1 } = {}) => Dl({
|
|
10801
10820
|
lng: t,
|
|
10802
10821
|
gamePlatform: i,
|
|
10803
10822
|
gameCode: n,
|
|
@@ -10835,7 +10854,7 @@ const Ir = [], Gm = () => [
|
|
|
10835
10854
|
isInvalidBet: _,
|
|
10836
10855
|
haveJackpot: c
|
|
10837
10856
|
};
|
|
10838
|
-
},
|
|
10857
|
+
}, Hm = (e, t = !1) => cl([
|
|
10839
10858
|
"EVO",
|
|
10840
10859
|
"IMSPRIBE",
|
|
10841
10860
|
"SABA",
|
|
@@ -10846,7 +10865,7 @@ const Ir = [], Gm = () => [
|
|
|
10846
10865
|
"HACK",
|
|
10847
10866
|
"NAGA",
|
|
10848
10867
|
"RSG"
|
|
10849
|
-
], e) && t ? `${e}_dark` : e,
|
|
10868
|
+
], e) && t ? `${e}_dark` : e, q0 = ({ platformData: e, darkMode: t } = {}) => {
|
|
10850
10869
|
const {
|
|
10851
10870
|
SubPlatformEnum: a,
|
|
10852
10871
|
// 子平台枚舉
|
|
@@ -10868,7 +10887,7 @@ const Ir = [], Gm = () => [
|
|
|
10868
10887
|
// 臨時維護開始時間
|
|
10869
10888
|
temp_maintenance_end_time: o
|
|
10870
10889
|
// 臨時維護結束時間
|
|
10871
|
-
} = e || {}, m = `${
|
|
10890
|
+
} = e || {}, m = `${Ye}/${_r}/${Hm(n, t)}.png`;
|
|
10872
10891
|
return {
|
|
10873
10892
|
subPlatformEnum: a,
|
|
10874
10893
|
platformEnum: n,
|
|
@@ -10882,19 +10901,19 @@ const Ir = [], Gm = () => [
|
|
|
10882
10901
|
tempMaintenanceEndTime: o,
|
|
10883
10902
|
platformImageUrl: m
|
|
10884
10903
|
};
|
|
10885
|
-
},
|
|
10904
|
+
}, Wm = (e = {}) => !ri(e) || Fe(e) ? [] : li(e), ar = (e = []) => !ta(e) || Fe(e) ? [] : Se(e, "platform"), Im = (e = []) => !ta(e) || Fe(e) ? [] : Se(e, "gameTypeName"), zm = (e = []) => !ta(e) || Fe(e) ? [] : Se(e, "game_subtype"), Vm = (e = {}) => !ri(e) || Fe(e) ? [] : li(e), Jm = (e = [], t = []) => !ta(e) || Fe(e) ? {} : !ta(t) || Fe(t) ? {} : e.reduce((a, n) => {
|
|
10886
10905
|
const s = t.map((u) => u.game_subtype);
|
|
10887
10906
|
return s.forEach((u) => {
|
|
10888
10907
|
a[u] = a[u] || [];
|
|
10889
10908
|
}), s.includes(n.game_subtype) && a[n.game_subtype].push(n), a;
|
|
10890
|
-
}, {}),
|
|
10909
|
+
}, {}), Zm = ({
|
|
10891
10910
|
gameTypes: e = [],
|
|
10892
10911
|
platforms: t = [],
|
|
10893
10912
|
gameList: a = {},
|
|
10894
10913
|
allGameTypes: n = [],
|
|
10895
10914
|
allPlatforms: s = []
|
|
10896
10915
|
}) => !ta(e) || !ta(t) ? {} : Fe(a) ? {} : e.reduce((u, b) => {
|
|
10897
|
-
const d =
|
|
10916
|
+
const d = Gl({
|
|
10898
10917
|
gameTypeName: b,
|
|
10899
10918
|
platforms: t,
|
|
10900
10919
|
gameList: a,
|
|
@@ -10902,17 +10921,17 @@ const Ir = [], Gm = () => [
|
|
|
10902
10921
|
allPlatforms: s
|
|
10903
10922
|
});
|
|
10904
10923
|
return Fe(d) || (u[b] = d), u;
|
|
10905
|
-
}, {}),
|
|
10924
|
+
}, {}), $0 = ({
|
|
10906
10925
|
types: e = [],
|
|
10907
10926
|
platforms: t = [],
|
|
10908
10927
|
allGameType: a = [],
|
|
10909
10928
|
allGamePlatform: n = [],
|
|
10910
10929
|
allGameList: s = {}
|
|
10911
10930
|
} = {}) => !Array.isArray(e) || !Array.isArray(t) ? {} : e.reduce((u, b) => {
|
|
10912
|
-
const d =
|
|
10931
|
+
const d = br(a, b);
|
|
10913
10932
|
if (!d) return u;
|
|
10914
10933
|
const l = s[d] || [], i = t.reduce((r, o) => {
|
|
10915
|
-
const m =
|
|
10934
|
+
const m = Ml({
|
|
10916
10935
|
platformName: o,
|
|
10917
10936
|
gamesOfType: l,
|
|
10918
10937
|
allPlatforms: n
|
|
@@ -10920,9 +10939,9 @@ const Ir = [], Gm = () => [
|
|
|
10920
10939
|
return Fe(m) ? r : { ...r, [o]: m };
|
|
10921
10940
|
}, {});
|
|
10922
10941
|
return Fe(i) || (u[b] = i), u;
|
|
10923
|
-
}, {}),
|
|
10942
|
+
}, {}), Km = (e = {}) => !ri(e) || Fe(e) ? {} : Object.values(e).reduce((a, n) => (Object.entries(n).forEach(([s, u]) => {
|
|
10924
10943
|
a[s] ? a[s] = [...a[s], ...u] : a[s] = u;
|
|
10925
|
-
}), a), {}),
|
|
10944
|
+
}), a), {}), qm = (e = {}) => {
|
|
10926
10945
|
if (!ri(e) || Fe(e)) return {};
|
|
10927
10946
|
const t = {};
|
|
10928
10947
|
for (const [a, n] of Object.entries(e)) {
|
|
@@ -10933,7 +10952,7 @@ const Ir = [], Gm = () => [
|
|
|
10933
10952
|
}
|
|
10934
10953
|
}
|
|
10935
10954
|
return t;
|
|
10936
|
-
},
|
|
10955
|
+
}, $m = ({
|
|
10937
10956
|
allGameList: e = {},
|
|
10938
10957
|
allGamePlatform: t = [],
|
|
10939
10958
|
allGameType: a = [],
|
|
@@ -10946,21 +10965,21 @@ const Ir = [], Gm = () => [
|
|
|
10946
10965
|
highlightGames: i = [],
|
|
10947
10966
|
originPlatform: r = []
|
|
10948
10967
|
}) => {
|
|
10949
|
-
const o =
|
|
10968
|
+
const o = Wm(e), m = ar(t), g = Im(a), p = zm(n), f = ar(r), y = Vm(d), _ = Zm({
|
|
10950
10969
|
gameTypes: g,
|
|
10951
10970
|
platforms: m,
|
|
10952
10971
|
gameList: e,
|
|
10953
10972
|
allGameTypes: a,
|
|
10954
10973
|
allPlatforms: t
|
|
10955
10974
|
}), c = Se(t, (D) => {
|
|
10956
|
-
const H = `${
|
|
10975
|
+
const H = `${Ye}/${_r}/${D.platformEnum}.png`;
|
|
10957
10976
|
return {
|
|
10958
10977
|
...D,
|
|
10959
10978
|
platformImageUrl: H
|
|
10960
10979
|
};
|
|
10961
|
-
}), U =
|
|
10980
|
+
}), U = Jm(o, n), C = Km(_), v = qm(C), T = mr(_).reduce(
|
|
10962
10981
|
(D, [H, k]) => {
|
|
10963
|
-
const S = li(
|
|
10982
|
+
const S = li(fl(k));
|
|
10964
10983
|
return D[H] = S, D;
|
|
10965
10984
|
},
|
|
10966
10985
|
{}
|
|
@@ -11001,12 +11020,12 @@ const Ir = [], Gm = () => [
|
|
|
11001
11020
|
favorite: y
|
|
11002
11021
|
}
|
|
11003
11022
|
};
|
|
11004
|
-
},
|
|
11023
|
+
}, j0 = (e = []) => !ta(e) || Fe(e) ? [] : li(e, (t) => Fe(t.SubPlatformEnum) ? t : t.SubPlatformEnum.map((a) => ({
|
|
11005
11024
|
...t,
|
|
11006
11025
|
...a,
|
|
11007
11026
|
platform: a.SubPlatformEnum,
|
|
11008
11027
|
platformEnum: a.SubPlatformEnum
|
|
11009
|
-
}))),
|
|
11028
|
+
}))), jm = {
|
|
11010
11029
|
platform: { all: [], origin: [], originPlatform: [], byGameType: {} },
|
|
11011
11030
|
type: { main: [], sub: [], originMain: [], originSub: [] },
|
|
11012
11031
|
gameList: {
|
|
@@ -11026,7 +11045,7 @@ const Ir = [], Gm = () => [
|
|
|
11026
11045
|
byGameType: {}
|
|
11027
11046
|
},
|
|
11028
11047
|
user: { favorite: [] }
|
|
11029
|
-
},
|
|
11048
|
+
}, Qm = ({ enabled: e = !0 } = {}) => {
|
|
11030
11049
|
const { getToken: t } = re(), { userFavoriteGameApi: a, userGameListApi: n } = oe(), { data: s, isLoading: u, error: b, refetch: d } = Y({
|
|
11031
11050
|
queryKey: ["gamesInfo"],
|
|
11032
11051
|
queryFn: async () => {
|
|
@@ -11036,7 +11055,7 @@ const Ir = [], Gm = () => [
|
|
|
11036
11055
|
} catch (r) {
|
|
11037
11056
|
console.warn("Failed to fetch favorite games:", r);
|
|
11038
11057
|
}
|
|
11039
|
-
return
|
|
11058
|
+
return $m({
|
|
11040
11059
|
allGameList: i.gameTypeGroup || window.gameTypeGroup || {},
|
|
11041
11060
|
allGamePlatform: i.platforms || window.platforms || [],
|
|
11042
11061
|
allGameType: i.gameType || window.gameType || [],
|
|
@@ -11059,12 +11078,12 @@ const Ir = [], Gm = () => [
|
|
|
11059
11078
|
refetchOnWindowFocus: !1
|
|
11060
11079
|
});
|
|
11061
11080
|
return {
|
|
11062
|
-
gamesInfo: s ||
|
|
11081
|
+
gamesInfo: s || jm,
|
|
11063
11082
|
isLoading: u,
|
|
11064
11083
|
error: b,
|
|
11065
11084
|
refetch: d
|
|
11066
11085
|
};
|
|
11067
|
-
},
|
|
11086
|
+
}, Ym = (e = !1) => {
|
|
11068
11087
|
if (!e && window.gameTypeGroup) {
|
|
11069
11088
|
console.log("window.gameTypeGroup 已存在,跳過初始化 mock 資料");
|
|
11070
11089
|
return;
|
|
@@ -37591,18 +37610,18 @@ const Ir = [], Gm = () => [
|
|
|
37591
37610
|
is_invalid_bet: 0
|
|
37592
37611
|
}
|
|
37593
37612
|
});
|
|
37594
|
-
},
|
|
37613
|
+
}, Xm = ({
|
|
37595
37614
|
children: e,
|
|
37596
37615
|
autoFetch: t = !1,
|
|
37597
37616
|
mockData: a = !1
|
|
37598
37617
|
}) => {
|
|
37599
37618
|
ce(() => {
|
|
37600
|
-
a &&
|
|
37619
|
+
a && Ym(!0);
|
|
37601
37620
|
}, [a]);
|
|
37602
|
-
const n =
|
|
37603
|
-
return /* @__PURE__ */ te.jsx(
|
|
37621
|
+
const n = Qm({ enabled: t });
|
|
37622
|
+
return /* @__PURE__ */ te.jsx(yr.Provider, { value: n, children: e });
|
|
37604
37623
|
};
|
|
37605
|
-
function
|
|
37624
|
+
function Q0({
|
|
37606
37625
|
children: e,
|
|
37607
37626
|
autoFetchGamesInfo: t = !1,
|
|
37608
37627
|
useMockData: a = !1,
|
|
@@ -37612,13 +37631,13 @@ function $0({
|
|
|
37612
37631
|
}) {
|
|
37613
37632
|
ce(() => {
|
|
37614
37633
|
if (s)
|
|
37615
|
-
return
|
|
37634
|
+
return Sl();
|
|
37616
37635
|
}, [s]);
|
|
37617
37636
|
const b = ka(() => Ki(u), [u]), d = ka(
|
|
37618
37637
|
() => Ki({ ...u, formData: !0 }),
|
|
37619
37638
|
[u]
|
|
37620
37639
|
), l = ka(
|
|
37621
|
-
() => new
|
|
37640
|
+
() => new ml({
|
|
37622
37641
|
defaultOptions: {
|
|
37623
37642
|
queries: {
|
|
37624
37643
|
refetchOnWindowFocus: !1,
|
|
@@ -37628,8 +37647,8 @@ function $0({
|
|
|
37628
37647
|
}),
|
|
37629
37648
|
[]
|
|
37630
37649
|
), i = n || l;
|
|
37631
|
-
return /* @__PURE__ */ te.jsx(
|
|
37632
|
-
|
|
37650
|
+
return /* @__PURE__ */ te.jsx(ul, { client: i, children: /* @__PURE__ */ te.jsx(pr.Provider, { value: { client: b, formDataClient: d, ...u }, children: /* @__PURE__ */ te.jsx(vl, { children: /* @__PURE__ */ te.jsx(
|
|
37651
|
+
Xm,
|
|
37633
37652
|
{
|
|
37634
37653
|
autoFetch: t,
|
|
37635
37654
|
mockData: a,
|
|
@@ -37637,14 +37656,14 @@ function $0({
|
|
|
37637
37656
|
}
|
|
37638
37657
|
) }) }) });
|
|
37639
37658
|
}
|
|
37640
|
-
const
|
|
37659
|
+
const Y0 = () => {
|
|
37641
37660
|
const e = ya(), {
|
|
37642
37661
|
mutate: t,
|
|
37643
37662
|
isPending: a,
|
|
37644
37663
|
isSuccess: n,
|
|
37645
37664
|
isError: s,
|
|
37646
37665
|
error: u
|
|
37647
|
-
} =
|
|
37666
|
+
} = Ds({
|
|
37648
37667
|
options: {
|
|
37649
37668
|
onSuccess: () => {
|
|
37650
37669
|
e.invalidateQueries({
|
|
@@ -37658,14 +37677,14 @@ const j0 = () => {
|
|
|
37658
37677
|
const d = new URLSearchParams(window.location.search), l = d.get("bind_type"), i = d.get("bind_id");
|
|
37659
37678
|
l && i && (b.current = !0, l === "line" ? t({ bindType: l, bindId: i }) : console.warn(`Unsupported bind type: ${l}`));
|
|
37660
37679
|
}, [t]), null;
|
|
37661
|
-
},
|
|
37680
|
+
}, eu = { BASE_URL: "/", DEV: !1, MODE: "lib", PROD: !0, SSR: !1, VITE_API_KEY: "6051|IptsseoopjPEtVIi5ITv34Q2ZdVOQelVZ97Vi38Ybcdee7ca", VITE_API_URL: "https://snd.5285.com.tw/api" }, au = typeof import.meta < "u" && eu && !1, tr = "TEST_REQ", X0 = ({
|
|
37662
37681
|
simulate: e,
|
|
37663
37682
|
memberUid: t,
|
|
37664
37683
|
currentGamePlatform: a = null,
|
|
37665
|
-
enabled: n =
|
|
37684
|
+
enabled: n = au,
|
|
37666
37685
|
backendMessages: s = null
|
|
37667
37686
|
}) => {
|
|
37668
|
-
const [u, b] =
|
|
37687
|
+
const [u, b] = Qe(!1), [d, l] = Qe(!1), [i, r] = Qe(""), [o, m] = Qe(""), [g, p] = Qe("toast"), { store: f } = re() || {}, y = ka(
|
|
37669
37688
|
() => s ? Object.keys(s) : [],
|
|
37670
37689
|
[s]
|
|
37671
37690
|
), _ = ka(() => {
|
|
@@ -37678,7 +37697,7 @@ const j0 = () => {
|
|
|
37678
37697
|
const c = (h) => {
|
|
37679
37698
|
if (g === "socket") {
|
|
37680
37699
|
e({
|
|
37681
|
-
type:
|
|
37700
|
+
type: ye.ERROR,
|
|
37682
37701
|
member_info_uid: t ?? null,
|
|
37683
37702
|
data: h
|
|
37684
37703
|
});
|
|
@@ -37774,7 +37793,7 @@ const j0 = () => {
|
|
|
37774
37793
|
v(
|
|
37775
37794
|
"上分動畫(deposit)",
|
|
37776
37795
|
{
|
|
37777
|
-
type:
|
|
37796
|
+
type: ye.DEPOSIT,
|
|
37778
37797
|
member_info_uid: U,
|
|
37779
37798
|
amount: 888,
|
|
37780
37799
|
data: { amount: 888, exchange: {} }
|
|
@@ -37784,27 +37803,27 @@ const j0 = () => {
|
|
|
37784
37803
|
v(
|
|
37785
37804
|
"game_maintain 命中當前廠商",
|
|
37786
37805
|
{
|
|
37787
|
-
type:
|
|
37806
|
+
type: ye.GAME_MAINTAIN,
|
|
37788
37807
|
data: [{ platform: a, minutes: 1 }]
|
|
37789
37808
|
},
|
|
37790
37809
|
"#ef6c00"
|
|
37791
37810
|
),
|
|
37792
37811
|
v("game_maintain 其他廠商", {
|
|
37793
|
-
type:
|
|
37812
|
+
type: ye.GAME_MAINTAIN,
|
|
37794
37813
|
data: [{ platform: "__OTHER__", minutes: 1 }]
|
|
37795
37814
|
}),
|
|
37796
37815
|
v(
|
|
37797
37816
|
"全站維護 maintain_notice",
|
|
37798
|
-
{ type:
|
|
37817
|
+
{ type: ye.MAINTAIN_NOTICE, data: "【測試】全站維護時間" },
|
|
37799
37818
|
"#c62828"
|
|
37800
37819
|
),
|
|
37801
37820
|
v("會員維護 maintain_notice_member", {
|
|
37802
|
-
type:
|
|
37821
|
+
type: ye.MAINTAIN_NOTICE_MEMBER,
|
|
37803
37822
|
member_info_uid: U,
|
|
37804
37823
|
data: { msg: "【測試】會員層級維護", game_id: [] }
|
|
37805
37824
|
}),
|
|
37806
37825
|
v("轉點失敗 transCode", {
|
|
37807
|
-
type:
|
|
37826
|
+
type: ye.TRANS_CODE,
|
|
37808
37827
|
member_info_uid: U,
|
|
37809
37828
|
data: "fails",
|
|
37810
37829
|
memo: "【測試】轉點失敗訊息"
|
|
@@ -37812,19 +37831,19 @@ const j0 = () => {
|
|
|
37812
37831
|
v(
|
|
37813
37832
|
"轉入處理中 pending",
|
|
37814
37833
|
{
|
|
37815
|
-
type:
|
|
37834
|
+
type: ye.TRANSFER_IN_GAME,
|
|
37816
37835
|
member_info_uid: U,
|
|
37817
|
-
data: { request_id:
|
|
37836
|
+
data: { request_id: tr, status: "pending" }
|
|
37818
37837
|
},
|
|
37819
37838
|
"#f9a825"
|
|
37820
37839
|
),
|
|
37821
37840
|
v(
|
|
37822
37841
|
"轉入完成 success",
|
|
37823
37842
|
{
|
|
37824
|
-
type:
|
|
37843
|
+
type: ye.TRANSFER_IN_GAME,
|
|
37825
37844
|
member_info_uid: U,
|
|
37826
37845
|
data: {
|
|
37827
|
-
request_id:
|
|
37846
|
+
request_id: tr,
|
|
37828
37847
|
status: "success",
|
|
37829
37848
|
amount: 888,
|
|
37830
37849
|
platform: "TEST"
|
|
@@ -37835,7 +37854,7 @@ const j0 = () => {
|
|
|
37835
37854
|
v(
|
|
37836
37855
|
"Socket 錯誤訊息 error",
|
|
37837
37856
|
{
|
|
37838
|
-
type:
|
|
37857
|
+
type: ye.ERROR,
|
|
37839
37858
|
member_info_uid: U,
|
|
37840
37859
|
data: "【測試】Socket 錯誤訊息"
|
|
37841
37860
|
},
|
|
@@ -38011,9 +38030,9 @@ const j0 = () => {
|
|
|
38011
38030
|
]
|
|
38012
38031
|
}
|
|
38013
38032
|
);
|
|
38014
|
-
},
|
|
38033
|
+
}, ep = ({ onFunction: e = () => {
|
|
38015
38034
|
}, buttonProps: t = {} } = {}) => {
|
|
38016
|
-
const { lineConfig: a } = re(), n = se(!1), s = j(a, "liffId", ""), u = new URLSearchParams(window.location.search), b = u.get("line_login"), d = u.get("trans_code"), l = u.get("line_id"), i = u.get("line_name"), r = u.get("invite_code"), { mutate: o, isPending: m } =
|
|
38035
|
+
const { lineConfig: a } = re(), n = se(!1), s = j(a, "liffId", ""), u = new URLSearchParams(window.location.search), b = u.get("line_login"), d = u.get("trans_code"), l = u.get("line_id"), i = u.get("line_name"), r = u.get("invite_code"), { mutate: o, isPending: m } = Sr({
|
|
38017
38036
|
options: {
|
|
38018
38037
|
onSuccess: (p) => {
|
|
38019
38038
|
e(p);
|
|
@@ -38051,20 +38070,20 @@ const j0 = () => {
|
|
|
38051
38070
|
}
|
|
38052
38071
|
) : null;
|
|
38053
38072
|
};
|
|
38054
|
-
var
|
|
38073
|
+
var tu = Object.defineProperty, ii = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable, ir = (e, t, a) => t in e ? tu(e, t, { enumerable: !0, configurable: !0, writable: !0, value: a }) : e[t] = a, xi = (e, t) => {
|
|
38055
38074
|
for (var a in t || (t = {}))
|
|
38056
|
-
|
|
38075
|
+
Kr.call(t, a) && ir(e, a, t[a]);
|
|
38057
38076
|
if (ii)
|
|
38058
38077
|
for (var a of ii(t))
|
|
38059
|
-
|
|
38078
|
+
qr.call(t, a) && ir(e, a, t[a]);
|
|
38060
38079
|
return e;
|
|
38061
38080
|
}, Si = (e, t) => {
|
|
38062
38081
|
var a = {};
|
|
38063
38082
|
for (var n in e)
|
|
38064
|
-
|
|
38083
|
+
Kr.call(e, n) && t.indexOf(n) < 0 && (a[n] = e[n]);
|
|
38065
38084
|
if (e != null && ii)
|
|
38066
38085
|
for (var n of ii(e))
|
|
38067
|
-
t.indexOf(n) < 0 &&
|
|
38086
|
+
t.indexOf(n) < 0 && qr.call(e, n) && (a[n] = e[n]);
|
|
38068
38087
|
return a;
|
|
38069
38088
|
};
|
|
38070
38089
|
var Ma;
|
|
@@ -38603,13 +38622,13 @@ var Ma;
|
|
|
38603
38622
|
})(e.QrSegment || (e.QrSegment = {}));
|
|
38604
38623
|
})(Ma || (Ma = {}));
|
|
38605
38624
|
var Za = Ma;
|
|
38606
|
-
var
|
|
38625
|
+
var iu = {
|
|
38607
38626
|
L: Za.QrCode.Ecc.LOW,
|
|
38608
38627
|
M: Za.QrCode.Ecc.MEDIUM,
|
|
38609
38628
|
Q: Za.QrCode.Ecc.QUARTILE,
|
|
38610
38629
|
H: Za.QrCode.Ecc.HIGH
|
|
38611
|
-
},
|
|
38612
|
-
function
|
|
38630
|
+
}, $r = 128, jr = "L", Qr = "#FFFFFF", Yr = "#000000", Xr = !1, el = 1, nu = 4, ru = 0, lu = 0.1;
|
|
38631
|
+
function al(e, t = 0) {
|
|
38613
38632
|
const a = [];
|
|
38614
38633
|
return e.forEach(function(n, s) {
|
|
38615
38634
|
let u = null;
|
|
@@ -38632,13 +38651,13 @@ function Xr(e, t = 0) {
|
|
|
38632
38651
|
});
|
|
38633
38652
|
}), a.join("");
|
|
38634
38653
|
}
|
|
38635
|
-
function
|
|
38654
|
+
function tl(e, t) {
|
|
38636
38655
|
return e.slice().map((a, n) => n < t.y || n >= t.y + t.h ? a : a.map((s, u) => u < t.x || u >= t.x + t.w ? s : !1));
|
|
38637
38656
|
}
|
|
38638
|
-
function
|
|
38657
|
+
function ou(e, t, a, n) {
|
|
38639
38658
|
if (n == null)
|
|
38640
38659
|
return null;
|
|
38641
|
-
const s = e.length + a * 2, u = Math.floor(t *
|
|
38660
|
+
const s = e.length + a * 2, u = Math.floor(t * lu), b = s / t, d = (n.width || u) * b, l = (n.height || u) * b, i = n.x == null ? e.length / 2 - d / 2 : n.x * b, r = n.y == null ? e.length / 2 - l / 2 : n.y * b, o = n.opacity == null ? 1 : n.opacity;
|
|
38642
38661
|
let m = null;
|
|
38643
38662
|
if (n.excavate) {
|
|
38644
38663
|
let p = Math.floor(i), f = Math.floor(r), y = Math.ceil(d + i - p), _ = Math.ceil(l + r - f);
|
|
@@ -38647,10 +38666,10 @@ function ru(e, t, a, n) {
|
|
|
38647
38666
|
const g = n.crossOrigin;
|
|
38648
38667
|
return { x: i, y: r, h: l, w: d, excavation: m, opacity: o, crossOrigin: g };
|
|
38649
38668
|
}
|
|
38650
|
-
function
|
|
38651
|
-
return t != null ? Math.max(Math.floor(t), 0) : e ?
|
|
38669
|
+
function su(e, t) {
|
|
38670
|
+
return t != null ? Math.max(Math.floor(t), 0) : e ? nu : ru;
|
|
38652
38671
|
}
|
|
38653
|
-
function
|
|
38672
|
+
function il({
|
|
38654
38673
|
value: e,
|
|
38655
38674
|
level: t,
|
|
38656
38675
|
minVersion: a,
|
|
@@ -38664,7 +38683,7 @@ function al({
|
|
|
38664
38683
|
const p = (Array.isArray(e) ? e : [e]).reduce((f, y) => (f.push(...Za.QrSegment.makeSegments(y)), f), []);
|
|
38665
38684
|
return Za.QrCode.encodeSegments(
|
|
38666
38685
|
p,
|
|
38667
|
-
|
|
38686
|
+
iu[t],
|
|
38668
38687
|
a,
|
|
38669
38688
|
void 0,
|
|
38670
38689
|
void 0,
|
|
@@ -38673,7 +38692,7 @@ function al({
|
|
|
38673
38692
|
}, [e, t, a, d]);
|
|
38674
38693
|
const { cells: i, margin: r, numCells: o, calculatedImageSettings: m } = ve.useMemo(() => {
|
|
38675
38694
|
let g = l.getModules();
|
|
38676
|
-
const p =
|
|
38695
|
+
const p = su(n, s), f = g.length + p * 2, y = ou(
|
|
38677
38696
|
g,
|
|
38678
38697
|
b,
|
|
38679
38698
|
p,
|
|
@@ -38694,23 +38713,23 @@ function al({
|
|
|
38694
38713
|
calculatedImageSettings: m
|
|
38695
38714
|
};
|
|
38696
38715
|
}
|
|
38697
|
-
var
|
|
38716
|
+
var mu = (function() {
|
|
38698
38717
|
try {
|
|
38699
38718
|
new Path2D().addPath(new Path2D());
|
|
38700
38719
|
} catch {
|
|
38701
38720
|
return !1;
|
|
38702
38721
|
}
|
|
38703
38722
|
return !0;
|
|
38704
|
-
})(),
|
|
38723
|
+
})(), uu = ve.forwardRef(
|
|
38705
38724
|
function(t, a) {
|
|
38706
38725
|
const n = t, {
|
|
38707
38726
|
value: s,
|
|
38708
|
-
size: u =
|
|
38709
|
-
level: b =
|
|
38710
|
-
bgColor: d =
|
|
38711
|
-
fgColor: l =
|
|
38712
|
-
includeMargin: i =
|
|
38713
|
-
minVersion: r =
|
|
38727
|
+
size: u = $r,
|
|
38728
|
+
level: b = jr,
|
|
38729
|
+
bgColor: d = Qr,
|
|
38730
|
+
fgColor: l = Yr,
|
|
38731
|
+
includeMargin: i = Xr,
|
|
38732
|
+
minVersion: r = el,
|
|
38714
38733
|
boostLevel: o,
|
|
38715
38734
|
marginSize: m,
|
|
38716
38735
|
imageSettings: g
|
|
@@ -38730,7 +38749,7 @@ var ou = (function() {
|
|
|
38730
38749
|
U.current = R, typeof a == "function" ? a(R) : a && (a.current = R);
|
|
38731
38750
|
},
|
|
38732
38751
|
[a]
|
|
38733
|
-
), [T, h] = ve.useState(!1), { margin: D, cells: H, numCells: k, calculatedImageSettings: S } =
|
|
38752
|
+
), [T, h] = ve.useState(!1), { margin: D, cells: H, numCells: k, calculatedImageSettings: S } = il({
|
|
38734
38753
|
value: s,
|
|
38735
38754
|
level: b,
|
|
38736
38755
|
minVersion: r,
|
|
@@ -38747,14 +38766,14 @@ var ou = (function() {
|
|
|
38747
38766
|
return;
|
|
38748
38767
|
let G = H;
|
|
38749
38768
|
const I = C.current, W = S != null && I !== null && I.complete && I.naturalHeight !== 0 && I.naturalWidth !== 0;
|
|
38750
|
-
W && S.excavation != null && (G =
|
|
38769
|
+
W && S.excavation != null && (G = tl(
|
|
38751
38770
|
H,
|
|
38752
38771
|
S.excavation
|
|
38753
38772
|
));
|
|
38754
38773
|
const O = window.devicePixelRatio || 1;
|
|
38755
38774
|
R.height = R.width = u * O;
|
|
38756
38775
|
const z = u / k * O;
|
|
38757
|
-
L.scale(z, z), L.fillStyle = d, L.fillRect(0, 0, k, k), L.fillStyle = l,
|
|
38776
|
+
L.scale(z, z), L.fillStyle = d, L.fillRect(0, 0, k, k), L.fillStyle = l, mu ? L.fill(new Path2D(al(G, D))) : H.forEach(function(N, E) {
|
|
38758
38777
|
N.forEach(function(F, w) {
|
|
38759
38778
|
F && L.fillRect(w + D, E + D, 1, 1);
|
|
38760
38779
|
});
|
|
@@ -38795,17 +38814,17 @@ var ou = (function() {
|
|
|
38795
38814
|
), P);
|
|
38796
38815
|
}
|
|
38797
38816
|
);
|
|
38798
|
-
|
|
38799
|
-
var
|
|
38817
|
+
uu.displayName = "QRCodeCanvas";
|
|
38818
|
+
var nl = ve.forwardRef(
|
|
38800
38819
|
function(t, a) {
|
|
38801
38820
|
const n = t, {
|
|
38802
38821
|
value: s,
|
|
38803
|
-
size: u =
|
|
38804
|
-
level: b =
|
|
38805
|
-
bgColor: d =
|
|
38806
|
-
fgColor: l =
|
|
38807
|
-
includeMargin: i =
|
|
38808
|
-
minVersion: r =
|
|
38822
|
+
size: u = $r,
|
|
38823
|
+
level: b = jr,
|
|
38824
|
+
bgColor: d = Qr,
|
|
38825
|
+
fgColor: l = Yr,
|
|
38826
|
+
includeMargin: i = Xr,
|
|
38827
|
+
minVersion: r = el,
|
|
38809
38828
|
boostLevel: o,
|
|
38810
38829
|
title: m,
|
|
38811
38830
|
marginSize: g,
|
|
@@ -38822,7 +38841,7 @@ var tl = ve.forwardRef(
|
|
|
38822
38841
|
"title",
|
|
38823
38842
|
"marginSize",
|
|
38824
38843
|
"imageSettings"
|
|
38825
|
-
]), { margin: y, cells: _, numCells: c, calculatedImageSettings: U } =
|
|
38844
|
+
]), { margin: y, cells: _, numCells: c, calculatedImageSettings: U } = il({
|
|
38826
38845
|
value: s,
|
|
38827
38846
|
level: b,
|
|
38828
38847
|
minVersion: r,
|
|
@@ -38833,7 +38852,7 @@ var tl = ve.forwardRef(
|
|
|
38833
38852
|
size: u
|
|
38834
38853
|
});
|
|
38835
38854
|
let C = _, v = null;
|
|
38836
|
-
p != null && U != null && (U.excavation != null && (C =
|
|
38855
|
+
p != null && U != null && (U.excavation != null && (C = tl(
|
|
38837
38856
|
_,
|
|
38838
38857
|
U.excavation
|
|
38839
38858
|
)), v = /* @__PURE__ */ ve.createElement(
|
|
@@ -38849,7 +38868,7 @@ var tl = ve.forwardRef(
|
|
|
38849
38868
|
crossOrigin: U.crossOrigin
|
|
38850
38869
|
}
|
|
38851
38870
|
));
|
|
38852
|
-
const T =
|
|
38871
|
+
const T = al(C, y);
|
|
38853
38872
|
return /* @__PURE__ */ ve.createElement(
|
|
38854
38873
|
"svg",
|
|
38855
38874
|
xi({
|
|
@@ -38873,8 +38892,8 @@ var tl = ve.forwardRef(
|
|
|
38873
38892
|
);
|
|
38874
38893
|
}
|
|
38875
38894
|
);
|
|
38876
|
-
|
|
38877
|
-
const
|
|
38895
|
+
nl.displayName = "QRCodeSVG";
|
|
38896
|
+
const pu = {
|
|
38878
38897
|
position: "fixed",
|
|
38879
38898
|
top: 0,
|
|
38880
38899
|
left: 0,
|
|
@@ -38887,7 +38906,7 @@ const mu = {
|
|
|
38887
38906
|
justifyContent: "center",
|
|
38888
38907
|
zIndex: 1e4,
|
|
38889
38908
|
gap: "2em"
|
|
38890
|
-
},
|
|
38909
|
+
}, gu = {
|
|
38891
38910
|
position: "absolute",
|
|
38892
38911
|
top: "20px",
|
|
38893
38912
|
right: "20px",
|
|
@@ -38897,7 +38916,7 @@ const mu = {
|
|
|
38897
38916
|
padding: "10px",
|
|
38898
38917
|
lineHeight: "1",
|
|
38899
38918
|
zIndex: 10001
|
|
38900
|
-
},
|
|
38919
|
+
}, nr = {
|
|
38901
38920
|
zh_TW: {
|
|
38902
38921
|
title: "請使用 LINE 掃描 QR Code 登入",
|
|
38903
38922
|
expired: "QR Code 已過期"
|
|
@@ -38918,8 +38937,8 @@ const mu = {
|
|
|
38918
38937
|
title: "Silakan gunakan LINE untuk memindai Kode QR untuk masuk",
|
|
38919
38938
|
expired: "Kode QR telah kedaluwarsa"
|
|
38920
38939
|
}
|
|
38921
|
-
},
|
|
38922
|
-
const { lng: n, getToken: s, lineConfig: u } = re(), [b, d] =
|
|
38940
|
+
}, ip = ({ forcedShow: e = !1, isVisible: t, setIsVisible: a } = {}) => {
|
|
38941
|
+
const { lng: n, getToken: s, lineConfig: u } = re(), [b, d] = Qe(300), [l, i] = Qe(!1), r = se(null), o = j(u, "liffId", ""), m = Ve(n), g = s?.(), f = new URLSearchParams(window.location.search).get("mac") || Ci.get("machine_mac_address") || "", { data: y, isFetching: _ } = Es({
|
|
38923
38942
|
formData: {
|
|
38924
38943
|
mac_address: f
|
|
38925
38944
|
},
|
|
@@ -38939,12 +38958,12 @@ const mu = {
|
|
|
38939
38958
|
return `${T}:${h < 10 ? "0" : ""}${h}`;
|
|
38940
38959
|
};
|
|
38941
38960
|
if (!e && (!f || g)) return null;
|
|
38942
|
-
const C =
|
|
38943
|
-
return t && /* @__PURE__ */ te.jsxs("div", { style:
|
|
38961
|
+
const C = nr[m] || nr.en_US;
|
|
38962
|
+
return t && /* @__PURE__ */ te.jsxs("div", { style: pu, children: [
|
|
38944
38963
|
/* @__PURE__ */ te.jsx(
|
|
38945
38964
|
"div",
|
|
38946
38965
|
{
|
|
38947
|
-
style:
|
|
38966
|
+
style: gu,
|
|
38948
38967
|
onClick: () => a(!1),
|
|
38949
38968
|
role: "button",
|
|
38950
38969
|
"aria-label": "Close",
|
|
@@ -38967,7 +38986,7 @@ const mu = {
|
|
|
38967
38986
|
boxSizing: "border-box",
|
|
38968
38987
|
color: "black"
|
|
38969
38988
|
},
|
|
38970
|
-
children: _ ? "Loading..." : /* @__PURE__ */ te.jsx(
|
|
38989
|
+
children: _ ? "Loading..." : /* @__PURE__ */ te.jsx(nl, { width: "100%", height: "100%", value: c })
|
|
38971
38990
|
}
|
|
38972
38991
|
),
|
|
38973
38992
|
!_ && /* @__PURE__ */ te.jsx(
|
|
@@ -38983,14 +39002,14 @@ const mu = {
|
|
|
38983
39002
|
)
|
|
38984
39003
|
] })
|
|
38985
39004
|
] });
|
|
38986
|
-
},
|
|
39005
|
+
}, rr = {
|
|
38987
39006
|
siteName: /\{siteName\}/g,
|
|
38988
39007
|
siteUrl: /\{siteUrl\}/g
|
|
38989
39008
|
}, bi = (e, t = {}) => {
|
|
38990
39009
|
if (typeof e != "string") return e;
|
|
38991
39010
|
const { siteName: a = "", siteUrl: n = "" } = typeof t == "string" ? { siteName: t } : t;
|
|
38992
|
-
return e.replace(
|
|
38993
|
-
},
|
|
39011
|
+
return e.replace(rr.siteName, a).replace(rr.siteUrl, n);
|
|
39012
|
+
}, lr = {
|
|
38994
39013
|
zh_TW: {
|
|
38995
39014
|
tabs: { privacy: "隱私條款", terms: "服務條款" },
|
|
38996
39015
|
close: "關閉",
|
|
@@ -39440,7 +39459,7 @@ const mu = {
|
|
|
39440
39459
|
]
|
|
39441
39460
|
}
|
|
39442
39461
|
}
|
|
39443
|
-
},
|
|
39462
|
+
}, du = (e) => lr[e] || lr.zh_TW, or = ["privacy", "terms"], je = {
|
|
39444
39463
|
overlay: "rgba(0, 0, 0, 0.72)",
|
|
39445
39464
|
cardBg: "#1b1b22",
|
|
39446
39465
|
border: "#2c2c36",
|
|
@@ -39451,7 +39470,7 @@ const mu = {
|
|
|
39451
39470
|
accent: "#8b9cff",
|
|
39452
39471
|
tabActive: "#ffffff",
|
|
39453
39472
|
tabInactive: "#8a8a94"
|
|
39454
|
-
},
|
|
39473
|
+
}, np = ({
|
|
39455
39474
|
open: e = !1,
|
|
39456
39475
|
onOpenChange: t,
|
|
39457
39476
|
siteName: a = "",
|
|
@@ -39462,7 +39481,7 @@ const mu = {
|
|
|
39462
39481
|
overlayStyle: d = {},
|
|
39463
39482
|
contentStyle: l = {}
|
|
39464
39483
|
}) => {
|
|
39465
|
-
const i = re(), r = u ?? i?.lng, o = Ve(r), m =
|
|
39484
|
+
const i = re(), r = u ?? i?.lng, o = Ve(r), m = du(o), g = { siteName: a, siteUrl: n }, p = or.includes(s) ? s : "privacy", [f, y] = Qe(p), [_, c] = Qe(e);
|
|
39466
39485
|
if (e !== _ && (c(e), e && y(p)), ce(() => {
|
|
39467
39486
|
if (!e) return;
|
|
39468
39487
|
const v = (h) => {
|
|
@@ -39489,7 +39508,7 @@ const mu = {
|
|
|
39489
39508
|
display: "flex",
|
|
39490
39509
|
alignItems: "center",
|
|
39491
39510
|
justifyContent: "center",
|
|
39492
|
-
background:
|
|
39511
|
+
background: je.overlay,
|
|
39493
39512
|
backdropFilter: "blur(2px)",
|
|
39494
39513
|
padding: 16,
|
|
39495
39514
|
boxSizing: "border-box",
|
|
@@ -39505,10 +39524,10 @@ const mu = {
|
|
|
39505
39524
|
maxHeight: "85vh",
|
|
39506
39525
|
display: "flex",
|
|
39507
39526
|
flexDirection: "column",
|
|
39508
|
-
background:
|
|
39509
|
-
color:
|
|
39527
|
+
background: je.cardBg,
|
|
39528
|
+
color: je.body,
|
|
39510
39529
|
borderRadius: 12,
|
|
39511
|
-
border: `1px solid ${
|
|
39530
|
+
border: `1px solid ${je.border}`,
|
|
39512
39531
|
overflow: "hidden",
|
|
39513
39532
|
boxShadow: "0 16px 48px rgba(0, 0, 0, 0.6)",
|
|
39514
39533
|
...l
|
|
@@ -39520,17 +39539,17 @@ const mu = {
|
|
|
39520
39539
|
style: {
|
|
39521
39540
|
display: "flex",
|
|
39522
39541
|
alignItems: "stretch",
|
|
39523
|
-
borderBottom: `1px solid ${
|
|
39542
|
+
borderBottom: `1px solid ${je.border}`,
|
|
39524
39543
|
flexShrink: 0
|
|
39525
39544
|
},
|
|
39526
39545
|
children: [
|
|
39527
|
-
|
|
39546
|
+
or.map((v) => {
|
|
39528
39547
|
const T = f === v ? {
|
|
39529
|
-
color:
|
|
39548
|
+
color: je.tabActive,
|
|
39530
39549
|
fontWeight: 700,
|
|
39531
|
-
borderBottom: `2px solid ${
|
|
39550
|
+
borderBottom: `2px solid ${je.accent}`
|
|
39532
39551
|
} : {
|
|
39533
|
-
color:
|
|
39552
|
+
color: je.tabInactive,
|
|
39534
39553
|
fontWeight: 500,
|
|
39535
39554
|
borderBottom: "2px solid transparent"
|
|
39536
39555
|
};
|
|
@@ -39565,7 +39584,7 @@ const mu = {
|
|
|
39565
39584
|
border: "none",
|
|
39566
39585
|
cursor: "pointer",
|
|
39567
39586
|
fontSize: 20,
|
|
39568
|
-
color:
|
|
39587
|
+
color: je.muted
|
|
39569
39588
|
},
|
|
39570
39589
|
children: "✕"
|
|
39571
39590
|
}
|
|
@@ -39574,8 +39593,8 @@ const mu = {
|
|
|
39574
39593
|
}
|
|
39575
39594
|
),
|
|
39576
39595
|
/* @__PURE__ */ te.jsxs("div", { style: { padding: 20, overflowY: "auto" }, children: [
|
|
39577
|
-
/* @__PURE__ */ te.jsx("h2", { style: { margin: "0 0 4px", fontSize: 20, color:
|
|
39578
|
-
U?.updatedAt && /* @__PURE__ */ te.jsxs("p", { style: { margin: "0 0 16px", fontSize: 12, color:
|
|
39596
|
+
/* @__PURE__ */ te.jsx("h2", { style: { margin: "0 0 4px", fontSize: 20, color: je.title }, children: bi(U?.title, g) }),
|
|
39597
|
+
U?.updatedAt && /* @__PURE__ */ te.jsxs("p", { style: { margin: "0 0 16px", fontSize: 12, color: je.muted }, children: [
|
|
39579
39598
|
m.updatedLabel,
|
|
39580
39599
|
":",
|
|
39581
39600
|
U.updatedAt
|
|
@@ -39588,7 +39607,7 @@ const mu = {
|
|
|
39588
39607
|
margin: "0 0 6px",
|
|
39589
39608
|
fontSize: 15,
|
|
39590
39609
|
fontWeight: 700,
|
|
39591
|
-
color:
|
|
39610
|
+
color: je.heading
|
|
39592
39611
|
},
|
|
39593
39612
|
children: bi(v.heading, g)
|
|
39594
39613
|
}
|
|
@@ -39600,7 +39619,7 @@ const mu = {
|
|
|
39600
39619
|
margin: "0 0 8px",
|
|
39601
39620
|
fontSize: 13,
|
|
39602
39621
|
lineHeight: 1.8,
|
|
39603
|
-
color:
|
|
39622
|
+
color: je.body
|
|
39604
39623
|
},
|
|
39605
39624
|
children: bi(h, g)
|
|
39606
39625
|
},
|
|
@@ -39613,183 +39632,183 @@ const mu = {
|
|
|
39613
39632
|
)
|
|
39614
39633
|
}
|
|
39615
39634
|
);
|
|
39616
|
-
},
|
|
39617
|
-
const [t, a] =
|
|
39635
|
+
}, rp = (e = !1) => {
|
|
39636
|
+
const [t, a] = Qe(e), n = M(() => a(!0), []), s = M(() => a(!1), []), u = M(() => a((d) => !d), []), b = M((d) => a(!!d), []);
|
|
39618
39637
|
return { open: t, setOpen: a, onOpen: n, onClose: s, onToggle: u, onOpenChange: b };
|
|
39619
39638
|
};
|
|
39620
39639
|
export {
|
|
39621
|
-
|
|
39622
|
-
|
|
39623
|
-
|
|
39624
|
-
|
|
39625
|
-
|
|
39626
|
-
|
|
39640
|
+
pr as ApiCtx,
|
|
39641
|
+
Q0 as ApiProvider,
|
|
39642
|
+
Y0 as Bind,
|
|
39643
|
+
yr as GamesInfoCtx,
|
|
39644
|
+
ep as LineLogin,
|
|
39645
|
+
ip as LineQrCode,
|
|
39627
39646
|
Ai as MONTH_CARD_QUERY_KEY,
|
|
39628
|
-
|
|
39647
|
+
ye as SOCKET_TYPE,
|
|
39629
39648
|
it as STATUS_TYPES,
|
|
39630
|
-
|
|
39631
|
-
|
|
39632
|
-
|
|
39633
|
-
|
|
39634
|
-
|
|
39635
|
-
|
|
39636
|
-
|
|
39637
|
-
|
|
39638
|
-
|
|
39639
|
-
|
|
39649
|
+
gr as StatusContext,
|
|
39650
|
+
vl as StatusProvider,
|
|
39651
|
+
np as TermsDialog,
|
|
39652
|
+
X0 as WebSocketDevPanel,
|
|
39653
|
+
Dl as buildGameImageSources,
|
|
39654
|
+
Zm as buildMultiTypes,
|
|
39655
|
+
$0 as buildMultiTypesWithSubTypes,
|
|
39656
|
+
Ml as buildSinglePlatformWithSubTypes,
|
|
39657
|
+
Gl as buildSingleType,
|
|
39658
|
+
Jm as categorizeGames,
|
|
39640
39659
|
Ve as convertLanguageCode,
|
|
39641
|
-
|
|
39660
|
+
Nl as convertLanguageGameCode,
|
|
39642
39661
|
nt as correctViewportDrift,
|
|
39643
|
-
|
|
39644
|
-
|
|
39645
|
-
|
|
39646
|
-
|
|
39647
|
-
|
|
39648
|
-
|
|
39649
|
-
|
|
39650
|
-
|
|
39651
|
-
|
|
39652
|
-
|
|
39653
|
-
|
|
39654
|
-
|
|
39655
|
-
|
|
39656
|
-
|
|
39657
|
-
|
|
39658
|
-
|
|
39659
|
-
|
|
39660
|
-
|
|
39661
|
-
|
|
39662
|
+
vu as createLogoutHandler,
|
|
39663
|
+
zm as extractGameSubTypeNames,
|
|
39664
|
+
Im as extractGameTypeNames,
|
|
39665
|
+
ar as extractPlatformNames,
|
|
39666
|
+
vr as filterGamesByPlatform,
|
|
39667
|
+
br as findGameTypeUid,
|
|
39668
|
+
Ur as findPlatformUid,
|
|
39669
|
+
Cr as findSubPlatform,
|
|
39670
|
+
Wm as flattenAllGames,
|
|
39671
|
+
Vm as flattenFavoriteGames,
|
|
39672
|
+
hu as formatNumber,
|
|
39673
|
+
du as getTermsContent,
|
|
39674
|
+
Cu as getViewportFixReport,
|
|
39675
|
+
Km as groupGamesByPlatform,
|
|
39676
|
+
qm as groupGamesByPlatformAndSubType,
|
|
39677
|
+
Ll as groupGamesBySubType,
|
|
39678
|
+
Hm as handleDarkImage,
|
|
39679
|
+
Ym as initMockWindowData,
|
|
39680
|
+
Sl as installStandaloneViewportFix,
|
|
39662
39681
|
bi as interpolate,
|
|
39663
|
-
|
|
39664
|
-
|
|
39665
|
-
|
|
39666
|
-
|
|
39667
|
-
|
|
39668
|
-
|
|
39682
|
+
kl as isStandaloneDisplay,
|
|
39683
|
+
$m as processGameInfo,
|
|
39684
|
+
j0 as processPlatformData,
|
|
39685
|
+
Ls as resolveGameMaintainDisplay,
|
|
39686
|
+
l0 as useAbandonEventWallet,
|
|
39687
|
+
Lu as useAbandonPoint,
|
|
39669
39688
|
re as useApiContext,
|
|
39670
|
-
|
|
39671
|
-
|
|
39672
|
-
|
|
39673
|
-
|
|
39674
|
-
|
|
39675
|
-
|
|
39676
|
-
|
|
39677
|
-
|
|
39678
|
-
|
|
39679
|
-
|
|
39680
|
-
|
|
39681
|
-
|
|
39682
|
-
|
|
39683
|
-
|
|
39684
|
-
|
|
39685
|
-
|
|
39686
|
-
|
|
39687
|
-
|
|
39688
|
-
|
|
39689
|
-
|
|
39690
|
-
|
|
39691
|
-
|
|
39692
|
-
|
|
39693
|
-
|
|
39694
|
-
|
|
39695
|
-
|
|
39696
|
-
|
|
39697
|
-
|
|
39698
|
-
|
|
39699
|
-
|
|
39700
|
-
|
|
39701
|
-
|
|
39702
|
-
|
|
39703
|
-
|
|
39704
|
-
|
|
39705
|
-
|
|
39706
|
-
|
|
39707
|
-
|
|
39708
|
-
|
|
39709
|
-
|
|
39710
|
-
|
|
39711
|
-
|
|
39712
|
-
|
|
39713
|
-
|
|
39714
|
-
|
|
39715
|
-
|
|
39716
|
-
|
|
39717
|
-
|
|
39718
|
-
|
|
39719
|
-
|
|
39720
|
-
|
|
39721
|
-
|
|
39722
|
-
|
|
39723
|
-
|
|
39724
|
-
|
|
39725
|
-
|
|
39726
|
-
|
|
39727
|
-
|
|
39728
|
-
|
|
39729
|
-
|
|
39730
|
-
|
|
39731
|
-
|
|
39732
|
-
|
|
39733
|
-
|
|
39734
|
-
|
|
39735
|
-
|
|
39736
|
-
|
|
39737
|
-
|
|
39738
|
-
|
|
39739
|
-
|
|
39740
|
-
|
|
39741
|
-
|
|
39742
|
-
|
|
39743
|
-
|
|
39744
|
-
|
|
39745
|
-
|
|
39746
|
-
|
|
39747
|
-
|
|
39748
|
-
|
|
39749
|
-
|
|
39750
|
-
|
|
39751
|
-
|
|
39752
|
-
|
|
39753
|
-
|
|
39754
|
-
|
|
39755
|
-
|
|
39756
|
-
|
|
39757
|
-
|
|
39758
|
-
|
|
39759
|
-
|
|
39760
|
-
|
|
39761
|
-
|
|
39762
|
-
|
|
39763
|
-
|
|
39764
|
-
|
|
39765
|
-
|
|
39766
|
-
|
|
39767
|
-
|
|
39768
|
-
|
|
39769
|
-
|
|
39770
|
-
|
|
39771
|
-
|
|
39772
|
-
|
|
39773
|
-
|
|
39774
|
-
|
|
39775
|
-
|
|
39776
|
-
|
|
39777
|
-
|
|
39778
|
-
|
|
39779
|
-
|
|
39780
|
-
|
|
39781
|
-
|
|
39782
|
-
|
|
39783
|
-
|
|
39784
|
-
|
|
39785
|
-
|
|
39786
|
-
|
|
39787
|
-
|
|
39788
|
-
|
|
39789
|
-
|
|
39790
|
-
|
|
39791
|
-
|
|
39792
|
-
|
|
39793
|
-
|
|
39794
|
-
|
|
39689
|
+
Ku as useAvatarList,
|
|
39690
|
+
Tu as useBalanceGetter,
|
|
39691
|
+
Su as useBet,
|
|
39692
|
+
Zu as useBetRankingData,
|
|
39693
|
+
jo as useBetRecord,
|
|
39694
|
+
Qo as useBetRecordDetail,
|
|
39695
|
+
Ds as useBindAccount,
|
|
39696
|
+
Ps as useCheckCurrentEventProgress,
|
|
39697
|
+
ws as useCheckEventStatus,
|
|
39698
|
+
Ru as useCheckMemberTransfer,
|
|
39699
|
+
Bu as useCheckMobile,
|
|
39700
|
+
Nu as useCheckPlayerWager,
|
|
39701
|
+
ju as useClientWebSocket,
|
|
39702
|
+
Qu as useCommission,
|
|
39703
|
+
Ms as useCommissionInfo,
|
|
39704
|
+
gm as useCompanyPaymentDepositAction,
|
|
39705
|
+
zu as useCreateMachine,
|
|
39706
|
+
H0 as useCreateStoreOrder,
|
|
39707
|
+
xm as useCurrentRebate,
|
|
39708
|
+
om as useDepositAction,
|
|
39709
|
+
mm as useDepositTransaction,
|
|
39710
|
+
rm as useDepositV1,
|
|
39711
|
+
lm as useDepositV2,
|
|
39712
|
+
b0 as useDepositWalletLog,
|
|
39713
|
+
rp as useDisclosure,
|
|
39714
|
+
i0 as useEnabledEventWallet,
|
|
39715
|
+
n0 as useEvaluateEventWallet,
|
|
39716
|
+
a0 as useEvent,
|
|
39717
|
+
Rs as useEventList,
|
|
39718
|
+
um as useEventTransaction,
|
|
39719
|
+
C0 as useEventWalletLog,
|
|
39720
|
+
Lm as useExpiredRewardsList,
|
|
39721
|
+
Ou as useForgotPassword,
|
|
39722
|
+
K0 as useGameConfig,
|
|
39723
|
+
Uu as useGameInfoContext,
|
|
39724
|
+
Qm as useGamesInfo,
|
|
39725
|
+
o0 as useGetAnnouncement,
|
|
39726
|
+
s0 as useGetCarouseList,
|
|
39727
|
+
t0 as useGetEventWalletList,
|
|
39728
|
+
Es as useGetMachineLoginCode,
|
|
39729
|
+
m0 as useGetMarquee,
|
|
39730
|
+
ku as useGetMemberInfo,
|
|
39731
|
+
u0 as useGetRankingGame,
|
|
39732
|
+
Gm as useHistoryRewardsList,
|
|
39733
|
+
p0 as useIdleTimeout,
|
|
39734
|
+
g0 as useInbox,
|
|
39735
|
+
tm as useInboxList,
|
|
39736
|
+
xu as useInitializeWithToken,
|
|
39737
|
+
_0 as useInvoiceAction,
|
|
39738
|
+
Ju as useJackpotData,
|
|
39739
|
+
Sr as useLineLogin,
|
|
39740
|
+
Ss as useLineLogin2,
|
|
39741
|
+
ds as useLogin,
|
|
39742
|
+
cs as useLogout,
|
|
39743
|
+
Gu as useMachineLogin,
|
|
39744
|
+
e0 as useMemberEventSettle,
|
|
39745
|
+
Cs as useMemberInitSet,
|
|
39746
|
+
Mu as useMemberTransfer,
|
|
39747
|
+
Au as useMobileByPassword,
|
|
39748
|
+
Pu as useMobileLogin,
|
|
39749
|
+
wu as useMobileLoginV2,
|
|
39750
|
+
Fu as useMobileRegister,
|
|
39751
|
+
Eu as useMonthCard,
|
|
39752
|
+
ps as useMonthCardInfo,
|
|
39753
|
+
c0 as useNewsDetail,
|
|
39754
|
+
d0 as useNewsList,
|
|
39755
|
+
k0 as useOtherTransaction,
|
|
39756
|
+
x0 as usePayment,
|
|
39757
|
+
q0 as usePlatformConfig,
|
|
39758
|
+
S0 as usePlayGame,
|
|
39759
|
+
Du as usePointTransfer,
|
|
39760
|
+
im as useReadInbox,
|
|
39761
|
+
E0 as useRebate,
|
|
39762
|
+
v0 as useRebateWalletLog,
|
|
39763
|
+
Sm as useReceiveRebate,
|
|
39764
|
+
f0 as useRedeemCodeDeposit,
|
|
39765
|
+
Yu as useRedeemEventReward,
|
|
39766
|
+
Dm as useRedeemReward,
|
|
39767
|
+
L0 as useRedeemRoulettes,
|
|
39768
|
+
z0 as useRedeemTreasure,
|
|
39769
|
+
Us as useResetUserPassword,
|
|
39770
|
+
hs as useResetUserTransactionPassword,
|
|
39771
|
+
D0 as useRewards,
|
|
39772
|
+
Em as useRewardsList,
|
|
39773
|
+
G0 as useRoulettesDrawLog,
|
|
39774
|
+
N0 as useRoulettesList,
|
|
39775
|
+
Hu as useSendMobileVerifyCode,
|
|
39776
|
+
vs as useSetUserTransactionPassword,
|
|
39777
|
+
Xu as useSettleEvent,
|
|
39778
|
+
r0 as useSettleEventWallet,
|
|
39779
|
+
fs as useSignUp,
|
|
39780
|
+
T0 as useSnCashRecord,
|
|
39781
|
+
dr as useStatus,
|
|
39782
|
+
F0 as useStoreCoinBalance,
|
|
39783
|
+
A0 as useStoreCoinLog,
|
|
39784
|
+
M0 as useStoreConfig,
|
|
39785
|
+
B0 as useStoreOrderDetail,
|
|
39786
|
+
O0 as useStoreOrderList,
|
|
39787
|
+
w0 as useStoreProductDetail,
|
|
39788
|
+
P0 as useStoreProductList,
|
|
39789
|
+
R0 as useStoreProductType,
|
|
39790
|
+
_s as useToggleFavoriteGame,
|
|
39791
|
+
xs as useTransferInGame,
|
|
39792
|
+
I0 as useTreasureList,
|
|
39793
|
+
h0 as useTreasureWalletLog,
|
|
39794
|
+
Nm as useUnUsedRewardsList,
|
|
39795
|
+
qu as useUpdateAvatar,
|
|
39796
|
+
y0 as useUpdateInvoiceAction,
|
|
39797
|
+
bs as useUpdateMemberInfo,
|
|
39798
|
+
W0 as useUpdateStoreOrder,
|
|
39799
|
+
ys as useUpdateUserInfo,
|
|
39800
|
+
$u as useUser,
|
|
39801
|
+
ks as useUserBindCard,
|
|
39802
|
+
Ts as useUserRebate,
|
|
39803
|
+
Iu as useVerifyDonationCode,
|
|
39804
|
+
Wu as useVerifyPhoneBar,
|
|
39805
|
+
Vu as useVerifyResetAction,
|
|
39806
|
+
J0 as useVip,
|
|
39807
|
+
V0 as useVipInfo,
|
|
39808
|
+
Bm as useVipList,
|
|
39809
|
+
Z0 as useWebView2,
|
|
39810
|
+
sm as useWithdrawAction,
|
|
39811
|
+
gs as useWithdrawMonthCard,
|
|
39812
|
+
dm as useWithdrawTransaction,
|
|
39813
|
+
U0 as useWithdrawWalletLog
|
|
39795
39814
|
};
|