@everymatrix/casino-my-games 1.59.0 → 1.59.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFavoritesSection-xs6CB--g.js → CasinoFavoritesSection-BV_Rkfna.js} +491 -485
- package/components/{CasinoFavoritesSection-VGZXmQoJ.js → CasinoFavoritesSection-DqjgZJRG.js} +477 -471
- package/components/CasinoFavoritesSection-ezlecd5t.cjs +16 -0
- package/components/{CasinoFilter-DkPoi43o.js → CasinoFilter-8bRSeB4q.js} +380 -359
- package/components/{CasinoFilter-bmnehLwZ.js → CasinoFilter-BkdFjlBb.js} +376 -357
- package/components/CasinoFilter-C5JkknaH.cjs +3 -0
- package/components/CasinoGameThumbnail-Bwo71Pat.cjs +47 -0
- package/components/{CasinoGameThumbnail-D3uCidn9.js → CasinoGameThumbnail-CObFa4Ej.js} +1552 -1536
- package/components/{CasinoGameThumbnail-DXDDwA--.js → CasinoGameThumbnail-Cxu9BGXq.js} +1496 -1480
- package/components/{CasinoGamesCategorySection-BbMPDI1O.js → CasinoGamesCategorySection-BtCN-f-p.js} +458 -453
- package/components/{CasinoGamesCategorySection-DoaruoW4.cjs → CasinoGamesCategorySection-DMtRyewS.cjs} +1 -1
- package/components/{CasinoGamesCategorySection-dxSy4KIJ.js → CasinoGamesCategorySection-DyYqAUXu.js} +425 -420
- package/components/{CasinoLastPlayedSection-Cm6YIE4g.js → CasinoLastPlayedSection-BqdXBj61.js} +34 -34
- package/components/{CasinoLastPlayedSection-D_qb-xMq.js → CasinoLastPlayedSection-CaOmyA6K.js} +34 -34
- package/components/{CasinoLastPlayedSection-CjoY4D-6.cjs → CasinoLastPlayedSection-I6m9kbe8.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-RzQHUnIH.js → CasinoMostPlayedSection-Cv9ZaVmg.js} +49 -49
- package/components/{CasinoMostPlayedSection-CLtKYO0V.cjs → CasinoMostPlayedSection-Dcqdd2m1.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-x7768nTe.js → CasinoMostPlayedSection-tli73o6E.js} +49 -49
- package/components/{CasinoMyGames-e16YWqeC.js → CasinoMyGames-BUyRHRJV.js} +58 -58
- package/components/{CasinoMyGames-BDEQfLwt.js → CasinoMyGames-BtC4A70R.js} +56 -56
- package/components/{CasinoMyGames-DwgOJP5P.cjs → CasinoMyGames-Rdo6ELFH.cjs} +1 -1
- package/components/{CasinoSort-BlQ48TmE.cjs → CasinoSort-B8_m1F4s.cjs} +1 -1
- package/components/{CasinoSort-BmpySokn.js → CasinoSort-BKwH2JVd.js} +99 -100
- package/components/{CasinoSort-U7s4_Vcv.js → CasinoSort-Dgsc5Qxc.js} +109 -108
- package/es2015/casino-my-games.cjs +1 -1
- package/es2015/casino-my-games.js +1 -1
- package/esnext/casino-my-games.js +1 -1
- package/package.json +3 -2
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
- package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
- package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
- package/stencil/ui-skeleton-C1buDKbo.cjs +1 -0
- package/stencil/ui-skeleton-C5gPr5Xv.js +11 -0
- package/stencil/ui-skeleton-M7HNQCk1.js +29 -0
- package/stencil/ui-skeleton-a642cced-BFJMszWG.js +122 -0
- package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
- package/stencil/ui-skeleton-a642cced-p8tGooXk.js +122 -0
- package/components/CasinoFavoritesSection-cQ2QdAEz.cjs +0 -16
- package/components/CasinoFilter-CM_hmPaR.cjs +0 -3
- package/components/CasinoGameThumbnail-BJuIg5Qg.cjs +0 -47
package/components/{CasinoFavoritesSection-VGZXmQoJ.js → CasinoFavoritesSection-DqjgZJRG.js}
RENAMED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function N() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function nt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Fe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function X(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(nt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function le(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function it(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let ne;
|
|
19
|
-
function
|
|
19
|
+
function qn(e, t) {
|
|
20
20
|
return e === t ? !0 : (ne || (ne = document.createElement("a")), ne.href = t, e === ne.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Mt(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function st(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,20 +31,23 @@ function nt(e, ...t) {
|
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Jn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(st(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Yn(e) {
|
|
38
|
+
return e && le(e.destroy) ? e.destroy : N;
|
|
39
|
+
}
|
|
40
|
+
function Rt(e, t) {
|
|
38
41
|
e.appendChild(t);
|
|
39
42
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
43
|
+
function $t(e, t, r) {
|
|
44
|
+
const n = Ut(e);
|
|
42
45
|
if (!n.getElementById(t)) {
|
|
43
46
|
const i = te("style");
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
47
|
+
i.id = t, i.textContent = r, Dt(n, i);
|
|
45
48
|
}
|
|
46
49
|
}
|
|
47
|
-
function
|
|
50
|
+
function Ut(e) {
|
|
48
51
|
if (!e)
|
|
49
52
|
return document;
|
|
50
53
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,39 +57,39 @@ function Rt(e) {
|
|
|
54
57
|
t
|
|
55
58
|
) : e.ownerDocument;
|
|
56
59
|
}
|
|
57
|
-
function
|
|
58
|
-
return
|
|
60
|
+
function Dt(e, t) {
|
|
61
|
+
return Rt(
|
|
59
62
|
/** @type {Document} */
|
|
60
63
|
e.head || e,
|
|
61
64
|
t
|
|
62
65
|
), t.sheet;
|
|
63
66
|
}
|
|
64
|
-
function
|
|
67
|
+
function fe(e, t, r) {
|
|
65
68
|
e.insertBefore(t, r || null);
|
|
66
69
|
}
|
|
67
70
|
function ee(e) {
|
|
68
71
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
72
|
}
|
|
70
|
-
function
|
|
73
|
+
function Kn(e, t) {
|
|
71
74
|
for (let r = 0; r < e.length; r += 1)
|
|
72
75
|
e[r] && e[r].d(t);
|
|
73
76
|
}
|
|
74
77
|
function te(e) {
|
|
75
78
|
return document.createElement(e);
|
|
76
79
|
}
|
|
77
|
-
function
|
|
80
|
+
function Gt(e) {
|
|
78
81
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
82
|
}
|
|
80
|
-
function
|
|
83
|
+
function at(e) {
|
|
81
84
|
return document.createTextNode(e);
|
|
82
85
|
}
|
|
83
|
-
function
|
|
84
|
-
return
|
|
86
|
+
function ei() {
|
|
87
|
+
return at(" ");
|
|
85
88
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
89
|
+
function ti() {
|
|
90
|
+
return at("");
|
|
88
91
|
}
|
|
89
|
-
function
|
|
92
|
+
function ri(e, t, r, n) {
|
|
90
93
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
94
|
}
|
|
92
95
|
function Re(e, t, r) {
|
|
@@ -96,20 +99,20 @@ function g(e, t, r) {
|
|
|
96
99
|
const n = t.toLowerCase();
|
|
97
100
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Re(e, t, r);
|
|
98
101
|
}
|
|
99
|
-
function
|
|
102
|
+
function Ft(e) {
|
|
100
103
|
return Array.from(e.childNodes);
|
|
101
104
|
}
|
|
102
|
-
function
|
|
105
|
+
function ni(e, t) {
|
|
103
106
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
104
107
|
t);
|
|
105
108
|
}
|
|
106
|
-
function
|
|
109
|
+
function ii(e, t) {
|
|
107
110
|
e.value = t ?? "";
|
|
108
111
|
}
|
|
109
|
-
function
|
|
112
|
+
function si(e, t, r) {
|
|
110
113
|
e.classList.toggle(t, !!r);
|
|
111
114
|
}
|
|
112
|
-
class
|
|
115
|
+
class ai {
|
|
113
116
|
/**
|
|
114
117
|
* @private
|
|
115
118
|
* @default false
|
|
@@ -140,7 +143,7 @@ class ii {
|
|
|
140
143
|
* @returns {void}
|
|
141
144
|
*/
|
|
142
145
|
m(t, r, n = null) {
|
|
143
|
-
this.e || (this.is_svg ? this.e =
|
|
146
|
+
this.e || (this.is_svg ? this.e = Gt(
|
|
144
147
|
/** @type {keyof SVGElementTagNameMap} */
|
|
145
148
|
r.nodeName
|
|
146
149
|
) : this.e = te(
|
|
@@ -164,7 +167,7 @@ class ii {
|
|
|
164
167
|
* @returns {void} */
|
|
165
168
|
i(t) {
|
|
166
169
|
for (let r = 0; r < this.n.length; r += 1)
|
|
167
|
-
|
|
170
|
+
fe(this.t, this.n[r], t);
|
|
168
171
|
}
|
|
169
172
|
/**
|
|
170
173
|
* @param {string} html
|
|
@@ -179,7 +182,7 @@ class ii {
|
|
|
179
182
|
this.n.forEach(ee);
|
|
180
183
|
}
|
|
181
184
|
}
|
|
182
|
-
function
|
|
185
|
+
function jt(e) {
|
|
183
186
|
const t = {};
|
|
184
187
|
return e.childNodes.forEach(
|
|
185
188
|
/** @param {Element} node */
|
|
@@ -192,28 +195,28 @@ let J;
|
|
|
192
195
|
function q(e) {
|
|
193
196
|
J = e;
|
|
194
197
|
}
|
|
195
|
-
function
|
|
198
|
+
function kt() {
|
|
196
199
|
if (!J)
|
|
197
200
|
throw new Error("Function called outside component initialization");
|
|
198
201
|
return J;
|
|
199
202
|
}
|
|
200
|
-
function
|
|
201
|
-
|
|
203
|
+
function Vt(e) {
|
|
204
|
+
kt().$$.on_mount.push(e);
|
|
202
205
|
}
|
|
203
|
-
const D = [],
|
|
206
|
+
const D = [], Te = [];
|
|
204
207
|
let G = [];
|
|
205
|
-
const
|
|
206
|
-
let
|
|
207
|
-
function
|
|
208
|
-
|
|
208
|
+
const je = [], ot = /* @__PURE__ */ Promise.resolve();
|
|
209
|
+
let Se = !1;
|
|
210
|
+
function ut() {
|
|
211
|
+
Se || (Se = !0, ot.then(H));
|
|
209
212
|
}
|
|
210
|
-
function
|
|
211
|
-
return
|
|
213
|
+
function oi() {
|
|
214
|
+
return ut(), ot;
|
|
212
215
|
}
|
|
213
|
-
function
|
|
216
|
+
function Be(e) {
|
|
214
217
|
G.push(e);
|
|
215
218
|
}
|
|
216
|
-
const
|
|
219
|
+
const pe = /* @__PURE__ */ new Set();
|
|
217
220
|
let $ = 0;
|
|
218
221
|
function H() {
|
|
219
222
|
if ($ !== 0)
|
|
@@ -223,45 +226,45 @@ function H() {
|
|
|
223
226
|
try {
|
|
224
227
|
for (; $ < D.length; ) {
|
|
225
228
|
const t = D[$];
|
|
226
|
-
$++, q(t),
|
|
229
|
+
$++, q(t), Xt(t.$$);
|
|
227
230
|
}
|
|
228
231
|
} catch (t) {
|
|
229
232
|
throw D.length = 0, $ = 0, t;
|
|
230
233
|
}
|
|
231
|
-
for (q(null), D.length = 0, $ = 0;
|
|
232
|
-
|
|
234
|
+
for (q(null), D.length = 0, $ = 0; Te.length; )
|
|
235
|
+
Te.pop()();
|
|
233
236
|
for (let t = 0; t < G.length; t += 1) {
|
|
234
237
|
const r = G[t];
|
|
235
|
-
|
|
238
|
+
pe.has(r) || (pe.add(r), r());
|
|
236
239
|
}
|
|
237
240
|
G.length = 0;
|
|
238
241
|
} while (D.length);
|
|
239
|
-
for (;
|
|
240
|
-
|
|
241
|
-
|
|
242
|
+
for (; je.length; )
|
|
243
|
+
je.pop()();
|
|
244
|
+
Se = !1, pe.clear(), q(e);
|
|
242
245
|
}
|
|
243
|
-
function
|
|
246
|
+
function Xt(e) {
|
|
244
247
|
if (e.fragment !== null) {
|
|
245
248
|
e.update(), X(e.before_update);
|
|
246
249
|
const t = e.dirty;
|
|
247
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
250
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
|
|
248
251
|
}
|
|
249
252
|
}
|
|
250
|
-
function
|
|
253
|
+
function zt(e) {
|
|
251
254
|
const t = [], r = [];
|
|
252
255
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
253
256
|
}
|
|
254
|
-
const
|
|
255
|
-
function
|
|
256
|
-
e && e.i && (
|
|
257
|
+
const Wt = /* @__PURE__ */ new Set();
|
|
258
|
+
function ht(e, t) {
|
|
259
|
+
e && e.i && (Wt.delete(e), e.i(t));
|
|
257
260
|
}
|
|
258
|
-
function
|
|
261
|
+
function ui(e) {
|
|
259
262
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
260
263
|
}
|
|
261
|
-
function
|
|
264
|
+
function hi(e, t) {
|
|
262
265
|
e.d(1), t.delete(e.key);
|
|
263
266
|
}
|
|
264
|
-
function
|
|
267
|
+
function li(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
265
268
|
let f = e.length, b = s.length, y = f;
|
|
266
269
|
const _ = {};
|
|
267
270
|
for (; y--; )
|
|
@@ -274,7 +277,7 @@ function ui(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
274
277
|
}
|
|
275
278
|
const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
276
279
|
function O(c) {
|
|
277
|
-
|
|
280
|
+
ht(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
|
|
278
281
|
}
|
|
279
282
|
for (; f && b; ) {
|
|
280
283
|
const c = T[b - 1], I = e[f - 1], L = c.key, re = I.key;
|
|
@@ -288,21 +291,21 @@ function ui(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
288
291
|
O(T[b - 1]);
|
|
289
292
|
return X(S), T;
|
|
290
293
|
}
|
|
291
|
-
function
|
|
294
|
+
function Zt(e, t, r) {
|
|
292
295
|
const { fragment: n, after_update: i } = e.$$;
|
|
293
|
-
n && n.m(t, r),
|
|
294
|
-
const s = e.$$.on_mount.map(
|
|
296
|
+
n && n.m(t, r), Be(() => {
|
|
297
|
+
const s = e.$$.on_mount.map(nt).filter(le);
|
|
295
298
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
296
|
-
}), i.forEach(
|
|
299
|
+
}), i.forEach(Be);
|
|
297
300
|
}
|
|
298
|
-
function
|
|
301
|
+
function Qt(e, t) {
|
|
299
302
|
const r = e.$$;
|
|
300
|
-
r.fragment !== null && (
|
|
303
|
+
r.fragment !== null && (zt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
301
304
|
}
|
|
302
|
-
function
|
|
303
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
305
|
+
function qt(e, t) {
|
|
306
|
+
e.$$.dirty[0] === -1 && (D.push(e), ut(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
304
307
|
}
|
|
305
|
-
function
|
|
308
|
+
function Jt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
306
309
|
const l = J;
|
|
307
310
|
q(e);
|
|
308
311
|
const u = e.$$ = {
|
|
@@ -312,7 +315,7 @@ function Qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
312
315
|
props: s,
|
|
313
316
|
update: N,
|
|
314
317
|
not_equal: i,
|
|
315
|
-
bound:
|
|
318
|
+
bound: Fe(),
|
|
316
319
|
// lifecycle
|
|
317
320
|
on_mount: [],
|
|
318
321
|
on_destroy: [],
|
|
@@ -321,7 +324,7 @@ function Qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
321
324
|
after_update: [],
|
|
322
325
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
323
326
|
// everything else
|
|
324
|
-
callbacks:
|
|
327
|
+
callbacks: Fe(),
|
|
325
328
|
dirty: o,
|
|
326
329
|
skip_bound: !1,
|
|
327
330
|
root: t.target || l.$$.root
|
|
@@ -330,19 +333,19 @@ function Qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
330
333
|
let h = !1;
|
|
331
334
|
if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
332
335
|
const y = b.length ? b[0] : f;
|
|
333
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h &&
|
|
336
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h && qt(e, m)), f;
|
|
334
337
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
335
338
|
if (t.hydrate) {
|
|
336
|
-
const m =
|
|
339
|
+
const m = Ft(t.target);
|
|
337
340
|
u.fragment && u.fragment.l(m), m.forEach(ee);
|
|
338
341
|
} else
|
|
339
342
|
u.fragment && u.fragment.c();
|
|
340
|
-
t.intro &&
|
|
343
|
+
t.intro && ht(e.$$.fragment), Zt(e, t.target, t.anchor), H();
|
|
341
344
|
}
|
|
342
345
|
q(l);
|
|
343
346
|
}
|
|
344
|
-
let
|
|
345
|
-
typeof HTMLElement == "function" && (
|
|
347
|
+
let lt;
|
|
348
|
+
typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
346
349
|
/** The Svelte component constructor */
|
|
347
350
|
$$ctor;
|
|
348
351
|
/** Slots */
|
|
@@ -391,7 +394,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
391
394
|
* @param {HTMLElement} [anchor]
|
|
392
395
|
*/
|
|
393
396
|
m: function(l, u) {
|
|
394
|
-
|
|
397
|
+
fe(l, s, u);
|
|
395
398
|
},
|
|
396
399
|
d: function(l) {
|
|
397
400
|
l && ee(s);
|
|
@@ -401,7 +404,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
401
404
|
};
|
|
402
405
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
403
406
|
return;
|
|
404
|
-
const t = {}, r =
|
|
407
|
+
const t = {}, r = jt(this);
|
|
405
408
|
for (const i of this.$$s)
|
|
406
409
|
i in r && (t[i] = [e(i)]);
|
|
407
410
|
for (const i of this.attributes) {
|
|
@@ -488,8 +491,8 @@ function se(e, t, r, n) {
|
|
|
488
491
|
return t;
|
|
489
492
|
}
|
|
490
493
|
}
|
|
491
|
-
function
|
|
492
|
-
let a = class extends
|
|
494
|
+
function Yt(e, t, r, n, i, s) {
|
|
495
|
+
let a = class extends lt {
|
|
493
496
|
constructor() {
|
|
494
497
|
super(e, r, i), this.$$p_d = t;
|
|
495
498
|
}
|
|
@@ -517,7 +520,7 @@ function qt(e, t, r, n, i, s) {
|
|
|
517
520
|
}), e.element = /** @type {any} */
|
|
518
521
|
a, a;
|
|
519
522
|
}
|
|
520
|
-
class
|
|
523
|
+
class Kt {
|
|
521
524
|
/**
|
|
522
525
|
* ### PRIVATE API
|
|
523
526
|
*
|
|
@@ -536,7 +539,7 @@ class Jt {
|
|
|
536
539
|
$$set = void 0;
|
|
537
540
|
/** @returns {void} */
|
|
538
541
|
$destroy() {
|
|
539
|
-
|
|
542
|
+
Qt(this, 1), this.$destroy = N;
|
|
540
543
|
}
|
|
541
544
|
/**
|
|
542
545
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -545,7 +548,7 @@ class Jt {
|
|
|
545
548
|
* @returns {() => void}
|
|
546
549
|
*/
|
|
547
550
|
$on(t, r) {
|
|
548
|
-
if (!
|
|
551
|
+
if (!le(r))
|
|
549
552
|
return N;
|
|
550
553
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
551
554
|
return n.push(r), () => {
|
|
@@ -558,11 +561,11 @@ class Jt {
|
|
|
558
561
|
* @returns {void}
|
|
559
562
|
*/
|
|
560
563
|
$set(t) {
|
|
561
|
-
this.$$set && !
|
|
564
|
+
this.$$set && !Mt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
562
565
|
}
|
|
563
566
|
}
|
|
564
|
-
const
|
|
565
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
567
|
+
const er = "4";
|
|
568
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(er);
|
|
566
569
|
/*! *****************************************************************************
|
|
567
570
|
Copyright (c) Microsoft Corporation.
|
|
568
571
|
|
|
@@ -577,18 +580,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
577
580
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
578
581
|
PERFORMANCE OF THIS SOFTWARE.
|
|
579
582
|
***************************************************************************** */
|
|
580
|
-
var
|
|
581
|
-
return
|
|
583
|
+
var Ae = function(e, t) {
|
|
584
|
+
return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
582
585
|
r.__proto__ = n;
|
|
583
586
|
} || function(r, n) {
|
|
584
587
|
for (var i in n)
|
|
585
588
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
586
|
-
},
|
|
589
|
+
}, Ae(e, t);
|
|
587
590
|
};
|
|
588
|
-
function
|
|
591
|
+
function ce(e, t) {
|
|
589
592
|
if (typeof t != "function" && t !== null)
|
|
590
593
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
591
|
-
|
|
594
|
+
Ae(e, t);
|
|
592
595
|
function r() {
|
|
593
596
|
this.constructor = e;
|
|
594
597
|
}
|
|
@@ -604,7 +607,7 @@ var E = function() {
|
|
|
604
607
|
return t;
|
|
605
608
|
}, E.apply(this, arguments);
|
|
606
609
|
};
|
|
607
|
-
function
|
|
610
|
+
function tr(e, t) {
|
|
608
611
|
var r = {};
|
|
609
612
|
for (var n in e)
|
|
610
613
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -613,7 +616,7 @@ function Kt(e, t) {
|
|
|
613
616
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
614
617
|
return r;
|
|
615
618
|
}
|
|
616
|
-
function
|
|
619
|
+
function fi(e) {
|
|
617
620
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
618
621
|
if (r)
|
|
619
622
|
return r.call(e);
|
|
@@ -625,7 +628,7 @@ function hi(e) {
|
|
|
625
628
|
};
|
|
626
629
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
627
630
|
}
|
|
628
|
-
function
|
|
631
|
+
function ci(e, t) {
|
|
629
632
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
630
633
|
if (!r)
|
|
631
634
|
return e;
|
|
@@ -645,23 +648,23 @@ function li(e, t) {
|
|
|
645
648
|
}
|
|
646
649
|
return s;
|
|
647
650
|
}
|
|
648
|
-
function
|
|
651
|
+
function ye(e, t, r) {
|
|
649
652
|
if (r || arguments.length === 2)
|
|
650
653
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
651
654
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
652
655
|
return e.concat(s || t);
|
|
653
656
|
}
|
|
654
657
|
const U = [];
|
|
655
|
-
function
|
|
658
|
+
function rr(e, t) {
|
|
656
659
|
return {
|
|
657
|
-
subscribe:
|
|
660
|
+
subscribe: me(e, t).subscribe
|
|
658
661
|
};
|
|
659
662
|
}
|
|
660
|
-
function
|
|
663
|
+
function me(e, t = N) {
|
|
661
664
|
let r;
|
|
662
665
|
const n = /* @__PURE__ */ new Set();
|
|
663
666
|
function i(o) {
|
|
664
|
-
if (
|
|
667
|
+
if (it(e, o) && (e = o, r)) {
|
|
665
668
|
const l = !U.length;
|
|
666
669
|
for (const u of n)
|
|
667
670
|
u[1](), U.push(u, e);
|
|
@@ -688,7 +691,7 @@ function z(e, t, r) {
|
|
|
688
691
|
if (!i.every(Boolean))
|
|
689
692
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
690
693
|
const s = t.length < 2;
|
|
691
|
-
return
|
|
694
|
+
return rr(r, (a, o) => {
|
|
692
695
|
let l = !1;
|
|
693
696
|
const u = [];
|
|
694
697
|
let h = 0, m = N;
|
|
@@ -697,9 +700,9 @@ function z(e, t, r) {
|
|
|
697
700
|
return;
|
|
698
701
|
m();
|
|
699
702
|
const y = t(n ? u[0] : u, a, o);
|
|
700
|
-
s ? a(y) : m =
|
|
703
|
+
s ? a(y) : m = le(y) ? y : N;
|
|
701
704
|
}, b = i.map(
|
|
702
|
-
(y, _) =>
|
|
705
|
+
(y, _) => st(
|
|
703
706
|
y,
|
|
704
707
|
(T) => {
|
|
705
708
|
u[_] = T, h &= ~(1 << _), l && f();
|
|
@@ -714,70 +717,70 @@ function z(e, t, r) {
|
|
|
714
717
|
};
|
|
715
718
|
});
|
|
716
719
|
}
|
|
717
|
-
function
|
|
720
|
+
function nr(e) {
|
|
718
721
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
719
722
|
}
|
|
720
|
-
var
|
|
721
|
-
return
|
|
723
|
+
var ir = function(t) {
|
|
724
|
+
return sr(t) && !ar(t);
|
|
722
725
|
};
|
|
723
|
-
function
|
|
726
|
+
function sr(e) {
|
|
724
727
|
return !!e && typeof e == "object";
|
|
725
728
|
}
|
|
726
|
-
function
|
|
729
|
+
function ar(e) {
|
|
727
730
|
var t = Object.prototype.toString.call(e);
|
|
728
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
731
|
+
return t === "[object RegExp]" || t === "[object Date]" || hr(e);
|
|
729
732
|
}
|
|
730
|
-
var
|
|
731
|
-
function
|
|
732
|
-
return e.$$typeof ===
|
|
733
|
+
var or = typeof Symbol == "function" && Symbol.for, ur = or ? Symbol.for("react.element") : 60103;
|
|
734
|
+
function hr(e) {
|
|
735
|
+
return e.$$typeof === ur;
|
|
733
736
|
}
|
|
734
|
-
function
|
|
737
|
+
function lr(e) {
|
|
735
738
|
return Array.isArray(e) ? [] : {};
|
|
736
739
|
}
|
|
737
740
|
function Y(e, t) {
|
|
738
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
741
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(lr(e), e, t) : e;
|
|
739
742
|
}
|
|
740
|
-
function
|
|
743
|
+
function fr(e, t, r) {
|
|
741
744
|
return e.concat(t).map(function(n) {
|
|
742
745
|
return Y(n, r);
|
|
743
746
|
});
|
|
744
747
|
}
|
|
745
|
-
function
|
|
748
|
+
function cr(e, t) {
|
|
746
749
|
if (!t.customMerge)
|
|
747
750
|
return F;
|
|
748
751
|
var r = t.customMerge(e);
|
|
749
752
|
return typeof r == "function" ? r : F;
|
|
750
753
|
}
|
|
751
|
-
function
|
|
754
|
+
function mr(e) {
|
|
752
755
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
753
756
|
return Object.propertyIsEnumerable.call(e, t);
|
|
754
757
|
}) : [];
|
|
755
758
|
}
|
|
756
|
-
function
|
|
757
|
-
return Object.keys(e).concat(
|
|
759
|
+
function ke(e) {
|
|
760
|
+
return Object.keys(e).concat(mr(e));
|
|
758
761
|
}
|
|
759
|
-
function
|
|
762
|
+
function ft(e, t) {
|
|
760
763
|
try {
|
|
761
764
|
return t in e;
|
|
762
765
|
} catch {
|
|
763
766
|
return !1;
|
|
764
767
|
}
|
|
765
768
|
}
|
|
766
|
-
function
|
|
767
|
-
return
|
|
769
|
+
function gr(e, t) {
|
|
770
|
+
return ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
768
771
|
}
|
|
769
|
-
function
|
|
772
|
+
function dr(e, t, r) {
|
|
770
773
|
var n = {};
|
|
771
|
-
return r.isMergeableObject(e) &&
|
|
774
|
+
return r.isMergeableObject(e) && ke(e).forEach(function(i) {
|
|
772
775
|
n[i] = Y(e[i], r);
|
|
773
|
-
}),
|
|
774
|
-
|
|
776
|
+
}), ke(t).forEach(function(i) {
|
|
777
|
+
gr(e, i) || (ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = cr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
775
778
|
}), n;
|
|
776
779
|
}
|
|
777
780
|
function F(e, t, r) {
|
|
778
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
781
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || fr, r.isMergeableObject = r.isMergeableObject || ir, r.cloneUnlessOtherwiseSpecified = Y;
|
|
779
782
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
780
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
783
|
+
return s ? n ? r.arrayMerge(e, t, r) : dr(e, t, r) : Y(t, r);
|
|
781
784
|
}
|
|
782
785
|
F.all = function(t, r) {
|
|
783
786
|
if (!Array.isArray(t))
|
|
@@ -786,56 +789,58 @@ F.all = function(t, r) {
|
|
|
786
789
|
return F(n, i, r);
|
|
787
790
|
}, {});
|
|
788
791
|
};
|
|
789
|
-
var
|
|
790
|
-
const
|
|
791
|
-
function
|
|
792
|
-
var r = t && t.cache ? t.cache :
|
|
792
|
+
var br = F, pr = br;
|
|
793
|
+
const yr = /* @__PURE__ */ nr(pr);
|
|
794
|
+
function Ee(e, t) {
|
|
795
|
+
var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : Hr, i = t && t.strategy ? t.strategy : vr;
|
|
793
796
|
return i(e, {
|
|
794
797
|
cache: r,
|
|
795
798
|
serializer: n
|
|
796
799
|
});
|
|
797
800
|
}
|
|
798
|
-
function
|
|
801
|
+
function Er(e) {
|
|
799
802
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
800
803
|
}
|
|
801
|
-
function
|
|
802
|
-
var i =
|
|
804
|
+
function ct(e, t, r, n) {
|
|
805
|
+
var i = Er(n) ? n : r(n), s = t.get(i);
|
|
803
806
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
804
807
|
}
|
|
805
|
-
function
|
|
808
|
+
function mt(e, t, r) {
|
|
806
809
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
807
810
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
808
811
|
}
|
|
809
|
-
function
|
|
812
|
+
function $e(e, t, r, n, i) {
|
|
810
813
|
return r.bind(t, e, n, i);
|
|
811
814
|
}
|
|
812
|
-
function Er(e, t) {
|
|
813
|
-
var r = e.length === 1 ? yr : lt;
|
|
814
|
-
return ft(e, this, r, t.cache.create(), t.serializer);
|
|
815
|
-
}
|
|
816
815
|
function vr(e, t) {
|
|
817
|
-
|
|
816
|
+
var r = e.length === 1 ? ct : mt;
|
|
817
|
+
return $e(e, this, r, t.cache.create(), t.serializer);
|
|
818
|
+
}
|
|
819
|
+
function _r(e, t) {
|
|
820
|
+
return $e(e, this, mt, t.cache.create(), t.serializer);
|
|
818
821
|
}
|
|
819
|
-
|
|
822
|
+
function xr(e, t) {
|
|
823
|
+
return $e(e, this, ct, t.cache.create(), t.serializer);
|
|
824
|
+
}
|
|
825
|
+
var Hr = function() {
|
|
820
826
|
return JSON.stringify(arguments);
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
}()
|
|
833
|
-
), Hr = {
|
|
827
|
+
};
|
|
828
|
+
function Ue() {
|
|
829
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
830
|
+
}
|
|
831
|
+
Ue.prototype.get = function(e) {
|
|
832
|
+
return this.cache[e];
|
|
833
|
+
};
|
|
834
|
+
Ue.prototype.set = function(e, t) {
|
|
835
|
+
this.cache[e] = t;
|
|
836
|
+
};
|
|
837
|
+
var Tr = {
|
|
834
838
|
create: function() {
|
|
835
|
-
return new
|
|
839
|
+
return new Ue();
|
|
836
840
|
}
|
|
837
|
-
},
|
|
838
|
-
variadic:
|
|
841
|
+
}, ve = {
|
|
842
|
+
variadic: _r,
|
|
843
|
+
monadic: xr
|
|
839
844
|
}, d;
|
|
840
845
|
(function(e) {
|
|
841
846
|
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";
|
|
@@ -848,43 +853,43 @@ var j;
|
|
|
848
853
|
(function(e) {
|
|
849
854
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
850
855
|
})(j || (j = {}));
|
|
851
|
-
function
|
|
856
|
+
function Ve(e) {
|
|
852
857
|
return e.type === v.literal;
|
|
853
858
|
}
|
|
854
|
-
function
|
|
859
|
+
function Sr(e) {
|
|
855
860
|
return e.type === v.argument;
|
|
856
861
|
}
|
|
857
|
-
function
|
|
862
|
+
function gt(e) {
|
|
858
863
|
return e.type === v.number;
|
|
859
864
|
}
|
|
860
|
-
function
|
|
865
|
+
function dt(e) {
|
|
861
866
|
return e.type === v.date;
|
|
862
867
|
}
|
|
863
|
-
function
|
|
868
|
+
function bt(e) {
|
|
864
869
|
return e.type === v.time;
|
|
865
870
|
}
|
|
866
|
-
function
|
|
871
|
+
function pt(e) {
|
|
867
872
|
return e.type === v.select;
|
|
868
873
|
}
|
|
869
|
-
function
|
|
874
|
+
function yt(e) {
|
|
870
875
|
return e.type === v.plural;
|
|
871
876
|
}
|
|
872
|
-
function
|
|
877
|
+
function Br(e) {
|
|
873
878
|
return e.type === v.pound;
|
|
874
879
|
}
|
|
875
|
-
function
|
|
880
|
+
function Et(e) {
|
|
876
881
|
return e.type === v.tag;
|
|
877
882
|
}
|
|
878
|
-
function
|
|
883
|
+
function vt(e) {
|
|
879
884
|
return !!(e && typeof e == "object" && e.type === j.number);
|
|
880
885
|
}
|
|
881
|
-
function
|
|
886
|
+
function we(e) {
|
|
882
887
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
883
888
|
}
|
|
884
|
-
var
|
|
885
|
-
function
|
|
889
|
+
var _t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ar = /(?:[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;
|
|
890
|
+
function wr(e) {
|
|
886
891
|
var t = {};
|
|
887
|
-
return e.replace(
|
|
892
|
+
return e.replace(Ar, function(r) {
|
|
888
893
|
var n = r.length;
|
|
889
894
|
switch (r[0]) {
|
|
890
895
|
case "G":
|
|
@@ -973,11 +978,11 @@ function Ar(e) {
|
|
|
973
978
|
return "";
|
|
974
979
|
}), t;
|
|
975
980
|
}
|
|
976
|
-
var
|
|
977
|
-
function
|
|
981
|
+
var Pr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
982
|
+
function Nr(e) {
|
|
978
983
|
if (e.length === 0)
|
|
979
984
|
throw new Error("Number skeleton cannot be empty");
|
|
980
|
-
for (var t = e.split(
|
|
985
|
+
for (var t = e.split(Pr).filter(function(f) {
|
|
981
986
|
return f.length > 0;
|
|
982
987
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
983
988
|
var s = i[n], a = s.split("/");
|
|
@@ -992,17 +997,17 @@ function Pr(e) {
|
|
|
992
997
|
}
|
|
993
998
|
return r;
|
|
994
999
|
}
|
|
995
|
-
function
|
|
1000
|
+
function Or(e) {
|
|
996
1001
|
return e.replace(/^(.*?)-/, "");
|
|
997
1002
|
}
|
|
998
|
-
var
|
|
999
|
-
function
|
|
1003
|
+
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g, Ir = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
|
|
1004
|
+
function ze(e) {
|
|
1000
1005
|
var t = {};
|
|
1001
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1006
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xt, function(r, n, i) {
|
|
1002
1007
|
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)), "";
|
|
1003
1008
|
}), t;
|
|
1004
1009
|
}
|
|
1005
|
-
function
|
|
1010
|
+
function Tt(e) {
|
|
1006
1011
|
switch (e) {
|
|
1007
1012
|
case "sign-auto":
|
|
1008
1013
|
return {
|
|
@@ -1042,7 +1047,7 @@ function xt(e) {
|
|
|
1042
1047
|
};
|
|
1043
1048
|
}
|
|
1044
1049
|
}
|
|
1045
|
-
function
|
|
1050
|
+
function Lr(e) {
|
|
1046
1051
|
var t;
|
|
1047
1052
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1048
1053
|
notation: "engineering"
|
|
@@ -1050,17 +1055,17 @@ function Ir(e) {
|
|
|
1050
1055
|
notation: "scientific"
|
|
1051
1056
|
}, e = e.slice(1)), t) {
|
|
1052
1057
|
var r = e.slice(0, 2);
|
|
1053
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1058
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ht.test(e))
|
|
1054
1059
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1055
1060
|
t.minimumIntegerDigits = e.length;
|
|
1056
1061
|
}
|
|
1057
1062
|
return t;
|
|
1058
1063
|
}
|
|
1059
|
-
function
|
|
1060
|
-
var t = {}, r =
|
|
1064
|
+
function We(e) {
|
|
1065
|
+
var t = {}, r = Tt(e);
|
|
1061
1066
|
return r || t;
|
|
1062
1067
|
}
|
|
1063
|
-
function
|
|
1068
|
+
function Cr(e) {
|
|
1064
1069
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1065
1070
|
var i = n[r];
|
|
1066
1071
|
switch (i.stem) {
|
|
@@ -1084,7 +1089,7 @@ function Lr(e) {
|
|
|
1084
1089
|
continue;
|
|
1085
1090
|
case "measure-unit":
|
|
1086
1091
|
case "unit":
|
|
1087
|
-
t.style = "unit", t.unit =
|
|
1092
|
+
t.style = "unit", t.unit = Or(i.options[0]);
|
|
1088
1093
|
continue;
|
|
1089
1094
|
case "compact-short":
|
|
1090
1095
|
case "K":
|
|
@@ -1096,12 +1101,12 @@ function Lr(e) {
|
|
|
1096
1101
|
continue;
|
|
1097
1102
|
case "scientific":
|
|
1098
1103
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1099
|
-
return E(E({}, l),
|
|
1104
|
+
return E(E({}, l), We(u));
|
|
1100
1105
|
}, {}));
|
|
1101
1106
|
continue;
|
|
1102
1107
|
case "engineering":
|
|
1103
1108
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1104
|
-
return E(E({}, l),
|
|
1109
|
+
return E(E({}, l), We(u));
|
|
1105
1110
|
}, {}));
|
|
1106
1111
|
continue;
|
|
1107
1112
|
case "notation-simple":
|
|
@@ -1146,7 +1151,7 @@ function Lr(e) {
|
|
|
1146
1151
|
case "integer-width":
|
|
1147
1152
|
if (i.options.length > 1)
|
|
1148
1153
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1149
|
-
i.options[0].replace(
|
|
1154
|
+
i.options[0].replace(Ir, function(l, u, h, m, f, b) {
|
|
1150
1155
|
if (u)
|
|
1151
1156
|
t.minimumIntegerDigits = h.length;
|
|
1152
1157
|
else {
|
|
@@ -1159,27 +1164,27 @@ function Lr(e) {
|
|
|
1159
1164
|
});
|
|
1160
1165
|
continue;
|
|
1161
1166
|
}
|
|
1162
|
-
if (
|
|
1167
|
+
if (Ht.test(i.stem)) {
|
|
1163
1168
|
t.minimumIntegerDigits = i.stem.length;
|
|
1164
1169
|
continue;
|
|
1165
1170
|
}
|
|
1166
|
-
if (
|
|
1171
|
+
if (Xe.test(i.stem)) {
|
|
1167
1172
|
if (i.options.length > 1)
|
|
1168
1173
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1169
|
-
i.stem.replace(
|
|
1174
|
+
i.stem.replace(Xe, function(l, u, h, m, f, b) {
|
|
1170
1175
|
return h === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1171
1176
|
});
|
|
1172
1177
|
var s = i.options[0];
|
|
1173
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1178
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ze(s)));
|
|
1174
1179
|
continue;
|
|
1175
1180
|
}
|
|
1176
|
-
if (
|
|
1177
|
-
t = E(E({}, t),
|
|
1181
|
+
if (xt.test(i.stem)) {
|
|
1182
|
+
t = E(E({}, t), ze(i.stem));
|
|
1178
1183
|
continue;
|
|
1179
1184
|
}
|
|
1180
|
-
var a =
|
|
1185
|
+
var a = Tt(i.stem);
|
|
1181
1186
|
a && (t = E(E({}, t), a));
|
|
1182
|
-
var o =
|
|
1187
|
+
var o = Lr(i.stem);
|
|
1183
1188
|
o && (t = E(E({}, t), o));
|
|
1184
1189
|
}
|
|
1185
1190
|
return t;
|
|
@@ -2599,13 +2604,13 @@ var ie = {
|
|
|
2599
2604
|
"h"
|
|
2600
2605
|
]
|
|
2601
2606
|
};
|
|
2602
|
-
function
|
|
2607
|
+
function Mr(e, t) {
|
|
2603
2608
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2604
2609
|
var i = e.charAt(n);
|
|
2605
2610
|
if (i === "j") {
|
|
2606
2611
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2607
2612
|
s++, n++;
|
|
2608
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2613
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Rr(t);
|
|
2609
2614
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2610
2615
|
r += l;
|
|
2611
2616
|
for (; a-- > 0; )
|
|
@@ -2615,7 +2620,7 @@ function Cr(e, t) {
|
|
|
2615
2620
|
}
|
|
2616
2621
|
return r;
|
|
2617
2622
|
}
|
|
2618
|
-
function
|
|
2623
|
+
function Rr(e) {
|
|
2619
2624
|
var t = e.hourCycle;
|
|
2620
2625
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2621
2626
|
e.hourCycles && // @ts-ignore
|
|
@@ -2637,20 +2642,20 @@ function Mr(e) {
|
|
|
2637
2642
|
var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
|
|
2638
2643
|
return i[0];
|
|
2639
2644
|
}
|
|
2640
|
-
var
|
|
2645
|
+
var _e, $r = new RegExp("^".concat(_t.source, "*")), Ur = new RegExp("".concat(_t.source, "*$"));
|
|
2641
2646
|
function p(e, t) {
|
|
2642
2647
|
return { start: e, end: t };
|
|
2643
2648
|
}
|
|
2644
|
-
var
|
|
2649
|
+
var Dr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gr = !!String.fromCodePoint, Fr = !!Object.fromEntries, jr = !!String.prototype.codePointAt, kr = !!String.prototype.trimStart, Vr = !!String.prototype.trimEnd, Xr = !!Number.isSafeInteger, zr = Xr ? Number.isSafeInteger : function(e) {
|
|
2645
2650
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2646
|
-
},
|
|
2651
|
+
}, Pe = !0;
|
|
2647
2652
|
try {
|
|
2648
|
-
var
|
|
2649
|
-
|
|
2653
|
+
var Wr = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2654
|
+
Pe = ((_e = Wr.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
|
|
2650
2655
|
} catch {
|
|
2651
|
-
|
|
2656
|
+
Pe = !1;
|
|
2652
2657
|
}
|
|
2653
|
-
var
|
|
2658
|
+
var Ze = Dr ? (
|
|
2654
2659
|
// Native
|
|
2655
2660
|
function(t, r, n) {
|
|
2656
2661
|
return t.startsWith(r, n);
|
|
@@ -2660,7 +2665,7 @@ var ze = Ur ? (
|
|
|
2660
2665
|
function(t, r, n) {
|
|
2661
2666
|
return t.slice(n, n + r.length) === r;
|
|
2662
2667
|
}
|
|
2663
|
-
),
|
|
2668
|
+
), Ne = Gr ? String.fromCodePoint : (
|
|
2664
2669
|
// IE11
|
|
2665
2670
|
function() {
|
|
2666
2671
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2672,9 +2677,9 @@ var ze = Ur ? (
|
|
|
2672
2677
|
}
|
|
2673
2678
|
return n;
|
|
2674
2679
|
}
|
|
2675
|
-
),
|
|
2680
|
+
), Qe = (
|
|
2676
2681
|
// native
|
|
2677
|
-
|
|
2682
|
+
Fr ? Object.fromEntries : (
|
|
2678
2683
|
// Ponyfill
|
|
2679
2684
|
function(t) {
|
|
2680
2685
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2684,7 +2689,7 @@ var ze = Ur ? (
|
|
|
2684
2689
|
return r;
|
|
2685
2690
|
}
|
|
2686
2691
|
)
|
|
2687
|
-
),
|
|
2692
|
+
), St = jr ? (
|
|
2688
2693
|
// Native
|
|
2689
2694
|
function(t, r) {
|
|
2690
2695
|
return t.codePointAt(r);
|
|
@@ -2698,7 +2703,7 @@ var ze = Ur ? (
|
|
|
2698
2703
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2699
2704
|
}
|
|
2700
2705
|
}
|
|
2701
|
-
),
|
|
2706
|
+
), Zr = kr ? (
|
|
2702
2707
|
// Native
|
|
2703
2708
|
function(t) {
|
|
2704
2709
|
return t.trimStart();
|
|
@@ -2706,9 +2711,9 @@ var ze = Ur ? (
|
|
|
2706
2711
|
) : (
|
|
2707
2712
|
// Ponyfill
|
|
2708
2713
|
function(t) {
|
|
2709
|
-
return t.replace(
|
|
2714
|
+
return t.replace($r, "");
|
|
2710
2715
|
}
|
|
2711
|
-
),
|
|
2716
|
+
), Qr = Vr ? (
|
|
2712
2717
|
// Native
|
|
2713
2718
|
function(t) {
|
|
2714
2719
|
return t.trimEnd();
|
|
@@ -2716,32 +2721,32 @@ var ze = Ur ? (
|
|
|
2716
2721
|
) : (
|
|
2717
2722
|
// Ponyfill
|
|
2718
2723
|
function(t) {
|
|
2719
|
-
return t.replace(
|
|
2724
|
+
return t.replace(Ur, "");
|
|
2720
2725
|
}
|
|
2721
2726
|
);
|
|
2722
|
-
function
|
|
2727
|
+
function Bt(e, t) {
|
|
2723
2728
|
return new RegExp(e, t);
|
|
2724
2729
|
}
|
|
2725
|
-
var
|
|
2726
|
-
if (
|
|
2727
|
-
var
|
|
2728
|
-
|
|
2730
|
+
var Oe;
|
|
2731
|
+
if (Pe) {
|
|
2732
|
+
var qe = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2733
|
+
Oe = function(t, r) {
|
|
2729
2734
|
var n;
|
|
2730
|
-
|
|
2731
|
-
var i =
|
|
2735
|
+
qe.lastIndex = r;
|
|
2736
|
+
var i = qe.exec(t);
|
|
2732
2737
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2733
2738
|
};
|
|
2734
2739
|
} else
|
|
2735
|
-
|
|
2740
|
+
Oe = function(t, r) {
|
|
2736
2741
|
for (var n = []; ; ) {
|
|
2737
|
-
var i =
|
|
2738
|
-
if (i === void 0 ||
|
|
2742
|
+
var i = St(t, r);
|
|
2743
|
+
if (i === void 0 || At(i) || Kr(i))
|
|
2739
2744
|
break;
|
|
2740
2745
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2741
2746
|
}
|
|
2742
|
-
return
|
|
2747
|
+
return Ne.apply(void 0, n);
|
|
2743
2748
|
};
|
|
2744
|
-
var
|
|
2749
|
+
var qr = (
|
|
2745
2750
|
/** @class */
|
|
2746
2751
|
function() {
|
|
2747
2752
|
function e(t, r) {
|
|
@@ -2772,7 +2777,7 @@ var Qr = (
|
|
|
2772
2777
|
if (n)
|
|
2773
2778
|
break;
|
|
2774
2779
|
return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
|
|
2775
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2780
|
+
} else if (s === 60 && !this.ignoreTag && Ie(this.peek() || 0)) {
|
|
2776
2781
|
var a = this.parseTag(t, r);
|
|
2777
2782
|
if (a.err)
|
|
2778
2783
|
return a;
|
|
@@ -2805,7 +2810,7 @@ var Qr = (
|
|
|
2805
2810
|
return s;
|
|
2806
2811
|
var a = s.val, o = this.clonePosition();
|
|
2807
2812
|
if (this.bumpIf("</")) {
|
|
2808
|
-
if (this.isEOF() || !
|
|
2813
|
+
if (this.isEOF() || !Ie(this.char()))
|
|
2809
2814
|
return this.error(d.INVALID_TAG, p(o, this.clonePosition()));
|
|
2810
2815
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
2811
2816
|
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -2823,7 +2828,7 @@ var Qr = (
|
|
|
2823
2828
|
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2824
2829
|
}, e.prototype.parseTagName = function() {
|
|
2825
2830
|
var t = this.offset();
|
|
2826
|
-
for (this.bump(); !this.isEOF() &&
|
|
2831
|
+
for (this.bump(); !this.isEOF() && Yr(this.char()); )
|
|
2827
2832
|
this.bump();
|
|
2828
2833
|
return this.message.slice(t, this.offset());
|
|
2829
2834
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2852,7 +2857,7 @@ var Qr = (
|
|
|
2852
2857
|
};
|
|
2853
2858
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2854
2859
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2855
|
-
!
|
|
2860
|
+
!Jr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2856
2861
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2857
2862
|
if (this.isEOF() || this.char() !== 39)
|
|
2858
2863
|
return null;
|
|
@@ -2886,12 +2891,12 @@ var Qr = (
|
|
|
2886
2891
|
r.push(n);
|
|
2887
2892
|
this.bump();
|
|
2888
2893
|
}
|
|
2889
|
-
return
|
|
2894
|
+
return Ne.apply(void 0, r);
|
|
2890
2895
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2891
2896
|
if (this.isEOF())
|
|
2892
2897
|
return null;
|
|
2893
2898
|
var n = this.char();
|
|
2894
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2899
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ne(n));
|
|
2895
2900
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2896
2901
|
var n = this.clonePosition();
|
|
2897
2902
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2920,7 +2925,7 @@ var Qr = (
|
|
|
2920
2925
|
return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
|
|
2921
2926
|
}
|
|
2922
2927
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2923
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2928
|
+
var t = this.clonePosition(), r = this.offset(), n = Oe(this.message, r), i = r + n.length;
|
|
2924
2929
|
this.bumpTo(i);
|
|
2925
2930
|
var s = this.clonePosition(), a = p(t, s);
|
|
2926
2931
|
return { value: n, location: a };
|
|
@@ -2939,7 +2944,7 @@ var Qr = (
|
|
|
2939
2944
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2940
2945
|
if (m.err)
|
|
2941
2946
|
return m;
|
|
2942
|
-
var f =
|
|
2947
|
+
var f = Qr(m.val);
|
|
2943
2948
|
if (f.length === 0)
|
|
2944
2949
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2945
2950
|
var b = p(h, this.clonePosition());
|
|
@@ -2949,8 +2954,8 @@ var Qr = (
|
|
|
2949
2954
|
if (y.err)
|
|
2950
2955
|
return y;
|
|
2951
2956
|
var _ = p(i, this.clonePosition());
|
|
2952
|
-
if (u &&
|
|
2953
|
-
var T =
|
|
2957
|
+
if (u && Ze(u?.style, "::", 0)) {
|
|
2958
|
+
var T = Zr(u.style.slice(2));
|
|
2954
2959
|
if (o === "number") {
|
|
2955
2960
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
2956
2961
|
return m.err ? m : {
|
|
@@ -2961,12 +2966,12 @@ var Qr = (
|
|
|
2961
2966
|
if (T.length === 0)
|
|
2962
2967
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2963
2968
|
var w = T;
|
|
2964
|
-
this.locale && (w =
|
|
2969
|
+
this.locale && (w = Mr(T, this.locale));
|
|
2965
2970
|
var f = {
|
|
2966
2971
|
type: j.dateTime,
|
|
2967
2972
|
pattern: w,
|
|
2968
2973
|
location: u.styleLocation,
|
|
2969
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2974
|
+
parsedOptions: this.shouldParseSkeletons ? wr(w) : {}
|
|
2970
2975
|
}, A = o === "date" ? v.date : v.time;
|
|
2971
2976
|
return {
|
|
2972
2977
|
val: { type: A, value: n, location: _, style: f },
|
|
@@ -3012,7 +3017,7 @@ var Qr = (
|
|
|
3012
3017
|
val: {
|
|
3013
3018
|
type: v.select,
|
|
3014
3019
|
value: n,
|
|
3015
|
-
options:
|
|
3020
|
+
options: Qe(O.val),
|
|
3016
3021
|
location: c
|
|
3017
3022
|
},
|
|
3018
3023
|
err: null
|
|
@@ -3020,7 +3025,7 @@ var Qr = (
|
|
|
3020
3025
|
val: {
|
|
3021
3026
|
type: v.plural,
|
|
3022
3027
|
value: n,
|
|
3023
|
-
options:
|
|
3028
|
+
options: Qe(O.val),
|
|
3024
3029
|
offset: x,
|
|
3025
3030
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3026
3031
|
location: c
|
|
@@ -3071,7 +3076,7 @@ var Qr = (
|
|
|
3071
3076
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3072
3077
|
var n = [];
|
|
3073
3078
|
try {
|
|
3074
|
-
n =
|
|
3079
|
+
n = Nr(t);
|
|
3075
3080
|
} catch {
|
|
3076
3081
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3077
3082
|
}
|
|
@@ -3080,7 +3085,7 @@ var Qr = (
|
|
|
3080
3085
|
type: j.number,
|
|
3081
3086
|
tokens: n,
|
|
3082
3087
|
location: r,
|
|
3083
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3088
|
+
parsedOptions: this.shouldParseSkeletons ? Cr(n) : {}
|
|
3084
3089
|
},
|
|
3085
3090
|
err: null
|
|
3086
3091
|
};
|
|
@@ -3128,7 +3133,7 @@ var Qr = (
|
|
|
3128
3133
|
break;
|
|
3129
3134
|
}
|
|
3130
3135
|
var l = p(i, this.clonePosition());
|
|
3131
|
-
return s ? (a *= n,
|
|
3136
|
+
return s ? (a *= n, zr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3132
3137
|
}, e.prototype.offset = function() {
|
|
3133
3138
|
return this.position.offset;
|
|
3134
3139
|
}, e.prototype.isEOF = function() {
|
|
@@ -3143,7 +3148,7 @@ var Qr = (
|
|
|
3143
3148
|
var t = this.position.offset;
|
|
3144
3149
|
if (t >= this.message.length)
|
|
3145
3150
|
throw Error("out of bound");
|
|
3146
|
-
var r =
|
|
3151
|
+
var r = St(this.message, t);
|
|
3147
3152
|
if (r === void 0)
|
|
3148
3153
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3149
3154
|
return r;
|
|
@@ -3162,7 +3167,7 @@ var Qr = (
|
|
|
3162
3167
|
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);
|
|
3163
3168
|
}
|
|
3164
3169
|
}, e.prototype.bumpIf = function(t) {
|
|
3165
|
-
if (
|
|
3170
|
+
if (Ze(this.message, t, this.offset())) {
|
|
3166
3171
|
for (var r = 0; r < t.length; r++)
|
|
3167
3172
|
this.bump();
|
|
3168
3173
|
return !0;
|
|
@@ -3184,7 +3189,7 @@ var Qr = (
|
|
|
3184
3189
|
break;
|
|
3185
3190
|
}
|
|
3186
3191
|
}, e.prototype.bumpSpace = function() {
|
|
3187
|
-
for (; !this.isEOF() &&
|
|
3192
|
+
for (; !this.isEOF() && At(this.char()); )
|
|
3188
3193
|
this.bump();
|
|
3189
3194
|
}, e.prototype.peek = function() {
|
|
3190
3195
|
if (this.isEOF())
|
|
@@ -3194,47 +3199,47 @@ var Qr = (
|
|
|
3194
3199
|
}, e;
|
|
3195
3200
|
}()
|
|
3196
3201
|
);
|
|
3197
|
-
function
|
|
3202
|
+
function Ie(e) {
|
|
3198
3203
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3199
3204
|
}
|
|
3200
|
-
function qr(e) {
|
|
3201
|
-
return Oe(e) || e === 47;
|
|
3202
|
-
}
|
|
3203
3205
|
function Jr(e) {
|
|
3206
|
+
return Ie(e) || e === 47;
|
|
3207
|
+
}
|
|
3208
|
+
function Yr(e) {
|
|
3204
3209
|
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;
|
|
3205
3210
|
}
|
|
3206
|
-
function
|
|
3211
|
+
function At(e) {
|
|
3207
3212
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3208
3213
|
}
|
|
3209
|
-
function
|
|
3214
|
+
function Kr(e) {
|
|
3210
3215
|
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;
|
|
3211
3216
|
}
|
|
3212
|
-
function
|
|
3217
|
+
function Le(e) {
|
|
3213
3218
|
e.forEach(function(t) {
|
|
3214
|
-
if (delete t.location,
|
|
3219
|
+
if (delete t.location, pt(t) || yt(t))
|
|
3215
3220
|
for (var r in t.options)
|
|
3216
|
-
delete t.options[r].location,
|
|
3221
|
+
delete t.options[r].location, Le(t.options[r].value);
|
|
3217
3222
|
else
|
|
3218
|
-
|
|
3223
|
+
gt(t) && vt(t.style) || (dt(t) || bt(t)) && we(t.style) ? delete t.style.location : Et(t) && Le(t.children);
|
|
3219
3224
|
});
|
|
3220
3225
|
}
|
|
3221
|
-
function
|
|
3226
|
+
function en(e, t) {
|
|
3222
3227
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3223
|
-
var r = new
|
|
3228
|
+
var r = new qr(e, t).parse();
|
|
3224
3229
|
if (r.err) {
|
|
3225
3230
|
var n = SyntaxError(d[r.err.kind]);
|
|
3226
3231
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3227
3232
|
}
|
|
3228
|
-
return t?.captureLocation ||
|
|
3233
|
+
return t?.captureLocation || Le(r.val), r.val;
|
|
3229
3234
|
}
|
|
3230
3235
|
var k;
|
|
3231
3236
|
(function(e) {
|
|
3232
3237
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3233
3238
|
})(k || (k = {}));
|
|
3234
|
-
var
|
|
3239
|
+
var ge = (
|
|
3235
3240
|
/** @class */
|
|
3236
3241
|
function(e) {
|
|
3237
|
-
|
|
3242
|
+
ce(t, e);
|
|
3238
3243
|
function t(r, n, i) {
|
|
3239
3244
|
var s = e.call(this, r) || this;
|
|
3240
3245
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3243,48 +3248,48 @@ var me = (
|
|
|
3243
3248
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3244
3249
|
}, t;
|
|
3245
3250
|
}(Error)
|
|
3246
|
-
),
|
|
3251
|
+
), Je = (
|
|
3247
3252
|
/** @class */
|
|
3248
3253
|
function(e) {
|
|
3249
|
-
|
|
3254
|
+
ce(t, e);
|
|
3250
3255
|
function t(r, n, i, s) {
|
|
3251
3256
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
|
|
3252
3257
|
}
|
|
3253
3258
|
return t;
|
|
3254
|
-
}(
|
|
3255
|
-
),
|
|
3259
|
+
}(ge)
|
|
3260
|
+
), tn = (
|
|
3256
3261
|
/** @class */
|
|
3257
3262
|
function(e) {
|
|
3258
|
-
|
|
3263
|
+
ce(t, e);
|
|
3259
3264
|
function t(r, n, i) {
|
|
3260
3265
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
|
|
3261
3266
|
}
|
|
3262
3267
|
return t;
|
|
3263
|
-
}(
|
|
3264
|
-
),
|
|
3268
|
+
}(ge)
|
|
3269
|
+
), rn = (
|
|
3265
3270
|
/** @class */
|
|
3266
3271
|
function(e) {
|
|
3267
|
-
|
|
3272
|
+
ce(t, e);
|
|
3268
3273
|
function t(r, n) {
|
|
3269
3274
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
|
|
3270
3275
|
}
|
|
3271
3276
|
return t;
|
|
3272
|
-
}(
|
|
3277
|
+
}(ge)
|
|
3273
3278
|
), B;
|
|
3274
3279
|
(function(e) {
|
|
3275
3280
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3276
3281
|
})(B || (B = {}));
|
|
3277
|
-
function
|
|
3282
|
+
function nn(e) {
|
|
3278
3283
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3279
3284
|
var n = t[t.length - 1];
|
|
3280
3285
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3281
3286
|
}, []);
|
|
3282
3287
|
}
|
|
3283
|
-
function
|
|
3288
|
+
function sn(e) {
|
|
3284
3289
|
return typeof e == "function";
|
|
3285
3290
|
}
|
|
3286
3291
|
function ae(e, t, r, n, i, s, a) {
|
|
3287
|
-
if (e.length === 1 &&
|
|
3292
|
+
if (e.length === 1 && Ve(e[0]))
|
|
3288
3293
|
return [
|
|
3289
3294
|
{
|
|
3290
3295
|
type: B.literal,
|
|
@@ -3293,14 +3298,14 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3293
3298
|
];
|
|
3294
3299
|
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3295
3300
|
var h = u[l];
|
|
3296
|
-
if (
|
|
3301
|
+
if (Ve(h)) {
|
|
3297
3302
|
o.push({
|
|
3298
3303
|
type: B.literal,
|
|
3299
3304
|
value: h.value
|
|
3300
3305
|
});
|
|
3301
3306
|
continue;
|
|
3302
3307
|
}
|
|
3303
|
-
if (
|
|
3308
|
+
if (Br(h)) {
|
|
3304
3309
|
typeof s == "number" && o.push({
|
|
3305
3310
|
type: B.literal,
|
|
3306
3311
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3309,43 +3314,43 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3309
3314
|
}
|
|
3310
3315
|
var m = h.value;
|
|
3311
3316
|
if (!(i && m in i))
|
|
3312
|
-
throw new
|
|
3317
|
+
throw new rn(m, a);
|
|
3313
3318
|
var f = i[m];
|
|
3314
|
-
if (
|
|
3319
|
+
if (Sr(h)) {
|
|
3315
3320
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3316
3321
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3317
3322
|
value: f
|
|
3318
3323
|
});
|
|
3319
3324
|
continue;
|
|
3320
3325
|
}
|
|
3321
|
-
if (
|
|
3322
|
-
var b = typeof h.style == "string" ? n.date[h.style] :
|
|
3326
|
+
if (dt(h)) {
|
|
3327
|
+
var b = typeof h.style == "string" ? n.date[h.style] : we(h.style) ? h.style.parsedOptions : void 0;
|
|
3323
3328
|
o.push({
|
|
3324
3329
|
type: B.literal,
|
|
3325
3330
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3326
3331
|
});
|
|
3327
3332
|
continue;
|
|
3328
3333
|
}
|
|
3329
|
-
if (
|
|
3330
|
-
var b = typeof h.style == "string" ? n.time[h.style] :
|
|
3334
|
+
if (bt(h)) {
|
|
3335
|
+
var b = typeof h.style == "string" ? n.time[h.style] : we(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3331
3336
|
o.push({
|
|
3332
3337
|
type: B.literal,
|
|
3333
3338
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3334
3339
|
});
|
|
3335
3340
|
continue;
|
|
3336
3341
|
}
|
|
3337
|
-
if (
|
|
3338
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
|
3342
|
+
if (gt(h)) {
|
|
3343
|
+
var b = typeof h.style == "string" ? n.number[h.style] : vt(h.style) ? h.style.parsedOptions : void 0;
|
|
3339
3344
|
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
|
3340
3345
|
type: B.literal,
|
|
3341
3346
|
value: r.getNumberFormat(t, b).format(f)
|
|
3342
3347
|
});
|
|
3343
3348
|
continue;
|
|
3344
3349
|
}
|
|
3345
|
-
if (
|
|
3350
|
+
if (Et(h)) {
|
|
3346
3351
|
var y = h.children, _ = h.value, T = i[_];
|
|
3347
|
-
if (!
|
|
3348
|
-
throw new
|
|
3352
|
+
if (!sn(T))
|
|
3353
|
+
throw new tn(_, "function", a);
|
|
3349
3354
|
var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
|
|
3350
3355
|
return x.value;
|
|
3351
3356
|
}));
|
|
@@ -3356,42 +3361,42 @@ function ae(e, t, r, n, i, s, a) {
|
|
|
3356
3361
|
};
|
|
3357
3362
|
}));
|
|
3358
3363
|
}
|
|
3359
|
-
if (
|
|
3364
|
+
if (pt(h)) {
|
|
3360
3365
|
var S = h.options[f] || h.options.other;
|
|
3361
3366
|
if (!S)
|
|
3362
|
-
throw new
|
|
3367
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3363
3368
|
o.push.apply(o, ae(S.value, t, r, n, i));
|
|
3364
3369
|
continue;
|
|
3365
3370
|
}
|
|
3366
|
-
if (
|
|
3371
|
+
if (yt(h)) {
|
|
3367
3372
|
var S = h.options["=".concat(f)];
|
|
3368
3373
|
if (!S) {
|
|
3369
3374
|
if (!Intl.PluralRules)
|
|
3370
|
-
throw new
|
|
3375
|
+
throw new ge(`Intl.PluralRules is not available in this environment.
|
|
3371
3376
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3372
3377
|
`, k.MISSING_INTL_API, a);
|
|
3373
3378
|
var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3374
3379
|
S = h.options[P] || h.options.other;
|
|
3375
3380
|
}
|
|
3376
3381
|
if (!S)
|
|
3377
|
-
throw new
|
|
3382
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3378
3383
|
o.push.apply(o, ae(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3379
3384
|
continue;
|
|
3380
3385
|
}
|
|
3381
3386
|
}
|
|
3382
|
-
return
|
|
3387
|
+
return nn(o);
|
|
3383
3388
|
}
|
|
3384
|
-
function
|
|
3389
|
+
function an(e, t) {
|
|
3385
3390
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3386
3391
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3387
3392
|
}, {})) : e;
|
|
3388
3393
|
}
|
|
3389
|
-
function
|
|
3394
|
+
function on(e, t) {
|
|
3390
3395
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3391
|
-
return r[n] =
|
|
3396
|
+
return r[n] = an(e[n], t[n]), r;
|
|
3392
3397
|
}, E({}, e)) : e;
|
|
3393
3398
|
}
|
|
3394
|
-
function
|
|
3399
|
+
function xe(e) {
|
|
3395
3400
|
return {
|
|
3396
3401
|
create: function() {
|
|
3397
3402
|
return {
|
|
@@ -3405,39 +3410,39 @@ function _e(e) {
|
|
|
3405
3410
|
}
|
|
3406
3411
|
};
|
|
3407
3412
|
}
|
|
3408
|
-
function
|
|
3413
|
+
function un(e) {
|
|
3409
3414
|
return e === void 0 && (e = {
|
|
3410
3415
|
number: {},
|
|
3411
3416
|
dateTime: {},
|
|
3412
3417
|
pluralRules: {}
|
|
3413
3418
|
}), {
|
|
3414
|
-
getNumberFormat:
|
|
3419
|
+
getNumberFormat: Ee(function() {
|
|
3415
3420
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3416
3421
|
r[n] = arguments[n];
|
|
3417
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3422
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ye([void 0], r, !1)))();
|
|
3418
3423
|
}, {
|
|
3419
|
-
cache:
|
|
3420
|
-
strategy:
|
|
3424
|
+
cache: xe(e.number),
|
|
3425
|
+
strategy: ve.variadic
|
|
3421
3426
|
}),
|
|
3422
|
-
getDateTimeFormat:
|
|
3427
|
+
getDateTimeFormat: Ee(function() {
|
|
3423
3428
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3424
3429
|
r[n] = arguments[n];
|
|
3425
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3430
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ye([void 0], r, !1)))();
|
|
3426
3431
|
}, {
|
|
3427
|
-
cache:
|
|
3428
|
-
strategy:
|
|
3432
|
+
cache: xe(e.dateTime),
|
|
3433
|
+
strategy: ve.variadic
|
|
3429
3434
|
}),
|
|
3430
|
-
getPluralRules:
|
|
3435
|
+
getPluralRules: Ee(function() {
|
|
3431
3436
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3432
3437
|
r[n] = arguments[n];
|
|
3433
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3438
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ye([void 0], r, !1)))();
|
|
3434
3439
|
}, {
|
|
3435
|
-
cache:
|
|
3436
|
-
strategy:
|
|
3440
|
+
cache: xe(e.pluralRules),
|
|
3441
|
+
strategy: ve.variadic
|
|
3437
3442
|
})
|
|
3438
3443
|
};
|
|
3439
3444
|
}
|
|
3440
|
-
var
|
|
3445
|
+
var hn = (
|
|
3441
3446
|
/** @class */
|
|
3442
3447
|
function() {
|
|
3443
3448
|
function e(t, r, n, i) {
|
|
@@ -3469,13 +3474,13 @@ var un = (
|
|
|
3469
3474
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3470
3475
|
var a = i || {};
|
|
3471
3476
|
a.formatters;
|
|
3472
|
-
var o =
|
|
3477
|
+
var o = tr(a, ["formatters"]);
|
|
3473
3478
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3474
3479
|
} else
|
|
3475
3480
|
this.ast = t;
|
|
3476
3481
|
if (!Array.isArray(this.ast))
|
|
3477
3482
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3478
|
-
this.formats =
|
|
3483
|
+
this.formats = on(e.formats, n), this.formatters = i && i.formatters || un(this.formatterCache);
|
|
3479
3484
|
}
|
|
3480
3485
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3481
3486
|
get: function() {
|
|
@@ -3488,7 +3493,7 @@ var un = (
|
|
|
3488
3493
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3489
3494
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3490
3495
|
}
|
|
3491
|
-
}, e.__parse =
|
|
3496
|
+
}, e.__parse = en, e.formats = {
|
|
3492
3497
|
number: {
|
|
3493
3498
|
integer: {
|
|
3494
3499
|
maximumFractionDigits: 0
|
|
@@ -3549,7 +3554,7 @@ var un = (
|
|
|
3549
3554
|
}, e;
|
|
3550
3555
|
}()
|
|
3551
3556
|
);
|
|
3552
|
-
function
|
|
3557
|
+
function ln(e, t) {
|
|
3553
3558
|
if (t == null)
|
|
3554
3559
|
return;
|
|
3555
3560
|
if (t in e)
|
|
@@ -3570,92 +3575,92 @@ function hn(e, t) {
|
|
|
3570
3575
|
n = void 0;
|
|
3571
3576
|
return n;
|
|
3572
3577
|
}
|
|
3573
|
-
const C = {},
|
|
3578
|
+
const C = {}, fn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), wt = (e, t) => {
|
|
3574
3579
|
if (t == null)
|
|
3575
3580
|
return;
|
|
3576
3581
|
if (t in C && e in C[t])
|
|
3577
3582
|
return C[t][e];
|
|
3578
|
-
const r =
|
|
3583
|
+
const r = de(t);
|
|
3579
3584
|
for (let n = 0; n < r.length; n++) {
|
|
3580
|
-
const i = r[n], s =
|
|
3585
|
+
const i = r[n], s = mn(i, e);
|
|
3581
3586
|
if (s)
|
|
3582
|
-
return
|
|
3587
|
+
return fn(e, t, s);
|
|
3583
3588
|
}
|
|
3584
3589
|
};
|
|
3585
|
-
let
|
|
3586
|
-
const W =
|
|
3587
|
-
function
|
|
3588
|
-
return
|
|
3590
|
+
let De;
|
|
3591
|
+
const W = me({});
|
|
3592
|
+
function cn(e) {
|
|
3593
|
+
return De[e] || null;
|
|
3589
3594
|
}
|
|
3590
|
-
function
|
|
3591
|
-
return e in
|
|
3595
|
+
function Pt(e) {
|
|
3596
|
+
return e in De;
|
|
3592
3597
|
}
|
|
3593
|
-
function
|
|
3594
|
-
if (!
|
|
3598
|
+
function mn(e, t) {
|
|
3599
|
+
if (!Pt(e))
|
|
3595
3600
|
return null;
|
|
3596
|
-
const r =
|
|
3597
|
-
return
|
|
3601
|
+
const r = cn(e);
|
|
3602
|
+
return ln(r, t);
|
|
3598
3603
|
}
|
|
3599
|
-
function
|
|
3604
|
+
function gn(e) {
|
|
3600
3605
|
if (e == null)
|
|
3601
3606
|
return;
|
|
3602
|
-
const t =
|
|
3607
|
+
const t = de(e);
|
|
3603
3608
|
for (let r = 0; r < t.length; r++) {
|
|
3604
3609
|
const n = t[r];
|
|
3605
|
-
if (
|
|
3610
|
+
if (Pt(n))
|
|
3606
3611
|
return n;
|
|
3607
3612
|
}
|
|
3608
3613
|
}
|
|
3609
|
-
function
|
|
3610
|
-
delete C[e], W.update((r) => (r[e] =
|
|
3614
|
+
function dn(e, ...t) {
|
|
3615
|
+
delete C[e], W.update((r) => (r[e] = yr.all([r[e] || {}, ...t]), r));
|
|
3611
3616
|
}
|
|
3612
3617
|
z(
|
|
3613
3618
|
[W],
|
|
3614
3619
|
([e]) => Object.keys(e)
|
|
3615
3620
|
);
|
|
3616
|
-
W.subscribe((e) =>
|
|
3621
|
+
W.subscribe((e) => De = e);
|
|
3617
3622
|
const oe = {};
|
|
3618
|
-
function
|
|
3623
|
+
function bn(e, t) {
|
|
3619
3624
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3620
3625
|
}
|
|
3621
|
-
function
|
|
3626
|
+
function Nt(e) {
|
|
3622
3627
|
return oe[e];
|
|
3623
3628
|
}
|
|
3624
|
-
function
|
|
3625
|
-
return
|
|
3626
|
-
const r =
|
|
3629
|
+
function pn(e) {
|
|
3630
|
+
return de(e).map((t) => {
|
|
3631
|
+
const r = Nt(t);
|
|
3627
3632
|
return [t, r ? [...r] : []];
|
|
3628
3633
|
}).filter(([, t]) => t.length > 0);
|
|
3629
3634
|
}
|
|
3630
|
-
function
|
|
3631
|
-
return e == null ? !1 :
|
|
3635
|
+
function Ce(e) {
|
|
3636
|
+
return e == null ? !1 : de(e).some(
|
|
3632
3637
|
(t) => {
|
|
3633
3638
|
var r;
|
|
3634
|
-
return (r =
|
|
3639
|
+
return (r = Nt(t)) == null ? void 0 : r.size;
|
|
3635
3640
|
}
|
|
3636
3641
|
);
|
|
3637
3642
|
}
|
|
3638
|
-
function
|
|
3643
|
+
function yn(e, t) {
|
|
3639
3644
|
return Promise.all(
|
|
3640
|
-
t.map((n) => (
|
|
3641
|
-
).then((n) =>
|
|
3645
|
+
t.map((n) => (bn(e, n), n().then((i) => i.default || i)))
|
|
3646
|
+
).then((n) => dn(e, ...n));
|
|
3642
3647
|
}
|
|
3643
3648
|
const Q = {};
|
|
3644
|
-
function
|
|
3645
|
-
if (!
|
|
3649
|
+
function Ot(e) {
|
|
3650
|
+
if (!Ce(e))
|
|
3646
3651
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3647
|
-
const t =
|
|
3652
|
+
const t = pn(e);
|
|
3648
3653
|
return Q[e] = Promise.all(
|
|
3649
3654
|
t.map(
|
|
3650
|
-
([r, n]) =>
|
|
3655
|
+
([r, n]) => yn(r, n)
|
|
3651
3656
|
)
|
|
3652
3657
|
).then(() => {
|
|
3653
|
-
if (
|
|
3654
|
-
return
|
|
3658
|
+
if (Ce(e))
|
|
3659
|
+
return Ot(e);
|
|
3655
3660
|
delete Q[e];
|
|
3656
3661
|
}), Q[e];
|
|
3657
3662
|
}
|
|
3658
|
-
const
|
|
3663
|
+
const En = {
|
|
3659
3664
|
number: {
|
|
3660
3665
|
scientific: { notation: "scientific" },
|
|
3661
3666
|
engineering: { notation: "engineering" },
|
|
@@ -3684,78 +3689,78 @@ const yn = {
|
|
|
3684
3689
|
timeZoneName: "short"
|
|
3685
3690
|
}
|
|
3686
3691
|
}
|
|
3687
|
-
},
|
|
3692
|
+
}, vn = {
|
|
3688
3693
|
fallbackLocale: null,
|
|
3689
3694
|
loadingDelay: 200,
|
|
3690
|
-
formats:
|
|
3695
|
+
formats: En,
|
|
3691
3696
|
warnOnMissingMessages: !0,
|
|
3692
3697
|
handleMissingMessage: void 0,
|
|
3693
3698
|
ignoreTag: !0
|
|
3694
|
-
},
|
|
3699
|
+
}, _n = vn;
|
|
3695
3700
|
function V() {
|
|
3696
|
-
return
|
|
3701
|
+
return _n;
|
|
3697
3702
|
}
|
|
3698
|
-
const
|
|
3699
|
-
var
|
|
3703
|
+
const He = me(!1);
|
|
3704
|
+
var xn = Object.defineProperty, Hn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
|
|
3700
3705
|
for (var r in t || (t = {}))
|
|
3701
|
-
|
|
3702
|
-
if (
|
|
3703
|
-
for (var r of
|
|
3704
|
-
|
|
3706
|
+
Sn.call(t, r) && Ke(e, r, t[r]);
|
|
3707
|
+
if (Ye)
|
|
3708
|
+
for (var r of Ye(t))
|
|
3709
|
+
Bn.call(t, r) && Ke(e, r, t[r]);
|
|
3705
3710
|
return e;
|
|
3706
|
-
},
|
|
3707
|
-
let
|
|
3708
|
-
const ue =
|
|
3709
|
-
function
|
|
3711
|
+
}, wn = (e, t) => Hn(e, Tn(t));
|
|
3712
|
+
let Me;
|
|
3713
|
+
const ue = me(null);
|
|
3714
|
+
function et(e) {
|
|
3710
3715
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3711
3716
|
}
|
|
3712
|
-
function
|
|
3713
|
-
const r =
|
|
3714
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3717
|
+
function de(e, t = V().fallbackLocale) {
|
|
3718
|
+
const r = et(e);
|
|
3719
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
|
|
3715
3720
|
}
|
|
3716
3721
|
function R() {
|
|
3717
|
-
return
|
|
3722
|
+
return Me ?? void 0;
|
|
3718
3723
|
}
|
|
3719
3724
|
ue.subscribe((e) => {
|
|
3720
|
-
|
|
3725
|
+
Me = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3721
3726
|
});
|
|
3722
|
-
const
|
|
3723
|
-
if (e &&
|
|
3727
|
+
const Pn = (e) => {
|
|
3728
|
+
if (e && gn(e) && Ce(e)) {
|
|
3724
3729
|
const { loadingDelay: t } = V();
|
|
3725
3730
|
let r;
|
|
3726
3731
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
3727
|
-
() =>
|
|
3732
|
+
() => He.set(!0),
|
|
3728
3733
|
t
|
|
3729
|
-
) :
|
|
3734
|
+
) : He.set(!0), Ot(e).then(() => {
|
|
3730
3735
|
ue.set(e);
|
|
3731
3736
|
}).finally(() => {
|
|
3732
|
-
clearTimeout(r),
|
|
3737
|
+
clearTimeout(r), He.set(!1);
|
|
3733
3738
|
});
|
|
3734
3739
|
}
|
|
3735
3740
|
return ue.set(e);
|
|
3736
|
-
}, M = An(
|
|
3737
|
-
set:
|
|
3738
|
-
}),
|
|
3741
|
+
}, M = wn(An({}, ue), {
|
|
3742
|
+
set: Pn
|
|
3743
|
+
}), be = (e) => {
|
|
3739
3744
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3740
3745
|
return (n) => {
|
|
3741
3746
|
const i = JSON.stringify(n);
|
|
3742
3747
|
return i in t ? t[i] : t[i] = e(n);
|
|
3743
3748
|
};
|
|
3744
3749
|
};
|
|
3745
|
-
var
|
|
3750
|
+
var Nn = Object.defineProperty, he = Object.getOwnPropertySymbols, It = Object.prototype.hasOwnProperty, Lt = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
|
3746
3751
|
for (var r in t || (t = {}))
|
|
3747
|
-
|
|
3752
|
+
It.call(t, r) && tt(e, r, t[r]);
|
|
3748
3753
|
if (he)
|
|
3749
3754
|
for (var r of he(t))
|
|
3750
|
-
|
|
3755
|
+
Lt.call(t, r) && tt(e, r, t[r]);
|
|
3751
3756
|
return e;
|
|
3752
3757
|
}, Z = (e, t) => {
|
|
3753
3758
|
var r = {};
|
|
3754
3759
|
for (var n in e)
|
|
3755
|
-
|
|
3760
|
+
It.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3756
3761
|
if (e != null && he)
|
|
3757
3762
|
for (var n of he(e))
|
|
3758
|
-
t.indexOf(n) < 0 &&
|
|
3763
|
+
t.indexOf(n) < 0 && Lt.call(e, n) && (r[n] = e[n]);
|
|
3759
3764
|
return r;
|
|
3760
3765
|
};
|
|
3761
3766
|
const K = (e, t) => {
|
|
@@ -3763,21 +3768,21 @@ const K = (e, t) => {
|
|
|
3763
3768
|
if (e in r && t in r[e])
|
|
3764
3769
|
return r[e][t];
|
|
3765
3770
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3766
|
-
},
|
|
3771
|
+
}, On = be(
|
|
3767
3772
|
(e) => {
|
|
3768
3773
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3769
3774
|
if (r == null)
|
|
3770
3775
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3771
3776
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
3772
3777
|
}
|
|
3773
|
-
),
|
|
3778
|
+
), In = be(
|
|
3774
3779
|
(e) => {
|
|
3775
3780
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3776
3781
|
if (r == null)
|
|
3777
3782
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3778
3783
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3779
3784
|
}
|
|
3780
|
-
),
|
|
3785
|
+
), Ln = be(
|
|
3781
3786
|
(e) => {
|
|
3782
3787
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3783
3788
|
if (r == null)
|
|
@@ -3786,33 +3791,33 @@ const K = (e, t) => {
|
|
|
3786
3791
|
);
|
|
3787
3792
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3788
3793
|
}
|
|
3789
|
-
),
|
|
3794
|
+
), Cn = (e = {}) => {
|
|
3790
3795
|
var t = e, {
|
|
3791
3796
|
locale: r = R()
|
|
3792
3797
|
} = t, n = Z(t, [
|
|
3793
3798
|
"locale"
|
|
3794
3799
|
]);
|
|
3795
|
-
return
|
|
3796
|
-
},
|
|
3800
|
+
return On(Ge({ locale: r }, n));
|
|
3801
|
+
}, Mn = (e = {}) => {
|
|
3797
3802
|
var t = e, {
|
|
3798
3803
|
locale: r = R()
|
|
3799
3804
|
} = t, n = Z(t, [
|
|
3800
3805
|
"locale"
|
|
3801
3806
|
]);
|
|
3802
|
-
return
|
|
3803
|
-
},
|
|
3807
|
+
return In(Ge({ locale: r }, n));
|
|
3808
|
+
}, Rn = (e = {}) => {
|
|
3804
3809
|
var t = e, {
|
|
3805
3810
|
locale: r = R()
|
|
3806
3811
|
} = t, n = Z(t, [
|
|
3807
3812
|
"locale"
|
|
3808
3813
|
]);
|
|
3809
|
-
return
|
|
3810
|
-
},
|
|
3814
|
+
return Ln(Ge({ locale: r }, n));
|
|
3815
|
+
}, $n = be(
|
|
3811
3816
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3812
|
-
(e, t = R()) => new
|
|
3817
|
+
(e, t = R()) => new hn(e, t, V().formats, {
|
|
3813
3818
|
ignoreTag: V().ignoreTag
|
|
3814
3819
|
})
|
|
3815
|
-
),
|
|
3820
|
+
), Un = (e, t = {}) => {
|
|
3816
3821
|
var r, n, i, s;
|
|
3817
3822
|
let a = t;
|
|
3818
3823
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3825,7 +3830,7 @@ const K = (e, t) => {
|
|
|
3825
3830
|
throw new Error(
|
|
3826
3831
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3827
3832
|
);
|
|
3828
|
-
let h =
|
|
3833
|
+
let h = wt(e, l);
|
|
3829
3834
|
if (!h)
|
|
3830
3835
|
h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3831
3836
|
else if (typeof h != "string")
|
|
@@ -3836,7 +3841,7 @@ const K = (e, t) => {
|
|
|
3836
3841
|
return h;
|
|
3837
3842
|
let m = h;
|
|
3838
3843
|
try {
|
|
3839
|
-
m =
|
|
3844
|
+
m = $n(h, l).format(o);
|
|
3840
3845
|
} catch (f) {
|
|
3841
3846
|
f instanceof Error && console.warn(
|
|
3842
3847
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3844,18 +3849,18 @@ const K = (e, t) => {
|
|
|
3844
3849
|
);
|
|
3845
3850
|
}
|
|
3846
3851
|
return m;
|
|
3847
|
-
},
|
|
3848
|
-
z([M], () => Un);
|
|
3852
|
+
}, Dn = (e, t) => Rn(t).format(e), Gn = (e, t) => Mn(t).format(e), Fn = (e, t) => Cn(t).format(e), jn = (e, t = R()) => wt(e, t), mi = z([M, W], () => Un);
|
|
3849
3853
|
z([M], () => Dn);
|
|
3850
3854
|
z([M], () => Gn);
|
|
3851
|
-
z([M
|
|
3852
|
-
|
|
3855
|
+
z([M], () => Fn);
|
|
3856
|
+
z([M, W], () => jn);
|
|
3857
|
+
function kn(e, t) {
|
|
3853
3858
|
if (e) {
|
|
3854
3859
|
const r = document.createElement("style");
|
|
3855
3860
|
r.innerHTML = t, e.appendChild(r);
|
|
3856
3861
|
}
|
|
3857
3862
|
}
|
|
3858
|
-
function
|
|
3863
|
+
function Vn(e, t) {
|
|
3859
3864
|
const r = new URL(t);
|
|
3860
3865
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3861
3866
|
const i = document.createElement("style");
|
|
@@ -3864,7 +3869,7 @@ function kn(e, t) {
|
|
|
3864
3869
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3865
3870
|
});
|
|
3866
3871
|
}
|
|
3867
|
-
function
|
|
3872
|
+
function Xn(e, t, r) {
|
|
3868
3873
|
if (window.emMessageBus) {
|
|
3869
3874
|
const n = document.createElement("style");
|
|
3870
3875
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3872,7 +3877,7 @@ function Vn(e, t, r) {
|
|
|
3872
3877
|
});
|
|
3873
3878
|
}
|
|
3874
3879
|
}
|
|
3875
|
-
function
|
|
3880
|
+
function zn({ withLocale: e, translations: t }) {
|
|
3876
3881
|
M.subscribe((r) => {
|
|
3877
3882
|
r == null && (W.set(t), M.set(e));
|
|
3878
3883
|
});
|
|
@@ -3889,14 +3894,14 @@ if (typeof window < "u") {
|
|
|
3889
3894
|
}
|
|
3890
3895
|
};
|
|
3891
3896
|
};
|
|
3892
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3897
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-DyYqAUXu.js").then(({ default: t }) => {
|
|
3893
3898
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3894
3899
|
});
|
|
3895
3900
|
}
|
|
3896
|
-
function
|
|
3897
|
-
|
|
3901
|
+
function Wn(e) {
|
|
3902
|
+
$t(e, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
3898
3903
|
}
|
|
3899
|
-
function
|
|
3904
|
+
function rt(e) {
|
|
3900
3905
|
let t;
|
|
3901
3906
|
return {
|
|
3902
3907
|
c() {
|
|
@@ -3993,7 +3998,7 @@ function et(e) {
|
|
|
3993
3998
|
);
|
|
3994
3999
|
},
|
|
3995
4000
|
m(r, n) {
|
|
3996
|
-
|
|
4001
|
+
fe(r, t, n);
|
|
3997
4002
|
},
|
|
3998
4003
|
p(r, n) {
|
|
3999
4004
|
n & /*session*/
|
|
@@ -4111,21 +4116,21 @@ function et(e) {
|
|
|
4111
4116
|
}
|
|
4112
4117
|
};
|
|
4113
4118
|
}
|
|
4114
|
-
function
|
|
4119
|
+
function Zn(e) {
|
|
4115
4120
|
let t, r = (
|
|
4116
4121
|
/*session*/
|
|
4117
|
-
e[4] &&
|
|
4122
|
+
e[4] && rt(e)
|
|
4118
4123
|
);
|
|
4119
4124
|
return {
|
|
4120
4125
|
c() {
|
|
4121
4126
|
t = te("div"), r && r.c(), Re(t, "class", "CasinoFavoritesSectionContainer");
|
|
4122
4127
|
},
|
|
4123
4128
|
m(n, i) {
|
|
4124
|
-
|
|
4129
|
+
fe(n, t, i), r && r.m(t, null), e[19](t);
|
|
4125
4130
|
},
|
|
4126
4131
|
p(n, [i]) {
|
|
4127
4132
|
/*session*/
|
|
4128
|
-
n[4] ? r ? r.p(n, i) : (r =
|
|
4133
|
+
n[4] ? r ? r.p(n, i) : (r = rt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4129
4134
|
},
|
|
4130
4135
|
i: N,
|
|
4131
4136
|
o: N,
|
|
@@ -4134,12 +4139,12 @@ function Wn(e) {
|
|
|
4134
4139
|
}
|
|
4135
4140
|
};
|
|
4136
4141
|
}
|
|
4137
|
-
function
|
|
4142
|
+
function Qn(e, t, r) {
|
|
4138
4143
|
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: m = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: _ = "false" } = t, { visiblegames: T = "" } = t, { favorites: w = "" } = t, { casinomygames: A = "false" } = t, { fetchviaevent: S = "true" } = t, { mbsource: P } = t, x;
|
|
4139
|
-
|
|
4144
|
+
zn({ withLocale: "en", translations: {} }), Vt(() => () => {
|
|
4140
4145
|
});
|
|
4141
4146
|
function O(c) {
|
|
4142
|
-
|
|
4147
|
+
Te[c ? "unshift" : "push"](() => {
|
|
4143
4148
|
x = c, r(18, x);
|
|
4144
4149
|
});
|
|
4145
4150
|
}
|
|
@@ -4147,9 +4152,9 @@ function Zn(e, t, r) {
|
|
|
4147
4152
|
"endpoint" in c && r(0, n = c.endpoint), "datasource" in c && r(1, i = c.datasource), "currency" in c && r(2, s = c.currency), "lang" in c && r(3, a = c.lang), "session" in c && r(4, o = c.session), "userid" in c && r(5, l = c.userid), "clientstyling" in c && r(6, u = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "livecasino" in c && r(8, m = c.livecasino), "integratedgameframemobile" in c && r(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(10, b = c.integratedgameframedesktop), "showgamename" in c && r(11, y = c.showgamename), "gamepagemodalurl" in c && r(12, _ = c.gamepagemodalurl), "visiblegames" in c && r(13, T = c.visiblegames), "favorites" in c && r(14, w = c.favorites), "casinomygames" in c && r(15, A = c.casinomygames), "fetchviaevent" in c && r(16, S = c.fetchviaevent), "mbsource" in c && r(17, P = c.mbsource);
|
|
4148
4153
|
}, e.$$.update = () => {
|
|
4149
4154
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4150
|
-
262208 && u && x &&
|
|
4151
|
-
262272 && h && x &&
|
|
4152
|
-
393216 && x &&
|
|
4155
|
+
262208 && u && x && kn(x, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4156
|
+
262272 && h && x && Vn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4157
|
+
393216 && x && Xn(x, `${P}.Style`);
|
|
4153
4158
|
}, [
|
|
4154
4159
|
n,
|
|
4155
4160
|
i,
|
|
@@ -4173,14 +4178,14 @@ function Zn(e, t, r) {
|
|
|
4173
4178
|
O
|
|
4174
4179
|
];
|
|
4175
4180
|
}
|
|
4176
|
-
class
|
|
4181
|
+
class Ct extends Kt {
|
|
4177
4182
|
constructor(t) {
|
|
4178
|
-
super(),
|
|
4183
|
+
super(), Jt(
|
|
4179
4184
|
this,
|
|
4180
4185
|
t,
|
|
4186
|
+
Qn,
|
|
4181
4187
|
Zn,
|
|
4182
|
-
|
|
4183
|
-
rt,
|
|
4188
|
+
it,
|
|
4184
4189
|
{
|
|
4185
4190
|
endpoint: 0,
|
|
4186
4191
|
datasource: 1,
|
|
@@ -4201,7 +4206,7 @@ class It extends Jt {
|
|
|
4201
4206
|
fetchviaevent: 16,
|
|
4202
4207
|
mbsource: 17
|
|
4203
4208
|
},
|
|
4204
|
-
|
|
4209
|
+
Wn
|
|
4205
4210
|
);
|
|
4206
4211
|
}
|
|
4207
4212
|
get endpoint() {
|
|
@@ -4313,54 +4318,55 @@ class It extends Jt {
|
|
|
4313
4318
|
this.$$set({ mbsource: t }), H();
|
|
4314
4319
|
}
|
|
4315
4320
|
}
|
|
4316
|
-
|
|
4317
|
-
const
|
|
4321
|
+
Yt(Ct, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4322
|
+
const gi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4318
4323
|
__proto__: null,
|
|
4319
|
-
default:
|
|
4324
|
+
default: Ct
|
|
4320
4325
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4321
4326
|
export {
|
|
4322
4327
|
M as $,
|
|
4323
4328
|
ri as A,
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4327
|
-
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4332
|
-
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4329
|
+
ni as B,
|
|
4330
|
+
Kn as C,
|
|
4331
|
+
X as D,
|
|
4332
|
+
ii as E,
|
|
4333
|
+
mi as F,
|
|
4334
|
+
qn as G,
|
|
4335
|
+
si as H,
|
|
4336
|
+
Yn as I,
|
|
4337
|
+
g as J,
|
|
4338
|
+
ti as K,
|
|
4339
|
+
ai as L,
|
|
4340
|
+
oi as M,
|
|
4341
|
+
li as N,
|
|
4342
|
+
hi as O,
|
|
4343
|
+
gi as P,
|
|
4344
|
+
Kt as S,
|
|
4345
|
+
fi as _,
|
|
4346
|
+
ye as a,
|
|
4347
|
+
ci as b,
|
|
4348
|
+
ce as c,
|
|
4343
4349
|
W as d,
|
|
4344
|
-
|
|
4350
|
+
dn as e,
|
|
4345
4351
|
H as f,
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4352
|
+
Yt as g,
|
|
4353
|
+
$t as h,
|
|
4354
|
+
Jt as i,
|
|
4355
|
+
te as j,
|
|
4356
|
+
fe as k,
|
|
4357
|
+
ee as l,
|
|
4358
|
+
Jn as m,
|
|
4353
4359
|
N as n,
|
|
4354
|
-
|
|
4355
|
-
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4360
|
+
Vt as o,
|
|
4361
|
+
Vn as p,
|
|
4362
|
+
Te as q,
|
|
4363
|
+
kn as r,
|
|
4364
|
+
it as s,
|
|
4365
|
+
Xn as t,
|
|
4366
|
+
ui as u,
|
|
4367
|
+
Gt as v,
|
|
4368
|
+
ei as w,
|
|
4369
|
+
at as x,
|
|
4370
|
+
Re as y,
|
|
4371
|
+
Rt as z
|
|
4366
4372
|
};
|