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