@everymatrix/casino-my-games 1.54.11 → 1.55.0
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-DFa1TY-K.js → CasinoFavoritesSection-Cr_1p8p4.js} +535 -501
- package/components/{CasinoFavoritesSection-BSrpzPoO.js → CasinoFavoritesSection-DIoOe8bF.js} +963 -929
- package/components/CasinoFavoritesSection-DMJutyCH.cjs +3 -0
- package/components/{CasinoFilter-D8jjwr_7.js → CasinoFilter-96hImlbp.js} +343 -328
- package/components/{CasinoFilter-BtJAqQRB.js → CasinoFilter-BAXN5UNP.js} +311 -298
- package/components/CasinoFilter-ClaGlN0C.cjs +3 -0
- package/components/{CasinoGameThumbnail-pQqhkC7Q.js → CasinoGameThumbnail-C1DChbwh.js} +1222 -1243
- package/components/{CasinoGameThumbnail-yV7Rm_Ui.js → CasinoGameThumbnail-Dn6CswCt.js} +1385 -1374
- package/components/{CasinoGameThumbnail-CkzGRkKl.cjs → CasinoGameThumbnail-JxxFkocu.cjs} +16 -16
- package/components/CasinoGamesCategorySection-B1748gTc.cjs +1 -0
- package/components/{CasinoGamesCategorySection-Dbfi-m_B.js → CasinoGamesCategorySection-DeAGkwnC.js} +1169 -1107
- package/components/{CasinoGamesCategorySection-xskv0zFo.js → CasinoGamesCategorySection-NzZcepd8.js} +695 -633
- package/components/{CasinoLastPlayedSection-BLXlGapd.js → CasinoLastPlayedSection-B_I73Vkt.js} +146 -137
- package/components/{CasinoLastPlayedSection-DkwXMSgA.js → CasinoLastPlayedSection-CeiejUws.js} +146 -137
- package/components/CasinoLastPlayedSection-DOq6X6Tx.cjs +1 -0
- package/components/{CasinoMostPlayedSection-B2QkJUiE.cjs → CasinoMostPlayedSection-BaJ4rHx5.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-BBjfUegc.js → CasinoMostPlayedSection-DbS-S-SE.js} +30 -30
- package/components/{CasinoMostPlayedSection-CT_PdaLB.js → CasinoMostPlayedSection-_49P0UxX.js} +30 -30
- package/components/{CasinoMyGames-CFtfMaFn.cjs → CasinoMyGames-DfMMCiRd.cjs} +1 -1
- package/components/{CasinoMyGames-Bgdjdiij.js → CasinoMyGames-Du_G9Hyo.js} +140 -142
- package/components/{CasinoMyGames-uW7RuFpw.js → CasinoMyGames-pVUFXodP.js} +125 -129
- package/components/CasinoSort-CTUub2uF.cjs +1 -0
- package/components/{CasinoSort-B5_UOgHe.js → CasinoSort-CUiZIY5-.js} +180 -183
- package/components/CasinoSort-MYR9vcff.js +427 -0
- 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 +1 -1
- package/components/CasinoFavoritesSection-dDLqd6y8.cjs +0 -3
- package/components/CasinoFilter-BCpVzS08.cjs +0 -3
- package/components/CasinoGamesCategorySection-D0rmwB17.cjs +0 -1
- package/components/CasinoLastPlayedSection-CX99f9jq.cjs +0 -1
- package/components/CasinoSort-BvqwQlDk.js +0 -432
- package/components/CasinoSort-een1drZj.cjs +0 -1
package/components/{CasinoFavoritesSection-DFa1TY-K.js → CasinoFavoritesSection-Cr_1p8p4.js}
RENAMED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
function
|
|
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
12
|
function Me(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);
|
|
29
|
-
return
|
|
29
|
+
return N;
|
|
30
30
|
}
|
|
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 qn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(st(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Rt(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function $t(e, t, r) {
|
|
41
|
+
const n = Ut(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
43
|
const i = te("style");
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
44
|
+
i.id = t, i.textContent = r, Dt(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Ut(e) {
|
|
48
48
|
if (!e) return document;
|
|
49
49
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
50
50
|
return t && /** @type {ShadowRoot} */
|
|
@@ -53,8 +53,8 @@ function Rt(e) {
|
|
|
53
53
|
t
|
|
54
54
|
) : e.ownerDocument;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
57
|
-
return
|
|
56
|
+
function Dt(e, t) {
|
|
57
|
+
return Rt(
|
|
58
58
|
/** @type {Document} */
|
|
59
59
|
e.head || e,
|
|
60
60
|
t
|
|
@@ -66,26 +66,26 @@ function le(e, t, r) {
|
|
|
66
66
|
function ee(e) {
|
|
67
67
|
e.parentNode && e.parentNode.removeChild(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function Jn(e, t) {
|
|
70
70
|
for (let r = 0; r < e.length; r += 1)
|
|
71
71
|
e[r] && e[r].d(t);
|
|
72
72
|
}
|
|
73
73
|
function te(e) {
|
|
74
74
|
return document.createElement(e);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Gt(e) {
|
|
77
77
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function at(e) {
|
|
80
80
|
return document.createTextNode(e);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
return
|
|
82
|
+
function Yn() {
|
|
83
|
+
return at(" ");
|
|
84
84
|
}
|
|
85
|
-
function
|
|
86
|
-
return
|
|
85
|
+
function Kn() {
|
|
86
|
+
return at("");
|
|
87
87
|
}
|
|
88
|
-
function
|
|
88
|
+
function ei(e, t, r, n) {
|
|
89
89
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
90
90
|
}
|
|
91
91
|
function Re(e, t, r) {
|
|
@@ -95,20 +95,20 @@ function g(e, t, r) {
|
|
|
95
95
|
const n = t.toLowerCase();
|
|
96
96
|
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);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Ft(e) {
|
|
99
99
|
return Array.from(e.childNodes);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function ti(e, t) {
|
|
102
102
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
103
103
|
t);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function ri(e, t) {
|
|
106
106
|
e.value = t ?? "";
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function ni(e, t, r) {
|
|
109
109
|
e.classList.toggle(t, !!r);
|
|
110
110
|
}
|
|
111
|
-
class
|
|
111
|
+
class ii {
|
|
112
112
|
/**
|
|
113
113
|
* @private
|
|
114
114
|
* @default false
|
|
@@ -139,7 +139,7 @@ class ei {
|
|
|
139
139
|
* @returns {void}
|
|
140
140
|
*/
|
|
141
141
|
m(t, r, n = null) {
|
|
142
|
-
this.e || (this.is_svg ? this.e =
|
|
142
|
+
this.e || (this.is_svg ? this.e = Gt(
|
|
143
143
|
/** @type {keyof SVGElementTagNameMap} */
|
|
144
144
|
r.nodeName
|
|
145
145
|
) : this.e = te(
|
|
@@ -178,7 +178,7 @@ class ei {
|
|
|
178
178
|
this.n.forEach(ee);
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
|
-
function
|
|
181
|
+
function jt(e) {
|
|
182
182
|
const t = {};
|
|
183
183
|
return e.childNodes.forEach(
|
|
184
184
|
/** @param {Element} node */
|
|
@@ -191,22 +191,22 @@ let J;
|
|
|
191
191
|
function q(e) {
|
|
192
192
|
J = e;
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function kt() {
|
|
195
195
|
if (!J) throw new Error("Function called outside component initialization");
|
|
196
196
|
return J;
|
|
197
197
|
}
|
|
198
|
-
function
|
|
199
|
-
|
|
198
|
+
function si(e) {
|
|
199
|
+
kt().$$.on_mount.push(e);
|
|
200
200
|
}
|
|
201
201
|
const D = [], He = [];
|
|
202
202
|
let G = [];
|
|
203
|
-
const
|
|
203
|
+
const je = [], ot = /* @__PURE__ */ Promise.resolve();
|
|
204
204
|
let Te = !1;
|
|
205
|
-
function
|
|
206
|
-
Te || (Te = !0,
|
|
205
|
+
function ut() {
|
|
206
|
+
Te || (Te = !0, ot.then(H));
|
|
207
207
|
}
|
|
208
|
-
function
|
|
209
|
-
return
|
|
208
|
+
function ai() {
|
|
209
|
+
return ut(), ot;
|
|
210
210
|
}
|
|
211
211
|
function Se(e) {
|
|
212
212
|
G.push(e);
|
|
@@ -221,7 +221,7 @@ function H() {
|
|
|
221
221
|
try {
|
|
222
222
|
for (; $ < D.length; ) {
|
|
223
223
|
const t = D[$];
|
|
224
|
-
$++, q(t),
|
|
224
|
+
$++, q(t), Vt(t.$$);
|
|
225
225
|
}
|
|
226
226
|
} catch (t) {
|
|
227
227
|
throw D.length = 0, $ = 0, t;
|
|
@@ -233,71 +233,71 @@ function H() {
|
|
|
233
233
|
}
|
|
234
234
|
G.length = 0;
|
|
235
235
|
} while (D.length);
|
|
236
|
-
for (;
|
|
237
|
-
|
|
236
|
+
for (; je.length; )
|
|
237
|
+
je.pop()();
|
|
238
238
|
Te = !1, be.clear(), q(e);
|
|
239
239
|
}
|
|
240
|
-
function
|
|
240
|
+
function Vt(e) {
|
|
241
241
|
if (e.fragment !== null) {
|
|
242
242
|
e.update(), X(e.before_update);
|
|
243
243
|
const t = e.dirty;
|
|
244
244
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
|
-
function
|
|
247
|
+
function Xt(e) {
|
|
248
248
|
const t = [], r = [];
|
|
249
249
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
250
250
|
}
|
|
251
|
-
const
|
|
252
|
-
function
|
|
253
|
-
e && e.i && (
|
|
251
|
+
const zt = /* @__PURE__ */ new Set();
|
|
252
|
+
function ht(e, t) {
|
|
253
|
+
e && e.i && (zt.delete(e), e.i(t));
|
|
254
254
|
}
|
|
255
|
-
function
|
|
255
|
+
function oi(e) {
|
|
256
256
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function ui(e, t) {
|
|
259
259
|
e.d(1), t.delete(e.key);
|
|
260
260
|
}
|
|
261
|
-
function
|
|
261
|
+
function hi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
262
262
|
let f = e.length, b = s.length, y = f;
|
|
263
|
-
const
|
|
264
|
-
for (; y--; )
|
|
265
|
-
const T = [],
|
|
263
|
+
const _ = {};
|
|
264
|
+
for (; y--; ) _[e[y].key] = y;
|
|
265
|
+
const T = [], w = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = [];
|
|
266
266
|
for (y = b; y--; ) {
|
|
267
|
-
const
|
|
268
|
-
let
|
|
269
|
-
|
|
267
|
+
const c = m(i, s, y), I = r(c);
|
|
268
|
+
let L = a.get(I);
|
|
269
|
+
L ? S.push(() => L.p(c, t)) : (L = u(I, c), L.c()), w.set(I, T[y] = L), I in _ && A.set(I, Math.abs(y - _[I]));
|
|
270
270
|
}
|
|
271
|
-
const
|
|
272
|
-
function
|
|
273
|
-
|
|
271
|
+
const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
272
|
+
function O(c) {
|
|
273
|
+
ht(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
|
|
274
274
|
}
|
|
275
275
|
for (; f && b; ) {
|
|
276
|
-
const
|
|
277
|
-
|
|
276
|
+
const c = T[b - 1], I = e[f - 1], L = c.key, re = I.key;
|
|
277
|
+
c === I ? (h = c.first, f--, b--) : w.has(re) ? !a.has(L) || P.has(L) ? O(c) : x.has(re) ? f-- : A.get(L) > A.get(re) ? (x.add(L), O(c)) : (P.add(re), f--) : (l(I, a), f--);
|
|
278
278
|
}
|
|
279
279
|
for (; f--; ) {
|
|
280
|
-
const
|
|
281
|
-
|
|
280
|
+
const c = e[f];
|
|
281
|
+
w.has(c.key) || l(c, a);
|
|
282
282
|
}
|
|
283
|
-
for (; b; )
|
|
283
|
+
for (; b; ) O(T[b - 1]);
|
|
284
284
|
return X(S), T;
|
|
285
285
|
}
|
|
286
|
-
function
|
|
286
|
+
function Wt(e, t, r) {
|
|
287
287
|
const { fragment: n, after_update: i } = e.$$;
|
|
288
288
|
n && n.m(t, r), Se(() => {
|
|
289
|
-
const s = e.$$.on_mount.map(
|
|
289
|
+
const s = e.$$.on_mount.map(nt).filter(Me);
|
|
290
290
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
291
291
|
}), i.forEach(Se);
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function Zt(e, t) {
|
|
294
294
|
const r = e.$$;
|
|
295
|
-
r.fragment !== null && (
|
|
295
|
+
r.fragment !== null && (Xt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
296
296
|
}
|
|
297
|
-
function
|
|
298
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
297
|
+
function Qt(e, t) {
|
|
298
|
+
e.$$.dirty[0] === -1 && (D.push(e), ut(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
299
299
|
}
|
|
300
|
-
function
|
|
300
|
+
function qt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
301
301
|
const l = J;
|
|
302
302
|
q(e);
|
|
303
303
|
const u = e.$$ = {
|
|
@@ -305,9 +305,9 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
305
305
|
ctx: [],
|
|
306
306
|
// state
|
|
307
307
|
props: s,
|
|
308
|
-
update:
|
|
308
|
+
update: N,
|
|
309
309
|
not_equal: i,
|
|
310
|
-
bound:
|
|
310
|
+
bound: Fe(),
|
|
311
311
|
// lifecycle
|
|
312
312
|
on_mount: [],
|
|
313
313
|
on_destroy: [],
|
|
@@ -316,28 +316,28 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
316
316
|
after_update: [],
|
|
317
317
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
318
318
|
// everything else
|
|
319
|
-
callbacks:
|
|
319
|
+
callbacks: Fe(),
|
|
320
320
|
dirty: o,
|
|
321
321
|
skip_bound: !1,
|
|
322
322
|
root: t.target || l.$$.root
|
|
323
323
|
};
|
|
324
324
|
a && a(u.root);
|
|
325
325
|
let h = !1;
|
|
326
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
326
|
+
if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
327
327
|
const y = b.length ? b[0] : f;
|
|
328
|
-
return u.ctx && i(u.ctx[
|
|
328
|
+
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;
|
|
329
329
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
330
330
|
if (t.hydrate) {
|
|
331
|
-
const
|
|
332
|
-
u.fragment && u.fragment.l(
|
|
331
|
+
const m = Ft(t.target);
|
|
332
|
+
u.fragment && u.fragment.l(m), m.forEach(ee);
|
|
333
333
|
} else
|
|
334
334
|
u.fragment && u.fragment.c();
|
|
335
|
-
t.intro &&
|
|
335
|
+
t.intro && ht(e.$$.fragment), Wt(e, t.target, t.anchor), H();
|
|
336
336
|
}
|
|
337
337
|
q(l);
|
|
338
338
|
}
|
|
339
|
-
let
|
|
340
|
-
typeof HTMLElement == "function" && (
|
|
339
|
+
let lt;
|
|
340
|
+
typeof HTMLElement == "function" && (lt = class extends HTMLElement {
|
|
341
341
|
/** The Svelte component constructor */
|
|
342
342
|
$$ctor;
|
|
343
343
|
/** Slots */
|
|
@@ -396,7 +396,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
396
396
|
};
|
|
397
397
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
398
398
|
return;
|
|
399
|
-
const t = {}, r =
|
|
399
|
+
const t = {}, r = jt(this);
|
|
400
400
|
for (const i of this.$$s)
|
|
401
401
|
i in r && (t[i] = [e(i)]);
|
|
402
402
|
for (const i of this.attributes) {
|
|
@@ -483,8 +483,8 @@ function se(e, t, r, n) {
|
|
|
483
483
|
return t;
|
|
484
484
|
}
|
|
485
485
|
}
|
|
486
|
-
function
|
|
487
|
-
let a = class extends
|
|
486
|
+
function Jt(e, t, r, n, i, s) {
|
|
487
|
+
let a = class extends lt {
|
|
488
488
|
constructor() {
|
|
489
489
|
super(e, r, i), this.$$p_d = t;
|
|
490
490
|
}
|
|
@@ -512,7 +512,7 @@ function Qt(e, t, r, n, i, s) {
|
|
|
512
512
|
}), e.element = /** @type {any} */
|
|
513
513
|
a, a;
|
|
514
514
|
}
|
|
515
|
-
class
|
|
515
|
+
class Yt {
|
|
516
516
|
/**
|
|
517
517
|
* ### PRIVATE API
|
|
518
518
|
*
|
|
@@ -531,7 +531,7 @@ class qt {
|
|
|
531
531
|
$$set = void 0;
|
|
532
532
|
/** @returns {void} */
|
|
533
533
|
$destroy() {
|
|
534
|
-
|
|
534
|
+
Zt(this, 1), this.$destroy = N;
|
|
535
535
|
}
|
|
536
536
|
/**
|
|
537
537
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -541,7 +541,7 @@ class qt {
|
|
|
541
541
|
*/
|
|
542
542
|
$on(t, r) {
|
|
543
543
|
if (!Me(r))
|
|
544
|
-
return
|
|
544
|
+
return N;
|
|
545
545
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
546
546
|
return n.push(r), () => {
|
|
547
547
|
const i = n.indexOf(r);
|
|
@@ -553,11 +553,11 @@ class qt {
|
|
|
553
553
|
* @returns {void}
|
|
554
554
|
*/
|
|
555
555
|
$set(t) {
|
|
556
|
-
this.$$set && !
|
|
556
|
+
this.$$set && !Mt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
|
-
const
|
|
560
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
559
|
+
const Kt = "4";
|
|
560
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
|
|
561
561
|
var Be = function(e, t) {
|
|
562
562
|
return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
563
563
|
r.__proto__ = n;
|
|
@@ -583,7 +583,7 @@ var E = function() {
|
|
|
583
583
|
return t;
|
|
584
584
|
}, E.apply(this, arguments);
|
|
585
585
|
};
|
|
586
|
-
function
|
|
586
|
+
function er(e, t) {
|
|
587
587
|
var r = {};
|
|
588
588
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
589
589
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -591,7 +591,7 @@ function Yt(e, t) {
|
|
|
591
591
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
592
592
|
return r;
|
|
593
593
|
}
|
|
594
|
-
function
|
|
594
|
+
function li(e) {
|
|
595
595
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
596
596
|
if (r) return r.call(e);
|
|
597
597
|
if (e && typeof e.length == "number") return {
|
|
@@ -601,7 +601,7 @@ function ai(e) {
|
|
|
601
601
|
};
|
|
602
602
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
603
603
|
}
|
|
604
|
-
function
|
|
604
|
+
function fi(e, t) {
|
|
605
605
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
606
606
|
if (!r) return e;
|
|
607
607
|
var n = r.call(e), i, s = [], a;
|
|
@@ -624,16 +624,16 @@ function pe(e, t, r) {
|
|
|
624
624
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
625
625
|
}
|
|
626
626
|
const U = [];
|
|
627
|
-
function
|
|
627
|
+
function tr(e, t) {
|
|
628
628
|
return {
|
|
629
629
|
subscribe: ce(e, t).subscribe
|
|
630
630
|
};
|
|
631
631
|
}
|
|
632
|
-
function ce(e, t =
|
|
632
|
+
function ce(e, t = N) {
|
|
633
633
|
let r;
|
|
634
634
|
const n = /* @__PURE__ */ new Set();
|
|
635
635
|
function i(o) {
|
|
636
|
-
if (
|
|
636
|
+
if (it(e, o) && (e = o, r)) {
|
|
637
637
|
const l = !U.length;
|
|
638
638
|
for (const u of n)
|
|
639
639
|
u[1](), U.push(u, e);
|
|
@@ -647,109 +647,109 @@ function ce(e, t = I) {
|
|
|
647
647
|
function s(o) {
|
|
648
648
|
i(o(e));
|
|
649
649
|
}
|
|
650
|
-
function a(o, l =
|
|
650
|
+
function a(o, l = N) {
|
|
651
651
|
const u = [o, l];
|
|
652
|
-
return n.add(u), n.size === 1 && (r = t(i, s) ||
|
|
652
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || N), o(e), () => {
|
|
653
653
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
654
654
|
};
|
|
655
655
|
}
|
|
656
656
|
return { set: i, update: s, subscribe: a };
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function z(e, t, r) {
|
|
659
659
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
660
660
|
if (!i.every(Boolean))
|
|
661
661
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
662
662
|
const s = t.length < 2;
|
|
663
|
-
return
|
|
663
|
+
return tr(r, (a, o) => {
|
|
664
664
|
let l = !1;
|
|
665
665
|
const u = [];
|
|
666
|
-
let h = 0,
|
|
666
|
+
let h = 0, m = N;
|
|
667
667
|
const f = () => {
|
|
668
668
|
if (h)
|
|
669
669
|
return;
|
|
670
|
-
|
|
670
|
+
m();
|
|
671
671
|
const y = t(n ? u[0] : u, a, o);
|
|
672
|
-
s ? a(y) :
|
|
672
|
+
s ? a(y) : m = Me(y) ? y : N;
|
|
673
673
|
}, b = i.map(
|
|
674
|
-
(y,
|
|
674
|
+
(y, _) => st(
|
|
675
675
|
y,
|
|
676
676
|
(T) => {
|
|
677
|
-
u[
|
|
677
|
+
u[_] = T, h &= ~(1 << _), l && f();
|
|
678
678
|
},
|
|
679
679
|
() => {
|
|
680
|
-
h |= 1 <<
|
|
680
|
+
h |= 1 << _;
|
|
681
681
|
}
|
|
682
682
|
)
|
|
683
683
|
);
|
|
684
684
|
return l = !0, f(), function() {
|
|
685
|
-
X(b),
|
|
685
|
+
X(b), m(), l = !1;
|
|
686
686
|
};
|
|
687
687
|
});
|
|
688
688
|
}
|
|
689
|
-
function
|
|
689
|
+
function rr(e) {
|
|
690
690
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
691
691
|
}
|
|
692
|
-
var
|
|
693
|
-
return
|
|
692
|
+
var nr = function(t) {
|
|
693
|
+
return ir(t) && !sr(t);
|
|
694
694
|
};
|
|
695
|
-
function
|
|
695
|
+
function ir(e) {
|
|
696
696
|
return !!e && typeof e == "object";
|
|
697
697
|
}
|
|
698
|
-
function
|
|
698
|
+
function sr(e) {
|
|
699
699
|
var t = Object.prototype.toString.call(e);
|
|
700
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
700
|
+
return t === "[object RegExp]" || t === "[object Date]" || ur(e);
|
|
701
701
|
}
|
|
702
|
-
var
|
|
703
|
-
function
|
|
704
|
-
return e.$$typeof ===
|
|
702
|
+
var ar = typeof Symbol == "function" && Symbol.for, or = ar ? Symbol.for("react.element") : 60103;
|
|
703
|
+
function ur(e) {
|
|
704
|
+
return e.$$typeof === or;
|
|
705
705
|
}
|
|
706
|
-
function
|
|
706
|
+
function hr(e) {
|
|
707
707
|
return Array.isArray(e) ? [] : {};
|
|
708
708
|
}
|
|
709
709
|
function Y(e, t) {
|
|
710
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
710
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(hr(e), e, t) : e;
|
|
711
711
|
}
|
|
712
|
-
function
|
|
712
|
+
function lr(e, t, r) {
|
|
713
713
|
return e.concat(t).map(function(n) {
|
|
714
714
|
return Y(n, r);
|
|
715
715
|
});
|
|
716
716
|
}
|
|
717
|
-
function
|
|
717
|
+
function fr(e, t) {
|
|
718
718
|
if (!t.customMerge)
|
|
719
719
|
return F;
|
|
720
720
|
var r = t.customMerge(e);
|
|
721
721
|
return typeof r == "function" ? r : F;
|
|
722
722
|
}
|
|
723
|
-
function
|
|
723
|
+
function cr(e) {
|
|
724
724
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
725
725
|
return Object.propertyIsEnumerable.call(e, t);
|
|
726
726
|
}) : [];
|
|
727
727
|
}
|
|
728
|
-
function
|
|
729
|
-
return Object.keys(e).concat(
|
|
728
|
+
function ke(e) {
|
|
729
|
+
return Object.keys(e).concat(cr(e));
|
|
730
730
|
}
|
|
731
|
-
function
|
|
731
|
+
function ft(e, t) {
|
|
732
732
|
try {
|
|
733
733
|
return t in e;
|
|
734
734
|
} catch {
|
|
735
735
|
return !1;
|
|
736
736
|
}
|
|
737
737
|
}
|
|
738
|
-
function
|
|
739
|
-
return
|
|
738
|
+
function mr(e, t) {
|
|
739
|
+
return ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
740
740
|
}
|
|
741
|
-
function
|
|
741
|
+
function gr(e, t, r) {
|
|
742
742
|
var n = {};
|
|
743
|
-
return r.isMergeableObject(e) &&
|
|
743
|
+
return r.isMergeableObject(e) && ke(e).forEach(function(i) {
|
|
744
744
|
n[i] = Y(e[i], r);
|
|
745
|
-
}),
|
|
746
|
-
|
|
745
|
+
}), ke(t).forEach(function(i) {
|
|
746
|
+
mr(e, i) || (ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = fr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
747
747
|
}), n;
|
|
748
748
|
}
|
|
749
749
|
function F(e, t, r) {
|
|
750
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
750
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || lr, r.isMergeableObject = r.isMergeableObject || nr, r.cloneUnlessOtherwiseSpecified = Y;
|
|
751
751
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
752
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
752
|
+
return s ? n ? r.arrayMerge(e, t, r) : gr(e, t, r) : Y(t, r);
|
|
753
753
|
}
|
|
754
754
|
F.all = function(t, r) {
|
|
755
755
|
if (!Array.isArray(t))
|
|
@@ -758,56 +758,58 @@ F.all = function(t, r) {
|
|
|
758
758
|
return F(n, i, r);
|
|
759
759
|
}, {});
|
|
760
760
|
};
|
|
761
|
-
var
|
|
762
|
-
const
|
|
761
|
+
var dr = F, br = dr;
|
|
762
|
+
const pr = /* @__PURE__ */ rr(br);
|
|
763
763
|
function ye(e, t) {
|
|
764
|
-
var r = t && t.cache ? t.cache :
|
|
764
|
+
var r = t && t.cache ? t.cache : Hr, n = t && t.serializer ? t.serializer : xr, i = t && t.strategy ? t.strategy : Er;
|
|
765
765
|
return i(e, {
|
|
766
766
|
cache: r,
|
|
767
767
|
serializer: n
|
|
768
768
|
});
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function yr(e) {
|
|
771
771
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
772
772
|
}
|
|
773
|
-
function
|
|
774
|
-
var i =
|
|
773
|
+
function ct(e, t, r, n) {
|
|
774
|
+
var i = yr(n) ? n : r(n), s = t.get(i);
|
|
775
775
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
776
776
|
}
|
|
777
|
-
function
|
|
777
|
+
function mt(e, t, r) {
|
|
778
778
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
779
779
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
780
780
|
}
|
|
781
|
-
function
|
|
781
|
+
function $e(e, t, r, n, i) {
|
|
782
782
|
return r.bind(t, e, n, i);
|
|
783
783
|
}
|
|
784
|
-
function yr(e, t) {
|
|
785
|
-
var r = e.length === 1 ? pr : lt;
|
|
786
|
-
return ft(e, this, r, t.cache.create(), t.serializer);
|
|
787
|
-
}
|
|
788
784
|
function Er(e, t) {
|
|
789
|
-
|
|
785
|
+
var r = e.length === 1 ? ct : mt;
|
|
786
|
+
return $e(e, this, r, t.cache.create(), t.serializer);
|
|
787
|
+
}
|
|
788
|
+
function vr(e, t) {
|
|
789
|
+
return $e(e, this, mt, t.cache.create(), t.serializer);
|
|
790
|
+
}
|
|
791
|
+
function _r(e, t) {
|
|
792
|
+
return $e(e, this, ct, t.cache.create(), t.serializer);
|
|
790
793
|
}
|
|
791
|
-
var
|
|
794
|
+
var xr = function() {
|
|
792
795
|
return JSON.stringify(arguments);
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
}()
|
|
805
|
-
), xr = {
|
|
796
|
+
};
|
|
797
|
+
function Ue() {
|
|
798
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
799
|
+
}
|
|
800
|
+
Ue.prototype.get = function(e) {
|
|
801
|
+
return this.cache[e];
|
|
802
|
+
};
|
|
803
|
+
Ue.prototype.set = function(e, t) {
|
|
804
|
+
this.cache[e] = t;
|
|
805
|
+
};
|
|
806
|
+
var Hr = {
|
|
806
807
|
create: function() {
|
|
807
|
-
return new
|
|
808
|
+
return new Ue();
|
|
808
809
|
}
|
|
809
810
|
}, Ee = {
|
|
810
|
-
variadic:
|
|
811
|
+
variadic: vr,
|
|
812
|
+
monadic: _r
|
|
811
813
|
}, d;
|
|
812
814
|
(function(e) {
|
|
813
815
|
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";
|
|
@@ -820,43 +822,43 @@ var j;
|
|
|
820
822
|
(function(e) {
|
|
821
823
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
822
824
|
})(j || (j = {}));
|
|
823
|
-
function
|
|
825
|
+
function Ve(e) {
|
|
824
826
|
return e.type === v.literal;
|
|
825
827
|
}
|
|
826
|
-
function
|
|
828
|
+
function Tr(e) {
|
|
827
829
|
return e.type === v.argument;
|
|
828
830
|
}
|
|
829
|
-
function
|
|
831
|
+
function gt(e) {
|
|
830
832
|
return e.type === v.number;
|
|
831
833
|
}
|
|
832
|
-
function
|
|
834
|
+
function dt(e) {
|
|
833
835
|
return e.type === v.date;
|
|
834
836
|
}
|
|
835
|
-
function
|
|
837
|
+
function bt(e) {
|
|
836
838
|
return e.type === v.time;
|
|
837
839
|
}
|
|
838
|
-
function
|
|
840
|
+
function pt(e) {
|
|
839
841
|
return e.type === v.select;
|
|
840
842
|
}
|
|
841
|
-
function
|
|
843
|
+
function yt(e) {
|
|
842
844
|
return e.type === v.plural;
|
|
843
845
|
}
|
|
844
|
-
function
|
|
846
|
+
function Sr(e) {
|
|
845
847
|
return e.type === v.pound;
|
|
846
848
|
}
|
|
847
|
-
function
|
|
849
|
+
function Et(e) {
|
|
848
850
|
return e.type === v.tag;
|
|
849
851
|
}
|
|
850
|
-
function
|
|
852
|
+
function vt(e) {
|
|
851
853
|
return !!(e && typeof e == "object" && e.type === j.number);
|
|
852
854
|
}
|
|
853
855
|
function Ae(e) {
|
|
854
856
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
855
857
|
}
|
|
856
|
-
var
|
|
857
|
-
function
|
|
858
|
+
var _t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Br = /(?:[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;
|
|
859
|
+
function Ar(e) {
|
|
858
860
|
var t = {};
|
|
859
|
-
return e.replace(
|
|
861
|
+
return e.replace(Br, function(r) {
|
|
860
862
|
var n = r.length;
|
|
861
863
|
switch (r[0]) {
|
|
862
864
|
case "G":
|
|
@@ -945,36 +947,36 @@ function Br(e) {
|
|
|
945
947
|
return "";
|
|
946
948
|
}), t;
|
|
947
949
|
}
|
|
948
|
-
var
|
|
949
|
-
function
|
|
950
|
+
var wr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
951
|
+
function Pr(e) {
|
|
950
952
|
if (e.length === 0)
|
|
951
953
|
throw new Error("Number skeleton cannot be empty");
|
|
952
|
-
for (var t = e.split(
|
|
954
|
+
for (var t = e.split(wr).filter(function(f) {
|
|
953
955
|
return f.length > 0;
|
|
954
956
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
955
957
|
var s = i[n], a = s.split("/");
|
|
956
958
|
if (a.length === 0)
|
|
957
959
|
throw new Error("Invalid number skeleton");
|
|
958
960
|
for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
959
|
-
var
|
|
960
|
-
if (
|
|
961
|
+
var m = h[u];
|
|
962
|
+
if (m.length === 0)
|
|
961
963
|
throw new Error("Invalid number skeleton");
|
|
962
964
|
}
|
|
963
965
|
r.push({ stem: o, options: l });
|
|
964
966
|
}
|
|
965
967
|
return r;
|
|
966
968
|
}
|
|
967
|
-
function
|
|
969
|
+
function Nr(e) {
|
|
968
970
|
return e.replace(/^(.*?)-/, "");
|
|
969
971
|
}
|
|
970
|
-
var
|
|
971
|
-
function
|
|
972
|
+
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, xt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, Ht = /^(0+)$/;
|
|
973
|
+
function ze(e) {
|
|
972
974
|
var t = {};
|
|
973
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
975
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(xt, function(r, n, i) {
|
|
974
976
|
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)), "";
|
|
975
977
|
}), t;
|
|
976
978
|
}
|
|
977
|
-
function
|
|
979
|
+
function Tt(e) {
|
|
978
980
|
switch (e) {
|
|
979
981
|
case "sign-auto":
|
|
980
982
|
return {
|
|
@@ -1014,7 +1016,7 @@ function xt(e) {
|
|
|
1014
1016
|
};
|
|
1015
1017
|
}
|
|
1016
1018
|
}
|
|
1017
|
-
function
|
|
1019
|
+
function Ir(e) {
|
|
1018
1020
|
var t;
|
|
1019
1021
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1020
1022
|
notation: "engineering"
|
|
@@ -1022,17 +1024,17 @@ function Or(e) {
|
|
|
1022
1024
|
notation: "scientific"
|
|
1023
1025
|
}, e = e.slice(1)), t) {
|
|
1024
1026
|
var r = e.slice(0, 2);
|
|
1025
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1027
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ht.test(e))
|
|
1026
1028
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1027
1029
|
t.minimumIntegerDigits = e.length;
|
|
1028
1030
|
}
|
|
1029
1031
|
return t;
|
|
1030
1032
|
}
|
|
1031
|
-
function
|
|
1032
|
-
var t = {}, r =
|
|
1033
|
+
function We(e) {
|
|
1034
|
+
var t = {}, r = Tt(e);
|
|
1033
1035
|
return r || t;
|
|
1034
1036
|
}
|
|
1035
|
-
function
|
|
1037
|
+
function Lr(e) {
|
|
1036
1038
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1037
1039
|
var i = n[r];
|
|
1038
1040
|
switch (i.stem) {
|
|
@@ -1056,7 +1058,7 @@ function Ir(e) {
|
|
|
1056
1058
|
continue;
|
|
1057
1059
|
case "measure-unit":
|
|
1058
1060
|
case "unit":
|
|
1059
|
-
t.style = "unit", t.unit =
|
|
1061
|
+
t.style = "unit", t.unit = Nr(i.options[0]);
|
|
1060
1062
|
continue;
|
|
1061
1063
|
case "compact-short":
|
|
1062
1064
|
case "K":
|
|
@@ -1068,12 +1070,12 @@ function Ir(e) {
|
|
|
1068
1070
|
continue;
|
|
1069
1071
|
case "scientific":
|
|
1070
1072
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1071
|
-
return E(E({}, l),
|
|
1073
|
+
return E(E({}, l), We(u));
|
|
1072
1074
|
}, {}));
|
|
1073
1075
|
continue;
|
|
1074
1076
|
case "engineering":
|
|
1075
1077
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1076
|
-
return E(E({}, l),
|
|
1078
|
+
return E(E({}, l), We(u));
|
|
1077
1079
|
}, {}));
|
|
1078
1080
|
continue;
|
|
1079
1081
|
case "notation-simple":
|
|
@@ -1118,11 +1120,11 @@ function Ir(e) {
|
|
|
1118
1120
|
case "integer-width":
|
|
1119
1121
|
if (i.options.length > 1)
|
|
1120
1122
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1121
|
-
i.options[0].replace(
|
|
1123
|
+
i.options[0].replace(Or, function(l, u, h, m, f, b) {
|
|
1122
1124
|
if (u)
|
|
1123
1125
|
t.minimumIntegerDigits = h.length;
|
|
1124
1126
|
else {
|
|
1125
|
-
if (
|
|
1127
|
+
if (m && f)
|
|
1126
1128
|
throw new Error("We currently do not support maximum integer digits");
|
|
1127
1129
|
if (b)
|
|
1128
1130
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1131,27 +1133,27 @@ function Ir(e) {
|
|
|
1131
1133
|
});
|
|
1132
1134
|
continue;
|
|
1133
1135
|
}
|
|
1134
|
-
if (
|
|
1136
|
+
if (Ht.test(i.stem)) {
|
|
1135
1137
|
t.minimumIntegerDigits = i.stem.length;
|
|
1136
1138
|
continue;
|
|
1137
1139
|
}
|
|
1138
|
-
if (
|
|
1140
|
+
if (Xe.test(i.stem)) {
|
|
1139
1141
|
if (i.options.length > 1)
|
|
1140
1142
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1141
|
-
i.stem.replace(
|
|
1142
|
-
return h === "*" ? t.minimumFractionDigits = u.length :
|
|
1143
|
+
i.stem.replace(Xe, function(l, u, h, m, f, b) {
|
|
1144
|
+
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), "";
|
|
1143
1145
|
});
|
|
1144
1146
|
var s = i.options[0];
|
|
1145
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1147
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ze(s)));
|
|
1146
1148
|
continue;
|
|
1147
1149
|
}
|
|
1148
|
-
if (
|
|
1149
|
-
t = E(E({}, t),
|
|
1150
|
+
if (xt.test(i.stem)) {
|
|
1151
|
+
t = E(E({}, t), ze(i.stem));
|
|
1150
1152
|
continue;
|
|
1151
1153
|
}
|
|
1152
|
-
var a =
|
|
1154
|
+
var a = Tt(i.stem);
|
|
1153
1155
|
a && (t = E(E({}, t), a));
|
|
1154
|
-
var o =
|
|
1156
|
+
var o = Ir(i.stem);
|
|
1155
1157
|
o && (t = E(E({}, t), o));
|
|
1156
1158
|
}
|
|
1157
1159
|
return t;
|
|
@@ -2571,13 +2573,13 @@ var ie = {
|
|
|
2571
2573
|
"h"
|
|
2572
2574
|
]
|
|
2573
2575
|
};
|
|
2574
|
-
function
|
|
2576
|
+
function Cr(e, t) {
|
|
2575
2577
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2576
2578
|
var i = e.charAt(n);
|
|
2577
2579
|
if (i === "j") {
|
|
2578
2580
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2579
2581
|
s++, n++;
|
|
2580
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2582
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Mr(t);
|
|
2581
2583
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2582
2584
|
r += l;
|
|
2583
2585
|
for (; a-- > 0; )
|
|
@@ -2586,7 +2588,7 @@ function Lr(e, t) {
|
|
|
2586
2588
|
}
|
|
2587
2589
|
return r;
|
|
2588
2590
|
}
|
|
2589
|
-
function
|
|
2591
|
+
function Mr(e) {
|
|
2590
2592
|
var t = e.hourCycle;
|
|
2591
2593
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2592
2594
|
e.hourCycles && // @ts-ignore
|
|
@@ -2608,20 +2610,20 @@ function Cr(e) {
|
|
|
2608
2610
|
var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
|
|
2609
2611
|
return i[0];
|
|
2610
2612
|
}
|
|
2611
|
-
var ve,
|
|
2613
|
+
var ve, Rr = new RegExp("^".concat(_t.source, "*")), $r = new RegExp("".concat(_t.source, "*$"));
|
|
2612
2614
|
function p(e, t) {
|
|
2613
2615
|
return { start: e, end: t };
|
|
2614
2616
|
}
|
|
2615
|
-
var
|
|
2617
|
+
var Ur = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dr = !!String.fromCodePoint, Gr = !!Object.fromEntries, Fr = !!String.prototype.codePointAt, jr = !!String.prototype.trimStart, kr = !!String.prototype.trimEnd, Vr = !!Number.isSafeInteger, Xr = Vr ? Number.isSafeInteger : function(e) {
|
|
2616
2618
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2617
2619
|
}, we = !0;
|
|
2618
2620
|
try {
|
|
2619
|
-
var
|
|
2620
|
-
we = ((ve =
|
|
2621
|
+
var zr = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2622
|
+
we = ((ve = zr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
|
|
2621
2623
|
} catch {
|
|
2622
2624
|
we = !1;
|
|
2623
2625
|
}
|
|
2624
|
-
var
|
|
2626
|
+
var Ze = Ur ? (
|
|
2625
2627
|
// Native
|
|
2626
2628
|
function(t, r, n) {
|
|
2627
2629
|
return t.startsWith(r, n);
|
|
@@ -2631,7 +2633,7 @@ var We = $r ? (
|
|
|
2631
2633
|
function(t, r, n) {
|
|
2632
2634
|
return t.slice(n, n + r.length) === r;
|
|
2633
2635
|
}
|
|
2634
|
-
), Pe =
|
|
2636
|
+
), Pe = Dr ? String.fromCodePoint : (
|
|
2635
2637
|
// IE11
|
|
2636
2638
|
function() {
|
|
2637
2639
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2643,9 +2645,9 @@ var We = $r ? (
|
|
|
2643
2645
|
}
|
|
2644
2646
|
return n;
|
|
2645
2647
|
}
|
|
2646
|
-
),
|
|
2648
|
+
), Qe = (
|
|
2647
2649
|
// native
|
|
2648
|
-
|
|
2650
|
+
Gr ? Object.fromEntries : (
|
|
2649
2651
|
// Ponyfill
|
|
2650
2652
|
function(t) {
|
|
2651
2653
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2655,7 +2657,7 @@ var We = $r ? (
|
|
|
2655
2657
|
return r;
|
|
2656
2658
|
}
|
|
2657
2659
|
)
|
|
2658
|
-
),
|
|
2660
|
+
), St = Fr ? (
|
|
2659
2661
|
// Native
|
|
2660
2662
|
function(t, r) {
|
|
2661
2663
|
return t.codePointAt(r);
|
|
@@ -2669,7 +2671,7 @@ var We = $r ? (
|
|
|
2669
2671
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2670
2672
|
}
|
|
2671
2673
|
}
|
|
2672
|
-
), Wr =
|
|
2674
|
+
), Wr = jr ? (
|
|
2673
2675
|
// Native
|
|
2674
2676
|
function(t) {
|
|
2675
2677
|
return t.trimStart();
|
|
@@ -2677,9 +2679,9 @@ var We = $r ? (
|
|
|
2677
2679
|
) : (
|
|
2678
2680
|
// Ponyfill
|
|
2679
2681
|
function(t) {
|
|
2680
|
-
return t.replace(
|
|
2682
|
+
return t.replace(Rr, "");
|
|
2681
2683
|
}
|
|
2682
|
-
),
|
|
2684
|
+
), Zr = kr ? (
|
|
2683
2685
|
// Native
|
|
2684
2686
|
function(t) {
|
|
2685
2687
|
return t.trimEnd();
|
|
@@ -2687,32 +2689,32 @@ var We = $r ? (
|
|
|
2687
2689
|
) : (
|
|
2688
2690
|
// Ponyfill
|
|
2689
2691
|
function(t) {
|
|
2690
|
-
return t.replace(
|
|
2692
|
+
return t.replace($r, "");
|
|
2691
2693
|
}
|
|
2692
2694
|
);
|
|
2693
|
-
function
|
|
2695
|
+
function Bt(e, t) {
|
|
2694
2696
|
return new RegExp(e, t);
|
|
2695
2697
|
}
|
|
2696
2698
|
var Ne;
|
|
2697
2699
|
if (we) {
|
|
2698
|
-
var
|
|
2700
|
+
var qe = Bt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2699
2701
|
Ne = function(t, r) {
|
|
2700
2702
|
var n;
|
|
2701
|
-
|
|
2702
|
-
var i =
|
|
2703
|
+
qe.lastIndex = r;
|
|
2704
|
+
var i = qe.exec(t);
|
|
2703
2705
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2704
2706
|
};
|
|
2705
2707
|
} else
|
|
2706
2708
|
Ne = function(t, r) {
|
|
2707
2709
|
for (var n = []; ; ) {
|
|
2708
|
-
var i =
|
|
2709
|
-
if (i === void 0 ||
|
|
2710
|
+
var i = St(t, r);
|
|
2711
|
+
if (i === void 0 || At(i) || Yr(i))
|
|
2710
2712
|
break;
|
|
2711
2713
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2712
2714
|
}
|
|
2713
2715
|
return Pe.apply(void 0, n);
|
|
2714
2716
|
};
|
|
2715
|
-
var
|
|
2717
|
+
var Qr = (
|
|
2716
2718
|
/** @class */
|
|
2717
2719
|
function() {
|
|
2718
2720
|
function e(t, r) {
|
|
@@ -2794,7 +2796,7 @@ var Zr = (
|
|
|
2794
2796
|
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2795
2797
|
}, e.prototype.parseTagName = function() {
|
|
2796
2798
|
var t = this.offset();
|
|
2797
|
-
for (this.bump(); !this.isEOF() &&
|
|
2799
|
+
for (this.bump(); !this.isEOF() && Jr(this.char()); )
|
|
2798
2800
|
this.bump();
|
|
2799
2801
|
return this.message.slice(t, this.offset());
|
|
2800
2802
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2823,7 +2825,7 @@ var Zr = (
|
|
|
2823
2825
|
};
|
|
2824
2826
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2825
2827
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2826
|
-
!
|
|
2828
|
+
!qr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2827
2829
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2828
2830
|
if (this.isEOF() || this.char() !== 39)
|
|
2829
2831
|
return null;
|
|
@@ -2907,10 +2909,10 @@ var Zr = (
|
|
|
2907
2909
|
var u = null;
|
|
2908
2910
|
if (this.bumpIf(",")) {
|
|
2909
2911
|
this.bumpSpace();
|
|
2910
|
-
var h = this.clonePosition(),
|
|
2911
|
-
if (
|
|
2912
|
-
return
|
|
2913
|
-
var f =
|
|
2912
|
+
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2913
|
+
if (m.err)
|
|
2914
|
+
return m;
|
|
2915
|
+
var f = Zr(m.val);
|
|
2914
2916
|
if (f.length === 0)
|
|
2915
2917
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2916
2918
|
var b = p(h, this.clonePosition());
|
|
@@ -2919,28 +2921,28 @@ var Zr = (
|
|
|
2919
2921
|
var y = this.tryParseArgumentClose(i);
|
|
2920
2922
|
if (y.err)
|
|
2921
2923
|
return y;
|
|
2922
|
-
var
|
|
2923
|
-
if (u &&
|
|
2924
|
+
var _ = p(i, this.clonePosition());
|
|
2925
|
+
if (u && Ze(u?.style, "::", 0)) {
|
|
2924
2926
|
var T = Wr(u.style.slice(2));
|
|
2925
2927
|
if (o === "number") {
|
|
2926
|
-
var
|
|
2927
|
-
return
|
|
2928
|
-
val: { type: v.number, value: n, location:
|
|
2928
|
+
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
2929
|
+
return m.err ? m : {
|
|
2930
|
+
val: { type: v.number, value: n, location: _, style: m.val },
|
|
2929
2931
|
err: null
|
|
2930
2932
|
};
|
|
2931
2933
|
} else {
|
|
2932
2934
|
if (T.length === 0)
|
|
2933
|
-
return this.error(d.EXPECT_DATE_TIME_SKELETON,
|
|
2934
|
-
var
|
|
2935
|
-
this.locale && (
|
|
2935
|
+
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2936
|
+
var w = T;
|
|
2937
|
+
this.locale && (w = Cr(T, this.locale));
|
|
2936
2938
|
var f = {
|
|
2937
2939
|
type: j.dateTime,
|
|
2938
|
-
pattern:
|
|
2940
|
+
pattern: w,
|
|
2939
2941
|
location: u.styleLocation,
|
|
2940
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2941
|
-
},
|
|
2942
|
+
parsedOptions: this.shouldParseSkeletons ? Ar(w) : {}
|
|
2943
|
+
}, A = o === "date" ? v.date : v.time;
|
|
2942
2944
|
return {
|
|
2943
|
-
val: { type:
|
|
2945
|
+
val: { type: A, value: n, location: _, style: f },
|
|
2944
2946
|
err: null
|
|
2945
2947
|
};
|
|
2946
2948
|
}
|
|
@@ -2949,7 +2951,7 @@ var Zr = (
|
|
|
2949
2951
|
val: {
|
|
2950
2952
|
type: o === "number" ? v.number : o === "date" ? v.date : v.time,
|
|
2951
2953
|
value: n,
|
|
2952
|
-
location:
|
|
2954
|
+
location: _,
|
|
2953
2955
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
2954
2956
|
},
|
|
2955
2957
|
err: null
|
|
@@ -2962,39 +2964,39 @@ var Zr = (
|
|
|
2962
2964
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2963
2965
|
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(S, E({}, S)));
|
|
2964
2966
|
this.bumpSpace();
|
|
2965
|
-
var
|
|
2966
|
-
if (o !== "select" &&
|
|
2967
|
+
var P = this.parseIdentifierIfPossible(), x = 0;
|
|
2968
|
+
if (o !== "select" && P.value === "offset") {
|
|
2967
2969
|
if (!this.bumpIf(":"))
|
|
2968
2970
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
|
|
2969
2971
|
this.bumpSpace();
|
|
2970
|
-
var
|
|
2971
|
-
if (
|
|
2972
|
-
return
|
|
2973
|
-
this.bumpSpace(),
|
|
2972
|
+
var m = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2973
|
+
if (m.err)
|
|
2974
|
+
return m;
|
|
2975
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), x = m.val;
|
|
2974
2976
|
}
|
|
2975
|
-
var
|
|
2976
|
-
if (
|
|
2977
|
-
return
|
|
2977
|
+
var O = this.tryParsePluralOrSelectOptions(t, o, r, P);
|
|
2978
|
+
if (O.err)
|
|
2979
|
+
return O;
|
|
2978
2980
|
var y = this.tryParseArgumentClose(i);
|
|
2979
2981
|
if (y.err)
|
|
2980
2982
|
return y;
|
|
2981
|
-
var
|
|
2983
|
+
var c = p(i, this.clonePosition());
|
|
2982
2984
|
return o === "select" ? {
|
|
2983
2985
|
val: {
|
|
2984
2986
|
type: v.select,
|
|
2985
2987
|
value: n,
|
|
2986
|
-
options:
|
|
2987
|
-
location:
|
|
2988
|
+
options: Qe(O.val),
|
|
2989
|
+
location: c
|
|
2988
2990
|
},
|
|
2989
2991
|
err: null
|
|
2990
2992
|
} : {
|
|
2991
2993
|
val: {
|
|
2992
2994
|
type: v.plural,
|
|
2993
2995
|
value: n,
|
|
2994
|
-
options:
|
|
2995
|
-
offset:
|
|
2996
|
+
options: Qe(O.val),
|
|
2997
|
+
offset: x,
|
|
2996
2998
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2997
|
-
location:
|
|
2999
|
+
location: c
|
|
2998
3000
|
},
|
|
2999
3001
|
err: null
|
|
3000
3002
|
};
|
|
@@ -3042,7 +3044,7 @@ var Zr = (
|
|
|
3042
3044
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3043
3045
|
var n = [];
|
|
3044
3046
|
try {
|
|
3045
|
-
n =
|
|
3047
|
+
n = Pr(t);
|
|
3046
3048
|
} catch {
|
|
3047
3049
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3048
3050
|
}
|
|
@@ -3051,19 +3053,19 @@ var Zr = (
|
|
|
3051
3053
|
type: j.number,
|
|
3052
3054
|
tokens: n,
|
|
3053
3055
|
location: r,
|
|
3054
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3056
|
+
parsedOptions: this.shouldParseSkeletons ? Lr(n) : {}
|
|
3055
3057
|
},
|
|
3056
3058
|
err: null
|
|
3057
3059
|
};
|
|
3058
3060
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3059
3061
|
for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3060
3062
|
if (u.length === 0) {
|
|
3061
|
-
var
|
|
3063
|
+
var m = this.clonePosition();
|
|
3062
3064
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3063
3065
|
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3064
3066
|
if (f.err)
|
|
3065
3067
|
return f;
|
|
3066
|
-
h = p(
|
|
3068
|
+
h = p(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
|
|
3067
3069
|
} else
|
|
3068
3070
|
break;
|
|
3069
3071
|
}
|
|
@@ -3076,9 +3078,9 @@ var Zr = (
|
|
|
3076
3078
|
var y = this.parseMessage(t + 1, r, n);
|
|
3077
3079
|
if (y.err)
|
|
3078
3080
|
return y;
|
|
3079
|
-
var
|
|
3080
|
-
if (
|
|
3081
|
-
return
|
|
3081
|
+
var _ = this.tryParseArgumentClose(b);
|
|
3082
|
+
if (_.err)
|
|
3083
|
+
return _;
|
|
3082
3084
|
o.push([
|
|
3083
3085
|
u,
|
|
3084
3086
|
{
|
|
@@ -3099,7 +3101,7 @@ var Zr = (
|
|
|
3099
3101
|
break;
|
|
3100
3102
|
}
|
|
3101
3103
|
var l = p(i, this.clonePosition());
|
|
3102
|
-
return s ? (a *= n,
|
|
3104
|
+
return s ? (a *= n, Xr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3103
3105
|
}, e.prototype.offset = function() {
|
|
3104
3106
|
return this.position.offset;
|
|
3105
3107
|
}, e.prototype.isEOF = function() {
|
|
@@ -3114,7 +3116,7 @@ var Zr = (
|
|
|
3114
3116
|
var t = this.position.offset;
|
|
3115
3117
|
if (t >= this.message.length)
|
|
3116
3118
|
throw Error("out of bound");
|
|
3117
|
-
var r =
|
|
3119
|
+
var r = St(this.message, t);
|
|
3118
3120
|
if (r === void 0)
|
|
3119
3121
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3120
3122
|
return r;
|
|
@@ -3133,7 +3135,7 @@ var Zr = (
|
|
|
3133
3135
|
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);
|
|
3134
3136
|
}
|
|
3135
3137
|
}, e.prototype.bumpIf = function(t) {
|
|
3136
|
-
if (
|
|
3138
|
+
if (Ze(this.message, t, this.offset())) {
|
|
3137
3139
|
for (var r = 0; r < t.length; r++)
|
|
3138
3140
|
this.bump();
|
|
3139
3141
|
return !0;
|
|
@@ -3155,7 +3157,7 @@ var Zr = (
|
|
|
3155
3157
|
break;
|
|
3156
3158
|
}
|
|
3157
3159
|
}, e.prototype.bumpSpace = function() {
|
|
3158
|
-
for (; !this.isEOF() &&
|
|
3160
|
+
for (; !this.isEOF() && At(this.char()); )
|
|
3159
3161
|
this.bump();
|
|
3160
3162
|
}, e.prototype.peek = function() {
|
|
3161
3163
|
if (this.isEOF())
|
|
@@ -3168,29 +3170,29 @@ var Zr = (
|
|
|
3168
3170
|
function Oe(e) {
|
|
3169
3171
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3170
3172
|
}
|
|
3171
|
-
function
|
|
3173
|
+
function qr(e) {
|
|
3172
3174
|
return Oe(e) || e === 47;
|
|
3173
3175
|
}
|
|
3174
|
-
function
|
|
3176
|
+
function Jr(e) {
|
|
3175
3177
|
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;
|
|
3176
3178
|
}
|
|
3177
|
-
function
|
|
3179
|
+
function At(e) {
|
|
3178
3180
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3179
3181
|
}
|
|
3180
|
-
function
|
|
3182
|
+
function Yr(e) {
|
|
3181
3183
|
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;
|
|
3182
3184
|
}
|
|
3183
3185
|
function Ie(e) {
|
|
3184
3186
|
e.forEach(function(t) {
|
|
3185
|
-
if (delete t.location,
|
|
3187
|
+
if (delete t.location, pt(t) || yt(t))
|
|
3186
3188
|
for (var r in t.options)
|
|
3187
3189
|
delete t.options[r].location, Ie(t.options[r].value);
|
|
3188
|
-
else
|
|
3190
|
+
else gt(t) && vt(t.style) || (dt(t) || bt(t)) && Ae(t.style) ? delete t.style.location : Et(t) && Ie(t.children);
|
|
3189
3191
|
});
|
|
3190
3192
|
}
|
|
3191
|
-
function
|
|
3193
|
+
function Kr(e, t) {
|
|
3192
3194
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3193
|
-
var r = new
|
|
3195
|
+
var r = new Qr(e, t).parse();
|
|
3194
3196
|
if (r.err) {
|
|
3195
3197
|
var n = SyntaxError(d[r.err.kind]);
|
|
3196
3198
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3213,7 +3215,7 @@ var me = (
|
|
|
3213
3215
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3214
3216
|
}, t;
|
|
3215
3217
|
}(Error)
|
|
3216
|
-
),
|
|
3218
|
+
), Je = (
|
|
3217
3219
|
/** @class */
|
|
3218
3220
|
function(e) {
|
|
3219
3221
|
fe(t, e);
|
|
@@ -3222,7 +3224,7 @@ var me = (
|
|
|
3222
3224
|
}
|
|
3223
3225
|
return t;
|
|
3224
3226
|
}(me)
|
|
3225
|
-
),
|
|
3227
|
+
), en = (
|
|
3226
3228
|
/** @class */
|
|
3227
3229
|
function(e) {
|
|
3228
3230
|
fe(t, e);
|
|
@@ -3231,7 +3233,7 @@ var me = (
|
|
|
3231
3233
|
}
|
|
3232
3234
|
return t;
|
|
3233
3235
|
}(me)
|
|
3234
|
-
),
|
|
3236
|
+
), tn = (
|
|
3235
3237
|
/** @class */
|
|
3236
3238
|
function(e) {
|
|
3237
3239
|
fe(t, e);
|
|
@@ -3240,125 +3242,125 @@ var me = (
|
|
|
3240
3242
|
}
|
|
3241
3243
|
return t;
|
|
3242
3244
|
}(me)
|
|
3243
|
-
),
|
|
3245
|
+
), B;
|
|
3244
3246
|
(function(e) {
|
|
3245
3247
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3246
|
-
})(
|
|
3247
|
-
function
|
|
3248
|
+
})(B || (B = {}));
|
|
3249
|
+
function rn(e) {
|
|
3248
3250
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3249
3251
|
var n = t[t.length - 1];
|
|
3250
|
-
return !n || n.type !==
|
|
3252
|
+
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3251
3253
|
}, []);
|
|
3252
3254
|
}
|
|
3253
|
-
function
|
|
3255
|
+
function nn(e) {
|
|
3254
3256
|
return typeof e == "function";
|
|
3255
3257
|
}
|
|
3256
3258
|
function ae(e, t, r, n, i, s, a) {
|
|
3257
|
-
if (e.length === 1 &&
|
|
3259
|
+
if (e.length === 1 && Ve(e[0]))
|
|
3258
3260
|
return [
|
|
3259
3261
|
{
|
|
3260
|
-
type:
|
|
3262
|
+
type: B.literal,
|
|
3261
3263
|
value: e[0].value
|
|
3262
3264
|
}
|
|
3263
3265
|
];
|
|
3264
3266
|
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3265
3267
|
var h = u[l];
|
|
3266
|
-
if (
|
|
3268
|
+
if (Ve(h)) {
|
|
3267
3269
|
o.push({
|
|
3268
|
-
type:
|
|
3270
|
+
type: B.literal,
|
|
3269
3271
|
value: h.value
|
|
3270
3272
|
});
|
|
3271
3273
|
continue;
|
|
3272
3274
|
}
|
|
3273
|
-
if (
|
|
3275
|
+
if (Sr(h)) {
|
|
3274
3276
|
typeof s == "number" && o.push({
|
|
3275
|
-
type:
|
|
3277
|
+
type: B.literal,
|
|
3276
3278
|
value: r.getNumberFormat(t).format(s)
|
|
3277
3279
|
});
|
|
3278
3280
|
continue;
|
|
3279
3281
|
}
|
|
3280
|
-
var
|
|
3281
|
-
if (!(i &&
|
|
3282
|
-
throw new
|
|
3283
|
-
var f = i[
|
|
3284
|
-
if (
|
|
3282
|
+
var m = h.value;
|
|
3283
|
+
if (!(i && m in i))
|
|
3284
|
+
throw new tn(m, a);
|
|
3285
|
+
var f = i[m];
|
|
3286
|
+
if (Tr(h)) {
|
|
3285
3287
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3286
|
-
type: typeof f == "string" ?
|
|
3288
|
+
type: typeof f == "string" ? B.literal : B.object,
|
|
3287
3289
|
value: f
|
|
3288
3290
|
});
|
|
3289
3291
|
continue;
|
|
3290
3292
|
}
|
|
3291
|
-
if (
|
|
3293
|
+
if (dt(h)) {
|
|
3292
3294
|
var b = typeof h.style == "string" ? n.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
|
|
3293
3295
|
o.push({
|
|
3294
|
-
type:
|
|
3296
|
+
type: B.literal,
|
|
3295
3297
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3296
3298
|
});
|
|
3297
3299
|
continue;
|
|
3298
3300
|
}
|
|
3299
|
-
if (
|
|
3301
|
+
if (bt(h)) {
|
|
3300
3302
|
var b = typeof h.style == "string" ? n.time[h.style] : Ae(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3301
3303
|
o.push({
|
|
3302
|
-
type:
|
|
3304
|
+
type: B.literal,
|
|
3303
3305
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3304
3306
|
});
|
|
3305
3307
|
continue;
|
|
3306
3308
|
}
|
|
3307
|
-
if (
|
|
3308
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
|
3309
|
+
if (gt(h)) {
|
|
3310
|
+
var b = typeof h.style == "string" ? n.number[h.style] : vt(h.style) ? h.style.parsedOptions : void 0;
|
|
3309
3311
|
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
|
3310
|
-
type:
|
|
3312
|
+
type: B.literal,
|
|
3311
3313
|
value: r.getNumberFormat(t, b).format(f)
|
|
3312
3314
|
});
|
|
3313
3315
|
continue;
|
|
3314
3316
|
}
|
|
3315
|
-
if (
|
|
3316
|
-
var y = h.children,
|
|
3317
|
-
if (!
|
|
3318
|
-
throw new
|
|
3319
|
-
var
|
|
3320
|
-
return
|
|
3317
|
+
if (Et(h)) {
|
|
3318
|
+
var y = h.children, _ = h.value, T = i[_];
|
|
3319
|
+
if (!nn(T))
|
|
3320
|
+
throw new en(_, "function", a);
|
|
3321
|
+
var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
|
|
3322
|
+
return x.value;
|
|
3321
3323
|
}));
|
|
3322
|
-
Array.isArray(
|
|
3324
|
+
Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(x) {
|
|
3323
3325
|
return {
|
|
3324
|
-
type: typeof
|
|
3325
|
-
value:
|
|
3326
|
+
type: typeof x == "string" ? B.literal : B.object,
|
|
3327
|
+
value: x
|
|
3326
3328
|
};
|
|
3327
3329
|
}));
|
|
3328
3330
|
}
|
|
3329
|
-
if (
|
|
3331
|
+
if (pt(h)) {
|
|
3330
3332
|
var S = h.options[f] || h.options.other;
|
|
3331
3333
|
if (!S)
|
|
3332
|
-
throw new
|
|
3334
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3333
3335
|
o.push.apply(o, ae(S.value, t, r, n, i));
|
|
3334
3336
|
continue;
|
|
3335
3337
|
}
|
|
3336
|
-
if (
|
|
3338
|
+
if (yt(h)) {
|
|
3337
3339
|
var S = h.options["=".concat(f)];
|
|
3338
3340
|
if (!S) {
|
|
3339
3341
|
if (!Intl.PluralRules)
|
|
3340
3342
|
throw new me(`Intl.PluralRules is not available in this environment.
|
|
3341
3343
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3342
3344
|
`, k.MISSING_INTL_API, a);
|
|
3343
|
-
var
|
|
3344
|
-
S = h.options[
|
|
3345
|
+
var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3346
|
+
S = h.options[P] || h.options.other;
|
|
3345
3347
|
}
|
|
3346
3348
|
if (!S)
|
|
3347
|
-
throw new
|
|
3349
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3348
3350
|
o.push.apply(o, ae(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3349
3351
|
continue;
|
|
3350
3352
|
}
|
|
3351
3353
|
}
|
|
3352
|
-
return
|
|
3354
|
+
return rn(o);
|
|
3353
3355
|
}
|
|
3354
|
-
function
|
|
3356
|
+
function sn(e, t) {
|
|
3355
3357
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3356
3358
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3357
3359
|
}, {})) : e;
|
|
3358
3360
|
}
|
|
3359
|
-
function
|
|
3361
|
+
function an(e, t) {
|
|
3360
3362
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3361
|
-
return r[n] =
|
|
3363
|
+
return r[n] = sn(e[n], t[n]), r;
|
|
3362
3364
|
}, E({}, e)) : e;
|
|
3363
3365
|
}
|
|
3364
3366
|
function _e(e) {
|
|
@@ -3375,7 +3377,7 @@ function _e(e) {
|
|
|
3375
3377
|
}
|
|
3376
3378
|
};
|
|
3377
3379
|
}
|
|
3378
|
-
function
|
|
3380
|
+
function on(e) {
|
|
3379
3381
|
return e === void 0 && (e = {
|
|
3380
3382
|
number: {},
|
|
3381
3383
|
dateTime: {},
|
|
@@ -3407,7 +3409,7 @@ function an(e) {
|
|
|
3407
3409
|
})
|
|
3408
3410
|
};
|
|
3409
3411
|
}
|
|
3410
|
-
var
|
|
3412
|
+
var un = (
|
|
3411
3413
|
/** @class */
|
|
3412
3414
|
function() {
|
|
3413
3415
|
function e(t, r, n, i) {
|
|
@@ -3421,8 +3423,8 @@ var on = (
|
|
|
3421
3423
|
var u = s.formatToParts(l);
|
|
3422
3424
|
if (u.length === 1)
|
|
3423
3425
|
return u[0].value;
|
|
3424
|
-
var h = u.reduce(function(
|
|
3425
|
-
return !
|
|
3426
|
+
var h = u.reduce(function(m, f) {
|
|
3427
|
+
return !m.length || f.type !== B.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
|
|
3426
3428
|
}, []);
|
|
3427
3429
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3428
3430
|
}, this.formatToParts = function(l) {
|
|
@@ -3439,13 +3441,13 @@ var on = (
|
|
|
3439
3441
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3440
3442
|
var a = i || {};
|
|
3441
3443
|
a.formatters;
|
|
3442
|
-
var o =
|
|
3444
|
+
var o = er(a, ["formatters"]);
|
|
3443
3445
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3444
3446
|
} else
|
|
3445
3447
|
this.ast = t;
|
|
3446
3448
|
if (!Array.isArray(this.ast))
|
|
3447
3449
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3448
|
-
this.formats =
|
|
3450
|
+
this.formats = an(e.formats, n), this.formatters = i && i.formatters || on(this.formatterCache);
|
|
3449
3451
|
}
|
|
3450
3452
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3451
3453
|
get: function() {
|
|
@@ -3458,7 +3460,7 @@ var on = (
|
|
|
3458
3460
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3459
3461
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3460
3462
|
}
|
|
3461
|
-
}, e.__parse =
|
|
3463
|
+
}, e.__parse = Kr, e.formats = {
|
|
3462
3464
|
number: {
|
|
3463
3465
|
integer: {
|
|
3464
3466
|
maximumFractionDigits: 0
|
|
@@ -3519,7 +3521,7 @@ var on = (
|
|
|
3519
3521
|
}, e;
|
|
3520
3522
|
}()
|
|
3521
3523
|
);
|
|
3522
|
-
function
|
|
3524
|
+
function hn(e, t) {
|
|
3523
3525
|
if (t == null)
|
|
3524
3526
|
return;
|
|
3525
3527
|
if (t in e)
|
|
@@ -3540,60 +3542,60 @@ function un(e, t) {
|
|
|
3540
3542
|
n = void 0;
|
|
3541
3543
|
return n;
|
|
3542
3544
|
}
|
|
3543
|
-
const C = {},
|
|
3545
|
+
const C = {}, ln = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), wt = (e, t) => {
|
|
3544
3546
|
if (t == null)
|
|
3545
3547
|
return;
|
|
3546
3548
|
if (t in C && e in C[t])
|
|
3547
3549
|
return C[t][e];
|
|
3548
3550
|
const r = ge(t);
|
|
3549
3551
|
for (let n = 0; n < r.length; n++) {
|
|
3550
|
-
const i = r[n], s =
|
|
3552
|
+
const i = r[n], s = cn(i, e);
|
|
3551
3553
|
if (s)
|
|
3552
|
-
return
|
|
3554
|
+
return ln(e, t, s);
|
|
3553
3555
|
}
|
|
3554
3556
|
};
|
|
3555
|
-
let
|
|
3556
|
-
const
|
|
3557
|
-
function
|
|
3558
|
-
return
|
|
3557
|
+
let De;
|
|
3558
|
+
const W = ce({});
|
|
3559
|
+
function fn(e) {
|
|
3560
|
+
return De[e] || null;
|
|
3559
3561
|
}
|
|
3560
|
-
function
|
|
3561
|
-
return e in
|
|
3562
|
+
function Pt(e) {
|
|
3563
|
+
return e in De;
|
|
3562
3564
|
}
|
|
3563
|
-
function
|
|
3564
|
-
if (!
|
|
3565
|
+
function cn(e, t) {
|
|
3566
|
+
if (!Pt(e))
|
|
3565
3567
|
return null;
|
|
3566
|
-
const r =
|
|
3567
|
-
return
|
|
3568
|
+
const r = fn(e);
|
|
3569
|
+
return hn(r, t);
|
|
3568
3570
|
}
|
|
3569
|
-
function
|
|
3571
|
+
function mn(e) {
|
|
3570
3572
|
if (e == null)
|
|
3571
3573
|
return;
|
|
3572
3574
|
const t = ge(e);
|
|
3573
3575
|
for (let r = 0; r < t.length; r++) {
|
|
3574
3576
|
const n = t[r];
|
|
3575
|
-
if (
|
|
3577
|
+
if (Pt(n))
|
|
3576
3578
|
return n;
|
|
3577
3579
|
}
|
|
3578
3580
|
}
|
|
3579
|
-
function
|
|
3580
|
-
delete C[e],
|
|
3581
|
+
function gn(e, ...t) {
|
|
3582
|
+
delete C[e], W.update((r) => (r[e] = pr.all([r[e] || {}, ...t]), r));
|
|
3581
3583
|
}
|
|
3582
|
-
|
|
3583
|
-
[
|
|
3584
|
+
z(
|
|
3585
|
+
[W],
|
|
3584
3586
|
([e]) => Object.keys(e)
|
|
3585
3587
|
);
|
|
3586
|
-
|
|
3588
|
+
W.subscribe((e) => De = e);
|
|
3587
3589
|
const oe = {};
|
|
3588
|
-
function
|
|
3590
|
+
function dn(e, t) {
|
|
3589
3591
|
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3590
3592
|
}
|
|
3591
|
-
function
|
|
3593
|
+
function Nt(e) {
|
|
3592
3594
|
return oe[e];
|
|
3593
3595
|
}
|
|
3594
|
-
function
|
|
3596
|
+
function bn(e) {
|
|
3595
3597
|
return ge(e).map((t) => {
|
|
3596
|
-
const r =
|
|
3598
|
+
const r = Nt(t);
|
|
3597
3599
|
return [t, r ? [...r] : []];
|
|
3598
3600
|
}).filter(([, t]) => t.length > 0);
|
|
3599
3601
|
}
|
|
@@ -3601,31 +3603,31 @@ function Le(e) {
|
|
|
3601
3603
|
return e == null ? !1 : ge(e).some(
|
|
3602
3604
|
(t) => {
|
|
3603
3605
|
var r;
|
|
3604
|
-
return (r =
|
|
3606
|
+
return (r = Nt(t)) == null ? void 0 : r.size;
|
|
3605
3607
|
}
|
|
3606
3608
|
);
|
|
3607
3609
|
}
|
|
3608
|
-
function
|
|
3610
|
+
function pn(e, t) {
|
|
3609
3611
|
return Promise.all(
|
|
3610
|
-
t.map((n) => (
|
|
3611
|
-
).then((n) =>
|
|
3612
|
+
t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
|
|
3613
|
+
).then((n) => gn(e, ...n));
|
|
3612
3614
|
}
|
|
3613
3615
|
const Q = {};
|
|
3614
|
-
function
|
|
3616
|
+
function Ot(e) {
|
|
3615
3617
|
if (!Le(e))
|
|
3616
3618
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3617
|
-
const t =
|
|
3619
|
+
const t = bn(e);
|
|
3618
3620
|
return Q[e] = Promise.all(
|
|
3619
3621
|
t.map(
|
|
3620
|
-
([r, n]) =>
|
|
3622
|
+
([r, n]) => pn(r, n)
|
|
3621
3623
|
)
|
|
3622
3624
|
).then(() => {
|
|
3623
3625
|
if (Le(e))
|
|
3624
|
-
return
|
|
3626
|
+
return Ot(e);
|
|
3625
3627
|
delete Q[e];
|
|
3626
3628
|
}), Q[e];
|
|
3627
3629
|
}
|
|
3628
|
-
const
|
|
3630
|
+
const yn = {
|
|
3629
3631
|
number: {
|
|
3630
3632
|
scientific: { notation: "scientific" },
|
|
3631
3633
|
engineering: { notation: "engineering" },
|
|
@@ -3654,34 +3656,34 @@ const pn = {
|
|
|
3654
3656
|
timeZoneName: "short"
|
|
3655
3657
|
}
|
|
3656
3658
|
}
|
|
3657
|
-
},
|
|
3659
|
+
}, En = {
|
|
3658
3660
|
fallbackLocale: null,
|
|
3659
3661
|
loadingDelay: 200,
|
|
3660
|
-
formats:
|
|
3662
|
+
formats: yn,
|
|
3661
3663
|
warnOnMissingMessages: !0,
|
|
3662
3664
|
handleMissingMessage: void 0,
|
|
3663
3665
|
ignoreTag: !0
|
|
3664
|
-
},
|
|
3666
|
+
}, vn = En;
|
|
3665
3667
|
function V() {
|
|
3666
|
-
return
|
|
3668
|
+
return vn;
|
|
3667
3669
|
}
|
|
3668
3670
|
const xe = ce(!1);
|
|
3669
|
-
var
|
|
3671
|
+
var _n = Object.defineProperty, xn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
|
|
3670
3672
|
for (var r in t || (t = {}))
|
|
3671
|
-
|
|
3672
|
-
if (
|
|
3673
|
-
for (var r of
|
|
3674
|
-
|
|
3673
|
+
Tn.call(t, r) && Ke(e, r, t[r]);
|
|
3674
|
+
if (Ye)
|
|
3675
|
+
for (var r of Ye(t))
|
|
3676
|
+
Sn.call(t, r) && Ke(e, r, t[r]);
|
|
3675
3677
|
return e;
|
|
3676
|
-
},
|
|
3678
|
+
}, An = (e, t) => xn(e, Hn(t));
|
|
3677
3679
|
let Ce;
|
|
3678
3680
|
const ue = ce(null);
|
|
3679
|
-
function
|
|
3681
|
+
function et(e) {
|
|
3680
3682
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3681
3683
|
}
|
|
3682
3684
|
function ge(e, t = V().fallbackLocale) {
|
|
3683
|
-
const r =
|
|
3684
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3685
|
+
const r = et(e);
|
|
3686
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
|
|
3685
3687
|
}
|
|
3686
3688
|
function R() {
|
|
3687
3689
|
return Ce ?? void 0;
|
|
@@ -3689,22 +3691,22 @@ function R() {
|
|
|
3689
3691
|
ue.subscribe((e) => {
|
|
3690
3692
|
Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3691
3693
|
});
|
|
3692
|
-
const
|
|
3693
|
-
if (e &&
|
|
3694
|
+
const wn = (e) => {
|
|
3695
|
+
if (e && mn(e) && Le(e)) {
|
|
3694
3696
|
const { loadingDelay: t } = V();
|
|
3695
3697
|
let r;
|
|
3696
3698
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
3697
3699
|
() => xe.set(!0),
|
|
3698
3700
|
t
|
|
3699
|
-
) : xe.set(!0),
|
|
3701
|
+
) : xe.set(!0), Ot(e).then(() => {
|
|
3700
3702
|
ue.set(e);
|
|
3701
3703
|
}).finally(() => {
|
|
3702
3704
|
clearTimeout(r), xe.set(!1);
|
|
3703
3705
|
});
|
|
3704
3706
|
}
|
|
3705
3707
|
return ue.set(e);
|
|
3706
|
-
}, M = Bn(
|
|
3707
|
-
set:
|
|
3708
|
+
}, M = An(Bn({}, ue), {
|
|
3709
|
+
set: wn
|
|
3708
3710
|
}), de = (e) => {
|
|
3709
3711
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3710
3712
|
return (n) => {
|
|
@@ -3712,20 +3714,20 @@ const An = (e) => {
|
|
|
3712
3714
|
return i in t ? t[i] : t[i] = e(n);
|
|
3713
3715
|
};
|
|
3714
3716
|
};
|
|
3715
|
-
var
|
|
3717
|
+
var Pn = Object.defineProperty, he = Object.getOwnPropertySymbols, It = Object.prototype.hasOwnProperty, Lt = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
|
3716
3718
|
for (var r in t || (t = {}))
|
|
3717
|
-
|
|
3719
|
+
It.call(t, r) && tt(e, r, t[r]);
|
|
3718
3720
|
if (he)
|
|
3719
3721
|
for (var r of he(t))
|
|
3720
|
-
|
|
3722
|
+
Lt.call(t, r) && tt(e, r, t[r]);
|
|
3721
3723
|
return e;
|
|
3722
3724
|
}, Z = (e, t) => {
|
|
3723
3725
|
var r = {};
|
|
3724
3726
|
for (var n in e)
|
|
3725
|
-
|
|
3727
|
+
It.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3726
3728
|
if (e != null && he)
|
|
3727
3729
|
for (var n of he(e))
|
|
3728
|
-
t.indexOf(n) < 0 &&
|
|
3730
|
+
t.indexOf(n) < 0 && Lt.call(e, n) && (r[n] = e[n]);
|
|
3729
3731
|
return r;
|
|
3730
3732
|
};
|
|
3731
3733
|
const K = (e, t) => {
|
|
@@ -3733,21 +3735,21 @@ const K = (e, t) => {
|
|
|
3733
3735
|
if (e in r && t in r[e])
|
|
3734
3736
|
return r[e][t];
|
|
3735
3737
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3736
|
-
},
|
|
3738
|
+
}, Nn = de(
|
|
3737
3739
|
(e) => {
|
|
3738
3740
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3739
3741
|
if (r == null)
|
|
3740
3742
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3741
3743
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
3742
3744
|
}
|
|
3743
|
-
),
|
|
3745
|
+
), On = de(
|
|
3744
3746
|
(e) => {
|
|
3745
3747
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3746
3748
|
if (r == null)
|
|
3747
3749
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3748
3750
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3749
3751
|
}
|
|
3750
|
-
),
|
|
3752
|
+
), In = de(
|
|
3751
3753
|
(e) => {
|
|
3752
3754
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3753
3755
|
if (r == null)
|
|
@@ -3756,33 +3758,33 @@ const K = (e, t) => {
|
|
|
3756
3758
|
);
|
|
3757
3759
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3758
3760
|
}
|
|
3759
|
-
),
|
|
3761
|
+
), Ln = (e = {}) => {
|
|
3760
3762
|
var t = e, {
|
|
3761
3763
|
locale: r = R()
|
|
3762
3764
|
} = t, n = Z(t, [
|
|
3763
3765
|
"locale"
|
|
3764
3766
|
]);
|
|
3765
|
-
return
|
|
3766
|
-
},
|
|
3767
|
+
return Nn(Ge({ locale: r }, n));
|
|
3768
|
+
}, Cn = (e = {}) => {
|
|
3767
3769
|
var t = e, {
|
|
3768
3770
|
locale: r = R()
|
|
3769
3771
|
} = t, n = Z(t, [
|
|
3770
3772
|
"locale"
|
|
3771
3773
|
]);
|
|
3772
|
-
return
|
|
3773
|
-
},
|
|
3774
|
+
return On(Ge({ locale: r }, n));
|
|
3775
|
+
}, Mn = (e = {}) => {
|
|
3774
3776
|
var t = e, {
|
|
3775
3777
|
locale: r = R()
|
|
3776
3778
|
} = t, n = Z(t, [
|
|
3777
3779
|
"locale"
|
|
3778
3780
|
]);
|
|
3779
|
-
return
|
|
3780
|
-
},
|
|
3781
|
+
return In(Ge({ locale: r }, n));
|
|
3782
|
+
}, Rn = de(
|
|
3781
3783
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3782
|
-
(e, t = R()) => new
|
|
3784
|
+
(e, t = R()) => new un(e, t, V().formats, {
|
|
3783
3785
|
ignoreTag: V().ignoreTag
|
|
3784
3786
|
})
|
|
3785
|
-
),
|
|
3787
|
+
), $n = (e, t = {}) => {
|
|
3786
3788
|
var r, n, i, s;
|
|
3787
3789
|
let a = t;
|
|
3788
3790
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3795,7 +3797,7 @@ const K = (e, t) => {
|
|
|
3795
3797
|
throw new Error(
|
|
3796
3798
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3797
3799
|
);
|
|
3798
|
-
let h =
|
|
3800
|
+
let h = wt(e, l);
|
|
3799
3801
|
if (!h)
|
|
3800
3802
|
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;
|
|
3801
3803
|
else if (typeof h != "string")
|
|
@@ -3804,24 +3806,47 @@ const K = (e, t) => {
|
|
|
3804
3806
|
), h;
|
|
3805
3807
|
if (!o)
|
|
3806
3808
|
return h;
|
|
3807
|
-
let
|
|
3809
|
+
let m = h;
|
|
3808
3810
|
try {
|
|
3809
|
-
|
|
3811
|
+
m = Rn(h, l).format(o);
|
|
3810
3812
|
} catch (f) {
|
|
3811
3813
|
f instanceof Error && console.warn(
|
|
3812
3814
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3813
3815
|
f.message
|
|
3814
3816
|
);
|
|
3815
3817
|
}
|
|
3816
|
-
return
|
|
3817
|
-
},
|
|
3818
|
-
|
|
3819
|
-
|
|
3820
|
-
|
|
3821
|
-
|
|
3822
|
-
function
|
|
3818
|
+
return m;
|
|
3819
|
+
}, Un = (e, t) => Mn(t).format(e), Dn = (e, t) => Cn(t).format(e), Gn = (e, t) => Ln(t).format(e), Fn = (e, t = R()) => wt(e, t), ci = z([M, W], () => $n);
|
|
3820
|
+
z([M], () => Un);
|
|
3821
|
+
z([M], () => Dn);
|
|
3822
|
+
z([M], () => Gn);
|
|
3823
|
+
z([M, W], () => Fn);
|
|
3824
|
+
function jn(e, t) {
|
|
3825
|
+
if (e) {
|
|
3826
|
+
const r = document.createElement("style");
|
|
3827
|
+
r.innerHTML = t, e.appendChild(r);
|
|
3828
|
+
}
|
|
3829
|
+
}
|
|
3830
|
+
function kn(e, t) {
|
|
3831
|
+
const r = new URL(t);
|
|
3832
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3833
|
+
const i = document.createElement("style");
|
|
3834
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
3835
|
+
}).catch((n) => {
|
|
3836
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
3837
|
+
});
|
|
3838
|
+
}
|
|
3839
|
+
function Vn(e, t, r) {
|
|
3840
|
+
if (window.emMessageBus) {
|
|
3841
|
+
const n = document.createElement("style");
|
|
3842
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
3843
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
3844
|
+
});
|
|
3845
|
+
}
|
|
3846
|
+
}
|
|
3847
|
+
function Xn({ withLocale: e, translations: t }) {
|
|
3823
3848
|
M.subscribe((r) => {
|
|
3824
|
-
r == null && (
|
|
3849
|
+
r == null && (W.set(t), M.set(e));
|
|
3825
3850
|
});
|
|
3826
3851
|
}
|
|
3827
3852
|
if (typeof window < "u") {
|
|
@@ -3836,14 +3861,14 @@ if (typeof window < "u") {
|
|
|
3836
3861
|
}
|
|
3837
3862
|
};
|
|
3838
3863
|
};
|
|
3839
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3864
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-NzZcepd8.js").then(({ default: t }) => {
|
|
3840
3865
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3841
3866
|
});
|
|
3842
3867
|
}
|
|
3843
|
-
function
|
|
3844
|
-
|
|
3868
|
+
function zn(e) {
|
|
3869
|
+
$t(e, "svelte-1rh2qpg", ".CasinoFavoritesSectionContainer{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
3845
3870
|
}
|
|
3846
|
-
function
|
|
3871
|
+
function rt(e) {
|
|
3847
3872
|
let t;
|
|
3848
3873
|
return {
|
|
3849
3874
|
c() {
|
|
@@ -3887,6 +3912,11 @@ function et(e) {
|
|
|
3887
3912
|
"fetchviaevent",
|
|
3888
3913
|
/*fetchviaevent*/
|
|
3889
3914
|
e[16]
|
|
3915
|
+
), g(
|
|
3916
|
+
t,
|
|
3917
|
+
"mbsource",
|
|
3918
|
+
/*mbsource*/
|
|
3919
|
+
e[17]
|
|
3890
3920
|
), g(t, "categoryid", "FAVORITES"), g(t, "class", "CategoryContainer"), g(
|
|
3891
3921
|
t,
|
|
3892
3922
|
"showgamename",
|
|
@@ -3986,6 +4016,12 @@ function et(e) {
|
|
|
3986
4016
|
"fetchviaevent",
|
|
3987
4017
|
/*fetchviaevent*/
|
|
3988
4018
|
r[16]
|
|
4019
|
+
), n & /*mbsource*/
|
|
4020
|
+
131072 && g(
|
|
4021
|
+
t,
|
|
4022
|
+
"mbsource",
|
|
4023
|
+
/*mbsource*/
|
|
4024
|
+
r[17]
|
|
3989
4025
|
), n & /*showgamename*/
|
|
3990
4026
|
2048 && g(
|
|
3991
4027
|
t,
|
|
@@ -4047,57 +4083,44 @@ function et(e) {
|
|
|
4047
4083
|
}
|
|
4048
4084
|
};
|
|
4049
4085
|
}
|
|
4050
|
-
function
|
|
4086
|
+
function Wn(e) {
|
|
4051
4087
|
let t, r = (
|
|
4052
4088
|
/*session*/
|
|
4053
|
-
e[4] &&
|
|
4089
|
+
e[4] && rt(e)
|
|
4054
4090
|
);
|
|
4055
4091
|
return {
|
|
4056
4092
|
c() {
|
|
4057
4093
|
t = te("div"), r && r.c(), Re(t, "class", "CasinoFavoritesSectionContainer");
|
|
4058
4094
|
},
|
|
4059
4095
|
m(n, i) {
|
|
4060
|
-
le(n, t, i), r && r.m(t, null), e[
|
|
4096
|
+
le(n, t, i), r && r.m(t, null), e[19](t);
|
|
4061
4097
|
},
|
|
4062
4098
|
p(n, [i]) {
|
|
4063
4099
|
/*session*/
|
|
4064
|
-
n[4] ? r ? r.p(n, i) : (r =
|
|
4100
|
+
n[4] ? r ? r.p(n, i) : (r = rt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4065
4101
|
},
|
|
4066
|
-
i:
|
|
4067
|
-
o:
|
|
4102
|
+
i: N,
|
|
4103
|
+
o: N,
|
|
4068
4104
|
d(n) {
|
|
4069
|
-
n && ee(t), r && r.d(), e[
|
|
4105
|
+
n && ee(t), r && r.d(), e[19](null);
|
|
4070
4106
|
}
|
|
4071
4107
|
};
|
|
4072
4108
|
}
|
|
4073
|
-
function
|
|
4074
|
-
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:
|
|
4075
|
-
|
|
4076
|
-
|
|
4077
|
-
|
|
4078
|
-
|
|
4079
|
-
}, L = () => {
|
|
4080
|
-
let m = document.createElement("style");
|
|
4081
|
-
fetch(new URL(h)).then((w) => w.text()).then((w) => {
|
|
4082
|
-
m.innerHTML = w, setTimeout(
|
|
4083
|
-
() => {
|
|
4084
|
-
B.appendChild(m);
|
|
4085
|
-
},
|
|
4086
|
-
1
|
|
4087
|
-
);
|
|
4088
|
-
});
|
|
4089
|
-
};
|
|
4090
|
-
function _(m) {
|
|
4091
|
-
He[m ? "unshift" : "push"](() => {
|
|
4092
|
-
B = m, r(17, B);
|
|
4109
|
+
function Zn(e, t, r) {
|
|
4110
|
+
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;
|
|
4111
|
+
Xn({ withLocale: "en", translations: {} });
|
|
4112
|
+
function O(c) {
|
|
4113
|
+
He[c ? "unshift" : "push"](() => {
|
|
4114
|
+
x = c, r(18, x);
|
|
4093
4115
|
});
|
|
4094
4116
|
}
|
|
4095
|
-
return e.$$set = (
|
|
4096
|
-
"endpoint" in
|
|
4117
|
+
return e.$$set = (c) => {
|
|
4118
|
+
"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);
|
|
4097
4119
|
}, e.$$.update = () => {
|
|
4098
4120
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4099
|
-
|
|
4100
|
-
|
|
4121
|
+
262208 && u && x && jn(x, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4122
|
+
262272 && h && x && kn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4123
|
+
393216 && x && Vn(x, `${P}.Style`);
|
|
4101
4124
|
}, [
|
|
4102
4125
|
n,
|
|
4103
4126
|
i,
|
|
@@ -4107,27 +4130,28 @@ function Vn(e, t, r) {
|
|
|
4107
4130
|
l,
|
|
4108
4131
|
u,
|
|
4109
4132
|
h,
|
|
4110
|
-
|
|
4133
|
+
m,
|
|
4111
4134
|
f,
|
|
4112
4135
|
b,
|
|
4113
4136
|
y,
|
|
4114
|
-
|
|
4137
|
+
_,
|
|
4115
4138
|
T,
|
|
4116
|
-
|
|
4117
|
-
|
|
4139
|
+
w,
|
|
4140
|
+
A,
|
|
4118
4141
|
S,
|
|
4119
|
-
|
|
4120
|
-
|
|
4142
|
+
P,
|
|
4143
|
+
x,
|
|
4144
|
+
O
|
|
4121
4145
|
];
|
|
4122
4146
|
}
|
|
4123
|
-
class
|
|
4147
|
+
class Ct extends Yt {
|
|
4124
4148
|
constructor(t) {
|
|
4125
|
-
super(),
|
|
4149
|
+
super(), qt(
|
|
4126
4150
|
this,
|
|
4127
4151
|
t,
|
|
4128
|
-
|
|
4129
|
-
|
|
4130
|
-
|
|
4152
|
+
Zn,
|
|
4153
|
+
Wn,
|
|
4154
|
+
it,
|
|
4131
4155
|
{
|
|
4132
4156
|
endpoint: 0,
|
|
4133
4157
|
datasource: 1,
|
|
@@ -4145,9 +4169,10 @@ class It extends qt {
|
|
|
4145
4169
|
visiblegames: 13,
|
|
4146
4170
|
favorites: 14,
|
|
4147
4171
|
casinomygames: 15,
|
|
4148
|
-
fetchviaevent: 16
|
|
4172
|
+
fetchviaevent: 16,
|
|
4173
|
+
mbsource: 17
|
|
4149
4174
|
},
|
|
4150
|
-
|
|
4175
|
+
zn
|
|
4151
4176
|
);
|
|
4152
4177
|
}
|
|
4153
4178
|
get endpoint() {
|
|
@@ -4252,52 +4277,61 @@ class It extends qt {
|
|
|
4252
4277
|
set fetchviaevent(t) {
|
|
4253
4278
|
this.$$set({ fetchviaevent: t }), H();
|
|
4254
4279
|
}
|
|
4280
|
+
get mbsource() {
|
|
4281
|
+
return this.$$.ctx[17];
|
|
4282
|
+
}
|
|
4283
|
+
set mbsource(t) {
|
|
4284
|
+
this.$$set({ mbsource: t }), H();
|
|
4285
|
+
}
|
|
4255
4286
|
}
|
|
4256
|
-
|
|
4257
|
-
const
|
|
4287
|
+
Jt(Ct, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4288
|
+
const mi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4258
4289
|
__proto__: null,
|
|
4259
|
-
default:
|
|
4290
|
+
default: Ct
|
|
4260
4291
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4261
4292
|
export {
|
|
4262
4293
|
M as $,
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4294
|
+
ei as A,
|
|
4295
|
+
ti as B,
|
|
4296
|
+
Jn as C,
|
|
4297
|
+
X as D,
|
|
4298
|
+
ri as E,
|
|
4299
|
+
ci as F,
|
|
4300
|
+
Qn as G,
|
|
4301
|
+
ni as H,
|
|
4302
|
+
Kn as I,
|
|
4303
|
+
ii as J,
|
|
4304
|
+
ai as K,
|
|
4274
4305
|
hi as L,
|
|
4275
|
-
|
|
4276
|
-
|
|
4306
|
+
g as M,
|
|
4307
|
+
ui as N,
|
|
4308
|
+
mi as O,
|
|
4309
|
+
Yt as S,
|
|
4310
|
+
li as _,
|
|
4277
4311
|
pe as a,
|
|
4278
|
-
|
|
4312
|
+
fi as b,
|
|
4279
4313
|
fe as c,
|
|
4280
|
-
|
|
4281
|
-
|
|
4314
|
+
W as d,
|
|
4315
|
+
gn as e,
|
|
4282
4316
|
H as f,
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4317
|
+
Jt as g,
|
|
4318
|
+
$t as h,
|
|
4319
|
+
qt as i,
|
|
4320
|
+
te as j,
|
|
4321
|
+
le as k,
|
|
4322
|
+
ee as l,
|
|
4323
|
+
qn as m,
|
|
4324
|
+
N as n,
|
|
4325
|
+
si as o,
|
|
4326
|
+
kn as p,
|
|
4327
|
+
He as q,
|
|
4328
|
+
jn as r,
|
|
4329
|
+
it as s,
|
|
4330
|
+
Vn as t,
|
|
4331
|
+
oi as u,
|
|
4332
|
+
Gt as v,
|
|
4333
|
+
Yn as w,
|
|
4334
|
+
at as x,
|
|
4335
|
+
Re as y,
|
|
4336
|
+
Rt as z
|
|
4303
4337
|
};
|