@everymatrix/casino-slider 1.50.0 → 1.51.0
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.
@@ -1,15 +1,15 @@
|
|
1
|
-
var
|
1
|
+
var Lr = Object.defineProperty, Or = Object.defineProperties;
|
2
2
|
var Fr = Object.getOwnPropertyDescriptors;
|
3
3
|
var ct = Object.getOwnPropertySymbols;
|
4
4
|
var Rr = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable;
|
5
|
-
var Fe = (e, t, r) => t in e ?
|
5
|
+
var Fe = (e, t, r) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
7
|
Rr.call(t, r) && Fe(e, r, t[r]);
|
8
8
|
if (ct)
|
9
9
|
for (var r of ct(t))
|
10
10
|
Dr.call(t, r) && Fe(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
}, mt = (e, t) =>
|
12
|
+
}, mt = (e, t) => Or(e, Fr(t));
|
13
13
|
var U = (e, t, r) => Fe(e, typeof t != "symbol" ? t + "" : t, r);
|
14
14
|
var dt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (u) => {
|
@@ -60,7 +60,7 @@ function Ur(e, ...t) {
|
|
60
60
|
const r = e.subscribe(...t);
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
62
62
|
}
|
63
|
-
function
|
63
|
+
function I(e, t) {
|
64
64
|
e.appendChild(t);
|
65
65
|
}
|
66
66
|
function kr(e, t, r) {
|
@@ -80,7 +80,7 @@ function $r(e) {
|
|
80
80
|
) : e.ownerDocument;
|
81
81
|
}
|
82
82
|
function jr(e, t) {
|
83
|
-
return
|
83
|
+
return I(
|
84
84
|
/** @type {Document} */
|
85
85
|
e.head || e,
|
86
86
|
t
|
@@ -208,19 +208,19 @@ function zt(e, t, r, n, i, o, s, a, u, l, h, m) {
|
|
208
208
|
let R = s.get(N);
|
209
209
|
R ? C.push(() => R.p(H, t)) : (R = l(N, H), R.c()), w.set(N, d[g] = R), N in b && _.set(N, Math.abs(g - b[N]));
|
210
210
|
}
|
211
|
-
const P = /* @__PURE__ */ new Set(),
|
212
|
-
function
|
211
|
+
const P = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
|
212
|
+
function O(H) {
|
213
213
|
Xt(H, 1), H.m(a, h), s.set(H.key, H), h = H.first, p--;
|
214
214
|
}
|
215
215
|
for (; f && p; ) {
|
216
216
|
const H = d[p - 1], N = e[f - 1], R = H.key, G = N.key;
|
217
|
-
H === N ? (h = H.first, f--, p--) : w.has(G) ? !s.has(R) || P.has(R) ?
|
217
|
+
H === N ? (h = H.first, f--, p--) : w.has(G) ? !s.has(R) || P.has(R) ? O(H) : L.has(G) ? f-- : _.get(R) > _.get(G) ? (L.add(R), O(H)) : (P.add(G), f--) : (u(N, s), f--);
|
218
218
|
}
|
219
219
|
for (; f--; ) {
|
220
220
|
const H = e[f];
|
221
221
|
w.has(H.key) || u(H, s);
|
222
222
|
}
|
223
|
-
for (; p; )
|
223
|
+
for (; p; ) O(d[p - 1]);
|
224
224
|
return q(C), d;
|
225
225
|
}
|
226
226
|
function en(e, t, r) {
|
@@ -509,10 +509,10 @@ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @
|
|
509
509
|
const K = [];
|
510
510
|
function ln(e, t) {
|
511
511
|
return {
|
512
|
-
subscribe:
|
512
|
+
subscribe: Be(e, t).subscribe
|
513
513
|
};
|
514
514
|
}
|
515
|
-
function
|
515
|
+
function Be(e, t = $) {
|
516
516
|
let r;
|
517
517
|
const n = /* @__PURE__ */ new Set();
|
518
518
|
function i(a) {
|
@@ -681,7 +681,57 @@ function De(e, t, r) {
|
|
681
681
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
682
682
|
return e.concat(o || Array.prototype.slice.call(t));
|
683
683
|
}
|
684
|
-
|
684
|
+
function Ge(e, t) {
|
685
|
+
var r = t && t.cache ? t.cache : Mn, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Tn;
|
686
|
+
return i(e, {
|
687
|
+
cache: r,
|
688
|
+
serializer: n
|
689
|
+
});
|
690
|
+
}
|
691
|
+
function Sn(e) {
|
692
|
+
return e == null || typeof e == "number" || typeof e == "boolean";
|
693
|
+
}
|
694
|
+
function qt(e, t, r, n) {
|
695
|
+
var i = Sn(n) ? n : r(n), o = t.get(i);
|
696
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
697
|
+
}
|
698
|
+
function Jt(e, t, r) {
|
699
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
700
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
701
|
+
}
|
702
|
+
function nt(e, t, r, n, i) {
|
703
|
+
return r.bind(t, e, n, i);
|
704
|
+
}
|
705
|
+
function Tn(e, t) {
|
706
|
+
var r = e.length === 1 ? qt : Jt;
|
707
|
+
return nt(e, this, r, t.cache.create(), t.serializer);
|
708
|
+
}
|
709
|
+
function An(e, t) {
|
710
|
+
return nt(e, this, Jt, t.cache.create(), t.serializer);
|
711
|
+
}
|
712
|
+
function In(e, t) {
|
713
|
+
return nt(e, this, qt, t.cache.create(), t.serializer);
|
714
|
+
}
|
715
|
+
var Bn = function() {
|
716
|
+
return JSON.stringify(arguments);
|
717
|
+
};
|
718
|
+
function it() {
|
719
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
720
|
+
}
|
721
|
+
it.prototype.get = function(e) {
|
722
|
+
return this.cache[e];
|
723
|
+
};
|
724
|
+
it.prototype.set = function(e, t) {
|
725
|
+
this.cache[e] = t;
|
726
|
+
};
|
727
|
+
var Mn = {
|
728
|
+
create: function() {
|
729
|
+
return new it();
|
730
|
+
}
|
731
|
+
}, Ue = {
|
732
|
+
variadic: An,
|
733
|
+
monadic: In
|
734
|
+
}, y;
|
685
735
|
(function(e) {
|
686
736
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
687
737
|
})(y || (y = {}));
|
@@ -696,40 +746,40 @@ var ie;
|
|
696
746
|
function vt(e) {
|
697
747
|
return e.type === T.literal;
|
698
748
|
}
|
699
|
-
function
|
749
|
+
function Nn(e) {
|
700
750
|
return e.type === T.argument;
|
701
751
|
}
|
702
|
-
function
|
752
|
+
function Yt(e) {
|
703
753
|
return e.type === T.number;
|
704
754
|
}
|
705
|
-
function
|
755
|
+
function Kt(e) {
|
706
756
|
return e.type === T.date;
|
707
757
|
}
|
708
|
-
function
|
758
|
+
function er(e) {
|
709
759
|
return e.type === T.time;
|
710
760
|
}
|
711
|
-
function
|
761
|
+
function tr(e) {
|
712
762
|
return e.type === T.select;
|
713
763
|
}
|
714
|
-
function
|
764
|
+
function rr(e) {
|
715
765
|
return e.type === T.plural;
|
716
766
|
}
|
717
|
-
function
|
767
|
+
function Pn(e) {
|
718
768
|
return e.type === T.pound;
|
719
769
|
}
|
720
|
-
function
|
770
|
+
function nr(e) {
|
721
771
|
return e.type === T.tag;
|
722
772
|
}
|
723
|
-
function
|
773
|
+
function ir(e) {
|
724
774
|
return !!(e && typeof e == "object" && e.type === ie.number);
|
725
775
|
}
|
726
776
|
function ze(e) {
|
727
777
|
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
728
778
|
}
|
729
|
-
var
|
730
|
-
function
|
779
|
+
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ln = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
780
|
+
function On(e) {
|
731
781
|
var t = {};
|
732
|
-
return e.replace(
|
782
|
+
return e.replace(Ln, function(r) {
|
733
783
|
var n = r.length;
|
734
784
|
switch (r[0]) {
|
735
785
|
case "G":
|
@@ -818,11 +868,11 @@ function Bn(e) {
|
|
818
868
|
return "";
|
819
869
|
}), t;
|
820
870
|
}
|
821
|
-
var
|
822
|
-
function
|
871
|
+
var Fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
872
|
+
function Rn(e) {
|
823
873
|
if (e.length === 0)
|
824
874
|
throw new Error("Number skeleton cannot be empty");
|
825
|
-
for (var t = e.split(
|
875
|
+
for (var t = e.split(Fn).filter(function(f) {
|
826
876
|
return f.length > 0;
|
827
877
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
828
878
|
var o = i[n], s = o.split("/");
|
@@ -837,17 +887,17 @@ function Mn(e) {
|
|
837
887
|
}
|
838
888
|
return r;
|
839
889
|
}
|
840
|
-
function
|
890
|
+
function Dn(e) {
|
841
891
|
return e.replace(/^(.*?)-/, "");
|
842
892
|
}
|
843
|
-
var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
893
|
+
var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Gn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
844
894
|
function Et(e) {
|
845
895
|
var t = {};
|
846
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
896
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
|
847
897
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
848
898
|
}), t;
|
849
899
|
}
|
850
|
-
function
|
900
|
+
function lr(e) {
|
851
901
|
switch (e) {
|
852
902
|
case "sign-auto":
|
853
903
|
return {
|
@@ -887,7 +937,7 @@ function sr(e) {
|
|
887
937
|
};
|
888
938
|
}
|
889
939
|
}
|
890
|
-
function
|
940
|
+
function Un(e) {
|
891
941
|
var t;
|
892
942
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
893
943
|
notation: "engineering"
|
@@ -895,17 +945,17 @@ function On(e) {
|
|
895
945
|
notation: "scientific"
|
896
946
|
}, e = e.slice(1)), t) {
|
897
947
|
var r = e.slice(0, 2);
|
898
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
948
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
|
899
949
|
throw new Error("Malformed concise eng/scientific notation");
|
900
950
|
t.minimumIntegerDigits = e.length;
|
901
951
|
}
|
902
952
|
return t;
|
903
953
|
}
|
904
954
|
function xt(e) {
|
905
|
-
var t = {}, r =
|
955
|
+
var t = {}, r = lr(e);
|
906
956
|
return r || t;
|
907
957
|
}
|
908
|
-
function
|
958
|
+
function kn(e) {
|
909
959
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
910
960
|
var i = n[r];
|
911
961
|
switch (i.stem) {
|
@@ -929,7 +979,7 @@ function Ln(e) {
|
|
929
979
|
continue;
|
930
980
|
case "measure-unit":
|
931
981
|
case "unit":
|
932
|
-
t.style = "unit", t.unit =
|
982
|
+
t.style = "unit", t.unit = Dn(i.options[0]);
|
933
983
|
continue;
|
934
984
|
case "compact-short":
|
935
985
|
case "K":
|
@@ -991,7 +1041,7 @@ function Ln(e) {
|
|
991
1041
|
case "integer-width":
|
992
1042
|
if (i.options.length > 1)
|
993
1043
|
throw new RangeError("integer-width stems only accept a single optional option");
|
994
|
-
i.options[0].replace(
|
1044
|
+
i.options[0].replace(Gn, function(u, l, h, m, f, p) {
|
995
1045
|
if (l)
|
996
1046
|
t.minimumIntegerDigits = h.length;
|
997
1047
|
else {
|
@@ -1004,7 +1054,7 @@ function Ln(e) {
|
|
1004
1054
|
});
|
1005
1055
|
continue;
|
1006
1056
|
}
|
1007
|
-
if (
|
1057
|
+
if (ar.test(i.stem)) {
|
1008
1058
|
t.minimumIntegerDigits = i.stem.length;
|
1009
1059
|
continue;
|
1010
1060
|
}
|
@@ -1018,13 +1068,13 @@ function Ln(e) {
|
|
1018
1068
|
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Et(o)));
|
1019
1069
|
continue;
|
1020
1070
|
}
|
1021
|
-
if (
|
1071
|
+
if (sr.test(i.stem)) {
|
1022
1072
|
t = E(E({}, t), Et(i.stem));
|
1023
1073
|
continue;
|
1024
1074
|
}
|
1025
|
-
var s =
|
1075
|
+
var s = lr(i.stem);
|
1026
1076
|
s && (t = E(E({}, t), s));
|
1027
|
-
var a =
|
1077
|
+
var a = Un(i.stem);
|
1028
1078
|
a && (t = E(E({}, t), a));
|
1029
1079
|
}
|
1030
1080
|
return t;
|
@@ -1034,6 +1084,12 @@ var Ce = {
|
|
1034
1084
|
"H",
|
1035
1085
|
"h"
|
1036
1086
|
],
|
1087
|
+
419: [
|
1088
|
+
"h",
|
1089
|
+
"H",
|
1090
|
+
"hB",
|
1091
|
+
"hb"
|
1092
|
+
],
|
1037
1093
|
AC: [
|
1038
1094
|
"H",
|
1039
1095
|
"h",
|
@@ -1082,8 +1138,8 @@ var Ce = {
|
|
1082
1138
|
"hB"
|
1083
1139
|
],
|
1084
1140
|
AR: [
|
1085
|
-
"H",
|
1086
1141
|
"h",
|
1142
|
+
"H",
|
1087
1143
|
"hB",
|
1088
1144
|
"hb"
|
1089
1145
|
],
|
@@ -1173,9 +1229,9 @@ var Ce = {
|
|
1173
1229
|
"H"
|
1174
1230
|
],
|
1175
1231
|
BO: [
|
1232
|
+
"h",
|
1176
1233
|
"H",
|
1177
1234
|
"hB",
|
1178
|
-
"h",
|
1179
1235
|
"hb"
|
1180
1236
|
],
|
1181
1237
|
BQ: [
|
@@ -1252,8 +1308,8 @@ var Ce = {
|
|
1252
1308
|
"hB"
|
1253
1309
|
],
|
1254
1310
|
CL: [
|
1255
|
-
"H",
|
1256
1311
|
"h",
|
1312
|
+
"H",
|
1257
1313
|
"hB",
|
1258
1314
|
"hb"
|
1259
1315
|
],
|
@@ -1278,14 +1334,14 @@ var Ce = {
|
|
1278
1334
|
"H"
|
1279
1335
|
],
|
1280
1336
|
CR: [
|
1281
|
-
"H",
|
1282
1337
|
"h",
|
1338
|
+
"H",
|
1283
1339
|
"hB",
|
1284
1340
|
"hb"
|
1285
1341
|
],
|
1286
1342
|
CU: [
|
1287
|
-
"H",
|
1288
1343
|
"h",
|
1344
|
+
"H",
|
1289
1345
|
"hB",
|
1290
1346
|
"hb"
|
1291
1347
|
],
|
@@ -1354,9 +1410,9 @@ var Ce = {
|
|
1354
1410
|
"hb"
|
1355
1411
|
],
|
1356
1412
|
EC: [
|
1413
|
+
"h",
|
1357
1414
|
"H",
|
1358
1415
|
"hB",
|
1359
|
-
"h",
|
1360
1416
|
"hb"
|
1361
1417
|
],
|
1362
1418
|
EE: [
|
@@ -1492,8 +1548,8 @@ var Ce = {
|
|
1492
1548
|
"hB"
|
1493
1549
|
],
|
1494
1550
|
GT: [
|
1495
|
-
"H",
|
1496
1551
|
"h",
|
1552
|
+
"H",
|
1497
1553
|
"hB",
|
1498
1554
|
"hb"
|
1499
1555
|
],
|
@@ -1520,8 +1576,8 @@ var Ce = {
|
|
1520
1576
|
"H"
|
1521
1577
|
],
|
1522
1578
|
HN: [
|
1523
|
-
"H",
|
1524
1579
|
"h",
|
1580
|
+
"H",
|
1525
1581
|
"hB",
|
1526
1582
|
"hb"
|
1527
1583
|
],
|
@@ -1835,8 +1891,8 @@ var Ce = {
|
|
1835
1891
|
"hB"
|
1836
1892
|
],
|
1837
1893
|
MX: [
|
1838
|
-
"H",
|
1839
1894
|
"h",
|
1895
|
+
"H",
|
1840
1896
|
"hB",
|
1841
1897
|
"hb"
|
1842
1898
|
],
|
@@ -1876,8 +1932,8 @@ var Ce = {
|
|
1876
1932
|
"hB"
|
1877
1933
|
],
|
1878
1934
|
NI: [
|
1879
|
-
"H",
|
1880
1935
|
"h",
|
1936
|
+
"H",
|
1881
1937
|
"hB",
|
1882
1938
|
"hb"
|
1883
1939
|
],
|
@@ -1925,9 +1981,9 @@ var Ce = {
|
|
1925
1981
|
"hb"
|
1926
1982
|
],
|
1927
1983
|
PE: [
|
1984
|
+
"h",
|
1928
1985
|
"H",
|
1929
1986
|
"hB",
|
1930
|
-
"h",
|
1931
1987
|
"hb"
|
1932
1988
|
],
|
1933
1989
|
PF: [
|
@@ -1985,8 +2041,8 @@ var Ce = {
|
|
1985
2041
|
"H"
|
1986
2042
|
],
|
1987
2043
|
PY: [
|
1988
|
-
"H",
|
1989
2044
|
"h",
|
2045
|
+
"H",
|
1990
2046
|
"hB",
|
1991
2047
|
"hb"
|
1992
2048
|
],
|
@@ -2099,8 +2155,8 @@ var Ce = {
|
|
2099
2155
|
"hB"
|
2100
2156
|
],
|
2101
2157
|
SV: [
|
2102
|
-
"H",
|
2103
2158
|
"h",
|
2159
|
+
"H",
|
2104
2160
|
"hB",
|
2105
2161
|
"hb"
|
2106
2162
|
],
|
@@ -2222,8 +2278,8 @@ var Ce = {
|
|
2222
2278
|
"hB"
|
2223
2279
|
],
|
2224
2280
|
UY: [
|
2225
|
-
"H",
|
2226
2281
|
"h",
|
2282
|
+
"H",
|
2227
2283
|
"hB",
|
2228
2284
|
"hb"
|
2229
2285
|
],
|
@@ -2331,37 +2387,37 @@ var Ce = {
|
|
2331
2387
|
"H",
|
2332
2388
|
"hB"
|
2333
2389
|
],
|
2334
|
-
"
|
2335
|
-
"H",
|
2390
|
+
"en-HK": [
|
2336
2391
|
"h",
|
2337
|
-
"
|
2338
|
-
"
|
2392
|
+
"hb",
|
2393
|
+
"H",
|
2394
|
+
"hB"
|
2339
2395
|
],
|
2340
|
-
"
|
2396
|
+
"en-IL": [
|
2341
2397
|
"H",
|
2342
2398
|
"h",
|
2343
|
-
"
|
2344
|
-
"
|
2399
|
+
"hb",
|
2400
|
+
"hB"
|
2345
2401
|
],
|
2346
|
-
"
|
2347
|
-
"H",
|
2402
|
+
"en-MY": [
|
2348
2403
|
"h",
|
2349
|
-
"
|
2350
|
-
"
|
2404
|
+
"hb",
|
2405
|
+
"H",
|
2406
|
+
"hB"
|
2351
2407
|
],
|
2352
|
-
"es-
|
2408
|
+
"es-BR": [
|
2353
2409
|
"H",
|
2354
2410
|
"h",
|
2355
2411
|
"hB",
|
2356
2412
|
"hb"
|
2357
2413
|
],
|
2358
|
-
"es-
|
2414
|
+
"es-ES": [
|
2359
2415
|
"H",
|
2360
2416
|
"h",
|
2361
2417
|
"hB",
|
2362
2418
|
"hb"
|
2363
2419
|
],
|
2364
|
-
"es-
|
2420
|
+
"es-GQ": [
|
2365
2421
|
"H",
|
2366
2422
|
"h",
|
2367
2423
|
"hB",
|
@@ -2438,13 +2494,13 @@ var Ce = {
|
|
2438
2494
|
"h"
|
2439
2495
|
]
|
2440
2496
|
};
|
2441
|
-
function
|
2497
|
+
function $n(e, t) {
|
2442
2498
|
for (var r = "", n = 0; n < e.length; n++) {
|
2443
2499
|
var i = e.charAt(n);
|
2444
2500
|
if (i === "j") {
|
2445
2501
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2446
2502
|
o++, n++;
|
2447
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
2503
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = jn(t);
|
2448
2504
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
2449
2505
|
r += u;
|
2450
2506
|
for (; s-- > 0; )
|
@@ -2453,7 +2509,7 @@ function Fn(e, t) {
|
|
2453
2509
|
}
|
2454
2510
|
return r;
|
2455
2511
|
}
|
2456
|
-
function
|
2512
|
+
function jn(e) {
|
2457
2513
|
var t = e.hourCycle;
|
2458
2514
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2459
2515
|
e.hourCycles && // @ts-ignore
|
@@ -2475,20 +2531,20 @@ function Rn(e) {
|
|
2475
2531
|
var i = Ce[n || ""] || Ce[r || ""] || Ce["".concat(r, "-001")] || Ce["001"];
|
2476
2532
|
return i[0];
|
2477
2533
|
}
|
2478
|
-
var
|
2534
|
+
var ke, Vn = new RegExp("^".concat(or.source, "*")), Xn = new RegExp("".concat(or.source, "*$"));
|
2479
2535
|
function v(e, t) {
|
2480
2536
|
return { start: e, end: t };
|
2481
2537
|
}
|
2482
|
-
var
|
2538
|
+
var Wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), zn = !!String.fromCodePoint, Zn = !!Object.fromEntries, Qn = !!String.prototype.codePointAt, qn = !!String.prototype.trimStart, Jn = !!String.prototype.trimEnd, Yn = !!Number.isSafeInteger, Kn = Yn ? Number.isSafeInteger : function(e) {
|
2483
2539
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2484
2540
|
}, Ze = !0;
|
2485
2541
|
try {
|
2486
|
-
var
|
2487
|
-
Ze = ((
|
2542
|
+
var ei = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2543
|
+
Ze = ((ke = ei.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
|
2488
2544
|
} catch (e) {
|
2489
2545
|
Ze = !1;
|
2490
2546
|
}
|
2491
|
-
var Ct =
|
2547
|
+
var Ct = Wn ? (
|
2492
2548
|
// Native
|
2493
2549
|
function(t, r, n) {
|
2494
2550
|
return t.startsWith(r, n);
|
@@ -2498,7 +2554,7 @@ var Ct = Un ? (
|
|
2498
2554
|
function(t, r, n) {
|
2499
2555
|
return t.slice(n, n + r.length) === r;
|
2500
2556
|
}
|
2501
|
-
), Qe =
|
2557
|
+
), Qe = zn ? String.fromCodePoint : (
|
2502
2558
|
// IE11
|
2503
2559
|
function() {
|
2504
2560
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2512,7 +2568,7 @@ var Ct = Un ? (
|
|
2512
2568
|
}
|
2513
2569
|
), wt = (
|
2514
2570
|
// native
|
2515
|
-
|
2571
|
+
Zn ? Object.fromEntries : (
|
2516
2572
|
// Ponyfill
|
2517
2573
|
function(t) {
|
2518
2574
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2522,7 +2578,7 @@ var Ct = Un ? (
|
|
2522
2578
|
return r;
|
2523
2579
|
}
|
2524
2580
|
)
|
2525
|
-
),
|
2581
|
+
), ur = Qn ? (
|
2526
2582
|
// Native
|
2527
2583
|
function(t, r) {
|
2528
2584
|
return t.codePointAt(r);
|
@@ -2536,7 +2592,7 @@ var Ct = Un ? (
|
|
2536
2592
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2537
2593
|
}
|
2538
2594
|
}
|
2539
|
-
),
|
2595
|
+
), ti = qn ? (
|
2540
2596
|
// Native
|
2541
2597
|
function(t) {
|
2542
2598
|
return t.trimStart();
|
@@ -2544,9 +2600,9 @@ var Ct = Un ? (
|
|
2544
2600
|
) : (
|
2545
2601
|
// Ponyfill
|
2546
2602
|
function(t) {
|
2547
|
-
return t.replace(
|
2603
|
+
return t.replace(Vn, "");
|
2548
2604
|
}
|
2549
|
-
),
|
2605
|
+
), ri = Jn ? (
|
2550
2606
|
// Native
|
2551
2607
|
function(t) {
|
2552
2608
|
return t.trimEnd();
|
@@ -2554,15 +2610,15 @@ var Ct = Un ? (
|
|
2554
2610
|
) : (
|
2555
2611
|
// Ponyfill
|
2556
2612
|
function(t) {
|
2557
|
-
return t.replace(
|
2613
|
+
return t.replace(Xn, "");
|
2558
2614
|
}
|
2559
2615
|
);
|
2560
|
-
function
|
2616
|
+
function hr(e, t) {
|
2561
2617
|
return new RegExp(e, t);
|
2562
2618
|
}
|
2563
2619
|
var qe;
|
2564
2620
|
if (Ze) {
|
2565
|
-
var Ht =
|
2621
|
+
var Ht = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2566
2622
|
qe = function(t, r) {
|
2567
2623
|
var n;
|
2568
2624
|
Ht.lastIndex = r;
|
@@ -2572,14 +2628,14 @@ if (Ze) {
|
|
2572
2628
|
} else
|
2573
2629
|
qe = function(t, r) {
|
2574
2630
|
for (var n = []; ; ) {
|
2575
|
-
var i =
|
2576
|
-
if (i === void 0 ||
|
2631
|
+
var i = ur(t, r);
|
2632
|
+
if (i === void 0 || cr(i) || si(i))
|
2577
2633
|
break;
|
2578
2634
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2579
2635
|
}
|
2580
2636
|
return Qe.apply(void 0, n);
|
2581
2637
|
};
|
2582
|
-
var
|
2638
|
+
var ni = (
|
2583
2639
|
/** @class */
|
2584
2640
|
function() {
|
2585
2641
|
function e(t, r) {
|
@@ -2661,7 +2717,7 @@ var Jn = (
|
|
2661
2717
|
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
2662
2718
|
}, e.prototype.parseTagName = function() {
|
2663
2719
|
var t = this.offset();
|
2664
|
-
for (this.bump(); !this.isEOF() &&
|
2720
|
+
for (this.bump(); !this.isEOF() && oi(this.char()); )
|
2665
2721
|
this.bump();
|
2666
2722
|
return this.message.slice(t, this.offset());
|
2667
2723
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2690,7 +2746,7 @@ var Jn = (
|
|
2690
2746
|
};
|
2691
2747
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2692
2748
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2693
|
-
!
|
2749
|
+
!ii(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2694
2750
|
}, e.prototype.tryParseQuote = function(t) {
|
2695
2751
|
if (this.isEOF() || this.char() !== 39)
|
2696
2752
|
return null;
|
@@ -2777,7 +2833,7 @@ var Jn = (
|
|
2777
2833
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
2778
2834
|
if (m.err)
|
2779
2835
|
return m;
|
2780
|
-
var f =
|
2836
|
+
var f = ri(m.val);
|
2781
2837
|
if (f.length === 0)
|
2782
2838
|
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
2783
2839
|
var p = v(h, this.clonePosition());
|
@@ -2788,7 +2844,7 @@ var Jn = (
|
|
2788
2844
|
return g;
|
2789
2845
|
var b = v(i, this.clonePosition());
|
2790
2846
|
if (l && Ct(l == null ? void 0 : l.style, "::", 0)) {
|
2791
|
-
var d =
|
2847
|
+
var d = ti(l.style.slice(2));
|
2792
2848
|
if (a === "number") {
|
2793
2849
|
var m = this.parseNumberSkeletonFromString(d, l.styleLocation);
|
2794
2850
|
return m.err ? m : {
|
@@ -2799,12 +2855,12 @@ var Jn = (
|
|
2799
2855
|
if (d.length === 0)
|
2800
2856
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, b);
|
2801
2857
|
var w = d;
|
2802
|
-
this.locale && (w =
|
2858
|
+
this.locale && (w = $n(d, this.locale));
|
2803
2859
|
var f = {
|
2804
2860
|
type: ie.dateTime,
|
2805
2861
|
pattern: w,
|
2806
2862
|
location: l.styleLocation,
|
2807
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2863
|
+
parsedOptions: this.shouldParseSkeletons ? On(w) : {}
|
2808
2864
|
}, _ = a === "date" ? T.date : T.time;
|
2809
2865
|
return {
|
2810
2866
|
val: { type: _, value: n, location: b, style: f },
|
@@ -2829,7 +2885,7 @@ var Jn = (
|
|
2829
2885
|
if (this.bumpSpace(), !this.bumpIf(","))
|
2830
2886
|
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(C, E({}, C)));
|
2831
2887
|
this.bumpSpace();
|
2832
|
-
var P = this.parseIdentifierIfPossible(),
|
2888
|
+
var P = this.parseIdentifierIfPossible(), L = 0;
|
2833
2889
|
if (a !== "select" && P.value === "offset") {
|
2834
2890
|
if (!this.bumpIf(":"))
|
2835
2891
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
@@ -2837,11 +2893,11 @@ var Jn = (
|
|
2837
2893
|
var m = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
2838
2894
|
if (m.err)
|
2839
2895
|
return m;
|
2840
|
-
this.bumpSpace(), P = this.parseIdentifierIfPossible(),
|
2896
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), L = m.val;
|
2841
2897
|
}
|
2842
|
-
var
|
2843
|
-
if (
|
2844
|
-
return
|
2898
|
+
var O = this.tryParsePluralOrSelectOptions(t, a, r, P);
|
2899
|
+
if (O.err)
|
2900
|
+
return O;
|
2845
2901
|
var g = this.tryParseArgumentClose(i);
|
2846
2902
|
if (g.err)
|
2847
2903
|
return g;
|
@@ -2850,7 +2906,7 @@ var Jn = (
|
|
2850
2906
|
val: {
|
2851
2907
|
type: T.select,
|
2852
2908
|
value: n,
|
2853
|
-
options: wt(
|
2909
|
+
options: wt(O.val),
|
2854
2910
|
location: H
|
2855
2911
|
},
|
2856
2912
|
err: null
|
@@ -2858,8 +2914,8 @@ var Jn = (
|
|
2858
2914
|
val: {
|
2859
2915
|
type: T.plural,
|
2860
2916
|
value: n,
|
2861
|
-
options: wt(
|
2862
|
-
offset:
|
2917
|
+
options: wt(O.val),
|
2918
|
+
offset: L,
|
2863
2919
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2864
2920
|
location: H
|
2865
2921
|
},
|
@@ -2909,7 +2965,7 @@ var Jn = (
|
|
2909
2965
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2910
2966
|
var n = [];
|
2911
2967
|
try {
|
2912
|
-
n =
|
2968
|
+
n = Rn(t);
|
2913
2969
|
} catch (i) {
|
2914
2970
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
2915
2971
|
}
|
@@ -2918,7 +2974,7 @@ var Jn = (
|
|
2918
2974
|
type: ie.number,
|
2919
2975
|
tokens: n,
|
2920
2976
|
location: r,
|
2921
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2977
|
+
parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
|
2922
2978
|
},
|
2923
2979
|
err: null
|
2924
2980
|
};
|
@@ -2966,7 +3022,7 @@ var Jn = (
|
|
2966
3022
|
break;
|
2967
3023
|
}
|
2968
3024
|
var u = v(i, this.clonePosition());
|
2969
|
-
return o ? (s *= n,
|
3025
|
+
return o ? (s *= n, Kn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
2970
3026
|
}, e.prototype.offset = function() {
|
2971
3027
|
return this.position.offset;
|
2972
3028
|
}, e.prototype.isEOF = function() {
|
@@ -2981,7 +3037,7 @@ var Jn = (
|
|
2981
3037
|
var t = this.position.offset;
|
2982
3038
|
if (t >= this.message.length)
|
2983
3039
|
throw Error("out of bound");
|
2984
|
-
var r =
|
3040
|
+
var r = ur(this.message, t);
|
2985
3041
|
if (r === void 0)
|
2986
3042
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
2987
3043
|
return r;
|
@@ -3022,7 +3078,7 @@ var Jn = (
|
|
3022
3078
|
break;
|
3023
3079
|
}
|
3024
3080
|
}, e.prototype.bumpSpace = function() {
|
3025
|
-
for (; !this.isEOF() &&
|
3081
|
+
for (; !this.isEOF() && cr(this.char()); )
|
3026
3082
|
this.bump();
|
3027
3083
|
}, e.prototype.peek = function() {
|
3028
3084
|
if (this.isEOF())
|
@@ -3035,86 +3091,36 @@ var Jn = (
|
|
3035
3091
|
function Je(e) {
|
3036
3092
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3037
3093
|
}
|
3038
|
-
function
|
3094
|
+
function ii(e) {
|
3039
3095
|
return Je(e) || e === 47;
|
3040
3096
|
}
|
3041
|
-
function
|
3097
|
+
function oi(e) {
|
3042
3098
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
3043
3099
|
}
|
3044
|
-
function
|
3100
|
+
function cr(e) {
|
3045
3101
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3046
3102
|
}
|
3047
|
-
function
|
3103
|
+
function si(e) {
|
3048
3104
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
3049
3105
|
}
|
3050
3106
|
function Ye(e) {
|
3051
3107
|
e.forEach(function(t) {
|
3052
|
-
if (delete t.location,
|
3108
|
+
if (delete t.location, tr(t) || rr(t))
|
3053
3109
|
for (var r in t.options)
|
3054
3110
|
delete t.options[r].location, Ye(t.options[r].value);
|
3055
|
-
else
|
3111
|
+
else Yt(t) && ir(t.style) || (Kt(t) || er(t)) && ze(t.style) ? delete t.style.location : nr(t) && Ye(t.children);
|
3056
3112
|
});
|
3057
3113
|
}
|
3058
|
-
function
|
3114
|
+
function ai(e, t) {
|
3059
3115
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3060
|
-
var r = new
|
3116
|
+
var r = new ni(e, t).parse();
|
3061
3117
|
if (r.err) {
|
3062
3118
|
var n = SyntaxError(y[r.err.kind]);
|
3063
3119
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3064
3120
|
}
|
3065
3121
|
return t != null && t.captureLocation || Ye(r.val), r.val;
|
3066
3122
|
}
|
3067
|
-
|
3068
|
-
var r = t && t.cache ? t.cache : ai, n = t && t.serializer ? t.serializer : si, i = t && t.strategy ? t.strategy : ni;
|
3069
|
-
return i(e, {
|
3070
|
-
cache: r,
|
3071
|
-
serializer: n
|
3072
|
-
});
|
3073
|
-
}
|
3074
|
-
function ri(e) {
|
3075
|
-
return e == null || typeof e == "number" || typeof e == "boolean";
|
3076
|
-
}
|
3077
|
-
function hr(e, t, r, n) {
|
3078
|
-
var i = ri(n) ? n : r(n), o = t.get(i);
|
3079
|
-
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
3080
|
-
}
|
3081
|
-
function cr(e, t, r) {
|
3082
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
3083
|
-
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
3084
|
-
}
|
3085
|
-
function nt(e, t, r, n, i) {
|
3086
|
-
return r.bind(t, e, n, i);
|
3087
|
-
}
|
3088
|
-
function ni(e, t) {
|
3089
|
-
var r = e.length === 1 ? hr : cr;
|
3090
|
-
return nt(e, this, r, t.cache.create(), t.serializer);
|
3091
|
-
}
|
3092
|
-
function ii(e, t) {
|
3093
|
-
return nt(e, this, cr, t.cache.create(), t.serializer);
|
3094
|
-
}
|
3095
|
-
function oi(e, t) {
|
3096
|
-
return nt(e, this, hr, t.cache.create(), t.serializer);
|
3097
|
-
}
|
3098
|
-
var si = function() {
|
3099
|
-
return JSON.stringify(arguments);
|
3100
|
-
};
|
3101
|
-
function it() {
|
3102
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
3103
|
-
}
|
3104
|
-
it.prototype.get = function(e) {
|
3105
|
-
return this.cache[e];
|
3106
|
-
};
|
3107
|
-
it.prototype.set = function(e, t) {
|
3108
|
-
this.cache[e] = t;
|
3109
|
-
};
|
3110
|
-
var ai = {
|
3111
|
-
create: function() {
|
3112
|
-
return new it();
|
3113
|
-
}
|
3114
|
-
}, ke = {
|
3115
|
-
variadic: ii,
|
3116
|
-
monadic: oi
|
3117
|
-
}, oe;
|
3123
|
+
var oe;
|
3118
3124
|
(function(e) {
|
3119
3125
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3120
3126
|
})(oe || (oe = {}));
|
@@ -3187,7 +3193,7 @@ function He(e, t, r, n, i, o, s) {
|
|
3187
3193
|
});
|
3188
3194
|
continue;
|
3189
3195
|
}
|
3190
|
-
if (
|
3196
|
+
if (Pn(h)) {
|
3191
3197
|
typeof o == "number" && a.push({
|
3192
3198
|
type: F.literal,
|
3193
3199
|
value: r.getNumberFormat(t).format(o)
|
@@ -3198,14 +3204,14 @@ function He(e, t, r, n, i, o, s) {
|
|
3198
3204
|
if (!(i && m in i))
|
3199
3205
|
throw new ui(m, s);
|
3200
3206
|
var f = i[m];
|
3201
|
-
if (
|
3207
|
+
if (Nn(h)) {
|
3202
3208
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3203
3209
|
type: typeof f == "string" ? F.literal : F.object,
|
3204
3210
|
value: f
|
3205
3211
|
});
|
3206
3212
|
continue;
|
3207
3213
|
}
|
3208
|
-
if (
|
3214
|
+
if (Kt(h)) {
|
3209
3215
|
var p = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
|
3210
3216
|
a.push({
|
3211
3217
|
type: F.literal,
|
@@ -3213,7 +3219,7 @@ function He(e, t, r, n, i, o, s) {
|
|
3213
3219
|
});
|
3214
3220
|
continue;
|
3215
3221
|
}
|
3216
|
-
if (
|
3222
|
+
if (er(h)) {
|
3217
3223
|
var p = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
|
3218
3224
|
a.push({
|
3219
3225
|
type: F.literal,
|
@@ -3221,36 +3227,36 @@ function He(e, t, r, n, i, o, s) {
|
|
3221
3227
|
});
|
3222
3228
|
continue;
|
3223
3229
|
}
|
3224
|
-
if (
|
3225
|
-
var p = typeof h.style == "string" ? n.number[h.style] :
|
3230
|
+
if (Yt(h)) {
|
3231
|
+
var p = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
|
3226
3232
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3227
3233
|
type: F.literal,
|
3228
3234
|
value: r.getNumberFormat(t, p).format(f)
|
3229
3235
|
});
|
3230
3236
|
continue;
|
3231
3237
|
}
|
3232
|
-
if (
|
3238
|
+
if (nr(h)) {
|
3233
3239
|
var g = h.children, b = h.value, d = i[b];
|
3234
3240
|
if (!ci(d))
|
3235
3241
|
throw new li(b, "function", s);
|
3236
|
-
var w = He(g, t, r, n, i, o), _ = d(w.map(function(
|
3237
|
-
return
|
3242
|
+
var w = He(g, t, r, n, i, o), _ = d(w.map(function(L) {
|
3243
|
+
return L.value;
|
3238
3244
|
}));
|
3239
|
-
Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(
|
3245
|
+
Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(L) {
|
3240
3246
|
return {
|
3241
|
-
type: typeof
|
3242
|
-
value:
|
3247
|
+
type: typeof L == "string" ? F.literal : F.object,
|
3248
|
+
value: L
|
3243
3249
|
};
|
3244
3250
|
}));
|
3245
3251
|
}
|
3246
|
-
if (
|
3252
|
+
if (tr(h)) {
|
3247
3253
|
var C = h.options[f] || h.options.other;
|
3248
3254
|
if (!C)
|
3249
3255
|
throw new St(h.value, f, Object.keys(h.options), s);
|
3250
3256
|
a.push.apply(a, He(C.value, t, r, n, i));
|
3251
3257
|
continue;
|
3252
3258
|
}
|
3253
|
-
if (
|
3259
|
+
if (rr(h)) {
|
3254
3260
|
var C = h.options["=".concat(f)];
|
3255
3261
|
if (!C) {
|
3256
3262
|
if (!Intl.PluralRules)
|
@@ -3298,29 +3304,29 @@ function di(e) {
|
|
3298
3304
|
dateTime: {},
|
3299
3305
|
pluralRules: {}
|
3300
3306
|
}), {
|
3301
|
-
getNumberFormat:
|
3307
|
+
getNumberFormat: Ge(function() {
|
3302
3308
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3303
3309
|
r[n] = arguments[n];
|
3304
3310
|
return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
|
3305
3311
|
}, {
|
3306
3312
|
cache: $e(e.number),
|
3307
|
-
strategy:
|
3313
|
+
strategy: Ue.variadic
|
3308
3314
|
}),
|
3309
|
-
getDateTimeFormat:
|
3315
|
+
getDateTimeFormat: Ge(function() {
|
3310
3316
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3311
3317
|
r[n] = arguments[n];
|
3312
3318
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
|
3313
3319
|
}, {
|
3314
3320
|
cache: $e(e.dateTime),
|
3315
|
-
strategy:
|
3321
|
+
strategy: Ue.variadic
|
3316
3322
|
}),
|
3317
|
-
getPluralRules:
|
3323
|
+
getPluralRules: Ge(function() {
|
3318
3324
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3319
3325
|
r[n] = arguments[n];
|
3320
3326
|
return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
|
3321
3327
|
}, {
|
3322
3328
|
cache: $e(e.pluralRules),
|
3323
|
-
strategy:
|
3329
|
+
strategy: Ue.variadic
|
3324
3330
|
})
|
3325
3331
|
};
|
3326
3332
|
}
|
@@ -3328,8 +3334,9 @@ var pi = (
|
|
3328
3334
|
/** @class */
|
3329
3335
|
function() {
|
3330
3336
|
function e(t, r, n, i) {
|
3337
|
+
r === void 0 && (r = e.defaultLocale);
|
3331
3338
|
var o = this;
|
3332
|
-
if (
|
3339
|
+
if (this.formatterCache = {
|
3333
3340
|
number: {},
|
3334
3341
|
dateTime: {},
|
3335
3342
|
pluralRules: {}
|
@@ -3374,7 +3381,7 @@ var pi = (
|
|
3374
3381
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3375
3382
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3376
3383
|
}
|
3377
|
-
}, e.__parse =
|
3384
|
+
}, e.__parse = ai, e.formats = {
|
3378
3385
|
number: {
|
3379
3386
|
integer: {
|
3380
3387
|
maximumFractionDigits: 0
|
@@ -3469,7 +3476,7 @@ const X = {}, bi = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][
|
|
3469
3476
|
}
|
3470
3477
|
};
|
3471
3478
|
let ot;
|
3472
|
-
const le =
|
3479
|
+
const le = Be({});
|
3473
3480
|
function yi(e) {
|
3474
3481
|
return ot[e] || null;
|
3475
3482
|
}
|
@@ -3581,23 +3588,23 @@ const wi = {
|
|
3581
3588
|
function se() {
|
3582
3589
|
return Si;
|
3583
3590
|
}
|
3584
|
-
const je =
|
3585
|
-
var Ti = Object.defineProperty, Ai = Object.defineProperties,
|
3591
|
+
const je = Be(!1);
|
3592
|
+
var Ti = Object.defineProperty, Ai = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
|
3586
3593
|
for (var r in t || (t = {}))
|
3587
|
-
|
3594
|
+
Bi.call(t, r) && At(e, r, t[r]);
|
3588
3595
|
if (Tt)
|
3589
3596
|
for (var r of Tt(t))
|
3590
3597
|
Mi.call(t, r) && At(e, r, t[r]);
|
3591
3598
|
return e;
|
3592
|
-
}, Pi = (e, t) => Ai(e,
|
3599
|
+
}, Pi = (e, t) => Ai(e, Ii(t));
|
3593
3600
|
let et;
|
3594
|
-
const Ae =
|
3595
|
-
function
|
3601
|
+
const Ae = Be(null);
|
3602
|
+
function It(e) {
|
3596
3603
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3597
3604
|
}
|
3598
3605
|
function Pe(e, t = se().fallbackLocale) {
|
3599
|
-
const r =
|
3600
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3606
|
+
const r = It(e);
|
3607
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
|
3601
3608
|
}
|
3602
3609
|
function J() {
|
3603
3610
|
return et != null ? et : void 0;
|
@@ -3605,7 +3612,7 @@ function J() {
|
|
3605
3612
|
Ae.subscribe((e) => {
|
3606
3613
|
et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3607
3614
|
});
|
3608
|
-
const
|
3615
|
+
const Li = (e) => {
|
3609
3616
|
if (e && _i(e) && Ke(e)) {
|
3610
3617
|
const { loadingDelay: t } = se();
|
3611
3618
|
let r;
|
@@ -3620,27 +3627,27 @@ const Oi = (e) => {
|
|
3620
3627
|
}
|
3621
3628
|
return Ae.set(e);
|
3622
3629
|
}, W = Pi(Ni({}, Ae), {
|
3623
|
-
set:
|
3624
|
-
}),
|
3630
|
+
set: Li
|
3631
|
+
}), Le = (e) => {
|
3625
3632
|
const t = /* @__PURE__ */ Object.create(null);
|
3626
3633
|
return (n) => {
|
3627
3634
|
const i = JSON.stringify(n);
|
3628
3635
|
return i in t ? t[i] : t[i] = e(n);
|
3629
3636
|
};
|
3630
3637
|
};
|
3631
|
-
var
|
3638
|
+
var Oi = Object.defineProperty, Ie = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
3632
3639
|
for (var r in t || (t = {}))
|
3633
|
-
br.call(t, r) &&
|
3634
|
-
if (
|
3635
|
-
for (var r of
|
3636
|
-
yr.call(t, r) &&
|
3640
|
+
br.call(t, r) && Bt(e, r, t[r]);
|
3641
|
+
if (Ie)
|
3642
|
+
for (var r of Ie(t))
|
3643
|
+
yr.call(t, r) && Bt(e, r, t[r]);
|
3637
3644
|
return e;
|
3638
3645
|
}, ue = (e, t) => {
|
3639
3646
|
var r = {};
|
3640
3647
|
for (var n in e)
|
3641
3648
|
br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3642
|
-
if (e != null &&
|
3643
|
-
for (var n of
|
3649
|
+
if (e != null && Ie)
|
3650
|
+
for (var n of Ie(e))
|
3644
3651
|
t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
|
3645
3652
|
return r;
|
3646
3653
|
};
|
@@ -3649,21 +3656,21 @@ const be = (e, t) => {
|
|
3649
3656
|
if (e in r && t in r[e])
|
3650
3657
|
return r[e][t];
|
3651
3658
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3652
|
-
}, Fi =
|
3659
|
+
}, Fi = Le(
|
3653
3660
|
(e) => {
|
3654
3661
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
3655
3662
|
if (r == null)
|
3656
3663
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3657
3664
|
return n && (i = be("number", n)), new Intl.NumberFormat(r, i);
|
3658
3665
|
}
|
3659
|
-
), Ri =
|
3666
|
+
), Ri = Le(
|
3660
3667
|
(e) => {
|
3661
3668
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
3662
3669
|
if (r == null)
|
3663
3670
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3664
3671
|
return n ? i = be("date", n) : Object.keys(i).length === 0 && (i = be("date", "short")), new Intl.DateTimeFormat(r, i);
|
3665
3672
|
}
|
3666
|
-
), Di =
|
3673
|
+
), Di = Le(
|
3667
3674
|
(e) => {
|
3668
3675
|
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
3669
3676
|
if (r == null)
|
@@ -3693,7 +3700,7 @@ const be = (e, t) => {
|
|
3693
3700
|
"locale"
|
3694
3701
|
]);
|
3695
3702
|
return Di(st({ locale: r }, n));
|
3696
|
-
}, $i =
|
3703
|
+
}, $i = Le(
|
3697
3704
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3698
3705
|
(e, t = J()) => new pi(e, t, se().formats, {
|
3699
3706
|
ignoreTag: se().ignoreTag
|
@@ -3797,6 +3804,11 @@ const Nt = {
|
|
3797
3804
|
login: "Entrar",
|
3798
3805
|
register: "Registro",
|
3799
3806
|
deposit: "Depósito"
|
3807
|
+
},
|
3808
|
+
"en-us": {
|
3809
|
+
login: "Login",
|
3810
|
+
register: "Register",
|
3811
|
+
deposit: "Deposit"
|
3800
3812
|
}
|
3801
3813
|
};
|
3802
3814
|
function qi(e) {
|
@@ -3806,11 +3818,11 @@ function Pt(e, t, r) {
|
|
3806
3818
|
const n = e.slice();
|
3807
3819
|
return n[49] = t[r], n[51] = r, n;
|
3808
3820
|
}
|
3809
|
-
function
|
3821
|
+
function Lt(e, t, r) {
|
3810
3822
|
const n = e.slice();
|
3811
3823
|
return n[52] = t[r], n;
|
3812
3824
|
}
|
3813
|
-
function
|
3825
|
+
function Ot(e, t, r) {
|
3814
3826
|
const n = e.slice();
|
3815
3827
|
return n[55] = t[r], n[57] = r, n;
|
3816
3828
|
}
|
@@ -3862,7 +3874,7 @@ function Ji(e) {
|
|
3862
3874
|
t = M("button"), n = ye(r), S(t, "class", "CategoryButton");
|
3863
3875
|
},
|
3864
3876
|
m(i, o) {
|
3865
|
-
k(i, t, o),
|
3877
|
+
k(i, t, o), I(t, n);
|
3866
3878
|
},
|
3867
3879
|
p(i, o) {
|
3868
3880
|
o[0] & /*sliderdata*/
|
@@ -3885,7 +3897,7 @@ function Yi(e) {
|
|
3885
3897
|
e[49].path);
|
3886
3898
|
},
|
3887
3899
|
m(o, s) {
|
3888
|
-
k(o, t, s),
|
3900
|
+
k(o, t, s), I(t, n);
|
3889
3901
|
},
|
3890
3902
|
p(o, s) {
|
3891
3903
|
s[0] & /*sliderdata*/
|
@@ -3928,7 +3940,7 @@ function Dt(e) {
|
|
3928
3940
|
e[10]
|
3929
3941
|
), n = [];
|
3930
3942
|
for (let i = 0; i < r.length; i += 1)
|
3931
|
-
n[i] = kt(
|
3943
|
+
n[i] = kt(Lt(e, r, i));
|
3932
3944
|
return {
|
3933
3945
|
c() {
|
3934
3946
|
t = M("ul");
|
@@ -3950,7 +3962,7 @@ function Dt(e) {
|
|
3950
3962
|
);
|
3951
3963
|
let s;
|
3952
3964
|
for (s = 0; s < r.length; s += 1) {
|
3953
|
-
const a =
|
3965
|
+
const a = Lt(i, r, s);
|
3954
3966
|
n[s] ? n[s].p(a, o) : (n[s] = kt(a), n[s].c(), n[s].m(t, null));
|
3955
3967
|
}
|
3956
3968
|
for (; s < n.length; s += 1)
|
@@ -3996,7 +4008,7 @@ function Gt(e) {
|
|
3996
4008
|
e[57]) ? "active" : ""));
|
3997
4009
|
},
|
3998
4010
|
m(m, f) {
|
3999
|
-
k(m, t, f),
|
4011
|
+
k(m, t, f), I(t, r), I(r, i), I(t, s), a || (u = Te(t, "click", l), a = !0);
|
4000
4012
|
},
|
4001
4013
|
p(m, f) {
|
4002
4014
|
var p;
|
@@ -4051,7 +4063,7 @@ function kt(e) {
|
|
4051
4063
|
s[55].id
|
4052
4064
|
);
|
4053
4065
|
for (let s = 0; s < i.length; s += 1) {
|
4054
|
-
let a =
|
4066
|
+
let a = Ot(e, i, s), u = o(a);
|
4055
4067
|
r.set(u, t[s] = Ut(u, a));
|
4056
4068
|
}
|
4057
4069
|
return {
|
@@ -4070,7 +4082,7 @@ function kt(e) {
|
|
4070
4082
|
10176 && (i = re(
|
4071
4083
|
/*subGroup*/
|
4072
4084
|
s[52].items
|
4073
|
-
), t = zt(t, a, o, 1, s, i, r, n.parentNode, Wt, Ut, n,
|
4085
|
+
), t = zt(t, a, o, 1, s, i, r, n.parentNode, Wt, Ut, n, Ot));
|
4074
4086
|
},
|
4075
4087
|
d(s) {
|
4076
4088
|
s && D(n);
|
@@ -4129,10 +4141,10 @@ function $t(e, t) {
|
|
4129
4141
|
(t[0] == "headerMain" ? "" : "SecondaryMenu")), S(r, "part", "CarouselItem"), this.first = r;
|
4130
4142
|
},
|
4131
4143
|
m(_, C) {
|
4132
|
-
k(_, r, C),
|
4144
|
+
k(_, r, C), I(r, n), I(n, i), I(r, a), b.m(r, null), I(r, u), d && d.m(r, null), I(r, l), m || (f = Te(r, "click", w), m = !0);
|
4133
4145
|
},
|
4134
4146
|
p(_, C) {
|
4135
|
-
var P,
|
4147
|
+
var P, L;
|
4136
4148
|
t = _, C[0] & /*categoriesicon*/
|
4137
4149
|
8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
|
4138
4150
|
(t[3] === "true" ? "" : "DisplayNone")) && S(i, "class", o), C[0] & /*sliderdata*/
|
@@ -4148,7 +4160,7 @@ function $t(e, t) {
|
|
4148
4160
|
515 && h !== (h = "CarouselItem " + /*activeindex*/
|
4149
4161
|
(((P = t[1]) == null ? void 0 : P.toString().indexOf("$")) > -1 ? (
|
4150
4162
|
/*activeindex*/
|
4151
|
-
((
|
4163
|
+
((L = t[1]) == null ? void 0 : L.split("$").pop()) == /*category*/
|
4152
4164
|
t[49].id.split("$").pop() ? "active" : ""
|
4153
4165
|
) : (
|
4154
4166
|
/*activeindex*/
|
@@ -4175,7 +4187,7 @@ function Ki(e) {
|
|
4175
4187
|
(e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
|
4176
4188
|
},
|
4177
4189
|
m(w, _) {
|
4178
|
-
k(w, t, _),
|
4190
|
+
k(w, t, _), I(t, r), I(r, n), I(r, i), I(r, o), I(o, s), I(s, a), I(s, u), d && d.m(s, null), e[34](s), e[35](o), I(r, l), I(r, h), e[37](t), g || (b = [
|
4179
4191
|
Te(
|
4180
4192
|
n,
|
4181
4193
|
"click",
|
@@ -4210,10 +4222,10 @@ function Ki(e) {
|
|
4210
4222
|
function eo(e, t, r) {
|
4211
4223
|
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: m = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: b = "" } = t, { activeindex: d = "0" } = t, { showsubgroups: w = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: C = "" } = t, { mygamesiconimage: P = "" } = t;
|
4212
4224
|
Zi({ withLocale: "en", translations: {} });
|
4213
|
-
const
|
4225
|
+
const L = () => {
|
4214
4226
|
fetch(f).then((x) => x.json()).then((x) => {
|
4215
|
-
Object.keys(x).forEach((
|
4216
|
-
Mt(
|
4227
|
+
Object.keys(x).forEach((B) => {
|
4228
|
+
Mt(B, x[B]);
|
4217
4229
|
});
|
4218
4230
|
}).catch((x) => {
|
4219
4231
|
console.log(x);
|
@@ -4222,7 +4234,7 @@ function eo(e, t, r) {
|
|
4222
4234
|
Object.keys(Nt).forEach((c) => {
|
4223
4235
|
Mt(c, Nt[c]);
|
4224
4236
|
});
|
4225
|
-
let
|
4237
|
+
let O, H, N, R, G, he = [], ve = [], _e = [], j, Oe = (c, x, B, z, V) => {
|
4226
4238
|
var Z;
|
4227
4239
|
if (!(c.subGroups && z === null)) {
|
4228
4240
|
if (Ee(), r(6, H = x), r(6, H), V != "secondary") {
|
@@ -4244,9 +4256,9 @@ function eo(e, t, r) {
|
|
4244
4256
|
r(7, N = z), r(7, N), r(8, R = N), window.postMessage(
|
4245
4257
|
{
|
4246
4258
|
type: s,
|
4247
|
-
itemId:
|
4259
|
+
itemId: B.id,
|
4248
4260
|
subIndex: z,
|
4249
|
-
subItem:
|
4261
|
+
subItem: B
|
4250
4262
|
},
|
4251
4263
|
window.location.href
|
4252
4264
|
);
|
@@ -4257,12 +4269,12 @@ function eo(e, t, r) {
|
|
4257
4269
|
j.scrollBy({ left: 250, behavior: "smooth" });
|
4258
4270
|
};
|
4259
4271
|
const ut = (c) => {
|
4260
|
-
c.data.type == "SliderData" && c.data.identity == m && (r(9, he = c.data.data), r(11, _e = new Array(he.length).fill(!1)), w == "true" && Er()), c.data.type == "GoToHomepage" && he.forEach((x,
|
4261
|
-
x.path.endsWith("/casino") && (r(6, H =
|
4272
|
+
c.data.type == "SliderData" && c.data.identity == m && (r(9, he = c.data.data), r(11, _e = new Array(he.length).fill(!1)), w == "true" && Er()), c.data.type == "GoToHomepage" && he.forEach((x, B) => {
|
4273
|
+
x.path.endsWith("/casino") && (r(6, H = B), r(6, H));
|
4262
4274
|
});
|
4263
4275
|
}, vr = () => {
|
4264
4276
|
Qi(b);
|
4265
|
-
}, _r = (c, x,
|
4277
|
+
}, _r = (c, x, B) => {
|
4266
4278
|
if (u == "secondaryMenu" && n && i && b && c.id) {
|
4267
4279
|
let z = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${b}`);
|
4268
4280
|
fetch(z.href).then((V) => V.json()).then((V) => {
|
@@ -4280,28 +4292,28 @@ function eo(e, t, r) {
|
|
4280
4292
|
Z.find((Pr) => ht.id == Pr) || Z.push(ht.id);
|
4281
4293
|
}), Z.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: Z }, window.location.href);
|
4282
4294
|
}).then(() => {
|
4283
|
-
|
4295
|
+
O.querySelectorAll(".DropDown") && Ee();
|
4284
4296
|
});
|
4285
4297
|
}
|
4286
4298
|
u == "headerMain" && window.postMessage({ type: s, item: c }, window.location.href);
|
4287
4299
|
}, Ee = () => {
|
4288
|
-
const c =
|
4300
|
+
const c = O.querySelectorAll(".DropDown");
|
4289
4301
|
document.activeElement.blur(), j.classList.add("isScrolling");
|
4290
4302
|
for (let x = 0; x < c.length; x++)
|
4291
4303
|
c[x].style.transform = "translateX(-" + j.scrollLeft + "px)";
|
4292
4304
|
j.classList.remove("isScrolling");
|
4293
4305
|
}, Er = () => {
|
4294
4306
|
he.forEach((c, x) => {
|
4295
|
-
var
|
4296
|
-
((
|
4307
|
+
var B;
|
4308
|
+
((B = c == null ? void 0 : c.subGroups) == null ? void 0 : B.count) > 0 && (r(11, _e[x] = !0, _e), _r(c, x));
|
4297
4309
|
});
|
4298
4310
|
}, xr = () => {
|
4299
4311
|
let c = document.createElement("style");
|
4300
4312
|
c.innerHTML = l, G.appendChild(c);
|
4301
4313
|
}, Cr = () => {
|
4302
4314
|
let c = document.createElement("style"), x = new URL(h);
|
4303
|
-
fetch(x.href).then((
|
4304
|
-
c.innerHTML =
|
4315
|
+
fetch(x.href).then((B) => B.text()).then((B) => {
|
4316
|
+
c.innerHTML = B, setTimeout(
|
4305
4317
|
() => {
|
4306
4318
|
G.appendChild(c);
|
4307
4319
|
},
|
@@ -4318,24 +4330,24 @@ function eo(e, t, r) {
|
|
4318
4330
|
},
|
4319
4331
|
500
|
4320
4332
|
), window.postMessage({ type: "SliderLoaded", identity: m }), () => {
|
4321
|
-
window.removeEventListener("message", ut),
|
4333
|
+
window.removeEventListener("message", ut), O.removeEventListener("scroll", Ee);
|
4322
4334
|
}));
|
4323
|
-
const Hr = () => at(), Sr = (c, x,
|
4324
|
-
|
4325
|
-
}, Tr = (c, x,
|
4326
|
-
|
4335
|
+
const Hr = () => at(), Sr = (c, x, B, z, V) => {
|
4336
|
+
Oe(c, x, B, z, "secondary"), V.stopPropagation();
|
4337
|
+
}, Tr = (c, x, B) => {
|
4338
|
+
Oe(c, x, null, null, "main"), B.preventDefault();
|
4327
4339
|
};
|
4328
4340
|
function Ar(c) {
|
4329
4341
|
me[c ? "unshift" : "push"](() => {
|
4330
|
-
|
4342
|
+
O = c, r(5, O);
|
4331
4343
|
});
|
4332
4344
|
}
|
4333
|
-
function
|
4345
|
+
function Ir(c) {
|
4334
4346
|
me[c ? "unshift" : "push"](() => {
|
4335
4347
|
j = c, r(12, j);
|
4336
4348
|
});
|
4337
4349
|
}
|
4338
|
-
const
|
4350
|
+
const Br = () => lt();
|
4339
4351
|
function Mr(c) {
|
4340
4352
|
me[c ? "unshift" : "push"](() => {
|
4341
4353
|
G = c, r(4, G);
|
@@ -4346,7 +4358,7 @@ function eo(e, t, r) {
|
|
4346
4358
|
}, e.$$.update = () => {
|
4347
4359
|
e.$$.dirty[0] & /*activeindex*/
|
4348
4360
|
2, e.$$.dirty[0] & /*translationurl*/
|
4349
|
-
33554432 && f &&
|
4361
|
+
33554432 && f && L(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4350
4362
|
4194320 && l && G && xr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4351
4363
|
8388624 && h && G && Cr(), e.$$.dirty[0] & /*lang*/
|
4352
4364
|
268435456 && b && vr();
|
@@ -4356,7 +4368,7 @@ function eo(e, t, r) {
|
|
4356
4368
|
w,
|
4357
4369
|
_,
|
4358
4370
|
G,
|
4359
|
-
|
4371
|
+
O,
|
4360
4372
|
H,
|
4361
4373
|
N,
|
4362
4374
|
R,
|
@@ -4364,7 +4376,7 @@ function eo(e, t, r) {
|
|
4364
4376
|
ve,
|
4365
4377
|
_e,
|
4366
4378
|
j,
|
4367
|
-
|
4379
|
+
Oe,
|
4368
4380
|
at,
|
4369
4381
|
lt,
|
4370
4382
|
wr,
|
@@ -4386,8 +4398,8 @@ function eo(e, t, r) {
|
|
4386
4398
|
Sr,
|
4387
4399
|
Tr,
|
4388
4400
|
Ar,
|
4389
|
-
Br,
|
4390
4401
|
Ir,
|
4402
|
+
Br,
|
4391
4403
|
Mr
|
4392
4404
|
];
|
4393
4405
|
}
|