@everymatrix/casino-collections-providers 1.59.0 → 1.59.1
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/{CasinoCollectionsProviders-BUDh7ocn.js → CasinoCollectionsProviders-BINLj-5P.js} +367 -364
- package/components/{CasinoCollectionsProviders-BqEnb-LK.cjs → CasinoCollectionsProviders-CiGVjQtw.cjs} +4 -4
- package/components/{CasinoCollectionsProviders-ChB37qmT.js → CasinoCollectionsProviders-D6DzCamj.js} +360 -357
- package/es2015/casino-collections-providers.cjs +1 -1
- package/es2015/casino-collections-providers.js +1 -1
- package/esnext/casino-collections-providers.js +1 -1
- package/package.json +3 -2
package/components/{CasinoCollectionsProviders-BUDh7ocn.js → CasinoCollectionsProviders-BINLj-5P.js}
RENAMED
@@ -1,15 +1,15 @@
|
|
1
|
-
var
|
2
|
-
var
|
1
|
+
var jr = Object.defineProperty, kr = Object.defineProperties;
|
2
|
+
var Vr = Object.getOwnPropertyDescriptors;
|
3
3
|
var mt = Object.getOwnPropertySymbols;
|
4
|
-
var
|
5
|
-
var Le = (e, t, r) => t in e ?
|
4
|
+
var Xr = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Le = (e, t, r) => t in e ? jr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
7
|
+
Xr.call(t, r) && Le(e, r, t[r]);
|
8
8
|
if (mt)
|
9
9
|
for (var r of mt(t))
|
10
|
-
|
10
|
+
Wr.call(t, r) && Le(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
}, gt = (e, t) =>
|
12
|
+
}, gt = (e, t) => kr(e, Vr(t));
|
13
13
|
var I = (e, t, r) => (Le(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
14
|
var vt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (h) => {
|
@@ -48,7 +48,7 @@ let fe;
|
|
48
48
|
function ye(e, t) {
|
49
49
|
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
50
50
|
}
|
51
|
-
function
|
51
|
+
function zr(e) {
|
52
52
|
return Object.keys(e).length === 0;
|
53
53
|
}
|
54
54
|
function Jt(e, ...t) {
|
@@ -60,20 +60,20 @@ function Jt(e, ...t) {
|
|
60
60
|
const r = e.subscribe(...t);
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
62
62
|
}
|
63
|
-
function
|
63
|
+
function Zr(e, t, r) {
|
64
64
|
e.$$.on_destroy.push(Jt(t, r));
|
65
65
|
}
|
66
66
|
function C(e, t) {
|
67
67
|
e.appendChild(t);
|
68
68
|
}
|
69
|
-
function
|
70
|
-
const n =
|
69
|
+
function Qr(e, t, r) {
|
70
|
+
const n = qr(e);
|
71
71
|
if (!n.getElementById(t)) {
|
72
72
|
const i = P("style");
|
73
|
-
i.id = t, i.textContent = r,
|
73
|
+
i.id = t, i.textContent = r, Jr(n, i);
|
74
74
|
}
|
75
75
|
}
|
76
|
-
function
|
76
|
+
function qr(e) {
|
77
77
|
if (!e)
|
78
78
|
return document;
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -83,14 +83,14 @@ function Qr(e) {
|
|
83
83
|
t
|
84
84
|
) : e.ownerDocument;
|
85
85
|
}
|
86
|
-
function
|
86
|
+
function Jr(e, t) {
|
87
87
|
return C(
|
88
88
|
/** @type {Document} */
|
89
89
|
e.head || e,
|
90
90
|
t
|
91
91
|
), t.sheet;
|
92
92
|
}
|
93
|
-
function
|
93
|
+
function U(e, t, r) {
|
94
94
|
e.insertBefore(t, r || null);
|
95
95
|
}
|
96
96
|
function M(e) {
|
@@ -112,7 +112,7 @@ function V() {
|
|
112
112
|
function _e(e, t, r, n) {
|
113
113
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
114
114
|
}
|
115
|
-
function
|
115
|
+
function Yr(e) {
|
116
116
|
return function(t) {
|
117
117
|
return t.stopPropagation(), e.call(this, t);
|
118
118
|
};
|
@@ -120,7 +120,7 @@ function Jr(e) {
|
|
120
120
|
function E(e, t, r) {
|
121
121
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
122
122
|
}
|
123
|
-
function
|
123
|
+
function Kr(e) {
|
124
124
|
return Array.from(e.childNodes);
|
125
125
|
}
|
126
126
|
function nt(e, t) {
|
@@ -130,7 +130,7 @@ function nt(e, t) {
|
|
130
130
|
function Ie(e, t, r, n) {
|
131
131
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
132
132
|
}
|
133
|
-
function
|
133
|
+
function en(e) {
|
134
134
|
const t = {};
|
135
135
|
return e.childNodes.forEach(
|
136
136
|
/** @param {Element} node */
|
@@ -143,20 +143,20 @@ let le;
|
|
143
143
|
function ae(e) {
|
144
144
|
le = e;
|
145
145
|
}
|
146
|
-
function
|
146
|
+
function tn() {
|
147
147
|
if (!le)
|
148
148
|
throw new Error("Function called outside component initialization");
|
149
149
|
return le;
|
150
150
|
}
|
151
|
-
function
|
152
|
-
|
151
|
+
function rn(e) {
|
152
|
+
tn().$$.on_mount.push(e);
|
153
153
|
}
|
154
154
|
const Q = [], xe = [];
|
155
155
|
let q = [];
|
156
|
-
const _t = [],
|
156
|
+
const _t = [], nn = /* @__PURE__ */ Promise.resolve();
|
157
157
|
let Fe = !1;
|
158
|
-
function
|
159
|
-
Fe || (Fe = !0,
|
158
|
+
function on() {
|
159
|
+
Fe || (Fe = !0, nn.then(N));
|
160
160
|
}
|
161
161
|
function je(e) {
|
162
162
|
q.push(e);
|
@@ -171,7 +171,7 @@ function N() {
|
|
171
171
|
try {
|
172
172
|
for (; z < Q.length; ) {
|
173
173
|
const t = Q[z];
|
174
|
-
z++, ae(t),
|
174
|
+
z++, ae(t), sn(t.$$);
|
175
175
|
}
|
176
176
|
} catch (t) {
|
177
177
|
throw Q.length = 0, z = 0, t;
|
@@ -188,39 +188,39 @@ function N() {
|
|
188
188
|
_t.pop()();
|
189
189
|
Fe = !1, Ne.clear(), ae(e);
|
190
190
|
}
|
191
|
-
function
|
191
|
+
function sn(e) {
|
192
192
|
if (e.fragment !== null) {
|
193
193
|
e.update(), re(e.before_update);
|
194
194
|
const t = e.dirty;
|
195
195
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(je);
|
196
196
|
}
|
197
197
|
}
|
198
|
-
function
|
198
|
+
function an(e) {
|
199
199
|
const t = [], r = [];
|
200
200
|
q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
|
201
201
|
}
|
202
|
-
const
|
203
|
-
function
|
204
|
-
e && e.i && (
|
202
|
+
const ln = /* @__PURE__ */ new Set();
|
203
|
+
function un(e, t) {
|
204
|
+
e && e.i && (ln.delete(e), e.i(t));
|
205
205
|
}
|
206
206
|
function Ee(e) {
|
207
207
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
208
208
|
}
|
209
|
-
function
|
209
|
+
function hn(e, t, r) {
|
210
210
|
const { fragment: n, after_update: i } = e.$$;
|
211
211
|
n && n.m(t, r), je(() => {
|
212
212
|
const o = e.$$.on_mount.map(Qt).filter(rt);
|
213
213
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
|
214
214
|
}), i.forEach(je);
|
215
215
|
}
|
216
|
-
function
|
216
|
+
function cn(e, t) {
|
217
217
|
const r = e.$$;
|
218
|
-
r.fragment !== null && (
|
218
|
+
r.fragment !== null && (an(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
219
219
|
}
|
220
|
-
function
|
221
|
-
e.$$.dirty[0] === -1 && (Q.push(e),
|
220
|
+
function fn(e, t) {
|
221
|
+
e.$$.dirty[0] === -1 && (Q.push(e), on(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
222
222
|
}
|
223
|
-
function
|
223
|
+
function dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
224
224
|
const h = le;
|
225
225
|
ae(e);
|
226
226
|
const u = e.$$ = {
|
@@ -247,15 +247,15 @@ function fn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
247
247
|
s && s(u.root);
|
248
248
|
let l = !1;
|
249
249
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
250
|
-
const
|
251
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
250
|
+
const m = d.length ? d[0] : c;
|
251
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && fn(e, f)), c;
|
252
252
|
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
253
253
|
if (t.hydrate) {
|
254
|
-
const f =
|
254
|
+
const f = Kr(t.target);
|
255
255
|
u.fragment && u.fragment.l(f), f.forEach(M);
|
256
256
|
} else
|
257
257
|
u.fragment && u.fragment.c();
|
258
|
-
t.intro &&
|
258
|
+
t.intro && un(e.$$.fragment), hn(e, t.target, t.anchor), N();
|
259
259
|
}
|
260
260
|
ae(h);
|
261
261
|
}
|
@@ -311,7 +311,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
311
311
|
* @param {HTMLElement} [anchor]
|
312
312
|
*/
|
313
313
|
m: function(u, l) {
|
314
|
-
|
314
|
+
U(u, s, l);
|
315
315
|
},
|
316
316
|
d: function(u) {
|
317
317
|
u && M(s);
|
@@ -321,7 +321,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
321
321
|
};
|
322
322
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
323
323
|
return;
|
324
|
-
const r = {}, n =
|
324
|
+
const r = {}, n = en(this);
|
325
325
|
for (const o of this.$$s)
|
326
326
|
o in n && (r[o] = [t(o)]);
|
327
327
|
for (const o of this.attributes) {
|
@@ -410,7 +410,7 @@ function me(e, t, r, n) {
|
|
410
410
|
return t;
|
411
411
|
}
|
412
412
|
}
|
413
|
-
function
|
413
|
+
function pn(e, t, r, n, i, o) {
|
414
414
|
let s = class extends Kt {
|
415
415
|
constructor() {
|
416
416
|
super(e, r, i), this.$$p_d = t;
|
@@ -441,7 +441,7 @@ function dn(e, t, r, n, i, o) {
|
|
441
441
|
}), e.element = /** @type {any} */
|
442
442
|
s, s;
|
443
443
|
}
|
444
|
-
class
|
444
|
+
class mn {
|
445
445
|
constructor() {
|
446
446
|
/**
|
447
447
|
* ### PRIVATE API
|
@@ -462,7 +462,7 @@ class pn {
|
|
462
462
|
}
|
463
463
|
/** @returns {void} */
|
464
464
|
$destroy() {
|
465
|
-
|
465
|
+
cn(this, 1), this.$destroy = L;
|
466
466
|
}
|
467
467
|
/**
|
468
468
|
* @template {Extract<keyof Events, string>} K
|
@@ -484,13 +484,13 @@ class pn {
|
|
484
484
|
* @returns {void}
|
485
485
|
*/
|
486
486
|
$set(t) {
|
487
|
-
this.$$set && !
|
487
|
+
this.$$set && !zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
488
488
|
}
|
489
489
|
}
|
490
|
-
const
|
491
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
490
|
+
const bn = "4";
|
491
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(bn);
|
492
492
|
const Z = [];
|
493
|
-
function
|
493
|
+
function gn(e, t) {
|
494
494
|
return {
|
495
495
|
subscribe: He(e, t).subscribe
|
496
496
|
};
|
@@ -526,7 +526,7 @@ function ne(e, t, r) {
|
|
526
526
|
if (!i.every(Boolean))
|
527
527
|
throw new Error("derived() expects stores as input, got a falsy value");
|
528
528
|
const o = t.length < 2;
|
529
|
-
return
|
529
|
+
return gn(r, (s, a) => {
|
530
530
|
let h = !1;
|
531
531
|
const u = [];
|
532
532
|
let l = 0, f = L;
|
@@ -534,11 +534,11 @@ function ne(e, t, r) {
|
|
534
534
|
if (l)
|
535
535
|
return;
|
536
536
|
f();
|
537
|
-
const
|
538
|
-
o ? s(
|
537
|
+
const m = t(n ? u[0] : u, s, a);
|
538
|
+
o ? s(m) : f = rt(m) ? m : L;
|
539
539
|
}, d = i.map(
|
540
|
-
(
|
541
|
-
|
540
|
+
(m, b) => Jt(
|
541
|
+
m,
|
542
542
|
(g) => {
|
543
543
|
u[b] = g, l &= ~(1 << b), h && c();
|
544
544
|
},
|
@@ -552,47 +552,47 @@ function ne(e, t, r) {
|
|
552
552
|
};
|
553
553
|
});
|
554
554
|
}
|
555
|
-
function
|
555
|
+
function vn(e) {
|
556
556
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
557
557
|
}
|
558
|
-
var
|
559
|
-
return
|
558
|
+
var yn = function(t) {
|
559
|
+
return _n(t) && !xn(t);
|
560
560
|
};
|
561
|
-
function
|
561
|
+
function _n(e) {
|
562
562
|
return !!e && typeof e == "object";
|
563
563
|
}
|
564
|
-
function
|
564
|
+
function xn(e) {
|
565
565
|
var t = Object.prototype.toString.call(e);
|
566
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
567
|
-
}
|
568
|
-
var xn = typeof Symbol == "function" && Symbol.for, En = xn ? Symbol.for("react.element") : 60103;
|
569
|
-
function Sn(e) {
|
570
|
-
return e.$$typeof === En;
|
566
|
+
return t === "[object RegExp]" || t === "[object Date]" || wn(e);
|
571
567
|
}
|
568
|
+
var En = typeof Symbol == "function" && Symbol.for, Sn = En ? Symbol.for("react.element") : 60103;
|
572
569
|
function wn(e) {
|
570
|
+
return e.$$typeof === Sn;
|
571
|
+
}
|
572
|
+
function Tn(e) {
|
573
573
|
return Array.isArray(e) ? [] : {};
|
574
574
|
}
|
575
575
|
function ue(e, t) {
|
576
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Y(
|
576
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Y(Tn(e), e, t) : e;
|
577
577
|
}
|
578
|
-
function
|
578
|
+
function Hn(e, t, r) {
|
579
579
|
return e.concat(t).map(function(n) {
|
580
580
|
return ue(n, r);
|
581
581
|
});
|
582
582
|
}
|
583
|
-
function
|
583
|
+
function Cn(e, t) {
|
584
584
|
if (!t.customMerge)
|
585
585
|
return Y;
|
586
586
|
var r = t.customMerge(e);
|
587
587
|
return typeof r == "function" ? r : Y;
|
588
588
|
}
|
589
|
-
function
|
589
|
+
function Pn(e) {
|
590
590
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
591
591
|
return Object.propertyIsEnumerable.call(e, t);
|
592
592
|
}) : [];
|
593
593
|
}
|
594
594
|
function xt(e) {
|
595
|
-
return Object.keys(e).concat(
|
595
|
+
return Object.keys(e).concat(Pn(e));
|
596
596
|
}
|
597
597
|
function er(e, t) {
|
598
598
|
try {
|
@@ -601,21 +601,21 @@ function er(e, t) {
|
|
601
601
|
return !1;
|
602
602
|
}
|
603
603
|
}
|
604
|
-
function
|
604
|
+
function Bn(e, t) {
|
605
605
|
return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
606
606
|
}
|
607
|
-
function
|
607
|
+
function An(e, t, r) {
|
608
608
|
var n = {};
|
609
609
|
return r.isMergeableObject(e) && xt(e).forEach(function(i) {
|
610
610
|
n[i] = ue(e[i], r);
|
611
611
|
}), xt(t).forEach(function(i) {
|
612
|
-
|
612
|
+
Bn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Cn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
|
613
613
|
}), n;
|
614
614
|
}
|
615
615
|
function Y(e, t, r) {
|
616
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
616
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Hn, r.isMergeableObject = r.isMergeableObject || yn, r.cloneUnlessOtherwiseSpecified = ue;
|
617
617
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
618
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
618
|
+
return o ? n ? r.arrayMerge(e, t, r) : An(e, t, r) : ue(t, r);
|
619
619
|
}
|
620
620
|
Y.all = function(t, r) {
|
621
621
|
if (!Array.isArray(t))
|
@@ -624,8 +624,8 @@ Y.all = function(t, r) {
|
|
624
624
|
return Y(n, i, r);
|
625
625
|
}, {});
|
626
626
|
};
|
627
|
-
var
|
628
|
-
const
|
627
|
+
var On = Y, Ln = On;
|
628
|
+
const In = /* @__PURE__ */ vn(Ln);
|
629
629
|
/*! *****************************************************************************
|
630
630
|
Copyright (c) Microsoft Corporation.
|
631
631
|
|
@@ -667,7 +667,7 @@ var _ = function() {
|
|
667
667
|
return t;
|
668
668
|
}, _.apply(this, arguments);
|
669
669
|
};
|
670
|
-
function
|
670
|
+
function Nn(e, t) {
|
671
671
|
var r = {};
|
672
672
|
for (var n in e)
|
673
673
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -715,17 +715,17 @@ function J(e, t, r) {
|
|
715
715
|
return e.concat(o || t);
|
716
716
|
}
|
717
717
|
function Me(e, t) {
|
718
|
-
var r = t && t.cache ? t.cache :
|
718
|
+
var r = t && t.cache ? t.cache : Fn, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : $n;
|
719
719
|
return i(e, {
|
720
720
|
cache: r,
|
721
721
|
serializer: n
|
722
722
|
});
|
723
723
|
}
|
724
|
-
function
|
724
|
+
function Mn(e) {
|
725
725
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
726
726
|
}
|
727
|
-
function
|
728
|
-
var i =
|
727
|
+
function Rn(e, t, r, n) {
|
728
|
+
var i = Mn(n) ? n : r(n), o = t.get(i);
|
729
729
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
730
730
|
}
|
731
731
|
function tr(e, t, r) {
|
@@ -735,16 +735,16 @@ function tr(e, t, r) {
|
|
735
735
|
function rr(e, t, r, n, i) {
|
736
736
|
return r.bind(t, e, n, i);
|
737
737
|
}
|
738
|
-
function
|
739
|
-
var r = e.length === 1 ?
|
738
|
+
function $n(e, t) {
|
739
|
+
var r = e.length === 1 ? Rn : tr;
|
740
740
|
return rr(e, this, r, t.cache.create(), t.serializer);
|
741
741
|
}
|
742
|
-
function
|
742
|
+
function Gn(e, t) {
|
743
743
|
return rr(e, this, tr, t.cache.create(), t.serializer);
|
744
744
|
}
|
745
|
-
var
|
745
|
+
var Un = function() {
|
746
746
|
return JSON.stringify(arguments);
|
747
|
-
},
|
747
|
+
}, Dn = (
|
748
748
|
/** @class */
|
749
749
|
function() {
|
750
750
|
function e() {
|
@@ -756,12 +756,12 @@ var Gn = function() {
|
|
756
756
|
this.cache[t] = r;
|
757
757
|
}, e;
|
758
758
|
}()
|
759
|
-
),
|
759
|
+
), Fn = {
|
760
760
|
create: function() {
|
761
|
-
return new
|
761
|
+
return new Dn();
|
762
762
|
}
|
763
763
|
}, Re = {
|
764
|
-
variadic:
|
764
|
+
variadic: Gn
|
765
765
|
}, v;
|
766
766
|
(function(e) {
|
767
767
|
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";
|
@@ -777,7 +777,7 @@ var K;
|
|
777
777
|
function Et(e) {
|
778
778
|
return e.type === w.literal;
|
779
779
|
}
|
780
|
-
function
|
780
|
+
function jn(e) {
|
781
781
|
return e.type === w.argument;
|
782
782
|
}
|
783
783
|
function nr(e) {
|
@@ -795,7 +795,7 @@ function sr(e) {
|
|
795
795
|
function ar(e) {
|
796
796
|
return e.type === w.plural;
|
797
797
|
}
|
798
|
-
function
|
798
|
+
function kn(e) {
|
799
799
|
return e.type === w.pound;
|
800
800
|
}
|
801
801
|
function lr(e) {
|
@@ -807,10 +807,10 @@ function ur(e) {
|
|
807
807
|
function We(e) {
|
808
808
|
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
809
809
|
}
|
810
|
-
var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
811
|
-
function
|
810
|
+
var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Vn = /(?:[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;
|
811
|
+
function Xn(e) {
|
812
812
|
var t = {};
|
813
|
-
return e.replace(
|
813
|
+
return e.replace(Vn, function(r) {
|
814
814
|
var n = r.length;
|
815
815
|
switch (r[0]) {
|
816
816
|
case "G":
|
@@ -899,11 +899,11 @@ function Vn(e) {
|
|
899
899
|
return "";
|
900
900
|
}), t;
|
901
901
|
}
|
902
|
-
var
|
903
|
-
function
|
902
|
+
var Wn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
903
|
+
function zn(e) {
|
904
904
|
if (e.length === 0)
|
905
905
|
throw new Error("Number skeleton cannot be empty");
|
906
|
-
for (var t = e.split(
|
906
|
+
for (var t = e.split(Wn).filter(function(c) {
|
907
907
|
return c.length > 0;
|
908
908
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
909
909
|
var o = i[n], s = o.split("/");
|
@@ -918,10 +918,10 @@ function Wn(e) {
|
|
918
918
|
}
|
919
919
|
return r;
|
920
920
|
}
|
921
|
-
function
|
921
|
+
function Zn(e) {
|
922
922
|
return e.replace(/^(.*?)-/, "");
|
923
923
|
}
|
924
|
-
var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g,
|
924
|
+
var St = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Qn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
|
925
925
|
function wt(e) {
|
926
926
|
var t = {};
|
927
927
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
|
@@ -968,7 +968,7 @@ function dr(e) {
|
|
968
968
|
};
|
969
969
|
}
|
970
970
|
}
|
971
|
-
function
|
971
|
+
function qn(e) {
|
972
972
|
var t;
|
973
973
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
974
974
|
notation: "engineering"
|
@@ -986,7 +986,7 @@ function Tt(e) {
|
|
986
986
|
var t = {}, r = dr(e);
|
987
987
|
return r || t;
|
988
988
|
}
|
989
|
-
function
|
989
|
+
function Jn(e) {
|
990
990
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
991
991
|
var i = n[r];
|
992
992
|
switch (i.stem) {
|
@@ -1010,7 +1010,7 @@ function qn(e) {
|
|
1010
1010
|
continue;
|
1011
1011
|
case "measure-unit":
|
1012
1012
|
case "unit":
|
1013
|
-
t.style = "unit", t.unit =
|
1013
|
+
t.style = "unit", t.unit = Zn(i.options[0]);
|
1014
1014
|
continue;
|
1015
1015
|
case "compact-short":
|
1016
1016
|
case "K":
|
@@ -1072,7 +1072,7 @@ function qn(e) {
|
|
1072
1072
|
case "integer-width":
|
1073
1073
|
if (i.options.length > 1)
|
1074
1074
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1075
|
-
i.options[0].replace(
|
1075
|
+
i.options[0].replace(Qn, function(h, u, l, f, c, d) {
|
1076
1076
|
if (u)
|
1077
1077
|
t.minimumIntegerDigits = l.length;
|
1078
1078
|
else {
|
@@ -1105,7 +1105,7 @@ function qn(e) {
|
|
1105
1105
|
}
|
1106
1106
|
var s = dr(i.stem);
|
1107
1107
|
s && (t = _(_({}, t), s));
|
1108
|
-
var a =
|
1108
|
+
var a = qn(i.stem);
|
1109
1109
|
a && (t = _(_({}, t), a));
|
1110
1110
|
}
|
1111
1111
|
return t;
|
@@ -2525,13 +2525,13 @@ var de = {
|
|
2525
2525
|
"h"
|
2526
2526
|
]
|
2527
2527
|
};
|
2528
|
-
function
|
2528
|
+
function Yn(e, t) {
|
2529
2529
|
for (var r = "", n = 0; n < e.length; n++) {
|
2530
2530
|
var i = e.charAt(n);
|
2531
2531
|
if (i === "j") {
|
2532
2532
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2533
2533
|
o++, n++;
|
2534
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
2534
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Kn(t);
|
2535
2535
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
2536
2536
|
r += h;
|
2537
2537
|
for (; s-- > 0; )
|
@@ -2541,7 +2541,7 @@ function Jn(e, t) {
|
|
2541
2541
|
}
|
2542
2542
|
return r;
|
2543
2543
|
}
|
2544
|
-
function
|
2544
|
+
function Kn(e) {
|
2545
2545
|
var t = e.hourCycle;
|
2546
2546
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2547
2547
|
e.hourCycles && // @ts-ignore
|
@@ -2563,20 +2563,20 @@ function Yn(e) {
|
|
2563
2563
|
var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
|
2564
2564
|
return i[0];
|
2565
2565
|
}
|
2566
|
-
var $e,
|
2566
|
+
var $e, ei = new RegExp("^".concat(hr.source, "*")), ti = new RegExp("".concat(hr.source, "*$"));
|
2567
2567
|
function y(e, t) {
|
2568
2568
|
return { start: e, end: t };
|
2569
2569
|
}
|
2570
|
-
var
|
2570
|
+
var ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), ni = !!String.fromCodePoint, ii = !!Object.fromEntries, oi = !!String.prototype.codePointAt, si = !!String.prototype.trimStart, ai = !!String.prototype.trimEnd, li = !!Number.isSafeInteger, ui = li ? Number.isSafeInteger : function(e) {
|
2571
2571
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2572
2572
|
}, ze = !0;
|
2573
2573
|
try {
|
2574
|
-
var
|
2575
|
-
ze = (($e =
|
2574
|
+
var hi = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2575
|
+
ze = (($e = hi.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
|
2576
2576
|
} catch (e) {
|
2577
2577
|
ze = !1;
|
2578
2578
|
}
|
2579
|
-
var Ht =
|
2579
|
+
var Ht = ri ? (
|
2580
2580
|
// Native
|
2581
2581
|
function(t, r, n) {
|
2582
2582
|
return t.startsWith(r, n);
|
@@ -2586,7 +2586,7 @@ var Ht = ti ? (
|
|
2586
2586
|
function(t, r, n) {
|
2587
2587
|
return t.slice(n, n + r.length) === r;
|
2588
2588
|
}
|
2589
|
-
), Ze =
|
2589
|
+
), Ze = ni ? String.fromCodePoint : (
|
2590
2590
|
// IE11
|
2591
2591
|
function() {
|
2592
2592
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2600,7 +2600,7 @@ var Ht = ti ? (
|
|
2600
2600
|
}
|
2601
2601
|
), Ct = (
|
2602
2602
|
// native
|
2603
|
-
|
2603
|
+
ii ? Object.fromEntries : (
|
2604
2604
|
// Ponyfill
|
2605
2605
|
function(t) {
|
2606
2606
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2610,7 +2610,7 @@ var Ht = ti ? (
|
|
2610
2610
|
return r;
|
2611
2611
|
}
|
2612
2612
|
)
|
2613
|
-
), pr =
|
2613
|
+
), pr = oi ? (
|
2614
2614
|
// Native
|
2615
2615
|
function(t, r) {
|
2616
2616
|
return t.codePointAt(r);
|
@@ -2624,7 +2624,7 @@ var Ht = ti ? (
|
|
2624
2624
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2625
2625
|
}
|
2626
2626
|
}
|
2627
|
-
),
|
2627
|
+
), ci = si ? (
|
2628
2628
|
// Native
|
2629
2629
|
function(t) {
|
2630
2630
|
return t.trimStart();
|
@@ -2632,9 +2632,9 @@ var Ht = ti ? (
|
|
2632
2632
|
) : (
|
2633
2633
|
// Ponyfill
|
2634
2634
|
function(t) {
|
2635
|
-
return t.replace(
|
2635
|
+
return t.replace(ei, "");
|
2636
2636
|
}
|
2637
|
-
),
|
2637
|
+
), fi = ai ? (
|
2638
2638
|
// Native
|
2639
2639
|
function(t) {
|
2640
2640
|
return t.trimEnd();
|
@@ -2642,7 +2642,7 @@ var Ht = ti ? (
|
|
2642
2642
|
) : (
|
2643
2643
|
// Ponyfill
|
2644
2644
|
function(t) {
|
2645
|
-
return t.replace(
|
2645
|
+
return t.replace(ti, "");
|
2646
2646
|
}
|
2647
2647
|
);
|
2648
2648
|
function mr(e, t) {
|
@@ -2661,13 +2661,13 @@ if (ze) {
|
|
2661
2661
|
Qe = function(t, r) {
|
2662
2662
|
for (var n = []; ; ) {
|
2663
2663
|
var i = pr(t, r);
|
2664
|
-
if (i === void 0 || br(i) ||
|
2664
|
+
if (i === void 0 || br(i) || bi(i))
|
2665
2665
|
break;
|
2666
2666
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2667
2667
|
}
|
2668
2668
|
return Ze.apply(void 0, n);
|
2669
2669
|
};
|
2670
|
-
var
|
2670
|
+
var di = (
|
2671
2671
|
/** @class */
|
2672
2672
|
function() {
|
2673
2673
|
function e(t, r) {
|
@@ -2749,7 +2749,7 @@ var fi = (
|
|
2749
2749
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
2750
2750
|
}, e.prototype.parseTagName = function() {
|
2751
2751
|
var t = this.offset();
|
2752
|
-
for (this.bump(); !this.isEOF() &&
|
2752
|
+
for (this.bump(); !this.isEOF() && mi(this.char()); )
|
2753
2753
|
this.bump();
|
2754
2754
|
return this.message.slice(t, this.offset());
|
2755
2755
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2778,7 +2778,7 @@ var fi = (
|
|
2778
2778
|
};
|
2779
2779
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2780
2780
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2781
|
-
!
|
2781
|
+
!pi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2782
2782
|
}, e.prototype.tryParseQuote = function(t) {
|
2783
2783
|
if (this.isEOF() || this.char() !== 39)
|
2784
2784
|
return null;
|
@@ -2865,18 +2865,18 @@ var fi = (
|
|
2865
2865
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
2866
2866
|
if (f.err)
|
2867
2867
|
return f;
|
2868
|
-
var c =
|
2868
|
+
var c = fi(f.val);
|
2869
2869
|
if (c.length === 0)
|
2870
2870
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
2871
2871
|
var d = y(l, this.clonePosition());
|
2872
2872
|
u = { style: c, styleLocation: d };
|
2873
2873
|
}
|
2874
|
-
var
|
2875
|
-
if (
|
2876
|
-
return
|
2874
|
+
var m = this.tryParseArgumentClose(i);
|
2875
|
+
if (m.err)
|
2876
|
+
return m;
|
2877
2877
|
var b = y(i, this.clonePosition());
|
2878
2878
|
if (u && Ht(u == null ? void 0 : u.style, "::", 0)) {
|
2879
|
-
var g =
|
2879
|
+
var g = ci(u.style.slice(2));
|
2880
2880
|
if (a === "number") {
|
2881
2881
|
var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
2882
2882
|
return f.err ? f : {
|
@@ -2887,12 +2887,12 @@ var fi = (
|
|
2887
2887
|
if (g.length === 0)
|
2888
2888
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
|
2889
2889
|
var x = g;
|
2890
|
-
this.locale && (x =
|
2890
|
+
this.locale && (x = Yn(g, this.locale));
|
2891
2891
|
var c = {
|
2892
2892
|
type: K.dateTime,
|
2893
2893
|
pattern: x,
|
2894
2894
|
location: u.styleLocation,
|
2895
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2895
|
+
parsedOptions: this.shouldParseSkeletons ? Xn(x) : {}
|
2896
2896
|
}, S = a === "date" ? w.date : w.time;
|
2897
2897
|
return {
|
2898
2898
|
val: { type: S, value: n, location: b, style: c },
|
@@ -2930,9 +2930,9 @@ var fi = (
|
|
2930
2930
|
var k = this.tryParsePluralOrSelectOptions(t, a, r, H);
|
2931
2931
|
if (k.err)
|
2932
2932
|
return k;
|
2933
|
-
var
|
2934
|
-
if (
|
2935
|
-
return
|
2933
|
+
var m = this.tryParseArgumentClose(i);
|
2934
|
+
if (m.err)
|
2935
|
+
return m;
|
2936
2936
|
var W = y(i, this.clonePosition());
|
2937
2937
|
return a === "select" ? {
|
2938
2938
|
val: {
|
@@ -2997,7 +2997,7 @@ var fi = (
|
|
2997
2997
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2998
2998
|
var n = [];
|
2999
2999
|
try {
|
3000
|
-
n =
|
3000
|
+
n = zn(t);
|
3001
3001
|
} catch (i) {
|
3002
3002
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
3003
3003
|
}
|
@@ -3006,7 +3006,7 @@ var fi = (
|
|
3006
3006
|
type: K.number,
|
3007
3007
|
tokens: n,
|
3008
3008
|
location: r,
|
3009
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3009
|
+
parsedOptions: this.shouldParseSkeletons ? Jn(n) : {}
|
3010
3010
|
},
|
3011
3011
|
err: null
|
3012
3012
|
};
|
@@ -3028,16 +3028,16 @@ var fi = (
|
|
3028
3028
|
var d = this.clonePosition();
|
3029
3029
|
if (!this.bumpIf("{"))
|
3030
3030
|
return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
3031
|
-
var
|
3032
|
-
if (
|
3033
|
-
return
|
3031
|
+
var m = this.parseMessage(t + 1, r, n);
|
3032
|
+
if (m.err)
|
3033
|
+
return m;
|
3034
3034
|
var b = this.tryParseArgumentClose(d);
|
3035
3035
|
if (b.err)
|
3036
3036
|
return b;
|
3037
3037
|
a.push([
|
3038
3038
|
u,
|
3039
3039
|
{
|
3040
|
-
value:
|
3040
|
+
value: m.val,
|
3041
3041
|
location: y(d, this.clonePosition())
|
3042
3042
|
}
|
3043
3043
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
@@ -3054,7 +3054,7 @@ var fi = (
|
|
3054
3054
|
break;
|
3055
3055
|
}
|
3056
3056
|
var h = y(i, this.clonePosition());
|
3057
|
-
return o ? (s *= n,
|
3057
|
+
return o ? (s *= n, ui(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
3058
3058
|
}, e.prototype.offset = function() {
|
3059
3059
|
return this.position.offset;
|
3060
3060
|
}, e.prototype.isEOF = function() {
|
@@ -3123,16 +3123,16 @@ var fi = (
|
|
3123
3123
|
function qe(e) {
|
3124
3124
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3125
3125
|
}
|
3126
|
-
function
|
3126
|
+
function pi(e) {
|
3127
3127
|
return qe(e) || e === 47;
|
3128
3128
|
}
|
3129
|
-
function
|
3129
|
+
function mi(e) {
|
3130
3130
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
3131
3131
|
}
|
3132
3132
|
function br(e) {
|
3133
3133
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3134
3134
|
}
|
3135
|
-
function
|
3135
|
+
function bi(e) {
|
3136
3136
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
3137
3137
|
}
|
3138
3138
|
function Je(e) {
|
@@ -3144,9 +3144,9 @@ function Je(e) {
|
|
3144
3144
|
nr(t) && ur(t.style) || (ir(t) || or(t)) && We(t.style) ? delete t.style.location : lr(t) && Je(t.children);
|
3145
3145
|
});
|
3146
3146
|
}
|
3147
|
-
function
|
3147
|
+
function gi(e, t) {
|
3148
3148
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3149
|
-
var r = new
|
3149
|
+
var r = new di(e, t).parse();
|
3150
3150
|
if (r.err) {
|
3151
3151
|
var n = SyntaxError(v[r.err.kind]);
|
3152
3152
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
@@ -3178,7 +3178,7 @@ var Ce = (
|
|
3178
3178
|
}
|
3179
3179
|
return t;
|
3180
3180
|
}(Ce)
|
3181
|
-
),
|
3181
|
+
), vi = (
|
3182
3182
|
/** @class */
|
3183
3183
|
function(e) {
|
3184
3184
|
F(t, e);
|
@@ -3187,7 +3187,7 @@ var Ce = (
|
|
3187
3187
|
}
|
3188
3188
|
return t;
|
3189
3189
|
}(Ce)
|
3190
|
-
),
|
3190
|
+
), yi = (
|
3191
3191
|
/** @class */
|
3192
3192
|
function(e) {
|
3193
3193
|
F(t, e);
|
@@ -3200,13 +3200,13 @@ var Ce = (
|
|
3200
3200
|
(function(e) {
|
3201
3201
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3202
3202
|
})(A || (A = {}));
|
3203
|
-
function
|
3203
|
+
function _i(e) {
|
3204
3204
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3205
3205
|
var n = t[t.length - 1];
|
3206
3206
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
3207
3207
|
}, []);
|
3208
3208
|
}
|
3209
|
-
function
|
3209
|
+
function xi(e) {
|
3210
3210
|
return typeof e == "function";
|
3211
3211
|
}
|
3212
3212
|
function be(e, t, r, n, i, o, s) {
|
@@ -3226,7 +3226,7 @@ function be(e, t, r, n, i, o, s) {
|
|
3226
3226
|
});
|
3227
3227
|
continue;
|
3228
3228
|
}
|
3229
|
-
if (
|
3229
|
+
if (kn(l)) {
|
3230
3230
|
typeof o == "number" && a.push({
|
3231
3231
|
type: A.literal,
|
3232
3232
|
value: r.getNumberFormat(t).format(o)
|
@@ -3235,9 +3235,9 @@ function be(e, t, r, n, i, o, s) {
|
|
3235
3235
|
}
|
3236
3236
|
var f = l.value;
|
3237
3237
|
if (!(i && f in i))
|
3238
|
-
throw new
|
3238
|
+
throw new yi(f, s);
|
3239
3239
|
var c = i[f];
|
3240
|
-
if (
|
3240
|
+
if (jn(l)) {
|
3241
3241
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3242
3242
|
type: typeof c == "string" ? A.literal : A.object,
|
3243
3243
|
value: c
|
@@ -3269,10 +3269,10 @@ function be(e, t, r, n, i, o, s) {
|
|
3269
3269
|
continue;
|
3270
3270
|
}
|
3271
3271
|
if (lr(l)) {
|
3272
|
-
var
|
3273
|
-
if (!
|
3274
|
-
throw new
|
3275
|
-
var x = be(
|
3272
|
+
var m = l.children, b = l.value, g = i[b];
|
3273
|
+
if (!xi(g))
|
3274
|
+
throw new vi(b, "function", s);
|
3275
|
+
var x = be(m, t, r, n, i, o), S = g(x.map(function(O) {
|
3276
3276
|
return O.value;
|
3277
3277
|
}));
|
3278
3278
|
Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(O) {
|
@@ -3305,16 +3305,16 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3305
3305
|
continue;
|
3306
3306
|
}
|
3307
3307
|
}
|
3308
|
-
return
|
3308
|
+
return _i(a);
|
3309
3309
|
}
|
3310
|
-
function
|
3310
|
+
function Ei(e, t) {
|
3311
3311
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3312
3312
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
3313
3313
|
}, {})) : e;
|
3314
3314
|
}
|
3315
|
-
function
|
3315
|
+
function Si(e, t) {
|
3316
3316
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3317
|
-
return r[n] =
|
3317
|
+
return r[n] = Ei(e[n], t[n]), r;
|
3318
3318
|
}, _({}, e)) : e;
|
3319
3319
|
}
|
3320
3320
|
function Ge(e) {
|
@@ -3331,7 +3331,7 @@ function Ge(e) {
|
|
3331
3331
|
}
|
3332
3332
|
};
|
3333
3333
|
}
|
3334
|
-
function
|
3334
|
+
function wi(e) {
|
3335
3335
|
return e === void 0 && (e = {
|
3336
3336
|
number: {},
|
3337
3337
|
dateTime: {},
|
@@ -3363,7 +3363,7 @@ function Si(e) {
|
|
3363
3363
|
})
|
3364
3364
|
};
|
3365
3365
|
}
|
3366
|
-
var
|
3366
|
+
var Ti = (
|
3367
3367
|
/** @class */
|
3368
3368
|
function() {
|
3369
3369
|
function e(t, r, n, i) {
|
@@ -3395,13 +3395,13 @@ var wi = (
|
|
3395
3395
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3396
3396
|
var s = i || {};
|
3397
3397
|
s.formatters;
|
3398
|
-
var a =
|
3398
|
+
var a = Nn(s, ["formatters"]);
|
3399
3399
|
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
3400
3400
|
} else
|
3401
3401
|
this.ast = t;
|
3402
3402
|
if (!Array.isArray(this.ast))
|
3403
3403
|
throw new TypeError("A message must be provided as a String or AST.");
|
3404
|
-
this.formats =
|
3404
|
+
this.formats = Si(e.formats, n), this.formatters = i && i.formatters || wi(this.formatterCache);
|
3405
3405
|
}
|
3406
3406
|
return Object.defineProperty(e, "defaultLocale", {
|
3407
3407
|
get: function() {
|
@@ -3414,7 +3414,7 @@ var wi = (
|
|
3414
3414
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3415
3415
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3416
3416
|
}
|
3417
|
-
}, e.__parse =
|
3417
|
+
}, e.__parse = gi, e.formats = {
|
3418
3418
|
number: {
|
3419
3419
|
integer: {
|
3420
3420
|
maximumFractionDigits: 0
|
@@ -3475,7 +3475,7 @@ var wi = (
|
|
3475
3475
|
}, e;
|
3476
3476
|
}()
|
3477
3477
|
);
|
3478
|
-
function
|
3478
|
+
function Hi(e, t) {
|
3479
3479
|
if (t == null)
|
3480
3480
|
return;
|
3481
3481
|
if (t in e)
|
@@ -3496,33 +3496,33 @@ function Ti(e, t) {
|
|
3496
3496
|
n = void 0;
|
3497
3497
|
return n;
|
3498
3498
|
}
|
3499
|
-
const j = {},
|
3499
|
+
const j = {}, Ci = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), gr = (e, t) => {
|
3500
3500
|
if (t == null)
|
3501
3501
|
return;
|
3502
3502
|
if (t in j && e in j[t])
|
3503
3503
|
return j[t][e];
|
3504
3504
|
const r = Pe(t);
|
3505
3505
|
for (let n = 0; n < r.length; n++) {
|
3506
|
-
const i = r[n], o =
|
3506
|
+
const i = r[n], o = Bi(i, e);
|
3507
3507
|
if (o)
|
3508
|
-
return
|
3508
|
+
return Ci(e, t, o);
|
3509
3509
|
}
|
3510
3510
|
};
|
3511
3511
|
let it;
|
3512
3512
|
const ce = He({});
|
3513
|
-
function
|
3513
|
+
function Pi(e) {
|
3514
3514
|
return it[e] || null;
|
3515
3515
|
}
|
3516
3516
|
function vr(e) {
|
3517
3517
|
return e in it;
|
3518
3518
|
}
|
3519
|
-
function
|
3519
|
+
function Bi(e, t) {
|
3520
3520
|
if (!vr(e))
|
3521
3521
|
return null;
|
3522
|
-
const r =
|
3523
|
-
return
|
3522
|
+
const r = Pi(e);
|
3523
|
+
return Hi(r, t);
|
3524
3524
|
}
|
3525
|
-
function
|
3525
|
+
function Ai(e) {
|
3526
3526
|
if (e == null)
|
3527
3527
|
return;
|
3528
3528
|
const t = Pe(e);
|
@@ -3533,7 +3533,7 @@ function Bi(e) {
|
|
3533
3533
|
}
|
3534
3534
|
}
|
3535
3535
|
function yr(e, ...t) {
|
3536
|
-
delete j[e], ce.update((r) => (r[e] =
|
3536
|
+
delete j[e], ce.update((r) => (r[e] = In.all([r[e] || {}, ...t]), r));
|
3537
3537
|
}
|
3538
3538
|
ne(
|
3539
3539
|
[ce],
|
@@ -3541,13 +3541,13 @@ ne(
|
|
3541
3541
|
);
|
3542
3542
|
ce.subscribe((e) => it = e);
|
3543
3543
|
const ge = {};
|
3544
|
-
function
|
3544
|
+
function Oi(e, t) {
|
3545
3545
|
ge[e].delete(t), ge[e].size === 0 && delete ge[e];
|
3546
3546
|
}
|
3547
3547
|
function _r(e) {
|
3548
3548
|
return ge[e];
|
3549
3549
|
}
|
3550
|
-
function
|
3550
|
+
function Li(e) {
|
3551
3551
|
return Pe(e).map((t) => {
|
3552
3552
|
const r = _r(t);
|
3553
3553
|
return [t, r ? [...r] : []];
|
@@ -3561,19 +3561,19 @@ function Ye(e) {
|
|
3561
3561
|
}
|
3562
3562
|
);
|
3563
3563
|
}
|
3564
|
-
function
|
3564
|
+
function Ii(e, t) {
|
3565
3565
|
return Promise.all(
|
3566
|
-
t.map((n) => (
|
3566
|
+
t.map((n) => (Oi(e, n), n().then((i) => i.default || i)))
|
3567
3567
|
).then((n) => yr(e, ...n));
|
3568
3568
|
}
|
3569
3569
|
const se = {};
|
3570
3570
|
function xr(e) {
|
3571
3571
|
if (!Ye(e))
|
3572
3572
|
return e in se ? se[e] : Promise.resolve();
|
3573
|
-
const t =
|
3573
|
+
const t = Li(e);
|
3574
3574
|
return se[e] = Promise.all(
|
3575
3575
|
t.map(
|
3576
|
-
([r, n]) =>
|
3576
|
+
([r, n]) => Ii(r, n)
|
3577
3577
|
)
|
3578
3578
|
).then(() => {
|
3579
3579
|
if (Ye(e))
|
@@ -3581,7 +3581,7 @@ function xr(e) {
|
|
3581
3581
|
delete se[e];
|
3582
3582
|
}), se[e];
|
3583
3583
|
}
|
3584
|
-
const
|
3584
|
+
const Ni = {
|
3585
3585
|
number: {
|
3586
3586
|
scientific: { notation: "scientific" },
|
3587
3587
|
engineering: { notation: "engineering" },
|
@@ -3610,26 +3610,26 @@ const Ii = {
|
|
3610
3610
|
timeZoneName: "short"
|
3611
3611
|
}
|
3612
3612
|
}
|
3613
|
-
},
|
3613
|
+
}, Mi = {
|
3614
3614
|
fallbackLocale: null,
|
3615
3615
|
loadingDelay: 200,
|
3616
|
-
formats:
|
3616
|
+
formats: Ni,
|
3617
3617
|
warnOnMissingMessages: !0,
|
3618
3618
|
handleMissingMessage: void 0,
|
3619
3619
|
ignoreTag: !0
|
3620
|
-
},
|
3620
|
+
}, Ri = Mi;
|
3621
3621
|
function te() {
|
3622
|
-
return
|
3622
|
+
return Ri;
|
3623
3623
|
}
|
3624
3624
|
const Ue = He(!1);
|
3625
|
-
var
|
3625
|
+
var $i = Object.defineProperty, Gi = Object.defineProperties, Ui = Object.getOwnPropertyDescriptors, At = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Fi = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ji = (e, t) => {
|
3626
3626
|
for (var r in t || (t = {}))
|
3627
|
-
|
3627
|
+
Di.call(t, r) && Ot(e, r, t[r]);
|
3628
3628
|
if (At)
|
3629
3629
|
for (var r of At(t))
|
3630
|
-
|
3630
|
+
Fi.call(t, r) && Ot(e, r, t[r]);
|
3631
3631
|
return e;
|
3632
|
-
},
|
3632
|
+
}, ki = (e, t) => Gi(e, Ui(t));
|
3633
3633
|
let Ke;
|
3634
3634
|
const Se = He(null);
|
3635
3635
|
function Lt(e) {
|
@@ -3645,8 +3645,8 @@ function X() {
|
|
3645
3645
|
Se.subscribe((e) => {
|
3646
3646
|
Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3647
3647
|
});
|
3648
|
-
const
|
3649
|
-
if (e &&
|
3648
|
+
const Vi = (e) => {
|
3649
|
+
if (e && Ai(e) && Ye(e)) {
|
3650
3650
|
const { loadingDelay: t } = te();
|
3651
3651
|
let r;
|
3652
3652
|
return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
|
@@ -3659,8 +3659,8 @@ const ki = (e) => {
|
|
3659
3659
|
});
|
3660
3660
|
}
|
3661
3661
|
return Se.set(e);
|
3662
|
-
}, ie = ji(
|
3663
|
-
set:
|
3662
|
+
}, ie = ki(ji({}, Se), {
|
3663
|
+
set: Vi
|
3664
3664
|
}), Be = (e) => {
|
3665
3665
|
const t = /* @__PURE__ */ Object.create(null);
|
3666
3666
|
return (n) => {
|
@@ -3668,7 +3668,7 @@ const ki = (e) => {
|
|
3668
3668
|
return i in t ? t[i] : t[i] = e(n);
|
3669
3669
|
};
|
3670
3670
|
};
|
3671
|
-
var
|
3671
|
+
var Xi = Object.defineProperty, we = Object.getOwnPropertySymbols, Er = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, It = (e, t, r) => t in e ? Xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
|
3672
3672
|
for (var r in t || (t = {}))
|
3673
3673
|
Er.call(t, r) && It(e, r, t[r]);
|
3674
3674
|
if (we)
|
@@ -3689,21 +3689,21 @@ const he = (e, t) => {
|
|
3689
3689
|
if (e in r && t in r[e])
|
3690
3690
|
return r[e][t];
|
3691
3691
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3692
|
-
},
|
3692
|
+
}, Wi = Be(
|
3693
3693
|
(e) => {
|
3694
3694
|
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
3695
3695
|
if (r == null)
|
3696
3696
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3697
3697
|
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
3698
3698
|
}
|
3699
|
-
),
|
3699
|
+
), zi = Be(
|
3700
3700
|
(e) => {
|
3701
3701
|
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
3702
3702
|
if (r == null)
|
3703
3703
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3704
3704
|
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
3705
3705
|
}
|
3706
|
-
),
|
3706
|
+
), Zi = Be(
|
3707
3707
|
(e) => {
|
3708
3708
|
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
3709
3709
|
if (r == null)
|
@@ -3712,33 +3712,33 @@ const he = (e, t) => {
|
|
3712
3712
|
);
|
3713
3713
|
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
3714
3714
|
}
|
3715
|
-
),
|
3715
|
+
), Qi = (e = {}) => {
|
3716
3716
|
var t = e, {
|
3717
3717
|
locale: r = X()
|
3718
3718
|
} = t, n = oe(t, [
|
3719
3719
|
"locale"
|
3720
3720
|
]);
|
3721
|
-
return
|
3722
|
-
},
|
3721
|
+
return Wi(ot({ locale: r }, n));
|
3722
|
+
}, qi = (e = {}) => {
|
3723
3723
|
var t = e, {
|
3724
3724
|
locale: r = X()
|
3725
3725
|
} = t, n = oe(t, [
|
3726
3726
|
"locale"
|
3727
3727
|
]);
|
3728
|
-
return
|
3729
|
-
},
|
3728
|
+
return zi(ot({ locale: r }, n));
|
3729
|
+
}, Ji = (e = {}) => {
|
3730
3730
|
var t = e, {
|
3731
3731
|
locale: r = X()
|
3732
3732
|
} = t, n = oe(t, [
|
3733
3733
|
"locale"
|
3734
3734
|
]);
|
3735
|
-
return
|
3736
|
-
},
|
3735
|
+
return Zi(ot({ locale: r }, n));
|
3736
|
+
}, Yi = Be(
|
3737
3737
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3738
|
-
(e, t = X()) => new
|
3738
|
+
(e, t = X()) => new Ti(e, t, te().formats, {
|
3739
3739
|
ignoreTag: te().ignoreTag
|
3740
3740
|
})
|
3741
|
-
),
|
3741
|
+
), Ki = (e, t = {}) => {
|
3742
3742
|
var r, n, i, o;
|
3743
3743
|
let s = t;
|
3744
3744
|
typeof e == "object" && (s = e, e = s.id);
|
@@ -3762,7 +3762,7 @@ const he = (e, t) => {
|
|
3762
3762
|
return l;
|
3763
3763
|
let f = l;
|
3764
3764
|
try {
|
3765
|
-
f =
|
3765
|
+
f = Yi(l, h).format(a);
|
3766
3766
|
} catch (c) {
|
3767
3767
|
c instanceof Error && console.warn(
|
3768
3768
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3770,15 +3770,15 @@ const he = (e, t) => {
|
|
3770
3770
|
);
|
3771
3771
|
}
|
3772
3772
|
return f;
|
3773
|
-
},
|
3774
|
-
ne([ie], () => Ki);
|
3773
|
+
}, eo = (e, t) => Ji(t).format(e), to = (e, t) => qi(t).format(e), ro = (e, t) => Qi(t).format(e), no = (e, t = X()) => gr(e, t), io = ne([ie, ce], () => Ki);
|
3775
3774
|
ne([ie], () => eo);
|
3776
3775
|
ne([ie], () => to);
|
3777
|
-
ne([ie
|
3776
|
+
ne([ie], () => ro);
|
3777
|
+
ne([ie, ce], () => no);
|
3778
3778
|
function Nt(e, t) {
|
3779
3779
|
yr(e, t);
|
3780
3780
|
}
|
3781
|
-
function
|
3781
|
+
function oo(e) {
|
3782
3782
|
ie.set(e);
|
3783
3783
|
}
|
3784
3784
|
const Mt = {
|
@@ -3942,9 +3942,9 @@ var Ae = function() {
|
|
3942
3942
|
this._finalizers = null;
|
3943
3943
|
try {
|
3944
3944
|
for (var c = Ve(f), d = c.next(); !d.done; d = c.next()) {
|
3945
|
-
var
|
3945
|
+
var m = d.value;
|
3946
3946
|
try {
|
3947
|
-
Rt(
|
3947
|
+
Rt(m);
|
3948
3948
|
} catch (b) {
|
3949
3949
|
o = o != null ? o : [], b instanceof De ? o = J(J([], Xe(o)), Xe(b.errors)) : o.push(b);
|
3950
3950
|
}
|
@@ -3999,9 +3999,9 @@ function Hr(e) {
|
|
3999
3999
|
function Rt(e) {
|
4000
4000
|
D(e) ? e() : e.unsubscribe();
|
4001
4001
|
}
|
4002
|
-
var
|
4002
|
+
var so = {
|
4003
4003
|
Promise: void 0
|
4004
|
-
},
|
4004
|
+
}, ao = {
|
4005
4005
|
setTimeout: function(e, t) {
|
4006
4006
|
for (var r = [], n = 2; n < arguments.length; n++)
|
4007
4007
|
r[n - 2] = arguments[n];
|
@@ -4012,8 +4012,8 @@ var oo = {
|
|
4012
4012
|
},
|
4013
4013
|
delegate: void 0
|
4014
4014
|
};
|
4015
|
-
function
|
4016
|
-
|
4015
|
+
function lo(e) {
|
4016
|
+
ao.setTimeout(function() {
|
4017
4017
|
throw e;
|
4018
4018
|
});
|
4019
4019
|
}
|
@@ -4026,7 +4026,7 @@ var Cr = function(e) {
|
|
4026
4026
|
F(t, e);
|
4027
4027
|
function t(r) {
|
4028
4028
|
var n = e.call(this) || this;
|
4029
|
-
return n.isStopped = !1, r ? (n.destination = r, Hr(r) && r.add(n)) : n.destination =
|
4029
|
+
return n.isStopped = !1, r ? (n.destination = r, Hr(r) && r.add(n)) : n.destination = co, n;
|
4030
4030
|
}
|
4031
4031
|
return t.create = function(r, n, i) {
|
4032
4032
|
return new tt(r, n, i);
|
@@ -4053,7 +4053,7 @@ var Cr = function(e) {
|
|
4053
4053
|
this.unsubscribe();
|
4054
4054
|
}
|
4055
4055
|
}, t;
|
4056
|
-
}(Ae),
|
4056
|
+
}(Ae), uo = function() {
|
4057
4057
|
function e(t) {
|
4058
4058
|
this.partialObserver = t;
|
4059
4059
|
}
|
@@ -4092,29 +4092,29 @@ var Cr = function(e) {
|
|
4092
4092
|
next: r != null ? r : void 0,
|
4093
4093
|
error: n != null ? n : void 0,
|
4094
4094
|
complete: i != null ? i : void 0
|
4095
|
-
} : s = r, o.destination = new
|
4095
|
+
} : s = r, o.destination = new uo(s), o;
|
4096
4096
|
}
|
4097
4097
|
return t;
|
4098
4098
|
}(Cr);
|
4099
4099
|
function pe(e) {
|
4100
|
-
|
4100
|
+
lo(e);
|
4101
4101
|
}
|
4102
|
-
function
|
4102
|
+
function ho(e) {
|
4103
4103
|
throw e;
|
4104
4104
|
}
|
4105
|
-
var
|
4105
|
+
var co = {
|
4106
4106
|
closed: !0,
|
4107
4107
|
next: $t,
|
4108
|
-
error:
|
4108
|
+
error: ho,
|
4109
4109
|
complete: $t
|
4110
|
-
},
|
4110
|
+
}, fo = function() {
|
4111
4111
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4112
4112
|
}();
|
4113
|
-
function
|
4113
|
+
function po(e) {
|
4114
4114
|
return e;
|
4115
4115
|
}
|
4116
|
-
function
|
4117
|
-
return e.length === 0 ?
|
4116
|
+
function mo(e) {
|
4117
|
+
return e.length === 0 ? po : e.length === 1 ? e[0] : function(r) {
|
4118
4118
|
return e.reduce(function(n, i) {
|
4119
4119
|
return i(n);
|
4120
4120
|
}, r);
|
@@ -4128,7 +4128,7 @@ var Gt = function() {
|
|
4128
4128
|
var r = new e();
|
4129
4129
|
return r.source = this, r.operator = t, r;
|
4130
4130
|
}, e.prototype.subscribe = function(t, r, n) {
|
4131
|
-
var i = this, o =
|
4131
|
+
var i = this, o = go(t) ? t : new tt(t, r, n);
|
4132
4132
|
return ve(function() {
|
4133
4133
|
var s = i, a = s.operator, h = s.source;
|
4134
4134
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
@@ -4158,12 +4158,12 @@ var Gt = function() {
|
|
4158
4158
|
}, e.prototype._subscribe = function(t) {
|
4159
4159
|
var r;
|
4160
4160
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4161
|
-
}, e.prototype[
|
4161
|
+
}, e.prototype[fo] = function() {
|
4162
4162
|
return this;
|
4163
4163
|
}, e.prototype.pipe = function() {
|
4164
4164
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4165
4165
|
t[r] = arguments[r];
|
4166
|
-
return
|
4166
|
+
return mo(t)(this);
|
4167
4167
|
}, e.prototype.toPromise = function(t) {
|
4168
4168
|
var r = this;
|
4169
4169
|
return t = Ut(t), new t(function(n, i) {
|
@@ -4182,15 +4182,15 @@ var Gt = function() {
|
|
4182
4182
|
}();
|
4183
4183
|
function Ut(e) {
|
4184
4184
|
var t;
|
4185
|
-
return (t = e != null ? e :
|
4185
|
+
return (t = e != null ? e : so.Promise) !== null && t !== void 0 ? t : Promise;
|
4186
4186
|
}
|
4187
|
-
function
|
4187
|
+
function bo(e) {
|
4188
4188
|
return e && D(e.next) && D(e.error) && D(e.complete);
|
4189
4189
|
}
|
4190
|
-
function
|
4191
|
-
return e && e instanceof Cr ||
|
4190
|
+
function go(e) {
|
4191
|
+
return e && e instanceof Cr || bo(e) && Hr(e);
|
4192
4192
|
}
|
4193
|
-
var
|
4193
|
+
var vo = wr(function(e) {
|
4194
4194
|
return function() {
|
4195
4195
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4196
4196
|
};
|
@@ -4205,7 +4205,7 @@ var go = wr(function(e) {
|
|
4205
4205
|
return n.operator = r, n;
|
4206
4206
|
}, t.prototype._throwIfClosed = function() {
|
4207
4207
|
if (this.closed)
|
4208
|
-
throw new
|
4208
|
+
throw new vo();
|
4209
4209
|
}, t.prototype.next = function(r) {
|
4210
4210
|
var n = this;
|
4211
4211
|
ve(function() {
|
@@ -4298,7 +4298,7 @@ var go = wr(function(e) {
|
|
4298
4298
|
return (Br.delegate || Date).now();
|
4299
4299
|
},
|
4300
4300
|
delegate: void 0
|
4301
|
-
},
|
4301
|
+
}, yo = function(e) {
|
4302
4302
|
F(t, e);
|
4303
4303
|
function t(r, n, i) {
|
4304
4304
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Br);
|
@@ -4322,22 +4322,22 @@ var go = wr(function(e) {
|
|
4322
4322
|
}
|
4323
4323
|
}, t;
|
4324
4324
|
}(Pr);
|
4325
|
-
const Ft = [], jt = {},
|
4325
|
+
const Ft = [], jt = {}, _o = (e, t = 0) => {
|
4326
4326
|
if (Ft.indexOf(e) == -1) {
|
4327
|
-
const r = new
|
4327
|
+
const r = new yo(t);
|
4328
4328
|
jt[e] = r, Ft.push(e);
|
4329
4329
|
}
|
4330
4330
|
return jt[e];
|
4331
4331
|
};
|
4332
|
-
window.emWidgets = { topic:
|
4333
|
-
const
|
4334
|
-
function
|
4332
|
+
window.emWidgets = { topic: _o };
|
4333
|
+
const xo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
4334
|
+
function Eo(e, t) {
|
4335
4335
|
if (e) {
|
4336
4336
|
const r = document.createElement("style");
|
4337
4337
|
r.innerHTML = t, e.appendChild(r);
|
4338
4338
|
}
|
4339
4339
|
}
|
4340
|
-
function
|
4340
|
+
function So(e, t) {
|
4341
4341
|
const r = new URL(t);
|
4342
4342
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4343
4343
|
const i = document.createElement("style");
|
@@ -4346,7 +4346,7 @@ function Eo(e, t) {
|
|
4346
4346
|
console.error("There was an error while trying to load client styling from URL", n);
|
4347
4347
|
});
|
4348
4348
|
}
|
4349
|
-
function
|
4349
|
+
function wo(e, t, r) {
|
4350
4350
|
if (window.emMessageBus) {
|
4351
4351
|
const n = document.createElement("style");
|
4352
4352
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4354,18 +4354,18 @@ function So(e, t, r) {
|
|
4354
4354
|
});
|
4355
4355
|
}
|
4356
4356
|
}
|
4357
|
-
function
|
4358
|
-
|
4357
|
+
function To(e) {
|
4358
|
+
Qr(e, "svelte-3oqkg3", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoCollectionsProviders{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden;cursor:pointer}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{transform:translate(-50%, -50%);max-width:175px;top:30%;max-height:100%;position:absolute}.CategoriesSlider .CategorySlideTitle{color:var(--emw--casino-typography, var(--emw--color-constrast, #FFFFFF));font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;width:40px;justify-content:center;gap:10%;min-height:85px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:auto;height:55px;object-fit:cover}.CategoriesSlider .CategorySlideGames{color:white;text-align:center}.CategoriesSlider .CategorySlideGames p{font-size:8px;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.Mobile.Providers{padding:25px 10px}.Mobile.Collections{padding:25px 10px}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:80vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}.Mobile .CategorySlideGameImage{border-radius:10px;width:auto;height:40px;object-fit:cover}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
4359
4359
|
}
|
4360
4360
|
function kt(e, t, r) {
|
4361
4361
|
const n = e.slice();
|
4362
|
-
return n[
|
4362
|
+
return n[41] = t[r], n;
|
4363
4363
|
}
|
4364
4364
|
function Vt(e, t, r) {
|
4365
4365
|
const n = e.slice();
|
4366
|
-
return n[
|
4366
|
+
return n[44] = t[r], n;
|
4367
4367
|
}
|
4368
|
-
function
|
4368
|
+
function Ho(e) {
|
4369
4369
|
let t, r, n, i = (
|
4370
4370
|
/*type*/
|
4371
4371
|
(e[0] === "vendor" ? (
|
@@ -4394,14 +4394,14 @@ function To(e) {
|
|
4394
4394
|
(e[9] ? "Mobile" : "") + " " + /*type*/
|
4395
4395
|
(e[0] === "vendor" ? "Providers" : "Collections"));
|
4396
4396
|
},
|
4397
|
-
m(d,
|
4398
|
-
|
4397
|
+
m(d, m) {
|
4398
|
+
U(d, t, m), C(t, r), C(r, n), C(n, o), C(r, s), l && l.m(r, null), C(t, a), C(t, h);
|
4399
4399
|
for (let b = 0; b < c.length; b += 1)
|
4400
4400
|
c[b] && c[b].m(h, null);
|
4401
4401
|
e[25](h);
|
4402
4402
|
},
|
4403
|
-
p(d,
|
4404
|
-
if (
|
4403
|
+
p(d, m) {
|
4404
|
+
if (m[0] & /*type, $_*/
|
4405
4405
|
1025 && i !== (i = /*type*/
|
4406
4406
|
(d[0] === "vendor" ? (
|
4407
4407
|
/*$_*/
|
@@ -4411,7 +4411,7 @@ function To(e) {
|
|
4411
4411
|
d[10]("collections")
|
4412
4412
|
)) + "") && nt(o, i), /*numberOfSlides*/
|
4413
4413
|
d[7] > /*numberOfVisibleSlides*/
|
4414
|
-
d[8] ? l ? l.p(d,
|
4414
|
+
d[8] ? l ? l.p(d, m) : (l = Xt(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
4415
4415
|
24590) {
|
4416
4416
|
f = Ee(
|
4417
4417
|
/*gameCategories*/
|
@@ -4420,13 +4420,13 @@ function To(e) {
|
|
4420
4420
|
let b;
|
4421
4421
|
for (b = 0; b < f.length; b += 1) {
|
4422
4422
|
const g = kt(d, f, b);
|
4423
|
-
c[b] ? c[b].p(g,
|
4423
|
+
c[b] ? c[b].p(g, m) : (c[b] = Zt(g), c[b].c(), c[b].m(h, null));
|
4424
4424
|
}
|
4425
4425
|
for (; b < c.length; b += 1)
|
4426
4426
|
c[b].d(1);
|
4427
4427
|
c.length = f.length;
|
4428
4428
|
}
|
4429
|
-
|
4429
|
+
m[0] & /*mobile, type*/
|
4430
4430
|
513 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
|
4431
4431
|
(d[9] ? "Mobile" : "") + " " + /*type*/
|
4432
4432
|
(d[0] === "vendor" ? "Providers" : "Collections")) && E(t, "class", u);
|
@@ -4436,14 +4436,14 @@ function To(e) {
|
|
4436
4436
|
}
|
4437
4437
|
};
|
4438
4438
|
}
|
4439
|
-
function
|
4439
|
+
function Co(e) {
|
4440
4440
|
let t;
|
4441
4441
|
return {
|
4442
4442
|
c() {
|
4443
4443
|
t = P("div"), E(t, "class", "LoadingSpinner");
|
4444
4444
|
},
|
4445
4445
|
m(r, n) {
|
4446
|
-
|
4446
|
+
U(r, t, n);
|
4447
4447
|
},
|
4448
4448
|
p: L,
|
4449
4449
|
d(r) {
|
@@ -4458,7 +4458,7 @@ function Xt(e) {
|
|
4458
4458
|
t = P("div"), r = P("button"), r.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>', n = V(), i = P("button"), i.innerHTML = '<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>', E(t, "class", "ButtonsContainer");
|
4459
4459
|
},
|
4460
4460
|
m(a, h) {
|
4461
|
-
|
4461
|
+
U(a, t, h), C(t, r), C(t, n), C(t, i), o || (s = [
|
4462
4462
|
_e(
|
4463
4463
|
r,
|
4464
4464
|
"click",
|
@@ -4479,45 +4479,45 @@ function Xt(e) {
|
|
4479
4479
|
}
|
4480
4480
|
};
|
4481
4481
|
}
|
4482
|
-
function
|
4482
|
+
function Po(e) {
|
4483
4483
|
let t, r = (
|
4484
4484
|
/*category*/
|
4485
|
-
e[
|
4485
|
+
e[41].name + ""
|
4486
4486
|
), n;
|
4487
4487
|
return {
|
4488
4488
|
c() {
|
4489
4489
|
t = P("p"), n = Te(r), E(t, "class", "CategorySlideTitle");
|
4490
4490
|
},
|
4491
4491
|
m(i, o) {
|
4492
|
-
|
4492
|
+
U(i, t, o), C(t, n);
|
4493
4493
|
},
|
4494
4494
|
p(i, o) {
|
4495
4495
|
o[0] & /*gameCategories*/
|
4496
4496
|
8 && r !== (r = /*category*/
|
4497
|
-
i[
|
4497
|
+
i[41].name + "") && nt(n, r);
|
4498
4498
|
},
|
4499
4499
|
d(i) {
|
4500
4500
|
i && M(t);
|
4501
4501
|
}
|
4502
4502
|
};
|
4503
4503
|
}
|
4504
|
-
function
|
4504
|
+
function Bo(e) {
|
4505
4505
|
let t, r, n;
|
4506
4506
|
return {
|
4507
4507
|
c() {
|
4508
4508
|
t = P("img"), E(t, "class", "CategorySlideLogo"), ye(t.src, r = /*category*/
|
4509
|
-
e[
|
4510
|
-
e[
|
4509
|
+
e[41].icon) || E(t, "src", r), E(t, "alt", n = /*category*/
|
4510
|
+
e[41].name + " icon");
|
4511
4511
|
},
|
4512
4512
|
m(i, o) {
|
4513
|
-
|
4513
|
+
U(i, t, o);
|
4514
4514
|
},
|
4515
4515
|
p(i, o) {
|
4516
4516
|
o[0] & /*gameCategories*/
|
4517
4517
|
8 && !ye(t.src, r = /*category*/
|
4518
|
-
i[
|
4518
|
+
i[41].icon) && E(t, "src", r), o[0] & /*gameCategories*/
|
4519
4519
|
8 && n !== (n = /*category*/
|
4520
|
-
i[
|
4520
|
+
i[41].name + " icon") && E(t, "alt", n);
|
4521
4521
|
},
|
4522
4522
|
d(i) {
|
4523
4523
|
i && M(t);
|
@@ -4527,22 +4527,22 @@ function Po(e) {
|
|
4527
4527
|
function Wt(e) {
|
4528
4528
|
let t, r = (
|
4529
4529
|
/*game*/
|
4530
|
-
e[
|
4530
|
+
e[44].name + ""
|
4531
4531
|
), n, i;
|
4532
4532
|
return {
|
4533
4533
|
c() {
|
4534
4534
|
t = P("p"), n = Te(r), E(t, "title", i = /*game*/
|
4535
|
-
e[
|
4535
|
+
e[44].name);
|
4536
4536
|
},
|
4537
4537
|
m(o, s) {
|
4538
|
-
|
4538
|
+
U(o, t, s), C(t, n);
|
4539
4539
|
},
|
4540
4540
|
p(o, s) {
|
4541
4541
|
s[0] & /*gameCategories*/
|
4542
4542
|
8 && r !== (r = /*game*/
|
4543
|
-
o[
|
4543
|
+
o[44].name + "") && nt(n, r), s[0] & /*gameCategories*/
|
4544
4544
|
8 && i !== (i = /*game*/
|
4545
|
-
o[
|
4545
|
+
o[44].name) && E(t, "title", i);
|
4546
4546
|
},
|
4547
4547
|
d(o) {
|
4548
4548
|
o && M(t);
|
@@ -4556,7 +4556,7 @@ function zt(e) {
|
|
4556
4556
|
/*click_handler*/
|
4557
4557
|
e[23](
|
4558
4558
|
/*game*/
|
4559
|
-
e[
|
4559
|
+
e[44]
|
4560
4560
|
)
|
4561
4561
|
);
|
4562
4562
|
}
|
@@ -4567,18 +4567,18 @@ function zt(e) {
|
|
4567
4567
|
return {
|
4568
4568
|
c() {
|
4569
4569
|
t = P("div"), r = P("img"), o = V(), l && l.c(), s = V(), E(r, "class", "CategorySlideGameImage"), ye(r.src, n = /*game*/
|
4570
|
-
e[
|
4571
|
-
e[
|
4570
|
+
e[44].defaultThumbnail) || E(r, "src", n), E(r, "alt", i = /*game*/
|
4571
|
+
e[44].name), E(t, "class", "CategorySlideGames");
|
4572
4572
|
},
|
4573
4573
|
m(f, c) {
|
4574
|
-
|
4574
|
+
U(f, t, c), C(t, r), C(t, o), l && l.m(t, null), C(t, s), a || (h = _e(r, "click", Yr(u)), a = !0);
|
4575
4575
|
},
|
4576
4576
|
p(f, c) {
|
4577
4577
|
e = f, c[0] & /*gameCategories*/
|
4578
4578
|
8 && !ye(r.src, n = /*game*/
|
4579
|
-
e[
|
4579
|
+
e[44].defaultThumbnail) && E(r, "src", n), c[0] & /*gameCategories*/
|
4580
4580
|
8 && i !== (i = /*game*/
|
4581
|
-
e[
|
4581
|
+
e[44].name) && E(r, "alt", i), /*collectionprovidersgamenames*/
|
4582
4582
|
e[2] == "true" ? l ? l.p(e, c) : (l = Wt(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
|
4583
4583
|
},
|
4584
4584
|
d(f) {
|
@@ -4593,25 +4593,25 @@ function Zt(e) {
|
|
4593
4593
|
/*titletype*/
|
4594
4594
|
g[1] === "logo"
|
4595
4595
|
)
|
4596
|
-
return
|
4596
|
+
return Bo;
|
4597
4597
|
if (
|
4598
4598
|
/*titletype*/
|
4599
4599
|
g[1] === "title"
|
4600
4600
|
)
|
4601
|
-
return
|
4601
|
+
return Po;
|
4602
4602
|
}
|
4603
4603
|
let f = l(e), c = f && f(e), d = Ee(
|
4604
4604
|
/*category*/
|
4605
|
-
e[
|
4606
|
-
),
|
4605
|
+
e[41].games
|
4606
|
+
), m = [];
|
4607
4607
|
for (let g = 0; g < d.length; g += 1)
|
4608
|
-
|
4608
|
+
m[g] = zt(Vt(e, d, g));
|
4609
4609
|
function b() {
|
4610
4610
|
return (
|
4611
4611
|
/*click_handler_1*/
|
4612
4612
|
e[24](
|
4613
4613
|
/*category*/
|
4614
|
-
e[
|
4614
|
+
e[41]
|
4615
4615
|
)
|
4616
4616
|
);
|
4617
4617
|
}
|
@@ -4619,16 +4619,16 @@ function Zt(e) {
|
|
4619
4619
|
c() {
|
4620
4620
|
var g, x;
|
4621
4621
|
t = P("div"), r = P("div"), n = P("div"), c && c.c(), i = V(), o = P("div");
|
4622
|
-
for (let S = 0; S <
|
4623
|
-
|
4622
|
+
for (let S = 0; S < m.length; S += 1)
|
4623
|
+
m[S].c();
|
4624
4624
|
a = V(), E(n, "class", "CategorySlideTopContainer"), E(o, "class", "CategorySlideGameContainer"), E(r, "class", s = "CategorySlide " + /*category*/
|
4625
|
-
(((g = e[
|
4626
|
-
((x = e[
|
4625
|
+
(((g = e[41]) == null ? void 0 : g.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), Ie(r, "background-image", "url(" + /*category*/
|
4626
|
+
((x = e[41]) == null ? void 0 : x.background) + ")"), Ie(r, "background-size", "cover"), E(t, "class", "CategoriesSliderWrapper Animation");
|
4627
4627
|
},
|
4628
4628
|
m(g, x) {
|
4629
|
-
|
4630
|
-
for (let S = 0; S <
|
4631
|
-
|
4629
|
+
U(g, t, x), C(t, r), C(r, n), c && c.m(n, null), C(r, i), C(r, o);
|
4630
|
+
for (let S = 0; S < m.length; S += 1)
|
4631
|
+
m[S] && m[S].m(o, null);
|
4632
4632
|
C(t, a), h || (u = _e(r, "click", b), h = !0);
|
4633
4633
|
},
|
4634
4634
|
p(g, x) {
|
@@ -4637,34 +4637,34 @@ function Zt(e) {
|
|
4637
4637
|
8204) {
|
4638
4638
|
d = Ee(
|
4639
4639
|
/*category*/
|
4640
|
-
e[
|
4640
|
+
e[41].games
|
4641
4641
|
);
|
4642
4642
|
let H;
|
4643
4643
|
for (H = 0; H < d.length; H += 1) {
|
4644
4644
|
const O = Vt(e, d, H);
|
4645
|
-
|
4645
|
+
m[H] ? m[H].p(O, x) : (m[H] = zt(O), m[H].c(), m[H].m(o, null));
|
4646
4646
|
}
|
4647
|
-
for (; H <
|
4648
|
-
|
4649
|
-
|
4647
|
+
for (; H < m.length; H += 1)
|
4648
|
+
m[H].d(1);
|
4649
|
+
m.length = d.length;
|
4650
4650
|
}
|
4651
4651
|
x[0] & /*gameCategories*/
|
4652
4652
|
8 && s !== (s = "CategorySlide " + /*category*/
|
4653
|
-
(((S = e[
|
4653
|
+
(((S = e[41]) == null ? void 0 : S.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && E(r, "class", s), x[0] & /*gameCategories*/
|
4654
4654
|
8 && Ie(r, "background-image", "url(" + /*category*/
|
4655
|
-
((T = e[
|
4655
|
+
((T = e[41]) == null ? void 0 : T.background) + ")");
|
4656
4656
|
},
|
4657
4657
|
d(g) {
|
4658
|
-
g && M(t), c && c.d(), Yt(
|
4658
|
+
g && M(t), c && c.d(), Yt(m, g), h = !1, u();
|
4659
4659
|
}
|
4660
4660
|
};
|
4661
4661
|
}
|
4662
|
-
function
|
4662
|
+
function Ao(e) {
|
4663
4663
|
let t;
|
4664
4664
|
function r(o, s) {
|
4665
4665
|
return (
|
4666
4666
|
/*isLoading*/
|
4667
|
-
o[6] ?
|
4667
|
+
o[6] ? Co : Ho
|
4668
4668
|
);
|
4669
4669
|
}
|
4670
4670
|
let n = r(e), i = n(e);
|
@@ -4673,7 +4673,7 @@ function Bo(e) {
|
|
4673
4673
|
t = P("div"), i.c();
|
4674
4674
|
},
|
4675
4675
|
m(o, s) {
|
4676
|
-
|
4676
|
+
U(o, t, s), i.m(t, null), e[26](t);
|
4677
4677
|
},
|
4678
4678
|
p(o, s) {
|
4679
4679
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
@@ -4685,115 +4685,118 @@ function Bo(e) {
|
|
4685
4685
|
}
|
4686
4686
|
};
|
4687
4687
|
}
|
4688
|
-
function
|
4688
|
+
function Oo(e, t, r) {
|
4689
4689
|
let n;
|
4690
|
-
|
4691
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t,
|
4690
|
+
Zr(e, io, (p) => r(10, n = p));
|
4691
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { type: a = "" } = t, { titletype: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { collectionprovidersgamenames: c = "" } = t, { mbsource: d } = t, m = [], b = !0, g, x = 0, S = 0, T = 0, H, O, k = 0, W = 50, Oe = !1, R, Ar = window.navigator.userAgent, st;
|
4692
4692
|
const Or = () => {
|
4693
4693
|
fetch(f).then((B) => B.json()).then((B) => {
|
4694
|
-
Object.keys(B).forEach((
|
4695
|
-
Nt(
|
4694
|
+
Object.keys(B).forEach(($) => {
|
4695
|
+
Nt($, B[$]);
|
4696
4696
|
});
|
4697
4697
|
}).catch((B) => {
|
4698
4698
|
console.log(B);
|
4699
4699
|
});
|
4700
4700
|
};
|
4701
|
-
Object.keys(Mt).forEach((
|
4702
|
-
Nt(
|
4701
|
+
Object.keys(Mt).forEach((p) => {
|
4702
|
+
Nt(p, Mt[p]);
|
4703
4703
|
});
|
4704
4704
|
const at = () => {
|
4705
|
-
const
|
4706
|
-
|
4705
|
+
const p = new URL(`${i}/v2/casino/groups/${o}`);
|
4706
|
+
p.searchParams.append("language", s), p.searchParams.append("expand", "games"), p.searchParams.append("filter", `$and(flags=${a})`), p.searchParams.append("pagination", `offset=${k},limit=${W}`), fetch(p.href).then((B) => B.json()).then((B) => {
|
4707
4707
|
r(6, b = !1), B.total > W && (k += 50, W += 50, r(22, Oe = !0));
|
4708
|
-
let
|
4708
|
+
let $ = B.items.map((G) => {
|
4709
4709
|
var ft, dt, pt;
|
4710
4710
|
return {
|
4711
|
-
id:
|
4712
|
-
name:
|
4713
|
-
icon:
|
4714
|
-
games:
|
4715
|
-
background:
|
4716
|
-
flag:
|
4711
|
+
id: G.id,
|
4712
|
+
name: G.name,
|
4713
|
+
icon: G.icon ? G.icon : (pt = (dt = (ft = G.vendors) == null ? void 0 : ft.items[0]) == null ? void 0 : dt.subVendors[0]) == null ? void 0 : pt.logo,
|
4714
|
+
games: G.games.items.slice(0, 4).map((Fr) => Fr),
|
4715
|
+
background: G.background,
|
4716
|
+
flag: G.flags
|
4717
4717
|
};
|
4718
4718
|
});
|
4719
|
-
r(3,
|
4719
|
+
r(3, m = [...m, ...$]), r(7, S = m.length), Lr();
|
4720
4720
|
});
|
4721
|
-
}, lt = (m) => {
|
4722
|
-
O = [...g.children], O.forEach((B, R) => {
|
4723
|
-
B.style.transform = `translateX(${100 * (m ? R - m : R)}%)`;
|
4724
|
-
}), H = O[0].getBoundingClientRect().width, Lr();
|
4725
4721
|
}, Lr = () => {
|
4722
|
+
const p = R.getRootNode().host;
|
4723
|
+
p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
|
4724
|
+
}, lt = (p) => {
|
4725
|
+
O = [...g.children], O.forEach((B, $) => {
|
4726
|
+
B.style.transform = `translateX(${100 * (p ? $ - p : $)}%)`;
|
4727
|
+
}), H = O[0].getBoundingClientRect().width, Ir();
|
4728
|
+
}, Ir = () => {
|
4726
4729
|
r(8, T = Math.floor(g.clientWidth / H));
|
4727
4730
|
}, ut = () => {
|
4728
4731
|
lt(x);
|
4729
|
-
}, Ir = () => {
|
4730
|
-
x === 0 ? x = S - T : x - T < -1 ? x = 0 : x--, ut();
|
4731
4732
|
}, Nr = () => {
|
4733
|
+
x === 0 ? x = S - T : x - T < -1 ? x = 0 : x--, ut();
|
4734
|
+
}, Mr = () => {
|
4732
4735
|
x === S - T ? x = 0 : S - T < x + 1 ? x = S - T : x++, ut();
|
4733
|
-
}, ht = (
|
4736
|
+
}, ht = (p, B, $, G) => {
|
4734
4737
|
window.postMessage(
|
4735
4738
|
{
|
4736
4739
|
type: "OpenCollectionsProvidersGame",
|
4737
|
-
gameId:
|
4740
|
+
gameId: p,
|
4738
4741
|
launchUrl: B,
|
4739
|
-
gameName:
|
4740
|
-
subVendor:
|
4742
|
+
gameName: $,
|
4743
|
+
subVendor: G
|
4741
4744
|
},
|
4742
4745
|
window.location.href
|
4743
4746
|
), typeof gtag == "function" && gtag("event", "OpenGame", {
|
4744
4747
|
context: "CollectionsProviders",
|
4745
|
-
gameName: `${
|
4748
|
+
gameName: `${$}`
|
4746
4749
|
});
|
4747
|
-
}, ct = (
|
4750
|
+
}, ct = (p) => {
|
4748
4751
|
window.postMessage(
|
4749
4752
|
{
|
4750
4753
|
type: "OpenCollectionsProvidersCategory",
|
4751
|
-
categoryId:
|
4754
|
+
categoryId: p
|
4752
4755
|
},
|
4753
4756
|
window.location.href
|
4754
4757
|
);
|
4755
|
-
},
|
4756
|
-
|
4758
|
+
}, Rr = () => {
|
4759
|
+
oo(s);
|
4757
4760
|
};
|
4758
|
-
|
4761
|
+
rn(() => (r(9, st = xo(Ar)), () => {
|
4759
4762
|
}));
|
4760
|
-
const
|
4761
|
-
function
|
4762
|
-
xe[
|
4763
|
-
g =
|
4763
|
+
const $r = (p) => ht(p.gameId, p.launchUrl, p.name, p.subVendor), Gr = (p) => ct(p.id);
|
4764
|
+
function Ur(p) {
|
4765
|
+
xe[p ? "unshift" : "push"](() => {
|
4766
|
+
g = p, r(4, g);
|
4764
4767
|
});
|
4765
4768
|
}
|
4766
|
-
function
|
4767
|
-
xe[
|
4768
|
-
|
4769
|
+
function Dr(p) {
|
4770
|
+
xe[p ? "unshift" : "push"](() => {
|
4771
|
+
R = p, r(5, R);
|
4769
4772
|
});
|
4770
4773
|
}
|
4771
|
-
return e.$$set = (
|
4772
|
-
"endpoint" in
|
4774
|
+
return e.$$set = (p) => {
|
4775
|
+
"endpoint" in p && r(15, i = p.endpoint), "datasource" in p && r(16, o = p.datasource), "lang" in p && r(17, s = p.lang), "type" in p && r(0, a = p.type), "titletype" in p && r(1, h = p.titletype), "clientstyling" in p && r(18, u = p.clientstyling), "clientstylingurl" in p && r(19, l = p.clientstylingurl), "translationurl" in p && r(20, f = p.translationurl), "collectionprovidersgamenames" in p && r(2, c = p.collectionprovidersgamenames), "mbsource" in p && r(21, d = p.mbsource);
|
4773
4776
|
}, e.$$.update = () => {
|
4774
4777
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4775
4778
|
229376 && i && o && s && at(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
4776
|
-
24 &&
|
4777
|
-
131072 && s &&
|
4778
|
-
262176 && u &&
|
4779
|
-
524320 && l &&
|
4780
|
-
2097184 &&
|
4779
|
+
24 && m && g && lt(), e.$$.dirty[0] & /*lang*/
|
4780
|
+
131072 && s && Rr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4781
|
+
262176 && u && R && Eo(R, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4782
|
+
524320 && l && R && So(R, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4783
|
+
2097184 && R && wo(R, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
4781
4784
|
1048576 && f && Or(), e.$$.dirty[0] & /*paginationrequired*/
|
4782
4785
|
4194304 && Oe && at();
|
4783
4786
|
}, [
|
4784
4787
|
a,
|
4785
4788
|
h,
|
4786
4789
|
c,
|
4787
|
-
|
4790
|
+
m,
|
4788
4791
|
g,
|
4789
|
-
|
4792
|
+
R,
|
4790
4793
|
b,
|
4791
4794
|
S,
|
4792
4795
|
T,
|
4793
4796
|
st,
|
4794
4797
|
n,
|
4795
|
-
Ir,
|
4796
4798
|
Nr,
|
4799
|
+
Mr,
|
4797
4800
|
ht,
|
4798
4801
|
ct,
|
4799
4802
|
i,
|
@@ -4804,19 +4807,19 @@ function Ao(e, t, r) {
|
|
4804
4807
|
f,
|
4805
4808
|
d,
|
4806
4809
|
Oe,
|
4807
|
-
Rr,
|
4808
4810
|
$r,
|
4809
4811
|
Gr,
|
4810
|
-
Ur
|
4812
|
+
Ur,
|
4813
|
+
Dr
|
4811
4814
|
];
|
4812
4815
|
}
|
4813
|
-
class
|
4816
|
+
class Lo extends mn {
|
4814
4817
|
constructor(t) {
|
4815
|
-
super(),
|
4818
|
+
super(), dn(
|
4816
4819
|
this,
|
4817
4820
|
t,
|
4821
|
+
Oo,
|
4818
4822
|
Ao,
|
4819
|
-
Bo,
|
4820
4823
|
qt,
|
4821
4824
|
{
|
4822
4825
|
endpoint: 15,
|
@@ -4830,7 +4833,7 @@ class Oo extends pn {
|
|
4830
4833
|
collectionprovidersgamenames: 2,
|
4831
4834
|
mbsource: 21
|
4832
4835
|
},
|
4833
|
-
|
4836
|
+
To,
|
4834
4837
|
[-1, -1]
|
4835
4838
|
);
|
4836
4839
|
}
|
@@ -4895,7 +4898,7 @@ class Oo extends pn {
|
|
4895
4898
|
this.$$set({ mbsource: t }), N();
|
4896
4899
|
}
|
4897
4900
|
}
|
4898
|
-
|
4901
|
+
pn(Lo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
4899
4902
|
export {
|
4900
|
-
|
4903
|
+
Lo as default
|
4901
4904
|
};
|