@obb871001/api-integration-sdk 1.0.439 → 1.0.440
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +5 -5
- package/dist/index.js +210 -196
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import ve, { createContext as ni, useContext as Ei, useState as je, useMemo as ka, useCallback as M, useRef as
|
|
1
|
+
import ve, { createContext as ni, useContext as Ei, useState as je, useMemo as ka, useCallback as M, useRef as me, useEffect as fe } from "react";
|
|
2
2
|
import { useQueries as sr, useQuery as Y, useQueryClient as ya, useMutation as ee, useInfiniteQuery as sl, QueryClient as ml, QueryClientProvider as ul } from "@tanstack/react-query";
|
|
3
3
|
import pl from "axios";
|
|
4
4
|
import { get as j, replace as ot, isEmpty as Fe, find as Be, entries as mr, forEach as gl, omit as ur, map as Ee, isArray as ta, toLower as Ii, keyBy as dl, includes as cl, isObject as ri, flatMap as li, values as fl, keys as zi } from "lodash";
|
|
@@ -268,17 +268,17 @@ function Ul() {
|
|
|
268
268
|
}
|
|
269
269
|
} catch (Ze) {
|
|
270
270
|
if (Ze && ne && typeof Ze.stack == "string") {
|
|
271
|
-
for (var
|
|
271
|
+
for (var ge = Ze.stack.split(`
|
|
272
272
|
`), Ve = ne.stack.split(`
|
|
273
|
-
`), Se =
|
|
273
|
+
`), Se = ge.length - 1, De = Ve.length - 1; Se >= 1 && De >= 0 && ge[Se] !== Ve[De]; )
|
|
274
274
|
De--;
|
|
275
275
|
for (; Se >= 1 && De >= 0; Se--, De--)
|
|
276
|
-
if (
|
|
276
|
+
if (ge[Se] !== Ve[De]) {
|
|
277
277
|
if (Se !== 1 || De !== 1)
|
|
278
278
|
do
|
|
279
|
-
if (Se--, De--, De < 0 ||
|
|
279
|
+
if (Se--, De--, De < 0 || ge[Se] !== Ve[De]) {
|
|
280
280
|
var aa = `
|
|
281
|
-
` +
|
|
281
|
+
` + ge[Se].replace(" at new ", " at ");
|
|
282
282
|
return x.displayName && aa.includes("<anonymous>") && (aa = aa.replace("<anonymous>", x.displayName)), typeof x == "function" && Z.set(x, aa), aa;
|
|
283
283
|
}
|
|
284
284
|
while (Se >= 1 && De >= 0);
|
|
@@ -294,7 +294,7 @@ function Ul() {
|
|
|
294
294
|
function q(x, V, $) {
|
|
295
295
|
return X(x, !1);
|
|
296
296
|
}
|
|
297
|
-
function
|
|
297
|
+
function pe(x) {
|
|
298
298
|
var V = x.prototype;
|
|
299
299
|
return !!(V && V.isReactComponent);
|
|
300
300
|
}
|
|
@@ -302,7 +302,7 @@ function Ul() {
|
|
|
302
302
|
if (x == null)
|
|
303
303
|
return "";
|
|
304
304
|
if (typeof x == "function")
|
|
305
|
-
return X(x,
|
|
305
|
+
return X(x, pe(x));
|
|
306
306
|
if (typeof x == "string")
|
|
307
307
|
return O(x);
|
|
308
308
|
switch (x) {
|
|
@@ -340,22 +340,22 @@ function Ul() {
|
|
|
340
340
|
var Ue = Function.call.bind(be);
|
|
341
341
|
for (var ce in x)
|
|
342
342
|
if (Ue(x, ce)) {
|
|
343
|
-
var
|
|
343
|
+
var ge = void 0;
|
|
344
344
|
try {
|
|
345
345
|
if (typeof x[ce] != "function") {
|
|
346
346
|
var Ve = Error((ne || "React class") + ": " + $ + " type `" + ce + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof x[ce] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
347
347
|
throw Ve.name = "Invariant Violation", Ve;
|
|
348
348
|
}
|
|
349
|
-
|
|
349
|
+
ge = x[ce](V, ce, ne, $, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
350
350
|
} catch (Se) {
|
|
351
|
-
|
|
351
|
+
ge = Se;
|
|
352
352
|
}
|
|
353
|
-
|
|
353
|
+
ge && !(ge instanceof Error) && (Ge(_e), c("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", ne || "React class", $, ce, typeof ge), Ge(null)), ge instanceof Error && !(ge.message in Ye) && (Ye[ge.message] = !0, Ge(_e), c("Failed %s type: %s", $, ge.message), Ge(null));
|
|
354
354
|
}
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
var Me = Array.isArray;
|
|
358
|
-
function
|
|
358
|
+
function oe(x) {
|
|
359
359
|
return Me(x);
|
|
360
360
|
}
|
|
361
361
|
function ke(x) {
|
|
@@ -426,7 +426,7 @@ function Ul() {
|
|
|
426
426
|
}
|
|
427
427
|
}
|
|
428
428
|
var Xa = function(x, V, $, ne, _e, Ue, ce) {
|
|
429
|
-
var
|
|
429
|
+
var ge = {
|
|
430
430
|
// This tag allows us to uniquely identify this as a React Element
|
|
431
431
|
$$typeof: t,
|
|
432
432
|
// Built-in properties that belong on the element
|
|
@@ -437,27 +437,27 @@ function Ul() {
|
|
|
437
437
|
// Record the component responsible for creating this element.
|
|
438
438
|
_owner: Ue
|
|
439
439
|
};
|
|
440
|
-
return
|
|
440
|
+
return ge._store = {}, Object.defineProperty(ge._store, "validated", {
|
|
441
441
|
configurable: !1,
|
|
442
442
|
enumerable: !1,
|
|
443
443
|
writable: !0,
|
|
444
444
|
value: !1
|
|
445
|
-
}), Object.defineProperty(
|
|
445
|
+
}), Object.defineProperty(ge, "_self", {
|
|
446
446
|
configurable: !1,
|
|
447
447
|
enumerable: !1,
|
|
448
448
|
writable: !1,
|
|
449
449
|
value: ne
|
|
450
|
-
}), Object.defineProperty(
|
|
450
|
+
}), Object.defineProperty(ge, "_source", {
|
|
451
451
|
configurable: !1,
|
|
452
452
|
enumerable: !1,
|
|
453
453
|
writable: !1,
|
|
454
454
|
value: _e
|
|
455
|
-
}), Object.freeze && (Object.freeze(
|
|
455
|
+
}), Object.freeze && (Object.freeze(ge.props), Object.freeze(ge)), ge;
|
|
456
456
|
};
|
|
457
457
|
function et(x, V, $, ne, _e) {
|
|
458
458
|
{
|
|
459
|
-
var Ue, ce = {},
|
|
460
|
-
$ !== void 0 && (xe($),
|
|
459
|
+
var Ue, ce = {}, ge = null, Ve = null;
|
|
460
|
+
$ !== void 0 && (xe($), ge = "" + $), na(V) && (xe(V.key), ge = "" + V.key), Ke(V) && (Ve = V.ref, Ya(V, _e));
|
|
461
461
|
for (Ue in V)
|
|
462
462
|
be.call(V, Ue) && !ia.hasOwnProperty(Ue) && (ce[Ue] = V[Ue]);
|
|
463
463
|
if (x && x.defaultProps) {
|
|
@@ -465,11 +465,11 @@ function Ul() {
|
|
|
465
465
|
for (Ue in Se)
|
|
466
466
|
ce[Ue] === void 0 && (ce[Ue] = Se[Ue]);
|
|
467
467
|
}
|
|
468
|
-
if (
|
|
468
|
+
if (ge || Ve) {
|
|
469
469
|
var De = typeof x == "function" ? x.displayName || x.name || "Unknown" : x;
|
|
470
|
-
|
|
470
|
+
ge && Fa(ce, De), Ve && Aa(ce, De);
|
|
471
471
|
}
|
|
472
|
-
return Xa(x,
|
|
472
|
+
return Xa(x, ge, Ve, _e, ne, We.current, ce);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
475
|
var Ua = _.ReactCurrentOwner, Sa = _.ReactDebugCurrentFrame;
|
|
@@ -530,7 +530,7 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
530
530
|
{
|
|
531
531
|
if (typeof x != "object")
|
|
532
532
|
return;
|
|
533
|
-
if (
|
|
533
|
+
if (oe(x))
|
|
534
534
|
for (var $ = 0; $ < x.length; $++) {
|
|
535
535
|
var ne = x[$];
|
|
536
536
|
va(ne) && Wa(ne, V);
|
|
@@ -587,12 +587,12 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
587
587
|
{
|
|
588
588
|
var ce = k(x);
|
|
589
589
|
if (!ce) {
|
|
590
|
-
var
|
|
591
|
-
(x === void 0 || typeof x == "object" && x !== null && Object.keys(x).length === 0) && (
|
|
590
|
+
var ge = "";
|
|
591
|
+
(x === void 0 || typeof x == "object" && x !== null && Object.keys(x).length === 0) && (ge += " 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 Ve = Ba();
|
|
593
|
-
Ve ?
|
|
593
|
+
Ve ? ge += Ve : ge += Oa();
|
|
594
594
|
var Se;
|
|
595
|
-
x === null ? Se = "null" :
|
|
595
|
+
x === null ? Se = "null" : oe(x) ? Se = "array" : x !== void 0 && x.$$typeof === t ? (Se = "<" + (A(x.type) || "Unknown") + " />", ge = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof x, c("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, ge);
|
|
596
596
|
}
|
|
597
597
|
var De = et(x, V, $, _e, Ue);
|
|
598
598
|
if (De == null)
|
|
@@ -601,7 +601,7 @@ Check the top-level render call using <` + $ + ">.");
|
|
|
601
601
|
var aa = V.children;
|
|
602
602
|
if (aa !== void 0)
|
|
603
603
|
if (ne)
|
|
604
|
-
if (
|
|
604
|
+
if (oe(aa)) {
|
|
605
605
|
for (var Ia = 0; Ia < aa.length; Ia++)
|
|
606
606
|
Re(aa[Ia], x);
|
|
607
607
|
Object.freeze && Object.freeze(aa);
|
|
@@ -900,7 +900,7 @@ const Pl = {}, wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
900
900
|
default: Pl
|
|
901
901
|
}, Symbol.toStringTag, { value: "Module" })), Fl = /* @__PURE__ */ yl(wl);
|
|
902
902
|
var Al = Ct.exports, qi;
|
|
903
|
-
function
|
|
903
|
+
function de() {
|
|
904
904
|
return qi || (qi = 1, (function(e, t) {
|
|
905
905
|
(function(a, n) {
|
|
906
906
|
e.exports = n();
|
|
@@ -1404,7 +1404,7 @@ var vt = { exports: {} }, Ol = vt.exports, $i;
|
|
|
1404
1404
|
function oi() {
|
|
1405
1405
|
return $i || ($i = 1, (function(e, t) {
|
|
1406
1406
|
(function(a, n) {
|
|
1407
|
-
e.exports = n(
|
|
1407
|
+
e.exports = n(de());
|
|
1408
1408
|
})(Ol, function(a) {
|
|
1409
1409
|
return (function(n) {
|
|
1410
1410
|
var s = a, u = s.lib, b = u.Base, d = u.WordArray, l = s.x64 = {};
|
|
@@ -1634,7 +1634,7 @@ var ht = { exports: {} }, Bl = ht.exports, ji;
|
|
|
1634
1634
|
function Hl() {
|
|
1635
1635
|
return ji || (ji = 1, (function(e, t) {
|
|
1636
1636
|
(function(a, n) {
|
|
1637
|
-
e.exports = n(
|
|
1637
|
+
e.exports = n(de());
|
|
1638
1638
|
})(Bl, function(a) {
|
|
1639
1639
|
return (function() {
|
|
1640
1640
|
if (typeof ArrayBuffer == "function") {
|
|
@@ -1656,7 +1656,7 @@ var Tt = { exports: {} }, Wl = Tt.exports, Qi;
|
|
|
1656
1656
|
function Il() {
|
|
1657
1657
|
return Qi || (Qi = 1, (function(e, t) {
|
|
1658
1658
|
(function(a, n) {
|
|
1659
|
-
e.exports = n(
|
|
1659
|
+
e.exports = n(de());
|
|
1660
1660
|
})(Wl, function(a) {
|
|
1661
1661
|
return (function() {
|
|
1662
1662
|
var n = a, s = n.lib, u = s.WordArray, b = n.enc;
|
|
@@ -1750,7 +1750,7 @@ var kt = { exports: {} }, zl = kt.exports, Yi;
|
|
|
1750
1750
|
function Ra() {
|
|
1751
1751
|
return Yi || (Yi = 1, (function(e, t) {
|
|
1752
1752
|
(function(a, n) {
|
|
1753
|
-
e.exports = n(
|
|
1753
|
+
e.exports = n(de());
|
|
1754
1754
|
})(zl, function(a) {
|
|
1755
1755
|
return (function() {
|
|
1756
1756
|
var n = a, s = n.lib, u = s.WordArray, b = n.enc;
|
|
@@ -1825,7 +1825,7 @@ var xt = { exports: {} }, Vl = xt.exports, Xi;
|
|
|
1825
1825
|
function Jl() {
|
|
1826
1826
|
return Xi || (Xi = 1, (function(e, t) {
|
|
1827
1827
|
(function(a, n) {
|
|
1828
|
-
e.exports = n(
|
|
1828
|
+
e.exports = n(de());
|
|
1829
1829
|
})(Vl, function(a) {
|
|
1830
1830
|
return (function() {
|
|
1831
1831
|
var n = a, s = n.lib, u = s.WordArray, b = n.enc;
|
|
@@ -1907,7 +1907,7 @@ var St = { exports: {} }, Zl = St.exports, en;
|
|
|
1907
1907
|
function Pa() {
|
|
1908
1908
|
return en || (en = 1, (function(e, t) {
|
|
1909
1909
|
(function(a, n) {
|
|
1910
|
-
e.exports = n(
|
|
1910
|
+
e.exports = n(de());
|
|
1911
1911
|
})(Zl, function(a) {
|
|
1912
1912
|
return (function(n) {
|
|
1913
1913
|
var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.algo, i = [];
|
|
@@ -1973,7 +1973,7 @@ var Et = { exports: {} }, Kl = Et.exports, an;
|
|
|
1973
1973
|
function hr() {
|
|
1974
1974
|
return an || (an = 1, (function(e, t) {
|
|
1975
1975
|
(function(a, n) {
|
|
1976
|
-
e.exports = n(
|
|
1976
|
+
e.exports = n(de());
|
|
1977
1977
|
})(Kl, function(a) {
|
|
1978
1978
|
return (function() {
|
|
1979
1979
|
var n = a, s = n.lib, u = s.WordArray, b = s.Hasher, d = n.algo, l = [], i = d.SHA1 = b.extend({
|
|
@@ -2017,7 +2017,7 @@ var Dt = { exports: {} }, ql = Dt.exports, tn;
|
|
|
2017
2017
|
function Ni() {
|
|
2018
2018
|
return tn || (tn = 1, (function(e, t) {
|
|
2019
2019
|
(function(a, n) {
|
|
2020
|
-
e.exports = n(
|
|
2020
|
+
e.exports = n(de());
|
|
2021
2021
|
})(ql, function(a) {
|
|
2022
2022
|
return (function(n) {
|
|
2023
2023
|
var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.algo, i = [], r = [];
|
|
@@ -2069,7 +2069,7 @@ var Nt = { exports: {} }, $l = Nt.exports, nn;
|
|
|
2069
2069
|
function jl() {
|
|
2070
2070
|
return nn || (nn = 1, (function(e, t) {
|
|
2071
2071
|
(function(a, n, s) {
|
|
2072
|
-
e.exports = n(
|
|
2072
|
+
e.exports = n(de(), Ni());
|
|
2073
2073
|
})($l, function(a) {
|
|
2074
2074
|
return (function() {
|
|
2075
2075
|
var n = a, s = n.lib, u = s.WordArray, b = n.algo, d = b.SHA256, l = b.SHA224 = d.extend({
|
|
@@ -2099,7 +2099,7 @@ var Lt = { exports: {} }, Ql = Lt.exports, rn;
|
|
|
2099
2099
|
function Tr() {
|
|
2100
2100
|
return rn || (rn = 1, (function(e, t) {
|
|
2101
2101
|
(function(a, n, s) {
|
|
2102
|
-
e.exports = n(
|
|
2102
|
+
e.exports = n(de(), oi());
|
|
2103
2103
|
})(Ql, function(a) {
|
|
2104
2104
|
return (function() {
|
|
2105
2105
|
var n = a, s = n.lib, u = s.Hasher, b = n.x64, d = b.Word, l = b.WordArray, i = n.algo;
|
|
@@ -2206,18 +2206,18 @@ function Tr() {
|
|
|
2206
2206
|
]);
|
|
2207
2207
|
},
|
|
2208
2208
|
_doProcessBlock: function(p, f) {
|
|
2209
|
-
for (var y = this._hash.words, _ = y[0], c = y[1], U = y[2], C = y[3], v = y[4], T = y[5], h = y[6], D = y[7], H = _.high, k = _.low, S = c.high, F = c.low, A = U.high, R = U.low, L = C.high, G = C.low, I = v.high, W = v.low, z = T.high, B = T.low, N = h.high, E = h.low, w = D.high, P = D.low, ae = H, te = k, le = S, O = F, J = A, Z = R, Q = L, X = G, q = I,
|
|
2210
|
-
var
|
|
2209
|
+
for (var y = this._hash.words, _ = y[0], c = y[1], U = y[2], C = y[3], v = y[4], T = y[5], h = y[6], D = y[7], H = _.high, k = _.low, S = c.high, F = c.low, A = U.high, R = U.low, L = C.high, G = C.low, I = v.high, W = v.low, z = T.high, B = T.low, N = h.high, E = h.low, w = D.high, P = D.low, ae = H, te = k, le = S, O = F, J = A, Z = R, Q = L, X = G, q = I, pe = W, Ce = z, be = B, Ye = N, he = E, Ge = w, Xe = P, Me = 0; Me < 80; Me++) {
|
|
2210
|
+
var oe, ke, He = m[Me];
|
|
2211
2211
|
if (Me < 16)
|
|
2212
|
-
ke = He.high = p[f + Me * 2] | 0,
|
|
2212
|
+
ke = He.high = p[f + Me * 2] | 0, oe = He.low = p[f + Me * 2 + 1] | 0;
|
|
2213
2213
|
else {
|
|
2214
2214
|
var ze = m[Me - 15], xe = ze.high, We = ze.low, ia = (xe >>> 1 | We << 31) ^ (xe >>> 8 | We << 24) ^ xe >>> 7, ua = (We >>> 1 | xe << 31) ^ (We >>> 8 | xe << 24) ^ (We >>> 7 | xe << 25), ba = m[Me - 2], Ke = ba.high, na = ba.low, Ya = (Ke >>> 19 | na << 13) ^ (Ke << 3 | na >>> 29) ^ Ke >>> 6, Fa = (na >>> 19 | Ke << 13) ^ (na << 3 | Ke >>> 29) ^ (na >>> 6 | Ke << 26), Aa = m[Me - 7], Xa = Aa.high, et = Aa.low, Ua = m[Me - 16], Sa = Ua.high, ea = Ua.low;
|
|
2215
|
-
|
|
2215
|
+
oe = ua + et, ke = ia + Xa + (oe >>> 0 < ua >>> 0 ? 1 : 0), oe = oe + Fa, ke = ke + Ya + (oe >>> 0 < Fa >>> 0 ? 1 : 0), oe = oe + ea, ke = ke + Sa + (oe >>> 0 < ea >>> 0 ? 1 : 0), He.high = ke, He.low = oe;
|
|
2216
2216
|
}
|
|
2217
|
-
var Ca = q & Ce ^ ~q & Ye, va =
|
|
2218
|
-
Ge = Ye, Xe = he, Ye = Ce, he = be, Ce = q, be =
|
|
2217
|
+
var Ca = q & Ce ^ ~q & Ye, va = pe & be ^ ~pe & he, Oa = ae & le ^ ae & J ^ le & J, Ba = te & O ^ te & Z ^ O & Z, Ea = (ae >>> 28 | te << 4) ^ (ae << 30 | te >>> 2) ^ (ae << 25 | te >>> 7), Ha = (te >>> 28 | ae << 4) ^ (te << 30 | ae >>> 2) ^ (te << 25 | ae >>> 7), Wa = (q >>> 14 | pe << 18) ^ (q >>> 18 | pe << 14) ^ (q << 23 | pe >>> 9), Re = (pe >>> 14 | q << 18) ^ (pe >>> 18 | q << 14) ^ (pe << 23 | q >>> 9), K = o[Me], Pe = K.high, la = K.low, Ie = Xe + Re, oa = Ge + Wa + (Ie >>> 0 < Xe >>> 0 ? 1 : 0), Ie = Ie + va, oa = oa + Ca + (Ie >>> 0 < va >>> 0 ? 1 : 0), Ie = Ie + la, oa = oa + Pe + (Ie >>> 0 < la >>> 0 ? 1 : 0), Ie = Ie + oe, oa = oa + ke + (Ie >>> 0 < oe >>> 0 ? 1 : 0), dt = Ha + Ba, si = Ea + Oa + (dt >>> 0 < Ha >>> 0 ? 1 : 0);
|
|
2218
|
+
Ge = Ye, Xe = he, Ye = Ce, he = be, Ce = q, be = pe, pe = X + Ie | 0, q = Q + oa + (pe >>> 0 < X >>> 0 ? 1 : 0) | 0, Q = J, X = Z, J = le, Z = O, le = ae, O = te, te = Ie + dt | 0, ae = oa + si + (te >>> 0 < Ie >>> 0 ? 1 : 0) | 0;
|
|
2219
2219
|
}
|
|
2220
|
-
k = _.low = k + te, _.high = H + ae + (k >>> 0 < te >>> 0 ? 1 : 0), F = c.low = F + O, c.high = S + le + (F >>> 0 < O >>> 0 ? 1 : 0), R = U.low = R + Z, U.high = A + J + (R >>> 0 < Z >>> 0 ? 1 : 0), G = C.low = G + X, C.high = L + Q + (G >>> 0 < X >>> 0 ? 1 : 0), W = v.low = W +
|
|
2220
|
+
k = _.low = k + te, _.high = H + ae + (k >>> 0 < te >>> 0 ? 1 : 0), F = c.low = F + O, c.high = S + le + (F >>> 0 < O >>> 0 ? 1 : 0), R = U.low = R + Z, U.high = A + J + (R >>> 0 < Z >>> 0 ? 1 : 0), G = C.low = G + X, C.high = L + Q + (G >>> 0 < X >>> 0 ? 1 : 0), W = v.low = W + pe, v.high = I + q + (W >>> 0 < pe >>> 0 ? 1 : 0), B = T.low = B + be, T.high = z + Ce + (B >>> 0 < be >>> 0 ? 1 : 0), E = h.low = E + he, h.high = N + Ye + (E >>> 0 < he >>> 0 ? 1 : 0), P = D.low = P + Xe, D.high = w + Ge + (P >>> 0 < Xe >>> 0 ? 1 : 0);
|
|
2221
2221
|
},
|
|
2222
2222
|
_doFinalize: function() {
|
|
2223
2223
|
var p = this._data, f = p.words, y = this._nDataBytes * 8, _ = p.sigBytes * 8;
|
|
@@ -2240,7 +2240,7 @@ var Gt = { exports: {} }, Yl = Gt.exports, ln;
|
|
|
2240
2240
|
function Xl() {
|
|
2241
2241
|
return ln || (ln = 1, (function(e, t) {
|
|
2242
2242
|
(function(a, n, s) {
|
|
2243
|
-
e.exports = n(
|
|
2243
|
+
e.exports = n(de(), oi(), Tr());
|
|
2244
2244
|
})(Yl, function(a) {
|
|
2245
2245
|
return (function() {
|
|
2246
2246
|
var n = a, s = n.x64, u = s.Word, b = s.WordArray, d = n.algo, l = d.SHA512, i = d.SHA384 = l.extend({
|
|
@@ -2270,7 +2270,7 @@ var Mt = { exports: {} }, eo = Mt.exports, on;
|
|
|
2270
2270
|
function ao() {
|
|
2271
2271
|
return on || (on = 1, (function(e, t) {
|
|
2272
2272
|
(function(a, n, s) {
|
|
2273
|
-
e.exports = n(
|
|
2273
|
+
e.exports = n(de(), oi());
|
|
2274
2274
|
})(eo, function(a) {
|
|
2275
2275
|
return (function(n) {
|
|
2276
2276
|
var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.x64, i = l.Word, r = s.algo, o = [], m = [], g = [];
|
|
@@ -2380,7 +2380,7 @@ var Rt = { exports: {} }, to = Rt.exports, sn;
|
|
|
2380
2380
|
function io() {
|
|
2381
2381
|
return sn || (sn = 1, (function(e, t) {
|
|
2382
2382
|
(function(a, n) {
|
|
2383
|
-
e.exports = n(
|
|
2383
|
+
e.exports = n(de());
|
|
2384
2384
|
})(to, function(a) {
|
|
2385
2385
|
return (function(n) {
|
|
2386
2386
|
var s = a, u = s.lib, b = u.WordArray, d = u.Hasher, l = s.algo, i = b.create([
|
|
@@ -2763,7 +2763,7 @@ var Pt = { exports: {} }, no = Pt.exports, mn;
|
|
|
2763
2763
|
function Li() {
|
|
2764
2764
|
return mn || (mn = 1, (function(e, t) {
|
|
2765
2765
|
(function(a, n) {
|
|
2766
|
-
e.exports = n(
|
|
2766
|
+
e.exports = n(de());
|
|
2767
2767
|
})(no, function(a) {
|
|
2768
2768
|
(function() {
|
|
2769
2769
|
var n = a, s = n.lib, u = s.Base, b = n.enc, d = b.Utf8, l = n.algo;
|
|
@@ -2841,7 +2841,7 @@ var wt = { exports: {} }, ro = wt.exports, un;
|
|
|
2841
2841
|
function lo() {
|
|
2842
2842
|
return un || (un = 1, (function(e, t) {
|
|
2843
2843
|
(function(a, n, s) {
|
|
2844
|
-
e.exports = n(
|
|
2844
|
+
e.exports = n(de(), Ni(), Li());
|
|
2845
2845
|
})(ro, function(a) {
|
|
2846
2846
|
return (function() {
|
|
2847
2847
|
var n = a, s = n.lib, u = s.Base, b = s.WordArray, d = n.algo, l = d.SHA256, i = d.HMAC, r = d.PBKDF2 = u.extend({
|
|
@@ -2908,7 +2908,7 @@ var Ft = { exports: {} }, oo = Ft.exports, pn;
|
|
|
2908
2908
|
function xa() {
|
|
2909
2909
|
return pn || (pn = 1, (function(e, t) {
|
|
2910
2910
|
(function(a, n, s) {
|
|
2911
|
-
e.exports = n(
|
|
2911
|
+
e.exports = n(de(), hr(), Li());
|
|
2912
2912
|
})(oo, function(a) {
|
|
2913
2913
|
return (function() {
|
|
2914
2914
|
var n = a, s = n.lib, u = s.Base, b = s.WordArray, d = n.algo, l = d.MD5, i = d.EvpKDF = u.extend({
|
|
@@ -2971,7 +2971,7 @@ var At = { exports: {} }, so = At.exports, gn;
|
|
|
2971
2971
|
function Ae() {
|
|
2972
2972
|
return gn || (gn = 1, (function(e, t) {
|
|
2973
2973
|
(function(a, n, s) {
|
|
2974
|
-
e.exports = n(
|
|
2974
|
+
e.exports = n(de(), xa());
|
|
2975
2975
|
})(so, function(a) {
|
|
2976
2976
|
a.lib.Cipher || (function(n) {
|
|
2977
2977
|
var s = a, u = s.lib, b = u.Base, d = u.WordArray, l = u.BufferedBlockAlgorithm, i = s.enc;
|
|
@@ -3509,7 +3509,7 @@ var Ot = { exports: {} }, mo = Ot.exports, dn;
|
|
|
3509
3509
|
function uo() {
|
|
3510
3510
|
return dn || (dn = 1, (function(e, t) {
|
|
3511
3511
|
(function(a, n, s) {
|
|
3512
|
-
e.exports = n(
|
|
3512
|
+
e.exports = n(de(), Ae());
|
|
3513
3513
|
})(mo, function(a) {
|
|
3514
3514
|
return a.mode.CFB = (function() {
|
|
3515
3515
|
var n = a.lib.BlockCipherMode.extend();
|
|
@@ -3539,7 +3539,7 @@ var Bt = { exports: {} }, po = Bt.exports, cn;
|
|
|
3539
3539
|
function go() {
|
|
3540
3540
|
return cn || (cn = 1, (function(e, t) {
|
|
3541
3541
|
(function(a, n, s) {
|
|
3542
|
-
e.exports = n(
|
|
3542
|
+
e.exports = n(de(), Ae());
|
|
3543
3543
|
})(po, function(a) {
|
|
3544
3544
|
return a.mode.CTR = (function() {
|
|
3545
3545
|
var n = a.lib.BlockCipherMode.extend(), s = n.Encryptor = n.extend({
|
|
@@ -3561,7 +3561,7 @@ var Ht = { exports: {} }, co = Ht.exports, fn;
|
|
|
3561
3561
|
function fo() {
|
|
3562
3562
|
return fn || (fn = 1, (function(e, t) {
|
|
3563
3563
|
(function(a, n, s) {
|
|
3564
|
-
e.exports = n(
|
|
3564
|
+
e.exports = n(de(), Ae());
|
|
3565
3565
|
})(co, function(a) {
|
|
3566
3566
|
return a.mode.CTRGladman = (function() {
|
|
3567
3567
|
var n = a.lib.BlockCipherMode.extend();
|
|
@@ -3595,7 +3595,7 @@ var Wt = { exports: {} }, _o = Wt.exports, _n;
|
|
|
3595
3595
|
function yo() {
|
|
3596
3596
|
return _n || (_n = 1, (function(e, t) {
|
|
3597
3597
|
(function(a, n, s) {
|
|
3598
|
-
e.exports = n(
|
|
3598
|
+
e.exports = n(de(), Ae());
|
|
3599
3599
|
})(_o, function(a) {
|
|
3600
3600
|
return a.mode.OFB = (function() {
|
|
3601
3601
|
var n = a.lib.BlockCipherMode.extend(), s = n.Encryptor = n.extend({
|
|
@@ -3615,7 +3615,7 @@ var It = { exports: {} }, bo = It.exports, yn;
|
|
|
3615
3615
|
function Uo() {
|
|
3616
3616
|
return yn || (yn = 1, (function(e, t) {
|
|
3617
3617
|
(function(a, n, s) {
|
|
3618
|
-
e.exports = n(
|
|
3618
|
+
e.exports = n(de(), Ae());
|
|
3619
3619
|
})(bo, function(a) {
|
|
3620
3620
|
return a.mode.ECB = (function() {
|
|
3621
3621
|
var n = a.lib.BlockCipherMode.extend();
|
|
@@ -3636,7 +3636,7 @@ var zt = { exports: {} }, Co = zt.exports, bn;
|
|
|
3636
3636
|
function vo() {
|
|
3637
3637
|
return bn || (bn = 1, (function(e, t) {
|
|
3638
3638
|
(function(a, n, s) {
|
|
3639
|
-
e.exports = n(
|
|
3639
|
+
e.exports = n(de(), Ae());
|
|
3640
3640
|
})(Co, function(a) {
|
|
3641
3641
|
return a.pad.AnsiX923 = {
|
|
3642
3642
|
pad: function(n, s) {
|
|
@@ -3655,7 +3655,7 @@ var Vt = { exports: {} }, ho = Vt.exports, Un;
|
|
|
3655
3655
|
function To() {
|
|
3656
3656
|
return Un || (Un = 1, (function(e, t) {
|
|
3657
3657
|
(function(a, n, s) {
|
|
3658
|
-
e.exports = n(
|
|
3658
|
+
e.exports = n(de(), Ae());
|
|
3659
3659
|
})(ho, function(a) {
|
|
3660
3660
|
return a.pad.Iso10126 = {
|
|
3661
3661
|
pad: function(n, s) {
|
|
@@ -3674,7 +3674,7 @@ var Jt = { exports: {} }, ko = Jt.exports, Cn;
|
|
|
3674
3674
|
function xo() {
|
|
3675
3675
|
return Cn || (Cn = 1, (function(e, t) {
|
|
3676
3676
|
(function(a, n, s) {
|
|
3677
|
-
e.exports = n(
|
|
3677
|
+
e.exports = n(de(), Ae());
|
|
3678
3678
|
})(ko, function(a) {
|
|
3679
3679
|
return a.pad.Iso97971 = {
|
|
3680
3680
|
pad: function(n, s) {
|
|
@@ -3691,7 +3691,7 @@ var Zt = { exports: {} }, So = Zt.exports, vn;
|
|
|
3691
3691
|
function Eo() {
|
|
3692
3692
|
return vn || (vn = 1, (function(e, t) {
|
|
3693
3693
|
(function(a, n, s) {
|
|
3694
|
-
e.exports = n(
|
|
3694
|
+
e.exports = n(de(), Ae());
|
|
3695
3695
|
})(So, function(a) {
|
|
3696
3696
|
return a.pad.ZeroPadding = {
|
|
3697
3697
|
pad: function(n, s) {
|
|
@@ -3713,7 +3713,7 @@ var Kt = { exports: {} }, Do = Kt.exports, hn;
|
|
|
3713
3713
|
function No() {
|
|
3714
3714
|
return hn || (hn = 1, (function(e, t) {
|
|
3715
3715
|
(function(a, n, s) {
|
|
3716
|
-
e.exports = n(
|
|
3716
|
+
e.exports = n(de(), Ae());
|
|
3717
3717
|
})(Do, function(a) {
|
|
3718
3718
|
return a.pad.NoPadding = {
|
|
3719
3719
|
pad: function() {
|
|
@@ -3728,7 +3728,7 @@ var qt = { exports: {} }, Lo = qt.exports, Tn;
|
|
|
3728
3728
|
function Go() {
|
|
3729
3729
|
return Tn || (Tn = 1, (function(e, t) {
|
|
3730
3730
|
(function(a, n, s) {
|
|
3731
|
-
e.exports = n(
|
|
3731
|
+
e.exports = n(de(), Ae());
|
|
3732
3732
|
})(Lo, function(a) {
|
|
3733
3733
|
return (function(n) {
|
|
3734
3734
|
var s = a, u = s.lib, b = u.CipherParams, d = s.enc, l = d.Hex, i = s.format;
|
|
@@ -3775,7 +3775,7 @@ var $t = { exports: {} }, Mo = $t.exports, kn;
|
|
|
3775
3775
|
function Ro() {
|
|
3776
3776
|
return kn || (kn = 1, (function(e, t) {
|
|
3777
3777
|
(function(a, n, s) {
|
|
3778
|
-
e.exports = n(
|
|
3778
|
+
e.exports = n(de(), Ra(), Pa(), xa(), Ae());
|
|
3779
3779
|
})(Mo, function(a) {
|
|
3780
3780
|
return (function() {
|
|
3781
3781
|
var n = a, s = n.lib, u = s.BlockCipher, b = n.algo, d = [], l = [], i = [], r = [], o = [], m = [], g = [], p = [], f = [], y = [];
|
|
@@ -3835,7 +3835,7 @@ var jt = { exports: {} }, Po = jt.exports, xn;
|
|
|
3835
3835
|
function wo() {
|
|
3836
3836
|
return xn || (xn = 1, (function(e, t) {
|
|
3837
3837
|
(function(a, n, s) {
|
|
3838
|
-
e.exports = n(
|
|
3838
|
+
e.exports = n(de(), Ra(), Pa(), xa(), Ae());
|
|
3839
3839
|
})(Po, function(a) {
|
|
3840
3840
|
return (function() {
|
|
3841
3841
|
var n = a, s = n.lib, u = s.WordArray, b = s.BlockCipher, d = n.algo, l = [
|
|
@@ -4555,7 +4555,7 @@ var Qt = { exports: {} }, Fo = Qt.exports, Sn;
|
|
|
4555
4555
|
function Ao() {
|
|
4556
4556
|
return Sn || (Sn = 1, (function(e, t) {
|
|
4557
4557
|
(function(a, n, s) {
|
|
4558
|
-
e.exports = n(
|
|
4558
|
+
e.exports = n(de(), Ra(), Pa(), xa(), Ae());
|
|
4559
4559
|
})(Fo, function(a) {
|
|
4560
4560
|
return (function() {
|
|
4561
4561
|
var n = a, s = n.lib, u = s.StreamCipher, b = n.algo, d = b.RC4 = u.extend({
|
|
@@ -4609,7 +4609,7 @@ var Yt = { exports: {} }, Oo = Yt.exports, En;
|
|
|
4609
4609
|
function Bo() {
|
|
4610
4610
|
return En || (En = 1, (function(e, t) {
|
|
4611
4611
|
(function(a, n, s) {
|
|
4612
|
-
e.exports = n(
|
|
4612
|
+
e.exports = n(de(), Ra(), Pa(), xa(), Ae());
|
|
4613
4613
|
})(Oo, function(a) {
|
|
4614
4614
|
return (function() {
|
|
4615
4615
|
var n = a, s = n.lib, u = s.StreamCipher, b = n.algo, d = [], l = [], i = [], r = b.Rabbit = u.extend({
|
|
@@ -4675,7 +4675,7 @@ var Xt = { exports: {} }, Ho = Xt.exports, Dn;
|
|
|
4675
4675
|
function Wo() {
|
|
4676
4676
|
return Dn || (Dn = 1, (function(e, t) {
|
|
4677
4677
|
(function(a, n, s) {
|
|
4678
|
-
e.exports = n(
|
|
4678
|
+
e.exports = n(de(), Ra(), Pa(), xa(), Ae());
|
|
4679
4679
|
})(Ho, function(a) {
|
|
4680
4680
|
return (function() {
|
|
4681
4681
|
var n = a, s = n.lib, u = s.StreamCipher, b = n.algo, d = [], l = [], i = [], r = b.RabbitLegacy = u.extend({
|
|
@@ -4739,7 +4739,7 @@ var ei = { exports: {} }, Io = ei.exports, Nn;
|
|
|
4739
4739
|
function zo() {
|
|
4740
4740
|
return Nn || (Nn = 1, (function(e, t) {
|
|
4741
4741
|
(function(a, n, s) {
|
|
4742
|
-
e.exports = n(
|
|
4742
|
+
e.exports = n(de(), Ra(), Pa(), xa(), Ae());
|
|
4743
4743
|
})(Io, function(a) {
|
|
4744
4744
|
return (function() {
|
|
4745
4745
|
var n = a, s = n.lib, u = s.BlockCipher, b = n.algo;
|
|
@@ -5861,7 +5861,7 @@ var Vo = Ut.exports, Ln;
|
|
|
5861
5861
|
function Jo() {
|
|
5862
5862
|
return Ln || (Ln = 1, (function(e, t) {
|
|
5863
5863
|
(function(a, n, s) {
|
|
5864
|
-
e.exports = n(
|
|
5864
|
+
e.exports = n(de(), oi(), Hl(), Il(), Ra(), Jl(), Pa(), hr(), Ni(), jl(), Tr(), Xl(), ao(), io(), Li(), lo(), xa(), Ae(), uo(), go(), fo(), yo(), Uo(), vo(), To(), xo(), Eo(), No(), Go(), Ro(), wo(), Ao(), Bo(), Wo(), zo());
|
|
5865
5865
|
})(Vo, function(a) {
|
|
5866
5866
|
return a;
|
|
5867
5867
|
});
|
|
@@ -6159,7 +6159,7 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
|
|
|
6159
6159
|
padding: ha.pad.Pkcs7
|
|
6160
6160
|
}), u = a.toString(ha.enc.Base64), b = ha.enc.Base64.stringify(s.ciphertext);
|
|
6161
6161
|
return u + ":" + b;
|
|
6162
|
-
}, $o = (e) => e === "aes" ? Ja : (t) => Ta.MD5(t).toString(),
|
|
6162
|
+
}, $o = (e) => e === "aes" ? Ja : (t) => Ta.MD5(t).toString(), se = () => {
|
|
6163
6163
|
const {
|
|
6164
6164
|
client: e,
|
|
6165
6165
|
formDataClient: t,
|
|
@@ -6205,7 +6205,7 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
|
|
|
6205
6205
|
email: Q,
|
|
6206
6206
|
inviteCode: X,
|
|
6207
6207
|
currencyCode: q,
|
|
6208
|
-
validCode:
|
|
6208
|
+
validCode: pe,
|
|
6209
6209
|
nickName: Ce
|
|
6210
6210
|
}) => {
|
|
6211
6211
|
const be = {
|
|
@@ -6213,7 +6213,7 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
|
|
|
6213
6213
|
passwd: Ta.MD5(J).toString(),
|
|
6214
6214
|
email: Q,
|
|
6215
6215
|
currency_code: q,
|
|
6216
|
-
code:
|
|
6216
|
+
code: pe,
|
|
6217
6217
|
nick_name: Ce
|
|
6218
6218
|
};
|
|
6219
6219
|
return Q && (be.email = Q), Z && (be.unlimit_code = Z), X && (be.invite = X), e.post("/siginUp", be);
|
|
@@ -6333,7 +6333,7 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
|
|
|
6333
6333
|
bank_branch_name: Q,
|
|
6334
6334
|
bank_account: X,
|
|
6335
6335
|
bank_card_number: q,
|
|
6336
|
-
id_card:
|
|
6336
|
+
id_card: pe,
|
|
6337
6337
|
id_pic: Ce
|
|
6338
6338
|
} = O;
|
|
6339
6339
|
return await t.post("/bindBankAccount", O);
|
|
@@ -6419,14 +6419,14 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
|
|
|
6419
6419
|
[e]
|
|
6420
6420
|
), I = M(
|
|
6421
6421
|
async (O) => {
|
|
6422
|
-
const { mobile: J, password: Z, verifyCode: Q, invite: X, invoiceType: q, invoiceCode:
|
|
6422
|
+
const { mobile: J, password: Z, verifyCode: Q, invite: X, invoiceType: q, invoiceCode: pe } = O;
|
|
6423
6423
|
return await e.post("/goMobileByInvite", {
|
|
6424
6424
|
mobile: J,
|
|
6425
6425
|
passwd: Ta.MD5(Z).toString(),
|
|
6426
6426
|
verification_code: Q,
|
|
6427
6427
|
invite: X,
|
|
6428
6428
|
invoice_type: q,
|
|
6429
|
-
invoice_code:
|
|
6429
|
+
invoice_code: pe
|
|
6430
6430
|
});
|
|
6431
6431
|
},
|
|
6432
6432
|
[e]
|
|
@@ -6535,7 +6535,7 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
|
|
|
6535
6535
|
updateUserAvatarApi: te
|
|
6536
6536
|
};
|
|
6537
6537
|
}, Tu = ({ otherQueryKey: e = [], options: t = {} } = {}) => {
|
|
6538
|
-
const { userCurrencyExchangeApi: a } =
|
|
6538
|
+
const { userCurrencyExchangeApi: a } = se(), { getToken: n } = re(), { enabled: s, ...u } = t, d = !!n?.() && (s ? s.every((l) => l) : !0);
|
|
6539
6539
|
return sr({
|
|
6540
6540
|
queries: [
|
|
6541
6541
|
{
|
|
@@ -6553,7 +6553,7 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
|
|
|
6553
6553
|
trigger: t = [],
|
|
6554
6554
|
enabled: a = !0
|
|
6555
6555
|
} = {}) => {
|
|
6556
|
-
const { getToken: n } = re(), s = n?.(), { userInfoApi: u } =
|
|
6556
|
+
const { getToken: n } = re(), s = n?.(), { userInfoApi: u } = se();
|
|
6557
6557
|
return sr({
|
|
6558
6558
|
queries: [
|
|
6559
6559
|
{
|
|
@@ -6570,7 +6570,7 @@ const we = /* @__PURE__ */ Di(qo), Ja = (e) => {
|
|
|
6570
6570
|
userFavoriteGameApi: a,
|
|
6571
6571
|
userGameListApi: n,
|
|
6572
6572
|
userCurrencyExchangeApi: s
|
|
6573
|
-
} =
|
|
6573
|
+
} = se(), u = Y({
|
|
6574
6574
|
queryKey: ["getMemInfo"],
|
|
6575
6575
|
queryFn: async () => t(),
|
|
6576
6576
|
enabled: e
|
|
@@ -7681,77 +7681,77 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
7681
7681
|
announcementApi: a
|
|
7682
7682
|
};
|
|
7683
7683
|
}, ds = ({ options: e } = {}) => {
|
|
7684
|
-
const { userLoginApi: t } =
|
|
7684
|
+
const { userLoginApi: t } = se();
|
|
7685
7685
|
return ee({
|
|
7686
7686
|
mutationKey: ["userLogin"],
|
|
7687
7687
|
mutationFn: async (a) => t(a),
|
|
7688
7688
|
...e
|
|
7689
7689
|
});
|
|
7690
7690
|
}, cs = ({ options: e } = {}) => {
|
|
7691
|
-
const { userLogoutApi: t } =
|
|
7691
|
+
const { userLogoutApi: t } = se();
|
|
7692
7692
|
return ee({
|
|
7693
7693
|
mutationKey: ["userLogout"],
|
|
7694
7694
|
mutationFn: async () => t(),
|
|
7695
7695
|
...e
|
|
7696
7696
|
});
|
|
7697
7697
|
}, fs = ({ options: e } = {}) => {
|
|
7698
|
-
const { userSignUpApi: t } =
|
|
7698
|
+
const { userSignUpApi: t } = se();
|
|
7699
7699
|
return ee({
|
|
7700
7700
|
mutationKey: ["userSignUp"],
|
|
7701
7701
|
mutationFn: async (a) => t(a),
|
|
7702
7702
|
...e
|
|
7703
7703
|
});
|
|
7704
7704
|
}, _s = ({ options: e } = {}) => {
|
|
7705
|
-
const { addOrRemoveFavoriteGameApi: t } =
|
|
7705
|
+
const { addOrRemoveFavoriteGameApi: t } = se();
|
|
7706
7706
|
return ee({
|
|
7707
7707
|
mutationKey: ["toggleFavoriteGame"],
|
|
7708
7708
|
mutationFn: async (a) => t(a),
|
|
7709
7709
|
...e
|
|
7710
7710
|
});
|
|
7711
7711
|
}, ys = ({ options: e } = {}) => {
|
|
7712
|
-
const { updateUserInfoApi: t } =
|
|
7712
|
+
const { updateUserInfoApi: t } = se();
|
|
7713
7713
|
return ee({
|
|
7714
7714
|
mutationKey: ["updateUserInfo"],
|
|
7715
7715
|
mutationFn: async (a) => t(a),
|
|
7716
7716
|
...e
|
|
7717
7717
|
});
|
|
7718
7718
|
}, bs = ({ options: e } = {}) => {
|
|
7719
|
-
const { updateMemberInfoApi: t } =
|
|
7719
|
+
const { updateMemberInfoApi: t } = se();
|
|
7720
7720
|
return ee({
|
|
7721
7721
|
mutationKey: ["updateMemberInfo"],
|
|
7722
7722
|
mutationFn: async (a) => t(a),
|
|
7723
7723
|
...e
|
|
7724
7724
|
});
|
|
7725
7725
|
}, Us = ({ options: e } = {}) => {
|
|
7726
|
-
const { resetUserPasswordApi: t } =
|
|
7726
|
+
const { resetUserPasswordApi: t } = se();
|
|
7727
7727
|
return ee({
|
|
7728
7728
|
mutationKey: ["resetUserPassword"],
|
|
7729
7729
|
mutationFn: async (a) => t(a),
|
|
7730
7730
|
...e
|
|
7731
7731
|
});
|
|
7732
7732
|
}, Cs = ({ options: e } = {}) => {
|
|
7733
|
-
const { memberInitSetApi: t } =
|
|
7733
|
+
const { memberInitSetApi: t } = se();
|
|
7734
7734
|
return ee({
|
|
7735
7735
|
mutationKey: ["memberInitSet"],
|
|
7736
7736
|
mutationFn: async (a) => t(a),
|
|
7737
7737
|
...e
|
|
7738
7738
|
});
|
|
7739
7739
|
}, vs = ({ options: e } = {}) => {
|
|
7740
|
-
const { setUserTransactionPasswordApi: t } =
|
|
7740
|
+
const { setUserTransactionPasswordApi: t } = se();
|
|
7741
7741
|
return ee({
|
|
7742
7742
|
mutationKey: ["setUserTransactionPassword"],
|
|
7743
7743
|
mutationFn: async (a) => t(a),
|
|
7744
7744
|
...e
|
|
7745
7745
|
});
|
|
7746
7746
|
}, hs = ({ options: e } = {}) => {
|
|
7747
|
-
const { resetUserTransactionPasswordApi: t } =
|
|
7747
|
+
const { resetUserTransactionPasswordApi: t } = se();
|
|
7748
7748
|
return ee({
|
|
7749
7749
|
mutationKey: ["resetUserTransactionPassword"],
|
|
7750
7750
|
mutationFn: async (a) => t(a),
|
|
7751
7751
|
...e
|
|
7752
7752
|
});
|
|
7753
7753
|
}, Ts = ({ paramsData: e, options: t } = {}) => {
|
|
7754
|
-
const { userRebateApi: a } =
|
|
7754
|
+
const { userRebateApi: a } = se(), { getToken: n } = re();
|
|
7755
7755
|
return n?.(), Y({
|
|
7756
7756
|
queryKey: ["userRebate", e],
|
|
7757
7757
|
queryFn: async () => a({ paramsData: e }),
|
|
@@ -7759,14 +7759,14 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
7759
7759
|
...t
|
|
7760
7760
|
});
|
|
7761
7761
|
}, ks = ({ options: e } = {}) => {
|
|
7762
|
-
const { userBindBankApi: t } =
|
|
7762
|
+
const { userBindBankApi: t } = se();
|
|
7763
7763
|
return ee({
|
|
7764
7764
|
mutationKey: ["userBindBank"],
|
|
7765
7765
|
mutationFn: async (a) => t({ formData: a }),
|
|
7766
7766
|
...e
|
|
7767
7767
|
});
|
|
7768
7768
|
}, xs = ({ options: e } = {}) => {
|
|
7769
|
-
const { transferInGameApi: t } =
|
|
7769
|
+
const { transferInGameApi: t } = se();
|
|
7770
7770
|
return ee({
|
|
7771
7771
|
mutationKey: ["transferInGame"],
|
|
7772
7772
|
mutationFn: async (a) => t(a),
|
|
@@ -7774,7 +7774,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
7774
7774
|
...e
|
|
7775
7775
|
});
|
|
7776
7776
|
}, Du = ({ options: e } = {}) => {
|
|
7777
|
-
const { currency: t } = re(), { pointTransferApi: a } =
|
|
7777
|
+
const { currency: t } = re(), { pointTransferApi: a } = se();
|
|
7778
7778
|
return ee({
|
|
7779
7779
|
mutationKey: ["pointTransfer"],
|
|
7780
7780
|
mutationFn: async (n) => a({
|
|
@@ -7784,7 +7784,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
7784
7784
|
...e
|
|
7785
7785
|
});
|
|
7786
7786
|
}, Nu = ({ options: e } = {}) => {
|
|
7787
|
-
const { currency: t } = re(), { checkUserWagerApi: a } =
|
|
7787
|
+
const { currency: t } = re(), { checkUserWagerApi: a } = se();
|
|
7788
7788
|
return Y({
|
|
7789
7789
|
queryKey: ["checkUserWager"],
|
|
7790
7790
|
queryFn: async () => a(),
|
|
@@ -7797,7 +7797,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
7797
7797
|
...e
|
|
7798
7798
|
});
|
|
7799
7799
|
}, Lu = ({ options: e } = {}) => {
|
|
7800
|
-
const t = ya(), { abandonPointsApi: a } =
|
|
7800
|
+
const t = ya(), { abandonPointsApi: a } = se();
|
|
7801
7801
|
return ee({
|
|
7802
7802
|
mutationKey: ["abandonPoint"],
|
|
7803
7803
|
mutationFn: async (n) => a({
|
|
@@ -7809,98 +7809,98 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
7809
7809
|
...e
|
|
7810
7810
|
});
|
|
7811
7811
|
}, Sr = ({ options: e } = {}) => {
|
|
7812
|
-
const { lineLoginApi: t } =
|
|
7812
|
+
const { lineLoginApi: t } = se();
|
|
7813
7813
|
return ee({
|
|
7814
7814
|
mutationKey: ["lineLogin"],
|
|
7815
7815
|
mutationFn: async (a) => t(a),
|
|
7816
7816
|
...e
|
|
7817
7817
|
});
|
|
7818
7818
|
}, Ss = ({ options: e } = {}) => {
|
|
7819
|
-
const { lineLogin2Api: t } =
|
|
7819
|
+
const { lineLogin2Api: t } = se();
|
|
7820
7820
|
return ee({
|
|
7821
7821
|
mutationKey: ["lineLogin"],
|
|
7822
7822
|
mutationFn: async (a) => t(a),
|
|
7823
7823
|
...e
|
|
7824
7824
|
});
|
|
7825
7825
|
}, Gu = ({ options: e } = {}) => {
|
|
7826
|
-
const { machineLoginApi: t } =
|
|
7826
|
+
const { machineLoginApi: t } = se();
|
|
7827
7827
|
return ee({
|
|
7828
7828
|
mutationKey: ["machineLogin"],
|
|
7829
7829
|
mutationFn: async (a) => t(a),
|
|
7830
7830
|
...e
|
|
7831
7831
|
});
|
|
7832
7832
|
}, Es = ({ options: e, formData: t } = {}) => {
|
|
7833
|
-
const { getMachineLoginCodeApi: a } =
|
|
7833
|
+
const { getMachineLoginCodeApi: a } = se();
|
|
7834
7834
|
return Y({
|
|
7835
7835
|
queryKey: ["getMachineLoginCode"],
|
|
7836
7836
|
queryFn: async () => a(t),
|
|
7837
7837
|
...e
|
|
7838
7838
|
});
|
|
7839
7839
|
}, Mu = ({ options: e } = {}) => {
|
|
7840
|
-
const { currency: t } = re(), { memberTransferApi: a } =
|
|
7840
|
+
const { currency: t } = re(), { memberTransferApi: a } = se();
|
|
7841
7841
|
return ee({
|
|
7842
7842
|
mutationKey: ["memberTransfer"],
|
|
7843
7843
|
mutationFn: async (n) => a({ ...n, currency: t }),
|
|
7844
7844
|
...e
|
|
7845
7845
|
});
|
|
7846
7846
|
}, Ru = ({ options: e } = {}) => {
|
|
7847
|
-
const { currency: t } = re(), { checkMemberTransferApi: a } =
|
|
7847
|
+
const { currency: t } = re(), { checkMemberTransferApi: a } = se();
|
|
7848
7848
|
return ee({
|
|
7849
7849
|
mutationKey: ["checkMemberTransfer"],
|
|
7850
7850
|
mutationFn: async (n) => a({ ...n, currency: t }),
|
|
7851
7851
|
...e
|
|
7852
7852
|
});
|
|
7853
7853
|
}, Pu = ({ options: e } = {}) => {
|
|
7854
|
-
const { mobileLoginApi: t } =
|
|
7854
|
+
const { mobileLoginApi: t } = se();
|
|
7855
7855
|
return ee({
|
|
7856
7856
|
mutationKey: ["mobileLogin"],
|
|
7857
7857
|
mutationFn: async (a) => t(a),
|
|
7858
7858
|
...e
|
|
7859
7859
|
});
|
|
7860
7860
|
}, wu = ({ options: e } = {}) => {
|
|
7861
|
-
const { mobileLoginApiV2: t } =
|
|
7861
|
+
const { mobileLoginApiV2: t } = se();
|
|
7862
7862
|
return ee({
|
|
7863
7863
|
mutationKey: ["mobileLoginV2"],
|
|
7864
7864
|
mutationFn: async (a) => t(a),
|
|
7865
7865
|
...e
|
|
7866
7866
|
});
|
|
7867
7867
|
}, Fu = ({ options: e } = {}) => {
|
|
7868
|
-
const { mobileRegisterApi: t } =
|
|
7868
|
+
const { mobileRegisterApi: t } = se();
|
|
7869
7869
|
return ee({
|
|
7870
7870
|
mutationKey: ["mobileRegister"],
|
|
7871
7871
|
mutationFn: async (a) => t(a),
|
|
7872
7872
|
...e
|
|
7873
7873
|
});
|
|
7874
7874
|
}, Au = ({ options: e } = {}) => {
|
|
7875
|
-
const { mobilePasswordApi: t } =
|
|
7875
|
+
const { mobilePasswordApi: t } = se();
|
|
7876
7876
|
return ee({
|
|
7877
7877
|
mutationKey: ["mobileByPassword"],
|
|
7878
7878
|
mutationFn: async (a) => t(a),
|
|
7879
7879
|
...e
|
|
7880
7880
|
});
|
|
7881
7881
|
}, Ou = ({ options: e } = {}) => {
|
|
7882
|
-
const { forgotPasswordApi: t } =
|
|
7882
|
+
const { forgotPasswordApi: t } = se();
|
|
7883
7883
|
return ee({
|
|
7884
7884
|
mutationKey: ["forgotPassword"],
|
|
7885
7885
|
mutationFn: async (a) => t(a),
|
|
7886
7886
|
...e
|
|
7887
7887
|
});
|
|
7888
7888
|
}, Bu = ({ options: e } = {}) => {
|
|
7889
|
-
const { checkMobileApi: t } =
|
|
7889
|
+
const { checkMobileApi: t } = se();
|
|
7890
7890
|
return ee({
|
|
7891
7891
|
mutationKey: ["checkMobile"],
|
|
7892
7892
|
mutationFn: async (a) => t(a),
|
|
7893
7893
|
...e
|
|
7894
7894
|
});
|
|
7895
7895
|
}, Ds = ({ options: e } = {}) => {
|
|
7896
|
-
const { bindAccountApi: t } =
|
|
7896
|
+
const { bindAccountApi: t } = se();
|
|
7897
7897
|
return ee({
|
|
7898
7898
|
mutationKey: ["bindAccount"],
|
|
7899
7899
|
mutationFn: async (a) => t(a),
|
|
7900
7900
|
...e
|
|
7901
7901
|
});
|
|
7902
7902
|
}, Hu = ({ options: e } = {}) => {
|
|
7903
|
-
const { sendMobileVerifyCodeApi: t } =
|
|
7903
|
+
const { sendMobileVerifyCodeApi: t } = se();
|
|
7904
7904
|
return ee({
|
|
7905
7905
|
mutationKey: ["sendMobileVerifyCode"],
|
|
7906
7906
|
mutationFn: async (a) => t(a),
|
|
@@ -7921,21 +7921,21 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
7921
7921
|
...e
|
|
7922
7922
|
});
|
|
7923
7923
|
}, zu = ({ options: e } = {}) => {
|
|
7924
|
-
const { createMachineApi: t } =
|
|
7924
|
+
const { createMachineApi: t } = se();
|
|
7925
7925
|
return ee({
|
|
7926
7926
|
mutationKey: ["createMachine"],
|
|
7927
7927
|
mutationFn: async (a) => t({ formData: a }),
|
|
7928
7928
|
...e
|
|
7929
7929
|
});
|
|
7930
7930
|
}, Vu = ({ options: e } = {}) => {
|
|
7931
|
-
const { verifyResetActionApi: t } =
|
|
7931
|
+
const { verifyResetActionApi: t } = se();
|
|
7932
7932
|
return ee({
|
|
7933
7933
|
mutationKey: ["verifyResetAction"],
|
|
7934
7934
|
mutationFn: async (a) => t(a),
|
|
7935
7935
|
...e
|
|
7936
7936
|
});
|
|
7937
7937
|
}, Ju = ({ options: e, bonusData: t } = {}) => {
|
|
7938
|
-
const { getJackpotApi: a } =
|
|
7938
|
+
const { getJackpotApi: a } = se();
|
|
7939
7939
|
return Y({
|
|
7940
7940
|
queryKey: ["getJackpotData"],
|
|
7941
7941
|
queryFn: async () => a(),
|
|
@@ -7954,14 +7954,14 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
7954
7954
|
...e
|
|
7955
7955
|
});
|
|
7956
7956
|
}, Zu = ({ options: e } = {}) => {
|
|
7957
|
-
const { getBetRankingApi: t } =
|
|
7957
|
+
const { getBetRankingApi: t } = se();
|
|
7958
7958
|
return Y({
|
|
7959
7959
|
queryKey: ["getBetRankingData"],
|
|
7960
7960
|
queryFn: async () => t(),
|
|
7961
7961
|
...e
|
|
7962
7962
|
});
|
|
7963
7963
|
}, Ku = ({ options: e } = {}) => {
|
|
7964
|
-
const { getUserAvatarListApi: t } =
|
|
7964
|
+
const { getUserAvatarListApi: t } = se();
|
|
7965
7965
|
return Y({
|
|
7966
7966
|
queryKey: ["getAvatarList"],
|
|
7967
7967
|
queryFn: async () => t(),
|
|
@@ -7971,7 +7971,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
7971
7971
|
...e
|
|
7972
7972
|
});
|
|
7973
7973
|
}, qu = ({ options: e } = {}) => {
|
|
7974
|
-
const { updateUserAvatarApi: t } =
|
|
7974
|
+
const { updateUserAvatarApi: t } = se();
|
|
7975
7975
|
return ee({
|
|
7976
7976
|
mutationKey: ["updateAvatar"],
|
|
7977
7977
|
mutationFn: async (a) => t(a),
|
|
@@ -8072,7 +8072,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
8072
8072
|
disabledLineAutoRegister: b = !1,
|
|
8073
8073
|
navigate: d = null
|
|
8074
8074
|
}) => {
|
|
8075
|
-
const { store: l, lng: i } = re(), r = ya(), { isReady: o, setAsReady: m, isPending: g, setAsPending: p } = dr(), f = Je(i), y =
|
|
8075
|
+
const { store: l, lng: i } = re(), r = ya(), { isReady: o, setAsReady: m, isPending: g, setAsPending: p } = dr(), f = Je(i), y = me(!1), _ = me(t), c = j(n, "uid", null), U = j(n, "cagent_uid", null);
|
|
8076
8076
|
j(n, "testFunction", 0);
|
|
8077
8077
|
const C = j(n, "machine_number", null), v = new URLSearchParams(window.location.search), T = j(
|
|
8078
8078
|
s,
|
|
@@ -8148,7 +8148,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
8148
8148
|
fe(() => {
|
|
8149
8149
|
_.current = t;
|
|
8150
8150
|
}, [t]);
|
|
8151
|
-
const G =
|
|
8151
|
+
const G = me(null), I = (B) => {
|
|
8152
8152
|
const {
|
|
8153
8153
|
onDeposit: N,
|
|
8154
8154
|
onTransCode: E,
|
|
@@ -8167,19 +8167,19 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
8167
8167
|
memo: j(B, "memo", null),
|
|
8168
8168
|
amount: j(B, "amount", null),
|
|
8169
8169
|
limitAmount: j(B, "limit_amount", null)
|
|
8170
|
-
},
|
|
8170
|
+
}, pe = Number(q.memberInfoUid) === c, Ce = q.data, be = q.amount, Ye = q.limitAmount, he = v.get("mac") || Ci.get("machine_mac_address") || "", Ge = j(B, "data.line_id", null), Xe = j(B, "data.line_name", null), Me = j(B, "member_info_uid", null);
|
|
8171
8171
|
switch (X) {
|
|
8172
8172
|
case ye.DEPOSIT:
|
|
8173
|
-
|
|
8173
|
+
pe && (H(), N?.(q));
|
|
8174
8174
|
break;
|
|
8175
8175
|
case ye.TRANS_CODE:
|
|
8176
8176
|
E?.(q);
|
|
8177
8177
|
break;
|
|
8178
8178
|
case ye.ERROR:
|
|
8179
|
-
if (
|
|
8180
|
-
const
|
|
8179
|
+
if (pe) {
|
|
8180
|
+
const oe = j(B, "open_game_modal", 0) === 1;
|
|
8181
8181
|
L(Ce, {
|
|
8182
|
-
notificationType:
|
|
8182
|
+
notificationType: oe ? "gamingNotice" : void 0
|
|
8183
8183
|
}), w?.(q);
|
|
8184
8184
|
}
|
|
8185
8185
|
break;
|
|
@@ -8194,13 +8194,13 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
8194
8194
|
}), ae?.(q);
|
|
8195
8195
|
break;
|
|
8196
8196
|
case ye.MAINTAIN_NOTICE_MEMBER: {
|
|
8197
|
-
const
|
|
8198
|
-
if (
|
|
8199
|
-
String(U) === String(
|
|
8197
|
+
const oe = q.data?.cagent_uid ?? null;
|
|
8198
|
+
if (oe != null) {
|
|
8199
|
+
String(U) === String(oe) && (L(q.data?.msg, { rawMessage: !0 }), te?.(q), setTimeout(() => {
|
|
8200
8200
|
d?.("/");
|
|
8201
8201
|
}, 5e3));
|
|
8202
8202
|
return;
|
|
8203
|
-
} else if (
|
|
8203
|
+
} else if (pe) {
|
|
8204
8204
|
const ke = l.getState()?.game?.currentGameData?.gameUid ?? null, He = q.data?.game_id;
|
|
8205
8205
|
if (He != null) {
|
|
8206
8206
|
Array.isArray(He) && He.some((ze) => String(ze) === String(ke)) && (L(q.data?.msg, { rawMessage: !0 }), te?.(q), setTimeout(() => {
|
|
@@ -8219,14 +8219,14 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
8219
8219
|
break;
|
|
8220
8220
|
case ye.TRANSFER_IN_GAME:
|
|
8221
8221
|
case ye.CHECK_REQUEST:
|
|
8222
|
-
if (
|
|
8223
|
-
const { request_id:
|
|
8222
|
+
if (pe && T) {
|
|
8223
|
+
const { request_id: oe, amount: ke, platform: He, status: ze } = j(q, "data", {}) || {}, xe = localStorage.getItem(
|
|
8224
8224
|
"transfer_in_game_request_id"
|
|
8225
8225
|
);
|
|
8226
8226
|
if (ze === "pending") {
|
|
8227
|
-
localStorage.setItem("transfer_in_game_request_id",
|
|
8227
|
+
localStorage.setItem("transfer_in_game_request_id", oe);
|
|
8228
8228
|
return;
|
|
8229
|
-
} else if (xe && xe ===
|
|
8229
|
+
} else if (xe && xe === oe) {
|
|
8230
8230
|
if (ze === "rollback") {
|
|
8231
8231
|
H();
|
|
8232
8232
|
return;
|
|
@@ -8251,13 +8251,13 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
8251
8251
|
}), O?.(q);
|
|
8252
8252
|
break;
|
|
8253
8253
|
case ye.UPDATE_ONLY_ONE_MEMBER:
|
|
8254
|
-
|
|
8254
|
+
pe && (r.invalidateQueries({
|
|
8255
8255
|
queryKey: ["getMemberInfo"]
|
|
8256
8256
|
}), P?.(q));
|
|
8257
8257
|
break;
|
|
8258
8258
|
case ye.GAME_MAINTAIN: {
|
|
8259
|
-
const
|
|
8260
|
-
maintainList:
|
|
8259
|
+
const oe = q.data, { show: ke } = Ls({
|
|
8260
|
+
maintainList: oe,
|
|
8261
8261
|
// 直接用當前路由判斷是否在 gamebox(不依賴 transferInGamingConfig,
|
|
8262
8262
|
// 因為不是每隻遊戲都會帶入該設定)
|
|
8263
8263
|
isInGameBox: window.location.pathname.includes("gamebox"),
|
|
@@ -8275,10 +8275,10 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
8275
8275
|
});
|
|
8276
8276
|
break;
|
|
8277
8277
|
case ye.UPDATE_EVENT_WALLET:
|
|
8278
|
-
|
|
8278
|
+
pe && (r.invalidateQueries({ queryKey: ["getEventWalletList"] }), r.invalidateQueries({ queryKey: ["evaluateEventWallet"] }));
|
|
8279
8279
|
return;
|
|
8280
8280
|
case ye.MONTHLY_CARD_ISSUE_POINT:
|
|
8281
|
-
|
|
8281
|
+
pe && (r.invalidateQueries({ queryKey: Ai }), Z?.(q));
|
|
8282
8282
|
return;
|
|
8283
8283
|
/**
|
|
8284
8284
|
* event_claimable:活動可領取推播
|
|
@@ -8288,10 +8288,10 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
8288
8288
|
* 註:與其他 event/member 推播一致,僅對「當前會員」生效(isForMember)。
|
|
8289
8289
|
*/
|
|
8290
8290
|
case ye.EVENT_CLAIMABLE:
|
|
8291
|
-
if (
|
|
8291
|
+
if (pe) {
|
|
8292
8292
|
r.invalidateQueries({ queryKey: ["checkEventStatus"] });
|
|
8293
|
-
const
|
|
8294
|
-
(Array.isArray(
|
|
8293
|
+
const oe = q.data?.event_uid;
|
|
8294
|
+
(Array.isArray(oe) ? oe.length > 0 : oe != null) && Q?.(q);
|
|
8295
8295
|
}
|
|
8296
8296
|
return;
|
|
8297
8297
|
/**
|
|
@@ -8299,16 +8299,30 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
8299
8299
|
* 訊息格式:{ type:'remote_off', member_info_uid:["機台編號",...], data:null }
|
|
8300
8300
|
* 本機 machine_number 在名單內 → 通知外殼 closethismic(打開黑屏)。
|
|
8301
8301
|
*/
|
|
8302
|
-
case ye.REMOTE_OFF:
|
|
8303
|
-
$n(q.memberInfoUid, C)
|
|
8302
|
+
case ye.REMOTE_OFF: {
|
|
8303
|
+
const oe = $n(q.memberInfoUid, C);
|
|
8304
|
+
console.log("[WS remote_off]", {
|
|
8305
|
+
machine_number: C,
|
|
8306
|
+
targets: q.memberInfoUid,
|
|
8307
|
+
matched: oe,
|
|
8308
|
+
sent: oe ? "closethismic" : null
|
|
8309
|
+
}), oe && qn("closethismic");
|
|
8304
8310
|
return;
|
|
8311
|
+
}
|
|
8305
8312
|
/**
|
|
8306
8313
|
* remote_on:遠端解鎖。
|
|
8307
8314
|
* 本機 machine_number 在名單內 → 通知外殼 openthismic(關閉黑屏)。
|
|
8308
8315
|
*/
|
|
8309
|
-
case ye.REMOTE_ON:
|
|
8310
|
-
$n(q.memberInfoUid, C)
|
|
8316
|
+
case ye.REMOTE_ON: {
|
|
8317
|
+
const oe = $n(q.memberInfoUid, C);
|
|
8318
|
+
console.log("[WS remote_on]", {
|
|
8319
|
+
machine_number: C,
|
|
8320
|
+
targets: q.memberInfoUid,
|
|
8321
|
+
matched: oe,
|
|
8322
|
+
sent: oe ? "openthismic" : null
|
|
8323
|
+
}), oe && qn("openthismic");
|
|
8311
8324
|
return;
|
|
8325
|
+
}
|
|
8312
8326
|
default:
|
|
8313
8327
|
console.warn("Unknown socket type:", X);
|
|
8314
8328
|
break;
|
|
@@ -8348,7 +8362,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
8348
8362
|
}
|
|
8349
8363
|
});
|
|
8350
8364
|
}, [g, o, l, f]);
|
|
8351
|
-
const W =
|
|
8365
|
+
const W = me(null);
|
|
8352
8366
|
W.current = I;
|
|
8353
8367
|
const z = M((B) => {
|
|
8354
8368
|
W.current?.(B);
|
|
@@ -8812,7 +8826,7 @@ const ss = /* @__PURE__ */ Di(os), ms = ({
|
|
|
8812
8826
|
}
|
|
8813
8827
|
});
|
|
8814
8828
|
}, u0 = ({ options: e } = {}) => {
|
|
8815
|
-
const { rankingGameApi: t } =
|
|
8829
|
+
const { rankingGameApi: t } = se();
|
|
8816
8830
|
return Y({
|
|
8817
8831
|
queryKey: ["rankingGame"],
|
|
8818
8832
|
queryFn: async () => t(),
|
|
@@ -9154,7 +9168,7 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
9154
9168
|
}, onAction: o = () => {
|
|
9155
9169
|
}, onMessage: m = () => {
|
|
9156
9170
|
}, debounce: g = 0, throttle: p = 0, eventsThrottle: f = 200, startOnMount: y = !0, startManually: _ = !1, stopOnIdle: c = !1, crossTab: U = !1, name: C = "idle-timer", syncTimers: v = 0, leaderElection: T = !1, disabled: h = !1 } = {}) {
|
|
9157
|
-
let D =
|
|
9171
|
+
let D = me(Ne()), H = me(Ne()), k = me(null), S = me(null), F = me(0), A = me(0), R = me(0), L = me(0), G = me(!1), I = me(!1), W = me(!1), z = me(!0), B = me(!1), N = me(null), E = me(null), w = me(e), P = me(0);
|
|
9158
9172
|
fe(() => {
|
|
9159
9173
|
if (t && console.warn("⚠️ IdleTimer -- The `promptTimeout` property has been deprecated in favor of `promptBeforeIdle`. It will be removed in the next major release."), a && t) throw new Error("❌ Both promptTimeout and promptBeforeIdle can not be set. The promptTimeout property will be deprecated in a future version.");
|
|
9160
9174
|
if (e >= Va) throw new Error(`❌ The value for the timeout property must fit in a 32 bit signed integer, ${Va}.`);
|
|
@@ -9166,42 +9180,42 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
9166
9180
|
G.current && (q.current(null, Re), E.current && E.current.active()), ia();
|
|
9167
9181
|
}
|
|
9168
9182
|
}, [e, t, a, _, h]);
|
|
9169
|
-
let ae =
|
|
9183
|
+
let ae = me(c);
|
|
9170
9184
|
fe(() => {
|
|
9171
9185
|
ae.current = c;
|
|
9172
9186
|
}, [c]);
|
|
9173
|
-
let te =
|
|
9187
|
+
let te = me(b), le = me(n), O = me([...(/* @__PURE__ */ new Set([...s, ...b])).values()]), J = me(h);
|
|
9174
9188
|
fe(() => {
|
|
9175
9189
|
J.current = h, !z.current && (h ? Ke() : _ || ia());
|
|
9176
9190
|
}, [h]);
|
|
9177
|
-
let Z =
|
|
9191
|
+
let Z = me(d);
|
|
9178
9192
|
fe(() => {
|
|
9179
9193
|
Z.current = d;
|
|
9180
9194
|
}, [d]);
|
|
9181
|
-
let Q =
|
|
9195
|
+
let Q = me(l);
|
|
9182
9196
|
fe(() => {
|
|
9183
9197
|
Q.current = l;
|
|
9184
9198
|
}, [l]);
|
|
9185
|
-
let X =
|
|
9199
|
+
let X = me(i);
|
|
9186
9200
|
fe(() => {
|
|
9187
9201
|
X.current = i;
|
|
9188
9202
|
}, [i]);
|
|
9189
|
-
let q =
|
|
9203
|
+
let q = me(r);
|
|
9190
9204
|
fe(() => {
|
|
9191
9205
|
q.current = r;
|
|
9192
9206
|
}, [r]);
|
|
9193
|
-
let
|
|
9207
|
+
let pe = me(o);
|
|
9194
9208
|
fe(() => {
|
|
9195
|
-
|
|
9209
|
+
pe.current = o;
|
|
9196
9210
|
}, [o]);
|
|
9197
|
-
let Ce =
|
|
9211
|
+
let Ce = me(m);
|
|
9198
9212
|
fe(() => {
|
|
9199
9213
|
Ce.current = m;
|
|
9200
9214
|
}, [m]);
|
|
9201
9215
|
let be = ka(() => {
|
|
9202
|
-
let K = (Pe, la) =>
|
|
9216
|
+
let K = (Pe, la) => pe.current(Pe, la);
|
|
9203
9217
|
return g > 0 ? Xs(K, g) : p > 0 ? yi(K, p) : K;
|
|
9204
|
-
}, [p, g]), Ye =
|
|
9218
|
+
}, [p, g]), Ye = me();
|
|
9205
9219
|
fe(() => {
|
|
9206
9220
|
U && v && (Ye.current = yi(() => {
|
|
9207
9221
|
E.current.active();
|
|
@@ -9215,7 +9229,7 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
9215
9229
|
!I.current && !G.current && (Q.current(K, Re), Z.current({ type: "active", prompted: !0 }, Re)), L.current = 0, R.current = Ne(), I.current = !0, Ge(P.current, !1);
|
|
9216
9230
|
}, Me = () => {
|
|
9217
9231
|
he(), G.current || (X.current(null, Re), Z.current({ type: "idle" }, Re)), G.current = !0, k.current = Ne(), ae.current ? We() : I.current && (R.current = 0, I.current = !1);
|
|
9218
|
-
},
|
|
9232
|
+
}, oe = (K) => {
|
|
9219
9233
|
he(), (G.current || I.current) && (q.current(K, Re), Z.current({ type: "active", prompted: !1 }, Re)), I.current = !1, R.current = 0, G.current = !1, F.current += Ne() - k.current, A.current += Ne() - k.current, xe(), Ge();
|
|
9220
9234
|
}, ke = (K) => {
|
|
9221
9235
|
if (!G.current) {
|
|
@@ -9228,7 +9242,7 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
9228
9242
|
E.current ? E.current.idle() : Me();
|
|
9229
9243
|
return;
|
|
9230
9244
|
}
|
|
9231
|
-
E.current ? E.current.active() :
|
|
9245
|
+
E.current ? E.current.active() : oe(K);
|
|
9232
9246
|
}, He = (K) => {
|
|
9233
9247
|
if (!y && !S.current && (S.current = Ne(), q.current(null, Re)), be(K, Re), I.current) return;
|
|
9234
9248
|
if (he(), !G.current && te.current.includes(K.type)) {
|
|
@@ -9241,11 +9255,11 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
9241
9255
|
return;
|
|
9242
9256
|
}
|
|
9243
9257
|
W.current = !1, L.current = 0, R.current = 0, Ge(), U && v && Ye.current();
|
|
9244
|
-
}, ze =
|
|
9258
|
+
}, ze = me(He);
|
|
9245
9259
|
fe(() => {
|
|
9246
9260
|
let K = B.current;
|
|
9247
9261
|
K && We(), f > 0 ? ze.current = yi(He, f) : ze.current = He, K && xe();
|
|
9248
|
-
}, [f, p, g,
|
|
9262
|
+
}, [f, p, g, pe, U, v]);
|
|
9249
9263
|
let xe = () => {
|
|
9250
9264
|
_a && le.current && (B.current || (O.current.forEach((K) => {
|
|
9251
9265
|
le.current.addEventListener(K, ze.current, { capture: !0, passive: !0 });
|
|
@@ -9254,7 +9268,7 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
9254
9268
|
_a && le.current && (B.current || K) && (O.current.forEach((Pe) => {
|
|
9255
9269
|
le.current.removeEventListener(Pe, ze.current, { capture: !0 });
|
|
9256
9270
|
}), B.current = !1);
|
|
9257
|
-
}, ia = M((K) => J.current ? !1 : (he(), xe(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !K && E.current.start(), Ge(), !0), [N, G, J, w, E]), ua = M((K) => J.current ? !1 : (he(), xe(), H.current = Ne(), F.current += Ne() - k.current, A.current += Ne() - k.current, F.current = 0, G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !K && E.current.reset(), _ || Ge(), !0), [N, G, w, _, J, E]), ba = M((K) => J.current ? !1 : (he(), xe(), (G.current || I.current) &&
|
|
9271
|
+
}, ia = M((K) => J.current ? !1 : (he(), xe(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !K && E.current.start(), Ge(), !0), [N, G, J, w, E]), ua = M((K) => J.current ? !1 : (he(), xe(), H.current = Ne(), F.current += Ne() - k.current, A.current += Ne() - k.current, F.current = 0, G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, E.current && !K && E.current.reset(), _ || Ge(), !0), [N, G, w, _, J, E]), ba = M((K) => J.current ? !1 : (he(), xe(), (G.current || I.current) && oe(), G.current = !1, I.current = !1, W.current = !1, L.current = 0, R.current = 0, H.current = Ne(), E.current && !K && E.current.activate(), Ge(), !0), [N, G, I, J, w, E]), Ke = M((K = !1) => J.current || W.current ? !1 : (L.current = Sa(), W.current = !0, We(), he(), E.current && !K && E.current.pause(), !0), [N, J, E]), na = M((K = !1) => J.current || !W.current ? !1 : (W.current = !1, I.current || xe(), G.current || Ge(L.current), R.current && (R.current = Ne()), E.current && !K && E.current.resume(), !0), [N, w, J, L, E]), Ya = M((K, Pe) => (E.current ? (Pe && Ce.current(K, Re), E.current.message(K)) : Pe && Ce.current(K, Re), !0), [m]), Fa = M(() => G.current, [G]), Aa = M(() => I.current, [I]), Xa = M(() => E.current ? E.current.isLeader : null, [E]), et = M(() => E.current ? E.current.isLastActive : null, [E]), Ua = M(() => E.current ? E.current.token : null, [E]), Sa = M(() => {
|
|
9258
9272
|
if (W.current) return L.current;
|
|
9259
9273
|
let K = L.current ? L.current : P.current + w.current, Pe = S.current ? Ne() - S.current : 0, la = Math.floor(K - Pe);
|
|
9260
9274
|
return la < 0 ? 0 : Math.abs(la);
|
|
@@ -9280,7 +9294,7 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
9280
9294
|
}, onIdle: () => {
|
|
9281
9295
|
Me();
|
|
9282
9296
|
}, onActive: () => {
|
|
9283
|
-
|
|
9297
|
+
oe();
|
|
9284
9298
|
}, onMessage: (K) => {
|
|
9285
9299
|
Ce.current(K, Re);
|
|
9286
9300
|
}, start: ia, reset: ua, activate: ba, pause: Ke, resume: na }) : E.current = null;
|
|
@@ -9304,7 +9318,7 @@ function em({ timeout: e = 1e3 * 60 * 20, promptTimeout: t = 0, promptBeforeIdle
|
|
|
9304
9318
|
}, setOnActive: (K) => {
|
|
9305
9319
|
r = K, q.current = K;
|
|
9306
9320
|
}, setOnAction: (K) => {
|
|
9307
|
-
o = K,
|
|
9321
|
+
o = K, pe.current = K;
|
|
9308
9322
|
}, setOnMessage: (K) => {
|
|
9309
9323
|
m = K, Ce.current = K;
|
|
9310
9324
|
} };
|
|
@@ -10691,7 +10705,7 @@ const Vr = [], Rm = () => [
|
|
|
10691
10705
|
}) => ({
|
|
10692
10706
|
vipList: Bm({ options: e.vipList })
|
|
10693
10707
|
}), Z0 = ({ onMessage: e } = {}) => {
|
|
10694
|
-
const [t, a] = je(!1), [n, s] = je([]), u =
|
|
10708
|
+
const [t, a] = je(!1), [n, s] = je([]), u = me(e);
|
|
10695
10709
|
u.current = e;
|
|
10696
10710
|
const b = M((_) => {
|
|
10697
10711
|
const c = (/* @__PURE__ */ new Date()).toLocaleTimeString("zh-TW");
|
|
@@ -11048,7 +11062,7 @@ const Vr = [], Rm = () => [
|
|
|
11048
11062
|
},
|
|
11049
11063
|
user: { favorite: [] }
|
|
11050
11064
|
}, Qm = ({ enabled: e = !0 } = {}) => {
|
|
11051
|
-
const { getToken: t } = re(), { userFavoriteGameApi: a, userGameListApi: n } =
|
|
11065
|
+
const { getToken: t } = re(), { userFavoriteGameApi: a, userGameListApi: n } = se(), { data: s, isLoading: u, error: b, refetch: d } = Y({
|
|
11052
11066
|
queryKey: ["gamesInfo"],
|
|
11053
11067
|
queryFn: async () => {
|
|
11054
11068
|
let l = {}, i = {};
|
|
@@ -37673,7 +37687,7 @@ const Y0 = () => {
|
|
|
37673
37687
|
});
|
|
37674
37688
|
}
|
|
37675
37689
|
}
|
|
37676
|
-
}), b =
|
|
37690
|
+
}), b = me(!1);
|
|
37677
37691
|
return fe(() => {
|
|
37678
37692
|
if (b.current) return;
|
|
37679
37693
|
const d = new URLSearchParams(window.location.search), l = d.get("bind_type"), i = d.get("bind_id");
|
|
@@ -38034,7 +38048,7 @@ const Y0 = () => {
|
|
|
38034
38048
|
);
|
|
38035
38049
|
}, ep = ({ onFunction: e = () => {
|
|
38036
38050
|
}, buttonProps: t = {} } = {}) => {
|
|
38037
|
-
const { lineConfig: a } = re(), n =
|
|
38051
|
+
const { lineConfig: a } = re(), n = me(!1), s = j(a, "liffId", ""), u = new URLSearchParams(window.location.search), b = u.get("line_login"), d = u.get("trans_code"), l = u.get("line_id"), i = u.get("line_name"), r = u.get("invite_code"), { mutate: o, isPending: m } = Sr({
|
|
38038
38052
|
options: {
|
|
38039
38053
|
onSuccess: (p) => {
|
|
38040
38054
|
e(p);
|
|
@@ -38090,14 +38104,14 @@ var tu = Object.defineProperty, ii = Object.getOwnPropertySymbols, Kr = Object.p
|
|
|
38090
38104
|
};
|
|
38091
38105
|
var Ma;
|
|
38092
38106
|
((e) => {
|
|
38093
|
-
const t = class
|
|
38107
|
+
const t = class ue {
|
|
38094
38108
|
/*-- Constructor (low level) and fields --*/
|
|
38095
38109
|
// Creates a new QR Code with the given version number,
|
|
38096
38110
|
// error correction level, data codeword bytes, and mask number.
|
|
38097
38111
|
// This is a low-level API that most users should not use directly.
|
|
38098
38112
|
// A mid-level API is the encodeSegments() function.
|
|
38099
38113
|
constructor(l, i, r, o) {
|
|
38100
|
-
if (this.version = l, this.errorCorrectionLevel = i, this.modules = [], this.isFunction = [], l <
|
|
38114
|
+
if (this.version = l, this.errorCorrectionLevel = i, this.modules = [], this.isFunction = [], l < ue.MIN_VERSION || l > ue.MAX_VERSION)
|
|
38101
38115
|
throw new RangeError("Version value out of range");
|
|
38102
38116
|
if (o < -1 || o > 7)
|
|
38103
38117
|
throw new RangeError("Mask value out of range");
|
|
@@ -38127,7 +38141,7 @@ var Ma;
|
|
|
38127
38141
|
// ecl argument if it can be done without increasing the version.
|
|
38128
38142
|
static encodeText(l, i) {
|
|
38129
38143
|
const r = e.QrSegment.makeSegments(l);
|
|
38130
|
-
return
|
|
38144
|
+
return ue.encodeSegments(r, i);
|
|
38131
38145
|
}
|
|
38132
38146
|
// Returns a QR Code representing the given binary data at the given error correction level.
|
|
38133
38147
|
// This function always encodes using the binary segment mode, not any text mode. The maximum number of
|
|
@@ -38135,7 +38149,7 @@ var Ma;
|
|
|
38135
38149
|
// The ECC level of the result may be higher than the ecl argument if it can be done without increasing the version.
|
|
38136
38150
|
static encodeBinary(l, i) {
|
|
38137
38151
|
const r = e.QrSegment.makeBytes(l);
|
|
38138
|
-
return
|
|
38152
|
+
return ue.encodeSegments([r], i);
|
|
38139
38153
|
}
|
|
38140
38154
|
/*-- Static factory functions (mid level) --*/
|
|
38141
38155
|
// Returns a QR Code representing the given segments with the given encoding parameters.
|
|
@@ -38148,11 +38162,11 @@ var Ma;
|
|
|
38148
38162
|
// between modes (such as alphanumeric and byte) to encode text in less space.
|
|
38149
38163
|
// This is a mid-level API; the high-level API is encodeText() and encodeBinary().
|
|
38150
38164
|
static encodeSegments(l, i, r = 1, o = 40, m = -1, g = !0) {
|
|
38151
|
-
if (!(
|
|
38165
|
+
if (!(ue.MIN_VERSION <= r && r <= o && o <= ue.MAX_VERSION) || m < -1 || m > 7)
|
|
38152
38166
|
throw new RangeError("Invalid value");
|
|
38153
38167
|
let p, f;
|
|
38154
38168
|
for (p = r; ; p++) {
|
|
38155
|
-
const U =
|
|
38169
|
+
const U = ue.getNumDataCodewords(p, i) * 8, C = b.getTotalBits(l, p);
|
|
38156
38170
|
if (C <= U) {
|
|
38157
38171
|
f = C;
|
|
38158
38172
|
break;
|
|
@@ -38160,8 +38174,8 @@ var Ma;
|
|
|
38160
38174
|
if (p >= o)
|
|
38161
38175
|
throw new RangeError("Data too long");
|
|
38162
38176
|
}
|
|
38163
|
-
for (const U of [
|
|
38164
|
-
g && f <=
|
|
38177
|
+
for (const U of [ue.Ecc.MEDIUM, ue.Ecc.QUARTILE, ue.Ecc.HIGH])
|
|
38178
|
+
g && f <= ue.getNumDataCodewords(p, U) * 8 && (i = U);
|
|
38165
38179
|
let y = [];
|
|
38166
38180
|
for (const U of l) {
|
|
38167
38181
|
a(U.mode.modeBits, 4, y), a(U.numChars, U.mode.numCharCountBits(p), y);
|
|
@@ -38169,14 +38183,14 @@ var Ma;
|
|
|
38169
38183
|
y.push(C);
|
|
38170
38184
|
}
|
|
38171
38185
|
s(y.length == f);
|
|
38172
|
-
const _ =
|
|
38186
|
+
const _ = ue.getNumDataCodewords(p, i) * 8;
|
|
38173
38187
|
s(y.length <= _), a(0, Math.min(4, _ - y.length), y), a(0, (8 - y.length % 8) % 8, y), s(y.length % 8 == 0);
|
|
38174
38188
|
for (let U = 236; y.length < _; U ^= 253)
|
|
38175
38189
|
a(U, 8, y);
|
|
38176
38190
|
let c = [];
|
|
38177
38191
|
for (; c.length * 8 < y.length; )
|
|
38178
38192
|
c.push(0);
|
|
38179
|
-
return y.forEach((U, C) => c[C >>> 3] |= U << 7 - (C & 7)), new
|
|
38193
|
+
return y.forEach((U, C) => c[C >>> 3] |= U << 7 - (C & 7)), new ue(p, i, c, m);
|
|
38180
38194
|
}
|
|
38181
38195
|
/*-- Accessor methods --*/
|
|
38182
38196
|
// Returns the color of the module (pixel) at the given coordinates, which is false
|
|
@@ -38262,15 +38276,15 @@ var Ma;
|
|
|
38262
38276
|
// codewords appended to it, based on this object's version and error correction level.
|
|
38263
38277
|
addEccAndInterleave(l) {
|
|
38264
38278
|
const i = this.version, r = this.errorCorrectionLevel;
|
|
38265
|
-
if (l.length !=
|
|
38279
|
+
if (l.length != ue.getNumDataCodewords(i, r))
|
|
38266
38280
|
throw new RangeError("Invalid argument");
|
|
38267
|
-
const o =
|
|
38281
|
+
const o = ue.NUM_ERROR_CORRECTION_BLOCKS[r.ordinal][i], m = ue.ECC_CODEWORDS_PER_BLOCK[r.ordinal][i], g = Math.floor(ue.getNumRawDataModules(i) / 8), p = o - g % o, f = Math.floor(g / o);
|
|
38268
38282
|
let y = [];
|
|
38269
|
-
const _ =
|
|
38283
|
+
const _ = ue.reedSolomonComputeDivisor(m);
|
|
38270
38284
|
for (let U = 0, C = 0; U < o; U++) {
|
|
38271
38285
|
let v = l.slice(C, C + f - m + (U < p ? 0 : 1));
|
|
38272
38286
|
C += v.length;
|
|
38273
|
-
const T =
|
|
38287
|
+
const T = ue.reedSolomonComputeRemainder(v, _);
|
|
38274
38288
|
U < p && v.push(0), y.push(v.concat(T));
|
|
38275
38289
|
}
|
|
38276
38290
|
let c = [];
|
|
@@ -38283,7 +38297,7 @@ var Ma;
|
|
|
38283
38297
|
// Draws the given sequence of 8-bit codewords (data and error correction) onto the entire
|
|
38284
38298
|
// data area of this QR Code. Function modules need to be marked off before this is called.
|
|
38285
38299
|
drawCodewords(l) {
|
|
38286
|
-
if (l.length != Math.floor(
|
|
38300
|
+
if (l.length != Math.floor(ue.getNumRawDataModules(this.version) / 8))
|
|
38287
38301
|
throw new RangeError("Invalid argument");
|
|
38288
38302
|
let i = 0;
|
|
38289
38303
|
for (let r = this.size - 1; r >= 1; r -= 2) {
|
|
@@ -38345,25 +38359,25 @@ var Ma;
|
|
|
38345
38359
|
for (let m = 0; m < this.size; m++) {
|
|
38346
38360
|
let g = !1, p = 0, f = [0, 0, 0, 0, 0, 0, 0];
|
|
38347
38361
|
for (let y = 0; y < this.size; y++)
|
|
38348
|
-
this.modules[m][y] == g ? (p++, p == 5 ? l +=
|
|
38349
|
-
l += this.finderPenaltyTerminateAndCount(g, p, f) *
|
|
38362
|
+
this.modules[m][y] == g ? (p++, p == 5 ? l += ue.PENALTY_N1 : p > 5 && l++) : (this.finderPenaltyAddHistory(p, f), g || (l += this.finderPenaltyCountPatterns(f) * ue.PENALTY_N3), g = this.modules[m][y], p = 1);
|
|
38363
|
+
l += this.finderPenaltyTerminateAndCount(g, p, f) * ue.PENALTY_N3;
|
|
38350
38364
|
}
|
|
38351
38365
|
for (let m = 0; m < this.size; m++) {
|
|
38352
38366
|
let g = !1, p = 0, f = [0, 0, 0, 0, 0, 0, 0];
|
|
38353
38367
|
for (let y = 0; y < this.size; y++)
|
|
38354
|
-
this.modules[y][m] == g ? (p++, p == 5 ? l +=
|
|
38355
|
-
l += this.finderPenaltyTerminateAndCount(g, p, f) *
|
|
38368
|
+
this.modules[y][m] == g ? (p++, p == 5 ? l += ue.PENALTY_N1 : p > 5 && l++) : (this.finderPenaltyAddHistory(p, f), g || (l += this.finderPenaltyCountPatterns(f) * ue.PENALTY_N3), g = this.modules[y][m], p = 1);
|
|
38369
|
+
l += this.finderPenaltyTerminateAndCount(g, p, f) * ue.PENALTY_N3;
|
|
38356
38370
|
}
|
|
38357
38371
|
for (let m = 0; m < this.size - 1; m++)
|
|
38358
38372
|
for (let g = 0; g < this.size - 1; g++) {
|
|
38359
38373
|
const p = this.modules[m][g];
|
|
38360
|
-
p == this.modules[m][g + 1] && p == this.modules[m + 1][g] && p == this.modules[m + 1][g + 1] && (l +=
|
|
38374
|
+
p == this.modules[m][g + 1] && p == this.modules[m + 1][g] && p == this.modules[m + 1][g + 1] && (l += ue.PENALTY_N2);
|
|
38361
38375
|
}
|
|
38362
38376
|
let i = 0;
|
|
38363
38377
|
for (const m of this.modules)
|
|
38364
38378
|
i = m.reduce((g, p) => g + (p ? 1 : 0), i);
|
|
38365
38379
|
const r = this.size * this.size, o = Math.ceil(Math.abs(i * 20 - r * 10) / r) - 1;
|
|
38366
|
-
return s(0 <= o && o <= 9), l += o *
|
|
38380
|
+
return s(0 <= o && o <= 9), l += o * ue.PENALTY_N4, s(0 <= l && l <= 2568888), l;
|
|
38367
38381
|
}
|
|
38368
38382
|
/*-- Private helper functions --*/
|
|
38369
38383
|
// Returns an ascending list of positions of alignment patterns for this version number.
|
|
@@ -38384,7 +38398,7 @@ var Ma;
|
|
|
38384
38398
|
// all function modules are excluded. This includes remainder bits, so it might not be a multiple of 8.
|
|
38385
38399
|
// The result is in the range [208, 29648]. This could be implemented as a 40-entry lookup table.
|
|
38386
38400
|
static getNumRawDataModules(l) {
|
|
38387
|
-
if (l <
|
|
38401
|
+
if (l < ue.MIN_VERSION || l > ue.MAX_VERSION)
|
|
38388
38402
|
throw new RangeError("Version number out of range");
|
|
38389
38403
|
let i = (16 * l + 128) * l + 64;
|
|
38390
38404
|
if (l >= 2) {
|
|
@@ -38397,7 +38411,7 @@ var Ma;
|
|
|
38397
38411
|
// QR Code of the given version number and error correction level, with remainder bits discarded.
|
|
38398
38412
|
// This stateless pure function could be implemented as a (40*4)-cell lookup table.
|
|
38399
38413
|
static getNumDataCodewords(l, i) {
|
|
38400
|
-
return Math.floor(
|
|
38414
|
+
return Math.floor(ue.getNumRawDataModules(l) / 8) - ue.ECC_CODEWORDS_PER_BLOCK[i.ordinal][l] * ue.NUM_ERROR_CORRECTION_BLOCKS[i.ordinal][l];
|
|
38401
38415
|
}
|
|
38402
38416
|
// Returns a Reed-Solomon ECC generator polynomial for the given degree. This could be
|
|
38403
38417
|
// implemented as a lookup table over all possible parameter values, instead of as an algorithm.
|
|
@@ -38411,8 +38425,8 @@ var Ma;
|
|
|
38411
38425
|
let r = 1;
|
|
38412
38426
|
for (let o = 0; o < l; o++) {
|
|
38413
38427
|
for (let m = 0; m < i.length; m++)
|
|
38414
|
-
i[m] =
|
|
38415
|
-
r =
|
|
38428
|
+
i[m] = ue.reedSolomonMultiply(i[m], r), m + 1 < i.length && (i[m] ^= i[m + 1]);
|
|
38429
|
+
r = ue.reedSolomonMultiply(r, 2);
|
|
38416
38430
|
}
|
|
38417
38431
|
return i;
|
|
38418
38432
|
}
|
|
@@ -38421,7 +38435,7 @@ var Ma;
|
|
|
38421
38435
|
let r = i.map((o) => 0);
|
|
38422
38436
|
for (const o of l) {
|
|
38423
38437
|
const m = o ^ r.shift();
|
|
38424
|
-
r.push(0), i.forEach((g, p) => r[p] ^=
|
|
38438
|
+
r.push(0), i.forEach((g, p) => r[p] ^= ue.reedSolomonMultiply(g, m));
|
|
38425
38439
|
}
|
|
38426
38440
|
return r;
|
|
38427
38441
|
}
|
|
@@ -38940,7 +38954,7 @@ const pu = {
|
|
|
38940
38954
|
expired: "Kode QR telah kedaluwarsa"
|
|
38941
38955
|
}
|
|
38942
38956
|
}, ip = ({ forcedShow: e = !1, isVisible: t, setIsVisible: a } = {}) => {
|
|
38943
|
-
const { lng: n, getToken: s, lineConfig: u } = re(), [b, d] = je(300), [l, i] = je(!1), r =
|
|
38957
|
+
const { lng: n, getToken: s, lineConfig: u } = re(), [b, d] = je(300), [l, i] = je(!1), r = me(null), o = j(u, "liffId", ""), m = Je(n), g = s?.(), f = new URLSearchParams(window.location.search).get("mac") || Ci.get("machine_mac_address") || "", { data: y, isFetching: _ } = Es({
|
|
38944
38958
|
formData: {
|
|
38945
38959
|
mac_address: f
|
|
38946
38960
|
},
|