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