@everymatrix/casino-random-game 1.43.4 → 1.45.0

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