60p82u21t54k 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/60p82u21t54k.es.js
CHANGED
|
@@ -92,8 +92,8 @@ function Re() {
|
|
|
92
92
|
return On;
|
|
93
93
|
}
|
|
94
94
|
function fe(e, n) {
|
|
95
|
-
var d, g, f,
|
|
96
|
-
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 ?? ((
|
|
95
|
+
var d, g, f, y;
|
|
96
|
+
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 ?? ((y = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : y.weekStartsOn) ?? 0, a = W(e, n == null ? void 0 : n.in), s = a.getDay(), o = (s < r ? 7 : 0) + s - r;
|
|
97
97
|
return a.setDate(a.getDate() - o), a.setHours(0, 0, 0, 0), a;
|
|
98
98
|
}
|
|
99
99
|
function Oe(e, n) {
|
|
@@ -150,11 +150,11 @@ function Sn(e) {
|
|
|
150
150
|
function In(e) {
|
|
151
151
|
return !(!Sn(e) && typeof e != "number" || isNaN(+W(e)));
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function jn(e, n) {
|
|
154
154
|
const t = W(e, n == null ? void 0 : n.in);
|
|
155
155
|
return t.setFullYear(t.getFullYear(), 0, 1), t.setHours(0, 0, 0, 0), t;
|
|
156
156
|
}
|
|
157
|
-
const
|
|
157
|
+
const Cn = {
|
|
158
158
|
lessThanXSeconds: {
|
|
159
159
|
one: "less than a second",
|
|
160
160
|
other: "less than {{count}} seconds"
|
|
@@ -218,7 +218,7 @@ const jn = {
|
|
|
218
218
|
}
|
|
219
219
|
}, Nn = (e, n, t) => {
|
|
220
220
|
let r;
|
|
221
|
-
const a =
|
|
221
|
+
const a = Cn[e];
|
|
222
222
|
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;
|
|
223
223
|
};
|
|
224
224
|
function tt(e) {
|
|
@@ -263,7 +263,7 @@ const Ln = {
|
|
|
263
263
|
nextWeek: "eeee 'at' p",
|
|
264
264
|
other: "P"
|
|
265
265
|
}, Yn = (e, n, t, r) => Wn[e];
|
|
266
|
-
function
|
|
266
|
+
function Ce(e) {
|
|
267
267
|
return (n, t) => {
|
|
268
268
|
const r = t != null && t.context ? String(t.context) : "standalone";
|
|
269
269
|
let a;
|
|
@@ -405,24 +405,24 @@ const qn = {
|
|
|
405
405
|
return t + "th";
|
|
406
406
|
}, An = {
|
|
407
407
|
ordinalNumber: Vn,
|
|
408
|
-
era:
|
|
408
|
+
era: Ce({
|
|
409
409
|
values: qn,
|
|
410
410
|
defaultWidth: "wide"
|
|
411
411
|
}),
|
|
412
|
-
quarter:
|
|
412
|
+
quarter: Ce({
|
|
413
413
|
values: En,
|
|
414
414
|
defaultWidth: "wide",
|
|
415
415
|
argumentCallback: (e) => e - 1
|
|
416
416
|
}),
|
|
417
|
-
month:
|
|
417
|
+
month: Ce({
|
|
418
418
|
values: Hn,
|
|
419
419
|
defaultWidth: "wide"
|
|
420
420
|
}),
|
|
421
|
-
day:
|
|
421
|
+
day: Ce({
|
|
422
422
|
values: Bn,
|
|
423
423
|
defaultWidth: "wide"
|
|
424
424
|
}),
|
|
425
|
-
dayPeriod:
|
|
425
|
+
dayPeriod: Ce({
|
|
426
426
|
values: Un,
|
|
427
427
|
defaultWidth: "wide",
|
|
428
428
|
formattingValues: $n,
|
|
@@ -434,17 +434,17 @@ function Ne(e) {
|
|
|
434
434
|
const r = t.width, a = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], s = n.match(a);
|
|
435
435
|
if (!s)
|
|
436
436
|
return null;
|
|
437
|
-
const o = s[0], d = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], g = Array.isArray(d) ? Xn(d, (
|
|
437
|
+
const o = s[0], d = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], g = Array.isArray(d) ? Xn(d, (w) => w.test(o)) : (
|
|
438
438
|
// [TODO] -- I challenge you to fix the type
|
|
439
|
-
Qn(d, (
|
|
439
|
+
Qn(d, (w) => w.test(o))
|
|
440
440
|
);
|
|
441
441
|
let f;
|
|
442
442
|
f = e.valueCallback ? e.valueCallback(g) : g, f = t.valueCallback ? (
|
|
443
443
|
// [TODO] -- I challenge you to fix the type
|
|
444
444
|
t.valueCallback(f)
|
|
445
445
|
) : f;
|
|
446
|
-
const
|
|
447
|
-
return { value: f, rest:
|
|
446
|
+
const y = n.slice(o.length);
|
|
447
|
+
return { value: f, rest: y };
|
|
448
448
|
};
|
|
449
449
|
}
|
|
450
450
|
function Qn(e, n) {
|
|
@@ -587,15 +587,15 @@ const Jn = /^(\d+)(th|st|nd|rd)?/i, Kn = /\d+/i, er = {
|
|
|
587
587
|
};
|
|
588
588
|
function dr(e, n) {
|
|
589
589
|
const t = W(e, n == null ? void 0 : n.in);
|
|
590
|
-
return Mn(t,
|
|
590
|
+
return Mn(t, jn(t)) + 1;
|
|
591
591
|
}
|
|
592
592
|
function rn(e, n) {
|
|
593
593
|
const t = W(e, n == null ? void 0 : n.in), r = +Oe(t) - +kn(t);
|
|
594
594
|
return Math.round(r / Kt) + 1;
|
|
595
595
|
}
|
|
596
596
|
function gt(e, n) {
|
|
597
|
-
var
|
|
598
|
-
const t = W(e, n == null ? void 0 : n.in), r = t.getFullYear(), a = Re(), s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((
|
|
597
|
+
var y, w, _, p;
|
|
598
|
+
const t = W(e, n == null ? void 0 : n.in), r = t.getFullYear(), a = Re(), s = (n == null ? void 0 : n.firstWeekContainsDate) ?? ((w = (y = n == null ? void 0 : n.locale) == null ? void 0 : y.options) == null ? void 0 : w.firstWeekContainsDate) ?? a.firstWeekContainsDate ?? ((p = (_ = a.locale) == null ? void 0 : _.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, o = Y((n == null ? void 0 : n.in) || e, 0);
|
|
599
599
|
o.setFullYear(r + 1, 0, s), o.setHours(0, 0, 0, 0);
|
|
600
600
|
const d = fe(o, n), g = Y((n == null ? void 0 : n.in) || e, 0);
|
|
601
601
|
g.setFullYear(r, 0, s), g.setHours(0, 0, 0, 0);
|
|
@@ -603,15 +603,15 @@ function gt(e, n) {
|
|
|
603
603
|
return +t >= +d ? r + 1 : +t >= +f ? r : r - 1;
|
|
604
604
|
}
|
|
605
605
|
function mr(e, n) {
|
|
606
|
-
var d, g, f,
|
|
607
|
-
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 ?? ((
|
|
606
|
+
var d, g, f, y;
|
|
607
|
+
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 ?? ((y = (f = t.locale) == null ? void 0 : f.options) == null ? void 0 : y.firstWeekContainsDate) ?? 1, a = gt(e, n), s = Y((n == null ? void 0 : n.in) || e, 0);
|
|
608
608
|
return s.setFullYear(a, 0, r), s.setHours(0, 0, 0, 0), fe(s, n);
|
|
609
609
|
}
|
|
610
610
|
function an(e, n) {
|
|
611
611
|
const t = W(e, n == null ? void 0 : n.in), r = +fe(t, n) - +mr(t, n);
|
|
612
612
|
return Math.round(r / Kt) + 1;
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function R(e, n) {
|
|
615
615
|
const t = e < 0 ? "-" : "", r = Math.abs(e).toString().padStart(n, "0");
|
|
616
616
|
return t + r;
|
|
617
617
|
}
|
|
@@ -619,16 +619,16 @@ const me = {
|
|
|
619
619
|
// Year
|
|
620
620
|
y(e, n) {
|
|
621
621
|
const t = e.getFullYear(), r = t > 0 ? t : 1 - t;
|
|
622
|
-
return
|
|
622
|
+
return R(n === "yy" ? r % 100 : r, n.length);
|
|
623
623
|
},
|
|
624
624
|
// Month
|
|
625
625
|
M(e, n) {
|
|
626
626
|
const t = e.getMonth();
|
|
627
|
-
return n === "M" ? String(t + 1) :
|
|
627
|
+
return n === "M" ? String(t + 1) : R(t + 1, 2);
|
|
628
628
|
},
|
|
629
629
|
// Day of the month
|
|
630
630
|
d(e, n) {
|
|
631
|
-
return
|
|
631
|
+
return R(e.getDate(), n.length);
|
|
632
632
|
},
|
|
633
633
|
// AM or PM
|
|
634
634
|
a(e, n) {
|
|
@@ -648,26 +648,26 @@ const me = {
|
|
|
648
648
|
},
|
|
649
649
|
// Hour [1-12]
|
|
650
650
|
h(e, n) {
|
|
651
|
-
return
|
|
651
|
+
return R(e.getHours() % 12 || 12, n.length);
|
|
652
652
|
},
|
|
653
653
|
// Hour [0-23]
|
|
654
654
|
H(e, n) {
|
|
655
|
-
return
|
|
655
|
+
return R(e.getHours(), n.length);
|
|
656
656
|
},
|
|
657
657
|
// Minute
|
|
658
658
|
m(e, n) {
|
|
659
|
-
return
|
|
659
|
+
return R(e.getMinutes(), n.length);
|
|
660
660
|
},
|
|
661
661
|
// Second
|
|
662
662
|
s(e, n) {
|
|
663
|
-
return
|
|
663
|
+
return R(e.getSeconds(), n.length);
|
|
664
664
|
},
|
|
665
665
|
// Fraction of second
|
|
666
666
|
S(e, n) {
|
|
667
667
|
const t = n.length, r = e.getMilliseconds(), a = Math.trunc(
|
|
668
668
|
r * Math.pow(10, t - 3)
|
|
669
669
|
);
|
|
670
|
-
return
|
|
670
|
+
return R(a, n.length);
|
|
671
671
|
}
|
|
672
672
|
}, Pe = {
|
|
673
673
|
am: "am",
|
|
@@ -707,14 +707,14 @@ const me = {
|
|
|
707
707
|
const a = gt(e, r), s = a > 0 ? a : 1 - a;
|
|
708
708
|
if (n === "YY") {
|
|
709
709
|
const o = s % 100;
|
|
710
|
-
return
|
|
710
|
+
return R(o, 2);
|
|
711
711
|
}
|
|
712
|
-
return n === "Yo" ? t.ordinalNumber(s, { unit: "year" }) :
|
|
712
|
+
return n === "Yo" ? t.ordinalNumber(s, { unit: "year" }) : R(s, n.length);
|
|
713
713
|
},
|
|
714
714
|
// ISO week-numbering year
|
|
715
715
|
R: function(e, n) {
|
|
716
716
|
const t = tn(e);
|
|
717
|
-
return
|
|
717
|
+
return R(t, n.length);
|
|
718
718
|
},
|
|
719
719
|
// Extended year. This is a single number designating the year of this calendar system.
|
|
720
720
|
// The main difference between `y` and `u` localizers are B.C. years:
|
|
@@ -727,7 +727,7 @@ const me = {
|
|
|
727
727
|
// while `uu` pads single digit years to 2 characters and returns other years unchanged.
|
|
728
728
|
u: function(e, n) {
|
|
729
729
|
const t = e.getFullYear();
|
|
730
|
-
return
|
|
730
|
+
return R(t, n.length);
|
|
731
731
|
},
|
|
732
732
|
// Quarter
|
|
733
733
|
Q: function(e, n, t) {
|
|
@@ -736,7 +736,7 @@ const me = {
|
|
|
736
736
|
case "Q":
|
|
737
737
|
return String(r);
|
|
738
738
|
case "QQ":
|
|
739
|
-
return
|
|
739
|
+
return R(r, 2);
|
|
740
740
|
case "Qo":
|
|
741
741
|
return t.ordinalNumber(r, { unit: "quarter" });
|
|
742
742
|
case "QQQ":
|
|
@@ -764,7 +764,7 @@ const me = {
|
|
|
764
764
|
case "q":
|
|
765
765
|
return String(r);
|
|
766
766
|
case "qq":
|
|
767
|
-
return
|
|
767
|
+
return R(r, 2);
|
|
768
768
|
case "qo":
|
|
769
769
|
return t.ordinalNumber(r, { unit: "quarter" });
|
|
770
770
|
case "qqq":
|
|
@@ -816,7 +816,7 @@ const me = {
|
|
|
816
816
|
case "L":
|
|
817
817
|
return String(r + 1);
|
|
818
818
|
case "LL":
|
|
819
|
-
return
|
|
819
|
+
return R(r + 1, 2);
|
|
820
820
|
case "Lo":
|
|
821
821
|
return t.ordinalNumber(r + 1, { unit: "month" });
|
|
822
822
|
case "LLL":
|
|
@@ -837,12 +837,12 @@ const me = {
|
|
|
837
837
|
// Local week of year
|
|
838
838
|
w: function(e, n, t, r) {
|
|
839
839
|
const a = an(e, r);
|
|
840
|
-
return n === "wo" ? t.ordinalNumber(a, { unit: "week" }) :
|
|
840
|
+
return n === "wo" ? t.ordinalNumber(a, { unit: "week" }) : R(a, n.length);
|
|
841
841
|
},
|
|
842
842
|
// ISO week of year
|
|
843
843
|
I: function(e, n, t) {
|
|
844
844
|
const r = rn(e);
|
|
845
|
-
return n === "Io" ? t.ordinalNumber(r, { unit: "week" }) :
|
|
845
|
+
return n === "Io" ? t.ordinalNumber(r, { unit: "week" }) : R(r, n.length);
|
|
846
846
|
},
|
|
847
847
|
// Day of the month
|
|
848
848
|
d: function(e, n, t) {
|
|
@@ -851,7 +851,7 @@ const me = {
|
|
|
851
851
|
// Day of year
|
|
852
852
|
D: function(e, n, t) {
|
|
853
853
|
const r = dr(e);
|
|
854
|
-
return n === "Do" ? t.ordinalNumber(r, { unit: "dayOfYear" }) :
|
|
854
|
+
return n === "Do" ? t.ordinalNumber(r, { unit: "dayOfYear" }) : R(r, n.length);
|
|
855
855
|
},
|
|
856
856
|
// Day of week
|
|
857
857
|
E: function(e, n, t) {
|
|
@@ -889,7 +889,7 @@ const me = {
|
|
|
889
889
|
case "e":
|
|
890
890
|
return String(s);
|
|
891
891
|
case "ee":
|
|
892
|
-
return
|
|
892
|
+
return R(s, 2);
|
|
893
893
|
case "eo":
|
|
894
894
|
return t.ordinalNumber(s, { unit: "day" });
|
|
895
895
|
case "eee":
|
|
@@ -922,7 +922,7 @@ const me = {
|
|
|
922
922
|
case "c":
|
|
923
923
|
return String(s);
|
|
924
924
|
case "cc":
|
|
925
|
-
return
|
|
925
|
+
return R(s, n.length);
|
|
926
926
|
case "co":
|
|
927
927
|
return t.ordinalNumber(s, { unit: "day" });
|
|
928
928
|
case "ccc":
|
|
@@ -955,7 +955,7 @@ const me = {
|
|
|
955
955
|
case "i":
|
|
956
956
|
return String(a);
|
|
957
957
|
case "ii":
|
|
958
|
-
return
|
|
958
|
+
return R(a, n.length);
|
|
959
959
|
case "io":
|
|
960
960
|
return t.ordinalNumber(a, { unit: "day" });
|
|
961
961
|
case "iii":
|
|
@@ -1078,12 +1078,12 @@ const me = {
|
|
|
1078
1078
|
// Hour [0-11]
|
|
1079
1079
|
K: function(e, n, t) {
|
|
1080
1080
|
const r = e.getHours() % 12;
|
|
1081
|
-
return n === "Ko" ? t.ordinalNumber(r, { unit: "hour" }) :
|
|
1081
|
+
return n === "Ko" ? t.ordinalNumber(r, { unit: "hour" }) : R(r, n.length);
|
|
1082
1082
|
},
|
|
1083
1083
|
// Hour [1-24]
|
|
1084
1084
|
k: function(e, n, t) {
|
|
1085
1085
|
let r = e.getHours();
|
|
1086
|
-
return r === 0 && (r = 24), n === "ko" ? t.ordinalNumber(r, { unit: "hour" }) :
|
|
1086
|
+
return r === 0 && (r = 24), n === "ko" ? t.ordinalNumber(r, { unit: "hour" }) : R(r, n.length);
|
|
1087
1087
|
},
|
|
1088
1088
|
// Minute
|
|
1089
1089
|
m: function(e, n, t) {
|
|
@@ -1158,22 +1158,22 @@ const me = {
|
|
|
1158
1158
|
// Seconds timestamp
|
|
1159
1159
|
t: function(e, n, t) {
|
|
1160
1160
|
const r = Math.trunc(+e / 1e3);
|
|
1161
|
-
return
|
|
1161
|
+
return R(r, n.length);
|
|
1162
1162
|
},
|
|
1163
1163
|
// Milliseconds timestamp
|
|
1164
1164
|
T: function(e, n, t) {
|
|
1165
|
-
return
|
|
1165
|
+
return R(+e, n.length);
|
|
1166
1166
|
}
|
|
1167
1167
|
};
|
|
1168
1168
|
function Mt(e, n = "") {
|
|
1169
1169
|
const t = e > 0 ? "-" : "+", r = Math.abs(e), a = Math.trunc(r / 60), s = r % 60;
|
|
1170
|
-
return s === 0 ? t + String(a) : t + String(a) + n +
|
|
1170
|
+
return s === 0 ? t + String(a) : t + String(a) + n + R(s, 2);
|
|
1171
1171
|
}
|
|
1172
1172
|
function kt(e, n) {
|
|
1173
|
-
return e % 60 === 0 ? (e > 0 ? "-" : "+") +
|
|
1173
|
+
return e % 60 === 0 ? (e > 0 ? "-" : "+") + R(Math.abs(e) / 60, 2) : ye(e, n);
|
|
1174
1174
|
}
|
|
1175
1175
|
function ye(e, n = "") {
|
|
1176
|
-
const t = e > 0 ? "-" : "+", r = Math.abs(e), a =
|
|
1176
|
+
const t = e > 0 ? "-" : "+", r = Math.abs(e), a = R(Math.trunc(r / 60), 2), s = R(r % 60, 2);
|
|
1177
1177
|
return t + a + n + s;
|
|
1178
1178
|
}
|
|
1179
1179
|
const St = (e, n) => {
|
|
@@ -1241,30 +1241,30 @@ function yr(e, n, t) {
|
|
|
1241
1241
|
}
|
|
1242
1242
|
const hr = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, _r = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, Tr = /^'([^]*?)'?$/, vr = /''/g, wr = /[a-zA-Z]/;
|
|
1243
1243
|
function Dr(e, n, t) {
|
|
1244
|
-
var
|
|
1245
|
-
const r = Re(), a = (t == null ? void 0 : t.locale) ?? r.locale ?? nn, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((
|
|
1244
|
+
var y, w, _, p, M, C, U, $;
|
|
1245
|
+
const r = Re(), a = (t == null ? void 0 : t.locale) ?? r.locale ?? nn, s = (t == null ? void 0 : t.firstWeekContainsDate) ?? ((w = (y = t == null ? void 0 : t.locale) == null ? void 0 : y.options) == null ? void 0 : w.firstWeekContainsDate) ?? r.firstWeekContainsDate ?? ((p = (_ = r.locale) == null ? void 0 : _.options) == null ? void 0 : p.firstWeekContainsDate) ?? 1, o = (t == null ? void 0 : t.weekStartsOn) ?? ((C = (M = t == null ? void 0 : t.locale) == null ? void 0 : M.options) == null ? void 0 : C.weekStartsOn) ?? r.weekStartsOn ?? (($ = (U = r.locale) == null ? void 0 : U.options) == null ? void 0 : $.weekStartsOn) ?? 0, d = W(e, t == null ? void 0 : t.in);
|
|
1246
1246
|
if (!In(d))
|
|
1247
1247
|
throw new RangeError("Invalid time value");
|
|
1248
|
-
let g = n.match(_r).map((
|
|
1249
|
-
const
|
|
1250
|
-
if (
|
|
1251
|
-
const T = ct[
|
|
1252
|
-
return T(
|
|
1248
|
+
let g = n.match(_r).map((I) => {
|
|
1249
|
+
const k = I[0];
|
|
1250
|
+
if (k === "p" || k === "P") {
|
|
1251
|
+
const T = ct[k];
|
|
1252
|
+
return T(I, a.formatLong);
|
|
1253
1253
|
}
|
|
1254
|
-
return
|
|
1255
|
-
}).join("").match(hr).map((
|
|
1256
|
-
if (
|
|
1254
|
+
return I;
|
|
1255
|
+
}).join("").match(hr).map((I) => {
|
|
1256
|
+
if (I === "''")
|
|
1257
1257
|
return { isToken: !1, value: "'" };
|
|
1258
|
-
const
|
|
1259
|
-
if (
|
|
1260
|
-
return { isToken: !1, value: Pr(
|
|
1261
|
-
if (Rt[
|
|
1262
|
-
return { isToken: !0, value:
|
|
1263
|
-
if (
|
|
1258
|
+
const k = I[0];
|
|
1259
|
+
if (k === "'")
|
|
1260
|
+
return { isToken: !1, value: Pr(I) };
|
|
1261
|
+
if (Rt[k])
|
|
1262
|
+
return { isToken: !0, value: I };
|
|
1263
|
+
if (k.match(wr))
|
|
1264
1264
|
throw new RangeError(
|
|
1265
|
-
"Format string contains an unescaped latin alphabet character `" +
|
|
1265
|
+
"Format string contains an unescaped latin alphabet character `" + k + "`"
|
|
1266
1266
|
);
|
|
1267
|
-
return { isToken: !1, value:
|
|
1267
|
+
return { isToken: !1, value: I };
|
|
1268
1268
|
});
|
|
1269
1269
|
a.localize.preprocessor && (g = a.localize.preprocessor(d, g));
|
|
1270
1270
|
const f = {
|
|
@@ -1272,12 +1272,12 @@ function Dr(e, n, t) {
|
|
|
1272
1272
|
weekStartsOn: o,
|
|
1273
1273
|
locale: a
|
|
1274
1274
|
};
|
|
1275
|
-
return g.map((
|
|
1276
|
-
if (!
|
|
1277
|
-
const
|
|
1278
|
-
(!(t != null && t.useAdditionalWeekYearTokens) && un(
|
|
1279
|
-
const T = Rt[
|
|
1280
|
-
return T(d,
|
|
1275
|
+
return g.map((I) => {
|
|
1276
|
+
if (!I.isToken) return I.value;
|
|
1277
|
+
const k = I.value;
|
|
1278
|
+
(!(t != null && t.useAdditionalWeekYearTokens) && un(k) || !(t != null && t.useAdditionalDayOfYearTokens) && on(k)) && dt(k, n, String(e));
|
|
1279
|
+
const T = Rt[k[0]];
|
|
1280
|
+
return T(d, k, a.localize, f);
|
|
1281
1281
|
}).join("");
|
|
1282
1282
|
}
|
|
1283
1283
|
function Pr(e) {
|
|
@@ -1335,7 +1335,7 @@ class Sr extends cn {
|
|
|
1335
1335
|
return r.timestampIsSet ? t : Y(t, Or(t, this.context));
|
|
1336
1336
|
}
|
|
1337
1337
|
}
|
|
1338
|
-
class
|
|
1338
|
+
class x {
|
|
1339
1339
|
run(n, t, r, a) {
|
|
1340
1340
|
const s = this.parse(n, t, r, a);
|
|
1341
1341
|
return s ? {
|
|
@@ -1353,7 +1353,7 @@ class O {
|
|
|
1353
1353
|
return !0;
|
|
1354
1354
|
}
|
|
1355
1355
|
}
|
|
1356
|
-
class Ir extends
|
|
1356
|
+
class Ir extends x {
|
|
1357
1357
|
constructor() {
|
|
1358
1358
|
super(...arguments);
|
|
1359
1359
|
h(this, "priority", 140);
|
|
@@ -1511,7 +1511,7 @@ function mn(e, n) {
|
|
|
1511
1511
|
function fn(e) {
|
|
1512
1512
|
return e % 400 === 0 || e % 4 === 0 && e % 100 !== 0;
|
|
1513
1513
|
}
|
|
1514
|
-
class
|
|
1514
|
+
class jr extends x {
|
|
1515
1515
|
constructor() {
|
|
1516
1516
|
super(...arguments);
|
|
1517
1517
|
h(this, "priority", 130);
|
|
@@ -1552,7 +1552,7 @@ class Cr extends O {
|
|
|
1552
1552
|
return t.setFullYear(o, 0, 1), t.setHours(0, 0, 0, 0), t;
|
|
1553
1553
|
}
|
|
1554
1554
|
}
|
|
1555
|
-
class
|
|
1555
|
+
class Cr extends x {
|
|
1556
1556
|
constructor() {
|
|
1557
1557
|
super(...arguments);
|
|
1558
1558
|
h(this, "priority", 130);
|
|
@@ -1611,7 +1611,7 @@ class jr extends O {
|
|
|
1611
1611
|
return t.setFullYear(d, 0, s.firstWeekContainsDate), t.setHours(0, 0, 0, 0), fe(t, s);
|
|
1612
1612
|
}
|
|
1613
1613
|
}
|
|
1614
|
-
class Nr extends
|
|
1614
|
+
class Nr extends x {
|
|
1615
1615
|
constructor() {
|
|
1616
1616
|
super(...arguments);
|
|
1617
1617
|
h(this, "priority", 130);
|
|
@@ -1641,7 +1641,7 @@ class Nr extends O {
|
|
|
1641
1641
|
return s.setFullYear(a, 0, 4), s.setHours(0, 0, 0, 0), Oe(s);
|
|
1642
1642
|
}
|
|
1643
1643
|
}
|
|
1644
|
-
class Lr extends
|
|
1644
|
+
class Lr extends x {
|
|
1645
1645
|
constructor() {
|
|
1646
1646
|
super(...arguments);
|
|
1647
1647
|
h(this, "priority", 130);
|
|
@@ -1654,7 +1654,7 @@ class Lr extends O {
|
|
|
1654
1654
|
return t.setFullYear(a, 0, 1), t.setHours(0, 0, 0, 0), t;
|
|
1655
1655
|
}
|
|
1656
1656
|
}
|
|
1657
|
-
class Fr extends
|
|
1657
|
+
class Fr extends x {
|
|
1658
1658
|
constructor() {
|
|
1659
1659
|
super(...arguments);
|
|
1660
1660
|
h(this, "priority", 120);
|
|
@@ -1716,7 +1716,7 @@ class Fr extends O {
|
|
|
1716
1716
|
return t.setMonth((a - 1) * 3, 1), t.setHours(0, 0, 0, 0), t;
|
|
1717
1717
|
}
|
|
1718
1718
|
}
|
|
1719
|
-
class zr extends
|
|
1719
|
+
class zr extends x {
|
|
1720
1720
|
constructor() {
|
|
1721
1721
|
super(...arguments);
|
|
1722
1722
|
h(this, "priority", 120);
|
|
@@ -1778,7 +1778,7 @@ class zr extends O {
|
|
|
1778
1778
|
return t.setMonth((a - 1) * 3, 1), t.setHours(0, 0, 0, 0), t;
|
|
1779
1779
|
}
|
|
1780
1780
|
}
|
|
1781
|
-
class Gr extends
|
|
1781
|
+
class Gr extends x {
|
|
1782
1782
|
constructor() {
|
|
1783
1783
|
super(...arguments);
|
|
1784
1784
|
h(this, "incompatibleTokens", [
|
|
@@ -1840,7 +1840,7 @@ class Gr extends O {
|
|
|
1840
1840
|
return t.setMonth(a, 1), t.setHours(0, 0, 0, 0), t;
|
|
1841
1841
|
}
|
|
1842
1842
|
}
|
|
1843
|
-
class Wr extends
|
|
1843
|
+
class Wr extends x {
|
|
1844
1844
|
constructor() {
|
|
1845
1845
|
super(...arguments);
|
|
1846
1846
|
h(this, "priority", 110);
|
|
@@ -1906,7 +1906,7 @@ function Yr(e, n, t) {
|
|
|
1906
1906
|
const r = W(e, t == null ? void 0 : t.in), a = an(r, t) - n;
|
|
1907
1907
|
return r.setDate(r.getDate() - a * 7), W(r, t == null ? void 0 : t.in);
|
|
1908
1908
|
}
|
|
1909
|
-
class qr extends
|
|
1909
|
+
class qr extends x {
|
|
1910
1910
|
constructor() {
|
|
1911
1911
|
super(...arguments);
|
|
1912
1912
|
h(this, "priority", 100);
|
|
@@ -1947,7 +1947,7 @@ function Er(e, n, t) {
|
|
|
1947
1947
|
const r = W(e, t == null ? void 0 : t.in), a = rn(r, t) - n;
|
|
1948
1948
|
return r.setDate(r.getDate() - a * 7), r;
|
|
1949
1949
|
}
|
|
1950
|
-
class Hr extends
|
|
1950
|
+
class Hr extends x {
|
|
1951
1951
|
constructor() {
|
|
1952
1952
|
super(...arguments);
|
|
1953
1953
|
h(this, "priority", 100);
|
|
@@ -1999,7 +1999,7 @@ const Br = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31], Ur = [
|
|
|
1999
1999
|
30,
|
|
2000
2000
|
31
|
|
2001
2001
|
];
|
|
2002
|
-
class $r extends
|
|
2002
|
+
class $r extends x {
|
|
2003
2003
|
constructor() {
|
|
2004
2004
|
super(...arguments);
|
|
2005
2005
|
h(this, "priority", 90);
|
|
@@ -2037,7 +2037,7 @@ class $r extends O {
|
|
|
2037
2037
|
return t.setDate(a), t.setHours(0, 0, 0, 0), t;
|
|
2038
2038
|
}
|
|
2039
2039
|
}
|
|
2040
|
-
class Vr extends
|
|
2040
|
+
class Vr extends x {
|
|
2041
2041
|
constructor() {
|
|
2042
2042
|
super(...arguments);
|
|
2043
2043
|
h(this, "priority", 90);
|
|
@@ -2080,11 +2080,11 @@ class Vr extends O {
|
|
|
2080
2080
|
}
|
|
2081
2081
|
}
|
|
2082
2082
|
function bt(e, n, t) {
|
|
2083
|
-
var
|
|
2084
|
-
const r = Re(), a = (t == null ? void 0 : t.weekStartsOn) ?? ((_ = (
|
|
2085
|
-
return en(s,
|
|
2083
|
+
var w, _, p, M;
|
|
2084
|
+
const r = Re(), a = (t == null ? void 0 : t.weekStartsOn) ?? ((_ = (w = t == null ? void 0 : t.locale) == null ? void 0 : w.options) == null ? void 0 : _.weekStartsOn) ?? r.weekStartsOn ?? ((M = (p = r.locale) == null ? void 0 : p.options) == null ? void 0 : M.weekStartsOn) ?? 0, s = W(e, t == null ? void 0 : t.in), o = s.getDay(), g = (n % 7 + 7) % 7, f = 7 - a, y = n < 0 || n > 6 ? n - (o + f) % 7 : (g + f) % 7 - (o + f) % 7;
|
|
2085
|
+
return en(s, y, t);
|
|
2086
2086
|
}
|
|
2087
|
-
class Ar extends
|
|
2087
|
+
class Ar extends x {
|
|
2088
2088
|
constructor() {
|
|
2089
2089
|
super(...arguments);
|
|
2090
2090
|
h(this, "priority", 90);
|
|
@@ -2121,7 +2121,7 @@ class Ar extends O {
|
|
|
2121
2121
|
return t = bt(t, a, s), t.setHours(0, 0, 0, 0), t;
|
|
2122
2122
|
}
|
|
2123
2123
|
}
|
|
2124
|
-
class Qr extends
|
|
2124
|
+
class Qr extends x {
|
|
2125
2125
|
constructor() {
|
|
2126
2126
|
super(...arguments);
|
|
2127
2127
|
h(this, "priority", 90);
|
|
@@ -2186,7 +2186,7 @@ class Qr extends O {
|
|
|
2186
2186
|
return t = bt(t, a, s), t.setHours(0, 0, 0, 0), t;
|
|
2187
2187
|
}
|
|
2188
2188
|
}
|
|
2189
|
-
class Xr extends
|
|
2189
|
+
class Xr extends x {
|
|
2190
2190
|
constructor() {
|
|
2191
2191
|
super(...arguments);
|
|
2192
2192
|
h(this, "priority", 90);
|
|
@@ -2255,7 +2255,7 @@ function Zr(e, n, t) {
|
|
|
2255
2255
|
const r = W(e, t == null ? void 0 : t.in), a = xr(r, t), s = n - a;
|
|
2256
2256
|
return en(r, s, t);
|
|
2257
2257
|
}
|
|
2258
|
-
class Jr extends
|
|
2258
|
+
class Jr extends x {
|
|
2259
2259
|
constructor() {
|
|
2260
2260
|
super(...arguments);
|
|
2261
2261
|
h(this, "priority", 90);
|
|
@@ -2345,7 +2345,7 @@ class Jr extends O {
|
|
|
2345
2345
|
return t = Zr(t, a), t.setHours(0, 0, 0, 0), t;
|
|
2346
2346
|
}
|
|
2347
2347
|
}
|
|
2348
|
-
class Kr extends
|
|
2348
|
+
class Kr extends x {
|
|
2349
2349
|
constructor() {
|
|
2350
2350
|
super(...arguments);
|
|
2351
2351
|
h(this, "priority", 80);
|
|
@@ -2386,7 +2386,7 @@ class Kr extends O {
|
|
|
2386
2386
|
return t.setHours(pt(a), 0, 0, 0), t;
|
|
2387
2387
|
}
|
|
2388
2388
|
}
|
|
2389
|
-
class ea extends
|
|
2389
|
+
class ea extends x {
|
|
2390
2390
|
constructor() {
|
|
2391
2391
|
super(...arguments);
|
|
2392
2392
|
h(this, "priority", 80);
|
|
@@ -2427,7 +2427,7 @@ class ea extends O {
|
|
|
2427
2427
|
return t.setHours(pt(a), 0, 0, 0), t;
|
|
2428
2428
|
}
|
|
2429
2429
|
}
|
|
2430
|
-
class ta extends
|
|
2430
|
+
class ta extends x {
|
|
2431
2431
|
constructor() {
|
|
2432
2432
|
super(...arguments);
|
|
2433
2433
|
h(this, "priority", 80);
|
|
@@ -2468,7 +2468,7 @@ class ta extends O {
|
|
|
2468
2468
|
return t.setHours(pt(a), 0, 0, 0), t;
|
|
2469
2469
|
}
|
|
2470
2470
|
}
|
|
2471
|
-
class na extends
|
|
2471
|
+
class na extends x {
|
|
2472
2472
|
constructor() {
|
|
2473
2473
|
super(...arguments);
|
|
2474
2474
|
h(this, "priority", 70);
|
|
@@ -2492,7 +2492,7 @@ class na extends O {
|
|
|
2492
2492
|
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;
|
|
2493
2493
|
}
|
|
2494
2494
|
}
|
|
2495
|
-
class ra extends
|
|
2495
|
+
class ra extends x {
|
|
2496
2496
|
constructor() {
|
|
2497
2497
|
super(...arguments);
|
|
2498
2498
|
h(this, "priority", 70);
|
|
@@ -2515,7 +2515,7 @@ class ra extends O {
|
|
|
2515
2515
|
return t.setHours(a, 0, 0, 0), t;
|
|
2516
2516
|
}
|
|
2517
2517
|
}
|
|
2518
|
-
class aa extends
|
|
2518
|
+
class aa extends x {
|
|
2519
2519
|
constructor() {
|
|
2520
2520
|
super(...arguments);
|
|
2521
2521
|
h(this, "priority", 70);
|
|
@@ -2538,7 +2538,7 @@ class aa extends O {
|
|
|
2538
2538
|
return t.getHours() >= 12 && a < 12 ? t.setHours(a + 12, 0, 0, 0) : t.setHours(a, 0, 0, 0), t;
|
|
2539
2539
|
}
|
|
2540
2540
|
}
|
|
2541
|
-
class sa extends
|
|
2541
|
+
class sa extends x {
|
|
2542
2542
|
constructor() {
|
|
2543
2543
|
super(...arguments);
|
|
2544
2544
|
h(this, "priority", 70);
|
|
@@ -2562,7 +2562,7 @@ class sa extends O {
|
|
|
2562
2562
|
return t.setHours(s, 0, 0, 0), t;
|
|
2563
2563
|
}
|
|
2564
2564
|
}
|
|
2565
|
-
class oa extends
|
|
2565
|
+
class oa extends x {
|
|
2566
2566
|
constructor() {
|
|
2567
2567
|
super(...arguments);
|
|
2568
2568
|
h(this, "priority", 60);
|
|
@@ -2585,7 +2585,7 @@ class oa extends O {
|
|
|
2585
2585
|
return t.setMinutes(a, 0, 0), t;
|
|
2586
2586
|
}
|
|
2587
2587
|
}
|
|
2588
|
-
class ia extends
|
|
2588
|
+
class ia extends x {
|
|
2589
2589
|
constructor() {
|
|
2590
2590
|
super(...arguments);
|
|
2591
2591
|
h(this, "priority", 50);
|
|
@@ -2608,7 +2608,7 @@ class ia extends O {
|
|
|
2608
2608
|
return t.setSeconds(a, 0), t;
|
|
2609
2609
|
}
|
|
2610
2610
|
}
|
|
2611
|
-
class ua extends
|
|
2611
|
+
class ua extends x {
|
|
2612
2612
|
constructor() {
|
|
2613
2613
|
super(...arguments);
|
|
2614
2614
|
h(this, "priority", 30);
|
|
@@ -2622,7 +2622,7 @@ class ua extends O {
|
|
|
2622
2622
|
return t.setMilliseconds(a), t;
|
|
2623
2623
|
}
|
|
2624
2624
|
}
|
|
2625
|
-
class la extends
|
|
2625
|
+
class la extends x {
|
|
2626
2626
|
constructor() {
|
|
2627
2627
|
super(...arguments);
|
|
2628
2628
|
h(this, "priority", 10);
|
|
@@ -2659,7 +2659,7 @@ class la extends O {
|
|
|
2659
2659
|
);
|
|
2660
2660
|
}
|
|
2661
2661
|
}
|
|
2662
|
-
class ca extends
|
|
2662
|
+
class ca extends x {
|
|
2663
2663
|
constructor() {
|
|
2664
2664
|
super(...arguments);
|
|
2665
2665
|
h(this, "priority", 10);
|
|
@@ -2696,7 +2696,7 @@ class ca extends O {
|
|
|
2696
2696
|
);
|
|
2697
2697
|
}
|
|
2698
2698
|
}
|
|
2699
|
-
class da extends
|
|
2699
|
+
class da extends x {
|
|
2700
2700
|
constructor() {
|
|
2701
2701
|
super(...arguments);
|
|
2702
2702
|
h(this, "priority", 40);
|
|
@@ -2709,7 +2709,7 @@ class da extends O {
|
|
|
2709
2709
|
return [Y(t, a * 1e3), { timestampIsSet: !0 }];
|
|
2710
2710
|
}
|
|
2711
2711
|
}
|
|
2712
|
-
class ma extends
|
|
2712
|
+
class ma extends x {
|
|
2713
2713
|
constructor() {
|
|
2714
2714
|
super(...arguments);
|
|
2715
2715
|
h(this, "priority", 20);
|
|
@@ -2724,8 +2724,8 @@ class ma extends O {
|
|
|
2724
2724
|
}
|
|
2725
2725
|
const fa = {
|
|
2726
2726
|
G: new Ir(),
|
|
2727
|
-
y: new
|
|
2728
|
-
Y: new
|
|
2727
|
+
y: new jr(),
|
|
2728
|
+
Y: new Cr(),
|
|
2729
2729
|
R: new Nr(),
|
|
2730
2730
|
u: new Lr(),
|
|
2731
2731
|
Q: new Fr(),
|
|
@@ -2756,27 +2756,27 @@ const fa = {
|
|
|
2756
2756
|
T: new ma()
|
|
2757
2757
|
}, ga = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, pa = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, ba = /^'([^]*?)'?$/, ya = /''/g, ha = /\S/, _a = /[a-zA-Z]/;
|
|
2758
2758
|
function Ta(e, n, t, r) {
|
|
2759
|
-
var
|
|
2760
|
-
const a = () => Y(t, NaN), s = ln(), o = s.locale ?? nn, d = s.firstWeekContainsDate ?? ((
|
|
2759
|
+
var U, $, I, k;
|
|
2760
|
+
const a = () => Y(t, NaN), s = ln(), o = s.locale ?? nn, d = s.firstWeekContainsDate ?? (($ = (U = s.locale) == null ? void 0 : U.options) == null ? void 0 : $.firstWeekContainsDate) ?? 1, g = s.weekStartsOn ?? ((k = (I = s.locale) == null ? void 0 : I.options) == null ? void 0 : k.weekStartsOn) ?? 0, f = {
|
|
2761
2761
|
firstWeekContainsDate: d,
|
|
2762
2762
|
weekStartsOn: g,
|
|
2763
2763
|
locale: o
|
|
2764
|
-
},
|
|
2765
|
-
const
|
|
2766
|
-
if (
|
|
2767
|
-
const q = ct[
|
|
2764
|
+
}, y = [new Sr(r == null ? void 0 : r.in, t)], w = n.match(pa).map((T) => {
|
|
2765
|
+
const O = T[0];
|
|
2766
|
+
if (O in ct) {
|
|
2767
|
+
const q = ct[O];
|
|
2768
2768
|
return q(T, o.formatLong);
|
|
2769
2769
|
}
|
|
2770
2770
|
return T;
|
|
2771
2771
|
}).join("").match(ga), _ = [];
|
|
2772
|
-
for (let T of
|
|
2772
|
+
for (let T of w) {
|
|
2773
2773
|
un(T) && dt(T, n, e), on(T) && dt(T, n, e);
|
|
2774
|
-
const
|
|
2774
|
+
const O = T[0], q = fa[O];
|
|
2775
2775
|
if (q) {
|
|
2776
2776
|
const { incompatibleTokens: le } = q;
|
|
2777
2777
|
if (Array.isArray(le)) {
|
|
2778
2778
|
const ce = _.find(
|
|
2779
|
-
(de) => le.includes(de.token) || de.token ===
|
|
2779
|
+
(de) => le.includes(de.token) || de.token === O
|
|
2780
2780
|
);
|
|
2781
2781
|
if (ce)
|
|
2782
2782
|
throw new RangeError(
|
|
@@ -2786,7 +2786,7 @@ function Ta(e, n, t, r) {
|
|
|
2786
2786
|
throw new RangeError(
|
|
2787
2787
|
`The format string mustn't contain \`${T}\` and any other token at the same time`
|
|
2788
2788
|
);
|
|
2789
|
-
_.push({ token:
|
|
2789
|
+
_.push({ token: O, fullToken: T });
|
|
2790
2790
|
const se = q.run(
|
|
2791
2791
|
e,
|
|
2792
2792
|
T,
|
|
@@ -2795,13 +2795,13 @@ function Ta(e, n, t, r) {
|
|
|
2795
2795
|
);
|
|
2796
2796
|
if (!se)
|
|
2797
2797
|
return a();
|
|
2798
|
-
|
|
2798
|
+
y.push(se.setter), e = se.rest;
|
|
2799
2799
|
} else {
|
|
2800
|
-
if (
|
|
2800
|
+
if (O.match(_a))
|
|
2801
2801
|
throw new RangeError(
|
|
2802
|
-
"Format string contains an unescaped latin alphabet character `" +
|
|
2802
|
+
"Format string contains an unescaped latin alphabet character `" + O + "`"
|
|
2803
2803
|
);
|
|
2804
|
-
if (T === "''" ? T = "'" :
|
|
2804
|
+
if (T === "''" ? T = "'" : O === "'" && (T = va(T)), e.indexOf(T) === 0)
|
|
2805
2805
|
e = e.slice(T.length);
|
|
2806
2806
|
else
|
|
2807
2807
|
return a();
|
|
@@ -2809,17 +2809,17 @@ function Ta(e, n, t, r) {
|
|
|
2809
2809
|
}
|
|
2810
2810
|
if (e.length > 0 && ha.test(e))
|
|
2811
2811
|
return a();
|
|
2812
|
-
const p =
|
|
2813
|
-
(T) =>
|
|
2812
|
+
const p = y.map((T) => T.priority).sort((T, O) => O - T).filter((T, O, q) => q.indexOf(T) === O).map(
|
|
2813
|
+
(T) => y.filter((O) => O.priority === T).sort((O, q) => q.subPriority - O.subPriority)
|
|
2814
2814
|
).map((T) => T[0]);
|
|
2815
2815
|
let M = W(t, r == null ? void 0 : r.in);
|
|
2816
2816
|
if (isNaN(+M)) return a();
|
|
2817
|
-
const
|
|
2817
|
+
const C = {};
|
|
2818
2818
|
for (const T of p) {
|
|
2819
2819
|
if (!T.validate(M, f))
|
|
2820
2820
|
return a();
|
|
2821
|
-
const
|
|
2822
|
-
Array.isArray(
|
|
2821
|
+
const O = T.set(M, C, f);
|
|
2822
|
+
Array.isArray(O) ? (M = O[0], Object.assign(C, O[1])) : M = O;
|
|
2823
2823
|
}
|
|
2824
2824
|
return M;
|
|
2825
2825
|
}
|
|
@@ -2883,7 +2883,7 @@ function Ma(e, n) {
|
|
|
2883
2883
|
parseInt(r[6], 10)
|
|
2884
2884
|
];
|
|
2885
2885
|
}
|
|
2886
|
-
const nt = {},
|
|
2886
|
+
const nt = {}, jt = new Intl.DateTimeFormat("en-US", {
|
|
2887
2887
|
hourCycle: "h23",
|
|
2888
2888
|
timeZone: "America/New_York",
|
|
2889
2889
|
year: "numeric",
|
|
@@ -2892,7 +2892,7 @@ const nt = {}, Ct = new Intl.DateTimeFormat("en-US", {
|
|
|
2892
2892
|
hour: "2-digit",
|
|
2893
2893
|
minute: "2-digit",
|
|
2894
2894
|
second: "2-digit"
|
|
2895
|
-
}).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), ka =
|
|
2895
|
+
}).format(/* @__PURE__ */ new Date("2014-06-25T04:00:00.123Z")), ka = jt === "06/25/2014, 00:00:00" || jt === "06/25/2014 00:00:00";
|
|
2896
2896
|
function Sa(e) {
|
|
2897
2897
|
return nt[e] || (nt[e] = ka ? new Intl.DateTimeFormat("en-US", {
|
|
2898
2898
|
hourCycle: "h23",
|
|
@@ -2918,7 +2918,7 @@ function yt(e, n, t, r, a, s, o) {
|
|
|
2918
2918
|
const d = /* @__PURE__ */ new Date(0);
|
|
2919
2919
|
return d.setUTCFullYear(e, n, t), d.setUTCHours(r, a, s, o), d;
|
|
2920
2920
|
}
|
|
2921
|
-
const
|
|
2921
|
+
const Ct = 36e5, Ia = 6e4, rt = {
|
|
2922
2922
|
timezone: /([Z+-].*)$/,
|
|
2923
2923
|
timezoneZ: /^(Z)$/,
|
|
2924
2924
|
timezoneHH: /^([+-]\d{2})$/,
|
|
@@ -2932,20 +2932,20 @@ function $e(e, n, t) {
|
|
|
2932
2932
|
return 0;
|
|
2933
2933
|
let a, s;
|
|
2934
2934
|
if (r = rt.timezoneHH.exec(e), r)
|
|
2935
|
-
return a = parseInt(r[1], 10), Nt(a) ? -(a *
|
|
2935
|
+
return a = parseInt(r[1], 10), Nt(a) ? -(a * Ct) : NaN;
|
|
2936
2936
|
if (r = rt.timezoneHHMM.exec(e), r) {
|
|
2937
2937
|
a = parseInt(r[2], 10);
|
|
2938
2938
|
const o = parseInt(r[3], 10);
|
|
2939
|
-
return Nt(a, o) ? (s = Math.abs(a) *
|
|
2939
|
+
return Nt(a, o) ? (s = Math.abs(a) * Ct + o * Ia, r[1] === "+" ? -s : s) : NaN;
|
|
2940
2940
|
}
|
|
2941
2941
|
if (Na(e)) {
|
|
2942
2942
|
n = new Date(n || Date.now());
|
|
2943
|
-
const o = t ? n :
|
|
2944
|
-
return -(t ? d :
|
|
2943
|
+
const o = t ? n : ja(n), d = mt(o, e);
|
|
2944
|
+
return -(t ? d : Ca(n, d, e));
|
|
2945
2945
|
}
|
|
2946
2946
|
return NaN;
|
|
2947
2947
|
}
|
|
2948
|
-
function
|
|
2948
|
+
function ja(e) {
|
|
2949
2949
|
return yt(e.getFullYear(), e.getMonth(), e.getDate(), e.getHours(), e.getMinutes(), e.getSeconds(), e.getMilliseconds());
|
|
2950
2950
|
}
|
|
2951
2951
|
function mt(e, n) {
|
|
@@ -2954,7 +2954,7 @@ function mt(e, n) {
|
|
|
2954
2954
|
const s = a % 1e3;
|
|
2955
2955
|
return a -= s >= 0 ? s : 1e3 + s, r - a;
|
|
2956
2956
|
}
|
|
2957
|
-
function
|
|
2957
|
+
function Ca(e, n, t) {
|
|
2958
2958
|
let a = e.getTime() - n;
|
|
2959
2959
|
const s = mt(new Date(a), t);
|
|
2960
2960
|
if (n === s)
|
|
@@ -3388,7 +3388,7 @@ const Xa = (e) => new TextEncoder().encode(e), Za = (e) => {
|
|
|
3388
3388
|
throw console.error("Error converting to user timezone:", n), n;
|
|
3389
3389
|
}
|
|
3390
3390
|
}, bn = (e) => {
|
|
3391
|
-
const t = e.replace(" at ", " ").replace(/GMT([+-]\d+)/, (
|
|
3391
|
+
const t = e.replace(" at ", " ").replace(/GMT([+-]\d+)/, (w, _) => `${_.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");
|
|
3392
3392
|
return `${a}-${s}-${o} ${d}:${g}:${f}`;
|
|
3393
3393
|
}, ds = () => Date.now(), ms = (e) => new Date(e).getTime(), Et = (e, n = 0) => {
|
|
3394
3394
|
const t = ds(), r = ms(
|
|
@@ -3399,7 +3399,7 @@ const Xa = (e) => new TextEncoder().encode(e), Za = (e) => {
|
|
|
3399
3399
|
return !(t <= a);
|
|
3400
3400
|
}
|
|
3401
3401
|
return !1;
|
|
3402
|
-
}, We = (e) => parseFloat(e.replace(/[^0-9.-]/g, "")),
|
|
3402
|
+
}, We = (e) => parseFloat(e.replace(/[^0-9.-]/g, "")), P = (e, n = 2) => {
|
|
3403
3403
|
if (Number(e) !== 0 && !Number(e))
|
|
3404
3404
|
return `${e || ""}`;
|
|
3405
3405
|
const t = `0${n ? "." + "0".repeat(n) : ""}`, r = parseFloat(e);
|
|
@@ -3495,31 +3495,7 @@ const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3495
3495
|
return [n, ...t];
|
|
3496
3496
|
}, Le = (e, n, t, r) => {
|
|
3497
3497
|
let a, s;
|
|
3498
|
-
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);
|
|
3499
|
-
const o = 100;
|
|
3500
|
-
let d = 1e3;
|
|
3501
|
-
s < d && (d = Math.round(s));
|
|
3502
|
-
const g = d - o;
|
|
3503
|
-
let f = "", b = "";
|
|
3504
|
-
if (g > 0) {
|
|
3505
|
-
let M = Math.round((d - o) * 0.25).toString().split(""), R = [];
|
|
3506
|
-
for (const w of M)
|
|
3507
|
-
w !== "" && R.push(w);
|
|
3508
|
-
for (let w = 0; w < R.length; w++)
|
|
3509
|
-
w === 0 ? f += (parseInt(R[w]) + 1).toString() : f += "0";
|
|
3510
|
-
M = Math.round((d - o) * 0.5).toString().split(""), R = [];
|
|
3511
|
-
for (const w of M)
|
|
3512
|
-
w !== "" && R.push(w);
|
|
3513
|
-
for (let w = 0; w < R.length; w++)
|
|
3514
|
-
w === 0 ? b += (parseInt(R[w]) + 1).toString() : b += "0";
|
|
3515
|
-
} else
|
|
3516
|
-
f = d.toString(), b = d.toString();
|
|
3517
|
-
return { amountList: [
|
|
3518
|
-
o.toString(),
|
|
3519
|
-
f,
|
|
3520
|
-
b,
|
|
3521
|
-
d.toString()
|
|
3522
|
-
], minAmount: a, maxAmount: s };
|
|
3498
|
+
return 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), { amountList: ["50", "100", "300", "500"], minAmount: a, maxAmount: s };
|
|
3523
3499
|
}, Ht = (e, n, t) => {
|
|
3524
3500
|
if (!t) return ht;
|
|
3525
3501
|
const r = ie.manual;
|
|
@@ -3530,7 +3506,7 @@ const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3530
3506
|
type: r,
|
|
3531
3507
|
promo: Ze(n.promo),
|
|
3532
3508
|
bank: n.bank.map((s) => {
|
|
3533
|
-
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:
|
|
3509
|
+
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: y } = Le(
|
|
3534
3510
|
Number(o),
|
|
3535
3511
|
Number(d),
|
|
3536
3512
|
t.mdBankLevelDetail.deposit_min,
|
|
@@ -3545,7 +3521,7 @@ const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3545
3521
|
qrcode: s.list && s.list.length > 0 ? s.list[0].bankaccountdesc : "",
|
|
3546
3522
|
amountList: g,
|
|
3547
3523
|
min: f,
|
|
3548
|
-
max:
|
|
3524
|
+
max: y
|
|
3549
3525
|
};
|
|
3550
3526
|
}),
|
|
3551
3527
|
requiredField: {
|
|
@@ -3570,9 +3546,9 @@ const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3570
3546
|
bank: n.banklist.map((s) => {
|
|
3571
3547
|
let o = "0.00", d = "0.00";
|
|
3572
3548
|
const g = s.bankindex ?? 0;
|
|
3573
|
-
for (let
|
|
3574
|
-
t.mdGatewayMinMax[
|
|
3575
|
-
const { amountList: f, minAmount:
|
|
3549
|
+
for (let C = 0; C < t.mdGatewayMinMax.length; C++)
|
|
3550
|
+
t.mdGatewayMinMax[C].bankindex == g.toString() && (o = t.mdGatewayMinMax[C].min, d = t.mdGatewayMinMax[C].max);
|
|
3551
|
+
const { amountList: f, minAmount: y, maxAmount: w } = Le(
|
|
3576
3552
|
Number(o),
|
|
3577
3553
|
Number(d),
|
|
3578
3554
|
t.mdBankLevelDetail.onlinepayment_min,
|
|
@@ -3581,20 +3557,20 @@ const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3581
3557
|
id: 0,
|
|
3582
3558
|
name: "autoChannel",
|
|
3583
3559
|
amountList: f,
|
|
3584
|
-
min:
|
|
3585
|
-
max:
|
|
3586
|
-
}, p = s.pg.map((
|
|
3587
|
-
const
|
|
3588
|
-
Number(
|
|
3589
|
-
Number(
|
|
3560
|
+
min: y,
|
|
3561
|
+
max: w
|
|
3562
|
+
}, p = s.pg.map((C) => {
|
|
3563
|
+
const U = C.mintransaction ?? "0.00", $ = C.maxtransaction ?? "0.00", { amountList: I, minAmount: k, maxAmount: T } = Le(
|
|
3564
|
+
Number(U),
|
|
3565
|
+
Number($),
|
|
3590
3566
|
t.mdBankLevelDetail.onlinepayment_min,
|
|
3591
3567
|
t.mdBankLevelDetail.onlinepayment_max
|
|
3592
3568
|
);
|
|
3593
3569
|
return {
|
|
3594
|
-
id:
|
|
3595
|
-
name:
|
|
3596
|
-
amountList:
|
|
3597
|
-
min:
|
|
3570
|
+
id: C.pgindex,
|
|
3571
|
+
name: C.bankaccountname,
|
|
3572
|
+
amountList: I,
|
|
3573
|
+
min: k,
|
|
3598
3574
|
max: T
|
|
3599
3575
|
};
|
|
3600
3576
|
});
|
|
@@ -3617,7 +3593,7 @@ const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3617
3593
|
const o = r.mdGatewayMinMax ?? [];
|
|
3618
3594
|
if (t.bank.length > 0 && r.mdPGSelection === "1")
|
|
3619
3595
|
s = t.bank.map((g) => {
|
|
3620
|
-
const { amountList: f, minAmount:
|
|
3596
|
+
const { amountList: f, minAmount: y, maxAmount: w } = Le(
|
|
3621
3597
|
g.mintransaction ?? 0,
|
|
3622
3598
|
g.maxtransaction ?? 0,
|
|
3623
3599
|
r.mdBankLevelDetail.onlinepayment_min,
|
|
@@ -3627,15 +3603,15 @@ const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3627
3603
|
id: g.pgindex ?? 0,
|
|
3628
3604
|
name: g.bankaccountname || "",
|
|
3629
3605
|
amountList: f,
|
|
3630
|
-
min:
|
|
3631
|
-
max:
|
|
3606
|
+
min: y,
|
|
3607
|
+
max: w
|
|
3632
3608
|
};
|
|
3633
3609
|
});
|
|
3634
3610
|
else {
|
|
3635
3611
|
let g = "0.00", f = "0.00";
|
|
3636
3612
|
for (let M = 0; M < o.length; M++)
|
|
3637
3613
|
o[M].bankindex === n.toString() && (g = o[M].min, f = o[M].max);
|
|
3638
|
-
const { amountList:
|
|
3614
|
+
const { amountList: y, minAmount: w, maxAmount: _ } = Le(
|
|
3639
3615
|
Number(g),
|
|
3640
3616
|
Number(f),
|
|
3641
3617
|
r.mdBankLevelDetail.onlinepayment_min,
|
|
@@ -3643,8 +3619,8 @@ const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3643
3619
|
), p = {
|
|
3644
3620
|
id: 0,
|
|
3645
3621
|
name: "autoChannel",
|
|
3646
|
-
amountList:
|
|
3647
|
-
min:
|
|
3622
|
+
amountList: y,
|
|
3623
|
+
min: w,
|
|
3648
3624
|
max: _
|
|
3649
3625
|
};
|
|
3650
3626
|
s.push(p);
|
|
@@ -3694,15 +3670,15 @@ const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3694
3670
|
}), vs = (e) => {
|
|
3695
3671
|
var n, t, r, a, s, o, d, g, f;
|
|
3696
3672
|
return {
|
|
3697
|
-
platformGame: ((n = e.mdGameListResult) == null ? void 0 : n.map((
|
|
3698
|
-
var
|
|
3673
|
+
platformGame: ((n = e.mdGameListResult) == null ? void 0 : n.map((y) => {
|
|
3674
|
+
var w, _;
|
|
3699
3675
|
return {
|
|
3700
|
-
code:
|
|
3701
|
-
id:
|
|
3702
|
-
name:
|
|
3703
|
-
iconUrl: `/custom/image/side_menu/${
|
|
3704
|
-
nextPage:
|
|
3705
|
-
list: (
|
|
3676
|
+
code: y.code.toLowerCase(),
|
|
3677
|
+
id: y.id,
|
|
3678
|
+
name: y.name,
|
|
3679
|
+
iconUrl: `/custom/image/side_menu/${y.code.toLowerCase()}.png?v=1`,
|
|
3680
|
+
nextPage: y.nextPage === 1,
|
|
3681
|
+
list: (y.mdPlatformProducts !== null && ((w = y.mdPlatformProducts) == null ? void 0 : w.length)) ?? !1 ? ((_ = y.mdPlatformProducts) == null ? void 0 : _.map((p) => ({
|
|
3706
3682
|
gameId: Number(p.id_GameMaster),
|
|
3707
3683
|
platformId: Number(p.id),
|
|
3708
3684
|
platformCode: p.code,
|
|
@@ -3722,38 +3698,38 @@ const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
3722
3698
|
hotGameList: ws(e.mdGameLists.data) ? {
|
|
3723
3699
|
currentPage: ((t = e.mdGameLists) == null ? void 0 : t.current_page) ?? 1,
|
|
3724
3700
|
lastPage: ((r = e.mdGameLists) == null ? void 0 : r.last_page) ?? 1,
|
|
3725
|
-
data: ((s = (a = e.mdGameLists) == null ? void 0 : a.data) == null ? void 0 : s.map((
|
|
3726
|
-
gameId: Number(
|
|
3727
|
-
platformId: Number(
|
|
3728
|
-
platformCode:
|
|
3729
|
-
name:
|
|
3701
|
+
data: ((s = (a = e.mdGameLists) == null ? void 0 : a.data) == null ? void 0 : s.map((y) => ({
|
|
3702
|
+
gameId: Number(y.id),
|
|
3703
|
+
platformId: Number(y.id_PlatformProduct),
|
|
3704
|
+
platformCode: y.code_PlatformProduct,
|
|
3705
|
+
name: y.name,
|
|
3730
3706
|
flag: {
|
|
3731
3707
|
value: 0,
|
|
3732
3708
|
hot: !1,
|
|
3733
3709
|
trial: !1,
|
|
3734
3710
|
new: !1
|
|
3735
3711
|
},
|
|
3736
|
-
imageUrl: `${e.mdDomains[
|
|
3737
|
-
logoUrl: `/image/platform_logo/${
|
|
3712
|
+
imageUrl: `${e.mdDomains[y.mdDomains_id]}${y.img}?ts=${y.filemtime}`,
|
|
3713
|
+
logoUrl: `/image/platform_logo/${y.img.split("/").pop()}?v=1`,
|
|
3738
3714
|
rate: "0.00"
|
|
3739
3715
|
}))) ?? []
|
|
3740
3716
|
} : {},
|
|
3741
3717
|
platformGameList: Ds(e.mdGameLists.data) ? {
|
|
3742
3718
|
currentPage: ((o = e.mdGameLists) == null ? void 0 : o.current_page) ?? 1,
|
|
3743
3719
|
lastPage: ((d = e.mdGameLists) == null ? void 0 : d.last_page) ?? 1,
|
|
3744
|
-
data: ((f = (g = e.mdGameLists) == null ? void 0 : g.data) == null ? void 0 : f.map((
|
|
3745
|
-
gameId: Number(
|
|
3746
|
-
platformId: Number(
|
|
3720
|
+
data: ((f = (g = e.mdGameLists) == null ? void 0 : g.data) == null ? void 0 : f.map((y) => ({
|
|
3721
|
+
gameId: Number(y.id),
|
|
3722
|
+
platformId: Number(y.id_PlatformProduct),
|
|
3747
3723
|
platformCode: "",
|
|
3748
|
-
name:
|
|
3724
|
+
name: y.name,
|
|
3749
3725
|
flag: {
|
|
3750
3726
|
value: 0,
|
|
3751
3727
|
hot: !1,
|
|
3752
3728
|
trial: !1,
|
|
3753
3729
|
new: !1
|
|
3754
3730
|
},
|
|
3755
|
-
imageUrl: `${e.mdDomains[
|
|
3756
|
-
logoUrl: `/image/platform_logo/${
|
|
3731
|
+
imageUrl: `${e.mdDomains[y.mdDomains_id]}${y.img}?ts=${y.filemtime}`,
|
|
3732
|
+
logoUrl: `/image/platform_logo/${y.img.split("/").pop()}?v=1`,
|
|
3757
3733
|
rate: "0.00"
|
|
3758
3734
|
}))) ?? []
|
|
3759
3735
|
} : {},
|
|
@@ -3772,7 +3748,7 @@ function Ds(e) {
|
|
|
3772
3748
|
}
|
|
3773
3749
|
const Ps = (e) => ({
|
|
3774
3750
|
list: e.mdGrade.map((n) => {
|
|
3775
|
-
var t, r, a, s, o, d, g, f,
|
|
3751
|
+
var t, r, a, s, o, d, g, f, y, w, _, p, M, C, U, $, I, k, T, O, q, le, se, ce, de, K, Fe, Je, _e, Te, ve, ke, we, Ke, De, et, ze, Ge, i, m, v, u, l, D, L, V, Z, G, J, Q, X, H, A, ee, Se, ge, Ie, pe, je, b, vt, wt, Dt, Pt;
|
|
3776
3752
|
return {
|
|
3777
3753
|
id: n.gradeindex,
|
|
3778
3754
|
is_current_level: !1,
|
|
@@ -3781,76 +3757,76 @@ const Ps = (e) => ({
|
|
|
3781
3757
|
turnover: {
|
|
3782
3758
|
isShow: !1,
|
|
3783
3759
|
current: "0.00",
|
|
3784
|
-
total:
|
|
3760
|
+
total: P(n.min_activebet)
|
|
3785
3761
|
},
|
|
3786
3762
|
deposit: {
|
|
3787
3763
|
isShow: !1,
|
|
3788
3764
|
current: "0.00",
|
|
3789
|
-
total:
|
|
3765
|
+
total: P(n.min_deposit)
|
|
3790
3766
|
},
|
|
3791
3767
|
promo_list: n.promocash.filter((oe) => oe.isshow == 1 && oe.status == "1").map((oe) => ({
|
|
3792
3768
|
name: oe.promosimplified,
|
|
3793
|
-
min_deposit:
|
|
3769
|
+
min_deposit: P(oe.min_deposit),
|
|
3794
3770
|
promo_bonus: oe.percentage,
|
|
3795
|
-
promo_limit:
|
|
3771
|
+
promo_limit: P(oe.max_promo_amt),
|
|
3796
3772
|
turnover_multiplier: oe.multiply,
|
|
3797
3773
|
type: oe.promo_type
|
|
3798
3774
|
})),
|
|
3799
3775
|
benefit_list: {
|
|
3800
3776
|
daily: {
|
|
3801
3777
|
isShow: !0,
|
|
3802
|
-
bonus:
|
|
3778
|
+
bonus: P(((r = (t = n.benefit) == null ? void 0 : t.daily) == null ? void 0 : r.bonus) ?? "0"),
|
|
3803
3779
|
bonus_name: ((s = (a = n.benefit) == null ? void 0 : a.daily) == null ? void 0 : s.bonus_name) ?? "",
|
|
3804
|
-
turnover:
|
|
3780
|
+
turnover: P(((d = (o = n.benefit) == null ? void 0 : o.daily) == null ? void 0 : d.turnover) ?? "0"),
|
|
3805
3781
|
turnover_name: ((f = (g = n.benefit) == null ? void 0 : g.daily) == null ? void 0 : f.turnover_name) ?? ""
|
|
3806
3782
|
},
|
|
3807
3783
|
monthly: {
|
|
3808
3784
|
isShow: !0,
|
|
3809
|
-
bonus:
|
|
3785
|
+
bonus: P(((w = (y = n.benefit) == null ? void 0 : y.monthly) == null ? void 0 : w.bonus) ?? "0"),
|
|
3810
3786
|
bonus_name: ((p = (_ = n.benefit) == null ? void 0 : _.monthly) == null ? void 0 : p.bonus_name) ?? "",
|
|
3811
|
-
turnover:
|
|
3812
|
-
turnover_name: ((
|
|
3787
|
+
turnover: P(((C = (M = n.benefit) == null ? void 0 : M.monthly) == null ? void 0 : C.turnover) ?? "0"),
|
|
3788
|
+
turnover_name: (($ = (U = n.benefit) == null ? void 0 : U.monthly) == null ? void 0 : $.turnover_name) ?? ""
|
|
3813
3789
|
},
|
|
3814
3790
|
weekly: {
|
|
3815
3791
|
isShow: !0,
|
|
3816
|
-
bonus:
|
|
3817
|
-
bonus_name: ((
|
|
3818
|
-
turnover:
|
|
3792
|
+
bonus: P(((k = (I = n.benefit) == null ? void 0 : I.weekly) == null ? void 0 : k.bonus) ?? "0"),
|
|
3793
|
+
bonus_name: ((O = (T = n.benefit) == null ? void 0 : T.weekly) == null ? void 0 : O.bonus_name) ?? "",
|
|
3794
|
+
turnover: P(((le = (q = n.benefit) == null ? void 0 : q.weekly) == null ? void 0 : le.turnover) ?? "0"),
|
|
3819
3795
|
turnover_name: ((ce = (se = n.benefit) == null ? void 0 : se.weekly) == null ? void 0 : ce.turnover_name) ?? ""
|
|
3820
3796
|
},
|
|
3821
3797
|
upgrade: {
|
|
3822
3798
|
isShow: !0,
|
|
3823
|
-
bonus:
|
|
3799
|
+
bonus: P(((K = (de = n.benefit) == null ? void 0 : de.upgrade) == null ? void 0 : K.bonus) ?? "0"),
|
|
3824
3800
|
bonus_name: ((Je = (Fe = n.benefit) == null ? void 0 : Fe.upgrade) == null ? void 0 : Je.bonus_name) ?? "",
|
|
3825
|
-
turnover:
|
|
3801
|
+
turnover: P(((Te = (_e = n.benefit) == null ? void 0 : _e.upgrade) == null ? void 0 : Te.turnover) ?? "0"),
|
|
3826
3802
|
turnover_name: ((ke = (ve = n.benefit) == null ? void 0 : ve.upgrade) == null ? void 0 : ke.turnover_name) ?? ""
|
|
3827
3803
|
},
|
|
3828
3804
|
birthday: {
|
|
3829
3805
|
isShow: !0,
|
|
3830
|
-
bonus:
|
|
3806
|
+
bonus: P(((Ke = (we = n.benefit) == null ? void 0 : we.birthday) == null ? void 0 : Ke.bonus) ?? "0"),
|
|
3831
3807
|
bonus_name: ((et = (De = n.benefit) == null ? void 0 : De.birthday) == null ? void 0 : et.bonus_name) ?? "",
|
|
3832
|
-
turnover:
|
|
3808
|
+
turnover: P(((Ge = (ze = n.benefit) == null ? void 0 : ze.birthday) == null ? void 0 : Ge.turnover) ?? "0"),
|
|
3833
3809
|
turnover_name: ((m = (i = n.benefit) == null ? void 0 : i.birthday) == null ? void 0 : m.turnover_name) ?? ""
|
|
3834
3810
|
},
|
|
3835
3811
|
salary_1st: {
|
|
3836
3812
|
isShow: !0,
|
|
3837
|
-
bonus:
|
|
3838
|
-
bonus_name: ((
|
|
3839
|
-
turnover:
|
|
3813
|
+
bonus: P(((u = (v = n.benefit) == null ? void 0 : v.salary_1st) == null ? void 0 : u.bonus) ?? "0"),
|
|
3814
|
+
bonus_name: ((D = (l = n.benefit) == null ? void 0 : l.salary_1st) == null ? void 0 : D.bonus_name) ?? "",
|
|
3815
|
+
turnover: P(((V = (L = n.benefit) == null ? void 0 : L.salary_1st) == null ? void 0 : V.turnover) ?? "0"),
|
|
3840
3816
|
turnover_name: ((G = (Z = n.benefit) == null ? void 0 : Z.salary_1st) == null ? void 0 : G.turnover_name) ?? ""
|
|
3841
3817
|
},
|
|
3842
3818
|
salary_10th: {
|
|
3843
3819
|
isShow: !0,
|
|
3844
|
-
bonus:
|
|
3845
|
-
bonus_name: ((
|
|
3846
|
-
turnover:
|
|
3820
|
+
bonus: P(((Q = (J = n.benefit) == null ? void 0 : J.salary_10th) == null ? void 0 : Q.bonus) ?? "0"),
|
|
3821
|
+
bonus_name: ((H = (X = n.benefit) == null ? void 0 : X.salary_10th) == null ? void 0 : H.bonus_name) ?? "",
|
|
3822
|
+
turnover: P(((ee = (A = n.benefit) == null ? void 0 : A.salary_10th) == null ? void 0 : ee.turnover) ?? "0"),
|
|
3847
3823
|
turnover_name: ((ge = (Se = n.benefit) == null ? void 0 : Se.salary_10th) == null ? void 0 : ge.turnover_name) ?? ""
|
|
3848
3824
|
},
|
|
3849
3825
|
salary_20th: {
|
|
3850
3826
|
isShow: !0,
|
|
3851
|
-
bonus:
|
|
3852
|
-
bonus_name: ((
|
|
3853
|
-
turnover:
|
|
3827
|
+
bonus: P(((pe = (Ie = n.benefit) == null ? void 0 : Ie.salary_20th) == null ? void 0 : pe.bonus) ?? "0"),
|
|
3828
|
+
bonus_name: ((b = (je = n.benefit) == null ? void 0 : je.salary_20th) == null ? void 0 : b.bonus_name) ?? "",
|
|
3829
|
+
turnover: P(((wt = (vt = n.benefit) == null ? void 0 : vt.salary_20th) == null ? void 0 : wt.turnover) ?? "0"),
|
|
3854
3830
|
turnover_name: ((Pt = (Dt = n.benefit) == null ? void 0 : Dt.salary_20th) == null ? void 0 : Pt.turnover_name) ?? ""
|
|
3855
3831
|
}
|
|
3856
3832
|
}
|
|
@@ -4073,7 +4049,7 @@ const Ps = (e) => ({
|
|
|
4073
4049
|
regex: t.regex,
|
|
4074
4050
|
value: t.value
|
|
4075
4051
|
}))) ?? [];
|
|
4076
|
-
},
|
|
4052
|
+
}, js = (e) => e, Cs = (e) => {
|
|
4077
4053
|
let n = null;
|
|
4078
4054
|
return e ? e.status != 1 ? n = 0 : n = e.mainwallet : n = 0, {
|
|
4079
4055
|
amount: n
|
|
@@ -4137,7 +4113,7 @@ const Ws = (e) => {
|
|
|
4137
4113
|
(p) => p.combination_dimension === 4 && p.combination_position === 5
|
|
4138
4114
|
).map((p) => p.combination_combination), f = t.results.filter(
|
|
4139
4115
|
(p) => p.combination_dimension === 5 && p.combination_position === 1
|
|
4140
|
-
).map((p) => p.combination_combination),
|
|
4116
|
+
).map((p) => p.combination_combination), y = t.results.filter((p) => p.combination_dimension == 5).map((p) => p.combination_combination), w = t.results.filter(
|
|
4141
4117
|
(p) => p.combination_dimension === 6 && p.combination_position === 1
|
|
4142
4118
|
).map((p) => p.combination_combination), _ = t.results.filter((p) => p.combination_dimension === 6).map((p) => p.combination_combination);
|
|
4143
4119
|
return {
|
|
@@ -4152,10 +4128,10 @@ const Ws = (e) => {
|
|
|
4152
4128
|
},
|
|
4153
4129
|
dimension_5: {
|
|
4154
4130
|
prize_1: f,
|
|
4155
|
-
all:
|
|
4131
|
+
all: y
|
|
4156
4132
|
},
|
|
4157
4133
|
dimension_6: {
|
|
4158
|
-
prize_1:
|
|
4134
|
+
prize_1: w,
|
|
4159
4135
|
all: _
|
|
4160
4136
|
}
|
|
4161
4137
|
};
|
|
@@ -4192,10 +4168,10 @@ const Ws = (e) => {
|
|
|
4192
4168
|
status: e.status == 1,
|
|
4193
4169
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
4194
4170
|
flag: e.flag
|
|
4195
|
-
}),
|
|
4171
|
+
}), S = (e) => ({
|
|
4196
4172
|
status: e.status == 1,
|
|
4197
4173
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? ""
|
|
4198
|
-
}), Bs = (e) =>
|
|
4174
|
+
}), Bs = (e) => S(e), Us = (e) => {
|
|
4199
4175
|
var n, t, r, a, s;
|
|
4200
4176
|
return {
|
|
4201
4177
|
bankCard: ((n = e.bankCard) == null ? void 0 : n.map((o) => {
|
|
@@ -4260,11 +4236,11 @@ const Ws = (e) => {
|
|
|
4260
4236
|
withdrawFee: e.withdrawFee,
|
|
4261
4237
|
withdrawMaxFee: Number(e.withdrawMaxFee),
|
|
4262
4238
|
withdrawCount: e.withdrawCount
|
|
4263
|
-
}), Vs = (e) =>
|
|
4264
|
-
var
|
|
4239
|
+
}), Vs = (e) => S(e);
|
|
4240
|
+
var B = /* @__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))(B || {});
|
|
4265
4241
|
const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4266
4242
|
__proto__: null,
|
|
4267
|
-
TransactionMethod:
|
|
4243
|
+
TransactionMethod: B
|
|
4268
4244
|
}, Symbol.toStringTag, { value: "Module" })), Qs = (e) => {
|
|
4269
4245
|
var n, t, r, a, s, o;
|
|
4270
4246
|
return {
|
|
@@ -4291,9 +4267,9 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4291
4267
|
statusInfo: {
|
|
4292
4268
|
id: d.status,
|
|
4293
4269
|
value: d.status == 1,
|
|
4294
|
-
desc: ((f = (g = e.subStatusModes) == null ? void 0 : g.find((
|
|
4270
|
+
desc: ((f = (g = e.subStatusModes) == null ? void 0 : g.find((y) => y.key === d.status)) == null ? void 0 : f.value) ?? ""
|
|
4295
4271
|
},
|
|
4296
|
-
amount:
|
|
4272
|
+
amount: P(d.amount),
|
|
4297
4273
|
dateTime: d.ledgerdatetime,
|
|
4298
4274
|
reason: d.reasonsimplified,
|
|
4299
4275
|
method: d.fundmethod
|
|
@@ -4305,30 +4281,30 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4305
4281
|
switch (e) {
|
|
4306
4282
|
case 1:
|
|
4307
4283
|
if (n === 1)
|
|
4308
|
-
return
|
|
4284
|
+
return B.deposit;
|
|
4309
4285
|
if (n === 2)
|
|
4310
|
-
return
|
|
4286
|
+
return B.withdraw;
|
|
4311
4287
|
break;
|
|
4312
4288
|
case 3:
|
|
4313
|
-
return
|
|
4289
|
+
return B.promo;
|
|
4314
4290
|
case 4:
|
|
4315
|
-
return
|
|
4291
|
+
return B.manual;
|
|
4316
4292
|
case 32:
|
|
4317
|
-
return
|
|
4293
|
+
return B.cashIn;
|
|
4318
4294
|
case 33:
|
|
4319
|
-
return
|
|
4295
|
+
return B.cashOut;
|
|
4320
4296
|
case 34:
|
|
4321
|
-
return
|
|
4297
|
+
return B.transfer;
|
|
4322
4298
|
case 35:
|
|
4323
|
-
return
|
|
4299
|
+
return B.incentive;
|
|
4324
4300
|
case 36:
|
|
4325
|
-
return
|
|
4301
|
+
return B.upgradeBonus;
|
|
4326
4302
|
case 40:
|
|
4327
|
-
return
|
|
4303
|
+
return B.extension;
|
|
4328
4304
|
case 42:
|
|
4329
|
-
return
|
|
4305
|
+
return B.creditTransfer;
|
|
4330
4306
|
case 43:
|
|
4331
|
-
return
|
|
4307
|
+
return B.shareHolder;
|
|
4332
4308
|
}
|
|
4333
4309
|
return "";
|
|
4334
4310
|
}, Zs = (e) => ({
|
|
@@ -4342,7 +4318,7 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4342
4318
|
categoryId: r.category_id,
|
|
4343
4319
|
maintenance: r.maintenance === 1
|
|
4344
4320
|
}))) ?? [],
|
|
4345
|
-
platformWallet:
|
|
4321
|
+
platformWallet: P(n.platformwallet),
|
|
4346
4322
|
com: n.com ?? "",
|
|
4347
4323
|
maintenance: n.maintenance ?? !1
|
|
4348
4324
|
};
|
|
@@ -4571,29 +4547,29 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4571
4547
|
if (e.status == 0)
|
|
4572
4548
|
return { welcomeBonus: null, dailyBonus: null };
|
|
4573
4549
|
const r = e.data.filter((f) => f.dtype == "5" && f.type == "F").map((f) => {
|
|
4574
|
-
const
|
|
4550
|
+
const y = Math.min(
|
|
4575
4551
|
Number(f.min_deposit) * Number(f.percentage) / 100,
|
|
4576
4552
|
Number(f.max_promo_amt)
|
|
4577
4553
|
);
|
|
4578
4554
|
return {
|
|
4579
4555
|
name: f.promodesc,
|
|
4580
4556
|
depositAmount: Number(f.min_deposit),
|
|
4581
|
-
promoAmount:
|
|
4582
|
-
percentage: Math.round(
|
|
4557
|
+
promoAmount: y,
|
|
4558
|
+
percentage: Math.round(y / Number(f.min_deposit) * 100),
|
|
4583
4559
|
expiryTime: f.etime
|
|
4584
4560
|
};
|
|
4585
4561
|
});
|
|
4586
4562
|
r.length > 0 && (n = r[0]);
|
|
4587
4563
|
const a = e.data.filter((f) => f.dtype == "5" && f.type == "D").map((f) => {
|
|
4588
|
-
const
|
|
4564
|
+
const y = Math.min(
|
|
4589
4565
|
Number(f.min_deposit) * Number(f.percentage) / 100,
|
|
4590
4566
|
Number(f.max_promo_amt)
|
|
4591
4567
|
);
|
|
4592
4568
|
return {
|
|
4593
4569
|
name: f.promodesc,
|
|
4594
4570
|
depositAmount: Number(f.min_deposit),
|
|
4595
|
-
promoAmount:
|
|
4596
|
-
percentage: Number((
|
|
4571
|
+
promoAmount: y,
|
|
4572
|
+
percentage: Number((y / Number(f.min_deposit) * 100).toFixed(2)),
|
|
4597
4573
|
expiryTime: f.etime
|
|
4598
4574
|
};
|
|
4599
4575
|
});
|
|
@@ -4667,7 +4643,7 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4667
4643
|
}
|
|
4668
4644
|
}
|
|
4669
4645
|
return n;
|
|
4670
|
-
}, To = (e) =>
|
|
4646
|
+
}, To = (e) => S(e), vo = (e) => S(e), wo = (e) => {
|
|
4671
4647
|
var n, t, r, a, s;
|
|
4672
4648
|
return {
|
|
4673
4649
|
status: e.status == 1,
|
|
@@ -4699,7 +4675,7 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4699
4675
|
regex: n.regex,
|
|
4700
4676
|
showName: n.showname,
|
|
4701
4677
|
inputHelper: n.inputHelper
|
|
4702
|
-
})) : [], Po = (e) =>
|
|
4678
|
+
})) : [], Po = (e) => S(e), xo = (e) => e, Oo = (e) => {
|
|
4703
4679
|
var n;
|
|
4704
4680
|
return {
|
|
4705
4681
|
status: e.status == 1,
|
|
@@ -4709,7 +4685,7 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4709
4685
|
ledgerIndex: e.checkgame.ledgerindex ?? 0,
|
|
4710
4686
|
amount: e.checkgame.amount ?? ""
|
|
4711
4687
|
};
|
|
4712
|
-
}, Ro = (e) =>
|
|
4688
|
+
}, Ro = (e) => S(e), Mo = (e) => ({
|
|
4713
4689
|
status: e.status == 1,
|
|
4714
4690
|
message: e.message,
|
|
4715
4691
|
user: e.user ?? ""
|
|
@@ -4717,14 +4693,14 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4717
4693
|
status: e.status == 1,
|
|
4718
4694
|
message: e.msg ?? "",
|
|
4719
4695
|
amount: e.amount ?? ""
|
|
4720
|
-
}), So = (e) =>
|
|
4696
|
+
}), So = (e) => S(e), Io = (e) => {
|
|
4721
4697
|
var n;
|
|
4722
4698
|
return {
|
|
4723
4699
|
status: e.status == 1,
|
|
4724
4700
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
4725
4701
|
dayStreak: ((n = e.data) == null ? void 0 : n.continuousDay) ?? 0
|
|
4726
4702
|
};
|
|
4727
|
-
},
|
|
4703
|
+
}, jo = (e) => {
|
|
4728
4704
|
var n;
|
|
4729
4705
|
return {
|
|
4730
4706
|
status: e.status == 1,
|
|
@@ -4742,7 +4718,7 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4742
4718
|
};
|
|
4743
4719
|
})) ?? []
|
|
4744
4720
|
};
|
|
4745
|
-
},
|
|
4721
|
+
}, Co = (e) => ({
|
|
4746
4722
|
status: e.status == 1,
|
|
4747
4723
|
message: e.msg ?? ""
|
|
4748
4724
|
}), No = (e) => ({
|
|
@@ -4751,10 +4727,10 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4751
4727
|
message: e.msg ?? "",
|
|
4752
4728
|
form: e.form ?? "",
|
|
4753
4729
|
gameUrl: e.data ?? ""
|
|
4754
|
-
}), Lo = (e) =>
|
|
4730
|
+
}), Lo = (e) => S(e), Fo = (e) => S(e), ut = (e) => ({
|
|
4755
4731
|
status: e.status == 1,
|
|
4756
4732
|
message: e.errormessage ?? ""
|
|
4757
|
-
}), zo = (e) =>
|
|
4733
|
+
}), zo = (e) => S(e), Go = (e) => e, Wo = (e) => S(e), Yo = (e) => {
|
|
4758
4734
|
var n;
|
|
4759
4735
|
return {
|
|
4760
4736
|
platformProduct: ((n = e.mdPlatformProduct) == null ? void 0 : n.map((t) => ({
|
|
@@ -4778,7 +4754,7 @@ const As = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4778
4754
|
}))) ?? []
|
|
4779
4755
|
};
|
|
4780
4756
|
})) ?? [];
|
|
4781
|
-
}, Eo = (e) =>
|
|
4757
|
+
}, Eo = (e) => S(e), Ho = (e) => S(e), Bo = (e) => S(e), Uo = (e) => S(e), $o = (e) => S(e), Vo = (e) => S(e), Ao = (e) => S(e), Qo = (e) => ({
|
|
4782
4758
|
status: e.status == 1,
|
|
4783
4759
|
message: e.msg ?? "",
|
|
4784
4760
|
data: e.data
|
|
@@ -4873,7 +4849,7 @@ const ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4873
4849
|
transferIndex: t.clindex,
|
|
4874
4850
|
target: t.com_from !== "" ? t.com_from : t.com_to,
|
|
4875
4851
|
category: t.com_from !== "" ? Ue.toWallet : Ue.toPlatform,
|
|
4876
|
-
amount:
|
|
4852
|
+
amount: P(t.amount),
|
|
4877
4853
|
dateTime: t.transferdatetime
|
|
4878
4854
|
}))) ?? []
|
|
4879
4855
|
};
|
|
@@ -4891,16 +4867,16 @@ const ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4891
4867
|
}))) ?? []
|
|
4892
4868
|
};
|
|
4893
4869
|
}, oi = (e) => {
|
|
4894
|
-
var n, t, r, a, s, o, d, g, f,
|
|
4870
|
+
var n, t, r, a, s, o, d, g, f, y, w;
|
|
4895
4871
|
return {
|
|
4896
4872
|
status: e.status == 1,
|
|
4897
4873
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
4898
4874
|
data: {
|
|
4899
4875
|
total: (n = e.data) != null && n.total ? {
|
|
4900
|
-
bet:
|
|
4901
|
-
activeBet:
|
|
4902
|
-
validBet:
|
|
4903
|
-
payout:
|
|
4876
|
+
bet: P(((t = e.data) == null ? void 0 : t.total.bet) ?? 0),
|
|
4877
|
+
activeBet: P(((r = e.data) == null ? void 0 : r.total.activebet) ?? 0),
|
|
4878
|
+
validBet: P(((a = e.data) == null ? void 0 : a.total.validbet) ?? 0),
|
|
4879
|
+
payout: P(((s = e.data) == null ? void 0 : s.total.payout) ?? 0)
|
|
4904
4880
|
} : {
|
|
4905
4881
|
bet: "0.00",
|
|
4906
4882
|
activeBet: "0.00",
|
|
@@ -4908,25 +4884,25 @@ const ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4908
4884
|
payout: "0.00"
|
|
4909
4885
|
},
|
|
4910
4886
|
data: ((d = (o = e.data) == null ? void 0 : o.sum) == null ? void 0 : d.map((_) => ({
|
|
4911
|
-
bet:
|
|
4912
|
-
activeBet:
|
|
4913
|
-
payout:
|
|
4887
|
+
bet: P(_.bet),
|
|
4888
|
+
activeBet: P(_.activebet),
|
|
4889
|
+
payout: P(_.payout),
|
|
4914
4890
|
target: _.name,
|
|
4915
4891
|
com: _.com
|
|
4916
4892
|
}))) ?? [],
|
|
4917
4893
|
wagers: ((f = (g = e.data) == null ? void 0 : g.wagers) == null ? void 0 : f.map((_) => ({
|
|
4918
|
-
payout:
|
|
4894
|
+
payout: P(_.payout),
|
|
4919
4895
|
betType: _.betType,
|
|
4920
|
-
stakeF:
|
|
4921
|
-
stakeL:
|
|
4896
|
+
stakeF: P(_.stakeF),
|
|
4897
|
+
stakeL: P(_.stakeL),
|
|
4922
4898
|
date: _.date,
|
|
4923
4899
|
key: _.key,
|
|
4924
4900
|
detailSA: _.detailsa,
|
|
4925
4901
|
detailSC: _.detailsc,
|
|
4926
4902
|
resultL: _.resultL
|
|
4927
4903
|
}))) ?? [],
|
|
4928
|
-
currentPage: ((
|
|
4929
|
-
lastPage: ((
|
|
4904
|
+
currentPage: ((y = e.data) == null ? void 0 : y.page.current_page) ?? 1,
|
|
4905
|
+
lastPage: ((w = e.data) == null ? void 0 : w.page.last_page) ?? 1
|
|
4930
4906
|
}
|
|
4931
4907
|
};
|
|
4932
4908
|
}, ii = (e) => {
|
|
@@ -4940,7 +4916,7 @@ const ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4940
4916
|
binded: ((r = e.data) == null ? void 0 : r.binded) ?? !1
|
|
4941
4917
|
}
|
|
4942
4918
|
};
|
|
4943
|
-
}, ui = (e) =>
|
|
4919
|
+
}, ui = (e) => S(e), li = (e) => {
|
|
4944
4920
|
var n;
|
|
4945
4921
|
return {
|
|
4946
4922
|
status: e.status == 1,
|
|
@@ -4950,7 +4926,7 @@ const ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4950
4926
|
createdAt: t.created_at
|
|
4951
4927
|
}))) ?? []
|
|
4952
4928
|
};
|
|
4953
|
-
}, ci = (e) =>
|
|
4929
|
+
}, ci = (e) => S(e), di = (e) => {
|
|
4954
4930
|
var n, t, r;
|
|
4955
4931
|
return {
|
|
4956
4932
|
status: e.status == 1,
|
|
@@ -4975,11 +4951,11 @@ const ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4975
4951
|
}))) ?? []
|
|
4976
4952
|
}
|
|
4977
4953
|
};
|
|
4978
|
-
}, mi = (e) =>
|
|
4954
|
+
}, mi = (e) => S(e), fi = (e) => ({
|
|
4979
4955
|
status: e.status == 1,
|
|
4980
4956
|
message: e.status == 1 ? e.message ?? "" : e.errormessage ?? "",
|
|
4981
4957
|
tokenAmount: e.token_amount
|
|
4982
|
-
}), gi = (e) =>
|
|
4958
|
+
}), gi = (e) => S(e);
|
|
4983
4959
|
var _t = /* @__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))(_t || {});
|
|
4984
4960
|
const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4985
4961
|
__proto__: null,
|
|
@@ -5067,7 +5043,7 @@ const pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5067
5043
|
errorMessage: e.errormessage ?? "",
|
|
5068
5044
|
isAutoTransfer: e.optionkey == "auto" || ((n = e.message) == null ? void 0 : n.optionkey) == "auto" || ((t = e.mdAccountSetting) == null ? void 0 : t.optionkey) == "auto"
|
|
5069
5045
|
};
|
|
5070
|
-
}, Di = (e) =>
|
|
5046
|
+
}, Di = (e) => S(e), Pi = (e) => ({
|
|
5071
5047
|
status: e.status,
|
|
5072
5048
|
message: e.msg ?? "",
|
|
5073
5049
|
turnover: e.data ? e.data.turnover : 0,
|
|
@@ -5161,7 +5137,7 @@ const Ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5161
5137
|
maxLength: n.maxlen ?? "0",
|
|
5162
5138
|
inputHelper: n.inputHelper ?? ""
|
|
5163
5139
|
}))
|
|
5164
|
-
}),
|
|
5140
|
+
}), ji = (e) => ({
|
|
5165
5141
|
currentPage: e.mdGameLists.current_page,
|
|
5166
5142
|
lastPage: e.mdGameLists.last_page,
|
|
5167
5143
|
data: e.mdGameLists.data && e.mdGameLists.data.length > 0 ? e.mdGameLists.data.map((n) => ({
|
|
@@ -5179,7 +5155,7 @@ const Ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5179
5155
|
logoUrl: `/image/platform_logo/${n.img.split("/").pop()}?v=1`,
|
|
5180
5156
|
rate: "0.00"
|
|
5181
5157
|
})) ?? [] : []
|
|
5182
|
-
}),
|
|
5158
|
+
}), Ci = (e) => S(e), Ni = (e) => S(e);
|
|
5183
5159
|
var he = /* @__PURE__ */ ((e) => (e.inProgress = "inProgress", e.collectable = "collectable", e.collected = "collected", e))(he || {});
|
|
5184
5160
|
const Li = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5185
5161
|
__proto__: null,
|
|
@@ -5405,7 +5381,7 @@ const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5405
5381
|
__proto__: null,
|
|
5406
5382
|
CmsCategory: Tt
|
|
5407
5383
|
}, Symbol.toStringTag, { value: "Module" })), nu = async (e) => {
|
|
5408
|
-
var n, t, r, a, s, o, d, g, f,
|
|
5384
|
+
var n, t, r, a, s, o, d, g, f, y, w, _, p, M, C, U, $, I, k, T, O, q, le, se, ce, de;
|
|
5409
5385
|
try {
|
|
5410
5386
|
e.findIndex((m) => m.name === c.vipList) !== -1 && e.push(
|
|
5411
5387
|
{
|
|
@@ -5569,12 +5545,12 @@ const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5569
5545
|
);
|
|
5570
5546
|
break;
|
|
5571
5547
|
case c.getPlatformTurnoverRate:
|
|
5572
|
-
i.result[u] =
|
|
5548
|
+
i.result[u] = js(
|
|
5573
5549
|
l
|
|
5574
5550
|
);
|
|
5575
5551
|
break;
|
|
5576
5552
|
case c.mainWallet:
|
|
5577
|
-
i.result[u] =
|
|
5553
|
+
i.result[u] = Cs(l);
|
|
5578
5554
|
break;
|
|
5579
5555
|
case c.getLanguageSetting:
|
|
5580
5556
|
i.result[u] = Ns(
|
|
@@ -5780,10 +5756,10 @@ const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
5780
5756
|
i.result[u] = Io(l);
|
|
5781
5757
|
break;
|
|
5782
5758
|
case c.getCountry:
|
|
5783
|
-
i.result[u] =
|
|
5759
|
+
i.result[u] = jo(l);
|
|
5784
5760
|
break;
|
|
5785
5761
|
case c.submitGiftCode:
|
|
5786
|
-
i.result[u] =
|
|
5762
|
+
i.result[u] = Co(l);
|
|
5787
5763
|
break;
|
|
5788
5764
|
case c.playGame:
|
|
5789
5765
|
i.result[u] = No(l);
|
|
@@ -6002,12 +5978,12 @@ const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6002
5978
|
i.result[u] = Ii(l);
|
|
6003
5979
|
break;
|
|
6004
5980
|
case c.getFavouriteGame:
|
|
6005
|
-
i.result[u] =
|
|
5981
|
+
i.result[u] = ji(
|
|
6006
5982
|
l
|
|
6007
5983
|
);
|
|
6008
5984
|
break;
|
|
6009
5985
|
case c.updateFavouriteGame:
|
|
6010
|
-
i.result[u] =
|
|
5986
|
+
i.result[u] = Ci(
|
|
6011
5987
|
l
|
|
6012
5988
|
);
|
|
6013
5989
|
break;
|
|
@@ -6114,25 +6090,25 @@ const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6114
6090
|
if ((s = i.result) != null && s.vipStatus) {
|
|
6115
6091
|
const u = i.result.vipStatus, {
|
|
6116
6092
|
current_grade_id: l,
|
|
6117
|
-
current_deposit:
|
|
6093
|
+
current_deposit: D,
|
|
6118
6094
|
current_turnover: L,
|
|
6119
6095
|
percentage: V
|
|
6120
6096
|
} = u, Z = m.list.findIndex((G) => G.id === l);
|
|
6121
6097
|
m.list = m.list.map((G, J) => {
|
|
6122
6098
|
const Q = J === Z;
|
|
6123
|
-
let X = "0",
|
|
6124
|
-
return Q ? (X = `${Math.min(We(
|
|
6099
|
+
let X = "0", H = "0", A = 0;
|
|
6100
|
+
return Q ? (X = `${Math.min(We(D), We(G.deposit.total))}`, H = `${Math.min(We(L), We(G.turnover.total))}`, A = V) : J < Z ? (X = G.deposit.total, H = G.turnover.total, A = 1) : J > Z && (X = "0.00", H = "0.00", A = 0), {
|
|
6125
6101
|
...G,
|
|
6126
6102
|
is_current_level: Q,
|
|
6127
6103
|
deposit: {
|
|
6128
6104
|
...G.deposit,
|
|
6129
6105
|
isShow: v === 1 || v === 3 || v === 4,
|
|
6130
|
-
current:
|
|
6106
|
+
current: P(X)
|
|
6131
6107
|
},
|
|
6132
6108
|
turnover: {
|
|
6133
6109
|
...G.turnover,
|
|
6134
6110
|
isShow: v === 2 || v === 3 || v === 4,
|
|
6135
|
-
current:
|
|
6111
|
+
current: P(H)
|
|
6136
6112
|
},
|
|
6137
6113
|
percentage: A * 100 > 100 ? 100 : A * 100
|
|
6138
6114
|
};
|
|
@@ -6144,10 +6120,10 @@ const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6144
6120
|
if ((o = i.result) != null && o.vipBonus) {
|
|
6145
6121
|
const u = i.result.vipBonus;
|
|
6146
6122
|
m.bonus.day.status = u.day.status;
|
|
6147
|
-
const { dayRemainingTime: l, dayProgressPercentage:
|
|
6123
|
+
const { dayRemainingTime: l, dayProgressPercentage: D } = os();
|
|
6148
6124
|
m.bonus.day.timestamp = {
|
|
6149
6125
|
current: l,
|
|
6150
|
-
percentage:
|
|
6126
|
+
percentage: D > 100 ? 100 : D
|
|
6151
6127
|
}, m.bonus.week.status = u.week.status;
|
|
6152
6128
|
const { weekRemainingTime: L, weekProgressPercentage: V } = ss();
|
|
6153
6129
|
m.bonus.week.timestamp = {
|
|
@@ -6164,10 +6140,10 @@ const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6164
6140
|
current: J,
|
|
6165
6141
|
percentage: Q > 100 ? 100 : Q
|
|
6166
6142
|
}, m.bonus.salary_10th.status = u.salary_10th.status;
|
|
6167
|
-
const { remainingTimeTo10th: X, progressPercentageTo10th:
|
|
6143
|
+
const { remainingTimeTo10th: X, progressPercentageTo10th: H } = us();
|
|
6168
6144
|
m.bonus.salary_10th.timestamp = {
|
|
6169
6145
|
current: X,
|
|
6170
|
-
percentage:
|
|
6146
|
+
percentage: H > 100 ? 100 : H
|
|
6171
6147
|
}, m.bonus.salary_20th.status = u.salary_20th.status;
|
|
6172
6148
|
const { remainingTimeTo20th: A, progressPercentageTo20th: ee } = ls();
|
|
6173
6149
|
m.bonus.salary_20th.timestamp = {
|
|
@@ -6183,149 +6159,149 @@ const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6183
6159
|
l.push({
|
|
6184
6160
|
name: "",
|
|
6185
6161
|
code: "vipLevel",
|
|
6186
|
-
value: m.list.map((
|
|
6162
|
+
value: m.list.map((b) => b.name)
|
|
6187
6163
|
});
|
|
6188
|
-
const
|
|
6189
|
-
(
|
|
6164
|
+
const D = u.findIndex(
|
|
6165
|
+
(b) => b.fieldName == "upgrade_bonus"
|
|
6190
6166
|
);
|
|
6191
|
-
|
|
6192
|
-
name: u[
|
|
6167
|
+
D > -1 && l.push({
|
|
6168
|
+
name: u[D].showName,
|
|
6193
6169
|
code: "",
|
|
6194
|
-
value: m.list.map((
|
|
6170
|
+
value: m.list.map((b) => b.benefit_list.upgrade.bonus)
|
|
6195
6171
|
});
|
|
6196
6172
|
const L = u.findIndex(
|
|
6197
|
-
(
|
|
6173
|
+
(b) => b.fieldName == "upgrade_bonus_multiply"
|
|
6198
6174
|
);
|
|
6199
6175
|
L > -1 && l.push({
|
|
6200
6176
|
name: u[L].showName,
|
|
6201
6177
|
code: "",
|
|
6202
|
-
value: m.list.map((
|
|
6178
|
+
value: m.list.map((b) => b.benefit_list.upgrade.turnover)
|
|
6203
6179
|
});
|
|
6204
6180
|
const V = u.findIndex(
|
|
6205
|
-
(
|
|
6181
|
+
(b) => b.fieldName == "monthly_bonus"
|
|
6206
6182
|
);
|
|
6207
6183
|
m.bonus.month.isShow = V > -1, V > -1 && l.push({
|
|
6208
6184
|
name: u[V].showName,
|
|
6209
6185
|
code: "",
|
|
6210
|
-
value: m.list.map((
|
|
6186
|
+
value: m.list.map((b) => b.benefit_list.monthly.bonus)
|
|
6211
6187
|
});
|
|
6212
6188
|
const Z = u.findIndex(
|
|
6213
|
-
(
|
|
6189
|
+
(b) => b.fieldName == "monthly_bonus_multiply"
|
|
6214
6190
|
);
|
|
6215
6191
|
Z > -1 && l.push({
|
|
6216
6192
|
name: u[Z].showName,
|
|
6217
6193
|
code: "",
|
|
6218
|
-
value: m.list.map((
|
|
6194
|
+
value: m.list.map((b) => b.benefit_list.monthly.turnover)
|
|
6219
6195
|
});
|
|
6220
6196
|
const G = u.findIndex(
|
|
6221
|
-
(
|
|
6197
|
+
(b) => b.fieldName == "weekly_bonus"
|
|
6222
6198
|
);
|
|
6223
6199
|
m.bonus.week.isShow = G > -1, G > -1 && l.push({
|
|
6224
6200
|
name: u[G].showName,
|
|
6225
6201
|
code: "",
|
|
6226
|
-
value: m.list.map((
|
|
6202
|
+
value: m.list.map((b) => b.benefit_list.weekly.bonus)
|
|
6227
6203
|
});
|
|
6228
6204
|
const J = u.findIndex(
|
|
6229
|
-
(
|
|
6205
|
+
(b) => b.fieldName == "weekly_bonus_multiply"
|
|
6230
6206
|
);
|
|
6231
6207
|
J > -1 && l.push({
|
|
6232
6208
|
name: u[J].showName,
|
|
6233
6209
|
code: "",
|
|
6234
|
-
value: m.list.map((
|
|
6210
|
+
value: m.list.map((b) => b.benefit_list.weekly.turnover)
|
|
6235
6211
|
});
|
|
6236
6212
|
const Q = u.findIndex(
|
|
6237
|
-
(
|
|
6213
|
+
(b) => b.fieldName == "daily_bonus"
|
|
6238
6214
|
);
|
|
6239
6215
|
m.bonus.day.isShow = Q > -1, Q > -1 && l.push({
|
|
6240
6216
|
name: u[Q].showName,
|
|
6241
6217
|
code: "",
|
|
6242
|
-
value: m.list.map((
|
|
6218
|
+
value: m.list.map((b) => b.benefit_list.daily.bonus)
|
|
6243
6219
|
});
|
|
6244
6220
|
const X = u.findIndex(
|
|
6245
|
-
(
|
|
6221
|
+
(b) => b.fieldName == "daily_bonus_multiply"
|
|
6246
6222
|
);
|
|
6247
6223
|
X > -1 && l.push({
|
|
6248
6224
|
name: u[X].showName,
|
|
6249
6225
|
code: "",
|
|
6250
|
-
value: m.list.map((
|
|
6226
|
+
value: m.list.map((b) => b.benefit_list.daily.turnover)
|
|
6251
6227
|
});
|
|
6252
|
-
const
|
|
6253
|
-
(
|
|
6228
|
+
const H = u.findIndex(
|
|
6229
|
+
(b) => b.fieldName == "birthday_bonus"
|
|
6254
6230
|
);
|
|
6255
|
-
m.bonus.birthday.isShow =
|
|
6256
|
-
name: u[
|
|
6231
|
+
m.bonus.birthday.isShow = H > -1, H > -1 && l.push({
|
|
6232
|
+
name: u[H].showName,
|
|
6257
6233
|
code: "",
|
|
6258
|
-
value: m.list.map((
|
|
6234
|
+
value: m.list.map((b) => b.benefit_list.birthday.bonus)
|
|
6259
6235
|
});
|
|
6260
6236
|
const A = u.findIndex(
|
|
6261
|
-
(
|
|
6237
|
+
(b) => b.fieldName == "birthday_bonus_multiply"
|
|
6262
6238
|
);
|
|
6263
6239
|
A > -1 && l.push({
|
|
6264
6240
|
name: u[A].showName,
|
|
6265
6241
|
code: "",
|
|
6266
|
-
value: m.list.map((
|
|
6242
|
+
value: m.list.map((b) => b.benefit_list.birthday.turnover)
|
|
6267
6243
|
});
|
|
6268
6244
|
const ee = u.findIndex(
|
|
6269
|
-
(
|
|
6245
|
+
(b) => b.fieldName == "salary_bonus_1st"
|
|
6270
6246
|
);
|
|
6271
|
-
m.list.map((
|
|
6272
|
-
|
|
6247
|
+
m.list.map((b) => {
|
|
6248
|
+
b.benefit_list.salary_1st.isShow = ee > -1;
|
|
6273
6249
|
}), m.bonus.salary_1st.isShow = ee > -1, ee > -1 && l.push({
|
|
6274
6250
|
name: u[ee].showName,
|
|
6275
6251
|
code: "",
|
|
6276
|
-
value: m.list.map((
|
|
6252
|
+
value: m.list.map((b) => b.benefit_list.salary_1st.bonus)
|
|
6277
6253
|
});
|
|
6278
6254
|
const Se = u.findIndex(
|
|
6279
|
-
(
|
|
6255
|
+
(b) => b.fieldName == "salary_bonus_multiply_1st"
|
|
6280
6256
|
);
|
|
6281
6257
|
Se > -1 && l.push({
|
|
6282
6258
|
name: u[Se].showName,
|
|
6283
6259
|
code: "",
|
|
6284
|
-
value: m.list.map((
|
|
6260
|
+
value: m.list.map((b) => b.benefit_list.salary_1st.turnover)
|
|
6285
6261
|
});
|
|
6286
6262
|
const ge = u.findIndex(
|
|
6287
|
-
(
|
|
6263
|
+
(b) => b.fieldName == "salary_bonus_10th"
|
|
6288
6264
|
);
|
|
6289
|
-
m.list.map((
|
|
6290
|
-
|
|
6265
|
+
m.list.map((b) => {
|
|
6266
|
+
b.benefit_list.salary_10th.isShow = ge > -1;
|
|
6291
6267
|
}), m.bonus.salary_10th.isShow = ge > -1, ge > -1 && l.push({
|
|
6292
6268
|
name: u[ge].showName,
|
|
6293
6269
|
code: "",
|
|
6294
|
-
value: m.list.map((
|
|
6270
|
+
value: m.list.map((b) => b.benefit_list.salary_10th.bonus)
|
|
6295
6271
|
});
|
|
6296
6272
|
const Ie = u.findIndex(
|
|
6297
|
-
(
|
|
6273
|
+
(b) => b.fieldName == "salary_bonus_multiply_10th"
|
|
6298
6274
|
);
|
|
6299
6275
|
Ie > -1 && l.push({
|
|
6300
6276
|
name: u[Ie].showName,
|
|
6301
6277
|
code: "",
|
|
6302
|
-
value: m.list.map((
|
|
6278
|
+
value: m.list.map((b) => b.benefit_list.salary_10th.turnover)
|
|
6303
6279
|
});
|
|
6304
6280
|
const pe = u.findIndex(
|
|
6305
|
-
(
|
|
6281
|
+
(b) => b.fieldName == "salary_bonus_20th"
|
|
6306
6282
|
);
|
|
6307
|
-
m.list.map((
|
|
6308
|
-
|
|
6283
|
+
m.list.map((b) => {
|
|
6284
|
+
b.benefit_list.salary_20th.isShow = pe > -1;
|
|
6309
6285
|
}), m.bonus.salary_20th.isShow = pe > -1, pe > -1 && l.push({
|
|
6310
6286
|
name: u[pe].showName,
|
|
6311
6287
|
code: "",
|
|
6312
|
-
value: m.list.map((
|
|
6288
|
+
value: m.list.map((b) => b.benefit_list.salary_20th.bonus)
|
|
6313
6289
|
});
|
|
6314
|
-
const
|
|
6315
|
-
(
|
|
6290
|
+
const je = u.findIndex(
|
|
6291
|
+
(b) => b.fieldName == "salary_bonus_multiply_20th"
|
|
6316
6292
|
);
|
|
6317
|
-
|
|
6318
|
-
name: u[
|
|
6293
|
+
je > -1 && l.push({
|
|
6294
|
+
name: u[je].showName,
|
|
6319
6295
|
code: "",
|
|
6320
|
-
value: m.list.map((
|
|
6296
|
+
value: m.list.map((b) => b.benefit_list.salary_20th.turnover)
|
|
6321
6297
|
}), (v === 1 || v === 3 || v === 4) && l.push({
|
|
6322
6298
|
name: "",
|
|
6323
6299
|
code: "detail_deposit",
|
|
6324
|
-
value: m.list.map((
|
|
6300
|
+
value: m.list.map((b) => b.deposit.total)
|
|
6325
6301
|
}), (v === 2 || v === 3 || v === 4) && l.push({
|
|
6326
6302
|
name: "",
|
|
6327
6303
|
code: "detail_turnover",
|
|
6328
|
-
value: m.list.map((
|
|
6304
|
+
value: m.list.map((b) => b.turnover.total)
|
|
6329
6305
|
}), m.detail = l;
|
|
6330
6306
|
}
|
|
6331
6307
|
delete i.result.vipFieldStatus;
|
|
@@ -6335,8 +6311,8 @@ const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6335
6311
|
if (c.getRewardReferral in i.result && ((g = i.result) != null && g.getRewardReferral)) {
|
|
6336
6312
|
const m = (f = i.result) == null ? void 0 : f.getRewardReferral;
|
|
6337
6313
|
let v = 0, u = 0;
|
|
6338
|
-
if (c.getTurnOverRewardData in i.result && ((
|
|
6339
|
-
const l = (
|
|
6314
|
+
if (c.getTurnOverRewardData in i.result && ((y = i.result) != null && y.getTurnOverRewardData)) {
|
|
6315
|
+
const l = (w = i.result) == null ? void 0 : w.getTurnOverRewardData;
|
|
6340
6316
|
v += Number(l.totalReward), u += Number(l.unclaimReward), m.turnOverRewardData = l, delete i.result.getTurnOverRewardData;
|
|
6341
6317
|
}
|
|
6342
6318
|
if (c.getInviteRewardData in i.result && ((_ = i.result) != null && _.getInviteRewardData)) {
|
|
@@ -6344,18 +6320,18 @@ const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6344
6320
|
v += Number(l.totalReward), u += Number(l.unclaimReward), m.inviteRewardData = l, delete i.result.getInviteRewardData;
|
|
6345
6321
|
}
|
|
6346
6322
|
if (c.getTopupRewardData in i.result && ((M = i.result) != null && M.getTopupRewardData)) {
|
|
6347
|
-
const l = (
|
|
6323
|
+
const l = (C = i.result) == null ? void 0 : C.getTopupRewardData;
|
|
6348
6324
|
v += Number(l.totalReward), u += Number(l.unclaimReward), m.topupRewardData = l, delete i.result.getTopupRewardData;
|
|
6349
6325
|
}
|
|
6350
6326
|
m.referralRewardData.isClaimable = u > 0, m.referralRewardData.totalCommission = v.toString();
|
|
6351
6327
|
}
|
|
6352
|
-
if (c.getFavouriteGame in i.result && ((
|
|
6328
|
+
if (c.getFavouriteGame in i.result && ((U = i.result) != null && U.getFavouriteGame)) {
|
|
6353
6329
|
const m = i.result.getFavouriteGame;
|
|
6354
|
-
if (JSON.parse(e[_e].query).pid && c.getPlatformTurnoverRate in i.result && (
|
|
6330
|
+
if (JSON.parse(e[_e].query).pid && c.getPlatformTurnoverRate in i.result && ($ = i.result) != null && $.getPlatformTurnoverRate) {
|
|
6355
6331
|
const v = i.result.getPlatformTurnoverRate;
|
|
6356
6332
|
i.result.getFavouriteGame = m.data.map((u) => {
|
|
6357
6333
|
const l = v.find(
|
|
6358
|
-
(
|
|
6334
|
+
(D) => D.id === u.platformId
|
|
6359
6335
|
);
|
|
6360
6336
|
return {
|
|
6361
6337
|
...u,
|
|
@@ -6364,13 +6340,13 @@ const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6364
6340
|
}), delete i.result.getPlatformTurnoverRate;
|
|
6365
6341
|
}
|
|
6366
6342
|
}
|
|
6367
|
-
if (c.fishGameList in i.result && ((
|
|
6343
|
+
if (c.fishGameList in i.result && ((I = i.result) != null && I.fishGameList)) {
|
|
6368
6344
|
const m = i.result.fishGameList;
|
|
6369
|
-
if (JSON.parse(e[Te].query).pid && c.getPlatformTurnoverRate in i.result && (
|
|
6345
|
+
if (JSON.parse(e[Te].query).pid && c.getPlatformTurnoverRate in i.result && (k = i.result) != null && k.getPlatformTurnoverRate) {
|
|
6370
6346
|
const v = i.result.getPlatformTurnoverRate;
|
|
6371
6347
|
i.result.fishGameList = m.data.map((u) => {
|
|
6372
6348
|
const l = v.find(
|
|
6373
|
-
(
|
|
6349
|
+
(D) => D.id === u.platformId
|
|
6374
6350
|
);
|
|
6375
6351
|
return {
|
|
6376
6352
|
...u,
|
|
@@ -6384,14 +6360,14 @@ const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6384
6360
|
if (c.cmsList in i.result && ((T = i.result) != null && T.cmsList)) {
|
|
6385
6361
|
const v = i.result.cmsList;
|
|
6386
6362
|
i.result.paymentsProvider = m.map((u) => (u.paymentList.map((l) => {
|
|
6387
|
-
const
|
|
6363
|
+
const D = v.depositHint.find(
|
|
6388
6364
|
(L) => L.path === `/member/deposit/${l.pathName}`
|
|
6389
6365
|
);
|
|
6390
|
-
l.hintMsg = (
|
|
6366
|
+
l.hintMsg = (D == null ? void 0 : D.content) ?? "";
|
|
6391
6367
|
}), u)), delete i.result.cmsList;
|
|
6392
6368
|
}
|
|
6393
6369
|
}
|
|
6394
|
-
if (c.gameList in i.result && ((
|
|
6370
|
+
if (c.gameList in i.result && ((O = i.result) != null && O.gameList)) {
|
|
6395
6371
|
const m = i.result.gameList;
|
|
6396
6372
|
if (JSON.parse(e[ve].query).pid) {
|
|
6397
6373
|
const v = m.platformGame.map((u) => u.list.filter((l) => l.flag.trial && !u.nextPage).map((l) => l));
|
|
@@ -6399,38 +6375,38 @@ const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6399
6375
|
const u = i.result.getPlatformTurnoverRate;
|
|
6400
6376
|
m.platformGame = m.platformGame.map((l) => ({
|
|
6401
6377
|
...l,
|
|
6402
|
-
list: l.list.map((
|
|
6378
|
+
list: l.list.map((D) => {
|
|
6403
6379
|
const L = u.find(
|
|
6404
|
-
(V) => V.id ===
|
|
6380
|
+
(V) => V.id === D.platformId
|
|
6405
6381
|
);
|
|
6406
6382
|
return {
|
|
6407
|
-
...
|
|
6383
|
+
...D,
|
|
6408
6384
|
rate: (L == null ? void 0 : L.percentage) ?? "0.00"
|
|
6409
6385
|
};
|
|
6410
6386
|
})
|
|
6411
6387
|
})), m.platformGameList.data = m.platformGameList.data.map((l) => {
|
|
6412
|
-
const
|
|
6388
|
+
const D = u.find(
|
|
6413
6389
|
(L) => L.id === l.platformId
|
|
6414
6390
|
);
|
|
6415
6391
|
return {
|
|
6416
6392
|
...l,
|
|
6417
|
-
rate: (
|
|
6393
|
+
rate: (D == null ? void 0 : D.percentage) ?? "0.00"
|
|
6418
6394
|
};
|
|
6419
6395
|
}), m.hotGameList.data = m.hotGameList.data.map((l) => {
|
|
6420
|
-
const
|
|
6396
|
+
const D = u.find(
|
|
6421
6397
|
(L) => L.id === l.platformId
|
|
6422
6398
|
);
|
|
6423
6399
|
return {
|
|
6424
6400
|
...l,
|
|
6425
|
-
rate: (
|
|
6401
|
+
rate: (D == null ? void 0 : D.percentage) ?? "0.00"
|
|
6426
6402
|
};
|
|
6427
6403
|
}), m.trialGameList = m.trialGameList.map((l) => {
|
|
6428
|
-
const
|
|
6404
|
+
const D = u.find(
|
|
6429
6405
|
(L) => L.id === l.platformId
|
|
6430
6406
|
);
|
|
6431
6407
|
return {
|
|
6432
6408
|
...l,
|
|
6433
|
-
rate: (
|
|
6409
|
+
rate: (D == null ? void 0 : D.percentage) ?? "0.00"
|
|
6434
6410
|
};
|
|
6435
6411
|
}), delete i.result.getPlatformTurnoverRate;
|
|
6436
6412
|
}
|
|
@@ -6442,7 +6418,7 @@ const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6442
6418
|
if (c.searchResultDate in i.result && (se = i.result) != null && se.searchResultDate) {
|
|
6443
6419
|
const v = i.result.searchResultDate;
|
|
6444
6420
|
m.forEach((u) => {
|
|
6445
|
-
const l = v.find((
|
|
6421
|
+
const l = v.find((D) => D.id == u.id);
|
|
6446
6422
|
l && (u.date = l == null ? void 0 : l.date);
|
|
6447
6423
|
}), delete i.result.searchResultDate;
|
|
6448
6424
|
}
|
|
@@ -6702,10 +6678,10 @@ const tu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6702
6678
|
__proto__: null
|
|
6703
6679
|
}, Symbol.toStringTag, { value: "Module" })), Iu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6704
6680
|
__proto__: null
|
|
6705
|
-
}, Symbol.toStringTag, { value: "Module" })), Cu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6706
|
-
__proto__: null
|
|
6707
6681
|
}, Symbol.toStringTag, { value: "Module" })), ju = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6708
6682
|
__proto__: null
|
|
6683
|
+
}, Symbol.toStringTag, { value: "Module" })), Cu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6684
|
+
__proto__: null
|
|
6709
6685
|
}, Symbol.toStringTag, { value: "Module" })), Nu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6710
6686
|
__proto__: null
|
|
6711
6687
|
}, Symbol.toStringTag, { value: "Module" })), Lu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -6817,10 +6793,10 @@ const al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6817
6793
|
__proto__: null
|
|
6818
6794
|
}, Symbol.toStringTag, { value: "Module" })), Il = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6819
6795
|
__proto__: null
|
|
6820
|
-
}, Symbol.toStringTag, { value: "Module" })), Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6821
|
-
__proto__: null
|
|
6822
6796
|
}, Symbol.toStringTag, { value: "Module" })), jl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6823
6797
|
__proto__: null
|
|
6798
|
+
}, Symbol.toStringTag, { value: "Module" })), Cl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6799
|
+
__proto__: null
|
|
6824
6800
|
}, Symbol.toStringTag, { value: "Module" })), Nl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
6825
6801
|
__proto__: null
|
|
6826
6802
|
}, Symbol.toStringTag, { value: "Module" })), Ll = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
@@ -6940,8 +6916,8 @@ const al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6940
6916
|
getSettingType: pi,
|
|
6941
6917
|
transactionReportType: As,
|
|
6942
6918
|
changePasswordType: Iu,
|
|
6943
|
-
walletType:
|
|
6944
|
-
getEventListType:
|
|
6919
|
+
walletType: ju,
|
|
6920
|
+
getEventListType: Cu,
|
|
6945
6921
|
getEventTokenType: Nu,
|
|
6946
6922
|
getExtraGameType: Lu,
|
|
6947
6923
|
mailBoxType: Fu,
|
|
@@ -6998,8 +6974,8 @@ const al = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
6998
6974
|
requestTransferMoneyType: kl,
|
|
6999
6975
|
submitTransferMoneyType: Sl,
|
|
7000
6976
|
signInViewInfoType: Il,
|
|
7001
|
-
signInRecordType:
|
|
7002
|
-
referralProfileType:
|
|
6977
|
+
signInRecordType: jl,
|
|
6978
|
+
referralProfileType: Cl,
|
|
7003
6979
|
referralMemberProfileType: Nl,
|
|
7004
6980
|
registerActionType: Ll,
|
|
7005
6981
|
transferReportType: ri,
|
|
@@ -7087,7 +7063,7 @@ export {
|
|
|
7087
7063
|
gc as getCryptoAddressType,
|
|
7088
7064
|
fc as getCryptoListType,
|
|
7089
7065
|
$u as getDepositPromotionType,
|
|
7090
|
-
|
|
7066
|
+
Cu as getEventListType,
|
|
7091
7067
|
Nu as getEventTokenType,
|
|
7092
7068
|
Lu as getExtraGameType,
|
|
7093
7069
|
sc as getFavouriteGameType,
|
|
@@ -7144,7 +7120,7 @@ export {
|
|
|
7144
7120
|
il as readMailType,
|
|
7145
7121
|
cc as rebateRefundSettingType,
|
|
7146
7122
|
Nl as referralMemberProfileType,
|
|
7147
|
-
|
|
7123
|
+
Cl as referralProfileType,
|
|
7148
7124
|
Ll as registerActionType,
|
|
7149
7125
|
ac as registerFormType,
|
|
7150
7126
|
Ku as requestForgetPasswordType,
|
|
@@ -7156,7 +7132,7 @@ export {
|
|
|
7156
7132
|
xl as requestWithdrawalCodeType,
|
|
7157
7133
|
El as searchNumberHistoryType,
|
|
7158
7134
|
fu as setLocaleApi,
|
|
7159
|
-
|
|
7135
|
+
jl as signInRecordType,
|
|
7160
7136
|
Il as signInViewInfoType,
|
|
7161
7137
|
Gu as slotGameListType,
|
|
7162
7138
|
wc as spinWheelType,
|
|
@@ -7184,7 +7160,7 @@ export {
|
|
|
7184
7160
|
oc as updateFavouriteGameType,
|
|
7185
7161
|
ol as updateProfilePictureType,
|
|
7186
7162
|
wu as vipListType,
|
|
7187
|
-
|
|
7163
|
+
ju as walletType,
|
|
7188
7164
|
Su as withdrawType,
|
|
7189
7165
|
Mu as withdrawalGetType
|
|
7190
7166
|
};
|