@everymatrix/casino-tournaments-thumbnail-controller 1.44.0 → 1.45.2

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