@everymatrix/general-navigation-bar 1.54.6 → 1.54.9

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