@obb871001/api-integration-sdk 1.0.402 → 1.0.404
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 +8 -8
- package/dist/index.js +646 -630
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import fe, { createContext as jt, useContext as _i, useState as at, useMemo as Ha, useCallback as H, useRef as
|
|
1
|
+
import fe, { createContext as jt, useContext as _i, useState as at, useMemo as Ha, useCallback as H, useRef as ie, useEffect as ue } from "react";
|
|
2
2
|
import { useQueries as In, useQuery as Q, useQueryClient as xa, useMutation as ee, QueryClient as Wr, QueryClientProvider as zr } from "@tanstack/react-query";
|
|
3
3
|
import Ir from "axios";
|
|
4
|
-
import { get as j, isEmpty as
|
|
4
|
+
import { get as j, isEmpty as Re, find as We, entries as Vn, forEach as Vr, map as Se, isArray as Ye, toLower as Ni, omit as Jr, keyBy as Zr, replace as rt, includes as Kr, isObject as Yt, flatMap as Xt, values as qr, keys as Li } from "lodash";
|
|
5
5
|
import $r from "react-dom";
|
|
6
6
|
var ii = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7
7
|
function yi(e) {
|
|
@@ -60,16 +60,16 @@ function Yr() {
|
|
|
60
60
|
var y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
61
61
|
function f(k) {
|
|
62
62
|
{
|
|
63
|
-
for (var I = arguments.length,
|
|
64
|
-
|
|
65
|
-
b("error", k,
|
|
63
|
+
for (var I = arguments.length, K = new Array(I > 1 ? I - 1 : 0), X = 1; X < I; X++)
|
|
64
|
+
K[X - 1] = arguments[X];
|
|
65
|
+
b("error", k, K);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
function b(k, I,
|
|
68
|
+
function b(k, I, K) {
|
|
69
69
|
{
|
|
70
|
-
var
|
|
71
|
-
me !== "" && (I += "%s",
|
|
72
|
-
var de =
|
|
70
|
+
var X = y.ReactDebugCurrentFrame, me = X.getStackAddendum();
|
|
71
|
+
me !== "" && (I += "%s", K = K.concat([me]));
|
|
72
|
+
var de = K.map(function(oe) {
|
|
73
73
|
return String(oe);
|
|
74
74
|
});
|
|
75
75
|
de.unshift("Warning: " + I), Function.prototype.apply.call(console[k], console, de);
|
|
@@ -84,12 +84,12 @@ function Yr() {
|
|
|
84
84
|
// with.
|
|
85
85
|
k.$$typeof === A || k.getModuleId !== void 0));
|
|
86
86
|
}
|
|
87
|
-
function S(k, I,
|
|
88
|
-
var
|
|
89
|
-
if (
|
|
90
|
-
return
|
|
87
|
+
function S(k, I, K) {
|
|
88
|
+
var X = k.displayName;
|
|
89
|
+
if (X)
|
|
90
|
+
return X;
|
|
91
91
|
var me = I.displayName || I.name || "";
|
|
92
|
-
return me !== "" ?
|
|
92
|
+
return me !== "" ? K + "(" + me + ")" : K;
|
|
93
93
|
}
|
|
94
94
|
function F(k) {
|
|
95
95
|
return k.displayName || "Context";
|
|
@@ -121,13 +121,13 @@ function Yr() {
|
|
|
121
121
|
var I = k;
|
|
122
122
|
return F(I) + ".Consumer";
|
|
123
123
|
case U:
|
|
124
|
-
var
|
|
125
|
-
return F(
|
|
124
|
+
var K = k;
|
|
125
|
+
return F(K._context) + ".Provider";
|
|
126
126
|
case l:
|
|
127
127
|
return S(k, k.render, "ForwardRef");
|
|
128
128
|
case o:
|
|
129
|
-
var
|
|
130
|
-
return
|
|
129
|
+
var X = k.displayName || null;
|
|
130
|
+
return X !== null ? X : P(k.type) || "Memo";
|
|
131
131
|
case s: {
|
|
132
132
|
var me = k, de = me._payload, oe = me._init;
|
|
133
133
|
try {
|
|
@@ -166,7 +166,7 @@ function Yr() {
|
|
|
166
166
|
R++;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
|
-
function
|
|
169
|
+
function J() {
|
|
170
170
|
{
|
|
171
171
|
if (R--, R === 0) {
|
|
172
172
|
var k = {
|
|
@@ -201,39 +201,39 @@ function Yr() {
|
|
|
201
201
|
R < 0 && f("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
|
-
var
|
|
205
|
-
function
|
|
204
|
+
var q = y.ReactCurrentDispatcher, $;
|
|
205
|
+
function V(k, I, K) {
|
|
206
206
|
{
|
|
207
|
-
if (
|
|
207
|
+
if ($ === void 0)
|
|
208
208
|
try {
|
|
209
209
|
throw Error();
|
|
210
210
|
} catch (me) {
|
|
211
|
-
var
|
|
212
|
-
|
|
211
|
+
var X = me.stack.trim().match(/\n( *(at )?)/);
|
|
212
|
+
$ = X && X[1] || "";
|
|
213
213
|
}
|
|
214
214
|
return `
|
|
215
|
-
` +
|
|
215
|
+
` + $ + k;
|
|
216
216
|
}
|
|
217
217
|
}
|
|
218
|
-
var
|
|
218
|
+
var Y = !1, ae;
|
|
219
219
|
{
|
|
220
|
-
var
|
|
221
|
-
|
|
220
|
+
var be = typeof WeakMap == "function" ? WeakMap : Map;
|
|
221
|
+
ae = new be();
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
if (!k ||
|
|
223
|
+
function Ce(k, I) {
|
|
224
|
+
if (!k || Y)
|
|
225
225
|
return "";
|
|
226
226
|
{
|
|
227
|
-
var
|
|
228
|
-
if (
|
|
229
|
-
return
|
|
227
|
+
var K = ae.get(k);
|
|
228
|
+
if (K !== void 0)
|
|
229
|
+
return K;
|
|
230
230
|
}
|
|
231
|
-
var
|
|
232
|
-
|
|
231
|
+
var X;
|
|
232
|
+
Y = !0;
|
|
233
233
|
var me = Error.prepareStackTrace;
|
|
234
234
|
Error.prepareStackTrace = void 0;
|
|
235
235
|
var de;
|
|
236
|
-
de =
|
|
236
|
+
de = q.current, q.current = null, N();
|
|
237
237
|
try {
|
|
238
238
|
if (I) {
|
|
239
239
|
var oe = function() {
|
|
@@ -246,122 +246,122 @@ function Yr() {
|
|
|
246
246
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
247
247
|
try {
|
|
248
248
|
Reflect.construct(oe, []);
|
|
249
|
-
} catch (
|
|
250
|
-
|
|
249
|
+
} catch (Je) {
|
|
250
|
+
X = Je;
|
|
251
251
|
}
|
|
252
252
|
Reflect.construct(k, [], oe);
|
|
253
253
|
} else {
|
|
254
254
|
try {
|
|
255
255
|
oe.call();
|
|
256
|
-
} catch (
|
|
257
|
-
|
|
256
|
+
} catch (Je) {
|
|
257
|
+
X = Je;
|
|
258
258
|
}
|
|
259
259
|
k.call(oe.prototype);
|
|
260
260
|
}
|
|
261
261
|
} else {
|
|
262
262
|
try {
|
|
263
263
|
throw Error();
|
|
264
|
-
} catch (
|
|
265
|
-
|
|
264
|
+
} catch (Je) {
|
|
265
|
+
X = Je;
|
|
266
266
|
}
|
|
267
267
|
k();
|
|
268
268
|
}
|
|
269
|
-
} catch (
|
|
270
|
-
if (
|
|
271
|
-
for (var
|
|
272
|
-
`),
|
|
273
|
-
`),
|
|
274
|
-
|
|
275
|
-
for (;
|
|
276
|
-
if (
|
|
277
|
-
if (
|
|
269
|
+
} catch (Je) {
|
|
270
|
+
if (Je && X && typeof Je.stack == "string") {
|
|
271
|
+
for (var ne = Je.stack.split(`
|
|
272
|
+
`), Ie = X.stack.split(`
|
|
273
|
+
`), he = ne.length - 1, ke = Ie.length - 1; he >= 1 && ke >= 0 && ne[he] !== Ie[ke]; )
|
|
274
|
+
ke--;
|
|
275
|
+
for (; he >= 1 && ke >= 0; he--, ke--)
|
|
276
|
+
if (ne[he] !== Ie[ke]) {
|
|
277
|
+
if (he !== 1 || ke !== 1)
|
|
278
278
|
do
|
|
279
|
-
if (
|
|
279
|
+
if (he--, ke--, ke < 0 || ne[he] !== Ie[ke]) {
|
|
280
280
|
var je = `
|
|
281
|
-
` +
|
|
282
|
-
return k.displayName && je.includes("<anonymous>") && (je = je.replace("<anonymous>", k.displayName)), typeof k == "function" &&
|
|
281
|
+
` + ne[he].replace(" at new ", " at ");
|
|
282
|
+
return k.displayName && je.includes("<anonymous>") && (je = je.replace("<anonymous>", k.displayName)), typeof k == "function" && ae.set(k, je), je;
|
|
283
283
|
}
|
|
284
|
-
while (
|
|
284
|
+
while (he >= 1 && ke >= 0);
|
|
285
285
|
break;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
} finally {
|
|
289
|
-
|
|
289
|
+
Y = !1, q.current = de, J(), Error.prepareStackTrace = me;
|
|
290
290
|
}
|
|
291
|
-
var wa = k ? k.displayName || k.name : "", ba = wa ?
|
|
292
|
-
return typeof k == "function" &&
|
|
291
|
+
var wa = k ? k.displayName || k.name : "", ba = wa ? V(wa) : "";
|
|
292
|
+
return typeof k == "function" && ae.set(k, ba), ba;
|
|
293
293
|
}
|
|
294
|
-
function
|
|
295
|
-
return
|
|
294
|
+
function pe(k, I, K) {
|
|
295
|
+
return Ce(k, !1);
|
|
296
296
|
}
|
|
297
297
|
function _e(k) {
|
|
298
298
|
var I = k.prototype;
|
|
299
299
|
return !!(I && I.isReactComponent);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Ee(k, I, K) {
|
|
302
302
|
if (k == null)
|
|
303
303
|
return "";
|
|
304
304
|
if (typeof k == "function")
|
|
305
|
-
return
|
|
305
|
+
return Ce(k, _e(k));
|
|
306
306
|
if (typeof k == "string")
|
|
307
|
-
return
|
|
307
|
+
return V(k);
|
|
308
308
|
switch (k) {
|
|
309
309
|
case t:
|
|
310
|
-
return
|
|
310
|
+
return V("Suspense");
|
|
311
311
|
case i:
|
|
312
|
-
return
|
|
312
|
+
return V("SuspenseList");
|
|
313
313
|
}
|
|
314
314
|
if (typeof k == "object")
|
|
315
315
|
switch (k.$$typeof) {
|
|
316
316
|
case l:
|
|
317
|
-
return
|
|
317
|
+
return pe(k.render);
|
|
318
318
|
case o:
|
|
319
|
-
return
|
|
319
|
+
return Ee(k.type, I, K);
|
|
320
320
|
case s: {
|
|
321
|
-
var
|
|
321
|
+
var X = k, me = X._payload, de = X._init;
|
|
322
322
|
try {
|
|
323
|
-
return
|
|
323
|
+
return Ee(de(me), I, K);
|
|
324
324
|
} catch {
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
return "";
|
|
329
329
|
}
|
|
330
|
-
var
|
|
331
|
-
function
|
|
330
|
+
var ve = Object.prototype.hasOwnProperty, ce = {}, ge = y.ReactDebugCurrentFrame;
|
|
331
|
+
function ye(k) {
|
|
332
332
|
if (k) {
|
|
333
|
-
var I = k._owner,
|
|
334
|
-
|
|
333
|
+
var I = k._owner, K = Ee(k.type, k._source, I ? I.type : null);
|
|
334
|
+
ge.setExtraStackFrame(K);
|
|
335
335
|
} else
|
|
336
|
-
|
|
336
|
+
ge.setExtraStackFrame(null);
|
|
337
337
|
}
|
|
338
|
-
function
|
|
338
|
+
function ze(k, I, K, X, me) {
|
|
339
339
|
{
|
|
340
|
-
var de = Function.call.bind(
|
|
340
|
+
var de = Function.call.bind(ve);
|
|
341
341
|
for (var oe in k)
|
|
342
342
|
if (de(k, oe)) {
|
|
343
|
-
var
|
|
343
|
+
var ne = void 0;
|
|
344
344
|
try {
|
|
345
345
|
if (typeof k[oe] != "function") {
|
|
346
|
-
var
|
|
347
|
-
throw
|
|
346
|
+
var Ie = Error((X || "React class") + ": " + K + " type `" + oe + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof k[oe] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
347
|
+
throw Ie.name = "Invariant Violation", Ie;
|
|
348
348
|
}
|
|
349
|
-
|
|
350
|
-
} catch (
|
|
351
|
-
|
|
349
|
+
ne = k[oe](I, oe, X, K, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
350
|
+
} catch (he) {
|
|
351
|
+
ne = he;
|
|
352
352
|
}
|
|
353
|
-
|
|
353
|
+
ne && !(ne instanceof Error) && (ye(me), f("%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).", X || "React class", K, oe, typeof ne), ye(null)), ne instanceof Error && !(ne.message in ce) && (ce[ne.message] = !0, ye(me), f("Failed %s type: %s", K, ne.message), ye(null));
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
var
|
|
358
|
-
function
|
|
359
|
-
return
|
|
357
|
+
var De = Array.isArray;
|
|
358
|
+
function Te(k) {
|
|
359
|
+
return De(k);
|
|
360
360
|
}
|
|
361
|
-
function
|
|
361
|
+
function Ve(k) {
|
|
362
362
|
{
|
|
363
|
-
var I = typeof Symbol == "function" && Symbol.toStringTag,
|
|
364
|
-
return
|
|
363
|
+
var I = typeof Symbol == "function" && Symbol.toStringTag, K = I && k[Symbol.toStringTag] || k.constructor.name || "Object";
|
|
364
|
+
return K;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
function ta(k) {
|
|
@@ -374,18 +374,18 @@ function Yr() {
|
|
|
374
374
|
function ia(k) {
|
|
375
375
|
return "" + k;
|
|
376
376
|
}
|
|
377
|
-
function
|
|
377
|
+
function Ne(k) {
|
|
378
378
|
if (ta(k))
|
|
379
|
-
return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
379
|
+
return f("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ve(k)), ia(k);
|
|
380
380
|
}
|
|
381
|
-
var
|
|
381
|
+
var Oe = y.ReactCurrentOwner, Xe = {
|
|
382
382
|
key: !0,
|
|
383
383
|
ref: !0,
|
|
384
384
|
__self: !0,
|
|
385
385
|
__source: !0
|
|
386
386
|
}, oa, ga;
|
|
387
387
|
function Ze(k) {
|
|
388
|
-
if (
|
|
388
|
+
if (ve.call(k, "ref")) {
|
|
389
389
|
var I = Object.getOwnPropertyDescriptor(k, "ref").get;
|
|
390
390
|
if (I && I.isReactWarning)
|
|
391
391
|
return !1;
|
|
@@ -393,7 +393,7 @@ function Yr() {
|
|
|
393
393
|
return k.ref !== void 0;
|
|
394
394
|
}
|
|
395
395
|
function ea(k) {
|
|
396
|
-
if (
|
|
396
|
+
if (ve.call(k, "key")) {
|
|
397
397
|
var I = Object.getOwnPropertyDescriptor(k, "key").get;
|
|
398
398
|
if (I && I.isReactWarning)
|
|
399
399
|
return !1;
|
|
@@ -401,82 +401,82 @@ function Yr() {
|
|
|
401
401
|
return k.key !== void 0;
|
|
402
402
|
}
|
|
403
403
|
function Ja(k, I) {
|
|
404
|
-
typeof k.ref == "string" &&
|
|
404
|
+
typeof k.ref == "string" && Oe.current;
|
|
405
405
|
}
|
|
406
406
|
function Na(k, I) {
|
|
407
407
|
{
|
|
408
|
-
var
|
|
408
|
+
var K = function() {
|
|
409
409
|
oa || (oa = !0, f("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", I));
|
|
410
410
|
};
|
|
411
|
-
|
|
412
|
-
get:
|
|
411
|
+
K.isReactWarning = !0, Object.defineProperty(k, "key", {
|
|
412
|
+
get: K,
|
|
413
413
|
configurable: !0
|
|
414
414
|
});
|
|
415
415
|
}
|
|
416
416
|
}
|
|
417
417
|
function La(k, I) {
|
|
418
418
|
{
|
|
419
|
-
var
|
|
419
|
+
var K = function() {
|
|
420
420
|
ga || (ga = !0, f("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", I));
|
|
421
421
|
};
|
|
422
|
-
|
|
423
|
-
get:
|
|
422
|
+
K.isReactWarning = !0, Object.defineProperty(k, "ref", {
|
|
423
|
+
get: K,
|
|
424
424
|
configurable: !0
|
|
425
425
|
});
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
|
-
var Za = function(k, I,
|
|
429
|
-
var
|
|
428
|
+
var Za = function(k, I, K, X, me, de, oe) {
|
|
429
|
+
var ne = {
|
|
430
430
|
// This tag allows us to uniquely identify this as a React Element
|
|
431
431
|
$$typeof: n,
|
|
432
432
|
// Built-in properties that belong on the element
|
|
433
433
|
type: k,
|
|
434
434
|
key: I,
|
|
435
|
-
ref:
|
|
435
|
+
ref: K,
|
|
436
436
|
props: oe,
|
|
437
437
|
// Record the component responsible for creating this element.
|
|
438
438
|
_owner: de
|
|
439
439
|
};
|
|
440
|
-
return
|
|
440
|
+
return ne._store = {}, Object.defineProperty(ne._store, "validated", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !0,
|
|
444
444
|
value: !1
|
|
445
|
-
}), Object.defineProperty(
|
|
445
|
+
}), Object.defineProperty(ne, "_self", {
|
|
446
446
|
configurable: !1,
|
|
447
447
|
enumerable: !1,
|
|
448
448
|
writable: !1,
|
|
449
|
-
value:
|
|
450
|
-
}), Object.defineProperty(
|
|
449
|
+
value: X
|
|
450
|
+
}), Object.defineProperty(ne, "_source", {
|
|
451
451
|
configurable: !1,
|
|
452
452
|
enumerable: !1,
|
|
453
453
|
writable: !1,
|
|
454
454
|
value: me
|
|
455
|
-
}), Object.freeze && (Object.freeze(
|
|
455
|
+
}), Object.freeze && (Object.freeze(ne.props), Object.freeze(ne)), ne;
|
|
456
456
|
};
|
|
457
|
-
function Ka(k, I,
|
|
457
|
+
function Ka(k, I, K, X, me) {
|
|
458
458
|
{
|
|
459
|
-
var de, oe = {},
|
|
460
|
-
|
|
459
|
+
var de, oe = {}, ne = null, Ie = null;
|
|
460
|
+
K !== void 0 && (Ne(K), ne = "" + K), ea(I) && (Ne(I.key), ne = "" + I.key), Ze(I) && (Ie = I.ref, Ja(I, me));
|
|
461
461
|
for (de in I)
|
|
462
|
-
|
|
462
|
+
ve.call(I, de) && !Xe.hasOwnProperty(de) && (oe[de] = I[de]);
|
|
463
463
|
if (k && k.defaultProps) {
|
|
464
|
-
var
|
|
465
|
-
for (de in
|
|
466
|
-
oe[de] === void 0 && (oe[de] =
|
|
464
|
+
var he = k.defaultProps;
|
|
465
|
+
for (de in he)
|
|
466
|
+
oe[de] === void 0 && (oe[de] = he[de]);
|
|
467
467
|
}
|
|
468
|
-
if (
|
|
469
|
-
var
|
|
470
|
-
|
|
468
|
+
if (ne || Ie) {
|
|
469
|
+
var ke = typeof k == "function" ? k.displayName || k.name || "Unknown" : k;
|
|
470
|
+
ne && Na(oe, ke), Ie && La(oe, ke);
|
|
471
471
|
}
|
|
472
|
-
return Za(k,
|
|
472
|
+
return Za(k, ne, Ie, me, X, Oe.current, oe);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
var da = y.ReactCurrentOwner, ya = y.ReactDebugCurrentFrame;
|
|
476
476
|
function Qe(k) {
|
|
477
477
|
if (k) {
|
|
478
|
-
var I = k._owner,
|
|
479
|
-
ya.setExtraStackFrame(
|
|
478
|
+
var I = k._owner, K = Ee(k.type, k._source, I ? I.type : null);
|
|
479
|
+
ya.setExtraStackFrame(K);
|
|
480
480
|
} else
|
|
481
481
|
ya.setExtraStackFrame(null);
|
|
482
482
|
}
|
|
@@ -505,10 +505,10 @@ Check the render method of \`` + k + "`.";
|
|
|
505
505
|
{
|
|
506
506
|
var I = Ga();
|
|
507
507
|
if (!I) {
|
|
508
|
-
var
|
|
509
|
-
|
|
508
|
+
var K = typeof k == "string" ? k : k.displayName || k.name;
|
|
509
|
+
K && (I = `
|
|
510
510
|
|
|
511
|
-
Check the top-level render call using <` +
|
|
511
|
+
Check the top-level render call using <` + K + ">.");
|
|
512
512
|
}
|
|
513
513
|
return I;
|
|
514
514
|
}
|
|
@@ -518,22 +518,22 @@ Check the top-level render call using <` + q + ">.");
|
|
|
518
518
|
if (!k._store || k._store.validated || k.key != null)
|
|
519
519
|
return;
|
|
520
520
|
k._store.validated = !0;
|
|
521
|
-
var
|
|
522
|
-
if (Ua[
|
|
521
|
+
var K = Ra(I);
|
|
522
|
+
if (Ua[K])
|
|
523
523
|
return;
|
|
524
|
-
Ua[
|
|
525
|
-
var
|
|
526
|
-
k && k._owner && k._owner !== da.current && (
|
|
524
|
+
Ua[K] = !0;
|
|
525
|
+
var X = "";
|
|
526
|
+
k && k._owner && k._owner !== da.current && (X = " It was passed a child from " + P(k._owner.type) + "."), Qe(k), f('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', K, X), Qe(null);
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function Le(k, I) {
|
|
530
530
|
{
|
|
531
531
|
if (typeof k != "object")
|
|
532
532
|
return;
|
|
533
|
-
if (
|
|
534
|
-
for (var
|
|
535
|
-
var
|
|
536
|
-
fa(
|
|
533
|
+
if (Te(k))
|
|
534
|
+
for (var K = 0; K < k.length; K++) {
|
|
535
|
+
var X = k[K];
|
|
536
|
+
fa(X) && Pa(X, I);
|
|
537
537
|
}
|
|
538
538
|
else if (fa(k))
|
|
539
539
|
k._store && (k._store.validated = !0);
|
|
@@ -545,23 +545,23 @@ Check the top-level render call using <` + q + ">.");
|
|
|
545
545
|
}
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function Z(k) {
|
|
549
549
|
{
|
|
550
550
|
var I = k.type;
|
|
551
551
|
if (I == null || typeof I == "string")
|
|
552
552
|
return;
|
|
553
|
-
var
|
|
553
|
+
var K;
|
|
554
554
|
if (typeof I == "function")
|
|
555
|
-
|
|
555
|
+
K = I.propTypes;
|
|
556
556
|
else if (typeof I == "object" && (I.$$typeof === l || // Note: Memo only checks outer props here.
|
|
557
557
|
// Inner props are checked in the reconciler.
|
|
558
558
|
I.$$typeof === o))
|
|
559
|
-
|
|
559
|
+
K = I.propTypes;
|
|
560
560
|
else
|
|
561
561
|
return;
|
|
562
|
-
if (
|
|
563
|
-
var
|
|
564
|
-
|
|
562
|
+
if (K) {
|
|
563
|
+
var X = P(I);
|
|
564
|
+
ze(K, k.props, "prop", X, k);
|
|
565
565
|
} else if (I.PropTypes !== void 0 && !ca) {
|
|
566
566
|
ca = !0;
|
|
567
567
|
var me = P(I);
|
|
@@ -570,12 +570,12 @@ Check the top-level render call using <` + q + ">.");
|
|
|
570
570
|
typeof I.getDefaultProps == "function" && !I.getDefaultProps.isReactClassApproved && f("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
|
-
function
|
|
573
|
+
function Ge(k) {
|
|
574
574
|
{
|
|
575
|
-
for (var I = Object.keys(k.props),
|
|
576
|
-
var
|
|
577
|
-
if (
|
|
578
|
-
Qe(k), f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
575
|
+
for (var I = Object.keys(k.props), K = 0; K < I.length; K++) {
|
|
576
|
+
var X = I[K];
|
|
577
|
+
if (X !== "children" && X !== "key") {
|
|
578
|
+
Qe(k), f("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", X), Qe(null);
|
|
579
579
|
break;
|
|
580
580
|
}
|
|
581
581
|
}
|
|
@@ -583,39 +583,39 @@ Check the top-level render call using <` + q + ">.");
|
|
|
583
583
|
}
|
|
584
584
|
}
|
|
585
585
|
var na = {};
|
|
586
|
-
function
|
|
586
|
+
function Be(k, I, K, X, me, de) {
|
|
587
587
|
{
|
|
588
588
|
var oe = T(k);
|
|
589
589
|
if (!oe) {
|
|
590
|
-
var
|
|
591
|
-
(k === void 0 || typeof k == "object" && k !== null && Object.keys(k).length === 0) && (
|
|
592
|
-
var
|
|
593
|
-
|
|
594
|
-
var
|
|
595
|
-
k === null ?
|
|
590
|
+
var ne = "";
|
|
591
|
+
(k === void 0 || typeof k == "object" && k !== null && Object.keys(k).length === 0) && (ne += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
592
|
+
var Ie = Ma();
|
|
593
|
+
Ie ? ne += Ie : ne += Ga();
|
|
594
|
+
var he;
|
|
595
|
+
k === null ? he = "null" : Te(k) ? he = "array" : k !== void 0 && k.$$typeof === n ? (he = "<" + (P(k.type) || "Unknown") + " />", ne = " Did you accidentally export a JSX literal instead of a component?") : he = typeof k, f("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", he, ne);
|
|
596
596
|
}
|
|
597
|
-
var
|
|
598
|
-
if (
|
|
599
|
-
return
|
|
597
|
+
var ke = Ka(k, I, K, me, de);
|
|
598
|
+
if (ke == null)
|
|
599
|
+
return ke;
|
|
600
600
|
if (oe) {
|
|
601
601
|
var je = I.children;
|
|
602
602
|
if (je !== void 0)
|
|
603
|
-
if (
|
|
604
|
-
if (
|
|
603
|
+
if (X)
|
|
604
|
+
if (Te(je)) {
|
|
605
605
|
for (var wa = 0; wa < je.length; wa++)
|
|
606
|
-
|
|
606
|
+
Le(je[wa], k);
|
|
607
607
|
Object.freeze && Object.freeze(je);
|
|
608
608
|
} else
|
|
609
609
|
f("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
610
610
|
else
|
|
611
|
-
|
|
611
|
+
Le(je, k);
|
|
612
612
|
}
|
|
613
|
-
if (
|
|
614
|
-
var ba = P(k),
|
|
613
|
+
if (ve.call(I, "key")) {
|
|
614
|
+
var ba = P(k), Je = Object.keys(I).filter(function(Hr) {
|
|
615
615
|
return Hr !== "key";
|
|
616
|
-
}), ti =
|
|
616
|
+
}), ti = Je.length > 0 ? "{key: someKey, " + Je.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
617
617
|
if (!na[ba + ti]) {
|
|
618
|
-
var Br =
|
|
618
|
+
var Br = Je.length > 0 ? "{" + Je.join(": ..., ") + ": ...}" : "{}";
|
|
619
619
|
f(`A props object containing a "key" prop is being spread into JSX:
|
|
620
620
|
let props = %s;
|
|
621
621
|
<%s {...props} />
|
|
@@ -624,14 +624,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
624
624
|
<%s key={someKey} {...props} />`, ti, ba, Br, ba), na[ba + ti] = !0;
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
|
-
return k === r ?
|
|
627
|
+
return k === r ? Ge(ke) : Z(ke), ke;
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
|
-
function ra(k, I,
|
|
631
|
-
return
|
|
630
|
+
function ra(k, I, K) {
|
|
631
|
+
return Be(k, I, K, !0);
|
|
632
632
|
}
|
|
633
|
-
function nt(k, I,
|
|
634
|
-
return
|
|
633
|
+
function nt(k, I, K) {
|
|
634
|
+
return Be(k, I, K, !1);
|
|
635
635
|
}
|
|
636
636
|
var ai = nt, Or = ra;
|
|
637
637
|
$a.Fragment = r, $a.jsx = ai, $a.jsxs = Or;
|
|
@@ -805,7 +805,7 @@ const jn = jt(null), Lm = () => {
|
|
|
805
805
|
minimumFractionDigits: 2,
|
|
806
806
|
maximumFractionDigits: 2
|
|
807
807
|
}).format(n);
|
|
808
|
-
}, Yn = (e = [], n) => We(e, { gameTypeName: n })?.gameTypeUid, Xn = (e = [], n) => We(e, { platform: n })?.platformUid, er = (e = [], n) => We(e, { SubPlatformEnum: n }), ar = (e = [], n, a) =>
|
|
808
|
+
}, Yn = (e = [], n) => We(e, { gameTypeName: n })?.gameTypeUid, Xn = (e = [], n) => We(e, { platform: n })?.platformUid, er = (e = [], n) => We(e, { SubPlatformEnum: n }), ar = (e = [], n, a) => Re(e) ? [] : e.filter((r) => a ? String(r?.SubPlatformEnumUid) === String(a?.SubPlatformEnumUid) : String(r.platformUid) === String(n)), il = (e = []) => Re(e) ? {} : e.reduce((n, a) => {
|
|
809
809
|
const r = a?.game_subtype || "UNKNOWN";
|
|
810
810
|
return n[r] || (n[r] = []), n[r].push(a), n;
|
|
811
811
|
}, {}), nl = ({
|
|
@@ -822,7 +822,7 @@ const jn = jt(null), Lm = () => {
|
|
|
822
822
|
l,
|
|
823
823
|
t
|
|
824
824
|
);
|
|
825
|
-
return
|
|
825
|
+
return Re(o) || (U[d] = o), U;
|
|
826
826
|
}, {}) : {};
|
|
827
827
|
}, rl = ({
|
|
828
828
|
platformName: e,
|
|
@@ -927,29 +927,29 @@ function ol() {
|
|
|
927
927
|
}, R.valueOf = function() {
|
|
928
928
|
return this.$d.getTime();
|
|
929
929
|
}, R.startOf = function(L, B) {
|
|
930
|
-
var O = this, W = !!S.u(B) || B, z = S.p(L), G = function(
|
|
931
|
-
var
|
|
932
|
-
return W ?
|
|
933
|
-
}, h = function(
|
|
934
|
-
return S.w(O.toDate()[
|
|
935
|
-
}, E = this.$W, N = this.$M,
|
|
930
|
+
var O = this, W = !!S.u(B) || B, z = S.p(L), G = function(Y, ae) {
|
|
931
|
+
var be = S.w(O.$u ? Date.UTC(O.$y, ae, Y) : new Date(O.$y, ae, Y), O);
|
|
932
|
+
return W ? be : be.endOf(t);
|
|
933
|
+
}, h = function(Y, ae) {
|
|
934
|
+
return S.w(O.toDate()[Y].apply(O.toDate("s"), (W ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ae)), O);
|
|
935
|
+
}, E = this.$W, N = this.$M, J = this.$D, q = "set" + (this.$u ? "UTC" : "");
|
|
936
936
|
switch (z) {
|
|
937
937
|
case p:
|
|
938
938
|
return W ? G(1, 0) : G(31, 11);
|
|
939
939
|
case o:
|
|
940
940
|
return W ? G(1, N) : G(0, N + 1);
|
|
941
941
|
case i:
|
|
942
|
-
var
|
|
943
|
-
return G(W ?
|
|
942
|
+
var $ = this.$locale().weekStart || 0, V = (E < $ ? E + 7 : E) - $;
|
|
943
|
+
return G(W ? J - V : J + (6 - V), N);
|
|
944
944
|
case t:
|
|
945
945
|
case m:
|
|
946
|
-
return h(
|
|
946
|
+
return h(q + "Hours", 0);
|
|
947
947
|
case l:
|
|
948
|
-
return h(
|
|
948
|
+
return h(q + "Minutes", 1);
|
|
949
949
|
case d:
|
|
950
|
-
return h(
|
|
950
|
+
return h(q + "Seconds", 2);
|
|
951
951
|
case U:
|
|
952
|
-
return h(
|
|
952
|
+
return h(q + "Milliseconds", 3);
|
|
953
953
|
default:
|
|
954
954
|
return this.clone();
|
|
955
955
|
}
|
|
@@ -970,8 +970,8 @@ function ol() {
|
|
|
970
970
|
var O, W = this;
|
|
971
971
|
L = Number(L);
|
|
972
972
|
var z = S.p(B), G = function(N) {
|
|
973
|
-
var
|
|
974
|
-
return S.w(
|
|
973
|
+
var J = T(W);
|
|
974
|
+
return S.w(J.date(J.date() + Math.round(N * L)), W);
|
|
975
975
|
};
|
|
976
976
|
if (z === o) return this.set(o, this.$M + L);
|
|
977
977
|
if (z === p) return this.set(p, this.$y + L);
|
|
@@ -984,17 +984,17 @@ function ol() {
|
|
|
984
984
|
}, R.format = function(L) {
|
|
985
985
|
var B = this, O = this.$locale();
|
|
986
986
|
if (!this.isValid()) return O.invalidDate || _;
|
|
987
|
-
var W = L || "YYYY-MM-DDTHH:mm:ssZ", z = S.z(this), G = this.$H, h = this.$m, E = this.$M, N = O.weekdays,
|
|
988
|
-
return
|
|
989
|
-
},
|
|
990
|
-
return S.s(G % 12 || 12,
|
|
991
|
-
},
|
|
992
|
-
var
|
|
993
|
-
return
|
|
987
|
+
var W = L || "YYYY-MM-DDTHH:mm:ssZ", z = S.z(this), G = this.$H, h = this.$m, E = this.$M, N = O.weekdays, J = O.months, q = O.meridiem, $ = function(ae, be, Ce, pe) {
|
|
988
|
+
return ae && (ae[be] || ae(B, W)) || Ce[be].slice(0, pe);
|
|
989
|
+
}, V = function(ae) {
|
|
990
|
+
return S.s(G % 12 || 12, ae, "0");
|
|
991
|
+
}, Y = q || function(ae, be, Ce) {
|
|
992
|
+
var pe = ae < 12 ? "AM" : "PM";
|
|
993
|
+
return Ce ? pe.toLowerCase() : pe;
|
|
994
994
|
};
|
|
995
|
-
return W.replace(y, (function(
|
|
996
|
-
return
|
|
997
|
-
switch (
|
|
995
|
+
return W.replace(y, (function(ae, be) {
|
|
996
|
+
return be || (function(Ce) {
|
|
997
|
+
switch (Ce) {
|
|
998
998
|
case "YY":
|
|
999
999
|
return String(B.$y).slice(-2);
|
|
1000
1000
|
case "YYYY":
|
|
@@ -1004,9 +1004,9 @@ function ol() {
|
|
|
1004
1004
|
case "MM":
|
|
1005
1005
|
return S.s(E + 1, 2, "0");
|
|
1006
1006
|
case "MMM":
|
|
1007
|
-
return
|
|
1007
|
+
return $(O.monthsShort, E, J, 3);
|
|
1008
1008
|
case "MMMM":
|
|
1009
|
-
return
|
|
1009
|
+
return $(J, E);
|
|
1010
1010
|
case "D":
|
|
1011
1011
|
return B.$D;
|
|
1012
1012
|
case "DD":
|
|
@@ -1014,9 +1014,9 @@ function ol() {
|
|
|
1014
1014
|
case "d":
|
|
1015
1015
|
return String(B.$W);
|
|
1016
1016
|
case "dd":
|
|
1017
|
-
return
|
|
1017
|
+
return $(O.weekdaysMin, B.$W, N, 2);
|
|
1018
1018
|
case "ddd":
|
|
1019
|
-
return
|
|
1019
|
+
return $(O.weekdaysShort, B.$W, N, 3);
|
|
1020
1020
|
case "dddd":
|
|
1021
1021
|
return N[B.$W];
|
|
1022
1022
|
case "H":
|
|
@@ -1024,13 +1024,13 @@ function ol() {
|
|
|
1024
1024
|
case "HH":
|
|
1025
1025
|
return S.s(G, 2, "0");
|
|
1026
1026
|
case "h":
|
|
1027
|
-
return
|
|
1027
|
+
return V(1);
|
|
1028
1028
|
case "hh":
|
|
1029
|
-
return
|
|
1029
|
+
return V(2);
|
|
1030
1030
|
case "a":
|
|
1031
|
-
return
|
|
1031
|
+
return Y(G, h, !0);
|
|
1032
1032
|
case "A":
|
|
1033
|
-
return
|
|
1033
|
+
return Y(G, h, !1);
|
|
1034
1034
|
case "m":
|
|
1035
1035
|
return String(h);
|
|
1036
1036
|
case "mm":
|
|
@@ -1045,23 +1045,23 @@ function ol() {
|
|
|
1045
1045
|
return z;
|
|
1046
1046
|
}
|
|
1047
1047
|
return null;
|
|
1048
|
-
})(
|
|
1048
|
+
})(ae) || z.replace(":", "");
|
|
1049
1049
|
}));
|
|
1050
1050
|
}, R.utcOffset = function() {
|
|
1051
1051
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1052
1052
|
}, R.diff = function(L, B, O) {
|
|
1053
|
-
var W, z = this, G = S.p(B), h = T(L), E = (h.utcOffset() - this.utcOffset()) * r, N = this - h,
|
|
1053
|
+
var W, z = this, G = S.p(B), h = T(L), E = (h.utcOffset() - this.utcOffset()) * r, N = this - h, J = function() {
|
|
1054
1054
|
return S.m(z, h);
|
|
1055
1055
|
};
|
|
1056
1056
|
switch (G) {
|
|
1057
1057
|
case p:
|
|
1058
|
-
W =
|
|
1058
|
+
W = J() / 12;
|
|
1059
1059
|
break;
|
|
1060
1060
|
case o:
|
|
1061
|
-
W =
|
|
1061
|
+
W = J();
|
|
1062
1062
|
break;
|
|
1063
1063
|
case s:
|
|
1064
|
-
W =
|
|
1064
|
+
W = J() / 3;
|
|
1065
1065
|
break;
|
|
1066
1066
|
case i:
|
|
1067
1067
|
W = (N - E) / 6048e5;
|
|
@@ -1115,7 +1115,7 @@ function ol() {
|
|
|
1115
1115
|
})(gt)), gt.exports;
|
|
1116
1116
|
}
|
|
1117
1117
|
var sl = ol();
|
|
1118
|
-
const
|
|
1118
|
+
const Me = /* @__PURE__ */ yi(sl);
|
|
1119
1119
|
var dt = { exports: {} };
|
|
1120
1120
|
function ml(e) {
|
|
1121
1121
|
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.');
|
|
@@ -2432,18 +2432,18 @@ function ir() {
|
|
|
2432
2432
|
]);
|
|
2433
2433
|
},
|
|
2434
2434
|
_doProcessBlock: function(m, _) {
|
|
2435
|
-
for (var c = this._hash.words, y = c[0], f = c[1], b = c[2], C = c[3], v = c[4], x = c[5], D = c[6], M = c[7], A = y.high, T = y.low, S = f.high, F = f.low, P = b.high, w = b.low, R = C.high, L = C.low, B = v.high, O = v.low, W = x.high, z = x.low, G = D.high, h = D.low, E = M.high, N = M.low,
|
|
2436
|
-
var
|
|
2437
|
-
if (
|
|
2438
|
-
|
|
2435
|
+
for (var c = this._hash.words, y = c[0], f = c[1], b = c[2], C = c[3], v = c[4], x = c[5], D = c[6], M = c[7], A = y.high, T = y.low, S = f.high, F = f.low, P = b.high, w = b.low, R = C.high, L = C.low, B = v.high, O = v.low, W = x.high, z = x.low, G = D.high, h = D.low, E = M.high, N = M.low, J = A, q = T, $ = S, V = F, Y = P, ae = w, be = R, Ce = L, pe = B, _e = O, Ee = W, ve = z, ce = G, ge = h, ye = E, ze = N, De = 0; De < 80; De++) {
|
|
2436
|
+
var Te, Ve, ta = s[De];
|
|
2437
|
+
if (De < 16)
|
|
2438
|
+
Ve = ta.high = m[_ + De * 2] | 0, Te = ta.low = m[_ + De * 2 + 1] | 0;
|
|
2439
2439
|
else {
|
|
2440
|
-
var ia = s[
|
|
2441
|
-
|
|
2440
|
+
var ia = s[De - 15], Ne = ia.high, Oe = ia.low, Xe = (Ne >>> 1 | Oe << 31) ^ (Ne >>> 8 | Oe << 24) ^ Ne >>> 7, oa = (Oe >>> 1 | Ne << 31) ^ (Oe >>> 8 | Ne << 24) ^ (Oe >>> 7 | Ne << 25), ga = s[De - 2], Ze = ga.high, ea = ga.low, Ja = (Ze >>> 19 | ea << 13) ^ (Ze << 3 | ea >>> 29) ^ Ze >>> 6, Na = (ea >>> 19 | Ze << 13) ^ (ea << 3 | Ze >>> 29) ^ (ea >>> 6 | Ze << 26), La = s[De - 7], Za = La.high, Ka = La.low, da = s[De - 16], ya = da.high, Qe = da.low;
|
|
2441
|
+
Te = oa + Ka, Ve = Xe + Za + (Te >>> 0 < oa >>> 0 ? 1 : 0), Te = Te + Na, Ve = Ve + Ja + (Te >>> 0 < Na >>> 0 ? 1 : 0), Te = Te + Qe, Ve = Ve + ya + (Te >>> 0 < Qe >>> 0 ? 1 : 0), ta.high = Ve, ta.low = Te;
|
|
2442
2442
|
}
|
|
2443
|
-
var ca =
|
|
2444
|
-
|
|
2443
|
+
var ca = pe & Ee ^ ~pe & ce, fa = _e & ve ^ ~_e & ge, Ga = J & $ ^ J & Y ^ $ & Y, Ma = q & V ^ q & ae ^ V & ae, Ua = (J >>> 28 | q << 4) ^ (J << 30 | q >>> 2) ^ (J << 25 | q >>> 7), Ra = (q >>> 28 | J << 4) ^ (q << 30 | J >>> 2) ^ (q << 25 | J >>> 7), Pa = (pe >>> 14 | _e << 18) ^ (pe >>> 18 | _e << 14) ^ (pe << 23 | _e >>> 9), Le = (_e >>> 14 | pe << 18) ^ (_e >>> 18 | pe << 14) ^ (_e << 23 | pe >>> 9), Z = o[De], Ge = Z.high, na = Z.low, Be = ze + Le, ra = ye + Pa + (Be >>> 0 < ze >>> 0 ? 1 : 0), Be = Be + fa, ra = ra + ca + (Be >>> 0 < fa >>> 0 ? 1 : 0), Be = Be + na, ra = ra + Ge + (Be >>> 0 < na >>> 0 ? 1 : 0), Be = Be + Te, ra = ra + Ve + (Be >>> 0 < Te >>> 0 ? 1 : 0), nt = Ra + Ma, ai = Ua + Ga + (nt >>> 0 < Ra >>> 0 ? 1 : 0);
|
|
2444
|
+
ye = ce, ze = ge, ce = Ee, ge = ve, Ee = pe, ve = _e, _e = Ce + Be | 0, pe = be + ra + (_e >>> 0 < Ce >>> 0 ? 1 : 0) | 0, be = Y, Ce = ae, Y = $, ae = V, $ = J, V = q, q = Be + nt | 0, J = ra + ai + (q >>> 0 < Be >>> 0 ? 1 : 0) | 0;
|
|
2445
2445
|
}
|
|
2446
|
-
T = y.low = T +
|
|
2446
|
+
T = y.low = T + q, y.high = A + J + (T >>> 0 < q >>> 0 ? 1 : 0), F = f.low = F + V, f.high = S + $ + (F >>> 0 < V >>> 0 ? 1 : 0), w = b.low = w + ae, b.high = P + Y + (w >>> 0 < ae >>> 0 ? 1 : 0), L = C.low = L + Ce, C.high = R + be + (L >>> 0 < Ce >>> 0 ? 1 : 0), O = v.low = O + _e, v.high = B + pe + (O >>> 0 < _e >>> 0 ? 1 : 0), z = x.low = z + ve, x.high = W + Ee + (z >>> 0 < ve >>> 0 ? 1 : 0), h = D.low = h + ge, D.high = G + ce + (h >>> 0 < ge >>> 0 ? 1 : 0), N = M.low = N + ze, M.high = E + ye + (N >>> 0 < ze >>> 0 ? 1 : 0);
|
|
2447
2447
|
},
|
|
2448
2448
|
_doFinalize: function() {
|
|
2449
2449
|
var m = this._data, _ = m.words, c = this._nDataBytes * 8, y = m.sigBytes * 8;
|
|
@@ -2573,11 +2573,11 @@ function Gl() {
|
|
|
2573
2573
|
E.high = N.high, E.low = N.low;
|
|
2574
2574
|
for (var A = 0; A < 5; A++)
|
|
2575
2575
|
for (var F = 0; F < 5; F++) {
|
|
2576
|
-
var O = A + 5 * F, D = f[O],
|
|
2577
|
-
D.high =
|
|
2576
|
+
var O = A + 5 * F, D = f[O], J = m[O], q = m[(A + 1) % 5 + 5 * F], $ = m[(A + 2) % 5 + 5 * F];
|
|
2577
|
+
D.high = J.high ^ ~q.high & $.high, D.low = J.low ^ ~q.low & $.low;
|
|
2578
2578
|
}
|
|
2579
|
-
var D = f[0],
|
|
2580
|
-
D.high ^=
|
|
2579
|
+
var D = f[0], V = p[M];
|
|
2580
|
+
D.high ^= V.high, D.low ^= V.low;
|
|
2581
2581
|
}
|
|
2582
2582
|
},
|
|
2583
2583
|
_doFinalize: function() {
|
|
@@ -2942,11 +2942,11 @@ function Rl() {
|
|
|
2942
2942
|
var A = D + M, T = x[A];
|
|
2943
2943
|
x[A] = (T << 8 | T >>> 24) & 16711935 | (T << 24 | T >>> 8) & 4278255360;
|
|
2944
2944
|
}
|
|
2945
|
-
var S = this._hash.words, F = p.words, P = m.words, w = t.words, R = i.words, L = o.words, B = s.words, O, W, z, G, h, E, N,
|
|
2946
|
-
E = O = S[0], N = W = S[1],
|
|
2947
|
-
for (var
|
|
2948
|
-
|
|
2949
|
-
|
|
2945
|
+
var S = this._hash.words, F = p.words, P = m.words, w = t.words, R = i.words, L = o.words, B = s.words, O, W, z, G, h, E, N, J, q, $;
|
|
2946
|
+
E = O = S[0], N = W = S[1], J = z = S[2], q = G = S[3], $ = h = S[4];
|
|
2947
|
+
for (var V, M = 0; M < 80; M += 1)
|
|
2948
|
+
V = O + x[D + w[M]] | 0, M < 16 ? V += c(W, z, G) + F[0] : M < 32 ? V += y(W, z, G) + F[1] : M < 48 ? V += f(W, z, G) + F[2] : M < 64 ? V += b(W, z, G) + F[3] : V += C(W, z, G) + F[4], V = V | 0, V = v(V, L[M]), V = V + h | 0, O = h, h = G, G = v(z, 10), z = W, W = V, V = E + x[D + R[M]] | 0, M < 16 ? V += C(N, J, q) + P[0] : M < 32 ? V += b(N, J, q) + P[1] : M < 48 ? V += f(N, J, q) + P[2] : M < 64 ? V += y(N, J, q) + P[3] : V += c(N, J, q) + P[4], V = V | 0, V = v(V, B[M]), V = V + $ | 0, E = $, $ = q, q = v(J, 10), J = N, N = V;
|
|
2949
|
+
V = S[1] + z + q | 0, S[1] = S[2] + G + $ | 0, S[2] = S[3] + h + E | 0, S[3] = S[4] + O + N | 0, S[4] = S[0] + W + J | 0, S[0] = V;
|
|
2950
2950
|
},
|
|
2951
2951
|
_doFinalize: function() {
|
|
2952
2952
|
var x = this._data, D = x.words, M = this._nDataBytes * 8, A = x.sigBytes * 8;
|
|
@@ -3194,7 +3194,7 @@ function _a() {
|
|
|
3194
3194
|
})(Lt)), Lt.exports;
|
|
3195
3195
|
}
|
|
3196
3196
|
var Gt = { exports: {} }, Ol = Gt.exports, Xi;
|
|
3197
|
-
function
|
|
3197
|
+
function Pe() {
|
|
3198
3198
|
return Xi || (Xi = 1, (function(e, n) {
|
|
3199
3199
|
(function(a, r, u) {
|
|
3200
3200
|
e.exports = r(le(), _a());
|
|
@@ -3735,7 +3735,7 @@ var Mt = { exports: {} }, Bl = Mt.exports, en;
|
|
|
3735
3735
|
function Hl() {
|
|
3736
3736
|
return en || (en = 1, (function(e, n) {
|
|
3737
3737
|
(function(a, r, u) {
|
|
3738
|
-
e.exports = r(le(),
|
|
3738
|
+
e.exports = r(le(), Pe());
|
|
3739
3739
|
})(Bl, function(a) {
|
|
3740
3740
|
return a.mode.CFB = (function() {
|
|
3741
3741
|
var r = a.lib.BlockCipherMode.extend();
|
|
@@ -3765,7 +3765,7 @@ var Rt = { exports: {} }, Wl = Rt.exports, an;
|
|
|
3765
3765
|
function zl() {
|
|
3766
3766
|
return an || (an = 1, (function(e, n) {
|
|
3767
3767
|
(function(a, r, u) {
|
|
3768
|
-
e.exports = r(le(),
|
|
3768
|
+
e.exports = r(le(), Pe());
|
|
3769
3769
|
})(Wl, function(a) {
|
|
3770
3770
|
return a.mode.CTR = (function() {
|
|
3771
3771
|
var r = a.lib.BlockCipherMode.extend(), u = r.Encryptor = r.extend({
|
|
@@ -3787,7 +3787,7 @@ var Pt = { exports: {} }, Il = Pt.exports, tn;
|
|
|
3787
3787
|
function Vl() {
|
|
3788
3788
|
return tn || (tn = 1, (function(e, n) {
|
|
3789
3789
|
(function(a, r, u) {
|
|
3790
|
-
e.exports = r(le(),
|
|
3790
|
+
e.exports = r(le(), Pe());
|
|
3791
3791
|
})(Il, function(a) {
|
|
3792
3792
|
return a.mode.CTRGladman = (function() {
|
|
3793
3793
|
var r = a.lib.BlockCipherMode.extend();
|
|
@@ -3821,7 +3821,7 @@ var wt = { exports: {} }, Jl = wt.exports, nn;
|
|
|
3821
3821
|
function Zl() {
|
|
3822
3822
|
return nn || (nn = 1, (function(e, n) {
|
|
3823
3823
|
(function(a, r, u) {
|
|
3824
|
-
e.exports = r(le(),
|
|
3824
|
+
e.exports = r(le(), Pe());
|
|
3825
3825
|
})(Jl, function(a) {
|
|
3826
3826
|
return a.mode.OFB = (function() {
|
|
3827
3827
|
var r = a.lib.BlockCipherMode.extend(), u = r.Encryptor = r.extend({
|
|
@@ -3841,7 +3841,7 @@ var Ft = { exports: {} }, Kl = Ft.exports, rn;
|
|
|
3841
3841
|
function ql() {
|
|
3842
3842
|
return rn || (rn = 1, (function(e, n) {
|
|
3843
3843
|
(function(a, r, u) {
|
|
3844
|
-
e.exports = r(le(),
|
|
3844
|
+
e.exports = r(le(), Pe());
|
|
3845
3845
|
})(Kl, function(a) {
|
|
3846
3846
|
return a.mode.ECB = (function() {
|
|
3847
3847
|
var r = a.lib.BlockCipherMode.extend();
|
|
@@ -3862,7 +3862,7 @@ var At = { exports: {} }, $l = At.exports, ln;
|
|
|
3862
3862
|
function Ql() {
|
|
3863
3863
|
return ln || (ln = 1, (function(e, n) {
|
|
3864
3864
|
(function(a, r, u) {
|
|
3865
|
-
e.exports = r(le(),
|
|
3865
|
+
e.exports = r(le(), Pe());
|
|
3866
3866
|
})($l, function(a) {
|
|
3867
3867
|
return a.pad.AnsiX923 = {
|
|
3868
3868
|
pad: function(r, u) {
|
|
@@ -3881,7 +3881,7 @@ var Ot = { exports: {} }, jl = Ot.exports, on;
|
|
|
3881
3881
|
function Yl() {
|
|
3882
3882
|
return on || (on = 1, (function(e, n) {
|
|
3883
3883
|
(function(a, r, u) {
|
|
3884
|
-
e.exports = r(le(),
|
|
3884
|
+
e.exports = r(le(), Pe());
|
|
3885
3885
|
})(jl, function(a) {
|
|
3886
3886
|
return a.pad.Iso10126 = {
|
|
3887
3887
|
pad: function(r, u) {
|
|
@@ -3900,7 +3900,7 @@ var Bt = { exports: {} }, Xl = Bt.exports, sn;
|
|
|
3900
3900
|
function eo() {
|
|
3901
3901
|
return sn || (sn = 1, (function(e, n) {
|
|
3902
3902
|
(function(a, r, u) {
|
|
3903
|
-
e.exports = r(le(),
|
|
3903
|
+
e.exports = r(le(), Pe());
|
|
3904
3904
|
})(Xl, function(a) {
|
|
3905
3905
|
return a.pad.Iso97971 = {
|
|
3906
3906
|
pad: function(r, u) {
|
|
@@ -3917,7 +3917,7 @@ var Ht = { exports: {} }, ao = Ht.exports, mn;
|
|
|
3917
3917
|
function to() {
|
|
3918
3918
|
return mn || (mn = 1, (function(e, n) {
|
|
3919
3919
|
(function(a, r, u) {
|
|
3920
|
-
e.exports = r(le(),
|
|
3920
|
+
e.exports = r(le(), Pe());
|
|
3921
3921
|
})(ao, function(a) {
|
|
3922
3922
|
return a.pad.ZeroPadding = {
|
|
3923
3923
|
pad: function(r, u) {
|
|
@@ -3939,7 +3939,7 @@ var Wt = { exports: {} }, io = Wt.exports, un;
|
|
|
3939
3939
|
function no() {
|
|
3940
3940
|
return un || (un = 1, (function(e, n) {
|
|
3941
3941
|
(function(a, r, u) {
|
|
3942
|
-
e.exports = r(le(),
|
|
3942
|
+
e.exports = r(le(), Pe());
|
|
3943
3943
|
})(io, function(a) {
|
|
3944
3944
|
return a.pad.NoPadding = {
|
|
3945
3945
|
pad: function() {
|
|
@@ -3954,7 +3954,7 @@ var zt = { exports: {} }, ro = zt.exports, pn;
|
|
|
3954
3954
|
function lo() {
|
|
3955
3955
|
return pn || (pn = 1, (function(e, n) {
|
|
3956
3956
|
(function(a, r, u) {
|
|
3957
|
-
e.exports = r(le(),
|
|
3957
|
+
e.exports = r(le(), Pe());
|
|
3958
3958
|
})(ro, function(a) {
|
|
3959
3959
|
return (function(r) {
|
|
3960
3960
|
var u = a, g = u.lib, U = g.CipherParams, d = u.enc, l = d.Hex, t = u.format;
|
|
@@ -4001,7 +4001,7 @@ var It = { exports: {} }, oo = It.exports, gn;
|
|
|
4001
4001
|
function so() {
|
|
4002
4002
|
return gn || (gn = 1, (function(e, n) {
|
|
4003
4003
|
(function(a, r, u) {
|
|
4004
|
-
e.exports = r(le(), Sa(), Da(), _a(),
|
|
4004
|
+
e.exports = r(le(), Sa(), Da(), _a(), Pe());
|
|
4005
4005
|
})(oo, function(a) {
|
|
4006
4006
|
return (function() {
|
|
4007
4007
|
var r = a, u = r.lib, g = u.BlockCipher, U = r.algo, d = [], l = [], t = [], i = [], o = [], s = [], p = [], m = [], _ = [], c = [];
|
|
@@ -4061,7 +4061,7 @@ var Vt = { exports: {} }, mo = Vt.exports, dn;
|
|
|
4061
4061
|
function uo() {
|
|
4062
4062
|
return dn || (dn = 1, (function(e, n) {
|
|
4063
4063
|
(function(a, r, u) {
|
|
4064
|
-
e.exports = r(le(), Sa(), Da(), _a(),
|
|
4064
|
+
e.exports = r(le(), Sa(), Da(), _a(), Pe());
|
|
4065
4065
|
})(mo, function(a) {
|
|
4066
4066
|
return (function() {
|
|
4067
4067
|
var r = a, u = r.lib, g = u.WordArray, U = u.BlockCipher, d = r.algo, l = [
|
|
@@ -4781,7 +4781,7 @@ var Jt = { exports: {} }, po = Jt.exports, cn;
|
|
|
4781
4781
|
function go() {
|
|
4782
4782
|
return cn || (cn = 1, (function(e, n) {
|
|
4783
4783
|
(function(a, r, u) {
|
|
4784
|
-
e.exports = r(le(), Sa(), Da(), _a(),
|
|
4784
|
+
e.exports = r(le(), Sa(), Da(), _a(), Pe());
|
|
4785
4785
|
})(po, function(a) {
|
|
4786
4786
|
return (function() {
|
|
4787
4787
|
var r = a, u = r.lib, g = u.StreamCipher, U = r.algo, d = U.RC4 = g.extend({
|
|
@@ -4835,7 +4835,7 @@ var Zt = { exports: {} }, co = Zt.exports, fn;
|
|
|
4835
4835
|
function fo() {
|
|
4836
4836
|
return fn || (fn = 1, (function(e, n) {
|
|
4837
4837
|
(function(a, r, u) {
|
|
4838
|
-
e.exports = r(le(), Sa(), Da(), _a(),
|
|
4838
|
+
e.exports = r(le(), Sa(), Da(), _a(), Pe());
|
|
4839
4839
|
})(co, function(a) {
|
|
4840
4840
|
return (function() {
|
|
4841
4841
|
var r = a, u = r.lib, g = u.StreamCipher, U = r.algo, d = [], l = [], t = [], i = U.Rabbit = g.extend({
|
|
@@ -4901,7 +4901,7 @@ var Kt = { exports: {} }, _o = Kt.exports, _n;
|
|
|
4901
4901
|
function yo() {
|
|
4902
4902
|
return _n || (_n = 1, (function(e, n) {
|
|
4903
4903
|
(function(a, r, u) {
|
|
4904
|
-
e.exports = r(le(), Sa(), Da(), _a(),
|
|
4904
|
+
e.exports = r(le(), Sa(), Da(), _a(), Pe());
|
|
4905
4905
|
})(_o, function(a) {
|
|
4906
4906
|
return (function() {
|
|
4907
4907
|
var r = a, u = r.lib, g = u.StreamCipher, U = r.algo, d = [], l = [], t = [], i = U.RabbitLegacy = g.extend({
|
|
@@ -4965,7 +4965,7 @@ var qt = { exports: {} }, Uo = qt.exports, yn;
|
|
|
4965
4965
|
function bo() {
|
|
4966
4966
|
return yn || (yn = 1, (function(e, n) {
|
|
4967
4967
|
(function(a, r, u) {
|
|
4968
|
-
e.exports = r(le(), Sa(), Da(), _a(),
|
|
4968
|
+
e.exports = r(le(), Sa(), Da(), _a(), Pe());
|
|
4969
4969
|
})(Uo, function(a) {
|
|
4970
4970
|
return (function() {
|
|
4971
4971
|
var r = a, u = r.lib, g = u.BlockCipher, U = r.algo;
|
|
@@ -6087,7 +6087,7 @@ var Co = dt.exports, Un;
|
|
|
6087
6087
|
function vo() {
|
|
6088
6088
|
return Un || (Un = 1, (function(e, n) {
|
|
6089
6089
|
(function(a, r, u) {
|
|
6090
|
-
e.exports = r(le(), ei(), _l(), Ul(), Sa(), vl(), Da(), tr(), Ui(), Sl(), ir(), Nl(), Gl(), Rl(), bi(), Fl(), _a(),
|
|
6090
|
+
e.exports = r(le(), ei(), _l(), Ul(), Sa(), vl(), Da(), tr(), Ui(), Sl(), ir(), Nl(), Gl(), Rl(), bi(), Fl(), _a(), Pe(), Hl(), zl(), Vl(), Zl(), ql(), Ql(), Yl(), eo(), to(), no(), lo(), so(), uo(), go(), fo(), yo(), bo());
|
|
6091
6091
|
})(Co, function(a) {
|
|
6092
6092
|
return a;
|
|
6093
6093
|
});
|
|
@@ -6104,24 +6104,24 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
|
|
|
6104
6104
|
padding: Ca.pad.Pkcs7
|
|
6105
6105
|
}), g = a.toString(Ca.enc.Base64), U = Ca.enc.Base64.stringify(u.ciphertext);
|
|
6106
6106
|
return g + ":" + U;
|
|
6107
|
-
},
|
|
6107
|
+
}, re = () => {
|
|
6108
6108
|
const { client: e, formDataClient: n } = se(), a = H(
|
|
6109
6109
|
async (h) => {
|
|
6110
|
-
const { mac_address: E = "", app_version: N = "", anydesk_id:
|
|
6110
|
+
const { mac_address: E = "", app_version: N = "", anydesk_id: J = "" } = h;
|
|
6111
6111
|
return await e.post("/cash-register/login", {
|
|
6112
6112
|
mac_address: E,
|
|
6113
6113
|
app_version: N,
|
|
6114
|
-
anydesk_id:
|
|
6114
|
+
anydesk_id: J
|
|
6115
6115
|
});
|
|
6116
6116
|
},
|
|
6117
6117
|
[e]
|
|
6118
6118
|
), r = H(async () => e.get("/member/getMemberInfo"), [e]), u = H(async () => await e.get("/member/getGameList"), [e]), g = H(async () => await e.get("/member/getNowCurrencyExchange"), [e]), U = H(async () => await e.get("member/getFavoriteGame"), [e]), d = H(
|
|
6119
6119
|
async (h) => {
|
|
6120
|
-
const { account: E, password: N, trans_code:
|
|
6120
|
+
const { account: E, password: N, trans_code: J } = h;
|
|
6121
6121
|
return await e.post("/login", {
|
|
6122
6122
|
memId: E,
|
|
6123
6123
|
passwd: N,
|
|
6124
|
-
trans_code:
|
|
6124
|
+
trans_code: J
|
|
6125
6125
|
});
|
|
6126
6126
|
},
|
|
6127
6127
|
[e]
|
|
@@ -6138,32 +6138,32 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
|
|
|
6138
6138
|
memberId: h,
|
|
6139
6139
|
password: E,
|
|
6140
6140
|
unlimitCode: N,
|
|
6141
|
-
email:
|
|
6142
|
-
inviteCode:
|
|
6143
|
-
currencyCode:
|
|
6144
|
-
validCode:
|
|
6141
|
+
email: J,
|
|
6142
|
+
inviteCode: q,
|
|
6143
|
+
currencyCode: $,
|
|
6144
|
+
validCode: V
|
|
6145
6145
|
}) => {
|
|
6146
|
-
const
|
|
6146
|
+
const Y = {
|
|
6147
6147
|
memId: h,
|
|
6148
6148
|
passwd: Fa(E),
|
|
6149
|
-
email:
|
|
6150
|
-
currency_code:
|
|
6151
|
-
code:
|
|
6149
|
+
email: J,
|
|
6150
|
+
currency_code: $,
|
|
6151
|
+
code: V
|
|
6152
6152
|
};
|
|
6153
|
-
return N && (
|
|
6153
|
+
return N && (Y.unlimit_code = N), q && (Y.invite = q), e.post("/signUp", Y);
|
|
6154
6154
|
},
|
|
6155
6155
|
[e]
|
|
6156
6156
|
), s = H(
|
|
6157
6157
|
async (h) => {
|
|
6158
|
-
const { name: E, birthday: N, email:
|
|
6158
|
+
const { name: E, birthday: N, email: J, mobile: q } = h;
|
|
6159
6159
|
return await e.post("/editMembetInfo", {
|
|
6160
6160
|
name: E,
|
|
6161
6161
|
// 暱稱
|
|
6162
6162
|
birthday: N,
|
|
6163
6163
|
// 生日 (格式:YYYY-MM-DD)
|
|
6164
|
-
email:
|
|
6164
|
+
email: J,
|
|
6165
6165
|
// 電子郵件
|
|
6166
|
-
mobile:
|
|
6166
|
+
mobile: q
|
|
6167
6167
|
// 手機號碼
|
|
6168
6168
|
});
|
|
6169
6169
|
},
|
|
@@ -6215,12 +6215,12 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
|
|
|
6215
6215
|
[e]
|
|
6216
6216
|
), f = H(
|
|
6217
6217
|
async ({ paramsData: h }) => {
|
|
6218
|
-
const { start_time: E, end_time: N, limit:
|
|
6218
|
+
const { start_time: E, end_time: N, limit: J = 25 } = h || {};
|
|
6219
6219
|
return await e.get("/report/totalprofit", {
|
|
6220
6220
|
params: {
|
|
6221
|
-
str_date: `${
|
|
6222
|
-
end_date: `${
|
|
6223
|
-
limit:
|
|
6221
|
+
str_date: `${Me(E).format("YYYY-MM-DD")} 12:00:00`,
|
|
6222
|
+
end_date: `${Me(N).format("YYYY-MM-DD")} 11:59:59`,
|
|
6223
|
+
limit: J
|
|
6224
6224
|
}
|
|
6225
6225
|
});
|
|
6226
6226
|
},
|
|
@@ -6235,12 +6235,12 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
|
|
|
6235
6235
|
[e]
|
|
6236
6236
|
), C = H(async () => await e.get("/member/checkRestrictedWagering"), [e]), v = H(
|
|
6237
6237
|
async (h) => {
|
|
6238
|
-
const { memId: E, point: N, currency:
|
|
6238
|
+
const { memId: E, point: N, currency: J, password: q } = h;
|
|
6239
6239
|
return await e.post("/pointsTransaction", {
|
|
6240
6240
|
to_memId: E,
|
|
6241
6241
|
point: N,
|
|
6242
|
-
currency:
|
|
6243
|
-
password: Fa(
|
|
6242
|
+
currency: J,
|
|
6243
|
+
password: Fa(q)
|
|
6244
6244
|
});
|
|
6245
6245
|
},
|
|
6246
6246
|
[e]
|
|
@@ -6249,11 +6249,11 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
|
|
|
6249
6249
|
const {
|
|
6250
6250
|
bank_name: E,
|
|
6251
6251
|
bank_account_name: N,
|
|
6252
|
-
bank_branch_name:
|
|
6253
|
-
bank_account:
|
|
6254
|
-
bank_card_number:
|
|
6255
|
-
id_card:
|
|
6256
|
-
id_pic:
|
|
6252
|
+
bank_branch_name: J,
|
|
6253
|
+
bank_account: q,
|
|
6254
|
+
bank_card_number: $,
|
|
6255
|
+
id_card: V,
|
|
6256
|
+
id_pic: Y
|
|
6257
6257
|
} = h;
|
|
6258
6258
|
return await n.post("/bindBankAccount", h);
|
|
6259
6259
|
},
|
|
@@ -6268,22 +6268,22 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
|
|
|
6268
6268
|
[e]
|
|
6269
6269
|
), M = H(
|
|
6270
6270
|
async (h) => {
|
|
6271
|
-
const { trans_code: E, line_id: N, invite:
|
|
6271
|
+
const { trans_code: E, line_id: N, invite: J, line_name: q } = h;
|
|
6272
6272
|
return await e.post("/goLine", {
|
|
6273
6273
|
trans_code: E,
|
|
6274
6274
|
line_id: N,
|
|
6275
|
-
invite:
|
|
6276
|
-
line_name:
|
|
6275
|
+
invite: J,
|
|
6276
|
+
line_name: q
|
|
6277
6277
|
});
|
|
6278
6278
|
},
|
|
6279
6279
|
[e]
|
|
6280
6280
|
), A = H(
|
|
6281
6281
|
async (h) => {
|
|
6282
|
-
const { trans_code: E, line_id: N, line_name:
|
|
6282
|
+
const { trans_code: E, line_id: N, line_name: J } = h;
|
|
6283
6283
|
return await e.post("/login/line", {
|
|
6284
6284
|
trans_code: E,
|
|
6285
6285
|
line_id: N,
|
|
6286
|
-
line_name:
|
|
6286
|
+
line_name: J
|
|
6287
6287
|
});
|
|
6288
6288
|
},
|
|
6289
6289
|
[e]
|
|
@@ -6295,11 +6295,11 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
|
|
|
6295
6295
|
[e]
|
|
6296
6296
|
), S = H(
|
|
6297
6297
|
async (h) => {
|
|
6298
|
-
const { member_info_uid: E, point: N, currency:
|
|
6298
|
+
const { member_info_uid: E, point: N, currency: J, withdraw_password: q } = h;
|
|
6299
6299
|
return await e.post(`/member/transfer/${E}`, {
|
|
6300
6300
|
point: N,
|
|
6301
|
-
currency:
|
|
6302
|
-
withdraw_password:
|
|
6301
|
+
currency: J,
|
|
6302
|
+
withdraw_password: q
|
|
6303
6303
|
});
|
|
6304
6304
|
},
|
|
6305
6305
|
[e]
|
|
@@ -6314,25 +6314,25 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
|
|
|
6314
6314
|
[e]
|
|
6315
6315
|
), P = H(
|
|
6316
6316
|
async (h) => {
|
|
6317
|
-
const { mobile: E, verifyCode: N, snCode:
|
|
6317
|
+
const { mobile: E, verifyCode: N, snCode: J, invoiceType: q, invoiceCode: $ } = h;
|
|
6318
6318
|
return await e.post("/goMobile", {
|
|
6319
6319
|
mobile: E,
|
|
6320
6320
|
verification_code: N,
|
|
6321
|
-
sn_code:
|
|
6322
|
-
invoice_type:
|
|
6323
|
-
invoice_code:
|
|
6321
|
+
sn_code: J,
|
|
6322
|
+
invoice_type: q,
|
|
6323
|
+
invoice_code: $
|
|
6324
6324
|
});
|
|
6325
6325
|
},
|
|
6326
6326
|
[e]
|
|
6327
6327
|
), w = H(
|
|
6328
6328
|
async (h) => {
|
|
6329
|
-
const { mobile: E, verifyCode: N, invite:
|
|
6329
|
+
const { mobile: E, verifyCode: N, invite: J, invoiceType: q, invoiceCode: $ } = h;
|
|
6330
6330
|
return await e.post("/goMobileByInvite", {
|
|
6331
6331
|
mobile: E,
|
|
6332
6332
|
verification_code: N,
|
|
6333
|
-
invite:
|
|
6334
|
-
invoice_type:
|
|
6335
|
-
invoice_code:
|
|
6333
|
+
invite: J,
|
|
6334
|
+
invoice_type: q,
|
|
6335
|
+
invoice_code: $
|
|
6336
6336
|
});
|
|
6337
6337
|
},
|
|
6338
6338
|
[e]
|
|
@@ -6410,7 +6410,7 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
|
|
|
6410
6410
|
updateUserAvatarApi: z
|
|
6411
6411
|
};
|
|
6412
6412
|
}, Rm = ({ otherQueryKey: e = [], options: n = {} } = {}) => {
|
|
6413
|
-
const { userCurrencyExchangeApi: a } =
|
|
6413
|
+
const { userCurrencyExchangeApi: a } = re(), { getToken: r } = se(), { enabled: u, ...g } = n, d = !!r?.() && (u ? u.every((l) => l) : !0);
|
|
6414
6414
|
return In({
|
|
6415
6415
|
queries: [
|
|
6416
6416
|
{
|
|
@@ -6428,7 +6428,7 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
|
|
|
6428
6428
|
trigger: n = [],
|
|
6429
6429
|
enabled: a = !0
|
|
6430
6430
|
} = {}) => {
|
|
6431
|
-
const { getToken: r } = se(), u = r?.(), { userInfoApi: g } =
|
|
6431
|
+
const { getToken: r } = se(), u = r?.(), { userInfoApi: g } = re();
|
|
6432
6432
|
return In({
|
|
6433
6433
|
queries: [
|
|
6434
6434
|
{
|
|
@@ -6445,7 +6445,7 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
|
|
|
6445
6445
|
userFavoriteGameApi: a,
|
|
6446
6446
|
userGameListApi: r,
|
|
6447
6447
|
userCurrencyExchangeApi: u
|
|
6448
|
-
} =
|
|
6448
|
+
} = re(), g = Q({
|
|
6449
6449
|
queryKey: ["getMemInfo"],
|
|
6450
6450
|
queryFn: async () => n(),
|
|
6451
6451
|
enabled: e
|
|
@@ -6497,8 +6497,8 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
|
|
|
6497
6497
|
), u = H(
|
|
6498
6498
|
async (U) => {
|
|
6499
6499
|
const {
|
|
6500
|
-
startDate: d =
|
|
6501
|
-
endDate: l =
|
|
6500
|
+
startDate: d = Me().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
|
|
6501
|
+
endDate: l = Me().format("YYYY-MM-DD 11:59:59"),
|
|
6502
6502
|
platform: t = "",
|
|
6503
6503
|
limit: i = 25
|
|
6504
6504
|
} = U, { data: o } = await e.get("/report/netprofit", {
|
|
@@ -6515,8 +6515,8 @@ const Ca = /* @__PURE__ */ yi(et), Fa = (e) => {
|
|
|
6515
6515
|
), g = H(
|
|
6516
6516
|
async (U) => {
|
|
6517
6517
|
const {
|
|
6518
|
-
startDate: d =
|
|
6519
|
-
endDate: l =
|
|
6518
|
+
startDate: d = Me().add(-1, "day").format("YYYY-MM-DD 12:00:00"),
|
|
6519
|
+
endDate: l = Me().format("YYYY-MM-DD 11:59:59"),
|
|
6520
6520
|
platform: t,
|
|
6521
6521
|
limit: i = 25,
|
|
6522
6522
|
page: o = 1
|
|
@@ -7244,31 +7244,31 @@ function xi() {
|
|
|
7244
7244
|
if (s !== null && m === !0) {
|
|
7245
7245
|
var W, z = !1, G = !0, h = function() {
|
|
7246
7246
|
return n(void 0, void 0, void 0, function() {
|
|
7247
|
-
var E, N,
|
|
7248
|
-
return a(this, function(
|
|
7249
|
-
switch (
|
|
7247
|
+
var E, N, J;
|
|
7248
|
+
return a(this, function(q) {
|
|
7249
|
+
switch (q.label) {
|
|
7250
7250
|
case 0:
|
|
7251
7251
|
return E = x, [4, (0, l.getUrl)(s, P)];
|
|
7252
7252
|
case 1:
|
|
7253
|
-
return E.current =
|
|
7254
|
-
return C(function(
|
|
7255
|
-
return e(e({},
|
|
7253
|
+
return E.current = q.sent(), x.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), x.current = "ABORTED", (0, g.flushSync)(function() {
|
|
7254
|
+
return C(function($) {
|
|
7255
|
+
return e(e({}, $), { ABORTED: U.ReadyState.CLOSED });
|
|
7256
7256
|
});
|
|
7257
7257
|
}), [
|
|
7258
7258
|
2
|
|
7259
7259
|
/*return*/
|
|
7260
|
-
]) : (N = function(
|
|
7260
|
+
]) : (N = function($) {
|
|
7261
7261
|
z || (0, g.flushSync)(function() {
|
|
7262
|
-
return y(
|
|
7262
|
+
return y($);
|
|
7263
7263
|
});
|
|
7264
|
-
},
|
|
7264
|
+
}, J = function($) {
|
|
7265
7265
|
z || (0, g.flushSync)(function() {
|
|
7266
|
-
return C(function(
|
|
7267
|
-
var
|
|
7268
|
-
return e(e({},
|
|
7266
|
+
return C(function(V) {
|
|
7267
|
+
var Y;
|
|
7268
|
+
return e(e({}, V), x.current && (Y = {}, Y[x.current] = $, Y));
|
|
7269
7269
|
});
|
|
7270
7270
|
});
|
|
7271
|
-
}, G && (W = (0, d.createOrJoinSocket)(D, x.current,
|
|
7271
|
+
}, G && (W = (0, d.createOrJoinSocket)(D, x.current, J, P, N, M, A, T, L)), [
|
|
7272
7272
|
2
|
|
7273
7273
|
/*return*/
|
|
7274
7274
|
]);
|
|
@@ -7554,70 +7554,70 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
7554
7554
|
announcementApi: a
|
|
7555
7555
|
};
|
|
7556
7556
|
}, Oo = ({ options: e } = {}) => {
|
|
7557
|
-
const { userLoginApi: n } =
|
|
7557
|
+
const { userLoginApi: n } = re();
|
|
7558
7558
|
return ee({
|
|
7559
7559
|
mutationKey: ["userLogin"],
|
|
7560
7560
|
mutationFn: async (a) => n(a),
|
|
7561
7561
|
...e
|
|
7562
7562
|
});
|
|
7563
7563
|
}, Bo = ({ options: e } = {}) => {
|
|
7564
|
-
const { userLogoutApi: n } =
|
|
7564
|
+
const { userLogoutApi: n } = re();
|
|
7565
7565
|
return ee({
|
|
7566
7566
|
mutationKey: ["userLogout"],
|
|
7567
7567
|
mutationFn: async () => n(),
|
|
7568
7568
|
...e
|
|
7569
7569
|
});
|
|
7570
7570
|
}, Ho = ({ options: e } = {}) => {
|
|
7571
|
-
const { userSignUpApi: n } =
|
|
7571
|
+
const { userSignUpApi: n } = re();
|
|
7572
7572
|
return ee({
|
|
7573
7573
|
mutationKey: ["userSignUp"],
|
|
7574
7574
|
mutationFn: async (a) => n(a),
|
|
7575
7575
|
...e
|
|
7576
7576
|
});
|
|
7577
7577
|
}, Wo = ({ options: e } = {}) => {
|
|
7578
|
-
const { addOrRemoveFavoriteGameApi: n } =
|
|
7578
|
+
const { addOrRemoveFavoriteGameApi: n } = re();
|
|
7579
7579
|
return ee({
|
|
7580
7580
|
mutationKey: ["toggleFavoriteGame"],
|
|
7581
7581
|
mutationFn: async (a) => n(a),
|
|
7582
7582
|
...e
|
|
7583
7583
|
});
|
|
7584
7584
|
}, zo = ({ options: e } = {}) => {
|
|
7585
|
-
const { updateUserInfoApi: n } =
|
|
7585
|
+
const { updateUserInfoApi: n } = re();
|
|
7586
7586
|
return ee({
|
|
7587
7587
|
mutationKey: ["updateUserInfo"],
|
|
7588
7588
|
mutationFn: async (a) => n(a),
|
|
7589
7589
|
...e
|
|
7590
7590
|
});
|
|
7591
7591
|
}, Io = ({ options: e } = {}) => {
|
|
7592
|
-
const { resetUserPasswordApi: n } =
|
|
7592
|
+
const { resetUserPasswordApi: n } = re();
|
|
7593
7593
|
return ee({
|
|
7594
7594
|
mutationKey: ["resetUserPassword"],
|
|
7595
7595
|
mutationFn: async (a) => n(a),
|
|
7596
7596
|
...e
|
|
7597
7597
|
});
|
|
7598
7598
|
}, Vo = ({ options: e } = {}) => {
|
|
7599
|
-
const { memberInitSetApi: n } =
|
|
7599
|
+
const { memberInitSetApi: n } = re();
|
|
7600
7600
|
return ee({
|
|
7601
7601
|
mutationKey: ["memberInitSet"],
|
|
7602
7602
|
mutationFn: async (a) => n(a),
|
|
7603
7603
|
...e
|
|
7604
7604
|
});
|
|
7605
7605
|
}, Jo = ({ options: e } = {}) => {
|
|
7606
|
-
const { setUserTransactionPasswordApi: n } =
|
|
7606
|
+
const { setUserTransactionPasswordApi: n } = re();
|
|
7607
7607
|
return ee({
|
|
7608
7608
|
mutationKey: ["setUserTransactionPassword"],
|
|
7609
7609
|
mutationFn: async (a) => n(a),
|
|
7610
7610
|
...e
|
|
7611
7611
|
});
|
|
7612
7612
|
}, Zo = ({ options: e } = {}) => {
|
|
7613
|
-
const { resetUserTransactionPasswordApi: n } =
|
|
7613
|
+
const { resetUserTransactionPasswordApi: n } = re();
|
|
7614
7614
|
return ee({
|
|
7615
7615
|
mutationKey: ["resetUserTransactionPassword"],
|
|
7616
7616
|
mutationFn: async (a) => n(a),
|
|
7617
7617
|
...e
|
|
7618
7618
|
});
|
|
7619
7619
|
}, Ko = ({ paramsData: e, options: n } = {}) => {
|
|
7620
|
-
const { userRebateApi: a } =
|
|
7620
|
+
const { userRebateApi: a } = re(), { getToken: r } = se();
|
|
7621
7621
|
return r?.(), Q({
|
|
7622
7622
|
queryKey: ["userRebate", e],
|
|
7623
7623
|
queryFn: async () => a({ paramsData: e }),
|
|
@@ -7625,14 +7625,14 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
7625
7625
|
...n
|
|
7626
7626
|
});
|
|
7627
7627
|
}, qo = ({ options: e } = {}) => {
|
|
7628
|
-
const { userBindBankApi: n } =
|
|
7628
|
+
const { userBindBankApi: n } = re();
|
|
7629
7629
|
return ee({
|
|
7630
7630
|
mutationKey: ["userBindBank"],
|
|
7631
7631
|
mutationFn: async (a) => n({ formData: a }),
|
|
7632
7632
|
...e
|
|
7633
7633
|
});
|
|
7634
7634
|
}, $o = ({ options: e } = {}) => {
|
|
7635
|
-
const { transferInGameApi: n } =
|
|
7635
|
+
const { transferInGameApi: n } = re();
|
|
7636
7636
|
return ee({
|
|
7637
7637
|
mutationKey: ["transferInGame"],
|
|
7638
7638
|
mutationFn: async (a) => n(a),
|
|
@@ -7640,7 +7640,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
7640
7640
|
...e
|
|
7641
7641
|
});
|
|
7642
7642
|
}, Om = ({ options: e } = {}) => {
|
|
7643
|
-
const { currency: n } = se(), { pointTransferApi: a } =
|
|
7643
|
+
const { currency: n } = se(), { pointTransferApi: a } = re();
|
|
7644
7644
|
return ee({
|
|
7645
7645
|
mutationKey: ["pointTransfer"],
|
|
7646
7646
|
mutationFn: async (r) => a({
|
|
@@ -7650,7 +7650,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
7650
7650
|
...e
|
|
7651
7651
|
});
|
|
7652
7652
|
}, Bm = ({ options: e } = {}) => {
|
|
7653
|
-
const { currency: n } = se(), { checkUserWagerApi: a } =
|
|
7653
|
+
const { currency: n } = se(), { checkUserWagerApi: a } = re();
|
|
7654
7654
|
return Q({
|
|
7655
7655
|
queryKey: ["checkUserWager"],
|
|
7656
7656
|
queryFn: async () => a(),
|
|
@@ -7663,7 +7663,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
7663
7663
|
...e
|
|
7664
7664
|
});
|
|
7665
7665
|
}, Hm = ({ options: e } = {}) => {
|
|
7666
|
-
const n = xa(), { abandonPointsApi: a } =
|
|
7666
|
+
const n = xa(), { abandonPointsApi: a } = re();
|
|
7667
7667
|
return ee({
|
|
7668
7668
|
mutationKey: ["abandonPoint"],
|
|
7669
7669
|
mutationFn: async (r) => a({
|
|
@@ -7675,70 +7675,70 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
7675
7675
|
...e
|
|
7676
7676
|
});
|
|
7677
7677
|
}, lr = ({ options: e } = {}) => {
|
|
7678
|
-
const { lineLoginApi: n } =
|
|
7678
|
+
const { lineLoginApi: n } = re();
|
|
7679
7679
|
return ee({
|
|
7680
7680
|
mutationKey: ["lineLogin"],
|
|
7681
7681
|
mutationFn: async (a) => n(a),
|
|
7682
7682
|
...e
|
|
7683
7683
|
});
|
|
7684
7684
|
}, Qo = ({ options: e } = {}) => {
|
|
7685
|
-
const { lineLogin2Api: n } =
|
|
7685
|
+
const { lineLogin2Api: n } = re();
|
|
7686
7686
|
return ee({
|
|
7687
7687
|
mutationKey: ["lineLogin"],
|
|
7688
7688
|
mutationFn: async (a) => n(a),
|
|
7689
7689
|
...e
|
|
7690
7690
|
});
|
|
7691
7691
|
}, Wm = ({ options: e } = {}) => {
|
|
7692
|
-
const { machineLoginApi: n } =
|
|
7692
|
+
const { machineLoginApi: n } = re();
|
|
7693
7693
|
return ee({
|
|
7694
7694
|
mutationKey: ["machineLogin"],
|
|
7695
7695
|
mutationFn: async (a) => n(a),
|
|
7696
7696
|
...e
|
|
7697
7697
|
});
|
|
7698
7698
|
}, jo = ({ options: e, formData: n } = {}) => {
|
|
7699
|
-
const { getMachineLoginCodeApi: a } =
|
|
7699
|
+
const { getMachineLoginCodeApi: a } = re();
|
|
7700
7700
|
return Q({
|
|
7701
7701
|
queryKey: ["getMachineLoginCode"],
|
|
7702
7702
|
queryFn: async () => a(n),
|
|
7703
7703
|
...e
|
|
7704
7704
|
});
|
|
7705
7705
|
}, zm = ({ options: e } = {}) => {
|
|
7706
|
-
const { currency: n } = se(), { memberTransferApi: a } =
|
|
7706
|
+
const { currency: n } = se(), { memberTransferApi: a } = re();
|
|
7707
7707
|
return ee({
|
|
7708
7708
|
mutationKey: ["memberTransfer"],
|
|
7709
7709
|
mutationFn: async (r) => a({ ...r, currency: n }),
|
|
7710
7710
|
...e
|
|
7711
7711
|
});
|
|
7712
7712
|
}, Im = ({ options: e } = {}) => {
|
|
7713
|
-
const { mobileLoginApi: n } =
|
|
7713
|
+
const { mobileLoginApi: n } = re();
|
|
7714
7714
|
return ee({
|
|
7715
7715
|
mutationKey: ["mobileLogin"],
|
|
7716
7716
|
mutationFn: async (a) => n(a),
|
|
7717
7717
|
...e
|
|
7718
7718
|
});
|
|
7719
7719
|
}, Vm = ({ options: e } = {}) => {
|
|
7720
|
-
const { mobileLoginApiV2: n } =
|
|
7720
|
+
const { mobileLoginApiV2: n } = re();
|
|
7721
7721
|
return ee({
|
|
7722
7722
|
mutationKey: ["mobileLoginV2"],
|
|
7723
7723
|
mutationFn: async (a) => n(a),
|
|
7724
7724
|
...e
|
|
7725
7725
|
});
|
|
7726
7726
|
}, Jm = ({ options: e } = {}) => {
|
|
7727
|
-
const { mobileRegisterApi: n } =
|
|
7727
|
+
const { mobileRegisterApi: n } = re();
|
|
7728
7728
|
return ee({
|
|
7729
7729
|
mutationKey: ["mobileRegister"],
|
|
7730
7730
|
mutationFn: async (a) => n(a),
|
|
7731
7731
|
...e
|
|
7732
7732
|
});
|
|
7733
7733
|
}, Yo = ({ options: e } = {}) => {
|
|
7734
|
-
const { bindAccountApi: n } =
|
|
7734
|
+
const { bindAccountApi: n } = re();
|
|
7735
7735
|
return ee({
|
|
7736
7736
|
mutationKey: ["bindAccount"],
|
|
7737
7737
|
mutationFn: async (a) => n(a),
|
|
7738
7738
|
...e
|
|
7739
7739
|
});
|
|
7740
7740
|
}, Zm = ({ options: e } = {}) => {
|
|
7741
|
-
const { sendMobileVerifyCodeApi: n } =
|
|
7741
|
+
const { sendMobileVerifyCodeApi: n } = re();
|
|
7742
7742
|
return ee({
|
|
7743
7743
|
mutationKey: ["sendMobileVerifyCode"],
|
|
7744
7744
|
mutationFn: async (a) => n(a),
|
|
@@ -7759,21 +7759,21 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
7759
7759
|
...e
|
|
7760
7760
|
});
|
|
7761
7761
|
}, $m = ({ options: e } = {}) => {
|
|
7762
|
-
const { createMachineApi: n } =
|
|
7762
|
+
const { createMachineApi: n } = re();
|
|
7763
7763
|
return ee({
|
|
7764
7764
|
mutationKey: ["createMachine"],
|
|
7765
7765
|
mutationFn: async (a) => n({ formData: a }),
|
|
7766
7766
|
...e
|
|
7767
7767
|
});
|
|
7768
7768
|
}, Qm = ({ options: e } = {}) => {
|
|
7769
|
-
const { verifyResetActionApi: n } =
|
|
7769
|
+
const { verifyResetActionApi: n } = re();
|
|
7770
7770
|
return ee({
|
|
7771
7771
|
mutationKey: ["verifyResetAction"],
|
|
7772
7772
|
mutationFn: async (a) => n(a),
|
|
7773
7773
|
...e
|
|
7774
7774
|
});
|
|
7775
7775
|
}, jm = ({ options: e, bonusData: n } = {}) => {
|
|
7776
|
-
const { getJackpotApi: a } =
|
|
7776
|
+
const { getJackpotApi: a } = re();
|
|
7777
7777
|
return Q({
|
|
7778
7778
|
queryKey: ["getJackpotData"],
|
|
7779
7779
|
queryFn: async () => a(),
|
|
@@ -7792,14 +7792,14 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
7792
7792
|
...e
|
|
7793
7793
|
});
|
|
7794
7794
|
}, Ym = ({ options: e } = {}) => {
|
|
7795
|
-
const { getBetRankingApi: n } =
|
|
7795
|
+
const { getBetRankingApi: n } = re();
|
|
7796
7796
|
return Q({
|
|
7797
7797
|
queryKey: ["getBetRankingData"],
|
|
7798
7798
|
queryFn: async () => n(),
|
|
7799
7799
|
...e
|
|
7800
7800
|
});
|
|
7801
7801
|
}, Xm = ({ options: e } = {}) => {
|
|
7802
|
-
const { getUserAvatarListApi: n } =
|
|
7802
|
+
const { getUserAvatarListApi: n } = re();
|
|
7803
7803
|
return Q({
|
|
7804
7804
|
queryKey: ["getAvatarList"],
|
|
7805
7805
|
queryFn: async () => n(),
|
|
@@ -7809,7 +7809,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
7809
7809
|
...e
|
|
7810
7810
|
});
|
|
7811
7811
|
}, eu = ({ options: e } = {}) => {
|
|
7812
|
-
const { updateUserAvatarApi: n } =
|
|
7812
|
+
const { updateUserAvatarApi: n } = re();
|
|
7813
7813
|
return ee({
|
|
7814
7814
|
mutationKey: ["updateAvatar"],
|
|
7815
7815
|
mutationFn: async (a) => n(a),
|
|
@@ -7853,7 +7853,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
7853
7853
|
userRebate: i,
|
|
7854
7854
|
userBindCard: o
|
|
7855
7855
|
};
|
|
7856
|
-
},
|
|
7856
|
+
}, Fe = {
|
|
7857
7857
|
DEPOSIT: "deposit",
|
|
7858
7858
|
TRANS_CODE: "transCode",
|
|
7859
7859
|
ERROR: "error",
|
|
@@ -7868,7 +7868,8 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
7868
7868
|
GAME_MAINTAIN: "game_maintain",
|
|
7869
7869
|
LINE_LOGIN: "line_login",
|
|
7870
7870
|
UPDATE_EVENT_WALLET: "update_event_wallet",
|
|
7871
|
-
MONTHLY_CARD_ISSUE_POINT: "monthly_card_issue_point"
|
|
7871
|
+
MONTHLY_CARD_ISSUE_POINT: "monthly_card_issue_point",
|
|
7872
|
+
EVENT_CLAIMABLE: "event_claimable"
|
|
7872
7873
|
}, Xo = 3e4, es = ({
|
|
7873
7874
|
maintainList: e,
|
|
7874
7875
|
isInGameBox: n,
|
|
@@ -7898,7 +7899,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
7898
7899
|
disabledLineAutoRegister: U = !1,
|
|
7899
7900
|
navigate: d = null
|
|
7900
7901
|
}) => {
|
|
7901
|
-
const { store: l, lng: t } = se(), i = xa(), { isReady: o, setAsReady: s, isPending: p, setAsPending: m } = Kn(), _ = $e(t), c =
|
|
7902
|
+
const { store: l, lng: t } = se(), i = xa(), { isReady: o, setAsReady: s, isPending: p, setAsPending: m } = Kn(), _ = $e(t), c = ie(!1), y = ie(n), f = j(r, "uid", null), b = j(r, "cagent_uid", null);
|
|
7902
7903
|
j(r, "testFunction", 0);
|
|
7903
7904
|
const C = new URLSearchParams(window.location.search), v = j(
|
|
7904
7905
|
u,
|
|
@@ -7951,7 +7952,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
7951
7952
|
return null;
|
|
7952
7953
|
}
|
|
7953
7954
|
}, [S]);
|
|
7954
|
-
|
|
7955
|
+
ue(() => {
|
|
7955
7956
|
const L = setInterval(
|
|
7956
7957
|
() => A("ping"),
|
|
7957
7958
|
Xo
|
|
@@ -7972,11 +7973,11 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
7972
7973
|
},
|
|
7973
7974
|
[g, l, _]
|
|
7974
7975
|
);
|
|
7975
|
-
|
|
7976
|
+
ue(() => {
|
|
7976
7977
|
y.current = n;
|
|
7977
7978
|
}, [n]);
|
|
7978
|
-
const R =
|
|
7979
|
-
return
|
|
7979
|
+
const R = ie(null);
|
|
7980
|
+
return ue(() => {
|
|
7980
7981
|
if (!P || R.current === P)
|
|
7981
7982
|
return;
|
|
7982
7983
|
R.current = P;
|
|
@@ -7990,74 +7991,75 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
7990
7991
|
onTransferInGame: h,
|
|
7991
7992
|
onCashRegisterLimit: E,
|
|
7992
7993
|
onLineLogin: N,
|
|
7993
|
-
onMonthlyCardIssuePoint:
|
|
7994
|
-
|
|
7994
|
+
onMonthlyCardIssuePoint: J,
|
|
7995
|
+
onEventClaimable: q
|
|
7996
|
+
} = y.current, $ = j(P, "type", ""), V = {
|
|
7995
7997
|
memberInfoUid: j(P, "member_info_uid", null),
|
|
7996
7998
|
data: j(P, "data", null),
|
|
7997
7999
|
memo: j(P, "memo", null),
|
|
7998
8000
|
amount: j(P, "amount", null),
|
|
7999
8001
|
limitAmount: j(P, "limit_amount", null)
|
|
8000
|
-
},
|
|
8002
|
+
}, Y = Number(V.memberInfoUid) === f, ae = V.data, be = V.amount, Ce = V.limitAmount, pe = C.get("mac") || pi.get("machine_mac_address") || "", _e = j(P, "data.line_id", null), Ee = j(P, "data.line_name", null), ve = j(P, "member_info_uid", null);
|
|
8001
8003
|
switch ($) {
|
|
8002
|
-
case
|
|
8003
|
-
|
|
8004
|
+
case Fe.DEPOSIT:
|
|
8005
|
+
Y && (M(), L?.(V));
|
|
8004
8006
|
break;
|
|
8005
|
-
case
|
|
8006
|
-
B?.(
|
|
8007
|
+
case Fe.TRANS_CODE:
|
|
8008
|
+
B?.(V);
|
|
8007
8009
|
break;
|
|
8008
|
-
case
|
|
8009
|
-
if (
|
|
8010
|
-
const
|
|
8011
|
-
w(
|
|
8012
|
-
notificationType:
|
|
8013
|
-
}), O?.(
|
|
8010
|
+
case Fe.ERROR:
|
|
8011
|
+
if (Y) {
|
|
8012
|
+
const ce = j(P, "open_game_modal", 0) === 1;
|
|
8013
|
+
w(ae, {
|
|
8014
|
+
notificationType: ce ? "gamingNotice" : void 0
|
|
8015
|
+
}), O?.(V);
|
|
8014
8016
|
}
|
|
8015
8017
|
break;
|
|
8016
|
-
case
|
|
8018
|
+
case Fe.UPDATE_MEMBER:
|
|
8017
8019
|
f && (i.invalidateQueries({
|
|
8018
8020
|
queryKey: ["getMemberInfo"]
|
|
8019
|
-
}), W?.(
|
|
8021
|
+
}), W?.(V));
|
|
8020
8022
|
break;
|
|
8021
|
-
case
|
|
8022
|
-
w(
|
|
8023
|
+
case Fe.MAINTAIN_NOTICE:
|
|
8024
|
+
w(ae, {
|
|
8023
8025
|
notificationType: "maintainNotice"
|
|
8024
|
-
}), z?.(
|
|
8026
|
+
}), z?.(V);
|
|
8025
8027
|
break;
|
|
8026
|
-
case
|
|
8027
|
-
const
|
|
8028
|
-
if (
|
|
8029
|
-
String(b) === String(
|
|
8028
|
+
case Fe.MAINTAIN_NOTICE_MEMBER: {
|
|
8029
|
+
const ce = V.data?.cagent_uid ?? null;
|
|
8030
|
+
if (ce != null) {
|
|
8031
|
+
String(b) === String(ce) && (w(V.data?.msg, { rawMessage: !0 }), G?.(V), setTimeout(() => {
|
|
8030
8032
|
d?.("/");
|
|
8031
8033
|
}, 5e3));
|
|
8032
8034
|
return;
|
|
8033
|
-
} else if (
|
|
8034
|
-
const
|
|
8035
|
-
if (
|
|
8036
|
-
Array.isArray(
|
|
8035
|
+
} else if (Y) {
|
|
8036
|
+
const ge = l.getState()?.game?.currentGameData?.gameUid ?? null, ye = V.data?.game_id;
|
|
8037
|
+
if (ye != null) {
|
|
8038
|
+
Array.isArray(ye) && ye.some((ze) => String(ze) === String(ge)) && (w(V.data?.msg, { rawMessage: !0 }), G?.(V), setTimeout(() => {
|
|
8037
8039
|
d?.("/");
|
|
8038
8040
|
}, 5e3));
|
|
8039
8041
|
return;
|
|
8040
8042
|
}
|
|
8041
|
-
w(
|
|
8043
|
+
w(ae), G?.(V), setTimeout(() => {
|
|
8042
8044
|
window.location.reload();
|
|
8043
8045
|
}, 5e4);
|
|
8044
8046
|
}
|
|
8045
8047
|
break;
|
|
8046
8048
|
}
|
|
8047
|
-
case
|
|
8049
|
+
case Fe.RELOAD:
|
|
8048
8050
|
window.location.reload();
|
|
8049
8051
|
break;
|
|
8050
|
-
case
|
|
8051
|
-
case
|
|
8052
|
-
if (
|
|
8053
|
-
const { request_id:
|
|
8052
|
+
case Fe.TRANSFER_IN_GAME:
|
|
8053
|
+
case Fe.CHECK_REQUEST:
|
|
8054
|
+
if (Y && v) {
|
|
8055
|
+
const { request_id: ce, amount: ge, platform: ye, status: ze } = j(V, "data", {}) || {}, De = localStorage.getItem(
|
|
8054
8056
|
"transfer_in_game_request_id"
|
|
8055
8057
|
);
|
|
8056
|
-
if (
|
|
8057
|
-
localStorage.setItem("transfer_in_game_request_id",
|
|
8058
|
+
if (ze === "pending") {
|
|
8059
|
+
localStorage.setItem("transfer_in_game_request_id", ce);
|
|
8058
8060
|
return;
|
|
8059
|
-
} else if (
|
|
8060
|
-
if (
|
|
8061
|
+
} else if (De && De === ce) {
|
|
8062
|
+
if (ze === "rollback") {
|
|
8061
8063
|
M();
|
|
8062
8064
|
return;
|
|
8063
8065
|
}
|
|
@@ -8065,50 +8067,64 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
8065
8067
|
type: "ui/showToast",
|
|
8066
8068
|
payload: {
|
|
8067
8069
|
title: Wa[_] || "System Prompt",
|
|
8068
|
-
description: `您於${
|
|
8070
|
+
description: `您於${ye}存入的${ge}元已經處理完成了,請確認遊戲餘額`,
|
|
8069
8071
|
status: "success"
|
|
8070
8072
|
}
|
|
8071
8073
|
}), s();
|
|
8072
8074
|
}
|
|
8073
|
-
h?.(
|
|
8075
|
+
h?.(V);
|
|
8074
8076
|
}
|
|
8075
8077
|
break;
|
|
8076
|
-
case
|
|
8077
|
-
w(
|
|
8078
|
+
case Fe.CASH_REGISTER_LIMIT:
|
|
8079
|
+
w(ae, {
|
|
8078
8080
|
notificationType: "cashRegisterLimit",
|
|
8079
|
-
amount:
|
|
8080
|
-
limitAmount:
|
|
8081
|
-
}), E?.(
|
|
8081
|
+
amount: be,
|
|
8082
|
+
limitAmount: Ce
|
|
8083
|
+
}), E?.(V);
|
|
8082
8084
|
break;
|
|
8083
|
-
case
|
|
8084
|
-
|
|
8085
|
+
case Fe.UPDATE_ONLY_ONE_MEMBER:
|
|
8086
|
+
Y && (i.invalidateQueries({
|
|
8085
8087
|
queryKey: ["getMemberInfo"]
|
|
8086
|
-
}), W?.(
|
|
8088
|
+
}), W?.(V));
|
|
8087
8089
|
break;
|
|
8088
|
-
case
|
|
8089
|
-
const
|
|
8090
|
-
maintainList:
|
|
8090
|
+
case Fe.GAME_MAINTAIN: {
|
|
8091
|
+
const ce = V.data, { show: ge } = es({
|
|
8092
|
+
maintainList: ce,
|
|
8091
8093
|
// 直接用當前路由判斷是否在 gamebox(不依賴 transferInGamingConfig,
|
|
8092
8094
|
// 因為不是每隻遊戲都會帶入該設定)
|
|
8093
8095
|
isInGameBox: window.location.pathname.includes("gamebox"),
|
|
8094
8096
|
currentGamePlatform: l.getState()?.game?.currentGameData?.gamePlatform ?? null
|
|
8095
8097
|
});
|
|
8096
|
-
|
|
8098
|
+
ge && w(ae, {
|
|
8097
8099
|
notificationType: "gameMaintain"
|
|
8098
8100
|
});
|
|
8099
8101
|
break;
|
|
8100
8102
|
}
|
|
8101
|
-
case
|
|
8102
|
-
|
|
8103
|
-
line_id:
|
|
8104
|
-
line_name:
|
|
8103
|
+
case Fe.LINE_LOGIN:
|
|
8104
|
+
ve === pe && x({
|
|
8105
|
+
line_id: _e,
|
|
8106
|
+
line_name: Ee
|
|
8105
8107
|
});
|
|
8106
8108
|
break;
|
|
8107
|
-
case
|
|
8108
|
-
|
|
8109
|
+
case Fe.UPDATE_EVENT_WALLET:
|
|
8110
|
+
Y && (i.invalidateQueries({ queryKey: ["getEventWalletList"] }), i.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
|
|
8111
|
+
return;
|
|
8112
|
+
case Fe.MONTHLY_CARD_ISSUE_POINT:
|
|
8113
|
+
Y && (i.invalidateQueries({ queryKey: Si }), J?.(V));
|
|
8109
8114
|
return;
|
|
8110
|
-
|
|
8111
|
-
|
|
8115
|
+
/**
|
|
8116
|
+
* event_claimable:活動可領取推播
|
|
8117
|
+
* 訊息格式:{ type, member_info_uid, data: { event_uid: [3001, 3005] } }
|
|
8118
|
+
* - 不管有沒有 event_uid,都觸發 useCheckEventStatus(invalidate 讓它 refetch)
|
|
8119
|
+
* - 有 event_uid 時,另外執行外部傳入的客製化 function(帶入整包 payload)
|
|
8120
|
+
* 註:與其他 event/member 推播一致,僅對「當前會員」生效(isForMember)。
|
|
8121
|
+
*/
|
|
8122
|
+
case Fe.EVENT_CLAIMABLE:
|
|
8123
|
+
if (Y) {
|
|
8124
|
+
i.invalidateQueries({ queryKey: ["checkEventStatus"] });
|
|
8125
|
+
const ce = V.data?.event_uid;
|
|
8126
|
+
(Array.isArray(ce) ? ce.length > 0 : ce != null) && q?.(V);
|
|
8127
|
+
}
|
|
8112
8128
|
return;
|
|
8113
8129
|
default:
|
|
8114
8130
|
console.warn("Unknown socket type:", $);
|
|
@@ -8127,22 +8143,22 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
8127
8143
|
s,
|
|
8128
8144
|
C,
|
|
8129
8145
|
x
|
|
8130
|
-
]),
|
|
8146
|
+
]), ue(() => () => c.current = !0, []), ue(() => {
|
|
8131
8147
|
localStorage.getItem(
|
|
8132
8148
|
"transfer_in_game_request_id"
|
|
8133
8149
|
) && m();
|
|
8134
|
-
}, [m]),
|
|
8150
|
+
}, [m]), ue(() => {
|
|
8135
8151
|
if (v) {
|
|
8136
8152
|
const L = localStorage.getItem(
|
|
8137
8153
|
"transfer_in_game_request_id"
|
|
8138
8154
|
);
|
|
8139
8155
|
L && f && p && T({
|
|
8140
|
-
type:
|
|
8156
|
+
type: Fe.CHECK_REQUEST,
|
|
8141
8157
|
request_id: L,
|
|
8142
8158
|
member_info_uid: f
|
|
8143
8159
|
});
|
|
8144
8160
|
}
|
|
8145
|
-
}, [f, p, T, v]),
|
|
8161
|
+
}, [f, p, T, v]), ue(() => {
|
|
8146
8162
|
p ? l.dispatch({
|
|
8147
8163
|
type: "ui/showToast",
|
|
8148
8164
|
payload: {
|
|
@@ -8219,7 +8235,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
8219
8235
|
select: (l) => {
|
|
8220
8236
|
try {
|
|
8221
8237
|
const { data: t } = l;
|
|
8222
|
-
return
|
|
8238
|
+
return Se(t, (o) => {
|
|
8223
8239
|
const { events_attributes: s } = o, p = We(
|
|
8224
8240
|
s,
|
|
8225
8241
|
(v) => v.attribute_currency === U
|
|
@@ -8298,7 +8314,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
8298
8314
|
rewardType: p?.reward_type,
|
|
8299
8315
|
//獎勵類型
|
|
8300
8316
|
rewardDetail: p?.rewards || {},
|
|
8301
|
-
originEventAttribute:
|
|
8317
|
+
originEventAttribute: Se(s, (v) => ({
|
|
8302
8318
|
isActive: v.attribute_is_active === 1,
|
|
8303
8319
|
currencyCode: v.attribute_currency,
|
|
8304
8320
|
value: v.attribute_value,
|
|
@@ -8368,7 +8384,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
8368
8384
|
return Q({
|
|
8369
8385
|
queryKey: ["checkEventStatus"],
|
|
8370
8386
|
queryFn: async () => a(n),
|
|
8371
|
-
select: (r) => r.data.event_status || r.data
|
|
8387
|
+
select: (r) => r.data.event_status || r.data,
|
|
8372
8388
|
...e
|
|
8373
8389
|
});
|
|
8374
8390
|
}, nu = ({ options: e } = {}) => {
|
|
@@ -8526,7 +8542,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
8526
8542
|
queryFn: async () => await a(),
|
|
8527
8543
|
select: (u) => {
|
|
8528
8544
|
const g = Ye(u) ? u : u?.data ?? [];
|
|
8529
|
-
return
|
|
8545
|
+
return Se(g, (U) => {
|
|
8530
8546
|
const d = We(U?.news_language, { language: r }) || We(U?.news_language, { language: "en_US" }) || U?.news_language?.[0];
|
|
8531
8547
|
return {
|
|
8532
8548
|
...U,
|
|
@@ -8573,7 +8589,7 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
8573
8589
|
return g && !a ? g : await r();
|
|
8574
8590
|
},
|
|
8575
8591
|
select: (g) => {
|
|
8576
|
-
const U = Ye(g) ? g : g.Marquees, d = Ye(g) ? g : g.MarqueesInsideGameBox, l =
|
|
8592
|
+
const U = Ye(g) ? g : g.Marquees, d = Ye(g) ? g : g.MarqueesInsideGameBox, l = Se(U, (i) => i[u] || i?.en_US), t = Se(d, (i) => i[u] || i?.en_US);
|
|
8577
8593
|
return {
|
|
8578
8594
|
marquee: l,
|
|
8579
8595
|
gameMarquee: t
|
|
@@ -8581,14 +8597,14 @@ const Po = /* @__PURE__ */ yi(Ro), wo = ({
|
|
|
8581
8597
|
}
|
|
8582
8598
|
});
|
|
8583
8599
|
}, fu = ({ options: e } = {}) => {
|
|
8584
|
-
const { rankingGameApi: n } =
|
|
8600
|
+
const { rankingGameApi: n } = re();
|
|
8585
8601
|
return Q({
|
|
8586
8602
|
queryKey: ["rankingGame"],
|
|
8587
8603
|
queryFn: async () => n(),
|
|
8588
8604
|
enabled: window.profit_ranking_status === 1,
|
|
8589
8605
|
select: (a) => {
|
|
8590
8606
|
const { data: r } = a;
|
|
8591
|
-
return
|
|
8607
|
+
return Se(r, (g) => {
|
|
8592
8608
|
const {
|
|
8593
8609
|
game_uid: U,
|
|
8594
8610
|
game_code: d,
|
|
@@ -8915,7 +8931,7 @@ function mi(e, n) {
|
|
|
8915
8931
|
if (!(u - a < n)) return a = u, e(...r);
|
|
8916
8932
|
};
|
|
8917
8933
|
}
|
|
8918
|
-
var
|
|
8934
|
+
var xe = () => Date.now(), Oa = 2147483647;
|
|
8919
8935
|
function hs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle: a = 0, element: r = bs, events: u = Cs, timers: g = void 0, immediateEvents: U = [], onPresenceChange: d = () => {
|
|
8920
8936
|
}, onPrompt: l = () => {
|
|
8921
8937
|
}, onIdle: t = () => {
|
|
@@ -8923,8 +8939,8 @@ function hs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8923
8939
|
}, onAction: o = () => {
|
|
8924
8940
|
}, onMessage: s = () => {
|
|
8925
8941
|
}, debounce: p = 0, throttle: m = 0, eventsThrottle: _ = 200, startOnMount: c = !0, startManually: y = !1, stopOnIdle: f = !1, crossTab: b = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: x = !1, disabled: D = !1 } = {}) {
|
|
8926
|
-
let M =
|
|
8927
|
-
|
|
8942
|
+
let M = ie(xe()), A = ie(xe()), T = ie(null), S = ie(null), F = ie(0), P = ie(0), w = ie(0), R = ie(0), L = ie(!1), B = ie(!1), O = ie(!1), W = ie(!0), z = ie(!1), G = ie(null), h = ie(null), E = ie(e), N = ie(0);
|
|
8943
|
+
ue(() => {
|
|
8928
8944
|
if (n && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), a && n) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
|
|
8929
8945
|
if (e >= Oa) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${Oa}.`);
|
|
8930
8946
|
if (n >= Oa) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${Oa}.`);
|
|
@@ -8932,152 +8948,152 @@ function hs({ timeout: e = 1e3 * 60 * 20, promptTimeout: n = 0, promptBeforeIdle
|
|
|
8932
8948
|
if (a >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
|
|
8933
8949
|
if (a ? (E.current = e - a, N.current = a) : (E.current = e, N.current = n), !W.current) {
|
|
8934
8950
|
if (y || D) return;
|
|
8935
|
-
L.current && (
|
|
8951
|
+
L.current && (pe.current(null, Le), h.current && h.current.active()), Xe();
|
|
8936
8952
|
}
|
|
8937
8953
|
}, [e, n, a, y, D]);
|
|
8938
|
-
let
|
|
8939
|
-
|
|
8940
|
-
|
|
8954
|
+
let J = ie(f);
|
|
8955
|
+
ue(() => {
|
|
8956
|
+
J.current = f;
|
|
8941
8957
|
}, [f]);
|
|
8942
|
-
let
|
|
8943
|
-
|
|
8944
|
-
|
|
8958
|
+
let q = ie(U), $ = ie(r), V = ie([...(/* @__PURE__ */ new Set([...u, ...U])).values()]), Y = ie(D);
|
|
8959
|
+
ue(() => {
|
|
8960
|
+
Y.current = D, !W.current && (D ? Ze() : y || Xe());
|
|
8945
8961
|
}, [D]);
|
|
8946
|
-
let
|
|
8947
|
-
|
|
8948
|
-
|
|
8962
|
+
let ae = ie(d);
|
|
8963
|
+
ue(() => {
|
|
8964
|
+
ae.current = d;
|
|
8949
8965
|
}, [d]);
|
|
8950
|
-
let
|
|
8951
|
-
|
|
8952
|
-
|
|
8966
|
+
let be = ie(l);
|
|
8967
|
+
ue(() => {
|
|
8968
|
+
be.current = l;
|
|
8953
8969
|
}, [l]);
|
|
8954
|
-
let
|
|
8955
|
-
|
|
8956
|
-
|
|
8970
|
+
let Ce = ie(t);
|
|
8971
|
+
ue(() => {
|
|
8972
|
+
Ce.current = t;
|
|
8957
8973
|
}, [t]);
|
|
8958
|
-
let
|
|
8959
|
-
|
|
8960
|
-
|
|
8974
|
+
let pe = ie(i);
|
|
8975
|
+
ue(() => {
|
|
8976
|
+
pe.current = i;
|
|
8961
8977
|
}, [i]);
|
|
8962
|
-
let _e =
|
|
8963
|
-
|
|
8978
|
+
let _e = ie(o);
|
|
8979
|
+
ue(() => {
|
|
8964
8980
|
_e.current = o;
|
|
8965
8981
|
}, [o]);
|
|
8966
|
-
let
|
|
8967
|
-
|
|
8968
|
-
|
|
8982
|
+
let Ee = ie(s);
|
|
8983
|
+
ue(() => {
|
|
8984
|
+
Ee.current = s;
|
|
8969
8985
|
}, [s]);
|
|
8970
|
-
let
|
|
8971
|
-
let
|
|
8972
|
-
return p > 0 ? vs(
|
|
8973
|
-
}, [m, p]),
|
|
8974
|
-
|
|
8975
|
-
b && v && (
|
|
8986
|
+
let ve = Ha(() => {
|
|
8987
|
+
let Z = (Ge, na) => _e.current(Ge, na);
|
|
8988
|
+
return p > 0 ? vs(Z, p) : m > 0 ? mi(Z, m) : Z;
|
|
8989
|
+
}, [m, p]), ce = ie();
|
|
8990
|
+
ue(() => {
|
|
8991
|
+
b && v && (ce.current = mi(() => {
|
|
8976
8992
|
h.current.active();
|
|
8977
8993
|
}, v));
|
|
8978
8994
|
}, [b, v]);
|
|
8979
|
-
let
|
|
8995
|
+
let ge = () => {
|
|
8980
8996
|
G.current !== null && (aa.clearTimeout(G.current), G.current = null);
|
|
8981
|
-
},
|
|
8982
|
-
|
|
8983
|
-
},
|
|
8984
|
-
!B.current && !L.current && (
|
|
8985
|
-
},
|
|
8986
|
-
|
|
8987
|
-
},
|
|
8988
|
-
|
|
8989
|
-
},
|
|
8997
|
+
}, ye = (Z, Ge = !0) => {
|
|
8998
|
+
ge(), G.current = aa.setTimeout(Ve, Z || E.current), Ge && (S.current = xe());
|
|
8999
|
+
}, ze = (Z) => {
|
|
9000
|
+
!B.current && !L.current && (be.current(Z, Le), ae.current({ type: "active", prompted: !0 }, Le)), R.current = 0, w.current = xe(), B.current = !0, ye(N.current, !1);
|
|
9001
|
+
}, De = () => {
|
|
9002
|
+
ge(), L.current || (Ce.current(null, Le), ae.current({ type: "idle" }, Le)), L.current = !0, T.current = xe(), J.current ? Oe() : B.current && (w.current = 0, B.current = !1);
|
|
9003
|
+
}, Te = (Z) => {
|
|
9004
|
+
ge(), (L.current || B.current) && (pe.current(Z, Le), ae.current({ type: "active", prompted: !1 }, Le)), B.current = !1, w.current = 0, L.current = !1, F.current += xe() - T.current, P.current += xe() - T.current, Ne(), ye();
|
|
9005
|
+
}, Ve = (Z) => {
|
|
8990
9006
|
if (!L.current) {
|
|
8991
|
-
|
|
8992
|
-
let
|
|
8993
|
-
if (!(E.current + N.current <
|
|
8994
|
-
h.current ? h.current.prompt() :
|
|
9007
|
+
ve.cancel && ve.cancel();
|
|
9008
|
+
let Ge = xe() - S.current;
|
|
9009
|
+
if (!(E.current + N.current < Ge) && N.current > 0 && !B.current) {
|
|
9010
|
+
h.current ? h.current.prompt() : ze(Z);
|
|
8995
9011
|
return;
|
|
8996
9012
|
}
|
|
8997
|
-
h.current ? h.current.idle() :
|
|
9013
|
+
h.current ? h.current.idle() : De();
|
|
8998
9014
|
return;
|
|
8999
9015
|
}
|
|
9000
|
-
h.current ? h.current.active() :
|
|
9001
|
-
}, ta = (
|
|
9002
|
-
if (!c && !S.current && (S.current =
|
|
9003
|
-
if (
|
|
9004
|
-
|
|
9016
|
+
h.current ? h.current.active() : Te(Z);
|
|
9017
|
+
}, ta = (Z) => {
|
|
9018
|
+
if (!c && !S.current && (S.current = xe(), pe.current(null, Le)), ve(Z, Le), B.current) return;
|
|
9019
|
+
if (ge(), !L.current && q.current.includes(Z.type)) {
|
|
9020
|
+
Ve(Z);
|
|
9005
9021
|
return;
|
|
9006
9022
|
}
|
|
9007
|
-
let
|
|
9008
|
-
if (L.current && !f || !L.current &&
|
|
9009
|
-
|
|
9023
|
+
let Ge = xe() - S.current;
|
|
9024
|
+
if (L.current && !f || !L.current && Ge >= E.current) {
|
|
9025
|
+
Ve(Z);
|
|
9010
9026
|
return;
|
|
9011
9027
|
}
|
|
9012
|
-
O.current = !1, R.current = 0, w.current = 0,
|
|
9013
|
-
}, ia =
|
|
9014
|
-
|
|
9015
|
-
let
|
|
9016
|
-
|
|
9028
|
+
O.current = !1, R.current = 0, w.current = 0, ye(), b && v && ce.current();
|
|
9029
|
+
}, ia = ie(ta);
|
|
9030
|
+
ue(() => {
|
|
9031
|
+
let Z = z.current;
|
|
9032
|
+
Z && Oe(), _ > 0 ? ia.current = mi(ta, _) : ia.current = ta, Z && Ne();
|
|
9017
9033
|
}, [_, m, p, _e, b, v]);
|
|
9018
|
-
let
|
|
9019
|
-
pa &&
|
|
9020
|
-
|
|
9034
|
+
let Ne = () => {
|
|
9035
|
+
pa && $.current && (z.current || (V.current.forEach((Z) => {
|
|
9036
|
+
$.current.addEventListener(Z, ia.current, { capture: !0, passive: !0 });
|
|
9021
9037
|
}), z.current = !0));
|
|
9022
|
-
},
|
|
9023
|
-
pa &&
|
|
9024
|
-
|
|
9038
|
+
}, Oe = (Z = !1) => {
|
|
9039
|
+
pa && $.current && (z.current || Z) && (V.current.forEach((Ge) => {
|
|
9040
|
+
$.current.removeEventListener(Ge, ia.current, { capture: !0 });
|
|
9025
9041
|
}), z.current = !1);
|
|
9026
|
-
}, Xe = H((
|
|
9042
|
+
}, Xe = H((Z) => Y.current ? !1 : (ge(), Ne(), L.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, h.current && !Z && h.current.start(), ye(), !0), [G, L, Y, E, h]), oa = H((Z) => Y.current ? !1 : (ge(), Ne(), A.current = xe(), F.current += xe() - T.current, P.current += xe() - T.current, F.current = 0, L.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, h.current && !Z && h.current.reset(), y || ye(), !0), [G, L, E, y, Y, h]), ga = H((Z) => Y.current ? !1 : (ge(), Ne(), (L.current || B.current) && Te(), L.current = !1, B.current = !1, O.current = !1, R.current = 0, w.current = 0, A.current = xe(), h.current && !Z && h.current.activate(), ye(), !0), [G, L, B, Y, E, h]), Ze = H((Z = !1) => Y.current || O.current ? !1 : (R.current = ya(), O.current = !0, Oe(), ge(), h.current && !Z && h.current.pause(), !0), [G, Y, h]), ea = H((Z = !1) => Y.current || !O.current ? !1 : (O.current = !1, B.current || Ne(), L.current || ye(R.current), w.current && (w.current = xe()), h.current && !Z && h.current.resume(), !0), [G, E, Y, R, h]), Ja = H((Z, Ge) => (h.current ? (Ge && Ee.current(Z, Le), h.current.message(Z)) : Ge && Ee.current(Z, Le), !0), [s]), Na = H(() => L.current, [L]), La = H(() => B.current, [B]), Za = H(() => h.current ? h.current.isLeader : null, [h]), Ka = H(() => h.current ? h.current.isLastActive : null, [h]), da = H(() => h.current ? h.current.token : null, [h]), ya = H(() => {
|
|
9027
9043
|
if (O.current) return R.current;
|
|
9028
|
-
let
|
|
9044
|
+
let Z = R.current ? R.current : N.current + E.current, Ge = S.current ? xe() - S.current : 0, na = Math.floor(Z - Ge);
|
|
9029
9045
|
return na < 0 ? 0 : Math.abs(na);
|
|
9030
|
-
}, [E, N, B, R, S]), Qe = H(() => Math.round(
|
|
9031
|
-
let
|
|
9032
|
-
return
|
|
9046
|
+
}, [E, N, B, R, S]), Qe = H(() => Math.round(xe() - A.current), [A]), ca = H(() => Math.round(xe() - M.current), [M]), fa = H(() => T.current ? new Date(T.current) : null, [T]), Ga = H(() => S.current ? new Date(S.current) : null, [S]), Ma = H(() => L.current ? Math.round(xe() - T.current + F.current) : Math.round(F.current), [T, F]), Ua = H(() => L.current ? Math.round(xe() - T.current + P.current) : Math.round(P.current), [T, P]), Ra = H(() => {
|
|
9047
|
+
let Z = Math.round(Qe() - Ma());
|
|
9048
|
+
return Z >= 0 ? Z : 0;
|
|
9033
9049
|
}, [T, F]), Pa = H(() => {
|
|
9034
|
-
let
|
|
9035
|
-
return
|
|
9050
|
+
let Z = Math.round(ca() - Ua());
|
|
9051
|
+
return Z >= 0 ? Z : 0;
|
|
9036
9052
|
}, [T, F]);
|
|
9037
|
-
|
|
9053
|
+
ue(() => {
|
|
9038
9054
|
if (p > 0 && m > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
|
|
9039
9055
|
g && ds(g);
|
|
9040
|
-
let
|
|
9041
|
-
h.current && h.current.close(),
|
|
9056
|
+
let Z = () => {
|
|
9057
|
+
h.current && h.current.close(), ve.cancel && ve.cancel(), ge(), Oe(!0);
|
|
9042
9058
|
};
|
|
9043
|
-
return pa && window.addEventListener("beforeunload",
|
|
9044
|
-
pa && window.removeEventListener("beforeunload",
|
|
9059
|
+
return pa && window.addEventListener("beforeunload", Z), () => {
|
|
9060
|
+
pa && window.removeEventListener("beforeunload", Z), h.current && h.current.close(), ve.cancel && ve.cancel(), ge(), Oe(!0);
|
|
9045
9061
|
};
|
|
9046
|
-
}, []),
|
|
9062
|
+
}, []), ue(() => {
|
|
9047
9063
|
h.current && h.current.close(), b ? h.current = new Us({ channelName: C, leaderElection: x, onPrompt: () => {
|
|
9048
|
-
|
|
9064
|
+
ze();
|
|
9049
9065
|
}, onIdle: () => {
|
|
9050
|
-
|
|
9066
|
+
De();
|
|
9051
9067
|
}, onActive: () => {
|
|
9052
|
-
|
|
9053
|
-
}, onMessage: (
|
|
9054
|
-
|
|
9068
|
+
Te();
|
|
9069
|
+
}, onMessage: (Z) => {
|
|
9070
|
+
Ee.current(Z, Le);
|
|
9055
9071
|
}, start: Xe, reset: oa, activate: ga, pause: Ze, resume: ea }) : h.current = null;
|
|
9056
|
-
}, [b, C, x,
|
|
9057
|
-
W.current || (
|
|
9058
|
-
}, [y, c, D, W]),
|
|
9072
|
+
}, [b, C, x, be, Ce, pe, Ee, Xe, oa, Ze, ea]), ue(() => {
|
|
9073
|
+
W.current || (ge(), Oe(!0)), !(y || D) && (c ? Xe() : Ne());
|
|
9074
|
+
}, [y, c, D, W]), ue(() => {
|
|
9059
9075
|
if (!W.current) {
|
|
9060
|
-
let
|
|
9061
|
-
if (
|
|
9062
|
-
c ? Xe() :
|
|
9076
|
+
let Z = [...(/* @__PURE__ */ new Set([...u, ...U])).values()];
|
|
9077
|
+
if (Oe(), V.current = Z, $.current = r, q.current = U, y || D) return;
|
|
9078
|
+
c ? Xe() : Ne();
|
|
9063
9079
|
}
|
|
9064
|
-
}, [r, JSON.stringify(u), JSON.stringify(U), W, D, y, c]),
|
|
9080
|
+
}, [r, JSON.stringify(u), JSON.stringify(U), W, D, y, c]), ue(() => {
|
|
9065
9081
|
W.current && (W.current = !1);
|
|
9066
9082
|
}, [W]);
|
|
9067
|
-
let
|
|
9068
|
-
d =
|
|
9069
|
-
}, setOnPrompt: (
|
|
9070
|
-
l =
|
|
9071
|
-
}, setOnIdle: (
|
|
9072
|
-
t =
|
|
9073
|
-
}, setOnActive: (
|
|
9074
|
-
i =
|
|
9075
|
-
}, setOnAction: (
|
|
9076
|
-
o =
|
|
9077
|
-
}, setOnMessage: (
|
|
9078
|
-
s =
|
|
9083
|
+
let Le = { message: Ja, start: Xe, reset: oa, activate: ga, pause: Ze, resume: ea, isIdle: Na, isPrompted: La, isLeader: Za, isLastActiveTab: Ka, getTabId: da, getRemainingTime: ya, getElapsedTime: Qe, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: Ga, getIdleTime: Ma, getTotalIdleTime: Ua, getActiveTime: Ra, getTotalActiveTime: Pa, setOnPresenceChange: (Z) => {
|
|
9084
|
+
d = Z, ae.current = Z;
|
|
9085
|
+
}, setOnPrompt: (Z) => {
|
|
9086
|
+
l = Z, be.current = Z;
|
|
9087
|
+
}, setOnIdle: (Z) => {
|
|
9088
|
+
t = Z, Ce.current = Z;
|
|
9089
|
+
}, setOnActive: (Z) => {
|
|
9090
|
+
i = Z, pe.current = Z;
|
|
9091
|
+
}, setOnAction: (Z) => {
|
|
9092
|
+
o = Z, _e.current = Z;
|
|
9093
|
+
}, setOnMessage: (Z) => {
|
|
9094
|
+
s = Z, Ee.current = Z;
|
|
9079
9095
|
} };
|
|
9080
|
-
return
|
|
9096
|
+
return Le;
|
|
9081
9097
|
}
|
|
9082
9098
|
var Ts = jt(null);
|
|
9083
9099
|
Ts.Consumer;
|
|
@@ -9094,7 +9110,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9094
9110
|
queryFn: async () => await n(),
|
|
9095
9111
|
select: (U) => {
|
|
9096
9112
|
const { data: d } = U;
|
|
9097
|
-
return
|
|
9113
|
+
return Se(d, (t) => {
|
|
9098
9114
|
const { internal_notifications_language: i } = t;
|
|
9099
9115
|
return {
|
|
9100
9116
|
...t,
|
|
@@ -9191,7 +9207,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9191
9207
|
return r({ uid: g, params: U });
|
|
9192
9208
|
},
|
|
9193
9209
|
select: (g) => {
|
|
9194
|
-
const { data: U } = g, d = U.data?.filter((t) => t.is_active === 1), l =
|
|
9210
|
+
const { data: U } = g, d = U.data?.filter((t) => t.is_active === 1), l = Se(d, (t) => {
|
|
9195
9211
|
const i = We(t.news_language, {
|
|
9196
9212
|
language: u
|
|
9197
9213
|
}) || t.news_language[0];
|
|
@@ -9227,7 +9243,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9227
9243
|
},
|
|
9228
9244
|
...e
|
|
9229
9245
|
});
|
|
9230
|
-
},
|
|
9246
|
+
}, we = () => {
|
|
9231
9247
|
const { client: e } = se(), n = H(async () => await e.get("/payment/list"), [e]), a = H(
|
|
9232
9248
|
async ({ paramsData: c }) => await e.get("/thirdPartyPayment/list", {
|
|
9233
9249
|
params: { ...c }
|
|
@@ -9278,11 +9294,11 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9278
9294
|
[e]
|
|
9279
9295
|
), U = H(
|
|
9280
9296
|
async ({ paramsData: c } = {}) => {
|
|
9281
|
-
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {}, v =
|
|
9297
|
+
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {}, v = Me().format("HH:mm:ss"), x = Me().subtract(24, "hour").format("HH:mm:ss");
|
|
9282
9298
|
return await e.get("/report/deposit", {
|
|
9283
9299
|
params: {
|
|
9284
|
-
str_date: `${
|
|
9285
|
-
end_date: `${
|
|
9300
|
+
str_date: `${Me(y).format("YYYY-MM-DD")} ${v}`,
|
|
9301
|
+
end_date: `${Me(f).format("YYYY-MM-DD")} ${x}`,
|
|
9286
9302
|
limit: b,
|
|
9287
9303
|
page: C
|
|
9288
9304
|
}
|
|
@@ -9291,11 +9307,11 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9291
9307
|
[e]
|
|
9292
9308
|
), d = H(
|
|
9293
9309
|
async ({ paramsData: c }) => {
|
|
9294
|
-
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {}, v =
|
|
9310
|
+
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {}, v = Me().format("HH:mm:ss"), x = Me().subtract(24, "hour").format("HH:mm:ss");
|
|
9295
9311
|
return await e.get("report/eventsreward", {
|
|
9296
9312
|
params: {
|
|
9297
|
-
str_date: `${
|
|
9298
|
-
end_date: `${
|
|
9313
|
+
str_date: `${Me(y).format("YYYY-MM-DD")} ${v}`,
|
|
9314
|
+
end_date: `${Me(f).format("YYYY-MM-DD")} ${x}`,
|
|
9299
9315
|
limit: b,
|
|
9300
9316
|
page: C
|
|
9301
9317
|
}
|
|
@@ -9307,8 +9323,8 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9307
9323
|
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {};
|
|
9308
9324
|
return await e.get("/report/withdraw", {
|
|
9309
9325
|
params: {
|
|
9310
|
-
str_date: `${
|
|
9311
|
-
end_date: `${
|
|
9326
|
+
str_date: `${Me(y).format("YYYY-MM-DD")} 12:00:00`,
|
|
9327
|
+
end_date: `${Me(f).format("YYYY-MM-DD")} 11:59:59`,
|
|
9312
9328
|
limit: b,
|
|
9313
9329
|
page: C
|
|
9314
9330
|
}
|
|
@@ -9320,8 +9336,8 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9320
9336
|
const { str_date: y, end_date: f, limit: b = 25, current_page: C } = c || {};
|
|
9321
9337
|
return await e.get("/report/other", {
|
|
9322
9338
|
params: {
|
|
9323
|
-
str_date: `${
|
|
9324
|
-
end_date: `${
|
|
9339
|
+
str_date: `${Me(y).format("YYYY-MM-DD")} 12:00:00`,
|
|
9340
|
+
end_date: `${Me(f).format("YYYY-MM-DD")} 11:59:59`,
|
|
9325
9341
|
limit: b,
|
|
9326
9342
|
page: C
|
|
9327
9343
|
}
|
|
@@ -9433,21 +9449,21 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9433
9449
|
otherTransactionApi: t
|
|
9434
9450
|
};
|
|
9435
9451
|
}, Ds = ({ options: e } = {}) => {
|
|
9436
|
-
const { depositApiV1: n } =
|
|
9452
|
+
const { depositApiV1: n } = we();
|
|
9437
9453
|
return Q({
|
|
9438
9454
|
queryKey: ["depositV1"],
|
|
9439
9455
|
queryFn: n,
|
|
9440
9456
|
...e
|
|
9441
9457
|
});
|
|
9442
9458
|
}, Es = ({ paramsData: e, options: n } = {}) => {
|
|
9443
|
-
const { depositApiV2: a } =
|
|
9459
|
+
const { depositApiV2: a } = we();
|
|
9444
9460
|
return Q({
|
|
9445
9461
|
queryKey: ["depositV2", e],
|
|
9446
9462
|
queryFn: () => a({ paramsData: e }),
|
|
9447
9463
|
select: (r) => {
|
|
9448
|
-
const { third_party: u, bank: g, vip: U } = r, d =
|
|
9464
|
+
const { third_party: u, bank: g, vip: U } = r, d = Se(u, (l) => ({
|
|
9449
9465
|
...l,
|
|
9450
|
-
providerList:
|
|
9466
|
+
providerList: Se(l.providers, (t) => ({
|
|
9451
9467
|
...t,
|
|
9452
9468
|
providerUid: t.uid,
|
|
9453
9469
|
providerImageUrl: `${qe}/paymentIcon/${Ni(t.provider_name)}.png`,
|
|
@@ -9465,112 +9481,112 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9465
9481
|
...n
|
|
9466
9482
|
});
|
|
9467
9483
|
}, Ns = ({ options: e } = {}) => {
|
|
9468
|
-
const { depositApi: n } =
|
|
9484
|
+
const { depositApi: n } = we();
|
|
9469
9485
|
return ee({
|
|
9470
9486
|
mutationKey: ["depositAction"],
|
|
9471
9487
|
mutationFn: async (a) => n(a),
|
|
9472
9488
|
...e
|
|
9473
9489
|
});
|
|
9474
9490
|
}, Ls = ({ options: e } = {}) => {
|
|
9475
|
-
const { withdrawApi: n } =
|
|
9491
|
+
const { withdrawApi: n } = we();
|
|
9476
9492
|
return ee({
|
|
9477
9493
|
mutationKey: ["withdrawAction"],
|
|
9478
9494
|
mutationFn: async (a) => n(a),
|
|
9479
9495
|
...e
|
|
9480
9496
|
});
|
|
9481
9497
|
}, Gs = ({ paramsData: e, options: n } = {}) => {
|
|
9482
|
-
const { depositTransactionApi: a } =
|
|
9498
|
+
const { depositTransactionApi: a } = we();
|
|
9483
9499
|
return Q({
|
|
9484
9500
|
queryKey: ["depositTransaction", e],
|
|
9485
9501
|
queryFn: () => a({ paramsData: e }),
|
|
9486
9502
|
...n
|
|
9487
9503
|
});
|
|
9488
9504
|
}, Ms = ({ paramsData: e, options: n } = {}) => {
|
|
9489
|
-
const { eventTransactionApi: a } =
|
|
9505
|
+
const { eventTransactionApi: a } = we();
|
|
9490
9506
|
return Q({
|
|
9491
9507
|
queryKey: ["eventTransaction", e],
|
|
9492
9508
|
queryFn: () => a({ paramsData: e }),
|
|
9493
9509
|
...n
|
|
9494
9510
|
});
|
|
9495
9511
|
}, Rs = ({ options: e } = {}) => {
|
|
9496
|
-
const { bankDepositApi: n } =
|
|
9512
|
+
const { bankDepositApi: n } = we();
|
|
9497
9513
|
return ee({
|
|
9498
9514
|
mutationKey: ["bankDeposit"],
|
|
9499
9515
|
mutationFn: async (a) => n(a),
|
|
9500
9516
|
...e
|
|
9501
9517
|
});
|
|
9502
9518
|
}, Ps = ({ paramsData: e, options: n } = {}) => {
|
|
9503
|
-
const { withdrawTransactionApi: a } =
|
|
9519
|
+
const { withdrawTransactionApi: a } = we();
|
|
9504
9520
|
return Q({
|
|
9505
9521
|
queryKey: ["withdrawTransaction", e],
|
|
9506
9522
|
queryFn: () => a({ paramsData: e }),
|
|
9507
9523
|
...n
|
|
9508
9524
|
});
|
|
9509
9525
|
}, Cu = ({ options: e } = {}) => {
|
|
9510
|
-
const { redeemCodeDepositApi: n } =
|
|
9526
|
+
const { redeemCodeDepositApi: n } = we();
|
|
9511
9527
|
return ee({
|
|
9512
9528
|
mutationKey: ["redeemCodeDeposit"],
|
|
9513
9529
|
mutationFn: async (a) => n(a),
|
|
9514
9530
|
...e
|
|
9515
9531
|
});
|
|
9516
9532
|
}, vu = ({ options: e } = {}) => {
|
|
9517
|
-
const { invoiceApi: n } =
|
|
9533
|
+
const { invoiceApi: n } = we();
|
|
9518
9534
|
return ee({
|
|
9519
9535
|
mutationKey: ["invoiceAction"],
|
|
9520
9536
|
mutationFn: async (a) => n(a),
|
|
9521
9537
|
...e
|
|
9522
9538
|
});
|
|
9523
9539
|
}, hu = ({ options: e } = {}) => {
|
|
9524
|
-
const { updateInvoiceApi: n } =
|
|
9540
|
+
const { updateInvoiceApi: n } = we();
|
|
9525
9541
|
return ee({
|
|
9526
9542
|
mutationKey: ["updateInvoiceAction"],
|
|
9527
9543
|
mutationFn: async (a) => n(a),
|
|
9528
9544
|
...e
|
|
9529
9545
|
});
|
|
9530
9546
|
}, Tu = ({ options: e, paramsData: n } = {}) => {
|
|
9531
|
-
const { transactionRecordApi: a } =
|
|
9547
|
+
const { transactionRecordApi: a } = we();
|
|
9532
9548
|
return Q({
|
|
9533
9549
|
queryKey: ["transactionRecord", "deposit"],
|
|
9534
9550
|
queryFn: () => a(n, "deposit"),
|
|
9535
9551
|
...e
|
|
9536
9552
|
});
|
|
9537
9553
|
}, ku = ({ options: e, paramsData: n } = {}) => {
|
|
9538
|
-
const { transactionRecordApi: a } =
|
|
9554
|
+
const { transactionRecordApi: a } = we();
|
|
9539
9555
|
return Q({
|
|
9540
9556
|
queryKey: ["transactionRecord", "withdraw"],
|
|
9541
9557
|
queryFn: () => a(n, "withdraw"),
|
|
9542
9558
|
...e
|
|
9543
9559
|
});
|
|
9544
9560
|
}, xu = ({ options: e, paramsData: n } = {}) => {
|
|
9545
|
-
const { transactionRecordApi: a } =
|
|
9561
|
+
const { transactionRecordApi: a } = we();
|
|
9546
9562
|
return Q({
|
|
9547
9563
|
queryKey: ["transactionRecord", "event"],
|
|
9548
9564
|
queryFn: () => a(n, "event"),
|
|
9549
9565
|
...e
|
|
9550
9566
|
});
|
|
9551
9567
|
}, Su = ({ options: e, paramsData: n } = {}) => {
|
|
9552
|
-
const { transactionRecordApi: a } =
|
|
9568
|
+
const { transactionRecordApi: a } = we();
|
|
9553
9569
|
return Q({
|
|
9554
9570
|
queryKey: ["transactionRecord", "rebate"],
|
|
9555
9571
|
queryFn: () => a(n, "rebate"),
|
|
9556
9572
|
...e
|
|
9557
9573
|
});
|
|
9558
9574
|
}, Du = ({ options: e, paramsData: n } = {}) => {
|
|
9559
|
-
const { treasureRecordApi: a } =
|
|
9575
|
+
const { treasureRecordApi: a } = we();
|
|
9560
9576
|
return Q({
|
|
9561
9577
|
queryKey: ["treasureRecord", n],
|
|
9562
9578
|
queryFn: () => a(n),
|
|
9563
9579
|
...e
|
|
9564
9580
|
});
|
|
9565
9581
|
}, Eu = ({ options: e, paramsData: n } = {}) => {
|
|
9566
|
-
const { snCashRecordApi: a } =
|
|
9582
|
+
const { snCashRecordApi: a } = we();
|
|
9567
9583
|
return Q({
|
|
9568
9584
|
queryKey: ["snCashRecord", n],
|
|
9569
9585
|
queryFn: () => a(n),
|
|
9570
9586
|
...e
|
|
9571
9587
|
});
|
|
9572
9588
|
}, Nu = ({ options: e, paramsData: n } = {}) => {
|
|
9573
|
-
const { otherTransactionApi: a } =
|
|
9589
|
+
const { otherTransactionApi: a } = we();
|
|
9574
9590
|
return Q({
|
|
9575
9591
|
queryKey: ["otherTransaction", n],
|
|
9576
9592
|
queryFn: () => a({ paramsData: n }),
|
|
@@ -9602,7 +9618,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9602
9618
|
}, ur = "3.8.0", ws = ur, Va = typeof Buffer == "function", wn = typeof TextDecoder == "function" ? new TextDecoder("utf-8", { ignoreBOM: !0 }) : void 0, Fn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, Fs = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Xa = Array.prototype.slice.call(Fs), ut = ((e) => {
|
|
9603
9619
|
let n = {};
|
|
9604
9620
|
return e.forEach((a, r) => n[a] = r), n;
|
|
9605
|
-
})(Xa), As = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/,
|
|
9621
|
+
})(Xa), As = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Ae = String.fromCharCode.bind(String), An = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), pr = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (n) => n == "+" ? "-" : "_"), gr = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), dr = (e) => {
|
|
9606
9622
|
let n, a, r, u, g = "";
|
|
9607
9623
|
const U = e.length % 3;
|
|
9608
9624
|
for (let d = 0; d < e.length; ) {
|
|
@@ -9614,25 +9630,25 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9614
9630
|
}, Di = typeof btoa == "function" ? (e) => btoa(e) : Va ? (e) => Buffer.from(e, "binary").toString("base64") : dr, gi = Va ? (e) => Buffer.from(e).toString("base64") : (e) => {
|
|
9615
9631
|
let a = [];
|
|
9616
9632
|
for (let r = 0, u = e.length; r < u; r += 4096)
|
|
9617
|
-
a.push(
|
|
9633
|
+
a.push(Ae.apply(null, e.subarray(r, r + 4096)));
|
|
9618
9634
|
return Di(a.join(""));
|
|
9619
9635
|
}, $t = (e, n = !1) => n ? pr(gi(e)) : gi(e), Os = (e) => {
|
|
9620
9636
|
if (e.length < 2) {
|
|
9621
9637
|
var n = e.charCodeAt(0);
|
|
9622
|
-
return n < 128 ? e : n < 2048 ?
|
|
9638
|
+
return n < 128 ? e : n < 2048 ? Ae(192 | n >>> 6) + Ae(128 | n & 63) : Ae(224 | n >>> 12 & 15) + Ae(128 | n >>> 6 & 63) + Ae(128 | n & 63);
|
|
9623
9639
|
} else {
|
|
9624
9640
|
var n = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
|
|
9625
|
-
return
|
|
9641
|
+
return Ae(240 | n >>> 18 & 7) + Ae(128 | n >>> 12 & 63) + Ae(128 | n >>> 6 & 63) + Ae(128 | n & 63);
|
|
9626
9642
|
}
|
|
9627
9643
|
}, Bs = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, cr = (e) => e.replace(Bs, Os), On = Va ? (e) => Buffer.from(e, "utf8").toString("base64") : Fn ? (e) => gi(Fn.encode(e)) : (e) => Di(cr(e)), za = (e, n = !1) => n ? pr(On(e)) : On(e), Bn = (e) => za(e, !0), Hs = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, Ws = (e) => {
|
|
9628
9644
|
switch (e.length) {
|
|
9629
9645
|
case 4:
|
|
9630
9646
|
var n = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), a = n - 65536;
|
|
9631
|
-
return
|
|
9647
|
+
return Ae((a >>> 10) + 55296) + Ae((a & 1023) + 56320);
|
|
9632
9648
|
case 3:
|
|
9633
|
-
return
|
|
9649
|
+
return Ae((15 & e.charCodeAt(0)) << 12 | (63 & e.charCodeAt(1)) << 6 | 63 & e.charCodeAt(2));
|
|
9634
9650
|
default:
|
|
9635
|
-
return
|
|
9651
|
+
return Ae((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
|
|
9636
9652
|
}
|
|
9637
9653
|
}, fr = (e) => e.replace(Hs, Ws), _r = (e) => {
|
|
9638
9654
|
if (e = e.replace(/\s+/g, ""), !As.test(e))
|
|
@@ -9640,7 +9656,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9640
9656
|
e += "==".slice(2 - (e.length & 3));
|
|
9641
9657
|
let n, a, r, u = [];
|
|
9642
9658
|
for (let g = 0; g < e.length; )
|
|
9643
|
-
n = ut[e.charAt(g++)] << 18 | ut[e.charAt(g++)] << 12 | (a = ut[e.charAt(g++)]) << 6 | (r = ut[e.charAt(g++)]), a === 64 ? u.push(
|
|
9659
|
+
n = ut[e.charAt(g++)] << 18 | ut[e.charAt(g++)] << 12 | (a = ut[e.charAt(g++)]) << 6 | (r = ut[e.charAt(g++)]), a === 64 ? u.push(Ae(n >> 16 & 255)) : r === 64 ? u.push(Ae(n >> 16 & 255, n >> 8 & 255)) : u.push(Ae(n >> 16 & 255, n >> 8 & 255, n & 255));
|
|
9644
9660
|
return u.join("");
|
|
9645
9661
|
}, Ei = typeof atob == "function" ? (e) => atob(gr(e)) : Va ? (e) => Buffer.from(e, "base64").toString("binary") : _r, yr = Va ? (e) => An(Buffer.from(e, "base64")) : (e) => An(Ei(e).split("").map((n) => n.charCodeAt(0))), Ur = (e) => yr(br(e)), zs = Va ? (e) => Buffer.from(e, "base64").toString("utf8") : wn ? (e) => wn.decode(yr(e)) : (e) => fr(Ei(e)), br = (e) => gr(e.replace(/[-_]/g, (n) => n == "-" ? "+" : "/")), di = (e) => zs(br(e)), Is = (e) => {
|
|
9646
9662
|
if (typeof e != "string")
|
|
@@ -9794,7 +9810,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9794
9810
|
},
|
|
9795
9811
|
select: (r) => {
|
|
9796
9812
|
try {
|
|
9797
|
-
const u =
|
|
9813
|
+
const u = Se(j(r, "data.data", []), (g) => {
|
|
9798
9814
|
const {
|
|
9799
9815
|
wagering_restricted_amount: U,
|
|
9800
9816
|
claimed_amount: d
|
|
@@ -9932,7 +9948,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9932
9948
|
last_page: j(d, "last_page", 1)
|
|
9933
9949
|
};
|
|
9934
9950
|
return {
|
|
9935
|
-
list:
|
|
9951
|
+
list: Se(j(d, "data", []), (i) => {
|
|
9936
9952
|
const o = We(i.treasure_copywriting, {
|
|
9937
9953
|
language: u
|
|
9938
9954
|
});
|
|
@@ -9966,7 +9982,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9966
9982
|
queryKey: ["vipInfo"],
|
|
9967
9983
|
queryFn: async () => r(),
|
|
9968
9984
|
select: (u) => {
|
|
9969
|
-
const { data: g } = u, U = j(g, "data", []), d =
|
|
9985
|
+
const { data: g } = u, U = j(g, "data", []), d = Se(U, (t) => ({
|
|
9970
9986
|
currentWager: t.wagering || t.value,
|
|
9971
9987
|
currentStatus: t.status,
|
|
9972
9988
|
currentOverflow: t.promotion_overflow,
|
|
@@ -9979,7 +9995,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9979
9995
|
currentType: g.type,
|
|
9980
9996
|
currentOverflow: g.promotion_overflow,
|
|
9981
9997
|
nextLevel: g.promotion_level,
|
|
9982
|
-
typeList:
|
|
9998
|
+
typeList: Se(d, (t) => t.type),
|
|
9983
9999
|
currentWagerKeyBy: l
|
|
9984
10000
|
};
|
|
9985
10001
|
},
|
|
@@ -9995,14 +10011,14 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
9995
10011
|
},
|
|
9996
10012
|
select: (u) => {
|
|
9997
10013
|
const g = Ye(u) ? u : u.data;
|
|
9998
|
-
return
|
|
10014
|
+
return Se(g, (d) => {
|
|
9999
10015
|
const {
|
|
10000
10016
|
vip_criteria: l,
|
|
10001
10017
|
vip_payment_tags: t,
|
|
10002
10018
|
vip_withdrawal_rate: i,
|
|
10003
10019
|
rebate_range: o,
|
|
10004
10020
|
vip_game_rebate: s
|
|
10005
|
-
} = d, p = We(l, { currency_code: a }) || {}, m = We(t, { currency_code: a }) || {}, _ = i, c =
|
|
10021
|
+
} = d, p = We(l, { currency_code: a }) || {}, m = We(t, { currency_code: a }) || {}, _ = i, c = Se(o, (b) => ({
|
|
10006
10022
|
...b,
|
|
10007
10023
|
rebateRange: JSON.parse(b.rebate_range)
|
|
10008
10024
|
})), y = j(s, "[0]", {}), f = {
|
|
@@ -10027,13 +10043,13 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
10027
10043
|
}) => ({
|
|
10028
10044
|
vipList: Xs({ options: e.vipList })
|
|
10029
10045
|
}), Ou = ({ onMessage: e } = {}) => {
|
|
10030
|
-
const [n, a] = at(!1), [r, u] = at([]), g =
|
|
10046
|
+
const [n, a] = at(!1), [r, u] = at([]), g = ie(e);
|
|
10031
10047
|
g.current = e;
|
|
10032
10048
|
const U = H((o) => {
|
|
10033
10049
|
const s = (/* @__PURE__ */ new Date()).toLocaleTimeString("zh-TW");
|
|
10034
10050
|
u((p) => [...p, { time: s, message: o }]);
|
|
10035
10051
|
}, []);
|
|
10036
|
-
|
|
10052
|
+
ue(() => {
|
|
10037
10053
|
if (window.chrome && window.chrome.webview) {
|
|
10038
10054
|
a(!0), U("WebView2 環境已就緒");
|
|
10039
10055
|
const o = (s) => {
|
|
@@ -10194,7 +10210,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
10194
10210
|
tempMaintenanceEndTime: o,
|
|
10195
10211
|
platformImageUrl: s
|
|
10196
10212
|
};
|
|
10197
|
-
}, am = (e = {}) => !Yt(e) ||
|
|
10213
|
+
}, am = (e = {}) => !Yt(e) || Re(e) ? [] : Xt(e), Hn = (e = []) => !Ye(e) || Re(e) ? [] : Se(e, "platform"), tm = (e = []) => !Ye(e) || Re(e) ? [] : Se(e, "gameTypeName"), im = (e = []) => !Ye(e) || Re(e) ? [] : Se(e, "game_subtype"), nm = (e = {}) => !Yt(e) || Re(e) ? [] : Xt(e), rm = (e = [], n = []) => !Ye(e) || Re(e) ? {} : !Ye(n) || Re(n) ? {} : e.reduce((a, r) => {
|
|
10198
10214
|
const u = n.map((g) => g.game_subtype);
|
|
10199
10215
|
return u.forEach((g) => {
|
|
10200
10216
|
a[g] = a[g] || [];
|
|
@@ -10205,7 +10221,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
10205
10221
|
gameList: a = {},
|
|
10206
10222
|
allGameTypes: r = [],
|
|
10207
10223
|
allPlatforms: u = []
|
|
10208
|
-
}) => !Ye(e) || !Ye(n) ? {} :
|
|
10224
|
+
}) => !Ye(e) || !Ye(n) ? {} : Re(a) ? {} : e.reduce((g, U) => {
|
|
10209
10225
|
const d = nl({
|
|
10210
10226
|
gameTypeName: U,
|
|
10211
10227
|
platforms: n,
|
|
@@ -10213,7 +10229,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
10213
10229
|
allGameTypes: r,
|
|
10214
10230
|
allPlatforms: u
|
|
10215
10231
|
});
|
|
10216
|
-
return
|
|
10232
|
+
return Re(d) || (g[U] = d), g;
|
|
10217
10233
|
}, {}), Wu = ({
|
|
10218
10234
|
types: e = [],
|
|
10219
10235
|
platforms: n = [],
|
|
@@ -10229,13 +10245,13 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
10229
10245
|
gamesOfType: l,
|
|
10230
10246
|
allPlatforms: r
|
|
10231
10247
|
});
|
|
10232
|
-
return
|
|
10248
|
+
return Re(s) ? i : { ...i, [o]: s };
|
|
10233
10249
|
}, {});
|
|
10234
|
-
return
|
|
10235
|
-
}, {}), om = (e = {}) => !Yt(e) ||
|
|
10250
|
+
return Re(t) || (g[U] = t), g;
|
|
10251
|
+
}, {}), om = (e = {}) => !Yt(e) || Re(e) ? {} : Object.values(e).reduce((a, r) => (Object.entries(r).forEach(([u, g]) => {
|
|
10236
10252
|
a[u] ? a[u] = [...a[u], ...g] : a[u] = g;
|
|
10237
10253
|
}), a), {}), sm = (e = {}) => {
|
|
10238
|
-
if (!Yt(e) ||
|
|
10254
|
+
if (!Yt(e) || Re(e)) return {};
|
|
10239
10255
|
const n = {};
|
|
10240
10256
|
for (const [a, r] of Object.entries(e)) {
|
|
10241
10257
|
n[a] = {};
|
|
@@ -10264,7 +10280,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
10264
10280
|
gameList: e,
|
|
10265
10281
|
allGameTypes: a,
|
|
10266
10282
|
allPlatforms: n
|
|
10267
|
-
}), f =
|
|
10283
|
+
}), f = Se(n, (M) => {
|
|
10268
10284
|
const A = `${qe}/${Qn}/${M.platformEnum}.png`;
|
|
10269
10285
|
return {
|
|
10270
10286
|
...M,
|
|
@@ -10313,7 +10329,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
10313
10329
|
favorite: c
|
|
10314
10330
|
}
|
|
10315
10331
|
};
|
|
10316
|
-
}, zu = (e = []) => !Ye(e) ||
|
|
10332
|
+
}, zu = (e = []) => !Ye(e) || Re(e) ? [] : Xt(e, (n) => Re(n.SubPlatformEnum) ? n : n.SubPlatformEnum.map((a) => ({
|
|
10317
10333
|
...n,
|
|
10318
10334
|
...a,
|
|
10319
10335
|
platform: a.SubPlatformEnum,
|
|
@@ -10339,7 +10355,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
10339
10355
|
},
|
|
10340
10356
|
user: { favorite: [] }
|
|
10341
10357
|
}, pm = ({ enabled: e = !0 } = {}) => {
|
|
10342
|
-
const { getToken: n } = se(), { userFavoriteGameApi: a, userGameListApi: r } =
|
|
10358
|
+
const { getToken: n } = se(), { userFavoriteGameApi: a, userGameListApi: r } = re(), { data: u, isLoading: g, error: U, refetch: d } = Q({
|
|
10343
10359
|
queryKey: ["gamesInfo"],
|
|
10344
10360
|
queryFn: async () => {
|
|
10345
10361
|
let l = {}, t = {};
|
|
@@ -36908,7 +36924,7 @@ const _u = ({ onIdle: e, onActive: n, onAction: a, timeout: r = 6e5 }) => hs({
|
|
|
36908
36924
|
autoFetch: n = !1,
|
|
36909
36925
|
mockData: a = !1
|
|
36910
36926
|
}) => {
|
|
36911
|
-
|
|
36927
|
+
ue(() => {
|
|
36912
36928
|
a && gm(!0);
|
|
36913
36929
|
}, [a]);
|
|
36914
36930
|
const r = pm({ enabled: n });
|
|
@@ -36946,7 +36962,7 @@ function Iu({
|
|
|
36946
36962
|
}
|
|
36947
36963
|
const Vu = ({ onFunction: e = () => {
|
|
36948
36964
|
}, buttonProps: n = {} } = {}) => {
|
|
36949
|
-
const { lineConfig: a } = se(), r =
|
|
36965
|
+
const { lineConfig: a } = se(), r = ie(!1), u = j(a, "liffId", ""), g = new URLSearchParams(window.location.search), U = g.get("line_login"), d = g.get("trans_code"), l = g.get("line_id"), t = g.get("line_name"), i = g.get("invite_code"), { mutate: o, isPending: s } = lr({
|
|
36950
36966
|
options: {
|
|
36951
36967
|
onSuccess: (m) => {
|
|
36952
36968
|
e(m);
|
|
@@ -36954,7 +36970,7 @@ const Vu = ({ onFunction: e = () => {
|
|
|
36954
36970
|
retry: !1
|
|
36955
36971
|
}
|
|
36956
36972
|
});
|
|
36957
|
-
|
|
36973
|
+
ue(() => {
|
|
36958
36974
|
r.current || U === "true" && l && t && (o({
|
|
36959
36975
|
trans_code: d,
|
|
36960
36976
|
line_id: l,
|
|
@@ -37002,14 +37018,14 @@ var cm = Object.defineProperty, Qt = Object.getOwnPropertySymbols, Sr = Object.p
|
|
|
37002
37018
|
};
|
|
37003
37019
|
var ka;
|
|
37004
37020
|
((e) => {
|
|
37005
|
-
const n = class
|
|
37021
|
+
const n = class te {
|
|
37006
37022
|
/*-- Constructor (low level) and fields --*/
|
|
37007
37023
|
// Creates a new QR Code with the given version number,
|
|
37008
37024
|
// error correction level, data codeword bytes, and mask number.
|
|
37009
37025
|
// This is a low-level API that most users should not use directly.
|
|
37010
37026
|
// A mid-level API is the encodeSegments() function.
|
|
37011
37027
|
constructor(l, t, i, o) {
|
|
37012
|
-
if (this.version = l, this.errorCorrectionLevel = t, this.modules = [], this.isFunction = [], l <
|
|
37028
|
+
if (this.version = l, this.errorCorrectionLevel = t, this.modules = [], this.isFunction = [], l < te.MIN_VERSION || l > te.MAX_VERSION)
|
|
37013
37029
|
throw new RangeError("Version value out of range");
|
|
37014
37030
|
if (o < -1 || o > 7)
|
|
37015
37031
|
throw new RangeError("Mask value out of range");
|
|
@@ -37039,7 +37055,7 @@ var ka;
|
|
|
37039
37055
|
// ecl argument if it can be done without increasing the version.
|
|
37040
37056
|
static encodeText(l, t) {
|
|
37041
37057
|
const i = e.QrSegment.makeSegments(l);
|
|
37042
|
-
return
|
|
37058
|
+
return te.encodeSegments(i, t);
|
|
37043
37059
|
}
|
|
37044
37060
|
// Returns a QR Code representing the given binary data at the given error correction level.
|
|
37045
37061
|
// This function always encodes using the binary segment mode, not any text mode. The maximum number of
|
|
@@ -37047,7 +37063,7 @@ var ka;
|
|
|
37047
37063
|
// The ECC level of the result may be higher than the ecl argument if it can be done without increasing the version.
|
|
37048
37064
|
static encodeBinary(l, t) {
|
|
37049
37065
|
const i = e.QrSegment.makeBytes(l);
|
|
37050
|
-
return
|
|
37066
|
+
return te.encodeSegments([i], t);
|
|
37051
37067
|
}
|
|
37052
37068
|
/*-- Static factory functions (mid level) --*/
|
|
37053
37069
|
// Returns a QR Code representing the given segments with the given encoding parameters.
|
|
@@ -37060,11 +37076,11 @@ var ka;
|
|
|
37060
37076
|
// between modes (such as alphanumeric and byte) to encode text in less space.
|
|
37061
37077
|
// This is a mid-level API; the high-level API is encodeText() and encodeBinary().
|
|
37062
37078
|
static encodeSegments(l, t, i = 1, o = 40, s = -1, p = !0) {
|
|
37063
|
-
if (!(
|
|
37079
|
+
if (!(te.MIN_VERSION <= i && i <= o && o <= te.MAX_VERSION) || s < -1 || s > 7)
|
|
37064
37080
|
throw new RangeError("Invalid value");
|
|
37065
37081
|
let m, _;
|
|
37066
37082
|
for (m = i; ; m++) {
|
|
37067
|
-
const b =
|
|
37083
|
+
const b = te.getNumDataCodewords(m, t) * 8, C = U.getTotalBits(l, m);
|
|
37068
37084
|
if (C <= b) {
|
|
37069
37085
|
_ = C;
|
|
37070
37086
|
break;
|
|
@@ -37072,8 +37088,8 @@ var ka;
|
|
|
37072
37088
|
if (m >= o)
|
|
37073
37089
|
throw new RangeError("Data too long");
|
|
37074
37090
|
}
|
|
37075
|
-
for (const b of [
|
|
37076
|
-
p && _ <=
|
|
37091
|
+
for (const b of [te.Ecc.MEDIUM, te.Ecc.QUARTILE, te.Ecc.HIGH])
|
|
37092
|
+
p && _ <= te.getNumDataCodewords(m, b) * 8 && (t = b);
|
|
37077
37093
|
let c = [];
|
|
37078
37094
|
for (const b of l) {
|
|
37079
37095
|
a(b.mode.modeBits, 4, c), a(b.numChars, b.mode.numCharCountBits(m), c);
|
|
@@ -37081,14 +37097,14 @@ var ka;
|
|
|
37081
37097
|
c.push(C);
|
|
37082
37098
|
}
|
|
37083
37099
|
u(c.length == _);
|
|
37084
|
-
const y =
|
|
37100
|
+
const y = te.getNumDataCodewords(m, t) * 8;
|
|
37085
37101
|
u(c.length <= y), a(0, Math.min(4, y - c.length), c), a(0, (8 - c.length % 8) % 8, c), u(c.length % 8 == 0);
|
|
37086
37102
|
for (let b = 236; c.length < y; b ^= 253)
|
|
37087
37103
|
a(b, 8, c);
|
|
37088
37104
|
let f = [];
|
|
37089
37105
|
for (; f.length * 8 < c.length; )
|
|
37090
37106
|
f.push(0);
|
|
37091
|
-
return c.forEach((b, C) => f[C >>> 3] |= b << 7 - (C & 7)), new
|
|
37107
|
+
return c.forEach((b, C) => f[C >>> 3] |= b << 7 - (C & 7)), new te(m, t, f, s);
|
|
37092
37108
|
}
|
|
37093
37109
|
/*-- Accessor methods --*/
|
|
37094
37110
|
// Returns the color of the module (pixel) at the given coordinates, which is false
|
|
@@ -37174,15 +37190,15 @@ var ka;
|
|
|
37174
37190
|
// codewords appended to it, based on this object's version and error correction level.
|
|
37175
37191
|
addEccAndInterleave(l) {
|
|
37176
37192
|
const t = this.version, i = this.errorCorrectionLevel;
|
|
37177
|
-
if (l.length !=
|
|
37193
|
+
if (l.length != te.getNumDataCodewords(t, i))
|
|
37178
37194
|
throw new RangeError("Invalid argument");
|
|
37179
|
-
const o =
|
|
37195
|
+
const o = te.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][t], s = te.ECC_CODEWORDS_PER_BLOCK[i.ordinal][t], p = Math.floor(te.getNumRawDataModules(t) / 8), m = o - p % o, _ = Math.floor(p / o);
|
|
37180
37196
|
let c = [];
|
|
37181
|
-
const y =
|
|
37197
|
+
const y = te.reedSolomonComputeDivisor(s);
|
|
37182
37198
|
for (let b = 0, C = 0; b < o; b++) {
|
|
37183
37199
|
let v = l.slice(C, C + _ - s + (b < m ? 0 : 1));
|
|
37184
37200
|
C += v.length;
|
|
37185
|
-
const x =
|
|
37201
|
+
const x = te.reedSolomonComputeRemainder(v, y);
|
|
37186
37202
|
b < m && v.push(0), c.push(v.concat(x));
|
|
37187
37203
|
}
|
|
37188
37204
|
let f = [];
|
|
@@ -37195,7 +37211,7 @@ var ka;
|
|
|
37195
37211
|
// Draws the given sequence of 8-bit codewords (data and error correction) onto the entire
|
|
37196
37212
|
// data area of this QR Code. Function modules need to be marked off before this is called.
|
|
37197
37213
|
drawCodewords(l) {
|
|
37198
|
-
if (l.length != Math.floor(
|
|
37214
|
+
if (l.length != Math.floor(te.getNumRawDataModules(this.version) / 8))
|
|
37199
37215
|
throw new RangeError("Invalid argument");
|
|
37200
37216
|
let t = 0;
|
|
37201
37217
|
for (let i = this.size - 1; i >= 1; i -= 2) {
|
|
@@ -37257,25 +37273,25 @@ var ka;
|
|
|
37257
37273
|
for (let s = 0; s < this.size; s++) {
|
|
37258
37274
|
let p = !1, m = 0, _ = [0, 0, 0, 0, 0, 0, 0];
|
|
37259
37275
|
for (let c = 0; c < this.size; c++)
|
|
37260
|
-
this.modules[s][c] == p ? (m++, m == 5 ? l +=
|
|
37261
|
-
l += this.finderPenaltyTerminateAndCount(p, m, _) *
|
|
37276
|
+
this.modules[s][c] == p ? (m++, m == 5 ? l += te.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, _), p || (l += this.finderPenaltyCountPatterns(_) * te.PENALTY_N3), p = this.modules[s][c], m = 1);
|
|
37277
|
+
l += this.finderPenaltyTerminateAndCount(p, m, _) * te.PENALTY_N3;
|
|
37262
37278
|
}
|
|
37263
37279
|
for (let s = 0; s < this.size; s++) {
|
|
37264
37280
|
let p = !1, m = 0, _ = [0, 0, 0, 0, 0, 0, 0];
|
|
37265
37281
|
for (let c = 0; c < this.size; c++)
|
|
37266
|
-
this.modules[c][s] == p ? (m++, m == 5 ? l +=
|
|
37267
|
-
l += this.finderPenaltyTerminateAndCount(p, m, _) *
|
|
37282
|
+
this.modules[c][s] == p ? (m++, m == 5 ? l += te.PENALTY_N1 : m > 5 && l++) : (this.finderPenaltyAddHistory(m, _), p || (l += this.finderPenaltyCountPatterns(_) * te.PENALTY_N3), p = this.modules[c][s], m = 1);
|
|
37283
|
+
l += this.finderPenaltyTerminateAndCount(p, m, _) * te.PENALTY_N3;
|
|
37268
37284
|
}
|
|
37269
37285
|
for (let s = 0; s < this.size - 1; s++)
|
|
37270
37286
|
for (let p = 0; p < this.size - 1; p++) {
|
|
37271
37287
|
const m = this.modules[s][p];
|
|
37272
|
-
m == this.modules[s][p + 1] && m == this.modules[s + 1][p] && m == this.modules[s + 1][p + 1] && (l +=
|
|
37288
|
+
m == this.modules[s][p + 1] && m == this.modules[s + 1][p] && m == this.modules[s + 1][p + 1] && (l += te.PENALTY_N2);
|
|
37273
37289
|
}
|
|
37274
37290
|
let t = 0;
|
|
37275
37291
|
for (const s of this.modules)
|
|
37276
37292
|
t = s.reduce((p, m) => p + (m ? 1 : 0), t);
|
|
37277
37293
|
const i = this.size * this.size, o = Math.ceil(Math.abs(t * 20 - i * 10) / i) - 1;
|
|
37278
|
-
return u(0 <= o && o <= 9), l += o *
|
|
37294
|
+
return u(0 <= o && o <= 9), l += o * te.PENALTY_N4, u(0 <= l && l <= 2568888), l;
|
|
37279
37295
|
}
|
|
37280
37296
|
/*-- Private helper functions --*/
|
|
37281
37297
|
// Returns an ascending list of positions of alignment patterns for this version number.
|
|
@@ -37296,7 +37312,7 @@ var ka;
|
|
|
37296
37312
|
// all function modules are excluded. This includes remainder bits, so it might not be a multiple of 8.
|
|
37297
37313
|
// The result is in the range [208, 29648]. This could be implemented as a 40-entry lookup table.
|
|
37298
37314
|
static getNumRawDataModules(l) {
|
|
37299
|
-
if (l <
|
|
37315
|
+
if (l < te.MIN_VERSION || l > te.MAX_VERSION)
|
|
37300
37316
|
throw new RangeError("Version number out of range");
|
|
37301
37317
|
let t = (16 * l + 128) * l + 64;
|
|
37302
37318
|
if (l >= 2) {
|
|
@@ -37309,7 +37325,7 @@ var ka;
|
|
|
37309
37325
|
// QR Code of the given version number and error correction level, with remainder bits discarded.
|
|
37310
37326
|
// This stateless pure function could be implemented as a (40*4)-cell lookup table.
|
|
37311
37327
|
static getNumDataCodewords(l, t) {
|
|
37312
|
-
return Math.floor(
|
|
37328
|
+
return Math.floor(te.getNumRawDataModules(l) / 8) - te.ECC_CODEWORDS_PER_BLOCK[t.ordinal][l] * te.NUM_ERROR_CORRECTION_BLOCKS[t.ordinal][l];
|
|
37313
37329
|
}
|
|
37314
37330
|
// Returns a Reed-Solomon ECC generator polynomial for the given degree. This could be
|
|
37315
37331
|
// implemented as a lookup table over all possible parameter values, instead of as an algorithm.
|
|
@@ -37323,8 +37339,8 @@ var ka;
|
|
|
37323
37339
|
let i = 1;
|
|
37324
37340
|
for (let o = 0; o < l; o++) {
|
|
37325
37341
|
for (let s = 0; s < t.length; s++)
|
|
37326
|
-
t[s] =
|
|
37327
|
-
i =
|
|
37342
|
+
t[s] = te.reedSolomonMultiply(t[s], i), s + 1 < t.length && (t[s] ^= t[s + 1]);
|
|
37343
|
+
i = te.reedSolomonMultiply(i, 2);
|
|
37328
37344
|
}
|
|
37329
37345
|
return t;
|
|
37330
37346
|
}
|
|
@@ -37333,7 +37349,7 @@ var ka;
|
|
|
37333
37349
|
let i = t.map((o) => 0);
|
|
37334
37350
|
for (const o of l) {
|
|
37335
37351
|
const s = o ^ i.shift();
|
|
37336
|
-
i.push(0), t.forEach((p, m) => i[m] ^=
|
|
37352
|
+
i.push(0), t.forEach((p, m) => i[m] ^= te.reedSolomonMultiply(p, s));
|
|
37337
37353
|
}
|
|
37338
37354
|
return i;
|
|
37339
37355
|
}
|
|
@@ -37400,7 +37416,7 @@ var ka;
|
|
|
37400
37416
|
if (!d)
|
|
37401
37417
|
throw new Error("Assertion error");
|
|
37402
37418
|
}
|
|
37403
|
-
const g = class
|
|
37419
|
+
const g = class Ue {
|
|
37404
37420
|
/*-- Constructor (low level) and fields --*/
|
|
37405
37421
|
// Creates a new QR Code segment with the given attributes and data.
|
|
37406
37422
|
// The character count (numChars) must agree with the mode and the bit buffer length,
|
|
@@ -37418,36 +37434,36 @@ var ka;
|
|
|
37418
37434
|
let t = [];
|
|
37419
37435
|
for (const i of l)
|
|
37420
37436
|
a(i, 8, t);
|
|
37421
|
-
return new
|
|
37437
|
+
return new Ue(Ue.Mode.BYTE, l.length, t);
|
|
37422
37438
|
}
|
|
37423
37439
|
// Returns a segment representing the given string of decimal digits encoded in numeric mode.
|
|
37424
37440
|
static makeNumeric(l) {
|
|
37425
|
-
if (!
|
|
37441
|
+
if (!Ue.isNumeric(l))
|
|
37426
37442
|
throw new RangeError("String contains non-numeric characters");
|
|
37427
37443
|
let t = [];
|
|
37428
37444
|
for (let i = 0; i < l.length; ) {
|
|
37429
37445
|
const o = Math.min(l.length - i, 3);
|
|
37430
37446
|
a(parseInt(l.substring(i, i + o), 10), o * 3 + 1, t), i += o;
|
|
37431
37447
|
}
|
|
37432
|
-
return new
|
|
37448
|
+
return new Ue(Ue.Mode.NUMERIC, l.length, t);
|
|
37433
37449
|
}
|
|
37434
37450
|
// Returns a segment representing the given text string encoded in alphanumeric mode.
|
|
37435
37451
|
// The characters allowed are: 0 to 9, A to Z (uppercase only), space,
|
|
37436
37452
|
// dollar, percent, asterisk, plus, hyphen, period, slash, colon.
|
|
37437
37453
|
static makeAlphanumeric(l) {
|
|
37438
|
-
if (!
|
|
37454
|
+
if (!Ue.isAlphanumeric(l))
|
|
37439
37455
|
throw new RangeError("String contains unencodable characters in alphanumeric mode");
|
|
37440
37456
|
let t = [], i;
|
|
37441
37457
|
for (i = 0; i + 2 <= l.length; i += 2) {
|
|
37442
|
-
let o =
|
|
37443
|
-
o +=
|
|
37458
|
+
let o = Ue.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i)) * 45;
|
|
37459
|
+
o += Ue.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i + 1)), a(o, 11, t);
|
|
37444
37460
|
}
|
|
37445
|
-
return i < l.length && a(
|
|
37461
|
+
return i < l.length && a(Ue.ALPHANUMERIC_CHARSET.indexOf(l.charAt(i)), 6, t), new Ue(Ue.Mode.ALPHANUMERIC, l.length, t);
|
|
37446
37462
|
}
|
|
37447
37463
|
// Returns a new mutable list of zero or more segments to represent the given Unicode text string.
|
|
37448
37464
|
// The result may use various segment modes and switch modes to optimize the length of the bit stream.
|
|
37449
37465
|
static makeSegments(l) {
|
|
37450
|
-
return l == "" ? [] :
|
|
37466
|
+
return l == "" ? [] : Ue.isNumeric(l) ? [Ue.makeNumeric(l)] : Ue.isAlphanumeric(l) ? [Ue.makeAlphanumeric(l)] : [Ue.makeBytes(Ue.toUtf8ByteArray(l))];
|
|
37451
37467
|
}
|
|
37452
37468
|
// Returns a segment representing an Extended Channel Interpretation
|
|
37453
37469
|
// (ECI) designator with the given assignment value.
|
|
@@ -37463,18 +37479,18 @@ var ka;
|
|
|
37463
37479
|
a(6, 3, t), a(l, 21, t);
|
|
37464
37480
|
else
|
|
37465
37481
|
throw new RangeError("ECI assignment value out of range");
|
|
37466
|
-
return new
|
|
37482
|
+
return new Ue(Ue.Mode.ECI, 0, t);
|
|
37467
37483
|
}
|
|
37468
37484
|
// Tests whether the given string can be encoded as a segment in numeric mode.
|
|
37469
37485
|
// A string is encodable iff each character is in the range 0 to 9.
|
|
37470
37486
|
static isNumeric(l) {
|
|
37471
|
-
return
|
|
37487
|
+
return Ue.NUMERIC_REGEX.test(l);
|
|
37472
37488
|
}
|
|
37473
37489
|
// Tests whether the given string can be encoded as a segment in alphanumeric mode.
|
|
37474
37490
|
// A string is encodable iff each character is in the following set: 0 to 9, A to Z
|
|
37475
37491
|
// (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.
|
|
37476
37492
|
static isAlphanumeric(l) {
|
|
37477
|
-
return
|
|
37493
|
+
return Ue.ALPHANUMERIC_REGEX.test(l);
|
|
37478
37494
|
}
|
|
37479
37495
|
/*-- Methods --*/
|
|
37480
37496
|
// Returns a new copy of the data bits of this segment.
|
|
@@ -37852,7 +37868,7 @@ const Tm = {
|
|
|
37852
37868
|
expired: "Kode QR telah kedaluwarsa"
|
|
37853
37869
|
}
|
|
37854
37870
|
}, Ku = ({ forcedShow: e = !1, isVisible: n, setIsVisible: a } = {}) => {
|
|
37855
|
-
const { lng: r, getToken: u, lineConfig: g } = se(), [U, d] = at(300), [l, t] = at(!1), i =
|
|
37871
|
+
const { lng: r, getToken: u, lineConfig: g } = se(), [U, d] = at(300), [l, t] = at(!1), i = ie(null), o = j(g, "liffId", ""), s = $e(r), p = u?.(), _ = new URLSearchParams(window.location.search).get("mac") || pi.get("machine_mac_address") || "", { data: c, isFetching: y } = jo({
|
|
37856
37872
|
formData: {
|
|
37857
37873
|
mac_address: _
|
|
37858
37874
|
},
|
|
@@ -37860,9 +37876,9 @@ const Tm = {
|
|
|
37860
37876
|
enabled: e ? !0 : !!_ && !p
|
|
37861
37877
|
}
|
|
37862
37878
|
}), f = j(c, "liff_url", "") || `https://liff.line.me/${o}`;
|
|
37863
|
-
|
|
37879
|
+
ue(() => {
|
|
37864
37880
|
_ && pi.set("machine_mac_address", _, { expires: 365 });
|
|
37865
|
-
}, [_]),
|
|
37881
|
+
}, [_]), ue(() => (f && (d(300), t(!1), i.current && clearInterval(i.current), i.current = setInterval(() => {
|
|
37866
37882
|
d((v) => v <= 1 ? (clearInterval(i.current), t(!0), 0) : v - 1);
|
|
37867
37883
|
}, 1e3)), () => {
|
|
37868
37884
|
i.current && clearInterval(i.current);
|
|
@@ -37931,8 +37947,8 @@ const Tm = {
|
|
|
37931
37947
|
});
|
|
37932
37948
|
}
|
|
37933
37949
|
}
|
|
37934
|
-
}), U =
|
|
37935
|
-
return
|
|
37950
|
+
}), U = ie(!1);
|
|
37951
|
+
return ue(() => {
|
|
37936
37952
|
if (U.current) return;
|
|
37937
37953
|
const d = new URLSearchParams(window.location.search), l = d.get("bind_type"), t = d.get("bind_id");
|
|
37938
37954
|
l && t && (U.current = !0, l === "line" ? n({ bindType: l, bindId: t }) : console.warn(`Unsupported bind type: ${l}`));
|
|
@@ -37946,7 +37962,7 @@ export {
|
|
|
37946
37962
|
Vu as LineLogin,
|
|
37947
37963
|
Ku as LineQrCode,
|
|
37948
37964
|
Si as MONTH_CARD_QUERY_KEY,
|
|
37949
|
-
|
|
37965
|
+
Fe as SOCKET_TYPE,
|
|
37950
37966
|
Qa as STATUS_TYPES,
|
|
37951
37967
|
Zn as StatusContext,
|
|
37952
37968
|
el as StatusProvider,
|