@everymatrix/casino-tournaments-thumbnail-rule 1.74.4 → 1.74.5
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-DTz4ID_G.js → CasinoTournamentsThumbnailRule-Bjc3QN57.js} +277 -275
- package/components/{CasinoTournamentsThumbnailRule-cIL6-Cle.js → CasinoTournamentsThumbnailRule-BvQN0qHb.js} +297 -295
- package/components/{CasinoTournamentsThumbnailRule-YJ9MxN8j.cjs → CasinoTournamentsThumbnailRule-D0g6mufo.cjs} +10 -10
- 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
|
@@ -10,7 +10,7 @@ var Pe = (e, t, n) => t in e ? dn(e, t, { enumerable: !0, configurable: !0, writ
|
|
|
10
10
|
yn.call(t, n) && Pe(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
12
|
}, ht = (e, t) => pn(e, bn(t));
|
|
13
|
-
var
|
|
13
|
+
var M = (e, t, n) => (Pe(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
14
|
var ct = (e, t, n) => new Promise((r, i) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
@@ -18,16 +18,16 @@ var ct = (e, t, n) => new Promise((r, i) => {
|
|
|
18
18
|
} catch (a) {
|
|
19
19
|
i(a);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, u = (h) => {
|
|
22
22
|
try {
|
|
23
23
|
l(n.throw(h));
|
|
24
24
|
} catch (a) {
|
|
25
25
|
i(a);
|
|
26
26
|
}
|
|
27
|
-
}, l = (h) => h.done ? r(h.value) : Promise.resolve(h.value).then(s,
|
|
27
|
+
}, l = (h) => h.done ? r(h.value) : Promise.resolve(h.value).then(s, u);
|
|
28
28
|
l((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function Z() {
|
|
31
31
|
}
|
|
32
32
|
function Ut(e) {
|
|
33
33
|
return e();
|
|
@@ -51,7 +51,7 @@ function Dt(e, ...t) {
|
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const r of t)
|
|
53
53
|
r(void 0);
|
|
54
|
-
return
|
|
54
|
+
return Z;
|
|
55
55
|
}
|
|
56
56
|
const n = e.subscribe(...t);
|
|
57
57
|
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
@@ -86,10 +86,10 @@ function _n(e, t) {
|
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function q(e, t, n) {
|
|
90
90
|
e.insertBefore(t, n || null);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function X(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
94
|
}
|
|
95
95
|
function Tn(e, t) {
|
|
@@ -102,14 +102,14 @@ function T(e) {
|
|
|
102
102
|
function wn(e) {
|
|
103
103
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function J(e) {
|
|
106
106
|
return document.createTextNode(e);
|
|
107
107
|
}
|
|
108
108
|
function L() {
|
|
109
|
-
return
|
|
109
|
+
return J(" ");
|
|
110
110
|
}
|
|
111
111
|
function He() {
|
|
112
|
-
return
|
|
112
|
+
return J("");
|
|
113
113
|
}
|
|
114
114
|
function p(e, t, n) {
|
|
115
115
|
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
@@ -127,15 +127,15 @@ class ue {
|
|
|
127
127
|
* @private
|
|
128
128
|
* @default false
|
|
129
129
|
*/
|
|
130
|
-
|
|
130
|
+
M(this, "is_svg", !1);
|
|
131
131
|
/** parent for creating node */
|
|
132
|
-
|
|
132
|
+
M(this, "e");
|
|
133
133
|
/** html tag nodes */
|
|
134
|
-
|
|
134
|
+
M(this, "n");
|
|
135
135
|
/** target */
|
|
136
|
-
|
|
136
|
+
M(this, "t");
|
|
137
137
|
/** anchor */
|
|
138
|
-
|
|
138
|
+
M(this, "a");
|
|
139
139
|
this.is_svg = t, this.e = this.n = null;
|
|
140
140
|
}
|
|
141
141
|
/**
|
|
@@ -176,7 +176,7 @@ class ue {
|
|
|
176
176
|
* @returns {void} */
|
|
177
177
|
i(t) {
|
|
178
178
|
for (let n = 0; n < this.n.length; n += 1)
|
|
179
|
-
|
|
179
|
+
q(this.t, this.n[n], t);
|
|
180
180
|
}
|
|
181
181
|
/**
|
|
182
182
|
* @param {string} html
|
|
@@ -188,7 +188,7 @@ class ue {
|
|
|
188
188
|
/**
|
|
189
189
|
* @returns {void} */
|
|
190
190
|
d() {
|
|
191
|
-
this.n.forEach(
|
|
191
|
+
this.n.forEach(X);
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
function Sn(e) {
|
|
@@ -281,7 +281,7 @@ function kn(e, t) {
|
|
|
281
281
|
function $n(e, t) {
|
|
282
282
|
e.$$.dirty[0] === -1 && (ne.push(e), An(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
283
283
|
}
|
|
284
|
-
function Un(e, t, n, r, i, s,
|
|
284
|
+
function Un(e, t, n, r, i, s, u = null, l = [-1]) {
|
|
285
285
|
const h = pe;
|
|
286
286
|
de(e);
|
|
287
287
|
const a = e.$$ = {
|
|
@@ -289,7 +289,7 @@ function Un(e, t, n, r, i, s, o = null, l = [-1]) {
|
|
|
289
289
|
ctx: [],
|
|
290
290
|
// state
|
|
291
291
|
props: s,
|
|
292
|
-
update:
|
|
292
|
+
update: Z,
|
|
293
293
|
not_equal: i,
|
|
294
294
|
bound: ft(),
|
|
295
295
|
// lifecycle
|
|
@@ -305,15 +305,15 @@ function Un(e, t, n, r, i, s, o = null, l = [-1]) {
|
|
|
305
305
|
skip_bound: !1,
|
|
306
306
|
root: t.target || h.$$.root
|
|
307
307
|
};
|
|
308
|
-
|
|
309
|
-
let
|
|
308
|
+
u && u(a.root);
|
|
309
|
+
let o = !1;
|
|
310
310
|
if (a.ctx = n ? n(e, t.props || {}, (c, f, ...m) => {
|
|
311
311
|
const g = m.length ? m[0] : f;
|
|
312
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] = g) && (!a.skip_bound && a.bound[c] && a.bound[c](g),
|
|
313
|
-
}) : [], a.update(),
|
|
312
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = g) && (!a.skip_bound && a.bound[c] && a.bound[c](g), o && $n(e, c)), f;
|
|
313
|
+
}) : [], a.update(), o = !0, ye(a.before_update), a.fragment = r ? r(a.ctx) : !1, t.target) {
|
|
314
314
|
if (t.hydrate) {
|
|
315
315
|
const c = Bn(t.target);
|
|
316
|
-
a.fragment && a.fragment.l(c), c.forEach(
|
|
316
|
+
a.fragment && a.fragment.l(c), c.forEach(X);
|
|
317
317
|
} else
|
|
318
318
|
a.fragment && a.fragment.c();
|
|
319
319
|
t.intro && Pn(e.$$.fragment), In(e, t.target, t.anchor), O();
|
|
@@ -325,23 +325,23 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
325
325
|
constructor(t, n, r) {
|
|
326
326
|
super();
|
|
327
327
|
/** The Svelte component constructor */
|
|
328
|
-
|
|
328
|
+
M(this, "$$ctor");
|
|
329
329
|
/** Slots */
|
|
330
|
-
|
|
330
|
+
M(this, "$$s");
|
|
331
331
|
/** The Svelte component instance */
|
|
332
|
-
|
|
332
|
+
M(this, "$$c");
|
|
333
333
|
/** Whether or not the custom element is connected */
|
|
334
|
-
|
|
334
|
+
M(this, "$$cn", !1);
|
|
335
335
|
/** Component props data */
|
|
336
|
-
|
|
336
|
+
M(this, "$$d", {});
|
|
337
337
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
338
|
-
|
|
338
|
+
M(this, "$$r", !1);
|
|
339
339
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
340
|
-
|
|
340
|
+
M(this, "$$p_d", {});
|
|
341
341
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
342
|
-
|
|
342
|
+
M(this, "$$l", {});
|
|
343
343
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
344
|
-
|
|
344
|
+
M(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
345
345
|
this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
|
|
346
346
|
}
|
|
347
347
|
addEventListener(t, n, r) {
|
|
@@ -362,20 +362,20 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
362
362
|
if (this.$$cn = !0, !this.$$c) {
|
|
363
363
|
let t = function(s) {
|
|
364
364
|
return () => {
|
|
365
|
-
let
|
|
365
|
+
let u;
|
|
366
366
|
return {
|
|
367
367
|
c: function() {
|
|
368
|
-
|
|
368
|
+
u = T("slot"), s !== "default" && p(u, "name", s);
|
|
369
369
|
},
|
|
370
370
|
/**
|
|
371
371
|
* @param {HTMLElement} target
|
|
372
372
|
* @param {HTMLElement} [anchor]
|
|
373
373
|
*/
|
|
374
|
-
m: function(a,
|
|
375
|
-
|
|
374
|
+
m: function(a, o) {
|
|
375
|
+
q(a, u, o);
|
|
376
376
|
},
|
|
377
377
|
d: function(a) {
|
|
378
|
-
a &&
|
|
378
|
+
a && X(u);
|
|
379
379
|
}
|
|
380
380
|
};
|
|
381
381
|
};
|
|
@@ -386,8 +386,8 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
386
386
|
for (const s of this.$$s)
|
|
387
387
|
s in r && (n[s] = [t(s)]);
|
|
388
388
|
for (const s of this.attributes) {
|
|
389
|
-
const
|
|
390
|
-
|
|
389
|
+
const u = this.$$g_p(s.name);
|
|
390
|
+
u in this.$$d || (this.$$d[u] = Ce(u, s.value, this.$$p_d, "toProp"));
|
|
391
391
|
}
|
|
392
392
|
for (const s in this.$$p_d)
|
|
393
393
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
@@ -404,21 +404,21 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
404
404
|
this.$$r = !0;
|
|
405
405
|
for (const s in this.$$p_d)
|
|
406
406
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
407
|
-
const
|
|
407
|
+
const u = Ce(
|
|
408
408
|
s,
|
|
409
409
|
this.$$d[s],
|
|
410
410
|
this.$$p_d,
|
|
411
411
|
"toAttribute"
|
|
412
412
|
);
|
|
413
|
-
|
|
413
|
+
u == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, u);
|
|
414
414
|
}
|
|
415
415
|
this.$$r = !1;
|
|
416
416
|
};
|
|
417
417
|
this.$$c.$$.after_update.push(i), i();
|
|
418
418
|
for (const s in this.$$l)
|
|
419
|
-
for (const
|
|
420
|
-
const l = this.$$c.$on(s,
|
|
421
|
-
this.$$l_u.set(
|
|
419
|
+
for (const u of this.$$l[s]) {
|
|
420
|
+
const l = this.$$c.$on(s, u);
|
|
421
|
+
this.$$l_u.set(u, l);
|
|
422
422
|
}
|
|
423
423
|
this.$$l = {};
|
|
424
424
|
}
|
|
@@ -472,7 +472,7 @@ function Ce(e, t, n, r) {
|
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
474
|
function Gn(e, t, n, r, i, s) {
|
|
475
|
-
let
|
|
475
|
+
let u = class extends Ft {
|
|
476
476
|
constructor() {
|
|
477
477
|
super(e, n, i), this.$$p_d = t;
|
|
478
478
|
}
|
|
@@ -483,7 +483,7 @@ function Gn(e, t, n, r, i, s) {
|
|
|
483
483
|
}
|
|
484
484
|
};
|
|
485
485
|
return Object.keys(t).forEach((l) => {
|
|
486
|
-
Object.defineProperty(
|
|
486
|
+
Object.defineProperty(u.prototype, l, {
|
|
487
487
|
get() {
|
|
488
488
|
return this.$$c && l in this.$$c ? this.$$c[l] : this.$$d[l];
|
|
489
489
|
},
|
|
@@ -493,14 +493,14 @@ function Gn(e, t, n, r, i, s) {
|
|
|
493
493
|
}
|
|
494
494
|
});
|
|
495
495
|
}), r.forEach((l) => {
|
|
496
|
-
Object.defineProperty(
|
|
496
|
+
Object.defineProperty(u.prototype, l, {
|
|
497
497
|
get() {
|
|
498
498
|
var h;
|
|
499
499
|
return (h = this.$$c) == null ? void 0 : h[l];
|
|
500
500
|
}
|
|
501
501
|
});
|
|
502
502
|
}), e.element = /** @type {any} */
|
|
503
|
-
|
|
503
|
+
u, u;
|
|
504
504
|
}
|
|
505
505
|
class Dn {
|
|
506
506
|
constructor() {
|
|
@@ -511,7 +511,7 @@ class Dn {
|
|
|
511
511
|
*
|
|
512
512
|
* @type {any}
|
|
513
513
|
*/
|
|
514
|
-
|
|
514
|
+
M(this, "$$");
|
|
515
515
|
/**
|
|
516
516
|
* ### PRIVATE API
|
|
517
517
|
*
|
|
@@ -519,11 +519,11 @@ class Dn {
|
|
|
519
519
|
*
|
|
520
520
|
* @type {any}
|
|
521
521
|
*/
|
|
522
|
-
|
|
522
|
+
M(this, "$$set");
|
|
523
523
|
}
|
|
524
524
|
/** @returns {void} */
|
|
525
525
|
$destroy() {
|
|
526
|
-
kn(this, 1), this.$destroy =
|
|
526
|
+
kn(this, 1), this.$destroy = Z;
|
|
527
527
|
}
|
|
528
528
|
/**
|
|
529
529
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -533,7 +533,7 @@ class Dn {
|
|
|
533
533
|
*/
|
|
534
534
|
$on(t, n) {
|
|
535
535
|
if (!tt(n))
|
|
536
|
-
return
|
|
536
|
+
return Z;
|
|
537
537
|
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
538
538
|
return r.push(n), () => {
|
|
539
539
|
const i = r.indexOf(n);
|
|
@@ -556,7 +556,7 @@ function jn(e, t) {
|
|
|
556
556
|
subscribe: Me(e, t).subscribe
|
|
557
557
|
};
|
|
558
558
|
}
|
|
559
|
-
function Me(e, t =
|
|
559
|
+
function Me(e, t = Z) {
|
|
560
560
|
let n;
|
|
561
561
|
const r = /* @__PURE__ */ new Set();
|
|
562
562
|
function i(l) {
|
|
@@ -574,37 +574,37 @@ function Me(e, t = j) {
|
|
|
574
574
|
function s(l) {
|
|
575
575
|
i(l(e));
|
|
576
576
|
}
|
|
577
|
-
function
|
|
577
|
+
function u(l, h = Z) {
|
|
578
578
|
const a = [l, h];
|
|
579
|
-
return r.add(a), r.size === 1 && (n = t(i, s) ||
|
|
579
|
+
return r.add(a), r.size === 1 && (n = t(i, s) || Z), l(e), () => {
|
|
580
580
|
r.delete(a), r.size === 0 && n && (n(), n = null);
|
|
581
581
|
};
|
|
582
582
|
}
|
|
583
|
-
return { set: i, update: s, subscribe:
|
|
583
|
+
return { set: i, update: s, subscribe: u };
|
|
584
584
|
}
|
|
585
585
|
function le(e, t, n) {
|
|
586
586
|
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
587
587
|
if (!i.every(Boolean))
|
|
588
588
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
589
589
|
const s = t.length < 2;
|
|
590
|
-
return jn(n, (
|
|
590
|
+
return jn(n, (u, l) => {
|
|
591
591
|
let h = !1;
|
|
592
592
|
const a = [];
|
|
593
|
-
let
|
|
593
|
+
let o = 0, c = Z;
|
|
594
594
|
const f = () => {
|
|
595
|
-
if (
|
|
595
|
+
if (o)
|
|
596
596
|
return;
|
|
597
597
|
c();
|
|
598
|
-
const g = t(r ? a[0] : a,
|
|
599
|
-
s ?
|
|
598
|
+
const g = t(r ? a[0] : a, u, l);
|
|
599
|
+
s ? u(g) : c = tt(g) ? g : Z;
|
|
600
600
|
}, m = i.map(
|
|
601
601
|
(g, C) => Dt(
|
|
602
602
|
g,
|
|
603
603
|
(B) => {
|
|
604
|
-
a[C] = B,
|
|
604
|
+
a[C] = B, o &= ~(1 << C), h && f();
|
|
605
605
|
},
|
|
606
606
|
() => {
|
|
607
|
-
|
|
607
|
+
o |= 1 << C;
|
|
608
608
|
}
|
|
609
609
|
)
|
|
610
610
|
);
|
|
@@ -937,11 +937,11 @@ function yr(e) {
|
|
|
937
937
|
for (var t = e.split(gr).filter(function(f) {
|
|
938
938
|
return f.length > 0;
|
|
939
939
|
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
940
|
-
var s = i[r],
|
|
941
|
-
if (
|
|
940
|
+
var s = i[r], u = s.split("/");
|
|
941
|
+
if (u.length === 0)
|
|
942
942
|
throw new Error("Invalid number skeleton");
|
|
943
|
-
for (var l =
|
|
944
|
-
var c =
|
|
943
|
+
for (var l = u[0], h = u.slice(1), a = 0, o = h; a < o.length; a++) {
|
|
944
|
+
var c = o[a];
|
|
945
945
|
if (c.length === 0)
|
|
946
946
|
throw new Error("Invalid number skeleton");
|
|
947
947
|
}
|
|
@@ -1103,9 +1103,9 @@ function Cr(e) {
|
|
|
1103
1103
|
case "integer-width":
|
|
1104
1104
|
if (i.options.length > 1)
|
|
1105
1105
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1106
|
-
i.options[0].replace(xr, function(h, a,
|
|
1106
|
+
i.options[0].replace(xr, function(h, a, o, c, f, m) {
|
|
1107
1107
|
if (a)
|
|
1108
|
-
t.minimumIntegerDigits =
|
|
1108
|
+
t.minimumIntegerDigits = o.length;
|
|
1109
1109
|
else {
|
|
1110
1110
|
if (c && f)
|
|
1111
1111
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1123,8 +1123,8 @@ function Cr(e) {
|
|
|
1123
1123
|
if (gt.test(i.stem)) {
|
|
1124
1124
|
if (i.options.length > 1)
|
|
1125
1125
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1126
|
-
i.stem.replace(gt, function(h, a,
|
|
1127
|
-
return
|
|
1126
|
+
i.stem.replace(gt, function(h, a, o, c, f, m) {
|
|
1127
|
+
return o === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1128
1128
|
});
|
|
1129
1129
|
var s = i.options[0];
|
|
1130
1130
|
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), yt(s)));
|
|
@@ -1134,8 +1134,8 @@ function Cr(e) {
|
|
|
1134
1134
|
t = x(x({}, t), yt(i.stem));
|
|
1135
1135
|
continue;
|
|
1136
1136
|
}
|
|
1137
|
-
var
|
|
1138
|
-
|
|
1137
|
+
var u = nn(i.stem);
|
|
1138
|
+
u && (t = x(x({}, t), u));
|
|
1139
1139
|
var l = Er(i.stem);
|
|
1140
1140
|
l && (t = x(x({}, t), l));
|
|
1141
1141
|
}
|
|
@@ -2562,10 +2562,10 @@ function _r(e, t) {
|
|
|
2562
2562
|
if (i === "j") {
|
|
2563
2563
|
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2564
2564
|
s++, r++;
|
|
2565
|
-
var
|
|
2565
|
+
var u = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = Tr(t);
|
|
2566
2566
|
for ((a == "H" || a == "k") && (l = 0); l-- > 0; )
|
|
2567
2567
|
n += h;
|
|
2568
|
-
for (;
|
|
2568
|
+
for (; u-- > 0; )
|
|
2569
2569
|
n = a + n;
|
|
2570
2570
|
} else
|
|
2571
2571
|
i === "J" ? n += "H" : n += i;
|
|
@@ -2622,10 +2622,10 @@ var xt = Sr ? (
|
|
|
2622
2622
|
function() {
|
|
2623
2623
|
for (var t = [], n = 0; n < arguments.length; n++)
|
|
2624
2624
|
t[n] = arguments[n];
|
|
2625
|
-
for (var r = "", i = t.length, s = 0,
|
|
2626
|
-
if (
|
|
2627
|
-
throw RangeError(
|
|
2628
|
-
r +=
|
|
2625
|
+
for (var r = "", i = t.length, s = 0, u; i > s; ) {
|
|
2626
|
+
if (u = t[s++], u > 1114111)
|
|
2627
|
+
throw RangeError(u + " is not a valid code point");
|
|
2628
|
+
r += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
|
|
2629
2629
|
}
|
|
2630
2630
|
return r;
|
|
2631
2631
|
}
|
|
@@ -2635,8 +2635,8 @@ var xt = Sr ? (
|
|
|
2635
2635
|
// Ponyfill
|
|
2636
2636
|
function(t) {
|
|
2637
2637
|
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2638
|
-
var s = i[r],
|
|
2639
|
-
n[
|
|
2638
|
+
var s = i[r], u = s[0], l = s[1];
|
|
2639
|
+
n[u] = l;
|
|
2640
2640
|
}
|
|
2641
2641
|
return n;
|
|
2642
2642
|
}
|
|
@@ -2712,10 +2712,10 @@ var $r = (
|
|
|
2712
2712
|
for (var i = []; !this.isEOF(); ) {
|
|
2713
2713
|
var s = this.char();
|
|
2714
2714
|
if (s === 123) {
|
|
2715
|
-
var
|
|
2716
|
-
if (
|
|
2717
|
-
return
|
|
2718
|
-
i.push(
|
|
2715
|
+
var u = this.parseArgument(t, r);
|
|
2716
|
+
if (u.err)
|
|
2717
|
+
return u;
|
|
2718
|
+
i.push(u.val);
|
|
2719
2719
|
} else {
|
|
2720
2720
|
if (s === 125 && t > 0)
|
|
2721
2721
|
break;
|
|
@@ -2730,15 +2730,15 @@ var $r = (
|
|
|
2730
2730
|
break;
|
|
2731
2731
|
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
2732
2732
|
} else if (s === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
|
|
2733
|
-
var
|
|
2734
|
-
if (
|
|
2735
|
-
return
|
|
2736
|
-
i.push(
|
|
2733
|
+
var u = this.parseTag(t, n);
|
|
2734
|
+
if (u.err)
|
|
2735
|
+
return u;
|
|
2736
|
+
i.push(u.val);
|
|
2737
2737
|
} else {
|
|
2738
|
-
var
|
|
2739
|
-
if (
|
|
2740
|
-
return
|
|
2741
|
-
i.push(
|
|
2738
|
+
var u = this.parseLiteral(t, n);
|
|
2739
|
+
if (u.err)
|
|
2740
|
+
return u;
|
|
2741
|
+
i.push(u.val);
|
|
2742
2742
|
}
|
|
2743
2743
|
}
|
|
2744
2744
|
}
|
|
@@ -2760,7 +2760,7 @@ var $r = (
|
|
|
2760
2760
|
var s = this.parseMessage(t + 1, n, !0);
|
|
2761
2761
|
if (s.err)
|
|
2762
2762
|
return s;
|
|
2763
|
-
var
|
|
2763
|
+
var u = s.val, l = this.clonePosition();
|
|
2764
2764
|
if (this.bumpIf("</")) {
|
|
2765
2765
|
if (this.isEOF() || !Je(this.char()))
|
|
2766
2766
|
return this.error(y.INVALID_TAG, v(l, this.clonePosition()));
|
|
@@ -2769,7 +2769,7 @@ var $r = (
|
|
|
2769
2769
|
val: {
|
|
2770
2770
|
type: w.tag,
|
|
2771
2771
|
value: i,
|
|
2772
|
-
children:
|
|
2772
|
+
children: u,
|
|
2773
2773
|
location: v(r, this.clonePosition())
|
|
2774
2774
|
},
|
|
2775
2775
|
err: null
|
|
@@ -2790,9 +2790,9 @@ var $r = (
|
|
|
2790
2790
|
i += s;
|
|
2791
2791
|
continue;
|
|
2792
2792
|
}
|
|
2793
|
-
var
|
|
2794
|
-
if (
|
|
2795
|
-
i +=
|
|
2793
|
+
var u = this.tryParseUnquoted(t, n);
|
|
2794
|
+
if (u) {
|
|
2795
|
+
i += u;
|
|
2796
2796
|
continue;
|
|
2797
2797
|
}
|
|
2798
2798
|
var l = this.tryParseLeftAngleBracket();
|
|
@@ -2879,13 +2879,13 @@ var $r = (
|
|
|
2879
2879
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2880
2880
|
var t = this.clonePosition(), n = this.offset(), r = Qe(this.message, n), i = n + r.length;
|
|
2881
2881
|
this.bumpTo(i);
|
|
2882
|
-
var s = this.clonePosition(),
|
|
2883
|
-
return { value: r, location:
|
|
2882
|
+
var s = this.clonePosition(), u = v(t, s);
|
|
2883
|
+
return { value: r, location: u };
|
|
2884
2884
|
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
2885
|
-
var s,
|
|
2885
|
+
var s, u = this.clonePosition(), l = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2886
2886
|
switch (l) {
|
|
2887
2887
|
case "":
|
|
2888
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE, v(
|
|
2888
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, v(u, h));
|
|
2889
2889
|
case "number":
|
|
2890
2890
|
case "date":
|
|
2891
2891
|
case "time": {
|
|
@@ -2893,13 +2893,13 @@ var $r = (
|
|
|
2893
2893
|
var a = null;
|
|
2894
2894
|
if (this.bumpIf(",")) {
|
|
2895
2895
|
this.bumpSpace();
|
|
2896
|
-
var
|
|
2896
|
+
var o = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2897
2897
|
if (c.err)
|
|
2898
2898
|
return c;
|
|
2899
2899
|
var f = kr(c.val);
|
|
2900
2900
|
if (f.length === 0)
|
|
2901
2901
|
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
2902
|
-
var m = v(
|
|
2902
|
+
var m = v(o, this.clonePosition());
|
|
2903
2903
|
a = { style: f, styleLocation: m };
|
|
2904
2904
|
}
|
|
2905
2905
|
var g = this.tryParseArgumentClose(i);
|
|
@@ -2948,7 +2948,7 @@ var $r = (
|
|
|
2948
2948
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2949
2949
|
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, x({}, S)));
|
|
2950
2950
|
this.bumpSpace();
|
|
2951
|
-
var A = this.parseIdentifierIfPossible(),
|
|
2951
|
+
var A = this.parseIdentifierIfPossible(), R = 0;
|
|
2952
2952
|
if (l !== "select" && A.value === "offset") {
|
|
2953
2953
|
if (!this.bumpIf(":"))
|
|
2954
2954
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
@@ -2956,7 +2956,7 @@ var $r = (
|
|
|
2956
2956
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2957
2957
|
if (c.err)
|
|
2958
2958
|
return c;
|
|
2959
|
-
this.bumpSpace(), A = this.parseIdentifierIfPossible(),
|
|
2959
|
+
this.bumpSpace(), A = this.parseIdentifierIfPossible(), R = c.val;
|
|
2960
2960
|
}
|
|
2961
2961
|
var P = this.tryParsePluralOrSelectOptions(t, l, n, A);
|
|
2962
2962
|
if (P.err)
|
|
@@ -2964,13 +2964,13 @@ var $r = (
|
|
|
2964
2964
|
var g = this.tryParseArgumentClose(i);
|
|
2965
2965
|
if (g.err)
|
|
2966
2966
|
return g;
|
|
2967
|
-
var
|
|
2967
|
+
var W = v(i, this.clonePosition());
|
|
2968
2968
|
return l === "select" ? {
|
|
2969
2969
|
val: {
|
|
2970
2970
|
type: w.select,
|
|
2971
2971
|
value: r,
|
|
2972
2972
|
options: Et(P.val),
|
|
2973
|
-
location:
|
|
2973
|
+
location: W
|
|
2974
2974
|
},
|
|
2975
2975
|
err: null
|
|
2976
2976
|
} : {
|
|
@@ -2978,15 +2978,15 @@ var $r = (
|
|
|
2978
2978
|
type: w.plural,
|
|
2979
2979
|
value: r,
|
|
2980
2980
|
options: Et(P.val),
|
|
2981
|
-
offset:
|
|
2981
|
+
offset: R,
|
|
2982
2982
|
pluralType: l === "plural" ? "cardinal" : "ordinal",
|
|
2983
|
-
location:
|
|
2983
|
+
location: W
|
|
2984
2984
|
},
|
|
2985
2985
|
err: null
|
|
2986
2986
|
};
|
|
2987
2987
|
}
|
|
2988
2988
|
default:
|
|
2989
|
-
return this.error(y.INVALID_ARGUMENT_TYPE, v(
|
|
2989
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, v(u, h));
|
|
2990
2990
|
}
|
|
2991
2991
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2992
2992
|
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3042,20 +3042,20 @@ var $r = (
|
|
|
3042
3042
|
err: null
|
|
3043
3043
|
};
|
|
3044
3044
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3045
|
-
for (var s,
|
|
3045
|
+
for (var s, u = !1, l = [], h = /* @__PURE__ */ new Set(), a = i.value, o = i.location; ; ) {
|
|
3046
3046
|
if (a.length === 0) {
|
|
3047
3047
|
var c = this.clonePosition();
|
|
3048
3048
|
if (n !== "select" && this.bumpIf("=")) {
|
|
3049
3049
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3050
3050
|
if (f.err)
|
|
3051
3051
|
return f;
|
|
3052
|
-
|
|
3052
|
+
o = v(c, this.clonePosition()), a = this.message.slice(c.offset, this.offset());
|
|
3053
3053
|
} else
|
|
3054
3054
|
break;
|
|
3055
3055
|
}
|
|
3056
3056
|
if (h.has(a))
|
|
3057
|
-
return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,
|
|
3058
|
-
a === "other" && (
|
|
3057
|
+
return this.error(n === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, o);
|
|
3058
|
+
a === "other" && (u = !0), this.bumpSpace();
|
|
3059
3059
|
var m = this.clonePosition();
|
|
3060
3060
|
if (!this.bumpIf("{"))
|
|
3061
3061
|
return this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
@@ -3071,21 +3071,21 @@ var $r = (
|
|
|
3071
3071
|
value: g.val,
|
|
3072
3072
|
location: v(m, this.clonePosition())
|
|
3073
3073
|
}
|
|
3074
|
-
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value,
|
|
3074
|
+
]), h.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, o = s.location;
|
|
3075
3075
|
}
|
|
3076
|
-
return l.length === 0 ? this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !
|
|
3076
|
+
return l.length === 0 ? this.error(n === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
|
|
3077
3077
|
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3078
3078
|
var r = 1, i = this.clonePosition();
|
|
3079
3079
|
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3080
|
-
for (var s = !1,
|
|
3080
|
+
for (var s = !1, u = 0; !this.isEOF(); ) {
|
|
3081
3081
|
var l = this.char();
|
|
3082
3082
|
if (l >= 48 && l <= 57)
|
|
3083
|
-
s = !0,
|
|
3083
|
+
s = !0, u = u * 10 + (l - 48), this.bump();
|
|
3084
3084
|
else
|
|
3085
3085
|
break;
|
|
3086
3086
|
}
|
|
3087
3087
|
var h = v(i, this.clonePosition());
|
|
3088
|
-
return s ? (
|
|
3088
|
+
return s ? (u *= r, Nr(u) ? { val: u, err: null } : this.error(n, h)) : this.error(t, h);
|
|
3089
3089
|
}, e.prototype.offset = function() {
|
|
3090
3090
|
return this.position.offset;
|
|
3091
3091
|
}, e.prototype.isEOF = function() {
|
|
@@ -3240,7 +3240,7 @@ function zr(e) {
|
|
|
3240
3240
|
function Zr(e) {
|
|
3241
3241
|
return typeof e == "function";
|
|
3242
3242
|
}
|
|
3243
|
-
function _e(e, t, n, r, i, s,
|
|
3243
|
+
function _e(e, t, n, r, i, s, u) {
|
|
3244
3244
|
if (e.length === 1 && bt(e[0]))
|
|
3245
3245
|
return [
|
|
3246
3246
|
{
|
|
@@ -3249,90 +3249,90 @@ function _e(e, t, n, r, i, s, o) {
|
|
|
3249
3249
|
}
|
|
3250
3250
|
];
|
|
3251
3251
|
for (var l = [], h = 0, a = e; h < a.length; h++) {
|
|
3252
|
-
var
|
|
3253
|
-
if (bt(
|
|
3252
|
+
var o = a[h];
|
|
3253
|
+
if (bt(o)) {
|
|
3254
3254
|
l.push({
|
|
3255
3255
|
type: N.literal,
|
|
3256
|
-
value:
|
|
3256
|
+
value: o.value
|
|
3257
3257
|
});
|
|
3258
3258
|
continue;
|
|
3259
3259
|
}
|
|
3260
|
-
if (dr(
|
|
3260
|
+
if (dr(o)) {
|
|
3261
3261
|
typeof s == "number" && l.push({
|
|
3262
3262
|
type: N.literal,
|
|
3263
3263
|
value: n.getNumberFormat(t).format(s)
|
|
3264
3264
|
});
|
|
3265
3265
|
continue;
|
|
3266
3266
|
}
|
|
3267
|
-
var c =
|
|
3267
|
+
var c = o.value;
|
|
3268
3268
|
if (!(i && c in i))
|
|
3269
|
-
throw new Vr(c,
|
|
3269
|
+
throw new Vr(c, u);
|
|
3270
3270
|
var f = i[c];
|
|
3271
|
-
if (mr(
|
|
3271
|
+
if (mr(o)) {
|
|
3272
3272
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), l.push({
|
|
3273
3273
|
type: typeof f == "string" ? N.literal : N.object,
|
|
3274
3274
|
value: f
|
|
3275
3275
|
});
|
|
3276
3276
|
continue;
|
|
3277
3277
|
}
|
|
3278
|
-
if (Xt(
|
|
3279
|
-
var m = typeof
|
|
3278
|
+
if (Xt(o)) {
|
|
3279
|
+
var m = typeof o.style == "string" ? r.date[o.style] : Xe(o.style) ? o.style.parsedOptions : void 0;
|
|
3280
3280
|
l.push({
|
|
3281
3281
|
type: N.literal,
|
|
3282
3282
|
value: n.getDateTimeFormat(t, m).format(f)
|
|
3283
3283
|
});
|
|
3284
3284
|
continue;
|
|
3285
3285
|
}
|
|
3286
|
-
if (Wt(
|
|
3287
|
-
var m = typeof
|
|
3286
|
+
if (Wt(o)) {
|
|
3287
|
+
var m = typeof o.style == "string" ? r.time[o.style] : Xe(o.style) ? o.style.parsedOptions : r.time.medium;
|
|
3288
3288
|
l.push({
|
|
3289
3289
|
type: N.literal,
|
|
3290
3290
|
value: n.getDateTimeFormat(t, m).format(f)
|
|
3291
3291
|
});
|
|
3292
3292
|
continue;
|
|
3293
3293
|
}
|
|
3294
|
-
if (Zt(
|
|
3295
|
-
var m = typeof
|
|
3294
|
+
if (Zt(o)) {
|
|
3295
|
+
var m = typeof o.style == "string" ? r.number[o.style] : Yt(o.style) ? o.style.parsedOptions : void 0;
|
|
3296
3296
|
m && m.scale && (f = f * (m.scale || 1)), l.push({
|
|
3297
3297
|
type: N.literal,
|
|
3298
3298
|
value: n.getNumberFormat(t, m).format(f)
|
|
3299
3299
|
});
|
|
3300
3300
|
continue;
|
|
3301
3301
|
}
|
|
3302
|
-
if (Jt(
|
|
3303
|
-
var g =
|
|
3302
|
+
if (Jt(o)) {
|
|
3303
|
+
var g = o.children, C = o.value, B = i[C];
|
|
3304
3304
|
if (!Zr(B))
|
|
3305
|
-
throw new jr(C, "function",
|
|
3306
|
-
var _ = _e(g, t, n, r, i, s), H = B(_.map(function(
|
|
3307
|
-
return
|
|
3305
|
+
throw new jr(C, "function", u);
|
|
3306
|
+
var _ = _e(g, t, n, r, i, s), H = B(_.map(function(R) {
|
|
3307
|
+
return R.value;
|
|
3308
3308
|
}));
|
|
3309
|
-
Array.isArray(H) || (H = [H]), l.push.apply(l, H.map(function(
|
|
3309
|
+
Array.isArray(H) || (H = [H]), l.push.apply(l, H.map(function(R) {
|
|
3310
3310
|
return {
|
|
3311
|
-
type: typeof
|
|
3312
|
-
value:
|
|
3311
|
+
type: typeof R == "string" ? N.literal : N.object,
|
|
3312
|
+
value: R
|
|
3313
3313
|
};
|
|
3314
3314
|
}));
|
|
3315
3315
|
}
|
|
3316
|
-
if (qt(
|
|
3317
|
-
var S =
|
|
3316
|
+
if (qt(o)) {
|
|
3317
|
+
var S = o.options[f] || o.options.other;
|
|
3318
3318
|
if (!S)
|
|
3319
|
-
throw new _t(
|
|
3319
|
+
throw new _t(o.value, f, Object.keys(o.options), u);
|
|
3320
3320
|
l.push.apply(l, _e(S.value, t, n, r, i));
|
|
3321
3321
|
continue;
|
|
3322
3322
|
}
|
|
3323
|
-
if (Qt(
|
|
3324
|
-
var S =
|
|
3323
|
+
if (Qt(o)) {
|
|
3324
|
+
var S = o.options["=".concat(f)];
|
|
3325
3325
|
if (!S) {
|
|
3326
3326
|
if (!Intl.PluralRules)
|
|
3327
3327
|
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
3328
3328
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3329
|
-
`, ae.MISSING_INTL_API,
|
|
3330
|
-
var A = n.getPluralRules(t, { type:
|
|
3331
|
-
S =
|
|
3329
|
+
`, ae.MISSING_INTL_API, u);
|
|
3330
|
+
var A = n.getPluralRules(t, { type: o.pluralType }).select(f - (o.offset || 0));
|
|
3331
|
+
S = o.options[A] || o.options.other;
|
|
3332
3332
|
}
|
|
3333
3333
|
if (!S)
|
|
3334
|
-
throw new _t(
|
|
3335
|
-
l.push.apply(l, _e(S.value, t, n, r, i, f - (
|
|
3334
|
+
throw new _t(o.value, f, Object.keys(o.options), u);
|
|
3335
|
+
l.push.apply(l, _e(S.value, t, n, r, i, f - (o.offset || 0)));
|
|
3336
3336
|
continue;
|
|
3337
3337
|
}
|
|
3338
3338
|
}
|
|
@@ -3408,10 +3408,10 @@ var Qr = (
|
|
|
3408
3408
|
var a = s.formatToParts(h);
|
|
3409
3409
|
if (a.length === 1)
|
|
3410
3410
|
return a[0].value;
|
|
3411
|
-
var
|
|
3411
|
+
var o = a.reduce(function(c, f) {
|
|
3412
3412
|
return !c.length || f.type !== N.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3413
3413
|
}, []);
|
|
3414
|
-
return
|
|
3414
|
+
return o.length <= 1 ? o[0] || "" : o;
|
|
3415
3415
|
}, this.formatToParts = function(h) {
|
|
3416
3416
|
return _e(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3417
3417
|
}, this.resolvedOptions = function() {
|
|
@@ -3424,9 +3424,9 @@ var Qr = (
|
|
|
3424
3424
|
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3425
3425
|
if (this.message = t, !e.__parse)
|
|
3426
3426
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3427
|
-
var
|
|
3428
|
-
|
|
3429
|
-
var l = ar(
|
|
3427
|
+
var u = i || {};
|
|
3428
|
+
u.formatters;
|
|
3429
|
+
var l = ar(u, ["formatters"]);
|
|
3430
3430
|
this.ast = e.__parse(t, x(x({}, l), { locale: this.resolvedLocale }));
|
|
3431
3431
|
} else
|
|
3432
3432
|
this.ast = t;
|
|
@@ -3527,11 +3527,11 @@ function Jr(e, t) {
|
|
|
3527
3527
|
r = void 0;
|
|
3528
3528
|
return r;
|
|
3529
3529
|
}
|
|
3530
|
-
const
|
|
3530
|
+
const Q = {}, Yr = (e, t, n) => n && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = n), n), on = (e, t) => {
|
|
3531
3531
|
if (t == null)
|
|
3532
3532
|
return;
|
|
3533
|
-
if (t in
|
|
3534
|
-
return
|
|
3533
|
+
if (t in Q && e in Q[t])
|
|
3534
|
+
return Q[t][e];
|
|
3535
3535
|
const n = Le(t);
|
|
3536
3536
|
for (let r = 0; r < n.length; r++) {
|
|
3537
3537
|
const i = n[r], s = ei(i, e);
|
|
@@ -3564,7 +3564,7 @@ function ti(e) {
|
|
|
3564
3564
|
}
|
|
3565
3565
|
}
|
|
3566
3566
|
function ln(e, ...t) {
|
|
3567
|
-
delete
|
|
3567
|
+
delete Q[e], he.update((n) => (n[e] = sr.all([n[e] || {}, ...t]), n));
|
|
3568
3568
|
}
|
|
3569
3569
|
le(
|
|
3570
3570
|
[he],
|
|
@@ -3690,7 +3690,7 @@ const pi = (e) => {
|
|
|
3690
3690
|
});
|
|
3691
3691
|
}
|
|
3692
3692
|
return Be.set(e);
|
|
3693
|
-
},
|
|
3693
|
+
}, Y = di(mi({}, Be), {
|
|
3694
3694
|
set: pi
|
|
3695
3695
|
}), Oe = (e) => {
|
|
3696
3696
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -3771,29 +3771,29 @@ const ge = (e, t) => {
|
|
|
3771
3771
|
})
|
|
3772
3772
|
), Ti = (e, t = {}) => {
|
|
3773
3773
|
var n, r, i, s;
|
|
3774
|
-
let
|
|
3775
|
-
typeof e == "object" && (
|
|
3774
|
+
let u = t;
|
|
3775
|
+
typeof e == "object" && (u = e, e = u.id);
|
|
3776
3776
|
const {
|
|
3777
3777
|
values: l,
|
|
3778
3778
|
locale: h = K(),
|
|
3779
3779
|
default: a
|
|
3780
|
-
} =
|
|
3780
|
+
} = u;
|
|
3781
3781
|
if (h == null)
|
|
3782
3782
|
throw new Error(
|
|
3783
3783
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3784
3784
|
);
|
|
3785
|
-
let
|
|
3786
|
-
if (!
|
|
3787
|
-
|
|
3788
|
-
else if (typeof
|
|
3785
|
+
let o = on(e, h);
|
|
3786
|
+
if (!o)
|
|
3787
|
+
o = (s = (i = (r = (n = oe()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3788
|
+
else if (typeof o != "string")
|
|
3789
3789
|
return console.warn(
|
|
3790
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
3791
|
-
),
|
|
3790
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof o}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3791
|
+
), o;
|
|
3792
3792
|
if (!l)
|
|
3793
|
-
return
|
|
3794
|
-
let c =
|
|
3793
|
+
return o;
|
|
3794
|
+
let c = o;
|
|
3795
3795
|
try {
|
|
3796
|
-
c = _i(
|
|
3796
|
+
c = _i(o, h).format(l);
|
|
3797
3797
|
} catch (f) {
|
|
3798
3798
|
f instanceof Error && console.warn(
|
|
3799
3799
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3801,21 +3801,21 @@ const ge = (e, t) => {
|
|
|
3801
3801
|
);
|
|
3802
3802
|
}
|
|
3803
3803
|
return c;
|
|
3804
|
-
}, wi = (e, t) => Ci(t).format(e), Bi = (e, t) => Ei(t).format(e), Si = (e, t) => xi(t).format(e), Hi = (e, t = K()) => on(e, t), Mi = le([
|
|
3805
|
-
le([
|
|
3806
|
-
le([
|
|
3807
|
-
le([
|
|
3808
|
-
le([
|
|
3804
|
+
}, wi = (e, t) => Ci(t).format(e), Bi = (e, t) => Ei(t).format(e), Si = (e, t) => xi(t).format(e), Hi = (e, t = K()) => on(e, t), Mi = le([Y, he], () => Ti);
|
|
3805
|
+
le([Y], () => wi);
|
|
3806
|
+
le([Y], () => Bi);
|
|
3807
|
+
le([Y], () => Si);
|
|
3808
|
+
le([Y, he], () => Hi);
|
|
3809
3809
|
function Ri({ withLocale: e, translations: t }) {
|
|
3810
|
-
|
|
3811
|
-
n == null && (he.set(t),
|
|
3810
|
+
Y.subscribe((n) => {
|
|
3811
|
+
n == null && (he.set(t), Y.set(e));
|
|
3812
3812
|
});
|
|
3813
3813
|
}
|
|
3814
3814
|
function Ht(e, t) {
|
|
3815
3815
|
ln(e, t);
|
|
3816
3816
|
}
|
|
3817
3817
|
function Ai(e) {
|
|
3818
|
-
|
|
3818
|
+
Y.set(e);
|
|
3819
3819
|
}
|
|
3820
3820
|
const Mt = {
|
|
3821
3821
|
en: {
|
|
@@ -3945,37 +3945,39 @@ class Rt {
|
|
|
3945
3945
|
};
|
|
3946
3946
|
}
|
|
3947
3947
|
static generateCasinoRule(t, n, r = "EUR") {
|
|
3948
|
-
const i = ` ~ ${t("unlimited")}`, s = n.minStake ? `: ${n.minStake.amount[r]}` : i,
|
|
3949
|
-
return t("casinoRuleMinMaxBet", { values: { minBet: s, maxBet:
|
|
3948
|
+
const i = ` ~ ${t("unlimited")}`, s = n.minStake ? `: ${n.minStake.amount[r]}` : i, u = n.maxStake ? `: ${n.maxStake.amount[r]}` : i;
|
|
3949
|
+
return t("casinoRuleMinMaxBet", { values: { minBet: s, maxBet: u } });
|
|
3950
3950
|
}
|
|
3951
3951
|
static generateSportsRule(t, n, r = "EUR") {
|
|
3952
|
-
var
|
|
3953
|
-
const i = [], s = ` ~ ${t("unlimited")}`,
|
|
3954
|
-
i.push(t("sportsRuleMinMaxBet", { values: { sportMinBet:
|
|
3955
|
-
const h = n.
|
|
3956
|
-
h.
|
|
3957
|
-
const
|
|
3952
|
+
var P, W, F, d, j, V;
|
|
3953
|
+
const i = [], s = ` ~ ${t("unlimited")}`, u = n.minStake ? `: ${n.minStake.amount[r]}` : s, l = n.maxStake ? `: ${n.maxStake.amount[r]}` : s;
|
|
3954
|
+
i.push(t("sportsRuleMinMaxBet", { values: { sportMinBet: u, sportMaxBet: l } }));
|
|
3955
|
+
const h = n.config.liveMatch === "true", a = n.config.preLiveMatch === "true";
|
|
3956
|
+
h && a ? i.push(t("matchTypePreAndLive")) : h ? i.push(`${t("matchTypeLive")}`) : a && i.push(`${t("matchTyppePre")}`);
|
|
3957
|
+
const o = n.combination, c = [];
|
|
3958
|
+
o.single.isEligible === "true" && c.push(t("betTypeSingle"));
|
|
3959
|
+
const m = {
|
|
3958
3960
|
null: t("typeOfSelectionAny"),
|
|
3959
3961
|
true: t("bankerOnly"),
|
|
3960
3962
|
false: t("notBankerOnly")
|
|
3961
|
-
},
|
|
3963
|
+
}, g = {
|
|
3962
3964
|
unspecific: t("typeOfSelectionAny"),
|
|
3963
3965
|
all: t("betBuilderOnly"),
|
|
3964
3966
|
none: t("notBuilderOnly")
|
|
3965
3967
|
};
|
|
3966
|
-
let
|
|
3967
|
-
const
|
|
3968
|
-
|
|
3969
|
-
( ${t("typeOfSelection")}: ${
|
|
3968
|
+
let C = "", B = "";
|
|
3969
|
+
const _ = `${t("oddsPerSelection")}: ${n.config.minOdds || t("unlimited")} - ${n.config.maxOdds || t("unlimited")}`, H = o.system.isEligible === "true", S = o.multiple.isEligible === "true";
|
|
3970
|
+
H && (C = ` ${t("betTypeSystem")}
|
|
3971
|
+
( ${t("typeOfSelection")}: ${m[((P = n.combination.system.banker) == null ? void 0 : P.include) || "null"]},
|
|
3970
3972
|
${t("numberOfSelection")}:
|
|
3971
|
-
${((
|
|
3972
|
-
${
|
|
3973
|
-
( ${t("typeOfSelection")}: ${
|
|
3973
|
+
${((W = o.system.minSelection) == null ? void 0 : W.number) || t("unlimited")} - ${((F = o.system.maxSelection) == null ? void 0 : F.number) || t("unlimited")},
|
|
3974
|
+
${_} ) `), S && (B = ` ${t("betTypeMultiple")}
|
|
3975
|
+
( ${t("typeOfSelection")}: ${g[((d = n.combination.multiple.betBuilder) == null ? void 0 : d.mode) || "unspecific"]},
|
|
3974
3976
|
${t("numberOfSelection")}:
|
|
3975
|
-
${((
|
|
3976
|
-
${
|
|
3977
|
-
const
|
|
3978
|
-
return i.push(`${t("sportsRuleMinMaxOdds", { values: { sportMinOdds:
|
|
3977
|
+
${((j = o.multiple.minSelection) == null ? void 0 : j.number) || t("unlimited")} - ${((V = o.multiple.maxSelection) == null ? void 0 : V.number) || t("unlimited")},
|
|
3978
|
+
${_} ) `), H && S ? c.push(B + t("and") + C) : H ? c.push(C) : S && c.push(B), i.push(c.join(", "));
|
|
3979
|
+
const A = n.config.minTotalOdds ? `: ${n.config.minTotalOdds}` : s, R = n.config.maxTotalOdds ? `: ${n.config.maxTotalOdds}` : s;
|
|
3980
|
+
return i.push(`${t("sportsRuleMinMaxOdds", { values: { sportMinOdds: A, sportMaxOdds: R } })}`), i;
|
|
3979
3981
|
}
|
|
3980
3982
|
}
|
|
3981
3983
|
function Di(e) {
|
|
@@ -3995,7 +3997,7 @@ function Lt(e) {
|
|
|
3995
3997
|
t = new ue(!1), r = He(), t.a = r;
|
|
3996
3998
|
},
|
|
3997
3999
|
m(i, s) {
|
|
3998
|
-
t.m(n, i, s),
|
|
4000
|
+
t.m(n, i, s), q(i, r, s);
|
|
3999
4001
|
},
|
|
4000
4002
|
p(i, s) {
|
|
4001
4003
|
s & /*$_*/
|
|
@@ -4003,7 +4005,7 @@ function Lt(e) {
|
|
|
4003
4005
|
i[10]("scoreCriteriaType.mostRounds") + "") && t.p(n);
|
|
4004
4006
|
},
|
|
4005
4007
|
d(i) {
|
|
4006
|
-
i && (
|
|
4008
|
+
i && (X(r), t.d());
|
|
4007
4009
|
}
|
|
4008
4010
|
};
|
|
4009
4011
|
}
|
|
@@ -4017,7 +4019,7 @@ function Ot(e) {
|
|
|
4017
4019
|
t = new ue(!1), r = He(), t.a = r;
|
|
4018
4020
|
},
|
|
4019
4021
|
m(i, s) {
|
|
4020
|
-
t.m(n, i, s),
|
|
4022
|
+
t.m(n, i, s), q(i, r, s);
|
|
4021
4023
|
},
|
|
4022
4024
|
p(i, s) {
|
|
4023
4025
|
s & /*$_*/
|
|
@@ -4025,7 +4027,7 @@ function Ot(e) {
|
|
|
4025
4027
|
i[10]("scoreCriteriaType.winStateRatio") + "") && t.p(n);
|
|
4026
4028
|
},
|
|
4027
4029
|
d(i) {
|
|
4028
|
-
i && (
|
|
4030
|
+
i && (X(r), t.d());
|
|
4029
4031
|
}
|
|
4030
4032
|
};
|
|
4031
4033
|
}
|
|
@@ -4039,7 +4041,7 @@ function Nt(e) {
|
|
|
4039
4041
|
t = new ue(!1), r = He(), t.a = r;
|
|
4040
4042
|
},
|
|
4041
4043
|
m(i, s) {
|
|
4042
|
-
t.m(n, i, s),
|
|
4044
|
+
t.m(n, i, s), q(i, r, s);
|
|
4043
4045
|
},
|
|
4044
4046
|
p(i, s) {
|
|
4045
4047
|
s & /*$_*/
|
|
@@ -4047,7 +4049,7 @@ function Nt(e) {
|
|
|
4047
4049
|
i[10]("scoreCriteriaType.maxWinStateRatio") + "") && t.p(n);
|
|
4048
4050
|
},
|
|
4049
4051
|
d(i) {
|
|
4050
|
-
i && (
|
|
4052
|
+
i && (X(r), t.d());
|
|
4051
4053
|
}
|
|
4052
4054
|
};
|
|
4053
4055
|
}
|
|
@@ -4061,7 +4063,7 @@ function Pt(e) {
|
|
|
4061
4063
|
t = new ue(!1), r = He(), t.a = r;
|
|
4062
4064
|
},
|
|
4063
4065
|
m(i, s) {
|
|
4064
|
-
t.m(n, i, s),
|
|
4066
|
+
t.m(n, i, s), q(i, r, s);
|
|
4065
4067
|
},
|
|
4066
4068
|
p(i, s) {
|
|
4067
4069
|
s & /*$_*/
|
|
@@ -4069,29 +4071,29 @@ function Pt(e) {
|
|
|
4069
4071
|
i[10]("scoreCriteriaType.stake") + "") && t.p(n);
|
|
4070
4072
|
},
|
|
4071
4073
|
d(i) {
|
|
4072
|
-
i && (
|
|
4074
|
+
i && (X(r), t.d());
|
|
4073
4075
|
}
|
|
4074
4076
|
};
|
|
4075
4077
|
}
|
|
4076
4078
|
function It(e) {
|
|
4077
|
-
let t, n, r, i, s,
|
|
4079
|
+
let t, n, r, i, s, u = (
|
|
4078
4080
|
/*$_*/
|
|
4079
4081
|
e[10]("forCasino") + ""
|
|
4080
4082
|
), l, h;
|
|
4081
4083
|
return {
|
|
4082
4084
|
c() {
|
|
4083
|
-
t = T("div"), n = T("div"), n.innerHTML = `<img src="${Ui}"/>`, r = L(), i = T("div"), s = new ue(!1), l =
|
|
4085
|
+
t = T("div"), n = T("div"), n.innerHTML = `<img src="${Ui}"/>`, r = L(), i = T("div"), s = new ue(!1), l = J(":"), h = J(
|
|
4084
4086
|
/*casinoRules*/
|
|
4085
4087
|
e[9]
|
|
4086
4088
|
), p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a = l, p(i, "class", "RuleTxt"), p(i, "part", "RuleTxt"), p(t, "class", "RulesRow"), p(t, "part", "rule");
|
|
4087
4089
|
},
|
|
4088
|
-
m(a,
|
|
4089
|
-
|
|
4090
|
+
m(a, o) {
|
|
4091
|
+
q(a, t, o), b(t, n), b(t, r), b(t, i), s.m(u, i), b(i, l), b(i, h);
|
|
4090
4092
|
},
|
|
4091
|
-
p(a,
|
|
4092
|
-
|
|
4093
|
-
1024 &&
|
|
4094
|
-
a[10]("forCasino") + "") && s.p(
|
|
4093
|
+
p(a, o) {
|
|
4094
|
+
o & /*$_*/
|
|
4095
|
+
1024 && u !== (u = /*$_*/
|
|
4096
|
+
a[10]("forCasino") + "") && s.p(u), o & /*casinoRules*/
|
|
4095
4097
|
512 && we(
|
|
4096
4098
|
h,
|
|
4097
4099
|
/*casinoRules*/
|
|
@@ -4099,37 +4101,37 @@ function It(e) {
|
|
|
4099
4101
|
);
|
|
4100
4102
|
},
|
|
4101
4103
|
d(a) {
|
|
4102
|
-
a &&
|
|
4104
|
+
a && X(t);
|
|
4103
4105
|
}
|
|
4104
4106
|
};
|
|
4105
4107
|
}
|
|
4106
4108
|
function kt(e) {
|
|
4107
|
-
let t, n, r, i, s,
|
|
4109
|
+
let t, n, r, i, s, u = (
|
|
4108
4110
|
/*$_*/
|
|
4109
4111
|
e[10]("forSportsbook") + ""
|
|
4110
4112
|
), l, h, a = dt(
|
|
4111
4113
|
/*sportRules*/
|
|
4112
4114
|
e[8]
|
|
4113
|
-
),
|
|
4115
|
+
), o = [];
|
|
4114
4116
|
for (let c = 0; c < a.length; c += 1)
|
|
4115
|
-
|
|
4117
|
+
o[c] = $t(At(e, a, c));
|
|
4116
4118
|
return {
|
|
4117
4119
|
c() {
|
|
4118
|
-
t = T("div"), n = T("div"), n.innerHTML = `<img src="${Gi}"/>`, r = L(), i = T("div"), s = new ue(!1), l =
|
|
4120
|
+
t = T("div"), n = T("div"), n.innerHTML = `<img src="${Gi}"/>`, r = L(), i = T("div"), s = new ue(!1), l = J(`:
|
|
4119
4121
|
`), h = T("ul");
|
|
4120
|
-
for (let c = 0; c <
|
|
4121
|
-
|
|
4122
|
+
for (let c = 0; c < o.length; c += 1)
|
|
4123
|
+
o[c].c();
|
|
4122
4124
|
p(n, "class", "RuleIcon"), p(n, "part", "RuleIcon"), s.a = l, p(h, "class", "SportsRules"), p(i, "class", "RuleTxt"), p(i, "part", "RuleTxt"), p(t, "class", "RulesRow"), p(t, "part", "rule");
|
|
4123
4125
|
},
|
|
4124
4126
|
m(c, f) {
|
|
4125
|
-
|
|
4126
|
-
for (let m = 0; m <
|
|
4127
|
-
|
|
4127
|
+
q(c, t, f), b(t, n), b(t, r), b(t, i), s.m(u, i), b(i, l), b(i, h);
|
|
4128
|
+
for (let m = 0; m < o.length; m += 1)
|
|
4129
|
+
o[m] && o[m].m(h, null);
|
|
4128
4130
|
},
|
|
4129
4131
|
p(c, f) {
|
|
4130
4132
|
if (f & /*$_*/
|
|
4131
|
-
1024 &&
|
|
4132
|
-
c[10]("forSportsbook") + "") && s.p(
|
|
4133
|
+
1024 && u !== (u = /*$_*/
|
|
4134
|
+
c[10]("forSportsbook") + "") && s.p(u), f & /*sportRules*/
|
|
4133
4135
|
256) {
|
|
4134
4136
|
a = dt(
|
|
4135
4137
|
/*sportRules*/
|
|
@@ -4138,15 +4140,15 @@ function kt(e) {
|
|
|
4138
4140
|
let m;
|
|
4139
4141
|
for (m = 0; m < a.length; m += 1) {
|
|
4140
4142
|
const g = At(c, a, m);
|
|
4141
|
-
|
|
4143
|
+
o[m] ? o[m].p(g, f) : (o[m] = $t(g), o[m].c(), o[m].m(h, null));
|
|
4142
4144
|
}
|
|
4143
|
-
for (; m <
|
|
4144
|
-
|
|
4145
|
-
|
|
4145
|
+
for (; m < o.length; m += 1)
|
|
4146
|
+
o[m].d(1);
|
|
4147
|
+
o.length = a.length;
|
|
4146
4148
|
}
|
|
4147
4149
|
},
|
|
4148
4150
|
d(c) {
|
|
4149
|
-
c &&
|
|
4151
|
+
c && X(t), Tn(o, c);
|
|
4150
4152
|
}
|
|
4151
4153
|
};
|
|
4152
4154
|
}
|
|
@@ -4157,10 +4159,10 @@ function $t(e) {
|
|
|
4157
4159
|
), r;
|
|
4158
4160
|
return {
|
|
4159
4161
|
c() {
|
|
4160
|
-
t = T("li"), r =
|
|
4162
|
+
t = T("li"), r = J(n), p(t, "class", "RuleTxt"), p(t, "part", "RuleTxt");
|
|
4161
4163
|
},
|
|
4162
4164
|
m(i, s) {
|
|
4163
|
-
|
|
4165
|
+
q(i, t, s), b(t, r);
|
|
4164
4166
|
},
|
|
4165
4167
|
p(i, s) {
|
|
4166
4168
|
s & /*sportRules*/
|
|
@@ -4168,12 +4170,12 @@ function $t(e) {
|
|
|
4168
4170
|
i[24] + "") && we(r, n);
|
|
4169
4171
|
},
|
|
4170
4172
|
d(i) {
|
|
4171
|
-
i &&
|
|
4173
|
+
i && X(t);
|
|
4172
4174
|
}
|
|
4173
4175
|
};
|
|
4174
4176
|
}
|
|
4175
4177
|
function Fi(e) {
|
|
4176
|
-
let t, n, r, i, s,
|
|
4178
|
+
let t, n, r, i, s, u, l, h, a, o, c, f, m, g = (
|
|
4177
4179
|
/*$_*/
|
|
4178
4180
|
e[10]("miniBetCount", {
|
|
4179
4181
|
values: { betCount: (
|
|
@@ -4181,7 +4183,7 @@ function Fi(e) {
|
|
|
4181
4183
|
e[3]
|
|
4182
4184
|
) }
|
|
4183
4185
|
}) + ""
|
|
4184
|
-
), C, B, _, H, S, A,
|
|
4186
|
+
), C, B, _, H, S, A, R = (
|
|
4185
4187
|
/*$_*/
|
|
4186
4188
|
e[10]("timePeriod", {
|
|
4187
4189
|
values: {
|
|
@@ -4195,7 +4197,7 @@ function Fi(e) {
|
|
|
4195
4197
|
)
|
|
4196
4198
|
}
|
|
4197
4199
|
}) + ""
|
|
4198
|
-
), P,
|
|
4200
|
+
), P, W, F, d, j, V, ve = (
|
|
4199
4201
|
/*$_*/
|
|
4200
4202
|
e[10]("terms", { values: { tcUrl: (
|
|
4201
4203
|
/*tcurl*/
|
|
@@ -4223,28 +4225,28 @@ function Fi(e) {
|
|
|
4223
4225
|
);
|
|
4224
4226
|
return {
|
|
4225
4227
|
c() {
|
|
4226
|
-
t = T("div"), n = T("div"), r = T("div"), r.innerHTML = `<img src="${Pi}"/>`, i = L(), s = T("div"), I && I.c(),
|
|
4228
|
+
t = T("div"), n = T("div"), r = T("div"), r.innerHTML = `<img src="${Pi}"/>`, i = L(), s = T("div"), I && I.c(), u = L(), k && k.c(), l = L(), $ && $.c(), h = L(), U && U.c(), a = L(), o = T("div"), c = T("div"), c.innerHTML = `<img src="${Ii}"/>`, f = L(), m = T("div"), C = J(g), B = L(), _ = T("div"), H = T("div"), H.innerHTML = `<img src="${ki}"/>`, S = L(), A = T("div"), P = J(R), W = L(), F = T("div"), d = T("div"), d.innerHTML = `<img src="${$i}"/>`, j = L(), V = T("div"), at = L(), fe = T("span"), ot = L(), G && G.c(), Ne = L(), D && D.c(), p(r, "class", "RuleIcon"), p(r, "part", "RuleIcon"), p(s, "class", "RuleTxt"), p(s, "part", "RuleTxt"), p(n, "class", "RulesRow"), p(n, "part", "rule"), p(c, "class", "RuleIcon"), p(c, "part", "RuleIcon"), p(m, "class", "RuleTxt"), p(m, "part", "RuleTxt"), p(o, "class", "RulesRow"), p(o, "part", "rule"), p(H, "class", "RuleIcon"), p(H, "part", "RuleIcon"), p(A, "class", "RuleTxt"), p(A, "part", "RuleTxt"), p(_, "class", "RulesRow"), p(_, "part", "rule"), p(d, "class", "RuleIcon"), p(d, "part", "RuleIcon"), p(V, "class", "RuleTxt"), p(V, "part", "RuleTxt"), p(F, "class", "RulesRow"), p(F, "part", "rule"), p(fe, "type", "hidden"), p(fe, "href", xe = { tcurl: (
|
|
4227
4229
|
/*tcurl*/
|
|
4228
4230
|
e[6]
|
|
4229
4231
|
) }), p(t, "class", "casino-tournaments-thumbnail-rule"), p(t, "part", "casino-tournaments-thumbnail-rule");
|
|
4230
4232
|
},
|
|
4231
|
-
m(E,
|
|
4232
|
-
|
|
4233
|
+
m(E, z) {
|
|
4234
|
+
q(E, t, z), b(t, n), b(n, r), b(n, i), b(n, s), I && I.m(s, null), b(s, u), k && k.m(s, null), b(s, l), $ && $.m(s, null), b(s, h), U && U.m(s, null), b(t, a), b(t, o), b(o, c), b(o, f), b(o, m), b(m, C), b(t, B), b(t, _), b(_, H), b(_, S), b(_, A), b(A, P), b(t, W), b(t, F), b(F, d), b(F, j), b(F, V), V.innerHTML = ve, b(t, at), b(t, fe), b(t, ot), G && G.m(t, null), b(t, Ne), D && D.m(t, null), e[17](t);
|
|
4233
4235
|
},
|
|
4234
|
-
p(E, [
|
|
4236
|
+
p(E, [z]) {
|
|
4235
4237
|
/*scorecriterial*/
|
|
4236
|
-
E[2] == "BetCount" ? I ? I.p(E,
|
|
4237
|
-
E[2] == "WinStakeRatio" ? k ? k.p(E,
|
|
4238
|
-
E[2] == "MaxWinStakeRatio" ? $ ? $.p(E,
|
|
4239
|
-
E[2] == "Stake" ? U ? U.p(E,
|
|
4238
|
+
E[2] == "BetCount" ? I ? I.p(E, z) : (I = Lt(E), I.c(), I.m(s, u)) : I && (I.d(1), I = null), /*scorecriterial*/
|
|
4239
|
+
E[2] == "WinStakeRatio" ? k ? k.p(E, z) : (k = Ot(E), k.c(), k.m(s, l)) : k && (k.d(1), k = null), /*scorecriterial*/
|
|
4240
|
+
E[2] == "MaxWinStakeRatio" ? $ ? $.p(E, z) : ($ = Nt(E), $.c(), $.m(s, h)) : $ && ($.d(1), $ = null), /*scorecriterial*/
|
|
4241
|
+
E[2] == "Stake" ? U ? U.p(E, z) : (U = Pt(E), U.c(), U.m(s, null)) : U && (U.d(1), U = null), z & /*$_, betcount*/
|
|
4240
4242
|
1032 && g !== (g = /*$_*/
|
|
4241
4243
|
E[10]("miniBetCount", {
|
|
4242
4244
|
values: { betCount: (
|
|
4243
4245
|
/*betcount*/
|
|
4244
4246
|
E[3]
|
|
4245
4247
|
) }
|
|
4246
|
-
}) + "") && we(C, g),
|
|
4247
|
-
1072 &&
|
|
4248
|
+
}) + "") && we(C, g), z & /*$_, starttime, endtime*/
|
|
4249
|
+
1072 && R !== (R = /*$_*/
|
|
4248
4250
|
E[10]("timePeriod", {
|
|
4249
4251
|
values: {
|
|
4250
4252
|
startTime: (
|
|
@@ -4256,66 +4258,66 @@ function Fi(e) {
|
|
|
4256
4258
|
E[5]
|
|
4257
4259
|
)
|
|
4258
4260
|
}
|
|
4259
|
-
}) + "") && we(P,
|
|
4261
|
+
}) + "") && we(P, R), z & /*$_, tcurl*/
|
|
4260
4262
|
1088 && ve !== (ve = /*$_*/
|
|
4261
4263
|
E[10]("terms", { values: { tcUrl: (
|
|
4262
4264
|
/*tcurl*/
|
|
4263
4265
|
E[6]
|
|
4264
|
-
) } }) + "") && (
|
|
4266
|
+
) } }) + "") && (V.innerHTML = ve), z & /*tcurl*/
|
|
4265
4267
|
64 && xe !== (xe = { tcurl: (
|
|
4266
4268
|
/*tcurl*/
|
|
4267
4269
|
E[6]
|
|
4268
4270
|
) }) && p(fe, "href", xe), /*casinowallet*/
|
|
4269
|
-
E[1] ? G ? G.p(E,
|
|
4271
|
+
E[1] ? G ? G.p(E, z) : (G = It(E), G.c(), G.m(t, Ne)) : G && (G.d(1), G = null), /*sportswallet*/
|
|
4270
4272
|
E[0] && /*sportRules*/
|
|
4271
|
-
E[8].length ? D ? D.p(E,
|
|
4273
|
+
E[8].length ? D ? D.p(E, z) : (D = kt(E), D.c(), D.m(t, null)) : D && (D.d(1), D = null);
|
|
4272
4274
|
},
|
|
4273
|
-
i:
|
|
4274
|
-
o:
|
|
4275
|
+
i: Z,
|
|
4276
|
+
o: Z,
|
|
4275
4277
|
d(E) {
|
|
4276
|
-
E &&
|
|
4278
|
+
E && X(t), I && I.d(), k && k.d(), $ && $.d(), U && U.d(), G && G.d(), D && D.d(), e[17](null);
|
|
4277
4279
|
}
|
|
4278
4280
|
};
|
|
4279
4281
|
}
|
|
4280
4282
|
function ji(e, t, n) {
|
|
4281
4283
|
let r;
|
|
4282
4284
|
xn(e, Mi, (d) => n(10, r = d));
|
|
4283
|
-
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount:
|
|
4285
|
+
let { lang: i = "tr" } = t, { scorecriterial: s = "BetCount" } = t, { betcount: u } = t, { starttime: l } = t, { endtime: h } = t, { tcurl: a } = t, { clientstyling: o = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { mbsource: m } = t, { sportswallet: g } = t, { casinowallet: C } = t, { currency: B = "EUR" } = t, _, H = [], S = "";
|
|
4284
4286
|
Ri({ withLocale: "en", translations: {} });
|
|
4285
4287
|
const A = () => {
|
|
4286
|
-
fetch(f).then((
|
|
4287
|
-
Object.keys(
|
|
4288
|
-
Ht(
|
|
4288
|
+
fetch(f).then((j) => j.json()).then((j) => {
|
|
4289
|
+
Object.keys(j).forEach((V) => {
|
|
4290
|
+
Ht(V, j[V]);
|
|
4289
4291
|
});
|
|
4290
|
-
}).catch((
|
|
4291
|
-
console.error(
|
|
4292
|
+
}).catch((j) => {
|
|
4293
|
+
console.error(j);
|
|
4292
4294
|
});
|
|
4293
4295
|
};
|
|
4294
4296
|
Object.keys(Mt).forEach((d) => {
|
|
4295
4297
|
Ht(d, Mt[d]);
|
|
4296
4298
|
});
|
|
4297
|
-
const
|
|
4299
|
+
const R = () => {
|
|
4298
4300
|
Ai(i);
|
|
4299
4301
|
}, P = (d) => {
|
|
4300
4302
|
d.data && d.data.type && d.type == "TournamentsWalletsUpdate" && (n(1, C = d.data.wallet.casino), n(0, g = d.data.wallet.sports));
|
|
4301
|
-
},
|
|
4303
|
+
}, W = () => {
|
|
4302
4304
|
n(9, S = C ? Rt.generateCasinoRule(r, C, B) : ""), n(8, H = g ? Rt.generateSportsRule(r, g, B) : []);
|
|
4303
4305
|
};
|
|
4304
4306
|
Mn(() => (window.addEventListener("message", P, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
|
|
4305
4307
|
window.removeEventListener("message", P);
|
|
4306
4308
|
}));
|
|
4307
|
-
function
|
|
4309
|
+
function F(d) {
|
|
4308
4310
|
je[d ? "unshift" : "push"](() => {
|
|
4309
4311
|
_ = d, n(7, _);
|
|
4310
4312
|
});
|
|
4311
4313
|
}
|
|
4312
4314
|
return e.$$set = (d) => {
|
|
4313
|
-
"lang" in d && n(11, i = d.lang), "scorecriterial" in d && n(2, s = d.scorecriterial), "betcount" in d && n(3,
|
|
4315
|
+
"lang" in d && n(11, i = d.lang), "scorecriterial" in d && n(2, s = d.scorecriterial), "betcount" in d && n(3, u = d.betcount), "starttime" in d && n(4, l = d.starttime), "endtime" in d && n(5, h = d.endtime), "tcurl" in d && n(6, a = d.tcurl), "clientstyling" in d && n(12, o = d.clientstyling), "clientstylingurl" in d && n(13, c = d.clientstylingurl), "translationurl" in d && n(14, f = d.translationurl), "mbsource" in d && n(15, m = d.mbsource), "sportswallet" in d && n(0, g = d.sportswallet), "casinowallet" in d && n(1, C = d.casinowallet), "currency" in d && n(16, B = d.currency);
|
|
4314
4316
|
}, e.$$.update = () => {
|
|
4315
4317
|
e.$$.dirty & /*lang*/
|
|
4316
|
-
2048 && i &&
|
|
4317
|
-
3 && (g || C) &&
|
|
4318
|
-
4224 &&
|
|
4318
|
+
2048 && i && R(), e.$$.dirty & /*sportswallet, casinowallet*/
|
|
4319
|
+
3 && (g || C) && W(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4320
|
+
4224 && o && _ && Li(_, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4319
4321
|
8320 && c && _ && Oi(_, c), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4320
4322
|
32896 && m && _ && Ni(_, `${m}.Style`), e.$$.dirty & /*translationurl*/
|
|
4321
4323
|
16384 && f && A();
|
|
@@ -4323,7 +4325,7 @@ function ji(e, t, n) {
|
|
|
4323
4325
|
g,
|
|
4324
4326
|
C,
|
|
4325
4327
|
s,
|
|
4326
|
-
|
|
4328
|
+
u,
|
|
4327
4329
|
l,
|
|
4328
4330
|
h,
|
|
4329
4331
|
a,
|
|
@@ -4332,12 +4334,12 @@ function ji(e, t, n) {
|
|
|
4332
4334
|
S,
|
|
4333
4335
|
r,
|
|
4334
4336
|
i,
|
|
4335
|
-
|
|
4337
|
+
o,
|
|
4336
4338
|
c,
|
|
4337
4339
|
f,
|
|
4338
4340
|
m,
|
|
4339
4341
|
B,
|
|
4340
|
-
|
|
4342
|
+
F
|
|
4341
4343
|
];
|
|
4342
4344
|
}
|
|
4343
4345
|
class Vi extends Dn {
|