@everymatrix/casino-tournaments-thumbnail-rule 1.74.2 → 1.74.4

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.
@@ -1,4926 +0,0 @@
1
- var cr = Object.defineProperty, fr = Object.defineProperties;
2
- var mr = Object.getOwnPropertyDescriptors;
3
- var lt = Object.getOwnPropertySymbols;
4
- var dr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
5
- var Ie = (e, t, r) => t in e ? cr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
6
- for (var r in t || (t = {}))
7
- dr.call(t, r) && Ie(e, r, t[r]);
8
- if (lt)
9
- for (var r of lt(t))
10
- pr.call(t, r) && Ie(e, r, t[r]);
11
- return e;
12
- }, ct = (e, t) => fr(e, mr(t));
13
- var M = (e, t, r) => (Ie(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ft = (e, t, r) => new Promise((n, i) => {
15
- var o = (l) => {
16
- try {
17
- s(r.next(l));
18
- } catch (u) {
19
- i(u);
20
- }
21
- }, a = (l) => {
22
- try {
23
- s(r.throw(l));
24
- } catch (u) {
25
- i(u);
26
- }
27
- }, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
28
- s((r = r.apply(e, t)).next());
29
- });
30
- function W() {
31
- }
32
- function Ot(e) {
33
- return e();
34
- }
35
- function mt() {
36
- return /* @__PURE__ */ Object.create(null);
37
- }
38
- function Ee(e) {
39
- e.forEach(Ot);
40
- }
41
- function nt(e) {
42
- return typeof e == "function";
43
- }
44
- function It(e, t) {
45
- return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
- }
47
- function br(e) {
48
- return Object.keys(e).length === 0;
49
- }
50
- function $t(e, ...t) {
51
- if (e == null) {
52
- for (const n of t)
53
- n(void 0);
54
- return W;
55
- }
56
- const r = e.subscribe(...t);
57
- return r.unsubscribe ? () => r.unsubscribe() : r;
58
- }
59
- function gr(e, t, r) {
60
- e.$$.on_destroy.push($t(t, r));
61
- }
62
- function p(e, t) {
63
- e.appendChild(t);
64
- }
65
- function yr(e, t, r) {
66
- const n = vr(e);
67
- if (!n.getElementById(t)) {
68
- const i = x("style");
69
- i.id = t, i.textContent = r, _r(n, i);
70
- }
71
- }
72
- function vr(e) {
73
- if (!e)
74
- return document;
75
- const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
76
- return t && /** @type {ShadowRoot} */
77
- t.host ? (
78
- /** @type {ShadowRoot} */
79
- t
80
- ) : e.ownerDocument;
81
- }
82
- function _r(e, t) {
83
- return p(
84
- /** @type {Document} */
85
- e.head || e,
86
- t
87
- ), t.sheet;
88
- }
89
- function R(e, t, r) {
90
- e.insertBefore(t, r || null);
91
- }
92
- function S(e) {
93
- e.parentNode && e.parentNode.removeChild(e);
94
- }
95
- function x(e) {
96
- return document.createElement(e);
97
- }
98
- function Er(e) {
99
- return document.createElementNS("http://www.w3.org/2000/svg", e);
100
- }
101
- function z(e) {
102
- return document.createTextNode(e);
103
- }
104
- function P() {
105
- return z(" ");
106
- }
107
- function Re() {
108
- return z("");
109
- }
110
- function m(e, t, r) {
111
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
112
- }
113
- function xr(e) {
114
- return Array.from(e.childNodes);
115
- }
116
- function J(e, t) {
117
- t = "" + t, e.data !== t && (e.data = /** @type {string} */
118
- t);
119
- }
120
- class ke {
121
- constructor(t = !1) {
122
- /**
123
- * @private
124
- * @default false
125
- */
126
- M(this, "is_svg", !1);
127
- /** parent for creating node */
128
- M(this, "e");
129
- /** html tag nodes */
130
- M(this, "n");
131
- /** target */
132
- M(this, "t");
133
- /** anchor */
134
- M(this, "a");
135
- this.is_svg = t, this.e = this.n = null;
136
- }
137
- /**
138
- * @param {string} html
139
- * @returns {void}
140
- */
141
- c(t) {
142
- this.h(t);
143
- }
144
- /**
145
- * @param {string} html
146
- * @param {HTMLElement | SVGElement} target
147
- * @param {HTMLElement | SVGElement} anchor
148
- * @returns {void}
149
- */
150
- m(t, r, n = null) {
151
- this.e || (this.is_svg ? this.e = Er(
152
- /** @type {keyof SVGElementTagNameMap} */
153
- r.nodeName
154
- ) : this.e = x(
155
- /** @type {keyof HTMLElementTagNameMap} */
156
- r.nodeType === 11 ? "TEMPLATE" : r.nodeName
157
- ), this.t = r.tagName !== "TEMPLATE" ? r : (
158
- /** @type {HTMLTemplateElement} */
159
- r.content
160
- ), this.c(t)), this.i(n);
161
- }
162
- /**
163
- * @param {string} html
164
- * @returns {void}
165
- */
166
- h(t) {
167
- this.e.innerHTML = t, this.n = Array.from(
168
- this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
169
- );
170
- }
171
- /**
172
- * @returns {void} */
173
- i(t) {
174
- for (let r = 0; r < this.n.length; r += 1)
175
- R(this.t, this.n[r], t);
176
- }
177
- /**
178
- * @param {string} html
179
- * @returns {void}
180
- */
181
- p(t) {
182
- this.d(), this.h(t), this.i(this.a);
183
- }
184
- /**
185
- * @returns {void} */
186
- d() {
187
- this.n.forEach(S);
188
- }
189
- }
190
- function Tr(e) {
191
- const t = {};
192
- return e.childNodes.forEach(
193
- /** @param {Element} node */
194
- (r) => {
195
- t[r.slot || "default"] = !0;
196
- }
197
- ), t;
198
- }
199
- let ye;
200
- function ge(e) {
201
- ye = e;
202
- }
203
- function Br() {
204
- if (!ye)
205
- throw new Error("Function called outside component initialization");
206
- return ye;
207
- }
208
- function wr(e) {
209
- Br().$$.on_mount.push(e);
210
- }
211
- const se = [], ze = [];
212
- let ue = [];
213
- const dt = [], Hr = /* @__PURE__ */ Promise.resolve();
214
- let Xe = !1;
215
- function Sr() {
216
- Xe || (Xe = !0, Hr.then(j));
217
- }
218
- function We(e) {
219
- ue.push(e);
220
- }
221
- const $e = /* @__PURE__ */ new Set();
222
- let oe = 0;
223
- function j() {
224
- if (oe !== 0)
225
- return;
226
- const e = ye;
227
- do {
228
- try {
229
- for (; oe < se.length; ) {
230
- const t = se[oe];
231
- oe++, ge(t), Cr(t.$$);
232
- }
233
- } catch (t) {
234
- throw se.length = 0, oe = 0, t;
235
- }
236
- for (ge(null), se.length = 0, oe = 0; ze.length; )
237
- ze.pop()();
238
- for (let t = 0; t < ue.length; t += 1) {
239
- const r = ue[t];
240
- $e.has(r) || ($e.add(r), r());
241
- }
242
- ue.length = 0;
243
- } while (se.length);
244
- for (; dt.length; )
245
- dt.pop()();
246
- Xe = !1, $e.clear(), ge(e);
247
- }
248
- function Cr(e) {
249
- if (e.fragment !== null) {
250
- e.update(), Ee(e.before_update);
251
- const t = e.dirty;
252
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
253
- }
254
- }
255
- function Mr(e) {
256
- const t = [], r = [];
257
- ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
258
- }
259
- const Rr = /* @__PURE__ */ new Set();
260
- function kr(e, t) {
261
- e && e.i && (Rr.delete(e), e.i(t));
262
- }
263
- function Nr(e, t, r) {
264
- const { fragment: n, after_update: i } = e.$$;
265
- n && n.m(t, r), We(() => {
266
- const o = e.$$.on_mount.map(Ot).filter(nt);
267
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Ee(o), e.$$.on_mount = [];
268
- }), i.forEach(We);
269
- }
270
- function Ar(e, t) {
271
- const r = e.$$;
272
- r.fragment !== null && (Mr(r.after_update), Ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
273
- }
274
- function Lr(e, t) {
275
- e.$$.dirty[0] === -1 && (se.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
276
- }
277
- function Pr(e, t, r, n, i, o, a = null, s = [-1]) {
278
- const l = ye;
279
- ge(e);
280
- const u = e.$$ = {
281
- fragment: null,
282
- ctx: [],
283
- // state
284
- props: o,
285
- update: W,
286
- not_equal: i,
287
- bound: mt(),
288
- // lifecycle
289
- on_mount: [],
290
- on_destroy: [],
291
- on_disconnect: [],
292
- before_update: [],
293
- after_update: [],
294
- context: new Map(t.context || (l ? l.$$.context : [])),
295
- // everything else
296
- callbacks: mt(),
297
- dirty: s,
298
- skip_bound: !1,
299
- root: t.target || l.$$.root
300
- };
301
- a && a(u.root);
302
- let h = !1;
303
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...g) => {
304
- const _ = g.length ? g[0] : f;
305
- return u.ctx && i(u.ctx[c], u.ctx[c] = _) && (!u.skip_bound && u.bound[c] && u.bound[c](_), h && Lr(e, c)), f;
306
- }) : [], u.update(), h = !0, Ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
307
- if (t.hydrate) {
308
- const c = xr(t.target);
309
- u.fragment && u.fragment.l(c), c.forEach(S);
310
- } else
311
- u.fragment && u.fragment.c();
312
- t.intro && kr(e.$$.fragment), Nr(e, t.target, t.anchor), j();
313
- }
314
- ge(l);
315
- }
316
- let Dt;
317
- typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
318
- constructor(t, r, n) {
319
- super();
320
- /** The Svelte component constructor */
321
- M(this, "$$ctor");
322
- /** Slots */
323
- M(this, "$$s");
324
- /** The Svelte component instance */
325
- M(this, "$$c");
326
- /** Whether or not the custom element is connected */
327
- M(this, "$$cn", !1);
328
- /** Component props data */
329
- M(this, "$$d", {});
330
- /** `true` if currently in the process of reflecting component props back to attributes */
331
- M(this, "$$r", !1);
332
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
333
- M(this, "$$p_d", {});
334
- /** @type {Record<string, Function[]>} Event listeners */
335
- M(this, "$$l", {});
336
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
337
- M(this, "$$l_u", /* @__PURE__ */ new Map());
338
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
339
- }
340
- addEventListener(t, r, n) {
341
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
342
- const i = this.$$c.$on(t, r);
343
- this.$$l_u.set(r, i);
344
- }
345
- super.addEventListener(t, r, n);
346
- }
347
- removeEventListener(t, r, n) {
348
- if (super.removeEventListener(t, r, n), this.$$c) {
349
- const i = this.$$l_u.get(r);
350
- i && (i(), this.$$l_u.delete(r));
351
- }
352
- }
353
- connectedCallback() {
354
- return ft(this, null, function* () {
355
- if (this.$$cn = !0, !this.$$c) {
356
- let t = function(o) {
357
- return () => {
358
- let a;
359
- return {
360
- c: function() {
361
- a = x("slot"), o !== "default" && m(a, "name", o);
362
- },
363
- /**
364
- * @param {HTMLElement} target
365
- * @param {HTMLElement} [anchor]
366
- */
367
- m: function(u, h) {
368
- R(u, a, h);
369
- },
370
- d: function(u) {
371
- u && S(a);
372
- }
373
- };
374
- };
375
- };
376
- if (yield Promise.resolve(), !this.$$cn || this.$$c)
377
- return;
378
- const r = {}, n = Tr(this);
379
- for (const o of this.$$s)
380
- o in n && (r[o] = [t(o)]);
381
- for (const o of this.attributes) {
382
- const a = this.$$g_p(o.name);
383
- a in this.$$d || (this.$$d[a] = we(a, o.value, this.$$p_d, "toProp"));
384
- }
385
- for (const o in this.$$p_d)
386
- !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
387
- this.$$c = new this.$$ctor({
388
- target: this.shadowRoot || this,
389
- props: ct(ht({}, this.$$d), {
390
- $$slots: r,
391
- $$scope: {
392
- ctx: []
393
- }
394
- })
395
- });
396
- const i = () => {
397
- this.$$r = !0;
398
- for (const o in this.$$p_d)
399
- if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
400
- const a = we(
401
- o,
402
- this.$$d[o],
403
- this.$$p_d,
404
- "toAttribute"
405
- );
406
- a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
407
- }
408
- this.$$r = !1;
409
- };
410
- this.$$c.$$.after_update.push(i), i();
411
- for (const o in this.$$l)
412
- for (const a of this.$$l[o]) {
413
- const s = this.$$c.$on(o, a);
414
- this.$$l_u.set(a, s);
415
- }
416
- this.$$l = {};
417
- }
418
- });
419
- }
420
- // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
421
- // and setting attributes through setAttribute etc, this is helpful
422
- attributeChangedCallback(t, r, n) {
423
- var i;
424
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = we(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
425
- }
426
- disconnectedCallback() {
427
- this.$$cn = !1, Promise.resolve().then(() => {
428
- !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
429
- });
430
- }
431
- $$g_p(t) {
432
- return Object.keys(this.$$p_d).find(
433
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
434
- ) || t;
435
- }
436
- });
437
- function we(e, t, r, n) {
438
- var o;
439
- const i = (o = r[e]) == null ? void 0 : o.type;
440
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
441
- return t;
442
- if (n === "toAttribute")
443
- switch (i) {
444
- case "Object":
445
- case "Array":
446
- return t == null ? null : JSON.stringify(t);
447
- case "Boolean":
448
- return t ? "" : null;
449
- case "Number":
450
- return t == null ? null : t;
451
- default:
452
- return t;
453
- }
454
- else
455
- switch (i) {
456
- case "Object":
457
- case "Array":
458
- return t && JSON.parse(t);
459
- case "Boolean":
460
- return t;
461
- case "Number":
462
- return t != null ? +t : t;
463
- default:
464
- return t;
465
- }
466
- }
467
- function Or(e, t, r, n, i, o) {
468
- let a = class extends Dt {
469
- constructor() {
470
- super(e, r, i), this.$$p_d = t;
471
- }
472
- static get observedAttributes() {
473
- return Object.keys(t).map(
474
- (s) => (t[s].attribute || s).toLowerCase()
475
- );
476
- }
477
- };
478
- return Object.keys(t).forEach((s) => {
479
- Object.defineProperty(a.prototype, s, {
480
- get() {
481
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
482
- },
483
- set(l) {
484
- var u;
485
- l = we(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
486
- }
487
- });
488
- }), n.forEach((s) => {
489
- Object.defineProperty(a.prototype, s, {
490
- get() {
491
- var l;
492
- return (l = this.$$c) == null ? void 0 : l[s];
493
- }
494
- });
495
- }), e.element = /** @type {any} */
496
- a, a;
497
- }
498
- class Ir {
499
- constructor() {
500
- /**
501
- * ### PRIVATE API
502
- *
503
- * Do not use, may change at any time
504
- *
505
- * @type {any}
506
- */
507
- M(this, "$$");
508
- /**
509
- * ### PRIVATE API
510
- *
511
- * Do not use, may change at any time
512
- *
513
- * @type {any}
514
- */
515
- M(this, "$$set");
516
- }
517
- /** @returns {void} */
518
- $destroy() {
519
- Ar(this, 1), this.$destroy = W;
520
- }
521
- /**
522
- * @template {Extract<keyof Events, string>} K
523
- * @param {K} type
524
- * @param {((e: Events[K]) => void) | null | undefined} callback
525
- * @returns {() => void}
526
- */
527
- $on(t, r) {
528
- if (!nt(r))
529
- return W;
530
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
531
- return n.push(r), () => {
532
- const i = n.indexOf(r);
533
- i !== -1 && n.splice(i, 1);
534
- };
535
- }
536
- /**
537
- * @param {Partial<Props>} props
538
- * @returns {void}
539
- */
540
- $set(t) {
541
- this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
542
- }
543
- }
544
- const $r = "4";
545
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
546
- const ae = [];
547
- function Dr(e, t) {
548
- return {
549
- subscribe: Ne(e, t).subscribe
550
- };
551
- }
552
- function Ne(e, t = W) {
553
- let r;
554
- const n = /* @__PURE__ */ new Set();
555
- function i(s) {
556
- if (It(e, s) && (e = s, r)) {
557
- const l = !ae.length;
558
- for (const u of n)
559
- u[1](), ae.push(u, e);
560
- if (l) {
561
- for (let u = 0; u < ae.length; u += 2)
562
- ae[u][0](ae[u + 1]);
563
- ae.length = 0;
564
- }
565
- }
566
- }
567
- function o(s) {
568
- i(s(e));
569
- }
570
- function a(s, l = W) {
571
- const u = [s, l];
572
- return n.add(u), n.size === 1 && (r = t(i, o) || W), s(e), () => {
573
- n.delete(u), n.size === 0 && r && (r(), r = null);
574
- };
575
- }
576
- return { set: i, update: o, subscribe: a };
577
- }
578
- function me(e, t, r) {
579
- const n = !Array.isArray(e), i = n ? [e] : e;
580
- if (!i.every(Boolean))
581
- throw new Error("derived() expects stores as input, got a falsy value");
582
- const o = t.length < 2;
583
- return Dr(r, (a, s) => {
584
- let l = !1;
585
- const u = [];
586
- let h = 0, c = W;
587
- const f = () => {
588
- if (h)
589
- return;
590
- c();
591
- const _ = t(n ? u[0] : u, a, s);
592
- o ? a(_) : c = nt(_) ? _ : W;
593
- }, g = i.map(
594
- (_, T) => $t(
595
- _,
596
- (H) => {
597
- u[T] = H, h &= ~(1 << T), l && f();
598
- },
599
- () => {
600
- h |= 1 << T;
601
- }
602
- )
603
- );
604
- return l = !0, f(), function() {
605
- Ee(g), c(), l = !1;
606
- };
607
- });
608
- }
609
- function Ur(e) {
610
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
611
- }
612
- var Gr = function(t) {
613
- return Fr(t) && !jr(t);
614
- };
615
- function Fr(e) {
616
- return !!e && typeof e == "object";
617
- }
618
- function jr(e) {
619
- var t = Object.prototype.toString.call(e);
620
- return t === "[object RegExp]" || t === "[object Date]" || Xr(e);
621
- }
622
- var Vr = typeof Symbol == "function" && Symbol.for, zr = Vr ? Symbol.for("react.element") : 60103;
623
- function Xr(e) {
624
- return e.$$typeof === zr;
625
- }
626
- function Wr(e) {
627
- return Array.isArray(e) ? [] : {};
628
- }
629
- function ve(e, t) {
630
- return t.clone !== !1 && t.isMergeableObject(e) ? le(Wr(e), e, t) : e;
631
- }
632
- function Zr(e, t, r) {
633
- return e.concat(t).map(function(n) {
634
- return ve(n, r);
635
- });
636
- }
637
- function Jr(e, t) {
638
- if (!t.customMerge)
639
- return le;
640
- var r = t.customMerge(e);
641
- return typeof r == "function" ? r : le;
642
- }
643
- function Yr(e) {
644
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
645
- return Object.propertyIsEnumerable.call(e, t);
646
- }) : [];
647
- }
648
- function pt(e) {
649
- return Object.keys(e).concat(Yr(e));
650
- }
651
- function Ut(e, t) {
652
- try {
653
- return t in e;
654
- } catch (r) {
655
- return !1;
656
- }
657
- }
658
- function Kr(e, t) {
659
- return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
660
- }
661
- function qr(e, t, r) {
662
- var n = {};
663
- return r.isMergeableObject(e) && pt(e).forEach(function(i) {
664
- n[i] = ve(e[i], r);
665
- }), pt(t).forEach(function(i) {
666
- Kr(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jr(i, r)(e[i], t[i], r) : n[i] = ve(t[i], r));
667
- }), n;
668
- }
669
- function le(e, t, r) {
670
- r = r || {}, r.arrayMerge = r.arrayMerge || Zr, r.isMergeableObject = r.isMergeableObject || Gr, r.cloneUnlessOtherwiseSpecified = ve;
671
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
672
- return o ? n ? r.arrayMerge(e, t, r) : qr(e, t, r) : ve(t, r);
673
- }
674
- le.all = function(t, r) {
675
- if (!Array.isArray(t))
676
- throw new Error("first argument should be an array");
677
- return t.reduce(function(n, i) {
678
- return le(n, i, r);
679
- }, {});
680
- };
681
- var Qr = le, en = Qr;
682
- const tn = /* @__PURE__ */ Ur(en);
683
- /*! *****************************************************************************
684
- Copyright (c) Microsoft Corporation.
685
-
686
- Permission to use, copy, modify, and/or distribute this software for any
687
- purpose with or without fee is hereby granted.
688
-
689
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
690
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
691
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
692
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
693
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
694
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
695
- PERFORMANCE OF THIS SOFTWARE.
696
- ***************************************************************************** */
697
- var Ze = function(e, t) {
698
- return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
699
- r.__proto__ = n;
700
- } || function(r, n) {
701
- for (var i in n)
702
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
703
- }, Ze(e, t);
704
- };
705
- function Ae(e, t) {
706
- if (typeof t != "function" && t !== null)
707
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
708
- Ze(e, t);
709
- function r() {
710
- this.constructor = e;
711
- }
712
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
713
- }
714
- var v = function() {
715
- return v = Object.assign || function(t) {
716
- for (var r, n = 1, i = arguments.length; n < i; n++) {
717
- r = arguments[n];
718
- for (var o in r)
719
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
720
- }
721
- return t;
722
- }, v.apply(this, arguments);
723
- };
724
- function rn(e, t) {
725
- var r = {};
726
- for (var n in e)
727
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
728
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
729
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
730
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
731
- return r;
732
- }
733
- function De(e, t, r) {
734
- if (arguments.length === 2)
735
- for (var n = 0, i = t.length, o; n < i; n++)
736
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
737
- return e.concat(o || t);
738
- }
739
- function Ue(e, t) {
740
- var r = t && t.cache ? t.cache : ln, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : on;
741
- return i(e, {
742
- cache: r,
743
- serializer: n
744
- });
745
- }
746
- function nn(e) {
747
- return e == null || typeof e == "number" || typeof e == "boolean";
748
- }
749
- function Gt(e, t, r, n) {
750
- var i = nn(n) ? n : r(n), o = t.get(i);
751
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
752
- }
753
- function Ft(e, t, r) {
754
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
755
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
756
- }
757
- function it(e, t, r, n, i) {
758
- return r.bind(t, e, n, i);
759
- }
760
- function on(e, t) {
761
- var r = e.length === 1 ? Gt : Ft;
762
- return it(e, this, r, t.cache.create(), t.serializer);
763
- }
764
- function an(e, t) {
765
- return it(e, this, Ft, t.cache.create(), t.serializer);
766
- }
767
- function sn(e, t) {
768
- return it(e, this, Gt, t.cache.create(), t.serializer);
769
- }
770
- var un = function() {
771
- return JSON.stringify(arguments);
772
- };
773
- function ot() {
774
- this.cache = /* @__PURE__ */ Object.create(null);
775
- }
776
- ot.prototype.get = function(e) {
777
- return this.cache[e];
778
- };
779
- ot.prototype.set = function(e, t) {
780
- this.cache[e] = t;
781
- };
782
- var ln = {
783
- create: function() {
784
- return new ot();
785
- }
786
- }, Ge = {
787
- variadic: an,
788
- monadic: sn
789
- }, b;
790
- (function(e) {
791
- 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";
792
- })(b || (b = {}));
793
- var B;
794
- (function(e) {
795
- e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
796
- })(B || (B = {}));
797
- var he;
798
- (function(e) {
799
- e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
800
- })(he || (he = {}));
801
- function bt(e) {
802
- return e.type === B.literal;
803
- }
804
- function hn(e) {
805
- return e.type === B.argument;
806
- }
807
- function jt(e) {
808
- return e.type === B.number;
809
- }
810
- function Vt(e) {
811
- return e.type === B.date;
812
- }
813
- function zt(e) {
814
- return e.type === B.time;
815
- }
816
- function Xt(e) {
817
- return e.type === B.select;
818
- }
819
- function Wt(e) {
820
- return e.type === B.plural;
821
- }
822
- function cn(e) {
823
- return e.type === B.pound;
824
- }
825
- function Zt(e) {
826
- return e.type === B.tag;
827
- }
828
- function Jt(e) {
829
- return !!(e && typeof e == "object" && e.type === he.number);
830
- }
831
- function Je(e) {
832
- return !!(e && typeof e == "object" && e.type === he.dateTime);
833
- }
834
- var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
835
- function mn(e) {
836
- var t = {};
837
- return e.replace(fn, function(r) {
838
- var n = r.length;
839
- switch (r[0]) {
840
- case "G":
841
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
842
- break;
843
- case "y":
844
- t.year = n === 2 ? "2-digit" : "numeric";
845
- break;
846
- case "Y":
847
- case "u":
848
- case "U":
849
- case "r":
850
- throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
851
- case "q":
852
- case "Q":
853
- throw new RangeError("`q/Q` (quarter) patterns are not supported");
854
- case "M":
855
- case "L":
856
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
857
- break;
858
- case "w":
859
- case "W":
860
- throw new RangeError("`w/W` (week) patterns are not supported");
861
- case "d":
862
- t.day = ["numeric", "2-digit"][n - 1];
863
- break;
864
- case "D":
865
- case "F":
866
- case "g":
867
- throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
868
- case "E":
869
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
870
- break;
871
- case "e":
872
- if (n < 4)
873
- throw new RangeError("`e..eee` (weekday) patterns are not supported");
874
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
875
- break;
876
- case "c":
877
- if (n < 4)
878
- throw new RangeError("`c..ccc` (weekday) patterns are not supported");
879
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
880
- break;
881
- case "a":
882
- t.hour12 = !0;
883
- break;
884
- case "b":
885
- case "B":
886
- throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
887
- case "h":
888
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
889
- break;
890
- case "H":
891
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
892
- break;
893
- case "K":
894
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
895
- break;
896
- case "k":
897
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
898
- break;
899
- case "j":
900
- case "J":
901
- case "C":
902
- throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
903
- case "m":
904
- t.minute = ["numeric", "2-digit"][n - 1];
905
- break;
906
- case "s":
907
- t.second = ["numeric", "2-digit"][n - 1];
908
- break;
909
- case "S":
910
- case "A":
911
- throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
912
- case "z":
913
- t.timeZoneName = n < 4 ? "short" : "long";
914
- break;
915
- case "Z":
916
- case "O":
917
- case "v":
918
- case "V":
919
- case "X":
920
- case "x":
921
- throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
922
- }
923
- return "";
924
- }), t;
925
- }
926
- var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
927
- function pn(e) {
928
- if (e.length === 0)
929
- throw new Error("Number skeleton cannot be empty");
930
- for (var t = e.split(dn).filter(function(f) {
931
- return f.length > 0;
932
- }), r = [], n = 0, i = t; n < i.length; n++) {
933
- var o = i[n], a = o.split("/");
934
- if (a.length === 0)
935
- throw new Error("Invalid number skeleton");
936
- for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
937
- var c = h[u];
938
- if (c.length === 0)
939
- throw new Error("Invalid number skeleton");
940
- }
941
- r.push({ stem: s, options: l });
942
- }
943
- return r;
944
- }
945
- function bn(e) {
946
- return e.replace(/^(.*?)-/, "");
947
- }
948
- var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, gn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
949
- function yt(e) {
950
- var t = {};
951
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
952
- 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)), "";
953
- }), t;
954
- }
955
- function Qt(e) {
956
- switch (e) {
957
- case "sign-auto":
958
- return {
959
- signDisplay: "auto"
960
- };
961
- case "sign-accounting":
962
- case "()":
963
- return {
964
- currencySign: "accounting"
965
- };
966
- case "sign-always":
967
- case "+!":
968
- return {
969
- signDisplay: "always"
970
- };
971
- case "sign-accounting-always":
972
- case "()!":
973
- return {
974
- signDisplay: "always",
975
- currencySign: "accounting"
976
- };
977
- case "sign-except-zero":
978
- case "+?":
979
- return {
980
- signDisplay: "exceptZero"
981
- };
982
- case "sign-accounting-except-zero":
983
- case "()?":
984
- return {
985
- signDisplay: "exceptZero",
986
- currencySign: "accounting"
987
- };
988
- case "sign-never":
989
- case "+_":
990
- return {
991
- signDisplay: "never"
992
- };
993
- }
994
- }
995
- function yn(e) {
996
- var t;
997
- if (e[0] === "E" && e[1] === "E" ? (t = {
998
- notation: "engineering"
999
- }, e = e.slice(2)) : e[0] === "E" && (t = {
1000
- notation: "scientific"
1001
- }, e = e.slice(1)), t) {
1002
- var r = e.slice(0, 2);
1003
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
1004
- throw new Error("Malformed concise eng/scientific notation");
1005
- t.minimumIntegerDigits = e.length;
1006
- }
1007
- return t;
1008
- }
1009
- function vt(e) {
1010
- var t = {}, r = Qt(e);
1011
- return r || t;
1012
- }
1013
- function vn(e) {
1014
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1015
- var i = n[r];
1016
- switch (i.stem) {
1017
- case "percent":
1018
- case "%":
1019
- t.style = "percent";
1020
- continue;
1021
- case "%x100":
1022
- t.style = "percent", t.scale = 100;
1023
- continue;
1024
- case "currency":
1025
- t.style = "currency", t.currency = i.options[0];
1026
- continue;
1027
- case "group-off":
1028
- case ",_":
1029
- t.useGrouping = !1;
1030
- continue;
1031
- case "precision-integer":
1032
- case ".":
1033
- t.maximumFractionDigits = 0;
1034
- continue;
1035
- case "measure-unit":
1036
- case "unit":
1037
- t.style = "unit", t.unit = bn(i.options[0]);
1038
- continue;
1039
- case "compact-short":
1040
- case "K":
1041
- t.notation = "compact", t.compactDisplay = "short";
1042
- continue;
1043
- case "compact-long":
1044
- case "KK":
1045
- t.notation = "compact", t.compactDisplay = "long";
1046
- continue;
1047
- case "scientific":
1048
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1049
- return v(v({}, l), vt(u));
1050
- }, {}));
1051
- continue;
1052
- case "engineering":
1053
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1054
- return v(v({}, l), vt(u));
1055
- }, {}));
1056
- continue;
1057
- case "notation-simple":
1058
- t.notation = "standard";
1059
- continue;
1060
- case "unit-width-narrow":
1061
- t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
1062
- continue;
1063
- case "unit-width-short":
1064
- t.currencyDisplay = "code", t.unitDisplay = "short";
1065
- continue;
1066
- case "unit-width-full-name":
1067
- t.currencyDisplay = "name", t.unitDisplay = "long";
1068
- continue;
1069
- case "unit-width-iso-code":
1070
- t.currencyDisplay = "symbol";
1071
- continue;
1072
- case "scale":
1073
- t.scale = parseFloat(i.options[0]);
1074
- continue;
1075
- case "rounding-mode-floor":
1076
- t.roundingMode = "floor";
1077
- continue;
1078
- case "rounding-mode-ceiling":
1079
- t.roundingMode = "ceil";
1080
- continue;
1081
- case "rounding-mode-down":
1082
- t.roundingMode = "trunc";
1083
- continue;
1084
- case "rounding-mode-up":
1085
- t.roundingMode = "expand";
1086
- continue;
1087
- case "rounding-mode-half-even":
1088
- t.roundingMode = "halfEven";
1089
- continue;
1090
- case "rounding-mode-half-down":
1091
- t.roundingMode = "halfTrunc";
1092
- continue;
1093
- case "rounding-mode-half-up":
1094
- t.roundingMode = "halfExpand";
1095
- continue;
1096
- case "integer-width":
1097
- if (i.options.length > 1)
1098
- throw new RangeError("integer-width stems only accept a single optional option");
1099
- i.options[0].replace(gn, function(l, u, h, c, f, g) {
1100
- if (u)
1101
- t.minimumIntegerDigits = h.length;
1102
- else {
1103
- if (c && f)
1104
- throw new Error("We currently do not support maximum integer digits");
1105
- if (g)
1106
- throw new Error("We currently do not support exact integer digits");
1107
- }
1108
- return "";
1109
- });
1110
- continue;
1111
- }
1112
- if (qt.test(i.stem)) {
1113
- t.minimumIntegerDigits = i.stem.length;
1114
- continue;
1115
- }
1116
- if (gt.test(i.stem)) {
1117
- if (i.options.length > 1)
1118
- throw new RangeError("Fraction-precision stems only accept a single optional option");
1119
- i.stem.replace(gt, function(l, u, h, c, f, g) {
1120
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && g ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1121
- });
1122
- var o = i.options[0];
1123
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), yt(o)));
1124
- continue;
1125
- }
1126
- if (Kt.test(i.stem)) {
1127
- t = v(v({}, t), yt(i.stem));
1128
- continue;
1129
- }
1130
- var a = Qt(i.stem);
1131
- a && (t = v(v({}, t), a));
1132
- var s = yn(i.stem);
1133
- s && (t = v(v({}, t), s));
1134
- }
1135
- return t;
1136
- }
1137
- var Be = {
1138
- "001": [
1139
- "H",
1140
- "h"
1141
- ],
1142
- 419: [
1143
- "h",
1144
- "H",
1145
- "hB",
1146
- "hb"
1147
- ],
1148
- AC: [
1149
- "H",
1150
- "h",
1151
- "hb",
1152
- "hB"
1153
- ],
1154
- AD: [
1155
- "H",
1156
- "hB"
1157
- ],
1158
- AE: [
1159
- "h",
1160
- "hB",
1161
- "hb",
1162
- "H"
1163
- ],
1164
- AF: [
1165
- "H",
1166
- "hb",
1167
- "hB",
1168
- "h"
1169
- ],
1170
- AG: [
1171
- "h",
1172
- "hb",
1173
- "H",
1174
- "hB"
1175
- ],
1176
- AI: [
1177
- "H",
1178
- "h",
1179
- "hb",
1180
- "hB"
1181
- ],
1182
- AL: [
1183
- "h",
1184
- "H",
1185
- "hB"
1186
- ],
1187
- AM: [
1188
- "H",
1189
- "hB"
1190
- ],
1191
- AO: [
1192
- "H",
1193
- "hB"
1194
- ],
1195
- AR: [
1196
- "h",
1197
- "H",
1198
- "hB",
1199
- "hb"
1200
- ],
1201
- AS: [
1202
- "h",
1203
- "H"
1204
- ],
1205
- AT: [
1206
- "H",
1207
- "hB"
1208
- ],
1209
- AU: [
1210
- "h",
1211
- "hb",
1212
- "H",
1213
- "hB"
1214
- ],
1215
- AW: [
1216
- "H",
1217
- "hB"
1218
- ],
1219
- AX: [
1220
- "H"
1221
- ],
1222
- AZ: [
1223
- "H",
1224
- "hB",
1225
- "h"
1226
- ],
1227
- BA: [
1228
- "H",
1229
- "hB",
1230
- "h"
1231
- ],
1232
- BB: [
1233
- "h",
1234
- "hb",
1235
- "H",
1236
- "hB"
1237
- ],
1238
- BD: [
1239
- "h",
1240
- "hB",
1241
- "H"
1242
- ],
1243
- BE: [
1244
- "H",
1245
- "hB"
1246
- ],
1247
- BF: [
1248
- "H",
1249
- "hB"
1250
- ],
1251
- BG: [
1252
- "H",
1253
- "hB",
1254
- "h"
1255
- ],
1256
- BH: [
1257
- "h",
1258
- "hB",
1259
- "hb",
1260
- "H"
1261
- ],
1262
- BI: [
1263
- "H",
1264
- "h"
1265
- ],
1266
- BJ: [
1267
- "H",
1268
- "hB"
1269
- ],
1270
- BL: [
1271
- "H",
1272
- "hB"
1273
- ],
1274
- BM: [
1275
- "h",
1276
- "hb",
1277
- "H",
1278
- "hB"
1279
- ],
1280
- BN: [
1281
- "hb",
1282
- "hB",
1283
- "h",
1284
- "H"
1285
- ],
1286
- BO: [
1287
- "h",
1288
- "H",
1289
- "hB",
1290
- "hb"
1291
- ],
1292
- BQ: [
1293
- "H"
1294
- ],
1295
- BR: [
1296
- "H",
1297
- "hB"
1298
- ],
1299
- BS: [
1300
- "h",
1301
- "hb",
1302
- "H",
1303
- "hB"
1304
- ],
1305
- BT: [
1306
- "h",
1307
- "H"
1308
- ],
1309
- BW: [
1310
- "H",
1311
- "h",
1312
- "hb",
1313
- "hB"
1314
- ],
1315
- BY: [
1316
- "H",
1317
- "h"
1318
- ],
1319
- BZ: [
1320
- "H",
1321
- "h",
1322
- "hb",
1323
- "hB"
1324
- ],
1325
- CA: [
1326
- "h",
1327
- "hb",
1328
- "H",
1329
- "hB"
1330
- ],
1331
- CC: [
1332
- "H",
1333
- "h",
1334
- "hb",
1335
- "hB"
1336
- ],
1337
- CD: [
1338
- "hB",
1339
- "H"
1340
- ],
1341
- CF: [
1342
- "H",
1343
- "h",
1344
- "hB"
1345
- ],
1346
- CG: [
1347
- "H",
1348
- "hB"
1349
- ],
1350
- CH: [
1351
- "H",
1352
- "hB",
1353
- "h"
1354
- ],
1355
- CI: [
1356
- "H",
1357
- "hB"
1358
- ],
1359
- CK: [
1360
- "H",
1361
- "h",
1362
- "hb",
1363
- "hB"
1364
- ],
1365
- CL: [
1366
- "h",
1367
- "H",
1368
- "hB",
1369
- "hb"
1370
- ],
1371
- CM: [
1372
- "H",
1373
- "h",
1374
- "hB"
1375
- ],
1376
- CN: [
1377
- "H",
1378
- "hB",
1379
- "hb",
1380
- "h"
1381
- ],
1382
- CO: [
1383
- "h",
1384
- "H",
1385
- "hB",
1386
- "hb"
1387
- ],
1388
- CP: [
1389
- "H"
1390
- ],
1391
- CR: [
1392
- "h",
1393
- "H",
1394
- "hB",
1395
- "hb"
1396
- ],
1397
- CU: [
1398
- "h",
1399
- "H",
1400
- "hB",
1401
- "hb"
1402
- ],
1403
- CV: [
1404
- "H",
1405
- "hB"
1406
- ],
1407
- CW: [
1408
- "H",
1409
- "hB"
1410
- ],
1411
- CX: [
1412
- "H",
1413
- "h",
1414
- "hb",
1415
- "hB"
1416
- ],
1417
- CY: [
1418
- "h",
1419
- "H",
1420
- "hb",
1421
- "hB"
1422
- ],
1423
- CZ: [
1424
- "H"
1425
- ],
1426
- DE: [
1427
- "H",
1428
- "hB"
1429
- ],
1430
- DG: [
1431
- "H",
1432
- "h",
1433
- "hb",
1434
- "hB"
1435
- ],
1436
- DJ: [
1437
- "h",
1438
- "H"
1439
- ],
1440
- DK: [
1441
- "H"
1442
- ],
1443
- DM: [
1444
- "h",
1445
- "hb",
1446
- "H",
1447
- "hB"
1448
- ],
1449
- DO: [
1450
- "h",
1451
- "H",
1452
- "hB",
1453
- "hb"
1454
- ],
1455
- DZ: [
1456
- "h",
1457
- "hB",
1458
- "hb",
1459
- "H"
1460
- ],
1461
- EA: [
1462
- "H",
1463
- "h",
1464
- "hB",
1465
- "hb"
1466
- ],
1467
- EC: [
1468
- "h",
1469
- "H",
1470
- "hB",
1471
- "hb"
1472
- ],
1473
- EE: [
1474
- "H",
1475
- "hB"
1476
- ],
1477
- EG: [
1478
- "h",
1479
- "hB",
1480
- "hb",
1481
- "H"
1482
- ],
1483
- EH: [
1484
- "h",
1485
- "hB",
1486
- "hb",
1487
- "H"
1488
- ],
1489
- ER: [
1490
- "h",
1491
- "H"
1492
- ],
1493
- ES: [
1494
- "H",
1495
- "hB",
1496
- "h",
1497
- "hb"
1498
- ],
1499
- ET: [
1500
- "hB",
1501
- "hb",
1502
- "h",
1503
- "H"
1504
- ],
1505
- FI: [
1506
- "H"
1507
- ],
1508
- FJ: [
1509
- "h",
1510
- "hb",
1511
- "H",
1512
- "hB"
1513
- ],
1514
- FK: [
1515
- "H",
1516
- "h",
1517
- "hb",
1518
- "hB"
1519
- ],
1520
- FM: [
1521
- "h",
1522
- "hb",
1523
- "H",
1524
- "hB"
1525
- ],
1526
- FO: [
1527
- "H",
1528
- "h"
1529
- ],
1530
- FR: [
1531
- "H",
1532
- "hB"
1533
- ],
1534
- GA: [
1535
- "H",
1536
- "hB"
1537
- ],
1538
- GB: [
1539
- "H",
1540
- "h",
1541
- "hb",
1542
- "hB"
1543
- ],
1544
- GD: [
1545
- "h",
1546
- "hb",
1547
- "H",
1548
- "hB"
1549
- ],
1550
- GE: [
1551
- "H",
1552
- "hB",
1553
- "h"
1554
- ],
1555
- GF: [
1556
- "H",
1557
- "hB"
1558
- ],
1559
- GG: [
1560
- "H",
1561
- "h",
1562
- "hb",
1563
- "hB"
1564
- ],
1565
- GH: [
1566
- "h",
1567
- "H"
1568
- ],
1569
- GI: [
1570
- "H",
1571
- "h",
1572
- "hb",
1573
- "hB"
1574
- ],
1575
- GL: [
1576
- "H",
1577
- "h"
1578
- ],
1579
- GM: [
1580
- "h",
1581
- "hb",
1582
- "H",
1583
- "hB"
1584
- ],
1585
- GN: [
1586
- "H",
1587
- "hB"
1588
- ],
1589
- GP: [
1590
- "H",
1591
- "hB"
1592
- ],
1593
- GQ: [
1594
- "H",
1595
- "hB",
1596
- "h",
1597
- "hb"
1598
- ],
1599
- GR: [
1600
- "h",
1601
- "H",
1602
- "hb",
1603
- "hB"
1604
- ],
1605
- GT: [
1606
- "h",
1607
- "H",
1608
- "hB",
1609
- "hb"
1610
- ],
1611
- GU: [
1612
- "h",
1613
- "hb",
1614
- "H",
1615
- "hB"
1616
- ],
1617
- GW: [
1618
- "H",
1619
- "hB"
1620
- ],
1621
- GY: [
1622
- "h",
1623
- "hb",
1624
- "H",
1625
- "hB"
1626
- ],
1627
- HK: [
1628
- "h",
1629
- "hB",
1630
- "hb",
1631
- "H"
1632
- ],
1633
- HN: [
1634
- "h",
1635
- "H",
1636
- "hB",
1637
- "hb"
1638
- ],
1639
- HR: [
1640
- "H",
1641
- "hB"
1642
- ],
1643
- HU: [
1644
- "H",
1645
- "h"
1646
- ],
1647
- IC: [
1648
- "H",
1649
- "h",
1650
- "hB",
1651
- "hb"
1652
- ],
1653
- ID: [
1654
- "H"
1655
- ],
1656
- IE: [
1657
- "H",
1658
- "h",
1659
- "hb",
1660
- "hB"
1661
- ],
1662
- IL: [
1663
- "H",
1664
- "hB"
1665
- ],
1666
- IM: [
1667
- "H",
1668
- "h",
1669
- "hb",
1670
- "hB"
1671
- ],
1672
- IN: [
1673
- "h",
1674
- "H"
1675
- ],
1676
- IO: [
1677
- "H",
1678
- "h",
1679
- "hb",
1680
- "hB"
1681
- ],
1682
- IQ: [
1683
- "h",
1684
- "hB",
1685
- "hb",
1686
- "H"
1687
- ],
1688
- IR: [
1689
- "hB",
1690
- "H"
1691
- ],
1692
- IS: [
1693
- "H"
1694
- ],
1695
- IT: [
1696
- "H",
1697
- "hB"
1698
- ],
1699
- JE: [
1700
- "H",
1701
- "h",
1702
- "hb",
1703
- "hB"
1704
- ],
1705
- JM: [
1706
- "h",
1707
- "hb",
1708
- "H",
1709
- "hB"
1710
- ],
1711
- JO: [
1712
- "h",
1713
- "hB",
1714
- "hb",
1715
- "H"
1716
- ],
1717
- JP: [
1718
- "H",
1719
- "K",
1720
- "h"
1721
- ],
1722
- KE: [
1723
- "hB",
1724
- "hb",
1725
- "H",
1726
- "h"
1727
- ],
1728
- KG: [
1729
- "H",
1730
- "h",
1731
- "hB",
1732
- "hb"
1733
- ],
1734
- KH: [
1735
- "hB",
1736
- "h",
1737
- "H",
1738
- "hb"
1739
- ],
1740
- KI: [
1741
- "h",
1742
- "hb",
1743
- "H",
1744
- "hB"
1745
- ],
1746
- KM: [
1747
- "H",
1748
- "h",
1749
- "hB",
1750
- "hb"
1751
- ],
1752
- KN: [
1753
- "h",
1754
- "hb",
1755
- "H",
1756
- "hB"
1757
- ],
1758
- KP: [
1759
- "h",
1760
- "H",
1761
- "hB",
1762
- "hb"
1763
- ],
1764
- KR: [
1765
- "h",
1766
- "H",
1767
- "hB",
1768
- "hb"
1769
- ],
1770
- KW: [
1771
- "h",
1772
- "hB",
1773
- "hb",
1774
- "H"
1775
- ],
1776
- KY: [
1777
- "h",
1778
- "hb",
1779
- "H",
1780
- "hB"
1781
- ],
1782
- KZ: [
1783
- "H",
1784
- "hB"
1785
- ],
1786
- LA: [
1787
- "H",
1788
- "hb",
1789
- "hB",
1790
- "h"
1791
- ],
1792
- LB: [
1793
- "h",
1794
- "hB",
1795
- "hb",
1796
- "H"
1797
- ],
1798
- LC: [
1799
- "h",
1800
- "hb",
1801
- "H",
1802
- "hB"
1803
- ],
1804
- LI: [
1805
- "H",
1806
- "hB",
1807
- "h"
1808
- ],
1809
- LK: [
1810
- "H",
1811
- "h",
1812
- "hB",
1813
- "hb"
1814
- ],
1815
- LR: [
1816
- "h",
1817
- "hb",
1818
- "H",
1819
- "hB"
1820
- ],
1821
- LS: [
1822
- "h",
1823
- "H"
1824
- ],
1825
- LT: [
1826
- "H",
1827
- "h",
1828
- "hb",
1829
- "hB"
1830
- ],
1831
- LU: [
1832
- "H",
1833
- "h",
1834
- "hB"
1835
- ],
1836
- LV: [
1837
- "H",
1838
- "hB",
1839
- "hb",
1840
- "h"
1841
- ],
1842
- LY: [
1843
- "h",
1844
- "hB",
1845
- "hb",
1846
- "H"
1847
- ],
1848
- MA: [
1849
- "H",
1850
- "h",
1851
- "hB",
1852
- "hb"
1853
- ],
1854
- MC: [
1855
- "H",
1856
- "hB"
1857
- ],
1858
- MD: [
1859
- "H",
1860
- "hB"
1861
- ],
1862
- ME: [
1863
- "H",
1864
- "hB",
1865
- "h"
1866
- ],
1867
- MF: [
1868
- "H",
1869
- "hB"
1870
- ],
1871
- MG: [
1872
- "H",
1873
- "h"
1874
- ],
1875
- MH: [
1876
- "h",
1877
- "hb",
1878
- "H",
1879
- "hB"
1880
- ],
1881
- MK: [
1882
- "H",
1883
- "h",
1884
- "hb",
1885
- "hB"
1886
- ],
1887
- ML: [
1888
- "H"
1889
- ],
1890
- MM: [
1891
- "hB",
1892
- "hb",
1893
- "H",
1894
- "h"
1895
- ],
1896
- MN: [
1897
- "H",
1898
- "h",
1899
- "hb",
1900
- "hB"
1901
- ],
1902
- MO: [
1903
- "h",
1904
- "hB",
1905
- "hb",
1906
- "H"
1907
- ],
1908
- MP: [
1909
- "h",
1910
- "hb",
1911
- "H",
1912
- "hB"
1913
- ],
1914
- MQ: [
1915
- "H",
1916
- "hB"
1917
- ],
1918
- MR: [
1919
- "h",
1920
- "hB",
1921
- "hb",
1922
- "H"
1923
- ],
1924
- MS: [
1925
- "H",
1926
- "h",
1927
- "hb",
1928
- "hB"
1929
- ],
1930
- MT: [
1931
- "H",
1932
- "h"
1933
- ],
1934
- MU: [
1935
- "H",
1936
- "h"
1937
- ],
1938
- MV: [
1939
- "H",
1940
- "h"
1941
- ],
1942
- MW: [
1943
- "h",
1944
- "hb",
1945
- "H",
1946
- "hB"
1947
- ],
1948
- MX: [
1949
- "h",
1950
- "H",
1951
- "hB",
1952
- "hb"
1953
- ],
1954
- MY: [
1955
- "hb",
1956
- "hB",
1957
- "h",
1958
- "H"
1959
- ],
1960
- MZ: [
1961
- "H",
1962
- "hB"
1963
- ],
1964
- NA: [
1965
- "h",
1966
- "H",
1967
- "hB",
1968
- "hb"
1969
- ],
1970
- NC: [
1971
- "H",
1972
- "hB"
1973
- ],
1974
- NE: [
1975
- "H"
1976
- ],
1977
- NF: [
1978
- "H",
1979
- "h",
1980
- "hb",
1981
- "hB"
1982
- ],
1983
- NG: [
1984
- "H",
1985
- "h",
1986
- "hb",
1987
- "hB"
1988
- ],
1989
- NI: [
1990
- "h",
1991
- "H",
1992
- "hB",
1993
- "hb"
1994
- ],
1995
- NL: [
1996
- "H",
1997
- "hB"
1998
- ],
1999
- NO: [
2000
- "H",
2001
- "h"
2002
- ],
2003
- NP: [
2004
- "H",
2005
- "h",
2006
- "hB"
2007
- ],
2008
- NR: [
2009
- "H",
2010
- "h",
2011
- "hb",
2012
- "hB"
2013
- ],
2014
- NU: [
2015
- "H",
2016
- "h",
2017
- "hb",
2018
- "hB"
2019
- ],
2020
- NZ: [
2021
- "h",
2022
- "hb",
2023
- "H",
2024
- "hB"
2025
- ],
2026
- OM: [
2027
- "h",
2028
- "hB",
2029
- "hb",
2030
- "H"
2031
- ],
2032
- PA: [
2033
- "h",
2034
- "H",
2035
- "hB",
2036
- "hb"
2037
- ],
2038
- PE: [
2039
- "h",
2040
- "H",
2041
- "hB",
2042
- "hb"
2043
- ],
2044
- PF: [
2045
- "H",
2046
- "h",
2047
- "hB"
2048
- ],
2049
- PG: [
2050
- "h",
2051
- "H"
2052
- ],
2053
- PH: [
2054
- "h",
2055
- "hB",
2056
- "hb",
2057
- "H"
2058
- ],
2059
- PK: [
2060
- "h",
2061
- "hB",
2062
- "H"
2063
- ],
2064
- PL: [
2065
- "H",
2066
- "h"
2067
- ],
2068
- PM: [
2069
- "H",
2070
- "hB"
2071
- ],
2072
- PN: [
2073
- "H",
2074
- "h",
2075
- "hb",
2076
- "hB"
2077
- ],
2078
- PR: [
2079
- "h",
2080
- "H",
2081
- "hB",
2082
- "hb"
2083
- ],
2084
- PS: [
2085
- "h",
2086
- "hB",
2087
- "hb",
2088
- "H"
2089
- ],
2090
- PT: [
2091
- "H",
2092
- "hB"
2093
- ],
2094
- PW: [
2095
- "h",
2096
- "H"
2097
- ],
2098
- PY: [
2099
- "h",
2100
- "H",
2101
- "hB",
2102
- "hb"
2103
- ],
2104
- QA: [
2105
- "h",
2106
- "hB",
2107
- "hb",
2108
- "H"
2109
- ],
2110
- RE: [
2111
- "H",
2112
- "hB"
2113
- ],
2114
- RO: [
2115
- "H",
2116
- "hB"
2117
- ],
2118
- RS: [
2119
- "H",
2120
- "hB",
2121
- "h"
2122
- ],
2123
- RU: [
2124
- "H"
2125
- ],
2126
- RW: [
2127
- "H",
2128
- "h"
2129
- ],
2130
- SA: [
2131
- "h",
2132
- "hB",
2133
- "hb",
2134
- "H"
2135
- ],
2136
- SB: [
2137
- "h",
2138
- "hb",
2139
- "H",
2140
- "hB"
2141
- ],
2142
- SC: [
2143
- "H",
2144
- "h",
2145
- "hB"
2146
- ],
2147
- SD: [
2148
- "h",
2149
- "hB",
2150
- "hb",
2151
- "H"
2152
- ],
2153
- SE: [
2154
- "H"
2155
- ],
2156
- SG: [
2157
- "h",
2158
- "hb",
2159
- "H",
2160
- "hB"
2161
- ],
2162
- SH: [
2163
- "H",
2164
- "h",
2165
- "hb",
2166
- "hB"
2167
- ],
2168
- SI: [
2169
- "H",
2170
- "hB"
2171
- ],
2172
- SJ: [
2173
- "H"
2174
- ],
2175
- SK: [
2176
- "H"
2177
- ],
2178
- SL: [
2179
- "h",
2180
- "hb",
2181
- "H",
2182
- "hB"
2183
- ],
2184
- SM: [
2185
- "H",
2186
- "h",
2187
- "hB"
2188
- ],
2189
- SN: [
2190
- "H",
2191
- "h",
2192
- "hB"
2193
- ],
2194
- SO: [
2195
- "h",
2196
- "H"
2197
- ],
2198
- SR: [
2199
- "H",
2200
- "hB"
2201
- ],
2202
- SS: [
2203
- "h",
2204
- "hb",
2205
- "H",
2206
- "hB"
2207
- ],
2208
- ST: [
2209
- "H",
2210
- "hB"
2211
- ],
2212
- SV: [
2213
- "h",
2214
- "H",
2215
- "hB",
2216
- "hb"
2217
- ],
2218
- SX: [
2219
- "H",
2220
- "h",
2221
- "hb",
2222
- "hB"
2223
- ],
2224
- SY: [
2225
- "h",
2226
- "hB",
2227
- "hb",
2228
- "H"
2229
- ],
2230
- SZ: [
2231
- "h",
2232
- "hb",
2233
- "H",
2234
- "hB"
2235
- ],
2236
- TA: [
2237
- "H",
2238
- "h",
2239
- "hb",
2240
- "hB"
2241
- ],
2242
- TC: [
2243
- "h",
2244
- "hb",
2245
- "H",
2246
- "hB"
2247
- ],
2248
- TD: [
2249
- "h",
2250
- "H",
2251
- "hB"
2252
- ],
2253
- TF: [
2254
- "H",
2255
- "h",
2256
- "hB"
2257
- ],
2258
- TG: [
2259
- "H",
2260
- "hB"
2261
- ],
2262
- TH: [
2263
- "H",
2264
- "h"
2265
- ],
2266
- TJ: [
2267
- "H",
2268
- "h"
2269
- ],
2270
- TL: [
2271
- "H",
2272
- "hB",
2273
- "hb",
2274
- "h"
2275
- ],
2276
- TM: [
2277
- "H",
2278
- "h"
2279
- ],
2280
- TN: [
2281
- "h",
2282
- "hB",
2283
- "hb",
2284
- "H"
2285
- ],
2286
- TO: [
2287
- "h",
2288
- "H"
2289
- ],
2290
- TR: [
2291
- "H",
2292
- "hB"
2293
- ],
2294
- TT: [
2295
- "h",
2296
- "hb",
2297
- "H",
2298
- "hB"
2299
- ],
2300
- TW: [
2301
- "hB",
2302
- "hb",
2303
- "h",
2304
- "H"
2305
- ],
2306
- TZ: [
2307
- "hB",
2308
- "hb",
2309
- "H",
2310
- "h"
2311
- ],
2312
- UA: [
2313
- "H",
2314
- "hB",
2315
- "h"
2316
- ],
2317
- UG: [
2318
- "hB",
2319
- "hb",
2320
- "H",
2321
- "h"
2322
- ],
2323
- UM: [
2324
- "h",
2325
- "hb",
2326
- "H",
2327
- "hB"
2328
- ],
2329
- US: [
2330
- "h",
2331
- "hb",
2332
- "H",
2333
- "hB"
2334
- ],
2335
- UY: [
2336
- "h",
2337
- "H",
2338
- "hB",
2339
- "hb"
2340
- ],
2341
- UZ: [
2342
- "H",
2343
- "hB",
2344
- "h"
2345
- ],
2346
- VA: [
2347
- "H",
2348
- "h",
2349
- "hB"
2350
- ],
2351
- VC: [
2352
- "h",
2353
- "hb",
2354
- "H",
2355
- "hB"
2356
- ],
2357
- VE: [
2358
- "h",
2359
- "H",
2360
- "hB",
2361
- "hb"
2362
- ],
2363
- VG: [
2364
- "h",
2365
- "hb",
2366
- "H",
2367
- "hB"
2368
- ],
2369
- VI: [
2370
- "h",
2371
- "hb",
2372
- "H",
2373
- "hB"
2374
- ],
2375
- VN: [
2376
- "H",
2377
- "h"
2378
- ],
2379
- VU: [
2380
- "h",
2381
- "H"
2382
- ],
2383
- WF: [
2384
- "H",
2385
- "hB"
2386
- ],
2387
- WS: [
2388
- "h",
2389
- "H"
2390
- ],
2391
- XK: [
2392
- "H",
2393
- "hB",
2394
- "h"
2395
- ],
2396
- YE: [
2397
- "h",
2398
- "hB",
2399
- "hb",
2400
- "H"
2401
- ],
2402
- YT: [
2403
- "H",
2404
- "hB"
2405
- ],
2406
- ZA: [
2407
- "H",
2408
- "h",
2409
- "hb",
2410
- "hB"
2411
- ],
2412
- ZM: [
2413
- "h",
2414
- "hb",
2415
- "H",
2416
- "hB"
2417
- ],
2418
- ZW: [
2419
- "H",
2420
- "h"
2421
- ],
2422
- "af-ZA": [
2423
- "H",
2424
- "h",
2425
- "hB",
2426
- "hb"
2427
- ],
2428
- "ar-001": [
2429
- "h",
2430
- "hB",
2431
- "hb",
2432
- "H"
2433
- ],
2434
- "ca-ES": [
2435
- "H",
2436
- "h",
2437
- "hB"
2438
- ],
2439
- "en-001": [
2440
- "h",
2441
- "hb",
2442
- "H",
2443
- "hB"
2444
- ],
2445
- "en-HK": [
2446
- "h",
2447
- "hb",
2448
- "H",
2449
- "hB"
2450
- ],
2451
- "en-IL": [
2452
- "H",
2453
- "h",
2454
- "hb",
2455
- "hB"
2456
- ],
2457
- "en-MY": [
2458
- "h",
2459
- "hb",
2460
- "H",
2461
- "hB"
2462
- ],
2463
- "es-BR": [
2464
- "H",
2465
- "h",
2466
- "hB",
2467
- "hb"
2468
- ],
2469
- "es-ES": [
2470
- "H",
2471
- "h",
2472
- "hB",
2473
- "hb"
2474
- ],
2475
- "es-GQ": [
2476
- "H",
2477
- "h",
2478
- "hB",
2479
- "hb"
2480
- ],
2481
- "fr-CA": [
2482
- "H",
2483
- "h",
2484
- "hB"
2485
- ],
2486
- "gl-ES": [
2487
- "H",
2488
- "h",
2489
- "hB"
2490
- ],
2491
- "gu-IN": [
2492
- "hB",
2493
- "hb",
2494
- "h",
2495
- "H"
2496
- ],
2497
- "hi-IN": [
2498
- "hB",
2499
- "h",
2500
- "H"
2501
- ],
2502
- "it-CH": [
2503
- "H",
2504
- "h",
2505
- "hB"
2506
- ],
2507
- "it-IT": [
2508
- "H",
2509
- "h",
2510
- "hB"
2511
- ],
2512
- "kn-IN": [
2513
- "hB",
2514
- "h",
2515
- "H"
2516
- ],
2517
- "ml-IN": [
2518
- "hB",
2519
- "h",
2520
- "H"
2521
- ],
2522
- "mr-IN": [
2523
- "hB",
2524
- "hb",
2525
- "h",
2526
- "H"
2527
- ],
2528
- "pa-IN": [
2529
- "hB",
2530
- "hb",
2531
- "h",
2532
- "H"
2533
- ],
2534
- "ta-IN": [
2535
- "hB",
2536
- "h",
2537
- "hb",
2538
- "H"
2539
- ],
2540
- "te-IN": [
2541
- "hB",
2542
- "h",
2543
- "H"
2544
- ],
2545
- "zu-ZA": [
2546
- "H",
2547
- "hB",
2548
- "hb",
2549
- "h"
2550
- ]
2551
- };
2552
- function _n(e, t) {
2553
- for (var r = "", n = 0; n < e.length; n++) {
2554
- var i = e.charAt(n);
2555
- if (i === "j") {
2556
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2557
- o++, n++;
2558
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = En(t);
2559
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2560
- r += l;
2561
- for (; a-- > 0; )
2562
- r = u + r;
2563
- } else
2564
- i === "J" ? r += "H" : r += i;
2565
- }
2566
- return r;
2567
- }
2568
- function En(e) {
2569
- var t = e.hourCycle;
2570
- if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2571
- e.hourCycles && // @ts-ignore
2572
- e.hourCycles.length && (t = e.hourCycles[0]), t)
2573
- switch (t) {
2574
- case "h24":
2575
- return "k";
2576
- case "h23":
2577
- return "H";
2578
- case "h12":
2579
- return "h";
2580
- case "h11":
2581
- return "K";
2582
- default:
2583
- throw new Error("Invalid hourCycle");
2584
- }
2585
- var r = e.language, n;
2586
- r !== "root" && (n = e.maximize().region);
2587
- var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
2588
- return i[0];
2589
- }
2590
- var Fe, xn = new RegExp("^".concat(Yt.source, "*")), Tn = new RegExp("".concat(Yt.source, "*$"));
2591
- function y(e, t) {
2592
- return { start: e, end: t };
2593
- }
2594
- var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), wn = !!String.fromCodePoint, Hn = !!Object.fromEntries, Sn = !!String.prototype.codePointAt, Cn = !!String.prototype.trimStart, Mn = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, kn = Rn ? Number.isSafeInteger : function(e) {
2595
- return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2596
- }, Ye = !0;
2597
- try {
2598
- var Nn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2599
- Ye = ((Fe = Nn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2600
- } catch (e) {
2601
- Ye = !1;
2602
- }
2603
- var _t = Bn ? (
2604
- // Native
2605
- function(t, r, n) {
2606
- return t.startsWith(r, n);
2607
- }
2608
- ) : (
2609
- // For IE11
2610
- function(t, r, n) {
2611
- return t.slice(n, n + r.length) === r;
2612
- }
2613
- ), Ke = wn ? String.fromCodePoint : (
2614
- // IE11
2615
- function() {
2616
- for (var t = [], r = 0; r < arguments.length; r++)
2617
- t[r] = arguments[r];
2618
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
2619
- if (a = t[o++], a > 1114111)
2620
- throw RangeError(a + " is not a valid code point");
2621
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2622
- }
2623
- return n;
2624
- }
2625
- ), Et = (
2626
- // native
2627
- Hn ? Object.fromEntries : (
2628
- // Ponyfill
2629
- function(t) {
2630
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
2631
- var o = i[n], a = o[0], s = o[1];
2632
- r[a] = s;
2633
- }
2634
- return r;
2635
- }
2636
- )
2637
- ), er = Sn ? (
2638
- // Native
2639
- function(t, r) {
2640
- return t.codePointAt(r);
2641
- }
2642
- ) : (
2643
- // IE 11
2644
- function(t, r) {
2645
- var n = t.length;
2646
- if (!(r < 0 || r >= n)) {
2647
- var i = t.charCodeAt(r), o;
2648
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2649
- }
2650
- }
2651
- ), An = Cn ? (
2652
- // Native
2653
- function(t) {
2654
- return t.trimStart();
2655
- }
2656
- ) : (
2657
- // Ponyfill
2658
- function(t) {
2659
- return t.replace(xn, "");
2660
- }
2661
- ), Ln = Mn ? (
2662
- // Native
2663
- function(t) {
2664
- return t.trimEnd();
2665
- }
2666
- ) : (
2667
- // Ponyfill
2668
- function(t) {
2669
- return t.replace(Tn, "");
2670
- }
2671
- );
2672
- function tr(e, t) {
2673
- return new RegExp(e, t);
2674
- }
2675
- var qe;
2676
- if (Ye) {
2677
- var xt = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2678
- qe = function(t, r) {
2679
- var n;
2680
- xt.lastIndex = r;
2681
- var i = xt.exec(t);
2682
- return (n = i[1]) !== null && n !== void 0 ? n : "";
2683
- };
2684
- } else
2685
- qe = function(t, r) {
2686
- for (var n = []; ; ) {
2687
- var i = er(t, r);
2688
- if (i === void 0 || rr(i) || $n(i))
2689
- break;
2690
- n.push(i), r += i >= 65536 ? 2 : 1;
2691
- }
2692
- return Ke.apply(void 0, n);
2693
- };
2694
- var Pn = (
2695
- /** @class */
2696
- function() {
2697
- function e(t, r) {
2698
- r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
2699
- }
2700
- return e.prototype.parse = function() {
2701
- if (this.offset() !== 0)
2702
- throw Error("parser can only be used once");
2703
- return this.parseMessage(0, "", !1);
2704
- }, e.prototype.parseMessage = function(t, r, n) {
2705
- for (var i = []; !this.isEOF(); ) {
2706
- var o = this.char();
2707
- if (o === 123) {
2708
- var a = this.parseArgument(t, n);
2709
- if (a.err)
2710
- return a;
2711
- i.push(a.val);
2712
- } else {
2713
- if (o === 125 && t > 0)
2714
- break;
2715
- if (o === 35 && (r === "plural" || r === "selectordinal")) {
2716
- var s = this.clonePosition();
2717
- this.bump(), i.push({
2718
- type: B.pound,
2719
- location: y(s, this.clonePosition())
2720
- });
2721
- } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2722
- if (n)
2723
- break;
2724
- return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2725
- } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2726
- var a = this.parseTag(t, r);
2727
- if (a.err)
2728
- return a;
2729
- i.push(a.val);
2730
- } else {
2731
- var a = this.parseLiteral(t, r);
2732
- if (a.err)
2733
- return a;
2734
- i.push(a.val);
2735
- }
2736
- }
2737
- }
2738
- return { val: i, err: null };
2739
- }, e.prototype.parseTag = function(t, r) {
2740
- var n = this.clonePosition();
2741
- this.bump();
2742
- var i = this.parseTagName();
2743
- if (this.bumpSpace(), this.bumpIf("/>"))
2744
- return {
2745
- val: {
2746
- type: B.literal,
2747
- value: "<".concat(i, "/>"),
2748
- location: y(n, this.clonePosition())
2749
- },
2750
- err: null
2751
- };
2752
- if (this.bumpIf(">")) {
2753
- var o = this.parseMessage(t + 1, r, !0);
2754
- if (o.err)
2755
- return o;
2756
- var a = o.val, s = this.clonePosition();
2757
- if (this.bumpIf("</")) {
2758
- if (this.isEOF() || !Qe(this.char()))
2759
- return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
2760
- var l = this.clonePosition(), u = this.parseTagName();
2761
- return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2762
- val: {
2763
- type: B.tag,
2764
- value: i,
2765
- children: a,
2766
- location: y(n, this.clonePosition())
2767
- },
2768
- err: null
2769
- } : this.error(b.INVALID_TAG, y(s, this.clonePosition())));
2770
- } else
2771
- return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
2772
- } else
2773
- return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
2774
- }, e.prototype.parseTagName = function() {
2775
- var t = this.offset();
2776
- for (this.bump(); !this.isEOF() && In(this.char()); )
2777
- this.bump();
2778
- return this.message.slice(t, this.offset());
2779
- }, e.prototype.parseLiteral = function(t, r) {
2780
- for (var n = this.clonePosition(), i = ""; ; ) {
2781
- var o = this.tryParseQuote(r);
2782
- if (o) {
2783
- i += o;
2784
- continue;
2785
- }
2786
- var a = this.tryParseUnquoted(t, r);
2787
- if (a) {
2788
- i += a;
2789
- continue;
2790
- }
2791
- var s = this.tryParseLeftAngleBracket();
2792
- if (s) {
2793
- i += s;
2794
- continue;
2795
- }
2796
- break;
2797
- }
2798
- var l = y(n, this.clonePosition());
2799
- return {
2800
- val: { type: B.literal, value: i, location: l },
2801
- err: null
2802
- };
2803
- }, e.prototype.tryParseLeftAngleBracket = function() {
2804
- return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2805
- !On(this.peek() || 0)) ? (this.bump(), "<") : null;
2806
- }, e.prototype.tryParseQuote = function(t) {
2807
- if (this.isEOF() || this.char() !== 39)
2808
- return null;
2809
- switch (this.peek()) {
2810
- case 39:
2811
- return this.bump(), this.bump(), "'";
2812
- case 123:
2813
- case 60:
2814
- case 62:
2815
- case 125:
2816
- break;
2817
- case 35:
2818
- if (t === "plural" || t === "selectordinal")
2819
- break;
2820
- return null;
2821
- default:
2822
- return null;
2823
- }
2824
- this.bump();
2825
- var r = [this.char()];
2826
- for (this.bump(); !this.isEOF(); ) {
2827
- var n = this.char();
2828
- if (n === 39)
2829
- if (this.peek() === 39)
2830
- r.push(39), this.bump();
2831
- else {
2832
- this.bump();
2833
- break;
2834
- }
2835
- else
2836
- r.push(n);
2837
- this.bump();
2838
- }
2839
- return Ke.apply(void 0, r);
2840
- }, e.prototype.tryParseUnquoted = function(t, r) {
2841
- if (this.isEOF())
2842
- return null;
2843
- var n = this.char();
2844
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
2845
- }, e.prototype.parseArgument = function(t, r) {
2846
- var n = this.clonePosition();
2847
- if (this.bump(), this.bumpSpace(), this.isEOF())
2848
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2849
- if (this.char() === 125)
2850
- return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
2851
- var i = this.parseIdentifierIfPossible().value;
2852
- if (!i)
2853
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2854
- if (this.bumpSpace(), this.isEOF())
2855
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
2856
- switch (this.char()) {
2857
- case 125:
2858
- return this.bump(), {
2859
- val: {
2860
- type: B.argument,
2861
- // value does not include the opening and closing braces.
2862
- value: i,
2863
- location: y(n, this.clonePosition())
2864
- },
2865
- err: null
2866
- };
2867
- case 44:
2868
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2869
- default:
2870
- return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
2871
- }
2872
- }, e.prototype.parseIdentifierIfPossible = function() {
2873
- var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
2874
- this.bumpTo(i);
2875
- var o = this.clonePosition(), a = y(t, o);
2876
- return { value: n, location: a };
2877
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2878
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2879
- switch (s) {
2880
- case "":
2881
- return this.error(b.EXPECT_ARGUMENT_TYPE, y(a, l));
2882
- case "number":
2883
- case "date":
2884
- case "time": {
2885
- this.bumpSpace();
2886
- var u = null;
2887
- if (this.bumpIf(",")) {
2888
- this.bumpSpace();
2889
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2890
- if (c.err)
2891
- return c;
2892
- var f = Ln(c.val);
2893
- if (f.length === 0)
2894
- return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
2895
- var g = y(h, this.clonePosition());
2896
- u = { style: f, styleLocation: g };
2897
- }
2898
- var _ = this.tryParseArgumentClose(i);
2899
- if (_.err)
2900
- return _;
2901
- var T = y(i, this.clonePosition());
2902
- if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
2903
- var H = An(u.style.slice(2));
2904
- if (s === "number") {
2905
- var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
2906
- return c.err ? c : {
2907
- val: { type: B.number, value: n, location: T, style: c.val },
2908
- err: null
2909
- };
2910
- } else {
2911
- if (H.length === 0)
2912
- return this.error(b.EXPECT_DATE_TIME_SKELETON, T);
2913
- var w = H;
2914
- this.locale && (w = _n(H, this.locale));
2915
- var f = {
2916
- type: he.dateTime,
2917
- pattern: w,
2918
- location: u.styleLocation,
2919
- parsedOptions: this.shouldParseSkeletons ? mn(w) : {}
2920
- }, k = s === "date" ? B.date : B.time;
2921
- return {
2922
- val: { type: k, value: n, location: T, style: f },
2923
- err: null
2924
- };
2925
- }
2926
- }
2927
- return {
2928
- val: {
2929
- type: s === "number" ? B.number : s === "date" ? B.date : B.time,
2930
- value: n,
2931
- location: T,
2932
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2933
- },
2934
- err: null
2935
- };
2936
- }
2937
- case "plural":
2938
- case "selectordinal":
2939
- case "select": {
2940
- var C = this.clonePosition();
2941
- if (this.bumpSpace(), !this.bumpIf(","))
2942
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(C, v({}, C)));
2943
- this.bumpSpace();
2944
- var L = this.parseIdentifierIfPossible(), N = 0;
2945
- if (s !== "select" && L.value === "offset") {
2946
- if (!this.bumpIf(":"))
2947
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
2948
- this.bumpSpace();
2949
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2950
- if (c.err)
2951
- return c;
2952
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), N = c.val;
2953
- }
2954
- var X = this.tryParsePluralOrSelectOptions(t, s, r, L);
2955
- if (X.err)
2956
- return X;
2957
- var _ = this.tryParseArgumentClose(i);
2958
- if (_.err)
2959
- return _;
2960
- var te = y(i, this.clonePosition());
2961
- return s === "select" ? {
2962
- val: {
2963
- type: B.select,
2964
- value: n,
2965
- options: Et(X.val),
2966
- location: te
2967
- },
2968
- err: null
2969
- } : {
2970
- val: {
2971
- type: B.plural,
2972
- value: n,
2973
- options: Et(X.val),
2974
- offset: N,
2975
- pluralType: s === "plural" ? "cardinal" : "ordinal",
2976
- location: te
2977
- },
2978
- err: null
2979
- };
2980
- }
2981
- default:
2982
- return this.error(b.INVALID_ARGUMENT_TYPE, y(a, l));
2983
- }
2984
- }, e.prototype.tryParseArgumentClose = function(t) {
2985
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2986
- }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2987
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2988
- var n = this.char();
2989
- switch (n) {
2990
- case 39: {
2991
- this.bump();
2992
- var i = this.clonePosition();
2993
- if (!this.bumpUntil("'"))
2994
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
2995
- this.bump();
2996
- break;
2997
- }
2998
- case 123: {
2999
- t += 1, this.bump();
3000
- break;
3001
- }
3002
- case 125: {
3003
- if (t > 0)
3004
- t -= 1;
3005
- else
3006
- return {
3007
- val: this.message.slice(r.offset, this.offset()),
3008
- err: null
3009
- };
3010
- break;
3011
- }
3012
- default:
3013
- this.bump();
3014
- break;
3015
- }
3016
- }
3017
- return {
3018
- val: this.message.slice(r.offset, this.offset()),
3019
- err: null
3020
- };
3021
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3022
- var n = [];
3023
- try {
3024
- n = pn(t);
3025
- } catch (i) {
3026
- return this.error(b.INVALID_NUMBER_SKELETON, r);
3027
- }
3028
- return {
3029
- val: {
3030
- type: he.number,
3031
- tokens: n,
3032
- location: r,
3033
- parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
3034
- },
3035
- err: null
3036
- };
3037
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3038
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3039
- if (u.length === 0) {
3040
- var c = this.clonePosition();
3041
- if (r !== "select" && this.bumpIf("=")) {
3042
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3043
- if (f.err)
3044
- return f;
3045
- h = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3046
- } else
3047
- break;
3048
- }
3049
- if (l.has(u))
3050
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3051
- u === "other" && (a = !0), this.bumpSpace();
3052
- var g = this.clonePosition();
3053
- if (!this.bumpIf("{"))
3054
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3055
- var _ = this.parseMessage(t + 1, r, n);
3056
- if (_.err)
3057
- return _;
3058
- var T = this.tryParseArgumentClose(g);
3059
- if (T.err)
3060
- return T;
3061
- s.push([
3062
- u,
3063
- {
3064
- value: _.val,
3065
- location: y(g, this.clonePosition())
3066
- }
3067
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3068
- }
3069
- return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3070
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3071
- var n = 1, i = this.clonePosition();
3072
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3073
- for (var o = !1, a = 0; !this.isEOF(); ) {
3074
- var s = this.char();
3075
- if (s >= 48 && s <= 57)
3076
- o = !0, a = a * 10 + (s - 48), this.bump();
3077
- else
3078
- break;
3079
- }
3080
- var l = y(i, this.clonePosition());
3081
- return o ? (a *= n, kn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3082
- }, e.prototype.offset = function() {
3083
- return this.position.offset;
3084
- }, e.prototype.isEOF = function() {
3085
- return this.offset() === this.message.length;
3086
- }, e.prototype.clonePosition = function() {
3087
- return {
3088
- offset: this.position.offset,
3089
- line: this.position.line,
3090
- column: this.position.column
3091
- };
3092
- }, e.prototype.char = function() {
3093
- var t = this.position.offset;
3094
- if (t >= this.message.length)
3095
- throw Error("out of bound");
3096
- var r = er(this.message, t);
3097
- if (r === void 0)
3098
- throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3099
- return r;
3100
- }, e.prototype.error = function(t, r) {
3101
- return {
3102
- val: null,
3103
- err: {
3104
- kind: t,
3105
- message: this.message,
3106
- location: r
3107
- }
3108
- };
3109
- }, e.prototype.bump = function() {
3110
- if (!this.isEOF()) {
3111
- var t = this.char();
3112
- 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);
3113
- }
3114
- }, e.prototype.bumpIf = function(t) {
3115
- if (_t(this.message, t, this.offset())) {
3116
- for (var r = 0; r < t.length; r++)
3117
- this.bump();
3118
- return !0;
3119
- }
3120
- return !1;
3121
- }, e.prototype.bumpUntil = function(t) {
3122
- var r = this.offset(), n = this.message.indexOf(t, r);
3123
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3124
- }, e.prototype.bumpTo = function(t) {
3125
- if (this.offset() > t)
3126
- throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3127
- for (t = Math.min(t, this.message.length); ; ) {
3128
- var r = this.offset();
3129
- if (r === t)
3130
- break;
3131
- if (r > t)
3132
- throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3133
- if (this.bump(), this.isEOF())
3134
- break;
3135
- }
3136
- }, e.prototype.bumpSpace = function() {
3137
- for (; !this.isEOF() && rr(this.char()); )
3138
- this.bump();
3139
- }, e.prototype.peek = function() {
3140
- if (this.isEOF())
3141
- return null;
3142
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3143
- return n != null ? n : null;
3144
- }, e;
3145
- }()
3146
- );
3147
- function Qe(e) {
3148
- return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3149
- }
3150
- function On(e) {
3151
- return Qe(e) || e === 47;
3152
- }
3153
- function In(e) {
3154
- 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;
3155
- }
3156
- function rr(e) {
3157
- return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3158
- }
3159
- function $n(e) {
3160
- 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;
3161
- }
3162
- function et(e) {
3163
- e.forEach(function(t) {
3164
- if (delete t.location, Xt(t) || Wt(t))
3165
- for (var r in t.options)
3166
- delete t.options[r].location, et(t.options[r].value);
3167
- else
3168
- jt(t) && Jt(t.style) || (Vt(t) || zt(t)) && Je(t.style) ? delete t.style.location : Zt(t) && et(t.children);
3169
- });
3170
- }
3171
- function Dn(e, t) {
3172
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3173
- var r = new Pn(e, t).parse();
3174
- if (r.err) {
3175
- var n = SyntaxError(b[r.err.kind]);
3176
- throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3177
- }
3178
- return t != null && t.captureLocation || et(r.val), r.val;
3179
- }
3180
- var ce;
3181
- (function(e) {
3182
- e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3183
- })(ce || (ce = {}));
3184
- var Le = (
3185
- /** @class */
3186
- function(e) {
3187
- Ae(t, e);
3188
- function t(r, n, i) {
3189
- var o = e.call(this, r) || this;
3190
- return o.code = n, o.originalMessage = i, o;
3191
- }
3192
- return t.prototype.toString = function() {
3193
- return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3194
- }, t;
3195
- }(Error)
3196
- ), Tt = (
3197
- /** @class */
3198
- function(e) {
3199
- Ae(t, e);
3200
- function t(r, n, i, o) {
3201
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
3202
- }
3203
- return t;
3204
- }(Le)
3205
- ), Un = (
3206
- /** @class */
3207
- function(e) {
3208
- Ae(t, e);
3209
- function t(r, n, i) {
3210
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
3211
- }
3212
- return t;
3213
- }(Le)
3214
- ), Gn = (
3215
- /** @class */
3216
- function(e) {
3217
- Ae(t, e);
3218
- function t(r, n) {
3219
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ce.MISSING_VALUE, n) || this;
3220
- }
3221
- return t;
3222
- }(Le)
3223
- ), O;
3224
- (function(e) {
3225
- e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3226
- })(O || (O = {}));
3227
- function Fn(e) {
3228
- return e.length < 2 ? e : e.reduce(function(t, r) {
3229
- var n = t[t.length - 1];
3230
- return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
3231
- }, []);
3232
- }
3233
- function jn(e) {
3234
- return typeof e == "function";
3235
- }
3236
- function He(e, t, r, n, i, o, a) {
3237
- if (e.length === 1 && bt(e[0]))
3238
- return [
3239
- {
3240
- type: O.literal,
3241
- value: e[0].value
3242
- }
3243
- ];
3244
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3245
- var h = u[l];
3246
- if (bt(h)) {
3247
- s.push({
3248
- type: O.literal,
3249
- value: h.value
3250
- });
3251
- continue;
3252
- }
3253
- if (cn(h)) {
3254
- typeof o == "number" && s.push({
3255
- type: O.literal,
3256
- value: r.getNumberFormat(t).format(o)
3257
- });
3258
- continue;
3259
- }
3260
- var c = h.value;
3261
- if (!(i && c in i))
3262
- throw new Gn(c, a);
3263
- var f = i[c];
3264
- if (hn(h)) {
3265
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3266
- type: typeof f == "string" ? O.literal : O.object,
3267
- value: f
3268
- });
3269
- continue;
3270
- }
3271
- if (Vt(h)) {
3272
- var g = typeof h.style == "string" ? n.date[h.style] : Je(h.style) ? h.style.parsedOptions : void 0;
3273
- s.push({
3274
- type: O.literal,
3275
- value: r.getDateTimeFormat(t, g).format(f)
3276
- });
3277
- continue;
3278
- }
3279
- if (zt(h)) {
3280
- var g = typeof h.style == "string" ? n.time[h.style] : Je(h.style) ? h.style.parsedOptions : n.time.medium;
3281
- s.push({
3282
- type: O.literal,
3283
- value: r.getDateTimeFormat(t, g).format(f)
3284
- });
3285
- continue;
3286
- }
3287
- if (jt(h)) {
3288
- var g = typeof h.style == "string" ? n.number[h.style] : Jt(h.style) ? h.style.parsedOptions : void 0;
3289
- g && g.scale && (f = f * (g.scale || 1)), s.push({
3290
- type: O.literal,
3291
- value: r.getNumberFormat(t, g).format(f)
3292
- });
3293
- continue;
3294
- }
3295
- if (Zt(h)) {
3296
- var _ = h.children, T = h.value, H = i[T];
3297
- if (!jn(H))
3298
- throw new Un(T, "function", a);
3299
- var w = He(_, t, r, n, i, o), k = H(w.map(function(N) {
3300
- return N.value;
3301
- }));
3302
- Array.isArray(k) || (k = [k]), s.push.apply(s, k.map(function(N) {
3303
- return {
3304
- type: typeof N == "string" ? O.literal : O.object,
3305
- value: N
3306
- };
3307
- }));
3308
- }
3309
- if (Xt(h)) {
3310
- var C = h.options[f] || h.options.other;
3311
- if (!C)
3312
- throw new Tt(h.value, f, Object.keys(h.options), a);
3313
- s.push.apply(s, He(C.value, t, r, n, i));
3314
- continue;
3315
- }
3316
- if (Wt(h)) {
3317
- var C = h.options["=".concat(f)];
3318
- if (!C) {
3319
- if (!Intl.PluralRules)
3320
- throw new Le(`Intl.PluralRules is not available in this environment.
3321
- Try polyfilling it using "@formatjs/intl-pluralrules"
3322
- `, ce.MISSING_INTL_API, a);
3323
- var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3324
- C = h.options[L] || h.options.other;
3325
- }
3326
- if (!C)
3327
- throw new Tt(h.value, f, Object.keys(h.options), a);
3328
- s.push.apply(s, He(C.value, t, r, n, i, f - (h.offset || 0)));
3329
- continue;
3330
- }
3331
- }
3332
- return Fn(s);
3333
- }
3334
- function Vn(e, t) {
3335
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3336
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3337
- }, {})) : e;
3338
- }
3339
- function zn(e, t) {
3340
- return t ? Object.keys(e).reduce(function(r, n) {
3341
- return r[n] = Vn(e[n], t[n]), r;
3342
- }, v({}, e)) : e;
3343
- }
3344
- function je(e) {
3345
- return {
3346
- create: function() {
3347
- return {
3348
- get: function(t) {
3349
- return e[t];
3350
- },
3351
- set: function(t, r) {
3352
- e[t] = r;
3353
- }
3354
- };
3355
- }
3356
- };
3357
- }
3358
- function Xn(e) {
3359
- return e === void 0 && (e = {
3360
- number: {},
3361
- dateTime: {},
3362
- pluralRules: {}
3363
- }), {
3364
- getNumberFormat: Ue(function() {
3365
- for (var t, r = [], n = 0; n < arguments.length; n++)
3366
- r[n] = arguments[n];
3367
- return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
3368
- }, {
3369
- cache: je(e.number),
3370
- strategy: Ge.variadic
3371
- }),
3372
- getDateTimeFormat: Ue(function() {
3373
- for (var t, r = [], n = 0; n < arguments.length; n++)
3374
- r[n] = arguments[n];
3375
- return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
3376
- }, {
3377
- cache: je(e.dateTime),
3378
- strategy: Ge.variadic
3379
- }),
3380
- getPluralRules: Ue(function() {
3381
- for (var t, r = [], n = 0; n < arguments.length; n++)
3382
- r[n] = arguments[n];
3383
- return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
3384
- }, {
3385
- cache: je(e.pluralRules),
3386
- strategy: Ge.variadic
3387
- })
3388
- };
3389
- }
3390
- var Wn = (
3391
- /** @class */
3392
- function() {
3393
- function e(t, r, n, i) {
3394
- r === void 0 && (r = e.defaultLocale);
3395
- var o = this;
3396
- if (this.formatterCache = {
3397
- number: {},
3398
- dateTime: {},
3399
- pluralRules: {}
3400
- }, this.format = function(l) {
3401
- var u = o.formatToParts(l);
3402
- if (u.length === 1)
3403
- return u[0].value;
3404
- var h = u.reduce(function(c, f) {
3405
- return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3406
- }, []);
3407
- return h.length <= 1 ? h[0] || "" : h;
3408
- }, this.formatToParts = function(l) {
3409
- return He(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3410
- }, this.resolvedOptions = function() {
3411
- var l;
3412
- return {
3413
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3414
- };
3415
- }, this.getAst = function() {
3416
- return o.ast;
3417
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3418
- if (this.message = t, !e.__parse)
3419
- throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3420
- var a = i || {};
3421
- a.formatters;
3422
- var s = rn(a, ["formatters"]);
3423
- this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
3424
- } else
3425
- this.ast = t;
3426
- if (!Array.isArray(this.ast))
3427
- throw new TypeError("A message must be provided as a String or AST.");
3428
- this.formats = zn(e.formats, n), this.formatters = i && i.formatters || Xn(this.formatterCache);
3429
- }
3430
- return Object.defineProperty(e, "defaultLocale", {
3431
- get: function() {
3432
- return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
3433
- },
3434
- enumerable: !1,
3435
- configurable: !0
3436
- }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3437
- if (typeof Intl.Locale != "undefined") {
3438
- var r = Intl.NumberFormat.supportedLocalesOf(t);
3439
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3440
- }
3441
- }, e.__parse = Dn, e.formats = {
3442
- number: {
3443
- integer: {
3444
- maximumFractionDigits: 0
3445
- },
3446
- currency: {
3447
- style: "currency"
3448
- },
3449
- percent: {
3450
- style: "percent"
3451
- }
3452
- },
3453
- date: {
3454
- short: {
3455
- month: "numeric",
3456
- day: "numeric",
3457
- year: "2-digit"
3458
- },
3459
- medium: {
3460
- month: "short",
3461
- day: "numeric",
3462
- year: "numeric"
3463
- },
3464
- long: {
3465
- month: "long",
3466
- day: "numeric",
3467
- year: "numeric"
3468
- },
3469
- full: {
3470
- weekday: "long",
3471
- month: "long",
3472
- day: "numeric",
3473
- year: "numeric"
3474
- }
3475
- },
3476
- time: {
3477
- short: {
3478
- hour: "numeric",
3479
- minute: "numeric"
3480
- },
3481
- medium: {
3482
- hour: "numeric",
3483
- minute: "numeric",
3484
- second: "numeric"
3485
- },
3486
- long: {
3487
- hour: "numeric",
3488
- minute: "numeric",
3489
- second: "numeric",
3490
- timeZoneName: "short"
3491
- },
3492
- full: {
3493
- hour: "numeric",
3494
- minute: "numeric",
3495
- second: "numeric",
3496
- timeZoneName: "short"
3497
- }
3498
- }
3499
- }, e;
3500
- }()
3501
- );
3502
- function Zn(e, t) {
3503
- if (t == null)
3504
- return;
3505
- if (t in e)
3506
- return e[t];
3507
- const r = t.split(".");
3508
- let n = e;
3509
- for (let i = 0; i < r.length; i++)
3510
- if (typeof n == "object") {
3511
- if (i > 0) {
3512
- const o = r.slice(i, r.length).join(".");
3513
- if (o in n) {
3514
- n = n[o];
3515
- break;
3516
- }
3517
- }
3518
- n = n[r[i]];
3519
- } else
3520
- n = void 0;
3521
- return n;
3522
- }
3523
- const Q = {}, Jn = (e, t, r) => r && (t in Q || (Q[t] = {}), e in Q[t] || (Q[t][e] = r), r), nr = (e, t) => {
3524
- if (t == null)
3525
- return;
3526
- if (t in Q && e in Q[t])
3527
- return Q[t][e];
3528
- const r = Pe(t);
3529
- for (let n = 0; n < r.length; n++) {
3530
- const i = r[n], o = Kn(i, e);
3531
- if (o)
3532
- return Jn(e, t, o);
3533
- }
3534
- };
3535
- let at;
3536
- const de = Ne({});
3537
- function Yn(e) {
3538
- return at[e] || null;
3539
- }
3540
- function ir(e) {
3541
- return e in at;
3542
- }
3543
- function Kn(e, t) {
3544
- if (!ir(e))
3545
- return null;
3546
- const r = Yn(e);
3547
- return Zn(r, t);
3548
- }
3549
- function qn(e) {
3550
- if (e == null)
3551
- return;
3552
- const t = Pe(e);
3553
- for (let r = 0; r < t.length; r++) {
3554
- const n = t[r];
3555
- if (ir(n))
3556
- return n;
3557
- }
3558
- }
3559
- function or(e, ...t) {
3560
- delete Q[e], de.update((r) => (r[e] = tn.all([r[e] || {}, ...t]), r));
3561
- }
3562
- me(
3563
- [de],
3564
- ([e]) => Object.keys(e)
3565
- );
3566
- de.subscribe((e) => at = e);
3567
- const Se = {};
3568
- function Qn(e, t) {
3569
- Se[e].delete(t), Se[e].size === 0 && delete Se[e];
3570
- }
3571
- function ar(e) {
3572
- return Se[e];
3573
- }
3574
- function ei(e) {
3575
- return Pe(e).map((t) => {
3576
- const r = ar(t);
3577
- return [t, r ? [...r] : []];
3578
- }).filter(([, t]) => t.length > 0);
3579
- }
3580
- function tt(e) {
3581
- return e == null ? !1 : Pe(e).some(
3582
- (t) => {
3583
- var r;
3584
- return (r = ar(t)) == null ? void 0 : r.size;
3585
- }
3586
- );
3587
- }
3588
- function ti(e, t) {
3589
- return Promise.all(
3590
- t.map((n) => (Qn(e, n), n().then((i) => i.default || i)))
3591
- ).then((n) => or(e, ...n));
3592
- }
3593
- const be = {};
3594
- function sr(e) {
3595
- if (!tt(e))
3596
- return e in be ? be[e] : Promise.resolve();
3597
- const t = ei(e);
3598
- return be[e] = Promise.all(
3599
- t.map(
3600
- ([r, n]) => ti(r, n)
3601
- )
3602
- ).then(() => {
3603
- if (tt(e))
3604
- return sr(e);
3605
- delete be[e];
3606
- }), be[e];
3607
- }
3608
- const ri = {
3609
- number: {
3610
- scientific: { notation: "scientific" },
3611
- engineering: { notation: "engineering" },
3612
- compactLong: { notation: "compact", compactDisplay: "long" },
3613
- compactShort: { notation: "compact", compactDisplay: "short" }
3614
- },
3615
- date: {
3616
- short: { month: "numeric", day: "numeric", year: "2-digit" },
3617
- medium: { month: "short", day: "numeric", year: "numeric" },
3618
- long: { month: "long", day: "numeric", year: "numeric" },
3619
- full: { weekday: "long", month: "long", day: "numeric", year: "numeric" }
3620
- },
3621
- time: {
3622
- short: { hour: "numeric", minute: "numeric" },
3623
- medium: { hour: "numeric", minute: "numeric", second: "numeric" },
3624
- long: {
3625
- hour: "numeric",
3626
- minute: "numeric",
3627
- second: "numeric",
3628
- timeZoneName: "short"
3629
- },
3630
- full: {
3631
- hour: "numeric",
3632
- minute: "numeric",
3633
- second: "numeric",
3634
- timeZoneName: "short"
3635
- }
3636
- }
3637
- }, ni = {
3638
- fallbackLocale: null,
3639
- loadingDelay: 200,
3640
- formats: ri,
3641
- warnOnMissingMessages: !0,
3642
- handleMissingMessage: void 0,
3643
- ignoreTag: !0
3644
- }, ii = ni;
3645
- function fe() {
3646
- return ii;
3647
- }
3648
- const Ve = Ne(!1);
3649
- var oi = Object.defineProperty, ai = Object.defineProperties, si = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
3650
- for (var r in t || (t = {}))
3651
- ui.call(t, r) && wt(e, r, t[r]);
3652
- if (Bt)
3653
- for (var r of Bt(t))
3654
- li.call(t, r) && wt(e, r, t[r]);
3655
- return e;
3656
- }, ci = (e, t) => ai(e, si(t));
3657
- let rt;
3658
- const Ce = Ne(null);
3659
- function Ht(e) {
3660
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3661
- }
3662
- function Pe(e, t = fe().fallbackLocale) {
3663
- const r = Ht(e);
3664
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
3665
- }
3666
- function ne() {
3667
- return rt != null ? rt : void 0;
3668
- }
3669
- Ce.subscribe((e) => {
3670
- rt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3671
- });
3672
- const fi = (e) => {
3673
- if (e && qn(e) && tt(e)) {
3674
- const { loadingDelay: t } = fe();
3675
- let r;
3676
- return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
3677
- () => Ve.set(!0),
3678
- t
3679
- ) : Ve.set(!0), sr(e).then(() => {
3680
- Ce.set(e);
3681
- }).finally(() => {
3682
- clearTimeout(r), Ve.set(!1);
3683
- });
3684
- }
3685
- return Ce.set(e);
3686
- }, ee = ci(hi({}, Ce), {
3687
- set: fi
3688
- }), Oe = (e) => {
3689
- const t = /* @__PURE__ */ Object.create(null);
3690
- return (n) => {
3691
- const i = JSON.stringify(n);
3692
- return i in t ? t[i] : t[i] = e(n);
3693
- };
3694
- };
3695
- var mi = Object.defineProperty, Me = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
3696
- for (var r in t || (t = {}))
3697
- ur.call(t, r) && St(e, r, t[r]);
3698
- if (Me)
3699
- for (var r of Me(t))
3700
- lr.call(t, r) && St(e, r, t[r]);
3701
- return e;
3702
- }, pe = (e, t) => {
3703
- var r = {};
3704
- for (var n in e)
3705
- ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3706
- if (e != null && Me)
3707
- for (var n of Me(e))
3708
- t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
3709
- return r;
3710
- };
3711
- const _e = (e, t) => {
3712
- const { formats: r } = fe();
3713
- if (e in r && t in r[e])
3714
- return r[e][t];
3715
- throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3716
- }, di = Oe(
3717
- (e) => {
3718
- var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3719
- if (r == null)
3720
- throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3721
- return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
3722
- }
3723
- ), pi = Oe(
3724
- (e) => {
3725
- var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3726
- if (r == null)
3727
- throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3728
- return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
3729
- }
3730
- ), bi = Oe(
3731
- (e) => {
3732
- var t = e, { locale: r, format: n } = t, i = pe(t, ["locale", "format"]);
3733
- if (r == null)
3734
- throw new Error(
3735
- '[svelte-i18n] A "locale" must be set to format time values'
3736
- );
3737
- return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
3738
- }
3739
- ), gi = (e = {}) => {
3740
- var t = e, {
3741
- locale: r = ne()
3742
- } = t, n = pe(t, [
3743
- "locale"
3744
- ]);
3745
- return di(st({ locale: r }, n));
3746
- }, yi = (e = {}) => {
3747
- var t = e, {
3748
- locale: r = ne()
3749
- } = t, n = pe(t, [
3750
- "locale"
3751
- ]);
3752
- return pi(st({ locale: r }, n));
3753
- }, vi = (e = {}) => {
3754
- var t = e, {
3755
- locale: r = ne()
3756
- } = t, n = pe(t, [
3757
- "locale"
3758
- ]);
3759
- return bi(st({ locale: r }, n));
3760
- }, _i = Oe(
3761
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3762
- (e, t = ne()) => new Wn(e, t, fe().formats, {
3763
- ignoreTag: fe().ignoreTag
3764
- })
3765
- ), Ei = (e, t = {}) => {
3766
- var r, n, i, o;
3767
- let a = t;
3768
- typeof e == "object" && (a = e, e = a.id);
3769
- const {
3770
- values: s,
3771
- locale: l = ne(),
3772
- default: u
3773
- } = a;
3774
- if (l == null)
3775
- throw new Error(
3776
- "[svelte-i18n] Cannot format a message without first setting the initial locale."
3777
- );
3778
- let h = nr(e, l);
3779
- if (!h)
3780
- h = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3781
- else if (typeof h != "string")
3782
- return console.warn(
3783
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3784
- ), h;
3785
- if (!s)
3786
- return h;
3787
- let c = h;
3788
- try {
3789
- c = _i(h, l).format(s);
3790
- } catch (f) {
3791
- f instanceof Error && console.warn(
3792
- `[svelte-i18n] Message "${e}" has syntax error:`,
3793
- f.message
3794
- );
3795
- }
3796
- return c;
3797
- }, xi = (e, t) => vi(t).format(e), Ti = (e, t) => yi(t).format(e), Bi = (e, t) => gi(t).format(e), wi = (e, t = ne()) => nr(e, t), Hi = me([ee, de], () => Ei);
3798
- me([ee], () => xi);
3799
- me([ee], () => Ti);
3800
- me([ee], () => Bi);
3801
- me([ee, de], () => wi);
3802
- function Si({ withLocale: e, translations: t }) {
3803
- ee.subscribe((r) => {
3804
- r == null && (de.set(t), ee.set(e));
3805
- });
3806
- }
3807
- function Ct(e, t) {
3808
- or(e, t);
3809
- }
3810
- function Ci(e) {
3811
- ee.set(e);
3812
- }
3813
- const Mt = {
3814
- en: {
3815
- scoreCriteriaType: {
3816
- 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.",
3817
- mostRounds: "The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.",
3818
- winStateRatio: "The score criteria for this tournament is <b>Win/State Ratio</b>. The score will be calculated as a sum of win/stake ratios for qualified rounds and bets. The player who got the highest score will win the tournament.",
3819
- maxWinStateRatio: "The score criteria for this tournament is <b>Max Win/State Ratio</b>. The player who got the biggest win by placing the smallest bet will win the tournament (bet = 10 EUR, win = 5000 EUR, the score will be 500). Only higher ratio will update the player's score."
3820
- },
3821
- miniBetCount: "Minimum bet count: {betCount}. To be qualified for prizes, the player has to play at least {betCount} rounds, otherwise the prize won’t be granted.",
3822
- timePeriod: "The tournament start {startTime} and ends {endTime}",
3823
- terms: 'See <a href="{tcUrl}" target="_blank">Terms & Conditions.</>',
3824
- productNoLimitsBet: "For {productName}, there are no minimum and maximum bet limits set.",
3825
- productMinMaxBet: "For {productName}, the minimum accepted bet is {minBet} and maximum accepted bet is {maxBet}.",
3826
- productMinBet: "For {productName}, the minimum bet amount accepted is {minBet}.",
3827
- productMaxBet: "For {productName}, the maximum bet amount accepted is {maxBet}."
3828
- },
3829
- tr: {
3830
- scoreCriteriaType: {
3831
- stake: "Bu turnuvanın puan kriteri <b>Ciro</b>'dur. Oluşturulan her X için (X= oyuncunun para biriminde veya temel para birimindeki eşdeğerinde oynanan bahis miktarı) oyuncu 1 puan alacaktır. En fazla ciroya sahip olan oyuncu en yüksek puana ve sıralamaya sahip olacaktır.",
3832
- mostRounds: "Bu turnuvanın puan kriteri <b>En Çok Tur</b>'dur. Oynanan her tur için oyuncu 1 puan alacaktır. En fazla oynanan tur/bahis sayısına sahip olan oyuncu, en yüksek puana ve sıralamaya sahip olacaktır.",
3833
- winStateRatio: "Bu turnuvanın puan kriteri <b>Galibiyet/Durum Oranı</b>'dır. Puan, nitelikli turlar ve bahisler için kazanma/bahis oranlarının toplamı olarak hesaplanacaktır. En yüksek puanı alan oyuncu turnuvayı kazanacak.",
3834
- maxWinStateRatio: "Bu turnuvanın puan kriteri <b>Maksimum Galibiyet/Durum Oranı</b>'dır. En küçük bahsi koyarak en büyük kazancı elde eden oyuncu turnuvayı kazanacaktır (bahis = 10 EUR, galibiyet = 5000 EUR, skor 500 olacaktır). Yalnızca daha yüksek oran oyuncunun puanını güncelleyecektir."
3835
- },
3836
- miniBetCount: "Minimum bahis sayısı: {betCount}. Ödüllere hak kazanmak için oyuncunun en az {betCount} tur oynaması gerekir, aksi takdirde ödül verilmeyecektir.",
3837
- timePeriod: "Turnuva {startTime} tarihinde başlar ve {endTime} tarihinde sona erer",
3838
- terms: '<a href={tcUrl}"" target=""_blank"">Şartlar ve Koşullar</>""a bakın.',
3839
- productNoLimitsBet: "{productName} için belirlenmiş minimum ve maksimum bahis limiti yoktur.",
3840
- productMinMaxBet: "{productName} için kabul edilen minimum bahis {minBet} ve kabul edilen maksimum bahis {maxBet}'tir.",
3841
- productMinBet: "{productName} için kabul edilen minimum bahis miktarı {minBet}'tir.",
3842
- productMaxBet: "{productName} için kabul edilen maksimum bahis miktarı {maxBet}'tir."
3843
- },
3844
- el: {
3845
- scoreCriteriaType: {
3846
- 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.",
3847
- mostRounds: "EL-The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.",
3848
- winStateRatio: "The score criteria for this tournament is <b>Win/State Ratio</b>. The score will be calculated as a sum of win/stake ratios for qualified rounds and bets. The player who got the highest score will win the tournament.",
3849
- maxWinStateRatio: "The score criteria for this tournament is <b>Max Win/State Ratio</b>. The player who got the biggest win by placing the smallest bet will win the tournament (bet = 10 EUR, win = 5000 EUR, the score will be 500). Only higher ratio will update the player's score."
3850
- },
3851
- miniBetCount: "Minimum bet count: {betCount}. To be qualified for prizes, the player has to play at least {betCount} rounds, otherwise the prize won’t be granted.",
3852
- timePeriod: "The tournament start {startTime} and ends {endTime}",
3853
- terms: 'See <a href="{tcUrl}" target="_blank">Terms & Conditions.</>',
3854
- productNoLimitsBet: "For {productName}, there are no minimum and maximum bet limits set.",
3855
- productMinMaxBet: "For {productName}, the minimum accepted bet is {minBet} and maximum accepted bet is {maxBet}.",
3856
- productMinBet: "For {productName}, the minimum bet amount accepted is {minBet}.",
3857
- productMaxBet: "For {productName}, the maximum bet amount accepted is {maxBet}."
3858
- },
3859
- hu: {
3860
- scoreCriteriaType: {
3861
- stake: "A verseny pontozási szempontja a <b>Forgalom</b>. Minden X generált összegért (X = a játékos pénznemben tett tét összege vagy az alapvaluta megfelelője) a játékos 1 pontot kap. A legnagyobb forgalmat birtokló játékos lesz a legmagasabb pontszámú és rangú.",
3862
- mostRounds: "A verseny pontozási szempontja a <b>Legtöbb kör</b>. Minden lejátszott körért a játékos 1 pontot kap. A legtöbb lejátszott körrel / tét helyezéssel rendelkező játékos lesz a legmagasabb pontszámú és rangú.",
3863
- winStateRatio: "A verseny pontozási szempontja a <b>Nyereség/Állapotarány</b>. A pontot az alkalmas körök és tétek nyerés / tét arányainak összegeként számítják. A legmagasabb pontszámot elért játékos nyeri a versenyt.",
3864
- maxWinStateRatio: "A verseny pontozási szempontja a <b>Max Nyereség/Állapotarány</b>. A legkisebb téttel a legnagyobb nyereményt elért játékos nyeri a versenyt (tét = 10 EUR, nyeremény = 5000 EUR, a pontszám 500 lesz). Csak a magasabb arány frissíti a játékos pontszámát."
3865
- },
3866
- miniBetCount: "Minimális tét szám: {betCount}. Az árakhoz való jogosultsághoz a játékosnak legalább {betCount} kört kell játszania, különben az ár nem kerül kiosztásra.",
3867
- timePeriod: "A verseny {startTime}-kor kezdődik és {endTime}-kor végződik.",
3868
- terms: 'Lásd a <a href="{tcUrl}" target="_blank">Felhasználási feltételeket.</>',
3869
- productNoLimitsBet: "A {productName}-nál nincsenek minimális és maximális tét határok beállítva.",
3870
- productMinMaxBet: "A {productName}-nál a minimálisan elfogadott tét {minBet}, a maximálisan elfogadott tét pedig {maxBet}.",
3871
- productMinBet: "A {productName}-nál a minimálisan elfogadott tét összege {minBet}.",
3872
- productMaxBet: "A {productName}-nál a maximálisan elfogadott tét összege {maxBet}."
3873
- },
3874
- pt: {
3875
- scoreCriteriaType: {
3876
- 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.",
3877
- mostRounds: "The score criteria for this tournament is <b>Most Rounds</b>. For every played round player will get 1 point. The player who will have the biggest number of played rounds / placed bets will have the highest score and rank.",
3878
- winStateRatio: "The score criteria for this tournament is <b>Win/State Ratio</b>. The score will be calculated as a sum of win/stake ratios for qualified rounds and bets. The player who got the highest score will win the tournament.",
3879
- maxWinStateRatio: "The score criteria for this tournament is <b>Max Win/State Ratio</b>. The player who got the biggest win by placing the smallest bet will win the tournament (bet = 10 EUR, win = 5000 EUR, the score will be 500). Only higher ratio will update the player's score."
3880
- },
3881
- miniBetCount: "Mínimo de apostas: {betCount}. Para se qualificar para os prêmios, o jogador deve jogar pelo menos {betCount} rodadas, caso contrário, o prêmio não será concedido.",
3882
- timePeriod: "O torneio começa {startTime} e termina {endTime}",
3883
- terms: 'Veja os <a href="{tcUrl}" target="_blank">Termos & Condições.</>',
3884
- productNoLimitsBet: "Para {productName}, não há limites mínimo e máximo de apostas definidos.",
3885
- productMinMaxBet: "Para {productName}, a aposta mínima aceita é {minBet} e a aposta máxima aceita é {maxBet}.",
3886
- productMinBet: "Para {productName}, o valor mínimo da aposta aceita é {minBet}.",
3887
- productMaxBet: "Para {productName}, o valor máximo da aposta aceita é {maxBet}."
3888
- }
3889
- }, A = {
3890
- AED: "د.إ",
3891
- AFN: "؋",
3892
- ALL: "L",
3893
- AMD: "֏",
3894
- ANG: "ƒ",
3895
- AOA: "Kz",
3896
- ARS: "$",
3897
- AUD: "$",
3898
- AWG: "ƒ",
3899
- AZN: "ман",
3900
- BAM: "KM",
3901
- BBD: "$",
3902
- BDT: "৳",
3903
- BGN: "лв",
3904
- BHD: ".د.ب",
3905
- BIF: "FBu",
3906
- BMD: "$",
3907
- BND: "$",
3908
- BOB: "$b",
3909
- BRL: "R$",
3910
- BSD: "$",
3911
- BTC: "฿",
3912
- BTN: "Nu.",
3913
- BWP: "P",
3914
- BYR: "p.",
3915
- BZD: "BZ$",
3916
- CAD: "$",
3917
- CDF: "FC",
3918
- CHF: "CHF",
3919
- CLP: "$",
3920
- CNY: "¥",
3921
- COP: "$",
3922
- CRC: "₡",
3923
- CUC: "$",
3924
- CUP: "₱",
3925
- CVE: "$",
3926
- CZK: "Kč",
3927
- DJF: "Fdj",
3928
- DKK: "kr",
3929
- DOP: "RD$",
3930
- DZD: "دج",
3931
- EEK: "kr",
3932
- EGP: "£",
3933
- ERN: "Nfk",
3934
- ETB: "Br",
3935
- ETH: "Ξ",
3936
- EUR: "€",
3937
- FJD: "$",
3938
- FKP: "£",
3939
- GBP: "£",
3940
- GEL: "₾",
3941
- GGP: "£",
3942
- GHC: "₵",
3943
- GHS: "GH₵",
3944
- GIP: "£",
3945
- GMD: "D",
3946
- GNF: "FG",
3947
- GTQ: "Q",
3948
- GYD: "$",
3949
- HKD: "$",
3950
- HNL: "L",
3951
- HRK: "kn",
3952
- HTG: "G",
3953
- HUF: "Ft",
3954
- IDR: "Rp",
3955
- ILS: "₪",
3956
- IMP: "£",
3957
- INR: "₹",
3958
- IQD: "ع.د",
3959
- IRR: "﷼",
3960
- ISK: "kr",
3961
- JEP: "£",
3962
- JMD: "J$",
3963
- JOD: "JD",
3964
- JPY: "¥",
3965
- KES: "KSh",
3966
- KGS: "лв",
3967
- KHR: "៛",
3968
- KMF: "CF",
3969
- KPW: "₩",
3970
- KRW: "₩",
3971
- KWD: "KD",
3972
- KYD: "$",
3973
- KZT: "лв",
3974
- LAK: "₭",
3975
- LBP: "£",
3976
- LKR: "₨",
3977
- LRD: "$",
3978
- LSL: "M",
3979
- LTC: "Ł",
3980
- LTL: "Lt",
3981
- LVL: "Ls",
3982
- LYD: "LD",
3983
- MAD: "MAD",
3984
- MDL: "lei",
3985
- MGA: "Ar",
3986
- MKD: "ден",
3987
- MMK: "K",
3988
- MNT: "₮",
3989
- MOP: "MOP$",
3990
- MRO: "UM",
3991
- MUR: "₨",
3992
- MVR: "Rf",
3993
- MWK: "MK",
3994
- MXN: "$",
3995
- MYR: "RM",
3996
- MZN: "MT",
3997
- NAD: "$",
3998
- NGN: "₦",
3999
- NIO: "C$",
4000
- NOK: "kr",
4001
- NPR: "₨",
4002
- NZD: "$",
4003
- OMR: "﷼",
4004
- PAB: "B/.",
4005
- PEN: "S/.",
4006
- PGK: "K",
4007
- PHP: "₱",
4008
- PKR: "₨",
4009
- PLN: "zł",
4010
- PYG: "Gs",
4011
- QAR: "﷼",
4012
- RMB: "¥",
4013
- RON: "lei",
4014
- RSD: "Дин.",
4015
- RUB: "₽",
4016
- RWF: "R₣",
4017
- SAR: "﷼",
4018
- SBD: "$",
4019
- SCR: "₨",
4020
- SDG: "ج.س.",
4021
- SEK: "kr",
4022
- SGD: "$",
4023
- SHP: "£",
4024
- SLL: "Le",
4025
- SOS: "S",
4026
- SRD: "$",
4027
- SSP: "£",
4028
- STD: "Db",
4029
- SVC: "$",
4030
- SYP: "£",
4031
- SZL: "E",
4032
- THB: "฿",
4033
- TJS: "SM",
4034
- TMT: "T",
4035
- TND: "د.ت",
4036
- TOP: "T$",
4037
- TRL: "₤",
4038
- TRY: "₺",
4039
- TTD: "TT$",
4040
- TVD: "$",
4041
- TWD: "NT$",
4042
- TZS: "TSh",
4043
- UAH: "₴",
4044
- UGX: "USh",
4045
- USD: "$",
4046
- UYU: "$U",
4047
- UZS: "лв",
4048
- VEF: "Bs",
4049
- VND: "₫",
4050
- VUV: "VT",
4051
- WST: "WS$",
4052
- XAF: "FCFA",
4053
- XBT: "Ƀ",
4054
- XCD: "$",
4055
- XOF: "CFA",
4056
- XPF: "₣",
4057
- YER: "﷼",
4058
- ZAR: "R",
4059
- ZWD: "Z$"
4060
- };
4061
- function Mi(e, t) {
4062
- if (e) {
4063
- const r = document.createElement("style");
4064
- r.innerHTML = t, e.appendChild(r);
4065
- }
4066
- }
4067
- function Ri(e, t) {
4068
- const r = new URL(t);
4069
- fetch(r.href).then((n) => n.text()).then((n) => {
4070
- const i = document.createElement("style");
4071
- i.innerHTML = n, e && e.appendChild(i);
4072
- }).catch((n) => {
4073
- console.error("There was an error while trying to load client styling from URL", n);
4074
- });
4075
- }
4076
- function ki(e, t, r) {
4077
- if (window.emMessageBus) {
4078
- const n = document.createElement("style");
4079
- window.emMessageBus.subscribe(t, (i) => {
4080
- n.innerHTML = i, e && e.appendChild(n);
4081
- });
4082
- }
4083
- }
4084
- const Ni = "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", Ai = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2025%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19.6712%2020.9658H5.22363V23.2166H19.6712V20.9658Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M13.9074%2014.8942C16.0065%2013.9267%2019.3847%2011.229%2019.3847%204.9113C19.3847%203.38619%2019.1879%202.20546%2018.7246%201.30762H6.03995C5.58078%202.20546%205.37988%203.38619%205.37988%204.9113C5.37988%2011.0978%208.76219%2013.8611%2010.8572%2014.8696V18.6906H6.40482V20.9414H18.4868V18.6906H13.9074V14.8942Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M5.41677%203.39453H0.841439C0.841439%203.39453%20-0.343394%209.90085%206.77789%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M19.499%203.39453H24.0743C24.0743%203.39453%2025.2592%209.90085%2018.1338%2010.9586'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.3862%203.97656L13.2718%206.31343L15.7685%206.43642L13.8211%208.00253L14.4771%2010.4132L12.3862%209.04387L10.2953%2010.4132L10.9472%208.00253L9.00391%206.43642L11.4966%206.31343L12.3862%203.97656Z'%20stroke='white'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", hr = "data:image/svg+xml,%3csvg%20width='35'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M9.5%2013.7502C9.5%2014.7202%2010.25%2015.5002%2011.17%2015.5002H13.05C13.85%2015.5002%2014.5%2014.8202%2014.5%2013.9702C14.5%2013.0602%2014.1%2012.7302%2013.51%2012.5202L10.5%2011.4702C9.91%2011.2602%209.51001%2010.9402%209.51001%2010.0202C9.51001%209.18023%2010.16%208.49023%2010.96%208.49023H12.84C13.76%208.49023%2014.51%209.27023%2014.51%2010.2402'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12%207.5V16.5'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%2012C22%2017.52%2017.52%2022%2012%2022C6.48%2022%202%2017.52%202%2012C2%206.48%206.48%202%2012%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M22%206V2H18'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M17%207L22%202'%20stroke='white'%20stroke-width='1.5'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e", Li = "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", Pi = "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";
4085
- function Oi(e) {
4086
- yr(e, "svelte-1aour49", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.casino-tournaments-thumbnail-rule{color:#fff;font-size:12px;line-height:15px;letter-spacing:-0.177807px;color:#B5B5B5}.casino-tournaments-thumbnail-rule .RulesRow{padding:10px;display:flex;border-bottom:1px solid #424242}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt{padding:3px 5px}.casino-tournaments-thumbnail-rule .RulesRow .RuleTxt a{color:#ff8364;cursor:pointer}.casino-tournaments-thumbnail-rule .RuleIcon{width:38px;height:30px}");
4087
- }
4088
- function Rt(e) {
4089
- let t, r = (
4090
- /*$_*/
4091
- e[13]("scoreCriteriaType.mostRounds") + ""
4092
- ), n;
4093
- return {
4094
- c() {
4095
- t = new ke(!1), n = Re(), t.a = n;
4096
- },
4097
- m(i, o) {
4098
- t.m(r, i, o), R(i, n, o);
4099
- },
4100
- p(i, o) {
4101
- o & /*$_*/
4102
- 8192 && r !== (r = /*$_*/
4103
- i[13]("scoreCriteriaType.mostRounds") + "") && t.p(r);
4104
- },
4105
- d(i) {
4106
- i && (S(n), t.d());
4107
- }
4108
- };
4109
- }
4110
- function kt(e) {
4111
- let t, r = (
4112
- /*$_*/
4113
- e[13]("scoreCriteriaType.winStateRatio") + ""
4114
- ), n;
4115
- return {
4116
- c() {
4117
- t = new ke(!1), n = Re(), t.a = n;
4118
- },
4119
- m(i, o) {
4120
- t.m(r, i, o), R(i, n, o);
4121
- },
4122
- p(i, o) {
4123
- o & /*$_*/
4124
- 8192 && r !== (r = /*$_*/
4125
- i[13]("scoreCriteriaType.winStateRatio") + "") && t.p(r);
4126
- },
4127
- d(i) {
4128
- i && (S(n), t.d());
4129
- }
4130
- };
4131
- }
4132
- function Nt(e) {
4133
- let t, r = (
4134
- /*$_*/
4135
- e[13]("scoreCriteriaType.maxWinStateRatio") + ""
4136
- ), n;
4137
- return {
4138
- c() {
4139
- t = new ke(!1), n = Re(), t.a = n;
4140
- },
4141
- m(i, o) {
4142
- t.m(r, i, o), R(i, n, o);
4143
- },
4144
- p(i, o) {
4145
- o & /*$_*/
4146
- 8192 && r !== (r = /*$_*/
4147
- i[13]("scoreCriteriaType.maxWinStateRatio") + "") && t.p(r);
4148
- },
4149
- d(i) {
4150
- i && (S(n), t.d());
4151
- }
4152
- };
4153
- }
4154
- function At(e) {
4155
- let t, r = (
4156
- /*$_*/
4157
- e[13]("scoreCriteriaType.stake") + ""
4158
- ), n;
4159
- return {
4160
- c() {
4161
- t = new ke(!1), n = Re(), t.a = n;
4162
- },
4163
- m(i, o) {
4164
- t.m(r, i, o), R(i, n, o);
4165
- },
4166
- p(i, o) {
4167
- o & /*$_*/
4168
- 8192 && r !== (r = /*$_*/
4169
- i[13]("scoreCriteriaType.stake") + "") && t.p(r);
4170
- },
4171
- d(i) {
4172
- i && (S(n), t.d());
4173
- }
4174
- };
4175
- }
4176
- function Lt(e) {
4177
- let t, r, n;
4178
- function i(s, l) {
4179
- return (
4180
- /*noMinCasinoBet*/
4181
- s[8] && /*noMaxCasinoBet*/
4182
- s[9] ? Ui : (
4183
- /*noMinCasinoBet*/
4184
- s[8] ? Di : (
4185
- /*noMaxCasinoBet*/
4186
- s[9] ? $i : Ii
4187
- )
4188
- )
4189
- );
4190
- }
4191
- let o = i(e), a = o(e);
4192
- return {
4193
- c() {
4194
- t = x("div"), r = x("div"), r.innerHTML = `<img src="${hr}"/>`, n = P(), a.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
4195
- },
4196
- m(s, l) {
4197
- R(s, t, l), p(t, r), p(t, n), a.m(t, null);
4198
- },
4199
- p(s, l) {
4200
- o === (o = i(s)) && a ? a.p(s, l) : (a.d(1), a = o(s), a && (a.c(), a.m(t, null)));
4201
- },
4202
- d(s) {
4203
- s && S(t), a.d();
4204
- }
4205
- };
4206
- }
4207
- function Ii(e) {
4208
- let t, r = (
4209
- /*$_*/
4210
- e[13]("productMinMaxBet", {
4211
- values: {
4212
- productName: (
4213
- /*casino*/
4214
- e[6].name
4215
- ),
4216
- minBet: `${/*isNumber*/
4217
- e[14](
4218
- /*casino*/
4219
- e[6].minbet
4220
- ) ? A[
4221
- /*currency*/
4222
- e[12]
4223
- ] : ""}${/*casino*/
4224
- e[6].minbet}`,
4225
- maxBet: `${/*isNumber*/
4226
- e[14](
4227
- /*casino*/
4228
- e[6].maxbet
4229
- ) ? A[
4230
- /*currency*/
4231
- e[12]
4232
- ] : ""}${/*casino*/
4233
- e[6].maxbet}`
4234
- }
4235
- }) + ""
4236
- ), n;
4237
- return {
4238
- c() {
4239
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4240
- },
4241
- m(i, o) {
4242
- R(i, t, o), p(t, n);
4243
- },
4244
- p(i, o) {
4245
- o & /*$_, casino, currency*/
4246
- 12352 && r !== (r = /*$_*/
4247
- i[13]("productMinMaxBet", {
4248
- values: {
4249
- productName: (
4250
- /*casino*/
4251
- i[6].name
4252
- ),
4253
- minBet: `${/*isNumber*/
4254
- i[14](
4255
- /*casino*/
4256
- i[6].minbet
4257
- ) ? A[
4258
- /*currency*/
4259
- i[12]
4260
- ] : ""}${/*casino*/
4261
- i[6].minbet}`,
4262
- maxBet: `${/*isNumber*/
4263
- i[14](
4264
- /*casino*/
4265
- i[6].maxbet
4266
- ) ? A[
4267
- /*currency*/
4268
- i[12]
4269
- ] : ""}${/*casino*/
4270
- i[6].maxbet}`
4271
- }
4272
- }) + "") && J(n, r);
4273
- },
4274
- d(i) {
4275
- i && S(t);
4276
- }
4277
- };
4278
- }
4279
- function $i(e) {
4280
- let t, r = (
4281
- /*$_*/
4282
- e[13]("productMinBet", {
4283
- values: {
4284
- productName: (
4285
- /*casino*/
4286
- e[6].name
4287
- ),
4288
- minBet: `${/*isNumber*/
4289
- e[14](
4290
- /*casino*/
4291
- e[6].minbet
4292
- ) ? A[
4293
- /*currency*/
4294
- e[12]
4295
- ] : ""}${/*casino*/
4296
- e[6].minbet}`
4297
- }
4298
- }) + ""
4299
- ), n;
4300
- return {
4301
- c() {
4302
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4303
- },
4304
- m(i, o) {
4305
- R(i, t, o), p(t, n);
4306
- },
4307
- p(i, o) {
4308
- o & /*$_, casino, currency*/
4309
- 12352 && r !== (r = /*$_*/
4310
- i[13]("productMinBet", {
4311
- values: {
4312
- productName: (
4313
- /*casino*/
4314
- i[6].name
4315
- ),
4316
- minBet: `${/*isNumber*/
4317
- i[14](
4318
- /*casino*/
4319
- i[6].minbet
4320
- ) ? A[
4321
- /*currency*/
4322
- i[12]
4323
- ] : ""}${/*casino*/
4324
- i[6].minbet}`
4325
- }
4326
- }) + "") && J(n, r);
4327
- },
4328
- d(i) {
4329
- i && S(t);
4330
- }
4331
- };
4332
- }
4333
- function Di(e) {
4334
- let t, r = (
4335
- /*$_*/
4336
- e[13]("productMaxBet", {
4337
- values: {
4338
- productName: (
4339
- /*casino*/
4340
- e[6].name
4341
- ),
4342
- maxBet: `${/*isNumber*/
4343
- e[14](
4344
- /*casino*/
4345
- e[6].maxbet
4346
- ) ? A[
4347
- /*currency*/
4348
- e[12]
4349
- ] : ""}${/*casino*/
4350
- e[6].maxbet}`
4351
- }
4352
- }) + ""
4353
- ), n;
4354
- return {
4355
- c() {
4356
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4357
- },
4358
- m(i, o) {
4359
- R(i, t, o), p(t, n);
4360
- },
4361
- p(i, o) {
4362
- o & /*$_, casino, currency*/
4363
- 12352 && r !== (r = /*$_*/
4364
- i[13]("productMaxBet", {
4365
- values: {
4366
- productName: (
4367
- /*casino*/
4368
- i[6].name
4369
- ),
4370
- maxBet: `${/*isNumber*/
4371
- i[14](
4372
- /*casino*/
4373
- i[6].maxbet
4374
- ) ? A[
4375
- /*currency*/
4376
- i[12]
4377
- ] : ""}${/*casino*/
4378
- i[6].maxbet}`
4379
- }
4380
- }) + "") && J(n, r);
4381
- },
4382
- d(i) {
4383
- i && S(t);
4384
- }
4385
- };
4386
- }
4387
- function Ui(e) {
4388
- let t, r = (
4389
- /*$_*/
4390
- e[13]("productNoLimitsBet", {
4391
- values: { productName: (
4392
- /*casino*/
4393
- e[6].name
4394
- ) }
4395
- }) + ""
4396
- ), n;
4397
- return {
4398
- c() {
4399
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4400
- },
4401
- m(i, o) {
4402
- R(i, t, o), p(t, n);
4403
- },
4404
- p(i, o) {
4405
- o & /*$_, casino*/
4406
- 8256 && r !== (r = /*$_*/
4407
- i[13]("productNoLimitsBet", {
4408
- values: { productName: (
4409
- /*casino*/
4410
- i[6].name
4411
- ) }
4412
- }) + "") && J(n, r);
4413
- },
4414
- d(i) {
4415
- i && S(t);
4416
- }
4417
- };
4418
- }
4419
- function Pt(e) {
4420
- let t, r, n;
4421
- function i(s, l) {
4422
- return (
4423
- /*noMinSportsBet*/
4424
- s[10] && /*noMaxSportsBet*/
4425
- s[11] ? Vi : (
4426
- /*noMinSportsBet*/
4427
- s[10] ? ji : (
4428
- /*noMaxSportsBet*/
4429
- s[11] ? Fi : Gi
4430
- )
4431
- )
4432
- );
4433
- }
4434
- let o = i(e), a = o(e);
4435
- return {
4436
- c() {
4437
- t = x("div"), r = x("div"), r.innerHTML = `<img src="${hr}"/>`, n = P(), a.c(), m(r, "class", "RuleIcon"), m(r, "part", "RuleIcon"), m(t, "class", "RulesRow"), m(t, "part", "rule");
4438
- },
4439
- m(s, l) {
4440
- R(s, t, l), p(t, r), p(t, n), a.m(t, null);
4441
- },
4442
- p(s, l) {
4443
- o === (o = i(s)) && a ? a.p(s, l) : (a.d(1), a = o(s), a && (a.c(), a.m(t, null)));
4444
- },
4445
- d(s) {
4446
- s && S(t), a.d();
4447
- }
4448
- };
4449
- }
4450
- function Gi(e) {
4451
- let t, r = (
4452
- /*$_*/
4453
- e[13]("productMinMaxBet", {
4454
- values: {
4455
- productName: (
4456
- /*sports*/
4457
- e[7].name
4458
- ),
4459
- minBet: `${/*isNumber*/
4460
- e[14](
4461
- /*sports*/
4462
- e[7].minbet
4463
- ) ? A[
4464
- /*currency*/
4465
- e[12]
4466
- ] : ""}${/*sports*/
4467
- e[7].minbet}`,
4468
- maxBet: `${/*isNumber*/
4469
- e[14](
4470
- /*sports*/
4471
- e[7].maxbet
4472
- ) ? A[
4473
- /*currency*/
4474
- e[12]
4475
- ] : ""}${/*sports*/
4476
- e[7].maxbet}`
4477
- }
4478
- }) + ""
4479
- ), n;
4480
- return {
4481
- c() {
4482
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4483
- },
4484
- m(i, o) {
4485
- R(i, t, o), p(t, n);
4486
- },
4487
- p(i, o) {
4488
- o & /*$_, sports, currency*/
4489
- 12416 && r !== (r = /*$_*/
4490
- i[13]("productMinMaxBet", {
4491
- values: {
4492
- productName: (
4493
- /*sports*/
4494
- i[7].name
4495
- ),
4496
- minBet: `${/*isNumber*/
4497
- i[14](
4498
- /*sports*/
4499
- i[7].minbet
4500
- ) ? A[
4501
- /*currency*/
4502
- i[12]
4503
- ] : ""}${/*sports*/
4504
- i[7].minbet}`,
4505
- maxBet: `${/*isNumber*/
4506
- i[14](
4507
- /*sports*/
4508
- i[7].maxbet
4509
- ) ? A[
4510
- /*currency*/
4511
- i[12]
4512
- ] : ""}${/*sports*/
4513
- i[7].maxbet}`
4514
- }
4515
- }) + "") && J(n, r);
4516
- },
4517
- d(i) {
4518
- i && S(t);
4519
- }
4520
- };
4521
- }
4522
- function Fi(e) {
4523
- let t, r = (
4524
- /*$_*/
4525
- e[13]("productMinBet", {
4526
- values: {
4527
- productName: (
4528
- /*sports*/
4529
- e[7].name
4530
- ),
4531
- minBet: `${/*isNumber*/
4532
- e[14](
4533
- /*sports*/
4534
- e[7].minbet
4535
- ) ? A[
4536
- /*currency*/
4537
- e[12]
4538
- ] : ""}${/*sports*/
4539
- e[7].minbet}`
4540
- }
4541
- }) + ""
4542
- ), n;
4543
- return {
4544
- c() {
4545
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4546
- },
4547
- m(i, o) {
4548
- R(i, t, o), p(t, n);
4549
- },
4550
- p(i, o) {
4551
- o & /*$_, sports, currency*/
4552
- 12416 && r !== (r = /*$_*/
4553
- i[13]("productMinBet", {
4554
- values: {
4555
- productName: (
4556
- /*sports*/
4557
- i[7].name
4558
- ),
4559
- minBet: `${/*isNumber*/
4560
- i[14](
4561
- /*sports*/
4562
- i[7].minbet
4563
- ) ? A[
4564
- /*currency*/
4565
- i[12]
4566
- ] : ""}${/*sports*/
4567
- i[7].minbet}`
4568
- }
4569
- }) + "") && J(n, r);
4570
- },
4571
- d(i) {
4572
- i && S(t);
4573
- }
4574
- };
4575
- }
4576
- function ji(e) {
4577
- let t, r = (
4578
- /*$_*/
4579
- e[13]("productMaxBet", {
4580
- values: {
4581
- productName: (
4582
- /*sports*/
4583
- e[7].name
4584
- ),
4585
- maxBet: `${/*isNumber*/
4586
- e[14](
4587
- /*sports*/
4588
- e[7].maxbet
4589
- ) ? A[
4590
- /*currency*/
4591
- e[12]
4592
- ] : ""}${/*sports*/
4593
- e[7].maxbet}`
4594
- }
4595
- }) + ""
4596
- ), n;
4597
- return {
4598
- c() {
4599
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4600
- },
4601
- m(i, o) {
4602
- R(i, t, o), p(t, n);
4603
- },
4604
- p(i, o) {
4605
- o & /*$_, sports, currency*/
4606
- 12416 && r !== (r = /*$_*/
4607
- i[13]("productMaxBet", {
4608
- values: {
4609
- productName: (
4610
- /*sports*/
4611
- i[7].name
4612
- ),
4613
- maxBet: `${/*isNumber*/
4614
- i[14](
4615
- /*sports*/
4616
- i[7].maxbet
4617
- ) ? A[
4618
- /*currency*/
4619
- i[12]
4620
- ] : ""}${/*sports*/
4621
- i[7].maxbet}`
4622
- }
4623
- }) + "") && J(n, r);
4624
- },
4625
- d(i) {
4626
- i && S(t);
4627
- }
4628
- };
4629
- }
4630
- function Vi(e) {
4631
- let t, r = (
4632
- /*$_*/
4633
- e[13]("productNoLimitsBet", {
4634
- values: { productName: (
4635
- /*sports*/
4636
- e[7].name
4637
- ) }
4638
- }) + ""
4639
- ), n;
4640
- return {
4641
- c() {
4642
- t = x("div"), n = z(r), m(t, "class", "RuleTxt"), m(t, "part", "RuleTxt");
4643
- },
4644
- m(i, o) {
4645
- R(i, t, o), p(t, n);
4646
- },
4647
- p(i, o) {
4648
- o & /*$_, sports*/
4649
- 8320 && r !== (r = /*$_*/
4650
- i[13]("productNoLimitsBet", {
4651
- values: { productName: (
4652
- /*sports*/
4653
- i[7].name
4654
- ) }
4655
- }) + "") && J(n, r);
4656
- },
4657
- d(i) {
4658
- i && S(t);
4659
- }
4660
- };
4661
- }
4662
- function zi(e) {
4663
- let t, r, n, i, o, a, s, l, u, h, c, f, g, _ = (
4664
- /*$_*/
4665
- e[13]("miniBetCount", {
4666
- values: { betCount: (
4667
- /*betcount*/
4668
- e[1]
4669
- ) }
4670
- }) + ""
4671
- ), T, H, w, k, C, L, N = (
4672
- /*$_*/
4673
- e[13]("timePeriod", {
4674
- values: {
4675
- startTime: (
4676
- /*starttime*/
4677
- e[2]
4678
- ),
4679
- endTime: (
4680
- /*endtime*/
4681
- e[3]
4682
- )
4683
- }
4684
- }) + ""
4685
- ), X, te, Y, re, xe, K, ie = (
4686
- /*$_*/
4687
- e[13]("terms", { values: { tcUrl: (
4688
- /*tcurl*/
4689
- e[4]
4690
- ) } }) + ""
4691
- ), d, Z, q, Te, ut, I = (
4692
- /*scorecriterial*/
4693
- e[0] == "BetCount" && Rt(e)
4694
- ), $ = (
4695
- /*scorecriterial*/
4696
- e[0] == "WinStakeRatio" && kt(e)
4697
- ), D = (
4698
- /*scorecriterial*/
4699
- e[0] == "MaxWinStakeRatio" && Nt(e)
4700
- ), U = (
4701
- /*scorecriterial*/
4702
- e[0] == "Stake" && At(e)
4703
- ), G = (
4704
- /*casino*/
4705
- e[6] && Lt(e)
4706
- ), F = (
4707
- /*sports*/
4708
- e[7] && Pt(e)
4709
- );
4710
- return {
4711
- c() {
4712
- t = x("div"), r = x("div"), n = x("div"), n.innerHTML = `<img src="${Ai}"/>`, i = P(), o = x("div"), I && I.c(), a = P(), $ && $.c(), s = P(), D && D.c(), l = P(), U && U.c(), u = P(), h = x("div"), c = x("div"), c.innerHTML = `<img src="${Ni}"/>`, f = P(), g = x("div"), T = z(_), H = P(), w = x("div"), k = x("div"), k.innerHTML = `<img src="${Li}"/>`, C = P(), L = x("div"), X = z(N), te = P(), Y = x("div"), re = x("div"), re.innerHTML = `<img src="${Pi}"/>`, xe = P(), K = x("div"), d = P(), G && G.c(), Z = P(), q = x("span"), ut = 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(h, "class", "RulesRow"), m(h, "part", "rule"), m(k, "class", "RuleIcon"), m(k, "part", "RuleIcon"), m(L, "class", "RuleTxt"), m(L, "part", "RuleTxt"), m(w, "class", "RulesRow"), m(w, "part", "rule"), m(re, "class", "RuleIcon"), m(re, "part", "RuleIcon"), m(K, "class", "RuleTxt"), m(K, "part", "RuleTxt"), m(Y, "class", "RulesRow"), m(Y, "part", "rule"), m(q, "type", "hidden"), m(q, "href", Te = { tcurl: (
4713
- /*tcurl*/
4714
- e[4]
4715
- ) }), m(t, "class", "casino-tournaments-thumbnail-rule"), m(t, "part", "casino-tournaments-thumbnail-rule");
4716
- },
4717
- m(E, V) {
4718
- R(E, t, V), p(t, r), p(r, n), p(r, i), p(r, o), I && I.m(o, null), p(o, a), $ && $.m(o, null), p(o, s), D && D.m(o, null), p(o, l), U && U.m(o, null), p(t, u), p(t, h), p(h, c), p(h, f), p(h, g), p(g, T), p(t, H), p(t, w), p(w, k), p(w, C), p(w, L), p(L, X), p(t, te), p(t, Y), p(Y, re), p(Y, xe), p(Y, K), K.innerHTML = ie, p(t, d), G && G.m(t, null), p(t, Z), p(t, q), p(t, ut), F && F.m(t, null), e[21](t);
4719
- },
4720
- p(E, [V]) {
4721
- /*scorecriterial*/
4722
- E[0] == "BetCount" ? I ? I.p(E, V) : (I = Rt(E), I.c(), I.m(o, a)) : I && (I.d(1), I = null), /*scorecriterial*/
4723
- E[0] == "WinStakeRatio" ? $ ? $.p(E, V) : ($ = kt(E), $.c(), $.m(o, s)) : $ && ($.d(1), $ = null), /*scorecriterial*/
4724
- E[0] == "MaxWinStakeRatio" ? D ? D.p(E, V) : (D = Nt(E), D.c(), D.m(o, l)) : D && (D.d(1), D = null), /*scorecriterial*/
4725
- E[0] == "Stake" ? U ? U.p(E, V) : (U = At(E), U.c(), U.m(o, null)) : U && (U.d(1), U = null), V & /*$_, betcount*/
4726
- 8194 && _ !== (_ = /*$_*/
4727
- E[13]("miniBetCount", {
4728
- values: { betCount: (
4729
- /*betcount*/
4730
- E[1]
4731
- ) }
4732
- }) + "") && J(T, _), V & /*$_, starttime, endtime*/
4733
- 8204 && N !== (N = /*$_*/
4734
- E[13]("timePeriod", {
4735
- values: {
4736
- startTime: (
4737
- /*starttime*/
4738
- E[2]
4739
- ),
4740
- endTime: (
4741
- /*endtime*/
4742
- E[3]
4743
- )
4744
- }
4745
- }) + "") && J(X, N), V & /*$_, tcurl*/
4746
- 8208 && ie !== (ie = /*$_*/
4747
- E[13]("terms", { values: { tcUrl: (
4748
- /*tcurl*/
4749
- E[4]
4750
- ) } }) + "") && (K.innerHTML = ie), /*casino*/
4751
- E[6] ? G ? G.p(E, V) : (G = Lt(E), G.c(), G.m(t, Z)) : G && (G.d(1), G = null), V & /*tcurl*/
4752
- 16 && Te !== (Te = { tcurl: (
4753
- /*tcurl*/
4754
- E[4]
4755
- ) }) && m(q, "href", Te), /*sports*/
4756
- E[7] ? F ? F.p(E, V) : (F = Pt(E), F.c(), F.m(t, null)) : F && (F.d(1), F = null);
4757
- },
4758
- i: W,
4759
- o: W,
4760
- d(E) {
4761
- E && S(t), I && I.d(), $ && $.d(), D && D.d(), U && U.d(), G && G.d(), F && F.d(), e[21](null);
4762
- }
4763
- };
4764
- }
4765
- function Xi(e, t, r) {
4766
- let n;
4767
- gr(e, Hi, (d) => r(13, n = d));
4768
- let { lang: i = "tr" } = t, { scorecriterial: o = "BetCount" } = t, { betcount: a } = t, { starttime: s } = t, { endtime: l } = t, { tcurl: u } = t, { products: h = "{}" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: g = "" } = t, { mbsource: _ } = t, T, H, w, k = !1, C = !1, L = !1, N = !1, X = "EUR";
4769
- Si({ withLocale: "en", translations: {} });
4770
- const te = (d) => typeof d == "number" || Object.prototype.toString.call(d) === "[object Number]", Y = () => {
4771
- fetch(g).then((Z) => Z.json()).then((Z) => {
4772
- Object.keys(Z).forEach((q) => {
4773
- Ct(q, Z[q]);
4774
- });
4775
- }).catch((Z) => {
4776
- console.log(Z);
4777
- });
4778
- };
4779
- Object.keys(Mt).forEach((d) => {
4780
- Ct(d, Mt[d]);
4781
- });
4782
- const re = (d) => {
4783
- d && (r(12, X = d.currency), d.casino ? (r(6, H = d.casino), r(8, k = !(H.hasOwnProperty("minbet") && H.minbet != 0)), r(9, C = !(H.hasOwnProperty("maxbet") && H.maxbet != 0))) : (r(8, k = !0), r(9, C = !0)), d.sports ? (r(7, w = d.sports), r(10, L = !(w.hasOwnProperty("minbet") && w.minbet != 0)), r(11, N = !(w.hasOwnProperty("maxbet") && w.maxbet != 0))) : (r(10, L = !0), r(11, N = !0)));
4784
- }, xe = () => {
4785
- Ci(i);
4786
- }, K = (d) => {
4787
- d.data && d.data.type && d.type == "TournamentsProductsUpdate" && r(15, h = d.data.productInfo);
4788
- };
4789
- wr(() => (window.addEventListener("message", K, !1), window.postMessage({ type: "TournamentsRuleListenerLoaded" }, window.location.href), () => {
4790
- window.removeEventListener("message", K);
4791
- }));
4792
- function ie(d) {
4793
- ze[d ? "unshift" : "push"](() => {
4794
- T = d, r(5, T);
4795
- });
4796
- }
4797
- return e.$$set = (d) => {
4798
- "lang" in d && r(16, i = d.lang), "scorecriterial" in d && r(0, o = d.scorecriterial), "betcount" in d && r(1, a = d.betcount), "starttime" in d && r(2, s = d.starttime), "endtime" in d && r(3, l = d.endtime), "tcurl" in d && r(4, u = d.tcurl), "products" in d && r(15, h = 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), "mbsource" in d && r(20, _ = d.mbsource);
4799
- }, e.$$.update = () => {
4800
- e.$$.dirty & /*lang*/
4801
- 65536 && i && xe(), e.$$.dirty & /*products*/
4802
- 32768 && h && re(h), e.$$.dirty & /*clientstyling, customStylingContainer*/
4803
- 131104 && c && T && Mi(T, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4804
- 262176 && f && T && Ri(T, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4805
- 1048608 && _ && T && ki(T, `${_}.Style`), e.$$.dirty & /*translationurl*/
4806
- 524288 && g && Y();
4807
- }, [
4808
- o,
4809
- a,
4810
- s,
4811
- l,
4812
- u,
4813
- T,
4814
- H,
4815
- w,
4816
- k,
4817
- C,
4818
- L,
4819
- N,
4820
- X,
4821
- n,
4822
- te,
4823
- h,
4824
- i,
4825
- c,
4826
- f,
4827
- g,
4828
- _,
4829
- ie
4830
- ];
4831
- }
4832
- class Wi extends Ir {
4833
- constructor(t) {
4834
- super(), Pr(
4835
- this,
4836
- t,
4837
- Xi,
4838
- zi,
4839
- It,
4840
- {
4841
- lang: 16,
4842
- scorecriterial: 0,
4843
- betcount: 1,
4844
- starttime: 2,
4845
- endtime: 3,
4846
- tcurl: 4,
4847
- products: 15,
4848
- clientstyling: 17,
4849
- clientstylingurl: 18,
4850
- translationurl: 19,
4851
- mbsource: 20
4852
- },
4853
- Oi
4854
- );
4855
- }
4856
- get lang() {
4857
- return this.$$.ctx[16];
4858
- }
4859
- set lang(t) {
4860
- this.$$set({ lang: t }), j();
4861
- }
4862
- get scorecriterial() {
4863
- return this.$$.ctx[0];
4864
- }
4865
- set scorecriterial(t) {
4866
- this.$$set({ scorecriterial: t }), j();
4867
- }
4868
- get betcount() {
4869
- return this.$$.ctx[1];
4870
- }
4871
- set betcount(t) {
4872
- this.$$set({ betcount: t }), j();
4873
- }
4874
- get starttime() {
4875
- return this.$$.ctx[2];
4876
- }
4877
- set starttime(t) {
4878
- this.$$set({ starttime: t }), j();
4879
- }
4880
- get endtime() {
4881
- return this.$$.ctx[3];
4882
- }
4883
- set endtime(t) {
4884
- this.$$set({ endtime: t }), j();
4885
- }
4886
- get tcurl() {
4887
- return this.$$.ctx[4];
4888
- }
4889
- set tcurl(t) {
4890
- this.$$set({ tcurl: t }), j();
4891
- }
4892
- get products() {
4893
- return this.$$.ctx[15];
4894
- }
4895
- set products(t) {
4896
- this.$$set({ products: t }), j();
4897
- }
4898
- get clientstyling() {
4899
- return this.$$.ctx[17];
4900
- }
4901
- set clientstyling(t) {
4902
- this.$$set({ clientstyling: t }), j();
4903
- }
4904
- get clientstylingurl() {
4905
- return this.$$.ctx[18];
4906
- }
4907
- set clientstylingurl(t) {
4908
- this.$$set({ clientstylingurl: t }), j();
4909
- }
4910
- get translationurl() {
4911
- return this.$$.ctx[19];
4912
- }
4913
- set translationurl(t) {
4914
- this.$$set({ translationurl: t }), j();
4915
- }
4916
- get mbsource() {
4917
- return this.$$.ctx[20];
4918
- }
4919
- set mbsource(t) {
4920
- this.$$set({ mbsource: t }), j();
4921
- }
4922
- }
4923
- Or(Wi, { lang: {}, scorecriterial: {}, betcount: {}, starttime: {}, endtime: {}, tcurl: {}, products: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4924
- export {
4925
- Wi as default
4926
- };