@everymatrix/casino-tournaments-thumbnail-rule 1.54.12 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoTournamentsThumbnailRule-BChTCUqK.cjs +3 -0
- package/components/{CasinoTournamentsThumbnailRule-lIUfLhJp.js → CasinoTournamentsThumbnailRule-BSDed-B_.js} +373 -371
- package/components/{CasinoTournamentsThumbnailRule-BQXOGyrx.js → CasinoTournamentsThumbnailRule-DL_4Wyn5.js} +360 -358
- 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-NeZ_OST2.cjs +0 -3
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Ie = (e, t, r) => t in e ?
|
|
1
|
+
var cr = Object.defineProperty, fr = Object.defineProperties;
|
|
2
|
+
var mr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var lt = Object.getOwnPropertySymbols;
|
|
4
|
+
var dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ie = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
dr.call(t, r) && Ie(e, r, t[r]);
|
|
8
|
+
if (lt)
|
|
9
|
+
for (var r of lt(t))
|
|
10
|
+
pr.call(t, r) && Ie(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, ct = (e, t) => fr(e, mr(t));
|
|
13
13
|
var M = (e, t, r) => Ie(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var
|
|
14
|
+
var ft = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
@@ -29,25 +29,25 @@ var ht = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function Z() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Ot(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function mt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function Ee(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Ot);
|
|
40
40
|
}
|
|
41
41
|
function nt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function It(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function br(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function $t(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -56,20 +56,20 @@ function Ot(e, ...t) {
|
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function gr(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push($t(t, r));
|
|
61
61
|
}
|
|
62
62
|
function p(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function yr(e, t, r) {
|
|
66
|
+
const n = vr(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const i = x("style");
|
|
69
|
-
i.id = t, i.textContent = r,
|
|
69
|
+
i.id = t, i.textContent = r, _r(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function vr(e) {
|
|
73
73
|
if (!e) return document;
|
|
74
74
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
75
75
|
return t && /** @type {ShadowRoot} */
|
|
@@ -78,7 +78,7 @@ function gr(e) {
|
|
|
78
78
|
t
|
|
79
79
|
) : e.ownerDocument;
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function _r(e, t) {
|
|
82
82
|
return p(
|
|
83
83
|
/** @type {Document} */
|
|
84
84
|
e.head || e,
|
|
@@ -94,7 +94,7 @@ function H(e) {
|
|
|
94
94
|
function x(e) {
|
|
95
95
|
return document.createElement(e);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function Er(e) {
|
|
98
98
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
99
99
|
}
|
|
100
100
|
function X(e) {
|
|
@@ -109,7 +109,7 @@ function Re() {
|
|
|
109
109
|
function m(e, t, r) {
|
|
110
110
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
112
|
+
function xr(e) {
|
|
113
113
|
return Array.from(e.childNodes);
|
|
114
114
|
}
|
|
115
115
|
function Y(e, t) {
|
|
@@ -147,7 +147,7 @@ class ke {
|
|
|
147
147
|
* @returns {void}
|
|
148
148
|
*/
|
|
149
149
|
m(t, r, n = null) {
|
|
150
|
-
this.e || (this.is_svg ? this.e =
|
|
150
|
+
this.e || (this.is_svg ? this.e = Er(
|
|
151
151
|
/** @type {keyof SVGElementTagNameMap} */
|
|
152
152
|
r.nodeName
|
|
153
153
|
) : this.e = x(
|
|
@@ -186,7 +186,7 @@ class ke {
|
|
|
186
186
|
this.n.forEach(H);
|
|
187
187
|
}
|
|
188
188
|
}
|
|
189
|
-
function
|
|
189
|
+
function Tr(e) {
|
|
190
190
|
const t = {};
|
|
191
191
|
return e.childNodes.forEach(
|
|
192
192
|
/** @param {Element} node */
|
|
@@ -199,19 +199,19 @@ let ye;
|
|
|
199
199
|
function ge(e) {
|
|
200
200
|
ye = e;
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function Br() {
|
|
203
203
|
if (!ye) throw new Error("Function called outside component initialization");
|
|
204
204
|
return ye;
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
|
|
206
|
+
function wr(e) {
|
|
207
|
+
Br().$$.on_mount.push(e);
|
|
208
208
|
}
|
|
209
209
|
const se = [], ze = [];
|
|
210
210
|
let ue = [];
|
|
211
|
-
const
|
|
211
|
+
const dt = [], Hr = /* @__PURE__ */ Promise.resolve();
|
|
212
212
|
let Xe = !1;
|
|
213
|
-
function
|
|
214
|
-
Xe || (Xe = !0,
|
|
213
|
+
function Cr() {
|
|
214
|
+
Xe || (Xe = !0, Hr.then(z));
|
|
215
215
|
}
|
|
216
216
|
function We(e) {
|
|
217
217
|
ue.push(e);
|
|
@@ -226,7 +226,7 @@ function z() {
|
|
|
226
226
|
try {
|
|
227
227
|
for (; oe < se.length; ) {
|
|
228
228
|
const t = se[oe];
|
|
229
|
-
oe++, ge(t),
|
|
229
|
+
oe++, ge(t), Sr(t.$$);
|
|
230
230
|
}
|
|
231
231
|
} catch (t) {
|
|
232
232
|
throw se.length = 0, oe = 0, t;
|
|
@@ -238,40 +238,40 @@ function z() {
|
|
|
238
238
|
}
|
|
239
239
|
ue.length = 0;
|
|
240
240
|
} while (se.length);
|
|
241
|
-
for (;
|
|
242
|
-
|
|
241
|
+
for (; dt.length; )
|
|
242
|
+
dt.pop()();
|
|
243
243
|
Xe = !1, $e.clear(), ge(e);
|
|
244
244
|
}
|
|
245
|
-
function
|
|
245
|
+
function Sr(e) {
|
|
246
246
|
if (e.fragment !== null) {
|
|
247
247
|
e.update(), Ee(e.before_update);
|
|
248
248
|
const t = e.dirty;
|
|
249
249
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
|
|
250
250
|
}
|
|
251
251
|
}
|
|
252
|
-
function
|
|
252
|
+
function Mr(e) {
|
|
253
253
|
const t = [], r = [];
|
|
254
254
|
ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
|
|
255
255
|
}
|
|
256
|
-
const
|
|
257
|
-
function
|
|
258
|
-
e && e.i && (
|
|
256
|
+
const Rr = /* @__PURE__ */ new Set();
|
|
257
|
+
function kr(e, t) {
|
|
258
|
+
e && e.i && (Rr.delete(e), e.i(t));
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function Nr(e, t, r) {
|
|
261
261
|
const { fragment: n, after_update: i } = e.$$;
|
|
262
262
|
n && n.m(t, r), We(() => {
|
|
263
|
-
const o = e.$$.on_mount.map(
|
|
263
|
+
const o = e.$$.on_mount.map(Ot).filter(nt);
|
|
264
264
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ee(o), e.$$.on_mount = [];
|
|
265
265
|
}), i.forEach(We);
|
|
266
266
|
}
|
|
267
|
-
function
|
|
267
|
+
function Ar(e, t) {
|
|
268
268
|
const r = e.$$;
|
|
269
|
-
r.fragment !== null && (
|
|
269
|
+
r.fragment !== null && (Mr(r.after_update), Ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
270
270
|
}
|
|
271
|
-
function
|
|
272
|
-
e.$$.dirty[0] === -1 && (se.push(e),
|
|
271
|
+
function Lr(e, t) {
|
|
272
|
+
e.$$.dirty[0] === -1 && (se.push(e), Cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
273
273
|
}
|
|
274
|
-
function
|
|
274
|
+
function Pr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
275
275
|
const l = ye;
|
|
276
276
|
ge(e);
|
|
277
277
|
const u = e.$$ = {
|
|
@@ -281,7 +281,7 @@ function Ar(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
281
281
|
props: o,
|
|
282
282
|
update: Z,
|
|
283
283
|
not_equal: i,
|
|
284
|
-
bound:
|
|
284
|
+
bound: mt(),
|
|
285
285
|
// lifecycle
|
|
286
286
|
on_mount: [],
|
|
287
287
|
on_destroy: [],
|
|
@@ -290,7 +290,7 @@ function Ar(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
290
290
|
after_update: [],
|
|
291
291
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
292
292
|
// everything else
|
|
293
|
-
callbacks:
|
|
293
|
+
callbacks: mt(),
|
|
294
294
|
dirty: s,
|
|
295
295
|
skip_bound: !1,
|
|
296
296
|
root: t.target || l.$$.root
|
|
@@ -299,19 +299,19 @@ function Ar(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
299
299
|
let h = !1;
|
|
300
300
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
|
|
301
301
|
const y = g.length ? g[0] : f;
|
|
302
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h &&
|
|
302
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && Lr(e, c)), f;
|
|
303
303
|
}) : [], u.update(), h = !0, Ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
304
304
|
if (t.hydrate) {
|
|
305
|
-
const c =
|
|
305
|
+
const c = xr(t.target);
|
|
306
306
|
u.fragment && u.fragment.l(c), c.forEach(H);
|
|
307
307
|
} else
|
|
308
308
|
u.fragment && u.fragment.c();
|
|
309
|
-
t.intro &&
|
|
309
|
+
t.intro && kr(e.$$.fragment), Nr(e, t.target, t.anchor), z();
|
|
310
310
|
}
|
|
311
311
|
ge(l);
|
|
312
312
|
}
|
|
313
|
-
let
|
|
314
|
-
typeof HTMLElement == "function" && (
|
|
313
|
+
let Dt;
|
|
314
|
+
typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
315
315
|
constructor(t, r, n) {
|
|
316
316
|
super();
|
|
317
317
|
/** The Svelte component constructor */
|
|
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
350
|
connectedCallback() {
|
|
351
|
-
return
|
|
351
|
+
return ft(this, null, function* () {
|
|
352
352
|
if (this.$$cn = !0, !this.$$c) {
|
|
353
353
|
let t = function(o) {
|
|
354
354
|
return () => {
|
|
@@ -372,7 +372,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
372
372
|
};
|
|
373
373
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
374
374
|
return;
|
|
375
|
-
const r = {}, n =
|
|
375
|
+
const r = {}, n = Tr(this);
|
|
376
376
|
for (const o of this.$$s)
|
|
377
377
|
o in n && (r[o] = [t(o)]);
|
|
378
378
|
for (const o of this.attributes) {
|
|
@@ -383,7 +383,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
|
|
|
383
383
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
384
384
|
this.$$c = new this.$$ctor({
|
|
385
385
|
target: this.shadowRoot || this,
|
|
386
|
-
props:
|
|
386
|
+
props: ct(ht({}, this.$$d), {
|
|
387
387
|
$$slots: r,
|
|
388
388
|
$$scope: {
|
|
389
389
|
ctx: []
|
|
@@ -461,8 +461,8 @@ function we(e, t, r, n) {
|
|
|
461
461
|
return t;
|
|
462
462
|
}
|
|
463
463
|
}
|
|
464
|
-
function
|
|
465
|
-
let a = class extends
|
|
464
|
+
function Or(e, t, r, n, i, o) {
|
|
465
|
+
let a = class extends Dt {
|
|
466
466
|
constructor() {
|
|
467
467
|
super(e, r, i), this.$$p_d = t;
|
|
468
468
|
}
|
|
@@ -492,7 +492,7 @@ function Lr(e, t, r, n, i, o) {
|
|
|
492
492
|
}), e.element = /** @type {any} */
|
|
493
493
|
a, a;
|
|
494
494
|
}
|
|
495
|
-
class
|
|
495
|
+
class Ir {
|
|
496
496
|
constructor() {
|
|
497
497
|
/**
|
|
498
498
|
* ### PRIVATE API
|
|
@@ -513,7 +513,7 @@ class Pr {
|
|
|
513
513
|
}
|
|
514
514
|
/** @returns {void} */
|
|
515
515
|
$destroy() {
|
|
516
|
-
|
|
516
|
+
Ar(this, 1), this.$destroy = Z;
|
|
517
517
|
}
|
|
518
518
|
/**
|
|
519
519
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -535,13 +535,13 @@ class Pr {
|
|
|
535
535
|
* @returns {void}
|
|
536
536
|
*/
|
|
537
537
|
$set(t) {
|
|
538
|
-
this.$$set && !
|
|
538
|
+
this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
|
-
const
|
|
542
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
541
|
+
const $r = "4";
|
|
542
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
|
|
543
543
|
const ae = [];
|
|
544
|
-
function
|
|
544
|
+
function Dr(e, t) {
|
|
545
545
|
return {
|
|
546
546
|
subscribe: Ne(e, t).subscribe
|
|
547
547
|
};
|
|
@@ -550,7 +550,7 @@ function Ne(e, t = Z) {
|
|
|
550
550
|
let r;
|
|
551
551
|
const n = /* @__PURE__ */ new Set();
|
|
552
552
|
function i(s) {
|
|
553
|
-
if (
|
|
553
|
+
if (It(e, s) && (e = s, r)) {
|
|
554
554
|
const l = !ae.length;
|
|
555
555
|
for (const u of n)
|
|
556
556
|
u[1](), ae.push(u, e);
|
|
@@ -577,7 +577,7 @@ function me(e, t, r) {
|
|
|
577
577
|
if (!i.every(Boolean))
|
|
578
578
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
579
579
|
const o = t.length < 2;
|
|
580
|
-
return
|
|
580
|
+
return Dr(r, (a, s) => {
|
|
581
581
|
let l = !1;
|
|
582
582
|
const u = [];
|
|
583
583
|
let h = 0, c = Z;
|
|
@@ -588,7 +588,7 @@ function me(e, t, r) {
|
|
|
588
588
|
const y = t(n ? u[0] : u, a, s);
|
|
589
589
|
o ? a(y) : c = nt(y) ? y : Z;
|
|
590
590
|
}, g = i.map(
|
|
591
|
-
(y, T) =>
|
|
591
|
+
(y, T) => $t(
|
|
592
592
|
y,
|
|
593
593
|
(w) => {
|
|
594
594
|
u[T] = w, h &= ~(1 << T), l && f();
|
|
@@ -603,70 +603,70 @@ function me(e, t, r) {
|
|
|
603
603
|
};
|
|
604
604
|
});
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function Ur(e) {
|
|
607
607
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
608
608
|
}
|
|
609
|
-
var
|
|
610
|
-
return
|
|
609
|
+
var Gr = function(t) {
|
|
610
|
+
return Fr(t) && !jr(t);
|
|
611
611
|
};
|
|
612
|
-
function
|
|
612
|
+
function Fr(e) {
|
|
613
613
|
return !!e && typeof e == "object";
|
|
614
614
|
}
|
|
615
|
-
function
|
|
615
|
+
function jr(e) {
|
|
616
616
|
var t = Object.prototype.toString.call(e);
|
|
617
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
617
|
+
return t === "[object RegExp]" || t === "[object Date]" || Xr(e);
|
|
618
618
|
}
|
|
619
|
-
var
|
|
620
|
-
function
|
|
621
|
-
return e.$$typeof ===
|
|
619
|
+
var Vr = typeof Symbol == "function" && Symbol.for, zr = Vr ? Symbol.for("react.element") : 60103;
|
|
620
|
+
function Xr(e) {
|
|
621
|
+
return e.$$typeof === zr;
|
|
622
622
|
}
|
|
623
|
-
function
|
|
623
|
+
function Wr(e) {
|
|
624
624
|
return Array.isArray(e) ? [] : {};
|
|
625
625
|
}
|
|
626
626
|
function ve(e, t) {
|
|
627
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? le(
|
|
627
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? le(Wr(e), e, t) : e;
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function Zr(e, t, r) {
|
|
630
630
|
return e.concat(t).map(function(n) {
|
|
631
631
|
return ve(n, r);
|
|
632
632
|
});
|
|
633
633
|
}
|
|
634
|
-
function
|
|
634
|
+
function Jr(e, t) {
|
|
635
635
|
if (!t.customMerge)
|
|
636
636
|
return le;
|
|
637
637
|
var r = t.customMerge(e);
|
|
638
638
|
return typeof r == "function" ? r : le;
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function Yr(e) {
|
|
641
641
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
642
642
|
return Object.propertyIsEnumerable.call(e, t);
|
|
643
643
|
}) : [];
|
|
644
644
|
}
|
|
645
|
-
function
|
|
646
|
-
return Object.keys(e).concat(
|
|
645
|
+
function pt(e) {
|
|
646
|
+
return Object.keys(e).concat(Yr(e));
|
|
647
647
|
}
|
|
648
|
-
function
|
|
648
|
+
function Ut(e, t) {
|
|
649
649
|
try {
|
|
650
650
|
return t in e;
|
|
651
651
|
} catch (r) {
|
|
652
652
|
return !1;
|
|
653
653
|
}
|
|
654
654
|
}
|
|
655
|
-
function
|
|
656
|
-
return
|
|
655
|
+
function Kr(e, t) {
|
|
656
|
+
return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
657
657
|
}
|
|
658
|
-
function
|
|
658
|
+
function qr(e, t, r) {
|
|
659
659
|
var n = {};
|
|
660
|
-
return r.isMergeableObject(e) &&
|
|
660
|
+
return r.isMergeableObject(e) && pt(e).forEach(function(i) {
|
|
661
661
|
n[i] = ve(e[i], r);
|
|
662
|
-
}),
|
|
663
|
-
|
|
662
|
+
}), pt(t).forEach(function(i) {
|
|
663
|
+
Kr(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jr(i, r)(e[i], t[i], r) : n[i] = ve(t[i], r));
|
|
664
664
|
}), n;
|
|
665
665
|
}
|
|
666
666
|
function le(e, t, r) {
|
|
667
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
667
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Zr, r.isMergeableObject = r.isMergeableObject || Gr, r.cloneUnlessOtherwiseSpecified = ve;
|
|
668
668
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
669
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
669
|
+
return o ? n ? r.arrayMerge(e, t, r) : qr(e, t, r) : ve(t, r);
|
|
670
670
|
}
|
|
671
671
|
le.all = function(t, r) {
|
|
672
672
|
if (!Array.isArray(t))
|
|
@@ -675,8 +675,8 @@ le.all = function(t, r) {
|
|
|
675
675
|
return le(n, i, r);
|
|
676
676
|
}, {});
|
|
677
677
|
};
|
|
678
|
-
var
|
|
679
|
-
const
|
|
678
|
+
var Qr = le, en = Qr;
|
|
679
|
+
const tn = /* @__PURE__ */ Ur(en);
|
|
680
680
|
var Ze = function(e, t) {
|
|
681
681
|
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
682
682
|
r.__proto__ = n;
|
|
@@ -702,7 +702,7 @@ var _ = function() {
|
|
|
702
702
|
return t;
|
|
703
703
|
}, _.apply(this, arguments);
|
|
704
704
|
};
|
|
705
|
-
function
|
|
705
|
+
function rn(e, t) {
|
|
706
706
|
var r = {};
|
|
707
707
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
708
708
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -716,53 +716,55 @@ function De(e, t, r) {
|
|
|
716
716
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
717
717
|
}
|
|
718
718
|
function Ue(e, t) {
|
|
719
|
-
var r = t && t.cache ? t.cache :
|
|
719
|
+
var r = t && t.cache ? t.cache : ln, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : on;
|
|
720
720
|
return i(e, {
|
|
721
721
|
cache: r,
|
|
722
722
|
serializer: n
|
|
723
723
|
});
|
|
724
724
|
}
|
|
725
|
-
function
|
|
725
|
+
function nn(e) {
|
|
726
726
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
727
727
|
}
|
|
728
|
-
function
|
|
729
|
-
var i =
|
|
728
|
+
function Gt(e, t, r, n) {
|
|
729
|
+
var i = nn(n) ? n : r(n), o = t.get(i);
|
|
730
730
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
731
731
|
}
|
|
732
|
-
function
|
|
732
|
+
function Ft(e, t, r) {
|
|
733
733
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
734
734
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
735
735
|
}
|
|
736
|
-
function
|
|
736
|
+
function it(e, t, r, n, i) {
|
|
737
737
|
return r.bind(t, e, n, i);
|
|
738
738
|
}
|
|
739
|
-
function nn(e, t) {
|
|
740
|
-
var r = e.length === 1 ? rn : Dt;
|
|
741
|
-
return Ut(e, this, r, t.cache.create(), t.serializer);
|
|
742
|
-
}
|
|
743
739
|
function on(e, t) {
|
|
744
|
-
|
|
740
|
+
var r = e.length === 1 ? Gt : Ft;
|
|
741
|
+
return it(e, this, r, t.cache.create(), t.serializer);
|
|
742
|
+
}
|
|
743
|
+
function an(e, t) {
|
|
744
|
+
return it(e, this, Ft, t.cache.create(), t.serializer);
|
|
745
745
|
}
|
|
746
|
-
|
|
746
|
+
function sn(e, t) {
|
|
747
|
+
return it(e, this, Gt, t.cache.create(), t.serializer);
|
|
748
|
+
}
|
|
749
|
+
var un = function() {
|
|
747
750
|
return JSON.stringify(arguments);
|
|
748
|
-
}
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
}()
|
|
760
|
-
), un = {
|
|
751
|
+
};
|
|
752
|
+
function ot() {
|
|
753
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
754
|
+
}
|
|
755
|
+
ot.prototype.get = function(e) {
|
|
756
|
+
return this.cache[e];
|
|
757
|
+
};
|
|
758
|
+
ot.prototype.set = function(e, t) {
|
|
759
|
+
this.cache[e] = t;
|
|
760
|
+
};
|
|
761
|
+
var ln = {
|
|
761
762
|
create: function() {
|
|
762
|
-
return new
|
|
763
|
+
return new ot();
|
|
763
764
|
}
|
|
764
765
|
}, Ge = {
|
|
765
|
-
variadic:
|
|
766
|
+
variadic: an,
|
|
767
|
+
monadic: sn
|
|
766
768
|
}, b;
|
|
767
769
|
(function(e) {
|
|
768
770
|
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";
|
|
@@ -775,43 +777,43 @@ var he;
|
|
|
775
777
|
(function(e) {
|
|
776
778
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
777
779
|
})(he || (he = {}));
|
|
778
|
-
function
|
|
780
|
+
function bt(e) {
|
|
779
781
|
return e.type === B.literal;
|
|
780
782
|
}
|
|
781
|
-
function
|
|
783
|
+
function hn(e) {
|
|
782
784
|
return e.type === B.argument;
|
|
783
785
|
}
|
|
784
|
-
function
|
|
786
|
+
function jt(e) {
|
|
785
787
|
return e.type === B.number;
|
|
786
788
|
}
|
|
787
|
-
function
|
|
789
|
+
function Vt(e) {
|
|
788
790
|
return e.type === B.date;
|
|
789
791
|
}
|
|
790
|
-
function
|
|
792
|
+
function zt(e) {
|
|
791
793
|
return e.type === B.time;
|
|
792
794
|
}
|
|
793
|
-
function
|
|
795
|
+
function Xt(e) {
|
|
794
796
|
return e.type === B.select;
|
|
795
797
|
}
|
|
796
|
-
function
|
|
798
|
+
function Wt(e) {
|
|
797
799
|
return e.type === B.plural;
|
|
798
800
|
}
|
|
799
|
-
function
|
|
801
|
+
function cn(e) {
|
|
800
802
|
return e.type === B.pound;
|
|
801
803
|
}
|
|
802
|
-
function
|
|
804
|
+
function Zt(e) {
|
|
803
805
|
return e.type === B.tag;
|
|
804
806
|
}
|
|
805
|
-
function
|
|
807
|
+
function Jt(e) {
|
|
806
808
|
return !!(e && typeof e == "object" && e.type === he.number);
|
|
807
809
|
}
|
|
808
810
|
function Je(e) {
|
|
809
811
|
return !!(e && typeof e == "object" && e.type === he.dateTime);
|
|
810
812
|
}
|
|
811
|
-
var
|
|
812
|
-
function
|
|
813
|
+
var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fn = /(?:[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;
|
|
814
|
+
function mn(e) {
|
|
813
815
|
var t = {};
|
|
814
|
-
return e.replace(
|
|
816
|
+
return e.replace(fn, function(r) {
|
|
815
817
|
var n = r.length;
|
|
816
818
|
switch (r[0]) {
|
|
817
819
|
case "G":
|
|
@@ -900,11 +902,11 @@ function fn(e) {
|
|
|
900
902
|
return "";
|
|
901
903
|
}), t;
|
|
902
904
|
}
|
|
903
|
-
var
|
|
904
|
-
function
|
|
905
|
+
var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
906
|
+
function pn(e) {
|
|
905
907
|
if (e.length === 0)
|
|
906
908
|
throw new Error("Number skeleton cannot be empty");
|
|
907
|
-
for (var t = e.split(
|
|
909
|
+
for (var t = e.split(dn).filter(function(f) {
|
|
908
910
|
return f.length > 0;
|
|
909
911
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
910
912
|
var o = i[n], a = o.split("/");
|
|
@@ -919,17 +921,17 @@ function dn(e) {
|
|
|
919
921
|
}
|
|
920
922
|
return r;
|
|
921
923
|
}
|
|
922
|
-
function
|
|
924
|
+
function bn(e) {
|
|
923
925
|
return e.replace(/^(.*?)-/, "");
|
|
924
926
|
}
|
|
925
|
-
var
|
|
926
|
-
function
|
|
927
|
+
var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, gn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
|
|
928
|
+
function yt(e) {
|
|
927
929
|
var t = {};
|
|
928
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
930
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
|
|
929
931
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
930
932
|
}), t;
|
|
931
933
|
}
|
|
932
|
-
function
|
|
934
|
+
function Qt(e) {
|
|
933
935
|
switch (e) {
|
|
934
936
|
case "sign-auto":
|
|
935
937
|
return {
|
|
@@ -969,7 +971,7 @@ function Kt(e) {
|
|
|
969
971
|
};
|
|
970
972
|
}
|
|
971
973
|
}
|
|
972
|
-
function
|
|
974
|
+
function yn(e) {
|
|
973
975
|
var t;
|
|
974
976
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
975
977
|
notation: "engineering"
|
|
@@ -977,17 +979,17 @@ function gn(e) {
|
|
|
977
979
|
notation: "scientific"
|
|
978
980
|
}, e = e.slice(1)), t) {
|
|
979
981
|
var r = e.slice(0, 2);
|
|
980
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
982
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
|
|
981
983
|
throw new Error("Malformed concise eng/scientific notation");
|
|
982
984
|
t.minimumIntegerDigits = e.length;
|
|
983
985
|
}
|
|
984
986
|
return t;
|
|
985
987
|
}
|
|
986
|
-
function
|
|
987
|
-
var t = {}, r =
|
|
988
|
+
function vt(e) {
|
|
989
|
+
var t = {}, r = Qt(e);
|
|
988
990
|
return r || t;
|
|
989
991
|
}
|
|
990
|
-
function
|
|
992
|
+
function vn(e) {
|
|
991
993
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
992
994
|
var i = n[r];
|
|
993
995
|
switch (i.stem) {
|
|
@@ -1011,7 +1013,7 @@ function yn(e) {
|
|
|
1011
1013
|
continue;
|
|
1012
1014
|
case "measure-unit":
|
|
1013
1015
|
case "unit":
|
|
1014
|
-
t.style = "unit", t.unit =
|
|
1016
|
+
t.style = "unit", t.unit = bn(i.options[0]);
|
|
1015
1017
|
continue;
|
|
1016
1018
|
case "compact-short":
|
|
1017
1019
|
case "K":
|
|
@@ -1023,12 +1025,12 @@ function yn(e) {
|
|
|
1023
1025
|
continue;
|
|
1024
1026
|
case "scientific":
|
|
1025
1027
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1026
|
-
return _(_({}, l),
|
|
1028
|
+
return _(_({}, l), vt(u));
|
|
1027
1029
|
}, {}));
|
|
1028
1030
|
continue;
|
|
1029
1031
|
case "engineering":
|
|
1030
1032
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1031
|
-
return _(_({}, l),
|
|
1033
|
+
return _(_({}, l), vt(u));
|
|
1032
1034
|
}, {}));
|
|
1033
1035
|
continue;
|
|
1034
1036
|
case "notation-simple":
|
|
@@ -1073,7 +1075,7 @@ function yn(e) {
|
|
|
1073
1075
|
case "integer-width":
|
|
1074
1076
|
if (i.options.length > 1)
|
|
1075
1077
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1076
|
-
i.options[0].replace(
|
|
1078
|
+
i.options[0].replace(gn, function(l, u, h, c, f, g) {
|
|
1077
1079
|
if (u)
|
|
1078
1080
|
t.minimumIntegerDigits = h.length;
|
|
1079
1081
|
else {
|
|
@@ -1086,27 +1088,27 @@ function yn(e) {
|
|
|
1086
1088
|
});
|
|
1087
1089
|
continue;
|
|
1088
1090
|
}
|
|
1089
|
-
if (
|
|
1091
|
+
if (qt.test(i.stem)) {
|
|
1090
1092
|
t.minimumIntegerDigits = i.stem.length;
|
|
1091
1093
|
continue;
|
|
1092
1094
|
}
|
|
1093
|
-
if (
|
|
1095
|
+
if (gt.test(i.stem)) {
|
|
1094
1096
|
if (i.options.length > 1)
|
|
1095
1097
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1096
|
-
i.stem.replace(
|
|
1098
|
+
i.stem.replace(gt, function(l, u, h, c, f, g) {
|
|
1097
1099
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1098
1100
|
});
|
|
1099
1101
|
var o = i.options[0];
|
|
1100
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
|
1102
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
|
|
1101
1103
|
continue;
|
|
1102
1104
|
}
|
|
1103
|
-
if (
|
|
1104
|
-
t = _(_({}, t),
|
|
1105
|
+
if (Kt.test(i.stem)) {
|
|
1106
|
+
t = _(_({}, t), yt(i.stem));
|
|
1105
1107
|
continue;
|
|
1106
1108
|
}
|
|
1107
|
-
var a =
|
|
1109
|
+
var a = Qt(i.stem);
|
|
1108
1110
|
a && (t = _(_({}, t), a));
|
|
1109
|
-
var s =
|
|
1111
|
+
var s = yn(i.stem);
|
|
1110
1112
|
s && (t = _(_({}, t), s));
|
|
1111
1113
|
}
|
|
1112
1114
|
return t;
|
|
@@ -2526,13 +2528,13 @@ var Be = {
|
|
|
2526
2528
|
"h"
|
|
2527
2529
|
]
|
|
2528
2530
|
};
|
|
2529
|
-
function
|
|
2531
|
+
function _n(e, t) {
|
|
2530
2532
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2531
2533
|
var i = e.charAt(n);
|
|
2532
2534
|
if (i === "j") {
|
|
2533
2535
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2534
2536
|
o++, n++;
|
|
2535
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2537
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = En(t);
|
|
2536
2538
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2537
2539
|
r += l;
|
|
2538
2540
|
for (; a-- > 0; )
|
|
@@ -2541,7 +2543,7 @@ function vn(e, t) {
|
|
|
2541
2543
|
}
|
|
2542
2544
|
return r;
|
|
2543
2545
|
}
|
|
2544
|
-
function
|
|
2546
|
+
function En(e) {
|
|
2545
2547
|
var t = e.hourCycle;
|
|
2546
2548
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2547
2549
|
e.hourCycles && // @ts-ignore
|
|
@@ -2563,20 +2565,20 @@ function _n(e) {
|
|
|
2563
2565
|
var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
|
|
2564
2566
|
return i[0];
|
|
2565
2567
|
}
|
|
2566
|
-
var Fe,
|
|
2568
|
+
var Fe, xn = new RegExp("^".concat(Yt.source, "*")), Tn = new RegExp("".concat(Yt.source, "*$"));
|
|
2567
2569
|
function v(e, t) {
|
|
2568
2570
|
return { start: e, end: t };
|
|
2569
2571
|
}
|
|
2570
|
-
var
|
|
2572
|
+
var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), wn = !!String.fromCodePoint, Hn = !!Object.fromEntries, Cn = !!String.prototype.codePointAt, Sn = !!String.prototype.trimStart, Mn = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, kn = Rn ? Number.isSafeInteger : function(e) {
|
|
2571
2573
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2572
2574
|
}, Ye = !0;
|
|
2573
2575
|
try {
|
|
2574
|
-
var
|
|
2575
|
-
Ye = ((Fe =
|
|
2576
|
+
var Nn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2577
|
+
Ye = ((Fe = Nn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
|
|
2576
2578
|
} catch (e) {
|
|
2577
2579
|
Ye = !1;
|
|
2578
2580
|
}
|
|
2579
|
-
var
|
|
2581
|
+
var _t = Bn ? (
|
|
2580
2582
|
// Native
|
|
2581
2583
|
function(t, r, n) {
|
|
2582
2584
|
return t.startsWith(r, n);
|
|
@@ -2586,7 +2588,7 @@ var yt = Tn ? (
|
|
|
2586
2588
|
function(t, r, n) {
|
|
2587
2589
|
return t.slice(n, n + r.length) === r;
|
|
2588
2590
|
}
|
|
2589
|
-
), Ke =
|
|
2591
|
+
), Ke = wn ? String.fromCodePoint : (
|
|
2590
2592
|
// IE11
|
|
2591
2593
|
function() {
|
|
2592
2594
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2598,9 +2600,9 @@ var yt = Tn ? (
|
|
|
2598
2600
|
}
|
|
2599
2601
|
return n;
|
|
2600
2602
|
}
|
|
2601
|
-
),
|
|
2603
|
+
), Et = (
|
|
2602
2604
|
// native
|
|
2603
|
-
|
|
2605
|
+
Hn ? Object.fromEntries : (
|
|
2604
2606
|
// Ponyfill
|
|
2605
2607
|
function(t) {
|
|
2606
2608
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2610,7 +2612,7 @@ var yt = Tn ? (
|
|
|
2610
2612
|
return r;
|
|
2611
2613
|
}
|
|
2612
2614
|
)
|
|
2613
|
-
),
|
|
2615
|
+
), er = Cn ? (
|
|
2614
2616
|
// Native
|
|
2615
2617
|
function(t, r) {
|
|
2616
2618
|
return t.codePointAt(r);
|
|
@@ -2624,7 +2626,7 @@ var yt = Tn ? (
|
|
|
2624
2626
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2625
2627
|
}
|
|
2626
2628
|
}
|
|
2627
|
-
),
|
|
2629
|
+
), An = Sn ? (
|
|
2628
2630
|
// Native
|
|
2629
2631
|
function(t) {
|
|
2630
2632
|
return t.trimStart();
|
|
@@ -2632,9 +2634,9 @@ var yt = Tn ? (
|
|
|
2632
2634
|
) : (
|
|
2633
2635
|
// Ponyfill
|
|
2634
2636
|
function(t) {
|
|
2635
|
-
return t.replace(
|
|
2637
|
+
return t.replace(xn, "");
|
|
2636
2638
|
}
|
|
2637
|
-
),
|
|
2639
|
+
), Ln = Mn ? (
|
|
2638
2640
|
// Native
|
|
2639
2641
|
function(t) {
|
|
2640
2642
|
return t.trimEnd();
|
|
@@ -2642,32 +2644,32 @@ var yt = Tn ? (
|
|
|
2642
2644
|
) : (
|
|
2643
2645
|
// Ponyfill
|
|
2644
2646
|
function(t) {
|
|
2645
|
-
return t.replace(
|
|
2647
|
+
return t.replace(Tn, "");
|
|
2646
2648
|
}
|
|
2647
2649
|
);
|
|
2648
|
-
function
|
|
2650
|
+
function tr(e, t) {
|
|
2649
2651
|
return new RegExp(e, t);
|
|
2650
2652
|
}
|
|
2651
2653
|
var qe;
|
|
2652
2654
|
if (Ye) {
|
|
2653
|
-
var
|
|
2655
|
+
var xt = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2654
2656
|
qe = function(t, r) {
|
|
2655
2657
|
var n;
|
|
2656
|
-
|
|
2657
|
-
var i =
|
|
2658
|
+
xt.lastIndex = r;
|
|
2659
|
+
var i = xt.exec(t);
|
|
2658
2660
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2659
2661
|
};
|
|
2660
2662
|
} else
|
|
2661
2663
|
qe = function(t, r) {
|
|
2662
2664
|
for (var n = []; ; ) {
|
|
2663
|
-
var i =
|
|
2664
|
-
if (i === void 0 ||
|
|
2665
|
+
var i = er(t, r);
|
|
2666
|
+
if (i === void 0 || rr(i) || $n(i))
|
|
2665
2667
|
break;
|
|
2666
2668
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2667
2669
|
}
|
|
2668
2670
|
return Ke.apply(void 0, n);
|
|
2669
2671
|
};
|
|
2670
|
-
var
|
|
2672
|
+
var Pn = (
|
|
2671
2673
|
/** @class */
|
|
2672
2674
|
function() {
|
|
2673
2675
|
function e(t, r) {
|
|
@@ -2749,7 +2751,7 @@ var Ln = (
|
|
|
2749
2751
|
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
2750
2752
|
}, e.prototype.parseTagName = function() {
|
|
2751
2753
|
var t = this.offset();
|
|
2752
|
-
for (this.bump(); !this.isEOF() &&
|
|
2754
|
+
for (this.bump(); !this.isEOF() && In(this.char()); )
|
|
2753
2755
|
this.bump();
|
|
2754
2756
|
return this.message.slice(t, this.offset());
|
|
2755
2757
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2778,7 +2780,7 @@ var Ln = (
|
|
|
2778
2780
|
};
|
|
2779
2781
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2780
2782
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2781
|
-
!
|
|
2783
|
+
!On(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2782
2784
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2783
2785
|
if (this.isEOF() || this.char() !== 39)
|
|
2784
2786
|
return null;
|
|
@@ -2865,7 +2867,7 @@ var Ln = (
|
|
|
2865
2867
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2866
2868
|
if (c.err)
|
|
2867
2869
|
return c;
|
|
2868
|
-
var f =
|
|
2870
|
+
var f = Ln(c.val);
|
|
2869
2871
|
if (f.length === 0)
|
|
2870
2872
|
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
2871
2873
|
var g = v(h, this.clonePosition());
|
|
@@ -2875,8 +2877,8 @@ var Ln = (
|
|
|
2875
2877
|
if (y.err)
|
|
2876
2878
|
return y;
|
|
2877
2879
|
var T = v(i, this.clonePosition());
|
|
2878
|
-
if (u &&
|
|
2879
|
-
var w =
|
|
2880
|
+
if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
|
|
2881
|
+
var w = An(u.style.slice(2));
|
|
2880
2882
|
if (s === "number") {
|
|
2881
2883
|
var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
2882
2884
|
return c.err ? c : {
|
|
@@ -2887,12 +2889,12 @@ var Ln = (
|
|
|
2887
2889
|
if (w.length === 0)
|
|
2888
2890
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, T);
|
|
2889
2891
|
var C = w;
|
|
2890
|
-
this.locale && (C =
|
|
2892
|
+
this.locale && (C = _n(w, this.locale));
|
|
2891
2893
|
var f = {
|
|
2892
2894
|
type: he.dateTime,
|
|
2893
2895
|
pattern: C,
|
|
2894
2896
|
location: u.styleLocation,
|
|
2895
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2897
|
+
parsedOptions: this.shouldParseSkeletons ? mn(C) : {}
|
|
2896
2898
|
}, k = s === "date" ? B.date : B.time;
|
|
2897
2899
|
return {
|
|
2898
2900
|
val: { type: k, value: n, location: T, style: f },
|
|
@@ -2938,7 +2940,7 @@ var Ln = (
|
|
|
2938
2940
|
val: {
|
|
2939
2941
|
type: B.select,
|
|
2940
2942
|
value: n,
|
|
2941
|
-
options:
|
|
2943
|
+
options: Et(J.val),
|
|
2942
2944
|
location: te
|
|
2943
2945
|
},
|
|
2944
2946
|
err: null
|
|
@@ -2946,7 +2948,7 @@ var Ln = (
|
|
|
2946
2948
|
val: {
|
|
2947
2949
|
type: B.plural,
|
|
2948
2950
|
value: n,
|
|
2949
|
-
options:
|
|
2951
|
+
options: Et(J.val),
|
|
2950
2952
|
offset: L,
|
|
2951
2953
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2952
2954
|
location: te
|
|
@@ -2997,7 +2999,7 @@ var Ln = (
|
|
|
2997
2999
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2998
3000
|
var n = [];
|
|
2999
3001
|
try {
|
|
3000
|
-
n =
|
|
3002
|
+
n = pn(t);
|
|
3001
3003
|
} catch (i) {
|
|
3002
3004
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3003
3005
|
}
|
|
@@ -3006,7 +3008,7 @@ var Ln = (
|
|
|
3006
3008
|
type: he.number,
|
|
3007
3009
|
tokens: n,
|
|
3008
3010
|
location: r,
|
|
3009
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3011
|
+
parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
|
|
3010
3012
|
},
|
|
3011
3013
|
err: null
|
|
3012
3014
|
};
|
|
@@ -3054,7 +3056,7 @@ var Ln = (
|
|
|
3054
3056
|
break;
|
|
3055
3057
|
}
|
|
3056
3058
|
var l = v(i, this.clonePosition());
|
|
3057
|
-
return o ? (a *= n,
|
|
3059
|
+
return o ? (a *= n, kn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3058
3060
|
}, e.prototype.offset = function() {
|
|
3059
3061
|
return this.position.offset;
|
|
3060
3062
|
}, e.prototype.isEOF = function() {
|
|
@@ -3069,7 +3071,7 @@ var Ln = (
|
|
|
3069
3071
|
var t = this.position.offset;
|
|
3070
3072
|
if (t >= this.message.length)
|
|
3071
3073
|
throw Error("out of bound");
|
|
3072
|
-
var r =
|
|
3074
|
+
var r = er(this.message, t);
|
|
3073
3075
|
if (r === void 0)
|
|
3074
3076
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3075
3077
|
return r;
|
|
@@ -3088,7 +3090,7 @@ var Ln = (
|
|
|
3088
3090
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3089
3091
|
}
|
|
3090
3092
|
}, e.prototype.bumpIf = function(t) {
|
|
3091
|
-
if (
|
|
3093
|
+
if (_t(this.message, t, this.offset())) {
|
|
3092
3094
|
for (var r = 0; r < t.length; r++)
|
|
3093
3095
|
this.bump();
|
|
3094
3096
|
return !0;
|
|
@@ -3110,7 +3112,7 @@ var Ln = (
|
|
|
3110
3112
|
break;
|
|
3111
3113
|
}
|
|
3112
3114
|
}, e.prototype.bumpSpace = function() {
|
|
3113
|
-
for (; !this.isEOF() &&
|
|
3115
|
+
for (; !this.isEOF() && rr(this.char()); )
|
|
3114
3116
|
this.bump();
|
|
3115
3117
|
}, e.prototype.peek = function() {
|
|
3116
3118
|
if (this.isEOF())
|
|
@@ -3123,29 +3125,29 @@ var Ln = (
|
|
|
3123
3125
|
function Qe(e) {
|
|
3124
3126
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3125
3127
|
}
|
|
3126
|
-
function
|
|
3128
|
+
function On(e) {
|
|
3127
3129
|
return Qe(e) || e === 47;
|
|
3128
3130
|
}
|
|
3129
|
-
function
|
|
3131
|
+
function In(e) {
|
|
3130
3132
|
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;
|
|
3131
3133
|
}
|
|
3132
|
-
function
|
|
3134
|
+
function rr(e) {
|
|
3133
3135
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3134
3136
|
}
|
|
3135
|
-
function
|
|
3137
|
+
function $n(e) {
|
|
3136
3138
|
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;
|
|
3137
3139
|
}
|
|
3138
3140
|
function et(e) {
|
|
3139
3141
|
e.forEach(function(t) {
|
|
3140
|
-
if (delete t.location,
|
|
3142
|
+
if (delete t.location, Xt(t) || Wt(t))
|
|
3141
3143
|
for (var r in t.options)
|
|
3142
3144
|
delete t.options[r].location, et(t.options[r].value);
|
|
3143
|
-
else
|
|
3145
|
+
else jt(t) && Jt(t.style) || (Vt(t) || zt(t)) && Je(t.style) ? delete t.style.location : Zt(t) && et(t.children);
|
|
3144
3146
|
});
|
|
3145
3147
|
}
|
|
3146
|
-
function
|
|
3148
|
+
function Dn(e, t) {
|
|
3147
3149
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3148
|
-
var r = new
|
|
3150
|
+
var r = new Pn(e, t).parse();
|
|
3149
3151
|
if (r.err) {
|
|
3150
3152
|
var n = SyntaxError(b[r.err.kind]);
|
|
3151
3153
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3168,7 +3170,7 @@ var Le = (
|
|
|
3168
3170
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3169
3171
|
}, t;
|
|
3170
3172
|
}(Error)
|
|
3171
|
-
),
|
|
3173
|
+
), Tt = (
|
|
3172
3174
|
/** @class */
|
|
3173
3175
|
function(e) {
|
|
3174
3176
|
Ae(t, e);
|
|
@@ -3177,7 +3179,7 @@ var Le = (
|
|
|
3177
3179
|
}
|
|
3178
3180
|
return t;
|
|
3179
3181
|
}(Le)
|
|
3180
|
-
),
|
|
3182
|
+
), Un = (
|
|
3181
3183
|
/** @class */
|
|
3182
3184
|
function(e) {
|
|
3183
3185
|
Ae(t, e);
|
|
@@ -3186,7 +3188,7 @@ var Le = (
|
|
|
3186
3188
|
}
|
|
3187
3189
|
return t;
|
|
3188
3190
|
}(Le)
|
|
3189
|
-
),
|
|
3191
|
+
), Gn = (
|
|
3190
3192
|
/** @class */
|
|
3191
3193
|
function(e) {
|
|
3192
3194
|
Ae(t, e);
|
|
@@ -3199,17 +3201,17 @@ var Le = (
|
|
|
3199
3201
|
(function(e) {
|
|
3200
3202
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3201
3203
|
})(I || (I = {}));
|
|
3202
|
-
function
|
|
3204
|
+
function Fn(e) {
|
|
3203
3205
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3204
3206
|
var n = t[t.length - 1];
|
|
3205
3207
|
return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
|
|
3206
3208
|
}, []);
|
|
3207
3209
|
}
|
|
3208
|
-
function
|
|
3210
|
+
function jn(e) {
|
|
3209
3211
|
return typeof e == "function";
|
|
3210
3212
|
}
|
|
3211
3213
|
function He(e, t, r, n, i, o, a) {
|
|
3212
|
-
if (e.length === 1 &&
|
|
3214
|
+
if (e.length === 1 && bt(e[0]))
|
|
3213
3215
|
return [
|
|
3214
3216
|
{
|
|
3215
3217
|
type: I.literal,
|
|
@@ -3218,14 +3220,14 @@ function He(e, t, r, n, i, o, a) {
|
|
|
3218
3220
|
];
|
|
3219
3221
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3220
3222
|
var h = u[l];
|
|
3221
|
-
if (
|
|
3223
|
+
if (bt(h)) {
|
|
3222
3224
|
s.push({
|
|
3223
3225
|
type: I.literal,
|
|
3224
3226
|
value: h.value
|
|
3225
3227
|
});
|
|
3226
3228
|
continue;
|
|
3227
3229
|
}
|
|
3228
|
-
if (
|
|
3230
|
+
if (cn(h)) {
|
|
3229
3231
|
typeof o == "number" && s.push({
|
|
3230
3232
|
type: I.literal,
|
|
3231
3233
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3234,16 +3236,16 @@ function He(e, t, r, n, i, o, a) {
|
|
|
3234
3236
|
}
|
|
3235
3237
|
var c = h.value;
|
|
3236
3238
|
if (!(i && c in i))
|
|
3237
|
-
throw new
|
|
3239
|
+
throw new Gn(c, a);
|
|
3238
3240
|
var f = i[c];
|
|
3239
|
-
if (
|
|
3241
|
+
if (hn(h)) {
|
|
3240
3242
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3241
3243
|
type: typeof f == "string" ? I.literal : I.object,
|
|
3242
3244
|
value: f
|
|
3243
3245
|
});
|
|
3244
3246
|
continue;
|
|
3245
3247
|
}
|
|
3246
|
-
if (
|
|
3248
|
+
if (Vt(h)) {
|
|
3247
3249
|
var g = typeof h.style == "string" ? n.date[h.style] : Je(h.style) ? h.style.parsedOptions : void 0;
|
|
3248
3250
|
s.push({
|
|
3249
3251
|
type: I.literal,
|
|
@@ -3251,7 +3253,7 @@ function He(e, t, r, n, i, o, a) {
|
|
|
3251
3253
|
});
|
|
3252
3254
|
continue;
|
|
3253
3255
|
}
|
|
3254
|
-
if (
|
|
3256
|
+
if (zt(h)) {
|
|
3255
3257
|
var g = typeof h.style == "string" ? n.time[h.style] : Je(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3256
3258
|
s.push({
|
|
3257
3259
|
type: I.literal,
|
|
@@ -3259,18 +3261,18 @@ function He(e, t, r, n, i, o, a) {
|
|
|
3259
3261
|
});
|
|
3260
3262
|
continue;
|
|
3261
3263
|
}
|
|
3262
|
-
if (
|
|
3263
|
-
var g = typeof h.style == "string" ? n.number[h.style] :
|
|
3264
|
+
if (jt(h)) {
|
|
3265
|
+
var g = typeof h.style == "string" ? n.number[h.style] : Jt(h.style) ? h.style.parsedOptions : void 0;
|
|
3264
3266
|
g && g.scale && (f = f * (g.scale || 1)), s.push({
|
|
3265
3267
|
type: I.literal,
|
|
3266
3268
|
value: r.getNumberFormat(t, g).format(f)
|
|
3267
3269
|
});
|
|
3268
3270
|
continue;
|
|
3269
3271
|
}
|
|
3270
|
-
if (
|
|
3272
|
+
if (Zt(h)) {
|
|
3271
3273
|
var y = h.children, T = h.value, w = i[T];
|
|
3272
|
-
if (!
|
|
3273
|
-
throw new
|
|
3274
|
+
if (!jn(w))
|
|
3275
|
+
throw new Un(T, "function", a);
|
|
3274
3276
|
var C = He(y, t, r, n, i, o), k = w(C.map(function(L) {
|
|
3275
3277
|
return L.value;
|
|
3276
3278
|
}));
|
|
@@ -3281,14 +3283,14 @@ function He(e, t, r, n, i, o, a) {
|
|
|
3281
3283
|
};
|
|
3282
3284
|
}));
|
|
3283
3285
|
}
|
|
3284
|
-
if (
|
|
3286
|
+
if (Xt(h)) {
|
|
3285
3287
|
var S = h.options[f] || h.options.other;
|
|
3286
3288
|
if (!S)
|
|
3287
|
-
throw new
|
|
3289
|
+
throw new Tt(h.value, f, Object.keys(h.options), a);
|
|
3288
3290
|
s.push.apply(s, He(S.value, t, r, n, i));
|
|
3289
3291
|
continue;
|
|
3290
3292
|
}
|
|
3291
|
-
if (
|
|
3293
|
+
if (Wt(h)) {
|
|
3292
3294
|
var S = h.options["=".concat(f)];
|
|
3293
3295
|
if (!S) {
|
|
3294
3296
|
if (!Intl.PluralRules)
|
|
@@ -3299,21 +3301,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3299
3301
|
S = h.options[A] || h.options.other;
|
|
3300
3302
|
}
|
|
3301
3303
|
if (!S)
|
|
3302
|
-
throw new
|
|
3304
|
+
throw new Tt(h.value, f, Object.keys(h.options), a);
|
|
3303
3305
|
s.push.apply(s, He(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3304
3306
|
continue;
|
|
3305
3307
|
}
|
|
3306
3308
|
}
|
|
3307
|
-
return
|
|
3309
|
+
return Fn(s);
|
|
3308
3310
|
}
|
|
3309
|
-
function
|
|
3311
|
+
function Vn(e, t) {
|
|
3310
3312
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3311
3313
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
3312
3314
|
}, {})) : e;
|
|
3313
3315
|
}
|
|
3314
|
-
function
|
|
3316
|
+
function zn(e, t) {
|
|
3315
3317
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3316
|
-
return r[n] =
|
|
3318
|
+
return r[n] = Vn(e[n], t[n]), r;
|
|
3317
3319
|
}, _({}, e)) : e;
|
|
3318
3320
|
}
|
|
3319
3321
|
function je(e) {
|
|
@@ -3330,7 +3332,7 @@ function je(e) {
|
|
|
3330
3332
|
}
|
|
3331
3333
|
};
|
|
3332
3334
|
}
|
|
3333
|
-
function
|
|
3335
|
+
function Xn(e) {
|
|
3334
3336
|
return e === void 0 && (e = {
|
|
3335
3337
|
number: {},
|
|
3336
3338
|
dateTime: {},
|
|
@@ -3362,7 +3364,7 @@ function zn(e) {
|
|
|
3362
3364
|
})
|
|
3363
3365
|
};
|
|
3364
3366
|
}
|
|
3365
|
-
var
|
|
3367
|
+
var Wn = (
|
|
3366
3368
|
/** @class */
|
|
3367
3369
|
function() {
|
|
3368
3370
|
function e(t, r, n, i) {
|
|
@@ -3394,13 +3396,13 @@ var Xn = (
|
|
|
3394
3396
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3395
3397
|
var a = i || {};
|
|
3396
3398
|
a.formatters;
|
|
3397
|
-
var s =
|
|
3399
|
+
var s = rn(a, ["formatters"]);
|
|
3398
3400
|
this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
|
|
3399
3401
|
} else
|
|
3400
3402
|
this.ast = t;
|
|
3401
3403
|
if (!Array.isArray(this.ast))
|
|
3402
3404
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3403
|
-
this.formats =
|
|
3405
|
+
this.formats = zn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
|
|
3404
3406
|
}
|
|
3405
3407
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3406
3408
|
get: function() {
|
|
@@ -3413,7 +3415,7 @@ var Xn = (
|
|
|
3413
3415
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3414
3416
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3415
3417
|
}
|
|
3416
|
-
}, e.__parse =
|
|
3418
|
+
}, e.__parse = Dn, e.formats = {
|
|
3417
3419
|
number: {
|
|
3418
3420
|
integer: {
|
|
3419
3421
|
maximumFractionDigits: 0
|
|
@@ -3474,7 +3476,7 @@ var Xn = (
|
|
|
3474
3476
|
}, e;
|
|
3475
3477
|
}()
|
|
3476
3478
|
);
|
|
3477
|
-
function
|
|
3479
|
+
function Zn(e, t) {
|
|
3478
3480
|
if (t == null)
|
|
3479
3481
|
return;
|
|
3480
3482
|
if (t in e)
|
|
@@ -3495,60 +3497,60 @@ function Wn(e, t) {
|
|
|
3495
3497
|
n = void 0;
|
|
3496
3498
|
return n;
|
|
3497
3499
|
}
|
|
3498
|
-
const Q = {},
|
|
3500
|
+
const Q = {}, Jn = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), nr = (e, t) => {
|
|
3499
3501
|
if (t == null)
|
|
3500
3502
|
return;
|
|
3501
3503
|
if (t in Q && e in Q[t])
|
|
3502
3504
|
return Q[t][e];
|
|
3503
3505
|
const r = Pe(t);
|
|
3504
3506
|
for (let n = 0; n < r.length; n++) {
|
|
3505
|
-
const i = r[n], o =
|
|
3507
|
+
const i = r[n], o = Kn(i, e);
|
|
3506
3508
|
if (o)
|
|
3507
|
-
return
|
|
3509
|
+
return Jn(e, t, o);
|
|
3508
3510
|
}
|
|
3509
3511
|
};
|
|
3510
|
-
let
|
|
3512
|
+
let at;
|
|
3511
3513
|
const de = Ne({});
|
|
3512
|
-
function
|
|
3513
|
-
return
|
|
3514
|
+
function Yn(e) {
|
|
3515
|
+
return at[e] || null;
|
|
3514
3516
|
}
|
|
3515
|
-
function
|
|
3516
|
-
return e in
|
|
3517
|
+
function ir(e) {
|
|
3518
|
+
return e in at;
|
|
3517
3519
|
}
|
|
3518
|
-
function
|
|
3519
|
-
if (!
|
|
3520
|
+
function Kn(e, t) {
|
|
3521
|
+
if (!ir(e))
|
|
3520
3522
|
return null;
|
|
3521
|
-
const r =
|
|
3522
|
-
return
|
|
3523
|
+
const r = Yn(e);
|
|
3524
|
+
return Zn(r, t);
|
|
3523
3525
|
}
|
|
3524
|
-
function
|
|
3526
|
+
function qn(e) {
|
|
3525
3527
|
if (e == null)
|
|
3526
3528
|
return;
|
|
3527
3529
|
const t = Pe(e);
|
|
3528
3530
|
for (let r = 0; r < t.length; r++) {
|
|
3529
3531
|
const n = t[r];
|
|
3530
|
-
if (
|
|
3532
|
+
if (ir(n))
|
|
3531
3533
|
return n;
|
|
3532
3534
|
}
|
|
3533
3535
|
}
|
|
3534
|
-
function
|
|
3535
|
-
delete Q[e], de.update((r) => (r[e] =
|
|
3536
|
+
function or(e, ...t) {
|
|
3537
|
+
delete Q[e], de.update((r) => (r[e] = tn.all([r[e] || {}, ...t]), r));
|
|
3536
3538
|
}
|
|
3537
3539
|
me(
|
|
3538
3540
|
[de],
|
|
3539
3541
|
([e]) => Object.keys(e)
|
|
3540
3542
|
);
|
|
3541
|
-
de.subscribe((e) =>
|
|
3543
|
+
de.subscribe((e) => at = e);
|
|
3542
3544
|
const Ce = {};
|
|
3543
|
-
function
|
|
3545
|
+
function Qn(e, t) {
|
|
3544
3546
|
Ce[e].delete(t), Ce[e].size === 0 && delete Ce[e];
|
|
3545
3547
|
}
|
|
3546
|
-
function
|
|
3548
|
+
function ar(e) {
|
|
3547
3549
|
return Ce[e];
|
|
3548
3550
|
}
|
|
3549
|
-
function
|
|
3551
|
+
function ei(e) {
|
|
3550
3552
|
return Pe(e).map((t) => {
|
|
3551
|
-
const r =
|
|
3553
|
+
const r = ar(t);
|
|
3552
3554
|
return [t, r ? [...r] : []];
|
|
3553
3555
|
}).filter(([, t]) => t.length > 0);
|
|
3554
3556
|
}
|
|
@@ -3556,31 +3558,31 @@ function tt(e) {
|
|
|
3556
3558
|
return e == null ? !1 : Pe(e).some(
|
|
3557
3559
|
(t) => {
|
|
3558
3560
|
var r;
|
|
3559
|
-
return (r =
|
|
3561
|
+
return (r = ar(t)) == null ? void 0 : r.size;
|
|
3560
3562
|
}
|
|
3561
3563
|
);
|
|
3562
3564
|
}
|
|
3563
|
-
function
|
|
3565
|
+
function ti(e, t) {
|
|
3564
3566
|
return Promise.all(
|
|
3565
|
-
t.map((n) => (
|
|
3566
|
-
).then((n) =>
|
|
3567
|
+
t.map((n) => (Qn(e, n), n().then((i) => i.default || i)))
|
|
3568
|
+
).then((n) => or(e, ...n));
|
|
3567
3569
|
}
|
|
3568
3570
|
const be = {};
|
|
3569
|
-
function
|
|
3571
|
+
function sr(e) {
|
|
3570
3572
|
if (!tt(e))
|
|
3571
3573
|
return e in be ? be[e] : Promise.resolve();
|
|
3572
|
-
const t =
|
|
3574
|
+
const t = ei(e);
|
|
3573
3575
|
return be[e] = Promise.all(
|
|
3574
3576
|
t.map(
|
|
3575
|
-
([r, n]) =>
|
|
3577
|
+
([r, n]) => ti(r, n)
|
|
3576
3578
|
)
|
|
3577
3579
|
).then(() => {
|
|
3578
3580
|
if (tt(e))
|
|
3579
|
-
return
|
|
3581
|
+
return sr(e);
|
|
3580
3582
|
delete be[e];
|
|
3581
3583
|
}), be[e];
|
|
3582
3584
|
}
|
|
3583
|
-
const
|
|
3585
|
+
const ri = {
|
|
3584
3586
|
number: {
|
|
3585
3587
|
scientific: { notation: "scientific" },
|
|
3586
3588
|
engineering: { notation: "engineering" },
|
|
@@ -3609,34 +3611,34 @@ const ti = {
|
|
|
3609
3611
|
timeZoneName: "short"
|
|
3610
3612
|
}
|
|
3611
3613
|
}
|
|
3612
|
-
},
|
|
3614
|
+
}, ni = {
|
|
3613
3615
|
fallbackLocale: null,
|
|
3614
3616
|
loadingDelay: 200,
|
|
3615
|
-
formats:
|
|
3617
|
+
formats: ri,
|
|
3616
3618
|
warnOnMissingMessages: !0,
|
|
3617
3619
|
handleMissingMessage: void 0,
|
|
3618
3620
|
ignoreTag: !0
|
|
3619
|
-
},
|
|
3621
|
+
}, ii = ni;
|
|
3620
3622
|
function fe() {
|
|
3621
|
-
return
|
|
3623
|
+
return ii;
|
|
3622
3624
|
}
|
|
3623
3625
|
const Ve = Ne(!1);
|
|
3624
|
-
var
|
|
3626
|
+
var oi = Object.defineProperty, ai = Object.defineProperties, si = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
|
|
3625
3627
|
for (var r in t || (t = {}))
|
|
3626
|
-
|
|
3627
|
-
if (
|
|
3628
|
-
for (var r of
|
|
3629
|
-
|
|
3628
|
+
ui.call(t, r) && wt(e, r, t[r]);
|
|
3629
|
+
if (Bt)
|
|
3630
|
+
for (var r of Bt(t))
|
|
3631
|
+
li.call(t, r) && wt(e, r, t[r]);
|
|
3630
3632
|
return e;
|
|
3631
|
-
},
|
|
3633
|
+
}, ci = (e, t) => ai(e, si(t));
|
|
3632
3634
|
let rt;
|
|
3633
3635
|
const Se = Ne(null);
|
|
3634
|
-
function
|
|
3636
|
+
function Ht(e) {
|
|
3635
3637
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3636
3638
|
}
|
|
3637
3639
|
function Pe(e, t = fe().fallbackLocale) {
|
|
3638
|
-
const r =
|
|
3639
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3640
|
+
const r = Ht(e);
|
|
3641
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
|
|
3640
3642
|
}
|
|
3641
3643
|
function ie() {
|
|
3642
3644
|
return rt != null ? rt : void 0;
|
|
@@ -3644,22 +3646,22 @@ function ie() {
|
|
|
3644
3646
|
Se.subscribe((e) => {
|
|
3645
3647
|
rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3646
3648
|
});
|
|
3647
|
-
const
|
|
3648
|
-
if (e &&
|
|
3649
|
+
const fi = (e) => {
|
|
3650
|
+
if (e && qn(e) && tt(e)) {
|
|
3649
3651
|
const { loadingDelay: t } = fe();
|
|
3650
3652
|
let r;
|
|
3651
3653
|
return typeof window != "undefined" && ie() != null && t ? r = window.setTimeout(
|
|
3652
3654
|
() => Ve.set(!0),
|
|
3653
3655
|
t
|
|
3654
|
-
) : Ve.set(!0),
|
|
3656
|
+
) : Ve.set(!0), sr(e).then(() => {
|
|
3655
3657
|
Se.set(e);
|
|
3656
3658
|
}).finally(() => {
|
|
3657
3659
|
clearTimeout(r), Ve.set(!1);
|
|
3658
3660
|
});
|
|
3659
3661
|
}
|
|
3660
3662
|
return Se.set(e);
|
|
3661
|
-
}, ee = hi(
|
|
3662
|
-
set:
|
|
3663
|
+
}, ee = ci(hi({}, Se), {
|
|
3664
|
+
set: fi
|
|
3663
3665
|
}), Oe = (e) => {
|
|
3664
3666
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3665
3667
|
return (n) => {
|
|
@@ -3667,20 +3669,20 @@ const ci = (e) => {
|
|
|
3667
3669
|
return i in t ? t[i] : t[i] = e(n);
|
|
3668
3670
|
};
|
|
3669
3671
|
};
|
|
3670
|
-
var
|
|
3672
|
+
var mi = Object.defineProperty, Me = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
|
|
3671
3673
|
for (var r in t || (t = {}))
|
|
3672
|
-
|
|
3674
|
+
ur.call(t, r) && Ct(e, r, t[r]);
|
|
3673
3675
|
if (Me)
|
|
3674
3676
|
for (var r of Me(t))
|
|
3675
|
-
|
|
3677
|
+
lr.call(t, r) && Ct(e, r, t[r]);
|
|
3676
3678
|
return e;
|
|
3677
3679
|
}, pe = (e, t) => {
|
|
3678
3680
|
var r = {};
|
|
3679
3681
|
for (var n in e)
|
|
3680
|
-
|
|
3682
|
+
ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3681
3683
|
if (e != null && Me)
|
|
3682
3684
|
for (var n of Me(e))
|
|
3683
|
-
t.indexOf(n) < 0 &&
|
|
3685
|
+
t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
|
|
3684
3686
|
return r;
|
|
3685
3687
|
};
|
|
3686
3688
|
const _e = (e, t) => {
|
|
@@ -3688,21 +3690,21 @@ const _e = (e, t) => {
|
|
|
3688
3690
|
if (e in r && t in r[e])
|
|
3689
3691
|
return r[e][t];
|
|
3690
3692
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3691
|
-
},
|
|
3693
|
+
}, di = Oe(
|
|
3692
3694
|
(e) => {
|
|
3693
3695
|
var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
|
|
3694
3696
|
if (r == null)
|
|
3695
3697
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3696
3698
|
return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
|
|
3697
3699
|
}
|
|
3698
|
-
),
|
|
3700
|
+
), pi = Oe(
|
|
3699
3701
|
(e) => {
|
|
3700
3702
|
var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
|
|
3701
3703
|
if (r == null)
|
|
3702
3704
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3703
3705
|
return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3704
3706
|
}
|
|
3705
|
-
),
|
|
3707
|
+
), bi = Oe(
|
|
3706
3708
|
(e) => {
|
|
3707
3709
|
var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
|
|
3708
3710
|
if (r == null)
|
|
@@ -3711,33 +3713,33 @@ const _e = (e, t) => {
|
|
|
3711
3713
|
);
|
|
3712
3714
|
return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3713
3715
|
}
|
|
3714
|
-
),
|
|
3716
|
+
), gi = (e = {}) => {
|
|
3715
3717
|
var t = e, {
|
|
3716
3718
|
locale: r = ie()
|
|
3717
3719
|
} = t, n = pe(t, [
|
|
3718
3720
|
"locale"
|
|
3719
3721
|
]);
|
|
3720
|
-
return
|
|
3721
|
-
},
|
|
3722
|
+
return di(st({ locale: r }, n));
|
|
3723
|
+
}, yi = (e = {}) => {
|
|
3722
3724
|
var t = e, {
|
|
3723
3725
|
locale: r = ie()
|
|
3724
3726
|
} = t, n = pe(t, [
|
|
3725
3727
|
"locale"
|
|
3726
3728
|
]);
|
|
3727
|
-
return
|
|
3728
|
-
},
|
|
3729
|
+
return pi(st({ locale: r }, n));
|
|
3730
|
+
}, vi = (e = {}) => {
|
|
3729
3731
|
var t = e, {
|
|
3730
3732
|
locale: r = ie()
|
|
3731
3733
|
} = t, n = pe(t, [
|
|
3732
3734
|
"locale"
|
|
3733
3735
|
]);
|
|
3734
|
-
return
|
|
3735
|
-
},
|
|
3736
|
+
return bi(st({ locale: r }, n));
|
|
3737
|
+
}, _i = Oe(
|
|
3736
3738
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3737
|
-
(e, t = ie()) => new
|
|
3739
|
+
(e, t = ie()) => new Wn(e, t, fe().formats, {
|
|
3738
3740
|
ignoreTag: fe().ignoreTag
|
|
3739
3741
|
})
|
|
3740
|
-
),
|
|
3742
|
+
), Ei = (e, t = {}) => {
|
|
3741
3743
|
var r, n, i, o;
|
|
3742
3744
|
let a = t;
|
|
3743
3745
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3750,7 +3752,7 @@ const _e = (e, t) => {
|
|
|
3750
3752
|
throw new Error(
|
|
3751
3753
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3752
3754
|
);
|
|
3753
|
-
let h =
|
|
3755
|
+
let h = nr(e, l);
|
|
3754
3756
|
if (!h)
|
|
3755
3757
|
h = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
3756
3758
|
else if (typeof h != "string")
|
|
@@ -3761,7 +3763,7 @@ const _e = (e, t) => {
|
|
|
3761
3763
|
return h;
|
|
3762
3764
|
let c = h;
|
|
3763
3765
|
try {
|
|
3764
|
-
c =
|
|
3766
|
+
c = _i(h, l).format(s);
|
|
3765
3767
|
} catch (f) {
|
|
3766
3768
|
f instanceof Error && console.warn(
|
|
3767
3769
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3769,23 +3771,23 @@ const _e = (e, t) => {
|
|
|
3769
3771
|
);
|
|
3770
3772
|
}
|
|
3771
3773
|
return c;
|
|
3772
|
-
},
|
|
3773
|
-
me([ee], () => Ei);
|
|
3774
|
+
}, xi = (e, t) => vi(t).format(e), Ti = (e, t) => yi(t).format(e), Bi = (e, t) => gi(t).format(e), wi = (e, t = ie()) => nr(e, t), Hi = me([ee, de], () => Ei);
|
|
3774
3775
|
me([ee], () => xi);
|
|
3775
3776
|
me([ee], () => Ti);
|
|
3776
|
-
me([ee
|
|
3777
|
-
|
|
3777
|
+
me([ee], () => Bi);
|
|
3778
|
+
me([ee, de], () => wi);
|
|
3779
|
+
function Ci({ withLocale: e, translations: t }) {
|
|
3778
3780
|
ee.subscribe((r) => {
|
|
3779
3781
|
r == null && (de.set(t), ee.set(e));
|
|
3780
3782
|
});
|
|
3781
3783
|
}
|
|
3782
|
-
function
|
|
3783
|
-
|
|
3784
|
+
function St(e, t) {
|
|
3785
|
+
or(e, t);
|
|
3784
3786
|
}
|
|
3785
|
-
function
|
|
3787
|
+
function Si(e) {
|
|
3786
3788
|
ee.set(e);
|
|
3787
3789
|
}
|
|
3788
|
-
const
|
|
3790
|
+
const Mt = {
|
|
3789
3791
|
en: {
|
|
3790
3792
|
scoreCriteriaType: {
|
|
3791
3793
|
stake: "The score criteria for this tournament is <b>Turnover</b>. For each X generated (X= amount wagered in player currency or equivalent in base currency) player will get 1 point. The player who will have the largest turnover will have the highest score and rank.",
|
|
@@ -4032,11 +4034,11 @@ const Ct = {
|
|
|
4032
4034
|
YER: "﷼",
|
|
4033
4035
|
ZAR: "R",
|
|
4034
4036
|
ZWD: "Z$"
|
|
4035
|
-
},
|
|
4036
|
-
function
|
|
4037
|
-
|
|
4037
|
+
}, Mi = "data:image/svg+xml,%3csvg%20width='35'%20height='25'%20viewBox='0%200%2025%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_2591_521)'%3e%3cpath%20d='M22.3588%2020.1363C22.3601%2020.7949%2022.1782%2021.4408%2021.8334%2022.0019C21.6456%2022.3247%2021.4036%2022.6127%2021.1179%2022.8533C20.4473%2023.4391%2019.5846%2023.7574%2018.6942%2023.7474C17.8037%2023.7373%2016.9482%2023.3997%2016.2909%2022.7989C16.0353%2022.567%2015.8156%2022.2984%2015.6389%2022.0019C15.3424%2021.5116%2015.1664%2020.958%2015.1255%2020.3865C15.0845%2019.815%2015.1799%2019.2419%2015.4034%2018.7144C15.6399%2018.1566%2016.0124%2017.667%2016.487%2017.2905C16.9617%2016.9139%2017.5234%2016.6623%2018.1204%2016.5589C18.3103%2016.5455%2018.5009%2016.5455%2018.6908%2016.5589C19.6516%2016.5589%2020.573%2016.9406%2021.2524%2017.62C21.9318%2018.2994%2022.3135%2019.2208%2022.3135%2020.1816L22.3588%2020.1363Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17.3242%2020.1371L18.2299%2021.0428L20.1591%2019.2314'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.278%206.46076C21.2037%204.5943%2019.6194%203.073%2017.711%202.0753C15.8025%201.0776%2013.6493%200.644982%2011.5036%200.828135C9.35785%201.01129%207.30885%201.8026%205.59709%203.10931C3.88533%204.41603%202.5817%206.1839%201.83935%208.20542C1.09701%2010.2269%200.9467%2012.4182%201.40598%2014.5222C1.86526%2016.6261%202.91505%2018.5555%204.43229%2020.0838C5.94953%2021.6121%207.87136%2022.6759%209.97194%2023.1504C12.0725%2023.6249%2014.2648%2023.4903%2016.2917%2022.7627C16.0361%2022.5307%2015.8163%2022.2621%2015.6396%2021.9657C15.3432%2021.4754%2015.1671%2020.9217%2015.1262%2020.3502C15.0853%2019.7788%2015.1806%2019.2057%2015.4041%2018.6781C14.4907%2019.0911%2013.4995%2019.3042%2012.497%2019.3031C11.2245%2019.3008%209.97506%2018.9635%208.87436%2018.325C7.77533%2017.6908%206.86538%2016.7747%206.23875%2015.6714V15.6714C5.33468%2014.0218%205.11294%2012.0836%205.62119%2010.2725C6.12945%208.46132%207.32717%206.92144%208.9575%205.98306C10.5878%205.04467%2012.521%204.78249%2014.3424%205.25274C16.1637%205.72298%2017.7284%206.88816%2018.7006%208.4985C18.7123%208.52746%2018.7275%208.55493%2018.746%208.58009C19.3629%209.66322%2019.6875%2010.8882%2019.6875%2012.1347C19.6875%2013.3813%2019.3629%2014.6064%2018.746%2015.6895C18.5748%2015.9855%2018.384%2016.2699%2018.1753%2016.5408C18.3652%2016.5273%2018.556%2016.5273%2018.746%2016.5408C19.3961%2016.5406%2020.0342%2016.7154%2020.5936%2017.0469C21.1529%2017.3783%2021.6128%2017.8543%2021.9249%2018.4246C23.1544%2016.5691%2023.8097%2014.3923%2023.8087%2012.1665C23.8164%2010.1621%2023.2878%208.19215%2022.278%206.46076V6.46076Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4785%200.819336V4.94915'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M18.1391%202.32227L16.0742%205.89962'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2866%206.46094L18.7002%208.52584'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.6875%2012.1035L23.7992%2012.1216'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22.2775%2017.7729L18.7363%2015.708'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.4966%2019.3398L12.4785%2023.4153'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M8.883%2018.3613L6.82715%2021.8843'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.24745%2015.708L2.69727%2017.7276'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.30577%2012.0946L1.20312%2012.0674'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.30214%208.49903L2.75195%206.41602'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.90918%202.29492L8.94692%205.89039'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M9.7086%2010.4202H8.7206L7.74805%2011.0146V11.9254L8.61254%2011.4082H8.6357V14.3722H9.7086V10.4202Z'%20fill='white'/%3e%3cpath%20d='M11.7885%2014.4803C12.8633%2014.4822%2013.531%2013.7123%2013.5329%2012.4039C13.5348%2011.1033%2012.8633%2010.3662%2011.7885%2010.3662C10.7117%2010.3662%2010.0479%2011.0995%2010.044%2012.4039C10.0402%2013.7065%2010.7117%2014.4783%2011.7885%2014.4803ZM11.7885%2013.6081C11.418%2013.6081%2011.1517%2013.2356%2011.1555%2012.4039C11.1594%2011.5916%2011.418%2011.2307%2011.7885%2011.2307C12.159%2011.2307%2012.4195%2011.5916%2012.4214%2012.4039C12.4233%2013.2356%2012.159%2013.6081%2011.7885%2013.6081Z'%20fill='white'/%3e%3cpath%20d='M15.305%2014.4803C16.3798%2014.4822%2017.0475%2013.7123%2017.0494%2012.4039C17.0513%2011.1033%2016.3798%2010.3662%2015.305%2010.3662C14.2282%2010.3662%2013.5644%2011.0995%2013.5605%2012.4039C13.5567%2013.7065%2014.2282%2014.4783%2015.305%2014.4803ZM15.305%2013.6081C14.9345%2013.6081%2014.6682%2013.2356%2014.672%2012.4039C14.6759%2011.5916%2014.9345%2011.2307%2015.305%2011.2307C15.6755%2011.2307%2015.936%2011.5916%2015.9379%2012.4039C15.9398%2013.2356%2015.6755%2013.6081%2015.305%2013.6081Z'%20fill='white'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_2591_521'%3e%3crect%20width='24'%20height='24.2989'%20fill='white'%20transform='translate(0.478516%200.139648)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e", Ri = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.6712%2020.9658H5.22363V23.2166H19.6712V20.9658Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.9074%2014.8942C16.0065%2013.9267%2019.3847%2011.229%2019.3847%204.9113C19.3847%203.38619%2019.1879%202.20546%2018.7246%201.30762H6.03995C5.58078%202.20546%205.37988%203.38619%205.37988%204.9113C5.37988%2011.0978%208.76219%2013.8611%2010.8572%2014.8696V18.6906H6.40482V20.9414H18.4868V18.6906H13.9074V14.8942Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.41677%203.39453H0.841439C0.841439%203.39453%20-0.343394%209.90085%206.77789%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.499%203.39453H24.0743C24.0743%203.39453%2025.2592%209.90085%2018.1338%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.3862%203.97656L13.2718%206.31343L15.7685%206.43642L13.8211%208.00253L14.4771%2010.4132L12.3862%209.04387L10.2953%2010.4132L10.9472%208.00253L9.00391%206.43642L11.4966%206.31343L12.3862%203.97656Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", hr = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.5%2013.7502C9.5%2014.7202%2010.25%2015.5002%2011.17%2015.5002H13.05C13.85%2015.5002%2014.5%2014.8202%2014.5%2013.9702C14.5%2013.0602%2014.1%2012.7302%2013.51%2012.5202L10.5%2011.4702C9.91%2011.2602%209.51001%2010.9402%209.51001%2010.0202C9.51001%209.18023%2010.16%208.49023%2010.96%208.49023H12.84C13.76%208.49023%2014.51%209.27023%2014.51%2010.2402'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12%207.5V16.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%2012C22%2017.52%2017.52%2022%2012%2022C6.48%2022%202%2017.52%202%2012C2%206.48%206.48%202%2012%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%206V2H18'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17%207L22%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", ki = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M22%2012C22%2017.52%2017.52%2022%2012%2022C6.48%2022%202%2017.52%202%2012C2%206.48%206.48%202%2012%202C17.52%202%2022%206.48%2022%2012Z'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15.7099%2015.1798L12.6099%2013.3298C12.0699%2013.0098%2011.6299%2012.2398%2011.6299%2011.6098V7.50977'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Ni = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2019.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%2012.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11%205.5H21'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%205.5L4%206.5L7%203.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2012.5L4%2013.5L7%2010.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M3%2019.5L4%2020.5L7%2017.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
|
|
4038
|
+
function Ai(e) {
|
|
4039
|
+
yr(e, "svelte-1aour49", "*,*::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:#B5B5B5}.casino-tournaments-thumbnail-rule .RulesRow{padding:10px;display:flex;border-bottom:1px solid #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 .RuleIcon{width:38px;height:30px}");
|
|
4038
4040
|
}
|
|
4039
|
-
function
|
|
4041
|
+
function Rt(e) {
|
|
4040
4042
|
let t, r = (
|
|
4041
4043
|
/*$_*/
|
|
4042
4044
|
e[13]("scoreCriteriaType.mostRounds") + ""
|
|
@@ -4058,7 +4060,7 @@ function St(e) {
|
|
|
4058
4060
|
}
|
|
4059
4061
|
};
|
|
4060
4062
|
}
|
|
4061
|
-
function
|
|
4063
|
+
function kt(e) {
|
|
4062
4064
|
let t, r = (
|
|
4063
4065
|
/*$_*/
|
|
4064
4066
|
e[13]("scoreCriteriaType.winStateRatio") + ""
|
|
@@ -4080,7 +4082,7 @@ function Mt(e) {
|
|
|
4080
4082
|
}
|
|
4081
4083
|
};
|
|
4082
4084
|
}
|
|
4083
|
-
function
|
|
4085
|
+
function Nt(e) {
|
|
4084
4086
|
let t, r = (
|
|
4085
4087
|
/*$_*/
|
|
4086
4088
|
e[13]("scoreCriteriaType.maxWinStateRatio") + ""
|
|
@@ -4102,7 +4104,7 @@ function Rt(e) {
|
|
|
4102
4104
|
}
|
|
4103
4105
|
};
|
|
4104
4106
|
}
|
|
4105
|
-
function
|
|
4107
|
+
function At(e) {
|
|
4106
4108
|
let t, r = (
|
|
4107
4109
|
/*$_*/
|
|
4108
4110
|
e[13]("scoreCriteriaType.stake") + ""
|
|
@@ -4124,17 +4126,17 @@ function kt(e) {
|
|
|
4124
4126
|
}
|
|
4125
4127
|
};
|
|
4126
4128
|
}
|
|
4127
|
-
function
|
|
4129
|
+
function Lt(e) {
|
|
4128
4130
|
let t, r, n;
|
|
4129
4131
|
function i(s, l) {
|
|
4130
4132
|
return (
|
|
4131
4133
|
/*noMinCasinoBet*/
|
|
4132
4134
|
s[8] && /*noMaxCasinoBet*/
|
|
4133
|
-
s[9] ?
|
|
4135
|
+
s[9] ? Ii : (
|
|
4134
4136
|
/*noMinCasinoBet*/
|
|
4135
|
-
s[8] ?
|
|
4137
|
+
s[8] ? Oi : (
|
|
4136
4138
|
/*noMaxCasinoBet*/
|
|
4137
|
-
s[9] ?
|
|
4139
|
+
s[9] ? Pi : Li
|
|
4138
4140
|
)
|
|
4139
4141
|
)
|
|
4140
4142
|
);
|
|
@@ -4142,7 +4144,7 @@ function Nt(e) {
|
|
|
4142
4144
|
let o = i(e), a = o(e);
|
|
4143
4145
|
return {
|
|
4144
4146
|
c() {
|
|
4145
|
-
t = x("div"), r = x("div"), r.innerHTML = `<img src="${
|
|
4147
|
+
t = x("div"), r = x("div"), r.innerHTML = `<img src="${hr}"/>`, n = O(), a.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
|
|
4146
4148
|
},
|
|
4147
4149
|
m(s, l) {
|
|
4148
4150
|
R(s, t, l), p(t, r), p(t, n), a.m(t, null);
|
|
@@ -4155,7 +4157,7 @@ function Nt(e) {
|
|
|
4155
4157
|
}
|
|
4156
4158
|
};
|
|
4157
4159
|
}
|
|
4158
|
-
function
|
|
4160
|
+
function Li(e) {
|
|
4159
4161
|
let t, r = (
|
|
4160
4162
|
/*$_*/
|
|
4161
4163
|
e[13]("productMinMaxBet", {
|
|
@@ -4227,7 +4229,7 @@ function Ai(e) {
|
|
|
4227
4229
|
}
|
|
4228
4230
|
};
|
|
4229
4231
|
}
|
|
4230
|
-
function
|
|
4232
|
+
function Pi(e) {
|
|
4231
4233
|
let t, r = (
|
|
4232
4234
|
/*$_*/
|
|
4233
4235
|
e[13]("productMinBet", {
|
|
@@ -4281,7 +4283,7 @@ function Li(e) {
|
|
|
4281
4283
|
}
|
|
4282
4284
|
};
|
|
4283
4285
|
}
|
|
4284
|
-
function
|
|
4286
|
+
function Oi(e) {
|
|
4285
4287
|
let t, r = (
|
|
4286
4288
|
/*$_*/
|
|
4287
4289
|
e[13]("productMaxBet", {
|
|
@@ -4335,7 +4337,7 @@ function Pi(e) {
|
|
|
4335
4337
|
}
|
|
4336
4338
|
};
|
|
4337
4339
|
}
|
|
4338
|
-
function
|
|
4340
|
+
function Ii(e) {
|
|
4339
4341
|
let t, r = (
|
|
4340
4342
|
/*$_*/
|
|
4341
4343
|
e[13]("productNoLimitsBet", {
|
|
@@ -4367,17 +4369,17 @@ function Oi(e) {
|
|
|
4367
4369
|
}
|
|
4368
4370
|
};
|
|
4369
4371
|
}
|
|
4370
|
-
function
|
|
4372
|
+
function Pt(e) {
|
|
4371
4373
|
let t, r, n;
|
|
4372
4374
|
function i(s, l) {
|
|
4373
4375
|
return (
|
|
4374
4376
|
/*noMinSportsBet*/
|
|
4375
4377
|
s[10] && /*noMaxSportsBet*/
|
|
4376
|
-
s[11] ?
|
|
4378
|
+
s[11] ? Gi : (
|
|
4377
4379
|
/*noMinSportsBet*/
|
|
4378
|
-
s[10] ?
|
|
4380
|
+
s[10] ? Ui : (
|
|
4379
4381
|
/*noMaxSportsBet*/
|
|
4380
|
-
s[11] ?
|
|
4382
|
+
s[11] ? Di : $i
|
|
4381
4383
|
)
|
|
4382
4384
|
)
|
|
4383
4385
|
);
|
|
@@ -4385,7 +4387,7 @@ function At(e) {
|
|
|
4385
4387
|
let o = i(e), a = o(e);
|
|
4386
4388
|
return {
|
|
4387
4389
|
c() {
|
|
4388
|
-
t = x("div"), r = x("div"), r.innerHTML = `<img src="${
|
|
4390
|
+
t = x("div"), r = x("div"), r.innerHTML = `<img src="${hr}"/>`, n = O(), a.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
|
|
4389
4391
|
},
|
|
4390
4392
|
m(s, l) {
|
|
4391
4393
|
R(s, t, l), p(t, r), p(t, n), a.m(t, null);
|
|
@@ -4398,7 +4400,7 @@ function At(e) {
|
|
|
4398
4400
|
}
|
|
4399
4401
|
};
|
|
4400
4402
|
}
|
|
4401
|
-
function
|
|
4403
|
+
function $i(e) {
|
|
4402
4404
|
let t, r = (
|
|
4403
4405
|
/*$_*/
|
|
4404
4406
|
e[13]("productMinMaxBet", {
|
|
@@ -4470,7 +4472,7 @@ function Ii(e) {
|
|
|
4470
4472
|
}
|
|
4471
4473
|
};
|
|
4472
4474
|
}
|
|
4473
|
-
function
|
|
4475
|
+
function Di(e) {
|
|
4474
4476
|
let t, r = (
|
|
4475
4477
|
/*$_*/
|
|
4476
4478
|
e[13]("productMinBet", {
|
|
@@ -4524,7 +4526,7 @@ function $i(e) {
|
|
|
4524
4526
|
}
|
|
4525
4527
|
};
|
|
4526
4528
|
}
|
|
4527
|
-
function
|
|
4529
|
+
function Ui(e) {
|
|
4528
4530
|
let t, r = (
|
|
4529
4531
|
/*$_*/
|
|
4530
4532
|
e[13]("productMaxBet", {
|
|
@@ -4578,7 +4580,7 @@ function Di(e) {
|
|
|
4578
4580
|
}
|
|
4579
4581
|
};
|
|
4580
4582
|
}
|
|
4581
|
-
function
|
|
4583
|
+
function Gi(e) {
|
|
4582
4584
|
let t, r = (
|
|
4583
4585
|
/*$_*/
|
|
4584
4586
|
e[13]("productNoLimitsBet", {
|
|
@@ -4610,7 +4612,7 @@ function Ui(e) {
|
|
|
4610
4612
|
}
|
|
4611
4613
|
};
|
|
4612
4614
|
}
|
|
4613
|
-
function
|
|
4615
|
+
function Fi(e) {
|
|
4614
4616
|
let t, r, n, i, o, a, s, l, u, h, c, f, g, y = (
|
|
4615
4617
|
/*$_*/
|
|
4616
4618
|
e[13]("miniBetCount", {
|
|
@@ -4639,41 +4641,41 @@ function Gi(e) {
|
|
|
4639
4641
|
/*tcurl*/
|
|
4640
4642
|
e[4]
|
|
4641
4643
|
) } }) + ""
|
|
4642
|
-
), Te, d, P, W,
|
|
4644
|
+
), Te, d, P, W, ut, $ = (
|
|
4643
4645
|
/*scorecriterial*/
|
|
4644
|
-
e[0] == "BetCount" &&
|
|
4646
|
+
e[0] == "BetCount" && Rt(e)
|
|
4645
4647
|
), D = (
|
|
4646
4648
|
/*scorecriterial*/
|
|
4647
|
-
e[0] == "WinStakeRatio" &&
|
|
4649
|
+
e[0] == "WinStakeRatio" && kt(e)
|
|
4648
4650
|
), U = (
|
|
4649
4651
|
/*scorecriterial*/
|
|
4650
|
-
e[0] == "MaxWinStakeRatio" &&
|
|
4652
|
+
e[0] == "MaxWinStakeRatio" && Nt(e)
|
|
4651
4653
|
), G = (
|
|
4652
4654
|
/*scorecriterial*/
|
|
4653
|
-
e[0] == "Stake" &&
|
|
4655
|
+
e[0] == "Stake" && At(e)
|
|
4654
4656
|
), F = (
|
|
4655
4657
|
/*casino*/
|
|
4656
|
-
e[6] &&
|
|
4658
|
+
e[6] && Lt(e)
|
|
4657
4659
|
), j = (
|
|
4658
4660
|
/*sports*/
|
|
4659
|
-
e[7] &&
|
|
4661
|
+
e[7] && Pt(e)
|
|
4660
4662
|
);
|
|
4661
4663
|
return {
|
|
4662
4664
|
c() {
|
|
4663
|
-
t = x("div"), r = x("div"), n = x("div"), n.innerHTML = `<img src="${
|
|
4665
|
+
t = x("div"), r = x("div"), n = x("div"), n.innerHTML = `<img src="${Ri}"/>`, i = O(), o = x("div"), $ && $.c(), a = O(), D && D.c(), s = O(), U && U.c(), l = O(), G && G.c(), u = O(), h = x("div"), c = x("div"), c.innerHTML = `<img src="${Mi}"/>`, f = O(), g = x("div"), T = X(y), w = O(), C = x("div"), k = x("div"), k.innerHTML = `<img src="${ki}"/>`, S = O(), A = x("div"), J = X(L), te = O(), K = x("div"), re = x("div"), re.innerHTML = `<img src="${Ni}"/>`, xe = O(), q = x("div"), Te = O(), F && F.c(), d = O(), P = x("span"), ut = O(), j && j.c(), m(n, "class", "RuleIcon"), m(n, "part", "RuleIcon"), m(o, "class", "RuleTxt"), m(o, "part", "RuleTxt"), m(r, "class", "RulesRow"), m(r, "part", "rule"), m(c, "class", "RuleIcon"), m(c, "part", "RuleIcon"), m(g, "class", "RuleTxt"), m(g, "part", "RuleTxt"), m(h, "class", "RulesRow"), m(h, "part", "rule"), m(k, "class", "RuleIcon"), m(k, "part", "RuleIcon"), m(A, "class", "RuleTxt"), m(A, "part", "RuleTxt"), m(C, "class", "RulesRow"), m(C, "part", "rule"), m(re, "class", "RuleIcon"), m(re, "part", "RuleIcon"), m(q, "class", "RuleTxt"), m(q, "part", "RuleTxt"), m(K, "class", "RulesRow"), m(K, "part", "rule"), m(P, "type", "hidden"), m(P, "href", W = { tcurl: (
|
|
4664
4666
|
/*tcurl*/
|
|
4665
4667
|
e[4]
|
|
4666
4668
|
) }), m(t, "class", "casino-tournaments-thumbnail-rule"), m(t, "part", "casino-tournaments-thumbnail-rule");
|
|
4667
4669
|
},
|
|
4668
4670
|
m(E, V) {
|
|
4669
|
-
R(E, t, V), p(t, r), p(r, n), p(r, i), p(r, o), $ && $.m(o, null), p(o, a), D && D.m(o, null), p(o, s), U && U.m(o, null), p(o, l), G && G.m(o, null), p(t, u), p(t, h), p(h, c), p(h, f), p(h, g), p(g, T), p(t, w), p(t, C), p(C, k), p(C, S), p(C, A), p(A, J), p(t, te), p(t, K), p(K, re), p(K, xe), p(K, q), q.innerHTML = ne, p(t, Te), F && F.m(t, null), p(t, d), p(t, P), p(t,
|
|
4671
|
+
R(E, t, V), p(t, r), p(r, n), p(r, i), p(r, o), $ && $.m(o, null), p(o, a), D && D.m(o, null), p(o, s), U && U.m(o, null), p(o, l), G && G.m(o, null), p(t, u), p(t, h), p(h, c), p(h, f), p(h, g), p(g, T), p(t, w), p(t, C), p(C, k), p(C, S), p(C, A), p(A, J), p(t, te), p(t, K), p(K, re), p(K, xe), p(K, q), q.innerHTML = ne, p(t, Te), F && F.m(t, null), p(t, d), p(t, P), p(t, ut), j && j.m(t, null), e[20](t);
|
|
4670
4672
|
},
|
|
4671
4673
|
p(E, [V]) {
|
|
4672
4674
|
/*scorecriterial*/
|
|
4673
|
-
E[0] == "BetCount" ? $ ? $.p(E, V) : ($ =
|
|
4674
|
-
E[0] == "WinStakeRatio" ? D ? D.p(E, V) : (D =
|
|
4675
|
-
E[0] == "MaxWinStakeRatio" ? U ? U.p(E, V) : (U =
|
|
4676
|
-
E[0] == "Stake" ? G ? G.p(E, V) : (G =
|
|
4675
|
+
E[0] == "BetCount" ? $ ? $.p(E, V) : ($ = Rt(E), $.c(), $.m(o, a)) : $ && ($.d(1), $ = null), /*scorecriterial*/
|
|
4676
|
+
E[0] == "WinStakeRatio" ? D ? D.p(E, V) : (D = kt(E), D.c(), D.m(o, s)) : D && (D.d(1), D = null), /*scorecriterial*/
|
|
4677
|
+
E[0] == "MaxWinStakeRatio" ? U ? U.p(E, V) : (U = Nt(E), U.c(), U.m(o, l)) : U && (U.d(1), U = null), /*scorecriterial*/
|
|
4678
|
+
E[0] == "Stake" ? G ? G.p(E, V) : (G = At(E), G.c(), G.m(o, null)) : G && (G.d(1), G = null), V & /*$_, betcount*/
|
|
4677
4679
|
8194 && y !== (y = /*$_*/
|
|
4678
4680
|
E[13]("miniBetCount", {
|
|
4679
4681
|
values: { betCount: (
|
|
@@ -4699,12 +4701,12 @@ function Gi(e) {
|
|
|
4699
4701
|
/*tcurl*/
|
|
4700
4702
|
E[4]
|
|
4701
4703
|
) } }) + "") && (q.innerHTML = ne), /*casino*/
|
|
4702
|
-
E[6] ? F ? F.p(E, V) : (F =
|
|
4704
|
+
E[6] ? F ? F.p(E, V) : (F = Lt(E), F.c(), F.m(t, d)) : F && (F.d(1), F = null), V & /*tcurl*/
|
|
4703
4705
|
16 && W !== (W = { tcurl: (
|
|
4704
4706
|
/*tcurl*/
|
|
4705
4707
|
E[4]
|
|
4706
4708
|
) }) && m(P, "href", W), /*sports*/
|
|
4707
|
-
E[7] ? j ? j.p(E, V) : (j =
|
|
4709
|
+
E[7] ? j ? j.p(E, V) : (j = Pt(E), j.c(), j.m(t, null)) : j && (j.d(1), j = null);
|
|
4708
4710
|
},
|
|
4709
4711
|
i: Z,
|
|
4710
4712
|
o: Z,
|
|
@@ -4713,27 +4715,27 @@ function Gi(e) {
|
|
|
4713
4715
|
}
|
|
4714
4716
|
};
|
|
4715
4717
|
}
|
|
4716
|
-
function
|
|
4718
|
+
function ji(e, t, r) {
|
|
4717
4719
|
let n;
|
|
4718
|
-
|
|
4720
|
+
gr(e, Hi, (d) => r(13, n = d));
|
|
4719
4721
|
let { lang: i = "tr" } = t, { scorecriterial: o = "BetCount" } = t, { betcount: a } = t, { starttime: s } = t, { endtime: l } = t, { tcurl: u } = t, { products: h = "{}" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, y, T, w, C = !1, k = !1, S = !1, A = !1, L = "EUR";
|
|
4720
|
-
|
|
4722
|
+
Ci({ withLocale: "en", translations: {} });
|
|
4721
4723
|
const J = (d) => typeof d == "number" || Object.prototype.toString.call(d) === "[object Number]", te = () => {
|
|
4722
4724
|
fetch(g).then((P) => P.json()).then((P) => {
|
|
4723
4725
|
Object.keys(P).forEach((W) => {
|
|
4724
|
-
|
|
4726
|
+
St(W, P[W]);
|
|
4725
4727
|
});
|
|
4726
4728
|
}).catch((P) => {
|
|
4727
4729
|
console.log(P);
|
|
4728
4730
|
});
|
|
4729
4731
|
};
|
|
4730
|
-
Object.keys(
|
|
4731
|
-
|
|
4732
|
+
Object.keys(Mt).forEach((d) => {
|
|
4733
|
+
St(d, Mt[d]);
|
|
4732
4734
|
});
|
|
4733
4735
|
const K = (d) => {
|
|
4734
4736
|
d && (r(12, L = d.currency), d.casino ? (r(6, T = d.casino), r(8, C = !(T.hasOwnProperty("minbet") && T.minbet != 0)), r(9, k = !(T.hasOwnProperty("maxbet") && T.maxbet != 0))) : (r(8, C = !0), r(9, k = !0)), d.sports ? (r(7, w = d.sports), r(10, S = !(w.hasOwnProperty("minbet") && w.minbet != 0)), r(11, A = !(w.hasOwnProperty("maxbet") && w.maxbet != 0))) : (r(10, S = !0), r(11, A = !0)));
|
|
4735
4737
|
}, re = () => {
|
|
4736
|
-
|
|
4738
|
+
Si(i);
|
|
4737
4739
|
}, xe = () => {
|
|
4738
4740
|
let d = document.createElement("style");
|
|
4739
4741
|
d.innerHTML = c, y.appendChild(d);
|
|
@@ -4754,7 +4756,7 @@ function Fi(e, t, r) {
|
|
|
4754
4756
|
}, ne = (d) => {
|
|
4755
4757
|
d.data && d.data.type && d.type == "TournamentsProductsUpdate" && r(15, h = d.data.productInfo);
|
|
4756
4758
|
};
|
|
4757
|
-
|
|
4759
|
+
wr(() => (window.addEventListener("message", ne, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
|
|
4758
4760
|
window.removeEventListener("message", ne);
|
|
4759
4761
|
}));
|
|
4760
4762
|
function Te(d) {
|
|
@@ -4795,14 +4797,14 @@ function Fi(e, t, r) {
|
|
|
4795
4797
|
Te
|
|
4796
4798
|
];
|
|
4797
4799
|
}
|
|
4798
|
-
class
|
|
4800
|
+
class Vi extends Ir {
|
|
4799
4801
|
constructor(t) {
|
|
4800
|
-
super(),
|
|
4802
|
+
super(), Pr(
|
|
4801
4803
|
this,
|
|
4802
4804
|
t,
|
|
4805
|
+
ji,
|
|
4803
4806
|
Fi,
|
|
4804
|
-
|
|
4805
|
-
Pt,
|
|
4807
|
+
It,
|
|
4806
4808
|
{
|
|
4807
4809
|
lang: 16,
|
|
4808
4810
|
scorecriterial: 0,
|
|
@@ -4815,7 +4817,7 @@ class ji extends Pr {
|
|
|
4815
4817
|
clientstylingurl: 18,
|
|
4816
4818
|
translationurl: 19
|
|
4817
4819
|
},
|
|
4818
|
-
|
|
4820
|
+
Ai
|
|
4819
4821
|
);
|
|
4820
4822
|
}
|
|
4821
4823
|
get lang() {
|
|
@@ -4879,7 +4881,7 @@ class ji extends Pr {
|
|
|
4879
4881
|
this.$$set({ translationurl: t }), z();
|
|
4880
4882
|
}
|
|
4881
4883
|
}
|
|
4882
|
-
|
|
4884
|
+
Or(Vi, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, products: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4883
4885
|
export {
|
|
4884
|
-
|
|
4886
|
+
Vi as default
|
|
4885
4887
|
};
|