@obb871001/api-integration-sdk 1.0.268 → 1.0.270
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -6
- package/dist/index.js +1039 -1029
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import ge, { createContext as zi, useContext as mt, useState as tt, useMemo as Oa, useCallback as V, useRef as ee, useEffect as me } from "react";
|
|
2
|
-
import { useQueries as Bn, useQuery as ne, useQueryClient as Hn, useMutation as de, QueryClient as
|
|
3
|
-
import
|
|
4
|
-
import { get as pe, find as Qe, isEmpty as Ee, entries as Wn, map as We, isArray as ta, toLower as vt, omit as
|
|
5
|
-
import
|
|
2
|
+
import { useQueries as Bn, useQuery as ne, useQueryClient as Hn, useMutation as de, QueryClient as Al, QueryClientProvider as Ol } from "@tanstack/react-query";
|
|
3
|
+
import Bl from "axios";
|
|
4
|
+
import { get as pe, find as Qe, isEmpty as Ee, entries as Wn, map as We, isArray as ta, toLower as vt, omit as Hl, replace as ht, includes as Wl, isObject as Ii, flatMap as Vi, values as zl, keys as Tt } from "lodash";
|
|
5
|
+
import Il from "react-dom";
|
|
6
6
|
var $i = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
7
7
|
function ut(e) {
|
|
8
8
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
9
9
|
}
|
|
10
|
-
function
|
|
10
|
+
function Vl(e) {
|
|
11
11
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
12
12
|
var r = e.default;
|
|
13
13
|
if (typeof r == "function") {
|
|
@@ -33,7 +33,7 @@ function Il(e) {
|
|
|
33
33
|
}
|
|
34
34
|
var Xa = { exports: {} }, Va = {};
|
|
35
35
|
var kt;
|
|
36
|
-
function
|
|
36
|
+
function Zl() {
|
|
37
37
|
if (kt) return Va;
|
|
38
38
|
kt = 1;
|
|
39
39
|
var e = ge, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, p = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
@@ -48,7 +48,7 @@ function Vl() {
|
|
|
48
48
|
}
|
|
49
49
|
var Za = {};
|
|
50
50
|
var xt;
|
|
51
|
-
function
|
|
51
|
+
function Jl() {
|
|
52
52
|
return xt || (xt = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
53
53
|
var e = ge, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), p = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), f = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), i = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), o = Symbol.for("react.lazy"), m = Symbol.for("react.offscreen"), u = Symbol.iterator, d = "@@iterator";
|
|
54
54
|
function c(k) {
|
|
@@ -75,14 +75,14 @@ function Zl() {
|
|
|
75
75
|
se.unshift("Warning: " + z), Function.prototype.apply.call(console[k], console, se);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
var
|
|
79
|
-
|
|
80
|
-
function
|
|
81
|
-
return !!(typeof k == "string" || typeof k == "function" || k === n || k === g ||
|
|
78
|
+
var v = !1, T = !1, x = !1, S = !1, G = !1, O;
|
|
79
|
+
O = Symbol.for("react.module.reference");
|
|
80
|
+
function C(k) {
|
|
81
|
+
return !!(typeof k == "string" || typeof k == "function" || k === n || k === g || G || k === p || k === i || k === a || S || k === m || v || T || x || typeof k == "object" && k !== null && (k.$$typeof === o || k.$$typeof === s || k.$$typeof === b || k.$$typeof === f || k.$$typeof === l || // This needs to include all possible module reference object
|
|
82
82
|
// types supported by any Flight configuration anywhere since
|
|
83
83
|
// we don't know which Flight build this will end up being used
|
|
84
84
|
// with.
|
|
85
|
-
k.$$typeof ===
|
|
85
|
+
k.$$typeof === O || k.getModuleId !== void 0));
|
|
86
86
|
}
|
|
87
87
|
function h(k, z, Z) {
|
|
88
88
|
var q = k.displayName;
|
|
@@ -91,10 +91,10 @@ function Zl() {
|
|
|
91
91
|
var le = z.displayName || z.name || "";
|
|
92
92
|
return le !== "" ? Z + "(" + le + ")" : Z;
|
|
93
93
|
}
|
|
94
|
-
function
|
|
94
|
+
function N(k) {
|
|
95
95
|
return k.displayName || "Context";
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function E(k) {
|
|
98
98
|
if (k == null)
|
|
99
99
|
return null;
|
|
100
100
|
if (typeof k.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof k == "function")
|
|
@@ -119,19 +119,19 @@ function Zl() {
|
|
|
119
119
|
switch (k.$$typeof) {
|
|
120
120
|
case f:
|
|
121
121
|
var z = k;
|
|
122
|
-
return
|
|
122
|
+
return N(z) + ".Consumer";
|
|
123
123
|
case b:
|
|
124
124
|
var Z = k;
|
|
125
|
-
return
|
|
125
|
+
return N(Z._context) + ".Provider";
|
|
126
126
|
case l:
|
|
127
127
|
return h(k, k.render, "ForwardRef");
|
|
128
128
|
case s:
|
|
129
129
|
var q = k.displayName || null;
|
|
130
|
-
return q !== null ? q :
|
|
130
|
+
return q !== null ? q : E(k.type) || "Memo";
|
|
131
131
|
case o: {
|
|
132
132
|
var le = k, se = le._payload, te = le._init;
|
|
133
133
|
try {
|
|
134
|
-
return
|
|
134
|
+
return E(te(se));
|
|
135
135
|
} catch {
|
|
136
136
|
return null;
|
|
137
137
|
}
|
|
@@ -139,18 +139,18 @@ function Zl() {
|
|
|
139
139
|
}
|
|
140
140
|
return null;
|
|
141
141
|
}
|
|
142
|
-
var P = Object.assign,
|
|
143
|
-
function w() {
|
|
144
|
-
}
|
|
145
|
-
w.__reactDisabledLog = !0;
|
|
142
|
+
var P = Object.assign, M = 0, R, B, A, H, W, L, D;
|
|
146
143
|
function F() {
|
|
144
|
+
}
|
|
145
|
+
F.__reactDisabledLog = !0;
|
|
146
|
+
function w() {
|
|
147
147
|
{
|
|
148
|
-
if (
|
|
149
|
-
R = console.log, B = console.info,
|
|
148
|
+
if (M === 0) {
|
|
149
|
+
R = console.log, B = console.info, A = console.warn, H = console.error, W = console.group, L = console.groupCollapsed, D = console.groupEnd;
|
|
150
150
|
var k = {
|
|
151
151
|
configurable: !0,
|
|
152
152
|
enumerable: !0,
|
|
153
|
-
value:
|
|
153
|
+
value: F,
|
|
154
154
|
writable: !0
|
|
155
155
|
};
|
|
156
156
|
Object.defineProperties(console, {
|
|
@@ -163,12 +163,12 @@ function Zl() {
|
|
|
163
163
|
groupEnd: k
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
|
-
|
|
166
|
+
M++;
|
|
167
167
|
}
|
|
168
168
|
}
|
|
169
169
|
function K() {
|
|
170
170
|
{
|
|
171
|
-
if (
|
|
171
|
+
if (M--, M === 0) {
|
|
172
172
|
var k = {
|
|
173
173
|
configurable: !0,
|
|
174
174
|
enumerable: !0,
|
|
@@ -182,7 +182,7 @@ function Zl() {
|
|
|
182
182
|
value: B
|
|
183
183
|
}),
|
|
184
184
|
warn: P({}, k, {
|
|
185
|
-
value:
|
|
185
|
+
value: A
|
|
186
186
|
}),
|
|
187
187
|
error: P({}, k, {
|
|
188
188
|
value: H
|
|
@@ -191,14 +191,14 @@ function Zl() {
|
|
|
191
191
|
value: W
|
|
192
192
|
}),
|
|
193
193
|
groupCollapsed: P({}, k, {
|
|
194
|
-
value:
|
|
194
|
+
value: L
|
|
195
195
|
}),
|
|
196
196
|
groupEnd: P({}, k, {
|
|
197
197
|
value: D
|
|
198
198
|
})
|
|
199
199
|
});
|
|
200
200
|
}
|
|
201
|
-
|
|
201
|
+
M < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
var Q = y.ReactCurrentDispatcher, $;
|
|
@@ -217,10 +217,10 @@ function Zl() {
|
|
|
217
217
|
}
|
|
218
218
|
var X = !1, ie;
|
|
219
219
|
{
|
|
220
|
-
var
|
|
221
|
-
ie = new
|
|
220
|
+
var Ue = typeof WeakMap == "function" ? WeakMap : Map;
|
|
221
|
+
ie = new Ue();
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function ue(k, z) {
|
|
224
224
|
if (!k || X)
|
|
225
225
|
return "";
|
|
226
226
|
{
|
|
@@ -233,7 +233,7 @@ function Zl() {
|
|
|
233
233
|
var le = Error.prepareStackTrace;
|
|
234
234
|
Error.prepareStackTrace = void 0;
|
|
235
235
|
var se;
|
|
236
|
-
se = Q.current, Q.current = null,
|
|
236
|
+
se = Q.current, Q.current = null, w();
|
|
237
237
|
try {
|
|
238
238
|
if (z) {
|
|
239
239
|
var te = function() {
|
|
@@ -270,18 +270,18 @@ function Zl() {
|
|
|
270
270
|
if (Be && q && typeof Be.stack == "string") {
|
|
271
271
|
for (var Y = Be.stack.split(`
|
|
272
272
|
`), we = q.stack.split(`
|
|
273
|
-
`),
|
|
274
|
-
|
|
275
|
-
for (;
|
|
276
|
-
if (Y[
|
|
277
|
-
if (
|
|
273
|
+
`), be = Y.length - 1, he = we.length - 1; be >= 1 && he >= 0 && Y[be] !== we[he]; )
|
|
274
|
+
he--;
|
|
275
|
+
for (; be >= 1 && he >= 0; be--, he--)
|
|
276
|
+
if (Y[be] !== we[he]) {
|
|
277
|
+
if (be !== 1 || he !== 1)
|
|
278
278
|
do
|
|
279
|
-
if (
|
|
279
|
+
if (be--, he--, he < 0 || Y[be] !== we[he]) {
|
|
280
280
|
var Ze = `
|
|
281
|
-
` + Y[
|
|
281
|
+
` + Y[be].replace(" at new ", " at ");
|
|
282
282
|
return k.displayName && Ze.includes("<anonymous>") && (Ze = Ze.replace("<anonymous>", k.displayName)), typeof k == "function" && ie.set(k, Ze), Ze;
|
|
283
283
|
}
|
|
284
|
-
while (
|
|
284
|
+
while (be >= 1 && he >= 0);
|
|
285
285
|
break;
|
|
286
286
|
}
|
|
287
287
|
}
|
|
@@ -292,17 +292,17 @@ function Zl() {
|
|
|
292
292
|
return typeof k == "function" && ie.set(k, Ca), Ca;
|
|
293
293
|
}
|
|
294
294
|
function oe(k, z, Z) {
|
|
295
|
-
return
|
|
295
|
+
return ue(k, !1);
|
|
296
296
|
}
|
|
297
297
|
function fe(k) {
|
|
298
298
|
var z = k.prototype;
|
|
299
299
|
return !!(z && z.isReactComponent);
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function ke(k, z, Z) {
|
|
302
302
|
if (k == null)
|
|
303
303
|
return "";
|
|
304
304
|
if (typeof k == "function")
|
|
305
|
-
return
|
|
305
|
+
return ue(k, fe(k));
|
|
306
306
|
if (typeof k == "string")
|
|
307
307
|
return J(k);
|
|
308
308
|
switch (k) {
|
|
@@ -316,28 +316,28 @@ function Zl() {
|
|
|
316
316
|
case l:
|
|
317
317
|
return oe(k.render);
|
|
318
318
|
case s:
|
|
319
|
-
return
|
|
319
|
+
return ke(k.type, z, Z);
|
|
320
320
|
case o: {
|
|
321
321
|
var q = k, le = q._payload, se = q._init;
|
|
322
322
|
try {
|
|
323
|
-
return
|
|
323
|
+
return ke(se(le), z, Z);
|
|
324
324
|
} catch {
|
|
325
325
|
}
|
|
326
326
|
}
|
|
327
327
|
}
|
|
328
328
|
return "";
|
|
329
329
|
}
|
|
330
|
-
var
|
|
330
|
+
var _e = Object.prototype.hasOwnProperty, je = {}, Ce = y.ReactDebugCurrentFrame;
|
|
331
331
|
function Ge(k) {
|
|
332
332
|
if (k) {
|
|
333
|
-
var z = k._owner, Z =
|
|
334
|
-
|
|
333
|
+
var z = k._owner, Z = ke(k.type, k._source, z ? z.type : null);
|
|
334
|
+
Ce.setExtraStackFrame(Z);
|
|
335
335
|
} else
|
|
336
|
-
|
|
336
|
+
Ce.setExtraStackFrame(null);
|
|
337
337
|
}
|
|
338
338
|
function Ye(k, z, Z, q, le) {
|
|
339
339
|
{
|
|
340
|
-
var se = Function.call.bind(
|
|
340
|
+
var se = Function.call.bind(_e);
|
|
341
341
|
for (var te in k)
|
|
342
342
|
if (se(k, te)) {
|
|
343
343
|
var Y = void 0;
|
|
@@ -347,15 +347,15 @@ function Zl() {
|
|
|
347
347
|
throw we.name = "Invariant Violation", we;
|
|
348
348
|
}
|
|
349
349
|
Y = k[te](z, te, q, Z, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
350
|
-
} catch (
|
|
351
|
-
Y =
|
|
350
|
+
} catch (be) {
|
|
351
|
+
Y = be;
|
|
352
352
|
}
|
|
353
353
|
Y && !(Y instanceof Error) && (Ge(le), _("%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).", q || "React class", Z, te, typeof Y), Ge(null)), Y instanceof Error && !(Y.message in je) && (je[Y.message] = !0, Ge(le), _("Failed %s type: %s", Z, Y.message), Ge(null));
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
var Me = Array.isArray;
|
|
358
|
-
function
|
|
358
|
+
function ve(k) {
|
|
359
359
|
return Me(k);
|
|
360
360
|
}
|
|
361
361
|
function Oe(k) {
|
|
@@ -385,7 +385,7 @@ function Zl() {
|
|
|
385
385
|
__source: !0
|
|
386
386
|
}, ra, ga;
|
|
387
387
|
function ze(k) {
|
|
388
|
-
if (
|
|
388
|
+
if (_e.call(k, "ref")) {
|
|
389
389
|
var z = Object.getOwnPropertyDescriptor(k, "ref").get;
|
|
390
390
|
if (z && z.isReactWarning)
|
|
391
391
|
return !1;
|
|
@@ -393,7 +393,7 @@ function Zl() {
|
|
|
393
393
|
return k.ref !== void 0;
|
|
394
394
|
}
|
|
395
395
|
function Ke(k) {
|
|
396
|
-
if (
|
|
396
|
+
if (_e.call(k, "key")) {
|
|
397
397
|
var z = Object.getOwnPropertyDescriptor(k, "key").get;
|
|
398
398
|
if (z && z.isReactWarning)
|
|
399
399
|
return !1;
|
|
@@ -459,15 +459,15 @@ function Zl() {
|
|
|
459
459
|
var se, te = {}, Y = null, we = null;
|
|
460
460
|
Z !== void 0 && (xe(Z), Y = "" + Z), Ke(z) && (xe(z.key), Y = "" + z.key), ze(z) && (we = z.ref, Wa(z, le));
|
|
461
461
|
for (se in z)
|
|
462
|
-
|
|
462
|
+
_e.call(z, se) && !Je.hasOwnProperty(se) && (te[se] = z[se]);
|
|
463
463
|
if (k && k.defaultProps) {
|
|
464
|
-
var
|
|
465
|
-
for (se in
|
|
466
|
-
te[se] === void 0 && (te[se] =
|
|
464
|
+
var be = k.defaultProps;
|
|
465
|
+
for (se in be)
|
|
466
|
+
te[se] === void 0 && (te[se] = be[se]);
|
|
467
467
|
}
|
|
468
468
|
if (Y || we) {
|
|
469
|
-
var
|
|
470
|
-
Y && Ea(te,
|
|
469
|
+
var he = typeof k == "function" ? k.displayName || k.name || "Unknown" : k;
|
|
470
|
+
Y && Ea(te, he), we && Na(te, he);
|
|
471
471
|
}
|
|
472
472
|
return za(k, Y, we, le, q, Re.current, te);
|
|
473
473
|
}
|
|
@@ -475,7 +475,7 @@ function Zl() {
|
|
|
475
475
|
var da = y.ReactCurrentOwner, Ua = y.ReactDebugCurrentFrame;
|
|
476
476
|
function Ve(k) {
|
|
477
477
|
if (k) {
|
|
478
|
-
var z = k._owner, Z =
|
|
478
|
+
var z = k._owner, Z = ke(k.type, k._source, z ? z.type : null);
|
|
479
479
|
Ua.setExtraStackFrame(Z);
|
|
480
480
|
} else
|
|
481
481
|
Ua.setExtraStackFrame(null);
|
|
@@ -488,7 +488,7 @@ function Zl() {
|
|
|
488
488
|
function La() {
|
|
489
489
|
{
|
|
490
490
|
if (da.current) {
|
|
491
|
-
var k =
|
|
491
|
+
var k = E(da.current.type);
|
|
492
492
|
if (k)
|
|
493
493
|
return `
|
|
494
494
|
|
|
@@ -523,14 +523,14 @@ Check the top-level render call using <` + Z + ">.");
|
|
|
523
523
|
return;
|
|
524
524
|
ba[Z] = !0;
|
|
525
525
|
var q = "";
|
|
526
|
-
k && k._owner && k._owner !== da.current && (q = " It was passed a child from " +
|
|
526
|
+
k && k._owner && k._owner !== da.current && (q = " It was passed a child from " + E(k._owner.type) + "."), Ve(k), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Z, q), Ve(null);
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
function Se(k, z) {
|
|
530
530
|
{
|
|
531
531
|
if (typeof k != "object")
|
|
532
532
|
return;
|
|
533
|
-
if (
|
|
533
|
+
if (ve(k))
|
|
534
534
|
for (var Z = 0; Z < k.length; Z++) {
|
|
535
535
|
var q = k[Z];
|
|
536
536
|
fa(q) && Ra(q, z);
|
|
@@ -560,11 +560,11 @@ Check the top-level render call using <` + Z + ">.");
|
|
|
560
560
|
else
|
|
561
561
|
return;
|
|
562
562
|
if (Z) {
|
|
563
|
-
var q =
|
|
563
|
+
var q = E(z);
|
|
564
564
|
Ye(Z, k.props, "prop", q, k);
|
|
565
565
|
} else if (z.PropTypes !== void 0 && !ca) {
|
|
566
566
|
ca = !0;
|
|
567
|
-
var le =
|
|
567
|
+
var le = E(z);
|
|
568
568
|
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", le || "Unknown");
|
|
569
569
|
}
|
|
570
570
|
typeof z.getDefaultProps == "function" && !z.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
@@ -585,23 +585,23 @@ Check the top-level render call using <` + Z + ">.");
|
|
|
585
585
|
var aa = {};
|
|
586
586
|
function Pe(k, z, Z, q, le, se) {
|
|
587
587
|
{
|
|
588
|
-
var te =
|
|
588
|
+
var te = C(k);
|
|
589
589
|
if (!te) {
|
|
590
590
|
var Y = "";
|
|
591
591
|
(k === void 0 || typeof k == "object" && k !== null && Object.keys(k).length === 0) && (Y += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
592
592
|
var we = Ga();
|
|
593
593
|
we ? Y += we : Y += La();
|
|
594
|
-
var
|
|
595
|
-
k === null ?
|
|
594
|
+
var be;
|
|
595
|
+
k === null ? be = "null" : ve(k) ? be = "array" : k !== void 0 && k.$$typeof === r ? (be = "<" + (E(k.type) || "Unknown") + " />", Y = " Did you accidentally export a JSX literal instead of a component?") : be = typeof k, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", be, Y);
|
|
596
596
|
}
|
|
597
|
-
var
|
|
598
|
-
if (
|
|
599
|
-
return
|
|
597
|
+
var he = Ia(k, z, Z, le, se);
|
|
598
|
+
if (he == null)
|
|
599
|
+
return he;
|
|
600
600
|
if (te) {
|
|
601
601
|
var Ze = z.children;
|
|
602
602
|
if (Ze !== void 0)
|
|
603
603
|
if (q)
|
|
604
|
-
if (
|
|
604
|
+
if (ve(Ze)) {
|
|
605
605
|
for (var Pa = 0; Pa < Ze.length; Pa++)
|
|
606
606
|
Se(Ze[Pa], k);
|
|
607
607
|
Object.freeze && Object.freeze(Ze);
|
|
@@ -610,21 +610,21 @@ Check the top-level render call using <` + Z + ">.");
|
|
|
610
610
|
else
|
|
611
611
|
Se(Ze, k);
|
|
612
612
|
}
|
|
613
|
-
if (
|
|
614
|
-
var Ca =
|
|
615
|
-
return
|
|
613
|
+
if (_e.call(z, "key")) {
|
|
614
|
+
var Ca = E(k), Be = Object.keys(z).filter(function(wl) {
|
|
615
|
+
return wl !== "key";
|
|
616
616
|
}), Qi = Be.length > 0 ? "{key: someKey, " + Be.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
617
617
|
if (!aa[Ca + Qi]) {
|
|
618
|
-
var
|
|
618
|
+
var Fl = Be.length > 0 ? "{" + Be.join(": ..., ") + ": ...}" : "{}";
|
|
619
619
|
_(`A props object containing a "key" prop is being spread into JSX:
|
|
620
620
|
let props = %s;
|
|
621
621
|
<%s {...props} />
|
|
622
622
|
React keys must be passed directly to JSX without using spread:
|
|
623
623
|
let props = %s;
|
|
624
|
-
<%s key={someKey} {...props} />`, Qi, Ca,
|
|
624
|
+
<%s key={someKey} {...props} />`, Qi, Ca, Fl, Ca), aa[Ca + Qi] = !0;
|
|
625
625
|
}
|
|
626
626
|
}
|
|
627
|
-
return k === n ? De(
|
|
627
|
+
return k === n ? De(he) : I(he), he;
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
630
|
function ia(k, z, Z) {
|
|
@@ -633,15 +633,15 @@ React keys must be passed directly to JSX without using spread:
|
|
|
633
633
|
function Ya(k, z, Z) {
|
|
634
634
|
return Pe(k, z, Z, !1);
|
|
635
635
|
}
|
|
636
|
-
var qi = Ya,
|
|
637
|
-
Za.Fragment = n, Za.jsx = qi, Za.jsxs =
|
|
636
|
+
var qi = Ya, Pl = ia;
|
|
637
|
+
Za.Fragment = n, Za.jsx = qi, Za.jsxs = Pl;
|
|
638
638
|
})()), Za;
|
|
639
639
|
}
|
|
640
640
|
var St;
|
|
641
|
-
function
|
|
642
|
-
return St || (St = 1, process.env.NODE_ENV === "production" ? Xa.exports =
|
|
641
|
+
function Kl() {
|
|
642
|
+
return St || (St = 1, process.env.NODE_ENV === "production" ? Xa.exports = Zl() : Xa.exports = Jl()), Xa.exports;
|
|
643
643
|
}
|
|
644
|
-
var Ae =
|
|
644
|
+
var Ae = Kl();
|
|
645
645
|
const zn = zi(null), re = () => {
|
|
646
646
|
const e = mt(zn);
|
|
647
647
|
if (!e)
|
|
@@ -650,7 +650,7 @@ const zn = zi(null), re = () => {
|
|
|
650
650
|
}, Ja = {
|
|
651
651
|
READY: "ready",
|
|
652
652
|
PENDING: "pending"
|
|
653
|
-
}, In = zi(null),
|
|
653
|
+
}, In = zi(null), ql = ({ children: e }) => {
|
|
654
654
|
const [r, t] = tt(Ja.PENDING), n = Oa(() => {
|
|
655
655
|
const p = r === Ja.READY, g = r === Ja.PENDING;
|
|
656
656
|
return {
|
|
@@ -707,7 +707,7 @@ function Et({
|
|
|
707
707
|
currency: f,
|
|
708
708
|
toasterOpen: l = !1
|
|
709
709
|
} = {}) {
|
|
710
|
-
const i =
|
|
710
|
+
const i = Bl.create({
|
|
711
711
|
baseURL: e,
|
|
712
712
|
timeout: t,
|
|
713
713
|
headers: {
|
|
@@ -778,10 +778,10 @@ const qn = zi(null), _m = () => {
|
|
|
778
778
|
minimumFractionDigits: 2,
|
|
779
779
|
maximumFractionDigits: 2
|
|
780
780
|
}).format(r);
|
|
781
|
-
}, Qn = (e = [], r) => Qe(e, { gameTypeName: r })?.gameTypeUid, $n = (e = [], r) => Qe(e, { platform: r })?.platformUid, jn = (e = [], r) => Qe(e, { SubPlatformEnum: r }), Yn = (e = [], r, t) => Ee(e) ? [] : e.filter((n) => t ? String(n?.SubPlatformEnumUid) === String(t?.SubPlatformEnumUid) : String(n.platformUid) === String(r)),
|
|
781
|
+
}, Qn = (e = [], r) => Qe(e, { gameTypeName: r })?.gameTypeUid, $n = (e = [], r) => Qe(e, { platform: r })?.platformUid, jn = (e = [], r) => Qe(e, { SubPlatformEnum: r }), Yn = (e = [], r, t) => Ee(e) ? [] : e.filter((n) => t ? String(n?.SubPlatformEnumUid) === String(t?.SubPlatformEnumUid) : String(n.platformUid) === String(r)), Ql = (e = []) => Ee(e) ? {} : e.reduce((r, t) => {
|
|
782
782
|
const n = t?.game_subtype || "UNKNOWN";
|
|
783
783
|
return r[n] || (r[n] = []), r[n].push(t), r;
|
|
784
|
-
}, {}),
|
|
784
|
+
}, {}), $l = ({
|
|
785
785
|
gameTypeName: e,
|
|
786
786
|
platforms: r,
|
|
787
787
|
gameList: t,
|
|
@@ -797,7 +797,7 @@ const qn = zi(null), _m = () => {
|
|
|
797
797
|
);
|
|
798
798
|
return Ee(s) || (b[f] = s), b;
|
|
799
799
|
}, {}) : {};
|
|
800
|
-
},
|
|
800
|
+
}, jl = ({
|
|
801
801
|
platformName: e,
|
|
802
802
|
gamesOfType: r = [],
|
|
803
803
|
allPlatforms: t = []
|
|
@@ -807,27 +807,27 @@ const qn = zi(null), _m = () => {
|
|
|
807
807
|
n,
|
|
808
808
|
p
|
|
809
809
|
);
|
|
810
|
-
return
|
|
810
|
+
return Ql(g);
|
|
811
811
|
};
|
|
812
|
-
var ti = { exports: {} },
|
|
813
|
-
function
|
|
812
|
+
var ti = { exports: {} }, Yl = ti.exports, Nt;
|
|
813
|
+
function Xl() {
|
|
814
814
|
return Nt || (Nt = 1, (function(e, r) {
|
|
815
815
|
(function(t, n) {
|
|
816
816
|
e.exports = n();
|
|
817
|
-
})(
|
|
817
|
+
})(Yl, (function() {
|
|
818
818
|
var t = 1e3, n = 6e4, p = 36e5, g = "millisecond", b = "second", f = "minute", l = "hour", i = "day", a = "week", s = "month", o = "quarter", m = "year", u = "date", d = "Invalid Date", c = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, _ = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(P) {
|
|
819
|
-
var
|
|
820
|
-
return "[" + P + (
|
|
821
|
-
} }, U = function(P,
|
|
819
|
+
var M = ["th", "st", "nd", "rd"], R = P % 100;
|
|
820
|
+
return "[" + P + (M[(R - 20) % 10] || M[R] || M[0]) + "]";
|
|
821
|
+
} }, U = function(P, M, R) {
|
|
822
822
|
var B = String(P);
|
|
823
|
-
return !B || B.length >=
|
|
824
|
-
},
|
|
825
|
-
var
|
|
826
|
-
return (
|
|
827
|
-
}, m: function P(
|
|
828
|
-
if (
|
|
829
|
-
var B = 12 * (R.year() -
|
|
830
|
-
return +(-(B + (R -
|
|
823
|
+
return !B || B.length >= M ? P : "" + Array(M + 1 - B.length).join(R) + P;
|
|
824
|
+
}, v = { s: U, z: function(P) {
|
|
825
|
+
var M = -P.utcOffset(), R = Math.abs(M), B = Math.floor(R / 60), A = R % 60;
|
|
826
|
+
return (M <= 0 ? "+" : "-") + U(B, 2, "0") + ":" + U(A, 2, "0");
|
|
827
|
+
}, m: function P(M, R) {
|
|
828
|
+
if (M.date() < R.date()) return -P(R, M);
|
|
829
|
+
var B = 12 * (R.year() - M.year()) + (R.month() - M.month()), A = M.clone().add(B, s), H = R - A < 0, W = M.clone().add(B + (H ? -1 : 1), s);
|
|
830
|
+
return +(-(B + (R - A) / (H ? A - W : W - A)) || 0);
|
|
831
831
|
}, a: function(P) {
|
|
832
832
|
return P < 0 ? Math.ceil(P) || 0 : Math.floor(P);
|
|
833
833
|
}, p: function(P) {
|
|
@@ -836,84 +836,84 @@ function Yl() {
|
|
|
836
836
|
return P === void 0;
|
|
837
837
|
} }, T = "en", x = {};
|
|
838
838
|
x[T] = _;
|
|
839
|
-
var S = "$isDayjsObject",
|
|
840
|
-
return P instanceof
|
|
841
|
-
},
|
|
842
|
-
var
|
|
843
|
-
if (!
|
|
844
|
-
if (typeof
|
|
845
|
-
var H =
|
|
846
|
-
x[H] && (
|
|
847
|
-
var W =
|
|
848
|
-
if (!
|
|
839
|
+
var S = "$isDayjsObject", G = function(P) {
|
|
840
|
+
return P instanceof N || !(!P || !P[S]);
|
|
841
|
+
}, O = function P(M, R, B) {
|
|
842
|
+
var A;
|
|
843
|
+
if (!M) return T;
|
|
844
|
+
if (typeof M == "string") {
|
|
845
|
+
var H = M.toLowerCase();
|
|
846
|
+
x[H] && (A = H), R && (x[H] = R, A = H);
|
|
847
|
+
var W = M.split("-");
|
|
848
|
+
if (!A && W.length > 1) return P(W[0]);
|
|
849
849
|
} else {
|
|
850
|
-
var
|
|
851
|
-
x[
|
|
850
|
+
var L = M.name;
|
|
851
|
+
x[L] = M, A = L;
|
|
852
852
|
}
|
|
853
|
-
return !B &&
|
|
854
|
-
},
|
|
855
|
-
if (
|
|
856
|
-
var R = typeof
|
|
857
|
-
return R.date = P, R.args = arguments, new
|
|
858
|
-
}, h =
|
|
859
|
-
h.l =
|
|
860
|
-
return
|
|
853
|
+
return !B && A && (T = A), A || !B && T;
|
|
854
|
+
}, C = function(P, M) {
|
|
855
|
+
if (G(P)) return P.clone();
|
|
856
|
+
var R = typeof M == "object" ? M : {};
|
|
857
|
+
return R.date = P, R.args = arguments, new N(R);
|
|
858
|
+
}, h = v;
|
|
859
|
+
h.l = O, h.i = G, h.w = function(P, M) {
|
|
860
|
+
return C(P, { locale: M.$L, utc: M.$u, x: M.$x, $offset: M.$offset });
|
|
861
861
|
};
|
|
862
|
-
var
|
|
862
|
+
var N = (function() {
|
|
863
863
|
function P(R) {
|
|
864
|
-
this.$L =
|
|
864
|
+
this.$L = O(R.locale, null, !0), this.parse(R), this.$x = this.$x || R.x || {}, this[S] = !0;
|
|
865
865
|
}
|
|
866
|
-
var
|
|
867
|
-
return
|
|
866
|
+
var M = P.prototype;
|
|
867
|
+
return M.parse = function(R) {
|
|
868
868
|
this.$d = (function(B) {
|
|
869
|
-
var
|
|
870
|
-
if (
|
|
871
|
-
if (h.u(
|
|
872
|
-
if (
|
|
873
|
-
if (typeof
|
|
874
|
-
var W =
|
|
869
|
+
var A = B.date, H = B.utc;
|
|
870
|
+
if (A === null) return /* @__PURE__ */ new Date(NaN);
|
|
871
|
+
if (h.u(A)) return /* @__PURE__ */ new Date();
|
|
872
|
+
if (A instanceof Date) return new Date(A);
|
|
873
|
+
if (typeof A == "string" && !/Z$/i.test(A)) {
|
|
874
|
+
var W = A.match(c);
|
|
875
875
|
if (W) {
|
|
876
|
-
var
|
|
877
|
-
return H ? new Date(Date.UTC(W[1],
|
|
876
|
+
var L = W[2] - 1 || 0, D = (W[7] || "0").substring(0, 3);
|
|
877
|
+
return H ? new Date(Date.UTC(W[1], L, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, D)) : new Date(W[1], L, W[3] || 1, W[4] || 0, W[5] || 0, W[6] || 0, D);
|
|
878
878
|
}
|
|
879
879
|
}
|
|
880
|
-
return new Date(
|
|
880
|
+
return new Date(A);
|
|
881
881
|
})(R), this.init();
|
|
882
|
-
},
|
|
882
|
+
}, M.init = function() {
|
|
883
883
|
var R = this.$d;
|
|
884
884
|
this.$y = R.getFullYear(), this.$M = R.getMonth(), this.$D = R.getDate(), this.$W = R.getDay(), this.$H = R.getHours(), this.$m = R.getMinutes(), this.$s = R.getSeconds(), this.$ms = R.getMilliseconds();
|
|
885
|
-
},
|
|
885
|
+
}, M.$utils = function() {
|
|
886
886
|
return h;
|
|
887
|
-
},
|
|
887
|
+
}, M.isValid = function() {
|
|
888
888
|
return this.$d.toString() !== d;
|
|
889
|
-
},
|
|
890
|
-
var
|
|
891
|
-
return this.startOf(B) <=
|
|
892
|
-
},
|
|
893
|
-
return
|
|
894
|
-
},
|
|
895
|
-
return this.endOf(B) <
|
|
896
|
-
},
|
|
897
|
-
return h.u(R) ? this[B] : this.set(
|
|
898
|
-
},
|
|
889
|
+
}, M.isSame = function(R, B) {
|
|
890
|
+
var A = C(R);
|
|
891
|
+
return this.startOf(B) <= A && A <= this.endOf(B);
|
|
892
|
+
}, M.isAfter = function(R, B) {
|
|
893
|
+
return C(R) < this.startOf(B);
|
|
894
|
+
}, M.isBefore = function(R, B) {
|
|
895
|
+
return this.endOf(B) < C(R);
|
|
896
|
+
}, M.$g = function(R, B, A) {
|
|
897
|
+
return h.u(R) ? this[B] : this.set(A, R);
|
|
898
|
+
}, M.unix = function() {
|
|
899
899
|
return Math.floor(this.valueOf() / 1e3);
|
|
900
|
-
},
|
|
900
|
+
}, M.valueOf = function() {
|
|
901
901
|
return this.$d.getTime();
|
|
902
|
-
},
|
|
903
|
-
var
|
|
904
|
-
var
|
|
905
|
-
return H ?
|
|
902
|
+
}, M.startOf = function(R, B) {
|
|
903
|
+
var A = this, H = !!h.u(B) || B, W = h.p(R), L = function(X, ie) {
|
|
904
|
+
var Ue = h.w(A.$u ? Date.UTC(A.$y, ie, X) : new Date(A.$y, ie, X), A);
|
|
905
|
+
return H ? Ue : Ue.endOf(i);
|
|
906
906
|
}, D = function(X, ie) {
|
|
907
|
-
return h.w(
|
|
908
|
-
},
|
|
907
|
+
return h.w(A.toDate()[X].apply(A.toDate("s"), (H ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ie)), A);
|
|
908
|
+
}, F = this.$W, w = this.$M, K = this.$D, Q = "set" + (this.$u ? "UTC" : "");
|
|
909
909
|
switch (W) {
|
|
910
910
|
case m:
|
|
911
|
-
return H ?
|
|
911
|
+
return H ? L(1, 0) : L(31, 11);
|
|
912
912
|
case s:
|
|
913
|
-
return H ?
|
|
913
|
+
return H ? L(1, w) : L(0, w + 1);
|
|
914
914
|
case a:
|
|
915
|
-
var $ = this.$locale().weekStart || 0, J = (
|
|
916
|
-
return
|
|
915
|
+
var $ = this.$locale().weekStart || 0, J = (F < $ ? F + 7 : F) - $;
|
|
916
|
+
return L(H ? K - J : K + (6 - J), w);
|
|
917
917
|
case i:
|
|
918
918
|
case u:
|
|
919
919
|
return D(Q + "Hours", 0);
|
|
@@ -926,60 +926,60 @@ function Yl() {
|
|
|
926
926
|
default:
|
|
927
927
|
return this.clone();
|
|
928
928
|
}
|
|
929
|
-
},
|
|
929
|
+
}, M.endOf = function(R) {
|
|
930
930
|
return this.startOf(R, !1);
|
|
931
|
-
},
|
|
932
|
-
var
|
|
931
|
+
}, M.$set = function(R, B) {
|
|
932
|
+
var A, H = h.p(R), W = "set" + (this.$u ? "UTC" : ""), L = (A = {}, A[i] = W + "Date", A[u] = W + "Date", A[s] = W + "Month", A[m] = W + "FullYear", A[l] = W + "Hours", A[f] = W + "Minutes", A[b] = W + "Seconds", A[g] = W + "Milliseconds", A)[H], D = H === i ? this.$D + (B - this.$W) : B;
|
|
933
933
|
if (H === s || H === m) {
|
|
934
|
-
var
|
|
935
|
-
|
|
936
|
-
} else
|
|
934
|
+
var F = this.clone().set(u, 1);
|
|
935
|
+
F.$d[L](D), F.init(), this.$d = F.set(u, Math.min(this.$D, F.daysInMonth())).$d;
|
|
936
|
+
} else L && this.$d[L](D);
|
|
937
937
|
return this.init(), this;
|
|
938
|
-
},
|
|
938
|
+
}, M.set = function(R, B) {
|
|
939
939
|
return this.clone().$set(R, B);
|
|
940
|
-
},
|
|
940
|
+
}, M.get = function(R) {
|
|
941
941
|
return this[h.p(R)]();
|
|
942
|
-
},
|
|
943
|
-
var
|
|
942
|
+
}, M.add = function(R, B) {
|
|
943
|
+
var A, H = this;
|
|
944
944
|
R = Number(R);
|
|
945
|
-
var W = h.p(B),
|
|
946
|
-
var K =
|
|
947
|
-
return h.w(K.date(K.date() + Math.round(
|
|
945
|
+
var W = h.p(B), L = function(w) {
|
|
946
|
+
var K = C(H);
|
|
947
|
+
return h.w(K.date(K.date() + Math.round(w * R)), H);
|
|
948
948
|
};
|
|
949
949
|
if (W === s) return this.set(s, this.$M + R);
|
|
950
950
|
if (W === m) return this.set(m, this.$y + R);
|
|
951
|
-
if (W === i) return
|
|
952
|
-
if (W === a) return
|
|
953
|
-
var D = (
|
|
954
|
-
return h.w(
|
|
955
|
-
},
|
|
951
|
+
if (W === i) return L(1);
|
|
952
|
+
if (W === a) return L(7);
|
|
953
|
+
var D = (A = {}, A[f] = n, A[l] = p, A[b] = t, A)[W] || 1, F = this.$d.getTime() + R * D;
|
|
954
|
+
return h.w(F, this);
|
|
955
|
+
}, M.subtract = function(R, B) {
|
|
956
956
|
return this.add(-1 * R, B);
|
|
957
|
-
},
|
|
958
|
-
var B = this,
|
|
959
|
-
if (!this.isValid()) return
|
|
960
|
-
var H = R || "YYYY-MM-DDTHH:mm:ssZ", W = h.z(this),
|
|
961
|
-
return ie && (ie[
|
|
957
|
+
}, M.format = function(R) {
|
|
958
|
+
var B = this, A = this.$locale();
|
|
959
|
+
if (!this.isValid()) return A.invalidDate || d;
|
|
960
|
+
var H = R || "YYYY-MM-DDTHH:mm:ssZ", W = h.z(this), L = this.$H, D = this.$m, F = this.$M, w = A.weekdays, K = A.months, Q = A.meridiem, $ = function(ie, Ue, ue, oe) {
|
|
961
|
+
return ie && (ie[Ue] || ie(B, H)) || ue[Ue].slice(0, oe);
|
|
962
962
|
}, J = function(ie) {
|
|
963
|
-
return h.s(
|
|
964
|
-
}, X = Q || function(ie,
|
|
963
|
+
return h.s(L % 12 || 12, ie, "0");
|
|
964
|
+
}, X = Q || function(ie, Ue, ue) {
|
|
965
965
|
var oe = ie < 12 ? "AM" : "PM";
|
|
966
|
-
return
|
|
966
|
+
return ue ? oe.toLowerCase() : oe;
|
|
967
967
|
};
|
|
968
|
-
return H.replace(y, (function(ie,
|
|
969
|
-
return
|
|
970
|
-
switch (
|
|
968
|
+
return H.replace(y, (function(ie, Ue) {
|
|
969
|
+
return Ue || (function(ue) {
|
|
970
|
+
switch (ue) {
|
|
971
971
|
case "YY":
|
|
972
972
|
return String(B.$y).slice(-2);
|
|
973
973
|
case "YYYY":
|
|
974
974
|
return h.s(B.$y, 4, "0");
|
|
975
975
|
case "M":
|
|
976
|
-
return
|
|
976
|
+
return F + 1;
|
|
977
977
|
case "MM":
|
|
978
|
-
return h.s(
|
|
978
|
+
return h.s(F + 1, 2, "0");
|
|
979
979
|
case "MMM":
|
|
980
|
-
return $(
|
|
980
|
+
return $(A.monthsShort, F, K, 3);
|
|
981
981
|
case "MMMM":
|
|
982
|
-
return $(K,
|
|
982
|
+
return $(K, F);
|
|
983
983
|
case "D":
|
|
984
984
|
return B.$D;
|
|
985
985
|
case "DD":
|
|
@@ -987,23 +987,23 @@ function Yl() {
|
|
|
987
987
|
case "d":
|
|
988
988
|
return String(B.$W);
|
|
989
989
|
case "dd":
|
|
990
|
-
return $(
|
|
990
|
+
return $(A.weekdaysMin, B.$W, w, 2);
|
|
991
991
|
case "ddd":
|
|
992
|
-
return $(
|
|
992
|
+
return $(A.weekdaysShort, B.$W, w, 3);
|
|
993
993
|
case "dddd":
|
|
994
|
-
return
|
|
994
|
+
return w[B.$W];
|
|
995
995
|
case "H":
|
|
996
|
-
return String(
|
|
996
|
+
return String(L);
|
|
997
997
|
case "HH":
|
|
998
|
-
return h.s(
|
|
998
|
+
return h.s(L, 2, "0");
|
|
999
999
|
case "h":
|
|
1000
1000
|
return J(1);
|
|
1001
1001
|
case "hh":
|
|
1002
1002
|
return J(2);
|
|
1003
1003
|
case "a":
|
|
1004
|
-
return X(
|
|
1004
|
+
return X(L, D, !0);
|
|
1005
1005
|
case "A":
|
|
1006
|
-
return X(
|
|
1006
|
+
return X(L, D, !1);
|
|
1007
1007
|
case "m":
|
|
1008
1008
|
return String(D);
|
|
1009
1009
|
case "mm":
|
|
@@ -1020,13 +1020,13 @@ function Yl() {
|
|
|
1020
1020
|
return null;
|
|
1021
1021
|
})(ie) || W.replace(":", "");
|
|
1022
1022
|
}));
|
|
1023
|
-
},
|
|
1023
|
+
}, M.utcOffset = function() {
|
|
1024
1024
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
1025
|
-
},
|
|
1026
|
-
var H, W = this,
|
|
1025
|
+
}, M.diff = function(R, B, A) {
|
|
1026
|
+
var H, W = this, L = h.p(B), D = C(R), F = (D.utcOffset() - this.utcOffset()) * n, w = this - D, K = function() {
|
|
1027
1027
|
return h.m(W, D);
|
|
1028
1028
|
};
|
|
1029
|
-
switch (
|
|
1029
|
+
switch (L) {
|
|
1030
1030
|
case m:
|
|
1031
1031
|
H = K() / 12;
|
|
1032
1032
|
break;
|
|
@@ -1037,78 +1037,78 @@ function Yl() {
|
|
|
1037
1037
|
H = K() / 3;
|
|
1038
1038
|
break;
|
|
1039
1039
|
case a:
|
|
1040
|
-
H = (
|
|
1040
|
+
H = (w - F) / 6048e5;
|
|
1041
1041
|
break;
|
|
1042
1042
|
case i:
|
|
1043
|
-
H = (
|
|
1043
|
+
H = (w - F) / 864e5;
|
|
1044
1044
|
break;
|
|
1045
1045
|
case l:
|
|
1046
|
-
H =
|
|
1046
|
+
H = w / p;
|
|
1047
1047
|
break;
|
|
1048
1048
|
case f:
|
|
1049
|
-
H =
|
|
1049
|
+
H = w / n;
|
|
1050
1050
|
break;
|
|
1051
1051
|
case b:
|
|
1052
|
-
H =
|
|
1052
|
+
H = w / t;
|
|
1053
1053
|
break;
|
|
1054
1054
|
default:
|
|
1055
|
-
H =
|
|
1055
|
+
H = w;
|
|
1056
1056
|
}
|
|
1057
|
-
return
|
|
1058
|
-
},
|
|
1057
|
+
return A ? H : h.a(H);
|
|
1058
|
+
}, M.daysInMonth = function() {
|
|
1059
1059
|
return this.endOf(s).$D;
|
|
1060
|
-
},
|
|
1060
|
+
}, M.$locale = function() {
|
|
1061
1061
|
return x[this.$L];
|
|
1062
|
-
},
|
|
1062
|
+
}, M.locale = function(R, B) {
|
|
1063
1063
|
if (!R) return this.$L;
|
|
1064
|
-
var
|
|
1065
|
-
return H && (
|
|
1066
|
-
},
|
|
1064
|
+
var A = this.clone(), H = O(R, B, !0);
|
|
1065
|
+
return H && (A.$L = H), A;
|
|
1066
|
+
}, M.clone = function() {
|
|
1067
1067
|
return h.w(this.$d, this);
|
|
1068
|
-
},
|
|
1068
|
+
}, M.toDate = function() {
|
|
1069
1069
|
return new Date(this.valueOf());
|
|
1070
|
-
},
|
|
1070
|
+
}, M.toJSON = function() {
|
|
1071
1071
|
return this.isValid() ? this.toISOString() : null;
|
|
1072
|
-
},
|
|
1072
|
+
}, M.toISOString = function() {
|
|
1073
1073
|
return this.$d.toISOString();
|
|
1074
|
-
},
|
|
1074
|
+
}, M.toString = function() {
|
|
1075
1075
|
return this.$d.toUTCString();
|
|
1076
1076
|
}, P;
|
|
1077
|
-
})(),
|
|
1078
|
-
return
|
|
1079
|
-
|
|
1080
|
-
return this.$g(
|
|
1077
|
+
})(), E = N.prototype;
|
|
1078
|
+
return C.prototype = E, [["$ms", g], ["$s", b], ["$m", f], ["$H", l], ["$W", i], ["$M", s], ["$y", m], ["$D", u]].forEach((function(P) {
|
|
1079
|
+
E[P[1]] = function(M) {
|
|
1080
|
+
return this.$g(M, P[0], P[1]);
|
|
1081
1081
|
};
|
|
1082
|
-
})),
|
|
1083
|
-
return P.$i || (P(
|
|
1084
|
-
},
|
|
1085
|
-
return
|
|
1086
|
-
},
|
|
1082
|
+
})), C.extend = function(P, M) {
|
|
1083
|
+
return P.$i || (P(M, N, C), P.$i = !0), C;
|
|
1084
|
+
}, C.locale = O, C.isDayjs = G, C.unix = function(P) {
|
|
1085
|
+
return C(1e3 * P);
|
|
1086
|
+
}, C.en = x[T], C.Ls = x, C.p = {}, C;
|
|
1087
1087
|
}));
|
|
1088
1088
|
})(ti)), ti.exports;
|
|
1089
1089
|
}
|
|
1090
|
-
var
|
|
1091
|
-
const Fe = /* @__PURE__ */ ut(
|
|
1090
|
+
var er = Xl();
|
|
1091
|
+
const Fe = /* @__PURE__ */ ut(er);
|
|
1092
1092
|
var ni = { exports: {} };
|
|
1093
|
-
function
|
|
1093
|
+
function ar(e) {
|
|
1094
1094
|
throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
|
|
1095
1095
|
}
|
|
1096
1096
|
var li = { exports: {} };
|
|
1097
|
-
const
|
|
1097
|
+
const ir = {}, tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1098
1098
|
__proto__: null,
|
|
1099
|
-
default:
|
|
1100
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1101
|
-
var
|
|
1099
|
+
default: ir
|
|
1100
|
+
}, Symbol.toStringTag, { value: "Module" })), nr = /* @__PURE__ */ Vl(tr);
|
|
1101
|
+
var lr = li.exports, Lt;
|
|
1102
1102
|
function ae() {
|
|
1103
1103
|
return Lt || (Lt = 1, (function(e, r) {
|
|
1104
1104
|
(function(t, n) {
|
|
1105
1105
|
e.exports = n();
|
|
1106
|
-
})(
|
|
1106
|
+
})(lr, function() {
|
|
1107
1107
|
var t = t || (function(n, p) {
|
|
1108
1108
|
var g;
|
|
1109
|
-
if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof $i < "u" && $i.crypto && (g = $i.crypto), !g && typeof
|
|
1109
|
+
if (typeof window < "u" && window.crypto && (g = window.crypto), typeof self < "u" && self.crypto && (g = self.crypto), typeof globalThis < "u" && globalThis.crypto && (g = globalThis.crypto), !g && typeof window < "u" && window.msCrypto && (g = window.msCrypto), !g && typeof $i < "u" && $i.crypto && (g = $i.crypto), !g && typeof ar == "function")
|
|
1110
1110
|
try {
|
|
1111
|
-
g =
|
|
1111
|
+
g = nr;
|
|
1112
1112
|
} catch {
|
|
1113
1113
|
}
|
|
1114
1114
|
var b = function() {
|
|
@@ -1129,8 +1129,8 @@ function ae() {
|
|
|
1129
1129
|
function _() {
|
|
1130
1130
|
}
|
|
1131
1131
|
return function(U) {
|
|
1132
|
-
var
|
|
1133
|
-
return _.prototype = U,
|
|
1132
|
+
var v;
|
|
1133
|
+
return _.prototype = U, v = new _(), _.prototype = null, v;
|
|
1134
1134
|
};
|
|
1135
1135
|
})(), l = {}, i = l.lib = {}, a = i.Base = /* @__PURE__ */ (function() {
|
|
1136
1136
|
return {
|
|
@@ -1261,15 +1261,15 @@ function ae() {
|
|
|
1261
1261
|
* wordArray1.concat(wordArray2);
|
|
1262
1262
|
*/
|
|
1263
1263
|
concat: function(_) {
|
|
1264
|
-
var U = this.words,
|
|
1264
|
+
var U = this.words, v = _.words, T = this.sigBytes, x = _.sigBytes;
|
|
1265
1265
|
if (this.clamp(), T % 4)
|
|
1266
1266
|
for (var S = 0; S < x; S++) {
|
|
1267
|
-
var
|
|
1268
|
-
U[T + S >>> 2] |=
|
|
1267
|
+
var G = v[S >>> 2] >>> 24 - S % 4 * 8 & 255;
|
|
1268
|
+
U[T + S >>> 2] |= G << 24 - (T + S) % 4 * 8;
|
|
1269
1269
|
}
|
|
1270
1270
|
else
|
|
1271
|
-
for (var
|
|
1272
|
-
U[T +
|
|
1271
|
+
for (var O = 0; O < x; O += 4)
|
|
1272
|
+
U[T + O >>> 2] = v[O >>> 2];
|
|
1273
1273
|
return this.sigBytes += x, this;
|
|
1274
1274
|
},
|
|
1275
1275
|
/**
|
|
@@ -1310,7 +1310,7 @@ function ae() {
|
|
|
1310
1310
|
* var wordArray = CryptoJS.lib.WordArray.random(16);
|
|
1311
1311
|
*/
|
|
1312
1312
|
random: function(_) {
|
|
1313
|
-
for (var U = [],
|
|
1313
|
+
for (var U = [], v = 0; v < _; v += 4)
|
|
1314
1314
|
U.push(b());
|
|
1315
1315
|
return new s.init(U, _);
|
|
1316
1316
|
}
|
|
@@ -1329,7 +1329,7 @@ function ae() {
|
|
|
1329
1329
|
* var hexString = CryptoJS.enc.Hex.stringify(wordArray);
|
|
1330
1330
|
*/
|
|
1331
1331
|
stringify: function(_) {
|
|
1332
|
-
for (var U = _.words,
|
|
1332
|
+
for (var U = _.words, v = _.sigBytes, T = [], x = 0; x < v; x++) {
|
|
1333
1333
|
var S = U[x >>> 2] >>> 24 - x % 4 * 8 & 255;
|
|
1334
1334
|
T.push((S >>> 4).toString(16)), T.push((S & 15).toString(16));
|
|
1335
1335
|
}
|
|
@@ -1349,9 +1349,9 @@ function ae() {
|
|
|
1349
1349
|
* var wordArray = CryptoJS.enc.Hex.parse(hexString);
|
|
1350
1350
|
*/
|
|
1351
1351
|
parse: function(_) {
|
|
1352
|
-
for (var U = _.length,
|
|
1353
|
-
|
|
1354
|
-
return new s.init(
|
|
1352
|
+
for (var U = _.length, v = [], T = 0; T < U; T += 2)
|
|
1353
|
+
v[T >>> 3] |= parseInt(_.substr(T, 2), 16) << 24 - T % 8 * 4;
|
|
1354
|
+
return new s.init(v, U / 2);
|
|
1355
1355
|
}
|
|
1356
1356
|
}, u = o.Latin1 = {
|
|
1357
1357
|
/**
|
|
@@ -1368,7 +1368,7 @@ function ae() {
|
|
|
1368
1368
|
* var latin1String = CryptoJS.enc.Latin1.stringify(wordArray);
|
|
1369
1369
|
*/
|
|
1370
1370
|
stringify: function(_) {
|
|
1371
|
-
for (var U = _.words,
|
|
1371
|
+
for (var U = _.words, v = _.sigBytes, T = [], x = 0; x < v; x++) {
|
|
1372
1372
|
var S = U[x >>> 2] >>> 24 - x % 4 * 8 & 255;
|
|
1373
1373
|
T.push(String.fromCharCode(S));
|
|
1374
1374
|
}
|
|
@@ -1388,9 +1388,9 @@ function ae() {
|
|
|
1388
1388
|
* var wordArray = CryptoJS.enc.Latin1.parse(latin1String);
|
|
1389
1389
|
*/
|
|
1390
1390
|
parse: function(_) {
|
|
1391
|
-
for (var U = _.length,
|
|
1392
|
-
|
|
1393
|
-
return new s.init(
|
|
1391
|
+
for (var U = _.length, v = [], T = 0; T < U; T++)
|
|
1392
|
+
v[T >>> 2] |= (_.charCodeAt(T) & 255) << 24 - T % 4 * 8;
|
|
1393
|
+
return new s.init(v, U);
|
|
1394
1394
|
}
|
|
1395
1395
|
}, d = o.Utf8 = {
|
|
1396
1396
|
/**
|
|
@@ -1468,13 +1468,13 @@ function ae() {
|
|
|
1468
1468
|
* var processedData = bufferedBlockAlgorithm._process(!!'flush');
|
|
1469
1469
|
*/
|
|
1470
1470
|
_process: function(_) {
|
|
1471
|
-
var U,
|
|
1472
|
-
_ ?
|
|
1473
|
-
var
|
|
1474
|
-
if (
|
|
1475
|
-
for (var
|
|
1476
|
-
this._doProcessBlock(T,
|
|
1477
|
-
U = T.splice(0,
|
|
1471
|
+
var U, v = this._data, T = v.words, x = v.sigBytes, S = this.blockSize, G = S * 4, O = x / G;
|
|
1472
|
+
_ ? O = n.ceil(O) : O = n.max((O | 0) - this._minBufferSize, 0);
|
|
1473
|
+
var C = O * S, h = n.min(C * 4, x);
|
|
1474
|
+
if (C) {
|
|
1475
|
+
for (var N = 0; N < C; N += S)
|
|
1476
|
+
this._doProcessBlock(T, N);
|
|
1477
|
+
U = T.splice(0, C), v.sigBytes -= h;
|
|
1478
1478
|
}
|
|
1479
1479
|
return new s.init(U, h);
|
|
1480
1480
|
},
|
|
@@ -1569,8 +1569,8 @@ function ae() {
|
|
|
1569
1569
|
* var SHA256 = CryptoJS.lib.Hasher._createHelper(CryptoJS.algo.SHA256);
|
|
1570
1570
|
*/
|
|
1571
1571
|
_createHelper: function(_) {
|
|
1572
|
-
return function(U,
|
|
1573
|
-
return new _.init(
|
|
1572
|
+
return function(U, v) {
|
|
1573
|
+
return new _.init(v).finalize(U);
|
|
1574
1574
|
};
|
|
1575
1575
|
},
|
|
1576
1576
|
/**
|
|
@@ -1587,8 +1587,8 @@ function ae() {
|
|
|
1587
1587
|
* var HmacSHA256 = CryptoJS.lib.Hasher._createHmacHelper(CryptoJS.algo.SHA256);
|
|
1588
1588
|
*/
|
|
1589
1589
|
_createHmacHelper: function(_) {
|
|
1590
|
-
return function(U,
|
|
1591
|
-
return new y.HMAC.init(_,
|
|
1590
|
+
return function(U, v) {
|
|
1591
|
+
return new y.HMAC.init(_, v).finalize(U);
|
|
1592
1592
|
};
|
|
1593
1593
|
}
|
|
1594
1594
|
});
|
|
@@ -1599,12 +1599,12 @@ function ae() {
|
|
|
1599
1599
|
});
|
|
1600
1600
|
})(li)), li.exports;
|
|
1601
1601
|
}
|
|
1602
|
-
var ri = { exports: {} },
|
|
1602
|
+
var ri = { exports: {} }, rr = ri.exports, Gt;
|
|
1603
1603
|
function Zi() {
|
|
1604
1604
|
return Gt || (Gt = 1, (function(e, r) {
|
|
1605
1605
|
(function(t, n) {
|
|
1606
1606
|
e.exports = n(ae());
|
|
1607
|
-
})(
|
|
1607
|
+
})(rr, function(t) {
|
|
1608
1608
|
return (function(n) {
|
|
1609
1609
|
var p = t, g = p.lib, b = g.Base, f = g.WordArray, l = p.x64 = {};
|
|
1610
1610
|
l.Word = b.extend({
|
|
@@ -1829,12 +1829,12 @@ function Zi() {
|
|
|
1829
1829
|
});
|
|
1830
1830
|
})(ri)), ri.exports;
|
|
1831
1831
|
}
|
|
1832
|
-
var oi = { exports: {} },
|
|
1833
|
-
function
|
|
1832
|
+
var oi = { exports: {} }, or = oi.exports, Mt;
|
|
1833
|
+
function sr() {
|
|
1834
1834
|
return Mt || (Mt = 1, (function(e, r) {
|
|
1835
1835
|
(function(t, n) {
|
|
1836
1836
|
e.exports = n(ae());
|
|
1837
|
-
})(
|
|
1837
|
+
})(or, function(t) {
|
|
1838
1838
|
return (function() {
|
|
1839
1839
|
if (typeof ArrayBuffer == "function") {
|
|
1840
1840
|
var n = t, p = n.lib, g = p.WordArray, b = g.init, f = g.init = function(l) {
|
|
@@ -1851,12 +1851,12 @@ function or() {
|
|
|
1851
1851
|
});
|
|
1852
1852
|
})(oi)), oi.exports;
|
|
1853
1853
|
}
|
|
1854
|
-
var si = { exports: {} },
|
|
1855
|
-
function
|
|
1854
|
+
var si = { exports: {} }, mr = si.exports, Rt;
|
|
1855
|
+
function ur() {
|
|
1856
1856
|
return Rt || (Rt = 1, (function(e, r) {
|
|
1857
1857
|
(function(t, n) {
|
|
1858
1858
|
e.exports = n(ae());
|
|
1859
|
-
})(
|
|
1859
|
+
})(mr, function(t) {
|
|
1860
1860
|
return (function() {
|
|
1861
1861
|
var n = t, p = n.lib, g = p.WordArray, b = n.enc;
|
|
1862
1862
|
b.Utf16 = b.Utf16BE = {
|
|
@@ -1945,12 +1945,12 @@ function mr() {
|
|
|
1945
1945
|
});
|
|
1946
1946
|
})(si)), si.exports;
|
|
1947
1947
|
}
|
|
1948
|
-
var mi = { exports: {} },
|
|
1948
|
+
var mi = { exports: {} }, pr = mi.exports, Pt;
|
|
1949
1949
|
function Sa() {
|
|
1950
1950
|
return Pt || (Pt = 1, (function(e, r) {
|
|
1951
1951
|
(function(t, n) {
|
|
1952
1952
|
e.exports = n(ae());
|
|
1953
|
-
})(
|
|
1953
|
+
})(pr, function(t) {
|
|
1954
1954
|
return (function() {
|
|
1955
1955
|
var n = t, p = n.lib, g = p.WordArray, b = n.enc;
|
|
1956
1956
|
b.Base64 = {
|
|
@@ -2020,12 +2020,12 @@ function Sa() {
|
|
|
2020
2020
|
});
|
|
2021
2021
|
})(mi)), mi.exports;
|
|
2022
2022
|
}
|
|
2023
|
-
var ui = { exports: {} },
|
|
2024
|
-
function
|
|
2023
|
+
var ui = { exports: {} }, gr = ui.exports, Ft;
|
|
2024
|
+
function dr() {
|
|
2025
2025
|
return Ft || (Ft = 1, (function(e, r) {
|
|
2026
2026
|
(function(t, n) {
|
|
2027
2027
|
e.exports = n(ae());
|
|
2028
|
-
})(
|
|
2028
|
+
})(gr, function(t) {
|
|
2029
2029
|
return (function() {
|
|
2030
2030
|
var n = t, p = n.lib, g = p.WordArray, b = n.enc;
|
|
2031
2031
|
b.Base64url = {
|
|
@@ -2051,10 +2051,10 @@ function gr() {
|
|
|
2051
2051
|
for (var m = [], u = 0; u < s; u += 3)
|
|
2052
2052
|
for (var d = a[u >>> 2] >>> 24 - u % 4 * 8 & 255, c = a[u + 1 >>> 2] >>> 24 - (u + 1) % 4 * 8 & 255, y = a[u + 2 >>> 2] >>> 24 - (u + 2) % 4 * 8 & 255, _ = d << 16 | c << 8 | y, U = 0; U < 4 && u + U * 0.75 < s; U++)
|
|
2053
2053
|
m.push(o.charAt(_ >>> 6 * (3 - U) & 63));
|
|
2054
|
-
var
|
|
2055
|
-
if (
|
|
2054
|
+
var v = o.charAt(64);
|
|
2055
|
+
if (v)
|
|
2056
2056
|
for (; m.length % 4; )
|
|
2057
|
-
m.push(
|
|
2057
|
+
m.push(v);
|
|
2058
2058
|
return m.join("");
|
|
2059
2059
|
},
|
|
2060
2060
|
/**
|
|
@@ -2102,12 +2102,12 @@ function gr() {
|
|
|
2102
2102
|
});
|
|
2103
2103
|
})(ui)), ui.exports;
|
|
2104
2104
|
}
|
|
2105
|
-
var pi = { exports: {} },
|
|
2105
|
+
var pi = { exports: {} }, cr = pi.exports, wt;
|
|
2106
2106
|
function Da() {
|
|
2107
2107
|
return wt || (wt = 1, (function(e, r) {
|
|
2108
2108
|
(function(t, n) {
|
|
2109
2109
|
e.exports = n(ae());
|
|
2110
|
-
})(
|
|
2110
|
+
})(cr, function(t) {
|
|
2111
2111
|
return (function(n) {
|
|
2112
2112
|
var p = t, g = p.lib, b = g.WordArray, f = g.Hasher, l = p.algo, i = [];
|
|
2113
2113
|
(function() {
|
|
@@ -2128,17 +2128,17 @@ function Da() {
|
|
|
2128
2128
|
var _ = c + y, U = d[_];
|
|
2129
2129
|
d[_] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360;
|
|
2130
2130
|
}
|
|
2131
|
-
var
|
|
2132
|
-
|
|
2131
|
+
var v = this._hash.words, T = d[c + 0], x = d[c + 1], S = d[c + 2], G = d[c + 3], O = d[c + 4], C = d[c + 5], h = d[c + 6], N = d[c + 7], E = d[c + 8], P = d[c + 9], M = d[c + 10], R = d[c + 11], B = d[c + 12], A = d[c + 13], H = d[c + 14], W = d[c + 15], L = v[0], D = v[1], F = v[2], w = v[3];
|
|
2132
|
+
L = s(L, D, F, w, T, 7, i[0]), w = s(w, L, D, F, x, 12, i[1]), F = s(F, w, L, D, S, 17, i[2]), D = s(D, F, w, L, G, 22, i[3]), L = s(L, D, F, w, O, 7, i[4]), w = s(w, L, D, F, C, 12, i[5]), F = s(F, w, L, D, h, 17, i[6]), D = s(D, F, w, L, N, 22, i[7]), L = s(L, D, F, w, E, 7, i[8]), w = s(w, L, D, F, P, 12, i[9]), F = s(F, w, L, D, M, 17, i[10]), D = s(D, F, w, L, R, 22, i[11]), L = s(L, D, F, w, B, 7, i[12]), w = s(w, L, D, F, A, 12, i[13]), F = s(F, w, L, D, H, 17, i[14]), D = s(D, F, w, L, W, 22, i[15]), L = o(L, D, F, w, x, 5, i[16]), w = o(w, L, D, F, h, 9, i[17]), F = o(F, w, L, D, R, 14, i[18]), D = o(D, F, w, L, T, 20, i[19]), L = o(L, D, F, w, C, 5, i[20]), w = o(w, L, D, F, M, 9, i[21]), F = o(F, w, L, D, W, 14, i[22]), D = o(D, F, w, L, O, 20, i[23]), L = o(L, D, F, w, P, 5, i[24]), w = o(w, L, D, F, H, 9, i[25]), F = o(F, w, L, D, G, 14, i[26]), D = o(D, F, w, L, E, 20, i[27]), L = o(L, D, F, w, A, 5, i[28]), w = o(w, L, D, F, S, 9, i[29]), F = o(F, w, L, D, N, 14, i[30]), D = o(D, F, w, L, B, 20, i[31]), L = m(L, D, F, w, C, 4, i[32]), w = m(w, L, D, F, E, 11, i[33]), F = m(F, w, L, D, R, 16, i[34]), D = m(D, F, w, L, H, 23, i[35]), L = m(L, D, F, w, x, 4, i[36]), w = m(w, L, D, F, O, 11, i[37]), F = m(F, w, L, D, N, 16, i[38]), D = m(D, F, w, L, M, 23, i[39]), L = m(L, D, F, w, A, 4, i[40]), w = m(w, L, D, F, T, 11, i[41]), F = m(F, w, L, D, G, 16, i[42]), D = m(D, F, w, L, h, 23, i[43]), L = m(L, D, F, w, P, 4, i[44]), w = m(w, L, D, F, B, 11, i[45]), F = m(F, w, L, D, W, 16, i[46]), D = m(D, F, w, L, S, 23, i[47]), L = u(L, D, F, w, T, 6, i[48]), w = u(w, L, D, F, N, 10, i[49]), F = u(F, w, L, D, H, 15, i[50]), D = u(D, F, w, L, C, 21, i[51]), L = u(L, D, F, w, B, 6, i[52]), w = u(w, L, D, F, G, 10, i[53]), F = u(F, w, L, D, M, 15, i[54]), D = u(D, F, w, L, x, 21, i[55]), L = u(L, D, F, w, E, 6, i[56]), w = u(w, L, D, F, W, 10, i[57]), F = u(F, w, L, D, h, 15, i[58]), D = u(D, F, w, L, A, 21, i[59]), L = u(L, D, F, w, O, 6, i[60]), w = u(w, L, D, F, R, 10, i[61]), F = u(F, w, L, D, S, 15, i[62]), D = u(D, F, w, L, P, 21, i[63]), v[0] = v[0] + L | 0, v[1] = v[1] + D | 0, v[2] = v[2] + F | 0, v[3] = v[3] + w | 0;
|
|
2133
2133
|
},
|
|
2134
2134
|
_doFinalize: function() {
|
|
2135
2135
|
var d = this._data, c = d.words, y = this._nDataBytes * 8, _ = d.sigBytes * 8;
|
|
2136
2136
|
c[_ >>> 5] |= 128 << 24 - _ % 32;
|
|
2137
|
-
var U = n.floor(y / 4294967296),
|
|
2138
|
-
c[(_ + 64 >>> 9 << 4) + 15] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, c[(_ + 64 >>> 9 << 4) + 14] = (
|
|
2137
|
+
var U = n.floor(y / 4294967296), v = y;
|
|
2138
|
+
c[(_ + 64 >>> 9 << 4) + 15] = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, c[(_ + 64 >>> 9 << 4) + 14] = (v << 8 | v >>> 24) & 16711935 | (v << 24 | v >>> 8) & 4278255360, d.sigBytes = (c.length + 1) * 4, this._process();
|
|
2139
2139
|
for (var T = this._hash, x = T.words, S = 0; S < 4; S++) {
|
|
2140
|
-
var
|
|
2141
|
-
x[S] = (
|
|
2140
|
+
var G = x[S];
|
|
2141
|
+
x[S] = (G << 8 | G >>> 24) & 16711935 | (G << 24 | G >>> 8) & 4278255360;
|
|
2142
2142
|
}
|
|
2143
2143
|
return T;
|
|
2144
2144
|
},
|
|
@@ -2147,33 +2147,33 @@ function Da() {
|
|
|
2147
2147
|
return d._hash = this._hash.clone(), d;
|
|
2148
2148
|
}
|
|
2149
2149
|
});
|
|
2150
|
-
function s(d, c, y, _, U,
|
|
2150
|
+
function s(d, c, y, _, U, v, T) {
|
|
2151
2151
|
var x = d + (c & y | ~c & _) + U + T;
|
|
2152
|
-
return (x <<
|
|
2152
|
+
return (x << v | x >>> 32 - v) + c;
|
|
2153
2153
|
}
|
|
2154
|
-
function o(d, c, y, _, U,
|
|
2154
|
+
function o(d, c, y, _, U, v, T) {
|
|
2155
2155
|
var x = d + (c & _ | y & ~_) + U + T;
|
|
2156
|
-
return (x <<
|
|
2156
|
+
return (x << v | x >>> 32 - v) + c;
|
|
2157
2157
|
}
|
|
2158
|
-
function m(d, c, y, _, U,
|
|
2158
|
+
function m(d, c, y, _, U, v, T) {
|
|
2159
2159
|
var x = d + (c ^ y ^ _) + U + T;
|
|
2160
|
-
return (x <<
|
|
2160
|
+
return (x << v | x >>> 32 - v) + c;
|
|
2161
2161
|
}
|
|
2162
|
-
function u(d, c, y, _, U,
|
|
2162
|
+
function u(d, c, y, _, U, v, T) {
|
|
2163
2163
|
var x = d + (y ^ (c | ~_)) + U + T;
|
|
2164
|
-
return (x <<
|
|
2164
|
+
return (x << v | x >>> 32 - v) + c;
|
|
2165
2165
|
}
|
|
2166
2166
|
p.MD5 = f._createHelper(a), p.HmacMD5 = f._createHmacHelper(a);
|
|
2167
2167
|
})(Math), t.MD5;
|
|
2168
2168
|
});
|
|
2169
2169
|
})(pi)), pi.exports;
|
|
2170
2170
|
}
|
|
2171
|
-
var gi = { exports: {} },
|
|
2171
|
+
var gi = { exports: {} }, fr = gi.exports, At;
|
|
2172
2172
|
function Xn() {
|
|
2173
2173
|
return At || (At = 1, (function(e, r) {
|
|
2174
2174
|
(function(t, n) {
|
|
2175
2175
|
e.exports = n(ae());
|
|
2176
|
-
})(
|
|
2176
|
+
})(fr, function(t) {
|
|
2177
2177
|
return (function() {
|
|
2178
2178
|
var n = t, p = n.lib, g = p.WordArray, b = p.Hasher, f = n.algo, l = [], i = f.SHA1 = b.extend({
|
|
2179
2179
|
_doReset: function() {
|
|
@@ -2193,8 +2193,8 @@ function Xn() {
|
|
|
2193
2193
|
var U = l[_ - 3] ^ l[_ - 8] ^ l[_ - 14] ^ l[_ - 16];
|
|
2194
2194
|
l[_] = U << 1 | U >>> 31;
|
|
2195
2195
|
}
|
|
2196
|
-
var
|
|
2197
|
-
_ < 20 ?
|
|
2196
|
+
var v = (m << 5 | m >>> 27) + y + l[_];
|
|
2197
|
+
_ < 20 ? v += (u & d | ~u & c) + 1518500249 : _ < 40 ? v += (u ^ d ^ c) + 1859775393 : _ < 60 ? v += (u & d | u & c | d & c) - 1894007588 : v += (u ^ d ^ c) - 899497514, y = c, c = d, d = u << 30 | u >>> 2, u = m, m = v;
|
|
2198
2198
|
}
|
|
2199
2199
|
o[0] = o[0] + m | 0, o[1] = o[1] + u | 0, o[2] = o[2] + d | 0, o[3] = o[3] + c | 0, o[4] = o[4] + y | 0;
|
|
2200
2200
|
},
|
|
@@ -2212,12 +2212,12 @@ function Xn() {
|
|
|
2212
2212
|
});
|
|
2213
2213
|
})(gi)), gi.exports;
|
|
2214
2214
|
}
|
|
2215
|
-
var di = { exports: {} },
|
|
2215
|
+
var di = { exports: {} }, _r = di.exports, Ot;
|
|
2216
2216
|
function pt() {
|
|
2217
2217
|
return Ot || (Ot = 1, (function(e, r) {
|
|
2218
2218
|
(function(t, n) {
|
|
2219
2219
|
e.exports = n(ae());
|
|
2220
|
-
})(
|
|
2220
|
+
})(_r, function(t) {
|
|
2221
2221
|
return (function(n) {
|
|
2222
2222
|
var p = t, g = p.lib, b = g.WordArray, f = g.Hasher, l = p.algo, i = [], a = [];
|
|
2223
2223
|
(function() {
|
|
@@ -2238,17 +2238,17 @@ function pt() {
|
|
|
2238
2238
|
this._hash = new b.init(i.slice(0));
|
|
2239
2239
|
},
|
|
2240
2240
|
_doProcessBlock: function(m, u) {
|
|
2241
|
-
for (var d = this._hash.words, c = d[0], y = d[1], _ = d[2], U = d[3],
|
|
2242
|
-
if (
|
|
2243
|
-
s[
|
|
2241
|
+
for (var d = this._hash.words, c = d[0], y = d[1], _ = d[2], U = d[3], v = d[4], T = d[5], x = d[6], S = d[7], G = 0; G < 64; G++) {
|
|
2242
|
+
if (G < 16)
|
|
2243
|
+
s[G] = m[u + G] | 0;
|
|
2244
2244
|
else {
|
|
2245
|
-
var
|
|
2246
|
-
s[
|
|
2245
|
+
var O = s[G - 15], C = (O << 25 | O >>> 7) ^ (O << 14 | O >>> 18) ^ O >>> 3, h = s[G - 2], N = (h << 15 | h >>> 17) ^ (h << 13 | h >>> 19) ^ h >>> 10;
|
|
2246
|
+
s[G] = C + s[G - 7] + N + s[G - 16];
|
|
2247
2247
|
}
|
|
2248
|
-
var
|
|
2249
|
-
S = x, x = T, T =
|
|
2248
|
+
var E = v & T ^ ~v & x, P = c & y ^ c & _ ^ y & _, M = (c << 30 | c >>> 2) ^ (c << 19 | c >>> 13) ^ (c << 10 | c >>> 22), R = (v << 26 | v >>> 6) ^ (v << 21 | v >>> 11) ^ (v << 7 | v >>> 25), B = S + R + E + a[G] + s[G], A = M + P;
|
|
2249
|
+
S = x, x = T, T = v, v = U + B | 0, U = _, _ = y, y = c, c = B + A | 0;
|
|
2250
2250
|
}
|
|
2251
|
-
d[0] = d[0] + c | 0, d[1] = d[1] + y | 0, d[2] = d[2] + _ | 0, d[3] = d[3] + U | 0, d[4] = d[4] +
|
|
2251
|
+
d[0] = d[0] + c | 0, d[1] = d[1] + y | 0, d[2] = d[2] + _ | 0, d[3] = d[3] + U | 0, d[4] = d[4] + v | 0, d[5] = d[5] + T | 0, d[6] = d[6] + x | 0, d[7] = d[7] + S | 0;
|
|
2252
2252
|
},
|
|
2253
2253
|
_doFinalize: function() {
|
|
2254
2254
|
var m = this._data, u = m.words, d = this._nDataBytes * 8, c = m.sigBytes * 8;
|
|
@@ -2264,12 +2264,12 @@ function pt() {
|
|
|
2264
2264
|
});
|
|
2265
2265
|
})(di)), di.exports;
|
|
2266
2266
|
}
|
|
2267
|
-
var ci = { exports: {} },
|
|
2268
|
-
function
|
|
2267
|
+
var ci = { exports: {} }, yr = ci.exports, Bt;
|
|
2268
|
+
function Ur() {
|
|
2269
2269
|
return Bt || (Bt = 1, (function(e, r) {
|
|
2270
2270
|
(function(t, n, p) {
|
|
2271
2271
|
e.exports = n(ae(), pt());
|
|
2272
|
-
})(
|
|
2272
|
+
})(yr, function(t) {
|
|
2273
2273
|
return (function() {
|
|
2274
2274
|
var n = t, p = n.lib, g = p.WordArray, b = n.algo, f = b.SHA256, l = b.SHA224 = f.extend({
|
|
2275
2275
|
_doReset: function() {
|
|
@@ -2294,12 +2294,12 @@ function yr() {
|
|
|
2294
2294
|
});
|
|
2295
2295
|
})(ci)), ci.exports;
|
|
2296
2296
|
}
|
|
2297
|
-
var fi = { exports: {} },
|
|
2297
|
+
var fi = { exports: {} }, br = fi.exports, Ht;
|
|
2298
2298
|
function el() {
|
|
2299
2299
|
return Ht || (Ht = 1, (function(e, r) {
|
|
2300
2300
|
(function(t, n, p) {
|
|
2301
2301
|
e.exports = n(ae(), Zi());
|
|
2302
|
-
})(
|
|
2302
|
+
})(br, function(t) {
|
|
2303
2303
|
return (function() {
|
|
2304
2304
|
var n = t, p = n.lib, g = p.Hasher, b = n.x64, f = b.Word, l = b.WordArray, i = n.algo;
|
|
2305
2305
|
function a() {
|
|
@@ -2405,18 +2405,18 @@ function el() {
|
|
|
2405
2405
|
]);
|
|
2406
2406
|
},
|
|
2407
2407
|
_doProcessBlock: function(u, d) {
|
|
2408
|
-
for (var c = this._hash.words, y = c[0], _ = c[1], U = c[2],
|
|
2409
|
-
var
|
|
2408
|
+
for (var c = this._hash.words, y = c[0], _ = c[1], U = c[2], v = c[3], T = c[4], x = c[5], S = c[6], G = c[7], O = y.high, C = y.low, h = _.high, N = _.low, E = U.high, P = U.low, M = v.high, R = v.low, B = T.high, A = T.low, H = x.high, W = x.low, L = S.high, D = S.low, F = G.high, w = G.low, K = O, Q = C, $ = h, J = N, X = E, ie = P, Ue = M, ue = R, oe = B, fe = A, ke = H, _e = W, je = L, Ce = D, Ge = F, Ye = w, Me = 0; Me < 80; Me++) {
|
|
2409
|
+
var ve, Oe, Xe = o[Me];
|
|
2410
2410
|
if (Me < 16)
|
|
2411
|
-
Oe = Xe.high = u[d + Me * 2] | 0,
|
|
2411
|
+
Oe = Xe.high = u[d + Me * 2] | 0, ve = Xe.low = u[d + Me * 2 + 1] | 0;
|
|
2412
2412
|
else {
|
|
2413
2413
|
var ea = o[Me - 15], xe = ea.high, Re = ea.low, Je = (xe >>> 1 | Re << 31) ^ (xe >>> 8 | Re << 24) ^ xe >>> 7, ra = (Re >>> 1 | xe << 31) ^ (Re >>> 8 | xe << 24) ^ (Re >>> 7 | xe << 25), ga = o[Me - 2], ze = ga.high, Ke = ga.low, Wa = (ze >>> 19 | Ke << 13) ^ (ze << 3 | Ke >>> 29) ^ ze >>> 6, Ea = (Ke >>> 19 | ze << 13) ^ (Ke << 3 | ze >>> 29) ^ (Ke >>> 6 | ze << 26), Na = o[Me - 7], za = Na.high, Ia = Na.low, da = o[Me - 16], Ua = da.high, Ve = da.low;
|
|
2414
|
-
|
|
2414
|
+
ve = ra + Ia, Oe = Je + za + (ve >>> 0 < ra >>> 0 ? 1 : 0), ve = ve + Ea, Oe = Oe + Wa + (ve >>> 0 < Ea >>> 0 ? 1 : 0), ve = ve + Ve, Oe = Oe + Ua + (ve >>> 0 < Ve >>> 0 ? 1 : 0), Xe.high = Oe, Xe.low = ve;
|
|
2415
2415
|
}
|
|
2416
|
-
var ca = oe &
|
|
2417
|
-
Ge = je, Ye =
|
|
2416
|
+
var ca = oe & ke ^ ~oe & je, fa = fe & _e ^ ~fe & Ce, La = K & $ ^ K & X ^ $ & X, Ga = Q & J ^ Q & ie ^ J & ie, ba = (K >>> 28 | Q << 4) ^ (K << 30 | Q >>> 2) ^ (K << 25 | Q >>> 7), Ma = (Q >>> 28 | K << 4) ^ (Q << 30 | K >>> 2) ^ (Q << 25 | K >>> 7), Ra = (oe >>> 14 | fe << 18) ^ (oe >>> 18 | fe << 14) ^ (oe << 23 | fe >>> 9), Se = (fe >>> 14 | oe << 18) ^ (fe >>> 18 | oe << 14) ^ (fe << 23 | oe >>> 9), I = s[Me], De = I.high, aa = I.low, Pe = Ye + Se, ia = Ge + Ra + (Pe >>> 0 < Ye >>> 0 ? 1 : 0), Pe = Pe + fa, ia = ia + ca + (Pe >>> 0 < fa >>> 0 ? 1 : 0), Pe = Pe + aa, ia = ia + De + (Pe >>> 0 < aa >>> 0 ? 1 : 0), Pe = Pe + ve, ia = ia + Oe + (Pe >>> 0 < ve >>> 0 ? 1 : 0), Ya = Ma + Ga, qi = ba + La + (Ya >>> 0 < Ma >>> 0 ? 1 : 0);
|
|
2417
|
+
Ge = je, Ye = Ce, je = ke, Ce = _e, ke = oe, _e = fe, fe = ue + Pe | 0, oe = Ue + ia + (fe >>> 0 < ue >>> 0 ? 1 : 0) | 0, Ue = X, ue = ie, X = $, ie = J, $ = K, J = Q, Q = Pe + Ya | 0, K = ia + qi + (Q >>> 0 < Pe >>> 0 ? 1 : 0) | 0;
|
|
2418
2418
|
}
|
|
2419
|
-
|
|
2419
|
+
C = y.low = C + Q, y.high = O + K + (C >>> 0 < Q >>> 0 ? 1 : 0), N = _.low = N + J, _.high = h + $ + (N >>> 0 < J >>> 0 ? 1 : 0), P = U.low = P + ie, U.high = E + X + (P >>> 0 < ie >>> 0 ? 1 : 0), R = v.low = R + ue, v.high = M + Ue + (R >>> 0 < ue >>> 0 ? 1 : 0), A = T.low = A + fe, T.high = B + oe + (A >>> 0 < fe >>> 0 ? 1 : 0), W = x.low = W + _e, x.high = H + ke + (W >>> 0 < _e >>> 0 ? 1 : 0), D = S.low = D + Ce, S.high = L + je + (D >>> 0 < Ce >>> 0 ? 1 : 0), w = G.low = w + Ye, G.high = F + Ge + (w >>> 0 < Ye >>> 0 ? 1 : 0);
|
|
2420
2420
|
},
|
|
2421
2421
|
_doFinalize: function() {
|
|
2422
2422
|
var u = this._data, d = u.words, c = this._nDataBytes * 8, y = u.sigBytes * 8;
|
|
@@ -2435,12 +2435,12 @@ function el() {
|
|
|
2435
2435
|
});
|
|
2436
2436
|
})(fi)), fi.exports;
|
|
2437
2437
|
}
|
|
2438
|
-
var _i = { exports: {} },
|
|
2439
|
-
function
|
|
2438
|
+
var _i = { exports: {} }, Cr = _i.exports, Wt;
|
|
2439
|
+
function vr() {
|
|
2440
2440
|
return Wt || (Wt = 1, (function(e, r) {
|
|
2441
2441
|
(function(t, n, p) {
|
|
2442
2442
|
e.exports = n(ae(), Zi(), el());
|
|
2443
|
-
})(
|
|
2443
|
+
})(Cr, function(t) {
|
|
2444
2444
|
return (function() {
|
|
2445
2445
|
var n = t, p = n.x64, g = p.Word, b = p.WordArray, f = n.algo, l = f.SHA512, i = f.SHA384 = l.extend({
|
|
2446
2446
|
_doReset: function() {
|
|
@@ -2465,32 +2465,32 @@ function Cr() {
|
|
|
2465
2465
|
});
|
|
2466
2466
|
})(_i)), _i.exports;
|
|
2467
2467
|
}
|
|
2468
|
-
var yi = { exports: {} },
|
|
2469
|
-
function
|
|
2468
|
+
var yi = { exports: {} }, hr = yi.exports, zt;
|
|
2469
|
+
function Tr() {
|
|
2470
2470
|
return zt || (zt = 1, (function(e, r) {
|
|
2471
2471
|
(function(t, n, p) {
|
|
2472
2472
|
e.exports = n(ae(), Zi());
|
|
2473
|
-
})(
|
|
2473
|
+
})(hr, function(t) {
|
|
2474
2474
|
return (function(n) {
|
|
2475
2475
|
var p = t, g = p.lib, b = g.WordArray, f = g.Hasher, l = p.x64, i = l.Word, a = p.algo, s = [], o = [], m = [];
|
|
2476
2476
|
(function() {
|
|
2477
2477
|
for (var c = 1, y = 0, _ = 0; _ < 24; _++) {
|
|
2478
2478
|
s[c + 5 * y] = (_ + 1) * (_ + 2) / 2 % 64;
|
|
2479
|
-
var U = y % 5,
|
|
2480
|
-
c = U, y =
|
|
2479
|
+
var U = y % 5, v = (2 * c + 3 * y) % 5;
|
|
2480
|
+
c = U, y = v;
|
|
2481
2481
|
}
|
|
2482
2482
|
for (var c = 0; c < 5; c++)
|
|
2483
2483
|
for (var y = 0; y < 5; y++)
|
|
2484
2484
|
o[c + 5 * y] = y + (2 * c + 3 * y) % 5 * 5;
|
|
2485
2485
|
for (var T = 1, x = 0; x < 24; x++) {
|
|
2486
|
-
for (var S = 0,
|
|
2486
|
+
for (var S = 0, G = 0, O = 0; O < 7; O++) {
|
|
2487
2487
|
if (T & 1) {
|
|
2488
|
-
var
|
|
2489
|
-
|
|
2488
|
+
var C = (1 << O) - 1;
|
|
2489
|
+
C < 32 ? G ^= 1 << C : S ^= 1 << C - 32;
|
|
2490
2490
|
}
|
|
2491
2491
|
T & 128 ? T = T << 1 ^ 113 : T <<= 1;
|
|
2492
2492
|
}
|
|
2493
|
-
m[x] = i.create(S,
|
|
2493
|
+
m[x] = i.create(S, G);
|
|
2494
2494
|
}
|
|
2495
2495
|
})();
|
|
2496
2496
|
var u = [];
|
|
@@ -2516,40 +2516,40 @@ function hr() {
|
|
|
2516
2516
|
this.blockSize = (1600 - 2 * this.cfg.outputLength) / 32;
|
|
2517
2517
|
},
|
|
2518
2518
|
_doProcessBlock: function(c, y) {
|
|
2519
|
-
for (var _ = this._state, U = this.blockSize / 2,
|
|
2520
|
-
var T = c[y + 2 *
|
|
2519
|
+
for (var _ = this._state, U = this.blockSize / 2, v = 0; v < U; v++) {
|
|
2520
|
+
var T = c[y + 2 * v], x = c[y + 2 * v + 1];
|
|
2521
2521
|
T = (T << 8 | T >>> 24) & 16711935 | (T << 24 | T >>> 8) & 4278255360, x = (x << 8 | x >>> 24) & 16711935 | (x << 24 | x >>> 8) & 4278255360;
|
|
2522
|
-
var S = _[
|
|
2522
|
+
var S = _[v];
|
|
2523
2523
|
S.high ^= x, S.low ^= T;
|
|
2524
2524
|
}
|
|
2525
|
-
for (var
|
|
2526
|
-
for (var
|
|
2527
|
-
for (var
|
|
2528
|
-
var S = _[
|
|
2529
|
-
|
|
2525
|
+
for (var G = 0; G < 24; G++) {
|
|
2526
|
+
for (var O = 0; O < 5; O++) {
|
|
2527
|
+
for (var C = 0, h = 0, N = 0; N < 5; N++) {
|
|
2528
|
+
var S = _[O + 5 * N];
|
|
2529
|
+
C ^= S.high, h ^= S.low;
|
|
2530
2530
|
}
|
|
2531
|
-
var
|
|
2532
|
-
|
|
2531
|
+
var E = u[O];
|
|
2532
|
+
E.high = C, E.low = h;
|
|
2533
2533
|
}
|
|
2534
|
-
for (var
|
|
2535
|
-
for (var P = u[(
|
|
2536
|
-
var S = _[
|
|
2537
|
-
S.high ^=
|
|
2534
|
+
for (var O = 0; O < 5; O++)
|
|
2535
|
+
for (var P = u[(O + 4) % 5], M = u[(O + 1) % 5], R = M.high, B = M.low, C = P.high ^ (R << 1 | B >>> 31), h = P.low ^ (B << 1 | R >>> 31), N = 0; N < 5; N++) {
|
|
2536
|
+
var S = _[O + 5 * N];
|
|
2537
|
+
S.high ^= C, S.low ^= h;
|
|
2538
2538
|
}
|
|
2539
|
-
for (var
|
|
2540
|
-
var
|
|
2541
|
-
|
|
2542
|
-
var D = u[o[
|
|
2543
|
-
D.high =
|
|
2539
|
+
for (var A = 1; A < 25; A++) {
|
|
2540
|
+
var C, h, S = _[A], H = S.high, W = S.low, L = s[A];
|
|
2541
|
+
L < 32 ? (C = H << L | W >>> 32 - L, h = W << L | H >>> 32 - L) : (C = W << L - 32 | H >>> 64 - L, h = H << L - 32 | W >>> 64 - L);
|
|
2542
|
+
var D = u[o[A]];
|
|
2543
|
+
D.high = C, D.low = h;
|
|
2544
2544
|
}
|
|
2545
|
-
var
|
|
2546
|
-
|
|
2547
|
-
for (var
|
|
2548
|
-
for (var
|
|
2549
|
-
var
|
|
2545
|
+
var F = u[0], w = _[0];
|
|
2546
|
+
F.high = w.high, F.low = w.low;
|
|
2547
|
+
for (var O = 0; O < 5; O++)
|
|
2548
|
+
for (var N = 0; N < 5; N++) {
|
|
2549
|
+
var A = O + 5 * N, S = _[A], K = u[A], Q = u[(O + 1) % 5 + 5 * N], $ = u[(O + 2) % 5 + 5 * N];
|
|
2550
2550
|
S.high = K.high ^ ~Q.high & $.high, S.low = K.low ^ ~Q.low & $.low;
|
|
2551
2551
|
}
|
|
2552
|
-
var S = _[0], J = m[
|
|
2552
|
+
var S = _[0], J = m[G];
|
|
2553
2553
|
S.high ^= J.high, S.low ^= J.low;
|
|
2554
2554
|
}
|
|
2555
2555
|
},
|
|
@@ -2558,9 +2558,9 @@ function hr() {
|
|
|
2558
2558
|
this._nDataBytes * 8;
|
|
2559
2559
|
var _ = c.sigBytes * 8, U = this.blockSize * 32;
|
|
2560
2560
|
y[_ >>> 5] |= 1 << 24 - _ % 32, y[(n.ceil((_ + 1) / U) * U >>> 5) - 1] |= 128, c.sigBytes = y.length * 4, this._process();
|
|
2561
|
-
for (var
|
|
2562
|
-
var
|
|
2563
|
-
|
|
2561
|
+
for (var v = this._state, T = this.cfg.outputLength / 8, x = T / 8, S = [], G = 0; G < x; G++) {
|
|
2562
|
+
var O = v[G], C = O.high, h = O.low;
|
|
2563
|
+
C = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360, h = (h << 8 | h >>> 24) & 16711935 | (h << 24 | h >>> 8) & 4278255360, S.push(h), S.push(C);
|
|
2564
2564
|
}
|
|
2565
2565
|
return new b.init(S, T);
|
|
2566
2566
|
},
|
|
@@ -2575,12 +2575,12 @@ function hr() {
|
|
|
2575
2575
|
});
|
|
2576
2576
|
})(yi)), yi.exports;
|
|
2577
2577
|
}
|
|
2578
|
-
var Ui = { exports: {} },
|
|
2579
|
-
function
|
|
2578
|
+
var Ui = { exports: {} }, kr = Ui.exports, It;
|
|
2579
|
+
function xr() {
|
|
2580
2580
|
return It || (It = 1, (function(e, r) {
|
|
2581
2581
|
(function(t, n) {
|
|
2582
2582
|
e.exports = n(ae());
|
|
2583
|
-
})(
|
|
2583
|
+
})(kr, function(t) {
|
|
2584
2584
|
return (function(n) {
|
|
2585
2585
|
var p = t, g = p.lib, b = g.WordArray, f = g.Hasher, l = p.algo, i = b.create([
|
|
2586
2586
|
0,
|
|
@@ -2911,44 +2911,44 @@ function kr() {
|
|
|
2911
2911
|
this._hash = b.create([1732584193, 4023233417, 2562383102, 271733878, 3285377520]);
|
|
2912
2912
|
},
|
|
2913
2913
|
_doProcessBlock: function(x, S) {
|
|
2914
|
-
for (var
|
|
2915
|
-
var
|
|
2916
|
-
x[
|
|
2914
|
+
for (var G = 0; G < 16; G++) {
|
|
2915
|
+
var O = S + G, C = x[O];
|
|
2916
|
+
x[O] = (C << 8 | C >>> 24) & 16711935 | (C << 24 | C >>> 8) & 4278255360;
|
|
2917
2917
|
}
|
|
2918
|
-
var h = this._hash.words,
|
|
2919
|
-
|
|
2920
|
-
for (var J,
|
|
2921
|
-
J =
|
|
2922
|
-
J = h[1] + W + Q | 0, h[1] = h[2] +
|
|
2918
|
+
var h = this._hash.words, N = m.words, E = u.words, P = i.words, M = a.words, R = s.words, B = o.words, A, H, W, L, D, F, w, K, Q, $;
|
|
2919
|
+
F = A = h[0], w = H = h[1], K = W = h[2], Q = L = h[3], $ = D = h[4];
|
|
2920
|
+
for (var J, G = 0; G < 80; G += 1)
|
|
2921
|
+
J = A + x[S + P[G]] | 0, G < 16 ? J += c(H, W, L) + N[0] : G < 32 ? J += y(H, W, L) + N[1] : G < 48 ? J += _(H, W, L) + N[2] : G < 64 ? J += U(H, W, L) + N[3] : J += v(H, W, L) + N[4], J = J | 0, J = T(J, R[G]), J = J + D | 0, A = D, D = L, L = T(W, 10), W = H, H = J, J = F + x[S + M[G]] | 0, G < 16 ? J += v(w, K, Q) + E[0] : G < 32 ? J += U(w, K, Q) + E[1] : G < 48 ? J += _(w, K, Q) + E[2] : G < 64 ? J += y(w, K, Q) + E[3] : J += c(w, K, Q) + E[4], J = J | 0, J = T(J, B[G]), J = J + $ | 0, F = $, $ = Q, Q = T(K, 10), K = w, w = J;
|
|
2922
|
+
J = h[1] + W + Q | 0, h[1] = h[2] + L + $ | 0, h[2] = h[3] + D + F | 0, h[3] = h[4] + A + w | 0, h[4] = h[0] + H + K | 0, h[0] = J;
|
|
2923
2923
|
},
|
|
2924
2924
|
_doFinalize: function() {
|
|
2925
|
-
var x = this._data, S = x.words,
|
|
2926
|
-
S[
|
|
2927
|
-
for (var
|
|
2928
|
-
var
|
|
2929
|
-
h[
|
|
2925
|
+
var x = this._data, S = x.words, G = this._nDataBytes * 8, O = x.sigBytes * 8;
|
|
2926
|
+
S[O >>> 5] |= 128 << 24 - O % 32, S[(O + 64 >>> 9 << 4) + 14] = (G << 8 | G >>> 24) & 16711935 | (G << 24 | G >>> 8) & 4278255360, x.sigBytes = (S.length + 1) * 4, this._process();
|
|
2927
|
+
for (var C = this._hash, h = C.words, N = 0; N < 5; N++) {
|
|
2928
|
+
var E = h[N];
|
|
2929
|
+
h[N] = (E << 8 | E >>> 24) & 16711935 | (E << 24 | E >>> 8) & 4278255360;
|
|
2930
2930
|
}
|
|
2931
|
-
return
|
|
2931
|
+
return C;
|
|
2932
2932
|
},
|
|
2933
2933
|
clone: function() {
|
|
2934
2934
|
var x = f.clone.call(this);
|
|
2935
2935
|
return x._hash = this._hash.clone(), x;
|
|
2936
2936
|
}
|
|
2937
2937
|
});
|
|
2938
|
-
function c(x, S,
|
|
2939
|
-
return x ^ S ^
|
|
2938
|
+
function c(x, S, G) {
|
|
2939
|
+
return x ^ S ^ G;
|
|
2940
2940
|
}
|
|
2941
|
-
function y(x, S,
|
|
2942
|
-
return x & S | ~x &
|
|
2941
|
+
function y(x, S, G) {
|
|
2942
|
+
return x & S | ~x & G;
|
|
2943
2943
|
}
|
|
2944
|
-
function _(x, S,
|
|
2945
|
-
return (x | ~S) ^
|
|
2944
|
+
function _(x, S, G) {
|
|
2945
|
+
return (x | ~S) ^ G;
|
|
2946
2946
|
}
|
|
2947
|
-
function U(x, S,
|
|
2948
|
-
return x &
|
|
2947
|
+
function U(x, S, G) {
|
|
2948
|
+
return x & G | S & ~G;
|
|
2949
2949
|
}
|
|
2950
|
-
function
|
|
2951
|
-
return x ^ (S | ~
|
|
2950
|
+
function v(x, S, G) {
|
|
2951
|
+
return x ^ (S | ~G);
|
|
2952
2952
|
}
|
|
2953
2953
|
function T(x, S) {
|
|
2954
2954
|
return x << S | x >>> 32 - S;
|
|
@@ -2958,12 +2958,12 @@ function kr() {
|
|
|
2958
2958
|
});
|
|
2959
2959
|
})(Ui)), Ui.exports;
|
|
2960
2960
|
}
|
|
2961
|
-
var bi = { exports: {} },
|
|
2961
|
+
var bi = { exports: {} }, Sr = bi.exports, Vt;
|
|
2962
2962
|
function gt() {
|
|
2963
2963
|
return Vt || (Vt = 1, (function(e, r) {
|
|
2964
2964
|
(function(t, n) {
|
|
2965
2965
|
e.exports = n(ae());
|
|
2966
|
-
})(
|
|
2966
|
+
})(Sr, function(t) {
|
|
2967
2967
|
(function() {
|
|
2968
2968
|
var n = t, p = n.lib, g = p.Base, b = n.enc, f = b.Utf8, l = n.algo;
|
|
2969
2969
|
l.HMAC = g.extend({
|
|
@@ -3036,12 +3036,12 @@ function gt() {
|
|
|
3036
3036
|
});
|
|
3037
3037
|
})(bi)), bi.exports;
|
|
3038
3038
|
}
|
|
3039
|
-
var Ci = { exports: {} },
|
|
3040
|
-
function
|
|
3039
|
+
var Ci = { exports: {} }, Dr = Ci.exports, Zt;
|
|
3040
|
+
function Er() {
|
|
3041
3041
|
return Zt || (Zt = 1, (function(e, r) {
|
|
3042
3042
|
(function(t, n, p) {
|
|
3043
3043
|
e.exports = n(ae(), pt(), gt());
|
|
3044
|
-
})(
|
|
3044
|
+
})(Dr, function(t) {
|
|
3045
3045
|
return (function() {
|
|
3046
3046
|
var n = t, p = n.lib, g = p.Base, b = p.WordArray, f = n.algo, l = f.SHA256, i = f.HMAC, a = f.PBKDF2 = g.extend({
|
|
3047
3047
|
/**
|
|
@@ -3083,13 +3083,13 @@ function Dr() {
|
|
|
3083
3083
|
* var key = kdf.compute(password, salt);
|
|
3084
3084
|
*/
|
|
3085
3085
|
compute: function(s, o) {
|
|
3086
|
-
for (var m = this.cfg, u = i.create(m.hasher, s), d = b.create(), c = b.create([1]), y = d.words, _ = c.words, U = m.keySize,
|
|
3086
|
+
for (var m = this.cfg, u = i.create(m.hasher, s), d = b.create(), c = b.create([1]), y = d.words, _ = c.words, U = m.keySize, v = m.iterations; y.length < U; ) {
|
|
3087
3087
|
var T = u.update(o).finalize(c);
|
|
3088
3088
|
u.reset();
|
|
3089
|
-
for (var x = T.words, S = x.length,
|
|
3090
|
-
|
|
3091
|
-
for (var
|
|
3092
|
-
x[h] ^=
|
|
3089
|
+
for (var x = T.words, S = x.length, G = T, O = 1; O < v; O++) {
|
|
3090
|
+
G = u.finalize(G), u.reset();
|
|
3091
|
+
for (var C = G.words, h = 0; h < S; h++)
|
|
3092
|
+
x[h] ^= C[h];
|
|
3093
3093
|
}
|
|
3094
3094
|
d.concat(T), _[0]++;
|
|
3095
3095
|
}
|
|
@@ -3103,12 +3103,12 @@ function Dr() {
|
|
|
3103
3103
|
});
|
|
3104
3104
|
})(Ci)), Ci.exports;
|
|
3105
3105
|
}
|
|
3106
|
-
var vi = { exports: {} },
|
|
3106
|
+
var vi = { exports: {} }, Nr = vi.exports, Jt;
|
|
3107
3107
|
function ya() {
|
|
3108
3108
|
return Jt || (Jt = 1, (function(e, r) {
|
|
3109
3109
|
(function(t, n, p) {
|
|
3110
3110
|
e.exports = n(ae(), Xn(), gt());
|
|
3111
|
-
})(
|
|
3111
|
+
})(Nr, function(t) {
|
|
3112
3112
|
return (function() {
|
|
3113
3113
|
var n = t, p = n.lib, g = p.Base, b = p.WordArray, f = n.algo, l = f.MD5, i = f.EvpKDF = g.extend({
|
|
3114
3114
|
/**
|
|
@@ -3166,12 +3166,12 @@ function ya() {
|
|
|
3166
3166
|
});
|
|
3167
3167
|
})(vi)), vi.exports;
|
|
3168
3168
|
}
|
|
3169
|
-
var hi = { exports: {} },
|
|
3169
|
+
var hi = { exports: {} }, Lr = hi.exports, Kt;
|
|
3170
3170
|
function Ne() {
|
|
3171
3171
|
return Kt || (Kt = 1, (function(e, r) {
|
|
3172
3172
|
(function(t, n, p) {
|
|
3173
3173
|
e.exports = n(ae(), ya());
|
|
3174
|
-
})(
|
|
3174
|
+
})(Lr, function(t) {
|
|
3175
3175
|
t.lib.Cipher || (function(n) {
|
|
3176
3176
|
var p = t, g = p.lib, b = g.Base, f = g.WordArray, l = g.BufferedBlockAlgorithm, i = p.enc;
|
|
3177
3177
|
i.Utf8;
|
|
@@ -3196,8 +3196,8 @@ function Ne() {
|
|
|
3196
3196
|
*
|
|
3197
3197
|
* var cipher = CryptoJS.algo.AES.createEncryptor(keyWordArray, { iv: ivWordArray });
|
|
3198
3198
|
*/
|
|
3199
|
-
createEncryptor: function(
|
|
3200
|
-
return this.create(this._ENC_XFORM_MODE,
|
|
3199
|
+
createEncryptor: function(C, h) {
|
|
3200
|
+
return this.create(this._ENC_XFORM_MODE, C, h);
|
|
3201
3201
|
},
|
|
3202
3202
|
/**
|
|
3203
3203
|
* Creates this cipher in decryption mode.
|
|
@@ -3213,8 +3213,8 @@ function Ne() {
|
|
|
3213
3213
|
*
|
|
3214
3214
|
* var cipher = CryptoJS.algo.AES.createDecryptor(keyWordArray, { iv: ivWordArray });
|
|
3215
3215
|
*/
|
|
3216
|
-
createDecryptor: function(
|
|
3217
|
-
return this.create(this._DEC_XFORM_MODE,
|
|
3216
|
+
createDecryptor: function(C, h) {
|
|
3217
|
+
return this.create(this._DEC_XFORM_MODE, C, h);
|
|
3218
3218
|
},
|
|
3219
3219
|
/**
|
|
3220
3220
|
* Initializes a newly created cipher.
|
|
@@ -3227,8 +3227,8 @@ function Ne() {
|
|
|
3227
3227
|
*
|
|
3228
3228
|
* var cipher = CryptoJS.algo.AES.create(CryptoJS.algo.AES._ENC_XFORM_MODE, keyWordArray, { iv: ivWordArray });
|
|
3229
3229
|
*/
|
|
3230
|
-
init: function(
|
|
3231
|
-
this.cfg = this.cfg.extend(
|
|
3230
|
+
init: function(C, h, N) {
|
|
3231
|
+
this.cfg = this.cfg.extend(N), this._xformMode = C, this._key = h, this.reset();
|
|
3232
3232
|
},
|
|
3233
3233
|
/**
|
|
3234
3234
|
* Resets this cipher to its initial state.
|
|
@@ -3252,8 +3252,8 @@ function Ne() {
|
|
|
3252
3252
|
* var encrypted = cipher.process('data');
|
|
3253
3253
|
* var encrypted = cipher.process(wordArray);
|
|
3254
3254
|
*/
|
|
3255
|
-
process: function(
|
|
3256
|
-
return this._append(
|
|
3255
|
+
process: function(C) {
|
|
3256
|
+
return this._append(C), this._process();
|
|
3257
3257
|
},
|
|
3258
3258
|
/**
|
|
3259
3259
|
* Finalizes the encryption or decryption process.
|
|
@@ -3269,8 +3269,8 @@ function Ne() {
|
|
|
3269
3269
|
* var encrypted = cipher.finalize('data');
|
|
3270
3270
|
* var encrypted = cipher.finalize(wordArray);
|
|
3271
3271
|
*/
|
|
3272
|
-
finalize: function(
|
|
3273
|
-
|
|
3272
|
+
finalize: function(C) {
|
|
3273
|
+
C && this._append(C);
|
|
3274
3274
|
var h = this._doFinalize();
|
|
3275
3275
|
return h;
|
|
3276
3276
|
},
|
|
@@ -3292,16 +3292,16 @@ function Ne() {
|
|
|
3292
3292
|
* var AES = CryptoJS.lib.Cipher._createHelper(CryptoJS.algo.AES);
|
|
3293
3293
|
*/
|
|
3294
3294
|
_createHelper: /* @__PURE__ */ (function() {
|
|
3295
|
-
function
|
|
3296
|
-
return typeof h == "string" ?
|
|
3295
|
+
function C(h) {
|
|
3296
|
+
return typeof h == "string" ? O : x;
|
|
3297
3297
|
}
|
|
3298
3298
|
return function(h) {
|
|
3299
3299
|
return {
|
|
3300
|
-
encrypt: function(
|
|
3301
|
-
return
|
|
3300
|
+
encrypt: function(N, E, P) {
|
|
3301
|
+
return C(E).encrypt(h, N, E, P);
|
|
3302
3302
|
},
|
|
3303
|
-
decrypt: function(
|
|
3304
|
-
return
|
|
3303
|
+
decrypt: function(N, E, P) {
|
|
3304
|
+
return C(E).decrypt(h, N, E, P);
|
|
3305
3305
|
}
|
|
3306
3306
|
};
|
|
3307
3307
|
};
|
|
@@ -3309,8 +3309,8 @@ function Ne() {
|
|
|
3309
3309
|
});
|
|
3310
3310
|
g.StreamCipher = m.extend({
|
|
3311
3311
|
_doFinalize: function() {
|
|
3312
|
-
var
|
|
3313
|
-
return
|
|
3312
|
+
var C = this._process(!0);
|
|
3313
|
+
return C;
|
|
3314
3314
|
},
|
|
3315
3315
|
blockSize: 1
|
|
3316
3316
|
});
|
|
@@ -3327,8 +3327,8 @@ function Ne() {
|
|
|
3327
3327
|
*
|
|
3328
3328
|
* var mode = CryptoJS.mode.CBC.createEncryptor(cipher, iv.words);
|
|
3329
3329
|
*/
|
|
3330
|
-
createEncryptor: function(
|
|
3331
|
-
return this.Encryptor.create(
|
|
3330
|
+
createEncryptor: function(C, h) {
|
|
3331
|
+
return this.Encryptor.create(C, h);
|
|
3332
3332
|
},
|
|
3333
3333
|
/**
|
|
3334
3334
|
* Creates this mode for decryption.
|
|
@@ -3342,8 +3342,8 @@ function Ne() {
|
|
|
3342
3342
|
*
|
|
3343
3343
|
* var mode = CryptoJS.mode.CBC.createDecryptor(cipher, iv.words);
|
|
3344
3344
|
*/
|
|
3345
|
-
createDecryptor: function(
|
|
3346
|
-
return this.Decryptor.create(
|
|
3345
|
+
createDecryptor: function(C, h) {
|
|
3346
|
+
return this.Decryptor.create(C, h);
|
|
3347
3347
|
},
|
|
3348
3348
|
/**
|
|
3349
3349
|
* Initializes a newly created mode.
|
|
@@ -3355,12 +3355,12 @@ function Ne() {
|
|
|
3355
3355
|
*
|
|
3356
3356
|
* var mode = CryptoJS.mode.CBC.Encryptor.create(cipher, iv.words);
|
|
3357
3357
|
*/
|
|
3358
|
-
init: function(
|
|
3359
|
-
this._cipher =
|
|
3358
|
+
init: function(C, h) {
|
|
3359
|
+
this._cipher = C, this._iv = h;
|
|
3360
3360
|
}
|
|
3361
3361
|
}), c = u.CBC = (function() {
|
|
3362
|
-
var
|
|
3363
|
-
|
|
3362
|
+
var C = d.extend();
|
|
3363
|
+
C.Encryptor = C.extend({
|
|
3364
3364
|
/**
|
|
3365
3365
|
* Processes the data block at offset.
|
|
3366
3366
|
*
|
|
@@ -3371,11 +3371,11 @@ function Ne() {
|
|
|
3371
3371
|
*
|
|
3372
3372
|
* mode.processBlock(data.words, offset);
|
|
3373
3373
|
*/
|
|
3374
|
-
processBlock: function(
|
|
3375
|
-
var P = this._cipher,
|
|
3376
|
-
h.call(this,
|
|
3374
|
+
processBlock: function(N, E) {
|
|
3375
|
+
var P = this._cipher, M = P.blockSize;
|
|
3376
|
+
h.call(this, N, E, M), P.encryptBlock(N, E), this._prevBlock = N.slice(E, E + M);
|
|
3377
3377
|
}
|
|
3378
|
-
}),
|
|
3378
|
+
}), C.Decryptor = C.extend({
|
|
3379
3379
|
/**
|
|
3380
3380
|
* Processes the data block at offset.
|
|
3381
3381
|
*
|
|
@@ -3386,18 +3386,18 @@ function Ne() {
|
|
|
3386
3386
|
*
|
|
3387
3387
|
* mode.processBlock(data.words, offset);
|
|
3388
3388
|
*/
|
|
3389
|
-
processBlock: function(
|
|
3390
|
-
var P = this._cipher,
|
|
3391
|
-
P.decryptBlock(
|
|
3389
|
+
processBlock: function(N, E) {
|
|
3390
|
+
var P = this._cipher, M = P.blockSize, R = N.slice(E, E + M);
|
|
3391
|
+
P.decryptBlock(N, E), h.call(this, N, E, M), this._prevBlock = R;
|
|
3392
3392
|
}
|
|
3393
3393
|
});
|
|
3394
|
-
function h(
|
|
3395
|
-
var
|
|
3396
|
-
R ? (
|
|
3394
|
+
function h(N, E, P) {
|
|
3395
|
+
var M, R = this._iv;
|
|
3396
|
+
R ? (M = R, this._iv = n) : M = this._prevBlock;
|
|
3397
3397
|
for (var B = 0; B < P; B++)
|
|
3398
|
-
E
|
|
3398
|
+
N[E + B] ^= M[B];
|
|
3399
3399
|
}
|
|
3400
|
-
return
|
|
3400
|
+
return C;
|
|
3401
3401
|
})(), y = p.pad = {}, _ = y.Pkcs7 = {
|
|
3402
3402
|
/**
|
|
3403
3403
|
* Pads data using the algorithm defined in PKCS #5/7.
|
|
@@ -3411,11 +3411,11 @@ function Ne() {
|
|
|
3411
3411
|
*
|
|
3412
3412
|
* CryptoJS.pad.Pkcs7.pad(wordArray, 4);
|
|
3413
3413
|
*/
|
|
3414
|
-
pad: function(
|
|
3415
|
-
for (var
|
|
3416
|
-
|
|
3417
|
-
var B = f.create(
|
|
3418
|
-
|
|
3414
|
+
pad: function(C, h) {
|
|
3415
|
+
for (var N = h * 4, E = N - C.sigBytes % N, P = E << 24 | E << 16 | E << 8 | E, M = [], R = 0; R < E; R += 4)
|
|
3416
|
+
M.push(P);
|
|
3417
|
+
var B = f.create(M, E);
|
|
3418
|
+
C.concat(B);
|
|
3419
3419
|
},
|
|
3420
3420
|
/**
|
|
3421
3421
|
* Unpads data that had been padded using the algorithm defined in PKCS #5/7.
|
|
@@ -3428,9 +3428,9 @@ function Ne() {
|
|
|
3428
3428
|
*
|
|
3429
3429
|
* CryptoJS.pad.Pkcs7.unpad(wordArray);
|
|
3430
3430
|
*/
|
|
3431
|
-
unpad: function(
|
|
3432
|
-
var h =
|
|
3433
|
-
|
|
3431
|
+
unpad: function(C) {
|
|
3432
|
+
var h = C.words[C.sigBytes - 1 >>> 2] & 255;
|
|
3433
|
+
C.sigBytes -= h;
|
|
3434
3434
|
}
|
|
3435
3435
|
};
|
|
3436
3436
|
g.BlockCipher = m.extend({
|
|
@@ -3445,17 +3445,17 @@ function Ne() {
|
|
|
3445
3445
|
padding: _
|
|
3446
3446
|
}),
|
|
3447
3447
|
reset: function() {
|
|
3448
|
-
var
|
|
3448
|
+
var C;
|
|
3449
3449
|
m.reset.call(this);
|
|
3450
|
-
var h = this.cfg,
|
|
3451
|
-
this._xformMode == this._ENC_XFORM_MODE ?
|
|
3450
|
+
var h = this.cfg, N = h.iv, E = h.mode;
|
|
3451
|
+
this._xformMode == this._ENC_XFORM_MODE ? C = E.createEncryptor : (C = E.createDecryptor, this._minBufferSize = 1), this._mode && this._mode.__creator == C ? this._mode.init(this, N && N.words) : (this._mode = C.call(E, this, N && N.words), this._mode.__creator = C);
|
|
3452
3452
|
},
|
|
3453
|
-
_doProcessBlock: function(
|
|
3454
|
-
this._mode.processBlock(
|
|
3453
|
+
_doProcessBlock: function(C, h) {
|
|
3454
|
+
this._mode.processBlock(C, h);
|
|
3455
3455
|
},
|
|
3456
3456
|
_doFinalize: function() {
|
|
3457
|
-
var
|
|
3458
|
-
return this._xformMode == this._ENC_XFORM_MODE ? (h.pad(this._data, this.blockSize),
|
|
3457
|
+
var C, h = this.cfg.padding;
|
|
3458
|
+
return this._xformMode == this._ENC_XFORM_MODE ? (h.pad(this._data, this.blockSize), C = this._process(!0)) : (C = this._process(!0), h.unpad(C)), C;
|
|
3459
3459
|
},
|
|
3460
3460
|
blockSize: 128 / 32
|
|
3461
3461
|
});
|
|
@@ -3479,8 +3479,8 @@ function Ne() {
|
|
|
3479
3479
|
* formatter: CryptoJS.format.OpenSSL
|
|
3480
3480
|
* });
|
|
3481
3481
|
*/
|
|
3482
|
-
init: function(
|
|
3483
|
-
this.mixIn(
|
|
3482
|
+
init: function(C) {
|
|
3483
|
+
this.mixIn(C);
|
|
3484
3484
|
},
|
|
3485
3485
|
/**
|
|
3486
3486
|
* Converts this cipher params object to a string.
|
|
@@ -3497,10 +3497,10 @@ function Ne() {
|
|
|
3497
3497
|
* var string = cipherParams.toString();
|
|
3498
3498
|
* var string = cipherParams.toString(CryptoJS.format.OpenSSL);
|
|
3499
3499
|
*/
|
|
3500
|
-
toString: function(
|
|
3501
|
-
return (
|
|
3500
|
+
toString: function(C) {
|
|
3501
|
+
return (C || this.formatter).stringify(this);
|
|
3502
3502
|
}
|
|
3503
|
-
}),
|
|
3503
|
+
}), v = p.format = {}, T = v.OpenSSL = {
|
|
3504
3504
|
/**
|
|
3505
3505
|
* Converts a cipher params object to an OpenSSL-compatible string.
|
|
3506
3506
|
*
|
|
@@ -3514,9 +3514,9 @@ function Ne() {
|
|
|
3514
3514
|
*
|
|
3515
3515
|
* var openSSLString = CryptoJS.format.OpenSSL.stringify(cipherParams);
|
|
3516
3516
|
*/
|
|
3517
|
-
stringify: function(
|
|
3518
|
-
var h,
|
|
3519
|
-
return
|
|
3517
|
+
stringify: function(C) {
|
|
3518
|
+
var h, N = C.ciphertext, E = C.salt;
|
|
3519
|
+
return E ? h = f.create([1398893684, 1701076831]).concat(E).concat(N) : h = N, h.toString(a);
|
|
3520
3520
|
},
|
|
3521
3521
|
/**
|
|
3522
3522
|
* Converts an OpenSSL-compatible string to a cipher params object.
|
|
@@ -3531,9 +3531,9 @@ function Ne() {
|
|
|
3531
3531
|
*
|
|
3532
3532
|
* var cipherParams = CryptoJS.format.OpenSSL.parse(openSSLString);
|
|
3533
3533
|
*/
|
|
3534
|
-
parse: function(
|
|
3535
|
-
var h,
|
|
3536
|
-
return
|
|
3534
|
+
parse: function(C) {
|
|
3535
|
+
var h, N = a.parse(C), E = N.words;
|
|
3536
|
+
return E[0] == 1398893684 && E[1] == 1701076831 && (h = f.create(E.slice(2, 4)), E.splice(0, 4), N.sigBytes -= 16), U.create({ ciphertext: N, salt: h });
|
|
3537
3537
|
}
|
|
3538
3538
|
}, x = g.SerializableCipher = b.extend({
|
|
3539
3539
|
/**
|
|
@@ -3562,18 +3562,18 @@ function Ne() {
|
|
|
3562
3562
|
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv });
|
|
3563
3563
|
* var ciphertextParams = CryptoJS.lib.SerializableCipher.encrypt(CryptoJS.algo.AES, message, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
3564
3564
|
*/
|
|
3565
|
-
encrypt: function(
|
|
3566
|
-
|
|
3567
|
-
var P =
|
|
3565
|
+
encrypt: function(C, h, N, E) {
|
|
3566
|
+
E = this.cfg.extend(E);
|
|
3567
|
+
var P = C.createEncryptor(N, E), M = P.finalize(h), R = P.cfg;
|
|
3568
3568
|
return U.create({
|
|
3569
|
-
ciphertext:
|
|
3570
|
-
key:
|
|
3569
|
+
ciphertext: M,
|
|
3570
|
+
key: N,
|
|
3571
3571
|
iv: R.iv,
|
|
3572
|
-
algorithm:
|
|
3572
|
+
algorithm: C,
|
|
3573
3573
|
mode: R.mode,
|
|
3574
3574
|
padding: R.padding,
|
|
3575
|
-
blockSize:
|
|
3576
|
-
formatter:
|
|
3575
|
+
blockSize: C.blockSize,
|
|
3576
|
+
formatter: E.format
|
|
3577
3577
|
});
|
|
3578
3578
|
},
|
|
3579
3579
|
/**
|
|
@@ -3593,9 +3593,9 @@ function Ne() {
|
|
|
3593
3593
|
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
3594
3594
|
* var plaintext = CryptoJS.lib.SerializableCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, key, { iv: iv, format: CryptoJS.format.OpenSSL });
|
|
3595
3595
|
*/
|
|
3596
|
-
decrypt: function(
|
|
3597
|
-
|
|
3598
|
-
var P =
|
|
3596
|
+
decrypt: function(C, h, N, E) {
|
|
3597
|
+
E = this.cfg.extend(E), h = this._parse(h, E.format);
|
|
3598
|
+
var P = C.createDecryptor(N, E).finalize(h.ciphertext);
|
|
3599
3599
|
return P;
|
|
3600
3600
|
},
|
|
3601
3601
|
/**
|
|
@@ -3613,10 +3613,10 @@ function Ne() {
|
|
|
3613
3613
|
*
|
|
3614
3614
|
* var ciphertextParams = CryptoJS.lib.SerializableCipher._parse(ciphertextStringOrParams, format);
|
|
3615
3615
|
*/
|
|
3616
|
-
_parse: function(
|
|
3617
|
-
return typeof
|
|
3616
|
+
_parse: function(C, h) {
|
|
3617
|
+
return typeof C == "string" ? h.parse(C, this) : C;
|
|
3618
3618
|
}
|
|
3619
|
-
}), S = p.kdf = {},
|
|
3619
|
+
}), S = p.kdf = {}, G = S.OpenSSL = {
|
|
3620
3620
|
/**
|
|
3621
3621
|
* Derives a key and IV from a password.
|
|
3622
3622
|
*
|
|
@@ -3634,22 +3634,22 @@ function Ne() {
|
|
|
3634
3634
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32);
|
|
3635
3635
|
* var derivedParams = CryptoJS.kdf.OpenSSL.execute('Password', 256/32, 128/32, 'saltsalt');
|
|
3636
3636
|
*/
|
|
3637
|
-
execute: function(
|
|
3638
|
-
if (
|
|
3639
|
-
var
|
|
3637
|
+
execute: function(C, h, N, E, P) {
|
|
3638
|
+
if (E || (E = f.random(64 / 8)), P)
|
|
3639
|
+
var M = o.create({ keySize: h + N, hasher: P }).compute(C, E);
|
|
3640
3640
|
else
|
|
3641
|
-
var
|
|
3642
|
-
var R = f.create(
|
|
3643
|
-
return
|
|
3641
|
+
var M = o.create({ keySize: h + N }).compute(C, E);
|
|
3642
|
+
var R = f.create(M.words.slice(h), N * 4);
|
|
3643
|
+
return M.sigBytes = h * 4, U.create({ key: M, iv: R, salt: E });
|
|
3644
3644
|
}
|
|
3645
|
-
},
|
|
3645
|
+
}, O = g.PasswordBasedCipher = x.extend({
|
|
3646
3646
|
/**
|
|
3647
3647
|
* Configuration options.
|
|
3648
3648
|
*
|
|
3649
3649
|
* @property {KDF} kdf The key derivation function to use to generate a key and IV from a password. Default: OpenSSL
|
|
3650
3650
|
*/
|
|
3651
3651
|
cfg: x.cfg.extend({
|
|
3652
|
-
kdf:
|
|
3652
|
+
kdf: G
|
|
3653
3653
|
}),
|
|
3654
3654
|
/**
|
|
3655
3655
|
* Encrypts a message using a password.
|
|
@@ -3668,12 +3668,12 @@ function Ne() {
|
|
|
3668
3668
|
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password');
|
|
3669
3669
|
* var ciphertextParams = CryptoJS.lib.PasswordBasedCipher.encrypt(CryptoJS.algo.AES, message, 'password', { format: CryptoJS.format.OpenSSL });
|
|
3670
3670
|
*/
|
|
3671
|
-
encrypt: function(
|
|
3672
|
-
|
|
3673
|
-
var P =
|
|
3674
|
-
|
|
3675
|
-
var
|
|
3676
|
-
return
|
|
3671
|
+
encrypt: function(C, h, N, E) {
|
|
3672
|
+
E = this.cfg.extend(E);
|
|
3673
|
+
var P = E.kdf.execute(N, C.keySize, C.ivSize, E.salt, E.hasher);
|
|
3674
|
+
E.iv = P.iv;
|
|
3675
|
+
var M = x.encrypt.call(this, C, h, P.key, E);
|
|
3676
|
+
return M.mixIn(P), M;
|
|
3677
3677
|
},
|
|
3678
3678
|
/**
|
|
3679
3679
|
* Decrypts serialized ciphertext using a password.
|
|
@@ -3692,24 +3692,24 @@ function Ne() {
|
|
|
3692
3692
|
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, formattedCiphertext, 'password', { format: CryptoJS.format.OpenSSL });
|
|
3693
3693
|
* var plaintext = CryptoJS.lib.PasswordBasedCipher.decrypt(CryptoJS.algo.AES, ciphertextParams, 'password', { format: CryptoJS.format.OpenSSL });
|
|
3694
3694
|
*/
|
|
3695
|
-
decrypt: function(
|
|
3696
|
-
|
|
3697
|
-
var P =
|
|
3698
|
-
|
|
3699
|
-
var
|
|
3700
|
-
return
|
|
3695
|
+
decrypt: function(C, h, N, E) {
|
|
3696
|
+
E = this.cfg.extend(E), h = this._parse(h, E.format);
|
|
3697
|
+
var P = E.kdf.execute(N, C.keySize, C.ivSize, h.salt, E.hasher);
|
|
3698
|
+
E.iv = P.iv;
|
|
3699
|
+
var M = x.decrypt.call(this, C, h, P.key, E);
|
|
3700
|
+
return M;
|
|
3701
3701
|
}
|
|
3702
3702
|
});
|
|
3703
3703
|
})();
|
|
3704
3704
|
});
|
|
3705
3705
|
})(hi)), hi.exports;
|
|
3706
3706
|
}
|
|
3707
|
-
var Ti = { exports: {} },
|
|
3708
|
-
function
|
|
3707
|
+
var Ti = { exports: {} }, Gr = Ti.exports, qt;
|
|
3708
|
+
function Mr() {
|
|
3709
3709
|
return qt || (qt = 1, (function(e, r) {
|
|
3710
3710
|
(function(t, n, p) {
|
|
3711
3711
|
e.exports = n(ae(), Ne());
|
|
3712
|
-
})(
|
|
3712
|
+
})(Gr, function(t) {
|
|
3713
3713
|
return t.mode.CFB = (function() {
|
|
3714
3714
|
var n = t.lib.BlockCipherMode.extend();
|
|
3715
3715
|
n.Encryptor = n.extend({
|
|
@@ -3734,12 +3734,12 @@ function Gr() {
|
|
|
3734
3734
|
});
|
|
3735
3735
|
})(Ti)), Ti.exports;
|
|
3736
3736
|
}
|
|
3737
|
-
var ki = { exports: {} },
|
|
3738
|
-
function
|
|
3737
|
+
var ki = { exports: {} }, Rr = ki.exports, Qt;
|
|
3738
|
+
function Pr() {
|
|
3739
3739
|
return Qt || (Qt = 1, (function(e, r) {
|
|
3740
3740
|
(function(t, n, p) {
|
|
3741
3741
|
e.exports = n(ae(), Ne());
|
|
3742
|
-
})(
|
|
3742
|
+
})(Rr, function(t) {
|
|
3743
3743
|
return t.mode.CTR = (function() {
|
|
3744
3744
|
var n = t.lib.BlockCipherMode.extend(), p = n.Encryptor = n.extend({
|
|
3745
3745
|
processBlock: function(g, b) {
|
|
@@ -3756,12 +3756,12 @@ function Rr() {
|
|
|
3756
3756
|
});
|
|
3757
3757
|
})(ki)), ki.exports;
|
|
3758
3758
|
}
|
|
3759
|
-
var xi = { exports: {} },
|
|
3760
|
-
function
|
|
3759
|
+
var xi = { exports: {} }, Fr = xi.exports, $t;
|
|
3760
|
+
function wr() {
|
|
3761
3761
|
return $t || ($t = 1, (function(e, r) {
|
|
3762
3762
|
(function(t, n, p) {
|
|
3763
3763
|
e.exports = n(ae(), Ne());
|
|
3764
|
-
})(
|
|
3764
|
+
})(Fr, function(t) {
|
|
3765
3765
|
return t.mode.CTRGladman = (function() {
|
|
3766
3766
|
var n = t.lib.BlockCipherMode.extend();
|
|
3767
3767
|
function p(f) {
|
|
@@ -3790,12 +3790,12 @@ function Fr() {
|
|
|
3790
3790
|
});
|
|
3791
3791
|
})(xi)), xi.exports;
|
|
3792
3792
|
}
|
|
3793
|
-
var Si = { exports: {} },
|
|
3794
|
-
function
|
|
3793
|
+
var Si = { exports: {} }, Ar = Si.exports, jt;
|
|
3794
|
+
function Or() {
|
|
3795
3795
|
return jt || (jt = 1, (function(e, r) {
|
|
3796
3796
|
(function(t, n, p) {
|
|
3797
3797
|
e.exports = n(ae(), Ne());
|
|
3798
|
-
})(
|
|
3798
|
+
})(Ar, function(t) {
|
|
3799
3799
|
return t.mode.OFB = (function() {
|
|
3800
3800
|
var n = t.lib.BlockCipherMode.extend(), p = n.Encryptor = n.extend({
|
|
3801
3801
|
processBlock: function(g, b) {
|
|
@@ -3810,12 +3810,12 @@ function Ar() {
|
|
|
3810
3810
|
});
|
|
3811
3811
|
})(Si)), Si.exports;
|
|
3812
3812
|
}
|
|
3813
|
-
var Di = { exports: {} },
|
|
3814
|
-
function
|
|
3813
|
+
var Di = { exports: {} }, Br = Di.exports, Yt;
|
|
3814
|
+
function Hr() {
|
|
3815
3815
|
return Yt || (Yt = 1, (function(e, r) {
|
|
3816
3816
|
(function(t, n, p) {
|
|
3817
3817
|
e.exports = n(ae(), Ne());
|
|
3818
|
-
})(
|
|
3818
|
+
})(Br, function(t) {
|
|
3819
3819
|
return t.mode.ECB = (function() {
|
|
3820
3820
|
var n = t.lib.BlockCipherMode.extend();
|
|
3821
3821
|
return n.Encryptor = n.extend({
|
|
@@ -3831,12 +3831,12 @@ function Br() {
|
|
|
3831
3831
|
});
|
|
3832
3832
|
})(Di)), Di.exports;
|
|
3833
3833
|
}
|
|
3834
|
-
var Ei = { exports: {} },
|
|
3835
|
-
function
|
|
3834
|
+
var Ei = { exports: {} }, Wr = Ei.exports, Xt;
|
|
3835
|
+
function zr() {
|
|
3836
3836
|
return Xt || (Xt = 1, (function(e, r) {
|
|
3837
3837
|
(function(t, n, p) {
|
|
3838
3838
|
e.exports = n(ae(), Ne());
|
|
3839
|
-
})(
|
|
3839
|
+
})(Wr, function(t) {
|
|
3840
3840
|
return t.pad.AnsiX923 = {
|
|
3841
3841
|
pad: function(n, p) {
|
|
3842
3842
|
var g = n.sigBytes, b = p * 4, f = b - g % b, l = g + f - 1;
|
|
@@ -3850,12 +3850,12 @@ function Wr() {
|
|
|
3850
3850
|
});
|
|
3851
3851
|
})(Ei)), Ei.exports;
|
|
3852
3852
|
}
|
|
3853
|
-
var Ni = { exports: {} },
|
|
3854
|
-
function
|
|
3853
|
+
var Ni = { exports: {} }, Ir = Ni.exports, en;
|
|
3854
|
+
function Vr() {
|
|
3855
3855
|
return en || (en = 1, (function(e, r) {
|
|
3856
3856
|
(function(t, n, p) {
|
|
3857
3857
|
e.exports = n(ae(), Ne());
|
|
3858
|
-
})(
|
|
3858
|
+
})(Ir, function(t) {
|
|
3859
3859
|
return t.pad.Iso10126 = {
|
|
3860
3860
|
pad: function(n, p) {
|
|
3861
3861
|
var g = p * 4, b = g - n.sigBytes % g;
|
|
@@ -3869,12 +3869,12 @@ function Ir() {
|
|
|
3869
3869
|
});
|
|
3870
3870
|
})(Ni)), Ni.exports;
|
|
3871
3871
|
}
|
|
3872
|
-
var Li = { exports: {} },
|
|
3873
|
-
function
|
|
3872
|
+
var Li = { exports: {} }, Zr = Li.exports, an;
|
|
3873
|
+
function Jr() {
|
|
3874
3874
|
return an || (an = 1, (function(e, r) {
|
|
3875
3875
|
(function(t, n, p) {
|
|
3876
3876
|
e.exports = n(ae(), Ne());
|
|
3877
|
-
})(
|
|
3877
|
+
})(Zr, function(t) {
|
|
3878
3878
|
return t.pad.Iso97971 = {
|
|
3879
3879
|
pad: function(n, p) {
|
|
3880
3880
|
n.concat(t.lib.WordArray.create([2147483648], 1)), t.pad.ZeroPadding.pad(n, p);
|
|
@@ -3886,12 +3886,12 @@ function Zr() {
|
|
|
3886
3886
|
});
|
|
3887
3887
|
})(Li)), Li.exports;
|
|
3888
3888
|
}
|
|
3889
|
-
var Gi = { exports: {} },
|
|
3890
|
-
function
|
|
3889
|
+
var Gi = { exports: {} }, Kr = Gi.exports, tn;
|
|
3890
|
+
function qr() {
|
|
3891
3891
|
return tn || (tn = 1, (function(e, r) {
|
|
3892
3892
|
(function(t, n, p) {
|
|
3893
3893
|
e.exports = n(ae(), Ne());
|
|
3894
|
-
})(
|
|
3894
|
+
})(Kr, function(t) {
|
|
3895
3895
|
return t.pad.ZeroPadding = {
|
|
3896
3896
|
pad: function(n, p) {
|
|
3897
3897
|
var g = p * 4;
|
|
@@ -3908,12 +3908,12 @@ function Kr() {
|
|
|
3908
3908
|
});
|
|
3909
3909
|
})(Gi)), Gi.exports;
|
|
3910
3910
|
}
|
|
3911
|
-
var Mi = { exports: {} },
|
|
3912
|
-
function
|
|
3911
|
+
var Mi = { exports: {} }, Qr = Mi.exports, nn;
|
|
3912
|
+
function $r() {
|
|
3913
3913
|
return nn || (nn = 1, (function(e, r) {
|
|
3914
3914
|
(function(t, n, p) {
|
|
3915
3915
|
e.exports = n(ae(), Ne());
|
|
3916
|
-
})(
|
|
3916
|
+
})(Qr, function(t) {
|
|
3917
3917
|
return t.pad.NoPadding = {
|
|
3918
3918
|
pad: function() {
|
|
3919
3919
|
},
|
|
@@ -3923,12 +3923,12 @@ function Qr() {
|
|
|
3923
3923
|
});
|
|
3924
3924
|
})(Mi)), Mi.exports;
|
|
3925
3925
|
}
|
|
3926
|
-
var Ri = { exports: {} },
|
|
3927
|
-
function
|
|
3926
|
+
var Ri = { exports: {} }, jr = Ri.exports, ln;
|
|
3927
|
+
function Yr() {
|
|
3928
3928
|
return ln || (ln = 1, (function(e, r) {
|
|
3929
3929
|
(function(t, n, p) {
|
|
3930
3930
|
e.exports = n(ae(), Ne());
|
|
3931
|
-
})(
|
|
3931
|
+
})(jr, function(t) {
|
|
3932
3932
|
return (function(n) {
|
|
3933
3933
|
var p = t, g = p.lib, b = g.CipherParams, f = p.enc, l = f.Hex, i = p.format;
|
|
3934
3934
|
i.Hex = {
|
|
@@ -3970,58 +3970,58 @@ function jr() {
|
|
|
3970
3970
|
});
|
|
3971
3971
|
})(Ri)), Ri.exports;
|
|
3972
3972
|
}
|
|
3973
|
-
var Pi = { exports: {} },
|
|
3974
|
-
function
|
|
3973
|
+
var Pi = { exports: {} }, Xr = Pi.exports, rn;
|
|
3974
|
+
function eo() {
|
|
3975
3975
|
return rn || (rn = 1, (function(e, r) {
|
|
3976
3976
|
(function(t, n, p) {
|
|
3977
3977
|
e.exports = n(ae(), Sa(), Da(), ya(), Ne());
|
|
3978
|
-
})(
|
|
3978
|
+
})(Xr, function(t) {
|
|
3979
3979
|
return (function() {
|
|
3980
3980
|
var n = t, p = n.lib, g = p.BlockCipher, b = n.algo, f = [], l = [], i = [], a = [], s = [], o = [], m = [], u = [], d = [], c = [];
|
|
3981
3981
|
(function() {
|
|
3982
|
-
for (var U = [],
|
|
3983
|
-
|
|
3984
|
-
for (var T = 0, x = 0,
|
|
3982
|
+
for (var U = [], v = 0; v < 256; v++)
|
|
3983
|
+
v < 128 ? U[v] = v << 1 : U[v] = v << 1 ^ 283;
|
|
3984
|
+
for (var T = 0, x = 0, v = 0; v < 256; v++) {
|
|
3985
3985
|
var S = x ^ x << 1 ^ x << 2 ^ x << 3 ^ x << 4;
|
|
3986
3986
|
S = S >>> 8 ^ S & 255 ^ 99, f[T] = S, l[S] = T;
|
|
3987
|
-
var
|
|
3987
|
+
var G = U[T], O = U[G], C = U[O], h = U[S] * 257 ^ S * 16843008;
|
|
3988
3988
|
i[T] = h << 24 | h >>> 8, a[T] = h << 16 | h >>> 16, s[T] = h << 8 | h >>> 24, o[T] = h;
|
|
3989
|
-
var h =
|
|
3990
|
-
m[S] = h << 24 | h >>> 8, u[S] = h << 16 | h >>> 16, d[S] = h << 8 | h >>> 24, c[S] = h, T ? (T =
|
|
3989
|
+
var h = C * 16843009 ^ O * 65537 ^ G * 257 ^ T * 16843008;
|
|
3990
|
+
m[S] = h << 24 | h >>> 8, u[S] = h << 16 | h >>> 16, d[S] = h << 8 | h >>> 24, c[S] = h, T ? (T = G ^ U[U[U[C ^ G]]], x ^= U[U[x]]) : T = x = 1;
|
|
3991
3991
|
}
|
|
3992
3992
|
})();
|
|
3993
3993
|
var y = [0, 1, 2, 4, 8, 16, 32, 64, 128, 27, 54], _ = b.AES = g.extend({
|
|
3994
3994
|
_doReset: function() {
|
|
3995
3995
|
var U;
|
|
3996
3996
|
if (!(this._nRounds && this._keyPriorReset === this._key)) {
|
|
3997
|
-
for (var
|
|
3998
|
-
|
|
3999
|
-
for (var h = this._invKeySchedule = [],
|
|
4000
|
-
var
|
|
4001
|
-
if (
|
|
4002
|
-
var U =
|
|
3997
|
+
for (var v = this._keyPriorReset = this._key, T = v.words, x = v.sigBytes / 4, S = this._nRounds = x + 6, G = (S + 1) * 4, O = this._keySchedule = [], C = 0; C < G; C++)
|
|
3998
|
+
C < x ? O[C] = T[C] : (U = O[C - 1], C % x ? x > 6 && C % x == 4 && (U = f[U >>> 24] << 24 | f[U >>> 16 & 255] << 16 | f[U >>> 8 & 255] << 8 | f[U & 255]) : (U = U << 8 | U >>> 24, U = f[U >>> 24] << 24 | f[U >>> 16 & 255] << 16 | f[U >>> 8 & 255] << 8 | f[U & 255], U ^= y[C / x | 0] << 24), O[C] = O[C - x] ^ U);
|
|
3999
|
+
for (var h = this._invKeySchedule = [], N = 0; N < G; N++) {
|
|
4000
|
+
var C = G - N;
|
|
4001
|
+
if (N % 4)
|
|
4002
|
+
var U = O[C];
|
|
4003
4003
|
else
|
|
4004
|
-
var U =
|
|
4005
|
-
|
|
4004
|
+
var U = O[C - 4];
|
|
4005
|
+
N < 4 || C <= 4 ? h[N] = U : h[N] = m[f[U >>> 24]] ^ u[f[U >>> 16 & 255]] ^ d[f[U >>> 8 & 255]] ^ c[f[U & 255]];
|
|
4006
4006
|
}
|
|
4007
4007
|
}
|
|
4008
4008
|
},
|
|
4009
|
-
encryptBlock: function(U,
|
|
4010
|
-
this._doCryptBlock(U,
|
|
4009
|
+
encryptBlock: function(U, v) {
|
|
4010
|
+
this._doCryptBlock(U, v, this._keySchedule, i, a, s, o, f);
|
|
4011
4011
|
},
|
|
4012
|
-
decryptBlock: function(U,
|
|
4013
|
-
var T = U[
|
|
4014
|
-
U[
|
|
4015
|
-
var T = U[
|
|
4016
|
-
U[
|
|
4012
|
+
decryptBlock: function(U, v) {
|
|
4013
|
+
var T = U[v + 1];
|
|
4014
|
+
U[v + 1] = U[v + 3], U[v + 3] = T, this._doCryptBlock(U, v, this._invKeySchedule, m, u, d, c, l);
|
|
4015
|
+
var T = U[v + 1];
|
|
4016
|
+
U[v + 1] = U[v + 3], U[v + 3] = T;
|
|
4017
4017
|
},
|
|
4018
|
-
_doCryptBlock: function(U,
|
|
4019
|
-
for (var h = this._nRounds,
|
|
4020
|
-
var
|
|
4021
|
-
|
|
4018
|
+
_doCryptBlock: function(U, v, T, x, S, G, O, C) {
|
|
4019
|
+
for (var h = this._nRounds, N = U[v] ^ T[0], E = U[v + 1] ^ T[1], P = U[v + 2] ^ T[2], M = U[v + 3] ^ T[3], R = 4, B = 1; B < h; B++) {
|
|
4020
|
+
var A = x[N >>> 24] ^ S[E >>> 16 & 255] ^ G[P >>> 8 & 255] ^ O[M & 255] ^ T[R++], H = x[E >>> 24] ^ S[P >>> 16 & 255] ^ G[M >>> 8 & 255] ^ O[N & 255] ^ T[R++], W = x[P >>> 24] ^ S[M >>> 16 & 255] ^ G[N >>> 8 & 255] ^ O[E & 255] ^ T[R++], L = x[M >>> 24] ^ S[N >>> 16 & 255] ^ G[E >>> 8 & 255] ^ O[P & 255] ^ T[R++];
|
|
4021
|
+
N = A, E = H, P = W, M = L;
|
|
4022
4022
|
}
|
|
4023
|
-
var
|
|
4024
|
-
U[
|
|
4023
|
+
var A = (C[N >>> 24] << 24 | C[E >>> 16 & 255] << 16 | C[P >>> 8 & 255] << 8 | C[M & 255]) ^ T[R++], H = (C[E >>> 24] << 24 | C[P >>> 16 & 255] << 16 | C[M >>> 8 & 255] << 8 | C[N & 255]) ^ T[R++], W = (C[P >>> 24] << 24 | C[M >>> 16 & 255] << 16 | C[N >>> 8 & 255] << 8 | C[E & 255]) ^ T[R++], L = (C[M >>> 24] << 24 | C[N >>> 16 & 255] << 16 | C[E >>> 8 & 255] << 8 | C[P & 255]) ^ T[R++];
|
|
4024
|
+
U[v] = A, U[v + 1] = H, U[v + 2] = W, U[v + 3] = L;
|
|
4025
4025
|
},
|
|
4026
4026
|
keySize: 256 / 32
|
|
4027
4027
|
});
|
|
@@ -4030,12 +4030,12 @@ function Xr() {
|
|
|
4030
4030
|
});
|
|
4031
4031
|
})(Pi)), Pi.exports;
|
|
4032
4032
|
}
|
|
4033
|
-
var Fi = { exports: {} },
|
|
4034
|
-
function
|
|
4033
|
+
var Fi = { exports: {} }, ao = Fi.exports, on;
|
|
4034
|
+
function io() {
|
|
4035
4035
|
return on || (on = 1, (function(e, r) {
|
|
4036
4036
|
(function(t, n, p) {
|
|
4037
4037
|
e.exports = n(ae(), Sa(), Da(), ya(), Ne());
|
|
4038
|
-
})(
|
|
4038
|
+
})(ao, function(t) {
|
|
4039
4039
|
return (function() {
|
|
4040
4040
|
var n = t, p = n.lib, g = p.WordArray, b = p.BlockCipher, f = n.algo, l = [
|
|
4041
4041
|
57,
|
|
@@ -4683,20 +4683,20 @@ function ao() {
|
|
|
4683
4683
|
2147483679
|
|
4684
4684
|
], m = f.DES = b.extend({
|
|
4685
4685
|
_doReset: function() {
|
|
4686
|
-
for (var y = this._key, _ = y.words, U = [],
|
|
4687
|
-
var T = l[
|
|
4688
|
-
U[
|
|
4686
|
+
for (var y = this._key, _ = y.words, U = [], v = 0; v < 56; v++) {
|
|
4687
|
+
var T = l[v] - 1;
|
|
4688
|
+
U[v] = _[T >>> 5] >>> 31 - T % 32 & 1;
|
|
4689
4689
|
}
|
|
4690
4690
|
for (var x = this._subKeys = [], S = 0; S < 16; S++) {
|
|
4691
|
-
for (var
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
for (var
|
|
4695
|
-
|
|
4696
|
-
|
|
4691
|
+
for (var G = x[S] = [], O = a[S], v = 0; v < 24; v++)
|
|
4692
|
+
G[v / 6 | 0] |= U[(i[v] - 1 + O) % 28] << 31 - v % 6, G[4 + (v / 6 | 0)] |= U[28 + (i[v + 24] - 1 + O) % 28] << 31 - v % 6;
|
|
4693
|
+
G[0] = G[0] << 1 | G[0] >>> 31;
|
|
4694
|
+
for (var v = 1; v < 7; v++)
|
|
4695
|
+
G[v] = G[v] >>> (v - 1) * 4 + 3;
|
|
4696
|
+
G[7] = G[7] << 5 | G[7] >>> 27;
|
|
4697
4697
|
}
|
|
4698
|
-
for (var
|
|
4699
|
-
v
|
|
4698
|
+
for (var C = this._invSubKeys = [], v = 0; v < 16; v++)
|
|
4699
|
+
C[v] = x[15 - v];
|
|
4700
4700
|
},
|
|
4701
4701
|
encryptBlock: function(y, _) {
|
|
4702
4702
|
this._doCryptBlock(y, _, this._subKeys);
|
|
@@ -4706,13 +4706,13 @@ function ao() {
|
|
|
4706
4706
|
},
|
|
4707
4707
|
_doCryptBlock: function(y, _, U) {
|
|
4708
4708
|
this._lBlock = y[_], this._rBlock = y[_ + 1], u.call(this, 4, 252645135), u.call(this, 16, 65535), d.call(this, 2, 858993459), d.call(this, 8, 16711935), u.call(this, 1, 1431655765);
|
|
4709
|
-
for (var
|
|
4710
|
-
for (var T = U[
|
|
4711
|
-
|
|
4712
|
-
this._lBlock = S, this._rBlock = x ^
|
|
4709
|
+
for (var v = 0; v < 16; v++) {
|
|
4710
|
+
for (var T = U[v], x = this._lBlock, S = this._rBlock, G = 0, O = 0; O < 8; O++)
|
|
4711
|
+
G |= s[O][((S ^ T[O]) & o[O]) >>> 0];
|
|
4712
|
+
this._lBlock = S, this._rBlock = x ^ G;
|
|
4713
4713
|
}
|
|
4714
|
-
var
|
|
4715
|
-
this._lBlock = this._rBlock, this._rBlock =
|
|
4714
|
+
var C = this._lBlock;
|
|
4715
|
+
this._lBlock = this._rBlock, this._rBlock = C, u.call(this, 1, 1431655765), d.call(this, 8, 16711935), d.call(this, 2, 858993459), u.call(this, 16, 65535), u.call(this, 4, 252645135), y[_] = this._lBlock, y[_ + 1] = this._rBlock;
|
|
4716
4716
|
},
|
|
4717
4717
|
keySize: 64 / 32,
|
|
4718
4718
|
ivSize: 64 / 32,
|
|
@@ -4732,8 +4732,8 @@ function ao() {
|
|
|
4732
4732
|
var y = this._key, _ = y.words;
|
|
4733
4733
|
if (_.length !== 2 && _.length !== 4 && _.length < 6)
|
|
4734
4734
|
throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");
|
|
4735
|
-
var U = _.slice(0, 2),
|
|
4736
|
-
this._des1 = m.createEncryptor(g.create(U)), this._des2 = m.createEncryptor(g.create(
|
|
4735
|
+
var U = _.slice(0, 2), v = _.length < 4 ? _.slice(0, 2) : _.slice(2, 4), T = _.length < 6 ? _.slice(0, 2) : _.slice(4, 6);
|
|
4736
|
+
this._des1 = m.createEncryptor(g.create(U)), this._des2 = m.createEncryptor(g.create(v)), this._des3 = m.createEncryptor(g.create(T));
|
|
4737
4737
|
},
|
|
4738
4738
|
encryptBlock: function(y, _) {
|
|
4739
4739
|
this._des1.encryptBlock(y, _), this._des2.decryptBlock(y, _), this._des3.encryptBlock(y, _);
|
|
@@ -4750,12 +4750,12 @@ function ao() {
|
|
|
4750
4750
|
});
|
|
4751
4751
|
})(Fi)), Fi.exports;
|
|
4752
4752
|
}
|
|
4753
|
-
var wi = { exports: {} },
|
|
4754
|
-
function
|
|
4753
|
+
var wi = { exports: {} }, to = wi.exports, sn;
|
|
4754
|
+
function no() {
|
|
4755
4755
|
return sn || (sn = 1, (function(e, r) {
|
|
4756
4756
|
(function(t, n, p) {
|
|
4757
4757
|
e.exports = n(ae(), Sa(), Da(), ya(), Ne());
|
|
4758
|
-
})(
|
|
4758
|
+
})(to, function(t) {
|
|
4759
4759
|
return (function() {
|
|
4760
4760
|
var n = t, p = n.lib, g = p.StreamCipher, b = n.algo, f = b.RC4 = g.extend({
|
|
4761
4761
|
_doReset: function() {
|
|
@@ -4804,12 +4804,12 @@ function to() {
|
|
|
4804
4804
|
});
|
|
4805
4805
|
})(wi)), wi.exports;
|
|
4806
4806
|
}
|
|
4807
|
-
var Ai = { exports: {} },
|
|
4808
|
-
function
|
|
4807
|
+
var Ai = { exports: {} }, lo = Ai.exports, mn;
|
|
4808
|
+
function ro() {
|
|
4809
4809
|
return mn || (mn = 1, (function(e, r) {
|
|
4810
4810
|
(function(t, n, p) {
|
|
4811
4811
|
e.exports = n(ae(), Sa(), Da(), ya(), Ne());
|
|
4812
|
-
})(
|
|
4812
|
+
})(lo, function(t) {
|
|
4813
4813
|
return (function() {
|
|
4814
4814
|
var n = t, p = n.lib, g = p.StreamCipher, b = n.algo, f = [], l = [], i = [], a = b.Rabbit = g.extend({
|
|
4815
4815
|
_doReset: function() {
|
|
@@ -4840,8 +4840,8 @@ function lo() {
|
|
|
4840
4840
|
for (var u = 0; u < 8; u++)
|
|
4841
4841
|
c[u] ^= d[u + 4 & 7];
|
|
4842
4842
|
if (m) {
|
|
4843
|
-
var y = m.words, _ = y[0], U = y[1],
|
|
4844
|
-
c[0] ^=
|
|
4843
|
+
var y = m.words, _ = y[0], U = y[1], v = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, T = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = v >>> 16 | T & 4294901760, S = T << 16 | v & 65535;
|
|
4844
|
+
c[0] ^= v, c[1] ^= x, c[2] ^= T, c[3] ^= S, c[4] ^= v, c[5] ^= x, c[6] ^= T, c[7] ^= S;
|
|
4845
4845
|
for (var u = 0; u < 4; u++)
|
|
4846
4846
|
s.call(this);
|
|
4847
4847
|
}
|
|
@@ -4870,12 +4870,12 @@ function lo() {
|
|
|
4870
4870
|
});
|
|
4871
4871
|
})(Ai)), Ai.exports;
|
|
4872
4872
|
}
|
|
4873
|
-
var Oi = { exports: {} },
|
|
4874
|
-
function
|
|
4873
|
+
var Oi = { exports: {} }, oo = Oi.exports, un;
|
|
4874
|
+
function so() {
|
|
4875
4875
|
return un || (un = 1, (function(e, r) {
|
|
4876
4876
|
(function(t, n, p) {
|
|
4877
4877
|
e.exports = n(ae(), Sa(), Da(), ya(), Ne());
|
|
4878
|
-
})(
|
|
4878
|
+
})(oo, function(t) {
|
|
4879
4879
|
return (function() {
|
|
4880
4880
|
var n = t, p = n.lib, g = p.StreamCipher, b = n.algo, f = [], l = [], i = [], a = b.RabbitLegacy = g.extend({
|
|
4881
4881
|
_doReset: function() {
|
|
@@ -4904,8 +4904,8 @@ function oo() {
|
|
|
4904
4904
|
for (var c = 0; c < 8; c++)
|
|
4905
4905
|
d[c] ^= u[c + 4 & 7];
|
|
4906
4906
|
if (m) {
|
|
4907
|
-
var y = m.words, _ = y[0], U = y[1],
|
|
4908
|
-
d[0] ^=
|
|
4907
|
+
var y = m.words, _ = y[0], U = y[1], v = (_ << 8 | _ >>> 24) & 16711935 | (_ << 24 | _ >>> 8) & 4278255360, T = (U << 8 | U >>> 24) & 16711935 | (U << 24 | U >>> 8) & 4278255360, x = v >>> 16 | T & 4294901760, S = T << 16 | v & 65535;
|
|
4908
|
+
d[0] ^= v, d[1] ^= x, d[2] ^= T, d[3] ^= S, d[4] ^= v, d[5] ^= x, d[6] ^= T, d[7] ^= S;
|
|
4909
4909
|
for (var c = 0; c < 4; c++)
|
|
4910
4910
|
s.call(this);
|
|
4911
4911
|
}
|
|
@@ -4934,12 +4934,12 @@ function oo() {
|
|
|
4934
4934
|
});
|
|
4935
4935
|
})(Oi)), Oi.exports;
|
|
4936
4936
|
}
|
|
4937
|
-
var Bi = { exports: {} },
|
|
4938
|
-
function
|
|
4937
|
+
var Bi = { exports: {} }, mo = Bi.exports, pn;
|
|
4938
|
+
function uo() {
|
|
4939
4939
|
return pn || (pn = 1, (function(e, r) {
|
|
4940
4940
|
(function(t, n, p) {
|
|
4941
4941
|
e.exports = n(ae(), Sa(), Da(), ya(), Ne());
|
|
4942
|
-
})(
|
|
4942
|
+
})(mo, function(t) {
|
|
4943
4943
|
return (function() {
|
|
4944
4944
|
var n = t, p = n.lib, g = p.BlockCipher, b = n.algo;
|
|
4945
4945
|
const f = 16, l = [
|
|
@@ -6000,36 +6000,36 @@ function mo() {
|
|
|
6000
6000
|
sbox: []
|
|
6001
6001
|
};
|
|
6002
6002
|
function s(c, y) {
|
|
6003
|
-
let _ = y >> 24 & 255, U = y >> 16 & 255,
|
|
6004
|
-
return x = x ^ c.sbox[2][
|
|
6003
|
+
let _ = y >> 24 & 255, U = y >> 16 & 255, v = y >> 8 & 255, T = y & 255, x = c.sbox[0][_] + c.sbox[1][U];
|
|
6004
|
+
return x = x ^ c.sbox[2][v], x = x + c.sbox[3][T], x;
|
|
6005
6005
|
}
|
|
6006
6006
|
function o(c, y, _) {
|
|
6007
|
-
let U = y,
|
|
6007
|
+
let U = y, v = _, T;
|
|
6008
6008
|
for (let x = 0; x < f; ++x)
|
|
6009
|
-
U = U ^ c.pbox[x],
|
|
6010
|
-
return T = U, U =
|
|
6009
|
+
U = U ^ c.pbox[x], v = s(c, U) ^ v, T = U, U = v, v = T;
|
|
6010
|
+
return T = U, U = v, v = T, v = v ^ c.pbox[f], U = U ^ c.pbox[f + 1], { left: U, right: v };
|
|
6011
6011
|
}
|
|
6012
6012
|
function m(c, y, _) {
|
|
6013
|
-
let U = y,
|
|
6013
|
+
let U = y, v = _, T;
|
|
6014
6014
|
for (let x = f + 1; x > 1; --x)
|
|
6015
|
-
U = U ^ c.pbox[x],
|
|
6016
|
-
return T = U, U =
|
|
6015
|
+
U = U ^ c.pbox[x], v = s(c, U) ^ v, T = U, U = v, v = T;
|
|
6016
|
+
return T = U, U = v, v = T, v = v ^ c.pbox[1], U = U ^ c.pbox[0], { left: U, right: v };
|
|
6017
6017
|
}
|
|
6018
6018
|
function u(c, y, _) {
|
|
6019
6019
|
for (let S = 0; S < 4; S++) {
|
|
6020
6020
|
c.sbox[S] = [];
|
|
6021
|
-
for (let
|
|
6022
|
-
c.sbox[S][
|
|
6021
|
+
for (let G = 0; G < 256; G++)
|
|
6022
|
+
c.sbox[S][G] = i[S][G];
|
|
6023
6023
|
}
|
|
6024
6024
|
let U = 0;
|
|
6025
6025
|
for (let S = 0; S < f + 2; S++)
|
|
6026
6026
|
c.pbox[S] = l[S] ^ y[U], U++, U >= _ && (U = 0);
|
|
6027
|
-
let
|
|
6027
|
+
let v = 0, T = 0, x = 0;
|
|
6028
6028
|
for (let S = 0; S < f + 2; S += 2)
|
|
6029
|
-
x = o(c,
|
|
6029
|
+
x = o(c, v, T), v = x.left, T = x.right, c.pbox[S] = v, c.pbox[S + 1] = T;
|
|
6030
6030
|
for (let S = 0; S < 4; S++)
|
|
6031
|
-
for (let
|
|
6032
|
-
x = o(c,
|
|
6031
|
+
for (let G = 0; G < 256; G += 2)
|
|
6032
|
+
x = o(c, v, T), v = x.left, T = x.right, c.sbox[S][G] = v, c.sbox[S][G + 1] = T;
|
|
6033
6033
|
return !0;
|
|
6034
6034
|
}
|
|
6035
6035
|
var d = b.Blowfish = g.extend({
|
|
@@ -6056,17 +6056,17 @@ function mo() {
|
|
|
6056
6056
|
});
|
|
6057
6057
|
})(Bi)), Bi.exports;
|
|
6058
6058
|
}
|
|
6059
|
-
var
|
|
6060
|
-
function
|
|
6059
|
+
var po = ni.exports, gn;
|
|
6060
|
+
function go() {
|
|
6061
6061
|
return gn || (gn = 1, (function(e, r) {
|
|
6062
6062
|
(function(t, n, p) {
|
|
6063
|
-
e.exports = n(ae(), Zi(),
|
|
6064
|
-
})(
|
|
6063
|
+
e.exports = n(ae(), Zi(), sr(), ur(), Sa(), dr(), Da(), Xn(), pt(), Ur(), el(), vr(), Tr(), xr(), gt(), Er(), ya(), Ne(), Mr(), Pr(), wr(), Or(), Hr(), zr(), Vr(), Jr(), qr(), $r(), Yr(), eo(), io(), no(), ro(), so(), uo());
|
|
6064
|
+
})(po, function(t) {
|
|
6065
6065
|
return t;
|
|
6066
6066
|
});
|
|
6067
6067
|
})(ni)), ni.exports;
|
|
6068
6068
|
}
|
|
6069
|
-
var al =
|
|
6069
|
+
var al = go();
|
|
6070
6070
|
const va = /* @__PURE__ */ ut(al), _a = (e) => {
|
|
6071
6071
|
const r = "mySecretPassphrase", t = va.lib.WordArray.random(16), n = va.PBKDF2(r, t, {
|
|
6072
6072
|
keySize: 128 / 32,
|
|
@@ -6079,62 +6079,62 @@ const va = /* @__PURE__ */ ut(al), _a = (e) => {
|
|
|
6079
6079
|
return g + ":" + b;
|
|
6080
6080
|
}, ce = () => {
|
|
6081
6081
|
const { client: e, formDataClient: r } = re(), t = V(
|
|
6082
|
-
async (
|
|
6083
|
-
const { mac_address: h = "", app_version:
|
|
6082
|
+
async (C) => {
|
|
6083
|
+
const { mac_address: h = "", app_version: N = "", anydesk_id: E = "" } = C, { data: P } = await e.post("/cash-register/login", {
|
|
6084
6084
|
mac_address: h,
|
|
6085
|
-
app_version:
|
|
6086
|
-
anydesk_id:
|
|
6085
|
+
app_version: N,
|
|
6086
|
+
anydesk_id: E
|
|
6087
6087
|
});
|
|
6088
6088
|
return P;
|
|
6089
6089
|
},
|
|
6090
6090
|
[e]
|
|
6091
6091
|
), n = V(async () => e.get("/member/getMemberInfo"), [e]), p = V(async () => await e.get("/member/getGameList"), [e]), g = V(async () => await e.get("/member/getNowCurrencyExchange"), [e]), b = V(async () => await e.get("member/getFavoriteGame"), [e]), f = V(
|
|
6092
|
-
async (
|
|
6093
|
-
const { account: h, password:
|
|
6092
|
+
async (C) => {
|
|
6093
|
+
const { account: h, password: N, trans_code: E } = C;
|
|
6094
6094
|
return await e.post("/login", {
|
|
6095
6095
|
memId: h,
|
|
6096
|
-
passwd:
|
|
6097
|
-
trans_code:
|
|
6096
|
+
passwd: N,
|
|
6097
|
+
trans_code: E
|
|
6098
6098
|
});
|
|
6099
6099
|
},
|
|
6100
6100
|
[e]
|
|
6101
6101
|
), l = V(async () => await e.post("/logout"), [e]), i = V(
|
|
6102
|
-
async (
|
|
6103
|
-
const { gameUid: h = "", status:
|
|
6102
|
+
async (C) => {
|
|
6103
|
+
const { gameUid: h = "", status: N = 0 } = C;
|
|
6104
6104
|
return await e.put(`/member/toggleFavoriteGame/${h}`, {
|
|
6105
|
-
status:
|
|
6105
|
+
status: N
|
|
6106
6106
|
});
|
|
6107
6107
|
},
|
|
6108
6108
|
[e]
|
|
6109
6109
|
), a = V(async () => await e.get("/profit/ranking"), [e]), s = V(
|
|
6110
6110
|
async ({
|
|
6111
|
-
memberId:
|
|
6111
|
+
memberId: C,
|
|
6112
6112
|
password: h,
|
|
6113
|
-
unlimitCode:
|
|
6114
|
-
email:
|
|
6113
|
+
unlimitCode: N,
|
|
6114
|
+
email: E,
|
|
6115
6115
|
inviteCode: P,
|
|
6116
|
-
currencyCode:
|
|
6116
|
+
currencyCode: M,
|
|
6117
6117
|
validCode: R
|
|
6118
6118
|
}) => {
|
|
6119
6119
|
const B = {
|
|
6120
|
-
memId:
|
|
6120
|
+
memId: C,
|
|
6121
6121
|
passwd: _a(h),
|
|
6122
|
-
email:
|
|
6123
|
-
currency_code:
|
|
6122
|
+
email: E,
|
|
6123
|
+
currency_code: M,
|
|
6124
6124
|
code: R
|
|
6125
6125
|
};
|
|
6126
|
-
return
|
|
6126
|
+
return N && (B.unlimit_code = N), P && (B.invite = P), e.post("/signUp", B);
|
|
6127
6127
|
},
|
|
6128
6128
|
[e]
|
|
6129
6129
|
), o = V(
|
|
6130
|
-
async (
|
|
6131
|
-
const { name: h, birthday:
|
|
6130
|
+
async (C) => {
|
|
6131
|
+
const { name: h, birthday: N, email: E, mobile: P } = C;
|
|
6132
6132
|
return await e.post("/editMembetInfo", {
|
|
6133
6133
|
name: h,
|
|
6134
6134
|
// 暱稱
|
|
6135
|
-
birthday:
|
|
6135
|
+
birthday: N,
|
|
6136
6136
|
// 生日 (格式:YYYY-MM-DD)
|
|
6137
|
-
email:
|
|
6137
|
+
email: E,
|
|
6138
6138
|
// 電子郵件
|
|
6139
6139
|
mobile: P
|
|
6140
6140
|
// 手機號碼
|
|
@@ -6142,118 +6142,118 @@ const va = /* @__PURE__ */ ut(al), _a = (e) => {
|
|
|
6142
6142
|
},
|
|
6143
6143
|
[e]
|
|
6144
6144
|
), m = V(
|
|
6145
|
-
async (
|
|
6146
|
-
const { oldPwd: h, newPwd:
|
|
6145
|
+
async (C) => {
|
|
6146
|
+
const { oldPwd: h, newPwd: N } = C;
|
|
6147
6147
|
return await e.post("/passwordReset", {
|
|
6148
6148
|
old_pwd: _a(h),
|
|
6149
|
-
new_pwd: _a(
|
|
6149
|
+
new_pwd: _a(N)
|
|
6150
6150
|
});
|
|
6151
6151
|
},
|
|
6152
6152
|
[e]
|
|
6153
6153
|
), u = V(
|
|
6154
|
-
async (
|
|
6155
|
-
const { newPwd: h, confirmNewPwd:
|
|
6154
|
+
async (C) => {
|
|
6155
|
+
const { newPwd: h, confirmNewPwd: N } = C;
|
|
6156
6156
|
return await e.post("/setWithdrawPassword", {
|
|
6157
6157
|
newPassword: _a(h),
|
|
6158
|
-
confirmPassword: _a(
|
|
6158
|
+
confirmPassword: _a(N)
|
|
6159
6159
|
});
|
|
6160
6160
|
},
|
|
6161
6161
|
[e]
|
|
6162
6162
|
), d = V(
|
|
6163
|
-
async (
|
|
6164
|
-
const { oldPwd: h, newPwd:
|
|
6163
|
+
async (C) => {
|
|
6164
|
+
const { oldPwd: h, newPwd: N } = C;
|
|
6165
6165
|
return await e.post("/withdrawPasswordReset", {
|
|
6166
6166
|
old_pwd: _a(h),
|
|
6167
|
-
new_pwd: _a(
|
|
6167
|
+
new_pwd: _a(N)
|
|
6168
6168
|
});
|
|
6169
6169
|
},
|
|
6170
6170
|
[e]
|
|
6171
6171
|
), c = V(
|
|
6172
|
-
async ({ paramsData:
|
|
6173
|
-
const { start_time: h, end_time:
|
|
6172
|
+
async ({ paramsData: C }) => {
|
|
6173
|
+
const { start_time: h, end_time: N, limit: E = 25 } = C || {};
|
|
6174
6174
|
return await e.get("/report/totalprofit", {
|
|
6175
6175
|
params: {
|
|
6176
6176
|
start_time: `${Fe(h).format("YYYY-MM-DD")} 12:00:00`,
|
|
6177
|
-
end_time: `${Fe(
|
|
6178
|
-
limit:
|
|
6177
|
+
end_time: `${Fe(N).format("YYYY-MM-DD")} 11:59:59`,
|
|
6178
|
+
limit: E
|
|
6179
6179
|
}
|
|
6180
6180
|
});
|
|
6181
6181
|
},
|
|
6182
6182
|
[e]
|
|
6183
6183
|
), y = V(
|
|
6184
|
-
async (
|
|
6185
|
-
const { platform: h } =
|
|
6184
|
+
async (C) => {
|
|
6185
|
+
const { platform: h } = C;
|
|
6186
6186
|
return await e.post("/member/all-in-la", {
|
|
6187
6187
|
platform: h
|
|
6188
6188
|
});
|
|
6189
6189
|
},
|
|
6190
6190
|
[e]
|
|
6191
6191
|
), _ = V(async () => await e.get("/member/checkRestrictedWagering"), [e]), U = V(
|
|
6192
|
-
async (
|
|
6193
|
-
const { memId: h, point:
|
|
6192
|
+
async (C) => {
|
|
6193
|
+
const { memId: h, point: N, currency: E, password: P } = C;
|
|
6194
6194
|
return await e.post("/pointsTransaction", {
|
|
6195
6195
|
to_memId: h,
|
|
6196
|
-
point:
|
|
6197
|
-
currency:
|
|
6196
|
+
point: N,
|
|
6197
|
+
currency: E,
|
|
6198
6198
|
password: _a(P)
|
|
6199
6199
|
});
|
|
6200
6200
|
},
|
|
6201
6201
|
[e]
|
|
6202
|
-
),
|
|
6203
|
-
async ({ formData:
|
|
6202
|
+
), v = V(
|
|
6203
|
+
async ({ formData: C }) => {
|
|
6204
6204
|
const {
|
|
6205
6205
|
bank_name: h,
|
|
6206
|
-
bank_account_name:
|
|
6207
|
-
bank_branch_name:
|
|
6206
|
+
bank_account_name: N,
|
|
6207
|
+
bank_branch_name: E,
|
|
6208
6208
|
bank_account: P,
|
|
6209
|
-
bank_card_number:
|
|
6209
|
+
bank_card_number: M,
|
|
6210
6210
|
id_card: R,
|
|
6211
6211
|
id_pic: B
|
|
6212
|
-
} =
|
|
6213
|
-
return await r.post("/bindBankAccount",
|
|
6212
|
+
} = C;
|
|
6213
|
+
return await r.post("/bindBankAccount", C);
|
|
6214
6214
|
},
|
|
6215
6215
|
[r]
|
|
6216
6216
|
), T = V(
|
|
6217
|
-
async (
|
|
6218
|
-
const { point_transfer: h } =
|
|
6217
|
+
async (C) => {
|
|
6218
|
+
const { point_transfer: h } = C;
|
|
6219
6219
|
return await e.post("/cash-register/clear", {
|
|
6220
6220
|
point_transfer: h
|
|
6221
6221
|
});
|
|
6222
6222
|
},
|
|
6223
6223
|
[e]
|
|
6224
6224
|
), x = V(
|
|
6225
|
-
async (
|
|
6226
|
-
const { trans_code: h, line_id:
|
|
6225
|
+
async (C) => {
|
|
6226
|
+
const { trans_code: h, line_id: N, invite: E, line_name: P } = C;
|
|
6227
6227
|
return await e.post("/goLine", {
|
|
6228
6228
|
trans_code: h,
|
|
6229
|
-
line_id:
|
|
6230
|
-
invite:
|
|
6229
|
+
line_id: N,
|
|
6230
|
+
invite: E,
|
|
6231
6231
|
line_name: P
|
|
6232
6232
|
});
|
|
6233
6233
|
},
|
|
6234
6234
|
[e]
|
|
6235
6235
|
), S = V(
|
|
6236
|
-
async (
|
|
6237
|
-
const { trans_code: h, line_id:
|
|
6236
|
+
async (C) => {
|
|
6237
|
+
const { trans_code: h, line_id: N, line_name: E } = C;
|
|
6238
6238
|
return await e.post("/login/line", {
|
|
6239
6239
|
trans_code: h,
|
|
6240
|
-
line_id:
|
|
6241
|
-
line_name:
|
|
6240
|
+
line_id: N,
|
|
6241
|
+
line_name: E
|
|
6242
6242
|
});
|
|
6243
6243
|
},
|
|
6244
6244
|
[e]
|
|
6245
|
-
),
|
|
6246
|
-
async (
|
|
6247
|
-
const { mac_address: h } =
|
|
6245
|
+
), G = V(
|
|
6246
|
+
async (C) => {
|
|
6247
|
+
const { mac_address: h } = C;
|
|
6248
6248
|
return await e.get(`/machine-login-code/${h}`);
|
|
6249
6249
|
},
|
|
6250
6250
|
[e]
|
|
6251
|
-
),
|
|
6252
|
-
async (
|
|
6253
|
-
const { member_info_uid: h, point:
|
|
6251
|
+
), O = V(
|
|
6252
|
+
async (C) => {
|
|
6253
|
+
const { member_info_uid: h, point: N, currency: E, withdraw_password: P } = C;
|
|
6254
6254
|
return await e.post(`/member/transfer/${h}`, {
|
|
6255
|
-
point:
|
|
6256
|
-
currency:
|
|
6255
|
+
point: N,
|
|
6256
|
+
currency: E,
|
|
6257
6257
|
withdraw_passsword: P
|
|
6258
6258
|
});
|
|
6259
6259
|
},
|
|
@@ -6275,15 +6275,15 @@ const va = /* @__PURE__ */ ut(al), _a = (e) => {
|
|
|
6275
6275
|
setUserTransactionPasswordApi: u,
|
|
6276
6276
|
resetUserTransactionPasswordApi: d,
|
|
6277
6277
|
userRebateApi: c,
|
|
6278
|
-
userBindBankApi:
|
|
6278
|
+
userBindBankApi: v,
|
|
6279
6279
|
transferInGameApi: y,
|
|
6280
6280
|
checkUserWagerApi: _,
|
|
6281
6281
|
pointTransferApi: U,
|
|
6282
6282
|
abandonPointsApi: T,
|
|
6283
6283
|
lineLoginApi: x,
|
|
6284
6284
|
lineLogin2Api: S,
|
|
6285
|
-
getMachineLoginCodeApi:
|
|
6286
|
-
memberTransferApi:
|
|
6285
|
+
getMachineLoginCodeApi: G,
|
|
6286
|
+
memberTransferApi: O
|
|
6287
6287
|
};
|
|
6288
6288
|
}, bm = ({ otherQueryKey: e = [], options: r = {} } = {}) => {
|
|
6289
6289
|
const { userCurrencyExchangeApi: t } = ce(), { getToken: n } = re(), { enabled: p, ...g } = r, f = !!n?.() && (p ? p.every((l) => l) : !0);
|
|
@@ -6410,7 +6410,7 @@ const va = /* @__PURE__ */ ut(al), _a = (e) => {
|
|
|
6410
6410
|
[e]
|
|
6411
6411
|
);
|
|
6412
6412
|
return { playGameApi: n, betRecordApi: p, betRecordDetailApi: g };
|
|
6413
|
-
},
|
|
6413
|
+
}, co = ({ options: e, formData: r } = {}) => {
|
|
6414
6414
|
const { betRecordApi: t } = dt();
|
|
6415
6415
|
return ne({
|
|
6416
6416
|
queryKey: ["getBetRecord"],
|
|
@@ -6421,7 +6421,7 @@ const va = /* @__PURE__ */ ut(al), _a = (e) => {
|
|
|
6421
6421
|
})),
|
|
6422
6422
|
...e
|
|
6423
6423
|
});
|
|
6424
|
-
},
|
|
6424
|
+
}, fo = ({ options: e, formData: r } = {}) => {
|
|
6425
6425
|
const { betRecordDetailApi: t } = dt();
|
|
6426
6426
|
return ne({
|
|
6427
6427
|
queryKey: ["getBetRecordDetail"],
|
|
@@ -6434,7 +6434,7 @@ const va = /* @__PURE__ */ ut(al), _a = (e) => {
|
|
|
6434
6434
|
betRecordDetail: {}
|
|
6435
6435
|
}
|
|
6436
6436
|
}) => {
|
|
6437
|
-
const r =
|
|
6437
|
+
const r = co({ options: e.betRecord }), t = fo({
|
|
6438
6438
|
options: e.betRecordDetail
|
|
6439
6439
|
});
|
|
6440
6440
|
return {
|
|
@@ -6591,7 +6591,7 @@ function yt() {
|
|
|
6591
6591
|
return qa;
|
|
6592
6592
|
}
|
|
6593
6593
|
var bn;
|
|
6594
|
-
function
|
|
6594
|
+
function _o() {
|
|
6595
6595
|
if (bn) return ha;
|
|
6596
6596
|
bn = 1;
|
|
6597
6597
|
var e = ha && ha.__assign || function() {
|
|
@@ -6653,15 +6653,15 @@ function fo() {
|
|
|
6653
6653
|
return d && window.clearTimeout(d);
|
|
6654
6654
|
};
|
|
6655
6655
|
}, i = function(a, s, o, m, u, d, c) {
|
|
6656
|
-
var y = s.setLastMessage, _ = s.setReadyState, U,
|
|
6657
|
-
return o.current.fromSocketIO && (U = (0, r.setUpSocketIOPing)(c)), g(a, o, y, d), b(a, o, _, u, d),
|
|
6658
|
-
_(n.ReadyState.CLOSING),
|
|
6656
|
+
var y = s.setLastMessage, _ = s.setReadyState, U, v, T;
|
|
6657
|
+
return o.current.fromSocketIO && (U = (0, r.setUpSocketIOPing)(c)), g(a, o, y, d), b(a, o, _, u, d), v = f(a, o, _, m, u), T = l(a, o, _, m, u), function() {
|
|
6658
|
+
_(n.ReadyState.CLOSING), v(), T(), a.close(), U && clearInterval(U);
|
|
6659
6659
|
};
|
|
6660
6660
|
};
|
|
6661
6661
|
return ha.attachListeners = i, ha;
|
|
6662
6662
|
}
|
|
6663
6663
|
var Ta = {}, Cn;
|
|
6664
|
-
function
|
|
6664
|
+
function yo() {
|
|
6665
6665
|
if (Cn) return Ta;
|
|
6666
6666
|
Cn = 1;
|
|
6667
6667
|
var e = Ta && Ta.__assign || function() {
|
|
@@ -6723,10 +6723,10 @@ function _o() {
|
|
|
6723
6723
|
return Ta.attachSharedListeners = a, Ta;
|
|
6724
6724
|
}
|
|
6725
6725
|
var vn;
|
|
6726
|
-
function
|
|
6726
|
+
function Uo() {
|
|
6727
6727
|
if (vn) return Ka;
|
|
6728
6728
|
vn = 1, Object.defineProperty(Ka, "__esModule", { value: !0 }), Ka.createOrJoinSocket = void 0;
|
|
6729
|
-
var e = ct(), r = na(), t =
|
|
6729
|
+
var e = ct(), r = na(), t = _o(), n = yo(), p = _t(), g = function(f, l, i, a, s) {
|
|
6730
6730
|
return function() {
|
|
6731
6731
|
if ((0, p.removeSubscriber)(f, l), !(0, p.hasSubscribers)(f)) {
|
|
6732
6732
|
try {
|
|
@@ -6766,7 +6766,7 @@ function yo() {
|
|
|
6766
6766
|
return Ka.createOrJoinSocket = b, Ka;
|
|
6767
6767
|
}
|
|
6768
6768
|
var sa = {}, hn;
|
|
6769
|
-
function
|
|
6769
|
+
function bo() {
|
|
6770
6770
|
return hn || (hn = 1, (function(e) {
|
|
6771
6771
|
var r = sa && sa.__awaiter || function(l, i, a, s) {
|
|
6772
6772
|
function o(m) {
|
|
@@ -6867,7 +6867,7 @@ function Uo() {
|
|
|
6867
6867
|
for (var a = [], s = 2; s < arguments.length; s++)
|
|
6868
6868
|
a[s - 2] = arguments[s];
|
|
6869
6869
|
return r(void 0, n([l, i], a, !0), void 0, function(o, m, u) {
|
|
6870
|
-
var d, c, y, _, U,
|
|
6870
|
+
var d, c, y, _, U, v, T, x;
|
|
6871
6871
|
return u === void 0 && (u = 0), t(this, function(S) {
|
|
6872
6872
|
switch (S.label) {
|
|
6873
6873
|
case 0:
|
|
@@ -6878,7 +6878,7 @@ function Uo() {
|
|
|
6878
6878
|
case 2:
|
|
6879
6879
|
return d = S.sent(), [3, 9];
|
|
6880
6880
|
case 3:
|
|
6881
|
-
return S.sent(), m.current.retryOnError ? (c = (
|
|
6881
|
+
return S.sent(), m.current.retryOnError ? (c = (v = m.current.reconnectAttempts) !== null && v !== void 0 ? v : g.DEFAULT_RECONNECT_LIMIT, u < c ? (y = typeof m.current.reconnectInterval == "function" ? m.current.reconnectInterval(u) : m.current.reconnectInterval, [4, b(y ?? g.DEFAULT_RECONNECT_INTERVAL_MS)]) : [3, 5]) : [3, 7];
|
|
6882
6882
|
case 4:
|
|
6883
6883
|
return S.sent(), [2, (0, e.getUrl)(o, m, u + 1)];
|
|
6884
6884
|
case 5:
|
|
@@ -6903,7 +6903,7 @@ function Uo() {
|
|
|
6903
6903
|
})(sa)), sa;
|
|
6904
6904
|
}
|
|
6905
6905
|
var at = {}, Tn;
|
|
6906
|
-
function
|
|
6906
|
+
function Co() {
|
|
6907
6907
|
return Tn || (Tn = 1, (function(e) {
|
|
6908
6908
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.websocketWrapper = void 0;
|
|
6909
6909
|
var r = function(t, n) {
|
|
@@ -6947,7 +6947,7 @@ function Ut() {
|
|
|
6947
6947
|
_(S);
|
|
6948
6948
|
}
|
|
6949
6949
|
}
|
|
6950
|
-
function
|
|
6950
|
+
function v(x) {
|
|
6951
6951
|
try {
|
|
6952
6952
|
T(d.throw(x));
|
|
6953
6953
|
} catch (S) {
|
|
@@ -6955,7 +6955,7 @@ function Ut() {
|
|
|
6955
6955
|
}
|
|
6956
6956
|
}
|
|
6957
6957
|
function T(x) {
|
|
6958
|
-
x.done ? y(x.value) : c(x.value).then(U,
|
|
6958
|
+
x.done ? y(x.value) : c(x.value).then(U, v);
|
|
6959
6959
|
}
|
|
6960
6960
|
T((d = d.apply(o, m || [])).next());
|
|
6961
6961
|
});
|
|
@@ -6969,10 +6969,10 @@ function Ut() {
|
|
|
6969
6969
|
}), _;
|
|
6970
6970
|
function U(T) {
|
|
6971
6971
|
return function(x) {
|
|
6972
|
-
return
|
|
6972
|
+
return v([T, x]);
|
|
6973
6973
|
};
|
|
6974
6974
|
}
|
|
6975
|
-
function
|
|
6975
|
+
function v(T) {
|
|
6976
6976
|
if (d) throw new TypeError("Generator is already executing.");
|
|
6977
6977
|
for (; _ && (_ = 0, T[0] && (u = 0)), u; ) try {
|
|
6978
6978
|
if (d = 1, c && (y = T[0] & 2 ? c.return : T[0] ? c.throw || ((y = c.return) && y.call(c), 0) : c.next) && !(y = y.call(c, T[1])).done) return y;
|
|
@@ -7022,9 +7022,9 @@ function Ut() {
|
|
|
7022
7022
|
return o && o.__esModule ? o : { default: o };
|
|
7023
7023
|
};
|
|
7024
7024
|
Object.defineProperty(Ie, "__esModule", { value: !0 }), Ie.useWebSocket = void 0;
|
|
7025
|
-
var p = ge, g =
|
|
7025
|
+
var p = ge, g = Il, b = na(), f = Uo(), l = bo(), i = n(Co()), a = yt(), s = function(o, m, u) {
|
|
7026
7026
|
m === void 0 && (m = b.DEFAULT_OPTIONS), u === void 0 && (u = !0);
|
|
7027
|
-
var d = (0, p.useState)(null), c = d[0], y = d[1], _ = (0, p.useState)({}), U = _[0],
|
|
7027
|
+
var d = (0, p.useState)(null), c = d[0], y = d[1], _ = (0, p.useState)({}), U = _[0], v = _[1], T = (0, p.useMemo)(function() {
|
|
7028
7028
|
if (!m.disableJson && c)
|
|
7029
7029
|
try {
|
|
7030
7030
|
return JSON.parse(c.data);
|
|
@@ -7032,50 +7032,50 @@ function Ut() {
|
|
|
7032
7032
|
return b.UNPARSABLE_JSON_OBJECT;
|
|
7033
7033
|
}
|
|
7034
7034
|
return null;
|
|
7035
|
-
}, [c, m.disableJson]), x = (0, p.useRef)(null), S = (0, p.useRef)(null),
|
|
7036
|
-
}),
|
|
7037
|
-
|
|
7038
|
-
var P = x.current && U[x.current] !== void 0 ? U[x.current] : o !== null && u === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED,
|
|
7039
|
-
var
|
|
7035
|
+
}, [c, m.disableJson]), x = (0, p.useRef)(null), S = (0, p.useRef)(null), G = (0, p.useRef)(function() {
|
|
7036
|
+
}), O = (0, p.useRef)(0), C = (0, p.useRef)(Date.now()), h = (0, p.useRef)([]), N = (0, p.useRef)(null), E = (0, p.useRef)(m);
|
|
7037
|
+
E.current = m;
|
|
7038
|
+
var P = x.current && U[x.current] !== void 0 ? U[x.current] : o !== null && u === !0 ? b.ReadyState.CONNECTING : b.ReadyState.UNINSTANTIATED, M = m.queryParams ? JSON.stringify(m.queryParams) : null, R = (0, p.useCallback)(function(H, W) {
|
|
7039
|
+
var L;
|
|
7040
7040
|
if (W === void 0 && (W = !0), b.isEventSourceSupported && S.current instanceof EventSource) {
|
|
7041
7041
|
console.warn("Unable to send a message from an eventSource");
|
|
7042
7042
|
return;
|
|
7043
7043
|
}
|
|
7044
|
-
((
|
|
7044
|
+
((L = S.current) === null || L === void 0 ? void 0 : L.readyState) === b.ReadyState.OPEN ? ((0, a.assertIsWebSocket)(S.current, E.current.skipAssert), S.current.send(H)) : W && h.current.push(H);
|
|
7045
7045
|
}, []), B = (0, p.useCallback)(function(H, W) {
|
|
7046
7046
|
W === void 0 && (W = !0), R(JSON.stringify(H), W);
|
|
7047
|
-
}, [R]),
|
|
7048
|
-
return
|
|
7047
|
+
}, [R]), A = (0, p.useCallback)(function() {
|
|
7048
|
+
return E.current.share !== !0 || b.isEventSourceSupported && S.current instanceof EventSource ? S.current : (N.current === null && S.current && ((0, a.assertIsWebSocket)(S.current, E.current.skipAssert), N.current = (0, i.default)(S.current, G)), N.current);
|
|
7049
7049
|
}, []);
|
|
7050
7050
|
return (0, p.useEffect)(function() {
|
|
7051
7051
|
if (o !== null && u === !0) {
|
|
7052
|
-
var H, W = !1,
|
|
7052
|
+
var H, W = !1, L = !0, D = function() {
|
|
7053
7053
|
return r(void 0, void 0, void 0, function() {
|
|
7054
|
-
var
|
|
7054
|
+
var F, w, K;
|
|
7055
7055
|
return t(this, function(Q) {
|
|
7056
7056
|
switch (Q.label) {
|
|
7057
7057
|
case 0:
|
|
7058
|
-
return
|
|
7058
|
+
return F = x, [4, (0, l.getUrl)(o, E)];
|
|
7059
7059
|
case 1:
|
|
7060
|
-
return
|
|
7061
|
-
return
|
|
7060
|
+
return F.current = Q.sent(), x.current === null ? (console.error("Failed to get a valid URL. WebSocket connection aborted."), x.current = "ABORTED", (0, g.flushSync)(function() {
|
|
7061
|
+
return v(function($) {
|
|
7062
7062
|
return e(e({}, $), { ABORTED: b.ReadyState.CLOSED });
|
|
7063
7063
|
});
|
|
7064
7064
|
}), [
|
|
7065
7065
|
2
|
|
7066
7066
|
/*return*/
|
|
7067
|
-
]) : (
|
|
7067
|
+
]) : (w = function($) {
|
|
7068
7068
|
W || (0, g.flushSync)(function() {
|
|
7069
7069
|
return y($);
|
|
7070
7070
|
});
|
|
7071
7071
|
}, K = function($) {
|
|
7072
7072
|
W || (0, g.flushSync)(function() {
|
|
7073
|
-
return
|
|
7073
|
+
return v(function(J) {
|
|
7074
7074
|
var X;
|
|
7075
7075
|
return e(e({}, J), x.current && (X = {}, X[x.current] = $, X));
|
|
7076
7076
|
});
|
|
7077
7077
|
});
|
|
7078
|
-
},
|
|
7078
|
+
}, L && (H = (0, f.createOrJoinSocket)(S, x.current, K, E, w, G, O, C, R)), [
|
|
7079
7079
|
2
|
|
7080
7080
|
/*return*/
|
|
7081
7081
|
]);
|
|
@@ -7083,16 +7083,16 @@ function Ut() {
|
|
|
7083
7083
|
});
|
|
7084
7084
|
});
|
|
7085
7085
|
};
|
|
7086
|
-
return
|
|
7087
|
-
W || (
|
|
7086
|
+
return G.current = function() {
|
|
7087
|
+
W || (N.current && (N.current = null), H?.(), D());
|
|
7088
7088
|
}, D(), function() {
|
|
7089
|
-
W = !0,
|
|
7089
|
+
W = !0, L = !1, N.current && (N.current = null), H?.(), y(null);
|
|
7090
7090
|
};
|
|
7091
|
-
} else (o === null || u === !1) && (
|
|
7092
|
-
var
|
|
7093
|
-
return e(e({},
|
|
7091
|
+
} else (o === null || u === !1) && (O.current = 0, v(function(F) {
|
|
7092
|
+
var w;
|
|
7093
|
+
return e(e({}, F), x.current && (w = {}, w[x.current] = b.ReadyState.CLOSED, w));
|
|
7094
7094
|
}));
|
|
7095
|
-
}, [o, u,
|
|
7095
|
+
}, [o, u, M, R]), (0, p.useEffect)(function() {
|
|
7096
7096
|
P === b.ReadyState.OPEN && h.current.splice(0).forEach(function(H) {
|
|
7097
7097
|
R(H);
|
|
7098
7098
|
});
|
|
@@ -7102,13 +7102,13 @@ function Ut() {
|
|
|
7102
7102
|
lastMessage: c,
|
|
7103
7103
|
lastJsonMessage: T,
|
|
7104
7104
|
readyState: P,
|
|
7105
|
-
getWebSocket:
|
|
7105
|
+
getWebSocket: A
|
|
7106
7106
|
};
|
|
7107
7107
|
};
|
|
7108
7108
|
return Ie.useWebSocket = s, Ie;
|
|
7109
7109
|
}
|
|
7110
7110
|
var ka = {}, xn;
|
|
7111
|
-
function
|
|
7111
|
+
function vo() {
|
|
7112
7112
|
if (xn) return ka;
|
|
7113
7113
|
xn = 1;
|
|
7114
7114
|
var e = ka && ka.__assign || function() {
|
|
@@ -7154,7 +7154,7 @@ function Co() {
|
|
|
7154
7154
|
return ka.useSocketIO = b, ka;
|
|
7155
7155
|
}
|
|
7156
7156
|
var ma = {}, Sn;
|
|
7157
|
-
function
|
|
7157
|
+
function ho() {
|
|
7158
7158
|
if (Sn) return ma;
|
|
7159
7159
|
Sn = 1;
|
|
7160
7160
|
var e = ma && ma.__assign || function() {
|
|
@@ -7185,8 +7185,8 @@ function vo() {
|
|
|
7185
7185
|
var u = (0, n.useWebSocket)(b, o, l), d = u.lastMessage, c = u.readyState, y = u.getWebSocket;
|
|
7186
7186
|
return (0, t.useEffect)(function() {
|
|
7187
7187
|
d?.type && Object.entries(m.current).forEach(function(_) {
|
|
7188
|
-
var U = _[0],
|
|
7189
|
-
U === d.type &&
|
|
7188
|
+
var U = _[0], v = _[1];
|
|
7189
|
+
U === d.type && v(d);
|
|
7190
7190
|
});
|
|
7191
7191
|
}, [d]), {
|
|
7192
7192
|
lastEvent: d,
|
|
@@ -7197,14 +7197,14 @@ function vo() {
|
|
|
7197
7197
|
return ma.useEventSource = g, ma;
|
|
7198
7198
|
}
|
|
7199
7199
|
var Dn;
|
|
7200
|
-
function
|
|
7200
|
+
function To() {
|
|
7201
7201
|
return Dn || (Dn = 1, (function(e) {
|
|
7202
7202
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.resetGlobalState = e.useEventSource = e.ReadyState = e.useSocketIO = e.default = void 0;
|
|
7203
7203
|
var r = Ut();
|
|
7204
7204
|
Object.defineProperty(e, "default", { enumerable: !0, get: function() {
|
|
7205
7205
|
return r.useWebSocket;
|
|
7206
7206
|
} });
|
|
7207
|
-
var t =
|
|
7207
|
+
var t = vo();
|
|
7208
7208
|
Object.defineProperty(e, "useSocketIO", { enumerable: !0, get: function() {
|
|
7209
7209
|
return t.useSocketIO;
|
|
7210
7210
|
} });
|
|
@@ -7212,7 +7212,7 @@ function ho() {
|
|
|
7212
7212
|
Object.defineProperty(e, "ReadyState", { enumerable: !0, get: function() {
|
|
7213
7213
|
return n.ReadyState;
|
|
7214
7214
|
} });
|
|
7215
|
-
var p =
|
|
7215
|
+
var p = ho();
|
|
7216
7216
|
Object.defineProperty(e, "useEventSource", { enumerable: !0, get: function() {
|
|
7217
7217
|
return p.useEventSource;
|
|
7218
7218
|
} });
|
|
@@ -7222,15 +7222,15 @@ function ho() {
|
|
|
7222
7222
|
} });
|
|
7223
7223
|
})(ji)), ji;
|
|
7224
7224
|
}
|
|
7225
|
-
var
|
|
7226
|
-
const
|
|
7225
|
+
var ko = To();
|
|
7226
|
+
const xo = /* @__PURE__ */ ut(ko), So = ({
|
|
7227
7227
|
enable: e = !1,
|
|
7228
7228
|
isTestFunction: r = !1,
|
|
7229
7229
|
isTransferMode: t = !1,
|
|
7230
7230
|
isInGameBox: n = !1,
|
|
7231
7231
|
currentGamePlatform: p = ""
|
|
7232
7232
|
}) => {
|
|
7233
|
-
const { store: g, lng: b } = re(), { isReady: f, setAsReady: l, isPending: i, setAsPending: a } = Vn(), s = $e(b), { mutateAsync: o } =
|
|
7233
|
+
const { store: g, lng: b } = re(), { isReady: f, setAsReady: l, isPending: i, setAsPending: a } = Vn(), s = $e(b), { mutateAsync: o } = Ao();
|
|
7234
7234
|
return !e || !r || !t ? { handleTransferInGame: () => {
|
|
7235
7235
|
} } : { handleTransferInGame: async () => {
|
|
7236
7236
|
console.log("執行遊戲內轉帳"), n && await o({
|
|
@@ -7269,63 +7269,63 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
7269
7269
|
}
|
|
7270
7270
|
});
|
|
7271
7271
|
} };
|
|
7272
|
-
},
|
|
7272
|
+
}, Do = ({ options: e } = {}) => {
|
|
7273
7273
|
const { userLoginApi: r } = ce();
|
|
7274
7274
|
return de({
|
|
7275
7275
|
mutationKey: ["userLogin"],
|
|
7276
7276
|
mutationFn: async (t) => r(t),
|
|
7277
7277
|
...e
|
|
7278
7278
|
});
|
|
7279
|
-
},
|
|
7279
|
+
}, Eo = ({ options: e } = {}) => {
|
|
7280
7280
|
const { userLogoutApi: r } = ce();
|
|
7281
7281
|
return de({
|
|
7282
7282
|
mutationKey: ["userLogout"],
|
|
7283
7283
|
mutationFn: async () => r(),
|
|
7284
7284
|
...e
|
|
7285
7285
|
});
|
|
7286
|
-
},
|
|
7286
|
+
}, No = ({ options: e } = {}) => {
|
|
7287
7287
|
const { userSignUpApi: r } = ce();
|
|
7288
7288
|
return de({
|
|
7289
7289
|
mutationKey: ["userSignUp"],
|
|
7290
7290
|
mutationFn: async (t) => r(t),
|
|
7291
7291
|
...e
|
|
7292
7292
|
});
|
|
7293
|
-
},
|
|
7293
|
+
}, Lo = ({ options: e } = {}) => {
|
|
7294
7294
|
const { addOrRemoveFavoriteGameApi: r } = ce();
|
|
7295
7295
|
return de({
|
|
7296
7296
|
mutationKey: ["toggleFavoriteGame"],
|
|
7297
7297
|
mutationFn: async (t) => r(t),
|
|
7298
7298
|
...e
|
|
7299
7299
|
});
|
|
7300
|
-
},
|
|
7300
|
+
}, Go = ({ options: e } = {}) => {
|
|
7301
7301
|
const { updateUserInfoApi: r } = ce();
|
|
7302
7302
|
return de({
|
|
7303
7303
|
mutationKey: ["updateUserInfo"],
|
|
7304
7304
|
mutationFn: async (t) => r(t),
|
|
7305
7305
|
...e
|
|
7306
7306
|
});
|
|
7307
|
-
},
|
|
7307
|
+
}, Mo = ({ options: e } = {}) => {
|
|
7308
7308
|
const { resetUserPasswordApi: r } = ce();
|
|
7309
7309
|
return de({
|
|
7310
7310
|
mutationKey: ["resetUserPassword"],
|
|
7311
7311
|
mutationFn: async (t) => r(t),
|
|
7312
7312
|
...e
|
|
7313
7313
|
});
|
|
7314
|
-
},
|
|
7314
|
+
}, Ro = ({ options: e } = {}) => {
|
|
7315
7315
|
const { setUserTransactionPasswordApi: r } = ce();
|
|
7316
7316
|
return de({
|
|
7317
7317
|
mutationKey: ["setUserTransactionPassword"],
|
|
7318
7318
|
mutationFn: async (t) => r(t),
|
|
7319
7319
|
...e
|
|
7320
7320
|
});
|
|
7321
|
-
},
|
|
7321
|
+
}, Po = ({ options: e } = {}) => {
|
|
7322
7322
|
const { resetUserTransactionPasswordApi: r } = ce();
|
|
7323
7323
|
return de({
|
|
7324
7324
|
mutationKey: ["resetUserTransactionPassword"],
|
|
7325
7325
|
mutationFn: async (t) => r(t),
|
|
7326
7326
|
...e
|
|
7327
7327
|
});
|
|
7328
|
-
},
|
|
7328
|
+
}, Fo = ({ paramsData: e, options: r } = {}) => {
|
|
7329
7329
|
const { userRebateApi: t } = ce(), { getToken: n } = re();
|
|
7330
7330
|
return n?.(), ne({
|
|
7331
7331
|
queryKey: ["userRebate", e],
|
|
@@ -7333,14 +7333,14 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
7333
7333
|
enabled: !1,
|
|
7334
7334
|
...r
|
|
7335
7335
|
});
|
|
7336
|
-
},
|
|
7336
|
+
}, wo = ({ options: e } = {}) => {
|
|
7337
7337
|
const { userBindBankApi: r } = ce();
|
|
7338
7338
|
return de({
|
|
7339
7339
|
mutationKey: ["userBindBank"],
|
|
7340
7340
|
mutationFn: async (t) => r({ formData: t }),
|
|
7341
7341
|
...e
|
|
7342
7342
|
});
|
|
7343
|
-
},
|
|
7343
|
+
}, Ao = ({ options: e } = {}) => {
|
|
7344
7344
|
const { transferInGameApi: r } = ce();
|
|
7345
7345
|
return de({
|
|
7346
7346
|
mutationKey: ["transferInGame"],
|
|
@@ -7383,7 +7383,7 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
7383
7383
|
},
|
|
7384
7384
|
...e
|
|
7385
7385
|
});
|
|
7386
|
-
},
|
|
7386
|
+
}, tl = ({ options: e } = {}) => {
|
|
7387
7387
|
const { lineLoginApi: r } = ce();
|
|
7388
7388
|
return de({
|
|
7389
7389
|
mutationKey: ["lineLogin"],
|
|
@@ -7425,15 +7425,15 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
7425
7425
|
userBindCard: {}
|
|
7426
7426
|
}
|
|
7427
7427
|
} = {}) => {
|
|
7428
|
-
const r =
|
|
7428
|
+
const r = Do({ options: e.login }), t = Eo({ options: e.logout }), n = No({ options: e.register }), p = Go({ options: e.updateUserInfo }), g = Lo({
|
|
7429
7429
|
options: e.toggleFavoriteGame
|
|
7430
|
-
}), b =
|
|
7430
|
+
}), b = Mo({
|
|
7431
7431
|
options: e.resetUserPassword
|
|
7432
|
-
}), f =
|
|
7432
|
+
}), f = Ro({
|
|
7433
7433
|
options: e.setUserTransactionPassword
|
|
7434
|
-
}), l =
|
|
7434
|
+
}), l = Po({
|
|
7435
7435
|
options: e.resetUserTransactionPassword
|
|
7436
|
-
}), i =
|
|
7436
|
+
}), i = Fo({ options: e.userRebate }), a = wo({ options: e.userBindCard });
|
|
7437
7437
|
return {
|
|
7438
7438
|
login: r,
|
|
7439
7439
|
logout: t,
|
|
@@ -7479,59 +7479,69 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
7479
7479
|
p,
|
|
7480
7480
|
"enableTransferInGaming",
|
|
7481
7481
|
!1
|
|
7482
|
-
), { mutateAsync: U } =
|
|
7482
|
+
), { mutateAsync: U } = tl({
|
|
7483
7483
|
options: {
|
|
7484
7484
|
onSuccess: (E) => {
|
|
7485
7485
|
d.current.onLineLogin?.(E);
|
|
7486
|
+
},
|
|
7487
|
+
retry: !1
|
|
7488
|
+
}
|
|
7489
|
+
}), { mutateAsync: v } = Oo({
|
|
7490
|
+
options: {
|
|
7491
|
+
onSuccess: (E) => {
|
|
7492
|
+
d.current.onLineLogin?.(E);
|
|
7493
|
+
},
|
|
7494
|
+
onError: (E, P) => {
|
|
7495
|
+
U(P);
|
|
7486
7496
|
}
|
|
7487
7497
|
}
|
|
7488
|
-
}), { handleTransferInGame:
|
|
7498
|
+
}), { handleTransferInGame: T } = So({
|
|
7489
7499
|
enable: _,
|
|
7490
7500
|
isTestFunction: !0,
|
|
7491
7501
|
isTransferMode: pe(p, "isTransferMode", !1),
|
|
7492
7502
|
isInGameBox: pe(p, "isInGameBox", !1),
|
|
7493
7503
|
currentGamePlatform: pe(p, "currentGamePlatform", "")
|
|
7494
7504
|
}), {
|
|
7495
|
-
sendMessage:
|
|
7505
|
+
sendMessage: x,
|
|
7496
7506
|
// 發送普通訊息
|
|
7497
|
-
sendJsonMessage:
|
|
7507
|
+
sendJsonMessage: S,
|
|
7498
7508
|
// 發送 JSON 訊息
|
|
7499
|
-
lastMessage:
|
|
7509
|
+
lastMessage: G,
|
|
7500
7510
|
// 最後接收到的訊息
|
|
7501
7511
|
// lastJsonMessage, // 最後接收到的 JSON 訊息
|
|
7502
|
-
readyState:
|
|
7512
|
+
readyState: O
|
|
7503
7513
|
// WebSocket 連線狀態
|
|
7504
7514
|
// getWebSocket, // 獲取 WebSocket 實例
|
|
7505
|
-
} =
|
|
7515
|
+
} = xo(e, {
|
|
7506
7516
|
queryParams: { key: "wsky" },
|
|
7507
7517
|
onOpen: () => console.log("連線成功"),
|
|
7508
7518
|
shouldReconnect: () => u.current === !1,
|
|
7509
7519
|
reconnectAttempts: 9999,
|
|
7510
7520
|
reconnectInterval: 1e3,
|
|
7511
7521
|
...t
|
|
7512
|
-
}),
|
|
7522
|
+
}), C = Oa(() => {
|
|
7513
7523
|
try {
|
|
7514
|
-
return JSON.parse(
|
|
7524
|
+
return JSON.parse(G?.data);
|
|
7515
7525
|
} catch {
|
|
7516
7526
|
return null;
|
|
7517
7527
|
}
|
|
7518
|
-
}, [
|
|
7528
|
+
}, [G]);
|
|
7519
7529
|
me(() => {
|
|
7520
7530
|
const E = setInterval(
|
|
7521
|
-
() =>
|
|
7531
|
+
() => x("ping"),
|
|
7522
7532
|
Ho
|
|
7523
7533
|
);
|
|
7524
7534
|
return () => clearInterval(E);
|
|
7525
|
-
}, [
|
|
7526
|
-
const
|
|
7527
|
-
(E,
|
|
7535
|
+
}, [x]);
|
|
7536
|
+
const h = V(
|
|
7537
|
+
(E, P) => {
|
|
7528
7538
|
g && b.dispatch({
|
|
7529
7539
|
type: "ui/openNotificationModal",
|
|
7530
7540
|
payload: {
|
|
7531
7541
|
title: $a[m] || "System Prompt",
|
|
7532
7542
|
content: E,
|
|
7533
7543
|
type: "warning",
|
|
7534
|
-
props:
|
|
7544
|
+
props: P
|
|
7535
7545
|
}
|
|
7536
7546
|
});
|
|
7537
7547
|
},
|
|
@@ -7540,55 +7550,55 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
7540
7550
|
me(() => {
|
|
7541
7551
|
d.current = r;
|
|
7542
7552
|
}, [r]);
|
|
7543
|
-
const
|
|
7553
|
+
const N = ee(null);
|
|
7544
7554
|
return me(() => {
|
|
7545
|
-
if (!
|
|
7555
|
+
if (!C || N.current === C)
|
|
7546
7556
|
return;
|
|
7547
|
-
|
|
7557
|
+
N.current = C;
|
|
7548
7558
|
const {
|
|
7549
7559
|
onDeposit: E,
|
|
7550
|
-
onTransCode:
|
|
7551
|
-
onError:
|
|
7552
|
-
onUpdateMember:
|
|
7553
|
-
onMaintainNotice:
|
|
7554
|
-
onMaintainNoticeMember:
|
|
7555
|
-
onTransferInGame:
|
|
7556
|
-
onCashRegisterLimit:
|
|
7557
|
-
onLineLogin:
|
|
7558
|
-
} = d.current,
|
|
7559
|
-
memberInfoUid: pe(
|
|
7560
|
-
data: pe(
|
|
7561
|
-
memo: pe(
|
|
7562
|
-
amount: pe(
|
|
7563
|
-
limitAmount: pe(
|
|
7564
|
-
}, w = Number(
|
|
7565
|
-
switch (
|
|
7560
|
+
onTransCode: P,
|
|
7561
|
+
onError: M,
|
|
7562
|
+
onUpdateMember: R,
|
|
7563
|
+
onMaintainNotice: B,
|
|
7564
|
+
onMaintainNoticeMember: A,
|
|
7565
|
+
onTransferInGame: H,
|
|
7566
|
+
onCashRegisterLimit: W,
|
|
7567
|
+
onLineLogin: L
|
|
7568
|
+
} = d.current, D = pe(C, "type", ""), F = {
|
|
7569
|
+
memberInfoUid: pe(C, "member_info_uid", null),
|
|
7570
|
+
data: pe(C, "data", null),
|
|
7571
|
+
memo: pe(C, "memo", null),
|
|
7572
|
+
amount: pe(C, "amount", null),
|
|
7573
|
+
limitAmount: pe(C, "limit_amount", null)
|
|
7574
|
+
}, w = Number(F.memberInfoUid) === c, K = F.data, Q = F.amount, $ = F.limitAmount, J = y.get("mac"), X = pe(C, "data.line_id", null), ie = pe(C, "data.line_name", null), Ue = pe(C, "member_info_uid", null);
|
|
7575
|
+
switch (D) {
|
|
7566
7576
|
case He.DEPOSIT:
|
|
7567
|
-
w && (
|
|
7577
|
+
w && (T(), E?.(F));
|
|
7568
7578
|
break;
|
|
7569
7579
|
case He.TRANS_CODE:
|
|
7570
|
-
|
|
7580
|
+
P?.(F);
|
|
7571
7581
|
break;
|
|
7572
7582
|
case He.ERROR:
|
|
7573
7583
|
if (w) {
|
|
7574
|
-
const ue = pe(
|
|
7575
|
-
|
|
7584
|
+
const ue = pe(C, "open_game_modal", 0) === 1;
|
|
7585
|
+
h(K, {
|
|
7576
7586
|
notificationType: ue ? "gamingNotice" : void 0
|
|
7577
|
-
}),
|
|
7587
|
+
}), M?.(F);
|
|
7578
7588
|
}
|
|
7579
7589
|
break;
|
|
7580
7590
|
case He.UPDATE_MEMBER:
|
|
7581
7591
|
c && (l.invalidateQueries({
|
|
7582
7592
|
queryKey: ["getMemberInfo"]
|
|
7583
|
-
}),
|
|
7593
|
+
}), R?.(F));
|
|
7584
7594
|
break;
|
|
7585
7595
|
case He.MAINTAIN_NOTICE:
|
|
7586
|
-
|
|
7596
|
+
h(K, {
|
|
7587
7597
|
notificationType: "maintainNotice"
|
|
7588
|
-
}),
|
|
7598
|
+
}), B?.(F);
|
|
7589
7599
|
break;
|
|
7590
7600
|
case He.MAINTAIN_NOTICE_MEMBER:
|
|
7591
|
-
w && (
|
|
7601
|
+
w && (h(K), A?.(F), setTimeout(() => {
|
|
7592
7602
|
window.location.reload();
|
|
7593
7603
|
}, 5e4));
|
|
7594
7604
|
break;
|
|
@@ -7598,69 +7608,69 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
7598
7608
|
case He.TRANSFER_IN_GAME:
|
|
7599
7609
|
case He.CHECK_REQUEST:
|
|
7600
7610
|
if (w && _) {
|
|
7601
|
-
const { request_id: ue, amount:
|
|
7602
|
-
|
|
7611
|
+
const { request_id: ue, amount: oe, platform: fe, status: ke } = pe(
|
|
7612
|
+
F,
|
|
7603
7613
|
"data",
|
|
7604
7614
|
{}
|
|
7605
|
-
),
|
|
7615
|
+
), _e = localStorage.getItem(
|
|
7606
7616
|
"transfer_in_game_request_id"
|
|
7607
7617
|
);
|
|
7608
7618
|
if (s) {
|
|
7609
7619
|
localStorage.setItem("transfer_in_game_request_id", ue);
|
|
7610
7620
|
return;
|
|
7611
|
-
} else if (
|
|
7612
|
-
if (
|
|
7613
|
-
|
|
7621
|
+
} else if (_e && _e === ue) {
|
|
7622
|
+
if (ke === "rollback") {
|
|
7623
|
+
T();
|
|
7614
7624
|
return;
|
|
7615
7625
|
}
|
|
7616
7626
|
localStorage.removeItem("transfer_in_game_request_id"), a(), b.dispatch({
|
|
7617
7627
|
type: "ui/openNotificationModal",
|
|
7618
7628
|
payload: {
|
|
7619
7629
|
title: $a[m] || "System Prompt",
|
|
7620
|
-
content: `您於${
|
|
7630
|
+
content: `您於${fe}存入的${oe}元已經處理完成了,請確認遊戲餘額`,
|
|
7621
7631
|
type: "success"
|
|
7622
7632
|
}
|
|
7623
7633
|
});
|
|
7624
7634
|
}
|
|
7625
|
-
|
|
7635
|
+
H?.(F);
|
|
7626
7636
|
}
|
|
7627
7637
|
break;
|
|
7628
7638
|
case He.CASH_REGISTER_LIMIT:
|
|
7629
|
-
|
|
7639
|
+
h(K, {
|
|
7630
7640
|
notificationType: "cashRegisterLimit",
|
|
7631
|
-
amount:
|
|
7632
|
-
limitAmount:
|
|
7633
|
-
}),
|
|
7641
|
+
amount: Q,
|
|
7642
|
+
limitAmount: $
|
|
7643
|
+
}), W?.(F);
|
|
7634
7644
|
break;
|
|
7635
7645
|
case He.UPDATE_ONLY_ONE_MEMBER:
|
|
7636
7646
|
w && (l.invalidateQueries({
|
|
7637
7647
|
queryKey: ["getMemberInfo"]
|
|
7638
|
-
}),
|
|
7648
|
+
}), R?.(F));
|
|
7639
7649
|
break;
|
|
7640
7650
|
case He.GAME_MAINTAIN:
|
|
7641
|
-
|
|
7651
|
+
h(K, {
|
|
7642
7652
|
notificationType: "gameMaintain"
|
|
7643
7653
|
});
|
|
7644
7654
|
break;
|
|
7645
7655
|
case He.LINE_LOGIN:
|
|
7646
|
-
|
|
7647
|
-
line_id:
|
|
7648
|
-
line_name:
|
|
7656
|
+
Ue === J && v({
|
|
7657
|
+
line_id: X,
|
|
7658
|
+
line_name: ie
|
|
7649
7659
|
});
|
|
7650
7660
|
break;
|
|
7651
7661
|
default:
|
|
7652
|
-
console.warn("Unknown socket type:",
|
|
7662
|
+
console.warn("Unknown socket type:", D);
|
|
7653
7663
|
break;
|
|
7654
7664
|
}
|
|
7655
7665
|
}, [
|
|
7656
|
-
|
|
7666
|
+
C,
|
|
7657
7667
|
c,
|
|
7658
7668
|
b,
|
|
7659
7669
|
l,
|
|
7660
7670
|
m,
|
|
7661
|
-
|
|
7671
|
+
h,
|
|
7662
7672
|
s,
|
|
7663
|
-
|
|
7673
|
+
T,
|
|
7664
7674
|
_,
|
|
7665
7675
|
a
|
|
7666
7676
|
]), me(() => () => u.current = !0, []), me(() => {
|
|
@@ -7668,16 +7678,16 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
7668
7678
|
const E = localStorage.getItem(
|
|
7669
7679
|
"transfer_in_game_request_id"
|
|
7670
7680
|
);
|
|
7671
|
-
E && c && s &&
|
|
7681
|
+
E && c && s && S({
|
|
7672
7682
|
type: He.CHECK_REQUEST,
|
|
7673
7683
|
request_id: E,
|
|
7674
7684
|
member_info_uid: c
|
|
7675
7685
|
});
|
|
7676
7686
|
}
|
|
7677
|
-
}, [c, s,
|
|
7678
|
-
sendMessage:
|
|
7679
|
-
sendJsonMessage:
|
|
7680
|
-
readyState:
|
|
7687
|
+
}, [c, s, S, _]), {
|
|
7688
|
+
sendMessage: x,
|
|
7689
|
+
sendJsonMessage: S,
|
|
7690
|
+
readyState: O
|
|
7681
7691
|
// WebSocket 連線狀態
|
|
7682
7692
|
};
|
|
7683
7693
|
}, Ji = () => {
|
|
@@ -7990,7 +8000,7 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
7990
8000
|
inboxListQuery: r,
|
|
7991
8001
|
readInboxMutation: t
|
|
7992
8002
|
};
|
|
7993
|
-
},
|
|
8003
|
+
}, nl = () => {
|
|
7994
8004
|
const { client: e } = re();
|
|
7995
8005
|
return {
|
|
7996
8006
|
newsListApi: V(
|
|
@@ -8047,7 +8057,7 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
8047
8057
|
...e.other
|
|
8048
8058
|
}
|
|
8049
8059
|
], Fm = ({ options: e, formData: r } = {}) => {
|
|
8050
|
-
const { lng: t } = re(), { newsListApi: n } =
|
|
8060
|
+
const { lng: t } = re(), { newsListApi: n } = nl(), p = $e(t);
|
|
8051
8061
|
return ne({
|
|
8052
8062
|
queryKey: ["newsList"],
|
|
8053
8063
|
queryFn: () => {
|
|
@@ -8073,7 +8083,7 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
8073
8083
|
...e
|
|
8074
8084
|
});
|
|
8075
8085
|
}, wm = ({ options: e, formData: r } = {}) => {
|
|
8076
|
-
const { lng: t } = re(), { newsListApi: n } =
|
|
8086
|
+
const { lng: t } = re(), { newsListApi: n } = nl(), p = $e(t);
|
|
8077
8087
|
return ne({
|
|
8078
8088
|
queryKey: ["newsList"],
|
|
8079
8089
|
queryFn: () => {
|
|
@@ -8318,10 +8328,10 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
8318
8328
|
eventTransaction: u,
|
|
8319
8329
|
withdrawTransaction: d
|
|
8320
8330
|
};
|
|
8321
|
-
},
|
|
8331
|
+
}, ll = "3.7.8", as = ll, Ha = typeof Buffer == "function", En = typeof TextDecoder == "function" ? new TextDecoder() : void 0, Nn = typeof TextEncoder == "function" ? new TextEncoder() : void 0, is = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=", Qa = Array.prototype.slice.call(is), ai = ((e) => {
|
|
8322
8332
|
let r = {};
|
|
8323
8333
|
return e.forEach((t, n) => r[t] = n), r;
|
|
8324
|
-
})(Qa), ts = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), Ln = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)),
|
|
8334
|
+
})(Qa), ts = /^(?:[A-Za-z\d+\/]{4})*?(?:[A-Za-z\d+\/]{2}(?:==)?|[A-Za-z\d+\/]{3}=?)?$/, Le = String.fromCharCode.bind(String), Ln = typeof Uint8Array.from == "function" ? Uint8Array.from.bind(Uint8Array) : (e) => new Uint8Array(Array.prototype.slice.call(e, 0)), rl = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (r) => r == "+" ? "-" : "_"), ol = (e) => e.replace(/[^A-Za-z0-9\+\/]/g, ""), sl = (e) => {
|
|
8325
8335
|
let r, t, n, p, g = "";
|
|
8326
8336
|
const b = e.length % 3;
|
|
8327
8337
|
for (let f = 0; f < e.length; ) {
|
|
@@ -8330,12 +8340,12 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
8330
8340
|
r = t << 16 | n << 8 | p, g += Qa[r >> 18 & 63] + Qa[r >> 12 & 63] + Qa[r >> 6 & 63] + Qa[r & 63];
|
|
8331
8341
|
}
|
|
8332
8342
|
return b ? g.slice(0, b - 3) + "===".substring(b) : g;
|
|
8333
|
-
}, bt = typeof btoa == "function" ? (e) => btoa(e) : Ha ? (e) => Buffer.from(e, "binary").toString("base64") :
|
|
8343
|
+
}, bt = typeof btoa == "function" ? (e) => btoa(e) : Ha ? (e) => Buffer.from(e, "binary").toString("base64") : sl, nt = Ha ? (e) => Buffer.from(e).toString("base64") : (e) => {
|
|
8334
8344
|
let t = [];
|
|
8335
8345
|
for (let n = 0, p = e.length; n < p; n += 4096)
|
|
8336
8346
|
t.push(Le.apply(null, e.subarray(n, n + 4096)));
|
|
8337
8347
|
return bt(t.join(""));
|
|
8338
|
-
}, Hi = (e, r = !1) => r ?
|
|
8348
|
+
}, Hi = (e, r = !1) => r ? rl(nt(e)) : nt(e), ns = (e) => {
|
|
8339
8349
|
if (e.length < 2) {
|
|
8340
8350
|
var r = e.charCodeAt(0);
|
|
8341
8351
|
return r < 128 ? e : r < 2048 ? Le(192 | r >>> 6) + Le(128 | r & 63) : Le(224 | r >>> 12 & 15) + Le(128 | r >>> 6 & 63) + Le(128 | r & 63);
|
|
@@ -8343,7 +8353,7 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
8343
8353
|
var r = 65536 + (e.charCodeAt(0) - 55296) * 1024 + (e.charCodeAt(1) - 56320);
|
|
8344
8354
|
return Le(240 | r >>> 18 & 7) + Le(128 | r >>> 12 & 63) + Le(128 | r >>> 6 & 63) + Le(128 | r & 63);
|
|
8345
8355
|
}
|
|
8346
|
-
}, ls = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,
|
|
8356
|
+
}, ls = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, ml = (e) => e.replace(ls, ns), Gn = Ha ? (e) => Buffer.from(e, "utf8").toString("base64") : Nn ? (e) => nt(Nn.encode(e)) : (e) => bt(ml(e)), Ba = (e, r = !1) => r ? rl(Gn(e)) : Gn(e), Mn = (e) => Ba(e, !0), rs = /[\xC0-\xDF][\x80-\xBF]|[\xE0-\xEF][\x80-\xBF]{2}|[\xF0-\xF7][\x80-\xBF]{3}/g, os = (e) => {
|
|
8347
8357
|
switch (e.length) {
|
|
8348
8358
|
case 4:
|
|
8349
8359
|
var r = (7 & e.charCodeAt(0)) << 18 | (63 & e.charCodeAt(1)) << 12 | (63 & e.charCodeAt(2)) << 6 | 63 & e.charCodeAt(3), t = r - 65536;
|
|
@@ -8353,7 +8363,7 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
8353
8363
|
default:
|
|
8354
8364
|
return Le((31 & e.charCodeAt(0)) << 6 | 63 & e.charCodeAt(1));
|
|
8355
8365
|
}
|
|
8356
|
-
},
|
|
8366
|
+
}, ul = (e) => e.replace(rs, os), pl = (e) => {
|
|
8357
8367
|
if (e = e.replace(/\s+/g, ""), !ts.test(e))
|
|
8358
8368
|
throw new TypeError("malformed base64.");
|
|
8359
8369
|
e += "==".slice(2 - (e.length & 3));
|
|
@@ -8361,18 +8371,18 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
8361
8371
|
for (let g = 0; g < e.length; )
|
|
8362
8372
|
r = ai[e.charAt(g++)] << 18 | ai[e.charAt(g++)] << 12 | (t = ai[e.charAt(g++)]) << 6 | (n = ai[e.charAt(g++)]), t === 64 ? p.push(Le(r >> 16 & 255)) : n === 64 ? p.push(Le(r >> 16 & 255, r >> 8 & 255)) : p.push(Le(r >> 16 & 255, r >> 8 & 255, r & 255));
|
|
8363
8373
|
return p.join("");
|
|
8364
|
-
}, Ct = typeof atob == "function" ? (e) => atob(
|
|
8374
|
+
}, Ct = typeof atob == "function" ? (e) => atob(ol(e)) : Ha ? (e) => Buffer.from(e, "base64").toString("binary") : pl, gl = Ha ? (e) => Ln(Buffer.from(e, "base64")) : (e) => Ln(Ct(e).split("").map((r) => r.charCodeAt(0))), dl = (e) => gl(cl(e)), ss = Ha ? (e) => Buffer.from(e, "base64").toString("utf8") : En ? (e) => En.decode(gl(e)) : (e) => ul(Ct(e)), cl = (e) => ol(e.replace(/[-_]/g, (r) => r == "-" ? "+" : "/")), lt = (e) => ss(cl(e)), ms = (e) => {
|
|
8365
8375
|
if (typeof e != "string")
|
|
8366
8376
|
return !1;
|
|
8367
8377
|
const r = e.replace(/\s+/g, "").replace(/={0,2}$/, "");
|
|
8368
8378
|
return !/[^\s0-9a-zA-Z\+/]/.test(r) || !/[^\s0-9a-zA-Z\-_]/.test(r);
|
|
8369
|
-
},
|
|
8379
|
+
}, fl = (e) => ({
|
|
8370
8380
|
value: e,
|
|
8371
8381
|
enumerable: !1,
|
|
8372
8382
|
writable: !0,
|
|
8373
8383
|
configurable: !0
|
|
8374
|
-
}),
|
|
8375
|
-
const e = (r, t) => Object.defineProperty(String.prototype, r,
|
|
8384
|
+
}), _l = function() {
|
|
8385
|
+
const e = (r, t) => Object.defineProperty(String.prototype, r, fl(t));
|
|
8376
8386
|
e("fromBase64", function() {
|
|
8377
8387
|
return lt(this);
|
|
8378
8388
|
}), e("toBase64", function(r) {
|
|
@@ -8382,10 +8392,10 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
8382
8392
|
}), e("toBase64URL", function() {
|
|
8383
8393
|
return Ba(this, !0);
|
|
8384
8394
|
}), e("toUint8Array", function() {
|
|
8385
|
-
return
|
|
8395
|
+
return dl(this);
|
|
8386
8396
|
});
|
|
8387
|
-
},
|
|
8388
|
-
const e = (r, t) => Object.defineProperty(Uint8Array.prototype, r,
|
|
8397
|
+
}, yl = function() {
|
|
8398
|
+
const e = (r, t) => Object.defineProperty(Uint8Array.prototype, r, fl(t));
|
|
8389
8399
|
e("toBase64", function(r) {
|
|
8390
8400
|
return Hi(this, r);
|
|
8391
8401
|
}), e("toBase64URI", function() {
|
|
@@ -8394,27 +8404,27 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
8394
8404
|
return Hi(this, !0);
|
|
8395
8405
|
});
|
|
8396
8406
|
}, us = () => {
|
|
8397
|
-
|
|
8407
|
+
_l(), yl();
|
|
8398
8408
|
}, ps = {
|
|
8399
|
-
version:
|
|
8409
|
+
version: ll,
|
|
8400
8410
|
VERSION: as,
|
|
8401
8411
|
atob: Ct,
|
|
8402
|
-
atobPolyfill:
|
|
8412
|
+
atobPolyfill: pl,
|
|
8403
8413
|
btoa: bt,
|
|
8404
|
-
btoaPolyfill:
|
|
8414
|
+
btoaPolyfill: sl,
|
|
8405
8415
|
fromBase64: lt,
|
|
8406
8416
|
toBase64: Ba,
|
|
8407
8417
|
encode: Ba,
|
|
8408
8418
|
encodeURI: Mn,
|
|
8409
8419
|
encodeURL: Mn,
|
|
8410
|
-
utob:
|
|
8411
|
-
btou:
|
|
8420
|
+
utob: ml,
|
|
8421
|
+
btou: ul,
|
|
8412
8422
|
decode: lt,
|
|
8413
8423
|
isValid: ms,
|
|
8414
8424
|
fromUint8Array: Hi,
|
|
8415
|
-
toUint8Array:
|
|
8416
|
-
extendString:
|
|
8417
|
-
extendUint8Array:
|
|
8425
|
+
toUint8Array: dl,
|
|
8426
|
+
extendString: _l,
|
|
8427
|
+
extendUint8Array: yl,
|
|
8418
8428
|
extendBuiltins: us
|
|
8419
8429
|
}, Hm = (e, r) => {
|
|
8420
8430
|
const { playGameApi: t } = dt();
|
|
@@ -8450,22 +8460,22 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
8450
8460
|
enabled: !!e?.gameCode,
|
|
8451
8461
|
...r
|
|
8452
8462
|
});
|
|
8453
|
-
},
|
|
8463
|
+
}, Ul = () => {
|
|
8454
8464
|
const { client: e } = re(), r = V(async () => await e.get("/rebate"), [e]), t = V(async () => await e.post("/withdraw/rebate"), [e]);
|
|
8455
8465
|
return {
|
|
8456
8466
|
currentRebateApi: r,
|
|
8457
8467
|
receiveRebateApi: t
|
|
8458
8468
|
};
|
|
8459
8469
|
}, gs = ({ options: e } = {}) => {
|
|
8460
|
-
const { currentRebateApi: r } =
|
|
8470
|
+
const { currentRebateApi: r } = Ul();
|
|
8461
8471
|
return ne({
|
|
8462
8472
|
queryKey: ["currentRebate"],
|
|
8463
8473
|
queryFn: () => r(),
|
|
8464
|
-
select: (t) =>
|
|
8474
|
+
select: (t) => Hl(t, ["code", "status"]),
|
|
8465
8475
|
...e
|
|
8466
8476
|
});
|
|
8467
8477
|
}, ds = ({ options: e } = {}) => {
|
|
8468
|
-
const { receiveRebateApi: r } =
|
|
8478
|
+
const { receiveRebateApi: r } = Ul();
|
|
8469
8479
|
return de({
|
|
8470
8480
|
mutationKey: ["receiveRebate"],
|
|
8471
8481
|
mutationFn: async () => r(),
|
|
@@ -8594,14 +8604,14 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
8594
8604
|
expiredRewardsListQuery: p,
|
|
8595
8605
|
historyRewardsListQuery: g
|
|
8596
8606
|
};
|
|
8597
|
-
},
|
|
8607
|
+
}, bl = () => {
|
|
8598
8608
|
const { client: e } = re(), r = V(async () => await e.get("/vip/list"), [e]), t = V(async () => await e.get("/vip/check"), [e]);
|
|
8599
8609
|
return {
|
|
8600
8610
|
vipListApi: r,
|
|
8601
8611
|
vipInfoApi: t
|
|
8602
8612
|
};
|
|
8603
8613
|
}, Im = ({ options: e } = {}) => {
|
|
8604
|
-
const { store: r } = re(), t = r?.getState()?.isMemberInfo || r?.getState()?.member?.member || {}, { vipInfoApi: n } =
|
|
8614
|
+
const { store: r } = re(), t = r?.getState()?.isMemberInfo || r?.getState()?.member?.member || {}, { vipInfoApi: n } = bl();
|
|
8605
8615
|
return ne({
|
|
8606
8616
|
queryKey: ["vipInfo"],
|
|
8607
8617
|
queryFn: async () => n(),
|
|
@@ -8616,7 +8626,7 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
8616
8626
|
...e
|
|
8617
8627
|
});
|
|
8618
8628
|
}, bs = ({ options: e } = {}) => {
|
|
8619
|
-
const { store: r } = re(), t = r?.getState()?.isWalletCurrency || r?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: n } =
|
|
8629
|
+
const { store: r } = re(), t = r?.getState()?.isWalletCurrency || r?.getState()?.currency?.currentCurrency || "TWD", { vipListApi: n } = bl();
|
|
8620
8630
|
return ne({
|
|
8621
8631
|
queryKey: ["vipList"],
|
|
8622
8632
|
queryFn: async () => {
|
|
@@ -8657,10 +8667,10 @@ const ko = /* @__PURE__ */ ut(To), xo = ({
|
|
|
8657
8667
|
}) => ({
|
|
8658
8668
|
vipList: bs({ options: e.vipList })
|
|
8659
8669
|
});
|
|
8660
|
-
var Cs = Object.create,
|
|
8661
|
-
if (r && typeof r == "object" || typeof r == "function") for (let p of hs(r)) !ks.call(e, p) && p !== t &&
|
|
8670
|
+
var Cs = Object.create, Cl = Object.defineProperty, vs = Object.getOwnPropertyDescriptor, hs = Object.getOwnPropertyNames, Ts = Object.getPrototypeOf, ks = Object.prototype.hasOwnProperty, xs = (e, r) => () => (r || e((r = { exports: {} }).exports, r), r.exports), Ss = (e, r, t, n) => {
|
|
8671
|
+
if (r && typeof r == "object" || typeof r == "function") for (let p of hs(r)) !ks.call(e, p) && p !== t && Cl(e, p, { get: () => r[p], enumerable: !(n = vs(r, p)) || n.enumerable });
|
|
8662
8672
|
return e;
|
|
8663
|
-
}, Ds = (e, r, t) => (t = e != null ? Cs(Ts(e)) : {}, Ss(!e || !e.__esModule ?
|
|
8673
|
+
}, Ds = (e, r, t) => (t = e != null ? Cs(Ts(e)) : {}, Ss(!e || !e.__esModule ? Cl(t, "default", { value: e, enumerable: !0 }) : t, e)), Es = xs((e, r) => {
|
|
8664
8674
|
(function(t, n) {
|
|
8665
8675
|
typeof e == "object" && typeof r < "u" ? n(e) : typeof define == "function" && define.amd ? define(["exports"], n) : (t = typeof globalThis < "u" ? globalThis : t || self, n(t.fastUniqueNumbers = {}));
|
|
8666
8676
|
})(e, function(t) {
|
|
@@ -8746,13 +8756,13 @@ var Fa = {}, Ls = class {
|
|
|
8746
8756
|
function Ms(e = 0) {
|
|
8747
8757
|
return new Promise((r) => qe.setTimeout(r, e));
|
|
8748
8758
|
}
|
|
8749
|
-
function
|
|
8759
|
+
function vl() {
|
|
8750
8760
|
return Math.random().toString(36).substring(2);
|
|
8751
8761
|
}
|
|
8752
8762
|
var Rs = class {
|
|
8753
8763
|
options;
|
|
8754
8764
|
channel;
|
|
8755
|
-
token =
|
|
8765
|
+
token = vl();
|
|
8756
8766
|
isLeader = !1;
|
|
8757
8767
|
isDead = !1;
|
|
8758
8768
|
isApplying = !1;
|
|
@@ -8833,7 +8843,7 @@ var Rs = class {
|
|
|
8833
8843
|
channel;
|
|
8834
8844
|
options;
|
|
8835
8845
|
elector;
|
|
8836
|
-
token =
|
|
8846
|
+
token = vl();
|
|
8837
8847
|
registry = /* @__PURE__ */ new Map();
|
|
8838
8848
|
allIdle = !1;
|
|
8839
8849
|
isLastActive = !1;
|
|
@@ -8950,22 +8960,22 @@ function it(e, r) {
|
|
|
8950
8960
|
if (!(p - t < r)) return t = p, e(...n);
|
|
8951
8961
|
};
|
|
8952
8962
|
}
|
|
8953
|
-
var
|
|
8963
|
+
var Te = () => Date.now(), wa = 2147483647;
|
|
8954
8964
|
function Os({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle: t = 0, element: n = Fs, events: p = ws, timers: g = void 0, immediateEvents: b = [], onPresenceChange: f = () => {
|
|
8955
8965
|
}, onPrompt: l = () => {
|
|
8956
8966
|
}, onIdle: i = () => {
|
|
8957
8967
|
}, onActive: a = () => {
|
|
8958
8968
|
}, onAction: s = () => {
|
|
8959
8969
|
}, onMessage: o = () => {
|
|
8960
|
-
}, debounce: m = 0, throttle: u = 0, eventsThrottle: d = 200, startOnMount: c = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: U = !1, name:
|
|
8961
|
-
let
|
|
8970
|
+
}, debounce: m = 0, throttle: u = 0, eventsThrottle: d = 200, startOnMount: c = !0, startManually: y = !1, stopOnIdle: _ = !1, crossTab: U = !1, name: v = "idle-timer", syncTimers: T = 0, leaderElection: x = !1, disabled: S = !1 } = {}) {
|
|
8971
|
+
let G = ee(Te()), O = ee(Te()), C = ee(null), h = ee(null), N = ee(0), E = ee(0), P = ee(0), M = ee(0), R = ee(!1), B = ee(!1), A = ee(!1), H = ee(!0), W = ee(!1), L = ee(null), D = ee(null), F = ee(e), w = ee(0);
|
|
8962
8972
|
me(() => {
|
|
8963
8973
|
if (r && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), t && r) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
|
|
8964
8974
|
if (e >= wa) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${wa}.`);
|
|
8965
8975
|
if (r >= wa) throw new Error(`❌ The value for the promptTimeout property must fit in a 32 bit signed integer, ${wa}.`);
|
|
8966
8976
|
if (t >= wa) throw new Error(`❌ The value for the promptBeforeIdle property must fit in a 32 bit signed integer, ${wa}.`);
|
|
8967
8977
|
if (t >= e) throw new Error(`❌ The value for the promptBeforeIdle property must be less than the timeout property, ${e}.`);
|
|
8968
|
-
if (t ? (
|
|
8978
|
+
if (t ? (F.current = e - t, w.current = t) : (F.current = e, w.current = r), !H.current) {
|
|
8969
8979
|
if (y || S) return;
|
|
8970
8980
|
R.current && (oe.current(null, Se), D.current && D.current.active()), Je();
|
|
8971
8981
|
}
|
|
@@ -8982,13 +8992,13 @@ function Os({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
8982
8992
|
me(() => {
|
|
8983
8993
|
ie.current = f;
|
|
8984
8994
|
}, [f]);
|
|
8985
|
-
let
|
|
8995
|
+
let Ue = ee(l);
|
|
8986
8996
|
me(() => {
|
|
8987
|
-
|
|
8997
|
+
Ue.current = l;
|
|
8988
8998
|
}, [l]);
|
|
8989
|
-
let
|
|
8999
|
+
let ue = ee(i);
|
|
8990
9000
|
me(() => {
|
|
8991
|
-
|
|
9001
|
+
ue.current = i;
|
|
8992
9002
|
}, [i]);
|
|
8993
9003
|
let oe = ee(a);
|
|
8994
9004
|
me(() => {
|
|
@@ -8998,11 +9008,11 @@ function Os({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
8998
9008
|
me(() => {
|
|
8999
9009
|
fe.current = s;
|
|
9000
9010
|
}, [s]);
|
|
9001
|
-
let
|
|
9011
|
+
let ke = ee(o);
|
|
9002
9012
|
me(() => {
|
|
9003
|
-
|
|
9013
|
+
ke.current = o;
|
|
9004
9014
|
}, [o]);
|
|
9005
|
-
let
|
|
9015
|
+
let _e = Oa(() => {
|
|
9006
9016
|
let I = (De, aa) => fe.current(De, aa);
|
|
9007
9017
|
return m > 0 ? As(I, m) : u > 0 ? it(I, u) : I;
|
|
9008
9018
|
}, [u, m]), je = ee();
|
|
@@ -9011,40 +9021,40 @@ function Os({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9011
9021
|
D.current.active();
|
|
9012
9022
|
}, T));
|
|
9013
9023
|
}, [U, T]);
|
|
9014
|
-
let
|
|
9015
|
-
|
|
9024
|
+
let Ce = () => {
|
|
9025
|
+
L.current !== null && (qe.clearTimeout(L.current), L.current = null);
|
|
9016
9026
|
}, Ge = (I, De = !0) => {
|
|
9017
|
-
|
|
9027
|
+
Ce(), L.current = qe.setTimeout(Oe, I || F.current), De && (h.current = Te());
|
|
9018
9028
|
}, Ye = (I) => {
|
|
9019
|
-
!B.current && !R.current && (
|
|
9029
|
+
!B.current && !R.current && (Ue.current(I, Se), ie.current({ type: "active", prompted: !0 }, Se)), M.current = 0, P.current = Te(), B.current = !0, Ge(w.current, !1);
|
|
9020
9030
|
}, Me = () => {
|
|
9021
|
-
|
|
9022
|
-
},
|
|
9023
|
-
|
|
9031
|
+
Ce(), R.current || (ue.current(null, Se), ie.current({ type: "idle" }, Se)), R.current = !0, C.current = Te(), K.current ? Re() : B.current && (P.current = 0, B.current = !1);
|
|
9032
|
+
}, ve = (I) => {
|
|
9033
|
+
Ce(), (R.current || B.current) && (oe.current(I, Se), ie.current({ type: "active", prompted: !1 }, Se)), B.current = !1, P.current = 0, R.current = !1, N.current += Te() - C.current, E.current += Te() - C.current, xe(), Ge();
|
|
9024
9034
|
}, Oe = (I) => {
|
|
9025
9035
|
if (!R.current) {
|
|
9026
|
-
|
|
9027
|
-
let De =
|
|
9028
|
-
if (!(
|
|
9036
|
+
_e.cancel && _e.cancel();
|
|
9037
|
+
let De = Te() - h.current;
|
|
9038
|
+
if (!(F.current + w.current < De) && w.current > 0 && !B.current) {
|
|
9029
9039
|
D.current ? D.current.prompt() : Ye(I);
|
|
9030
9040
|
return;
|
|
9031
9041
|
}
|
|
9032
9042
|
D.current ? D.current.idle() : Me();
|
|
9033
9043
|
return;
|
|
9034
9044
|
}
|
|
9035
|
-
D.current ? D.current.active() :
|
|
9045
|
+
D.current ? D.current.active() : ve(I);
|
|
9036
9046
|
}, Xe = (I) => {
|
|
9037
|
-
if (!c && !h.current && (h.current =
|
|
9038
|
-
if (
|
|
9047
|
+
if (!c && !h.current && (h.current = Te(), oe.current(null, Se)), _e(I, Se), B.current) return;
|
|
9048
|
+
if (Ce(), !R.current && Q.current.includes(I.type)) {
|
|
9039
9049
|
Oe(I);
|
|
9040
9050
|
return;
|
|
9041
9051
|
}
|
|
9042
|
-
let De =
|
|
9043
|
-
if (R.current && !_ || !R.current && De >=
|
|
9052
|
+
let De = Te() - h.current;
|
|
9053
|
+
if (R.current && !_ || !R.current && De >= F.current) {
|
|
9044
9054
|
Oe(I);
|
|
9045
9055
|
return;
|
|
9046
9056
|
}
|
|
9047
|
-
|
|
9057
|
+
A.current = !1, M.current = 0, P.current = 0, Ge(), U && T && je.current();
|
|
9048
9058
|
}, ea = ee(Xe);
|
|
9049
9059
|
me(() => {
|
|
9050
9060
|
let I = W.current;
|
|
@@ -9058,38 +9068,38 @@ function Os({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9058
9068
|
ua && $.current && (W.current || I) && (J.current.forEach((De) => {
|
|
9059
9069
|
$.current.removeEventListener(De, ea.current, { capture: !0 });
|
|
9060
9070
|
}), W.current = !1);
|
|
9061
|
-
}, Je = V((I) => X.current ? !1 : (
|
|
9062
|
-
if (
|
|
9063
|
-
let I =
|
|
9071
|
+
}, Je = V((I) => X.current ? !1 : (Ce(), xe(), R.current = !1, B.current = !1, A.current = !1, M.current = 0, P.current = 0, D.current && !I && D.current.start(), Ge(), !0), [L, R, X, F, D]), ra = V((I) => X.current ? !1 : (Ce(), xe(), O.current = Te(), N.current += Te() - C.current, E.current += Te() - C.current, N.current = 0, R.current = !1, B.current = !1, A.current = !1, M.current = 0, P.current = 0, D.current && !I && D.current.reset(), y || Ge(), !0), [L, R, F, y, X, D]), ga = V((I) => X.current ? !1 : (Ce(), xe(), (R.current || B.current) && ve(), R.current = !1, B.current = !1, A.current = !1, M.current = 0, P.current = 0, O.current = Te(), D.current && !I && D.current.activate(), Ge(), !0), [L, R, B, X, F, D]), ze = V((I = !1) => X.current || A.current ? !1 : (M.current = Ua(), A.current = !0, Re(), Ce(), D.current && !I && D.current.pause(), !0), [L, X, D]), Ke = V((I = !1) => X.current || !A.current ? !1 : (A.current = !1, B.current || xe(), R.current || Ge(M.current), P.current && (P.current = Te()), D.current && !I && D.current.resume(), !0), [L, F, X, M, D]), Wa = V((I, De) => (D.current ? (De && ke.current(I, Se), D.current.message(I)) : De && ke.current(I, Se), !0), [o]), Ea = V(() => R.current, [R]), Na = V(() => B.current, [B]), za = V(() => D.current ? D.current.isLeader : null, [D]), Ia = V(() => D.current ? D.current.isLastActive : null, [D]), da = V(() => D.current ? D.current.token : null, [D]), Ua = V(() => {
|
|
9072
|
+
if (A.current) return M.current;
|
|
9073
|
+
let I = M.current ? M.current : w.current + F.current, De = h.current ? Te() - h.current : 0, aa = Math.floor(I - De);
|
|
9064
9074
|
return aa < 0 ? 0 : Math.abs(aa);
|
|
9065
|
-
}, [
|
|
9075
|
+
}, [F, w, B, M, h]), Ve = V(() => Math.round(Te() - O.current), [O]), ca = V(() => Math.round(Te() - G.current), [G]), fa = V(() => C.current ? new Date(C.current) : null, [C]), La = V(() => h.current ? new Date(h.current) : null, [h]), Ga = V(() => R.current ? Math.round(Te() - C.current + N.current) : Math.round(N.current), [C, N]), ba = V(() => R.current ? Math.round(Te() - C.current + E.current) : Math.round(E.current), [C, E]), Ma = V(() => {
|
|
9066
9076
|
let I = Math.round(Ve() - Ga());
|
|
9067
9077
|
return I >= 0 ? I : 0;
|
|
9068
|
-
}, [
|
|
9078
|
+
}, [C, N]), Ra = V(() => {
|
|
9069
9079
|
let I = Math.round(ca() - ba());
|
|
9070
9080
|
return I >= 0 ? I : 0;
|
|
9071
|
-
}, [
|
|
9081
|
+
}, [C, N]);
|
|
9072
9082
|
me(() => {
|
|
9073
9083
|
if (m > 0 && u > 0) throw new Error("❌ onAction can either be throttled or debounced, not both.");
|
|
9074
9084
|
g && Ns(g);
|
|
9075
9085
|
let I = () => {
|
|
9076
|
-
D.current && D.current.close(),
|
|
9086
|
+
D.current && D.current.close(), _e.cancel && _e.cancel(), Ce(), Re(!0);
|
|
9077
9087
|
};
|
|
9078
9088
|
return ua && window.addEventListener("beforeunload", I), () => {
|
|
9079
|
-
ua && window.removeEventListener("beforeunload", I), D.current && D.current.close(),
|
|
9089
|
+
ua && window.removeEventListener("beforeunload", I), D.current && D.current.close(), _e.cancel && _e.cancel(), Ce(), Re(!0);
|
|
9080
9090
|
};
|
|
9081
9091
|
}, []), me(() => {
|
|
9082
|
-
D.current && D.current.close(), U ? D.current = new Ps({ channelName:
|
|
9092
|
+
D.current && D.current.close(), U ? D.current = new Ps({ channelName: v, leaderElection: x, onPrompt: () => {
|
|
9083
9093
|
Ye();
|
|
9084
9094
|
}, onIdle: () => {
|
|
9085
9095
|
Me();
|
|
9086
9096
|
}, onActive: () => {
|
|
9087
|
-
|
|
9097
|
+
ve();
|
|
9088
9098
|
}, onMessage: (I) => {
|
|
9089
|
-
|
|
9099
|
+
ke.current(I, Se);
|
|
9090
9100
|
}, start: Je, reset: ra, activate: ga, pause: ze, resume: Ke }) : D.current = null;
|
|
9091
|
-
}, [U,
|
|
9092
|
-
H.current || (
|
|
9101
|
+
}, [U, v, x, Ue, ue, oe, ke, Je, ra, ze, Ke]), me(() => {
|
|
9102
|
+
H.current || (Ce(), Re(!0)), !(y || S) && (c ? Je() : xe());
|
|
9093
9103
|
}, [y, c, S, H]), me(() => {
|
|
9094
9104
|
if (!H.current) {
|
|
9095
9105
|
let I = [...(/* @__PURE__ */ new Set([...p, ...b])).values()];
|
|
@@ -9102,15 +9112,15 @@ function Os({ timeout: e = 1e3 * 60 * 20, promptTimeout: r = 0, promptBeforeIdle
|
|
|
9102
9112
|
let Se = { message: Wa, start: Je, reset: ra, activate: ga, pause: ze, resume: Ke, isIdle: Ea, isPrompted: Na, isLeader: za, isLastActiveTab: Ia, getTabId: da, getRemainingTime: Ua, getElapsedTime: Ve, getTotalElapsedTime: ca, getLastIdleTime: fa, getLastActiveTime: La, getIdleTime: Ga, getTotalIdleTime: ba, getActiveTime: Ma, getTotalActiveTime: Ra, setOnPresenceChange: (I) => {
|
|
9103
9113
|
f = I, ie.current = I;
|
|
9104
9114
|
}, setOnPrompt: (I) => {
|
|
9105
|
-
l = I,
|
|
9115
|
+
l = I, Ue.current = I;
|
|
9106
9116
|
}, setOnIdle: (I) => {
|
|
9107
|
-
i = I,
|
|
9117
|
+
i = I, ue.current = I;
|
|
9108
9118
|
}, setOnActive: (I) => {
|
|
9109
9119
|
a = I, oe.current = I;
|
|
9110
9120
|
}, setOnAction: (I) => {
|
|
9111
9121
|
s = I, fe.current = I;
|
|
9112
9122
|
}, setOnMessage: (I) => {
|
|
9113
|
-
o = I,
|
|
9123
|
+
o = I, ke.current = I;
|
|
9114
9124
|
} };
|
|
9115
9125
|
return Se;
|
|
9116
9126
|
}
|
|
@@ -9178,7 +9188,7 @@ const Zm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Os({
|
|
|
9178
9188
|
// 中文名稱
|
|
9179
9189
|
gameNameVi: U,
|
|
9180
9190
|
// 越南名稱
|
|
9181
|
-
gameNameTw:
|
|
9191
|
+
gameNameTw: v
|
|
9182
9192
|
// 繁體中文名稱
|
|
9183
9193
|
} = e, T = e?.[`gameName${Rn(t)}`], x = `${Dt}/${Pn}/en/${i}/${ht(n, / /g, "_")}.webp`, S = `${Dt}/${Pn}/en/${i}/${ht(n, / /g, "_")}.gif`;
|
|
9184
9194
|
return {
|
|
@@ -9199,12 +9209,12 @@ const Zm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Os({
|
|
|
9199
9209
|
gameNameEn: y,
|
|
9200
9210
|
gameNameZh: _,
|
|
9201
9211
|
gameNameVi: U,
|
|
9202
|
-
gameNameTw:
|
|
9212
|
+
gameNameTw: v,
|
|
9203
9213
|
gameName: T,
|
|
9204
9214
|
gameImageUrl: x,
|
|
9205
9215
|
gameImageUrlAnimated: S
|
|
9206
9216
|
};
|
|
9207
|
-
}, Hs = (e, r = !1) =>
|
|
9217
|
+
}, Hs = (e, r = !1) => Wl([
|
|
9208
9218
|
"EVO",
|
|
9209
9219
|
"IMSPRIBE",
|
|
9210
9220
|
"SABA",
|
|
@@ -9263,7 +9273,7 @@ const Zm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Os({
|
|
|
9263
9273
|
allGameTypes: n = [],
|
|
9264
9274
|
allPlatforms: p = []
|
|
9265
9275
|
}) => !ta(e) || !ta(r) ? {} : Ee(t) ? {} : e.reduce((g, b) => {
|
|
9266
|
-
const f =
|
|
9276
|
+
const f = $l({
|
|
9267
9277
|
gameTypeName: b,
|
|
9268
9278
|
platforms: r,
|
|
9269
9279
|
gameList: t,
|
|
@@ -9281,7 +9291,7 @@ const Zm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Os({
|
|
|
9281
9291
|
const f = Qn(t, b);
|
|
9282
9292
|
if (!f) return g;
|
|
9283
9293
|
const l = p[f] || [], i = r.reduce((a, s) => {
|
|
9284
|
-
const o =
|
|
9294
|
+
const o = jl({
|
|
9285
9295
|
platformName: s,
|
|
9286
9296
|
gamesOfType: l,
|
|
9287
9297
|
allPlatforms: n
|
|
@@ -9321,21 +9331,21 @@ const Zm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Os({
|
|
|
9321
9331
|
gameList: e,
|
|
9322
9332
|
allGameTypes: t,
|
|
9323
9333
|
allPlatforms: r
|
|
9324
|
-
}), _ = We(r, (
|
|
9325
|
-
const
|
|
9334
|
+
}), _ = We(r, (G) => {
|
|
9335
|
+
const O = `${pa}/${Kn}/${G.platformEnum}.png`;
|
|
9326
9336
|
return {
|
|
9327
|
-
...
|
|
9328
|
-
platformImageUrl:
|
|
9337
|
+
...G,
|
|
9338
|
+
platformImageUrl: O
|
|
9329
9339
|
};
|
|
9330
|
-
}), U = Zs(s, n),
|
|
9331
|
-
(
|
|
9332
|
-
const h = Vi(
|
|
9333
|
-
return
|
|
9340
|
+
}), U = Zs(s, n), v = Ks(y), T = qs(v), x = Wn(y).reduce(
|
|
9341
|
+
(G, [O, C]) => {
|
|
9342
|
+
const h = Vi(zl(C));
|
|
9343
|
+
return G[O] = h, G;
|
|
9334
9344
|
},
|
|
9335
9345
|
{}
|
|
9336
|
-
), S = Tt(y).reduce((
|
|
9337
|
-
const
|
|
9338
|
-
return
|
|
9346
|
+
), S = Tt(y).reduce((G, O) => {
|
|
9347
|
+
const C = Tt(y[O]);
|
|
9348
|
+
return G[O] = C, G;
|
|
9339
9349
|
}, {});
|
|
9340
9350
|
return {
|
|
9341
9351
|
platform: {
|
|
@@ -9361,7 +9371,7 @@ const Zm = ({ onIdle: e, onActive: r, onAction: t, timeout: n = 6e5 }) => Os({
|
|
|
9361
9371
|
},
|
|
9362
9372
|
categorized: {
|
|
9363
9373
|
bySubType: { ...U, MyFavorite: c },
|
|
9364
|
-
byPlatform:
|
|
9374
|
+
byPlatform: v,
|
|
9365
9375
|
byPlatformAndCategory: T,
|
|
9366
9376
|
byGameTypeAndPlatform: y,
|
|
9367
9377
|
byGameType: x
|
|
@@ -35982,7 +35992,7 @@ function $m({
|
|
|
35982
35992
|
() => Et({ ...p, formData: !0 }),
|
|
35983
35993
|
[p]
|
|
35984
35994
|
), f = Oa(
|
|
35985
|
-
() => new
|
|
35995
|
+
() => new Al({
|
|
35986
35996
|
defaultOptions: {
|
|
35987
35997
|
queries: {
|
|
35988
35998
|
refetchOnWindowFocus: !1,
|
|
@@ -35992,7 +36002,7 @@ function $m({
|
|
|
35992
36002
|
}),
|
|
35993
36003
|
[]
|
|
35994
36004
|
), l = n || f;
|
|
35995
|
-
return /* @__PURE__ */ Ae.jsx(
|
|
36005
|
+
return /* @__PURE__ */ Ae.jsx(Ol, { client: l, children: /* @__PURE__ */ Ae.jsx(zn.Provider, { value: { client: g, formDataClient: b, ...p }, children: /* @__PURE__ */ Ae.jsx(ql, { children: /* @__PURE__ */ Ae.jsx(
|
|
35996
36006
|
Xs,
|
|
35997
36007
|
{
|
|
35998
36008
|
autoFetch: r,
|
|
@@ -36073,7 +36083,7 @@ function rt(e, r) {
|
|
|
36073
36083
|
var wn = rt(em, { path: "/" });
|
|
36074
36084
|
const jm = ({ onFunction: e = () => {
|
|
36075
36085
|
}, buttonProps: r = {} } = {}) => {
|
|
36076
|
-
const { lineConfig: t } = re(), n = ee(!1), p = pe(t, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), f = g.get("trans_code"), l = g.get("line_id"), i = g.get("line_name"), a = g.get("invite_code"), { mutate: s, isPending: o } =
|
|
36086
|
+
const { lineConfig: t } = re(), n = ee(!1), p = pe(t, "liffId", ""), g = new URLSearchParams(window.location.search), b = g.get("line_login"), f = g.get("trans_code"), l = g.get("line_id"), i = g.get("line_name"), a = g.get("invite_code"), { mutate: s, isPending: o } = tl({
|
|
36077
36087
|
options: {
|
|
36078
36088
|
onSuccess: (u) => {
|
|
36079
36089
|
e(u);
|
|
@@ -36111,20 +36121,20 @@ const jm = ({ onFunction: e = () => {
|
|
|
36111
36121
|
}
|
|
36112
36122
|
) : null;
|
|
36113
36123
|
};
|
|
36114
|
-
var am = Object.defineProperty, Wi = Object.getOwnPropertySymbols,
|
|
36124
|
+
var am = Object.defineProperty, Wi = Object.getOwnPropertySymbols, hl = Object.prototype.hasOwnProperty, Tl = Object.prototype.propertyIsEnumerable, An = (e, r, t) => r in e ? am(e, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[r] = t, ot = (e, r) => {
|
|
36115
36125
|
for (var t in r || (r = {}))
|
|
36116
|
-
|
|
36126
|
+
hl.call(r, t) && An(e, t, r[t]);
|
|
36117
36127
|
if (Wi)
|
|
36118
36128
|
for (var t of Wi(r))
|
|
36119
|
-
|
|
36129
|
+
Tl.call(r, t) && An(e, t, r[t]);
|
|
36120
36130
|
return e;
|
|
36121
36131
|
}, st = (e, r) => {
|
|
36122
36132
|
var t = {};
|
|
36123
36133
|
for (var n in e)
|
|
36124
|
-
|
|
36134
|
+
hl.call(e, n) && r.indexOf(n) < 0 && (t[n] = e[n]);
|
|
36125
36135
|
if (e != null && Wi)
|
|
36126
36136
|
for (var n of Wi(e))
|
|
36127
|
-
r.indexOf(n) < 0 &&
|
|
36137
|
+
r.indexOf(n) < 0 && Tl.call(e, n) && (t[n] = e[n]);
|
|
36128
36138
|
return t;
|
|
36129
36139
|
};
|
|
36130
36140
|
var xa;
|
|
@@ -36191,9 +36201,9 @@ var xa;
|
|
|
36191
36201
|
throw new RangeError("Invalid value");
|
|
36192
36202
|
let u, d;
|
|
36193
36203
|
for (u = a; ; u++) {
|
|
36194
|
-
const U = j.getNumDataCodewords(u, i) * 8,
|
|
36195
|
-
if (
|
|
36196
|
-
d =
|
|
36204
|
+
const U = j.getNumDataCodewords(u, i) * 8, v = b.getTotalBits(l, u);
|
|
36205
|
+
if (v <= U) {
|
|
36206
|
+
d = v;
|
|
36197
36207
|
break;
|
|
36198
36208
|
}
|
|
36199
36209
|
if (u >= s)
|
|
@@ -36204,8 +36214,8 @@ var xa;
|
|
|
36204
36214
|
let c = [];
|
|
36205
36215
|
for (const U of l) {
|
|
36206
36216
|
t(U.mode.modeBits, 4, c), t(U.numChars, U.mode.numCharCountBits(u), c);
|
|
36207
|
-
for (const
|
|
36208
|
-
c.push(
|
|
36217
|
+
for (const v of U.getData())
|
|
36218
|
+
c.push(v);
|
|
36209
36219
|
}
|
|
36210
36220
|
p(c.length == d);
|
|
36211
36221
|
const y = j.getNumDataCodewords(u, i) * 8;
|
|
@@ -36215,7 +36225,7 @@ var xa;
|
|
|
36215
36225
|
let _ = [];
|
|
36216
36226
|
for (; _.length * 8 < c.length; )
|
|
36217
36227
|
_.push(0);
|
|
36218
|
-
return c.forEach((U,
|
|
36228
|
+
return c.forEach((U, v) => _[v >>> 3] |= U << 7 - (v & 7)), new j(u, i, _, o);
|
|
36219
36229
|
}
|
|
36220
36230
|
/*-- Accessor methods --*/
|
|
36221
36231
|
// Returns the color of the module (pixel) at the given coordinates, which is false
|
|
@@ -36306,16 +36316,16 @@ var xa;
|
|
|
36306
36316
|
const s = j.NUM_ERROR_CORRECTION_BLOCKS[a.ordinal][i], o = j.ECC_CODEWORDS_PER_BLOCK[a.ordinal][i], m = Math.floor(j.getNumRawDataModules(i) / 8), u = s - m % s, d = Math.floor(m / s);
|
|
36307
36317
|
let c = [];
|
|
36308
36318
|
const y = j.reedSolomonComputeDivisor(o);
|
|
36309
|
-
for (let U = 0,
|
|
36310
|
-
let T = l.slice(
|
|
36311
|
-
|
|
36319
|
+
for (let U = 0, v = 0; U < s; U++) {
|
|
36320
|
+
let T = l.slice(v, v + d - o + (U < u ? 0 : 1));
|
|
36321
|
+
v += T.length;
|
|
36312
36322
|
const x = j.reedSolomonComputeRemainder(T, y);
|
|
36313
36323
|
U < u && T.push(0), c.push(T.concat(x));
|
|
36314
36324
|
}
|
|
36315
36325
|
let _ = [];
|
|
36316
36326
|
for (let U = 0; U < c[0].length; U++)
|
|
36317
|
-
c.forEach((
|
|
36318
|
-
(U != d - o || T >= u) && _.push(
|
|
36327
|
+
c.forEach((v, T) => {
|
|
36328
|
+
(U != d - o || T >= u) && _.push(v[U]);
|
|
36319
36329
|
});
|
|
36320
36330
|
return p(_.length == m), _;
|
|
36321
36331
|
}
|
|
@@ -36527,7 +36537,7 @@ var xa;
|
|
|
36527
36537
|
if (!f)
|
|
36528
36538
|
throw new Error("Assertion error");
|
|
36529
36539
|
}
|
|
36530
|
-
const g = class
|
|
36540
|
+
const g = class ye {
|
|
36531
36541
|
/*-- Constructor (low level) and fields --*/
|
|
36532
36542
|
// Creates a new QR Code segment with the given attributes and data.
|
|
36533
36543
|
// The character count (numChars) must agree with the mode and the bit buffer length,
|
|
@@ -36545,36 +36555,36 @@ var xa;
|
|
|
36545
36555
|
let i = [];
|
|
36546
36556
|
for (const a of l)
|
|
36547
36557
|
t(a, 8, i);
|
|
36548
|
-
return new
|
|
36558
|
+
return new ye(ye.Mode.BYTE, l.length, i);
|
|
36549
36559
|
}
|
|
36550
36560
|
// Returns a segment representing the given string of decimal digits encoded in numeric mode.
|
|
36551
36561
|
static makeNumeric(l) {
|
|
36552
|
-
if (!
|
|
36562
|
+
if (!ye.isNumeric(l))
|
|
36553
36563
|
throw new RangeError("String contains non-numeric characters");
|
|
36554
36564
|
let i = [];
|
|
36555
36565
|
for (let a = 0; a < l.length; ) {
|
|
36556
36566
|
const s = Math.min(l.length - a, 3);
|
|
36557
36567
|
t(parseInt(l.substring(a, a + s), 10), s * 3 + 1, i), a += s;
|
|
36558
36568
|
}
|
|
36559
|
-
return new
|
|
36569
|
+
return new ye(ye.Mode.NUMERIC, l.length, i);
|
|
36560
36570
|
}
|
|
36561
36571
|
// Returns a segment representing the given text string encoded in alphanumeric mode.
|
|
36562
36572
|
// The characters allowed are: 0 to 9, A to Z (uppercase only), space,
|
|
36563
36573
|
// dollar, percent, asterisk, plus, hyphen, period, slash, colon.
|
|
36564
36574
|
static makeAlphanumeric(l) {
|
|
36565
|
-
if (!
|
|
36575
|
+
if (!ye.isAlphanumeric(l))
|
|
36566
36576
|
throw new RangeError("String contains unencodable characters in alphanumeric mode");
|
|
36567
36577
|
let i = [], a;
|
|
36568
36578
|
for (a = 0; a + 2 <= l.length; a += 2) {
|
|
36569
|
-
let s =
|
|
36570
|
-
s +=
|
|
36579
|
+
let s = ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(a)) * 45;
|
|
36580
|
+
s += ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(a + 1)), t(s, 11, i);
|
|
36571
36581
|
}
|
|
36572
|
-
return a < l.length && t(
|
|
36582
|
+
return a < l.length && t(ye.ALPHANUMERIC_CHARSET.indexOf(l.charAt(a)), 6, i), new ye(ye.Mode.ALPHANUMERIC, l.length, i);
|
|
36573
36583
|
}
|
|
36574
36584
|
// Returns a new mutable list of zero or more segments to represent the given Unicode text string.
|
|
36575
36585
|
// The result may use various segment modes and switch modes to optimize the length of the bit stream.
|
|
36576
36586
|
static makeSegments(l) {
|
|
36577
|
-
return l == "" ? [] :
|
|
36587
|
+
return l == "" ? [] : ye.isNumeric(l) ? [ye.makeNumeric(l)] : ye.isAlphanumeric(l) ? [ye.makeAlphanumeric(l)] : [ye.makeBytes(ye.toUtf8ByteArray(l))];
|
|
36578
36588
|
}
|
|
36579
36589
|
// Returns a segment representing an Extended Channel Interpretation
|
|
36580
36590
|
// (ECI) designator with the given assignment value.
|
|
@@ -36590,18 +36600,18 @@ var xa;
|
|
|
36590
36600
|
t(6, 3, i), t(l, 21, i);
|
|
36591
36601
|
else
|
|
36592
36602
|
throw new RangeError("ECI assignment value out of range");
|
|
36593
|
-
return new
|
|
36603
|
+
return new ye(ye.Mode.ECI, 0, i);
|
|
36594
36604
|
}
|
|
36595
36605
|
// Tests whether the given string can be encoded as a segment in numeric mode.
|
|
36596
36606
|
// A string is encodable iff each character is in the range 0 to 9.
|
|
36597
36607
|
static isNumeric(l) {
|
|
36598
|
-
return
|
|
36608
|
+
return ye.NUMERIC_REGEX.test(l);
|
|
36599
36609
|
}
|
|
36600
36610
|
// Tests whether the given string can be encoded as a segment in alphanumeric mode.
|
|
36601
36611
|
// A string is encodable iff each character is in the following set: 0 to 9, A to Z
|
|
36602
36612
|
// (uppercase only), space, dollar, percent, asterisk, plus, hyphen, period, slash, colon.
|
|
36603
36613
|
static isAlphanumeric(l) {
|
|
36604
|
-
return
|
|
36614
|
+
return ye.ALPHANUMERIC_REGEX.test(l);
|
|
36605
36615
|
}
|
|
36606
36616
|
/*-- Methods --*/
|
|
36607
36617
|
// Returns a new copy of the data bits of this segment.
|
|
@@ -36668,8 +36678,8 @@ var im = {
|
|
|
36668
36678
|
M: Aa.QrCode.Ecc.MEDIUM,
|
|
36669
36679
|
Q: Aa.QrCode.Ecc.QUARTILE,
|
|
36670
36680
|
H: Aa.QrCode.Ecc.HIGH
|
|
36671
|
-
},
|
|
36672
|
-
function
|
|
36681
|
+
}, kl = 128, xl = "L", Sl = "#FFFFFF", Dl = "#000000", El = !1, Nl = 1, tm = 4, nm = 0, lm = 0.1;
|
|
36682
|
+
function Ll(e, r = 0) {
|
|
36673
36683
|
const t = [];
|
|
36674
36684
|
return e.forEach(function(n, p) {
|
|
36675
36685
|
let g = null;
|
|
@@ -36692,7 +36702,7 @@ function Nl(e, r = 0) {
|
|
|
36692
36702
|
});
|
|
36693
36703
|
}), t.join("");
|
|
36694
36704
|
}
|
|
36695
|
-
function
|
|
36705
|
+
function Gl(e, r) {
|
|
36696
36706
|
return e.slice().map((t, n) => n < r.y || n >= r.y + r.h ? t : t.map((p, g) => g < r.x || g >= r.x + r.w ? p : !1));
|
|
36697
36707
|
}
|
|
36698
36708
|
function rm(e, r, t, n) {
|
|
@@ -36710,7 +36720,7 @@ function rm(e, r, t, n) {
|
|
|
36710
36720
|
function om(e, r) {
|
|
36711
36721
|
return r != null ? Math.max(Math.floor(r), 0) : e ? tm : nm;
|
|
36712
36722
|
}
|
|
36713
|
-
function
|
|
36723
|
+
function Ml({
|
|
36714
36724
|
value: e,
|
|
36715
36725
|
level: r,
|
|
36716
36726
|
minVersion: t,
|
|
@@ -36765,12 +36775,12 @@ var sm = (function() {
|
|
|
36765
36775
|
function(r, t) {
|
|
36766
36776
|
const n = r, {
|
|
36767
36777
|
value: p,
|
|
36768
|
-
size: g =
|
|
36769
|
-
level: b =
|
|
36770
|
-
bgColor: f =
|
|
36771
|
-
fgColor: l =
|
|
36772
|
-
includeMargin: i =
|
|
36773
|
-
minVersion: a =
|
|
36778
|
+
size: g = kl,
|
|
36779
|
+
level: b = xl,
|
|
36780
|
+
bgColor: f = Sl,
|
|
36781
|
+
fgColor: l = Dl,
|
|
36782
|
+
includeMargin: i = El,
|
|
36783
|
+
minVersion: a = Nl,
|
|
36774
36784
|
boostLevel: s,
|
|
36775
36785
|
marginSize: o,
|
|
36776
36786
|
imageSettings: m
|
|
@@ -36785,12 +36795,12 @@ var sm = (function() {
|
|
|
36785
36795
|
"boostLevel",
|
|
36786
36796
|
"marginSize",
|
|
36787
36797
|
"imageSettings"
|
|
36788
|
-
]), { style: c } = d, y = st(d, ["style"]), _ = m?.src, U = ge.useRef(null),
|
|
36798
|
+
]), { style: c } = d, y = st(d, ["style"]), _ = m?.src, U = ge.useRef(null), v = ge.useRef(null), T = ge.useCallback(
|
|
36789
36799
|
(P) => {
|
|
36790
36800
|
U.current = P, typeof t == "function" ? t(P) : t && (t.current = P);
|
|
36791
36801
|
},
|
|
36792
36802
|
[t]
|
|
36793
|
-
), [x, S] = ge.useState(!1), { margin:
|
|
36803
|
+
), [x, S] = ge.useState(!1), { margin: G, cells: O, numCells: C, calculatedImageSettings: h } = Ml({
|
|
36794
36804
|
value: p,
|
|
36795
36805
|
level: b,
|
|
36796
36806
|
minVersion: a,
|
|
@@ -36802,26 +36812,26 @@ var sm = (function() {
|
|
|
36802
36812
|
});
|
|
36803
36813
|
ge.useEffect(() => {
|
|
36804
36814
|
if (U.current != null) {
|
|
36805
|
-
const P = U.current,
|
|
36806
|
-
if (!
|
|
36815
|
+
const P = U.current, M = P.getContext("2d");
|
|
36816
|
+
if (!M)
|
|
36807
36817
|
return;
|
|
36808
|
-
let R =
|
|
36809
|
-
const B =
|
|
36810
|
-
|
|
36811
|
-
|
|
36818
|
+
let R = O;
|
|
36819
|
+
const B = v.current, A = h != null && B !== null && B.complete && B.naturalHeight !== 0 && B.naturalWidth !== 0;
|
|
36820
|
+
A && h.excavation != null && (R = Gl(
|
|
36821
|
+
O,
|
|
36812
36822
|
h.excavation
|
|
36813
36823
|
));
|
|
36814
36824
|
const H = window.devicePixelRatio || 1;
|
|
36815
36825
|
P.height = P.width = g * H;
|
|
36816
|
-
const W = g /
|
|
36817
|
-
|
|
36818
|
-
|
|
36819
|
-
|
|
36826
|
+
const W = g / C * H;
|
|
36827
|
+
M.scale(W, W), M.fillStyle = f, M.fillRect(0, 0, C, C), M.fillStyle = l, sm ? M.fill(new Path2D(Ll(R, G))) : O.forEach(function(L, D) {
|
|
36828
|
+
L.forEach(function(F, w) {
|
|
36829
|
+
F && M.fillRect(w + G, D + G, 1, 1);
|
|
36820
36830
|
});
|
|
36821
|
-
}), h && (
|
|
36831
|
+
}), h && (M.globalAlpha = h.opacity), A && M.drawImage(
|
|
36822
36832
|
B,
|
|
36823
|
-
h.x +
|
|
36824
|
-
h.y +
|
|
36833
|
+
h.x + G,
|
|
36834
|
+
h.y + G,
|
|
36825
36835
|
h.w,
|
|
36826
36836
|
h.h
|
|
36827
36837
|
);
|
|
@@ -36829,9 +36839,9 @@ var sm = (function() {
|
|
|
36829
36839
|
}), ge.useEffect(() => {
|
|
36830
36840
|
S(!1);
|
|
36831
36841
|
}, [_]);
|
|
36832
|
-
const
|
|
36833
|
-
let
|
|
36834
|
-
return _ != null && (
|
|
36842
|
+
const N = ot({ height: g, width: g }, c);
|
|
36843
|
+
let E = null;
|
|
36844
|
+
return _ != null && (E = /* @__PURE__ */ ge.createElement(
|
|
36835
36845
|
"img",
|
|
36836
36846
|
{
|
|
36837
36847
|
src: _,
|
|
@@ -36840,32 +36850,32 @@ var sm = (function() {
|
|
|
36840
36850
|
onLoad: () => {
|
|
36841
36851
|
S(!0);
|
|
36842
36852
|
},
|
|
36843
|
-
ref:
|
|
36853
|
+
ref: v,
|
|
36844
36854
|
crossOrigin: h?.crossOrigin
|
|
36845
36855
|
}
|
|
36846
36856
|
)), /* @__PURE__ */ ge.createElement(ge.Fragment, null, /* @__PURE__ */ ge.createElement(
|
|
36847
36857
|
"canvas",
|
|
36848
36858
|
ot({
|
|
36849
|
-
style:
|
|
36859
|
+
style: N,
|
|
36850
36860
|
height: g,
|
|
36851
36861
|
width: g,
|
|
36852
36862
|
ref: T,
|
|
36853
36863
|
role: "img"
|
|
36854
36864
|
}, y)
|
|
36855
|
-
),
|
|
36865
|
+
), E);
|
|
36856
36866
|
}
|
|
36857
36867
|
);
|
|
36858
36868
|
mm.displayName = "QRCodeCanvas";
|
|
36859
|
-
var
|
|
36869
|
+
var Rl = ge.forwardRef(
|
|
36860
36870
|
function(r, t) {
|
|
36861
36871
|
const n = r, {
|
|
36862
36872
|
value: p,
|
|
36863
|
-
size: g =
|
|
36864
|
-
level: b =
|
|
36865
|
-
bgColor: f =
|
|
36866
|
-
fgColor: l =
|
|
36867
|
-
includeMargin: i =
|
|
36868
|
-
minVersion: a =
|
|
36873
|
+
size: g = kl,
|
|
36874
|
+
level: b = xl,
|
|
36875
|
+
bgColor: f = Sl,
|
|
36876
|
+
fgColor: l = Dl,
|
|
36877
|
+
includeMargin: i = El,
|
|
36878
|
+
minVersion: a = Nl,
|
|
36869
36879
|
boostLevel: s,
|
|
36870
36880
|
title: o,
|
|
36871
36881
|
marginSize: m,
|
|
@@ -36882,7 +36892,7 @@ var Ml = ge.forwardRef(
|
|
|
36882
36892
|
"title",
|
|
36883
36893
|
"marginSize",
|
|
36884
36894
|
"imageSettings"
|
|
36885
|
-
]), { margin: c, cells: y, numCells: _, calculatedImageSettings: U } =
|
|
36895
|
+
]), { margin: c, cells: y, numCells: _, calculatedImageSettings: U } = Ml({
|
|
36886
36896
|
value: p,
|
|
36887
36897
|
level: b,
|
|
36888
36898
|
minVersion: a,
|
|
@@ -36892,8 +36902,8 @@ var Ml = ge.forwardRef(
|
|
|
36892
36902
|
imageSettings: u,
|
|
36893
36903
|
size: g
|
|
36894
36904
|
});
|
|
36895
|
-
let
|
|
36896
|
-
u != null && U != null && (U.excavation != null && (
|
|
36905
|
+
let v = y, T = null;
|
|
36906
|
+
u != null && U != null && (U.excavation != null && (v = Gl(
|
|
36897
36907
|
y,
|
|
36898
36908
|
U.excavation
|
|
36899
36909
|
)), T = /* @__PURE__ */ ge.createElement(
|
|
@@ -36909,7 +36919,7 @@ var Ml = ge.forwardRef(
|
|
|
36909
36919
|
crossOrigin: U.crossOrigin
|
|
36910
36920
|
}
|
|
36911
36921
|
));
|
|
36912
|
-
const x =
|
|
36922
|
+
const x = Ll(v, c);
|
|
36913
36923
|
return /* @__PURE__ */ ge.createElement(
|
|
36914
36924
|
"svg",
|
|
36915
36925
|
ot({
|
|
@@ -36933,7 +36943,7 @@ var Ml = ge.forwardRef(
|
|
|
36933
36943
|
);
|
|
36934
36944
|
}
|
|
36935
36945
|
);
|
|
36936
|
-
|
|
36946
|
+
Rl.displayName = "QRCodeSVG";
|
|
36937
36947
|
const um = {
|
|
36938
36948
|
position: "fixed",
|
|
36939
36949
|
top: 0,
|
|
@@ -37006,7 +37016,7 @@ const um = {
|
|
|
37006
37016
|
boxSizing: "border-box",
|
|
37007
37017
|
color: "black"
|
|
37008
37018
|
},
|
|
37009
|
-
children: o ? "Loading..." : /* @__PURE__ */ Ae.jsx(
|
|
37019
|
+
children: o ? "Loading..." : /* @__PURE__ */ Ae.jsx(Rl, { width: "100%", height: "100%", value: m })
|
|
37010
37020
|
}
|
|
37011
37021
|
),
|
|
37012
37022
|
!o && /* @__PURE__ */ Ae.jsx(
|
|
@@ -37026,11 +37036,11 @@ export {
|
|
|
37026
37036
|
eu as LineQrCode,
|
|
37027
37037
|
Ja as STATUS_TYPES,
|
|
37028
37038
|
In as StatusContext,
|
|
37029
|
-
|
|
37039
|
+
ql as StatusProvider,
|
|
37030
37040
|
Js as buildMultiTypes,
|
|
37031
37041
|
qm as buildMultiTypesWithSubTypes,
|
|
37032
|
-
|
|
37033
|
-
|
|
37042
|
+
jl as buildSinglePlatformWithSubTypes,
|
|
37043
|
+
$l as buildSingleType,
|
|
37034
37044
|
Zs as categorizeGames,
|
|
37035
37045
|
$e as convertLanguageCode,
|
|
37036
37046
|
ym as createLogoutHandler,
|
|
@@ -37046,7 +37056,7 @@ export {
|
|
|
37046
37056
|
Um as formatNumber,
|
|
37047
37057
|
Ks as groupGamesByPlatform,
|
|
37048
37058
|
qs as groupGamesByPlatformAndSubType,
|
|
37049
|
-
|
|
37059
|
+
Ql as groupGamesBySubType,
|
|
37050
37060
|
Hs as handleDarkImage,
|
|
37051
37061
|
Ys as initMockWindowData,
|
|
37052
37062
|
Qs as processGameInfo,
|
|
@@ -37055,8 +37065,8 @@ export {
|
|
|
37055
37065
|
re as useApiContext,
|
|
37056
37066
|
bm as useBalanceGetter,
|
|
37057
37067
|
hm as useBet,
|
|
37058
|
-
|
|
37059
|
-
|
|
37068
|
+
co as useBetRecord,
|
|
37069
|
+
fo as useBetRecordDetail,
|
|
37060
37070
|
zo as useCheckCurrentEventProgress,
|
|
37061
37071
|
Io as useCheckEventStatus,
|
|
37062
37072
|
km as useCheckPlayerWager,
|
|
@@ -37084,10 +37094,10 @@ export {
|
|
|
37084
37094
|
Vo as useInboxList,
|
|
37085
37095
|
vm as useInitializeWithToken,
|
|
37086
37096
|
Om as useInvoiceAction,
|
|
37087
|
-
|
|
37097
|
+
tl as useLineLogin,
|
|
37088
37098
|
Oo as useLineLogin2,
|
|
37089
|
-
|
|
37090
|
-
|
|
37099
|
+
Do as useLogin,
|
|
37100
|
+
Eo as useLogout,
|
|
37091
37101
|
Sm as useMemberTransfer,
|
|
37092
37102
|
wm as useNewsDetail,
|
|
37093
37103
|
Fm as useNewsList,
|
|
@@ -37101,20 +37111,20 @@ export {
|
|
|
37101
37111
|
Am as useRedeemCodeDeposit,
|
|
37102
37112
|
Nm as useRedeemEventReward,
|
|
37103
37113
|
fs as useRedeemReward,
|
|
37104
|
-
|
|
37105
|
-
|
|
37114
|
+
Mo as useResetUserPassword,
|
|
37115
|
+
Po as useResetUserTransactionPassword,
|
|
37106
37116
|
zm as useRewards,
|
|
37107
37117
|
cs as useRewardsList,
|
|
37108
|
-
|
|
37109
|
-
|
|
37118
|
+
Ro as useSetUserTransactionPassword,
|
|
37119
|
+
No as useSignUp,
|
|
37110
37120
|
Vn as useStatus,
|
|
37111
|
-
|
|
37112
|
-
|
|
37121
|
+
Lo as useToggleFavoriteGame,
|
|
37122
|
+
Ao as useTransferInGame,
|
|
37113
37123
|
_s as useUnUsedRewardsList,
|
|
37114
|
-
|
|
37124
|
+
Go as useUpdateUserInfo,
|
|
37115
37125
|
Dm as useUser,
|
|
37116
|
-
|
|
37117
|
-
|
|
37126
|
+
wo as useUserBindCard,
|
|
37127
|
+
Fo as useUserRebate,
|
|
37118
37128
|
Vm as useVip,
|
|
37119
37129
|
Im as useVipInfo,
|
|
37120
37130
|
bs as useVipList,
|