@everymatrix/casino-navigation-search 1.56.0 → 1.56.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/{CasinoCategories-DErkMRhG.js → CasinoCategories-BKsi5g8P.js} +531 -501
- package/components/{CasinoCategories-Bsgfsn9b.js → CasinoCategories-BZfvatRo.js} +553 -523
- package/components/CasinoCategories-CArkom-P.cjs +16 -0
- package/components/{CasinoCategoriesProviders-C2TFTBHz.js → CasinoCategoriesProviders-BRg8qBuj.js} +21 -21
- package/components/{CasinoCategoriesProviders-C_EyV3Ql.cjs → CasinoCategoriesProviders-Ce5Mma7L.cjs} +1 -1
- package/components/{CasinoCategoriesProviders-Ykodu2NP.js → CasinoCategoriesProviders-If2xEr47.js} +21 -21
- package/components/CasinoGameThumbnail-Dlv9wGzX.cjs +49 -0
- package/components/CasinoGameThumbnail-DqGtR6Ib.js +4836 -0
- package/components/CasinoGameThumbnail-T-A8V5w7.js +4852 -0
- package/components/{CasinoNavigationSearch-Dfhlvzte.js → CasinoNavigationSearch-DytutXH6.js} +14 -14
- package/components/{CasinoNavigationSearch-Cu6OrgyE.cjs → CasinoNavigationSearch-SQHeywkF.cjs} +1 -1
- package/components/{CasinoNavigationSearch-BXkL0Zkq.js → CasinoNavigationSearch-fWQE3CZE.js} +16 -16
- package/components/{CasinoProviders-BlAkJngG.js → CasinoProviders-CCSOVKMX.js} +41 -41
- package/components/{CasinoProviders-ESIDz8WM.js → CasinoProviders-I0zLiBFT.js} +41 -41
- package/components/{CasinoProviders-CHSOsz5I.cjs → CasinoProviders-Tz8pgXol.cjs} +1 -1
- package/components/{CasinoSearch-CB5wHY5O.cjs → CasinoSearch-Ba-3oxX5.cjs} +1 -1
- package/components/{CasinoSearch-39t_YH0S.js → CasinoSearch-CGLndi73.js} +57 -54
- package/components/{CasinoSearch-BtB5FLOo.js → CasinoSearch-iamNc2KF.js} +58 -55
- package/es2015/casino-navigation-search.cjs +1 -1
- package/es2015/casino-navigation-search.js +1 -1
- package/esnext/casino-navigation-search.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategories-BxzpueAX.cjs +0 -3
- package/components/CasinoGameThumbnail--DsIWLgs.js +0 -4862
- package/components/CasinoGameThumbnail-DIi5Bhcm.js +0 -4878
- package/components/CasinoGameThumbnail-R69I8ziV.cjs +0 -49
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
function L() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function pt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Ze() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function oe(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(pt);
|
|
11
11
|
}
|
|
12
12
|
function je(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function bt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
let he;
|
|
19
|
-
function
|
|
19
|
+
function de(e, t) {
|
|
20
20
|
return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Jt(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function yt(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
@@ -31,21 +31,22 @@ function dt(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 qt(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(yt(t, r));
|
|
36
36
|
}
|
|
37
37
|
function v(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function Yt(e, t, r) {
|
|
41
|
+
const n = Kt(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
43
|
const i = B("style");
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
44
|
+
i.id = t, i.textContent = r, er(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
48
|
-
if (!e)
|
|
47
|
+
function Kt(e) {
|
|
48
|
+
if (!e)
|
|
49
|
+
return document;
|
|
49
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
50
51
|
return t && /** @type {ShadowRoot} */
|
|
51
52
|
t.host ? (
|
|
@@ -53,7 +54,7 @@ function qt(e) {
|
|
|
53
54
|
t
|
|
54
55
|
) : e.ownerDocument;
|
|
55
56
|
}
|
|
56
|
-
function
|
|
57
|
+
function er(e, t) {
|
|
57
58
|
return v(
|
|
58
59
|
/** @type {Document} */
|
|
59
60
|
e.head || e,
|
|
@@ -66,14 +67,14 @@ function j(e, t, r) {
|
|
|
66
67
|
function D(e) {
|
|
67
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
+
function Qe(e, t) {
|
|
70
71
|
for (let r = 0; r < e.length; r += 1)
|
|
71
72
|
e[r] && e[r].d(t);
|
|
72
73
|
}
|
|
73
74
|
function B(e) {
|
|
74
75
|
return document.createElement(e);
|
|
75
76
|
}
|
|
76
|
-
function
|
|
77
|
+
function tr(e) {
|
|
77
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
78
79
|
}
|
|
79
80
|
function R(e) {
|
|
@@ -82,20 +83,20 @@ function R(e) {
|
|
|
82
83
|
function $() {
|
|
83
84
|
return R(" ");
|
|
84
85
|
}
|
|
85
|
-
function
|
|
86
|
+
function mi() {
|
|
86
87
|
return R("");
|
|
87
88
|
}
|
|
88
|
-
function
|
|
89
|
+
function _t(e, t, r, n) {
|
|
89
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
90
91
|
}
|
|
91
92
|
function H(e, t, r) {
|
|
92
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
93
94
|
}
|
|
94
|
-
function
|
|
95
|
+
function di(e, t, r) {
|
|
95
96
|
const n = t.toLowerCase();
|
|
96
97
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
|
|
97
98
|
}
|
|
98
|
-
function
|
|
99
|
+
function rr(e) {
|
|
99
100
|
return Array.from(e.childNodes);
|
|
100
101
|
}
|
|
101
102
|
function G(e, t) {
|
|
@@ -105,10 +106,10 @@ function G(e, t) {
|
|
|
105
106
|
function pi(e, t) {
|
|
106
107
|
e.value = t ?? "";
|
|
107
108
|
}
|
|
108
|
-
function
|
|
109
|
+
function bi(e, t, r) {
|
|
109
110
|
e.classList.toggle(t, !!r);
|
|
110
111
|
}
|
|
111
|
-
class
|
|
112
|
+
class yi {
|
|
112
113
|
/**
|
|
113
114
|
* @private
|
|
114
115
|
* @default false
|
|
@@ -139,7 +140,7 @@ class bi {
|
|
|
139
140
|
* @returns {void}
|
|
140
141
|
*/
|
|
141
142
|
m(t, r, n = null) {
|
|
142
|
-
this.e || (this.is_svg ? this.e =
|
|
143
|
+
this.e || (this.is_svg ? this.e = tr(
|
|
143
144
|
/** @type {keyof SVGElementTagNameMap} */
|
|
144
145
|
r.nodeName
|
|
145
146
|
) : this.e = B(
|
|
@@ -178,7 +179,7 @@ class bi {
|
|
|
178
179
|
this.n.forEach(D);
|
|
179
180
|
}
|
|
180
181
|
}
|
|
181
|
-
function
|
|
182
|
+
function nr(e) {
|
|
182
183
|
const t = {};
|
|
183
184
|
return e.childNodes.forEach(
|
|
184
185
|
/** @param {Element} node */
|
|
@@ -191,22 +192,23 @@ let ne;
|
|
|
191
192
|
function re(e) {
|
|
192
193
|
ne = e;
|
|
193
194
|
}
|
|
194
|
-
function
|
|
195
|
-
if (!ne)
|
|
195
|
+
function ir() {
|
|
196
|
+
if (!ne)
|
|
197
|
+
throw new Error("Function called outside component initialization");
|
|
196
198
|
return ne;
|
|
197
199
|
}
|
|
198
|
-
function
|
|
199
|
-
|
|
200
|
+
function sr(e) {
|
|
201
|
+
ir().$$.on_mount.push(e);
|
|
200
202
|
}
|
|
201
203
|
const z = [], Oe = [];
|
|
202
204
|
let W = [];
|
|
203
|
-
const
|
|
205
|
+
const Je = [], Et = /* @__PURE__ */ Promise.resolve();
|
|
204
206
|
let Pe = !1;
|
|
205
|
-
function
|
|
206
|
-
Pe || (Pe = !0,
|
|
207
|
+
function xt() {
|
|
208
|
+
Pe || (Pe = !0, Et.then(I));
|
|
207
209
|
}
|
|
208
|
-
function
|
|
209
|
-
return
|
|
210
|
+
function _i() {
|
|
211
|
+
return xt(), Et;
|
|
210
212
|
}
|
|
211
213
|
function Ne(e) {
|
|
212
214
|
W.push(e);
|
|
@@ -221,55 +223,56 @@ function I() {
|
|
|
221
223
|
try {
|
|
222
224
|
for (; V < z.length; ) {
|
|
223
225
|
const t = z[V];
|
|
224
|
-
V++, re(t),
|
|
226
|
+
V++, re(t), or(t.$$);
|
|
225
227
|
}
|
|
226
228
|
} catch (t) {
|
|
227
229
|
throw z.length = 0, V = 0, t;
|
|
228
230
|
}
|
|
229
|
-
for (re(null), z.length = 0, V = 0; Oe.length; )
|
|
231
|
+
for (re(null), z.length = 0, V = 0; Oe.length; )
|
|
232
|
+
Oe.pop()();
|
|
230
233
|
for (let t = 0; t < W.length; t += 1) {
|
|
231
234
|
const r = W[t];
|
|
232
235
|
Te.has(r) || (Te.add(r), r());
|
|
233
236
|
}
|
|
234
237
|
W.length = 0;
|
|
235
238
|
} while (z.length);
|
|
236
|
-
for (;
|
|
237
|
-
|
|
239
|
+
for (; Je.length; )
|
|
240
|
+
Je.pop()();
|
|
238
241
|
Pe = !1, Te.clear(), re(e);
|
|
239
242
|
}
|
|
240
|
-
function
|
|
243
|
+
function or(e) {
|
|
241
244
|
if (e.fragment !== null) {
|
|
242
245
|
e.update(), oe(e.before_update);
|
|
243
246
|
const t = e.dirty;
|
|
244
247
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
|
|
245
248
|
}
|
|
246
249
|
}
|
|
247
|
-
function
|
|
250
|
+
function ar(e) {
|
|
248
251
|
const t = [], r = [];
|
|
249
252
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
250
253
|
}
|
|
251
|
-
const
|
|
252
|
-
function
|
|
253
|
-
e && e.i && (
|
|
254
|
+
const ur = /* @__PURE__ */ new Set();
|
|
255
|
+
function hr(e, t) {
|
|
256
|
+
e && e.i && (ur.delete(e), e.i(t));
|
|
254
257
|
}
|
|
255
258
|
function le(e) {
|
|
256
259
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
257
260
|
}
|
|
258
|
-
function
|
|
261
|
+
function lr(e, t, r) {
|
|
259
262
|
const { fragment: n, after_update: i } = e.$$;
|
|
260
263
|
n && n.m(t, r), Ne(() => {
|
|
261
|
-
const s = e.$$.on_mount.map(
|
|
264
|
+
const s = e.$$.on_mount.map(pt).filter(je);
|
|
262
265
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : oe(s), e.$$.on_mount = [];
|
|
263
266
|
}), i.forEach(Ne);
|
|
264
267
|
}
|
|
265
|
-
function
|
|
268
|
+
function fr(e, t) {
|
|
266
269
|
const r = e.$$;
|
|
267
|
-
r.fragment !== null && (
|
|
270
|
+
r.fragment !== null && (ar(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
268
271
|
}
|
|
269
|
-
function
|
|
270
|
-
e.$$.dirty[0] === -1 && (z.push(e),
|
|
272
|
+
function cr(e, t) {
|
|
273
|
+
e.$$.dirty[0] === -1 && (z.push(e), xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
271
274
|
}
|
|
272
|
-
function
|
|
275
|
+
function gr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
273
276
|
const l = ne;
|
|
274
277
|
re(e);
|
|
275
278
|
const u = e.$$ = {
|
|
@@ -279,7 +282,7 @@ function fr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
279
282
|
props: s,
|
|
280
283
|
update: L,
|
|
281
284
|
not_equal: i,
|
|
282
|
-
bound:
|
|
285
|
+
bound: Ze(),
|
|
283
286
|
// lifecycle
|
|
284
287
|
on_mount: [],
|
|
285
288
|
on_destroy: [],
|
|
@@ -288,28 +291,28 @@ function fr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
288
291
|
after_update: [],
|
|
289
292
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
290
293
|
// everything else
|
|
291
|
-
callbacks:
|
|
294
|
+
callbacks: Ze(),
|
|
292
295
|
dirty: a,
|
|
293
296
|
skip_bound: !1,
|
|
294
297
|
root: t.target || l.$$.root
|
|
295
298
|
};
|
|
296
299
|
o && o(u.root);
|
|
297
300
|
let h = !1;
|
|
298
|
-
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
299
|
-
const
|
|
300
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] =
|
|
301
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
|
|
302
|
+
const p = d.length ? d[0] : f;
|
|
303
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && cr(e, c)), f;
|
|
301
304
|
}) : [], u.update(), h = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
302
305
|
if (t.hydrate) {
|
|
303
|
-
const c =
|
|
306
|
+
const c = rr(t.target);
|
|
304
307
|
u.fragment && u.fragment.l(c), c.forEach(D);
|
|
305
308
|
} else
|
|
306
309
|
u.fragment && u.fragment.c();
|
|
307
|
-
t.intro &&
|
|
310
|
+
t.intro && hr(e.$$.fragment), lr(e, t.target, t.anchor), I();
|
|
308
311
|
}
|
|
309
312
|
re(l);
|
|
310
313
|
}
|
|
311
|
-
let
|
|
312
|
-
typeof HTMLElement == "function" && (
|
|
314
|
+
let vt;
|
|
315
|
+
typeof HTMLElement == "function" && (vt = class extends HTMLElement {
|
|
313
316
|
/** The Svelte component constructor */
|
|
314
317
|
$$ctor;
|
|
315
318
|
/** Slots */
|
|
@@ -368,7 +371,7 @@ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
|
|
|
368
371
|
};
|
|
369
372
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
370
373
|
return;
|
|
371
|
-
const t = {}, r =
|
|
374
|
+
const t = {}, r = nr(this);
|
|
372
375
|
for (const i of this.$$s)
|
|
373
376
|
i in r && (t[i] = [e(i)]);
|
|
374
377
|
for (const i of this.attributes) {
|
|
@@ -455,8 +458,8 @@ function ce(e, t, r, n) {
|
|
|
455
458
|
return t;
|
|
456
459
|
}
|
|
457
460
|
}
|
|
458
|
-
function
|
|
459
|
-
let o = class extends
|
|
461
|
+
function mr(e, t, r, n, i, s) {
|
|
462
|
+
let o = class extends vt {
|
|
460
463
|
constructor() {
|
|
461
464
|
super(e, r, i), this.$$p_d = t;
|
|
462
465
|
}
|
|
@@ -484,7 +487,7 @@ function cr(e, t, r, n, i, s) {
|
|
|
484
487
|
}), e.element = /** @type {any} */
|
|
485
488
|
o, o;
|
|
486
489
|
}
|
|
487
|
-
class
|
|
490
|
+
class dr {
|
|
488
491
|
/**
|
|
489
492
|
* ### PRIVATE API
|
|
490
493
|
*
|
|
@@ -503,7 +506,7 @@ class gr {
|
|
|
503
506
|
$$set = void 0;
|
|
504
507
|
/** @returns {void} */
|
|
505
508
|
$destroy() {
|
|
506
|
-
|
|
509
|
+
fr(this, 1), this.$destroy = L;
|
|
507
510
|
}
|
|
508
511
|
/**
|
|
509
512
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -525,18 +528,18 @@ class gr {
|
|
|
525
528
|
* @returns {void}
|
|
526
529
|
*/
|
|
527
530
|
$set(t) {
|
|
528
|
-
this.$$set && !
|
|
531
|
+
this.$$set && !Jt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
529
532
|
}
|
|
530
533
|
}
|
|
531
|
-
const
|
|
532
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
533
|
-
function
|
|
534
|
+
const pr = "4";
|
|
535
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pr);
|
|
536
|
+
function br(e, t) {
|
|
534
537
|
if (e) {
|
|
535
538
|
const r = document.createElement("style");
|
|
536
539
|
r.innerHTML = t, e.appendChild(r);
|
|
537
540
|
}
|
|
538
541
|
}
|
|
539
|
-
function
|
|
542
|
+
function yr(e, t) {
|
|
540
543
|
const r = new URL(t);
|
|
541
544
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
542
545
|
const i = document.createElement("style");
|
|
@@ -545,7 +548,7 @@ function dr(e, t) {
|
|
|
545
548
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
546
549
|
});
|
|
547
550
|
}
|
|
548
|
-
function
|
|
551
|
+
function _r(e, t, r) {
|
|
549
552
|
if (window.emMessageBus) {
|
|
550
553
|
const n = document.createElement("style");
|
|
551
554
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -554,7 +557,7 @@ function br(e, t, r) {
|
|
|
554
557
|
}
|
|
555
558
|
}
|
|
556
559
|
const X = [];
|
|
557
|
-
function
|
|
560
|
+
function Er(e, t) {
|
|
558
561
|
return {
|
|
559
562
|
subscribe: ye(e, t).subscribe
|
|
560
563
|
};
|
|
@@ -563,7 +566,7 @@ function ye(e, t = L) {
|
|
|
563
566
|
let r;
|
|
564
567
|
const n = /* @__PURE__ */ new Set();
|
|
565
568
|
function i(a) {
|
|
566
|
-
if (
|
|
569
|
+
if (bt(e, a) && (e = a, r)) {
|
|
567
570
|
const l = !X.length;
|
|
568
571
|
for (const u of n)
|
|
569
572
|
u[1](), X.push(u, e);
|
|
@@ -590,7 +593,7 @@ function Y(e, t, r) {
|
|
|
590
593
|
if (!i.every(Boolean))
|
|
591
594
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
592
595
|
const s = t.length < 2;
|
|
593
|
-
return
|
|
596
|
+
return Er(r, (o, a) => {
|
|
594
597
|
let l = !1;
|
|
595
598
|
const u = [];
|
|
596
599
|
let h = 0, c = L;
|
|
@@ -598,11 +601,11 @@ function Y(e, t, r) {
|
|
|
598
601
|
if (h)
|
|
599
602
|
return;
|
|
600
603
|
c();
|
|
601
|
-
const
|
|
602
|
-
s ? o(
|
|
603
|
-
},
|
|
604
|
-
(
|
|
605
|
-
|
|
604
|
+
const p = t(n ? u[0] : u, o, a);
|
|
605
|
+
s ? o(p) : c = je(p) ? p : L;
|
|
606
|
+
}, d = i.map(
|
|
607
|
+
(p, g) => yt(
|
|
608
|
+
p,
|
|
606
609
|
(x) => {
|
|
607
610
|
u[g] = x, h &= ~(1 << g), l && f();
|
|
608
611
|
},
|
|
@@ -612,74 +615,74 @@ function Y(e, t, r) {
|
|
|
612
615
|
)
|
|
613
616
|
);
|
|
614
617
|
return l = !0, f(), function() {
|
|
615
|
-
oe(
|
|
618
|
+
oe(d), c(), l = !1;
|
|
616
619
|
};
|
|
617
620
|
});
|
|
618
621
|
}
|
|
619
|
-
function
|
|
622
|
+
function xr(e) {
|
|
620
623
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
621
624
|
}
|
|
622
|
-
var
|
|
623
|
-
return
|
|
625
|
+
var vr = function(t) {
|
|
626
|
+
return Tr(t) && !Cr(t);
|
|
624
627
|
};
|
|
625
|
-
function
|
|
628
|
+
function Tr(e) {
|
|
626
629
|
return !!e && typeof e == "object";
|
|
627
630
|
}
|
|
628
|
-
function
|
|
631
|
+
function Cr(e) {
|
|
629
632
|
var t = Object.prototype.toString.call(e);
|
|
630
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
631
|
-
}
|
|
632
|
-
var Tr = typeof Symbol == "function" && Symbol.for, Cr = Tr ? Symbol.for("react.element") : 60103;
|
|
633
|
-
function Hr(e) {
|
|
634
|
-
return e.$$typeof === Cr;
|
|
633
|
+
return t === "[object RegExp]" || t === "[object Date]" || Sr(e);
|
|
635
634
|
}
|
|
635
|
+
var Hr = typeof Symbol == "function" && Symbol.for, Ar = Hr ? Symbol.for("react.element") : 60103;
|
|
636
636
|
function Sr(e) {
|
|
637
|
+
return e.$$typeof === Ar;
|
|
638
|
+
}
|
|
639
|
+
function Br(e) {
|
|
637
640
|
return Array.isArray(e) ? [] : {};
|
|
638
641
|
}
|
|
639
642
|
function ie(e, t) {
|
|
640
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Z(
|
|
643
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(Br(e), e, t) : e;
|
|
641
644
|
}
|
|
642
|
-
function
|
|
645
|
+
function wr(e, t, r) {
|
|
643
646
|
return e.concat(t).map(function(n) {
|
|
644
647
|
return ie(n, r);
|
|
645
648
|
});
|
|
646
649
|
}
|
|
647
|
-
function
|
|
650
|
+
function Or(e, t) {
|
|
648
651
|
if (!t.customMerge)
|
|
649
652
|
return Z;
|
|
650
653
|
var r = t.customMerge(e);
|
|
651
654
|
return typeof r == "function" ? r : Z;
|
|
652
655
|
}
|
|
653
|
-
function
|
|
656
|
+
function Pr(e) {
|
|
654
657
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
655
658
|
return Object.propertyIsEnumerable.call(e, t);
|
|
656
659
|
}) : [];
|
|
657
660
|
}
|
|
658
|
-
function
|
|
659
|
-
return Object.keys(e).concat(
|
|
661
|
+
function qe(e) {
|
|
662
|
+
return Object.keys(e).concat(Pr(e));
|
|
660
663
|
}
|
|
661
|
-
function
|
|
664
|
+
function Tt(e, t) {
|
|
662
665
|
try {
|
|
663
666
|
return t in e;
|
|
664
667
|
} catch {
|
|
665
668
|
return !1;
|
|
666
669
|
}
|
|
667
670
|
}
|
|
668
|
-
function
|
|
669
|
-
return
|
|
671
|
+
function Nr(e, t) {
|
|
672
|
+
return Tt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
670
673
|
}
|
|
671
|
-
function
|
|
674
|
+
function Lr(e, t, r) {
|
|
672
675
|
var n = {};
|
|
673
|
-
return r.isMergeableObject(e) &&
|
|
676
|
+
return r.isMergeableObject(e) && qe(e).forEach(function(i) {
|
|
674
677
|
n[i] = ie(e[i], r);
|
|
675
|
-
}),
|
|
676
|
-
|
|
678
|
+
}), qe(t).forEach(function(i) {
|
|
679
|
+
Nr(e, i) || (Tt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Or(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
677
680
|
}), n;
|
|
678
681
|
}
|
|
679
682
|
function Z(e, t, r) {
|
|
680
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
683
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || wr, r.isMergeableObject = r.isMergeableObject || vr, r.cloneUnlessOtherwiseSpecified = ie;
|
|
681
684
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
682
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
685
|
+
return s ? n ? r.arrayMerge(e, t, r) : Lr(e, t, r) : ie(t, r);
|
|
683
686
|
}
|
|
684
687
|
Z.all = function(t, r) {
|
|
685
688
|
if (!Array.isArray(t))
|
|
@@ -688,13 +691,28 @@ Z.all = function(t, r) {
|
|
|
688
691
|
return Z(n, i, r);
|
|
689
692
|
}, {});
|
|
690
693
|
};
|
|
691
|
-
var
|
|
692
|
-
const
|
|
694
|
+
var Ir = Z, Mr = Ir;
|
|
695
|
+
const $r = /* @__PURE__ */ xr(Mr);
|
|
696
|
+
/*! *****************************************************************************
|
|
697
|
+
Copyright (c) Microsoft Corporation.
|
|
698
|
+
|
|
699
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
700
|
+
purpose with or without fee is hereby granted.
|
|
701
|
+
|
|
702
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
703
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
704
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
705
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
706
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
707
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
708
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
709
|
+
***************************************************************************** */
|
|
693
710
|
var Le = function(e, t) {
|
|
694
711
|
return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
695
712
|
r.__proto__ = n;
|
|
696
713
|
} || function(r, n) {
|
|
697
|
-
for (var i in n)
|
|
714
|
+
for (var i in n)
|
|
715
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
698
716
|
}, Le(e, t);
|
|
699
717
|
};
|
|
700
718
|
function _e(e, t) {
|
|
@@ -710,99 +728,109 @@ var E = function() {
|
|
|
710
728
|
return E = Object.assign || function(t) {
|
|
711
729
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
712
730
|
r = arguments[n];
|
|
713
|
-
for (var s in r)
|
|
731
|
+
for (var s in r)
|
|
732
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
714
733
|
}
|
|
715
734
|
return t;
|
|
716
735
|
}, E.apply(this, arguments);
|
|
717
736
|
};
|
|
718
|
-
function
|
|
737
|
+
function Rr(e, t) {
|
|
719
738
|
var r = {};
|
|
720
|
-
for (var n in e)
|
|
739
|
+
for (var n in e)
|
|
740
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
721
741
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
722
742
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
723
743
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
724
744
|
return r;
|
|
725
745
|
}
|
|
726
|
-
function
|
|
746
|
+
function Ei(e) {
|
|
727
747
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
728
|
-
if (r)
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
748
|
+
if (r)
|
|
749
|
+
return r.call(e);
|
|
750
|
+
if (e && typeof e.length == "number")
|
|
751
|
+
return {
|
|
752
|
+
next: function() {
|
|
753
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
754
|
+
}
|
|
755
|
+
};
|
|
734
756
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
735
757
|
}
|
|
736
|
-
function
|
|
758
|
+
function xi(e, t) {
|
|
737
759
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
738
|
-
if (!r)
|
|
760
|
+
if (!r)
|
|
761
|
+
return e;
|
|
739
762
|
var n = r.call(e), i, s = [], o;
|
|
740
763
|
try {
|
|
741
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
764
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
765
|
+
s.push(i.value);
|
|
742
766
|
} catch (a) {
|
|
743
767
|
o = { error: a };
|
|
744
768
|
} finally {
|
|
745
769
|
try {
|
|
746
770
|
i && !i.done && (r = n.return) && r.call(n);
|
|
747
771
|
} finally {
|
|
748
|
-
if (o)
|
|
772
|
+
if (o)
|
|
773
|
+
throw o.error;
|
|
749
774
|
}
|
|
750
775
|
}
|
|
751
776
|
return s;
|
|
752
777
|
}
|
|
753
778
|
function Ce(e, t, r) {
|
|
754
|
-
if (r || arguments.length === 2)
|
|
755
|
-
(
|
|
756
|
-
|
|
779
|
+
if (r || arguments.length === 2)
|
|
780
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
781
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
782
|
+
return e.concat(s || t);
|
|
757
783
|
}
|
|
758
784
|
function He(e, t) {
|
|
759
|
-
var r = t && t.cache ? t.cache :
|
|
785
|
+
var r = t && t.cache ? t.cache : kr, n = t && t.serializer ? t.serializer : jr, i = t && t.strategy ? t.strategy : Gr;
|
|
760
786
|
return i(e, {
|
|
761
787
|
cache: r,
|
|
762
788
|
serializer: n
|
|
763
789
|
});
|
|
764
790
|
}
|
|
765
|
-
function
|
|
791
|
+
function Ur(e) {
|
|
766
792
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
767
793
|
}
|
|
768
|
-
function
|
|
769
|
-
var i =
|
|
794
|
+
function Ct(e, t, r, n) {
|
|
795
|
+
var i = Ur(n) ? n : r(n), s = t.get(i);
|
|
770
796
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
771
797
|
}
|
|
772
|
-
function
|
|
798
|
+
function Ht(e, t, r) {
|
|
773
799
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
774
800
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
775
801
|
}
|
|
776
|
-
function
|
|
802
|
+
function ke(e, t, r, n, i) {
|
|
777
803
|
return r.bind(t, e, n, i);
|
|
778
804
|
}
|
|
779
|
-
function Ur(e, t) {
|
|
780
|
-
var r = e.length === 1 ? Rr : vt;
|
|
781
|
-
return Tt(e, this, r, t.cache.create(), t.serializer);
|
|
782
|
-
}
|
|
783
805
|
function Gr(e, t) {
|
|
784
|
-
|
|
806
|
+
var r = e.length === 1 ? Ct : Ht;
|
|
807
|
+
return ke(e, this, r, t.cache.create(), t.serializer);
|
|
808
|
+
}
|
|
809
|
+
function Dr(e, t) {
|
|
810
|
+
return ke(e, this, Ht, t.cache.create(), t.serializer);
|
|
785
811
|
}
|
|
786
|
-
|
|
812
|
+
function Fr(e, t) {
|
|
813
|
+
return ke(e, this, Ct, t.cache.create(), t.serializer);
|
|
814
|
+
}
|
|
815
|
+
var jr = function() {
|
|
787
816
|
return JSON.stringify(arguments);
|
|
788
|
-
}
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
}()
|
|
800
|
-
), jr = {
|
|
817
|
+
};
|
|
818
|
+
function Ve() {
|
|
819
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
820
|
+
}
|
|
821
|
+
Ve.prototype.get = function(e) {
|
|
822
|
+
return this.cache[e];
|
|
823
|
+
};
|
|
824
|
+
Ve.prototype.set = function(e, t) {
|
|
825
|
+
this.cache[e] = t;
|
|
826
|
+
};
|
|
827
|
+
var kr = {
|
|
801
828
|
create: function() {
|
|
802
|
-
return new
|
|
829
|
+
return new Ve();
|
|
803
830
|
}
|
|
804
|
-
},
|
|
805
|
-
variadic:
|
|
831
|
+
}, Ae = {
|
|
832
|
+
variadic: Dr,
|
|
833
|
+
monadic: Fr
|
|
806
834
|
}, y;
|
|
807
835
|
(function(e) {
|
|
808
836
|
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";
|
|
@@ -815,43 +843,43 @@ var Q;
|
|
|
815
843
|
(function(e) {
|
|
816
844
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
817
845
|
})(Q || (Q = {}));
|
|
818
|
-
function
|
|
846
|
+
function Ye(e) {
|
|
819
847
|
return e.type === T.literal;
|
|
820
848
|
}
|
|
821
|
-
function
|
|
849
|
+
function Vr(e) {
|
|
822
850
|
return e.type === T.argument;
|
|
823
851
|
}
|
|
824
|
-
function
|
|
852
|
+
function At(e) {
|
|
825
853
|
return e.type === T.number;
|
|
826
854
|
}
|
|
827
|
-
function
|
|
855
|
+
function St(e) {
|
|
828
856
|
return e.type === T.date;
|
|
829
857
|
}
|
|
830
|
-
function
|
|
858
|
+
function Bt(e) {
|
|
831
859
|
return e.type === T.time;
|
|
832
860
|
}
|
|
833
|
-
function
|
|
861
|
+
function wt(e) {
|
|
834
862
|
return e.type === T.select;
|
|
835
863
|
}
|
|
836
|
-
function
|
|
864
|
+
function Ot(e) {
|
|
837
865
|
return e.type === T.plural;
|
|
838
866
|
}
|
|
839
|
-
function
|
|
867
|
+
function Xr(e) {
|
|
840
868
|
return e.type === T.pound;
|
|
841
869
|
}
|
|
842
|
-
function
|
|
870
|
+
function Pt(e) {
|
|
843
871
|
return e.type === T.tag;
|
|
844
872
|
}
|
|
845
|
-
function
|
|
873
|
+
function Nt(e) {
|
|
846
874
|
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
847
875
|
}
|
|
848
876
|
function Ie(e) {
|
|
849
877
|
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
850
878
|
}
|
|
851
|
-
var
|
|
852
|
-
function
|
|
879
|
+
var Lt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zr = /(?:[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;
|
|
880
|
+
function Wr(e) {
|
|
853
881
|
var t = {};
|
|
854
|
-
return e.replace(
|
|
882
|
+
return e.replace(zr, function(r) {
|
|
855
883
|
var n = r.length;
|
|
856
884
|
switch (r[0]) {
|
|
857
885
|
case "G":
|
|
@@ -940,11 +968,11 @@ function zr(e) {
|
|
|
940
968
|
return "";
|
|
941
969
|
}), t;
|
|
942
970
|
}
|
|
943
|
-
var
|
|
944
|
-
function
|
|
971
|
+
var Zr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
972
|
+
function Qr(e) {
|
|
945
973
|
if (e.length === 0)
|
|
946
974
|
throw new Error("Number skeleton cannot be empty");
|
|
947
|
-
for (var t = e.split(
|
|
975
|
+
for (var t = e.split(Zr).filter(function(f) {
|
|
948
976
|
return f.length > 0;
|
|
949
977
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
950
978
|
var s = i[n], o = s.split("/");
|
|
@@ -959,17 +987,17 @@ function Zr(e) {
|
|
|
959
987
|
}
|
|
960
988
|
return r;
|
|
961
989
|
}
|
|
962
|
-
function
|
|
990
|
+
function Jr(e) {
|
|
963
991
|
return e.replace(/^(.*?)-/, "");
|
|
964
992
|
}
|
|
965
|
-
var
|
|
966
|
-
function
|
|
993
|
+
var Ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, It = /^(@+)?(\+|#+)?[rs]?$/g, qr = /(\*)(0+)|(#+)(0+)|(0+)/g, Mt = /^(0+)$/;
|
|
994
|
+
function et(e) {
|
|
967
995
|
var t = {};
|
|
968
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
996
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(It, function(r, n, i) {
|
|
969
997
|
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)), "";
|
|
970
998
|
}), t;
|
|
971
999
|
}
|
|
972
|
-
function
|
|
1000
|
+
function $t(e) {
|
|
973
1001
|
switch (e) {
|
|
974
1002
|
case "sign-auto":
|
|
975
1003
|
return {
|
|
@@ -1009,7 +1037,7 @@ function It(e) {
|
|
|
1009
1037
|
};
|
|
1010
1038
|
}
|
|
1011
1039
|
}
|
|
1012
|
-
function
|
|
1040
|
+
function Yr(e) {
|
|
1013
1041
|
var t;
|
|
1014
1042
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1015
1043
|
notation: "engineering"
|
|
@@ -1017,17 +1045,17 @@ function qr(e) {
|
|
|
1017
1045
|
notation: "scientific"
|
|
1018
1046
|
}, e = e.slice(1)), t) {
|
|
1019
1047
|
var r = e.slice(0, 2);
|
|
1020
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1048
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Mt.test(e))
|
|
1021
1049
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1022
1050
|
t.minimumIntegerDigits = e.length;
|
|
1023
1051
|
}
|
|
1024
1052
|
return t;
|
|
1025
1053
|
}
|
|
1026
|
-
function
|
|
1027
|
-
var t = {}, r =
|
|
1054
|
+
function tt(e) {
|
|
1055
|
+
var t = {}, r = $t(e);
|
|
1028
1056
|
return r || t;
|
|
1029
1057
|
}
|
|
1030
|
-
function
|
|
1058
|
+
function Kr(e) {
|
|
1031
1059
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1032
1060
|
var i = n[r];
|
|
1033
1061
|
switch (i.stem) {
|
|
@@ -1051,7 +1079,7 @@ function Yr(e) {
|
|
|
1051
1079
|
continue;
|
|
1052
1080
|
case "measure-unit":
|
|
1053
1081
|
case "unit":
|
|
1054
|
-
t.style = "unit", t.unit =
|
|
1082
|
+
t.style = "unit", t.unit = Jr(i.options[0]);
|
|
1055
1083
|
continue;
|
|
1056
1084
|
case "compact-short":
|
|
1057
1085
|
case "K":
|
|
@@ -1063,12 +1091,12 @@ function Yr(e) {
|
|
|
1063
1091
|
continue;
|
|
1064
1092
|
case "scientific":
|
|
1065
1093
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1066
|
-
return E(E({}, l),
|
|
1094
|
+
return E(E({}, l), tt(u));
|
|
1067
1095
|
}, {}));
|
|
1068
1096
|
continue;
|
|
1069
1097
|
case "engineering":
|
|
1070
1098
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1071
|
-
return E(E({}, l),
|
|
1099
|
+
return E(E({}, l), tt(u));
|
|
1072
1100
|
}, {}));
|
|
1073
1101
|
continue;
|
|
1074
1102
|
case "notation-simple":
|
|
@@ -1113,40 +1141,40 @@ function Yr(e) {
|
|
|
1113
1141
|
case "integer-width":
|
|
1114
1142
|
if (i.options.length > 1)
|
|
1115
1143
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1116
|
-
i.options[0].replace(
|
|
1144
|
+
i.options[0].replace(qr, function(l, u, h, c, f, d) {
|
|
1117
1145
|
if (u)
|
|
1118
1146
|
t.minimumIntegerDigits = h.length;
|
|
1119
1147
|
else {
|
|
1120
1148
|
if (c && f)
|
|
1121
1149
|
throw new Error("We currently do not support maximum integer digits");
|
|
1122
|
-
if (
|
|
1150
|
+
if (d)
|
|
1123
1151
|
throw new Error("We currently do not support exact integer digits");
|
|
1124
1152
|
}
|
|
1125
1153
|
return "";
|
|
1126
1154
|
});
|
|
1127
1155
|
continue;
|
|
1128
1156
|
}
|
|
1129
|
-
if (
|
|
1157
|
+
if (Mt.test(i.stem)) {
|
|
1130
1158
|
t.minimumIntegerDigits = i.stem.length;
|
|
1131
1159
|
continue;
|
|
1132
1160
|
}
|
|
1133
|
-
if (
|
|
1161
|
+
if (Ke.test(i.stem)) {
|
|
1134
1162
|
if (i.options.length > 1)
|
|
1135
1163
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1136
|
-
i.stem.replace(
|
|
1137
|
-
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1164
|
+
i.stem.replace(Ke, function(l, u, h, c, f, d) {
|
|
1165
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1138
1166
|
});
|
|
1139
1167
|
var s = i.options[0];
|
|
1140
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1168
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), et(s)));
|
|
1141
1169
|
continue;
|
|
1142
1170
|
}
|
|
1143
|
-
if (
|
|
1144
|
-
t = E(E({}, t),
|
|
1171
|
+
if (It.test(i.stem)) {
|
|
1172
|
+
t = E(E({}, t), et(i.stem));
|
|
1145
1173
|
continue;
|
|
1146
1174
|
}
|
|
1147
|
-
var o =
|
|
1175
|
+
var o = $t(i.stem);
|
|
1148
1176
|
o && (t = E(E({}, t), o));
|
|
1149
|
-
var a =
|
|
1177
|
+
var a = Yr(i.stem);
|
|
1150
1178
|
a && (t = E(E({}, t), a));
|
|
1151
1179
|
}
|
|
1152
1180
|
return t;
|
|
@@ -2566,22 +2594,23 @@ var fe = {
|
|
|
2566
2594
|
"h"
|
|
2567
2595
|
]
|
|
2568
2596
|
};
|
|
2569
|
-
function
|
|
2597
|
+
function en(e, t) {
|
|
2570
2598
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2571
2599
|
var i = e.charAt(n);
|
|
2572
2600
|
if (i === "j") {
|
|
2573
2601
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2574
2602
|
s++, n++;
|
|
2575
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2603
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = tn(t);
|
|
2576
2604
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2577
2605
|
r += l;
|
|
2578
2606
|
for (; o-- > 0; )
|
|
2579
2607
|
r = u + r;
|
|
2580
|
-
} else
|
|
2608
|
+
} else
|
|
2609
|
+
i === "J" ? r += "H" : r += i;
|
|
2581
2610
|
}
|
|
2582
2611
|
return r;
|
|
2583
2612
|
}
|
|
2584
|
-
function
|
|
2613
|
+
function tn(e) {
|
|
2585
2614
|
var t = e.hourCycle;
|
|
2586
2615
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2587
2616
|
e.hourCycles && // @ts-ignore
|
|
@@ -2603,20 +2632,20 @@ function en(e) {
|
|
|
2603
2632
|
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
2604
2633
|
return i[0];
|
|
2605
2634
|
}
|
|
2606
|
-
var
|
|
2635
|
+
var Se, rn = new RegExp("^".concat(Lt.source, "*")), nn = new RegExp("".concat(Lt.source, "*$"));
|
|
2607
2636
|
function _(e, t) {
|
|
2608
2637
|
return { start: e, end: t };
|
|
2609
2638
|
}
|
|
2610
|
-
var
|
|
2639
|
+
var sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), on = !!String.fromCodePoint, an = !!Object.fromEntries, un = !!String.prototype.codePointAt, hn = !!String.prototype.trimStart, ln = !!String.prototype.trimEnd, fn = !!Number.isSafeInteger, cn = fn ? Number.isSafeInteger : function(e) {
|
|
2611
2640
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2612
2641
|
}, Me = !0;
|
|
2613
2642
|
try {
|
|
2614
|
-
var
|
|
2615
|
-
Me = ((
|
|
2643
|
+
var gn = Ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2644
|
+
Me = ((Se = gn.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
|
|
2616
2645
|
} catch {
|
|
2617
2646
|
Me = !1;
|
|
2618
2647
|
}
|
|
2619
|
-
var
|
|
2648
|
+
var rt = sn ? (
|
|
2620
2649
|
// Native
|
|
2621
2650
|
function(t, r, n) {
|
|
2622
2651
|
return t.startsWith(r, n);
|
|
@@ -2626,7 +2655,7 @@ var et = nn ? (
|
|
|
2626
2655
|
function(t, r, n) {
|
|
2627
2656
|
return t.slice(n, n + r.length) === r;
|
|
2628
2657
|
}
|
|
2629
|
-
), $e =
|
|
2658
|
+
), $e = on ? String.fromCodePoint : (
|
|
2630
2659
|
// IE11
|
|
2631
2660
|
function() {
|
|
2632
2661
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2638,9 +2667,9 @@ var et = nn ? (
|
|
|
2638
2667
|
}
|
|
2639
2668
|
return n;
|
|
2640
2669
|
}
|
|
2641
|
-
),
|
|
2670
|
+
), nt = (
|
|
2642
2671
|
// native
|
|
2643
|
-
|
|
2672
|
+
an ? Object.fromEntries : (
|
|
2644
2673
|
// Ponyfill
|
|
2645
2674
|
function(t) {
|
|
2646
2675
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2650,7 +2679,7 @@ var et = nn ? (
|
|
|
2650
2679
|
return r;
|
|
2651
2680
|
}
|
|
2652
2681
|
)
|
|
2653
|
-
),
|
|
2682
|
+
), Rt = un ? (
|
|
2654
2683
|
// Native
|
|
2655
2684
|
function(t, r) {
|
|
2656
2685
|
return t.codePointAt(r);
|
|
@@ -2664,7 +2693,7 @@ var et = nn ? (
|
|
|
2664
2693
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2665
2694
|
}
|
|
2666
2695
|
}
|
|
2667
|
-
),
|
|
2696
|
+
), mn = hn ? (
|
|
2668
2697
|
// Native
|
|
2669
2698
|
function(t) {
|
|
2670
2699
|
return t.trimStart();
|
|
@@ -2672,9 +2701,9 @@ var et = nn ? (
|
|
|
2672
2701
|
) : (
|
|
2673
2702
|
// Ponyfill
|
|
2674
2703
|
function(t) {
|
|
2675
|
-
return t.replace(
|
|
2704
|
+
return t.replace(rn, "");
|
|
2676
2705
|
}
|
|
2677
|
-
),
|
|
2706
|
+
), dn = ln ? (
|
|
2678
2707
|
// Native
|
|
2679
2708
|
function(t) {
|
|
2680
2709
|
return t.trimEnd();
|
|
@@ -2682,26 +2711,26 @@ var et = nn ? (
|
|
|
2682
2711
|
) : (
|
|
2683
2712
|
// Ponyfill
|
|
2684
2713
|
function(t) {
|
|
2685
|
-
return t.replace(
|
|
2714
|
+
return t.replace(nn, "");
|
|
2686
2715
|
}
|
|
2687
2716
|
);
|
|
2688
|
-
function
|
|
2717
|
+
function Ut(e, t) {
|
|
2689
2718
|
return new RegExp(e, t);
|
|
2690
2719
|
}
|
|
2691
2720
|
var Re;
|
|
2692
2721
|
if (Me) {
|
|
2693
|
-
var
|
|
2722
|
+
var it = Ut("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2694
2723
|
Re = function(t, r) {
|
|
2695
2724
|
var n;
|
|
2696
|
-
|
|
2697
|
-
var i =
|
|
2725
|
+
it.lastIndex = r;
|
|
2726
|
+
var i = it.exec(t);
|
|
2698
2727
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2699
2728
|
};
|
|
2700
2729
|
} else
|
|
2701
2730
|
Re = function(t, r) {
|
|
2702
2731
|
for (var n = []; ; ) {
|
|
2703
|
-
var i =
|
|
2704
|
-
if (i === void 0 ||
|
|
2732
|
+
var i = Rt(t, r);
|
|
2733
|
+
if (i === void 0 || Gt(i) || _n(i))
|
|
2705
2734
|
break;
|
|
2706
2735
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2707
2736
|
}
|
|
@@ -2789,7 +2818,7 @@ var pn = (
|
|
|
2789
2818
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
2790
2819
|
}, e.prototype.parseTagName = function() {
|
|
2791
2820
|
var t = this.offset();
|
|
2792
|
-
for (this.bump(); !this.isEOF() &&
|
|
2821
|
+
for (this.bump(); !this.isEOF() && yn(this.char()); )
|
|
2793
2822
|
this.bump();
|
|
2794
2823
|
return this.message.slice(t, this.offset());
|
|
2795
2824
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2818,7 +2847,7 @@ var pn = (
|
|
|
2818
2847
|
};
|
|
2819
2848
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2820
2849
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2821
|
-
!
|
|
2850
|
+
!bn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2822
2851
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2823
2852
|
if (this.isEOF() || this.char() !== 39)
|
|
2824
2853
|
return null;
|
|
@@ -2905,18 +2934,18 @@ var pn = (
|
|
|
2905
2934
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2906
2935
|
if (c.err)
|
|
2907
2936
|
return c;
|
|
2908
|
-
var f =
|
|
2937
|
+
var f = dn(c.val);
|
|
2909
2938
|
if (f.length === 0)
|
|
2910
2939
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2911
|
-
var
|
|
2912
|
-
u = { style: f, styleLocation:
|
|
2940
|
+
var d = _(h, this.clonePosition());
|
|
2941
|
+
u = { style: f, styleLocation: d };
|
|
2913
2942
|
}
|
|
2914
|
-
var
|
|
2915
|
-
if (
|
|
2916
|
-
return
|
|
2943
|
+
var p = this.tryParseArgumentClose(i);
|
|
2944
|
+
if (p.err)
|
|
2945
|
+
return p;
|
|
2917
2946
|
var g = _(i, this.clonePosition());
|
|
2918
|
-
if (u &&
|
|
2919
|
-
var x =
|
|
2947
|
+
if (u && rt(u?.style, "::", 0)) {
|
|
2948
|
+
var x = mn(u.style.slice(2));
|
|
2920
2949
|
if (a === "number") {
|
|
2921
2950
|
var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
|
|
2922
2951
|
return c.err ? c : {
|
|
@@ -2927,12 +2956,12 @@ var pn = (
|
|
|
2927
2956
|
if (x.length === 0)
|
|
2928
2957
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
2929
2958
|
var m = x;
|
|
2930
|
-
this.locale && (m =
|
|
2959
|
+
this.locale && (m = en(x, this.locale));
|
|
2931
2960
|
var f = {
|
|
2932
2961
|
type: Q.dateTime,
|
|
2933
2962
|
pattern: m,
|
|
2934
2963
|
location: u.styleLocation,
|
|
2935
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2964
|
+
parsedOptions: this.shouldParseSkeletons ? Wr(m) : {}
|
|
2936
2965
|
}, C = a === "date" ? T.date : T.time;
|
|
2937
2966
|
return {
|
|
2938
2967
|
val: { type: C, value: n, location: g, style: f },
|
|
@@ -2953,9 +2982,9 @@ var pn = (
|
|
|
2953
2982
|
case "plural":
|
|
2954
2983
|
case "selectordinal":
|
|
2955
2984
|
case "select": {
|
|
2956
|
-
var
|
|
2985
|
+
var S = this.clonePosition();
|
|
2957
2986
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2958
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(
|
|
2987
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, E({}, S)));
|
|
2959
2988
|
this.bumpSpace();
|
|
2960
2989
|
var P = this.parseIdentifierIfPossible(), w = 0;
|
|
2961
2990
|
if (a !== "select" && P.value === "offset") {
|
|
@@ -2967,18 +2996,18 @@ var pn = (
|
|
|
2967
2996
|
return c;
|
|
2968
2997
|
this.bumpSpace(), P = this.parseIdentifierIfPossible(), w = c.val;
|
|
2969
2998
|
}
|
|
2970
|
-
var
|
|
2971
|
-
if (
|
|
2972
|
-
return
|
|
2973
|
-
var
|
|
2974
|
-
if (
|
|
2975
|
-
return
|
|
2999
|
+
var A = this.tryParsePluralOrSelectOptions(t, a, r, P);
|
|
3000
|
+
if (A.err)
|
|
3001
|
+
return A;
|
|
3002
|
+
var p = this.tryParseArgumentClose(i);
|
|
3003
|
+
if (p.err)
|
|
3004
|
+
return p;
|
|
2976
3005
|
var N = _(i, this.clonePosition());
|
|
2977
3006
|
return a === "select" ? {
|
|
2978
3007
|
val: {
|
|
2979
3008
|
type: T.select,
|
|
2980
3009
|
value: n,
|
|
2981
|
-
options:
|
|
3010
|
+
options: nt(A.val),
|
|
2982
3011
|
location: N
|
|
2983
3012
|
},
|
|
2984
3013
|
err: null
|
|
@@ -2986,7 +3015,7 @@ var pn = (
|
|
|
2986
3015
|
val: {
|
|
2987
3016
|
type: T.plural,
|
|
2988
3017
|
value: n,
|
|
2989
|
-
options:
|
|
3018
|
+
options: nt(A.val),
|
|
2990
3019
|
offset: w,
|
|
2991
3020
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2992
3021
|
location: N
|
|
@@ -3037,7 +3066,7 @@ var pn = (
|
|
|
3037
3066
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3038
3067
|
var n = [];
|
|
3039
3068
|
try {
|
|
3040
|
-
n =
|
|
3069
|
+
n = Qr(t);
|
|
3041
3070
|
} catch {
|
|
3042
3071
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3043
3072
|
}
|
|
@@ -3046,7 +3075,7 @@ var pn = (
|
|
|
3046
3075
|
type: Q.number,
|
|
3047
3076
|
tokens: n,
|
|
3048
3077
|
location: r,
|
|
3049
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3078
|
+
parsedOptions: this.shouldParseSkeletons ? Kr(n) : {}
|
|
3050
3079
|
},
|
|
3051
3080
|
err: null
|
|
3052
3081
|
};
|
|
@@ -3065,20 +3094,20 @@ var pn = (
|
|
|
3065
3094
|
if (l.has(u))
|
|
3066
3095
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3067
3096
|
u === "other" && (o = !0), this.bumpSpace();
|
|
3068
|
-
var
|
|
3097
|
+
var d = this.clonePosition();
|
|
3069
3098
|
if (!this.bumpIf("{"))
|
|
3070
3099
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3071
|
-
var
|
|
3072
|
-
if (
|
|
3073
|
-
return
|
|
3074
|
-
var g = this.tryParseArgumentClose(
|
|
3100
|
+
var p = this.parseMessage(t + 1, r, n);
|
|
3101
|
+
if (p.err)
|
|
3102
|
+
return p;
|
|
3103
|
+
var g = this.tryParseArgumentClose(d);
|
|
3075
3104
|
if (g.err)
|
|
3076
3105
|
return g;
|
|
3077
3106
|
a.push([
|
|
3078
3107
|
u,
|
|
3079
3108
|
{
|
|
3080
|
-
value:
|
|
3081
|
-
location: _(
|
|
3109
|
+
value: p.val,
|
|
3110
|
+
location: _(d, this.clonePosition())
|
|
3082
3111
|
}
|
|
3083
3112
|
]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
|
|
3084
3113
|
}
|
|
@@ -3094,7 +3123,7 @@ var pn = (
|
|
|
3094
3123
|
break;
|
|
3095
3124
|
}
|
|
3096
3125
|
var l = _(i, this.clonePosition());
|
|
3097
|
-
return s ? (o *= n,
|
|
3126
|
+
return s ? (o *= n, cn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3098
3127
|
}, e.prototype.offset = function() {
|
|
3099
3128
|
return this.position.offset;
|
|
3100
3129
|
}, e.prototype.isEOF = function() {
|
|
@@ -3109,7 +3138,7 @@ var pn = (
|
|
|
3109
3138
|
var t = this.position.offset;
|
|
3110
3139
|
if (t >= this.message.length)
|
|
3111
3140
|
throw Error("out of bound");
|
|
3112
|
-
var r =
|
|
3141
|
+
var r = Rt(this.message, t);
|
|
3113
3142
|
if (r === void 0)
|
|
3114
3143
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3115
3144
|
return r;
|
|
@@ -3128,7 +3157,7 @@ var pn = (
|
|
|
3128
3157
|
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);
|
|
3129
3158
|
}
|
|
3130
3159
|
}, e.prototype.bumpIf = function(t) {
|
|
3131
|
-
if (
|
|
3160
|
+
if (rt(this.message, t, this.offset())) {
|
|
3132
3161
|
for (var r = 0; r < t.length; r++)
|
|
3133
3162
|
this.bump();
|
|
3134
3163
|
return !0;
|
|
@@ -3150,7 +3179,7 @@ var pn = (
|
|
|
3150
3179
|
break;
|
|
3151
3180
|
}
|
|
3152
3181
|
}, e.prototype.bumpSpace = function() {
|
|
3153
|
-
for (; !this.isEOF() &&
|
|
3182
|
+
for (; !this.isEOF() && Gt(this.char()); )
|
|
3154
3183
|
this.bump();
|
|
3155
3184
|
}, e.prototype.peek = function() {
|
|
3156
3185
|
if (this.isEOF())
|
|
@@ -3163,27 +3192,28 @@ var pn = (
|
|
|
3163
3192
|
function Ue(e) {
|
|
3164
3193
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3165
3194
|
}
|
|
3166
|
-
function
|
|
3195
|
+
function bn(e) {
|
|
3167
3196
|
return Ue(e) || e === 47;
|
|
3168
3197
|
}
|
|
3169
|
-
function
|
|
3198
|
+
function yn(e) {
|
|
3170
3199
|
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;
|
|
3171
3200
|
}
|
|
3172
|
-
function
|
|
3201
|
+
function Gt(e) {
|
|
3173
3202
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3174
3203
|
}
|
|
3175
|
-
function
|
|
3204
|
+
function _n(e) {
|
|
3176
3205
|
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;
|
|
3177
3206
|
}
|
|
3178
3207
|
function Ge(e) {
|
|
3179
3208
|
e.forEach(function(t) {
|
|
3180
|
-
if (delete t.location,
|
|
3209
|
+
if (delete t.location, wt(t) || Ot(t))
|
|
3181
3210
|
for (var r in t.options)
|
|
3182
3211
|
delete t.options[r].location, Ge(t.options[r].value);
|
|
3183
|
-
else
|
|
3212
|
+
else
|
|
3213
|
+
At(t) && Nt(t.style) || (St(t) || Bt(t)) && Ie(t.style) ? delete t.style.location : Pt(t) && Ge(t.children);
|
|
3184
3214
|
});
|
|
3185
3215
|
}
|
|
3186
|
-
function
|
|
3216
|
+
function En(e, t) {
|
|
3187
3217
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3188
3218
|
var r = new pn(e, t).parse();
|
|
3189
3219
|
if (r.err) {
|
|
@@ -3208,7 +3238,7 @@ var Ee = (
|
|
|
3208
3238
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3209
3239
|
}, t;
|
|
3210
3240
|
}(Error)
|
|
3211
|
-
),
|
|
3241
|
+
), st = (
|
|
3212
3242
|
/** @class */
|
|
3213
3243
|
function(e) {
|
|
3214
3244
|
_e(t, e);
|
|
@@ -3217,7 +3247,7 @@ var Ee = (
|
|
|
3217
3247
|
}
|
|
3218
3248
|
return t;
|
|
3219
3249
|
}(Ee)
|
|
3220
|
-
),
|
|
3250
|
+
), xn = (
|
|
3221
3251
|
/** @class */
|
|
3222
3252
|
function(e) {
|
|
3223
3253
|
_e(t, e);
|
|
@@ -3226,7 +3256,7 @@ var Ee = (
|
|
|
3226
3256
|
}
|
|
3227
3257
|
return t;
|
|
3228
3258
|
}(Ee)
|
|
3229
|
-
),
|
|
3259
|
+
), vn = (
|
|
3230
3260
|
/** @class */
|
|
3231
3261
|
function(e) {
|
|
3232
3262
|
_e(t, e);
|
|
@@ -3239,17 +3269,17 @@ var Ee = (
|
|
|
3239
3269
|
(function(e) {
|
|
3240
3270
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3241
3271
|
})(O || (O = {}));
|
|
3242
|
-
function
|
|
3272
|
+
function Tn(e) {
|
|
3243
3273
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3244
3274
|
var n = t[t.length - 1];
|
|
3245
3275
|
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3246
3276
|
}, []);
|
|
3247
3277
|
}
|
|
3248
|
-
function
|
|
3278
|
+
function Cn(e) {
|
|
3249
3279
|
return typeof e == "function";
|
|
3250
3280
|
}
|
|
3251
3281
|
function ge(e, t, r, n, i, s, o) {
|
|
3252
|
-
if (e.length === 1 &&
|
|
3282
|
+
if (e.length === 1 && Ye(e[0]))
|
|
3253
3283
|
return [
|
|
3254
3284
|
{
|
|
3255
3285
|
type: O.literal,
|
|
@@ -3258,14 +3288,14 @@ function ge(e, t, r, n, i, s, o) {
|
|
|
3258
3288
|
];
|
|
3259
3289
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3260
3290
|
var h = u[l];
|
|
3261
|
-
if (
|
|
3291
|
+
if (Ye(h)) {
|
|
3262
3292
|
a.push({
|
|
3263
3293
|
type: O.literal,
|
|
3264
3294
|
value: h.value
|
|
3265
3295
|
});
|
|
3266
3296
|
continue;
|
|
3267
3297
|
}
|
|
3268
|
-
if (
|
|
3298
|
+
if (Xr(h)) {
|
|
3269
3299
|
typeof s == "number" && a.push({
|
|
3270
3300
|
type: O.literal,
|
|
3271
3301
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3274,44 +3304,44 @@ function ge(e, t, r, n, i, s, o) {
|
|
|
3274
3304
|
}
|
|
3275
3305
|
var c = h.value;
|
|
3276
3306
|
if (!(i && c in i))
|
|
3277
|
-
throw new
|
|
3307
|
+
throw new vn(c, o);
|
|
3278
3308
|
var f = i[c];
|
|
3279
|
-
if (
|
|
3309
|
+
if (Vr(h)) {
|
|
3280
3310
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3281
3311
|
type: typeof f == "string" ? O.literal : O.object,
|
|
3282
3312
|
value: f
|
|
3283
3313
|
});
|
|
3284
3314
|
continue;
|
|
3285
3315
|
}
|
|
3286
|
-
if (
|
|
3287
|
-
var
|
|
3316
|
+
if (St(h)) {
|
|
3317
|
+
var d = typeof h.style == "string" ? n.date[h.style] : Ie(h.style) ? h.style.parsedOptions : void 0;
|
|
3288
3318
|
a.push({
|
|
3289
3319
|
type: O.literal,
|
|
3290
|
-
value: r.getDateTimeFormat(t,
|
|
3320
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3291
3321
|
});
|
|
3292
3322
|
continue;
|
|
3293
3323
|
}
|
|
3294
|
-
if (
|
|
3295
|
-
var
|
|
3324
|
+
if (Bt(h)) {
|
|
3325
|
+
var d = typeof h.style == "string" ? n.time[h.style] : Ie(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3296
3326
|
a.push({
|
|
3297
3327
|
type: O.literal,
|
|
3298
|
-
value: r.getDateTimeFormat(t,
|
|
3328
|
+
value: r.getDateTimeFormat(t, d).format(f)
|
|
3299
3329
|
});
|
|
3300
3330
|
continue;
|
|
3301
3331
|
}
|
|
3302
|
-
if (
|
|
3303
|
-
var
|
|
3304
|
-
|
|
3332
|
+
if (At(h)) {
|
|
3333
|
+
var d = typeof h.style == "string" ? n.number[h.style] : Nt(h.style) ? h.style.parsedOptions : void 0;
|
|
3334
|
+
d && d.scale && (f = f * (d.scale || 1)), a.push({
|
|
3305
3335
|
type: O.literal,
|
|
3306
|
-
value: r.getNumberFormat(t,
|
|
3336
|
+
value: r.getNumberFormat(t, d).format(f)
|
|
3307
3337
|
});
|
|
3308
3338
|
continue;
|
|
3309
3339
|
}
|
|
3310
|
-
if (
|
|
3311
|
-
var
|
|
3312
|
-
if (!
|
|
3313
|
-
throw new
|
|
3314
|
-
var m = ge(
|
|
3340
|
+
if (Pt(h)) {
|
|
3341
|
+
var p = h.children, g = h.value, x = i[g];
|
|
3342
|
+
if (!Cn(x))
|
|
3343
|
+
throw new xn(g, "function", o);
|
|
3344
|
+
var m = ge(p, t, r, n, i, s), C = x(m.map(function(w) {
|
|
3315
3345
|
return w.value;
|
|
3316
3346
|
}));
|
|
3317
3347
|
Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(w) {
|
|
@@ -3321,39 +3351,39 @@ function ge(e, t, r, n, i, s, o) {
|
|
|
3321
3351
|
};
|
|
3322
3352
|
}));
|
|
3323
3353
|
}
|
|
3324
|
-
if (
|
|
3325
|
-
var
|
|
3326
|
-
if (!
|
|
3327
|
-
throw new
|
|
3328
|
-
a.push.apply(a, ge(
|
|
3354
|
+
if (wt(h)) {
|
|
3355
|
+
var S = h.options[f] || h.options.other;
|
|
3356
|
+
if (!S)
|
|
3357
|
+
throw new st(h.value, f, Object.keys(h.options), o);
|
|
3358
|
+
a.push.apply(a, ge(S.value, t, r, n, i));
|
|
3329
3359
|
continue;
|
|
3330
3360
|
}
|
|
3331
|
-
if (
|
|
3332
|
-
var
|
|
3333
|
-
if (!
|
|
3361
|
+
if (Ot(h)) {
|
|
3362
|
+
var S = h.options["=".concat(f)];
|
|
3363
|
+
if (!S) {
|
|
3334
3364
|
if (!Intl.PluralRules)
|
|
3335
3365
|
throw new Ee(`Intl.PluralRules is not available in this environment.
|
|
3336
3366
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3337
3367
|
`, J.MISSING_INTL_API, o);
|
|
3338
3368
|
var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3339
|
-
|
|
3369
|
+
S = h.options[P] || h.options.other;
|
|
3340
3370
|
}
|
|
3341
|
-
if (!
|
|
3342
|
-
throw new
|
|
3343
|
-
a.push.apply(a, ge(
|
|
3371
|
+
if (!S)
|
|
3372
|
+
throw new st(h.value, f, Object.keys(h.options), o);
|
|
3373
|
+
a.push.apply(a, ge(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3344
3374
|
continue;
|
|
3345
3375
|
}
|
|
3346
3376
|
}
|
|
3347
|
-
return
|
|
3377
|
+
return Tn(a);
|
|
3348
3378
|
}
|
|
3349
|
-
function
|
|
3379
|
+
function Hn(e, t) {
|
|
3350
3380
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3351
3381
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3352
3382
|
}, {})) : e;
|
|
3353
3383
|
}
|
|
3354
|
-
function
|
|
3384
|
+
function An(e, t) {
|
|
3355
3385
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3356
|
-
return r[n] =
|
|
3386
|
+
return r[n] = Hn(e[n], t[n]), r;
|
|
3357
3387
|
}, E({}, e)) : e;
|
|
3358
3388
|
}
|
|
3359
3389
|
function Be(e) {
|
|
@@ -3382,7 +3412,7 @@ function Sn(e) {
|
|
|
3382
3412
|
return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3383
3413
|
}, {
|
|
3384
3414
|
cache: Be(e.number),
|
|
3385
|
-
strategy:
|
|
3415
|
+
strategy: Ae.variadic
|
|
3386
3416
|
}),
|
|
3387
3417
|
getDateTimeFormat: He(function() {
|
|
3388
3418
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
@@ -3390,7 +3420,7 @@ function Sn(e) {
|
|
|
3390
3420
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3391
3421
|
}, {
|
|
3392
3422
|
cache: Be(e.dateTime),
|
|
3393
|
-
strategy:
|
|
3423
|
+
strategy: Ae.variadic
|
|
3394
3424
|
}),
|
|
3395
3425
|
getPluralRules: He(function() {
|
|
3396
3426
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
@@ -3398,11 +3428,11 @@ function Sn(e) {
|
|
|
3398
3428
|
return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
|
|
3399
3429
|
}, {
|
|
3400
3430
|
cache: Be(e.pluralRules),
|
|
3401
|
-
strategy:
|
|
3431
|
+
strategy: Ae.variadic
|
|
3402
3432
|
})
|
|
3403
3433
|
};
|
|
3404
3434
|
}
|
|
3405
|
-
var
|
|
3435
|
+
var Bn = (
|
|
3406
3436
|
/** @class */
|
|
3407
3437
|
function() {
|
|
3408
3438
|
function e(t, r, n, i) {
|
|
@@ -3434,13 +3464,13 @@ var An = (
|
|
|
3434
3464
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3435
3465
|
var o = i || {};
|
|
3436
3466
|
o.formatters;
|
|
3437
|
-
var a =
|
|
3467
|
+
var a = Rr(o, ["formatters"]);
|
|
3438
3468
|
this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
|
|
3439
3469
|
} else
|
|
3440
3470
|
this.ast = t;
|
|
3441
3471
|
if (!Array.isArray(this.ast))
|
|
3442
3472
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3443
|
-
this.formats =
|
|
3473
|
+
this.formats = An(e.formats, n), this.formatters = i && i.formatters || Sn(this.formatterCache);
|
|
3444
3474
|
}
|
|
3445
3475
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3446
3476
|
get: function() {
|
|
@@ -3453,7 +3483,7 @@ var An = (
|
|
|
3453
3483
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3454
3484
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3455
3485
|
}
|
|
3456
|
-
}, e.__parse =
|
|
3486
|
+
}, e.__parse = En, e.formats = {
|
|
3457
3487
|
number: {
|
|
3458
3488
|
integer: {
|
|
3459
3489
|
maximumFractionDigits: 0
|
|
@@ -3514,7 +3544,7 @@ var An = (
|
|
|
3514
3544
|
}, e;
|
|
3515
3545
|
}()
|
|
3516
3546
|
);
|
|
3517
|
-
function
|
|
3547
|
+
function wn(e, t) {
|
|
3518
3548
|
if (t == null)
|
|
3519
3549
|
return;
|
|
3520
3550
|
if (t in e)
|
|
@@ -3535,60 +3565,60 @@ function Bn(e, t) {
|
|
|
3535
3565
|
n = void 0;
|
|
3536
3566
|
return n;
|
|
3537
3567
|
}
|
|
3538
|
-
const U = {},
|
|
3568
|
+
const U = {}, On = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), Dt = (e, t) => {
|
|
3539
3569
|
if (t == null)
|
|
3540
3570
|
return;
|
|
3541
3571
|
if (t in U && e in U[t])
|
|
3542
3572
|
return U[t][e];
|
|
3543
3573
|
const r = xe(t);
|
|
3544
3574
|
for (let n = 0; n < r.length; n++) {
|
|
3545
|
-
const i = r[n], s =
|
|
3575
|
+
const i = r[n], s = Nn(i, e);
|
|
3546
3576
|
if (s)
|
|
3547
|
-
return
|
|
3577
|
+
return On(e, t, s);
|
|
3548
3578
|
}
|
|
3549
3579
|
};
|
|
3550
|
-
let
|
|
3580
|
+
let Xe;
|
|
3551
3581
|
const ae = ye({});
|
|
3552
|
-
function
|
|
3553
|
-
return
|
|
3582
|
+
function Pn(e) {
|
|
3583
|
+
return Xe[e] || null;
|
|
3554
3584
|
}
|
|
3555
|
-
function
|
|
3556
|
-
return e in
|
|
3585
|
+
function Ft(e) {
|
|
3586
|
+
return e in Xe;
|
|
3557
3587
|
}
|
|
3558
|
-
function
|
|
3559
|
-
if (!
|
|
3588
|
+
function Nn(e, t) {
|
|
3589
|
+
if (!Ft(e))
|
|
3560
3590
|
return null;
|
|
3561
|
-
const r =
|
|
3562
|
-
return
|
|
3591
|
+
const r = Pn(e);
|
|
3592
|
+
return wn(r, t);
|
|
3563
3593
|
}
|
|
3564
|
-
function
|
|
3594
|
+
function Ln(e) {
|
|
3565
3595
|
if (e == null)
|
|
3566
3596
|
return;
|
|
3567
3597
|
const t = xe(e);
|
|
3568
3598
|
for (let r = 0; r < t.length; r++) {
|
|
3569
3599
|
const n = t[r];
|
|
3570
|
-
if (
|
|
3600
|
+
if (Ft(n))
|
|
3571
3601
|
return n;
|
|
3572
3602
|
}
|
|
3573
3603
|
}
|
|
3574
|
-
function
|
|
3575
|
-
delete U[e], ae.update((r) => (r[e] =
|
|
3604
|
+
function jt(e, ...t) {
|
|
3605
|
+
delete U[e], ae.update((r) => (r[e] = $r.all([r[e] || {}, ...t]), r));
|
|
3576
3606
|
}
|
|
3577
3607
|
Y(
|
|
3578
3608
|
[ae],
|
|
3579
3609
|
([e]) => Object.keys(e)
|
|
3580
3610
|
);
|
|
3581
|
-
ae.subscribe((e) =>
|
|
3611
|
+
ae.subscribe((e) => Xe = e);
|
|
3582
3612
|
const me = {};
|
|
3583
|
-
function
|
|
3613
|
+
function In(e, t) {
|
|
3584
3614
|
me[e].delete(t), me[e].size === 0 && delete me[e];
|
|
3585
3615
|
}
|
|
3586
|
-
function
|
|
3616
|
+
function kt(e) {
|
|
3587
3617
|
return me[e];
|
|
3588
3618
|
}
|
|
3589
|
-
function
|
|
3619
|
+
function Mn(e) {
|
|
3590
3620
|
return xe(e).map((t) => {
|
|
3591
|
-
const r =
|
|
3621
|
+
const r = kt(t);
|
|
3592
3622
|
return [t, r ? [...r] : []];
|
|
3593
3623
|
}).filter(([, t]) => t.length > 0);
|
|
3594
3624
|
}
|
|
@@ -3596,31 +3626,31 @@ function De(e) {
|
|
|
3596
3626
|
return e == null ? !1 : xe(e).some(
|
|
3597
3627
|
(t) => {
|
|
3598
3628
|
var r;
|
|
3599
|
-
return (r =
|
|
3629
|
+
return (r = kt(t)) == null ? void 0 : r.size;
|
|
3600
3630
|
}
|
|
3601
3631
|
);
|
|
3602
3632
|
}
|
|
3603
|
-
function
|
|
3633
|
+
function $n(e, t) {
|
|
3604
3634
|
return Promise.all(
|
|
3605
|
-
t.map((n) => (
|
|
3606
|
-
).then((n) =>
|
|
3635
|
+
t.map((n) => (In(e, n), n().then((i) => i.default || i)))
|
|
3636
|
+
).then((n) => jt(e, ...n));
|
|
3607
3637
|
}
|
|
3608
3638
|
const te = {};
|
|
3609
|
-
function
|
|
3639
|
+
function Vt(e) {
|
|
3610
3640
|
if (!De(e))
|
|
3611
3641
|
return e in te ? te[e] : Promise.resolve();
|
|
3612
|
-
const t =
|
|
3642
|
+
const t = Mn(e);
|
|
3613
3643
|
return te[e] = Promise.all(
|
|
3614
3644
|
t.map(
|
|
3615
|
-
([r, n]) =>
|
|
3645
|
+
([r, n]) => $n(r, n)
|
|
3616
3646
|
)
|
|
3617
3647
|
).then(() => {
|
|
3618
3648
|
if (De(e))
|
|
3619
|
-
return
|
|
3649
|
+
return Vt(e);
|
|
3620
3650
|
delete te[e];
|
|
3621
3651
|
}), te[e];
|
|
3622
3652
|
}
|
|
3623
|
-
const
|
|
3653
|
+
const Rn = {
|
|
3624
3654
|
number: {
|
|
3625
3655
|
scientific: { notation: "scientific" },
|
|
3626
3656
|
engineering: { notation: "engineering" },
|
|
@@ -3649,57 +3679,57 @@ const $n = {
|
|
|
3649
3679
|
timeZoneName: "short"
|
|
3650
3680
|
}
|
|
3651
3681
|
}
|
|
3652
|
-
},
|
|
3682
|
+
}, Un = {
|
|
3653
3683
|
fallbackLocale: null,
|
|
3654
3684
|
loadingDelay: 200,
|
|
3655
|
-
formats:
|
|
3685
|
+
formats: Rn,
|
|
3656
3686
|
warnOnMissingMessages: !0,
|
|
3657
3687
|
handleMissingMessage: void 0,
|
|
3658
3688
|
ignoreTag: !0
|
|
3659
|
-
},
|
|
3689
|
+
}, Gn = Un;
|
|
3660
3690
|
function q() {
|
|
3661
|
-
return
|
|
3691
|
+
return Gn;
|
|
3662
3692
|
}
|
|
3663
3693
|
const we = ye(!1);
|
|
3664
|
-
var
|
|
3694
|
+
var Dn = Object.defineProperty, Fn = Object.defineProperties, jn = Object.getOwnPropertyDescriptors, ot = Object.getOwnPropertySymbols, kn = Object.prototype.hasOwnProperty, Vn = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xn = (e, t) => {
|
|
3665
3695
|
for (var r in t || (t = {}))
|
|
3666
|
-
|
|
3667
|
-
if (
|
|
3668
|
-
for (var r of
|
|
3669
|
-
|
|
3696
|
+
kn.call(t, r) && at(e, r, t[r]);
|
|
3697
|
+
if (ot)
|
|
3698
|
+
for (var r of ot(t))
|
|
3699
|
+
Vn.call(t, r) && at(e, r, t[r]);
|
|
3670
3700
|
return e;
|
|
3671
|
-
},
|
|
3701
|
+
}, zn = (e, t) => Fn(e, jn(t));
|
|
3672
3702
|
let Fe;
|
|
3673
|
-
const
|
|
3674
|
-
function
|
|
3703
|
+
const pe = ye(null);
|
|
3704
|
+
function ut(e) {
|
|
3675
3705
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3676
3706
|
}
|
|
3677
3707
|
function xe(e, t = q().fallbackLocale) {
|
|
3678
|
-
const r =
|
|
3679
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3708
|
+
const r = ut(e);
|
|
3709
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ut(t)])] : r;
|
|
3680
3710
|
}
|
|
3681
3711
|
function k() {
|
|
3682
3712
|
return Fe ?? void 0;
|
|
3683
3713
|
}
|
|
3684
|
-
|
|
3714
|
+
pe.subscribe((e) => {
|
|
3685
3715
|
Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3686
3716
|
});
|
|
3687
|
-
const
|
|
3688
|
-
if (e &&
|
|
3717
|
+
const Wn = (e) => {
|
|
3718
|
+
if (e && Ln(e) && De(e)) {
|
|
3689
3719
|
const { loadingDelay: t } = q();
|
|
3690
3720
|
let r;
|
|
3691
3721
|
return typeof window < "u" && k() != null && t ? r = window.setTimeout(
|
|
3692
3722
|
() => we.set(!0),
|
|
3693
3723
|
t
|
|
3694
|
-
) : we.set(!0),
|
|
3695
|
-
|
|
3724
|
+
) : we.set(!0), Vt(e).then(() => {
|
|
3725
|
+
pe.set(e);
|
|
3696
3726
|
}).finally(() => {
|
|
3697
3727
|
clearTimeout(r), we.set(!1);
|
|
3698
3728
|
});
|
|
3699
3729
|
}
|
|
3700
|
-
return
|
|
3701
|
-
}, K = Xn(
|
|
3702
|
-
set:
|
|
3730
|
+
return pe.set(e);
|
|
3731
|
+
}, K = zn(Xn({}, pe), {
|
|
3732
|
+
set: Wn
|
|
3703
3733
|
}), ve = (e) => {
|
|
3704
3734
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3705
3735
|
return (n) => {
|
|
@@ -3707,20 +3737,20 @@ const zn = (e) => {
|
|
|
3707
3737
|
return i in t ? t[i] : t[i] = e(n);
|
|
3708
3738
|
};
|
|
3709
3739
|
};
|
|
3710
|
-
var
|
|
3740
|
+
var Zn = Object.defineProperty, be = Object.getOwnPropertySymbols, Xt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
|
|
3711
3741
|
for (var r in t || (t = {}))
|
|
3712
|
-
|
|
3742
|
+
Xt.call(t, r) && ht(e, r, t[r]);
|
|
3713
3743
|
if (be)
|
|
3714
3744
|
for (var r of be(t))
|
|
3715
|
-
|
|
3745
|
+
zt.call(t, r) && ht(e, r, t[r]);
|
|
3716
3746
|
return e;
|
|
3717
3747
|
}, ee = (e, t) => {
|
|
3718
3748
|
var r = {};
|
|
3719
3749
|
for (var n in e)
|
|
3720
|
-
|
|
3750
|
+
Xt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3721
3751
|
if (e != null && be)
|
|
3722
3752
|
for (var n of be(e))
|
|
3723
|
-
t.indexOf(n) < 0 &&
|
|
3753
|
+
t.indexOf(n) < 0 && zt.call(e, n) && (r[n] = e[n]);
|
|
3724
3754
|
return r;
|
|
3725
3755
|
};
|
|
3726
3756
|
const se = (e, t) => {
|
|
@@ -3728,21 +3758,21 @@ const se = (e, t) => {
|
|
|
3728
3758
|
if (e in r && t in r[e])
|
|
3729
3759
|
return r[e][t];
|
|
3730
3760
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3731
|
-
},
|
|
3761
|
+
}, Qn = ve(
|
|
3732
3762
|
(e) => {
|
|
3733
3763
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
3734
3764
|
if (r == null)
|
|
3735
3765
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3736
3766
|
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
3737
3767
|
}
|
|
3738
|
-
),
|
|
3768
|
+
), Jn = ve(
|
|
3739
3769
|
(e) => {
|
|
3740
3770
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
3741
3771
|
if (r == null)
|
|
3742
3772
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3743
3773
|
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3744
3774
|
}
|
|
3745
|
-
),
|
|
3775
|
+
), qn = ve(
|
|
3746
3776
|
(e) => {
|
|
3747
3777
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
3748
3778
|
if (r == null)
|
|
@@ -3751,33 +3781,33 @@ const se = (e, t) => {
|
|
|
3751
3781
|
);
|
|
3752
3782
|
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3753
3783
|
}
|
|
3754
|
-
),
|
|
3784
|
+
), Yn = (e = {}) => {
|
|
3755
3785
|
var t = e, {
|
|
3756
3786
|
locale: r = k()
|
|
3757
3787
|
} = t, n = ee(t, [
|
|
3758
3788
|
"locale"
|
|
3759
3789
|
]);
|
|
3760
|
-
return
|
|
3761
|
-
},
|
|
3790
|
+
return Qn(ze({ locale: r }, n));
|
|
3791
|
+
}, Kn = (e = {}) => {
|
|
3762
3792
|
var t = e, {
|
|
3763
3793
|
locale: r = k()
|
|
3764
3794
|
} = t, n = ee(t, [
|
|
3765
3795
|
"locale"
|
|
3766
3796
|
]);
|
|
3767
|
-
return
|
|
3768
|
-
},
|
|
3797
|
+
return Jn(ze({ locale: r }, n));
|
|
3798
|
+
}, ei = (e = {}) => {
|
|
3769
3799
|
var t = e, {
|
|
3770
3800
|
locale: r = k()
|
|
3771
3801
|
} = t, n = ee(t, [
|
|
3772
3802
|
"locale"
|
|
3773
3803
|
]);
|
|
3774
|
-
return
|
|
3775
|
-
},
|
|
3804
|
+
return qn(ze({ locale: r }, n));
|
|
3805
|
+
}, ti = ve(
|
|
3776
3806
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3777
|
-
(e, t = k()) => new
|
|
3807
|
+
(e, t = k()) => new Bn(e, t, q().formats, {
|
|
3778
3808
|
ignoreTag: q().ignoreTag
|
|
3779
3809
|
})
|
|
3780
|
-
),
|
|
3810
|
+
), ri = (e, t = {}) => {
|
|
3781
3811
|
var r, n, i, s;
|
|
3782
3812
|
let o = t;
|
|
3783
3813
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -3790,7 +3820,7 @@ const se = (e, t) => {
|
|
|
3790
3820
|
throw new Error(
|
|
3791
3821
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3792
3822
|
);
|
|
3793
|
-
let h =
|
|
3823
|
+
let h = Dt(e, l);
|
|
3794
3824
|
if (!h)
|
|
3795
3825
|
h = (s = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3796
3826
|
else if (typeof h != "string")
|
|
@@ -3801,7 +3831,7 @@ const se = (e, t) => {
|
|
|
3801
3831
|
return h;
|
|
3802
3832
|
let c = h;
|
|
3803
3833
|
try {
|
|
3804
|
-
c =
|
|
3834
|
+
c = ti(h, l).format(a);
|
|
3805
3835
|
} catch (f) {
|
|
3806
3836
|
f instanceof Error && console.warn(
|
|
3807
3837
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3809,18 +3839,18 @@ const se = (e, t) => {
|
|
|
3809
3839
|
);
|
|
3810
3840
|
}
|
|
3811
3841
|
return c;
|
|
3812
|
-
},
|
|
3813
|
-
Y([K], () => ri);
|
|
3842
|
+
}, ni = (e, t) => ei(t).format(e), ii = (e, t) => Kn(t).format(e), si = (e, t) => Yn(t).format(e), oi = (e, t = k()) => Dt(e, t), ai = Y([K, ae], () => ri);
|
|
3814
3843
|
Y([K], () => ni);
|
|
3815
3844
|
Y([K], () => ii);
|
|
3816
|
-
Y([K
|
|
3817
|
-
|
|
3818
|
-
|
|
3845
|
+
Y([K], () => si);
|
|
3846
|
+
Y([K, ae], () => oi);
|
|
3847
|
+
function lt(e, t) {
|
|
3848
|
+
jt(e, t);
|
|
3819
3849
|
}
|
|
3820
|
-
function
|
|
3850
|
+
function ui(e) {
|
|
3821
3851
|
K.set(e);
|
|
3822
3852
|
}
|
|
3823
|
-
const
|
|
3853
|
+
const ft = {
|
|
3824
3854
|
en: {
|
|
3825
3855
|
topCategories: "Top Categories",
|
|
3826
3856
|
otherCategories: "Other Categories",
|
|
@@ -3930,18 +3960,18 @@ const ht = {
|
|
|
3930
3960
|
games: "games"
|
|
3931
3961
|
}
|
|
3932
3962
|
};
|
|
3933
|
-
function
|
|
3934
|
-
|
|
3963
|
+
function hi(e) {
|
|
3964
|
+
Yt(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
|
|
3935
3965
|
}
|
|
3936
|
-
function
|
|
3966
|
+
function ct(e, t, r) {
|
|
3937
3967
|
const n = e.slice();
|
|
3938
3968
|
return n[23] = t[r], n;
|
|
3939
3969
|
}
|
|
3940
|
-
function
|
|
3970
|
+
function gt(e, t, r) {
|
|
3941
3971
|
const n = e.slice();
|
|
3942
3972
|
return n[23] = t[r], n;
|
|
3943
3973
|
}
|
|
3944
|
-
function
|
|
3974
|
+
function li(e) {
|
|
3945
3975
|
let t, r, n = (
|
|
3946
3976
|
/*$_*/
|
|
3947
3977
|
e[5]("topCategories") + ""
|
|
@@ -3953,21 +3983,21 @@ function hi(e) {
|
|
|
3953
3983
|
e[3]
|
|
3954
3984
|
), f = [];
|
|
3955
3985
|
for (let g = 0; g < c.length; g += 1)
|
|
3956
|
-
f[g] =
|
|
3957
|
-
let
|
|
3986
|
+
f[g] = mt(gt(e, c, g));
|
|
3987
|
+
let d = le(
|
|
3958
3988
|
/*otherCategories*/
|
|
3959
3989
|
e[4]
|
|
3960
|
-
),
|
|
3961
|
-
for (let g = 0; g <
|
|
3962
|
-
|
|
3990
|
+
), p = [];
|
|
3991
|
+
for (let g = 0; g < d.length; g += 1)
|
|
3992
|
+
p[g] = dt(ct(e, d, g));
|
|
3963
3993
|
return {
|
|
3964
3994
|
c() {
|
|
3965
3995
|
t = B("div"), r = B("h4"), i = R(n), s = $();
|
|
3966
3996
|
for (let g = 0; g < f.length; g += 1)
|
|
3967
3997
|
f[g].c();
|
|
3968
3998
|
o = $(), a = B("h4"), u = R(l), h = $();
|
|
3969
|
-
for (let g = 0; g <
|
|
3970
|
-
|
|
3999
|
+
for (let g = 0; g < p.length; g += 1)
|
|
4000
|
+
p[g].c();
|
|
3971
4001
|
H(r, "class", "CategoryTitle"), H(a, "class", "CategoryTitle"), H(t, "class", "CasinoCategories");
|
|
3972
4002
|
},
|
|
3973
4003
|
m(g, x) {
|
|
@@ -3975,8 +4005,8 @@ function hi(e) {
|
|
|
3975
4005
|
for (let m = 0; m < f.length; m += 1)
|
|
3976
4006
|
f[m] && f[m].m(t, null);
|
|
3977
4007
|
v(t, o), v(t, a), v(a, u), v(t, h);
|
|
3978
|
-
for (let m = 0; m <
|
|
3979
|
-
|
|
4008
|
+
for (let m = 0; m < p.length; m += 1)
|
|
4009
|
+
p[m] && p[m].m(t, null);
|
|
3980
4010
|
},
|
|
3981
4011
|
p(g, x) {
|
|
3982
4012
|
if (x & /*$_*/
|
|
@@ -3989,8 +4019,8 @@ function hi(e) {
|
|
|
3989
4019
|
);
|
|
3990
4020
|
let m;
|
|
3991
4021
|
for (m = 0; m < c.length; m += 1) {
|
|
3992
|
-
const C =
|
|
3993
|
-
f[m] ? f[m].p(C, x) : (f[m] =
|
|
4022
|
+
const C = gt(g, c, m);
|
|
4023
|
+
f[m] ? f[m].p(C, x) : (f[m] = mt(C), f[m].c(), f[m].m(t, o));
|
|
3994
4024
|
}
|
|
3995
4025
|
for (; m < f.length; m += 1)
|
|
3996
4026
|
f[m].d(1);
|
|
@@ -4000,26 +4030,26 @@ function hi(e) {
|
|
|
4000
4030
|
32 && l !== (l = /*$_*/
|
|
4001
4031
|
g[5]("otherCategories") + "") && G(u, l), x & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
4002
4032
|
113) {
|
|
4003
|
-
|
|
4033
|
+
d = le(
|
|
4004
4034
|
/*otherCategories*/
|
|
4005
4035
|
g[4]
|
|
4006
4036
|
);
|
|
4007
4037
|
let m;
|
|
4008
|
-
for (m = 0; m <
|
|
4009
|
-
const C =
|
|
4010
|
-
|
|
4038
|
+
for (m = 0; m < d.length; m += 1) {
|
|
4039
|
+
const C = ct(g, d, m);
|
|
4040
|
+
p[m] ? p[m].p(C, x) : (p[m] = dt(C), p[m].c(), p[m].m(t, null));
|
|
4011
4041
|
}
|
|
4012
|
-
for (; m <
|
|
4013
|
-
|
|
4014
|
-
|
|
4042
|
+
for (; m < p.length; m += 1)
|
|
4043
|
+
p[m].d(1);
|
|
4044
|
+
p.length = d.length;
|
|
4015
4045
|
}
|
|
4016
4046
|
},
|
|
4017
4047
|
d(g) {
|
|
4018
|
-
g && D(t),
|
|
4048
|
+
g && D(t), Qe(f, g), Qe(p, g);
|
|
4019
4049
|
}
|
|
4020
4050
|
};
|
|
4021
4051
|
}
|
|
4022
|
-
function
|
|
4052
|
+
function fi(e) {
|
|
4023
4053
|
let t;
|
|
4024
4054
|
return {
|
|
4025
4055
|
c() {
|
|
@@ -4034,17 +4064,17 @@ function li(e) {
|
|
|
4034
4064
|
}
|
|
4035
4065
|
};
|
|
4036
4066
|
}
|
|
4037
|
-
function
|
|
4067
|
+
function mt(e) {
|
|
4038
4068
|
let t, r, n, i, s, o, a, l = (
|
|
4039
4069
|
/*category*/
|
|
4040
4070
|
e[23].name + ""
|
|
4041
4071
|
), u, h, c, f = (
|
|
4042
4072
|
/*category*/
|
|
4043
4073
|
e[23].games.count + ""
|
|
4044
|
-
),
|
|
4074
|
+
), d, p, g = (
|
|
4045
4075
|
/*$_*/
|
|
4046
4076
|
e[5]("games") + ""
|
|
4047
|
-
), x, m, C,
|
|
4077
|
+
), x, m, C, S;
|
|
4048
4078
|
function P() {
|
|
4049
4079
|
return (
|
|
4050
4080
|
/*click_handler*/
|
|
@@ -4056,47 +4086,47 @@ function ct(e) {
|
|
|
4056
4086
|
}
|
|
4057
4087
|
return {
|
|
4058
4088
|
c() {
|
|
4059
|
-
t = B("div"), r = B("img"), s = $(), o = B("div"), a = B("p"), u = R(l), h = $(), c = B("p"),
|
|
4089
|
+
t = B("div"), r = B("img"), s = $(), o = B("div"), a = B("p"), u = R(l), h = $(), c = B("p"), d = R(f), p = $(), x = R(g), de(r.src, n = /*category*/
|
|
4060
4090
|
e[23].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
|
|
4061
4091
|
e[23].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", m = "Category " + /*activecategory*/
|
|
4062
4092
|
(e[0] === /*category*/
|
|
4063
4093
|
e[23].id ? "Active" : ""));
|
|
4064
4094
|
},
|
|
4065
|
-
m(w,
|
|
4066
|
-
j(w, t,
|
|
4095
|
+
m(w, A) {
|
|
4096
|
+
j(w, t, A), v(t, r), v(t, s), v(t, o), v(o, a), v(a, u), v(o, h), v(o, c), v(c, d), v(c, p), v(c, x), C || (S = _t(t, "click", P), C = !0);
|
|
4067
4097
|
},
|
|
4068
|
-
p(w,
|
|
4069
|
-
e = w,
|
|
4070
|
-
8 && !
|
|
4071
|
-
e[23].icon) && H(r, "src", n),
|
|
4098
|
+
p(w, A) {
|
|
4099
|
+
e = w, A & /*topCategories*/
|
|
4100
|
+
8 && !de(r.src, n = /*category*/
|
|
4101
|
+
e[23].icon) && H(r, "src", n), A & /*topCategories*/
|
|
4072
4102
|
8 && i !== (i = /*category*/
|
|
4073
|
-
e[23].name) && H(r, "alt", i),
|
|
4103
|
+
e[23].name) && H(r, "alt", i), A & /*topCategories*/
|
|
4074
4104
|
8 && l !== (l = /*category*/
|
|
4075
|
-
e[23].name + "") && G(u, l),
|
|
4105
|
+
e[23].name + "") && G(u, l), A & /*topCategories*/
|
|
4076
4106
|
8 && f !== (f = /*category*/
|
|
4077
|
-
e[23].games.count + "") && G(
|
|
4107
|
+
e[23].games.count + "") && G(d, f), A & /*$_*/
|
|
4078
4108
|
32 && g !== (g = /*$_*/
|
|
4079
|
-
e[5]("games") + "") && G(x, g),
|
|
4109
|
+
e[5]("games") + "") && G(x, g), A & /*activecategory, topCategories*/
|
|
4080
4110
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
4081
4111
|
(e[0] === /*category*/
|
|
4082
4112
|
e[23].id ? "Active" : "")) && H(t, "class", m);
|
|
4083
4113
|
},
|
|
4084
4114
|
d(w) {
|
|
4085
|
-
w && D(t), C = !1,
|
|
4115
|
+
w && D(t), C = !1, S();
|
|
4086
4116
|
}
|
|
4087
4117
|
};
|
|
4088
4118
|
}
|
|
4089
|
-
function
|
|
4119
|
+
function dt(e) {
|
|
4090
4120
|
let t, r, n, i, s, o, a, l = (
|
|
4091
4121
|
/*category*/
|
|
4092
4122
|
e[23].name + ""
|
|
4093
4123
|
), u, h, c, f = (
|
|
4094
4124
|
/*category*/
|
|
4095
4125
|
e[23].games.count + ""
|
|
4096
|
-
),
|
|
4126
|
+
), d, p, g = (
|
|
4097
4127
|
/*$_*/
|
|
4098
4128
|
e[5]("games") + ""
|
|
4099
|
-
), x, m, C,
|
|
4129
|
+
), x, m, C, S, P;
|
|
4100
4130
|
function w() {
|
|
4101
4131
|
return (
|
|
4102
4132
|
/*click_handler_1*/
|
|
@@ -4108,42 +4138,42 @@ function gt(e) {
|
|
|
4108
4138
|
}
|
|
4109
4139
|
return {
|
|
4110
4140
|
c() {
|
|
4111
|
-
t = B("div"), r = B("img"), s = $(), o = B("div"), a = B("p"), u = R(l), h = $(), c = B("p"),
|
|
4141
|
+
t = B("div"), r = B("img"), s = $(), o = B("div"), a = B("p"), u = R(l), h = $(), c = B("p"), d = R(f), p = $(), x = R(g), m = $(), de(r.src, n = /*category*/
|
|
4112
4142
|
e[23].icon) || H(r, "src", n), H(r, "alt", i = /*category*/
|
|
4113
4143
|
e[23].name), H(r, "class", "CategoryImage"), H(o, "class", "CategoryTextContainer"), H(t, "class", C = "Category " + /*activecategory*/
|
|
4114
4144
|
(e[0] === /*category*/
|
|
4115
4145
|
e[23].id ? "Active" : ""));
|
|
4116
4146
|
},
|
|
4117
|
-
m(
|
|
4118
|
-
j(
|
|
4147
|
+
m(A, N) {
|
|
4148
|
+
j(A, t, N), v(t, r), v(t, s), v(t, o), v(o, a), v(a, u), v(o, h), v(o, c), v(c, d), v(c, p), v(c, x), v(t, m), S || (P = _t(t, "click", w), S = !0);
|
|
4119
4149
|
},
|
|
4120
|
-
p(
|
|
4121
|
-
e =
|
|
4122
|
-
16 && !
|
|
4150
|
+
p(A, N) {
|
|
4151
|
+
e = A, N & /*otherCategories*/
|
|
4152
|
+
16 && !de(r.src, n = /*category*/
|
|
4123
4153
|
e[23].icon) && H(r, "src", n), N & /*otherCategories*/
|
|
4124
4154
|
16 && i !== (i = /*category*/
|
|
4125
4155
|
e[23].name) && H(r, "alt", i), N & /*otherCategories*/
|
|
4126
4156
|
16 && l !== (l = /*category*/
|
|
4127
4157
|
e[23].name + "") && G(u, l), N & /*otherCategories*/
|
|
4128
4158
|
16 && f !== (f = /*category*/
|
|
4129
|
-
e[23].games.count + "") && G(
|
|
4159
|
+
e[23].games.count + "") && G(d, f), N & /*$_*/
|
|
4130
4160
|
32 && g !== (g = /*$_*/
|
|
4131
4161
|
e[5]("games") + "") && G(x, g), N & /*activecategory, otherCategories*/
|
|
4132
4162
|
17 && C !== (C = "Category " + /*activecategory*/
|
|
4133
4163
|
(e[0] === /*category*/
|
|
4134
4164
|
e[23].id ? "Active" : "")) && H(t, "class", C);
|
|
4135
4165
|
},
|
|
4136
|
-
d(
|
|
4137
|
-
|
|
4166
|
+
d(A) {
|
|
4167
|
+
A && D(t), S = !1, P();
|
|
4138
4168
|
}
|
|
4139
4169
|
};
|
|
4140
4170
|
}
|
|
4141
|
-
function
|
|
4171
|
+
function ci(e) {
|
|
4142
4172
|
let t;
|
|
4143
4173
|
function r(s, o) {
|
|
4144
4174
|
return (
|
|
4145
4175
|
/*isLoading*/
|
|
4146
|
-
s[2] ?
|
|
4176
|
+
s[2] ? fi : li
|
|
4147
4177
|
);
|
|
4148
4178
|
}
|
|
4149
4179
|
let n = r(e), i = n(e);
|
|
@@ -4164,60 +4194,60 @@ function fi(e) {
|
|
|
4164
4194
|
}
|
|
4165
4195
|
};
|
|
4166
4196
|
}
|
|
4167
|
-
function
|
|
4197
|
+
function gi(e, t, r) {
|
|
4168
4198
|
let n;
|
|
4169
|
-
|
|
4170
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: a = "" } = t, { excludedflags: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t,
|
|
4199
|
+
qt(e, ai, (b) => r(5, n = b));
|
|
4200
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: a = "" } = t, { excludedflags: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, d, p = !1;
|
|
4171
4201
|
const g = [];
|
|
4172
4202
|
let x = [], m = [];
|
|
4173
|
-
Object.keys(
|
|
4174
|
-
|
|
4203
|
+
Object.keys(ft).forEach((b) => {
|
|
4204
|
+
lt(b, ft[b]);
|
|
4175
4205
|
});
|
|
4176
4206
|
const C = () => {
|
|
4177
4207
|
fetch(c).then((M) => M.json()).then((M) => {
|
|
4178
4208
|
Object.keys(M).forEach((ue) => {
|
|
4179
|
-
|
|
4209
|
+
lt(ue, M[ue]);
|
|
4180
4210
|
});
|
|
4181
4211
|
}).catch((M) => {
|
|
4182
4212
|
console.log(M);
|
|
4183
4213
|
});
|
|
4184
|
-
},
|
|
4185
|
-
r(2,
|
|
4214
|
+
}, S = () => {
|
|
4215
|
+
r(2, p = !0);
|
|
4186
4216
|
const b = new URL(`${i}/v1/casino/groups/${s}`);
|
|
4187
4217
|
b.searchParams.append("language", o), fetch(b).then((M) => M.json()).then((M) => {
|
|
4188
|
-
r(2,
|
|
4218
|
+
r(2, p = !1);
|
|
4189
4219
|
const ue = l.split(",").map((F) => F.trim());
|
|
4190
4220
|
g.push(...M.items);
|
|
4191
|
-
const
|
|
4192
|
-
r(3, x =
|
|
4221
|
+
const We = g.filter((F) => !ue.some((Qt) => F.flags?.indexOf(Qt) >= 0));
|
|
4222
|
+
r(3, x = We.filter((F) => F.isTopCategory === !0)), r(4, m = We.filter((F) => F.isTopCategory === !1));
|
|
4193
4223
|
});
|
|
4194
4224
|
}, P = (b) => {
|
|
4195
4225
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4196
4226
|
}, w = () => {
|
|
4197
|
-
|
|
4227
|
+
ui(o);
|
|
4198
4228
|
};
|
|
4199
|
-
|
|
4229
|
+
sr(() => () => {
|
|
4200
4230
|
});
|
|
4201
|
-
const
|
|
4202
|
-
function
|
|
4231
|
+
const A = (b) => P(b.id), N = (b) => P(b.id);
|
|
4232
|
+
function Zt(b) {
|
|
4203
4233
|
Oe[b ? "unshift" : "push"](() => {
|
|
4204
|
-
|
|
4234
|
+
d = b, r(1, d);
|
|
4205
4235
|
});
|
|
4206
4236
|
}
|
|
4207
4237
|
return e.$$set = (b) => {
|
|
4208
4238
|
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, a = b.activecategory), "excludedflags" in b && r(10, l = b.excludedflags), "clientstyling" in b && r(11, u = b.clientstyling), "clientstylingurl" in b && r(12, h = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
|
|
4209
4239
|
}, e.$$.update = () => {
|
|
4210
4240
|
e.$$.dirty & /*endpoint, datasource*/
|
|
4211
|
-
384 && i && s &&
|
|
4241
|
+
384 && i && s && S(), e.$$.dirty & /*translationurl*/
|
|
4212
4242
|
8192 && c && C(), e.$$.dirty & /*lang*/
|
|
4213
4243
|
512 && o && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4214
|
-
2050 && u &&
|
|
4215
|
-
4098 && h &&
|
|
4216
|
-
16386 && f &&
|
|
4244
|
+
2050 && u && d && br(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4245
|
+
4098 && h && d && yr(d, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4246
|
+
16386 && f && d && _r(d, `${f}.Style`);
|
|
4217
4247
|
}, [
|
|
4218
4248
|
a,
|
|
4219
|
-
p,
|
|
4220
4249
|
d,
|
|
4250
|
+
p,
|
|
4221
4251
|
x,
|
|
4222
4252
|
m,
|
|
4223
4253
|
n,
|
|
@@ -4230,19 +4260,19 @@ function ci(e, t, r) {
|
|
|
4230
4260
|
h,
|
|
4231
4261
|
c,
|
|
4232
4262
|
f,
|
|
4233
|
-
|
|
4263
|
+
A,
|
|
4234
4264
|
N,
|
|
4235
|
-
|
|
4265
|
+
Zt
|
|
4236
4266
|
];
|
|
4237
4267
|
}
|
|
4238
|
-
class
|
|
4268
|
+
class Wt extends dr {
|
|
4239
4269
|
constructor(t) {
|
|
4240
|
-
super(),
|
|
4270
|
+
super(), gr(
|
|
4241
4271
|
this,
|
|
4242
4272
|
t,
|
|
4273
|
+
gi,
|
|
4243
4274
|
ci,
|
|
4244
|
-
|
|
4245
|
-
pt,
|
|
4275
|
+
bt,
|
|
4246
4276
|
{
|
|
4247
4277
|
endpoint: 7,
|
|
4248
4278
|
datasource: 8,
|
|
@@ -4254,7 +4284,7 @@ class Xt extends gr {
|
|
|
4254
4284
|
translationurl: 13,
|
|
4255
4285
|
mbsource: 14
|
|
4256
4286
|
},
|
|
4257
|
-
|
|
4287
|
+
hi
|
|
4258
4288
|
);
|
|
4259
4289
|
}
|
|
4260
4290
|
get endpoint() {
|
|
@@ -4312,51 +4342,51 @@ class Xt extends gr {
|
|
|
4312
4342
|
this.$$set({ mbsource: t }), I();
|
|
4313
4343
|
}
|
|
4314
4344
|
}
|
|
4315
|
-
|
|
4316
|
-
const
|
|
4345
|
+
mr(Wt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4346
|
+
const vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4317
4347
|
__proto__: null,
|
|
4318
|
-
default:
|
|
4348
|
+
default: Wt
|
|
4319
4349
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4320
4350
|
export {
|
|
4321
4351
|
K as $,
|
|
4322
|
-
|
|
4352
|
+
xi as A,
|
|
4323
4353
|
_e as B,
|
|
4324
|
-
|
|
4325
|
-
|
|
4326
|
-
|
|
4354
|
+
de as C,
|
|
4355
|
+
bi as D,
|
|
4356
|
+
mi as E,
|
|
4327
4357
|
le as F,
|
|
4328
|
-
|
|
4329
|
-
|
|
4330
|
-
|
|
4331
|
-
|
|
4358
|
+
Qe as G,
|
|
4359
|
+
yi as H,
|
|
4360
|
+
_i as I,
|
|
4361
|
+
tr as J,
|
|
4332
4362
|
pi as K,
|
|
4333
|
-
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4337
|
-
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4363
|
+
vi as L,
|
|
4364
|
+
dr as S,
|
|
4365
|
+
Ei as _,
|
|
4366
|
+
jt as a,
|
|
4367
|
+
Yt as b,
|
|
4368
|
+
mr as c,
|
|
4369
|
+
$ as d,
|
|
4370
|
+
B as e,
|
|
4341
4371
|
I as f,
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
|
|
4345
|
-
|
|
4346
|
-
|
|
4347
|
-
|
|
4348
|
-
|
|
4372
|
+
H as g,
|
|
4373
|
+
di as h,
|
|
4374
|
+
gr as i,
|
|
4375
|
+
j,
|
|
4376
|
+
v as k,
|
|
4377
|
+
_t as l,
|
|
4378
|
+
G as m,
|
|
4349
4379
|
L as n,
|
|
4350
|
-
|
|
4351
|
-
|
|
4352
|
-
|
|
4380
|
+
D as o,
|
|
4381
|
+
qt as p,
|
|
4382
|
+
sr as q,
|
|
4353
4383
|
oe as r,
|
|
4354
|
-
|
|
4384
|
+
bt as s,
|
|
4355
4385
|
R as t,
|
|
4356
|
-
|
|
4357
|
-
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4386
|
+
yr as u,
|
|
4387
|
+
_r as v,
|
|
4388
|
+
Oe as w,
|
|
4389
|
+
br as x,
|
|
4390
|
+
ai as y,
|
|
4361
4391
|
Ce as z
|
|
4362
4392
|
};
|