60p82u21t54k 0.1.69 → 0.1.71
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/60p82u21t54k.es.js
CHANGED
|
@@ -2,7 +2,7 @@ var fn = Object.defineProperty;
|
|
|
2
2
|
var gn = (e, n, t) => n in e ? fn(e, n, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[n] = t;
|
|
3
3
|
var h = (e, n, t) => gn(e, typeof n != "symbol" ? n + "" : n, t);
|
|
4
4
|
import Ht from "axios";
|
|
5
|
-
const
|
|
5
|
+
const re = Ht.create({
|
|
6
6
|
baseURL: "",
|
|
7
7
|
timeout: 15e3,
|
|
8
8
|
// Request timeout
|
|
@@ -48,11 +48,11 @@ const ne = Ht.create({
|
|
|
48
48
|
// },
|
|
49
49
|
// },
|
|
50
50
|
});
|
|
51
|
-
|
|
51
|
+
re.interceptors.request.use(
|
|
52
52
|
(e) => e,
|
|
53
53
|
(e) => (console.error("Error request:", e.response), Promise.reject(e))
|
|
54
54
|
);
|
|
55
|
-
|
|
55
|
+
re.interceptors.response.use(
|
|
56
56
|
(e) => e,
|
|
57
57
|
(e) => {
|
|
58
58
|
const n = {
|
|
@@ -89,8 +89,8 @@ function Te() {
|
|
|
89
89
|
return vn;
|
|
90
90
|
}
|
|
91
91
|
function le(e, n) {
|
|
92
|
-
var d, g, f,
|
|
93
|
-
const t = Te(), r = (n == null ? void 0 : n.weekStartsOn) ?? ((g = (d = n == null ? void 0 : n.locale) == null ? void 0 : d.options) == null ? void 0 : g.weekStartsOn) ?? t.weekStartsOn ?? ((
|
|
92
|
+
var d, g, f, y;
|
|
93
|
+
const t = Te(), r = (n == null ? void 0 : n.weekStartsOn) ?? ((g = (d = n == null ? void 0 : n.locale) == null ? void 0 : d.options) == null ? void 0 : g.weekStartsOn) ?? t.weekStartsOn ?? ((y = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : y.weekStartsOn) ?? 0, a = W(e, n == null ? void 0 : n.in), s = a.getDay(), o = (s < r ? 7 : 0) + s - r;
|
|
94
94
|
return a.setDate(a.getDate() - o), a.setHours(0, 0, 0, 0), a;
|
|
95
95
|
}
|
|
96
96
|
function _e(e, n) {
|
|
@@ -440,8 +440,8 @@ function Me(e) {
|
|
|
440
440
|
// [TODO] -- I challenge you to fix the type
|
|
441
441
|
t.valueCallback(f)
|
|
442
442
|
) : f;
|
|
443
|
-
const
|
|
444
|
-
return { value: f, rest:
|
|
443
|
+
const y = n.slice(o.length);
|
|
444
|
+
return { value: f, rest: y };
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
447
|
function Hn(e, n) {
|
|
@@ -591,8 +591,8 @@ function Xt(e, n) {
|
|
|
591
591
|
return Math.round(r / $t) + 1;
|
|
592
592
|
}
|
|
593
593
|
function Xe(e, n) {
|
|
594
|
-
var
|
|
595
|
-
const t = W(e, n == null ? void 0 : n.in), r = t.getFullYear(), a = Te(), s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((w = (
|
|
594
|
+
var y, w, _, p;
|
|
595
|
+
const t = W(e, n == null ? void 0 : n.in), r = t.getFullYear(), a = Te(), s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((w = (y = n == null ? void 0 : n.locale) == null ? void 0 : y.options) == null ? void 0 : w.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((p = (_ = a.locale) == null ? void 0 : _.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, o = Y((n == null ? void 0 : n.in) || e, 0);
|
|
596
596
|
o.setFullYear(r + 1, 0, s), o.setHours(0, 0, 0, 0);
|
|
597
597
|
const d = le(o, n), g = Y((n == null ? void 0 : n.in) || e, 0);
|
|
598
598
|
g.setFullYear(r, 0, s), g.setHours(0, 0, 0, 0);
|
|
@@ -600,8 +600,8 @@ function Xe(e, n) {
|
|
|
600
600
|
return +t >= +d ? r + 1 : +t >= +f ? r : r - 1;
|
|
601
601
|
}
|
|
602
602
|
function ir(e, n) {
|
|
603
|
-
var d, g, f,
|
|
604
|
-
const t = Te(), r = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((g = (d = n == null ? void 0 : n.locale) == null ? void 0 : d.options) == null ? void 0 : g.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((
|
|
603
|
+
var d, g, f, y;
|
|
604
|
+
const t = Te(), r = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((g = (d = n == null ? void 0 : n.locale) == null ? void 0 : d.options) == null ? void 0 : g.firstWeekContainsDate) ?? t.firstWeekContainsDate ?? ((y = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : y.firstWeekContainsDate) ?? 1, a = Xe(e, n), s = Y((n == null ? void 0 : n.in) || e, 0);
|
|
605
605
|
return s.setFullYear(a, 0, r), s.setHours(0, 0, 0, 0), le(s, n);
|
|
606
606
|
}
|
|
607
607
|
function Zt(e, n) {
|
|
@@ -1104,11 +1104,11 @@ const ue = {
|
|
|
1104
1104
|
return vt(r);
|
|
1105
1105
|
case "XXXX":
|
|
1106
1106
|
case "XX":
|
|
1107
|
-
return
|
|
1107
|
+
return ge(r);
|
|
1108
1108
|
case "XXXXX":
|
|
1109
1109
|
case "XXX":
|
|
1110
1110
|
default:
|
|
1111
|
-
return
|
|
1111
|
+
return ge(r, ":");
|
|
1112
1112
|
}
|
|
1113
1113
|
},
|
|
1114
1114
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -1119,11 +1119,11 @@ const ue = {
|
|
|
1119
1119
|
return vt(r);
|
|
1120
1120
|
case "xxxx":
|
|
1121
1121
|
case "xx":
|
|
1122
|
-
return
|
|
1122
|
+
return ge(r);
|
|
1123
1123
|
case "xxxxx":
|
|
1124
1124
|
case "xxx":
|
|
1125
1125
|
default:
|
|
1126
|
-
return
|
|
1126
|
+
return ge(r, ":");
|
|
1127
1127
|
}
|
|
1128
1128
|
},
|
|
1129
1129
|
// Timezone (GMT)
|
|
@@ -1136,7 +1136,7 @@ const ue = {
|
|
|
1136
1136
|
return "GMT" + Tt(r, ":");
|
|
1137
1137
|
case "OOOO":
|
|
1138
1138
|
default:
|
|
1139
|
-
return "GMT" +
|
|
1139
|
+
return "GMT" + ge(r, ":");
|
|
1140
1140
|
}
|
|
1141
1141
|
},
|
|
1142
1142
|
// Timezone (specific non-location)
|
|
@@ -1149,7 +1149,7 @@ const ue = {
|
|
|
1149
1149
|
return "GMT" + Tt(r, ":");
|
|
1150
1150
|
case "zzzz":
|
|
1151
1151
|
default:
|
|
1152
|
-
return "GMT" +
|
|
1152
|
+
return "GMT" + ge(r, ":");
|
|
1153
1153
|
}
|
|
1154
1154
|
},
|
|
1155
1155
|
// Seconds timestamp
|
|
@@ -1167,9 +1167,9 @@ function Tt(e, n = "") {
|
|
|
1167
1167
|
return s === 0 ? t + String(a) : t + String(a) + n + R(s, 2);
|
|
1168
1168
|
}
|
|
1169
1169
|
function vt(e, n) {
|
|
1170
|
-
return e % 60 === 0 ? (e > 0 ? "-" : "+") + R(Math.abs(e) / 60, 2) :
|
|
1170
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + R(Math.abs(e) / 60, 2) : ge(e, n);
|
|
1171
1171
|
}
|
|
1172
|
-
function
|
|
1172
|
+
function ge(e, n = "") {
|
|
1173
1173
|
const t = e > 0 ? "-" : "+", r = Math.abs(e), a = R(Math.trunc(r / 60), 2), s = R(r % 60, 2);
|
|
1174
1174
|
return t + a + n + s;
|
|
1175
1175
|
}
|
|
@@ -1238,8 +1238,8 @@ function mr(e, n, t) {
|
|
|
1238
1238
|
}
|
|
1239
1239
|
const fr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, gr = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, pr = /^'([^]*?)'?$/, br = /''/g, yr = /[a-zA-Z]/;
|
|
1240
1240
|
function hr(e, n, t) {
|
|
1241
|
-
var
|
|
1242
|
-
const r = Te(), a = (t == null ? void 0 : t.locale) ?? r.locale ?? Qt, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((w = (
|
|
1241
|
+
var y, w, _, p, M, N, B, H;
|
|
1242
|
+
const r = Te(), a = (t == null ? void 0 : t.locale) ?? r.locale ?? Qt, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((w = (y = t == null ? void 0 : t.locale) == null ? void 0 : y.options) == null ? void 0 : w.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((p = (_ = r.locale) == null ? void 0 : _.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, o = (t == null ? void 0 : t.weekStartsOn) ?? ((N = (M = t == null ? void 0 : t.locale) == null ? void 0 : M.options) == null ? void 0 : N.weekStartsOn) ?? r.weekStartsOn ?? ((H = (B = r.locale) == null ? void 0 : B.options) == null ? void 0 : H.weekStartsOn) ?? 0, d = W(e, t == null ? void 0 : t.in);
|
|
1243
1243
|
if (!Dn(d))
|
|
1244
1244
|
throw new RangeError("Invalid time value");
|
|
1245
1245
|
let g = n.match(gr).map((T) => {
|
|
@@ -1411,7 +1411,7 @@ const L = {
|
|
|
1411
1411
|
// 0 to 999, -0 to -999
|
|
1412
1412
|
fourDigitsSigned: /^-?\d{1,4}/
|
|
1413
1413
|
// 0 to 9999, -0 to -9999
|
|
1414
|
-
},
|
|
1414
|
+
}, ee = {
|
|
1415
1415
|
basicOptionalMinutes: /^([+-])(\d{2})(\d{2})?|Z/,
|
|
1416
1416
|
basic: /^([+-])(\d{2})(\d{2})|Z/,
|
|
1417
1417
|
basicOptionalSeconds: /^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,
|
|
@@ -1431,7 +1431,7 @@ function C(e, n) {
|
|
|
1431
1431
|
rest: n.slice(t[0].length)
|
|
1432
1432
|
} : null;
|
|
1433
1433
|
}
|
|
1434
|
-
function
|
|
1434
|
+
function te(e, n) {
|
|
1435
1435
|
const t = n.match(e);
|
|
1436
1436
|
if (!t)
|
|
1437
1437
|
return null;
|
|
@@ -2078,8 +2078,8 @@ class Er extends O {
|
|
|
2078
2078
|
}
|
|
2079
2079
|
function Je(e, n, t) {
|
|
2080
2080
|
var w, _, p, M;
|
|
2081
|
-
const r = Te(), a = (t == null ? void 0 : t.weekStartsOn) ?? ((_ = (w = t == null ? void 0 : t.locale) == null ? void 0 : w.options) == null ? void 0 : _.weekStartsOn) ?? r.weekStartsOn ?? ((M = (p = r.locale) == null ? void 0 : p.options) == null ? void 0 : M.weekStartsOn) ?? 0, s = W(e, t == null ? void 0 : t.in), o = s.getDay(), g = (n % 7 + 7) % 7, f = 7 - a,
|
|
2082
|
-
return Vt(s,
|
|
2081
|
+
const r = Te(), a = (t == null ? void 0 : t.weekStartsOn) ?? ((_ = (w = t == null ? void 0 : t.locale) == null ? void 0 : w.options) == null ? void 0 : _.weekStartsOn) ?? r.weekStartsOn ?? ((M = (p = r.locale) == null ? void 0 : p.options) == null ? void 0 : M.weekStartsOn) ?? 0, s = W(e, t == null ? void 0 : t.in), o = s.getDay(), g = (n % 7 + 7) % 7, f = 7 - a, y = n < 0 || n > 6 ? n - (o + f) % 7 : (g + f) % 7 - (o + f) % 7;
|
|
2082
|
+
return Vt(s, y, t);
|
|
2083
2083
|
}
|
|
2084
2084
|
class Br extends O {
|
|
2085
2085
|
constructor() {
|
|
@@ -2628,25 +2628,25 @@ class aa extends O {
|
|
|
2628
2628
|
parse(t, r) {
|
|
2629
2629
|
switch (r) {
|
|
2630
2630
|
case "X":
|
|
2631
|
-
return
|
|
2632
|
-
|
|
2631
|
+
return te(
|
|
2632
|
+
ee.basicOptionalMinutes,
|
|
2633
2633
|
t
|
|
2634
2634
|
);
|
|
2635
2635
|
case "XX":
|
|
2636
|
-
return ee
|
|
2636
|
+
return te(ee.basic, t);
|
|
2637
2637
|
case "XXXX":
|
|
2638
|
-
return
|
|
2639
|
-
|
|
2638
|
+
return te(
|
|
2639
|
+
ee.basicOptionalSeconds,
|
|
2640
2640
|
t
|
|
2641
2641
|
);
|
|
2642
2642
|
case "XXXXX":
|
|
2643
|
-
return
|
|
2644
|
-
|
|
2643
|
+
return te(
|
|
2644
|
+
ee.extendedOptionalSeconds,
|
|
2645
2645
|
t
|
|
2646
2646
|
);
|
|
2647
2647
|
case "XXX":
|
|
2648
2648
|
default:
|
|
2649
|
-
return ee
|
|
2649
|
+
return te(ee.extended, t);
|
|
2650
2650
|
}
|
|
2651
2651
|
}
|
|
2652
2652
|
set(t, r, a) {
|
|
@@ -2665,25 +2665,25 @@ class sa extends O {
|
|
|
2665
2665
|
parse(t, r) {
|
|
2666
2666
|
switch (r) {
|
|
2667
2667
|
case "x":
|
|
2668
|
-
return
|
|
2669
|
-
|
|
2668
|
+
return te(
|
|
2669
|
+
ee.basicOptionalMinutes,
|
|
2670
2670
|
t
|
|
2671
2671
|
);
|
|
2672
2672
|
case "xx":
|
|
2673
|
-
return ee
|
|
2673
|
+
return te(ee.basic, t);
|
|
2674
2674
|
case "xxxx":
|
|
2675
|
-
return
|
|
2676
|
-
|
|
2675
|
+
return te(
|
|
2676
|
+
ee.basicOptionalSeconds,
|
|
2677
2677
|
t
|
|
2678
2678
|
);
|
|
2679
2679
|
case "xxxxx":
|
|
2680
|
-
return
|
|
2681
|
-
|
|
2680
|
+
return te(
|
|
2681
|
+
ee.extendedOptionalSeconds,
|
|
2682
2682
|
t
|
|
2683
2683
|
);
|
|
2684
2684
|
case "xxx":
|
|
2685
2685
|
default:
|
|
2686
|
-
return ee
|
|
2686
|
+
return te(ee.extended, t);
|
|
2687
2687
|
}
|
|
2688
2688
|
}
|
|
2689
2689
|
set(t, r, a) {
|
|
@@ -2758,7 +2758,7 @@ function pa(e, n, t, r) {
|
|
|
2758
2758
|
firstWeekContainsDate: d,
|
|
2759
2759
|
weekStartsOn: g,
|
|
2760
2760
|
locale: o
|
|
2761
|
-
},
|
|
2761
|
+
}, y = [new Mr(r == null ? void 0 : r.in, t)], w = n.match(ca).map((v) => {
|
|
2762
2762
|
const k = v[0];
|
|
2763
2763
|
if (k in Ve) {
|
|
2764
2764
|
const q = Ve[k];
|
|
@@ -2770,14 +2770,14 @@ function pa(e, n, t, r) {
|
|
|
2770
2770
|
en(v) && Ae(v, n, e), Kt(v) && Ae(v, n, e);
|
|
2771
2771
|
const k = v[0], q = ua[k];
|
|
2772
2772
|
if (q) {
|
|
2773
|
-
const { incompatibleTokens:
|
|
2774
|
-
if (Array.isArray(
|
|
2775
|
-
const
|
|
2776
|
-
(
|
|
2773
|
+
const { incompatibleTokens: ae } = q;
|
|
2774
|
+
if (Array.isArray(ae)) {
|
|
2775
|
+
const se = _.find(
|
|
2776
|
+
(be) => ae.includes(be.token) || be.token === k
|
|
2777
2777
|
);
|
|
2778
|
-
if (
|
|
2778
|
+
if (se)
|
|
2779
2779
|
throw new RangeError(
|
|
2780
|
-
`The format string mustn't contain \`${
|
|
2780
|
+
`The format string mustn't contain \`${se.fullToken}\` and \`${v}\` at the same time`
|
|
2781
2781
|
);
|
|
2782
2782
|
} else if (q.incompatibleTokens === "*" && _.length > 0)
|
|
2783
2783
|
throw new RangeError(
|
|
@@ -2792,7 +2792,7 @@ function pa(e, n, t, r) {
|
|
|
2792
2792
|
);
|
|
2793
2793
|
if (!ce)
|
|
2794
2794
|
return a();
|
|
2795
|
-
|
|
2795
|
+
y.push(ce.setter), e = ce.rest;
|
|
2796
2796
|
} else {
|
|
2797
2797
|
if (k.match(ga))
|
|
2798
2798
|
throw new RangeError(
|
|
@@ -2806,8 +2806,8 @@ function pa(e, n, t, r) {
|
|
|
2806
2806
|
}
|
|
2807
2807
|
if (e.length > 0 && fa.test(e))
|
|
2808
2808
|
return a();
|
|
2809
|
-
const p =
|
|
2810
|
-
(v) =>
|
|
2809
|
+
const p = y.map((v) => v.priority).sort((v, k) => k - v).filter((v, k, q) => q.indexOf(v) === k).map(
|
|
2810
|
+
(v) => y.filter((k) => k.priority === v).sort((k, q) => q.subPriority - k.subPriority)
|
|
2811
2811
|
).map((v) => v[0]);
|
|
2812
2812
|
let M = W(t, r == null ? void 0 : r.in);
|
|
2813
2813
|
if (isNaN(+M)) return a();
|
|
@@ -3454,7 +3454,7 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3454
3454
|
let d = 1e3;
|
|
3455
3455
|
s < d && (d = Math.round(s));
|
|
3456
3456
|
const g = d - o;
|
|
3457
|
-
let f = "",
|
|
3457
|
+
let f = "", y = "";
|
|
3458
3458
|
if (g > 0) {
|
|
3459
3459
|
let M = Math.round((d - o) * 0.25).toString().split(""), N = [];
|
|
3460
3460
|
for (const T of M)
|
|
@@ -3465,13 +3465,13 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3465
3465
|
for (const T of M)
|
|
3466
3466
|
T !== "" && N.push(T);
|
|
3467
3467
|
for (let T = 0; T < N.length; T++)
|
|
3468
|
-
T === 0 ?
|
|
3468
|
+
T === 0 ? y += (parseInt(N[T]) + 1).toString() : y += "0";
|
|
3469
3469
|
} else
|
|
3470
|
-
f = d.toString(),
|
|
3470
|
+
f = d.toString(), y = d.toString();
|
|
3471
3471
|
return { amountList: [
|
|
3472
3472
|
o.toString(),
|
|
3473
3473
|
f,
|
|
3474
|
-
|
|
3474
|
+
y,
|
|
3475
3475
|
d.toString()
|
|
3476
3476
|
], minAmount: a, maxAmount: s };
|
|
3477
3477
|
}, Lt = (e, n) => n ? {
|
|
@@ -3516,7 +3516,7 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3516
3516
|
const d = a.bankindex ?? 0;
|
|
3517
3517
|
for (let M = 0; M < n.mdGatewayMinMax.length; M++)
|
|
3518
3518
|
n.mdGatewayMinMax[M].bankindex == d.toString() && (s = n.mdGatewayMinMax[M].min, o = n.mdGatewayMinMax[M].max);
|
|
3519
|
-
const { amountList: g, minAmount: f, maxAmount:
|
|
3519
|
+
const { amountList: g, minAmount: f, maxAmount: y } = De(
|
|
3520
3520
|
Number(s),
|
|
3521
3521
|
Number(o),
|
|
3522
3522
|
n.mdBankLevelDetail.onlinepayment_min,
|
|
@@ -3526,7 +3526,7 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3526
3526
|
name: "autoChannel",
|
|
3527
3527
|
amountList: g,
|
|
3528
3528
|
min: f,
|
|
3529
|
-
max:
|
|
3529
|
+
max: y
|
|
3530
3530
|
}, _ = a.pg.map((M) => {
|
|
3531
3531
|
const N = M.mintransaction ?? "0.00", B = M.maxtransaction ?? "0.00", { amountList: H, minAmount: T, maxAmount: S } = De(
|
|
3532
3532
|
Number(N),
|
|
@@ -3559,7 +3559,7 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3559
3559
|
const s = t.mdGatewayMinMax ?? [];
|
|
3560
3560
|
if (n.bank.length > 0 && t.mdPGSelection === "1")
|
|
3561
3561
|
a = n.bank.map((d) => {
|
|
3562
|
-
const { amountList: g, minAmount: f, maxAmount:
|
|
3562
|
+
const { amountList: g, minAmount: f, maxAmount: y } = De(
|
|
3563
3563
|
d.mintransaction ?? 0,
|
|
3564
3564
|
d.maxtransaction ?? 0,
|
|
3565
3565
|
t.mdBankLevelDetail.onlinepayment_min,
|
|
@@ -3570,14 +3570,14 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3570
3570
|
name: d.bankaccountname || "",
|
|
3571
3571
|
amountList: g,
|
|
3572
3572
|
min: f,
|
|
3573
|
-
max:
|
|
3573
|
+
max: y
|
|
3574
3574
|
};
|
|
3575
3575
|
});
|
|
3576
3576
|
else {
|
|
3577
3577
|
let d = "0.00", g = "0.00";
|
|
3578
3578
|
for (let p = 0; p < s.length; p++)
|
|
3579
3579
|
s[p].bankindex === e.toString() && (d = s[p].min, g = s[p].max);
|
|
3580
|
-
const { amountList: f, minAmount:
|
|
3580
|
+
const { amountList: f, minAmount: y, maxAmount: w } = De(
|
|
3581
3581
|
Number(d),
|
|
3582
3582
|
Number(g),
|
|
3583
3583
|
t.mdBankLevelDetail.onlinepayment_min,
|
|
@@ -3586,7 +3586,7 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3586
3586
|
id: 0,
|
|
3587
3587
|
name: "autoChannel",
|
|
3588
3588
|
amountList: f,
|
|
3589
|
-
min:
|
|
3589
|
+
min: y,
|
|
3590
3590
|
max: w
|
|
3591
3591
|
};
|
|
3592
3592
|
a.push(_);
|
|
@@ -3632,15 +3632,15 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3632
3632
|
}), ls = (e) => {
|
|
3633
3633
|
var n, t, r, a, s, o, d, g, f;
|
|
3634
3634
|
return {
|
|
3635
|
-
platformGame: ((n = e.mdGameListResult) == null ? void 0 : n.map((
|
|
3635
|
+
platformGame: ((n = e.mdGameListResult) == null ? void 0 : n.map((y) => {
|
|
3636
3636
|
var w, _;
|
|
3637
3637
|
return {
|
|
3638
|
-
code:
|
|
3639
|
-
id:
|
|
3640
|
-
name:
|
|
3641
|
-
iconUrl: `/custom/image/side_menu/${
|
|
3642
|
-
nextPage:
|
|
3643
|
-
list: (
|
|
3638
|
+
code: y.code.toLowerCase(),
|
|
3639
|
+
id: y.id,
|
|
3640
|
+
name: y.name,
|
|
3641
|
+
iconUrl: `/custom/image/side_menu/${y.code.toLowerCase()}.png?v=1`,
|
|
3642
|
+
nextPage: y.nextPage === 1,
|
|
3643
|
+
list: (y.mdPlatformProducts !== null && ((w = y.mdPlatformProducts) == null ? void 0 : w.length)) ?? !1 ? ((_ = y.mdPlatformProducts) == null ? void 0 : _.map((p) => ({
|
|
3644
3644
|
gameId: Number(p.id_GameMaster),
|
|
3645
3645
|
platformId: Number(p.id),
|
|
3646
3646
|
platformCode: p.code,
|
|
@@ -3660,38 +3660,38 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3660
3660
|
hotGameList: cs(e.mdGameLists.data) ? {
|
|
3661
3661
|
currentPage: ((t = e.mdGameLists) == null ? void 0 : t.current_page) ?? 1,
|
|
3662
3662
|
lastPage: ((r = e.mdGameLists) == null ? void 0 : r.last_page) ?? 1,
|
|
3663
|
-
data: ((s = (a = e.mdGameLists) == null ? void 0 : a.data) == null ? void 0 : s.map((
|
|
3664
|
-
gameId: Number(
|
|
3665
|
-
platformId: Number(
|
|
3666
|
-
platformCode:
|
|
3667
|
-
name:
|
|
3663
|
+
data: ((s = (a = e.mdGameLists) == null ? void 0 : a.data) == null ? void 0 : s.map((y) => ({
|
|
3664
|
+
gameId: Number(y.id),
|
|
3665
|
+
platformId: Number(y.id_PlatformProduct),
|
|
3666
|
+
platformCode: y.code_PlatformProduct,
|
|
3667
|
+
name: y.name,
|
|
3668
3668
|
flag: {
|
|
3669
3669
|
value: 0,
|
|
3670
3670
|
hot: !1,
|
|
3671
3671
|
trial: !1,
|
|
3672
3672
|
new: !1
|
|
3673
3673
|
},
|
|
3674
|
-
imageUrl: `${e.mdDomains[
|
|
3675
|
-
logoUrl: `/image/platform_logo/${
|
|
3674
|
+
imageUrl: `${e.mdDomains[y.mdDomains_id]}${y.img}?ts=${y.filemtime}`,
|
|
3675
|
+
logoUrl: `/image/platform_logo/${y.img.split("/").pop()}?v=1`,
|
|
3676
3676
|
rate: "0.00"
|
|
3677
3677
|
}))) ?? []
|
|
3678
3678
|
} : {},
|
|
3679
3679
|
platformGameList: ds(e.mdGameLists.data) ? {
|
|
3680
3680
|
currentPage: ((o = e.mdGameLists) == null ? void 0 : o.current_page) ?? 1,
|
|
3681
3681
|
lastPage: ((d = e.mdGameLists) == null ? void 0 : d.last_page) ?? 1,
|
|
3682
|
-
data: ((f = (g = e.mdGameLists) == null ? void 0 : g.data) == null ? void 0 : f.map((
|
|
3683
|
-
gameId: Number(
|
|
3684
|
-
platformId: Number(
|
|
3682
|
+
data: ((f = (g = e.mdGameLists) == null ? void 0 : g.data) == null ? void 0 : f.map((y) => ({
|
|
3683
|
+
gameId: Number(y.id),
|
|
3684
|
+
platformId: Number(y.id_PlatformProduct),
|
|
3685
3685
|
platformCode: "",
|
|
3686
|
-
name:
|
|
3686
|
+
name: y.name,
|
|
3687
3687
|
flag: {
|
|
3688
3688
|
value: 0,
|
|
3689
3689
|
hot: !1,
|
|
3690
3690
|
trial: !1,
|
|
3691
3691
|
new: !1
|
|
3692
3692
|
},
|
|
3693
|
-
imageUrl: `${e.mdDomains[
|
|
3694
|
-
logoUrl: `/image/platform_logo/${
|
|
3693
|
+
imageUrl: `${e.mdDomains[y.mdDomains_id]}${y.img}?ts=${y.filemtime}`,
|
|
3694
|
+
logoUrl: `/image/platform_logo/${y.img.split("/").pop()}?v=1`,
|
|
3695
3695
|
rate: "0.00"
|
|
3696
3696
|
}))) ?? []
|
|
3697
3697
|
} : {},
|
|
@@ -3710,7 +3710,7 @@ function ds(e) {
|
|
|
3710
3710
|
}
|
|
3711
3711
|
const ms = (e) => ({
|
|
3712
3712
|
list: e.mdGrade.map((n) => {
|
|
3713
|
-
var t, r, a, s, o, d, g, f,
|
|
3713
|
+
var t, r, a, s, o, d, g, f, y, w, _, p, M, N, B, H, T, S, v, k, q, ae, ce, se, be, Oe, ke, i, m, P, u, l, D, z, V, Z, G, J, Q, X, U, A, K, ve, de, we, me, Pe, b, nt, rt, at, st, ot, it, ut, lt, ct, dt, mt, ft, gt, pt, bt;
|
|
3714
3714
|
return {
|
|
3715
3715
|
id: n.gradeindex,
|
|
3716
3716
|
is_current_level: !1,
|
|
@@ -3736,48 +3736,56 @@ const ms = (e) => ({
|
|
|
3736
3736
|
})),
|
|
3737
3737
|
benefit_list: {
|
|
3738
3738
|
daily: {
|
|
3739
|
+
isShow: !1,
|
|
3739
3740
|
bonus: x(((r = (t = n.benefit) == null ? void 0 : t.daily) == null ? void 0 : r.bonus) ?? "0"),
|
|
3740
3741
|
bonus_name: ((s = (a = n.benefit) == null ? void 0 : a.daily) == null ? void 0 : s.bonus_name) ?? "",
|
|
3741
3742
|
turnover: x(((d = (o = n.benefit) == null ? void 0 : o.daily) == null ? void 0 : d.turnover) ?? "0"),
|
|
3742
3743
|
turnover_name: ((f = (g = n.benefit) == null ? void 0 : g.daily) == null ? void 0 : f.turnover_name) ?? ""
|
|
3743
3744
|
},
|
|
3744
3745
|
monthly: {
|
|
3745
|
-
|
|
3746
|
+
isShow: !1,
|
|
3747
|
+
bonus: x(((w = (y = n.benefit) == null ? void 0 : y.monthly) == null ? void 0 : w.bonus) ?? "0"),
|
|
3746
3748
|
bonus_name: ((p = (_ = n.benefit) == null ? void 0 : _.monthly) == null ? void 0 : p.bonus_name) ?? "",
|
|
3747
3749
|
turnover: x(((N = (M = n.benefit) == null ? void 0 : M.monthly) == null ? void 0 : N.turnover) ?? "0"),
|
|
3748
3750
|
turnover_name: ((H = (B = n.benefit) == null ? void 0 : B.monthly) == null ? void 0 : H.turnover_name) ?? ""
|
|
3749
3751
|
},
|
|
3750
3752
|
weekly: {
|
|
3753
|
+
isShow: !1,
|
|
3751
3754
|
bonus: x(((S = (T = n.benefit) == null ? void 0 : T.weekly) == null ? void 0 : S.bonus) ?? "0"),
|
|
3752
3755
|
bonus_name: ((k = (v = n.benefit) == null ? void 0 : v.weekly) == null ? void 0 : k.bonus_name) ?? "",
|
|
3753
|
-
turnover: x(((
|
|
3754
|
-
turnover_name: ((
|
|
3756
|
+
turnover: x(((ae = (q = n.benefit) == null ? void 0 : q.weekly) == null ? void 0 : ae.turnover) ?? "0"),
|
|
3757
|
+
turnover_name: ((se = (ce = n.benefit) == null ? void 0 : ce.weekly) == null ? void 0 : se.turnover_name) ?? ""
|
|
3755
3758
|
},
|
|
3756
3759
|
upgrade: {
|
|
3757
|
-
|
|
3760
|
+
isShow: !1,
|
|
3761
|
+
bonus: x(((Oe = (be = n.benefit) == null ? void 0 : be.upgrade) == null ? void 0 : Oe.bonus) ?? "0"),
|
|
3758
3762
|
bonus_name: ((i = (ke = n.benefit) == null ? void 0 : ke.upgrade) == null ? void 0 : i.bonus_name) ?? "",
|
|
3759
3763
|
turnover: x(((P = (m = n.benefit) == null ? void 0 : m.upgrade) == null ? void 0 : P.turnover) ?? "0"),
|
|
3760
3764
|
turnover_name: ((l = (u = n.benefit) == null ? void 0 : u.upgrade) == null ? void 0 : l.turnover_name) ?? ""
|
|
3761
3765
|
},
|
|
3762
3766
|
birthday: {
|
|
3767
|
+
isShow: !1,
|
|
3763
3768
|
bonus: x(((z = (D = n.benefit) == null ? void 0 : D.birthday) == null ? void 0 : z.bonus) ?? "0"),
|
|
3764
3769
|
bonus_name: ((Z = (V = n.benefit) == null ? void 0 : V.birthday) == null ? void 0 : Z.bonus_name) ?? "",
|
|
3765
3770
|
turnover: x(((J = (G = n.benefit) == null ? void 0 : G.birthday) == null ? void 0 : J.turnover) ?? "0"),
|
|
3766
3771
|
turnover_name: ((X = (Q = n.benefit) == null ? void 0 : Q.birthday) == null ? void 0 : X.turnover_name) ?? ""
|
|
3767
3772
|
},
|
|
3768
3773
|
salary_1st: {
|
|
3774
|
+
isShow: !1,
|
|
3769
3775
|
bonus: x(((A = (U = n.benefit) == null ? void 0 : U.salary_1st) == null ? void 0 : A.bonus) ?? "0"),
|
|
3770
|
-
bonus_name: ((ve = (
|
|
3771
|
-
turnover: x(((we = (
|
|
3772
|
-
turnover_name: ((Pe = (
|
|
3776
|
+
bonus_name: ((ve = (K = n.benefit) == null ? void 0 : K.salary_1st) == null ? void 0 : ve.bonus_name) ?? "",
|
|
3777
|
+
turnover: x(((we = (de = n.benefit) == null ? void 0 : de.salary_1st) == null ? void 0 : we.turnover) ?? "0"),
|
|
3778
|
+
turnover_name: ((Pe = (me = n.benefit) == null ? void 0 : me.salary_1st) == null ? void 0 : Pe.turnover_name) ?? ""
|
|
3773
3779
|
},
|
|
3774
3780
|
salary_10th: {
|
|
3775
|
-
|
|
3781
|
+
isShow: !1,
|
|
3782
|
+
bonus: x(((nt = (b = n.benefit) == null ? void 0 : b.salary_10th) == null ? void 0 : nt.bonus) ?? "0"),
|
|
3776
3783
|
bonus_name: ((at = (rt = n.benefit) == null ? void 0 : rt.salary_10th) == null ? void 0 : at.bonus_name) ?? "",
|
|
3777
3784
|
turnover: x(((ot = (st = n.benefit) == null ? void 0 : st.salary_10th) == null ? void 0 : ot.turnover) ?? "0"),
|
|
3778
3785
|
turnover_name: ((ut = (it = n.benefit) == null ? void 0 : it.salary_10th) == null ? void 0 : ut.turnover_name) ?? ""
|
|
3779
3786
|
},
|
|
3780
3787
|
salary_20th: {
|
|
3788
|
+
isShow: !1,
|
|
3781
3789
|
bonus: x(((ct = (lt = n.benefit) == null ? void 0 : lt.salary_20th) == null ? void 0 : ct.bonus) ?? "0"),
|
|
3782
3790
|
bonus_name: ((mt = (dt = n.benefit) == null ? void 0 : dt.salary_20th) == null ? void 0 : mt.bonus_name) ?? "",
|
|
3783
3791
|
turnover: x(((gt = (ft = n.benefit) == null ? void 0 : ft.salary_20th) == null ? void 0 : gt.turnover) ?? "0"),
|
|
@@ -3901,27 +3909,27 @@ const ms = (e) => ({
|
|
|
3901
3909
|
}).sort((n, t) => n.claimable && !t.claimable ? -1 : !n.claimable && t.claimable ? 1 : 0)
|
|
3902
3910
|
}), gs = (e) => ({
|
|
3903
3911
|
month: {
|
|
3904
|
-
status:
|
|
3912
|
+
status: fe(e.month)
|
|
3905
3913
|
},
|
|
3906
3914
|
week: {
|
|
3907
|
-
status:
|
|
3915
|
+
status: fe(e.week)
|
|
3908
3916
|
},
|
|
3909
3917
|
day: {
|
|
3910
|
-
status:
|
|
3918
|
+
status: fe(e.day)
|
|
3911
3919
|
},
|
|
3912
3920
|
birthday: {
|
|
3913
|
-
status:
|
|
3921
|
+
status: fe(e.birthday)
|
|
3914
3922
|
},
|
|
3915
3923
|
salary_1st: {
|
|
3916
|
-
status:
|
|
3924
|
+
status: fe(e.salary1st)
|
|
3917
3925
|
},
|
|
3918
3926
|
salary_10th: {
|
|
3919
|
-
status:
|
|
3927
|
+
status: fe(e.salary10th)
|
|
3920
3928
|
},
|
|
3921
3929
|
salary_20th: {
|
|
3922
|
-
status:
|
|
3930
|
+
status: fe(e.salary20th)
|
|
3923
3931
|
}
|
|
3924
|
-
}),
|
|
3932
|
+
}), fe = (e) => ({
|
|
3925
3933
|
claimable: e === 1,
|
|
3926
3934
|
expired: e === 0,
|
|
3927
3935
|
claimed: e === -1
|
|
@@ -4059,7 +4067,7 @@ const Os = (e) => {
|
|
|
4059
4067
|
(p) => p.combination_dimension === 4 && p.combination_position === 5
|
|
4060
4068
|
).map((p) => p.combination_combination), f = t.results.filter(
|
|
4061
4069
|
(p) => p.combination_dimension === 5 && p.combination_position === 1
|
|
4062
|
-
).map((p) => p.combination_combination),
|
|
4070
|
+
).map((p) => p.combination_combination), y = t.results.filter((p) => p.combination_dimension == 5).map((p) => p.combination_combination), w = t.results.filter(
|
|
4063
4071
|
(p) => p.combination_dimension === 6 && p.combination_position === 1
|
|
4064
4072
|
).map((p) => p.combination_combination), _ = t.results.filter((p) => p.combination_dimension === 6).map((p) => p.combination_combination);
|
|
4065
4073
|
return {
|
|
@@ -4074,7 +4082,7 @@ const Os = (e) => {
|
|
|
4074
4082
|
},
|
|
4075
4083
|
dimension_5: {
|
|
4076
4084
|
prize_1: f,
|
|
4077
|
-
all:
|
|
4085
|
+
all: y
|
|
4078
4086
|
},
|
|
4079
4087
|
dimension_6: {
|
|
4080
4088
|
prize_1: w,
|
|
@@ -4213,7 +4221,7 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4213
4221
|
statusInfo: {
|
|
4214
4222
|
id: d.status,
|
|
4215
4223
|
value: d.status == 1,
|
|
4216
|
-
desc: ((f = (g = e.subStatusModes) == null ? void 0 : g.find((
|
|
4224
|
+
desc: ((f = (g = e.subStatusModes) == null ? void 0 : g.find((y) => y.key === d.status)) == null ? void 0 : f.value) ?? ""
|
|
4217
4225
|
},
|
|
4218
4226
|
amount: x(d.amount),
|
|
4219
4227
|
dateTime: d.ledgerdatetime,
|
|
@@ -4443,29 +4451,29 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4443
4451
|
if (e.status == 0)
|
|
4444
4452
|
return { welcomeBonus: null, dailyBonus: null };
|
|
4445
4453
|
const r = e.data.filter((f) => f.dtype == "5" && f.type == "F").map((f) => {
|
|
4446
|
-
const
|
|
4454
|
+
const y = Math.min(
|
|
4447
4455
|
Number(f.min_deposit) * Number(f.percentage) / 100,
|
|
4448
4456
|
Number(f.max_promo_amt)
|
|
4449
4457
|
);
|
|
4450
4458
|
return {
|
|
4451
4459
|
name: f.promodesc,
|
|
4452
4460
|
depositAmount: Number(f.min_deposit),
|
|
4453
|
-
promoAmount:
|
|
4454
|
-
percentage: Math.round(
|
|
4461
|
+
promoAmount: y,
|
|
4462
|
+
percentage: Math.round(y / Number(f.min_deposit) * 100),
|
|
4455
4463
|
expiryTime: f.etime
|
|
4456
4464
|
};
|
|
4457
4465
|
});
|
|
4458
4466
|
r.length > 0 && (n = r[0]);
|
|
4459
4467
|
const a = e.data.filter((f) => f.dtype == "5" && f.type == "D").map((f) => {
|
|
4460
|
-
const
|
|
4468
|
+
const y = Math.min(
|
|
4461
4469
|
Number(f.min_deposit) * Number(f.percentage) / 100,
|
|
4462
4470
|
Number(f.max_promo_amt)
|
|
4463
4471
|
);
|
|
4464
4472
|
return {
|
|
4465
4473
|
name: f.promodesc,
|
|
4466
4474
|
depositAmount: Number(f.min_deposit),
|
|
4467
|
-
promoAmount:
|
|
4468
|
-
percentage: Number((
|
|
4475
|
+
promoAmount: y,
|
|
4476
|
+
percentage: Number((y / Number(f.min_deposit) * 100).toFixed(2)),
|
|
4469
4477
|
expiryTime: f.etime
|
|
4470
4478
|
};
|
|
4471
4479
|
});
|
|
@@ -4763,7 +4771,7 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4763
4771
|
}))) ?? []
|
|
4764
4772
|
};
|
|
4765
4773
|
}, Ao = (e) => {
|
|
4766
|
-
var n, t, r, a, s, o, d, g, f,
|
|
4774
|
+
var n, t, r, a, s, o, d, g, f, y, w;
|
|
4767
4775
|
return {
|
|
4768
4776
|
status: e.status == 1,
|
|
4769
4777
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
@@ -4797,7 +4805,7 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4797
4805
|
detailSC: _.detailsc,
|
|
4798
4806
|
resultL: _.resultL
|
|
4799
4807
|
}))) ?? [],
|
|
4800
|
-
currentPage: ((
|
|
4808
|
+
currentPage: ((y = e.data) == null ? void 0 : y.page.current_page) ?? 1,
|
|
4801
4809
|
lastPage: ((w = e.data) == null ? void 0 : w.page.last_page) ?? 1
|
|
4802
4810
|
}
|
|
4803
4811
|
};
|
|
@@ -4955,10 +4963,10 @@ const ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4955
4963
|
amount: n
|
|
4956
4964
|
};
|
|
4957
4965
|
};
|
|
4958
|
-
var
|
|
4966
|
+
var ne = /* @__PURE__ */ ((e) => (e.inProgress = "inProgress", e.collectable = "collectable", e.collected = "collected", e))(ne || {});
|
|
4959
4967
|
const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4960
4968
|
__proto__: null,
|
|
4961
|
-
MissionStatus:
|
|
4969
|
+
MissionStatus: ne
|
|
4962
4970
|
}, Symbol.toStringTag, { value: "Module" })), bi = (e) => {
|
|
4963
4971
|
if (e.status === 0)
|
|
4964
4972
|
return {
|
|
@@ -4972,18 +4980,18 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4972
4980
|
period: `${zt(e.data.datefrom)} ~ ${zt(e.data.dateto)}`,
|
|
4973
4981
|
gift: {
|
|
4974
4982
|
deposit: {
|
|
4975
|
-
current: n.filter((r) => r.status ==
|
|
4983
|
+
current: n.filter((r) => r.status == ne.collected).length,
|
|
4976
4984
|
total: n.length,
|
|
4977
4985
|
percentage: Gt(n)
|
|
4978
4986
|
},
|
|
4979
4987
|
activeBet: {
|
|
4980
|
-
current: t.filter((r) => r.status ==
|
|
4988
|
+
current: t.filter((r) => r.status == ne.collected).length,
|
|
4981
4989
|
total: t.length,
|
|
4982
4990
|
percentage: Gt(t)
|
|
4983
4991
|
},
|
|
4984
4992
|
grandPrize: {
|
|
4985
4993
|
countDownTimestamp: yi(e.data.dateto),
|
|
4986
|
-
status: e.data.final_claimable ? e.data.final_collected === "1" ?
|
|
4994
|
+
status: e.data.final_claimable ? e.data.final_collected === "1" ? ne.collected : ne.collectable : ne.inProgress,
|
|
4987
4995
|
prize: e.data.reward
|
|
4988
4996
|
}
|
|
4989
4997
|
},
|
|
@@ -4996,7 +5004,7 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4996
5004
|
return {
|
|
4997
5005
|
id: t.transid,
|
|
4998
5006
|
reward: t.reward,
|
|
4999
|
-
status: t.claimable !== "1" ?
|
|
5007
|
+
status: t.claimable !== "1" ? ne.inProgress : t.collected === "1" ? ne.collected : ne.collectable,
|
|
5000
5008
|
progress: {
|
|
5001
5009
|
current: r,
|
|
5002
5010
|
total: t.requirement,
|
|
@@ -5046,10 +5054,10 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5046
5054
|
rate: "0.00"
|
|
5047
5055
|
})) ?? [] : []
|
|
5048
5056
|
}), vi = (e) => I(e), wi = (e) => I(e);
|
|
5049
|
-
var
|
|
5057
|
+
var pe = /* @__PURE__ */ ((e) => (e.inProgress = "inProgress", e.collectable = "collectable", e.collected = "collected", e))(pe || {});
|
|
5050
5058
|
const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5051
5059
|
__proto__: null,
|
|
5052
|
-
AccumulateDepositStatus:
|
|
5060
|
+
AccumulateDepositStatus: pe
|
|
5053
5061
|
}, Symbol.toStringTag, { value: "Module" })), xi = (e) => {
|
|
5054
5062
|
if (e.status == 0)
|
|
5055
5063
|
return {
|
|
@@ -5063,7 +5071,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5063
5071
|
n = {
|
|
5064
5072
|
buttonStatus: e.data.tier.filter(
|
|
5065
5073
|
(o) => o.claimable == "1" && o.collected != "1"
|
|
5066
|
-
).length > 0 ?
|
|
5074
|
+
).length > 0 ? pe.collectable : pe.collected,
|
|
5067
5075
|
dateFrom: e.data.datefrom,
|
|
5068
5076
|
dateTo: e.data.dateto,
|
|
5069
5077
|
progress: {
|
|
@@ -5074,7 +5082,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5074
5082
|
list: e.data.tier.map((o) => ({
|
|
5075
5083
|
total: o.requirement,
|
|
5076
5084
|
reward: Number(o.reward),
|
|
5077
|
-
status: o.claimable != "1" ?
|
|
5085
|
+
status: o.claimable != "1" ? pe.inProgress : o.collected == "1" ? pe.collected : pe.collectable
|
|
5078
5086
|
}))
|
|
5079
5087
|
};
|
|
5080
5088
|
}
|
|
@@ -5234,7 +5242,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5234
5242
|
}))
|
|
5235
5243
|
}
|
|
5236
5244
|
}), Yi = async (e) => {
|
|
5237
|
-
var n, t, r, a, s, o, d, g, f,
|
|
5245
|
+
var n, t, r, a, s, o, d, g, f, y, w, _, p, M, N, B, H;
|
|
5238
5246
|
try {
|
|
5239
5247
|
e.findIndex((m) => m.name === c.vipList) !== -1 && e.push(
|
|
5240
5248
|
{
|
|
@@ -5275,12 +5283,12 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5275
5283
|
query: String(m)
|
|
5276
5284
|
});
|
|
5277
5285
|
}
|
|
5278
|
-
const
|
|
5279
|
-
if (
|
|
5286
|
+
const ae = e.findIndex((m) => m.name === c.searchNumberHistory);
|
|
5287
|
+
if (ae !== -1) {
|
|
5280
5288
|
let m = {};
|
|
5281
5289
|
e.forEach((P) => {
|
|
5282
5290
|
m = P.query;
|
|
5283
|
-
}), e.splice(
|
|
5291
|
+
}), e.splice(ae), e.push({
|
|
5284
5292
|
name: c.getFourDimensionData,
|
|
5285
5293
|
query: String(m)
|
|
5286
5294
|
});
|
|
@@ -5289,15 +5297,15 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5289
5297
|
let m = {};
|
|
5290
5298
|
e.forEach((P) => {
|
|
5291
5299
|
m = P.query;
|
|
5292
|
-
}), e.splice(
|
|
5300
|
+
}), e.splice(ae), e.push({
|
|
5293
5301
|
name: c.getFourDimensionData,
|
|
5294
5302
|
query: String(m)
|
|
5295
5303
|
});
|
|
5296
5304
|
}
|
|
5297
|
-
const
|
|
5305
|
+
const se = e.findIndex(
|
|
5298
5306
|
(m) => m.name === c.getFourDimensionData
|
|
5299
5307
|
);
|
|
5300
|
-
|
|
5308
|
+
se !== -1 && e[se].query == "" && (e.splice(se), e.push(
|
|
5301
5309
|
{
|
|
5302
5310
|
name: c.getFourDimensionData,
|
|
5303
5311
|
query: JSON.stringify({ action: c.getCompany, native: "1" })
|
|
@@ -5318,7 +5326,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5318
5326
|
name: m.name,
|
|
5319
5327
|
query: btoa(m.query)
|
|
5320
5328
|
}))
|
|
5321
|
-
}, ke = await
|
|
5329
|
+
}, ke = await re.post(
|
|
5322
5330
|
"/graph/jwt",
|
|
5323
5331
|
Ua(JSON.stringify(Oe))
|
|
5324
5332
|
), i = {
|
|
@@ -5965,10 +5973,10 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5965
5973
|
current: X,
|
|
5966
5974
|
percentage: U > 100 ? 100 : U
|
|
5967
5975
|
}, m.bonus.salary_20th.status = u.salary_20th.status;
|
|
5968
|
-
const { remainingTimeTo20th: A, progressPercentageTo20th:
|
|
5976
|
+
const { remainingTimeTo20th: A, progressPercentageTo20th: K } = Ja();
|
|
5969
5977
|
m.bonus.salary_20th.timestamp = {
|
|
5970
5978
|
current: A,
|
|
5971
|
-
percentage:
|
|
5979
|
+
percentage: K > 100 ? 100 : K
|
|
5972
5980
|
}, m.bonus.birthday.status = u.birthday.status;
|
|
5973
5981
|
}
|
|
5974
5982
|
delete i.result.vipBonus;
|
|
@@ -5979,143 +5987,149 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5979
5987
|
l.push({
|
|
5980
5988
|
name: "",
|
|
5981
5989
|
code: "vipLevel",
|
|
5982
|
-
value: m.list.map((
|
|
5990
|
+
value: m.list.map((b) => b.name)
|
|
5983
5991
|
});
|
|
5984
5992
|
const D = u.findIndex(
|
|
5985
|
-
(
|
|
5993
|
+
(b) => b.fieldName == "upgrade_bonus"
|
|
5986
5994
|
);
|
|
5987
5995
|
D > -1 && l.push({
|
|
5988
5996
|
name: u[D].showName,
|
|
5989
5997
|
code: "",
|
|
5990
|
-
value: m.list.map((
|
|
5998
|
+
value: m.list.map((b) => b.benefit_list.upgrade.bonus)
|
|
5991
5999
|
});
|
|
5992
6000
|
const z = u.findIndex(
|
|
5993
|
-
(
|
|
6001
|
+
(b) => b.fieldName == "upgrade_bonus_multiply"
|
|
5994
6002
|
);
|
|
5995
6003
|
z > -1 && l.push({
|
|
5996
6004
|
name: u[z].showName,
|
|
5997
6005
|
code: "",
|
|
5998
|
-
value: m.list.map((
|
|
6006
|
+
value: m.list.map((b) => b.benefit_list.upgrade.turnover)
|
|
5999
6007
|
});
|
|
6000
6008
|
const V = u.findIndex(
|
|
6001
|
-
(
|
|
6009
|
+
(b) => b.fieldName == "monthly_bonus"
|
|
6002
6010
|
);
|
|
6003
6011
|
m.bonus.month.isShow = V > -1, V > -1 && l.push({
|
|
6004
6012
|
name: u[V].showName,
|
|
6005
6013
|
code: "",
|
|
6006
|
-
value: m.list.map((
|
|
6014
|
+
value: m.list.map((b) => b.benefit_list.monthly.bonus)
|
|
6007
6015
|
});
|
|
6008
6016
|
const Z = u.findIndex(
|
|
6009
|
-
(
|
|
6017
|
+
(b) => b.fieldName == "monthly_bonus_multiply"
|
|
6010
6018
|
);
|
|
6011
6019
|
Z > -1 && l.push({
|
|
6012
6020
|
name: u[Z].showName,
|
|
6013
6021
|
code: "",
|
|
6014
|
-
value: m.list.map((
|
|
6022
|
+
value: m.list.map((b) => b.benefit_list.monthly.turnover)
|
|
6015
6023
|
});
|
|
6016
6024
|
const G = u.findIndex(
|
|
6017
|
-
(
|
|
6025
|
+
(b) => b.fieldName == "weekly_bonus"
|
|
6018
6026
|
);
|
|
6019
6027
|
m.bonus.week.isShow = G > -1, G > -1 && l.push({
|
|
6020
6028
|
name: u[G].showName,
|
|
6021
6029
|
code: "",
|
|
6022
|
-
value: m.list.map((
|
|
6030
|
+
value: m.list.map((b) => b.benefit_list.weekly.bonus)
|
|
6023
6031
|
});
|
|
6024
6032
|
const J = u.findIndex(
|
|
6025
|
-
(
|
|
6033
|
+
(b) => b.fieldName == "weekly_bonus_multiply"
|
|
6026
6034
|
);
|
|
6027
6035
|
J > -1 && l.push({
|
|
6028
6036
|
name: u[J].showName,
|
|
6029
6037
|
code: "",
|
|
6030
|
-
value: m.list.map((
|
|
6038
|
+
value: m.list.map((b) => b.benefit_list.weekly.turnover)
|
|
6031
6039
|
});
|
|
6032
6040
|
const Q = u.findIndex(
|
|
6033
|
-
(
|
|
6041
|
+
(b) => b.fieldName == "daily_bonus"
|
|
6034
6042
|
);
|
|
6035
6043
|
m.bonus.day.isShow = Q > -1, Q > -1 && l.push({
|
|
6036
6044
|
name: u[Q].showName,
|
|
6037
6045
|
code: "",
|
|
6038
|
-
value: m.list.map((
|
|
6046
|
+
value: m.list.map((b) => b.benefit_list.daily.bonus)
|
|
6039
6047
|
});
|
|
6040
6048
|
const X = u.findIndex(
|
|
6041
|
-
(
|
|
6049
|
+
(b) => b.fieldName == "daily_bonus_multiply"
|
|
6042
6050
|
);
|
|
6043
6051
|
X > -1 && l.push({
|
|
6044
6052
|
name: u[X].showName,
|
|
6045
6053
|
code: "",
|
|
6046
|
-
value: m.list.map((
|
|
6054
|
+
value: m.list.map((b) => b.benefit_list.daily.turnover)
|
|
6047
6055
|
});
|
|
6048
6056
|
const U = u.findIndex(
|
|
6049
|
-
(
|
|
6057
|
+
(b) => b.fieldName == "birthday_bonus"
|
|
6050
6058
|
);
|
|
6051
6059
|
m.bonus.birthday.isShow = U > -1, U > -1 && l.push({
|
|
6052
6060
|
name: u[U].showName,
|
|
6053
6061
|
code: "",
|
|
6054
|
-
value: m.list.map((
|
|
6062
|
+
value: m.list.map((b) => b.benefit_list.birthday.bonus)
|
|
6055
6063
|
});
|
|
6056
6064
|
const A = u.findIndex(
|
|
6057
|
-
(
|
|
6065
|
+
(b) => b.fieldName == "birthday_bonus_multiply"
|
|
6058
6066
|
);
|
|
6059
6067
|
A > -1 && l.push({
|
|
6060
6068
|
name: u[A].showName,
|
|
6061
6069
|
code: "",
|
|
6062
|
-
value: m.list.map((
|
|
6070
|
+
value: m.list.map((b) => b.benefit_list.birthday.turnover)
|
|
6063
6071
|
});
|
|
6064
|
-
const
|
|
6065
|
-
(
|
|
6072
|
+
const K = u.findIndex(
|
|
6073
|
+
(b) => b.fieldName == "salary_bonus_1st"
|
|
6066
6074
|
);
|
|
6067
|
-
m.
|
|
6068
|
-
|
|
6075
|
+
m.list.map((b) => {
|
|
6076
|
+
b.benefit_list.salary_1st.isShow = K > -1;
|
|
6077
|
+
}), m.bonus.salary_1st.isShow = K > -1, K > -1 && l.push({
|
|
6078
|
+
name: u[K].showName,
|
|
6069
6079
|
code: "",
|
|
6070
|
-
value: m.list.map((
|
|
6080
|
+
value: m.list.map((b) => b.benefit_list.salary_1st.bonus)
|
|
6071
6081
|
});
|
|
6072
6082
|
const ve = u.findIndex(
|
|
6073
|
-
(
|
|
6083
|
+
(b) => b.fieldName == "salary_bonus_multiply_1st"
|
|
6074
6084
|
);
|
|
6075
6085
|
ve > -1 && l.push({
|
|
6076
6086
|
name: u[ve].showName,
|
|
6077
6087
|
code: "",
|
|
6078
|
-
value: m.list.map((
|
|
6088
|
+
value: m.list.map((b) => b.benefit_list.salary_1st.turnover)
|
|
6079
6089
|
});
|
|
6080
|
-
const
|
|
6081
|
-
(
|
|
6090
|
+
const de = u.findIndex(
|
|
6091
|
+
(b) => b.fieldName == "salary_bonus_10th"
|
|
6082
6092
|
);
|
|
6083
|
-
m.
|
|
6084
|
-
|
|
6093
|
+
m.list.map((b) => {
|
|
6094
|
+
b.benefit_list.salary_10th.isShow = de > -1;
|
|
6095
|
+
}), m.bonus.salary_10th.isShow = de > -1, de > -1 && l.push({
|
|
6096
|
+
name: u[de].showName,
|
|
6085
6097
|
code: "",
|
|
6086
|
-
value: m.list.map((
|
|
6098
|
+
value: m.list.map((b) => b.benefit_list.salary_10th.bonus)
|
|
6087
6099
|
});
|
|
6088
6100
|
const we = u.findIndex(
|
|
6089
|
-
(
|
|
6101
|
+
(b) => b.fieldName == "salary_bonus_multiply_10th"
|
|
6090
6102
|
);
|
|
6091
6103
|
we > -1 && l.push({
|
|
6092
6104
|
name: u[we].showName,
|
|
6093
6105
|
code: "",
|
|
6094
|
-
value: m.list.map((
|
|
6106
|
+
value: m.list.map((b) => b.benefit_list.salary_10th.turnover)
|
|
6095
6107
|
});
|
|
6096
|
-
const
|
|
6097
|
-
(
|
|
6108
|
+
const me = u.findIndex(
|
|
6109
|
+
(b) => b.fieldName == "salary_bonus_20th"
|
|
6098
6110
|
);
|
|
6099
|
-
m.
|
|
6100
|
-
|
|
6111
|
+
m.list.map((b) => {
|
|
6112
|
+
b.benefit_list.salary_20th.isShow = me > -1;
|
|
6113
|
+
}), m.bonus.salary_20th.isShow = me > -1, me > -1 && l.push({
|
|
6114
|
+
name: u[me].showName,
|
|
6101
6115
|
code: "",
|
|
6102
|
-
value: m.list.map((
|
|
6116
|
+
value: m.list.map((b) => b.benefit_list.salary_20th.bonus)
|
|
6103
6117
|
});
|
|
6104
6118
|
const Pe = u.findIndex(
|
|
6105
|
-
(
|
|
6119
|
+
(b) => b.fieldName == "salary_bonus_multiply_20th"
|
|
6106
6120
|
);
|
|
6107
6121
|
Pe > -1 && l.push({
|
|
6108
6122
|
name: u[Pe].showName,
|
|
6109
6123
|
code: "",
|
|
6110
|
-
value: m.list.map((
|
|
6124
|
+
value: m.list.map((b) => b.benefit_list.salary_20th.turnover)
|
|
6111
6125
|
}), (P === 1 || P === 3 || P === 4) && l.push({
|
|
6112
6126
|
name: "",
|
|
6113
6127
|
code: "detail_deposit",
|
|
6114
|
-
value: m.list.map((
|
|
6128
|
+
value: m.list.map((b) => b.deposit.total)
|
|
6115
6129
|
}), (P === 2 || P === 3 || P === 4) && l.push({
|
|
6116
6130
|
name: "",
|
|
6117
6131
|
code: "detail_turnover",
|
|
6118
|
-
value: m.list.map((
|
|
6132
|
+
value: m.list.map((b) => b.turnover.total)
|
|
6119
6133
|
}), m.detail = l;
|
|
6120
6134
|
}
|
|
6121
6135
|
delete i.result.vipFieldStatus;
|
|
@@ -6137,7 +6151,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6137
6151
|
}), delete i.result.getPlatformTurnoverRate;
|
|
6138
6152
|
}
|
|
6139
6153
|
}
|
|
6140
|
-
if (c.fishGameList in i.result && ((
|
|
6154
|
+
if (c.fishGameList in i.result && ((y = i.result) != null && y.fishGameList)) {
|
|
6141
6155
|
const m = i.result.fishGameList;
|
|
6142
6156
|
if (JSON.parse(e[v].query).pid && c.getPlatformTurnoverRate in i.result && (w = i.result) != null && w.getPlatformTurnoverRate) {
|
|
6143
6157
|
const P = i.result.getPlatformTurnoverRate;
|
|
@@ -6230,7 +6244,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6230
6244
|
message: ""
|
|
6231
6245
|
};
|
|
6232
6246
|
try {
|
|
6233
|
-
await
|
|
6247
|
+
await re.post("/loginVia/telegram", e), n = {
|
|
6234
6248
|
status: 200,
|
|
6235
6249
|
message: ""
|
|
6236
6250
|
};
|
|
@@ -6250,7 +6264,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6250
6264
|
message: ""
|
|
6251
6265
|
};
|
|
6252
6266
|
try {
|
|
6253
|
-
await
|
|
6267
|
+
await re.post("/graph/auth/sesh", {
|
|
6254
6268
|
usr: e,
|
|
6255
6269
|
pwd: n
|
|
6256
6270
|
}), t = {
|
|
@@ -6273,7 +6287,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6273
6287
|
message: ""
|
|
6274
6288
|
};
|
|
6275
6289
|
try {
|
|
6276
|
-
await
|
|
6290
|
+
await re.post("/graph/auth/sesh/logout");
|
|
6277
6291
|
} catch (n) {
|
|
6278
6292
|
e = {
|
|
6279
6293
|
status: n.status || 500,
|
|
@@ -6301,7 +6315,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6301
6315
|
...Wt
|
|
6302
6316
|
};
|
|
6303
6317
|
try {
|
|
6304
|
-
const t = (await
|
|
6318
|
+
const t = (await re.get("/graph/autoregister")).data;
|
|
6305
6319
|
e.data = {
|
|
6306
6320
|
status: t.status == 1,
|
|
6307
6321
|
message: t.message ?? "",
|
|
@@ -6334,7 +6348,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6334
6348
|
...Yt
|
|
6335
6349
|
};
|
|
6336
6350
|
try {
|
|
6337
|
-
const r = await
|
|
6351
|
+
const r = await re.post("/graph/setlocale", {
|
|
6338
6352
|
language: e,
|
|
6339
6353
|
udid: n ?? ""
|
|
6340
6354
|
}), a = JSON.parse(
|
|
@@ -6365,7 +6379,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6365
6379
|
}
|
|
6366
6380
|
};
|
|
6367
6381
|
try {
|
|
6368
|
-
const d = (await
|
|
6382
|
+
const d = (await re.post(`/loadgame/${e}`, {
|
|
6369
6383
|
wanturl: 1,
|
|
6370
6384
|
extra: {
|
|
6371
6385
|
Stage: n,
|
|
@@ -6414,7 +6428,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6414
6428
|
...qt
|
|
6415
6429
|
};
|
|
6416
6430
|
try {
|
|
6417
|
-
const s = (await
|
|
6431
|
+
const s = (await re.get("/graph/getMaintenanceMode")).data;
|
|
6418
6432
|
e.data = {
|
|
6419
6433
|
status: s.status == 1,
|
|
6420
6434
|
message: s.msg ?? "",
|