@everymatrix/casino-my-games 1.54.8 → 1.54.9
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/components/{CasinoFavoritesSection-DMGKcR0I.js → CasinoFavoritesSection-BSrpzPoO.js} +175 -175
- package/components/{CasinoFavoritesSection-D50NLRsz.js → CasinoFavoritesSection-DFa1TY-K.js} +751 -751
- package/components/{CasinoFavoritesSection-gzljK0D8.cjs → CasinoFavoritesSection-dDLqd6y8.cjs} +2 -2
- package/components/{CasinoFilter-Dm94K1Xf.cjs → CasinoFilter-BCpVzS08.cjs} +1 -1
- package/components/{CasinoFilter-EP7rjEhk.js → CasinoFilter-BtJAqQRB.js} +1 -1
- package/components/{CasinoFilter-CDsRF2B4.js → CasinoFilter-D8jjwr_7.js} +1 -1
- package/components/{CasinoGameThumbnail-A93zmbss.cjs → CasinoGameThumbnail-CkzGRkKl.cjs} +1 -1
- package/components/{CasinoGameThumbnail-C0Q4Z5Bt.js → CasinoGameThumbnail-pQqhkC7Q.js} +2 -2
- package/components/{CasinoGameThumbnail-BxyIuTKn.js → CasinoGameThumbnail-yV7Rm_Ui.js} +2 -2
- package/components/{CasinoGamesCategorySection-ePWhNJQZ.cjs → CasinoGamesCategorySection-D0rmwB17.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-DXPfUREE.js → CasinoGamesCategorySection-Dbfi-m_B.js} +6 -6
- package/components/{CasinoGamesCategorySection-GnEHTBXx.js → CasinoGamesCategorySection-xskv0zFo.js} +6 -6
- package/components/{CasinoLastPlayedSection-BdHtWDQs.js → CasinoLastPlayedSection-BLXlGapd.js} +2 -2
- package/components/{CasinoLastPlayedSection-B4-NsF-S.cjs → CasinoLastPlayedSection-CX99f9jq.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-mU9QOrNX.js → CasinoLastPlayedSection-DkwXMSgA.js} +2 -2
- package/components/{CasinoMostPlayedSection-DHUZNEZG.cjs → CasinoMostPlayedSection-B2QkJUiE.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-CvLgM23D.js → CasinoMostPlayedSection-BBjfUegc.js} +2 -2
- package/components/{CasinoMostPlayedSection-CI89Qqrh.js → CasinoMostPlayedSection-CT_PdaLB.js} +2 -2
- package/components/{CasinoMyGames-BOxTHkII.js → CasinoMyGames-Bgdjdiij.js} +5 -5
- package/components/{CasinoMyGames-D_PY_89I.cjs → CasinoMyGames-CFtfMaFn.cjs} +1 -1
- package/components/{CasinoMyGames-CD8I5tgx.js → CasinoMyGames-uW7RuFpw.js} +5 -5
- package/components/{CasinoSort-CEv9vS_H.js → CasinoSort-B5_UOgHe.js} +1 -1
- package/components/{CasinoSort-DOe-QAKq.js → CasinoSort-BvqwQlDk.js} +1 -1
- package/components/{CasinoSort-om5H376E.cjs → CasinoSort-een1drZj.cjs} +1 -1
- package/es2015/casino-my-games.cjs +1 -1
- package/es2015/casino-my-games.js +1 -1
- package/esnext/casino-my-games.js +1 -1
- package/package.json +1 -1
package/components/{CasinoFavoritesSection-DMGKcR0I.js → CasinoFavoritesSection-BSrpzPoO.js}
RENAMED
|
@@ -120,7 +120,7 @@ function ui(e, t, n, r) {
|
|
|
120
120
|
function Ue(e, t, n) {
|
|
121
121
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function g(e, t, n) {
|
|
124
124
|
const r = t.toLowerCase();
|
|
125
125
|
r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : Ue(e, t, n);
|
|
126
126
|
}
|
|
@@ -234,7 +234,7 @@ let Be = !1;
|
|
|
234
234
|
function ct() {
|
|
235
235
|
Be || (Be = !0, ft.then(H));
|
|
236
236
|
}
|
|
237
|
-
function
|
|
237
|
+
function gi() {
|
|
238
238
|
return ct(), ft;
|
|
239
239
|
}
|
|
240
240
|
function Ae(e) {
|
|
@@ -281,7 +281,7 @@ const tn = /* @__PURE__ */ new Set();
|
|
|
281
281
|
function mt(e, t) {
|
|
282
282
|
e && e.i && (tn.delete(e), e.i(t));
|
|
283
283
|
}
|
|
284
|
-
function
|
|
284
|
+
function di(e) {
|
|
285
285
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
286
286
|
}
|
|
287
287
|
function bi(e, t) {
|
|
@@ -289,25 +289,25 @@ function bi(e, t) {
|
|
|
289
289
|
}
|
|
290
290
|
function pi(e, t, n, r, i, s, a, u, l, o, h, c) {
|
|
291
291
|
let f = e.length, b = s.length, y = f;
|
|
292
|
-
const
|
|
293
|
-
for (; y--; )
|
|
292
|
+
const x = {};
|
|
293
|
+
for (; y--; ) x[e[y].key] = y;
|
|
294
294
|
const T = [], O = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), B = [];
|
|
295
295
|
for (y = b; y--; ) {
|
|
296
|
-
const
|
|
296
|
+
const _ = c(i, s, y), m = n(_);
|
|
297
297
|
let P = a.get(m);
|
|
298
|
-
P ? B.push(() => P.p(
|
|
298
|
+
P ? B.push(() => P.p(_, t)) : (P = o(m, _), P.c()), O.set(m, T[y] = P), m in x && N.set(m, Math.abs(y - x[m]));
|
|
299
299
|
}
|
|
300
300
|
const A = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set();
|
|
301
|
-
function C(
|
|
302
|
-
mt(
|
|
301
|
+
function C(_) {
|
|
302
|
+
mt(_, 1), _.m(u, h), a.set(_.key, _), h = _.first, b--;
|
|
303
303
|
}
|
|
304
304
|
for (; f && b; ) {
|
|
305
|
-
const
|
|
306
|
-
|
|
305
|
+
const _ = T[b - 1], m = e[f - 1], P = _.key, re = m.key;
|
|
306
|
+
_ === m ? (h = _.first, f--, b--) : O.has(re) ? !a.has(P) || A.has(P) ? C(_) : I.has(re) ? f-- : N.get(P) > N.get(re) ? (I.add(P), C(_)) : (A.add(re), f--) : (l(m, a), f--);
|
|
307
307
|
}
|
|
308
308
|
for (; f--; ) {
|
|
309
|
-
const
|
|
310
|
-
O.has(
|
|
309
|
+
const _ = e[f];
|
|
310
|
+
O.has(_.key) || l(_, a);
|
|
311
311
|
}
|
|
312
312
|
for (; b; ) C(T[b - 1]);
|
|
313
313
|
return W(B), T;
|
|
@@ -365,8 +365,8 @@ function an(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
365
365
|
}
|
|
366
366
|
J(l);
|
|
367
367
|
}
|
|
368
|
-
let
|
|
369
|
-
typeof HTMLElement == "function" && (
|
|
368
|
+
let gt;
|
|
369
|
+
typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
370
370
|
constructor(t, n, r) {
|
|
371
371
|
super();
|
|
372
372
|
/** The Svelte component constructor */
|
|
@@ -517,7 +517,7 @@ function ae(e, t, n, r) {
|
|
|
517
517
|
}
|
|
518
518
|
}
|
|
519
519
|
function on(e, t, n, r, i, s) {
|
|
520
|
-
let a = class extends
|
|
520
|
+
let a = class extends gt {
|
|
521
521
|
constructor() {
|
|
522
522
|
super(e, n, i), this.$$p_d = t;
|
|
523
523
|
}
|
|
@@ -708,13 +708,13 @@ function z(e, t, n) {
|
|
|
708
708
|
const y = t(r ? o[0] : o, a, u);
|
|
709
709
|
s ? a(y) : c = $e(y) ? y : L;
|
|
710
710
|
}, b = i.map(
|
|
711
|
-
(y,
|
|
711
|
+
(y, x) => ht(
|
|
712
712
|
y,
|
|
713
713
|
(T) => {
|
|
714
|
-
o[
|
|
714
|
+
o[x] = T, h &= ~(1 << x), l && f();
|
|
715
715
|
},
|
|
716
716
|
() => {
|
|
717
|
-
h |= 1 <<
|
|
717
|
+
h |= 1 << x;
|
|
718
718
|
}
|
|
719
719
|
)
|
|
720
720
|
);
|
|
@@ -727,12 +727,12 @@ function cn(e) {
|
|
|
727
727
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
728
728
|
}
|
|
729
729
|
var mn = function(t) {
|
|
730
|
-
return
|
|
730
|
+
return gn(t) && !dn(t);
|
|
731
731
|
};
|
|
732
|
-
function
|
|
732
|
+
function gn(e) {
|
|
733
733
|
return !!e && typeof e == "object";
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function dn(e) {
|
|
736
736
|
var t = Object.prototype.toString.call(e);
|
|
737
737
|
return t === "[object RegExp]" || t === "[object Date]" || yn(e);
|
|
738
738
|
}
|
|
@@ -746,26 +746,26 @@ function En(e) {
|
|
|
746
746
|
function K(e, t) {
|
|
747
747
|
return t.clone !== !1 && t.isMergeableObject(e) ? j(En(e), e, t) : e;
|
|
748
748
|
}
|
|
749
|
-
function
|
|
749
|
+
function vn(e, t, n) {
|
|
750
750
|
return e.concat(t).map(function(r) {
|
|
751
751
|
return K(r, n);
|
|
752
752
|
});
|
|
753
753
|
}
|
|
754
|
-
function
|
|
754
|
+
function _n(e, t) {
|
|
755
755
|
if (!t.customMerge)
|
|
756
756
|
return j;
|
|
757
757
|
var n = t.customMerge(e);
|
|
758
758
|
return typeof n == "function" ? n : j;
|
|
759
759
|
}
|
|
760
|
-
function
|
|
760
|
+
function xn(e) {
|
|
761
761
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
762
762
|
return Object.propertyIsEnumerable.call(e, t);
|
|
763
763
|
}) : [];
|
|
764
764
|
}
|
|
765
765
|
function ze(e) {
|
|
766
|
-
return Object.keys(e).concat(
|
|
766
|
+
return Object.keys(e).concat(xn(e));
|
|
767
767
|
}
|
|
768
|
-
function
|
|
768
|
+
function dt(e, t) {
|
|
769
769
|
try {
|
|
770
770
|
return t in e;
|
|
771
771
|
} catch (n) {
|
|
@@ -773,18 +773,18 @@ function gt(e, t) {
|
|
|
773
773
|
}
|
|
774
774
|
}
|
|
775
775
|
function Hn(e, t) {
|
|
776
|
-
return
|
|
776
|
+
return dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
777
777
|
}
|
|
778
778
|
function Tn(e, t, n) {
|
|
779
779
|
var r = {};
|
|
780
780
|
return n.isMergeableObject(e) && ze(e).forEach(function(i) {
|
|
781
781
|
r[i] = K(e[i], n);
|
|
782
782
|
}), ze(t).forEach(function(i) {
|
|
783
|
-
Hn(e, i) || (
|
|
783
|
+
Hn(e, i) || (dt(e, i) && n.isMergeableObject(t[i]) ? r[i] = _n(i, n)(e[i], t[i], n) : r[i] = K(t[i], n));
|
|
784
784
|
}), r;
|
|
785
785
|
}
|
|
786
786
|
function j(e, t, n) {
|
|
787
|
-
n = n || {}, n.arrayMerge = n.arrayMerge ||
|
|
787
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || vn, n.isMergeableObject = n.isMergeableObject || mn, n.cloneUnlessOtherwiseSpecified = K;
|
|
788
788
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
789
789
|
return s ? r ? n.arrayMerge(e, t, n) : Tn(e, t, n) : K(t, n);
|
|
790
790
|
}
|
|
@@ -797,7 +797,7 @@ j.all = function(t, n) {
|
|
|
797
797
|
};
|
|
798
798
|
var Sn = j, Bn = Sn;
|
|
799
799
|
const An = /* @__PURE__ */ cn(Bn);
|
|
800
|
-
function
|
|
800
|
+
function ve(e, t) {
|
|
801
801
|
var n = t && t.cache ? t.cache : Cn, r = t && t.serializer ? t.serializer : In, i = t && t.strategy ? t.strategy : Nn;
|
|
802
802
|
return i(e, {
|
|
803
803
|
cache: n,
|
|
@@ -843,46 +843,46 @@ var In = function() {
|
|
|
843
843
|
create: function() {
|
|
844
844
|
return new Ln();
|
|
845
845
|
}
|
|
846
|
-
},
|
|
846
|
+
}, _e = {
|
|
847
847
|
variadic: On
|
|
848
|
-
},
|
|
848
|
+
}, d;
|
|
849
849
|
(function(e) {
|
|
850
850
|
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";
|
|
851
|
-
})(
|
|
852
|
-
var
|
|
851
|
+
})(d || (d = {}));
|
|
852
|
+
var v;
|
|
853
853
|
(function(e) {
|
|
854
854
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
855
|
-
})(
|
|
855
|
+
})(v || (v = {}));
|
|
856
856
|
var k;
|
|
857
857
|
(function(e) {
|
|
858
858
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
859
859
|
})(k || (k = {}));
|
|
860
860
|
function Ze(e) {
|
|
861
|
-
return e.type ===
|
|
861
|
+
return e.type === v.literal;
|
|
862
862
|
}
|
|
863
863
|
function Mn(e) {
|
|
864
|
-
return e.type ===
|
|
864
|
+
return e.type === v.argument;
|
|
865
865
|
}
|
|
866
866
|
function yt(e) {
|
|
867
|
-
return e.type ===
|
|
867
|
+
return e.type === v.number;
|
|
868
868
|
}
|
|
869
869
|
function Et(e) {
|
|
870
|
-
return e.type ===
|
|
870
|
+
return e.type === v.date;
|
|
871
|
+
}
|
|
872
|
+
function vt(e) {
|
|
873
|
+
return e.type === v.time;
|
|
871
874
|
}
|
|
872
875
|
function _t(e) {
|
|
873
|
-
return e.type ===
|
|
876
|
+
return e.type === v.select;
|
|
874
877
|
}
|
|
875
878
|
function xt(e) {
|
|
876
|
-
return e.type ===
|
|
877
|
-
}
|
|
878
|
-
function vt(e) {
|
|
879
|
-
return e.type === _.plural;
|
|
879
|
+
return e.type === v.plural;
|
|
880
880
|
}
|
|
881
881
|
function Rn(e) {
|
|
882
|
-
return e.type ===
|
|
882
|
+
return e.type === v.pound;
|
|
883
883
|
}
|
|
884
884
|
function Ht(e) {
|
|
885
|
-
return e.type ===
|
|
885
|
+
return e.type === v.tag;
|
|
886
886
|
}
|
|
887
887
|
function Tt(e) {
|
|
888
888
|
return !!(e && typeof e == "object" && e.type === k.number);
|
|
@@ -2645,7 +2645,7 @@ function Wn(e) {
|
|
|
2645
2645
|
var i = se[r || ""] || se[n || ""] || se["".concat(n, "-001")] || se["001"];
|
|
2646
2646
|
return i[0];
|
|
2647
2647
|
}
|
|
2648
|
-
var
|
|
2648
|
+
var xe, zn = new RegExp("^".concat(St.source, "*")), Zn = new RegExp("".concat(St.source, "*$"));
|
|
2649
2649
|
function p(e, t) {
|
|
2650
2650
|
return { start: e, end: t };
|
|
2651
2651
|
}
|
|
@@ -2654,7 +2654,7 @@ var Qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), qn = !!String
|
|
|
2654
2654
|
}, Ne = !0;
|
|
2655
2655
|
try {
|
|
2656
2656
|
var rr = Nt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2657
|
-
Ne = ((
|
|
2657
|
+
Ne = ((xe = rr.exec("a")) === null || xe === void 0 ? void 0 : xe[0]) === "a";
|
|
2658
2658
|
} catch (e) {
|
|
2659
2659
|
Ne = !1;
|
|
2660
2660
|
}
|
|
@@ -2773,13 +2773,13 @@ var ar = (
|
|
|
2773
2773
|
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2774
2774
|
var u = this.clonePosition();
|
|
2775
2775
|
this.bump(), i.push({
|
|
2776
|
-
type:
|
|
2776
|
+
type: v.pound,
|
|
2777
2777
|
location: p(u, this.clonePosition())
|
|
2778
2778
|
});
|
|
2779
2779
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2780
2780
|
if (r)
|
|
2781
2781
|
break;
|
|
2782
|
-
return this.error(
|
|
2782
|
+
return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
|
|
2783
2783
|
} else if (s === 60 && !this.ignoreTag && Le(this.peek() || 0)) {
|
|
2784
2784
|
var a = this.parseTag(t, n);
|
|
2785
2785
|
if (a.err)
|
|
@@ -2801,7 +2801,7 @@ var ar = (
|
|
|
2801
2801
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2802
2802
|
return {
|
|
2803
2803
|
val: {
|
|
2804
|
-
type:
|
|
2804
|
+
type: v.literal,
|
|
2805
2805
|
value: "<".concat(i, "/>"),
|
|
2806
2806
|
location: p(r, this.clonePosition())
|
|
2807
2807
|
},
|
|
@@ -2814,21 +2814,21 @@ var ar = (
|
|
|
2814
2814
|
var a = s.val, u = this.clonePosition();
|
|
2815
2815
|
if (this.bumpIf("</")) {
|
|
2816
2816
|
if (this.isEOF() || !Le(this.char()))
|
|
2817
|
-
return this.error(
|
|
2817
|
+
return this.error(d.INVALID_TAG, p(u, this.clonePosition()));
|
|
2818
2818
|
var l = this.clonePosition(), o = this.parseTagName();
|
|
2819
|
-
return i !== o ? this.error(
|
|
2819
|
+
return i !== o ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2820
2820
|
val: {
|
|
2821
|
-
type:
|
|
2821
|
+
type: v.tag,
|
|
2822
2822
|
value: i,
|
|
2823
2823
|
children: a,
|
|
2824
2824
|
location: p(r, this.clonePosition())
|
|
2825
2825
|
},
|
|
2826
2826
|
err: null
|
|
2827
|
-
} : this.error(
|
|
2827
|
+
} : this.error(d.INVALID_TAG, p(u, this.clonePosition())));
|
|
2828
2828
|
} else
|
|
2829
|
-
return this.error(
|
|
2829
|
+
return this.error(d.UNCLOSED_TAG, p(r, this.clonePosition()));
|
|
2830
2830
|
} else
|
|
2831
|
-
return this.error(
|
|
2831
|
+
return this.error(d.INVALID_TAG, p(r, this.clonePosition()));
|
|
2832
2832
|
}, e.prototype.parseTagName = function() {
|
|
2833
2833
|
var t = this.offset();
|
|
2834
2834
|
for (this.bump(); !this.isEOF() && ur(this.char()); )
|
|
@@ -2855,7 +2855,7 @@ var ar = (
|
|
|
2855
2855
|
}
|
|
2856
2856
|
var l = p(r, this.clonePosition());
|
|
2857
2857
|
return {
|
|
2858
|
-
val: { type:
|
|
2858
|
+
val: { type: v.literal, value: i, location: l },
|
|
2859
2859
|
err: null
|
|
2860
2860
|
};
|
|
2861
2861
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
@@ -2903,19 +2903,19 @@ var ar = (
|
|
|
2903
2903
|
}, e.prototype.parseArgument = function(t, n) {
|
|
2904
2904
|
var r = this.clonePosition();
|
|
2905
2905
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2906
|
-
return this.error(
|
|
2906
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
|
|
2907
2907
|
if (this.char() === 125)
|
|
2908
|
-
return this.bump(), this.error(
|
|
2908
|
+
return this.bump(), this.error(d.EMPTY_ARGUMENT, p(r, this.clonePosition()));
|
|
2909
2909
|
var i = this.parseIdentifierIfPossible().value;
|
|
2910
2910
|
if (!i)
|
|
2911
|
-
return this.error(
|
|
2911
|
+
return this.error(d.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
|
|
2912
2912
|
if (this.bumpSpace(), this.isEOF())
|
|
2913
|
-
return this.error(
|
|
2913
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
|
|
2914
2914
|
switch (this.char()) {
|
|
2915
2915
|
case 125:
|
|
2916
2916
|
return this.bump(), {
|
|
2917
2917
|
val: {
|
|
2918
|
-
type:
|
|
2918
|
+
type: v.argument,
|
|
2919
2919
|
// value does not include the opening and closing braces.
|
|
2920
2920
|
value: i,
|
|
2921
2921
|
location: p(r, this.clonePosition())
|
|
@@ -2923,9 +2923,9 @@ var ar = (
|
|
|
2923
2923
|
err: null
|
|
2924
2924
|
};
|
|
2925
2925
|
case 44:
|
|
2926
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2926
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
|
|
2927
2927
|
default:
|
|
2928
|
-
return this.error(
|
|
2928
|
+
return this.error(d.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
|
|
2929
2929
|
}
|
|
2930
2930
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2931
2931
|
var t = this.clonePosition(), n = this.offset(), r = Ie(this.message, n), i = n + r.length;
|
|
@@ -2936,7 +2936,7 @@ var ar = (
|
|
|
2936
2936
|
var s, a = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2937
2937
|
switch (u) {
|
|
2938
2938
|
case "":
|
|
2939
|
-
return this.error(
|
|
2939
|
+
return this.error(d.EXPECT_ARGUMENT_TYPE, p(a, l));
|
|
2940
2940
|
case "number":
|
|
2941
2941
|
case "date":
|
|
2942
2942
|
case "time": {
|
|
@@ -2949,25 +2949,25 @@ var ar = (
|
|
|
2949
2949
|
return c;
|
|
2950
2950
|
var f = sr(c.val);
|
|
2951
2951
|
if (f.length === 0)
|
|
2952
|
-
return this.error(
|
|
2952
|
+
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2953
2953
|
var b = p(h, this.clonePosition());
|
|
2954
2954
|
o = { style: f, styleLocation: b };
|
|
2955
2955
|
}
|
|
2956
2956
|
var y = this.tryParseArgumentClose(i);
|
|
2957
2957
|
if (y.err)
|
|
2958
2958
|
return y;
|
|
2959
|
-
var
|
|
2959
|
+
var x = p(i, this.clonePosition());
|
|
2960
2960
|
if (o && Ye(o == null ? void 0 : o.style, "::", 0)) {
|
|
2961
2961
|
var T = ir(o.style.slice(2));
|
|
2962
2962
|
if (u === "number") {
|
|
2963
2963
|
var c = this.parseNumberSkeletonFromString(T, o.styleLocation);
|
|
2964
2964
|
return c.err ? c : {
|
|
2965
|
-
val: { type:
|
|
2965
|
+
val: { type: v.number, value: r, location: x, style: c.val },
|
|
2966
2966
|
err: null
|
|
2967
2967
|
};
|
|
2968
2968
|
} else {
|
|
2969
2969
|
if (T.length === 0)
|
|
2970
|
-
return this.error(
|
|
2970
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, x);
|
|
2971
2971
|
var O = T;
|
|
2972
2972
|
this.locale && (O = Xn(T, this.locale));
|
|
2973
2973
|
var f = {
|
|
@@ -2975,18 +2975,18 @@ var ar = (
|
|
|
2975
2975
|
pattern: O,
|
|
2976
2976
|
location: o.styleLocation,
|
|
2977
2977
|
parsedOptions: this.shouldParseSkeletons ? Un(O) : {}
|
|
2978
|
-
}, N = u === "date" ?
|
|
2978
|
+
}, N = u === "date" ? v.date : v.time;
|
|
2979
2979
|
return {
|
|
2980
|
-
val: { type: N, value: r, location:
|
|
2980
|
+
val: { type: N, value: r, location: x, style: f },
|
|
2981
2981
|
err: null
|
|
2982
2982
|
};
|
|
2983
2983
|
}
|
|
2984
2984
|
}
|
|
2985
2985
|
return {
|
|
2986
2986
|
val: {
|
|
2987
|
-
type: u === "number" ?
|
|
2987
|
+
type: u === "number" ? v.number : u === "date" ? v.date : v.time,
|
|
2988
2988
|
value: r,
|
|
2989
|
-
location:
|
|
2989
|
+
location: x,
|
|
2990
2990
|
style: (s = o == null ? void 0 : o.style) !== null && s !== void 0 ? s : null
|
|
2991
2991
|
},
|
|
2992
2992
|
err: null
|
|
@@ -2997,14 +2997,14 @@ var ar = (
|
|
|
2997
2997
|
case "select": {
|
|
2998
2998
|
var B = this.clonePosition();
|
|
2999
2999
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3000
|
-
return this.error(
|
|
3000
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(B, E({}, B)));
|
|
3001
3001
|
this.bumpSpace();
|
|
3002
3002
|
var A = this.parseIdentifierIfPossible(), I = 0;
|
|
3003
3003
|
if (u !== "select" && A.value === "offset") {
|
|
3004
3004
|
if (!this.bumpIf(":"))
|
|
3005
|
-
return this.error(
|
|
3005
|
+
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
|
|
3006
3006
|
this.bumpSpace();
|
|
3007
|
-
var c = this.tryParseDecimalInteger(
|
|
3007
|
+
var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3008
3008
|
if (c.err)
|
|
3009
3009
|
return c;
|
|
3010
3010
|
this.bumpSpace(), A = this.parseIdentifierIfPossible(), I = c.val;
|
|
@@ -3015,32 +3015,32 @@ var ar = (
|
|
|
3015
3015
|
var y = this.tryParseArgumentClose(i);
|
|
3016
3016
|
if (y.err)
|
|
3017
3017
|
return y;
|
|
3018
|
-
var
|
|
3018
|
+
var _ = p(i, this.clonePosition());
|
|
3019
3019
|
return u === "select" ? {
|
|
3020
3020
|
val: {
|
|
3021
|
-
type:
|
|
3021
|
+
type: v.select,
|
|
3022
3022
|
value: r,
|
|
3023
3023
|
options: Ke(C.val),
|
|
3024
|
-
location:
|
|
3024
|
+
location: _
|
|
3025
3025
|
},
|
|
3026
3026
|
err: null
|
|
3027
3027
|
} : {
|
|
3028
3028
|
val: {
|
|
3029
|
-
type:
|
|
3029
|
+
type: v.plural,
|
|
3030
3030
|
value: r,
|
|
3031
3031
|
options: Ke(C.val),
|
|
3032
3032
|
offset: I,
|
|
3033
3033
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
3034
|
-
location:
|
|
3034
|
+
location: _
|
|
3035
3035
|
},
|
|
3036
3036
|
err: null
|
|
3037
3037
|
};
|
|
3038
3038
|
}
|
|
3039
3039
|
default:
|
|
3040
|
-
return this.error(
|
|
3040
|
+
return this.error(d.INVALID_ARGUMENT_TYPE, p(a, l));
|
|
3041
3041
|
}
|
|
3042
3042
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3043
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3043
|
+
return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3044
3044
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3045
3045
|
for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
|
|
3046
3046
|
var r = this.char();
|
|
@@ -3049,7 +3049,7 @@ var ar = (
|
|
|
3049
3049
|
this.bump();
|
|
3050
3050
|
var i = this.clonePosition();
|
|
3051
3051
|
if (!this.bumpUntil("'"))
|
|
3052
|
-
return this.error(
|
|
3052
|
+
return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, p(i, this.clonePosition()));
|
|
3053
3053
|
this.bump();
|
|
3054
3054
|
break;
|
|
3055
3055
|
}
|
|
@@ -3081,7 +3081,7 @@ var ar = (
|
|
|
3081
3081
|
try {
|
|
3082
3082
|
r = Gn(t);
|
|
3083
3083
|
} catch (i) {
|
|
3084
|
-
return this.error(
|
|
3084
|
+
return this.error(d.INVALID_NUMBER_SKELETON, n);
|
|
3085
3085
|
}
|
|
3086
3086
|
return {
|
|
3087
3087
|
val: {
|
|
@@ -3097,7 +3097,7 @@ var ar = (
|
|
|
3097
3097
|
if (o.length === 0) {
|
|
3098
3098
|
var c = this.clonePosition();
|
|
3099
3099
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3100
|
-
var f = this.tryParseDecimalInteger(
|
|
3100
|
+
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3101
3101
|
if (f.err)
|
|
3102
3102
|
return f;
|
|
3103
3103
|
h = p(c, this.clonePosition()), o = this.message.slice(c.offset, this.offset());
|
|
@@ -3105,17 +3105,17 @@ var ar = (
|
|
|
3105
3105
|
break;
|
|
3106
3106
|
}
|
|
3107
3107
|
if (l.has(o))
|
|
3108
|
-
return this.error(n === "select" ?
|
|
3108
|
+
return this.error(n === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3109
3109
|
o === "other" && (a = !0), this.bumpSpace();
|
|
3110
3110
|
var b = this.clonePosition();
|
|
3111
3111
|
if (!this.bumpIf("{"))
|
|
3112
|
-
return this.error(n === "select" ?
|
|
3112
|
+
return this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
|
|
3113
3113
|
var y = this.parseMessage(t + 1, n, r);
|
|
3114
3114
|
if (y.err)
|
|
3115
3115
|
return y;
|
|
3116
|
-
var
|
|
3117
|
-
if (
|
|
3118
|
-
return
|
|
3116
|
+
var x = this.tryParseArgumentClose(b);
|
|
3117
|
+
if (x.err)
|
|
3118
|
+
return x;
|
|
3119
3119
|
u.push([
|
|
3120
3120
|
o,
|
|
3121
3121
|
{
|
|
@@ -3124,7 +3124,7 @@ var ar = (
|
|
|
3124
3124
|
}
|
|
3125
3125
|
]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
|
|
3126
3126
|
}
|
|
3127
|
-
return u.length === 0 ? this.error(n === "select" ?
|
|
3127
|
+
return u.length === 0 ? this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
3128
3128
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3129
3129
|
var r = 1, i = this.clonePosition();
|
|
3130
3130
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
@@ -3219,17 +3219,17 @@ function hr(e) {
|
|
|
3219
3219
|
}
|
|
3220
3220
|
function Ce(e) {
|
|
3221
3221
|
e.forEach(function(t) {
|
|
3222
|
-
if (delete t.location,
|
|
3222
|
+
if (delete t.location, _t(t) || xt(t))
|
|
3223
3223
|
for (var n in t.options)
|
|
3224
3224
|
delete t.options[n].location, Ce(t.options[n].value);
|
|
3225
|
-
else yt(t) && Tt(t.style) || (Et(t) ||
|
|
3225
|
+
else yt(t) && Tt(t.style) || (Et(t) || vt(t)) && Pe(t.style) ? delete t.style.location : Ht(t) && Ce(t.children);
|
|
3226
3226
|
});
|
|
3227
3227
|
}
|
|
3228
3228
|
function lr(e, t) {
|
|
3229
3229
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3230
3230
|
var n = new ar(e, t).parse();
|
|
3231
3231
|
if (n.err) {
|
|
3232
|
-
var r = SyntaxError(
|
|
3232
|
+
var r = SyntaxError(d[n.err.kind]);
|
|
3233
3233
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3234
3234
|
}
|
|
3235
3235
|
return t != null && t.captureLocation || Ce(n.val), n.val;
|
|
@@ -3238,7 +3238,7 @@ var V;
|
|
|
3238
3238
|
(function(e) {
|
|
3239
3239
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3240
3240
|
})(V || (V = {}));
|
|
3241
|
-
var
|
|
3241
|
+
var ge = (
|
|
3242
3242
|
/** @class */
|
|
3243
3243
|
function(e) {
|
|
3244
3244
|
ce(t, e);
|
|
@@ -3258,7 +3258,7 @@ var de = (
|
|
|
3258
3258
|
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
|
|
3259
3259
|
}
|
|
3260
3260
|
return t;
|
|
3261
|
-
}(
|
|
3261
|
+
}(ge)
|
|
3262
3262
|
), fr = (
|
|
3263
3263
|
/** @class */
|
|
3264
3264
|
function(e) {
|
|
@@ -3267,7 +3267,7 @@ var de = (
|
|
|
3267
3267
|
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), V.INVALID_VALUE, i) || this;
|
|
3268
3268
|
}
|
|
3269
3269
|
return t;
|
|
3270
|
-
}(
|
|
3270
|
+
}(ge)
|
|
3271
3271
|
), cr = (
|
|
3272
3272
|
/** @class */
|
|
3273
3273
|
function(e) {
|
|
@@ -3276,7 +3276,7 @@ var de = (
|
|
|
3276
3276
|
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), V.MISSING_VALUE, r) || this;
|
|
3277
3277
|
}
|
|
3278
3278
|
return t;
|
|
3279
|
-
}(
|
|
3279
|
+
}(ge)
|
|
3280
3280
|
), w;
|
|
3281
3281
|
(function(e) {
|
|
3282
3282
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3287,7 +3287,7 @@ function mr(e) {
|
|
|
3287
3287
|
return !r || r.type !== w.literal || n.type !== w.literal ? t.push(n) : r.value += n.value, t;
|
|
3288
3288
|
}, []);
|
|
3289
3289
|
}
|
|
3290
|
-
function
|
|
3290
|
+
function gr(e) {
|
|
3291
3291
|
return typeof e == "function";
|
|
3292
3292
|
}
|
|
3293
3293
|
function oe(e, t, n, r, i, s, a) {
|
|
@@ -3333,7 +3333,7 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3333
3333
|
});
|
|
3334
3334
|
continue;
|
|
3335
3335
|
}
|
|
3336
|
-
if (
|
|
3336
|
+
if (vt(h)) {
|
|
3337
3337
|
var b = typeof h.style == "string" ? r.time[h.style] : Pe(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3338
3338
|
u.push({
|
|
3339
3339
|
type: w.literal,
|
|
@@ -3350,9 +3350,9 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3350
3350
|
continue;
|
|
3351
3351
|
}
|
|
3352
3352
|
if (Ht(h)) {
|
|
3353
|
-
var y = h.children,
|
|
3354
|
-
if (!
|
|
3355
|
-
throw new fr(
|
|
3353
|
+
var y = h.children, x = h.value, T = i[x];
|
|
3354
|
+
if (!gr(T))
|
|
3355
|
+
throw new fr(x, "function", a);
|
|
3356
3356
|
var O = oe(y, t, n, r, i, s), N = T(O.map(function(I) {
|
|
3357
3357
|
return I.value;
|
|
3358
3358
|
}));
|
|
@@ -3363,18 +3363,18 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3363
3363
|
};
|
|
3364
3364
|
}));
|
|
3365
3365
|
}
|
|
3366
|
-
if (
|
|
3366
|
+
if (_t(h)) {
|
|
3367
3367
|
var B = h.options[f] || h.options.other;
|
|
3368
3368
|
if (!B)
|
|
3369
3369
|
throw new tt(h.value, f, Object.keys(h.options), a);
|
|
3370
3370
|
u.push.apply(u, oe(B.value, t, n, r, i));
|
|
3371
3371
|
continue;
|
|
3372
3372
|
}
|
|
3373
|
-
if (
|
|
3373
|
+
if (xt(h)) {
|
|
3374
3374
|
var B = h.options["=".concat(f)];
|
|
3375
3375
|
if (!B) {
|
|
3376
3376
|
if (!Intl.PluralRules)
|
|
3377
|
-
throw new
|
|
3377
|
+
throw new ge(`Intl.PluralRules is not available in this environment.
|
|
3378
3378
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3379
3379
|
`, V.MISSING_INTL_API, a);
|
|
3380
3380
|
var A = n.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
@@ -3388,14 +3388,14 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3388
3388
|
}
|
|
3389
3389
|
return mr(u);
|
|
3390
3390
|
}
|
|
3391
|
-
function
|
|
3391
|
+
function dr(e, t) {
|
|
3392
3392
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3393
3393
|
return n[r] = E(E({}, e[r]), t[r] || {}), n;
|
|
3394
3394
|
}, {})) : e;
|
|
3395
3395
|
}
|
|
3396
3396
|
function br(e, t) {
|
|
3397
3397
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3398
|
-
return n[r] =
|
|
3398
|
+
return n[r] = dr(e[r], t[r]), n;
|
|
3399
3399
|
}, E({}, e)) : e;
|
|
3400
3400
|
}
|
|
3401
3401
|
function He(e) {
|
|
@@ -3418,29 +3418,29 @@ function pr(e) {
|
|
|
3418
3418
|
dateTime: {},
|
|
3419
3419
|
pluralRules: {}
|
|
3420
3420
|
}), {
|
|
3421
|
-
getNumberFormat:
|
|
3421
|
+
getNumberFormat: ve(function() {
|
|
3422
3422
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3423
3423
|
n[r] = arguments[r];
|
|
3424
3424
|
return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], n, !1)))();
|
|
3425
3425
|
}, {
|
|
3426
3426
|
cache: He(e.number),
|
|
3427
|
-
strategy:
|
|
3427
|
+
strategy: _e.variadic
|
|
3428
3428
|
}),
|
|
3429
|
-
getDateTimeFormat:
|
|
3429
|
+
getDateTimeFormat: ve(function() {
|
|
3430
3430
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3431
3431
|
n[r] = arguments[r];
|
|
3432
3432
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], n, !1)))();
|
|
3433
3433
|
}, {
|
|
3434
3434
|
cache: He(e.dateTime),
|
|
3435
|
-
strategy:
|
|
3435
|
+
strategy: _e.variadic
|
|
3436
3436
|
}),
|
|
3437
|
-
getPluralRules:
|
|
3437
|
+
getPluralRules: ve(function() {
|
|
3438
3438
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3439
3439
|
n[r] = arguments[r];
|
|
3440
3440
|
return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], n, !1)))();
|
|
3441
3441
|
}, {
|
|
3442
3442
|
cache: He(e.pluralRules),
|
|
3443
|
-
strategy:
|
|
3443
|
+
strategy: _e.variadic
|
|
3444
3444
|
})
|
|
3445
3445
|
};
|
|
3446
3446
|
}
|
|
@@ -3577,36 +3577,36 @@ function Er(e, t) {
|
|
|
3577
3577
|
r = void 0;
|
|
3578
3578
|
return r;
|
|
3579
3579
|
}
|
|
3580
|
-
const M = {},
|
|
3580
|
+
const M = {}, vr = (e, t, n) => n && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = n), n), It = (e, t) => {
|
|
3581
3581
|
if (t == null)
|
|
3582
3582
|
return;
|
|
3583
3583
|
if (t in M && e in M[t])
|
|
3584
3584
|
return M[t][e];
|
|
3585
|
-
const n =
|
|
3585
|
+
const n = de(t);
|
|
3586
3586
|
for (let r = 0; r < n.length; r++) {
|
|
3587
|
-
const i = n[r], s =
|
|
3587
|
+
const i = n[r], s = xr(i, e);
|
|
3588
3588
|
if (s)
|
|
3589
|
-
return
|
|
3589
|
+
return vr(e, t, s);
|
|
3590
3590
|
}
|
|
3591
3591
|
};
|
|
3592
3592
|
let De;
|
|
3593
3593
|
const Z = me({});
|
|
3594
|
-
function
|
|
3594
|
+
function _r(e) {
|
|
3595
3595
|
return De[e] || null;
|
|
3596
3596
|
}
|
|
3597
3597
|
function Lt(e) {
|
|
3598
3598
|
return e in De;
|
|
3599
3599
|
}
|
|
3600
|
-
function
|
|
3600
|
+
function xr(e, t) {
|
|
3601
3601
|
if (!Lt(e))
|
|
3602
3602
|
return null;
|
|
3603
|
-
const n =
|
|
3603
|
+
const n = _r(e);
|
|
3604
3604
|
return Er(n, t);
|
|
3605
3605
|
}
|
|
3606
3606
|
function Hr(e) {
|
|
3607
3607
|
if (e == null)
|
|
3608
3608
|
return;
|
|
3609
|
-
const t =
|
|
3609
|
+
const t = de(e);
|
|
3610
3610
|
for (let n = 0; n < t.length; n++) {
|
|
3611
3611
|
const r = t[n];
|
|
3612
3612
|
if (Lt(r))
|
|
@@ -3629,13 +3629,13 @@ function Ct(e) {
|
|
|
3629
3629
|
return ue[e];
|
|
3630
3630
|
}
|
|
3631
3631
|
function Br(e) {
|
|
3632
|
-
return
|
|
3632
|
+
return de(e).map((t) => {
|
|
3633
3633
|
const n = Ct(t);
|
|
3634
3634
|
return [t, n ? [...n] : []];
|
|
3635
3635
|
}).filter(([, t]) => t.length > 0);
|
|
3636
3636
|
}
|
|
3637
3637
|
function Me(e) {
|
|
3638
|
-
return e == null ? !1 :
|
|
3638
|
+
return e == null ? !1 : de(e).some(
|
|
3639
3639
|
(t) => {
|
|
3640
3640
|
var n;
|
|
3641
3641
|
return (n = Ct(t)) == null ? void 0 : n.size;
|
|
@@ -3716,7 +3716,7 @@ const he = me(null);
|
|
|
3716
3716
|
function it(e) {
|
|
3717
3717
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3718
3718
|
}
|
|
3719
|
-
function
|
|
3719
|
+
function de(e, t = X().fallbackLocale) {
|
|
3720
3720
|
const n = it(e);
|
|
3721
3721
|
return t ? [.../* @__PURE__ */ new Set([...n, ...it(t)])] : n;
|
|
3722
3722
|
}
|
|
@@ -3851,7 +3851,7 @@ const ee = (e, t) => {
|
|
|
3851
3851
|
);
|
|
3852
3852
|
}
|
|
3853
3853
|
return c;
|
|
3854
|
-
}, Zr = (e, t) => Xr(t).format(e), Qr = (e, t) => Vr(t).format(e), qr = (e, t) => kr(t).format(e), Jr = (e, t = $()) => It(e, t),
|
|
3854
|
+
}, Zr = (e, t) => Xr(t).format(e), Qr = (e, t) => Vr(t).format(e), qr = (e, t) => kr(t).format(e), Jr = (e, t = $()) => It(e, t), vi = z([R, Z], () => zr);
|
|
3855
3855
|
z([R], () => Zr);
|
|
3856
3856
|
z([R], () => Qr);
|
|
3857
3857
|
z([R], () => qr);
|
|
@@ -3873,7 +3873,7 @@ if (typeof window != "undefined") {
|
|
|
3873
3873
|
}
|
|
3874
3874
|
};
|
|
3875
3875
|
};
|
|
3876
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3876
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-Dbfi-m_B.js").then(({ default: t }) => {
|
|
3877
3877
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3878
3878
|
});
|
|
3879
3879
|
}
|
|
@@ -3884,87 +3884,87 @@ function at(e) {
|
|
|
3884
3884
|
let t;
|
|
3885
3885
|
return {
|
|
3886
3886
|
c() {
|
|
3887
|
-
t = ne("casino-games-category-section"),
|
|
3887
|
+
t = ne("casino-games-category-section"), g(
|
|
3888
3888
|
t,
|
|
3889
3889
|
"session",
|
|
3890
3890
|
/*session*/
|
|
3891
3891
|
e[4]
|
|
3892
|
-
),
|
|
3892
|
+
), g(
|
|
3893
3893
|
t,
|
|
3894
3894
|
"userid",
|
|
3895
3895
|
/*userid*/
|
|
3896
3896
|
e[5]
|
|
3897
|
-
),
|
|
3897
|
+
), g(
|
|
3898
3898
|
t,
|
|
3899
3899
|
"endpoint",
|
|
3900
3900
|
/*endpoint*/
|
|
3901
3901
|
e[0]
|
|
3902
|
-
),
|
|
3902
|
+
), g(
|
|
3903
3903
|
t,
|
|
3904
3904
|
"datasource",
|
|
3905
3905
|
/*datasource*/
|
|
3906
3906
|
e[1]
|
|
3907
|
-
),
|
|
3907
|
+
), g(
|
|
3908
3908
|
t,
|
|
3909
3909
|
"lang",
|
|
3910
3910
|
/*lang*/
|
|
3911
3911
|
e[3]
|
|
3912
|
-
),
|
|
3912
|
+
), g(
|
|
3913
3913
|
t,
|
|
3914
3914
|
"currency",
|
|
3915
3915
|
/*currency*/
|
|
3916
3916
|
e[2]
|
|
3917
|
-
),
|
|
3917
|
+
), g(
|
|
3918
3918
|
t,
|
|
3919
3919
|
"favorites",
|
|
3920
3920
|
/*favorites*/
|
|
3921
3921
|
e[14]
|
|
3922
|
-
),
|
|
3922
|
+
), g(
|
|
3923
3923
|
t,
|
|
3924
3924
|
"fetchviaevent",
|
|
3925
3925
|
/*fetchviaevent*/
|
|
3926
3926
|
e[16]
|
|
3927
|
-
),
|
|
3927
|
+
), g(t, "categoryid", "FAVORITES"), g(t, "class", "CategoryContainer"), g(
|
|
3928
3928
|
t,
|
|
3929
3929
|
"showgamename",
|
|
3930
3930
|
/*showgamename*/
|
|
3931
3931
|
e[11]
|
|
3932
|
-
),
|
|
3932
|
+
), g(
|
|
3933
3933
|
t,
|
|
3934
3934
|
"clientstyling",
|
|
3935
3935
|
/*clientstyling*/
|
|
3936
3936
|
e[6]
|
|
3937
|
-
),
|
|
3937
|
+
), g(
|
|
3938
3938
|
t,
|
|
3939
3939
|
"clientstylingurl",
|
|
3940
3940
|
/*clientstylingurl*/
|
|
3941
3941
|
e[7]
|
|
3942
|
-
),
|
|
3942
|
+
), g(
|
|
3943
3943
|
t,
|
|
3944
3944
|
"livecasino",
|
|
3945
3945
|
/*livecasino*/
|
|
3946
3946
|
e[8]
|
|
3947
|
-
),
|
|
3947
|
+
), g(
|
|
3948
3948
|
t,
|
|
3949
3949
|
"visiblegames",
|
|
3950
3950
|
/*visiblegames*/
|
|
3951
3951
|
e[13]
|
|
3952
|
-
),
|
|
3952
|
+
), g(
|
|
3953
3953
|
t,
|
|
3954
3954
|
"gamepagemodalurl",
|
|
3955
3955
|
/*gamepagemodalurl*/
|
|
3956
3956
|
e[12]
|
|
3957
|
-
),
|
|
3957
|
+
), g(
|
|
3958
3958
|
t,
|
|
3959
3959
|
"integratedgameframedesktop",
|
|
3960
3960
|
/*integratedgameframedesktop*/
|
|
3961
3961
|
e[10]
|
|
3962
|
-
),
|
|
3962
|
+
), g(
|
|
3963
3963
|
t,
|
|
3964
3964
|
"integratedgameframemobile",
|
|
3965
3965
|
/*integratedgameframemobile*/
|
|
3966
3966
|
e[9]
|
|
3967
|
-
),
|
|
3967
|
+
), g(
|
|
3968
3968
|
t,
|
|
3969
3969
|
"casinomygames",
|
|
3970
3970
|
/*casinomygames*/
|
|
@@ -3976,103 +3976,103 @@ function at(e) {
|
|
|
3976
3976
|
},
|
|
3977
3977
|
p(n, r) {
|
|
3978
3978
|
r & /*session*/
|
|
3979
|
-
16 &&
|
|
3979
|
+
16 && g(
|
|
3980
3980
|
t,
|
|
3981
3981
|
"session",
|
|
3982
3982
|
/*session*/
|
|
3983
3983
|
n[4]
|
|
3984
3984
|
), r & /*userid*/
|
|
3985
|
-
32 &&
|
|
3985
|
+
32 && g(
|
|
3986
3986
|
t,
|
|
3987
3987
|
"userid",
|
|
3988
3988
|
/*userid*/
|
|
3989
3989
|
n[5]
|
|
3990
3990
|
), r & /*endpoint*/
|
|
3991
|
-
1 &&
|
|
3991
|
+
1 && g(
|
|
3992
3992
|
t,
|
|
3993
3993
|
"endpoint",
|
|
3994
3994
|
/*endpoint*/
|
|
3995
3995
|
n[0]
|
|
3996
3996
|
), r & /*datasource*/
|
|
3997
|
-
2 &&
|
|
3997
|
+
2 && g(
|
|
3998
3998
|
t,
|
|
3999
3999
|
"datasource",
|
|
4000
4000
|
/*datasource*/
|
|
4001
4001
|
n[1]
|
|
4002
4002
|
), r & /*lang*/
|
|
4003
|
-
8 &&
|
|
4003
|
+
8 && g(
|
|
4004
4004
|
t,
|
|
4005
4005
|
"lang",
|
|
4006
4006
|
/*lang*/
|
|
4007
4007
|
n[3]
|
|
4008
4008
|
), r & /*currency*/
|
|
4009
|
-
4 &&
|
|
4009
|
+
4 && g(
|
|
4010
4010
|
t,
|
|
4011
4011
|
"currency",
|
|
4012
4012
|
/*currency*/
|
|
4013
4013
|
n[2]
|
|
4014
4014
|
), r & /*favorites*/
|
|
4015
|
-
16384 &&
|
|
4015
|
+
16384 && g(
|
|
4016
4016
|
t,
|
|
4017
4017
|
"favorites",
|
|
4018
4018
|
/*favorites*/
|
|
4019
4019
|
n[14]
|
|
4020
4020
|
), r & /*fetchviaevent*/
|
|
4021
|
-
65536 &&
|
|
4021
|
+
65536 && g(
|
|
4022
4022
|
t,
|
|
4023
4023
|
"fetchviaevent",
|
|
4024
4024
|
/*fetchviaevent*/
|
|
4025
4025
|
n[16]
|
|
4026
4026
|
), r & /*showgamename*/
|
|
4027
|
-
2048 &&
|
|
4027
|
+
2048 && g(
|
|
4028
4028
|
t,
|
|
4029
4029
|
"showgamename",
|
|
4030
4030
|
/*showgamename*/
|
|
4031
4031
|
n[11]
|
|
4032
4032
|
), r & /*clientstyling*/
|
|
4033
|
-
64 &&
|
|
4033
|
+
64 && g(
|
|
4034
4034
|
t,
|
|
4035
4035
|
"clientstyling",
|
|
4036
4036
|
/*clientstyling*/
|
|
4037
4037
|
n[6]
|
|
4038
4038
|
), r & /*clientstylingurl*/
|
|
4039
|
-
128 &&
|
|
4039
|
+
128 && g(
|
|
4040
4040
|
t,
|
|
4041
4041
|
"clientstylingurl",
|
|
4042
4042
|
/*clientstylingurl*/
|
|
4043
4043
|
n[7]
|
|
4044
4044
|
), r & /*livecasino*/
|
|
4045
|
-
256 &&
|
|
4045
|
+
256 && g(
|
|
4046
4046
|
t,
|
|
4047
4047
|
"livecasino",
|
|
4048
4048
|
/*livecasino*/
|
|
4049
4049
|
n[8]
|
|
4050
4050
|
), r & /*visiblegames*/
|
|
4051
|
-
8192 &&
|
|
4051
|
+
8192 && g(
|
|
4052
4052
|
t,
|
|
4053
4053
|
"visiblegames",
|
|
4054
4054
|
/*visiblegames*/
|
|
4055
4055
|
n[13]
|
|
4056
4056
|
), r & /*gamepagemodalurl*/
|
|
4057
|
-
4096 &&
|
|
4057
|
+
4096 && g(
|
|
4058
4058
|
t,
|
|
4059
4059
|
"gamepagemodalurl",
|
|
4060
4060
|
/*gamepagemodalurl*/
|
|
4061
4061
|
n[12]
|
|
4062
4062
|
), r & /*integratedgameframedesktop*/
|
|
4063
|
-
1024 &&
|
|
4063
|
+
1024 && g(
|
|
4064
4064
|
t,
|
|
4065
4065
|
"integratedgameframedesktop",
|
|
4066
4066
|
/*integratedgameframedesktop*/
|
|
4067
4067
|
n[10]
|
|
4068
4068
|
), r & /*integratedgameframemobile*/
|
|
4069
|
-
512 &&
|
|
4069
|
+
512 && g(
|
|
4070
4070
|
t,
|
|
4071
4071
|
"integratedgameframemobile",
|
|
4072
4072
|
/*integratedgameframemobile*/
|
|
4073
4073
|
n[9]
|
|
4074
4074
|
), r & /*casinomygames*/
|
|
4075
|
-
32768 &&
|
|
4075
|
+
32768 && g(
|
|
4076
4076
|
t,
|
|
4077
4077
|
"casinomygames",
|
|
4078
4078
|
/*casinomygames*/
|
|
@@ -4108,7 +4108,7 @@ function ei(e) {
|
|
|
4108
4108
|
};
|
|
4109
4109
|
}
|
|
4110
4110
|
function ti(e, t, n) {
|
|
4111
|
-
let { endpoint: r = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: c = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl:
|
|
4111
|
+
let { endpoint: r = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: c = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: x = "false" } = t, { visiblegames: T = "" } = t, { favorites: O = "" } = t, { casinomygames: N = "false" } = t, { fetchviaevent: B = "true" } = t, A;
|
|
4112
4112
|
Yr({ withLocale: "en", translations: {} });
|
|
4113
4113
|
const I = () => {
|
|
4114
4114
|
let m = document.createElement("style");
|
|
@@ -4124,13 +4124,13 @@ function ti(e, t, n) {
|
|
|
4124
4124
|
);
|
|
4125
4125
|
});
|
|
4126
4126
|
};
|
|
4127
|
-
function
|
|
4127
|
+
function _(m) {
|
|
4128
4128
|
Se[m ? "unshift" : "push"](() => {
|
|
4129
4129
|
A = m, n(17, A);
|
|
4130
4130
|
});
|
|
4131
4131
|
}
|
|
4132
4132
|
return e.$$set = (m) => {
|
|
4133
|
-
"endpoint" in m && n(0, r = m.endpoint), "datasource" in m && n(1, i = m.datasource), "currency" in m && n(2, s = m.currency), "lang" in m && n(3, a = m.lang), "session" in m && n(4, u = m.session), "userid" in m && n(5, l = m.userid), "clientstyling" in m && n(6, o = m.clientstyling), "clientstylingurl" in m && n(7, h = m.clientstylingurl), "livecasino" in m && n(8, c = m.livecasino), "integratedgameframemobile" in m && n(9, f = m.integratedgameframemobile), "integratedgameframedesktop" in m && n(10, b = m.integratedgameframedesktop), "showgamename" in m && n(11, y = m.showgamename), "gamepagemodalurl" in m && n(12,
|
|
4133
|
+
"endpoint" in m && n(0, r = m.endpoint), "datasource" in m && n(1, i = m.datasource), "currency" in m && n(2, s = m.currency), "lang" in m && n(3, a = m.lang), "session" in m && n(4, u = m.session), "userid" in m && n(5, l = m.userid), "clientstyling" in m && n(6, o = m.clientstyling), "clientstylingurl" in m && n(7, h = m.clientstylingurl), "livecasino" in m && n(8, c = m.livecasino), "integratedgameframemobile" in m && n(9, f = m.integratedgameframemobile), "integratedgameframedesktop" in m && n(10, b = m.integratedgameframedesktop), "showgamename" in m && n(11, y = m.showgamename), "gamepagemodalurl" in m && n(12, x = m.gamepagemodalurl), "visiblegames" in m && n(13, T = m.visiblegames), "favorites" in m && n(14, O = m.favorites), "casinomygames" in m && n(15, N = m.casinomygames), "fetchviaevent" in m && n(16, B = m.fetchviaevent);
|
|
4134
4134
|
}, e.$$.update = () => {
|
|
4135
4135
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4136
4136
|
131136 && o && A && I(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
@@ -4148,13 +4148,13 @@ function ti(e, t, n) {
|
|
|
4148
4148
|
f,
|
|
4149
4149
|
b,
|
|
4150
4150
|
y,
|
|
4151
|
-
|
|
4151
|
+
x,
|
|
4152
4152
|
T,
|
|
4153
4153
|
O,
|
|
4154
4154
|
N,
|
|
4155
4155
|
B,
|
|
4156
4156
|
A,
|
|
4157
|
-
|
|
4157
|
+
_
|
|
4158
4158
|
];
|
|
4159
4159
|
}
|
|
4160
4160
|
class Ut extends un {
|
|
@@ -4291,7 +4291,7 @@ class Ut extends un {
|
|
|
4291
4291
|
}
|
|
4292
4292
|
}
|
|
4293
4293
|
on(Ut, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
|
|
4294
|
-
const
|
|
4294
|
+
const _i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4295
4295
|
__proto__: null,
|
|
4296
4296
|
default: Ut
|
|
4297
4297
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
@@ -4300,15 +4300,15 @@ export {
|
|
|
4300
4300
|
li as A,
|
|
4301
4301
|
ri as B,
|
|
4302
4302
|
on as C,
|
|
4303
|
-
|
|
4303
|
+
vi as D,
|
|
4304
4304
|
fi as E,
|
|
4305
4305
|
oi as F,
|
|
4306
|
-
|
|
4306
|
+
gi as G,
|
|
4307
4307
|
ci as H,
|
|
4308
4308
|
pi as I,
|
|
4309
|
-
|
|
4309
|
+
g as J,
|
|
4310
4310
|
bi as K,
|
|
4311
|
-
|
|
4311
|
+
_i as L,
|
|
4312
4312
|
un as S,
|
|
4313
4313
|
yi as _,
|
|
4314
4314
|
Ee as a,
|
|
@@ -4331,7 +4331,7 @@ export {
|
|
|
4331
4331
|
Ue as r,
|
|
4332
4332
|
ut as s,
|
|
4333
4333
|
lt as t,
|
|
4334
|
-
|
|
4334
|
+
di as u,
|
|
4335
4335
|
si as v,
|
|
4336
4336
|
W as w,
|
|
4337
4337
|
ui as x,
|