@everymatrix/casino-tournaments-thumbnail-rule 1.86.1 → 1.86.3
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/CasinoTournamentsThumbnailRule-BXe6eszK.cjs +42 -0
- package/components/{CasinoTournamentsThumbnailRule-dVLIfoI9.js → CasinoTournamentsThumbnailRule-CMd03C9_.js} +621 -625
- package/components/{CasinoTournamentsThumbnailRule-CUqknIah.js → CasinoTournamentsThumbnailRule-DPAxzY4D.js} +612 -616
- package/es2015/casino-tournaments-thumbnail-rule.cjs +1 -1
- package/es2015/casino-tournaments-thumbnail-rule.js +1 -1
- package/esnext/casino-tournaments-thumbnail-rule.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsThumbnailRule-B-6N3OLx.cjs +0 -29
|
@@ -2,30 +2,30 @@ var gn = Object.defineProperty, yn = Object.defineProperties;
|
|
|
2
2
|
var vn = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var ht = Object.getOwnPropertySymbols;
|
|
4
4
|
var xn = Object.prototype.hasOwnProperty, En = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var $e = (e, t, n) => t in e ? gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ct = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
|
-
xn.call(t, n) &&
|
|
7
|
+
xn.call(t, n) && $e(e, n, t[n]);
|
|
8
8
|
if (ht)
|
|
9
9
|
for (var n of ht(t))
|
|
10
|
-
En.call(t, n) &&
|
|
10
|
+
En.call(t, n) && $e(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
12
|
}, ft = (e, t) => yn(e, vn(t));
|
|
13
|
-
var R = (e, t, n) => (
|
|
13
|
+
var R = (e, t, n) => ($e(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
14
|
var mt = (e, t, n) => new Promise((r, i) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
17
|
-
|
|
17
|
+
u(n.next(h));
|
|
18
18
|
} catch (a) {
|
|
19
19
|
i(a);
|
|
20
20
|
}
|
|
21
21
|
}, o = (h) => {
|
|
22
22
|
try {
|
|
23
|
-
|
|
23
|
+
u(n.throw(h));
|
|
24
24
|
} catch (a) {
|
|
25
25
|
i(a);
|
|
26
26
|
}
|
|
27
|
-
},
|
|
28
|
-
|
|
27
|
+
}, u = (h) => h.done ? r(h.value) : Promise.resolve(h.value).then(s, o);
|
|
28
|
+
u((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function X() {
|
|
31
31
|
}
|
|
@@ -35,10 +35,10 @@ function Ft(e) {
|
|
|
35
35
|
function dt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
38
|
+
function Ce(e) {
|
|
39
39
|
e.forEach(Ft);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function it(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
44
|
function jt(e, t) {
|
|
@@ -65,7 +65,7 @@ function b(e, t) {
|
|
|
65
65
|
function Tn(e, t, n) {
|
|
66
66
|
const r = wn(e);
|
|
67
67
|
if (!r.getElementById(t)) {
|
|
68
|
-
const i =
|
|
68
|
+
const i = _("style");
|
|
69
69
|
i.id = t, i.textContent = n, Sn(r, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
@@ -96,20 +96,20 @@ function Bn(e, t) {
|
|
|
96
96
|
for (let n = 0; n < e.length; n += 1)
|
|
97
97
|
e[n] && e[n].d(t);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function _(e) {
|
|
100
100
|
return document.createElement(e);
|
|
101
101
|
}
|
|
102
102
|
function Hn(e) {
|
|
103
103
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function K(e) {
|
|
106
106
|
return document.createTextNode(e);
|
|
107
107
|
}
|
|
108
108
|
function L() {
|
|
109
|
-
return
|
|
109
|
+
return K(" ");
|
|
110
110
|
}
|
|
111
|
-
function
|
|
112
|
-
return
|
|
111
|
+
function _e() {
|
|
112
|
+
return K("");
|
|
113
113
|
}
|
|
114
114
|
function p(e, t, n) {
|
|
115
115
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
@@ -117,11 +117,11 @@ function p(e, t, n) {
|
|
|
117
117
|
function Mn(e) {
|
|
118
118
|
return Array.from(e.childNodes);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Me(e, t) {
|
|
121
121
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
122
122
|
t);
|
|
123
123
|
}
|
|
124
|
-
class
|
|
124
|
+
class re {
|
|
125
125
|
constructor(t = !1) {
|
|
126
126
|
/**
|
|
127
127
|
* @private
|
|
@@ -155,7 +155,7 @@ class ie {
|
|
|
155
155
|
this.e || (this.is_svg ? this.e = Hn(
|
|
156
156
|
/** @type {keyof SVGElementTagNameMap} */
|
|
157
157
|
n.nodeName
|
|
158
|
-
) : this.e =
|
|
158
|
+
) : this.e = _(
|
|
159
159
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
160
160
|
n.nodeType === 11 ? "TEMPLATE" : n.nodeName
|
|
161
161
|
), this.t = n.tagName !== "TEMPLATE" ? n : (
|
|
@@ -200,60 +200,60 @@ function Rn(e) {
|
|
|
200
200
|
}
|
|
201
201
|
), t;
|
|
202
202
|
}
|
|
203
|
-
let
|
|
204
|
-
function
|
|
205
|
-
|
|
203
|
+
let ve;
|
|
204
|
+
function ye(e) {
|
|
205
|
+
ve = e;
|
|
206
206
|
}
|
|
207
207
|
function Ln() {
|
|
208
|
-
if (!
|
|
208
|
+
if (!ve)
|
|
209
209
|
throw new Error("Function called outside component initialization");
|
|
210
|
-
return
|
|
210
|
+
return ve;
|
|
211
211
|
}
|
|
212
212
|
function An(e) {
|
|
213
213
|
Ln().$$.on_mount.push(e);
|
|
214
214
|
}
|
|
215
|
-
const
|
|
215
|
+
const oe = [], Ze = [];
|
|
216
216
|
let le = [];
|
|
217
217
|
const pt = [], On = /* @__PURE__ */ Promise.resolve();
|
|
218
|
-
let
|
|
218
|
+
let Xe = !1;
|
|
219
219
|
function Pn() {
|
|
220
|
-
|
|
220
|
+
Xe || (Xe = !0, On.then(P));
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function We(e) {
|
|
223
223
|
le.push(e);
|
|
224
224
|
}
|
|
225
|
-
const
|
|
226
|
-
let
|
|
225
|
+
const Ue = /* @__PURE__ */ new Set();
|
|
226
|
+
let se = 0;
|
|
227
227
|
function P() {
|
|
228
|
-
if (
|
|
228
|
+
if (se !== 0)
|
|
229
229
|
return;
|
|
230
|
-
const e =
|
|
230
|
+
const e = ve;
|
|
231
231
|
do {
|
|
232
232
|
try {
|
|
233
|
-
for (;
|
|
234
|
-
const t =
|
|
235
|
-
|
|
233
|
+
for (; se < oe.length; ) {
|
|
234
|
+
const t = oe[se];
|
|
235
|
+
se++, ye(t), Nn(t.$$);
|
|
236
236
|
}
|
|
237
237
|
} catch (t) {
|
|
238
|
-
throw
|
|
238
|
+
throw oe.length = 0, se = 0, t;
|
|
239
239
|
}
|
|
240
|
-
for (
|
|
241
|
-
|
|
240
|
+
for (ye(null), oe.length = 0, se = 0; Ze.length; )
|
|
241
|
+
Ze.pop()();
|
|
242
242
|
for (let t = 0; t < le.length; t += 1) {
|
|
243
243
|
const n = le[t];
|
|
244
|
-
|
|
244
|
+
Ue.has(n) || (Ue.add(n), n());
|
|
245
245
|
}
|
|
246
246
|
le.length = 0;
|
|
247
|
-
} while (
|
|
247
|
+
} while (oe.length);
|
|
248
248
|
for (; pt.length; )
|
|
249
249
|
pt.pop()();
|
|
250
|
-
|
|
250
|
+
Xe = !1, Ue.clear(), ye(e);
|
|
251
251
|
}
|
|
252
252
|
function Nn(e) {
|
|
253
253
|
if (e.fragment !== null) {
|
|
254
|
-
e.update(),
|
|
254
|
+
e.update(), Ce(e.before_update);
|
|
255
255
|
const t = e.dirty;
|
|
256
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
256
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
|
|
257
257
|
}
|
|
258
258
|
}
|
|
259
259
|
function In(e) {
|
|
@@ -269,21 +269,21 @@ function bt(e) {
|
|
|
269
269
|
}
|
|
270
270
|
function Un(e, t, n) {
|
|
271
271
|
const { fragment: r, after_update: i } = e.$$;
|
|
272
|
-
r && r.m(t, n),
|
|
273
|
-
const s = e.$$.on_mount.map(Ft).filter(
|
|
274
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
275
|
-
}), i.forEach(
|
|
272
|
+
r && r.m(t, n), We(() => {
|
|
273
|
+
const s = e.$$.on_mount.map(Ft).filter(it);
|
|
274
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ce(s), e.$$.on_mount = [];
|
|
275
|
+
}), i.forEach(We);
|
|
276
276
|
}
|
|
277
277
|
function Dn(e, t) {
|
|
278
278
|
const n = e.$$;
|
|
279
|
-
n.fragment !== null && (In(n.after_update),
|
|
279
|
+
n.fragment !== null && (In(n.after_update), Ce(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
280
280
|
}
|
|
281
281
|
function Gn(e, t) {
|
|
282
|
-
e.$$.dirty[0] === -1 && (
|
|
282
|
+
e.$$.dirty[0] === -1 && (oe.push(e), Pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
283
283
|
}
|
|
284
|
-
function Fn(e, t, n, r, i, s, o = null,
|
|
285
|
-
const h =
|
|
286
|
-
|
|
284
|
+
function Fn(e, t, n, r, i, s, o = null, u = [-1]) {
|
|
285
|
+
const h = ve;
|
|
286
|
+
ye(e);
|
|
287
287
|
const a = e.$$ = {
|
|
288
288
|
fragment: null,
|
|
289
289
|
ctx: [],
|
|
@@ -301,16 +301,16 @@ function Fn(e, t, n, r, i, s, o = null, l = [-1]) {
|
|
|
301
301
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
302
302
|
// everything else
|
|
303
303
|
callbacks: dt(),
|
|
304
|
-
dirty:
|
|
304
|
+
dirty: u,
|
|
305
305
|
skip_bound: !1,
|
|
306
306
|
root: t.target || h.$$.root
|
|
307
307
|
};
|
|
308
308
|
o && o(a.root);
|
|
309
|
-
let
|
|
309
|
+
let l = !1;
|
|
310
310
|
if (a.ctx = n ? n(e, t.props || {}, (c, f, ...d) => {
|
|
311
311
|
const g = d.length ? d[0] : f;
|
|
312
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] = g) && (!a.skip_bound && a.bound[c] && a.bound[c](g),
|
|
313
|
-
}) : [], a.update(),
|
|
312
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = g) && (!a.skip_bound && a.bound[c] && a.bound[c](g), l && Gn(e, c)), f;
|
|
313
|
+
}) : [], a.update(), l = !0, Ce(a.before_update), a.fragment = r ? r(a.ctx) : !1, t.target) {
|
|
314
314
|
if (t.hydrate) {
|
|
315
315
|
const c = Mn(t.target);
|
|
316
316
|
a.fragment && a.fragment.l(c), c.forEach(z);
|
|
@@ -318,7 +318,7 @@ function Fn(e, t, n, r, i, s, o = null, l = [-1]) {
|
|
|
318
318
|
a.fragment && a.fragment.c();
|
|
319
319
|
t.intro && $n(e.$$.fragment), Un(e, t.target, t.anchor), P();
|
|
320
320
|
}
|
|
321
|
-
|
|
321
|
+
ye(h);
|
|
322
322
|
}
|
|
323
323
|
let zt;
|
|
324
324
|
typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
@@ -365,14 +365,14 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
365
365
|
let o;
|
|
366
366
|
return {
|
|
367
367
|
c: function() {
|
|
368
|
-
o =
|
|
368
|
+
o = _("slot"), s !== "default" && p(o, "name", s);
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
371
|
* @param {HTMLElement} target
|
|
372
372
|
* @param {HTMLElement} [anchor]
|
|
373
373
|
*/
|
|
374
|
-
m: function(a,
|
|
375
|
-
W(a, o,
|
|
374
|
+
m: function(a, l) {
|
|
375
|
+
W(a, o, l);
|
|
376
376
|
},
|
|
377
377
|
d: function(a) {
|
|
378
378
|
a && z(o);
|
|
@@ -387,7 +387,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
387
387
|
s in r && (n[s] = [t(s)]);
|
|
388
388
|
for (const s of this.attributes) {
|
|
389
389
|
const o = this.$$g_p(s.name);
|
|
390
|
-
o in this.$$d || (this.$$d[o] =
|
|
390
|
+
o in this.$$d || (this.$$d[o] = Se(o, s.value, this.$$p_d, "toProp"));
|
|
391
391
|
}
|
|
392
392
|
for (const s in this.$$p_d)
|
|
393
393
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
@@ -404,7 +404,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
404
404
|
this.$$r = !0;
|
|
405
405
|
for (const s in this.$$p_d)
|
|
406
406
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
407
|
-
const o =
|
|
407
|
+
const o = Se(
|
|
408
408
|
s,
|
|
409
409
|
this.$$d[s],
|
|
410
410
|
this.$$p_d,
|
|
@@ -417,8 +417,8 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
417
417
|
this.$$c.$$.after_update.push(i), i();
|
|
418
418
|
for (const s in this.$$l)
|
|
419
419
|
for (const o of this.$$l[s]) {
|
|
420
|
-
const
|
|
421
|
-
this.$$l_u.set(o,
|
|
420
|
+
const u = this.$$c.$on(s, o);
|
|
421
|
+
this.$$l_u.set(o, u);
|
|
422
422
|
}
|
|
423
423
|
this.$$l = {};
|
|
424
424
|
}
|
|
@@ -428,7 +428,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
428
428
|
// and setting attributes through setAttribute etc, this is helpful
|
|
429
429
|
attributeChangedCallback(t, n, r) {
|
|
430
430
|
var i;
|
|
431
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
431
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Se(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
432
432
|
}
|
|
433
433
|
disconnectedCallback() {
|
|
434
434
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -441,7 +441,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
|
441
441
|
) || t;
|
|
442
442
|
}
|
|
443
443
|
});
|
|
444
|
-
function
|
|
444
|
+
function Se(e, t, n, r) {
|
|
445
445
|
var s;
|
|
446
446
|
const i = (s = n[e]) == null ? void 0 : s.type;
|
|
447
447
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
@@ -478,25 +478,25 @@ function jn(e, t, n, r, i, s) {
|
|
|
478
478
|
}
|
|
479
479
|
static get observedAttributes() {
|
|
480
480
|
return Object.keys(t).map(
|
|
481
|
-
(
|
|
481
|
+
(u) => (t[u].attribute || u).toLowerCase()
|
|
482
482
|
);
|
|
483
483
|
}
|
|
484
484
|
};
|
|
485
|
-
return Object.keys(t).forEach((
|
|
486
|
-
Object.defineProperty(o.prototype,
|
|
485
|
+
return Object.keys(t).forEach((u) => {
|
|
486
|
+
Object.defineProperty(o.prototype, u, {
|
|
487
487
|
get() {
|
|
488
|
-
return this.$$c &&
|
|
488
|
+
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
|
489
489
|
},
|
|
490
490
|
set(h) {
|
|
491
491
|
var a;
|
|
492
|
-
h =
|
|
492
|
+
h = Se(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
|
|
493
493
|
}
|
|
494
494
|
});
|
|
495
|
-
}), r.forEach((
|
|
496
|
-
Object.defineProperty(o.prototype,
|
|
495
|
+
}), r.forEach((u) => {
|
|
496
|
+
Object.defineProperty(o.prototype, u, {
|
|
497
497
|
get() {
|
|
498
498
|
var h;
|
|
499
|
-
return (h = this.$$c) == null ? void 0 : h[
|
|
499
|
+
return (h = this.$$c) == null ? void 0 : h[u];
|
|
500
500
|
}
|
|
501
501
|
});
|
|
502
502
|
}), e.element = /** @type {any} */
|
|
@@ -532,7 +532,7 @@ class Vn {
|
|
|
532
532
|
* @returns {() => void}
|
|
533
533
|
*/
|
|
534
534
|
$on(t, n) {
|
|
535
|
-
if (!
|
|
535
|
+
if (!it(n))
|
|
536
536
|
return X;
|
|
537
537
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
538
538
|
return r.push(n), () => {
|
|
@@ -550,66 +550,66 @@ class Vn {
|
|
|
550
550
|
}
|
|
551
551
|
const zn = "4";
|
|
552
552
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(zn);
|
|
553
|
-
const
|
|
553
|
+
const ae = [];
|
|
554
554
|
function Zn(e, t) {
|
|
555
555
|
return {
|
|
556
|
-
subscribe:
|
|
556
|
+
subscribe: Ae(e, t).subscribe
|
|
557
557
|
};
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function Ae(e, t = X) {
|
|
560
560
|
let n;
|
|
561
561
|
const r = /* @__PURE__ */ new Set();
|
|
562
|
-
function i(
|
|
563
|
-
if (jt(e,
|
|
564
|
-
const h = !
|
|
562
|
+
function i(u) {
|
|
563
|
+
if (jt(e, u) && (e = u, n)) {
|
|
564
|
+
const h = !ae.length;
|
|
565
565
|
for (const a of r)
|
|
566
|
-
a[1](),
|
|
566
|
+
a[1](), ae.push(a, e);
|
|
567
567
|
if (h) {
|
|
568
|
-
for (let a = 0; a <
|
|
569
|
-
|
|
570
|
-
|
|
568
|
+
for (let a = 0; a < ae.length; a += 2)
|
|
569
|
+
ae[a][0](ae[a + 1]);
|
|
570
|
+
ae.length = 0;
|
|
571
571
|
}
|
|
572
572
|
}
|
|
573
573
|
}
|
|
574
|
-
function s(
|
|
575
|
-
i(
|
|
574
|
+
function s(u) {
|
|
575
|
+
i(u(e));
|
|
576
576
|
}
|
|
577
|
-
function o(
|
|
578
|
-
const a = [
|
|
579
|
-
return r.add(a), r.size === 1 && (n = t(i, s) || X),
|
|
577
|
+
function o(u, h = X) {
|
|
578
|
+
const a = [u, h];
|
|
579
|
+
return r.add(a), r.size === 1 && (n = t(i, s) || X), u(e), () => {
|
|
580
580
|
r.delete(a), r.size === 0 && n && (n(), n = null);
|
|
581
581
|
};
|
|
582
582
|
}
|
|
583
583
|
return { set: i, update: s, subscribe: o };
|
|
584
584
|
}
|
|
585
|
-
function
|
|
585
|
+
function me(e, t, n) {
|
|
586
586
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
587
587
|
if (!i.every(Boolean))
|
|
588
588
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
589
589
|
const s = t.length < 2;
|
|
590
|
-
return Zn(n, (o,
|
|
590
|
+
return Zn(n, (o, u) => {
|
|
591
591
|
let h = !1;
|
|
592
592
|
const a = [];
|
|
593
|
-
let
|
|
593
|
+
let l = 0, c = X;
|
|
594
594
|
const f = () => {
|
|
595
|
-
if (
|
|
595
|
+
if (l)
|
|
596
596
|
return;
|
|
597
597
|
c();
|
|
598
|
-
const g = t(r ? a[0] : a, o,
|
|
599
|
-
s ? o(g) : c =
|
|
598
|
+
const g = t(r ? a[0] : a, o, u);
|
|
599
|
+
s ? o(g) : c = it(g) ? g : X;
|
|
600
600
|
}, d = i.map(
|
|
601
|
-
(g,
|
|
601
|
+
(g, C) => Vt(
|
|
602
602
|
g,
|
|
603
603
|
(H) => {
|
|
604
|
-
a[
|
|
604
|
+
a[C] = H, l &= ~(1 << C), h && f();
|
|
605
605
|
},
|
|
606
606
|
() => {
|
|
607
|
-
|
|
607
|
+
l |= 1 << C;
|
|
608
608
|
}
|
|
609
609
|
)
|
|
610
610
|
);
|
|
611
611
|
return h = !0, f(), function() {
|
|
612
|
-
|
|
612
|
+
Ce(d), c(), h = !1;
|
|
613
613
|
};
|
|
614
614
|
});
|
|
615
615
|
}
|
|
@@ -633,19 +633,19 @@ function Kn(e) {
|
|
|
633
633
|
function er(e) {
|
|
634
634
|
return Array.isArray(e) ? [] : {};
|
|
635
635
|
}
|
|
636
|
-
function
|
|
637
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
636
|
+
function xe(e, t) {
|
|
637
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ue(er(e), e, t) : e;
|
|
638
638
|
}
|
|
639
639
|
function tr(e, t, n) {
|
|
640
640
|
return e.concat(t).map(function(r) {
|
|
641
|
-
return
|
|
641
|
+
return xe(r, n);
|
|
642
642
|
});
|
|
643
643
|
}
|
|
644
644
|
function nr(e, t) {
|
|
645
645
|
if (!t.customMerge)
|
|
646
|
-
return
|
|
646
|
+
return ue;
|
|
647
647
|
var n = t.customMerge(e);
|
|
648
|
-
return typeof n == "function" ? n :
|
|
648
|
+
return typeof n == "function" ? n : ue;
|
|
649
649
|
}
|
|
650
650
|
function rr(e) {
|
|
651
651
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -668,53 +668,67 @@ function ir(e, t) {
|
|
|
668
668
|
function sr(e, t, n) {
|
|
669
669
|
var r = {};
|
|
670
670
|
return n.isMergeableObject(e) && gt(e).forEach(function(i) {
|
|
671
|
-
r[i] =
|
|
671
|
+
r[i] = xe(e[i], n);
|
|
672
672
|
}), gt(t).forEach(function(i) {
|
|
673
|
-
ir(e, i) || (Zt(e, i) && n.isMergeableObject(t[i]) ? r[i] = nr(i, n)(e[i], t[i], n) : r[i] =
|
|
673
|
+
ir(e, i) || (Zt(e, i) && n.isMergeableObject(t[i]) ? r[i] = nr(i, n)(e[i], t[i], n) : r[i] = xe(t[i], n));
|
|
674
674
|
}), r;
|
|
675
675
|
}
|
|
676
|
-
function
|
|
677
|
-
n = n || {}, n.arrayMerge = n.arrayMerge || tr, n.isMergeableObject = n.isMergeableObject || Wn, n.cloneUnlessOtherwiseSpecified =
|
|
676
|
+
function ue(e, t, n) {
|
|
677
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || tr, n.isMergeableObject = n.isMergeableObject || Wn, n.cloneUnlessOtherwiseSpecified = xe;
|
|
678
678
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
679
|
-
return s ? r ? n.arrayMerge(e, t, n) : sr(e, t, n) :
|
|
679
|
+
return s ? r ? n.arrayMerge(e, t, n) : sr(e, t, n) : xe(t, n);
|
|
680
680
|
}
|
|
681
|
-
|
|
681
|
+
ue.all = function(t, n) {
|
|
682
682
|
if (!Array.isArray(t))
|
|
683
683
|
throw new Error("first argument should be an array");
|
|
684
684
|
return t.reduce(function(r, i) {
|
|
685
|
-
return
|
|
685
|
+
return ue(r, i, n);
|
|
686
686
|
}, {});
|
|
687
687
|
};
|
|
688
|
-
var ar =
|
|
689
|
-
const
|
|
690
|
-
|
|
691
|
-
|
|
688
|
+
var ar = ue, or = ar;
|
|
689
|
+
const lr = /* @__PURE__ */ Xn(or);
|
|
690
|
+
/*! *****************************************************************************
|
|
691
|
+
Copyright (c) Microsoft Corporation.
|
|
692
|
+
|
|
693
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
694
|
+
purpose with or without fee is hereby granted.
|
|
695
|
+
|
|
696
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
697
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
698
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
699
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
700
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
701
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
702
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
703
|
+
***************************************************************************** */
|
|
704
|
+
var qe = function(e, t) {
|
|
705
|
+
return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
692
706
|
n.__proto__ = r;
|
|
693
707
|
} || function(n, r) {
|
|
694
708
|
for (var i in r)
|
|
695
709
|
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
696
|
-
},
|
|
710
|
+
}, qe(e, t);
|
|
697
711
|
};
|
|
698
|
-
function
|
|
712
|
+
function Oe(e, t) {
|
|
699
713
|
if (typeof t != "function" && t !== null)
|
|
700
714
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
701
|
-
|
|
715
|
+
qe(e, t);
|
|
702
716
|
function n() {
|
|
703
717
|
this.constructor = e;
|
|
704
718
|
}
|
|
705
719
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
706
720
|
}
|
|
707
|
-
var
|
|
708
|
-
return
|
|
721
|
+
var E = function() {
|
|
722
|
+
return E = Object.assign || function(t) {
|
|
709
723
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
710
724
|
n = arguments[r];
|
|
711
725
|
for (var s in n)
|
|
712
726
|
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
713
727
|
}
|
|
714
728
|
return t;
|
|
715
|
-
},
|
|
729
|
+
}, E.apply(this, arguments);
|
|
716
730
|
};
|
|
717
|
-
function
|
|
731
|
+
function ur(e, t) {
|
|
718
732
|
var n = {};
|
|
719
733
|
for (var r in e)
|
|
720
734
|
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
@@ -723,14 +737,14 @@ function lr(e, t) {
|
|
|
723
737
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
724
738
|
return n;
|
|
725
739
|
}
|
|
726
|
-
function
|
|
727
|
-
if (
|
|
740
|
+
function De(e, t, n) {
|
|
741
|
+
if (arguments.length === 2)
|
|
728
742
|
for (var r = 0, i = t.length, s; r < i; r++)
|
|
729
743
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
730
|
-
return e.concat(s ||
|
|
744
|
+
return e.concat(s || t);
|
|
731
745
|
}
|
|
732
|
-
function
|
|
733
|
-
var n = t && t.cache ? t.cache :
|
|
746
|
+
function Ge(e, t) {
|
|
747
|
+
var n = t && t.cache ? t.cache : pr, r = t && t.serializer ? t.serializer : dr, i = t && t.strategy ? t.strategy : cr;
|
|
734
748
|
return i(e, {
|
|
735
749
|
cache: n,
|
|
736
750
|
serializer: r
|
|
@@ -739,103 +753,95 @@ function je(e, t) {
|
|
|
739
753
|
function hr(e) {
|
|
740
754
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
741
755
|
}
|
|
742
|
-
function
|
|
756
|
+
function Xt(e, t, n, r) {
|
|
743
757
|
var i = hr(r) ? r : n(r), s = t.get(i);
|
|
744
758
|
return typeof s == "undefined" && (s = e.call(this, r), t.set(i, s)), s;
|
|
745
759
|
}
|
|
746
|
-
function
|
|
760
|
+
function Wt(e, t, n) {
|
|
747
761
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
748
762
|
return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
749
763
|
}
|
|
750
|
-
function
|
|
764
|
+
function st(e, t, n, r, i) {
|
|
751
765
|
return n.bind(t, e, r, i);
|
|
752
766
|
}
|
|
767
|
+
function cr(e, t) {
|
|
768
|
+
var n = e.length === 1 ? Xt : Wt;
|
|
769
|
+
return st(e, this, n, t.cache.create(), t.serializer);
|
|
770
|
+
}
|
|
753
771
|
function fr(e, t) {
|
|
754
|
-
|
|
755
|
-
return Wt(e, this, n, t.cache.create(), t.serializer);
|
|
772
|
+
return st(e, this, Wt, t.cache.create(), t.serializer);
|
|
756
773
|
}
|
|
757
774
|
function mr(e, t) {
|
|
758
|
-
return
|
|
775
|
+
return st(e, this, Xt, t.cache.create(), t.serializer);
|
|
759
776
|
}
|
|
760
777
|
var dr = function() {
|
|
761
778
|
return JSON.stringify(arguments);
|
|
762
|
-
}
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
}()
|
|
774
|
-
), br = {
|
|
779
|
+
};
|
|
780
|
+
function at() {
|
|
781
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
782
|
+
}
|
|
783
|
+
at.prototype.get = function(e) {
|
|
784
|
+
return this.cache[e];
|
|
785
|
+
};
|
|
786
|
+
at.prototype.set = function(e, t) {
|
|
787
|
+
this.cache[e] = t;
|
|
788
|
+
};
|
|
789
|
+
var pr = {
|
|
775
790
|
create: function() {
|
|
776
|
-
return new
|
|
791
|
+
return new at();
|
|
777
792
|
}
|
|
778
|
-
},
|
|
779
|
-
variadic:
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
783
|
-
n = arguments[r];
|
|
784
|
-
for (var s in n)
|
|
785
|
-
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
786
|
-
}
|
|
787
|
-
return t;
|
|
788
|
-
}, Le.apply(this, arguments);
|
|
789
|
-
};
|
|
790
|
-
var y;
|
|
793
|
+
}, Fe = {
|
|
794
|
+
variadic: fr,
|
|
795
|
+
monadic: mr
|
|
796
|
+
}, y;
|
|
791
797
|
(function(e) {
|
|
792
798
|
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";
|
|
793
799
|
})(y || (y = {}));
|
|
794
|
-
var
|
|
800
|
+
var T;
|
|
795
801
|
(function(e) {
|
|
796
802
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
797
|
-
})(
|
|
798
|
-
var
|
|
803
|
+
})(T || (T = {}));
|
|
804
|
+
var he;
|
|
799
805
|
(function(e) {
|
|
800
806
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
801
|
-
})(
|
|
807
|
+
})(he || (he = {}));
|
|
802
808
|
function yt(e) {
|
|
803
|
-
return e.type ===
|
|
809
|
+
return e.type === T.literal;
|
|
804
810
|
}
|
|
805
|
-
function
|
|
806
|
-
return e.type ===
|
|
811
|
+
function br(e) {
|
|
812
|
+
return e.type === T.argument;
|
|
807
813
|
}
|
|
808
814
|
function qt(e) {
|
|
809
|
-
return e.type ===
|
|
815
|
+
return e.type === T.number;
|
|
810
816
|
}
|
|
811
817
|
function Qt(e) {
|
|
812
|
-
return e.type ===
|
|
818
|
+
return e.type === T.date;
|
|
813
819
|
}
|
|
814
820
|
function Jt(e) {
|
|
815
|
-
return e.type ===
|
|
821
|
+
return e.type === T.time;
|
|
816
822
|
}
|
|
817
823
|
function Yt(e) {
|
|
818
|
-
return e.type ===
|
|
824
|
+
return e.type === T.select;
|
|
819
825
|
}
|
|
820
826
|
function Kt(e) {
|
|
821
|
-
return e.type ===
|
|
827
|
+
return e.type === T.plural;
|
|
822
828
|
}
|
|
823
|
-
function
|
|
824
|
-
return e.type ===
|
|
829
|
+
function gr(e) {
|
|
830
|
+
return e.type === T.pound;
|
|
825
831
|
}
|
|
826
832
|
function en(e) {
|
|
827
|
-
return e.type ===
|
|
833
|
+
return e.type === T.tag;
|
|
828
834
|
}
|
|
829
835
|
function tn(e) {
|
|
830
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
836
|
+
return !!(e && typeof e == "object" && e.type === he.number);
|
|
831
837
|
}
|
|
832
|
-
function
|
|
833
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
838
|
+
function Qe(e) {
|
|
839
|
+
return !!(e && typeof e == "object" && e.type === he.dateTime);
|
|
834
840
|
}
|
|
835
|
-
var nn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
836
|
-
function
|
|
841
|
+
var nn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yr = /(?:[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;
|
|
842
|
+
function vr(e) {
|
|
837
843
|
var t = {};
|
|
838
|
-
return e.replace(
|
|
844
|
+
return e.replace(yr, function(n) {
|
|
839
845
|
var r = n.length;
|
|
840
846
|
switch (n[0]) {
|
|
841
847
|
case "G":
|
|
@@ -924,39 +930,29 @@ function xr(e) {
|
|
|
924
930
|
return "";
|
|
925
931
|
}), t;
|
|
926
932
|
}
|
|
927
|
-
var
|
|
928
|
-
|
|
929
|
-
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
930
|
-
n = arguments[r];
|
|
931
|
-
for (var s in n)
|
|
932
|
-
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
933
|
-
}
|
|
934
|
-
return t;
|
|
935
|
-
}, w.apply(this, arguments);
|
|
936
|
-
};
|
|
937
|
-
var Er = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
938
|
-
function Cr(e) {
|
|
933
|
+
var xr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
934
|
+
function Er(e) {
|
|
939
935
|
if (e.length === 0)
|
|
940
936
|
throw new Error("Number skeleton cannot be empty");
|
|
941
|
-
for (var t = e.split(
|
|
937
|
+
for (var t = e.split(xr).filter(function(f) {
|
|
942
938
|
return f.length > 0;
|
|
943
939
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
944
940
|
var s = i[r], o = s.split("/");
|
|
945
941
|
if (o.length === 0)
|
|
946
942
|
throw new Error("Invalid number skeleton");
|
|
947
|
-
for (var
|
|
948
|
-
var c =
|
|
943
|
+
for (var u = o[0], h = o.slice(1), a = 0, l = h; a < l.length; a++) {
|
|
944
|
+
var c = l[a];
|
|
949
945
|
if (c.length === 0)
|
|
950
946
|
throw new Error("Invalid number skeleton");
|
|
951
947
|
}
|
|
952
|
-
n.push({ stem:
|
|
948
|
+
n.push({ stem: u, options: h });
|
|
953
949
|
}
|
|
954
950
|
return n;
|
|
955
951
|
}
|
|
956
|
-
function
|
|
952
|
+
function Cr(e) {
|
|
957
953
|
return e.replace(/^(.*?)-/, "");
|
|
958
954
|
}
|
|
959
|
-
var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rn = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
955
|
+
var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, rn = /^(@+)?(\+|#+)?[rs]?$/g, _r = /(\*)(0+)|(#+)(0+)|(0+)/g, sn = /^(0+)$/;
|
|
960
956
|
function xt(e) {
|
|
961
957
|
var t = {};
|
|
962
958
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(rn, function(n, r, i) {
|
|
@@ -1003,7 +999,7 @@ function an(e) {
|
|
|
1003
999
|
};
|
|
1004
1000
|
}
|
|
1005
1001
|
}
|
|
1006
|
-
function
|
|
1002
|
+
function Tr(e) {
|
|
1007
1003
|
var t;
|
|
1008
1004
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1009
1005
|
notation: "engineering"
|
|
@@ -1021,7 +1017,7 @@ function Et(e) {
|
|
|
1021
1017
|
var t = {}, n = an(e);
|
|
1022
1018
|
return n || t;
|
|
1023
1019
|
}
|
|
1024
|
-
function
|
|
1020
|
+
function wr(e) {
|
|
1025
1021
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1026
1022
|
var i = r[n];
|
|
1027
1023
|
switch (i.stem) {
|
|
@@ -1045,7 +1041,7 @@ function Sr(e) {
|
|
|
1045
1041
|
continue;
|
|
1046
1042
|
case "measure-unit":
|
|
1047
1043
|
case "unit":
|
|
1048
|
-
t.style = "unit", t.unit =
|
|
1044
|
+
t.style = "unit", t.unit = Cr(i.options[0]);
|
|
1049
1045
|
continue;
|
|
1050
1046
|
case "compact-short":
|
|
1051
1047
|
case "K":
|
|
@@ -1056,13 +1052,13 @@ function Sr(e) {
|
|
|
1056
1052
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1057
1053
|
continue;
|
|
1058
1054
|
case "scientific":
|
|
1059
|
-
t =
|
|
1060
|
-
return
|
|
1055
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
|
1056
|
+
return E(E({}, h), Et(a));
|
|
1061
1057
|
}, {}));
|
|
1062
1058
|
continue;
|
|
1063
1059
|
case "engineering":
|
|
1064
|
-
t =
|
|
1065
|
-
return
|
|
1060
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
|
1061
|
+
return E(E({}, h), Et(a));
|
|
1066
1062
|
}, {}));
|
|
1067
1063
|
continue;
|
|
1068
1064
|
case "notation-simple":
|
|
@@ -1107,9 +1103,9 @@ function Sr(e) {
|
|
|
1107
1103
|
case "integer-width":
|
|
1108
1104
|
if (i.options.length > 1)
|
|
1109
1105
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1110
|
-
i.options[0].replace(
|
|
1106
|
+
i.options[0].replace(_r, function(h, a, l, c, f, d) {
|
|
1111
1107
|
if (a)
|
|
1112
|
-
t.minimumIntegerDigits =
|
|
1108
|
+
t.minimumIntegerDigits = l.length;
|
|
1113
1109
|
else {
|
|
1114
1110
|
if (c && f)
|
|
1115
1111
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1127,25 +1123,25 @@ function Sr(e) {
|
|
|
1127
1123
|
if (vt.test(i.stem)) {
|
|
1128
1124
|
if (i.options.length > 1)
|
|
1129
1125
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1130
|
-
i.stem.replace(vt, function(h, a,
|
|
1131
|
-
return
|
|
1126
|
+
i.stem.replace(vt, function(h, a, l, c, f, d) {
|
|
1127
|
+
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1132
1128
|
});
|
|
1133
1129
|
var s = i.options[0];
|
|
1134
|
-
s === "w" ? t =
|
|
1130
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), xt(s)));
|
|
1135
1131
|
continue;
|
|
1136
1132
|
}
|
|
1137
1133
|
if (rn.test(i.stem)) {
|
|
1138
|
-
t =
|
|
1134
|
+
t = E(E({}, t), xt(i.stem));
|
|
1139
1135
|
continue;
|
|
1140
1136
|
}
|
|
1141
1137
|
var o = an(i.stem);
|
|
1142
|
-
o && (t =
|
|
1143
|
-
var
|
|
1144
|
-
|
|
1138
|
+
o && (t = E(E({}, t), o));
|
|
1139
|
+
var u = Tr(i.stem);
|
|
1140
|
+
u && (t = E(E({}, t), u));
|
|
1145
1141
|
}
|
|
1146
1142
|
return t;
|
|
1147
1143
|
}
|
|
1148
|
-
var
|
|
1144
|
+
var we = {
|
|
1149
1145
|
"001": [
|
|
1150
1146
|
"H",
|
|
1151
1147
|
"h"
|
|
@@ -2560,14 +2556,14 @@ var Se = {
|
|
|
2560
2556
|
"h"
|
|
2561
2557
|
]
|
|
2562
2558
|
};
|
|
2563
|
-
function
|
|
2559
|
+
function Sr(e, t) {
|
|
2564
2560
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2565
2561
|
var i = e.charAt(r);
|
|
2566
2562
|
if (i === "j") {
|
|
2567
2563
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2568
2564
|
s++, r++;
|
|
2569
|
-
var o = 1 + (s & 1),
|
|
2570
|
-
for ((a == "H" || a == "k") && (
|
|
2565
|
+
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = Br(t);
|
|
2566
|
+
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2571
2567
|
n += h;
|
|
2572
2568
|
for (; o-- > 0; )
|
|
2573
2569
|
n = a + n;
|
|
@@ -2576,7 +2572,7 @@ function Br(e, t) {
|
|
|
2576
2572
|
}
|
|
2577
2573
|
return n;
|
|
2578
2574
|
}
|
|
2579
|
-
function
|
|
2575
|
+
function Br(e) {
|
|
2580
2576
|
var t = e.hourCycle;
|
|
2581
2577
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2582
2578
|
e.hourCycles && // @ts-ignore
|
|
@@ -2595,23 +2591,23 @@ function Hr(e) {
|
|
|
2595
2591
|
}
|
|
2596
2592
|
var n = e.language, r;
|
|
2597
2593
|
n !== "root" && (r = e.maximize().region);
|
|
2598
|
-
var i =
|
|
2594
|
+
var i = we[r || ""] || we[n || ""] || we["".concat(n, "-001")] || we["001"];
|
|
2599
2595
|
return i[0];
|
|
2600
2596
|
}
|
|
2601
|
-
var
|
|
2597
|
+
var je, Hr = new RegExp("^".concat(nn.source, "*")), Mr = new RegExp("".concat(nn.source, "*$"));
|
|
2602
2598
|
function x(e, t) {
|
|
2603
2599
|
return { start: e, end: t };
|
|
2604
2600
|
}
|
|
2605
|
-
var
|
|
2601
|
+
var Rr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Lr = !!String.fromCodePoint, Ar = !!Object.fromEntries, Or = !!String.prototype.codePointAt, Pr = !!String.prototype.trimStart, Nr = !!String.prototype.trimEnd, Ir = !!Number.isSafeInteger, kr = Ir ? Number.isSafeInteger : function(e) {
|
|
2606
2602
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2607
|
-
},
|
|
2603
|
+
}, Je = !0;
|
|
2608
2604
|
try {
|
|
2609
|
-
var
|
|
2610
|
-
|
|
2605
|
+
var $r = ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2606
|
+
Je = ((je = $r.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
|
2611
2607
|
} catch (e) {
|
|
2612
|
-
|
|
2608
|
+
Je = !1;
|
|
2613
2609
|
}
|
|
2614
|
-
var Ct =
|
|
2610
|
+
var Ct = Rr ? (
|
|
2615
2611
|
// Native
|
|
2616
2612
|
function(t, n, r) {
|
|
2617
2613
|
return t.startsWith(n, r);
|
|
@@ -2621,7 +2617,7 @@ var Ct = Lr ? (
|
|
|
2621
2617
|
function(t, n, r) {
|
|
2622
2618
|
return t.slice(r, r + n.length) === n;
|
|
2623
2619
|
}
|
|
2624
|
-
),
|
|
2620
|
+
), Ye = Lr ? String.fromCodePoint : (
|
|
2625
2621
|
// IE11
|
|
2626
2622
|
function() {
|
|
2627
2623
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
@@ -2635,17 +2631,17 @@ var Ct = Lr ? (
|
|
|
2635
2631
|
}
|
|
2636
2632
|
), _t = (
|
|
2637
2633
|
// native
|
|
2638
|
-
|
|
2634
|
+
Ar ? Object.fromEntries : (
|
|
2639
2635
|
// Ponyfill
|
|
2640
2636
|
function(t) {
|
|
2641
2637
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2642
|
-
var s = i[r], o = s[0],
|
|
2643
|
-
n[o] =
|
|
2638
|
+
var s = i[r], o = s[0], u = s[1];
|
|
2639
|
+
n[o] = u;
|
|
2644
2640
|
}
|
|
2645
2641
|
return n;
|
|
2646
2642
|
}
|
|
2647
2643
|
)
|
|
2648
|
-
), on =
|
|
2644
|
+
), on = Or ? (
|
|
2649
2645
|
// Native
|
|
2650
2646
|
function(t, n) {
|
|
2651
2647
|
return t.codePointAt(n);
|
|
@@ -2659,7 +2655,7 @@ var Ct = Lr ? (
|
|
|
2659
2655
|
return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2660
2656
|
}
|
|
2661
2657
|
}
|
|
2662
|
-
),
|
|
2658
|
+
), Ur = Pr ? (
|
|
2663
2659
|
// Native
|
|
2664
2660
|
function(t) {
|
|
2665
2661
|
return t.trimStart();
|
|
@@ -2667,9 +2663,9 @@ var Ct = Lr ? (
|
|
|
2667
2663
|
) : (
|
|
2668
2664
|
// Ponyfill
|
|
2669
2665
|
function(t) {
|
|
2670
|
-
return t.replace(
|
|
2666
|
+
return t.replace(Hr, "");
|
|
2671
2667
|
}
|
|
2672
|
-
),
|
|
2668
|
+
), Dr = Nr ? (
|
|
2673
2669
|
// Native
|
|
2674
2670
|
function(t) {
|
|
2675
2671
|
return t.trimEnd();
|
|
@@ -2677,32 +2673,32 @@ var Ct = Lr ? (
|
|
|
2677
2673
|
) : (
|
|
2678
2674
|
// Ponyfill
|
|
2679
2675
|
function(t) {
|
|
2680
|
-
return t.replace(
|
|
2676
|
+
return t.replace(Mr, "");
|
|
2681
2677
|
}
|
|
2682
2678
|
);
|
|
2683
|
-
function
|
|
2679
|
+
function ln(e, t) {
|
|
2684
2680
|
return new RegExp(e, t);
|
|
2685
2681
|
}
|
|
2686
|
-
var
|
|
2687
|
-
if (
|
|
2688
|
-
var Tt =
|
|
2689
|
-
|
|
2682
|
+
var Ke;
|
|
2683
|
+
if (Je) {
|
|
2684
|
+
var Tt = ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2685
|
+
Ke = function(t, n) {
|
|
2690
2686
|
var r;
|
|
2691
2687
|
Tt.lastIndex = n;
|
|
2692
2688
|
var i = Tt.exec(t);
|
|
2693
2689
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2694
2690
|
};
|
|
2695
2691
|
} else
|
|
2696
|
-
|
|
2692
|
+
Ke = function(t, n) {
|
|
2697
2693
|
for (var r = []; ; ) {
|
|
2698
2694
|
var i = on(t, n);
|
|
2699
|
-
if (i === void 0 ||
|
|
2695
|
+
if (i === void 0 || un(i) || Vr(i))
|
|
2700
2696
|
break;
|
|
2701
2697
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2702
2698
|
}
|
|
2703
|
-
return
|
|
2699
|
+
return Ye.apply(void 0, r);
|
|
2704
2700
|
};
|
|
2705
|
-
var
|
|
2701
|
+
var Gr = (
|
|
2706
2702
|
/** @class */
|
|
2707
2703
|
function() {
|
|
2708
2704
|
function e(t, n) {
|
|
@@ -2724,16 +2720,16 @@ var Fr = (
|
|
|
2724
2720
|
if (s === 125 && t > 0)
|
|
2725
2721
|
break;
|
|
2726
2722
|
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2727
|
-
var
|
|
2723
|
+
var u = this.clonePosition();
|
|
2728
2724
|
this.bump(), i.push({
|
|
2729
|
-
type:
|
|
2730
|
-
location: x(
|
|
2725
|
+
type: T.pound,
|
|
2726
|
+
location: x(u, this.clonePosition())
|
|
2731
2727
|
});
|
|
2732
2728
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2733
2729
|
if (r)
|
|
2734
2730
|
break;
|
|
2735
2731
|
return this.error(y.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
2736
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2732
|
+
} else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
|
|
2737
2733
|
var o = this.parseTag(t, n);
|
|
2738
2734
|
if (o.err)
|
|
2739
2735
|
return o;
|
|
@@ -2754,7 +2750,7 @@ var Fr = (
|
|
|
2754
2750
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2755
2751
|
return {
|
|
2756
2752
|
val: {
|
|
2757
|
-
type:
|
|
2753
|
+
type: T.literal,
|
|
2758
2754
|
value: "<".concat(i, "/>"),
|
|
2759
2755
|
location: x(r, this.clonePosition())
|
|
2760
2756
|
},
|
|
@@ -2764,27 +2760,27 @@ var Fr = (
|
|
|
2764
2760
|
var s = this.parseMessage(t + 1, n, !0);
|
|
2765
2761
|
if (s.err)
|
|
2766
2762
|
return s;
|
|
2767
|
-
var o = s.val,
|
|
2763
|
+
var o = s.val, u = this.clonePosition();
|
|
2768
2764
|
if (this.bumpIf("</")) {
|
|
2769
|
-
if (this.isEOF() || !
|
|
2770
|
-
return this.error(y.INVALID_TAG, x(
|
|
2765
|
+
if (this.isEOF() || !et(this.char()))
|
|
2766
|
+
return this.error(y.INVALID_TAG, x(u, this.clonePosition()));
|
|
2771
2767
|
var h = this.clonePosition(), a = this.parseTagName();
|
|
2772
2768
|
return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, x(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2773
2769
|
val: {
|
|
2774
|
-
type:
|
|
2770
|
+
type: T.tag,
|
|
2775
2771
|
value: i,
|
|
2776
2772
|
children: o,
|
|
2777
2773
|
location: x(r, this.clonePosition())
|
|
2778
2774
|
},
|
|
2779
2775
|
err: null
|
|
2780
|
-
} : this.error(y.INVALID_TAG, x(
|
|
2776
|
+
} : this.error(y.INVALID_TAG, x(u, this.clonePosition())));
|
|
2781
2777
|
} else
|
|
2782
2778
|
return this.error(y.UNCLOSED_TAG, x(r, this.clonePosition()));
|
|
2783
2779
|
} else
|
|
2784
2780
|
return this.error(y.INVALID_TAG, x(r, this.clonePosition()));
|
|
2785
2781
|
}, e.prototype.parseTagName = function() {
|
|
2786
2782
|
var t = this.offset();
|
|
2787
|
-
for (this.bump(); !this.isEOF() &&
|
|
2783
|
+
for (this.bump(); !this.isEOF() && jr(this.char()); )
|
|
2788
2784
|
this.bump();
|
|
2789
2785
|
return this.message.slice(t, this.offset());
|
|
2790
2786
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -2799,21 +2795,21 @@ var Fr = (
|
|
|
2799
2795
|
i += o;
|
|
2800
2796
|
continue;
|
|
2801
2797
|
}
|
|
2802
|
-
var
|
|
2803
|
-
if (
|
|
2804
|
-
i +=
|
|
2798
|
+
var u = this.tryParseLeftAngleBracket();
|
|
2799
|
+
if (u) {
|
|
2800
|
+
i += u;
|
|
2805
2801
|
continue;
|
|
2806
2802
|
}
|
|
2807
2803
|
break;
|
|
2808
2804
|
}
|
|
2809
2805
|
var h = x(r, this.clonePosition());
|
|
2810
2806
|
return {
|
|
2811
|
-
val: { type:
|
|
2807
|
+
val: { type: T.literal, value: i, location: h },
|
|
2812
2808
|
err: null
|
|
2813
2809
|
};
|
|
2814
2810
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2815
2811
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2816
|
-
!
|
|
2812
|
+
!Fr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2817
2813
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2818
2814
|
if (this.isEOF() || this.char() !== 39)
|
|
2819
2815
|
return null;
|
|
@@ -2847,12 +2843,12 @@ var Fr = (
|
|
|
2847
2843
|
n.push(r);
|
|
2848
2844
|
this.bump();
|
|
2849
2845
|
}
|
|
2850
|
-
return
|
|
2846
|
+
return Ye.apply(void 0, n);
|
|
2851
2847
|
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
2852
2848
|
if (this.isEOF())
|
|
2853
2849
|
return null;
|
|
2854
2850
|
var r = this.char();
|
|
2855
|
-
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(),
|
|
2851
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Ye(r));
|
|
2856
2852
|
}, e.prototype.parseArgument = function(t, n) {
|
|
2857
2853
|
var r = this.clonePosition();
|
|
2858
2854
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2868,7 +2864,7 @@ var Fr = (
|
|
|
2868
2864
|
case 125:
|
|
2869
2865
|
return this.bump(), {
|
|
2870
2866
|
val: {
|
|
2871
|
-
type:
|
|
2867
|
+
type: T.argument,
|
|
2872
2868
|
// value does not include the opening and closing braces.
|
|
2873
2869
|
value: i,
|
|
2874
2870
|
location: x(r, this.clonePosition())
|
|
@@ -2881,13 +2877,13 @@ var Fr = (
|
|
|
2881
2877
|
return this.error(y.MALFORMED_ARGUMENT, x(r, this.clonePosition()));
|
|
2882
2878
|
}
|
|
2883
2879
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2884
|
-
var t = this.clonePosition(), n = this.offset(), r =
|
|
2880
|
+
var t = this.clonePosition(), n = this.offset(), r = Ke(this.message, n), i = n + r.length;
|
|
2885
2881
|
this.bumpTo(i);
|
|
2886
2882
|
var s = this.clonePosition(), o = x(t, s);
|
|
2887
2883
|
return { value: r, location: o };
|
|
2888
2884
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
2889
|
-
var s, o = this.clonePosition(),
|
|
2890
|
-
switch (
|
|
2885
|
+
var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2886
|
+
switch (u) {
|
|
2891
2887
|
case "":
|
|
2892
2888
|
return this.error(y.EXPECT_ARGUMENT_TYPE, x(o, h));
|
|
2893
2889
|
case "number":
|
|
@@ -2897,49 +2893,49 @@ var Fr = (
|
|
|
2897
2893
|
var a = null;
|
|
2898
2894
|
if (this.bumpIf(",")) {
|
|
2899
2895
|
this.bumpSpace();
|
|
2900
|
-
var
|
|
2896
|
+
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2901
2897
|
if (c.err)
|
|
2902
2898
|
return c;
|
|
2903
|
-
var f =
|
|
2899
|
+
var f = Dr(c.val);
|
|
2904
2900
|
if (f.length === 0)
|
|
2905
2901
|
return this.error(y.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
2906
|
-
var d = x(
|
|
2902
|
+
var d = x(l, this.clonePosition());
|
|
2907
2903
|
a = { style: f, styleLocation: d };
|
|
2908
2904
|
}
|
|
2909
2905
|
var g = this.tryParseArgumentClose(i);
|
|
2910
2906
|
if (g.err)
|
|
2911
2907
|
return g;
|
|
2912
|
-
var
|
|
2908
|
+
var C = x(i, this.clonePosition());
|
|
2913
2909
|
if (a && Ct(a == null ? void 0 : a.style, "::", 0)) {
|
|
2914
|
-
var H =
|
|
2915
|
-
if (
|
|
2910
|
+
var H = Ur(a.style.slice(2));
|
|
2911
|
+
if (u === "number") {
|
|
2916
2912
|
var c = this.parseNumberSkeletonFromString(H, a.styleLocation);
|
|
2917
2913
|
return c.err ? c : {
|
|
2918
|
-
val: { type:
|
|
2914
|
+
val: { type: T.number, value: r, location: C, style: c.val },
|
|
2919
2915
|
err: null
|
|
2920
2916
|
};
|
|
2921
2917
|
} else {
|
|
2922
2918
|
if (H.length === 0)
|
|
2923
|
-
return this.error(y.EXPECT_DATE_TIME_SKELETON,
|
|
2919
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, C);
|
|
2924
2920
|
var S = H;
|
|
2925
|
-
this.locale && (S =
|
|
2921
|
+
this.locale && (S = Sr(H, this.locale));
|
|
2926
2922
|
var f = {
|
|
2927
|
-
type:
|
|
2923
|
+
type: he.dateTime,
|
|
2928
2924
|
pattern: S,
|
|
2929
2925
|
location: a.styleLocation,
|
|
2930
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2931
|
-
}, B =
|
|
2926
|
+
parsedOptions: this.shouldParseSkeletons ? vr(S) : {}
|
|
2927
|
+
}, B = u === "date" ? T.date : T.time;
|
|
2932
2928
|
return {
|
|
2933
|
-
val: { type: B, value: r, location:
|
|
2929
|
+
val: { type: B, value: r, location: C, style: f },
|
|
2934
2930
|
err: null
|
|
2935
2931
|
};
|
|
2936
2932
|
}
|
|
2937
2933
|
}
|
|
2938
2934
|
return {
|
|
2939
2935
|
val: {
|
|
2940
|
-
type:
|
|
2936
|
+
type: u === "number" ? T.number : u === "date" ? T.date : T.time,
|
|
2941
2937
|
value: r,
|
|
2942
|
-
location:
|
|
2938
|
+
location: C,
|
|
2943
2939
|
style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
|
|
2944
2940
|
},
|
|
2945
2941
|
err: null
|
|
@@ -2948,12 +2944,12 @@ var Fr = (
|
|
|
2948
2944
|
case "plural":
|
|
2949
2945
|
case "selectordinal":
|
|
2950
2946
|
case "select": {
|
|
2951
|
-
var
|
|
2947
|
+
var w = this.clonePosition();
|
|
2952
2948
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2953
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, x(
|
|
2949
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, x(w, E({}, w)));
|
|
2954
2950
|
this.bumpSpace();
|
|
2955
2951
|
var V = this.parseIdentifierIfPossible(), M = 0;
|
|
2956
|
-
if (
|
|
2952
|
+
if (u !== "select" && V.value === "offset") {
|
|
2957
2953
|
if (!this.bumpIf(":"))
|
|
2958
2954
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
2959
2955
|
this.bumpSpace();
|
|
@@ -2962,16 +2958,16 @@ var Fr = (
|
|
|
2962
2958
|
return c;
|
|
2963
2959
|
this.bumpSpace(), V = this.parseIdentifierIfPossible(), M = c.val;
|
|
2964
2960
|
}
|
|
2965
|
-
var A = this.tryParsePluralOrSelectOptions(t,
|
|
2961
|
+
var A = this.tryParsePluralOrSelectOptions(t, u, n, V);
|
|
2966
2962
|
if (A.err)
|
|
2967
2963
|
return A;
|
|
2968
2964
|
var g = this.tryParseArgumentClose(i);
|
|
2969
2965
|
if (g.err)
|
|
2970
2966
|
return g;
|
|
2971
2967
|
var Z = x(i, this.clonePosition());
|
|
2972
|
-
return
|
|
2968
|
+
return u === "select" ? {
|
|
2973
2969
|
val: {
|
|
2974
|
-
type:
|
|
2970
|
+
type: T.select,
|
|
2975
2971
|
value: r,
|
|
2976
2972
|
options: _t(A.val),
|
|
2977
2973
|
location: Z
|
|
@@ -2979,11 +2975,11 @@ var Fr = (
|
|
|
2979
2975
|
err: null
|
|
2980
2976
|
} : {
|
|
2981
2977
|
val: {
|
|
2982
|
-
type:
|
|
2978
|
+
type: T.plural,
|
|
2983
2979
|
value: r,
|
|
2984
2980
|
options: _t(A.val),
|
|
2985
2981
|
offset: M,
|
|
2986
|
-
pluralType:
|
|
2982
|
+
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2987
2983
|
location: Z
|
|
2988
2984
|
},
|
|
2989
2985
|
err: null
|
|
@@ -3032,33 +3028,33 @@ var Fr = (
|
|
|
3032
3028
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3033
3029
|
var r = [];
|
|
3034
3030
|
try {
|
|
3035
|
-
r =
|
|
3031
|
+
r = Er(t);
|
|
3036
3032
|
} catch (i) {
|
|
3037
3033
|
return this.error(y.INVALID_NUMBER_SKELETON, n);
|
|
3038
3034
|
}
|
|
3039
3035
|
return {
|
|
3040
3036
|
val: {
|
|
3041
|
-
type:
|
|
3037
|
+
type: he.number,
|
|
3042
3038
|
tokens: r,
|
|
3043
3039
|
location: n,
|
|
3044
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3040
|
+
parsedOptions: this.shouldParseSkeletons ? wr(r) : {}
|
|
3045
3041
|
},
|
|
3046
3042
|
err: null
|
|
3047
3043
|
};
|
|
3048
3044
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3049
|
-
for (var s, o = !1,
|
|
3045
|
+
for (var s, o = !1, u = [], h = /* @__PURE__ */ new Set(), a = i.value, l = i.location; ; ) {
|
|
3050
3046
|
if (a.length === 0) {
|
|
3051
3047
|
var c = this.clonePosition();
|
|
3052
3048
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3053
3049
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3054
3050
|
if (f.err)
|
|
3055
3051
|
return f;
|
|
3056
|
-
|
|
3052
|
+
l = x(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
|
3057
3053
|
} else
|
|
3058
3054
|
break;
|
|
3059
3055
|
}
|
|
3060
3056
|
if (h.has(a))
|
|
3061
|
-
return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3057
|
+
return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3062
3058
|
a === "other" && (o = !0), this.bumpSpace();
|
|
3063
3059
|
var d = this.clonePosition();
|
|
3064
3060
|
if (!this.bumpIf("{"))
|
|
@@ -3066,30 +3062,30 @@ var Fr = (
|
|
|
3066
3062
|
var g = this.parseMessage(t + 1, n, r);
|
|
3067
3063
|
if (g.err)
|
|
3068
3064
|
return g;
|
|
3069
|
-
var
|
|
3070
|
-
if (
|
|
3071
|
-
return
|
|
3072
|
-
|
|
3065
|
+
var C = this.tryParseArgumentClose(d);
|
|
3066
|
+
if (C.err)
|
|
3067
|
+
return C;
|
|
3068
|
+
u.push([
|
|
3073
3069
|
a,
|
|
3074
3070
|
{
|
|
3075
3071
|
value: g.val,
|
|
3076
3072
|
location: x(d, this.clonePosition())
|
|
3077
3073
|
}
|
|
3078
|
-
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value,
|
|
3074
|
+
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, l = s.location;
|
|
3079
3075
|
}
|
|
3080
|
-
return
|
|
3076
|
+
return u.length === 0 ? this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
3081
3077
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3082
3078
|
var r = 1, i = this.clonePosition();
|
|
3083
3079
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3084
3080
|
for (var s = !1, o = 0; !this.isEOF(); ) {
|
|
3085
|
-
var
|
|
3086
|
-
if (
|
|
3087
|
-
s = !0, o = o * 10 + (
|
|
3081
|
+
var u = this.char();
|
|
3082
|
+
if (u >= 48 && u <= 57)
|
|
3083
|
+
s = !0, o = o * 10 + (u - 48), this.bump();
|
|
3088
3084
|
else
|
|
3089
3085
|
break;
|
|
3090
3086
|
}
|
|
3091
3087
|
var h = x(i, this.clonePosition());
|
|
3092
|
-
return s ? (o *= r,
|
|
3088
|
+
return s ? (o *= r, kr(o) ? { val: o, err: null } : this.error(n, h)) : this.error(t, h);
|
|
3093
3089
|
}, e.prototype.offset = function() {
|
|
3094
3090
|
return this.position.offset;
|
|
3095
3091
|
}, e.prototype.isEOF = function() {
|
|
@@ -3145,7 +3141,7 @@ var Fr = (
|
|
|
3145
3141
|
break;
|
|
3146
3142
|
}
|
|
3147
3143
|
}, e.prototype.bumpSpace = function() {
|
|
3148
|
-
for (; !this.isEOF() &&
|
|
3144
|
+
for (; !this.isEOF() && un(this.char()); )
|
|
3149
3145
|
this.bump();
|
|
3150
3146
|
}, e.prototype.peek = function() {
|
|
3151
3147
|
if (this.isEOF())
|
|
@@ -3155,47 +3151,47 @@ var Fr = (
|
|
|
3155
3151
|
}, e;
|
|
3156
3152
|
}()
|
|
3157
3153
|
);
|
|
3158
|
-
function
|
|
3154
|
+
function et(e) {
|
|
3159
3155
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3160
3156
|
}
|
|
3161
|
-
function
|
|
3162
|
-
return
|
|
3157
|
+
function Fr(e) {
|
|
3158
|
+
return et(e) || e === 47;
|
|
3163
3159
|
}
|
|
3164
|
-
function
|
|
3160
|
+
function jr(e) {
|
|
3165
3161
|
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;
|
|
3166
3162
|
}
|
|
3167
|
-
function
|
|
3163
|
+
function un(e) {
|
|
3168
3164
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3169
3165
|
}
|
|
3170
|
-
function
|
|
3166
|
+
function Vr(e) {
|
|
3171
3167
|
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;
|
|
3172
3168
|
}
|
|
3173
|
-
function
|
|
3169
|
+
function tt(e) {
|
|
3174
3170
|
e.forEach(function(t) {
|
|
3175
3171
|
if (delete t.location, Yt(t) || Kt(t))
|
|
3176
3172
|
for (var n in t.options)
|
|
3177
|
-
delete t.options[n].location,
|
|
3173
|
+
delete t.options[n].location, tt(t.options[n].value);
|
|
3178
3174
|
else
|
|
3179
|
-
qt(t) && tn(t.style) || (Qt(t) || Jt(t)) &&
|
|
3175
|
+
qt(t) && tn(t.style) || (Qt(t) || Jt(t)) && Qe(t.style) ? delete t.style.location : en(t) && tt(t.children);
|
|
3180
3176
|
});
|
|
3181
3177
|
}
|
|
3182
|
-
function
|
|
3183
|
-
t === void 0 && (t = {}), t =
|
|
3184
|
-
var n = new
|
|
3178
|
+
function zr(e, t) {
|
|
3179
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3180
|
+
var n = new Gr(e, t).parse();
|
|
3185
3181
|
if (n.err) {
|
|
3186
3182
|
var r = SyntaxError(y[n.err.kind]);
|
|
3187
3183
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3188
3184
|
}
|
|
3189
|
-
return t != null && t.captureLocation ||
|
|
3185
|
+
return t != null && t.captureLocation || tt(n.val), n.val;
|
|
3190
3186
|
}
|
|
3191
|
-
var
|
|
3187
|
+
var ce;
|
|
3192
3188
|
(function(e) {
|
|
3193
3189
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3194
|
-
})(
|
|
3195
|
-
var
|
|
3190
|
+
})(ce || (ce = {}));
|
|
3191
|
+
var Pe = (
|
|
3196
3192
|
/** @class */
|
|
3197
3193
|
function(e) {
|
|
3198
|
-
|
|
3194
|
+
Oe(t, e);
|
|
3199
3195
|
function t(n, r, i) {
|
|
3200
3196
|
var s = e.call(this, n) || this;
|
|
3201
3197
|
return s.code = r, s.originalMessage = i, s;
|
|
@@ -3207,44 +3203,44 @@ var Ie = (
|
|
|
3207
3203
|
), wt = (
|
|
3208
3204
|
/** @class */
|
|
3209
3205
|
function(e) {
|
|
3210
|
-
|
|
3206
|
+
Oe(t, e);
|
|
3211
3207
|
function t(n, r, i, s) {
|
|
3212
|
-
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3208
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, s) || this;
|
|
3213
3209
|
}
|
|
3214
3210
|
return t;
|
|
3215
|
-
}(
|
|
3216
|
-
),
|
|
3211
|
+
}(Pe)
|
|
3212
|
+
), Zr = (
|
|
3217
3213
|
/** @class */
|
|
3218
3214
|
function(e) {
|
|
3219
|
-
|
|
3215
|
+
Oe(t, e);
|
|
3220
3216
|
function t(n, r, i) {
|
|
3221
|
-
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r),
|
|
3217
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ce.INVALID_VALUE, i) || this;
|
|
3222
3218
|
}
|
|
3223
3219
|
return t;
|
|
3224
|
-
}(
|
|
3225
|
-
),
|
|
3220
|
+
}(Pe)
|
|
3221
|
+
), Xr = (
|
|
3226
3222
|
/** @class */
|
|
3227
3223
|
function(e) {
|
|
3228
|
-
|
|
3224
|
+
Oe(t, e);
|
|
3229
3225
|
function t(n, r) {
|
|
3230
|
-
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'),
|
|
3226
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ce.MISSING_VALUE, r) || this;
|
|
3231
3227
|
}
|
|
3232
3228
|
return t;
|
|
3233
|
-
}(
|
|
3229
|
+
}(Pe)
|
|
3234
3230
|
), N;
|
|
3235
3231
|
(function(e) {
|
|
3236
3232
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3237
3233
|
})(N || (N = {}));
|
|
3238
|
-
function
|
|
3234
|
+
function Wr(e) {
|
|
3239
3235
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3240
3236
|
var r = t[t.length - 1];
|
|
3241
3237
|
return !r || r.type !== N.literal || n.type !== N.literal ? t.push(n) : r.value += n.value, t;
|
|
3242
3238
|
}, []);
|
|
3243
3239
|
}
|
|
3244
|
-
function
|
|
3240
|
+
function qr(e) {
|
|
3245
3241
|
return typeof e == "function";
|
|
3246
3242
|
}
|
|
3247
|
-
function
|
|
3243
|
+
function Be(e, t, n, r, i, s, o) {
|
|
3248
3244
|
if (e.length === 1 && yt(e[0]))
|
|
3249
3245
|
return [
|
|
3250
3246
|
{
|
|
@@ -3252,107 +3248,107 @@ function He(e, t, n, r, i, s, o) {
|
|
|
3252
3248
|
value: e[0].value
|
|
3253
3249
|
}
|
|
3254
3250
|
];
|
|
3255
|
-
for (var
|
|
3256
|
-
var
|
|
3257
|
-
if (yt(
|
|
3258
|
-
|
|
3251
|
+
for (var u = [], h = 0, a = e; h < a.length; h++) {
|
|
3252
|
+
var l = a[h];
|
|
3253
|
+
if (yt(l)) {
|
|
3254
|
+
u.push({
|
|
3259
3255
|
type: N.literal,
|
|
3260
|
-
value:
|
|
3256
|
+
value: l.value
|
|
3261
3257
|
});
|
|
3262
3258
|
continue;
|
|
3263
3259
|
}
|
|
3264
|
-
if (
|
|
3265
|
-
typeof s == "number" &&
|
|
3260
|
+
if (gr(l)) {
|
|
3261
|
+
typeof s == "number" && u.push({
|
|
3266
3262
|
type: N.literal,
|
|
3267
3263
|
value: n.getNumberFormat(t).format(s)
|
|
3268
3264
|
});
|
|
3269
3265
|
continue;
|
|
3270
3266
|
}
|
|
3271
|
-
var c =
|
|
3267
|
+
var c = l.value;
|
|
3272
3268
|
if (!(i && c in i))
|
|
3273
|
-
throw new
|
|
3269
|
+
throw new Xr(c, o);
|
|
3274
3270
|
var f = i[c];
|
|
3275
|
-
if (
|
|
3276
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3271
|
+
if (br(l)) {
|
|
3272
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3277
3273
|
type: typeof f == "string" ? N.literal : N.object,
|
|
3278
3274
|
value: f
|
|
3279
3275
|
});
|
|
3280
3276
|
continue;
|
|
3281
3277
|
}
|
|
3282
|
-
if (Qt(
|
|
3283
|
-
var d = typeof
|
|
3284
|
-
|
|
3278
|
+
if (Qt(l)) {
|
|
3279
|
+
var d = typeof l.style == "string" ? r.date[l.style] : Qe(l.style) ? l.style.parsedOptions : void 0;
|
|
3280
|
+
u.push({
|
|
3285
3281
|
type: N.literal,
|
|
3286
3282
|
value: n.getDateTimeFormat(t, d).format(f)
|
|
3287
3283
|
});
|
|
3288
3284
|
continue;
|
|
3289
3285
|
}
|
|
3290
|
-
if (Jt(
|
|
3291
|
-
var d = typeof
|
|
3292
|
-
|
|
3286
|
+
if (Jt(l)) {
|
|
3287
|
+
var d = typeof l.style == "string" ? r.time[l.style] : Qe(l.style) ? l.style.parsedOptions : r.time.medium;
|
|
3288
|
+
u.push({
|
|
3293
3289
|
type: N.literal,
|
|
3294
3290
|
value: n.getDateTimeFormat(t, d).format(f)
|
|
3295
3291
|
});
|
|
3296
3292
|
continue;
|
|
3297
3293
|
}
|
|
3298
|
-
if (qt(
|
|
3299
|
-
var d = typeof
|
|
3300
|
-
d && d.scale && (f = f * (d.scale || 1)),
|
|
3294
|
+
if (qt(l)) {
|
|
3295
|
+
var d = typeof l.style == "string" ? r.number[l.style] : tn(l.style) ? l.style.parsedOptions : void 0;
|
|
3296
|
+
d && d.scale && (f = f * (d.scale || 1)), u.push({
|
|
3301
3297
|
type: N.literal,
|
|
3302
3298
|
value: n.getNumberFormat(t, d).format(f)
|
|
3303
3299
|
});
|
|
3304
3300
|
continue;
|
|
3305
3301
|
}
|
|
3306
|
-
if (en(
|
|
3307
|
-
var g =
|
|
3308
|
-
if (!
|
|
3309
|
-
throw new
|
|
3310
|
-
var S =
|
|
3302
|
+
if (en(l)) {
|
|
3303
|
+
var g = l.children, C = l.value, H = i[C];
|
|
3304
|
+
if (!qr(H))
|
|
3305
|
+
throw new Zr(C, "function", o);
|
|
3306
|
+
var S = Be(g, t, n, r, i, s), B = H(S.map(function(M) {
|
|
3311
3307
|
return M.value;
|
|
3312
3308
|
}));
|
|
3313
|
-
Array.isArray(B) || (B = [B]),
|
|
3309
|
+
Array.isArray(B) || (B = [B]), u.push.apply(u, B.map(function(M) {
|
|
3314
3310
|
return {
|
|
3315
3311
|
type: typeof M == "string" ? N.literal : N.object,
|
|
3316
3312
|
value: M
|
|
3317
3313
|
};
|
|
3318
3314
|
}));
|
|
3319
3315
|
}
|
|
3320
|
-
if (Yt(
|
|
3321
|
-
var
|
|
3322
|
-
if (!
|
|
3323
|
-
throw new wt(
|
|
3324
|
-
|
|
3316
|
+
if (Yt(l)) {
|
|
3317
|
+
var w = l.options[f] || l.options.other;
|
|
3318
|
+
if (!w)
|
|
3319
|
+
throw new wt(l.value, f, Object.keys(l.options), o);
|
|
3320
|
+
u.push.apply(u, Be(w.value, t, n, r, i));
|
|
3325
3321
|
continue;
|
|
3326
3322
|
}
|
|
3327
|
-
if (Kt(
|
|
3328
|
-
var
|
|
3329
|
-
if (!
|
|
3323
|
+
if (Kt(l)) {
|
|
3324
|
+
var w = l.options["=".concat(f)];
|
|
3325
|
+
if (!w) {
|
|
3330
3326
|
if (!Intl.PluralRules)
|
|
3331
|
-
throw new
|
|
3327
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
3332
3328
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3333
|
-
`,
|
|
3334
|
-
var V = n.getPluralRules(t, { type:
|
|
3335
|
-
|
|
3329
|
+
`, ce.MISSING_INTL_API, o);
|
|
3330
|
+
var V = n.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3331
|
+
w = l.options[V] || l.options.other;
|
|
3336
3332
|
}
|
|
3337
|
-
if (!
|
|
3338
|
-
throw new wt(
|
|
3339
|
-
|
|
3333
|
+
if (!w)
|
|
3334
|
+
throw new wt(l.value, f, Object.keys(l.options), o);
|
|
3335
|
+
u.push.apply(u, Be(w.value, t, n, r, i, f - (l.offset || 0)));
|
|
3340
3336
|
continue;
|
|
3341
3337
|
}
|
|
3342
3338
|
}
|
|
3343
|
-
return
|
|
3339
|
+
return Wr(u);
|
|
3344
3340
|
}
|
|
3345
|
-
function
|
|
3346
|
-
return t ?
|
|
3347
|
-
return n[r] =
|
|
3341
|
+
function Qr(e, t) {
|
|
3342
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3343
|
+
return n[r] = E(E({}, e[r]), t[r] || {}), n;
|
|
3348
3344
|
}, {})) : e;
|
|
3349
3345
|
}
|
|
3350
|
-
function
|
|
3346
|
+
function Jr(e, t) {
|
|
3351
3347
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3352
|
-
return n[r] =
|
|
3353
|
-
},
|
|
3348
|
+
return n[r] = Qr(e[r], t[r]), n;
|
|
3349
|
+
}, E({}, e)) : e;
|
|
3354
3350
|
}
|
|
3355
|
-
function
|
|
3351
|
+
function Ve(e) {
|
|
3356
3352
|
return {
|
|
3357
3353
|
create: function() {
|
|
3358
3354
|
return {
|
|
@@ -3366,39 +3362,39 @@ function Ze(e) {
|
|
|
3366
3362
|
}
|
|
3367
3363
|
};
|
|
3368
3364
|
}
|
|
3369
|
-
function
|
|
3365
|
+
function Yr(e) {
|
|
3370
3366
|
return e === void 0 && (e = {
|
|
3371
3367
|
number: {},
|
|
3372
3368
|
dateTime: {},
|
|
3373
3369
|
pluralRules: {}
|
|
3374
3370
|
}), {
|
|
3375
|
-
getNumberFormat:
|
|
3371
|
+
getNumberFormat: Ge(function() {
|
|
3376
3372
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3377
3373
|
n[r] = arguments[r];
|
|
3378
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3374
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], n, !1)))();
|
|
3379
3375
|
}, {
|
|
3380
|
-
cache:
|
|
3381
|
-
strategy:
|
|
3376
|
+
cache: Ve(e.number),
|
|
3377
|
+
strategy: Fe.variadic
|
|
3382
3378
|
}),
|
|
3383
|
-
getDateTimeFormat:
|
|
3379
|
+
getDateTimeFormat: Ge(function() {
|
|
3384
3380
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3385
3381
|
n[r] = arguments[r];
|
|
3386
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3382
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], n, !1)))();
|
|
3387
3383
|
}, {
|
|
3388
|
-
cache:
|
|
3389
|
-
strategy:
|
|
3384
|
+
cache: Ve(e.dateTime),
|
|
3385
|
+
strategy: Fe.variadic
|
|
3390
3386
|
}),
|
|
3391
|
-
getPluralRules:
|
|
3387
|
+
getPluralRules: Ge(function() {
|
|
3392
3388
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3393
3389
|
n[r] = arguments[r];
|
|
3394
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3390
|
+
return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], n, !1)))();
|
|
3395
3391
|
}, {
|
|
3396
|
-
cache:
|
|
3397
|
-
strategy:
|
|
3392
|
+
cache: Ve(e.pluralRules),
|
|
3393
|
+
strategy: Fe.variadic
|
|
3398
3394
|
})
|
|
3399
3395
|
};
|
|
3400
3396
|
}
|
|
3401
|
-
var
|
|
3397
|
+
var Kr = (
|
|
3402
3398
|
/** @class */
|
|
3403
3399
|
function() {
|
|
3404
3400
|
function e(t, n, r, i) {
|
|
@@ -3412,12 +3408,12 @@ var ei = (
|
|
|
3412
3408
|
var a = s.formatToParts(h);
|
|
3413
3409
|
if (a.length === 1)
|
|
3414
3410
|
return a[0].value;
|
|
3415
|
-
var
|
|
3411
|
+
var l = a.reduce(function(c, f) {
|
|
3416
3412
|
return !c.length || f.type !== N.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3417
3413
|
}, []);
|
|
3418
|
-
return
|
|
3414
|
+
return l.length <= 1 ? l[0] || "" : l;
|
|
3419
3415
|
}, this.formatToParts = function(h) {
|
|
3420
|
-
return
|
|
3416
|
+
return Be(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3421
3417
|
}, this.resolvedOptions = function() {
|
|
3422
3418
|
var h;
|
|
3423
3419
|
return {
|
|
@@ -3430,13 +3426,13 @@ var ei = (
|
|
|
3430
3426
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3431
3427
|
var o = i || {};
|
|
3432
3428
|
o.formatters;
|
|
3433
|
-
var
|
|
3434
|
-
this.ast = e.__parse(t,
|
|
3429
|
+
var u = ur(o, ["formatters"]);
|
|
3430
|
+
this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
|
|
3435
3431
|
} else
|
|
3436
3432
|
this.ast = t;
|
|
3437
3433
|
if (!Array.isArray(this.ast))
|
|
3438
3434
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3439
|
-
this.formats =
|
|
3435
|
+
this.formats = Jr(e.formats, r), this.formatters = i && i.formatters || Yr(this.formatterCache);
|
|
3440
3436
|
}
|
|
3441
3437
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3442
3438
|
get: function() {
|
|
@@ -3449,7 +3445,7 @@ var ei = (
|
|
|
3449
3445
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3450
3446
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3451
3447
|
}
|
|
3452
|
-
}, e.__parse =
|
|
3448
|
+
}, e.__parse = zr, e.formats = {
|
|
3453
3449
|
number: {
|
|
3454
3450
|
integer: {
|
|
3455
3451
|
maximumFractionDigits: 0
|
|
@@ -3510,7 +3506,7 @@ var ei = (
|
|
|
3510
3506
|
}, e;
|
|
3511
3507
|
}()
|
|
3512
3508
|
);
|
|
3513
|
-
function
|
|
3509
|
+
function ei(e, t) {
|
|
3514
3510
|
if (t == null)
|
|
3515
3511
|
return;
|
|
3516
3512
|
if (t in e)
|
|
@@ -3531,36 +3527,36 @@ function ti(e, t) {
|
|
|
3531
3527
|
r = void 0;
|
|
3532
3528
|
return r;
|
|
3533
3529
|
}
|
|
3534
|
-
const
|
|
3530
|
+
const Y = {}, ti = (e, t, n) => n && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = n), n), hn = (e, t) => {
|
|
3535
3531
|
if (t == null)
|
|
3536
3532
|
return;
|
|
3537
|
-
if (t in
|
|
3538
|
-
return
|
|
3539
|
-
const n =
|
|
3533
|
+
if (t in Y && e in Y[t])
|
|
3534
|
+
return Y[t][e];
|
|
3535
|
+
const n = Ne(t);
|
|
3540
3536
|
for (let r = 0; r < n.length; r++) {
|
|
3541
|
-
const i = n[r], s =
|
|
3537
|
+
const i = n[r], s = ri(i, e);
|
|
3542
3538
|
if (s)
|
|
3543
|
-
return
|
|
3539
|
+
return ti(e, t, s);
|
|
3544
3540
|
}
|
|
3545
3541
|
};
|
|
3546
3542
|
let ot;
|
|
3547
|
-
const
|
|
3548
|
-
function
|
|
3543
|
+
const de = Ae({});
|
|
3544
|
+
function ni(e) {
|
|
3549
3545
|
return ot[e] || null;
|
|
3550
3546
|
}
|
|
3551
3547
|
function cn(e) {
|
|
3552
3548
|
return e in ot;
|
|
3553
3549
|
}
|
|
3554
|
-
function
|
|
3550
|
+
function ri(e, t) {
|
|
3555
3551
|
if (!cn(e))
|
|
3556
3552
|
return null;
|
|
3557
|
-
const n =
|
|
3558
|
-
return
|
|
3553
|
+
const n = ni(e);
|
|
3554
|
+
return ei(n, t);
|
|
3559
3555
|
}
|
|
3560
|
-
function
|
|
3556
|
+
function ii(e) {
|
|
3561
3557
|
if (e == null)
|
|
3562
3558
|
return;
|
|
3563
|
-
const t =
|
|
3559
|
+
const t = Ne(e);
|
|
3564
3560
|
for (let n = 0; n < t.length; n++) {
|
|
3565
3561
|
const r = t[n];
|
|
3566
3562
|
if (cn(r))
|
|
@@ -3568,53 +3564,53 @@ function si(e) {
|
|
|
3568
3564
|
}
|
|
3569
3565
|
}
|
|
3570
3566
|
function fn(e, ...t) {
|
|
3571
|
-
delete
|
|
3567
|
+
delete Y[e], de.update((n) => (n[e] = lr.all([n[e] || {}, ...t]), n));
|
|
3572
3568
|
}
|
|
3573
|
-
|
|
3574
|
-
[
|
|
3569
|
+
me(
|
|
3570
|
+
[de],
|
|
3575
3571
|
([e]) => Object.keys(e)
|
|
3576
3572
|
);
|
|
3577
|
-
|
|
3578
|
-
const
|
|
3579
|
-
function
|
|
3580
|
-
|
|
3573
|
+
de.subscribe((e) => ot = e);
|
|
3574
|
+
const He = {};
|
|
3575
|
+
function si(e, t) {
|
|
3576
|
+
He[e].delete(t), He[e].size === 0 && delete He[e];
|
|
3581
3577
|
}
|
|
3582
3578
|
function mn(e) {
|
|
3583
|
-
return
|
|
3579
|
+
return He[e];
|
|
3584
3580
|
}
|
|
3585
|
-
function
|
|
3586
|
-
return
|
|
3581
|
+
function ai(e) {
|
|
3582
|
+
return Ne(e).map((t) => {
|
|
3587
3583
|
const n = mn(t);
|
|
3588
3584
|
return [t, n ? [...n] : []];
|
|
3589
3585
|
}).filter(([, t]) => t.length > 0);
|
|
3590
3586
|
}
|
|
3591
|
-
function
|
|
3592
|
-
return e == null ? !1 :
|
|
3587
|
+
function nt(e) {
|
|
3588
|
+
return e == null ? !1 : Ne(e).some(
|
|
3593
3589
|
(t) => {
|
|
3594
3590
|
var n;
|
|
3595
3591
|
return (n = mn(t)) == null ? void 0 : n.size;
|
|
3596
3592
|
}
|
|
3597
3593
|
);
|
|
3598
3594
|
}
|
|
3599
|
-
function
|
|
3595
|
+
function oi(e, t) {
|
|
3600
3596
|
return Promise.all(
|
|
3601
|
-
t.map((r) => (
|
|
3597
|
+
t.map((r) => (si(e, r), r().then((i) => i.default || i)))
|
|
3602
3598
|
).then((r) => fn(e, ...r));
|
|
3603
3599
|
}
|
|
3604
|
-
const
|
|
3600
|
+
const ge = {};
|
|
3605
3601
|
function dn(e) {
|
|
3606
|
-
if (!
|
|
3607
|
-
return e in
|
|
3608
|
-
const t =
|
|
3609
|
-
return
|
|
3602
|
+
if (!nt(e))
|
|
3603
|
+
return e in ge ? ge[e] : Promise.resolve();
|
|
3604
|
+
const t = ai(e);
|
|
3605
|
+
return ge[e] = Promise.all(
|
|
3610
3606
|
t.map(
|
|
3611
|
-
([n, r]) =>
|
|
3607
|
+
([n, r]) => oi(n, r)
|
|
3612
3608
|
)
|
|
3613
3609
|
).then(() => {
|
|
3614
|
-
if (
|
|
3610
|
+
if (nt(e))
|
|
3615
3611
|
return dn(e);
|
|
3616
|
-
delete
|
|
3617
|
-
}),
|
|
3612
|
+
delete ge[e];
|
|
3613
|
+
}), ge[e];
|
|
3618
3614
|
}
|
|
3619
3615
|
const li = {
|
|
3620
3616
|
number: {
|
|
@@ -3645,159 +3641,159 @@ const li = {
|
|
|
3645
3641
|
timeZoneName: "short"
|
|
3646
3642
|
}
|
|
3647
3643
|
}
|
|
3648
|
-
},
|
|
3644
|
+
}, ui = {
|
|
3649
3645
|
fallbackLocale: null,
|
|
3650
3646
|
loadingDelay: 200,
|
|
3651
3647
|
formats: li,
|
|
3652
3648
|
warnOnMissingMessages: !0,
|
|
3653
3649
|
handleMissingMessage: void 0,
|
|
3654
3650
|
ignoreTag: !0
|
|
3655
|
-
},
|
|
3656
|
-
function
|
|
3657
|
-
return
|
|
3651
|
+
}, hi = ui;
|
|
3652
|
+
function fe() {
|
|
3653
|
+
return hi;
|
|
3658
3654
|
}
|
|
3659
|
-
const
|
|
3660
|
-
var
|
|
3655
|
+
const ze = Ae(!1);
|
|
3656
|
+
var ci = Object.defineProperty, fi = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, Bt = (e, t, n) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, bi = (e, t) => {
|
|
3661
3657
|
for (var n in t || (t = {}))
|
|
3662
|
-
|
|
3658
|
+
di.call(t, n) && Bt(e, n, t[n]);
|
|
3663
3659
|
if (St)
|
|
3664
3660
|
for (var n of St(t))
|
|
3665
|
-
|
|
3661
|
+
pi.call(t, n) && Bt(e, n, t[n]);
|
|
3666
3662
|
return e;
|
|
3667
|
-
},
|
|
3668
|
-
let
|
|
3669
|
-
const
|
|
3663
|
+
}, gi = (e, t) => fi(e, mi(t));
|
|
3664
|
+
let rt;
|
|
3665
|
+
const Re = Ae(null);
|
|
3670
3666
|
function Ht(e) {
|
|
3671
3667
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3672
3668
|
}
|
|
3673
|
-
function
|
|
3669
|
+
function Ne(e, t = fe().fallbackLocale) {
|
|
3674
3670
|
const n = Ht(e);
|
|
3675
3671
|
return t ? [.../* @__PURE__ */ new Set([...n, ...Ht(t)])] : n;
|
|
3676
3672
|
}
|
|
3677
|
-
function
|
|
3678
|
-
return
|
|
3673
|
+
function ie() {
|
|
3674
|
+
return rt != null ? rt : void 0;
|
|
3679
3675
|
}
|
|
3680
|
-
|
|
3681
|
-
|
|
3676
|
+
Re.subscribe((e) => {
|
|
3677
|
+
rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3682
3678
|
});
|
|
3683
|
-
const
|
|
3684
|
-
if (e &&
|
|
3685
|
-
const { loadingDelay: t } =
|
|
3679
|
+
const yi = (e) => {
|
|
3680
|
+
if (e && ii(e) && nt(e)) {
|
|
3681
|
+
const { loadingDelay: t } = fe();
|
|
3686
3682
|
let n;
|
|
3687
|
-
return typeof window != "undefined" &&
|
|
3688
|
-
() =>
|
|
3683
|
+
return typeof window != "undefined" && ie() != null && t ? n = window.setTimeout(
|
|
3684
|
+
() => ze.set(!0),
|
|
3689
3685
|
t
|
|
3690
|
-
) :
|
|
3691
|
-
|
|
3686
|
+
) : ze.set(!0), dn(e).then(() => {
|
|
3687
|
+
Re.set(e);
|
|
3692
3688
|
}).finally(() => {
|
|
3693
|
-
clearTimeout(n),
|
|
3689
|
+
clearTimeout(n), ze.set(!1);
|
|
3694
3690
|
});
|
|
3695
3691
|
}
|
|
3696
|
-
return
|
|
3697
|
-
},
|
|
3698
|
-
set:
|
|
3699
|
-
}),
|
|
3692
|
+
return Re.set(e);
|
|
3693
|
+
}, ee = gi(bi({}, Re), {
|
|
3694
|
+
set: yi
|
|
3695
|
+
}), Ie = (e) => {
|
|
3700
3696
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3701
3697
|
return (r) => {
|
|
3702
3698
|
const i = JSON.stringify(r);
|
|
3703
3699
|
return i in t ? t[i] : t[i] = e(r);
|
|
3704
3700
|
};
|
|
3705
3701
|
};
|
|
3706
|
-
var
|
|
3702
|
+
var vi = Object.defineProperty, Le = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, Mt = (e, t, n) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, lt = (e, t) => {
|
|
3707
3703
|
for (var n in t || (t = {}))
|
|
3708
3704
|
pn.call(t, n) && Mt(e, n, t[n]);
|
|
3709
|
-
if (
|
|
3710
|
-
for (var n of
|
|
3705
|
+
if (Le)
|
|
3706
|
+
for (var n of Le(t))
|
|
3711
3707
|
bn.call(t, n) && Mt(e, n, t[n]);
|
|
3712
3708
|
return e;
|
|
3713
|
-
},
|
|
3709
|
+
}, pe = (e, t) => {
|
|
3714
3710
|
var n = {};
|
|
3715
3711
|
for (var r in e)
|
|
3716
3712
|
pn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3717
|
-
if (e != null &&
|
|
3718
|
-
for (var r of
|
|
3713
|
+
if (e != null && Le)
|
|
3714
|
+
for (var r of Le(e))
|
|
3719
3715
|
t.indexOf(r) < 0 && bn.call(e, r) && (n[r] = e[r]);
|
|
3720
3716
|
return n;
|
|
3721
3717
|
};
|
|
3722
|
-
const
|
|
3723
|
-
const { formats: n } =
|
|
3718
|
+
const Ee = (e, t) => {
|
|
3719
|
+
const { formats: n } = fe();
|
|
3724
3720
|
if (e in n && t in n[e])
|
|
3725
3721
|
return n[e][t];
|
|
3726
3722
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3727
|
-
},
|
|
3723
|
+
}, xi = Ie(
|
|
3728
3724
|
(e) => {
|
|
3729
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3725
|
+
var t = e, { locale: n, format: r } = t, i = pe(t, ["locale", "format"]);
|
|
3730
3726
|
if (n == null)
|
|
3731
3727
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3732
|
-
return r && (i =
|
|
3728
|
+
return r && (i = Ee("number", r)), new Intl.NumberFormat(n, i);
|
|
3733
3729
|
}
|
|
3734
|
-
),
|
|
3730
|
+
), Ei = Ie(
|
|
3735
3731
|
(e) => {
|
|
3736
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3732
|
+
var t = e, { locale: n, format: r } = t, i = pe(t, ["locale", "format"]);
|
|
3737
3733
|
if (n == null)
|
|
3738
3734
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3739
|
-
return r ? i =
|
|
3735
|
+
return r ? i = Ee("date", r) : Object.keys(i).length === 0 && (i = Ee("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3740
3736
|
}
|
|
3741
|
-
),
|
|
3737
|
+
), Ci = Ie(
|
|
3742
3738
|
(e) => {
|
|
3743
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3739
|
+
var t = e, { locale: n, format: r } = t, i = pe(t, ["locale", "format"]);
|
|
3744
3740
|
if (n == null)
|
|
3745
3741
|
throw new Error(
|
|
3746
3742
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3747
3743
|
);
|
|
3748
|
-
return r ? i =
|
|
3744
|
+
return r ? i = Ee("time", r) : Object.keys(i).length === 0 && (i = Ee("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3749
3745
|
}
|
|
3750
|
-
),
|
|
3746
|
+
), _i = (e = {}) => {
|
|
3751
3747
|
var t = e, {
|
|
3752
|
-
locale: n =
|
|
3753
|
-
} = t, r =
|
|
3748
|
+
locale: n = ie()
|
|
3749
|
+
} = t, r = pe(t, [
|
|
3754
3750
|
"locale"
|
|
3755
3751
|
]);
|
|
3756
|
-
return
|
|
3757
|
-
},
|
|
3752
|
+
return xi(lt({ locale: n }, r));
|
|
3753
|
+
}, Ti = (e = {}) => {
|
|
3758
3754
|
var t = e, {
|
|
3759
|
-
locale: n =
|
|
3760
|
-
} = t, r =
|
|
3755
|
+
locale: n = ie()
|
|
3756
|
+
} = t, r = pe(t, [
|
|
3761
3757
|
"locale"
|
|
3762
3758
|
]);
|
|
3763
|
-
return
|
|
3764
|
-
},
|
|
3759
|
+
return Ei(lt({ locale: n }, r));
|
|
3760
|
+
}, wi = (e = {}) => {
|
|
3765
3761
|
var t = e, {
|
|
3766
|
-
locale: n =
|
|
3767
|
-
} = t, r =
|
|
3762
|
+
locale: n = ie()
|
|
3763
|
+
} = t, r = pe(t, [
|
|
3768
3764
|
"locale"
|
|
3769
3765
|
]);
|
|
3770
|
-
return
|
|
3771
|
-
},
|
|
3766
|
+
return Ci(lt({ locale: n }, r));
|
|
3767
|
+
}, Si = Ie(
|
|
3772
3768
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3773
|
-
(e, t =
|
|
3774
|
-
ignoreTag:
|
|
3769
|
+
(e, t = ie()) => new Kr(e, t, fe().formats, {
|
|
3770
|
+
ignoreTag: fe().ignoreTag
|
|
3775
3771
|
})
|
|
3776
|
-
),
|
|
3772
|
+
), Bi = (e, t = {}) => {
|
|
3777
3773
|
var n, r, i, s;
|
|
3778
3774
|
let o = t;
|
|
3779
3775
|
typeof e == "object" && (o = e, e = o.id);
|
|
3780
3776
|
const {
|
|
3781
|
-
values:
|
|
3782
|
-
locale: h =
|
|
3777
|
+
values: u,
|
|
3778
|
+
locale: h = ie(),
|
|
3783
3779
|
default: a
|
|
3784
3780
|
} = o;
|
|
3785
3781
|
if (h == null)
|
|
3786
3782
|
throw new Error(
|
|
3787
3783
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3788
3784
|
);
|
|
3789
|
-
let
|
|
3790
|
-
if (!u)
|
|
3791
|
-
u = (s = (i = (r = (n = me()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3792
|
-
else if (typeof u != "string")
|
|
3793
|
-
return console.warn(
|
|
3794
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3795
|
-
), u;
|
|
3785
|
+
let l = hn(e, h);
|
|
3796
3786
|
if (!l)
|
|
3797
|
-
|
|
3798
|
-
|
|
3787
|
+
l = (s = (i = (r = (n = fe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3788
|
+
else if (typeof l != "string")
|
|
3789
|
+
return console.warn(
|
|
3790
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3791
|
+
), l;
|
|
3792
|
+
if (!u)
|
|
3793
|
+
return l;
|
|
3794
|
+
let c = l;
|
|
3799
3795
|
try {
|
|
3800
|
-
c =
|
|
3796
|
+
c = Si(l, h).format(u);
|
|
3801
3797
|
} catch (f) {
|
|
3802
3798
|
f instanceof Error && console.warn(
|
|
3803
3799
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3805,21 +3801,21 @@ const Ce = (e, t) => {
|
|
|
3805
3801
|
);
|
|
3806
3802
|
}
|
|
3807
3803
|
return c;
|
|
3808
|
-
},
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3813
|
-
function
|
|
3814
|
-
|
|
3815
|
-
n == null && (
|
|
3804
|
+
}, Hi = (e, t) => wi(t).format(e), Mi = (e, t) => Ti(t).format(e), Ri = (e, t) => _i(t).format(e), Li = (e, t = ie()) => hn(e, t), Ai = me([ee, de], () => Bi);
|
|
3805
|
+
me([ee], () => Hi);
|
|
3806
|
+
me([ee], () => Mi);
|
|
3807
|
+
me([ee], () => Ri);
|
|
3808
|
+
me([ee, de], () => Li);
|
|
3809
|
+
function Oi({ withLocale: e, translations: t }) {
|
|
3810
|
+
ee.subscribe((n) => {
|
|
3811
|
+
n == null && (de.set(t), ee.set(e));
|
|
3816
3812
|
});
|
|
3817
3813
|
}
|
|
3818
3814
|
function Rt(e, t) {
|
|
3819
3815
|
fn(e, t);
|
|
3820
3816
|
}
|
|
3821
|
-
function
|
|
3822
|
-
|
|
3817
|
+
function Pi(e) {
|
|
3818
|
+
ee.set(e);
|
|
3823
3819
|
}
|
|
3824
3820
|
const Lt = {
|
|
3825
3821
|
en: {
|
|
@@ -3937,13 +3933,13 @@ const Lt = {
|
|
|
3937
3933
|
productMaxBet: "Para {productName}, o valor máximo da aposta aceita é {maxBet}."
|
|
3938
3934
|
}
|
|
3939
3935
|
};
|
|
3940
|
-
function
|
|
3936
|
+
function Ni(e, t) {
|
|
3941
3937
|
if (e) {
|
|
3942
3938
|
const n = document.createElement("style");
|
|
3943
3939
|
n.innerHTML = t, e.appendChild(n);
|
|
3944
3940
|
}
|
|
3945
3941
|
}
|
|
3946
|
-
function
|
|
3942
|
+
function Ii(e, t) {
|
|
3947
3943
|
if (!e || !t)
|
|
3948
3944
|
return;
|
|
3949
3945
|
const n = new URL(t);
|
|
@@ -3954,7 +3950,7 @@ function ki(e, t) {
|
|
|
3954
3950
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
3955
3951
|
});
|
|
3956
3952
|
}
|
|
3957
|
-
function
|
|
3953
|
+
function ki(e, t, n) {
|
|
3958
3954
|
if (window.emMessageBus) {
|
|
3959
3955
|
const r = document.createElement("style");
|
|
3960
3956
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3962,7 +3958,7 @@ function $i(e, t, n) {
|
|
|
3962
3958
|
});
|
|
3963
3959
|
}
|
|
3964
3960
|
}
|
|
3965
|
-
const Ui = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.2075%202.87946H1.125C0.642%202.87946%200.25%203.27134%200.25%203.7542C0.25%203.7542%200.25%204.57383%200.25%205.50367C0.25%206.43177%200.618372%207.32138%201.2755%207.97743C1.93175%208.63436%202.82162%209.00262%203.75%209.00262H4.62062C5.23137%2010.0611%206.37412%2010.7521%207.65162%2010.7521H8.125V13.3763H7.25C6.5535%2013.3763%205.88587%2013.6527%205.39412%2014.1452C4.9015%2014.6368%204.625%2015.3042%204.625%2016.0005C4.625%2016.4344%204.625%2016.8639%204.625%2016.8639L5.5%2017.75H12.5C12.5%2017.75%2013.375%2017.6826%2013.375%2016.8639V16.0005C13.375%2015.3042%2013.0985%2014.6368%2012.6059%2014.1452C12.1141%2013.6527%2011.4465%2013.3763%2010.75%2013.3763H9.875V10.7521H10.3475C11.6259%2010.7521%2012.7678%2010.0611%2013.3794%209.00262H14.25C15.1784%209.00262%2016.0683%208.63436%2016.7245%207.97743C17.3816%207.32138%2017.75%206.43177%2017.75%205.50367V3.7542C17.75%203.27134%2017.358%202.87946%2016.875%202.87946H14.7916L15.1084%201.29619C15.1591%201.03901%2015.0926%200.772216%2014.9264%200.570152C14.7601%200.367213%2014.5116%200.25%2014.2491%200.25L3.74912%200.255246C3.48749%200.255246%203.239%200.373333%203.07275%200.575397C2.90737%200.778336%202.84087%201.04426%202.89162%201.30143L3.2075%202.87946ZM11.625%2016.0005H6.375C6.375%2015.7687%206.46687%2015.5457%206.63137%2015.3821C6.795%2015.2176%207.01813%2015.1258%207.25%2015.1258H10.75C10.9819%2015.1258%2011.205%2015.2176%2011.3686%2015.3821C11.5331%2015.5457%2011.625%2015.7687%2011.625%2016.0005ZM13.1825%201.99948L12.0642%207.59604C11.9006%208.41392%2011.1822%209.00262%2010.3475%209.00262H7.65162C6.81775%209.00262%206.09938%208.41392%205.93575%207.59604L4.8175%202.00384L13.1825%201.99948ZM3.5575%204.62893C3.10337%204.62893%202%204.62893%202%204.62893V5.50367C2%205.96728%202.18462%206.41253%202.51275%206.74055C2.84087%207.06858%203.28625%207.25315%203.75%207.25315H4.0825L3.5575%204.62893ZM14.4416%204.62893L13.9166%207.25315H14.25C14.7137%207.25315%2015.1591%207.06858%2015.4873%206.74055C15.8154%206.41253%2016%205.96728%2016%205.50367V4.62893H14.4416Z'%20fill='white'/%3e%3c/svg%3e", Di = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2030%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.551%204.16666C2.55684%204.17198%202.56317%204.1776%202.57004%204.18349C2.69809%204.29358%202.93213%204.43049%203.2938%204.56201C4.01028%204.82255%205.05531%204.99999%206.24992%204.99999C7.44453%204.99999%208.48956%204.82255%209.20604%204.56201C9.56771%204.43049%209.80175%204.29358%209.9298%204.18349C9.93666%204.1776%209.943%204.17198%209.94884%204.16666C9.943%204.16133%209.93666%204.15572%209.9298%204.14982C9.80175%204.03973%209.56771%203.90282%209.20604%203.77131C8.48956%203.51077%207.44453%203.33332%206.24992%203.33332C5.05531%203.33332%204.01028%203.51077%203.2938%203.77131C2.93213%203.90282%202.69809%204.03973%202.57004%204.14982C2.56317%204.15572%202.55684%204.16133%202.551%204.16666ZM9.99992%206.04163C9.92615%206.07193%209.85128%206.10081%209.77561%206.12833C8.83325%206.47101%207.58661%206.66666%206.24992%206.66666C4.91322%206.66666%203.66659%206.47101%202.72423%206.12833C2.64856%206.10081%202.57369%206.07193%202.49992%206.04163V7.86398C2.5121%207.87898%202.53366%207.90222%202.57004%207.93349C2.69809%208.04358%202.93213%208.18049%203.2938%208.31201C4.01028%208.57254%205.05531%208.74999%206.24992%208.74999C7.44453%208.74999%208.48956%208.57254%209.20604%208.31201C9.56771%208.18049%209.80175%208.04358%209.9298%207.93349C9.96618%207.90222%209.98774%207.87898%209.99992%207.86398V6.04163ZM9.99992%209.79163C9.92615%209.82193%209.85128%209.85081%209.77561%209.87833C8.83325%2010.221%207.58661%2010.4167%206.24992%2010.4167C4.91322%2010.4167%203.66659%2010.221%202.72423%209.87833C2.64856%209.85081%202.57369%209.82193%202.49992%209.79163V11.614C2.5121%2011.629%202.53366%2011.6522%202.57004%2011.6835C2.69809%2011.7936%202.93213%2011.9305%203.2938%2012.062C4.01028%2012.3225%205.05531%2012.5%206.24992%2012.5C7.10597%2012.5%207.89151%2012.4088%208.53614%2012.258C9.09478%2012.1273%209.50237%2011.9625%209.75771%2011.8062C9.83221%2011.6674%209.91307%2011.5324%209.99992%2011.4018V9.79163ZM11.6666%209.83557V4.16666C11.6666%203.60229%2011.3494%203.17239%2011.0163%202.88601C10.6805%202.59731%2010.2434%202.37508%209.77561%202.20498C8.83325%201.86231%207.58661%201.66666%206.24992%201.66666C4.91322%201.66666%203.66659%201.86231%202.72423%202.20498C2.25647%202.37508%201.8193%202.59731%201.4835%202.88601C1.15039%203.17239%200.833252%203.60229%200.833252%204.16666V15.4167C0.833252%2015.981%201.15039%2016.4109%201.4835%2016.6973C1.8193%2016.986%202.25647%2017.2082%202.72423%2017.3783C3.66659%2017.721%204.91322%2017.9167%206.24992%2017.9167C7.25171%2017.9167%208.19625%2017.8069%208.99817%2017.6112C9.42337%2017.5074%209.83222%2017.3738%2010.1963%2017.2062C11.1101%2018.3981%2012.5486%2019.1667%2014.1666%2019.1667C16.928%2019.1667%2019.1666%2016.9281%2019.1666%2014.1667C19.1666%2011.4052%2016.928%209.16666%2014.1666%209.16666C13.2559%209.16666%2012.402%209.41014%2011.6666%209.83557ZM9.16822%2014.2957C9.18087%2014.7953%209.2668%2015.2766%209.41565%2015.7294C9.19988%2015.8216%208.9295%2015.9124%208.60306%2015.992C7.94665%2016.1522%207.13633%2016.25%206.24992%2016.25C5.05531%2016.25%204.01028%2016.0725%203.2938%2015.812C2.93213%2015.6805%202.69809%2015.5436%202.57004%2015.4335C2.53366%2015.4022%202.5121%2015.379%202.49992%2015.364V13.5416C2.57369%2013.5719%202.64856%2013.6008%202.72423%2013.6283C3.66659%2013.971%204.91322%2014.1667%206.24992%2014.1667C7.21803%2014.1667%208.13221%2014.0641%208.9157%2013.8809C9.00426%2013.8602%209.09202%2013.8382%209.17876%2013.815C9.17069%2013.9312%209.16658%2014.0484%209.16658%2014.1667C9.16658%2014.2098%209.16713%2014.2528%209.16822%2014.2957ZM10.8333%2014.1667C10.8333%2016.0076%2012.3256%2017.5%2014.1666%2017.5C16.0075%2017.5%2017.4999%2016.0076%2017.4999%2014.1667C17.4999%2012.3257%2016.0075%2010.8333%2014.1666%2010.8333C12.3256%2010.8333%2010.8333%2012.3257%2010.8333%2014.1667Z'%20fill='white'/%3e%3c/svg%3e", Gi = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.4167%203.33332C15.0986%203.33332%2018.0833%206.31809%2018.0833%209.99999C18.0833%2013.6819%2015.0986%2016.6667%2011.4167%2016.6667C9.32275%2016.6667%207.45468%2015.7023%206.23114%2014.1902C5.94163%2013.8325%205.4169%2013.7771%205.05913%2014.0666C4.70135%2014.3561%204.64602%2014.8809%204.93553%2015.2386C6.46191%2017.1249%208.79848%2018.3333%2011.4167%2018.3333C16.019%2018.3333%2019.75%2014.6024%2019.75%209.99999C19.75%205.39762%2016.019%201.66666%2011.4167%201.66666C7.13809%201.66666%203.61263%204.8911%203.13774%209.04253L3.08938%208.99416C2.76399%208.66867%202.23636%208.66859%201.91087%208.99398C1.58539%209.31937%201.58531%209.84701%201.9107%2010.1725L3.57687%2011.8392C3.73313%2011.9955%203.94507%2012.0833%204.16609%2012.0833C4.3871%2012.0834%204.59908%2011.9956%204.75538%2011.8393L6.42254%2010.1727C6.74803%209.84728%206.74811%209.31964%206.42272%208.99415C6.09733%208.66867%205.56969%208.66859%205.2442%208.99398L4.77099%209.46705C5.0425%206.03433%207.91416%203.33332%2011.4167%203.33332ZM11.4167%204.99999C10.9564%204.99999%2010.5833%205.37309%2010.5833%205.83332V9.554L8.45442%2010.9733C8.07148%2011.2286%207.968%2011.746%208.22329%2012.1289C8.47858%2012.5118%208.99598%2012.6153%209.37892%2012.36L11.8789%2010.6934C12.1107%2010.5388%2012.25%2010.2786%2012.25%209.99999V5.83332C12.25%205.37309%2011.8769%204.99999%2011.4167%204.99999Z'%20fill='white'/%3e%3c/svg%3e", Fi = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.666748%202.00001C0.666748%201.07954%201.41294%200.333344%202.33341%200.333344C3.25389%200.333344%204.00008%201.07954%204.00008%202.00001C4.00008%202.92048%203.25389%203.66668%202.33341%203.66668C1.41294%203.66668%200.666748%202.92048%200.666748%202.00001ZM5.66675%202.00001C5.66675%201.53977%206.03984%201.16668%206.50008%201.16668H16.5001C16.9603%201.16668%2017.3334%201.53977%2017.3334%202.00001C17.3334%202.46025%2016.9603%202.83334%2016.5001%202.83334L6.50008%202.83334C6.03984%202.83334%205.66675%202.46025%205.66675%202.00001ZM0.666748%207.00001C0.666748%206.07954%201.41294%205.33334%202.33341%205.33334C3.25389%205.33334%204.00008%206.07954%204.00008%207.00001C4.00008%207.92048%203.25389%208.66668%202.33341%208.66668C1.41294%208.66668%200.666748%207.92048%200.666748%207.00001ZM5.66675%207.00001C5.66675%206.53977%206.03984%206.16668%206.50008%206.16668L16.5001%206.16668C16.9603%206.16668%2017.3334%206.53977%2017.3334%207.00001C17.3334%207.46025%2016.9603%207.83334%2016.5001%207.83334L6.50008%207.83334C6.03984%207.83334%205.66675%207.46025%205.66675%207.00001ZM0.666748%2012C0.666748%2011.0795%201.41294%2010.3333%202.33341%2010.3333C3.25389%2010.3333%204.00008%2011.0795%204.00008%2012C4.00008%2012.9205%203.25389%2013.6667%202.33341%2013.6667C1.41294%2013.6667%200.666748%2012.9205%200.666748%2012ZM5.66675%2012C5.66675%2011.5398%206.03984%2011.1667%206.50008%2011.1667L16.5001%2011.1667C16.9603%2011.1667%2017.3334%2011.5398%2017.3334%2012C17.3334%2012.4602%2016.9603%2012.8333%2016.5001%2012.8333L6.50008%2012.8333C6.03984%2012.8333%205.66675%2012.4602%205.66675%2012Z'%20fill='white'/%3e%3c/svg%3e", ji = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.9992%203.75C6.52525%203.75%203.75%206.55828%203.75%2010C3.75%2013.4417%206.52525%2016.25%209.9992%2016.25C13.427%2016.25%2016.2484%2013.4441%2016.2484%2010C16.2505%209.98168%2016.2505%209.96318%2016.2484%209.94487C16.2212%206.52543%2013.456%203.75%209.9992%203.75ZM8.7787%204.35471V5.7477C8.4566%205.83981%208.14646%205.96894%207.85461%206.13246L6.85596%205.16118C7.44132%204.77727%208.09317%204.50386%208.7787%204.35471ZM11.2197%204.35471C11.9052%204.50386%2012.5571%204.77727%2013.1424%205.16118L12.1621%206.13246C11.8646%205.96647%2011.5551%205.8216%2011.2197%205.72952V4.35471ZM9.9992%206.05915C12.1876%206.01398%2013.9742%207.82458%2013.9742%2010C13.9741%2011.0451%2013.5552%2012.0474%2012.8098%2012.7864C12.0644%2013.5255%2011.0534%2013.9407%209.9992%2013.9409C8.945%2013.9407%207.93403%2013.5255%207.18859%2012.7864C6.44316%2012.0474%206.02431%2011.0451%206.02416%2010C6.02431%208.95487%206.44316%207.95259%207.18859%207.21357C7.93403%206.47455%208.945%206.0593%209.9992%206.05915ZM5.15508%206.8838L6.09811%207.87385C5.9331%208.16337%205.80285%208.47104%205.71001%208.79059H4.36054C4.50654%208.11266%204.77577%207.46614%205.15508%206.8838ZM14.8427%206.8838C15.2223%207.46607%2015.4917%208.11201%2015.6379%208.79H14.2706C14.1826%208.47178%2014.0585%208.16445%2013.9009%207.87385L14.8427%206.8838ZM9.70339%207.30609V7.6539C9.17094%207.75009%208.88993%208.16594%208.88993%208.79059C8.88993%2010.1355%2010.3873%2010.2493%2010.3873%2011.2094C10.3873%2011.5461%2010.2412%2011.6863%209.9992%2011.6863C9.75664%2011.6863%209.6111%2011.5455%209.6111%2011.2094V10.8247H8.88993V11.1549C8.88993%2011.827%209.17035%2012.2135%209.70339%2012.3091V12.6394H10.3323V12.3091C10.8647%2012.2135%2011.1641%2011.7789%2011.1641%2011.1549C11.1641%209.80997%209.66612%209.76246%209.66612%208.75364C9.66612%208.41756%209.81225%208.27679%2010.0548%208.27679C10.2974%208.27679%2010.4429%208.41756%2010.4429%208.75364V8.93722H11.1641V8.79059C11.1641%208.16594%2010.8647%207.75009%2010.3317%207.6539V7.30551L9.70339%207.30609ZM4.36054%2011.2094H5.71001C5.80349%2011.5379%205.93482%2011.8335%206.09811%2012.1261L5.15508%2013.1162C4.77574%2012.5339%204.5065%2011.8874%204.36054%2011.2094ZM14.2884%2011.2094H15.6379C15.4914%2011.8872%2015.2222%2012.5331%2014.8433%2013.1156L13.9003%2012.1261C14.0653%2011.8366%2014.1956%2011.529%2014.2884%2011.2094ZM7.85461%2013.8675C8.14662%2014.0312%208.45696%2014.1603%208.7793%2014.2523V15.6453C8.09376%2015.4961%207.44191%2015.2227%206.85656%2014.8388L7.85461%2013.8675ZM12.1438%2013.8675H12.1621L13.1235%2014.8388C12.5433%2015.2156%2011.8978%2015.4828%2011.2197%2015.6271V14.2523C11.5418%2014.1603%2011.852%2014.0311%2012.1438%2013.8675Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%2018.0208C14.4298%2018.0208%2018.0208%2014.4298%2018.0208%2010C18.0208%205.57022%2014.4298%201.97917%2010%201.97917C5.57022%201.97917%201.97917%205.57022%201.97917%2010C1.97917%2014.4298%205.57022%2018.0208%2010%2018.0208ZM10%2018.75C14.8325%2018.75%2018.75%2014.8325%2018.75%2010C18.75%205.16751%2014.8325%201.25%2010%201.25C5.16751%201.25%201.25%205.16751%201.25%2010C1.25%2014.8325%205.16751%2018.75%2010%2018.75Z'%20fill='white'/%3e%3c/svg%3e", Vi = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.2125%209.09375C7.44853%209.77601%206.51801%2010.2445%205.51497%2010.4519C4.51192%2010.6593%203.4719%2010.5983%202.5%2010.275C2.55651%2011.9499%203.17514%2013.557%204.25625%2014.8375L9.11875%2010L8.2125%209.09375ZM7.31875%208.20625L4.275%205.1625C3.37411%206.23087%202.78964%207.52969%202.5875%208.9125C3.95%209.675%205.8375%209.375%207.31875%208.20625ZM12.6813%2011.7938L15.725%2014.8375C16.6259%2013.7691%2017.2104%2012.4703%2017.4125%2011.0875C16.05%2010.325%2014.1625%2010.625%2012.6813%2011.7938ZM11.7938%2012.6813C10.6063%2014.1625%2010.325%2016.05%2011.0625%2017.4125C12.4453%2017.2104%2013.7441%2016.6259%2014.8125%2015.725L11.7938%2012.6813ZM10.8813%2010L11.7875%2010.9062C12.5515%2010.224%2013.482%209.75549%2014.485%209.54808C15.4881%209.34066%2016.5281%209.40169%2017.5%209.725C17.4435%208.05011%2016.8249%206.44299%2015.7438%205.1625L10.8813%2010ZM10.9062%2011.7875L10%2010.8813L5.1625%2015.725C6.44047%2016.8129%208.04784%2017.4382%209.725%2017.5C9.40169%2016.5281%209.34066%2015.4881%209.54808%2014.485C9.75549%2013.482%2010.224%2012.5515%2010.9062%2011.7875ZM10%209.11875L14.8375%204.275C13.5595%203.18712%2011.9522%202.56179%2010.275%202.5C10.5948%203.46928%2010.654%204.50563%2010.4466%205.50501C10.2393%206.5044%209.77272%207.43167%209.09375%208.19375L10%209.11875ZM8.20625%207.31875C9.375%205.8375%209.675%203.95%208.9375%202.5875C7.55469%202.78964%206.25587%203.37411%205.1875%204.275L8.20625%207.31875Z'%20fill='white'/%3e%3c/svg%3e";
|
|
3961
|
+
const $i = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M3.2075%202.87946H1.125C0.642%202.87946%200.25%203.27134%200.25%203.7542C0.25%203.7542%200.25%204.57383%200.25%205.50367C0.25%206.43177%200.618372%207.32138%201.2755%207.97743C1.93175%208.63436%202.82162%209.00262%203.75%209.00262H4.62062C5.23137%2010.0611%206.37412%2010.7521%207.65162%2010.7521H8.125V13.3763H7.25C6.5535%2013.3763%205.88587%2013.6527%205.39412%2014.1452C4.9015%2014.6368%204.625%2015.3042%204.625%2016.0005C4.625%2016.4344%204.625%2016.8639%204.625%2016.8639L5.5%2017.75H12.5C12.5%2017.75%2013.375%2017.6826%2013.375%2016.8639V16.0005C13.375%2015.3042%2013.0985%2014.6368%2012.6059%2014.1452C12.1141%2013.6527%2011.4465%2013.3763%2010.75%2013.3763H9.875V10.7521H10.3475C11.6259%2010.7521%2012.7678%2010.0611%2013.3794%209.00262H14.25C15.1784%209.00262%2016.0683%208.63436%2016.7245%207.97743C17.3816%207.32138%2017.75%206.43177%2017.75%205.50367V3.7542C17.75%203.27134%2017.358%202.87946%2016.875%202.87946H14.7916L15.1084%201.29619C15.1591%201.03901%2015.0926%200.772216%2014.9264%200.570152C14.7601%200.367213%2014.5116%200.25%2014.2491%200.25L3.74912%200.255246C3.48749%200.255246%203.239%200.373333%203.07275%200.575397C2.90737%200.778336%202.84087%201.04426%202.89162%201.30143L3.2075%202.87946ZM11.625%2016.0005H6.375C6.375%2015.7687%206.46687%2015.5457%206.63137%2015.3821C6.795%2015.2176%207.01813%2015.1258%207.25%2015.1258H10.75C10.9819%2015.1258%2011.205%2015.2176%2011.3686%2015.3821C11.5331%2015.5457%2011.625%2015.7687%2011.625%2016.0005ZM13.1825%201.99948L12.0642%207.59604C11.9006%208.41392%2011.1822%209.00262%2010.3475%209.00262H7.65162C6.81775%209.00262%206.09938%208.41392%205.93575%207.59604L4.8175%202.00384L13.1825%201.99948ZM3.5575%204.62893C3.10337%204.62893%202%204.62893%202%204.62893V5.50367C2%205.96728%202.18462%206.41253%202.51275%206.74055C2.84087%207.06858%203.28625%207.25315%203.75%207.25315H4.0825L3.5575%204.62893ZM14.4416%204.62893L13.9166%207.25315H14.25C14.7137%207.25315%2015.1591%207.06858%2015.4873%206.74055C15.8154%206.41253%2016%205.96728%2016%205.50367V4.62893H14.4416Z'%20fill='white'/%3e%3c/svg%3e", Ui = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2030%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M2.551%204.16666C2.55684%204.17198%202.56317%204.1776%202.57004%204.18349C2.69809%204.29358%202.93213%204.43049%203.2938%204.56201C4.01028%204.82255%205.05531%204.99999%206.24992%204.99999C7.44453%204.99999%208.48956%204.82255%209.20604%204.56201C9.56771%204.43049%209.80175%204.29358%209.9298%204.18349C9.93666%204.1776%209.943%204.17198%209.94884%204.16666C9.943%204.16133%209.93666%204.15572%209.9298%204.14982C9.80175%204.03973%209.56771%203.90282%209.20604%203.77131C8.48956%203.51077%207.44453%203.33332%206.24992%203.33332C5.05531%203.33332%204.01028%203.51077%203.2938%203.77131C2.93213%203.90282%202.69809%204.03973%202.57004%204.14982C2.56317%204.15572%202.55684%204.16133%202.551%204.16666ZM9.99992%206.04163C9.92615%206.07193%209.85128%206.10081%209.77561%206.12833C8.83325%206.47101%207.58661%206.66666%206.24992%206.66666C4.91322%206.66666%203.66659%206.47101%202.72423%206.12833C2.64856%206.10081%202.57369%206.07193%202.49992%206.04163V7.86398C2.5121%207.87898%202.53366%207.90222%202.57004%207.93349C2.69809%208.04358%202.93213%208.18049%203.2938%208.31201C4.01028%208.57254%205.05531%208.74999%206.24992%208.74999C7.44453%208.74999%208.48956%208.57254%209.20604%208.31201C9.56771%208.18049%209.80175%208.04358%209.9298%207.93349C9.96618%207.90222%209.98774%207.87898%209.99992%207.86398V6.04163ZM9.99992%209.79163C9.92615%209.82193%209.85128%209.85081%209.77561%209.87833C8.83325%2010.221%207.58661%2010.4167%206.24992%2010.4167C4.91322%2010.4167%203.66659%2010.221%202.72423%209.87833C2.64856%209.85081%202.57369%209.82193%202.49992%209.79163V11.614C2.5121%2011.629%202.53366%2011.6522%202.57004%2011.6835C2.69809%2011.7936%202.93213%2011.9305%203.2938%2012.062C4.01028%2012.3225%205.05531%2012.5%206.24992%2012.5C7.10597%2012.5%207.89151%2012.4088%208.53614%2012.258C9.09478%2012.1273%209.50237%2011.9625%209.75771%2011.8062C9.83221%2011.6674%209.91307%2011.5324%209.99992%2011.4018V9.79163ZM11.6666%209.83557V4.16666C11.6666%203.60229%2011.3494%203.17239%2011.0163%202.88601C10.6805%202.59731%2010.2434%202.37508%209.77561%202.20498C8.83325%201.86231%207.58661%201.66666%206.24992%201.66666C4.91322%201.66666%203.66659%201.86231%202.72423%202.20498C2.25647%202.37508%201.8193%202.59731%201.4835%202.88601C1.15039%203.17239%200.833252%203.60229%200.833252%204.16666V15.4167C0.833252%2015.981%201.15039%2016.4109%201.4835%2016.6973C1.8193%2016.986%202.25647%2017.2082%202.72423%2017.3783C3.66659%2017.721%204.91322%2017.9167%206.24992%2017.9167C7.25171%2017.9167%208.19625%2017.8069%208.99817%2017.6112C9.42337%2017.5074%209.83222%2017.3738%2010.1963%2017.2062C11.1101%2018.3981%2012.5486%2019.1667%2014.1666%2019.1667C16.928%2019.1667%2019.1666%2016.9281%2019.1666%2014.1667C19.1666%2011.4052%2016.928%209.16666%2014.1666%209.16666C13.2559%209.16666%2012.402%209.41014%2011.6666%209.83557ZM9.16822%2014.2957C9.18087%2014.7953%209.2668%2015.2766%209.41565%2015.7294C9.19988%2015.8216%208.9295%2015.9124%208.60306%2015.992C7.94665%2016.1522%207.13633%2016.25%206.24992%2016.25C5.05531%2016.25%204.01028%2016.0725%203.2938%2015.812C2.93213%2015.6805%202.69809%2015.5436%202.57004%2015.4335C2.53366%2015.4022%202.5121%2015.379%202.49992%2015.364V13.5416C2.57369%2013.5719%202.64856%2013.6008%202.72423%2013.6283C3.66659%2013.971%204.91322%2014.1667%206.24992%2014.1667C7.21803%2014.1667%208.13221%2014.0641%208.9157%2013.8809C9.00426%2013.8602%209.09202%2013.8382%209.17876%2013.815C9.17069%2013.9312%209.16658%2014.0484%209.16658%2014.1667C9.16658%2014.2098%209.16713%2014.2528%209.16822%2014.2957ZM10.8333%2014.1667C10.8333%2016.0076%2012.3256%2017.5%2014.1666%2017.5C16.0075%2017.5%2017.4999%2016.0076%2017.4999%2014.1667C17.4999%2012.3257%2016.0075%2010.8333%2014.1666%2010.8333C12.3256%2010.8333%2010.8333%2012.3257%2010.8333%2014.1667Z'%20fill='white'/%3e%3c/svg%3e", Di = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M11.4167%203.33332C15.0986%203.33332%2018.0833%206.31809%2018.0833%209.99999C18.0833%2013.6819%2015.0986%2016.6667%2011.4167%2016.6667C9.32275%2016.6667%207.45468%2015.7023%206.23114%2014.1902C5.94163%2013.8325%205.4169%2013.7771%205.05913%2014.0666C4.70135%2014.3561%204.64602%2014.8809%204.93553%2015.2386C6.46191%2017.1249%208.79848%2018.3333%2011.4167%2018.3333C16.019%2018.3333%2019.75%2014.6024%2019.75%209.99999C19.75%205.39762%2016.019%201.66666%2011.4167%201.66666C7.13809%201.66666%203.61263%204.8911%203.13774%209.04253L3.08938%208.99416C2.76399%208.66867%202.23636%208.66859%201.91087%208.99398C1.58539%209.31937%201.58531%209.84701%201.9107%2010.1725L3.57687%2011.8392C3.73313%2011.9955%203.94507%2012.0833%204.16609%2012.0833C4.3871%2012.0834%204.59908%2011.9956%204.75538%2011.8393L6.42254%2010.1727C6.74803%209.84728%206.74811%209.31964%206.42272%208.99415C6.09733%208.66867%205.56969%208.66859%205.2442%208.99398L4.77099%209.46705C5.0425%206.03433%207.91416%203.33332%2011.4167%203.33332ZM11.4167%204.99999C10.9564%204.99999%2010.5833%205.37309%2010.5833%205.83332V9.554L8.45442%2010.9733C8.07148%2011.2286%207.968%2011.746%208.22329%2012.1289C8.47858%2012.5118%208.99598%2012.6153%209.37892%2012.36L11.8789%2010.6934C12.1107%2010.5388%2012.25%2010.2786%2012.25%209.99999V5.83332C12.25%205.37309%2011.8769%204.99999%2011.4167%204.99999Z'%20fill='white'/%3e%3c/svg%3e", Gi = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M0.666748%202.00001C0.666748%201.07954%201.41294%200.333344%202.33341%200.333344C3.25389%200.333344%204.00008%201.07954%204.00008%202.00001C4.00008%202.92048%203.25389%203.66668%202.33341%203.66668C1.41294%203.66668%200.666748%202.92048%200.666748%202.00001ZM5.66675%202.00001C5.66675%201.53977%206.03984%201.16668%206.50008%201.16668H16.5001C16.9603%201.16668%2017.3334%201.53977%2017.3334%202.00001C17.3334%202.46025%2016.9603%202.83334%2016.5001%202.83334L6.50008%202.83334C6.03984%202.83334%205.66675%202.46025%205.66675%202.00001ZM0.666748%207.00001C0.666748%206.07954%201.41294%205.33334%202.33341%205.33334C3.25389%205.33334%204.00008%206.07954%204.00008%207.00001C4.00008%207.92048%203.25389%208.66668%202.33341%208.66668C1.41294%208.66668%200.666748%207.92048%200.666748%207.00001ZM5.66675%207.00001C5.66675%206.53977%206.03984%206.16668%206.50008%206.16668L16.5001%206.16668C16.9603%206.16668%2017.3334%206.53977%2017.3334%207.00001C17.3334%207.46025%2016.9603%207.83334%2016.5001%207.83334L6.50008%207.83334C6.03984%207.83334%205.66675%207.46025%205.66675%207.00001ZM0.666748%2012C0.666748%2011.0795%201.41294%2010.3333%202.33341%2010.3333C3.25389%2010.3333%204.00008%2011.0795%204.00008%2012C4.00008%2012.9205%203.25389%2013.6667%202.33341%2013.6667C1.41294%2013.6667%200.666748%2012.9205%200.666748%2012ZM5.66675%2012C5.66675%2011.5398%206.03984%2011.1667%206.50008%2011.1667L16.5001%2011.1667C16.9603%2011.1667%2017.3334%2011.5398%2017.3334%2012C17.3334%2012.4602%2016.9603%2012.8333%2016.5001%2012.8333L6.50008%2012.8333C6.03984%2012.8333%205.66675%2012.4602%205.66675%2012Z'%20fill='white'/%3e%3c/svg%3e", Fi = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.9992%203.75C6.52525%203.75%203.75%206.55828%203.75%2010C3.75%2013.4417%206.52525%2016.25%209.9992%2016.25C13.427%2016.25%2016.2484%2013.4441%2016.2484%2010C16.2505%209.98168%2016.2505%209.96318%2016.2484%209.94487C16.2212%206.52543%2013.456%203.75%209.9992%203.75ZM8.7787%204.35471V5.7477C8.4566%205.83981%208.14646%205.96894%207.85461%206.13246L6.85596%205.16118C7.44132%204.77727%208.09317%204.50386%208.7787%204.35471ZM11.2197%204.35471C11.9052%204.50386%2012.5571%204.77727%2013.1424%205.16118L12.1621%206.13246C11.8646%205.96647%2011.5551%205.8216%2011.2197%205.72952V4.35471ZM9.9992%206.05915C12.1876%206.01398%2013.9742%207.82458%2013.9742%2010C13.9741%2011.0451%2013.5552%2012.0474%2012.8098%2012.7864C12.0644%2013.5255%2011.0534%2013.9407%209.9992%2013.9409C8.945%2013.9407%207.93403%2013.5255%207.18859%2012.7864C6.44316%2012.0474%206.02431%2011.0451%206.02416%2010C6.02431%208.95487%206.44316%207.95259%207.18859%207.21357C7.93403%206.47455%208.945%206.0593%209.9992%206.05915ZM5.15508%206.8838L6.09811%207.87385C5.9331%208.16337%205.80285%208.47104%205.71001%208.79059H4.36054C4.50654%208.11266%204.77577%207.46614%205.15508%206.8838ZM14.8427%206.8838C15.2223%207.46607%2015.4917%208.11201%2015.6379%208.79H14.2706C14.1826%208.47178%2014.0585%208.16445%2013.9009%207.87385L14.8427%206.8838ZM9.70339%207.30609V7.6539C9.17094%207.75009%208.88993%208.16594%208.88993%208.79059C8.88993%2010.1355%2010.3873%2010.2493%2010.3873%2011.2094C10.3873%2011.5461%2010.2412%2011.6863%209.9992%2011.6863C9.75664%2011.6863%209.6111%2011.5455%209.6111%2011.2094V10.8247H8.88993V11.1549C8.88993%2011.827%209.17035%2012.2135%209.70339%2012.3091V12.6394H10.3323V12.3091C10.8647%2012.2135%2011.1641%2011.7789%2011.1641%2011.1549C11.1641%209.80997%209.66612%209.76246%209.66612%208.75364C9.66612%208.41756%209.81225%208.27679%2010.0548%208.27679C10.2974%208.27679%2010.4429%208.41756%2010.4429%208.75364V8.93722H11.1641V8.79059C11.1641%208.16594%2010.8647%207.75009%2010.3317%207.6539V7.30551L9.70339%207.30609ZM4.36054%2011.2094H5.71001C5.80349%2011.5379%205.93482%2011.8335%206.09811%2012.1261L5.15508%2013.1162C4.77574%2012.5339%204.5065%2011.8874%204.36054%2011.2094ZM14.2884%2011.2094H15.6379C15.4914%2011.8872%2015.2222%2012.5331%2014.8433%2013.1156L13.9003%2012.1261C14.0653%2011.8366%2014.1956%2011.529%2014.2884%2011.2094ZM7.85461%2013.8675C8.14662%2014.0312%208.45696%2014.1603%208.7793%2014.2523V15.6453C8.09376%2015.4961%207.44191%2015.2227%206.85656%2014.8388L7.85461%2013.8675ZM12.1438%2013.8675H12.1621L13.1235%2014.8388C12.5433%2015.2156%2011.8978%2015.4828%2011.2197%2015.6271V14.2523C11.5418%2014.1603%2011.852%2014.0311%2012.1438%2013.8675Z'%20fill='white'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M10%2018.0208C14.4298%2018.0208%2018.0208%2014.4298%2018.0208%2010C18.0208%205.57022%2014.4298%201.97917%2010%201.97917C5.57022%201.97917%201.97917%205.57022%201.97917%2010C1.97917%2014.4298%205.57022%2018.0208%2010%2018.0208ZM10%2018.75C14.8325%2018.75%2018.75%2014.8325%2018.75%2010C18.75%205.16751%2014.8325%201.25%2010%201.25C5.16751%201.25%201.25%205.16751%201.25%2010C1.25%2014.8325%205.16751%2018.75%2010%2018.75Z'%20fill='white'/%3e%3c/svg%3e", ji = "data:image/svg+xml,%3csvg%20width='35'%20height='20'%20viewBox='0%200%2035%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M8.2125%209.09375C7.44853%209.77601%206.51801%2010.2445%205.51497%2010.4519C4.51192%2010.6593%203.4719%2010.5983%202.5%2010.275C2.55651%2011.9499%203.17514%2013.557%204.25625%2014.8375L9.11875%2010L8.2125%209.09375ZM7.31875%208.20625L4.275%205.1625C3.37411%206.23087%202.78964%207.52969%202.5875%208.9125C3.95%209.675%205.8375%209.375%207.31875%208.20625ZM12.6813%2011.7938L15.725%2014.8375C16.6259%2013.7691%2017.2104%2012.4703%2017.4125%2011.0875C16.05%2010.325%2014.1625%2010.625%2012.6813%2011.7938ZM11.7938%2012.6813C10.6063%2014.1625%2010.325%2016.05%2011.0625%2017.4125C12.4453%2017.2104%2013.7441%2016.6259%2014.8125%2015.725L11.7938%2012.6813ZM10.8813%2010L11.7875%2010.9062C12.5515%2010.224%2013.482%209.75549%2014.485%209.54808C15.4881%209.34066%2016.5281%209.40169%2017.5%209.725C17.4435%208.05011%2016.8249%206.44299%2015.7438%205.1625L10.8813%2010ZM10.9062%2011.7875L10%2010.8813L5.1625%2015.725C6.44047%2016.8129%208.04784%2017.4382%209.725%2017.5C9.40169%2016.5281%209.34066%2015.4881%209.54808%2014.485C9.75549%2013.482%2010.224%2012.5515%2010.9062%2011.7875ZM10%209.11875L14.8375%204.275C13.5595%203.18712%2011.9522%202.56179%2010.275%202.5C10.5948%203.46928%2010.654%204.50563%2010.4466%205.50501C10.2393%206.5044%209.77272%207.43167%209.09375%208.19375L10%209.11875ZM8.20625%207.31875C9.375%205.8375%209.675%203.95%208.9375%202.5875C7.55469%202.78964%206.25587%203.37411%205.1875%204.275L8.20625%207.31875Z'%20fill='white'/%3e%3c/svg%3e";
|
|
3966
3962
|
class At {
|
|
3967
3963
|
constructor() {
|
|
3968
3964
|
}
|
|
@@ -3973,18 +3969,18 @@ class At {
|
|
|
3973
3969
|
};
|
|
3974
3970
|
}
|
|
3975
3971
|
static generateCasinoRule(t, n) {
|
|
3976
|
-
var
|
|
3977
|
-
const r = ` ~ ${t("unlimited")}`, i = n.currency || "EUR", s = (
|
|
3972
|
+
var u, h;
|
|
3973
|
+
const r = ` ~ ${t("unlimited")}`, i = n.currency || "EUR", s = (u = n.minStake) != null && u.amount[i] ? `: ${n.minStake.amount[i]} ${i}` : r, o = (h = n.maxStake) != null && h.amount[i] ? `: ${n.maxStake.amount[i]} ${i}` : r;
|
|
3978
3974
|
return t("casinoRuleMinMaxBet", { values: { minBet: s, maxBet: o } });
|
|
3979
3975
|
}
|
|
3980
3976
|
static generateSportsRule(t, n) {
|
|
3981
|
-
var A, Z,
|
|
3982
|
-
const r = [], i = ` ~ ${t("unlimited")}`, s = n.currency || "EUR", o = (A = n.minStake) != null && A.amount[s] ? `: ${n.minStake.amount[s]} ${s}` : i,
|
|
3983
|
-
r.push(t("sportsRuleMinMaxBet", { values: { sportMinBet: o, sportMaxBet:
|
|
3977
|
+
var A, Z, te, m, O, Q, q, ne, be, J;
|
|
3978
|
+
const r = [], i = ` ~ ${t("unlimited")}`, s = n.currency || "EUR", o = (A = n.minStake) != null && A.amount[s] ? `: ${n.minStake.amount[s]} ${s}` : i, u = (Z = n.maxStake) != null && Z.amount[s] ? `: ${n.maxStake.amount[s]} ${s}` : i;
|
|
3979
|
+
r.push(t("sportsRuleMinMaxBet", { values: { sportMinBet: o, sportMaxBet: u } }));
|
|
3984
3980
|
const h = n.config.liveMatch === "true", a = n.config.preLiveMatch === "true";
|
|
3985
3981
|
h && a ? r.push(t("matchTypePreAndLive")) : h ? r.push(`${t("matchTypeLive")}`) : a && r.push(`${t("matchTyppePre")}`);
|
|
3986
|
-
const
|
|
3987
|
-
|
|
3982
|
+
const l = n.combination, c = [];
|
|
3983
|
+
l.single.isEligible && c.push(t("betTypeSingle"));
|
|
3988
3984
|
const d = {
|
|
3989
3985
|
null: t("typeOfSelectionAny"),
|
|
3990
3986
|
true: t("bankerOnly"),
|
|
@@ -3994,22 +3990,22 @@ class At {
|
|
|
3994
3990
|
all: t("betBuilderOnly"),
|
|
3995
3991
|
none: t("notBuilderOnly")
|
|
3996
3992
|
};
|
|
3997
|
-
let
|
|
3998
|
-
const S = `${t("oddsPerSelection")}: ${n.config.minOdds || t("unlimited")} - ${n.config.maxOdds || t("unlimited")}`, B =
|
|
3999
|
-
B && (
|
|
4000
|
-
( ${t("typeOfSelection")}: ${d[((m = (
|
|
3993
|
+
let C = "", H = "";
|
|
3994
|
+
const S = `${t("oddsPerSelection")}: ${n.config.minOdds || t("unlimited")} - ${n.config.maxOdds || t("unlimited")}`, B = l.system.isEligible, w = l.multiple.isEligible;
|
|
3995
|
+
B && (C = ` ${t("betTypeSystem")}
|
|
3996
|
+
( ${t("typeOfSelection")}: ${d[((m = (te = n.combination.system.banker) == null ? void 0 : te.include) == null ? void 0 : m.toString()) || "null"]},
|
|
4001
3997
|
${t("numberOfSelection")}:
|
|
4002
|
-
${((O =
|
|
4003
|
-
${S} ) `),
|
|
4004
|
-
( ${t("typeOfSelection")}: ${g[((
|
|
3998
|
+
${((O = l.system.minSelection) == null ? void 0 : O.number) || t("unlimited")} - ${((Q = l.system.maxSelection) == null ? void 0 : Q.number) || t("unlimited")},
|
|
3999
|
+
${S} ) `), w && (H = ` ${t("betTypeMultiple")}
|
|
4000
|
+
( ${t("typeOfSelection")}: ${g[((ne = (q = n.combination.multiple.betBuilder) == null ? void 0 : q.mode) == null ? void 0 : ne.toString()) || "unspecific"]},
|
|
4005
4001
|
${t("numberOfSelection")}:
|
|
4006
|
-
${((
|
|
4007
|
-
${S} ) `), B &&
|
|
4002
|
+
${((be = l.multiple.minSelection) == null ? void 0 : be.number) || t("unlimited")} - ${((J = l.multiple.maxSelection) == null ? void 0 : J.number) || t("unlimited")},
|
|
4003
|
+
${S} ) `), B && w ? c.push(H + t("and") + C) : B ? c.push(C) : w && c.push(H), r.push(c.join(", "));
|
|
4008
4004
|
const V = n.config.minTotalOdds ? `: ${n.config.minTotalOdds}` : i, M = n.config.maxTotalOdds ? `: ${n.config.maxTotalOdds}` : i;
|
|
4009
4005
|
return r.push(`${t("sportsRuleMinMaxOdds", { values: { sportMinOdds: V, sportMaxOdds: M } })}`), r;
|
|
4010
4006
|
}
|
|
4011
4007
|
}
|
|
4012
|
-
function
|
|
4008
|
+
function Vi(e) {
|
|
4013
4009
|
Tn(e, "svelte-apsmtn", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-thumbnail-rule{color:#fff;font-size:12px;line-height:15px;letter-spacing:-0.177807px;color:var(--emw--color-gray-100, #B5B5B5)}.casino-tournaments-thumbnail-rule .RulesRow{padding:10px;display:flex;border-bottom:1px solid var(--emw--color-grey-105, #424242)}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt{padding:3px 5px}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt a{color:#ff8364;cursor:pointer}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt ul.SportsRules{padding-left:20px}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt ul.SportsRules li{padding-left:0px;list-style-type:initial}.casino-tournaments-thumbnail-rule .RulesRow .ScoreTypeUL{padding-left:15px}.casino-tournaments-thumbnail-rule .RulesRow .ScoreTypeLI{list-style-type:initial;margin-top:5px}.casino-tournaments-thumbnail-rule .RulesRow .ScoreTypeLI span.Desc{padding-top:7px;display:block}.casino-tournaments-thumbnail-rule .RuleIcon{width:38px;height:30px}");
|
|
4014
4010
|
}
|
|
4015
4011
|
function Ot(e, t, n) {
|
|
@@ -4023,7 +4019,7 @@ function Pt(e) {
|
|
|
4023
4019
|
), r;
|
|
4024
4020
|
return {
|
|
4025
4021
|
c() {
|
|
4026
|
-
t = new
|
|
4022
|
+
t = new re(!1), r = _e(), t.a = r;
|
|
4027
4023
|
},
|
|
4028
4024
|
m(i, s) {
|
|
4029
4025
|
t.m(n, i, s), W(i, r, s);
|
|
@@ -4045,7 +4041,7 @@ function Nt(e) {
|
|
|
4045
4041
|
), r;
|
|
4046
4042
|
return {
|
|
4047
4043
|
c() {
|
|
4048
|
-
t = new
|
|
4044
|
+
t = new re(!1), r = _e(), t.a = r;
|
|
4049
4045
|
},
|
|
4050
4046
|
m(i, s) {
|
|
4051
4047
|
t.m(n, i, s), W(i, r, s);
|
|
@@ -4067,7 +4063,7 @@ function It(e) {
|
|
|
4067
4063
|
), r;
|
|
4068
4064
|
return {
|
|
4069
4065
|
c() {
|
|
4070
|
-
t = new
|
|
4066
|
+
t = new re(!1), r = _e(), t.a = r;
|
|
4071
4067
|
},
|
|
4072
4068
|
m(i, s) {
|
|
4073
4069
|
t.m(n, i, s), W(i, r, s);
|
|
@@ -4094,7 +4090,7 @@ function kt(e) {
|
|
|
4094
4090
|
), r;
|
|
4095
4091
|
return {
|
|
4096
4092
|
c() {
|
|
4097
|
-
t = new
|
|
4093
|
+
t = new re(!1), r = _e(), t.a = r;
|
|
4098
4094
|
},
|
|
4099
4095
|
m(i, s) {
|
|
4100
4096
|
t.m(n, i, s), W(i, r, s);
|
|
@@ -4121,7 +4117,7 @@ function $t(e) {
|
|
|
4121
4117
|
), r;
|
|
4122
4118
|
return {
|
|
4123
4119
|
c() {
|
|
4124
|
-
t = new
|
|
4120
|
+
t = new re(!1), r = _e(), t.a = r;
|
|
4125
4121
|
},
|
|
4126
4122
|
m(i, s) {
|
|
4127
4123
|
t.m(n, i, s), W(i, r, s);
|
|
@@ -4140,22 +4136,22 @@ function Ut(e) {
|
|
|
4140
4136
|
let t, n, r, i, s, o = (
|
|
4141
4137
|
/*$_*/
|
|
4142
4138
|
e[11]("forCasino") + ""
|
|
4143
|
-
),
|
|
4139
|
+
), u, h;
|
|
4144
4140
|
return {
|
|
4145
4141
|
c() {
|
|
4146
|
-
t =
|
|
4142
|
+
t = _("div"), n = _("div"), n.innerHTML = `<img src="${Fi}"/>`, r = L(), i = _("div"), s = new re(!1), u = K(":"), h = K(
|
|
4147
4143
|
/*casinoRules*/
|
|
4148
4144
|
e[10]
|
|
4149
|
-
), p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a =
|
|
4145
|
+
), p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a = u, p(i, "class", "RuleTxt"), p(i, "part", "RuleTxt"), p(t, "class", "RulesRow"), p(t, "part", "rule");
|
|
4150
4146
|
},
|
|
4151
|
-
m(a,
|
|
4152
|
-
W(a, t,
|
|
4147
|
+
m(a, l) {
|
|
4148
|
+
W(a, t, l), b(t, n), b(t, r), b(t, i), s.m(o, i), b(i, u), b(i, h);
|
|
4153
4149
|
},
|
|
4154
|
-
p(a,
|
|
4155
|
-
|
|
4150
|
+
p(a, l) {
|
|
4151
|
+
l & /*$_*/
|
|
4156
4152
|
2048 && o !== (o = /*$_*/
|
|
4157
|
-
a[11]("forCasino") + "") && s.p(o),
|
|
4158
|
-
1024 &&
|
|
4153
|
+
a[11]("forCasino") + "") && s.p(o), l & /*casinoRules*/
|
|
4154
|
+
1024 && Me(
|
|
4159
4155
|
h,
|
|
4160
4156
|
/*casinoRules*/
|
|
4161
4157
|
a[10]
|
|
@@ -4170,24 +4166,24 @@ function Dt(e) {
|
|
|
4170
4166
|
let t, n, r, i, s, o = (
|
|
4171
4167
|
/*$_*/
|
|
4172
4168
|
e[11]("forSportsbook") + ""
|
|
4173
|
-
),
|
|
4169
|
+
), u, h, a = bt(
|
|
4174
4170
|
/*sportRules*/
|
|
4175
4171
|
e[9]
|
|
4176
|
-
),
|
|
4172
|
+
), l = [];
|
|
4177
4173
|
for (let c = 0; c < a.length; c += 1)
|
|
4178
|
-
|
|
4174
|
+
l[c] = Gt(Ot(e, a, c));
|
|
4179
4175
|
return {
|
|
4180
4176
|
c() {
|
|
4181
|
-
t =
|
|
4182
|
-
`), h =
|
|
4183
|
-
for (let c = 0; c <
|
|
4184
|
-
|
|
4185
|
-
p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a =
|
|
4177
|
+
t = _("div"), n = _("div"), n.innerHTML = `<img src="${ji}"/>`, r = L(), i = _("div"), s = new re(!1), u = K(`:
|
|
4178
|
+
`), h = _("ul");
|
|
4179
|
+
for (let c = 0; c < l.length; c += 1)
|
|
4180
|
+
l[c].c();
|
|
4181
|
+
p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a = u, p(h, "class", "SportsRules"), p(i, "class", "RuleTxt"), p(i, "part", "RuleTxt"), p(t, "class", "RulesRow"), p(t, "part", "rule");
|
|
4186
4182
|
},
|
|
4187
4183
|
m(c, f) {
|
|
4188
|
-
W(c, t, f), b(t, n), b(t, r), b(t, i), s.m(o, i), b(i,
|
|
4189
|
-
for (let d = 0; d <
|
|
4190
|
-
|
|
4184
|
+
W(c, t, f), b(t, n), b(t, r), b(t, i), s.m(o, i), b(i, u), b(i, h);
|
|
4185
|
+
for (let d = 0; d < l.length; d += 1)
|
|
4186
|
+
l[d] && l[d].m(h, null);
|
|
4191
4187
|
},
|
|
4192
4188
|
p(c, f) {
|
|
4193
4189
|
if (f & /*$_*/
|
|
@@ -4201,15 +4197,15 @@ function Dt(e) {
|
|
|
4201
4197
|
let d;
|
|
4202
4198
|
for (d = 0; d < a.length; d += 1) {
|
|
4203
4199
|
const g = Ot(c, a, d);
|
|
4204
|
-
|
|
4200
|
+
l[d] ? l[d].p(g, f) : (l[d] = Gt(g), l[d].c(), l[d].m(h, null));
|
|
4205
4201
|
}
|
|
4206
|
-
for (; d <
|
|
4207
|
-
|
|
4208
|
-
|
|
4202
|
+
for (; d < l.length; d += 1)
|
|
4203
|
+
l[d].d(1);
|
|
4204
|
+
l.length = a.length;
|
|
4209
4205
|
}
|
|
4210
4206
|
},
|
|
4211
4207
|
d(c) {
|
|
4212
|
-
c && z(t), Bn(
|
|
4208
|
+
c && z(t), Bn(l, c);
|
|
4213
4209
|
}
|
|
4214
4210
|
};
|
|
4215
4211
|
}
|
|
@@ -4220,7 +4216,7 @@ function Gt(e) {
|
|
|
4220
4216
|
), r;
|
|
4221
4217
|
return {
|
|
4222
4218
|
c() {
|
|
4223
|
-
t =
|
|
4219
|
+
t = _("li"), r = K(n), p(t, "class", "RuleTxt"), p(t, "part", "RuleTxt");
|
|
4224
4220
|
},
|
|
4225
4221
|
m(i, s) {
|
|
4226
4222
|
W(i, t, s), b(t, r);
|
|
@@ -4228,15 +4224,15 @@ function Gt(e) {
|
|
|
4228
4224
|
p(i, s) {
|
|
4229
4225
|
s & /*sportRules*/
|
|
4230
4226
|
512 && n !== (n = /*rule*/
|
|
4231
|
-
i[24] + "") &&
|
|
4227
|
+
i[24] + "") && Me(r, n);
|
|
4232
4228
|
},
|
|
4233
4229
|
d(i) {
|
|
4234
4230
|
i && z(t);
|
|
4235
4231
|
}
|
|
4236
4232
|
};
|
|
4237
4233
|
}
|
|
4238
|
-
function
|
|
4239
|
-
let t, n, r, i, s, o,
|
|
4234
|
+
function zi(e) {
|
|
4235
|
+
let t, n, r, i, s, o, u, h, a, l, c, f, d, g, C = (
|
|
4240
4236
|
/*$_*/
|
|
4241
4237
|
e[11]("miniBetCount", {
|
|
4242
4238
|
values: { betCount: (
|
|
@@ -4244,7 +4240,7 @@ function Zi(e) {
|
|
|
4244
4240
|
e[3]
|
|
4245
4241
|
) }
|
|
4246
4242
|
}) + ""
|
|
4247
|
-
), H, S, B,
|
|
4243
|
+
), H, S, B, w, V, M, A = (
|
|
4248
4244
|
/*$_*/
|
|
4249
4245
|
e[11]("timePeriod", {
|
|
4250
4246
|
values: {
|
|
@@ -4258,13 +4254,13 @@ function Zi(e) {
|
|
|
4258
4254
|
)
|
|
4259
4255
|
}
|
|
4260
4256
|
}) + ""
|
|
4261
|
-
), Z,
|
|
4257
|
+
), Z, te, m, O, Q, q, ne = (
|
|
4262
4258
|
/*$_*/
|
|
4263
4259
|
e[11]("terms", { values: { tcUrl: (
|
|
4264
4260
|
/*tcurl*/
|
|
4265
4261
|
e[6]
|
|
4266
4262
|
) } }) + ""
|
|
4267
|
-
),
|
|
4263
|
+
), be, J, Te, ut, ke, I = (
|
|
4268
4264
|
/*scorecriterial*/
|
|
4269
4265
|
e[2] == "BetCount" && Pt(e)
|
|
4270
4266
|
), k = (
|
|
@@ -4289,28 +4285,28 @@ function Zi(e) {
|
|
|
4289
4285
|
);
|
|
4290
4286
|
return {
|
|
4291
4287
|
c() {
|
|
4292
|
-
t =
|
|
4288
|
+
t = _("div"), n = _("div"), r = _("div"), r.innerHTML = `<img src="${$i}"/>`, i = L(), s = _("div"), I && I.c(), o = L(), k && k.c(), u = L(), $ && $.c(), h = L(), U && U.c(), a = L(), D && D.c(), l = L(), c = _("div"), f = _("div"), f.innerHTML = `<img src="${Ui}"/>`, d = L(), g = _("div"), H = K(C), S = L(), B = _("div"), w = _("div"), w.innerHTML = `<img src="${Di}"/>`, V = L(), M = _("div"), Z = K(A), te = L(), m = _("div"), O = _("div"), O.innerHTML = `<img src="${Gi}"/>`, Q = L(), q = _("div"), be = L(), J = _("span"), ut = L(), G && G.c(), ke = L(), F && F.c(), p(r, "class", "RuleIcon"), p(r, "part", "RuleIcon"), p(s, "class", "RuleTxt"), p(s, "part", "RuleTxt"), p(n, "class", "RulesRow"), p(n, "part", "rule"), p(f, "class", "RuleIcon"), p(f, "part", "RuleIcon"), p(g, "class", "RuleTxt"), p(g, "part", "RuleTxt"), p(c, "class", "RulesRow"), p(c, "part", "rule"), p(w, "class", "RuleIcon"), p(w, "part", "RuleIcon"), p(M, "class", "RuleTxt"), p(M, "part", "RuleTxt"), p(B, "class", "RulesRow"), p(B, "part", "rule"), p(O, "class", "RuleIcon"), p(O, "part", "RuleIcon"), p(q, "class", "RuleTxt"), p(q, "part", "RuleTxt"), p(m, "class", "RulesRow"), p(m, "part", "rule"), p(J, "type", "hidden"), p(J, "href", Te = { tcurl: (
|
|
4293
4289
|
/*tcurl*/
|
|
4294
4290
|
e[6]
|
|
4295
4291
|
) }), p(t, "class", "casino-tournaments-thumbnail-rule"), p(t, "part", "casino-tournaments-thumbnail-rule");
|
|
4296
4292
|
},
|
|
4297
4293
|
m(v, j) {
|
|
4298
|
-
W(v, t, j), b(t, n), b(n, r), b(n, i), b(n, s), I && I.m(s, null), b(s, o), k && k.m(s, null), b(s,
|
|
4294
|
+
W(v, t, j), b(t, n), b(n, r), b(n, i), b(n, s), I && I.m(s, null), b(s, o), k && k.m(s, null), b(s, u), $ && $.m(s, null), b(s, h), U && U.m(s, null), b(s, a), D && D.m(s, null), b(t, l), b(t, c), b(c, f), b(c, d), b(c, g), b(g, H), b(t, S), b(t, B), b(B, w), b(B, V), b(B, M), b(M, Z), b(t, te), b(t, m), b(m, O), b(m, Q), b(m, q), q.innerHTML = ne, b(t, be), b(t, J), b(t, ut), G && G.m(t, null), b(t, ke), F && F.m(t, null), e[17](t);
|
|
4299
4295
|
},
|
|
4300
4296
|
p(v, [j]) {
|
|
4301
4297
|
/*scorecriterial*/
|
|
4302
4298
|
v[2] == "BetCount" ? I ? I.p(v, j) : (I = Pt(v), I.c(), I.m(s, o)) : I && (I.d(1), I = null), /*scorecriterial*/
|
|
4303
|
-
v[2] == "WinStakeRatio" ? k ? k.p(v, j) : (k = Nt(v), k.c(), k.m(s,
|
|
4299
|
+
v[2] == "WinStakeRatio" ? k ? k.p(v, j) : (k = Nt(v), k.c(), k.m(s, u)) : k && (k.d(1), k = null), /*scorecriterial*/
|
|
4304
4300
|
v[2] == "MaxWinStakeRatio" ? $ ? $.p(v, j) : ($ = It(v), $.c(), $.m(s, h)) : $ && ($.d(1), $ = null), /*minscore*/
|
|
4305
4301
|
v[7] ? U ? U.p(v, j) : (U = kt(v), U.c(), U.m(s, a)) : U && (U.d(1), U = null), /*scorecriterial*/
|
|
4306
4302
|
v[2] == "Stake" ? D ? D.p(v, j) : (D = $t(v), D.c(), D.m(s, null)) : D && (D.d(1), D = null), j & /*$_, betcount*/
|
|
4307
|
-
2056 &&
|
|
4303
|
+
2056 && C !== (C = /*$_*/
|
|
4308
4304
|
v[11]("miniBetCount", {
|
|
4309
4305
|
values: { betCount: (
|
|
4310
4306
|
/*betcount*/
|
|
4311
4307
|
v[3]
|
|
4312
4308
|
) }
|
|
4313
|
-
}) + "") &&
|
|
4309
|
+
}) + "") && Me(H, C), j & /*$_, starttime, endtime*/
|
|
4314
4310
|
2096 && A !== (A = /*$_*/
|
|
4315
4311
|
v[11]("timePeriod", {
|
|
4316
4312
|
values: {
|
|
@@ -4323,17 +4319,17 @@ function Zi(e) {
|
|
|
4323
4319
|
v[5]
|
|
4324
4320
|
)
|
|
4325
4321
|
}
|
|
4326
|
-
}) + "") &&
|
|
4327
|
-
2112 &&
|
|
4322
|
+
}) + "") && Me(Z, A), j & /*$_, tcurl*/
|
|
4323
|
+
2112 && ne !== (ne = /*$_*/
|
|
4328
4324
|
v[11]("terms", { values: { tcUrl: (
|
|
4329
4325
|
/*tcurl*/
|
|
4330
4326
|
v[6]
|
|
4331
|
-
) } }) + "") && (
|
|
4332
|
-
64 &&
|
|
4327
|
+
) } }) + "") && (q.innerHTML = ne), j & /*tcurl*/
|
|
4328
|
+
64 && Te !== (Te = { tcurl: (
|
|
4333
4329
|
/*tcurl*/
|
|
4334
4330
|
v[6]
|
|
4335
|
-
) }) && p(
|
|
4336
|
-
v[1] ? G ? G.p(v, j) : (G = Ut(v), G.c(), G.m(t,
|
|
4331
|
+
) }) && p(J, "href", Te), /*casinowallet*/
|
|
4332
|
+
v[1] ? G ? G.p(v, j) : (G = Ut(v), G.c(), G.m(t, ke)) : G && (G.d(1), G = null), /*sportswallet*/
|
|
4337
4333
|
v[0] && /*sportRules*/
|
|
4338
4334
|
v[9].length ? F ? F.p(v, j) : (F = Dt(v), F.c(), F.m(t, null)) : F && (F.d(1), F = null);
|
|
4339
4335
|
},
|
|
@@ -4344,15 +4340,15 @@ function Zi(e) {
|
|
|
4344
4340
|
}
|
|
4345
4341
|
};
|
|
4346
4342
|
}
|
|
4347
|
-
function
|
|
4343
|
+
function Zi(e, t, n) {
|
|
4348
4344
|
let r;
|
|
4349
|
-
_n(e,
|
|
4350
|
-
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount: o } = t, { starttime:
|
|
4351
|
-
|
|
4345
|
+
_n(e, Ai, (m) => n(11, r = m));
|
|
4346
|
+
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount: o } = t, { starttime: u } = t, { endtime: h } = t, { tcurl: a } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { mbsource: d } = t, { sportswallet: g } = t, { casinowallet: C } = t, { minscore: H } = t, S, B = [], w = "";
|
|
4347
|
+
Oi({ withLocale: "en", translations: {} });
|
|
4352
4348
|
const V = () => {
|
|
4353
4349
|
fetch(f).then((O) => O.json()).then((O) => {
|
|
4354
|
-
Object.keys(O).forEach((
|
|
4355
|
-
Rt(
|
|
4350
|
+
Object.keys(O).forEach((Q) => {
|
|
4351
|
+
Rt(Q, O[Q]);
|
|
4356
4352
|
});
|
|
4357
4353
|
}).catch((O) => {
|
|
4358
4354
|
console.error(O);
|
|
@@ -4362,58 +4358,58 @@ function Xi(e, t, n) {
|
|
|
4362
4358
|
Rt(m, Lt[m]);
|
|
4363
4359
|
});
|
|
4364
4360
|
const M = () => {
|
|
4365
|
-
|
|
4361
|
+
Pi(i);
|
|
4366
4362
|
}, A = (m) => {
|
|
4367
|
-
m.data && m.data.type && m.type == "TournamentsWalletsUpdate" && (n(1,
|
|
4363
|
+
m.data && m.data.type && m.type == "TournamentsWalletsUpdate" && (n(1, C = m.data.wallet.casino), n(0, g = m.data.wallet.sports));
|
|
4368
4364
|
}, Z = () => {
|
|
4369
|
-
n(10,
|
|
4365
|
+
n(10, w = C ? At.generateCasinoRule(r, C) : ""), n(9, B = g ? At.generateSportsRule(r, g) : []);
|
|
4370
4366
|
};
|
|
4371
4367
|
An(() => (window.addEventListener("message", A, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
|
|
4372
4368
|
window.removeEventListener("message", A);
|
|
4373
4369
|
}));
|
|
4374
|
-
function
|
|
4375
|
-
|
|
4370
|
+
function te(m) {
|
|
4371
|
+
Ze[m ? "unshift" : "push"](() => {
|
|
4376
4372
|
S = m, n(8, S);
|
|
4377
4373
|
});
|
|
4378
4374
|
}
|
|
4379
4375
|
return e.$$set = (m) => {
|
|
4380
|
-
"lang" in m && n(12, i = m.lang), "scorecriterial" in m && n(2, s = m.scorecriterial), "betcount" in m && n(3, o = m.betcount), "starttime" in m && n(4,
|
|
4376
|
+
"lang" in m && n(12, i = m.lang), "scorecriterial" in m && n(2, s = m.scorecriterial), "betcount" in m && n(3, o = m.betcount), "starttime" in m && n(4, u = m.starttime), "endtime" in m && n(5, h = m.endtime), "tcurl" in m && n(6, a = m.tcurl), "clientstyling" in m && n(13, l = m.clientstyling), "clientstylingurl" in m && n(14, c = m.clientstylingurl), "translationurl" in m && n(15, f = m.translationurl), "mbsource" in m && n(16, d = m.mbsource), "sportswallet" in m && n(0, g = m.sportswallet), "casinowallet" in m && n(1, C = m.casinowallet), "minscore" in m && n(7, H = m.minscore);
|
|
4381
4377
|
}, e.$$.update = () => {
|
|
4382
4378
|
e.$$.dirty & /*lang*/
|
|
4383
4379
|
4096 && i && M(), e.$$.dirty & /*sportswallet, casinowallet*/
|
|
4384
|
-
3 && (g ||
|
|
4385
|
-
8448 &&
|
|
4386
|
-
16640 && c && S &&
|
|
4387
|
-
65792 && d && S &&
|
|
4380
|
+
3 && (g || C) && Z(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4381
|
+
8448 && l && S && Ni(S, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4382
|
+
16640 && c && S && Ii(S, c), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4383
|
+
65792 && d && S && ki(S, `${d}.Style`), e.$$.dirty & /*translationurl*/
|
|
4388
4384
|
32768 && f && V();
|
|
4389
4385
|
}, [
|
|
4390
4386
|
g,
|
|
4391
|
-
|
|
4387
|
+
C,
|
|
4392
4388
|
s,
|
|
4393
4389
|
o,
|
|
4394
|
-
|
|
4390
|
+
u,
|
|
4395
4391
|
h,
|
|
4396
4392
|
a,
|
|
4397
4393
|
H,
|
|
4398
4394
|
S,
|
|
4399
4395
|
B,
|
|
4400
|
-
|
|
4396
|
+
w,
|
|
4401
4397
|
r,
|
|
4402
4398
|
i,
|
|
4403
|
-
|
|
4399
|
+
l,
|
|
4404
4400
|
c,
|
|
4405
4401
|
f,
|
|
4406
4402
|
d,
|
|
4407
|
-
|
|
4403
|
+
te
|
|
4408
4404
|
];
|
|
4409
4405
|
}
|
|
4410
|
-
class
|
|
4406
|
+
class Xi extends Vn {
|
|
4411
4407
|
constructor(t) {
|
|
4412
4408
|
super(), Fn(
|
|
4413
4409
|
this,
|
|
4414
4410
|
t,
|
|
4415
|
-
Xi,
|
|
4416
4411
|
Zi,
|
|
4412
|
+
zi,
|
|
4417
4413
|
jt,
|
|
4418
4414
|
{
|
|
4419
4415
|
lang: 12,
|
|
@@ -4430,7 +4426,7 @@ class Wi extends Vn {
|
|
|
4430
4426
|
casinowallet: 1,
|
|
4431
4427
|
minscore: 7
|
|
4432
4428
|
},
|
|
4433
|
-
|
|
4429
|
+
Vi
|
|
4434
4430
|
);
|
|
4435
4431
|
}
|
|
4436
4432
|
get lang() {
|
|
@@ -4512,7 +4508,7 @@ class Wi extends Vn {
|
|
|
4512
4508
|
this.$$set({ minscore: t }), P();
|
|
4513
4509
|
}
|
|
4514
4510
|
}
|
|
4515
|
-
jn(
|
|
4511
|
+
jn(Xi, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, sportswallet: {}, casinowallet: {}, minscore: {} }, [], [], !0);
|
|
4516
4512
|
export {
|
|
4517
|
-
|
|
4513
|
+
Xi as default
|
|
4518
4514
|
};
|