@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
|
@@ -3,13 +3,13 @@ function z() {
|
|
|
3
3
|
function kt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function lt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function ye(e) {
|
|
10
10
|
e.forEach(kt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function tt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
15
|
function It(e, t) {
|
|
@@ -36,7 +36,7 @@ function b(e, t) {
|
|
|
36
36
|
function mn(e, t, n) {
|
|
37
37
|
const r = dn(e);
|
|
38
38
|
if (!r.getElementById(t)) {
|
|
39
|
-
const i =
|
|
39
|
+
const i = _("style");
|
|
40
40
|
i.id = t, i.textContent = n, pn(r, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -67,20 +67,20 @@ function bn(e, t) {
|
|
|
67
67
|
for (let n = 0; n < e.length; n += 1)
|
|
68
68
|
e[n] && e[n].d(t);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function _(e) {
|
|
71
71
|
return document.createElement(e);
|
|
72
72
|
}
|
|
73
73
|
function gn(e) {
|
|
74
74
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function q(e) {
|
|
77
77
|
return document.createTextNode(e);
|
|
78
78
|
}
|
|
79
79
|
function R() {
|
|
80
|
-
return
|
|
80
|
+
return q(" ");
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
return
|
|
82
|
+
function ve() {
|
|
83
|
+
return q("");
|
|
84
84
|
}
|
|
85
85
|
function p(e, t, n) {
|
|
86
86
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
@@ -88,11 +88,11 @@ function p(e, t, n) {
|
|
|
88
88
|
function yn(e) {
|
|
89
89
|
return Array.from(e.childNodes);
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function Be(e, t) {
|
|
92
92
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
93
93
|
t);
|
|
94
94
|
}
|
|
95
|
-
class
|
|
95
|
+
class J {
|
|
96
96
|
/**
|
|
97
97
|
* @private
|
|
98
98
|
* @default false
|
|
@@ -126,7 +126,7 @@ class Y {
|
|
|
126
126
|
this.e || (this.is_svg ? this.e = gn(
|
|
127
127
|
/** @type {keyof SVGElementTagNameMap} */
|
|
128
128
|
n.nodeName
|
|
129
|
-
) : this.e =
|
|
129
|
+
) : this.e = _(
|
|
130
130
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
131
131
|
n.nodeType === 11 ? "TEMPLATE" : n.nodeName
|
|
132
132
|
), this.t = n.tagName !== "TEMPLATE" ? n : (
|
|
@@ -171,65 +171,65 @@ function vn(e) {
|
|
|
171
171
|
}
|
|
172
172
|
), t;
|
|
173
173
|
}
|
|
174
|
-
let
|
|
175
|
-
function
|
|
176
|
-
|
|
174
|
+
let pe;
|
|
175
|
+
function de(e) {
|
|
176
|
+
pe = e;
|
|
177
177
|
}
|
|
178
178
|
function xn() {
|
|
179
|
-
if (!
|
|
179
|
+
if (!pe)
|
|
180
180
|
throw new Error("Function called outside component initialization");
|
|
181
|
-
return
|
|
181
|
+
return pe;
|
|
182
182
|
}
|
|
183
183
|
function En(e) {
|
|
184
184
|
xn().$$.on_mount.push(e);
|
|
185
185
|
}
|
|
186
|
-
const
|
|
187
|
-
let
|
|
188
|
-
const
|
|
189
|
-
let
|
|
186
|
+
const ne = [], je = [];
|
|
187
|
+
let re = [];
|
|
188
|
+
const ut = [], Cn = /* @__PURE__ */ Promise.resolve();
|
|
189
|
+
let Ve = !1;
|
|
190
190
|
function _n() {
|
|
191
|
-
|
|
191
|
+
Ve || (Ve = !0, Cn.then(L));
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
|
|
193
|
+
function ze(e) {
|
|
194
|
+
re.push(e);
|
|
195
195
|
}
|
|
196
|
-
const
|
|
197
|
-
let
|
|
196
|
+
const ke = /* @__PURE__ */ new Set();
|
|
197
|
+
let ee = 0;
|
|
198
198
|
function L() {
|
|
199
|
-
if (
|
|
199
|
+
if (ee !== 0)
|
|
200
200
|
return;
|
|
201
|
-
const e =
|
|
201
|
+
const e = pe;
|
|
202
202
|
do {
|
|
203
203
|
try {
|
|
204
|
-
for (;
|
|
205
|
-
const t =
|
|
206
|
-
|
|
204
|
+
for (; ee < ne.length; ) {
|
|
205
|
+
const t = ne[ee];
|
|
206
|
+
ee++, de(t), Tn(t.$$);
|
|
207
207
|
}
|
|
208
208
|
} catch (t) {
|
|
209
|
-
throw
|
|
209
|
+
throw ne.length = 0, ee = 0, t;
|
|
210
210
|
}
|
|
211
|
-
for (
|
|
212
|
-
|
|
213
|
-
for (let t = 0; t <
|
|
214
|
-
const n =
|
|
215
|
-
|
|
211
|
+
for (de(null), ne.length = 0, ee = 0; je.length; )
|
|
212
|
+
je.pop()();
|
|
213
|
+
for (let t = 0; t < re.length; t += 1) {
|
|
214
|
+
const n = re[t];
|
|
215
|
+
ke.has(n) || (ke.add(n), n());
|
|
216
216
|
}
|
|
217
|
-
|
|
218
|
-
} while (
|
|
219
|
-
for (;
|
|
220
|
-
|
|
221
|
-
|
|
217
|
+
re.length = 0;
|
|
218
|
+
} while (ne.length);
|
|
219
|
+
for (; ut.length; )
|
|
220
|
+
ut.pop()();
|
|
221
|
+
Ve = !1, ke.clear(), de(e);
|
|
222
222
|
}
|
|
223
223
|
function Tn(e) {
|
|
224
224
|
if (e.fragment !== null) {
|
|
225
|
-
e.update(),
|
|
225
|
+
e.update(), ye(e.before_update);
|
|
226
226
|
const t = e.dirty;
|
|
227
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
227
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
|
|
228
228
|
}
|
|
229
229
|
}
|
|
230
230
|
function wn(e) {
|
|
231
231
|
const t = [], n = [];
|
|
232
|
-
|
|
232
|
+
re.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), re = t;
|
|
233
233
|
}
|
|
234
234
|
const Sn = /* @__PURE__ */ new Set();
|
|
235
235
|
function Bn(e, t) {
|
|
@@ -240,21 +240,21 @@ function ht(e) {
|
|
|
240
240
|
}
|
|
241
241
|
function Hn(e, t, n) {
|
|
242
242
|
const { fragment: r, after_update: i } = e.$$;
|
|
243
|
-
r && r.m(t, n),
|
|
244
|
-
const s = e.$$.on_mount.map(kt).filter(
|
|
245
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
246
|
-
}), i.forEach(
|
|
243
|
+
r && r.m(t, n), ze(() => {
|
|
244
|
+
const s = e.$$.on_mount.map(kt).filter(tt);
|
|
245
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ye(s), e.$$.on_mount = [];
|
|
246
|
+
}), i.forEach(ze);
|
|
247
247
|
}
|
|
248
248
|
function Mn(e, t) {
|
|
249
249
|
const n = e.$$;
|
|
250
|
-
n.fragment !== null && (wn(n.after_update),
|
|
250
|
+
n.fragment !== null && (wn(n.after_update), ye(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
251
251
|
}
|
|
252
252
|
function Rn(e, t) {
|
|
253
|
-
e.$$.dirty[0] === -1 && (
|
|
253
|
+
e.$$.dirty[0] === -1 && (ne.push(e), _n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
254
254
|
}
|
|
255
|
-
function Ln(e, t, n, r, i, s,
|
|
256
|
-
const c =
|
|
257
|
-
|
|
255
|
+
function Ln(e, t, n, r, i, s, u = null, l = [-1]) {
|
|
256
|
+
const c = pe;
|
|
257
|
+
de(e);
|
|
258
258
|
const a = e.$$ = {
|
|
259
259
|
fragment: null,
|
|
260
260
|
ctx: [],
|
|
@@ -262,7 +262,7 @@ function Ln(e, t, n, r, i, s, l = null, u = [-1]) {
|
|
|
262
262
|
props: s,
|
|
263
263
|
update: z,
|
|
264
264
|
not_equal: i,
|
|
265
|
-
bound:
|
|
265
|
+
bound: lt(),
|
|
266
266
|
// lifecycle
|
|
267
267
|
on_mount: [],
|
|
268
268
|
on_destroy: [],
|
|
@@ -271,17 +271,17 @@ function Ln(e, t, n, r, i, s, l = null, u = [-1]) {
|
|
|
271
271
|
after_update: [],
|
|
272
272
|
context: new Map(t.context || (c ? c.$$.context : [])),
|
|
273
273
|
// everything else
|
|
274
|
-
callbacks:
|
|
275
|
-
dirty:
|
|
274
|
+
callbacks: lt(),
|
|
275
|
+
dirty: l,
|
|
276
276
|
skip_bound: !1,
|
|
277
277
|
root: t.target || c.$$.root
|
|
278
278
|
};
|
|
279
|
-
|
|
279
|
+
u && u(a.root);
|
|
280
280
|
let o = !1;
|
|
281
281
|
if (a.ctx = n ? n(e, t.props || {}, (h, f, ...m) => {
|
|
282
282
|
const g = m.length ? m[0] : f;
|
|
283
283
|
return a.ctx && i(a.ctx[h], a.ctx[h] = g) && (!a.skip_bound && a.bound[h] && a.bound[h](g), o && Rn(e, h)), f;
|
|
284
|
-
}) : [], a.update(), o = !0,
|
|
284
|
+
}) : [], a.update(), o = !0, ye(a.before_update), a.fragment = r ? r(a.ctx) : !1, t.target) {
|
|
285
285
|
if (t.hydrate) {
|
|
286
286
|
const h = yn(t.target);
|
|
287
287
|
a.fragment && a.fragment.l(h), h.forEach(V);
|
|
@@ -289,7 +289,7 @@ function Ln(e, t, n, r, i, s, l = null, u = [-1]) {
|
|
|
289
289
|
a.fragment && a.fragment.c();
|
|
290
290
|
t.intro && Bn(e.$$.fragment), Hn(e, t.target, t.anchor), L();
|
|
291
291
|
}
|
|
292
|
-
|
|
292
|
+
de(c);
|
|
293
293
|
}
|
|
294
294
|
let Ut;
|
|
295
295
|
typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
@@ -334,7 +334,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
334
334
|
let s;
|
|
335
335
|
return {
|
|
336
336
|
c: function() {
|
|
337
|
-
s =
|
|
337
|
+
s = _("slot"), i !== "default" && p(s, "name", i);
|
|
338
338
|
},
|
|
339
339
|
/**
|
|
340
340
|
* @param {HTMLElement} target
|
|
@@ -356,7 +356,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
356
356
|
i in n && (t[i] = [e(i)]);
|
|
357
357
|
for (const i of this.attributes) {
|
|
358
358
|
const s = this.$$g_p(i.name);
|
|
359
|
-
s in this.$$d || (this.$$d[s] =
|
|
359
|
+
s in this.$$d || (this.$$d[s] = Te(s, i.value, this.$$p_d, "toProp"));
|
|
360
360
|
}
|
|
361
361
|
for (const i in this.$$p_d)
|
|
362
362
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -374,7 +374,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
374
374
|
this.$$r = !0;
|
|
375
375
|
for (const i in this.$$p_d)
|
|
376
376
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
377
|
-
const s =
|
|
377
|
+
const s = Te(
|
|
378
378
|
i,
|
|
379
379
|
this.$$d[i],
|
|
380
380
|
this.$$p_d,
|
|
@@ -387,8 +387,8 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
387
387
|
this.$$c.$$.after_update.push(r), r();
|
|
388
388
|
for (const i in this.$$l)
|
|
389
389
|
for (const s of this.$$l[i]) {
|
|
390
|
-
const
|
|
391
|
-
this.$$l_u.set(s,
|
|
390
|
+
const u = this.$$c.$on(i, s);
|
|
391
|
+
this.$$l_u.set(s, u);
|
|
392
392
|
}
|
|
393
393
|
this.$$l = {};
|
|
394
394
|
}
|
|
@@ -396,7 +396,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
396
396
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
397
397
|
// and setting attributes through setAttribute etc, this is helpful
|
|
398
398
|
attributeChangedCallback(e, t, n) {
|
|
399
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
399
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Te(e, n, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
400
400
|
}
|
|
401
401
|
disconnectedCallback() {
|
|
402
402
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -409,7 +409,7 @@ typeof HTMLElement == "function" && (Ut = class extends HTMLElement {
|
|
|
409
409
|
) || e;
|
|
410
410
|
}
|
|
411
411
|
});
|
|
412
|
-
function
|
|
412
|
+
function Te(e, t, n, r) {
|
|
413
413
|
const i = n[e]?.type;
|
|
414
414
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
415
415
|
return t;
|
|
@@ -439,33 +439,33 @@ function we(e, t, n, r) {
|
|
|
439
439
|
}
|
|
440
440
|
}
|
|
441
441
|
function An(e, t, n, r, i, s) {
|
|
442
|
-
let
|
|
442
|
+
let u = class extends Ut {
|
|
443
443
|
constructor() {
|
|
444
444
|
super(e, n, i), this.$$p_d = t;
|
|
445
445
|
}
|
|
446
446
|
static get observedAttributes() {
|
|
447
447
|
return Object.keys(t).map(
|
|
448
|
-
(
|
|
448
|
+
(l) => (t[l].attribute || l).toLowerCase()
|
|
449
449
|
);
|
|
450
450
|
}
|
|
451
451
|
};
|
|
452
|
-
return Object.keys(t).forEach((
|
|
453
|
-
Object.defineProperty(
|
|
452
|
+
return Object.keys(t).forEach((l) => {
|
|
453
|
+
Object.defineProperty(u.prototype, l, {
|
|
454
454
|
get() {
|
|
455
|
-
return this.$$c &&
|
|
455
|
+
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
456
456
|
},
|
|
457
457
|
set(c) {
|
|
458
|
-
c =
|
|
458
|
+
c = Te(l, c, t), this.$$d[l] = c, this.$$c?.$set({ [l]: c });
|
|
459
459
|
}
|
|
460
460
|
});
|
|
461
|
-
}), r.forEach((
|
|
462
|
-
Object.defineProperty(
|
|
461
|
+
}), r.forEach((l) => {
|
|
462
|
+
Object.defineProperty(u.prototype, l, {
|
|
463
463
|
get() {
|
|
464
|
-
return this.$$c?.[
|
|
464
|
+
return this.$$c?.[l];
|
|
465
465
|
}
|
|
466
466
|
});
|
|
467
467
|
}), e.element = /** @type {any} */
|
|
468
|
-
|
|
468
|
+
u, u;
|
|
469
469
|
}
|
|
470
470
|
class On {
|
|
471
471
|
/**
|
|
@@ -495,7 +495,7 @@ class On {
|
|
|
495
495
|
* @returns {() => void}
|
|
496
496
|
*/
|
|
497
497
|
$on(t, n) {
|
|
498
|
-
if (!
|
|
498
|
+
if (!tt(n))
|
|
499
499
|
return z;
|
|
500
500
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
501
501
|
return r.push(n), () => {
|
|
@@ -513,44 +513,44 @@ class On {
|
|
|
513
513
|
}
|
|
514
514
|
const Pn = "4";
|
|
515
515
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
|
|
516
|
-
const
|
|
516
|
+
const te = [];
|
|
517
517
|
function Nn(e, t) {
|
|
518
518
|
return {
|
|
519
|
-
subscribe:
|
|
519
|
+
subscribe: Re(e, t).subscribe
|
|
520
520
|
};
|
|
521
521
|
}
|
|
522
|
-
function
|
|
522
|
+
function Re(e, t = z) {
|
|
523
523
|
let n;
|
|
524
524
|
const r = /* @__PURE__ */ new Set();
|
|
525
|
-
function i(
|
|
526
|
-
if (It(e,
|
|
527
|
-
const c = !
|
|
525
|
+
function i(l) {
|
|
526
|
+
if (It(e, l) && (e = l, n)) {
|
|
527
|
+
const c = !te.length;
|
|
528
528
|
for (const a of r)
|
|
529
|
-
a[1](),
|
|
529
|
+
a[1](), te.push(a, e);
|
|
530
530
|
if (c) {
|
|
531
|
-
for (let a = 0; a <
|
|
532
|
-
|
|
533
|
-
|
|
531
|
+
for (let a = 0; a < te.length; a += 2)
|
|
532
|
+
te[a][0](te[a + 1]);
|
|
533
|
+
te.length = 0;
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
}
|
|
537
|
-
function s(
|
|
538
|
-
i(
|
|
537
|
+
function s(l) {
|
|
538
|
+
i(l(e));
|
|
539
539
|
}
|
|
540
|
-
function l
|
|
541
|
-
const a = [
|
|
542
|
-
return r.add(a), r.size === 1 && (n = t(i, s) || z),
|
|
540
|
+
function u(l, c = z) {
|
|
541
|
+
const a = [l, c];
|
|
542
|
+
return r.add(a), r.size === 1 && (n = t(i, s) || z), l(e), () => {
|
|
543
543
|
r.delete(a), r.size === 0 && n && (n(), n = null);
|
|
544
544
|
};
|
|
545
545
|
}
|
|
546
|
-
return { set: i, update: s, subscribe:
|
|
546
|
+
return { set: i, update: s, subscribe: u };
|
|
547
547
|
}
|
|
548
548
|
function le(e, t, n) {
|
|
549
549
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
550
550
|
if (!i.every(Boolean))
|
|
551
551
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
552
552
|
const s = t.length < 2;
|
|
553
|
-
return Nn(n, (
|
|
553
|
+
return Nn(n, (u, l) => {
|
|
554
554
|
let c = !1;
|
|
555
555
|
const a = [];
|
|
556
556
|
let o = 0, h = z;
|
|
@@ -558,21 +558,21 @@ function le(e, t, n) {
|
|
|
558
558
|
if (o)
|
|
559
559
|
return;
|
|
560
560
|
h();
|
|
561
|
-
const g = t(r ? a[0] : a,
|
|
562
|
-
s ?
|
|
561
|
+
const g = t(r ? a[0] : a, u, l);
|
|
562
|
+
s ? u(g) : h = tt(g) ? g : z;
|
|
563
563
|
}, m = i.map(
|
|
564
|
-
(g,
|
|
564
|
+
(g, C) => $t(
|
|
565
565
|
g,
|
|
566
566
|
(H) => {
|
|
567
|
-
a[
|
|
567
|
+
a[C] = H, o &= ~(1 << C), c && f();
|
|
568
568
|
},
|
|
569
569
|
() => {
|
|
570
|
-
o |= 1 <<
|
|
570
|
+
o |= 1 << C;
|
|
571
571
|
}
|
|
572
572
|
)
|
|
573
573
|
);
|
|
574
574
|
return c = !0, f(), function() {
|
|
575
|
-
|
|
575
|
+
ye(m), h(), c = !1;
|
|
576
576
|
};
|
|
577
577
|
});
|
|
578
578
|
}
|
|
@@ -596,19 +596,19 @@ function Fn(e) {
|
|
|
596
596
|
function jn(e) {
|
|
597
597
|
return Array.isArray(e) ? [] : {};
|
|
598
598
|
}
|
|
599
|
-
function
|
|
600
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
599
|
+
function be(e, t) {
|
|
600
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ie(jn(e), e, t) : e;
|
|
601
601
|
}
|
|
602
602
|
function Vn(e, t, n) {
|
|
603
603
|
return e.concat(t).map(function(r) {
|
|
604
|
-
return
|
|
604
|
+
return be(r, n);
|
|
605
605
|
});
|
|
606
606
|
}
|
|
607
607
|
function zn(e, t) {
|
|
608
608
|
if (!t.customMerge)
|
|
609
|
-
return
|
|
609
|
+
return ie;
|
|
610
610
|
var n = t.customMerge(e);
|
|
611
|
-
return typeof n == "function" ? n :
|
|
611
|
+
return typeof n == "function" ? n : ie;
|
|
612
612
|
}
|
|
613
613
|
function Zn(e) {
|
|
614
614
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
@@ -631,51 +631,65 @@ function Xn(e, t) {
|
|
|
631
631
|
function Wn(e, t, n) {
|
|
632
632
|
var r = {};
|
|
633
633
|
return n.isMergeableObject(e) && ct(e).forEach(function(i) {
|
|
634
|
-
r[i] =
|
|
634
|
+
r[i] = be(e[i], n);
|
|
635
635
|
}), ct(t).forEach(function(i) {
|
|
636
|
-
Xn(e, i) || (Dt(e, i) && n.isMergeableObject(t[i]) ? r[i] = zn(i, n)(e[i], t[i], n) : r[i] =
|
|
636
|
+
Xn(e, i) || (Dt(e, i) && n.isMergeableObject(t[i]) ? r[i] = zn(i, n)(e[i], t[i], n) : r[i] = be(t[i], n));
|
|
637
637
|
}), r;
|
|
638
638
|
}
|
|
639
|
-
function
|
|
640
|
-
n = n || {}, n.arrayMerge = n.arrayMerge || Vn, n.isMergeableObject = n.isMergeableObject || In, n.cloneUnlessOtherwiseSpecified =
|
|
639
|
+
function ie(e, t, n) {
|
|
640
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || Vn, n.isMergeableObject = n.isMergeableObject || In, n.cloneUnlessOtherwiseSpecified = be;
|
|
641
641
|
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
642
|
-
return s ? r ? n.arrayMerge(e, t, n) : Wn(e, t, n) :
|
|
642
|
+
return s ? r ? n.arrayMerge(e, t, n) : Wn(e, t, n) : be(t, n);
|
|
643
643
|
}
|
|
644
|
-
|
|
644
|
+
ie.all = function(t, n) {
|
|
645
645
|
if (!Array.isArray(t))
|
|
646
646
|
throw new Error("first argument should be an array");
|
|
647
647
|
return t.reduce(function(r, i) {
|
|
648
|
-
return
|
|
648
|
+
return ie(r, i, n);
|
|
649
649
|
}, {});
|
|
650
650
|
};
|
|
651
|
-
var qn =
|
|
651
|
+
var qn = ie, Qn = qn;
|
|
652
652
|
const Jn = /* @__PURE__ */ kn(Qn);
|
|
653
|
-
|
|
654
|
-
|
|
653
|
+
/*! *****************************************************************************
|
|
654
|
+
Copyright (c) Microsoft Corporation.
|
|
655
|
+
|
|
656
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
657
|
+
purpose with or without fee is hereby granted.
|
|
658
|
+
|
|
659
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
660
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
661
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
662
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
663
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
664
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
665
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
666
|
+
***************************************************************************** */
|
|
667
|
+
var Ze = function(e, t) {
|
|
668
|
+
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
655
669
|
n.__proto__ = r;
|
|
656
670
|
} || function(n, r) {
|
|
657
671
|
for (var i in r)
|
|
658
672
|
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
659
|
-
},
|
|
673
|
+
}, Ze(e, t);
|
|
660
674
|
};
|
|
661
|
-
function
|
|
675
|
+
function Le(e, t) {
|
|
662
676
|
if (typeof t != "function" && t !== null)
|
|
663
677
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
664
|
-
|
|
678
|
+
Ze(e, t);
|
|
665
679
|
function n() {
|
|
666
680
|
this.constructor = e;
|
|
667
681
|
}
|
|
668
682
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
669
683
|
}
|
|
670
|
-
var
|
|
671
|
-
return
|
|
684
|
+
var E = function() {
|
|
685
|
+
return E = Object.assign || function(t) {
|
|
672
686
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
673
687
|
n = arguments[r];
|
|
674
688
|
for (var s in n)
|
|
675
689
|
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
676
690
|
}
|
|
677
691
|
return t;
|
|
678
|
-
},
|
|
692
|
+
}, E.apply(this, arguments);
|
|
679
693
|
};
|
|
680
694
|
function Yn(e, t) {
|
|
681
695
|
var n = {};
|
|
@@ -686,14 +700,14 @@ function Yn(e, t) {
|
|
|
686
700
|
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
687
701
|
return n;
|
|
688
702
|
}
|
|
689
|
-
function
|
|
690
|
-
if (
|
|
703
|
+
function Ie(e, t, n) {
|
|
704
|
+
if (arguments.length === 2)
|
|
691
705
|
for (var r = 0, i = t.length, s; r < i; r++)
|
|
692
706
|
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
693
|
-
return e.concat(s ||
|
|
707
|
+
return e.concat(s || t);
|
|
694
708
|
}
|
|
695
|
-
function
|
|
696
|
-
var n = t && t.cache ? t.cache :
|
|
709
|
+
function $e(e, t) {
|
|
710
|
+
var n = t && t.cache ? t.cache : ir, r = t && t.serializer ? t.serializer : rr, i = t && t.strategy ? t.strategy : er;
|
|
697
711
|
return i(e, {
|
|
698
712
|
cache: n,
|
|
699
713
|
serializer: r
|
|
@@ -702,103 +716,95 @@ function De(e, t) {
|
|
|
702
716
|
function Kn(e) {
|
|
703
717
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
704
718
|
}
|
|
705
|
-
function
|
|
719
|
+
function Gt(e, t, n, r) {
|
|
706
720
|
var i = Kn(r) ? r : n(r), s = t.get(i);
|
|
707
721
|
return typeof s > "u" && (s = e.call(this, r), t.set(i, s)), s;
|
|
708
722
|
}
|
|
709
|
-
function
|
|
723
|
+
function Ft(e, t, n) {
|
|
710
724
|
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
711
725
|
return typeof s > "u" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
712
726
|
}
|
|
713
|
-
function
|
|
727
|
+
function nt(e, t, n, r, i) {
|
|
714
728
|
return n.bind(t, e, r, i);
|
|
715
729
|
}
|
|
730
|
+
function er(e, t) {
|
|
731
|
+
var n = e.length === 1 ? Gt : Ft;
|
|
732
|
+
return nt(e, this, n, t.cache.create(), t.serializer);
|
|
733
|
+
}
|
|
716
734
|
function tr(e, t) {
|
|
717
|
-
|
|
718
|
-
return Ft(e, this, n, t.cache.create(), t.serializer);
|
|
735
|
+
return nt(e, this, Ft, t.cache.create(), t.serializer);
|
|
719
736
|
}
|
|
720
737
|
function nr(e, t) {
|
|
721
|
-
return
|
|
738
|
+
return nt(e, this, Gt, t.cache.create(), t.serializer);
|
|
722
739
|
}
|
|
723
740
|
var rr = function() {
|
|
724
741
|
return JSON.stringify(arguments);
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
}()
|
|
737
|
-
), sr = {
|
|
742
|
+
};
|
|
743
|
+
function rt() {
|
|
744
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
745
|
+
}
|
|
746
|
+
rt.prototype.get = function(e) {
|
|
747
|
+
return this.cache[e];
|
|
748
|
+
};
|
|
749
|
+
rt.prototype.set = function(e, t) {
|
|
750
|
+
this.cache[e] = t;
|
|
751
|
+
};
|
|
752
|
+
var ir = {
|
|
738
753
|
create: function() {
|
|
739
|
-
return new
|
|
754
|
+
return new rt();
|
|
740
755
|
}
|
|
741
|
-
},
|
|
742
|
-
variadic:
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
746
|
-
n = arguments[r];
|
|
747
|
-
for (var s in n)
|
|
748
|
-
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
749
|
-
}
|
|
750
|
-
return t;
|
|
751
|
-
}, Me.apply(this, arguments);
|
|
752
|
-
};
|
|
753
|
-
var y;
|
|
756
|
+
}, Ue = {
|
|
757
|
+
variadic: tr,
|
|
758
|
+
monadic: nr
|
|
759
|
+
}, y;
|
|
754
760
|
(function(e) {
|
|
755
761
|
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";
|
|
756
762
|
})(y || (y = {}));
|
|
757
|
-
var
|
|
763
|
+
var T;
|
|
758
764
|
(function(e) {
|
|
759
765
|
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";
|
|
760
|
-
})(
|
|
761
|
-
var
|
|
766
|
+
})(T || (T = {}));
|
|
767
|
+
var se;
|
|
762
768
|
(function(e) {
|
|
763
769
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
764
|
-
})(
|
|
770
|
+
})(se || (se = {}));
|
|
765
771
|
function ft(e) {
|
|
766
|
-
return e.type ===
|
|
772
|
+
return e.type === T.literal;
|
|
767
773
|
}
|
|
768
|
-
function
|
|
769
|
-
return e.type ===
|
|
774
|
+
function sr(e) {
|
|
775
|
+
return e.type === T.argument;
|
|
770
776
|
}
|
|
771
777
|
function jt(e) {
|
|
772
|
-
return e.type ===
|
|
778
|
+
return e.type === T.number;
|
|
773
779
|
}
|
|
774
780
|
function Vt(e) {
|
|
775
|
-
return e.type ===
|
|
781
|
+
return e.type === T.date;
|
|
776
782
|
}
|
|
777
783
|
function zt(e) {
|
|
778
|
-
return e.type ===
|
|
784
|
+
return e.type === T.time;
|
|
779
785
|
}
|
|
780
786
|
function Zt(e) {
|
|
781
|
-
return e.type ===
|
|
787
|
+
return e.type === T.select;
|
|
782
788
|
}
|
|
783
789
|
function Xt(e) {
|
|
784
|
-
return e.type ===
|
|
790
|
+
return e.type === T.plural;
|
|
785
791
|
}
|
|
786
|
-
function
|
|
787
|
-
return e.type ===
|
|
792
|
+
function ar(e) {
|
|
793
|
+
return e.type === T.pound;
|
|
788
794
|
}
|
|
789
795
|
function Wt(e) {
|
|
790
|
-
return e.type ===
|
|
796
|
+
return e.type === T.tag;
|
|
791
797
|
}
|
|
792
798
|
function qt(e) {
|
|
793
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
799
|
+
return !!(e && typeof e == "object" && e.type === se.number);
|
|
794
800
|
}
|
|
795
|
-
function
|
|
796
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
801
|
+
function Xe(e) {
|
|
802
|
+
return !!(e && typeof e == "object" && e.type === se.dateTime);
|
|
797
803
|
}
|
|
798
|
-
var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
804
|
+
var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, or = /(?:[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;
|
|
799
805
|
function lr(e) {
|
|
800
806
|
var t = {};
|
|
801
|
-
return e.replace(
|
|
807
|
+
return e.replace(or, function(n) {
|
|
802
808
|
var r = n.length;
|
|
803
809
|
switch (n[0]) {
|
|
804
810
|
case "G":
|
|
@@ -887,39 +893,29 @@ function lr(e) {
|
|
|
887
893
|
return "";
|
|
888
894
|
}), t;
|
|
889
895
|
}
|
|
890
|
-
var
|
|
891
|
-
|
|
892
|
-
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
893
|
-
n = arguments[r];
|
|
894
|
-
for (var s in n)
|
|
895
|
-
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
896
|
-
}
|
|
897
|
-
return t;
|
|
898
|
-
}, w.apply(this, arguments);
|
|
899
|
-
};
|
|
900
|
-
var hr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
901
|
-
function cr(e) {
|
|
896
|
+
var ur = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
897
|
+
function hr(e) {
|
|
902
898
|
if (e.length === 0)
|
|
903
899
|
throw new Error("Number skeleton cannot be empty");
|
|
904
|
-
for (var t = e.split(
|
|
900
|
+
for (var t = e.split(ur).filter(function(f) {
|
|
905
901
|
return f.length > 0;
|
|
906
902
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
907
|
-
var s = i[r],
|
|
908
|
-
if (
|
|
903
|
+
var s = i[r], u = s.split("/");
|
|
904
|
+
if (u.length === 0)
|
|
909
905
|
throw new Error("Invalid number skeleton");
|
|
910
|
-
for (var
|
|
906
|
+
for (var l = u[0], c = u.slice(1), a = 0, o = c; a < o.length; a++) {
|
|
911
907
|
var h = o[a];
|
|
912
908
|
if (h.length === 0)
|
|
913
909
|
throw new Error("Invalid number skeleton");
|
|
914
910
|
}
|
|
915
|
-
n.push({ stem:
|
|
911
|
+
n.push({ stem: l, options: c });
|
|
916
912
|
}
|
|
917
913
|
return n;
|
|
918
914
|
}
|
|
919
|
-
function
|
|
915
|
+
function cr(e) {
|
|
920
916
|
return e.replace(/^(.*?)-/, "");
|
|
921
917
|
}
|
|
922
|
-
var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
918
|
+
var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, fr = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
|
|
923
919
|
function dt(e) {
|
|
924
920
|
var t = {};
|
|
925
921
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(n, r, i) {
|
|
@@ -966,7 +962,7 @@ function Kt(e) {
|
|
|
966
962
|
};
|
|
967
963
|
}
|
|
968
964
|
}
|
|
969
|
-
function
|
|
965
|
+
function mr(e) {
|
|
970
966
|
var t;
|
|
971
967
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
972
968
|
notation: "engineering"
|
|
@@ -984,7 +980,7 @@ function pt(e) {
|
|
|
984
980
|
var t = {}, n = Kt(e);
|
|
985
981
|
return n || t;
|
|
986
982
|
}
|
|
987
|
-
function
|
|
983
|
+
function dr(e) {
|
|
988
984
|
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
989
985
|
var i = r[n];
|
|
990
986
|
switch (i.stem) {
|
|
@@ -1008,7 +1004,7 @@ function pr(e) {
|
|
|
1008
1004
|
continue;
|
|
1009
1005
|
case "measure-unit":
|
|
1010
1006
|
case "unit":
|
|
1011
|
-
t.style = "unit", t.unit =
|
|
1007
|
+
t.style = "unit", t.unit = cr(i.options[0]);
|
|
1012
1008
|
continue;
|
|
1013
1009
|
case "compact-short":
|
|
1014
1010
|
case "K":
|
|
@@ -1019,13 +1015,13 @@ function pr(e) {
|
|
|
1019
1015
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1020
1016
|
continue;
|
|
1021
1017
|
case "scientific":
|
|
1022
|
-
t =
|
|
1023
|
-
return
|
|
1018
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(c, a) {
|
|
1019
|
+
return E(E({}, c), pt(a));
|
|
1024
1020
|
}, {}));
|
|
1025
1021
|
continue;
|
|
1026
1022
|
case "engineering":
|
|
1027
|
-
t =
|
|
1028
|
-
return
|
|
1023
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(c, a) {
|
|
1024
|
+
return E(E({}, c), pt(a));
|
|
1029
1025
|
}, {}));
|
|
1030
1026
|
continue;
|
|
1031
1027
|
case "notation-simple":
|
|
@@ -1070,7 +1066,7 @@ function pr(e) {
|
|
|
1070
1066
|
case "integer-width":
|
|
1071
1067
|
if (i.options.length > 1)
|
|
1072
1068
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1073
|
-
i.options[0].replace(
|
|
1069
|
+
i.options[0].replace(fr, function(c, a, o, h, f, m) {
|
|
1074
1070
|
if (a)
|
|
1075
1071
|
t.minimumIntegerDigits = o.length;
|
|
1076
1072
|
else {
|
|
@@ -1094,21 +1090,21 @@ function pr(e) {
|
|
|
1094
1090
|
return o === "*" ? t.minimumFractionDigits = a.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1095
1091
|
});
|
|
1096
1092
|
var s = i.options[0];
|
|
1097
|
-
s === "w" ? t =
|
|
1093
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), dt(s)));
|
|
1098
1094
|
continue;
|
|
1099
1095
|
}
|
|
1100
1096
|
if (Jt.test(i.stem)) {
|
|
1101
|
-
t =
|
|
1097
|
+
t = E(E({}, t), dt(i.stem));
|
|
1102
1098
|
continue;
|
|
1103
1099
|
}
|
|
1104
|
-
var
|
|
1105
|
-
|
|
1106
|
-
var
|
|
1107
|
-
|
|
1100
|
+
var u = Kt(i.stem);
|
|
1101
|
+
u && (t = E(E({}, t), u));
|
|
1102
|
+
var l = mr(i.stem);
|
|
1103
|
+
l && (t = E(E({}, t), l));
|
|
1108
1104
|
}
|
|
1109
1105
|
return t;
|
|
1110
1106
|
}
|
|
1111
|
-
var
|
|
1107
|
+
var _e = {
|
|
1112
1108
|
"001": [
|
|
1113
1109
|
"H",
|
|
1114
1110
|
"h"
|
|
@@ -2523,23 +2519,23 @@ var Te = {
|
|
|
2523
2519
|
"h"
|
|
2524
2520
|
]
|
|
2525
2521
|
};
|
|
2526
|
-
function
|
|
2522
|
+
function pr(e, t) {
|
|
2527
2523
|
for (var n = "", r = 0; r < e.length; r++) {
|
|
2528
2524
|
var i = e.charAt(r);
|
|
2529
2525
|
if (i === "j") {
|
|
2530
2526
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2531
2527
|
s++, r++;
|
|
2532
|
-
var
|
|
2533
|
-
for ((a == "H" || a == "k") && (
|
|
2528
|
+
var u = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), c = "a", a = br(t);
|
|
2529
|
+
for ((a == "H" || a == "k") && (l = 0); l-- > 0; )
|
|
2534
2530
|
n += c;
|
|
2535
|
-
for (;
|
|
2531
|
+
for (; u-- > 0; )
|
|
2536
2532
|
n = a + n;
|
|
2537
2533
|
} else
|
|
2538
2534
|
i === "J" ? n += "H" : n += i;
|
|
2539
2535
|
}
|
|
2540
2536
|
return n;
|
|
2541
2537
|
}
|
|
2542
|
-
function
|
|
2538
|
+
function br(e) {
|
|
2543
2539
|
var t = e.hourCycle;
|
|
2544
2540
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2545
2541
|
e.hourCycles && // @ts-ignore
|
|
@@ -2558,23 +2554,23 @@ function gr(e) {
|
|
|
2558
2554
|
}
|
|
2559
2555
|
var n = e.language, r;
|
|
2560
2556
|
n !== "root" && (r = e.maximize().region);
|
|
2561
|
-
var i =
|
|
2557
|
+
var i = _e[r || ""] || _e[n || ""] || _e["".concat(n, "-001")] || _e["001"];
|
|
2562
2558
|
return i[0];
|
|
2563
2559
|
}
|
|
2564
|
-
var
|
|
2560
|
+
var De, gr = new RegExp("^".concat(Qt.source, "*")), yr = new RegExp("".concat(Qt.source, "*$"));
|
|
2565
2561
|
function x(e, t) {
|
|
2566
2562
|
return { start: e, end: t };
|
|
2567
2563
|
}
|
|
2568
|
-
var
|
|
2564
|
+
var vr = !!String.prototype.startsWith && "_a".startsWith("a", 1), xr = !!String.fromCodePoint, Er = !!Object.fromEntries, Cr = !!String.prototype.codePointAt, _r = !!String.prototype.trimStart, Tr = !!String.prototype.trimEnd, wr = !!Number.isSafeInteger, Sr = wr ? Number.isSafeInteger : function(e) {
|
|
2569
2565
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2570
|
-
},
|
|
2566
|
+
}, We = !0;
|
|
2571
2567
|
try {
|
|
2572
|
-
var
|
|
2573
|
-
|
|
2568
|
+
var Br = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2569
|
+
We = ((De = Br.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
|
|
2574
2570
|
} catch {
|
|
2575
|
-
|
|
2571
|
+
We = !1;
|
|
2576
2572
|
}
|
|
2577
|
-
var bt =
|
|
2573
|
+
var bt = vr ? (
|
|
2578
2574
|
// Native
|
|
2579
2575
|
function(t, n, r) {
|
|
2580
2576
|
return t.startsWith(n, r);
|
|
@@ -2584,31 +2580,31 @@ var bt = xr ? (
|
|
|
2584
2580
|
function(t, n, r) {
|
|
2585
2581
|
return t.slice(r, r + n.length) === n;
|
|
2586
2582
|
}
|
|
2587
|
-
),
|
|
2583
|
+
), qe = xr ? String.fromCodePoint : (
|
|
2588
2584
|
// IE11
|
|
2589
2585
|
function() {
|
|
2590
2586
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
2591
2587
|
t[n] = arguments[n];
|
|
2592
|
-
for (var r = "", i = t.length, s = 0,
|
|
2593
|
-
if (
|
|
2594
|
-
throw RangeError(
|
|
2595
|
-
r +=
|
|
2588
|
+
for (var r = "", i = t.length, s = 0, u; i > s; ) {
|
|
2589
|
+
if (u = t[s++], u > 1114111)
|
|
2590
|
+
throw RangeError(u + " is not a valid code point");
|
|
2591
|
+
r += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
|
|
2596
2592
|
}
|
|
2597
2593
|
return r;
|
|
2598
2594
|
}
|
|
2599
2595
|
), gt = (
|
|
2600
2596
|
// native
|
|
2601
|
-
|
|
2597
|
+
Er ? Object.fromEntries : (
|
|
2602
2598
|
// Ponyfill
|
|
2603
2599
|
function(t) {
|
|
2604
2600
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2605
|
-
var s = i[r],
|
|
2606
|
-
n[
|
|
2601
|
+
var s = i[r], u = s[0], l = s[1];
|
|
2602
|
+
n[u] = l;
|
|
2607
2603
|
}
|
|
2608
2604
|
return n;
|
|
2609
2605
|
}
|
|
2610
2606
|
)
|
|
2611
|
-
), en =
|
|
2607
|
+
), en = Cr ? (
|
|
2612
2608
|
// Native
|
|
2613
2609
|
function(t, n) {
|
|
2614
2610
|
return t.codePointAt(n);
|
|
@@ -2622,7 +2618,7 @@ var bt = xr ? (
|
|
|
2622
2618
|
return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2623
2619
|
}
|
|
2624
2620
|
}
|
|
2625
|
-
),
|
|
2621
|
+
), Hr = _r ? (
|
|
2626
2622
|
// Native
|
|
2627
2623
|
function(t) {
|
|
2628
2624
|
return t.trimStart();
|
|
@@ -2630,9 +2626,9 @@ var bt = xr ? (
|
|
|
2630
2626
|
) : (
|
|
2631
2627
|
// Ponyfill
|
|
2632
2628
|
function(t) {
|
|
2633
|
-
return t.replace(
|
|
2629
|
+
return t.replace(gr, "");
|
|
2634
2630
|
}
|
|
2635
|
-
),
|
|
2631
|
+
), Mr = Tr ? (
|
|
2636
2632
|
// Native
|
|
2637
2633
|
function(t) {
|
|
2638
2634
|
return t.trimEnd();
|
|
@@ -2640,32 +2636,32 @@ var bt = xr ? (
|
|
|
2640
2636
|
) : (
|
|
2641
2637
|
// Ponyfill
|
|
2642
2638
|
function(t) {
|
|
2643
|
-
return t.replace(
|
|
2639
|
+
return t.replace(yr, "");
|
|
2644
2640
|
}
|
|
2645
2641
|
);
|
|
2646
2642
|
function tn(e, t) {
|
|
2647
2643
|
return new RegExp(e, t);
|
|
2648
2644
|
}
|
|
2649
|
-
var
|
|
2650
|
-
if (
|
|
2645
|
+
var Qe;
|
|
2646
|
+
if (We) {
|
|
2651
2647
|
var yt = tn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2652
|
-
|
|
2648
|
+
Qe = function(t, n) {
|
|
2653
2649
|
var r;
|
|
2654
2650
|
yt.lastIndex = n;
|
|
2655
2651
|
var i = yt.exec(t);
|
|
2656
2652
|
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2657
2653
|
};
|
|
2658
2654
|
} else
|
|
2659
|
-
|
|
2655
|
+
Qe = function(t, n) {
|
|
2660
2656
|
for (var r = []; ; ) {
|
|
2661
2657
|
var i = en(t, n);
|
|
2662
|
-
if (i === void 0 || nn(i) ||
|
|
2658
|
+
if (i === void 0 || nn(i) || Or(i))
|
|
2663
2659
|
break;
|
|
2664
2660
|
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2665
2661
|
}
|
|
2666
|
-
return
|
|
2662
|
+
return qe.apply(void 0, r);
|
|
2667
2663
|
};
|
|
2668
|
-
var
|
|
2664
|
+
var Rr = (
|
|
2669
2665
|
/** @class */
|
|
2670
2666
|
function() {
|
|
2671
2667
|
function e(t, n) {
|
|
@@ -2679,33 +2675,33 @@ var Lr = (
|
|
|
2679
2675
|
for (var i = []; !this.isEOF(); ) {
|
|
2680
2676
|
var s = this.char();
|
|
2681
2677
|
if (s === 123) {
|
|
2682
|
-
var
|
|
2683
|
-
if (
|
|
2684
|
-
return
|
|
2685
|
-
i.push(
|
|
2678
|
+
var u = this.parseArgument(t, r);
|
|
2679
|
+
if (u.err)
|
|
2680
|
+
return u;
|
|
2681
|
+
i.push(u.val);
|
|
2686
2682
|
} else {
|
|
2687
2683
|
if (s === 125 && t > 0)
|
|
2688
2684
|
break;
|
|
2689
2685
|
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2690
|
-
var
|
|
2686
|
+
var l = this.clonePosition();
|
|
2691
2687
|
this.bump(), i.push({
|
|
2692
|
-
type:
|
|
2693
|
-
location: x(
|
|
2688
|
+
type: T.pound,
|
|
2689
|
+
location: x(l, this.clonePosition())
|
|
2694
2690
|
});
|
|
2695
2691
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2696
2692
|
if (r)
|
|
2697
2693
|
break;
|
|
2698
2694
|
return this.error(y.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
|
2699
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2700
|
-
var
|
|
2701
|
-
if (
|
|
2702
|
-
return
|
|
2703
|
-
i.push(
|
|
2695
|
+
} else if (s === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
|
|
2696
|
+
var u = this.parseTag(t, n);
|
|
2697
|
+
if (u.err)
|
|
2698
|
+
return u;
|
|
2699
|
+
i.push(u.val);
|
|
2704
2700
|
} else {
|
|
2705
|
-
var
|
|
2706
|
-
if (
|
|
2707
|
-
return
|
|
2708
|
-
i.push(
|
|
2701
|
+
var u = this.parseLiteral(t, n);
|
|
2702
|
+
if (u.err)
|
|
2703
|
+
return u;
|
|
2704
|
+
i.push(u.val);
|
|
2709
2705
|
}
|
|
2710
2706
|
}
|
|
2711
2707
|
}
|
|
@@ -2717,7 +2713,7 @@ var Lr = (
|
|
|
2717
2713
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2718
2714
|
return {
|
|
2719
2715
|
val: {
|
|
2720
|
-
type:
|
|
2716
|
+
type: T.literal,
|
|
2721
2717
|
value: "<".concat(i, "/>"),
|
|
2722
2718
|
location: x(r, this.clonePosition())
|
|
2723
2719
|
},
|
|
@@ -2727,27 +2723,27 @@ var Lr = (
|
|
|
2727
2723
|
var s = this.parseMessage(t + 1, n, !0);
|
|
2728
2724
|
if (s.err)
|
|
2729
2725
|
return s;
|
|
2730
|
-
var
|
|
2726
|
+
var u = s.val, l = this.clonePosition();
|
|
2731
2727
|
if (this.bumpIf("</")) {
|
|
2732
|
-
if (this.isEOF() || !
|
|
2733
|
-
return this.error(y.INVALID_TAG, x(
|
|
2728
|
+
if (this.isEOF() || !Je(this.char()))
|
|
2729
|
+
return this.error(y.INVALID_TAG, x(l, this.clonePosition()));
|
|
2734
2730
|
var c = this.clonePosition(), a = this.parseTagName();
|
|
2735
2731
|
return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, x(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2736
2732
|
val: {
|
|
2737
|
-
type:
|
|
2733
|
+
type: T.tag,
|
|
2738
2734
|
value: i,
|
|
2739
|
-
children:
|
|
2735
|
+
children: u,
|
|
2740
2736
|
location: x(r, this.clonePosition())
|
|
2741
2737
|
},
|
|
2742
2738
|
err: null
|
|
2743
|
-
} : this.error(y.INVALID_TAG, x(
|
|
2739
|
+
} : this.error(y.INVALID_TAG, x(l, this.clonePosition())));
|
|
2744
2740
|
} else
|
|
2745
2741
|
return this.error(y.UNCLOSED_TAG, x(r, this.clonePosition()));
|
|
2746
2742
|
} else
|
|
2747
2743
|
return this.error(y.INVALID_TAG, x(r, this.clonePosition()));
|
|
2748
2744
|
}, e.prototype.parseTagName = function() {
|
|
2749
2745
|
var t = this.offset();
|
|
2750
|
-
for (this.bump(); !this.isEOF() &&
|
|
2746
|
+
for (this.bump(); !this.isEOF() && Ar(this.char()); )
|
|
2751
2747
|
this.bump();
|
|
2752
2748
|
return this.message.slice(t, this.offset());
|
|
2753
2749
|
}, e.prototype.parseLiteral = function(t, n) {
|
|
@@ -2757,26 +2753,26 @@ var Lr = (
|
|
|
2757
2753
|
i += s;
|
|
2758
2754
|
continue;
|
|
2759
2755
|
}
|
|
2760
|
-
var
|
|
2761
|
-
if (l) {
|
|
2762
|
-
i += l;
|
|
2763
|
-
continue;
|
|
2764
|
-
}
|
|
2765
|
-
var u = this.tryParseLeftAngleBracket();
|
|
2756
|
+
var u = this.tryParseUnquoted(t, n);
|
|
2766
2757
|
if (u) {
|
|
2767
2758
|
i += u;
|
|
2768
2759
|
continue;
|
|
2769
2760
|
}
|
|
2761
|
+
var l = this.tryParseLeftAngleBracket();
|
|
2762
|
+
if (l) {
|
|
2763
|
+
i += l;
|
|
2764
|
+
continue;
|
|
2765
|
+
}
|
|
2770
2766
|
break;
|
|
2771
2767
|
}
|
|
2772
2768
|
var c = x(r, this.clonePosition());
|
|
2773
2769
|
return {
|
|
2774
|
-
val: { type:
|
|
2770
|
+
val: { type: T.literal, value: i, location: c },
|
|
2775
2771
|
err: null
|
|
2776
2772
|
};
|
|
2777
2773
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2778
2774
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2779
|
-
!
|
|
2775
|
+
!Lr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2780
2776
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2781
2777
|
if (this.isEOF() || this.char() !== 39)
|
|
2782
2778
|
return null;
|
|
@@ -2810,12 +2806,12 @@ var Lr = (
|
|
|
2810
2806
|
n.push(r);
|
|
2811
2807
|
this.bump();
|
|
2812
2808
|
}
|
|
2813
|
-
return
|
|
2809
|
+
return qe.apply(void 0, n);
|
|
2814
2810
|
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
2815
2811
|
if (this.isEOF())
|
|
2816
2812
|
return null;
|
|
2817
2813
|
var r = this.char();
|
|
2818
|
-
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(),
|
|
2814
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), qe(r));
|
|
2819
2815
|
}, e.prototype.parseArgument = function(t, n) {
|
|
2820
2816
|
var r = this.clonePosition();
|
|
2821
2817
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2831,7 +2827,7 @@ var Lr = (
|
|
|
2831
2827
|
case 125:
|
|
2832
2828
|
return this.bump(), {
|
|
2833
2829
|
val: {
|
|
2834
|
-
type:
|
|
2830
|
+
type: T.argument,
|
|
2835
2831
|
// value does not include the opening and closing braces.
|
|
2836
2832
|
value: i,
|
|
2837
2833
|
location: x(r, this.clonePosition())
|
|
@@ -2844,15 +2840,15 @@ var Lr = (
|
|
|
2844
2840
|
return this.error(y.MALFORMED_ARGUMENT, x(r, this.clonePosition()));
|
|
2845
2841
|
}
|
|
2846
2842
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2847
|
-
var t = this.clonePosition(), n = this.offset(), r =
|
|
2843
|
+
var t = this.clonePosition(), n = this.offset(), r = Qe(this.message, n), i = n + r.length;
|
|
2848
2844
|
this.bumpTo(i);
|
|
2849
|
-
var s = this.clonePosition(),
|
|
2850
|
-
return { value: r, location:
|
|
2845
|
+
var s = this.clonePosition(), u = x(t, s);
|
|
2846
|
+
return { value: r, location: u };
|
|
2851
2847
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
2852
|
-
var s,
|
|
2853
|
-
switch (
|
|
2848
|
+
var s, u = this.clonePosition(), l = this.parseIdentifierIfPossible().value, c = this.clonePosition();
|
|
2849
|
+
switch (l) {
|
|
2854
2850
|
case "":
|
|
2855
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE, x(
|
|
2851
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, x(u, c));
|
|
2856
2852
|
case "number":
|
|
2857
2853
|
case "date":
|
|
2858
2854
|
case "time": {
|
|
@@ -2863,7 +2859,7 @@ var Lr = (
|
|
|
2863
2859
|
var o = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
|
|
2864
2860
|
if (h.err)
|
|
2865
2861
|
return h;
|
|
2866
|
-
var f =
|
|
2862
|
+
var f = Mr(h.val);
|
|
2867
2863
|
if (f.length === 0)
|
|
2868
2864
|
return this.error(y.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
|
2869
2865
|
var m = x(o, this.clonePosition());
|
|
@@ -2872,37 +2868,37 @@ var Lr = (
|
|
|
2872
2868
|
var g = this.tryParseArgumentClose(i);
|
|
2873
2869
|
if (g.err)
|
|
2874
2870
|
return g;
|
|
2875
|
-
var
|
|
2871
|
+
var C = x(i, this.clonePosition());
|
|
2876
2872
|
if (a && bt(a?.style, "::", 0)) {
|
|
2877
|
-
var H =
|
|
2878
|
-
if (
|
|
2873
|
+
var H = Hr(a.style.slice(2));
|
|
2874
|
+
if (l === "number") {
|
|
2879
2875
|
var h = this.parseNumberSkeletonFromString(H, a.styleLocation);
|
|
2880
2876
|
return h.err ? h : {
|
|
2881
|
-
val: { type:
|
|
2877
|
+
val: { type: T.number, value: r, location: C, style: h.val },
|
|
2882
2878
|
err: null
|
|
2883
2879
|
};
|
|
2884
2880
|
} else {
|
|
2885
2881
|
if (H.length === 0)
|
|
2886
|
-
return this.error(y.EXPECT_DATE_TIME_SKELETON,
|
|
2882
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, C);
|
|
2887
2883
|
var S = H;
|
|
2888
|
-
this.locale && (S =
|
|
2884
|
+
this.locale && (S = pr(H, this.locale));
|
|
2889
2885
|
var f = {
|
|
2890
|
-
type:
|
|
2886
|
+
type: se.dateTime,
|
|
2891
2887
|
pattern: S,
|
|
2892
2888
|
location: a.styleLocation,
|
|
2893
2889
|
parsedOptions: this.shouldParseSkeletons ? lr(S) : {}
|
|
2894
|
-
}, B =
|
|
2890
|
+
}, B = l === "date" ? T.date : T.time;
|
|
2895
2891
|
return {
|
|
2896
|
-
val: { type: B, value: r, location:
|
|
2892
|
+
val: { type: B, value: r, location: C, style: f },
|
|
2897
2893
|
err: null
|
|
2898
2894
|
};
|
|
2899
2895
|
}
|
|
2900
2896
|
}
|
|
2901
2897
|
return {
|
|
2902
2898
|
val: {
|
|
2903
|
-
type:
|
|
2899
|
+
type: l === "number" ? T.number : l === "date" ? T.date : T.time,
|
|
2904
2900
|
value: r,
|
|
2905
|
-
location:
|
|
2901
|
+
location: C,
|
|
2906
2902
|
style: (s = a?.style) !== null && s !== void 0 ? s : null
|
|
2907
2903
|
},
|
|
2908
2904
|
err: null
|
|
@@ -2911,12 +2907,12 @@ var Lr = (
|
|
|
2911
2907
|
case "plural":
|
|
2912
2908
|
case "selectordinal":
|
|
2913
2909
|
case "select": {
|
|
2914
|
-
var
|
|
2910
|
+
var w = this.clonePosition();
|
|
2915
2911
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2916
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, x(
|
|
2912
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, x(w, E({}, w)));
|
|
2917
2913
|
this.bumpSpace();
|
|
2918
2914
|
var G = this.parseIdentifierIfPossible(), M = 0;
|
|
2919
|
-
if (
|
|
2915
|
+
if (l !== "select" && G.value === "offset") {
|
|
2920
2916
|
if (!this.bumpIf(":"))
|
|
2921
2917
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
|
2922
2918
|
this.bumpSpace();
|
|
@@ -2925,35 +2921,35 @@ var Lr = (
|
|
|
2925
2921
|
return h;
|
|
2926
2922
|
this.bumpSpace(), G = this.parseIdentifierIfPossible(), M = h.val;
|
|
2927
2923
|
}
|
|
2928
|
-
var F = this.tryParsePluralOrSelectOptions(t,
|
|
2924
|
+
var F = this.tryParsePluralOrSelectOptions(t, l, n, G);
|
|
2929
2925
|
if (F.err)
|
|
2930
2926
|
return F;
|
|
2931
2927
|
var g = this.tryParseArgumentClose(i);
|
|
2932
2928
|
if (g.err)
|
|
2933
2929
|
return g;
|
|
2934
|
-
var
|
|
2935
|
-
return
|
|
2930
|
+
var X = x(i, this.clonePosition());
|
|
2931
|
+
return l === "select" ? {
|
|
2936
2932
|
val: {
|
|
2937
|
-
type:
|
|
2933
|
+
type: T.select,
|
|
2938
2934
|
value: r,
|
|
2939
2935
|
options: gt(F.val),
|
|
2940
|
-
location:
|
|
2936
|
+
location: X
|
|
2941
2937
|
},
|
|
2942
2938
|
err: null
|
|
2943
2939
|
} : {
|
|
2944
2940
|
val: {
|
|
2945
|
-
type:
|
|
2941
|
+
type: T.plural,
|
|
2946
2942
|
value: r,
|
|
2947
2943
|
options: gt(F.val),
|
|
2948
2944
|
offset: M,
|
|
2949
|
-
pluralType:
|
|
2950
|
-
location:
|
|
2945
|
+
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
2946
|
+
location: X
|
|
2951
2947
|
},
|
|
2952
2948
|
err: null
|
|
2953
2949
|
};
|
|
2954
2950
|
}
|
|
2955
2951
|
default:
|
|
2956
|
-
return this.error(y.INVALID_ARGUMENT_TYPE, x(
|
|
2952
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, x(u, c));
|
|
2957
2953
|
}
|
|
2958
2954
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2959
2955
|
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -2995,21 +2991,21 @@ var Lr = (
|
|
|
2995
2991
|
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
2996
2992
|
var r = [];
|
|
2997
2993
|
try {
|
|
2998
|
-
r =
|
|
2994
|
+
r = hr(t);
|
|
2999
2995
|
} catch {
|
|
3000
2996
|
return this.error(y.INVALID_NUMBER_SKELETON, n);
|
|
3001
2997
|
}
|
|
3002
2998
|
return {
|
|
3003
2999
|
val: {
|
|
3004
|
-
type:
|
|
3000
|
+
type: se.number,
|
|
3005
3001
|
tokens: r,
|
|
3006
3002
|
location: n,
|
|
3007
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3003
|
+
parsedOptions: this.shouldParseSkeletons ? dr(r) : {}
|
|
3008
3004
|
},
|
|
3009
3005
|
err: null
|
|
3010
3006
|
};
|
|
3011
3007
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3012
|
-
for (var s,
|
|
3008
|
+
for (var s, u = !1, l = [], c = /* @__PURE__ */ new Set(), a = i.value, o = i.location; ; ) {
|
|
3013
3009
|
if (a.length === 0) {
|
|
3014
3010
|
var h = this.clonePosition();
|
|
3015
3011
|
if (n !== "select" && this.bumpIf("=")) {
|
|
@@ -3022,17 +3018,17 @@ var Lr = (
|
|
|
3022
3018
|
}
|
|
3023
3019
|
if (c.has(a))
|
|
3024
3020
|
return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, o);
|
|
3025
|
-
a === "other" && (
|
|
3021
|
+
a === "other" && (u = !0), this.bumpSpace();
|
|
3026
3022
|
var m = this.clonePosition();
|
|
3027
3023
|
if (!this.bumpIf("{"))
|
|
3028
3024
|
return this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
|
|
3029
3025
|
var g = this.parseMessage(t + 1, n, r);
|
|
3030
3026
|
if (g.err)
|
|
3031
3027
|
return g;
|
|
3032
|
-
var
|
|
3033
|
-
if (
|
|
3034
|
-
return
|
|
3035
|
-
|
|
3028
|
+
var C = this.tryParseArgumentClose(m);
|
|
3029
|
+
if (C.err)
|
|
3030
|
+
return C;
|
|
3031
|
+
l.push([
|
|
3036
3032
|
a,
|
|
3037
3033
|
{
|
|
3038
3034
|
value: g.val,
|
|
@@ -3040,19 +3036,19 @@ var Lr = (
|
|
|
3040
3036
|
}
|
|
3041
3037
|
]), c.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, o = s.location;
|
|
3042
3038
|
}
|
|
3043
|
-
return
|
|
3039
|
+
return l.length === 0 ? this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(y.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3044
3040
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3045
3041
|
var r = 1, i = this.clonePosition();
|
|
3046
3042
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3047
|
-
for (var s = !1,
|
|
3048
|
-
var
|
|
3049
|
-
if (
|
|
3050
|
-
s = !0,
|
|
3043
|
+
for (var s = !1, u = 0; !this.isEOF(); ) {
|
|
3044
|
+
var l = this.char();
|
|
3045
|
+
if (l >= 48 && l <= 57)
|
|
3046
|
+
s = !0, u = u * 10 + (l - 48), this.bump();
|
|
3051
3047
|
else
|
|
3052
3048
|
break;
|
|
3053
3049
|
}
|
|
3054
3050
|
var c = x(i, this.clonePosition());
|
|
3055
|
-
return s ? (
|
|
3051
|
+
return s ? (u *= r, Sr(u) ? { val: u, err: null } : this.error(n, c)) : this.error(t, c);
|
|
3056
3052
|
}, e.prototype.offset = function() {
|
|
3057
3053
|
return this.position.offset;
|
|
3058
3054
|
}, e.prototype.isEOF = function() {
|
|
@@ -3118,47 +3114,47 @@ var Lr = (
|
|
|
3118
3114
|
}, e;
|
|
3119
3115
|
}()
|
|
3120
3116
|
);
|
|
3121
|
-
function
|
|
3117
|
+
function Je(e) {
|
|
3122
3118
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3123
3119
|
}
|
|
3124
|
-
function
|
|
3125
|
-
return
|
|
3120
|
+
function Lr(e) {
|
|
3121
|
+
return Je(e) || e === 47;
|
|
3126
3122
|
}
|
|
3127
|
-
function
|
|
3123
|
+
function Ar(e) {
|
|
3128
3124
|
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;
|
|
3129
3125
|
}
|
|
3130
3126
|
function nn(e) {
|
|
3131
3127
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3132
3128
|
}
|
|
3133
|
-
function
|
|
3129
|
+
function Or(e) {
|
|
3134
3130
|
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;
|
|
3135
3131
|
}
|
|
3136
|
-
function
|
|
3132
|
+
function Ye(e) {
|
|
3137
3133
|
e.forEach(function(t) {
|
|
3138
3134
|
if (delete t.location, Zt(t) || Xt(t))
|
|
3139
3135
|
for (var n in t.options)
|
|
3140
|
-
delete t.options[n].location,
|
|
3136
|
+
delete t.options[n].location, Ye(t.options[n].value);
|
|
3141
3137
|
else
|
|
3142
|
-
jt(t) && qt(t.style) || (Vt(t) || zt(t)) &&
|
|
3138
|
+
jt(t) && qt(t.style) || (Vt(t) || zt(t)) && Xe(t.style) ? delete t.style.location : Wt(t) && Ye(t.children);
|
|
3143
3139
|
});
|
|
3144
3140
|
}
|
|
3145
|
-
function
|
|
3146
|
-
t === void 0 && (t = {}), t =
|
|
3147
|
-
var n = new
|
|
3141
|
+
function Pr(e, t) {
|
|
3142
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3143
|
+
var n = new Rr(e, t).parse();
|
|
3148
3144
|
if (n.err) {
|
|
3149
3145
|
var r = SyntaxError(y[n.err.kind]);
|
|
3150
3146
|
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3151
3147
|
}
|
|
3152
|
-
return t?.captureLocation ||
|
|
3148
|
+
return t?.captureLocation || Ye(n.val), n.val;
|
|
3153
3149
|
}
|
|
3154
|
-
var
|
|
3150
|
+
var ae;
|
|
3155
3151
|
(function(e) {
|
|
3156
3152
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3157
|
-
})(
|
|
3158
|
-
var
|
|
3153
|
+
})(ae || (ae = {}));
|
|
3154
|
+
var Ae = (
|
|
3159
3155
|
/** @class */
|
|
3160
3156
|
function(e) {
|
|
3161
|
-
|
|
3157
|
+
Le(t, e);
|
|
3162
3158
|
function t(n, r, i) {
|
|
3163
3159
|
var s = e.call(this, n) || this;
|
|
3164
3160
|
return s.code = r, s.originalMessage = i, s;
|
|
@@ -3170,44 +3166,44 @@ var Pe = (
|
|
|
3170
3166
|
), vt = (
|
|
3171
3167
|
/** @class */
|
|
3172
3168
|
function(e) {
|
|
3173
|
-
|
|
3169
|
+
Le(t, e);
|
|
3174
3170
|
function t(n, r, i, s) {
|
|
3175
|
-
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3171
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, s) || this;
|
|
3176
3172
|
}
|
|
3177
3173
|
return t;
|
|
3178
|
-
}(
|
|
3179
|
-
),
|
|
3174
|
+
}(Ae)
|
|
3175
|
+
), Nr = (
|
|
3180
3176
|
/** @class */
|
|
3181
3177
|
function(e) {
|
|
3182
|
-
|
|
3178
|
+
Le(t, e);
|
|
3183
3179
|
function t(n, r, i) {
|
|
3184
|
-
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r),
|
|
3180
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), ae.INVALID_VALUE, i) || this;
|
|
3185
3181
|
}
|
|
3186
3182
|
return t;
|
|
3187
|
-
}(
|
|
3188
|
-
),
|
|
3183
|
+
}(Ae)
|
|
3184
|
+
), kr = (
|
|
3189
3185
|
/** @class */
|
|
3190
3186
|
function(e) {
|
|
3191
|
-
|
|
3187
|
+
Le(t, e);
|
|
3192
3188
|
function t(n, r) {
|
|
3193
|
-
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'),
|
|
3189
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), ae.MISSING_VALUE, r) || this;
|
|
3194
3190
|
}
|
|
3195
3191
|
return t;
|
|
3196
|
-
}(
|
|
3192
|
+
}(Ae)
|
|
3197
3193
|
), A;
|
|
3198
3194
|
(function(e) {
|
|
3199
3195
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3200
3196
|
})(A || (A = {}));
|
|
3201
|
-
function
|
|
3197
|
+
function Ir(e) {
|
|
3202
3198
|
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3203
3199
|
var r = t[t.length - 1];
|
|
3204
3200
|
return !r || r.type !== A.literal || n.type !== A.literal ? t.push(n) : r.value += n.value, t;
|
|
3205
3201
|
}, []);
|
|
3206
3202
|
}
|
|
3207
|
-
function
|
|
3203
|
+
function $r(e) {
|
|
3208
3204
|
return typeof e == "function";
|
|
3209
3205
|
}
|
|
3210
|
-
function
|
|
3206
|
+
function we(e, t, n, r, i, s, u) {
|
|
3211
3207
|
if (e.length === 1 && ft(e[0]))
|
|
3212
3208
|
return [
|
|
3213
3209
|
{
|
|
@@ -3215,17 +3211,17 @@ function Se(e, t, n, r, i, s, l) {
|
|
|
3215
3211
|
value: e[0].value
|
|
3216
3212
|
}
|
|
3217
3213
|
];
|
|
3218
|
-
for (var
|
|
3214
|
+
for (var l = [], c = 0, a = e; c < a.length; c++) {
|
|
3219
3215
|
var o = a[c];
|
|
3220
3216
|
if (ft(o)) {
|
|
3221
|
-
|
|
3217
|
+
l.push({
|
|
3222
3218
|
type: A.literal,
|
|
3223
3219
|
value: o.value
|
|
3224
3220
|
});
|
|
3225
3221
|
continue;
|
|
3226
3222
|
}
|
|
3227
|
-
if (
|
|
3228
|
-
typeof s == "number" &&
|
|
3223
|
+
if (ar(o)) {
|
|
3224
|
+
typeof s == "number" && l.push({
|
|
3229
3225
|
type: A.literal,
|
|
3230
3226
|
value: n.getNumberFormat(t).format(s)
|
|
3231
3227
|
});
|
|
@@ -3233,26 +3229,26 @@ function Se(e, t, n, r, i, s, l) {
|
|
|
3233
3229
|
}
|
|
3234
3230
|
var h = o.value;
|
|
3235
3231
|
if (!(i && h in i))
|
|
3236
|
-
throw new
|
|
3232
|
+
throw new kr(h, u);
|
|
3237
3233
|
var f = i[h];
|
|
3238
|
-
if (
|
|
3239
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3234
|
+
if (sr(o)) {
|
|
3235
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), l.push({
|
|
3240
3236
|
type: typeof f == "string" ? A.literal : A.object,
|
|
3241
3237
|
value: f
|
|
3242
3238
|
});
|
|
3243
3239
|
continue;
|
|
3244
3240
|
}
|
|
3245
3241
|
if (Vt(o)) {
|
|
3246
|
-
var m = typeof o.style == "string" ? r.date[o.style] :
|
|
3247
|
-
|
|
3242
|
+
var m = typeof o.style == "string" ? r.date[o.style] : Xe(o.style) ? o.style.parsedOptions : void 0;
|
|
3243
|
+
l.push({
|
|
3248
3244
|
type: A.literal,
|
|
3249
3245
|
value: n.getDateTimeFormat(t, m).format(f)
|
|
3250
3246
|
});
|
|
3251
3247
|
continue;
|
|
3252
3248
|
}
|
|
3253
3249
|
if (zt(o)) {
|
|
3254
|
-
var m = typeof o.style == "string" ? r.time[o.style] :
|
|
3255
|
-
|
|
3250
|
+
var m = typeof o.style == "string" ? r.time[o.style] : Xe(o.style) ? o.style.parsedOptions : r.time.medium;
|
|
3251
|
+
l.push({
|
|
3256
3252
|
type: A.literal,
|
|
3257
3253
|
value: n.getDateTimeFormat(t, m).format(f)
|
|
3258
3254
|
});
|
|
@@ -3260,20 +3256,20 @@ function Se(e, t, n, r, i, s, l) {
|
|
|
3260
3256
|
}
|
|
3261
3257
|
if (jt(o)) {
|
|
3262
3258
|
var m = typeof o.style == "string" ? r.number[o.style] : qt(o.style) ? o.style.parsedOptions : void 0;
|
|
3263
|
-
m && m.scale && (f = f * (m.scale || 1)),
|
|
3259
|
+
m && m.scale && (f = f * (m.scale || 1)), l.push({
|
|
3264
3260
|
type: A.literal,
|
|
3265
3261
|
value: n.getNumberFormat(t, m).format(f)
|
|
3266
3262
|
});
|
|
3267
3263
|
continue;
|
|
3268
3264
|
}
|
|
3269
3265
|
if (Wt(o)) {
|
|
3270
|
-
var g = o.children,
|
|
3271
|
-
if (
|
|
3272
|
-
throw new
|
|
3273
|
-
var S =
|
|
3266
|
+
var g = o.children, C = o.value, H = i[C];
|
|
3267
|
+
if (!$r(H))
|
|
3268
|
+
throw new Nr(C, "function", u);
|
|
3269
|
+
var S = we(g, t, n, r, i, s), B = H(S.map(function(M) {
|
|
3274
3270
|
return M.value;
|
|
3275
3271
|
}));
|
|
3276
|
-
Array.isArray(B) || (B = [B]),
|
|
3272
|
+
Array.isArray(B) || (B = [B]), l.push.apply(l, B.map(function(M) {
|
|
3277
3273
|
return {
|
|
3278
3274
|
type: typeof M == "string" ? A.literal : A.object,
|
|
3279
3275
|
value: M
|
|
@@ -3281,41 +3277,41 @@ function Se(e, t, n, r, i, s, l) {
|
|
|
3281
3277
|
}));
|
|
3282
3278
|
}
|
|
3283
3279
|
if (Zt(o)) {
|
|
3284
|
-
var
|
|
3285
|
-
if (!
|
|
3286
|
-
throw new vt(o.value, f, Object.keys(o.options),
|
|
3287
|
-
|
|
3280
|
+
var w = o.options[f] || o.options.other;
|
|
3281
|
+
if (!w)
|
|
3282
|
+
throw new vt(o.value, f, Object.keys(o.options), u);
|
|
3283
|
+
l.push.apply(l, we(w.value, t, n, r, i));
|
|
3288
3284
|
continue;
|
|
3289
3285
|
}
|
|
3290
3286
|
if (Xt(o)) {
|
|
3291
|
-
var
|
|
3292
|
-
if (!
|
|
3287
|
+
var w = o.options["=".concat(f)];
|
|
3288
|
+
if (!w) {
|
|
3293
3289
|
if (!Intl.PluralRules)
|
|
3294
|
-
throw new
|
|
3290
|
+
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
3295
3291
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3296
|
-
`,
|
|
3292
|
+
`, ae.MISSING_INTL_API, u);
|
|
3297
3293
|
var G = n.getPluralRules(t, { type: o.pluralType }).select(f - (o.offset || 0));
|
|
3298
|
-
|
|
3294
|
+
w = o.options[G] || o.options.other;
|
|
3299
3295
|
}
|
|
3300
|
-
if (!
|
|
3301
|
-
throw new vt(o.value, f, Object.keys(o.options),
|
|
3302
|
-
|
|
3296
|
+
if (!w)
|
|
3297
|
+
throw new vt(o.value, f, Object.keys(o.options), u);
|
|
3298
|
+
l.push.apply(l, we(w.value, t, n, r, i, f - (o.offset || 0)));
|
|
3303
3299
|
continue;
|
|
3304
3300
|
}
|
|
3305
3301
|
}
|
|
3306
|
-
return
|
|
3302
|
+
return Ir(l);
|
|
3307
3303
|
}
|
|
3308
|
-
function
|
|
3309
|
-
return t ?
|
|
3310
|
-
return n[r] =
|
|
3304
|
+
function Ur(e, t) {
|
|
3305
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3306
|
+
return n[r] = E(E({}, e[r]), t[r] || {}), n;
|
|
3311
3307
|
}, {})) : e;
|
|
3312
3308
|
}
|
|
3313
|
-
function
|
|
3309
|
+
function Dr(e, t) {
|
|
3314
3310
|
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3315
|
-
return n[r] =
|
|
3316
|
-
},
|
|
3311
|
+
return n[r] = Ur(e[r], t[r]), n;
|
|
3312
|
+
}, E({}, e)) : e;
|
|
3317
3313
|
}
|
|
3318
|
-
function
|
|
3314
|
+
function Ge(e) {
|
|
3319
3315
|
return {
|
|
3320
3316
|
create: function() {
|
|
3321
3317
|
return {
|
|
@@ -3329,39 +3325,39 @@ function je(e) {
|
|
|
3329
3325
|
}
|
|
3330
3326
|
};
|
|
3331
3327
|
}
|
|
3332
|
-
function
|
|
3328
|
+
function Gr(e) {
|
|
3333
3329
|
return e === void 0 && (e = {
|
|
3334
3330
|
number: {},
|
|
3335
3331
|
dateTime: {},
|
|
3336
3332
|
pluralRules: {}
|
|
3337
3333
|
}), {
|
|
3338
|
-
getNumberFormat:
|
|
3334
|
+
getNumberFormat: $e(function() {
|
|
3339
3335
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3340
3336
|
n[r] = arguments[r];
|
|
3341
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3337
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], n, !1)))();
|
|
3342
3338
|
}, {
|
|
3343
|
-
cache:
|
|
3344
|
-
strategy:
|
|
3339
|
+
cache: Ge(e.number),
|
|
3340
|
+
strategy: Ue.variadic
|
|
3345
3341
|
}),
|
|
3346
|
-
getDateTimeFormat:
|
|
3342
|
+
getDateTimeFormat: $e(function() {
|
|
3347
3343
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3348
3344
|
n[r] = arguments[r];
|
|
3349
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3345
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], n, !1)))();
|
|
3350
3346
|
}, {
|
|
3351
|
-
cache:
|
|
3352
|
-
strategy:
|
|
3347
|
+
cache: Ge(e.dateTime),
|
|
3348
|
+
strategy: Ue.variadic
|
|
3353
3349
|
}),
|
|
3354
|
-
getPluralRules:
|
|
3350
|
+
getPluralRules: $e(function() {
|
|
3355
3351
|
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3356
3352
|
n[r] = arguments[r];
|
|
3357
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3353
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], n, !1)))();
|
|
3358
3354
|
}, {
|
|
3359
|
-
cache:
|
|
3360
|
-
strategy:
|
|
3355
|
+
cache: Ge(e.pluralRules),
|
|
3356
|
+
strategy: Ue.variadic
|
|
3361
3357
|
})
|
|
3362
3358
|
};
|
|
3363
3359
|
}
|
|
3364
|
-
var
|
|
3360
|
+
var Fr = (
|
|
3365
3361
|
/** @class */
|
|
3366
3362
|
function() {
|
|
3367
3363
|
function e(t, n, r, i) {
|
|
@@ -3380,7 +3376,7 @@ var jr = (
|
|
|
3380
3376
|
}, []);
|
|
3381
3377
|
return o.length <= 1 ? o[0] || "" : o;
|
|
3382
3378
|
}, this.formatToParts = function(c) {
|
|
3383
|
-
return
|
|
3379
|
+
return we(s.ast, s.locales, s.formatters, s.formats, c, void 0, s.message);
|
|
3384
3380
|
}, this.resolvedOptions = function() {
|
|
3385
3381
|
var c;
|
|
3386
3382
|
return {
|
|
@@ -3391,15 +3387,15 @@ var jr = (
|
|
|
3391
3387
|
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3392
3388
|
if (this.message = t, !e.__parse)
|
|
3393
3389
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3394
|
-
var
|
|
3395
|
-
|
|
3396
|
-
var
|
|
3397
|
-
this.ast = e.__parse(t,
|
|
3390
|
+
var u = i || {};
|
|
3391
|
+
u.formatters;
|
|
3392
|
+
var l = Yn(u, ["formatters"]);
|
|
3393
|
+
this.ast = e.__parse(t, E(E({}, l), { locale: this.resolvedLocale }));
|
|
3398
3394
|
} else
|
|
3399
3395
|
this.ast = t;
|
|
3400
3396
|
if (!Array.isArray(this.ast))
|
|
3401
3397
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3402
|
-
this.formats =
|
|
3398
|
+
this.formats = Dr(e.formats, r), this.formatters = i && i.formatters || Gr(this.formatterCache);
|
|
3403
3399
|
}
|
|
3404
3400
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3405
3401
|
get: function() {
|
|
@@ -3412,7 +3408,7 @@ var jr = (
|
|
|
3412
3408
|
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3413
3409
|
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3414
3410
|
}
|
|
3415
|
-
}, e.__parse =
|
|
3411
|
+
}, e.__parse = Pr, e.formats = {
|
|
3416
3412
|
number: {
|
|
3417
3413
|
integer: {
|
|
3418
3414
|
maximumFractionDigits: 0
|
|
@@ -3473,7 +3469,7 @@ var jr = (
|
|
|
3473
3469
|
}, e;
|
|
3474
3470
|
}()
|
|
3475
3471
|
);
|
|
3476
|
-
function
|
|
3472
|
+
function jr(e, t) {
|
|
3477
3473
|
if (t == null)
|
|
3478
3474
|
return;
|
|
3479
3475
|
if (t in e)
|
|
@@ -3494,36 +3490,36 @@ function Vr(e, t) {
|
|
|
3494
3490
|
r = void 0;
|
|
3495
3491
|
return r;
|
|
3496
3492
|
}
|
|
3497
|
-
const
|
|
3493
|
+
const W = {}, Vr = (e, t, n) => n && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = n), n), rn = (e, t) => {
|
|
3498
3494
|
if (t == null)
|
|
3499
3495
|
return;
|
|
3500
|
-
if (t in
|
|
3501
|
-
return
|
|
3502
|
-
const n =
|
|
3496
|
+
if (t in W && e in W[t])
|
|
3497
|
+
return W[t][e];
|
|
3498
|
+
const n = Oe(t);
|
|
3503
3499
|
for (let r = 0; r < n.length; r++) {
|
|
3504
|
-
const i = n[r], s =
|
|
3500
|
+
const i = n[r], s = Zr(i, e);
|
|
3505
3501
|
if (s)
|
|
3506
|
-
return
|
|
3502
|
+
return Vr(e, t, s);
|
|
3507
3503
|
}
|
|
3508
3504
|
};
|
|
3509
3505
|
let it;
|
|
3510
|
-
const
|
|
3511
|
-
function
|
|
3506
|
+
const ue = Re({});
|
|
3507
|
+
function zr(e) {
|
|
3512
3508
|
return it[e] || null;
|
|
3513
3509
|
}
|
|
3514
3510
|
function sn(e) {
|
|
3515
3511
|
return e in it;
|
|
3516
3512
|
}
|
|
3517
|
-
function
|
|
3513
|
+
function Zr(e, t) {
|
|
3518
3514
|
if (!sn(e))
|
|
3519
3515
|
return null;
|
|
3520
|
-
const n =
|
|
3521
|
-
return
|
|
3516
|
+
const n = zr(e);
|
|
3517
|
+
return jr(n, t);
|
|
3522
3518
|
}
|
|
3523
|
-
function
|
|
3519
|
+
function Xr(e) {
|
|
3524
3520
|
if (e == null)
|
|
3525
3521
|
return;
|
|
3526
|
-
const t =
|
|
3522
|
+
const t = Oe(e);
|
|
3527
3523
|
for (let n = 0; n < t.length; n++) {
|
|
3528
3524
|
const r = t[n];
|
|
3529
3525
|
if (sn(r))
|
|
@@ -3531,55 +3527,55 @@ function Wr(e) {
|
|
|
3531
3527
|
}
|
|
3532
3528
|
}
|
|
3533
3529
|
function an(e, ...t) {
|
|
3534
|
-
delete
|
|
3530
|
+
delete W[e], ue.update((n) => (n[e] = Jn.all([n[e] || {}, ...t]), n));
|
|
3535
3531
|
}
|
|
3536
3532
|
le(
|
|
3537
|
-
[
|
|
3533
|
+
[ue],
|
|
3538
3534
|
([e]) => Object.keys(e)
|
|
3539
3535
|
);
|
|
3540
|
-
|
|
3541
|
-
const
|
|
3542
|
-
function
|
|
3543
|
-
|
|
3536
|
+
ue.subscribe((e) => it = e);
|
|
3537
|
+
const Se = {};
|
|
3538
|
+
function Wr(e, t) {
|
|
3539
|
+
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
|
3544
3540
|
}
|
|
3545
3541
|
function on(e) {
|
|
3546
|
-
return
|
|
3542
|
+
return Se[e];
|
|
3547
3543
|
}
|
|
3548
|
-
function
|
|
3549
|
-
return
|
|
3544
|
+
function qr(e) {
|
|
3545
|
+
return Oe(e).map((t) => {
|
|
3550
3546
|
const n = on(t);
|
|
3551
3547
|
return [t, n ? [...n] : []];
|
|
3552
3548
|
}).filter(([, t]) => t.length > 0);
|
|
3553
3549
|
}
|
|
3554
|
-
function
|
|
3555
|
-
return e == null ? !1 :
|
|
3550
|
+
function Ke(e) {
|
|
3551
|
+
return e == null ? !1 : Oe(e).some(
|
|
3556
3552
|
(t) => {
|
|
3557
3553
|
var n;
|
|
3558
3554
|
return (n = on(t)) == null ? void 0 : n.size;
|
|
3559
3555
|
}
|
|
3560
3556
|
);
|
|
3561
3557
|
}
|
|
3562
|
-
function
|
|
3558
|
+
function Qr(e, t) {
|
|
3563
3559
|
return Promise.all(
|
|
3564
|
-
t.map((r) => (
|
|
3560
|
+
t.map((r) => (Wr(e, r), r().then((i) => i.default || i)))
|
|
3565
3561
|
).then((r) => an(e, ...r));
|
|
3566
3562
|
}
|
|
3567
|
-
const
|
|
3568
|
-
function
|
|
3569
|
-
if (!
|
|
3570
|
-
return e in
|
|
3571
|
-
const t =
|
|
3572
|
-
return
|
|
3563
|
+
const me = {};
|
|
3564
|
+
function ln(e) {
|
|
3565
|
+
if (!Ke(e))
|
|
3566
|
+
return e in me ? me[e] : Promise.resolve();
|
|
3567
|
+
const t = qr(e);
|
|
3568
|
+
return me[e] = Promise.all(
|
|
3573
3569
|
t.map(
|
|
3574
|
-
([n, r]) =>
|
|
3570
|
+
([n, r]) => Qr(n, r)
|
|
3575
3571
|
)
|
|
3576
3572
|
).then(() => {
|
|
3577
|
-
if (
|
|
3578
|
-
return
|
|
3579
|
-
delete
|
|
3580
|
-
}),
|
|
3573
|
+
if (Ke(e))
|
|
3574
|
+
return ln(e);
|
|
3575
|
+
delete me[e];
|
|
3576
|
+
}), me[e];
|
|
3581
3577
|
}
|
|
3582
|
-
const
|
|
3578
|
+
const Jr = {
|
|
3583
3579
|
number: {
|
|
3584
3580
|
scientific: { notation: "scientific" },
|
|
3585
3581
|
engineering: { notation: "engineering" },
|
|
@@ -3608,159 +3604,159 @@ const Yr = {
|
|
|
3608
3604
|
timeZoneName: "short"
|
|
3609
3605
|
}
|
|
3610
3606
|
}
|
|
3611
|
-
},
|
|
3607
|
+
}, Yr = {
|
|
3612
3608
|
fallbackLocale: null,
|
|
3613
3609
|
loadingDelay: 200,
|
|
3614
|
-
formats:
|
|
3610
|
+
formats: Jr,
|
|
3615
3611
|
warnOnMissingMessages: !0,
|
|
3616
3612
|
handleMissingMessage: void 0,
|
|
3617
3613
|
ignoreTag: !0
|
|
3618
|
-
},
|
|
3619
|
-
function
|
|
3620
|
-
return
|
|
3614
|
+
}, Kr = Yr;
|
|
3615
|
+
function oe() {
|
|
3616
|
+
return Kr;
|
|
3621
3617
|
}
|
|
3622
|
-
const
|
|
3623
|
-
var
|
|
3618
|
+
const Fe = Re(!1);
|
|
3619
|
+
var ei = Object.defineProperty, ti = Object.defineProperties, ni = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, ri = Object.prototype.hasOwnProperty, ii = Object.prototype.propertyIsEnumerable, Et = (e, t, n) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, si = (e, t) => {
|
|
3624
3620
|
for (var n in t || (t = {}))
|
|
3625
|
-
|
|
3621
|
+
ri.call(t, n) && Et(e, n, t[n]);
|
|
3626
3622
|
if (xt)
|
|
3627
3623
|
for (var n of xt(t))
|
|
3628
|
-
|
|
3624
|
+
ii.call(t, n) && Et(e, n, t[n]);
|
|
3629
3625
|
return e;
|
|
3630
|
-
},
|
|
3631
|
-
let
|
|
3632
|
-
const
|
|
3626
|
+
}, ai = (e, t) => ti(e, ni(t));
|
|
3627
|
+
let et;
|
|
3628
|
+
const He = Re(null);
|
|
3633
3629
|
function Ct(e) {
|
|
3634
3630
|
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3635
3631
|
}
|
|
3636
|
-
function
|
|
3632
|
+
function Oe(e, t = oe().fallbackLocale) {
|
|
3637
3633
|
const n = Ct(e);
|
|
3638
3634
|
return t ? [.../* @__PURE__ */ new Set([...n, ...Ct(t)])] : n;
|
|
3639
3635
|
}
|
|
3640
|
-
function
|
|
3641
|
-
return
|
|
3636
|
+
function Y() {
|
|
3637
|
+
return et ?? void 0;
|
|
3642
3638
|
}
|
|
3643
|
-
|
|
3644
|
-
|
|
3639
|
+
He.subscribe((e) => {
|
|
3640
|
+
et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3645
3641
|
});
|
|
3646
|
-
const
|
|
3647
|
-
if (e &&
|
|
3648
|
-
const { loadingDelay: t } =
|
|
3642
|
+
const oi = (e) => {
|
|
3643
|
+
if (e && Xr(e) && Ke(e)) {
|
|
3644
|
+
const { loadingDelay: t } = oe();
|
|
3649
3645
|
let n;
|
|
3650
|
-
return typeof window < "u" &&
|
|
3651
|
-
() =>
|
|
3646
|
+
return typeof window < "u" && Y() != null && t ? n = window.setTimeout(
|
|
3647
|
+
() => Fe.set(!0),
|
|
3652
3648
|
t
|
|
3653
|
-
) :
|
|
3654
|
-
|
|
3649
|
+
) : Fe.set(!0), ln(e).then(() => {
|
|
3650
|
+
He.set(e);
|
|
3655
3651
|
}).finally(() => {
|
|
3656
|
-
clearTimeout(n),
|
|
3652
|
+
clearTimeout(n), Fe.set(!1);
|
|
3657
3653
|
});
|
|
3658
3654
|
}
|
|
3659
|
-
return
|
|
3660
|
-
},
|
|
3661
|
-
set:
|
|
3662
|
-
}),
|
|
3655
|
+
return He.set(e);
|
|
3656
|
+
}, Q = ai(si({}, He), {
|
|
3657
|
+
set: oi
|
|
3658
|
+
}), Pe = (e) => {
|
|
3663
3659
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3664
3660
|
return (r) => {
|
|
3665
3661
|
const i = JSON.stringify(r);
|
|
3666
3662
|
return i in t ? t[i] : t[i] = e(r);
|
|
3667
3663
|
};
|
|
3668
3664
|
};
|
|
3669
|
-
var li = Object.defineProperty,
|
|
3665
|
+
var li = Object.defineProperty, Me = Object.getOwnPropertySymbols, un = Object.prototype.hasOwnProperty, hn = Object.prototype.propertyIsEnumerable, _t = (e, t, n) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, st = (e, t) => {
|
|
3670
3666
|
for (var n in t || (t = {}))
|
|
3671
|
-
|
|
3672
|
-
if (
|
|
3673
|
-
for (var n of
|
|
3667
|
+
un.call(t, n) && _t(e, n, t[n]);
|
|
3668
|
+
if (Me)
|
|
3669
|
+
for (var n of Me(t))
|
|
3674
3670
|
hn.call(t, n) && _t(e, n, t[n]);
|
|
3675
3671
|
return e;
|
|
3676
|
-
},
|
|
3672
|
+
}, he = (e, t) => {
|
|
3677
3673
|
var n = {};
|
|
3678
3674
|
for (var r in e)
|
|
3679
|
-
|
|
3680
|
-
if (e != null &&
|
|
3681
|
-
for (var r of
|
|
3675
|
+
un.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3676
|
+
if (e != null && Me)
|
|
3677
|
+
for (var r of Me(e))
|
|
3682
3678
|
t.indexOf(r) < 0 && hn.call(e, r) && (n[r] = e[r]);
|
|
3683
3679
|
return n;
|
|
3684
3680
|
};
|
|
3685
|
-
const
|
|
3686
|
-
const { formats: n } =
|
|
3681
|
+
const ge = (e, t) => {
|
|
3682
|
+
const { formats: n } = oe();
|
|
3687
3683
|
if (e in n && t in n[e])
|
|
3688
3684
|
return n[e][t];
|
|
3689
3685
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3690
|
-
},
|
|
3686
|
+
}, ui = Pe(
|
|
3691
3687
|
(e) => {
|
|
3692
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3688
|
+
var t = e, { locale: n, format: r } = t, i = he(t, ["locale", "format"]);
|
|
3693
3689
|
if (n == null)
|
|
3694
3690
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3695
|
-
return r && (i =
|
|
3691
|
+
return r && (i = ge("number", r)), new Intl.NumberFormat(n, i);
|
|
3696
3692
|
}
|
|
3697
|
-
),
|
|
3693
|
+
), hi = Pe(
|
|
3698
3694
|
(e) => {
|
|
3699
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3695
|
+
var t = e, { locale: n, format: r } = t, i = he(t, ["locale", "format"]);
|
|
3700
3696
|
if (n == null)
|
|
3701
3697
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3702
|
-
return r ? i =
|
|
3698
|
+
return r ? i = ge("date", r) : Object.keys(i).length === 0 && (i = ge("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3703
3699
|
}
|
|
3704
|
-
),
|
|
3700
|
+
), ci = Pe(
|
|
3705
3701
|
(e) => {
|
|
3706
|
-
var t = e, { locale: n, format: r } = t, i =
|
|
3702
|
+
var t = e, { locale: n, format: r } = t, i = he(t, ["locale", "format"]);
|
|
3707
3703
|
if (n == null)
|
|
3708
3704
|
throw new Error(
|
|
3709
3705
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3710
3706
|
);
|
|
3711
|
-
return r ? i =
|
|
3707
|
+
return r ? i = ge("time", r) : Object.keys(i).length === 0 && (i = ge("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3712
3708
|
}
|
|
3713
|
-
),
|
|
3709
|
+
), fi = (e = {}) => {
|
|
3714
3710
|
var t = e, {
|
|
3715
|
-
locale: n =
|
|
3716
|
-
} = t, r =
|
|
3711
|
+
locale: n = Y()
|
|
3712
|
+
} = t, r = he(t, [
|
|
3717
3713
|
"locale"
|
|
3718
3714
|
]);
|
|
3719
|
-
return
|
|
3720
|
-
},
|
|
3715
|
+
return ui(st({ locale: n }, r));
|
|
3716
|
+
}, mi = (e = {}) => {
|
|
3721
3717
|
var t = e, {
|
|
3722
|
-
locale: n =
|
|
3723
|
-
} = t, r =
|
|
3718
|
+
locale: n = Y()
|
|
3719
|
+
} = t, r = he(t, [
|
|
3724
3720
|
"locale"
|
|
3725
3721
|
]);
|
|
3726
|
-
return
|
|
3727
|
-
},
|
|
3722
|
+
return hi(st({ locale: n }, r));
|
|
3723
|
+
}, di = (e = {}) => {
|
|
3728
3724
|
var t = e, {
|
|
3729
|
-
locale: n =
|
|
3730
|
-
} = t, r =
|
|
3725
|
+
locale: n = Y()
|
|
3726
|
+
} = t, r = he(t, [
|
|
3731
3727
|
"locale"
|
|
3732
3728
|
]);
|
|
3733
|
-
return
|
|
3734
|
-
},
|
|
3729
|
+
return ci(st({ locale: n }, r));
|
|
3730
|
+
}, pi = Pe(
|
|
3735
3731
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3736
|
-
(e, t =
|
|
3737
|
-
ignoreTag:
|
|
3732
|
+
(e, t = Y()) => new Fr(e, t, oe().formats, {
|
|
3733
|
+
ignoreTag: oe().ignoreTag
|
|
3738
3734
|
})
|
|
3739
|
-
),
|
|
3735
|
+
), bi = (e, t = {}) => {
|
|
3740
3736
|
var n, r, i, s;
|
|
3741
|
-
let
|
|
3742
|
-
typeof e == "object" && (
|
|
3737
|
+
let u = t;
|
|
3738
|
+
typeof e == "object" && (u = e, e = u.id);
|
|
3743
3739
|
const {
|
|
3744
|
-
values:
|
|
3745
|
-
locale: c =
|
|
3740
|
+
values: l,
|
|
3741
|
+
locale: c = Y(),
|
|
3746
3742
|
default: a
|
|
3747
|
-
} =
|
|
3743
|
+
} = u;
|
|
3748
3744
|
if (c == null)
|
|
3749
3745
|
throw new Error(
|
|
3750
3746
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3751
3747
|
);
|
|
3752
3748
|
let o = rn(e, c);
|
|
3753
3749
|
if (!o)
|
|
3754
|
-
o = (s = (i = (r = (n =
|
|
3750
|
+
o = (s = (i = (r = (n = oe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: c, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3755
3751
|
else if (typeof o != "string")
|
|
3756
3752
|
return console.warn(
|
|
3757
3753
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3758
3754
|
), o;
|
|
3759
|
-
if (!
|
|
3755
|
+
if (!l)
|
|
3760
3756
|
return o;
|
|
3761
3757
|
let h = o;
|
|
3762
3758
|
try {
|
|
3763
|
-
h =
|
|
3759
|
+
h = pi(o, c).format(l);
|
|
3764
3760
|
} catch (f) {
|
|
3765
3761
|
f instanceof Error && console.warn(
|
|
3766
3762
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3768,21 +3764,21 @@ const ye = (e, t) => {
|
|
|
3768
3764
|
);
|
|
3769
3765
|
}
|
|
3770
3766
|
return h;
|
|
3771
|
-
},
|
|
3772
|
-
le([
|
|
3773
|
-
le([
|
|
3774
|
-
le([
|
|
3775
|
-
le([
|
|
3776
|
-
function
|
|
3777
|
-
|
|
3778
|
-
n == null && (
|
|
3767
|
+
}, gi = (e, t) => di(t).format(e), yi = (e, t) => mi(t).format(e), vi = (e, t) => fi(t).format(e), xi = (e, t = Y()) => rn(e, t), Ei = le([Q, ue], () => bi);
|
|
3768
|
+
le([Q], () => gi);
|
|
3769
|
+
le([Q], () => yi);
|
|
3770
|
+
le([Q], () => vi);
|
|
3771
|
+
le([Q, ue], () => xi);
|
|
3772
|
+
function Ci({ withLocale: e, translations: t }) {
|
|
3773
|
+
Q.subscribe((n) => {
|
|
3774
|
+
n == null && (ue.set(t), Q.set(e));
|
|
3779
3775
|
});
|
|
3780
3776
|
}
|
|
3781
3777
|
function Tt(e, t) {
|
|
3782
3778
|
an(e, t);
|
|
3783
3779
|
}
|
|
3784
|
-
function
|
|
3785
|
-
|
|
3780
|
+
function _i(e) {
|
|
3781
|
+
Q.set(e);
|
|
3786
3782
|
}
|
|
3787
3783
|
const wt = {
|
|
3788
3784
|
en: {
|
|
@@ -3900,13 +3896,13 @@ const wt = {
|
|
|
3900
3896
|
productMaxBet: "Para {productName}, o valor máximo da aposta aceita é {maxBet}."
|
|
3901
3897
|
}
|
|
3902
3898
|
};
|
|
3903
|
-
function
|
|
3899
|
+
function Ti(e, t) {
|
|
3904
3900
|
if (e) {
|
|
3905
3901
|
const n = document.createElement("style");
|
|
3906
3902
|
n.innerHTML = t, e.appendChild(n);
|
|
3907
3903
|
}
|
|
3908
3904
|
}
|
|
3909
|
-
function
|
|
3905
|
+
function wi(e, t) {
|
|
3910
3906
|
if (!e || !t)
|
|
3911
3907
|
return;
|
|
3912
3908
|
const n = new URL(t);
|
|
@@ -3917,7 +3913,7 @@ function Si(e, t) {
|
|
|
3917
3913
|
console.error("There was an error while trying to load client styling from URL", r);
|
|
3918
3914
|
});
|
|
3919
3915
|
}
|
|
3920
|
-
function
|
|
3916
|
+
function Si(e, t, n) {
|
|
3921
3917
|
if (window.emMessageBus) {
|
|
3922
3918
|
const r = document.createElement("style");
|
|
3923
3919
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3925,7 +3921,7 @@ function Bi(e, t, n) {
|
|
|
3925
3921
|
});
|
|
3926
3922
|
}
|
|
3927
3923
|
}
|
|
3928
|
-
const Hi = "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", Mi = "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", Ri = "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", Li = "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", Ai = "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", Oi = "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";
|
|
3924
|
+
const Bi = "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", Hi = "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", Mi = "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", Ri = "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", Li = "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", Ai = "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";
|
|
3929
3925
|
class St {
|
|
3930
3926
|
constructor() {
|
|
3931
3927
|
}
|
|
@@ -3936,12 +3932,12 @@ class St {
|
|
|
3936
3932
|
};
|
|
3937
3933
|
}
|
|
3938
3934
|
static generateCasinoRule(t, n) {
|
|
3939
|
-
const r = ` ~ ${t("unlimited")}`, i = n.currency || "EUR", s = n.minStake?.amount[i] ? `: ${n.minStake.amount[i]} ${i}` : r,
|
|
3940
|
-
return t("casinoRuleMinMaxBet", { values: { minBet: s, maxBet:
|
|
3935
|
+
const r = ` ~ ${t("unlimited")}`, i = n.currency || "EUR", s = n.minStake?.amount[i] ? `: ${n.minStake.amount[i]} ${i}` : r, u = n.maxStake?.amount[i] ? `: ${n.maxStake.amount[i]} ${i}` : r;
|
|
3936
|
+
return t("casinoRuleMinMaxBet", { values: { minBet: s, maxBet: u } });
|
|
3941
3937
|
}
|
|
3942
3938
|
static generateSportsRule(t, n) {
|
|
3943
|
-
const r = [], i = ` ~ ${t("unlimited")}`, s = n.currency || "EUR",
|
|
3944
|
-
r.push(t("sportsRuleMinMaxBet", { values: { sportMinBet:
|
|
3939
|
+
const r = [], i = ` ~ ${t("unlimited")}`, s = n.currency || "EUR", u = n.minStake?.amount[s] ? `: ${n.minStake.amount[s]} ${s}` : i, l = n.maxStake?.amount[s] ? `: ${n.maxStake.amount[s]} ${s}` : i;
|
|
3940
|
+
r.push(t("sportsRuleMinMaxBet", { values: { sportMinBet: u, sportMaxBet: l } }));
|
|
3945
3941
|
const c = n.config.liveMatch === "true", a = n.config.preLiveMatch === "true";
|
|
3946
3942
|
c && a ? r.push(t("matchTypePreAndLive")) : c ? r.push(`${t("matchTypeLive")}`) : a && r.push(`${t("matchTyppePre")}`);
|
|
3947
3943
|
const o = n.combination, h = [];
|
|
@@ -3955,22 +3951,22 @@ class St {
|
|
|
3955
3951
|
all: t("betBuilderOnly"),
|
|
3956
3952
|
none: t("notBuilderOnly")
|
|
3957
3953
|
};
|
|
3958
|
-
let
|
|
3959
|
-
const S = `${t("oddsPerSelection")}: ${n.config.minOdds || t("unlimited")} - ${n.config.maxOdds || t("unlimited")}`, B = o.system.isEligible,
|
|
3960
|
-
B && (
|
|
3954
|
+
let C = "", H = "";
|
|
3955
|
+
const S = `${t("oddsPerSelection")}: ${n.config.minOdds || t("unlimited")} - ${n.config.maxOdds || t("unlimited")}`, B = o.system.isEligible, w = o.multiple.isEligible;
|
|
3956
|
+
B && (C = ` ${t("betTypeSystem")}
|
|
3961
3957
|
( ${t("typeOfSelection")}: ${m[n.combination.system.banker?.include?.toString() || "null"]},
|
|
3962
3958
|
${t("numberOfSelection")}:
|
|
3963
3959
|
${o.system.minSelection?.number || t("unlimited")} - ${o.system.maxSelection?.number || t("unlimited")},
|
|
3964
|
-
${S} ) `),
|
|
3960
|
+
${S} ) `), w && (H = ` ${t("betTypeMultiple")}
|
|
3965
3961
|
( ${t("typeOfSelection")}: ${g[n.combination.multiple.betBuilder?.mode?.toString() || "unspecific"]},
|
|
3966
3962
|
${t("numberOfSelection")}:
|
|
3967
3963
|
${o.multiple.minSelection?.number || t("unlimited")} - ${o.multiple.maxSelection?.number || t("unlimited")},
|
|
3968
|
-
${S} ) `), B &&
|
|
3964
|
+
${S} ) `), B && w ? h.push(H + t("and") + C) : B ? h.push(C) : w && h.push(H), r.push(h.join(", "));
|
|
3969
3965
|
const G = n.config.minTotalOdds ? `: ${n.config.minTotalOdds}` : i, M = n.config.maxTotalOdds ? `: ${n.config.maxTotalOdds}` : i;
|
|
3970
3966
|
return r.push(`${t("sportsRuleMinMaxOdds", { values: { sportMinOdds: G, sportMaxOdds: M } })}`), r;
|
|
3971
3967
|
}
|
|
3972
3968
|
}
|
|
3973
|
-
function
|
|
3969
|
+
function Oi(e) {
|
|
3974
3970
|
mn(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}");
|
|
3975
3971
|
}
|
|
3976
3972
|
function Bt(e, t, n) {
|
|
@@ -3984,7 +3980,7 @@ function Ht(e) {
|
|
|
3984
3980
|
), r;
|
|
3985
3981
|
return {
|
|
3986
3982
|
c() {
|
|
3987
|
-
t = new
|
|
3983
|
+
t = new J(!1), r = ve(), t.a = r;
|
|
3988
3984
|
},
|
|
3989
3985
|
m(i, s) {
|
|
3990
3986
|
t.m(n, i, s), Z(i, r, s);
|
|
@@ -4006,7 +4002,7 @@ function Mt(e) {
|
|
|
4006
4002
|
), r;
|
|
4007
4003
|
return {
|
|
4008
4004
|
c() {
|
|
4009
|
-
t = new
|
|
4005
|
+
t = new J(!1), r = ve(), t.a = r;
|
|
4010
4006
|
},
|
|
4011
4007
|
m(i, s) {
|
|
4012
4008
|
t.m(n, i, s), Z(i, r, s);
|
|
@@ -4028,7 +4024,7 @@ function Rt(e) {
|
|
|
4028
4024
|
), r;
|
|
4029
4025
|
return {
|
|
4030
4026
|
c() {
|
|
4031
|
-
t = new
|
|
4027
|
+
t = new J(!1), r = ve(), t.a = r;
|
|
4032
4028
|
},
|
|
4033
4029
|
m(i, s) {
|
|
4034
4030
|
t.m(n, i, s), Z(i, r, s);
|
|
@@ -4055,7 +4051,7 @@ function Lt(e) {
|
|
|
4055
4051
|
), r;
|
|
4056
4052
|
return {
|
|
4057
4053
|
c() {
|
|
4058
|
-
t = new
|
|
4054
|
+
t = new J(!1), r = ve(), t.a = r;
|
|
4059
4055
|
},
|
|
4060
4056
|
m(i, s) {
|
|
4061
4057
|
t.m(n, i, s), Z(i, r, s);
|
|
@@ -4082,7 +4078,7 @@ function At(e) {
|
|
|
4082
4078
|
), r;
|
|
4083
4079
|
return {
|
|
4084
4080
|
c() {
|
|
4085
|
-
t = new
|
|
4081
|
+
t = new J(!1), r = ve(), t.a = r;
|
|
4086
4082
|
},
|
|
4087
4083
|
m(i, s) {
|
|
4088
4084
|
t.m(n, i, s), Z(i, r, s);
|
|
@@ -4098,25 +4094,25 @@ function At(e) {
|
|
|
4098
4094
|
};
|
|
4099
4095
|
}
|
|
4100
4096
|
function Ot(e) {
|
|
4101
|
-
let t, n, r, i, s,
|
|
4097
|
+
let t, n, r, i, s, u = (
|
|
4102
4098
|
/*$_*/
|
|
4103
4099
|
e[11]("forCasino") + ""
|
|
4104
|
-
),
|
|
4100
|
+
), l, c;
|
|
4105
4101
|
return {
|
|
4106
4102
|
c() {
|
|
4107
|
-
t =
|
|
4103
|
+
t = _("div"), n = _("div"), n.innerHTML = `<img src="${Li}"/>`, r = R(), i = _("div"), s = new J(!1), l = q(":"), c = q(
|
|
4108
4104
|
/*casinoRules*/
|
|
4109
4105
|
e[10]
|
|
4110
|
-
), p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a =
|
|
4106
|
+
), p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a = l, p(i, "class", "RuleTxt"), p(i, "part", "RuleTxt"), p(t, "class", "RulesRow"), p(t, "part", "rule");
|
|
4111
4107
|
},
|
|
4112
4108
|
m(a, o) {
|
|
4113
|
-
Z(a, t, o), b(t, n), b(t, r), b(t, i), s.m(
|
|
4109
|
+
Z(a, t, o), b(t, n), b(t, r), b(t, i), s.m(u, i), b(i, l), b(i, c);
|
|
4114
4110
|
},
|
|
4115
4111
|
p(a, o) {
|
|
4116
4112
|
o & /*$_*/
|
|
4117
|
-
2048 &&
|
|
4118
|
-
a[11]("forCasino") + "") && s.p(
|
|
4119
|
-
1024 &&
|
|
4113
|
+
2048 && u !== (u = /*$_*/
|
|
4114
|
+
a[11]("forCasino") + "") && s.p(u), o & /*casinoRules*/
|
|
4115
|
+
1024 && Be(
|
|
4120
4116
|
c,
|
|
4121
4117
|
/*casinoRules*/
|
|
4122
4118
|
a[10]
|
|
@@ -4128,10 +4124,10 @@ function Ot(e) {
|
|
|
4128
4124
|
};
|
|
4129
4125
|
}
|
|
4130
4126
|
function Pt(e) {
|
|
4131
|
-
let t, n, r, i, s,
|
|
4127
|
+
let t, n, r, i, s, u = (
|
|
4132
4128
|
/*$_*/
|
|
4133
4129
|
e[11]("forSportsbook") + ""
|
|
4134
|
-
),
|
|
4130
|
+
), l, c, a = ht(
|
|
4135
4131
|
/*sportRules*/
|
|
4136
4132
|
e[9]
|
|
4137
4133
|
), o = [];
|
|
@@ -4139,21 +4135,21 @@ function Pt(e) {
|
|
|
4139
4135
|
o[h] = Nt(Bt(e, a, h));
|
|
4140
4136
|
return {
|
|
4141
4137
|
c() {
|
|
4142
|
-
t =
|
|
4143
|
-
`), c =
|
|
4138
|
+
t = _("div"), n = _("div"), n.innerHTML = `<img src="${Ai}"/>`, r = R(), i = _("div"), s = new J(!1), l = q(`:
|
|
4139
|
+
`), c = _("ul");
|
|
4144
4140
|
for (let h = 0; h < o.length; h += 1)
|
|
4145
4141
|
o[h].c();
|
|
4146
|
-
p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a =
|
|
4142
|
+
p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a = l, p(c, "class", "SportsRules"), p(i, "class", "RuleTxt"), p(i, "part", "RuleTxt"), p(t, "class", "RulesRow"), p(t, "part", "rule");
|
|
4147
4143
|
},
|
|
4148
4144
|
m(h, f) {
|
|
4149
|
-
Z(h, t, f), b(t, n), b(t, r), b(t, i), s.m(
|
|
4145
|
+
Z(h, t, f), b(t, n), b(t, r), b(t, i), s.m(u, i), b(i, l), b(i, c);
|
|
4150
4146
|
for (let m = 0; m < o.length; m += 1)
|
|
4151
4147
|
o[m] && o[m].m(c, null);
|
|
4152
4148
|
},
|
|
4153
4149
|
p(h, f) {
|
|
4154
4150
|
if (f & /*$_*/
|
|
4155
|
-
2048 &&
|
|
4156
|
-
h[11]("forSportsbook") + "") && s.p(
|
|
4151
|
+
2048 && u !== (u = /*$_*/
|
|
4152
|
+
h[11]("forSportsbook") + "") && s.p(u), f & /*sportRules*/
|
|
4157
4153
|
512) {
|
|
4158
4154
|
a = ht(
|
|
4159
4155
|
/*sportRules*/
|
|
@@ -4181,7 +4177,7 @@ function Nt(e) {
|
|
|
4181
4177
|
), r;
|
|
4182
4178
|
return {
|
|
4183
4179
|
c() {
|
|
4184
|
-
t =
|
|
4180
|
+
t = _("li"), r = q(n), p(t, "class", "RuleTxt"), p(t, "part", "RuleTxt");
|
|
4185
4181
|
},
|
|
4186
4182
|
m(i, s) {
|
|
4187
4183
|
Z(i, t, s), b(t, r);
|
|
@@ -4189,15 +4185,15 @@ function Nt(e) {
|
|
|
4189
4185
|
p(i, s) {
|
|
4190
4186
|
s & /*sportRules*/
|
|
4191
4187
|
512 && n !== (n = /*rule*/
|
|
4192
|
-
i[24] + "") &&
|
|
4188
|
+
i[24] + "") && Be(r, n);
|
|
4193
4189
|
},
|
|
4194
4190
|
d(i) {
|
|
4195
4191
|
i && V(t);
|
|
4196
4192
|
}
|
|
4197
4193
|
};
|
|
4198
4194
|
}
|
|
4199
|
-
function
|
|
4200
|
-
let t, n, r, i, s,
|
|
4195
|
+
function Pi(e) {
|
|
4196
|
+
let t, n, r, i, s, u, l, c, a, o, h, f, m, g, C = (
|
|
4201
4197
|
/*$_*/
|
|
4202
4198
|
e[11]("miniBetCount", {
|
|
4203
4199
|
values: { betCount: (
|
|
@@ -4205,7 +4201,7 @@ function Ni(e) {
|
|
|
4205
4201
|
e[3]
|
|
4206
4202
|
) }
|
|
4207
4203
|
}) + ""
|
|
4208
|
-
), H, S, B,
|
|
4204
|
+
), H, S, B, w, G, M, F = (
|
|
4209
4205
|
/*$_*/
|
|
4210
4206
|
e[11]("timePeriod", {
|
|
4211
4207
|
values: {
|
|
@@ -4219,13 +4215,13 @@ function Ni(e) {
|
|
|
4219
4215
|
)
|
|
4220
4216
|
}
|
|
4221
4217
|
}) + ""
|
|
4222
|
-
),
|
|
4218
|
+
), X, xe, d, j, ce, K, Ee = (
|
|
4223
4219
|
/*$_*/
|
|
4224
4220
|
e[11]("terms", { values: { tcUrl: (
|
|
4225
4221
|
/*tcurl*/
|
|
4226
4222
|
e[6]
|
|
4227
4223
|
) } }) + ""
|
|
4228
|
-
), at,
|
|
4224
|
+
), at, fe, Ce, ot, Ne, O = (
|
|
4229
4225
|
/*scorecriterial*/
|
|
4230
4226
|
e[2] == "BetCount" && Ht(e)
|
|
4231
4227
|
), P = (
|
|
@@ -4250,28 +4246,28 @@ function Ni(e) {
|
|
|
4250
4246
|
);
|
|
4251
4247
|
return {
|
|
4252
4248
|
c() {
|
|
4253
|
-
t =
|
|
4249
|
+
t = _("div"), n = _("div"), r = _("div"), r.innerHTML = `<img src="${Bi}"/>`, i = R(), s = _("div"), O && O.c(), u = R(), P && P.c(), l = R(), N && N.c(), c = R(), k && k.c(), a = R(), I && I.c(), o = R(), h = _("div"), f = _("div"), f.innerHTML = `<img src="${Hi}"/>`, m = R(), g = _("div"), H = q(C), S = R(), B = _("div"), w = _("div"), w.innerHTML = `<img src="${Mi}"/>`, G = R(), M = _("div"), X = q(F), xe = R(), d = _("div"), j = _("div"), j.innerHTML = `<img src="${Ri}"/>`, ce = R(), K = _("div"), at = R(), fe = _("span"), ot = R(), $ && $.c(), Ne = R(), U && U.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(h, "class", "RulesRow"), p(h, "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(j, "class", "RuleIcon"), p(j, "part", "RuleIcon"), p(K, "class", "RuleTxt"), p(K, "part", "RuleTxt"), p(d, "class", "RulesRow"), p(d, "part", "rule"), p(fe, "type", "hidden"), p(fe, "href", Ce = { tcurl: (
|
|
4254
4250
|
/*tcurl*/
|
|
4255
4251
|
e[6]
|
|
4256
4252
|
) }), p(t, "class", "casino-tournaments-thumbnail-rule"), p(t, "part", "casino-tournaments-thumbnail-rule");
|
|
4257
4253
|
},
|
|
4258
4254
|
m(v, D) {
|
|
4259
|
-
Z(v, t, D), b(t, n), b(n, r), b(n, i), b(n, s), O && O.m(s, null), b(s,
|
|
4255
|
+
Z(v, t, D), b(t, n), b(n, r), b(n, i), b(n, s), O && O.m(s, null), b(s, u), P && P.m(s, null), b(s, l), N && N.m(s, null), b(s, c), k && k.m(s, null), b(s, a), I && I.m(s, null), b(t, o), b(t, h), b(h, f), b(h, m), b(h, g), b(g, H), b(t, S), b(t, B), b(B, w), b(B, G), b(B, M), b(M, X), b(t, xe), b(t, d), b(d, j), b(d, ce), b(d, K), K.innerHTML = Ee, b(t, at), b(t, fe), b(t, ot), $ && $.m(t, null), b(t, Ne), U && U.m(t, null), e[17](t);
|
|
4260
4256
|
},
|
|
4261
4257
|
p(v, [D]) {
|
|
4262
4258
|
/*scorecriterial*/
|
|
4263
|
-
v[2] == "BetCount" ? O ? O.p(v, D) : (O = Ht(v), O.c(), O.m(s,
|
|
4264
|
-
v[2] == "WinStakeRatio" ? P ? P.p(v, D) : (P = Mt(v), P.c(), P.m(s,
|
|
4259
|
+
v[2] == "BetCount" ? O ? O.p(v, D) : (O = Ht(v), O.c(), O.m(s, u)) : O && (O.d(1), O = null), /*scorecriterial*/
|
|
4260
|
+
v[2] == "WinStakeRatio" ? P ? P.p(v, D) : (P = Mt(v), P.c(), P.m(s, l)) : P && (P.d(1), P = null), /*scorecriterial*/
|
|
4265
4261
|
v[2] == "MaxWinStakeRatio" ? N ? N.p(v, D) : (N = Rt(v), N.c(), N.m(s, c)) : N && (N.d(1), N = null), /*minscore*/
|
|
4266
4262
|
v[7] ? k ? k.p(v, D) : (k = Lt(v), k.c(), k.m(s, a)) : k && (k.d(1), k = null), /*scorecriterial*/
|
|
4267
4263
|
v[2] == "Stake" ? I ? I.p(v, D) : (I = At(v), I.c(), I.m(s, null)) : I && (I.d(1), I = null), D & /*$_, betcount*/
|
|
4268
|
-
2056 &&
|
|
4264
|
+
2056 && C !== (C = /*$_*/
|
|
4269
4265
|
v[11]("miniBetCount", {
|
|
4270
4266
|
values: { betCount: (
|
|
4271
4267
|
/*betcount*/
|
|
4272
4268
|
v[3]
|
|
4273
4269
|
) }
|
|
4274
|
-
}) + "") &&
|
|
4270
|
+
}) + "") && Be(H, C), D & /*$_, starttime, endtime*/
|
|
4275
4271
|
2096 && F !== (F = /*$_*/
|
|
4276
4272
|
v[11]("timePeriod", {
|
|
4277
4273
|
values: {
|
|
@@ -4284,17 +4280,17 @@ function Ni(e) {
|
|
|
4284
4280
|
v[5]
|
|
4285
4281
|
)
|
|
4286
4282
|
}
|
|
4287
|
-
}) + "") &&
|
|
4288
|
-
2112 &&
|
|
4283
|
+
}) + "") && Be(X, F), D & /*$_, tcurl*/
|
|
4284
|
+
2112 && Ee !== (Ee = /*$_*/
|
|
4289
4285
|
v[11]("terms", { values: { tcUrl: (
|
|
4290
4286
|
/*tcurl*/
|
|
4291
4287
|
v[6]
|
|
4292
|
-
) } }) + "") && (
|
|
4293
|
-
64 &&
|
|
4288
|
+
) } }) + "") && (K.innerHTML = Ee), D & /*tcurl*/
|
|
4289
|
+
64 && Ce !== (Ce = { tcurl: (
|
|
4294
4290
|
/*tcurl*/
|
|
4295
4291
|
v[6]
|
|
4296
|
-
) }) && p(
|
|
4297
|
-
v[1] ? $ ? $.p(v, D) : ($ = Ot(v), $.c(), $.m(t,
|
|
4292
|
+
) }) && p(fe, "href", Ce), /*casinowallet*/
|
|
4293
|
+
v[1] ? $ ? $.p(v, D) : ($ = Ot(v), $.c(), $.m(t, Ne)) : $ && ($.d(1), $ = null), /*sportswallet*/
|
|
4298
4294
|
v[0] && /*sportRules*/
|
|
4299
4295
|
v[9].length ? U ? U.p(v, D) : (U = Pt(v), U.c(), U.m(t, null)) : U && (U.d(1), U = null);
|
|
4300
4296
|
},
|
|
@@ -4305,15 +4301,15 @@ function Ni(e) {
|
|
|
4305
4301
|
}
|
|
4306
4302
|
};
|
|
4307
4303
|
}
|
|
4308
|
-
function
|
|
4304
|
+
function Ni(e, t, n) {
|
|
4309
4305
|
let r;
|
|
4310
|
-
fn(e,
|
|
4311
|
-
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount:
|
|
4312
|
-
|
|
4306
|
+
fn(e, Ei, (d) => n(11, r = d));
|
|
4307
|
+
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount: u } = t, { starttime: l } = t, { endtime: c } = t, { tcurl: a } = t, { clientstyling: o = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: f = "" } = t, { mbsource: m } = t, { sportswallet: g } = t, { casinowallet: C } = t, { minscore: H } = t, S, B = [], w = "";
|
|
4308
|
+
Ci({ withLocale: "en", translations: {} });
|
|
4313
4309
|
const G = () => {
|
|
4314
4310
|
fetch(f).then((j) => j.json()).then((j) => {
|
|
4315
|
-
Object.keys(j).forEach((
|
|
4316
|
-
Tt(
|
|
4311
|
+
Object.keys(j).forEach((ce) => {
|
|
4312
|
+
Tt(ce, j[ce]);
|
|
4317
4313
|
});
|
|
4318
4314
|
}).catch((j) => {
|
|
4319
4315
|
console.error(j);
|
|
@@ -4323,58 +4319,58 @@ function ki(e, t, n) {
|
|
|
4323
4319
|
Tt(d, wt[d]);
|
|
4324
4320
|
});
|
|
4325
4321
|
const M = () => {
|
|
4326
|
-
|
|
4322
|
+
_i(i);
|
|
4327
4323
|
}, F = (d) => {
|
|
4328
|
-
d.data && d.data.type && d.type == "TournamentsWalletsUpdate" && (n(1,
|
|
4329
|
-
},
|
|
4330
|
-
n(10,
|
|
4324
|
+
d.data && d.data.type && d.type == "TournamentsWalletsUpdate" && (n(1, C = d.data.wallet.casino), n(0, g = d.data.wallet.sports));
|
|
4325
|
+
}, X = () => {
|
|
4326
|
+
n(10, w = C ? St.generateCasinoRule(r, C) : ""), n(9, B = g ? St.generateSportsRule(r, g) : []);
|
|
4331
4327
|
};
|
|
4332
4328
|
En(() => (window.addEventListener("message", F, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
|
|
4333
4329
|
window.removeEventListener("message", F);
|
|
4334
4330
|
}));
|
|
4335
|
-
function
|
|
4336
|
-
|
|
4331
|
+
function xe(d) {
|
|
4332
|
+
je[d ? "unshift" : "push"](() => {
|
|
4337
4333
|
S = d, n(8, S);
|
|
4338
4334
|
});
|
|
4339
4335
|
}
|
|
4340
4336
|
return e.$$set = (d) => {
|
|
4341
|
-
"lang" in d && n(12, i = d.lang), "scorecriterial" in d && n(2, s = d.scorecriterial), "betcount" in d && n(3,
|
|
4337
|
+
"lang" in d && n(12, i = d.lang), "scorecriterial" in d && n(2, s = d.scorecriterial), "betcount" in d && n(3, u = d.betcount), "starttime" in d && n(4, l = d.starttime), "endtime" in d && n(5, c = d.endtime), "tcurl" in d && n(6, a = d.tcurl), "clientstyling" in d && n(13, o = d.clientstyling), "clientstylingurl" in d && n(14, h = d.clientstylingurl), "translationurl" in d && n(15, f = d.translationurl), "mbsource" in d && n(16, m = d.mbsource), "sportswallet" in d && n(0, g = d.sportswallet), "casinowallet" in d && n(1, C = d.casinowallet), "minscore" in d && n(7, H = d.minscore);
|
|
4342
4338
|
}, e.$$.update = () => {
|
|
4343
4339
|
e.$$.dirty & /*lang*/
|
|
4344
4340
|
4096 && i && M(), e.$$.dirty & /*sportswallet, casinowallet*/
|
|
4345
|
-
3 && (g ||
|
|
4346
|
-
8448 && o && S &&
|
|
4347
|
-
16640 && h && S &&
|
|
4348
|
-
65792 && m && S &&
|
|
4341
|
+
3 && (g || C) && X(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4342
|
+
8448 && o && S && Ti(S, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4343
|
+
16640 && h && S && wi(S, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4344
|
+
65792 && m && S && Si(S, `${m}.Style`), e.$$.dirty & /*translationurl*/
|
|
4349
4345
|
32768 && f && G();
|
|
4350
4346
|
}, [
|
|
4351
4347
|
g,
|
|
4352
|
-
|
|
4348
|
+
C,
|
|
4353
4349
|
s,
|
|
4354
|
-
l,
|
|
4355
4350
|
u,
|
|
4351
|
+
l,
|
|
4356
4352
|
c,
|
|
4357
4353
|
a,
|
|
4358
4354
|
H,
|
|
4359
4355
|
S,
|
|
4360
4356
|
B,
|
|
4361
|
-
|
|
4357
|
+
w,
|
|
4362
4358
|
r,
|
|
4363
4359
|
i,
|
|
4364
4360
|
o,
|
|
4365
4361
|
h,
|
|
4366
4362
|
f,
|
|
4367
4363
|
m,
|
|
4368
|
-
|
|
4364
|
+
xe
|
|
4369
4365
|
];
|
|
4370
4366
|
}
|
|
4371
|
-
class
|
|
4367
|
+
class ki extends On {
|
|
4372
4368
|
constructor(t) {
|
|
4373
4369
|
super(), Ln(
|
|
4374
4370
|
this,
|
|
4375
4371
|
t,
|
|
4376
|
-
ki,
|
|
4377
4372
|
Ni,
|
|
4373
|
+
Pi,
|
|
4378
4374
|
It,
|
|
4379
4375
|
{
|
|
4380
4376
|
lang: 12,
|
|
@@ -4391,7 +4387,7 @@ class Ii extends On {
|
|
|
4391
4387
|
casinowallet: 1,
|
|
4392
4388
|
minscore: 7
|
|
4393
4389
|
},
|
|
4394
|
-
|
|
4390
|
+
Oi
|
|
4395
4391
|
);
|
|
4396
4392
|
}
|
|
4397
4393
|
get lang() {
|
|
@@ -4473,7 +4469,7 @@ class Ii extends On {
|
|
|
4473
4469
|
this.$$set({ minscore: t }), L();
|
|
4474
4470
|
}
|
|
4475
4471
|
}
|
|
4476
|
-
An(
|
|
4472
|
+
An(ki, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, sportswallet: {}, casinowallet: {}, minscore: {} }, [], [], !0);
|
|
4477
4473
|
export {
|
|
4478
|
-
|
|
4474
|
+
ki as C
|
|
4479
4475
|
};
|