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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
- var fn = Object.defineProperty, dn = Object.defineProperties;
2
- var mn = Object.getOwnPropertyDescriptors;
3
- var Wt = Object.getOwnPropertySymbols;
4
- var pn = Object.prototype.hasOwnProperty, gn = Object.prototype.propertyIsEnumerable;
5
- var vt = (e, t, r) => t in e ? fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zt = (e, t) => {
1
+ var gn = Object.defineProperty, bn = Object.defineProperties;
2
+ var vn = Object.getOwnPropertyDescriptors;
3
+ var Jt = Object.getOwnPropertySymbols;
4
+ var yn = Object.prototype.hasOwnProperty, _n = Object.prototype.propertyIsEnumerable;
5
+ var vt = (e, t, r) => t in e ? gn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- pn.call(t, r) && vt(e, r, t[r]);
8
- if (Wt)
9
- for (var r of Wt(t))
10
- gn.call(t, r) && vt(e, r, t[r]);
7
+ yn.call(t, r) && vt(e, r, t[r]);
8
+ if (Jt)
9
+ for (var r of Jt(t))
10
+ _n.call(t, r) && vt(e, r, t[r]);
11
11
  return e;
12
- }, qt = (e, t) => dn(e, mn(t));
12
+ }, Yt = (e, t) => bn(e, vn(t));
13
13
  var Y = (e, t, r) => vt(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var et = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
@@ -29,29 +29,29 @@ var et = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function Z() {
31
31
  }
32
- function Hr(e) {
32
+ function Ir(e) {
33
33
  return e();
34
34
  }
35
- function Jt() {
35
+ function Kt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function Le(e) {
39
- e.forEach(Hr);
39
+ e.forEach(Ir);
40
40
  }
41
- function $t(e) {
41
+ function Gt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Br(e, t) {
44
+ function Cr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let tt;
48
- function Qt(e, t) {
48
+ function er(e, t) {
49
49
  return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
50
50
  }
51
- function bn(e) {
51
+ function En(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Ar(e, ...t) {
54
+ function Or(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,24 +60,24 @@ function Ar(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function vn(e, t, r) {
64
- e.$$.on_destroy.push(Ar(t, r));
63
+ function wn(e, t, r) {
64
+ e.$$.on_destroy.push(Or(t, r));
65
65
  }
66
- const yn = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
66
+ const xn = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
67
67
  // @ts-ignore Node typings have this
68
68
  global
69
69
  );
70
70
  function p(e, t) {
71
71
  e.appendChild(t);
72
72
  }
73
- function _n(e, t, r) {
74
- const n = En(e);
73
+ function Sn(e, t, r) {
74
+ const n = Pn(e);
75
75
  if (!n.getElementById(t)) {
76
76
  const i = S("style");
77
- i.id = t, i.textContent = r, wn(n, i);
77
+ i.id = t, i.textContent = r, Tn(n, i);
78
78
  }
79
79
  }
80
- function En(e) {
80
+ function Pn(e) {
81
81
  if (!e) return document;
82
82
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
83
83
  return t && /** @type {ShadowRoot} */
@@ -86,7 +86,7 @@ function En(e) {
86
86
  t
87
87
  ) : e.ownerDocument;
88
88
  }
89
- function wn(e, t) {
89
+ function Tn(e, t) {
90
90
  return p(
91
91
  /** @type {Document} */
92
92
  e.head || e,
@@ -111,7 +111,7 @@ function N(e) {
111
111
  function z() {
112
112
  return N(" ");
113
113
  }
114
- function xn() {
114
+ function Hn() {
115
115
  return N("");
116
116
  }
117
117
  function ae(e, t, r, n) {
@@ -124,7 +124,7 @@ function K(e, t, r) {
124
124
  const n = t.toLowerCase();
125
125
  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);
126
126
  }
127
- function Sn(e) {
127
+ function Bn(e) {
128
128
  return Array.from(e.childNodes);
129
129
  }
130
130
  function re(e, t) {
@@ -134,7 +134,7 @@ function re(e, t) {
134
134
  function rt(e, t) {
135
135
  e.value = t == null ? "" : t;
136
136
  }
137
- function Pn(e) {
137
+ function An(e) {
138
138
  const t = {};
139
139
  return e.childNodes.forEach(
140
140
  /** @param {Element} node */
@@ -147,21 +147,21 @@ let We;
147
147
  function Xe(e) {
148
148
  We = e;
149
149
  }
150
- function Tn() {
150
+ function In() {
151
151
  if (!We) throw new Error("Function called outside component initialization");
152
152
  return We;
153
153
  }
154
- function Hn(e) {
155
- Tn().$$.on_mount.push(e);
154
+ function Cn(e) {
155
+ In().$$.on_mount.push(e);
156
156
  }
157
157
  const Te = [], ut = [];
158
158
  let He = [];
159
- const Yt = [], Bn = /* @__PURE__ */ Promise.resolve();
160
- let Tt = !1;
161
- function An() {
162
- Tt || (Tt = !0, Bn.then(te));
159
+ const tr = [], On = /* @__PURE__ */ Promise.resolve();
160
+ let Ht = !1;
161
+ function Ln() {
162
+ Ht || (Ht = !0, On.then(te));
163
163
  }
164
- function Ht(e) {
164
+ function Bt(e) {
165
165
  He.push(e);
166
166
  }
167
167
  const yt = /* @__PURE__ */ new Set();
@@ -174,7 +174,7 @@ function te() {
174
174
  try {
175
175
  for (; Se < Te.length; ) {
176
176
  const t = Te[Se];
177
- Se++, Xe(t), In(t.$$);
177
+ Se++, Xe(t), Mn(t.$$);
178
178
  }
179
179
  } catch (t) {
180
180
  throw Te.length = 0, Se = 0, t;
@@ -186,40 +186,40 @@ function te() {
186
186
  }
187
187
  He.length = 0;
188
188
  } while (Te.length);
189
- for (; Yt.length; )
190
- Yt.pop()();
191
- Tt = !1, yt.clear(), Xe(e);
189
+ for (; tr.length; )
190
+ tr.pop()();
191
+ Ht = !1, yt.clear(), Xe(e);
192
192
  }
193
- function In(e) {
193
+ function Mn(e) {
194
194
  if (e.fragment !== null) {
195
195
  e.update(), Le(e.before_update);
196
196
  const t = e.dirty;
197
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ht);
197
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Bt);
198
198
  }
199
199
  }
200
- function Cn(e) {
200
+ function Nn(e) {
201
201
  const t = [], r = [];
202
202
  He.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), He = t;
203
203
  }
204
- const On = /* @__PURE__ */ new Set();
205
- function Ln(e, t) {
206
- e && e.i && (On.delete(e), e.i(t));
204
+ const Rn = /* @__PURE__ */ new Set();
205
+ function Un(e, t) {
206
+ e && e.i && (Rn.delete(e), e.i(t));
207
207
  }
208
- function Mn(e, t, r) {
208
+ function Fn(e, t, r) {
209
209
  const { fragment: n, after_update: i } = e.$$;
210
- n && n.m(t, r), Ht(() => {
211
- const o = e.$$.on_mount.map(Hr).filter($t);
210
+ n && n.m(t, r), Bt(() => {
211
+ const o = e.$$.on_mount.map(Ir).filter(Gt);
212
212
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Le(o), e.$$.on_mount = [];
213
- }), i.forEach(Ht);
213
+ }), i.forEach(Bt);
214
214
  }
215
- function Nn(e, t) {
215
+ function Dn(e, t) {
216
216
  const r = e.$$;
217
- r.fragment !== null && (Cn(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
217
+ r.fragment !== null && (Nn(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
218
218
  }
219
- function Rn(e, t) {
220
- e.$$.dirty[0] === -1 && (Te.push(e), An(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
219
+ function kn(e, t) {
220
+ e.$$.dirty[0] === -1 && (Te.push(e), Ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
221
221
  }
222
- function Un(e, t, r, n, i, o, s = null, a = [-1]) {
222
+ function $n(e, t, r, n, i, o, s = null, a = [-1]) {
223
223
  const u = We;
224
224
  Xe(e);
225
225
  const l = e.$$ = {
@@ -229,7 +229,7 @@ function Un(e, t, r, n, i, o, s = null, a = [-1]) {
229
229
  props: o,
230
230
  update: Z,
231
231
  not_equal: i,
232
- bound: Jt(),
232
+ bound: Kt(),
233
233
  // lifecycle
234
234
  on_mount: [],
235
235
  on_destroy: [],
@@ -238,7 +238,7 @@ function Un(e, t, r, n, i, o, s = null, a = [-1]) {
238
238
  after_update: [],
239
239
  context: new Map(t.context || (u ? u.$$.context : [])),
240
240
  // everything else
241
- callbacks: Jt(),
241
+ callbacks: Kt(),
242
242
  dirty: a,
243
243
  skip_bound: !1,
244
244
  root: t.target || u.$$.root
@@ -247,19 +247,19 @@ function Un(e, t, r, n, i, o, s = null, a = [-1]) {
247
247
  let c = !1;
248
248
  if (l.ctx = r ? r(e, t.props || {}, (f, d, ...b) => {
249
249
  const y = b.length ? b[0] : d;
250
- return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && Rn(e, f)), d;
250
+ return l.ctx && i(l.ctx[f], l.ctx[f] = y) && (!l.skip_bound && l.bound[f] && l.bound[f](y), c && kn(e, f)), d;
251
251
  }) : [], l.update(), c = !0, Le(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
252
252
  if (t.hydrate) {
253
- const f = Sn(t.target);
253
+ const f = Bn(t.target);
254
254
  l.fragment && l.fragment.l(f), f.forEach(I);
255
255
  } else
256
256
  l.fragment && l.fragment.c();
257
- t.intro && Ln(e.$$.fragment), Mn(e, t.target, t.anchor), te();
257
+ t.intro && Un(e.$$.fragment), Fn(e, t.target, t.anchor), te();
258
258
  }
259
259
  Xe(u);
260
260
  }
261
- let Ir;
262
- typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
261
+ let Lr;
262
+ typeof HTMLElement == "function" && (Lr = class extends HTMLElement {
263
263
  constructor(t, r, n) {
264
264
  super();
265
265
  /** The Svelte component constructor */
@@ -320,7 +320,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
320
320
  };
321
321
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
322
322
  return;
323
- const r = {}, n = Pn(this);
323
+ const r = {}, n = An(this);
324
324
  for (const o of this.$$s)
325
325
  o in n && (r[o] = [t(o)]);
326
326
  for (const o of this.attributes) {
@@ -331,7 +331,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
331
331
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
332
332
  this.$$c = new this.$$ctor({
333
333
  target: this.shadowRoot || this,
334
- props: qt(Zt({}, this.$$d), {
334
+ props: Yt(Qt({}, this.$$d), {
335
335
  $$slots: r,
336
336
  $$scope: {
337
337
  ctx: []
@@ -409,8 +409,8 @@ function ot(e, t, r, n) {
409
409
  return t;
410
410
  }
411
411
  }
412
- function Fn(e, t, r, n, i, o) {
413
- let s = class extends Ir {
412
+ function Gn(e, t, r, n, i, o) {
413
+ let s = class extends Lr {
414
414
  constructor() {
415
415
  super(e, r, i), this.$$p_d = t;
416
416
  }
@@ -440,7 +440,7 @@ function Fn(e, t, r, n, i, o) {
440
440
  }), e.element = /** @type {any} */
441
441
  s, s;
442
442
  }
443
- class Dn {
443
+ class jn {
444
444
  constructor() {
445
445
  /**
446
446
  * ### PRIVATE API
@@ -461,7 +461,7 @@ class Dn {
461
461
  }
462
462
  /** @returns {void} */
463
463
  $destroy() {
464
- Nn(this, 1), this.$destroy = Z;
464
+ Dn(this, 1), this.$destroy = Z;
465
465
  }
466
466
  /**
467
467
  * @template {Extract<keyof Events, string>} K
@@ -470,7 +470,7 @@ class Dn {
470
470
  * @returns {() => void}
471
471
  */
472
472
  $on(t, r) {
473
- if (!$t(r))
473
+ if (!Gt(r))
474
474
  return Z;
475
475
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
476
476
  return n.push(r), () => {
@@ -483,22 +483,22 @@ class Dn {
483
483
  * @returns {void}
484
484
  */
485
485
  $set(t) {
486
- this.$$set && !bn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
486
+ this.$$set && !En(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
487
  }
488
488
  }
489
- const kn = "4";
490
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kn);
491
- var Bt = function(e, t) {
492
- return Bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
489
+ const Vn = "4";
490
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vn);
491
+ var At = function(e, t) {
492
+ return At = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
493
493
  r.__proto__ = n;
494
494
  } || function(r, n) {
495
495
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
496
- }, Bt(e, t);
496
+ }, At(e, t);
497
497
  };
498
498
  function ue(e, t) {
499
499
  if (typeof t != "function" && t !== null)
500
500
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
501
- Bt(e, t);
501
+ At(e, t);
502
502
  function r() {
503
503
  this.constructor = e;
504
504
  }
@@ -513,7 +513,7 @@ var w = function() {
513
513
  return t;
514
514
  }, w.apply(this, arguments);
515
515
  };
516
- function $n(e, t) {
516
+ function zn(e, t) {
517
517
  var r = {};
518
518
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
519
519
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -521,7 +521,7 @@ function $n(e, t) {
521
521
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
522
522
  return r;
523
523
  }
524
- function At(e) {
524
+ function It(e) {
525
525
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
526
526
  if (r) return r.call(e);
527
527
  if (e && typeof e.length == "number") return {
@@ -531,7 +531,7 @@ function At(e) {
531
531
  };
532
532
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
533
533
  }
534
- function It(e, t) {
534
+ function Ct(e, t) {
535
535
  var r = typeof Symbol == "function" && e[Symbol.iterator];
536
536
  if (!r) return e;
537
537
  var n = r.call(e), i, o = [], s;
@@ -556,13 +556,13 @@ function Be(e, t, r) {
556
556
  function le(e) {
557
557
  return typeof e == "function";
558
558
  }
559
- function Cr(e) {
559
+ function Mr(e) {
560
560
  var t = function(n) {
561
561
  Error.call(n), n.stack = new Error().stack;
562
562
  }, r = e(t);
563
563
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
564
564
  }
565
- var _t = Cr(function(e) {
565
+ var _t = Mr(function(e) {
566
566
  return function(r) {
567
567
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
568
568
  ` + r.map(function(n, i) {
@@ -571,7 +571,7 @@ var _t = Cr(function(e) {
571
571
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
572
572
  };
573
573
  });
574
- function Ct(e, t) {
574
+ function Ot(e, t) {
575
575
  if (e) {
576
576
  var r = e.indexOf(t);
577
577
  0 <= r && e.splice(r, 1);
@@ -589,7 +589,7 @@ var ft = function() {
589
589
  if (s)
590
590
  if (this._parentage = null, Array.isArray(s))
591
591
  try {
592
- for (var a = At(s), u = a.next(); !u.done; u = a.next()) {
592
+ for (var a = It(s), u = a.next(); !u.done; u = a.next()) {
593
593
  var l = u.value;
594
594
  l.remove(this);
595
595
  }
@@ -615,12 +615,12 @@ var ft = function() {
615
615
  if (f) {
616
616
  this._finalizers = null;
617
617
  try {
618
- for (var d = At(f), b = d.next(); !b.done; b = d.next()) {
618
+ for (var d = It(f), b = d.next(); !b.done; b = d.next()) {
619
619
  var y = b.value;
620
620
  try {
621
- Kt(y);
621
+ rr(y);
622
622
  } catch (g) {
623
- o = o != null ? o : [], g instanceof _t ? o = Be(Be([], It(o)), It(g.errors)) : o.push(g);
623
+ o = o != null ? o : [], g instanceof _t ? o = Be(Be([], Ct(o)), Ct(g.errors)) : o.push(g);
624
624
  }
625
625
  }
626
626
  } catch (g) {
@@ -640,7 +640,7 @@ var ft = function() {
640
640
  var r;
641
641
  if (t && t !== this)
642
642
  if (this.closed)
643
- Kt(t);
643
+ rr(t);
644
644
  else {
645
645
  if (t instanceof e) {
646
646
  if (t.closed || t._hasParent(this))
@@ -657,52 +657,56 @@ var ft = function() {
657
657
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
658
658
  }, e.prototype._removeParent = function(t) {
659
659
  var r = this._parentage;
660
- r === t ? this._parentage = null : Array.isArray(r) && Ct(r, t);
660
+ r === t ? this._parentage = null : Array.isArray(r) && Ot(r, t);
661
661
  }, e.prototype.remove = function(t) {
662
662
  var r = this._finalizers;
663
- r && Ct(r, t), t instanceof e && t._removeParent(this);
663
+ r && Ot(r, t), t instanceof e && t._removeParent(this);
664
664
  }, e.EMPTY = function() {
665
665
  var t = new e();
666
666
  return t.closed = !0, t;
667
667
  }(), e;
668
- }(), Or = ft.EMPTY;
669
- function Lr(e) {
668
+ }(), Nr = ft.EMPTY;
669
+ function Rr(e) {
670
670
  return e instanceof ft || e && "closed" in e && le(e.remove) && le(e.add) && le(e.unsubscribe);
671
671
  }
672
- function Kt(e) {
672
+ function rr(e) {
673
673
  le(e) ? e() : e.unsubscribe();
674
674
  }
675
- var Gn = {
676
- Promise: void 0
677
- }, jn = {
675
+ var Ur = {
676
+ onUnhandledError: null,
677
+ onStoppedNotification: null,
678
+ Promise: void 0,
679
+ useDeprecatedSynchronousErrorHandling: !1,
680
+ useDeprecatedNextContext: !1
681
+ }, Xn = {
678
682
  setTimeout: function(e, t) {
679
683
  for (var r = [], n = 2; n < arguments.length; n++)
680
684
  r[n - 2] = arguments[n];
681
- return setTimeout.apply(void 0, Be([e, t], It(r)));
685
+ return setTimeout.apply(void 0, Be([e, t], Ct(r)));
682
686
  },
683
687
  clearTimeout: function(e) {
684
688
  return clearTimeout(e);
685
689
  },
686
690
  delegate: void 0
687
691
  };
688
- function Vn(e) {
689
- jn.setTimeout(function() {
692
+ function Wn(e) {
693
+ Xn.setTimeout(function() {
690
694
  throw e;
691
695
  });
692
696
  }
693
- function er() {
697
+ function nr() {
694
698
  }
695
699
  function st(e) {
696
700
  e();
697
701
  }
698
- var Mr = function(e) {
702
+ var Fr = function(e) {
699
703
  ue(t, e);
700
704
  function t(r) {
701
705
  var n = e.call(this) || this;
702
- return n.isStopped = !1, r ? (n.destination = r, Lr(r) && r.add(n)) : n.destination = Wn, n;
706
+ return n.isStopped = !1, r ? (n.destination = r, Rr(r) && r.add(n)) : n.destination = Qn, n;
703
707
  }
704
708
  return t.create = function(r, n, i) {
705
- return new Ot(r, n, i);
709
+ return new Lt(r, n, i);
706
710
  }, t.prototype.next = function(r) {
707
711
  this.isStopped || this._next(r);
708
712
  }, t.prototype.error = function(r) {
@@ -726,7 +730,11 @@ var Mr = function(e) {
726
730
  this.unsubscribe();
727
731
  }
728
732
  }, t;
729
- }(ft), zn = function() {
733
+ }(ft), Zn = Function.prototype.bind;
734
+ function Et(e, t) {
735
+ return Zn.call(e, t);
736
+ }
737
+ var qn = function() {
730
738
  function e(t) {
731
739
  this.partialObserver = t;
732
740
  }
@@ -757,43 +765,55 @@ var Mr = function(e) {
757
765
  nt(r);
758
766
  }
759
767
  }, e;
760
- }(), Ot = function(e) {
768
+ }(), Lt = function(e) {
761
769
  ue(t, e);
762
770
  function t(r, n, i) {
763
771
  var o = e.call(this) || this, s;
764
- return le(r) || !r ? s = {
765
- next: r != null ? r : void 0,
766
- error: n != null ? n : void 0,
767
- complete: i != null ? i : void 0
768
- } : s = r, o.destination = new zn(s), o;
772
+ if (le(r) || !r)
773
+ s = {
774
+ next: r != null ? r : void 0,
775
+ error: n != null ? n : void 0,
776
+ complete: i != null ? i : void 0
777
+ };
778
+ else {
779
+ var a;
780
+ o && Ur.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
781
+ return o.unsubscribe();
782
+ }, s = {
783
+ next: r.next && Et(r.next, a),
784
+ error: r.error && Et(r.error, a),
785
+ complete: r.complete && Et(r.complete, a)
786
+ }) : s = r;
787
+ }
788
+ return o.destination = new qn(s), o;
769
789
  }
770
790
  return t;
771
- }(Mr);
791
+ }(Fr);
772
792
  function nt(e) {
773
- Vn(e);
793
+ Wn(e);
774
794
  }
775
- function Xn(e) {
795
+ function Jn(e) {
776
796
  throw e;
777
797
  }
778
- var Wn = {
798
+ var Qn = {
779
799
  closed: !0,
780
- next: er,
781
- error: Xn,
782
- complete: er
783
- }, Zn = function() {
800
+ next: nr,
801
+ error: Jn,
802
+ complete: nr
803
+ }, Yn = function() {
784
804
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
785
805
  }();
786
- function qn(e) {
806
+ function Kn(e) {
787
807
  return e;
788
808
  }
789
- function Jn(e) {
790
- return e.length === 0 ? qn : e.length === 1 ? e[0] : function(r) {
809
+ function ei(e) {
810
+ return e.length === 0 ? Kn : e.length === 1 ? e[0] : function(r) {
791
811
  return e.reduce(function(n, i) {
792
812
  return i(n);
793
813
  }, r);
794
814
  };
795
815
  }
796
- var tr = function() {
816
+ var ir = function() {
797
817
  function e(t) {
798
818
  t && (this._subscribe = t);
799
819
  }
@@ -801,7 +821,7 @@ var tr = function() {
801
821
  var r = new e();
802
822
  return r.source = this, r.operator = t, r;
803
823
  }, e.prototype.subscribe = function(t, r, n) {
804
- var i = this, o = Yn(t) ? t : new Ot(t, r, n);
824
+ var i = this, o = ri(t) ? t : new Lt(t, r, n);
805
825
  return st(function() {
806
826
  var s = i, a = s.operator, u = s.source;
807
827
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -814,8 +834,8 @@ var tr = function() {
814
834
  }
815
835
  }, e.prototype.forEach = function(t, r) {
816
836
  var n = this;
817
- return r = rr(r), new r(function(i, o) {
818
- var s = new Ot({
837
+ return r = or(r), new r(function(i, o) {
838
+ var s = new Lt({
819
839
  next: function(a) {
820
840
  try {
821
841
  t(a);
@@ -831,15 +851,15 @@ var tr = function() {
831
851
  }, e.prototype._subscribe = function(t) {
832
852
  var r;
833
853
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
834
- }, e.prototype[Zn] = function() {
854
+ }, e.prototype[Yn] = function() {
835
855
  return this;
836
856
  }, e.prototype.pipe = function() {
837
857
  for (var t = [], r = 0; r < arguments.length; r++)
838
858
  t[r] = arguments[r];
839
- return Jn(t)(this);
859
+ return ei(t)(this);
840
860
  }, e.prototype.toPromise = function(t) {
841
861
  var r = this;
842
- return t = rr(t), new t(function(n, i) {
862
+ return t = or(t), new t(function(n, i) {
843
863
  var o;
844
864
  r.subscribe(function(s) {
845
865
  return o = s;
@@ -853,32 +873,32 @@ var tr = function() {
853
873
  return new e(t);
854
874
  }, e;
855
875
  }();
856
- function rr(e) {
876
+ function or(e) {
857
877
  var t;
858
- return (t = e != null ? e : Gn.Promise) !== null && t !== void 0 ? t : Promise;
878
+ return (t = e != null ? e : Ur.Promise) !== null && t !== void 0 ? t : Promise;
859
879
  }
860
- function Qn(e) {
880
+ function ti(e) {
861
881
  return e && le(e.next) && le(e.error) && le(e.complete);
862
882
  }
863
- function Yn(e) {
864
- return e && e instanceof Mr || Qn(e) && Lr(e);
883
+ function ri(e) {
884
+ return e && e instanceof Fr || ti(e) && Rr(e);
865
885
  }
866
- var Kn = Cr(function(e) {
886
+ var ni = Mr(function(e) {
867
887
  return function() {
868
888
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
869
889
  };
870
- }), Nr = function(e) {
890
+ }), Dr = function(e) {
871
891
  ue(t, e);
872
892
  function t() {
873
893
  var r = e.call(this) || this;
874
894
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
875
895
  }
876
896
  return t.prototype.lift = function(r) {
877
- var n = new nr(this, this);
897
+ var n = new sr(this, this);
878
898
  return n.operator = r, n;
879
899
  }, t.prototype._throwIfClosed = function() {
880
900
  if (this.closed)
881
- throw new Kn();
901
+ throw new ni();
882
902
  }, t.prototype.next = function(r) {
883
903
  var n = this;
884
904
  st(function() {
@@ -886,7 +906,7 @@ var Kn = Cr(function(e) {
886
906
  if (n._throwIfClosed(), !n.isStopped) {
887
907
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
888
908
  try {
889
- for (var s = At(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
909
+ for (var s = It(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
890
910
  var u = a.value;
891
911
  u.next(r);
892
912
  }
@@ -934,19 +954,19 @@ var Kn = Cr(function(e) {
934
954
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
935
955
  }, t.prototype._innerSubscribe = function(r) {
936
956
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
937
- return o || s ? Or : (this.currentObservers = null, a.push(r), new ft(function() {
938
- n.currentObservers = null, Ct(a, r);
957
+ return o || s ? Nr : (this.currentObservers = null, a.push(r), new ft(function() {
958
+ n.currentObservers = null, Ot(a, r);
939
959
  }));
940
960
  }, t.prototype._checkFinalizedStatuses = function(r) {
941
961
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
942
962
  i ? r.error(o) : s && r.complete();
943
963
  }, t.prototype.asObservable = function() {
944
- var r = new tr();
964
+ var r = new ir();
945
965
  return r.source = this, r;
946
966
  }, t.create = function(r, n) {
947
- return new nr(r, n);
967
+ return new sr(r, n);
948
968
  }, t;
949
- }(tr), nr = function(e) {
969
+ }(ir), sr = function(e) {
950
970
  ue(t, e);
951
971
  function t(r, n) {
952
972
  var i = e.call(this) || this;
@@ -963,17 +983,17 @@ var Kn = Cr(function(e) {
963
983
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
964
984
  }, t.prototype._subscribe = function(r) {
965
985
  var n, i;
966
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Or;
986
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nr;
967
987
  }, t;
968
- }(Nr), Rr = {
988
+ }(Dr), kr = {
969
989
  now: function() {
970
- return (Rr.delegate || Date).now();
990
+ return (kr.delegate || Date).now();
971
991
  },
972
992
  delegate: void 0
973
- }, ei = function(e) {
993
+ }, ii = function(e) {
974
994
  ue(t, e);
975
995
  function t(r, n, i) {
976
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rr);
996
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kr);
977
997
  var o = e.call(this) || this;
978
998
  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;
979
999
  }
@@ -993,15 +1013,15 @@ var Kn = Cr(function(e) {
993
1013
  l && o.splice(0, l + 1);
994
1014
  }
995
1015
  }, t;
996
- }(Nr);
997
- const ir = [], or = {}, ti = (e, t = 0) => {
998
- if (ir.indexOf(e) == -1) {
999
- const r = new ei(t);
1000
- or[e] = r, ir.push(e);
1016
+ }(Dr);
1017
+ const ar = [], lr = {}, oi = (e, t = 0) => {
1018
+ if (ar.indexOf(e) == -1) {
1019
+ const r = new ii(t);
1020
+ lr[e] = r, ar.push(e);
1001
1021
  }
1002
- return or[e];
1022
+ return lr[e];
1003
1023
  }, Pe = [];
1004
- function ri(e, t) {
1024
+ function si(e, t) {
1005
1025
  return {
1006
1026
  subscribe: dt(e, t).subscribe
1007
1027
  };
@@ -1010,7 +1030,7 @@ function dt(e, t = Z) {
1010
1030
  let r;
1011
1031
  const n = /* @__PURE__ */ new Set();
1012
1032
  function i(a) {
1013
- if (Br(e, a) && (e = a, r)) {
1033
+ if (Cr(e, a) && (e = a, r)) {
1014
1034
  const u = !Pe.length;
1015
1035
  for (const l of n)
1016
1036
  l[1](), Pe.push(l, e);
@@ -1037,7 +1057,7 @@ function Me(e, t, r) {
1037
1057
  if (!i.every(Boolean))
1038
1058
  throw new Error("derived() expects stores as input, got a falsy value");
1039
1059
  const o = t.length < 2;
1040
- return ri(r, (s, a) => {
1060
+ return si(r, (s, a) => {
1041
1061
  let u = !1;
1042
1062
  const l = [];
1043
1063
  let c = 0, f = Z;
@@ -1046,9 +1066,9 @@ function Me(e, t, r) {
1046
1066
  return;
1047
1067
  f();
1048
1068
  const y = t(n ? l[0] : l, s, a);
1049
- o ? s(y) : f = $t(y) ? y : Z;
1069
+ o ? s(y) : f = Gt(y) ? y : Z;
1050
1070
  }, b = i.map(
1051
- (y, g) => Ar(
1071
+ (y, g) => Or(
1052
1072
  y,
1053
1073
  (x) => {
1054
1074
  l[g] = x, c &= ~(1 << g), u && d();
@@ -1063,70 +1083,70 @@ function Me(e, t, r) {
1063
1083
  };
1064
1084
  });
1065
1085
  }
1066
- function ni(e) {
1086
+ function ai(e) {
1067
1087
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1068
1088
  }
1069
- var ii = function(t) {
1070
- return oi(t) && !si(t);
1089
+ var li = function(t) {
1090
+ return ui(t) && !ci(t);
1071
1091
  };
1072
- function oi(e) {
1092
+ function ui(e) {
1073
1093
  return !!e && typeof e == "object";
1074
1094
  }
1075
- function si(e) {
1095
+ function ci(e) {
1076
1096
  var t = Object.prototype.toString.call(e);
1077
- return t === "[object RegExp]" || t === "[object Date]" || ui(e);
1097
+ return t === "[object RegExp]" || t === "[object Date]" || di(e);
1078
1098
  }
1079
- var ai = typeof Symbol == "function" && Symbol.for, li = ai ? Symbol.for("react.element") : 60103;
1080
- function ui(e) {
1081
- return e.$$typeof === li;
1099
+ var hi = typeof Symbol == "function" && Symbol.for, fi = hi ? Symbol.for("react.element") : 60103;
1100
+ function di(e) {
1101
+ return e.$$typeof === fi;
1082
1102
  }
1083
- function ci(e) {
1103
+ function mi(e) {
1084
1104
  return Array.isArray(e) ? [] : {};
1085
1105
  }
1086
1106
  function Ze(e, t) {
1087
- return t.clone !== !1 && t.isMergeableObject(e) ? Ae(ci(e), e, t) : e;
1107
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ae(mi(e), e, t) : e;
1088
1108
  }
1089
- function hi(e, t, r) {
1109
+ function pi(e, t, r) {
1090
1110
  return e.concat(t).map(function(n) {
1091
1111
  return Ze(n, r);
1092
1112
  });
1093
1113
  }
1094
- function fi(e, t) {
1114
+ function gi(e, t) {
1095
1115
  if (!t.customMerge)
1096
1116
  return Ae;
1097
1117
  var r = t.customMerge(e);
1098
1118
  return typeof r == "function" ? r : Ae;
1099
1119
  }
1100
- function di(e) {
1120
+ function bi(e) {
1101
1121
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1102
1122
  return Object.propertyIsEnumerable.call(e, t);
1103
1123
  }) : [];
1104
1124
  }
1105
- function sr(e) {
1106
- return Object.keys(e).concat(di(e));
1125
+ function ur(e) {
1126
+ return Object.keys(e).concat(bi(e));
1107
1127
  }
1108
- function Ur(e, t) {
1128
+ function $r(e, t) {
1109
1129
  try {
1110
1130
  return t in e;
1111
1131
  } catch (r) {
1112
1132
  return !1;
1113
1133
  }
1114
1134
  }
1115
- function mi(e, t) {
1116
- return Ur(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1135
+ function vi(e, t) {
1136
+ return $r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1117
1137
  }
1118
- function pi(e, t, r) {
1138
+ function yi(e, t, r) {
1119
1139
  var n = {};
1120
- return r.isMergeableObject(e) && sr(e).forEach(function(i) {
1140
+ return r.isMergeableObject(e) && ur(e).forEach(function(i) {
1121
1141
  n[i] = Ze(e[i], r);
1122
- }), sr(t).forEach(function(i) {
1123
- mi(e, i) || (Ur(e, i) && r.isMergeableObject(t[i]) ? n[i] = fi(i, r)(e[i], t[i], r) : n[i] = Ze(t[i], r));
1142
+ }), ur(t).forEach(function(i) {
1143
+ vi(e, i) || ($r(e, i) && r.isMergeableObject(t[i]) ? n[i] = gi(i, r)(e[i], t[i], r) : n[i] = Ze(t[i], r));
1124
1144
  }), n;
1125
1145
  }
1126
1146
  function Ae(e, t, r) {
1127
- r = r || {}, r.arrayMerge = r.arrayMerge || hi, r.isMergeableObject = r.isMergeableObject || ii, r.cloneUnlessOtherwiseSpecified = Ze;
1147
+ r = r || {}, r.arrayMerge = r.arrayMerge || pi, r.isMergeableObject = r.isMergeableObject || li, r.cloneUnlessOtherwiseSpecified = Ze;
1128
1148
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1129
- return o ? n ? r.arrayMerge(e, t, r) : pi(e, t, r) : Ze(t, r);
1149
+ return o ? n ? r.arrayMerge(e, t, r) : yi(e, t, r) : Ze(t, r);
1130
1150
  }
1131
1151
  Ae.all = function(t, r) {
1132
1152
  if (!Array.isArray(t))
@@ -1135,56 +1155,58 @@ Ae.all = function(t, r) {
1135
1155
  return Ae(n, i, r);
1136
1156
  }, {});
1137
1157
  };
1138
- var gi = Ae, bi = gi;
1139
- const vi = /* @__PURE__ */ ni(bi);
1140
- function Et(e, t) {
1141
- var r = t && t.cache ? t.cache : Pi, n = t && t.serializer ? t.serializer : xi, i = t && t.strategy ? t.strategy : Ei;
1158
+ var _i = Ae, Ei = _i;
1159
+ const wi = /* @__PURE__ */ ai(Ei);
1160
+ function wt(e, t) {
1161
+ var r = t && t.cache ? t.cache : Bi, n = t && t.serializer ? t.serializer : Hi, i = t && t.strategy ? t.strategy : Si;
1142
1162
  return i(e, {
1143
1163
  cache: r,
1144
1164
  serializer: n
1145
1165
  });
1146
1166
  }
1147
- function yi(e) {
1167
+ function xi(e) {
1148
1168
  return e == null || typeof e == "number" || typeof e == "boolean";
1149
1169
  }
1150
- function _i(e, t, r, n) {
1151
- var i = yi(n) ? n : r(n), o = t.get(i);
1170
+ function Gr(e, t, r, n) {
1171
+ var i = xi(n) ? n : r(n), o = t.get(i);
1152
1172
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1153
1173
  }
1154
- function Fr(e, t, r) {
1174
+ function jr(e, t, r) {
1155
1175
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1156
1176
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1157
1177
  }
1158
- function Dr(e, t, r, n, i) {
1178
+ function jt(e, t, r, n, i) {
1159
1179
  return r.bind(t, e, n, i);
1160
1180
  }
1161
- function Ei(e, t) {
1162
- var r = e.length === 1 ? _i : Fr;
1163
- return Dr(e, this, r, t.cache.create(), t.serializer);
1181
+ function Si(e, t) {
1182
+ var r = e.length === 1 ? Gr : jr;
1183
+ return jt(e, this, r, t.cache.create(), t.serializer);
1184
+ }
1185
+ function Pi(e, t) {
1186
+ return jt(e, this, jr, t.cache.create(), t.serializer);
1164
1187
  }
1165
- function wi(e, t) {
1166
- return Dr(e, this, Fr, t.cache.create(), t.serializer);
1188
+ function Ti(e, t) {
1189
+ return jt(e, this, Gr, t.cache.create(), t.serializer);
1167
1190
  }
1168
- var xi = function() {
1191
+ var Hi = function() {
1169
1192
  return JSON.stringify(arguments);
1170
- }, Si = (
1171
- /** @class */
1172
- function() {
1173
- function e() {
1174
- this.cache = /* @__PURE__ */ Object.create(null);
1175
- }
1176
- return e.prototype.get = function(t) {
1177
- return this.cache[t];
1178
- }, e.prototype.set = function(t, r) {
1179
- this.cache[t] = r;
1180
- }, e;
1181
- }()
1182
- ), Pi = {
1193
+ };
1194
+ function Vt() {
1195
+ this.cache = /* @__PURE__ */ Object.create(null);
1196
+ }
1197
+ Vt.prototype.get = function(e) {
1198
+ return this.cache[e];
1199
+ };
1200
+ Vt.prototype.set = function(e, t) {
1201
+ this.cache[e] = t;
1202
+ };
1203
+ var Bi = {
1183
1204
  create: function() {
1184
- return new Si();
1205
+ return new Vt();
1185
1206
  }
1186
- }, wt = {
1187
- variadic: wi
1207
+ }, xt = {
1208
+ variadic: Pi,
1209
+ monadic: Ti
1188
1210
  }, _;
1189
1211
  (function(e) {
1190
1212
  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";
@@ -1197,43 +1219,43 @@ var Ie;
1197
1219
  (function(e) {
1198
1220
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1199
1221
  })(Ie || (Ie = {}));
1200
- function ar(e) {
1222
+ function cr(e) {
1201
1223
  return e.type === T.literal;
1202
1224
  }
1203
- function Ti(e) {
1225
+ function Ai(e) {
1204
1226
  return e.type === T.argument;
1205
1227
  }
1206
- function kr(e) {
1228
+ function Vr(e) {
1207
1229
  return e.type === T.number;
1208
1230
  }
1209
- function $r(e) {
1231
+ function zr(e) {
1210
1232
  return e.type === T.date;
1211
1233
  }
1212
- function Gr(e) {
1234
+ function Xr(e) {
1213
1235
  return e.type === T.time;
1214
1236
  }
1215
- function jr(e) {
1237
+ function Wr(e) {
1216
1238
  return e.type === T.select;
1217
1239
  }
1218
- function Vr(e) {
1240
+ function Zr(e) {
1219
1241
  return e.type === T.plural;
1220
1242
  }
1221
- function Hi(e) {
1243
+ function Ii(e) {
1222
1244
  return e.type === T.pound;
1223
1245
  }
1224
- function zr(e) {
1246
+ function qr(e) {
1225
1247
  return e.type === T.tag;
1226
1248
  }
1227
- function Xr(e) {
1249
+ function Jr(e) {
1228
1250
  return !!(e && typeof e == "object" && e.type === Ie.number);
1229
1251
  }
1230
- function Lt(e) {
1252
+ function Mt(e) {
1231
1253
  return !!(e && typeof e == "object" && e.type === Ie.dateTime);
1232
1254
  }
1233
- var Wr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bi = /(?:[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;
1234
- function Ai(e) {
1255
+ var Qr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ci = /(?:[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;
1256
+ function Oi(e) {
1235
1257
  var t = {};
1236
- return e.replace(Bi, function(r) {
1258
+ return e.replace(Ci, function(r) {
1237
1259
  var n = r.length;
1238
1260
  switch (r[0]) {
1239
1261
  case "G":
@@ -1322,11 +1344,11 @@ function Ai(e) {
1322
1344
  return "";
1323
1345
  }), t;
1324
1346
  }
1325
- var Ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1326
- function Ci(e) {
1347
+ var Li = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1348
+ function Mi(e) {
1327
1349
  if (e.length === 0)
1328
1350
  throw new Error("Number skeleton cannot be empty");
1329
- for (var t = e.split(Ii).filter(function(d) {
1351
+ for (var t = e.split(Li).filter(function(d) {
1330
1352
  return d.length > 0;
1331
1353
  }), r = [], n = 0, i = t; n < i.length; n++) {
1332
1354
  var o = i[n], s = o.split("/");
@@ -1341,17 +1363,17 @@ function Ci(e) {
1341
1363
  }
1342
1364
  return r;
1343
1365
  }
1344
- function Oi(e) {
1366
+ function Ni(e) {
1345
1367
  return e.replace(/^(.*?)-/, "");
1346
1368
  }
1347
- var lr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zr = /^(@+)?(\+|#+)?[rs]?$/g, Li = /(\*)(0+)|(#+)(0+)|(0+)/g, qr = /^(0+)$/;
1348
- function ur(e) {
1369
+ var hr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yr = /^(@+)?(\+|#+)?[rs]?$/g, Ri = /(\*)(0+)|(#+)(0+)|(0+)/g, Kr = /^(0+)$/;
1370
+ function fr(e) {
1349
1371
  var t = {};
1350
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zr, function(r, n, i) {
1372
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yr, function(r, n, i) {
1351
1373
  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)), "";
1352
1374
  }), t;
1353
1375
  }
1354
- function Jr(e) {
1376
+ function en(e) {
1355
1377
  switch (e) {
1356
1378
  case "sign-auto":
1357
1379
  return {
@@ -1391,7 +1413,7 @@ function Jr(e) {
1391
1413
  };
1392
1414
  }
1393
1415
  }
1394
- function Mi(e) {
1416
+ function Ui(e) {
1395
1417
  var t;
1396
1418
  if (e[0] === "E" && e[1] === "E" ? (t = {
1397
1419
  notation: "engineering"
@@ -1399,17 +1421,17 @@ function Mi(e) {
1399
1421
  notation: "scientific"
1400
1422
  }, e = e.slice(1)), t) {
1401
1423
  var r = e.slice(0, 2);
1402
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qr.test(e))
1424
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kr.test(e))
1403
1425
  throw new Error("Malformed concise eng/scientific notation");
1404
1426
  t.minimumIntegerDigits = e.length;
1405
1427
  }
1406
1428
  return t;
1407
1429
  }
1408
- function cr(e) {
1409
- var t = {}, r = Jr(e);
1430
+ function dr(e) {
1431
+ var t = {}, r = en(e);
1410
1432
  return r || t;
1411
1433
  }
1412
- function Ni(e) {
1434
+ function Fi(e) {
1413
1435
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1414
1436
  var i = n[r];
1415
1437
  switch (i.stem) {
@@ -1433,7 +1455,7 @@ function Ni(e) {
1433
1455
  continue;
1434
1456
  case "measure-unit":
1435
1457
  case "unit":
1436
- t.style = "unit", t.unit = Oi(i.options[0]);
1458
+ t.style = "unit", t.unit = Ni(i.options[0]);
1437
1459
  continue;
1438
1460
  case "compact-short":
1439
1461
  case "K":
@@ -1445,12 +1467,12 @@ function Ni(e) {
1445
1467
  continue;
1446
1468
  case "scientific":
1447
1469
  t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1448
- return w(w({}, u), cr(l));
1470
+ return w(w({}, u), dr(l));
1449
1471
  }, {}));
1450
1472
  continue;
1451
1473
  case "engineering":
1452
1474
  t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1453
- return w(w({}, u), cr(l));
1475
+ return w(w({}, u), dr(l));
1454
1476
  }, {}));
1455
1477
  continue;
1456
1478
  case "notation-simple":
@@ -1495,7 +1517,7 @@ function Ni(e) {
1495
1517
  case "integer-width":
1496
1518
  if (i.options.length > 1)
1497
1519
  throw new RangeError("integer-width stems only accept a single optional option");
1498
- i.options[0].replace(Li, function(u, l, c, f, d, b) {
1520
+ i.options[0].replace(Ri, function(u, l, c, f, d, b) {
1499
1521
  if (l)
1500
1522
  t.minimumIntegerDigits = c.length;
1501
1523
  else {
@@ -1508,27 +1530,27 @@ function Ni(e) {
1508
1530
  });
1509
1531
  continue;
1510
1532
  }
1511
- if (qr.test(i.stem)) {
1533
+ if (Kr.test(i.stem)) {
1512
1534
  t.minimumIntegerDigits = i.stem.length;
1513
1535
  continue;
1514
1536
  }
1515
- if (lr.test(i.stem)) {
1537
+ if (hr.test(i.stem)) {
1516
1538
  if (i.options.length > 1)
1517
1539
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1518
- i.stem.replace(lr, function(u, l, c, f, d, b) {
1540
+ i.stem.replace(hr, function(u, l, c, f, d, b) {
1519
1541
  return c === "*" ? 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), "";
1520
1542
  });
1521
1543
  var o = i.options[0];
1522
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), ur(o)));
1544
+ o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), fr(o)));
1523
1545
  continue;
1524
1546
  }
1525
- if (Zr.test(i.stem)) {
1526
- t = w(w({}, t), ur(i.stem));
1547
+ if (Yr.test(i.stem)) {
1548
+ t = w(w({}, t), fr(i.stem));
1527
1549
  continue;
1528
1550
  }
1529
- var s = Jr(i.stem);
1551
+ var s = en(i.stem);
1530
1552
  s && (t = w(w({}, t), s));
1531
- var a = Mi(i.stem);
1553
+ var a = Ui(i.stem);
1532
1554
  a && (t = w(w({}, t), a));
1533
1555
  }
1534
1556
  return t;
@@ -2948,13 +2970,13 @@ var it = {
2948
2970
  "h"
2949
2971
  ]
2950
2972
  };
2951
- function Ri(e, t) {
2973
+ function Di(e, t) {
2952
2974
  for (var r = "", n = 0; n < e.length; n++) {
2953
2975
  var i = e.charAt(n);
2954
2976
  if (i === "j") {
2955
2977
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2956
2978
  o++, n++;
2957
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Ui(t);
2979
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ki(t);
2958
2980
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2959
2981
  r += u;
2960
2982
  for (; s-- > 0; )
@@ -2963,7 +2985,7 @@ function Ri(e, t) {
2963
2985
  }
2964
2986
  return r;
2965
2987
  }
2966
- function Ui(e) {
2988
+ function ki(e) {
2967
2989
  var t = e.hourCycle;
2968
2990
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2969
2991
  e.hourCycles && // @ts-ignore
@@ -2985,20 +3007,20 @@ function Ui(e) {
2985
3007
  var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
2986
3008
  return i[0];
2987
3009
  }
2988
- var xt, Fi = new RegExp("^".concat(Wr.source, "*")), Di = new RegExp("".concat(Wr.source, "*$"));
3010
+ var St, $i = new RegExp("^".concat(Qr.source, "*")), Gi = new RegExp("".concat(Qr.source, "*$"));
2989
3011
  function E(e, t) {
2990
3012
  return { start: e, end: t };
2991
3013
  }
2992
- var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), $i = !!String.fromCodePoint, Gi = !!Object.fromEntries, ji = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, zi = !!String.prototype.trimEnd, Xi = !!Number.isSafeInteger, Wi = Xi ? Number.isSafeInteger : function(e) {
3014
+ var ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vi = !!String.fromCodePoint, zi = !!Object.fromEntries, Xi = !!String.prototype.codePointAt, Wi = !!String.prototype.trimStart, Zi = !!String.prototype.trimEnd, qi = !!Number.isSafeInteger, Ji = qi ? Number.isSafeInteger : function(e) {
2993
3015
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2994
- }, Mt = !0;
3016
+ }, Nt = !0;
2995
3017
  try {
2996
- var Zi = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2997
- Mt = ((xt = Zi.exec("a")) === null || xt === void 0 ? void 0 : xt[0]) === "a";
3018
+ var Qi = rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3019
+ Nt = ((St = Qi.exec("a")) === null || St === void 0 ? void 0 : St[0]) === "a";
2998
3020
  } catch (e) {
2999
- Mt = !1;
3021
+ Nt = !1;
3000
3022
  }
3001
- var hr = ki ? (
3023
+ var mr = ji ? (
3002
3024
  // Native
3003
3025
  function(t, r, n) {
3004
3026
  return t.startsWith(r, n);
@@ -3008,7 +3030,7 @@ var hr = ki ? (
3008
3030
  function(t, r, n) {
3009
3031
  return t.slice(n, n + r.length) === r;
3010
3032
  }
3011
- ), Nt = $i ? String.fromCodePoint : (
3033
+ ), Rt = Vi ? String.fromCodePoint : (
3012
3034
  // IE11
3013
3035
  function() {
3014
3036
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3020,9 +3042,9 @@ var hr = ki ? (
3020
3042
  }
3021
3043
  return n;
3022
3044
  }
3023
- ), fr = (
3045
+ ), pr = (
3024
3046
  // native
3025
- Gi ? Object.fromEntries : (
3047
+ zi ? Object.fromEntries : (
3026
3048
  // Ponyfill
3027
3049
  function(t) {
3028
3050
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3032,7 +3054,7 @@ var hr = ki ? (
3032
3054
  return r;
3033
3055
  }
3034
3056
  )
3035
- ), Qr = ji ? (
3057
+ ), tn = Xi ? (
3036
3058
  // Native
3037
3059
  function(t, r) {
3038
3060
  return t.codePointAt(r);
@@ -3046,7 +3068,7 @@ var hr = ki ? (
3046
3068
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3047
3069
  }
3048
3070
  }
3049
- ), qi = Vi ? (
3071
+ ), Yi = Wi ? (
3050
3072
  // Native
3051
3073
  function(t) {
3052
3074
  return t.trimStart();
@@ -3054,9 +3076,9 @@ var hr = ki ? (
3054
3076
  ) : (
3055
3077
  // Ponyfill
3056
3078
  function(t) {
3057
- return t.replace(Fi, "");
3079
+ return t.replace($i, "");
3058
3080
  }
3059
- ), Ji = zi ? (
3081
+ ), Ki = Zi ? (
3060
3082
  // Native
3061
3083
  function(t) {
3062
3084
  return t.trimEnd();
@@ -3064,32 +3086,32 @@ var hr = ki ? (
3064
3086
  ) : (
3065
3087
  // Ponyfill
3066
3088
  function(t) {
3067
- return t.replace(Di, "");
3089
+ return t.replace(Gi, "");
3068
3090
  }
3069
3091
  );
3070
- function Yr(e, t) {
3092
+ function rn(e, t) {
3071
3093
  return new RegExp(e, t);
3072
3094
  }
3073
- var Rt;
3074
- if (Mt) {
3075
- var dr = Yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3076
- Rt = function(t, r) {
3095
+ var Ut;
3096
+ if (Nt) {
3097
+ var gr = rn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3098
+ Ut = function(t, r) {
3077
3099
  var n;
3078
- dr.lastIndex = r;
3079
- var i = dr.exec(t);
3100
+ gr.lastIndex = r;
3101
+ var i = gr.exec(t);
3080
3102
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3081
3103
  };
3082
3104
  } else
3083
- Rt = function(t, r) {
3105
+ Ut = function(t, r) {
3084
3106
  for (var n = []; ; ) {
3085
- var i = Qr(t, r);
3086
- if (i === void 0 || Kr(i) || eo(i))
3107
+ var i = tn(t, r);
3108
+ if (i === void 0 || nn(i) || no(i))
3087
3109
  break;
3088
3110
  n.push(i), r += i >= 65536 ? 2 : 1;
3089
3111
  }
3090
- return Nt.apply(void 0, n);
3112
+ return Rt.apply(void 0, n);
3091
3113
  };
3092
- var Qi = (
3114
+ var eo = (
3093
3115
  /** @class */
3094
3116
  function() {
3095
3117
  function e(t, r) {
@@ -3120,7 +3142,7 @@ var Qi = (
3120
3142
  if (n)
3121
3143
  break;
3122
3144
  return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3123
- } else if (o === 60 && !this.ignoreTag && Ut(this.peek() || 0)) {
3145
+ } else if (o === 60 && !this.ignoreTag && Ft(this.peek() || 0)) {
3124
3146
  var s = this.parseTag(t, r);
3125
3147
  if (s.err)
3126
3148
  return s;
@@ -3153,7 +3175,7 @@ var Qi = (
3153
3175
  return o;
3154
3176
  var s = o.val, a = this.clonePosition();
3155
3177
  if (this.bumpIf("</")) {
3156
- if (this.isEOF() || !Ut(this.char()))
3178
+ if (this.isEOF() || !Ft(this.char()))
3157
3179
  return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
3158
3180
  var u = this.clonePosition(), l = this.parseTagName();
3159
3181
  return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3171,7 +3193,7 @@ var Qi = (
3171
3193
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3172
3194
  }, e.prototype.parseTagName = function() {
3173
3195
  var t = this.offset();
3174
- for (this.bump(); !this.isEOF() && Ki(this.char()); )
3196
+ for (this.bump(); !this.isEOF() && ro(this.char()); )
3175
3197
  this.bump();
3176
3198
  return this.message.slice(t, this.offset());
3177
3199
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3200,7 +3222,7 @@ var Qi = (
3200
3222
  };
3201
3223
  }, e.prototype.tryParseLeftAngleBracket = function() {
3202
3224
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3203
- !Yi(this.peek() || 0)) ? (this.bump(), "<") : null;
3225
+ !to(this.peek() || 0)) ? (this.bump(), "<") : null;
3204
3226
  }, e.prototype.tryParseQuote = function(t) {
3205
3227
  if (this.isEOF() || this.char() !== 39)
3206
3228
  return null;
@@ -3234,12 +3256,12 @@ var Qi = (
3234
3256
  r.push(n);
3235
3257
  this.bump();
3236
3258
  }
3237
- return Nt.apply(void 0, r);
3259
+ return Rt.apply(void 0, r);
3238
3260
  }, e.prototype.tryParseUnquoted = function(t, r) {
3239
3261
  if (this.isEOF())
3240
3262
  return null;
3241
3263
  var n = this.char();
3242
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Nt(n));
3264
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Rt(n));
3243
3265
  }, e.prototype.parseArgument = function(t, r) {
3244
3266
  var n = this.clonePosition();
3245
3267
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3268,7 +3290,7 @@ var Qi = (
3268
3290
  return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3269
3291
  }
3270
3292
  }, e.prototype.parseIdentifierIfPossible = function() {
3271
- var t = this.clonePosition(), r = this.offset(), n = Rt(this.message, r), i = r + n.length;
3293
+ var t = this.clonePosition(), r = this.offset(), n = Ut(this.message, r), i = r + n.length;
3272
3294
  this.bumpTo(i);
3273
3295
  var o = this.clonePosition(), s = E(t, o);
3274
3296
  return { value: n, location: s };
@@ -3287,7 +3309,7 @@ var Qi = (
3287
3309
  var c = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3288
3310
  if (f.err)
3289
3311
  return f;
3290
- var d = Ji(f.val);
3312
+ var d = Ki(f.val);
3291
3313
  if (d.length === 0)
3292
3314
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3293
3315
  var b = E(c, this.clonePosition());
@@ -3297,8 +3319,8 @@ var Qi = (
3297
3319
  if (y.err)
3298
3320
  return y;
3299
3321
  var g = E(i, this.clonePosition());
3300
- if (l && hr(l == null ? void 0 : l.style, "::", 0)) {
3301
- var x = qi(l.style.slice(2));
3322
+ if (l && mr(l == null ? void 0 : l.style, "::", 0)) {
3323
+ var x = Yi(l.style.slice(2));
3302
3324
  if (a === "number") {
3303
3325
  var f = this.parseNumberSkeletonFromString(x, l.styleLocation);
3304
3326
  return f.err ? f : {
@@ -3309,12 +3331,12 @@ var Qi = (
3309
3331
  if (x.length === 0)
3310
3332
  return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3311
3333
  var M = x;
3312
- this.locale && (M = Ri(x, this.locale));
3334
+ this.locale && (M = Di(x, this.locale));
3313
3335
  var d = {
3314
3336
  type: Ie.dateTime,
3315
3337
  pattern: M,
3316
3338
  location: l.styleLocation,
3317
- parsedOptions: this.shouldParseSkeletons ? Ai(M) : {}
3339
+ parsedOptions: this.shouldParseSkeletons ? Oi(M) : {}
3318
3340
  }, q = a === "date" ? T.date : T.time;
3319
3341
  return {
3320
3342
  val: { type: q, value: n, location: g, style: d },
@@ -3360,7 +3382,7 @@ var Qi = (
3360
3382
  val: {
3361
3383
  type: T.select,
3362
3384
  value: n,
3363
- options: fr(J.val),
3385
+ options: pr(J.val),
3364
3386
  location: B
3365
3387
  },
3366
3388
  err: null
@@ -3368,7 +3390,7 @@ var Qi = (
3368
3390
  val: {
3369
3391
  type: T.plural,
3370
3392
  value: n,
3371
- options: fr(J.val),
3393
+ options: pr(J.val),
3372
3394
  offset: G,
3373
3395
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3374
3396
  location: B
@@ -3419,7 +3441,7 @@ var Qi = (
3419
3441
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3420
3442
  var n = [];
3421
3443
  try {
3422
- n = Ci(t);
3444
+ n = Mi(t);
3423
3445
  } catch (i) {
3424
3446
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3425
3447
  }
@@ -3428,7 +3450,7 @@ var Qi = (
3428
3450
  type: Ie.number,
3429
3451
  tokens: n,
3430
3452
  location: r,
3431
- parsedOptions: this.shouldParseSkeletons ? Ni(n) : {}
3453
+ parsedOptions: this.shouldParseSkeletons ? Fi(n) : {}
3432
3454
  },
3433
3455
  err: null
3434
3456
  };
@@ -3476,7 +3498,7 @@ var Qi = (
3476
3498
  break;
3477
3499
  }
3478
3500
  var u = E(i, this.clonePosition());
3479
- return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3501
+ return o ? (s *= n, Ji(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3480
3502
  }, e.prototype.offset = function() {
3481
3503
  return this.position.offset;
3482
3504
  }, e.prototype.isEOF = function() {
@@ -3491,7 +3513,7 @@ var Qi = (
3491
3513
  var t = this.position.offset;
3492
3514
  if (t >= this.message.length)
3493
3515
  throw Error("out of bound");
3494
- var r = Qr(this.message, t);
3516
+ var r = tn(this.message, t);
3495
3517
  if (r === void 0)
3496
3518
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3497
3519
  return r;
@@ -3510,7 +3532,7 @@ var Qi = (
3510
3532
  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);
3511
3533
  }
3512
3534
  }, e.prototype.bumpIf = function(t) {
3513
- if (hr(this.message, t, this.offset())) {
3535
+ if (mr(this.message, t, this.offset())) {
3514
3536
  for (var r = 0; r < t.length; r++)
3515
3537
  this.bump();
3516
3538
  return !0;
@@ -3532,7 +3554,7 @@ var Qi = (
3532
3554
  break;
3533
3555
  }
3534
3556
  }, e.prototype.bumpSpace = function() {
3535
- for (; !this.isEOF() && Kr(this.char()); )
3557
+ for (; !this.isEOF() && nn(this.char()); )
3536
3558
  this.bump();
3537
3559
  }, e.prototype.peek = function() {
3538
3560
  if (this.isEOF())
@@ -3542,37 +3564,37 @@ var Qi = (
3542
3564
  }, e;
3543
3565
  }()
3544
3566
  );
3545
- function Ut(e) {
3567
+ function Ft(e) {
3546
3568
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3547
3569
  }
3548
- function Yi(e) {
3549
- return Ut(e) || e === 47;
3570
+ function to(e) {
3571
+ return Ft(e) || e === 47;
3550
3572
  }
3551
- function Ki(e) {
3573
+ function ro(e) {
3552
3574
  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;
3553
3575
  }
3554
- function Kr(e) {
3576
+ function nn(e) {
3555
3577
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3556
3578
  }
3557
- function eo(e) {
3579
+ function no(e) {
3558
3580
  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;
3559
3581
  }
3560
- function Ft(e) {
3582
+ function Dt(e) {
3561
3583
  e.forEach(function(t) {
3562
- if (delete t.location, jr(t) || Vr(t))
3584
+ if (delete t.location, Wr(t) || Zr(t))
3563
3585
  for (var r in t.options)
3564
- delete t.options[r].location, Ft(t.options[r].value);
3565
- else kr(t) && Xr(t.style) || ($r(t) || Gr(t)) && Lt(t.style) ? delete t.style.location : zr(t) && Ft(t.children);
3586
+ delete t.options[r].location, Dt(t.options[r].value);
3587
+ else Vr(t) && Jr(t.style) || (zr(t) || Xr(t)) && Mt(t.style) ? delete t.style.location : qr(t) && Dt(t.children);
3566
3588
  });
3567
3589
  }
3568
- function to(e, t) {
3590
+ function io(e, t) {
3569
3591
  t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3570
- var r = new Qi(e, t).parse();
3592
+ var r = new eo(e, t).parse();
3571
3593
  if (r.err) {
3572
3594
  var n = SyntaxError(_[r.err.kind]);
3573
3595
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3574
3596
  }
3575
- return t != null && t.captureLocation || Ft(r.val), r.val;
3597
+ return t != null && t.captureLocation || Dt(r.val), r.val;
3576
3598
  }
3577
3599
  var Ce;
3578
3600
  (function(e) {
@@ -3590,7 +3612,7 @@ var mt = (
3590
3612
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3591
3613
  }, t;
3592
3614
  }(Error)
3593
- ), mr = (
3615
+ ), br = (
3594
3616
  /** @class */
3595
3617
  function(e) {
3596
3618
  ue(t, e);
@@ -3599,7 +3621,7 @@ var mt = (
3599
3621
  }
3600
3622
  return t;
3601
3623
  }(mt)
3602
- ), ro = (
3624
+ ), oo = (
3603
3625
  /** @class */
3604
3626
  function(e) {
3605
3627
  ue(t, e);
@@ -3608,7 +3630,7 @@ var mt = (
3608
3630
  }
3609
3631
  return t;
3610
3632
  }(mt)
3611
- ), no = (
3633
+ ), so = (
3612
3634
  /** @class */
3613
3635
  function(e) {
3614
3636
  ue(t, e);
@@ -3621,17 +3643,17 @@ var mt = (
3621
3643
  (function(e) {
3622
3644
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3623
3645
  })(X || (X = {}));
3624
- function io(e) {
3646
+ function ao(e) {
3625
3647
  return e.length < 2 ? e : e.reduce(function(t, r) {
3626
3648
  var n = t[t.length - 1];
3627
3649
  return !n || n.type !== X.literal || r.type !== X.literal ? t.push(r) : n.value += r.value, t;
3628
3650
  }, []);
3629
3651
  }
3630
- function oo(e) {
3652
+ function lo(e) {
3631
3653
  return typeof e == "function";
3632
3654
  }
3633
3655
  function at(e, t, r, n, i, o, s) {
3634
- if (e.length === 1 && ar(e[0]))
3656
+ if (e.length === 1 && cr(e[0]))
3635
3657
  return [
3636
3658
  {
3637
3659
  type: X.literal,
@@ -3640,14 +3662,14 @@ function at(e, t, r, n, i, o, s) {
3640
3662
  ];
3641
3663
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3642
3664
  var c = l[u];
3643
- if (ar(c)) {
3665
+ if (cr(c)) {
3644
3666
  a.push({
3645
3667
  type: X.literal,
3646
3668
  value: c.value
3647
3669
  });
3648
3670
  continue;
3649
3671
  }
3650
- if (Hi(c)) {
3672
+ if (Ii(c)) {
3651
3673
  typeof o == "number" && a.push({
3652
3674
  type: X.literal,
3653
3675
  value: r.getNumberFormat(t).format(o)
@@ -3656,43 +3678,43 @@ function at(e, t, r, n, i, o, s) {
3656
3678
  }
3657
3679
  var f = c.value;
3658
3680
  if (!(i && f in i))
3659
- throw new no(f, s);
3681
+ throw new so(f, s);
3660
3682
  var d = i[f];
3661
- if (Ti(c)) {
3683
+ if (Ai(c)) {
3662
3684
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3663
3685
  type: typeof d == "string" ? X.literal : X.object,
3664
3686
  value: d
3665
3687
  });
3666
3688
  continue;
3667
3689
  }
3668
- if ($r(c)) {
3669
- var b = typeof c.style == "string" ? n.date[c.style] : Lt(c.style) ? c.style.parsedOptions : void 0;
3690
+ if (zr(c)) {
3691
+ var b = typeof c.style == "string" ? n.date[c.style] : Mt(c.style) ? c.style.parsedOptions : void 0;
3670
3692
  a.push({
3671
3693
  type: X.literal,
3672
3694
  value: r.getDateTimeFormat(t, b).format(d)
3673
3695
  });
3674
3696
  continue;
3675
3697
  }
3676
- if (Gr(c)) {
3677
- var b = typeof c.style == "string" ? n.time[c.style] : Lt(c.style) ? c.style.parsedOptions : n.time.medium;
3698
+ if (Xr(c)) {
3699
+ var b = typeof c.style == "string" ? n.time[c.style] : Mt(c.style) ? c.style.parsedOptions : n.time.medium;
3678
3700
  a.push({
3679
3701
  type: X.literal,
3680
3702
  value: r.getDateTimeFormat(t, b).format(d)
3681
3703
  });
3682
3704
  continue;
3683
3705
  }
3684
- if (kr(c)) {
3685
- var b = typeof c.style == "string" ? n.number[c.style] : Xr(c.style) ? c.style.parsedOptions : void 0;
3706
+ if (Vr(c)) {
3707
+ var b = typeof c.style == "string" ? n.number[c.style] : Jr(c.style) ? c.style.parsedOptions : void 0;
3686
3708
  b && b.scale && (d = d * (b.scale || 1)), a.push({
3687
3709
  type: X.literal,
3688
3710
  value: r.getNumberFormat(t, b).format(d)
3689
3711
  });
3690
3712
  continue;
3691
3713
  }
3692
- if (zr(c)) {
3714
+ if (qr(c)) {
3693
3715
  var y = c.children, g = c.value, x = i[g];
3694
- if (!oo(x))
3695
- throw new ro(g, "function", s);
3716
+ if (!lo(x))
3717
+ throw new oo(g, "function", s);
3696
3718
  var M = at(y, t, r, n, i, o), q = x(M.map(function(G) {
3697
3719
  return G.value;
3698
3720
  }));
@@ -3703,14 +3725,14 @@ function at(e, t, r, n, i, o, s) {
3703
3725
  };
3704
3726
  }));
3705
3727
  }
3706
- if (jr(c)) {
3728
+ if (Wr(c)) {
3707
3729
  var H = c.options[d] || c.options.other;
3708
3730
  if (!H)
3709
- throw new mr(c.value, d, Object.keys(c.options), s);
3731
+ throw new br(c.value, d, Object.keys(c.options), s);
3710
3732
  a.push.apply(a, at(H.value, t, r, n, i));
3711
3733
  continue;
3712
3734
  }
3713
- if (Vr(c)) {
3735
+ if (Zr(c)) {
3714
3736
  var H = c.options["=".concat(d)];
3715
3737
  if (!H) {
3716
3738
  if (!Intl.PluralRules)
@@ -3721,24 +3743,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3721
3743
  H = c.options[R] || c.options.other;
3722
3744
  }
3723
3745
  if (!H)
3724
- throw new mr(c.value, d, Object.keys(c.options), s);
3746
+ throw new br(c.value, d, Object.keys(c.options), s);
3725
3747
  a.push.apply(a, at(H.value, t, r, n, i, d - (c.offset || 0)));
3726
3748
  continue;
3727
3749
  }
3728
3750
  }
3729
- return io(a);
3751
+ return ao(a);
3730
3752
  }
3731
- function so(e, t) {
3753
+ function uo(e, t) {
3732
3754
  return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3733
3755
  return r[n] = w(w({}, e[n]), t[n] || {}), r;
3734
3756
  }, {})) : e;
3735
3757
  }
3736
- function ao(e, t) {
3758
+ function co(e, t) {
3737
3759
  return t ? Object.keys(e).reduce(function(r, n) {
3738
- return r[n] = so(e[n], t[n]), r;
3760
+ return r[n] = uo(e[n], t[n]), r;
3739
3761
  }, w({}, e)) : e;
3740
3762
  }
3741
- function St(e) {
3763
+ function Pt(e) {
3742
3764
  return {
3743
3765
  create: function() {
3744
3766
  return {
@@ -3752,39 +3774,39 @@ function St(e) {
3752
3774
  }
3753
3775
  };
3754
3776
  }
3755
- function lo(e) {
3777
+ function ho(e) {
3756
3778
  return e === void 0 && (e = {
3757
3779
  number: {},
3758
3780
  dateTime: {},
3759
3781
  pluralRules: {}
3760
3782
  }), {
3761
- getNumberFormat: Et(function() {
3783
+ getNumberFormat: wt(function() {
3762
3784
  for (var t, r = [], n = 0; n < arguments.length; n++)
3763
3785
  r[n] = arguments[n];
3764
3786
  return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3765
3787
  }, {
3766
- cache: St(e.number),
3767
- strategy: wt.variadic
3788
+ cache: Pt(e.number),
3789
+ strategy: xt.variadic
3768
3790
  }),
3769
- getDateTimeFormat: Et(function() {
3791
+ getDateTimeFormat: wt(function() {
3770
3792
  for (var t, r = [], n = 0; n < arguments.length; n++)
3771
3793
  r[n] = arguments[n];
3772
3794
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3773
3795
  }, {
3774
- cache: St(e.dateTime),
3775
- strategy: wt.variadic
3796
+ cache: Pt(e.dateTime),
3797
+ strategy: xt.variadic
3776
3798
  }),
3777
- getPluralRules: Et(function() {
3799
+ getPluralRules: wt(function() {
3778
3800
  for (var t, r = [], n = 0; n < arguments.length; n++)
3779
3801
  r[n] = arguments[n];
3780
3802
  return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3781
3803
  }, {
3782
- cache: St(e.pluralRules),
3783
- strategy: wt.variadic
3804
+ cache: Pt(e.pluralRules),
3805
+ strategy: xt.variadic
3784
3806
  })
3785
3807
  };
3786
3808
  }
3787
- var uo = (
3809
+ var fo = (
3788
3810
  /** @class */
3789
3811
  function() {
3790
3812
  function e(t, r, n, i) {
@@ -3816,13 +3838,13 @@ var uo = (
3816
3838
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3817
3839
  var s = i || {};
3818
3840
  s.formatters;
3819
- var a = $n(s, ["formatters"]);
3841
+ var a = zn(s, ["formatters"]);
3820
3842
  this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3821
3843
  } else
3822
3844
  this.ast = t;
3823
3845
  if (!Array.isArray(this.ast))
3824
3846
  throw new TypeError("A message must be provided as a String or AST.");
3825
- this.formats = ao(e.formats, n), this.formatters = i && i.formatters || lo(this.formatterCache);
3847
+ this.formats = co(e.formats, n), this.formatters = i && i.formatters || ho(this.formatterCache);
3826
3848
  }
3827
3849
  return Object.defineProperty(e, "defaultLocale", {
3828
3850
  get: function() {
@@ -3835,7 +3857,7 @@ var uo = (
3835
3857
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3836
3858
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3837
3859
  }
3838
- }, e.__parse = to, e.formats = {
3860
+ }, e.__parse = io, e.formats = {
3839
3861
  number: {
3840
3862
  integer: {
3841
3863
  maximumFractionDigits: 0
@@ -3896,7 +3918,7 @@ var uo = (
3896
3918
  }, e;
3897
3919
  }()
3898
3920
  );
3899
- function co(e, t) {
3921
+ function mo(e, t) {
3900
3922
  if (t == null)
3901
3923
  return;
3902
3924
  if (t in e)
@@ -3917,92 +3939,92 @@ function co(e, t) {
3917
3939
  n = void 0;
3918
3940
  return n;
3919
3941
  }
3920
- const he = {}, ho = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), en = (e, t) => {
3942
+ const he = {}, po = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), on = (e, t) => {
3921
3943
  if (t == null)
3922
3944
  return;
3923
3945
  if (t in he && e in he[t])
3924
3946
  return he[t][e];
3925
3947
  const r = pt(t);
3926
3948
  for (let n = 0; n < r.length; n++) {
3927
- const i = r[n], o = mo(i, e);
3949
+ const i = r[n], o = bo(i, e);
3928
3950
  if (o)
3929
- return ho(e, t, o);
3951
+ return po(e, t, o);
3930
3952
  }
3931
3953
  };
3932
- let Gt;
3954
+ let zt;
3933
3955
  const Ne = dt({});
3934
- function fo(e) {
3935
- return Gt[e] || null;
3956
+ function go(e) {
3957
+ return zt[e] || null;
3936
3958
  }
3937
- function tn(e) {
3938
- return e in Gt;
3959
+ function sn(e) {
3960
+ return e in zt;
3939
3961
  }
3940
- function mo(e, t) {
3941
- if (!tn(e))
3962
+ function bo(e, t) {
3963
+ if (!sn(e))
3942
3964
  return null;
3943
- const r = fo(e);
3944
- return co(r, t);
3965
+ const r = go(e);
3966
+ return mo(r, t);
3945
3967
  }
3946
- function po(e) {
3968
+ function vo(e) {
3947
3969
  if (e == null)
3948
3970
  return;
3949
3971
  const t = pt(e);
3950
3972
  for (let r = 0; r < t.length; r++) {
3951
3973
  const n = t[r];
3952
- if (tn(n))
3974
+ if (sn(n))
3953
3975
  return n;
3954
3976
  }
3955
3977
  }
3956
- function rn(e, ...t) {
3957
- delete he[e], Ne.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3978
+ function an(e, ...t) {
3979
+ delete he[e], Ne.update((r) => (r[e] = wi.all([r[e] || {}, ...t]), r));
3958
3980
  }
3959
3981
  Me(
3960
3982
  [Ne],
3961
3983
  ([e]) => Object.keys(e)
3962
3984
  );
3963
- Ne.subscribe((e) => Gt = e);
3985
+ Ne.subscribe((e) => zt = e);
3964
3986
  const lt = {};
3965
- function go(e, t) {
3987
+ function yo(e, t) {
3966
3988
  lt[e].delete(t), lt[e].size === 0 && delete lt[e];
3967
3989
  }
3968
- function nn(e) {
3990
+ function ln(e) {
3969
3991
  return lt[e];
3970
3992
  }
3971
- function bo(e) {
3993
+ function _o(e) {
3972
3994
  return pt(e).map((t) => {
3973
- const r = nn(t);
3995
+ const r = ln(t);
3974
3996
  return [t, r ? [...r] : []];
3975
3997
  }).filter(([, t]) => t.length > 0);
3976
3998
  }
3977
- function Dt(e) {
3999
+ function kt(e) {
3978
4000
  return e == null ? !1 : pt(e).some(
3979
4001
  (t) => {
3980
4002
  var r;
3981
- return (r = nn(t)) == null ? void 0 : r.size;
4003
+ return (r = ln(t)) == null ? void 0 : r.size;
3982
4004
  }
3983
4005
  );
3984
4006
  }
3985
- function vo(e, t) {
4007
+ function Eo(e, t) {
3986
4008
  return Promise.all(
3987
- t.map((n) => (go(e, n), n().then((i) => i.default || i)))
3988
- ).then((n) => rn(e, ...n));
4009
+ t.map((n) => (yo(e, n), n().then((i) => i.default || i)))
4010
+ ).then((n) => an(e, ...n));
3989
4011
  }
3990
4012
  const ze = {};
3991
- function on(e) {
3992
- if (!Dt(e))
4013
+ function un(e) {
4014
+ if (!kt(e))
3993
4015
  return e in ze ? ze[e] : Promise.resolve();
3994
- const t = bo(e);
4016
+ const t = _o(e);
3995
4017
  return ze[e] = Promise.all(
3996
4018
  t.map(
3997
- ([r, n]) => vo(r, n)
4019
+ ([r, n]) => Eo(r, n)
3998
4020
  )
3999
4021
  ).then(() => {
4000
- if (Dt(e))
4001
- return on(e);
4022
+ if (kt(e))
4023
+ return un(e);
4002
4024
  delete ze[e];
4003
4025
  }), ze[e];
4004
4026
  }
4005
- const yo = {
4027
+ const wo = {
4006
4028
  number: {
4007
4029
  scientific: { notation: "scientific" },
4008
4030
  engineering: { notation: "engineering" },
@@ -4031,57 +4053,57 @@ const yo = {
4031
4053
  timeZoneName: "short"
4032
4054
  }
4033
4055
  }
4034
- }, _o = {
4056
+ }, xo = {
4035
4057
  fallbackLocale: null,
4036
4058
  loadingDelay: 200,
4037
- formats: yo,
4059
+ formats: wo,
4038
4060
  warnOnMissingMessages: !0,
4039
4061
  handleMissingMessage: void 0,
4040
4062
  ignoreTag: !0
4041
- }, Eo = _o;
4063
+ }, So = xo;
4042
4064
  function Oe() {
4043
- return Eo;
4065
+ return So;
4044
4066
  }
4045
- const Pt = dt(!1);
4046
- var wo = Object.defineProperty, xo = Object.defineProperties, So = Object.getOwnPropertyDescriptors, pr = Object.getOwnPropertySymbols, Po = Object.prototype.hasOwnProperty, To = Object.prototype.propertyIsEnumerable, gr = (e, t, r) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ho = (e, t) => {
4067
+ const Tt = dt(!1);
4068
+ var Po = Object.defineProperty, To = Object.defineProperties, Ho = Object.getOwnPropertyDescriptors, vr = Object.getOwnPropertySymbols, Bo = Object.prototype.hasOwnProperty, Ao = Object.prototype.propertyIsEnumerable, yr = (e, t, r) => t in e ? Po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Io = (e, t) => {
4047
4069
  for (var r in t || (t = {}))
4048
- Po.call(t, r) && gr(e, r, t[r]);
4049
- if (pr)
4050
- for (var r of pr(t))
4051
- To.call(t, r) && gr(e, r, t[r]);
4070
+ Bo.call(t, r) && yr(e, r, t[r]);
4071
+ if (vr)
4072
+ for (var r of vr(t))
4073
+ Ao.call(t, r) && yr(e, r, t[r]);
4052
4074
  return e;
4053
- }, Bo = (e, t) => xo(e, So(t));
4054
- let kt;
4075
+ }, Co = (e, t) => To(e, Ho(t));
4076
+ let $t;
4055
4077
  const ct = dt(null);
4056
- function br(e) {
4078
+ function _r(e) {
4057
4079
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4058
4080
  }
4059
4081
  function pt(e, t = Oe().fallbackLocale) {
4060
- const r = br(e);
4061
- return t ? [.../* @__PURE__ */ new Set([...r, ...br(t)])] : r;
4082
+ const r = _r(e);
4083
+ return t ? [.../* @__PURE__ */ new Set([...r, ..._r(t)])] : r;
4062
4084
  }
4063
4085
  function be() {
4064
- return kt != null ? kt : void 0;
4086
+ return $t != null ? $t : void 0;
4065
4087
  }
4066
4088
  ct.subscribe((e) => {
4067
- kt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4089
+ $t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4068
4090
  });
4069
- const Ao = (e) => {
4070
- if (e && po(e) && Dt(e)) {
4091
+ const Oo = (e) => {
4092
+ if (e && vo(e) && kt(e)) {
4071
4093
  const { loadingDelay: t } = Oe();
4072
4094
  let r;
4073
4095
  return typeof window != "undefined" && be() != null && t ? r = window.setTimeout(
4074
- () => Pt.set(!0),
4096
+ () => Tt.set(!0),
4075
4097
  t
4076
- ) : Pt.set(!0), on(e).then(() => {
4098
+ ) : Tt.set(!0), un(e).then(() => {
4077
4099
  ct.set(e);
4078
4100
  }).finally(() => {
4079
- clearTimeout(r), Pt.set(!1);
4101
+ clearTimeout(r), Tt.set(!1);
4080
4102
  });
4081
4103
  }
4082
4104
  return ct.set(e);
4083
- }, fe = Bo(Ho({}, ct), {
4084
- set: Ao
4105
+ }, fe = Co(Io({}, ct), {
4106
+ set: Oo
4085
4107
  }), gt = (e) => {
4086
4108
  const t = /* @__PURE__ */ Object.create(null);
4087
4109
  return (n) => {
@@ -4089,20 +4111,20 @@ const Ao = (e) => {
4089
4111
  return i in t ? t[i] : t[i] = e(n);
4090
4112
  };
4091
4113
  };
4092
- var Io = Object.defineProperty, ht = Object.getOwnPropertySymbols, sn = Object.prototype.hasOwnProperty, an = Object.prototype.propertyIsEnumerable, vr = (e, t, r) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jt = (e, t) => {
4114
+ var Lo = Object.defineProperty, ht = Object.getOwnPropertySymbols, cn = Object.prototype.hasOwnProperty, hn = Object.prototype.propertyIsEnumerable, Er = (e, t, r) => t in e ? Lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xt = (e, t) => {
4093
4115
  for (var r in t || (t = {}))
4094
- sn.call(t, r) && vr(e, r, t[r]);
4116
+ cn.call(t, r) && Er(e, r, t[r]);
4095
4117
  if (ht)
4096
4118
  for (var r of ht(t))
4097
- an.call(t, r) && vr(e, r, t[r]);
4119
+ hn.call(t, r) && Er(e, r, t[r]);
4098
4120
  return e;
4099
4121
  }, Re = (e, t) => {
4100
4122
  var r = {};
4101
4123
  for (var n in e)
4102
- sn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4124
+ cn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4103
4125
  if (e != null && ht)
4104
4126
  for (var n of ht(e))
4105
- t.indexOf(n) < 0 && an.call(e, n) && (r[n] = e[n]);
4127
+ t.indexOf(n) < 0 && hn.call(e, n) && (r[n] = e[n]);
4106
4128
  return r;
4107
4129
  };
4108
4130
  const qe = (e, t) => {
@@ -4110,21 +4132,21 @@ const qe = (e, t) => {
4110
4132
  if (e in r && t in r[e])
4111
4133
  return r[e][t];
4112
4134
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4113
- }, Co = gt(
4135
+ }, Mo = gt(
4114
4136
  (e) => {
4115
4137
  var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4116
4138
  if (r == null)
4117
4139
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4118
4140
  return n && (i = qe("number", n)), new Intl.NumberFormat(r, i);
4119
4141
  }
4120
- ), Oo = gt(
4142
+ ), No = gt(
4121
4143
  (e) => {
4122
4144
  var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4123
4145
  if (r == null)
4124
4146
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4125
4147
  return n ? i = qe("date", n) : Object.keys(i).length === 0 && (i = qe("date", "short")), new Intl.DateTimeFormat(r, i);
4126
4148
  }
4127
- ), Lo = gt(
4149
+ ), Ro = gt(
4128
4150
  (e) => {
4129
4151
  var t = e, { locale: r, format: n } = t, i = Re(t, ["locale", "format"]);
4130
4152
  if (r == null)
@@ -4133,33 +4155,33 @@ const qe = (e, t) => {
4133
4155
  );
4134
4156
  return n ? i = qe("time", n) : Object.keys(i).length === 0 && (i = qe("time", "short")), new Intl.DateTimeFormat(r, i);
4135
4157
  }
4136
- ), Mo = (e = {}) => {
4158
+ ), Uo = (e = {}) => {
4137
4159
  var t = e, {
4138
4160
  locale: r = be()
4139
4161
  } = t, n = Re(t, [
4140
4162
  "locale"
4141
4163
  ]);
4142
- return Co(jt({ locale: r }, n));
4143
- }, No = (e = {}) => {
4164
+ return Mo(Xt({ locale: r }, n));
4165
+ }, Fo = (e = {}) => {
4144
4166
  var t = e, {
4145
4167
  locale: r = be()
4146
4168
  } = t, n = Re(t, [
4147
4169
  "locale"
4148
4170
  ]);
4149
- return Oo(jt({ locale: r }, n));
4150
- }, Ro = (e = {}) => {
4171
+ return No(Xt({ locale: r }, n));
4172
+ }, Do = (e = {}) => {
4151
4173
  var t = e, {
4152
4174
  locale: r = be()
4153
4175
  } = t, n = Re(t, [
4154
4176
  "locale"
4155
4177
  ]);
4156
- return Lo(jt({ locale: r }, n));
4157
- }, Uo = gt(
4178
+ return Ro(Xt({ locale: r }, n));
4179
+ }, ko = gt(
4158
4180
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4159
- (e, t = be()) => new uo(e, t, Oe().formats, {
4181
+ (e, t = be()) => new fo(e, t, Oe().formats, {
4160
4182
  ignoreTag: Oe().ignoreTag
4161
4183
  })
4162
- ), Fo = (e, t = {}) => {
4184
+ ), $o = (e, t = {}) => {
4163
4185
  var r, n, i, o;
4164
4186
  let s = t;
4165
4187
  typeof e == "object" && (s = e, e = s.id);
@@ -4172,7 +4194,7 @@ const qe = (e, t) => {
4172
4194
  throw new Error(
4173
4195
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4174
4196
  );
4175
- let c = en(e, u);
4197
+ let c = on(e, u);
4176
4198
  if (!c)
4177
4199
  c = (o = (i = (n = (r = Oe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4178
4200
  else if (typeof c != "string")
@@ -4183,7 +4205,7 @@ const qe = (e, t) => {
4183
4205
  return c;
4184
4206
  let f = c;
4185
4207
  try {
4186
- f = Uo(c, u).format(a);
4208
+ f = ko(c, u).format(a);
4187
4209
  } catch (d) {
4188
4210
  d instanceof Error && console.warn(
4189
4211
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4191,13 +4213,13 @@ const qe = (e, t) => {
4191
4213
  );
4192
4214
  }
4193
4215
  return f;
4194
- }, Do = (e, t) => Ro(t).format(e), ko = (e, t) => No(t).format(e), $o = (e, t) => Mo(t).format(e), Go = (e, t = be()) => en(e, t), jo = Me([fe, Ne], () => Fo);
4195
- Me([fe], () => Do);
4196
- Me([fe], () => ko);
4197
- Me([fe], () => $o);
4198
- Me([fe, Ne], () => Go);
4199
- window.emWidgets = { topic: ti };
4200
- const Vo = (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));
4216
+ }, Go = (e, t) => Do(t).format(e), jo = (e, t) => Fo(t).format(e), Vo = (e, t) => Uo(t).format(e), zo = (e, t = be()) => on(e, t), Xo = Me([fe, Ne], () => $o);
4217
+ Me([fe], () => Go);
4218
+ Me([fe], () => jo);
4219
+ Me([fe], () => Vo);
4220
+ Me([fe, Ne], () => zo);
4221
+ window.emWidgets = { topic: oi };
4222
+ const Wo = (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));
4201
4223
  if (typeof window != "undefined") {
4202
4224
  let e = function(t) {
4203
4225
  return function(...r) {
@@ -4210,22 +4232,22 @@ if (typeof window != "undefined") {
4210
4232
  }
4211
4233
  };
4212
4234
  };
4213
- customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-CmqTxkUU.js").then(({ default: t }) => {
4235
+ customElements.define = e(customElements.define), import("./GeneralPlayerSmsVerificationForm-B6d2Y3hF.js").then(({ default: t }) => {
4214
4236
  !customElements.get("general-player-sms-verification-form") && customElements.define("general-player-sms-verification-form", t.element);
4215
4237
  });
4216
4238
  }
4217
- function zo({ withLocale: e, translations: t }) {
4239
+ function Zo({ withLocale: e, translations: t }) {
4218
4240
  fe.subscribe((r) => {
4219
4241
  r == null && (Ne.set(t), fe.set(e));
4220
4242
  });
4221
4243
  }
4222
- function yr(e, t) {
4223
- rn(e, t);
4244
+ function wr(e, t) {
4245
+ an(e, t);
4224
4246
  }
4225
- function Xo(e) {
4247
+ function qo(e) {
4226
4248
  fe.set(e);
4227
4249
  }
4228
- const _r = {
4250
+ const xr = {
4229
4251
  en: {
4230
4252
  loginTitle: "Welcome",
4231
4253
  loginSubtitle: "Don't have an account yet?",
@@ -4369,15 +4391,15 @@ const _r = {
4369
4391
  loginForgotPassword: "I forgot my password",
4370
4392
  successMessage: "Login successful"
4371
4393
  }
4372
- }, { document: Er } = yn;
4373
- function Wo(e) {
4374
- _n(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)}}');
4394
+ }, { document: Sr } = xn;
4395
+ function Jo(e) {
4396
+ Sn(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)}}');
4375
4397
  }
4376
- function wr(e) {
4398
+ function Pr(e) {
4377
4399
  let t, r;
4378
4400
  return {
4379
4401
  c() {
4380
- t = S("script"), Qt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4402
+ t = S("script"), er(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4381
4403
  e[1]) || h(t, "src", r), t.async = !0, t.defer = !0;
4382
4404
  },
4383
4405
  m(n, i) {
@@ -4385,7 +4407,7 @@ function wr(e) {
4385
4407
  },
4386
4408
  p(n, i) {
4387
4409
  i[0] & /*captchakey*/
4388
- 2 && !Qt(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4410
+ 2 && !er(t.src, r = "//www.google.com/recaptcha/api.js?render=" + /*captchakey*/
4389
4411
  n[1]) && h(t, "src", r);
4390
4412
  },
4391
4413
  d(n) {
@@ -4393,12 +4415,12 @@ function wr(e) {
4393
4415
  }
4394
4416
  };
4395
4417
  }
4396
- function Zo(e) {
4418
+ function Qo(e) {
4397
4419
  let t, r, n;
4398
4420
  function i(a, u) {
4399
4421
  return (
4400
4422
  /*startSmsValidation*/
4401
- a[20] ? Qo : Jo
4423
+ a[20] ? es : Ko
4402
4424
  );
4403
4425
  }
4404
4426
  let o = i(e), s = o(e);
@@ -4420,7 +4442,7 @@ function Zo(e) {
4420
4442
  }
4421
4443
  };
4422
4444
  }
4423
- function qo(e) {
4445
+ function Yo(e) {
4424
4446
  let t;
4425
4447
  return {
4426
4448
  c() {
@@ -4435,7 +4457,7 @@ function qo(e) {
4435
4457
  }
4436
4458
  };
4437
4459
  }
4438
- function Jo(e) {
4460
+ function Ko(e) {
4439
4461
  let t, r, n = (
4440
4462
  /*$_*/
4441
4463
  e[21]("loginTitle") + ""
@@ -4459,25 +4481,25 @@ function Jo(e) {
4459
4481
  e[21]("loginForgotPassword") + ""
4460
4482
  ), Ge, je, Ye, U = (
4461
4483
  /*invalidName*/
4462
- e[13] && xr(e)
4484
+ e[13] && Tr(e)
4463
4485
  );
4464
4486
  function Ke(v, P) {
4465
4487
  return (
4466
4488
  /*isPasswordVisible*/
4467
- v[18] ? Ko : Yo
4489
+ v[18] ? rs : ts
4468
4490
  );
4469
4491
  }
4470
4492
  let xe = Ke(e), Q = xe(e), F = (
4471
4493
  /*invalidPassword*/
4472
4494
  e[14] && /*simplepasswordvalidation*/
4473
- e[2] !== "true" && Sr(e)
4495
+ e[2] !== "true" && Hr(e)
4474
4496
  ), D = (
4475
4497
  /*invalidPassword*/
4476
4498
  e[14] && /*simplepasswordvalidation*/
4477
- e[2] === "true" && Pr(e)
4499
+ e[2] === "true" && Br(e)
4478
4500
  ), k = (
4479
4501
  /*errorMessage*/
4480
- e[15] && Tr(e)
4502
+ e[15] && Ar(e)
4481
4503
  );
4482
4504
  return {
4483
4505
  c() {
@@ -4560,7 +4582,7 @@ function Jo(e) {
4560
4582
  /*userValue*/
4561
4583
  v[11]
4562
4584
  ), /*invalidName*/
4563
- v[13] ? U ? U.p(v, P) : (U = xr(v), U.c(), U.m(x, null)) : U && (U.d(1), U = null), P[0] & /*invalidName*/
4585
+ v[13] ? U ? U.p(v, P) : (U = Tr(v), U.c(), U.m(x, null)) : U && (U.d(1), U = null), P[0] & /*invalidName*/
4564
4586
  8192 && ie !== (ie = "UserContainer " + /*invalidName*/
4565
4587
  (v[13] ? "InvalidField" : "")) && h(x, "class", ie), P[0] & /*$_*/
4566
4588
  2097152 && ve !== (ve = /*$_*/
@@ -4574,12 +4596,12 @@ function Jo(e) {
4574
4596
  v[12]
4575
4597
  ), xe === (xe = Ke(v)) && Q ? Q.p(v, P) : (Q.d(1), Q = xe(v), Q && (Q.c(), Q.m(A, _e))), /*invalidPassword*/
4576
4598
  v[14] && /*simplepasswordvalidation*/
4577
- v[2] !== "true" ? F ? F.p(v, P) : (F = Sr(v), F.c(), F.m(A, Ee)) : F && (F.d(1), F = null), /*invalidPassword*/
4599
+ v[2] !== "true" ? F ? F.p(v, P) : (F = Hr(v), F.c(), F.m(A, Ee)) : F && (F.d(1), F = null), /*invalidPassword*/
4578
4600
  v[14] && /*simplepasswordvalidation*/
4579
- v[2] === "true" ? D ? D.p(v, P) : (D = Pr(v), D.c(), D.m(A, null)) : D && (D.d(1), D = null), P[0] & /*invalidPassword*/
4601
+ v[2] === "true" ? D ? D.p(v, P) : (D = Br(v), D.c(), D.m(A, null)) : D && (D.d(1), D = null), P[0] & /*invalidPassword*/
4580
4602
  16384 && me !== (me = "PasswordContainer " + /*invalidPassword*/
4581
4603
  (v[14] ? "InvalidField" : "")) && h(A, "class", me), /*errorMessage*/
4582
- v[15] ? k ? k.p(v, P) : (k = Tr(v), k.c(), k.m(g, pe)) : k && (k.d(1), k = null), P[0] & /*$_*/
4604
+ v[15] ? k ? k.p(v, P) : (k = Ar(v), k.c(), k.m(g, pe)) : k && (k.d(1), k = null), P[0] & /*$_*/
4583
4605
  2097152 && ge !== (ge = /*$_*/
4584
4606
  v[21]("loginButton") + "") && re($e, ge), P[0] & /*isFormDataInvalid*/
4585
4607
  524288 && (ee.disabled = /*isFormDataInvalid*/
@@ -4592,7 +4614,7 @@ function Jo(e) {
4592
4614
  }
4593
4615
  };
4594
4616
  }
4595
- function Qo(e) {
4617
+ function es(e) {
4596
4618
  let t;
4597
4619
  return {
4598
4620
  c() {
@@ -4675,7 +4697,7 @@ function Qo(e) {
4675
4697
  }
4676
4698
  };
4677
4699
  }
4678
- function xr(e) {
4700
+ function Tr(e) {
4679
4701
  let t, r = (
4680
4702
  /*$_*/
4681
4703
  e[21]("loginUsernameError") + ""
@@ -4697,7 +4719,7 @@ function xr(e) {
4697
4719
  }
4698
4720
  };
4699
4721
  }
4700
- function Yo(e) {
4722
+ function ts(e) {
4701
4723
  let t, r, n, i, o, s, a, u, l;
4702
4724
  return {
4703
4725
  c() {
@@ -4717,7 +4739,7 @@ function Yo(e) {
4717
4739
  }
4718
4740
  };
4719
4741
  }
4720
- function Ko(e) {
4742
+ function rs(e) {
4721
4743
  let t, r, n, i, o, s, a, u, l, c, f, d, b, y, g;
4722
4744
  return {
4723
4745
  c() {
@@ -4737,7 +4759,7 @@ function Ko(e) {
4737
4759
  }
4738
4760
  };
4739
4761
  }
4740
- function Sr(e) {
4762
+ function Hr(e) {
4741
4763
  let t, r = (
4742
4764
  /*$_*/
4743
4765
  e[21]("loginPasswordError") + ""
@@ -4759,7 +4781,7 @@ function Sr(e) {
4759
4781
  }
4760
4782
  };
4761
4783
  }
4762
- function Pr(e) {
4784
+ function Br(e) {
4763
4785
  let t, r = (
4764
4786
  /*$_*/
4765
4787
  e[21]("loginSimplePasswordError") + ""
@@ -4781,7 +4803,7 @@ function Pr(e) {
4781
4803
  }
4782
4804
  };
4783
4805
  }
4784
- function Tr(e) {
4806
+ function Ar(e) {
4785
4807
  let t, r;
4786
4808
  return {
4787
4809
  c() {
@@ -4806,21 +4828,21 @@ function Tr(e) {
4806
4828
  }
4807
4829
  };
4808
4830
  }
4809
- function es(e) {
4831
+ function ns(e) {
4810
4832
  let t, r, n, i, o, s = (
4811
4833
  /*captchakey*/
4812
- e[1] && wr(e)
4834
+ e[1] && Pr(e)
4813
4835
  );
4814
4836
  function a(c, f) {
4815
4837
  return (
4816
4838
  /*isLoading*/
4817
- c[16] ? qo : Zo
4839
+ c[16] ? Yo : Qo
4818
4840
  );
4819
4841
  }
4820
4842
  let u = a(e), l = u(e);
4821
4843
  return {
4822
4844
  c() {
4823
- s && s.c(), t = xn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4845
+ s && s.c(), t = Hn(), r = z(), n = S("div"), i = z(), o = S("div"), l.c(), h(n, "class", "g-recaptcha"), h(
4824
4846
  n,
4825
4847
  "data-sitekey",
4826
4848
  /*captchakey*/
@@ -4828,11 +4850,11 @@ function es(e) {
4828
4850
  ), h(o, "class", "PlayerLoginFormWrapper");
4829
4851
  },
4830
4852
  m(c, f) {
4831
- s && s.m(Er.head, null), p(Er.head, t), L(c, r, f), L(c, n, f), L(c, i, f), L(c, o, f), l.m(o, null), e[40](o);
4853
+ s && s.m(Sr.head, null), p(Sr.head, t), L(c, r, f), L(c, n, f), L(c, i, f), L(c, o, f), l.m(o, null), e[40](o);
4832
4854
  },
4833
4855
  p(c, f) {
4834
4856
  /*captchakey*/
4835
- c[1] ? s ? s.p(c, f) : (s = wr(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4857
+ c[1] ? s ? s.p(c, f) : (s = Pr(c), s.c(), s.m(t.parentNode, t)) : s && (s.d(1), s = null), f[0] & /*captchakey*/
4836
4858
  2 && h(
4837
4859
  n,
4838
4860
  "data-sitekey",
@@ -4847,27 +4869,27 @@ function es(e) {
4847
4869
  }
4848
4870
  };
4849
4871
  }
4850
- let ts = "Please use this code {0} to activate your account";
4851
- function rs(e, t, r) {
4872
+ let is = "Please use this code {0} to activate your account";
4873
+ function os(e, t, r) {
4852
4874
  let n;
4853
- vn(e, jo, (m) => r(21, n = m));
4875
+ wn(e, Xo, (m) => r(21, n = m));
4854
4876
  let { endpoint: i = "" } = t, { captchakey: o = "" } = t, { lang: s = "en" } = t, { smsverification: a = "false" } = t, { simplepasswordvalidation: u = "false" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { savecredentials: d = "" } = t, b, y, g = !1, x, M = !1, q = window.navigator.userAgent, H = "", R = "", G = { username: "", password: "" }, J = !1, B = !1, oe = "", ne = !1, ie, de = !1, A = !0, W, ve = +localStorage.getItem("smsTimer") || 0, Ue = Date.now() / 1e3 - ve, Fe = localStorage.getItem("smsValidation") == "true" && Ue < 60, se = {
4855
4877
  user: /^(?!(?:.*\d){9})(?=(?:.*[a-zA-Z]){4})^[a-zA-Z\d]*$/,
4856
4878
  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,
4857
4879
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
4858
4880
  };
4859
- zo({ withLocale: "en", translations: {} });
4881
+ Zo({ withLocale: "en", translations: {} });
4860
4882
  const Je = () => {
4861
4883
  fetch(f).then(($) => $.json()).then(($) => {
4862
4884
  Object.keys($).forEach((j) => {
4863
- yr(j, $[j]);
4885
+ wr(j, $[j]);
4864
4886
  });
4865
4887
  }).catch(($) => {
4866
4888
  console.log($);
4867
4889
  });
4868
4890
  };
4869
- Object.keys(_r).forEach((m) => {
4870
- yr(m, _r[m]);
4891
+ Object.keys(xr).forEach((m) => {
4892
+ wr(m, xr[m]);
4871
4893
  });
4872
4894
  const C = () => new Promise((m, $) => {
4873
4895
  grecaptcha.ready(() => {
@@ -4916,16 +4938,16 @@ function rs(e, t, r) {
4916
4938
  typeof gtag == "function" && gtag("event", "Login", {
4917
4939
  context: "GeneralPlayerLoginRegisterPage"
4918
4940
  });
4919
- }, Ge = (Vt) => et(this, [Vt], function* ({ username: m, password: $, token: j }) {
4920
- let zt = {
4941
+ }, Ge = (Wt) => et(this, [Wt], function* ({ username: m, password: $, token: j }) {
4942
+ let Zt = {
4921
4943
  "Content-Type": "application/json",
4922
4944
  "g-recaptcha-response": j
4923
- }, bt = { username: m, password: $ }, hn = {
4945
+ }, bt = { username: m, password: $ }, pn = {
4924
4946
  method: "POST",
4925
- headers: zt,
4947
+ headers: Zt,
4926
4948
  body: JSON.stringify(bt)
4927
4949
  };
4928
- fetch(`${i}/v1/player/login/player`, hn).then((V) => (V.status >= 500 && (r(15, oe = "Server might not be responsing"), r(16, ne = !1), window.postMessage(
4950
+ fetch(`${i}/v1/player/login/player`, pn).then((V) => (V.status >= 500 && (r(15, oe = "Server might not be responsing"), r(16, ne = !1), window.postMessage(
4929
4951
  {
4930
4952
  type: "WidgetNotification",
4931
4953
  data: {
@@ -4971,11 +4993,11 @@ function rs(e, t, r) {
4971
4993
  window.location.href
4972
4994
  );
4973
4995
  } catch (Ve) {
4974
- let Xt = V.error.substring(V.error.indexOf("errorMessage") + 13, V.error.length);
4975
- r(15, oe = Xt), r(16, ne = !1), window.postMessage(
4996
+ let qt = V.error.substring(V.error.indexOf("errorMessage") + 13, V.error.length);
4997
+ r(15, oe = qt), r(16, ne = !1), window.postMessage(
4976
4998
  {
4977
4999
  type: "WidgetNotification",
4978
- data: { type: "error", message: Xt }
5000
+ data: { type: "error", message: qt }
4979
5001
  },
4980
5002
  window.location.href
4981
5003
  );
@@ -4992,13 +5014,13 @@ function rs(e, t, r) {
4992
5014
  },
4993
5015
  body: JSON.stringify({
4994
5016
  userId: $,
4995
- messageTemplate: ts,
5017
+ messageTemplate: is,
4996
5018
  destination: m
4997
5019
  })
4998
- }), Vt = yield j.json();
5020
+ }), Wt = yield j.json();
4999
5021
  if (j.ok) {
5000
- r(8, y = Vt.id);
5001
- let zt = Vt.maxValidationAttempts;
5022
+ r(8, y = Wt.id);
5023
+ let Zt = Wt.maxValidationAttempts;
5002
5024
  g = !1;
5003
5025
  } else
5004
5026
  throw g = !0, new Error("Failed to fetch");
@@ -5006,7 +5028,7 @@ function rs(e, t, r) {
5006
5028
  g = !0, console.error(j);
5007
5029
  }
5008
5030
  }), Ye = () => {
5009
- Xo(s);
5031
+ qo(s);
5010
5032
  }, U = () => {
5011
5033
  let m = document.createElement("style");
5012
5034
  m.innerHTML = l, W.appendChild(m);
@@ -5025,7 +5047,7 @@ function rs(e, t, r) {
5025
5047
  );
5026
5048
  });
5027
5049
  };
5028
- Hn(() => (window.addEventListener("message", ce, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = Vo(q)), () => {
5050
+ Cn(() => (window.addEventListener("message", ce, !1), window.postMessage({ type: "LoginRegisterModalActive" }, window.location.href), r(10, M = Wo(q)), () => {
5029
5051
  window.removeEventListener("message", ce);
5030
5052
  }));
5031
5053
  const xe = () => me();
@@ -5040,8 +5062,8 @@ function rs(e, t, r) {
5040
5062
  ie = m, r(17, ie);
5041
5063
  });
5042
5064
  }
5043
- const k = () => _e(), v = () => De(), P = (m) => pe(m), un = (m) => ke(m);
5044
- function cn(m) {
5065
+ const k = () => _e(), v = () => De(), P = (m) => pe(m), dn = (m) => ke(m);
5066
+ function mn(m) {
5045
5067
  ut[m ? "unshift" : "push"](() => {
5046
5068
  W = m, r(6, W);
5047
5069
  });
@@ -5095,18 +5117,18 @@ function rs(e, t, r) {
5095
5117
  k,
5096
5118
  v,
5097
5119
  P,
5098
- un,
5099
- cn
5120
+ dn,
5121
+ mn
5100
5122
  ];
5101
5123
  }
5102
- class ln extends Dn {
5124
+ class fn extends jn {
5103
5125
  constructor(t) {
5104
- super(), Un(
5126
+ super(), $n(
5105
5127
  this,
5106
5128
  t,
5107
- rs,
5108
- es,
5109
- Br,
5129
+ os,
5130
+ ns,
5131
+ Cr,
5110
5132
  {
5111
5133
  endpoint: 0,
5112
5134
  captchakey: 1,
@@ -5118,7 +5140,7 @@ class ln extends Dn {
5118
5140
  translationurl: 31,
5119
5141
  savecredentials: 5
5120
5142
  },
5121
- Wo,
5143
+ Jo,
5122
5144
  [-1, -1]
5123
5145
  );
5124
5146
  }
@@ -5177,36 +5199,36 @@ class ln extends Dn {
5177
5199
  this.$$set({ savecredentials: t }), te();
5178
5200
  }
5179
5201
  }
5180
- Fn(ln, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5181
- const is = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5202
+ Gn(fn, { endpoint: {}, captchakey: {}, lang: {}, smsverification: {}, simplepasswordvalidation: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, savecredentials: {} }, [], [], !0);
5203
+ const as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5182
5204
  __proto__: null,
5183
- default: ln
5205
+ default: fn
5184
5206
  }, Symbol.toStringTag, { value: "Module" }));
5185
5207
  export {
5186
5208
  fe as $,
5187
- is as G,
5188
- Dn as S,
5209
+ as as G,
5210
+ jn as S,
5189
5211
  Ne as a,
5190
- rn as b,
5191
- _n as c,
5192
- I as d,
5193
- re as e,
5212
+ an as b,
5213
+ Gn as c,
5214
+ Sn as d,
5215
+ S as e,
5194
5216
  te as f,
5195
- rt as g,
5217
+ z as g,
5196
5218
  h,
5197
- Un as i,
5219
+ $n as i,
5198
5220
  L as j,
5199
5221
  p as k,
5200
- ae as l,
5201
- S as m,
5202
- Z as n,
5203
- z as o,
5204
- vn as p,
5205
- Hn as q,
5222
+ rt as l,
5223
+ ae as m,
5224
+ re as n,
5225
+ Z as o,
5226
+ I as p,
5227
+ wn as q,
5206
5228
  Le as r,
5207
- Br as s,
5229
+ Cr as s,
5208
5230
  N as t,
5209
- ut as u,
5210
- Fn as v,
5211
- jo as w
5231
+ Cn as u,
5232
+ ut as v,
5233
+ Xo as w
5212
5234
  };