60p82u21t54k 0.1.73 → 0.1.75
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 +652 -586
- package/dist/60p82u21t54k.umd.js +1 -1
- package/dist/api/api.d.ts.map +1 -1
- package/dist/model/getRewardReferral/getGetRewardReferralResponse.d.ts.map +1 -1
- package/dist/model/getRewardReferral/type.d.ts +10 -0
- package/dist/model/getRewardReferral/type.d.ts.map +1 -1
- package/dist/model/getTopupRewardData/getGetTopupRewardDataResponse.d.ts.map +1 -1
- package/dist/model/getTurnOverRewardData/getGetTurnOverRewardDataResponse.d.ts.map +1 -1
- package/package.json +1 -1
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 ae = Ht.create({
|
|
6
6
|
baseURL: "",
|
|
7
7
|
timeout: 15e3,
|
|
8
8
|
// Request timeout
|
|
@@ -48,11 +48,11 @@ const re = Ht.create({
|
|
|
48
48
|
// },
|
|
49
49
|
// },
|
|
50
50
|
});
|
|
51
|
-
|
|
51
|
+
ae.interceptors.request.use(
|
|
52
52
|
(e) => e,
|
|
53
53
|
(e) => (console.error("Error request:", e.response), Promise.reject(e))
|
|
54
54
|
);
|
|
55
|
-
|
|
55
|
+
ae.interceptors.response.use(
|
|
56
56
|
(e) => e,
|
|
57
57
|
(e) => {
|
|
58
58
|
const n = {
|
|
@@ -62,14 +62,14 @@ re.interceptors.response.use(
|
|
|
62
62
|
return e.response ? (n.status = e.response.status, n.message = e.response.data.message || e.response.statusText, console.error("Error response:", JSON.stringify(n)), e.response.status === 401 ? console.error("Unauthorized access - redirecting to login.") : e.response.status === 404 ? console.error("Resource not found.") : e.response.status >= 500 && console.error("Server error. Please try again later.")) : e.request ? console.error("No response received:", e.request) : console.error("Error setting up request:", e.message), Promise.reject(n);
|
|
63
63
|
}
|
|
64
64
|
);
|
|
65
|
-
let
|
|
65
|
+
let tt = {
|
|
66
66
|
timezone: -4,
|
|
67
67
|
currency: "¥",
|
|
68
68
|
language: "zh"
|
|
69
69
|
};
|
|
70
70
|
const pn = (e) => {
|
|
71
|
-
|
|
72
|
-
}, Ut = () =>
|
|
71
|
+
tt = { ...tt, ...e };
|
|
72
|
+
}, Ut = () => tt, bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
73
73
|
__proto__: null,
|
|
74
74
|
getConfig: Ut,
|
|
75
75
|
setConfig: pn
|
|
@@ -85,26 +85,26 @@ function Vt(e, n, t) {
|
|
|
85
85
|
return isNaN(n) ? Y((t == null ? void 0 : t.in) || e, NaN) : (n && r.setDate(r.getDate() + n), r);
|
|
86
86
|
}
|
|
87
87
|
let vn = {};
|
|
88
|
-
function
|
|
88
|
+
function Pe() {
|
|
89
89
|
return vn;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function de(e, n) {
|
|
92
92
|
var d, g, f, y;
|
|
93
|
-
const t =
|
|
93
|
+
const t = Pe(), 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
|
-
function
|
|
97
|
-
return
|
|
96
|
+
function xe(e, n) {
|
|
97
|
+
return de(e, { ...n, weekStartsOn: 1 });
|
|
98
98
|
}
|
|
99
99
|
function At(e, n) {
|
|
100
100
|
const t = W(e, n == null ? void 0 : n.in), r = t.getFullYear(), a = Y(t, 0);
|
|
101
101
|
a.setFullYear(r + 1, 0, 4), a.setHours(0, 0, 0, 0);
|
|
102
|
-
const s =
|
|
102
|
+
const s = xe(a), o = Y(t, 0);
|
|
103
103
|
o.setFullYear(r, 0, 4), o.setHours(0, 0, 0, 0);
|
|
104
|
-
const d =
|
|
104
|
+
const d = xe(o);
|
|
105
105
|
return t.getTime() >= s.getTime() ? r + 1 : t.getTime() >= d.getTime() ? r : r - 1;
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function ze(e) {
|
|
108
108
|
const n = W(e), t = new Date(
|
|
109
109
|
Date.UTC(
|
|
110
110
|
n.getFullYear(),
|
|
@@ -129,29 +129,29 @@ function ht(e, n) {
|
|
|
129
129
|
const t = W(e, n == null ? void 0 : n.in);
|
|
130
130
|
return t.setHours(0, 0, 0, 0), t;
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function Dn(e, n, t) {
|
|
133
133
|
const [r, a] = wn(
|
|
134
134
|
t == null ? void 0 : t.in,
|
|
135
135
|
e,
|
|
136
136
|
n
|
|
137
|
-
), s = ht(r), o = ht(a), d = +s -
|
|
137
|
+
), s = ht(r), o = ht(a), d = +s - ze(s), g = +o - ze(o);
|
|
138
138
|
return Math.round((d - g) / yn);
|
|
139
139
|
}
|
|
140
140
|
function xn(e, n) {
|
|
141
141
|
const t = At(e, n), r = Y(e, 0);
|
|
142
|
-
return r.setFullYear(t, 0, 4), r.setHours(0, 0, 0, 0),
|
|
142
|
+
return r.setFullYear(t, 0, 4), r.setHours(0, 0, 0, 0), xe(r);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function Pn(e) {
|
|
145
145
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
146
146
|
}
|
|
147
|
-
function
|
|
148
|
-
return !(!
|
|
147
|
+
function Rn(e) {
|
|
148
|
+
return !(!Pn(e) && typeof e != "number" || isNaN(+W(e)));
|
|
149
149
|
}
|
|
150
150
|
function On(e, n) {
|
|
151
151
|
const t = W(e, n == null ? void 0 : n.in);
|
|
152
152
|
return t.setFullYear(t.getFullYear(), 0, 1), t.setHours(0, 0, 0, 0), t;
|
|
153
153
|
}
|
|
154
|
-
const
|
|
154
|
+
const Mn = {
|
|
155
155
|
lessThanXSeconds: {
|
|
156
156
|
one: "less than a second",
|
|
157
157
|
other: "less than {{count}} seconds"
|
|
@@ -213,12 +213,12 @@ const kn = {
|
|
|
213
213
|
one: "almost 1 year",
|
|
214
214
|
other: "almost {{count}} years"
|
|
215
215
|
}
|
|
216
|
-
},
|
|
216
|
+
}, kn = (e, n, t) => {
|
|
217
217
|
let r;
|
|
218
|
-
const a =
|
|
218
|
+
const a = Mn[e];
|
|
219
219
|
return typeof a == "string" ? r = a : n === 1 ? r = a.one : r = a.other.replace("{{count}}", n.toString()), t != null && t.addSuffix ? t.comparison && t.comparison > 0 ? "in " + r : r + " ago" : r;
|
|
220
220
|
};
|
|
221
|
-
function
|
|
221
|
+
function Ve(e) {
|
|
222
222
|
return (n = {}) => {
|
|
223
223
|
const t = n.width ? String(n.width) : e.defaultWidth;
|
|
224
224
|
return e.formats[t] || e.formats[e.defaultWidth];
|
|
@@ -240,15 +240,15 @@ const Sn = {
|
|
|
240
240
|
medium: "{{date}}, {{time}}",
|
|
241
241
|
short: "{{date}}, {{time}}"
|
|
242
242
|
}, jn = {
|
|
243
|
-
date:
|
|
243
|
+
date: Ve({
|
|
244
244
|
formats: Sn,
|
|
245
245
|
defaultWidth: "full"
|
|
246
246
|
}),
|
|
247
|
-
time:
|
|
247
|
+
time: Ve({
|
|
248
248
|
formats: In,
|
|
249
249
|
defaultWidth: "full"
|
|
250
250
|
}),
|
|
251
|
-
dateTime:
|
|
251
|
+
dateTime: Ve({
|
|
252
252
|
formats: Cn,
|
|
253
253
|
defaultWidth: "full"
|
|
254
254
|
})
|
|
@@ -260,7 +260,7 @@ const Sn = {
|
|
|
260
260
|
nextWeek: "eeee 'at' p",
|
|
261
261
|
other: "P"
|
|
262
262
|
}, Ln = (e, n, t, r) => Nn[e];
|
|
263
|
-
function
|
|
263
|
+
function Se(e) {
|
|
264
264
|
return (n, t) => {
|
|
265
265
|
const r = t != null && t.context ? String(t.context) : "standalone";
|
|
266
266
|
let a;
|
|
@@ -402,38 +402,38 @@ const Fn = {
|
|
|
402
402
|
return t + "th";
|
|
403
403
|
}, Bn = {
|
|
404
404
|
ordinalNumber: En,
|
|
405
|
-
era:
|
|
405
|
+
era: Se({
|
|
406
406
|
values: Fn,
|
|
407
407
|
defaultWidth: "wide"
|
|
408
408
|
}),
|
|
409
|
-
quarter:
|
|
409
|
+
quarter: Se({
|
|
410
410
|
values: zn,
|
|
411
411
|
defaultWidth: "wide",
|
|
412
412
|
argumentCallback: (e) => e - 1
|
|
413
413
|
}),
|
|
414
|
-
month:
|
|
414
|
+
month: Se({
|
|
415
415
|
values: Gn,
|
|
416
416
|
defaultWidth: "wide"
|
|
417
417
|
}),
|
|
418
|
-
day:
|
|
418
|
+
day: Se({
|
|
419
419
|
values: Wn,
|
|
420
420
|
defaultWidth: "wide"
|
|
421
421
|
}),
|
|
422
|
-
dayPeriod:
|
|
422
|
+
dayPeriod: Se({
|
|
423
423
|
values: Yn,
|
|
424
424
|
defaultWidth: "wide",
|
|
425
425
|
formattingValues: qn,
|
|
426
426
|
defaultFormattingWidth: "wide"
|
|
427
427
|
})
|
|
428
428
|
};
|
|
429
|
-
function
|
|
429
|
+
function Ie(e) {
|
|
430
430
|
return (n, t = {}) => {
|
|
431
431
|
const r = t.width, a = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], s = n.match(a);
|
|
432
432
|
if (!s)
|
|
433
433
|
return null;
|
|
434
|
-
const o = s[0], d = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], g = Array.isArray(d) ? Un(d, (
|
|
434
|
+
const o = s[0], d = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], g = Array.isArray(d) ? Un(d, (D) => D.test(o)) : (
|
|
435
435
|
// [TODO] -- I challenge you to fix the type
|
|
436
|
-
Hn(d, (
|
|
436
|
+
Hn(d, (D) => D.test(o))
|
|
437
437
|
);
|
|
438
438
|
let f;
|
|
439
439
|
f = e.valueCallback ? e.valueCallback(g) : g, f = t.valueCallback ? (
|
|
@@ -539,32 +539,32 @@ const Vn = /^(\d+)(th|st|nd|rd)?/i, An = /\d+/i, Qn = {
|
|
|
539
539
|
parsePattern: An,
|
|
540
540
|
valueCallback: (e) => parseInt(e, 10)
|
|
541
541
|
}),
|
|
542
|
-
era:
|
|
542
|
+
era: Ie({
|
|
543
543
|
matchPatterns: Qn,
|
|
544
544
|
defaultMatchWidth: "wide",
|
|
545
545
|
parsePatterns: Xn,
|
|
546
546
|
defaultParseWidth: "any"
|
|
547
547
|
}),
|
|
548
|
-
quarter:
|
|
548
|
+
quarter: Ie({
|
|
549
549
|
matchPatterns: Zn,
|
|
550
550
|
defaultMatchWidth: "wide",
|
|
551
551
|
parsePatterns: Jn,
|
|
552
552
|
defaultParseWidth: "any",
|
|
553
553
|
valueCallback: (e) => e + 1
|
|
554
554
|
}),
|
|
555
|
-
month:
|
|
555
|
+
month: Ie({
|
|
556
556
|
matchPatterns: Kn,
|
|
557
557
|
defaultMatchWidth: "wide",
|
|
558
558
|
parsePatterns: er,
|
|
559
559
|
defaultParseWidth: "any"
|
|
560
560
|
}),
|
|
561
|
-
day:
|
|
561
|
+
day: Ie({
|
|
562
562
|
matchPatterns: tr,
|
|
563
563
|
defaultMatchWidth: "wide",
|
|
564
564
|
parsePatterns: nr,
|
|
565
565
|
defaultParseWidth: "any"
|
|
566
566
|
}),
|
|
567
|
-
dayPeriod:
|
|
567
|
+
dayPeriod: Ie({
|
|
568
568
|
matchPatterns: rr,
|
|
569
569
|
defaultMatchWidth: "any",
|
|
570
570
|
parsePatterns: ar,
|
|
@@ -572,7 +572,7 @@ const Vn = /^(\d+)(th|st|nd|rd)?/i, An = /\d+/i, Qn = {
|
|
|
572
572
|
})
|
|
573
573
|
}, Qt = {
|
|
574
574
|
code: "en-US",
|
|
575
|
-
formatDistance:
|
|
575
|
+
formatDistance: kn,
|
|
576
576
|
formatLong: jn,
|
|
577
577
|
formatRelative: Ln,
|
|
578
578
|
localize: Bn,
|
|
@@ -584,48 +584,48 @@ const Vn = /^(\d+)(th|st|nd|rd)?/i, An = /\d+/i, Qn = {
|
|
|
584
584
|
};
|
|
585
585
|
function or(e, n) {
|
|
586
586
|
const t = W(e, n == null ? void 0 : n.in);
|
|
587
|
-
return
|
|
587
|
+
return Dn(t, On(t)) + 1;
|
|
588
588
|
}
|
|
589
589
|
function Xt(e, n) {
|
|
590
|
-
const t = W(e, n == null ? void 0 : n.in), r = +
|
|
590
|
+
const t = W(e, n == null ? void 0 : n.in), r = +xe(t) - +xn(t);
|
|
591
591
|
return Math.round(r / $t) + 1;
|
|
592
592
|
}
|
|
593
|
-
function
|
|
594
|
-
var y,
|
|
595
|
-
const t = W(e, n == null ? void 0 : n.in), r = t.getFullYear(), a =
|
|
593
|
+
function st(e, n) {
|
|
594
|
+
var y, D, _, p;
|
|
595
|
+
const t = W(e, n == null ? void 0 : n.in), r = t.getFullYear(), a = Pe(), s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((D = (y = n == null ? void 0 : n.locale) == null ? void 0 : y.options) == null ? void 0 : D.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
|
-
const d =
|
|
597
|
+
const d = de(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);
|
|
599
|
-
const f =
|
|
599
|
+
const f = de(g, n);
|
|
600
600
|
return +t >= +d ? r + 1 : +t >= +f ? r : r - 1;
|
|
601
601
|
}
|
|
602
602
|
function ir(e, n) {
|
|
603
603
|
var d, g, f, y;
|
|
604
|
-
const t =
|
|
605
|
-
return s.setFullYear(a, 0, r), s.setHours(0, 0, 0, 0),
|
|
604
|
+
const t = Pe(), 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 = st(e, n), s = Y((n == null ? void 0 : n.in) || e, 0);
|
|
605
|
+
return s.setFullYear(a, 0, r), s.setHours(0, 0, 0, 0), de(s, n);
|
|
606
606
|
}
|
|
607
607
|
function Zt(e, n) {
|
|
608
|
-
const t = W(e, n == null ? void 0 : n.in), r = +
|
|
608
|
+
const t = W(e, n == null ? void 0 : n.in), r = +de(t, n) - +ir(t, n);
|
|
609
609
|
return Math.round(r / $t) + 1;
|
|
610
610
|
}
|
|
611
|
-
function
|
|
611
|
+
function M(e, n) {
|
|
612
612
|
const t = e < 0 ? "-" : "", r = Math.abs(e).toString().padStart(n, "0");
|
|
613
613
|
return t + r;
|
|
614
614
|
}
|
|
615
|
-
const
|
|
615
|
+
const ce = {
|
|
616
616
|
// Year
|
|
617
617
|
y(e, n) {
|
|
618
618
|
const t = e.getFullYear(), r = t > 0 ? t : 1 - t;
|
|
619
|
-
return
|
|
619
|
+
return M(n === "yy" ? r % 100 : r, n.length);
|
|
620
620
|
},
|
|
621
621
|
// Month
|
|
622
622
|
M(e, n) {
|
|
623
623
|
const t = e.getMonth();
|
|
624
|
-
return n === "M" ? String(t + 1) :
|
|
624
|
+
return n === "M" ? String(t + 1) : M(t + 1, 2);
|
|
625
625
|
},
|
|
626
626
|
// Day of the month
|
|
627
627
|
d(e, n) {
|
|
628
|
-
return
|
|
628
|
+
return M(e.getDate(), n.length);
|
|
629
629
|
},
|
|
630
630
|
// AM or PM
|
|
631
631
|
a(e, n) {
|
|
@@ -645,28 +645,28 @@ const ue = {
|
|
|
645
645
|
},
|
|
646
646
|
// Hour [1-12]
|
|
647
647
|
h(e, n) {
|
|
648
|
-
return
|
|
648
|
+
return M(e.getHours() % 12 || 12, n.length);
|
|
649
649
|
},
|
|
650
650
|
// Hour [0-23]
|
|
651
651
|
H(e, n) {
|
|
652
|
-
return
|
|
652
|
+
return M(e.getHours(), n.length);
|
|
653
653
|
},
|
|
654
654
|
// Minute
|
|
655
655
|
m(e, n) {
|
|
656
|
-
return
|
|
656
|
+
return M(e.getMinutes(), n.length);
|
|
657
657
|
},
|
|
658
658
|
// Second
|
|
659
659
|
s(e, n) {
|
|
660
|
-
return
|
|
660
|
+
return M(e.getSeconds(), n.length);
|
|
661
661
|
},
|
|
662
662
|
// Fraction of second
|
|
663
663
|
S(e, n) {
|
|
664
664
|
const t = n.length, r = e.getMilliseconds(), a = Math.trunc(
|
|
665
665
|
r * Math.pow(10, t - 3)
|
|
666
666
|
);
|
|
667
|
-
return
|
|
667
|
+
return M(a, n.length);
|
|
668
668
|
}
|
|
669
|
-
},
|
|
669
|
+
}, we = {
|
|
670
670
|
am: "am",
|
|
671
671
|
pm: "pm",
|
|
672
672
|
midnight: "midnight",
|
|
@@ -697,21 +697,21 @@ const ue = {
|
|
|
697
697
|
const r = e.getFullYear(), a = r > 0 ? r : 1 - r;
|
|
698
698
|
return t.ordinalNumber(a, { unit: "year" });
|
|
699
699
|
}
|
|
700
|
-
return
|
|
700
|
+
return ce.y(e, n);
|
|
701
701
|
},
|
|
702
702
|
// Local week-numbering year
|
|
703
703
|
Y: function(e, n, t, r) {
|
|
704
|
-
const a =
|
|
704
|
+
const a = st(e, r), s = a > 0 ? a : 1 - a;
|
|
705
705
|
if (n === "YY") {
|
|
706
706
|
const o = s % 100;
|
|
707
|
-
return
|
|
707
|
+
return M(o, 2);
|
|
708
708
|
}
|
|
709
|
-
return n === "Yo" ? t.ordinalNumber(s, { unit: "year" }) :
|
|
709
|
+
return n === "Yo" ? t.ordinalNumber(s, { unit: "year" }) : M(s, n.length);
|
|
710
710
|
},
|
|
711
711
|
// ISO week-numbering year
|
|
712
712
|
R: function(e, n) {
|
|
713
713
|
const t = At(e);
|
|
714
|
-
return
|
|
714
|
+
return M(t, n.length);
|
|
715
715
|
},
|
|
716
716
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
717
717
|
// The main difference between `y` and `u` localizers are B.C. years:
|
|
@@ -724,7 +724,7 @@ const ue = {
|
|
|
724
724
|
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
725
725
|
u: function(e, n) {
|
|
726
726
|
const t = e.getFullYear();
|
|
727
|
-
return
|
|
727
|
+
return M(t, n.length);
|
|
728
728
|
},
|
|
729
729
|
// Quarter
|
|
730
730
|
Q: function(e, n, t) {
|
|
@@ -733,7 +733,7 @@ const ue = {
|
|
|
733
733
|
case "Q":
|
|
734
734
|
return String(r);
|
|
735
735
|
case "QQ":
|
|
736
|
-
return
|
|
736
|
+
return M(r, 2);
|
|
737
737
|
case "Qo":
|
|
738
738
|
return t.ordinalNumber(r, { unit: "quarter" });
|
|
739
739
|
case "QQQ":
|
|
@@ -761,7 +761,7 @@ const ue = {
|
|
|
761
761
|
case "q":
|
|
762
762
|
return String(r);
|
|
763
763
|
case "qq":
|
|
764
|
-
return
|
|
764
|
+
return M(r, 2);
|
|
765
765
|
case "qo":
|
|
766
766
|
return t.ordinalNumber(r, { unit: "quarter" });
|
|
767
767
|
case "qqq":
|
|
@@ -788,7 +788,7 @@ const ue = {
|
|
|
788
788
|
switch (n) {
|
|
789
789
|
case "M":
|
|
790
790
|
case "MM":
|
|
791
|
-
return
|
|
791
|
+
return ce.M(e, n);
|
|
792
792
|
case "Mo":
|
|
793
793
|
return t.ordinalNumber(r + 1, { unit: "month" });
|
|
794
794
|
case "MMM":
|
|
@@ -813,7 +813,7 @@ const ue = {
|
|
|
813
813
|
case "L":
|
|
814
814
|
return String(r + 1);
|
|
815
815
|
case "LL":
|
|
816
|
-
return
|
|
816
|
+
return M(r + 1, 2);
|
|
817
817
|
case "Lo":
|
|
818
818
|
return t.ordinalNumber(r + 1, { unit: "month" });
|
|
819
819
|
case "LLL":
|
|
@@ -834,21 +834,21 @@ const ue = {
|
|
|
834
834
|
// Local week of year
|
|
835
835
|
w: function(e, n, t, r) {
|
|
836
836
|
const a = Zt(e, r);
|
|
837
|
-
return n === "wo" ? t.ordinalNumber(a, { unit: "week" }) :
|
|
837
|
+
return n === "wo" ? t.ordinalNumber(a, { unit: "week" }) : M(a, n.length);
|
|
838
838
|
},
|
|
839
839
|
// ISO week of year
|
|
840
840
|
I: function(e, n, t) {
|
|
841
841
|
const r = Xt(e);
|
|
842
|
-
return n === "Io" ? t.ordinalNumber(r, { unit: "week" }) :
|
|
842
|
+
return n === "Io" ? t.ordinalNumber(r, { unit: "week" }) : M(r, n.length);
|
|
843
843
|
},
|
|
844
844
|
// Day of the month
|
|
845
845
|
d: function(e, n, t) {
|
|
846
|
-
return n === "do" ? t.ordinalNumber(e.getDate(), { unit: "date" }) :
|
|
846
|
+
return n === "do" ? t.ordinalNumber(e.getDate(), { unit: "date" }) : ce.d(e, n);
|
|
847
847
|
},
|
|
848
848
|
// Day of year
|
|
849
849
|
D: function(e, n, t) {
|
|
850
850
|
const r = or(e);
|
|
851
|
-
return n === "Do" ? t.ordinalNumber(r, { unit: "dayOfYear" }) :
|
|
851
|
+
return n === "Do" ? t.ordinalNumber(r, { unit: "dayOfYear" }) : M(r, n.length);
|
|
852
852
|
},
|
|
853
853
|
// Day of week
|
|
854
854
|
E: function(e, n, t) {
|
|
@@ -886,7 +886,7 @@ const ue = {
|
|
|
886
886
|
case "e":
|
|
887
887
|
return String(s);
|
|
888
888
|
case "ee":
|
|
889
|
-
return
|
|
889
|
+
return M(s, 2);
|
|
890
890
|
case "eo":
|
|
891
891
|
return t.ordinalNumber(s, { unit: "day" });
|
|
892
892
|
case "eee":
|
|
@@ -919,7 +919,7 @@ const ue = {
|
|
|
919
919
|
case "c":
|
|
920
920
|
return String(s);
|
|
921
921
|
case "cc":
|
|
922
|
-
return
|
|
922
|
+
return M(s, n.length);
|
|
923
923
|
case "co":
|
|
924
924
|
return t.ordinalNumber(s, { unit: "day" });
|
|
925
925
|
case "ccc":
|
|
@@ -952,7 +952,7 @@ const ue = {
|
|
|
952
952
|
case "i":
|
|
953
953
|
return String(a);
|
|
954
954
|
case "ii":
|
|
955
|
-
return
|
|
955
|
+
return M(a, n.length);
|
|
956
956
|
case "io":
|
|
957
957
|
return t.ordinalNumber(a, { unit: "day" });
|
|
958
958
|
case "iii":
|
|
@@ -1010,7 +1010,7 @@ const ue = {
|
|
|
1010
1010
|
b: function(e, n, t) {
|
|
1011
1011
|
const r = e.getHours();
|
|
1012
1012
|
let a;
|
|
1013
|
-
switch (r === 12 ? a =
|
|
1013
|
+
switch (r === 12 ? a = we.noon : r === 0 ? a = we.midnight : a = r / 12 >= 1 ? "pm" : "am", n) {
|
|
1014
1014
|
case "b":
|
|
1015
1015
|
case "bb":
|
|
1016
1016
|
return t.dayPeriod(a, {
|
|
@@ -1039,7 +1039,7 @@ const ue = {
|
|
|
1039
1039
|
B: function(e, n, t) {
|
|
1040
1040
|
const r = e.getHours();
|
|
1041
1041
|
let a;
|
|
1042
|
-
switch (r >= 17 ? a =
|
|
1042
|
+
switch (r >= 17 ? a = we.evening : r >= 12 ? a = we.afternoon : r >= 4 ? a = we.morning : a = we.night, n) {
|
|
1043
1043
|
case "B":
|
|
1044
1044
|
case "BB":
|
|
1045
1045
|
case "BBB":
|
|
@@ -1066,33 +1066,33 @@ const ue = {
|
|
|
1066
1066
|
let r = e.getHours() % 12;
|
|
1067
1067
|
return r === 0 && (r = 12), t.ordinalNumber(r, { unit: "hour" });
|
|
1068
1068
|
}
|
|
1069
|
-
return
|
|
1069
|
+
return ce.h(e, n);
|
|
1070
1070
|
},
|
|
1071
1071
|
// Hour [0-23]
|
|
1072
1072
|
H: function(e, n, t) {
|
|
1073
|
-
return n === "Ho" ? t.ordinalNumber(e.getHours(), { unit: "hour" }) :
|
|
1073
|
+
return n === "Ho" ? t.ordinalNumber(e.getHours(), { unit: "hour" }) : ce.H(e, n);
|
|
1074
1074
|
},
|
|
1075
1075
|
// Hour [0-11]
|
|
1076
1076
|
K: function(e, n, t) {
|
|
1077
1077
|
const r = e.getHours() % 12;
|
|
1078
|
-
return n === "Ko" ? t.ordinalNumber(r, { unit: "hour" }) :
|
|
1078
|
+
return n === "Ko" ? t.ordinalNumber(r, { unit: "hour" }) : M(r, n.length);
|
|
1079
1079
|
},
|
|
1080
1080
|
// Hour [1-24]
|
|
1081
1081
|
k: function(e, n, t) {
|
|
1082
1082
|
let r = e.getHours();
|
|
1083
|
-
return r === 0 && (r = 24), n === "ko" ? t.ordinalNumber(r, { unit: "hour" }) :
|
|
1083
|
+
return r === 0 && (r = 24), n === "ko" ? t.ordinalNumber(r, { unit: "hour" }) : M(r, n.length);
|
|
1084
1084
|
},
|
|
1085
1085
|
// Minute
|
|
1086
1086
|
m: function(e, n, t) {
|
|
1087
|
-
return n === "mo" ? t.ordinalNumber(e.getMinutes(), { unit: "minute" }) :
|
|
1087
|
+
return n === "mo" ? t.ordinalNumber(e.getMinutes(), { unit: "minute" }) : ce.m(e, n);
|
|
1088
1088
|
},
|
|
1089
1089
|
// Second
|
|
1090
1090
|
s: function(e, n, t) {
|
|
1091
|
-
return n === "so" ? t.ordinalNumber(e.getSeconds(), { unit: "second" }) :
|
|
1091
|
+
return n === "so" ? t.ordinalNumber(e.getSeconds(), { unit: "second" }) : ce.s(e, n);
|
|
1092
1092
|
},
|
|
1093
1093
|
// Fraction of second
|
|
1094
1094
|
S: function(e, n) {
|
|
1095
|
-
return
|
|
1095
|
+
return ce.S(e, n);
|
|
1096
1096
|
},
|
|
1097
1097
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
1098
1098
|
X: function(e, n, t) {
|
|
@@ -1104,11 +1104,11 @@ const ue = {
|
|
|
1104
1104
|
return vt(r);
|
|
1105
1105
|
case "XXXX":
|
|
1106
1106
|
case "XX":
|
|
1107
|
-
return
|
|
1107
|
+
return pe(r);
|
|
1108
1108
|
case "XXXXX":
|
|
1109
1109
|
case "XXX":
|
|
1110
1110
|
default:
|
|
1111
|
-
return
|
|
1111
|
+
return pe(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 pe(r);
|
|
1123
1123
|
case "xxxxx":
|
|
1124
1124
|
case "xxx":
|
|
1125
1125
|
default:
|
|
1126
|
-
return
|
|
1126
|
+
return pe(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" + pe(r, ":");
|
|
1140
1140
|
}
|
|
1141
1141
|
},
|
|
1142
1142
|
// Timezone (specific non-location)
|
|
@@ -1149,28 +1149,28 @@ const ue = {
|
|
|
1149
1149
|
return "GMT" + Tt(r, ":");
|
|
1150
1150
|
case "zzzz":
|
|
1151
1151
|
default:
|
|
1152
|
-
return "GMT" +
|
|
1152
|
+
return "GMT" + pe(r, ":");
|
|
1153
1153
|
}
|
|
1154
1154
|
},
|
|
1155
1155
|
// Seconds timestamp
|
|
1156
1156
|
t: function(e, n, t) {
|
|
1157
1157
|
const r = Math.trunc(+e / 1e3);
|
|
1158
|
-
return
|
|
1158
|
+
return M(r, n.length);
|
|
1159
1159
|
},
|
|
1160
1160
|
// Milliseconds timestamp
|
|
1161
1161
|
T: function(e, n, t) {
|
|
1162
|
-
return
|
|
1162
|
+
return M(+e, n.length);
|
|
1163
1163
|
}
|
|
1164
1164
|
};
|
|
1165
1165
|
function Tt(e, n = "") {
|
|
1166
1166
|
const t = e > 0 ? "-" : "+", r = Math.abs(e), a = Math.trunc(r / 60), s = r % 60;
|
|
1167
|
-
return s === 0 ? t + String(a) : t + String(a) + n +
|
|
1167
|
+
return s === 0 ? t + String(a) : t + String(a) + n + M(s, 2);
|
|
1168
1168
|
}
|
|
1169
1169
|
function vt(e, n) {
|
|
1170
|
-
return e % 60 === 0 ? (e > 0 ? "-" : "+") +
|
|
1170
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + M(Math.abs(e) / 60, 2) : pe(e, n);
|
|
1171
1171
|
}
|
|
1172
|
-
function
|
|
1173
|
-
const t = e > 0 ? "-" : "+", r = Math.abs(e), a =
|
|
1172
|
+
function pe(e, n = "") {
|
|
1173
|
+
const t = e > 0 ? "-" : "+", r = Math.abs(e), a = M(Math.trunc(r / 60), 2), s = M(r % 60, 2);
|
|
1174
1174
|
return t + a + n + s;
|
|
1175
1175
|
}
|
|
1176
1176
|
const wt = (e, n) => {
|
|
@@ -1218,7 +1218,7 @@ const wt = (e, n) => {
|
|
|
1218
1218
|
break;
|
|
1219
1219
|
}
|
|
1220
1220
|
return s.replace("{{date}}", wt(r, n)).replace("{{time}}", Jt(a, n));
|
|
1221
|
-
},
|
|
1221
|
+
}, nt = {
|
|
1222
1222
|
p: Jt,
|
|
1223
1223
|
P: ur
|
|
1224
1224
|
}, lr = /^D+$/, cr = /^Y+$/, dr = ["D", "DD", "YY", "YYYY"];
|
|
@@ -1228,7 +1228,7 @@ function Kt(e) {
|
|
|
1228
1228
|
function en(e) {
|
|
1229
1229
|
return cr.test(e);
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1231
|
+
function rt(e, n, t) {
|
|
1232
1232
|
const r = mr(e, n, t);
|
|
1233
1233
|
if (console.warn(r), dr.includes(e)) throw new RangeError(r);
|
|
1234
1234
|
}
|
|
@@ -1238,30 +1238,30 @@ 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 y,
|
|
1242
|
-
const r =
|
|
1243
|
-
if (!
|
|
1241
|
+
var y, D, _, p, P, N, B, H;
|
|
1242
|
+
const r = Pe(), a = (t == null ? void 0 : t.locale) ?? r.locale ?? Qt, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((D = (y = t == null ? void 0 : t.locale) == null ? void 0 : y.options) == null ? void 0 : D.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((p = (_ = r.locale) == null ? void 0 : _.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, o = (t == null ? void 0 : t.weekStartsOn) ?? ((N = (P = t == null ? void 0 : t.locale) == null ? void 0 : P.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
|
+
if (!Rn(d))
|
|
1244
1244
|
throw new RangeError("Invalid time value");
|
|
1245
|
-
let g = n.match(gr).map((
|
|
1246
|
-
const S =
|
|
1245
|
+
let g = n.match(gr).map((v) => {
|
|
1246
|
+
const S = v[0];
|
|
1247
1247
|
if (S === "p" || S === "P") {
|
|
1248
|
-
const
|
|
1249
|
-
return v
|
|
1248
|
+
const T = nt[S];
|
|
1249
|
+
return T(v, a.formatLong);
|
|
1250
1250
|
}
|
|
1251
|
-
return
|
|
1252
|
-
}).join("").match(fr).map((
|
|
1253
|
-
if (
|
|
1251
|
+
return v;
|
|
1252
|
+
}).join("").match(fr).map((v) => {
|
|
1253
|
+
if (v === "''")
|
|
1254
1254
|
return { isToken: !1, value: "'" };
|
|
1255
|
-
const S =
|
|
1255
|
+
const S = v[0];
|
|
1256
1256
|
if (S === "'")
|
|
1257
|
-
return { isToken: !1, value: _r(
|
|
1257
|
+
return { isToken: !1, value: _r(v) };
|
|
1258
1258
|
if (_t[S])
|
|
1259
|
-
return { isToken: !0, value:
|
|
1259
|
+
return { isToken: !0, value: v };
|
|
1260
1260
|
if (S.match(yr))
|
|
1261
1261
|
throw new RangeError(
|
|
1262
1262
|
"Format string contains an unescaped latin alphabet character `" + S + "`"
|
|
1263
1263
|
);
|
|
1264
|
-
return { isToken: !1, value:
|
|
1264
|
+
return { isToken: !1, value: v };
|
|
1265
1265
|
});
|
|
1266
1266
|
a.localize.preprocessor && (g = a.localize.preprocessor(d, g));
|
|
1267
1267
|
const f = {
|
|
@@ -1269,12 +1269,12 @@ function hr(e, n, t) {
|
|
|
1269
1269
|
weekStartsOn: o,
|
|
1270
1270
|
locale: a
|
|
1271
1271
|
};
|
|
1272
|
-
return g.map((
|
|
1273
|
-
if (!
|
|
1274
|
-
const S =
|
|
1275
|
-
(!(t != null && t.useAdditionalWeekYearTokens) && en(S) || !(t != null && t.useAdditionalDayOfYearTokens) && Kt(S)) &&
|
|
1276
|
-
const
|
|
1277
|
-
return
|
|
1272
|
+
return g.map((v) => {
|
|
1273
|
+
if (!v.isToken) return v.value;
|
|
1274
|
+
const S = v.value;
|
|
1275
|
+
(!(t != null && t.useAdditionalWeekYearTokens) && en(S) || !(t != null && t.useAdditionalDayOfYearTokens) && Kt(S)) && rt(S, n, String(e));
|
|
1276
|
+
const T = _t[S[0]];
|
|
1277
|
+
return T(d, S, a.localize, f);
|
|
1278
1278
|
}).join("");
|
|
1279
1279
|
}
|
|
1280
1280
|
function _r(e) {
|
|
@@ -1282,7 +1282,7 @@ function _r(e) {
|
|
|
1282
1282
|
return n ? n[1].replace(br, "'") : e;
|
|
1283
1283
|
}
|
|
1284
1284
|
function tn() {
|
|
1285
|
-
return Object.assign({},
|
|
1285
|
+
return Object.assign({}, Pe());
|
|
1286
1286
|
}
|
|
1287
1287
|
function Tr(e, n) {
|
|
1288
1288
|
const t = W(e, n == null ? void 0 : n.in).getDay();
|
|
@@ -1301,7 +1301,7 @@ function wr(e) {
|
|
|
1301
1301
|
var n;
|
|
1302
1302
|
return typeof e == "function" && ((n = e.prototype) == null ? void 0 : n.constructor) === e;
|
|
1303
1303
|
}
|
|
1304
|
-
const
|
|
1304
|
+
const Dr = 10;
|
|
1305
1305
|
class nn {
|
|
1306
1306
|
constructor() {
|
|
1307
1307
|
h(this, "subPriority", 0);
|
|
@@ -1321,10 +1321,10 @@ class xr extends nn {
|
|
|
1321
1321
|
return this.setValue(n, t, this.value, r);
|
|
1322
1322
|
}
|
|
1323
1323
|
}
|
|
1324
|
-
class
|
|
1324
|
+
class Pr extends nn {
|
|
1325
1325
|
constructor(t, r) {
|
|
1326
1326
|
super();
|
|
1327
|
-
h(this, "priority",
|
|
1327
|
+
h(this, "priority", Dr);
|
|
1328
1328
|
h(this, "subPriority", -1);
|
|
1329
1329
|
this.context = t || ((a) => Y(r, a));
|
|
1330
1330
|
}
|
|
@@ -1350,7 +1350,7 @@ class O {
|
|
|
1350
1350
|
return !0;
|
|
1351
1351
|
}
|
|
1352
1352
|
}
|
|
1353
|
-
class
|
|
1353
|
+
class Rr extends O {
|
|
1354
1354
|
constructor() {
|
|
1355
1355
|
super(...arguments);
|
|
1356
1356
|
h(this, "priority", 140);
|
|
@@ -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
|
+
}, te = {
|
|
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 ne(e, n) {
|
|
1435
1435
|
const t = n.match(e);
|
|
1436
1436
|
if (!t)
|
|
1437
1437
|
return null;
|
|
@@ -1463,7 +1463,7 @@ function j(e, n) {
|
|
|
1463
1463
|
return C(new RegExp("^\\d{1," + e + "}"), n);
|
|
1464
1464
|
}
|
|
1465
1465
|
}
|
|
1466
|
-
function
|
|
1466
|
+
function Ge(e, n) {
|
|
1467
1467
|
switch (e) {
|
|
1468
1468
|
case 1:
|
|
1469
1469
|
return C(L.singleDigitSigned, n);
|
|
@@ -1477,7 +1477,7 @@ function Ie(e, n) {
|
|
|
1477
1477
|
return C(new RegExp("^-?\\d{1," + e + "}"), n);
|
|
1478
1478
|
}
|
|
1479
1479
|
}
|
|
1480
|
-
function
|
|
1480
|
+
function ot(e) {
|
|
1481
1481
|
switch (e) {
|
|
1482
1482
|
case "morning":
|
|
1483
1483
|
return 4;
|
|
@@ -1549,7 +1549,7 @@ class Or extends O {
|
|
|
1549
1549
|
return t.setFullYear(o, 0, 1), t.setHours(0, 0, 0, 0), t;
|
|
1550
1550
|
}
|
|
1551
1551
|
}
|
|
1552
|
-
class
|
|
1552
|
+
class Mr extends O {
|
|
1553
1553
|
constructor() {
|
|
1554
1554
|
super(...arguments);
|
|
1555
1555
|
h(this, "priority", 130);
|
|
@@ -1592,7 +1592,7 @@ class kr extends O {
|
|
|
1592
1592
|
return r.isTwoDigitYear || r.year > 0;
|
|
1593
1593
|
}
|
|
1594
1594
|
set(t, r, a, s) {
|
|
1595
|
-
const o =
|
|
1595
|
+
const o = st(t, s);
|
|
1596
1596
|
if (a.isTwoDigitYear) {
|
|
1597
1597
|
const g = an(
|
|
1598
1598
|
a.year,
|
|
@@ -1602,13 +1602,13 @@ class kr extends O {
|
|
|
1602
1602
|
g,
|
|
1603
1603
|
0,
|
|
1604
1604
|
s.firstWeekContainsDate
|
|
1605
|
-
), t.setHours(0, 0, 0, 0),
|
|
1605
|
+
), t.setHours(0, 0, 0, 0), de(t, s);
|
|
1606
1606
|
}
|
|
1607
1607
|
const d = !("era" in r) || r.era === 1 ? a.year : 1 - a.year;
|
|
1608
|
-
return t.setFullYear(d, 0, s.firstWeekContainsDate), t.setHours(0, 0, 0, 0),
|
|
1608
|
+
return t.setFullYear(d, 0, s.firstWeekContainsDate), t.setHours(0, 0, 0, 0), de(t, s);
|
|
1609
1609
|
}
|
|
1610
1610
|
}
|
|
1611
|
-
class
|
|
1611
|
+
class kr extends O {
|
|
1612
1612
|
constructor() {
|
|
1613
1613
|
super(...arguments);
|
|
1614
1614
|
h(this, "priority", 130);
|
|
@@ -1631,11 +1631,11 @@ class Rr extends O {
|
|
|
1631
1631
|
]);
|
|
1632
1632
|
}
|
|
1633
1633
|
parse(t, r) {
|
|
1634
|
-
return
|
|
1634
|
+
return Ge(r === "R" ? 4 : r.length, t);
|
|
1635
1635
|
}
|
|
1636
1636
|
set(t, r, a) {
|
|
1637
1637
|
const s = Y(t, 0);
|
|
1638
|
-
return s.setFullYear(a, 0, 4), s.setHours(0, 0, 0, 0),
|
|
1638
|
+
return s.setFullYear(a, 0, 4), s.setHours(0, 0, 0, 0), xe(s);
|
|
1639
1639
|
}
|
|
1640
1640
|
}
|
|
1641
1641
|
class Sr extends O {
|
|
@@ -1645,7 +1645,7 @@ class Sr extends O {
|
|
|
1645
1645
|
h(this, "incompatibleTokens", ["G", "y", "Y", "R", "w", "I", "i", "e", "c", "t", "T"]);
|
|
1646
1646
|
}
|
|
1647
1647
|
parse(t, r) {
|
|
1648
|
-
return
|
|
1648
|
+
return Ge(r === "u" ? 4 : r.length, t);
|
|
1649
1649
|
}
|
|
1650
1650
|
set(t, r, a) {
|
|
1651
1651
|
return t.setFullYear(a, 0, 1), t.setHours(0, 0, 0, 0), t;
|
|
@@ -1937,7 +1937,7 @@ class Fr extends O {
|
|
|
1937
1937
|
return r >= 1 && r <= 53;
|
|
1938
1938
|
}
|
|
1939
1939
|
set(t, r, a, s) {
|
|
1940
|
-
return
|
|
1940
|
+
return de(Lr(t, a, s), s);
|
|
1941
1941
|
}
|
|
1942
1942
|
}
|
|
1943
1943
|
function zr(e, n, t) {
|
|
@@ -1979,7 +1979,7 @@ class Gr extends O {
|
|
|
1979
1979
|
return r >= 1 && r <= 53;
|
|
1980
1980
|
}
|
|
1981
1981
|
set(t, r, a) {
|
|
1982
|
-
return
|
|
1982
|
+
return xe(zr(t, a));
|
|
1983
1983
|
}
|
|
1984
1984
|
}
|
|
1985
1985
|
const Wr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Yr = [
|
|
@@ -2076,9 +2076,9 @@ class Er extends O {
|
|
|
2076
2076
|
return t.setMonth(0, a), t.setHours(0, 0, 0, 0), t;
|
|
2077
2077
|
}
|
|
2078
2078
|
}
|
|
2079
|
-
function
|
|
2080
|
-
var
|
|
2081
|
-
const r =
|
|
2079
|
+
function it(e, n, t) {
|
|
2080
|
+
var D, _, p, P;
|
|
2081
|
+
const r = Pe(), a = (t == null ? void 0 : t.weekStartsOn) ?? ((_ = (D = t == null ? void 0 : t.locale) == null ? void 0 : D.options) == null ? void 0 : _.weekStartsOn) ?? r.weekStartsOn ?? ((P = (p = r.locale) == null ? void 0 : p.options) == null ? void 0 : P.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
2082
|
return Vt(s, y, t);
|
|
2083
2083
|
}
|
|
2084
2084
|
class Br extends O {
|
|
@@ -2115,7 +2115,7 @@ class Br extends O {
|
|
|
2115
2115
|
return r >= 0 && r <= 6;
|
|
2116
2116
|
}
|
|
2117
2117
|
set(t, r, a, s) {
|
|
2118
|
-
return t =
|
|
2118
|
+
return t = it(t, a, s), t.setHours(0, 0, 0, 0), t;
|
|
2119
2119
|
}
|
|
2120
2120
|
}
|
|
2121
2121
|
class Hr extends O {
|
|
@@ -2180,7 +2180,7 @@ class Hr extends O {
|
|
|
2180
2180
|
return r >= 0 && r <= 6;
|
|
2181
2181
|
}
|
|
2182
2182
|
set(t, r, a, s) {
|
|
2183
|
-
return t =
|
|
2183
|
+
return t = it(t, a, s), t.setHours(0, 0, 0, 0), t;
|
|
2184
2184
|
}
|
|
2185
2185
|
}
|
|
2186
2186
|
class Ur extends O {
|
|
@@ -2245,7 +2245,7 @@ class Ur extends O {
|
|
|
2245
2245
|
return r >= 0 && r <= 6;
|
|
2246
2246
|
}
|
|
2247
2247
|
set(t, r, a, s) {
|
|
2248
|
-
return t =
|
|
2248
|
+
return t = it(t, a, s), t.setHours(0, 0, 0, 0), t;
|
|
2249
2249
|
}
|
|
2250
2250
|
}
|
|
2251
2251
|
function $r(e, n, t) {
|
|
@@ -2380,7 +2380,7 @@ class Ar extends O {
|
|
|
2380
2380
|
}
|
|
2381
2381
|
}
|
|
2382
2382
|
set(t, r, a) {
|
|
2383
|
-
return t.setHours(
|
|
2383
|
+
return t.setHours(ot(a), 0, 0, 0), t;
|
|
2384
2384
|
}
|
|
2385
2385
|
}
|
|
2386
2386
|
class Qr extends O {
|
|
@@ -2421,7 +2421,7 @@ class Qr extends O {
|
|
|
2421
2421
|
}
|
|
2422
2422
|
}
|
|
2423
2423
|
set(t, r, a) {
|
|
2424
|
-
return t.setHours(
|
|
2424
|
+
return t.setHours(ot(a), 0, 0, 0), t;
|
|
2425
2425
|
}
|
|
2426
2426
|
}
|
|
2427
2427
|
class Xr extends O {
|
|
@@ -2462,7 +2462,7 @@ class Xr extends O {
|
|
|
2462
2462
|
}
|
|
2463
2463
|
}
|
|
2464
2464
|
set(t, r, a) {
|
|
2465
|
-
return t.setHours(
|
|
2465
|
+
return t.setHours(ot(a), 0, 0, 0), t;
|
|
2466
2466
|
}
|
|
2467
2467
|
}
|
|
2468
2468
|
class Zr extends O {
|
|
@@ -2628,31 +2628,31 @@ class aa extends O {
|
|
|
2628
2628
|
parse(t, r) {
|
|
2629
2629
|
switch (r) {
|
|
2630
2630
|
case "X":
|
|
2631
|
-
return
|
|
2632
|
-
|
|
2631
|
+
return ne(
|
|
2632
|
+
te.basicOptionalMinutes,
|
|
2633
2633
|
t
|
|
2634
2634
|
);
|
|
2635
2635
|
case "XX":
|
|
2636
|
-
return te
|
|
2636
|
+
return ne(te.basic, t);
|
|
2637
2637
|
case "XXXX":
|
|
2638
|
-
return
|
|
2639
|
-
|
|
2638
|
+
return ne(
|
|
2639
|
+
te.basicOptionalSeconds,
|
|
2640
2640
|
t
|
|
2641
2641
|
);
|
|
2642
2642
|
case "XXXXX":
|
|
2643
|
-
return
|
|
2644
|
-
|
|
2643
|
+
return ne(
|
|
2644
|
+
te.extendedOptionalSeconds,
|
|
2645
2645
|
t
|
|
2646
2646
|
);
|
|
2647
2647
|
case "XXX":
|
|
2648
2648
|
default:
|
|
2649
|
-
return te
|
|
2649
|
+
return ne(te.extended, t);
|
|
2650
2650
|
}
|
|
2651
2651
|
}
|
|
2652
2652
|
set(t, r, a) {
|
|
2653
2653
|
return r.timestampIsSet ? t : Y(
|
|
2654
2654
|
t,
|
|
2655
|
-
t.getTime() -
|
|
2655
|
+
t.getTime() - ze(t) - a
|
|
2656
2656
|
);
|
|
2657
2657
|
}
|
|
2658
2658
|
}
|
|
@@ -2665,31 +2665,31 @@ class sa extends O {
|
|
|
2665
2665
|
parse(t, r) {
|
|
2666
2666
|
switch (r) {
|
|
2667
2667
|
case "x":
|
|
2668
|
-
return
|
|
2669
|
-
|
|
2668
|
+
return ne(
|
|
2669
|
+
te.basicOptionalMinutes,
|
|
2670
2670
|
t
|
|
2671
2671
|
);
|
|
2672
2672
|
case "xx":
|
|
2673
|
-
return te
|
|
2673
|
+
return ne(te.basic, t);
|
|
2674
2674
|
case "xxxx":
|
|
2675
|
-
return
|
|
2676
|
-
|
|
2675
|
+
return ne(
|
|
2676
|
+
te.basicOptionalSeconds,
|
|
2677
2677
|
t
|
|
2678
2678
|
);
|
|
2679
2679
|
case "xxxxx":
|
|
2680
|
-
return
|
|
2681
|
-
|
|
2680
|
+
return ne(
|
|
2681
|
+
te.extendedOptionalSeconds,
|
|
2682
2682
|
t
|
|
2683
2683
|
);
|
|
2684
2684
|
case "xxx":
|
|
2685
2685
|
default:
|
|
2686
|
-
return te
|
|
2686
|
+
return ne(te.extended, t);
|
|
2687
2687
|
}
|
|
2688
2688
|
}
|
|
2689
2689
|
set(t, r, a) {
|
|
2690
2690
|
return r.timestampIsSet ? t : Y(
|
|
2691
2691
|
t,
|
|
2692
|
-
t.getTime() -
|
|
2692
|
+
t.getTime() - ze(t) - a
|
|
2693
2693
|
);
|
|
2694
2694
|
}
|
|
2695
2695
|
}
|
|
@@ -2720,10 +2720,10 @@ class ia extends O {
|
|
|
2720
2720
|
}
|
|
2721
2721
|
}
|
|
2722
2722
|
const ua = {
|
|
2723
|
-
G: new
|
|
2723
|
+
G: new Rr(),
|
|
2724
2724
|
y: new Or(),
|
|
2725
|
-
Y: new
|
|
2726
|
-
R: new
|
|
2725
|
+
Y: new Mr(),
|
|
2726
|
+
R: new kr(),
|
|
2727
2727
|
u: new Sr(),
|
|
2728
2728
|
Q: new Ir(),
|
|
2729
2729
|
q: new Cr(),
|
|
@@ -2753,77 +2753,77 @@ const ua = {
|
|
|
2753
2753
|
T: new ia()
|
|
2754
2754
|
}, la = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, ca = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, da = /^'([^]*?)'?$/, ma = /''/g, fa = /\S/, ga = /[a-zA-Z]/;
|
|
2755
2755
|
function pa(e, n, t, r) {
|
|
2756
|
-
var B, H,
|
|
2757
|
-
const a = () => Y(t, NaN), s = tn(), o = s.locale ?? Qt, d = s.firstWeekContainsDate ?? ((H = (B = s.locale) == null ? void 0 : B.options) == null ? void 0 : H.firstWeekContainsDate) ?? 1, g = s.weekStartsOn ?? ((S = (
|
|
2756
|
+
var B, H, v, S;
|
|
2757
|
+
const a = () => Y(t, NaN), s = tn(), o = s.locale ?? Qt, d = s.firstWeekContainsDate ?? ((H = (B = s.locale) == null ? void 0 : B.options) == null ? void 0 : H.firstWeekContainsDate) ?? 1, g = s.weekStartsOn ?? ((S = (v = s.locale) == null ? void 0 : v.options) == null ? void 0 : S.weekStartsOn) ?? 0, f = {
|
|
2758
2758
|
firstWeekContainsDate: d,
|
|
2759
2759
|
weekStartsOn: g,
|
|
2760
2760
|
locale: o
|
|
2761
|
-
}, y = [new
|
|
2762
|
-
const k =
|
|
2763
|
-
if (k in
|
|
2764
|
-
const q =
|
|
2765
|
-
return q(
|
|
2761
|
+
}, y = [new Pr(r == null ? void 0 : r.in, t)], D = n.match(ca).map((T) => {
|
|
2762
|
+
const k = T[0];
|
|
2763
|
+
if (k in nt) {
|
|
2764
|
+
const q = nt[k];
|
|
2765
|
+
return q(T, o.formatLong);
|
|
2766
2766
|
}
|
|
2767
|
-
return
|
|
2767
|
+
return T;
|
|
2768
2768
|
}).join("").match(la), _ = [];
|
|
2769
|
-
for (let
|
|
2770
|
-
en(
|
|
2771
|
-
const k =
|
|
2769
|
+
for (let T of D) {
|
|
2770
|
+
en(T) && rt(T, n, e), Kt(T) && rt(T, n, e);
|
|
2771
|
+
const k = T[0], q = ua[k];
|
|
2772
2772
|
if (q) {
|
|
2773
|
-
const { incompatibleTokens:
|
|
2774
|
-
if (Array.isArray(
|
|
2775
|
-
const
|
|
2776
|
-
(
|
|
2773
|
+
const { incompatibleTokens: ue } = q;
|
|
2774
|
+
if (Array.isArray(ue)) {
|
|
2775
|
+
const le = _.find(
|
|
2776
|
+
(V) => ue.includes(V.token) || V.token === k
|
|
2777
2777
|
);
|
|
2778
|
-
if (
|
|
2778
|
+
if (le)
|
|
2779
2779
|
throw new RangeError(
|
|
2780
|
-
`The format string mustn't contain \`${
|
|
2780
|
+
`The format string mustn't contain \`${le.fullToken}\` and \`${T}\` at the same time`
|
|
2781
2781
|
);
|
|
2782
2782
|
} else if (q.incompatibleTokens === "*" && _.length > 0)
|
|
2783
2783
|
throw new RangeError(
|
|
2784
|
-
`The format string mustn't contain \`${
|
|
2784
|
+
`The format string mustn't contain \`${T}\` and any other token at the same time`
|
|
2785
2785
|
);
|
|
2786
|
-
_.push({ token: k, fullToken:
|
|
2787
|
-
const
|
|
2786
|
+
_.push({ token: k, fullToken: T });
|
|
2787
|
+
const se = q.run(
|
|
2788
2788
|
e,
|
|
2789
|
-
|
|
2789
|
+
T,
|
|
2790
2790
|
o.match,
|
|
2791
2791
|
f
|
|
2792
2792
|
);
|
|
2793
|
-
if (!
|
|
2793
|
+
if (!se)
|
|
2794
2794
|
return a();
|
|
2795
|
-
y.push(
|
|
2795
|
+
y.push(se.setter), e = se.rest;
|
|
2796
2796
|
} else {
|
|
2797
2797
|
if (k.match(ga))
|
|
2798
2798
|
throw new RangeError(
|
|
2799
2799
|
"Format string contains an unescaped latin alphabet character `" + k + "`"
|
|
2800
2800
|
);
|
|
2801
|
-
if (
|
|
2802
|
-
e = e.slice(
|
|
2801
|
+
if (T === "''" ? T = "'" : k === "'" && (T = ba(T)), e.indexOf(T) === 0)
|
|
2802
|
+
e = e.slice(T.length);
|
|
2803
2803
|
else
|
|
2804
2804
|
return a();
|
|
2805
2805
|
}
|
|
2806
2806
|
}
|
|
2807
2807
|
if (e.length > 0 && fa.test(e))
|
|
2808
2808
|
return a();
|
|
2809
|
-
const p = y.map((
|
|
2810
|
-
(
|
|
2811
|
-
).map((
|
|
2812
|
-
let
|
|
2813
|
-
if (isNaN(+
|
|
2809
|
+
const p = y.map((T) => T.priority).sort((T, k) => k - T).filter((T, k, q) => q.indexOf(T) === k).map(
|
|
2810
|
+
(T) => y.filter((k) => k.priority === T).sort((k, q) => q.subPriority - k.subPriority)
|
|
2811
|
+
).map((T) => T[0]);
|
|
2812
|
+
let P = W(t, r == null ? void 0 : r.in);
|
|
2813
|
+
if (isNaN(+P)) return a();
|
|
2814
2814
|
const N = {};
|
|
2815
|
-
for (const
|
|
2816
|
-
if (!
|
|
2815
|
+
for (const T of p) {
|
|
2816
|
+
if (!T.validate(P, f))
|
|
2817
2817
|
return a();
|
|
2818
|
-
const k =
|
|
2819
|
-
Array.isArray(k) ? (
|
|
2818
|
+
const k = T.set(P, N, f);
|
|
2819
|
+
Array.isArray(k) ? (P = k[0], Object.assign(N, k[1])) : P = k;
|
|
2820
2820
|
}
|
|
2821
|
-
return
|
|
2821
|
+
return P;
|
|
2822
2822
|
}
|
|
2823
2823
|
function ba(e) {
|
|
2824
2824
|
return e.match(da)[1].replace(ma, "'");
|
|
2825
2825
|
}
|
|
2826
|
-
function
|
|
2826
|
+
function Dt(e, n, t) {
|
|
2827
2827
|
const r = tn(), a = _a(e, t.timeZone, t.locale ?? r.locale);
|
|
2828
2828
|
return "formatToParts" in a ? ya(a, n) : ha(a, n);
|
|
2829
2829
|
}
|
|
@@ -2844,8 +2844,8 @@ function _a(e, n, t) {
|
|
|
2844
2844
|
});
|
|
2845
2845
|
}
|
|
2846
2846
|
function Ta(e, n) {
|
|
2847
|
-
const t =
|
|
2848
|
-
return "formatToParts" in t ? wa(t, e) :
|
|
2847
|
+
const t = Pa(n);
|
|
2848
|
+
return "formatToParts" in t ? wa(t, e) : Da(t, e);
|
|
2849
2849
|
}
|
|
2850
2850
|
const va = {
|
|
2851
2851
|
year: 0,
|
|
@@ -2869,7 +2869,7 @@ function wa(e, n) {
|
|
|
2869
2869
|
throw t;
|
|
2870
2870
|
}
|
|
2871
2871
|
}
|
|
2872
|
-
function
|
|
2872
|
+
function Da(e, n) {
|
|
2873
2873
|
const t = e.format(n), r = /(\d+)\/(\d+)\/(\d+),? (\d+):(\d+):(\d+)/.exec(t);
|
|
2874
2874
|
return [
|
|
2875
2875
|
parseInt(r[3], 10),
|
|
@@ -2880,7 +2880,7 @@ function Pa(e, n) {
|
|
|
2880
2880
|
parseInt(r[6], 10)
|
|
2881
2881
|
];
|
|
2882
2882
|
}
|
|
2883
|
-
const
|
|
2883
|
+
const Ae = {}, xt = new Intl.DateTimeFormat("en-US", {
|
|
2884
2884
|
hourCycle: "h23",
|
|
2885
2885
|
timeZone: "America/New_York",
|
|
2886
2886
|
year: "numeric",
|
|
@@ -2890,8 +2890,8 @@ const We = {}, xt = new Intl.DateTimeFormat("en-US", {
|
|
|
2890
2890
|
minute: "2-digit",
|
|
2891
2891
|
second: "2-digit"
|
|
2892
2892
|
}).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), xa = xt === "06/25/2014, 00:00:00" || xt === "06/25/2014 00:00:00";
|
|
2893
|
-
function
|
|
2894
|
-
return
|
|
2893
|
+
function Pa(e) {
|
|
2894
|
+
return Ae[e] || (Ae[e] = xa ? new Intl.DateTimeFormat("en-US", {
|
|
2895
2895
|
hourCycle: "h23",
|
|
2896
2896
|
timeZone: e,
|
|
2897
2897
|
year: "numeric",
|
|
@@ -2909,62 +2909,62 @@ function Ma(e) {
|
|
|
2909
2909
|
hour: "2-digit",
|
|
2910
2910
|
minute: "2-digit",
|
|
2911
2911
|
second: "2-digit"
|
|
2912
|
-
})),
|
|
2912
|
+
})), Ae[e];
|
|
2913
2913
|
}
|
|
2914
|
-
function
|
|
2914
|
+
function ut(e, n, t, r, a, s, o) {
|
|
2915
2915
|
const d = /* @__PURE__ */ new Date(0);
|
|
2916
2916
|
return d.setUTCFullYear(e, n, t), d.setUTCHours(r, a, s, o), d;
|
|
2917
2917
|
}
|
|
2918
|
-
const
|
|
2918
|
+
const Pt = 36e5, Ra = 6e4, Qe = {
|
|
2919
2919
|
timezone: /([Z+-].*)$/,
|
|
2920
2920
|
timezoneZ: /^(Z)$/,
|
|
2921
2921
|
timezoneHH: /^([+-]\d{2})$/,
|
|
2922
2922
|
timezoneHHMM: /^([+-])(\d{2}):?(\d{2})$/
|
|
2923
2923
|
};
|
|
2924
|
-
function
|
|
2924
|
+
function Ee(e, n, t) {
|
|
2925
2925
|
if (!e)
|
|
2926
2926
|
return 0;
|
|
2927
|
-
let r =
|
|
2927
|
+
let r = Qe.timezoneZ.exec(e);
|
|
2928
2928
|
if (r)
|
|
2929
2929
|
return 0;
|
|
2930
2930
|
let a, s;
|
|
2931
|
-
if (r =
|
|
2932
|
-
return a = parseInt(r[1], 10),
|
|
2933
|
-
if (r =
|
|
2931
|
+
if (r = Qe.timezoneHH.exec(e), r)
|
|
2932
|
+
return a = parseInt(r[1], 10), Rt(a) ? -(a * Pt) : NaN;
|
|
2933
|
+
if (r = Qe.timezoneHHMM.exec(e), r) {
|
|
2934
2934
|
a = parseInt(r[2], 10);
|
|
2935
2935
|
const o = parseInt(r[3], 10);
|
|
2936
|
-
return
|
|
2936
|
+
return Rt(a, o) ? (s = Math.abs(a) * Pt + o * Ra, r[1] === "+" ? -s : s) : NaN;
|
|
2937
2937
|
}
|
|
2938
|
-
if (
|
|
2938
|
+
if (ka(e)) {
|
|
2939
2939
|
n = new Date(n || Date.now());
|
|
2940
|
-
const o = t ? n : Oa(n), d =
|
|
2941
|
-
return -(t ? d :
|
|
2940
|
+
const o = t ? n : Oa(n), d = at(o, e);
|
|
2941
|
+
return -(t ? d : Ma(n, d, e));
|
|
2942
2942
|
}
|
|
2943
2943
|
return NaN;
|
|
2944
2944
|
}
|
|
2945
2945
|
function Oa(e) {
|
|
2946
|
-
return
|
|
2946
|
+
return ut(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds());
|
|
2947
2947
|
}
|
|
2948
|
-
function
|
|
2949
|
-
const t = Ta(e, n), r =
|
|
2948
|
+
function at(e, n) {
|
|
2949
|
+
const t = Ta(e, n), r = ut(t[0], t[1] - 1, t[2], t[3] % 24, t[4], t[5], 0).getTime();
|
|
2950
2950
|
let a = e.getTime();
|
|
2951
2951
|
const s = a % 1e3;
|
|
2952
2952
|
return a -= s >= 0 ? s : 1e3 + s, r - a;
|
|
2953
2953
|
}
|
|
2954
|
-
function
|
|
2954
|
+
function Ma(e, n, t) {
|
|
2955
2955
|
let a = e.getTime() - n;
|
|
2956
|
-
const s =
|
|
2956
|
+
const s = at(new Date(a), t);
|
|
2957
2957
|
if (n === s)
|
|
2958
2958
|
return n;
|
|
2959
2959
|
a -= s - n;
|
|
2960
|
-
const o =
|
|
2960
|
+
const o = at(new Date(a), t);
|
|
2961
2961
|
return s === o ? s : Math.max(s, o);
|
|
2962
2962
|
}
|
|
2963
|
-
function
|
|
2963
|
+
function Rt(e, n) {
|
|
2964
2964
|
return -23 <= e && e <= 23 && (n == null || 0 <= n && n <= 59);
|
|
2965
2965
|
}
|
|
2966
2966
|
const Ot = {};
|
|
2967
|
-
function
|
|
2967
|
+
function ka(e) {
|
|
2968
2968
|
if (Ot[e])
|
|
2969
2969
|
return !0;
|
|
2970
2970
|
try {
|
|
@@ -2976,39 +2976,39 @@ function Ra(e) {
|
|
|
2976
2976
|
const Sa = 60 * 1e3, Ia = {
|
|
2977
2977
|
// Timezone (ISO-8601. If offset is 0, output is always `'Z'`)
|
|
2978
2978
|
X: function(e, n, t) {
|
|
2979
|
-
const r =
|
|
2979
|
+
const r = Xe(t.timeZone, e);
|
|
2980
2980
|
if (r === 0)
|
|
2981
2981
|
return "Z";
|
|
2982
2982
|
switch (n) {
|
|
2983
2983
|
case "X":
|
|
2984
|
-
return
|
|
2984
|
+
return Mt(r);
|
|
2985
2985
|
case "XXXX":
|
|
2986
2986
|
case "XX":
|
|
2987
|
-
return
|
|
2987
|
+
return De(r);
|
|
2988
2988
|
case "XXXXX":
|
|
2989
2989
|
case "XXX":
|
|
2990
2990
|
default:
|
|
2991
|
-
return
|
|
2991
|
+
return De(r, ":");
|
|
2992
2992
|
}
|
|
2993
2993
|
},
|
|
2994
2994
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
2995
2995
|
x: function(e, n, t) {
|
|
2996
|
-
const r =
|
|
2996
|
+
const r = Xe(t.timeZone, e);
|
|
2997
2997
|
switch (n) {
|
|
2998
2998
|
case "x":
|
|
2999
|
-
return
|
|
2999
|
+
return Mt(r);
|
|
3000
3000
|
case "xxxx":
|
|
3001
3001
|
case "xx":
|
|
3002
|
-
return
|
|
3002
|
+
return De(r);
|
|
3003
3003
|
case "xxxxx":
|
|
3004
3004
|
case "xxx":
|
|
3005
3005
|
default:
|
|
3006
|
-
return
|
|
3006
|
+
return De(r, ":");
|
|
3007
3007
|
}
|
|
3008
3008
|
},
|
|
3009
3009
|
// Timezone (GMT)
|
|
3010
3010
|
O: function(e, n, t) {
|
|
3011
|
-
const r =
|
|
3011
|
+
const r = Xe(t.timeZone, e);
|
|
3012
3012
|
switch (n) {
|
|
3013
3013
|
case "O":
|
|
3014
3014
|
case "OO":
|
|
@@ -3016,7 +3016,7 @@ const Sa = 60 * 1e3, Ia = {
|
|
|
3016
3016
|
return "GMT" + Ca(r, ":");
|
|
3017
3017
|
case "OOOO":
|
|
3018
3018
|
default:
|
|
3019
|
-
return "GMT" +
|
|
3019
|
+
return "GMT" + De(r, ":");
|
|
3020
3020
|
}
|
|
3021
3021
|
},
|
|
3022
3022
|
// Timezone (specific non-location)
|
|
@@ -3025,42 +3025,42 @@ const Sa = 60 * 1e3, Ia = {
|
|
|
3025
3025
|
case "z":
|
|
3026
3026
|
case "zz":
|
|
3027
3027
|
case "zzz":
|
|
3028
|
-
return
|
|
3028
|
+
return Dt("short", e, t);
|
|
3029
3029
|
case "zzzz":
|
|
3030
3030
|
default:
|
|
3031
|
-
return
|
|
3031
|
+
return Dt("long", e, t);
|
|
3032
3032
|
}
|
|
3033
3033
|
}
|
|
3034
3034
|
};
|
|
3035
|
-
function
|
|
3036
|
-
const t = e ?
|
|
3035
|
+
function Xe(e, n) {
|
|
3036
|
+
const t = e ? Ee(e, n, !0) / Sa : (n == null ? void 0 : n.getTimezoneOffset()) ?? 0;
|
|
3037
3037
|
if (Number.isNaN(t))
|
|
3038
3038
|
throw new RangeError("Invalid time zone specified: " + e);
|
|
3039
3039
|
return t;
|
|
3040
3040
|
}
|
|
3041
|
-
function
|
|
3041
|
+
function We(e, n) {
|
|
3042
3042
|
const t = e < 0 ? "-" : "";
|
|
3043
3043
|
let r = Math.abs(e).toString();
|
|
3044
3044
|
for (; r.length < n; )
|
|
3045
3045
|
r = "0" + r;
|
|
3046
3046
|
return t + r;
|
|
3047
3047
|
}
|
|
3048
|
-
function
|
|
3049
|
-
const t = e > 0 ? "-" : "+", r = Math.abs(e), a =
|
|
3048
|
+
function De(e, n = "") {
|
|
3049
|
+
const t = e > 0 ? "-" : "+", r = Math.abs(e), a = We(Math.floor(r / 60), 2), s = We(Math.floor(r % 60), 2);
|
|
3050
3050
|
return t + a + n + s;
|
|
3051
3051
|
}
|
|
3052
|
-
function
|
|
3053
|
-
return e % 60 === 0 ? (e > 0 ? "-" : "+") +
|
|
3052
|
+
function Mt(e, n) {
|
|
3053
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + We(Math.abs(e) / 60, 2) : De(e, n);
|
|
3054
3054
|
}
|
|
3055
3055
|
function Ca(e, n = "") {
|
|
3056
3056
|
const t = e > 0 ? "-" : "+", r = Math.abs(e), a = Math.floor(r / 60), s = r % 60;
|
|
3057
|
-
return s === 0 ? t + String(a) : t + String(a) + n +
|
|
3057
|
+
return s === 0 ? t + String(a) : t + String(a) + n + We(s, 2);
|
|
3058
3058
|
}
|
|
3059
|
-
function
|
|
3059
|
+
function kt(e) {
|
|
3060
3060
|
const n = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()));
|
|
3061
3061
|
return n.setUTCFullYear(e.getFullYear()), +e - +n;
|
|
3062
3062
|
}
|
|
3063
|
-
const on = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/,
|
|
3063
|
+
const on = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, Ze = 36e5, St = 6e4, ja = 2, E = {
|
|
3064
3064
|
dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
|
|
3065
3065
|
datePattern: /^([0-9W+-]+)(.*)/,
|
|
3066
3066
|
plainTime: /:/,
|
|
@@ -3095,7 +3095,7 @@ const on = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)
|
|
|
3095
3095
|
// time zone tokens (to identify the presence of a tz)
|
|
3096
3096
|
timeZone: on
|
|
3097
3097
|
};
|
|
3098
|
-
function
|
|
3098
|
+
function Ye(e, n = {}) {
|
|
3099
3099
|
if (arguments.length < 1)
|
|
3100
3100
|
throw new TypeError("1 argument required, but only " + arguments.length + " present");
|
|
3101
3101
|
if (e === null)
|
|
@@ -3118,10 +3118,10 @@ function je(e, n = {}) {
|
|
|
3118
3118
|
if (r.time && (g = za(r.time), g === null || isNaN(g)))
|
|
3119
3119
|
return /* @__PURE__ */ new Date(NaN);
|
|
3120
3120
|
if (r.timeZone || n.timeZone) {
|
|
3121
|
-
if (f =
|
|
3121
|
+
if (f = Ee(r.timeZone || n.timeZone, new Date(d + g)), isNaN(f))
|
|
3122
3122
|
return /* @__PURE__ */ new Date(NaN);
|
|
3123
3123
|
} else
|
|
3124
|
-
f =
|
|
3124
|
+
f = kt(new Date(d + g)), f = kt(new Date(d + g + f));
|
|
3125
3125
|
return new Date(d + g + f);
|
|
3126
3126
|
} else
|
|
3127
3127
|
return /* @__PURE__ */ new Date(NaN);
|
|
@@ -3189,13 +3189,13 @@ function Fa(e, n) {
|
|
|
3189
3189
|
function za(e) {
|
|
3190
3190
|
let n, t, r = E.HH.exec(e);
|
|
3191
3191
|
if (r)
|
|
3192
|
-
return n = parseFloat(r[1].replace(",", ".")),
|
|
3192
|
+
return n = parseFloat(r[1].replace(",", ".")), Je(n) ? n % 24 * Ze : NaN;
|
|
3193
3193
|
if (r = E.HHMM.exec(e), r)
|
|
3194
|
-
return n = parseInt(r[1], 10), t = parseFloat(r[2].replace(",", ".")),
|
|
3194
|
+
return n = parseInt(r[1], 10), t = parseFloat(r[2].replace(",", ".")), Je(n, t) ? n % 24 * Ze + t * St : NaN;
|
|
3195
3195
|
if (r = E.HHMMSS.exec(e), r) {
|
|
3196
3196
|
n = parseInt(r[1], 10), t = parseInt(r[2], 10);
|
|
3197
3197
|
const a = parseFloat(r[3].replace(",", "."));
|
|
3198
|
-
return
|
|
3198
|
+
return Je(n, t, a) ? n % 24 * Ze + t * St + a * 1e3 : NaN;
|
|
3199
3199
|
}
|
|
3200
3200
|
return null;
|
|
3201
3201
|
}
|
|
@@ -3231,7 +3231,7 @@ function Ya(e, n) {
|
|
|
3231
3231
|
function jt(e, n) {
|
|
3232
3232
|
return !(e < 0 || e > 52 || n != null && (n < 0 || n > 6));
|
|
3233
3233
|
}
|
|
3234
|
-
function
|
|
3234
|
+
function Je(e, n, t) {
|
|
3235
3235
|
return !(e < 0 || e >= 25 || n != null && (n < 0 || n >= 60) || t != null && (t < 0 || t >= 60));
|
|
3236
3236
|
}
|
|
3237
3237
|
const qa = /([xXOz]+)|''|'(''|[^'])+('|$)/g;
|
|
@@ -3239,7 +3239,7 @@ function Ea(e, n, t = {}) {
|
|
|
3239
3239
|
n = String(n);
|
|
3240
3240
|
const r = n.match(qa);
|
|
3241
3241
|
if (r) {
|
|
3242
|
-
const a =
|
|
3242
|
+
const a = Ye(t.originalDate || e, t);
|
|
3243
3243
|
n = r.reduce(function(s, o) {
|
|
3244
3244
|
if (o[0] === "'")
|
|
3245
3245
|
return s;
|
|
@@ -3250,15 +3250,15 @@ function Ea(e, n, t = {}) {
|
|
|
3250
3250
|
return hr(e, n, t);
|
|
3251
3251
|
}
|
|
3252
3252
|
function Ba(e, n, t) {
|
|
3253
|
-
e =
|
|
3254
|
-
const r =
|
|
3253
|
+
e = Ye(e, t);
|
|
3254
|
+
const r = Ee(n, e, !0), a = new Date(e.getTime() - r), s = /* @__PURE__ */ new Date(0);
|
|
3255
3255
|
return s.setFullYear(a.getUTCFullYear(), a.getUTCMonth(), a.getUTCDate()), s.setHours(a.getUTCHours(), a.getUTCMinutes(), a.getUTCSeconds(), a.getUTCMilliseconds()), s;
|
|
3256
3256
|
}
|
|
3257
3257
|
function Ha(e, n, t) {
|
|
3258
3258
|
if (typeof e == "string" && !e.match(on))
|
|
3259
|
-
return
|
|
3260
|
-
e =
|
|
3261
|
-
const r =
|
|
3259
|
+
return Ye(e, { ...t, timeZone: n });
|
|
3260
|
+
e = Ye(e, t);
|
|
3261
|
+
const r = ut(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()).getTime(), a = Ee(n, new Date(r));
|
|
3262
3262
|
return new Date(r + a);
|
|
3263
3263
|
}
|
|
3264
3264
|
const Ua = (e) => new TextEncoder().encode(e), $a = (e) => {
|
|
@@ -3357,7 +3357,7 @@ const Ua = (e) => new TextEncoder().encode(e), $a = (e) => {
|
|
|
3357
3357
|
throw console.error("Error converting to user timezone:", n), n;
|
|
3358
3358
|
}
|
|
3359
3359
|
}, cn = (e) => {
|
|
3360
|
-
const t = e.replace(" at ", " ").replace(/GMT([+-]\d+)/, (
|
|
3360
|
+
const t = e.replace(" at ", " ").replace(/GMT([+-]\d+)/, (D, _) => `${_.padStart(3, "0")}:00`), r = new Date(t.replace(/0([+-]\d{1,2}:\d{2})/, "$1")), a = r.getFullYear(), s = String(r.getMonth() + 1).padStart(2, "0"), o = String(r.getDate()).padStart(2, "0"), d = String(r.getHours()).padStart(2, "0"), g = String(r.getMinutes()).padStart(2, "0"), f = String(r.getSeconds()).padStart(2, "0");
|
|
3361
3361
|
return `${a}-${s}-${o} ${d}:${g}:${f}`;
|
|
3362
3362
|
}, Ka = () => Date.now(), es = (e) => new Date(e).getTime(), Nt = (e, n = 0) => {
|
|
3363
3363
|
const t = Ka(), r = es(
|
|
@@ -3368,7 +3368,7 @@ const Ua = (e) => new TextEncoder().encode(e), $a = (e) => {
|
|
|
3368
3368
|
return !(t <= a);
|
|
3369
3369
|
}
|
|
3370
3370
|
return !1;
|
|
3371
|
-
},
|
|
3371
|
+
}, Fe = (e) => parseFloat(e.replace(/[^0-9.-]/g, "")), x = (e, n = 2) => {
|
|
3372
3372
|
if (Number(e) !== 0 && !Number(e))
|
|
3373
3373
|
return `${e || ""}`;
|
|
3374
3374
|
const t = `0${n ? "." + "0".repeat(n) : ""}`, r = parseFloat(e);
|
|
@@ -3383,20 +3383,20 @@ var ie = /* @__PURE__ */ ((e) => (e.default = "default", e.pay = "pay", e.auto =
|
|
|
3383
3383
|
const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3384
3384
|
__proto__: null,
|
|
3385
3385
|
PaymentType: ie
|
|
3386
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
3386
|
+
}, Symbol.toStringTag, { value: "Module" })), Be = {
|
|
3387
3387
|
depositBank: !1,
|
|
3388
3388
|
depositDateTime: !1,
|
|
3389
3389
|
depositDetail: !1,
|
|
3390
3390
|
depositMethod: !1,
|
|
3391
3391
|
depositor: !1,
|
|
3392
3392
|
uploadReceipt: !1
|
|
3393
|
-
},
|
|
3393
|
+
}, lt = {
|
|
3394
3394
|
id: 0,
|
|
3395
3395
|
name: "",
|
|
3396
3396
|
type: ie.unknown,
|
|
3397
3397
|
promo: [],
|
|
3398
3398
|
bank: [],
|
|
3399
|
-
requiredField:
|
|
3399
|
+
requiredField: Be
|
|
3400
3400
|
}, rs = (e) => {
|
|
3401
3401
|
var n;
|
|
3402
3402
|
return ((n = e.mdPaymentChannels) == null ? void 0 : n.map((t) => {
|
|
@@ -3432,7 +3432,7 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3432
3432
|
paymentList: r
|
|
3433
3433
|
};
|
|
3434
3434
|
})) ?? [];
|
|
3435
|
-
},
|
|
3435
|
+
}, He = (e) => {
|
|
3436
3436
|
const n = {
|
|
3437
3437
|
id: -1,
|
|
3438
3438
|
name: "excludePromo",
|
|
@@ -3447,7 +3447,7 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3447
3447
|
dailyBonus: r.dtype === "5" && r.type === "D"
|
|
3448
3448
|
}));
|
|
3449
3449
|
return [n, ...t];
|
|
3450
|
-
},
|
|
3450
|
+
}, Ce = (e, n, t, r) => {
|
|
3451
3451
|
let a, s;
|
|
3452
3452
|
t > 0 ? a = e > 0 ? Math.max(t, e) : t : a = Math.max(e, 0), r > 0 ? s = n > 0 ? Math.min(r, n) : r : s = Math.max(n, 0);
|
|
3453
3453
|
const o = 100;
|
|
@@ -3456,16 +3456,16 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3456
3456
|
const g = d - o;
|
|
3457
3457
|
let f = "", y = "";
|
|
3458
3458
|
if (g > 0) {
|
|
3459
|
-
let
|
|
3460
|
-
for (const
|
|
3461
|
-
|
|
3462
|
-
for (let
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
for (const
|
|
3466
|
-
|
|
3467
|
-
for (let
|
|
3468
|
-
|
|
3459
|
+
let P = Math.round((d - o) * 0.25).toString().split(""), N = [];
|
|
3460
|
+
for (const v of P)
|
|
3461
|
+
v !== "" && N.push(v);
|
|
3462
|
+
for (let v = 0; v < N.length; v++)
|
|
3463
|
+
v === 0 ? f += (parseInt(N[v]) + 1).toString() : f += "0";
|
|
3464
|
+
P = Math.round((d - o) * 0.5).toString().split(""), N = [];
|
|
3465
|
+
for (const v of P)
|
|
3466
|
+
v !== "" && N.push(v);
|
|
3467
|
+
for (let v = 0; v < N.length; v++)
|
|
3468
|
+
v === 0 ? y += (parseInt(N[v]) + 1).toString() : y += "0";
|
|
3469
3469
|
} else
|
|
3470
3470
|
f = d.toString(), y = d.toString();
|
|
3471
3471
|
return { amountList: [
|
|
@@ -3478,9 +3478,9 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3478
3478
|
id: 0,
|
|
3479
3479
|
name: "manualMethod",
|
|
3480
3480
|
type: ie.manual,
|
|
3481
|
-
promo:
|
|
3481
|
+
promo: He(e.promo),
|
|
3482
3482
|
bank: e.bank.map((a) => {
|
|
3483
|
-
const s = a.list && a.list.length > 0 ? a.list[0].mintransaction ?? "0.00" : "0.00", o = a.list && a.list.length > 0 ? a.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: d, minAmount: g, maxAmount: f } =
|
|
3483
|
+
const s = a.list && a.list.length > 0 ? a.list[0].mintransaction ?? "0.00" : "0.00", o = a.list && a.list.length > 0 ? a.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: d, minAmount: g, maxAmount: f } = Ce(
|
|
3484
3484
|
Number(s),
|
|
3485
3485
|
Number(o),
|
|
3486
3486
|
n.mdBankLevelDetail.deposit_min,
|
|
@@ -3506,39 +3506,39 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3506
3506
|
depositor: n.mdManualDepositRequireField.depositor,
|
|
3507
3507
|
uploadReceipt: n.mdUploadReceipt
|
|
3508
3508
|
}
|
|
3509
|
-
} :
|
|
3509
|
+
} : lt, as = (e, n) => n ? {
|
|
3510
3510
|
id: 0,
|
|
3511
3511
|
name: "onlineBankingMethod",
|
|
3512
3512
|
type: ie.pay,
|
|
3513
|
-
promo:
|
|
3513
|
+
promo: He(e.promo),
|
|
3514
3514
|
bank: e.banklist.map((a) => {
|
|
3515
3515
|
let s = "0.00", o = "0.00";
|
|
3516
3516
|
const d = a.bankindex ?? 0;
|
|
3517
|
-
for (let
|
|
3518
|
-
n.mdGatewayMinMax[
|
|
3519
|
-
const { amountList: g, minAmount: f, maxAmount: y } =
|
|
3517
|
+
for (let P = 0; P < n.mdGatewayMinMax.length; P++)
|
|
3518
|
+
n.mdGatewayMinMax[P].bankindex == d.toString() && (s = n.mdGatewayMinMax[P].min, o = n.mdGatewayMinMax[P].max);
|
|
3519
|
+
const { amountList: g, minAmount: f, maxAmount: y } = Ce(
|
|
3520
3520
|
Number(s),
|
|
3521
3521
|
Number(o),
|
|
3522
3522
|
n.mdBankLevelDetail.onlinepayment_min,
|
|
3523
3523
|
n.mdBankLevelDetail.onlinepayment_max
|
|
3524
|
-
),
|
|
3524
|
+
), D = {
|
|
3525
3525
|
id: 0,
|
|
3526
3526
|
name: "autoChannel",
|
|
3527
3527
|
amountList: g,
|
|
3528
3528
|
min: f,
|
|
3529
3529
|
max: y
|
|
3530
|
-
}, _ = a.pg.map((
|
|
3531
|
-
const N =
|
|
3530
|
+
}, _ = a.pg.map((P) => {
|
|
3531
|
+
const N = P.mintransaction ?? "0.00", B = P.maxtransaction ?? "0.00", { amountList: H, minAmount: v, maxAmount: S } = Ce(
|
|
3532
3532
|
Number(N),
|
|
3533
3533
|
Number(B),
|
|
3534
3534
|
n.mdBankLevelDetail.onlinepayment_min,
|
|
3535
3535
|
n.mdBankLevelDetail.onlinepayment_max
|
|
3536
3536
|
);
|
|
3537
3537
|
return {
|
|
3538
|
-
id:
|
|
3539
|
-
name:
|
|
3538
|
+
id: P.pgindex,
|
|
3539
|
+
name: P.bankaccountname,
|
|
3540
3540
|
amountList: H,
|
|
3541
|
-
min:
|
|
3541
|
+
min: v,
|
|
3542
3542
|
max: S
|
|
3543
3543
|
};
|
|
3544
3544
|
});
|
|
@@ -3548,18 +3548,18 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3548
3548
|
amountList: [],
|
|
3549
3549
|
min: 0,
|
|
3550
3550
|
max: 0,
|
|
3551
|
-
gateway: [
|
|
3551
|
+
gateway: [D, ..._]
|
|
3552
3552
|
};
|
|
3553
3553
|
}),
|
|
3554
|
-
requiredField:
|
|
3555
|
-
} :
|
|
3556
|
-
if (!t) return
|
|
3554
|
+
requiredField: Be
|
|
3555
|
+
} : lt, ss = (e, n, t) => {
|
|
3556
|
+
if (!t) return lt;
|
|
3557
3557
|
const r = ie.auto;
|
|
3558
3558
|
let a = [];
|
|
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: y } =
|
|
3562
|
+
const { amountList: g, minAmount: f, maxAmount: y } = Ce(
|
|
3563
3563
|
d.mintransaction ?? 0,
|
|
3564
3564
|
d.maxtransaction ?? 0,
|
|
3565
3565
|
t.mdBankLevelDetail.onlinepayment_min,
|
|
@@ -3577,7 +3577,7 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
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: y, maxAmount:
|
|
3580
|
+
const { amountList: f, minAmount: y, maxAmount: D } = Ce(
|
|
3581
3581
|
Number(d),
|
|
3582
3582
|
Number(g),
|
|
3583
3583
|
t.mdBankLevelDetail.onlinepayment_min,
|
|
@@ -3587,7 +3587,7 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3587
3587
|
name: "autoChannel",
|
|
3588
3588
|
amountList: f,
|
|
3589
3589
|
min: y,
|
|
3590
|
-
max:
|
|
3590
|
+
max: D
|
|
3591
3591
|
};
|
|
3592
3592
|
a.push(_);
|
|
3593
3593
|
}
|
|
@@ -3595,9 +3595,9 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3595
3595
|
id: e,
|
|
3596
3596
|
name: "autoMethod",
|
|
3597
3597
|
type: r,
|
|
3598
|
-
promo:
|
|
3598
|
+
promo: He(n.promo),
|
|
3599
3599
|
bank: a,
|
|
3600
|
-
requiredField:
|
|
3600
|
+
requiredField: Be
|
|
3601
3601
|
};
|
|
3602
3602
|
}, os = (e, n) => {
|
|
3603
3603
|
const t = ie.fix;
|
|
@@ -3605,7 +3605,7 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3605
3605
|
id: e,
|
|
3606
3606
|
name: "fixAmountMethod",
|
|
3607
3607
|
type: t,
|
|
3608
|
-
promo:
|
|
3608
|
+
promo: He(n.promo),
|
|
3609
3609
|
bank: n.bank.map((a) => {
|
|
3610
3610
|
const s = a.amtlist.map(Number).sort((d, g) => d - g);
|
|
3611
3611
|
return {
|
|
@@ -3616,7 +3616,7 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3616
3616
|
max: s.length > 0 ? s[s.length - 1] : 0
|
|
3617
3617
|
};
|
|
3618
3618
|
}),
|
|
3619
|
-
requiredField:
|
|
3619
|
+
requiredField: Be
|
|
3620
3620
|
};
|
|
3621
3621
|
}, is = (e) => (e == null ? void 0 : e.map((n) => ({
|
|
3622
3622
|
alert: n.announcement_alert === "1",
|
|
@@ -3633,14 +3633,14 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3633
3633
|
var n, t, r, a, s, o, d, g, f;
|
|
3634
3634
|
return {
|
|
3635
3635
|
platformGame: ((n = e.mdGameListResult) == null ? void 0 : n.map((y) => {
|
|
3636
|
-
var
|
|
3636
|
+
var D, _;
|
|
3637
3637
|
return {
|
|
3638
3638
|
code: y.code.toLowerCase(),
|
|
3639
3639
|
id: y.id,
|
|
3640
3640
|
name: y.name,
|
|
3641
3641
|
iconUrl: `/custom/image/side_menu/${y.code.toLowerCase()}.png?v=1`,
|
|
3642
3642
|
nextPage: y.nextPage === 1,
|
|
3643
|
-
list: (y.mdPlatformProducts !== null && ((
|
|
3643
|
+
list: (y.mdPlatformProducts !== null && ((D = y.mdPlatformProducts) == null ? void 0 : D.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,
|
|
@@ -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, y,
|
|
3713
|
+
var t, r, a, s, o, d, g, f, y, D, _, p, P, N, B, H, v, S, T, k, q, ue, se, le, V, je, ye, he, _e, Re, Te, Ue, ve, $e, Ne, Le, i, m, w, u, l, R, z, A, J, G, K, X, Z, U, Q, ee, Oe, me, Me, fe, ke, b, dt, mt, ft, gt, pt, bt;
|
|
3714
3714
|
return {
|
|
3715
3715
|
id: n.gradeindex,
|
|
3716
3716
|
is_current_level: !1,
|
|
@@ -3744,49 +3744,49 @@ const ms = (e) => ({
|
|
|
3744
3744
|
},
|
|
3745
3745
|
monthly: {
|
|
3746
3746
|
isShow: !0,
|
|
3747
|
-
bonus: x(((
|
|
3747
|
+
bonus: x(((D = (y = n.benefit) == null ? void 0 : y.monthly) == null ? void 0 : D.bonus) ?? "0"),
|
|
3748
3748
|
bonus_name: ((p = (_ = n.benefit) == null ? void 0 : _.monthly) == null ? void 0 : p.bonus_name) ?? "",
|
|
3749
|
-
turnover: x(((N = (
|
|
3749
|
+
turnover: x(((N = (P = n.benefit) == null ? void 0 : P.monthly) == null ? void 0 : N.turnover) ?? "0"),
|
|
3750
3750
|
turnover_name: ((H = (B = n.benefit) == null ? void 0 : B.monthly) == null ? void 0 : H.turnover_name) ?? ""
|
|
3751
3751
|
},
|
|
3752
3752
|
weekly: {
|
|
3753
3753
|
isShow: !0,
|
|
3754
|
-
bonus: x(((S = (
|
|
3755
|
-
bonus_name: ((k = (
|
|
3756
|
-
turnover: x(((
|
|
3757
|
-
turnover_name: ((
|
|
3754
|
+
bonus: x(((S = (v = n.benefit) == null ? void 0 : v.weekly) == null ? void 0 : S.bonus) ?? "0"),
|
|
3755
|
+
bonus_name: ((k = (T = n.benefit) == null ? void 0 : T.weekly) == null ? void 0 : k.bonus_name) ?? "",
|
|
3756
|
+
turnover: x(((ue = (q = n.benefit) == null ? void 0 : q.weekly) == null ? void 0 : ue.turnover) ?? "0"),
|
|
3757
|
+
turnover_name: ((le = (se = n.benefit) == null ? void 0 : se.weekly) == null ? void 0 : le.turnover_name) ?? ""
|
|
3758
3758
|
},
|
|
3759
3759
|
upgrade: {
|
|
3760
3760
|
isShow: !0,
|
|
3761
|
-
bonus: x(((
|
|
3762
|
-
bonus_name: ((
|
|
3763
|
-
turnover: x(((
|
|
3764
|
-
turnover_name: ((
|
|
3761
|
+
bonus: x(((je = (V = n.benefit) == null ? void 0 : V.upgrade) == null ? void 0 : je.bonus) ?? "0"),
|
|
3762
|
+
bonus_name: ((he = (ye = n.benefit) == null ? void 0 : ye.upgrade) == null ? void 0 : he.bonus_name) ?? "",
|
|
3763
|
+
turnover: x(((Re = (_e = n.benefit) == null ? void 0 : _e.upgrade) == null ? void 0 : Re.turnover) ?? "0"),
|
|
3764
|
+
turnover_name: ((Ue = (Te = n.benefit) == null ? void 0 : Te.upgrade) == null ? void 0 : Ue.turnover_name) ?? ""
|
|
3765
3765
|
},
|
|
3766
3766
|
birthday: {
|
|
3767
3767
|
isShow: !0,
|
|
3768
|
-
bonus: x(((
|
|
3769
|
-
bonus_name: ((
|
|
3770
|
-
turnover: x(((
|
|
3771
|
-
turnover_name: ((
|
|
3768
|
+
bonus: x((($e = (ve = n.benefit) == null ? void 0 : ve.birthday) == null ? void 0 : $e.bonus) ?? "0"),
|
|
3769
|
+
bonus_name: ((Le = (Ne = n.benefit) == null ? void 0 : Ne.birthday) == null ? void 0 : Le.bonus_name) ?? "",
|
|
3770
|
+
turnover: x(((m = (i = n.benefit) == null ? void 0 : i.birthday) == null ? void 0 : m.turnover) ?? "0"),
|
|
3771
|
+
turnover_name: ((u = (w = n.benefit) == null ? void 0 : w.birthday) == null ? void 0 : u.turnover_name) ?? ""
|
|
3772
3772
|
},
|
|
3773
3773
|
salary_1st: {
|
|
3774
3774
|
isShow: !0,
|
|
3775
|
-
bonus: x(((
|
|
3776
|
-
bonus_name: ((
|
|
3777
|
-
turnover: x(((
|
|
3778
|
-
turnover_name: ((
|
|
3775
|
+
bonus: x(((R = (l = n.benefit) == null ? void 0 : l.salary_1st) == null ? void 0 : R.bonus) ?? "0"),
|
|
3776
|
+
bonus_name: ((A = (z = n.benefit) == null ? void 0 : z.salary_1st) == null ? void 0 : A.bonus_name) ?? "",
|
|
3777
|
+
turnover: x(((G = (J = n.benefit) == null ? void 0 : J.salary_1st) == null ? void 0 : G.turnover) ?? "0"),
|
|
3778
|
+
turnover_name: ((X = (K = n.benefit) == null ? void 0 : K.salary_1st) == null ? void 0 : X.turnover_name) ?? ""
|
|
3779
3779
|
},
|
|
3780
3780
|
salary_10th: {
|
|
3781
3781
|
isShow: !0,
|
|
3782
|
-
bonus: x(((
|
|
3783
|
-
bonus_name: ((
|
|
3784
|
-
turnover: x(((
|
|
3785
|
-
turnover_name: ((
|
|
3782
|
+
bonus: x(((U = (Z = n.benefit) == null ? void 0 : Z.salary_10th) == null ? void 0 : U.bonus) ?? "0"),
|
|
3783
|
+
bonus_name: ((ee = (Q = n.benefit) == null ? void 0 : Q.salary_10th) == null ? void 0 : ee.bonus_name) ?? "",
|
|
3784
|
+
turnover: x(((me = (Oe = n.benefit) == null ? void 0 : Oe.salary_10th) == null ? void 0 : me.turnover) ?? "0"),
|
|
3785
|
+
turnover_name: ((fe = (Me = n.benefit) == null ? void 0 : Me.salary_10th) == null ? void 0 : fe.turnover_name) ?? ""
|
|
3786
3786
|
},
|
|
3787
3787
|
salary_20th: {
|
|
3788
3788
|
isShow: !0,
|
|
3789
|
-
bonus: x(((
|
|
3789
|
+
bonus: x(((b = (ke = n.benefit) == null ? void 0 : ke.salary_20th) == null ? void 0 : b.bonus) ?? "0"),
|
|
3790
3790
|
bonus_name: ((mt = (dt = n.benefit) == null ? void 0 : dt.salary_20th) == null ? void 0 : mt.bonus_name) ?? "",
|
|
3791
3791
|
turnover: x(((gt = (ft = n.benefit) == null ? void 0 : ft.salary_20th) == null ? void 0 : gt.turnover) ?? "0"),
|
|
3792
3792
|
turnover_name: ((bt = (pt = n.benefit) == null ? void 0 : pt.salary_20th) == null ? void 0 : bt.turnover_name) ?? ""
|
|
@@ -3909,27 +3909,27 @@ const ms = (e) => ({
|
|
|
3909
3909
|
}).sort((n, t) => n.claimable && !t.claimable ? -1 : !n.claimable && t.claimable ? 1 : 0)
|
|
3910
3910
|
}), gs = (e) => ({
|
|
3911
3911
|
month: {
|
|
3912
|
-
status:
|
|
3912
|
+
status: ge(e.month)
|
|
3913
3913
|
},
|
|
3914
3914
|
week: {
|
|
3915
|
-
status:
|
|
3915
|
+
status: ge(e.week)
|
|
3916
3916
|
},
|
|
3917
3917
|
day: {
|
|
3918
|
-
status:
|
|
3918
|
+
status: ge(e.day)
|
|
3919
3919
|
},
|
|
3920
3920
|
birthday: {
|
|
3921
|
-
status:
|
|
3921
|
+
status: ge(e.birthday)
|
|
3922
3922
|
},
|
|
3923
3923
|
salary_1st: {
|
|
3924
|
-
status:
|
|
3924
|
+
status: ge(e.salary1st)
|
|
3925
3925
|
},
|
|
3926
3926
|
salary_10th: {
|
|
3927
|
-
status:
|
|
3927
|
+
status: ge(e.salary10th)
|
|
3928
3928
|
},
|
|
3929
3929
|
salary_20th: {
|
|
3930
|
-
status:
|
|
3930
|
+
status: ge(e.salary20th)
|
|
3931
3931
|
}
|
|
3932
|
-
}),
|
|
3932
|
+
}), ge = (e) => ({
|
|
3933
3933
|
claimable: e === 1,
|
|
3934
3934
|
expired: e === 0,
|
|
3935
3935
|
claimed: e === -1
|
|
@@ -4015,7 +4015,7 @@ const ms = (e) => ({
|
|
|
4015
4015
|
code: t.code,
|
|
4016
4016
|
iconUrl: t.flag_icon
|
|
4017
4017
|
}))) ?? [];
|
|
4018
|
-
},
|
|
4018
|
+
}, Ds = (e) => ({
|
|
4019
4019
|
name: ""
|
|
4020
4020
|
}), xs = (e) => {
|
|
4021
4021
|
var n;
|
|
@@ -4024,17 +4024,17 @@ const ms = (e) => ({
|
|
|
4024
4024
|
name: t.company_name,
|
|
4025
4025
|
date: []
|
|
4026
4026
|
}))) ?? [];
|
|
4027
|
-
},
|
|
4027
|
+
}, Ps = (e) => {
|
|
4028
4028
|
var n;
|
|
4029
4029
|
return ((n = e.data) == null ? void 0 : n.map((t) => {
|
|
4030
4030
|
var r;
|
|
4031
4031
|
return {
|
|
4032
4032
|
id: t.key,
|
|
4033
|
-
date: ((r = t.draw_date) == null ? void 0 : r.map((a) =>
|
|
4033
|
+
date: ((r = t.draw_date) == null ? void 0 : r.map((a) => Rs(a.draw_tmactive))) ?? []
|
|
4034
4034
|
};
|
|
4035
4035
|
})) ?? [];
|
|
4036
4036
|
};
|
|
4037
|
-
function
|
|
4037
|
+
function Rs(e) {
|
|
4038
4038
|
const n = new Date(e * 1e3), t = n.getFullYear(), r = ("0" + (n.getMonth() + 1)).slice(-2), a = ("0" + n.getDate()).slice(-2);
|
|
4039
4039
|
return `${t}-${r}-${a}`;
|
|
4040
4040
|
}
|
|
@@ -4051,7 +4051,7 @@ const Os = (e) => {
|
|
|
4051
4051
|
}))) ?? []
|
|
4052
4052
|
};
|
|
4053
4053
|
})) ?? [];
|
|
4054
|
-
},
|
|
4054
|
+
}, Ms = (e) => e.data.map((n) => ({
|
|
4055
4055
|
companyId: n.company_id,
|
|
4056
4056
|
companyName: n.company_name,
|
|
4057
4057
|
resultByDateList: n.draws.map((t) => {
|
|
@@ -4067,7 +4067,7 @@ const Os = (e) => {
|
|
|
4067
4067
|
(p) => p.combination_dimension === 4 && p.combination_position === 5
|
|
4068
4068
|
).map((p) => p.combination_combination), f = t.results.filter(
|
|
4069
4069
|
(p) => p.combination_dimension === 5 && p.combination_position === 1
|
|
4070
|
-
).map((p) => p.combination_combination), y = t.results.filter((p) => p.combination_dimension == 5).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), D = t.results.filter(
|
|
4071
4071
|
(p) => p.combination_dimension === 6 && p.combination_position === 1
|
|
4072
4072
|
).map((p) => p.combination_combination), _ = t.results.filter((p) => p.combination_dimension === 6).map((p) => p.combination_combination);
|
|
4073
4073
|
return {
|
|
@@ -4085,12 +4085,12 @@ const Os = (e) => {
|
|
|
4085
4085
|
all: y
|
|
4086
4086
|
},
|
|
4087
4087
|
dimension_6: {
|
|
4088
|
-
prize_1:
|
|
4088
|
+
prize_1: D,
|
|
4089
4089
|
all: _
|
|
4090
4090
|
}
|
|
4091
4091
|
};
|
|
4092
4092
|
})
|
|
4093
|
-
})),
|
|
4093
|
+
})), ks = (e) => e.data ? e.data.filter((n) => !Nt(n.matchDate, 120)).map((n) => ({
|
|
4094
4094
|
id: n.id,
|
|
4095
4095
|
date: cn(ln(n.matchDate)),
|
|
4096
4096
|
started: Nt(n.matchDate),
|
|
@@ -4431,20 +4431,54 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4431
4431
|
totalCount: a,
|
|
4432
4432
|
list: t
|
|
4433
4433
|
};
|
|
4434
|
-
}, Ks = (e) =>
|
|
4435
|
-
|
|
4436
|
-
|
|
4437
|
-
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4434
|
+
}, Ks = (e) => {
|
|
4435
|
+
const n = {
|
|
4436
|
+
claimedReward: "0",
|
|
4437
|
+
currentInvite: "0",
|
|
4438
|
+
currentReward: "0",
|
|
4439
|
+
totalInvite: "0",
|
|
4440
|
+
totalReward: "0",
|
|
4441
|
+
unclaimReward: "0"
|
|
4442
|
+
}, t = {
|
|
4443
|
+
claimedReward: "0",
|
|
4444
|
+
currentDirectDownline: "0",
|
|
4445
|
+
currentOtherDownline: "0",
|
|
4446
|
+
currentReward: "0",
|
|
4447
|
+
totalReward: "0",
|
|
4448
|
+
unclaimReward: "0"
|
|
4449
|
+
}, r = {
|
|
4450
|
+
claimedReward: "0",
|
|
4451
|
+
currentDirectDownline: "0",
|
|
4452
|
+
currentOtherDownline: "0",
|
|
4453
|
+
currentReward: "0",
|
|
4454
|
+
totalReward: "0",
|
|
4455
|
+
unclaimReward: "0"
|
|
4456
|
+
};
|
|
4457
|
+
return e.status == 0 ? {
|
|
4458
|
+
referralRewardData: {
|
|
4459
|
+
directDownline: "0",
|
|
4460
|
+
otherDownline: "0",
|
|
4461
|
+
uplineCode: "",
|
|
4462
|
+
referralCode: "",
|
|
4463
|
+
totalCommission: "0",
|
|
4464
|
+
isClaimable: !1
|
|
4465
|
+
},
|
|
4466
|
+
inviteRewardData: n,
|
|
4467
|
+
turnOverRewardData: t,
|
|
4468
|
+
topupRewardData: r
|
|
4469
|
+
} : {
|
|
4470
|
+
referralRewardData: {
|
|
4471
|
+
directDownline: e.data.direct_downline_count.toString(),
|
|
4472
|
+
otherDownline: e.data.others_downline_count.toString(),
|
|
4473
|
+
uplineCode: e.data.upline.accountcode,
|
|
4474
|
+
referralCode: e.data.referral_code,
|
|
4475
|
+
totalCommission: "0",
|
|
4476
|
+
isClaimable: !1
|
|
4477
|
+
},
|
|
4478
|
+
inviteRewardData: n,
|
|
4479
|
+
turnOverRewardData: t,
|
|
4480
|
+
topupRewardData: r
|
|
4481
|
+
};
|
|
4448
4482
|
}, eo = (e) => {
|
|
4449
4483
|
var g;
|
|
4450
4484
|
let n = null, t = null;
|
|
@@ -4558,7 +4592,7 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4558
4592
|
qrcode: ((a = e.data) == null ? void 0 : a.qrcode) ?? [],
|
|
4559
4593
|
personal: ((s = e.data) == null ? void 0 : s.personal) ?? []
|
|
4560
4594
|
};
|
|
4561
|
-
},
|
|
4595
|
+
}, Ke = (e) => ({
|
|
4562
4596
|
validated: e.withdrawValidate === 1 || e.depositValidate === 1 || e.TransferCreditValidate === 1,
|
|
4563
4597
|
forms: co(e)
|
|
4564
4598
|
}), co = (e) => e.subDepositForms && e.subDepositForms.length > 0 ? e.subDepositForms.map((n) => ({
|
|
@@ -4631,10 +4665,10 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4631
4665
|
message: e.msg ?? "",
|
|
4632
4666
|
form: e.form ?? "",
|
|
4633
4667
|
gameUrl: e.data ?? ""
|
|
4634
|
-
}),
|
|
4668
|
+
}), Do = (e) => I(e), xo = (e) => I(e), et = (e) => ({
|
|
4635
4669
|
status: e.status == 1,
|
|
4636
4670
|
message: e.errormessage ?? ""
|
|
4637
|
-
}),
|
|
4671
|
+
}), Po = (e) => I(e), Ro = (e) => e, Oo = (e) => I(e), Mo = (e) => {
|
|
4638
4672
|
var n;
|
|
4639
4673
|
return {
|
|
4640
4674
|
platformProduct: ((n = e.mdPlatformProduct) == null ? void 0 : n.map((t) => ({
|
|
@@ -4643,7 +4677,7 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4643
4677
|
com: t.com
|
|
4644
4678
|
}))) ?? []
|
|
4645
4679
|
};
|
|
4646
|
-
},
|
|
4680
|
+
}, ko = (e) => {
|
|
4647
4681
|
var n;
|
|
4648
4682
|
return ((n = e.mdProductMaster) == null ? void 0 : n.map((t) => {
|
|
4649
4683
|
var r;
|
|
@@ -4740,10 +4774,10 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4740
4774
|
username: e.accountcode,
|
|
4741
4775
|
password: e.password
|
|
4742
4776
|
});
|
|
4743
|
-
var
|
|
4777
|
+
var qe = /* @__PURE__ */ ((e) => (e.toPlatform = "transferIn", e.toWallet = "transferOut", e))(qe || {});
|
|
4744
4778
|
const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4745
4779
|
__proto__: null,
|
|
4746
|
-
TransferMethod:
|
|
4780
|
+
TransferMethod: qe
|
|
4747
4781
|
}, Symbol.toStringTag, { value: "Module" })), $o = (e) => {
|
|
4748
4782
|
var n;
|
|
4749
4783
|
return {
|
|
@@ -4752,7 +4786,7 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4752
4786
|
data: ((n = e.mdGameCreditLimitTransfers.data) == null ? void 0 : n.map((t) => ({
|
|
4753
4787
|
transferIndex: t.clindex,
|
|
4754
4788
|
target: t.com_from !== "" ? t.com_from : t.com_to,
|
|
4755
|
-
category: t.com_from !== "" ?
|
|
4789
|
+
category: t.com_from !== "" ? qe.toWallet : qe.toPlatform,
|
|
4756
4790
|
amount: x(t.amount),
|
|
4757
4791
|
dateTime: t.transferdatetime
|
|
4758
4792
|
}))) ?? []
|
|
@@ -4771,7 +4805,7 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4771
4805
|
}))) ?? []
|
|
4772
4806
|
};
|
|
4773
4807
|
}, Ao = (e) => {
|
|
4774
|
-
var n, t, r, a, s, o, d, g, f, y,
|
|
4808
|
+
var n, t, r, a, s, o, d, g, f, y, D;
|
|
4775
4809
|
return {
|
|
4776
4810
|
status: e.status == 1,
|
|
4777
4811
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
@@ -4806,7 +4840,7 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4806
4840
|
resultL: _.resultL
|
|
4807
4841
|
}))) ?? [],
|
|
4808
4842
|
currentPage: ((y = e.data) == null ? void 0 : y.page.current_page) ?? 1,
|
|
4809
|
-
lastPage: ((
|
|
4843
|
+
lastPage: ((D = e.data) == null ? void 0 : D.page.last_page) ?? 1
|
|
4810
4844
|
}
|
|
4811
4845
|
};
|
|
4812
4846
|
}, Qo = (e) => {
|
|
@@ -4860,10 +4894,10 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4860
4894
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
4861
4895
|
tokenAmount: e.token_amount
|
|
4862
4896
|
}), ni = (e) => I(e);
|
|
4863
|
-
var
|
|
4897
|
+
var ct = /* @__PURE__ */ ((e) => (e.vipcalculation = "vipcalculation", e.livechat = "livechat", e.extralivechat = "extralivechat", e.mobilevalidate = "mobilevalidate", e.withdrawtac = "withdrawtac", e.imageDomain = "imagedomain", e.withdrawalCode = "withdrawalcode", e.withdrawAlipay = "withdrawalipay", e.crypto = "crypto", e.loginCaptcha = "logincaptcha", e.registerCaptcha = "registercaptcha", e.telegramAuthDomain = "telegramauthdomain", e.telegramBotId = "telegrambotid", e.registerwa = "registerwa", e.forgetUser = "forgetuser", e))(ct || {});
|
|
4864
4898
|
const ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4865
4899
|
__proto__: null,
|
|
4866
|
-
SettingCategory:
|
|
4900
|
+
SettingCategory: ct
|
|
4867
4901
|
}, Symbol.toStringTag, { value: "Module" })), ai = (e) => {
|
|
4868
4902
|
let n = 0;
|
|
4869
4903
|
return e.data != null && typeof e.data == "object" && (n = e.data.amount), {
|
|
@@ -4963,10 +4997,10 @@ const ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4963
4997
|
amount: n
|
|
4964
4998
|
};
|
|
4965
4999
|
};
|
|
4966
|
-
var
|
|
5000
|
+
var re = /* @__PURE__ */ ((e) => (e.inProgress = "inProgress", e.collectable = "collectable", e.collected = "collected", e))(re || {});
|
|
4967
5001
|
const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4968
5002
|
__proto__: null,
|
|
4969
|
-
MissionStatus:
|
|
5003
|
+
MissionStatus: re
|
|
4970
5004
|
}, Symbol.toStringTag, { value: "Module" })), bi = (e) => {
|
|
4971
5005
|
if (e.status === 0)
|
|
4972
5006
|
return {
|
|
@@ -4980,18 +5014,18 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4980
5014
|
period: `${zt(e.data.datefrom)} ~ ${zt(e.data.dateto)}`,
|
|
4981
5015
|
gift: {
|
|
4982
5016
|
deposit: {
|
|
4983
|
-
current: n.filter((r) => r.status ==
|
|
5017
|
+
current: n.filter((r) => r.status == re.collected).length,
|
|
4984
5018
|
total: n.length,
|
|
4985
5019
|
percentage: Gt(n)
|
|
4986
5020
|
},
|
|
4987
5021
|
activeBet: {
|
|
4988
|
-
current: t.filter((r) => r.status ==
|
|
5022
|
+
current: t.filter((r) => r.status == re.collected).length,
|
|
4989
5023
|
total: t.length,
|
|
4990
5024
|
percentage: Gt(t)
|
|
4991
5025
|
},
|
|
4992
5026
|
grandPrize: {
|
|
4993
5027
|
countDownTimestamp: yi(e.data.dateto),
|
|
4994
|
-
status: e.data.final_claimable ? e.data.final_collected === "1" ?
|
|
5028
|
+
status: e.data.final_claimable ? e.data.final_collected === "1" ? re.collected : re.collectable : re.inProgress,
|
|
4995
5029
|
prize: e.data.reward
|
|
4996
5030
|
}
|
|
4997
5031
|
},
|
|
@@ -5004,7 +5038,7 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5004
5038
|
return {
|
|
5005
5039
|
id: t.transid,
|
|
5006
5040
|
reward: t.reward,
|
|
5007
|
-
status: t.claimable !== "1" ?
|
|
5041
|
+
status: t.claimable !== "1" ? re.inProgress : t.collected === "1" ? re.collected : re.collectable,
|
|
5008
5042
|
progress: {
|
|
5009
5043
|
current: r,
|
|
5010
5044
|
total: t.requirement,
|
|
@@ -5054,10 +5088,10 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5054
5088
|
rate: "0.00"
|
|
5055
5089
|
})) ?? [] : []
|
|
5056
5090
|
}), vi = (e) => I(e), wi = (e) => I(e);
|
|
5057
|
-
var
|
|
5058
|
-
const
|
|
5091
|
+
var be = /* @__PURE__ */ ((e) => (e.inProgress = "inProgress", e.collectable = "collectable", e.collected = "collected", e))(be || {});
|
|
5092
|
+
const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5059
5093
|
__proto__: null,
|
|
5060
|
-
AccumulateDepositStatus:
|
|
5094
|
+
AccumulateDepositStatus: be
|
|
5061
5095
|
}, Symbol.toStringTag, { value: "Module" })), xi = (e) => {
|
|
5062
5096
|
if (e.status == 0)
|
|
5063
5097
|
return {
|
|
@@ -5071,7 +5105,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5071
5105
|
n = {
|
|
5072
5106
|
buttonStatus: e.data.tier.filter(
|
|
5073
5107
|
(o) => o.claimable == "1" && o.collected != "1"
|
|
5074
|
-
).length > 0 ?
|
|
5108
|
+
).length > 0 ? be.collectable : be.collected,
|
|
5075
5109
|
dateFrom: e.data.datefrom,
|
|
5076
5110
|
dateTo: e.data.dateto,
|
|
5077
5111
|
progress: {
|
|
@@ -5082,7 +5116,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5082
5116
|
list: e.data.tier.map((o) => ({
|
|
5083
5117
|
total: o.requirement,
|
|
5084
5118
|
reward: Number(o.reward),
|
|
5085
|
-
status: o.claimable != "1" ?
|
|
5119
|
+
status: o.claimable != "1" ? be.inProgress : o.collected == "1" ? be.collected : be.collectable
|
|
5086
5120
|
}))
|
|
5087
5121
|
};
|
|
5088
5122
|
}
|
|
@@ -5091,10 +5125,10 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5091
5125
|
message: e.msg ?? "",
|
|
5092
5126
|
data: n
|
|
5093
5127
|
};
|
|
5094
|
-
},
|
|
5128
|
+
}, Pi = (e) => ({
|
|
5095
5129
|
status: e.status == 1,
|
|
5096
5130
|
message: e.msg ?? ""
|
|
5097
|
-
}),
|
|
5131
|
+
}), Ri = (e) => {
|
|
5098
5132
|
var n;
|
|
5099
5133
|
return {
|
|
5100
5134
|
status: e.status == 1,
|
|
@@ -5133,7 +5167,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5133
5167
|
};
|
|
5134
5168
|
})) ?? []
|
|
5135
5169
|
};
|
|
5136
|
-
},
|
|
5170
|
+
}, Mi = (e) => ({
|
|
5137
5171
|
status: e.status == 1,
|
|
5138
5172
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
5139
5173
|
data: {
|
|
@@ -5141,7 +5175,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5141
5175
|
today: e.data.t,
|
|
5142
5176
|
early: e.data.e
|
|
5143
5177
|
}
|
|
5144
|
-
}),
|
|
5178
|
+
}), ki = (e) => (console.log(e), {
|
|
5145
5179
|
status: e.status,
|
|
5146
5180
|
message: e.message ?? ""
|
|
5147
5181
|
}), Si = (e) => ({
|
|
@@ -5248,7 +5282,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5248
5282
|
}))
|
|
5249
5283
|
}
|
|
5250
5284
|
}), Yi = async (e) => {
|
|
5251
|
-
var n, t, r, a, s, o, d, g, f, y,
|
|
5285
|
+
var n, t, r, a, s, o, d, g, f, y, D, _, p, P, N, B, H, v, S, T, k, q, ue, se, le;
|
|
5252
5286
|
try {
|
|
5253
5287
|
e.findIndex((m) => m.name === c.vipList) !== -1 && e.push(
|
|
5254
5288
|
{
|
|
@@ -5259,59 +5293,74 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5259
5293
|
{ name: c.vipStatus, query: "" },
|
|
5260
5294
|
{
|
|
5261
5295
|
name: c.getSetting,
|
|
5262
|
-
query: JSON.stringify({ name: [
|
|
5296
|
+
query: JSON.stringify({ name: [ct.vipcalculation] })
|
|
5297
|
+
}
|
|
5298
|
+
), e.findIndex(
|
|
5299
|
+
(m) => m.name === c.getRewardReferral
|
|
5300
|
+
) !== -1 && e.push(
|
|
5301
|
+
{
|
|
5302
|
+
name: c.getTurnOverRewardData,
|
|
5303
|
+
query: ""
|
|
5304
|
+
},
|
|
5305
|
+
{
|
|
5306
|
+
name: c.getInviteRewardData,
|
|
5307
|
+
query: ""
|
|
5308
|
+
},
|
|
5309
|
+
{
|
|
5310
|
+
name: c.getTopupRewardData,
|
|
5311
|
+
query: ""
|
|
5263
5312
|
}
|
|
5264
5313
|
);
|
|
5265
|
-
const
|
|
5314
|
+
const ye = e.findIndex(
|
|
5266
5315
|
(m) => m.name === c.getFavouriteGame
|
|
5267
5316
|
);
|
|
5268
|
-
|
|
5317
|
+
ye !== -1 && (JSON.parse(e[ye].query).pid || e.push({
|
|
5269
5318
|
name: c.getPlatformTurnoverRate,
|
|
5270
5319
|
query: ""
|
|
5271
5320
|
}));
|
|
5272
|
-
const
|
|
5273
|
-
|
|
5321
|
+
const he = e.findIndex((m) => m.name === c.fishGameList);
|
|
5322
|
+
he !== -1 && (JSON.parse(e[he].query).pid || e.push({
|
|
5274
5323
|
name: c.getPlatformTurnoverRate,
|
|
5275
5324
|
query: ""
|
|
5276
5325
|
}));
|
|
5277
|
-
const
|
|
5278
|
-
|
|
5326
|
+
const _e = e.findIndex((m) => m.name === c.gameList);
|
|
5327
|
+
_e !== -1 && (JSON.parse(e[_e].query).pid || e.push({
|
|
5279
5328
|
name: c.getPlatformTurnoverRate,
|
|
5280
5329
|
query: ""
|
|
5281
5330
|
}));
|
|
5282
|
-
const
|
|
5283
|
-
if (
|
|
5331
|
+
const Re = e.findIndex((m) => m.name === c.searchHot);
|
|
5332
|
+
if (Re !== -1) {
|
|
5284
5333
|
let m = {};
|
|
5285
|
-
e.forEach((
|
|
5286
|
-
m =
|
|
5287
|
-
}), e.splice(
|
|
5334
|
+
e.forEach((w) => {
|
|
5335
|
+
m = w.query;
|
|
5336
|
+
}), e.splice(Re), e.push({
|
|
5288
5337
|
name: c.getFourDimensionData,
|
|
5289
5338
|
query: String(m)
|
|
5290
5339
|
});
|
|
5291
5340
|
}
|
|
5292
|
-
const
|
|
5293
|
-
if (
|
|
5341
|
+
const Te = e.findIndex((m) => m.name === c.searchNumberHistory);
|
|
5342
|
+
if (Te !== -1) {
|
|
5294
5343
|
let m = {};
|
|
5295
|
-
e.forEach((
|
|
5296
|
-
m =
|
|
5297
|
-
}), e.splice(
|
|
5344
|
+
e.forEach((w) => {
|
|
5345
|
+
m = w.query;
|
|
5346
|
+
}), e.splice(Te), e.push({
|
|
5298
5347
|
name: c.getFourDimensionData,
|
|
5299
5348
|
query: String(m)
|
|
5300
5349
|
});
|
|
5301
5350
|
}
|
|
5302
5351
|
if (e.findIndex((m) => m.name === c.searchByDate) !== -1) {
|
|
5303
5352
|
let m = {};
|
|
5304
|
-
e.forEach((
|
|
5305
|
-
m =
|
|
5306
|
-
}), e.splice(
|
|
5353
|
+
e.forEach((w) => {
|
|
5354
|
+
m = w.query;
|
|
5355
|
+
}), e.splice(Te), e.push({
|
|
5307
5356
|
name: c.getFourDimensionData,
|
|
5308
5357
|
query: String(m)
|
|
5309
5358
|
});
|
|
5310
5359
|
}
|
|
5311
|
-
const
|
|
5360
|
+
const ve = e.findIndex(
|
|
5312
5361
|
(m) => m.name === c.getFourDimensionData
|
|
5313
5362
|
);
|
|
5314
|
-
|
|
5363
|
+
ve !== -1 && e[ve].query == "" && (e.splice(ve), e.push(
|
|
5315
5364
|
{
|
|
5316
5365
|
name: c.getFourDimensionData,
|
|
5317
5366
|
query: JSON.stringify({ action: c.getCompany, native: "1" })
|
|
@@ -5327,22 +5376,22 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5327
5376
|
})
|
|
5328
5377
|
}
|
|
5329
5378
|
));
|
|
5330
|
-
const
|
|
5379
|
+
const Ne = {
|
|
5331
5380
|
requests: e.map((m) => ({
|
|
5332
5381
|
name: m.name,
|
|
5333
5382
|
query: btoa(m.query)
|
|
5334
5383
|
}))
|
|
5335
|
-
},
|
|
5384
|
+
}, Le = await ae.post(
|
|
5336
5385
|
"/graph/jwt",
|
|
5337
|
-
Ua(JSON.stringify(
|
|
5386
|
+
Ua(JSON.stringify(Ne))
|
|
5338
5387
|
), i = {
|
|
5339
5388
|
status: 200,
|
|
5340
5389
|
message: "",
|
|
5341
5390
|
result: {}
|
|
5342
5391
|
};
|
|
5343
|
-
for (const m of
|
|
5392
|
+
for (const m of Le.data.responses) {
|
|
5344
5393
|
m.error != null && m.error.code != 200 && (i.status = m.error.code, i.message = m.error.message);
|
|
5345
|
-
const
|
|
5394
|
+
const w = m.attributes !== null && m.attributes !== void 0 ? $a(m.attributes) : null, u = m.name, l = w ? JSON.parse(w) : null;
|
|
5346
5395
|
if (!l)
|
|
5347
5396
|
i.result[u] = null;
|
|
5348
5397
|
else
|
|
@@ -5401,7 +5450,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5401
5450
|
);
|
|
5402
5451
|
break;
|
|
5403
5452
|
case c.getFourDimensionData:
|
|
5404
|
-
i.result[u] =
|
|
5453
|
+
i.result[u] = Ds(
|
|
5405
5454
|
l
|
|
5406
5455
|
);
|
|
5407
5456
|
break;
|
|
@@ -5409,7 +5458,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5409
5458
|
i.result[u] = xs(l);
|
|
5410
5459
|
break;
|
|
5411
5460
|
case c.searchResultDate:
|
|
5412
|
-
i.result[u] =
|
|
5461
|
+
i.result[u] = Ps(
|
|
5413
5462
|
l
|
|
5414
5463
|
);
|
|
5415
5464
|
break;
|
|
@@ -5417,10 +5466,10 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5417
5466
|
i.result[u] = Os(l);
|
|
5418
5467
|
break;
|
|
5419
5468
|
case c.searchByDate:
|
|
5420
|
-
i.result[u] =
|
|
5469
|
+
i.result[u] = Ms(l);
|
|
5421
5470
|
break;
|
|
5422
5471
|
case c.upcomingMatches:
|
|
5423
|
-
i.result[u] =
|
|
5472
|
+
i.result[u] = ks(
|
|
5424
5473
|
l
|
|
5425
5474
|
);
|
|
5426
5475
|
break;
|
|
@@ -5509,7 +5558,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5509
5558
|
);
|
|
5510
5559
|
break;
|
|
5511
5560
|
case c.submitWithdrawValidate:
|
|
5512
|
-
i.result[u] =
|
|
5561
|
+
i.result[u] = et(l);
|
|
5513
5562
|
break;
|
|
5514
5563
|
case c.getDepositPromotion:
|
|
5515
5564
|
i.result[u] = eo(
|
|
@@ -5560,13 +5609,13 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5560
5609
|
i.result[u] = lo(l);
|
|
5561
5610
|
break;
|
|
5562
5611
|
case c.getDepositValidate:
|
|
5563
|
-
i.result[u] =
|
|
5612
|
+
i.result[u] = Ke(l);
|
|
5564
5613
|
break;
|
|
5565
5614
|
case c.getWithdrawValidate:
|
|
5566
|
-
i.result[u] =
|
|
5615
|
+
i.result[u] = Ke(l);
|
|
5567
5616
|
break;
|
|
5568
5617
|
case c.getTransferCreditValidate:
|
|
5569
|
-
i.result[u] =
|
|
5618
|
+
i.result[u] = Ke(l);
|
|
5570
5619
|
break;
|
|
5571
5620
|
case c.updateProfilePicture:
|
|
5572
5621
|
i.result[u] = mo(
|
|
@@ -5608,7 +5657,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5608
5657
|
i.result[u] = wo(l);
|
|
5609
5658
|
break;
|
|
5610
5659
|
case c.transferToMain:
|
|
5611
|
-
i.result[u] =
|
|
5660
|
+
i.result[u] = Do(l);
|
|
5612
5661
|
break;
|
|
5613
5662
|
case c.transferProcess:
|
|
5614
5663
|
i.result[u] = xo(
|
|
@@ -5616,27 +5665,27 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5616
5665
|
);
|
|
5617
5666
|
break;
|
|
5618
5667
|
case c.submitDepositValidate:
|
|
5619
|
-
i.result[u] =
|
|
5668
|
+
i.result[u] = et(l);
|
|
5620
5669
|
break;
|
|
5621
5670
|
case c.submitTransferCreditValidate:
|
|
5622
|
-
i.result[u] =
|
|
5671
|
+
i.result[u] = et(l);
|
|
5623
5672
|
break;
|
|
5624
5673
|
case c.checkTransferCredit:
|
|
5625
|
-
i.result[u] =
|
|
5674
|
+
i.result[u] = Po(
|
|
5626
5675
|
l
|
|
5627
5676
|
);
|
|
5628
5677
|
break;
|
|
5629
5678
|
case c.friendList:
|
|
5630
|
-
i.result[u] =
|
|
5679
|
+
i.result[u] = Ro(l);
|
|
5631
5680
|
break;
|
|
5632
5681
|
case c.friendListEdit:
|
|
5633
5682
|
i.result[u] = Oo(l);
|
|
5634
5683
|
break;
|
|
5635
5684
|
case c.getActivePP:
|
|
5636
|
-
i.result[u] =
|
|
5685
|
+
i.result[u] = Mo(l);
|
|
5637
5686
|
break;
|
|
5638
5687
|
case c.getActiveProduct:
|
|
5639
|
-
i.result[u] =
|
|
5688
|
+
i.result[u] = ko(
|
|
5640
5689
|
l
|
|
5641
5690
|
);
|
|
5642
5691
|
break;
|
|
@@ -5836,7 +5885,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5836
5885
|
);
|
|
5837
5886
|
break;
|
|
5838
5887
|
case c.submitForgetUsername:
|
|
5839
|
-
i.result[u] =
|
|
5888
|
+
i.result[u] = Ri(
|
|
5840
5889
|
l
|
|
5841
5890
|
);
|
|
5842
5891
|
break;
|
|
@@ -5846,7 +5895,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5846
5895
|
);
|
|
5847
5896
|
break;
|
|
5848
5897
|
case c.getAccumulateDepositClaim:
|
|
5849
|
-
i.result[u] =
|
|
5898
|
+
i.result[u] = Pi(
|
|
5850
5899
|
l
|
|
5851
5900
|
);
|
|
5852
5901
|
break;
|
|
@@ -5856,12 +5905,12 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5856
5905
|
);
|
|
5857
5906
|
break;
|
|
5858
5907
|
case c.getASCMatchCount:
|
|
5859
|
-
i.result[u] =
|
|
5908
|
+
i.result[u] = Mi(
|
|
5860
5909
|
l
|
|
5861
5910
|
);
|
|
5862
5911
|
break;
|
|
5863
5912
|
case c.updateDeviceToken:
|
|
5864
|
-
i.result[u] =
|
|
5913
|
+
i.result[u] = ki(
|
|
5865
5914
|
l
|
|
5866
5915
|
);
|
|
5867
5916
|
break;
|
|
@@ -5910,8 +5959,8 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5910
5959
|
const m = i.result.getIncentiveData;
|
|
5911
5960
|
if (c.getIncentiveRebate in i.result) {
|
|
5912
5961
|
if ((t = i.result) != null && t.getIncentiveRebate) {
|
|
5913
|
-
const
|
|
5914
|
-
m.claimable = Number(
|
|
5962
|
+
const w = i.result.getIncentiveRebate;
|
|
5963
|
+
m.claimable = Number(w.amount);
|
|
5915
5964
|
}
|
|
5916
5965
|
delete i.result.getIncentiveRebate;
|
|
5917
5966
|
}
|
|
@@ -5919,32 +5968,32 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5919
5968
|
}
|
|
5920
5969
|
if (c.vipList in i.result && ((r = i.result) != null && r.vipList)) {
|
|
5921
5970
|
const m = i.result.vipList;
|
|
5922
|
-
let
|
|
5923
|
-
if (c.getSetting in i.result && ((a = i.result) != null && a.getSetting && (
|
|
5971
|
+
let w = 4;
|
|
5972
|
+
if (c.getSetting in i.result && ((a = i.result) != null && a.getSetting && (w = i.result.getSetting.vipCalculation), delete i.result.getSetting), c.vipStatus in i.result) {
|
|
5924
5973
|
if ((s = i.result) != null && s.vipStatus) {
|
|
5925
5974
|
const u = i.result.vipStatus, {
|
|
5926
5975
|
current_grade_id: l,
|
|
5927
|
-
current_deposit:
|
|
5976
|
+
current_deposit: R,
|
|
5928
5977
|
current_turnover: z,
|
|
5929
|
-
percentage:
|
|
5930
|
-
} = u,
|
|
5931
|
-
m.list = m.list.map((G,
|
|
5932
|
-
const
|
|
5933
|
-
let
|
|
5934
|
-
return
|
|
5978
|
+
percentage: A
|
|
5979
|
+
} = u, J = m.list.findIndex((G) => G.id === l);
|
|
5980
|
+
m.list = m.list.map((G, K) => {
|
|
5981
|
+
const X = K === J;
|
|
5982
|
+
let Z = "0", U = "0", Q = 0;
|
|
5983
|
+
return X ? (Z = `${Math.min(Fe(R), Fe(G.deposit.total))}`, U = `${Math.min(Fe(z), Fe(G.turnover.total))}`, Q = A) : K < J ? (Z = G.deposit.total, U = G.turnover.total, Q = 1) : K > J && (Z = "0.00", U = "0.00", Q = 0), {
|
|
5935
5984
|
...G,
|
|
5936
|
-
is_current_level:
|
|
5985
|
+
is_current_level: X,
|
|
5937
5986
|
deposit: {
|
|
5938
5987
|
...G.deposit,
|
|
5939
|
-
isShow:
|
|
5940
|
-
current: x(
|
|
5988
|
+
isShow: w === 1 || w === 3 || w === 4,
|
|
5989
|
+
current: x(Z)
|
|
5941
5990
|
},
|
|
5942
5991
|
turnover: {
|
|
5943
5992
|
...G.turnover,
|
|
5944
|
-
isShow:
|
|
5993
|
+
isShow: w === 2 || w === 3 || w === 4,
|
|
5945
5994
|
current: x(U)
|
|
5946
5995
|
},
|
|
5947
|
-
percentage:
|
|
5996
|
+
percentage: Q * 100 > 100 ? 100 : Q * 100
|
|
5948
5997
|
};
|
|
5949
5998
|
});
|
|
5950
5999
|
}
|
|
@@ -5954,35 +6003,35 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5954
6003
|
if ((o = i.result) != null && o.vipBonus) {
|
|
5955
6004
|
const u = i.result.vipBonus;
|
|
5956
6005
|
m.bonus.day.status = u.day.status;
|
|
5957
|
-
const { dayRemainingTime: l, dayProgressPercentage:
|
|
6006
|
+
const { dayRemainingTime: l, dayProgressPercentage: R } = Qa();
|
|
5958
6007
|
m.bonus.day.timestamp = {
|
|
5959
6008
|
current: l,
|
|
5960
|
-
percentage:
|
|
6009
|
+
percentage: R > 100 ? 100 : R
|
|
5961
6010
|
}, m.bonus.week.status = u.week.status;
|
|
5962
|
-
const { weekRemainingTime: z, weekProgressPercentage:
|
|
6011
|
+
const { weekRemainingTime: z, weekProgressPercentage: A } = Aa();
|
|
5963
6012
|
m.bonus.week.timestamp = {
|
|
5964
6013
|
current: z,
|
|
5965
|
-
percentage:
|
|
6014
|
+
percentage: A > 100 ? 100 : A
|
|
5966
6015
|
}, m.bonus.month.status = u.month.status;
|
|
5967
|
-
const { monthRemainingTime:
|
|
6016
|
+
const { monthRemainingTime: J, monthProgressPercentage: G } = Va();
|
|
5968
6017
|
m.bonus.month.timestamp = {
|
|
5969
|
-
current:
|
|
6018
|
+
current: J,
|
|
5970
6019
|
percentage: G > 100 ? 100 : G
|
|
5971
6020
|
}, m.bonus.salary_1st.status = u.salary_1st.status;
|
|
5972
|
-
const { remainingTimeTo5th:
|
|
6021
|
+
const { remainingTimeTo5th: K, progressPercentageTo5th: X } = Xa();
|
|
5973
6022
|
m.bonus.salary_1st.timestamp = {
|
|
5974
|
-
current:
|
|
5975
|
-
percentage:
|
|
6023
|
+
current: K,
|
|
6024
|
+
percentage: X > 100 ? 100 : X
|
|
5976
6025
|
}, m.bonus.salary_10th.status = u.salary_10th.status;
|
|
5977
|
-
const { remainingTimeTo10th:
|
|
6026
|
+
const { remainingTimeTo10th: Z, progressPercentageTo10th: U } = Za();
|
|
5978
6027
|
m.bonus.salary_10th.timestamp = {
|
|
5979
|
-
current:
|
|
6028
|
+
current: Z,
|
|
5980
6029
|
percentage: U > 100 ? 100 : U
|
|
5981
6030
|
}, m.bonus.salary_20th.status = u.salary_20th.status;
|
|
5982
|
-
const { remainingTimeTo20th:
|
|
6031
|
+
const { remainingTimeTo20th: Q, progressPercentageTo20th: ee } = Ja();
|
|
5983
6032
|
m.bonus.salary_20th.timestamp = {
|
|
5984
|
-
current:
|
|
5985
|
-
percentage:
|
|
6033
|
+
current: Q,
|
|
6034
|
+
percentage: ee > 100 ? 100 : ee
|
|
5986
6035
|
}, m.bonus.birthday.status = u.birthday.status;
|
|
5987
6036
|
}
|
|
5988
6037
|
delete i.result.vipBonus;
|
|
@@ -5995,11 +6044,11 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5995
6044
|
code: "vipLevel",
|
|
5996
6045
|
value: m.list.map((b) => b.name)
|
|
5997
6046
|
});
|
|
5998
|
-
const
|
|
6047
|
+
const R = u.findIndex(
|
|
5999
6048
|
(b) => b.fieldName == "upgrade_bonus"
|
|
6000
6049
|
);
|
|
6001
|
-
|
|
6002
|
-
name: u[
|
|
6050
|
+
R > -1 && l.push({
|
|
6051
|
+
name: u[R].showName,
|
|
6003
6052
|
code: "",
|
|
6004
6053
|
value: m.list.map((b) => b.benefit_list.upgrade.bonus)
|
|
6005
6054
|
});
|
|
@@ -6011,19 +6060,19 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6011
6060
|
code: "",
|
|
6012
6061
|
value: m.list.map((b) => b.benefit_list.upgrade.turnover)
|
|
6013
6062
|
});
|
|
6014
|
-
const
|
|
6063
|
+
const A = u.findIndex(
|
|
6015
6064
|
(b) => b.fieldName == "monthly_bonus"
|
|
6016
6065
|
);
|
|
6017
|
-
m.bonus.month.isShow =
|
|
6018
|
-
name: u[
|
|
6066
|
+
m.bonus.month.isShow = A > -1, A > -1 && l.push({
|
|
6067
|
+
name: u[A].showName,
|
|
6019
6068
|
code: "",
|
|
6020
6069
|
value: m.list.map((b) => b.benefit_list.monthly.bonus)
|
|
6021
6070
|
});
|
|
6022
|
-
const
|
|
6071
|
+
const J = u.findIndex(
|
|
6023
6072
|
(b) => b.fieldName == "monthly_bonus_multiply"
|
|
6024
6073
|
);
|
|
6025
|
-
|
|
6026
|
-
name: u[
|
|
6074
|
+
J > -1 && l.push({
|
|
6075
|
+
name: u[J].showName,
|
|
6027
6076
|
code: "",
|
|
6028
6077
|
value: m.list.map((b) => b.benefit_list.monthly.turnover)
|
|
6029
6078
|
});
|
|
@@ -6035,27 +6084,27 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6035
6084
|
code: "",
|
|
6036
6085
|
value: m.list.map((b) => b.benefit_list.weekly.bonus)
|
|
6037
6086
|
});
|
|
6038
|
-
const
|
|
6087
|
+
const K = u.findIndex(
|
|
6039
6088
|
(b) => b.fieldName == "weekly_bonus_multiply"
|
|
6040
6089
|
);
|
|
6041
|
-
|
|
6042
|
-
name: u[
|
|
6090
|
+
K > -1 && l.push({
|
|
6091
|
+
name: u[K].showName,
|
|
6043
6092
|
code: "",
|
|
6044
6093
|
value: m.list.map((b) => b.benefit_list.weekly.turnover)
|
|
6045
6094
|
});
|
|
6046
|
-
const
|
|
6095
|
+
const X = u.findIndex(
|
|
6047
6096
|
(b) => b.fieldName == "daily_bonus"
|
|
6048
6097
|
);
|
|
6049
|
-
m.bonus.day.isShow =
|
|
6050
|
-
name: u[
|
|
6098
|
+
m.bonus.day.isShow = X > -1, X > -1 && l.push({
|
|
6099
|
+
name: u[X].showName,
|
|
6051
6100
|
code: "",
|
|
6052
6101
|
value: m.list.map((b) => b.benefit_list.daily.bonus)
|
|
6053
6102
|
});
|
|
6054
|
-
const
|
|
6103
|
+
const Z = u.findIndex(
|
|
6055
6104
|
(b) => b.fieldName == "daily_bonus_multiply"
|
|
6056
6105
|
);
|
|
6057
|
-
|
|
6058
|
-
name: u[
|
|
6106
|
+
Z > -1 && l.push({
|
|
6107
|
+
name: u[Z].showName,
|
|
6059
6108
|
code: "",
|
|
6060
6109
|
value: m.list.map((b) => b.benefit_list.daily.turnover)
|
|
6061
6110
|
});
|
|
@@ -6067,72 +6116,72 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6067
6116
|
code: "",
|
|
6068
6117
|
value: m.list.map((b) => b.benefit_list.birthday.bonus)
|
|
6069
6118
|
});
|
|
6070
|
-
const
|
|
6119
|
+
const Q = u.findIndex(
|
|
6071
6120
|
(b) => b.fieldName == "birthday_bonus_multiply"
|
|
6072
6121
|
);
|
|
6073
|
-
|
|
6074
|
-
name: u[
|
|
6122
|
+
Q > -1 && l.push({
|
|
6123
|
+
name: u[Q].showName,
|
|
6075
6124
|
code: "",
|
|
6076
6125
|
value: m.list.map((b) => b.benefit_list.birthday.turnover)
|
|
6077
6126
|
});
|
|
6078
|
-
const
|
|
6127
|
+
const ee = u.findIndex(
|
|
6079
6128
|
(b) => b.fieldName == "salary_bonus_1st"
|
|
6080
6129
|
);
|
|
6081
6130
|
m.list.map((b) => {
|
|
6082
|
-
b.benefit_list.salary_1st.isShow =
|
|
6083
|
-
}), m.bonus.salary_1st.isShow =
|
|
6084
|
-
name: u[
|
|
6131
|
+
b.benefit_list.salary_1st.isShow = ee > -1;
|
|
6132
|
+
}), m.bonus.salary_1st.isShow = ee > -1, ee > -1 && l.push({
|
|
6133
|
+
name: u[ee].showName,
|
|
6085
6134
|
code: "",
|
|
6086
6135
|
value: m.list.map((b) => b.benefit_list.salary_1st.bonus)
|
|
6087
6136
|
});
|
|
6088
|
-
const
|
|
6137
|
+
const Oe = u.findIndex(
|
|
6089
6138
|
(b) => b.fieldName == "salary_bonus_multiply_1st"
|
|
6090
6139
|
);
|
|
6091
|
-
|
|
6092
|
-
name: u[
|
|
6140
|
+
Oe > -1 && l.push({
|
|
6141
|
+
name: u[Oe].showName,
|
|
6093
6142
|
code: "",
|
|
6094
6143
|
value: m.list.map((b) => b.benefit_list.salary_1st.turnover)
|
|
6095
6144
|
});
|
|
6096
|
-
const
|
|
6145
|
+
const me = u.findIndex(
|
|
6097
6146
|
(b) => b.fieldName == "salary_bonus_10th"
|
|
6098
6147
|
);
|
|
6099
6148
|
m.list.map((b) => {
|
|
6100
|
-
b.benefit_list.salary_10th.isShow =
|
|
6101
|
-
}), m.bonus.salary_10th.isShow =
|
|
6102
|
-
name: u[
|
|
6149
|
+
b.benefit_list.salary_10th.isShow = me > -1;
|
|
6150
|
+
}), m.bonus.salary_10th.isShow = me > -1, me > -1 && l.push({
|
|
6151
|
+
name: u[me].showName,
|
|
6103
6152
|
code: "",
|
|
6104
6153
|
value: m.list.map((b) => b.benefit_list.salary_10th.bonus)
|
|
6105
6154
|
});
|
|
6106
|
-
const
|
|
6155
|
+
const Me = u.findIndex(
|
|
6107
6156
|
(b) => b.fieldName == "salary_bonus_multiply_10th"
|
|
6108
6157
|
);
|
|
6109
|
-
|
|
6110
|
-
name: u[
|
|
6158
|
+
Me > -1 && l.push({
|
|
6159
|
+
name: u[Me].showName,
|
|
6111
6160
|
code: "",
|
|
6112
6161
|
value: m.list.map((b) => b.benefit_list.salary_10th.turnover)
|
|
6113
6162
|
});
|
|
6114
|
-
const
|
|
6163
|
+
const fe = u.findIndex(
|
|
6115
6164
|
(b) => b.fieldName == "salary_bonus_20th"
|
|
6116
6165
|
);
|
|
6117
6166
|
m.list.map((b) => {
|
|
6118
|
-
b.benefit_list.salary_20th.isShow =
|
|
6119
|
-
}), m.bonus.salary_20th.isShow =
|
|
6120
|
-
name: u[
|
|
6167
|
+
b.benefit_list.salary_20th.isShow = fe > -1;
|
|
6168
|
+
}), m.bonus.salary_20th.isShow = fe > -1, fe > -1 && l.push({
|
|
6169
|
+
name: u[fe].showName,
|
|
6121
6170
|
code: "",
|
|
6122
6171
|
value: m.list.map((b) => b.benefit_list.salary_20th.bonus)
|
|
6123
6172
|
});
|
|
6124
|
-
const
|
|
6173
|
+
const ke = u.findIndex(
|
|
6125
6174
|
(b) => b.fieldName == "salary_bonus_multiply_20th"
|
|
6126
6175
|
);
|
|
6127
|
-
|
|
6128
|
-
name: u[
|
|
6176
|
+
ke > -1 && l.push({
|
|
6177
|
+
name: u[ke].showName,
|
|
6129
6178
|
code: "",
|
|
6130
6179
|
value: m.list.map((b) => b.benefit_list.salary_20th.turnover)
|
|
6131
|
-
}), (
|
|
6180
|
+
}), (w === 1 || w === 3 || w === 4) && l.push({
|
|
6132
6181
|
name: "",
|
|
6133
6182
|
code: "detail_deposit",
|
|
6134
6183
|
value: m.list.map((b) => b.deposit.total)
|
|
6135
|
-
}), (
|
|
6184
|
+
}), (w === 2 || w === 3 || w === 4) && l.push({
|
|
6136
6185
|
name: "",
|
|
6137
6186
|
code: "detail_turnover",
|
|
6138
6187
|
value: m.list.map((b) => b.turnover.total)
|
|
@@ -6142,13 +6191,30 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6142
6191
|
}
|
|
6143
6192
|
i.result.vipList = m;
|
|
6144
6193
|
}
|
|
6145
|
-
if (c.
|
|
6194
|
+
if (c.getRewardReferral in i.result && ((g = i.result) != null && g.getRewardReferral)) {
|
|
6195
|
+
const m = (f = i.result) == null ? void 0 : f.getRewardReferral;
|
|
6196
|
+
let w = 0, u = 0;
|
|
6197
|
+
if (c.getTurnOverRewardData in i.result && ((y = i.result) != null && y.getTurnOverRewardData)) {
|
|
6198
|
+
const l = (D = i.result) == null ? void 0 : D.getTurnOverRewardData;
|
|
6199
|
+
w += Number(l.totalReward), u += Number(l.unclaimReward), m.turnOverRewardData = l;
|
|
6200
|
+
}
|
|
6201
|
+
if (c.getInviteRewardData in i.result && ((_ = i.result) != null && _.getInviteRewardData)) {
|
|
6202
|
+
const l = (p = i.result) == null ? void 0 : p.getInviteRewardData;
|
|
6203
|
+
w += Number(l.totalReward), u += Number(l.unclaimReward), m.inviteRewardData = l;
|
|
6204
|
+
}
|
|
6205
|
+
if (c.getTopupRewardData in i.result && ((P = i.result) != null && P.getTopupRewardData)) {
|
|
6206
|
+
const l = (N = i.result) == null ? void 0 : N.getTopupRewardData;
|
|
6207
|
+
w += Number(l.totalReward), u += Number(l.unclaimReward), m.topupRewardData = l;
|
|
6208
|
+
}
|
|
6209
|
+
m.referralRewardData.isClaimable = u > 0, m.referralRewardData.totalCommission = w.toString();
|
|
6210
|
+
}
|
|
6211
|
+
if (c.getFavouriteGame in i.result && ((B = i.result) != null && B.getFavouriteGame)) {
|
|
6146
6212
|
const m = i.result.getFavouriteGame;
|
|
6147
|
-
if (JSON.parse(e[
|
|
6148
|
-
const
|
|
6213
|
+
if (JSON.parse(e[ye].query).pid && c.getPlatformTurnoverRate in i.result && (H = i.result) != null && H.getPlatformTurnoverRate) {
|
|
6214
|
+
const w = i.result.getPlatformTurnoverRate;
|
|
6149
6215
|
i.result.getFavouriteGame = m.data.map((u) => {
|
|
6150
|
-
const l =
|
|
6151
|
-
(
|
|
6216
|
+
const l = w.find(
|
|
6217
|
+
(R) => R.id === u.platformId
|
|
6152
6218
|
);
|
|
6153
6219
|
return {
|
|
6154
6220
|
...u,
|
|
@@ -6157,13 +6223,13 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6157
6223
|
}), delete i.result.getPlatformTurnoverRate;
|
|
6158
6224
|
}
|
|
6159
6225
|
}
|
|
6160
|
-
if (c.fishGameList in i.result && ((
|
|
6226
|
+
if (c.fishGameList in i.result && ((v = i.result) != null && v.fishGameList)) {
|
|
6161
6227
|
const m = i.result.fishGameList;
|
|
6162
|
-
if (JSON.parse(e[
|
|
6163
|
-
const
|
|
6228
|
+
if (JSON.parse(e[he].query).pid && c.getPlatformTurnoverRate in i.result && (S = i.result) != null && S.getPlatformTurnoverRate) {
|
|
6229
|
+
const w = i.result.getPlatformTurnoverRate;
|
|
6164
6230
|
i.result.fishGameList = m.data.map((u) => {
|
|
6165
|
-
const l =
|
|
6166
|
-
(
|
|
6231
|
+
const l = w.find(
|
|
6232
|
+
(R) => R.id === u.platformId
|
|
6167
6233
|
);
|
|
6168
6234
|
return {
|
|
6169
6235
|
...u,
|
|
@@ -6172,72 +6238,72 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6172
6238
|
}), delete i.result.getPlatformTurnoverRate;
|
|
6173
6239
|
}
|
|
6174
6240
|
}
|
|
6175
|
-
if (c.gameList in i.result && ((
|
|
6241
|
+
if (c.gameList in i.result && ((T = i.result) != null && T.gameList)) {
|
|
6176
6242
|
const m = i.result.gameList;
|
|
6177
|
-
if (JSON.parse(e[
|
|
6178
|
-
const
|
|
6179
|
-
if (m.trialGameList =
|
|
6243
|
+
if (JSON.parse(e[_e].query).pid) {
|
|
6244
|
+
const w = m.platformGame.map((u) => u.list.filter((l) => l.flag.trial && !u.nextPage).map((l) => l));
|
|
6245
|
+
if (m.trialGameList = w.flat(), c.getPlatformTurnoverRate in i.result && ((k = i.result) != null && k.getPlatformTurnoverRate)) {
|
|
6180
6246
|
const u = i.result.getPlatformTurnoverRate;
|
|
6181
6247
|
m.platformGame = m.platformGame.map((l) => ({
|
|
6182
6248
|
...l,
|
|
6183
|
-
list: l.list.map((
|
|
6249
|
+
list: l.list.map((R) => {
|
|
6184
6250
|
const z = u.find(
|
|
6185
|
-
(
|
|
6251
|
+
(A) => A.id === R.platformId
|
|
6186
6252
|
);
|
|
6187
6253
|
return {
|
|
6188
|
-
...
|
|
6254
|
+
...R,
|
|
6189
6255
|
rate: (z == null ? void 0 : z.percentage) ?? "0.00"
|
|
6190
6256
|
};
|
|
6191
6257
|
})
|
|
6192
6258
|
})), m.platformGameList.data = m.platformGameList.data.map((l) => {
|
|
6193
|
-
const
|
|
6259
|
+
const R = u.find(
|
|
6194
6260
|
(z) => z.id === l.platformId
|
|
6195
6261
|
);
|
|
6196
6262
|
return {
|
|
6197
6263
|
...l,
|
|
6198
|
-
rate: (
|
|
6264
|
+
rate: (R == null ? void 0 : R.percentage) ?? "0.00"
|
|
6199
6265
|
};
|
|
6200
6266
|
}), m.hotGameList.data = m.hotGameList.data.map((l) => {
|
|
6201
|
-
const
|
|
6267
|
+
const R = u.find(
|
|
6202
6268
|
(z) => z.id === l.platformId
|
|
6203
6269
|
);
|
|
6204
6270
|
return {
|
|
6205
6271
|
...l,
|
|
6206
|
-
rate: (
|
|
6272
|
+
rate: (R == null ? void 0 : R.percentage) ?? "0.00"
|
|
6207
6273
|
};
|
|
6208
6274
|
}), m.trialGameList = m.trialGameList.map((l) => {
|
|
6209
|
-
const
|
|
6275
|
+
const R = u.find(
|
|
6210
6276
|
(z) => z.id === l.platformId
|
|
6211
6277
|
);
|
|
6212
6278
|
return {
|
|
6213
6279
|
...l,
|
|
6214
|
-
rate: (
|
|
6280
|
+
rate: (R == null ? void 0 : R.percentage) ?? "0.00"
|
|
6215
6281
|
};
|
|
6216
6282
|
}), delete i.result.getPlatformTurnoverRate;
|
|
6217
6283
|
}
|
|
6218
6284
|
}
|
|
6219
6285
|
i.result.gameList = m;
|
|
6220
6286
|
}
|
|
6221
|
-
if (c.getCompany in i.result && ((
|
|
6287
|
+
if (c.getCompany in i.result && ((q = i.result) != null && q.getCompany)) {
|
|
6222
6288
|
const m = i.result.getCompany;
|
|
6223
|
-
if (c.searchResultDate in i.result && (
|
|
6224
|
-
const
|
|
6289
|
+
if (c.searchResultDate in i.result && (ue = i.result) != null && ue.searchResultDate) {
|
|
6290
|
+
const w = i.result.searchResultDate;
|
|
6225
6291
|
m.forEach((u) => {
|
|
6226
|
-
const l =
|
|
6292
|
+
const l = w.find((R) => R.id == u.id);
|
|
6227
6293
|
l && (u.date = l == null ? void 0 : l.date);
|
|
6228
6294
|
}), delete i.result.searchResultDate;
|
|
6229
6295
|
}
|
|
6230
6296
|
i.result.getCompany = m;
|
|
6231
6297
|
}
|
|
6232
6298
|
return i;
|
|
6233
|
-
} catch (
|
|
6234
|
-
return Ht.isAxiosError(
|
|
6235
|
-
status: ((
|
|
6236
|
-
message: JSON.stringify((
|
|
6299
|
+
} catch (V) {
|
|
6300
|
+
return Ht.isAxiosError(V) ? {
|
|
6301
|
+
status: ((se = V.response) == null ? void 0 : se.status) || 600,
|
|
6302
|
+
message: JSON.stringify((le = V.response) == null ? void 0 : le.data),
|
|
6237
6303
|
result: {}
|
|
6238
|
-
} : (console.error(
|
|
6239
|
-
status:
|
|
6240
|
-
message:
|
|
6304
|
+
} : (console.error(V), {
|
|
6305
|
+
status: V.status || 500,
|
|
6306
|
+
message: V.message,
|
|
6241
6307
|
result: {}
|
|
6242
6308
|
});
|
|
6243
6309
|
}
|
|
@@ -6250,7 +6316,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6250
6316
|
message: ""
|
|
6251
6317
|
};
|
|
6252
6318
|
try {
|
|
6253
|
-
await
|
|
6319
|
+
await ae.post("/loginVia/telegram", e), n = {
|
|
6254
6320
|
status: 200,
|
|
6255
6321
|
message: ""
|
|
6256
6322
|
};
|
|
@@ -6270,7 +6336,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6270
6336
|
message: ""
|
|
6271
6337
|
};
|
|
6272
6338
|
try {
|
|
6273
|
-
await
|
|
6339
|
+
await ae.post("/graph/auth/sesh", {
|
|
6274
6340
|
usr: e,
|
|
6275
6341
|
pwd: n
|
|
6276
6342
|
}), t = {
|
|
@@ -6293,7 +6359,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6293
6359
|
message: ""
|
|
6294
6360
|
};
|
|
6295
6361
|
try {
|
|
6296
|
-
await
|
|
6362
|
+
await ae.post("/graph/auth/sesh/logout");
|
|
6297
6363
|
} catch (n) {
|
|
6298
6364
|
e = {
|
|
6299
6365
|
status: n.status || 500,
|
|
@@ -6321,7 +6387,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6321
6387
|
...Wt
|
|
6322
6388
|
};
|
|
6323
6389
|
try {
|
|
6324
|
-
const t = (await
|
|
6390
|
+
const t = (await ae.get("/graph/autoregister")).data;
|
|
6325
6391
|
e.data = {
|
|
6326
6392
|
status: t.status == 1,
|
|
6327
6393
|
message: t.message ?? "",
|
|
@@ -6354,7 +6420,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6354
6420
|
...Yt
|
|
6355
6421
|
};
|
|
6356
6422
|
try {
|
|
6357
|
-
const r = await
|
|
6423
|
+
const r = await ae.post("/graph/setlocale", {
|
|
6358
6424
|
language: e,
|
|
6359
6425
|
udid: n ?? ""
|
|
6360
6426
|
}), a = JSON.parse(
|
|
@@ -6385,7 +6451,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6385
6451
|
}
|
|
6386
6452
|
};
|
|
6387
6453
|
try {
|
|
6388
|
-
const d = (await
|
|
6454
|
+
const d = (await ae.post(`/loadgame/${e}`, {
|
|
6389
6455
|
wanturl: 1,
|
|
6390
6456
|
extra: {
|
|
6391
6457
|
Stage: n,
|
|
@@ -6434,7 +6500,7 @@ const Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6434
6500
|
...qt
|
|
6435
6501
|
};
|
|
6436
6502
|
try {
|
|
6437
|
-
const s = (await
|
|
6503
|
+
const s = (await ae.get("/graph/getMaintenanceMode")).data;
|
|
6438
6504
|
e.data = {
|
|
6439
6505
|
status: s.status == 1,
|
|
6440
6506
|
message: s.msg ?? "",
|
|
@@ -6500,19 +6566,19 @@ const uu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6500
6566
|
__proto__: null
|
|
6501
6567
|
}, Symbol.toStringTag, { value: "Module" })), wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6502
6568
|
__proto__: null
|
|
6503
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6569
|
+
}, Symbol.toStringTag, { value: "Module" })), Du = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6504
6570
|
__proto__: null
|
|
6505
6571
|
}, Symbol.toStringTag, { value: "Module" })), xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6506
6572
|
__proto__: null
|
|
6507
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6573
|
+
}, Symbol.toStringTag, { value: "Module" })), Pu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6508
6574
|
__proto__: null
|
|
6509
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6575
|
+
}, Symbol.toStringTag, { value: "Module" })), Ru = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6510
6576
|
__proto__: null
|
|
6511
6577
|
}, Symbol.toStringTag, { value: "Module" })), Ou = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6512
6578
|
__proto__: null
|
|
6513
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6579
|
+
}, Symbol.toStringTag, { value: "Module" })), Mu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6514
6580
|
__proto__: null
|
|
6515
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6581
|
+
}, Symbol.toStringTag, { value: "Module" })), ku = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6516
6582
|
__proto__: null
|
|
6517
6583
|
}, Symbol.toStringTag, { value: "Module" })), Su = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6518
6584
|
__proto__: null
|
|
@@ -6615,19 +6681,19 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6615
6681
|
__proto__: null
|
|
6616
6682
|
}, Symbol.toStringTag, { value: "Module" })), wl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6617
6683
|
__proto__: null
|
|
6618
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6684
|
+
}, Symbol.toStringTag, { value: "Module" })), Dl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6619
6685
|
__proto__: null
|
|
6620
6686
|
}, Symbol.toStringTag, { value: "Module" })), xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6621
6687
|
__proto__: null
|
|
6622
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6688
|
+
}, Symbol.toStringTag, { value: "Module" })), Pl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6623
6689
|
__proto__: null
|
|
6624
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6690
|
+
}, Symbol.toStringTag, { value: "Module" })), Rl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6625
6691
|
__proto__: null
|
|
6626
6692
|
}, Symbol.toStringTag, { value: "Module" })), Ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6627
6693
|
__proto__: null
|
|
6628
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6694
|
+
}, Symbol.toStringTag, { value: "Module" })), Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6629
6695
|
__proto__: null
|
|
6630
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6696
|
+
}, Symbol.toStringTag, { value: "Module" })), kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6631
6697
|
__proto__: null
|
|
6632
6698
|
}, Symbol.toStringTag, { value: "Module" })), Sl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6633
6699
|
__proto__: null
|
|
@@ -6726,13 +6792,13 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6726
6792
|
getExtraGameType: Tu,
|
|
6727
6793
|
mailBoxType: vu,
|
|
6728
6794
|
fishGameListType: wu,
|
|
6729
|
-
slotGameListType:
|
|
6795
|
+
slotGameListType: Du,
|
|
6730
6796
|
getTurnOverRewardDataType: xu,
|
|
6731
|
-
getTurnOverRewardReportType:
|
|
6732
|
-
getInviteRewardDataType:
|
|
6797
|
+
getTurnOverRewardReportType: Pu,
|
|
6798
|
+
getInviteRewardDataType: Ru,
|
|
6733
6799
|
getInviteRewardReportType: Ou,
|
|
6734
|
-
getTopupRewardDataType:
|
|
6735
|
-
getTopupRewardReportType:
|
|
6800
|
+
getTopupRewardDataType: Mu,
|
|
6801
|
+
getTopupRewardReportType: ku,
|
|
6736
6802
|
getRewardReferralType: Su,
|
|
6737
6803
|
getDepositPromotionType: Iu,
|
|
6738
6804
|
getInviteRewardClaimType: Cu,
|
|
@@ -6785,13 +6851,13 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6785
6851
|
transferReportType: Uo,
|
|
6786
6852
|
agTransferCreditReportType: vl,
|
|
6787
6853
|
betReportType: wl,
|
|
6788
|
-
getTwoFactorAuthenticateType:
|
|
6854
|
+
getTwoFactorAuthenticateType: Dl,
|
|
6789
6855
|
submitTwoFactorAuthenticateType: xl,
|
|
6790
|
-
getUserDeviceListType:
|
|
6791
|
-
unbindUserDeviceType:
|
|
6856
|
+
getUserDeviceListType: Pl,
|
|
6857
|
+
unbindUserDeviceType: Rl,
|
|
6792
6858
|
searchNumberHistoryType: Ol,
|
|
6793
|
-
changeWithdrawalCodeType:
|
|
6794
|
-
checkRedPacketTokenType:
|
|
6859
|
+
changeWithdrawalCodeType: Ml,
|
|
6860
|
+
checkRedPacketTokenType: kl,
|
|
6795
6861
|
submitWithdrawalAlipayType: Sl,
|
|
6796
6862
|
applyReliefFund: Il,
|
|
6797
6863
|
getReliefFundData: Cl,
|
|
@@ -6811,7 +6877,7 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6811
6877
|
updateFavouriteGameType: Ul,
|
|
6812
6878
|
requestForgetUsernameType: $l,
|
|
6813
6879
|
submitForgetUsernameType: Vl,
|
|
6814
|
-
getAccumulateDepositDataType:
|
|
6880
|
+
getAccumulateDepositDataType: Di,
|
|
6815
6881
|
getAccumulateDepositClaimType: Al,
|
|
6816
6882
|
rebateRefundSettingType: Ql,
|
|
6817
6883
|
getASCMatchCountType: Xl,
|
|
@@ -6842,8 +6908,8 @@ export {
|
|
|
6842
6908
|
Qi as autoRegisterApi,
|
|
6843
6909
|
wl as betReportType,
|
|
6844
6910
|
bu as changePasswordType,
|
|
6845
|
-
|
|
6846
|
-
|
|
6911
|
+
Ml as changeWithdrawalCodeType,
|
|
6912
|
+
kl as checkRedPacketTokenType,
|
|
6847
6913
|
Vu as checkRedPacketValidateType,
|
|
6848
6914
|
al as checkTransferCreditType,
|
|
6849
6915
|
Wl as claimIncentiveRebate,
|
|
@@ -6857,7 +6923,7 @@ export {
|
|
|
6857
6923
|
su as gameListType,
|
|
6858
6924
|
Xl as getASCMatchCountType,
|
|
6859
6925
|
Al as getAccumulateDepositClaimType,
|
|
6860
|
-
|
|
6926
|
+
Di as getAccumulateDepositDataType,
|
|
6861
6927
|
il as getActivePPType,
|
|
6862
6928
|
ul as getActiveProductType,
|
|
6863
6929
|
el as getCountryType,
|
|
@@ -6872,7 +6938,7 @@ export {
|
|
|
6872
6938
|
Yl as getIncentiveData,
|
|
6873
6939
|
ql as getIncentiveRebate,
|
|
6874
6940
|
Cu as getInviteRewardClaimType,
|
|
6875
|
-
|
|
6941
|
+
Ru as getInviteRewardDataType,
|
|
6876
6942
|
Ou as getInviteRewardReportType,
|
|
6877
6943
|
Lu as getInviteRewardSettingType,
|
|
6878
6944
|
tu as getMaintenanceModeApi,
|
|
@@ -6885,15 +6951,15 @@ export {
|
|
|
6885
6951
|
ri as getSettingType,
|
|
6886
6952
|
ju as getTopUpRewardClaimType,
|
|
6887
6953
|
Fu as getTopUpRewardSettingType,
|
|
6888
|
-
|
|
6889
|
-
|
|
6954
|
+
Mu as getTopupRewardDataType,
|
|
6955
|
+
ku as getTopupRewardReportType,
|
|
6890
6956
|
Nu as getTurnOverRewardClaimType,
|
|
6891
6957
|
xu as getTurnOverRewardDataType,
|
|
6892
|
-
|
|
6958
|
+
Pu as getTurnOverRewardReportType,
|
|
6893
6959
|
tc as getTurnOverRewardSettingMultType,
|
|
6894
6960
|
zu as getTurnOverRewardSettingType,
|
|
6895
|
-
|
|
6896
|
-
|
|
6961
|
+
Dl as getTwoFactorAuthenticateType,
|
|
6962
|
+
Pl as getUserDeviceListType,
|
|
6897
6963
|
Au as getUserProfileType,
|
|
6898
6964
|
Xu as getUsernameByReferType,
|
|
6899
6965
|
Hu as getValidateType,
|
|
@@ -6933,7 +6999,7 @@ export {
|
|
|
6933
6999
|
Zi as setLocaleApi,
|
|
6934
7000
|
yl as signInRecordType,
|
|
6935
7001
|
bl as signInViewInfoType,
|
|
6936
|
-
|
|
7002
|
+
Du as slotGameListType,
|
|
6937
7003
|
fl as submitCryptoAccountType,
|
|
6938
7004
|
Wu as submitForgetPasswordType,
|
|
6939
7005
|
Vl as submitForgetUsernameType,
|
|
@@ -6952,7 +7018,7 @@ export {
|
|
|
6952
7018
|
zl as transferSettingType,
|
|
6953
7019
|
tl as transferToMainType,
|
|
6954
7020
|
Gl as transferType,
|
|
6955
|
-
|
|
7021
|
+
Rl as unbindUserDeviceType,
|
|
6956
7022
|
cu as upcomingMatchType,
|
|
6957
7023
|
Zl as updateDeviceTokenType,
|
|
6958
7024
|
Ul as updateFavouriteGameType,
|