@everymatrix/general-player-login-form 1.61.1 → 1.62.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 yr(e) {
3
+ function wr(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 Me(e) {
10
- e.forEach(yr);
10
+ e.forEach(wr);
11
11
  }
12
- function Dt(e) {
12
+ function kt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function _r(e, t) {
15
+ function xr(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 tn(e) {
22
+ function sn(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Er(e, ...t) {
25
+ function Sr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function Er(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function rn(e, t, r) {
35
- e.$$.on_destroy.push(Er(t, r));
34
+ function an(e, t, r) {
35
+ e.$$.on_destroy.push(Sr(t, r));
36
36
  }
37
37
  function m(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function nn(e, t, r) {
41
- const n = on(e);
40
+ function ln(e, t, r) {
41
+ const n = un(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = x("style");
44
- i.id = t, i.textContent = r, sn(n, i);
44
+ i.id = t, i.textContent = r, cn(n, i);
45
45
  }
46
46
  }
47
- function on(e) {
47
+ function un(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function on(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function sn(e, t) {
57
+ function cn(e, t) {
58
58
  return m(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -79,7 +79,7 @@ function N(e) {
79
79
  function j() {
80
80
  return N(" ");
81
81
  }
82
- function an() {
82
+ function hn() {
83
83
  return N("");
84
84
  }
85
85
  function oe(e, t, r, n) {
@@ -92,7 +92,7 @@ function W(e, t, r) {
92
92
  const n = t.toLowerCase();
93
93
  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);
94
94
  }
95
- function ln(e) {
95
+ function fn(e) {
96
96
  return Array.from(e.childNodes);
97
97
  }
98
98
  function te(e, t) {
@@ -102,7 +102,7 @@ function te(e, t) {
102
102
  function rt(e, t) {
103
103
  e.value = t ?? "";
104
104
  }
105
- function un(e) {
105
+ function dn(e) {
106
106
  const t = {};
107
107
  return e.childNodes.forEach(
108
108
  /** @param {Element} node */
@@ -115,22 +115,22 @@ let ze;
115
115
  function Ve(e) {
116
116
  ze = e;
117
117
  }
118
- function cn() {
118
+ function mn() {
119
119
  if (!ze)
120
120
  throw new Error("Function called outside component initialization");
121
121
  return ze;
122
122
  }
123
- function hn(e) {
124
- cn().$$.on_mount.push(e);
123
+ function pn(e) {
124
+ mn().$$.on_mount.push(e);
125
125
  }
126
126
  const He = [], ut = [];
127
127
  let Be = [];
128
- const zt = [], fn = /* @__PURE__ */ Promise.resolve();
129
- let St = !1;
130
- function dn() {
131
- St || (St = !0, fn.then(K));
128
+ const Zt = [], gn = /* @__PURE__ */ Promise.resolve();
129
+ let Pt = !1;
130
+ function bn() {
131
+ Pt || (Pt = !0, gn.then(K));
132
132
  }
133
- function Pt(e) {
133
+ function Tt(e) {
134
134
  Be.push(e);
135
135
  }
136
136
  const bt = /* @__PURE__ */ new Set();
@@ -143,7 +143,7 @@ function K() {
143
143
  try {
144
144
  for (; Pe < He.length; ) {
145
145
  const t = He[Pe];
146
- Pe++, Ve(t), mn(t.$$);
146
+ Pe++, Ve(t), vn(t.$$);
147
147
  }
148
148
  } catch (t) {
149
149
  throw He.length = 0, Pe = 0, t;
@@ -156,40 +156,40 @@ function K() {
156
156
  }
157
157
  Be.length = 0;
158
158
  } while (He.length);
159
- for (; zt.length; )
160
- zt.pop()();
161
- St = !1, bt.clear(), Ve(e);
159
+ for (; Zt.length; )
160
+ Zt.pop()();
161
+ Pt = !1, bt.clear(), Ve(e);
162
162
  }
163
- function mn(e) {
163
+ function vn(e) {
164
164
  if (e.fragment !== null) {
165
165
  e.update(), Me(e.before_update);
166
166
  const t = e.dirty;
167
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pt);
167
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Tt);
168
168
  }
169
169
  }
170
- function pn(e) {
170
+ function yn(e) {
171
171
  const t = [], r = [];
172
172
  Be.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Be = t;
173
173
  }
174
- const gn = /* @__PURE__ */ new Set();
175
- function bn(e, t) {
176
- e && e.i && (gn.delete(e), e.i(t));
174
+ const _n = /* @__PURE__ */ new Set();
175
+ function En(e, t) {
176
+ e && e.i && (_n.delete(e), e.i(t));
177
177
  }
178
- function vn(e, t, r) {
178
+ function wn(e, t, r) {
179
179
  const { fragment: n, after_update: i } = e.$$;
180
- n && n.m(t, r), Pt(() => {
181
- const o = e.$$.on_mount.map(yr).filter(Dt);
180
+ n && n.m(t, r), Tt(() => {
181
+ const o = e.$$.on_mount.map(wr).filter(kt);
182
182
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Me(o), e.$$.on_mount = [];
183
- }), i.forEach(Pt);
183
+ }), i.forEach(Tt);
184
184
  }
185
- function yn(e, t) {
185
+ function xn(e, t) {
186
186
  const r = e.$$;
187
- r.fragment !== null && (pn(r.after_update), Me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
187
+ r.fragment !== null && (yn(r.after_update), Me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
188
188
  }
189
- function _n(e, t) {
190
- e.$$.dirty[0] === -1 && (He.push(e), dn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
189
+ function Sn(e, t) {
190
+ e.$$.dirty[0] === -1 && (He.push(e), bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
191
191
  }
192
- function En(e, t, r, n, i, o, s = null, a = [-1]) {
192
+ function Pn(e, t, r, n, i, o, s = null, a = [-1]) {
193
193
  const c = ze;
194
194
  Ve(e);
195
195
  const l = e.$$ = {
@@ -199,7 +199,7 @@ function En(e, t, r, n, i, o, s = null, a = [-1]) {
199
199
  props: o,
200
200
  update: Z,
201
201
  not_equal: i,
202
- bound: jt(),
202
+ bound: Xt(),
203
203
  // lifecycle
204
204
  on_mount: [],
205
205
  on_destroy: [],
@@ -208,7 +208,7 @@ function En(e, t, r, n, i, o, s = null, a = [-1]) {
208
208
  after_update: [],
209
209
  context: new Map(t.context || (c ? c.$$.context : [])),
210
210
  // everything else
211
- callbacks: jt(),
211
+ callbacks: Xt(),
212
212
  dirty: a,
213
213
  skip_bound: !1,
214
214
  root: t.target || c.$$.root
@@ -217,19 +217,19 @@ function En(e, t, r, n, i, o, s = null, a = [-1]) {
217
217
  let u = !1;
218
218
  if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
219
219
  const y = b.length ? b[0] : d;
220
- return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && _n(e, f)), d;
220
+ return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), u && Sn(e, f)), d;
221
221
  }) : [], l.update(), u = !0, Me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
222
222
  if (t.hydrate) {
223
- const f = ln(t.target);
223
+ const f = fn(t.target);
224
224
  l.fragment && l.fragment.l(f), f.forEach(I);
225
225
  } else
226
226
  l.fragment && l.fragment.c();
227
- t.intro && bn(e.$$.fragment), vn(e, t.target, t.anchor), K();
227
+ t.intro && En(e.$$.fragment), wn(e, t.target, t.anchor), K();
228
228
  }
229
229
  Ve(c);
230
230
  }
231
- let wr;
232
- typeof HTMLElement == "function" && (wr = class extends HTMLElement {
231
+ let Pr;
232
+ typeof HTMLElement == "function" && (Pr = class extends HTMLElement {
233
233
  /** The Svelte component constructor */
234
234
  $$ctor;
235
235
  /** Slots */
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (wr = class extends HTMLElement {
288
288
  };
289
289
  if (await Promise.resolve(), !this.$$cn || this.$$c)
290
290
  return;
291
- const t = {}, r = un(this);
291
+ const t = {}, r = dn(this);
292
292
  for (const i of this.$$s)
293
293
  i in r && (t[i] = [e(i)]);
294
294
  for (const i of this.attributes) {
@@ -375,8 +375,8 @@ function ot(e, t, r, n) {
375
375
  return t;
376
376
  }
377
377
  }
378
- function wn(e, t, r, n, i, o) {
379
- let s = class extends wr {
378
+ function Tn(e, t, r, n, i, o) {
379
+ let s = class extends Pr {
380
380
  constructor() {
381
381
  super(e, r, i), this.$$p_d = t;
382
382
  }
@@ -404,7 +404,7 @@ function wn(e, t, r, n, i, o) {
404
404
  }), e.element = /** @type {any} */
405
405
  s, s;
406
406
  }
407
- class xn {
407
+ class Hn {
408
408
  /**
409
409
  * ### PRIVATE API
410
410
  *
@@ -423,7 +423,7 @@ class xn {
423
423
  $$set = void 0;
424
424
  /** @returns {void} */
425
425
  $destroy() {
426
- yn(this, 1), this.$destroy = Z;
426
+ xn(this, 1), this.$destroy = Z;
427
427
  }
428
428
  /**
429
429
  * @template {Extract<keyof Events, string>} K
@@ -432,7 +432,7 @@ class xn {
432
432
  * @returns {() => void}
433
433
  */
434
434
  $on(t, r) {
435
- if (!Dt(r))
435
+ if (!kt(r))
436
436
  return Z;
437
437
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
438
438
  return n.push(r), () => {
@@ -445,11 +445,11 @@ class xn {
445
445
  * @returns {void}
446
446
  */
447
447
  $set(t) {
448
- this.$$set && !tn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
448
+ this.$$set && !sn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
449
449
  }
450
450
  }
451
- const Sn = "4";
452
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sn);
451
+ const Bn = "4";
452
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Bn);
453
453
  /*! *****************************************************************************
454
454
  Copyright (c) Microsoft Corporation.
455
455
 
@@ -464,18 +464,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
464
464
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
465
465
  PERFORMANCE OF THIS SOFTWARE.
466
466
  ***************************************************************************** */
467
- var Tt = function(e, t) {
468
- return Tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
467
+ var Ht = function(e, t) {
468
+ return Ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
469
469
  r.__proto__ = n;
470
470
  } || function(r, n) {
471
471
  for (var i in n)
472
472
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
473
- }, Tt(e, t);
473
+ }, Ht(e, t);
474
474
  };
475
475
  function ae(e, t) {
476
476
  if (typeof t != "function" && t !== null)
477
477
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
478
- Tt(e, t);
478
+ Ht(e, t);
479
479
  function r() {
480
480
  this.constructor = e;
481
481
  }
@@ -491,7 +491,7 @@ var w = function() {
491
491
  return t;
492
492
  }, w.apply(this, arguments);
493
493
  };
494
- function Pn(e, t) {
494
+ function An(e, t) {
495
495
  var r = {};
496
496
  for (var n in e)
497
497
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -500,7 +500,7 @@ function Pn(e, t) {
500
500
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
501
501
  return r;
502
502
  }
503
- function Ht(e) {
503
+ function Bt(e) {
504
504
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
505
505
  if (r)
506
506
  return r.call(e);
@@ -512,7 +512,7 @@ function Ht(e) {
512
512
  };
513
513
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
514
514
  }
515
- function Bt(e, t) {
515
+ function At(e, t) {
516
516
  var r = typeof Symbol == "function" && e[Symbol.iterator];
517
517
  if (!r)
518
518
  return e;
@@ -541,13 +541,13 @@ function Ae(e, t, r) {
541
541
  function se(e) {
542
542
  return typeof e == "function";
543
543
  }
544
- function xr(e) {
544
+ function Tr(e) {
545
545
  var t = function(n) {
546
546
  Error.call(n), n.stack = new Error().stack;
547
547
  }, r = e(t);
548
548
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
549
549
  }
550
- var vt = xr(function(e) {
550
+ var vt = Tr(function(e) {
551
551
  return function(r) {
552
552
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
553
553
  ` + r.map(function(n, i) {
@@ -556,7 +556,7 @@ var vt = xr(function(e) {
556
556
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
557
557
  };
558
558
  });
559
- function At(e, t) {
559
+ function It(e, t) {
560
560
  if (e) {
561
561
  var r = e.indexOf(t);
562
562
  0 <= r && e.splice(r, 1);
@@ -574,7 +574,7 @@ var ft = function() {
574
574
  if (s)
575
575
  if (this._parentage = null, Array.isArray(s))
576
576
  try {
577
- for (var a = Ht(s), c = a.next(); !c.done; c = a.next()) {
577
+ for (var a = Bt(s), c = a.next(); !c.done; c = a.next()) {
578
578
  var l = c.value;
579
579
  l.remove(this);
580
580
  }
@@ -601,12 +601,12 @@ var ft = function() {
601
601
  if (f) {
602
602
  this._finalizers = null;
603
603
  try {
604
- for (var d = Ht(f), b = d.next(); !b.done; b = d.next()) {
604
+ for (var d = Bt(f), b = d.next(); !b.done; b = d.next()) {
605
605
  var y = b.value;
606
606
  try {
607
- Xt(y);
607
+ qt(y);
608
608
  } catch (g) {
609
- o = o ?? [], g instanceof vt ? o = Ae(Ae([], Bt(o)), Bt(g.errors)) : o.push(g);
609
+ o = o ?? [], g instanceof vt ? o = Ae(Ae([], At(o)), At(g.errors)) : o.push(g);
610
610
  }
611
611
  }
612
612
  } catch (g) {
@@ -627,7 +627,7 @@ var ft = function() {
627
627
  var r;
628
628
  if (t && t !== this)
629
629
  if (this.closed)
630
- Xt(t);
630
+ qt(t);
631
631
  else {
632
632
  if (t instanceof e) {
633
633
  if (t.closed || t._hasParent(this))
@@ -644,52 +644,56 @@ var ft = function() {
644
644
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
645
645
  }, e.prototype._removeParent = function(t) {
646
646
  var r = this._parentage;
647
- r === t ? this._parentage = null : Array.isArray(r) && At(r, t);
647
+ r === t ? this._parentage = null : Array.isArray(r) && It(r, t);
648
648
  }, e.prototype.remove = function(t) {
649
649
  var r = this._finalizers;
650
- r && At(r, t), t instanceof e && t._removeParent(this);
650
+ r && It(r, t), t instanceof e && t._removeParent(this);
651
651
  }, e.EMPTY = function() {
652
652
  var t = new e();
653
653
  return t.closed = !0, t;
654
654
  }(), e;
655
- }(), Sr = ft.EMPTY;
656
- function Pr(e) {
655
+ }(), Hr = ft.EMPTY;
656
+ function Br(e) {
657
657
  return e instanceof ft || e && "closed" in e && se(e.remove) && se(e.add) && se(e.unsubscribe);
658
658
  }
659
- function Xt(e) {
659
+ function qt(e) {
660
660
  se(e) ? e() : e.unsubscribe();
661
661
  }
662
- var Tn = {
663
- Promise: void 0
664
- }, Hn = {
662
+ var Ar = {
663
+ onUnhandledError: null,
664
+ onStoppedNotification: null,
665
+ Promise: void 0,
666
+ useDeprecatedSynchronousErrorHandling: !1,
667
+ useDeprecatedNextContext: !1
668
+ }, In = {
665
669
  setTimeout: function(e, t) {
666
670
  for (var r = [], n = 2; n < arguments.length; n++)
667
671
  r[n - 2] = arguments[n];
668
- return setTimeout.apply(void 0, Ae([e, t], Bt(r)));
672
+ return setTimeout.apply(void 0, Ae([e, t], At(r)));
669
673
  },
670
674
  clearTimeout: function(e) {
671
675
  return clearTimeout(e);
672
676
  },
673
677
  delegate: void 0
674
678
  };
675
- function Bn(e) {
676
- Hn.setTimeout(function() {
679
+ function Cn(e) {
680
+ In.setTimeout(function() {
677
681
  throw e;
678
682
  });
679
683
  }
680
- function Wt() {
684
+ function Jt() {
681
685
  }
682
686
  function st(e) {
683
687
  e();
684
688
  }
685
- var Tr = function(e) {
689
+ var Ir = function(e) {
686
690
  ae(t, e);
687
691
  function t(r) {
688
692
  var n = e.call(this) || this;
689
- return n.isStopped = !1, r ? (n.destination = r, Pr(r) && r.add(n)) : n.destination = Cn, n;
693
+ return n.isStopped = !1, r ? (n.destination = r, Br(r) && r.add(n)) : n.destination = Nn, n;
690
694
  }
691
695
  return t.create = function(r, n, i) {
692
- return new It(r, n, i);
696
+ return new Ct(r, n, i);
693
697
  }, t.prototype.next = function(r) {
694
698
  this.isStopped || this._next(r);
695
699
  }, t.prototype.error = function(r) {
@@ -713,7 +717,11 @@ var Tr = function(e) {
713
717
  this.unsubscribe();
714
718
  }
715
719
  }, t;
716
- }(ft), An = function() {
720
+ }(ft), On = Function.prototype.bind;
721
+ function yt(e, t) {
722
+ return On.call(e, t);
723
+ }
724
+ var Ln = function() {
717
725
  function e(t) {
718
726
  this.partialObserver = t;
719
727
  }
@@ -744,43 +752,55 @@ var Tr = function(e) {
744
752
  nt(r);
745
753
  }
746
754
  }, e;
747
- }(), It = function(e) {
755
+ }(), Ct = function(e) {
748
756
  ae(t, e);
749
757
  function t(r, n, i) {
750
758
  var o = e.call(this) || this, s;
751
- return se(r) || !r ? s = {
752
- next: r ?? void 0,
753
- error: n ?? void 0,
754
- complete: i ?? void 0
755
- } : s = r, o.destination = new An(s), o;
759
+ if (se(r) || !r)
760
+ s = {
761
+ next: r ?? void 0,
762
+ error: n ?? void 0,
763
+ complete: i ?? void 0
764
+ };
765
+ else {
766
+ var a;
767
+ o && Ar.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
768
+ return o.unsubscribe();
769
+ }, s = {
770
+ next: r.next && yt(r.next, a),
771
+ error: r.error && yt(r.error, a),
772
+ complete: r.complete && yt(r.complete, a)
773
+ }) : s = r;
774
+ }
775
+ return o.destination = new Ln(s), o;
756
776
  }
757
777
  return t;
758
- }(Tr);
778
+ }(Ir);
759
779
  function nt(e) {
760
- Bn(e);
780
+ Cn(e);
761
781
  }
762
- function In(e) {
782
+ function Mn(e) {
763
783
  throw e;
764
784
  }
765
- var Cn = {
785
+ var Nn = {
766
786
  closed: !0,
767
- next: Wt,
768
- error: In,
769
- complete: Wt
770
- }, On = function() {
787
+ next: Jt,
788
+ error: Mn,
789
+ complete: Jt
790
+ }, Rn = function() {
771
791
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
772
792
  }();
773
- function Ln(e) {
793
+ function Un(e) {
774
794
  return e;
775
795
  }
776
- function Mn(e) {
777
- return e.length === 0 ? Ln : e.length === 1 ? e[0] : function(r) {
796
+ function Fn(e) {
797
+ return e.length === 0 ? Un : e.length === 1 ? e[0] : function(r) {
778
798
  return e.reduce(function(n, i) {
779
799
  return i(n);
780
800
  }, r);
781
801
  };
782
802
  }
783
- var Zt = function() {
803
+ var Qt = function() {
784
804
  function e(t) {
785
805
  t && (this._subscribe = t);
786
806
  }
@@ -788,7 +808,7 @@ var Zt = function() {
788
808
  var r = new e();
789
809
  return r.source = this, r.operator = t, r;
790
810
  }, e.prototype.subscribe = function(t, r, n) {
791
- var i = this, o = Rn(t) ? t : new It(t, r, n);
811
+ var i = this, o = kn(t) ? t : new Ct(t, r, n);
792
812
  return st(function() {
793
813
  var s = i, a = s.operator, c = s.source;
794
814
  o.add(a ? a.call(o, c) : c ? i._subscribe(o) : i._trySubscribe(o));
@@ -801,8 +821,8 @@ var Zt = function() {
801
821
  }
802
822
  }, e.prototype.forEach = function(t, r) {
803
823
  var n = this;
804
- return r = qt(r), new r(function(i, o) {
805
- var s = new It({
824
+ return r = Yt(r), new r(function(i, o) {
825
+ var s = new Ct({
806
826
  next: function(a) {
807
827
  try {
808
828
  t(a);
@@ -818,15 +838,15 @@ var Zt = function() {
818
838
  }, e.prototype._subscribe = function(t) {
819
839
  var r;
820
840
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
821
- }, e.prototype[On] = function() {
841
+ }, e.prototype[Rn] = function() {
822
842
  return this;
823
843
  }, e.prototype.pipe = function() {
824
844
  for (var t = [], r = 0; r < arguments.length; r++)
825
845
  t[r] = arguments[r];
826
- return Mn(t)(this);
846
+ return Fn(t)(this);
827
847
  }, e.prototype.toPromise = function(t) {
828
848
  var r = this;
829
- return t = qt(t), new t(function(n, i) {
849
+ return t = Yt(t), new t(function(n, i) {
830
850
  var o;
831
851
  r.subscribe(function(s) {
832
852
  return o = s;
@@ -840,32 +860,32 @@ var Zt = function() {
840
860
  return new e(t);
841
861
  }, e;
842
862
  }();
843
- function qt(e) {
863
+ function Yt(e) {
844
864
  var t;
845
- return (t = e ?? Tn.Promise) !== null && t !== void 0 ? t : Promise;
865
+ return (t = e ?? Ar.Promise) !== null && t !== void 0 ? t : Promise;
846
866
  }
847
- function Nn(e) {
867
+ function Dn(e) {
848
868
  return e && se(e.next) && se(e.error) && se(e.complete);
849
869
  }
850
- function Rn(e) {
851
- return e && e instanceof Tr || Nn(e) && Pr(e);
870
+ function kn(e) {
871
+ return e && e instanceof Ir || Dn(e) && Br(e);
852
872
  }
853
- var Un = xr(function(e) {
873
+ var Gn = Tr(function(e) {
854
874
  return function() {
855
875
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
856
876
  };
857
- }), Hr = function(e) {
877
+ }), Cr = function(e) {
858
878
  ae(t, e);
859
879
  function t() {
860
880
  var r = e.call(this) || this;
861
881
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
862
882
  }
863
883
  return t.prototype.lift = function(r) {
864
- var n = new Jt(this, this);
884
+ var n = new Kt(this, this);
865
885
  return n.operator = r, n;
866
886
  }, t.prototype._throwIfClosed = function() {
867
887
  if (this.closed)
868
- throw new Un();
888
+ throw new Gn();
869
889
  }, t.prototype.next = function(r) {
870
890
  var n = this;
871
891
  st(function() {
@@ -873,7 +893,7 @@ var Un = xr(function(e) {
873
893
  if (n._throwIfClosed(), !n.isStopped) {
874
894
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
875
895
  try {
876
- for (var s = Ht(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
896
+ for (var s = Bt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
877
897
  var c = a.value;
878
898
  c.next(r);
879
899
  }
@@ -922,19 +942,19 @@ var Un = xr(function(e) {
922
942
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
923
943
  }, t.prototype._innerSubscribe = function(r) {
924
944
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
925
- return o || s ? Sr : (this.currentObservers = null, a.push(r), new ft(function() {
926
- n.currentObservers = null, At(a, r);
945
+ return o || s ? Hr : (this.currentObservers = null, a.push(r), new ft(function() {
946
+ n.currentObservers = null, It(a, r);
927
947
  }));
928
948
  }, t.prototype._checkFinalizedStatuses = function(r) {
929
949
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
930
950
  i ? r.error(o) : s && r.complete();
931
951
  }, t.prototype.asObservable = function() {
932
- var r = new Zt();
952
+ var r = new Qt();
933
953
  return r.source = this, r;
934
954
  }, t.create = function(r, n) {
935
- return new Jt(r, n);
955
+ return new Kt(r, n);
936
956
  }, t;
937
- }(Zt), Jt = function(e) {
957
+ }(Qt), Kt = function(e) {
938
958
  ae(t, e);
939
959
  function t(r, n) {
940
960
  var i = e.call(this) || this;
@@ -951,17 +971,17 @@ var Un = xr(function(e) {
951
971
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
952
972
  }, t.prototype._subscribe = function(r) {
953
973
  var n, i;
954
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Sr;
974
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Hr;
955
975
  }, t;
956
- }(Hr), Br = {
976
+ }(Cr), Or = {
957
977
  now: function() {
958
- return (Br.delegate || Date).now();
978
+ return (Or.delegate || Date).now();
959
979
  },
960
980
  delegate: void 0
961
- }, Fn = function(e) {
981
+ }, $n = function(e) {
962
982
  ae(t, e);
963
983
  function t(r, n, i) {
964
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Br);
984
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Or);
965
985
  var o = e.call(this) || this;
966
986
  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;
967
987
  }
@@ -981,15 +1001,15 @@ var Un = xr(function(e) {
981
1001
  l && o.splice(0, l + 1);
982
1002
  }
983
1003
  }, t;
984
- }(Hr);
985
- const Qt = [], Yt = {}, Dn = (e, t = 0) => {
986
- if (Qt.indexOf(e) == -1) {
987
- const r = new Fn(t);
988
- Yt[e] = r, Qt.push(e);
1004
+ }(Cr);
1005
+ const er = [], tr = {}, jn = (e, t = 0) => {
1006
+ if (er.indexOf(e) == -1) {
1007
+ const r = new $n(t);
1008
+ tr[e] = r, er.push(e);
989
1009
  }
990
- return Yt[e];
1010
+ return tr[e];
991
1011
  }, Te = [];
992
- function kn(e, t) {
1012
+ function Vn(e, t) {
993
1013
  return {
994
1014
  subscribe: dt(e, t).subscribe
995
1015
  };
@@ -998,7 +1018,7 @@ function dt(e, t = Z) {
998
1018
  let r;
999
1019
  const n = /* @__PURE__ */ new Set();
1000
1020
  function i(a) {
1001
- if (_r(e, a) && (e = a, r)) {
1021
+ if (xr(e, a) && (e = a, r)) {
1002
1022
  const c = !Te.length;
1003
1023
  for (const l of n)
1004
1024
  l[1](), Te.push(l, e);
@@ -1025,7 +1045,7 @@ function Ne(e, t, r) {
1025
1045
  if (!i.every(Boolean))
1026
1046
  throw new Error("derived() expects stores as input, got a falsy value");
1027
1047
  const o = t.length < 2;
1028
- return kn(r, (s, a) => {
1048
+ return Vn(r, (s, a) => {
1029
1049
  let c = !1;
1030
1050
  const l = [];
1031
1051
  let u = 0, f = Z;
@@ -1034,9 +1054,9 @@ function Ne(e, t, r) {
1034
1054
  return;
1035
1055
  f();
1036
1056
  const y = t(n ? l[0] : l, s, a);
1037
- o ? s(y) : f = Dt(y) ? y : Z;
1057
+ o ? s(y) : f = kt(y) ? y : Z;
1038
1058
  }, b = i.map(
1039
- (y, g) => Er(
1059
+ (y, g) => Sr(
1040
1060
  y,
1041
1061
  (S) => {
1042
1062
  l[g] = S, u &= ~(1 << g), c && d();
@@ -1051,70 +1071,70 @@ function Ne(e, t, r) {
1051
1071
  };
1052
1072
  });
1053
1073
  }
1054
- function Gn(e) {
1074
+ function zn(e) {
1055
1075
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1056
1076
  }
1057
- var $n = function(t) {
1058
- return jn(t) && !Vn(t);
1077
+ var Xn = function(t) {
1078
+ return Wn(t) && !Zn(t);
1059
1079
  };
1060
- function jn(e) {
1080
+ function Wn(e) {
1061
1081
  return !!e && typeof e == "object";
1062
1082
  }
1063
- function Vn(e) {
1083
+ function Zn(e) {
1064
1084
  var t = Object.prototype.toString.call(e);
1065
- return t === "[object RegExp]" || t === "[object Date]" || Wn(e);
1085
+ return t === "[object RegExp]" || t === "[object Date]" || Qn(e);
1066
1086
  }
1067
- var zn = typeof Symbol == "function" && Symbol.for, Xn = zn ? Symbol.for("react.element") : 60103;
1068
- function Wn(e) {
1069
- return e.$$typeof === Xn;
1087
+ var qn = typeof Symbol == "function" && Symbol.for, Jn = qn ? Symbol.for("react.element") : 60103;
1088
+ function Qn(e) {
1089
+ return e.$$typeof === Jn;
1070
1090
  }
1071
- function Zn(e) {
1091
+ function Yn(e) {
1072
1092
  return Array.isArray(e) ? [] : {};
1073
1093
  }
1074
1094
  function Xe(e, t) {
1075
- return t.clone !== !1 && t.isMergeableObject(e) ? Ie(Zn(e), e, t) : e;
1095
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ie(Yn(e), e, t) : e;
1076
1096
  }
1077
- function qn(e, t, r) {
1097
+ function Kn(e, t, r) {
1078
1098
  return e.concat(t).map(function(n) {
1079
1099
  return Xe(n, r);
1080
1100
  });
1081
1101
  }
1082
- function Jn(e, t) {
1102
+ function ei(e, t) {
1083
1103
  if (!t.customMerge)
1084
1104
  return Ie;
1085
1105
  var r = t.customMerge(e);
1086
1106
  return typeof r == "function" ? r : Ie;
1087
1107
  }
1088
- function Qn(e) {
1108
+ function ti(e) {
1089
1109
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1090
1110
  return Object.propertyIsEnumerable.call(e, t);
1091
1111
  }) : [];
1092
1112
  }
1093
- function Kt(e) {
1094
- return Object.keys(e).concat(Qn(e));
1113
+ function rr(e) {
1114
+ return Object.keys(e).concat(ti(e));
1095
1115
  }
1096
- function Ar(e, t) {
1116
+ function Lr(e, t) {
1097
1117
  try {
1098
1118
  return t in e;
1099
1119
  } catch {
1100
1120
  return !1;
1101
1121
  }
1102
1122
  }
1103
- function Yn(e, t) {
1104
- return Ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1123
+ function ri(e, t) {
1124
+ return Lr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1105
1125
  }
1106
- function Kn(e, t, r) {
1126
+ function ni(e, t, r) {
1107
1127
  var n = {};
1108
- return r.isMergeableObject(e) && Kt(e).forEach(function(i) {
1128
+ return r.isMergeableObject(e) && rr(e).forEach(function(i) {
1109
1129
  n[i] = Xe(e[i], r);
1110
- }), Kt(t).forEach(function(i) {
1111
- Yn(e, i) || (Ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jn(i, r)(e[i], t[i], r) : n[i] = Xe(t[i], r));
1130
+ }), rr(t).forEach(function(i) {
1131
+ ri(e, i) || (Lr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ei(i, r)(e[i], t[i], r) : n[i] = Xe(t[i], r));
1112
1132
  }), n;
1113
1133
  }
1114
1134
  function Ie(e, t, r) {
1115
- r = r || {}, r.arrayMerge = r.arrayMerge || qn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = Xe;
1135
+ r = r || {}, r.arrayMerge = r.arrayMerge || Kn, r.isMergeableObject = r.isMergeableObject || Xn, r.cloneUnlessOtherwiseSpecified = Xe;
1116
1136
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1117
- return o ? n ? r.arrayMerge(e, t, r) : Kn(e, t, r) : Xe(t, r);
1137
+ return o ? n ? r.arrayMerge(e, t, r) : ni(e, t, r) : Xe(t, r);
1118
1138
  }
1119
1139
  Ie.all = function(t, r) {
1120
1140
  if (!Array.isArray(t))
@@ -1123,56 +1143,58 @@ Ie.all = function(t, r) {
1123
1143
  return Ie(n, i, r);
1124
1144
  }, {});
1125
1145
  };
1126
- var ei = Ie, ti = ei;
1127
- const ri = /* @__PURE__ */ Gn(ti);
1128
- function yt(e, t) {
1129
- var r = t && t.cache ? t.cache : ui, n = t && t.serializer ? t.serializer : ai, i = t && t.strategy ? t.strategy : oi;
1146
+ var ii = Ie, oi = ii;
1147
+ const si = /* @__PURE__ */ zn(oi);
1148
+ function _t(e, t) {
1149
+ var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : li;
1130
1150
  return i(e, {
1131
1151
  cache: r,
1132
1152
  serializer: n
1133
1153
  });
1134
1154
  }
1135
- function ni(e) {
1155
+ function ai(e) {
1136
1156
  return e == null || typeof e == "number" || typeof e == "boolean";
1137
1157
  }
1138
- function ii(e, t, r, n) {
1139
- var i = ni(n) ? n : r(n), o = t.get(i);
1158
+ function Mr(e, t, r, n) {
1159
+ var i = ai(n) ? n : r(n), o = t.get(i);
1140
1160
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1141
1161
  }
1142
- function Ir(e, t, r) {
1162
+ function Nr(e, t, r) {
1143
1163
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1144
1164
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1145
1165
  }
1146
- function Cr(e, t, r, n, i) {
1166
+ function Gt(e, t, r, n, i) {
1147
1167
  return r.bind(t, e, n, i);
1148
1168
  }
1149
- function oi(e, t) {
1150
- var r = e.length === 1 ? ii : Ir;
1151
- return Cr(e, this, r, t.cache.create(), t.serializer);
1169
+ function li(e, t) {
1170
+ var r = e.length === 1 ? Mr : Nr;
1171
+ return Gt(e, this, r, t.cache.create(), t.serializer);
1172
+ }
1173
+ function ui(e, t) {
1174
+ return Gt(e, this, Nr, t.cache.create(), t.serializer);
1152
1175
  }
1153
- function si(e, t) {
1154
- return Cr(e, this, Ir, t.cache.create(), t.serializer);
1176
+ function ci(e, t) {
1177
+ return Gt(e, this, Mr, t.cache.create(), t.serializer);
1155
1178
  }
1156
- var ai = function() {
1179
+ var hi = function() {
1157
1180
  return JSON.stringify(arguments);
1158
- }, li = (
1159
- /** @class */
1160
- function() {
1161
- function e() {
1162
- this.cache = /* @__PURE__ */ Object.create(null);
1163
- }
1164
- return e.prototype.get = function(t) {
1165
- return this.cache[t];
1166
- }, e.prototype.set = function(t, r) {
1167
- this.cache[t] = r;
1168
- }, e;
1169
- }()
1170
- ), ui = {
1181
+ };
1182
+ function $t() {
1183
+ this.cache = /* @__PURE__ */ Object.create(null);
1184
+ }
1185
+ $t.prototype.get = function(e) {
1186
+ return this.cache[e];
1187
+ };
1188
+ $t.prototype.set = function(e, t) {
1189
+ this.cache[e] = t;
1190
+ };
1191
+ var fi = {
1171
1192
  create: function() {
1172
- return new li();
1193
+ return new $t();
1173
1194
  }
1174
- }, _t = {
1175
- variadic: si
1195
+ }, Et = {
1196
+ variadic: ui,
1197
+ monadic: ci
1176
1198
  }, _;
1177
1199
  (function(e) {
1178
1200
  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";
@@ -1185,43 +1207,43 @@ var Ce;
1185
1207
  (function(e) {
1186
1208
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1187
1209
  })(Ce || (Ce = {}));
1188
- function er(e) {
1210
+ function nr(e) {
1189
1211
  return e.type === T.literal;
1190
1212
  }
1191
- function ci(e) {
1213
+ function di(e) {
1192
1214
  return e.type === T.argument;
1193
1215
  }
1194
- function Or(e) {
1216
+ function Rr(e) {
1195
1217
  return e.type === T.number;
1196
1218
  }
1197
- function Lr(e) {
1219
+ function Ur(e) {
1198
1220
  return e.type === T.date;
1199
1221
  }
1200
- function Mr(e) {
1222
+ function Fr(e) {
1201
1223
  return e.type === T.time;
1202
1224
  }
1203
- function Nr(e) {
1225
+ function Dr(e) {
1204
1226
  return e.type === T.select;
1205
1227
  }
1206
- function Rr(e) {
1228
+ function kr(e) {
1207
1229
  return e.type === T.plural;
1208
1230
  }
1209
- function hi(e) {
1231
+ function mi(e) {
1210
1232
  return e.type === T.pound;
1211
1233
  }
1212
- function Ur(e) {
1234
+ function Gr(e) {
1213
1235
  return e.type === T.tag;
1214
1236
  }
1215
- function Fr(e) {
1237
+ function $r(e) {
1216
1238
  return !!(e && typeof e == "object" && e.type === Ce.number);
1217
1239
  }
1218
- function Ct(e) {
1240
+ function Ot(e) {
1219
1241
  return !!(e && typeof e == "object" && e.type === Ce.dateTime);
1220
1242
  }
1221
- var Dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fi = /(?:[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;
1222
- function di(e) {
1243
+ var jr = /[ \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;
1244
+ function gi(e) {
1223
1245
  var t = {};
1224
- return e.replace(fi, function(r) {
1246
+ return e.replace(pi, function(r) {
1225
1247
  var n = r.length;
1226
1248
  switch (r[0]) {
1227
1249
  case "G":
@@ -1310,11 +1332,11 @@ function di(e) {
1310
1332
  return "";
1311
1333
  }), t;
1312
1334
  }
1313
- var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1314
- function pi(e) {
1335
+ var bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1336
+ function vi(e) {
1315
1337
  if (e.length === 0)
1316
1338
  throw new Error("Number skeleton cannot be empty");
1317
- for (var t = e.split(mi).filter(function(d) {
1339
+ for (var t = e.split(bi).filter(function(d) {
1318
1340
  return d.length > 0;
1319
1341
  }), r = [], n = 0, i = t; n < i.length; n++) {
1320
1342
  var o = i[n], s = o.split("/");
@@ -1329,17 +1351,17 @@ function pi(e) {
1329
1351
  }
1330
1352
  return r;
1331
1353
  }
1332
- function gi(e) {
1354
+ function yi(e) {
1333
1355
  return e.replace(/^(.*?)-/, "");
1334
1356
  }
1335
- var tr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, bi = /(\*)(0+)|(#+)(0+)|(0+)/g, Gr = /^(0+)$/;
1336
- function rr(e) {
1357
+ var ir = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vr = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, zr = /^(0+)$/;
1358
+ function or(e) {
1337
1359
  var t = {};
1338
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kr, function(r, n, i) {
1360
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vr, function(r, n, i) {
1339
1361
  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)), "";
1340
1362
  }), t;
1341
1363
  }
1342
- function $r(e) {
1364
+ function Xr(e) {
1343
1365
  switch (e) {
1344
1366
  case "sign-auto":
1345
1367
  return {
@@ -1379,7 +1401,7 @@ function $r(e) {
1379
1401
  };
1380
1402
  }
1381
1403
  }
1382
- function vi(e) {
1404
+ function Ei(e) {
1383
1405
  var t;
1384
1406
  if (e[0] === "E" && e[1] === "E" ? (t = {
1385
1407
  notation: "engineering"
@@ -1387,17 +1409,17 @@ function vi(e) {
1387
1409
  notation: "scientific"
1388
1410
  }, e = e.slice(1)), t) {
1389
1411
  var r = e.slice(0, 2);
1390
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Gr.test(e))
1412
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zr.test(e))
1391
1413
  throw new Error("Malformed concise eng/scientific notation");
1392
1414
  t.minimumIntegerDigits = e.length;
1393
1415
  }
1394
1416
  return t;
1395
1417
  }
1396
- function nr(e) {
1397
- var t = {}, r = $r(e);
1418
+ function sr(e) {
1419
+ var t = {}, r = Xr(e);
1398
1420
  return r || t;
1399
1421
  }
1400
- function yi(e) {
1422
+ function wi(e) {
1401
1423
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1402
1424
  var i = n[r];
1403
1425
  switch (i.stem) {
@@ -1421,7 +1443,7 @@ function yi(e) {
1421
1443
  continue;
1422
1444
  case "measure-unit":
1423
1445
  case "unit":
1424
- t.style = "unit", t.unit = gi(i.options[0]);
1446
+ t.style = "unit", t.unit = yi(i.options[0]);
1425
1447
  continue;
1426
1448
  case "compact-short":
1427
1449
  case "K":
@@ -1433,12 +1455,12 @@ function yi(e) {
1433
1455
  continue;
1434
1456
  case "scientific":
1435
1457
  t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(c, l) {
1436
- return w(w({}, c), nr(l));
1458
+ return w(w({}, c), sr(l));
1437
1459
  }, {}));
1438
1460
  continue;
1439
1461
  case "engineering":
1440
1462
  t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(c, l) {
1441
- return w(w({}, c), nr(l));
1463
+ return w(w({}, c), sr(l));
1442
1464
  }, {}));
1443
1465
  continue;
1444
1466
  case "notation-simple":
@@ -1483,7 +1505,7 @@ function yi(e) {
1483
1505
  case "integer-width":
1484
1506
  if (i.options.length > 1)
1485
1507
  throw new RangeError("integer-width stems only accept a single optional option");
1486
- i.options[0].replace(bi, function(c, l, u, f, d, b) {
1508
+ i.options[0].replace(_i, function(c, l, u, f, d, b) {
1487
1509
  if (l)
1488
1510
  t.minimumIntegerDigits = u.length;
1489
1511
  else {
@@ -1496,27 +1518,27 @@ function yi(e) {
1496
1518
  });
1497
1519
  continue;
1498
1520
  }
1499
- if (Gr.test(i.stem)) {
1521
+ if (zr.test(i.stem)) {
1500
1522
  t.minimumIntegerDigits = i.stem.length;
1501
1523
  continue;
1502
1524
  }
1503
- if (tr.test(i.stem)) {
1525
+ if (ir.test(i.stem)) {
1504
1526
  if (i.options.length > 1)
1505
1527
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1506
- i.stem.replace(tr, function(c, l, u, f, d, b) {
1528
+ i.stem.replace(ir, function(c, l, u, f, d, b) {
1507
1529
  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), "";
1508
1530
  });
1509
1531
  var o = i.options[0];
1510
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), rr(o)));
1532
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), or(o)));
1511
1533
  continue;
1512
1534
  }
1513
- if (kr.test(i.stem)) {
1514
- t = w(w({}, t), rr(i.stem));
1535
+ if (Vr.test(i.stem)) {
1536
+ t = w(w({}, t), or(i.stem));
1515
1537
  continue;
1516
1538
  }
1517
- var s = $r(i.stem);
1539
+ var s = Xr(i.stem);
1518
1540
  s && (t = w(w({}, t), s));
1519
- var a = vi(i.stem);
1541
+ var a = Ei(i.stem);
1520
1542
  a && (t = w(w({}, t), a));
1521
1543
  }
1522
1544
  return t;
@@ -2936,13 +2958,13 @@ var it = {
2936
2958
  "h"
2937
2959
  ]
2938
2960
  };
2939
- function _i(e, t) {
2961
+ function xi(e, t) {
2940
2962
  for (var r = "", n = 0; n < e.length; n++) {
2941
2963
  var i = e.charAt(n);
2942
2964
  if (i === "j") {
2943
2965
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2944
2966
  o++, n++;
2945
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Ei(t);
2967
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", l = Si(t);
2946
2968
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2947
2969
  r += c;
2948
2970
  for (; s-- > 0; )
@@ -2952,7 +2974,7 @@ function _i(e, t) {
2952
2974
  }
2953
2975
  return r;
2954
2976
  }
2955
- function Ei(e) {
2977
+ function Si(e) {
2956
2978
  var t = e.hourCycle;
2957
2979
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2958
2980
  e.hourCycles && // @ts-ignore
@@ -2974,20 +2996,20 @@ function Ei(e) {
2974
2996
  var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
2975
2997
  return i[0];
2976
2998
  }
2977
- var Et, wi = new RegExp("^".concat(Dr.source, "*")), xi = new RegExp("".concat(Dr.source, "*$"));
2999
+ var wt, Pi = new RegExp("^".concat(jr.source, "*")), Ti = new RegExp("".concat(jr.source, "*$"));
2978
3000
  function E(e, t) {
2979
3001
  return { start: e, end: t };
2980
3002
  }
2981
- var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pi = !!String.fromCodePoint, Ti = !!Object.fromEntries, Hi = !!String.prototype.codePointAt, Bi = !!String.prototype.trimStart, Ai = !!String.prototype.trimEnd, Ii = !!Number.isSafeInteger, Ci = Ii ? Number.isSafeInteger : function(e) {
3003
+ 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) {
2982
3004
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2983
- }, Ot = !0;
3005
+ }, Lt = !0;
2984
3006
  try {
2985
- var Oi = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2986
- Ot = ((Et = Oi.exec("a")) === null || Et === void 0 ? void 0 : Et[0]) === "a";
3007
+ var Ni = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3008
+ Lt = ((wt = Ni.exec("a")) === null || wt === void 0 ? void 0 : wt[0]) === "a";
2987
3009
  } catch {
2988
- Ot = !1;
3010
+ Lt = !1;
2989
3011
  }
2990
- var ir = Si ? (
3012
+ var ar = Hi ? (
2991
3013
  // Native
2992
3014
  function(t, r, n) {
2993
3015
  return t.startsWith(r, n);
@@ -2997,7 +3019,7 @@ var ir = Si ? (
2997
3019
  function(t, r, n) {
2998
3020
  return t.slice(n, n + r.length) === r;
2999
3021
  }
3000
- ), Lt = Pi ? String.fromCodePoint : (
3022
+ ), Mt = Bi ? String.fromCodePoint : (
3001
3023
  // IE11
3002
3024
  function() {
3003
3025
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3009,9 +3031,9 @@ var ir = Si ? (
3009
3031
  }
3010
3032
  return n;
3011
3033
  }
3012
- ), or = (
3034
+ ), lr = (
3013
3035
  // native
3014
- Ti ? Object.fromEntries : (
3036
+ Ai ? Object.fromEntries : (
3015
3037
  // Ponyfill
3016
3038
  function(t) {
3017
3039
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3021,7 +3043,7 @@ var ir = Si ? (
3021
3043
  return r;
3022
3044
  }
3023
3045
  )
3024
- ), jr = Hi ? (
3046
+ ), Wr = Ii ? (
3025
3047
  // Native
3026
3048
  function(t, r) {
3027
3049
  return t.codePointAt(r);
@@ -3035,7 +3057,7 @@ var ir = Si ? (
3035
3057
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3036
3058
  }
3037
3059
  }
3038
- ), Li = Bi ? (
3060
+ ), Ri = Ci ? (
3039
3061
  // Native
3040
3062
  function(t) {
3041
3063
  return t.trimStart();
@@ -3043,9 +3065,9 @@ var ir = Si ? (
3043
3065
  ) : (
3044
3066
  // Ponyfill
3045
3067
  function(t) {
3046
- return t.replace(wi, "");
3068
+ return t.replace(Pi, "");
3047
3069
  }
3048
- ), Mi = Ai ? (
3070
+ ), Ui = Oi ? (
3049
3071
  // Native
3050
3072
  function(t) {
3051
3073
  return t.trimEnd();
@@ -3053,32 +3075,32 @@ var ir = Si ? (
3053
3075
  ) : (
3054
3076
  // Ponyfill
3055
3077
  function(t) {
3056
- return t.replace(xi, "");
3078
+ return t.replace(Ti, "");
3057
3079
  }
3058
3080
  );
3059
- function Vr(e, t) {
3081
+ function Zr(e, t) {
3060
3082
  return new RegExp(e, t);
3061
3083
  }
3062
- var Mt;
3063
- if (Ot) {
3064
- var sr = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3065
- Mt = function(t, r) {
3084
+ var Nt;
3085
+ if (Lt) {
3086
+ var ur = Zr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3087
+ Nt = function(t, r) {
3066
3088
  var n;
3067
- sr.lastIndex = r;
3068
- var i = sr.exec(t);
3089
+ ur.lastIndex = r;
3090
+ var i = ur.exec(t);
3069
3091
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3070
3092
  };
3071
3093
  } else
3072
- Mt = function(t, r) {
3094
+ Nt = function(t, r) {
3073
3095
  for (var n = []; ; ) {
3074
- var i = jr(t, r);
3075
- if (i === void 0 || zr(i) || Fi(i))
3096
+ var i = Wr(t, r);
3097
+ if (i === void 0 || qr(i) || Gi(i))
3076
3098
  break;
3077
3099
  n.push(i), r += i >= 65536 ? 2 : 1;
3078
3100
  }
3079
- return Lt.apply(void 0, n);
3101
+ return Mt.apply(void 0, n);
3080
3102
  };
3081
- var Ni = (
3103
+ var Fi = (
3082
3104
  /** @class */
3083
3105
  function() {
3084
3106
  function e(t, r) {
@@ -3109,7 +3131,7 @@ var Ni = (
3109
3131
  if (n)
3110
3132
  break;
3111
3133
  return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3112
- } else if (o === 60 && !this.ignoreTag && Nt(this.peek() || 0)) {
3134
+ } else if (o === 60 && !this.ignoreTag && Rt(this.peek() || 0)) {
3113
3135
  var s = this.parseTag(t, r);
3114
3136
  if (s.err)
3115
3137
  return s;
@@ -3142,7 +3164,7 @@ var Ni = (
3142
3164
  return o;
3143
3165
  var s = o.val, a = this.clonePosition();
3144
3166
  if (this.bumpIf("</")) {
3145
- if (this.isEOF() || !Nt(this.char()))
3167
+ if (this.isEOF() || !Rt(this.char()))
3146
3168
  return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
3147
3169
  var c = this.clonePosition(), l = this.parseTagName();
3148
3170
  return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3160,7 +3182,7 @@ var Ni = (
3160
3182
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3161
3183
  }, e.prototype.parseTagName = function() {
3162
3184
  var t = this.offset();
3163
- for (this.bump(); !this.isEOF() && Ui(this.char()); )
3185
+ for (this.bump(); !this.isEOF() && ki(this.char()); )
3164
3186
  this.bump();
3165
3187
  return this.message.slice(t, this.offset());
3166
3188
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3189,7 +3211,7 @@ var Ni = (
3189
3211
  };
3190
3212
  }, e.prototype.tryParseLeftAngleBracket = function() {
3191
3213
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3192
- !Ri(this.peek() || 0)) ? (this.bump(), "<") : null;
3214
+ !Di(this.peek() || 0)) ? (this.bump(), "<") : null;
3193
3215
  }, e.prototype.tryParseQuote = function(t) {
3194
3216
  if (this.isEOF() || this.char() !== 39)
3195
3217
  return null;
@@ -3223,12 +3245,12 @@ var Ni = (
3223
3245
  r.push(n);
3224
3246
  this.bump();
3225
3247
  }
3226
- return Lt.apply(void 0, r);
3248
+ return Mt.apply(void 0, r);
3227
3249
  }, e.prototype.tryParseUnquoted = function(t, r) {
3228
3250
  if (this.isEOF())
3229
3251
  return null;
3230
3252
  var n = this.char();
3231
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Lt(n));
3253
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Mt(n));
3232
3254
  }, e.prototype.parseArgument = function(t, r) {
3233
3255
  var n = this.clonePosition();
3234
3256
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3257,7 +3279,7 @@ var Ni = (
3257
3279
  return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3258
3280
  }
3259
3281
  }, e.prototype.parseIdentifierIfPossible = function() {
3260
- var t = this.clonePosition(), r = this.offset(), n = Mt(this.message, r), i = r + n.length;
3282
+ var t = this.clonePosition(), r = this.offset(), n = Nt(this.message, r), i = r + n.length;
3261
3283
  this.bumpTo(i);
3262
3284
  var o = this.clonePosition(), s = E(t, o);
3263
3285
  return { value: n, location: s };
@@ -3276,7 +3298,7 @@ var Ni = (
3276
3298
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3277
3299
  if (f.err)
3278
3300
  return f;
3279
- var d = Mi(f.val);
3301
+ var d = Ui(f.val);
3280
3302
  if (d.length === 0)
3281
3303
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3282
3304
  var b = E(u, this.clonePosition());
@@ -3286,8 +3308,8 @@ var Ni = (
3286
3308
  if (y.err)
3287
3309
  return y;
3288
3310
  var g = E(i, this.clonePosition());
3289
- if (l && ir(l?.style, "::", 0)) {
3290
- var S = Li(l.style.slice(2));
3311
+ if (l && ar(l?.style, "::", 0)) {
3312
+ var S = Ri(l.style.slice(2));
3291
3313
  if (a === "number") {
3292
3314
  var f = this.parseNumberSkeletonFromString(S, l.styleLocation);
3293
3315
  return f.err ? f : {
@@ -3298,12 +3320,12 @@ var Ni = (
3298
3320
  if (S.length === 0)
3299
3321
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3300
3322
  var C = S;
3301
- this.locale && (C = _i(S, this.locale));
3323
+ this.locale && (C = xi(S, this.locale));
3302
3324
  var d = {
3303
3325
  type: Ce.dateTime,
3304
3326
  pattern: C,
3305
3327
  location: l.styleLocation,
3306
- parsedOptions: this.shouldParseSkeletons ? di(C) : {}
3328
+ parsedOptions: this.shouldParseSkeletons ? gi(C) : {}
3307
3329
  }, z = a === "date" ? T.date : T.time;
3308
3330
  return {
3309
3331
  val: { type: z, value: n, location: g, style: d },
@@ -3349,7 +3371,7 @@ var Ni = (
3349
3371
  val: {
3350
3372
  type: T.select,
3351
3373
  value: n,
3352
- options: or(re.val),
3374
+ options: lr(re.val),
3353
3375
  location: H
3354
3376
  },
3355
3377
  err: null
@@ -3357,7 +3379,7 @@ var Ni = (
3357
3379
  val: {
3358
3380
  type: T.plural,
3359
3381
  value: n,
3360
- options: or(re.val),
3382
+ options: lr(re.val),
3361
3383
  offset: A,
3362
3384
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3363
3385
  location: H
@@ -3408,7 +3430,7 @@ var Ni = (
3408
3430
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3409
3431
  var n = [];
3410
3432
  try {
3411
- n = pi(t);
3433
+ n = vi(t);
3412
3434
  } catch {
3413
3435
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3414
3436
  }
@@ -3417,7 +3439,7 @@ var Ni = (
3417
3439
  type: Ce.number,
3418
3440
  tokens: n,
3419
3441
  location: r,
3420
- parsedOptions: this.shouldParseSkeletons ? yi(n) : {}
3442
+ parsedOptions: this.shouldParseSkeletons ? wi(n) : {}
3421
3443
  },
3422
3444
  err: null
3423
3445
  };
@@ -3465,7 +3487,7 @@ var Ni = (
3465
3487
  break;
3466
3488
  }
3467
3489
  var c = E(i, this.clonePosition());
3468
- return o ? (s *= n, Ci(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3490
+ return o ? (s *= n, Mi(s) ? { val: s, err: null } : this.error(r, c)) : this.error(t, c);
3469
3491
  }, e.prototype.offset = function() {
3470
3492
  return this.position.offset;
3471
3493
  }, e.prototype.isEOF = function() {
@@ -3480,7 +3502,7 @@ var Ni = (
3480
3502
  var t = this.position.offset;
3481
3503
  if (t >= this.message.length)
3482
3504
  throw Error("out of bound");
3483
- var r = jr(this.message, t);
3505
+ var r = Wr(this.message, t);
3484
3506
  if (r === void 0)
3485
3507
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3486
3508
  return r;
@@ -3499,7 +3521,7 @@ var Ni = (
3499
3521
  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);
3500
3522
  }
3501
3523
  }, e.prototype.bumpIf = function(t) {
3502
- if (ir(this.message, t, this.offset())) {
3524
+ if (ar(this.message, t, this.offset())) {
3503
3525
  for (var r = 0; r < t.length; r++)
3504
3526
  this.bump();
3505
3527
  return !0;
@@ -3521,7 +3543,7 @@ var Ni = (
3521
3543
  break;
3522
3544
  }
3523
3545
  }, e.prototype.bumpSpace = function() {
3524
- for (; !this.isEOF() && zr(this.char()); )
3546
+ for (; !this.isEOF() && qr(this.char()); )
3525
3547
  this.bump();
3526
3548
  }, e.prototype.peek = function() {
3527
3549
  if (this.isEOF())
@@ -3531,38 +3553,38 @@ var Ni = (
3531
3553
  }, e;
3532
3554
  }()
3533
3555
  );
3534
- function Nt(e) {
3556
+ function Rt(e) {
3535
3557
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3536
3558
  }
3537
- function Ri(e) {
3538
- return Nt(e) || e === 47;
3559
+ function Di(e) {
3560
+ return Rt(e) || e === 47;
3539
3561
  }
3540
- function Ui(e) {
3562
+ function ki(e) {
3541
3563
  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;
3542
3564
  }
3543
- function zr(e) {
3565
+ function qr(e) {
3544
3566
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3545
3567
  }
3546
- function Fi(e) {
3568
+ function Gi(e) {
3547
3569
  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;
3548
3570
  }
3549
- function Rt(e) {
3571
+ function Ut(e) {
3550
3572
  e.forEach(function(t) {
3551
- if (delete t.location, Nr(t) || Rr(t))
3573
+ if (delete t.location, Dr(t) || kr(t))
3552
3574
  for (var r in t.options)
3553
- delete t.options[r].location, Rt(t.options[r].value);
3575
+ delete t.options[r].location, Ut(t.options[r].value);
3554
3576
  else
3555
- Or(t) && Fr(t.style) || (Lr(t) || Mr(t)) && Ct(t.style) ? delete t.style.location : Ur(t) && Rt(t.children);
3577
+ Rr(t) && $r(t.style) || (Ur(t) || Fr(t)) && Ot(t.style) ? delete t.style.location : Gr(t) && Ut(t.children);
3556
3578
  });
3557
3579
  }
3558
- function Di(e, t) {
3580
+ function $i(e, t) {
3559
3581
  t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3560
- var r = new Ni(e, t).parse();
3582
+ var r = new Fi(e, t).parse();
3561
3583
  if (r.err) {
3562
3584
  var n = SyntaxError(_[r.err.kind]);
3563
3585
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3564
3586
  }
3565
- return t?.captureLocation || Rt(r.val), r.val;
3587
+ return t?.captureLocation || Ut(r.val), r.val;
3566
3588
  }
3567
3589
  var Oe;
3568
3590
  (function(e) {
@@ -3580,7 +3602,7 @@ var mt = (
3580
3602
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3581
3603
  }, t;
3582
3604
  }(Error)
3583
- ), ar = (
3605
+ ), cr = (
3584
3606
  /** @class */
3585
3607
  function(e) {
3586
3608
  ae(t, e);
@@ -3589,7 +3611,7 @@ var mt = (
3589
3611
  }
3590
3612
  return t;
3591
3613
  }(mt)
3592
- ), ki = (
3614
+ ), ji = (
3593
3615
  /** @class */
3594
3616
  function(e) {
3595
3617
  ae(t, e);
@@ -3598,7 +3620,7 @@ var mt = (
3598
3620
  }
3599
3621
  return t;
3600
3622
  }(mt)
3601
- ), Gi = (
3623
+ ), Vi = (
3602
3624
  /** @class */
3603
3625
  function(e) {
3604
3626
  ae(t, e);
@@ -3611,17 +3633,17 @@ var mt = (
3611
3633
  (function(e) {
3612
3634
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3613
3635
  })(V || (V = {}));
3614
- function $i(e) {
3636
+ function zi(e) {
3615
3637
  return e.length < 2 ? e : e.reduce(function(t, r) {
3616
3638
  var n = t[t.length - 1];
3617
3639
  return !n || n.type !== V.literal || r.type !== V.literal ? t.push(r) : n.value += r.value, t;
3618
3640
  }, []);
3619
3641
  }
3620
- function ji(e) {
3642
+ function Xi(e) {
3621
3643
  return typeof e == "function";
3622
3644
  }
3623
3645
  function at(e, t, r, n, i, o, s) {
3624
- if (e.length === 1 && er(e[0]))
3646
+ if (e.length === 1 && nr(e[0]))
3625
3647
  return [
3626
3648
  {
3627
3649
  type: V.literal,
@@ -3630,14 +3652,14 @@ function at(e, t, r, n, i, o, s) {
3630
3652
  ];
3631
3653
  for (var a = [], c = 0, l = e; c < l.length; c++) {
3632
3654
  var u = l[c];
3633
- if (er(u)) {
3655
+ if (nr(u)) {
3634
3656
  a.push({
3635
3657
  type: V.literal,
3636
3658
  value: u.value
3637
3659
  });
3638
3660
  continue;
3639
3661
  }
3640
- if (hi(u)) {
3662
+ if (mi(u)) {
3641
3663
  typeof o == "number" && a.push({
3642
3664
  type: V.literal,
3643
3665
  value: r.getNumberFormat(t).format(o)
@@ -3646,43 +3668,43 @@ function at(e, t, r, n, i, o, s) {
3646
3668
  }
3647
3669
  var f = u.value;
3648
3670
  if (!(i && f in i))
3649
- throw new Gi(f, s);
3671
+ throw new Vi(f, s);
3650
3672
  var d = i[f];
3651
- if (ci(u)) {
3673
+ if (di(u)) {
3652
3674
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3653
3675
  type: typeof d == "string" ? V.literal : V.object,
3654
3676
  value: d
3655
3677
  });
3656
3678
  continue;
3657
3679
  }
3658
- if (Lr(u)) {
3659
- var b = typeof u.style == "string" ? n.date[u.style] : Ct(u.style) ? u.style.parsedOptions : void 0;
3680
+ if (Ur(u)) {
3681
+ var b = typeof u.style == "string" ? n.date[u.style] : Ot(u.style) ? u.style.parsedOptions : void 0;
3660
3682
  a.push({
3661
3683
  type: V.literal,
3662
3684
  value: r.getDateTimeFormat(t, b).format(d)
3663
3685
  });
3664
3686
  continue;
3665
3687
  }
3666
- if (Mr(u)) {
3667
- var b = typeof u.style == "string" ? n.time[u.style] : Ct(u.style) ? u.style.parsedOptions : n.time.medium;
3688
+ if (Fr(u)) {
3689
+ var b = typeof u.style == "string" ? n.time[u.style] : Ot(u.style) ? u.style.parsedOptions : n.time.medium;
3668
3690
  a.push({
3669
3691
  type: V.literal,
3670
3692
  value: r.getDateTimeFormat(t, b).format(d)
3671
3693
  });
3672
3694
  continue;
3673
3695
  }
3674
- if (Or(u)) {
3675
- var b = typeof u.style == "string" ? n.number[u.style] : Fr(u.style) ? u.style.parsedOptions : void 0;
3696
+ if (Rr(u)) {
3697
+ var b = typeof u.style == "string" ? n.number[u.style] : $r(u.style) ? u.style.parsedOptions : void 0;
3676
3698
  b && b.scale && (d = d * (b.scale || 1)), a.push({
3677
3699
  type: V.literal,
3678
3700
  value: r.getNumberFormat(t, b).format(d)
3679
3701
  });
3680
3702
  continue;
3681
3703
  }
3682
- if (Ur(u)) {
3704
+ if (Gr(u)) {
3683
3705
  var y = u.children, g = u.value, S = i[g];
3684
- if (!ji(S))
3685
- throw new ki(g, "function", s);
3706
+ if (!Xi(S))
3707
+ throw new ji(g, "function", s);
3686
3708
  var C = at(y, t, r, n, i, o), z = S(C.map(function(A) {
3687
3709
  return A.value;
3688
3710
  }));
@@ -3693,14 +3715,14 @@ function at(e, t, r, n, i, o, s) {
3693
3715
  };
3694
3716
  }));
3695
3717
  }
3696
- if (Nr(u)) {
3718
+ if (Dr(u)) {
3697
3719
  var R = u.options[d] || u.options.other;
3698
3720
  if (!R)
3699
- throw new ar(u.value, d, Object.keys(u.options), s);
3721
+ throw new cr(u.value, d, Object.keys(u.options), s);
3700
3722
  a.push.apply(a, at(R.value, t, r, n, i));
3701
3723
  continue;
3702
3724
  }
3703
- if (Rr(u)) {
3725
+ if (kr(u)) {
3704
3726
  var R = u.options["=".concat(d)];
3705
3727
  if (!R) {
3706
3728
  if (!Intl.PluralRules)
@@ -3711,24 +3733,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3711
3733
  R = u.options[U] || u.options.other;
3712
3734
  }
3713
3735
  if (!R)
3714
- throw new ar(u.value, d, Object.keys(u.options), s);
3736
+ throw new cr(u.value, d, Object.keys(u.options), s);
3715
3737
  a.push.apply(a, at(R.value, t, r, n, i, d - (u.offset || 0)));
3716
3738
  continue;
3717
3739
  }
3718
3740
  }
3719
- return $i(a);
3741
+ return zi(a);
3720
3742
  }
3721
- function Vi(e, t) {
3743
+ function Wi(e, t) {
3722
3744
  return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3723
3745
  return r[n] = w(w({}, e[n]), t[n] || {}), r;
3724
3746
  }, {})) : e;
3725
3747
  }
3726
- function zi(e, t) {
3748
+ function Zi(e, t) {
3727
3749
  return t ? Object.keys(e).reduce(function(r, n) {
3728
- return r[n] = Vi(e[n], t[n]), r;
3750
+ return r[n] = Wi(e[n], t[n]), r;
3729
3751
  }, w({}, e)) : e;
3730
3752
  }
3731
- function wt(e) {
3753
+ function xt(e) {
3732
3754
  return {
3733
3755
  create: function() {
3734
3756
  return {
@@ -3742,39 +3764,39 @@ function wt(e) {
3742
3764
  }
3743
3765
  };
3744
3766
  }
3745
- function Xi(e) {
3767
+ function qi(e) {
3746
3768
  return e === void 0 && (e = {
3747
3769
  number: {},
3748
3770
  dateTime: {},
3749
3771
  pluralRules: {}
3750
3772
  }), {
3751
- getNumberFormat: yt(function() {
3773
+ getNumberFormat: _t(function() {
3752
3774
  for (var t, r = [], n = 0; n < arguments.length; n++)
3753
3775
  r[n] = arguments[n];
3754
3776
  return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3755
3777
  }, {
3756
- cache: wt(e.number),
3757
- strategy: _t.variadic
3778
+ cache: xt(e.number),
3779
+ strategy: Et.variadic
3758
3780
  }),
3759
- getDateTimeFormat: yt(function() {
3781
+ getDateTimeFormat: _t(function() {
3760
3782
  for (var t, r = [], n = 0; n < arguments.length; n++)
3761
3783
  r[n] = arguments[n];
3762
3784
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3763
3785
  }, {
3764
- cache: wt(e.dateTime),
3765
- strategy: _t.variadic
3786
+ cache: xt(e.dateTime),
3787
+ strategy: Et.variadic
3766
3788
  }),
3767
- getPluralRules: yt(function() {
3789
+ getPluralRules: _t(function() {
3768
3790
  for (var t, r = [], n = 0; n < arguments.length; n++)
3769
3791
  r[n] = arguments[n];
3770
3792
  return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3771
3793
  }, {
3772
- cache: wt(e.pluralRules),
3773
- strategy: _t.variadic
3794
+ cache: xt(e.pluralRules),
3795
+ strategy: Et.variadic
3774
3796
  })
3775
3797
  };
3776
3798
  }
3777
- var Wi = (
3799
+ var Ji = (
3778
3800
  /** @class */
3779
3801
  function() {
3780
3802
  function e(t, r, n, i) {
@@ -3806,13 +3828,13 @@ var Wi = (
3806
3828
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3807
3829
  var s = i || {};
3808
3830
  s.formatters;
3809
- var a = Pn(s, ["formatters"]);
3831
+ var a = An(s, ["formatters"]);
3810
3832
  this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3811
3833
  } else
3812
3834
  this.ast = t;
3813
3835
  if (!Array.isArray(this.ast))
3814
3836
  throw new TypeError("A message must be provided as a String or AST.");
3815
- this.formats = zi(e.formats, n), this.formatters = i && i.formatters || Xi(this.formatterCache);
3837
+ this.formats = Zi(e.formats, n), this.formatters = i && i.formatters || qi(this.formatterCache);
3816
3838
  }
3817
3839
  return Object.defineProperty(e, "defaultLocale", {
3818
3840
  get: function() {
@@ -3825,7 +3847,7 @@ var Wi = (
3825
3847
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3826
3848
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3827
3849
  }
3828
- }, e.__parse = Di, e.formats = {
3850
+ }, e.__parse = $i, e.formats = {
3829
3851
  number: {
3830
3852
  integer: {
3831
3853
  maximumFractionDigits: 0
@@ -3886,7 +3908,7 @@ var Wi = (
3886
3908
  }, e;
3887
3909
  }()
3888
3910
  );
3889
- function Zi(e, t) {
3911
+ function Qi(e, t) {
3890
3912
  if (t == null)
3891
3913
  return;
3892
3914
  if (t in e)
@@ -3907,92 +3929,92 @@ function Zi(e, t) {
3907
3929
  n = void 0;
3908
3930
  return n;
3909
3931
  }
3910
- const ue = {}, qi = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), Xr = (e, t) => {
3932
+ const ue = {}, Yi = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), Jr = (e, t) => {
3911
3933
  if (t == null)
3912
3934
  return;
3913
3935
  if (t in ue && e in ue[t])
3914
3936
  return ue[t][e];
3915
3937
  const r = pt(t);
3916
3938
  for (let n = 0; n < r.length; n++) {
3917
- const i = r[n], o = Qi(i, e);
3939
+ const i = r[n], o = eo(i, e);
3918
3940
  if (o)
3919
- return qi(e, t, o);
3941
+ return Yi(e, t, o);
3920
3942
  }
3921
3943
  };
3922
- let kt;
3944
+ let jt;
3923
3945
  const Re = dt({});
3924
- function Ji(e) {
3925
- return kt[e] || null;
3946
+ function Ki(e) {
3947
+ return jt[e] || null;
3926
3948
  }
3927
- function Wr(e) {
3928
- return e in kt;
3949
+ function Qr(e) {
3950
+ return e in jt;
3929
3951
  }
3930
- function Qi(e, t) {
3931
- if (!Wr(e))
3952
+ function eo(e, t) {
3953
+ if (!Qr(e))
3932
3954
  return null;
3933
- const r = Ji(e);
3934
- return Zi(r, t);
3955
+ const r = Ki(e);
3956
+ return Qi(r, t);
3935
3957
  }
3936
- function Yi(e) {
3958
+ function to(e) {
3937
3959
  if (e == null)
3938
3960
  return;
3939
3961
  const t = pt(e);
3940
3962
  for (let r = 0; r < t.length; r++) {
3941
3963
  const n = t[r];
3942
- if (Wr(n))
3964
+ if (Qr(n))
3943
3965
  return n;
3944
3966
  }
3945
3967
  }
3946
- function Zr(e, ...t) {
3947
- delete ue[e], Re.update((r) => (r[e] = ri.all([r[e] || {}, ...t]), r));
3968
+ function Yr(e, ...t) {
3969
+ delete ue[e], Re.update((r) => (r[e] = si.all([r[e] || {}, ...t]), r));
3948
3970
  }
3949
3971
  Ne(
3950
3972
  [Re],
3951
3973
  ([e]) => Object.keys(e)
3952
3974
  );
3953
- Re.subscribe((e) => kt = e);
3975
+ Re.subscribe((e) => jt = e);
3954
3976
  const lt = {};
3955
- function Ki(e, t) {
3977
+ function ro(e, t) {
3956
3978
  lt[e].delete(t), lt[e].size === 0 && delete lt[e];
3957
3979
  }
3958
- function qr(e) {
3980
+ function Kr(e) {
3959
3981
  return lt[e];
3960
3982
  }
3961
- function eo(e) {
3983
+ function no(e) {
3962
3984
  return pt(e).map((t) => {
3963
- const r = qr(t);
3985
+ const r = Kr(t);
3964
3986
  return [t, r ? [...r] : []];
3965
3987
  }).filter(([, t]) => t.length > 0);
3966
3988
  }
3967
- function Ut(e) {
3989
+ function Ft(e) {
3968
3990
  return e == null ? !1 : pt(e).some(
3969
3991
  (t) => {
3970
3992
  var r;
3971
- return (r = qr(t)) == null ? void 0 : r.size;
3993
+ return (r = Kr(t)) == null ? void 0 : r.size;
3972
3994
  }
3973
3995
  );
3974
3996
  }
3975
- function to(e, t) {
3997
+ function io(e, t) {
3976
3998
  return Promise.all(
3977
- t.map((n) => (Ki(e, n), n().then((i) => i.default || i)))
3978
- ).then((n) => Zr(e, ...n));
3999
+ t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
4000
+ ).then((n) => Yr(e, ...n));
3979
4001
  }
3980
4002
  const je = {};
3981
- function Jr(e) {
3982
- if (!Ut(e))
4003
+ function en(e) {
4004
+ if (!Ft(e))
3983
4005
  return e in je ? je[e] : Promise.resolve();
3984
- const t = eo(e);
4006
+ const t = no(e);
3985
4007
  return je[e] = Promise.all(
3986
4008
  t.map(
3987
- ([r, n]) => to(r, n)
4009
+ ([r, n]) => io(r, n)
3988
4010
  )
3989
4011
  ).then(() => {
3990
- if (Ut(e))
3991
- return Jr(e);
4012
+ if (Ft(e))
4013
+ return en(e);
3992
4014
  delete je[e];
3993
4015
  }), je[e];
3994
4016
  }
3995
- const ro = {
4017
+ const oo = {
3996
4018
  number: {
3997
4019
  scientific: { notation: "scientific" },
3998
4020
  engineering: { notation: "engineering" },
@@ -4021,57 +4043,57 @@ const ro = {
4021
4043
  timeZoneName: "short"
4022
4044
  }
4023
4045
  }
4024
- }, no = {
4046
+ }, so = {
4025
4047
  fallbackLocale: null,
4026
4048
  loadingDelay: 200,
4027
- formats: ro,
4049
+ formats: oo,
4028
4050
  warnOnMissingMessages: !0,
4029
4051
  handleMissingMessage: void 0,
4030
4052
  ignoreTag: !0
4031
- }, io = no;
4053
+ }, ao = so;
4032
4054
  function Le() {
4033
- return io;
4055
+ return ao;
4034
4056
  }
4035
- const xt = dt(!1);
4036
- var oo = Object.defineProperty, so = Object.defineProperties, ao = Object.getOwnPropertyDescriptors, lr = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, uo = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, co = (e, t) => {
4057
+ const St = dt(!1);
4058
+ var lo = Object.defineProperty, uo = Object.defineProperties, co = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, ho = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mo = (e, t) => {
4037
4059
  for (var r in t || (t = {}))
4038
- lo.call(t, r) && ur(e, r, t[r]);
4039
- if (lr)
4040
- for (var r of lr(t))
4041
- uo.call(t, r) && ur(e, r, t[r]);
4060
+ ho.call(t, r) && fr(e, r, t[r]);
4061
+ if (hr)
4062
+ for (var r of hr(t))
4063
+ fo.call(t, r) && fr(e, r, t[r]);
4042
4064
  return e;
4043
- }, ho = (e, t) => so(e, ao(t));
4044
- let Ft;
4065
+ }, po = (e, t) => uo(e, co(t));
4066
+ let Dt;
4045
4067
  const ct = dt(null);
4046
- function cr(e) {
4068
+ function dr(e) {
4047
4069
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4048
4070
  }
4049
4071
  function pt(e, t = Le().fallbackLocale) {
4050
- const r = cr(e);
4051
- return t ? [.../* @__PURE__ */ new Set([...r, ...cr(t)])] : r;
4072
+ const r = dr(e);
4073
+ return t ? [.../* @__PURE__ */ new Set([...r, ...dr(t)])] : r;
4052
4074
  }
4053
4075
  function ve() {
4054
- return Ft ?? void 0;
4076
+ return Dt ?? void 0;
4055
4077
  }
4056
4078
  ct.subscribe((e) => {
4057
- Ft = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4079
+ Dt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4058
4080
  });
4059
- const fo = (e) => {
4060
- if (e && Yi(e) && Ut(e)) {
4081
+ const go = (e) => {
4082
+ if (e && to(e) && Ft(e)) {
4061
4083
  const { loadingDelay: t } = Le();
4062
4084
  let r;
4063
4085
  return typeof window < "u" && ve() != null && t ? r = window.setTimeout(
4064
- () => xt.set(!0),
4086
+ () => St.set(!0),
4065
4087
  t
4066
- ) : xt.set(!0), Jr(e).then(() => {
4088
+ ) : St.set(!0), en(e).then(() => {
4067
4089
  ct.set(e);
4068
4090
  }).finally(() => {
4069
- clearTimeout(r), xt.set(!1);
4091
+ clearTimeout(r), St.set(!1);
4070
4092
  });
4071
4093
  }
4072
4094
  return ct.set(e);
4073
- }, ce = ho(co({}, ct), {
4074
- set: fo
4095
+ }, ce = po(mo({}, ct), {
4096
+ set: go
4075
4097
  }), gt = (e) => {
4076
4098
  const t = /* @__PURE__ */ Object.create(null);
4077
4099
  return (n) => {
@@ -4079,20 +4101,20 @@ const fo = (e) => {
4079
4101
  return i in t ? t[i] : t[i] = e(n);
4080
4102
  };
4081
4103
  };
4082
- var mo = Object.defineProperty, ht = Object.getOwnPropertySymbols, Qr = Object.prototype.hasOwnProperty, Yr = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? mo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
4104
+ var bo = Object.defineProperty, ht = Object.getOwnPropertySymbols, tn = Object.prototype.hasOwnProperty, rn = Object.prototype.propertyIsEnumerable, mr = (e, t, r) => t in e ? bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vt = (e, t) => {
4083
4105
  for (var r in t || (t = {}))
4084
- Qr.call(t, r) && hr(e, r, t[r]);
4106
+ tn.call(t, r) && mr(e, r, t[r]);
4085
4107
  if (ht)
4086
4108
  for (var r of ht(t))
4087
- Yr.call(t, r) && hr(e, r, t[r]);
4109
+ rn.call(t, r) && mr(e, r, t[r]);
4088
4110
  return e;
4089
4111
  }, Ue = (e, t) => {
4090
4112
  var r = {};
4091
4113
  for (var n in e)
4092
- Qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4114
+ tn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4093
4115
  if (e != null && ht)
4094
4116
  for (var n of ht(e))
4095
- t.indexOf(n) < 0 && Yr.call(e, n) && (r[n] = e[n]);
4117
+ t.indexOf(n) < 0 && rn.call(e, n) && (r[n] = e[n]);
4096
4118
  return r;
4097
4119
  };
4098
4120
  const We = (e, t) => {
@@ -4100,21 +4122,21 @@ const We = (e, t) => {
4100
4122
  if (e in r && t in r[e])
4101
4123
  return r[e][t];
4102
4124
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4103
- }, po = gt(
4125
+ }, vo = gt(
4104
4126
  (e) => {
4105
4127
  var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4106
4128
  if (r == null)
4107
4129
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4108
4130
  return n && (i = We("number", n)), new Intl.NumberFormat(r, i);
4109
4131
  }
4110
- ), go = gt(
4132
+ ), yo = gt(
4111
4133
  (e) => {
4112
4134
  var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4113
4135
  if (r == null)
4114
4136
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4115
4137
  return n ? i = We("date", n) : Object.keys(i).length === 0 && (i = We("date", "short")), new Intl.DateTimeFormat(r, i);
4116
4138
  }
4117
- ), bo = gt(
4139
+ ), _o = gt(
4118
4140
  (e) => {
4119
4141
  var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
4120
4142
  if (r == null)
@@ -4123,33 +4145,33 @@ const We = (e, t) => {
4123
4145
  );
4124
4146
  return n ? i = We("time", n) : Object.keys(i).length === 0 && (i = We("time", "short")), new Intl.DateTimeFormat(r, i);
4125
4147
  }
4126
- ), vo = (e = {}) => {
4148
+ ), Eo = (e = {}) => {
4127
4149
  var t = e, {
4128
4150
  locale: r = ve()
4129
4151
  } = t, n = Ue(t, [
4130
4152
  "locale"
4131
4153
  ]);
4132
- return po(Gt({ locale: r }, n));
4133
- }, yo = (e = {}) => {
4154
+ return vo(Vt({ locale: r }, n));
4155
+ }, wo = (e = {}) => {
4134
4156
  var t = e, {
4135
4157
  locale: r = ve()
4136
4158
  } = t, n = Ue(t, [
4137
4159
  "locale"
4138
4160
  ]);
4139
- return go(Gt({ locale: r }, n));
4140
- }, _o = (e = {}) => {
4161
+ return yo(Vt({ locale: r }, n));
4162
+ }, xo = (e = {}) => {
4141
4163
  var t = e, {
4142
4164
  locale: r = ve()
4143
4165
  } = t, n = Ue(t, [
4144
4166
  "locale"
4145
4167
  ]);
4146
- return bo(Gt({ locale: r }, n));
4147
- }, Eo = gt(
4168
+ return _o(Vt({ locale: r }, n));
4169
+ }, So = gt(
4148
4170
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4149
- (e, t = ve()) => new Wi(e, t, Le().formats, {
4171
+ (e, t = ve()) => new Ji(e, t, Le().formats, {
4150
4172
  ignoreTag: Le().ignoreTag
4151
4173
  })
4152
- ), wo = (e, t = {}) => {
4174
+ ), Po = (e, t = {}) => {
4153
4175
  var r, n, i, o;
4154
4176
  let s = t;
4155
4177
  typeof e == "object" && (s = e, e = s.id);
@@ -4162,7 +4184,7 @@ const We = (e, t) => {
4162
4184
  throw new Error(
4163
4185
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4164
4186
  );
4165
- let u = Xr(e, c);
4187
+ let u = Jr(e, c);
4166
4188
  if (!u)
4167
4189
  u = (o = (i = (n = (r = Le()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: c, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4168
4190
  else if (typeof u != "string")
@@ -4173,7 +4195,7 @@ const We = (e, t) => {
4173
4195
  return u;
4174
4196
  let f = u;
4175
4197
  try {
4176
- f = Eo(u, c).format(a);
4198
+ f = So(u, c).format(a);
4177
4199
  } catch (d) {
4178
4200
  d instanceof Error && console.warn(
4179
4201
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4181,20 +4203,20 @@ const We = (e, t) => {
4181
4203
  );
4182
4204
  }
4183
4205
  return f;
4184
- }, xo = (e, t) => _o(t).format(e), So = (e, t) => yo(t).format(e), Po = (e, t) => vo(t).format(e), To = (e, t = ve()) => Xr(e, t), Ho = Ne([ce, Re], () => wo);
4185
- Ne([ce], () => xo);
4186
- Ne([ce], () => So);
4187
- Ne([ce], () => Po);
4188
- Ne([ce, Re], () => To);
4189
- window.emWidgets = { topic: Dn };
4190
- const Bo = (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));
4191
- function Ao(e, t) {
4206
+ }, To = (e, t) => xo(t).format(e), Ho = (e, t) => wo(t).format(e), Bo = (e, t) => Eo(t).format(e), Ao = (e, t = ve()) => Jr(e, t), Io = Ne([ce, Re], () => Po);
4207
+ Ne([ce], () => To);
4208
+ Ne([ce], () => Ho);
4209
+ Ne([ce], () => Bo);
4210
+ Ne([ce, Re], () => Ao);
4211
+ window.emWidgets = { topic: jn };
4212
+ 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));
4213
+ function Oo(e, t) {
4192
4214
  if (e) {
4193
4215
  const r = document.createElement("style");
4194
4216
  r.innerHTML = t, e.appendChild(r);
4195
4217
  }
4196
4218
  }
4197
- function Io(e, t) {
4219
+ function Lo(e, t) {
4198
4220
  const r = new URL(t);
4199
4221
  fetch(r.href).then((n) => n.text()).then((n) => {
4200
4222
  const i = document.createElement("style");
@@ -4203,7 +4225,7 @@ function Io(e, t) {
4203
4225
  console.error("There was an error while trying to load client styling from URL", n);
4204
4226
  });
4205
4227
  }
4206
- function Co(e, t, r) {
4228
+ function Mo(e, t, r) {
4207
4229
  if (window.emMessageBus) {
4208
4230
  const n = document.createElement("style");
4209
4231
  window.emMessageBus.subscribe(t, (i) => {
@@ -4223,22 +4245,22 @@ if (typeof window < "u") {
4223
4245
  }
4224
4246
  };
4225
4247
  };
4226
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-CNxcHrMs.js").then(({ default: t }) => {
4248
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-BH31XK9j.js").then(({ default: t }) => {
4227
4249
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4228
4250
  });
4229
4251
  }
4230
- function Oo({ withLocale: e, translations: t }) {
4252
+ function No({ withLocale: e, translations: t }) {
4231
4253
  ce.subscribe((r) => {
4232
4254
  r == null && (Re.set(t), ce.set(e));
4233
4255
  });
4234
4256
  }
4235
- function fr(e, t) {
4236
- Zr(e, t);
4257
+ function pr(e, t) {
4258
+ Yr(e, t);
4237
4259
  }
4238
- function Lo(e) {
4260
+ function Ro(e) {
4239
4261
  ce.set(e);
4240
4262
  }
4241
- const dr = {
4263
+ const gr = {
4242
4264
  en: {
4243
4265
  loginTitle: "Welcome",
4244
4266
  loginSubtitle: "Don't have an account yet?",
@@ -4383,14 +4405,14 @@ const dr = {
4383
4405
  successMessage: "Login successful"
4384
4406
  }
4385
4407
  };
4386
- function Mo(e) {
4387
- nn(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)}}');
4408
+ function Uo(e) {
4409
+ ln(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)}}');
4388
4410
  }
4389
- function mr(e) {
4411
+ function br(e) {
4390
4412
  let t, r;
4391
4413
  return {
4392
4414
  c() {
4393
- t = x("script"), Vt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4415
+ t = x("script"), Wt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4394
4416
  e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
4395
4417
  },
4396
4418
  m(n, i) {
@@ -4398,7 +4420,7 @@ function mr(e) {
4398
4420
  },
4399
4421
  p(n, i) {
4400
4422
  i[0] & /*captchakey*/
4401
- 2 && !Vt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4423
+ 2 && !Wt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4402
4424
  n[1]) && h(t, "src", r);
4403
4425
  },
4404
4426
  d(n) {
@@ -4406,12 +4428,12 @@ function mr(e) {
4406
4428
  }
4407
4429
  };
4408
4430
  }
4409
- function No(e) {
4431
+ function Fo(e) {
4410
4432
  let t, r, n;
4411
4433
  function i(a, c) {
4412
4434
  return (
4413
4435
  /*startSmsValidation*/
4414
- a[21] ? Fo : Uo
4436
+ a[21] ? Go : ko
4415
4437
  );
4416
4438
  }
4417
4439
  let o = i(e), s = o(e);
@@ -4433,7 +4455,7 @@ function No(e) {
4433
4455
  }
4434
4456
  };
4435
4457
  }
4436
- function Ro(e) {
4458
+ function Do(e) {
4437
4459
  let t;
4438
4460
  return {
4439
4461
  c() {
@@ -4448,7 +4470,7 @@ function Ro(e) {
4448
4470
  }
4449
4471
  };
4450
4472
  }
4451
- function Uo(e) {
4473
+ function ko(e) {
4452
4474
  let t, r, n = (
4453
4475
  /*$_*/
4454
4476
  e[22]("loginTitle") + ""
@@ -4472,25 +4494,25 @@ function Uo(e) {
4472
4494
  e[22]("loginForgotPassword") + ""
4473
4495
  ), ke, Ge, Qe, F = (
4474
4496
  /*invalidName*/
4475
- e[14] && pr(e)
4497
+ e[14] && vr(e)
4476
4498
  );
4477
4499
  function Ye(v, P) {
4478
4500
  return (
4479
4501
  /*isPasswordVisible*/
4480
- v[19] ? ko : Do
4502
+ v[19] ? jo : $o
4481
4503
  );
4482
4504
  }
4483
4505
  let Se = Ye(e), Y = Se(e), D = (
4484
4506
  /*invalidPassword*/
4485
4507
  e[15] && /*simplepasswordvalidation*/
4486
- e[2] !== "true" && gr(e)
4508
+ e[2] !== "true" && yr(e)
4487
4509
  ), k = (
4488
4510
  /*invalidPassword*/
4489
4511
  e[15] && /*simplepasswordvalidation*/
4490
- e[2] === "true" && br(e)
4512
+ e[2] === "true" && _r(e)
4491
4513
  ), G = (
4492
4514
  /*errorMessage*/
4493
- e[16] && vr(e)
4515
+ e[16] && Er(e)
4494
4516
  );
4495
4517
  return {
4496
4518
  c() {
@@ -4573,7 +4595,7 @@ function Uo(e) {
4573
4595
  /*userValue*/
4574
4596
  v[12]
4575
4597
  ), /*invalidName*/
4576
- v[14] ? F ? F.p(v, P) : (F = pr(v), F.c(), F.m(S, null)) : F && (F.d(1), F = null), P[0] & /*invalidName*/
4598
+ v[14] ? F ? F.p(v, P) : (F = vr(v), F.c(), F.m(S, null)) : F && (F.d(1), F = null), P[0] & /*invalidName*/
4577
4599
  16384 && J !== (J = "UserContainer " + /*invalidName*/
4578
4600
  (v[14] ? "InvalidField" : "")) && h(S, "class", J), P[0] & /*$_*/
4579
4601
  4194304 && X !== (X = /*$_*/
@@ -4587,12 +4609,12 @@ function Uo(e) {
4587
4609
  v[13]
4588
4610
  ), Se === (Se = Ye(v)) && Y ? Y.p(v, P) : (Y.d(1), Y = Se(v), Y && (Y.c(), Y.m(B, _e))), /*invalidPassword*/
4589
4611
  v[15] && /*simplepasswordvalidation*/
4590
- v[2] !== "true" ? D ? D.p(v, P) : (D = gr(v), D.c(), D.m(B, Ee)) : D && (D.d(1), D = null), /*invalidPassword*/
4612
+ v[2] !== "true" ? D ? D.p(v, P) : (D = yr(v), D.c(), D.m(B, Ee)) : D && (D.d(1), D = null), /*invalidPassword*/
4591
4613
  v[15] && /*simplepasswordvalidation*/
4592
- v[2] === "true" ? k ? k.p(v, P) : (k = br(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), P[0] & /*invalidPassword*/
4614
+ v[2] === "true" ? k ? k.p(v, P) : (k = _r(v), k.c(), k.m(B, null)) : k && (k.d(1), k = null), P[0] & /*invalidPassword*/
4593
4615
  32768 && me !== (me = "PasswordContainer " + /*invalidPassword*/
4594
4616
  (v[15] ? "InvalidField" : "")) && h(B, "class", me), /*errorMessage*/
4595
- v[16] ? G ? G.p(v, P) : (G = vr(v), G.c(), G.m(g, we)) : G && (G.d(1), G = null), P[0] & /*$_*/
4617
+ v[16] ? G ? G.p(v, P) : (G = Er(v), G.c(), G.m(g, we)) : G && (G.d(1), G = null), P[0] & /*$_*/
4596
4618
  4194304 && pe !== (pe = /*$_*/
4597
4619
  v[22]("loginButton") + "") && te(xe, pe), P[0] & /*isFormDataInvalid*/
4598
4620
  1048576 && (Q.disabled = /*isFormDataInvalid*/
@@ -4605,7 +4627,7 @@ function Uo(e) {
4605
4627
  }
4606
4628
  };
4607
4629
  }
4608
- function Fo(e) {
4630
+ function Go(e) {
4609
4631
  let t;
4610
4632
  return {
4611
4633
  c() {
@@ -4699,7 +4721,7 @@ function Fo(e) {
4699
4721
  }
4700
4722
  };
4701
4723
  }
4702
- function pr(e) {
4724
+ function vr(e) {
4703
4725
  let t, r = (
4704
4726
  /*$_*/
4705
4727
  e[22]("loginUsernameError") + ""
@@ -4721,7 +4743,7 @@ function pr(e) {
4721
4743
  }
4722
4744
  };
4723
4745
  }
4724
- function Do(e) {
4746
+ function $o(e) {
4725
4747
  let t, r, n, i, o, s, a, c, l;
4726
4748
  return {
4727
4749
  c() {
@@ -4741,7 +4763,7 @@ function Do(e) {
4741
4763
  }
4742
4764
  };
4743
4765
  }
4744
- function ko(e) {
4766
+ function jo(e) {
4745
4767
  let t, r, n, i, o, s, a, c, l, u, f, d, b, y, g;
4746
4768
  return {
4747
4769
  c() {
@@ -4761,7 +4783,7 @@ function ko(e) {
4761
4783
  }
4762
4784
  };
4763
4785
  }
4764
- function gr(e) {
4786
+ function yr(e) {
4765
4787
  let t, r = (
4766
4788
  /*$_*/
4767
4789
  e[22]("loginPasswordError") + ""
@@ -4783,7 +4805,7 @@ function gr(e) {
4783
4805
  }
4784
4806
  };
4785
4807
  }
4786
- function br(e) {
4808
+ function _r(e) {
4787
4809
  let t, r = (
4788
4810
  /*$_*/
4789
4811
  e[22]("loginSimplePasswordError") + ""
@@ -4805,7 +4827,7 @@ function br(e) {
4805
4827
  }
4806
4828
  };
4807
4829
  }
4808
- function vr(e) {
4830
+ function Er(e) {
4809
4831
  let t, r;
4810
4832
  return {
4811
4833
  c() {
@@ -4830,21 +4852,21 @@ function vr(e) {
4830
4852
  }
4831
4853
  };
4832
4854
  }
4833
- function Go(e) {
4855
+ function Vo(e) {
4834
4856
  let t, r, n, i, o, s = (
4835
4857
  /*captchakey*/
4836
- e[1] && mr(e)
4858
+ e[1] && br(e)
4837
4859
  );
4838
4860
  function a(u, f) {
4839
4861
  return (
4840
4862
  /*isLoading*/
4841
- u[17] ? Ro : No
4863
+ u[17] ? Do : Fo
4842
4864
  );
4843
4865
  }
4844
4866
  let c = a(e), l = c(e);
4845
4867
  return {
4846
4868
  c() {
4847
- s && s.c(), t = an(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4869
+ s && s.c(), t = hn(), r = j(), n = x("div"), i = j(), o = x("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4848
4870
  n,
4849
4871
  "data-sitekey",
4850
4872
  /*captchakey*/
@@ -4856,7 +4878,7 @@ function Go(e) {
4856
4878
  },
4857
4879
  p(u, f) {
4858
4880
  /*captchakey*/
4859
- u[1] ? s ? s.p(u, f) : (s = mr(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4881
+ u[1] ? s ? s.p(u, f) : (s = br(u), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4860
4882
  2 && h(
4861
4883
  n,
4862
4884
  "data-sitekey",
@@ -4871,27 +4893,27 @@ function Go(e) {
4871
4893
  }
4872
4894
  };
4873
4895
  }
4874
- let $o = "Please use this code {0} to activate your account";
4875
- function jo(e, t, r) {
4896
+ let zo = "Please use this code {0} to activate your account";
4897
+ function Xo(e, t, r) {
4876
4898
  let n;
4877
- rn(e, Ho, (p) => r(22, n = p));
4899
+ an(e, Io, (p) => r(22, n = p));
4878
4900
  let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: c = "false" } = t, { mbsource: l } = t, { clientstyling: u = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: d = "" } = t, { savecredentials: b = "" } = t, y, g, S = !1, C, z = !1, R = window.navigator.userAgent, U = "", A = "", re = { username: "", password: "" }, H = !1, ie = !1, he = "", J = !1, le, B = !1, ne = !0, X, Fe = +localStorage.getItem("smsTimer") || 0, Ze = Date.now() / 1e3 - Fe, fe = localStorage.getItem("smsValidation") == "true" && Ze < 60, de = {
4879
4901
  user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
4880
4902
  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,
4881
4903
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
4882
4904
  };
4883
- Oo({ withLocale: "en", translations: {} });
4905
+ No({ withLocale: "en", translations: {} });
4884
4906
  const O = () => {
4885
4907
  fetch(d).then((q) => q.json()).then((q) => {
4886
4908
  Object.keys(q).forEach((ee) => {
4887
- fr(ee, q[ee]);
4909
+ pr(ee, q[ee]);
4888
4910
  });
4889
4911
  }).catch((q) => {
4890
4912
  console.log(q);
4891
4913
  });
4892
4914
  };
4893
- Object.keys(dr).forEach((p) => {
4894
- fr(p, dr[p]);
4915
+ Object.keys(gr).forEach((p) => {
4916
+ pr(p, gr[p]);
4895
4917
  });
4896
4918
  const ye = () => new Promise((p, q) => {
4897
4919
  grecaptcha.ready(() => {
@@ -4944,12 +4966,12 @@ function jo(e, t, r) {
4944
4966
  let Ke = {
4945
4967
  "Content-Type": "application/json",
4946
4968
  "g-recaptcha-response": ee
4947
- }, et = { username: p, password: q }, en = {
4969
+ }, et = { username: p, password: q }, on = {
4948
4970
  method: "POST",
4949
4971
  headers: Ke,
4950
4972
  body: JSON.stringify(et)
4951
4973
  };
4952
- fetch(`${i}/v1/player/login/player`, en).then(($) => ($.status >= 500 && (r(16, he = "Server might not be responsing"), r(17, J = !1), window.postMessage(
4974
+ fetch(`${i}/v1/player/login/player`, on).then(($) => ($.status >= 500 && (r(16, he = "Server might not be responsing"), r(17, J = !1), window.postMessage(
4953
4975
  {
4954
4976
  type: "WidgetNotification",
4955
4977
  data: {
@@ -4995,11 +5017,11 @@ function jo(e, t, r) {
4995
5017
  window.location.href
4996
5018
  );
4997
5019
  } catch {
4998
- let $t = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
4999
- r(16, he = $t), r(17, J = !1), window.postMessage(
5020
+ let zt = $.error.substring($.error.indexOf("errorMessage") + 13, $.error.length);
5021
+ r(16, he = zt), r(17, J = !1), window.postMessage(
5000
5022
  {
5001
5023
  type: "WidgetNotification",
5002
- data: { type: "error", message: $t }
5024
+ data: { type: "error", message: zt }
5003
5025
  },
5004
5026
  window.location.href
5005
5027
  );
@@ -5016,7 +5038,7 @@ function jo(e, t, r) {
5016
5038
  },
5017
5039
  body: JSON.stringify({
5018
5040
  userId: q,
5019
- messageTemplate: $o,
5041
+ messageTemplate: zo,
5020
5042
  destination: p
5021
5043
  })
5022
5044
  }), Ke = await ee.json();
@@ -5030,9 +5052,9 @@ function jo(e, t, r) {
5030
5052
  S = !0, console.error(ee);
5031
5053
  }
5032
5054
  }, F = () => {
5033
- Lo(s);
5055
+ Ro(s);
5034
5056
  };
5035
- hn(() => (window.addEventListener("message", be, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Bo(R)), () => {
5057
+ pn(() => (window.addEventListener("message", be, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(11, z = Co(R)), () => {
5036
5058
  window.removeEventListener("message", be);
5037
5059
  }));
5038
5060
  const Ye = () => De();
@@ -5048,7 +5070,7 @@ function jo(e, t, r) {
5048
5070
  });
5049
5071
  }
5050
5072
  const k = () => Ee(), G = () => _e(), v = (p) => Q(p), P = (p) => we(p);
5051
- function Kr(p) {
5073
+ function nn(p) {
5052
5074
  ut[p ? "unshift" : "push"](() => {
5053
5075
  X = p, r(7, X);
5054
5076
  });
@@ -5059,9 +5081,9 @@ function jo(e, t, r) {
5059
5081
  e.$$.dirty[0] & /*endpoint, lang*/
5060
5082
  1073741825 && i && s && F(), e.$$.dirty[0] & /*simplepasswordvalidation*/
5061
5083
  4 && c && qe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5062
- 144 && u && X && Ao(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5063
- 160 && f && X && Io(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5064
- 136 && l && X && Co(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
5084
+ 144 && u && X && Oo(X, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5085
+ 160 && f && X && Lo(X, f), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5086
+ 136 && l && X && Mo(X, `${l}.Style`), e.$$.dirty[1] & /*translationurl*/
5065
5087
  2 && d && O();
5066
5088
  }, [
5067
5089
  i,
@@ -5105,17 +5127,17 @@ function jo(e, t, r) {
5105
5127
  G,
5106
5128
  v,
5107
5129
  P,
5108
- Kr
5130
+ nn
5109
5131
  ];
5110
5132
  }
5111
- class Vo extends xn {
5133
+ class Wo extends Hn {
5112
5134
  constructor(t) {
5113
- super(), En(
5135
+ super(), Pn(
5114
5136
  this,
5115
5137
  t,
5116
- jo,
5117
- Go,
5118
- _r,
5138
+ Xo,
5139
+ Vo,
5140
+ xr,
5119
5141
  {
5120
5142
  endpoint: 0,
5121
5143
  captchakey: 1,
@@ -5128,7 +5150,7 @@ class Vo extends xn {
5128
5150
  translationurl: 32,
5129
5151
  savecredentials: 6
5130
5152
  },
5131
- Mo,
5153
+ Uo,
5132
5154
  [-1, -1]
5133
5155
  );
5134
5156
  }
@@ -5193,35 +5215,35 @@ class Vo extends xn {
5193
5215
  this.$$set({ savecredentials: t }), K();
5194
5216
  }
5195
5217
  }
5196
- wn(Vo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5218
+ Tn(Wo, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5197
5219
  export {
5198
5220
  ce as $,
5199
- Vo as G,
5200
- xn as S,
5221
+ Wo as G,
5222
+ Hn as S,
5201
5223
  Re as a,
5202
- Zr as b,
5203
- wn as c,
5204
- nn as d,
5205
- I as e,
5224
+ Yr as b,
5225
+ Tn as c,
5226
+ ln as d,
5227
+ x as e,
5206
5228
  K as f,
5207
- te as g,
5208
- rt as h,
5209
- En as i,
5210
- h as j,
5211
- M as k,
5212
- m as l,
5229
+ j as g,
5230
+ h,
5231
+ Pn as i,
5232
+ M as j,
5233
+ m as k,
5234
+ rt as l,
5213
5235
  oe as m,
5214
- Z as n,
5215
- x as o,
5216
- j as p,
5217
- rn as q,
5236
+ te as n,
5237
+ Z as o,
5238
+ I as p,
5239
+ an as q,
5218
5240
  Me as r,
5219
- _r as s,
5241
+ xr as s,
5220
5242
  N as t,
5221
- hn as u,
5222
- ut as v,
5223
- Ho as w,
5224
- Ao as x,
5225
- Io as y,
5226
- Co as z
5243
+ pn as u,
5244
+ Lo as v,
5245
+ Mo as w,
5246
+ ut as x,
5247
+ Oo as y,
5248
+ Io as z
5227
5249
  };