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