60p82u21t54k 0.1.75 → 0.1.77
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 +1033 -972
- package/dist/60p82u21t54k.umd.js +1 -1
- package/dist/api/api.d.ts.map +1 -1
- package/dist/model/cmsList/getCmsListResponse.d.ts +19 -0
- package/dist/model/cmsList/getCmsListResponse.d.ts.map +1 -1
- package/dist/model/cmsList/type.d.ts +8 -1
- package/dist/model/cmsList/type.d.ts.map +1 -1
- package/dist/model/paymentsProvider/getPaymentsProviderResponse.d.ts.map +1 -1
- package/dist/model/paymentsProvider/type.d.ts +2 -0
- package/dist/model/paymentsProvider/type.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/60p82u21t54k.es.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
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
|
-
import
|
|
5
|
-
const ae =
|
|
4
|
+
import Ut from "axios";
|
|
5
|
+
const ae = Ut.create({
|
|
6
6
|
baseURL: "",
|
|
7
7
|
timeout: 15e3,
|
|
8
8
|
// Request timeout
|
|
@@ -62,41 +62,41 @@ ae.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 rt = {
|
|
66
66
|
timezone: -4,
|
|
67
67
|
currency: "¥",
|
|
68
68
|
language: "zh"
|
|
69
69
|
};
|
|
70
70
|
const pn = (e) => {
|
|
71
|
-
|
|
72
|
-
},
|
|
71
|
+
rt = { ...rt, ...e };
|
|
72
|
+
}, $t = () => rt, bn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
73
73
|
__proto__: null,
|
|
74
|
-
getConfig:
|
|
74
|
+
getConfig: $t,
|
|
75
75
|
setConfig: pn
|
|
76
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
76
|
+
}, Symbol.toStringTag, { value: "Module" })), Vt = 6048e5, yn = 864e5, hn = 6e4, _n = 36e5, Tn = 1e3, ht = Symbol.for("constructDateFrom");
|
|
77
77
|
function Y(e, n) {
|
|
78
|
-
return typeof e == "function" ? e(n) : e && typeof e == "object" &&
|
|
78
|
+
return typeof e == "function" ? e(n) : e && typeof e == "object" && ht in e ? e[ht](n) : e instanceof Date ? new e.constructor(n) : new Date(n);
|
|
79
79
|
}
|
|
80
80
|
function W(e, n) {
|
|
81
81
|
return Y(n || e, e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function At(e, n, t) {
|
|
84
84
|
const r = W(e, t == null ? void 0 : t.in);
|
|
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 Re() {
|
|
89
89
|
return vn;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
92
|
-
var d, g, f,
|
|
93
|
-
const t =
|
|
91
|
+
function me(e, n) {
|
|
92
|
+
var d, g, f, b;
|
|
93
|
+
const t = Re(), 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 ?? ((b = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : b.weekStartsOn) ?? 0, a = W(e, n == null ? void 0 : n.in), s = a.getDay(), o = (s < r ? 7 : 0) + s - r;
|
|
94
94
|
return a.setDate(a.getDate() - o), a.setHours(0, 0, 0, 0), a;
|
|
95
95
|
}
|
|
96
96
|
function xe(e, n) {
|
|
97
|
-
return
|
|
97
|
+
return me(e, { ...n, weekStartsOn: 1 });
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Qt(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
102
|
const s = xe(a), o = Y(t, 0);
|
|
@@ -104,7 +104,7 @@ function At(e, n) {
|
|
|
104
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 Ge(e) {
|
|
108
108
|
const n = W(e), t = new Date(
|
|
109
109
|
Date.UTC(
|
|
110
110
|
n.getFullYear(),
|
|
@@ -125,7 +125,7 @@ function wn(e, ...n) {
|
|
|
125
125
|
);
|
|
126
126
|
return n.map(t);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function _t(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
|
}
|
|
@@ -134,24 +134,24 @@ function Dn(e, n, t) {
|
|
|
134
134
|
t == null ? void 0 : t.in,
|
|
135
135
|
e,
|
|
136
136
|
n
|
|
137
|
-
), s =
|
|
137
|
+
), s = _t(r), o = _t(a), d = +s - Ge(s), g = +o - Ge(o);
|
|
138
138
|
return Math.round((d - g) / yn);
|
|
139
139
|
}
|
|
140
|
-
function
|
|
141
|
-
const t =
|
|
140
|
+
function Pn(e, n) {
|
|
141
|
+
const t = Qt(e, n), r = Y(e, 0);
|
|
142
142
|
return r.setFullYear(t, 0, 4), r.setHours(0, 0, 0, 0), xe(r);
|
|
143
143
|
}
|
|
144
|
-
function
|
|
144
|
+
function xn(e) {
|
|
145
145
|
return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
|
|
146
146
|
}
|
|
147
147
|
function Rn(e) {
|
|
148
|
-
return !(!
|
|
148
|
+
return !(!xn(e) && typeof e != "number" || isNaN(+W(e)));
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function Mn(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 On = {
|
|
155
155
|
lessThanXSeconds: {
|
|
156
156
|
one: "less than a second",
|
|
157
157
|
other: "less than {{count}} seconds"
|
|
@@ -215,10 +215,10 @@ const Mn = {
|
|
|
215
215
|
}
|
|
216
216
|
}, kn = (e, n, t) => {
|
|
217
217
|
let r;
|
|
218
|
-
const a =
|
|
218
|
+
const a = On[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 Qe(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: Qe({
|
|
244
244
|
formats: Sn,
|
|
245
245
|
defaultWidth: "full"
|
|
246
246
|
}),
|
|
247
|
-
time:
|
|
247
|
+
time: Qe({
|
|
248
248
|
formats: In,
|
|
249
249
|
defaultWidth: "full"
|
|
250
250
|
}),
|
|
251
|
-
dateTime:
|
|
251
|
+
dateTime: Qe({
|
|
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 Ie(e) {
|
|
264
264
|
return (n, t) => {
|
|
265
265
|
const r = t != null && t.context ? String(t.context) : "standalone";
|
|
266
266
|
let a;
|
|
@@ -400,51 +400,51 @@ const Fn = {
|
|
|
400
400
|
return t + "rd";
|
|
401
401
|
}
|
|
402
402
|
return t + "th";
|
|
403
|
-
},
|
|
403
|
+
}, Hn = {
|
|
404
404
|
ordinalNumber: En,
|
|
405
|
-
era:
|
|
405
|
+
era: Ie({
|
|
406
406
|
values: Fn,
|
|
407
407
|
defaultWidth: "wide"
|
|
408
408
|
}),
|
|
409
|
-
quarter:
|
|
409
|
+
quarter: Ie({
|
|
410
410
|
values: zn,
|
|
411
411
|
defaultWidth: "wide",
|
|
412
412
|
argumentCallback: (e) => e - 1
|
|
413
413
|
}),
|
|
414
|
-
month:
|
|
414
|
+
month: Ie({
|
|
415
415
|
values: Gn,
|
|
416
416
|
defaultWidth: "wide"
|
|
417
417
|
}),
|
|
418
|
-
day:
|
|
418
|
+
day: Ie({
|
|
419
419
|
values: Wn,
|
|
420
420
|
defaultWidth: "wide"
|
|
421
421
|
}),
|
|
422
|
-
dayPeriod:
|
|
422
|
+
dayPeriod: Ie({
|
|
423
423
|
values: Yn,
|
|
424
424
|
defaultWidth: "wide",
|
|
425
425
|
formattingValues: qn,
|
|
426
426
|
defaultFormattingWidth: "wide"
|
|
427
427
|
})
|
|
428
428
|
};
|
|
429
|
-
function
|
|
429
|
+
function Ce(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
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
|
-
|
|
436
|
+
Bn(d, (D) => D.test(o))
|
|
437
437
|
);
|
|
438
438
|
let f;
|
|
439
439
|
f = e.valueCallback ? e.valueCallback(g) : g, f = t.valueCallback ? (
|
|
440
440
|
// [TODO] -- I challenge you to fix the type
|
|
441
441
|
t.valueCallback(f)
|
|
442
442
|
) : f;
|
|
443
|
-
const
|
|
444
|
-
return { value: f, rest:
|
|
443
|
+
const b = n.slice(o.length);
|
|
444
|
+
return { value: f, rest: b };
|
|
445
445
|
};
|
|
446
446
|
}
|
|
447
|
-
function
|
|
447
|
+
function Bn(e, n) {
|
|
448
448
|
for (const t in e)
|
|
449
449
|
if (Object.prototype.hasOwnProperty.call(e, t) && n(e[t]))
|
|
450
450
|
return t;
|
|
@@ -539,43 +539,43 @@ 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: Ce({
|
|
543
543
|
matchPatterns: Qn,
|
|
544
544
|
defaultMatchWidth: "wide",
|
|
545
545
|
parsePatterns: Xn,
|
|
546
546
|
defaultParseWidth: "any"
|
|
547
547
|
}),
|
|
548
|
-
quarter:
|
|
548
|
+
quarter: Ce({
|
|
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: Ce({
|
|
556
556
|
matchPatterns: Kn,
|
|
557
557
|
defaultMatchWidth: "wide",
|
|
558
558
|
parsePatterns: er,
|
|
559
559
|
defaultParseWidth: "any"
|
|
560
560
|
}),
|
|
561
|
-
day:
|
|
561
|
+
day: Ce({
|
|
562
562
|
matchPatterns: tr,
|
|
563
563
|
defaultMatchWidth: "wide",
|
|
564
564
|
parsePatterns: nr,
|
|
565
565
|
defaultParseWidth: "any"
|
|
566
566
|
}),
|
|
567
|
-
dayPeriod:
|
|
567
|
+
dayPeriod: Ce({
|
|
568
568
|
matchPatterns: rr,
|
|
569
569
|
defaultMatchWidth: "any",
|
|
570
570
|
parsePatterns: ar,
|
|
571
571
|
defaultParseWidth: "any"
|
|
572
572
|
})
|
|
573
|
-
},
|
|
573
|
+
}, Xt = {
|
|
574
574
|
code: "en-US",
|
|
575
575
|
formatDistance: kn,
|
|
576
576
|
formatLong: jn,
|
|
577
577
|
formatRelative: Ln,
|
|
578
|
-
localize:
|
|
578
|
+
localize: Hn,
|
|
579
579
|
match: sr,
|
|
580
580
|
options: {
|
|
581
581
|
weekStartsOn: 0,
|
|
@@ -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 Dn(t,
|
|
587
|
+
return Dn(t, Mn(t)) + 1;
|
|
588
588
|
}
|
|
589
|
-
function
|
|
590
|
-
const t = W(e, n == null ? void 0 : n.in), r = +xe(t) - +
|
|
591
|
-
return Math.round(r /
|
|
589
|
+
function Zt(e, n) {
|
|
590
|
+
const t = W(e, n == null ? void 0 : n.in), r = +xe(t) - +Pn(t);
|
|
591
|
+
return Math.round(r / Vt) + 1;
|
|
592
592
|
}
|
|
593
|
-
function
|
|
594
|
-
var
|
|
595
|
-
const t = W(e, n == null ? void 0 : n.in), r = t.getFullYear(), a =
|
|
593
|
+
function it(e, n) {
|
|
594
|
+
var b, D, _, p;
|
|
595
|
+
const t = W(e, n == null ? void 0 : n.in), r = t.getFullYear(), a = Re(), s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((D = (b = n == null ? void 0 : n.locale) == null ? void 0 : b.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 = me(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 = me(g, n);
|
|
600
600
|
return +t >= +d ? r + 1 : +t >= +f ? r : r - 1;
|
|
601
601
|
}
|
|
602
602
|
function ir(e, n) {
|
|
603
|
-
var d, g, f,
|
|
604
|
-
const t =
|
|
605
|
-
return s.setFullYear(a, 0, r), s.setHours(0, 0, 0, 0),
|
|
603
|
+
var d, g, f, b;
|
|
604
|
+
const t = Re(), 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 ?? ((b = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : b.firstWeekContainsDate) ?? 1, a = it(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), me(s, n);
|
|
606
606
|
}
|
|
607
|
-
function
|
|
608
|
-
const t = W(e, n == null ? void 0 : n.in), r = +
|
|
609
|
-
return Math.round(r /
|
|
607
|
+
function Jt(e, n) {
|
|
608
|
+
const t = W(e, n == null ? void 0 : n.in), r = +me(t, n) - +ir(t, n);
|
|
609
|
+
return Math.round(r / Vt) + 1;
|
|
610
610
|
}
|
|
611
|
-
function
|
|
611
|
+
function S(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 de = {
|
|
616
616
|
// Year
|
|
617
617
|
y(e, n) {
|
|
618
618
|
const t = e.getFullYear(), r = t > 0 ? t : 1 - t;
|
|
619
|
-
return
|
|
619
|
+
return S(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) : S(t + 1, 2);
|
|
625
625
|
},
|
|
626
626
|
// Day of the month
|
|
627
627
|
d(e, n) {
|
|
628
|
-
return
|
|
628
|
+
return S(e.getDate(), n.length);
|
|
629
629
|
},
|
|
630
630
|
// AM or PM
|
|
631
631
|
a(e, n) {
|
|
@@ -645,28 +645,28 @@ const ce = {
|
|
|
645
645
|
},
|
|
646
646
|
// Hour [1-12]
|
|
647
647
|
h(e, n) {
|
|
648
|
-
return
|
|
648
|
+
return S(e.getHours() % 12 || 12, n.length);
|
|
649
649
|
},
|
|
650
650
|
// Hour [0-23]
|
|
651
651
|
H(e, n) {
|
|
652
|
-
return
|
|
652
|
+
return S(e.getHours(), n.length);
|
|
653
653
|
},
|
|
654
654
|
// Minute
|
|
655
655
|
m(e, n) {
|
|
656
|
-
return
|
|
656
|
+
return S(e.getMinutes(), n.length);
|
|
657
657
|
},
|
|
658
658
|
// Second
|
|
659
659
|
s(e, n) {
|
|
660
|
-
return
|
|
660
|
+
return S(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 S(a, n.length);
|
|
668
668
|
}
|
|
669
|
-
},
|
|
669
|
+
}, De = {
|
|
670
670
|
am: "am",
|
|
671
671
|
pm: "pm",
|
|
672
672
|
midnight: "midnight",
|
|
@@ -675,7 +675,7 @@ const ce = {
|
|
|
675
675
|
afternoon: "afternoon",
|
|
676
676
|
evening: "evening",
|
|
677
677
|
night: "night"
|
|
678
|
-
},
|
|
678
|
+
}, Tt = {
|
|
679
679
|
// Era
|
|
680
680
|
G: function(e, n, t) {
|
|
681
681
|
const r = e.getFullYear() > 0 ? 1 : 0;
|
|
@@ -697,21 +697,21 @@ const ce = {
|
|
|
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 de.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 = it(e, r), s = a > 0 ? a : 1 - a;
|
|
705
705
|
if (n === "YY") {
|
|
706
706
|
const o = s % 100;
|
|
707
|
-
return
|
|
707
|
+
return S(o, 2);
|
|
708
708
|
}
|
|
709
|
-
return n === "Yo" ? t.ordinalNumber(s, { unit: "year" }) :
|
|
709
|
+
return n === "Yo" ? t.ordinalNumber(s, { unit: "year" }) : S(s, n.length);
|
|
710
710
|
},
|
|
711
711
|
// ISO week-numbering year
|
|
712
712
|
R: function(e, n) {
|
|
713
|
-
const t =
|
|
714
|
-
return
|
|
713
|
+
const t = Qt(e);
|
|
714
|
+
return S(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 ce = {
|
|
|
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 S(t, n.length);
|
|
728
728
|
},
|
|
729
729
|
// Quarter
|
|
730
730
|
Q: function(e, n, t) {
|
|
@@ -733,7 +733,7 @@ const ce = {
|
|
|
733
733
|
case "Q":
|
|
734
734
|
return String(r);
|
|
735
735
|
case "QQ":
|
|
736
|
-
return
|
|
736
|
+
return S(r, 2);
|
|
737
737
|
case "Qo":
|
|
738
738
|
return t.ordinalNumber(r, { unit: "quarter" });
|
|
739
739
|
case "QQQ":
|
|
@@ -761,7 +761,7 @@ const ce = {
|
|
|
761
761
|
case "q":
|
|
762
762
|
return String(r);
|
|
763
763
|
case "qq":
|
|
764
|
-
return
|
|
764
|
+
return S(r, 2);
|
|
765
765
|
case "qo":
|
|
766
766
|
return t.ordinalNumber(r, { unit: "quarter" });
|
|
767
767
|
case "qqq":
|
|
@@ -788,7 +788,7 @@ const ce = {
|
|
|
788
788
|
switch (n) {
|
|
789
789
|
case "M":
|
|
790
790
|
case "MM":
|
|
791
|
-
return
|
|
791
|
+
return de.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 ce = {
|
|
|
813
813
|
case "L":
|
|
814
814
|
return String(r + 1);
|
|
815
815
|
case "LL":
|
|
816
|
-
return
|
|
816
|
+
return S(r + 1, 2);
|
|
817
817
|
case "Lo":
|
|
818
818
|
return t.ordinalNumber(r + 1, { unit: "month" });
|
|
819
819
|
case "LLL":
|
|
@@ -833,22 +833,22 @@ const ce = {
|
|
|
833
833
|
},
|
|
834
834
|
// Local week of year
|
|
835
835
|
w: function(e, n, t, r) {
|
|
836
|
-
const a =
|
|
837
|
-
return n === "wo" ? t.ordinalNumber(a, { unit: "week" }) :
|
|
836
|
+
const a = Jt(e, r);
|
|
837
|
+
return n === "wo" ? t.ordinalNumber(a, { unit: "week" }) : S(a, n.length);
|
|
838
838
|
},
|
|
839
839
|
// ISO week of year
|
|
840
840
|
I: function(e, n, t) {
|
|
841
|
-
const r =
|
|
842
|
-
return n === "Io" ? t.ordinalNumber(r, { unit: "week" }) :
|
|
841
|
+
const r = Zt(e);
|
|
842
|
+
return n === "Io" ? t.ordinalNumber(r, { unit: "week" }) : S(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" }) : de.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" }) : S(r, n.length);
|
|
852
852
|
},
|
|
853
853
|
// Day of week
|
|
854
854
|
E: function(e, n, t) {
|
|
@@ -886,7 +886,7 @@ const ce = {
|
|
|
886
886
|
case "e":
|
|
887
887
|
return String(s);
|
|
888
888
|
case "ee":
|
|
889
|
-
return
|
|
889
|
+
return S(s, 2);
|
|
890
890
|
case "eo":
|
|
891
891
|
return t.ordinalNumber(s, { unit: "day" });
|
|
892
892
|
case "eee":
|
|
@@ -919,7 +919,7 @@ const ce = {
|
|
|
919
919
|
case "c":
|
|
920
920
|
return String(s);
|
|
921
921
|
case "cc":
|
|
922
|
-
return
|
|
922
|
+
return S(s, n.length);
|
|
923
923
|
case "co":
|
|
924
924
|
return t.ordinalNumber(s, { unit: "day" });
|
|
925
925
|
case "ccc":
|
|
@@ -952,7 +952,7 @@ const ce = {
|
|
|
952
952
|
case "i":
|
|
953
953
|
return String(a);
|
|
954
954
|
case "ii":
|
|
955
|
-
return
|
|
955
|
+
return S(a, n.length);
|
|
956
956
|
case "io":
|
|
957
957
|
return t.ordinalNumber(a, { unit: "day" });
|
|
958
958
|
case "iii":
|
|
@@ -1010,7 +1010,7 @@ const ce = {
|
|
|
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 = De.noon : r === 0 ? a = De.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 ce = {
|
|
|
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 = De.evening : r >= 12 ? a = De.afternoon : r >= 4 ? a = De.morning : a = De.night, n) {
|
|
1043
1043
|
case "B":
|
|
1044
1044
|
case "BB":
|
|
1045
1045
|
case "BBB":
|
|
@@ -1066,33 +1066,33 @@ const ce = {
|
|
|
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 de.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" }) : de.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" }) : S(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" }) : S(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" }) : de.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" }) : de.s(e, n);
|
|
1092
1092
|
},
|
|
1093
1093
|
// Fraction of second
|
|
1094
1094
|
S: function(e, n) {
|
|
1095
|
-
return
|
|
1095
|
+
return de.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) {
|
|
@@ -1101,14 +1101,14 @@ const ce = {
|
|
|
1101
1101
|
return "Z";
|
|
1102
1102
|
switch (n) {
|
|
1103
1103
|
case "X":
|
|
1104
|
-
return
|
|
1104
|
+
return wt(r);
|
|
1105
1105
|
case "XXXX":
|
|
1106
1106
|
case "XX":
|
|
1107
|
-
return
|
|
1107
|
+
return be(r);
|
|
1108
1108
|
case "XXXXX":
|
|
1109
1109
|
case "XXX":
|
|
1110
1110
|
default:
|
|
1111
|
-
return
|
|
1111
|
+
return be(r, ":");
|
|
1112
1112
|
}
|
|
1113
1113
|
},
|
|
1114
1114
|
// Timezone (ISO-8601. If offset is 0, output is `'+00:00'` or equivalent)
|
|
@@ -1116,14 +1116,14 @@ const ce = {
|
|
|
1116
1116
|
const r = e.getTimezoneOffset();
|
|
1117
1117
|
switch (n) {
|
|
1118
1118
|
case "x":
|
|
1119
|
-
return
|
|
1119
|
+
return wt(r);
|
|
1120
1120
|
case "xxxx":
|
|
1121
1121
|
case "xx":
|
|
1122
|
-
return
|
|
1122
|
+
return be(r);
|
|
1123
1123
|
case "xxxxx":
|
|
1124
1124
|
case "xxx":
|
|
1125
1125
|
default:
|
|
1126
|
-
return
|
|
1126
|
+
return be(r, ":");
|
|
1127
1127
|
}
|
|
1128
1128
|
},
|
|
1129
1129
|
// Timezone (GMT)
|
|
@@ -1133,10 +1133,10 @@ const ce = {
|
|
|
1133
1133
|
case "O":
|
|
1134
1134
|
case "OO":
|
|
1135
1135
|
case "OOO":
|
|
1136
|
-
return "GMT" +
|
|
1136
|
+
return "GMT" + vt(r, ":");
|
|
1137
1137
|
case "OOOO":
|
|
1138
1138
|
default:
|
|
1139
|
-
return "GMT" +
|
|
1139
|
+
return "GMT" + be(r, ":");
|
|
1140
1140
|
}
|
|
1141
1141
|
},
|
|
1142
1142
|
// Timezone (specific non-location)
|
|
@@ -1146,34 +1146,34 @@ const ce = {
|
|
|
1146
1146
|
case "z":
|
|
1147
1147
|
case "zz":
|
|
1148
1148
|
case "zzz":
|
|
1149
|
-
return "GMT" +
|
|
1149
|
+
return "GMT" + vt(r, ":");
|
|
1150
1150
|
case "zzzz":
|
|
1151
1151
|
default:
|
|
1152
|
-
return "GMT" +
|
|
1152
|
+
return "GMT" + be(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 S(r, n.length);
|
|
1159
1159
|
},
|
|
1160
1160
|
// Milliseconds timestamp
|
|
1161
1161
|
T: function(e, n, t) {
|
|
1162
|
-
return
|
|
1162
|
+
return S(+e, n.length);
|
|
1163
1163
|
}
|
|
1164
1164
|
};
|
|
1165
|
-
function
|
|
1165
|
+
function vt(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 + S(s, 2);
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1170
|
-
return e % 60 === 0 ? (e > 0 ? "-" : "+") +
|
|
1169
|
+
function wt(e, n) {
|
|
1170
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + S(Math.abs(e) / 60, 2) : be(e, n);
|
|
1171
1171
|
}
|
|
1172
|
-
function
|
|
1173
|
-
const t = e > 0 ? "-" : "+", r = Math.abs(e), a =
|
|
1172
|
+
function be(e, n = "") {
|
|
1173
|
+
const t = e > 0 ? "-" : "+", r = Math.abs(e), a = S(Math.trunc(r / 60), 2), s = S(r % 60, 2);
|
|
1174
1174
|
return t + a + n + s;
|
|
1175
1175
|
}
|
|
1176
|
-
const
|
|
1176
|
+
const Dt = (e, n) => {
|
|
1177
1177
|
switch (e) {
|
|
1178
1178
|
case "P":
|
|
1179
1179
|
return n.date({ width: "short" });
|
|
@@ -1185,7 +1185,7 @@ const wt = (e, n) => {
|
|
|
1185
1185
|
default:
|
|
1186
1186
|
return n.date({ width: "full" });
|
|
1187
1187
|
}
|
|
1188
|
-
},
|
|
1188
|
+
}, Kt = (e, n) => {
|
|
1189
1189
|
switch (e) {
|
|
1190
1190
|
case "p":
|
|
1191
1191
|
return n.time({ width: "short" });
|
|
@@ -1200,7 +1200,7 @@ const wt = (e, n) => {
|
|
|
1200
1200
|
}, ur = (e, n) => {
|
|
1201
1201
|
const t = e.match(/(P+)(p+)?/) || [], r = t[1], a = t[2];
|
|
1202
1202
|
if (!a)
|
|
1203
|
-
return
|
|
1203
|
+
return Dt(e, n);
|
|
1204
1204
|
let s;
|
|
1205
1205
|
switch (r) {
|
|
1206
1206
|
case "P":
|
|
@@ -1217,18 +1217,18 @@ const wt = (e, n) => {
|
|
|
1217
1217
|
s = n.dateTime({ width: "full" });
|
|
1218
1218
|
break;
|
|
1219
1219
|
}
|
|
1220
|
-
return s.replace("{{date}}",
|
|
1221
|
-
},
|
|
1222
|
-
p:
|
|
1220
|
+
return s.replace("{{date}}", Dt(r, n)).replace("{{time}}", Kt(a, n));
|
|
1221
|
+
}, at = {
|
|
1222
|
+
p: Kt,
|
|
1223
1223
|
P: ur
|
|
1224
1224
|
}, lr = /^D+$/, cr = /^Y+$/, dr = ["D", "DD", "YY", "YYYY"];
|
|
1225
|
-
function
|
|
1225
|
+
function en(e) {
|
|
1226
1226
|
return lr.test(e);
|
|
1227
1227
|
}
|
|
1228
|
-
function
|
|
1228
|
+
function tn(e) {
|
|
1229
1229
|
return cr.test(e);
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1231
|
+
function st(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
|
|
1242
|
-
const r =
|
|
1241
|
+
var b, D, _, p, O, M, H, B;
|
|
1242
|
+
const r = Re(), a = (t == null ? void 0 : t.locale) ?? r.locale ?? Xt, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((D = (b = t == null ? void 0 : t.locale) == null ? void 0 : b.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) ?? ((M = (O = t == null ? void 0 : t.locale) == null ? void 0 : O.options) == null ? void 0 : M.weekStartsOn) ?? r.weekStartsOn ?? ((B = (H = r.locale) == null ? void 0 : H.options) == null ? void 0 : B.weekStartsOn) ?? 0, d = W(e, t == null ? void 0 : t.in);
|
|
1243
1243
|
if (!Rn(d))
|
|
1244
1244
|
throw new RangeError("Invalid time value");
|
|
1245
|
-
let g = n.match(gr).map((
|
|
1246
|
-
const
|
|
1247
|
-
if (
|
|
1248
|
-
const T =
|
|
1249
|
-
return T(
|
|
1245
|
+
let g = n.match(gr).map((w) => {
|
|
1246
|
+
const I = w[0];
|
|
1247
|
+
if (I === "p" || I === "P") {
|
|
1248
|
+
const T = at[I];
|
|
1249
|
+
return T(w, a.formatLong);
|
|
1250
1250
|
}
|
|
1251
|
-
return
|
|
1252
|
-
}).join("").match(fr).map((
|
|
1253
|
-
if (
|
|
1251
|
+
return w;
|
|
1252
|
+
}).join("").match(fr).map((w) => {
|
|
1253
|
+
if (w === "''")
|
|
1254
1254
|
return { isToken: !1, value: "'" };
|
|
1255
|
-
const
|
|
1256
|
-
if (
|
|
1257
|
-
return { isToken: !1, value: _r(
|
|
1258
|
-
if (
|
|
1259
|
-
return { isToken: !0, value:
|
|
1260
|
-
if (
|
|
1255
|
+
const I = w[0];
|
|
1256
|
+
if (I === "'")
|
|
1257
|
+
return { isToken: !1, value: _r(w) };
|
|
1258
|
+
if (Tt[I])
|
|
1259
|
+
return { isToken: !0, value: w };
|
|
1260
|
+
if (I.match(yr))
|
|
1261
1261
|
throw new RangeError(
|
|
1262
|
-
"Format string contains an unescaped latin alphabet character `" +
|
|
1262
|
+
"Format string contains an unescaped latin alphabet character `" + I + "`"
|
|
1263
1263
|
);
|
|
1264
|
-
return { isToken: !1, value:
|
|
1264
|
+
return { isToken: !1, value: w };
|
|
1265
1265
|
});
|
|
1266
1266
|
a.localize.preprocessor && (g = a.localize.preprocessor(d, g));
|
|
1267
1267
|
const f = {
|
|
@@ -1269,20 +1269,20 @@ function hr(e, n, t) {
|
|
|
1269
1269
|
weekStartsOn: o,
|
|
1270
1270
|
locale: a
|
|
1271
1271
|
};
|
|
1272
|
-
return g.map((
|
|
1273
|
-
if (!
|
|
1274
|
-
const
|
|
1275
|
-
(!(t != null && t.useAdditionalWeekYearTokens) &&
|
|
1276
|
-
const T =
|
|
1277
|
-
return T(d,
|
|
1272
|
+
return g.map((w) => {
|
|
1273
|
+
if (!w.isToken) return w.value;
|
|
1274
|
+
const I = w.value;
|
|
1275
|
+
(!(t != null && t.useAdditionalWeekYearTokens) && tn(I) || !(t != null && t.useAdditionalDayOfYearTokens) && en(I)) && st(I, n, String(e));
|
|
1276
|
+
const T = Tt[I[0]];
|
|
1277
|
+
return T(d, I, a.localize, f);
|
|
1278
1278
|
}).join("");
|
|
1279
1279
|
}
|
|
1280
1280
|
function _r(e) {
|
|
1281
1281
|
const n = e.match(pr);
|
|
1282
1282
|
return n ? n[1].replace(br, "'") : e;
|
|
1283
1283
|
}
|
|
1284
|
-
function
|
|
1285
|
-
return Object.assign({},
|
|
1284
|
+
function nn() {
|
|
1285
|
+
return Object.assign({}, Re());
|
|
1286
1286
|
}
|
|
1287
1287
|
function Tr(e, n) {
|
|
1288
1288
|
const t = W(e, n == null ? void 0 : n.in).getDay();
|
|
@@ -1302,7 +1302,7 @@ function wr(e) {
|
|
|
1302
1302
|
return typeof e == "function" && ((n = e.prototype) == null ? void 0 : n.constructor) === e;
|
|
1303
1303
|
}
|
|
1304
1304
|
const Dr = 10;
|
|
1305
|
-
class
|
|
1305
|
+
class rn {
|
|
1306
1306
|
constructor() {
|
|
1307
1307
|
h(this, "subPriority", 0);
|
|
1308
1308
|
}
|
|
@@ -1310,7 +1310,7 @@ class nn {
|
|
|
1310
1310
|
return !0;
|
|
1311
1311
|
}
|
|
1312
1312
|
}
|
|
1313
|
-
class
|
|
1313
|
+
class Pr extends rn {
|
|
1314
1314
|
constructor(n, t, r, a, s) {
|
|
1315
1315
|
super(), this.value = n, this.validateValue = t, this.setValue = r, this.priority = a, s && (this.subPriority = s);
|
|
1316
1316
|
}
|
|
@@ -1321,7 +1321,7 @@ class xr extends nn {
|
|
|
1321
1321
|
return this.setValue(n, t, this.value, r);
|
|
1322
1322
|
}
|
|
1323
1323
|
}
|
|
1324
|
-
class
|
|
1324
|
+
class xr extends rn {
|
|
1325
1325
|
constructor(t, r) {
|
|
1326
1326
|
super();
|
|
1327
1327
|
h(this, "priority", Dr);
|
|
@@ -1332,11 +1332,11 @@ class Pr extends nn {
|
|
|
1332
1332
|
return r.timestampIsSet ? t : Y(t, vr(t, this.context));
|
|
1333
1333
|
}
|
|
1334
1334
|
}
|
|
1335
|
-
class
|
|
1335
|
+
class R {
|
|
1336
1336
|
run(n, t, r, a) {
|
|
1337
1337
|
const s = this.parse(n, t, r, a);
|
|
1338
1338
|
return s ? {
|
|
1339
|
-
setter: new
|
|
1339
|
+
setter: new Pr(
|
|
1340
1340
|
s.value,
|
|
1341
1341
|
this.validate,
|
|
1342
1342
|
this.set,
|
|
@@ -1350,7 +1350,7 @@ class O {
|
|
|
1350
1350
|
return !0;
|
|
1351
1351
|
}
|
|
1352
1352
|
}
|
|
1353
|
-
class Rr extends
|
|
1353
|
+
class Rr extends R {
|
|
1354
1354
|
constructor() {
|
|
1355
1355
|
super(...arguments);
|
|
1356
1356
|
h(this, "priority", 140);
|
|
@@ -1373,7 +1373,7 @@ class Rr extends O {
|
|
|
1373
1373
|
return r.era = a, t.setFullYear(a, 0, 1), t.setHours(0, 0, 0, 0), t;
|
|
1374
1374
|
}
|
|
1375
1375
|
}
|
|
1376
|
-
const
|
|
1376
|
+
const F = {
|
|
1377
1377
|
month: /^(1[0-2]|0?\d)/,
|
|
1378
1378
|
// 0 to 12
|
|
1379
1379
|
date: /^(3[0-1]|[0-2]?\d)/,
|
|
@@ -1418,13 +1418,13 @@ const L = {
|
|
|
1418
1418
|
extended: /^([+-])(\d{2}):(\d{2})|Z/,
|
|
1419
1419
|
extendedOptionalSeconds: /^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/
|
|
1420
1420
|
};
|
|
1421
|
-
function
|
|
1421
|
+
function z(e, n) {
|
|
1422
1422
|
return e && {
|
|
1423
1423
|
value: n(e.value),
|
|
1424
1424
|
rest: e.rest
|
|
1425
1425
|
};
|
|
1426
1426
|
}
|
|
1427
|
-
function
|
|
1427
|
+
function j(e, n) {
|
|
1428
1428
|
const t = n.match(e);
|
|
1429
1429
|
return t ? {
|
|
1430
1430
|
value: parseInt(t[0], 10),
|
|
@@ -1446,38 +1446,38 @@ function ne(e, n) {
|
|
|
1446
1446
|
rest: n.slice(t[0].length)
|
|
1447
1447
|
};
|
|
1448
1448
|
}
|
|
1449
|
-
function
|
|
1450
|
-
return
|
|
1449
|
+
function an(e) {
|
|
1450
|
+
return j(F.anyDigitsSigned, e);
|
|
1451
1451
|
}
|
|
1452
|
-
function
|
|
1452
|
+
function N(e, n) {
|
|
1453
1453
|
switch (e) {
|
|
1454
1454
|
case 1:
|
|
1455
|
-
return
|
|
1455
|
+
return j(F.singleDigit, n);
|
|
1456
1456
|
case 2:
|
|
1457
|
-
return
|
|
1457
|
+
return j(F.twoDigits, n);
|
|
1458
1458
|
case 3:
|
|
1459
|
-
return
|
|
1459
|
+
return j(F.threeDigits, n);
|
|
1460
1460
|
case 4:
|
|
1461
|
-
return
|
|
1461
|
+
return j(F.fourDigits, n);
|
|
1462
1462
|
default:
|
|
1463
|
-
return
|
|
1463
|
+
return j(new RegExp("^\\d{1," + e + "}"), n);
|
|
1464
1464
|
}
|
|
1465
1465
|
}
|
|
1466
|
-
function
|
|
1466
|
+
function We(e, n) {
|
|
1467
1467
|
switch (e) {
|
|
1468
1468
|
case 1:
|
|
1469
|
-
return
|
|
1469
|
+
return j(F.singleDigitSigned, n);
|
|
1470
1470
|
case 2:
|
|
1471
|
-
return
|
|
1471
|
+
return j(F.twoDigitsSigned, n);
|
|
1472
1472
|
case 3:
|
|
1473
|
-
return
|
|
1473
|
+
return j(F.threeDigitsSigned, n);
|
|
1474
1474
|
case 4:
|
|
1475
|
-
return
|
|
1475
|
+
return j(F.fourDigitsSigned, n);
|
|
1476
1476
|
default:
|
|
1477
|
-
return
|
|
1477
|
+
return j(new RegExp("^-?\\d{1," + e + "}"), n);
|
|
1478
1478
|
}
|
|
1479
1479
|
}
|
|
1480
|
-
function
|
|
1480
|
+
function ut(e) {
|
|
1481
1481
|
switch (e) {
|
|
1482
1482
|
case "morning":
|
|
1483
1483
|
return 4;
|
|
@@ -1494,7 +1494,7 @@ function ot(e) {
|
|
|
1494
1494
|
return 0;
|
|
1495
1495
|
}
|
|
1496
1496
|
}
|
|
1497
|
-
function
|
|
1497
|
+
function sn(e, n) {
|
|
1498
1498
|
const t = n > 0, r = t ? n : 1 - n;
|
|
1499
1499
|
let a;
|
|
1500
1500
|
if (r <= 50)
|
|
@@ -1505,10 +1505,10 @@ function an(e, n) {
|
|
|
1505
1505
|
}
|
|
1506
1506
|
return t ? a : 1 - a;
|
|
1507
1507
|
}
|
|
1508
|
-
function
|
|
1508
|
+
function on(e) {
|
|
1509
1509
|
return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
|
|
1510
1510
|
}
|
|
1511
|
-
class
|
|
1511
|
+
class Mr extends R {
|
|
1512
1512
|
constructor() {
|
|
1513
1513
|
super(...arguments);
|
|
1514
1514
|
h(this, "priority", 130);
|
|
@@ -1521,16 +1521,16 @@ class Or extends O {
|
|
|
1521
1521
|
});
|
|
1522
1522
|
switch (r) {
|
|
1523
1523
|
case "y":
|
|
1524
|
-
return
|
|
1524
|
+
return z(N(4, t), s);
|
|
1525
1525
|
case "yo":
|
|
1526
|
-
return
|
|
1526
|
+
return z(
|
|
1527
1527
|
a.ordinalNumber(t, {
|
|
1528
1528
|
unit: "year"
|
|
1529
1529
|
}),
|
|
1530
1530
|
s
|
|
1531
1531
|
);
|
|
1532
1532
|
default:
|
|
1533
|
-
return
|
|
1533
|
+
return z(N(r.length, t), s);
|
|
1534
1534
|
}
|
|
1535
1535
|
}
|
|
1536
1536
|
validate(t, r) {
|
|
@@ -1539,7 +1539,7 @@ class Or extends O {
|
|
|
1539
1539
|
set(t, r, a) {
|
|
1540
1540
|
const s = t.getFullYear();
|
|
1541
1541
|
if (a.isTwoDigitYear) {
|
|
1542
|
-
const d =
|
|
1542
|
+
const d = sn(
|
|
1543
1543
|
a.year,
|
|
1544
1544
|
s
|
|
1545
1545
|
);
|
|
@@ -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 Or extends R {
|
|
1553
1553
|
constructor() {
|
|
1554
1554
|
super(...arguments);
|
|
1555
1555
|
h(this, "priority", 130);
|
|
@@ -1576,25 +1576,25 @@ class Mr extends O {
|
|
|
1576
1576
|
});
|
|
1577
1577
|
switch (r) {
|
|
1578
1578
|
case "Y":
|
|
1579
|
-
return
|
|
1579
|
+
return z(N(4, t), s);
|
|
1580
1580
|
case "Yo":
|
|
1581
|
-
return
|
|
1581
|
+
return z(
|
|
1582
1582
|
a.ordinalNumber(t, {
|
|
1583
1583
|
unit: "year"
|
|
1584
1584
|
}),
|
|
1585
1585
|
s
|
|
1586
1586
|
);
|
|
1587
1587
|
default:
|
|
1588
|
-
return
|
|
1588
|
+
return z(N(r.length, t), s);
|
|
1589
1589
|
}
|
|
1590
1590
|
}
|
|
1591
1591
|
validate(t, r) {
|
|
1592
1592
|
return r.isTwoDigitYear || r.year > 0;
|
|
1593
1593
|
}
|
|
1594
1594
|
set(t, r, a, s) {
|
|
1595
|
-
const o =
|
|
1595
|
+
const o = it(t, s);
|
|
1596
1596
|
if (a.isTwoDigitYear) {
|
|
1597
|
-
const g =
|
|
1597
|
+
const g = sn(
|
|
1598
1598
|
a.year,
|
|
1599
1599
|
o
|
|
1600
1600
|
);
|
|
@@ -1602,13 +1602,13 @@ class Mr 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), me(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), me(t, s);
|
|
1609
1609
|
}
|
|
1610
1610
|
}
|
|
1611
|
-
class kr extends
|
|
1611
|
+
class kr extends R {
|
|
1612
1612
|
constructor() {
|
|
1613
1613
|
super(...arguments);
|
|
1614
1614
|
h(this, "priority", 130);
|
|
@@ -1631,27 +1631,27 @@ class kr extends O {
|
|
|
1631
1631
|
]);
|
|
1632
1632
|
}
|
|
1633
1633
|
parse(t, r) {
|
|
1634
|
-
return
|
|
1634
|
+
return We(r === "R" ? 4 : r.length, t);
|
|
1635
1635
|
}
|
|
1636
1636
|
set(t, r, a) {
|
|
1637
1637
|
const s = Y(t, 0);
|
|
1638
1638
|
return s.setFullYear(a, 0, 4), s.setHours(0, 0, 0, 0), xe(s);
|
|
1639
1639
|
}
|
|
1640
1640
|
}
|
|
1641
|
-
class Sr extends
|
|
1641
|
+
class Sr extends R {
|
|
1642
1642
|
constructor() {
|
|
1643
1643
|
super(...arguments);
|
|
1644
1644
|
h(this, "priority", 130);
|
|
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 We(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;
|
|
1652
1652
|
}
|
|
1653
1653
|
}
|
|
1654
|
-
class Ir extends
|
|
1654
|
+
class Ir extends R {
|
|
1655
1655
|
constructor() {
|
|
1656
1656
|
super(...arguments);
|
|
1657
1657
|
h(this, "priority", 120);
|
|
@@ -1676,7 +1676,7 @@ class Ir extends O {
|
|
|
1676
1676
|
switch (r) {
|
|
1677
1677
|
case "Q":
|
|
1678
1678
|
case "QQ":
|
|
1679
|
-
return
|
|
1679
|
+
return N(r.length, t);
|
|
1680
1680
|
case "Qo":
|
|
1681
1681
|
return a.ordinalNumber(t, { unit: "quarter" });
|
|
1682
1682
|
case "QQQ":
|
|
@@ -1713,7 +1713,7 @@ class Ir extends O {
|
|
|
1713
1713
|
return t.setMonth((a - 1) * 3, 1), t.setHours(0, 0, 0, 0), t;
|
|
1714
1714
|
}
|
|
1715
1715
|
}
|
|
1716
|
-
class Cr extends
|
|
1716
|
+
class Cr extends R {
|
|
1717
1717
|
constructor() {
|
|
1718
1718
|
super(...arguments);
|
|
1719
1719
|
h(this, "priority", 120);
|
|
@@ -1738,7 +1738,7 @@ class Cr extends O {
|
|
|
1738
1738
|
switch (r) {
|
|
1739
1739
|
case "q":
|
|
1740
1740
|
case "qq":
|
|
1741
|
-
return
|
|
1741
|
+
return N(r.length, t);
|
|
1742
1742
|
case "qo":
|
|
1743
1743
|
return a.ordinalNumber(t, { unit: "quarter" });
|
|
1744
1744
|
case "qqq":
|
|
@@ -1775,7 +1775,7 @@ class Cr extends O {
|
|
|
1775
1775
|
return t.setMonth((a - 1) * 3, 1), t.setHours(0, 0, 0, 0), t;
|
|
1776
1776
|
}
|
|
1777
1777
|
}
|
|
1778
|
-
class jr extends
|
|
1778
|
+
class jr extends R {
|
|
1779
1779
|
constructor() {
|
|
1780
1780
|
super(...arguments);
|
|
1781
1781
|
h(this, "incompatibleTokens", [
|
|
@@ -1799,14 +1799,14 @@ class jr extends O {
|
|
|
1799
1799
|
const s = (o) => o - 1;
|
|
1800
1800
|
switch (r) {
|
|
1801
1801
|
case "M":
|
|
1802
|
-
return
|
|
1803
|
-
|
|
1802
|
+
return z(
|
|
1803
|
+
j(F.month, t),
|
|
1804
1804
|
s
|
|
1805
1805
|
);
|
|
1806
1806
|
case "MM":
|
|
1807
|
-
return
|
|
1807
|
+
return z(N(2, t), s);
|
|
1808
1808
|
case "Mo":
|
|
1809
|
-
return
|
|
1809
|
+
return z(
|
|
1810
1810
|
a.ordinalNumber(t, {
|
|
1811
1811
|
unit: "month"
|
|
1812
1812
|
}),
|
|
@@ -1837,7 +1837,7 @@ class jr extends O {
|
|
|
1837
1837
|
return t.setMonth(a, 1), t.setHours(0, 0, 0, 0), t;
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
1840
|
-
class Nr extends
|
|
1840
|
+
class Nr extends R {
|
|
1841
1841
|
constructor() {
|
|
1842
1842
|
super(...arguments);
|
|
1843
1843
|
h(this, "priority", 110);
|
|
@@ -1861,14 +1861,14 @@ class Nr extends O {
|
|
|
1861
1861
|
const s = (o) => o - 1;
|
|
1862
1862
|
switch (r) {
|
|
1863
1863
|
case "L":
|
|
1864
|
-
return
|
|
1865
|
-
|
|
1864
|
+
return z(
|
|
1865
|
+
j(F.month, t),
|
|
1866
1866
|
s
|
|
1867
1867
|
);
|
|
1868
1868
|
case "LL":
|
|
1869
|
-
return
|
|
1869
|
+
return z(N(2, t), s);
|
|
1870
1870
|
case "Lo":
|
|
1871
|
-
return
|
|
1871
|
+
return z(
|
|
1872
1872
|
a.ordinalNumber(t, {
|
|
1873
1873
|
unit: "month"
|
|
1874
1874
|
}),
|
|
@@ -1900,10 +1900,10 @@ class Nr extends O {
|
|
|
1900
1900
|
}
|
|
1901
1901
|
}
|
|
1902
1902
|
function Lr(e, n, t) {
|
|
1903
|
-
const r = W(e, t == null ? void 0 : t.in), a =
|
|
1903
|
+
const r = W(e, t == null ? void 0 : t.in), a = Jt(r, t) - n;
|
|
1904
1904
|
return r.setDate(r.getDate() - a * 7), W(r, t == null ? void 0 : t.in);
|
|
1905
1905
|
}
|
|
1906
|
-
class Fr extends
|
|
1906
|
+
class Fr extends R {
|
|
1907
1907
|
constructor() {
|
|
1908
1908
|
super(...arguments);
|
|
1909
1909
|
h(this, "priority", 100);
|
|
@@ -1926,25 +1926,25 @@ class Fr extends O {
|
|
|
1926
1926
|
parse(t, r, a) {
|
|
1927
1927
|
switch (r) {
|
|
1928
1928
|
case "w":
|
|
1929
|
-
return
|
|
1929
|
+
return j(F.week, t);
|
|
1930
1930
|
case "wo":
|
|
1931
1931
|
return a.ordinalNumber(t, { unit: "week" });
|
|
1932
1932
|
default:
|
|
1933
|
-
return
|
|
1933
|
+
return N(r.length, t);
|
|
1934
1934
|
}
|
|
1935
1935
|
}
|
|
1936
1936
|
validate(t, r) {
|
|
1937
1937
|
return r >= 1 && r <= 53;
|
|
1938
1938
|
}
|
|
1939
1939
|
set(t, r, a, s) {
|
|
1940
|
-
return
|
|
1940
|
+
return me(Lr(t, a, s), s);
|
|
1941
1941
|
}
|
|
1942
1942
|
}
|
|
1943
1943
|
function zr(e, n, t) {
|
|
1944
|
-
const r = W(e, t == null ? void 0 : t.in), a =
|
|
1944
|
+
const r = W(e, t == null ? void 0 : t.in), a = Zt(r, t) - n;
|
|
1945
1945
|
return r.setDate(r.getDate() - a * 7), r;
|
|
1946
1946
|
}
|
|
1947
|
-
class Gr extends
|
|
1947
|
+
class Gr extends R {
|
|
1948
1948
|
constructor() {
|
|
1949
1949
|
super(...arguments);
|
|
1950
1950
|
h(this, "priority", 100);
|
|
@@ -1968,11 +1968,11 @@ class Gr extends O {
|
|
|
1968
1968
|
parse(t, r, a) {
|
|
1969
1969
|
switch (r) {
|
|
1970
1970
|
case "I":
|
|
1971
|
-
return
|
|
1971
|
+
return j(F.week, t);
|
|
1972
1972
|
case "Io":
|
|
1973
1973
|
return a.ordinalNumber(t, { unit: "week" });
|
|
1974
1974
|
default:
|
|
1975
|
-
return
|
|
1975
|
+
return N(r.length, t);
|
|
1976
1976
|
}
|
|
1977
1977
|
}
|
|
1978
1978
|
validate(t, r) {
|
|
@@ -1996,7 +1996,7 @@ const Wr = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Yr = [
|
|
|
1996
1996
|
30,
|
|
1997
1997
|
31
|
|
1998
1998
|
];
|
|
1999
|
-
class qr extends
|
|
1999
|
+
class qr extends R {
|
|
2000
2000
|
constructor() {
|
|
2001
2001
|
super(...arguments);
|
|
2002
2002
|
h(this, "priority", 90);
|
|
@@ -2019,22 +2019,22 @@ class qr extends O {
|
|
|
2019
2019
|
parse(t, r, a) {
|
|
2020
2020
|
switch (r) {
|
|
2021
2021
|
case "d":
|
|
2022
|
-
return
|
|
2022
|
+
return j(F.date, t);
|
|
2023
2023
|
case "do":
|
|
2024
2024
|
return a.ordinalNumber(t, { unit: "date" });
|
|
2025
2025
|
default:
|
|
2026
|
-
return
|
|
2026
|
+
return N(r.length, t);
|
|
2027
2027
|
}
|
|
2028
2028
|
}
|
|
2029
2029
|
validate(t, r) {
|
|
2030
|
-
const a = t.getFullYear(), s =
|
|
2030
|
+
const a = t.getFullYear(), s = on(a), o = t.getMonth();
|
|
2031
2031
|
return s ? r >= 1 && r <= Yr[o] : r >= 1 && r <= Wr[o];
|
|
2032
2032
|
}
|
|
2033
2033
|
set(t, r, a) {
|
|
2034
2034
|
return t.setDate(a), t.setHours(0, 0, 0, 0), t;
|
|
2035
2035
|
}
|
|
2036
2036
|
}
|
|
2037
|
-
class Er extends
|
|
2037
|
+
class Er extends R {
|
|
2038
2038
|
constructor() {
|
|
2039
2039
|
super(...arguments);
|
|
2040
2040
|
h(this, "priority", 90);
|
|
@@ -2061,27 +2061,27 @@ class Er extends O {
|
|
|
2061
2061
|
switch (r) {
|
|
2062
2062
|
case "D":
|
|
2063
2063
|
case "DD":
|
|
2064
|
-
return
|
|
2064
|
+
return j(F.dayOfYear, t);
|
|
2065
2065
|
case "Do":
|
|
2066
2066
|
return a.ordinalNumber(t, { unit: "date" });
|
|
2067
2067
|
default:
|
|
2068
|
-
return
|
|
2068
|
+
return N(r.length, t);
|
|
2069
2069
|
}
|
|
2070
2070
|
}
|
|
2071
2071
|
validate(t, r) {
|
|
2072
2072
|
const a = t.getFullYear();
|
|
2073
|
-
return
|
|
2073
|
+
return on(a) ? r >= 1 && r <= 366 : r >= 1 && r <= 365;
|
|
2074
2074
|
}
|
|
2075
2075
|
set(t, r, a) {
|
|
2076
2076
|
return t.setMonth(0, a), t.setHours(0, 0, 0, 0), t;
|
|
2077
2077
|
}
|
|
2078
2078
|
}
|
|
2079
|
-
function
|
|
2080
|
-
var D, _, p,
|
|
2081
|
-
const r =
|
|
2082
|
-
return
|
|
2079
|
+
function lt(e, n, t) {
|
|
2080
|
+
var D, _, p, O;
|
|
2081
|
+
const r = Re(), 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 ?? ((O = (p = r.locale) == null ? void 0 : p.options) == null ? void 0 : O.weekStartsOn) ?? 0, s = W(e, t == null ? void 0 : t.in), o = s.getDay(), g = (n % 7 + 7) % 7, f = 7 - a, b = n < 0 || n > 6 ? n - (o + f) % 7 : (g + f) % 7 - (o + f) % 7;
|
|
2082
|
+
return At(s, b, t);
|
|
2083
2083
|
}
|
|
2084
|
-
class
|
|
2084
|
+
class Hr extends R {
|
|
2085
2085
|
constructor() {
|
|
2086
2086
|
super(...arguments);
|
|
2087
2087
|
h(this, "priority", 90);
|
|
@@ -2115,10 +2115,10 @@ 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 = lt(t, a, s), t.setHours(0, 0, 0, 0), t;
|
|
2119
2119
|
}
|
|
2120
2120
|
}
|
|
2121
|
-
class
|
|
2121
|
+
class Br extends R {
|
|
2122
2122
|
constructor() {
|
|
2123
2123
|
super(...arguments);
|
|
2124
2124
|
h(this, "priority", 90);
|
|
@@ -2148,9 +2148,9 @@ class Hr extends O {
|
|
|
2148
2148
|
switch (r) {
|
|
2149
2149
|
case "e":
|
|
2150
2150
|
case "ee":
|
|
2151
|
-
return
|
|
2151
|
+
return z(N(r.length, t), o);
|
|
2152
2152
|
case "eo":
|
|
2153
|
-
return
|
|
2153
|
+
return z(
|
|
2154
2154
|
a.ordinalNumber(t, {
|
|
2155
2155
|
unit: "day"
|
|
2156
2156
|
}),
|
|
@@ -2180,10 +2180,10 @@ 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 = lt(t, a, s), t.setHours(0, 0, 0, 0), t;
|
|
2184
2184
|
}
|
|
2185
2185
|
}
|
|
2186
|
-
class Ur extends
|
|
2186
|
+
class Ur extends R {
|
|
2187
2187
|
constructor() {
|
|
2188
2188
|
super(...arguments);
|
|
2189
2189
|
h(this, "priority", 90);
|
|
@@ -2213,9 +2213,9 @@ class Ur extends O {
|
|
|
2213
2213
|
switch (r) {
|
|
2214
2214
|
case "c":
|
|
2215
2215
|
case "cc":
|
|
2216
|
-
return
|
|
2216
|
+
return z(N(r.length, t), o);
|
|
2217
2217
|
case "co":
|
|
2218
|
-
return
|
|
2218
|
+
return z(
|
|
2219
2219
|
a.ordinalNumber(t, {
|
|
2220
2220
|
unit: "day"
|
|
2221
2221
|
}),
|
|
@@ -2245,14 +2245,14 @@ 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 = lt(t, a, s), t.setHours(0, 0, 0, 0), t;
|
|
2249
2249
|
}
|
|
2250
2250
|
}
|
|
2251
2251
|
function $r(e, n, t) {
|
|
2252
2252
|
const r = W(e, t == null ? void 0 : t.in), a = Tr(r, t), s = n - a;
|
|
2253
|
-
return
|
|
2253
|
+
return At(r, s, t);
|
|
2254
2254
|
}
|
|
2255
|
-
class Vr extends
|
|
2255
|
+
class Vr extends R {
|
|
2256
2256
|
constructor() {
|
|
2257
2257
|
super(...arguments);
|
|
2258
2258
|
h(this, "priority", 90);
|
|
@@ -2279,11 +2279,11 @@ class Vr extends O {
|
|
|
2279
2279
|
switch (r) {
|
|
2280
2280
|
case "i":
|
|
2281
2281
|
case "ii":
|
|
2282
|
-
return
|
|
2282
|
+
return N(r.length, t);
|
|
2283
2283
|
case "io":
|
|
2284
2284
|
return a.ordinalNumber(t, { unit: "day" });
|
|
2285
2285
|
case "iii":
|
|
2286
|
-
return
|
|
2286
|
+
return z(
|
|
2287
2287
|
a.day(t, {
|
|
2288
2288
|
width: "abbreviated",
|
|
2289
2289
|
context: "formatting"
|
|
@@ -2297,7 +2297,7 @@ class Vr extends O {
|
|
|
2297
2297
|
s
|
|
2298
2298
|
);
|
|
2299
2299
|
case "iiiii":
|
|
2300
|
-
return
|
|
2300
|
+
return z(
|
|
2301
2301
|
a.day(t, {
|
|
2302
2302
|
width: "narrow",
|
|
2303
2303
|
context: "formatting"
|
|
@@ -2305,7 +2305,7 @@ class Vr extends O {
|
|
|
2305
2305
|
s
|
|
2306
2306
|
);
|
|
2307
2307
|
case "iiiiii":
|
|
2308
|
-
return
|
|
2308
|
+
return z(
|
|
2309
2309
|
a.day(t, {
|
|
2310
2310
|
width: "short",
|
|
2311
2311
|
context: "formatting"
|
|
@@ -2317,7 +2317,7 @@ class Vr extends O {
|
|
|
2317
2317
|
);
|
|
2318
2318
|
case "iiii":
|
|
2319
2319
|
default:
|
|
2320
|
-
return
|
|
2320
|
+
return z(
|
|
2321
2321
|
a.day(t, {
|
|
2322
2322
|
width: "wide",
|
|
2323
2323
|
context: "formatting"
|
|
@@ -2342,7 +2342,7 @@ class Vr extends O {
|
|
|
2342
2342
|
return t = $r(t, a), t.setHours(0, 0, 0, 0), t;
|
|
2343
2343
|
}
|
|
2344
2344
|
}
|
|
2345
|
-
class Ar extends
|
|
2345
|
+
class Ar extends R {
|
|
2346
2346
|
constructor() {
|
|
2347
2347
|
super(...arguments);
|
|
2348
2348
|
h(this, "priority", 80);
|
|
@@ -2380,10 +2380,10 @@ class Ar extends O {
|
|
|
2380
2380
|
}
|
|
2381
2381
|
}
|
|
2382
2382
|
set(t, r, a) {
|
|
2383
|
-
return t.setHours(
|
|
2383
|
+
return t.setHours(ut(a), 0, 0, 0), t;
|
|
2384
2384
|
}
|
|
2385
2385
|
}
|
|
2386
|
-
class Qr extends
|
|
2386
|
+
class Qr extends R {
|
|
2387
2387
|
constructor() {
|
|
2388
2388
|
super(...arguments);
|
|
2389
2389
|
h(this, "priority", 80);
|
|
@@ -2421,10 +2421,10 @@ class Qr extends O {
|
|
|
2421
2421
|
}
|
|
2422
2422
|
}
|
|
2423
2423
|
set(t, r, a) {
|
|
2424
|
-
return t.setHours(
|
|
2424
|
+
return t.setHours(ut(a), 0, 0, 0), t;
|
|
2425
2425
|
}
|
|
2426
2426
|
}
|
|
2427
|
-
class Xr extends
|
|
2427
|
+
class Xr extends R {
|
|
2428
2428
|
constructor() {
|
|
2429
2429
|
super(...arguments);
|
|
2430
2430
|
h(this, "priority", 80);
|
|
@@ -2462,10 +2462,10 @@ class Xr extends O {
|
|
|
2462
2462
|
}
|
|
2463
2463
|
}
|
|
2464
2464
|
set(t, r, a) {
|
|
2465
|
-
return t.setHours(
|
|
2465
|
+
return t.setHours(ut(a), 0, 0, 0), t;
|
|
2466
2466
|
}
|
|
2467
2467
|
}
|
|
2468
|
-
class Zr extends
|
|
2468
|
+
class Zr extends R {
|
|
2469
2469
|
constructor() {
|
|
2470
2470
|
super(...arguments);
|
|
2471
2471
|
h(this, "priority", 70);
|
|
@@ -2474,11 +2474,11 @@ class Zr extends O {
|
|
|
2474
2474
|
parse(t, r, a) {
|
|
2475
2475
|
switch (r) {
|
|
2476
2476
|
case "h":
|
|
2477
|
-
return
|
|
2477
|
+
return j(F.hour12h, t);
|
|
2478
2478
|
case "ho":
|
|
2479
2479
|
return a.ordinalNumber(t, { unit: "hour" });
|
|
2480
2480
|
default:
|
|
2481
|
-
return
|
|
2481
|
+
return N(r.length, t);
|
|
2482
2482
|
}
|
|
2483
2483
|
}
|
|
2484
2484
|
validate(t, r) {
|
|
@@ -2489,7 +2489,7 @@ class Zr extends O {
|
|
|
2489
2489
|
return s && a < 12 ? t.setHours(a + 12, 0, 0, 0) : !s && a === 12 ? t.setHours(0, 0, 0, 0) : t.setHours(a, 0, 0, 0), t;
|
|
2490
2490
|
}
|
|
2491
2491
|
}
|
|
2492
|
-
class Jr extends
|
|
2492
|
+
class Jr extends R {
|
|
2493
2493
|
constructor() {
|
|
2494
2494
|
super(...arguments);
|
|
2495
2495
|
h(this, "priority", 70);
|
|
@@ -2498,11 +2498,11 @@ class Jr extends O {
|
|
|
2498
2498
|
parse(t, r, a) {
|
|
2499
2499
|
switch (r) {
|
|
2500
2500
|
case "H":
|
|
2501
|
-
return
|
|
2501
|
+
return j(F.hour23h, t);
|
|
2502
2502
|
case "Ho":
|
|
2503
2503
|
return a.ordinalNumber(t, { unit: "hour" });
|
|
2504
2504
|
default:
|
|
2505
|
-
return
|
|
2505
|
+
return N(r.length, t);
|
|
2506
2506
|
}
|
|
2507
2507
|
}
|
|
2508
2508
|
validate(t, r) {
|
|
@@ -2512,7 +2512,7 @@ class Jr extends O {
|
|
|
2512
2512
|
return t.setHours(a, 0, 0, 0), t;
|
|
2513
2513
|
}
|
|
2514
2514
|
}
|
|
2515
|
-
class Kr extends
|
|
2515
|
+
class Kr extends R {
|
|
2516
2516
|
constructor() {
|
|
2517
2517
|
super(...arguments);
|
|
2518
2518
|
h(this, "priority", 70);
|
|
@@ -2521,11 +2521,11 @@ class Kr extends O {
|
|
|
2521
2521
|
parse(t, r, a) {
|
|
2522
2522
|
switch (r) {
|
|
2523
2523
|
case "K":
|
|
2524
|
-
return
|
|
2524
|
+
return j(F.hour11h, t);
|
|
2525
2525
|
case "Ko":
|
|
2526
2526
|
return a.ordinalNumber(t, { unit: "hour" });
|
|
2527
2527
|
default:
|
|
2528
|
-
return
|
|
2528
|
+
return N(r.length, t);
|
|
2529
2529
|
}
|
|
2530
2530
|
}
|
|
2531
2531
|
validate(t, r) {
|
|
@@ -2535,7 +2535,7 @@ class Kr extends O {
|
|
|
2535
2535
|
return t.getHours() >= 12 && a < 12 ? t.setHours(a + 12, 0, 0, 0) : t.setHours(a, 0, 0, 0), t;
|
|
2536
2536
|
}
|
|
2537
2537
|
}
|
|
2538
|
-
class ea extends
|
|
2538
|
+
class ea extends R {
|
|
2539
2539
|
constructor() {
|
|
2540
2540
|
super(...arguments);
|
|
2541
2541
|
h(this, "priority", 70);
|
|
@@ -2544,11 +2544,11 @@ class ea extends O {
|
|
|
2544
2544
|
parse(t, r, a) {
|
|
2545
2545
|
switch (r) {
|
|
2546
2546
|
case "k":
|
|
2547
|
-
return
|
|
2547
|
+
return j(F.hour24h, t);
|
|
2548
2548
|
case "ko":
|
|
2549
2549
|
return a.ordinalNumber(t, { unit: "hour" });
|
|
2550
2550
|
default:
|
|
2551
|
-
return
|
|
2551
|
+
return N(r.length, t);
|
|
2552
2552
|
}
|
|
2553
2553
|
}
|
|
2554
2554
|
validate(t, r) {
|
|
@@ -2559,7 +2559,7 @@ class ea extends O {
|
|
|
2559
2559
|
return t.setHours(s, 0, 0, 0), t;
|
|
2560
2560
|
}
|
|
2561
2561
|
}
|
|
2562
|
-
class ta extends
|
|
2562
|
+
class ta extends R {
|
|
2563
2563
|
constructor() {
|
|
2564
2564
|
super(...arguments);
|
|
2565
2565
|
h(this, "priority", 60);
|
|
@@ -2568,11 +2568,11 @@ class ta extends O {
|
|
|
2568
2568
|
parse(t, r, a) {
|
|
2569
2569
|
switch (r) {
|
|
2570
2570
|
case "m":
|
|
2571
|
-
return
|
|
2571
|
+
return j(F.minute, t);
|
|
2572
2572
|
case "mo":
|
|
2573
2573
|
return a.ordinalNumber(t, { unit: "minute" });
|
|
2574
2574
|
default:
|
|
2575
|
-
return
|
|
2575
|
+
return N(r.length, t);
|
|
2576
2576
|
}
|
|
2577
2577
|
}
|
|
2578
2578
|
validate(t, r) {
|
|
@@ -2582,7 +2582,7 @@ class ta extends O {
|
|
|
2582
2582
|
return t.setMinutes(a, 0, 0), t;
|
|
2583
2583
|
}
|
|
2584
2584
|
}
|
|
2585
|
-
class na extends
|
|
2585
|
+
class na extends R {
|
|
2586
2586
|
constructor() {
|
|
2587
2587
|
super(...arguments);
|
|
2588
2588
|
h(this, "priority", 50);
|
|
@@ -2591,11 +2591,11 @@ class na extends O {
|
|
|
2591
2591
|
parse(t, r, a) {
|
|
2592
2592
|
switch (r) {
|
|
2593
2593
|
case "s":
|
|
2594
|
-
return
|
|
2594
|
+
return j(F.second, t);
|
|
2595
2595
|
case "so":
|
|
2596
2596
|
return a.ordinalNumber(t, { unit: "second" });
|
|
2597
2597
|
default:
|
|
2598
|
-
return
|
|
2598
|
+
return N(r.length, t);
|
|
2599
2599
|
}
|
|
2600
2600
|
}
|
|
2601
2601
|
validate(t, r) {
|
|
@@ -2605,7 +2605,7 @@ class na extends O {
|
|
|
2605
2605
|
return t.setSeconds(a, 0), t;
|
|
2606
2606
|
}
|
|
2607
2607
|
}
|
|
2608
|
-
class ra extends
|
|
2608
|
+
class ra extends R {
|
|
2609
2609
|
constructor() {
|
|
2610
2610
|
super(...arguments);
|
|
2611
2611
|
h(this, "priority", 30);
|
|
@@ -2613,13 +2613,13 @@ class ra extends O {
|
|
|
2613
2613
|
}
|
|
2614
2614
|
parse(t, r) {
|
|
2615
2615
|
const a = (s) => Math.trunc(s * Math.pow(10, -r.length + 3));
|
|
2616
|
-
return
|
|
2616
|
+
return z(N(r.length, t), a);
|
|
2617
2617
|
}
|
|
2618
2618
|
set(t, r, a) {
|
|
2619
2619
|
return t.setMilliseconds(a), t;
|
|
2620
2620
|
}
|
|
2621
2621
|
}
|
|
2622
|
-
class aa extends
|
|
2622
|
+
class aa extends R {
|
|
2623
2623
|
constructor() {
|
|
2624
2624
|
super(...arguments);
|
|
2625
2625
|
h(this, "priority", 10);
|
|
@@ -2652,11 +2652,11 @@ class aa extends O {
|
|
|
2652
2652
|
set(t, r, a) {
|
|
2653
2653
|
return r.timestampIsSet ? t : Y(
|
|
2654
2654
|
t,
|
|
2655
|
-
t.getTime() -
|
|
2655
|
+
t.getTime() - Ge(t) - a
|
|
2656
2656
|
);
|
|
2657
2657
|
}
|
|
2658
2658
|
}
|
|
2659
|
-
class sa extends
|
|
2659
|
+
class sa extends R {
|
|
2660
2660
|
constructor() {
|
|
2661
2661
|
super(...arguments);
|
|
2662
2662
|
h(this, "priority", 10);
|
|
@@ -2689,31 +2689,31 @@ class sa extends O {
|
|
|
2689
2689
|
set(t, r, a) {
|
|
2690
2690
|
return r.timestampIsSet ? t : Y(
|
|
2691
2691
|
t,
|
|
2692
|
-
t.getTime() -
|
|
2692
|
+
t.getTime() - Ge(t) - a
|
|
2693
2693
|
);
|
|
2694
2694
|
}
|
|
2695
2695
|
}
|
|
2696
|
-
class oa extends
|
|
2696
|
+
class oa extends R {
|
|
2697
2697
|
constructor() {
|
|
2698
2698
|
super(...arguments);
|
|
2699
2699
|
h(this, "priority", 40);
|
|
2700
2700
|
h(this, "incompatibleTokens", "*");
|
|
2701
2701
|
}
|
|
2702
2702
|
parse(t) {
|
|
2703
|
-
return
|
|
2703
|
+
return an(t);
|
|
2704
2704
|
}
|
|
2705
2705
|
set(t, r, a) {
|
|
2706
2706
|
return [Y(t, a * 1e3), { timestampIsSet: !0 }];
|
|
2707
2707
|
}
|
|
2708
2708
|
}
|
|
2709
|
-
class ia extends
|
|
2709
|
+
class ia extends R {
|
|
2710
2710
|
constructor() {
|
|
2711
2711
|
super(...arguments);
|
|
2712
2712
|
h(this, "priority", 20);
|
|
2713
2713
|
h(this, "incompatibleTokens", "*");
|
|
2714
2714
|
}
|
|
2715
2715
|
parse(t) {
|
|
2716
|
-
return
|
|
2716
|
+
return an(t);
|
|
2717
2717
|
}
|
|
2718
2718
|
set(t, r, a) {
|
|
2719
2719
|
return [Y(t, a), { timestampIsSet: !0 }];
|
|
@@ -2721,8 +2721,8 @@ class ia extends O {
|
|
|
2721
2721
|
}
|
|
2722
2722
|
const ua = {
|
|
2723
2723
|
G: new Rr(),
|
|
2724
|
-
y: new
|
|
2725
|
-
Y: new
|
|
2724
|
+
y: new Mr(),
|
|
2725
|
+
Y: new Or(),
|
|
2726
2726
|
R: new kr(),
|
|
2727
2727
|
u: new Sr(),
|
|
2728
2728
|
Q: new Ir(),
|
|
@@ -2733,8 +2733,8 @@ const ua = {
|
|
|
2733
2733
|
I: new Gr(),
|
|
2734
2734
|
d: new qr(),
|
|
2735
2735
|
D: new Er(),
|
|
2736
|
-
E: new
|
|
2737
|
-
e: new
|
|
2736
|
+
E: new Hr(),
|
|
2737
|
+
e: new Br(),
|
|
2738
2738
|
c: new Ur(),
|
|
2739
2739
|
i: new Vr(),
|
|
2740
2740
|
a: new Ar(),
|
|
@@ -2753,27 +2753,27 @@ 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
|
|
2757
|
-
const a = () => Y(t, NaN), s =
|
|
2756
|
+
var H, B, w, I;
|
|
2757
|
+
const a = () => Y(t, NaN), s = nn(), o = s.locale ?? Xt, d = s.firstWeekContainsDate ?? ((B = (H = s.locale) == null ? void 0 : H.options) == null ? void 0 : B.firstWeekContainsDate) ?? 1, g = s.weekStartsOn ?? ((I = (w = s.locale) == null ? void 0 : w.options) == null ? void 0 : I.weekStartsOn) ?? 0, f = {
|
|
2758
2758
|
firstWeekContainsDate: d,
|
|
2759
2759
|
weekStartsOn: g,
|
|
2760
2760
|
locale: o
|
|
2761
|
-
},
|
|
2761
|
+
}, b = [new xr(r == null ? void 0 : r.in, t)], D = n.match(ca).map((T) => {
|
|
2762
2762
|
const k = T[0];
|
|
2763
|
-
if (k in
|
|
2764
|
-
const q =
|
|
2763
|
+
if (k in at) {
|
|
2764
|
+
const q = at[k];
|
|
2765
2765
|
return q(T, o.formatLong);
|
|
2766
2766
|
}
|
|
2767
2767
|
return T;
|
|
2768
2768
|
}).join("").match(la), _ = [];
|
|
2769
2769
|
for (let T of D) {
|
|
2770
|
-
|
|
2770
|
+
tn(T) && st(T, n, e), en(T) && st(T, n, e);
|
|
2771
2771
|
const k = T[0], q = ua[k];
|
|
2772
2772
|
if (q) {
|
|
2773
2773
|
const { incompatibleTokens: ue } = q;
|
|
2774
2774
|
if (Array.isArray(ue)) {
|
|
2775
2775
|
const le = _.find(
|
|
2776
|
-
(
|
|
2776
|
+
(ce) => ue.includes(ce.token) || ce.token === k
|
|
2777
2777
|
);
|
|
2778
2778
|
if (le)
|
|
2779
2779
|
throw new RangeError(
|
|
@@ -2792,7 +2792,7 @@ function pa(e, n, t, r) {
|
|
|
2792
2792
|
);
|
|
2793
2793
|
if (!se)
|
|
2794
2794
|
return a();
|
|
2795
|
-
|
|
2795
|
+
b.push(se.setter), e = se.rest;
|
|
2796
2796
|
} else {
|
|
2797
2797
|
if (k.match(ga))
|
|
2798
2798
|
throw new RangeError(
|
|
@@ -2806,25 +2806,25 @@ function pa(e, n, t, r) {
|
|
|
2806
2806
|
}
|
|
2807
2807
|
if (e.length > 0 && fa.test(e))
|
|
2808
2808
|
return a();
|
|
2809
|
-
const p =
|
|
2810
|
-
(T) =>
|
|
2809
|
+
const p = b.map((T) => T.priority).sort((T, k) => k - T).filter((T, k, q) => q.indexOf(T) === k).map(
|
|
2810
|
+
(T) => b.filter((k) => k.priority === T).sort((k, q) => q.subPriority - k.subPriority)
|
|
2811
2811
|
).map((T) => T[0]);
|
|
2812
|
-
let
|
|
2813
|
-
if (isNaN(+
|
|
2814
|
-
const
|
|
2812
|
+
let O = W(t, r == null ? void 0 : r.in);
|
|
2813
|
+
if (isNaN(+O)) return a();
|
|
2814
|
+
const M = {};
|
|
2815
2815
|
for (const T of p) {
|
|
2816
|
-
if (!T.validate(
|
|
2816
|
+
if (!T.validate(O, f))
|
|
2817
2817
|
return a();
|
|
2818
|
-
const k = T.set(
|
|
2819
|
-
Array.isArray(k) ? (
|
|
2818
|
+
const k = T.set(O, M, f);
|
|
2819
|
+
Array.isArray(k) ? (O = k[0], Object.assign(M, k[1])) : O = k;
|
|
2820
2820
|
}
|
|
2821
|
-
return
|
|
2821
|
+
return O;
|
|
2822
2822
|
}
|
|
2823
2823
|
function ba(e) {
|
|
2824
2824
|
return e.match(da)[1].replace(ma, "'");
|
|
2825
2825
|
}
|
|
2826
|
-
function
|
|
2827
|
-
const r =
|
|
2826
|
+
function Pt(e, n, t) {
|
|
2827
|
+
const r = nn(), a = _a(e, t.timeZone, t.locale ?? r.locale);
|
|
2828
2828
|
return "formatToParts" in a ? ya(a, n) : ha(a, n);
|
|
2829
2829
|
}
|
|
2830
2830
|
function ya(e, n) {
|
|
@@ -2844,7 +2844,7 @@ function _a(e, n, t) {
|
|
|
2844
2844
|
});
|
|
2845
2845
|
}
|
|
2846
2846
|
function Ta(e, n) {
|
|
2847
|
-
const t =
|
|
2847
|
+
const t = xa(n);
|
|
2848
2848
|
return "formatToParts" in t ? wa(t, e) : Da(t, e);
|
|
2849
2849
|
}
|
|
2850
2850
|
const va = {
|
|
@@ -2880,7 +2880,7 @@ function Da(e, n) {
|
|
|
2880
2880
|
parseInt(r[6], 10)
|
|
2881
2881
|
];
|
|
2882
2882
|
}
|
|
2883
|
-
const
|
|
2883
|
+
const Xe = {}, xt = new Intl.DateTimeFormat("en-US", {
|
|
2884
2884
|
hourCycle: "h23",
|
|
2885
2885
|
timeZone: "America/New_York",
|
|
2886
2886
|
year: "numeric",
|
|
@@ -2889,9 +2889,9 @@ const Ae = {}, xt = new Intl.DateTimeFormat("en-US", {
|
|
|
2889
2889
|
hour: "2-digit",
|
|
2890
2890
|
minute: "2-digit",
|
|
2891
2891
|
second: "2-digit"
|
|
2892
|
-
}).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")),
|
|
2893
|
-
function
|
|
2894
|
-
return
|
|
2892
|
+
}).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), Pa = xt === "06/25/2014, 00:00:00" || xt === "06/25/2014 00:00:00";
|
|
2893
|
+
function xa(e) {
|
|
2894
|
+
return Xe[e] || (Xe[e] = Pa ? new Intl.DateTimeFormat("en-US", {
|
|
2895
2895
|
hourCycle: "h23",
|
|
2896
2896
|
timeZone: e,
|
|
2897
2897
|
year: "numeric",
|
|
@@ -2909,58 +2909,58 @@ function Pa(e) {
|
|
|
2909
2909
|
hour: "2-digit",
|
|
2910
2910
|
minute: "2-digit",
|
|
2911
2911
|
second: "2-digit"
|
|
2912
|
-
})),
|
|
2912
|
+
})), Xe[e];
|
|
2913
2913
|
}
|
|
2914
|
-
function
|
|
2914
|
+
function ct(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 Rt = 36e5, Ra = 6e4, Ze = {
|
|
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 He(e, n, t) {
|
|
2925
2925
|
if (!e)
|
|
2926
2926
|
return 0;
|
|
2927
|
-
let r =
|
|
2927
|
+
let r = Ze.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 = Ze.timezoneHH.exec(e), r)
|
|
2932
|
+
return a = parseInt(r[1], 10), Mt(a) ? -(a * Rt) : NaN;
|
|
2933
|
+
if (r = Ze.timezoneHHMM.exec(e), r) {
|
|
2934
2934
|
a = parseInt(r[2], 10);
|
|
2935
2935
|
const o = parseInt(r[3], 10);
|
|
2936
|
-
return
|
|
2936
|
+
return Mt(a, o) ? (s = Math.abs(a) * Rt + o * Ra, r[1] === "+" ? -s : s) : NaN;
|
|
2937
2937
|
}
|
|
2938
2938
|
if (ka(e)) {
|
|
2939
2939
|
n = new Date(n || Date.now());
|
|
2940
|
-
const o = t ? n :
|
|
2941
|
-
return -(t ? d :
|
|
2940
|
+
const o = t ? n : Ma(n), d = ot(o, e);
|
|
2941
|
+
return -(t ? d : Oa(n, d, e));
|
|
2942
2942
|
}
|
|
2943
2943
|
return NaN;
|
|
2944
2944
|
}
|
|
2945
|
-
function
|
|
2946
|
-
return
|
|
2945
|
+
function Ma(e) {
|
|
2946
|
+
return ct(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 ot(e, n) {
|
|
2949
|
+
const t = Ta(e, n), r = ct(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 Oa(e, n, t) {
|
|
2955
2955
|
let a = e.getTime() - n;
|
|
2956
|
-
const s =
|
|
2956
|
+
const s = ot(new Date(a), t);
|
|
2957
2957
|
if (n === s)
|
|
2958
2958
|
return n;
|
|
2959
2959
|
a -= s - n;
|
|
2960
|
-
const o =
|
|
2960
|
+
const o = ot(new Date(a), t);
|
|
2961
2961
|
return s === o ? s : Math.max(s, o);
|
|
2962
2962
|
}
|
|
2963
|
-
function
|
|
2963
|
+
function Mt(e, n) {
|
|
2964
2964
|
return -23 <= e && e <= 23 && (n == null || 0 <= n && n <= 59);
|
|
2965
2965
|
}
|
|
2966
2966
|
const Ot = {};
|
|
@@ -2976,39 +2976,39 @@ function ka(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 = Je(t.timeZone, e);
|
|
2980
2980
|
if (r === 0)
|
|
2981
2981
|
return "Z";
|
|
2982
2982
|
switch (n) {
|
|
2983
2983
|
case "X":
|
|
2984
|
-
return
|
|
2984
|
+
return kt(r);
|
|
2985
2985
|
case "XXXX":
|
|
2986
2986
|
case "XX":
|
|
2987
|
-
return
|
|
2987
|
+
return Pe(r);
|
|
2988
2988
|
case "XXXXX":
|
|
2989
2989
|
case "XXX":
|
|
2990
2990
|
default:
|
|
2991
|
-
return
|
|
2991
|
+
return Pe(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 = Je(t.timeZone, e);
|
|
2997
2997
|
switch (n) {
|
|
2998
2998
|
case "x":
|
|
2999
|
-
return
|
|
2999
|
+
return kt(r);
|
|
3000
3000
|
case "xxxx":
|
|
3001
3001
|
case "xx":
|
|
3002
|
-
return
|
|
3002
|
+
return Pe(r);
|
|
3003
3003
|
case "xxxxx":
|
|
3004
3004
|
case "xxx":
|
|
3005
3005
|
default:
|
|
3006
|
-
return
|
|
3006
|
+
return Pe(r, ":");
|
|
3007
3007
|
}
|
|
3008
3008
|
},
|
|
3009
3009
|
// Timezone (GMT)
|
|
3010
3010
|
O: function(e, n, t) {
|
|
3011
|
-
const r =
|
|
3011
|
+
const r = Je(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" + Pe(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 Pt("short", e, t);
|
|
3029
3029
|
case "zzzz":
|
|
3030
3030
|
default:
|
|
3031
|
-
return
|
|
3031
|
+
return Pt("long", e, t);
|
|
3032
3032
|
}
|
|
3033
3033
|
}
|
|
3034
3034
|
};
|
|
3035
|
-
function
|
|
3036
|
-
const t = e ?
|
|
3035
|
+
function Je(e, n) {
|
|
3036
|
+
const t = e ? He(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 Ye(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 Pe(e, n = "") {
|
|
3049
|
+
const t = e > 0 ? "-" : "+", r = Math.abs(e), a = Ye(Math.floor(r / 60), 2), s = Ye(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 kt(e, n) {
|
|
3053
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + Ye(Math.abs(e) / 60, 2) : Pe(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 + Ye(s, 2);
|
|
3058
3058
|
}
|
|
3059
|
-
function
|
|
3059
|
+
function St(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
|
|
3063
|
+
const un = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)?)$/, Ke = 36e5, It = 6e4, ja = 2, E = {
|
|
3064
3064
|
dateTimePattern: /^([0-9W+-]+)(T| )(.*)/,
|
|
3065
3065
|
datePattern: /^([0-9W+-]+)(.*)/,
|
|
3066
3066
|
plainTime: /:/,
|
|
@@ -3093,9 +3093,9 @@ const on = /(Z|[+-]\d{2}(?::?\d{2})?| UTC| [a-zA-Z]+\/[a-zA-Z_]+(?:\/[a-zA-Z_]+)
|
|
|
3093
3093
|
HHMM: /^(\d{2}):?(\d{2}([.,]\d*)?)$/,
|
|
3094
3094
|
HHMMSS: /^(\d{2}):?(\d{2}):?(\d{2}([.,]\d*)?)$/,
|
|
3095
3095
|
// time zone tokens (to identify the presence of a tz)
|
|
3096
|
-
timeZone:
|
|
3096
|
+
timeZone: un
|
|
3097
3097
|
};
|
|
3098
|
-
function
|
|
3098
|
+
function qe(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 Ye(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 = He(r.timeZone || n.timeZone, new Date(d + g)), isNaN(f))
|
|
3122
3122
|
return /* @__PURE__ */ new Date(NaN);
|
|
3123
3123
|
} else
|
|
3124
|
-
f =
|
|
3124
|
+
f = St(new Date(d + g)), f = St(new Date(d + g + f));
|
|
3125
3125
|
return new Date(d + g + f);
|
|
3126
3126
|
} else
|
|
3127
3127
|
return /* @__PURE__ */ new Date(NaN);
|
|
@@ -3166,7 +3166,7 @@ function Fa(e, n) {
|
|
|
3166
3166
|
return t = /* @__PURE__ */ new Date(0), t.setUTCFullYear(n), t;
|
|
3167
3167
|
let s = E.MM.exec(e);
|
|
3168
3168
|
if (s)
|
|
3169
|
-
return t = /* @__PURE__ */ new Date(0), r = parseInt(s[1], 10) - 1,
|
|
3169
|
+
return t = /* @__PURE__ */ new Date(0), r = parseInt(s[1], 10) - 1, jt(n, r) ? (t.setUTCFullYear(n, r), t) : /* @__PURE__ */ new Date(NaN);
|
|
3170
3170
|
if (s = E.DDD.exec(e), s) {
|
|
3171
3171
|
t = /* @__PURE__ */ new Date(0);
|
|
3172
3172
|
const o = parseInt(s[1], 10);
|
|
@@ -3175,31 +3175,31 @@ function Fa(e, n) {
|
|
|
3175
3175
|
if (s = E.MMDD.exec(e), s) {
|
|
3176
3176
|
t = /* @__PURE__ */ new Date(0), r = parseInt(s[1], 10) - 1;
|
|
3177
3177
|
const o = parseInt(s[2], 10);
|
|
3178
|
-
return
|
|
3178
|
+
return jt(n, r, o) ? (t.setUTCFullYear(n, r, o), t) : /* @__PURE__ */ new Date(NaN);
|
|
3179
3179
|
}
|
|
3180
3180
|
if (s = E.Www.exec(e), s)
|
|
3181
|
-
return a = parseInt(s[1], 10) - 1,
|
|
3181
|
+
return a = parseInt(s[1], 10) - 1, Nt(a) ? Ct(n, a) : /* @__PURE__ */ new Date(NaN);
|
|
3182
3182
|
if (s = E.WwwD.exec(e), s) {
|
|
3183
3183
|
a = parseInt(s[1], 10) - 1;
|
|
3184
3184
|
const o = parseInt(s[2], 10) - 1;
|
|
3185
|
-
return
|
|
3185
|
+
return Nt(a, o) ? Ct(n, a, o) : /* @__PURE__ */ new Date(NaN);
|
|
3186
3186
|
}
|
|
3187
3187
|
return null;
|
|
3188
3188
|
}
|
|
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(",", ".")), et(n) ? n % 24 * Ke : 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(",", ".")), et(n, t) ? n % 24 * Ke + t * It : 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 et(n, t, a) ? n % 24 * Ke + t * It + a * 1e3 : NaN;
|
|
3199
3199
|
}
|
|
3200
3200
|
return null;
|
|
3201
3201
|
}
|
|
3202
|
-
function
|
|
3202
|
+
function Ct(e, n, t) {
|
|
3203
3203
|
n = n || 0, t = t || 0;
|
|
3204
3204
|
const r = /* @__PURE__ */ new Date(0);
|
|
3205
3205
|
r.setUTCFullYear(e, 0, 4);
|
|
@@ -3207,16 +3207,16 @@ function It(e, n, t) {
|
|
|
3207
3207
|
return r.setUTCDate(r.getUTCDate() + s), r;
|
|
3208
3208
|
}
|
|
3209
3209
|
const Ga = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Wa = [31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
|
|
3210
|
-
function
|
|
3210
|
+
function ln(e) {
|
|
3211
3211
|
return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
|
|
3212
3212
|
}
|
|
3213
|
-
function
|
|
3213
|
+
function jt(e, n, t) {
|
|
3214
3214
|
if (n < 0 || n > 11)
|
|
3215
3215
|
return !1;
|
|
3216
3216
|
if (t != null) {
|
|
3217
3217
|
if (t < 1)
|
|
3218
3218
|
return !1;
|
|
3219
|
-
const r =
|
|
3219
|
+
const r = ln(e);
|
|
3220
3220
|
if (r && t > Wa[n] || !r && t > Ga[n])
|
|
3221
3221
|
return !1;
|
|
3222
3222
|
}
|
|
@@ -3225,13 +3225,13 @@ function Ct(e, n, t) {
|
|
|
3225
3225
|
function Ya(e, n) {
|
|
3226
3226
|
if (n < 1)
|
|
3227
3227
|
return !1;
|
|
3228
|
-
const t =
|
|
3228
|
+
const t = ln(e);
|
|
3229
3229
|
return !(t && n > 366 || !t && n > 365);
|
|
3230
3230
|
}
|
|
3231
|
-
function
|
|
3231
|
+
function Nt(e, n) {
|
|
3232
3232
|
return !(e < 0 || e > 52 || n != null && (n < 0 || n > 6));
|
|
3233
3233
|
}
|
|
3234
|
-
function
|
|
3234
|
+
function et(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 = qe(t.originalDate || e, t);
|
|
3243
3243
|
n = r.reduce(function(s, o) {
|
|
3244
3244
|
if (o[0] === "'")
|
|
3245
3245
|
return s;
|
|
@@ -3249,16 +3249,16 @@ function Ea(e, n, t = {}) {
|
|
|
3249
3249
|
}
|
|
3250
3250
|
return hr(e, n, t);
|
|
3251
3251
|
}
|
|
3252
|
-
function
|
|
3253
|
-
e =
|
|
3254
|
-
const r =
|
|
3252
|
+
function Ha(e, n, t) {
|
|
3253
|
+
e = qe(e, t);
|
|
3254
|
+
const r = He(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
|
-
function
|
|
3258
|
-
if (typeof e == "string" && !e.match(
|
|
3259
|
-
return
|
|
3260
|
-
e =
|
|
3261
|
-
const r =
|
|
3257
|
+
function Ba(e, n, t) {
|
|
3258
|
+
if (typeof e == "string" && !e.match(un))
|
|
3259
|
+
return qe(e, { ...t, timeZone: n });
|
|
3260
|
+
e = qe(e, t);
|
|
3261
|
+
const r = ct(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds()).getTime(), a = He(n, new Date(r));
|
|
3262
3262
|
return new Date(r + a);
|
|
3263
3263
|
}
|
|
3264
3264
|
const Ua = (e) => new TextEncoder().encode(e), $a = (e) => {
|
|
@@ -3346,29 +3346,29 @@ const Ua = (e) => new TextEncoder().encode(e), $a = (e) => {
|
|
|
3346
3346
|
remainingTimeTo20th: a,
|
|
3347
3347
|
progressPercentageTo20th: g
|
|
3348
3348
|
};
|
|
3349
|
-
},
|
|
3349
|
+
}, cn = (e) => {
|
|
3350
3350
|
try {
|
|
3351
|
-
const { timezone: n } =
|
|
3351
|
+
const { timezone: n } = $t(), t = `Etc/GMT${n > 0 ? `-${n}` : `+${Math.abs(n)}`}`, r = pa(e, "yyyy-MM-dd HH:mm:ss", /* @__PURE__ */ new Date());
|
|
3352
3352
|
if (isNaN(r.getTime()))
|
|
3353
3353
|
throw new Error("Invalid date format");
|
|
3354
|
-
const a =
|
|
3354
|
+
const a = Ba(r, t), s = Intl.DateTimeFormat().resolvedOptions().timeZone, o = Ha(a, s);
|
|
3355
3355
|
return Ea(o, "yyyy-MM-dd HH:mm:ss", { timeZone: s });
|
|
3356
3356
|
} catch (n) {
|
|
3357
3357
|
throw console.error("Error converting to user timezone:", n), n;
|
|
3358
3358
|
}
|
|
3359
|
-
},
|
|
3359
|
+
}, dn = (e) => {
|
|
3360
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
|
-
}, Ka = () => Date.now(), es = (e) => new Date(e).getTime(),
|
|
3362
|
+
}, Ka = () => Date.now(), es = (e) => new Date(e).getTime(), Lt = (e, n = 0) => {
|
|
3363
3363
|
const t = Ka(), r = es(
|
|
3364
|
-
cn(
|
|
3364
|
+
dn(cn(e))
|
|
3365
3365
|
);
|
|
3366
3366
|
if (t > r) {
|
|
3367
3367
|
const a = r + n * 60 * 1e3;
|
|
3368
3368
|
return !(t <= a);
|
|
3369
3369
|
}
|
|
3370
3370
|
return !1;
|
|
3371
|
-
},
|
|
3371
|
+
}, ze = (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);
|
|
@@ -3390,27 +3390,36 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3390
3390
|
depositMethod: !1,
|
|
3391
3391
|
depositor: !1,
|
|
3392
3392
|
uploadReceipt: !1
|
|
3393
|
-
},
|
|
3393
|
+
}, dt = {
|
|
3394
3394
|
id: 0,
|
|
3395
3395
|
name: "",
|
|
3396
3396
|
type: ie.unknown,
|
|
3397
3397
|
promo: [],
|
|
3398
3398
|
bank: [],
|
|
3399
|
-
requiredField: Be
|
|
3399
|
+
requiredField: Be,
|
|
3400
|
+
pathName: "",
|
|
3401
|
+
hintMsg: ""
|
|
3400
3402
|
}, rs = (e) => {
|
|
3401
3403
|
var n;
|
|
3402
3404
|
return ((n = e.mdPaymentChannels) == null ? void 0 : n.map((t) => {
|
|
3403
3405
|
const r = [];
|
|
3404
3406
|
switch (t.name) {
|
|
3405
3407
|
case ie.default:
|
|
3406
|
-
r.push(
|
|
3408
|
+
r.push(Ft(t.name, t.paymentmethod.manual, e));
|
|
3407
3409
|
break;
|
|
3408
3410
|
case ie.pay:
|
|
3409
|
-
r.push(
|
|
3411
|
+
r.push(
|
|
3412
|
+
as(t.name, t.paymentmethod.onlinebanking, e)
|
|
3413
|
+
);
|
|
3410
3414
|
break;
|
|
3411
3415
|
default:
|
|
3412
3416
|
if (t.paymentmethod.auto.bank.length > 0 && r.push(
|
|
3413
|
-
ss(
|
|
3417
|
+
ss(
|
|
3418
|
+
t.name,
|
|
3419
|
+
t.bankid ?? 0,
|
|
3420
|
+
t.paymentmethod.auto,
|
|
3421
|
+
e
|
|
3422
|
+
)
|
|
3414
3423
|
), t.paymentmethod.manual.bank.length > 0) {
|
|
3415
3424
|
let a = !1;
|
|
3416
3425
|
for (let s = 0; s < t.paymentmethod.manual.bank.length; s++) {
|
|
@@ -3420,19 +3429,26 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3420
3429
|
break;
|
|
3421
3430
|
}
|
|
3422
3431
|
}
|
|
3423
|
-
a && r.push(
|
|
3432
|
+
a && r.push(
|
|
3433
|
+
Ft(t.name, t.paymentmethod.manual, e)
|
|
3434
|
+
);
|
|
3424
3435
|
}
|
|
3425
3436
|
t.paymentmethod.fixamount.bank.length > 0 && r.push(
|
|
3426
|
-
os(
|
|
3437
|
+
os(
|
|
3438
|
+
t.name,
|
|
3439
|
+
t.bankid ?? 0,
|
|
3440
|
+
t.paymentmethod.fixamount
|
|
3441
|
+
)
|
|
3427
3442
|
);
|
|
3428
3443
|
}
|
|
3429
3444
|
return {
|
|
3430
3445
|
name: t.label,
|
|
3431
3446
|
imageUrl: `/image/game/native/deposit/sidemenu/${t.name}.png?${e.systemtime}`,
|
|
3432
|
-
paymentList: r
|
|
3447
|
+
paymentList: r,
|
|
3448
|
+
hintMsg: ""
|
|
3433
3449
|
};
|
|
3434
3450
|
})) ?? [];
|
|
3435
|
-
},
|
|
3451
|
+
}, Ue = (e) => {
|
|
3436
3452
|
const n = {
|
|
3437
3453
|
id: -1,
|
|
3438
3454
|
name: "excludePromo",
|
|
@@ -3447,176 +3463,192 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3447
3463
|
dailyBonus: r.dtype === "5" && r.type === "D"
|
|
3448
3464
|
}));
|
|
3449
3465
|
return [n, ...t];
|
|
3450
|
-
},
|
|
3466
|
+
}, je = (e, n, t, r) => {
|
|
3451
3467
|
let a, s;
|
|
3452
3468
|
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
3469
|
const o = 100;
|
|
3454
3470
|
let d = 1e3;
|
|
3455
3471
|
s < d && (d = Math.round(s));
|
|
3456
3472
|
const g = d - o;
|
|
3457
|
-
let f = "",
|
|
3473
|
+
let f = "", b = "";
|
|
3458
3474
|
if (g > 0) {
|
|
3459
|
-
let
|
|
3460
|
-
for (const
|
|
3461
|
-
|
|
3462
|
-
for (let
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
for (const
|
|
3466
|
-
|
|
3467
|
-
for (let
|
|
3468
|
-
|
|
3475
|
+
let O = Math.round((d - o) * 0.25).toString().split(""), M = [];
|
|
3476
|
+
for (const w of O)
|
|
3477
|
+
w !== "" && M.push(w);
|
|
3478
|
+
for (let w = 0; w < M.length; w++)
|
|
3479
|
+
w === 0 ? f += (parseInt(M[w]) + 1).toString() : f += "0";
|
|
3480
|
+
O = Math.round((d - o) * 0.5).toString().split(""), M = [];
|
|
3481
|
+
for (const w of O)
|
|
3482
|
+
w !== "" && M.push(w);
|
|
3483
|
+
for (let w = 0; w < M.length; w++)
|
|
3484
|
+
w === 0 ? b += (parseInt(M[w]) + 1).toString() : b += "0";
|
|
3469
3485
|
} else
|
|
3470
|
-
f = d.toString(),
|
|
3486
|
+
f = d.toString(), b = d.toString();
|
|
3471
3487
|
return { amountList: [
|
|
3472
3488
|
o.toString(),
|
|
3473
3489
|
f,
|
|
3474
|
-
|
|
3490
|
+
b,
|
|
3475
3491
|
d.toString()
|
|
3476
3492
|
], minAmount: a, maxAmount: s };
|
|
3477
|
-
},
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
name: a.list && a.list.length > 0 ? a.list[0].label ?? "" : "",
|
|
3493
|
-
accountName: a.list && a.list.length > 0 ? a.list[0].bankaccountname ?? "" : "",
|
|
3494
|
-
accountNo: a.list && a.list.length > 0 ? a.list[0].bankaccountno ?? "" : "",
|
|
3495
|
-
qrcode: a.list && a.list.length > 0 ? a.list[0].bankaccountdesc : "",
|
|
3496
|
-
amountList: d,
|
|
3497
|
-
min: g,
|
|
3498
|
-
max: f
|
|
3499
|
-
};
|
|
3500
|
-
}),
|
|
3501
|
-
requiredField: {
|
|
3502
|
-
depositBank: n.mdManualDepositRequireField.deposit_bank,
|
|
3503
|
-
depositDateTime: n.mdManualDepositRequireField.deposit_datetime,
|
|
3504
|
-
depositDetail: n.mdManualDepositRequireField.deposit_detail,
|
|
3505
|
-
depositMethod: n.mdManualDepositRequireField.deposit_method,
|
|
3506
|
-
depositor: n.mdManualDepositRequireField.depositor,
|
|
3507
|
-
uploadReceipt: n.mdUploadReceipt
|
|
3508
|
-
}
|
|
3509
|
-
} : lt, as = (e, n) => n ? {
|
|
3510
|
-
id: 0,
|
|
3511
|
-
name: "onlineBankingMethod",
|
|
3512
|
-
type: ie.pay,
|
|
3513
|
-
promo: He(e.promo),
|
|
3514
|
-
bank: e.banklist.map((a) => {
|
|
3515
|
-
let s = "0.00", o = "0.00";
|
|
3516
|
-
const d = a.bankindex ?? 0;
|
|
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
|
-
Number(s),
|
|
3521
|
-
Number(o),
|
|
3522
|
-
n.mdBankLevelDetail.onlinepayment_min,
|
|
3523
|
-
n.mdBankLevelDetail.onlinepayment_max
|
|
3524
|
-
), D = {
|
|
3525
|
-
id: 0,
|
|
3526
|
-
name: "autoChannel",
|
|
3527
|
-
amountList: g,
|
|
3528
|
-
min: f,
|
|
3529
|
-
max: y
|
|
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
|
-
Number(N),
|
|
3533
|
-
Number(B),
|
|
3534
|
-
n.mdBankLevelDetail.onlinepayment_min,
|
|
3535
|
-
n.mdBankLevelDetail.onlinepayment_max
|
|
3493
|
+
}, Ft = (e, n, t) => {
|
|
3494
|
+
if (!t) return dt;
|
|
3495
|
+
const r = ie.manual;
|
|
3496
|
+
return {
|
|
3497
|
+
id: 0,
|
|
3498
|
+
name: "manualMethod",
|
|
3499
|
+
pathName: e,
|
|
3500
|
+
type: r,
|
|
3501
|
+
promo: Ue(n.promo),
|
|
3502
|
+
bank: n.bank.map((s) => {
|
|
3503
|
+
const o = s.list && s.list.length > 0 ? s.list[0].mintransaction ?? "0.00" : "0.00", d = s.list && s.list.length > 0 ? s.list[0].maxtransaction ?? "0.00" : "0.00", { amountList: g, minAmount: f, maxAmount: b } = je(
|
|
3504
|
+
Number(o),
|
|
3505
|
+
Number(d),
|
|
3506
|
+
t.mdBankLevelDetail.deposit_min,
|
|
3507
|
+
t.mdBankLevelDetail.deposit_max
|
|
3536
3508
|
);
|
|
3537
3509
|
return {
|
|
3538
|
-
id:
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3510
|
+
id: s.bankindex ?? 0,
|
|
3511
|
+
bankAccountId: s.list && s.list.length > 0 ? s.list[0].bankaccountindex ?? 0 : 0,
|
|
3512
|
+
name: s.list && s.list.length > 0 ? s.list[0].label ?? "" : "",
|
|
3513
|
+
accountName: s.list && s.list.length > 0 ? s.list[0].bankaccountname ?? "" : "",
|
|
3514
|
+
accountNo: s.list && s.list.length > 0 ? s.list[0].bankaccountno ?? "" : "",
|
|
3515
|
+
qrcode: s.list && s.list.length > 0 ? s.list[0].bankaccountdesc : "",
|
|
3516
|
+
amountList: g,
|
|
3517
|
+
min: f,
|
|
3518
|
+
max: b
|
|
3543
3519
|
};
|
|
3544
|
-
})
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
}
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
}
|
|
3556
|
-
if (!t) return
|
|
3557
|
-
const r = ie.
|
|
3558
|
-
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
|
|
3563
|
-
|
|
3564
|
-
|
|
3520
|
+
}),
|
|
3521
|
+
requiredField: {
|
|
3522
|
+
depositBank: t.mdManualDepositRequireField.deposit_bank,
|
|
3523
|
+
depositDateTime: t.mdManualDepositRequireField.deposit_datetime,
|
|
3524
|
+
depositDetail: t.mdManualDepositRequireField.deposit_detail,
|
|
3525
|
+
depositMethod: t.mdManualDepositRequireField.deposit_method,
|
|
3526
|
+
depositor: t.mdManualDepositRequireField.depositor,
|
|
3527
|
+
uploadReceipt: t.mdUploadReceipt
|
|
3528
|
+
},
|
|
3529
|
+
hintMsg: ""
|
|
3530
|
+
};
|
|
3531
|
+
}, as = (e, n, t) => {
|
|
3532
|
+
if (!t) return dt;
|
|
3533
|
+
const r = ie.pay;
|
|
3534
|
+
return {
|
|
3535
|
+
id: 0,
|
|
3536
|
+
name: "onlineBankingMethod",
|
|
3537
|
+
pathName: e,
|
|
3538
|
+
type: r,
|
|
3539
|
+
promo: Ue(n.promo),
|
|
3540
|
+
bank: n.banklist.map((s) => {
|
|
3541
|
+
let o = "0.00", d = "0.00";
|
|
3542
|
+
const g = s.bankindex ?? 0;
|
|
3543
|
+
for (let M = 0; M < t.mdGatewayMinMax.length; M++)
|
|
3544
|
+
t.mdGatewayMinMax[M].bankindex == g.toString() && (o = t.mdGatewayMinMax[M].min, d = t.mdGatewayMinMax[M].max);
|
|
3545
|
+
const { amountList: f, minAmount: b, maxAmount: D } = je(
|
|
3546
|
+
Number(o),
|
|
3547
|
+
Number(d),
|
|
3565
3548
|
t.mdBankLevelDetail.onlinepayment_min,
|
|
3566
3549
|
t.mdBankLevelDetail.onlinepayment_max
|
|
3550
|
+
), _ = {
|
|
3551
|
+
id: 0,
|
|
3552
|
+
name: "autoChannel",
|
|
3553
|
+
amountList: f,
|
|
3554
|
+
min: b,
|
|
3555
|
+
max: D
|
|
3556
|
+
}, p = s.pg.map((M) => {
|
|
3557
|
+
const H = M.mintransaction ?? "0.00", B = M.maxtransaction ?? "0.00", { amountList: w, minAmount: I, maxAmount: T } = je(
|
|
3558
|
+
Number(H),
|
|
3559
|
+
Number(B),
|
|
3560
|
+
t.mdBankLevelDetail.onlinepayment_min,
|
|
3561
|
+
t.mdBankLevelDetail.onlinepayment_max
|
|
3562
|
+
);
|
|
3563
|
+
return {
|
|
3564
|
+
id: M.pgindex,
|
|
3565
|
+
name: M.bankaccountname,
|
|
3566
|
+
amountList: w,
|
|
3567
|
+
min: I,
|
|
3568
|
+
max: T
|
|
3569
|
+
};
|
|
3570
|
+
});
|
|
3571
|
+
return {
|
|
3572
|
+
id: s.bankindex ?? 0,
|
|
3573
|
+
name: s.banknameenglish ?? "",
|
|
3574
|
+
amountList: [],
|
|
3575
|
+
min: 0,
|
|
3576
|
+
max: 0,
|
|
3577
|
+
gateway: [_, ...p]
|
|
3578
|
+
};
|
|
3579
|
+
}),
|
|
3580
|
+
requiredField: Be,
|
|
3581
|
+
hintMsg: ""
|
|
3582
|
+
};
|
|
3583
|
+
}, ss = (e, n, t, r) => {
|
|
3584
|
+
if (!r) return dt;
|
|
3585
|
+
const a = ie.auto;
|
|
3586
|
+
let s = [];
|
|
3587
|
+
const o = r.mdGatewayMinMax ?? [];
|
|
3588
|
+
if (t.bank.length > 0 && r.mdPGSelection === "1")
|
|
3589
|
+
s = t.bank.map((g) => {
|
|
3590
|
+
const { amountList: f, minAmount: b, maxAmount: D } = je(
|
|
3591
|
+
g.mintransaction ?? 0,
|
|
3592
|
+
g.maxtransaction ?? 0,
|
|
3593
|
+
r.mdBankLevelDetail.onlinepayment_min,
|
|
3594
|
+
r.mdBankLevelDetail.onlinepayment_max
|
|
3567
3595
|
);
|
|
3568
3596
|
return {
|
|
3569
|
-
id:
|
|
3570
|
-
name:
|
|
3571
|
-
amountList:
|
|
3572
|
-
min:
|
|
3573
|
-
max:
|
|
3597
|
+
id: g.pgindex ?? 0,
|
|
3598
|
+
name: g.bankaccountname || "",
|
|
3599
|
+
amountList: f,
|
|
3600
|
+
min: b,
|
|
3601
|
+
max: D
|
|
3574
3602
|
};
|
|
3575
3603
|
});
|
|
3576
3604
|
else {
|
|
3577
|
-
let
|
|
3578
|
-
for (let
|
|
3579
|
-
|
|
3580
|
-
const { amountList:
|
|
3581
|
-
Number(d),
|
|
3605
|
+
let g = "0.00", f = "0.00";
|
|
3606
|
+
for (let O = 0; O < o.length; O++)
|
|
3607
|
+
o[O].bankindex === n.toString() && (g = o[O].min, f = o[O].max);
|
|
3608
|
+
const { amountList: b, minAmount: D, maxAmount: _ } = je(
|
|
3582
3609
|
Number(g),
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3610
|
+
Number(f),
|
|
3611
|
+
r.mdBankLevelDetail.onlinepayment_min,
|
|
3612
|
+
r.mdBankLevelDetail.onlinepayment_max
|
|
3613
|
+
), p = {
|
|
3586
3614
|
id: 0,
|
|
3587
3615
|
name: "autoChannel",
|
|
3588
|
-
amountList:
|
|
3589
|
-
min:
|
|
3590
|
-
max:
|
|
3616
|
+
amountList: b,
|
|
3617
|
+
min: D,
|
|
3618
|
+
max: _
|
|
3591
3619
|
};
|
|
3592
|
-
|
|
3620
|
+
s.push(p);
|
|
3593
3621
|
}
|
|
3594
3622
|
return {
|
|
3595
|
-
id:
|
|
3623
|
+
id: n,
|
|
3596
3624
|
name: "autoMethod",
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3625
|
+
pathName: e,
|
|
3626
|
+
type: a,
|
|
3627
|
+
promo: Ue(t.promo),
|
|
3628
|
+
bank: s,
|
|
3629
|
+
requiredField: Be,
|
|
3630
|
+
hintMsg: ""
|
|
3601
3631
|
};
|
|
3602
|
-
}, os = (e, n) => {
|
|
3603
|
-
const
|
|
3632
|
+
}, os = (e, n, t) => {
|
|
3633
|
+
const r = ie.fix;
|
|
3604
3634
|
return {
|
|
3605
|
-
id:
|
|
3635
|
+
id: n,
|
|
3606
3636
|
name: "fixAmountMethod",
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3637
|
+
pathName: e,
|
|
3638
|
+
type: r,
|
|
3639
|
+
promo: Ue(t.promo),
|
|
3640
|
+
bank: t.bank.map((s) => {
|
|
3641
|
+
const o = s.amtlist.map(Number).sort((g, f) => g - f);
|
|
3611
3642
|
return {
|
|
3612
|
-
id:
|
|
3613
|
-
name:
|
|
3614
|
-
amountList:
|
|
3615
|
-
min:
|
|
3616
|
-
max:
|
|
3643
|
+
id: s.pgindex,
|
|
3644
|
+
name: s.name,
|
|
3645
|
+
amountList: s.amtlist,
|
|
3646
|
+
min: o.length > 0 ? o[0] : 0,
|
|
3647
|
+
max: o.length > 0 ? o[o.length - 1] : 0
|
|
3617
3648
|
};
|
|
3618
3649
|
}),
|
|
3619
|
-
requiredField: Be
|
|
3650
|
+
requiredField: Be,
|
|
3651
|
+
hintMsg: ""
|
|
3620
3652
|
};
|
|
3621
3653
|
}, is = (e) => (e == null ? void 0 : e.map((n) => ({
|
|
3622
3654
|
alert: n.announcement_alert === "1",
|
|
@@ -3632,15 +3664,15 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3632
3664
|
}), ls = (e) => {
|
|
3633
3665
|
var n, t, r, a, s, o, d, g, f;
|
|
3634
3666
|
return {
|
|
3635
|
-
platformGame: ((n = e.mdGameListResult) == null ? void 0 : n.map((
|
|
3667
|
+
platformGame: ((n = e.mdGameListResult) == null ? void 0 : n.map((b) => {
|
|
3636
3668
|
var D, _;
|
|
3637
3669
|
return {
|
|
3638
|
-
code:
|
|
3639
|
-
id:
|
|
3640
|
-
name:
|
|
3641
|
-
iconUrl: `/custom/image/side_menu/${
|
|
3642
|
-
nextPage:
|
|
3643
|
-
list: (
|
|
3670
|
+
code: b.code.toLowerCase(),
|
|
3671
|
+
id: b.id,
|
|
3672
|
+
name: b.name,
|
|
3673
|
+
iconUrl: `/custom/image/side_menu/${b.code.toLowerCase()}.png?v=1`,
|
|
3674
|
+
nextPage: b.nextPage === 1,
|
|
3675
|
+
list: (b.mdPlatformProducts !== null && ((D = b.mdPlatformProducts) == null ? void 0 : D.length)) ?? !1 ? ((_ = b.mdPlatformProducts) == null ? void 0 : _.map((p) => ({
|
|
3644
3676
|
gameId: Number(p.id_GameMaster),
|
|
3645
3677
|
platformId: Number(p.id),
|
|
3646
3678
|
platformCode: p.code,
|
|
@@ -3660,38 +3692,38 @@ const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3660
3692
|
hotGameList: cs(e.mdGameLists.data) ? {
|
|
3661
3693
|
currentPage: ((t = e.mdGameLists) == null ? void 0 : t.current_page) ?? 1,
|
|
3662
3694
|
lastPage: ((r = e.mdGameLists) == null ? void 0 : r.last_page) ?? 1,
|
|
3663
|
-
data: ((s = (a = e.mdGameLists) == null ? void 0 : a.data) == null ? void 0 : s.map((
|
|
3664
|
-
gameId: Number(
|
|
3665
|
-
platformId: Number(
|
|
3666
|
-
platformCode:
|
|
3667
|
-
name:
|
|
3695
|
+
data: ((s = (a = e.mdGameLists) == null ? void 0 : a.data) == null ? void 0 : s.map((b) => ({
|
|
3696
|
+
gameId: Number(b.id),
|
|
3697
|
+
platformId: Number(b.id_PlatformProduct),
|
|
3698
|
+
platformCode: b.code_PlatformProduct,
|
|
3699
|
+
name: b.name,
|
|
3668
3700
|
flag: {
|
|
3669
3701
|
value: 0,
|
|
3670
3702
|
hot: !1,
|
|
3671
3703
|
trial: !1,
|
|
3672
3704
|
new: !1
|
|
3673
3705
|
},
|
|
3674
|
-
imageUrl: `${e.mdDomains[
|
|
3675
|
-
logoUrl: `/image/platform_logo/${
|
|
3706
|
+
imageUrl: `${e.mdDomains[b.mdDomains_id]}${b.img}?ts=${b.filemtime}`,
|
|
3707
|
+
logoUrl: `/image/platform_logo/${b.img.split("/").pop()}?v=1`,
|
|
3676
3708
|
rate: "0.00"
|
|
3677
3709
|
}))) ?? []
|
|
3678
3710
|
} : {},
|
|
3679
3711
|
platformGameList: ds(e.mdGameLists.data) ? {
|
|
3680
3712
|
currentPage: ((o = e.mdGameLists) == null ? void 0 : o.current_page) ?? 1,
|
|
3681
3713
|
lastPage: ((d = e.mdGameLists) == null ? void 0 : d.last_page) ?? 1,
|
|
3682
|
-
data: ((f = (g = e.mdGameLists) == null ? void 0 : g.data) == null ? void 0 : f.map((
|
|
3683
|
-
gameId: Number(
|
|
3684
|
-
platformId: Number(
|
|
3714
|
+
data: ((f = (g = e.mdGameLists) == null ? void 0 : g.data) == null ? void 0 : f.map((b) => ({
|
|
3715
|
+
gameId: Number(b.id),
|
|
3716
|
+
platformId: Number(b.id_PlatformProduct),
|
|
3685
3717
|
platformCode: "",
|
|
3686
|
-
name:
|
|
3718
|
+
name: b.name,
|
|
3687
3719
|
flag: {
|
|
3688
3720
|
value: 0,
|
|
3689
3721
|
hot: !1,
|
|
3690
3722
|
trial: !1,
|
|
3691
3723
|
new: !1
|
|
3692
3724
|
},
|
|
3693
|
-
imageUrl: `${e.mdDomains[
|
|
3694
|
-
logoUrl: `/image/platform_logo/${
|
|
3725
|
+
imageUrl: `${e.mdDomains[b.mdDomains_id]}${b.img}?ts=${b.filemtime}`,
|
|
3726
|
+
logoUrl: `/image/platform_logo/${b.img.split("/").pop()}?v=1`,
|
|
3695
3727
|
rate: "0.00"
|
|
3696
3728
|
}))) ?? []
|
|
3697
3729
|
} : {},
|
|
@@ -3710,7 +3742,7 @@ function ds(e) {
|
|
|
3710
3742
|
}
|
|
3711
3743
|
const ms = (e) => ({
|
|
3712
3744
|
list: e.mdGrade.map((n) => {
|
|
3713
|
-
var t, r, a, s, o, d, g, f,
|
|
3745
|
+
var t, r, a, s, o, d, g, f, b, D, _, p, O, M, H, B, w, I, T, k, q, ue, se, le, ce, K, Ne, $e, he, _e, Te, Me, ve, Ve, we, Ae, Le, Fe, i, m, v, u, l, P, L, V, Z, G, J, Q, X, U, A, ee, Oe, fe, ke, ge, Se, y, gt, pt, bt, yt;
|
|
3714
3746
|
return {
|
|
3715
3747
|
id: n.gradeindex,
|
|
3716
3748
|
is_current_level: !1,
|
|
@@ -3744,52 +3776,52 @@ const ms = (e) => ({
|
|
|
3744
3776
|
},
|
|
3745
3777
|
monthly: {
|
|
3746
3778
|
isShow: !0,
|
|
3747
|
-
bonus: x(((D = (
|
|
3779
|
+
bonus: x(((D = (b = n.benefit) == null ? void 0 : b.monthly) == null ? void 0 : D.bonus) ?? "0"),
|
|
3748
3780
|
bonus_name: ((p = (_ = n.benefit) == null ? void 0 : _.monthly) == null ? void 0 : p.bonus_name) ?? "",
|
|
3749
|
-
turnover: x(((
|
|
3750
|
-
turnover_name: ((
|
|
3781
|
+
turnover: x(((M = (O = n.benefit) == null ? void 0 : O.monthly) == null ? void 0 : M.turnover) ?? "0"),
|
|
3782
|
+
turnover_name: ((B = (H = n.benefit) == null ? void 0 : H.monthly) == null ? void 0 : B.turnover_name) ?? ""
|
|
3751
3783
|
},
|
|
3752
3784
|
weekly: {
|
|
3753
3785
|
isShow: !0,
|
|
3754
|
-
bonus: x(((
|
|
3786
|
+
bonus: x(((I = (w = n.benefit) == null ? void 0 : w.weekly) == null ? void 0 : I.bonus) ?? "0"),
|
|
3755
3787
|
bonus_name: ((k = (T = n.benefit) == null ? void 0 : T.weekly) == null ? void 0 : k.bonus_name) ?? "",
|
|
3756
3788
|
turnover: x(((ue = (q = n.benefit) == null ? void 0 : q.weekly) == null ? void 0 : ue.turnover) ?? "0"),
|
|
3757
3789
|
turnover_name: ((le = (se = n.benefit) == null ? void 0 : se.weekly) == null ? void 0 : le.turnover_name) ?? ""
|
|
3758
3790
|
},
|
|
3759
3791
|
upgrade: {
|
|
3760
3792
|
isShow: !0,
|
|
3761
|
-
bonus: x(((
|
|
3762
|
-
bonus_name: ((
|
|
3763
|
-
turnover: x(((
|
|
3764
|
-
turnover_name: ((
|
|
3793
|
+
bonus: x(((K = (ce = n.benefit) == null ? void 0 : ce.upgrade) == null ? void 0 : K.bonus) ?? "0"),
|
|
3794
|
+
bonus_name: (($e = (Ne = n.benefit) == null ? void 0 : Ne.upgrade) == null ? void 0 : $e.bonus_name) ?? "",
|
|
3795
|
+
turnover: x(((_e = (he = n.benefit) == null ? void 0 : he.upgrade) == null ? void 0 : _e.turnover) ?? "0"),
|
|
3796
|
+
turnover_name: ((Me = (Te = n.benefit) == null ? void 0 : Te.upgrade) == null ? void 0 : Me.turnover_name) ?? ""
|
|
3765
3797
|
},
|
|
3766
3798
|
birthday: {
|
|
3767
3799
|
isShow: !0,
|
|
3768
|
-
bonus: x(((
|
|
3769
|
-
bonus_name: ((
|
|
3770
|
-
turnover: x(((
|
|
3771
|
-
turnover_name: ((
|
|
3800
|
+
bonus: x(((Ve = (ve = n.benefit) == null ? void 0 : ve.birthday) == null ? void 0 : Ve.bonus) ?? "0"),
|
|
3801
|
+
bonus_name: ((Ae = (we = n.benefit) == null ? void 0 : we.birthday) == null ? void 0 : Ae.bonus_name) ?? "",
|
|
3802
|
+
turnover: x(((Fe = (Le = n.benefit) == null ? void 0 : Le.birthday) == null ? void 0 : Fe.turnover) ?? "0"),
|
|
3803
|
+
turnover_name: ((m = (i = n.benefit) == null ? void 0 : i.birthday) == null ? void 0 : m.turnover_name) ?? ""
|
|
3772
3804
|
},
|
|
3773
3805
|
salary_1st: {
|
|
3774
3806
|
isShow: !0,
|
|
3775
|
-
bonus: x(((
|
|
3776
|
-
bonus_name: ((
|
|
3777
|
-
turnover: x(((
|
|
3778
|
-
turnover_name: ((
|
|
3807
|
+
bonus: x(((u = (v = n.benefit) == null ? void 0 : v.salary_1st) == null ? void 0 : u.bonus) ?? "0"),
|
|
3808
|
+
bonus_name: ((P = (l = n.benefit) == null ? void 0 : l.salary_1st) == null ? void 0 : P.bonus_name) ?? "",
|
|
3809
|
+
turnover: x(((V = (L = n.benefit) == null ? void 0 : L.salary_1st) == null ? void 0 : V.turnover) ?? "0"),
|
|
3810
|
+
turnover_name: ((G = (Z = n.benefit) == null ? void 0 : Z.salary_1st) == null ? void 0 : G.turnover_name) ?? ""
|
|
3779
3811
|
},
|
|
3780
3812
|
salary_10th: {
|
|
3781
3813
|
isShow: !0,
|
|
3782
|
-
bonus: x(((
|
|
3783
|
-
bonus_name: ((
|
|
3784
|
-
turnover: x(((
|
|
3785
|
-
turnover_name: ((fe = (
|
|
3814
|
+
bonus: x(((Q = (J = n.benefit) == null ? void 0 : J.salary_10th) == null ? void 0 : Q.bonus) ?? "0"),
|
|
3815
|
+
bonus_name: ((U = (X = n.benefit) == null ? void 0 : X.salary_10th) == null ? void 0 : U.bonus_name) ?? "",
|
|
3816
|
+
turnover: x(((ee = (A = n.benefit) == null ? void 0 : A.salary_10th) == null ? void 0 : ee.turnover) ?? "0"),
|
|
3817
|
+
turnover_name: ((fe = (Oe = n.benefit) == null ? void 0 : Oe.salary_10th) == null ? void 0 : fe.turnover_name) ?? ""
|
|
3786
3818
|
},
|
|
3787
3819
|
salary_20th: {
|
|
3788
3820
|
isShow: !0,
|
|
3789
|
-
bonus: x(((
|
|
3790
|
-
bonus_name: ((
|
|
3791
|
-
turnover: x(((
|
|
3792
|
-
turnover_name: ((
|
|
3821
|
+
bonus: x(((ge = (ke = n.benefit) == null ? void 0 : ke.salary_20th) == null ? void 0 : ge.bonus) ?? "0"),
|
|
3822
|
+
bonus_name: ((y = (Se = n.benefit) == null ? void 0 : Se.salary_20th) == null ? void 0 : y.bonus_name) ?? "",
|
|
3823
|
+
turnover: x(((pt = (gt = n.benefit) == null ? void 0 : gt.salary_20th) == null ? void 0 : pt.turnover) ?? "0"),
|
|
3824
|
+
turnover_name: ((yt = (bt = n.benefit) == null ? void 0 : bt.salary_20th) == null ? void 0 : yt.turnover_name) ?? ""
|
|
3793
3825
|
}
|
|
3794
3826
|
}
|
|
3795
3827
|
};
|
|
@@ -3909,27 +3941,27 @@ const ms = (e) => ({
|
|
|
3909
3941
|
}).sort((n, t) => n.claimable && !t.claimable ? -1 : !n.claimable && t.claimable ? 1 : 0)
|
|
3910
3942
|
}), gs = (e) => ({
|
|
3911
3943
|
month: {
|
|
3912
|
-
status:
|
|
3944
|
+
status: pe(e.month)
|
|
3913
3945
|
},
|
|
3914
3946
|
week: {
|
|
3915
|
-
status:
|
|
3947
|
+
status: pe(e.week)
|
|
3916
3948
|
},
|
|
3917
3949
|
day: {
|
|
3918
|
-
status:
|
|
3950
|
+
status: pe(e.day)
|
|
3919
3951
|
},
|
|
3920
3952
|
birthday: {
|
|
3921
|
-
status:
|
|
3953
|
+
status: pe(e.birthday)
|
|
3922
3954
|
},
|
|
3923
3955
|
salary_1st: {
|
|
3924
|
-
status:
|
|
3956
|
+
status: pe(e.salary1st)
|
|
3925
3957
|
},
|
|
3926
3958
|
salary_10th: {
|
|
3927
|
-
status:
|
|
3959
|
+
status: pe(e.salary10th)
|
|
3928
3960
|
},
|
|
3929
3961
|
salary_20th: {
|
|
3930
|
-
status:
|
|
3962
|
+
status: pe(e.salary20th)
|
|
3931
3963
|
}
|
|
3932
|
-
}),
|
|
3964
|
+
}), pe = (e) => ({
|
|
3933
3965
|
claimable: e === 1,
|
|
3934
3966
|
expired: e === 0,
|
|
3935
3967
|
claimed: e === -1
|
|
@@ -3980,21 +4012,26 @@ const ms = (e) => ({
|
|
|
3980
4012
|
whatsappRegister: e.registerwa ?? ""
|
|
3981
4013
|
};
|
|
3982
4014
|
}, hs = (e) => {
|
|
3983
|
-
var n, t, r, a, s;
|
|
4015
|
+
var n, t, r, a, s, o;
|
|
3984
4016
|
return {
|
|
3985
|
-
banner: ((n = e.mobileBanner) == null ? void 0 : n.map((
|
|
3986
|
-
ad: ((t = e.mobileAd) == null ? void 0 : t.map((
|
|
3987
|
-
about: ((r = e.about) == null ? void 0 : r.map((
|
|
3988
|
-
name:
|
|
3989
|
-
content:
|
|
3990
|
-
link:
|
|
4017
|
+
banner: ((n = e.mobileBanner) == null ? void 0 : n.map((d) => `${d.imagepath}?ts=${d.filemtime}`)) ?? [],
|
|
4018
|
+
ad: ((t = e.mobileAd) == null ? void 0 : t.map((d) => `${d.imagepath}?ts=${d.filemtime}`)) ?? [],
|
|
4019
|
+
about: ((r = e.about) == null ? void 0 : r.map((d) => ({
|
|
4020
|
+
name: d.name,
|
|
4021
|
+
content: d.content,
|
|
4022
|
+
link: d.link
|
|
3991
4023
|
}))) ?? [],
|
|
3992
|
-
mobileAbout: ((a = e.mobileAbout) == null ? void 0 : a.map((
|
|
3993
|
-
name:
|
|
3994
|
-
content:
|
|
3995
|
-
link:
|
|
4024
|
+
mobileAbout: ((a = e.mobileAbout) == null ? void 0 : a.map((d) => ({
|
|
4025
|
+
name: d.name,
|
|
4026
|
+
content: d.content,
|
|
4027
|
+
link: d.link
|
|
3996
4028
|
}))) ?? [],
|
|
3997
|
-
appAd: ((s = e.appAd) == null ? void 0 : s.map((
|
|
4029
|
+
appAd: ((s = e.appAd) == null ? void 0 : s.map((d) => `${d.imagepath}?ts=${d.filemtime}`)) ?? [],
|
|
4030
|
+
depositHint: ((o = e.deposit) == null ? void 0 : o.map((d) => ({
|
|
4031
|
+
paymentName: d.name,
|
|
4032
|
+
path: d.link,
|
|
4033
|
+
content: d.content
|
|
4034
|
+
}))) ?? []
|
|
3998
4035
|
};
|
|
3999
4036
|
}, _s = (e) => {
|
|
4000
4037
|
var n;
|
|
@@ -4017,14 +4054,14 @@ const ms = (e) => ({
|
|
|
4017
4054
|
}))) ?? [];
|
|
4018
4055
|
}, Ds = (e) => ({
|
|
4019
4056
|
name: ""
|
|
4020
|
-
}),
|
|
4057
|
+
}), Ps = (e) => {
|
|
4021
4058
|
var n;
|
|
4022
4059
|
return ((n = e.data) == null ? void 0 : n.filter((t) => t.company_status == 1).map((t) => ({
|
|
4023
4060
|
id: t.company_id,
|
|
4024
4061
|
name: t.company_name,
|
|
4025
4062
|
date: []
|
|
4026
4063
|
}))) ?? [];
|
|
4027
|
-
},
|
|
4064
|
+
}, xs = (e) => {
|
|
4028
4065
|
var n;
|
|
4029
4066
|
return ((n = e.data) == null ? void 0 : n.map((t) => {
|
|
4030
4067
|
var r;
|
|
@@ -4038,7 +4075,7 @@ function Rs(e) {
|
|
|
4038
4075
|
const n = new Date(e * 1e3), t = n.getFullYear(), r = ("0" + (n.getMonth() + 1)).slice(-2), a = ("0" + n.getDate()).slice(-2);
|
|
4039
4076
|
return `${t}-${r}-${a}`;
|
|
4040
4077
|
}
|
|
4041
|
-
const
|
|
4078
|
+
const Ms = (e) => {
|
|
4042
4079
|
var n;
|
|
4043
4080
|
return ((n = e.data) == null ? void 0 : n.map((t) => {
|
|
4044
4081
|
var r;
|
|
@@ -4051,7 +4088,7 @@ const Os = (e) => {
|
|
|
4051
4088
|
}))) ?? []
|
|
4052
4089
|
};
|
|
4053
4090
|
})) ?? [];
|
|
4054
|
-
},
|
|
4091
|
+
}, Os = (e) => e.data.map((n) => ({
|
|
4055
4092
|
companyId: n.company_id,
|
|
4056
4093
|
companyName: n.company_name,
|
|
4057
4094
|
resultByDateList: n.draws.map((t) => {
|
|
@@ -4067,7 +4104,7 @@ const Os = (e) => {
|
|
|
4067
4104
|
(p) => p.combination_dimension === 4 && p.combination_position === 5
|
|
4068
4105
|
).map((p) => p.combination_combination), f = t.results.filter(
|
|
4069
4106
|
(p) => p.combination_dimension === 5 && p.combination_position === 1
|
|
4070
|
-
).map((p) => p.combination_combination),
|
|
4107
|
+
).map((p) => p.combination_combination), b = t.results.filter((p) => p.combination_dimension == 5).map((p) => p.combination_combination), D = t.results.filter(
|
|
4071
4108
|
(p) => p.combination_dimension === 6 && p.combination_position === 1
|
|
4072
4109
|
).map((p) => p.combination_combination), _ = t.results.filter((p) => p.combination_dimension === 6).map((p) => p.combination_combination);
|
|
4073
4110
|
return {
|
|
@@ -4082,7 +4119,7 @@ const Os = (e) => {
|
|
|
4082
4119
|
},
|
|
4083
4120
|
dimension_5: {
|
|
4084
4121
|
prize_1: f,
|
|
4085
|
-
all:
|
|
4122
|
+
all: b
|
|
4086
4123
|
},
|
|
4087
4124
|
dimension_6: {
|
|
4088
4125
|
prize_1: D,
|
|
@@ -4090,10 +4127,10 @@ const Os = (e) => {
|
|
|
4090
4127
|
}
|
|
4091
4128
|
};
|
|
4092
4129
|
})
|
|
4093
|
-
})), ks = (e) => e.data ? e.data.filter((n) => !
|
|
4130
|
+
})), ks = (e) => e.data ? e.data.filter((n) => !Lt(n.matchDate, 120)).map((n) => ({
|
|
4094
4131
|
id: n.id,
|
|
4095
|
-
date: cn(
|
|
4096
|
-
started:
|
|
4132
|
+
date: dn(cn(n.matchDate)),
|
|
4133
|
+
started: Lt(n.matchDate),
|
|
4097
4134
|
stage: n.Stage,
|
|
4098
4135
|
sportId: n.SportID,
|
|
4099
4136
|
matchId: n.MatchID,
|
|
@@ -4122,10 +4159,10 @@ const Os = (e) => {
|
|
|
4122
4159
|
status: e.status == 1,
|
|
4123
4160
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
4124
4161
|
flag: e.flag
|
|
4125
|
-
}),
|
|
4162
|
+
}), C = (e) => ({
|
|
4126
4163
|
status: e.status == 1,
|
|
4127
4164
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? ""
|
|
4128
|
-
}), Cs = (e) =>
|
|
4165
|
+
}), Cs = (e) => C(e), js = (e) => {
|
|
4129
4166
|
var n, t, r, a, s;
|
|
4130
4167
|
return {
|
|
4131
4168
|
bankCard: ((n = e.bankCard) == null ? void 0 : n.map((o) => {
|
|
@@ -4190,7 +4227,7 @@ const Os = (e) => {
|
|
|
4190
4227
|
withdrawFee: e.withdrawFee,
|
|
4191
4228
|
withdrawMaxFee: Number(e.withdrawMaxFee),
|
|
4192
4229
|
withdrawCount: e.withdrawCount
|
|
4193
|
-
}), Ls = (e) =>
|
|
4230
|
+
}), Ls = (e) => C(e);
|
|
4194
4231
|
var $ = /* @__PURE__ */ ((e) => (e.deposit = "deposit", e.withdraw = "withdraw", e.promo = "promotion", e.manual = "adjustment", e.cashIn = "cashIn", e.cashOut = "cashOut", e.transfer = "transfer", e.incentive = "incentive", e.upgradeBonus = "upgradeBonus", e.extension = "extension", e.creditTransfer = "creditTransfer", e.shareHolder = "shareHolderDividend", e))($ || {});
|
|
4195
4232
|
const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4196
4233
|
__proto__: null,
|
|
@@ -4221,7 +4258,7 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4221
4258
|
statusInfo: {
|
|
4222
4259
|
id: d.status,
|
|
4223
4260
|
value: d.status == 1,
|
|
4224
|
-
desc: ((f = (g = e.subStatusModes) == null ? void 0 : g.find((
|
|
4261
|
+
desc: ((f = (g = e.subStatusModes) == null ? void 0 : g.find((b) => b.key === d.status)) == null ? void 0 : f.value) ?? ""
|
|
4225
4262
|
},
|
|
4226
4263
|
amount: x(d.amount),
|
|
4227
4264
|
dateTime: d.ledgerdatetime,
|
|
@@ -4296,13 +4333,13 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4296
4333
|
tokenAmount: t.token_amount
|
|
4297
4334
|
}))) ?? []
|
|
4298
4335
|
};
|
|
4299
|
-
},
|
|
4336
|
+
}, Hs = (e) => ({
|
|
4300
4337
|
status: e.status == 1,
|
|
4301
4338
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
4302
4339
|
loginId: e.loginId ?? "",
|
|
4303
4340
|
password: e.password ?? "",
|
|
4304
4341
|
downloadUrl: e.download_link ?? ""
|
|
4305
|
-
}),
|
|
4342
|
+
}), Bs = (e) => (e == null ? void 0 : e.map((n) => ({
|
|
4306
4343
|
messageId: n.msgindex,
|
|
4307
4344
|
unread: n.status == "0",
|
|
4308
4345
|
date: n.cdate,
|
|
@@ -4485,29 +4522,29 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4485
4522
|
if (e.status == 0)
|
|
4486
4523
|
return { welcomeBonus: null, dailyBonus: null };
|
|
4487
4524
|
const r = e.data.filter((f) => f.dtype == "5" && f.type == "F").map((f) => {
|
|
4488
|
-
const
|
|
4525
|
+
const b = Math.min(
|
|
4489
4526
|
Number(f.min_deposit) * Number(f.percentage) / 100,
|
|
4490
4527
|
Number(f.max_promo_amt)
|
|
4491
4528
|
);
|
|
4492
4529
|
return {
|
|
4493
4530
|
name: f.promodesc,
|
|
4494
4531
|
depositAmount: Number(f.min_deposit),
|
|
4495
|
-
promoAmount:
|
|
4496
|
-
percentage: Math.round(
|
|
4532
|
+
promoAmount: b,
|
|
4533
|
+
percentage: Math.round(b / Number(f.min_deposit) * 100),
|
|
4497
4534
|
expiryTime: f.etime
|
|
4498
4535
|
};
|
|
4499
4536
|
});
|
|
4500
4537
|
r.length > 0 && (n = r[0]);
|
|
4501
4538
|
const a = e.data.filter((f) => f.dtype == "5" && f.type == "D").map((f) => {
|
|
4502
|
-
const
|
|
4539
|
+
const b = Math.min(
|
|
4503
4540
|
Number(f.min_deposit) * Number(f.percentage) / 100,
|
|
4504
4541
|
Number(f.max_promo_amt)
|
|
4505
4542
|
);
|
|
4506
4543
|
return {
|
|
4507
4544
|
name: f.promodesc,
|
|
4508
4545
|
depositAmount: Number(f.min_deposit),
|
|
4509
|
-
promoAmount:
|
|
4510
|
-
percentage: Number((
|
|
4546
|
+
promoAmount: b,
|
|
4547
|
+
percentage: Number((b / Number(f.min_deposit) * 100).toFixed(2)),
|
|
4511
4548
|
expiryTime: f.etime
|
|
4512
4549
|
};
|
|
4513
4550
|
});
|
|
@@ -4581,7 +4618,7 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4581
4618
|
}
|
|
4582
4619
|
}
|
|
4583
4620
|
return n;
|
|
4584
|
-
}, io = (e) =>
|
|
4621
|
+
}, io = (e) => C(e), uo = (e) => C(e), lo = (e) => {
|
|
4585
4622
|
var n, t, r, a, s;
|
|
4586
4623
|
return {
|
|
4587
4624
|
status: e.status == 1,
|
|
@@ -4592,7 +4629,7 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4592
4629
|
qrcode: ((a = e.data) == null ? void 0 : a.qrcode) ?? [],
|
|
4593
4630
|
personal: ((s = e.data) == null ? void 0 : s.personal) ?? []
|
|
4594
4631
|
};
|
|
4595
|
-
},
|
|
4632
|
+
}, tt = (e) => ({
|
|
4596
4633
|
validated: e.withdrawValidate === 1 || e.depositValidate === 1 || e.TransferCreditValidate === 1,
|
|
4597
4634
|
forms: co(e)
|
|
4598
4635
|
}), co = (e) => e.subDepositForms && e.subDepositForms.length > 0 ? e.subDepositForms.map((n) => ({
|
|
@@ -4613,7 +4650,7 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4613
4650
|
regex: n.regex,
|
|
4614
4651
|
showName: n.showname,
|
|
4615
4652
|
inputHelper: n.inputHelper
|
|
4616
|
-
})) : [], mo = (e) =>
|
|
4653
|
+
})) : [], mo = (e) => C(e), fo = (e) => e, go = (e) => {
|
|
4617
4654
|
var n;
|
|
4618
4655
|
return {
|
|
4619
4656
|
status: e.status == 1,
|
|
@@ -4623,7 +4660,7 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4623
4660
|
ledgerIndex: e.checkgame.ledgerindex ?? 0,
|
|
4624
4661
|
amount: e.checkgame.amount ?? ""
|
|
4625
4662
|
};
|
|
4626
|
-
}, po = (e) =>
|
|
4663
|
+
}, po = (e) => C(e), bo = (e) => ({
|
|
4627
4664
|
status: e.status == 1,
|
|
4628
4665
|
message: e.message,
|
|
4629
4666
|
user: e.user ?? ""
|
|
@@ -4631,7 +4668,7 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4631
4668
|
status: e.status == 1,
|
|
4632
4669
|
message: e.msg ?? "",
|
|
4633
4670
|
amount: e.amount ?? ""
|
|
4634
|
-
}), ho = (e) =>
|
|
4671
|
+
}), ho = (e) => C(e), _o = (e) => {
|
|
4635
4672
|
var n;
|
|
4636
4673
|
return {
|
|
4637
4674
|
status: e.status == 1,
|
|
@@ -4665,10 +4702,10 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4665
4702
|
message: e.msg ?? "",
|
|
4666
4703
|
form: e.form ?? "",
|
|
4667
4704
|
gameUrl: e.data ?? ""
|
|
4668
|
-
}), Do = (e) =>
|
|
4705
|
+
}), Do = (e) => C(e), Po = (e) => C(e), nt = (e) => ({
|
|
4669
4706
|
status: e.status == 1,
|
|
4670
4707
|
message: e.errormessage ?? ""
|
|
4671
|
-
}),
|
|
4708
|
+
}), xo = (e) => C(e), Ro = (e) => e, Mo = (e) => C(e), Oo = (e) => {
|
|
4672
4709
|
var n;
|
|
4673
4710
|
return {
|
|
4674
4711
|
platformProduct: ((n = e.mdPlatformProduct) == null ? void 0 : n.map((t) => ({
|
|
@@ -4692,7 +4729,7 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4692
4729
|
}))) ?? []
|
|
4693
4730
|
};
|
|
4694
4731
|
})) ?? [];
|
|
4695
|
-
}, So = (e) =>
|
|
4732
|
+
}, So = (e) => C(e), Io = (e) => C(e), Co = (e) => C(e), jo = (e) => C(e), No = (e) => C(e), Lo = (e) => C(e), Fo = (e) => C(e), zo = (e) => ({
|
|
4696
4733
|
status: e.status == 1,
|
|
4697
4734
|
message: e.msg ?? "",
|
|
4698
4735
|
data: e.data
|
|
@@ -4756,7 +4793,7 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4756
4793
|
commission: t.commission
|
|
4757
4794
|
}))
|
|
4758
4795
|
}))
|
|
4759
|
-
}),
|
|
4796
|
+
}), Ho = (e) => ({
|
|
4760
4797
|
status: e.status == 1,
|
|
4761
4798
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
4762
4799
|
id: e.id ?? 0,
|
|
@@ -4768,16 +4805,16 @@ const Fs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4768
4805
|
})),
|
|
4769
4806
|
currentPage: e.page,
|
|
4770
4807
|
lastPage: e.lastpage
|
|
4771
|
-
}),
|
|
4808
|
+
}), Bo = (e) => ({
|
|
4772
4809
|
status: e.status == "1",
|
|
4773
4810
|
message: e.msg ?? "",
|
|
4774
4811
|
username: e.accountcode,
|
|
4775
4812
|
password: e.password
|
|
4776
4813
|
});
|
|
4777
|
-
var
|
|
4814
|
+
var Ee = /* @__PURE__ */ ((e) => (e.toPlatform = "transferIn", e.toWallet = "transferOut", e))(Ee || {});
|
|
4778
4815
|
const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4779
4816
|
__proto__: null,
|
|
4780
|
-
TransferMethod:
|
|
4817
|
+
TransferMethod: Ee
|
|
4781
4818
|
}, Symbol.toStringTag, { value: "Module" })), $o = (e) => {
|
|
4782
4819
|
var n;
|
|
4783
4820
|
return {
|
|
@@ -4786,7 +4823,7 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4786
4823
|
data: ((n = e.mdGameCreditLimitTransfers.data) == null ? void 0 : n.map((t) => ({
|
|
4787
4824
|
transferIndex: t.clindex,
|
|
4788
4825
|
target: t.com_from !== "" ? t.com_from : t.com_to,
|
|
4789
|
-
category: t.com_from !== "" ?
|
|
4826
|
+
category: t.com_from !== "" ? Ee.toWallet : Ee.toPlatform,
|
|
4790
4827
|
amount: x(t.amount),
|
|
4791
4828
|
dateTime: t.transferdatetime
|
|
4792
4829
|
}))) ?? []
|
|
@@ -4805,7 +4842,7 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4805
4842
|
}))) ?? []
|
|
4806
4843
|
};
|
|
4807
4844
|
}, Ao = (e) => {
|
|
4808
|
-
var n, t, r, a, s, o, d, g, f,
|
|
4845
|
+
var n, t, r, a, s, o, d, g, f, b, D;
|
|
4809
4846
|
return {
|
|
4810
4847
|
status: e.status == 1,
|
|
4811
4848
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
@@ -4839,7 +4876,7 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4839
4876
|
detailSC: _.detailsc,
|
|
4840
4877
|
resultL: _.resultL
|
|
4841
4878
|
}))) ?? [],
|
|
4842
|
-
currentPage: ((
|
|
4879
|
+
currentPage: ((b = e.data) == null ? void 0 : b.page.current_page) ?? 1,
|
|
4843
4880
|
lastPage: ((D = e.data) == null ? void 0 : D.page.last_page) ?? 1
|
|
4844
4881
|
}
|
|
4845
4882
|
};
|
|
@@ -4854,7 +4891,7 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4854
4891
|
binded: ((r = e.data) == null ? void 0 : r.binded) ?? !1
|
|
4855
4892
|
}
|
|
4856
4893
|
};
|
|
4857
|
-
}, Xo = (e) =>
|
|
4894
|
+
}, Xo = (e) => C(e), Zo = (e) => {
|
|
4858
4895
|
var n;
|
|
4859
4896
|
return {
|
|
4860
4897
|
status: e.status == 1,
|
|
@@ -4864,7 +4901,7 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4864
4901
|
createdAt: t.created_at
|
|
4865
4902
|
}))) ?? []
|
|
4866
4903
|
};
|
|
4867
|
-
}, Jo = (e) =>
|
|
4904
|
+
}, Jo = (e) => C(e), Ko = (e) => {
|
|
4868
4905
|
var n, t, r;
|
|
4869
4906
|
return {
|
|
4870
4907
|
status: e.status == 1,
|
|
@@ -4889,15 +4926,15 @@ const Uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4889
4926
|
}))) ?? []
|
|
4890
4927
|
}
|
|
4891
4928
|
};
|
|
4892
|
-
}, ei = (e) =>
|
|
4929
|
+
}, ei = (e) => C(e), ti = (e) => ({
|
|
4893
4930
|
status: e.status == 1,
|
|
4894
4931
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
4895
4932
|
tokenAmount: e.token_amount
|
|
4896
|
-
}), ni = (e) =>
|
|
4897
|
-
var
|
|
4933
|
+
}), ni = (e) => C(e);
|
|
4934
|
+
var mt = /* @__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))(mt || {});
|
|
4898
4935
|
const ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4899
4936
|
__proto__: null,
|
|
4900
|
-
SettingCategory:
|
|
4937
|
+
SettingCategory: mt
|
|
4901
4938
|
}, Symbol.toStringTag, { value: "Module" })), ai = (e) => {
|
|
4902
4939
|
let n = 0;
|
|
4903
4940
|
return e.data != null && typeof e.data == "object" && (n = e.data.amount), {
|
|
@@ -4975,7 +5012,7 @@ const ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4975
5012
|
errorMessage: e.errormessage ?? "",
|
|
4976
5013
|
isAutoTransfer: e.optionkey == "auto" || ((n = e.message) == null ? void 0 : n.optionkey) == "auto" || ((t = e.mdAccountSetting) == null ? void 0 : t.optionkey) == "auto"
|
|
4977
5014
|
};
|
|
4978
|
-
}, di = (e) =>
|
|
5015
|
+
}, di = (e) => C(e), mi = (e) => ({
|
|
4979
5016
|
status: e.status,
|
|
4980
5017
|
message: e.msg ?? "",
|
|
4981
5018
|
turnover: e.data ? e.data.turnover : 0,
|
|
@@ -5007,21 +5044,21 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5007
5044
|
status: e.status,
|
|
5008
5045
|
data: null
|
|
5009
5046
|
};
|
|
5010
|
-
const n =
|
|
5047
|
+
const n = zt(e, 0), t = zt(e, 1);
|
|
5011
5048
|
return {
|
|
5012
5049
|
status: e.status,
|
|
5013
5050
|
data: {
|
|
5014
|
-
period: `${
|
|
5051
|
+
period: `${Gt(e.data.datefrom)} ~ ${Gt(e.data.dateto)}`,
|
|
5015
5052
|
gift: {
|
|
5016
5053
|
deposit: {
|
|
5017
5054
|
current: n.filter((r) => r.status == re.collected).length,
|
|
5018
5055
|
total: n.length,
|
|
5019
|
-
percentage:
|
|
5056
|
+
percentage: Wt(n)
|
|
5020
5057
|
},
|
|
5021
5058
|
activeBet: {
|
|
5022
5059
|
current: t.filter((r) => r.status == re.collected).length,
|
|
5023
5060
|
total: t.length,
|
|
5024
|
-
percentage:
|
|
5061
|
+
percentage: Wt(t)
|
|
5025
5062
|
},
|
|
5026
5063
|
grandPrize: {
|
|
5027
5064
|
countDownTimestamp: yi(e.data.dateto),
|
|
@@ -5033,7 +5070,7 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5033
5070
|
activeBet: t
|
|
5034
5071
|
}
|
|
5035
5072
|
};
|
|
5036
|
-
},
|
|
5073
|
+
}, zt = (e, n) => e.data.tier.filter((t) => t.type == n).map((t) => {
|
|
5037
5074
|
const r = Math.min(t.achieve ?? 0, t.requirement);
|
|
5038
5075
|
return {
|
|
5039
5076
|
id: t.transid,
|
|
@@ -5045,10 +5082,10 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5045
5082
|
currentPercentage: (r / t.requirement * 100).toFixed(0)
|
|
5046
5083
|
}
|
|
5047
5084
|
};
|
|
5048
|
-
}),
|
|
5085
|
+
}), Gt = (e) => {
|
|
5049
5086
|
const n = new Date(e), t = n.getDate().toString().padStart(2, "0"), r = (n.getMonth() + 1).toString().padStart(2, "0"), a = n.getHours().toString().padStart(2, "0"), s = n.getMinutes().toString().padStart(2, "0");
|
|
5050
5087
|
return `${t}/${r} ${a}:${s}`;
|
|
5051
|
-
},
|
|
5088
|
+
}, Wt = (e) => {
|
|
5052
5089
|
const n = e.reduce((r, a) => r + parseFloat(a.reward), 0), t = e.reduce((r, a) => r + a.progress.total, 0);
|
|
5053
5090
|
return t > 0 ? (n / t * 100).toFixed(2) : "0";
|
|
5054
5091
|
}, yi = (e) => {
|
|
@@ -5087,12 +5124,12 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5087
5124
|
logoUrl: `/image/platform_logo/${n.img.split("/").pop()}?v=1`,
|
|
5088
5125
|
rate: "0.00"
|
|
5089
5126
|
})) ?? [] : []
|
|
5090
|
-
}), vi = (e) =>
|
|
5091
|
-
var
|
|
5127
|
+
}), vi = (e) => C(e), wi = (e) => C(e);
|
|
5128
|
+
var ye = /* @__PURE__ */ ((e) => (e.inProgress = "inProgress", e.collectable = "collectable", e.collected = "collected", e))(ye || {});
|
|
5092
5129
|
const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5093
5130
|
__proto__: null,
|
|
5094
|
-
AccumulateDepositStatus:
|
|
5095
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
5131
|
+
AccumulateDepositStatus: ye
|
|
5132
|
+
}, Symbol.toStringTag, { value: "Module" })), Pi = (e) => {
|
|
5096
5133
|
if (e.status == 0)
|
|
5097
5134
|
return {
|
|
5098
5135
|
status: !1,
|
|
@@ -5105,7 +5142,7 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5105
5142
|
n = {
|
|
5106
5143
|
buttonStatus: e.data.tier.filter(
|
|
5107
5144
|
(o) => o.claimable == "1" && o.collected != "1"
|
|
5108
|
-
).length > 0 ?
|
|
5145
|
+
).length > 0 ? ye.collectable : ye.collected,
|
|
5109
5146
|
dateFrom: e.data.datefrom,
|
|
5110
5147
|
dateTo: e.data.dateto,
|
|
5111
5148
|
progress: {
|
|
@@ -5116,7 +5153,7 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5116
5153
|
list: e.data.tier.map((o) => ({
|
|
5117
5154
|
total: o.requirement,
|
|
5118
5155
|
reward: Number(o.reward),
|
|
5119
|
-
status: o.claimable != "1" ?
|
|
5156
|
+
status: o.claimable != "1" ? ye.inProgress : o.collected == "1" ? ye.collected : ye.collectable
|
|
5120
5157
|
}))
|
|
5121
5158
|
};
|
|
5122
5159
|
}
|
|
@@ -5125,7 +5162,7 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5125
5162
|
message: e.msg ?? "",
|
|
5126
5163
|
data: n
|
|
5127
5164
|
};
|
|
5128
|
-
},
|
|
5165
|
+
}, xi = (e) => ({
|
|
5129
5166
|
status: e.status == 1,
|
|
5130
5167
|
message: e.msg ?? ""
|
|
5131
5168
|
}), Ri = (e) => {
|
|
@@ -5135,7 +5172,7 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5135
5172
|
errorMessage: e.errormessage ?? "",
|
|
5136
5173
|
username: ((n = e.data) == null ? void 0 : n.username) ?? ""
|
|
5137
5174
|
};
|
|
5138
|
-
},
|
|
5175
|
+
}, Mi = (e) => {
|
|
5139
5176
|
var n;
|
|
5140
5177
|
return {
|
|
5141
5178
|
status: e.status == 1,
|
|
@@ -5167,7 +5204,7 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5167
5204
|
};
|
|
5168
5205
|
})) ?? []
|
|
5169
5206
|
};
|
|
5170
|
-
},
|
|
5207
|
+
}, Oi = (e) => ({
|
|
5171
5208
|
status: e.status == 1,
|
|
5172
5209
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
5173
5210
|
data: {
|
|
@@ -5281,8 +5318,13 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5281
5318
|
desc: n.txn_type
|
|
5282
5319
|
}))
|
|
5283
5320
|
}
|
|
5284
|
-
})
|
|
5285
|
-
|
|
5321
|
+
});
|
|
5322
|
+
var ft = /* @__PURE__ */ ((e) => (e.mobileBanner = "mobileBanner", e.mobileAbout = "mobileAbout", e.mobileAd = "mobileAd", e.about = "about", e.appAd = "appAd", e.deposit = "deposit", e))(ft || {});
|
|
5323
|
+
const Yi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5324
|
+
__proto__: null,
|
|
5325
|
+
CmsCategory: ft
|
|
5326
|
+
}, Symbol.toStringTag, { value: "Module" })), qi = async (e) => {
|
|
5327
|
+
var n, t, r, a, s, o, d, g, f, b, D, _, p, O, M, H, B, w, I, T, k, q, ue, se, le, ce;
|
|
5286
5328
|
try {
|
|
5287
5329
|
e.findIndex((m) => m.name === c.vipList) !== -1 && e.push(
|
|
5288
5330
|
{
|
|
@@ -5293,7 +5335,7 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5293
5335
|
{ name: c.vipStatus, query: "" },
|
|
5294
5336
|
{
|
|
5295
5337
|
name: c.getSetting,
|
|
5296
|
-
query: JSON.stringify({ name: [
|
|
5338
|
+
query: JSON.stringify({ name: [mt.vipcalculation] })
|
|
5297
5339
|
}
|
|
5298
5340
|
), e.findIndex(
|
|
5299
5341
|
(m) => m.name === c.getRewardReferral
|
|
@@ -5310,57 +5352,66 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5310
5352
|
name: c.getTopupRewardData,
|
|
5311
5353
|
query: ""
|
|
5312
5354
|
}
|
|
5313
|
-
)
|
|
5314
|
-
|
|
5355
|
+
), e.findIndex(
|
|
5356
|
+
(m) => m.name === c.paymentsProvider
|
|
5357
|
+
) !== -1 && e.push({
|
|
5358
|
+
name: c.cmsList,
|
|
5359
|
+
query: JSON.stringify({
|
|
5360
|
+
p: 1,
|
|
5361
|
+
c: 0,
|
|
5362
|
+
list: [ft.deposit]
|
|
5363
|
+
})
|
|
5364
|
+
});
|
|
5365
|
+
const he = e.findIndex(
|
|
5315
5366
|
(m) => m.name === c.getFavouriteGame
|
|
5316
5367
|
);
|
|
5317
|
-
|
|
5368
|
+
he !== -1 && (JSON.parse(e[he].query).pid || e.push({
|
|
5318
5369
|
name: c.getPlatformTurnoverRate,
|
|
5319
5370
|
query: ""
|
|
5320
5371
|
}));
|
|
5321
|
-
const
|
|
5322
|
-
|
|
5372
|
+
const _e = e.findIndex((m) => m.name === c.fishGameList);
|
|
5373
|
+
_e !== -1 && (JSON.parse(e[_e].query).pid || e.push({
|
|
5323
5374
|
name: c.getPlatformTurnoverRate,
|
|
5324
5375
|
query: ""
|
|
5325
5376
|
}));
|
|
5326
|
-
const
|
|
5327
|
-
|
|
5377
|
+
const Te = e.findIndex((m) => m.name === c.gameList);
|
|
5378
|
+
Te !== -1 && (JSON.parse(e[Te].query).pid || e.push({
|
|
5328
5379
|
name: c.getPlatformTurnoverRate,
|
|
5329
5380
|
query: ""
|
|
5330
5381
|
}));
|
|
5331
|
-
const
|
|
5332
|
-
if (
|
|
5382
|
+
const Me = e.findIndex((m) => m.name === c.searchHot);
|
|
5383
|
+
if (Me !== -1) {
|
|
5333
5384
|
let m = {};
|
|
5334
|
-
e.forEach((
|
|
5335
|
-
m =
|
|
5336
|
-
}), e.splice(
|
|
5385
|
+
e.forEach((v) => {
|
|
5386
|
+
m = v.query;
|
|
5387
|
+
}), e.splice(Me), e.push({
|
|
5337
5388
|
name: c.getFourDimensionData,
|
|
5338
5389
|
query: String(m)
|
|
5339
5390
|
});
|
|
5340
5391
|
}
|
|
5341
|
-
const
|
|
5342
|
-
if (
|
|
5392
|
+
const ve = e.findIndex((m) => m.name === c.searchNumberHistory);
|
|
5393
|
+
if (ve !== -1) {
|
|
5343
5394
|
let m = {};
|
|
5344
|
-
e.forEach((
|
|
5345
|
-
m =
|
|
5346
|
-
}), e.splice(
|
|
5395
|
+
e.forEach((v) => {
|
|
5396
|
+
m = v.query;
|
|
5397
|
+
}), e.splice(ve), e.push({
|
|
5347
5398
|
name: c.getFourDimensionData,
|
|
5348
5399
|
query: String(m)
|
|
5349
5400
|
});
|
|
5350
5401
|
}
|
|
5351
5402
|
if (e.findIndex((m) => m.name === c.searchByDate) !== -1) {
|
|
5352
5403
|
let m = {};
|
|
5353
|
-
e.forEach((
|
|
5354
|
-
m =
|
|
5355
|
-
}), e.splice(
|
|
5404
|
+
e.forEach((v) => {
|
|
5405
|
+
m = v.query;
|
|
5406
|
+
}), e.splice(ve), e.push({
|
|
5356
5407
|
name: c.getFourDimensionData,
|
|
5357
5408
|
query: String(m)
|
|
5358
5409
|
});
|
|
5359
5410
|
}
|
|
5360
|
-
const
|
|
5411
|
+
const we = e.findIndex(
|
|
5361
5412
|
(m) => m.name === c.getFourDimensionData
|
|
5362
5413
|
);
|
|
5363
|
-
|
|
5414
|
+
we !== -1 && e[we].query == "" && (e.splice(we), e.push(
|
|
5364
5415
|
{
|
|
5365
5416
|
name: c.getFourDimensionData,
|
|
5366
5417
|
query: JSON.stringify({ action: c.getCompany, native: "1" })
|
|
@@ -5376,22 +5427,22 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5376
5427
|
})
|
|
5377
5428
|
}
|
|
5378
5429
|
));
|
|
5379
|
-
const
|
|
5430
|
+
const Le = {
|
|
5380
5431
|
requests: e.map((m) => ({
|
|
5381
5432
|
name: m.name,
|
|
5382
5433
|
query: btoa(m.query)
|
|
5383
5434
|
}))
|
|
5384
|
-
},
|
|
5435
|
+
}, Fe = await ae.post(
|
|
5385
5436
|
"/graph/jwt",
|
|
5386
|
-
Ua(JSON.stringify(
|
|
5437
|
+
Ua(JSON.stringify(Le))
|
|
5387
5438
|
), i = {
|
|
5388
5439
|
status: 200,
|
|
5389
5440
|
message: "",
|
|
5390
5441
|
result: {}
|
|
5391
5442
|
};
|
|
5392
|
-
for (const m of
|
|
5443
|
+
for (const m of Fe.data.responses) {
|
|
5393
5444
|
m.error != null && m.error.code != 200 && (i.status = m.error.code, i.message = m.error.message);
|
|
5394
|
-
const
|
|
5445
|
+
const v = m.attributes !== null && m.attributes !== void 0 ? $a(m.attributes) : null, u = m.name, l = v ? JSON.parse(v) : null;
|
|
5395
5446
|
if (!l)
|
|
5396
5447
|
i.result[u] = null;
|
|
5397
5448
|
else
|
|
@@ -5455,18 +5506,18 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5455
5506
|
);
|
|
5456
5507
|
break;
|
|
5457
5508
|
case c.getCompany:
|
|
5458
|
-
i.result[u] =
|
|
5509
|
+
i.result[u] = Ps(l);
|
|
5459
5510
|
break;
|
|
5460
5511
|
case c.searchResultDate:
|
|
5461
|
-
i.result[u] =
|
|
5512
|
+
i.result[u] = xs(
|
|
5462
5513
|
l
|
|
5463
5514
|
);
|
|
5464
5515
|
break;
|
|
5465
5516
|
case c.searchHot:
|
|
5466
|
-
i.result[u] =
|
|
5517
|
+
i.result[u] = Ms(l);
|
|
5467
5518
|
break;
|
|
5468
5519
|
case c.searchByDate:
|
|
5469
|
-
i.result[u] =
|
|
5520
|
+
i.result[u] = Os(l);
|
|
5470
5521
|
break;
|
|
5471
5522
|
case c.upcomingMatches:
|
|
5472
5523
|
i.result[u] = ks(
|
|
@@ -5511,10 +5562,10 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5511
5562
|
i.result[u] = Es(l);
|
|
5512
5563
|
break;
|
|
5513
5564
|
case c.getExtraGame:
|
|
5514
|
-
i.result[u] =
|
|
5565
|
+
i.result[u] = Hs(l);
|
|
5515
5566
|
break;
|
|
5516
5567
|
case c.mailBox:
|
|
5517
|
-
i.result[u] =
|
|
5568
|
+
i.result[u] = Bs(l);
|
|
5518
5569
|
break;
|
|
5519
5570
|
case c.fishGameList:
|
|
5520
5571
|
i.result[u] = Us(l);
|
|
@@ -5558,7 +5609,7 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5558
5609
|
);
|
|
5559
5610
|
break;
|
|
5560
5611
|
case c.submitWithdrawValidate:
|
|
5561
|
-
i.result[u] =
|
|
5612
|
+
i.result[u] = nt(l);
|
|
5562
5613
|
break;
|
|
5563
5614
|
case c.getDepositPromotion:
|
|
5564
5615
|
i.result[u] = eo(
|
|
@@ -5609,13 +5660,13 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5609
5660
|
i.result[u] = lo(l);
|
|
5610
5661
|
break;
|
|
5611
5662
|
case c.getDepositValidate:
|
|
5612
|
-
i.result[u] =
|
|
5663
|
+
i.result[u] = tt(l);
|
|
5613
5664
|
break;
|
|
5614
5665
|
case c.getWithdrawValidate:
|
|
5615
|
-
i.result[u] =
|
|
5666
|
+
i.result[u] = tt(l);
|
|
5616
5667
|
break;
|
|
5617
5668
|
case c.getTransferCreditValidate:
|
|
5618
|
-
i.result[u] =
|
|
5669
|
+
i.result[u] = tt(l);
|
|
5619
5670
|
break;
|
|
5620
5671
|
case c.updateProfilePicture:
|
|
5621
5672
|
i.result[u] = mo(
|
|
@@ -5660,18 +5711,18 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5660
5711
|
i.result[u] = Do(l);
|
|
5661
5712
|
break;
|
|
5662
5713
|
case c.transferProcess:
|
|
5663
|
-
i.result[u] =
|
|
5714
|
+
i.result[u] = Po(
|
|
5664
5715
|
l
|
|
5665
5716
|
);
|
|
5666
5717
|
break;
|
|
5667
5718
|
case c.submitDepositValidate:
|
|
5668
|
-
i.result[u] =
|
|
5719
|
+
i.result[u] = nt(l);
|
|
5669
5720
|
break;
|
|
5670
5721
|
case c.submitTransferCreditValidate:
|
|
5671
|
-
i.result[u] =
|
|
5722
|
+
i.result[u] = nt(l);
|
|
5672
5723
|
break;
|
|
5673
5724
|
case c.checkTransferCredit:
|
|
5674
|
-
i.result[u] =
|
|
5725
|
+
i.result[u] = xo(
|
|
5675
5726
|
l
|
|
5676
5727
|
);
|
|
5677
5728
|
break;
|
|
@@ -5679,10 +5730,10 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5679
5730
|
i.result[u] = Ro(l);
|
|
5680
5731
|
break;
|
|
5681
5732
|
case c.friendListEdit:
|
|
5682
|
-
i.result[u] =
|
|
5733
|
+
i.result[u] = Mo(l);
|
|
5683
5734
|
break;
|
|
5684
5735
|
case c.getActivePP:
|
|
5685
|
-
i.result[u] =
|
|
5736
|
+
i.result[u] = Oo(l);
|
|
5686
5737
|
break;
|
|
5687
5738
|
case c.getActiveProduct:
|
|
5688
5739
|
i.result[u] = ko(
|
|
@@ -5749,12 +5800,12 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5749
5800
|
);
|
|
5750
5801
|
break;
|
|
5751
5802
|
case c.referralMemberProfile:
|
|
5752
|
-
i.result[u] =
|
|
5803
|
+
i.result[u] = Ho(
|
|
5753
5804
|
l
|
|
5754
5805
|
);
|
|
5755
5806
|
break;
|
|
5756
5807
|
case c.registerAction:
|
|
5757
|
-
i.result[u] =
|
|
5808
|
+
i.result[u] = Bo(l);
|
|
5758
5809
|
break;
|
|
5759
5810
|
case c.transferReport:
|
|
5760
5811
|
i.result[u] = $o(l);
|
|
@@ -5890,22 +5941,22 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5890
5941
|
);
|
|
5891
5942
|
break;
|
|
5892
5943
|
case c.getAccumulateDepositData:
|
|
5893
|
-
i.result[u] =
|
|
5944
|
+
i.result[u] = Pi(
|
|
5894
5945
|
l
|
|
5895
5946
|
);
|
|
5896
5947
|
break;
|
|
5897
5948
|
case c.getAccumulateDepositClaim:
|
|
5898
|
-
i.result[u] =
|
|
5949
|
+
i.result[u] = xi(
|
|
5899
5950
|
l
|
|
5900
5951
|
);
|
|
5901
5952
|
break;
|
|
5902
5953
|
case c.rebateRefundSetting:
|
|
5903
|
-
i.result[u] =
|
|
5954
|
+
i.result[u] = Mi(
|
|
5904
5955
|
l
|
|
5905
5956
|
);
|
|
5906
5957
|
break;
|
|
5907
5958
|
case c.getASCMatchCount:
|
|
5908
|
-
i.result[u] =
|
|
5959
|
+
i.result[u] = Oi(
|
|
5909
5960
|
l
|
|
5910
5961
|
);
|
|
5911
5962
|
break;
|
|
@@ -5959,8 +6010,8 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5959
6010
|
const m = i.result.getIncentiveData;
|
|
5960
6011
|
if (c.getIncentiveRebate in i.result) {
|
|
5961
6012
|
if ((t = i.result) != null && t.getIncentiveRebate) {
|
|
5962
|
-
const
|
|
5963
|
-
m.claimable = Number(
|
|
6013
|
+
const v = i.result.getIncentiveRebate;
|
|
6014
|
+
m.claimable = Number(v.amount);
|
|
5964
6015
|
}
|
|
5965
6016
|
delete i.result.getIncentiveRebate;
|
|
5966
6017
|
}
|
|
@@ -5968,32 +6019,32 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5968
6019
|
}
|
|
5969
6020
|
if (c.vipList in i.result && ((r = i.result) != null && r.vipList)) {
|
|
5970
6021
|
const m = i.result.vipList;
|
|
5971
|
-
let
|
|
5972
|
-
if (c.getSetting in i.result && ((a = i.result) != null && a.getSetting && (
|
|
6022
|
+
let v = 4;
|
|
6023
|
+
if (c.getSetting in i.result && ((a = i.result) != null && a.getSetting && (v = i.result.getSetting.vipCalculation), delete i.result.getSetting), c.vipStatus in i.result) {
|
|
5973
6024
|
if ((s = i.result) != null && s.vipStatus) {
|
|
5974
6025
|
const u = i.result.vipStatus, {
|
|
5975
6026
|
current_grade_id: l,
|
|
5976
|
-
current_deposit:
|
|
5977
|
-
current_turnover:
|
|
5978
|
-
percentage:
|
|
5979
|
-
} = u,
|
|
5980
|
-
m.list = m.list.map((G,
|
|
5981
|
-
const
|
|
5982
|
-
let
|
|
5983
|
-
return
|
|
6027
|
+
current_deposit: P,
|
|
6028
|
+
current_turnover: L,
|
|
6029
|
+
percentage: V
|
|
6030
|
+
} = u, Z = m.list.findIndex((G) => G.id === l);
|
|
6031
|
+
m.list = m.list.map((G, J) => {
|
|
6032
|
+
const Q = J === Z;
|
|
6033
|
+
let X = "0", U = "0", A = 0;
|
|
6034
|
+
return Q ? (X = `${Math.min(ze(P), ze(G.deposit.total))}`, U = `${Math.min(ze(L), ze(G.turnover.total))}`, A = V) : J < Z ? (X = G.deposit.total, U = G.turnover.total, A = 1) : J > Z && (X = "0.00", U = "0.00", A = 0), {
|
|
5984
6035
|
...G,
|
|
5985
|
-
is_current_level:
|
|
6036
|
+
is_current_level: Q,
|
|
5986
6037
|
deposit: {
|
|
5987
6038
|
...G.deposit,
|
|
5988
|
-
isShow:
|
|
5989
|
-
current: x(
|
|
6039
|
+
isShow: v === 1 || v === 3 || v === 4,
|
|
6040
|
+
current: x(X)
|
|
5990
6041
|
},
|
|
5991
6042
|
turnover: {
|
|
5992
6043
|
...G.turnover,
|
|
5993
|
-
isShow:
|
|
6044
|
+
isShow: v === 2 || v === 3 || v === 4,
|
|
5994
6045
|
current: x(U)
|
|
5995
6046
|
},
|
|
5996
|
-
percentage:
|
|
6047
|
+
percentage: A * 100 > 100 ? 100 : A * 100
|
|
5997
6048
|
};
|
|
5998
6049
|
});
|
|
5999
6050
|
}
|
|
@@ -6003,34 +6054,34 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6003
6054
|
if ((o = i.result) != null && o.vipBonus) {
|
|
6004
6055
|
const u = i.result.vipBonus;
|
|
6005
6056
|
m.bonus.day.status = u.day.status;
|
|
6006
|
-
const { dayRemainingTime: l, dayProgressPercentage:
|
|
6057
|
+
const { dayRemainingTime: l, dayProgressPercentage: P } = Qa();
|
|
6007
6058
|
m.bonus.day.timestamp = {
|
|
6008
6059
|
current: l,
|
|
6009
|
-
percentage:
|
|
6060
|
+
percentage: P > 100 ? 100 : P
|
|
6010
6061
|
}, m.bonus.week.status = u.week.status;
|
|
6011
|
-
const { weekRemainingTime:
|
|
6062
|
+
const { weekRemainingTime: L, weekProgressPercentage: V } = Aa();
|
|
6012
6063
|
m.bonus.week.timestamp = {
|
|
6013
|
-
current:
|
|
6014
|
-
percentage:
|
|
6064
|
+
current: L,
|
|
6065
|
+
percentage: V > 100 ? 100 : V
|
|
6015
6066
|
}, m.bonus.month.status = u.month.status;
|
|
6016
|
-
const { monthRemainingTime:
|
|
6067
|
+
const { monthRemainingTime: Z, monthProgressPercentage: G } = Va();
|
|
6017
6068
|
m.bonus.month.timestamp = {
|
|
6018
|
-
current:
|
|
6069
|
+
current: Z,
|
|
6019
6070
|
percentage: G > 100 ? 100 : G
|
|
6020
6071
|
}, m.bonus.salary_1st.status = u.salary_1st.status;
|
|
6021
|
-
const { remainingTimeTo5th:
|
|
6072
|
+
const { remainingTimeTo5th: J, progressPercentageTo5th: Q } = Xa();
|
|
6022
6073
|
m.bonus.salary_1st.timestamp = {
|
|
6023
|
-
current:
|
|
6024
|
-
percentage:
|
|
6074
|
+
current: J,
|
|
6075
|
+
percentage: Q > 100 ? 100 : Q
|
|
6025
6076
|
}, m.bonus.salary_10th.status = u.salary_10th.status;
|
|
6026
|
-
const { remainingTimeTo10th:
|
|
6077
|
+
const { remainingTimeTo10th: X, progressPercentageTo10th: U } = Za();
|
|
6027
6078
|
m.bonus.salary_10th.timestamp = {
|
|
6028
|
-
current:
|
|
6079
|
+
current: X,
|
|
6029
6080
|
percentage: U > 100 ? 100 : U
|
|
6030
6081
|
}, m.bonus.salary_20th.status = u.salary_20th.status;
|
|
6031
|
-
const { remainingTimeTo20th:
|
|
6082
|
+
const { remainingTimeTo20th: A, progressPercentageTo20th: ee } = Ja();
|
|
6032
6083
|
m.bonus.salary_20th.timestamp = {
|
|
6033
|
-
current:
|
|
6084
|
+
current: A,
|
|
6034
6085
|
percentage: ee > 100 ? 100 : ee
|
|
6035
6086
|
}, m.bonus.birthday.status = u.birthday.status;
|
|
6036
6087
|
}
|
|
@@ -6042,149 +6093,149 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6042
6093
|
l.push({
|
|
6043
6094
|
name: "",
|
|
6044
6095
|
code: "vipLevel",
|
|
6045
|
-
value: m.list.map((
|
|
6096
|
+
value: m.list.map((y) => y.name)
|
|
6046
6097
|
});
|
|
6047
|
-
const
|
|
6048
|
-
(
|
|
6098
|
+
const P = u.findIndex(
|
|
6099
|
+
(y) => y.fieldName == "upgrade_bonus"
|
|
6049
6100
|
);
|
|
6050
|
-
|
|
6051
|
-
name: u[
|
|
6101
|
+
P > -1 && l.push({
|
|
6102
|
+
name: u[P].showName,
|
|
6052
6103
|
code: "",
|
|
6053
|
-
value: m.list.map((
|
|
6104
|
+
value: m.list.map((y) => y.benefit_list.upgrade.bonus)
|
|
6054
6105
|
});
|
|
6055
|
-
const
|
|
6056
|
-
(
|
|
6106
|
+
const L = u.findIndex(
|
|
6107
|
+
(y) => y.fieldName == "upgrade_bonus_multiply"
|
|
6057
6108
|
);
|
|
6058
|
-
|
|
6059
|
-
name: u[
|
|
6109
|
+
L > -1 && l.push({
|
|
6110
|
+
name: u[L].showName,
|
|
6060
6111
|
code: "",
|
|
6061
|
-
value: m.list.map((
|
|
6112
|
+
value: m.list.map((y) => y.benefit_list.upgrade.turnover)
|
|
6062
6113
|
});
|
|
6063
|
-
const
|
|
6064
|
-
(
|
|
6114
|
+
const V = u.findIndex(
|
|
6115
|
+
(y) => y.fieldName == "monthly_bonus"
|
|
6065
6116
|
);
|
|
6066
|
-
m.bonus.month.isShow =
|
|
6067
|
-
name: u[
|
|
6117
|
+
m.bonus.month.isShow = V > -1, V > -1 && l.push({
|
|
6118
|
+
name: u[V].showName,
|
|
6068
6119
|
code: "",
|
|
6069
|
-
value: m.list.map((
|
|
6120
|
+
value: m.list.map((y) => y.benefit_list.monthly.bonus)
|
|
6070
6121
|
});
|
|
6071
|
-
const
|
|
6072
|
-
(
|
|
6122
|
+
const Z = u.findIndex(
|
|
6123
|
+
(y) => y.fieldName == "monthly_bonus_multiply"
|
|
6073
6124
|
);
|
|
6074
|
-
|
|
6075
|
-
name: u[
|
|
6125
|
+
Z > -1 && l.push({
|
|
6126
|
+
name: u[Z].showName,
|
|
6076
6127
|
code: "",
|
|
6077
|
-
value: m.list.map((
|
|
6128
|
+
value: m.list.map((y) => y.benefit_list.monthly.turnover)
|
|
6078
6129
|
});
|
|
6079
6130
|
const G = u.findIndex(
|
|
6080
|
-
(
|
|
6131
|
+
(y) => y.fieldName == "weekly_bonus"
|
|
6081
6132
|
);
|
|
6082
6133
|
m.bonus.week.isShow = G > -1, G > -1 && l.push({
|
|
6083
6134
|
name: u[G].showName,
|
|
6084
6135
|
code: "",
|
|
6085
|
-
value: m.list.map((
|
|
6136
|
+
value: m.list.map((y) => y.benefit_list.weekly.bonus)
|
|
6086
6137
|
});
|
|
6087
|
-
const
|
|
6088
|
-
(
|
|
6138
|
+
const J = u.findIndex(
|
|
6139
|
+
(y) => y.fieldName == "weekly_bonus_multiply"
|
|
6089
6140
|
);
|
|
6090
|
-
|
|
6091
|
-
name: u[
|
|
6141
|
+
J > -1 && l.push({
|
|
6142
|
+
name: u[J].showName,
|
|
6092
6143
|
code: "",
|
|
6093
|
-
value: m.list.map((
|
|
6144
|
+
value: m.list.map((y) => y.benefit_list.weekly.turnover)
|
|
6094
6145
|
});
|
|
6095
|
-
const
|
|
6096
|
-
(
|
|
6146
|
+
const Q = u.findIndex(
|
|
6147
|
+
(y) => y.fieldName == "daily_bonus"
|
|
6097
6148
|
);
|
|
6098
|
-
m.bonus.day.isShow =
|
|
6099
|
-
name: u[
|
|
6149
|
+
m.bonus.day.isShow = Q > -1, Q > -1 && l.push({
|
|
6150
|
+
name: u[Q].showName,
|
|
6100
6151
|
code: "",
|
|
6101
|
-
value: m.list.map((
|
|
6152
|
+
value: m.list.map((y) => y.benefit_list.daily.bonus)
|
|
6102
6153
|
});
|
|
6103
|
-
const
|
|
6104
|
-
(
|
|
6154
|
+
const X = u.findIndex(
|
|
6155
|
+
(y) => y.fieldName == "daily_bonus_multiply"
|
|
6105
6156
|
);
|
|
6106
|
-
|
|
6107
|
-
name: u[
|
|
6157
|
+
X > -1 && l.push({
|
|
6158
|
+
name: u[X].showName,
|
|
6108
6159
|
code: "",
|
|
6109
|
-
value: m.list.map((
|
|
6160
|
+
value: m.list.map((y) => y.benefit_list.daily.turnover)
|
|
6110
6161
|
});
|
|
6111
6162
|
const U = u.findIndex(
|
|
6112
|
-
(
|
|
6163
|
+
(y) => y.fieldName == "birthday_bonus"
|
|
6113
6164
|
);
|
|
6114
6165
|
m.bonus.birthday.isShow = U > -1, U > -1 && l.push({
|
|
6115
6166
|
name: u[U].showName,
|
|
6116
6167
|
code: "",
|
|
6117
|
-
value: m.list.map((
|
|
6168
|
+
value: m.list.map((y) => y.benefit_list.birthday.bonus)
|
|
6118
6169
|
});
|
|
6119
|
-
const
|
|
6120
|
-
(
|
|
6170
|
+
const A = u.findIndex(
|
|
6171
|
+
(y) => y.fieldName == "birthday_bonus_multiply"
|
|
6121
6172
|
);
|
|
6122
|
-
|
|
6123
|
-
name: u[
|
|
6173
|
+
A > -1 && l.push({
|
|
6174
|
+
name: u[A].showName,
|
|
6124
6175
|
code: "",
|
|
6125
|
-
value: m.list.map((
|
|
6176
|
+
value: m.list.map((y) => y.benefit_list.birthday.turnover)
|
|
6126
6177
|
});
|
|
6127
6178
|
const ee = u.findIndex(
|
|
6128
|
-
(
|
|
6179
|
+
(y) => y.fieldName == "salary_bonus_1st"
|
|
6129
6180
|
);
|
|
6130
|
-
m.list.map((
|
|
6131
|
-
|
|
6181
|
+
m.list.map((y) => {
|
|
6182
|
+
y.benefit_list.salary_1st.isShow = ee > -1;
|
|
6132
6183
|
}), m.bonus.salary_1st.isShow = ee > -1, ee > -1 && l.push({
|
|
6133
6184
|
name: u[ee].showName,
|
|
6134
6185
|
code: "",
|
|
6135
|
-
value: m.list.map((
|
|
6186
|
+
value: m.list.map((y) => y.benefit_list.salary_1st.bonus)
|
|
6136
6187
|
});
|
|
6137
6188
|
const Oe = u.findIndex(
|
|
6138
|
-
(
|
|
6189
|
+
(y) => y.fieldName == "salary_bonus_multiply_1st"
|
|
6139
6190
|
);
|
|
6140
6191
|
Oe > -1 && l.push({
|
|
6141
6192
|
name: u[Oe].showName,
|
|
6142
6193
|
code: "",
|
|
6143
|
-
value: m.list.map((
|
|
6194
|
+
value: m.list.map((y) => y.benefit_list.salary_1st.turnover)
|
|
6144
6195
|
});
|
|
6145
|
-
const
|
|
6146
|
-
(
|
|
6196
|
+
const fe = u.findIndex(
|
|
6197
|
+
(y) => y.fieldName == "salary_bonus_10th"
|
|
6147
6198
|
);
|
|
6148
|
-
m.list.map((
|
|
6149
|
-
|
|
6150
|
-
}), m.bonus.salary_10th.isShow =
|
|
6151
|
-
name: u[
|
|
6199
|
+
m.list.map((y) => {
|
|
6200
|
+
y.benefit_list.salary_10th.isShow = fe > -1;
|
|
6201
|
+
}), m.bonus.salary_10th.isShow = fe > -1, fe > -1 && l.push({
|
|
6202
|
+
name: u[fe].showName,
|
|
6152
6203
|
code: "",
|
|
6153
|
-
value: m.list.map((
|
|
6204
|
+
value: m.list.map((y) => y.benefit_list.salary_10th.bonus)
|
|
6154
6205
|
});
|
|
6155
|
-
const
|
|
6156
|
-
(
|
|
6206
|
+
const ke = u.findIndex(
|
|
6207
|
+
(y) => y.fieldName == "salary_bonus_multiply_10th"
|
|
6157
6208
|
);
|
|
6158
|
-
|
|
6159
|
-
name: u[
|
|
6209
|
+
ke > -1 && l.push({
|
|
6210
|
+
name: u[ke].showName,
|
|
6160
6211
|
code: "",
|
|
6161
|
-
value: m.list.map((
|
|
6212
|
+
value: m.list.map((y) => y.benefit_list.salary_10th.turnover)
|
|
6162
6213
|
});
|
|
6163
|
-
const
|
|
6164
|
-
(
|
|
6214
|
+
const ge = u.findIndex(
|
|
6215
|
+
(y) => y.fieldName == "salary_bonus_20th"
|
|
6165
6216
|
);
|
|
6166
|
-
m.list.map((
|
|
6167
|
-
|
|
6168
|
-
}), m.bonus.salary_20th.isShow =
|
|
6169
|
-
name: u[
|
|
6217
|
+
m.list.map((y) => {
|
|
6218
|
+
y.benefit_list.salary_20th.isShow = ge > -1;
|
|
6219
|
+
}), m.bonus.salary_20th.isShow = ge > -1, ge > -1 && l.push({
|
|
6220
|
+
name: u[ge].showName,
|
|
6170
6221
|
code: "",
|
|
6171
|
-
value: m.list.map((
|
|
6222
|
+
value: m.list.map((y) => y.benefit_list.salary_20th.bonus)
|
|
6172
6223
|
});
|
|
6173
|
-
const
|
|
6174
|
-
(
|
|
6224
|
+
const Se = u.findIndex(
|
|
6225
|
+
(y) => y.fieldName == "salary_bonus_multiply_20th"
|
|
6175
6226
|
);
|
|
6176
|
-
|
|
6177
|
-
name: u[
|
|
6227
|
+
Se > -1 && l.push({
|
|
6228
|
+
name: u[Se].showName,
|
|
6178
6229
|
code: "",
|
|
6179
|
-
value: m.list.map((
|
|
6180
|
-
}), (
|
|
6230
|
+
value: m.list.map((y) => y.benefit_list.salary_20th.turnover)
|
|
6231
|
+
}), (v === 1 || v === 3 || v === 4) && l.push({
|
|
6181
6232
|
name: "",
|
|
6182
6233
|
code: "detail_deposit",
|
|
6183
|
-
value: m.list.map((
|
|
6184
|
-
}), (
|
|
6234
|
+
value: m.list.map((y) => y.deposit.total)
|
|
6235
|
+
}), (v === 2 || v === 3 || v === 4) && l.push({
|
|
6185
6236
|
name: "",
|
|
6186
6237
|
code: "detail_turnover",
|
|
6187
|
-
value: m.list.map((
|
|
6238
|
+
value: m.list.map((y) => y.turnover.total)
|
|
6188
6239
|
}), m.detail = l;
|
|
6189
6240
|
}
|
|
6190
6241
|
delete i.result.vipFieldStatus;
|
|
@@ -6193,28 +6244,28 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6193
6244
|
}
|
|
6194
6245
|
if (c.getRewardReferral in i.result && ((g = i.result) != null && g.getRewardReferral)) {
|
|
6195
6246
|
const m = (f = i.result) == null ? void 0 : f.getRewardReferral;
|
|
6196
|
-
let
|
|
6197
|
-
if (c.getTurnOverRewardData in i.result && ((
|
|
6247
|
+
let v = 0, u = 0;
|
|
6248
|
+
if (c.getTurnOverRewardData in i.result && ((b = i.result) != null && b.getTurnOverRewardData)) {
|
|
6198
6249
|
const l = (D = i.result) == null ? void 0 : D.getTurnOverRewardData;
|
|
6199
|
-
|
|
6250
|
+
v += Number(l.totalReward), u += Number(l.unclaimReward), m.turnOverRewardData = l, delete i.result.getTurnOverRewardData;
|
|
6200
6251
|
}
|
|
6201
6252
|
if (c.getInviteRewardData in i.result && ((_ = i.result) != null && _.getInviteRewardData)) {
|
|
6202
6253
|
const l = (p = i.result) == null ? void 0 : p.getInviteRewardData;
|
|
6203
|
-
|
|
6254
|
+
v += Number(l.totalReward), u += Number(l.unclaimReward), m.inviteRewardData = l, delete i.result.getInviteRewardData;
|
|
6204
6255
|
}
|
|
6205
|
-
if (c.getTopupRewardData in i.result && ((
|
|
6206
|
-
const l = (
|
|
6207
|
-
|
|
6256
|
+
if (c.getTopupRewardData in i.result && ((O = i.result) != null && O.getTopupRewardData)) {
|
|
6257
|
+
const l = (M = i.result) == null ? void 0 : M.getTopupRewardData;
|
|
6258
|
+
v += Number(l.totalReward), u += Number(l.unclaimReward), m.topupRewardData = l, delete i.result.getTopupRewardData;
|
|
6208
6259
|
}
|
|
6209
|
-
m.referralRewardData.isClaimable = u > 0, m.referralRewardData.totalCommission =
|
|
6260
|
+
m.referralRewardData.isClaimable = u > 0, m.referralRewardData.totalCommission = v.toString();
|
|
6210
6261
|
}
|
|
6211
|
-
if (c.getFavouriteGame in i.result && ((
|
|
6262
|
+
if (c.getFavouriteGame in i.result && ((H = i.result) != null && H.getFavouriteGame)) {
|
|
6212
6263
|
const m = i.result.getFavouriteGame;
|
|
6213
|
-
if (JSON.parse(e[
|
|
6214
|
-
const
|
|
6264
|
+
if (JSON.parse(e[he].query).pid && c.getPlatformTurnoverRate in i.result && (B = i.result) != null && B.getPlatformTurnoverRate) {
|
|
6265
|
+
const v = i.result.getPlatformTurnoverRate;
|
|
6215
6266
|
i.result.getFavouriteGame = m.data.map((u) => {
|
|
6216
|
-
const l =
|
|
6217
|
-
(
|
|
6267
|
+
const l = v.find(
|
|
6268
|
+
(P) => P.id === u.platformId
|
|
6218
6269
|
);
|
|
6219
6270
|
return {
|
|
6220
6271
|
...u,
|
|
@@ -6223,13 +6274,13 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6223
6274
|
}), delete i.result.getPlatformTurnoverRate;
|
|
6224
6275
|
}
|
|
6225
6276
|
}
|
|
6226
|
-
if (c.fishGameList in i.result && ((
|
|
6277
|
+
if (c.fishGameList in i.result && ((w = i.result) != null && w.fishGameList)) {
|
|
6227
6278
|
const m = i.result.fishGameList;
|
|
6228
|
-
if (JSON.parse(e[
|
|
6229
|
-
const
|
|
6279
|
+
if (JSON.parse(e[_e].query).pid && c.getPlatformTurnoverRate in i.result && (I = i.result) != null && I.getPlatformTurnoverRate) {
|
|
6280
|
+
const v = i.result.getPlatformTurnoverRate;
|
|
6230
6281
|
i.result.fishGameList = m.data.map((u) => {
|
|
6231
|
-
const l =
|
|
6232
|
-
(
|
|
6282
|
+
const l = v.find(
|
|
6283
|
+
(P) => P.id === u.platformId
|
|
6233
6284
|
);
|
|
6234
6285
|
return {
|
|
6235
6286
|
...u,
|
|
@@ -6238,79 +6289,94 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6238
6289
|
}), delete i.result.getPlatformTurnoverRate;
|
|
6239
6290
|
}
|
|
6240
6291
|
}
|
|
6241
|
-
if (c.
|
|
6292
|
+
if (c.paymentsProvider in i.result && i.result.paymentsProvider) {
|
|
6293
|
+
const m = i.result.paymentsProvider;
|
|
6294
|
+
if (c.cmsList in i.result && ((T = i.result) != null && T.cmsList)) {
|
|
6295
|
+
const v = i.result.cmsList;
|
|
6296
|
+
i.result.paymentsProvider = m.map((u) => u.paymentList.map((l) => {
|
|
6297
|
+
const P = v.depositHint.find(
|
|
6298
|
+
(L) => L.path === `/member/deposit/${l.pathName}`
|
|
6299
|
+
);
|
|
6300
|
+
return {
|
|
6301
|
+
...l,
|
|
6302
|
+
hintMsg: (P == null ? void 0 : P.content) ?? ""
|
|
6303
|
+
};
|
|
6304
|
+
})), delete i.result.cmsList;
|
|
6305
|
+
}
|
|
6306
|
+
}
|
|
6307
|
+
if (c.gameList in i.result && ((k = i.result) != null && k.gameList)) {
|
|
6242
6308
|
const m = i.result.gameList;
|
|
6243
|
-
if (JSON.parse(e[
|
|
6244
|
-
const
|
|
6245
|
-
if (m.trialGameList =
|
|
6309
|
+
if (JSON.parse(e[Te].query).pid) {
|
|
6310
|
+
const v = m.platformGame.map((u) => u.list.filter((l) => l.flag.trial && !u.nextPage).map((l) => l));
|
|
6311
|
+
if (m.trialGameList = v.flat(), c.getPlatformTurnoverRate in i.result && ((q = i.result) != null && q.getPlatformTurnoverRate)) {
|
|
6246
6312
|
const u = i.result.getPlatformTurnoverRate;
|
|
6247
6313
|
m.platformGame = m.platformGame.map((l) => ({
|
|
6248
6314
|
...l,
|
|
6249
|
-
list: l.list.map((
|
|
6250
|
-
const
|
|
6251
|
-
(
|
|
6315
|
+
list: l.list.map((P) => {
|
|
6316
|
+
const L = u.find(
|
|
6317
|
+
(V) => V.id === P.platformId
|
|
6252
6318
|
);
|
|
6253
6319
|
return {
|
|
6254
|
-
...
|
|
6255
|
-
rate: (
|
|
6320
|
+
...P,
|
|
6321
|
+
rate: (L == null ? void 0 : L.percentage) ?? "0.00"
|
|
6256
6322
|
};
|
|
6257
6323
|
})
|
|
6258
6324
|
})), m.platformGameList.data = m.platformGameList.data.map((l) => {
|
|
6259
|
-
const
|
|
6260
|
-
(
|
|
6325
|
+
const P = u.find(
|
|
6326
|
+
(L) => L.id === l.platformId
|
|
6261
6327
|
);
|
|
6262
6328
|
return {
|
|
6263
6329
|
...l,
|
|
6264
|
-
rate: (
|
|
6330
|
+
rate: (P == null ? void 0 : P.percentage) ?? "0.00"
|
|
6265
6331
|
};
|
|
6266
6332
|
}), m.hotGameList.data = m.hotGameList.data.map((l) => {
|
|
6267
|
-
const
|
|
6268
|
-
(
|
|
6333
|
+
const P = u.find(
|
|
6334
|
+
(L) => L.id === l.platformId
|
|
6269
6335
|
);
|
|
6270
6336
|
return {
|
|
6271
6337
|
...l,
|
|
6272
|
-
rate: (
|
|
6338
|
+
rate: (P == null ? void 0 : P.percentage) ?? "0.00"
|
|
6273
6339
|
};
|
|
6274
6340
|
}), m.trialGameList = m.trialGameList.map((l) => {
|
|
6275
|
-
const
|
|
6276
|
-
(
|
|
6341
|
+
const P = u.find(
|
|
6342
|
+
(L) => L.id === l.platformId
|
|
6277
6343
|
);
|
|
6278
6344
|
return {
|
|
6279
6345
|
...l,
|
|
6280
|
-
rate: (
|
|
6346
|
+
rate: (P == null ? void 0 : P.percentage) ?? "0.00"
|
|
6281
6347
|
};
|
|
6282
6348
|
}), delete i.result.getPlatformTurnoverRate;
|
|
6283
6349
|
}
|
|
6284
6350
|
}
|
|
6285
6351
|
i.result.gameList = m;
|
|
6286
6352
|
}
|
|
6287
|
-
if (c.getCompany in i.result && ((
|
|
6353
|
+
if (c.getCompany in i.result && ((ue = i.result) != null && ue.getCompany)) {
|
|
6288
6354
|
const m = i.result.getCompany;
|
|
6289
|
-
if (c.searchResultDate in i.result && (
|
|
6290
|
-
const
|
|
6355
|
+
if (c.searchResultDate in i.result && (se = i.result) != null && se.searchResultDate) {
|
|
6356
|
+
const v = i.result.searchResultDate;
|
|
6291
6357
|
m.forEach((u) => {
|
|
6292
|
-
const l =
|
|
6358
|
+
const l = v.find((P) => P.id == u.id);
|
|
6293
6359
|
l && (u.date = l == null ? void 0 : l.date);
|
|
6294
6360
|
}), delete i.result.searchResultDate;
|
|
6295
6361
|
}
|
|
6296
6362
|
i.result.getCompany = m;
|
|
6297
6363
|
}
|
|
6298
6364
|
return i;
|
|
6299
|
-
} catch (
|
|
6300
|
-
return
|
|
6301
|
-
status: ((
|
|
6302
|
-
message: JSON.stringify((
|
|
6365
|
+
} catch (K) {
|
|
6366
|
+
return Ut.isAxiosError(K) ? {
|
|
6367
|
+
status: ((le = K.response) == null ? void 0 : le.status) || 600,
|
|
6368
|
+
message: JSON.stringify((ce = K.response) == null ? void 0 : ce.data),
|
|
6303
6369
|
result: {}
|
|
6304
|
-
} : (console.error(
|
|
6305
|
-
status:
|
|
6306
|
-
message:
|
|
6370
|
+
} : (console.error(K), {
|
|
6371
|
+
status: K.status || 500,
|
|
6372
|
+
message: K.message,
|
|
6307
6373
|
result: {}
|
|
6308
6374
|
});
|
|
6309
6375
|
}
|
|
6310
|
-
},
|
|
6376
|
+
}, Ei = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6311
6377
|
__proto__: null,
|
|
6312
|
-
post:
|
|
6313
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6378
|
+
post: qi
|
|
6379
|
+
}, Symbol.toStringTag, { value: "Module" })), Hi = async (e) => {
|
|
6314
6380
|
let n = {
|
|
6315
6381
|
status: 200,
|
|
6316
6382
|
message: ""
|
|
@@ -6329,8 +6395,8 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6329
6395
|
return n;
|
|
6330
6396
|
}, Bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6331
6397
|
__proto__: null,
|
|
6332
|
-
call:
|
|
6333
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6398
|
+
call: Hi
|
|
6399
|
+
}, Symbol.toStringTag, { value: "Module" })), Ui = async (e, n) => {
|
|
6334
6400
|
let t = {
|
|
6335
6401
|
status: 200,
|
|
6336
6402
|
message: ""
|
|
@@ -6350,10 +6416,10 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6350
6416
|
};
|
|
6351
6417
|
}
|
|
6352
6418
|
return t;
|
|
6353
|
-
},
|
|
6419
|
+
}, $i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6354
6420
|
__proto__: null,
|
|
6355
|
-
call:
|
|
6356
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6421
|
+
call: Ui
|
|
6422
|
+
}, Symbol.toStringTag, { value: "Module" })), Vi = async () => {
|
|
6357
6423
|
let e = {
|
|
6358
6424
|
status: 200,
|
|
6359
6425
|
message: ""
|
|
@@ -6367,10 +6433,10 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6367
6433
|
};
|
|
6368
6434
|
}
|
|
6369
6435
|
return e;
|
|
6370
|
-
},
|
|
6436
|
+
}, Ai = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6371
6437
|
__proto__: null,
|
|
6372
|
-
call:
|
|
6373
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6438
|
+
call: Vi
|
|
6439
|
+
}, Symbol.toStringTag, { value: "Module" })), Yt = {
|
|
6374
6440
|
data: {
|
|
6375
6441
|
status: !1,
|
|
6376
6442
|
message: "",
|
|
@@ -6380,11 +6446,11 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6380
6446
|
accountId: 0
|
|
6381
6447
|
}
|
|
6382
6448
|
}
|
|
6383
|
-
},
|
|
6449
|
+
}, Qi = async () => {
|
|
6384
6450
|
let e = {
|
|
6385
6451
|
status: 200,
|
|
6386
6452
|
message: "",
|
|
6387
|
-
...
|
|
6453
|
+
...Yt
|
|
6388
6454
|
};
|
|
6389
6455
|
try {
|
|
6390
6456
|
const t = (await ae.get("/graph/autoregister")).data;
|
|
@@ -6401,23 +6467,23 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6401
6467
|
e = {
|
|
6402
6468
|
status: n.status || 500,
|
|
6403
6469
|
message: n.message,
|
|
6404
|
-
...
|
|
6470
|
+
...Yt
|
|
6405
6471
|
};
|
|
6406
6472
|
}
|
|
6407
6473
|
return e;
|
|
6408
|
-
},
|
|
6474
|
+
}, Xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6409
6475
|
__proto__: null,
|
|
6410
|
-
call:
|
|
6411
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6476
|
+
call: Qi
|
|
6477
|
+
}, Symbol.toStringTag, { value: "Module" })), qt = {
|
|
6412
6478
|
data: {
|
|
6413
6479
|
status: !1,
|
|
6414
6480
|
message: ""
|
|
6415
6481
|
}
|
|
6416
|
-
},
|
|
6482
|
+
}, Zi = async (e, n) => {
|
|
6417
6483
|
let t = {
|
|
6418
6484
|
status: 200,
|
|
6419
6485
|
message: "",
|
|
6420
|
-
...
|
|
6486
|
+
...qt
|
|
6421
6487
|
};
|
|
6422
6488
|
try {
|
|
6423
6489
|
const r = await ae.post("/graph/setlocale", {
|
|
@@ -6434,14 +6500,14 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6434
6500
|
t = {
|
|
6435
6501
|
status: r.status || 500,
|
|
6436
6502
|
message: r.message,
|
|
6437
|
-
...
|
|
6503
|
+
...qt
|
|
6438
6504
|
};
|
|
6439
6505
|
}
|
|
6440
6506
|
return t;
|
|
6441
|
-
},
|
|
6507
|
+
}, Ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6442
6508
|
__proto__: null,
|
|
6443
|
-
call:
|
|
6444
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6509
|
+
call: Zi
|
|
6510
|
+
}, Symbol.toStringTag, { value: "Module" })), Ki = async (e, n, t, r, a) => {
|
|
6445
6511
|
let s = {
|
|
6446
6512
|
status: 200,
|
|
6447
6513
|
message: "",
|
|
@@ -6479,10 +6545,10 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6479
6545
|
};
|
|
6480
6546
|
}
|
|
6481
6547
|
return s;
|
|
6482
|
-
},
|
|
6548
|
+
}, eu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6483
6549
|
__proto__: null,
|
|
6484
|
-
call:
|
|
6485
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6550
|
+
call: Ki
|
|
6551
|
+
}, Symbol.toStringTag, { value: "Module" })), Et = {
|
|
6486
6552
|
data: {
|
|
6487
6553
|
status: !1,
|
|
6488
6554
|
message: "",
|
|
@@ -6492,12 +6558,12 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6492
6558
|
endTime: ""
|
|
6493
6559
|
}
|
|
6494
6560
|
}
|
|
6495
|
-
},
|
|
6561
|
+
}, tu = async () => {
|
|
6496
6562
|
var n, t, r;
|
|
6497
6563
|
let e = {
|
|
6498
6564
|
status: 200,
|
|
6499
6565
|
message: "",
|
|
6500
|
-
...
|
|
6566
|
+
...Et
|
|
6501
6567
|
};
|
|
6502
6568
|
try {
|
|
6503
6569
|
const s = (await ae.get("/graph/getMaintenanceMode")).data;
|
|
@@ -6514,15 +6580,13 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6514
6580
|
e = {
|
|
6515
6581
|
status: a.status || 500,
|
|
6516
6582
|
message: a.message,
|
|
6517
|
-
...
|
|
6583
|
+
...Et
|
|
6518
6584
|
};
|
|
6519
6585
|
}
|
|
6520
6586
|
return e;
|
|
6521
|
-
},
|
|
6587
|
+
}, nu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6522
6588
|
__proto__: null,
|
|
6523
|
-
call:
|
|
6524
|
-
}, Symbol.toStringTag, { value: "Module" })), nu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6525
|
-
__proto__: null
|
|
6589
|
+
call: tu
|
|
6526
6590
|
}, Symbol.toStringTag, { value: "Module" })), ru = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6527
6591
|
__proto__: null
|
|
6528
6592
|
}, Symbol.toStringTag, { value: "Module" })), au = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -6533,11 +6597,8 @@ const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6533
6597
|
__proto__: null
|
|
6534
6598
|
}, Symbol.toStringTag, { value: "Module" })), iu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6535
6599
|
__proto__: null
|
|
6536
|
-
}, Symbol.toStringTag, { value: "Module" }))
|
|
6537
|
-
|
|
6538
|
-
const uu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6539
|
-
__proto__: null,
|
|
6540
|
-
CmsCategory: dn
|
|
6600
|
+
}, Symbol.toStringTag, { value: "Module" })), uu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6601
|
+
__proto__: null
|
|
6541
6602
|
}, Symbol.toStringTag, { value: "Module" })), lu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6542
6603
|
__proto__: null
|
|
6543
6604
|
}, Symbol.toStringTag, { value: "Module" })), cu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -6568,16 +6629,16 @@ const uu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6568
6629
|
__proto__: null
|
|
6569
6630
|
}, Symbol.toStringTag, { value: "Module" })), Du = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6570
6631
|
__proto__: null
|
|
6571
|
-
}, Symbol.toStringTag, { value: "Module" })), xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6572
|
-
__proto__: null
|
|
6573
6632
|
}, Symbol.toStringTag, { value: "Module" })), Pu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6574
6633
|
__proto__: null
|
|
6575
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6634
|
+
}, Symbol.toStringTag, { value: "Module" })), xu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6576
6635
|
__proto__: null
|
|
6577
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6636
|
+
}, Symbol.toStringTag, { value: "Module" })), Ru = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6578
6637
|
__proto__: null
|
|
6579
6638
|
}, Symbol.toStringTag, { value: "Module" })), Mu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6580
6639
|
__proto__: null
|
|
6640
|
+
}, Symbol.toStringTag, { value: "Module" })), Ou = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6641
|
+
__proto__: null
|
|
6581
6642
|
}, Symbol.toStringTag, { value: "Module" })), ku = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6582
6643
|
__proto__: null
|
|
6583
6644
|
}, Symbol.toStringTag, { value: "Module" })), Su = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -6600,7 +6661,7 @@ const uu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6600
6661
|
__proto__: null
|
|
6601
6662
|
}, Symbol.toStringTag, { value: "Module" })), Wu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6602
6663
|
__proto__: null
|
|
6603
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6664
|
+
}, Symbol.toStringTag, { value: "Module" })), Ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6604
6665
|
__proto__: null
|
|
6605
6666
|
}, Symbol.toStringTag, { value: "Module" })), Bt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6606
6667
|
__proto__: null
|
|
@@ -6612,10 +6673,10 @@ const uu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6612
6673
|
__proto__: null
|
|
6613
6674
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
6614
6675
|
var mn = /* @__PURE__ */ ((e) => (e.default = "default", e.online = "online", e.mycard = "mycard", e.qrcode = "qrcode", e.personal = "personal", e))(mn || {});
|
|
6615
|
-
const
|
|
6676
|
+
const Hu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6616
6677
|
__proto__: null,
|
|
6617
6678
|
ImageCategory: mn
|
|
6618
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6679
|
+
}, Symbol.toStringTag, { value: "Module" })), Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6619
6680
|
__proto__: null
|
|
6620
6681
|
}, Symbol.toStringTag, { value: "Module" })), Uu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6621
6682
|
__proto__: null
|
|
@@ -6683,16 +6744,16 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6683
6744
|
__proto__: null
|
|
6684
6745
|
}, Symbol.toStringTag, { value: "Module" })), Dl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6685
6746
|
__proto__: null
|
|
6686
|
-
}, Symbol.toStringTag, { value: "Module" })), xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6687
|
-
__proto__: null
|
|
6688
6747
|
}, Symbol.toStringTag, { value: "Module" })), Pl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6689
6748
|
__proto__: null
|
|
6690
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6749
|
+
}, Symbol.toStringTag, { value: "Module" })), xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6691
6750
|
__proto__: null
|
|
6692
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
6751
|
+
}, Symbol.toStringTag, { value: "Module" })), Rl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6693
6752
|
__proto__: null
|
|
6694
6753
|
}, Symbol.toStringTag, { value: "Module" })), Ml = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6695
6754
|
__proto__: null
|
|
6755
|
+
}, Symbol.toStringTag, { value: "Module" })), Ol = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6756
|
+
__proto__: null
|
|
6696
6757
|
}, Symbol.toStringTag, { value: "Module" })), kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6697
6758
|
__proto__: null
|
|
6698
6759
|
}, Symbol.toStringTag, { value: "Module" })), Sl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -6721,10 +6782,10 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6721
6782
|
__proto__: null
|
|
6722
6783
|
}, Symbol.toStringTag, { value: "Module" })), El = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6723
6784
|
__proto__: null
|
|
6724
|
-
}, Symbol.toStringTag, { value: "Module" })), Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6725
|
-
__proto__: null
|
|
6726
6785
|
}, Symbol.toStringTag, { value: "Module" })), Hl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6727
6786
|
__proto__: null
|
|
6787
|
+
}, Symbol.toStringTag, { value: "Module" })), Bl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6788
|
+
__proto__: null
|
|
6728
6789
|
}, Symbol.toStringTag, { value: "Module" })), Ul = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6729
6790
|
__proto__: null
|
|
6730
6791
|
}, Symbol.toStringTag, { value: "Module" })), $l = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -6758,24 +6819,24 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6758
6819
|
}, Symbol.toStringTag, { value: "Module" })), oc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6759
6820
|
__proto__: null
|
|
6760
6821
|
}, Symbol.toStringTag, { value: "Module" })), lc = {
|
|
6761
|
-
api:
|
|
6822
|
+
api: Ei,
|
|
6762
6823
|
config: bn,
|
|
6763
6824
|
telegramLoginApi: Bi,
|
|
6764
|
-
loginApi:
|
|
6765
|
-
logoutApi:
|
|
6766
|
-
autoRegisterApi:
|
|
6767
|
-
setLocaleApi:
|
|
6768
|
-
loadMatchApi:
|
|
6769
|
-
getMaintenanceModeApi:
|
|
6825
|
+
loginApi: $i,
|
|
6826
|
+
logoutApi: Ai,
|
|
6827
|
+
autoRegisterApi: Xi,
|
|
6828
|
+
setLocaleApi: Ji,
|
|
6829
|
+
loadMatchApi: eu,
|
|
6830
|
+
getMaintenanceModeApi: nu,
|
|
6770
6831
|
apiType: ts,
|
|
6771
|
-
loginType:
|
|
6772
|
-
logoutType:
|
|
6773
|
-
announcementType:
|
|
6832
|
+
loginType: ru,
|
|
6833
|
+
logoutType: au,
|
|
6834
|
+
announcementType: su,
|
|
6774
6835
|
paymentsProviderType: ns,
|
|
6775
|
-
gameListType:
|
|
6776
|
-
vipListType:
|
|
6777
|
-
promotionType:
|
|
6778
|
-
cmsListType:
|
|
6836
|
+
gameListType: ou,
|
|
6837
|
+
vipListType: iu,
|
|
6838
|
+
promotionType: uu,
|
|
6839
|
+
cmsListType: Yi,
|
|
6779
6840
|
mainWalletType: lu,
|
|
6780
6841
|
upcomingMatchType: cu,
|
|
6781
6842
|
depositType: du,
|
|
@@ -6793,11 +6854,11 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6793
6854
|
mailBoxType: vu,
|
|
6794
6855
|
fishGameListType: wu,
|
|
6795
6856
|
slotGameListType: Du,
|
|
6796
|
-
getTurnOverRewardDataType:
|
|
6797
|
-
getTurnOverRewardReportType:
|
|
6857
|
+
getTurnOverRewardDataType: Pu,
|
|
6858
|
+
getTurnOverRewardReportType: xu,
|
|
6798
6859
|
getInviteRewardDataType: Ru,
|
|
6799
|
-
getInviteRewardReportType:
|
|
6800
|
-
getTopupRewardDataType:
|
|
6860
|
+
getInviteRewardReportType: Mu,
|
|
6861
|
+
getTopupRewardDataType: Ou,
|
|
6801
6862
|
getTopupRewardReportType: ku,
|
|
6802
6863
|
getRewardReferralType: Su,
|
|
6803
6864
|
getDepositPromotionType: Iu,
|
|
@@ -6809,13 +6870,13 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6809
6870
|
getTurnOverRewardSettingType: zu,
|
|
6810
6871
|
requestForgetPasswordType: Gu,
|
|
6811
6872
|
submitForgetPasswordType: Wu,
|
|
6812
|
-
submitGiftCode:
|
|
6873
|
+
submitGiftCode: Ht,
|
|
6813
6874
|
playGame: Bt,
|
|
6814
6875
|
requestUpdateMobileTacCode: Yu,
|
|
6815
6876
|
submitUpdateMobileTacCode: qu,
|
|
6816
6877
|
getVerifyPromo: Eu,
|
|
6817
|
-
getImageType:
|
|
6818
|
-
getValidateType:
|
|
6878
|
+
getImageType: Hu,
|
|
6879
|
+
getValidateType: Bu,
|
|
6819
6880
|
updateProfilePictureType: Uu,
|
|
6820
6881
|
readMailType: $u,
|
|
6821
6882
|
checkRedPacketValidateType: Vu,
|
|
@@ -6826,7 +6887,7 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6826
6887
|
applySignInType: Ju,
|
|
6827
6888
|
applyRedPacketType: Ku,
|
|
6828
6889
|
getCountryType: el,
|
|
6829
|
-
submitGiftCodeType:
|
|
6890
|
+
submitGiftCodeType: Ht,
|
|
6830
6891
|
playGameType: Bt,
|
|
6831
6892
|
transferToMainType: tl,
|
|
6832
6893
|
transferProcessType: nl,
|
|
@@ -6852,11 +6913,11 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6852
6913
|
agTransferCreditReportType: vl,
|
|
6853
6914
|
betReportType: wl,
|
|
6854
6915
|
getTwoFactorAuthenticateType: Dl,
|
|
6855
|
-
submitTwoFactorAuthenticateType:
|
|
6856
|
-
getUserDeviceListType:
|
|
6916
|
+
submitTwoFactorAuthenticateType: Pl,
|
|
6917
|
+
getUserDeviceListType: xl,
|
|
6857
6918
|
unbindUserDeviceType: Rl,
|
|
6858
|
-
searchNumberHistoryType:
|
|
6859
|
-
changeWithdrawalCodeType:
|
|
6919
|
+
searchNumberHistoryType: Ml,
|
|
6920
|
+
changeWithdrawalCodeType: Ol,
|
|
6860
6921
|
checkRedPacketTokenType: kl,
|
|
6861
6922
|
submitWithdrawalAlipayType: Sl,
|
|
6862
6923
|
applyReliefFund: Il,
|
|
@@ -6872,8 +6933,8 @@ const Bu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6872
6933
|
getIncentiveRebate: ql,
|
|
6873
6934
|
getMissionData: pi,
|
|
6874
6935
|
getMissionClaim: El,
|
|
6875
|
-
registerFormType:
|
|
6876
|
-
getFavouriteGameType:
|
|
6936
|
+
registerFormType: Hl,
|
|
6937
|
+
getFavouriteGameType: Bl,
|
|
6877
6938
|
updateFavouriteGameType: Ul,
|
|
6878
6939
|
requestForgetUsernameType: $l,
|
|
6879
6940
|
submitForgetUsernameType: Vl,
|
|
@@ -6896,8 +6957,8 @@ export {
|
|
|
6896
6957
|
lc as Repository,
|
|
6897
6958
|
gu as addBankCardType,
|
|
6898
6959
|
vl as agTransferCreditReportType,
|
|
6899
|
-
|
|
6900
|
-
|
|
6960
|
+
su as announcementType,
|
|
6961
|
+
Ei as api,
|
|
6901
6962
|
ts as apiType,
|
|
6902
6963
|
Zu as applyPromoType,
|
|
6903
6964
|
Ku as applyRedPacketType,
|
|
@@ -6905,22 +6966,22 @@ export {
|
|
|
6905
6966
|
Ju as applySignInType,
|
|
6906
6967
|
mu as applyVipBonusType,
|
|
6907
6968
|
Fl as applyWeekCard,
|
|
6908
|
-
|
|
6969
|
+
Xi as autoRegisterApi,
|
|
6909
6970
|
wl as betReportType,
|
|
6910
6971
|
bu as changePasswordType,
|
|
6911
|
-
|
|
6972
|
+
Ol as changeWithdrawalCodeType,
|
|
6912
6973
|
kl as checkRedPacketTokenType,
|
|
6913
6974
|
Vu as checkRedPacketValidateType,
|
|
6914
6975
|
al as checkTransferCreditType,
|
|
6915
6976
|
Wl as claimIncentiveRebate,
|
|
6916
|
-
|
|
6977
|
+
Yi as cmsListType,
|
|
6917
6978
|
dl as commissionWithdrawType,
|
|
6918
6979
|
bn as config,
|
|
6919
6980
|
du as depositType,
|
|
6920
6981
|
wu as fishGameListType,
|
|
6921
6982
|
ol as friendListEditType,
|
|
6922
6983
|
sl as friendListType,
|
|
6923
|
-
|
|
6984
|
+
ou as gameListType,
|
|
6924
6985
|
Xl as getASCMatchCountType,
|
|
6925
6986
|
Al as getAccumulateDepositClaimType,
|
|
6926
6987
|
Di as getAccumulateDepositDataType,
|
|
@@ -6933,15 +6994,15 @@ export {
|
|
|
6933
6994
|
hu as getEventListType,
|
|
6934
6995
|
_u as getEventTokenType,
|
|
6935
6996
|
Tu as getExtraGameType,
|
|
6936
|
-
|
|
6937
|
-
|
|
6997
|
+
Bl as getFavouriteGameType,
|
|
6998
|
+
Hu as getImageType,
|
|
6938
6999
|
Yl as getIncentiveData,
|
|
6939
7000
|
ql as getIncentiveRebate,
|
|
6940
7001
|
Cu as getInviteRewardClaimType,
|
|
6941
7002
|
Ru as getInviteRewardDataType,
|
|
6942
|
-
|
|
7003
|
+
Mu as getInviteRewardReportType,
|
|
6943
7004
|
Lu as getInviteRewardSettingType,
|
|
6944
|
-
|
|
7005
|
+
nu as getMaintenanceModeApi,
|
|
6945
7006
|
El as getMissionClaim,
|
|
6946
7007
|
pi as getMissionData,
|
|
6947
7008
|
ec as getPopoutItemType,
|
|
@@ -6951,18 +7012,18 @@ export {
|
|
|
6951
7012
|
ri as getSettingType,
|
|
6952
7013
|
ju as getTopUpRewardClaimType,
|
|
6953
7014
|
Fu as getTopUpRewardSettingType,
|
|
6954
|
-
|
|
7015
|
+
Ou as getTopupRewardDataType,
|
|
6955
7016
|
ku as getTopupRewardReportType,
|
|
6956
7017
|
Nu as getTurnOverRewardClaimType,
|
|
6957
|
-
|
|
6958
|
-
|
|
7018
|
+
Pu as getTurnOverRewardDataType,
|
|
7019
|
+
xu as getTurnOverRewardReportType,
|
|
6959
7020
|
tc as getTurnOverRewardSettingMultType,
|
|
6960
7021
|
zu as getTurnOverRewardSettingType,
|
|
6961
7022
|
Dl as getTwoFactorAuthenticateType,
|
|
6962
|
-
|
|
7023
|
+
xl as getUserDeviceListType,
|
|
6963
7024
|
Au as getUserProfileType,
|
|
6964
7025
|
Xu as getUsernameByReferType,
|
|
6965
|
-
|
|
7026
|
+
Bu as getValidateType,
|
|
6966
7027
|
Eu as getVerifyPromo,
|
|
6967
7028
|
Nl as getWeekCardClaim,
|
|
6968
7029
|
Ll as getWeekCardData,
|
|
@@ -6971,23 +7032,23 @@ export {
|
|
|
6971
7032
|
ac as interestTransferInType,
|
|
6972
7033
|
sc as interestTransferOutType,
|
|
6973
7034
|
oc as interestWalletInfoType,
|
|
6974
|
-
|
|
6975
|
-
|
|
6976
|
-
|
|
6977
|
-
|
|
6978
|
-
|
|
7035
|
+
eu as loadMatchApi,
|
|
7036
|
+
$i as loginApi,
|
|
7037
|
+
ru as loginType,
|
|
7038
|
+
Ai as logoutApi,
|
|
7039
|
+
au as logoutType,
|
|
6979
7040
|
vu as mailBoxType,
|
|
6980
7041
|
lu as mainWalletType,
|
|
6981
7042
|
ns as paymentsProviderType,
|
|
6982
7043
|
Bt as playGame,
|
|
6983
7044
|
Bt as playGameType,
|
|
6984
|
-
|
|
7045
|
+
uu as promotionType,
|
|
6985
7046
|
$u as readMailType,
|
|
6986
7047
|
Ql as rebateRefundSettingType,
|
|
6987
7048
|
_l as referralMemberProfileType,
|
|
6988
7049
|
hl as referralProfileType,
|
|
6989
7050
|
Tl as registerActionType,
|
|
6990
|
-
|
|
7051
|
+
Hl as registerFormType,
|
|
6991
7052
|
Gu as requestForgetPasswordType,
|
|
6992
7053
|
$l as requestForgetUsernameType,
|
|
6993
7054
|
Qu as requestTacCodeType,
|
|
@@ -6995,18 +7056,18 @@ export {
|
|
|
6995
7056
|
Yu as requestUpdateMobileTacCode,
|
|
6996
7057
|
ll as requestWithdrawTacType,
|
|
6997
7058
|
cl as requestWithdrawalCodeType,
|
|
6998
|
-
|
|
6999
|
-
|
|
7059
|
+
Ml as searchNumberHistoryType,
|
|
7060
|
+
Ji as setLocaleApi,
|
|
7000
7061
|
yl as signInRecordType,
|
|
7001
7062
|
bl as signInViewInfoType,
|
|
7002
7063
|
Du as slotGameListType,
|
|
7003
7064
|
fl as submitCryptoAccountType,
|
|
7004
7065
|
Wu as submitForgetPasswordType,
|
|
7005
7066
|
Vl as submitForgetUsernameType,
|
|
7006
|
-
|
|
7007
|
-
|
|
7067
|
+
Ht as submitGiftCode,
|
|
7068
|
+
Ht as submitGiftCodeType,
|
|
7008
7069
|
pl as submitTransferMoneyType,
|
|
7009
|
-
|
|
7070
|
+
Pl as submitTwoFactorAuthenticateType,
|
|
7010
7071
|
qu as submitUpdateMobileTacCode,
|
|
7011
7072
|
rl as submitValidateType,
|
|
7012
7073
|
Sl as submitWithdrawalAlipayType,
|
|
@@ -7023,7 +7084,7 @@ export {
|
|
|
7023
7084
|
Zl as updateDeviceTokenType,
|
|
7024
7085
|
Ul as updateFavouriteGameType,
|
|
7025
7086
|
Uu as updateProfilePictureType,
|
|
7026
|
-
|
|
7087
|
+
iu as vipListType,
|
|
7027
7088
|
yu as walletType,
|
|
7028
7089
|
pu as withdrawType,
|
|
7029
7090
|
fu as withdrawalGetType
|