@everymatrix/casino-providers 1.45.0 → 1.45.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -29,16 +29,16 @@ var Ye = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function R() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function xt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
35
|
function Ke() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function oe(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(xt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function ke(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
44
|
function yt(e, t) {
|
|
@@ -114,7 +114,7 @@ function or() {
|
|
|
114
114
|
function Ht(e, t, r, n) {
|
|
115
115
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function S(e, t, r) {
|
|
118
118
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
119
119
|
}
|
|
120
120
|
function ar(e) {
|
|
@@ -142,27 +142,27 @@ let Z = [];
|
|
|
142
142
|
const tt = [], hr = /* @__PURE__ */ Promise.resolve();
|
|
143
143
|
let Ie = !1;
|
|
144
144
|
function lr() {
|
|
145
|
-
Ie || (Ie = !0, hr.then(
|
|
145
|
+
Ie || (Ie = !0, hr.then(j));
|
|
146
146
|
}
|
|
147
147
|
function Le(e) {
|
|
148
148
|
Z.push(e);
|
|
149
149
|
}
|
|
150
150
|
const He = /* @__PURE__ */ new Set();
|
|
151
|
-
let
|
|
152
|
-
function
|
|
153
|
-
if (
|
|
151
|
+
let X = 0;
|
|
152
|
+
function j() {
|
|
153
|
+
if (X !== 0)
|
|
154
154
|
return;
|
|
155
155
|
const e = Ve;
|
|
156
156
|
do {
|
|
157
157
|
try {
|
|
158
|
-
for (;
|
|
159
|
-
const t = W[
|
|
160
|
-
|
|
158
|
+
for (; X < W.length; ) {
|
|
159
|
+
const t = W[X];
|
|
160
|
+
X++, ne(t), fr(t.$$);
|
|
161
161
|
}
|
|
162
162
|
} catch (t) {
|
|
163
|
-
throw W.length = 0,
|
|
163
|
+
throw W.length = 0, X = 0, t;
|
|
164
164
|
}
|
|
165
|
-
for (ne(null), W.length = 0,
|
|
165
|
+
for (ne(null), W.length = 0, X = 0; we.length; ) we.pop()();
|
|
166
166
|
for (let t = 0; t < Z.length; t += 1) {
|
|
167
167
|
const r = Z[t];
|
|
168
168
|
He.has(r) || (He.add(r), r());
|
|
@@ -194,7 +194,7 @@ function le(e) {
|
|
|
194
194
|
function dr(e, t, r) {
|
|
195
195
|
const { fragment: n, after_update: i } = e.$$;
|
|
196
196
|
n && n.m(t, r), Le(() => {
|
|
197
|
-
const s = e.$$.on_mount.map(
|
|
197
|
+
const s = e.$$.on_mount.map(xt).filter(ke);
|
|
198
198
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : oe(s), e.$$.on_mount = [];
|
|
199
199
|
}), i.forEach(Le);
|
|
200
200
|
}
|
|
@@ -240,7 +240,7 @@ function vr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
240
240
|
a.fragment && a.fragment.l(c), c.forEach(C);
|
|
241
241
|
} else
|
|
242
242
|
a.fragment && a.fragment.c();
|
|
243
|
-
t.intro && mr(e.$$.fragment), dr(e, t.target, t.anchor),
|
|
243
|
+
t.intro && mr(e.$$.fragment), dr(e, t.target, t.anchor), j();
|
|
244
244
|
}
|
|
245
245
|
ne(h);
|
|
246
246
|
}
|
|
@@ -289,7 +289,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
289
289
|
let o;
|
|
290
290
|
return {
|
|
291
291
|
c: function() {
|
|
292
|
-
o = B("slot"), s !== "default" &&
|
|
292
|
+
o = B("slot"), s !== "default" && S(o, "name", s);
|
|
293
293
|
},
|
|
294
294
|
/**
|
|
295
295
|
* @param {HTMLElement} target
|
|
@@ -395,7 +395,7 @@ function ce(e, t, r, n) {
|
|
|
395
395
|
return t;
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
|
-
function
|
|
398
|
+
function Er(e, t, r, n, i, s) {
|
|
399
399
|
let o = class extends Tt {
|
|
400
400
|
constructor() {
|
|
401
401
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -426,7 +426,7 @@ function xr(e, t, r, n, i, s) {
|
|
|
426
426
|
}), e.element = /** @type {any} */
|
|
427
427
|
o, o;
|
|
428
428
|
}
|
|
429
|
-
class
|
|
429
|
+
class _r {
|
|
430
430
|
constructor() {
|
|
431
431
|
/**
|
|
432
432
|
* ### PRIVATE API
|
|
@@ -456,7 +456,7 @@ class Er {
|
|
|
456
456
|
* @returns {() => void}
|
|
457
457
|
*/
|
|
458
458
|
$on(t, r) {
|
|
459
|
-
if (!
|
|
459
|
+
if (!ke(r))
|
|
460
460
|
return R;
|
|
461
461
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
462
462
|
return n.push(r), () => {
|
|
@@ -472,8 +472,8 @@ class Er {
|
|
|
472
472
|
this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
473
473
|
}
|
|
474
474
|
}
|
|
475
|
-
const
|
|
476
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
475
|
+
const xr = "4";
|
|
476
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xr);
|
|
477
477
|
const rt = {
|
|
478
478
|
en: {
|
|
479
479
|
popularProviders: "Popular Suppliers",
|
|
@@ -577,7 +577,7 @@ const rt = {
|
|
|
577
577
|
Loading: "Cargando, por favor espere...",
|
|
578
578
|
games: "juegos"
|
|
579
579
|
}
|
|
580
|
-
},
|
|
580
|
+
}, z = [];
|
|
581
581
|
function yr(e, t) {
|
|
582
582
|
return {
|
|
583
583
|
subscribe: ve(e, t).subscribe
|
|
@@ -588,13 +588,13 @@ function ve(e, t = R) {
|
|
|
588
588
|
const n = /* @__PURE__ */ new Set();
|
|
589
589
|
function i(u) {
|
|
590
590
|
if (yt(e, u) && (e = u, r)) {
|
|
591
|
-
const h = !
|
|
591
|
+
const h = !z.length;
|
|
592
592
|
for (const a of n)
|
|
593
|
-
a[1](),
|
|
593
|
+
a[1](), z.push(a, e);
|
|
594
594
|
if (h) {
|
|
595
|
-
for (let a = 0; a <
|
|
596
|
-
|
|
597
|
-
|
|
595
|
+
for (let a = 0; a < z.length; a += 2)
|
|
596
|
+
z[a][0](z[a + 1]);
|
|
597
|
+
z.length = 0;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
600
|
}
|
|
@@ -623,7 +623,7 @@ function K(e, t, r) {
|
|
|
623
623
|
return;
|
|
624
624
|
c();
|
|
625
625
|
const d = t(n ? a[0] : a, o, u);
|
|
626
|
-
s ? o(d) : c =
|
|
626
|
+
s ? o(d) : c = ke(d) ? d : R;
|
|
627
627
|
}, g = i.map(
|
|
628
628
|
(d, p) => Pt(
|
|
629
629
|
d,
|
|
@@ -721,7 +721,7 @@ var Ce = function(e, t) {
|
|
|
721
721
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
722
722
|
}, Ce(e, t);
|
|
723
723
|
};
|
|
724
|
-
function
|
|
724
|
+
function Ee(e, t) {
|
|
725
725
|
if (typeof t != "function" && t !== null)
|
|
726
726
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
727
727
|
Ce(e, t);
|
|
@@ -730,14 +730,14 @@ function xe(e, t) {
|
|
|
730
730
|
}
|
|
731
731
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
732
732
|
}
|
|
733
|
-
var
|
|
734
|
-
return
|
|
733
|
+
var x = function() {
|
|
734
|
+
return x = Object.assign || function(t) {
|
|
735
735
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
736
736
|
r = arguments[n];
|
|
737
737
|
for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
738
738
|
}
|
|
739
739
|
return t;
|
|
740
|
-
},
|
|
740
|
+
}, x.apply(this, arguments);
|
|
741
741
|
};
|
|
742
742
|
function Gr(e, t) {
|
|
743
743
|
var r = {};
|
|
@@ -752,10 +752,10 @@ function Te(e, t, r) {
|
|
|
752
752
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
753
753
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
754
754
|
}
|
|
755
|
-
var
|
|
755
|
+
var E;
|
|
756
756
|
(function(e) {
|
|
757
757
|
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";
|
|
758
|
-
})(
|
|
758
|
+
})(E || (E = {}));
|
|
759
759
|
var P;
|
|
760
760
|
(function(e) {
|
|
761
761
|
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";
|
|
@@ -797,10 +797,10 @@ function Lt(e) {
|
|
|
797
797
|
function Me(e) {
|
|
798
798
|
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
799
799
|
}
|
|
800
|
-
var Ct = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
801
|
-
function
|
|
800
|
+
var Ct = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jr = /(?:[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;
|
|
801
|
+
function kr(e) {
|
|
802
802
|
var t = {};
|
|
803
|
-
return e.replace(
|
|
803
|
+
return e.replace(jr, function(r) {
|
|
804
804
|
var n = r.length;
|
|
805
805
|
switch (r[0]) {
|
|
806
806
|
case "G":
|
|
@@ -890,7 +890,7 @@ function jr(e) {
|
|
|
890
890
|
}), t;
|
|
891
891
|
}
|
|
892
892
|
var Vr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
893
|
-
function
|
|
893
|
+
function Xr(e) {
|
|
894
894
|
if (e.length === 0)
|
|
895
895
|
throw new Error("Number skeleton cannot be empty");
|
|
896
896
|
for (var t = e.split(Vr).filter(function(f) {
|
|
@@ -908,7 +908,7 @@ function zr(e) {
|
|
|
908
908
|
}
|
|
909
909
|
return r;
|
|
910
910
|
}
|
|
911
|
-
function
|
|
911
|
+
function zr(e) {
|
|
912
912
|
return e.replace(/^(.*?)-/, "");
|
|
913
913
|
}
|
|
914
914
|
var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mt = /^(@+)?(\+|#+)?[rs]?$/g, Wr = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
|
|
@@ -1000,7 +1000,7 @@ function Qr(e) {
|
|
|
1000
1000
|
continue;
|
|
1001
1001
|
case "measure-unit":
|
|
1002
1002
|
case "unit":
|
|
1003
|
-
t.style = "unit", t.unit =
|
|
1003
|
+
t.style = "unit", t.unit = zr(i.options[0]);
|
|
1004
1004
|
continue;
|
|
1005
1005
|
case "compact-short":
|
|
1006
1006
|
case "K":
|
|
@@ -1011,13 +1011,13 @@ function Qr(e) {
|
|
|
1011
1011
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1012
1012
|
continue;
|
|
1013
1013
|
case "scientific":
|
|
1014
|
-
t =
|
|
1015
|
-
return
|
|
1014
|
+
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
|
1015
|
+
return x(x({}, h), at(a));
|
|
1016
1016
|
}, {}));
|
|
1017
1017
|
continue;
|
|
1018
1018
|
case "engineering":
|
|
1019
|
-
t =
|
|
1020
|
-
return
|
|
1019
|
+
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
|
1020
|
+
return x(x({}, h), at(a));
|
|
1021
1021
|
}, {}));
|
|
1022
1022
|
continue;
|
|
1023
1023
|
case "notation-simple":
|
|
@@ -1086,17 +1086,17 @@ function Qr(e) {
|
|
|
1086
1086
|
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1087
1087
|
});
|
|
1088
1088
|
var s = i.options[0];
|
|
1089
|
-
s === "w" ? t =
|
|
1089
|
+
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), ot(s)));
|
|
1090
1090
|
continue;
|
|
1091
1091
|
}
|
|
1092
1092
|
if (Mt.test(i.stem)) {
|
|
1093
|
-
t =
|
|
1093
|
+
t = x(x({}, t), ot(i.stem));
|
|
1094
1094
|
continue;
|
|
1095
1095
|
}
|
|
1096
1096
|
var o = Rt(i.stem);
|
|
1097
|
-
o && (t =
|
|
1097
|
+
o && (t = x(x({}, t), o));
|
|
1098
1098
|
var u = Zr(i.stem);
|
|
1099
|
-
u && (t =
|
|
1099
|
+
u && (t = x(x({}, t), u));
|
|
1100
1100
|
}
|
|
1101
1101
|
return t;
|
|
1102
1102
|
}
|
|
@@ -2547,7 +2547,7 @@ function qr(e) {
|
|
|
2547
2547
|
return i[0];
|
|
2548
2548
|
}
|
|
2549
2549
|
var Se, Yr = new RegExp("^".concat(Ct.source, "*")), Kr = new RegExp("".concat(Ct.source, "*$"));
|
|
2550
|
-
function
|
|
2550
|
+
function _(e, t) {
|
|
2551
2551
|
return { start: e, end: t };
|
|
2552
2552
|
}
|
|
2553
2553
|
var en = !!String.prototype.startsWith && "_a".startsWith("a", 1), tn = !!String.fromCodePoint, rn = !!Object.fromEntries, nn = !!String.prototype.codePointAt, sn = !!String.prototype.trimStart, on = !!String.prototype.trimEnd, an = !!Number.isSafeInteger, un = an ? Number.isSafeInteger : function(e) {
|
|
@@ -2675,12 +2675,12 @@ var cn = (
|
|
|
2675
2675
|
var u = this.clonePosition();
|
|
2676
2676
|
this.bump(), i.push({
|
|
2677
2677
|
type: P.pound,
|
|
2678
|
-
location:
|
|
2678
|
+
location: _(u, this.clonePosition())
|
|
2679
2679
|
});
|
|
2680
2680
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2681
2681
|
if (n)
|
|
2682
2682
|
break;
|
|
2683
|
-
return this.error(
|
|
2683
|
+
return this.error(E.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
2684
2684
|
} else if (s === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
|
|
2685
2685
|
var o = this.parseTag(t, r);
|
|
2686
2686
|
if (o.err)
|
|
@@ -2704,7 +2704,7 @@ var cn = (
|
|
|
2704
2704
|
val: {
|
|
2705
2705
|
type: P.literal,
|
|
2706
2706
|
value: "<".concat(i, "/>"),
|
|
2707
|
-
location:
|
|
2707
|
+
location: _(n, this.clonePosition())
|
|
2708
2708
|
},
|
|
2709
2709
|
err: null
|
|
2710
2710
|
};
|
|
@@ -2715,21 +2715,21 @@ var cn = (
|
|
|
2715
2715
|
var o = s.val, u = this.clonePosition();
|
|
2716
2716
|
if (this.bumpIf("</")) {
|
|
2717
2717
|
if (this.isEOF() || !Ge(this.char()))
|
|
2718
|
-
return this.error(
|
|
2718
|
+
return this.error(E.INVALID_TAG, _(u, this.clonePosition()));
|
|
2719
2719
|
var h = this.clonePosition(), a = this.parseTagName();
|
|
2720
|
-
return i !== a ? this.error(
|
|
2720
|
+
return i !== a ? this.error(E.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2721
2721
|
val: {
|
|
2722
2722
|
type: P.tag,
|
|
2723
2723
|
value: i,
|
|
2724
2724
|
children: o,
|
|
2725
|
-
location:
|
|
2725
|
+
location: _(n, this.clonePosition())
|
|
2726
2726
|
},
|
|
2727
2727
|
err: null
|
|
2728
|
-
} : this.error(
|
|
2728
|
+
} : this.error(E.INVALID_TAG, _(u, this.clonePosition())));
|
|
2729
2729
|
} else
|
|
2730
|
-
return this.error(
|
|
2730
|
+
return this.error(E.UNCLOSED_TAG, _(n, this.clonePosition()));
|
|
2731
2731
|
} else
|
|
2732
|
-
return this.error(
|
|
2732
|
+
return this.error(E.INVALID_TAG, _(n, this.clonePosition()));
|
|
2733
2733
|
}, e.prototype.parseTagName = function() {
|
|
2734
2734
|
var t = this.offset();
|
|
2735
2735
|
for (this.bump(); !this.isEOF() && mn(this.char()); )
|
|
@@ -2754,7 +2754,7 @@ var cn = (
|
|
|
2754
2754
|
}
|
|
2755
2755
|
break;
|
|
2756
2756
|
}
|
|
2757
|
-
var h =
|
|
2757
|
+
var h = _(n, this.clonePosition());
|
|
2758
2758
|
return {
|
|
2759
2759
|
val: { type: P.literal, value: i, location: h },
|
|
2760
2760
|
err: null
|
|
@@ -2804,14 +2804,14 @@ var cn = (
|
|
|
2804
2804
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2805
2805
|
var n = this.clonePosition();
|
|
2806
2806
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2807
|
-
return this.error(
|
|
2807
|
+
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
2808
2808
|
if (this.char() === 125)
|
|
2809
|
-
return this.bump(), this.error(
|
|
2809
|
+
return this.bump(), this.error(E.EMPTY_ARGUMENT, _(n, this.clonePosition()));
|
|
2810
2810
|
var i = this.parseIdentifierIfPossible().value;
|
|
2811
2811
|
if (!i)
|
|
2812
|
-
return this.error(
|
|
2812
|
+
return this.error(E.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
2813
2813
|
if (this.bumpSpace(), this.isEOF())
|
|
2814
|
-
return this.error(
|
|
2814
|
+
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
2815
2815
|
switch (this.char()) {
|
|
2816
2816
|
case 125:
|
|
2817
2817
|
return this.bump(), {
|
|
@@ -2819,25 +2819,25 @@ var cn = (
|
|
|
2819
2819
|
type: P.argument,
|
|
2820
2820
|
// value does not include the opening and closing braces.
|
|
2821
2821
|
value: i,
|
|
2822
|
-
location:
|
|
2822
|
+
location: _(n, this.clonePosition())
|
|
2823
2823
|
},
|
|
2824
2824
|
err: null
|
|
2825
2825
|
};
|
|
2826
2826
|
case 44:
|
|
2827
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2827
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2828
2828
|
default:
|
|
2829
|
-
return this.error(
|
|
2829
|
+
return this.error(E.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
2830
2830
|
}
|
|
2831
2831
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2832
2832
|
var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
|
|
2833
2833
|
this.bumpTo(i);
|
|
2834
|
-
var s = this.clonePosition(), o =
|
|
2834
|
+
var s = this.clonePosition(), o = _(t, s);
|
|
2835
2835
|
return { value: n, location: o };
|
|
2836
2836
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2837
2837
|
var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2838
2838
|
switch (u) {
|
|
2839
2839
|
case "":
|
|
2840
|
-
return this.error(
|
|
2840
|
+
return this.error(E.EXPECT_ARGUMENT_TYPE, _(o, h));
|
|
2841
2841
|
case "number":
|
|
2842
2842
|
case "date":
|
|
2843
2843
|
case "time": {
|
|
@@ -2850,14 +2850,14 @@ var cn = (
|
|
|
2850
2850
|
return c;
|
|
2851
2851
|
var f = fn(c.val);
|
|
2852
2852
|
if (f.length === 0)
|
|
2853
|
-
return this.error(
|
|
2854
|
-
var g =
|
|
2853
|
+
return this.error(E.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2854
|
+
var g = _(l, this.clonePosition());
|
|
2855
2855
|
a = { style: f, styleLocation: g };
|
|
2856
2856
|
}
|
|
2857
2857
|
var d = this.tryParseArgumentClose(i);
|
|
2858
2858
|
if (d.err)
|
|
2859
2859
|
return d;
|
|
2860
|
-
var p =
|
|
2860
|
+
var p = _(i, this.clonePosition());
|
|
2861
2861
|
if (a && ut(a == null ? void 0 : a.style, "::", 0)) {
|
|
2862
2862
|
var v = ln(a.style.slice(2));
|
|
2863
2863
|
if (u === "number") {
|
|
@@ -2868,17 +2868,17 @@ var cn = (
|
|
|
2868
2868
|
};
|
|
2869
2869
|
} else {
|
|
2870
2870
|
if (v.length === 0)
|
|
2871
|
-
return this.error(
|
|
2871
|
+
return this.error(E.EXPECT_DATE_TIME_SKELETON, p);
|
|
2872
2872
|
var m = v;
|
|
2873
2873
|
this.locale && (m = Jr(v, this.locale));
|
|
2874
2874
|
var f = {
|
|
2875
2875
|
type: J.dateTime,
|
|
2876
2876
|
pattern: m,
|
|
2877
2877
|
location: a.styleLocation,
|
|
2878
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2879
|
-
},
|
|
2878
|
+
parsedOptions: this.shouldParseSkeletons ? kr(m) : {}
|
|
2879
|
+
}, T = u === "date" ? P.date : P.time;
|
|
2880
2880
|
return {
|
|
2881
|
-
val: { type:
|
|
2881
|
+
val: { type: T, value: n, location: p, style: f },
|
|
2882
2882
|
err: null
|
|
2883
2883
|
};
|
|
2884
2884
|
}
|
|
@@ -2898,14 +2898,14 @@ var cn = (
|
|
|
2898
2898
|
case "select": {
|
|
2899
2899
|
var A = this.clonePosition();
|
|
2900
2900
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2901
|
-
return this.error(
|
|
2901
|
+
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, x({}, A)));
|
|
2902
2902
|
this.bumpSpace();
|
|
2903
2903
|
var O = this.parseIdentifierIfPossible(), H = 0;
|
|
2904
2904
|
if (u !== "select" && O.value === "offset") {
|
|
2905
2905
|
if (!this.bumpIf(":"))
|
|
2906
|
-
return this.error(
|
|
2906
|
+
return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
2907
2907
|
this.bumpSpace();
|
|
2908
|
-
var c = this.tryParseDecimalInteger(
|
|
2908
|
+
var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2909
2909
|
if (c.err)
|
|
2910
2910
|
return c;
|
|
2911
2911
|
this.bumpSpace(), O = this.parseIdentifierIfPossible(), H = c.val;
|
|
@@ -2916,7 +2916,7 @@ var cn = (
|
|
|
2916
2916
|
var d = this.tryParseArgumentClose(i);
|
|
2917
2917
|
if (d.err)
|
|
2918
2918
|
return d;
|
|
2919
|
-
var ue =
|
|
2919
|
+
var ue = _(i, this.clonePosition());
|
|
2920
2920
|
return u === "select" ? {
|
|
2921
2921
|
val: {
|
|
2922
2922
|
type: P.select,
|
|
@@ -2938,10 +2938,10 @@ var cn = (
|
|
|
2938
2938
|
};
|
|
2939
2939
|
}
|
|
2940
2940
|
default:
|
|
2941
|
-
return this.error(
|
|
2941
|
+
return this.error(E.INVALID_ARGUMENT_TYPE, _(o, h));
|
|
2942
2942
|
}
|
|
2943
2943
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2944
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2944
|
+
return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2945
2945
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2946
2946
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2947
2947
|
var n = this.char();
|
|
@@ -2950,7 +2950,7 @@ var cn = (
|
|
|
2950
2950
|
this.bump();
|
|
2951
2951
|
var i = this.clonePosition();
|
|
2952
2952
|
if (!this.bumpUntil("'"))
|
|
2953
|
-
return this.error(
|
|
2953
|
+
return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
|
|
2954
2954
|
this.bump();
|
|
2955
2955
|
break;
|
|
2956
2956
|
}
|
|
@@ -2980,9 +2980,9 @@ var cn = (
|
|
|
2980
2980
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2981
2981
|
var n = [];
|
|
2982
2982
|
try {
|
|
2983
|
-
n =
|
|
2983
|
+
n = Xr(t);
|
|
2984
2984
|
} catch (i) {
|
|
2985
|
-
return this.error(
|
|
2985
|
+
return this.error(E.INVALID_NUMBER_SKELETON, r);
|
|
2986
2986
|
}
|
|
2987
2987
|
return {
|
|
2988
2988
|
val: {
|
|
@@ -2998,19 +2998,19 @@ var cn = (
|
|
|
2998
2998
|
if (a.length === 0) {
|
|
2999
2999
|
var c = this.clonePosition();
|
|
3000
3000
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3001
|
-
var f = this.tryParseDecimalInteger(
|
|
3001
|
+
var f = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3002
3002
|
if (f.err)
|
|
3003
3003
|
return f;
|
|
3004
|
-
l =
|
|
3004
|
+
l = _(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
|
3005
3005
|
} else
|
|
3006
3006
|
break;
|
|
3007
3007
|
}
|
|
3008
3008
|
if (h.has(a))
|
|
3009
|
-
return this.error(r === "select" ?
|
|
3009
|
+
return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3010
3010
|
a === "other" && (o = !0), this.bumpSpace();
|
|
3011
3011
|
var g = this.clonePosition();
|
|
3012
3012
|
if (!this.bumpIf("{"))
|
|
3013
|
-
return this.error(r === "select" ?
|
|
3013
|
+
return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3014
3014
|
var d = this.parseMessage(t + 1, r, n);
|
|
3015
3015
|
if (d.err)
|
|
3016
3016
|
return d;
|
|
@@ -3021,11 +3021,11 @@ var cn = (
|
|
|
3021
3021
|
a,
|
|
3022
3022
|
{
|
|
3023
3023
|
value: d.val,
|
|
3024
|
-
location:
|
|
3024
|
+
location: _(g, this.clonePosition())
|
|
3025
3025
|
}
|
|
3026
3026
|
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
|
|
3027
3027
|
}
|
|
3028
|
-
return u.length === 0 ? this.error(r === "select" ?
|
|
3028
|
+
return u.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(E.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
3029
3029
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3030
3030
|
var n = 1, i = this.clonePosition();
|
|
3031
3031
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3036,7 +3036,7 @@ var cn = (
|
|
|
3036
3036
|
else
|
|
3037
3037
|
break;
|
|
3038
3038
|
}
|
|
3039
|
-
var h =
|
|
3039
|
+
var h = _(i, this.clonePosition());
|
|
3040
3040
|
return s ? (o *= n, un(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3041
3041
|
}, e.prototype.offset = function() {
|
|
3042
3042
|
return this.position.offset;
|
|
@@ -3127,16 +3127,16 @@ function De(e) {
|
|
|
3127
3127
|
});
|
|
3128
3128
|
}
|
|
3129
3129
|
function gn(e, t) {
|
|
3130
|
-
t === void 0 && (t = {}), t =
|
|
3130
|
+
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3131
3131
|
var r = new cn(e, t).parse();
|
|
3132
3132
|
if (r.err) {
|
|
3133
|
-
var n = SyntaxError(
|
|
3133
|
+
var n = SyntaxError(E[r.err.kind]);
|
|
3134
3134
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3135
3135
|
}
|
|
3136
3136
|
return t != null && t.captureLocation || De(r.val), r.val;
|
|
3137
3137
|
}
|
|
3138
3138
|
function Ae(e, t) {
|
|
3139
|
-
var r = t && t.cache ? t.cache : yn, n = t && t.serializer ? t.serializer :
|
|
3139
|
+
var r = t && t.cache ? t.cache : yn, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : vn;
|
|
3140
3140
|
return i(e, {
|
|
3141
3141
|
cache: r,
|
|
3142
3142
|
serializer: n
|
|
@@ -3149,50 +3149,50 @@ function Ft(e, t, r, n) {
|
|
|
3149
3149
|
var i = bn(n) ? n : r(n), s = t.get(i);
|
|
3150
3150
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
3151
3151
|
}
|
|
3152
|
-
function
|
|
3152
|
+
function jt(e, t, r) {
|
|
3153
3153
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
3154
3154
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
3155
3155
|
}
|
|
3156
|
-
function
|
|
3156
|
+
function Xe(e, t, r, n, i) {
|
|
3157
3157
|
return r.bind(t, e, n, i);
|
|
3158
3158
|
}
|
|
3159
3159
|
function vn(e, t) {
|
|
3160
|
-
var r = e.length === 1 ? Ft :
|
|
3161
|
-
return
|
|
3162
|
-
}
|
|
3163
|
-
function xn(e, t) {
|
|
3164
|
-
return ze(e, this, kt, t.cache.create(), t.serializer);
|
|
3160
|
+
var r = e.length === 1 ? Ft : jt;
|
|
3161
|
+
return Xe(e, this, r, t.cache.create(), t.serializer);
|
|
3165
3162
|
}
|
|
3166
3163
|
function En(e, t) {
|
|
3167
|
-
return
|
|
3164
|
+
return Xe(e, this, jt, t.cache.create(), t.serializer);
|
|
3165
|
+
}
|
|
3166
|
+
function _n(e, t) {
|
|
3167
|
+
return Xe(e, this, Ft, t.cache.create(), t.serializer);
|
|
3168
3168
|
}
|
|
3169
|
-
var
|
|
3169
|
+
var xn = function() {
|
|
3170
3170
|
return JSON.stringify(arguments);
|
|
3171
3171
|
};
|
|
3172
|
-
function
|
|
3172
|
+
function ze() {
|
|
3173
3173
|
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3174
3174
|
}
|
|
3175
|
-
|
|
3175
|
+
ze.prototype.get = function(e) {
|
|
3176
3176
|
return this.cache[e];
|
|
3177
3177
|
};
|
|
3178
|
-
|
|
3178
|
+
ze.prototype.set = function(e, t) {
|
|
3179
3179
|
this.cache[e] = t;
|
|
3180
3180
|
};
|
|
3181
3181
|
var yn = {
|
|
3182
3182
|
create: function() {
|
|
3183
|
-
return new
|
|
3183
|
+
return new ze();
|
|
3184
3184
|
}
|
|
3185
3185
|
}, Be = {
|
|
3186
|
-
variadic:
|
|
3187
|
-
monadic:
|
|
3186
|
+
variadic: En,
|
|
3187
|
+
monadic: _n
|
|
3188
3188
|
}, q;
|
|
3189
3189
|
(function(e) {
|
|
3190
3190
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3191
3191
|
})(q || (q = {}));
|
|
3192
|
-
var
|
|
3192
|
+
var _e = (
|
|
3193
3193
|
/** @class */
|
|
3194
3194
|
function(e) {
|
|
3195
|
-
|
|
3195
|
+
Ee(t, e);
|
|
3196
3196
|
function t(r, n, i) {
|
|
3197
3197
|
var s = e.call(this, r) || this;
|
|
3198
3198
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3204,30 +3204,30 @@ var Ee = (
|
|
|
3204
3204
|
), ft = (
|
|
3205
3205
|
/** @class */
|
|
3206
3206
|
function(e) {
|
|
3207
|
-
|
|
3207
|
+
Ee(t, e);
|
|
3208
3208
|
function t(r, n, i, s) {
|
|
3209
3209
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, s) || this;
|
|
3210
3210
|
}
|
|
3211
3211
|
return t;
|
|
3212
|
-
}(
|
|
3212
|
+
}(_e)
|
|
3213
3213
|
), Pn = (
|
|
3214
3214
|
/** @class */
|
|
3215
3215
|
function(e) {
|
|
3216
|
-
|
|
3216
|
+
Ee(t, e);
|
|
3217
3217
|
function t(r, n, i) {
|
|
3218
3218
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
|
|
3219
3219
|
}
|
|
3220
3220
|
return t;
|
|
3221
|
-
}(
|
|
3221
|
+
}(_e)
|
|
3222
3222
|
), Hn = (
|
|
3223
3223
|
/** @class */
|
|
3224
3224
|
function(e) {
|
|
3225
|
-
|
|
3225
|
+
Ee(t, e);
|
|
3226
3226
|
function t(r, n) {
|
|
3227
3227
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
|
|
3228
3228
|
}
|
|
3229
3229
|
return t;
|
|
3230
|
-
}(
|
|
3230
|
+
}(_e)
|
|
3231
3231
|
), w;
|
|
3232
3232
|
(function(e) {
|
|
3233
3233
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3304,10 +3304,10 @@ function pe(e, t, r, n, i, s, o) {
|
|
|
3304
3304
|
var d = l.children, p = l.value, v = i[p];
|
|
3305
3305
|
if (!Sn(v))
|
|
3306
3306
|
throw new Pn(p, "function", o);
|
|
3307
|
-
var m = pe(d, t, r, n, i, s),
|
|
3307
|
+
var m = pe(d, t, r, n, i, s), T = v(m.map(function(H) {
|
|
3308
3308
|
return H.value;
|
|
3309
3309
|
}));
|
|
3310
|
-
Array.isArray(
|
|
3310
|
+
Array.isArray(T) || (T = [T]), u.push.apply(u, T.map(function(H) {
|
|
3311
3311
|
return {
|
|
3312
3312
|
type: typeof H == "string" ? w.literal : w.object,
|
|
3313
3313
|
value: H
|
|
@@ -3325,7 +3325,7 @@ function pe(e, t, r, n, i, s, o) {
|
|
|
3325
3325
|
var A = l.options["=".concat(f)];
|
|
3326
3326
|
if (!A) {
|
|
3327
3327
|
if (!Intl.PluralRules)
|
|
3328
|
-
throw new
|
|
3328
|
+
throw new _e(`Intl.PluralRules is not available in this environment.
|
|
3329
3329
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3330
3330
|
`, q.MISSING_INTL_API, o);
|
|
3331
3331
|
var O = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
@@ -3340,14 +3340,14 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3340
3340
|
return Tn(u);
|
|
3341
3341
|
}
|
|
3342
3342
|
function An(e, t) {
|
|
3343
|
-
return t ?
|
|
3344
|
-
return r[n] =
|
|
3343
|
+
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3344
|
+
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
|
3345
3345
|
}, {})) : e;
|
|
3346
3346
|
}
|
|
3347
3347
|
function Bn(e, t) {
|
|
3348
3348
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3349
3349
|
return r[n] = An(e[n], t[n]), r;
|
|
3350
|
-
},
|
|
3350
|
+
}, x({}, e)) : e;
|
|
3351
3351
|
}
|
|
3352
3352
|
function Oe(e) {
|
|
3353
3353
|
return {
|
|
@@ -3427,7 +3427,7 @@ var Nn = (
|
|
|
3427
3427
|
var o = i || {};
|
|
3428
3428
|
o.formatters;
|
|
3429
3429
|
var u = Gr(o, ["formatters"]);
|
|
3430
|
-
this.ast = e.__parse(t,
|
|
3430
|
+
this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
|
|
3431
3431
|
} else
|
|
3432
3432
|
this.ast = t;
|
|
3433
3433
|
if (!Array.isArray(this.ast))
|
|
@@ -3527,12 +3527,12 @@ function wn(e, t) {
|
|
|
3527
3527
|
n = void 0;
|
|
3528
3528
|
return n;
|
|
3529
3529
|
}
|
|
3530
|
-
const
|
|
3530
|
+
const k = {}, In = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), kt = (e, t) => {
|
|
3531
3531
|
if (t == null)
|
|
3532
3532
|
return;
|
|
3533
|
-
if (t in
|
|
3534
|
-
return
|
|
3535
|
-
const r =
|
|
3533
|
+
if (t in k && e in k[t])
|
|
3534
|
+
return k[t][e];
|
|
3535
|
+
const r = xe(t);
|
|
3536
3536
|
for (let n = 0; n < r.length; n++) {
|
|
3537
3537
|
const i = r[n], s = Cn(i, e);
|
|
3538
3538
|
if (s)
|
|
@@ -3556,15 +3556,15 @@ function Cn(e, t) {
|
|
|
3556
3556
|
function Mn(e) {
|
|
3557
3557
|
if (e == null)
|
|
3558
3558
|
return;
|
|
3559
|
-
const t =
|
|
3559
|
+
const t = xe(e);
|
|
3560
3560
|
for (let r = 0; r < t.length; r++) {
|
|
3561
3561
|
const n = t[r];
|
|
3562
3562
|
if (Vt(n))
|
|
3563
3563
|
return n;
|
|
3564
3564
|
}
|
|
3565
3565
|
}
|
|
3566
|
-
function
|
|
3567
|
-
delete
|
|
3566
|
+
function Xt(e, ...t) {
|
|
3567
|
+
delete k[e], ae.update((r) => (r[e] = Ur.all([r[e] || {}, ...t]), r));
|
|
3568
3568
|
}
|
|
3569
3569
|
K(
|
|
3570
3570
|
[ae],
|
|
@@ -3575,27 +3575,27 @@ const me = {};
|
|
|
3575
3575
|
function $n(e, t) {
|
|
3576
3576
|
me[e].delete(t), me[e].size === 0 && delete me[e];
|
|
3577
3577
|
}
|
|
3578
|
-
function
|
|
3578
|
+
function zt(e) {
|
|
3579
3579
|
return me[e];
|
|
3580
3580
|
}
|
|
3581
3581
|
function Rn(e) {
|
|
3582
|
-
return
|
|
3583
|
-
const r =
|
|
3582
|
+
return xe(e).map((t) => {
|
|
3583
|
+
const r = zt(t);
|
|
3584
3584
|
return [t, r ? [...r] : []];
|
|
3585
3585
|
}).filter(([, t]) => t.length > 0);
|
|
3586
3586
|
}
|
|
3587
3587
|
function Fe(e) {
|
|
3588
|
-
return e == null ? !1 :
|
|
3588
|
+
return e == null ? !1 : xe(e).some(
|
|
3589
3589
|
(t) => {
|
|
3590
3590
|
var r;
|
|
3591
|
-
return (r =
|
|
3591
|
+
return (r = zt(t)) == null ? void 0 : r.size;
|
|
3592
3592
|
}
|
|
3593
3593
|
);
|
|
3594
3594
|
}
|
|
3595
3595
|
function Un(e, t) {
|
|
3596
3596
|
return Promise.all(
|
|
3597
3597
|
t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
|
|
3598
|
-
).then((n) =>
|
|
3598
|
+
).then((n) => Xt(e, ...n));
|
|
3599
3599
|
}
|
|
3600
3600
|
const re = {};
|
|
3601
3601
|
function Wt(e) {
|
|
@@ -3653,28 +3653,28 @@ function Y() {
|
|
|
3653
3653
|
return Fn;
|
|
3654
3654
|
}
|
|
3655
3655
|
const Ne = ve(!1);
|
|
3656
|
-
var
|
|
3656
|
+
var jn = Object.defineProperty, kn = Object.defineProperties, Vn = Object.getOwnPropertyDescriptors, ct = Object.getOwnPropertySymbols, Xn = Object.prototype.hasOwnProperty, zn = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wn = (e, t) => {
|
|
3657
3657
|
for (var r in t || (t = {}))
|
|
3658
|
-
|
|
3658
|
+
Xn.call(t, r) && pt(e, r, t[r]);
|
|
3659
3659
|
if (ct)
|
|
3660
3660
|
for (var r of ct(t))
|
|
3661
|
-
|
|
3661
|
+
zn.call(t, r) && pt(e, r, t[r]);
|
|
3662
3662
|
return e;
|
|
3663
|
-
}, Zn = (e, t) =>
|
|
3664
|
-
let
|
|
3663
|
+
}, Zn = (e, t) => kn(e, Vn(t));
|
|
3664
|
+
let je;
|
|
3665
3665
|
const ge = ve(null);
|
|
3666
3666
|
function mt(e) {
|
|
3667
3667
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3668
3668
|
}
|
|
3669
|
-
function
|
|
3669
|
+
function xe(e, t = Y().fallbackLocale) {
|
|
3670
3670
|
const r = mt(e);
|
|
3671
3671
|
return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
|
|
3672
3672
|
}
|
|
3673
3673
|
function V() {
|
|
3674
|
-
return
|
|
3674
|
+
return je != null ? je : void 0;
|
|
3675
3675
|
}
|
|
3676
3676
|
ge.subscribe((e) => {
|
|
3677
|
-
|
|
3677
|
+
je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3678
3678
|
});
|
|
3679
3679
|
const Qn = (e) => {
|
|
3680
3680
|
if (e && Mn(e) && Fe(e)) {
|
|
@@ -3782,7 +3782,7 @@ const se = (e, t) => {
|
|
|
3782
3782
|
throw new Error(
|
|
3783
3783
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3784
3784
|
);
|
|
3785
|
-
let l =
|
|
3785
|
+
let l = kt(e, h);
|
|
3786
3786
|
if (!l)
|
|
3787
3787
|
l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3788
3788
|
else if (typeof l != "string")
|
|
@@ -3801,19 +3801,19 @@ const se = (e, t) => {
|
|
|
3801
3801
|
);
|
|
3802
3802
|
}
|
|
3803
3803
|
return c;
|
|
3804
|
-
}, si = (e, t) => ri(t).format(e), oi = (e, t) => ti(t).format(e), ai = (e, t) => ei(t).format(e), ui = (e, t = V()) =>
|
|
3804
|
+
}, si = (e, t) => ri(t).format(e), oi = (e, t) => ti(t).format(e), ai = (e, t) => ei(t).format(e), ui = (e, t = V()) => kt(e, t), hi = K([ee, ae], () => ii);
|
|
3805
3805
|
K([ee], () => si);
|
|
3806
3806
|
K([ee], () => oi);
|
|
3807
3807
|
K([ee], () => ai);
|
|
3808
3808
|
K([ee, ae], () => ui);
|
|
3809
3809
|
function gt(e, t) {
|
|
3810
|
-
|
|
3810
|
+
Xt(e, t);
|
|
3811
3811
|
}
|
|
3812
3812
|
function li(e) {
|
|
3813
3813
|
ee.set(e);
|
|
3814
3814
|
}
|
|
3815
3815
|
function fi(e) {
|
|
3816
|
-
nr(e, "svelte-
|
|
3816
|
+
nr(e, "svelte-1gbl7ko", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoProviders{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.ProviderTitle{font-weight:500;position:relative;right:30px;margin:10px 0}.Provider{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.ProviderTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.ProviderTextContainer p:first-child{font-weight:600;color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}.ProviderTextContainer p:last-child{color:var(--emfe-w-color-gray-150, #828282);font-weight:300}.ProviderImage{border-radius:4px;object-fit:contain;height:64px;width:64px;font-weight:100;border:0.5px solid var(--emfe-w-color-gray-100, #E6E6E6);overflow:hidden;object-fit:contain}.Message{font-weight:600;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}");
|
|
3817
3817
|
}
|
|
3818
3818
|
function bt(e, t, r) {
|
|
3819
3819
|
const n = e.slice();
|
|
@@ -3835,13 +3835,13 @@ function ci(e) {
|
|
|
3835
3835
|
e[1]
|
|
3836
3836
|
), f = [];
|
|
3837
3837
|
for (let p = 0; p < c.length; p += 1)
|
|
3838
|
-
f[p] =
|
|
3838
|
+
f[p] = Et(vt(e, c, p));
|
|
3839
3839
|
let g = le(
|
|
3840
3840
|
/*otherProviders*/
|
|
3841
3841
|
e[2]
|
|
3842
3842
|
), d = [];
|
|
3843
3843
|
for (let p = 0; p < g.length; p += 1)
|
|
3844
|
-
d[p] =
|
|
3844
|
+
d[p] = _t(bt(e, g, p));
|
|
3845
3845
|
return {
|
|
3846
3846
|
c() {
|
|
3847
3847
|
t = B("h4"), n = U(r), i = G();
|
|
@@ -3850,7 +3850,7 @@ function ci(e) {
|
|
|
3850
3850
|
s = G(), o = B("h4"), h = U(u), a = G();
|
|
3851
3851
|
for (let p = 0; p < d.length; p += 1)
|
|
3852
3852
|
d[p].c();
|
|
3853
|
-
l = or(),
|
|
3853
|
+
l = or(), S(t, "class", "ProviderTitle"), S(o, "class", "ProviderTitle");
|
|
3854
3854
|
},
|
|
3855
3855
|
m(p, v) {
|
|
3856
3856
|
$(p, t, v), y(t, n), $(p, i, v);
|
|
@@ -3872,8 +3872,8 @@ function ci(e) {
|
|
|
3872
3872
|
);
|
|
3873
3873
|
let m;
|
|
3874
3874
|
for (m = 0; m < c.length; m += 1) {
|
|
3875
|
-
const
|
|
3876
|
-
f[m] ? f[m].p(
|
|
3875
|
+
const T = vt(p, c, m);
|
|
3876
|
+
f[m] ? f[m].p(T, v) : (f[m] = Et(T), f[m].c(), f[m].m(s.parentNode, s));
|
|
3877
3877
|
}
|
|
3878
3878
|
for (; m < f.length; m += 1)
|
|
3879
3879
|
f[m].d(1);
|
|
@@ -3889,8 +3889,8 @@ function ci(e) {
|
|
|
3889
3889
|
);
|
|
3890
3890
|
let m;
|
|
3891
3891
|
for (m = 0; m < g.length; m += 1) {
|
|
3892
|
-
const
|
|
3893
|
-
d[m] ? d[m].p(
|
|
3892
|
+
const T = bt(p, g, m);
|
|
3893
|
+
d[m] ? d[m].p(T, v) : (d[m] = _t(T), d[m].c(), d[m].m(l.parentNode, l));
|
|
3894
3894
|
}
|
|
3895
3895
|
for (; m < d.length; m += 1)
|
|
3896
3896
|
d[m].d(1);
|
|
@@ -3909,7 +3909,7 @@ function pi(e) {
|
|
|
3909
3909
|
), n;
|
|
3910
3910
|
return {
|
|
3911
3911
|
c() {
|
|
3912
|
-
t = B("p"), n = U(r),
|
|
3912
|
+
t = B("p"), n = U(r), S(t, "class", "Message");
|
|
3913
3913
|
},
|
|
3914
3914
|
m(i, s) {
|
|
3915
3915
|
$(i, t, s), y(t, n);
|
|
@@ -3924,7 +3924,7 @@ function pi(e) {
|
|
|
3924
3924
|
}
|
|
3925
3925
|
};
|
|
3926
3926
|
}
|
|
3927
|
-
function
|
|
3927
|
+
function Et(e) {
|
|
3928
3928
|
let t, r, n, i, s, o, u, h = (
|
|
3929
3929
|
/*provider*/
|
|
3930
3930
|
e[21].name + ""
|
|
@@ -3934,7 +3934,7 @@ function xt(e) {
|
|
|
3934
3934
|
), g, d, p = (
|
|
3935
3935
|
/*$_*/
|
|
3936
3936
|
e[4]("games") + ""
|
|
3937
|
-
), v, m,
|
|
3937
|
+
), v, m, T;
|
|
3938
3938
|
function A() {
|
|
3939
3939
|
return (
|
|
3940
3940
|
/*click_handler*/
|
|
@@ -3947,18 +3947,18 @@ function xt(e) {
|
|
|
3947
3947
|
return {
|
|
3948
3948
|
c() {
|
|
3949
3949
|
t = B("div"), r = B("img"), s = G(), o = B("div"), u = B("p"), a = U(h), l = G(), c = B("p"), g = U(f), d = G(), v = U(p), de(r.src, n = /*provider*/
|
|
3950
|
-
e[21].logo) ||
|
|
3951
|
-
e[21].name),
|
|
3950
|
+
e[21].logo) || S(r, "src", n), S(r, "alt", i = /*provider*/
|
|
3951
|
+
e[21].name), S(r, "class", "ProviderImage"), S(o, "class", "ProviderTextContainer"), S(t, "class", "Provider");
|
|
3952
3952
|
},
|
|
3953
3953
|
m(O, H) {
|
|
3954
|
-
$(O, t, H), y(t, r), y(t, s), y(t, o), y(o, u), y(u, a), y(o, l), y(o, c), y(c, g), y(c, d), y(c, v), m || (
|
|
3954
|
+
$(O, t, H), y(t, r), y(t, s), y(t, o), y(o, u), y(u, a), y(o, l), y(o, c), y(c, g), y(c, d), y(c, v), m || (T = Ht(t, "click", A), m = !0);
|
|
3955
3955
|
},
|
|
3956
3956
|
p(O, H) {
|
|
3957
3957
|
e = O, H & /*topProviders*/
|
|
3958
3958
|
2 && !de(r.src, n = /*provider*/
|
|
3959
|
-
e[21].logo) &&
|
|
3959
|
+
e[21].logo) && S(r, "src", n), H & /*topProviders*/
|
|
3960
3960
|
2 && i !== (i = /*provider*/
|
|
3961
|
-
e[21].name) &&
|
|
3961
|
+
e[21].name) && S(r, "alt", i), H & /*topProviders*/
|
|
3962
3962
|
2 && h !== (h = /*provider*/
|
|
3963
3963
|
e[21].name + "") && F(a, h), H & /*topProviders*/
|
|
3964
3964
|
2 && f !== (f = /*provider*/
|
|
@@ -3967,11 +3967,11 @@ function xt(e) {
|
|
|
3967
3967
|
e[4]("games") + "") && F(v, p);
|
|
3968
3968
|
},
|
|
3969
3969
|
d(O) {
|
|
3970
|
-
O && C(t), m = !1,
|
|
3970
|
+
O && C(t), m = !1, T();
|
|
3971
3971
|
}
|
|
3972
3972
|
};
|
|
3973
3973
|
}
|
|
3974
|
-
function
|
|
3974
|
+
function _t(e) {
|
|
3975
3975
|
let t, r, n, i, s, o, u, h = (
|
|
3976
3976
|
/*provider*/
|
|
3977
3977
|
e[21].name + ""
|
|
@@ -3981,7 +3981,7 @@ function Et(e) {
|
|
|
3981
3981
|
), g, d, p = (
|
|
3982
3982
|
/*$_*/
|
|
3983
3983
|
e[4]("games") + ""
|
|
3984
|
-
), v, m,
|
|
3984
|
+
), v, m, T, A;
|
|
3985
3985
|
function O() {
|
|
3986
3986
|
return (
|
|
3987
3987
|
/*click_handler_1*/
|
|
@@ -3994,18 +3994,18 @@ function Et(e) {
|
|
|
3994
3994
|
return {
|
|
3995
3995
|
c() {
|
|
3996
3996
|
t = B("div"), r = B("img"), s = G(), o = B("div"), u = B("p"), a = U(h), l = G(), c = B("p"), g = U(f), d = G(), v = U(p), m = G(), de(r.src, n = /*provider*/
|
|
3997
|
-
e[21].logo) ||
|
|
3998
|
-
e[21].name),
|
|
3997
|
+
e[21].logo) || S(r, "src", n), S(r, "alt", i = /*provider*/
|
|
3998
|
+
e[21].name), S(r, "class", "ProviderImage"), S(o, "class", "ProviderTextContainer"), S(t, "class", "Provider");
|
|
3999
3999
|
},
|
|
4000
4000
|
m(H, I) {
|
|
4001
|
-
$(H, t, I), y(t, r), y(t, s), y(t, o), y(o, u), y(u, a), y(o, l), y(o, c), y(c, g), y(c, d), y(c, v), y(t, m),
|
|
4001
|
+
$(H, t, I), y(t, r), y(t, s), y(t, o), y(o, u), y(u, a), y(o, l), y(o, c), y(c, g), y(c, d), y(c, v), y(t, m), T || (A = Ht(t, "click", O), T = !0);
|
|
4002
4002
|
},
|
|
4003
4003
|
p(H, I) {
|
|
4004
4004
|
e = H, I & /*otherProviders*/
|
|
4005
4005
|
4 && !de(r.src, n = /*provider*/
|
|
4006
|
-
e[21].logo) &&
|
|
4006
|
+
e[21].logo) && S(r, "src", n), I & /*otherProviders*/
|
|
4007
4007
|
4 && i !== (i = /*provider*/
|
|
4008
|
-
e[21].name) &&
|
|
4008
|
+
e[21].name) && S(r, "alt", i), I & /*otherProviders*/
|
|
4009
4009
|
4 && h !== (h = /*provider*/
|
|
4010
4010
|
e[21].name + "") && F(a, h), I & /*otherProviders*/
|
|
4011
4011
|
4 && f !== (f = /*provider*/
|
|
@@ -4014,7 +4014,7 @@ function Et(e) {
|
|
|
4014
4014
|
e[4]("games") + "") && F(v, p);
|
|
4015
4015
|
},
|
|
4016
4016
|
d(H) {
|
|
4017
|
-
H && C(t),
|
|
4017
|
+
H && C(t), T = !1, A();
|
|
4018
4018
|
}
|
|
4019
4019
|
};
|
|
4020
4020
|
}
|
|
@@ -4029,7 +4029,7 @@ function mi(e) {
|
|
|
4029
4029
|
let n = r(e), i = n(e);
|
|
4030
4030
|
return {
|
|
4031
4031
|
c() {
|
|
4032
|
-
t = B("div"), i.c(),
|
|
4032
|
+
t = B("div"), i.c(), S(t, "class", "CasinoProviders");
|
|
4033
4033
|
},
|
|
4034
4034
|
m(s, o) {
|
|
4035
4035
|
$(s, t, o), i.m(t, null), e[14](t);
|
|
@@ -4078,7 +4078,7 @@ function di(e, t, r) {
|
|
|
4078
4078
|
},
|
|
4079
4079
|
window.location.href
|
|
4080
4080
|
);
|
|
4081
|
-
},
|
|
4081
|
+
}, T = () => {
|
|
4082
4082
|
li(o);
|
|
4083
4083
|
}, A = () => {
|
|
4084
4084
|
let b = document.createElement("style");
|
|
@@ -4104,7 +4104,7 @@ function di(e, t, r) {
|
|
|
4104
4104
|
}, e.$$.update = () => {
|
|
4105
4105
|
e.$$.dirty & /*endpoint, lang, datasource*/
|
|
4106
4106
|
448 && i && o && s && v(), e.$$.dirty & /*lang*/
|
|
4107
|
-
256 && o &&
|
|
4107
|
+
256 && o && T(), e.$$.dirty & /*translationurl*/
|
|
4108
4108
|
2048 && a && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4109
4109
|
513 && u && d && A(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4110
4110
|
1025 && h && d && O();
|
|
@@ -4126,7 +4126,7 @@ function di(e, t, r) {
|
|
|
4126
4126
|
ue
|
|
4127
4127
|
];
|
|
4128
4128
|
}
|
|
4129
|
-
class gi extends
|
|
4129
|
+
class gi extends _r {
|
|
4130
4130
|
constructor(t) {
|
|
4131
4131
|
super(), vr(
|
|
4132
4132
|
this,
|
|
@@ -4149,40 +4149,40 @@ class gi extends Er {
|
|
|
4149
4149
|
return this.$$.ctx[6];
|
|
4150
4150
|
}
|
|
4151
4151
|
set endpoint(t) {
|
|
4152
|
-
this.$$set({ endpoint: t }),
|
|
4152
|
+
this.$$set({ endpoint: t }), j();
|
|
4153
4153
|
}
|
|
4154
4154
|
get datasource() {
|
|
4155
4155
|
return this.$$.ctx[7];
|
|
4156
4156
|
}
|
|
4157
4157
|
set datasource(t) {
|
|
4158
|
-
this.$$set({ datasource: t }),
|
|
4158
|
+
this.$$set({ datasource: t }), j();
|
|
4159
4159
|
}
|
|
4160
4160
|
get lang() {
|
|
4161
4161
|
return this.$$.ctx[8];
|
|
4162
4162
|
}
|
|
4163
4163
|
set lang(t) {
|
|
4164
|
-
this.$$set({ lang: t }),
|
|
4164
|
+
this.$$set({ lang: t }), j();
|
|
4165
4165
|
}
|
|
4166
4166
|
get clientstyling() {
|
|
4167
4167
|
return this.$$.ctx[9];
|
|
4168
4168
|
}
|
|
4169
4169
|
set clientstyling(t) {
|
|
4170
|
-
this.$$set({ clientstyling: t }),
|
|
4170
|
+
this.$$set({ clientstyling: t }), j();
|
|
4171
4171
|
}
|
|
4172
4172
|
get clientstylingurl() {
|
|
4173
4173
|
return this.$$.ctx[10];
|
|
4174
4174
|
}
|
|
4175
4175
|
set clientstylingurl(t) {
|
|
4176
|
-
this.$$set({ clientstylingurl: t }),
|
|
4176
|
+
this.$$set({ clientstylingurl: t }), j();
|
|
4177
4177
|
}
|
|
4178
4178
|
get translationurl() {
|
|
4179
4179
|
return this.$$.ctx[11];
|
|
4180
4180
|
}
|
|
4181
4181
|
set translationurl(t) {
|
|
4182
|
-
this.$$set({ translationurl: t }),
|
|
4182
|
+
this.$$set({ translationurl: t }), j();
|
|
4183
4183
|
}
|
|
4184
4184
|
}
|
|
4185
|
-
|
|
4185
|
+
Er(gi, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4186
4186
|
export {
|
|
4187
4187
|
gi as default
|
|
4188
4188
|
};
|