@everymatrix/player-account-general-confirmation-modal 0.1.0

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