@everymatrix/casino-collections-providers 1.59.3 → 1.60.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-CDaQa5AB.cjs +18 -0
- package/components/{CasinoCollectionsProviders-D6DzCamj.js → CasinoCollectionsProviders-Dn7FC6Kf.js} +573 -551
- package/components/{CasinoCollectionsProviders-BINLj-5P.js → CasinoCollectionsProviders-k8QCmH9I.js} +588 -566
- 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 +1 -1
- package/components/CasinoCollectionsProviders-CiGVjQtw.cjs +0 -18
package/components/{CasinoCollectionsProviders-BINLj-5P.js → CasinoCollectionsProviders-k8QCmH9I.js}
RENAMED
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var Le = (e, t, r) => t in e ?
|
1
|
+
var Wr = Object.defineProperty, zr = Object.defineProperties;
|
2
|
+
var Zr = Object.getOwnPropertyDescriptors;
|
3
|
+
var vt = Object.getOwnPropertySymbols;
|
4
|
+
var Qr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Le = (e, t, r) => t in e ? Wr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
Qr.call(t, r) && Le(e, r, t[r]);
|
8
|
+
if (vt)
|
9
|
+
for (var r of vt(t))
|
10
|
+
qr.call(t, r) && Le(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
12
|
+
}, _t = (e, t) => zr(e, Zr(t));
|
13
13
|
var I = (e, t, r) => (Le(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
-
var
|
14
|
+
var Et = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (h) => {
|
16
16
|
try {
|
17
17
|
a(r.next(h));
|
@@ -29,29 +29,29 @@ var vt = (e, t, r) => new Promise((n, i) => {
|
|
29
29
|
});
|
30
30
|
function L() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function Yt(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function xt() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
38
|
function re(e) {
|
39
|
-
e.forEach(
|
39
|
+
e.forEach(Yt);
|
40
40
|
}
|
41
|
-
function
|
41
|
+
function nt(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function Kt(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
47
|
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 Jr(e) {
|
52
52
|
return Object.keys(e).length === 0;
|
53
53
|
}
|
54
|
-
function
|
54
|
+
function er(e, ...t) {
|
55
55
|
if (e == null) {
|
56
56
|
for (const n of t)
|
57
57
|
n(void 0);
|
@@ -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
|
64
|
-
e.$$.on_destroy.push(
|
63
|
+
function Yr(e, t, r) {
|
64
|
+
e.$$.on_destroy.push(er(t, r));
|
65
65
|
}
|
66
66
|
function C(e, t) {
|
67
67
|
e.appendChild(t);
|
68
68
|
}
|
69
|
-
function
|
70
|
-
const n =
|
69
|
+
function Kr(e, t, r) {
|
70
|
+
const n = en(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, tn(n, i);
|
74
74
|
}
|
75
75
|
}
|
76
|
-
function
|
76
|
+
function en(e) {
|
77
77
|
if (!e)
|
78
78
|
return document;
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -83,7 +83,7 @@ function qr(e) {
|
|
83
83
|
t
|
84
84
|
) : e.ownerDocument;
|
85
85
|
}
|
86
|
-
function
|
86
|
+
function tn(e, t) {
|
87
87
|
return C(
|
88
88
|
/** @type {Document} */
|
89
89
|
e.head || e,
|
@@ -96,7 +96,7 @@ function U(e, t, r) {
|
|
96
96
|
function M(e) {
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
98
98
|
}
|
99
|
-
function
|
99
|
+
function tr(e, t) {
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
101
101
|
e[r] && e[r].d(t);
|
102
102
|
}
|
@@ -112,25 +112,25 @@ 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 rn(e) {
|
116
116
|
return function(t) {
|
117
117
|
return t.stopPropagation(), e.call(this, t);
|
118
118
|
};
|
119
119
|
}
|
120
|
-
function
|
120
|
+
function x(e, t, r) {
|
121
121
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
122
122
|
}
|
123
|
-
function
|
123
|
+
function nn(e) {
|
124
124
|
return Array.from(e.childNodes);
|
125
125
|
}
|
126
|
-
function
|
126
|
+
function it(e, t) {
|
127
127
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
128
128
|
t);
|
129
129
|
}
|
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 on(e) {
|
134
134
|
const t = {};
|
135
135
|
return e.childNodes.forEach(
|
136
136
|
/** @param {Element} node */
|
@@ -143,22 +143,22 @@ let le;
|
|
143
143
|
function ae(e) {
|
144
144
|
le = e;
|
145
145
|
}
|
146
|
-
function
|
146
|
+
function sn() {
|
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 an(e) {
|
152
|
+
sn().$$.on_mount.push(e);
|
153
153
|
}
|
154
|
-
const Q = [],
|
154
|
+
const Q = [], Ee = [];
|
155
155
|
let q = [];
|
156
|
-
const
|
157
|
-
let
|
158
|
-
function
|
159
|
-
|
156
|
+
const St = [], ln = /* @__PURE__ */ Promise.resolve();
|
157
|
+
let je = !1;
|
158
|
+
function un() {
|
159
|
+
je || (je = !0, ln.then(N));
|
160
160
|
}
|
161
|
-
function
|
161
|
+
function ke(e) {
|
162
162
|
q.push(e);
|
163
163
|
}
|
164
164
|
const Ne = /* @__PURE__ */ new Set();
|
@@ -171,56 +171,56 @@ 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), hn(t.$$);
|
175
175
|
}
|
176
176
|
} catch (t) {
|
177
177
|
throw Q.length = 0, z = 0, t;
|
178
178
|
}
|
179
|
-
for (ae(null), Q.length = 0, z = 0;
|
180
|
-
|
179
|
+
for (ae(null), Q.length = 0, z = 0; Ee.length; )
|
180
|
+
Ee.pop()();
|
181
181
|
for (let t = 0; t < q.length; t += 1) {
|
182
182
|
const r = q[t];
|
183
183
|
Ne.has(r) || (Ne.add(r), r());
|
184
184
|
}
|
185
185
|
q.length = 0;
|
186
186
|
} while (Q.length);
|
187
|
-
for (;
|
188
|
-
|
189
|
-
|
187
|
+
for (; St.length; )
|
188
|
+
St.pop()();
|
189
|
+
je = !1, Ne.clear(), ae(e);
|
190
190
|
}
|
191
|
-
function
|
191
|
+
function hn(e) {
|
192
192
|
if (e.fragment !== null) {
|
193
193
|
e.update(), re(e.before_update);
|
194
194
|
const t = e.dirty;
|
195
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
195
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
|
196
196
|
}
|
197
197
|
}
|
198
|
-
function
|
198
|
+
function cn(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 fn = /* @__PURE__ */ new Set();
|
203
|
+
function dn(e, t) {
|
204
|
+
e && e.i && (fn.delete(e), e.i(t));
|
205
205
|
}
|
206
|
-
function
|
206
|
+
function xe(e) {
|
207
207
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
208
208
|
}
|
209
|
-
function
|
209
|
+
function pn(e, t, r) {
|
210
210
|
const { fragment: n, after_update: i } = e.$$;
|
211
|
-
n && n.m(t, r),
|
212
|
-
const o = e.$$.on_mount.map(
|
211
|
+
n && n.m(t, r), ke(() => {
|
212
|
+
const o = e.$$.on_mount.map(Yt).filter(nt);
|
213
213
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
|
214
|
-
}), i.forEach(
|
214
|
+
}), i.forEach(ke);
|
215
215
|
}
|
216
|
-
function
|
216
|
+
function mn(e, t) {
|
217
217
|
const r = e.$$;
|
218
|
-
r.fragment !== null && (
|
218
|
+
r.fragment !== null && (cn(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 bn(e, t) {
|
221
|
+
e.$$.dirty[0] === -1 && (Q.push(e), un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
222
222
|
}
|
223
|
-
function
|
223
|
+
function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
224
224
|
const h = le;
|
225
225
|
ae(e);
|
226
226
|
const u = e.$$ = {
|
@@ -230,7 +230,7 @@ function dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
230
230
|
props: o,
|
231
231
|
update: L,
|
232
232
|
not_equal: i,
|
233
|
-
bound:
|
233
|
+
bound: xt(),
|
234
234
|
// lifecycle
|
235
235
|
on_mount: [],
|
236
236
|
on_destroy: [],
|
@@ -239,7 +239,7 @@ function dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
239
239
|
after_update: [],
|
240
240
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
241
241
|
// everything else
|
242
|
-
callbacks:
|
242
|
+
callbacks: xt(),
|
243
243
|
dirty: a,
|
244
244
|
skip_bound: !1,
|
245
245
|
root: t.target || h.$$.root
|
@@ -248,19 +248,19 @@ function dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
248
248
|
let l = !1;
|
249
249
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
250
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 &&
|
251
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), l && bn(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 = nn(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 && dn(e.$$.fragment), pn(e, t.target, t.anchor), N();
|
259
259
|
}
|
260
260
|
ae(h);
|
261
261
|
}
|
262
|
-
let
|
263
|
-
typeof HTMLElement == "function" && (
|
262
|
+
let rr;
|
263
|
+
typeof HTMLElement == "function" && (rr = class extends HTMLElement {
|
264
264
|
constructor(t, r, n) {
|
265
265
|
super();
|
266
266
|
/** The Svelte component constructor */
|
@@ -297,14 +297,14 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
297
297
|
}
|
298
298
|
}
|
299
299
|
connectedCallback() {
|
300
|
-
return
|
300
|
+
return Et(this, null, function* () {
|
301
301
|
if (this.$$cn = !0, !this.$$c) {
|
302
302
|
let t = function(o) {
|
303
303
|
return () => {
|
304
304
|
let s;
|
305
305
|
return {
|
306
306
|
c: function() {
|
307
|
-
s = P("slot"), o !== "default" &&
|
307
|
+
s = P("slot"), o !== "default" && x(s, "name", o);
|
308
308
|
},
|
309
309
|
/**
|
310
310
|
* @param {HTMLElement} target
|
@@ -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 = on(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) {
|
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
332
332
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
333
333
|
this.$$c = new this.$$ctor({
|
334
334
|
target: this.shadowRoot || this,
|
335
|
-
props:
|
335
|
+
props: _t(yt({}, this.$$d), {
|
336
336
|
$$slots: r,
|
337
337
|
$$scope: {
|
338
338
|
ctx: []
|
@@ -410,8 +410,8 @@ function me(e, t, r, n) {
|
|
410
410
|
return t;
|
411
411
|
}
|
412
412
|
}
|
413
|
-
function
|
414
|
-
let s = class extends
|
413
|
+
function vn(e, t, r, n, i, o) {
|
414
|
+
let s = class extends rr {
|
415
415
|
constructor() {
|
416
416
|
super(e, r, i), this.$$p_d = t;
|
417
417
|
}
|
@@ -441,7 +441,7 @@ function pn(e, t, r, n, i, o) {
|
|
441
441
|
}), e.element = /** @type {any} */
|
442
442
|
s, s;
|
443
443
|
}
|
444
|
-
class
|
444
|
+
class yn {
|
445
445
|
constructor() {
|
446
446
|
/**
|
447
447
|
* ### PRIVATE API
|
@@ -462,7 +462,7 @@ class mn {
|
|
462
462
|
}
|
463
463
|
/** @returns {void} */
|
464
464
|
$destroy() {
|
465
|
-
|
465
|
+
mn(this, 1), this.$destroy = L;
|
466
466
|
}
|
467
467
|
/**
|
468
468
|
* @template {Extract<keyof Events, string>} K
|
@@ -471,7 +471,7 @@ class mn {
|
|
471
471
|
* @returns {() => void}
|
472
472
|
*/
|
473
473
|
$on(t, r) {
|
474
|
-
if (!
|
474
|
+
if (!nt(r))
|
475
475
|
return L;
|
476
476
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
477
477
|
return n.push(r), () => {
|
@@ -484,13 +484,13 @@ class mn {
|
|
484
484
|
* @returns {void}
|
485
485
|
*/
|
486
486
|
$set(t) {
|
487
|
-
this.$$set && !
|
487
|
+
this.$$set && !Jr(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 _n = "4";
|
491
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
|
492
492
|
const Z = [];
|
493
|
-
function
|
493
|
+
function En(e, t) {
|
494
494
|
return {
|
495
495
|
subscribe: He(e, t).subscribe
|
496
496
|
};
|
@@ -499,7 +499,7 @@ function He(e, t = L) {
|
|
499
499
|
let r;
|
500
500
|
const n = /* @__PURE__ */ new Set();
|
501
501
|
function i(a) {
|
502
|
-
if (
|
502
|
+
if (Kt(e, a) && (e = a, r)) {
|
503
503
|
const h = !Z.length;
|
504
504
|
for (const u of n)
|
505
505
|
u[1](), Z.push(u, e);
|
@@ -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 En(r, (s, a) => {
|
530
530
|
let h = !1;
|
531
531
|
const u = [];
|
532
532
|
let l = 0, f = L;
|
@@ -535,9 +535,9 @@ function ne(e, t, r) {
|
|
535
535
|
return;
|
536
536
|
f();
|
537
537
|
const m = t(n ? u[0] : u, s, a);
|
538
|
-
o ? s(m) : f =
|
538
|
+
o ? s(m) : f = nt(m) ? m : L;
|
539
539
|
}, d = i.map(
|
540
|
-
(m, b) =>
|
540
|
+
(m, b) => er(
|
541
541
|
m,
|
542
542
|
(g) => {
|
543
543
|
u[b] = g, l &= ~(1 << b), h && c();
|
@@ -552,70 +552,70 @@ function ne(e, t, r) {
|
|
552
552
|
};
|
553
553
|
});
|
554
554
|
}
|
555
|
-
function
|
555
|
+
function xn(e) {
|
556
556
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
557
557
|
}
|
558
|
-
var
|
559
|
-
return
|
558
|
+
var Sn = function(t) {
|
559
|
+
return wn(t) && !Tn(t);
|
560
560
|
};
|
561
|
-
function
|
561
|
+
function wn(e) {
|
562
562
|
return !!e && typeof e == "object";
|
563
563
|
}
|
564
|
-
function
|
564
|
+
function Tn(e) {
|
565
565
|
var t = Object.prototype.toString.call(e);
|
566
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
566
|
+
return t === "[object RegExp]" || t === "[object Date]" || Pn(e);
|
567
567
|
}
|
568
|
-
var
|
569
|
-
function
|
570
|
-
return e.$$typeof ===
|
568
|
+
var Hn = typeof Symbol == "function" && Symbol.for, Cn = Hn ? Symbol.for("react.element") : 60103;
|
569
|
+
function Pn(e) {
|
570
|
+
return e.$$typeof === Cn;
|
571
571
|
}
|
572
|
-
function
|
572
|
+
function Bn(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(Bn(e), e, t) : e;
|
577
577
|
}
|
578
|
-
function
|
578
|
+
function An(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 On(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 Ln(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
|
-
function
|
595
|
-
return Object.keys(e).concat(
|
594
|
+
function wt(e) {
|
595
|
+
return Object.keys(e).concat(Ln(e));
|
596
596
|
}
|
597
|
-
function
|
597
|
+
function nr(e, t) {
|
598
598
|
try {
|
599
599
|
return t in e;
|
600
600
|
} catch (r) {
|
601
601
|
return !1;
|
602
602
|
}
|
603
603
|
}
|
604
|
-
function
|
605
|
-
return
|
604
|
+
function In(e, t) {
|
605
|
+
return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
606
606
|
}
|
607
|
-
function
|
607
|
+
function Nn(e, t, r) {
|
608
608
|
var n = {};
|
609
|
-
return r.isMergeableObject(e) &&
|
609
|
+
return r.isMergeableObject(e) && wt(e).forEach(function(i) {
|
610
610
|
n[i] = ue(e[i], r);
|
611
|
-
}),
|
612
|
-
|
611
|
+
}), wt(t).forEach(function(i) {
|
612
|
+
In(e, i) || (nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(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 || An, r.isMergeableObject = r.isMergeableObject || Sn, 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) : Nn(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 Mn = Y, Rn = Mn;
|
628
|
+
const $n = /* @__PURE__ */ xn(Rn);
|
629
629
|
/*! *****************************************************************************
|
630
630
|
Copyright (c) Microsoft Corporation.
|
631
631
|
|
@@ -640,18 +640,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
640
640
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
641
641
|
PERFORMANCE OF THIS SOFTWARE.
|
642
642
|
***************************************************************************** */
|
643
|
-
var
|
644
|
-
return
|
643
|
+
var Ve = function(e, t) {
|
644
|
+
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
645
645
|
r.__proto__ = n;
|
646
646
|
} || function(r, n) {
|
647
647
|
for (var i in n)
|
648
648
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
649
|
-
},
|
649
|
+
}, Ve(e, t);
|
650
650
|
};
|
651
651
|
function F(e, t) {
|
652
652
|
if (typeof t != "function" && t !== null)
|
653
653
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
654
|
-
|
654
|
+
Ve(e, t);
|
655
655
|
function r() {
|
656
656
|
this.constructor = e;
|
657
657
|
}
|
@@ -667,7 +667,7 @@ var _ = function() {
|
|
667
667
|
return t;
|
668
668
|
}, _.apply(this, arguments);
|
669
669
|
};
|
670
|
-
function
|
670
|
+
function Gn(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]);
|
@@ -676,7 +676,7 @@ function Nn(e, t) {
|
|
676
676
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
677
677
|
return r;
|
678
678
|
}
|
679
|
-
function
|
679
|
+
function Xe(e) {
|
680
680
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
681
681
|
if (r)
|
682
682
|
return r.call(e);
|
@@ -688,7 +688,7 @@ function Ve(e) {
|
|
688
688
|
};
|
689
689
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
690
690
|
}
|
691
|
-
function
|
691
|
+
function We(e, t) {
|
692
692
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
693
693
|
if (!r)
|
694
694
|
return e;
|
@@ -715,53 +715,55 @@ 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 : Vn, n = t && t.serializer ? t.serializer : kn, i = t && t.strategy ? t.strategy : Dn;
|
719
719
|
return i(e, {
|
720
720
|
cache: r,
|
721
721
|
serializer: n
|
722
722
|
});
|
723
723
|
}
|
724
|
-
function
|
724
|
+
function Un(e) {
|
725
725
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
726
726
|
}
|
727
|
-
function
|
728
|
-
var i =
|
727
|
+
function ir(e, t, r, n) {
|
728
|
+
var i = Un(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
|
-
function
|
731
|
+
function or(e, t, r) {
|
732
732
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
733
733
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
734
734
|
}
|
735
|
-
function
|
735
|
+
function ot(e, t, r, n, i) {
|
736
736
|
return r.bind(t, e, n, i);
|
737
737
|
}
|
738
|
-
function
|
739
|
-
var r = e.length === 1 ?
|
740
|
-
return
|
738
|
+
function Dn(e, t) {
|
739
|
+
var r = e.length === 1 ? ir : or;
|
740
|
+
return ot(e, this, r, t.cache.create(), t.serializer);
|
741
741
|
}
|
742
|
-
function
|
743
|
-
return
|
742
|
+
function Fn(e, t) {
|
743
|
+
return ot(e, this, or, t.cache.create(), t.serializer);
|
744
744
|
}
|
745
|
-
|
745
|
+
function jn(e, t) {
|
746
|
+
return ot(e, this, ir, t.cache.create(), t.serializer);
|
747
|
+
}
|
748
|
+
var kn = function() {
|
746
749
|
return JSON.stringify(arguments);
|
747
|
-
}
|
748
|
-
|
749
|
-
|
750
|
-
|
751
|
-
|
752
|
-
|
753
|
-
|
754
|
-
|
755
|
-
|
756
|
-
|
757
|
-
|
758
|
-
}()
|
759
|
-
), Fn = {
|
750
|
+
};
|
751
|
+
function st() {
|
752
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
753
|
+
}
|
754
|
+
st.prototype.get = function(e) {
|
755
|
+
return this.cache[e];
|
756
|
+
};
|
757
|
+
st.prototype.set = function(e, t) {
|
758
|
+
this.cache[e] = t;
|
759
|
+
};
|
760
|
+
var Vn = {
|
760
761
|
create: function() {
|
761
|
-
return new
|
762
|
+
return new st();
|
762
763
|
}
|
763
764
|
}, Re = {
|
764
|
-
variadic:
|
765
|
+
variadic: Fn,
|
766
|
+
monadic: jn
|
765
767
|
}, v;
|
766
768
|
(function(e) {
|
767
769
|
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";
|
@@ -774,43 +776,43 @@ var K;
|
|
774
776
|
(function(e) {
|
775
777
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
776
778
|
})(K || (K = {}));
|
777
|
-
function
|
779
|
+
function Tt(e) {
|
778
780
|
return e.type === w.literal;
|
779
781
|
}
|
780
|
-
function
|
782
|
+
function Xn(e) {
|
781
783
|
return e.type === w.argument;
|
782
784
|
}
|
783
|
-
function
|
785
|
+
function sr(e) {
|
784
786
|
return e.type === w.number;
|
785
787
|
}
|
786
|
-
function
|
788
|
+
function ar(e) {
|
787
789
|
return e.type === w.date;
|
788
790
|
}
|
789
|
-
function
|
791
|
+
function lr(e) {
|
790
792
|
return e.type === w.time;
|
791
793
|
}
|
792
|
-
function
|
794
|
+
function ur(e) {
|
793
795
|
return e.type === w.select;
|
794
796
|
}
|
795
|
-
function
|
797
|
+
function hr(e) {
|
796
798
|
return e.type === w.plural;
|
797
799
|
}
|
798
|
-
function
|
800
|
+
function Wn(e) {
|
799
801
|
return e.type === w.pound;
|
800
802
|
}
|
801
|
-
function
|
803
|
+
function cr(e) {
|
802
804
|
return e.type === w.tag;
|
803
805
|
}
|
804
|
-
function
|
806
|
+
function fr(e) {
|
805
807
|
return !!(e && typeof e == "object" && e.type === K.number);
|
806
808
|
}
|
807
|
-
function
|
809
|
+
function ze(e) {
|
808
810
|
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
809
811
|
}
|
810
|
-
var
|
811
|
-
function
|
812
|
+
var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zn = /(?:[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;
|
813
|
+
function Zn(e) {
|
812
814
|
var t = {};
|
813
|
-
return e.replace(
|
815
|
+
return e.replace(zn, function(r) {
|
814
816
|
var n = r.length;
|
815
817
|
switch (r[0]) {
|
816
818
|
case "G":
|
@@ -899,11 +901,11 @@ function Xn(e) {
|
|
899
901
|
return "";
|
900
902
|
}), t;
|
901
903
|
}
|
902
|
-
var
|
903
|
-
function
|
904
|
+
var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
905
|
+
function qn(e) {
|
904
906
|
if (e.length === 0)
|
905
907
|
throw new Error("Number skeleton cannot be empty");
|
906
|
-
for (var t = e.split(
|
908
|
+
for (var t = e.split(Qn).filter(function(c) {
|
907
909
|
return c.length > 0;
|
908
910
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
909
911
|
var o = i[n], s = o.split("/");
|
@@ -918,17 +920,17 @@ function zn(e) {
|
|
918
920
|
}
|
919
921
|
return r;
|
920
922
|
}
|
921
|
-
function
|
923
|
+
function Jn(e) {
|
922
924
|
return e.replace(/^(.*?)-/, "");
|
923
925
|
}
|
924
|
-
var
|
925
|
-
function
|
926
|
+
var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, Yn = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
|
927
|
+
function Ct(e) {
|
926
928
|
var t = {};
|
927
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
929
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
|
928
930
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
929
931
|
}), t;
|
930
932
|
}
|
931
|
-
function
|
933
|
+
function br(e) {
|
932
934
|
switch (e) {
|
933
935
|
case "sign-auto":
|
934
936
|
return {
|
@@ -968,7 +970,7 @@ function dr(e) {
|
|
968
970
|
};
|
969
971
|
}
|
970
972
|
}
|
971
|
-
function
|
973
|
+
function Kn(e) {
|
972
974
|
var t;
|
973
975
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
974
976
|
notation: "engineering"
|
@@ -976,17 +978,17 @@ function qn(e) {
|
|
976
978
|
notation: "scientific"
|
977
979
|
}, e = e.slice(1)), t) {
|
978
980
|
var r = e.slice(0, 2);
|
979
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
981
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
|
980
982
|
throw new Error("Malformed concise eng/scientific notation");
|
981
983
|
t.minimumIntegerDigits = e.length;
|
982
984
|
}
|
983
985
|
return t;
|
984
986
|
}
|
985
|
-
function
|
986
|
-
var t = {}, r =
|
987
|
+
function Pt(e) {
|
988
|
+
var t = {}, r = br(e);
|
987
989
|
return r || t;
|
988
990
|
}
|
989
|
-
function
|
991
|
+
function ei(e) {
|
990
992
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
991
993
|
var i = n[r];
|
992
994
|
switch (i.stem) {
|
@@ -1010,7 +1012,7 @@ function Jn(e) {
|
|
1010
1012
|
continue;
|
1011
1013
|
case "measure-unit":
|
1012
1014
|
case "unit":
|
1013
|
-
t.style = "unit", t.unit =
|
1015
|
+
t.style = "unit", t.unit = Jn(i.options[0]);
|
1014
1016
|
continue;
|
1015
1017
|
case "compact-short":
|
1016
1018
|
case "K":
|
@@ -1022,12 +1024,12 @@ function Jn(e) {
|
|
1022
1024
|
continue;
|
1023
1025
|
case "scientific":
|
1024
1026
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1025
|
-
return _(_({}, h),
|
1027
|
+
return _(_({}, h), Pt(u));
|
1026
1028
|
}, {}));
|
1027
1029
|
continue;
|
1028
1030
|
case "engineering":
|
1029
1031
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1030
|
-
return _(_({}, h),
|
1032
|
+
return _(_({}, h), Pt(u));
|
1031
1033
|
}, {}));
|
1032
1034
|
continue;
|
1033
1035
|
case "notation-simple":
|
@@ -1072,7 +1074,7 @@ function Jn(e) {
|
|
1072
1074
|
case "integer-width":
|
1073
1075
|
if (i.options.length > 1)
|
1074
1076
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1075
|
-
i.options[0].replace(
|
1077
|
+
i.options[0].replace(Yn, function(h, u, l, f, c, d) {
|
1076
1078
|
if (u)
|
1077
1079
|
t.minimumIntegerDigits = l.length;
|
1078
1080
|
else {
|
@@ -1085,27 +1087,27 @@ function Jn(e) {
|
|
1085
1087
|
});
|
1086
1088
|
continue;
|
1087
1089
|
}
|
1088
|
-
if (
|
1090
|
+
if (mr.test(i.stem)) {
|
1089
1091
|
t.minimumIntegerDigits = i.stem.length;
|
1090
1092
|
continue;
|
1091
1093
|
}
|
1092
|
-
if (
|
1094
|
+
if (Ht.test(i.stem)) {
|
1093
1095
|
if (i.options.length > 1)
|
1094
1096
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1095
|
-
i.stem.replace(
|
1097
|
+
i.stem.replace(Ht, function(h, u, l, f, c, d) {
|
1096
1098
|
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1097
1099
|
});
|
1098
1100
|
var o = i.options[0];
|
1099
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
1101
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), Ct(o)));
|
1100
1102
|
continue;
|
1101
1103
|
}
|
1102
|
-
if (
|
1103
|
-
t = _(_({}, t),
|
1104
|
+
if (pr.test(i.stem)) {
|
1105
|
+
t = _(_({}, t), Ct(i.stem));
|
1104
1106
|
continue;
|
1105
1107
|
}
|
1106
|
-
var s =
|
1108
|
+
var s = br(i.stem);
|
1107
1109
|
s && (t = _(_({}, t), s));
|
1108
|
-
var a =
|
1110
|
+
var a = Kn(i.stem);
|
1109
1111
|
a && (t = _(_({}, t), a));
|
1110
1112
|
}
|
1111
1113
|
return t;
|
@@ -2525,13 +2527,13 @@ var de = {
|
|
2525
2527
|
"h"
|
2526
2528
|
]
|
2527
2529
|
};
|
2528
|
-
function
|
2530
|
+
function ti(e, t) {
|
2529
2531
|
for (var r = "", n = 0; n < e.length; n++) {
|
2530
2532
|
var i = e.charAt(n);
|
2531
2533
|
if (i === "j") {
|
2532
2534
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2533
2535
|
o++, n++;
|
2534
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
2536
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = ri(t);
|
2535
2537
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
2536
2538
|
r += h;
|
2537
2539
|
for (; s-- > 0; )
|
@@ -2541,7 +2543,7 @@ function Yn(e, t) {
|
|
2541
2543
|
}
|
2542
2544
|
return r;
|
2543
2545
|
}
|
2544
|
-
function
|
2546
|
+
function ri(e) {
|
2545
2547
|
var t = e.hourCycle;
|
2546
2548
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
2547
2549
|
e.hourCycles && // @ts-ignore
|
@@ -2563,20 +2565,20 @@ function Kn(e) {
|
|
2563
2565
|
var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
|
2564
2566
|
return i[0];
|
2565
2567
|
}
|
2566
|
-
var $e,
|
2568
|
+
var $e, ni = new RegExp("^".concat(dr.source, "*")), ii = new RegExp("".concat(dr.source, "*$"));
|
2567
2569
|
function y(e, t) {
|
2568
2570
|
return { start: e, end: t };
|
2569
2571
|
}
|
2570
|
-
var
|
2572
|
+
var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), si = !!String.fromCodePoint, ai = !!Object.fromEntries, li = !!String.prototype.codePointAt, ui = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, fi = ci ? Number.isSafeInteger : function(e) {
|
2571
2573
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
2572
|
-
},
|
2574
|
+
}, Ze = !0;
|
2573
2575
|
try {
|
2574
|
-
var
|
2575
|
-
|
2576
|
+
var di = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2577
|
+
Ze = (($e = di.exec("a")) === null || $e === void 0 ? void 0 : $e[0]) === "a";
|
2576
2578
|
} catch (e) {
|
2577
|
-
|
2579
|
+
Ze = !1;
|
2578
2580
|
}
|
2579
|
-
var
|
2581
|
+
var Bt = oi ? (
|
2580
2582
|
// Native
|
2581
2583
|
function(t, r, n) {
|
2582
2584
|
return t.startsWith(r, n);
|
@@ -2586,7 +2588,7 @@ var Ht = ri ? (
|
|
2586
2588
|
function(t, r, n) {
|
2587
2589
|
return t.slice(n, n + r.length) === r;
|
2588
2590
|
}
|
2589
|
-
),
|
2591
|
+
), Qe = si ? String.fromCodePoint : (
|
2590
2592
|
// IE11
|
2591
2593
|
function() {
|
2592
2594
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -2598,9 +2600,9 @@ var Ht = ri ? (
|
|
2598
2600
|
}
|
2599
2601
|
return n;
|
2600
2602
|
}
|
2601
|
-
),
|
2603
|
+
), At = (
|
2602
2604
|
// native
|
2603
|
-
|
2605
|
+
ai ? Object.fromEntries : (
|
2604
2606
|
// Ponyfill
|
2605
2607
|
function(t) {
|
2606
2608
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -2610,7 +2612,7 @@ var Ht = ri ? (
|
|
2610
2612
|
return r;
|
2611
2613
|
}
|
2612
2614
|
)
|
2613
|
-
),
|
2615
|
+
), gr = li ? (
|
2614
2616
|
// Native
|
2615
2617
|
function(t, r) {
|
2616
2618
|
return t.codePointAt(r);
|
@@ -2624,7 +2626,7 @@ var Ht = ri ? (
|
|
2624
2626
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
2625
2627
|
}
|
2626
2628
|
}
|
2627
|
-
),
|
2629
|
+
), pi = ui ? (
|
2628
2630
|
// Native
|
2629
2631
|
function(t) {
|
2630
2632
|
return t.trimStart();
|
@@ -2632,9 +2634,9 @@ var Ht = ri ? (
|
|
2632
2634
|
) : (
|
2633
2635
|
// Ponyfill
|
2634
2636
|
function(t) {
|
2635
|
-
return t.replace(
|
2637
|
+
return t.replace(ni, "");
|
2636
2638
|
}
|
2637
|
-
),
|
2639
|
+
), mi = hi ? (
|
2638
2640
|
// Native
|
2639
2641
|
function(t) {
|
2640
2642
|
return t.trimEnd();
|
@@ -2642,32 +2644,32 @@ var Ht = ri ? (
|
|
2642
2644
|
) : (
|
2643
2645
|
// Ponyfill
|
2644
2646
|
function(t) {
|
2645
|
-
return t.replace(
|
2647
|
+
return t.replace(ii, "");
|
2646
2648
|
}
|
2647
2649
|
);
|
2648
|
-
function
|
2650
|
+
function vr(e, t) {
|
2649
2651
|
return new RegExp(e, t);
|
2650
2652
|
}
|
2651
|
-
var
|
2652
|
-
if (
|
2653
|
-
var
|
2654
|
-
|
2653
|
+
var qe;
|
2654
|
+
if (Ze) {
|
2655
|
+
var Ot = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
2656
|
+
qe = function(t, r) {
|
2655
2657
|
var n;
|
2656
|
-
|
2657
|
-
var i =
|
2658
|
+
Ot.lastIndex = r;
|
2659
|
+
var i = Ot.exec(t);
|
2658
2660
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
2659
2661
|
};
|
2660
2662
|
} else
|
2661
|
-
|
2663
|
+
qe = function(t, r) {
|
2662
2664
|
for (var n = []; ; ) {
|
2663
|
-
var i =
|
2664
|
-
if (i === void 0 ||
|
2665
|
+
var i = gr(t, r);
|
2666
|
+
if (i === void 0 || yr(i) || yi(i))
|
2665
2667
|
break;
|
2666
2668
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
2667
2669
|
}
|
2668
|
-
return
|
2670
|
+
return Qe.apply(void 0, n);
|
2669
2671
|
};
|
2670
|
-
var
|
2672
|
+
var bi = (
|
2671
2673
|
/** @class */
|
2672
2674
|
function() {
|
2673
2675
|
function e(t, r) {
|
@@ -2698,7 +2700,7 @@ var di = (
|
|
2698
2700
|
if (n)
|
2699
2701
|
break;
|
2700
2702
|
return this.error(v.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
2701
|
-
} else if (o === 60 && !this.ignoreTag &&
|
2703
|
+
} else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
|
2702
2704
|
var s = this.parseTag(t, r);
|
2703
2705
|
if (s.err)
|
2704
2706
|
return s;
|
@@ -2731,7 +2733,7 @@ var di = (
|
|
2731
2733
|
return o;
|
2732
2734
|
var s = o.val, a = this.clonePosition();
|
2733
2735
|
if (this.bumpIf("</")) {
|
2734
|
-
if (this.isEOF() || !
|
2736
|
+
if (this.isEOF() || !Je(this.char()))
|
2735
2737
|
return this.error(v.INVALID_TAG, y(a, this.clonePosition()));
|
2736
2738
|
var h = this.clonePosition(), u = this.parseTagName();
|
2737
2739
|
return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
@@ -2749,7 +2751,7 @@ var di = (
|
|
2749
2751
|
return this.error(v.INVALID_TAG, y(n, this.clonePosition()));
|
2750
2752
|
}, e.prototype.parseTagName = function() {
|
2751
2753
|
var t = this.offset();
|
2752
|
-
for (this.bump(); !this.isEOF() &&
|
2754
|
+
for (this.bump(); !this.isEOF() && vi(this.char()); )
|
2753
2755
|
this.bump();
|
2754
2756
|
return this.message.slice(t, this.offset());
|
2755
2757
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -2778,7 +2780,7 @@ var di = (
|
|
2778
2780
|
};
|
2779
2781
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
2780
2782
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
2781
|
-
!
|
2783
|
+
!gi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
2782
2784
|
}, e.prototype.tryParseQuote = function(t) {
|
2783
2785
|
if (this.isEOF() || this.char() !== 39)
|
2784
2786
|
return null;
|
@@ -2812,12 +2814,12 @@ var di = (
|
|
2812
2814
|
r.push(n);
|
2813
2815
|
this.bump();
|
2814
2816
|
}
|
2815
|
-
return
|
2817
|
+
return Qe.apply(void 0, r);
|
2816
2818
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
2817
2819
|
if (this.isEOF())
|
2818
2820
|
return null;
|
2819
2821
|
var n = this.char();
|
2820
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
2822
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
|
2821
2823
|
}, e.prototype.parseArgument = function(t, r) {
|
2822
2824
|
var n = this.clonePosition();
|
2823
2825
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -2846,7 +2848,7 @@ var di = (
|
|
2846
2848
|
return this.error(v.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
2847
2849
|
}
|
2848
2850
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
2849
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
2851
|
+
var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
|
2850
2852
|
this.bumpTo(i);
|
2851
2853
|
var o = this.clonePosition(), s = y(t, o);
|
2852
2854
|
return { value: n, location: s };
|
@@ -2865,7 +2867,7 @@ var di = (
|
|
2865
2867
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
2866
2868
|
if (f.err)
|
2867
2869
|
return f;
|
2868
|
-
var c =
|
2870
|
+
var c = mi(f.val);
|
2869
2871
|
if (c.length === 0)
|
2870
2872
|
return this.error(v.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
2871
2873
|
var d = y(l, this.clonePosition());
|
@@ -2875,8 +2877,8 @@ var di = (
|
|
2875
2877
|
if (m.err)
|
2876
2878
|
return m;
|
2877
2879
|
var b = y(i, this.clonePosition());
|
2878
|
-
if (u &&
|
2879
|
-
var g =
|
2880
|
+
if (u && Bt(u == null ? void 0 : u.style, "::", 0)) {
|
2881
|
+
var g = pi(u.style.slice(2));
|
2880
2882
|
if (a === "number") {
|
2881
2883
|
var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
2882
2884
|
return f.err ? f : {
|
@@ -2886,13 +2888,13 @@ var di = (
|
|
2886
2888
|
} else {
|
2887
2889
|
if (g.length === 0)
|
2888
2890
|
return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
|
2889
|
-
var
|
2890
|
-
this.locale && (
|
2891
|
+
var E = g;
|
2892
|
+
this.locale && (E = ti(g, this.locale));
|
2891
2893
|
var c = {
|
2892
2894
|
type: K.dateTime,
|
2893
|
-
pattern:
|
2895
|
+
pattern: E,
|
2894
2896
|
location: u.styleLocation,
|
2895
|
-
parsedOptions: this.shouldParseSkeletons ?
|
2897
|
+
parsedOptions: this.shouldParseSkeletons ? Zn(E) : {}
|
2896
2898
|
}, S = a === "date" ? w.date : w.time;
|
2897
2899
|
return {
|
2898
2900
|
val: { type: S, value: n, location: b, style: c },
|
@@ -2938,7 +2940,7 @@ var di = (
|
|
2938
2940
|
val: {
|
2939
2941
|
type: w.select,
|
2940
2942
|
value: n,
|
2941
|
-
options:
|
2943
|
+
options: At(k.val),
|
2942
2944
|
location: W
|
2943
2945
|
},
|
2944
2946
|
err: null
|
@@ -2946,7 +2948,7 @@ var di = (
|
|
2946
2948
|
val: {
|
2947
2949
|
type: w.plural,
|
2948
2950
|
value: n,
|
2949
|
-
options:
|
2951
|
+
options: At(k.val),
|
2950
2952
|
offset: O,
|
2951
2953
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
2952
2954
|
location: W
|
@@ -2997,7 +2999,7 @@ var di = (
|
|
2997
2999
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
2998
3000
|
var n = [];
|
2999
3001
|
try {
|
3000
|
-
n =
|
3002
|
+
n = qn(t);
|
3001
3003
|
} catch (i) {
|
3002
3004
|
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
3003
3005
|
}
|
@@ -3006,7 +3008,7 @@ var di = (
|
|
3006
3008
|
type: K.number,
|
3007
3009
|
tokens: n,
|
3008
3010
|
location: r,
|
3009
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3011
|
+
parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
|
3010
3012
|
},
|
3011
3013
|
err: null
|
3012
3014
|
};
|
@@ -3054,7 +3056,7 @@ var di = (
|
|
3054
3056
|
break;
|
3055
3057
|
}
|
3056
3058
|
var h = y(i, this.clonePosition());
|
3057
|
-
return o ? (s *= n,
|
3059
|
+
return o ? (s *= n, fi(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
3058
3060
|
}, e.prototype.offset = function() {
|
3059
3061
|
return this.position.offset;
|
3060
3062
|
}, e.prototype.isEOF = function() {
|
@@ -3069,7 +3071,7 @@ var di = (
|
|
3069
3071
|
var t = this.position.offset;
|
3070
3072
|
if (t >= this.message.length)
|
3071
3073
|
throw Error("out of bound");
|
3072
|
-
var r =
|
3074
|
+
var r = gr(this.message, t);
|
3073
3075
|
if (r === void 0)
|
3074
3076
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3075
3077
|
return r;
|
@@ -3088,7 +3090,7 @@ var di = (
|
|
3088
3090
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
3089
3091
|
}
|
3090
3092
|
}, e.prototype.bumpIf = function(t) {
|
3091
|
-
if (
|
3093
|
+
if (Bt(this.message, t, this.offset())) {
|
3092
3094
|
for (var r = 0; r < t.length; r++)
|
3093
3095
|
this.bump();
|
3094
3096
|
return !0;
|
@@ -3110,7 +3112,7 @@ var di = (
|
|
3110
3112
|
break;
|
3111
3113
|
}
|
3112
3114
|
}, e.prototype.bumpSpace = function() {
|
3113
|
-
for (; !this.isEOF() &&
|
3115
|
+
for (; !this.isEOF() && yr(this.char()); )
|
3114
3116
|
this.bump();
|
3115
3117
|
}, e.prototype.peek = function() {
|
3116
3118
|
if (this.isEOF())
|
@@ -3120,38 +3122,38 @@ var di = (
|
|
3120
3122
|
}, e;
|
3121
3123
|
}()
|
3122
3124
|
);
|
3123
|
-
function
|
3125
|
+
function Je(e) {
|
3124
3126
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3125
3127
|
}
|
3126
|
-
function
|
3127
|
-
return
|
3128
|
+
function gi(e) {
|
3129
|
+
return Je(e) || e === 47;
|
3128
3130
|
}
|
3129
|
-
function
|
3131
|
+
function vi(e) {
|
3130
3132
|
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
3133
|
}
|
3132
|
-
function
|
3134
|
+
function yr(e) {
|
3133
3135
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3134
3136
|
}
|
3135
|
-
function
|
3137
|
+
function yi(e) {
|
3136
3138
|
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
3139
|
}
|
3138
|
-
function
|
3140
|
+
function Ye(e) {
|
3139
3141
|
e.forEach(function(t) {
|
3140
|
-
if (delete t.location,
|
3142
|
+
if (delete t.location, ur(t) || hr(t))
|
3141
3143
|
for (var r in t.options)
|
3142
|
-
delete t.options[r].location,
|
3144
|
+
delete t.options[r].location, Ye(t.options[r].value);
|
3143
3145
|
else
|
3144
|
-
|
3146
|
+
sr(t) && fr(t.style) || (ar(t) || lr(t)) && ze(t.style) ? delete t.style.location : cr(t) && Ye(t.children);
|
3145
3147
|
});
|
3146
3148
|
}
|
3147
|
-
function
|
3149
|
+
function _i(e, t) {
|
3148
3150
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3149
|
-
var r = new
|
3151
|
+
var r = new bi(e, t).parse();
|
3150
3152
|
if (r.err) {
|
3151
3153
|
var n = SyntaxError(v[r.err.kind]);
|
3152
3154
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3153
3155
|
}
|
3154
|
-
return t != null && t.captureLocation ||
|
3156
|
+
return t != null && t.captureLocation || Ye(r.val), r.val;
|
3155
3157
|
}
|
3156
3158
|
var ee;
|
3157
3159
|
(function(e) {
|
@@ -3169,7 +3171,7 @@ var Ce = (
|
|
3169
3171
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3170
3172
|
}, t;
|
3171
3173
|
}(Error)
|
3172
|
-
),
|
3174
|
+
), Lt = (
|
3173
3175
|
/** @class */
|
3174
3176
|
function(e) {
|
3175
3177
|
F(t, e);
|
@@ -3178,7 +3180,7 @@ var Ce = (
|
|
3178
3180
|
}
|
3179
3181
|
return t;
|
3180
3182
|
}(Ce)
|
3181
|
-
),
|
3183
|
+
), Ei = (
|
3182
3184
|
/** @class */
|
3183
3185
|
function(e) {
|
3184
3186
|
F(t, e);
|
@@ -3187,7 +3189,7 @@ var Ce = (
|
|
3187
3189
|
}
|
3188
3190
|
return t;
|
3189
3191
|
}(Ce)
|
3190
|
-
),
|
3192
|
+
), xi = (
|
3191
3193
|
/** @class */
|
3192
3194
|
function(e) {
|
3193
3195
|
F(t, e);
|
@@ -3200,17 +3202,17 @@ var Ce = (
|
|
3200
3202
|
(function(e) {
|
3201
3203
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3202
3204
|
})(A || (A = {}));
|
3203
|
-
function
|
3205
|
+
function Si(e) {
|
3204
3206
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3205
3207
|
var n = t[t.length - 1];
|
3206
3208
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
3207
3209
|
}, []);
|
3208
3210
|
}
|
3209
|
-
function
|
3211
|
+
function wi(e) {
|
3210
3212
|
return typeof e == "function";
|
3211
3213
|
}
|
3212
3214
|
function be(e, t, r, n, i, o, s) {
|
3213
|
-
if (e.length === 1 &&
|
3215
|
+
if (e.length === 1 && Tt(e[0]))
|
3214
3216
|
return [
|
3215
3217
|
{
|
3216
3218
|
type: A.literal,
|
@@ -3219,14 +3221,14 @@ function be(e, t, r, n, i, o, s) {
|
|
3219
3221
|
];
|
3220
3222
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3221
3223
|
var l = u[h];
|
3222
|
-
if (
|
3224
|
+
if (Tt(l)) {
|
3223
3225
|
a.push({
|
3224
3226
|
type: A.literal,
|
3225
3227
|
value: l.value
|
3226
3228
|
});
|
3227
3229
|
continue;
|
3228
3230
|
}
|
3229
|
-
if (
|
3231
|
+
if (Wn(l)) {
|
3230
3232
|
typeof o == "number" && a.push({
|
3231
3233
|
type: A.literal,
|
3232
3234
|
value: r.getNumberFormat(t).format(o)
|
@@ -3235,44 +3237,44 @@ function be(e, t, r, n, i, o, s) {
|
|
3235
3237
|
}
|
3236
3238
|
var f = l.value;
|
3237
3239
|
if (!(i && f in i))
|
3238
|
-
throw new
|
3240
|
+
throw new xi(f, s);
|
3239
3241
|
var c = i[f];
|
3240
|
-
if (
|
3242
|
+
if (Xn(l)) {
|
3241
3243
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3242
3244
|
type: typeof c == "string" ? A.literal : A.object,
|
3243
3245
|
value: c
|
3244
3246
|
});
|
3245
3247
|
continue;
|
3246
3248
|
}
|
3247
|
-
if (
|
3248
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3249
|
+
if (ar(l)) {
|
3250
|
+
var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
|
3249
3251
|
a.push({
|
3250
3252
|
type: A.literal,
|
3251
3253
|
value: r.getDateTimeFormat(t, d).format(c)
|
3252
3254
|
});
|
3253
3255
|
continue;
|
3254
3256
|
}
|
3255
|
-
if (
|
3256
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3257
|
+
if (lr(l)) {
|
3258
|
+
var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
|
3257
3259
|
a.push({
|
3258
3260
|
type: A.literal,
|
3259
3261
|
value: r.getDateTimeFormat(t, d).format(c)
|
3260
3262
|
});
|
3261
3263
|
continue;
|
3262
3264
|
}
|
3263
|
-
if (
|
3264
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
3265
|
+
if (sr(l)) {
|
3266
|
+
var d = typeof l.style == "string" ? n.number[l.style] : fr(l.style) ? l.style.parsedOptions : void 0;
|
3265
3267
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
3266
3268
|
type: A.literal,
|
3267
3269
|
value: r.getNumberFormat(t, d).format(c)
|
3268
3270
|
});
|
3269
3271
|
continue;
|
3270
3272
|
}
|
3271
|
-
if (
|
3273
|
+
if (cr(l)) {
|
3272
3274
|
var m = l.children, b = l.value, g = i[b];
|
3273
|
-
if (!
|
3274
|
-
throw new
|
3275
|
-
var
|
3275
|
+
if (!wi(g))
|
3276
|
+
throw new Ei(b, "function", s);
|
3277
|
+
var E = be(m, t, r, n, i, o), S = g(E.map(function(O) {
|
3276
3278
|
return O.value;
|
3277
3279
|
}));
|
3278
3280
|
Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(O) {
|
@@ -3282,14 +3284,14 @@ function be(e, t, r, n, i, o, s) {
|
|
3282
3284
|
};
|
3283
3285
|
}));
|
3284
3286
|
}
|
3285
|
-
if (
|
3287
|
+
if (ur(l)) {
|
3286
3288
|
var T = l.options[c] || l.options.other;
|
3287
3289
|
if (!T)
|
3288
|
-
throw new
|
3290
|
+
throw new Lt(l.value, c, Object.keys(l.options), s);
|
3289
3291
|
a.push.apply(a, be(T.value, t, r, n, i));
|
3290
3292
|
continue;
|
3291
3293
|
}
|
3292
|
-
if (
|
3294
|
+
if (hr(l)) {
|
3293
3295
|
var T = l.options["=".concat(c)];
|
3294
3296
|
if (!T) {
|
3295
3297
|
if (!Intl.PluralRules)
|
@@ -3300,21 +3302,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3300
3302
|
T = l.options[H] || l.options.other;
|
3301
3303
|
}
|
3302
3304
|
if (!T)
|
3303
|
-
throw new
|
3305
|
+
throw new Lt(l.value, c, Object.keys(l.options), s);
|
3304
3306
|
a.push.apply(a, be(T.value, t, r, n, i, c - (l.offset || 0)));
|
3305
3307
|
continue;
|
3306
3308
|
}
|
3307
3309
|
}
|
3308
|
-
return
|
3310
|
+
return Si(a);
|
3309
3311
|
}
|
3310
|
-
function
|
3312
|
+
function Ti(e, t) {
|
3311
3313
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3312
3314
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
3313
3315
|
}, {})) : e;
|
3314
3316
|
}
|
3315
|
-
function
|
3317
|
+
function Hi(e, t) {
|
3316
3318
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3317
|
-
return r[n] =
|
3319
|
+
return r[n] = Ti(e[n], t[n]), r;
|
3318
3320
|
}, _({}, e)) : e;
|
3319
3321
|
}
|
3320
3322
|
function Ge(e) {
|
@@ -3331,7 +3333,7 @@ function Ge(e) {
|
|
3331
3333
|
}
|
3332
3334
|
};
|
3333
3335
|
}
|
3334
|
-
function
|
3336
|
+
function Ci(e) {
|
3335
3337
|
return e === void 0 && (e = {
|
3336
3338
|
number: {},
|
3337
3339
|
dateTime: {},
|
@@ -3363,7 +3365,7 @@ function wi(e) {
|
|
3363
3365
|
})
|
3364
3366
|
};
|
3365
3367
|
}
|
3366
|
-
var
|
3368
|
+
var Pi = (
|
3367
3369
|
/** @class */
|
3368
3370
|
function() {
|
3369
3371
|
function e(t, r, n, i) {
|
@@ -3395,13 +3397,13 @@ var Ti = (
|
|
3395
3397
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3396
3398
|
var s = i || {};
|
3397
3399
|
s.formatters;
|
3398
|
-
var a =
|
3400
|
+
var a = Gn(s, ["formatters"]);
|
3399
3401
|
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
3400
3402
|
} else
|
3401
3403
|
this.ast = t;
|
3402
3404
|
if (!Array.isArray(this.ast))
|
3403
3405
|
throw new TypeError("A message must be provided as a String or AST.");
|
3404
|
-
this.formats =
|
3406
|
+
this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
|
3405
3407
|
}
|
3406
3408
|
return Object.defineProperty(e, "defaultLocale", {
|
3407
3409
|
get: function() {
|
@@ -3414,7 +3416,7 @@ var Ti = (
|
|
3414
3416
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3415
3417
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3416
3418
|
}
|
3417
|
-
}, e.__parse =
|
3419
|
+
}, e.__parse = _i, e.formats = {
|
3418
3420
|
number: {
|
3419
3421
|
integer: {
|
3420
3422
|
maximumFractionDigits: 0
|
@@ -3475,7 +3477,7 @@ var Ti = (
|
|
3475
3477
|
}, e;
|
3476
3478
|
}()
|
3477
3479
|
);
|
3478
|
-
function
|
3480
|
+
function Bi(e, t) {
|
3479
3481
|
if (t == null)
|
3480
3482
|
return;
|
3481
3483
|
if (t in e)
|
@@ -3496,92 +3498,92 @@ function Hi(e, t) {
|
|
3496
3498
|
n = void 0;
|
3497
3499
|
return n;
|
3498
3500
|
}
|
3499
|
-
const j = {},
|
3501
|
+
const j = {}, Ai = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), _r = (e, t) => {
|
3500
3502
|
if (t == null)
|
3501
3503
|
return;
|
3502
3504
|
if (t in j && e in j[t])
|
3503
3505
|
return j[t][e];
|
3504
3506
|
const r = Pe(t);
|
3505
3507
|
for (let n = 0; n < r.length; n++) {
|
3506
|
-
const i = r[n], o =
|
3508
|
+
const i = r[n], o = Li(i, e);
|
3507
3509
|
if (o)
|
3508
|
-
return
|
3510
|
+
return Ai(e, t, o);
|
3509
3511
|
}
|
3510
3512
|
};
|
3511
|
-
let
|
3513
|
+
let at;
|
3512
3514
|
const ce = He({});
|
3513
|
-
function
|
3514
|
-
return
|
3515
|
+
function Oi(e) {
|
3516
|
+
return at[e] || null;
|
3515
3517
|
}
|
3516
|
-
function
|
3517
|
-
return e in
|
3518
|
+
function Er(e) {
|
3519
|
+
return e in at;
|
3518
3520
|
}
|
3519
|
-
function
|
3520
|
-
if (!
|
3521
|
+
function Li(e, t) {
|
3522
|
+
if (!Er(e))
|
3521
3523
|
return null;
|
3522
|
-
const r =
|
3523
|
-
return
|
3524
|
+
const r = Oi(e);
|
3525
|
+
return Bi(r, t);
|
3524
3526
|
}
|
3525
|
-
function
|
3527
|
+
function Ii(e) {
|
3526
3528
|
if (e == null)
|
3527
3529
|
return;
|
3528
3530
|
const t = Pe(e);
|
3529
3531
|
for (let r = 0; r < t.length; r++) {
|
3530
3532
|
const n = t[r];
|
3531
|
-
if (
|
3533
|
+
if (Er(n))
|
3532
3534
|
return n;
|
3533
3535
|
}
|
3534
3536
|
}
|
3535
|
-
function
|
3536
|
-
delete j[e], ce.update((r) => (r[e] =
|
3537
|
+
function xr(e, ...t) {
|
3538
|
+
delete j[e], ce.update((r) => (r[e] = $n.all([r[e] || {}, ...t]), r));
|
3537
3539
|
}
|
3538
3540
|
ne(
|
3539
3541
|
[ce],
|
3540
3542
|
([e]) => Object.keys(e)
|
3541
3543
|
);
|
3542
|
-
ce.subscribe((e) =>
|
3544
|
+
ce.subscribe((e) => at = e);
|
3543
3545
|
const ge = {};
|
3544
|
-
function
|
3546
|
+
function Ni(e, t) {
|
3545
3547
|
ge[e].delete(t), ge[e].size === 0 && delete ge[e];
|
3546
3548
|
}
|
3547
|
-
function
|
3549
|
+
function Sr(e) {
|
3548
3550
|
return ge[e];
|
3549
3551
|
}
|
3550
|
-
function
|
3552
|
+
function Mi(e) {
|
3551
3553
|
return Pe(e).map((t) => {
|
3552
|
-
const r =
|
3554
|
+
const r = Sr(t);
|
3553
3555
|
return [t, r ? [...r] : []];
|
3554
3556
|
}).filter(([, t]) => t.length > 0);
|
3555
3557
|
}
|
3556
|
-
function
|
3558
|
+
function Ke(e) {
|
3557
3559
|
return e == null ? !1 : Pe(e).some(
|
3558
3560
|
(t) => {
|
3559
3561
|
var r;
|
3560
|
-
return (r =
|
3562
|
+
return (r = Sr(t)) == null ? void 0 : r.size;
|
3561
3563
|
}
|
3562
3564
|
);
|
3563
3565
|
}
|
3564
|
-
function
|
3566
|
+
function Ri(e, t) {
|
3565
3567
|
return Promise.all(
|
3566
|
-
t.map((n) => (
|
3567
|
-
).then((n) =>
|
3568
|
+
t.map((n) => (Ni(e, n), n().then((i) => i.default || i)))
|
3569
|
+
).then((n) => xr(e, ...n));
|
3568
3570
|
}
|
3569
3571
|
const se = {};
|
3570
|
-
function
|
3571
|
-
if (!
|
3572
|
+
function wr(e) {
|
3573
|
+
if (!Ke(e))
|
3572
3574
|
return e in se ? se[e] : Promise.resolve();
|
3573
|
-
const t =
|
3575
|
+
const t = Mi(e);
|
3574
3576
|
return se[e] = Promise.all(
|
3575
3577
|
t.map(
|
3576
|
-
([r, n]) =>
|
3578
|
+
([r, n]) => Ri(r, n)
|
3577
3579
|
)
|
3578
3580
|
).then(() => {
|
3579
|
-
if (
|
3580
|
-
return
|
3581
|
+
if (Ke(e))
|
3582
|
+
return wr(e);
|
3581
3583
|
delete se[e];
|
3582
3584
|
}), se[e];
|
3583
3585
|
}
|
3584
|
-
const
|
3586
|
+
const $i = {
|
3585
3587
|
number: {
|
3586
3588
|
scientific: { notation: "scientific" },
|
3587
3589
|
engineering: { notation: "engineering" },
|
@@ -3610,57 +3612,57 @@ const Ni = {
|
|
3610
3612
|
timeZoneName: "short"
|
3611
3613
|
}
|
3612
3614
|
}
|
3613
|
-
},
|
3615
|
+
}, Gi = {
|
3614
3616
|
fallbackLocale: null,
|
3615
3617
|
loadingDelay: 200,
|
3616
|
-
formats:
|
3618
|
+
formats: $i,
|
3617
3619
|
warnOnMissingMessages: !0,
|
3618
3620
|
handleMissingMessage: void 0,
|
3619
3621
|
ignoreTag: !0
|
3620
|
-
},
|
3622
|
+
}, Ui = Gi;
|
3621
3623
|
function te() {
|
3622
|
-
return
|
3624
|
+
return Ui;
|
3623
3625
|
}
|
3624
3626
|
const Ue = He(!1);
|
3625
|
-
var
|
3627
|
+
var Di = Object.defineProperty, Fi = Object.defineProperties, ji = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Vi = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
|
3626
3628
|
for (var r in t || (t = {}))
|
3627
|
-
|
3628
|
-
if (
|
3629
|
-
for (var r of
|
3630
|
-
|
3629
|
+
ki.call(t, r) && Nt(e, r, t[r]);
|
3630
|
+
if (It)
|
3631
|
+
for (var r of It(t))
|
3632
|
+
Vi.call(t, r) && Nt(e, r, t[r]);
|
3631
3633
|
return e;
|
3632
|
-
},
|
3633
|
-
let
|
3634
|
+
}, Wi = (e, t) => Fi(e, ji(t));
|
3635
|
+
let et;
|
3634
3636
|
const Se = He(null);
|
3635
|
-
function
|
3637
|
+
function Mt(e) {
|
3636
3638
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
3637
3639
|
}
|
3638
3640
|
function Pe(e, t = te().fallbackLocale) {
|
3639
|
-
const r =
|
3640
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
3641
|
+
const r = Mt(e);
|
3642
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
|
3641
3643
|
}
|
3642
3644
|
function X() {
|
3643
|
-
return
|
3645
|
+
return et != null ? et : void 0;
|
3644
3646
|
}
|
3645
3647
|
Se.subscribe((e) => {
|
3646
|
-
|
3648
|
+
et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
3647
3649
|
});
|
3648
|
-
const
|
3649
|
-
if (e &&
|
3650
|
+
const zi = (e) => {
|
3651
|
+
if (e && Ii(e) && Ke(e)) {
|
3650
3652
|
const { loadingDelay: t } = te();
|
3651
3653
|
let r;
|
3652
3654
|
return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
|
3653
3655
|
() => Ue.set(!0),
|
3654
3656
|
t
|
3655
|
-
) : Ue.set(!0),
|
3657
|
+
) : Ue.set(!0), wr(e).then(() => {
|
3656
3658
|
Se.set(e);
|
3657
3659
|
}).finally(() => {
|
3658
3660
|
clearTimeout(r), Ue.set(!1);
|
3659
3661
|
});
|
3660
3662
|
}
|
3661
3663
|
return Se.set(e);
|
3662
|
-
}, ie =
|
3663
|
-
set:
|
3664
|
+
}, ie = Wi(Xi({}, Se), {
|
3665
|
+
set: zi
|
3664
3666
|
}), Be = (e) => {
|
3665
3667
|
const t = /* @__PURE__ */ Object.create(null);
|
3666
3668
|
return (n) => {
|
@@ -3668,20 +3670,20 @@ const Vi = (e) => {
|
|
3668
3670
|
return i in t ? t[i] : t[i] = e(n);
|
3669
3671
|
};
|
3670
3672
|
};
|
3671
|
-
var
|
3673
|
+
var Zi = Object.defineProperty, we = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
3672
3674
|
for (var r in t || (t = {}))
|
3673
|
-
|
3675
|
+
Tr.call(t, r) && Rt(e, r, t[r]);
|
3674
3676
|
if (we)
|
3675
3677
|
for (var r of we(t))
|
3676
|
-
|
3678
|
+
Hr.call(t, r) && Rt(e, r, t[r]);
|
3677
3679
|
return e;
|
3678
3680
|
}, oe = (e, t) => {
|
3679
3681
|
var r = {};
|
3680
3682
|
for (var n in e)
|
3681
|
-
|
3683
|
+
Tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
3682
3684
|
if (e != null && we)
|
3683
3685
|
for (var n of we(e))
|
3684
|
-
t.indexOf(n) < 0 &&
|
3686
|
+
t.indexOf(n) < 0 && Hr.call(e, n) && (r[n] = e[n]);
|
3685
3687
|
return r;
|
3686
3688
|
};
|
3687
3689
|
const he = (e, t) => {
|
@@ -3689,21 +3691,21 @@ const he = (e, t) => {
|
|
3689
3691
|
if (e in r && t in r[e])
|
3690
3692
|
return r[e][t];
|
3691
3693
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
3692
|
-
},
|
3694
|
+
}, Qi = Be(
|
3693
3695
|
(e) => {
|
3694
3696
|
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
3695
3697
|
if (r == null)
|
3696
3698
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
3697
3699
|
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
3698
3700
|
}
|
3699
|
-
),
|
3701
|
+
), qi = Be(
|
3700
3702
|
(e) => {
|
3701
3703
|
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
3702
3704
|
if (r == null)
|
3703
3705
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
3704
3706
|
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
3705
3707
|
}
|
3706
|
-
),
|
3708
|
+
), Ji = Be(
|
3707
3709
|
(e) => {
|
3708
3710
|
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
3709
3711
|
if (r == null)
|
@@ -3712,33 +3714,33 @@ const he = (e, t) => {
|
|
3712
3714
|
);
|
3713
3715
|
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
3714
3716
|
}
|
3715
|
-
),
|
3717
|
+
), Yi = (e = {}) => {
|
3716
3718
|
var t = e, {
|
3717
3719
|
locale: r = X()
|
3718
3720
|
} = t, n = oe(t, [
|
3719
3721
|
"locale"
|
3720
3722
|
]);
|
3721
|
-
return
|
3722
|
-
},
|
3723
|
+
return Qi(lt({ locale: r }, n));
|
3724
|
+
}, Ki = (e = {}) => {
|
3723
3725
|
var t = e, {
|
3724
3726
|
locale: r = X()
|
3725
3727
|
} = t, n = oe(t, [
|
3726
3728
|
"locale"
|
3727
3729
|
]);
|
3728
|
-
return
|
3729
|
-
},
|
3730
|
+
return qi(lt({ locale: r }, n));
|
3731
|
+
}, eo = (e = {}) => {
|
3730
3732
|
var t = e, {
|
3731
3733
|
locale: r = X()
|
3732
3734
|
} = t, n = oe(t, [
|
3733
3735
|
"locale"
|
3734
3736
|
]);
|
3735
|
-
return
|
3736
|
-
},
|
3737
|
+
return Ji(lt({ locale: r }, n));
|
3738
|
+
}, to = Be(
|
3737
3739
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
3738
|
-
(e, t = X()) => new
|
3740
|
+
(e, t = X()) => new Pi(e, t, te().formats, {
|
3739
3741
|
ignoreTag: te().ignoreTag
|
3740
3742
|
})
|
3741
|
-
),
|
3743
|
+
), ro = (e, t = {}) => {
|
3742
3744
|
var r, n, i, o;
|
3743
3745
|
let s = t;
|
3744
3746
|
typeof e == "object" && (s = e, e = s.id);
|
@@ -3751,7 +3753,7 @@ const he = (e, t) => {
|
|
3751
3753
|
throw new Error(
|
3752
3754
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
3753
3755
|
);
|
3754
|
-
let l =
|
3756
|
+
let l = _r(e, h);
|
3755
3757
|
if (!l)
|
3756
3758
|
l = (o = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
3757
3759
|
else if (typeof l != "string")
|
@@ -3762,7 +3764,7 @@ const he = (e, t) => {
|
|
3762
3764
|
return l;
|
3763
3765
|
let f = l;
|
3764
3766
|
try {
|
3765
|
-
f =
|
3767
|
+
f = to(l, h).format(a);
|
3766
3768
|
} catch (c) {
|
3767
3769
|
c instanceof Error && console.warn(
|
3768
3770
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -3770,18 +3772,18 @@ const he = (e, t) => {
|
|
3770
3772
|
);
|
3771
3773
|
}
|
3772
3774
|
return f;
|
3773
|
-
},
|
3774
|
-
ne([ie], () =>
|
3775
|
-
ne([ie], () =>
|
3776
|
-
ne([ie], () =>
|
3777
|
-
ne([ie, ce], () =>
|
3778
|
-
function
|
3779
|
-
|
3780
|
-
}
|
3781
|
-
function
|
3775
|
+
}, no = (e, t) => eo(t).format(e), io = (e, t) => Ki(t).format(e), oo = (e, t) => Yi(t).format(e), so = (e, t = X()) => _r(e, t), ao = ne([ie, ce], () => ro);
|
3776
|
+
ne([ie], () => no);
|
3777
|
+
ne([ie], () => io);
|
3778
|
+
ne([ie], () => oo);
|
3779
|
+
ne([ie, ce], () => so);
|
3780
|
+
function $t(e, t) {
|
3781
|
+
xr(e, t);
|
3782
|
+
}
|
3783
|
+
function lo(e) {
|
3782
3784
|
ie.set(e);
|
3783
3785
|
}
|
3784
|
-
const
|
3786
|
+
const Gt = {
|
3785
3787
|
en: {
|
3786
3788
|
collections: "Game Collections",
|
3787
3789
|
providers: "Game Providers",
|
@@ -3881,13 +3883,13 @@ const Mt = {
|
|
3881
3883
|
function D(e) {
|
3882
3884
|
return typeof e == "function";
|
3883
3885
|
}
|
3884
|
-
function
|
3886
|
+
function Cr(e) {
|
3885
3887
|
var t = function(n) {
|
3886
3888
|
Error.call(n), n.stack = new Error().stack;
|
3887
3889
|
}, r = e(t);
|
3888
3890
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
3889
3891
|
}
|
3890
|
-
var De =
|
3892
|
+
var De = Cr(function(e) {
|
3891
3893
|
return function(r) {
|
3892
3894
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
3893
3895
|
` + r.map(function(n, i) {
|
@@ -3896,7 +3898,7 @@ var De = wr(function(e) {
|
|
3896
3898
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
3897
3899
|
};
|
3898
3900
|
});
|
3899
|
-
function
|
3901
|
+
function tt(e, t) {
|
3900
3902
|
if (e) {
|
3901
3903
|
var r = e.indexOf(t);
|
3902
3904
|
0 <= r && e.splice(r, 1);
|
@@ -3914,7 +3916,7 @@ var Ae = function() {
|
|
3914
3916
|
if (s)
|
3915
3917
|
if (this._parentage = null, Array.isArray(s))
|
3916
3918
|
try {
|
3917
|
-
for (var a =
|
3919
|
+
for (var a = Xe(s), h = a.next(); !h.done; h = a.next()) {
|
3918
3920
|
var u = h.value;
|
3919
3921
|
u.remove(this);
|
3920
3922
|
}
|
@@ -3941,12 +3943,12 @@ var Ae = function() {
|
|
3941
3943
|
if (f) {
|
3942
3944
|
this._finalizers = null;
|
3943
3945
|
try {
|
3944
|
-
for (var c =
|
3946
|
+
for (var c = Xe(f), d = c.next(); !d.done; d = c.next()) {
|
3945
3947
|
var m = d.value;
|
3946
3948
|
try {
|
3947
|
-
|
3949
|
+
Ut(m);
|
3948
3950
|
} catch (b) {
|
3949
|
-
o = o != null ? o : [], b instanceof De ? o = J(J([],
|
3951
|
+
o = o != null ? o : [], b instanceof De ? o = J(J([], We(o)), We(b.errors)) : o.push(b);
|
3950
3952
|
}
|
3951
3953
|
}
|
3952
3954
|
} catch (b) {
|
@@ -3967,7 +3969,7 @@ var Ae = function() {
|
|
3967
3969
|
var r;
|
3968
3970
|
if (t && t !== this)
|
3969
3971
|
if (this.closed)
|
3970
|
-
|
3972
|
+
Ut(t);
|
3971
3973
|
else {
|
3972
3974
|
if (t instanceof e) {
|
3973
3975
|
if (t.closed || t._hasParent(this))
|
@@ -3984,52 +3986,56 @@ var Ae = function() {
|
|
3984
3986
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
3985
3987
|
}, e.prototype._removeParent = function(t) {
|
3986
3988
|
var r = this._parentage;
|
3987
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
3989
|
+
r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
|
3988
3990
|
}, e.prototype.remove = function(t) {
|
3989
3991
|
var r = this._finalizers;
|
3990
|
-
r &&
|
3992
|
+
r && tt(r, t), t instanceof e && t._removeParent(this);
|
3991
3993
|
}, e.EMPTY = function() {
|
3992
3994
|
var t = new e();
|
3993
3995
|
return t.closed = !0, t;
|
3994
3996
|
}(), e;
|
3995
|
-
}(),
|
3996
|
-
function
|
3997
|
+
}(), Pr = Ae.EMPTY;
|
3998
|
+
function Br(e) {
|
3997
3999
|
return e instanceof Ae || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
|
3998
4000
|
}
|
3999
|
-
function
|
4001
|
+
function Ut(e) {
|
4000
4002
|
D(e) ? e() : e.unsubscribe();
|
4001
4003
|
}
|
4002
|
-
var
|
4003
|
-
|
4004
|
-
|
4004
|
+
var Ar = {
|
4005
|
+
onUnhandledError: null,
|
4006
|
+
onStoppedNotification: null,
|
4007
|
+
Promise: void 0,
|
4008
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
4009
|
+
useDeprecatedNextContext: !1
|
4010
|
+
}, uo = {
|
4005
4011
|
setTimeout: function(e, t) {
|
4006
4012
|
for (var r = [], n = 2; n < arguments.length; n++)
|
4007
4013
|
r[n - 2] = arguments[n];
|
4008
|
-
return setTimeout.apply(void 0, J([e, t],
|
4014
|
+
return setTimeout.apply(void 0, J([e, t], We(r)));
|
4009
4015
|
},
|
4010
4016
|
clearTimeout: function(e) {
|
4011
4017
|
return clearTimeout(e);
|
4012
4018
|
},
|
4013
4019
|
delegate: void 0
|
4014
4020
|
};
|
4015
|
-
function
|
4016
|
-
|
4021
|
+
function ho(e) {
|
4022
|
+
uo.setTimeout(function() {
|
4017
4023
|
throw e;
|
4018
4024
|
});
|
4019
4025
|
}
|
4020
|
-
function
|
4026
|
+
function Dt() {
|
4021
4027
|
}
|
4022
4028
|
function ve(e) {
|
4023
4029
|
e();
|
4024
4030
|
}
|
4025
|
-
var
|
4031
|
+
var Or = function(e) {
|
4026
4032
|
F(t, e);
|
4027
4033
|
function t(r) {
|
4028
4034
|
var n = e.call(this) || this;
|
4029
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
4035
|
+
return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = mo, n;
|
4030
4036
|
}
|
4031
4037
|
return t.create = function(r, n, i) {
|
4032
|
-
return new
|
4038
|
+
return new rt(r, n, i);
|
4033
4039
|
}, t.prototype.next = function(r) {
|
4034
4040
|
this.isStopped || this._next(r);
|
4035
4041
|
}, t.prototype.error = function(r) {
|
@@ -4053,7 +4059,11 @@ var Cr = function(e) {
|
|
4053
4059
|
this.unsubscribe();
|
4054
4060
|
}
|
4055
4061
|
}, t;
|
4056
|
-
}(Ae),
|
4062
|
+
}(Ae), co = Function.prototype.bind;
|
4063
|
+
function Fe(e, t) {
|
4064
|
+
return co.call(e, t);
|
4065
|
+
}
|
4066
|
+
var fo = function() {
|
4057
4067
|
function e(t) {
|
4058
4068
|
this.partialObserver = t;
|
4059
4069
|
}
|
@@ -4084,43 +4094,55 @@ var Cr = function(e) {
|
|
4084
4094
|
pe(r);
|
4085
4095
|
}
|
4086
4096
|
}, e;
|
4087
|
-
}(),
|
4097
|
+
}(), rt = function(e) {
|
4088
4098
|
F(t, e);
|
4089
4099
|
function t(r, n, i) {
|
4090
4100
|
var o = e.call(this) || this, s;
|
4091
|
-
|
4092
|
-
|
4093
|
-
|
4094
|
-
|
4095
|
-
|
4101
|
+
if (D(r) || !r)
|
4102
|
+
s = {
|
4103
|
+
next: r != null ? r : void 0,
|
4104
|
+
error: n != null ? n : void 0,
|
4105
|
+
complete: i != null ? i : void 0
|
4106
|
+
};
|
4107
|
+
else {
|
4108
|
+
var a;
|
4109
|
+
o && Ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
4110
|
+
return o.unsubscribe();
|
4111
|
+
}, s = {
|
4112
|
+
next: r.next && Fe(r.next, a),
|
4113
|
+
error: r.error && Fe(r.error, a),
|
4114
|
+
complete: r.complete && Fe(r.complete, a)
|
4115
|
+
}) : s = r;
|
4116
|
+
}
|
4117
|
+
return o.destination = new fo(s), o;
|
4096
4118
|
}
|
4097
4119
|
return t;
|
4098
|
-
}(
|
4120
|
+
}(Or);
|
4099
4121
|
function pe(e) {
|
4100
|
-
|
4122
|
+
ho(e);
|
4101
4123
|
}
|
4102
|
-
function
|
4124
|
+
function po(e) {
|
4103
4125
|
throw e;
|
4104
4126
|
}
|
4105
|
-
var
|
4127
|
+
var mo = {
|
4106
4128
|
closed: !0,
|
4107
|
-
next:
|
4108
|
-
error:
|
4109
|
-
complete:
|
4110
|
-
},
|
4129
|
+
next: Dt,
|
4130
|
+
error: po,
|
4131
|
+
complete: Dt
|
4132
|
+
}, bo = function() {
|
4111
4133
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
4112
4134
|
}();
|
4113
|
-
function
|
4135
|
+
function go(e) {
|
4114
4136
|
return e;
|
4115
4137
|
}
|
4116
|
-
function
|
4117
|
-
return e.length === 0 ?
|
4138
|
+
function vo(e) {
|
4139
|
+
return e.length === 0 ? go : e.length === 1 ? e[0] : function(r) {
|
4118
4140
|
return e.reduce(function(n, i) {
|
4119
4141
|
return i(n);
|
4120
4142
|
}, r);
|
4121
4143
|
};
|
4122
4144
|
}
|
4123
|
-
var
|
4145
|
+
var Ft = function() {
|
4124
4146
|
function e(t) {
|
4125
4147
|
t && (this._subscribe = t);
|
4126
4148
|
}
|
@@ -4128,7 +4150,7 @@ var Gt = function() {
|
|
4128
4150
|
var r = new e();
|
4129
4151
|
return r.source = this, r.operator = t, r;
|
4130
4152
|
}, e.prototype.subscribe = function(t, r, n) {
|
4131
|
-
var i = this, o =
|
4153
|
+
var i = this, o = _o(t) ? t : new rt(t, r, n);
|
4132
4154
|
return ve(function() {
|
4133
4155
|
var s = i, a = s.operator, h = s.source;
|
4134
4156
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
@@ -4141,8 +4163,8 @@ var Gt = function() {
|
|
4141
4163
|
}
|
4142
4164
|
}, e.prototype.forEach = function(t, r) {
|
4143
4165
|
var n = this;
|
4144
|
-
return r =
|
4145
|
-
var s = new
|
4166
|
+
return r = jt(r), new r(function(i, o) {
|
4167
|
+
var s = new rt({
|
4146
4168
|
next: function(a) {
|
4147
4169
|
try {
|
4148
4170
|
t(a);
|
@@ -4158,15 +4180,15 @@ var Gt = function() {
|
|
4158
4180
|
}, e.prototype._subscribe = function(t) {
|
4159
4181
|
var r;
|
4160
4182
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
4161
|
-
}, e.prototype[
|
4183
|
+
}, e.prototype[bo] = function() {
|
4162
4184
|
return this;
|
4163
4185
|
}, e.prototype.pipe = function() {
|
4164
4186
|
for (var t = [], r = 0; r < arguments.length; r++)
|
4165
4187
|
t[r] = arguments[r];
|
4166
|
-
return
|
4188
|
+
return vo(t)(this);
|
4167
4189
|
}, e.prototype.toPromise = function(t) {
|
4168
4190
|
var r = this;
|
4169
|
-
return t =
|
4191
|
+
return t = jt(t), new t(function(n, i) {
|
4170
4192
|
var o;
|
4171
4193
|
r.subscribe(function(s) {
|
4172
4194
|
return o = s;
|
@@ -4180,32 +4202,32 @@ var Gt = function() {
|
|
4180
4202
|
return new e(t);
|
4181
4203
|
}, e;
|
4182
4204
|
}();
|
4183
|
-
function
|
4205
|
+
function jt(e) {
|
4184
4206
|
var t;
|
4185
|
-
return (t = e != null ? e :
|
4207
|
+
return (t = e != null ? e : Ar.Promise) !== null && t !== void 0 ? t : Promise;
|
4186
4208
|
}
|
4187
|
-
function
|
4209
|
+
function yo(e) {
|
4188
4210
|
return e && D(e.next) && D(e.error) && D(e.complete);
|
4189
4211
|
}
|
4190
|
-
function
|
4191
|
-
return e && e instanceof
|
4212
|
+
function _o(e) {
|
4213
|
+
return e && e instanceof Or || yo(e) && Br(e);
|
4192
4214
|
}
|
4193
|
-
var
|
4215
|
+
var Eo = Cr(function(e) {
|
4194
4216
|
return function() {
|
4195
4217
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
4196
4218
|
};
|
4197
|
-
}),
|
4219
|
+
}), Lr = function(e) {
|
4198
4220
|
F(t, e);
|
4199
4221
|
function t() {
|
4200
4222
|
var r = e.call(this) || this;
|
4201
4223
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
4202
4224
|
}
|
4203
4225
|
return t.prototype.lift = function(r) {
|
4204
|
-
var n = new
|
4226
|
+
var n = new kt(this, this);
|
4205
4227
|
return n.operator = r, n;
|
4206
4228
|
}, t.prototype._throwIfClosed = function() {
|
4207
4229
|
if (this.closed)
|
4208
|
-
throw new
|
4230
|
+
throw new Eo();
|
4209
4231
|
}, t.prototype.next = function(r) {
|
4210
4232
|
var n = this;
|
4211
4233
|
ve(function() {
|
@@ -4213,7 +4235,7 @@ var vo = wr(function(e) {
|
|
4213
4235
|
if (n._throwIfClosed(), !n.isStopped) {
|
4214
4236
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
4215
4237
|
try {
|
4216
|
-
for (var s =
|
4238
|
+
for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
4217
4239
|
var h = a.value;
|
4218
4240
|
h.next(r);
|
4219
4241
|
}
|
@@ -4262,19 +4284,19 @@ var vo = wr(function(e) {
|
|
4262
4284
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
4263
4285
|
}, t.prototype._innerSubscribe = function(r) {
|
4264
4286
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
4265
|
-
return o || s ?
|
4266
|
-
n.currentObservers = null,
|
4287
|
+
return o || s ? Pr : (this.currentObservers = null, a.push(r), new Ae(function() {
|
4288
|
+
n.currentObservers = null, tt(a, r);
|
4267
4289
|
}));
|
4268
4290
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
4269
4291
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
4270
4292
|
i ? r.error(o) : s && r.complete();
|
4271
4293
|
}, t.prototype.asObservable = function() {
|
4272
|
-
var r = new
|
4294
|
+
var r = new Ft();
|
4273
4295
|
return r.source = this, r;
|
4274
4296
|
}, t.create = function(r, n) {
|
4275
|
-
return new
|
4297
|
+
return new kt(r, n);
|
4276
4298
|
}, t;
|
4277
|
-
}(
|
4299
|
+
}(Ft), kt = function(e) {
|
4278
4300
|
F(t, e);
|
4279
4301
|
function t(r, n) {
|
4280
4302
|
var i = e.call(this) || this;
|
@@ -4291,17 +4313,17 @@ var vo = wr(function(e) {
|
|
4291
4313
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
4292
4314
|
}, t.prototype._subscribe = function(r) {
|
4293
4315
|
var n, i;
|
4294
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
4316
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
|
4295
4317
|
}, t;
|
4296
|
-
}(
|
4318
|
+
}(Lr), Ir = {
|
4297
4319
|
now: function() {
|
4298
|
-
return (
|
4320
|
+
return (Ir.delegate || Date).now();
|
4299
4321
|
},
|
4300
4322
|
delegate: void 0
|
4301
|
-
},
|
4323
|
+
}, xo = function(e) {
|
4302
4324
|
F(t, e);
|
4303
4325
|
function t(r, n, i) {
|
4304
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
4326
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ir);
|
4305
4327
|
var o = e.call(this) || this;
|
4306
4328
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
4307
4329
|
}
|
@@ -4321,23 +4343,23 @@ var vo = wr(function(e) {
|
|
4321
4343
|
u && o.splice(0, u + 1);
|
4322
4344
|
}
|
4323
4345
|
}, t;
|
4324
|
-
}(
|
4325
|
-
const
|
4326
|
-
if (
|
4327
|
-
const r = new
|
4328
|
-
|
4346
|
+
}(Lr);
|
4347
|
+
const Vt = [], Xt = {}, So = (e, t = 0) => {
|
4348
|
+
if (Vt.indexOf(e) == -1) {
|
4349
|
+
const r = new xo(t);
|
4350
|
+
Xt[e] = r, Vt.push(e);
|
4329
4351
|
}
|
4330
|
-
return
|
4352
|
+
return Xt[e];
|
4331
4353
|
};
|
4332
|
-
window.emWidgets = { topic:
|
4333
|
-
const
|
4334
|
-
function
|
4354
|
+
window.emWidgets = { topic: So };
|
4355
|
+
const wo = (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));
|
4356
|
+
function To(e, t) {
|
4335
4357
|
if (e) {
|
4336
4358
|
const r = document.createElement("style");
|
4337
4359
|
r.innerHTML = t, e.appendChild(r);
|
4338
4360
|
}
|
4339
4361
|
}
|
4340
|
-
function
|
4362
|
+
function Ho(e, t) {
|
4341
4363
|
const r = new URL(t);
|
4342
4364
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4343
4365
|
const i = document.createElement("style");
|
@@ -4346,7 +4368,7 @@ function So(e, t) {
|
|
4346
4368
|
console.error("There was an error while trying to load client styling from URL", n);
|
4347
4369
|
});
|
4348
4370
|
}
|
4349
|
-
function
|
4371
|
+
function Co(e, t, r) {
|
4350
4372
|
if (window.emMessageBus) {
|
4351
4373
|
const n = document.createElement("style");
|
4352
4374
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4354,18 +4376,18 @@ function wo(e, t, r) {
|
|
4354
4376
|
});
|
4355
4377
|
}
|
4356
4378
|
}
|
4357
|
-
function
|
4358
|
-
|
4379
|
+
function Po(e) {
|
4380
|
+
Kr(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
4381
|
}
|
4360
|
-
function
|
4382
|
+
function Wt(e, t, r) {
|
4361
4383
|
const n = e.slice();
|
4362
4384
|
return n[41] = t[r], n;
|
4363
4385
|
}
|
4364
|
-
function
|
4386
|
+
function zt(e, t, r) {
|
4365
4387
|
const n = e.slice();
|
4366
4388
|
return n[44] = t[r], n;
|
4367
4389
|
}
|
4368
|
-
function
|
4390
|
+
function Bo(e) {
|
4369
4391
|
let t, r, n, i = (
|
4370
4392
|
/*type*/
|
4371
4393
|
(e[0] === "vendor" ? (
|
@@ -4378,19 +4400,19 @@ function Ho(e) {
|
|
4378
4400
|
), o, s, a, h, u, l = (
|
4379
4401
|
/*numberOfSlides*/
|
4380
4402
|
e[7] > /*numberOfVisibleSlides*/
|
4381
|
-
e[8] &&
|
4382
|
-
), f =
|
4403
|
+
e[8] && Zt(e)
|
4404
|
+
), f = xe(
|
4383
4405
|
/*gameCategories*/
|
4384
4406
|
e[3]
|
4385
4407
|
), c = [];
|
4386
4408
|
for (let d = 0; d < f.length; d += 1)
|
4387
|
-
c[d] =
|
4409
|
+
c[d] = Jt(Wt(e, f, d));
|
4388
4410
|
return {
|
4389
4411
|
c() {
|
4390
4412
|
t = P("div"), r = P("div"), n = P("p"), o = Te(i), s = V(), l && l.c(), a = V(), h = P("div");
|
4391
4413
|
for (let d = 0; d < c.length; d += 1)
|
4392
4414
|
c[d].c();
|
4393
|
-
|
4415
|
+
x(n, "class", "Title"), x(r, "class", "CategoriesHeader"), x(h, "class", "CategoriesSlider"), x(t, "class", u = "CasinoCollectionsProviders " + /*mobile*/
|
4394
4416
|
(e[9] ? "Mobile" : "") + " " + /*type*/
|
4395
4417
|
(e[0] === "vendor" ? "Providers" : "Collections"));
|
4396
4418
|
},
|
@@ -4409,18 +4431,18 @@ function Ho(e) {
|
|
4409
4431
|
) : (
|
4410
4432
|
/*$_*/
|
4411
4433
|
d[10]("collections")
|
4412
|
-
)) + "") &&
|
4434
|
+
)) + "") && it(o, i), /*numberOfSlides*/
|
4413
4435
|
d[7] > /*numberOfVisibleSlides*/
|
4414
|
-
d[8] ? l ? l.p(d, m) : (l =
|
4436
|
+
d[8] ? l ? l.p(d, m) : (l = Zt(d), l.c(), l.m(r, null)) : l && (l.d(1), l = null), m[0] & /*gameCategories, openCategory, collectionprovidersgamenames, openGame, titletype*/
|
4415
4437
|
24590) {
|
4416
|
-
f =
|
4438
|
+
f = xe(
|
4417
4439
|
/*gameCategories*/
|
4418
4440
|
d[3]
|
4419
4441
|
);
|
4420
4442
|
let b;
|
4421
4443
|
for (b = 0; b < f.length; b += 1) {
|
4422
|
-
const g =
|
4423
|
-
c[b] ? c[b].p(g, m) : (c[b] =
|
4444
|
+
const g = Wt(d, f, b);
|
4445
|
+
c[b] ? c[b].p(g, m) : (c[b] = Jt(g), c[b].c(), c[b].m(h, null));
|
4424
4446
|
}
|
4425
4447
|
for (; b < c.length; b += 1)
|
4426
4448
|
c[b].d(1);
|
@@ -4429,18 +4451,18 @@ function Ho(e) {
|
|
4429
4451
|
m[0] & /*mobile, type*/
|
4430
4452
|
513 && u !== (u = "CasinoCollectionsProviders " + /*mobile*/
|
4431
4453
|
(d[9] ? "Mobile" : "") + " " + /*type*/
|
4432
|
-
(d[0] === "vendor" ? "Providers" : "Collections")) &&
|
4454
|
+
(d[0] === "vendor" ? "Providers" : "Collections")) && x(t, "class", u);
|
4433
4455
|
},
|
4434
4456
|
d(d) {
|
4435
|
-
d && M(t), l && l.d(),
|
4457
|
+
d && M(t), l && l.d(), tr(c, d), e[25](null);
|
4436
4458
|
}
|
4437
4459
|
};
|
4438
4460
|
}
|
4439
|
-
function
|
4461
|
+
function Ao(e) {
|
4440
4462
|
let t;
|
4441
4463
|
return {
|
4442
4464
|
c() {
|
4443
|
-
t = P("div"),
|
4465
|
+
t = P("div"), x(t, "class", "LoadingSpinner");
|
4444
4466
|
},
|
4445
4467
|
m(r, n) {
|
4446
4468
|
U(r, t, n);
|
@@ -4451,11 +4473,11 @@ function Co(e) {
|
|
4451
4473
|
}
|
4452
4474
|
};
|
4453
4475
|
}
|
4454
|
-
function
|
4476
|
+
function Zt(e) {
|
4455
4477
|
let t, r, n, i, o, s;
|
4456
4478
|
return {
|
4457
4479
|
c() {
|
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>',
|
4480
|
+
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>', x(t, "class", "ButtonsContainer");
|
4459
4481
|
},
|
4460
4482
|
m(a, h) {
|
4461
4483
|
U(a, t, h), C(t, r), C(t, n), C(t, i), o || (s = [
|
@@ -4479,14 +4501,14 @@ function Xt(e) {
|
|
4479
4501
|
}
|
4480
4502
|
};
|
4481
4503
|
}
|
4482
|
-
function
|
4504
|
+
function Oo(e) {
|
4483
4505
|
let t, r = (
|
4484
4506
|
/*category*/
|
4485
4507
|
e[41].name + ""
|
4486
4508
|
), n;
|
4487
4509
|
return {
|
4488
4510
|
c() {
|
4489
|
-
t = P("p"), n = Te(r),
|
4511
|
+
t = P("p"), n = Te(r), x(t, "class", "CategorySlideTitle");
|
4490
4512
|
},
|
4491
4513
|
m(i, o) {
|
4492
4514
|
U(i, t, o), C(t, n);
|
@@ -4494,19 +4516,19 @@ function Po(e) {
|
|
4494
4516
|
p(i, o) {
|
4495
4517
|
o[0] & /*gameCategories*/
|
4496
4518
|
8 && r !== (r = /*category*/
|
4497
|
-
i[41].name + "") &&
|
4519
|
+
i[41].name + "") && it(n, r);
|
4498
4520
|
},
|
4499
4521
|
d(i) {
|
4500
4522
|
i && M(t);
|
4501
4523
|
}
|
4502
4524
|
};
|
4503
4525
|
}
|
4504
|
-
function
|
4526
|
+
function Lo(e) {
|
4505
4527
|
let t, r, n;
|
4506
4528
|
return {
|
4507
4529
|
c() {
|
4508
|
-
t = P("img"),
|
4509
|
-
e[41].icon) ||
|
4530
|
+
t = P("img"), x(t, "class", "CategorySlideLogo"), ye(t.src, r = /*category*/
|
4531
|
+
e[41].icon) || x(t, "src", r), x(t, "alt", n = /*category*/
|
4510
4532
|
e[41].name + " icon");
|
4511
4533
|
},
|
4512
4534
|
m(i, o) {
|
@@ -4515,23 +4537,23 @@ function Bo(e) {
|
|
4515
4537
|
p(i, o) {
|
4516
4538
|
o[0] & /*gameCategories*/
|
4517
4539
|
8 && !ye(t.src, r = /*category*/
|
4518
|
-
i[41].icon) &&
|
4540
|
+
i[41].icon) && x(t, "src", r), o[0] & /*gameCategories*/
|
4519
4541
|
8 && n !== (n = /*category*/
|
4520
|
-
i[41].name + " icon") &&
|
4542
|
+
i[41].name + " icon") && x(t, "alt", n);
|
4521
4543
|
},
|
4522
4544
|
d(i) {
|
4523
4545
|
i && M(t);
|
4524
4546
|
}
|
4525
4547
|
};
|
4526
4548
|
}
|
4527
|
-
function
|
4549
|
+
function Qt(e) {
|
4528
4550
|
let t, r = (
|
4529
4551
|
/*game*/
|
4530
4552
|
e[44].name + ""
|
4531
4553
|
), n, i;
|
4532
4554
|
return {
|
4533
4555
|
c() {
|
4534
|
-
t = P("p"), n = Te(r),
|
4556
|
+
t = P("p"), n = Te(r), x(t, "title", i = /*game*/
|
4535
4557
|
e[44].name);
|
4536
4558
|
},
|
4537
4559
|
m(o, s) {
|
@@ -4540,16 +4562,16 @@ function Wt(e) {
|
|
4540
4562
|
p(o, s) {
|
4541
4563
|
s[0] & /*gameCategories*/
|
4542
4564
|
8 && r !== (r = /*game*/
|
4543
|
-
o[44].name + "") &&
|
4565
|
+
o[44].name + "") && it(n, r), s[0] & /*gameCategories*/
|
4544
4566
|
8 && i !== (i = /*game*/
|
4545
|
-
o[44].name) &&
|
4567
|
+
o[44].name) && x(t, "title", i);
|
4546
4568
|
},
|
4547
4569
|
d(o) {
|
4548
4570
|
o && M(t);
|
4549
4571
|
}
|
4550
4572
|
};
|
4551
4573
|
}
|
4552
|
-
function
|
4574
|
+
function qt(e) {
|
4553
4575
|
let t, r, n, i, o, s, a, h;
|
4554
4576
|
function u() {
|
4555
4577
|
return (
|
@@ -4562,50 +4584,50 @@ function zt(e) {
|
|
4562
4584
|
}
|
4563
4585
|
let l = (
|
4564
4586
|
/*collectionprovidersgamenames*/
|
4565
|
-
e[2] == "true" &&
|
4587
|
+
e[2] == "true" && Qt(e)
|
4566
4588
|
);
|
4567
4589
|
return {
|
4568
4590
|
c() {
|
4569
|
-
t = P("div"), r = P("img"), o = V(), l && l.c(), s = V(),
|
4570
|
-
e[44].defaultThumbnail) ||
|
4571
|
-
e[44].name),
|
4591
|
+
t = P("div"), r = P("img"), o = V(), l && l.c(), s = V(), x(r, "class", "CategorySlideGameImage"), ye(r.src, n = /*game*/
|
4592
|
+
e[44].defaultThumbnail) || x(r, "src", n), x(r, "alt", i = /*game*/
|
4593
|
+
e[44].name), x(t, "class", "CategorySlideGames");
|
4572
4594
|
},
|
4573
4595
|
m(f, c) {
|
4574
|
-
U(f, t, c), C(t, r), C(t, o), l && l.m(t, null), C(t, s), a || (h = _e(r, "click",
|
4596
|
+
U(f, t, c), C(t, r), C(t, o), l && l.m(t, null), C(t, s), a || (h = _e(r, "click", rn(u)), a = !0);
|
4575
4597
|
},
|
4576
4598
|
p(f, c) {
|
4577
4599
|
e = f, c[0] & /*gameCategories*/
|
4578
4600
|
8 && !ye(r.src, n = /*game*/
|
4579
|
-
e[44].defaultThumbnail) &&
|
4601
|
+
e[44].defaultThumbnail) && x(r, "src", n), c[0] & /*gameCategories*/
|
4580
4602
|
8 && i !== (i = /*game*/
|
4581
|
-
e[44].name) &&
|
4582
|
-
e[2] == "true" ? l ? l.p(e, c) : (l =
|
4603
|
+
e[44].name) && x(r, "alt", i), /*collectionprovidersgamenames*/
|
4604
|
+
e[2] == "true" ? l ? l.p(e, c) : (l = Qt(e), l.c(), l.m(t, s)) : l && (l.d(1), l = null);
|
4583
4605
|
},
|
4584
4606
|
d(f) {
|
4585
4607
|
f && M(t), l && l.d(), a = !1, h();
|
4586
4608
|
}
|
4587
4609
|
};
|
4588
4610
|
}
|
4589
|
-
function
|
4611
|
+
function Jt(e) {
|
4590
4612
|
let t, r, n, i, o, s, a, h, u;
|
4591
|
-
function l(g,
|
4613
|
+
function l(g, E) {
|
4592
4614
|
if (
|
4593
4615
|
/*titletype*/
|
4594
4616
|
g[1] === "logo"
|
4595
4617
|
)
|
4596
|
-
return
|
4618
|
+
return Lo;
|
4597
4619
|
if (
|
4598
4620
|
/*titletype*/
|
4599
4621
|
g[1] === "title"
|
4600
4622
|
)
|
4601
|
-
return
|
4623
|
+
return Oo;
|
4602
4624
|
}
|
4603
|
-
let f = l(e), c = f && f(e), d =
|
4625
|
+
let f = l(e), c = f && f(e), d = xe(
|
4604
4626
|
/*category*/
|
4605
4627
|
e[41].games
|
4606
4628
|
), m = [];
|
4607
4629
|
for (let g = 0; g < d.length; g += 1)
|
4608
|
-
m[g] = zt(
|
4630
|
+
m[g] = qt(zt(e, d, g));
|
4609
4631
|
function b() {
|
4610
4632
|
return (
|
4611
4633
|
/*click_handler_1*/
|
@@ -4617,54 +4639,54 @@ function Zt(e) {
|
|
4617
4639
|
}
|
4618
4640
|
return {
|
4619
4641
|
c() {
|
4620
|
-
var g,
|
4642
|
+
var g, E;
|
4621
4643
|
t = P("div"), r = P("div"), n = P("div"), c && c.c(), i = V(), o = P("div");
|
4622
4644
|
for (let S = 0; S < m.length; S += 1)
|
4623
4645
|
m[S].c();
|
4624
|
-
a = V(),
|
4646
|
+
a = V(), x(n, "class", "CategorySlideTopContainer"), x(o, "class", "CategorySlideGameContainer"), x(r, "class", s = "CategorySlide " + /*category*/
|
4625
4647
|
(((g = e[41]) == null ? void 0 : g.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")), Ie(r, "background-image", "url(" + /*category*/
|
4626
|
-
((
|
4648
|
+
((E = e[41]) == null ? void 0 : E.background) + ")"), Ie(r, "background-size", "cover"), x(t, "class", "CategoriesSliderWrapper Animation");
|
4627
4649
|
},
|
4628
|
-
m(g,
|
4629
|
-
U(g, t,
|
4650
|
+
m(g, E) {
|
4651
|
+
U(g, t, E), C(t, r), C(r, n), c && c.m(n, null), C(r, i), C(r, o);
|
4630
4652
|
for (let S = 0; S < m.length; S += 1)
|
4631
4653
|
m[S] && m[S].m(o, null);
|
4632
4654
|
C(t, a), h || (u = _e(r, "click", b), h = !0);
|
4633
4655
|
},
|
4634
|
-
p(g,
|
4656
|
+
p(g, E) {
|
4635
4657
|
var S, T;
|
4636
|
-
if (e = g, f === (f = l(e)) && c ? c.p(e,
|
4658
|
+
if (e = g, f === (f = l(e)) && c ? c.p(e, E) : (c && c.d(1), c = f && f(e), c && (c.c(), c.m(n, null))), E[0] & /*gameCategories, collectionprovidersgamenames, openGame*/
|
4637
4659
|
8204) {
|
4638
|
-
d =
|
4660
|
+
d = xe(
|
4639
4661
|
/*category*/
|
4640
4662
|
e[41].games
|
4641
4663
|
);
|
4642
4664
|
let H;
|
4643
4665
|
for (H = 0; H < d.length; H += 1) {
|
4644
|
-
const O =
|
4645
|
-
m[H] ? m[H].p(O,
|
4666
|
+
const O = zt(e, d, H);
|
4667
|
+
m[H] ? m[H].p(O, E) : (m[H] = qt(O), m[H].c(), m[H].m(o, null));
|
4646
4668
|
}
|
4647
4669
|
for (; H < m.length; H += 1)
|
4648
4670
|
m[H].d(1);
|
4649
4671
|
m.length = d.length;
|
4650
4672
|
}
|
4651
|
-
|
4673
|
+
E[0] & /*gameCategories*/
|
4652
4674
|
8 && s !== (s = "CategorySlide " + /*category*/
|
4653
|
-
(((S = e[41]) == null ? void 0 : S.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) &&
|
4675
|
+
(((S = e[41]) == null ? void 0 : S.flag[0]) === "vendor" ? "CategorySlideNoHighlight" : "")) && x(r, "class", s), E[0] & /*gameCategories*/
|
4654
4676
|
8 && Ie(r, "background-image", "url(" + /*category*/
|
4655
4677
|
((T = e[41]) == null ? void 0 : T.background) + ")");
|
4656
4678
|
},
|
4657
4679
|
d(g) {
|
4658
|
-
g && M(t), c && c.d(),
|
4680
|
+
g && M(t), c && c.d(), tr(m, g), h = !1, u();
|
4659
4681
|
}
|
4660
4682
|
};
|
4661
4683
|
}
|
4662
|
-
function
|
4684
|
+
function Io(e) {
|
4663
4685
|
let t;
|
4664
4686
|
function r(o, s) {
|
4665
4687
|
return (
|
4666
4688
|
/*isLoading*/
|
4667
|
-
o[6] ?
|
4689
|
+
o[6] ? Ao : Bo
|
4668
4690
|
);
|
4669
4691
|
}
|
4670
4692
|
let n = r(e), i = n(e);
|
@@ -4685,55 +4707,55 @@ function Ao(e) {
|
|
4685
4707
|
}
|
4686
4708
|
};
|
4687
4709
|
}
|
4688
|
-
function
|
4710
|
+
function No(e, t, r) {
|
4689
4711
|
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, m = [], b = !0, g,
|
4692
|
-
const
|
4712
|
+
Yr(e, ao, (p) => r(10, n = p));
|
4713
|
+
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, E = 0, S = 0, T = 0, H, O, k = 0, W = 50, Oe = !1, R, Nr = window.navigator.userAgent, ut;
|
4714
|
+
const Mr = () => {
|
4693
4715
|
fetch(f).then((B) => B.json()).then((B) => {
|
4694
4716
|
Object.keys(B).forEach(($) => {
|
4695
|
-
|
4717
|
+
$t($, B[$]);
|
4696
4718
|
});
|
4697
4719
|
}).catch((B) => {
|
4698
4720
|
console.log(B);
|
4699
4721
|
});
|
4700
4722
|
};
|
4701
|
-
Object.keys(
|
4702
|
-
|
4723
|
+
Object.keys(Gt).forEach((p) => {
|
4724
|
+
$t(p, Gt[p]);
|
4703
4725
|
});
|
4704
|
-
const
|
4726
|
+
const ht = () => {
|
4705
4727
|
const p = new URL(`${i}/v2/casino/groups/${o}`);
|
4706
4728
|
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
4729
|
r(6, b = !1), B.total > W && (k += 50, W += 50, r(22, Oe = !0));
|
4708
4730
|
let $ = B.items.map((G) => {
|
4709
|
-
var
|
4731
|
+
var mt, bt, gt;
|
4710
4732
|
return {
|
4711
4733
|
id: G.id,
|
4712
4734
|
name: G.name,
|
4713
|
-
icon: G.icon ? G.icon : (
|
4714
|
-
games: G.games.items.slice(0, 4).map((
|
4735
|
+
icon: G.icon ? G.icon : (gt = (bt = (mt = G.vendors) == null ? void 0 : mt.items[0]) == null ? void 0 : bt.subVendors[0]) == null ? void 0 : gt.logo,
|
4736
|
+
games: G.games.items.slice(0, 4).map((Xr) => Xr),
|
4715
4737
|
background: G.background,
|
4716
4738
|
flag: G.flags
|
4717
4739
|
};
|
4718
4740
|
});
|
4719
|
-
r(3, m = [...m, ...$]), r(7, S = m.length),
|
4741
|
+
r(3, m = [...m, ...$]), r(7, S = m.length), Rr();
|
4720
4742
|
});
|
4721
|
-
},
|
4743
|
+
}, Rr = () => {
|
4722
4744
|
const p = R.getRootNode().host;
|
4723
4745
|
p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
|
4724
|
-
},
|
4746
|
+
}, ct = (p) => {
|
4725
4747
|
O = [...g.children], O.forEach((B, $) => {
|
4726
4748
|
B.style.transform = `translateX(${100 * (p ? $ - p : $)}%)`;
|
4727
|
-
}), H = O[0].getBoundingClientRect().width,
|
4728
|
-
},
|
4749
|
+
}), H = O[0].getBoundingClientRect().width, $r();
|
4750
|
+
}, $r = () => {
|
4729
4751
|
r(8, T = Math.floor(g.clientWidth / H));
|
4730
|
-
},
|
4731
|
-
|
4732
|
-
},
|
4733
|
-
|
4734
|
-
},
|
4735
|
-
|
4736
|
-
},
|
4752
|
+
}, ft = () => {
|
4753
|
+
ct(E);
|
4754
|
+
}, Gr = () => {
|
4755
|
+
E === 0 ? E = S - T : E - T < -1 ? E = 0 : E--, ft();
|
4756
|
+
}, Ur = () => {
|
4757
|
+
E === S - T ? E = 0 : S - T < E + 1 ? E = S - T : E++, ft();
|
4758
|
+
}, dt = (p, B, $, G) => {
|
4737
4759
|
window.postMessage(
|
4738
4760
|
{
|
4739
4761
|
type: "OpenCollectionsProvidersGame",
|
@@ -4747,7 +4769,7 @@ function Oo(e, t, r) {
|
|
4747
4769
|
context: "CollectionsProviders",
|
4748
4770
|
gameName: `${$}`
|
4749
4771
|
});
|
4750
|
-
},
|
4772
|
+
}, pt = (p) => {
|
4751
4773
|
window.postMessage(
|
4752
4774
|
{
|
4753
4775
|
type: "OpenCollectionsProvidersCategory",
|
@@ -4755,19 +4777,19 @@ function Oo(e, t, r) {
|
|
4755
4777
|
},
|
4756
4778
|
window.location.href
|
4757
4779
|
);
|
4758
|
-
},
|
4759
|
-
|
4780
|
+
}, Dr = () => {
|
4781
|
+
lo(s);
|
4760
4782
|
};
|
4761
|
-
|
4783
|
+
an(() => (r(9, ut = wo(Nr)), () => {
|
4762
4784
|
}));
|
4763
|
-
const
|
4764
|
-
function
|
4765
|
-
|
4785
|
+
const Fr = (p) => dt(p.gameId, p.launchUrl, p.name, p.subVendor), jr = (p) => pt(p.id);
|
4786
|
+
function kr(p) {
|
4787
|
+
Ee[p ? "unshift" : "push"](() => {
|
4766
4788
|
g = p, r(4, g);
|
4767
4789
|
});
|
4768
4790
|
}
|
4769
|
-
function
|
4770
|
-
|
4791
|
+
function Vr(p) {
|
4792
|
+
Ee[p ? "unshift" : "push"](() => {
|
4771
4793
|
R = p, r(5, R);
|
4772
4794
|
});
|
4773
4795
|
}
|
@@ -4775,14 +4797,14 @@ function Oo(e, t, r) {
|
|
4775
4797
|
"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);
|
4776
4798
|
}, e.$$.update = () => {
|
4777
4799
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4778
|
-
229376 && i && o && s &&
|
4779
|
-
24 && m && g &&
|
4780
|
-
131072 && s &&
|
4781
|
-
262176 && u && R &&
|
4782
|
-
524320 && l && R &&
|
4783
|
-
2097184 && R &&
|
4784
|
-
1048576 && f &&
|
4785
|
-
4194304 && Oe &&
|
4800
|
+
229376 && i && o && s && ht(), e.$$.dirty[0] & /*gameCategories, categoriesSlider*/
|
4801
|
+
24 && m && g && ct(), e.$$.dirty[0] & /*lang*/
|
4802
|
+
131072 && s && Dr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4803
|
+
262176 && u && R && To(R, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4804
|
+
524320 && l && R && Ho(R, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4805
|
+
2097184 && R && Co(R, `${d}.Style`), e.$$.dirty[0] & /*translationurl*/
|
4806
|
+
1048576 && f && Mr(), e.$$.dirty[0] & /*paginationrequired*/
|
4807
|
+
4194304 && Oe && ht();
|
4786
4808
|
}, [
|
4787
4809
|
a,
|
4788
4810
|
h,
|
@@ -4793,12 +4815,12 @@ function Oo(e, t, r) {
|
|
4793
4815
|
b,
|
4794
4816
|
S,
|
4795
4817
|
T,
|
4796
|
-
|
4818
|
+
ut,
|
4797
4819
|
n,
|
4798
|
-
|
4799
|
-
|
4800
|
-
|
4801
|
-
|
4820
|
+
Gr,
|
4821
|
+
Ur,
|
4822
|
+
dt,
|
4823
|
+
pt,
|
4802
4824
|
i,
|
4803
4825
|
o,
|
4804
4826
|
s,
|
@@ -4807,20 +4829,20 @@ function Oo(e, t, r) {
|
|
4807
4829
|
f,
|
4808
4830
|
d,
|
4809
4831
|
Oe,
|
4810
|
-
|
4811
|
-
|
4812
|
-
|
4813
|
-
|
4832
|
+
Fr,
|
4833
|
+
jr,
|
4834
|
+
kr,
|
4835
|
+
Vr
|
4814
4836
|
];
|
4815
4837
|
}
|
4816
|
-
class
|
4838
|
+
class Mo extends yn {
|
4817
4839
|
constructor(t) {
|
4818
|
-
super(),
|
4840
|
+
super(), gn(
|
4819
4841
|
this,
|
4820
4842
|
t,
|
4821
|
-
|
4822
|
-
|
4823
|
-
|
4843
|
+
No,
|
4844
|
+
Io,
|
4845
|
+
Kt,
|
4824
4846
|
{
|
4825
4847
|
endpoint: 15,
|
4826
4848
|
datasource: 16,
|
@@ -4833,7 +4855,7 @@ class Lo extends mn {
|
|
4833
4855
|
collectionprovidersgamenames: 2,
|
4834
4856
|
mbsource: 21
|
4835
4857
|
},
|
4836
|
-
|
4858
|
+
Po,
|
4837
4859
|
[-1, -1]
|
4838
4860
|
);
|
4839
4861
|
}
|
@@ -4898,7 +4920,7 @@ class Lo extends mn {
|
|
4898
4920
|
this.$$set({ mbsource: t }), N();
|
4899
4921
|
}
|
4900
4922
|
}
|
4901
|
-
|
4923
|
+
vn(Mo, { endpoint: {}, datasource: {}, lang: {}, type: {}, titletype: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, collectionprovidersgamenames: {}, mbsource: {} }, [], [], !0);
|
4902
4924
|
export {
|
4903
|
-
|
4925
|
+
Mo as default
|
4904
4926
|
};
|