@everymatrix/casino-tournaments-thumbnail-rule 1.57.0 → 1.59.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-CNeDEglK.js → CasinoTournamentsThumbnailRule-CRmTbTrR.js} +564 -566
- package/components/CasinoTournamentsThumbnailRule-DdjkH22A.cjs +16 -0
- package/components/{CasinoTournamentsThumbnailRule-xmec_Q1t.js → CasinoTournamentsThumbnailRule-iTbJPkFk.js} +573 -575
- 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-BRjDDfgN.cjs +0 -16
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
function W() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function St(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function ot() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function _e(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(St);
|
|
11
11
|
}
|
|
12
12
|
function tt(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Mt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
function
|
|
18
|
+
function nr(e) {
|
|
19
19
|
return Object.keys(e).length === 0;
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function Rt(e, ...t) {
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
@@ -27,20 +27,20 @@ function Nt(e, ...t) {
|
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
31
|
-
e.$$.on_destroy.push(
|
|
30
|
+
function ir(e, t, r) {
|
|
31
|
+
e.$$.on_destroy.push(Rt(t, r));
|
|
32
32
|
}
|
|
33
33
|
function p(e, t) {
|
|
34
34
|
e.appendChild(t);
|
|
35
35
|
}
|
|
36
|
-
function
|
|
37
|
-
const n =
|
|
36
|
+
function or(e, t, r) {
|
|
37
|
+
const n = ar(e);
|
|
38
38
|
if (!n.getElementById(t)) {
|
|
39
39
|
const i = x("style");
|
|
40
|
-
i.id = t, i.textContent = r,
|
|
40
|
+
i.id = t, i.textContent = r, sr(n, i);
|
|
41
41
|
}
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function ar(e) {
|
|
44
44
|
if (!e)
|
|
45
45
|
return document;
|
|
46
46
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -50,7 +50,7 @@ function ur(e) {
|
|
|
50
50
|
t
|
|
51
51
|
) : e.ownerDocument;
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function sr(e, t) {
|
|
54
54
|
return p(
|
|
55
55
|
/** @type {Document} */
|
|
56
56
|
e.head || e,
|
|
@@ -66,7 +66,7 @@ function H(e) {
|
|
|
66
66
|
function x(e) {
|
|
67
67
|
return document.createElement(e);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function ur(e) {
|
|
70
70
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
71
71
|
}
|
|
72
72
|
function z(e) {
|
|
@@ -81,7 +81,7 @@ function Me() {
|
|
|
81
81
|
function m(e, t, r) {
|
|
82
82
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function lr(e) {
|
|
85
85
|
return Array.from(e.childNodes);
|
|
86
86
|
}
|
|
87
87
|
function J(e, t) {
|
|
@@ -119,7 +119,7 @@ class Re {
|
|
|
119
119
|
* @returns {void}
|
|
120
120
|
*/
|
|
121
121
|
m(t, r, n = null) {
|
|
122
|
-
this.e || (this.is_svg ? this.e =
|
|
122
|
+
this.e || (this.is_svg ? this.e = ur(
|
|
123
123
|
/** @type {keyof SVGElementTagNameMap} */
|
|
124
124
|
r.nodeName
|
|
125
125
|
) : this.e = x(
|
|
@@ -158,7 +158,7 @@ class Re {
|
|
|
158
158
|
this.n.forEach(H);
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function hr(e) {
|
|
162
162
|
const t = {};
|
|
163
163
|
return e.childNodes.forEach(
|
|
164
164
|
/** @param {Element} node */
|
|
@@ -171,20 +171,20 @@ let ge;
|
|
|
171
171
|
function be(e) {
|
|
172
172
|
ge = e;
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function cr() {
|
|
175
175
|
if (!ge)
|
|
176
176
|
throw new Error("Function called outside component initialization");
|
|
177
177
|
return ge;
|
|
178
178
|
}
|
|
179
|
-
function
|
|
180
|
-
|
|
179
|
+
function fr(e) {
|
|
180
|
+
cr().$$.on_mount.push(e);
|
|
181
181
|
}
|
|
182
|
-
const
|
|
182
|
+
const ae = [], je = [];
|
|
183
183
|
let se = [];
|
|
184
|
-
const
|
|
184
|
+
const at = [], mr = /* @__PURE__ */ Promise.resolve();
|
|
185
185
|
let Ve = !1;
|
|
186
|
-
function
|
|
187
|
-
Ve || (Ve = !0,
|
|
186
|
+
function dr() {
|
|
187
|
+
Ve || (Ve = !0, mr.then(V));
|
|
188
188
|
}
|
|
189
189
|
function ze(e) {
|
|
190
190
|
se.push(e);
|
|
@@ -197,65 +197,65 @@ function V() {
|
|
|
197
197
|
const e = ge;
|
|
198
198
|
do {
|
|
199
199
|
try {
|
|
200
|
-
for (; ie <
|
|
201
|
-
const t =
|
|
202
|
-
ie++, be(t),
|
|
200
|
+
for (; ie < ae.length; ) {
|
|
201
|
+
const t = ae[ie];
|
|
202
|
+
ie++, be(t), pr(t.$$);
|
|
203
203
|
}
|
|
204
204
|
} catch (t) {
|
|
205
|
-
throw
|
|
205
|
+
throw ae.length = 0, ie = 0, t;
|
|
206
206
|
}
|
|
207
|
-
for (be(null),
|
|
207
|
+
for (be(null), ae.length = 0, ie = 0; je.length; )
|
|
208
208
|
je.pop()();
|
|
209
209
|
for (let t = 0; t < se.length; t += 1) {
|
|
210
210
|
const r = se[t];
|
|
211
211
|
Oe.has(r) || (Oe.add(r), r());
|
|
212
212
|
}
|
|
213
213
|
se.length = 0;
|
|
214
|
-
} while (
|
|
215
|
-
for (;
|
|
216
|
-
|
|
214
|
+
} while (ae.length);
|
|
215
|
+
for (; at.length; )
|
|
216
|
+
at.pop()();
|
|
217
217
|
Ve = !1, Oe.clear(), be(e);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function pr(e) {
|
|
220
220
|
if (e.fragment !== null) {
|
|
221
221
|
e.update(), _e(e.before_update);
|
|
222
222
|
const t = e.dirty;
|
|
223
223
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
|
-
function
|
|
226
|
+
function br(e) {
|
|
227
227
|
const t = [], r = [];
|
|
228
228
|
se.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), se = t;
|
|
229
229
|
}
|
|
230
|
-
const
|
|
231
|
-
function
|
|
232
|
-
e && e.i && (
|
|
230
|
+
const gr = /* @__PURE__ */ new Set();
|
|
231
|
+
function yr(e, t) {
|
|
232
|
+
e && e.i && (gr.delete(e), e.i(t));
|
|
233
233
|
}
|
|
234
|
-
function
|
|
234
|
+
function vr(e, t, r) {
|
|
235
235
|
const { fragment: n, after_update: i } = e.$$;
|
|
236
236
|
n && n.m(t, r), ze(() => {
|
|
237
|
-
const
|
|
238
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
237
|
+
const o = e.$$.on_mount.map(St).filter(tt);
|
|
238
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : _e(o), e.$$.on_mount = [];
|
|
239
239
|
}), i.forEach(ze);
|
|
240
240
|
}
|
|
241
|
-
function
|
|
241
|
+
function _r(e, t) {
|
|
242
242
|
const r = e.$$;
|
|
243
|
-
r.fragment !== null && (
|
|
243
|
+
r.fragment !== null && (br(r.after_update), _e(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
244
244
|
}
|
|
245
|
-
function
|
|
246
|
-
e.$$.dirty[0] === -1 && (
|
|
245
|
+
function Er(e, t) {
|
|
246
|
+
e.$$.dirty[0] === -1 && (ae.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
248
|
+
function xr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
249
249
|
const h = ge;
|
|
250
250
|
be(e);
|
|
251
251
|
const u = e.$$ = {
|
|
252
252
|
fragment: null,
|
|
253
253
|
ctx: [],
|
|
254
254
|
// state
|
|
255
|
-
props:
|
|
255
|
+
props: o,
|
|
256
256
|
update: W,
|
|
257
257
|
not_equal: i,
|
|
258
|
-
bound:
|
|
258
|
+
bound: ot(),
|
|
259
259
|
// lifecycle
|
|
260
260
|
on_mount: [],
|
|
261
261
|
on_destroy: [],
|
|
@@ -264,8 +264,8 @@ function Br(e, t, r, n, i, a, s = null, o = [-1]) {
|
|
|
264
264
|
after_update: [],
|
|
265
265
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
266
266
|
// everything else
|
|
267
|
-
callbacks:
|
|
268
|
-
dirty:
|
|
267
|
+
callbacks: ot(),
|
|
268
|
+
dirty: a,
|
|
269
269
|
skip_bound: !1,
|
|
270
270
|
root: t.target || h.$$.root
|
|
271
271
|
};
|
|
@@ -273,19 +273,19 @@ function Br(e, t, r, n, i, a, s = null, o = [-1]) {
|
|
|
273
273
|
let l = !1;
|
|
274
274
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
|
|
275
275
|
const y = g.length ? g[0] : f;
|
|
276
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l &&
|
|
276
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Er(e, c)), f;
|
|
277
277
|
}) : [], u.update(), l = !0, _e(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
278
278
|
if (t.hydrate) {
|
|
279
|
-
const c =
|
|
279
|
+
const c = lr(t.target);
|
|
280
280
|
u.fragment && u.fragment.l(c), c.forEach(H);
|
|
281
281
|
} else
|
|
282
282
|
u.fragment && u.fragment.c();
|
|
283
|
-
t.intro &&
|
|
283
|
+
t.intro && yr(e.$$.fragment), vr(e, t.target, t.anchor), V();
|
|
284
284
|
}
|
|
285
285
|
be(h);
|
|
286
286
|
}
|
|
287
|
-
let
|
|
288
|
-
typeof HTMLElement == "function" && (
|
|
287
|
+
let kt;
|
|
288
|
+
typeof HTMLElement == "function" && (kt = class extends HTMLElement {
|
|
289
289
|
/** The Svelte component constructor */
|
|
290
290
|
$$ctor;
|
|
291
291
|
/** Slots */
|
|
@@ -324,32 +324,32 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
324
324
|
if (this.$$cn = !0, !this.$$c) {
|
|
325
325
|
let e = function(i) {
|
|
326
326
|
return () => {
|
|
327
|
-
let
|
|
327
|
+
let o;
|
|
328
328
|
return {
|
|
329
329
|
c: function() {
|
|
330
|
-
|
|
330
|
+
o = x("slot"), i !== "default" && m(o, "name", i);
|
|
331
331
|
},
|
|
332
332
|
/**
|
|
333
333
|
* @param {HTMLElement} target
|
|
334
334
|
* @param {HTMLElement} [anchor]
|
|
335
335
|
*/
|
|
336
336
|
m: function(h, u) {
|
|
337
|
-
M(h,
|
|
337
|
+
M(h, o, u);
|
|
338
338
|
},
|
|
339
339
|
d: function(h) {
|
|
340
|
-
h && H(
|
|
340
|
+
h && H(o);
|
|
341
341
|
}
|
|
342
342
|
};
|
|
343
343
|
};
|
|
344
344
|
};
|
|
345
345
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
346
346
|
return;
|
|
347
|
-
const t = {}, r =
|
|
347
|
+
const t = {}, r = hr(this);
|
|
348
348
|
for (const i of this.$$s)
|
|
349
349
|
i in r && (t[i] = [e(i)]);
|
|
350
350
|
for (const i of this.attributes) {
|
|
351
|
-
const
|
|
352
|
-
|
|
351
|
+
const o = this.$$g_p(i.name);
|
|
352
|
+
o in this.$$d || (this.$$d[o] = Be(o, i.value, this.$$p_d, "toProp"));
|
|
353
353
|
}
|
|
354
354
|
for (const i in this.$$p_d)
|
|
355
355
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -367,21 +367,21 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
|
367
367
|
this.$$r = !0;
|
|
368
368
|
for (const i in this.$$p_d)
|
|
369
369
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
370
|
-
const
|
|
370
|
+
const o = Be(
|
|
371
371
|
i,
|
|
372
372
|
this.$$d[i],
|
|
373
373
|
this.$$p_d,
|
|
374
374
|
"toAttribute"
|
|
375
375
|
);
|
|
376
|
-
|
|
376
|
+
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
|
377
377
|
}
|
|
378
378
|
this.$$r = !1;
|
|
379
379
|
};
|
|
380
380
|
this.$$c.$$.after_update.push(n), n();
|
|
381
381
|
for (const i in this.$$l)
|
|
382
|
-
for (const
|
|
383
|
-
const s = this.$$c.$on(i,
|
|
384
|
-
this.$$l_u.set(
|
|
382
|
+
for (const o of this.$$l[i]) {
|
|
383
|
+
const s = this.$$c.$on(i, o);
|
|
384
|
+
this.$$l_u.set(o, s);
|
|
385
385
|
}
|
|
386
386
|
this.$$l = {};
|
|
387
387
|
}
|
|
@@ -431,36 +431,36 @@ function Be(e, t, r, n) {
|
|
|
431
431
|
return t;
|
|
432
432
|
}
|
|
433
433
|
}
|
|
434
|
-
function
|
|
435
|
-
let s = class extends
|
|
434
|
+
function Tr(e, t, r, n, i, o) {
|
|
435
|
+
let s = class extends kt {
|
|
436
436
|
constructor() {
|
|
437
437
|
super(e, r, i), this.$$p_d = t;
|
|
438
438
|
}
|
|
439
439
|
static get observedAttributes() {
|
|
440
440
|
return Object.keys(t).map(
|
|
441
|
-
(
|
|
441
|
+
(a) => (t[a].attribute || a).toLowerCase()
|
|
442
442
|
);
|
|
443
443
|
}
|
|
444
444
|
};
|
|
445
|
-
return Object.keys(t).forEach((
|
|
446
|
-
Object.defineProperty(s.prototype,
|
|
445
|
+
return Object.keys(t).forEach((a) => {
|
|
446
|
+
Object.defineProperty(s.prototype, a, {
|
|
447
447
|
get() {
|
|
448
|
-
return this.$$c &&
|
|
448
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
449
449
|
},
|
|
450
450
|
set(h) {
|
|
451
|
-
h = Be(
|
|
451
|
+
h = Be(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
|
452
452
|
}
|
|
453
453
|
});
|
|
454
|
-
}), n.forEach((
|
|
455
|
-
Object.defineProperty(s.prototype,
|
|
454
|
+
}), n.forEach((a) => {
|
|
455
|
+
Object.defineProperty(s.prototype, a, {
|
|
456
456
|
get() {
|
|
457
|
-
return this.$$c?.[
|
|
457
|
+
return this.$$c?.[a];
|
|
458
458
|
}
|
|
459
459
|
});
|
|
460
460
|
}), e.element = /** @type {any} */
|
|
461
461
|
s, s;
|
|
462
462
|
}
|
|
463
|
-
class
|
|
463
|
+
class Br {
|
|
464
464
|
/**
|
|
465
465
|
* ### PRIVATE API
|
|
466
466
|
*
|
|
@@ -479,7 +479,7 @@ class Hr {
|
|
|
479
479
|
$$set = void 0;
|
|
480
480
|
/** @returns {void} */
|
|
481
481
|
$destroy() {
|
|
482
|
-
|
|
482
|
+
_r(this, 1), this.$destroy = W;
|
|
483
483
|
}
|
|
484
484
|
/**
|
|
485
485
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -501,13 +501,13 @@ class Hr {
|
|
|
501
501
|
* @returns {void}
|
|
502
502
|
*/
|
|
503
503
|
$set(t) {
|
|
504
|
-
this.$$set && !
|
|
504
|
+
this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
const
|
|
508
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
509
|
-
const
|
|
510
|
-
function
|
|
507
|
+
const wr = "4";
|
|
508
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wr);
|
|
509
|
+
const oe = [];
|
|
510
|
+
function Hr(e, t) {
|
|
511
511
|
return {
|
|
512
512
|
subscribe: ke(e, t).subscribe
|
|
513
513
|
};
|
|
@@ -515,35 +515,35 @@ function Sr(e, t) {
|
|
|
515
515
|
function ke(e, t = W) {
|
|
516
516
|
let r;
|
|
517
517
|
const n = /* @__PURE__ */ new Set();
|
|
518
|
-
function i(
|
|
519
|
-
if (
|
|
520
|
-
const h = !
|
|
518
|
+
function i(a) {
|
|
519
|
+
if (Mt(e, a) && (e = a, r)) {
|
|
520
|
+
const h = !oe.length;
|
|
521
521
|
for (const u of n)
|
|
522
|
-
u[1](),
|
|
522
|
+
u[1](), oe.push(u, e);
|
|
523
523
|
if (h) {
|
|
524
|
-
for (let u = 0; u <
|
|
525
|
-
|
|
526
|
-
|
|
524
|
+
for (let u = 0; u < oe.length; u += 2)
|
|
525
|
+
oe[u][0](oe[u + 1]);
|
|
526
|
+
oe.length = 0;
|
|
527
527
|
}
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
function a
|
|
531
|
-
i(
|
|
530
|
+
function o(a) {
|
|
531
|
+
i(a(e));
|
|
532
532
|
}
|
|
533
|
-
function s(
|
|
534
|
-
const u = [
|
|
535
|
-
return n.add(u), n.size === 1 && (r = t(i,
|
|
533
|
+
function s(a, h = W) {
|
|
534
|
+
const u = [a, h];
|
|
535
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || W), a(e), () => {
|
|
536
536
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
537
537
|
};
|
|
538
538
|
}
|
|
539
|
-
return { set: i, update:
|
|
539
|
+
return { set: i, update: o, subscribe: s };
|
|
540
540
|
}
|
|
541
541
|
function fe(e, t, r) {
|
|
542
542
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
543
543
|
if (!i.every(Boolean))
|
|
544
544
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
545
|
-
const
|
|
546
|
-
return
|
|
545
|
+
const o = t.length < 2;
|
|
546
|
+
return Hr(r, (s, a) => {
|
|
547
547
|
let h = !1;
|
|
548
548
|
const u = [];
|
|
549
549
|
let l = 0, c = W;
|
|
@@ -551,10 +551,10 @@ function fe(e, t, r) {
|
|
|
551
551
|
if (l)
|
|
552
552
|
return;
|
|
553
553
|
c();
|
|
554
|
-
const y = t(n ? u[0] : u, s,
|
|
555
|
-
|
|
554
|
+
const y = t(n ? u[0] : u, s, a);
|
|
555
|
+
o ? s(y) : c = tt(y) ? y : W;
|
|
556
556
|
}, g = i.map(
|
|
557
|
-
(y, T) =>
|
|
557
|
+
(y, T) => Rt(
|
|
558
558
|
y,
|
|
559
559
|
(w) => {
|
|
560
560
|
u[T] = w, l &= ~(1 << T), h && f();
|
|
@@ -569,70 +569,70 @@ function fe(e, t, r) {
|
|
|
569
569
|
};
|
|
570
570
|
});
|
|
571
571
|
}
|
|
572
|
-
function
|
|
572
|
+
function Cr(e) {
|
|
573
573
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
574
574
|
}
|
|
575
|
-
var
|
|
576
|
-
return
|
|
575
|
+
var Sr = function(t) {
|
|
576
|
+
return Mr(t) && !Rr(t);
|
|
577
577
|
};
|
|
578
|
-
function
|
|
578
|
+
function Mr(e) {
|
|
579
579
|
return !!e && typeof e == "object";
|
|
580
580
|
}
|
|
581
|
-
function
|
|
581
|
+
function Rr(e) {
|
|
582
582
|
var t = Object.prototype.toString.call(e);
|
|
583
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
583
|
+
return t === "[object RegExp]" || t === "[object Date]" || Ar(e);
|
|
584
584
|
}
|
|
585
|
-
var
|
|
586
|
-
function
|
|
587
|
-
return e.$$typeof ===
|
|
585
|
+
var kr = typeof Symbol == "function" && Symbol.for, Nr = kr ? Symbol.for("react.element") : 60103;
|
|
586
|
+
function Ar(e) {
|
|
587
|
+
return e.$$typeof === Nr;
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function Lr(e) {
|
|
590
590
|
return Array.isArray(e) ? [] : {};
|
|
591
591
|
}
|
|
592
592
|
function ye(e, t) {
|
|
593
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ue(
|
|
593
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ue(Lr(e), e, t) : e;
|
|
594
594
|
}
|
|
595
|
-
function
|
|
595
|
+
function Pr(e, t, r) {
|
|
596
596
|
return e.concat(t).map(function(n) {
|
|
597
597
|
return ye(n, r);
|
|
598
598
|
});
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function Or(e, t) {
|
|
601
601
|
if (!t.customMerge)
|
|
602
602
|
return ue;
|
|
603
603
|
var r = t.customMerge(e);
|
|
604
604
|
return typeof r == "function" ? r : ue;
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function Ir(e) {
|
|
607
607
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
608
608
|
return Object.propertyIsEnumerable.call(e, t);
|
|
609
609
|
}) : [];
|
|
610
610
|
}
|
|
611
|
-
function
|
|
612
|
-
return Object.keys(e).concat(
|
|
611
|
+
function st(e) {
|
|
612
|
+
return Object.keys(e).concat(Ir(e));
|
|
613
613
|
}
|
|
614
|
-
function
|
|
614
|
+
function Nt(e, t) {
|
|
615
615
|
try {
|
|
616
616
|
return t in e;
|
|
617
617
|
} catch {
|
|
618
618
|
return !1;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
function
|
|
622
|
-
return
|
|
621
|
+
function $r(e, t) {
|
|
622
|
+
return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function Dr(e, t, r) {
|
|
625
625
|
var n = {};
|
|
626
|
-
return r.isMergeableObject(e) &&
|
|
626
|
+
return r.isMergeableObject(e) && st(e).forEach(function(i) {
|
|
627
627
|
n[i] = ye(e[i], r);
|
|
628
|
-
}),
|
|
629
|
-
|
|
628
|
+
}), st(t).forEach(function(i) {
|
|
629
|
+
$r(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Or(i, r)(e[i], t[i], r) : n[i] = ye(t[i], r));
|
|
630
630
|
}), n;
|
|
631
631
|
}
|
|
632
632
|
function ue(e, t, r) {
|
|
633
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
634
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
635
|
-
return
|
|
633
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Pr, r.isMergeableObject = r.isMergeableObject || Sr, r.cloneUnlessOtherwiseSpecified = ye;
|
|
634
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
635
|
+
return o ? n ? r.arrayMerge(e, t, r) : Dr(e, t, r) : ye(t, r);
|
|
636
636
|
}
|
|
637
637
|
ue.all = function(t, r) {
|
|
638
638
|
if (!Array.isArray(t))
|
|
@@ -641,8 +641,8 @@ ue.all = function(t, r) {
|
|
|
641
641
|
return ue(n, i, r);
|
|
642
642
|
}, {});
|
|
643
643
|
};
|
|
644
|
-
var
|
|
645
|
-
const
|
|
644
|
+
var Ur = ue, Gr = Ur;
|
|
645
|
+
const Fr = /* @__PURE__ */ Cr(Gr);
|
|
646
646
|
/*! *****************************************************************************
|
|
647
647
|
Copyright (c) Microsoft Corporation.
|
|
648
648
|
|
|
@@ -678,13 +678,13 @@ var _ = function() {
|
|
|
678
678
|
return _ = Object.assign || function(t) {
|
|
679
679
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
680
680
|
r = arguments[n];
|
|
681
|
-
for (var
|
|
682
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
681
|
+
for (var o in r)
|
|
682
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
683
683
|
}
|
|
684
684
|
return t;
|
|
685
685
|
}, _.apply(this, arguments);
|
|
686
686
|
};
|
|
687
|
-
function
|
|
687
|
+
function jr(e, t) {
|
|
688
688
|
var r = {};
|
|
689
689
|
for (var n in e)
|
|
690
690
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -695,60 +695,58 @@ function zr(e, t) {
|
|
|
695
695
|
}
|
|
696
696
|
function Ie(e, t, r) {
|
|
697
697
|
if (arguments.length === 2)
|
|
698
|
-
for (var n = 0, i = t.length,
|
|
699
|
-
(
|
|
700
|
-
return e.concat(
|
|
698
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
699
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
700
|
+
return e.concat(o || t);
|
|
701
701
|
}
|
|
702
702
|
function $e(e, t) {
|
|
703
|
-
var r = t && t.cache ? t.cache :
|
|
703
|
+
var r = t && t.cache ? t.cache : Yr, n = t && t.serializer ? t.serializer : Zr, i = t && t.strategy ? t.strategy : Xr;
|
|
704
704
|
return i(e, {
|
|
705
705
|
cache: r,
|
|
706
706
|
serializer: n
|
|
707
707
|
});
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function Vr(e) {
|
|
710
710
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
711
711
|
}
|
|
712
|
-
function
|
|
713
|
-
var i =
|
|
714
|
-
return typeof
|
|
712
|
+
function zr(e, t, r, n) {
|
|
713
|
+
var i = Vr(n) ? n : r(n), o = t.get(i);
|
|
714
|
+
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
715
715
|
}
|
|
716
|
-
function
|
|
717
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
718
|
-
return typeof
|
|
716
|
+
function At(e, t, r) {
|
|
717
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
718
|
+
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function Lt(e, t, r, n, i) {
|
|
721
721
|
return r.bind(t, e, n, i);
|
|
722
722
|
}
|
|
723
|
-
function
|
|
724
|
-
var r = e.length === 1 ?
|
|
725
|
-
return
|
|
726
|
-
}
|
|
727
|
-
function Zr(e, t) {
|
|
728
|
-
return rt(e, this, Ot, t.cache.create(), t.serializer);
|
|
723
|
+
function Xr(e, t) {
|
|
724
|
+
var r = e.length === 1 ? zr : At;
|
|
725
|
+
return Lt(e, this, r, t.cache.create(), t.serializer);
|
|
729
726
|
}
|
|
730
|
-
function
|
|
731
|
-
return
|
|
727
|
+
function Wr(e, t) {
|
|
728
|
+
return Lt(e, this, At, t.cache.create(), t.serializer);
|
|
732
729
|
}
|
|
733
|
-
var
|
|
730
|
+
var Zr = function() {
|
|
734
731
|
return JSON.stringify(arguments);
|
|
735
|
-
}
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
732
|
+
}, Jr = (
|
|
733
|
+
/** @class */
|
|
734
|
+
function() {
|
|
735
|
+
function e() {
|
|
736
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
737
|
+
}
|
|
738
|
+
return e.prototype.get = function(t) {
|
|
739
|
+
return this.cache[t];
|
|
740
|
+
}, e.prototype.set = function(t, r) {
|
|
741
|
+
this.cache[t] = r;
|
|
742
|
+
}, e;
|
|
743
|
+
}()
|
|
744
|
+
), Yr = {
|
|
746
745
|
create: function() {
|
|
747
|
-
return new
|
|
746
|
+
return new Jr();
|
|
748
747
|
}
|
|
749
748
|
}, De = {
|
|
750
|
-
variadic:
|
|
751
|
-
monadic: Jr
|
|
749
|
+
variadic: Wr
|
|
752
750
|
}, b;
|
|
753
751
|
(function(e) {
|
|
754
752
|
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";
|
|
@@ -761,43 +759,43 @@ var le;
|
|
|
761
759
|
(function(e) {
|
|
762
760
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
763
761
|
})(le || (le = {}));
|
|
764
|
-
function
|
|
762
|
+
function ut(e) {
|
|
765
763
|
return e.type === B.literal;
|
|
766
764
|
}
|
|
767
|
-
function
|
|
765
|
+
function Kr(e) {
|
|
768
766
|
return e.type === B.argument;
|
|
769
767
|
}
|
|
770
|
-
function
|
|
768
|
+
function Pt(e) {
|
|
771
769
|
return e.type === B.number;
|
|
772
770
|
}
|
|
773
|
-
function
|
|
771
|
+
function Ot(e) {
|
|
774
772
|
return e.type === B.date;
|
|
775
773
|
}
|
|
776
|
-
function
|
|
774
|
+
function It(e) {
|
|
777
775
|
return e.type === B.time;
|
|
778
776
|
}
|
|
779
|
-
function
|
|
777
|
+
function $t(e) {
|
|
780
778
|
return e.type === B.select;
|
|
781
779
|
}
|
|
782
|
-
function
|
|
780
|
+
function Dt(e) {
|
|
783
781
|
return e.type === B.plural;
|
|
784
782
|
}
|
|
785
|
-
function
|
|
783
|
+
function qr(e) {
|
|
786
784
|
return e.type === B.pound;
|
|
787
785
|
}
|
|
788
|
-
function
|
|
786
|
+
function Ut(e) {
|
|
789
787
|
return e.type === B.tag;
|
|
790
788
|
}
|
|
791
|
-
function
|
|
789
|
+
function Gt(e) {
|
|
792
790
|
return !!(e && typeof e == "object" && e.type === le.number);
|
|
793
791
|
}
|
|
794
792
|
function We(e) {
|
|
795
793
|
return !!(e && typeof e == "object" && e.type === le.dateTime);
|
|
796
794
|
}
|
|
797
|
-
var
|
|
798
|
-
function
|
|
795
|
+
var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qr = /(?:[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;
|
|
796
|
+
function en(e) {
|
|
799
797
|
var t = {};
|
|
800
|
-
return e.replace(
|
|
798
|
+
return e.replace(Qr, function(r) {
|
|
801
799
|
var n = r.length;
|
|
802
800
|
switch (r[0]) {
|
|
803
801
|
case "G":
|
|
@@ -886,36 +884,36 @@ function tn(e) {
|
|
|
886
884
|
return "";
|
|
887
885
|
}), t;
|
|
888
886
|
}
|
|
889
|
-
var
|
|
890
|
-
function
|
|
887
|
+
var tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
888
|
+
function rn(e) {
|
|
891
889
|
if (e.length === 0)
|
|
892
890
|
throw new Error("Number skeleton cannot be empty");
|
|
893
|
-
for (var t = e.split(
|
|
891
|
+
for (var t = e.split(tn).filter(function(f) {
|
|
894
892
|
return f.length > 0;
|
|
895
893
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
896
|
-
var
|
|
894
|
+
var o = i[n], s = o.split("/");
|
|
897
895
|
if (s.length === 0)
|
|
898
896
|
throw new Error("Invalid number skeleton");
|
|
899
|
-
for (var
|
|
897
|
+
for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
900
898
|
var c = l[u];
|
|
901
899
|
if (c.length === 0)
|
|
902
900
|
throw new Error("Invalid number skeleton");
|
|
903
901
|
}
|
|
904
|
-
r.push({ stem:
|
|
902
|
+
r.push({ stem: a, options: h });
|
|
905
903
|
}
|
|
906
904
|
return r;
|
|
907
905
|
}
|
|
908
|
-
function
|
|
906
|
+
function nn(e) {
|
|
909
907
|
return e.replace(/^(.*?)-/, "");
|
|
910
908
|
}
|
|
911
|
-
var
|
|
912
|
-
function
|
|
909
|
+
var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
|
|
910
|
+
function ht(e) {
|
|
913
911
|
var t = {};
|
|
914
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
912
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
|
|
915
913
|
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)), "";
|
|
916
914
|
}), t;
|
|
917
915
|
}
|
|
918
|
-
function
|
|
916
|
+
function zt(e) {
|
|
919
917
|
switch (e) {
|
|
920
918
|
case "sign-auto":
|
|
921
919
|
return {
|
|
@@ -955,7 +953,7 @@ function Wt(e) {
|
|
|
955
953
|
};
|
|
956
954
|
}
|
|
957
955
|
}
|
|
958
|
-
function
|
|
956
|
+
function an(e) {
|
|
959
957
|
var t;
|
|
960
958
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
961
959
|
notation: "engineering"
|
|
@@ -963,17 +961,17 @@ function sn(e) {
|
|
|
963
961
|
notation: "scientific"
|
|
964
962
|
}, e = e.slice(1)), t) {
|
|
965
963
|
var r = e.slice(0, 2);
|
|
966
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
964
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
|
|
967
965
|
throw new Error("Malformed concise eng/scientific notation");
|
|
968
966
|
t.minimumIntegerDigits = e.length;
|
|
969
967
|
}
|
|
970
968
|
return t;
|
|
971
969
|
}
|
|
972
|
-
function
|
|
973
|
-
var t = {}, r =
|
|
970
|
+
function ct(e) {
|
|
971
|
+
var t = {}, r = zt(e);
|
|
974
972
|
return r || t;
|
|
975
973
|
}
|
|
976
|
-
function
|
|
974
|
+
function sn(e) {
|
|
977
975
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
978
976
|
var i = n[r];
|
|
979
977
|
switch (i.stem) {
|
|
@@ -997,7 +995,7 @@ function un(e) {
|
|
|
997
995
|
continue;
|
|
998
996
|
case "measure-unit":
|
|
999
997
|
case "unit":
|
|
1000
|
-
t.style = "unit", t.unit =
|
|
998
|
+
t.style = "unit", t.unit = nn(i.options[0]);
|
|
1001
999
|
continue;
|
|
1002
1000
|
case "compact-short":
|
|
1003
1001
|
case "K":
|
|
@@ -1009,12 +1007,12 @@ function un(e) {
|
|
|
1009
1007
|
continue;
|
|
1010
1008
|
case "scientific":
|
|
1011
1009
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1012
|
-
return _(_({}, h),
|
|
1010
|
+
return _(_({}, h), ct(u));
|
|
1013
1011
|
}, {}));
|
|
1014
1012
|
continue;
|
|
1015
1013
|
case "engineering":
|
|
1016
1014
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1017
|
-
return _(_({}, h),
|
|
1015
|
+
return _(_({}, h), ct(u));
|
|
1018
1016
|
}, {}));
|
|
1019
1017
|
continue;
|
|
1020
1018
|
case "notation-simple":
|
|
@@ -1072,28 +1070,28 @@ function un(e) {
|
|
|
1072
1070
|
});
|
|
1073
1071
|
continue;
|
|
1074
1072
|
}
|
|
1075
|
-
if (
|
|
1073
|
+
if (Vt.test(i.stem)) {
|
|
1076
1074
|
t.minimumIntegerDigits = i.stem.length;
|
|
1077
1075
|
continue;
|
|
1078
1076
|
}
|
|
1079
|
-
if (
|
|
1077
|
+
if (lt.test(i.stem)) {
|
|
1080
1078
|
if (i.options.length > 1)
|
|
1081
1079
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1082
|
-
i.stem.replace(
|
|
1080
|
+
i.stem.replace(lt, function(h, u, l, c, f, g) {
|
|
1083
1081
|
return l === "*" ? 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), "";
|
|
1084
1082
|
});
|
|
1085
|
-
var
|
|
1086
|
-
|
|
1083
|
+
var o = i.options[0];
|
|
1084
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), ht(o)));
|
|
1087
1085
|
continue;
|
|
1088
1086
|
}
|
|
1089
|
-
if (
|
|
1090
|
-
t = _(_({}, t),
|
|
1087
|
+
if (jt.test(i.stem)) {
|
|
1088
|
+
t = _(_({}, t), ht(i.stem));
|
|
1091
1089
|
continue;
|
|
1092
1090
|
}
|
|
1093
|
-
var s =
|
|
1091
|
+
var s = zt(i.stem);
|
|
1094
1092
|
s && (t = _(_({}, t), s));
|
|
1095
|
-
var
|
|
1096
|
-
|
|
1093
|
+
var a = an(i.stem);
|
|
1094
|
+
a && (t = _(_({}, t), a));
|
|
1097
1095
|
}
|
|
1098
1096
|
return t;
|
|
1099
1097
|
}
|
|
@@ -2512,14 +2510,14 @@ var Te = {
|
|
|
2512
2510
|
"h"
|
|
2513
2511
|
]
|
|
2514
2512
|
};
|
|
2515
|
-
function
|
|
2513
|
+
function un(e, t) {
|
|
2516
2514
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2517
2515
|
var i = e.charAt(n);
|
|
2518
2516
|
if (i === "j") {
|
|
2519
|
-
for (var
|
|
2520
|
-
|
|
2521
|
-
var s = 1 + (
|
|
2522
|
-
for ((u == "H" || u == "k") && (
|
|
2517
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2518
|
+
o++, n++;
|
|
2519
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = ln(t);
|
|
2520
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2523
2521
|
r += h;
|
|
2524
2522
|
for (; s-- > 0; )
|
|
2525
2523
|
r = u + r;
|
|
@@ -2528,7 +2526,7 @@ function ln(e, t) {
|
|
|
2528
2526
|
}
|
|
2529
2527
|
return r;
|
|
2530
2528
|
}
|
|
2531
|
-
function
|
|
2529
|
+
function ln(e) {
|
|
2532
2530
|
var t = e.hourCycle;
|
|
2533
2531
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2534
2532
|
e.hourCycles && // @ts-ignore
|
|
@@ -2550,20 +2548,20 @@ function hn(e) {
|
|
|
2550
2548
|
var i = Te[n || ""] || Te[r || ""] || Te["".concat(r, "-001")] || Te["001"];
|
|
2551
2549
|
return i[0];
|
|
2552
2550
|
}
|
|
2553
|
-
var Ue,
|
|
2551
|
+
var Ue, hn = new RegExp("^".concat(Ft.source, "*")), cn = new RegExp("".concat(Ft.source, "*$"));
|
|
2554
2552
|
function v(e, t) {
|
|
2555
2553
|
return { start: e, end: t };
|
|
2556
2554
|
}
|
|
2557
|
-
var
|
|
2555
|
+
var fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), mn = !!String.fromCodePoint, dn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, bn = !!String.prototype.trimStart, gn = !!String.prototype.trimEnd, yn = !!Number.isSafeInteger, vn = yn ? Number.isSafeInteger : function(e) {
|
|
2558
2556
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2559
2557
|
}, Ze = !0;
|
|
2560
2558
|
try {
|
|
2561
|
-
var
|
|
2562
|
-
Ze = ((Ue =
|
|
2559
|
+
var _n = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2560
|
+
Ze = ((Ue = _n.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
|
|
2563
2561
|
} catch {
|
|
2564
2562
|
Ze = !1;
|
|
2565
2563
|
}
|
|
2566
|
-
var
|
|
2564
|
+
var ft = fn ? (
|
|
2567
2565
|
// Native
|
|
2568
2566
|
function(t, r, n) {
|
|
2569
2567
|
return t.startsWith(r, n);
|
|
@@ -2573,31 +2571,31 @@ var dt = mn ? (
|
|
|
2573
2571
|
function(t, r, n) {
|
|
2574
2572
|
return t.slice(n, n + r.length) === r;
|
|
2575
2573
|
}
|
|
2576
|
-
), Je =
|
|
2574
|
+
), Je = mn ? String.fromCodePoint : (
|
|
2577
2575
|
// IE11
|
|
2578
2576
|
function() {
|
|
2579
2577
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2580
2578
|
t[r] = arguments[r];
|
|
2581
|
-
for (var n = "", i = t.length,
|
|
2582
|
-
if (s = t[
|
|
2579
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
|
2580
|
+
if (s = t[o++], s > 1114111)
|
|
2583
2581
|
throw RangeError(s + " is not a valid code point");
|
|
2584
2582
|
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
2585
2583
|
}
|
|
2586
2584
|
return n;
|
|
2587
2585
|
}
|
|
2588
|
-
),
|
|
2586
|
+
), mt = (
|
|
2589
2587
|
// native
|
|
2590
|
-
|
|
2588
|
+
dn ? Object.fromEntries : (
|
|
2591
2589
|
// Ponyfill
|
|
2592
2590
|
function(t) {
|
|
2593
2591
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2594
|
-
var
|
|
2595
|
-
r[s] =
|
|
2592
|
+
var o = i[n], s = o[0], a = o[1];
|
|
2593
|
+
r[s] = a;
|
|
2596
2594
|
}
|
|
2597
2595
|
return r;
|
|
2598
2596
|
}
|
|
2599
2597
|
)
|
|
2600
|
-
),
|
|
2598
|
+
), Xt = pn ? (
|
|
2601
2599
|
// Native
|
|
2602
2600
|
function(t, r) {
|
|
2603
2601
|
return t.codePointAt(r);
|
|
@@ -2607,11 +2605,11 @@ var dt = mn ? (
|
|
|
2607
2605
|
function(t, r) {
|
|
2608
2606
|
var n = t.length;
|
|
2609
2607
|
if (!(r < 0 || r >= n)) {
|
|
2610
|
-
var i = t.charCodeAt(r),
|
|
2611
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
2608
|
+
var i = t.charCodeAt(r), o;
|
|
2609
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2612
2610
|
}
|
|
2613
2611
|
}
|
|
2614
|
-
),
|
|
2612
|
+
), En = bn ? (
|
|
2615
2613
|
// Native
|
|
2616
2614
|
function(t) {
|
|
2617
2615
|
return t.trimStart();
|
|
@@ -2619,9 +2617,9 @@ var dt = mn ? (
|
|
|
2619
2617
|
) : (
|
|
2620
2618
|
// Ponyfill
|
|
2621
2619
|
function(t) {
|
|
2622
|
-
return t.replace(
|
|
2620
|
+
return t.replace(hn, "");
|
|
2623
2621
|
}
|
|
2624
|
-
),
|
|
2622
|
+
), xn = gn ? (
|
|
2625
2623
|
// Native
|
|
2626
2624
|
function(t) {
|
|
2627
2625
|
return t.trimEnd();
|
|
@@ -2629,32 +2627,32 @@ var dt = mn ? (
|
|
|
2629
2627
|
) : (
|
|
2630
2628
|
// Ponyfill
|
|
2631
2629
|
function(t) {
|
|
2632
|
-
return t.replace(
|
|
2630
|
+
return t.replace(cn, "");
|
|
2633
2631
|
}
|
|
2634
2632
|
);
|
|
2635
|
-
function
|
|
2633
|
+
function Wt(e, t) {
|
|
2636
2634
|
return new RegExp(e, t);
|
|
2637
2635
|
}
|
|
2638
2636
|
var Ye;
|
|
2639
2637
|
if (Ze) {
|
|
2640
|
-
var
|
|
2638
|
+
var dt = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2641
2639
|
Ye = function(t, r) {
|
|
2642
2640
|
var n;
|
|
2643
|
-
|
|
2644
|
-
var i =
|
|
2641
|
+
dt.lastIndex = r;
|
|
2642
|
+
var i = dt.exec(t);
|
|
2645
2643
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2646
2644
|
};
|
|
2647
2645
|
} else
|
|
2648
2646
|
Ye = function(t, r) {
|
|
2649
2647
|
for (var n = []; ; ) {
|
|
2650
|
-
var i =
|
|
2651
|
-
if (i === void 0 ||
|
|
2648
|
+
var i = Xt(t, r);
|
|
2649
|
+
if (i === void 0 || Zt(i) || Hn(i))
|
|
2652
2650
|
break;
|
|
2653
2651
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2654
2652
|
}
|
|
2655
2653
|
return Je.apply(void 0, n);
|
|
2656
2654
|
};
|
|
2657
|
-
var
|
|
2655
|
+
var Tn = (
|
|
2658
2656
|
/** @class */
|
|
2659
2657
|
function() {
|
|
2660
2658
|
function e(t, r) {
|
|
@@ -2666,26 +2664,26 @@ var Bn = (
|
|
|
2666
2664
|
return this.parseMessage(0, "", !1);
|
|
2667
2665
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
2668
2666
|
for (var i = []; !this.isEOF(); ) {
|
|
2669
|
-
var
|
|
2670
|
-
if (
|
|
2667
|
+
var o = this.char();
|
|
2668
|
+
if (o === 123) {
|
|
2671
2669
|
var s = this.parseArgument(t, n);
|
|
2672
2670
|
if (s.err)
|
|
2673
2671
|
return s;
|
|
2674
2672
|
i.push(s.val);
|
|
2675
2673
|
} else {
|
|
2676
|
-
if (
|
|
2674
|
+
if (o === 125 && t > 0)
|
|
2677
2675
|
break;
|
|
2678
|
-
if (
|
|
2679
|
-
var
|
|
2676
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2677
|
+
var a = this.clonePosition();
|
|
2680
2678
|
this.bump(), i.push({
|
|
2681
2679
|
type: B.pound,
|
|
2682
|
-
location: v(
|
|
2680
|
+
location: v(a, this.clonePosition())
|
|
2683
2681
|
});
|
|
2684
|
-
} else if (
|
|
2682
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2685
2683
|
if (n)
|
|
2686
2684
|
break;
|
|
2687
2685
|
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
2688
|
-
} else if (
|
|
2686
|
+
} else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
|
|
2689
2687
|
var s = this.parseTag(t, r);
|
|
2690
2688
|
if (s.err)
|
|
2691
2689
|
return s;
|
|
@@ -2713,13 +2711,13 @@ var Bn = (
|
|
|
2713
2711
|
err: null
|
|
2714
2712
|
};
|
|
2715
2713
|
if (this.bumpIf(">")) {
|
|
2716
|
-
var
|
|
2717
|
-
if (
|
|
2718
|
-
return
|
|
2719
|
-
var s =
|
|
2714
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
2715
|
+
if (o.err)
|
|
2716
|
+
return o;
|
|
2717
|
+
var s = o.val, a = this.clonePosition();
|
|
2720
2718
|
if (this.bumpIf("</")) {
|
|
2721
2719
|
if (this.isEOF() || !Ke(this.char()))
|
|
2722
|
-
return this.error(b.INVALID_TAG, v(
|
|
2720
|
+
return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
|
|
2723
2721
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
2724
2722
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2725
2723
|
val: {
|
|
@@ -2729,21 +2727,21 @@ var Bn = (
|
|
|
2729
2727
|
location: v(n, this.clonePosition())
|
|
2730
2728
|
},
|
|
2731
2729
|
err: null
|
|
2732
|
-
} : this.error(b.INVALID_TAG, v(
|
|
2730
|
+
} : this.error(b.INVALID_TAG, v(a, this.clonePosition())));
|
|
2733
2731
|
} else
|
|
2734
2732
|
return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
|
|
2735
2733
|
} else
|
|
2736
2734
|
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
2737
2735
|
}, e.prototype.parseTagName = function() {
|
|
2738
2736
|
var t = this.offset();
|
|
2739
|
-
for (this.bump(); !this.isEOF() &&
|
|
2737
|
+
for (this.bump(); !this.isEOF() && wn(this.char()); )
|
|
2740
2738
|
this.bump();
|
|
2741
2739
|
return this.message.slice(t, this.offset());
|
|
2742
2740
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
2743
2741
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
2744
|
-
var
|
|
2745
|
-
if (
|
|
2746
|
-
i +=
|
|
2742
|
+
var o = this.tryParseQuote(r);
|
|
2743
|
+
if (o) {
|
|
2744
|
+
i += o;
|
|
2747
2745
|
continue;
|
|
2748
2746
|
}
|
|
2749
2747
|
var s = this.tryParseUnquoted(t, r);
|
|
@@ -2751,9 +2749,9 @@ var Bn = (
|
|
|
2751
2749
|
i += s;
|
|
2752
2750
|
continue;
|
|
2753
2751
|
}
|
|
2754
|
-
var
|
|
2755
|
-
if (
|
|
2756
|
-
i +=
|
|
2752
|
+
var a = this.tryParseLeftAngleBracket();
|
|
2753
|
+
if (a) {
|
|
2754
|
+
i += a;
|
|
2757
2755
|
continue;
|
|
2758
2756
|
}
|
|
2759
2757
|
break;
|
|
@@ -2765,7 +2763,7 @@ var Bn = (
|
|
|
2765
2763
|
};
|
|
2766
2764
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2767
2765
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2768
|
-
!
|
|
2766
|
+
!Bn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2769
2767
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2770
2768
|
if (this.isEOF() || this.char() !== 39)
|
|
2771
2769
|
return null;
|
|
@@ -2835,11 +2833,11 @@ var Bn = (
|
|
|
2835
2833
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2836
2834
|
var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
|
|
2837
2835
|
this.bumpTo(i);
|
|
2838
|
-
var
|
|
2836
|
+
var o = this.clonePosition(), s = v(t, o);
|
|
2839
2837
|
return { value: n, location: s };
|
|
2840
2838
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2841
|
-
var
|
|
2842
|
-
switch (
|
|
2839
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2840
|
+
switch (a) {
|
|
2843
2841
|
case "":
|
|
2844
2842
|
return this.error(b.EXPECT_ARGUMENT_TYPE, v(s, h));
|
|
2845
2843
|
case "number":
|
|
@@ -2852,7 +2850,7 @@ var Bn = (
|
|
|
2852
2850
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2853
2851
|
if (c.err)
|
|
2854
2852
|
return c;
|
|
2855
|
-
var f =
|
|
2853
|
+
var f = xn(c.val);
|
|
2856
2854
|
if (f.length === 0)
|
|
2857
2855
|
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
2858
2856
|
var g = v(l, this.clonePosition());
|
|
@@ -2862,9 +2860,9 @@ var Bn = (
|
|
|
2862
2860
|
if (y.err)
|
|
2863
2861
|
return y;
|
|
2864
2862
|
var T = v(i, this.clonePosition());
|
|
2865
|
-
if (u &&
|
|
2866
|
-
var w =
|
|
2867
|
-
if (
|
|
2863
|
+
if (u && ft(u?.style, "::", 0)) {
|
|
2864
|
+
var w = En(u.style.slice(2));
|
|
2865
|
+
if (a === "number") {
|
|
2868
2866
|
var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
2869
2867
|
return c.err ? c : {
|
|
2870
2868
|
val: { type: B.number, value: n, location: T, style: c.val },
|
|
@@ -2874,13 +2872,13 @@ var Bn = (
|
|
|
2874
2872
|
if (w.length === 0)
|
|
2875
2873
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, T);
|
|
2876
2874
|
var C = w;
|
|
2877
|
-
this.locale && (C =
|
|
2875
|
+
this.locale && (C = un(w, this.locale));
|
|
2878
2876
|
var f = {
|
|
2879
2877
|
type: le.dateTime,
|
|
2880
2878
|
pattern: C,
|
|
2881
2879
|
location: u.styleLocation,
|
|
2882
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2883
|
-
}, R =
|
|
2880
|
+
parsedOptions: this.shouldParseSkeletons ? en(C) : {}
|
|
2881
|
+
}, R = a === "date" ? B.date : B.time;
|
|
2884
2882
|
return {
|
|
2885
2883
|
val: { type: R, value: n, location: T, style: f },
|
|
2886
2884
|
err: null
|
|
@@ -2889,10 +2887,10 @@ var Bn = (
|
|
|
2889
2887
|
}
|
|
2890
2888
|
return {
|
|
2891
2889
|
val: {
|
|
2892
|
-
type:
|
|
2890
|
+
type: a === "number" ? B.number : a === "date" ? B.date : B.time,
|
|
2893
2891
|
value: n,
|
|
2894
2892
|
location: T,
|
|
2895
|
-
style: (
|
|
2893
|
+
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
2896
2894
|
},
|
|
2897
2895
|
err: null
|
|
2898
2896
|
};
|
|
@@ -2905,7 +2903,7 @@ var Bn = (
|
|
|
2905
2903
|
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(S, _({}, S)));
|
|
2906
2904
|
this.bumpSpace();
|
|
2907
2905
|
var N = this.parseIdentifierIfPossible(), A = 0;
|
|
2908
|
-
if (
|
|
2906
|
+
if (a !== "select" && N.value === "offset") {
|
|
2909
2907
|
if (!this.bumpIf(":"))
|
|
2910
2908
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
2911
2909
|
this.bumpSpace();
|
|
@@ -2914,18 +2912,18 @@ var Bn = (
|
|
|
2914
2912
|
return c;
|
|
2915
2913
|
this.bumpSpace(), N = this.parseIdentifierIfPossible(), A = c.val;
|
|
2916
2914
|
}
|
|
2917
|
-
var Z = this.tryParsePluralOrSelectOptions(t,
|
|
2915
|
+
var Z = this.tryParsePluralOrSelectOptions(t, a, r, N);
|
|
2918
2916
|
if (Z.err)
|
|
2919
2917
|
return Z;
|
|
2920
2918
|
var y = this.tryParseArgumentClose(i);
|
|
2921
2919
|
if (y.err)
|
|
2922
2920
|
return y;
|
|
2923
2921
|
var ee = v(i, this.clonePosition());
|
|
2924
|
-
return
|
|
2922
|
+
return a === "select" ? {
|
|
2925
2923
|
val: {
|
|
2926
2924
|
type: B.select,
|
|
2927
2925
|
value: n,
|
|
2928
|
-
options:
|
|
2926
|
+
options: mt(Z.val),
|
|
2929
2927
|
location: ee
|
|
2930
2928
|
},
|
|
2931
2929
|
err: null
|
|
@@ -2933,9 +2931,9 @@ var Bn = (
|
|
|
2933
2931
|
val: {
|
|
2934
2932
|
type: B.plural,
|
|
2935
2933
|
value: n,
|
|
2936
|
-
options:
|
|
2934
|
+
options: mt(Z.val),
|
|
2937
2935
|
offset: A,
|
|
2938
|
-
pluralType:
|
|
2936
|
+
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2939
2937
|
location: ee
|
|
2940
2938
|
},
|
|
2941
2939
|
err: null
|
|
@@ -2984,7 +2982,7 @@ var Bn = (
|
|
|
2984
2982
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2985
2983
|
var n = [];
|
|
2986
2984
|
try {
|
|
2987
|
-
n =
|
|
2985
|
+
n = rn(t);
|
|
2988
2986
|
} catch {
|
|
2989
2987
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
2990
2988
|
}
|
|
@@ -2993,12 +2991,12 @@ var Bn = (
|
|
|
2993
2991
|
type: le.number,
|
|
2994
2992
|
tokens: n,
|
|
2995
2993
|
location: r,
|
|
2996
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2994
|
+
parsedOptions: this.shouldParseSkeletons ? sn(n) : {}
|
|
2997
2995
|
},
|
|
2998
2996
|
err: null
|
|
2999
2997
|
};
|
|
3000
2998
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3001
|
-
for (var
|
|
2999
|
+
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3002
3000
|
if (u.length === 0) {
|
|
3003
3001
|
var c = this.clonePosition();
|
|
3004
3002
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3021,27 +3019,27 @@ var Bn = (
|
|
|
3021
3019
|
var T = this.tryParseArgumentClose(g);
|
|
3022
3020
|
if (T.err)
|
|
3023
3021
|
return T;
|
|
3024
|
-
|
|
3022
|
+
a.push([
|
|
3025
3023
|
u,
|
|
3026
3024
|
{
|
|
3027
3025
|
value: y.val,
|
|
3028
3026
|
location: v(g, this.clonePosition())
|
|
3029
3027
|
}
|
|
3030
|
-
]), h.add(u), this.bumpSpace(),
|
|
3028
|
+
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3031
3029
|
}
|
|
3032
|
-
return
|
|
3030
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3033
3031
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3034
3032
|
var n = 1, i = this.clonePosition();
|
|
3035
3033
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3036
|
-
for (var
|
|
3037
|
-
var
|
|
3038
|
-
if (
|
|
3039
|
-
|
|
3034
|
+
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
3035
|
+
var a = this.char();
|
|
3036
|
+
if (a >= 48 && a <= 57)
|
|
3037
|
+
o = !0, s = s * 10 + (a - 48), this.bump();
|
|
3040
3038
|
else
|
|
3041
3039
|
break;
|
|
3042
3040
|
}
|
|
3043
3041
|
var h = v(i, this.clonePosition());
|
|
3044
|
-
return
|
|
3042
|
+
return o ? (s *= n, vn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3045
3043
|
}, e.prototype.offset = function() {
|
|
3046
3044
|
return this.position.offset;
|
|
3047
3045
|
}, e.prototype.isEOF = function() {
|
|
@@ -3056,7 +3054,7 @@ var Bn = (
|
|
|
3056
3054
|
var t = this.position.offset;
|
|
3057
3055
|
if (t >= this.message.length)
|
|
3058
3056
|
throw Error("out of bound");
|
|
3059
|
-
var r =
|
|
3057
|
+
var r = Xt(this.message, t);
|
|
3060
3058
|
if (r === void 0)
|
|
3061
3059
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3062
3060
|
return r;
|
|
@@ -3075,7 +3073,7 @@ var Bn = (
|
|
|
3075
3073
|
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);
|
|
3076
3074
|
}
|
|
3077
3075
|
}, e.prototype.bumpIf = function(t) {
|
|
3078
|
-
if (
|
|
3076
|
+
if (ft(this.message, t, this.offset())) {
|
|
3079
3077
|
for (var r = 0; r < t.length; r++)
|
|
3080
3078
|
this.bump();
|
|
3081
3079
|
return !0;
|
|
@@ -3097,7 +3095,7 @@ var Bn = (
|
|
|
3097
3095
|
break;
|
|
3098
3096
|
}
|
|
3099
3097
|
}, e.prototype.bumpSpace = function() {
|
|
3100
|
-
for (; !this.isEOF() &&
|
|
3098
|
+
for (; !this.isEOF() && Zt(this.char()); )
|
|
3101
3099
|
this.bump();
|
|
3102
3100
|
}, e.prototype.peek = function() {
|
|
3103
3101
|
if (this.isEOF())
|
|
@@ -3110,30 +3108,30 @@ var Bn = (
|
|
|
3110
3108
|
function Ke(e) {
|
|
3111
3109
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3112
3110
|
}
|
|
3113
|
-
function
|
|
3111
|
+
function Bn(e) {
|
|
3114
3112
|
return Ke(e) || e === 47;
|
|
3115
3113
|
}
|
|
3116
|
-
function
|
|
3114
|
+
function wn(e) {
|
|
3117
3115
|
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;
|
|
3118
3116
|
}
|
|
3119
|
-
function
|
|
3117
|
+
function Zt(e) {
|
|
3120
3118
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3121
3119
|
}
|
|
3122
|
-
function
|
|
3120
|
+
function Hn(e) {
|
|
3123
3121
|
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;
|
|
3124
3122
|
}
|
|
3125
3123
|
function qe(e) {
|
|
3126
3124
|
e.forEach(function(t) {
|
|
3127
|
-
if (delete t.location,
|
|
3125
|
+
if (delete t.location, $t(t) || Dt(t))
|
|
3128
3126
|
for (var r in t.options)
|
|
3129
3127
|
delete t.options[r].location, qe(t.options[r].value);
|
|
3130
3128
|
else
|
|
3131
|
-
|
|
3129
|
+
Pt(t) && Gt(t.style) || (Ot(t) || It(t)) && We(t.style) ? delete t.style.location : Ut(t) && qe(t.children);
|
|
3132
3130
|
});
|
|
3133
3131
|
}
|
|
3134
|
-
function
|
|
3132
|
+
function Cn(e, t) {
|
|
3135
3133
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3136
|
-
var r = new
|
|
3134
|
+
var r = new Tn(e, t).parse();
|
|
3137
3135
|
if (r.err) {
|
|
3138
3136
|
var n = SyntaxError(b[r.err.kind]);
|
|
3139
3137
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3149,23 +3147,23 @@ var Ae = (
|
|
|
3149
3147
|
function(e) {
|
|
3150
3148
|
Ne(t, e);
|
|
3151
3149
|
function t(r, n, i) {
|
|
3152
|
-
var
|
|
3153
|
-
return
|
|
3150
|
+
var o = e.call(this, r) || this;
|
|
3151
|
+
return o.code = n, o.originalMessage = i, o;
|
|
3154
3152
|
}
|
|
3155
3153
|
return t.prototype.toString = function() {
|
|
3156
3154
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3157
3155
|
}, t;
|
|
3158
3156
|
}(Error)
|
|
3159
|
-
),
|
|
3157
|
+
), pt = (
|
|
3160
3158
|
/** @class */
|
|
3161
3159
|
function(e) {
|
|
3162
3160
|
Ne(t, e);
|
|
3163
|
-
function t(r, n, i,
|
|
3164
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE,
|
|
3161
|
+
function t(r, n, i, o) {
|
|
3162
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), he.INVALID_VALUE, o) || this;
|
|
3165
3163
|
}
|
|
3166
3164
|
return t;
|
|
3167
3165
|
}(Ae)
|
|
3168
|
-
),
|
|
3166
|
+
), Sn = (
|
|
3169
3167
|
/** @class */
|
|
3170
3168
|
function(e) {
|
|
3171
3169
|
Ne(t, e);
|
|
@@ -3174,7 +3172,7 @@ var Ae = (
|
|
|
3174
3172
|
}
|
|
3175
3173
|
return t;
|
|
3176
3174
|
}(Ae)
|
|
3177
|
-
),
|
|
3175
|
+
), Mn = (
|
|
3178
3176
|
/** @class */
|
|
3179
3177
|
function(e) {
|
|
3180
3178
|
Ne(t, e);
|
|
@@ -3187,96 +3185,96 @@ var Ae = (
|
|
|
3187
3185
|
(function(e) {
|
|
3188
3186
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3189
3187
|
})(O || (O = {}));
|
|
3190
|
-
function
|
|
3188
|
+
function Rn(e) {
|
|
3191
3189
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3192
3190
|
var n = t[t.length - 1];
|
|
3193
3191
|
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3194
3192
|
}, []);
|
|
3195
3193
|
}
|
|
3196
|
-
function
|
|
3194
|
+
function kn(e) {
|
|
3197
3195
|
return typeof e == "function";
|
|
3198
3196
|
}
|
|
3199
|
-
function we(e, t, r, n, i,
|
|
3200
|
-
if (e.length === 1 &&
|
|
3197
|
+
function we(e, t, r, n, i, o, s) {
|
|
3198
|
+
if (e.length === 1 && ut(e[0]))
|
|
3201
3199
|
return [
|
|
3202
3200
|
{
|
|
3203
3201
|
type: O.literal,
|
|
3204
3202
|
value: e[0].value
|
|
3205
3203
|
}
|
|
3206
3204
|
];
|
|
3207
|
-
for (var
|
|
3205
|
+
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3208
3206
|
var l = u[h];
|
|
3209
|
-
if (
|
|
3210
|
-
|
|
3207
|
+
if (ut(l)) {
|
|
3208
|
+
a.push({
|
|
3211
3209
|
type: O.literal,
|
|
3212
3210
|
value: l.value
|
|
3213
3211
|
});
|
|
3214
3212
|
continue;
|
|
3215
3213
|
}
|
|
3216
|
-
if (
|
|
3217
|
-
typeof
|
|
3214
|
+
if (qr(l)) {
|
|
3215
|
+
typeof o == "number" && a.push({
|
|
3218
3216
|
type: O.literal,
|
|
3219
|
-
value: r.getNumberFormat(t).format(
|
|
3217
|
+
value: r.getNumberFormat(t).format(o)
|
|
3220
3218
|
});
|
|
3221
3219
|
continue;
|
|
3222
3220
|
}
|
|
3223
3221
|
var c = l.value;
|
|
3224
3222
|
if (!(i && c in i))
|
|
3225
|
-
throw new
|
|
3223
|
+
throw new Mn(c, s);
|
|
3226
3224
|
var f = i[c];
|
|
3227
|
-
if (
|
|
3228
|
-
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""),
|
|
3225
|
+
if (Kr(l)) {
|
|
3226
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3229
3227
|
type: typeof f == "string" ? O.literal : O.object,
|
|
3230
3228
|
value: f
|
|
3231
3229
|
});
|
|
3232
3230
|
continue;
|
|
3233
3231
|
}
|
|
3234
|
-
if (
|
|
3232
|
+
if (Ot(l)) {
|
|
3235
3233
|
var g = typeof l.style == "string" ? n.date[l.style] : We(l.style) ? l.style.parsedOptions : void 0;
|
|
3236
|
-
|
|
3234
|
+
a.push({
|
|
3237
3235
|
type: O.literal,
|
|
3238
3236
|
value: r.getDateTimeFormat(t, g).format(f)
|
|
3239
3237
|
});
|
|
3240
3238
|
continue;
|
|
3241
3239
|
}
|
|
3242
|
-
if (
|
|
3240
|
+
if (It(l)) {
|
|
3243
3241
|
var g = typeof l.style == "string" ? n.time[l.style] : We(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3244
|
-
|
|
3242
|
+
a.push({
|
|
3245
3243
|
type: O.literal,
|
|
3246
3244
|
value: r.getDateTimeFormat(t, g).format(f)
|
|
3247
3245
|
});
|
|
3248
3246
|
continue;
|
|
3249
3247
|
}
|
|
3250
|
-
if (
|
|
3251
|
-
var g = typeof l.style == "string" ? n.number[l.style] :
|
|
3252
|
-
g && g.scale && (f = f * (g.scale || 1)),
|
|
3248
|
+
if (Pt(l)) {
|
|
3249
|
+
var g = typeof l.style == "string" ? n.number[l.style] : Gt(l.style) ? l.style.parsedOptions : void 0;
|
|
3250
|
+
g && g.scale && (f = f * (g.scale || 1)), a.push({
|
|
3253
3251
|
type: O.literal,
|
|
3254
3252
|
value: r.getNumberFormat(t, g).format(f)
|
|
3255
3253
|
});
|
|
3256
3254
|
continue;
|
|
3257
3255
|
}
|
|
3258
|
-
if (
|
|
3256
|
+
if (Ut(l)) {
|
|
3259
3257
|
var y = l.children, T = l.value, w = i[T];
|
|
3260
|
-
if (!
|
|
3261
|
-
throw new
|
|
3262
|
-
var C = we(y, t, r, n, i,
|
|
3258
|
+
if (!kn(w))
|
|
3259
|
+
throw new Sn(T, "function", s);
|
|
3260
|
+
var C = we(y, t, r, n, i, o), R = w(C.map(function(A) {
|
|
3263
3261
|
return A.value;
|
|
3264
3262
|
}));
|
|
3265
|
-
Array.isArray(R) || (R = [R]),
|
|
3263
|
+
Array.isArray(R) || (R = [R]), a.push.apply(a, R.map(function(A) {
|
|
3266
3264
|
return {
|
|
3267
3265
|
type: typeof A == "string" ? O.literal : O.object,
|
|
3268
3266
|
value: A
|
|
3269
3267
|
};
|
|
3270
3268
|
}));
|
|
3271
3269
|
}
|
|
3272
|
-
if (
|
|
3270
|
+
if ($t(l)) {
|
|
3273
3271
|
var S = l.options[f] || l.options.other;
|
|
3274
3272
|
if (!S)
|
|
3275
|
-
throw new
|
|
3276
|
-
|
|
3273
|
+
throw new pt(l.value, f, Object.keys(l.options), s);
|
|
3274
|
+
a.push.apply(a, we(S.value, t, r, n, i));
|
|
3277
3275
|
continue;
|
|
3278
3276
|
}
|
|
3279
|
-
if (
|
|
3277
|
+
if (Dt(l)) {
|
|
3280
3278
|
var S = l.options["=".concat(f)];
|
|
3281
3279
|
if (!S) {
|
|
3282
3280
|
if (!Intl.PluralRules)
|
|
@@ -3287,21 +3285,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3287
3285
|
S = l.options[N] || l.options.other;
|
|
3288
3286
|
}
|
|
3289
3287
|
if (!S)
|
|
3290
|
-
throw new
|
|
3291
|
-
|
|
3288
|
+
throw new pt(l.value, f, Object.keys(l.options), s);
|
|
3289
|
+
a.push.apply(a, we(S.value, t, r, n, i, f - (l.offset || 0)));
|
|
3292
3290
|
continue;
|
|
3293
3291
|
}
|
|
3294
3292
|
}
|
|
3295
|
-
return
|
|
3293
|
+
return Rn(a);
|
|
3296
3294
|
}
|
|
3297
|
-
function
|
|
3295
|
+
function Nn(e, t) {
|
|
3298
3296
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3299
3297
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
3300
3298
|
}, {})) : e;
|
|
3301
3299
|
}
|
|
3302
|
-
function
|
|
3300
|
+
function An(e, t) {
|
|
3303
3301
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3304
|
-
return r[n] =
|
|
3302
|
+
return r[n] = Nn(e[n], t[n]), r;
|
|
3305
3303
|
}, _({}, e)) : e;
|
|
3306
3304
|
}
|
|
3307
3305
|
function Ge(e) {
|
|
@@ -3318,7 +3316,7 @@ function Ge(e) {
|
|
|
3318
3316
|
}
|
|
3319
3317
|
};
|
|
3320
3318
|
}
|
|
3321
|
-
function
|
|
3319
|
+
function Ln(e) {
|
|
3322
3320
|
return e === void 0 && (e = {
|
|
3323
3321
|
number: {},
|
|
3324
3322
|
dateTime: {},
|
|
@@ -3350,18 +3348,18 @@ function Pn(e) {
|
|
|
3350
3348
|
})
|
|
3351
3349
|
};
|
|
3352
3350
|
}
|
|
3353
|
-
var
|
|
3351
|
+
var Pn = (
|
|
3354
3352
|
/** @class */
|
|
3355
3353
|
function() {
|
|
3356
3354
|
function e(t, r, n, i) {
|
|
3357
3355
|
r === void 0 && (r = e.defaultLocale);
|
|
3358
|
-
var
|
|
3356
|
+
var o = this;
|
|
3359
3357
|
if (this.formatterCache = {
|
|
3360
3358
|
number: {},
|
|
3361
3359
|
dateTime: {},
|
|
3362
3360
|
pluralRules: {}
|
|
3363
3361
|
}, this.format = function(h) {
|
|
3364
|
-
var u =
|
|
3362
|
+
var u = o.formatToParts(h);
|
|
3365
3363
|
if (u.length === 1)
|
|
3366
3364
|
return u[0].value;
|
|
3367
3365
|
var l = u.reduce(function(c, f) {
|
|
@@ -3369,26 +3367,26 @@ var On = (
|
|
|
3369
3367
|
}, []);
|
|
3370
3368
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3371
3369
|
}, this.formatToParts = function(h) {
|
|
3372
|
-
return we(
|
|
3370
|
+
return we(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3373
3371
|
}, this.resolvedOptions = function() {
|
|
3374
3372
|
var h;
|
|
3375
3373
|
return {
|
|
3376
|
-
locale: ((h =
|
|
3374
|
+
locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3377
3375
|
};
|
|
3378
3376
|
}, this.getAst = function() {
|
|
3379
|
-
return
|
|
3377
|
+
return o.ast;
|
|
3380
3378
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3381
3379
|
if (this.message = t, !e.__parse)
|
|
3382
3380
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3383
3381
|
var s = i || {};
|
|
3384
3382
|
s.formatters;
|
|
3385
|
-
var
|
|
3386
|
-
this.ast = e.__parse(t, _(_({},
|
|
3383
|
+
var a = jr(s, ["formatters"]);
|
|
3384
|
+
this.ast = e.__parse(t, _(_({}, a), { locale: this.resolvedLocale }));
|
|
3387
3385
|
} else
|
|
3388
3386
|
this.ast = t;
|
|
3389
3387
|
if (!Array.isArray(this.ast))
|
|
3390
3388
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3391
|
-
this.formats =
|
|
3389
|
+
this.formats = An(e.formats, n), this.formatters = i && i.formatters || Ln(this.formatterCache);
|
|
3392
3390
|
}
|
|
3393
3391
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3394
3392
|
get: function() {
|
|
@@ -3401,7 +3399,7 @@ var On = (
|
|
|
3401
3399
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3402
3400
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3403
3401
|
}
|
|
3404
|
-
}, e.__parse =
|
|
3402
|
+
}, e.__parse = Cn, e.formats = {
|
|
3405
3403
|
number: {
|
|
3406
3404
|
integer: {
|
|
3407
3405
|
maximumFractionDigits: 0
|
|
@@ -3462,7 +3460,7 @@ var On = (
|
|
|
3462
3460
|
}, e;
|
|
3463
3461
|
}()
|
|
3464
3462
|
);
|
|
3465
|
-
function
|
|
3463
|
+
function On(e, t) {
|
|
3466
3464
|
if (t == null)
|
|
3467
3465
|
return;
|
|
3468
3466
|
if (t in e)
|
|
@@ -3472,9 +3470,9 @@ function In(e, t) {
|
|
|
3472
3470
|
for (let i = 0; i < r.length; i++)
|
|
3473
3471
|
if (typeof n == "object") {
|
|
3474
3472
|
if (i > 0) {
|
|
3475
|
-
const
|
|
3476
|
-
if (
|
|
3477
|
-
n = n[
|
|
3473
|
+
const o = r.slice(i, r.length).join(".");
|
|
3474
|
+
if (o in n) {
|
|
3475
|
+
n = n[o];
|
|
3478
3476
|
break;
|
|
3479
3477
|
}
|
|
3480
3478
|
}
|
|
@@ -3483,60 +3481,60 @@ function In(e, t) {
|
|
|
3483
3481
|
n = void 0;
|
|
3484
3482
|
return n;
|
|
3485
3483
|
}
|
|
3486
|
-
const q = {},
|
|
3484
|
+
const q = {}, In = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Jt = (e, t) => {
|
|
3487
3485
|
if (t == null)
|
|
3488
3486
|
return;
|
|
3489
3487
|
if (t in q && e in q[t])
|
|
3490
3488
|
return q[t][e];
|
|
3491
3489
|
const r = Le(t);
|
|
3492
3490
|
for (let n = 0; n < r.length; n++) {
|
|
3493
|
-
const i = r[n],
|
|
3494
|
-
if (
|
|
3495
|
-
return
|
|
3491
|
+
const i = r[n], o = Dn(i, e);
|
|
3492
|
+
if (o)
|
|
3493
|
+
return In(e, t, o);
|
|
3496
3494
|
}
|
|
3497
3495
|
};
|
|
3498
|
-
let
|
|
3496
|
+
let rt;
|
|
3499
3497
|
const me = ke({});
|
|
3500
|
-
function
|
|
3501
|
-
return
|
|
3498
|
+
function $n(e) {
|
|
3499
|
+
return rt[e] || null;
|
|
3502
3500
|
}
|
|
3503
|
-
function
|
|
3504
|
-
return e in
|
|
3501
|
+
function Yt(e) {
|
|
3502
|
+
return e in rt;
|
|
3505
3503
|
}
|
|
3506
|
-
function
|
|
3507
|
-
if (!
|
|
3504
|
+
function Dn(e, t) {
|
|
3505
|
+
if (!Yt(e))
|
|
3508
3506
|
return null;
|
|
3509
|
-
const r =
|
|
3510
|
-
return
|
|
3507
|
+
const r = $n(e);
|
|
3508
|
+
return On(r, t);
|
|
3511
3509
|
}
|
|
3512
|
-
function
|
|
3510
|
+
function Un(e) {
|
|
3513
3511
|
if (e == null)
|
|
3514
3512
|
return;
|
|
3515
3513
|
const t = Le(e);
|
|
3516
3514
|
for (let r = 0; r < t.length; r++) {
|
|
3517
3515
|
const n = t[r];
|
|
3518
|
-
if (
|
|
3516
|
+
if (Yt(n))
|
|
3519
3517
|
return n;
|
|
3520
3518
|
}
|
|
3521
3519
|
}
|
|
3522
|
-
function
|
|
3523
|
-
delete q[e], me.update((r) => (r[e] =
|
|
3520
|
+
function Kt(e, ...t) {
|
|
3521
|
+
delete q[e], me.update((r) => (r[e] = Fr.all([r[e] || {}, ...t]), r));
|
|
3524
3522
|
}
|
|
3525
3523
|
fe(
|
|
3526
3524
|
[me],
|
|
3527
3525
|
([e]) => Object.keys(e)
|
|
3528
3526
|
);
|
|
3529
|
-
me.subscribe((e) =>
|
|
3527
|
+
me.subscribe((e) => rt = e);
|
|
3530
3528
|
const He = {};
|
|
3531
|
-
function
|
|
3529
|
+
function Gn(e, t) {
|
|
3532
3530
|
He[e].delete(t), He[e].size === 0 && delete He[e];
|
|
3533
3531
|
}
|
|
3534
|
-
function
|
|
3532
|
+
function qt(e) {
|
|
3535
3533
|
return He[e];
|
|
3536
3534
|
}
|
|
3537
|
-
function
|
|
3535
|
+
function Fn(e) {
|
|
3538
3536
|
return Le(e).map((t) => {
|
|
3539
|
-
const r =
|
|
3537
|
+
const r = qt(t);
|
|
3540
3538
|
return [t, r ? [...r] : []];
|
|
3541
3539
|
}).filter(([, t]) => t.length > 0);
|
|
3542
3540
|
}
|
|
@@ -3544,31 +3542,31 @@ function Qe(e) {
|
|
|
3544
3542
|
return e == null ? !1 : Le(e).some(
|
|
3545
3543
|
(t) => {
|
|
3546
3544
|
var r;
|
|
3547
|
-
return (r =
|
|
3545
|
+
return (r = qt(t)) == null ? void 0 : r.size;
|
|
3548
3546
|
}
|
|
3549
3547
|
);
|
|
3550
3548
|
}
|
|
3551
|
-
function
|
|
3549
|
+
function jn(e, t) {
|
|
3552
3550
|
return Promise.all(
|
|
3553
|
-
t.map((n) => (
|
|
3554
|
-
).then((n) =>
|
|
3551
|
+
t.map((n) => (Gn(e, n), n().then((i) => i.default || i)))
|
|
3552
|
+
).then((n) => Kt(e, ...n));
|
|
3555
3553
|
}
|
|
3556
3554
|
const pe = {};
|
|
3557
|
-
function
|
|
3555
|
+
function Qt(e) {
|
|
3558
3556
|
if (!Qe(e))
|
|
3559
3557
|
return e in pe ? pe[e] : Promise.resolve();
|
|
3560
|
-
const t =
|
|
3558
|
+
const t = Fn(e);
|
|
3561
3559
|
return pe[e] = Promise.all(
|
|
3562
3560
|
t.map(
|
|
3563
|
-
([r, n]) =>
|
|
3561
|
+
([r, n]) => jn(r, n)
|
|
3564
3562
|
)
|
|
3565
3563
|
).then(() => {
|
|
3566
3564
|
if (Qe(e))
|
|
3567
|
-
return
|
|
3565
|
+
return Qt(e);
|
|
3568
3566
|
delete pe[e];
|
|
3569
3567
|
}), pe[e];
|
|
3570
3568
|
}
|
|
3571
|
-
const
|
|
3569
|
+
const Vn = {
|
|
3572
3570
|
number: {
|
|
3573
3571
|
scientific: { notation: "scientific" },
|
|
3574
3572
|
engineering: { notation: "engineering" },
|
|
@@ -3597,34 +3595,34 @@ const zn = {
|
|
|
3597
3595
|
timeZoneName: "short"
|
|
3598
3596
|
}
|
|
3599
3597
|
}
|
|
3600
|
-
},
|
|
3598
|
+
}, zn = {
|
|
3601
3599
|
fallbackLocale: null,
|
|
3602
3600
|
loadingDelay: 200,
|
|
3603
|
-
formats:
|
|
3601
|
+
formats: Vn,
|
|
3604
3602
|
warnOnMissingMessages: !0,
|
|
3605
3603
|
handleMissingMessage: void 0,
|
|
3606
3604
|
ignoreTag: !0
|
|
3607
|
-
},
|
|
3605
|
+
}, Xn = zn;
|
|
3608
3606
|
function ce() {
|
|
3609
|
-
return
|
|
3607
|
+
return Xn;
|
|
3610
3608
|
}
|
|
3611
3609
|
const Fe = ke(!1);
|
|
3612
|
-
var
|
|
3610
|
+
var Wn = Object.defineProperty, Zn = Object.defineProperties, Jn = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, Yn = Object.prototype.hasOwnProperty, Kn = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qn = (e, t) => {
|
|
3613
3611
|
for (var r in t || (t = {}))
|
|
3614
|
-
|
|
3615
|
-
if (
|
|
3616
|
-
for (var r of
|
|
3617
|
-
|
|
3612
|
+
Yn.call(t, r) && gt(e, r, t[r]);
|
|
3613
|
+
if (bt)
|
|
3614
|
+
for (var r of bt(t))
|
|
3615
|
+
Kn.call(t, r) && gt(e, r, t[r]);
|
|
3618
3616
|
return e;
|
|
3619
|
-
},
|
|
3617
|
+
}, Qn = (e, t) => Zn(e, Jn(t));
|
|
3620
3618
|
let et;
|
|
3621
3619
|
const Ce = ke(null);
|
|
3622
|
-
function
|
|
3620
|
+
function yt(e) {
|
|
3623
3621
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3624
3622
|
}
|
|
3625
3623
|
function Le(e, t = ce().fallbackLocale) {
|
|
3626
|
-
const r =
|
|
3627
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3624
|
+
const r = yt(e);
|
|
3625
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
|
|
3628
3626
|
}
|
|
3629
3627
|
function ne() {
|
|
3630
3628
|
return et ?? void 0;
|
|
@@ -3632,22 +3630,22 @@ function ne() {
|
|
|
3632
3630
|
Ce.subscribe((e) => {
|
|
3633
3631
|
et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3634
3632
|
});
|
|
3635
|
-
const
|
|
3636
|
-
if (e &&
|
|
3633
|
+
const ei = (e) => {
|
|
3634
|
+
if (e && Un(e) && Qe(e)) {
|
|
3637
3635
|
const { loadingDelay: t } = ce();
|
|
3638
3636
|
let r;
|
|
3639
3637
|
return typeof window < "u" && ne() != null && t ? r = window.setTimeout(
|
|
3640
3638
|
() => Fe.set(!0),
|
|
3641
3639
|
t
|
|
3642
|
-
) : Fe.set(!0),
|
|
3640
|
+
) : Fe.set(!0), Qt(e).then(() => {
|
|
3643
3641
|
Ce.set(e);
|
|
3644
3642
|
}).finally(() => {
|
|
3645
3643
|
clearTimeout(r), Fe.set(!1);
|
|
3646
3644
|
});
|
|
3647
3645
|
}
|
|
3648
3646
|
return Ce.set(e);
|
|
3649
|
-
}, Q =
|
|
3650
|
-
set:
|
|
3647
|
+
}, Q = Qn(qn({}, Ce), {
|
|
3648
|
+
set: ei
|
|
3651
3649
|
}), Pe = (e) => {
|
|
3652
3650
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3653
3651
|
return (n) => {
|
|
@@ -3655,20 +3653,20 @@ const ti = (e) => {
|
|
|
3655
3653
|
return i in t ? t[i] : t[i] = e(n);
|
|
3656
3654
|
};
|
|
3657
3655
|
};
|
|
3658
|
-
var
|
|
3656
|
+
var ti = Object.defineProperty, Se = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
|
3659
3657
|
for (var r in t || (t = {}))
|
|
3660
|
-
|
|
3658
|
+
er.call(t, r) && vt(e, r, t[r]);
|
|
3661
3659
|
if (Se)
|
|
3662
3660
|
for (var r of Se(t))
|
|
3663
|
-
|
|
3661
|
+
tr.call(t, r) && vt(e, r, t[r]);
|
|
3664
3662
|
return e;
|
|
3665
3663
|
}, de = (e, t) => {
|
|
3666
3664
|
var r = {};
|
|
3667
3665
|
for (var n in e)
|
|
3668
|
-
|
|
3666
|
+
er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3669
3667
|
if (e != null && Se)
|
|
3670
3668
|
for (var n of Se(e))
|
|
3671
|
-
t.indexOf(n) < 0 &&
|
|
3669
|
+
t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
|
|
3672
3670
|
return r;
|
|
3673
3671
|
};
|
|
3674
3672
|
const ve = (e, t) => {
|
|
@@ -3676,21 +3674,21 @@ const ve = (e, t) => {
|
|
|
3676
3674
|
if (e in r && t in r[e])
|
|
3677
3675
|
return r[e][t];
|
|
3678
3676
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3679
|
-
},
|
|
3677
|
+
}, ri = Pe(
|
|
3680
3678
|
(e) => {
|
|
3681
3679
|
var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
|
|
3682
3680
|
if (r == null)
|
|
3683
3681
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3684
3682
|
return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
|
|
3685
3683
|
}
|
|
3686
|
-
),
|
|
3684
|
+
), ni = Pe(
|
|
3687
3685
|
(e) => {
|
|
3688
3686
|
var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
|
|
3689
3687
|
if (r == null)
|
|
3690
3688
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3691
3689
|
return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3692
3690
|
}
|
|
3693
|
-
),
|
|
3691
|
+
), ii = Pe(
|
|
3694
3692
|
(e) => {
|
|
3695
3693
|
var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
|
|
3696
3694
|
if (r == null)
|
|
@@ -3705,32 +3703,32 @@ const ve = (e, t) => {
|
|
|
3705
3703
|
} = t, n = de(t, [
|
|
3706
3704
|
"locale"
|
|
3707
3705
|
]);
|
|
3708
|
-
return
|
|
3709
|
-
},
|
|
3706
|
+
return ri(nt({ locale: r }, n));
|
|
3707
|
+
}, ai = (e = {}) => {
|
|
3710
3708
|
var t = e, {
|
|
3711
3709
|
locale: r = ne()
|
|
3712
3710
|
} = t, n = de(t, [
|
|
3713
3711
|
"locale"
|
|
3714
3712
|
]);
|
|
3715
|
-
return
|
|
3716
|
-
},
|
|
3713
|
+
return ni(nt({ locale: r }, n));
|
|
3714
|
+
}, si = (e = {}) => {
|
|
3717
3715
|
var t = e, {
|
|
3718
3716
|
locale: r = ne()
|
|
3719
3717
|
} = t, n = de(t, [
|
|
3720
3718
|
"locale"
|
|
3721
3719
|
]);
|
|
3722
|
-
return
|
|
3723
|
-
},
|
|
3720
|
+
return ii(nt({ locale: r }, n));
|
|
3721
|
+
}, ui = Pe(
|
|
3724
3722
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3725
|
-
(e, t = ne()) => new
|
|
3723
|
+
(e, t = ne()) => new Pn(e, t, ce().formats, {
|
|
3726
3724
|
ignoreTag: ce().ignoreTag
|
|
3727
3725
|
})
|
|
3728
|
-
),
|
|
3729
|
-
var r, n, i,
|
|
3726
|
+
), li = (e, t = {}) => {
|
|
3727
|
+
var r, n, i, o;
|
|
3730
3728
|
let s = t;
|
|
3731
3729
|
typeof e == "object" && (s = e, e = s.id);
|
|
3732
3730
|
const {
|
|
3733
|
-
values:
|
|
3731
|
+
values: a,
|
|
3734
3732
|
locale: h = ne(),
|
|
3735
3733
|
default: u
|
|
3736
3734
|
} = s;
|
|
@@ -3738,18 +3736,18 @@ const ve = (e, t) => {
|
|
|
3738
3736
|
throw new Error(
|
|
3739
3737
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3740
3738
|
);
|
|
3741
|
-
let l =
|
|
3739
|
+
let l = Jt(e, h);
|
|
3742
3740
|
if (!l)
|
|
3743
|
-
l = (
|
|
3741
|
+
l = (o = (i = (n = (r = ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
3744
3742
|
else if (typeof l != "string")
|
|
3745
3743
|
return console.warn(
|
|
3746
3744
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3747
3745
|
), l;
|
|
3748
|
-
if (!
|
|
3746
|
+
if (!a)
|
|
3749
3747
|
return l;
|
|
3750
3748
|
let c = l;
|
|
3751
3749
|
try {
|
|
3752
|
-
c =
|
|
3750
|
+
c = ui(l, h).format(a);
|
|
3753
3751
|
} catch (f) {
|
|
3754
3752
|
f instanceof Error && console.warn(
|
|
3755
3753
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3757,23 +3755,23 @@ const ve = (e, t) => {
|
|
|
3757
3755
|
);
|
|
3758
3756
|
}
|
|
3759
3757
|
return c;
|
|
3760
|
-
},
|
|
3758
|
+
}, hi = (e, t) => si(t).format(e), ci = (e, t) => ai(t).format(e), fi = (e, t) => oi(t).format(e), mi = (e, t = ne()) => Jt(e, t), di = fe([Q, me], () => li);
|
|
3759
|
+
fe([Q], () => hi);
|
|
3761
3760
|
fe([Q], () => ci);
|
|
3762
3761
|
fe([Q], () => fi);
|
|
3763
|
-
fe([Q], () => mi);
|
|
3764
|
-
|
|
3765
|
-
function bi({ withLocale: e, translations: t }) {
|
|
3762
|
+
fe([Q, me], () => mi);
|
|
3763
|
+
function pi({ withLocale: e, translations: t }) {
|
|
3766
3764
|
Q.subscribe((r) => {
|
|
3767
3765
|
r == null && (me.set(t), Q.set(e));
|
|
3768
3766
|
});
|
|
3769
3767
|
}
|
|
3770
|
-
function
|
|
3771
|
-
|
|
3768
|
+
function _t(e, t) {
|
|
3769
|
+
Kt(e, t);
|
|
3772
3770
|
}
|
|
3773
|
-
function
|
|
3771
|
+
function bi(e) {
|
|
3774
3772
|
Q.set(e);
|
|
3775
3773
|
}
|
|
3776
|
-
const
|
|
3774
|
+
const Et = {
|
|
3777
3775
|
en: {
|
|
3778
3776
|
scoreCriteriaType: {
|
|
3779
3777
|
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.",
|
|
@@ -4020,11 +4018,11 @@ const Tt = {
|
|
|
4020
4018
|
YER: "﷼",
|
|
4021
4019
|
ZAR: "R",
|
|
4022
4020
|
ZWD: "Z$"
|
|
4023
|
-
},
|
|
4024
|
-
function
|
|
4025
|
-
|
|
4021
|
+
}, gi = "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", yi = "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", rr = "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", vi = "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", _i = "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";
|
|
4022
|
+
function Ei(e) {
|
|
4023
|
+
or(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}");
|
|
4026
4024
|
}
|
|
4027
|
-
function
|
|
4025
|
+
function xt(e) {
|
|
4028
4026
|
let t, r = (
|
|
4029
4027
|
/*$_*/
|
|
4030
4028
|
e[13]("scoreCriteriaType.mostRounds") + ""
|
|
@@ -4033,11 +4031,11 @@ function Bt(e) {
|
|
|
4033
4031
|
c() {
|
|
4034
4032
|
t = new Re(!1), n = Me(), t.a = n;
|
|
4035
4033
|
},
|
|
4036
|
-
m(i,
|
|
4037
|
-
t.m(r, i,
|
|
4034
|
+
m(i, o) {
|
|
4035
|
+
t.m(r, i, o), M(i, n, o);
|
|
4038
4036
|
},
|
|
4039
|
-
p(i,
|
|
4040
|
-
|
|
4037
|
+
p(i, o) {
|
|
4038
|
+
o & /*$_*/
|
|
4041
4039
|
8192 && r !== (r = /*$_*/
|
|
4042
4040
|
i[13]("scoreCriteriaType.mostRounds") + "") && t.p(r);
|
|
4043
4041
|
},
|
|
@@ -4046,7 +4044,7 @@ function Bt(e) {
|
|
|
4046
4044
|
}
|
|
4047
4045
|
};
|
|
4048
4046
|
}
|
|
4049
|
-
function
|
|
4047
|
+
function Tt(e) {
|
|
4050
4048
|
let t, r = (
|
|
4051
4049
|
/*$_*/
|
|
4052
4050
|
e[13]("scoreCriteriaType.winStateRatio") + ""
|
|
@@ -4055,11 +4053,11 @@ function wt(e) {
|
|
|
4055
4053
|
c() {
|
|
4056
4054
|
t = new Re(!1), n = Me(), t.a = n;
|
|
4057
4055
|
},
|
|
4058
|
-
m(i,
|
|
4059
|
-
t.m(r, i,
|
|
4056
|
+
m(i, o) {
|
|
4057
|
+
t.m(r, i, o), M(i, n, o);
|
|
4060
4058
|
},
|
|
4061
|
-
p(i,
|
|
4062
|
-
|
|
4059
|
+
p(i, o) {
|
|
4060
|
+
o & /*$_*/
|
|
4063
4061
|
8192 && r !== (r = /*$_*/
|
|
4064
4062
|
i[13]("scoreCriteriaType.winStateRatio") + "") && t.p(r);
|
|
4065
4063
|
},
|
|
@@ -4068,7 +4066,7 @@ function wt(e) {
|
|
|
4068
4066
|
}
|
|
4069
4067
|
};
|
|
4070
4068
|
}
|
|
4071
|
-
function
|
|
4069
|
+
function Bt(e) {
|
|
4072
4070
|
let t, r = (
|
|
4073
4071
|
/*$_*/
|
|
4074
4072
|
e[13]("scoreCriteriaType.maxWinStateRatio") + ""
|
|
@@ -4077,11 +4075,11 @@ function Ht(e) {
|
|
|
4077
4075
|
c() {
|
|
4078
4076
|
t = new Re(!1), n = Me(), t.a = n;
|
|
4079
4077
|
},
|
|
4080
|
-
m(i,
|
|
4081
|
-
t.m(r, i,
|
|
4078
|
+
m(i, o) {
|
|
4079
|
+
t.m(r, i, o), M(i, n, o);
|
|
4082
4080
|
},
|
|
4083
|
-
p(i,
|
|
4084
|
-
|
|
4081
|
+
p(i, o) {
|
|
4082
|
+
o & /*$_*/
|
|
4085
4083
|
8192 && r !== (r = /*$_*/
|
|
4086
4084
|
i[13]("scoreCriteriaType.maxWinStateRatio") + "") && t.p(r);
|
|
4087
4085
|
},
|
|
@@ -4090,7 +4088,7 @@ function Ht(e) {
|
|
|
4090
4088
|
}
|
|
4091
4089
|
};
|
|
4092
4090
|
}
|
|
4093
|
-
function
|
|
4091
|
+
function wt(e) {
|
|
4094
4092
|
let t, r = (
|
|
4095
4093
|
/*$_*/
|
|
4096
4094
|
e[13]("scoreCriteriaType.stake") + ""
|
|
@@ -4099,11 +4097,11 @@ function Ct(e) {
|
|
|
4099
4097
|
c() {
|
|
4100
4098
|
t = new Re(!1), n = Me(), t.a = n;
|
|
4101
4099
|
},
|
|
4102
|
-
m(i,
|
|
4103
|
-
t.m(r, i,
|
|
4100
|
+
m(i, o) {
|
|
4101
|
+
t.m(r, i, o), M(i, n, o);
|
|
4104
4102
|
},
|
|
4105
|
-
p(i,
|
|
4106
|
-
|
|
4103
|
+
p(i, o) {
|
|
4104
|
+
o & /*$_*/
|
|
4107
4105
|
8192 && r !== (r = /*$_*/
|
|
4108
4106
|
i[13]("scoreCriteriaType.stake") + "") && t.p(r);
|
|
4109
4107
|
},
|
|
@@ -4112,38 +4110,38 @@ function Ct(e) {
|
|
|
4112
4110
|
}
|
|
4113
4111
|
};
|
|
4114
4112
|
}
|
|
4115
|
-
function
|
|
4113
|
+
function Ht(e) {
|
|
4116
4114
|
let t, r, n;
|
|
4117
|
-
function i(
|
|
4115
|
+
function i(a, h) {
|
|
4118
4116
|
return (
|
|
4119
4117
|
/*noMinCasinoBet*/
|
|
4120
|
-
|
|
4121
|
-
|
|
4118
|
+
a[8] && /*noMaxCasinoBet*/
|
|
4119
|
+
a[9] ? wi : (
|
|
4122
4120
|
/*noMinCasinoBet*/
|
|
4123
|
-
|
|
4121
|
+
a[8] ? Bi : (
|
|
4124
4122
|
/*noMaxCasinoBet*/
|
|
4125
|
-
|
|
4123
|
+
a[9] ? Ti : xi
|
|
4126
4124
|
)
|
|
4127
4125
|
)
|
|
4128
4126
|
);
|
|
4129
4127
|
}
|
|
4130
|
-
let
|
|
4128
|
+
let o = i(e), s = o(e);
|
|
4131
4129
|
return {
|
|
4132
4130
|
c() {
|
|
4133
|
-
t = x("div"), r = x("div"), r.innerHTML = `<img src="${
|
|
4131
|
+
t = x("div"), r = x("div"), r.innerHTML = `<img src="${rr}"/>`, n = P(), s.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
|
|
4134
4132
|
},
|
|
4135
|
-
m(
|
|
4136
|
-
M(
|
|
4133
|
+
m(a, h) {
|
|
4134
|
+
M(a, t, h), p(t, r), p(t, n), s.m(t, null);
|
|
4137
4135
|
},
|
|
4138
|
-
p(
|
|
4139
|
-
|
|
4136
|
+
p(a, h) {
|
|
4137
|
+
o === (o = i(a)) && s ? s.p(a, h) : (s.d(1), s = o(a), s && (s.c(), s.m(t, null)));
|
|
4140
4138
|
},
|
|
4141
|
-
d(
|
|
4142
|
-
|
|
4139
|
+
d(a) {
|
|
4140
|
+
a && H(t), s.d();
|
|
4143
4141
|
}
|
|
4144
4142
|
};
|
|
4145
4143
|
}
|
|
4146
|
-
function
|
|
4144
|
+
function xi(e) {
|
|
4147
4145
|
let t, r = (
|
|
4148
4146
|
/*$_*/
|
|
4149
4147
|
e[13]("productMinMaxBet", {
|
|
@@ -4177,11 +4175,11 @@ function Ti(e) {
|
|
|
4177
4175
|
c() {
|
|
4178
4176
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4179
4177
|
},
|
|
4180
|
-
m(i,
|
|
4181
|
-
M(i, t,
|
|
4178
|
+
m(i, o) {
|
|
4179
|
+
M(i, t, o), p(t, n);
|
|
4182
4180
|
},
|
|
4183
|
-
p(i,
|
|
4184
|
-
|
|
4181
|
+
p(i, o) {
|
|
4182
|
+
o & /*$_, casino, currency*/
|
|
4185
4183
|
12352 && r !== (r = /*$_*/
|
|
4186
4184
|
i[13]("productMinMaxBet", {
|
|
4187
4185
|
values: {
|
|
@@ -4215,7 +4213,7 @@ function Ti(e) {
|
|
|
4215
4213
|
}
|
|
4216
4214
|
};
|
|
4217
4215
|
}
|
|
4218
|
-
function
|
|
4216
|
+
function Ti(e) {
|
|
4219
4217
|
let t, r = (
|
|
4220
4218
|
/*$_*/
|
|
4221
4219
|
e[13]("productMinBet", {
|
|
@@ -4240,11 +4238,11 @@ function Bi(e) {
|
|
|
4240
4238
|
c() {
|
|
4241
4239
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4242
4240
|
},
|
|
4243
|
-
m(i,
|
|
4244
|
-
M(i, t,
|
|
4241
|
+
m(i, o) {
|
|
4242
|
+
M(i, t, o), p(t, n);
|
|
4245
4243
|
},
|
|
4246
|
-
p(i,
|
|
4247
|
-
|
|
4244
|
+
p(i, o) {
|
|
4245
|
+
o & /*$_, casino, currency*/
|
|
4248
4246
|
12352 && r !== (r = /*$_*/
|
|
4249
4247
|
i[13]("productMinBet", {
|
|
4250
4248
|
values: {
|
|
@@ -4269,7 +4267,7 @@ function Bi(e) {
|
|
|
4269
4267
|
}
|
|
4270
4268
|
};
|
|
4271
4269
|
}
|
|
4272
|
-
function
|
|
4270
|
+
function Bi(e) {
|
|
4273
4271
|
let t, r = (
|
|
4274
4272
|
/*$_*/
|
|
4275
4273
|
e[13]("productMaxBet", {
|
|
@@ -4294,11 +4292,11 @@ function wi(e) {
|
|
|
4294
4292
|
c() {
|
|
4295
4293
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4296
4294
|
},
|
|
4297
|
-
m(i,
|
|
4298
|
-
M(i, t,
|
|
4295
|
+
m(i, o) {
|
|
4296
|
+
M(i, t, o), p(t, n);
|
|
4299
4297
|
},
|
|
4300
|
-
p(i,
|
|
4301
|
-
|
|
4298
|
+
p(i, o) {
|
|
4299
|
+
o & /*$_, casino, currency*/
|
|
4302
4300
|
12352 && r !== (r = /*$_*/
|
|
4303
4301
|
i[13]("productMaxBet", {
|
|
4304
4302
|
values: {
|
|
@@ -4323,7 +4321,7 @@ function wi(e) {
|
|
|
4323
4321
|
}
|
|
4324
4322
|
};
|
|
4325
4323
|
}
|
|
4326
|
-
function
|
|
4324
|
+
function wi(e) {
|
|
4327
4325
|
let t, r = (
|
|
4328
4326
|
/*$_*/
|
|
4329
4327
|
e[13]("productNoLimitsBet", {
|
|
@@ -4337,11 +4335,11 @@ function Hi(e) {
|
|
|
4337
4335
|
c() {
|
|
4338
4336
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4339
4337
|
},
|
|
4340
|
-
m(i,
|
|
4341
|
-
M(i, t,
|
|
4338
|
+
m(i, o) {
|
|
4339
|
+
M(i, t, o), p(t, n);
|
|
4342
4340
|
},
|
|
4343
|
-
p(i,
|
|
4344
|
-
|
|
4341
|
+
p(i, o) {
|
|
4342
|
+
o & /*$_, casino*/
|
|
4345
4343
|
8256 && r !== (r = /*$_*/
|
|
4346
4344
|
i[13]("productNoLimitsBet", {
|
|
4347
4345
|
values: { productName: (
|
|
@@ -4355,38 +4353,38 @@ function Hi(e) {
|
|
|
4355
4353
|
}
|
|
4356
4354
|
};
|
|
4357
4355
|
}
|
|
4358
|
-
function
|
|
4356
|
+
function Ct(e) {
|
|
4359
4357
|
let t, r, n;
|
|
4360
|
-
function i(
|
|
4358
|
+
function i(a, h) {
|
|
4361
4359
|
return (
|
|
4362
4360
|
/*noMinSportsBet*/
|
|
4363
|
-
|
|
4364
|
-
|
|
4361
|
+
a[10] && /*noMaxSportsBet*/
|
|
4362
|
+
a[11] ? Mi : (
|
|
4365
4363
|
/*noMinSportsBet*/
|
|
4366
|
-
|
|
4364
|
+
a[10] ? Si : (
|
|
4367
4365
|
/*noMaxSportsBet*/
|
|
4368
|
-
|
|
4366
|
+
a[11] ? Ci : Hi
|
|
4369
4367
|
)
|
|
4370
4368
|
)
|
|
4371
4369
|
);
|
|
4372
4370
|
}
|
|
4373
|
-
let
|
|
4371
|
+
let o = i(e), s = o(e);
|
|
4374
4372
|
return {
|
|
4375
4373
|
c() {
|
|
4376
|
-
t = x("div"), r = x("div"), r.innerHTML = `<img src="${
|
|
4374
|
+
t = x("div"), r = x("div"), r.innerHTML = `<img src="${rr}"/>`, n = P(), s.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
|
|
4377
4375
|
},
|
|
4378
|
-
m(
|
|
4379
|
-
M(
|
|
4376
|
+
m(a, h) {
|
|
4377
|
+
M(a, t, h), p(t, r), p(t, n), s.m(t, null);
|
|
4380
4378
|
},
|
|
4381
|
-
p(
|
|
4382
|
-
|
|
4379
|
+
p(a, h) {
|
|
4380
|
+
o === (o = i(a)) && s ? s.p(a, h) : (s.d(1), s = o(a), s && (s.c(), s.m(t, null)));
|
|
4383
4381
|
},
|
|
4384
|
-
d(
|
|
4385
|
-
|
|
4382
|
+
d(a) {
|
|
4383
|
+
a && H(t), s.d();
|
|
4386
4384
|
}
|
|
4387
4385
|
};
|
|
4388
4386
|
}
|
|
4389
|
-
function
|
|
4387
|
+
function Hi(e) {
|
|
4390
4388
|
let t, r = (
|
|
4391
4389
|
/*$_*/
|
|
4392
4390
|
e[13]("productMinMaxBet", {
|
|
@@ -4420,11 +4418,11 @@ function Ci(e) {
|
|
|
4420
4418
|
c() {
|
|
4421
4419
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4422
4420
|
},
|
|
4423
|
-
m(i,
|
|
4424
|
-
M(i, t,
|
|
4421
|
+
m(i, o) {
|
|
4422
|
+
M(i, t, o), p(t, n);
|
|
4425
4423
|
},
|
|
4426
|
-
p(i,
|
|
4427
|
-
|
|
4424
|
+
p(i, o) {
|
|
4425
|
+
o & /*$_, sports, currency*/
|
|
4428
4426
|
12416 && r !== (r = /*$_*/
|
|
4429
4427
|
i[13]("productMinMaxBet", {
|
|
4430
4428
|
values: {
|
|
@@ -4458,7 +4456,7 @@ function Ci(e) {
|
|
|
4458
4456
|
}
|
|
4459
4457
|
};
|
|
4460
4458
|
}
|
|
4461
|
-
function
|
|
4459
|
+
function Ci(e) {
|
|
4462
4460
|
let t, r = (
|
|
4463
4461
|
/*$_*/
|
|
4464
4462
|
e[13]("productMinBet", {
|
|
@@ -4483,11 +4481,11 @@ function Si(e) {
|
|
|
4483
4481
|
c() {
|
|
4484
4482
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4485
4483
|
},
|
|
4486
|
-
m(i,
|
|
4487
|
-
M(i, t,
|
|
4484
|
+
m(i, o) {
|
|
4485
|
+
M(i, t, o), p(t, n);
|
|
4488
4486
|
},
|
|
4489
|
-
p(i,
|
|
4490
|
-
|
|
4487
|
+
p(i, o) {
|
|
4488
|
+
o & /*$_, sports, currency*/
|
|
4491
4489
|
12416 && r !== (r = /*$_*/
|
|
4492
4490
|
i[13]("productMinBet", {
|
|
4493
4491
|
values: {
|
|
@@ -4512,7 +4510,7 @@ function Si(e) {
|
|
|
4512
4510
|
}
|
|
4513
4511
|
};
|
|
4514
4512
|
}
|
|
4515
|
-
function
|
|
4513
|
+
function Si(e) {
|
|
4516
4514
|
let t, r = (
|
|
4517
4515
|
/*$_*/
|
|
4518
4516
|
e[13]("productMaxBet", {
|
|
@@ -4537,11 +4535,11 @@ function Mi(e) {
|
|
|
4537
4535
|
c() {
|
|
4538
4536
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4539
4537
|
},
|
|
4540
|
-
m(i,
|
|
4541
|
-
M(i, t,
|
|
4538
|
+
m(i, o) {
|
|
4539
|
+
M(i, t, o), p(t, n);
|
|
4542
4540
|
},
|
|
4543
|
-
p(i,
|
|
4544
|
-
|
|
4541
|
+
p(i, o) {
|
|
4542
|
+
o & /*$_, sports, currency*/
|
|
4545
4543
|
12416 && r !== (r = /*$_*/
|
|
4546
4544
|
i[13]("productMaxBet", {
|
|
4547
4545
|
values: {
|
|
@@ -4566,7 +4564,7 @@ function Mi(e) {
|
|
|
4566
4564
|
}
|
|
4567
4565
|
};
|
|
4568
4566
|
}
|
|
4569
|
-
function
|
|
4567
|
+
function Mi(e) {
|
|
4570
4568
|
let t, r = (
|
|
4571
4569
|
/*$_*/
|
|
4572
4570
|
e[13]("productNoLimitsBet", {
|
|
@@ -4580,11 +4578,11 @@ function Ri(e) {
|
|
|
4580
4578
|
c() {
|
|
4581
4579
|
t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
|
|
4582
4580
|
},
|
|
4583
|
-
m(i,
|
|
4584
|
-
M(i, t,
|
|
4581
|
+
m(i, o) {
|
|
4582
|
+
M(i, t, o), p(t, n);
|
|
4585
4583
|
},
|
|
4586
|
-
p(i,
|
|
4587
|
-
|
|
4584
|
+
p(i, o) {
|
|
4585
|
+
o & /*$_, sports*/
|
|
4588
4586
|
8320 && r !== (r = /*$_*/
|
|
4589
4587
|
i[13]("productNoLimitsBet", {
|
|
4590
4588
|
values: { productName: (
|
|
@@ -4598,8 +4596,8 @@ function Ri(e) {
|
|
|
4598
4596
|
}
|
|
4599
4597
|
};
|
|
4600
4598
|
}
|
|
4601
|
-
function
|
|
4602
|
-
let t, r, n, i,
|
|
4599
|
+
function Ri(e) {
|
|
4600
|
+
let t, r, n, i, o, s, a, h, u, l, c, f, g, y = (
|
|
4603
4601
|
/*$_*/
|
|
4604
4602
|
e[13]("miniBetCount", {
|
|
4605
4603
|
values: { betCount: (
|
|
@@ -4627,41 +4625,41 @@ function ki(e) {
|
|
|
4627
4625
|
/*tcurl*/
|
|
4628
4626
|
e[4]
|
|
4629
4627
|
) } }) + ""
|
|
4630
|
-
), xe, d, L, X,
|
|
4628
|
+
), xe, d, L, X, it, I = (
|
|
4631
4629
|
/*scorecriterial*/
|
|
4632
|
-
e[0] == "BetCount" &&
|
|
4630
|
+
e[0] == "BetCount" && xt(e)
|
|
4633
4631
|
), $ = (
|
|
4634
4632
|
/*scorecriterial*/
|
|
4635
|
-
e[0] == "WinStakeRatio" &&
|
|
4633
|
+
e[0] == "WinStakeRatio" && Tt(e)
|
|
4636
4634
|
), D = (
|
|
4637
4635
|
/*scorecriterial*/
|
|
4638
|
-
e[0] == "MaxWinStakeRatio" &&
|
|
4636
|
+
e[0] == "MaxWinStakeRatio" && Bt(e)
|
|
4639
4637
|
), U = (
|
|
4640
4638
|
/*scorecriterial*/
|
|
4641
|
-
e[0] == "Stake" &&
|
|
4639
|
+
e[0] == "Stake" && wt(e)
|
|
4642
4640
|
), G = (
|
|
4643
4641
|
/*casino*/
|
|
4644
|
-
e[6] &&
|
|
4642
|
+
e[6] && Ht(e)
|
|
4645
4643
|
), F = (
|
|
4646
4644
|
/*sports*/
|
|
4647
|
-
e[7] &&
|
|
4645
|
+
e[7] && Ct(e)
|
|
4648
4646
|
);
|
|
4649
4647
|
return {
|
|
4650
4648
|
c() {
|
|
4651
|
-
t = x("div"), r = x("div"), n = x("div"), n.innerHTML = `<img src="${
|
|
4649
|
+
t = x("div"), r = x("div"), n = x("div"), n.innerHTML = `<img src="${yi}"/>`, i = P(), o = x("div"), I && I.c(), s = P(), $ && $.c(), a = P(), D && D.c(), h = P(), U && U.c(), u = P(), l = x("div"), c = x("div"), c.innerHTML = `<img src="${gi}"/>`, f = P(), g = x("div"), T = z(y), w = P(), C = x("div"), R = x("div"), R.innerHTML = `<img src="${vi}"/>`, S = P(), N = x("div"), Z = z(A), ee = P(), Y = x("div"), te = x("div"), te.innerHTML = `<img src="${_i}"/>`, Ee = P(), K = x("div"), xe = P(), G && G.c(), d = P(), L = x("span"), it = P(), F && F.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(l, "class", "RulesRow"), m(l, "part", "rule"), m(R, "class", "RuleIcon"), m(R, "part", "RuleIcon"), m(N, "class", "RuleTxt"), m(N, "part", "RuleTxt"), m(C, "class", "RulesRow"), m(C, "part", "rule"), m(te, "class", "RuleIcon"), m(te, "part", "RuleIcon"), m(K, "class", "RuleTxt"), m(K, "part", "RuleTxt"), m(Y, "class", "RulesRow"), m(Y, "part", "rule"), m(L, "type", "hidden"), m(L, "href", X = { tcurl: (
|
|
4652
4650
|
/*tcurl*/
|
|
4653
4651
|
e[4]
|
|
4654
4652
|
) }), m(t, "class", "casino-tournaments-thumbnail-rule"), m(t, "part", "casino-tournaments-thumbnail-rule");
|
|
4655
4653
|
},
|
|
4656
4654
|
m(E, j) {
|
|
4657
|
-
M(E, t, j), p(t, r), p(r, n), p(r, i), p(r,
|
|
4655
|
+
M(E, t, j), p(t, r), p(r, n), p(r, i), p(r, o), I && I.m(o, null), p(o, s), $ && $.m(o, null), p(o, a), D && D.m(o, null), p(o, h), U && U.m(o, null), p(t, u), p(t, l), p(l, c), p(l, f), p(l, g), p(g, T), p(t, w), p(t, C), p(C, R), p(C, S), p(C, N), p(N, Z), p(t, ee), p(t, Y), p(Y, te), p(Y, Ee), p(Y, K), K.innerHTML = re, p(t, xe), G && G.m(t, null), p(t, d), p(t, L), p(t, it), F && F.m(t, null), e[20](t);
|
|
4658
4656
|
},
|
|
4659
4657
|
p(E, [j]) {
|
|
4660
4658
|
/*scorecriterial*/
|
|
4661
|
-
E[0] == "BetCount" ? I ? I.p(E, j) : (I =
|
|
4662
|
-
E[0] == "WinStakeRatio" ? $ ? $.p(E, j) : ($ =
|
|
4663
|
-
E[0] == "MaxWinStakeRatio" ? D ? D.p(E, j) : (D =
|
|
4664
|
-
E[0] == "Stake" ? U ? U.p(E, j) : (U =
|
|
4659
|
+
E[0] == "BetCount" ? I ? I.p(E, j) : (I = xt(E), I.c(), I.m(o, s)) : I && (I.d(1), I = null), /*scorecriterial*/
|
|
4660
|
+
E[0] == "WinStakeRatio" ? $ ? $.p(E, j) : ($ = Tt(E), $.c(), $.m(o, a)) : $ && ($.d(1), $ = null), /*scorecriterial*/
|
|
4661
|
+
E[0] == "MaxWinStakeRatio" ? D ? D.p(E, j) : (D = Bt(E), D.c(), D.m(o, h)) : D && (D.d(1), D = null), /*scorecriterial*/
|
|
4662
|
+
E[0] == "Stake" ? U ? U.p(E, j) : (U = wt(E), U.c(), U.m(o, null)) : U && (U.d(1), U = null), j & /*$_, betcount*/
|
|
4665
4663
|
8194 && y !== (y = /*$_*/
|
|
4666
4664
|
E[13]("miniBetCount", {
|
|
4667
4665
|
values: { betCount: (
|
|
@@ -4687,12 +4685,12 @@ function ki(e) {
|
|
|
4687
4685
|
/*tcurl*/
|
|
4688
4686
|
E[4]
|
|
4689
4687
|
) } }) + "") && (K.innerHTML = re), /*casino*/
|
|
4690
|
-
E[6] ? G ? G.p(E, j) : (G =
|
|
4688
|
+
E[6] ? G ? G.p(E, j) : (G = Ht(E), G.c(), G.m(t, d)) : G && (G.d(1), G = null), j & /*tcurl*/
|
|
4691
4689
|
16 && X !== (X = { tcurl: (
|
|
4692
4690
|
/*tcurl*/
|
|
4693
4691
|
E[4]
|
|
4694
4692
|
) }) && m(L, "href", X), /*sports*/
|
|
4695
|
-
E[7] ? F ? F.p(E, j) : (F =
|
|
4693
|
+
E[7] ? F ? F.p(E, j) : (F = Ct(E), F.c(), F.m(t, null)) : F && (F.d(1), F = null);
|
|
4696
4694
|
},
|
|
4697
4695
|
i: W,
|
|
4698
4696
|
o: W,
|
|
@@ -4701,27 +4699,27 @@ function ki(e) {
|
|
|
4701
4699
|
}
|
|
4702
4700
|
};
|
|
4703
4701
|
}
|
|
4704
|
-
function
|
|
4702
|
+
function ki(e, t, r) {
|
|
4705
4703
|
let n;
|
|
4706
|
-
|
|
4707
|
-
let { lang: i = "tr" } = t, { scorecriterial:
|
|
4708
|
-
|
|
4704
|
+
ir(e, di, (d) => r(13, n = d));
|
|
4705
|
+
let { lang: i = "tr" } = t, { scorecriterial: o = "BetCount" } = t, { betcount: s } = t, { starttime: a } = t, { endtime: h } = t, { tcurl: u } = t, { products: l = "{}" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, y, T, w, C = !1, R = !1, S = !1, N = !1, A = "EUR";
|
|
4706
|
+
pi({ withLocale: "en", translations: {} });
|
|
4709
4707
|
const Z = (d) => typeof d == "number" || Object.prototype.toString.call(d) === "[object Number]", ee = () => {
|
|
4710
4708
|
fetch(g).then((L) => L.json()).then((L) => {
|
|
4711
4709
|
Object.keys(L).forEach((X) => {
|
|
4712
|
-
|
|
4710
|
+
_t(X, L[X]);
|
|
4713
4711
|
});
|
|
4714
4712
|
}).catch((L) => {
|
|
4715
4713
|
console.log(L);
|
|
4716
4714
|
});
|
|
4717
4715
|
};
|
|
4718
|
-
Object.keys(
|
|
4719
|
-
|
|
4716
|
+
Object.keys(Et).forEach((d) => {
|
|
4717
|
+
_t(d, Et[d]);
|
|
4720
4718
|
});
|
|
4721
4719
|
const Y = (d) => {
|
|
4722
4720
|
d && (r(12, A = d.currency), d.casino ? (r(6, T = d.casino), r(8, C = !(T.hasOwnProperty("minbet") && T.minbet != 0)), r(9, R = !(T.hasOwnProperty("maxbet") && T.maxbet != 0))) : (r(8, C = !0), r(9, R = !0)), d.sports ? (r(7, w = d.sports), r(10, S = !(w.hasOwnProperty("minbet") && w.minbet != 0)), r(11, N = !(w.hasOwnProperty("maxbet") && w.maxbet != 0))) : (r(10, S = !0), r(11, N = !0)));
|
|
4723
4721
|
}, te = () => {
|
|
4724
|
-
|
|
4722
|
+
bi(i);
|
|
4725
4723
|
}, Ee = () => {
|
|
4726
4724
|
let d = document.createElement("style");
|
|
4727
4725
|
d.innerHTML = c, y.appendChild(d);
|
|
@@ -4742,7 +4740,7 @@ function Ni(e, t, r) {
|
|
|
4742
4740
|
}, re = (d) => {
|
|
4743
4741
|
d.data && d.data.type && d.type == "TournamentsProductsUpdate" && r(15, l = d.data.productInfo);
|
|
4744
4742
|
};
|
|
4745
|
-
|
|
4743
|
+
fr(() => (window.addEventListener("message", re, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
|
|
4746
4744
|
window.removeEventListener("message", re);
|
|
4747
4745
|
}));
|
|
4748
4746
|
function xe(d) {
|
|
@@ -4751,7 +4749,7 @@ function Ni(e, t, r) {
|
|
|
4751
4749
|
});
|
|
4752
4750
|
}
|
|
4753
4751
|
return e.$$set = (d) => {
|
|
4754
|
-
"lang" in d && r(16, i = d.lang), "scorecriterial" in d && r(0,
|
|
4752
|
+
"lang" in d && r(16, i = d.lang), "scorecriterial" in d && r(0, o = d.scorecriterial), "betcount" in d && r(1, s = d.betcount), "starttime" in d && r(2, a = d.starttime), "endtime" in d && r(3, h = d.endtime), "tcurl" in d && r(4, u = d.tcurl), "products" in d && r(15, l = d.products), "clientstyling" in d && r(17, c = d.clientstyling), "clientstylingurl" in d && r(18, f = d.clientstylingurl), "translationurl" in d && r(19, g = d.translationurl);
|
|
4755
4753
|
}, e.$$.update = () => {
|
|
4756
4754
|
e.$$.dirty & /*lang*/
|
|
4757
4755
|
65536 && i && te(), e.$$.dirty & /*products*/
|
|
@@ -4760,9 +4758,9 @@ function Ni(e, t, r) {
|
|
|
4760
4758
|
262176 && f && y && K(), e.$$.dirty & /*translationurl*/
|
|
4761
4759
|
524288 && g && ee();
|
|
4762
4760
|
}, [
|
|
4763
|
-
a,
|
|
4764
|
-
s,
|
|
4765
4761
|
o,
|
|
4762
|
+
s,
|
|
4763
|
+
a,
|
|
4766
4764
|
h,
|
|
4767
4765
|
u,
|
|
4768
4766
|
y,
|
|
@@ -4783,14 +4781,14 @@ function Ni(e, t, r) {
|
|
|
4783
4781
|
xe
|
|
4784
4782
|
];
|
|
4785
4783
|
}
|
|
4786
|
-
class
|
|
4784
|
+
class Ni extends Br {
|
|
4787
4785
|
constructor(t) {
|
|
4788
|
-
super(),
|
|
4786
|
+
super(), xr(
|
|
4789
4787
|
this,
|
|
4790
4788
|
t,
|
|
4791
|
-
Ni,
|
|
4792
4789
|
ki,
|
|
4793
|
-
|
|
4790
|
+
Ri,
|
|
4791
|
+
Mt,
|
|
4794
4792
|
{
|
|
4795
4793
|
lang: 16,
|
|
4796
4794
|
scorecriterial: 0,
|
|
@@ -4803,7 +4801,7 @@ class Ai extends Hr {
|
|
|
4803
4801
|
clientstylingurl: 18,
|
|
4804
4802
|
translationurl: 19
|
|
4805
4803
|
},
|
|
4806
|
-
|
|
4804
|
+
Ei
|
|
4807
4805
|
);
|
|
4808
4806
|
}
|
|
4809
4807
|
get lang() {
|
|
@@ -4867,7 +4865,7 @@ class Ai extends Hr {
|
|
|
4867
4865
|
this.$$set({ translationurl: t }), V();
|
|
4868
4866
|
}
|
|
4869
4867
|
}
|
|
4870
|
-
|
|
4868
|
+
Tr(Ni, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, products: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4871
4869
|
export {
|
|
4872
|
-
|
|
4870
|
+
Ni as C
|
|
4873
4871
|
};
|