@everymatrix/player-account-menu-nd 1.59.3 → 1.60.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/components/{GeneralLogout-DOA4fn9r.js → GeneralLogout-2d97wZyo.js} +625 -592
  2. package/components/{GeneralLogout-DYiom6lN.js → GeneralLogout-44vVlNTP.js} +586 -553
  3. package/components/GeneralLogout-BFiyb0LX.cjs +18 -0
  4. package/components/{PlayerAccountMenuNd-Cbx4lG47.cjs → PlayerAccountMenuNd-C-vs9aJe.cjs} +1 -1
  5. package/components/{PlayerAccountMenuNd-B8qiXHWj.js → PlayerAccountMenuNd-DfQL1RPm.js} +29 -29
  6. package/components/{PlayerAccountMenuNd-Bj_BBVlB.js → PlayerAccountMenuNd-YdGKKK8P.js} +27 -27
  7. package/es2015/player-account-menu-nd.cjs +1 -1
  8. package/es2015/player-account-menu-nd.js +1 -1
  9. package/esnext/player-account-menu-nd.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
  12. package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
  13. package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
  14. package/stencil/{ui-skeleton-IHMCRYEX.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
  15. package/stencil/{ui-skeleton-DFpfaKvi.js → ui-skeleton-C5gPr5Xv.js} +2 -2
  16. package/stencil/{ui-skeleton-UUT_AJxa.js → ui-skeleton-M7HNQCk1.js} +2 -2
  17. package/stencil/{ui-skeleton-a642cced-BNXFvvk_.js → ui-skeleton-a642cced-BFJMszWG.js} +1 -1
  18. package/stencil/{ui-skeleton-a642cced-5nW6b8_l.cjs → ui-skeleton-a642cced-DO34s50a.cjs} +1 -1
  19. package/stencil/{ui-skeleton-a642cced-DdY2eEM0.js → ui-skeleton-a642cced-p8tGooXk.js} +1 -1
  20. package/components/GeneralLogout-i6PS_xB2.cjs +0 -18
  21. package/stencil/index-ae04a8b1-BxaX26xW.js +0 -516
  22. package/stencil/index-ae04a8b1-D7qYBP-T.js +0 -532
  23. package/stencil/index-ae04a8b1-Dk7mk6oB.cjs +0 -1
@@ -1,28 +1,28 @@
1
1
  function B() {
2
2
  }
3
- function xt(e) {
3
+ function Tt(e) {
4
4
  return e();
5
5
  }
6
- function qe() {
6
+ function Ke() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ie(e) {
10
- e.forEach(xt);
10
+ e.forEach(Tt);
11
11
  }
12
- function ze(e) {
12
+ function Ze(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Et(e, t) {
15
+ function Ht(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let ue;
19
- function ji(e, t) {
19
+ function Wi(e, t) {
20
20
  return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
21
21
  }
22
- function or(e) {
22
+ function hr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function St(e, ...t) {
25
+ function Bt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -31,20 +31,20 @@ function St(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function sr(e, t, r) {
35
- e.$$.on_destroy.push(St(t, r));
34
+ function lr(e, t, r) {
35
+ e.$$.on_destroy.push(Bt(t, r));
36
36
  }
37
37
  function T(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function ar(e, t, r) {
41
- const n = ur(e);
40
+ function cr(e, t, r) {
41
+ const n = fr(e);
42
42
  if (!n.getElementById(t)) {
43
43
  const i = P("style");
44
- i.id = t, i.textContent = r, hr(n, i);
44
+ i.id = t, i.textContent = r, pr(n, i);
45
45
  }
46
46
  }
47
- function ur(e) {
47
+ function fr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,7 +54,7 @@ function ur(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function hr(e, t) {
57
+ function pr(e, t) {
58
58
  return T(
59
59
  /** @type {Document} */
60
60
  e.head || e,
@@ -67,7 +67,7 @@ function oe(e, t, r) {
67
67
  function Z(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function ki(e, t) {
70
+ function zi(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
@@ -80,30 +80,30 @@ function Y(e) {
80
80
  function ge(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function lr() {
83
+ function dr() {
84
84
  return ge(" ");
85
85
  }
86
- function Tt(e, t, r, n) {
86
+ function wt(e, t, r, n) {
87
87
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
88
88
  }
89
89
  function S(e, t, r) {
90
90
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
91
91
  }
92
- function Vi(e, t, r) {
92
+ function Zi(e, t, r) {
93
93
  const n = t.toLowerCase();
94
94
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : S(e, t, r);
95
95
  }
96
- function cr(e) {
96
+ function mr(e) {
97
97
  return Array.from(e.childNodes);
98
98
  }
99
- function Ht(e, t) {
99
+ function At(e, t) {
100
100
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
101
101
  t);
102
102
  }
103
- function fr(e, t, r, n) {
103
+ function br(e, t, r, n) {
104
104
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
105
105
  }
106
- function pr(e) {
106
+ function gr(e) {
107
107
  const t = {};
108
108
  return e.childNodes.forEach(
109
109
  /** @param {Element} node */
@@ -116,84 +116,84 @@ let te;
116
116
  function ee(e) {
117
117
  te = e;
118
118
  }
119
- function dr() {
119
+ function yr() {
120
120
  if (!te)
121
121
  throw new Error("Function called outside component initialization");
122
122
  return te;
123
123
  }
124
- function mr(e) {
125
- dr().$$.on_mount.push(e);
124
+ function vr(e) {
125
+ yr().$$.on_mount.push(e);
126
126
  }
127
- const F = [], Ie = [];
127
+ const F = [], Le = [];
128
128
  let j = [];
129
- const Je = [], br = /* @__PURE__ */ Promise.resolve();
130
- let Le = !1;
131
- function gr() {
132
- Le || (Le = !0, br.then(w));
129
+ const et = [], _r = /* @__PURE__ */ Promise.resolve();
130
+ let Ne = !1;
131
+ function Er() {
132
+ Ne || (Ne = !0, _r.then(w));
133
133
  }
134
- function Ne(e) {
134
+ function Me(e) {
135
135
  j.push(e);
136
136
  }
137
137
  const Te = /* @__PURE__ */ new Set();
138
- let G = 0;
138
+ let D = 0;
139
139
  function w() {
140
- if (G !== 0)
140
+ if (D !== 0)
141
141
  return;
142
142
  const e = te;
143
143
  do {
144
144
  try {
145
- for (; G < F.length; ) {
146
- const t = F[G];
147
- G++, ee(t), yr(t.$$);
145
+ for (; D < F.length; ) {
146
+ const t = F[D];
147
+ D++, ee(t), xr(t.$$);
148
148
  }
149
149
  } catch (t) {
150
- throw F.length = 0, G = 0, t;
150
+ throw F.length = 0, D = 0, t;
151
151
  }
152
- for (ee(null), F.length = 0, G = 0; Ie.length; )
153
- Ie.pop()();
152
+ for (ee(null), F.length = 0, D = 0; Le.length; )
153
+ Le.pop()();
154
154
  for (let t = 0; t < j.length; t += 1) {
155
155
  const r = j[t];
156
156
  Te.has(r) || (Te.add(r), r());
157
157
  }
158
158
  j.length = 0;
159
159
  } while (F.length);
160
- for (; Je.length; )
161
- Je.pop()();
162
- Le = !1, Te.clear(), ee(e);
160
+ for (; et.length; )
161
+ et.pop()();
162
+ Ne = !1, Te.clear(), ee(e);
163
163
  }
164
- function yr(e) {
164
+ function xr(e) {
165
165
  if (e.fragment !== null) {
166
166
  e.update(), ie(e.before_update);
167
167
  const t = e.dirty;
168
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
168
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
169
169
  }
170
170
  }
171
- function vr(e) {
171
+ function Sr(e) {
172
172
  const t = [], r = [];
173
173
  j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
174
174
  }
175
- const _r = /* @__PURE__ */ new Set();
176
- function xr(e, t) {
177
- e && e.i && (_r.delete(e), e.i(t));
175
+ const Tr = /* @__PURE__ */ new Set();
176
+ function Hr(e, t) {
177
+ e && e.i && (Tr.delete(e), e.i(t));
178
178
  }
179
- function Xi(e) {
179
+ function Qi(e) {
180
180
  return e?.length !== void 0 ? e : Array.from(e);
181
181
  }
182
- function Er(e, t, r) {
182
+ function Br(e, t, r) {
183
183
  const { fragment: n, after_update: i } = e.$$;
184
- n && n.m(t, r), Ne(() => {
185
- const o = e.$$.on_mount.map(xt).filter(ze);
184
+ n && n.m(t, r), Me(() => {
185
+ const o = e.$$.on_mount.map(Tt).filter(Ze);
186
186
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
187
- }), i.forEach(Ne);
187
+ }), i.forEach(Me);
188
188
  }
189
- function Sr(e, t) {
189
+ function wr(e, t) {
190
190
  const r = e.$$;
191
- r.fragment !== null && (vr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
191
+ r.fragment !== null && (Sr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
192
192
  }
193
- function Tr(e, t) {
194
- e.$$.dirty[0] === -1 && (F.push(e), gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
193
+ function Ar(e, t) {
194
+ e.$$.dirty[0] === -1 && (F.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
195
195
  }
196
- function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
196
+ function Pr(e, t, r, n, i, o, s = null, a = [-1]) {
197
197
  const h = te;
198
198
  ee(e);
199
199
  const u = e.$$ = {
@@ -203,7 +203,7 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
203
203
  props: o,
204
204
  update: B,
205
205
  not_equal: i,
206
- bound: qe(),
206
+ bound: Ke(),
207
207
  // lifecycle
208
208
  on_mount: [],
209
209
  on_destroy: [],
@@ -212,7 +212,7 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
212
212
  after_update: [],
213
213
  context: new Map(t.context || (h ? h.$$.context : [])),
214
214
  // everything else
215
- callbacks: qe(),
215
+ callbacks: Ke(),
216
216
  dirty: a,
217
217
  skip_bound: !1,
218
218
  root: t.target || h.$$.root
@@ -221,19 +221,19 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
221
221
  let l = !1;
222
222
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
223
223
  const d = p.length ? p[0] : c;
224
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Tr(e, f)), c;
224
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Ar(e, f)), c;
225
225
  }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
226
226
  if (t.hydrate) {
227
- const f = cr(t.target);
227
+ const f = mr(t.target);
228
228
  u.fragment && u.fragment.l(f), f.forEach(Z);
229
229
  } else
230
230
  u.fragment && u.fragment.c();
231
- t.intro && xr(e.$$.fragment), Er(e, t.target, t.anchor), w();
231
+ t.intro && Hr(e.$$.fragment), Br(e, t.target, t.anchor), w();
232
232
  }
233
233
  ee(h);
234
234
  }
235
- let Bt;
236
- typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
235
+ let Pt;
236
+ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
237
237
  /** The Svelte component constructor */
238
238
  $$ctor;
239
239
  /** Slots */
@@ -292,7 +292,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
292
292
  };
293
293
  if (await Promise.resolve(), !this.$$cn || this.$$c)
294
294
  return;
295
- const t = {}, r = pr(this);
295
+ const t = {}, r = gr(this);
296
296
  for (const i of this.$$s)
297
297
  i in r && (t[i] = [e(i)]);
298
298
  for (const i of this.attributes) {
@@ -379,8 +379,8 @@ function ce(e, t, r, n) {
379
379
  return t;
380
380
  }
381
381
  }
382
- function Br(e, t, r, n, i, o) {
383
- let s = class extends Bt {
382
+ function Or(e, t, r, n, i, o) {
383
+ let s = class extends Pt {
384
384
  constructor() {
385
385
  super(e, r, i), this.$$p_d = t;
386
386
  }
@@ -408,7 +408,7 @@ function Br(e, t, r, n, i, o) {
408
408
  }), e.element = /** @type {any} */
409
409
  s, s;
410
410
  }
411
- class wr {
411
+ class Ir {
412
412
  /**
413
413
  * ### PRIVATE API
414
414
  *
@@ -427,7 +427,7 @@ class wr {
427
427
  $$set = void 0;
428
428
  /** @returns {void} */
429
429
  $destroy() {
430
- Sr(this, 1), this.$destroy = B;
430
+ wr(this, 1), this.$destroy = B;
431
431
  }
432
432
  /**
433
433
  * @template {Extract<keyof Events, string>} K
@@ -436,7 +436,7 @@ class wr {
436
436
  * @returns {() => void}
437
437
  */
438
438
  $on(t, r) {
439
- if (!ze(r))
439
+ if (!Ze(r))
440
440
  return B;
441
441
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
442
442
  return n.push(r), () => {
@@ -449,11 +449,11 @@ class wr {
449
449
  * @returns {void}
450
450
  */
451
451
  $set(t) {
452
- this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
452
+ this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
453
453
  }
454
454
  }
455
- const Ar = "4";
456
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ar);
455
+ const Lr = "4";
456
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
457
457
  /*! *****************************************************************************
458
458
  Copyright (c) Microsoft Corporation.
459
459
 
@@ -468,18 +468,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
468
468
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
469
469
  PERFORMANCE OF THIS SOFTWARE.
470
470
  ***************************************************************************** */
471
- var Me = function(e, t) {
472
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
471
+ var Ce = function(e, t) {
472
+ return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
473
473
  r.__proto__ = n;
474
474
  } || function(r, n) {
475
475
  for (var i in n)
476
476
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
477
- }, Me(e, t);
477
+ }, Ce(e, t);
478
478
  };
479
479
  function I(e, t) {
480
480
  if (typeof t != "function" && t !== null)
481
481
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
482
- Me(e, t);
482
+ Ce(e, t);
483
483
  function r() {
484
484
  this.constructor = e;
485
485
  }
@@ -495,7 +495,7 @@ var g = function() {
495
495
  return t;
496
496
  }, g.apply(this, arguments);
497
497
  };
498
- function Pr(e, t) {
498
+ function Nr(e, t) {
499
499
  var r = {};
500
500
  for (var n in e)
501
501
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -504,7 +504,7 @@ function Pr(e, t) {
504
504
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
505
505
  return r;
506
506
  }
507
- function Ce(e) {
507
+ function $e(e) {
508
508
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
509
509
  if (r)
510
510
  return r.call(e);
@@ -516,7 +516,7 @@ function Ce(e) {
516
516
  };
517
517
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
518
518
  }
519
- function $e(e, t) {
519
+ function Re(e, t) {
520
520
  var r = typeof Symbol == "function" && e[Symbol.iterator];
521
521
  if (!r)
522
522
  return e;
@@ -545,13 +545,13 @@ function k(e, t, r) {
545
545
  function O(e) {
546
546
  return typeof e == "function";
547
547
  }
548
- function wt(e) {
548
+ function Ot(e) {
549
549
  var t = function(n) {
550
550
  Error.call(n), n.stack = new Error().stack;
551
551
  }, r = e(t);
552
552
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
553
553
  }
554
- var He = wt(function(e) {
554
+ var He = Ot(function(e) {
555
555
  return function(r) {
556
556
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
557
557
  ` + r.map(function(n, i) {
@@ -560,7 +560,7 @@ var He = wt(function(e) {
560
560
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
561
561
  };
562
562
  });
563
- function Re(e, t) {
563
+ function Ue(e, t) {
564
564
  if (e) {
565
565
  var r = e.indexOf(t);
566
566
  0 <= r && e.splice(r, 1);
@@ -578,7 +578,7 @@ var ye = function() {
578
578
  if (s)
579
579
  if (this._parentage = null, Array.isArray(s))
580
580
  try {
581
- for (var a = Ce(s), h = a.next(); !h.done; h = a.next()) {
581
+ for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
582
582
  var u = h.value;
583
583
  u.remove(this);
584
584
  }
@@ -605,12 +605,12 @@ var ye = function() {
605
605
  if (f) {
606
606
  this._finalizers = null;
607
607
  try {
608
- for (var c = Ce(f), p = c.next(); !p.done; p = c.next()) {
608
+ for (var c = $e(f), p = c.next(); !p.done; p = c.next()) {
609
609
  var d = p.value;
610
610
  try {
611
- Ye(d);
611
+ tt(d);
612
612
  } catch (v) {
613
- o = o ?? [], v instanceof He ? o = k(k([], $e(o)), $e(v.errors)) : o.push(v);
613
+ o = o ?? [], v instanceof He ? o = k(k([], Re(o)), Re(v.errors)) : o.push(v);
614
614
  }
615
615
  }
616
616
  } catch (v) {
@@ -631,7 +631,7 @@ var ye = function() {
631
631
  var r;
632
632
  if (t && t !== this)
633
633
  if (this.closed)
634
- Ye(t);
634
+ tt(t);
635
635
  else {
636
636
  if (t instanceof e) {
637
637
  if (t.closed || t._hasParent(this))
@@ -648,52 +648,56 @@ var ye = function() {
648
648
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
649
649
  }, e.prototype._removeParent = function(t) {
650
650
  var r = this._parentage;
651
- r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
651
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
652
652
  }, e.prototype.remove = function(t) {
653
653
  var r = this._finalizers;
654
- r && Re(r, t), t instanceof e && t._removeParent(this);
654
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
655
655
  }, e.EMPTY = function() {
656
656
  var t = new e();
657
657
  return t.closed = !0, t;
658
658
  }(), e;
659
- }(), At = ye.EMPTY;
660
- function Pt(e) {
659
+ }(), It = ye.EMPTY;
660
+ function Lt(e) {
661
661
  return e instanceof ye || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
662
662
  }
663
- function Ye(e) {
663
+ function tt(e) {
664
664
  O(e) ? e() : e.unsubscribe();
665
665
  }
666
- var Or = {
667
- Promise: void 0
668
- }, Ir = {
666
+ var Nt = {
667
+ onUnhandledError: null,
668
+ onStoppedNotification: null,
669
+ Promise: void 0,
670
+ useDeprecatedSynchronousErrorHandling: !1,
671
+ useDeprecatedNextContext: !1
672
+ }, Mr = {
669
673
  setTimeout: function(e, t) {
670
674
  for (var r = [], n = 2; n < arguments.length; n++)
671
675
  r[n - 2] = arguments[n];
672
- return setTimeout.apply(void 0, k([e, t], $e(r)));
676
+ return setTimeout.apply(void 0, k([e, t], Re(r)));
673
677
  },
674
678
  clearTimeout: function(e) {
675
679
  return clearTimeout(e);
676
680
  },
677
681
  delegate: void 0
678
682
  };
679
- function Lr(e) {
680
- Ir.setTimeout(function() {
683
+ function Cr(e) {
684
+ Mr.setTimeout(function() {
681
685
  throw e;
682
686
  });
683
687
  }
684
- function Ke() {
688
+ function rt() {
685
689
  }
686
690
  function fe(e) {
687
691
  e();
688
692
  }
689
- var Ot = function(e) {
693
+ var Mt = function(e) {
690
694
  I(t, e);
691
695
  function t(r) {
692
696
  var n = e.call(this) || this;
693
- return n.isStopped = !1, r ? (n.destination = r, Pt(r) && r.add(n)) : n.destination = Cr, n;
697
+ return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = Dr, n;
694
698
  }
695
699
  return t.create = function(r, n, i) {
696
- return new Ue(r, n, i);
700
+ return new De(r, n, i);
697
701
  }, t.prototype.next = function(r) {
698
702
  this.isStopped || this._next(r);
699
703
  }, t.prototype.error = function(r) {
@@ -717,7 +721,11 @@ var Ot = function(e) {
717
721
  this.unsubscribe();
718
722
  }
719
723
  }, t;
720
- }(ye), Nr = function() {
724
+ }(ye), $r = Function.prototype.bind;
725
+ function Be(e, t) {
726
+ return $r.call(e, t);
727
+ }
728
+ var Rr = function() {
721
729
  function e(t) {
722
730
  this.partialObserver = t;
723
731
  }
@@ -748,43 +756,55 @@ var Ot = function(e) {
748
756
  he(r);
749
757
  }
750
758
  }, e;
751
- }(), Ue = function(e) {
759
+ }(), De = function(e) {
752
760
  I(t, e);
753
761
  function t(r, n, i) {
754
762
  var o = e.call(this) || this, s;
755
- return O(r) || !r ? s = {
756
- next: r ?? void 0,
757
- error: n ?? void 0,
758
- complete: i ?? void 0
759
- } : s = r, o.destination = new Nr(s), o;
763
+ if (O(r) || !r)
764
+ s = {
765
+ next: r ?? void 0,
766
+ error: n ?? void 0,
767
+ complete: i ?? void 0
768
+ };
769
+ else {
770
+ var a;
771
+ o && Nt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
772
+ return o.unsubscribe();
773
+ }, s = {
774
+ next: r.next && Be(r.next, a),
775
+ error: r.error && Be(r.error, a),
776
+ complete: r.complete && Be(r.complete, a)
777
+ }) : s = r;
778
+ }
779
+ return o.destination = new Rr(s), o;
760
780
  }
761
781
  return t;
762
- }(Ot);
782
+ }(Mt);
763
783
  function he(e) {
764
- Lr(e);
784
+ Cr(e);
765
785
  }
766
- function Mr(e) {
786
+ function Ur(e) {
767
787
  throw e;
768
788
  }
769
- var Cr = {
789
+ var Dr = {
770
790
  closed: !0,
771
- next: Ke,
772
- error: Mr,
773
- complete: Ke
774
- }, $r = function() {
791
+ next: rt,
792
+ error: Ur,
793
+ complete: rt
794
+ }, Gr = function() {
775
795
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
776
796
  }();
777
- function Rr(e) {
797
+ function Fr(e) {
778
798
  return e;
779
799
  }
780
- function Ur(e) {
781
- return e.length === 0 ? Rr : e.length === 1 ? e[0] : function(r) {
800
+ function jr(e) {
801
+ return e.length === 0 ? Fr : e.length === 1 ? e[0] : function(r) {
782
802
  return e.reduce(function(n, i) {
783
803
  return i(n);
784
804
  }, r);
785
805
  };
786
806
  }
787
- var et = function() {
807
+ var nt = function() {
788
808
  function e(t) {
789
809
  t && (this._subscribe = t);
790
810
  }
@@ -792,7 +812,7 @@ var et = function() {
792
812
  var r = new e();
793
813
  return r.source = this, r.operator = t, r;
794
814
  }, e.prototype.subscribe = function(t, r, n) {
795
- var i = this, o = Dr(t) ? t : new Ue(t, r, n);
815
+ var i = this, o = Vr(t) ? t : new De(t, r, n);
796
816
  return fe(function() {
797
817
  var s = i, a = s.operator, h = s.source;
798
818
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -805,8 +825,8 @@ var et = function() {
805
825
  }
806
826
  }, e.prototype.forEach = function(t, r) {
807
827
  var n = this;
808
- return r = tt(r), new r(function(i, o) {
809
- var s = new Ue({
828
+ return r = it(r), new r(function(i, o) {
829
+ var s = new De({
810
830
  next: function(a) {
811
831
  try {
812
832
  t(a);
@@ -822,15 +842,15 @@ var et = function() {
822
842
  }, e.prototype._subscribe = function(t) {
823
843
  var r;
824
844
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
825
- }, e.prototype[$r] = function() {
845
+ }, e.prototype[Gr] = function() {
826
846
  return this;
827
847
  }, e.prototype.pipe = function() {
828
848
  for (var t = [], r = 0; r < arguments.length; r++)
829
849
  t[r] = arguments[r];
830
- return Ur(t)(this);
850
+ return jr(t)(this);
831
851
  }, e.prototype.toPromise = function(t) {
832
852
  var r = this;
833
- return t = tt(t), new t(function(n, i) {
853
+ return t = it(t), new t(function(n, i) {
834
854
  var o;
835
855
  r.subscribe(function(s) {
836
856
  return o = s;
@@ -844,32 +864,32 @@ var et = function() {
844
864
  return new e(t);
845
865
  }, e;
846
866
  }();
847
- function tt(e) {
867
+ function it(e) {
848
868
  var t;
849
- return (t = e ?? Or.Promise) !== null && t !== void 0 ? t : Promise;
869
+ return (t = e ?? Nt.Promise) !== null && t !== void 0 ? t : Promise;
850
870
  }
851
- function Gr(e) {
871
+ function kr(e) {
852
872
  return e && O(e.next) && O(e.error) && O(e.complete);
853
873
  }
854
- function Dr(e) {
855
- return e && e instanceof Ot || Gr(e) && Pt(e);
874
+ function Vr(e) {
875
+ return e && e instanceof Mt || kr(e) && Lt(e);
856
876
  }
857
- var Fr = wt(function(e) {
877
+ var Xr = Ot(function(e) {
858
878
  return function() {
859
879
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
860
880
  };
861
- }), It = function(e) {
881
+ }), Ct = function(e) {
862
882
  I(t, e);
863
883
  function t() {
864
884
  var r = e.call(this) || this;
865
885
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
866
886
  }
867
887
  return t.prototype.lift = function(r) {
868
- var n = new rt(this, this);
888
+ var n = new ot(this, this);
869
889
  return n.operator = r, n;
870
890
  }, t.prototype._throwIfClosed = function() {
871
891
  if (this.closed)
872
- throw new Fr();
892
+ throw new Xr();
873
893
  }, t.prototype.next = function(r) {
874
894
  var n = this;
875
895
  fe(function() {
@@ -877,7 +897,7 @@ var Fr = wt(function(e) {
877
897
  if (n._throwIfClosed(), !n.isStopped) {
878
898
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
879
899
  try {
880
- for (var s = Ce(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
900
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
881
901
  var h = a.value;
882
902
  h.next(r);
883
903
  }
@@ -926,19 +946,19 @@ var Fr = wt(function(e) {
926
946
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
927
947
  }, t.prototype._innerSubscribe = function(r) {
928
948
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
929
- return o || s ? At : (this.currentObservers = null, a.push(r), new ye(function() {
930
- n.currentObservers = null, Re(a, r);
949
+ return o || s ? It : (this.currentObservers = null, a.push(r), new ye(function() {
950
+ n.currentObservers = null, Ue(a, r);
931
951
  }));
932
952
  }, t.prototype._checkFinalizedStatuses = function(r) {
933
953
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
934
954
  i ? r.error(o) : s && r.complete();
935
955
  }, t.prototype.asObservable = function() {
936
- var r = new et();
956
+ var r = new nt();
937
957
  return r.source = this, r;
938
958
  }, t.create = function(r, n) {
939
- return new rt(r, n);
959
+ return new ot(r, n);
940
960
  }, t;
941
- }(et), rt = function(e) {
961
+ }(nt), ot = function(e) {
942
962
  I(t, e);
943
963
  function t(r, n) {
944
964
  var i = e.call(this) || this;
@@ -955,17 +975,17 @@ var Fr = wt(function(e) {
955
975
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
956
976
  }, t.prototype._subscribe = function(r) {
957
977
  var n, i;
958
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : At;
978
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : It;
959
979
  }, t;
960
- }(It), Lt = {
980
+ }(Ct), $t = {
961
981
  now: function() {
962
- return (Lt.delegate || Date).now();
982
+ return ($t.delegate || Date).now();
963
983
  },
964
984
  delegate: void 0
965
- }, jr = function(e) {
985
+ }, Wr = function(e) {
966
986
  I(t, e);
967
987
  function t(r, n, i) {
968
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lt);
988
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
969
989
  var o = e.call(this) || this;
970
990
  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;
971
991
  }
@@ -985,15 +1005,15 @@ var Fr = wt(function(e) {
985
1005
  u && o.splice(0, u + 1);
986
1006
  }
987
1007
  }, t;
988
- }(It);
989
- const nt = [], it = {}, kr = (e, t = 0) => {
990
- if (nt.indexOf(e) == -1) {
991
- const r = new jr(t);
992
- it[e] = r, nt.push(e);
1008
+ }(Ct);
1009
+ const st = [], at = {}, zr = (e, t = 0) => {
1010
+ if (st.indexOf(e) == -1) {
1011
+ const r = new Wr(t);
1012
+ at[e] = r, st.push(e);
993
1013
  }
994
- return it[e];
995
- }, D = [];
996
- function Vr(e, t) {
1014
+ return at[e];
1015
+ }, G = [];
1016
+ function Zr(e, t) {
997
1017
  return {
998
1018
  subscribe: ve(e, t).subscribe
999
1019
  };
@@ -1002,14 +1022,14 @@ function ve(e, t = B) {
1002
1022
  let r;
1003
1023
  const n = /* @__PURE__ */ new Set();
1004
1024
  function i(a) {
1005
- if (Et(e, a) && (e = a, r)) {
1006
- const h = !D.length;
1025
+ if (Ht(e, a) && (e = a, r)) {
1026
+ const h = !G.length;
1007
1027
  for (const u of n)
1008
- u[1](), D.push(u, e);
1028
+ u[1](), G.push(u, e);
1009
1029
  if (h) {
1010
- for (let u = 0; u < D.length; u += 2)
1011
- D[u][0](D[u + 1]);
1012
- D.length = 0;
1030
+ for (let u = 0; u < G.length; u += 2)
1031
+ G[u][0](G[u + 1]);
1032
+ G.length = 0;
1013
1033
  }
1014
1034
  }
1015
1035
  }
@@ -1029,7 +1049,7 @@ function Q(e, t, r) {
1029
1049
  if (!i.every(Boolean))
1030
1050
  throw new Error("derived() expects stores as input, got a falsy value");
1031
1051
  const o = t.length < 2;
1032
- return Vr(r, (s, a) => {
1052
+ return Zr(r, (s, a) => {
1033
1053
  let h = !1;
1034
1054
  const u = [];
1035
1055
  let l = 0, f = B;
@@ -1038,9 +1058,9 @@ function Q(e, t, r) {
1038
1058
  return;
1039
1059
  f();
1040
1060
  const d = t(n ? u[0] : u, s, a);
1041
- o ? s(d) : f = ze(d) ? d : B;
1061
+ o ? s(d) : f = Ze(d) ? d : B;
1042
1062
  }, p = i.map(
1043
- (d, v) => St(
1063
+ (d, v) => Bt(
1044
1064
  d,
1045
1065
  (H) => {
1046
1066
  u[v] = H, l &= ~(1 << v), h && c();
@@ -1055,70 +1075,70 @@ function Q(e, t, r) {
1055
1075
  };
1056
1076
  });
1057
1077
  }
1058
- function Xr(e) {
1078
+ function Qr(e) {
1059
1079
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1060
1080
  }
1061
- var Wr = function(t) {
1062
- return zr(t) && !Zr(t);
1081
+ var qr = function(t) {
1082
+ return Jr(t) && !Yr(t);
1063
1083
  };
1064
- function zr(e) {
1084
+ function Jr(e) {
1065
1085
  return !!e && typeof e == "object";
1066
1086
  }
1067
- function Zr(e) {
1087
+ function Yr(e) {
1068
1088
  var t = Object.prototype.toString.call(e);
1069
- return t === "[object RegExp]" || t === "[object Date]" || Jr(e);
1089
+ return t === "[object RegExp]" || t === "[object Date]" || tn(e);
1070
1090
  }
1071
- var Qr = typeof Symbol == "function" && Symbol.for, qr = Qr ? Symbol.for("react.element") : 60103;
1072
- function Jr(e) {
1073
- return e.$$typeof === qr;
1091
+ var Kr = typeof Symbol == "function" && Symbol.for, en = Kr ? Symbol.for("react.element") : 60103;
1092
+ function tn(e) {
1093
+ return e.$$typeof === en;
1074
1094
  }
1075
- function Yr(e) {
1095
+ function rn(e) {
1076
1096
  return Array.isArray(e) ? [] : {};
1077
1097
  }
1078
1098
  function re(e, t) {
1079
- return t.clone !== !1 && t.isMergeableObject(e) ? V(Yr(e), e, t) : e;
1099
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(rn(e), e, t) : e;
1080
1100
  }
1081
- function Kr(e, t, r) {
1101
+ function nn(e, t, r) {
1082
1102
  return e.concat(t).map(function(n) {
1083
1103
  return re(n, r);
1084
1104
  });
1085
1105
  }
1086
- function en(e, t) {
1106
+ function on(e, t) {
1087
1107
  if (!t.customMerge)
1088
1108
  return V;
1089
1109
  var r = t.customMerge(e);
1090
1110
  return typeof r == "function" ? r : V;
1091
1111
  }
1092
- function tn(e) {
1112
+ function sn(e) {
1093
1113
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1094
1114
  return Object.propertyIsEnumerable.call(e, t);
1095
1115
  }) : [];
1096
1116
  }
1097
- function ot(e) {
1098
- return Object.keys(e).concat(tn(e));
1117
+ function ut(e) {
1118
+ return Object.keys(e).concat(sn(e));
1099
1119
  }
1100
- function Nt(e, t) {
1120
+ function Rt(e, t) {
1101
1121
  try {
1102
1122
  return t in e;
1103
1123
  } catch {
1104
1124
  return !1;
1105
1125
  }
1106
1126
  }
1107
- function rn(e, t) {
1108
- return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1127
+ function an(e, t) {
1128
+ return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1109
1129
  }
1110
- function nn(e, t, r) {
1130
+ function un(e, t, r) {
1111
1131
  var n = {};
1112
- return r.isMergeableObject(e) && ot(e).forEach(function(i) {
1132
+ return r.isMergeableObject(e) && ut(e).forEach(function(i) {
1113
1133
  n[i] = re(e[i], r);
1114
- }), ot(t).forEach(function(i) {
1115
- rn(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = en(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1134
+ }), ut(t).forEach(function(i) {
1135
+ an(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = on(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1116
1136
  }), n;
1117
1137
  }
1118
1138
  function V(e, t, r) {
1119
- r = r || {}, r.arrayMerge = r.arrayMerge || Kr, r.isMergeableObject = r.isMergeableObject || Wr, r.cloneUnlessOtherwiseSpecified = re;
1139
+ r = r || {}, r.arrayMerge = r.arrayMerge || nn, r.isMergeableObject = r.isMergeableObject || qr, r.cloneUnlessOtherwiseSpecified = re;
1120
1140
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1121
- return o ? n ? r.arrayMerge(e, t, r) : nn(e, t, r) : re(t, r);
1141
+ return o ? n ? r.arrayMerge(e, t, r) : un(e, t, r) : re(t, r);
1122
1142
  }
1123
1143
  V.all = function(t, r) {
1124
1144
  if (!Array.isArray(t))
@@ -1127,56 +1147,58 @@ V.all = function(t, r) {
1127
1147
  return V(n, i, r);
1128
1148
  }, {});
1129
1149
  };
1130
- var on = V, sn = on;
1131
- const an = /* @__PURE__ */ Xr(sn);
1132
- function Be(e, t) {
1133
- var r = t && t.cache ? t.cache : dn, n = t && t.serializer ? t.serializer : fn, i = t && t.strategy ? t.strategy : ln;
1150
+ var hn = V, ln = hn;
1151
+ const cn = /* @__PURE__ */ Qr(ln);
1152
+ function we(e, t) {
1153
+ var r = t && t.cache ? t.cache : gn, n = t && t.serializer ? t.serializer : bn, i = t && t.strategy ? t.strategy : pn;
1134
1154
  return i(e, {
1135
1155
  cache: r,
1136
1156
  serializer: n
1137
1157
  });
1138
1158
  }
1139
- function un(e) {
1159
+ function fn(e) {
1140
1160
  return e == null || typeof e == "number" || typeof e == "boolean";
1141
1161
  }
1142
- function hn(e, t, r, n) {
1143
- var i = un(n) ? n : r(n), o = t.get(i);
1162
+ function Ut(e, t, r, n) {
1163
+ var i = fn(n) ? n : r(n), o = t.get(i);
1144
1164
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1145
1165
  }
1146
- function Mt(e, t, r) {
1166
+ function Dt(e, t, r) {
1147
1167
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1148
1168
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1149
1169
  }
1150
- function Ct(e, t, r, n, i) {
1170
+ function Qe(e, t, r, n, i) {
1151
1171
  return r.bind(t, e, n, i);
1152
1172
  }
1153
- function ln(e, t) {
1154
- var r = e.length === 1 ? hn : Mt;
1155
- return Ct(e, this, r, t.cache.create(), t.serializer);
1173
+ function pn(e, t) {
1174
+ var r = e.length === 1 ? Ut : Dt;
1175
+ return Qe(e, this, r, t.cache.create(), t.serializer);
1176
+ }
1177
+ function dn(e, t) {
1178
+ return Qe(e, this, Dt, t.cache.create(), t.serializer);
1156
1179
  }
1157
- function cn(e, t) {
1158
- return Ct(e, this, Mt, t.cache.create(), t.serializer);
1180
+ function mn(e, t) {
1181
+ return Qe(e, this, Ut, t.cache.create(), t.serializer);
1159
1182
  }
1160
- var fn = function() {
1183
+ var bn = function() {
1161
1184
  return JSON.stringify(arguments);
1162
- }, pn = (
1163
- /** @class */
1164
- function() {
1165
- function e() {
1166
- this.cache = /* @__PURE__ */ Object.create(null);
1167
- }
1168
- return e.prototype.get = function(t) {
1169
- return this.cache[t];
1170
- }, e.prototype.set = function(t, r) {
1171
- this.cache[t] = r;
1172
- }, e;
1173
- }()
1174
- ), dn = {
1185
+ };
1186
+ function qe() {
1187
+ this.cache = /* @__PURE__ */ Object.create(null);
1188
+ }
1189
+ qe.prototype.get = function(e) {
1190
+ return this.cache[e];
1191
+ };
1192
+ qe.prototype.set = function(e, t) {
1193
+ this.cache[e] = t;
1194
+ };
1195
+ var gn = {
1175
1196
  create: function() {
1176
- return new pn();
1197
+ return new qe();
1177
1198
  }
1178
- }, we = {
1179
- variadic: cn
1199
+ }, Ae = {
1200
+ variadic: dn,
1201
+ monadic: mn
1180
1202
  }, m;
1181
1203
  (function(e) {
1182
1204
  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";
@@ -1189,43 +1211,43 @@ var X;
1189
1211
  (function(e) {
1190
1212
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1191
1213
  })(X || (X = {}));
1192
- function st(e) {
1214
+ function ht(e) {
1193
1215
  return e.type === _.literal;
1194
1216
  }
1195
- function mn(e) {
1217
+ function yn(e) {
1196
1218
  return e.type === _.argument;
1197
1219
  }
1198
- function $t(e) {
1220
+ function Gt(e) {
1199
1221
  return e.type === _.number;
1200
1222
  }
1201
- function Rt(e) {
1223
+ function Ft(e) {
1202
1224
  return e.type === _.date;
1203
1225
  }
1204
- function Ut(e) {
1226
+ function jt(e) {
1205
1227
  return e.type === _.time;
1206
1228
  }
1207
- function Gt(e) {
1229
+ function kt(e) {
1208
1230
  return e.type === _.select;
1209
1231
  }
1210
- function Dt(e) {
1232
+ function Vt(e) {
1211
1233
  return e.type === _.plural;
1212
1234
  }
1213
- function bn(e) {
1235
+ function vn(e) {
1214
1236
  return e.type === _.pound;
1215
1237
  }
1216
- function Ft(e) {
1238
+ function Xt(e) {
1217
1239
  return e.type === _.tag;
1218
1240
  }
1219
- function jt(e) {
1241
+ function Wt(e) {
1220
1242
  return !!(e && typeof e == "object" && e.type === X.number);
1221
1243
  }
1222
1244
  function Ge(e) {
1223
1245
  return !!(e && typeof e == "object" && e.type === X.dateTime);
1224
1246
  }
1225
- var kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gn = /(?:[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;
1226
- function yn(e) {
1247
+ var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _n = /(?:[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;
1248
+ function En(e) {
1227
1249
  var t = {};
1228
- return e.replace(gn, function(r) {
1250
+ return e.replace(_n, function(r) {
1229
1251
  var n = r.length;
1230
1252
  switch (r[0]) {
1231
1253
  case "G":
@@ -1314,11 +1336,11 @@ function yn(e) {
1314
1336
  return "";
1315
1337
  }), t;
1316
1338
  }
1317
- var vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1318
- function _n(e) {
1339
+ var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1340
+ function Sn(e) {
1319
1341
  if (e.length === 0)
1320
1342
  throw new Error("Number skeleton cannot be empty");
1321
- for (var t = e.split(vn).filter(function(c) {
1343
+ for (var t = e.split(xn).filter(function(c) {
1322
1344
  return c.length > 0;
1323
1345
  }), r = [], n = 0, i = t; n < i.length; n++) {
1324
1346
  var o = i[n], s = o.split("/");
@@ -1333,17 +1355,17 @@ function _n(e) {
1333
1355
  }
1334
1356
  return r;
1335
1357
  }
1336
- function xn(e) {
1358
+ function Tn(e) {
1337
1359
  return e.replace(/^(.*?)-/, "");
1338
1360
  }
1339
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vt = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
1340
- function ut(e) {
1361
+ var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1362
+ function ct(e) {
1341
1363
  var t = {};
1342
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vt, function(r, n, i) {
1364
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
1343
1365
  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)), "";
1344
1366
  }), t;
1345
1367
  }
1346
- function Wt(e) {
1368
+ function qt(e) {
1347
1369
  switch (e) {
1348
1370
  case "sign-auto":
1349
1371
  return {
@@ -1383,7 +1405,7 @@ function Wt(e) {
1383
1405
  };
1384
1406
  }
1385
1407
  }
1386
- function Sn(e) {
1408
+ function Bn(e) {
1387
1409
  var t;
1388
1410
  if (e[0] === "E" && e[1] === "E" ? (t = {
1389
1411
  notation: "engineering"
@@ -1391,17 +1413,17 @@ function Sn(e) {
1391
1413
  notation: "scientific"
1392
1414
  }, e = e.slice(1)), t) {
1393
1415
  var r = e.slice(0, 2);
1394
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xt.test(e))
1416
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1395
1417
  throw new Error("Malformed concise eng/scientific notation");
1396
1418
  t.minimumIntegerDigits = e.length;
1397
1419
  }
1398
1420
  return t;
1399
1421
  }
1400
- function ht(e) {
1401
- var t = {}, r = Wt(e);
1422
+ function ft(e) {
1423
+ var t = {}, r = qt(e);
1402
1424
  return r || t;
1403
1425
  }
1404
- function Tn(e) {
1426
+ function wn(e) {
1405
1427
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1406
1428
  var i = n[r];
1407
1429
  switch (i.stem) {
@@ -1425,7 +1447,7 @@ function Tn(e) {
1425
1447
  continue;
1426
1448
  case "measure-unit":
1427
1449
  case "unit":
1428
- t.style = "unit", t.unit = xn(i.options[0]);
1450
+ t.style = "unit", t.unit = Tn(i.options[0]);
1429
1451
  continue;
1430
1452
  case "compact-short":
1431
1453
  case "K":
@@ -1437,12 +1459,12 @@ function Tn(e) {
1437
1459
  continue;
1438
1460
  case "scientific":
1439
1461
  t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1440
- return g(g({}, h), ht(u));
1462
+ return g(g({}, h), ft(u));
1441
1463
  }, {}));
1442
1464
  continue;
1443
1465
  case "engineering":
1444
1466
  t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1445
- return g(g({}, h), ht(u));
1467
+ return g(g({}, h), ft(u));
1446
1468
  }, {}));
1447
1469
  continue;
1448
1470
  case "notation-simple":
@@ -1487,7 +1509,7 @@ function Tn(e) {
1487
1509
  case "integer-width":
1488
1510
  if (i.options.length > 1)
1489
1511
  throw new RangeError("integer-width stems only accept a single optional option");
1490
- i.options[0].replace(En, function(h, u, l, f, c, p) {
1512
+ i.options[0].replace(Hn, function(h, u, l, f, c, p) {
1491
1513
  if (u)
1492
1514
  t.minimumIntegerDigits = l.length;
1493
1515
  else {
@@ -1500,27 +1522,27 @@ function Tn(e) {
1500
1522
  });
1501
1523
  continue;
1502
1524
  }
1503
- if (Xt.test(i.stem)) {
1525
+ if (Qt.test(i.stem)) {
1504
1526
  t.minimumIntegerDigits = i.stem.length;
1505
1527
  continue;
1506
1528
  }
1507
- if (at.test(i.stem)) {
1529
+ if (lt.test(i.stem)) {
1508
1530
  if (i.options.length > 1)
1509
1531
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1510
- i.stem.replace(at, function(h, u, l, f, c, p) {
1532
+ i.stem.replace(lt, function(h, u, l, f, c, p) {
1511
1533
  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), "";
1512
1534
  });
1513
1535
  var o = i.options[0];
1514
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ut(o)));
1536
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ct(o)));
1515
1537
  continue;
1516
1538
  }
1517
- if (Vt.test(i.stem)) {
1518
- t = g(g({}, t), ut(i.stem));
1539
+ if (Zt.test(i.stem)) {
1540
+ t = g(g({}, t), ct(i.stem));
1519
1541
  continue;
1520
1542
  }
1521
- var s = Wt(i.stem);
1543
+ var s = qt(i.stem);
1522
1544
  s && (t = g(g({}, t), s));
1523
- var a = Sn(i.stem);
1545
+ var a = Bn(i.stem);
1524
1546
  a && (t = g(g({}, t), a));
1525
1547
  }
1526
1548
  return t;
@@ -2940,13 +2962,13 @@ var le = {
2940
2962
  "h"
2941
2963
  ]
2942
2964
  };
2943
- function Hn(e, t) {
2965
+ function An(e, t) {
2944
2966
  for (var r = "", n = 0; n < e.length; n++) {
2945
2967
  var i = e.charAt(n);
2946
2968
  if (i === "j") {
2947
2969
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2948
2970
  o++, n++;
2949
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Bn(t);
2971
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Pn(t);
2950
2972
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2951
2973
  r += h;
2952
2974
  for (; s-- > 0; )
@@ -2956,7 +2978,7 @@ function Hn(e, t) {
2956
2978
  }
2957
2979
  return r;
2958
2980
  }
2959
- function Bn(e) {
2981
+ function Pn(e) {
2960
2982
  var t = e.hourCycle;
2961
2983
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2962
2984
  e.hourCycles && // @ts-ignore
@@ -2978,20 +3000,20 @@ function Bn(e) {
2978
3000
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
2979
3001
  return i[0];
2980
3002
  }
2981
- var Ae, wn = new RegExp("^".concat(kt.source, "*")), An = new RegExp("".concat(kt.source, "*$"));
3003
+ var Pe, On = new RegExp("^".concat(zt.source, "*")), In = new RegExp("".concat(zt.source, "*$"));
2982
3004
  function b(e, t) {
2983
3005
  return { start: e, end: t };
2984
3006
  }
2985
- var Pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, In = !!Object.fromEntries, Ln = !!String.prototype.codePointAt, Nn = !!String.prototype.trimStart, Mn = !!String.prototype.trimEnd, Cn = !!Number.isSafeInteger, $n = Cn ? Number.isSafeInteger : function(e) {
3007
+ var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, Mn = !!Object.fromEntries, Cn = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Dn = Un ? Number.isSafeInteger : function(e) {
2986
3008
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2987
- }, De = !0;
3009
+ }, Fe = !0;
2988
3010
  try {
2989
- var Rn = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2990
- De = ((Ae = Rn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3011
+ var Gn = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3012
+ Fe = ((Pe = Gn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2991
3013
  } catch {
2992
- De = !1;
3014
+ Fe = !1;
2993
3015
  }
2994
- var lt = Pn ? (
3016
+ var pt = Ln ? (
2995
3017
  // Native
2996
3018
  function(t, r, n) {
2997
3019
  return t.startsWith(r, n);
@@ -3001,7 +3023,7 @@ var lt = Pn ? (
3001
3023
  function(t, r, n) {
3002
3024
  return t.slice(n, n + r.length) === r;
3003
3025
  }
3004
- ), Fe = On ? String.fromCodePoint : (
3026
+ ), je = Nn ? String.fromCodePoint : (
3005
3027
  // IE11
3006
3028
  function() {
3007
3029
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3013,9 +3035,9 @@ var lt = Pn ? (
3013
3035
  }
3014
3036
  return n;
3015
3037
  }
3016
- ), ct = (
3038
+ ), dt = (
3017
3039
  // native
3018
- In ? Object.fromEntries : (
3040
+ Mn ? Object.fromEntries : (
3019
3041
  // Ponyfill
3020
3042
  function(t) {
3021
3043
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3025,7 +3047,7 @@ var lt = Pn ? (
3025
3047
  return r;
3026
3048
  }
3027
3049
  )
3028
- ), zt = Ln ? (
3050
+ ), Jt = Cn ? (
3029
3051
  // Native
3030
3052
  function(t, r) {
3031
3053
  return t.codePointAt(r);
@@ -3039,7 +3061,7 @@ var lt = Pn ? (
3039
3061
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3040
3062
  }
3041
3063
  }
3042
- ), Un = Nn ? (
3064
+ ), Fn = $n ? (
3043
3065
  // Native
3044
3066
  function(t) {
3045
3067
  return t.trimStart();
@@ -3047,9 +3069,9 @@ var lt = Pn ? (
3047
3069
  ) : (
3048
3070
  // Ponyfill
3049
3071
  function(t) {
3050
- return t.replace(wn, "");
3072
+ return t.replace(On, "");
3051
3073
  }
3052
- ), Gn = Mn ? (
3074
+ ), jn = Rn ? (
3053
3075
  // Native
3054
3076
  function(t) {
3055
3077
  return t.trimEnd();
@@ -3057,32 +3079,32 @@ var lt = Pn ? (
3057
3079
  ) : (
3058
3080
  // Ponyfill
3059
3081
  function(t) {
3060
- return t.replace(An, "");
3082
+ return t.replace(In, "");
3061
3083
  }
3062
3084
  );
3063
- function Zt(e, t) {
3085
+ function Yt(e, t) {
3064
3086
  return new RegExp(e, t);
3065
3087
  }
3066
- var je;
3067
- if (De) {
3068
- var ft = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3069
- je = function(t, r) {
3088
+ var ke;
3089
+ if (Fe) {
3090
+ var mt = Yt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3091
+ ke = function(t, r) {
3070
3092
  var n;
3071
- ft.lastIndex = r;
3072
- var i = ft.exec(t);
3093
+ mt.lastIndex = r;
3094
+ var i = mt.exec(t);
3073
3095
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3074
3096
  };
3075
3097
  } else
3076
- je = function(t, r) {
3098
+ ke = function(t, r) {
3077
3099
  for (var n = []; ; ) {
3078
- var i = zt(t, r);
3079
- if (i === void 0 || Qt(i) || kn(i))
3100
+ var i = Jt(t, r);
3101
+ if (i === void 0 || Kt(i) || Wn(i))
3080
3102
  break;
3081
3103
  n.push(i), r += i >= 65536 ? 2 : 1;
3082
3104
  }
3083
- return Fe.apply(void 0, n);
3105
+ return je.apply(void 0, n);
3084
3106
  };
3085
- var Dn = (
3107
+ var kn = (
3086
3108
  /** @class */
3087
3109
  function() {
3088
3110
  function e(t, r) {
@@ -3113,7 +3135,7 @@ var Dn = (
3113
3135
  if (n)
3114
3136
  break;
3115
3137
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3116
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3138
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3117
3139
  var s = this.parseTag(t, r);
3118
3140
  if (s.err)
3119
3141
  return s;
@@ -3146,7 +3168,7 @@ var Dn = (
3146
3168
  return o;
3147
3169
  var s = o.val, a = this.clonePosition();
3148
3170
  if (this.bumpIf("</")) {
3149
- if (this.isEOF() || !ke(this.char()))
3171
+ if (this.isEOF() || !Ve(this.char()))
3150
3172
  return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3151
3173
  var h = this.clonePosition(), u = this.parseTagName();
3152
3174
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3164,7 +3186,7 @@ var Dn = (
3164
3186
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3165
3187
  }, e.prototype.parseTagName = function() {
3166
3188
  var t = this.offset();
3167
- for (this.bump(); !this.isEOF() && jn(this.char()); )
3189
+ for (this.bump(); !this.isEOF() && Xn(this.char()); )
3168
3190
  this.bump();
3169
3191
  return this.message.slice(t, this.offset());
3170
3192
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3193,7 +3215,7 @@ var Dn = (
3193
3215
  };
3194
3216
  }, e.prototype.tryParseLeftAngleBracket = function() {
3195
3217
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3196
- !Fn(this.peek() || 0)) ? (this.bump(), "<") : null;
3218
+ !Vn(this.peek() || 0)) ? (this.bump(), "<") : null;
3197
3219
  }, e.prototype.tryParseQuote = function(t) {
3198
3220
  if (this.isEOF() || this.char() !== 39)
3199
3221
  return null;
@@ -3227,12 +3249,12 @@ var Dn = (
3227
3249
  r.push(n);
3228
3250
  this.bump();
3229
3251
  }
3230
- return Fe.apply(void 0, r);
3252
+ return je.apply(void 0, r);
3231
3253
  }, e.prototype.tryParseUnquoted = function(t, r) {
3232
3254
  if (this.isEOF())
3233
3255
  return null;
3234
3256
  var n = this.char();
3235
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3257
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3236
3258
  }, e.prototype.parseArgument = function(t, r) {
3237
3259
  var n = this.clonePosition();
3238
3260
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3261,7 +3283,7 @@ var Dn = (
3261
3283
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3262
3284
  }
3263
3285
  }, e.prototype.parseIdentifierIfPossible = function() {
3264
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3286
+ var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3265
3287
  this.bumpTo(i);
3266
3288
  var o = this.clonePosition(), s = b(t, o);
3267
3289
  return { value: n, location: s };
@@ -3280,7 +3302,7 @@ var Dn = (
3280
3302
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3281
3303
  if (f.err)
3282
3304
  return f;
3283
- var c = Gn(f.val);
3305
+ var c = jn(f.val);
3284
3306
  if (c.length === 0)
3285
3307
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3286
3308
  var p = b(l, this.clonePosition());
@@ -3290,8 +3312,8 @@ var Dn = (
3290
3312
  if (d.err)
3291
3313
  return d;
3292
3314
  var v = b(i, this.clonePosition());
3293
- if (u && lt(u?.style, "::", 0)) {
3294
- var H = Un(u.style.slice(2));
3315
+ if (u && pt(u?.style, "::", 0)) {
3316
+ var H = Fn(u.style.slice(2));
3295
3317
  if (a === "number") {
3296
3318
  var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
3297
3319
  return f.err ? f : {
@@ -3302,12 +3324,12 @@ var Dn = (
3302
3324
  if (H.length === 0)
3303
3325
  return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3304
3326
  var C = H;
3305
- this.locale && (C = Hn(H, this.locale));
3327
+ this.locale && (C = An(H, this.locale));
3306
3328
  var c = {
3307
3329
  type: X.dateTime,
3308
3330
  pattern: C,
3309
3331
  location: u.styleLocation,
3310
- parsedOptions: this.shouldParseSkeletons ? yn(C) : {}
3332
+ parsedOptions: this.shouldParseSkeletons ? En(C) : {}
3311
3333
  }, L = a === "date" ? _.date : _.time;
3312
3334
  return {
3313
3335
  val: { type: L, value: n, location: v, style: c },
@@ -3328,9 +3350,9 @@ var Dn = (
3328
3350
  case "plural":
3329
3351
  case "selectordinal":
3330
3352
  case "select": {
3331
- var E = this.clonePosition();
3353
+ var x = this.clonePosition();
3332
3354
  if (this.bumpSpace(), !this.bumpIf(","))
3333
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(E, g({}, E)));
3355
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, g({}, x)));
3334
3356
  this.bumpSpace();
3335
3357
  var $ = this.parseIdentifierIfPossible(), A = 0;
3336
3358
  if (a !== "select" && $.value === "offset") {
@@ -3353,7 +3375,7 @@ var Dn = (
3353
3375
  val: {
3354
3376
  type: _.select,
3355
3377
  value: n,
3356
- options: ct(U.val),
3378
+ options: dt(U.val),
3357
3379
  location: ae
3358
3380
  },
3359
3381
  err: null
@@ -3361,7 +3383,7 @@ var Dn = (
3361
3383
  val: {
3362
3384
  type: _.plural,
3363
3385
  value: n,
3364
- options: ct(U.val),
3386
+ options: dt(U.val),
3365
3387
  offset: A,
3366
3388
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3367
3389
  location: ae
@@ -3412,7 +3434,7 @@ var Dn = (
3412
3434
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3413
3435
  var n = [];
3414
3436
  try {
3415
- n = _n(t);
3437
+ n = Sn(t);
3416
3438
  } catch {
3417
3439
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3418
3440
  }
@@ -3421,7 +3443,7 @@ var Dn = (
3421
3443
  type: X.number,
3422
3444
  tokens: n,
3423
3445
  location: r,
3424
- parsedOptions: this.shouldParseSkeletons ? Tn(n) : {}
3446
+ parsedOptions: this.shouldParseSkeletons ? wn(n) : {}
3425
3447
  },
3426
3448
  err: null
3427
3449
  };
@@ -3469,7 +3491,7 @@ var Dn = (
3469
3491
  break;
3470
3492
  }
3471
3493
  var h = b(i, this.clonePosition());
3472
- return o ? (s *= n, $n(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3494
+ return o ? (s *= n, Dn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3473
3495
  }, e.prototype.offset = function() {
3474
3496
  return this.position.offset;
3475
3497
  }, e.prototype.isEOF = function() {
@@ -3484,7 +3506,7 @@ var Dn = (
3484
3506
  var t = this.position.offset;
3485
3507
  if (t >= this.message.length)
3486
3508
  throw Error("out of bound");
3487
- var r = zt(this.message, t);
3509
+ var r = Jt(this.message, t);
3488
3510
  if (r === void 0)
3489
3511
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3490
3512
  return r;
@@ -3503,7 +3525,7 @@ var Dn = (
3503
3525
  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);
3504
3526
  }
3505
3527
  }, e.prototype.bumpIf = function(t) {
3506
- if (lt(this.message, t, this.offset())) {
3528
+ if (pt(this.message, t, this.offset())) {
3507
3529
  for (var r = 0; r < t.length; r++)
3508
3530
  this.bump();
3509
3531
  return !0;
@@ -3525,7 +3547,7 @@ var Dn = (
3525
3547
  break;
3526
3548
  }
3527
3549
  }, e.prototype.bumpSpace = function() {
3528
- for (; !this.isEOF() && Qt(this.char()); )
3550
+ for (; !this.isEOF() && Kt(this.char()); )
3529
3551
  this.bump();
3530
3552
  }, e.prototype.peek = function() {
3531
3553
  if (this.isEOF())
@@ -3535,38 +3557,38 @@ var Dn = (
3535
3557
  }, e;
3536
3558
  }()
3537
3559
  );
3538
- function ke(e) {
3560
+ function Ve(e) {
3539
3561
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3540
3562
  }
3541
- function Fn(e) {
3542
- return ke(e) || e === 47;
3563
+ function Vn(e) {
3564
+ return Ve(e) || e === 47;
3543
3565
  }
3544
- function jn(e) {
3566
+ function Xn(e) {
3545
3567
  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;
3546
3568
  }
3547
- function Qt(e) {
3569
+ function Kt(e) {
3548
3570
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3549
3571
  }
3550
- function kn(e) {
3572
+ function Wn(e) {
3551
3573
  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;
3552
3574
  }
3553
- function Ve(e) {
3575
+ function Xe(e) {
3554
3576
  e.forEach(function(t) {
3555
- if (delete t.location, Gt(t) || Dt(t))
3577
+ if (delete t.location, kt(t) || Vt(t))
3556
3578
  for (var r in t.options)
3557
- delete t.options[r].location, Ve(t.options[r].value);
3579
+ delete t.options[r].location, Xe(t.options[r].value);
3558
3580
  else
3559
- $t(t) && jt(t.style) || (Rt(t) || Ut(t)) && Ge(t.style) ? delete t.style.location : Ft(t) && Ve(t.children);
3581
+ Gt(t) && Wt(t.style) || (Ft(t) || jt(t)) && Ge(t.style) ? delete t.style.location : Xt(t) && Xe(t.children);
3560
3582
  });
3561
3583
  }
3562
- function Vn(e, t) {
3584
+ function zn(e, t) {
3563
3585
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3564
- var r = new Dn(e, t).parse();
3586
+ var r = new kn(e, t).parse();
3565
3587
  if (r.err) {
3566
3588
  var n = SyntaxError(m[r.err.kind]);
3567
3589
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3568
3590
  }
3569
- return t?.captureLocation || Ve(r.val), r.val;
3591
+ return t?.captureLocation || Xe(r.val), r.val;
3570
3592
  }
3571
3593
  var W;
3572
3594
  (function(e) {
@@ -3584,7 +3606,7 @@ var _e = (
3584
3606
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3585
3607
  }, t;
3586
3608
  }(Error)
3587
- ), pt = (
3609
+ ), bt = (
3588
3610
  /** @class */
3589
3611
  function(e) {
3590
3612
  I(t, e);
@@ -3593,7 +3615,7 @@ var _e = (
3593
3615
  }
3594
3616
  return t;
3595
3617
  }(_e)
3596
- ), Xn = (
3618
+ ), Zn = (
3597
3619
  /** @class */
3598
3620
  function(e) {
3599
3621
  I(t, e);
@@ -3602,7 +3624,7 @@ var _e = (
3602
3624
  }
3603
3625
  return t;
3604
3626
  }(_e)
3605
- ), Wn = (
3627
+ ), Qn = (
3606
3628
  /** @class */
3607
3629
  function(e) {
3608
3630
  I(t, e);
@@ -3611,128 +3633,128 @@ var _e = (
3611
3633
  }
3612
3634
  return t;
3613
3635
  }(_e)
3614
- ), x;
3636
+ ), E;
3615
3637
  (function(e) {
3616
3638
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3617
- })(x || (x = {}));
3618
- function zn(e) {
3639
+ })(E || (E = {}));
3640
+ function qn(e) {
3619
3641
  return e.length < 2 ? e : e.reduce(function(t, r) {
3620
3642
  var n = t[t.length - 1];
3621
- return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3643
+ return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3622
3644
  }, []);
3623
3645
  }
3624
- function Zn(e) {
3646
+ function Jn(e) {
3625
3647
  return typeof e == "function";
3626
3648
  }
3627
3649
  function pe(e, t, r, n, i, o, s) {
3628
- if (e.length === 1 && st(e[0]))
3650
+ if (e.length === 1 && ht(e[0]))
3629
3651
  return [
3630
3652
  {
3631
- type: x.literal,
3653
+ type: E.literal,
3632
3654
  value: e[0].value
3633
3655
  }
3634
3656
  ];
3635
3657
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3636
3658
  var l = u[h];
3637
- if (st(l)) {
3659
+ if (ht(l)) {
3638
3660
  a.push({
3639
- type: x.literal,
3661
+ type: E.literal,
3640
3662
  value: l.value
3641
3663
  });
3642
3664
  continue;
3643
3665
  }
3644
- if (bn(l)) {
3666
+ if (vn(l)) {
3645
3667
  typeof o == "number" && a.push({
3646
- type: x.literal,
3668
+ type: E.literal,
3647
3669
  value: r.getNumberFormat(t).format(o)
3648
3670
  });
3649
3671
  continue;
3650
3672
  }
3651
3673
  var f = l.value;
3652
3674
  if (!(i && f in i))
3653
- throw new Wn(f, s);
3675
+ throw new Qn(f, s);
3654
3676
  var c = i[f];
3655
- if (mn(l)) {
3677
+ if (yn(l)) {
3656
3678
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3657
- type: typeof c == "string" ? x.literal : x.object,
3679
+ type: typeof c == "string" ? E.literal : E.object,
3658
3680
  value: c
3659
3681
  });
3660
3682
  continue;
3661
3683
  }
3662
- if (Rt(l)) {
3684
+ if (Ft(l)) {
3663
3685
  var p = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
3664
3686
  a.push({
3665
- type: x.literal,
3687
+ type: E.literal,
3666
3688
  value: r.getDateTimeFormat(t, p).format(c)
3667
3689
  });
3668
3690
  continue;
3669
3691
  }
3670
- if (Ut(l)) {
3692
+ if (jt(l)) {
3671
3693
  var p = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
3672
3694
  a.push({
3673
- type: x.literal,
3695
+ type: E.literal,
3674
3696
  value: r.getDateTimeFormat(t, p).format(c)
3675
3697
  });
3676
3698
  continue;
3677
3699
  }
3678
- if ($t(l)) {
3679
- var p = typeof l.style == "string" ? n.number[l.style] : jt(l.style) ? l.style.parsedOptions : void 0;
3700
+ if (Gt(l)) {
3701
+ var p = typeof l.style == "string" ? n.number[l.style] : Wt(l.style) ? l.style.parsedOptions : void 0;
3680
3702
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3681
- type: x.literal,
3703
+ type: E.literal,
3682
3704
  value: r.getNumberFormat(t, p).format(c)
3683
3705
  });
3684
3706
  continue;
3685
3707
  }
3686
- if (Ft(l)) {
3708
+ if (Xt(l)) {
3687
3709
  var d = l.children, v = l.value, H = i[v];
3688
- if (!Zn(H))
3689
- throw new Xn(v, "function", s);
3710
+ if (!Jn(H))
3711
+ throw new Zn(v, "function", s);
3690
3712
  var C = pe(d, t, r, n, i, o), L = H(C.map(function(A) {
3691
3713
  return A.value;
3692
3714
  }));
3693
3715
  Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(A) {
3694
3716
  return {
3695
- type: typeof A == "string" ? x.literal : x.object,
3717
+ type: typeof A == "string" ? E.literal : E.object,
3696
3718
  value: A
3697
3719
  };
3698
3720
  }));
3699
3721
  }
3700
- if (Gt(l)) {
3701
- var E = l.options[c] || l.options.other;
3702
- if (!E)
3703
- throw new pt(l.value, c, Object.keys(l.options), s);
3704
- a.push.apply(a, pe(E.value, t, r, n, i));
3722
+ if (kt(l)) {
3723
+ var x = l.options[c] || l.options.other;
3724
+ if (!x)
3725
+ throw new bt(l.value, c, Object.keys(l.options), s);
3726
+ a.push.apply(a, pe(x.value, t, r, n, i));
3705
3727
  continue;
3706
3728
  }
3707
- if (Dt(l)) {
3708
- var E = l.options["=".concat(c)];
3709
- if (!E) {
3729
+ if (Vt(l)) {
3730
+ var x = l.options["=".concat(c)];
3731
+ if (!x) {
3710
3732
  if (!Intl.PluralRules)
3711
3733
  throw new _e(`Intl.PluralRules is not available in this environment.
3712
3734
  Try polyfilling it using "@formatjs/intl-pluralrules"
3713
3735
  `, W.MISSING_INTL_API, s);
3714
3736
  var $ = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3715
- E = l.options[$] || l.options.other;
3737
+ x = l.options[$] || l.options.other;
3716
3738
  }
3717
- if (!E)
3718
- throw new pt(l.value, c, Object.keys(l.options), s);
3719
- a.push.apply(a, pe(E.value, t, r, n, i, c - (l.offset || 0)));
3739
+ if (!x)
3740
+ throw new bt(l.value, c, Object.keys(l.options), s);
3741
+ a.push.apply(a, pe(x.value, t, r, n, i, c - (l.offset || 0)));
3720
3742
  continue;
3721
3743
  }
3722
3744
  }
3723
- return zn(a);
3745
+ return qn(a);
3724
3746
  }
3725
- function Qn(e, t) {
3747
+ function Yn(e, t) {
3726
3748
  return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3727
3749
  return r[n] = g(g({}, e[n]), t[n] || {}), r;
3728
3750
  }, {})) : e;
3729
3751
  }
3730
- function qn(e, t) {
3752
+ function Kn(e, t) {
3731
3753
  return t ? Object.keys(e).reduce(function(r, n) {
3732
- return r[n] = Qn(e[n], t[n]), r;
3754
+ return r[n] = Yn(e[n], t[n]), r;
3733
3755
  }, g({}, e)) : e;
3734
3756
  }
3735
- function Pe(e) {
3757
+ function Oe(e) {
3736
3758
  return {
3737
3759
  create: function() {
3738
3760
  return {
@@ -3746,39 +3768,39 @@ function Pe(e) {
3746
3768
  }
3747
3769
  };
3748
3770
  }
3749
- function Jn(e) {
3771
+ function ei(e) {
3750
3772
  return e === void 0 && (e = {
3751
3773
  number: {},
3752
3774
  dateTime: {},
3753
3775
  pluralRules: {}
3754
3776
  }), {
3755
- getNumberFormat: Be(function() {
3777
+ getNumberFormat: we(function() {
3756
3778
  for (var t, r = [], n = 0; n < arguments.length; n++)
3757
3779
  r[n] = arguments[n];
3758
3780
  return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
3759
3781
  }, {
3760
- cache: Pe(e.number),
3761
- strategy: we.variadic
3782
+ cache: Oe(e.number),
3783
+ strategy: Ae.variadic
3762
3784
  }),
3763
- getDateTimeFormat: Be(function() {
3785
+ getDateTimeFormat: we(function() {
3764
3786
  for (var t, r = [], n = 0; n < arguments.length; n++)
3765
3787
  r[n] = arguments[n];
3766
3788
  return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
3767
3789
  }, {
3768
- cache: Pe(e.dateTime),
3769
- strategy: we.variadic
3790
+ cache: Oe(e.dateTime),
3791
+ strategy: Ae.variadic
3770
3792
  }),
3771
- getPluralRules: Be(function() {
3793
+ getPluralRules: we(function() {
3772
3794
  for (var t, r = [], n = 0; n < arguments.length; n++)
3773
3795
  r[n] = arguments[n];
3774
3796
  return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
3775
3797
  }, {
3776
- cache: Pe(e.pluralRules),
3777
- strategy: we.variadic
3798
+ cache: Oe(e.pluralRules),
3799
+ strategy: Ae.variadic
3778
3800
  })
3779
3801
  };
3780
3802
  }
3781
- var Yn = (
3803
+ var ti = (
3782
3804
  /** @class */
3783
3805
  function() {
3784
3806
  function e(t, r, n, i) {
@@ -3793,7 +3815,7 @@ var Yn = (
3793
3815
  if (u.length === 1)
3794
3816
  return u[0].value;
3795
3817
  var l = u.reduce(function(f, c) {
3796
- return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3818
+ return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3797
3819
  }, []);
3798
3820
  return l.length <= 1 ? l[0] || "" : l;
3799
3821
  }, this.formatToParts = function(h) {
@@ -3810,13 +3832,13 @@ var Yn = (
3810
3832
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3811
3833
  var s = i || {};
3812
3834
  s.formatters;
3813
- var a = Pr(s, ["formatters"]);
3835
+ var a = Nr(s, ["formatters"]);
3814
3836
  this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3815
3837
  } else
3816
3838
  this.ast = t;
3817
3839
  if (!Array.isArray(this.ast))
3818
3840
  throw new TypeError("A message must be provided as a String or AST.");
3819
- this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
3841
+ this.formats = Kn(e.formats, n), this.formatters = i && i.formatters || ei(this.formatterCache);
3820
3842
  }
3821
3843
  return Object.defineProperty(e, "defaultLocale", {
3822
3844
  get: function() {
@@ -3829,7 +3851,7 @@ var Yn = (
3829
3851
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3830
3852
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3831
3853
  }
3832
- }, e.__parse = Vn, e.formats = {
3854
+ }, e.__parse = zn, e.formats = {
3833
3855
  number: {
3834
3856
  integer: {
3835
3857
  maximumFractionDigits: 0
@@ -3890,7 +3912,7 @@ var Yn = (
3890
3912
  }, e;
3891
3913
  }()
3892
3914
  );
3893
- function Kn(e, t) {
3915
+ function ri(e, t) {
3894
3916
  if (t == null)
3895
3917
  return;
3896
3918
  if (t in e)
@@ -3911,92 +3933,92 @@ function Kn(e, t) {
3911
3933
  n = void 0;
3912
3934
  return n;
3913
3935
  }
3914
- const M = {}, ei = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), qt = (e, t) => {
3936
+ const M = {}, ni = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), er = (e, t) => {
3915
3937
  if (t == null)
3916
3938
  return;
3917
3939
  if (t in M && e in M[t])
3918
3940
  return M[t][e];
3919
- const r = xe(t);
3941
+ const r = Ee(t);
3920
3942
  for (let n = 0; n < r.length; n++) {
3921
- const i = r[n], o = ri(i, e);
3943
+ const i = r[n], o = oi(i, e);
3922
3944
  if (o)
3923
- return ei(e, t, o);
3945
+ return ni(e, t, o);
3924
3946
  }
3925
3947
  };
3926
- let Ze;
3948
+ let Je;
3927
3949
  const se = ve({});
3928
- function ti(e) {
3929
- return Ze[e] || null;
3950
+ function ii(e) {
3951
+ return Je[e] || null;
3930
3952
  }
3931
- function Jt(e) {
3932
- return e in Ze;
3953
+ function tr(e) {
3954
+ return e in Je;
3933
3955
  }
3934
- function ri(e, t) {
3935
- if (!Jt(e))
3956
+ function oi(e, t) {
3957
+ if (!tr(e))
3936
3958
  return null;
3937
- const r = ti(e);
3938
- return Kn(r, t);
3959
+ const r = ii(e);
3960
+ return ri(r, t);
3939
3961
  }
3940
- function ni(e) {
3962
+ function si(e) {
3941
3963
  if (e == null)
3942
3964
  return;
3943
- const t = xe(e);
3965
+ const t = Ee(e);
3944
3966
  for (let r = 0; r < t.length; r++) {
3945
3967
  const n = t[r];
3946
- if (Jt(n))
3968
+ if (tr(n))
3947
3969
  return n;
3948
3970
  }
3949
3971
  }
3950
- function Yt(e, ...t) {
3951
- delete M[e], se.update((r) => (r[e] = an.all([r[e] || {}, ...t]), r));
3972
+ function rr(e, ...t) {
3973
+ delete M[e], se.update((r) => (r[e] = cn.all([r[e] || {}, ...t]), r));
3952
3974
  }
3953
3975
  Q(
3954
3976
  [se],
3955
3977
  ([e]) => Object.keys(e)
3956
3978
  );
3957
- se.subscribe((e) => Ze = e);
3979
+ se.subscribe((e) => Je = e);
3958
3980
  const de = {};
3959
- function ii(e, t) {
3981
+ function ai(e, t) {
3960
3982
  de[e].delete(t), de[e].size === 0 && delete de[e];
3961
3983
  }
3962
- function Kt(e) {
3984
+ function nr(e) {
3963
3985
  return de[e];
3964
3986
  }
3965
- function oi(e) {
3966
- return xe(e).map((t) => {
3967
- const r = Kt(t);
3987
+ function ui(e) {
3988
+ return Ee(e).map((t) => {
3989
+ const r = nr(t);
3968
3990
  return [t, r ? [...r] : []];
3969
3991
  }).filter(([, t]) => t.length > 0);
3970
3992
  }
3971
- function Xe(e) {
3972
- return e == null ? !1 : xe(e).some(
3993
+ function We(e) {
3994
+ return e == null ? !1 : Ee(e).some(
3973
3995
  (t) => {
3974
3996
  var r;
3975
- return (r = Kt(t)) == null ? void 0 : r.size;
3997
+ return (r = nr(t)) == null ? void 0 : r.size;
3976
3998
  }
3977
3999
  );
3978
4000
  }
3979
- function si(e, t) {
4001
+ function hi(e, t) {
3980
4002
  return Promise.all(
3981
- t.map((n) => (ii(e, n), n().then((i) => i.default || i)))
3982
- ).then((n) => Yt(e, ...n));
4003
+ t.map((n) => (ai(e, n), n().then((i) => i.default || i)))
4004
+ ).then((n) => rr(e, ...n));
3983
4005
  }
3984
4006
  const K = {};
3985
- function er(e) {
3986
- if (!Xe(e))
4007
+ function ir(e) {
4008
+ if (!We(e))
3987
4009
  return e in K ? K[e] : Promise.resolve();
3988
- const t = oi(e);
4010
+ const t = ui(e);
3989
4011
  return K[e] = Promise.all(
3990
4012
  t.map(
3991
- ([r, n]) => si(r, n)
4013
+ ([r, n]) => hi(r, n)
3992
4014
  )
3993
4015
  ).then(() => {
3994
- if (Xe(e))
3995
- return er(e);
4016
+ if (We(e))
4017
+ return ir(e);
3996
4018
  delete K[e];
3997
4019
  }), K[e];
3998
4020
  }
3999
- const ai = {
4021
+ const li = {
4000
4022
  number: {
4001
4023
  scientific: { notation: "scientific" },
4002
4024
  engineering: { notation: "engineering" },
@@ -4025,78 +4047,78 @@ const ai = {
4025
4047
  timeZoneName: "short"
4026
4048
  }
4027
4049
  }
4028
- }, ui = {
4050
+ }, ci = {
4029
4051
  fallbackLocale: null,
4030
4052
  loadingDelay: 200,
4031
- formats: ai,
4053
+ formats: li,
4032
4054
  warnOnMissingMessages: !0,
4033
4055
  handleMissingMessage: void 0,
4034
4056
  ignoreTag: !0
4035
- }, hi = ui;
4057
+ }, fi = ci;
4036
4058
  function z() {
4037
- return hi;
4059
+ return fi;
4038
4060
  }
4039
- const Oe = ve(!1);
4040
- var li = Object.defineProperty, ci = Object.defineProperties, fi = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, pi = Object.prototype.hasOwnProperty, di = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mi = (e, t) => {
4061
+ const Ie = ve(!1);
4062
+ var pi = Object.defineProperty, di = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, gi = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yi = (e, t) => {
4041
4063
  for (var r in t || (t = {}))
4042
- pi.call(t, r) && mt(e, r, t[r]);
4043
- if (dt)
4044
- for (var r of dt(t))
4045
- di.call(t, r) && mt(e, r, t[r]);
4064
+ bi.call(t, r) && yt(e, r, t[r]);
4065
+ if (gt)
4066
+ for (var r of gt(t))
4067
+ gi.call(t, r) && yt(e, r, t[r]);
4046
4068
  return e;
4047
- }, bi = (e, t) => ci(e, fi(t));
4048
- let We;
4069
+ }, vi = (e, t) => di(e, mi(t));
4070
+ let ze;
4049
4071
  const me = ve(null);
4050
- function bt(e) {
4072
+ function vt(e) {
4051
4073
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4052
4074
  }
4053
- function xe(e, t = z().fallbackLocale) {
4054
- const r = bt(e);
4055
- return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
4075
+ function Ee(e, t = z().fallbackLocale) {
4076
+ const r = vt(e);
4077
+ return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
4056
4078
  }
4057
4079
  function R() {
4058
- return We ?? void 0;
4080
+ return ze ?? void 0;
4059
4081
  }
4060
4082
  me.subscribe((e) => {
4061
- We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4083
+ ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4062
4084
  });
4063
- const gi = (e) => {
4064
- if (e && ni(e) && Xe(e)) {
4085
+ const _i = (e) => {
4086
+ if (e && si(e) && We(e)) {
4065
4087
  const { loadingDelay: t } = z();
4066
4088
  let r;
4067
4089
  return typeof window < "u" && R() != null && t ? r = window.setTimeout(
4068
- () => Oe.set(!0),
4090
+ () => Ie.set(!0),
4069
4091
  t
4070
- ) : Oe.set(!0), er(e).then(() => {
4092
+ ) : Ie.set(!0), ir(e).then(() => {
4071
4093
  me.set(e);
4072
4094
  }).finally(() => {
4073
- clearTimeout(r), Oe.set(!1);
4095
+ clearTimeout(r), Ie.set(!1);
4074
4096
  });
4075
4097
  }
4076
4098
  return me.set(e);
4077
- }, q = bi(mi({}, me), {
4078
- set: gi
4079
- }), Ee = (e) => {
4099
+ }, q = vi(yi({}, me), {
4100
+ set: _i
4101
+ }), xe = (e) => {
4080
4102
  const t = /* @__PURE__ */ Object.create(null);
4081
4103
  return (n) => {
4082
4104
  const i = JSON.stringify(n);
4083
4105
  return i in t ? t[i] : t[i] = e(n);
4084
4106
  };
4085
4107
  };
4086
- var yi = Object.defineProperty, be = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
4108
+ var Ei = Object.defineProperty, be = Object.getOwnPropertySymbols, or = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4087
4109
  for (var r in t || (t = {}))
4088
- tr.call(t, r) && gt(e, r, t[r]);
4110
+ or.call(t, r) && _t(e, r, t[r]);
4089
4111
  if (be)
4090
4112
  for (var r of be(t))
4091
- rr.call(t, r) && gt(e, r, t[r]);
4113
+ sr.call(t, r) && _t(e, r, t[r]);
4092
4114
  return e;
4093
4115
  }, J = (e, t) => {
4094
4116
  var r = {};
4095
4117
  for (var n in e)
4096
- tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4118
+ or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4097
4119
  if (e != null && be)
4098
4120
  for (var n of be(e))
4099
- t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
4121
+ t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
4100
4122
  return r;
4101
4123
  };
4102
4124
  const ne = (e, t) => {
@@ -4104,21 +4126,21 @@ const ne = (e, t) => {
4104
4126
  if (e in r && t in r[e])
4105
4127
  return r[e][t];
4106
4128
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4107
- }, vi = Ee(
4129
+ }, xi = xe(
4108
4130
  (e) => {
4109
4131
  var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4110
4132
  if (r == null)
4111
4133
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4112
4134
  return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4113
4135
  }
4114
- ), _i = Ee(
4136
+ ), Si = xe(
4115
4137
  (e) => {
4116
4138
  var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4117
4139
  if (r == null)
4118
4140
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4119
4141
  return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4120
4142
  }
4121
- ), xi = Ee(
4143
+ ), Ti = xe(
4122
4144
  (e) => {
4123
4145
  var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4124
4146
  if (r == null)
@@ -4127,33 +4149,33 @@ const ne = (e, t) => {
4127
4149
  );
4128
4150
  return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4129
4151
  }
4130
- ), Ei = (e = {}) => {
4152
+ ), Hi = (e = {}) => {
4131
4153
  var t = e, {
4132
4154
  locale: r = R()
4133
4155
  } = t, n = J(t, [
4134
4156
  "locale"
4135
4157
  ]);
4136
- return vi(Qe({ locale: r }, n));
4137
- }, Si = (e = {}) => {
4158
+ return xi(Ye({ locale: r }, n));
4159
+ }, Bi = (e = {}) => {
4138
4160
  var t = e, {
4139
4161
  locale: r = R()
4140
4162
  } = t, n = J(t, [
4141
4163
  "locale"
4142
4164
  ]);
4143
- return _i(Qe({ locale: r }, n));
4144
- }, Ti = (e = {}) => {
4165
+ return Si(Ye({ locale: r }, n));
4166
+ }, wi = (e = {}) => {
4145
4167
  var t = e, {
4146
4168
  locale: r = R()
4147
4169
  } = t, n = J(t, [
4148
4170
  "locale"
4149
4171
  ]);
4150
- return xi(Qe({ locale: r }, n));
4151
- }, Hi = Ee(
4172
+ return Ti(Ye({ locale: r }, n));
4173
+ }, Ai = xe(
4152
4174
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4153
- (e, t = R()) => new Yn(e, t, z().formats, {
4175
+ (e, t = R()) => new ti(e, t, z().formats, {
4154
4176
  ignoreTag: z().ignoreTag
4155
4177
  })
4156
- ), Bi = (e, t = {}) => {
4178
+ ), Pi = (e, t = {}) => {
4157
4179
  var r, n, i, o;
4158
4180
  let s = t;
4159
4181
  typeof e == "object" && (s = e, e = s.id);
@@ -4166,7 +4188,7 @@ const ne = (e, t) => {
4166
4188
  throw new Error(
4167
4189
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4168
4190
  );
4169
- let l = qt(e, h);
4191
+ let l = er(e, h);
4170
4192
  if (!l)
4171
4193
  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;
4172
4194
  else if (typeof l != "string")
@@ -4177,7 +4199,7 @@ const ne = (e, t) => {
4177
4199
  return l;
4178
4200
  let f = l;
4179
4201
  try {
4180
- f = Hi(l, h).format(a);
4202
+ f = Ai(l, h).format(a);
4181
4203
  } catch (c) {
4182
4204
  c instanceof Error && console.warn(
4183
4205
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4185,20 +4207,20 @@ const ne = (e, t) => {
4185
4207
  );
4186
4208
  }
4187
4209
  return f;
4188
- }, wi = (e, t) => Ti(t).format(e), Ai = (e, t) => Si(t).format(e), Pi = (e, t) => Ei(t).format(e), Oi = (e, t = R()) => qt(e, t), Ii = Q([q, se], () => Bi);
4189
- Q([q], () => wi);
4190
- Q([q], () => Ai);
4191
- Q([q], () => Pi);
4192
- Q([q, se], () => Oi);
4193
- window.emWidgets = { topic: kr };
4194
- const Li = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4195
- function yt(e, t) {
4210
+ }, Oi = (e, t) => wi(t).format(e), Ii = (e, t) => Bi(t).format(e), Li = (e, t) => Hi(t).format(e), Ni = (e, t = R()) => er(e, t), Mi = Q([q, se], () => Pi);
4211
+ Q([q], () => Oi);
4212
+ Q([q], () => Ii);
4213
+ Q([q], () => Li);
4214
+ Q([q, se], () => Ni);
4215
+ window.emWidgets = { topic: zr };
4216
+ const Ci = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4217
+ function Et(e, t) {
4196
4218
  if (e) {
4197
4219
  const r = document.createElement("style");
4198
4220
  r.innerHTML = t, e.appendChild(r);
4199
4221
  }
4200
4222
  }
4201
- function Ni(e, t) {
4223
+ function $i(e, t) {
4202
4224
  const r = new URL(t);
4203
4225
  fetch(r.href).then((n) => n.text()).then((n) => {
4204
4226
  const i = document.createElement("style");
@@ -4207,7 +4229,7 @@ function Ni(e, t) {
4207
4229
  console.error("There was an error while trying to load client styling from URL", n);
4208
4230
  });
4209
4231
  }
4210
- function Mi(e, t, r) {
4232
+ function Ri(e, t, r) {
4211
4233
  if (window.emMessageBus) {
4212
4234
  const n = document.createElement("style");
4213
4235
  window.emMessageBus.subscribe(t, (i) => {
@@ -4215,13 +4237,24 @@ function Mi(e, t, r) {
4215
4237
  });
4216
4238
  }
4217
4239
  }
4218
- function vt(e, t) {
4219
- Yt(e, t);
4240
+ const Ui = (e, t = {}) => {
4241
+ const r = new CustomEvent("track-custom-event", {
4242
+ detail: {
4243
+ type: e,
4244
+ data: t
4245
+ },
4246
+ bubbles: !0,
4247
+ composed: !0
4248
+ });
4249
+ document.dispatchEvent(r);
4250
+ };
4251
+ function xt(e, t) {
4252
+ rr(e, t);
4220
4253
  }
4221
- function Ci(e) {
4254
+ function Di(e) {
4222
4255
  q.set(e);
4223
4256
  }
4224
- const _t = {
4257
+ const St = {
4225
4258
  en: {
4226
4259
  logoutButton: "Logout"
4227
4260
  },
@@ -4256,10 +4289,10 @@ const _t = {
4256
4289
  logoutButton: "Logout"
4257
4290
  }
4258
4291
  };
4259
- function $i(e) {
4260
- ar(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))}");
4292
+ function Gi(e) {
4293
+ cr(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))}");
4261
4294
  }
4262
- function Ri(e) {
4295
+ function Fi(e) {
4263
4296
  let t, r, n, i = (
4264
4297
  /*$_*/
4265
4298
  e[2]("logoutButton") + ""
@@ -4269,7 +4302,7 @@ function Ri(e) {
4269
4302
  t = P("div"), r = P("button"), n = P("span"), o = ge(i), S(t, "class", "GeneralLogout");
4270
4303
  },
4271
4304
  m(h, u) {
4272
- oe(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = Tt(
4305
+ oe(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = wt(
4273
4306
  r,
4274
4307
  "click",
4275
4308
  /*click_handler_1*/
@@ -4279,19 +4312,19 @@ function Ri(e) {
4279
4312
  p(h, u) {
4280
4313
  u & /*$_*/
4281
4314
  4 && i !== (i = /*$_*/
4282
- h[2]("logoutButton") + "") && Ht(o, i);
4315
+ h[2]("logoutButton") + "") && At(o, i);
4283
4316
  },
4284
4317
  d(h) {
4285
4318
  h && Z(t), s = !1, a();
4286
4319
  }
4287
4320
  };
4288
4321
  }
4289
- function Ui(e) {
4322
+ function ji(e) {
4290
4323
  let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
4291
- e[3] && Gi(e);
4324
+ e[3] && ki(e);
4292
4325
  return {
4293
4326
  c() {
4294
- t = P("p"), r = P("span"), n = Y("svg"), i = Y("defs"), o = Y("style"), s = ge(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = Y("path"), h = Y("path"), u = lr(), c && c.c(), S(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(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"), S(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(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"), S(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), S(n, "data-name", "Layer 1"), S(n, "xmlns", "http://www.w3.org/2000/svg"), S(n, "viewBox", "0 0 150 150"), fr(r, "width", /*isMobile*/
4327
+ t = P("p"), r = P("span"), n = Y("svg"), i = Y("defs"), o = Y("style"), s = ge(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = Y("path"), h = Y("path"), u = dr(), c && c.c(), S(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(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"), S(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(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"), S(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), S(n, "data-name", "Layer 1"), S(n, "xmlns", "http://www.w3.org/2000/svg"), S(n, "viewBox", "0 0 150 150"), br(r, "width", /*isMobile*/
4295
4328
  e[3] ? (
4296
4329
  /*mediaQuery*/
4297
4330
  e[4].matches ? "50px" : "24px"
@@ -4301,7 +4334,7 @@ function Ui(e) {
4301
4334
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4302
4335
  },
4303
4336
  m(p, d) {
4304
- oe(p, t, d), T(t, r), T(r, n), T(n, i), T(i, o), T(o, s), T(n, a), T(n, h), T(t, u), c && c.m(t, null), l || (f = Tt(
4337
+ oe(p, t, d), T(t, r), T(r, n), T(n, i), T(i, o), T(o, s), T(n, a), T(n, h), T(t, u), c && c.m(t, null), l || (f = wt(
4305
4338
  t,
4306
4339
  "click",
4307
4340
  /*click_handler*/
@@ -4317,7 +4350,7 @@ function Ui(e) {
4317
4350
  }
4318
4351
  };
4319
4352
  }
4320
- function Gi(e) {
4353
+ function ki(e) {
4321
4354
  let t, r = (
4322
4355
  /*$_*/
4323
4356
  e[2]("logoutButton") + ""
@@ -4332,19 +4365,19 @@ function Gi(e) {
4332
4365
  p(i, o) {
4333
4366
  o & /*$_*/
4334
4367
  4 && r !== (r = /*$_*/
4335
- i[2]("logoutButton") + "") && Ht(n, r);
4368
+ i[2]("logoutButton") + "") && At(n, r);
4336
4369
  },
4337
4370
  d(i) {
4338
4371
  i && Z(t);
4339
4372
  }
4340
4373
  };
4341
4374
  }
4342
- function Di(e) {
4375
+ function Vi(e) {
4343
4376
  let t;
4344
4377
  function r(o, s) {
4345
4378
  return (
4346
4379
  /*buttonlocation*/
4347
- o[0] === "PlayerAccountMenu" ? Ui : Ri
4380
+ o[0] === "PlayerAccountMenu" ? ji : Fi
4348
4381
  );
4349
4382
  }
4350
4383
  let n = r(e), i = n(e);
@@ -4365,37 +4398,37 @@ function Di(e) {
4365
4398
  }
4366
4399
  };
4367
4400
  }
4368
- function Fi(e, t, r) {
4401
+ function Xi(e, t, r) {
4369
4402
  let n;
4370
- sr(e, Ii, (y) => r(2, n = y));
4371
- 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 = Li(v) !== "PC";
4403
+ lr(e, Mi, (y) => r(2, n = y));
4404
+ 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 = Ci(v) !== "PC";
4372
4405
  const C = window.matchMedia("(min-width: 768px)"), L = () => {
4373
4406
  fetch(f).then((N) => N.json()).then((N) => {
4374
4407
  Object.keys(N).forEach((Se) => {
4375
- vt(Se, N[Se]);
4408
+ xt(Se, N[Se]);
4376
4409
  });
4377
4410
  }).catch((N) => {
4378
4411
  console.log(N);
4379
4412
  });
4380
4413
  };
4381
- Object.keys(_t).forEach((y) => {
4382
- vt(y, _t[y]);
4414
+ Object.keys(St).forEach((y) => {
4415
+ xt(y, St[y]);
4383
4416
  });
4384
- const E = () => {
4417
+ const x = () => {
4385
4418
  let y = new Headers();
4386
4419
  y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4387
4420
  let N = { method: "DELETE", headers: y };
4388
4421
  fetch(`${i}/v1/player/session/player`, N).then((Se) => {
4389
- window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
4422
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Ui("logged_out", {});
4390
4423
  });
4391
4424
  }, $ = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(c)), p), A = () => {
4392
- Ci(a);
4425
+ Di(a);
4393
4426
  };
4394
- mr(() => () => {
4427
+ vr(() => () => {
4395
4428
  });
4396
- const U = () => E(), ae = () => E();
4397
- function ir(y) {
4398
- Ie[y ? "unshift" : "push"](() => {
4429
+ const U = () => x(), ae = () => x();
4430
+ function ur(y) {
4431
+ Le[y ? "unshift" : "push"](() => {
4399
4432
  d = y, r(1, d);
4400
4433
  });
4401
4434
  }
@@ -4405,10 +4438,10 @@ function Fi(e, t, r) {
4405
4438
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4406
4439
  193 && i && o && s && $(), e.$$.dirty & /*lang*/
4407
4440
  256 && a && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4408
- 1026 && u && d && yt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4409
- 1026 && u && d && yt(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4410
- 2050 && l && d && Ni(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4411
- 514 && h && d && Mi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4441
+ 1026 && u && d && Et(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4442
+ 1026 && u && d && Et(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4443
+ 2050 && l && d && $i(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4444
+ 514 && h && d && Ri(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4412
4445
  4096 && f && L();
4413
4446
  }, [
4414
4447
  s,
@@ -4416,7 +4449,7 @@ function Fi(e, t, r) {
4416
4449
  n,
4417
4450
  H,
4418
4451
  C,
4419
- E,
4452
+ x,
4420
4453
  i,
4421
4454
  o,
4422
4455
  a,
@@ -4426,17 +4459,17 @@ function Fi(e, t, r) {
4426
4459
  f,
4427
4460
  U,
4428
4461
  ae,
4429
- ir
4462
+ ur
4430
4463
  ];
4431
4464
  }
4432
- class nr extends wr {
4465
+ class ar extends Ir {
4433
4466
  constructor(t) {
4434
- super(), Hr(
4467
+ super(), Pr(
4435
4468
  this,
4436
4469
  t,
4437
- Fi,
4438
- Di,
4439
- Et,
4470
+ Xi,
4471
+ Vi,
4472
+ Ht,
4440
4473
  {
4441
4474
  endpoint: 6,
4442
4475
  session: 7,
@@ -4447,7 +4480,7 @@ class nr extends wr {
4447
4480
  clientstylingurl: 11,
4448
4481
  translationurl: 12
4449
4482
  },
4450
- $i
4483
+ Gi
4451
4484
  );
4452
4485
  }
4453
4486
  get endpoint() {
@@ -4499,43 +4532,43 @@ class nr extends wr {
4499
4532
  this.$$set({ translationurl: t }), w();
4500
4533
  }
4501
4534
  }
4502
- Br(nr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4503
- const Wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4535
+ Or(ar, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4536
+ const qi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4504
4537
  __proto__: null,
4505
- default: nr
4538
+ default: ar
4506
4539
  }, Symbol.toStringTag, { value: "Module" }));
4507
4540
  export {
4508
4541
  q as $,
4509
- Ii as A,
4510
- yt as B,
4511
- Ni as C,
4542
+ wt as A,
4543
+ ie as B,
4544
+ Wi as C,
4512
4545
  Mi as D,
4513
- Wi as G,
4514
- wr as S,
4515
- Yt as a,
4516
- ar as b,
4517
- Br as c,
4518
- Z as d,
4519
- oe as e,
4546
+ qi as G,
4547
+ Ir as S,
4548
+ rr as a,
4549
+ cr as b,
4550
+ Or as c,
4551
+ oe as d,
4552
+ P as e,
4520
4553
  w as f,
4521
- P as g,
4522
- sr as h,
4523
- Hr as i,
4524
- Li as j,
4525
- Ie as k,
4526
- Xi as l,
4527
- ki as m,
4554
+ Z as g,
4555
+ lr as h,
4556
+ Pr as i,
4557
+ Ci as j,
4558
+ $i as k,
4559
+ Ri as l,
4560
+ Le as m,
4528
4561
  B as n,
4529
- mr as o,
4530
- T as p,
4531
- lr as q,
4532
- Vi as r,
4533
- Et as s,
4534
- S as t,
4535
- Ht as u,
4536
- ge as v,
4537
- ie as w,
4538
- Tt as x,
4539
- Y as y,
4540
- ji as z
4562
+ vr as o,
4563
+ Et as p,
4564
+ Qi as q,
4565
+ dr as r,
4566
+ Ht as s,
4567
+ ge as t,
4568
+ S as u,
4569
+ T as v,
4570
+ At as w,
4571
+ zi as x,
4572
+ Zi as y,
4573
+ Y as z
4541
4574
  };