@everymatrix/casino-sort 1.44.0 → 1.45.2

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