@everymatrix/general-player-login-form 1.54.11 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function Z() {
2
2
  }
3
- function _r(e) {
3
+ function xr(e) {
4
4
  return e();
5
5
  }
6
- function jt() {
6
+ function Xt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Oe(e) {
10
- e.forEach(_r);
10
+ e.forEach(xr);
11
11
  }
12
- function Dt(e) {
12
+ function kt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Er(e, t) {
15
+ function Sr(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let tt;
19
- function Vt(e, t) {
19
+ function Wt(e, t) {
20
20
  return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
21
21
  }
22
- function nn(e) {
22
+ function ln(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function wr(e, ...t) {
25
+ function Pr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,24 +31,24 @@ function wr(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function on(e, t, r) {
35
- e.$$.on_destroy.push(wr(t, r));
34
+ function un(e, t, r) {
35
+ e.$$.on_destroy.push(Pr(t, r));
36
36
  }
37
- const sn = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
37
+ const cn = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
38
38
  // @ts-ignore Node typings have this
39
39
  global
40
40
  );
41
41
  function m(e, t) {
42
42
  e.appendChild(t);
43
43
  }
44
- function an(e, t, r) {
45
- const n = ln(e);
44
+ function hn(e, t, r) {
45
+ const n = fn(e);
46
46
  if (!n.getElementById(t)) {
47
47
  const i = S("style");
48
- i.id = t, i.textContent = r, un(n, i);
48
+ i.id = t, i.textContent = r, dn(n, i);
49
49
  }
50
50
  }
51
- function ln(e) {
51
+ function fn(e) {
52
52
  if (!e) return document;
53
53
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
54
54
  return t && /** @type {ShadowRoot} */
@@ -57,7 +57,7 @@ function ln(e) {
57
57
  t
58
58
  ) : e.ownerDocument;
59
59
  }
60
- function un(e, t) {
60
+ function dn(e, t) {
61
61
  return m(
62
62
  /** @type {Document} */
63
63
  e.head || e,
@@ -82,7 +82,7 @@ function N(e) {
82
82
  function z() {
83
83
  return N(" ");
84
84
  }
85
- function cn() {
85
+ function mn() {
86
86
  return N("");
87
87
  }
88
88
  function se(e, t, r, n) {
@@ -95,7 +95,7 @@ function Y(e, t, r) {
95
95
  const n = t.toLowerCase();
96
96
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : h(e, t, r);
97
97
  }
98
- function hn(e) {
98
+ function pn(e) {
99
99
  return Array.from(e.childNodes);
100
100
  }
101
101
  function te(e, t) {
@@ -105,7 +105,7 @@ function te(e, t) {
105
105
  function rt(e, t) {
106
106
  e.value = t ?? "";
107
107
  }
108
- function fn(e) {
108
+ function gn(e) {
109
109
  const t = {};
110
110
  return e.childNodes.forEach(
111
111
  /** @param {Element} node */
@@ -118,21 +118,21 @@ let Xe;
118
118
  function ze(e) {
119
119
  Xe = e;
120
120
  }
121
- function dn() {
121
+ function bn() {
122
122
  if (!Xe) throw new Error("Function called outside component initialization");
123
123
  return Xe;
124
124
  }
125
- function mn(e) {
126
- dn().$$.on_mount.push(e);
125
+ function vn(e) {
126
+ bn().$$.on_mount.push(e);
127
127
  }
128
128
  const Pe = [], ut = [];
129
129
  let Te = [];
130
- const zt = [], pn = /* @__PURE__ */ Promise.resolve();
131
- let St = !1;
132
- function gn() {
133
- St || (St = !0, pn.then(ee));
130
+ const Zt = [], yn = /* @__PURE__ */ Promise.resolve();
131
+ let Pt = !1;
132
+ function _n() {
133
+ Pt || (Pt = !0, yn.then(ee));
134
134
  }
135
- function Pt(e) {
135
+ function Tt(e) {
136
136
  Te.push(e);
137
137
  }
138
138
  const bt = /* @__PURE__ */ new Set();
@@ -145,7 +145,7 @@ function ee() {
145
145
  try {
146
146
  for (; xe < Pe.length; ) {
147
147
  const t = Pe[xe];
148
- xe++, ze(t), bn(t.$$);
148
+ xe++, ze(t), En(t.$$);
149
149
  }
150
150
  } catch (t) {
151
151
  throw Pe.length = 0, xe = 0, t;
@@ -157,40 +157,40 @@ function ee() {
157
157
  }
158
158
  Te.length = 0;
159
159
  } while (Pe.length);
160
- for (; zt.length; )
161
- zt.pop()();
162
- St = !1, bt.clear(), ze(e);
160
+ for (; Zt.length; )
161
+ Zt.pop()();
162
+ Pt = !1, bt.clear(), ze(e);
163
163
  }
164
- function bn(e) {
164
+ function En(e) {
165
165
  if (e.fragment !== null) {
166
166
  e.update(), Oe(e.before_update);
167
167
  const t = e.dirty;
168
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pt);
168
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Tt);
169
169
  }
170
170
  }
171
- function vn(e) {
171
+ function wn(e) {
172
172
  const t = [], r = [];
173
173
  Te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Te = t;
174
174
  }
175
- const yn = /* @__PURE__ */ new Set();
176
- function _n(e, t) {
177
- e && e.i && (yn.delete(e), e.i(t));
175
+ const xn = /* @__PURE__ */ new Set();
176
+ function Sn(e, t) {
177
+ e && e.i && (xn.delete(e), e.i(t));
178
178
  }
179
- function En(e, t, r) {
179
+ function Pn(e, t, r) {
180
180
  const { fragment: n, after_update: i } = e.$$;
181
- n && n.m(t, r), Pt(() => {
182
- const o = e.$$.on_mount.map(_r).filter(Dt);
181
+ n && n.m(t, r), Tt(() => {
182
+ const o = e.$$.on_mount.map(xr).filter(kt);
183
183
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Oe(o), e.$$.on_mount = [];
184
- }), i.forEach(Pt);
184
+ }), i.forEach(Tt);
185
185
  }
186
- function wn(e, t) {
186
+ function Tn(e, t) {
187
187
  const r = e.$$;
188
- r.fragment !== null && (vn(r.after_update), Oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
188
+ r.fragment !== null && (wn(r.after_update), Oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
189
189
  }
190
- function xn(e, t) {
191
- e.$$.dirty[0] === -1 && (Pe.push(e), gn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
190
+ function Hn(e, t) {
191
+ e.$$.dirty[0] === -1 && (Pe.push(e), _n(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
192
192
  }
193
- function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
193
+ function Bn(e, t, r, n, i, o, s = null, a = [-1]) {
194
194
  const c = Xe;
195
195
  ze(e);
196
196
  const l = e.$$ = {
@@ -200,7 +200,7 @@ function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
200
200
  props: o,
201
201
  update: Z,
202
202
  not_equal: i,
203
- bound: jt(),
203
+ bound: Xt(),
204
204
  // lifecycle
205
205
  on_mount: [],
206
206
  on_destroy: [],
@@ -209,7 +209,7 @@ function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
209
209
  after_update: [],
210
210
  context: new Map(t.context || (c ? c.$$.context : [])),
211
211
  // everything else
212
- callbacks: jt(),
212
+ callbacks: Xt(),
213
213
  dirty: a,
214
214
  skip_bound: !1,
215
215
  root: t.target || c.$$.root
@@ -218,19 +218,19 @@ function Sn(e, t, r, n, i, o, s = null, a = [-1]) {
218
218
  let u = !1;
219
219
  if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
220
220
  const y = b.length ? b[0] : d;
221
- return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && xn(e, f)), d;
221
+ return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && Hn(e, f)), d;
222
222
  }) : [], l.update(), u = !0, Oe(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
223
223
  if (t.hydrate) {
224
- const f = hn(t.target);
224
+ const f = pn(t.target);
225
225
  l.fragment && l.fragment.l(f), f.forEach(I);
226
226
  } else
227
227
  l.fragment && l.fragment.c();
228
- t.intro && _n(e.$$.fragment), En(e, t.target, t.anchor), ee();
228
+ t.intro && Sn(e.$$.fragment), Pn(e, t.target, t.anchor), ee();
229
229
  }
230
230
  ze(c);
231
231
  }
232
- let xr;
233
- typeof HTMLElement == "function" && (xr = class extends HTMLElement {
232
+ let Tr;
233
+ typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
234
234
  /** The Svelte component constructor */
235
235
  $$ctor;
236
236
  /** Slots */
@@ -289,7 +289,7 @@ typeof HTMLElement == "function" && (xr = class extends HTMLElement {
289
289
  };
290
290
  if (await Promise.resolve(), !this.$$cn || this.$$c)
291
291
  return;
292
- const t = {}, r = fn(this);
292
+ const t = {}, r = gn(this);
293
293
  for (const i of this.$$s)
294
294
  i in r && (t[i] = [e(i)]);
295
295
  for (const i of this.attributes) {
@@ -376,8 +376,8 @@ function ot(e, t, r, n) {
376
376
  return t;
377
377
  }
378
378
  }
379
- function Pn(e, t, r, n, i, o) {
380
- let s = class extends xr {
379
+ function An(e, t, r, n, i, o) {
380
+ let s = class extends Tr {
381
381
  constructor() {
382
382
  super(e, r, i), this.$$p_d = t;
383
383
  }
@@ -405,7 +405,7 @@ function Pn(e, t, r, n, i, o) {
405
405
  }), e.element = /** @type {any} */
406
406
  s, s;
407
407
  }
408
- class Tn {
408
+ class In {
409
409
  /**
410
410
  * ### PRIVATE API
411
411
  *
@@ -424,7 +424,7 @@ class Tn {
424
424
  $$set = void 0;
425
425
  /** @returns {void} */
426
426
  $destroy() {
427
- wn(this, 1), this.$destroy = Z;
427
+ Tn(this, 1), this.$destroy = Z;
428
428
  }
429
429
  /**
430
430
  * @template {Extract<keyof Events, string>} K
@@ -433,7 +433,7 @@ class Tn {
433
433
  * @returns {() => void}
434
434
  */
435
435
  $on(t, r) {
436
- if (!Dt(r))
436
+ if (!kt(r))
437
437
  return Z;
438
438
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
439
439
  return n.push(r), () => {
@@ -446,22 +446,22 @@ class Tn {
446
446
  * @returns {void}
447
447
  */
448
448
  $set(t) {
449
- this.$$set && !nn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
449
+ this.$$set && !ln(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
450
450
  }
451
451
  }
452
- const Hn = "4";
453
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hn);
454
- var Tt = function(e, t) {
455
- return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
452
+ const Cn = "4";
453
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cn);
454
+ var Ht = function(e, t) {
455
+ return Ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
456
456
  r.__proto__ = n;
457
457
  } || function(r, n) {
458
458
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
459
- }, Tt(e, t);
459
+ }, Ht(e, t);
460
460
  };
461
461
  function le(e, t) {
462
462
  if (typeof t != "function" && t !== null)
463
463
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
464
- Tt(e, t);
464
+ Ht(e, t);
465
465
  function r() {
466
466
  this.constructor = e;
467
467
  }
@@ -476,7 +476,7 @@ var w = function() {
476
476
  return t;
477
477
  }, w.apply(this, arguments);
478
478
  };
479
- function Bn(e, t) {
479
+ function On(e, t) {
480
480
  var r = {};
481
481
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
482
482
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -484,7 +484,7 @@ function Bn(e, t) {
484
484
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
485
485
  return r;
486
486
  }
487
- function Ht(e) {
487
+ function Bt(e) {
488
488
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
489
489
  if (r) return r.call(e);
490
490
  if (e && typeof e.length == "number") return {
@@ -494,7 +494,7 @@ function Ht(e) {
494
494
  };
495
495
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
496
496
  }
497
- function Bt(e, t) {
497
+ function At(e, t) {
498
498
  var r = typeof Symbol == "function" && e[Symbol.iterator];
499
499
  if (!r) return e;
500
500
  var n = r.call(e), i, o = [], s;
@@ -519,13 +519,13 @@ function He(e, t, r) {
519
519
  function ae(e) {
520
520
  return typeof e == "function";
521
521
  }
522
- function Sr(e) {
522
+ function Hr(e) {
523
523
  var t = function(n) {
524
524
  Error.call(n), n.stack = new Error().stack;
525
525
  }, r = e(t);
526
526
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
527
527
  }
528
- var vt = Sr(function(e) {
528
+ var vt = Hr(function(e) {
529
529
  return function(r) {
530
530
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
531
531
  ` + r.map(function(n, i) {
@@ -534,7 +534,7 @@ var vt = Sr(function(e) {
534
534
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
535
535
  };
536
536
  });
537
- function At(e, t) {
537
+ function It(e, t) {
538
538
  if (e) {
539
539
  var r = e.indexOf(t);
540
540
  0 <= r && e.splice(r, 1);
@@ -552,7 +552,7 @@ var ft = function() {
552
552
  if (s)
553
553
  if (this._parentage = null, Array.isArray(s))
554
554
  try {
555
- for (var a = Ht(s), c = a.next(); !c.done; c = a.next()) {
555
+ for (var a = Bt(s), c = a.next(); !c.done; c = a.next()) {
556
556
  var l = c.value;
557
557
  l.remove(this);
558
558
  }
@@ -578,12 +578,12 @@ var ft = function() {
578
578
  if (f) {
579
579
  this._finalizers = null;
580
580
  try {
581
- for (var d = Ht(f), b = d.next(); !b.done; b = d.next()) {
581
+ for (var d = Bt(f), b = d.next(); !b.done; b = d.next()) {
582
582
  var y = b.value;
583
583
  try {
584
- Xt(y);
584
+ qt(y);
585
585
  } catch (g) {
586
- o = o ?? [], g instanceof vt ? o = He(He([], Bt(o)), Bt(g.errors)) : o.push(g);
586
+ o = o ?? [], g instanceof vt ? o = He(He([], At(o)), At(g.errors)) : o.push(g);
587
587
  }
588
588
  }
589
589
  } catch (g) {
@@ -603,7 +603,7 @@ var ft = function() {
603
603
  var r;
604
604
  if (t && t !== this)
605
605
  if (this.closed)
606
- Xt(t);
606
+ qt(t);
607
607
  else {
608
608
  if (t instanceof e) {
609
609
  if (t.closed || t._hasParent(this))
@@ -620,52 +620,56 @@ var ft = function() {
620
620
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
621
621
  }, e.prototype._removeParent = function(t) {
622
622
  var r = this._parentage;
623
- r === t ? this._parentage = null : Array.isArray(r) && At(r, t);
623
+ r === t ? this._parentage = null : Array.isArray(r) && It(r, t);
624
624
  }, e.prototype.remove = function(t) {
625
625
  var r = this._finalizers;
626
- r && At(r, t), t instanceof e && t._removeParent(this);
626
+ r && It(r, t), t instanceof e && t._removeParent(this);
627
627
  }, e.EMPTY = function() {
628
628
  var t = new e();
629
629
  return t.closed = !0, t;
630
630
  }(), e;
631
- }(), Pr = ft.EMPTY;
632
- function Tr(e) {
631
+ }(), Br = ft.EMPTY;
632
+ function Ar(e) {
633
633
  return e instanceof ft || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
634
634
  }
635
- function Xt(e) {
635
+ function qt(e) {
636
636
  ae(e) ? e() : e.unsubscribe();
637
637
  }
638
- var An = {
639
- Promise: void 0
640
- }, In = {
638
+ var Ir = {
639
+ onUnhandledError: null,
640
+ onStoppedNotification: null,
641
+ Promise: void 0,
642
+ useDeprecatedSynchronousErrorHandling: !1,
643
+ useDeprecatedNextContext: !1
644
+ }, Ln = {
641
645
  setTimeout: function(e, t) {
642
646
  for (var r = [], n = 2; n < arguments.length; n++)
643
647
  r[n - 2] = arguments[n];
644
- return setTimeout.apply(void 0, He([e, t], Bt(r)));
648
+ return setTimeout.apply(void 0, He([e, t], At(r)));
645
649
  },
646
650
  clearTimeout: function(e) {
647
651
  return clearTimeout(e);
648
652
  },
649
653
  delegate: void 0
650
654
  };
651
- function Cn(e) {
652
- In.setTimeout(function() {
655
+ function Mn(e) {
656
+ Ln.setTimeout(function() {
653
657
  throw e;
654
658
  });
655
659
  }
656
- function Wt() {
660
+ function Jt() {
657
661
  }
658
662
  function st(e) {
659
663
  e();
660
664
  }
661
- var Hr = function(e) {
665
+ var Cr = function(e) {
662
666
  le(t, e);
663
667
  function t(r) {
664
668
  var n = e.call(this) || this;
665
- return n.isStopped = !1, r ? (n.destination = r, Tr(r) && r.add(n)) : n.destination = Mn, n;
669
+ return n.isStopped = !1, r ? (n.destination = r, Ar(r) && r.add(n)) : n.destination = Fn, n;
666
670
  }
667
671
  return t.create = function(r, n, i) {
668
- return new It(r, n, i);
672
+ return new Ct(r, n, i);
669
673
  }, t.prototype.next = function(r) {
670
674
  this.isStopped || this._next(r);
671
675
  }, t.prototype.error = function(r) {
@@ -689,7 +693,11 @@ var Hr = function(e) {
689
693
  this.unsubscribe();
690
694
  }
691
695
  }, t;
692
- }(ft), On = function() {
696
+ }(ft), Nn = Function.prototype.bind;
697
+ function yt(e, t) {
698
+ return Nn.call(e, t);
699
+ }
700
+ var Rn = function() {
693
701
  function e(t) {
694
702
  this.partialObserver = t;
695
703
  }
@@ -720,43 +728,55 @@ var Hr = function(e) {
720
728
  nt(r);
721
729
  }
722
730
  }, e;
723
- }(), It = function(e) {
731
+ }(), Ct = function(e) {
724
732
  le(t, e);
725
733
  function t(r, n, i) {
726
734
  var o = e.call(this) || this, s;
727
- return ae(r) || !r ? s = {
728
- next: r ?? void 0,
729
- error: n ?? void 0,
730
- complete: i ?? void 0
731
- } : s = r, o.destination = new On(s), o;
735
+ if (ae(r) || !r)
736
+ s = {
737
+ next: r ?? void 0,
738
+ error: n ?? void 0,
739
+ complete: i ?? void 0
740
+ };
741
+ else {
742
+ var a;
743
+ o && Ir.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
744
+ return o.unsubscribe();
745
+ }, s = {
746
+ next: r.next && yt(r.next, a),
747
+ error: r.error && yt(r.error, a),
748
+ complete: r.complete && yt(r.complete, a)
749
+ }) : s = r;
750
+ }
751
+ return o.destination = new Rn(s), o;
732
752
  }
733
753
  return t;
734
- }(Hr);
754
+ }(Cr);
735
755
  function nt(e) {
736
- Cn(e);
756
+ Mn(e);
737
757
  }
738
- function Ln(e) {
758
+ function Un(e) {
739
759
  throw e;
740
760
  }
741
- var Mn = {
761
+ var Fn = {
742
762
  closed: !0,
743
- next: Wt,
744
- error: Ln,
745
- complete: Wt
746
- }, Nn = function() {
763
+ next: Jt,
764
+ error: Un,
765
+ complete: Jt
766
+ }, Dn = function() {
747
767
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
748
768
  }();
749
- function Rn(e) {
769
+ function kn(e) {
750
770
  return e;
751
771
  }
752
- function Un(e) {
753
- return e.length === 0 ? Rn : e.length === 1 ? e[0] : function(r) {
772
+ function $n(e) {
773
+ return e.length === 0 ? kn : e.length === 1 ? e[0] : function(r) {
754
774
  return e.reduce(function(n, i) {
755
775
  return i(n);
756
776
  }, r);
757
777
  };
758
778
  }
759
- var Zt = function() {
779
+ var Qt = function() {
760
780
  function e(t) {
761
781
  t && (this._subscribe = t);
762
782
  }
@@ -764,7 +784,7 @@ var Zt = function() {
764
784
  var r = new e();
765
785
  return r.source = this, r.operator = t, r;
766
786
  }, e.prototype.subscribe = function(t, r, n) {
767
- var i = this, o = Dn(t) ? t : new It(t, r, n);
787
+ var i = this, o = jn(t) ? t : new Ct(t, r, n);
768
788
  return st(function() {
769
789
  var s = i, a = s.operator, c = s.source;
770
790
  o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
@@ -777,8 +797,8 @@ var Zt = function() {
777
797
  }
778
798
  }, e.prototype.forEach = function(t, r) {
779
799
  var n = this;
780
- return r = qt(r), new r(function(i, o) {
781
- var s = new It({
800
+ return r = Yt(r), new r(function(i, o) {
801
+ var s = new Ct({
782
802
  next: function(a) {
783
803
  try {
784
804
  t(a);
@@ -794,15 +814,15 @@ var Zt = function() {
794
814
  }, e.prototype._subscribe = function(t) {
795
815
  var r;
796
816
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
797
- }, e.prototype[Nn] = function() {
817
+ }, e.prototype[Dn] = function() {
798
818
  return this;
799
819
  }, e.prototype.pipe = function() {
800
820
  for (var t = [], r = 0; r < arguments.length; r++)
801
821
  t[r] = arguments[r];
802
- return Un(t)(this);
822
+ return $n(t)(this);
803
823
  }, e.prototype.toPromise = function(t) {
804
824
  var r = this;
805
- return t = qt(t), new t(function(n, i) {
825
+ return t = Yt(t), new t(function(n, i) {
806
826
  var o;
807
827
  r.subscribe(function(s) {
808
828
  return o = s;
@@ -816,32 +836,32 @@ var Zt = function() {
816
836
  return new e(t);
817
837
  }, e;
818
838
  }();
819
- function qt(e) {
839
+ function Yt(e) {
820
840
  var t;
821
- return (t = e ?? An.Promise) !== null && t !== void 0 ? t : Promise;
841
+ return (t = e ?? Ir.Promise) !== null && t !== void 0 ? t : Promise;
822
842
  }
823
- function Fn(e) {
843
+ function Gn(e) {
824
844
  return e && ae(e.next) && ae(e.error) && ae(e.complete);
825
845
  }
826
- function Dn(e) {
827
- return e && e instanceof Hr || Fn(e) && Tr(e);
846
+ function jn(e) {
847
+ return e && e instanceof Cr || Gn(e) && Ar(e);
828
848
  }
829
- var kn = Sr(function(e) {
849
+ var Vn = Hr(function(e) {
830
850
  return function() {
831
851
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
832
852
  };
833
- }), Br = function(e) {
853
+ }), Or = function(e) {
834
854
  le(t, e);
835
855
  function t() {
836
856
  var r = e.call(this) || this;
837
857
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
838
858
  }
839
859
  return t.prototype.lift = function(r) {
840
- var n = new Jt(this, this);
860
+ var n = new Kt(this, this);
841
861
  return n.operator = r, n;
842
862
  }, t.prototype._throwIfClosed = function() {
843
863
  if (this.closed)
844
- throw new kn();
864
+ throw new Vn();
845
865
  }, t.prototype.next = function(r) {
846
866
  var n = this;
847
867
  st(function() {
@@ -849,7 +869,7 @@ var kn = Sr(function(e) {
849
869
  if (n._throwIfClosed(), !n.isStopped) {
850
870
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
851
871
  try {
852
- for (var s = Ht(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
872
+ for (var s = Bt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
853
873
  var c = a.value;
854
874
  c.next(r);
855
875
  }
@@ -897,19 +917,19 @@ var kn = Sr(function(e) {
897
917
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
898
918
  }, t.prototype._innerSubscribe = function(r) {
899
919
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
900
- return o || s ? Pr : (this.currentObservers = null, a.push(r), new ft(function() {
901
- n.currentObservers = null, At(a, r);
920
+ return o || s ? Br : (this.currentObservers = null, a.push(r), new ft(function() {
921
+ n.currentObservers = null, It(a, r);
902
922
  }));
903
923
  }, t.prototype._checkFinalizedStatuses = function(r) {
904
924
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
905
925
  i ? r.error(o) : s && r.complete();
906
926
  }, t.prototype.asObservable = function() {
907
- var r = new Zt();
927
+ var r = new Qt();
908
928
  return r.source = this, r;
909
929
  }, t.create = function(r, n) {
910
- return new Jt(r, n);
930
+ return new Kt(r, n);
911
931
  }, t;
912
- }(Zt), Jt = function(e) {
932
+ }(Qt), Kt = function(e) {
913
933
  le(t, e);
914
934
  function t(r, n) {
915
935
  var i = e.call(this) || this;
@@ -926,17 +946,17 @@ var kn = Sr(function(e) {
926
946
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
927
947
  }, t.prototype._subscribe = function(r) {
928
948
  var n, i;
929
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pr;
949
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Br;
930
950
  }, t;
931
- }(Br), Ar = {
951
+ }(Or), Lr = {
932
952
  now: function() {
933
- return (Ar.delegate || Date).now();
953
+ return (Lr.delegate || Date).now();
934
954
  },
935
955
  delegate: void 0
936
- }, $n = function(e) {
956
+ }, zn = function(e) {
937
957
  le(t, e);
938
958
  function t(r, n, i) {
939
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ar);
959
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lr);
940
960
  var o = e.call(this) || this;
941
961
  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;
942
962
  }
@@ -956,15 +976,15 @@ var kn = Sr(function(e) {
956
976
  l && o.splice(0, l + 1);
957
977
  }
958
978
  }, t;
959
- }(Br);
960
- const Qt = [], Yt = {}, Gn = (e, t = 0) => {
961
- if (Qt.indexOf(e) == -1) {
962
- const r = new $n(t);
963
- Yt[e] = r, Qt.push(e);
979
+ }(Or);
980
+ const er = [], tr = {}, Xn = (e, t = 0) => {
981
+ if (er.indexOf(e) == -1) {
982
+ const r = new zn(t);
983
+ tr[e] = r, er.push(e);
964
984
  }
965
- return Yt[e];
985
+ return tr[e];
966
986
  }, Se = [];
967
- function jn(e, t) {
987
+ function Wn(e, t) {
968
988
  return {
969
989
  subscribe: dt(e, t).subscribe
970
990
  };
@@ -973,7 +993,7 @@ function dt(e, t = Z) {
973
993
  let r;
974
994
  const n = /* @__PURE__ */ new Set();
975
995
  function i(a) {
976
- if (Er(e, a) && (e = a, r)) {
996
+ if (Sr(e, a) && (e = a, r)) {
977
997
  const c = !Se.length;
978
998
  for (const l of n)
979
999
  l[1](), Se.push(l, e);
@@ -1000,7 +1020,7 @@ function Le(e, t, r) {
1000
1020
  if (!i.every(Boolean))
1001
1021
  throw new Error("derived() expects stores as input, got a falsy value");
1002
1022
  const o = t.length < 2;
1003
- return jn(r, (s, a) => {
1023
+ return Wn(r, (s, a) => {
1004
1024
  let c = !1;
1005
1025
  const l = [];
1006
1026
  let u = 0, f = Z;
@@ -1009,9 +1029,9 @@ function Le(e, t, r) {
1009
1029
  return;
1010
1030
  f();
1011
1031
  const y = t(n ? l[0] : l, s, a);
1012
- o ? s(y) : f = Dt(y) ? y : Z;
1032
+ o ? s(y) : f = kt(y) ? y : Z;
1013
1033
  }, b = i.map(
1014
- (y, g) => wr(
1034
+ (y, g) => Pr(
1015
1035
  y,
1016
1036
  (x) => {
1017
1037
  l[g] = x, u &= ~(1 << g), c && d();
@@ -1026,70 +1046,70 @@ function Le(e, t, r) {
1026
1046
  };
1027
1047
  });
1028
1048
  }
1029
- function Vn(e) {
1049
+ function Zn(e) {
1030
1050
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1031
1051
  }
1032
- var zn = function(t) {
1033
- return Xn(t) && !Wn(t);
1052
+ var qn = function(t) {
1053
+ return Jn(t) && !Qn(t);
1034
1054
  };
1035
- function Xn(e) {
1055
+ function Jn(e) {
1036
1056
  return !!e && typeof e == "object";
1037
1057
  }
1038
- function Wn(e) {
1058
+ function Qn(e) {
1039
1059
  var t = Object.prototype.toString.call(e);
1040
- return t === "[object RegExp]" || t === "[object Date]" || Jn(e);
1060
+ return t === "[object RegExp]" || t === "[object Date]" || ei(e);
1041
1061
  }
1042
- var Zn = typeof Symbol == "function" && Symbol.for, qn = Zn ? Symbol.for("react.element") : 60103;
1043
- function Jn(e) {
1044
- return e.$$typeof === qn;
1062
+ var Yn = typeof Symbol == "function" && Symbol.for, Kn = Yn ? Symbol.for("react.element") : 60103;
1063
+ function ei(e) {
1064
+ return e.$$typeof === Kn;
1045
1065
  }
1046
- function Qn(e) {
1066
+ function ti(e) {
1047
1067
  return Array.isArray(e) ? [] : {};
1048
1068
  }
1049
1069
  function We(e, t) {
1050
- return t.clone !== !1 && t.isMergeableObject(e) ? Be(Qn(e), e, t) : e;
1070
+ return t.clone !== !1 && t.isMergeableObject(e) ? Be(ti(e), e, t) : e;
1051
1071
  }
1052
- function Yn(e, t, r) {
1072
+ function ri(e, t, r) {
1053
1073
  return e.concat(t).map(function(n) {
1054
1074
  return We(n, r);
1055
1075
  });
1056
1076
  }
1057
- function Kn(e, t) {
1077
+ function ni(e, t) {
1058
1078
  if (!t.customMerge)
1059
1079
  return Be;
1060
1080
  var r = t.customMerge(e);
1061
1081
  return typeof r == "function" ? r : Be;
1062
1082
  }
1063
- function ei(e) {
1083
+ function ii(e) {
1064
1084
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1065
1085
  return Object.propertyIsEnumerable.call(e, t);
1066
1086
  }) : [];
1067
1087
  }
1068
- function Kt(e) {
1069
- return Object.keys(e).concat(ei(e));
1088
+ function rr(e) {
1089
+ return Object.keys(e).concat(ii(e));
1070
1090
  }
1071
- function Ir(e, t) {
1091
+ function Mr(e, t) {
1072
1092
  try {
1073
1093
  return t in e;
1074
1094
  } catch {
1075
1095
  return !1;
1076
1096
  }
1077
1097
  }
1078
- function ti(e, t) {
1079
- return Ir(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1098
+ function oi(e, t) {
1099
+ return Mr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1080
1100
  }
1081
- function ri(e, t, r) {
1101
+ function si(e, t, r) {
1082
1102
  var n = {};
1083
- return r.isMergeableObject(e) && Kt(e).forEach(function(i) {
1103
+ return r.isMergeableObject(e) && rr(e).forEach(function(i) {
1084
1104
  n[i] = We(e[i], r);
1085
- }), Kt(t).forEach(function(i) {
1086
- ti(e, i) || (Ir(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kn(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
1105
+ }), rr(t).forEach(function(i) {
1106
+ oi(e, i) || (Mr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ni(i, r)(e[i], t[i], r) : n[i] = We(t[i], r));
1087
1107
  }), n;
1088
1108
  }
1089
1109
  function Be(e, t, r) {
1090
- r = r || {}, r.arrayMerge = r.arrayMerge || Yn, r.isMergeableObject = r.isMergeableObject || zn, r.cloneUnlessOtherwiseSpecified = We;
1110
+ r = r || {}, r.arrayMerge = r.arrayMerge || ri, r.isMergeableObject = r.isMergeableObject || qn, r.cloneUnlessOtherwiseSpecified = We;
1091
1111
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1092
- return o ? n ? r.arrayMerge(e, t, r) : ri(e, t, r) : We(t, r);
1112
+ return o ? n ? r.arrayMerge(e, t, r) : si(e, t, r) : We(t, r);
1093
1113
  }
1094
1114
  Be.all = function(t, r) {
1095
1115
  if (!Array.isArray(t))
@@ -1098,56 +1118,58 @@ Be.all = function(t, r) {
1098
1118
  return Be(n, i, r);
1099
1119
  }, {});
1100
1120
  };
1101
- var ni = Be, ii = ni;
1102
- const oi = /* @__PURE__ */ Vn(ii);
1103
- function yt(e, t) {
1104
- var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : ci, i = t && t.strategy ? t.strategy : li;
1121
+ var ai = Be, li = ai;
1122
+ const ui = /* @__PURE__ */ Zn(li);
1123
+ function _t(e, t) {
1124
+ var r = t && t.cache ? t.cache : pi, n = t && t.serializer ? t.serializer : mi, i = t && t.strategy ? t.strategy : hi;
1105
1125
  return i(e, {
1106
1126
  cache: r,
1107
1127
  serializer: n
1108
1128
  });
1109
1129
  }
1110
- function si(e) {
1130
+ function ci(e) {
1111
1131
  return e == null || typeof e == "number" || typeof e == "boolean";
1112
1132
  }
1113
- function ai(e, t, r, n) {
1114
- var i = si(n) ? n : r(n), o = t.get(i);
1133
+ function Nr(e, t, r, n) {
1134
+ var i = ci(n) ? n : r(n), o = t.get(i);
1115
1135
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1116
1136
  }
1117
- function Cr(e, t, r) {
1137
+ function Rr(e, t, r) {
1118
1138
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1119
1139
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1120
1140
  }
1121
- function Or(e, t, r, n, i) {
1141
+ function $t(e, t, r, n, i) {
1122
1142
  return r.bind(t, e, n, i);
1123
1143
  }
1124
- function li(e, t) {
1125
- var r = e.length === 1 ? ai : Cr;
1126
- return Or(e, this, r, t.cache.create(), t.serializer);
1144
+ function hi(e, t) {
1145
+ var r = e.length === 1 ? Nr : Rr;
1146
+ return $t(e, this, r, t.cache.create(), t.serializer);
1147
+ }
1148
+ function fi(e, t) {
1149
+ return $t(e, this, Rr, t.cache.create(), t.serializer);
1127
1150
  }
1128
- function ui(e, t) {
1129
- return Or(e, this, Cr, t.cache.create(), t.serializer);
1151
+ function di(e, t) {
1152
+ return $t(e, this, Nr, t.cache.create(), t.serializer);
1130
1153
  }
1131
- var ci = function() {
1154
+ var mi = function() {
1132
1155
  return JSON.stringify(arguments);
1133
- }, hi = (
1134
- /** @class */
1135
- function() {
1136
- function e() {
1137
- this.cache = /* @__PURE__ */ Object.create(null);
1138
- }
1139
- return e.prototype.get = function(t) {
1140
- return this.cache[t];
1141
- }, e.prototype.set = function(t, r) {
1142
- this.cache[t] = r;
1143
- }, e;
1144
- }()
1145
- ), fi = {
1156
+ };
1157
+ function Gt() {
1158
+ this.cache = /* @__PURE__ */ Object.create(null);
1159
+ }
1160
+ Gt.prototype.get = function(e) {
1161
+ return this.cache[e];
1162
+ };
1163
+ Gt.prototype.set = function(e, t) {
1164
+ this.cache[e] = t;
1165
+ };
1166
+ var pi = {
1146
1167
  create: function() {
1147
- return new hi();
1168
+ return new Gt();
1148
1169
  }
1149
- }, _t = {
1150
- variadic: ui
1170
+ }, Et = {
1171
+ variadic: fi,
1172
+ monadic: di
1151
1173
  }, _;
1152
1174
  (function(e) {
1153
1175
  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";
@@ -1160,43 +1182,43 @@ var Ae;
1160
1182
  (function(e) {
1161
1183
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1162
1184
  })(Ae || (Ae = {}));
1163
- function er(e) {
1185
+ function nr(e) {
1164
1186
  return e.type === T.literal;
1165
1187
  }
1166
- function di(e) {
1188
+ function gi(e) {
1167
1189
  return e.type === T.argument;
1168
1190
  }
1169
- function Lr(e) {
1191
+ function Ur(e) {
1170
1192
  return e.type === T.number;
1171
1193
  }
1172
- function Mr(e) {
1194
+ function Fr(e) {
1173
1195
  return e.type === T.date;
1174
1196
  }
1175
- function Nr(e) {
1197
+ function Dr(e) {
1176
1198
  return e.type === T.time;
1177
1199
  }
1178
- function Rr(e) {
1200
+ function kr(e) {
1179
1201
  return e.type === T.select;
1180
1202
  }
1181
- function Ur(e) {
1203
+ function $r(e) {
1182
1204
  return e.type === T.plural;
1183
1205
  }
1184
- function mi(e) {
1206
+ function bi(e) {
1185
1207
  return e.type === T.pound;
1186
1208
  }
1187
- function Fr(e) {
1209
+ function Gr(e) {
1188
1210
  return e.type === T.tag;
1189
1211
  }
1190
- function Dr(e) {
1212
+ function jr(e) {
1191
1213
  return !!(e && typeof e == "object" && e.type === Ae.number);
1192
1214
  }
1193
- function Ct(e) {
1215
+ function Ot(e) {
1194
1216
  return !!(e && typeof e == "object" && e.type === Ae.dateTime);
1195
1217
  }
1196
- var kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[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;
1197
- function gi(e) {
1218
+ var Vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, vi = /(?:[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;
1219
+ function yi(e) {
1198
1220
  var t = {};
1199
- return e.replace(pi, function(r) {
1221
+ return e.replace(vi, function(r) {
1200
1222
  var n = r.length;
1201
1223
  switch (r[0]) {
1202
1224
  case "G":
@@ -1285,11 +1307,11 @@ function gi(e) {
1285
1307
  return "";
1286
1308
  }), t;
1287
1309
  }
1288
- var bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1289
- function vi(e) {
1310
+ var _i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1311
+ function Ei(e) {
1290
1312
  if (e.length === 0)
1291
1313
  throw new Error("Number skeleton cannot be empty");
1292
- for (var t = e.split(bi).filter(function(d) {
1314
+ for (var t = e.split(_i).filter(function(d) {
1293
1315
  return d.length > 0;
1294
1316
  }), r = [], n = 0, i = t; n < i.length; n++) {
1295
1317
  var o = i[n], s = o.split("/");
@@ -1304,17 +1326,17 @@ function vi(e) {
1304
1326
  }
1305
1327
  return r;
1306
1328
  }
1307
- function yi(e) {
1329
+ function wi(e) {
1308
1330
  return e.replace(/^(.*?)-/, "");
1309
1331
  }
1310
- var tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $r = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
1311
- function rr(e) {
1332
+ var ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zr = /^(@+)?(\+|#+)?[rs]?$/g, xi = /(\*)(0+)|(#+)(0+)|(0+)/g, Xr = /^(0+)$/;
1333
+ function or(e) {
1312
1334
  var t = {};
1313
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($r, function(r, n, i) {
1335
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zr, function(r, n, i) {
1314
1336
  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)), "";
1315
1337
  }), t;
1316
1338
  }
1317
- function jr(e) {
1339
+ function Wr(e) {
1318
1340
  switch (e) {
1319
1341
  case "sign-auto":
1320
1342
  return {
@@ -1354,7 +1376,7 @@ function jr(e) {
1354
1376
  };
1355
1377
  }
1356
1378
  }
1357
- function Ei(e) {
1379
+ function Si(e) {
1358
1380
  var t;
1359
1381
  if (e[0] === "E" && e[1] === "E" ? (t = {
1360
1382
  notation: "engineering"
@@ -1362,17 +1384,17 @@ function Ei(e) {
1362
1384
  notation: "scientific"
1363
1385
  }, e = e.slice(1)), t) {
1364
1386
  var r = e.slice(0, 2);
1365
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gr.test(e))
1387
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xr.test(e))
1366
1388
  throw new Error("Malformed concise eng/scientific notation");
1367
1389
  t.minimumIntegerDigits = e.length;
1368
1390
  }
1369
1391
  return t;
1370
1392
  }
1371
- function nr(e) {
1372
- var t = {}, r = jr(e);
1393
+ function sr(e) {
1394
+ var t = {}, r = Wr(e);
1373
1395
  return r || t;
1374
1396
  }
1375
- function wi(e) {
1397
+ function Pi(e) {
1376
1398
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1377
1399
  var i = n[r];
1378
1400
  switch (i.stem) {
@@ -1396,7 +1418,7 @@ function wi(e) {
1396
1418
  continue;
1397
1419
  case "measure-unit":
1398
1420
  case "unit":
1399
- t.style = "unit", t.unit = yi(i.options[0]);
1421
+ t.style = "unit", t.unit = wi(i.options[0]);
1400
1422
  continue;
1401
1423
  case "compact-short":
1402
1424
  case "K":
@@ -1408,12 +1430,12 @@ function wi(e) {
1408
1430
  continue;
1409
1431
  case "scientific":
1410
1432
  t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1411
- return w(w({}, c), nr(l));
1433
+ return w(w({}, c), sr(l));
1412
1434
  }, {}));
1413
1435
  continue;
1414
1436
  case "engineering":
1415
1437
  t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1416
- return w(w({}, c), nr(l));
1438
+ return w(w({}, c), sr(l));
1417
1439
  }, {}));
1418
1440
  continue;
1419
1441
  case "notation-simple":
@@ -1458,7 +1480,7 @@ function wi(e) {
1458
1480
  case "integer-width":
1459
1481
  if (i.options.length > 1)
1460
1482
  throw new RangeError("integer-width stems only accept a single optional option");
1461
- i.options[0].replace(_i, function(c, l, u, f, d, b) {
1483
+ i.options[0].replace(xi, function(c, l, u, f, d, b) {
1462
1484
  if (l)
1463
1485
  t.minimumIntegerDigits = u.length;
1464
1486
  else {
@@ -1471,27 +1493,27 @@ function wi(e) {
1471
1493
  });
1472
1494
  continue;
1473
1495
  }
1474
- if (Gr.test(i.stem)) {
1496
+ if (Xr.test(i.stem)) {
1475
1497
  t.minimumIntegerDigits = i.stem.length;
1476
1498
  continue;
1477
1499
  }
1478
- if (tr.test(i.stem)) {
1500
+ if (ir.test(i.stem)) {
1479
1501
  if (i.options.length > 1)
1480
1502
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1481
- i.stem.replace(tr, function(c, l, u, f, d, b) {
1503
+ i.stem.replace(ir, function(c, l, u, f, d, b) {
1482
1504
  return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : d && b ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1483
1505
  });
1484
1506
  var o = i.options[0];
1485
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), rr(o)));
1507
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), or(o)));
1486
1508
  continue;
1487
1509
  }
1488
- if ($r.test(i.stem)) {
1489
- t = w(w({}, t), rr(i.stem));
1510
+ if (zr.test(i.stem)) {
1511
+ t = w(w({}, t), or(i.stem));
1490
1512
  continue;
1491
1513
  }
1492
- var s = jr(i.stem);
1514
+ var s = Wr(i.stem);
1493
1515
  s && (t = w(w({}, t), s));
1494
- var a = Ei(i.stem);
1516
+ var a = Si(i.stem);
1495
1517
  a && (t = w(w({}, t), a));
1496
1518
  }
1497
1519
  return t;
@@ -2911,13 +2933,13 @@ var it = {
2911
2933
  "h"
2912
2934
  ]
2913
2935
  };
2914
- function xi(e, t) {
2936
+ function Ti(e, t) {
2915
2937
  for (var r = "", n = 0; n < e.length; n++) {
2916
2938
  var i = e.charAt(n);
2917
2939
  if (i === "j") {
2918
2940
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2919
2941
  o++, n++;
2920
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Si(t);
2942
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Hi(t);
2921
2943
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2922
2944
  r += c;
2923
2945
  for (; s-- > 0; )
@@ -2926,7 +2948,7 @@ function xi(e, t) {
2926
2948
  }
2927
2949
  return r;
2928
2950
  }
2929
- function Si(e) {
2951
+ function Hi(e) {
2930
2952
  var t = e.hourCycle;
2931
2953
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2932
2954
  e.hourCycles && // @ts-ignore
@@ -2948,20 +2970,20 @@ function Si(e) {
2948
2970
  var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
2949
2971
  return i[0];
2950
2972
  }
2951
- var Et, Pi = new RegExp("^".concat(kr.source, "*")), Ti = new RegExp("".concat(kr.source, "*$"));
2973
+ var wt, Bi = new RegExp("^".concat(Vr.source, "*")), Ai = new RegExp("".concat(Vr.source, "*$"));
2952
2974
  function E(e, t) {
2953
2975
  return { start: e, end: t };
2954
2976
  }
2955
- var Hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bi = !!String.fromCodePoint, Ai = !!Object.fromEntries, Ii = !!String.prototype.codePointAt, Ci = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Li = !!Number.isSafeInteger, Mi = Li ? Number.isSafeInteger : function(e) {
2977
+ var Ii = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ci = !!String.fromCodePoint, Oi = !!Object.fromEntries, Li = !!String.prototype.codePointAt, Mi = !!String.prototype.trimStart, Ni = !!String.prototype.trimEnd, Ri = !!Number.isSafeInteger, Ui = Ri ? Number.isSafeInteger : function(e) {
2956
2978
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2957
- }, Ot = !0;
2979
+ }, Lt = !0;
2958
2980
  try {
2959
- var Ni = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2960
- Ot = ((Et = Ni.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
2981
+ var Fi = qr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2982
+ Lt = ((wt = Fi.exec("a")) === null || wt === void 0 ? void 0 : wt[0]) === "a";
2961
2983
  } catch {
2962
- Ot = !1;
2984
+ Lt = !1;
2963
2985
  }
2964
- var ir = Hi ? (
2986
+ var ar = Ii ? (
2965
2987
  // Native
2966
2988
  function(t, r, n) {
2967
2989
  return t.startsWith(r, n);
@@ -2971,7 +2993,7 @@ var ir = Hi ? (
2971
2993
  function(t, r, n) {
2972
2994
  return t.slice(n, n + r.length) === r;
2973
2995
  }
2974
- ), Lt = Bi ? String.fromCodePoint : (
2996
+ ), Mt = Ci ? String.fromCodePoint : (
2975
2997
  // IE11
2976
2998
  function() {
2977
2999
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2983,9 +3005,9 @@ var ir = Hi ? (
2983
3005
  }
2984
3006
  return n;
2985
3007
  }
2986
- ), or = (
3008
+ ), lr = (
2987
3009
  // native
2988
- Ai ? Object.fromEntries : (
3010
+ Oi ? Object.fromEntries : (
2989
3011
  // Ponyfill
2990
3012
  function(t) {
2991
3013
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2995,7 +3017,7 @@ var ir = Hi ? (
2995
3017
  return r;
2996
3018
  }
2997
3019
  )
2998
- ), Vr = Ii ? (
3020
+ ), Zr = Li ? (
2999
3021
  // Native
3000
3022
  function(t, r) {
3001
3023
  return t.codePointAt(r);
@@ -3009,7 +3031,7 @@ var ir = Hi ? (
3009
3031
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3010
3032
  }
3011
3033
  }
3012
- ), Ri = Ci ? (
3034
+ ), Di = Mi ? (
3013
3035
  // Native
3014
3036
  function(t) {
3015
3037
  return t.trimStart();
@@ -3017,9 +3039,9 @@ var ir = Hi ? (
3017
3039
  ) : (
3018
3040
  // Ponyfill
3019
3041
  function(t) {
3020
- return t.replace(Pi, "");
3042
+ return t.replace(Bi, "");
3021
3043
  }
3022
- ), Ui = Oi ? (
3044
+ ), ki = Ni ? (
3023
3045
  // Native
3024
3046
  function(t) {
3025
3047
  return t.trimEnd();
@@ -3027,32 +3049,32 @@ var ir = Hi ? (
3027
3049
  ) : (
3028
3050
  // Ponyfill
3029
3051
  function(t) {
3030
- return t.replace(Ti, "");
3052
+ return t.replace(Ai, "");
3031
3053
  }
3032
3054
  );
3033
- function zr(e, t) {
3055
+ function qr(e, t) {
3034
3056
  return new RegExp(e, t);
3035
3057
  }
3036
- var Mt;
3037
- if (Ot) {
3038
- var sr = zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3039
- Mt = function(t, r) {
3058
+ var Nt;
3059
+ if (Lt) {
3060
+ var ur = qr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3061
+ Nt = function(t, r) {
3040
3062
  var n;
3041
- sr.lastIndex = r;
3042
- var i = sr.exec(t);
3063
+ ur.lastIndex = r;
3064
+ var i = ur.exec(t);
3043
3065
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3044
3066
  };
3045
3067
  } else
3046
- Mt = function(t, r) {
3068
+ Nt = function(t, r) {
3047
3069
  for (var n = []; ; ) {
3048
- var i = Vr(t, r);
3049
- if (i === void 0 || Xr(i) || $i(i))
3070
+ var i = Zr(t, r);
3071
+ if (i === void 0 || Jr(i) || Vi(i))
3050
3072
  break;
3051
3073
  n.push(i), r += i >= 65536 ? 2 : 1;
3052
3074
  }
3053
- return Lt.apply(void 0, n);
3075
+ return Mt.apply(void 0, n);
3054
3076
  };
3055
- var Fi = (
3077
+ var $i = (
3056
3078
  /** @class */
3057
3079
  function() {
3058
3080
  function e(t, r) {
@@ -3083,7 +3105,7 @@ var Fi = (
3083
3105
  if (n)
3084
3106
  break;
3085
3107
  return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3086
- } else if (o === 60 && !this.ignoreTag && Nt(this.peek() || 0)) {
3108
+ } else if (o === 60 && !this.ignoreTag && Rt(this.peek() || 0)) {
3087
3109
  var s = this.parseTag(t, r);
3088
3110
  if (s.err)
3089
3111
  return s;
@@ -3116,7 +3138,7 @@ var Fi = (
3116
3138
  return o;
3117
3139
  var s = o.val, a = this.clonePosition();
3118
3140
  if (this.bumpIf("</")) {
3119
- if (this.isEOF() || !Nt(this.char()))
3141
+ if (this.isEOF() || !Rt(this.char()))
3120
3142
  return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
3121
3143
  var c = this.clonePosition(), l = this.parseTagName();
3122
3144
  return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3134,7 +3156,7 @@ var Fi = (
3134
3156
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3135
3157
  }, e.prototype.parseTagName = function() {
3136
3158
  var t = this.offset();
3137
- for (this.bump(); !this.isEOF() && ki(this.char()); )
3159
+ for (this.bump(); !this.isEOF() && ji(this.char()); )
3138
3160
  this.bump();
3139
3161
  return this.message.slice(t, this.offset());
3140
3162
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3163,7 +3185,7 @@ var Fi = (
3163
3185
  };
3164
3186
  }, e.prototype.tryParseLeftAngleBracket = function() {
3165
3187
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3166
- !Di(this.peek() || 0)) ? (this.bump(), "<") : null;
3188
+ !Gi(this.peek() || 0)) ? (this.bump(), "<") : null;
3167
3189
  }, e.prototype.tryParseQuote = function(t) {
3168
3190
  if (this.isEOF() || this.char() !== 39)
3169
3191
  return null;
@@ -3197,12 +3219,12 @@ var Fi = (
3197
3219
  r.push(n);
3198
3220
  this.bump();
3199
3221
  }
3200
- return Lt.apply(void 0, r);
3222
+ return Mt.apply(void 0, r);
3201
3223
  }, e.prototype.tryParseUnquoted = function(t, r) {
3202
3224
  if (this.isEOF())
3203
3225
  return null;
3204
3226
  var n = this.char();
3205
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Lt(n));
3227
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Mt(n));
3206
3228
  }, e.prototype.parseArgument = function(t, r) {
3207
3229
  var n = this.clonePosition();
3208
3230
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3231,7 +3253,7 @@ var Fi = (
3231
3253
  return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3232
3254
  }
3233
3255
  }, e.prototype.parseIdentifierIfPossible = function() {
3234
- var t = this.clonePosition(), r = this.offset(), n = Mt(this.message, r), i = r + n.length;
3256
+ var t = this.clonePosition(), r = this.offset(), n = Nt(this.message, r), i = r + n.length;
3235
3257
  this.bumpTo(i);
3236
3258
  var o = this.clonePosition(), s = E(t, o);
3237
3259
  return { value: n, location: s };
@@ -3250,7 +3272,7 @@ var Fi = (
3250
3272
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3251
3273
  if (f.err)
3252
3274
  return f;
3253
- var d = Ui(f.val);
3275
+ var d = ki(f.val);
3254
3276
  if (d.length === 0)
3255
3277
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3256
3278
  var b = E(u, this.clonePosition());
@@ -3260,8 +3282,8 @@ var Fi = (
3260
3282
  if (y.err)
3261
3283
  return y;
3262
3284
  var g = E(i, this.clonePosition());
3263
- if (l && ir(l?.style, "::", 0)) {
3264
- var x = Ri(l.style.slice(2));
3285
+ if (l && ar(l?.style, "::", 0)) {
3286
+ var x = Di(l.style.slice(2));
3265
3287
  if (a === "number") {
3266
3288
  var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
3267
3289
  return f.err ? f : {
@@ -3272,12 +3294,12 @@ var Fi = (
3272
3294
  if (x.length === 0)
3273
3295
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3274
3296
  var M = x;
3275
- this.locale && (M = xi(x, this.locale));
3297
+ this.locale && (M = Ti(x, this.locale));
3276
3298
  var d = {
3277
3299
  type: Ae.dateTime,
3278
3300
  pattern: M,
3279
3301
  location: l.styleLocation,
3280
- parsedOptions: this.shouldParseSkeletons ? gi(M) : {}
3302
+ parsedOptions: this.shouldParseSkeletons ? yi(M) : {}
3281
3303
  }, q = a === "date" ? T.date : T.time;
3282
3304
  return {
3283
3305
  val: { type: q, value: n, location: g, style: d },
@@ -3323,7 +3345,7 @@ var Fi = (
3323
3345
  val: {
3324
3346
  type: T.select,
3325
3347
  value: n,
3326
- options: or(J.val),
3348
+ options: lr(J.val),
3327
3349
  location: B
3328
3350
  },
3329
3351
  err: null
@@ -3331,7 +3353,7 @@ var Fi = (
3331
3353
  val: {
3332
3354
  type: T.plural,
3333
3355
  value: n,
3334
- options: or(J.val),
3356
+ options: lr(J.val),
3335
3357
  offset: G,
3336
3358
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3337
3359
  location: B
@@ -3382,7 +3404,7 @@ var Fi = (
3382
3404
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3383
3405
  var n = [];
3384
3406
  try {
3385
- n = vi(t);
3407
+ n = Ei(t);
3386
3408
  } catch {
3387
3409
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3388
3410
  }
@@ -3391,7 +3413,7 @@ var Fi = (
3391
3413
  type: Ae.number,
3392
3414
  tokens: n,
3393
3415
  location: r,
3394
- parsedOptions: this.shouldParseSkeletons ? wi(n) : {}
3416
+ parsedOptions: this.shouldParseSkeletons ? Pi(n) : {}
3395
3417
  },
3396
3418
  err: null
3397
3419
  };
@@ -3439,7 +3461,7 @@ var Fi = (
3439
3461
  break;
3440
3462
  }
3441
3463
  var c = E(i, this.clonePosition());
3442
- return o ? (s *= n, Mi(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3464
+ return o ? (s *= n, Ui(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3443
3465
  }, e.prototype.offset = function() {
3444
3466
  return this.position.offset;
3445
3467
  }, e.prototype.isEOF = function() {
@@ -3454,7 +3476,7 @@ var Fi = (
3454
3476
  var t = this.position.offset;
3455
3477
  if (t >= this.message.length)
3456
3478
  throw Error("out of bound");
3457
- var r = Vr(this.message, t);
3479
+ var r = Zr(this.message, t);
3458
3480
  if (r === void 0)
3459
3481
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3460
3482
  return r;
@@ -3473,7 +3495,7 @@ var Fi = (
3473
3495
  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);
3474
3496
  }
3475
3497
  }, e.prototype.bumpIf = function(t) {
3476
- if (ir(this.message, t, this.offset())) {
3498
+ if (ar(this.message, t, this.offset())) {
3477
3499
  for (var r = 0; r < t.length; r++)
3478
3500
  this.bump();
3479
3501
  return !0;
@@ -3495,7 +3517,7 @@ var Fi = (
3495
3517
  break;
3496
3518
  }
3497
3519
  }, e.prototype.bumpSpace = function() {
3498
- for (; !this.isEOF() && Xr(this.char()); )
3520
+ for (; !this.isEOF() && Jr(this.char()); )
3499
3521
  this.bump();
3500
3522
  }, e.prototype.peek = function() {
3501
3523
  if (this.isEOF())
@@ -3505,37 +3527,37 @@ var Fi = (
3505
3527
  }, e;
3506
3528
  }()
3507
3529
  );
3508
- function Nt(e) {
3530
+ function Rt(e) {
3509
3531
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3510
3532
  }
3511
- function Di(e) {
3512
- return Nt(e) || e === 47;
3533
+ function Gi(e) {
3534
+ return Rt(e) || e === 47;
3513
3535
  }
3514
- function ki(e) {
3536
+ function ji(e) {
3515
3537
  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;
3516
3538
  }
3517
- function Xr(e) {
3539
+ function Jr(e) {
3518
3540
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3519
3541
  }
3520
- function $i(e) {
3542
+ function Vi(e) {
3521
3543
  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;
3522
3544
  }
3523
- function Rt(e) {
3545
+ function Ut(e) {
3524
3546
  e.forEach(function(t) {
3525
- if (delete t.location, Rr(t) || Ur(t))
3547
+ if (delete t.location, kr(t) || $r(t))
3526
3548
  for (var r in t.options)
3527
- delete t.options[r].location, Rt(t.options[r].value);
3528
- else Lr(t) && Dr(t.style) || (Mr(t) || Nr(t)) && Ct(t.style) ? delete t.style.location : Fr(t) && Rt(t.children);
3549
+ delete t.options[r].location, Ut(t.options[r].value);
3550
+ else Ur(t) && jr(t.style) || (Fr(t) || Dr(t)) && Ot(t.style) ? delete t.style.location : Gr(t) && Ut(t.children);
3529
3551
  });
3530
3552
  }
3531
- function Gi(e, t) {
3553
+ function zi(e, t) {
3532
3554
  t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3533
- var r = new Fi(e, t).parse();
3555
+ var r = new $i(e, t).parse();
3534
3556
  if (r.err) {
3535
3557
  var n = SyntaxError(_[r.err.kind]);
3536
3558
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3537
3559
  }
3538
- return t?.captureLocation || Rt(r.val), r.val;
3560
+ return t?.captureLocation || Ut(r.val), r.val;
3539
3561
  }
3540
3562
  var Ie;
3541
3563
  (function(e) {
@@ -3553,7 +3575,7 @@ var mt = (
3553
3575
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3554
3576
  }, t;
3555
3577
  }(Error)
3556
- ), ar = (
3578
+ ), cr = (
3557
3579
  /** @class */
3558
3580
  function(e) {
3559
3581
  le(t, e);
@@ -3562,7 +3584,7 @@ var mt = (
3562
3584
  }
3563
3585
  return t;
3564
3586
  }(mt)
3565
- ), ji = (
3587
+ ), Xi = (
3566
3588
  /** @class */
3567
3589
  function(e) {
3568
3590
  le(t, e);
@@ -3571,7 +3593,7 @@ var mt = (
3571
3593
  }
3572
3594
  return t;
3573
3595
  }(mt)
3574
- ), Vi = (
3596
+ ), Wi = (
3575
3597
  /** @class */
3576
3598
  function(e) {
3577
3599
  le(t, e);
@@ -3584,17 +3606,17 @@ var mt = (
3584
3606
  (function(e) {
3585
3607
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3586
3608
  })(X || (X = {}));
3587
- function zi(e) {
3609
+ function Zi(e) {
3588
3610
  return e.length < 2 ? e : e.reduce(function(t, r) {
3589
3611
  var n = t[t.length - 1];
3590
3612
  return !n || n.type !== X.literal || r.type !== X.literal ? t.push(r) : n.value += r.value, t;
3591
3613
  }, []);
3592
3614
  }
3593
- function Xi(e) {
3615
+ function qi(e) {
3594
3616
  return typeof e == "function";
3595
3617
  }
3596
3618
  function at(e, t, r, n, i, o, s) {
3597
- if (e.length === 1 && er(e[0]))
3619
+ if (e.length === 1 && nr(e[0]))
3598
3620
  return [
3599
3621
  {
3600
3622
  type: X.literal,
@@ -3603,14 +3625,14 @@ function at(e, t, r, n, i, o, s) {
3603
3625
  ];
3604
3626
  for (var a = [], c = 0, l = e; c < l.length; c++) {
3605
3627
  var u = l[c];
3606
- if (er(u)) {
3628
+ if (nr(u)) {
3607
3629
  a.push({
3608
3630
  type: X.literal,
3609
3631
  value: u.value
3610
3632
  });
3611
3633
  continue;
3612
3634
  }
3613
- if (mi(u)) {
3635
+ if (bi(u)) {
3614
3636
  typeof o == "number" && a.push({
3615
3637
  type: X.literal,
3616
3638
  value: r.getNumberFormat(t).format(o)
@@ -3619,43 +3641,43 @@ function at(e, t, r, n, i, o, s) {
3619
3641
  }
3620
3642
  var f = u.value;
3621
3643
  if (!(i && f in i))
3622
- throw new Vi(f, s);
3644
+ throw new Wi(f, s);
3623
3645
  var d = i[f];
3624
- if (di(u)) {
3646
+ if (gi(u)) {
3625
3647
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3626
3648
  type: typeof d == "string" ? X.literal : X.object,
3627
3649
  value: d
3628
3650
  });
3629
3651
  continue;
3630
3652
  }
3631
- if (Mr(u)) {
3632
- var b = typeof u.style == "string" ? n.date[u.style] : Ct(u.style) ? u.style.parsedOptions : void 0;
3653
+ if (Fr(u)) {
3654
+ var b = typeof u.style == "string" ? n.date[u.style] : Ot(u.style) ? u.style.parsedOptions : void 0;
3633
3655
  a.push({
3634
3656
  type: X.literal,
3635
3657
  value: r.getDateTimeFormat(t, b).format(d)
3636
3658
  });
3637
3659
  continue;
3638
3660
  }
3639
- if (Nr(u)) {
3640
- var b = typeof u.style == "string" ? n.time[u.style] : Ct(u.style) ? u.style.parsedOptions : n.time.medium;
3661
+ if (Dr(u)) {
3662
+ var b = typeof u.style == "string" ? n.time[u.style] : Ot(u.style) ? u.style.parsedOptions : n.time.medium;
3641
3663
  a.push({
3642
3664
  type: X.literal,
3643
3665
  value: r.getDateTimeFormat(t, b).format(d)
3644
3666
  });
3645
3667
  continue;
3646
3668
  }
3647
- if (Lr(u)) {
3648
- var b = typeof u.style == "string" ? n.number[u.style] : Dr(u.style) ? u.style.parsedOptions : void 0;
3669
+ if (Ur(u)) {
3670
+ var b = typeof u.style == "string" ? n.number[u.style] : jr(u.style) ? u.style.parsedOptions : void 0;
3649
3671
  b && b.scale && (d = d * (b.scale || 1)), a.push({
3650
3672
  type: X.literal,
3651
3673
  value: r.getNumberFormat(t, b).format(d)
3652
3674
  });
3653
3675
  continue;
3654
3676
  }
3655
- if (Fr(u)) {
3677
+ if (Gr(u)) {
3656
3678
  var y = u.children, g = u.value, x = i[g];
3657
- if (!Xi(x))
3658
- throw new ji(g, "function", s);
3679
+ if (!qi(x))
3680
+ throw new Xi(g, "function", s);
3659
3681
  var M = at(y, t, r, n, i, o), q = x(M.map(function(G) {
3660
3682
  return G.value;
3661
3683
  }));
@@ -3666,14 +3688,14 @@ function at(e, t, r, n, i, o, s) {
3666
3688
  };
3667
3689
  }));
3668
3690
  }
3669
- if (Rr(u)) {
3691
+ if (kr(u)) {
3670
3692
  var H = u.options[d] || u.options.other;
3671
3693
  if (!H)
3672
- throw new ar(u.value, d, Object.keys(u.options), s);
3694
+ throw new cr(u.value, d, Object.keys(u.options), s);
3673
3695
  a.push.apply(a, at(H.value, t, r, n, i));
3674
3696
  continue;
3675
3697
  }
3676
- if (Ur(u)) {
3698
+ if ($r(u)) {
3677
3699
  var H = u.options["=".concat(d)];
3678
3700
  if (!H) {
3679
3701
  if (!Intl.PluralRules)
@@ -3684,24 +3706,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3684
3706
  H = u.options[R] || u.options.other;
3685
3707
  }
3686
3708
  if (!H)
3687
- throw new ar(u.value, d, Object.keys(u.options), s);
3709
+ throw new cr(u.value, d, Object.keys(u.options), s);
3688
3710
  a.push.apply(a, at(H.value, t, r, n, i, d - (u.offset || 0)));
3689
3711
  continue;
3690
3712
  }
3691
3713
  }
3692
- return zi(a);
3714
+ return Zi(a);
3693
3715
  }
3694
- function Wi(e, t) {
3716
+ function Ji(e, t) {
3695
3717
  return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3696
3718
  return r[n] = w(w({}, e[n]), t[n] || {}), r;
3697
3719
  }, {})) : e;
3698
3720
  }
3699
- function Zi(e, t) {
3721
+ function Qi(e, t) {
3700
3722
  return t ? Object.keys(e).reduce(function(r, n) {
3701
- return r[n] = Wi(e[n], t[n]), r;
3723
+ return r[n] = Ji(e[n], t[n]), r;
3702
3724
  }, w({}, e)) : e;
3703
3725
  }
3704
- function wt(e) {
3726
+ function xt(e) {
3705
3727
  return {
3706
3728
  create: function() {
3707
3729
  return {
@@ -3715,39 +3737,39 @@ function wt(e) {
3715
3737
  }
3716
3738
  };
3717
3739
  }
3718
- function qi(e) {
3740
+ function Yi(e) {
3719
3741
  return e === void 0 && (e = {
3720
3742
  number: {},
3721
3743
  dateTime: {},
3722
3744
  pluralRules: {}
3723
3745
  }), {
3724
- getNumberFormat: yt(function() {
3746
+ getNumberFormat: _t(function() {
3725
3747
  for (var t, r = [], n = 0; n < arguments.length; n++)
3726
3748
  r[n] = arguments[n];
3727
3749
  return new ((t = Intl.NumberFormat).bind.apply(t, He([void 0], r, !1)))();
3728
3750
  }, {
3729
- cache: wt(e.number),
3730
- strategy: _t.variadic
3751
+ cache: xt(e.number),
3752
+ strategy: Et.variadic
3731
3753
  }),
3732
- getDateTimeFormat: yt(function() {
3754
+ getDateTimeFormat: _t(function() {
3733
3755
  for (var t, r = [], n = 0; n < arguments.length; n++)
3734
3756
  r[n] = arguments[n];
3735
3757
  return new ((t = Intl.DateTimeFormat).bind.apply(t, He([void 0], r, !1)))();
3736
3758
  }, {
3737
- cache: wt(e.dateTime),
3738
- strategy: _t.variadic
3759
+ cache: xt(e.dateTime),
3760
+ strategy: Et.variadic
3739
3761
  }),
3740
- getPluralRules: yt(function() {
3762
+ getPluralRules: _t(function() {
3741
3763
  for (var t, r = [], n = 0; n < arguments.length; n++)
3742
3764
  r[n] = arguments[n];
3743
3765
  return new ((t = Intl.PluralRules).bind.apply(t, He([void 0], r, !1)))();
3744
3766
  }, {
3745
- cache: wt(e.pluralRules),
3746
- strategy: _t.variadic
3767
+ cache: xt(e.pluralRules),
3768
+ strategy: Et.variadic
3747
3769
  })
3748
3770
  };
3749
3771
  }
3750
- var Ji = (
3772
+ var Ki = (
3751
3773
  /** @class */
3752
3774
  function() {
3753
3775
  function e(t, r, n, i) {
@@ -3779,13 +3801,13 @@ var Ji = (
3779
3801
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3780
3802
  var s = i || {};
3781
3803
  s.formatters;
3782
- var a = Bn(s, ["formatters"]);
3804
+ var a = On(s, ["formatters"]);
3783
3805
  this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3784
3806
  } else
3785
3807
  this.ast = t;
3786
3808
  if (!Array.isArray(this.ast))
3787
3809
  throw new TypeError("A message must be provided as a String or AST.");
3788
- this.formats = Zi(e.formats, n), this.formatters = i && i.formatters || qi(this.formatterCache);
3810
+ this.formats = Qi(e.formats, n), this.formatters = i && i.formatters || Yi(this.formatterCache);
3789
3811
  }
3790
3812
  return Object.defineProperty(e, "defaultLocale", {
3791
3813
  get: function() {
@@ -3798,7 +3820,7 @@ var Ji = (
3798
3820
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3799
3821
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3800
3822
  }
3801
- }, e.__parse = Gi, e.formats = {
3823
+ }, e.__parse = zi, e.formats = {
3802
3824
  number: {
3803
3825
  integer: {
3804
3826
  maximumFractionDigits: 0
@@ -3859,7 +3881,7 @@ var Ji = (
3859
3881
  }, e;
3860
3882
  }()
3861
3883
  );
3862
- function Qi(e, t) {
3884
+ function eo(e, t) {
3863
3885
  if (t == null)
3864
3886
  return;
3865
3887
  if (t in e)
@@ -3880,92 +3902,92 @@ function Qi(e, t) {
3880
3902
  n = void 0;
3881
3903
  return n;
3882
3904
  }
3883
- const ce = {}, Yi = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Wr = (e, t) => {
3905
+ const ce = {}, to = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Qr = (e, t) => {
3884
3906
  if (t == null)
3885
3907
  return;
3886
3908
  if (t in ce && e in ce[t])
3887
3909
  return ce[t][e];
3888
3910
  const r = pt(t);
3889
3911
  for (let n = 0; n < r.length; n++) {
3890
- const i = r[n], o = eo(i, e);
3912
+ const i = r[n], o = no(i, e);
3891
3913
  if (o)
3892
- return Yi(e, t, o);
3914
+ return to(e, t, o);
3893
3915
  }
3894
3916
  };
3895
- let kt;
3917
+ let jt;
3896
3918
  const Me = dt({});
3897
- function Ki(e) {
3898
- return kt[e] || null;
3919
+ function ro(e) {
3920
+ return jt[e] || null;
3899
3921
  }
3900
- function Zr(e) {
3901
- return e in kt;
3922
+ function Yr(e) {
3923
+ return e in jt;
3902
3924
  }
3903
- function eo(e, t) {
3904
- if (!Zr(e))
3925
+ function no(e, t) {
3926
+ if (!Yr(e))
3905
3927
  return null;
3906
- const r = Ki(e);
3907
- return Qi(r, t);
3928
+ const r = ro(e);
3929
+ return eo(r, t);
3908
3930
  }
3909
- function to(e) {
3931
+ function io(e) {
3910
3932
  if (e == null)
3911
3933
  return;
3912
3934
  const t = pt(e);
3913
3935
  for (let r = 0; r < t.length; r++) {
3914
3936
  const n = t[r];
3915
- if (Zr(n))
3937
+ if (Yr(n))
3916
3938
  return n;
3917
3939
  }
3918
3940
  }
3919
- function qr(e, ...t) {
3920
- delete ce[e], Me.update((r) => (r[e] = oi.all([r[e] || {}, ...t]), r));
3941
+ function Kr(e, ...t) {
3942
+ delete ce[e], Me.update((r) => (r[e] = ui.all([r[e] || {}, ...t]), r));
3921
3943
  }
3922
3944
  Le(
3923
3945
  [Me],
3924
3946
  ([e]) => Object.keys(e)
3925
3947
  );
3926
- Me.subscribe((e) => kt = e);
3948
+ Me.subscribe((e) => jt = e);
3927
3949
  const lt = {};
3928
- function ro(e, t) {
3950
+ function oo(e, t) {
3929
3951
  lt[e].delete(t), lt[e].size === 0 && delete lt[e];
3930
3952
  }
3931
- function Jr(e) {
3953
+ function en(e) {
3932
3954
  return lt[e];
3933
3955
  }
3934
- function no(e) {
3956
+ function so(e) {
3935
3957
  return pt(e).map((t) => {
3936
- const r = Jr(t);
3958
+ const r = en(t);
3937
3959
  return [t, r ? [...r] : []];
3938
3960
  }).filter(([, t]) => t.length > 0);
3939
3961
  }
3940
- function Ut(e) {
3962
+ function Ft(e) {
3941
3963
  return e == null ? !1 : pt(e).some(
3942
3964
  (t) => {
3943
3965
  var r;
3944
- return (r = Jr(t)) == null ? void 0 : r.size;
3966
+ return (r = en(t)) == null ? void 0 : r.size;
3945
3967
  }
3946
3968
  );
3947
3969
  }
3948
- function io(e, t) {
3970
+ function ao(e, t) {
3949
3971
  return Promise.all(
3950
- t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
3951
- ).then((n) => qr(e, ...n));
3972
+ t.map((n) => (oo(e, n), n().then((i) => i.default || i)))
3973
+ ).then((n) => Kr(e, ...n));
3952
3974
  }
3953
3975
  const Ve = {};
3954
- function Qr(e) {
3955
- if (!Ut(e))
3976
+ function tn(e) {
3977
+ if (!Ft(e))
3956
3978
  return e in Ve ? Ve[e] : Promise.resolve();
3957
- const t = no(e);
3979
+ const t = so(e);
3958
3980
  return Ve[e] = Promise.all(
3959
3981
  t.map(
3960
- ([r, n]) => io(r, n)
3982
+ ([r, n]) => ao(r, n)
3961
3983
  )
3962
3984
  ).then(() => {
3963
- if (Ut(e))
3964
- return Qr(e);
3985
+ if (Ft(e))
3986
+ return tn(e);
3965
3987
  delete Ve[e];
3966
3988
  }), Ve[e];
3967
3989
  }
3968
- const oo = {
3990
+ const lo = {
3969
3991
  number: {
3970
3992
  scientific: { notation: "scientific" },
3971
3993
  engineering: { notation: "engineering" },
@@ -3994,57 +4016,57 @@ const oo = {
3994
4016
  timeZoneName: "short"
3995
4017
  }
3996
4018
  }
3997
- }, so = {
4019
+ }, uo = {
3998
4020
  fallbackLocale: null,
3999
4021
  loadingDelay: 200,
4000
- formats: oo,
4022
+ formats: lo,
4001
4023
  warnOnMissingMessages: !0,
4002
4024
  handleMissingMessage: void 0,
4003
4025
  ignoreTag: !0
4004
- }, ao = so;
4026
+ }, co = uo;
4005
4027
  function Ce() {
4006
- return ao;
4028
+ return co;
4007
4029
  }
4008
- const xt = dt(!1);
4009
- var lo = Object.defineProperty, uo = Object.defineProperties, co = Object.getOwnPropertyDescriptors, lr = Object.getOwnPropertySymbols, ho = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mo = (e, t) => {
4030
+ const St = dt(!1);
4031
+ var ho = Object.defineProperty, fo = Object.defineProperties, mo = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, go = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bo = (e, t) => {
4010
4032
  for (var r in t || (t = {}))
4011
- ho.call(t, r) && ur(e, r, t[r]);
4012
- if (lr)
4013
- for (var r of lr(t))
4014
- fo.call(t, r) && ur(e, r, t[r]);
4033
+ po.call(t, r) && fr(e, r, t[r]);
4034
+ if (hr)
4035
+ for (var r of hr(t))
4036
+ go.call(t, r) && fr(e, r, t[r]);
4015
4037
  return e;
4016
- }, po = (e, t) => uo(e, co(t));
4017
- let Ft;
4038
+ }, vo = (e, t) => fo(e, mo(t));
4039
+ let Dt;
4018
4040
  const ct = dt(null);
4019
- function cr(e) {
4041
+ function dr(e) {
4020
4042
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4021
4043
  }
4022
4044
  function pt(e, t = Ce().fallbackLocale) {
4023
- const r = cr(e);
4024
- return t ? [.../* @__PURE__ */ new Set([...r, ...cr(t)])] : r;
4045
+ const r = dr(e);
4046
+ return t ? [.../* @__PURE__ */ new Set([...r, ...dr(t)])] : r;
4025
4047
  }
4026
4048
  function ge() {
4027
- return Ft ?? void 0;
4049
+ return Dt ?? void 0;
4028
4050
  }
4029
4051
  ct.subscribe((e) => {
4030
- Ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4052
+ Dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4031
4053
  });
4032
- const go = (e) => {
4033
- if (e && to(e) && Ut(e)) {
4054
+ const yo = (e) => {
4055
+ if (e && io(e) && Ft(e)) {
4034
4056
  const { loadingDelay: t } = Ce();
4035
4057
  let r;
4036
4058
  return typeof window < "u" && ge() != null && t ? r = window.setTimeout(
4037
- () => xt.set(!0),
4059
+ () => St.set(!0),
4038
4060
  t
4039
- ) : xt.set(!0), Qr(e).then(() => {
4061
+ ) : St.set(!0), tn(e).then(() => {
4040
4062
  ct.set(e);
4041
4063
  }).finally(() => {
4042
- clearTimeout(r), xt.set(!1);
4064
+ clearTimeout(r), St.set(!1);
4043
4065
  });
4044
4066
  }
4045
4067
  return ct.set(e);
4046
- }, he = po(mo({}, ct), {
4047
- set: go
4068
+ }, he = vo(bo({}, ct), {
4069
+ set: yo
4048
4070
  }), gt = (e) => {
4049
4071
  const t = /* @__PURE__ */ Object.create(null);
4050
4072
  return (n) => {
@@ -4052,20 +4074,20 @@ const go = (e) => {
4052
4074
  return i in t ? t[i] : t[i] = e(n);
4053
4075
  };
4054
4076
  };
4055
- var bo = Object.defineProperty, ht = Object.getOwnPropertySymbols, Yr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
4077
+ var _o = Object.defineProperty, ht = Object.getOwnPropertySymbols, rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable, mr = (e, t, r) => t in e ? _o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
4056
4078
  for (var r in t || (t = {}))
4057
- Yr.call(t, r) && hr(e, r, t[r]);
4079
+ rn.call(t, r) && mr(e, r, t[r]);
4058
4080
  if (ht)
4059
4081
  for (var r of ht(t))
4060
- Kr.call(t, r) && hr(e, r, t[r]);
4082
+ nn.call(t, r) && mr(e, r, t[r]);
4061
4083
  return e;
4062
4084
  }, Ne = (e, t) => {
4063
4085
  var r = {};
4064
4086
  for (var n in e)
4065
- Yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4087
+ rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4066
4088
  if (e != null && ht)
4067
4089
  for (var n of ht(e))
4068
- t.indexOf(n) < 0 && Kr.call(e, n) && (r[n] = e[n]);
4090
+ t.indexOf(n) < 0 && nn.call(e, n) && (r[n] = e[n]);
4069
4091
  return r;
4070
4092
  };
4071
4093
  const Ze = (e, t) => {
@@ -4073,21 +4095,21 @@ const Ze = (e, t) => {
4073
4095
  if (e in r && t in r[e])
4074
4096
  return r[e][t];
4075
4097
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4076
- }, vo = gt(
4098
+ }, Eo = gt(
4077
4099
  (e) => {
4078
4100
  var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
4079
4101
  if (r == null)
4080
4102
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4081
4103
  return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
4082
4104
  }
4083
- ), yo = gt(
4105
+ ), wo = gt(
4084
4106
  (e) => {
4085
4107
  var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
4086
4108
  if (r == null)
4087
4109
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4088
4110
  return n ? i = Ze("date", n) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(r, i);
4089
4111
  }
4090
- ), _o = gt(
4112
+ ), xo = gt(
4091
4113
  (e) => {
4092
4114
  var t = e, { locale: r, format: n } = t, i = Ne(t, ["locale", "format"]);
4093
4115
  if (r == null)
@@ -4096,33 +4118,33 @@ const Ze = (e, t) => {
4096
4118
  );
4097
4119
  return n ? i = Ze("time", n) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(r, i);
4098
4120
  }
4099
- ), Eo = (e = {}) => {
4121
+ ), So = (e = {}) => {
4100
4122
  var t = e, {
4101
4123
  locale: r = ge()
4102
4124
  } = t, n = Ne(t, [
4103
4125
  "locale"
4104
4126
  ]);
4105
- return vo($t({ locale: r }, n));
4106
- }, wo = (e = {}) => {
4127
+ return Eo(Vt({ locale: r }, n));
4128
+ }, Po = (e = {}) => {
4107
4129
  var t = e, {
4108
4130
  locale: r = ge()
4109
4131
  } = t, n = Ne(t, [
4110
4132
  "locale"
4111
4133
  ]);
4112
- return yo($t({ locale: r }, n));
4113
- }, xo = (e = {}) => {
4134
+ return wo(Vt({ locale: r }, n));
4135
+ }, To = (e = {}) => {
4114
4136
  var t = e, {
4115
4137
  locale: r = ge()
4116
4138
  } = t, n = Ne(t, [
4117
4139
  "locale"
4118
4140
  ]);
4119
- return _o($t({ locale: r }, n));
4120
- }, So = gt(
4141
+ return xo(Vt({ locale: r }, n));
4142
+ }, Ho = gt(
4121
4143
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4122
- (e, t = ge()) => new Ji(e, t, Ce().formats, {
4144
+ (e, t = ge()) => new Ki(e, t, Ce().formats, {
4123
4145
  ignoreTag: Ce().ignoreTag
4124
4146
  })
4125
- ), Po = (e, t = {}) => {
4147
+ ), Bo = (e, t = {}) => {
4126
4148
  var r, n, i, o;
4127
4149
  let s = t;
4128
4150
  typeof e == "object" && (s = e, e = s.id);
@@ -4135,7 +4157,7 @@ const Ze = (e, t) => {
4135
4157
  throw new Error(
4136
4158
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4137
4159
  );
4138
- let u = Wr(e, c);
4160
+ let u = Qr(e, c);
4139
4161
  if (!u)
4140
4162
  u = (o = (i = (n = (r = Ce()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4141
4163
  else if (typeof u != "string")
@@ -4146,7 +4168,7 @@ const Ze = (e, t) => {
4146
4168
  return u;
4147
4169
  let f = u;
4148
4170
  try {
4149
- f = So(u, c).format(a);
4171
+ f = Ho(u, c).format(a);
4150
4172
  } catch (d) {
4151
4173
  d instanceof Error && console.warn(
4152
4174
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4154,13 +4176,13 @@ const Ze = (e, t) => {
4154
4176
  );
4155
4177
  }
4156
4178
  return f;
4157
- }, To = (e, t) => xo(t).format(e), Ho = (e, t) => wo(t).format(e), Bo = (e, t) => Eo(t).format(e), Ao = (e, t = ge()) => Wr(e, t), Io = Le([he, Me], () => Po);
4158
- Le([he], () => To);
4159
- Le([he], () => Ho);
4160
- Le([he], () => Bo);
4161
- Le([he, Me], () => Ao);
4162
- window.emWidgets = { topic: Gn };
4163
- const Co = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4179
+ }, Ao = (e, t) => To(t).format(e), Io = (e, t) => Po(t).format(e), Co = (e, t) => So(t).format(e), Oo = (e, t = ge()) => Qr(e, t), Lo = Le([he, Me], () => Bo);
4180
+ Le([he], () => Ao);
4181
+ Le([he], () => Io);
4182
+ Le([he], () => Co);
4183
+ Le([he, Me], () => Oo);
4184
+ window.emWidgets = { topic: Xn };
4185
+ const Mo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4164
4186
  if (typeof window < "u") {
4165
4187
  let e = function(t) {
4166
4188
  return function(...r) {
@@ -4173,22 +4195,22 @@ if (typeof window < "u") {
4173
4195
  }
4174
4196
  };
4175
4197
  };
4176
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-H1CjJeVy.js").then(({ default: t }) => {
4198
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-ClUWo_HF.js").then(({ default: t }) => {
4177
4199
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4178
4200
  });
4179
4201
  }
4180
- function Oo({ withLocale: e, translations: t }) {
4202
+ function No({ withLocale: e, translations: t }) {
4181
4203
  he.subscribe((r) => {
4182
4204
  r == null && (Me.set(t), he.set(e));
4183
4205
  });
4184
4206
  }
4185
- function fr(e, t) {
4186
- qr(e, t);
4207
+ function pr(e, t) {
4208
+ Kr(e, t);
4187
4209
  }
4188
- function Lo(e) {
4210
+ function Ro(e) {
4189
4211
  he.set(e);
4190
4212
  }
4191
- const dr = {
4213
+ const gr = {
4192
4214
  en: {
4193
4215
  loginTitle: "Welcome",
4194
4216
  loginSubtitle: "Don't have an account yet?",
@@ -4332,15 +4354,15 @@ const dr = {
4332
4354
  loginForgotPassword: "I forgot my password",
4333
4355
  successMessage: "Login successful"
4334
4356
  }
4335
- }, { document: mr } = sn;
4336
- function Mo(e) {
4337
- an(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4357
+ }, { document: br } = cn;
4358
+ function Uo(e) {
4359
+ hn(e, "svelte-b3dr9t", '.grecaptcha-badge{opacity:0}.PlayerLoginFormWrapper{height:100%}.FormContainer{width:100%}.FormLogin{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));padding:50px}.FormHeaderTitle{color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A));font-size:20px;font-weight:300;padding:0;text-transform:uppercase;margin:0}.PasswordContainer{position:relative}.FormRequired{color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormHeaderSubtitle{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));font-size:14px;font-weight:300;margin:5px 0 0 0}.FormRegisterCallToAction{color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));font-size:14px;font-weight:400;text-decoration:none;cursor:pointer}.FormContent{padding-top:20px}.UserContainer,.PasswordContainer,.CaptchaContainer{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;position:relative}.UserContainer label,.PasswordContainer label,.CaptchaContainer label{font-size:14px;font-weight:300;padding-bottom:5px}.UserContainer input,.PasswordContainer input,.CaptchaContainer input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.UserContainer.InvalidField input,.PasswordContainer.InvalidField input,.CaptchaContainer.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.PasswordContainer input{padding:5px 30px 5px 15px}.TogglePasswordVisibility{height:13px;position:absolute;right:8px;bottom:55px}.TogglePasswordVisibility.InvalidToggle path,.TogglePasswordVisibility.InvalidToggle circle,.TogglePasswordVisibility.InvalidToggle rect{fill:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C))}.TogglePasswordVisibility path,.TogglePasswordVisibility circle,.TogglePasswordVisibility rect{fill:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B))}.SignInButton{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer}.SignInButton[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);cursor:not-allowed}.ForgotPasswordButton{border:0;background:transparent;font-size:14px;font-weight:300;color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));margin-top:15px;cursor:pointer}.PasswordContainer,.UserContainer{padding-bottom:40px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;position:absolute;top:55px;padding-top:5px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.FormMobileContainer{height:100%}.FormMobileContainer .FormLogin{padding:40px 20px}.FormMobileContainer .SignInButton,.FormMobileContainer .UserContainer input,.FormMobileContainer .PasswordContainer input,.FormMobileContainer .CaptchaContainer{max-width:unset}.ModalLoaderWrapper{display:flex;height:100%;align-items:center}.ModalLoader{display:block;width:80px;height:80px;margin:0 auto}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--registration-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:Loader 1.2s linear infinite}input::-ms-reveal,input::-ms-clear{display:none}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
4338
4360
  }
4339
- function pr(e) {
4361
+ function vr(e) {
4340
4362
  let t, r;
4341
4363
  return {
4342
4364
  c() {
4343
- t = S("script"), Vt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4365
+ t = S("script"), Wt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4344
4366
  e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
4345
4367
  },
4346
4368
  m(n, i) {
@@ -4348,7 +4370,7 @@ function pr(e) {
4348
4370
  },
4349
4371
  p(n, i) {
4350
4372
  i[0] & /*captchakey*/
4351
- 2 && !Vt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4373
+ 2 && !Wt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4352
4374
  n[1]) && h(t, "src", r);
4353
4375
  },
4354
4376
  d(n) {
@@ -4356,12 +4378,12 @@ function pr(e) {
4356
4378
  }
4357
4379
  };
4358
4380
  }
4359
- function No(e) {
4381
+ function Fo(e) {
4360
4382
  let t, r, n;
4361
4383
  function i(a, c) {
4362
4384
  return (
4363
4385
  /*startSmsValidation*/
4364
- a[20] ? Fo : Uo
4386
+ a[20] ? $o : ko
4365
4387
  );
4366
4388
  }
4367
4389
  let o = i(e), s = o(e);
@@ -4383,7 +4405,7 @@ function No(e) {
4383
4405
  }
4384
4406
  };
4385
4407
  }
4386
- function Ro(e) {
4408
+ function Do(e) {
4387
4409
  let t;
4388
4410
  return {
4389
4411
  c() {
@@ -4398,7 +4420,7 @@ function Ro(e) {
4398
4420
  }
4399
4421
  };
4400
4422
  }
4401
- function Uo(e) {
4423
+ function ko(e) {
4402
4424
  let t, r, n = (
4403
4425
  /*$_*/
4404
4426
  e[21]("loginTitle") + ""
@@ -4422,25 +4444,25 @@ function Uo(e) {
4422
4444
  e[21]("loginForgotPassword") + ""
4423
4445
  ), $e, Ge, Qe, U = (
4424
4446
  /*invalidName*/
4425
- e[13] && gr(e)
4447
+ e[13] && yr(e)
4426
4448
  );
4427
4449
  function Ye(v, P) {
4428
4450
  return (
4429
4451
  /*isPasswordVisible*/
4430
- v[18] ? ko : Do
4452
+ v[18] ? jo : Go
4431
4453
  );
4432
4454
  }
4433
4455
  let we = Ye(e), Q = we(e), F = (
4434
4456
  /*invalidPassword*/
4435
4457
  e[14] && /*simplepasswordvalidation*/
4436
- e[2] !== "true" && br(e)
4458
+ e[2] !== "true" && _r(e)
4437
4459
  ), D = (
4438
4460
  /*invalidPassword*/
4439
4461
  e[14] && /*simplepasswordvalidation*/
4440
- e[2] === "true" && vr(e)
4462
+ e[2] === "true" && Er(e)
4441
4463
  ), k = (
4442
4464
  /*errorMessage*/
4443
- e[15] && yr(e)
4465
+ e[15] && wr(e)
4444
4466
  );
4445
4467
  return {
4446
4468
  c() {
@@ -4523,7 +4545,7 @@ function Uo(e) {
4523
4545
  /*userValue*/
4524
4546
  v[11]
4525
4547
  ), /*invalidName*/
4526
- v[13] ? U ? U.p(v, P) : (U = gr(v), U.c(), U.m(x, null)) : U && (U.d(1), U = null), P[0] & /*invalidName*/
4548
+ v[13] ? U ? U.p(v, P) : (U = yr(v), U.c(), U.m(x, null)) : U && (U.d(1), U = null), P[0] & /*invalidName*/
4527
4549
  8192 && ne !== (ne = "UserContainer " + /*invalidName*/
4528
4550
  (v[13] ? "InvalidField" : "")) && h(x, "class", ne), P[0] & /*$_*/
4529
4551
  2097152 && be !== (be = /*$_*/
@@ -4537,12 +4559,12 @@ function Uo(e) {
4537
4559
  v[12]
4538
4560
  ), we === (we = Ye(v)) && Q ? Q.p(v, P) : (Q.d(1), Q = we(v), Q && (Q.c(), Q.m(A, ye))), /*invalidPassword*/
4539
4561
  v[14] && /*simplepasswordvalidation*/
4540
- v[2] !== "true" ? F ? F.p(v, P) : (F = br(v), F.c(), F.m(A, _e)) : F && (F.d(1), F = null), /*invalidPassword*/
4562
+ v[2] !== "true" ? F ? F.p(v, P) : (F = _r(v), F.c(), F.m(A, _e)) : F && (F.d(1), F = null), /*invalidPassword*/
4541
4563
  v[14] && /*simplepasswordvalidation*/
4542
- v[2] === "true" ? D ? D.p(v, P) : (D = vr(v), D.c(), D.m(A, null)) : D && (D.d(1), D = null), P[0] & /*invalidPassword*/
4564
+ v[2] === "true" ? D ? D.p(v, P) : (D = Er(v), D.c(), D.m(A, null)) : D && (D.d(1), D = null), P[0] & /*invalidPassword*/
4543
4565
  16384 && de !== (de = "PasswordContainer " + /*invalidPassword*/
4544
4566
  (v[14] ? "InvalidField" : "")) && h(A, "class", de), /*errorMessage*/
4545
- v[15] ? k ? k.p(v, P) : (k = yr(v), k.c(), k.m(g, me)) : k && (k.d(1), k = null), P[0] & /*$_*/
4567
+ v[15] ? k ? k.p(v, P) : (k = wr(v), k.c(), k.m(g, me)) : k && (k.d(1), k = null), P[0] & /*$_*/
4546
4568
  2097152 && pe !== (pe = /*$_*/
4547
4569
  v[21]("loginButton") + "") && te(ke, pe), P[0] & /*isFormDataInvalid*/
4548
4570
  524288 && (K.disabled = /*isFormDataInvalid*/
@@ -4555,7 +4577,7 @@ function Uo(e) {
4555
4577
  }
4556
4578
  };
4557
4579
  }
4558
- function Fo(e) {
4580
+ function $o(e) {
4559
4581
  let t;
4560
4582
  return {
4561
4583
  c() {
@@ -4638,7 +4660,7 @@ function Fo(e) {
4638
4660
  }
4639
4661
  };
4640
4662
  }
4641
- function gr(e) {
4663
+ function yr(e) {
4642
4664
  let t, r = (
4643
4665
  /*$_*/
4644
4666
  e[21]("loginUsernameError") + ""
@@ -4660,7 +4682,7 @@ function gr(e) {
4660
4682
  }
4661
4683
  };
4662
4684
  }
4663
- function Do(e) {
4685
+ function Go(e) {
4664
4686
  let t, r, n, i, o, s, a, c, l;
4665
4687
  return {
4666
4688
  c() {
@@ -4680,7 +4702,7 @@ function Do(e) {
4680
4702
  }
4681
4703
  };
4682
4704
  }
4683
- function ko(e) {
4705
+ function jo(e) {
4684
4706
  let t, r, n, i, o, s, a, c, l, u, f, d, b, y, g;
4685
4707
  return {
4686
4708
  c() {
@@ -4700,7 +4722,7 @@ function ko(e) {
4700
4722
  }
4701
4723
  };
4702
4724
  }
4703
- function br(e) {
4725
+ function _r(e) {
4704
4726
  let t, r = (
4705
4727
  /*$_*/
4706
4728
  e[21]("loginPasswordError") + ""
@@ -4722,7 +4744,7 @@ function br(e) {
4722
4744
  }
4723
4745
  };
4724
4746
  }
4725
- function vr(e) {
4747
+ function Er(e) {
4726
4748
  let t, r = (
4727
4749
  /*$_*/
4728
4750
  e[21]("loginSimplePasswordError") + ""
@@ -4744,7 +4766,7 @@ function vr(e) {
4744
4766
  }
4745
4767
  };
4746
4768
  }
4747
- function yr(e) {
4769
+ function wr(e) {
4748
4770
  let t, r;
4749
4771
  return {
4750
4772
  c() {
@@ -4769,21 +4791,21 @@ function yr(e) {
4769
4791
  }
4770
4792
  };
4771
4793
  }
4772
- function $o(e) {
4794
+ function Vo(e) {
4773
4795
  let t, r, n, i, o, s = (
4774
4796
  /*captchakey*/
4775
- e[1] && pr(e)
4797
+ e[1] && vr(e)
4776
4798
  );
4777
4799
  function a(u, f) {
4778
4800
  return (
4779
4801
  /*isLoading*/
4780
- u[16] ? Ro : No
4802
+ u[16] ? Do : Fo
4781
4803
  );
4782
4804
  }
4783
4805
  let c = a(e), l = c(e);
4784
4806
  return {
4785
4807
  c() {
4786
- s && s.c(), t = cn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4808
+ s && s.c(), t = mn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4787
4809
  n,
4788
4810
  "data-sitekey",
4789
4811
  /*captchakey*/
@@ -4791,11 +4813,11 @@ function $o(e) {
4791
4813
  ), h(o, "class", "PlayerLoginFormWrapper");
4792
4814
  },
4793
4815
  m(u, f) {
4794
- s && s.m(mr.head, null), m(mr.head, t), L(u, r, f), L(u, n, f), L(u, i, f), L(u, o, f), l.m(o, null), e[40](o);
4816
+ s && s.m(br.head, null), m(br.head, t), L(u, r, f), L(u, n, f), L(u, i, f), L(u, o, f), l.m(o, null), e[40](o);
4795
4817
  },
4796
4818
  p(u, f) {
4797
4819
  /*captchakey*/
4798
- u[1] ? s ? s.p(u, f) : (s = pr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4820
+ u[1] ? s ? s.p(u, f) : (s = vr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4799
4821
  2 && h(
4800
4822
  n,
4801
4823
  "data-sitekey",
@@ -4810,27 +4832,27 @@ function $o(e) {
4810
4832
  }
4811
4833
  };
4812
4834
  }
4813
- let Go = "Please use this code {0} to activate your account";
4814
- function jo(e, t, r) {
4835
+ let zo = "Please use this code {0} to activate your account";
4836
+ function Xo(e, t, r) {
4815
4837
  let n;
4816
- on(e, Io, (p) => r(21, n = p));
4838
+ un(e, Lo, (p) => r(21, n = p));
4817
4839
  let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: f = "" } = t, { savecredentials: d = "" } = t, b, y, g = !1, x, M = !1, q = window.navigator.userAgent, H = "", R = "", G = { username: "", password: "" }, J = !1, B = !1, ie = "", re = !1, ne, fe = !1, A = !0, W, be = +localStorage.getItem("smsTimer") || 0, Re = Date.now() / 1e3 - be, Ue = localStorage.getItem("smsValidation") == "true" && Re < 60, oe = {
4818
4840
  user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
4819
4841
  email: /^[^<>()*{}=/|?`~[\]\\,;:\%#^\s@\"$&!@]+@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z0-9]+\.)+[a-zA-Z]{2,}))$/i,
4820
4842
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
4821
4843
  };
4822
- Oo({ withLocale: "en", translations: {} });
4844
+ No({ withLocale: "en", translations: {} });
4823
4845
  const qe = () => {
4824
4846
  fetch(f).then(($) => $.json()).then(($) => {
4825
4847
  Object.keys($).forEach((j) => {
4826
- fr(j, $[j]);
4848
+ pr(j, $[j]);
4827
4849
  });
4828
4850
  }).catch(($) => {
4829
4851
  console.log($);
4830
4852
  });
4831
4853
  };
4832
- Object.keys(dr).forEach((p) => {
4833
- fr(p, dr[p]);
4854
+ Object.keys(gr).forEach((p) => {
4855
+ pr(p, gr[p]);
4834
4856
  });
4835
4857
  const C = () => new Promise((p, $) => {
4836
4858
  grecaptcha.ready(() => {
@@ -4883,12 +4905,12 @@ function jo(e, t, r) {
4883
4905
  let Ke = {
4884
4906
  "Content-Type": "application/json",
4885
4907
  "g-recaptcha-response": j
4886
- }, et = { username: p, password: $ }, rn = {
4908
+ }, et = { username: p, password: $ }, an = {
4887
4909
  method: "POST",
4888
4910
  headers: Ke,
4889
4911
  body: JSON.stringify(et)
4890
4912
  };
4891
- fetch(`${i}/v1/player/login/player`, rn).then((V) => (V.status >= 500 && (r(15, ie = "Server might not be responsing"), r(16, re = !1), window.postMessage(
4913
+ fetch(`${i}/v1/player/login/player`, an).then((V) => (V.status >= 500 && (r(15, ie = "Server might not be responsing"), r(16, re = !1), window.postMessage(
4892
4914
  {
4893
4915
  type: "WidgetNotification",
4894
4916
  data: {
@@ -4934,11 +4956,11 @@ function jo(e, t, r) {
4934
4956
  window.location.href
4935
4957
  );
4936
4958
  } catch {
4937
- let Gt = V.error.substring(V.error.indexOf("errorMessage") + 13, V.error.length);
4938
- r(15, ie = Gt), r(16, re = !1), window.postMessage(
4959
+ let zt = V.error.substring(V.error.indexOf("errorMessage") + 13, V.error.length);
4960
+ r(15, ie = zt), r(16, re = !1), window.postMessage(
4939
4961
  {
4940
4962
  type: "WidgetNotification",
4941
- data: { type: "error", message: Gt }
4963
+ data: { type: "error", message: zt }
4942
4964
  },
4943
4965
  window.location.href
4944
4966
  );
@@ -4955,7 +4977,7 @@ function jo(e, t, r) {
4955
4977
  },
4956
4978
  body: JSON.stringify({
4957
4979
  userId: $,
4958
- messageTemplate: Go,
4980
+ messageTemplate: zo,
4959
4981
  destination: p
4960
4982
  })
4961
4983
  }), Ke = await j.json();
@@ -4969,7 +4991,7 @@ function jo(e, t, r) {
4969
4991
  g = !0, console.error(j);
4970
4992
  }
4971
4993
  }, Qe = () => {
4972
- Lo(s);
4994
+ Ro(s);
4973
4995
  }, U = () => {
4974
4996
  let p = document.createElement("style");
4975
4997
  p.innerHTML = l, W.appendChild(p);
@@ -4988,7 +5010,7 @@ function jo(e, t, r) {
4988
5010
  );
4989
5011
  });
4990
5012
  };
4991
- mn(() => (window.addEventListener("message", ue, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = Co(q)), () => {
5013
+ vn(() => (window.addEventListener("message", ue, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = Mo(q)), () => {
4992
5014
  window.removeEventListener("message", ue);
4993
5015
  }));
4994
5016
  const we = () => de();
@@ -5003,8 +5025,8 @@ function jo(e, t, r) {
5003
5025
  ne = p, r(17, ne);
5004
5026
  });
5005
5027
  }
5006
- const k = () => ye(), v = () => Fe(), P = (p) => me(p), en = (p) => De(p);
5007
- function tn(p) {
5028
+ const k = () => ye(), v = () => Fe(), P = (p) => me(p), on = (p) => De(p);
5029
+ function sn(p) {
5008
5030
  ut[p ? "unshift" : "push"](() => {
5009
5031
  W = p, r(6, W);
5010
5032
  });
@@ -5058,18 +5080,18 @@ function jo(e, t, r) {
5058
5080
  k,
5059
5081
  v,
5060
5082
  P,
5061
- en,
5062
- tn
5083
+ on,
5084
+ sn
5063
5085
  ];
5064
5086
  }
5065
- class Vo extends Tn {
5087
+ class Wo extends In {
5066
5088
  constructor(t) {
5067
- super(), Sn(
5089
+ super(), Bn(
5068
5090
  this,
5069
5091
  t,
5070
- jo,
5071
- $o,
5072
- Er,
5092
+ Xo,
5093
+ Vo,
5094
+ Sr,
5073
5095
  {
5074
5096
  endpoint: 0,
5075
5097
  captchakey: 1,
@@ -5081,7 +5103,7 @@ class Vo extends Tn {
5081
5103
  translationurl: 31,
5082
5104
  savecredentials: 5
5083
5105
  },
5084
- Mo,
5106
+ Uo,
5085
5107
  [-1, -1]
5086
5108
  );
5087
5109
  }
@@ -5140,32 +5162,32 @@ class Vo extends Tn {
5140
5162
  this.$$set({ savecredentials: t }), ee();
5141
5163
  }
5142
5164
  }
5143
- Pn(Vo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5165
+ An(Wo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5144
5166
  export {
5145
5167
  he as $,
5146
- Vo as G,
5147
- Tn as S,
5168
+ Wo as G,
5169
+ In as S,
5148
5170
  Me as a,
5149
- qr as b,
5150
- Pn as c,
5151
- an as d,
5152
- I as e,
5171
+ Kr as b,
5172
+ An as c,
5173
+ hn as d,
5174
+ S as e,
5153
5175
  ee as f,
5154
- te as g,
5155
- rt as h,
5156
- Sn as i,
5157
- h as j,
5158
- L as k,
5159
- m as l,
5176
+ z as g,
5177
+ h,
5178
+ Bn as i,
5179
+ L as j,
5180
+ m as k,
5181
+ rt as l,
5160
5182
  se as m,
5161
- Z as n,
5162
- S as o,
5163
- z as p,
5164
- on as q,
5183
+ te as n,
5184
+ Z as o,
5185
+ I as p,
5186
+ un as q,
5165
5187
  Oe as r,
5166
- Er as s,
5188
+ Sr as s,
5167
5189
  N as t,
5168
- mn as u,
5190
+ vn as u,
5169
5191
  ut as v,
5170
- Io as w
5192
+ Lo as w
5171
5193
  };