@everymatrix/general-logout 1.60.1 → 1.60.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
1
  function B() {
2
2
  }
3
- function St(e) {
3
+ function _t(e) {
4
4
  return e();
5
5
  }
6
- function qe() {
6
+ function Qe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ie(e) {
10
- e.forEach(St);
10
+ e.forEach(_t);
11
11
  }
12
- function ze(e) {
12
+ function We(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Tt(e, t) {
15
+ function xt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function ar(e) {
18
+ function nr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Ht(e, ...t) {
21
+ function Et(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function Ht(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function ur(e, t, r) {
31
- e.$$.on_destroy.push(Ht(t, r));
30
+ function ir(e, t, r) {
31
+ e.$$.on_destroy.push(Et(t, r));
32
32
  }
33
33
  function S(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function hr(e, t, r) {
37
- const n = lr(e);
36
+ function or(e, t, r) {
37
+ const n = sr(e);
38
38
  if (!n.getElementById(t)) {
39
39
  const i = P("style");
40
- i.id = t, i.textContent = r, cr(n, i);
40
+ i.id = t, i.textContent = r, ar(n, i);
41
41
  }
42
42
  }
43
- function lr(e) {
43
+ function sr(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,7 +50,7 @@ function lr(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function cr(e, t) {
53
+ function ar(e, t) {
54
54
  return S(
55
55
  /** @type {Document} */
56
56
  e.head || e,
@@ -72,26 +72,26 @@ function q(e) {
72
72
  function be(e) {
73
73
  return document.createTextNode(e);
74
74
  }
75
- function fr() {
75
+ function ur() {
76
76
  return be(" ");
77
77
  }
78
- function Bt(e, t, r, n) {
78
+ function St(e, t, r, n) {
79
79
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
80
80
  }
81
81
  function T(e, t, r) {
82
82
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
83
83
  }
84
- function pr(e) {
84
+ function hr(e) {
85
85
  return Array.from(e.childNodes);
86
86
  }
87
- function wt(e, t) {
87
+ function Tt(e, t) {
88
88
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
89
89
  t);
90
90
  }
91
- function dr(e, t, r, n) {
91
+ function lr(e, t, r, n) {
92
92
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
93
93
  }
94
- function mr(e) {
94
+ function cr(e) {
95
95
  const t = {};
96
96
  return e.childNodes.forEach(
97
97
  /** @param {Element} node */
@@ -104,81 +104,81 @@ let te;
104
104
  function ee(e) {
105
105
  te = e;
106
106
  }
107
- function br() {
107
+ function fr() {
108
108
  if (!te)
109
109
  throw new Error("Function called outside component initialization");
110
110
  return te;
111
111
  }
112
- function gr(e) {
113
- br().$$.on_mount.push(e);
112
+ function pr(e) {
113
+ fr().$$.on_mount.push(e);
114
114
  }
115
- const F = [], Ie = [];
115
+ const F = [], Oe = [];
116
116
  let j = [];
117
- const Ke = [], yr = /* @__PURE__ */ Promise.resolve();
118
- let Le = !1;
119
- function vr() {
120
- Le || (Le = !0, yr.then(w));
117
+ const Je = [], dr = /* @__PURE__ */ Promise.resolve();
118
+ let Ie = !1;
119
+ function mr() {
120
+ Ie || (Ie = !0, dr.then(w));
121
121
  }
122
- function Ne(e) {
122
+ function Le(e) {
123
123
  j.push(e);
124
124
  }
125
125
  const Se = /* @__PURE__ */ new Set();
126
- let D = 0;
126
+ let G = 0;
127
127
  function w() {
128
- if (D !== 0)
128
+ if (G !== 0)
129
129
  return;
130
130
  const e = te;
131
131
  do {
132
132
  try {
133
- for (; D < F.length; ) {
134
- const t = F[D];
135
- D++, ee(t), Er(t.$$);
133
+ for (; G < F.length; ) {
134
+ const t = F[G];
135
+ G++, ee(t), br(t.$$);
136
136
  }
137
137
  } catch (t) {
138
- throw F.length = 0, D = 0, t;
138
+ throw F.length = 0, G = 0, t;
139
139
  }
140
- for (ee(null), F.length = 0, D = 0; Ie.length; )
141
- Ie.pop()();
140
+ for (ee(null), F.length = 0, G = 0; Oe.length; )
141
+ Oe.pop()();
142
142
  for (let t = 0; t < j.length; t += 1) {
143
143
  const r = j[t];
144
144
  Se.has(r) || (Se.add(r), r());
145
145
  }
146
146
  j.length = 0;
147
147
  } while (F.length);
148
- for (; Ke.length; )
149
- Ke.pop()();
150
- Le = !1, Se.clear(), ee(e);
148
+ for (; Je.length; )
149
+ Je.pop()();
150
+ Ie = !1, Se.clear(), ee(e);
151
151
  }
152
- function Er(e) {
152
+ function br(e) {
153
153
  if (e.fragment !== null) {
154
154
  e.update(), ie(e.before_update);
155
155
  const t = e.dirty;
156
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
156
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
157
157
  }
158
158
  }
159
- function _r(e) {
159
+ function gr(e) {
160
160
  const t = [], r = [];
161
161
  j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
162
162
  }
163
- const xr = /* @__PURE__ */ new Set();
164
- function Sr(e, t) {
165
- e && e.i && (xr.delete(e), e.i(t));
163
+ const yr = /* @__PURE__ */ new Set();
164
+ function vr(e, t) {
165
+ e && e.i && (yr.delete(e), e.i(t));
166
166
  }
167
- function Tr(e, t, r) {
167
+ function _r(e, t, r) {
168
168
  const { fragment: n, after_update: i } = e.$$;
169
- n && n.m(t, r), Ne(() => {
170
- const o = e.$$.on_mount.map(St).filter(ze);
169
+ n && n.m(t, r), Le(() => {
170
+ const o = e.$$.on_mount.map(_t).filter(We);
171
171
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
172
- }), i.forEach(Ne);
172
+ }), i.forEach(Le);
173
173
  }
174
- function Hr(e, t) {
174
+ function xr(e, t) {
175
175
  const r = e.$$;
176
- r.fragment !== null && (_r(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
176
+ r.fragment !== null && (gr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
177
177
  }
178
- function Br(e, t) {
179
- e.$$.dirty[0] === -1 && (F.push(e), vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
178
+ function Er(e, t) {
179
+ e.$$.dirty[0] === -1 && (F.push(e), mr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
180
180
  }
181
- function wr(e, t, r, n, i, o, s = null, a = [-1]) {
181
+ function Sr(e, t, r, n, i, o, s = null, a = [-1]) {
182
182
  const h = te;
183
183
  ee(e);
184
184
  const u = e.$$ = {
@@ -188,7 +188,7 @@ function wr(e, t, r, n, i, o, s = null, a = [-1]) {
188
188
  props: o,
189
189
  update: B,
190
190
  not_equal: i,
191
- bound: qe(),
191
+ bound: Qe(),
192
192
  // lifecycle
193
193
  on_mount: [],
194
194
  on_destroy: [],
@@ -197,7 +197,7 @@ function wr(e, t, r, n, i, o, s = null, a = [-1]) {
197
197
  after_update: [],
198
198
  context: new Map(t.context || (h ? h.$$.context : [])),
199
199
  // everything else
200
- callbacks: qe(),
200
+ callbacks: Qe(),
201
201
  dirty: a,
202
202
  skip_bound: !1,
203
203
  root: t.target || h.$$.root
@@ -206,19 +206,19 @@ function wr(e, t, r, n, i, o, s = null, a = [-1]) {
206
206
  let l = !1;
207
207
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
208
208
  const d = p.length ? p[0] : c;
209
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Br(e, f)), c;
209
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Er(e, f)), c;
210
210
  }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
211
211
  if (t.hydrate) {
212
- const f = pr(t.target);
212
+ const f = hr(t.target);
213
213
  u.fragment && u.fragment.l(f), f.forEach(Z);
214
214
  } else
215
215
  u.fragment && u.fragment.c();
216
- t.intro && Sr(e.$$.fragment), Tr(e, t.target, t.anchor), w();
216
+ t.intro && vr(e.$$.fragment), _r(e, t.target, t.anchor), w();
217
217
  }
218
218
  ee(h);
219
219
  }
220
- let At;
221
- typeof HTMLElement == "function" && (At = class extends HTMLElement {
220
+ let Ht;
221
+ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
222
222
  /** The Svelte component constructor */
223
223
  $$ctor;
224
224
  /** Slots */
@@ -277,7 +277,7 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
277
277
  };
278
278
  if (await Promise.resolve(), !this.$$cn || this.$$c)
279
279
  return;
280
- const t = {}, r = mr(this);
280
+ const t = {}, r = cr(this);
281
281
  for (const i of this.$$s)
282
282
  i in r && (t[i] = [e(i)]);
283
283
  for (const i of this.attributes) {
@@ -364,8 +364,8 @@ function le(e, t, r, n) {
364
364
  return t;
365
365
  }
366
366
  }
367
- function Ar(e, t, r, n, i, o) {
368
- let s = class extends At {
367
+ function Tr(e, t, r, n, i, o) {
368
+ let s = class extends Ht {
369
369
  constructor() {
370
370
  super(e, r, i), this.$$p_d = t;
371
371
  }
@@ -393,7 +393,7 @@ function Ar(e, t, r, n, i, o) {
393
393
  }), e.element = /** @type {any} */
394
394
  s, s;
395
395
  }
396
- class Pr {
396
+ class Hr {
397
397
  /**
398
398
  * ### PRIVATE API
399
399
  *
@@ -412,7 +412,7 @@ class Pr {
412
412
  $$set = void 0;
413
413
  /** @returns {void} */
414
414
  $destroy() {
415
- Hr(this, 1), this.$destroy = B;
415
+ xr(this, 1), this.$destroy = B;
416
416
  }
417
417
  /**
418
418
  * @template {Extract<keyof Events, string>} K
@@ -421,7 +421,7 @@ class Pr {
421
421
  * @returns {() => void}
422
422
  */
423
423
  $on(t, r) {
424
- if (!ze(r))
424
+ if (!We(r))
425
425
  return B;
426
426
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
427
427
  return n.push(r), () => {
@@ -434,11 +434,11 @@ class Pr {
434
434
  * @returns {void}
435
435
  */
436
436
  $set(t) {
437
- this.$$set && !ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
437
+ this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
438
438
  }
439
439
  }
440
- const Or = "4";
441
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
440
+ const Br = "4";
441
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
442
442
  /*! *****************************************************************************
443
443
  Copyright (c) Microsoft Corporation.
444
444
 
@@ -453,18 +453,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
453
453
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
454
454
  PERFORMANCE OF THIS SOFTWARE.
455
455
  ***************************************************************************** */
456
- var Me = function(e, t) {
457
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
456
+ var Ne = function(e, t) {
457
+ return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
458
458
  r.__proto__ = n;
459
459
  } || function(r, n) {
460
460
  for (var i in n)
461
461
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
462
- }, Me(e, t);
462
+ }, Ne(e, t);
463
463
  };
464
464
  function I(e, t) {
465
465
  if (typeof t != "function" && t !== null)
466
466
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
467
- Me(e, t);
467
+ Ne(e, t);
468
468
  function r() {
469
469
  this.constructor = e;
470
470
  }
@@ -480,7 +480,7 @@ var g = function() {
480
480
  return t;
481
481
  }, g.apply(this, arguments);
482
482
  };
483
- function Ir(e, t) {
483
+ function wr(e, t) {
484
484
  var r = {};
485
485
  for (var n in e)
486
486
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -489,7 +489,7 @@ function Ir(e, t) {
489
489
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
490
490
  return r;
491
491
  }
492
- function Ce(e) {
492
+ function Me(e) {
493
493
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
494
494
  if (r)
495
495
  return r.call(e);
@@ -501,7 +501,7 @@ function Ce(e) {
501
501
  };
502
502
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
503
503
  }
504
- function $e(e, t) {
504
+ function Ce(e, t) {
505
505
  var r = typeof Symbol == "function" && e[Symbol.iterator];
506
506
  if (!r)
507
507
  return e;
@@ -530,13 +530,13 @@ function k(e, t, r) {
530
530
  function O(e) {
531
531
  return typeof e == "function";
532
532
  }
533
- function Pt(e) {
533
+ function Bt(e) {
534
534
  var t = function(n) {
535
535
  Error.call(n), n.stack = new Error().stack;
536
536
  }, r = e(t);
537
537
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
538
538
  }
539
- var Te = Pt(function(e) {
539
+ var Te = Bt(function(e) {
540
540
  return function(r) {
541
541
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
542
542
  ` + r.map(function(n, i) {
@@ -545,7 +545,7 @@ var Te = Pt(function(e) {
545
545
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
546
546
  };
547
547
  });
548
- function Re(e, t) {
548
+ function $e(e, t) {
549
549
  if (e) {
550
550
  var r = e.indexOf(t);
551
551
  0 <= r && e.splice(r, 1);
@@ -563,7 +563,7 @@ var ge = function() {
563
563
  if (s)
564
564
  if (this._parentage = null, Array.isArray(s))
565
565
  try {
566
- for (var a = Ce(s), h = a.next(); !h.done; h = a.next()) {
566
+ for (var a = Me(s), h = a.next(); !h.done; h = a.next()) {
567
567
  var u = h.value;
568
568
  u.remove(this);
569
569
  }
@@ -590,12 +590,12 @@ var ge = function() {
590
590
  if (f) {
591
591
  this._finalizers = null;
592
592
  try {
593
- for (var c = Ce(f), p = c.next(); !p.done; p = c.next()) {
593
+ for (var c = Me(f), p = c.next(); !p.done; p = c.next()) {
594
594
  var d = p.value;
595
595
  try {
596
- et(d);
596
+ Ye(d);
597
597
  } catch (v) {
598
- o = o ?? [], v instanceof Te ? o = k(k([], $e(o)), $e(v.errors)) : o.push(v);
598
+ o = o ?? [], v instanceof Te ? o = k(k([], Ce(o)), Ce(v.errors)) : o.push(v);
599
599
  }
600
600
  }
601
601
  } catch (v) {
@@ -616,7 +616,7 @@ var ge = function() {
616
616
  var r;
617
617
  if (t && t !== this)
618
618
  if (this.closed)
619
- et(t);
619
+ Ye(t);
620
620
  else {
621
621
  if (t instanceof e) {
622
622
  if (t.closed || t._hasParent(this))
@@ -633,56 +633,52 @@ var ge = function() {
633
633
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
634
634
  }, e.prototype._removeParent = function(t) {
635
635
  var r = this._parentage;
636
- r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
636
+ r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
637
637
  }, e.prototype.remove = function(t) {
638
638
  var r = this._finalizers;
639
- r && Re(r, t), t instanceof e && t._removeParent(this);
639
+ r && $e(r, t), t instanceof e && t._removeParent(this);
640
640
  }, e.EMPTY = function() {
641
641
  var t = new e();
642
642
  return t.closed = !0, t;
643
643
  }(), e;
644
- }(), Ot = ge.EMPTY;
645
- function It(e) {
644
+ }(), wt = ge.EMPTY;
645
+ function At(e) {
646
646
  return e instanceof ge || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
647
647
  }
648
- function et(e) {
648
+ function Ye(e) {
649
649
  O(e) ? e() : e.unsubscribe();
650
650
  }
651
- var Lt = {
652
- onUnhandledError: null,
653
- onStoppedNotification: null,
654
- Promise: void 0,
655
- useDeprecatedSynchronousErrorHandling: !1,
656
- useDeprecatedNextContext: !1
657
- }, Lr = {
651
+ var Ar = {
652
+ Promise: void 0
653
+ }, Pr = {
658
654
  setTimeout: function(e, t) {
659
655
  for (var r = [], n = 2; n < arguments.length; n++)
660
656
  r[n - 2] = arguments[n];
661
- return setTimeout.apply(void 0, k([e, t], $e(r)));
657
+ return setTimeout.apply(void 0, k([e, t], Ce(r)));
662
658
  },
663
659
  clearTimeout: function(e) {
664
660
  return clearTimeout(e);
665
661
  },
666
662
  delegate: void 0
667
663
  };
668
- function Nr(e) {
669
- Lr.setTimeout(function() {
664
+ function Or(e) {
665
+ Pr.setTimeout(function() {
670
666
  throw e;
671
667
  });
672
668
  }
673
- function tt() {
669
+ function qe() {
674
670
  }
675
671
  function ce(e) {
676
672
  e();
677
673
  }
678
- var Nt = function(e) {
674
+ var Pt = function(e) {
679
675
  I(t, e);
680
676
  function t(r) {
681
677
  var n = e.call(this) || this;
682
- return n.isStopped = !1, r ? (n.destination = r, It(r) && r.add(n)) : n.destination = Rr, n;
678
+ return n.isStopped = !1, r ? (n.destination = r, At(r) && r.add(n)) : n.destination = Nr, n;
683
679
  }
684
680
  return t.create = function(r, n, i) {
685
- return new Ue(r, n, i);
681
+ return new Re(r, n, i);
686
682
  }, t.prototype.next = function(r) {
687
683
  this.isStopped || this._next(r);
688
684
  }, t.prototype.error = function(r) {
@@ -706,11 +702,7 @@ var Nt = function(e) {
706
702
  this.unsubscribe();
707
703
  }
708
704
  }, t;
709
- }(ge), Mr = Function.prototype.bind;
710
- function He(e, t) {
711
- return Mr.call(e, t);
712
- }
713
- var Cr = function() {
705
+ }(ge), Ir = function() {
714
706
  function e(t) {
715
707
  this.partialObserver = t;
716
708
  }
@@ -741,55 +733,43 @@ var Cr = function() {
741
733
  ue(r);
742
734
  }
743
735
  }, e;
744
- }(), Ue = function(e) {
736
+ }(), Re = function(e) {
745
737
  I(t, e);
746
738
  function t(r, n, i) {
747
739
  var o = e.call(this) || this, s;
748
- if (O(r) || !r)
749
- s = {
750
- next: r ?? void 0,
751
- error: n ?? void 0,
752
- complete: i ?? void 0
753
- };
754
- else {
755
- var a;
756
- o && Lt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
757
- return o.unsubscribe();
758
- }, s = {
759
- next: r.next && He(r.next, a),
760
- error: r.error && He(r.error, a),
761
- complete: r.complete && He(r.complete, a)
762
- }) : s = r;
763
- }
764
- return o.destination = new Cr(s), o;
740
+ return O(r) || !r ? s = {
741
+ next: r ?? void 0,
742
+ error: n ?? void 0,
743
+ complete: i ?? void 0
744
+ } : s = r, o.destination = new Ir(s), o;
765
745
  }
766
746
  return t;
767
- }(Nt);
747
+ }(Pt);
768
748
  function ue(e) {
769
- Nr(e);
749
+ Or(e);
770
750
  }
771
- function $r(e) {
751
+ function Lr(e) {
772
752
  throw e;
773
753
  }
774
- var Rr = {
754
+ var Nr = {
775
755
  closed: !0,
776
- next: tt,
777
- error: $r,
778
- complete: tt
779
- }, Ur = function() {
756
+ next: qe,
757
+ error: Lr,
758
+ complete: qe
759
+ }, Mr = function() {
780
760
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
781
761
  }();
782
- function Dr(e) {
762
+ function Cr(e) {
783
763
  return e;
784
764
  }
785
- function Gr(e) {
786
- return e.length === 0 ? Dr : e.length === 1 ? e[0] : function(r) {
765
+ function $r(e) {
766
+ return e.length === 0 ? Cr : e.length === 1 ? e[0] : function(r) {
787
767
  return e.reduce(function(n, i) {
788
768
  return i(n);
789
769
  }, r);
790
770
  };
791
771
  }
792
- var rt = function() {
772
+ var Ke = function() {
793
773
  function e(t) {
794
774
  t && (this._subscribe = t);
795
775
  }
@@ -797,7 +777,7 @@ var rt = function() {
797
777
  var r = new e();
798
778
  return r.source = this, r.operator = t, r;
799
779
  }, e.prototype.subscribe = function(t, r, n) {
800
- var i = this, o = jr(t) ? t : new Ue(t, r, n);
780
+ var i = this, o = Ur(t) ? t : new Re(t, r, n);
801
781
  return ce(function() {
802
782
  var s = i, a = s.operator, h = s.source;
803
783
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -810,8 +790,8 @@ var rt = function() {
810
790
  }
811
791
  }, e.prototype.forEach = function(t, r) {
812
792
  var n = this;
813
- return r = nt(r), new r(function(i, o) {
814
- var s = new Ue({
793
+ return r = et(r), new r(function(i, o) {
794
+ var s = new Re({
815
795
  next: function(a) {
816
796
  try {
817
797
  t(a);
@@ -827,15 +807,15 @@ var rt = function() {
827
807
  }, e.prototype._subscribe = function(t) {
828
808
  var r;
829
809
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
830
- }, e.prototype[Ur] = function() {
810
+ }, e.prototype[Mr] = function() {
831
811
  return this;
832
812
  }, e.prototype.pipe = function() {
833
813
  for (var t = [], r = 0; r < arguments.length; r++)
834
814
  t[r] = arguments[r];
835
- return Gr(t)(this);
815
+ return $r(t)(this);
836
816
  }, e.prototype.toPromise = function(t) {
837
817
  var r = this;
838
- return t = nt(t), new t(function(n, i) {
818
+ return t = et(t), new t(function(n, i) {
839
819
  var o;
840
820
  r.subscribe(function(s) {
841
821
  return o = s;
@@ -849,32 +829,32 @@ var rt = function() {
849
829
  return new e(t);
850
830
  }, e;
851
831
  }();
852
- function nt(e) {
832
+ function et(e) {
853
833
  var t;
854
- return (t = e ?? Lt.Promise) !== null && t !== void 0 ? t : Promise;
834
+ return (t = e ?? Ar.Promise) !== null && t !== void 0 ? t : Promise;
855
835
  }
856
- function Fr(e) {
836
+ function Rr(e) {
857
837
  return e && O(e.next) && O(e.error) && O(e.complete);
858
838
  }
859
- function jr(e) {
860
- return e && e instanceof Nt || Fr(e) && It(e);
839
+ function Ur(e) {
840
+ return e && e instanceof Pt || Rr(e) && At(e);
861
841
  }
862
- var kr = Pt(function(e) {
842
+ var Gr = Bt(function(e) {
863
843
  return function() {
864
844
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
865
845
  };
866
- }), Mt = function(e) {
846
+ }), Ot = function(e) {
867
847
  I(t, e);
868
848
  function t() {
869
849
  var r = e.call(this) || this;
870
850
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
871
851
  }
872
852
  return t.prototype.lift = function(r) {
873
- var n = new it(this, this);
853
+ var n = new tt(this, this);
874
854
  return n.operator = r, n;
875
855
  }, t.prototype._throwIfClosed = function() {
876
856
  if (this.closed)
877
- throw new kr();
857
+ throw new Gr();
878
858
  }, t.prototype.next = function(r) {
879
859
  var n = this;
880
860
  ce(function() {
@@ -882,7 +862,7 @@ var kr = Pt(function(e) {
882
862
  if (n._throwIfClosed(), !n.isStopped) {
883
863
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
884
864
  try {
885
- for (var s = Ce(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
865
+ for (var s = Me(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
886
866
  var h = a.value;
887
867
  h.next(r);
888
868
  }
@@ -931,19 +911,19 @@ var kr = Pt(function(e) {
931
911
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
932
912
  }, t.prototype._innerSubscribe = function(r) {
933
913
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
934
- return o || s ? Ot : (this.currentObservers = null, a.push(r), new ge(function() {
935
- n.currentObservers = null, Re(a, r);
914
+ return o || s ? wt : (this.currentObservers = null, a.push(r), new ge(function() {
915
+ n.currentObservers = null, $e(a, r);
936
916
  }));
937
917
  }, t.prototype._checkFinalizedStatuses = function(r) {
938
918
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
939
919
  i ? r.error(o) : s && r.complete();
940
920
  }, t.prototype.asObservable = function() {
941
- var r = new rt();
921
+ var r = new Ke();
942
922
  return r.source = this, r;
943
923
  }, t.create = function(r, n) {
944
- return new it(r, n);
924
+ return new tt(r, n);
945
925
  }, t;
946
- }(rt), it = function(e) {
926
+ }(Ke), tt = function(e) {
947
927
  I(t, e);
948
928
  function t(r, n) {
949
929
  var i = e.call(this) || this;
@@ -960,17 +940,17 @@ var kr = Pt(function(e) {
960
940
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
961
941
  }, t.prototype._subscribe = function(r) {
962
942
  var n, i;
963
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ot;
943
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : wt;
964
944
  }, t;
965
- }(Mt), Ct = {
945
+ }(Ot), It = {
966
946
  now: function() {
967
- return (Ct.delegate || Date).now();
947
+ return (It.delegate || Date).now();
968
948
  },
969
949
  delegate: void 0
970
- }, Vr = function(e) {
950
+ }, Dr = function(e) {
971
951
  I(t, e);
972
952
  function t(r, n, i) {
973
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ct);
953
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = It);
974
954
  var o = e.call(this) || this;
975
955
  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;
976
956
  }
@@ -990,15 +970,15 @@ var kr = Pt(function(e) {
990
970
  u && o.splice(0, u + 1);
991
971
  }
992
972
  }, t;
993
- }(Mt);
994
- const ot = [], st = {}, Xr = (e, t = 0) => {
995
- if (ot.indexOf(e) == -1) {
996
- const r = new Vr(t);
997
- st[e] = r, ot.push(e);
973
+ }(Ot);
974
+ const rt = [], nt = {}, Fr = (e, t = 0) => {
975
+ if (rt.indexOf(e) == -1) {
976
+ const r = new Dr(t);
977
+ nt[e] = r, rt.push(e);
998
978
  }
999
- return st[e];
1000
- }, G = [];
1001
- function Wr(e, t) {
979
+ return nt[e];
980
+ }, D = [];
981
+ function jr(e, t) {
1002
982
  return {
1003
983
  subscribe: ye(e, t).subscribe
1004
984
  };
@@ -1007,14 +987,14 @@ function ye(e, t = B) {
1007
987
  let r;
1008
988
  const n = /* @__PURE__ */ new Set();
1009
989
  function i(a) {
1010
- if (Tt(e, a) && (e = a, r)) {
1011
- const h = !G.length;
990
+ if (xt(e, a) && (e = a, r)) {
991
+ const h = !D.length;
1012
992
  for (const u of n)
1013
- u[1](), G.push(u, e);
993
+ u[1](), D.push(u, e);
1014
994
  if (h) {
1015
- for (let u = 0; u < G.length; u += 2)
1016
- G[u][0](G[u + 1]);
1017
- G.length = 0;
995
+ for (let u = 0; u < D.length; u += 2)
996
+ D[u][0](D[u + 1]);
997
+ D.length = 0;
1018
998
  }
1019
999
  }
1020
1000
  }
@@ -1034,7 +1014,7 @@ function Q(e, t, r) {
1034
1014
  if (!i.every(Boolean))
1035
1015
  throw new Error("derived() expects stores as input, got a falsy value");
1036
1016
  const o = t.length < 2;
1037
- return Wr(r, (s, a) => {
1017
+ return jr(r, (s, a) => {
1038
1018
  let h = !1;
1039
1019
  const u = [];
1040
1020
  let l = 0, f = B;
@@ -1043,9 +1023,9 @@ function Q(e, t, r) {
1043
1023
  return;
1044
1024
  f();
1045
1025
  const d = t(n ? u[0] : u, s, a);
1046
- o ? s(d) : f = ze(d) ? d : B;
1026
+ o ? s(d) : f = We(d) ? d : B;
1047
1027
  }, p = i.map(
1048
- (d, v) => Ht(
1028
+ (d, v) => Et(
1049
1029
  d,
1050
1030
  (H) => {
1051
1031
  u[v] = H, l &= ~(1 << v), h && c();
@@ -1060,70 +1040,70 @@ function Q(e, t, r) {
1060
1040
  };
1061
1041
  });
1062
1042
  }
1063
- function zr(e) {
1043
+ function kr(e) {
1064
1044
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1065
1045
  }
1066
- var Zr = function(t) {
1067
- return Qr(t) && !Jr(t);
1046
+ var Vr = function(t) {
1047
+ return Xr(t) && !Wr(t);
1068
1048
  };
1069
- function Qr(e) {
1049
+ function Xr(e) {
1070
1050
  return !!e && typeof e == "object";
1071
1051
  }
1072
- function Jr(e) {
1052
+ function Wr(e) {
1073
1053
  var t = Object.prototype.toString.call(e);
1074
- return t === "[object RegExp]" || t === "[object Date]" || Kr(e);
1054
+ return t === "[object RegExp]" || t === "[object Date]" || Qr(e);
1075
1055
  }
1076
- var Yr = typeof Symbol == "function" && Symbol.for, qr = Yr ? Symbol.for("react.element") : 60103;
1077
- function Kr(e) {
1078
- return e.$$typeof === qr;
1056
+ var zr = typeof Symbol == "function" && Symbol.for, Zr = zr ? Symbol.for("react.element") : 60103;
1057
+ function Qr(e) {
1058
+ return e.$$typeof === Zr;
1079
1059
  }
1080
- function en(e) {
1060
+ function Jr(e) {
1081
1061
  return Array.isArray(e) ? [] : {};
1082
1062
  }
1083
1063
  function re(e, t) {
1084
- return t.clone !== !1 && t.isMergeableObject(e) ? V(en(e), e, t) : e;
1064
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(Jr(e), e, t) : e;
1085
1065
  }
1086
- function tn(e, t, r) {
1066
+ function Yr(e, t, r) {
1087
1067
  return e.concat(t).map(function(n) {
1088
1068
  return re(n, r);
1089
1069
  });
1090
1070
  }
1091
- function rn(e, t) {
1071
+ function qr(e, t) {
1092
1072
  if (!t.customMerge)
1093
1073
  return V;
1094
1074
  var r = t.customMerge(e);
1095
1075
  return typeof r == "function" ? r : V;
1096
1076
  }
1097
- function nn(e) {
1077
+ function Kr(e) {
1098
1078
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1099
1079
  return Object.propertyIsEnumerable.call(e, t);
1100
1080
  }) : [];
1101
1081
  }
1102
- function at(e) {
1103
- return Object.keys(e).concat(nn(e));
1082
+ function it(e) {
1083
+ return Object.keys(e).concat(Kr(e));
1104
1084
  }
1105
- function $t(e, t) {
1085
+ function Lt(e, t) {
1106
1086
  try {
1107
1087
  return t in e;
1108
1088
  } catch {
1109
1089
  return !1;
1110
1090
  }
1111
1091
  }
1112
- function on(e, t) {
1113
- return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1092
+ function en(e, t) {
1093
+ return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1114
1094
  }
1115
- function sn(e, t, r) {
1095
+ function tn(e, t, r) {
1116
1096
  var n = {};
1117
- return r.isMergeableObject(e) && at(e).forEach(function(i) {
1097
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
1118
1098
  n[i] = re(e[i], r);
1119
- }), at(t).forEach(function(i) {
1120
- on(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = rn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1099
+ }), it(t).forEach(function(i) {
1100
+ en(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = qr(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1121
1101
  }), n;
1122
1102
  }
1123
1103
  function V(e, t, r) {
1124
- r = r || {}, r.arrayMerge = r.arrayMerge || tn, r.isMergeableObject = r.isMergeableObject || Zr, r.cloneUnlessOtherwiseSpecified = re;
1104
+ r = r || {}, r.arrayMerge = r.arrayMerge || Yr, r.isMergeableObject = r.isMergeableObject || Vr, r.cloneUnlessOtherwiseSpecified = re;
1125
1105
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1126
- return o ? n ? r.arrayMerge(e, t, r) : sn(e, t, r) : re(t, r);
1106
+ return o ? n ? r.arrayMerge(e, t, r) : tn(e, t, r) : re(t, r);
1127
1107
  }
1128
1108
  V.all = function(t, r) {
1129
1109
  if (!Array.isArray(t))
@@ -1132,107 +1112,105 @@ V.all = function(t, r) {
1132
1112
  return V(n, i, r);
1133
1113
  }, {});
1134
1114
  };
1135
- var an = V, un = an;
1136
- const hn = /* @__PURE__ */ zr(un);
1137
- function Be(e, t) {
1138
- var r = t && t.cache ? t.cache : mn, n = t && t.serializer ? t.serializer : dn, i = t && t.strategy ? t.strategy : cn;
1115
+ var rn = V, nn = rn;
1116
+ const on = /* @__PURE__ */ kr(nn);
1117
+ function He(e, t) {
1118
+ var r = t && t.cache ? t.cache : fn, n = t && t.serializer ? t.serializer : ln, i = t && t.strategy ? t.strategy : un;
1139
1119
  return i(e, {
1140
1120
  cache: r,
1141
1121
  serializer: n
1142
1122
  });
1143
1123
  }
1144
- function ln(e) {
1124
+ function sn(e) {
1145
1125
  return e == null || typeof e == "number" || typeof e == "boolean";
1146
1126
  }
1147
- function Rt(e, t, r, n) {
1148
- var i = ln(n) ? n : r(n), o = t.get(i);
1127
+ function an(e, t, r, n) {
1128
+ var i = sn(n) ? n : r(n), o = t.get(i);
1149
1129
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1150
1130
  }
1151
- function Ut(e, t, r) {
1131
+ function Nt(e, t, r) {
1152
1132
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1153
1133
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1154
1134
  }
1155
- function Ze(e, t, r, n, i) {
1135
+ function Mt(e, t, r, n, i) {
1156
1136
  return r.bind(t, e, n, i);
1157
1137
  }
1158
- function cn(e, t) {
1159
- var r = e.length === 1 ? Rt : Ut;
1160
- return Ze(e, this, r, t.cache.create(), t.serializer);
1161
- }
1162
- function fn(e, t) {
1163
- return Ze(e, this, Ut, t.cache.create(), t.serializer);
1138
+ function un(e, t) {
1139
+ var r = e.length === 1 ? an : Nt;
1140
+ return Mt(e, this, r, t.cache.create(), t.serializer);
1164
1141
  }
1165
- function pn(e, t) {
1166
- return Ze(e, this, Rt, t.cache.create(), t.serializer);
1142
+ function hn(e, t) {
1143
+ return Mt(e, this, Nt, t.cache.create(), t.serializer);
1167
1144
  }
1168
- var dn = function() {
1145
+ var ln = function() {
1169
1146
  return JSON.stringify(arguments);
1170
- };
1171
- function Qe() {
1172
- this.cache = /* @__PURE__ */ Object.create(null);
1173
- }
1174
- Qe.prototype.get = function(e) {
1175
- return this.cache[e];
1176
- };
1177
- Qe.prototype.set = function(e, t) {
1178
- this.cache[e] = t;
1179
- };
1180
- var mn = {
1147
+ }, cn = (
1148
+ /** @class */
1149
+ function() {
1150
+ function e() {
1151
+ this.cache = /* @__PURE__ */ Object.create(null);
1152
+ }
1153
+ return e.prototype.get = function(t) {
1154
+ return this.cache[t];
1155
+ }, e.prototype.set = function(t, r) {
1156
+ this.cache[t] = r;
1157
+ }, e;
1158
+ }()
1159
+ ), fn = {
1181
1160
  create: function() {
1182
- return new Qe();
1161
+ return new cn();
1183
1162
  }
1184
- }, we = {
1185
- variadic: fn,
1186
- monadic: pn
1163
+ }, Be = {
1164
+ variadic: hn
1187
1165
  }, m;
1188
1166
  (function(e) {
1189
1167
  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";
1190
1168
  })(m || (m = {}));
1191
- var E;
1169
+ var _;
1192
1170
  (function(e) {
1193
1171
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1194
- })(E || (E = {}));
1172
+ })(_ || (_ = {}));
1195
1173
  var X;
1196
1174
  (function(e) {
1197
1175
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1198
1176
  })(X || (X = {}));
1199
- function ut(e) {
1200
- return e.type === E.literal;
1177
+ function ot(e) {
1178
+ return e.type === _.literal;
1201
1179
  }
1202
- function bn(e) {
1203
- return e.type === E.argument;
1180
+ function pn(e) {
1181
+ return e.type === _.argument;
1204
1182
  }
1205
- function Dt(e) {
1206
- return e.type === E.number;
1183
+ function Ct(e) {
1184
+ return e.type === _.number;
1207
1185
  }
1208
- function Gt(e) {
1209
- return e.type === E.date;
1186
+ function $t(e) {
1187
+ return e.type === _.date;
1210
1188
  }
1211
- function Ft(e) {
1212
- return e.type === E.time;
1189
+ function Rt(e) {
1190
+ return e.type === _.time;
1213
1191
  }
1214
- function jt(e) {
1215
- return e.type === E.select;
1192
+ function Ut(e) {
1193
+ return e.type === _.select;
1216
1194
  }
1217
- function kt(e) {
1218
- return e.type === E.plural;
1195
+ function Gt(e) {
1196
+ return e.type === _.plural;
1219
1197
  }
1220
- function gn(e) {
1221
- return e.type === E.pound;
1198
+ function dn(e) {
1199
+ return e.type === _.pound;
1222
1200
  }
1223
- function Vt(e) {
1224
- return e.type === E.tag;
1201
+ function Dt(e) {
1202
+ return e.type === _.tag;
1225
1203
  }
1226
- function Xt(e) {
1204
+ function Ft(e) {
1227
1205
  return !!(e && typeof e == "object" && e.type === X.number);
1228
1206
  }
1229
- function De(e) {
1207
+ function Ue(e) {
1230
1208
  return !!(e && typeof e == "object" && e.type === X.dateTime);
1231
1209
  }
1232
- var Wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yn = /(?:[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;
1233
- function vn(e) {
1210
+ var jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mn = /(?:[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;
1211
+ function bn(e) {
1234
1212
  var t = {};
1235
- return e.replace(yn, function(r) {
1213
+ return e.replace(mn, function(r) {
1236
1214
  var n = r.length;
1237
1215
  switch (r[0]) {
1238
1216
  case "G":
@@ -1321,11 +1299,11 @@ function vn(e) {
1321
1299
  return "";
1322
1300
  }), t;
1323
1301
  }
1324
- var En = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1325
- function _n(e) {
1302
+ var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1303
+ function yn(e) {
1326
1304
  if (e.length === 0)
1327
1305
  throw new Error("Number skeleton cannot be empty");
1328
- for (var t = e.split(En).filter(function(c) {
1306
+ for (var t = e.split(gn).filter(function(c) {
1329
1307
  return c.length > 0;
1330
1308
  }), r = [], n = 0, i = t; n < i.length; n++) {
1331
1309
  var o = i[n], s = o.split("/");
@@ -1340,17 +1318,17 @@ function _n(e) {
1340
1318
  }
1341
1319
  return r;
1342
1320
  }
1343
- function xn(e) {
1321
+ function vn(e) {
1344
1322
  return e.replace(/^(.*?)-/, "");
1345
1323
  }
1346
- var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, Sn = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
1347
- function lt(e) {
1324
+ var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kt = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
1325
+ function at(e) {
1348
1326
  var t = {};
1349
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
1327
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kt, function(r, n, i) {
1350
1328
  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)), "";
1351
1329
  }), t;
1352
1330
  }
1353
- function Qt(e) {
1331
+ function Xt(e) {
1354
1332
  switch (e) {
1355
1333
  case "sign-auto":
1356
1334
  return {
@@ -1390,7 +1368,7 @@ function Qt(e) {
1390
1368
  };
1391
1369
  }
1392
1370
  }
1393
- function Tn(e) {
1371
+ function xn(e) {
1394
1372
  var t;
1395
1373
  if (e[0] === "E" && e[1] === "E" ? (t = {
1396
1374
  notation: "engineering"
@@ -1398,17 +1376,17 @@ function Tn(e) {
1398
1376
  notation: "scientific"
1399
1377
  }, e = e.slice(1)), t) {
1400
1378
  var r = e.slice(0, 2);
1401
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
1379
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
1402
1380
  throw new Error("Malformed concise eng/scientific notation");
1403
1381
  t.minimumIntegerDigits = e.length;
1404
1382
  }
1405
1383
  return t;
1406
1384
  }
1407
- function ct(e) {
1408
- var t = {}, r = Qt(e);
1385
+ function ut(e) {
1386
+ var t = {}, r = Xt(e);
1409
1387
  return r || t;
1410
1388
  }
1411
- function Hn(e) {
1389
+ function En(e) {
1412
1390
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1413
1391
  var i = n[r];
1414
1392
  switch (i.stem) {
@@ -1432,7 +1410,7 @@ function Hn(e) {
1432
1410
  continue;
1433
1411
  case "measure-unit":
1434
1412
  case "unit":
1435
- t.style = "unit", t.unit = xn(i.options[0]);
1413
+ t.style = "unit", t.unit = vn(i.options[0]);
1436
1414
  continue;
1437
1415
  case "compact-short":
1438
1416
  case "K":
@@ -1444,12 +1422,12 @@ function Hn(e) {
1444
1422
  continue;
1445
1423
  case "scientific":
1446
1424
  t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1447
- return g(g({}, h), ct(u));
1425
+ return g(g({}, h), ut(u));
1448
1426
  }, {}));
1449
1427
  continue;
1450
1428
  case "engineering":
1451
1429
  t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1452
- return g(g({}, h), ct(u));
1430
+ return g(g({}, h), ut(u));
1453
1431
  }, {}));
1454
1432
  continue;
1455
1433
  case "notation-simple":
@@ -1494,7 +1472,7 @@ function Hn(e) {
1494
1472
  case "integer-width":
1495
1473
  if (i.options.length > 1)
1496
1474
  throw new RangeError("integer-width stems only accept a single optional option");
1497
- i.options[0].replace(Sn, function(h, u, l, f, c, p) {
1475
+ i.options[0].replace(_n, function(h, u, l, f, c, p) {
1498
1476
  if (u)
1499
1477
  t.minimumIntegerDigits = l.length;
1500
1478
  else {
@@ -1507,27 +1485,27 @@ function Hn(e) {
1507
1485
  });
1508
1486
  continue;
1509
1487
  }
1510
- if (Zt.test(i.stem)) {
1488
+ if (Vt.test(i.stem)) {
1511
1489
  t.minimumIntegerDigits = i.stem.length;
1512
1490
  continue;
1513
1491
  }
1514
- if (ht.test(i.stem)) {
1492
+ if (st.test(i.stem)) {
1515
1493
  if (i.options.length > 1)
1516
1494
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1517
- i.stem.replace(ht, function(h, u, l, f, c, p) {
1495
+ i.stem.replace(st, function(h, u, l, f, c, p) {
1518
1496
  return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1519
1497
  });
1520
1498
  var o = i.options[0];
1521
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), lt(o)));
1499
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), at(o)));
1522
1500
  continue;
1523
1501
  }
1524
- if (zt.test(i.stem)) {
1525
- t = g(g({}, t), lt(i.stem));
1502
+ if (kt.test(i.stem)) {
1503
+ t = g(g({}, t), at(i.stem));
1526
1504
  continue;
1527
1505
  }
1528
- var s = Qt(i.stem);
1506
+ var s = Xt(i.stem);
1529
1507
  s && (t = g(g({}, t), s));
1530
- var a = Tn(i.stem);
1508
+ var a = xn(i.stem);
1531
1509
  a && (t = g(g({}, t), a));
1532
1510
  }
1533
1511
  return t;
@@ -2947,13 +2925,13 @@ var he = {
2947
2925
  "h"
2948
2926
  ]
2949
2927
  };
2950
- function Bn(e, t) {
2928
+ function Sn(e, t) {
2951
2929
  for (var r = "", n = 0; n < e.length; n++) {
2952
2930
  var i = e.charAt(n);
2953
2931
  if (i === "j") {
2954
2932
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2955
2933
  o++, n++;
2956
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = wn(t);
2934
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Tn(t);
2957
2935
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2958
2936
  r += h;
2959
2937
  for (; s-- > 0; )
@@ -2963,7 +2941,7 @@ function Bn(e, t) {
2963
2941
  }
2964
2942
  return r;
2965
2943
  }
2966
- function wn(e) {
2944
+ function Tn(e) {
2967
2945
  var t = e.hourCycle;
2968
2946
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2969
2947
  e.hourCycles && // @ts-ignore
@@ -2985,20 +2963,20 @@ function wn(e) {
2985
2963
  var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
2986
2964
  return i[0];
2987
2965
  }
2988
- var Ae, An = new RegExp("^".concat(Wt.source, "*")), Pn = new RegExp("".concat(Wt.source, "*$"));
2966
+ var we, Hn = new RegExp("^".concat(jt.source, "*")), Bn = new RegExp("".concat(jt.source, "*$"));
2989
2967
  function b(e, t) {
2990
2968
  return { start: e, end: t };
2991
2969
  }
2992
- var On = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Ln = !!Object.fromEntries, Nn = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, Cn = !!String.prototype.trimEnd, $n = !!Number.isSafeInteger, Rn = $n ? Number.isSafeInteger : function(e) {
2970
+ var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, Pn = !!Object.fromEntries, On = !!String.prototype.codePointAt, In = !!String.prototype.trimStart, Ln = !!String.prototype.trimEnd, Nn = !!Number.isSafeInteger, Mn = Nn ? Number.isSafeInteger : function(e) {
2993
2971
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2994
2972
  }, Ge = !0;
2995
2973
  try {
2996
- var Un = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2997
- Ge = ((Ae = Un.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
2974
+ var Cn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2975
+ Ge = ((we = Cn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
2998
2976
  } catch {
2999
2977
  Ge = !1;
3000
2978
  }
3001
- var ft = On ? (
2979
+ var ht = wn ? (
3002
2980
  // Native
3003
2981
  function(t, r, n) {
3004
2982
  return t.startsWith(r, n);
@@ -3008,7 +2986,7 @@ var ft = On ? (
3008
2986
  function(t, r, n) {
3009
2987
  return t.slice(n, n + r.length) === r;
3010
2988
  }
3011
- ), Fe = In ? String.fromCodePoint : (
2989
+ ), De = An ? String.fromCodePoint : (
3012
2990
  // IE11
3013
2991
  function() {
3014
2992
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3020,9 +2998,9 @@ var ft = On ? (
3020
2998
  }
3021
2999
  return n;
3022
3000
  }
3023
- ), pt = (
3001
+ ), lt = (
3024
3002
  // native
3025
- Ln ? Object.fromEntries : (
3003
+ Pn ? Object.fromEntries : (
3026
3004
  // Ponyfill
3027
3005
  function(t) {
3028
3006
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3032,7 +3010,7 @@ var ft = On ? (
3032
3010
  return r;
3033
3011
  }
3034
3012
  )
3035
- ), Jt = Nn ? (
3013
+ ), Wt = On ? (
3036
3014
  // Native
3037
3015
  function(t, r) {
3038
3016
  return t.codePointAt(r);
@@ -3046,7 +3024,7 @@ var ft = On ? (
3046
3024
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3047
3025
  }
3048
3026
  }
3049
- ), Dn = Mn ? (
3027
+ ), $n = In ? (
3050
3028
  // Native
3051
3029
  function(t) {
3052
3030
  return t.trimStart();
@@ -3054,9 +3032,9 @@ var ft = On ? (
3054
3032
  ) : (
3055
3033
  // Ponyfill
3056
3034
  function(t) {
3057
- return t.replace(An, "");
3035
+ return t.replace(Hn, "");
3058
3036
  }
3059
- ), Gn = Cn ? (
3037
+ ), Rn = Ln ? (
3060
3038
  // Native
3061
3039
  function(t) {
3062
3040
  return t.trimEnd();
@@ -3064,32 +3042,32 @@ var ft = On ? (
3064
3042
  ) : (
3065
3043
  // Ponyfill
3066
3044
  function(t) {
3067
- return t.replace(Pn, "");
3045
+ return t.replace(Bn, "");
3068
3046
  }
3069
3047
  );
3070
- function Yt(e, t) {
3048
+ function zt(e, t) {
3071
3049
  return new RegExp(e, t);
3072
3050
  }
3073
- var je;
3051
+ var Fe;
3074
3052
  if (Ge) {
3075
- var dt = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3076
- je = function(t, r) {
3053
+ var ct = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3054
+ Fe = function(t, r) {
3077
3055
  var n;
3078
- dt.lastIndex = r;
3079
- var i = dt.exec(t);
3056
+ ct.lastIndex = r;
3057
+ var i = ct.exec(t);
3080
3058
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3081
3059
  };
3082
3060
  } else
3083
- je = function(t, r) {
3061
+ Fe = function(t, r) {
3084
3062
  for (var n = []; ; ) {
3085
- var i = Jt(t, r);
3086
- if (i === void 0 || qt(i) || Vn(i))
3063
+ var i = Wt(t, r);
3064
+ if (i === void 0 || Zt(i) || Fn(i))
3087
3065
  break;
3088
3066
  n.push(i), r += i >= 65536 ? 2 : 1;
3089
3067
  }
3090
- return Fe.apply(void 0, n);
3068
+ return De.apply(void 0, n);
3091
3069
  };
3092
- var Fn = (
3070
+ var Un = (
3093
3071
  /** @class */
3094
3072
  function() {
3095
3073
  function e(t, r) {
@@ -3113,14 +3091,14 @@ var Fn = (
3113
3091
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3114
3092
  var a = this.clonePosition();
3115
3093
  this.bump(), i.push({
3116
- type: E.pound,
3094
+ type: _.pound,
3117
3095
  location: b(a, this.clonePosition())
3118
3096
  });
3119
3097
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3120
3098
  if (n)
3121
3099
  break;
3122
3100
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3123
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3101
+ } else if (o === 60 && !this.ignoreTag && je(this.peek() || 0)) {
3124
3102
  var s = this.parseTag(t, r);
3125
3103
  if (s.err)
3126
3104
  return s;
@@ -3141,7 +3119,7 @@ var Fn = (
3141
3119
  if (this.bumpSpace(), this.bumpIf("/>"))
3142
3120
  return {
3143
3121
  val: {
3144
- type: E.literal,
3122
+ type: _.literal,
3145
3123
  value: "<".concat(i, "/>"),
3146
3124
  location: b(n, this.clonePosition())
3147
3125
  },
@@ -3153,12 +3131,12 @@ var Fn = (
3153
3131
  return o;
3154
3132
  var s = o.val, a = this.clonePosition();
3155
3133
  if (this.bumpIf("</")) {
3156
- if (this.isEOF() || !ke(this.char()))
3134
+ if (this.isEOF() || !je(this.char()))
3157
3135
  return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3158
3136
  var h = this.clonePosition(), u = this.parseTagName();
3159
3137
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3160
3138
  val: {
3161
- type: E.tag,
3139
+ type: _.tag,
3162
3140
  value: i,
3163
3141
  children: s,
3164
3142
  location: b(n, this.clonePosition())
@@ -3171,7 +3149,7 @@ var Fn = (
3171
3149
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3172
3150
  }, e.prototype.parseTagName = function() {
3173
3151
  var t = this.offset();
3174
- for (this.bump(); !this.isEOF() && kn(this.char()); )
3152
+ for (this.bump(); !this.isEOF() && Dn(this.char()); )
3175
3153
  this.bump();
3176
3154
  return this.message.slice(t, this.offset());
3177
3155
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3195,12 +3173,12 @@ var Fn = (
3195
3173
  }
3196
3174
  var h = b(n, this.clonePosition());
3197
3175
  return {
3198
- val: { type: E.literal, value: i, location: h },
3176
+ val: { type: _.literal, value: i, location: h },
3199
3177
  err: null
3200
3178
  };
3201
3179
  }, e.prototype.tryParseLeftAngleBracket = function() {
3202
3180
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3203
- !jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3181
+ !Gn(this.peek() || 0)) ? (this.bump(), "<") : null;
3204
3182
  }, e.prototype.tryParseQuote = function(t) {
3205
3183
  if (this.isEOF() || this.char() !== 39)
3206
3184
  return null;
@@ -3234,12 +3212,12 @@ var Fn = (
3234
3212
  r.push(n);
3235
3213
  this.bump();
3236
3214
  }
3237
- return Fe.apply(void 0, r);
3215
+ return De.apply(void 0, r);
3238
3216
  }, e.prototype.tryParseUnquoted = function(t, r) {
3239
3217
  if (this.isEOF())
3240
3218
  return null;
3241
3219
  var n = this.char();
3242
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3220
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
3243
3221
  }, e.prototype.parseArgument = function(t, r) {
3244
3222
  var n = this.clonePosition();
3245
3223
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3255,7 +3233,7 @@ var Fn = (
3255
3233
  case 125:
3256
3234
  return this.bump(), {
3257
3235
  val: {
3258
- type: E.argument,
3236
+ type: _.argument,
3259
3237
  // value does not include the opening and closing braces.
3260
3238
  value: i,
3261
3239
  location: b(n, this.clonePosition())
@@ -3268,7 +3246,7 @@ var Fn = (
3268
3246
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3269
3247
  }
3270
3248
  }, e.prototype.parseIdentifierIfPossible = function() {
3271
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3249
+ var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
3272
3250
  this.bumpTo(i);
3273
3251
  var o = this.clonePosition(), s = b(t, o);
3274
3252
  return { value: n, location: s };
@@ -3287,7 +3265,7 @@ var Fn = (
3287
3265
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3288
3266
  if (f.err)
3289
3267
  return f;
3290
- var c = Gn(f.val);
3268
+ var c = Rn(f.val);
3291
3269
  if (c.length === 0)
3292
3270
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3293
3271
  var p = b(l, this.clonePosition());
@@ -3297,25 +3275,25 @@ var Fn = (
3297
3275
  if (d.err)
3298
3276
  return d;
3299
3277
  var v = b(i, this.clonePosition());
3300
- if (u && ft(u?.style, "::", 0)) {
3301
- var H = Dn(u.style.slice(2));
3278
+ if (u && ht(u?.style, "::", 0)) {
3279
+ var H = $n(u.style.slice(2));
3302
3280
  if (a === "number") {
3303
3281
  var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
3304
3282
  return f.err ? f : {
3305
- val: { type: E.number, value: n, location: v, style: f.val },
3283
+ val: { type: _.number, value: n, location: v, style: f.val },
3306
3284
  err: null
3307
3285
  };
3308
3286
  } else {
3309
3287
  if (H.length === 0)
3310
3288
  return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3311
3289
  var C = H;
3312
- this.locale && (C = Bn(H, this.locale));
3290
+ this.locale && (C = Sn(H, this.locale));
3313
3291
  var c = {
3314
3292
  type: X.dateTime,
3315
3293
  pattern: C,
3316
3294
  location: u.styleLocation,
3317
- parsedOptions: this.shouldParseSkeletons ? vn(C) : {}
3318
- }, L = a === "date" ? E.date : E.time;
3295
+ parsedOptions: this.shouldParseSkeletons ? bn(C) : {}
3296
+ }, L = a === "date" ? _.date : _.time;
3319
3297
  return {
3320
3298
  val: { type: L, value: n, location: v, style: c },
3321
3299
  err: null
@@ -3324,7 +3302,7 @@ var Fn = (
3324
3302
  }
3325
3303
  return {
3326
3304
  val: {
3327
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3305
+ type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3328
3306
  value: n,
3329
3307
  location: v,
3330
3308
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3335,9 +3313,9 @@ var Fn = (
3335
3313
  case "plural":
3336
3314
  case "selectordinal":
3337
3315
  case "select": {
3338
- var x = this.clonePosition();
3316
+ var E = this.clonePosition();
3339
3317
  if (this.bumpSpace(), !this.bumpIf(","))
3340
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, g({}, x)));
3318
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(E, g({}, E)));
3341
3319
  this.bumpSpace();
3342
3320
  var $ = this.parseIdentifierIfPossible(), A = 0;
3343
3321
  if (a !== "select" && $.value === "offset") {
@@ -3358,17 +3336,17 @@ var Fn = (
3358
3336
  var ae = b(i, this.clonePosition());
3359
3337
  return a === "select" ? {
3360
3338
  val: {
3361
- type: E.select,
3339
+ type: _.select,
3362
3340
  value: n,
3363
- options: pt(U.val),
3341
+ options: lt(U.val),
3364
3342
  location: ae
3365
3343
  },
3366
3344
  err: null
3367
3345
  } : {
3368
3346
  val: {
3369
- type: E.plural,
3347
+ type: _.plural,
3370
3348
  value: n,
3371
- options: pt(U.val),
3349
+ options: lt(U.val),
3372
3350
  offset: A,
3373
3351
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3374
3352
  location: ae
@@ -3419,7 +3397,7 @@ var Fn = (
3419
3397
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3420
3398
  var n = [];
3421
3399
  try {
3422
- n = _n(t);
3400
+ n = yn(t);
3423
3401
  } catch {
3424
3402
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3425
3403
  }
@@ -3428,7 +3406,7 @@ var Fn = (
3428
3406
  type: X.number,
3429
3407
  tokens: n,
3430
3408
  location: r,
3431
- parsedOptions: this.shouldParseSkeletons ? Hn(n) : {}
3409
+ parsedOptions: this.shouldParseSkeletons ? En(n) : {}
3432
3410
  },
3433
3411
  err: null
3434
3412
  };
@@ -3476,7 +3454,7 @@ var Fn = (
3476
3454
  break;
3477
3455
  }
3478
3456
  var h = b(i, this.clonePosition());
3479
- return o ? (s *= n, Rn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3457
+ return o ? (s *= n, Mn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3480
3458
  }, e.prototype.offset = function() {
3481
3459
  return this.position.offset;
3482
3460
  }, e.prototype.isEOF = function() {
@@ -3491,7 +3469,7 @@ var Fn = (
3491
3469
  var t = this.position.offset;
3492
3470
  if (t >= this.message.length)
3493
3471
  throw Error("out of bound");
3494
- var r = Jt(this.message, t);
3472
+ var r = Wt(this.message, t);
3495
3473
  if (r === void 0)
3496
3474
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3497
3475
  return r;
@@ -3510,7 +3488,7 @@ var Fn = (
3510
3488
  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
3489
  }
3512
3490
  }, e.prototype.bumpIf = function(t) {
3513
- if (ft(this.message, t, this.offset())) {
3491
+ if (ht(this.message, t, this.offset())) {
3514
3492
  for (var r = 0; r < t.length; r++)
3515
3493
  this.bump();
3516
3494
  return !0;
@@ -3532,7 +3510,7 @@ var Fn = (
3532
3510
  break;
3533
3511
  }
3534
3512
  }, e.prototype.bumpSpace = function() {
3535
- for (; !this.isEOF() && qt(this.char()); )
3513
+ for (; !this.isEOF() && Zt(this.char()); )
3536
3514
  this.bump();
3537
3515
  }, e.prototype.peek = function() {
3538
3516
  if (this.isEOF())
@@ -3542,38 +3520,38 @@ var Fn = (
3542
3520
  }, e;
3543
3521
  }()
3544
3522
  );
3545
- function ke(e) {
3523
+ function je(e) {
3546
3524
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3547
3525
  }
3548
- function jn(e) {
3549
- return ke(e) || e === 47;
3526
+ function Gn(e) {
3527
+ return je(e) || e === 47;
3550
3528
  }
3551
- function kn(e) {
3529
+ function Dn(e) {
3552
3530
  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
3531
  }
3554
- function qt(e) {
3532
+ function Zt(e) {
3555
3533
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3556
3534
  }
3557
- function Vn(e) {
3535
+ function Fn(e) {
3558
3536
  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
3537
  }
3560
- function Ve(e) {
3538
+ function ke(e) {
3561
3539
  e.forEach(function(t) {
3562
- if (delete t.location, jt(t) || kt(t))
3540
+ if (delete t.location, Ut(t) || Gt(t))
3563
3541
  for (var r in t.options)
3564
- delete t.options[r].location, Ve(t.options[r].value);
3542
+ delete t.options[r].location, ke(t.options[r].value);
3565
3543
  else
3566
- Dt(t) && Xt(t.style) || (Gt(t) || Ft(t)) && De(t.style) ? delete t.style.location : Vt(t) && Ve(t.children);
3544
+ Ct(t) && Ft(t.style) || ($t(t) || Rt(t)) && Ue(t.style) ? delete t.style.location : Dt(t) && ke(t.children);
3567
3545
  });
3568
3546
  }
3569
- function Xn(e, t) {
3547
+ function jn(e, t) {
3570
3548
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3571
- var r = new Fn(e, t).parse();
3549
+ var r = new Un(e, t).parse();
3572
3550
  if (r.err) {
3573
3551
  var n = SyntaxError(m[r.err.kind]);
3574
3552
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3575
3553
  }
3576
- return t?.captureLocation || Ve(r.val), r.val;
3554
+ return t?.captureLocation || ke(r.val), r.val;
3577
3555
  }
3578
3556
  var W;
3579
3557
  (function(e) {
@@ -3591,7 +3569,7 @@ var ve = (
3591
3569
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3592
3570
  }, t;
3593
3571
  }(Error)
3594
- ), mt = (
3572
+ ), ft = (
3595
3573
  /** @class */
3596
3574
  function(e) {
3597
3575
  I(t, e);
@@ -3600,7 +3578,7 @@ var ve = (
3600
3578
  }
3601
3579
  return t;
3602
3580
  }(ve)
3603
- ), Wn = (
3581
+ ), kn = (
3604
3582
  /** @class */
3605
3583
  function(e) {
3606
3584
  I(t, e);
@@ -3609,7 +3587,7 @@ var ve = (
3609
3587
  }
3610
3588
  return t;
3611
3589
  }(ve)
3612
- ), zn = (
3590
+ ), Vn = (
3613
3591
  /** @class */
3614
3592
  function(e) {
3615
3593
  I(t, e);
@@ -3618,128 +3596,128 @@ var ve = (
3618
3596
  }
3619
3597
  return t;
3620
3598
  }(ve)
3621
- ), _;
3599
+ ), x;
3622
3600
  (function(e) {
3623
3601
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3624
- })(_ || (_ = {}));
3625
- function Zn(e) {
3602
+ })(x || (x = {}));
3603
+ function Xn(e) {
3626
3604
  return e.length < 2 ? e : e.reduce(function(t, r) {
3627
3605
  var n = t[t.length - 1];
3628
- return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3606
+ return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3629
3607
  }, []);
3630
3608
  }
3631
- function Qn(e) {
3609
+ function Wn(e) {
3632
3610
  return typeof e == "function";
3633
3611
  }
3634
3612
  function fe(e, t, r, n, i, o, s) {
3635
- if (e.length === 1 && ut(e[0]))
3613
+ if (e.length === 1 && ot(e[0]))
3636
3614
  return [
3637
3615
  {
3638
- type: _.literal,
3616
+ type: x.literal,
3639
3617
  value: e[0].value
3640
3618
  }
3641
3619
  ];
3642
3620
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3643
3621
  var l = u[h];
3644
- if (ut(l)) {
3622
+ if (ot(l)) {
3645
3623
  a.push({
3646
- type: _.literal,
3624
+ type: x.literal,
3647
3625
  value: l.value
3648
3626
  });
3649
3627
  continue;
3650
3628
  }
3651
- if (gn(l)) {
3629
+ if (dn(l)) {
3652
3630
  typeof o == "number" && a.push({
3653
- type: _.literal,
3631
+ type: x.literal,
3654
3632
  value: r.getNumberFormat(t).format(o)
3655
3633
  });
3656
3634
  continue;
3657
3635
  }
3658
3636
  var f = l.value;
3659
3637
  if (!(i && f in i))
3660
- throw new zn(f, s);
3638
+ throw new Vn(f, s);
3661
3639
  var c = i[f];
3662
- if (bn(l)) {
3640
+ if (pn(l)) {
3663
3641
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3664
- type: typeof c == "string" ? _.literal : _.object,
3642
+ type: typeof c == "string" ? x.literal : x.object,
3665
3643
  value: c
3666
3644
  });
3667
3645
  continue;
3668
3646
  }
3669
- if (Gt(l)) {
3670
- var p = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3647
+ if ($t(l)) {
3648
+ var p = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
3671
3649
  a.push({
3672
- type: _.literal,
3650
+ type: x.literal,
3673
3651
  value: r.getDateTimeFormat(t, p).format(c)
3674
3652
  });
3675
3653
  continue;
3676
3654
  }
3677
- if (Ft(l)) {
3678
- var p = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3655
+ if (Rt(l)) {
3656
+ var p = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
3679
3657
  a.push({
3680
- type: _.literal,
3658
+ type: x.literal,
3681
3659
  value: r.getDateTimeFormat(t, p).format(c)
3682
3660
  });
3683
3661
  continue;
3684
3662
  }
3685
- if (Dt(l)) {
3686
- var p = typeof l.style == "string" ? n.number[l.style] : Xt(l.style) ? l.style.parsedOptions : void 0;
3663
+ if (Ct(l)) {
3664
+ var p = typeof l.style == "string" ? n.number[l.style] : Ft(l.style) ? l.style.parsedOptions : void 0;
3687
3665
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3688
- type: _.literal,
3666
+ type: x.literal,
3689
3667
  value: r.getNumberFormat(t, p).format(c)
3690
3668
  });
3691
3669
  continue;
3692
3670
  }
3693
- if (Vt(l)) {
3671
+ if (Dt(l)) {
3694
3672
  var d = l.children, v = l.value, H = i[v];
3695
- if (!Qn(H))
3696
- throw new Wn(v, "function", s);
3673
+ if (!Wn(H))
3674
+ throw new kn(v, "function", s);
3697
3675
  var C = fe(d, t, r, n, i, o), L = H(C.map(function(A) {
3698
3676
  return A.value;
3699
3677
  }));
3700
3678
  Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(A) {
3701
3679
  return {
3702
- type: typeof A == "string" ? _.literal : _.object,
3680
+ type: typeof A == "string" ? x.literal : x.object,
3703
3681
  value: A
3704
3682
  };
3705
3683
  }));
3706
3684
  }
3707
- if (jt(l)) {
3708
- var x = l.options[c] || l.options.other;
3709
- if (!x)
3710
- throw new mt(l.value, c, Object.keys(l.options), s);
3711
- a.push.apply(a, fe(x.value, t, r, n, i));
3685
+ if (Ut(l)) {
3686
+ var E = l.options[c] || l.options.other;
3687
+ if (!E)
3688
+ throw new ft(l.value, c, Object.keys(l.options), s);
3689
+ a.push.apply(a, fe(E.value, t, r, n, i));
3712
3690
  continue;
3713
3691
  }
3714
- if (kt(l)) {
3715
- var x = l.options["=".concat(c)];
3716
- if (!x) {
3692
+ if (Gt(l)) {
3693
+ var E = l.options["=".concat(c)];
3694
+ if (!E) {
3717
3695
  if (!Intl.PluralRules)
3718
3696
  throw new ve(`Intl.PluralRules is not available in this environment.
3719
3697
  Try polyfilling it using "@formatjs/intl-pluralrules"
3720
3698
  `, W.MISSING_INTL_API, s);
3721
3699
  var $ = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3722
- x = l.options[$] || l.options.other;
3700
+ E = l.options[$] || l.options.other;
3723
3701
  }
3724
- if (!x)
3725
- throw new mt(l.value, c, Object.keys(l.options), s);
3726
- a.push.apply(a, fe(x.value, t, r, n, i, c - (l.offset || 0)));
3702
+ if (!E)
3703
+ throw new ft(l.value, c, Object.keys(l.options), s);
3704
+ a.push.apply(a, fe(E.value, t, r, n, i, c - (l.offset || 0)));
3727
3705
  continue;
3728
3706
  }
3729
3707
  }
3730
- return Zn(a);
3708
+ return Xn(a);
3731
3709
  }
3732
- function Jn(e, t) {
3710
+ function zn(e, t) {
3733
3711
  return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3734
3712
  return r[n] = g(g({}, e[n]), t[n] || {}), r;
3735
3713
  }, {})) : e;
3736
3714
  }
3737
- function Yn(e, t) {
3715
+ function Zn(e, t) {
3738
3716
  return t ? Object.keys(e).reduce(function(r, n) {
3739
- return r[n] = Jn(e[n], t[n]), r;
3717
+ return r[n] = zn(e[n], t[n]), r;
3740
3718
  }, g({}, e)) : e;
3741
3719
  }
3742
- function Pe(e) {
3720
+ function Ae(e) {
3743
3721
  return {
3744
3722
  create: function() {
3745
3723
  return {
@@ -3753,39 +3731,39 @@ function Pe(e) {
3753
3731
  }
3754
3732
  };
3755
3733
  }
3756
- function qn(e) {
3734
+ function Qn(e) {
3757
3735
  return e === void 0 && (e = {
3758
3736
  number: {},
3759
3737
  dateTime: {},
3760
3738
  pluralRules: {}
3761
3739
  }), {
3762
- getNumberFormat: Be(function() {
3740
+ getNumberFormat: He(function() {
3763
3741
  for (var t, r = [], n = 0; n < arguments.length; n++)
3764
3742
  r[n] = arguments[n];
3765
3743
  return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
3766
3744
  }, {
3767
- cache: Pe(e.number),
3768
- strategy: we.variadic
3745
+ cache: Ae(e.number),
3746
+ strategy: Be.variadic
3769
3747
  }),
3770
- getDateTimeFormat: Be(function() {
3748
+ getDateTimeFormat: He(function() {
3771
3749
  for (var t, r = [], n = 0; n < arguments.length; n++)
3772
3750
  r[n] = arguments[n];
3773
3751
  return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
3774
3752
  }, {
3775
- cache: Pe(e.dateTime),
3776
- strategy: we.variadic
3753
+ cache: Ae(e.dateTime),
3754
+ strategy: Be.variadic
3777
3755
  }),
3778
- getPluralRules: Be(function() {
3756
+ getPluralRules: He(function() {
3779
3757
  for (var t, r = [], n = 0; n < arguments.length; n++)
3780
3758
  r[n] = arguments[n];
3781
3759
  return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
3782
3760
  }, {
3783
- cache: Pe(e.pluralRules),
3784
- strategy: we.variadic
3761
+ cache: Ae(e.pluralRules),
3762
+ strategy: Be.variadic
3785
3763
  })
3786
3764
  };
3787
3765
  }
3788
- var Kn = (
3766
+ var Jn = (
3789
3767
  /** @class */
3790
3768
  function() {
3791
3769
  function e(t, r, n, i) {
@@ -3800,7 +3778,7 @@ var Kn = (
3800
3778
  if (u.length === 1)
3801
3779
  return u[0].value;
3802
3780
  var l = u.reduce(function(f, c) {
3803
- return !f.length || c.type !== _.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3781
+ return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3804
3782
  }, []);
3805
3783
  return l.length <= 1 ? l[0] || "" : l;
3806
3784
  }, this.formatToParts = function(h) {
@@ -3817,13 +3795,13 @@ var Kn = (
3817
3795
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3818
3796
  var s = i || {};
3819
3797
  s.formatters;
3820
- var a = Ir(s, ["formatters"]);
3798
+ var a = wr(s, ["formatters"]);
3821
3799
  this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3822
3800
  } else
3823
3801
  this.ast = t;
3824
3802
  if (!Array.isArray(this.ast))
3825
3803
  throw new TypeError("A message must be provided as a String or AST.");
3826
- this.formats = Yn(e.formats, n), this.formatters = i && i.formatters || qn(this.formatterCache);
3804
+ this.formats = Zn(e.formats, n), this.formatters = i && i.formatters || Qn(this.formatterCache);
3827
3805
  }
3828
3806
  return Object.defineProperty(e, "defaultLocale", {
3829
3807
  get: function() {
@@ -3836,7 +3814,7 @@ var Kn = (
3836
3814
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3837
3815
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3838
3816
  }
3839
- }, e.__parse = Xn, e.formats = {
3817
+ }, e.__parse = jn, e.formats = {
3840
3818
  number: {
3841
3819
  integer: {
3842
3820
  maximumFractionDigits: 0
@@ -3897,7 +3875,7 @@ var Kn = (
3897
3875
  }, e;
3898
3876
  }()
3899
3877
  );
3900
- function ei(e, t) {
3878
+ function Yn(e, t) {
3901
3879
  if (t == null)
3902
3880
  return;
3903
3881
  if (t in e)
@@ -3918,92 +3896,92 @@ function ei(e, t) {
3918
3896
  n = void 0;
3919
3897
  return n;
3920
3898
  }
3921
- const M = {}, ti = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Kt = (e, t) => {
3899
+ const M = {}, qn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Qt = (e, t) => {
3922
3900
  if (t == null)
3923
3901
  return;
3924
3902
  if (t in M && e in M[t])
3925
3903
  return M[t][e];
3926
- const r = Ee(t);
3904
+ const r = _e(t);
3927
3905
  for (let n = 0; n < r.length; n++) {
3928
- const i = r[n], o = ni(i, e);
3906
+ const i = r[n], o = ei(i, e);
3929
3907
  if (o)
3930
- return ti(e, t, o);
3908
+ return qn(e, t, o);
3931
3909
  }
3932
3910
  };
3933
- let Je;
3911
+ let ze;
3934
3912
  const se = ye({});
3935
- function ri(e) {
3936
- return Je[e] || null;
3913
+ function Kn(e) {
3914
+ return ze[e] || null;
3937
3915
  }
3938
- function er(e) {
3939
- return e in Je;
3916
+ function Jt(e) {
3917
+ return e in ze;
3940
3918
  }
3941
- function ni(e, t) {
3942
- if (!er(e))
3919
+ function ei(e, t) {
3920
+ if (!Jt(e))
3943
3921
  return null;
3944
- const r = ri(e);
3945
- return ei(r, t);
3922
+ const r = Kn(e);
3923
+ return Yn(r, t);
3946
3924
  }
3947
- function ii(e) {
3925
+ function ti(e) {
3948
3926
  if (e == null)
3949
3927
  return;
3950
- const t = Ee(e);
3928
+ const t = _e(e);
3951
3929
  for (let r = 0; r < t.length; r++) {
3952
3930
  const n = t[r];
3953
- if (er(n))
3931
+ if (Jt(n))
3954
3932
  return n;
3955
3933
  }
3956
3934
  }
3957
- function tr(e, ...t) {
3958
- delete M[e], se.update((r) => (r[e] = hn.all([r[e] || {}, ...t]), r));
3935
+ function Yt(e, ...t) {
3936
+ delete M[e], se.update((r) => (r[e] = on.all([r[e] || {}, ...t]), r));
3959
3937
  }
3960
3938
  Q(
3961
3939
  [se],
3962
3940
  ([e]) => Object.keys(e)
3963
3941
  );
3964
- se.subscribe((e) => Je = e);
3942
+ se.subscribe((e) => ze = e);
3965
3943
  const pe = {};
3966
- function oi(e, t) {
3944
+ function ri(e, t) {
3967
3945
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3968
3946
  }
3969
- function rr(e) {
3947
+ function qt(e) {
3970
3948
  return pe[e];
3971
3949
  }
3972
- function si(e) {
3973
- return Ee(e).map((t) => {
3974
- const r = rr(t);
3950
+ function ni(e) {
3951
+ return _e(e).map((t) => {
3952
+ const r = qt(t);
3975
3953
  return [t, r ? [...r] : []];
3976
3954
  }).filter(([, t]) => t.length > 0);
3977
3955
  }
3978
- function Xe(e) {
3979
- return e == null ? !1 : Ee(e).some(
3956
+ function Ve(e) {
3957
+ return e == null ? !1 : _e(e).some(
3980
3958
  (t) => {
3981
3959
  var r;
3982
- return (r = rr(t)) == null ? void 0 : r.size;
3960
+ return (r = qt(t)) == null ? void 0 : r.size;
3983
3961
  }
3984
3962
  );
3985
3963
  }
3986
- function ai(e, t) {
3964
+ function ii(e, t) {
3987
3965
  return Promise.all(
3988
- t.map((n) => (oi(e, n), n().then((i) => i.default || i)))
3989
- ).then((n) => tr(e, ...n));
3966
+ t.map((n) => (ri(e, n), n().then((i) => i.default || i)))
3967
+ ).then((n) => Yt(e, ...n));
3990
3968
  }
3991
3969
  const K = {};
3992
- function nr(e) {
3993
- if (!Xe(e))
3970
+ function Kt(e) {
3971
+ if (!Ve(e))
3994
3972
  return e in K ? K[e] : Promise.resolve();
3995
- const t = si(e);
3973
+ const t = ni(e);
3996
3974
  return K[e] = Promise.all(
3997
3975
  t.map(
3998
- ([r, n]) => ai(r, n)
3976
+ ([r, n]) => ii(r, n)
3999
3977
  )
4000
3978
  ).then(() => {
4001
- if (Xe(e))
4002
- return nr(e);
3979
+ if (Ve(e))
3980
+ return Kt(e);
4003
3981
  delete K[e];
4004
3982
  }), K[e];
4005
3983
  }
4006
- const ui = {
3984
+ const oi = {
4007
3985
  number: {
4008
3986
  scientific: { notation: "scientific" },
4009
3987
  engineering: { notation: "engineering" },
@@ -4032,78 +4010,78 @@ const ui = {
4032
4010
  timeZoneName: "short"
4033
4011
  }
4034
4012
  }
4035
- }, hi = {
4013
+ }, si = {
4036
4014
  fallbackLocale: null,
4037
4015
  loadingDelay: 200,
4038
- formats: ui,
4016
+ formats: oi,
4039
4017
  warnOnMissingMessages: !0,
4040
4018
  handleMissingMessage: void 0,
4041
4019
  ignoreTag: !0
4042
- }, li = hi;
4020
+ }, ai = si;
4043
4021
  function z() {
4044
- return li;
4022
+ return ai;
4045
4023
  }
4046
- const Oe = ye(!1);
4047
- var ci = Object.defineProperty, fi = Object.defineProperties, pi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, mi = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, bi = (e, t) => {
4024
+ const Pe = ye(!1);
4025
+ var ui = Object.defineProperty, hi = Object.defineProperties, li = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, ci = Object.prototype.hasOwnProperty, fi = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pi = (e, t) => {
4048
4026
  for (var r in t || (t = {}))
4049
- di.call(t, r) && gt(e, r, t[r]);
4050
- if (bt)
4051
- for (var r of bt(t))
4052
- mi.call(t, r) && gt(e, r, t[r]);
4027
+ ci.call(t, r) && dt(e, r, t[r]);
4028
+ if (pt)
4029
+ for (var r of pt(t))
4030
+ fi.call(t, r) && dt(e, r, t[r]);
4053
4031
  return e;
4054
- }, gi = (e, t) => fi(e, pi(t));
4055
- let We;
4032
+ }, di = (e, t) => hi(e, li(t));
4033
+ let Xe;
4056
4034
  const de = ye(null);
4057
- function yt(e) {
4035
+ function mt(e) {
4058
4036
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4059
4037
  }
4060
- function Ee(e, t = z().fallbackLocale) {
4061
- const r = yt(e);
4062
- return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
4038
+ function _e(e, t = z().fallbackLocale) {
4039
+ const r = mt(e);
4040
+ return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
4063
4041
  }
4064
4042
  function R() {
4065
- return We ?? void 0;
4043
+ return Xe ?? void 0;
4066
4044
  }
4067
4045
  de.subscribe((e) => {
4068
- We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4046
+ Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4069
4047
  });
4070
- const yi = (e) => {
4071
- if (e && ii(e) && Xe(e)) {
4048
+ const mi = (e) => {
4049
+ if (e && ti(e) && Ve(e)) {
4072
4050
  const { loadingDelay: t } = z();
4073
4051
  let r;
4074
4052
  return typeof window < "u" && R() != null && t ? r = window.setTimeout(
4075
- () => Oe.set(!0),
4053
+ () => Pe.set(!0),
4076
4054
  t
4077
- ) : Oe.set(!0), nr(e).then(() => {
4055
+ ) : Pe.set(!0), Kt(e).then(() => {
4078
4056
  de.set(e);
4079
4057
  }).finally(() => {
4080
- clearTimeout(r), Oe.set(!1);
4058
+ clearTimeout(r), Pe.set(!1);
4081
4059
  });
4082
4060
  }
4083
4061
  return de.set(e);
4084
- }, J = gi(bi({}, de), {
4085
- set: yi
4086
- }), _e = (e) => {
4062
+ }, J = di(pi({}, de), {
4063
+ set: mi
4064
+ }), xe = (e) => {
4087
4065
  const t = /* @__PURE__ */ Object.create(null);
4088
4066
  return (n) => {
4089
4067
  const i = JSON.stringify(n);
4090
4068
  return i in t ? t[i] : t[i] = e(n);
4091
4069
  };
4092
4070
  };
4093
- var vi = Object.defineProperty, me = Object.getOwnPropertySymbols, ir = Object.prototype.hasOwnProperty, or = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4071
+ var bi = Object.defineProperty, me = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
4094
4072
  for (var r in t || (t = {}))
4095
- ir.call(t, r) && vt(e, r, t[r]);
4073
+ er.call(t, r) && bt(e, r, t[r]);
4096
4074
  if (me)
4097
4075
  for (var r of me(t))
4098
- or.call(t, r) && vt(e, r, t[r]);
4076
+ tr.call(t, r) && bt(e, r, t[r]);
4099
4077
  return e;
4100
4078
  }, Y = (e, t) => {
4101
4079
  var r = {};
4102
4080
  for (var n in e)
4103
- ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4081
+ er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4104
4082
  if (e != null && me)
4105
4083
  for (var n of me(e))
4106
- t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
4084
+ t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
4107
4085
  return r;
4108
4086
  };
4109
4087
  const ne = (e, t) => {
@@ -4111,21 +4089,21 @@ const ne = (e, t) => {
4111
4089
  if (e in r && t in r[e])
4112
4090
  return r[e][t];
4113
4091
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4114
- }, Ei = _e(
4092
+ }, gi = xe(
4115
4093
  (e) => {
4116
4094
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4117
4095
  if (r == null)
4118
4096
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4119
4097
  return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4120
4098
  }
4121
- ), _i = _e(
4099
+ ), yi = xe(
4122
4100
  (e) => {
4123
4101
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4124
4102
  if (r == null)
4125
4103
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4126
4104
  return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4127
4105
  }
4128
- ), xi = _e(
4106
+ ), vi = xe(
4129
4107
  (e) => {
4130
4108
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4131
4109
  if (r == null)
@@ -4134,33 +4112,33 @@ const ne = (e, t) => {
4134
4112
  );
4135
4113
  return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4136
4114
  }
4137
- ), Si = (e = {}) => {
4115
+ ), _i = (e = {}) => {
4138
4116
  var t = e, {
4139
4117
  locale: r = R()
4140
4118
  } = t, n = Y(t, [
4141
4119
  "locale"
4142
4120
  ]);
4143
- return Ei(Ye({ locale: r }, n));
4144
- }, Ti = (e = {}) => {
4121
+ return gi(Ze({ locale: r }, n));
4122
+ }, xi = (e = {}) => {
4145
4123
  var t = e, {
4146
4124
  locale: r = R()
4147
4125
  } = t, n = Y(t, [
4148
4126
  "locale"
4149
4127
  ]);
4150
- return _i(Ye({ locale: r }, n));
4151
- }, Hi = (e = {}) => {
4128
+ return yi(Ze({ locale: r }, n));
4129
+ }, Ei = (e = {}) => {
4152
4130
  var t = e, {
4153
4131
  locale: r = R()
4154
4132
  } = t, n = Y(t, [
4155
4133
  "locale"
4156
4134
  ]);
4157
- return xi(Ye({ locale: r }, n));
4158
- }, Bi = _e(
4135
+ return vi(Ze({ locale: r }, n));
4136
+ }, Si = xe(
4159
4137
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4160
- (e, t = R()) => new Kn(e, t, z().formats, {
4138
+ (e, t = R()) => new Jn(e, t, z().formats, {
4161
4139
  ignoreTag: z().ignoreTag
4162
4140
  })
4163
- ), wi = (e, t = {}) => {
4141
+ ), Ti = (e, t = {}) => {
4164
4142
  var r, n, i, o;
4165
4143
  let s = t;
4166
4144
  typeof e == "object" && (s = e, e = s.id);
@@ -4173,7 +4151,7 @@ const ne = (e, t) => {
4173
4151
  throw new Error(
4174
4152
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4175
4153
  );
4176
- let l = Kt(e, h);
4154
+ let l = Qt(e, h);
4177
4155
  if (!l)
4178
4156
  l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4179
4157
  else if (typeof l != "string")
@@ -4184,7 +4162,7 @@ const ne = (e, t) => {
4184
4162
  return l;
4185
4163
  let f = l;
4186
4164
  try {
4187
- f = Bi(l, h).format(a);
4165
+ f = Si(l, h).format(a);
4188
4166
  } catch (c) {
4189
4167
  c instanceof Error && console.warn(
4190
4168
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4192,13 +4170,13 @@ const ne = (e, t) => {
4192
4170
  );
4193
4171
  }
4194
4172
  return f;
4195
- }, Ai = (e, t) => Hi(t).format(e), Pi = (e, t) => Ti(t).format(e), Oi = (e, t) => Si(t).format(e), Ii = (e, t = R()) => Kt(e, t), Li = Q([J, se], () => wi);
4196
- Q([J], () => Ai);
4197
- Q([J], () => Pi);
4198
- Q([J], () => Oi);
4199
- Q([J, se], () => Ii);
4200
- window.emWidgets = { topic: Xr };
4201
- const Ni = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", Mi = (e, t = {}) => {
4173
+ }, Hi = (e, t) => Ei(t).format(e), Bi = (e, t) => xi(t).format(e), wi = (e, t) => _i(t).format(e), Ai = (e, t = R()) => Qt(e, t), Pi = Q([J, se], () => Ti);
4174
+ Q([J], () => Hi);
4175
+ Q([J], () => Bi);
4176
+ Q([J], () => wi);
4177
+ Q([J, se], () => Ai);
4178
+ window.emWidgets = { topic: Fr };
4179
+ const Oi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC", Ii = (e, t = {}) => {
4202
4180
  const r = new CustomEvent("track-custom-event", {
4203
4181
  detail: {
4204
4182
  type: e,
@@ -4209,13 +4187,13 @@ const Ni = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase(
4209
4187
  });
4210
4188
  document.dispatchEvent(r);
4211
4189
  };
4212
- function Et(e, t) {
4213
- tr(e, t);
4190
+ function gt(e, t) {
4191
+ Yt(e, t);
4214
4192
  }
4215
- function Ci(e) {
4193
+ function Li(e) {
4216
4194
  J.set(e);
4217
4195
  }
4218
- const _t = {
4196
+ const yt = {
4219
4197
  en: {
4220
4198
  logoutButton: "Logout"
4221
4199
  },
@@ -4250,13 +4228,13 @@ const _t = {
4250
4228
  logoutButton: "Logout"
4251
4229
  }
4252
4230
  };
4253
- function xt(e, t) {
4231
+ function vt(e, t) {
4254
4232
  if (e) {
4255
4233
  const r = document.createElement("style");
4256
4234
  r.innerHTML = t, e.appendChild(r);
4257
4235
  }
4258
4236
  }
4259
- function $i(e, t) {
4237
+ function Ni(e, t) {
4260
4238
  const r = new URL(t);
4261
4239
  fetch(r.href).then((n) => n.text()).then((n) => {
4262
4240
  const i = document.createElement("style");
@@ -4265,7 +4243,7 @@ function $i(e, t) {
4265
4243
  console.error("There was an error while trying to load client styling from URL", n);
4266
4244
  });
4267
4245
  }
4268
- function Ri(e, t, r) {
4246
+ function Mi(e, t, r) {
4269
4247
  if (window.emMessageBus) {
4270
4248
  const n = document.createElement("style");
4271
4249
  window.emMessageBus.subscribe(t, (i) => {
@@ -4273,10 +4251,10 @@ function Ri(e, t, r) {
4273
4251
  });
4274
4252
  }
4275
4253
  }
4276
- function Ui(e) {
4277
- hr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4254
+ function Ci(e) {
4255
+ or(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4278
4256
  }
4279
- function Di(e) {
4257
+ function $i(e) {
4280
4258
  let t, r, n, i = (
4281
4259
  /*$_*/
4282
4260
  e[2]("logoutButton") + ""
@@ -4286,7 +4264,7 @@ function Di(e) {
4286
4264
  t = P("div"), r = P("button"), n = P("span"), o = be(i), T(t, "class", "GeneralLogout");
4287
4265
  },
4288
4266
  m(h, u) {
4289
- oe(h, t, u), S(t, r), S(r, n), S(n, o), s || (a = Bt(
4267
+ oe(h, t, u), S(t, r), S(r, n), S(n, o), s || (a = St(
4290
4268
  r,
4291
4269
  "click",
4292
4270
  /*click_handler_1*/
@@ -4296,19 +4274,19 @@ function Di(e) {
4296
4274
  p(h, u) {
4297
4275
  u & /*$_*/
4298
4276
  4 && i !== (i = /*$_*/
4299
- h[2]("logoutButton") + "") && wt(o, i);
4277
+ h[2]("logoutButton") + "") && Tt(o, i);
4300
4278
  },
4301
4279
  d(h) {
4302
4280
  h && Z(t), s = !1, a();
4303
4281
  }
4304
4282
  };
4305
4283
  }
4306
- function Gi(e) {
4284
+ function Ri(e) {
4307
4285
  let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
4308
- e[3] && Fi(e);
4286
+ e[3] && Ui(e);
4309
4287
  return {
4310
4288
  c() {
4311
- t = P("p"), r = P("span"), n = q("svg"), i = q("defs"), o = q("style"), s = be(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = q("path"), h = q("path"), u = fr(), c && c.c(), T(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), T(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), T(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), T(n, "data-name", "Layer 1"), T(n, "xmlns", "http://www.w3.org/2000/svg"), T(n, "viewBox", "0 0 150 150"), dr(r, "width", /*isMobile*/
4289
+ t = P("p"), r = P("span"), n = q("svg"), i = q("defs"), o = q("style"), s = be(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = q("path"), h = q("path"), u = ur(), c && c.c(), T(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), T(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), T(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), T(n, "data-name", "Layer 1"), T(n, "xmlns", "http://www.w3.org/2000/svg"), T(n, "viewBox", "0 0 150 150"), lr(r, "width", /*isMobile*/
4312
4290
  e[3] ? (
4313
4291
  /*mediaQuery*/
4314
4292
  e[4].matches ? "50px" : "24px"
@@ -4318,7 +4296,7 @@ function Gi(e) {
4318
4296
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4319
4297
  },
4320
4298
  m(p, d) {
4321
- oe(p, t, d), S(t, r), S(r, n), S(n, i), S(i, o), S(o, s), S(n, a), S(n, h), S(t, u), c && c.m(t, null), l || (f = Bt(
4299
+ oe(p, t, d), S(t, r), S(r, n), S(n, i), S(i, o), S(o, s), S(n, a), S(n, h), S(t, u), c && c.m(t, null), l || (f = St(
4322
4300
  t,
4323
4301
  "click",
4324
4302
  /*click_handler*/
@@ -4334,7 +4312,7 @@ function Gi(e) {
4334
4312
  }
4335
4313
  };
4336
4314
  }
4337
- function Fi(e) {
4315
+ function Ui(e) {
4338
4316
  let t, r = (
4339
4317
  /*$_*/
4340
4318
  e[2]("logoutButton") + ""
@@ -4349,19 +4327,19 @@ function Fi(e) {
4349
4327
  p(i, o) {
4350
4328
  o & /*$_*/
4351
4329
  4 && r !== (r = /*$_*/
4352
- i[2]("logoutButton") + "") && wt(n, r);
4330
+ i[2]("logoutButton") + "") && Tt(n, r);
4353
4331
  },
4354
4332
  d(i) {
4355
4333
  i && Z(t);
4356
4334
  }
4357
4335
  };
4358
4336
  }
4359
- function ji(e) {
4337
+ function Gi(e) {
4360
4338
  let t;
4361
4339
  function r(o, s) {
4362
4340
  return (
4363
4341
  /*buttonlocation*/
4364
- o[0] === "PlayerAccountMenu" ? Gi : Di
4342
+ o[0] === "PlayerAccountMenu" ? Ri : $i
4365
4343
  );
4366
4344
  }
4367
4345
  let n = r(e), i = n(e);
@@ -4382,37 +4360,37 @@ function ji(e) {
4382
4360
  }
4383
4361
  };
4384
4362
  }
4385
- function ki(e, t, r) {
4363
+ function Di(e, t, r) {
4386
4364
  let n;
4387
- ur(e, Li, (y) => r(2, n = y));
4388
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, d, v = window.navigator.userAgent, H = Ni(v) !== "PC";
4365
+ ir(e, Pi, (y) => r(2, n = y));
4366
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, d, v = window.navigator.userAgent, H = Oi(v) !== "PC";
4389
4367
  const C = window.matchMedia("(min-width: 768px)"), L = () => {
4390
4368
  fetch(f).then((N) => N.json()).then((N) => {
4391
- Object.keys(N).forEach((xe) => {
4392
- Et(xe, N[xe]);
4369
+ Object.keys(N).forEach((Ee) => {
4370
+ gt(Ee, N[Ee]);
4393
4371
  });
4394
4372
  }).catch((N) => {
4395
4373
  console.log(N);
4396
4374
  });
4397
4375
  };
4398
- Object.keys(_t).forEach((y) => {
4399
- Et(y, _t[y]);
4376
+ Object.keys(yt).forEach((y) => {
4377
+ gt(y, yt[y]);
4400
4378
  });
4401
- const x = () => {
4379
+ const E = () => {
4402
4380
  let y = new Headers();
4403
4381
  y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4404
4382
  let N = { method: "DELETE", headers: y };
4405
- fetch(`${i}/v1/player/session/player`, N).then((xe) => {
4406
- window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Mi("logged_out", {});
4383
+ fetch(`${i}/v1/player/session/player`, N).then((Ee) => {
4384
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Ii("logged_out", {});
4407
4385
  });
4408
4386
  }, $ = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(c)), p), A = () => {
4409
- Ci(a);
4387
+ Li(a);
4410
4388
  };
4411
- gr(() => () => {
4389
+ pr(() => () => {
4412
4390
  });
4413
- const U = () => x(), ae = () => x();
4414
- function sr(y) {
4415
- Ie[y ? "unshift" : "push"](() => {
4391
+ const U = () => E(), ae = () => E();
4392
+ function rr(y) {
4393
+ Oe[y ? "unshift" : "push"](() => {
4416
4394
  d = y, r(1, d);
4417
4395
  });
4418
4396
  }
@@ -4422,10 +4400,10 @@ function ki(e, t, r) {
4422
4400
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4423
4401
  193 && i && o && s && $(), e.$$.dirty & /*lang*/
4424
4402
  256 && a && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4425
- 1026 && u && d && xt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4426
- 1026 && u && d && xt(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4427
- 2050 && l && d && $i(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4428
- 514 && h && d && Ri(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4403
+ 1026 && u && d && vt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4404
+ 1026 && u && d && vt(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4405
+ 2050 && l && d && Ni(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4406
+ 514 && h && d && Mi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4429
4407
  4096 && f && L();
4430
4408
  }, [
4431
4409
  s,
@@ -4433,7 +4411,7 @@ function ki(e, t, r) {
4433
4411
  n,
4434
4412
  H,
4435
4413
  C,
4436
- x,
4414
+ E,
4437
4415
  i,
4438
4416
  o,
4439
4417
  a,
@@ -4443,17 +4421,17 @@ function ki(e, t, r) {
4443
4421
  f,
4444
4422
  U,
4445
4423
  ae,
4446
- sr
4424
+ rr
4447
4425
  ];
4448
4426
  }
4449
- class Vi extends Pr {
4427
+ class Fi extends Hr {
4450
4428
  constructor(t) {
4451
- super(), wr(
4429
+ super(), Sr(
4452
4430
  this,
4453
4431
  t,
4454
- ki,
4455
- ji,
4456
- Tt,
4432
+ Di,
4433
+ Gi,
4434
+ xt,
4457
4435
  {
4458
4436
  endpoint: 6,
4459
4437
  session: 7,
@@ -4464,7 +4442,7 @@ class Vi extends Pr {
4464
4442
  clientstylingurl: 11,
4465
4443
  translationurl: 12
4466
4444
  },
4467
- Ui
4445
+ Ci
4468
4446
  );
4469
4447
  }
4470
4448
  get endpoint() {
@@ -4516,7 +4494,7 @@ class Vi extends Pr {
4516
4494
  this.$$set({ translationurl: t }), w();
4517
4495
  }
4518
4496
  }
4519
- Ar(Vi, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4497
+ Tr(Fi, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4520
4498
  export {
4521
- Vi as G
4499
+ Fi as G
4522
4500
  };