@everymatrix/player-withdrawal 1.44.0 → 1.45.2

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