@everymatrix/general-logout 1.55.0 → 1.56.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,46 +1,46 @@
1
- function A() {
1
+ function B() {
2
2
  }
3
- function _t(e) {
3
+ function vt(e) {
4
4
  return e();
5
5
  }
6
- function qe() {
6
+ function Qe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function ie(e) {
10
- e.forEach(_t);
10
+ e.forEach(vt);
11
11
  }
12
12
  function We(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function St(e, t) {
15
+ function _t(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function ar(e) {
18
+ function rr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Tt(e, ...t) {
21
+ function xt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return A;
25
+ return B;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function ur(e, t, r) {
31
- e.$$.on_destroy.push(Tt(t, r));
30
+ function nr(e, t, r) {
31
+ e.$$.on_destroy.push(xt(t, r));
32
32
  }
33
- function _(e, t) {
33
+ function S(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function hr(e, t, r) {
37
- const n = lr(e);
36
+ function ir(e, t, r) {
37
+ const n = or(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = I("style");
40
- i.id = t, i.textContent = r, cr(n, i);
39
+ const i = P("style");
40
+ i.id = t, i.textContent = r, sr(n, i);
41
41
  }
42
42
  }
43
- function lr(e) {
43
+ function or(e) {
44
44
  if (!e) return document;
45
45
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
46
46
  return t && /** @type {ShadowRoot} */
@@ -49,8 +49,8 @@ function lr(e) {
49
49
  t
50
50
  ) : e.ownerDocument;
51
51
  }
52
- function cr(e, t) {
53
- return _(
52
+ function sr(e, t) {
53
+ return S(
54
54
  /** @type {Document} */
55
55
  e.head || e,
56
56
  t
@@ -59,38 +59,38 @@ function cr(e, t) {
59
59
  function oe(e, t, r) {
60
60
  e.insertBefore(t, r || null);
61
61
  }
62
- function Q(e) {
62
+ function Z(e) {
63
63
  e.parentNode && e.parentNode.removeChild(e);
64
64
  }
65
- function I(e) {
65
+ function P(e) {
66
66
  return document.createElement(e);
67
67
  }
68
- function K(e) {
68
+ function q(e) {
69
69
  return document.createElementNS("http://www.w3.org/2000/svg", e);
70
70
  }
71
71
  function be(e) {
72
72
  return document.createTextNode(e);
73
73
  }
74
- function fr() {
74
+ function ar() {
75
75
  return be(" ");
76
76
  }
77
- function Ht(e, t, r, n) {
77
+ function Et(e, t, r, n) {
78
78
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
79
79
  }
80
80
  function T(e, t, r) {
81
81
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
82
82
  }
83
- function pr(e) {
83
+ function ur(e) {
84
84
  return Array.from(e.childNodes);
85
85
  }
86
- function Bt(e, t) {
86
+ function St(e, t) {
87
87
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
88
88
  t);
89
89
  }
90
- function dr(e, t, r, n) {
90
+ function hr(e, t, r, n) {
91
91
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
92
92
  }
93
- function mr(e) {
93
+ function lr(e) {
94
94
  const t = {};
95
95
  return e.childNodes.forEach(
96
96
  /** @param {Element} node */
@@ -99,86 +99,93 @@ function mr(e) {
99
99
  }
100
100
  ), t;
101
101
  }
102
- let ze;
103
- function te(e) {
104
- ze = e;
102
+ let te;
103
+ function ee(e) {
104
+ te = e;
105
+ }
106
+ function cr() {
107
+ if (!te) throw new Error("Function called outside component initialization");
108
+ return te;
109
+ }
110
+ function fr(e) {
111
+ cr().$$.on_mount.push(e);
105
112
  }
106
- const j = [], Oe = [];
107
- let k = [];
108
- const Ke = [], br = /* @__PURE__ */ Promise.resolve();
113
+ const F = [], Oe = [];
114
+ let j = [];
115
+ const Je = [], pr = /* @__PURE__ */ Promise.resolve();
109
116
  let Ie = !1;
110
- function gr() {
111
- Ie || (Ie = !0, br.then(O));
117
+ function dr() {
118
+ Ie || (Ie = !0, pr.then(A));
112
119
  }
113
120
  function Le(e) {
114
- k.push(e);
121
+ j.push(e);
115
122
  }
116
- const _e = /* @__PURE__ */ new Set();
123
+ const Se = /* @__PURE__ */ new Set();
117
124
  let G = 0;
118
- function O() {
125
+ function A() {
119
126
  if (G !== 0)
120
127
  return;
121
- const e = ze;
128
+ const e = te;
122
129
  do {
123
130
  try {
124
- for (; G < j.length; ) {
125
- const t = j[G];
126
- G++, te(t), yr(t.$$);
131
+ for (; G < F.length; ) {
132
+ const t = F[G];
133
+ G++, ee(t), mr(t.$$);
127
134
  }
128
135
  } catch (t) {
129
- throw j.length = 0, G = 0, t;
136
+ throw F.length = 0, G = 0, t;
130
137
  }
131
- for (te(null), j.length = 0, G = 0; Oe.length; ) Oe.pop()();
132
- for (let t = 0; t < k.length; t += 1) {
133
- const r = k[t];
134
- _e.has(r) || (_e.add(r), r());
138
+ for (ee(null), F.length = 0, G = 0; Oe.length; ) Oe.pop()();
139
+ for (let t = 0; t < j.length; t += 1) {
140
+ const r = j[t];
141
+ Se.has(r) || (Se.add(r), r());
135
142
  }
136
- k.length = 0;
137
- } while (j.length);
138
- for (; Ke.length; )
139
- Ke.pop()();
140
- Ie = !1, _e.clear(), te(e);
143
+ j.length = 0;
144
+ } while (F.length);
145
+ for (; Je.length; )
146
+ Je.pop()();
147
+ Ie = !1, Se.clear(), ee(e);
141
148
  }
142
- function yr(e) {
149
+ function mr(e) {
143
150
  if (e.fragment !== null) {
144
151
  e.update(), ie(e.before_update);
145
152
  const t = e.dirty;
146
153
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
147
154
  }
148
155
  }
149
- function vr(e) {
156
+ function br(e) {
150
157
  const t = [], r = [];
151
- k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
158
+ j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
152
159
  }
153
- const Er = /* @__PURE__ */ new Set();
154
- function xr(e, t) {
155
- e && e.i && (Er.delete(e), e.i(t));
160
+ const gr = /* @__PURE__ */ new Set();
161
+ function yr(e, t) {
162
+ e && e.i && (gr.delete(e), e.i(t));
156
163
  }
157
- function _r(e, t, r) {
164
+ function vr(e, t, r) {
158
165
  const { fragment: n, after_update: i } = e.$$;
159
166
  n && n.m(t, r), Le(() => {
160
- const o = e.$$.on_mount.map(_t).filter(We);
167
+ const o = e.$$.on_mount.map(vt).filter(We);
161
168
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
162
169
  }), i.forEach(Le);
163
170
  }
164
- function Sr(e, t) {
171
+ function _r(e, t) {
165
172
  const r = e.$$;
166
- 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 = []);
173
+ r.fragment !== null && (br(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
167
174
  }
168
- function Tr(e, t) {
169
- e.$$.dirty[0] === -1 && (j.push(e), gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
175
+ function xr(e, t) {
176
+ e.$$.dirty[0] === -1 && (F.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
170
177
  }
171
- function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
172
- const h = ze;
173
- te(e);
178
+ function Er(e, t, r, n, i, o, s = null, a = [-1]) {
179
+ const h = te;
180
+ ee(e);
174
181
  const u = e.$$ = {
175
182
  fragment: null,
176
183
  ctx: [],
177
184
  // state
178
185
  props: o,
179
- update: A,
186
+ update: B,
180
187
  not_equal: i,
181
- bound: qe(),
188
+ bound: Qe(),
182
189
  // lifecycle
183
190
  on_mount: [],
184
191
  on_destroy: [],
@@ -187,7 +194,7 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
187
194
  after_update: [],
188
195
  context: new Map(t.context || (h ? h.$$.context : [])),
189
196
  // everything else
190
- callbacks: qe(),
197
+ callbacks: Qe(),
191
198
  dirty: a,
192
199
  skip_bound: !1,
193
200
  root: t.target || h.$$.root
@@ -195,20 +202,20 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
195
202
  s && s(u.root);
196
203
  let l = !1;
197
204
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
198
- const y = p.length ? p[0] : c;
199
- return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), l && Tr(e, f)), c;
205
+ const b = p.length ? p[0] : c;
206
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && xr(e, f)), c;
200
207
  }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
201
208
  if (t.hydrate) {
202
- const f = pr(t.target);
203
- u.fragment && u.fragment.l(f), f.forEach(Q);
209
+ const f = ur(t.target);
210
+ u.fragment && u.fragment.l(f), f.forEach(Z);
204
211
  } else
205
212
  u.fragment && u.fragment.c();
206
- t.intro && xr(e.$$.fragment), _r(e, t.target, t.anchor), O();
213
+ t.intro && yr(e.$$.fragment), vr(e, t.target, t.anchor), A();
207
214
  }
208
- te(h);
215
+ ee(h);
209
216
  }
210
- let At;
211
- typeof HTMLElement == "function" && (At = class extends HTMLElement {
217
+ let Tt;
218
+ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
212
219
  /** The Svelte component constructor */
213
220
  $$ctor;
214
221
  /** Slots */
@@ -250,7 +257,7 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
250
257
  let o;
251
258
  return {
252
259
  c: function() {
253
- o = I("slot"), i !== "default" && T(o, "name", i);
260
+ o = P("slot"), i !== "default" && T(o, "name", i);
254
261
  },
255
262
  /**
256
263
  * @param {HTMLElement} target
@@ -260,14 +267,14 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
260
267
  oe(h, o, u);
261
268
  },
262
269
  d: function(h) {
263
- h && Q(o);
270
+ h && Z(o);
264
271
  }
265
272
  };
266
273
  };
267
274
  };
268
275
  if (await Promise.resolve(), !this.$$cn || this.$$c)
269
276
  return;
270
- const t = {}, r = mr(this);
277
+ const t = {}, r = lr(this);
271
278
  for (const i of this.$$s)
272
279
  i in r && (t[i] = [e(i)]);
273
280
  for (const i of this.attributes) {
@@ -354,8 +361,8 @@ function le(e, t, r, n) {
354
361
  return t;
355
362
  }
356
363
  }
357
- function Br(e, t, r, n, i, o) {
358
- let s = class extends At {
364
+ function Sr(e, t, r, n, i, o) {
365
+ let s = class extends Tt {
359
366
  constructor() {
360
367
  super(e, r, i), this.$$p_d = t;
361
368
  }
@@ -383,7 +390,7 @@ function Br(e, t, r, n, i, o) {
383
390
  }), e.element = /** @type {any} */
384
391
  s, s;
385
392
  }
386
- class Ar {
393
+ class Tr {
387
394
  /**
388
395
  * ### PRIVATE API
389
396
  *
@@ -402,7 +409,7 @@ class Ar {
402
409
  $$set = void 0;
403
410
  /** @returns {void} */
404
411
  $destroy() {
405
- Sr(this, 1), this.$destroy = A;
412
+ _r(this, 1), this.$destroy = B;
406
413
  }
407
414
  /**
408
415
  * @template {Extract<keyof Events, string>} K
@@ -412,7 +419,7 @@ class Ar {
412
419
  */
413
420
  $on(t, r) {
414
421
  if (!We(r))
415
- return A;
422
+ return B;
416
423
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
417
424
  return n.push(r), () => {
418
425
  const i = n.indexOf(r);
@@ -424,11 +431,11 @@ class Ar {
424
431
  * @returns {void}
425
432
  */
426
433
  $set(t) {
427
- this.$$set && !ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
434
+ this.$$set && !rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
428
435
  }
429
436
  }
430
- const wr = "4";
431
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(wr);
437
+ const Hr = "4";
438
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
432
439
  var Ne = function(e, t) {
433
440
  return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
434
441
  r.__proto__ = n;
@@ -436,7 +443,7 @@ var Ne = function(e, t) {
436
443
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
437
444
  }, Ne(e, t);
438
445
  };
439
- function N(e, t) {
446
+ function I(e, t) {
440
447
  if (typeof t != "function" && t !== null)
441
448
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
442
449
  Ne(e, t);
@@ -454,7 +461,7 @@ var g = function() {
454
461
  return t;
455
462
  }, g.apply(this, arguments);
456
463
  };
457
- function Pr(e, t) {
464
+ function Br(e, t) {
458
465
  var r = {};
459
466
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
460
467
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -489,21 +496,21 @@ function Ce(e, t) {
489
496
  }
490
497
  return o;
491
498
  }
492
- function V(e, t, r) {
499
+ function k(e, t, r) {
493
500
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
494
501
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
495
502
  return e.concat(o || Array.prototype.slice.call(t));
496
503
  }
497
- function L(e) {
504
+ function O(e) {
498
505
  return typeof e == "function";
499
506
  }
500
- function wt(e) {
507
+ function Ht(e) {
501
508
  var t = function(n) {
502
509
  Error.call(n), n.stack = new Error().stack;
503
510
  }, r = e(t);
504
511
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
505
512
  }
506
- var Se = wt(function(e) {
513
+ var Te = Ht(function(e) {
507
514
  return function(r) {
508
515
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
509
516
  ` + r.map(function(n, i) {
@@ -546,22 +553,22 @@ var ge = function() {
546
553
  else
547
554
  s.remove(this);
548
555
  var l = this.initialTeardown;
549
- if (L(l))
556
+ if (O(l))
550
557
  try {
551
558
  l();
552
559
  } catch (v) {
553
- o = v instanceof Se ? v.errors : [v];
560
+ o = v instanceof Te ? v.errors : [v];
554
561
  }
555
562
  var f = this._finalizers;
556
563
  if (f) {
557
564
  this._finalizers = null;
558
565
  try {
559
566
  for (var c = Me(f), p = c.next(); !p.done; p = c.next()) {
560
- var y = p.value;
567
+ var b = p.value;
561
568
  try {
562
- et(y);
569
+ Ye(b);
563
570
  } catch (v) {
564
- o = o ?? [], v instanceof Se ? o = V(V([], Ce(o)), Ce(v.errors)) : o.push(v);
571
+ o = o ?? [], v instanceof Te ? o = k(k([], Ce(o)), Ce(v.errors)) : o.push(v);
565
572
  }
566
573
  }
567
574
  } catch (v) {
@@ -575,13 +582,13 @@ var ge = function() {
575
582
  }
576
583
  }
577
584
  if (o)
578
- throw new Se(o);
585
+ throw new Te(o);
579
586
  }
580
587
  }, e.prototype.add = function(t) {
581
588
  var r;
582
589
  if (t && t !== this)
583
590
  if (this.closed)
584
- et(t);
591
+ Ye(t);
585
592
  else {
586
593
  if (t instanceof e) {
587
594
  if (t.closed || t._hasParent(this))
@@ -606,45 +613,41 @@ var ge = function() {
606
613
  var t = new e();
607
614
  return t.closed = !0, t;
608
615
  }(), e;
609
- }(), Pt = ge.EMPTY;
610
- function Ot(e) {
611
- return e instanceof ge || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
616
+ }(), Bt = ge.EMPTY;
617
+ function At(e) {
618
+ return e instanceof ge || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
612
619
  }
613
- function et(e) {
614
- L(e) ? e() : e.unsubscribe();
615
- }
616
- var It = {
617
- onUnhandledError: null,
618
- onStoppedNotification: null,
619
- Promise: void 0,
620
- useDeprecatedSynchronousErrorHandling: !1,
621
- useDeprecatedNextContext: !1
622
- }, Or = {
620
+ function Ye(e) {
621
+ O(e) ? e() : e.unsubscribe();
622
+ }
623
+ var Ar = {
624
+ Promise: void 0
625
+ }, wr = {
623
626
  setTimeout: function(e, t) {
624
627
  for (var r = [], n = 2; n < arguments.length; n++)
625
628
  r[n - 2] = arguments[n];
626
- return setTimeout.apply(void 0, V([e, t], Ce(r)));
629
+ return setTimeout.apply(void 0, k([e, t], Ce(r)));
627
630
  },
628
631
  clearTimeout: function(e) {
629
632
  return clearTimeout(e);
630
633
  },
631
634
  delegate: void 0
632
635
  };
633
- function Ir(e) {
634
- Or.setTimeout(function() {
636
+ function Pr(e) {
637
+ wr.setTimeout(function() {
635
638
  throw e;
636
639
  });
637
640
  }
638
- function tt() {
641
+ function qe() {
639
642
  }
640
643
  function ce(e) {
641
644
  e();
642
645
  }
643
- var Lt = function(e) {
644
- N(t, e);
646
+ var wt = function(e) {
647
+ I(t, e);
645
648
  function t(r) {
646
649
  var n = e.call(this) || this;
647
- return n.isStopped = !1, r ? (n.destination = r, Ot(r) && r.add(n)) : n.destination = Cr, n;
650
+ return n.isStopped = !1, r ? (n.destination = r, At(r) && r.add(n)) : n.destination = Lr, n;
648
651
  }
649
652
  return t.create = function(r, n, i) {
650
653
  return new Re(r, n, i);
@@ -671,11 +674,7 @@ var Lt = function(e) {
671
674
  this.unsubscribe();
672
675
  }
673
676
  }, t;
674
- }(ge), Lr = Function.prototype.bind;
675
- function Te(e, t) {
676
- return Lr.call(e, t);
677
- }
678
- var Nr = function() {
677
+ }(ge), Or = function() {
679
678
  function e(t) {
680
679
  this.partialObserver = t;
681
680
  }
@@ -707,54 +706,42 @@ var Nr = function() {
707
706
  }
708
707
  }, e;
709
708
  }(), Re = function(e) {
710
- N(t, e);
709
+ I(t, e);
711
710
  function t(r, n, i) {
712
711
  var o = e.call(this) || this, s;
713
- if (L(r) || !r)
714
- s = {
715
- next: r ?? void 0,
716
- error: n ?? void 0,
717
- complete: i ?? void 0
718
- };
719
- else {
720
- var a;
721
- o && It.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
722
- return o.unsubscribe();
723
- }, s = {
724
- next: r.next && Te(r.next, a),
725
- error: r.error && Te(r.error, a),
726
- complete: r.complete && Te(r.complete, a)
727
- }) : s = r;
728
- }
729
- return o.destination = new Nr(s), o;
712
+ return O(r) || !r ? s = {
713
+ next: r ?? void 0,
714
+ error: n ?? void 0,
715
+ complete: i ?? void 0
716
+ } : s = r, o.destination = new Or(s), o;
730
717
  }
731
718
  return t;
732
- }(Lt);
719
+ }(wt);
733
720
  function ue(e) {
734
- Ir(e);
721
+ Pr(e);
735
722
  }
736
- function Mr(e) {
723
+ function Ir(e) {
737
724
  throw e;
738
725
  }
739
- var Cr = {
726
+ var Lr = {
740
727
  closed: !0,
741
- next: tt,
742
- error: Mr,
743
- complete: tt
744
- }, $r = function() {
728
+ next: qe,
729
+ error: Ir,
730
+ complete: qe
731
+ }, Nr = function() {
745
732
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
746
733
  }();
747
- function Rr(e) {
734
+ function Mr(e) {
748
735
  return e;
749
736
  }
750
- function Ur(e) {
751
- return e.length === 0 ? Rr : e.length === 1 ? e[0] : function(r) {
737
+ function Cr(e) {
738
+ return e.length === 0 ? Mr : e.length === 1 ? e[0] : function(r) {
752
739
  return e.reduce(function(n, i) {
753
740
  return i(n);
754
741
  }, r);
755
742
  };
756
743
  }
757
- var rt = function() {
744
+ var Ke = function() {
758
745
  function e(t) {
759
746
  t && (this._subscribe = t);
760
747
  }
@@ -762,7 +749,7 @@ var rt = function() {
762
749
  var r = new e();
763
750
  return r.source = this, r.operator = t, r;
764
751
  }, e.prototype.subscribe = function(t, r, n) {
765
- var i = this, o = Gr(t) ? t : new Re(t, r, n);
752
+ var i = this, o = Rr(t) ? t : new Re(t, r, n);
766
753
  return ce(function() {
767
754
  var s = i, a = s.operator, h = s.source;
768
755
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -775,7 +762,7 @@ var rt = function() {
775
762
  }
776
763
  }, e.prototype.forEach = function(t, r) {
777
764
  var n = this;
778
- return r = nt(r), new r(function(i, o) {
765
+ return r = et(r), new r(function(i, o) {
779
766
  var s = new Re({
780
767
  next: function(a) {
781
768
  try {
@@ -792,15 +779,15 @@ var rt = function() {
792
779
  }, e.prototype._subscribe = function(t) {
793
780
  var r;
794
781
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
795
- }, e.prototype[$r] = function() {
782
+ }, e.prototype[Nr] = function() {
796
783
  return this;
797
784
  }, e.prototype.pipe = function() {
798
785
  for (var t = [], r = 0; r < arguments.length; r++)
799
786
  t[r] = arguments[r];
800
- return Ur(t)(this);
787
+ return Cr(t)(this);
801
788
  }, e.prototype.toPromise = function(t) {
802
789
  var r = this;
803
- return t = nt(t), new t(function(n, i) {
790
+ return t = et(t), new t(function(n, i) {
804
791
  var o;
805
792
  r.subscribe(function(s) {
806
793
  return o = s;
@@ -814,32 +801,32 @@ var rt = function() {
814
801
  return new e(t);
815
802
  }, e;
816
803
  }();
817
- function nt(e) {
804
+ function et(e) {
818
805
  var t;
819
- return (t = e ?? It.Promise) !== null && t !== void 0 ? t : Promise;
806
+ return (t = e ?? Ar.Promise) !== null && t !== void 0 ? t : Promise;
820
807
  }
821
- function Dr(e) {
822
- return e && L(e.next) && L(e.error) && L(e.complete);
808
+ function $r(e) {
809
+ return e && O(e.next) && O(e.error) && O(e.complete);
823
810
  }
824
- function Gr(e) {
825
- return e && e instanceof Lt || Dr(e) && Ot(e);
811
+ function Rr(e) {
812
+ return e && e instanceof wt || $r(e) && At(e);
826
813
  }
827
- var Fr = wt(function(e) {
814
+ var Ur = Ht(function(e) {
828
815
  return function() {
829
816
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
830
817
  };
831
- }), Nt = function(e) {
832
- N(t, e);
818
+ }), Pt = function(e) {
819
+ I(t, e);
833
820
  function t() {
834
821
  var r = e.call(this) || this;
835
822
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
836
823
  }
837
824
  return t.prototype.lift = function(r) {
838
- var n = new it(this, this);
825
+ var n = new tt(this, this);
839
826
  return n.operator = r, n;
840
827
  }, t.prototype._throwIfClosed = function() {
841
828
  if (this.closed)
842
- throw new Fr();
829
+ throw new Ur();
843
830
  }, t.prototype.next = function(r) {
844
831
  var n = this;
845
832
  ce(function() {
@@ -895,20 +882,20 @@ var Fr = wt(function(e) {
895
882
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
896
883
  }, t.prototype._innerSubscribe = function(r) {
897
884
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
898
- return o || s ? Pt : (this.currentObservers = null, a.push(r), new ge(function() {
885
+ return o || s ? Bt : (this.currentObservers = null, a.push(r), new ge(function() {
899
886
  n.currentObservers = null, $e(a, r);
900
887
  }));
901
888
  }, t.prototype._checkFinalizedStatuses = function(r) {
902
889
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
903
890
  i ? r.error(o) : s && r.complete();
904
891
  }, t.prototype.asObservable = function() {
905
- var r = new rt();
892
+ var r = new Ke();
906
893
  return r.source = this, r;
907
894
  }, t.create = function(r, n) {
908
- return new it(r, n);
895
+ return new tt(r, n);
909
896
  }, t;
910
- }(rt), it = function(e) {
911
- N(t, e);
897
+ }(Ke), tt = function(e) {
898
+ I(t, e);
912
899
  function t(r, n) {
913
900
  var i = e.call(this) || this;
914
901
  return i.destination = r, i.source = n, i;
@@ -924,17 +911,17 @@ var Fr = wt(function(e) {
924
911
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
925
912
  }, t.prototype._subscribe = function(r) {
926
913
  var n, i;
927
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pt;
914
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Bt;
928
915
  }, t;
929
- }(Nt), Mt = {
916
+ }(Pt), Ot = {
930
917
  now: function() {
931
- return (Mt.delegate || Date).now();
918
+ return (Ot.delegate || Date).now();
932
919
  },
933
920
  delegate: void 0
934
- }, jr = function(e) {
935
- N(t, e);
921
+ }, Gr = function(e) {
922
+ I(t, e);
936
923
  function t(r, n, i) {
937
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Mt);
924
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ot);
938
925
  var o = e.call(this) || this;
939
926
  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;
940
927
  }
@@ -954,63 +941,63 @@ var Fr = wt(function(e) {
954
941
  u && o.splice(0, u + 1);
955
942
  }
956
943
  }, t;
957
- }(Nt);
958
- const ot = [], st = {}, kr = (e, t = 0) => {
959
- if (ot.indexOf(e) == -1) {
960
- const r = new jr(t);
961
- st[e] = r, ot.push(e);
944
+ }(Pt);
945
+ const rt = [], nt = {}, Dr = (e, t = 0) => {
946
+ if (rt.indexOf(e) == -1) {
947
+ const r = new Gr(t);
948
+ nt[e] = r, rt.push(e);
962
949
  }
963
- return st[e];
964
- }, F = [];
965
- function Vr(e, t) {
950
+ return nt[e];
951
+ }, D = [];
952
+ function Fr(e, t) {
966
953
  return {
967
954
  subscribe: ye(e, t).subscribe
968
955
  };
969
956
  }
970
- function ye(e, t = A) {
957
+ function ye(e, t = B) {
971
958
  let r;
972
959
  const n = /* @__PURE__ */ new Set();
973
960
  function i(a) {
974
- if (St(e, a) && (e = a, r)) {
975
- const h = !F.length;
961
+ if (_t(e, a) && (e = a, r)) {
962
+ const h = !D.length;
976
963
  for (const u of n)
977
- u[1](), F.push(u, e);
964
+ u[1](), D.push(u, e);
978
965
  if (h) {
979
- for (let u = 0; u < F.length; u += 2)
980
- F[u][0](F[u + 1]);
981
- F.length = 0;
966
+ for (let u = 0; u < D.length; u += 2)
967
+ D[u][0](D[u + 1]);
968
+ D.length = 0;
982
969
  }
983
970
  }
984
971
  }
985
972
  function o(a) {
986
973
  i(a(e));
987
974
  }
988
- function s(a, h = A) {
975
+ function s(a, h = B) {
989
976
  const u = [a, h];
990
- return n.add(u), n.size === 1 && (r = t(i, o) || A), a(e), () => {
977
+ return n.add(u), n.size === 1 && (r = t(i, o) || B), a(e), () => {
991
978
  n.delete(u), n.size === 0 && r && (r(), r = null);
992
979
  };
993
980
  }
994
981
  return { set: i, update: o, subscribe: s };
995
982
  }
996
- function J(e, t, r) {
983
+ function Q(e, t, r) {
997
984
  const n = !Array.isArray(e), i = n ? [e] : e;
998
985
  if (!i.every(Boolean))
999
986
  throw new Error("derived() expects stores as input, got a falsy value");
1000
987
  const o = t.length < 2;
1001
- return Vr(r, (s, a) => {
988
+ return Fr(r, (s, a) => {
1002
989
  let h = !1;
1003
990
  const u = [];
1004
- let l = 0, f = A;
991
+ let l = 0, f = B;
1005
992
  const c = () => {
1006
993
  if (l)
1007
994
  return;
1008
995
  f();
1009
- const y = t(n ? u[0] : u, s, a);
1010
- o ? s(y) : f = We(y) ? y : A;
996
+ const b = t(n ? u[0] : u, s, a);
997
+ o ? s(b) : f = We(b) ? b : B;
1011
998
  }, p = i.map(
1012
- (y, v) => Tt(
1013
- y,
999
+ (b, v) => xt(
1000
+ b,
1014
1001
  (H) => {
1015
1002
  u[v] = H, l &= ~(1 << v), h && c();
1016
1003
  },
@@ -1024,179 +1011,177 @@ function J(e, t, r) {
1024
1011
  };
1025
1012
  });
1026
1013
  }
1027
- function Xr(e) {
1014
+ function jr(e) {
1028
1015
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1029
1016
  }
1030
- var Wr = function(t) {
1031
- return zr(t) && !Zr(t);
1017
+ var kr = function(t) {
1018
+ return Vr(t) && !Xr(t);
1032
1019
  };
1033
- function zr(e) {
1020
+ function Vr(e) {
1034
1021
  return !!e && typeof e == "object";
1035
1022
  }
1036
- function Zr(e) {
1023
+ function Xr(e) {
1037
1024
  var t = Object.prototype.toString.call(e);
1038
- return t === "[object RegExp]" || t === "[object Date]" || Yr(e);
1025
+ return t === "[object RegExp]" || t === "[object Date]" || Zr(e);
1039
1026
  }
1040
- var Qr = typeof Symbol == "function" && Symbol.for, Jr = Qr ? Symbol.for("react.element") : 60103;
1041
- function Yr(e) {
1042
- return e.$$typeof === Jr;
1027
+ var Wr = typeof Symbol == "function" && Symbol.for, zr = Wr ? Symbol.for("react.element") : 60103;
1028
+ function Zr(e) {
1029
+ return e.$$typeof === zr;
1043
1030
  }
1044
- function qr(e) {
1031
+ function Qr(e) {
1045
1032
  return Array.isArray(e) ? [] : {};
1046
1033
  }
1047
1034
  function re(e, t) {
1048
- return t.clone !== !1 && t.isMergeableObject(e) ? X(qr(e), e, t) : e;
1035
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(Qr(e), e, t) : e;
1049
1036
  }
1050
- function Kr(e, t, r) {
1037
+ function Jr(e, t, r) {
1051
1038
  return e.concat(t).map(function(n) {
1052
1039
  return re(n, r);
1053
1040
  });
1054
1041
  }
1055
- function en(e, t) {
1042
+ function Yr(e, t) {
1056
1043
  if (!t.customMerge)
1057
- return X;
1044
+ return V;
1058
1045
  var r = t.customMerge(e);
1059
- return typeof r == "function" ? r : X;
1046
+ return typeof r == "function" ? r : V;
1060
1047
  }
1061
- function tn(e) {
1048
+ function qr(e) {
1062
1049
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1063
1050
  return Object.propertyIsEnumerable.call(e, t);
1064
1051
  }) : [];
1065
1052
  }
1066
- function at(e) {
1067
- return Object.keys(e).concat(tn(e));
1053
+ function it(e) {
1054
+ return Object.keys(e).concat(qr(e));
1068
1055
  }
1069
- function Ct(e, t) {
1056
+ function It(e, t) {
1070
1057
  try {
1071
1058
  return t in e;
1072
1059
  } catch {
1073
1060
  return !1;
1074
1061
  }
1075
1062
  }
1076
- function rn(e, t) {
1077
- return Ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1063
+ function Kr(e, t) {
1064
+ return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1078
1065
  }
1079
- function nn(e, t, r) {
1066
+ function en(e, t, r) {
1080
1067
  var n = {};
1081
- return r.isMergeableObject(e) && at(e).forEach(function(i) {
1068
+ return r.isMergeableObject(e) && it(e).forEach(function(i) {
1082
1069
  n[i] = re(e[i], r);
1083
- }), at(t).forEach(function(i) {
1084
- rn(e, i) || (Ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = en(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1070
+ }), it(t).forEach(function(i) {
1071
+ Kr(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yr(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1085
1072
  }), n;
1086
1073
  }
1087
- function X(e, t, r) {
1088
- r = r || {}, r.arrayMerge = r.arrayMerge || Kr, r.isMergeableObject = r.isMergeableObject || Wr, r.cloneUnlessOtherwiseSpecified = re;
1074
+ function V(e, t, r) {
1075
+ r = r || {}, r.arrayMerge = r.arrayMerge || Jr, r.isMergeableObject = r.isMergeableObject || kr, r.cloneUnlessOtherwiseSpecified = re;
1089
1076
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1090
- return o ? n ? r.arrayMerge(e, t, r) : nn(e, t, r) : re(t, r);
1077
+ return o ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : re(t, r);
1091
1078
  }
1092
- X.all = function(t, r) {
1079
+ V.all = function(t, r) {
1093
1080
  if (!Array.isArray(t))
1094
1081
  throw new Error("first argument should be an array");
1095
1082
  return t.reduce(function(n, i) {
1096
- return X(n, i, r);
1083
+ return V(n, i, r);
1097
1084
  }, {});
1098
1085
  };
1099
- var on = X, sn = on;
1100
- const an = /* @__PURE__ */ Xr(sn);
1086
+ var tn = V, rn = tn;
1087
+ const nn = /* @__PURE__ */ jr(rn);
1101
1088
  function He(e, t) {
1102
- var r = t && t.cache ? t.cache : pn, n = t && t.serializer ? t.serializer : fn, i = t && t.strategy ? t.strategy : hn;
1089
+ var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : hn, i = t && t.strategy ? t.strategy : an;
1103
1090
  return i(e, {
1104
1091
  cache: r,
1105
1092
  serializer: n
1106
1093
  });
1107
1094
  }
1108
- function un(e) {
1095
+ function on(e) {
1109
1096
  return e == null || typeof e == "number" || typeof e == "boolean";
1110
1097
  }
1111
- function $t(e, t, r, n) {
1112
- var i = un(n) ? n : r(n), o = t.get(i);
1098
+ function sn(e, t, r, n) {
1099
+ var i = on(n) ? n : r(n), o = t.get(i);
1113
1100
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1114
1101
  }
1115
- function Rt(e, t, r) {
1102
+ function Lt(e, t, r) {
1116
1103
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1117
1104
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1118
1105
  }
1119
- function Ze(e, t, r, n, i) {
1106
+ function Nt(e, t, r, n, i) {
1120
1107
  return r.bind(t, e, n, i);
1121
1108
  }
1122
- function hn(e, t) {
1123
- var r = e.length === 1 ? $t : Rt;
1124
- return Ze(e, this, r, t.cache.create(), t.serializer);
1109
+ function an(e, t) {
1110
+ var r = e.length === 1 ? sn : Lt;
1111
+ return Nt(e, this, r, t.cache.create(), t.serializer);
1125
1112
  }
1126
- function ln(e, t) {
1127
- return Ze(e, this, Rt, t.cache.create(), t.serializer);
1113
+ function un(e, t) {
1114
+ return Nt(e, this, Lt, t.cache.create(), t.serializer);
1128
1115
  }
1129
- function cn(e, t) {
1130
- return Ze(e, this, $t, t.cache.create(), t.serializer);
1131
- }
1132
- var fn = function() {
1116
+ var hn = function() {
1133
1117
  return JSON.stringify(arguments);
1134
- };
1135
- function Qe() {
1136
- this.cache = /* @__PURE__ */ Object.create(null);
1137
- }
1138
- Qe.prototype.get = function(e) {
1139
- return this.cache[e];
1140
- };
1141
- Qe.prototype.set = function(e, t) {
1142
- this.cache[e] = t;
1143
- };
1144
- var pn = {
1118
+ }, ln = (
1119
+ /** @class */
1120
+ function() {
1121
+ function e() {
1122
+ this.cache = /* @__PURE__ */ Object.create(null);
1123
+ }
1124
+ return e.prototype.get = function(t) {
1125
+ return this.cache[t];
1126
+ }, e.prototype.set = function(t, r) {
1127
+ this.cache[t] = r;
1128
+ }, e;
1129
+ }()
1130
+ ), cn = {
1145
1131
  create: function() {
1146
- return new Qe();
1132
+ return new ln();
1147
1133
  }
1148
1134
  }, Be = {
1149
- variadic: ln,
1150
- monadic: cn
1135
+ variadic: un
1151
1136
  }, d;
1152
1137
  (function(e) {
1153
1138
  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";
1154
1139
  })(d || (d = {}));
1155
- var E;
1140
+ var _;
1156
1141
  (function(e) {
1157
1142
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1158
- })(E || (E = {}));
1159
- var W;
1143
+ })(_ || (_ = {}));
1144
+ var X;
1160
1145
  (function(e) {
1161
1146
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1162
- })(W || (W = {}));
1163
- function ut(e) {
1164
- return e.type === E.literal;
1147
+ })(X || (X = {}));
1148
+ function ot(e) {
1149
+ return e.type === _.literal;
1165
1150
  }
1166
- function dn(e) {
1167
- return e.type === E.argument;
1151
+ function fn(e) {
1152
+ return e.type === _.argument;
1168
1153
  }
1169
- function Ut(e) {
1170
- return e.type === E.number;
1154
+ function Mt(e) {
1155
+ return e.type === _.number;
1171
1156
  }
1172
- function Dt(e) {
1173
- return e.type === E.date;
1157
+ function Ct(e) {
1158
+ return e.type === _.date;
1174
1159
  }
1175
- function Gt(e) {
1176
- return e.type === E.time;
1160
+ function $t(e) {
1161
+ return e.type === _.time;
1177
1162
  }
1178
- function Ft(e) {
1179
- return e.type === E.select;
1163
+ function Rt(e) {
1164
+ return e.type === _.select;
1180
1165
  }
1181
- function jt(e) {
1182
- return e.type === E.plural;
1166
+ function Ut(e) {
1167
+ return e.type === _.plural;
1183
1168
  }
1184
- function mn(e) {
1185
- return e.type === E.pound;
1169
+ function pn(e) {
1170
+ return e.type === _.pound;
1186
1171
  }
1187
- function kt(e) {
1188
- return e.type === E.tag;
1172
+ function Gt(e) {
1173
+ return e.type === _.tag;
1189
1174
  }
1190
- function Vt(e) {
1191
- return !!(e && typeof e == "object" && e.type === W.number);
1175
+ function Dt(e) {
1176
+ return !!(e && typeof e == "object" && e.type === X.number);
1192
1177
  }
1193
1178
  function Ue(e) {
1194
- return !!(e && typeof e == "object" && e.type === W.dateTime);
1179
+ return !!(e && typeof e == "object" && e.type === X.dateTime);
1195
1180
  }
1196
- var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bn = /(?:[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;
1197
- function gn(e) {
1181
+ var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[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;
1182
+ function mn(e) {
1198
1183
  var t = {};
1199
- return e.replace(bn, function(r) {
1184
+ return e.replace(dn, function(r) {
1200
1185
  var n = r.length;
1201
1186
  switch (r[0]) {
1202
1187
  case "G":
@@ -1285,11 +1270,11 @@ function gn(e) {
1285
1270
  return "";
1286
1271
  }), t;
1287
1272
  }
1288
- var yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1289
- function vn(e) {
1273
+ var bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1274
+ function gn(e) {
1290
1275
  if (e.length === 0)
1291
1276
  throw new Error("Number skeleton cannot be empty");
1292
- for (var t = e.split(yn).filter(function(c) {
1277
+ for (var t = e.split(bn).filter(function(c) {
1293
1278
  return c.length > 0;
1294
1279
  }), r = [], n = 0, i = t; n < i.length; n++) {
1295
1280
  var o = i[n], s = o.split("/");
@@ -1304,17 +1289,17 @@ function vn(e) {
1304
1289
  }
1305
1290
  return r;
1306
1291
  }
1307
- function En(e) {
1292
+ function yn(e) {
1308
1293
  return e.replace(/^(.*?)-/, "");
1309
1294
  }
1310
- var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Wt = /^(@+)?(\+|#+)?[rs]?$/g, xn = /(\*)(0+)|(#+)(0+)|(0+)/g, zt = /^(0+)$/;
1311
- function lt(e) {
1295
+ var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
1296
+ function at(e) {
1312
1297
  var t = {};
1313
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Wt, function(r, n, i) {
1298
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
1314
1299
  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)), "";
1315
1300
  }), t;
1316
1301
  }
1317
- function Zt(e) {
1302
+ function Vt(e) {
1318
1303
  switch (e) {
1319
1304
  case "sign-auto":
1320
1305
  return {
@@ -1362,17 +1347,17 @@ function _n(e) {
1362
1347
  notation: "scientific"
1363
1348
  }, e = e.slice(1)), t) {
1364
1349
  var r = e.slice(0, 2);
1365
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zt.test(e))
1350
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
1366
1351
  throw new Error("Malformed concise eng/scientific notation");
1367
1352
  t.minimumIntegerDigits = e.length;
1368
1353
  }
1369
1354
  return t;
1370
1355
  }
1371
- function ct(e) {
1372
- var t = {}, r = Zt(e);
1356
+ function ut(e) {
1357
+ var t = {}, r = Vt(e);
1373
1358
  return r || t;
1374
1359
  }
1375
- function Sn(e) {
1360
+ function xn(e) {
1376
1361
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1377
1362
  var i = n[r];
1378
1363
  switch (i.stem) {
@@ -1396,7 +1381,7 @@ function Sn(e) {
1396
1381
  continue;
1397
1382
  case "measure-unit":
1398
1383
  case "unit":
1399
- t.style = "unit", t.unit = En(i.options[0]);
1384
+ t.style = "unit", t.unit = yn(i.options[0]);
1400
1385
  continue;
1401
1386
  case "compact-short":
1402
1387
  case "K":
@@ -1408,12 +1393,12 @@ function Sn(e) {
1408
1393
  continue;
1409
1394
  case "scientific":
1410
1395
  t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1411
- return g(g({}, h), ct(u));
1396
+ return g(g({}, h), ut(u));
1412
1397
  }, {}));
1413
1398
  continue;
1414
1399
  case "engineering":
1415
1400
  t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1416
- return g(g({}, h), ct(u));
1401
+ return g(g({}, h), ut(u));
1417
1402
  }, {}));
1418
1403
  continue;
1419
1404
  case "notation-simple":
@@ -1458,7 +1443,7 @@ function Sn(e) {
1458
1443
  case "integer-width":
1459
1444
  if (i.options.length > 1)
1460
1445
  throw new RangeError("integer-width stems only accept a single optional option");
1461
- i.options[0].replace(xn, function(h, u, l, f, c, p) {
1446
+ i.options[0].replace(vn, function(h, u, l, f, c, p) {
1462
1447
  if (u)
1463
1448
  t.minimumIntegerDigits = l.length;
1464
1449
  else {
@@ -1471,25 +1456,25 @@ function Sn(e) {
1471
1456
  });
1472
1457
  continue;
1473
1458
  }
1474
- if (zt.test(i.stem)) {
1459
+ if (kt.test(i.stem)) {
1475
1460
  t.minimumIntegerDigits = i.stem.length;
1476
1461
  continue;
1477
1462
  }
1478
- if (ht.test(i.stem)) {
1463
+ if (st.test(i.stem)) {
1479
1464
  if (i.options.length > 1)
1480
1465
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1481
- i.stem.replace(ht, function(h, u, l, f, c, p) {
1466
+ i.stem.replace(st, function(h, u, l, f, c, p) {
1482
1467
  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), "";
1483
1468
  });
1484
1469
  var o = i.options[0];
1485
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), lt(o)));
1470
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), at(o)));
1486
1471
  continue;
1487
1472
  }
1488
- if (Wt.test(i.stem)) {
1489
- t = g(g({}, t), lt(i.stem));
1473
+ if (jt.test(i.stem)) {
1474
+ t = g(g({}, t), at(i.stem));
1490
1475
  continue;
1491
1476
  }
1492
- var s = Zt(i.stem);
1477
+ var s = Vt(i.stem);
1493
1478
  s && (t = g(g({}, t), s));
1494
1479
  var a = _n(i.stem);
1495
1480
  a && (t = g(g({}, t), a));
@@ -2911,13 +2896,13 @@ var he = {
2911
2896
  "h"
2912
2897
  ]
2913
2898
  };
2914
- function Tn(e, t) {
2899
+ function En(e, t) {
2915
2900
  for (var r = "", n = 0; n < e.length; n++) {
2916
2901
  var i = e.charAt(n);
2917
2902
  if (i === "j") {
2918
2903
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2919
2904
  o++, n++;
2920
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Hn(t);
2905
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Sn(t);
2921
2906
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2922
2907
  r += h;
2923
2908
  for (; s-- > 0; )
@@ -2926,7 +2911,7 @@ function Tn(e, t) {
2926
2911
  }
2927
2912
  return r;
2928
2913
  }
2929
- function Hn(e) {
2914
+ function Sn(e) {
2930
2915
  var t = e.hourCycle;
2931
2916
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2932
2917
  e.hourCycles && // @ts-ignore
@@ -2948,20 +2933,20 @@ function Hn(e) {
2948
2933
  var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
2949
2934
  return i[0];
2950
2935
  }
2951
- var Ae, Bn = new RegExp("^".concat(Xt.source, "*")), An = new RegExp("".concat(Xt.source, "*$"));
2936
+ var Ae, Tn = new RegExp("^".concat(Ft.source, "*")), Hn = new RegExp("".concat(Ft.source, "*$"));
2952
2937
  function m(e, t) {
2953
2938
  return { start: e, end: t };
2954
2939
  }
2955
- var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pn = !!String.fromCodePoint, On = !!Object.fromEntries, In = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, Nn = !!String.prototype.trimEnd, Mn = !!Number.isSafeInteger, Cn = Mn ? Number.isSafeInteger : function(e) {
2940
+ var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, wn = !!Object.fromEntries, Pn = !!String.prototype.codePointAt, On = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Ln = !!Number.isSafeInteger, Nn = Ln ? Number.isSafeInteger : function(e) {
2956
2941
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2957
- }, De = !0;
2942
+ }, Ge = !0;
2958
2943
  try {
2959
- var $n = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2960
- De = ((Ae = $n.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
2944
+ var Mn = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2945
+ Ge = ((Ae = Mn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
2961
2946
  } catch {
2962
- De = !1;
2947
+ Ge = !1;
2963
2948
  }
2964
- var ft = wn ? (
2949
+ var ht = Bn ? (
2965
2950
  // Native
2966
2951
  function(t, r, n) {
2967
2952
  return t.startsWith(r, n);
@@ -2971,7 +2956,7 @@ var ft = wn ? (
2971
2956
  function(t, r, n) {
2972
2957
  return t.slice(n, n + r.length) === r;
2973
2958
  }
2974
- ), Ge = Pn ? String.fromCodePoint : (
2959
+ ), De = An ? String.fromCodePoint : (
2975
2960
  // IE11
2976
2961
  function() {
2977
2962
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2983,9 +2968,9 @@ var ft = wn ? (
2983
2968
  }
2984
2969
  return n;
2985
2970
  }
2986
- ), pt = (
2971
+ ), lt = (
2987
2972
  // native
2988
- On ? Object.fromEntries : (
2973
+ wn ? Object.fromEntries : (
2989
2974
  // Ponyfill
2990
2975
  function(t) {
2991
2976
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2995,7 +2980,7 @@ var ft = wn ? (
2995
2980
  return r;
2996
2981
  }
2997
2982
  )
2998
- ), Qt = In ? (
2983
+ ), Xt = Pn ? (
2999
2984
  // Native
3000
2985
  function(t, r) {
3001
2986
  return t.codePointAt(r);
@@ -3009,7 +2994,7 @@ var ft = wn ? (
3009
2994
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3010
2995
  }
3011
2996
  }
3012
- ), Rn = Ln ? (
2997
+ ), Cn = On ? (
3013
2998
  // Native
3014
2999
  function(t) {
3015
3000
  return t.trimStart();
@@ -3017,9 +3002,9 @@ var ft = wn ? (
3017
3002
  ) : (
3018
3003
  // Ponyfill
3019
3004
  function(t) {
3020
- return t.replace(Bn, "");
3005
+ return t.replace(Tn, "");
3021
3006
  }
3022
- ), Un = Nn ? (
3007
+ ), $n = In ? (
3023
3008
  // Native
3024
3009
  function(t) {
3025
3010
  return t.trimEnd();
@@ -3027,32 +3012,32 @@ var ft = wn ? (
3027
3012
  ) : (
3028
3013
  // Ponyfill
3029
3014
  function(t) {
3030
- return t.replace(An, "");
3015
+ return t.replace(Hn, "");
3031
3016
  }
3032
3017
  );
3033
- function Jt(e, t) {
3018
+ function Wt(e, t) {
3034
3019
  return new RegExp(e, t);
3035
3020
  }
3036
3021
  var Fe;
3037
- if (De) {
3038
- var dt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3022
+ if (Ge) {
3023
+ var ct = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3039
3024
  Fe = function(t, r) {
3040
3025
  var n;
3041
- dt.lastIndex = r;
3042
- var i = dt.exec(t);
3026
+ ct.lastIndex = r;
3027
+ var i = ct.exec(t);
3043
3028
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3044
3029
  };
3045
3030
  } else
3046
3031
  Fe = function(t, r) {
3047
3032
  for (var n = []; ; ) {
3048
- var i = Qt(t, r);
3049
- if (i === void 0 || Yt(i) || jn(i))
3033
+ var i = Xt(t, r);
3034
+ if (i === void 0 || zt(i) || Dn(i))
3050
3035
  break;
3051
3036
  n.push(i), r += i >= 65536 ? 2 : 1;
3052
3037
  }
3053
- return Ge.apply(void 0, n);
3038
+ return De.apply(void 0, n);
3054
3039
  };
3055
- var Dn = (
3040
+ var Rn = (
3056
3041
  /** @class */
3057
3042
  function() {
3058
3043
  function e(t, r) {
@@ -3076,7 +3061,7 @@ var Dn = (
3076
3061
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3077
3062
  var a = this.clonePosition();
3078
3063
  this.bump(), i.push({
3079
- type: E.pound,
3064
+ type: _.pound,
3080
3065
  location: m(a, this.clonePosition())
3081
3066
  });
3082
3067
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -3104,7 +3089,7 @@ var Dn = (
3104
3089
  if (this.bumpSpace(), this.bumpIf("/>"))
3105
3090
  return {
3106
3091
  val: {
3107
- type: E.literal,
3092
+ type: _.literal,
3108
3093
  value: "<".concat(i, "/>"),
3109
3094
  location: m(n, this.clonePosition())
3110
3095
  },
@@ -3121,7 +3106,7 @@ var Dn = (
3121
3106
  var h = this.clonePosition(), u = this.parseTagName();
3122
3107
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3123
3108
  val: {
3124
- type: E.tag,
3109
+ type: _.tag,
3125
3110
  value: i,
3126
3111
  children: s,
3127
3112
  location: m(n, this.clonePosition())
@@ -3134,7 +3119,7 @@ var Dn = (
3134
3119
  return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
3135
3120
  }, e.prototype.parseTagName = function() {
3136
3121
  var t = this.offset();
3137
- for (this.bump(); !this.isEOF() && Fn(this.char()); )
3122
+ for (this.bump(); !this.isEOF() && Gn(this.char()); )
3138
3123
  this.bump();
3139
3124
  return this.message.slice(t, this.offset());
3140
3125
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3158,12 +3143,12 @@ var Dn = (
3158
3143
  }
3159
3144
  var h = m(n, this.clonePosition());
3160
3145
  return {
3161
- val: { type: E.literal, value: i, location: h },
3146
+ val: { type: _.literal, value: i, location: h },
3162
3147
  err: null
3163
3148
  };
3164
3149
  }, e.prototype.tryParseLeftAngleBracket = function() {
3165
3150
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3166
- !Gn(this.peek() || 0)) ? (this.bump(), "<") : null;
3151
+ !Un(this.peek() || 0)) ? (this.bump(), "<") : null;
3167
3152
  }, e.prototype.tryParseQuote = function(t) {
3168
3153
  if (this.isEOF() || this.char() !== 39)
3169
3154
  return null;
@@ -3197,12 +3182,12 @@ var Dn = (
3197
3182
  r.push(n);
3198
3183
  this.bump();
3199
3184
  }
3200
- return Ge.apply(void 0, r);
3185
+ return De.apply(void 0, r);
3201
3186
  }, e.prototype.tryParseUnquoted = function(t, r) {
3202
3187
  if (this.isEOF())
3203
3188
  return null;
3204
3189
  var n = this.char();
3205
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
3190
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
3206
3191
  }, e.prototype.parseArgument = function(t, r) {
3207
3192
  var n = this.clonePosition();
3208
3193
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3218,7 +3203,7 @@ var Dn = (
3218
3203
  case 125:
3219
3204
  return this.bump(), {
3220
3205
  val: {
3221
- type: E.argument,
3206
+ type: _.argument,
3222
3207
  // value does not include the opening and closing braces.
3223
3208
  value: i,
3224
3209
  location: m(n, this.clonePosition())
@@ -3250,44 +3235,44 @@ var Dn = (
3250
3235
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3251
3236
  if (f.err)
3252
3237
  return f;
3253
- var c = Un(f.val);
3238
+ var c = $n(f.val);
3254
3239
  if (c.length === 0)
3255
3240
  return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3256
3241
  var p = m(l, this.clonePosition());
3257
3242
  u = { style: c, styleLocation: p };
3258
3243
  }
3259
- var y = this.tryParseArgumentClose(i);
3260
- if (y.err)
3261
- return y;
3244
+ var b = this.tryParseArgumentClose(i);
3245
+ if (b.err)
3246
+ return b;
3262
3247
  var v = m(i, this.clonePosition());
3263
- if (u && ft(u?.style, "::", 0)) {
3264
- var H = Rn(u.style.slice(2));
3248
+ if (u && ht(u?.style, "::", 0)) {
3249
+ var H = Cn(u.style.slice(2));
3265
3250
  if (a === "number") {
3266
3251
  var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
3267
3252
  return f.err ? f : {
3268
- val: { type: E.number, value: n, location: v, style: f.val },
3253
+ val: { type: _.number, value: n, location: v, style: f.val },
3269
3254
  err: null
3270
3255
  };
3271
3256
  } else {
3272
3257
  if (H.length === 0)
3273
3258
  return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
3274
3259
  var C = H;
3275
- this.locale && (C = Tn(H, this.locale));
3260
+ this.locale && (C = En(H, this.locale));
3276
3261
  var c = {
3277
- type: W.dateTime,
3262
+ type: X.dateTime,
3278
3263
  pattern: C,
3279
3264
  location: u.styleLocation,
3280
- parsedOptions: this.shouldParseSkeletons ? gn(C) : {}
3281
- }, w = a === "date" ? E.date : E.time;
3265
+ parsedOptions: this.shouldParseSkeletons ? mn(C) : {}
3266
+ }, L = a === "date" ? _.date : _.time;
3282
3267
  return {
3283
- val: { type: w, value: n, location: v, style: c },
3268
+ val: { type: L, value: n, location: v, style: c },
3284
3269
  err: null
3285
3270
  };
3286
3271
  }
3287
3272
  }
3288
3273
  return {
3289
3274
  val: {
3290
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3275
+ type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3291
3276
  value: n,
3292
3277
  location: v,
3293
3278
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -3298,11 +3283,11 @@ var Dn = (
3298
3283
  case "plural":
3299
3284
  case "selectordinal":
3300
3285
  case "select": {
3301
- var S = this.clonePosition();
3286
+ var E = this.clonePosition();
3302
3287
  if (this.bumpSpace(), !this.bumpIf(","))
3303
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(S, g({}, S)));
3288
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(E, g({}, E)));
3304
3289
  this.bumpSpace();
3305
- var $ = this.parseIdentifierIfPossible(), P = 0;
3290
+ var $ = this.parseIdentifierIfPossible(), w = 0;
3306
3291
  if (a !== "select" && $.value === "offset") {
3307
3292
  if (!this.bumpIf(":"))
3308
3293
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
@@ -3310,29 +3295,29 @@ var Dn = (
3310
3295
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3311
3296
  if (f.err)
3312
3297
  return f;
3313
- this.bumpSpace(), $ = this.parseIdentifierIfPossible(), P = f.val;
3298
+ this.bumpSpace(), $ = this.parseIdentifierIfPossible(), w = f.val;
3314
3299
  }
3315
- var D = this.tryParsePluralOrSelectOptions(t, a, r, $);
3316
- if (D.err)
3317
- return D;
3318
- var y = this.tryParseArgumentClose(i);
3319
- if (y.err)
3320
- return y;
3300
+ var U = this.tryParsePluralOrSelectOptions(t, a, r, $);
3301
+ if (U.err)
3302
+ return U;
3303
+ var b = this.tryParseArgumentClose(i);
3304
+ if (b.err)
3305
+ return b;
3321
3306
  var ae = m(i, this.clonePosition());
3322
3307
  return a === "select" ? {
3323
3308
  val: {
3324
- type: E.select,
3309
+ type: _.select,
3325
3310
  value: n,
3326
- options: pt(D.val),
3311
+ options: lt(U.val),
3327
3312
  location: ae
3328
3313
  },
3329
3314
  err: null
3330
3315
  } : {
3331
3316
  val: {
3332
- type: E.plural,
3317
+ type: _.plural,
3333
3318
  value: n,
3334
- options: pt(D.val),
3335
- offset: P,
3319
+ options: lt(U.val),
3320
+ offset: w,
3336
3321
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3337
3322
  location: ae
3338
3323
  },
@@ -3382,16 +3367,16 @@ var Dn = (
3382
3367
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3383
3368
  var n = [];
3384
3369
  try {
3385
- n = vn(t);
3370
+ n = gn(t);
3386
3371
  } catch {
3387
3372
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3388
3373
  }
3389
3374
  return {
3390
3375
  val: {
3391
- type: W.number,
3376
+ type: X.number,
3392
3377
  tokens: n,
3393
3378
  location: r,
3394
- parsedOptions: this.shouldParseSkeletons ? Sn(n) : {}
3379
+ parsedOptions: this.shouldParseSkeletons ? xn(n) : {}
3395
3380
  },
3396
3381
  err: null
3397
3382
  };
@@ -3413,16 +3398,16 @@ var Dn = (
3413
3398
  var p = this.clonePosition();
3414
3399
  if (!this.bumpIf("{"))
3415
3400
  return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
3416
- var y = this.parseMessage(t + 1, r, n);
3417
- if (y.err)
3418
- return y;
3401
+ var b = this.parseMessage(t + 1, r, n);
3402
+ if (b.err)
3403
+ return b;
3419
3404
  var v = this.tryParseArgumentClose(p);
3420
3405
  if (v.err)
3421
3406
  return v;
3422
3407
  a.push([
3423
3408
  u,
3424
3409
  {
3425
- value: y.val,
3410
+ value: b.val,
3426
3411
  location: m(p, this.clonePosition())
3427
3412
  }
3428
3413
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
@@ -3439,7 +3424,7 @@ var Dn = (
3439
3424
  break;
3440
3425
  }
3441
3426
  var h = m(i, this.clonePosition());
3442
- return o ? (s *= n, Cn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3427
+ return o ? (s *= n, Nn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3443
3428
  }, e.prototype.offset = function() {
3444
3429
  return this.position.offset;
3445
3430
  }, e.prototype.isEOF = function() {
@@ -3454,7 +3439,7 @@ var Dn = (
3454
3439
  var t = this.position.offset;
3455
3440
  if (t >= this.message.length)
3456
3441
  throw Error("out of bound");
3457
- var r = Qt(this.message, t);
3442
+ var r = Xt(this.message, t);
3458
3443
  if (r === void 0)
3459
3444
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3460
3445
  return r;
@@ -3473,7 +3458,7 @@ var Dn = (
3473
3458
  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);
3474
3459
  }
3475
3460
  }, e.prototype.bumpIf = function(t) {
3476
- if (ft(this.message, t, this.offset())) {
3461
+ if (ht(this.message, t, this.offset())) {
3477
3462
  for (var r = 0; r < t.length; r++)
3478
3463
  this.bump();
3479
3464
  return !0;
@@ -3495,7 +3480,7 @@ var Dn = (
3495
3480
  break;
3496
3481
  }
3497
3482
  }, e.prototype.bumpSpace = function() {
3498
- for (; !this.isEOF() && Yt(this.char()); )
3483
+ for (; !this.isEOF() && zt(this.char()); )
3499
3484
  this.bump();
3500
3485
  }, e.prototype.peek = function() {
3501
3486
  if (this.isEOF())
@@ -3508,43 +3493,43 @@ var Dn = (
3508
3493
  function je(e) {
3509
3494
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3510
3495
  }
3511
- function Gn(e) {
3496
+ function Un(e) {
3512
3497
  return je(e) || e === 47;
3513
3498
  }
3514
- function Fn(e) {
3499
+ function Gn(e) {
3515
3500
  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;
3516
3501
  }
3517
- function Yt(e) {
3502
+ function zt(e) {
3518
3503
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3519
3504
  }
3520
- function jn(e) {
3505
+ function Dn(e) {
3521
3506
  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;
3522
3507
  }
3523
3508
  function ke(e) {
3524
3509
  e.forEach(function(t) {
3525
- if (delete t.location, Ft(t) || jt(t))
3510
+ if (delete t.location, Rt(t) || Ut(t))
3526
3511
  for (var r in t.options)
3527
3512
  delete t.options[r].location, ke(t.options[r].value);
3528
- else Ut(t) && Vt(t.style) || (Dt(t) || Gt(t)) && Ue(t.style) ? delete t.style.location : kt(t) && ke(t.children);
3513
+ else Mt(t) && Dt(t.style) || (Ct(t) || $t(t)) && Ue(t.style) ? delete t.style.location : Gt(t) && ke(t.children);
3529
3514
  });
3530
3515
  }
3531
- function kn(e, t) {
3516
+ function Fn(e, t) {
3532
3517
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3533
- var r = new Dn(e, t).parse();
3518
+ var r = new Rn(e, t).parse();
3534
3519
  if (r.err) {
3535
3520
  var n = SyntaxError(d[r.err.kind]);
3536
3521
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3537
3522
  }
3538
3523
  return t?.captureLocation || ke(r.val), r.val;
3539
3524
  }
3540
- var z;
3525
+ var W;
3541
3526
  (function(e) {
3542
3527
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3543
- })(z || (z = {}));
3528
+ })(W || (W = {}));
3544
3529
  var ve = (
3545
3530
  /** @class */
3546
3531
  function(e) {
3547
- N(t, e);
3532
+ I(t, e);
3548
3533
  function t(r, n, i) {
3549
3534
  var o = e.call(this, r) || this;
3550
3535
  return o.code = n, o.originalMessage = i, o;
@@ -3553,30 +3538,30 @@ var ve = (
3553
3538
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3554
3539
  }, t;
3555
3540
  }(Error)
3556
- ), mt = (
3541
+ ), ft = (
3557
3542
  /** @class */
3558
3543
  function(e) {
3559
- N(t, e);
3544
+ I(t, e);
3560
3545
  function t(r, n, i, o) {
3561
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3546
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
3562
3547
  }
3563
3548
  return t;
3564
3549
  }(ve)
3565
- ), Vn = (
3550
+ ), jn = (
3566
3551
  /** @class */
3567
3552
  function(e) {
3568
- N(t, e);
3553
+ I(t, e);
3569
3554
  function t(r, n, i) {
3570
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3555
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3571
3556
  }
3572
3557
  return t;
3573
3558
  }(ve)
3574
- ), Xn = (
3559
+ ), kn = (
3575
3560
  /** @class */
3576
3561
  function(e) {
3577
- N(t, e);
3562
+ I(t, e);
3578
3563
  function t(r, n) {
3579
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3564
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3580
3565
  }
3581
3566
  return t;
3582
3567
  }(ve)
@@ -3584,17 +3569,17 @@ var ve = (
3584
3569
  (function(e) {
3585
3570
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3586
3571
  })(x || (x = {}));
3587
- function Wn(e) {
3572
+ function Vn(e) {
3588
3573
  return e.length < 2 ? e : e.reduce(function(t, r) {
3589
3574
  var n = t[t.length - 1];
3590
3575
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3591
3576
  }, []);
3592
3577
  }
3593
- function zn(e) {
3578
+ function Xn(e) {
3594
3579
  return typeof e == "function";
3595
3580
  }
3596
3581
  function fe(e, t, r, n, i, o, s) {
3597
- if (e.length === 1 && ut(e[0]))
3582
+ if (e.length === 1 && ot(e[0]))
3598
3583
  return [
3599
3584
  {
3600
3585
  type: x.literal,
@@ -3603,14 +3588,14 @@ function fe(e, t, r, n, i, o, s) {
3603
3588
  ];
3604
3589
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3605
3590
  var l = u[h];
3606
- if (ut(l)) {
3591
+ if (ot(l)) {
3607
3592
  a.push({
3608
3593
  type: x.literal,
3609
3594
  value: l.value
3610
3595
  });
3611
3596
  continue;
3612
3597
  }
3613
- if (mn(l)) {
3598
+ if (pn(l)) {
3614
3599
  typeof o == "number" && a.push({
3615
3600
  type: x.literal,
3616
3601
  value: r.getNumberFormat(t).format(o)
@@ -3619,16 +3604,16 @@ function fe(e, t, r, n, i, o, s) {
3619
3604
  }
3620
3605
  var f = l.value;
3621
3606
  if (!(i && f in i))
3622
- throw new Xn(f, s);
3607
+ throw new kn(f, s);
3623
3608
  var c = i[f];
3624
- if (dn(l)) {
3609
+ if (fn(l)) {
3625
3610
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3626
3611
  type: typeof c == "string" ? x.literal : x.object,
3627
3612
  value: c
3628
3613
  });
3629
3614
  continue;
3630
3615
  }
3631
- if (Dt(l)) {
3616
+ if (Ct(l)) {
3632
3617
  var p = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
3633
3618
  a.push({
3634
3619
  type: x.literal,
@@ -3636,7 +3621,7 @@ function fe(e, t, r, n, i, o, s) {
3636
3621
  });
3637
3622
  continue;
3638
3623
  }
3639
- if (Gt(l)) {
3624
+ if ($t(l)) {
3640
3625
  var p = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
3641
3626
  a.push({
3642
3627
  type: x.literal,
@@ -3644,61 +3629,61 @@ function fe(e, t, r, n, i, o, s) {
3644
3629
  });
3645
3630
  continue;
3646
3631
  }
3647
- if (Ut(l)) {
3648
- var p = typeof l.style == "string" ? n.number[l.style] : Vt(l.style) ? l.style.parsedOptions : void 0;
3632
+ if (Mt(l)) {
3633
+ var p = typeof l.style == "string" ? n.number[l.style] : Dt(l.style) ? l.style.parsedOptions : void 0;
3649
3634
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3650
3635
  type: x.literal,
3651
3636
  value: r.getNumberFormat(t, p).format(c)
3652
3637
  });
3653
3638
  continue;
3654
3639
  }
3655
- if (kt(l)) {
3656
- var y = l.children, v = l.value, H = i[v];
3657
- if (!zn(H))
3658
- throw new Vn(v, "function", s);
3659
- var C = fe(y, t, r, n, i, o), w = H(C.map(function(P) {
3660
- return P.value;
3640
+ if (Gt(l)) {
3641
+ var b = l.children, v = l.value, H = i[v];
3642
+ if (!Xn(H))
3643
+ throw new jn(v, "function", s);
3644
+ var C = fe(b, t, r, n, i, o), L = H(C.map(function(w) {
3645
+ return w.value;
3661
3646
  }));
3662
- Array.isArray(w) || (w = [w]), a.push.apply(a, w.map(function(P) {
3647
+ Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(w) {
3663
3648
  return {
3664
- type: typeof P == "string" ? x.literal : x.object,
3665
- value: P
3649
+ type: typeof w == "string" ? x.literal : x.object,
3650
+ value: w
3666
3651
  };
3667
3652
  }));
3668
3653
  }
3669
- if (Ft(l)) {
3670
- var S = l.options[c] || l.options.other;
3671
- if (!S)
3672
- throw new mt(l.value, c, Object.keys(l.options), s);
3673
- a.push.apply(a, fe(S.value, t, r, n, i));
3654
+ if (Rt(l)) {
3655
+ var E = l.options[c] || l.options.other;
3656
+ if (!E)
3657
+ throw new ft(l.value, c, Object.keys(l.options), s);
3658
+ a.push.apply(a, fe(E.value, t, r, n, i));
3674
3659
  continue;
3675
3660
  }
3676
- if (jt(l)) {
3677
- var S = l.options["=".concat(c)];
3678
- if (!S) {
3661
+ if (Ut(l)) {
3662
+ var E = l.options["=".concat(c)];
3663
+ if (!E) {
3679
3664
  if (!Intl.PluralRules)
3680
3665
  throw new ve(`Intl.PluralRules is not available in this environment.
3681
3666
  Try polyfilling it using "@formatjs/intl-pluralrules"
3682
- `, z.MISSING_INTL_API, s);
3667
+ `, W.MISSING_INTL_API, s);
3683
3668
  var $ = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3684
- S = l.options[$] || l.options.other;
3669
+ E = l.options[$] || l.options.other;
3685
3670
  }
3686
- if (!S)
3687
- throw new mt(l.value, c, Object.keys(l.options), s);
3688
- a.push.apply(a, fe(S.value, t, r, n, i, c - (l.offset || 0)));
3671
+ if (!E)
3672
+ throw new ft(l.value, c, Object.keys(l.options), s);
3673
+ a.push.apply(a, fe(E.value, t, r, n, i, c - (l.offset || 0)));
3689
3674
  continue;
3690
3675
  }
3691
3676
  }
3692
- return Wn(a);
3677
+ return Vn(a);
3693
3678
  }
3694
- function Zn(e, t) {
3679
+ function Wn(e, t) {
3695
3680
  return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3696
3681
  return r[n] = g(g({}, e[n]), t[n] || {}), r;
3697
3682
  }, {})) : e;
3698
3683
  }
3699
- function Qn(e, t) {
3684
+ function zn(e, t) {
3700
3685
  return t ? Object.keys(e).reduce(function(r, n) {
3701
- return r[n] = Zn(e[n], t[n]), r;
3686
+ return r[n] = Wn(e[n], t[n]), r;
3702
3687
  }, g({}, e)) : e;
3703
3688
  }
3704
3689
  function we(e) {
@@ -3715,7 +3700,7 @@ function we(e) {
3715
3700
  }
3716
3701
  };
3717
3702
  }
3718
- function Jn(e) {
3703
+ function Zn(e) {
3719
3704
  return e === void 0 && (e = {
3720
3705
  number: {},
3721
3706
  dateTime: {},
@@ -3724,7 +3709,7 @@ function Jn(e) {
3724
3709
  getNumberFormat: He(function() {
3725
3710
  for (var t, r = [], n = 0; n < arguments.length; n++)
3726
3711
  r[n] = arguments[n];
3727
- return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3712
+ return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
3728
3713
  }, {
3729
3714
  cache: we(e.number),
3730
3715
  strategy: Be.variadic
@@ -3732,7 +3717,7 @@ function Jn(e) {
3732
3717
  getDateTimeFormat: He(function() {
3733
3718
  for (var t, r = [], n = 0; n < arguments.length; n++)
3734
3719
  r[n] = arguments[n];
3735
- return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3720
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
3736
3721
  }, {
3737
3722
  cache: we(e.dateTime),
3738
3723
  strategy: Be.variadic
@@ -3740,14 +3725,14 @@ function Jn(e) {
3740
3725
  getPluralRules: He(function() {
3741
3726
  for (var t, r = [], n = 0; n < arguments.length; n++)
3742
3727
  r[n] = arguments[n];
3743
- return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3728
+ return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
3744
3729
  }, {
3745
3730
  cache: we(e.pluralRules),
3746
3731
  strategy: Be.variadic
3747
3732
  })
3748
3733
  };
3749
3734
  }
3750
- var Yn = (
3735
+ var Qn = (
3751
3736
  /** @class */
3752
3737
  function() {
3753
3738
  function e(t, r, n, i) {
@@ -3779,13 +3764,13 @@ var Yn = (
3779
3764
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3780
3765
  var s = i || {};
3781
3766
  s.formatters;
3782
- var a = Pr(s, ["formatters"]);
3767
+ var a = Br(s, ["formatters"]);
3783
3768
  this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3784
3769
  } else
3785
3770
  this.ast = t;
3786
3771
  if (!Array.isArray(this.ast))
3787
3772
  throw new TypeError("A message must be provided as a String or AST.");
3788
- this.formats = Qn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
3773
+ this.formats = zn(e.formats, n), this.formatters = i && i.formatters || Zn(this.formatterCache);
3789
3774
  }
3790
3775
  return Object.defineProperty(e, "defaultLocale", {
3791
3776
  get: function() {
@@ -3798,7 +3783,7 @@ var Yn = (
3798
3783
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3799
3784
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3800
3785
  }
3801
- }, e.__parse = kn, e.formats = {
3786
+ }, e.__parse = Fn, e.formats = {
3802
3787
  number: {
3803
3788
  integer: {
3804
3789
  maximumFractionDigits: 0
@@ -3859,7 +3844,7 @@ var Yn = (
3859
3844
  }, e;
3860
3845
  }()
3861
3846
  );
3862
- function qn(e, t) {
3847
+ function Jn(e, t) {
3863
3848
  if (t == null)
3864
3849
  return;
3865
3850
  if (t in e)
@@ -3880,92 +3865,92 @@ function qn(e, t) {
3880
3865
  n = void 0;
3881
3866
  return n;
3882
3867
  }
3883
- const M = {}, Kn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), qt = (e, t) => {
3868
+ const M = {}, Yn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Zt = (e, t) => {
3884
3869
  if (t == null)
3885
3870
  return;
3886
3871
  if (t in M && e in M[t])
3887
3872
  return M[t][e];
3888
- const r = Ee(t);
3873
+ const r = _e(t);
3889
3874
  for (let n = 0; n < r.length; n++) {
3890
- const i = r[n], o = ti(i, e);
3875
+ const i = r[n], o = Kn(i, e);
3891
3876
  if (o)
3892
- return Kn(e, t, o);
3877
+ return Yn(e, t, o);
3893
3878
  }
3894
3879
  };
3895
- let Je;
3880
+ let ze;
3896
3881
  const se = ye({});
3897
- function ei(e) {
3898
- return Je[e] || null;
3882
+ function qn(e) {
3883
+ return ze[e] || null;
3899
3884
  }
3900
- function Kt(e) {
3901
- return e in Je;
3885
+ function Qt(e) {
3886
+ return e in ze;
3902
3887
  }
3903
- function ti(e, t) {
3904
- if (!Kt(e))
3888
+ function Kn(e, t) {
3889
+ if (!Qt(e))
3905
3890
  return null;
3906
- const r = ei(e);
3907
- return qn(r, t);
3891
+ const r = qn(e);
3892
+ return Jn(r, t);
3908
3893
  }
3909
- function ri(e) {
3894
+ function ei(e) {
3910
3895
  if (e == null)
3911
3896
  return;
3912
- const t = Ee(e);
3897
+ const t = _e(e);
3913
3898
  for (let r = 0; r < t.length; r++) {
3914
3899
  const n = t[r];
3915
- if (Kt(n))
3900
+ if (Qt(n))
3916
3901
  return n;
3917
3902
  }
3918
3903
  }
3919
- function er(e, ...t) {
3920
- delete M[e], se.update((r) => (r[e] = an.all([r[e] || {}, ...t]), r));
3904
+ function Jt(e, ...t) {
3905
+ delete M[e], se.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
3921
3906
  }
3922
- J(
3907
+ Q(
3923
3908
  [se],
3924
3909
  ([e]) => Object.keys(e)
3925
3910
  );
3926
- se.subscribe((e) => Je = e);
3911
+ se.subscribe((e) => ze = e);
3927
3912
  const pe = {};
3928
- function ni(e, t) {
3913
+ function ti(e, t) {
3929
3914
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3930
3915
  }
3931
- function tr(e) {
3916
+ function Yt(e) {
3932
3917
  return pe[e];
3933
3918
  }
3934
- function ii(e) {
3935
- return Ee(e).map((t) => {
3936
- const r = tr(t);
3919
+ function ri(e) {
3920
+ return _e(e).map((t) => {
3921
+ const r = Yt(t);
3937
3922
  return [t, r ? [...r] : []];
3938
3923
  }).filter(([, t]) => t.length > 0);
3939
3924
  }
3940
3925
  function Ve(e) {
3941
- return e == null ? !1 : Ee(e).some(
3926
+ return e == null ? !1 : _e(e).some(
3942
3927
  (t) => {
3943
3928
  var r;
3944
- return (r = tr(t)) == null ? void 0 : r.size;
3929
+ return (r = Yt(t)) == null ? void 0 : r.size;
3945
3930
  }
3946
3931
  );
3947
3932
  }
3948
- function oi(e, t) {
3933
+ function ni(e, t) {
3949
3934
  return Promise.all(
3950
- t.map((n) => (ni(e, n), n().then((i) => i.default || i)))
3951
- ).then((n) => er(e, ...n));
3935
+ t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
3936
+ ).then((n) => Jt(e, ...n));
3952
3937
  }
3953
- const ee = {};
3954
- function rr(e) {
3938
+ const K = {};
3939
+ function qt(e) {
3955
3940
  if (!Ve(e))
3956
- return e in ee ? ee[e] : Promise.resolve();
3957
- const t = ii(e);
3958
- return ee[e] = Promise.all(
3941
+ return e in K ? K[e] : Promise.resolve();
3942
+ const t = ri(e);
3943
+ return K[e] = Promise.all(
3959
3944
  t.map(
3960
- ([r, n]) => oi(r, n)
3945
+ ([r, n]) => ni(r, n)
3961
3946
  )
3962
3947
  ).then(() => {
3963
3948
  if (Ve(e))
3964
- return rr(e);
3965
- delete ee[e];
3966
- }), ee[e];
3949
+ return qt(e);
3950
+ delete K[e];
3951
+ }), K[e];
3967
3952
  }
3968
- const si = {
3953
+ const ii = {
3969
3954
  number: {
3970
3955
  scientific: { notation: "scientific" },
3971
3956
  engineering: { notation: "engineering" },
@@ -3994,57 +3979,57 @@ const si = {
3994
3979
  timeZoneName: "short"
3995
3980
  }
3996
3981
  }
3997
- }, ai = {
3982
+ }, oi = {
3998
3983
  fallbackLocale: null,
3999
3984
  loadingDelay: 200,
4000
- formats: si,
3985
+ formats: ii,
4001
3986
  warnOnMissingMessages: !0,
4002
3987
  handleMissingMessage: void 0,
4003
3988
  ignoreTag: !0
4004
- }, ui = ai;
4005
- function Z() {
4006
- return ui;
3989
+ }, si = oi;
3990
+ function z() {
3991
+ return si;
4007
3992
  }
4008
3993
  const Pe = ye(!1);
4009
- var hi = Object.defineProperty, li = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, fi = Object.prototype.hasOwnProperty, pi = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, di = (e, t) => {
3994
+ var ai = Object.defineProperty, ui = Object.defineProperties, hi = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, fi = (e, t) => {
4010
3995
  for (var r in t || (t = {}))
4011
- fi.call(t, r) && gt(e, r, t[r]);
4012
- if (bt)
4013
- for (var r of bt(t))
4014
- pi.call(t, r) && gt(e, r, t[r]);
3996
+ li.call(t, r) && dt(e, r, t[r]);
3997
+ if (pt)
3998
+ for (var r of pt(t))
3999
+ ci.call(t, r) && dt(e, r, t[r]);
4015
4000
  return e;
4016
- }, mi = (e, t) => li(e, ci(t));
4001
+ }, pi = (e, t) => ui(e, hi(t));
4017
4002
  let Xe;
4018
4003
  const de = ye(null);
4019
- function yt(e) {
4004
+ function mt(e) {
4020
4005
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4021
4006
  }
4022
- function Ee(e, t = Z().fallbackLocale) {
4023
- const r = yt(e);
4024
- return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
4007
+ function _e(e, t = z().fallbackLocale) {
4008
+ const r = mt(e);
4009
+ return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
4025
4010
  }
4026
- function U() {
4011
+ function R() {
4027
4012
  return Xe ?? void 0;
4028
4013
  }
4029
4014
  de.subscribe((e) => {
4030
4015
  Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4031
4016
  });
4032
- const bi = (e) => {
4033
- if (e && ri(e) && Ve(e)) {
4034
- const { loadingDelay: t } = Z();
4017
+ const di = (e) => {
4018
+ if (e && ei(e) && Ve(e)) {
4019
+ const { loadingDelay: t } = z();
4035
4020
  let r;
4036
- return typeof window < "u" && U() != null && t ? r = window.setTimeout(
4021
+ return typeof window < "u" && R() != null && t ? r = window.setTimeout(
4037
4022
  () => Pe.set(!0),
4038
4023
  t
4039
- ) : Pe.set(!0), rr(e).then(() => {
4024
+ ) : Pe.set(!0), qt(e).then(() => {
4040
4025
  de.set(e);
4041
4026
  }).finally(() => {
4042
4027
  clearTimeout(r), Pe.set(!1);
4043
4028
  });
4044
4029
  }
4045
4030
  return de.set(e);
4046
- }, Y = mi(di({}, de), {
4047
- set: bi
4031
+ }, J = pi(fi({}, de), {
4032
+ set: di
4048
4033
  }), xe = (e) => {
4049
4034
  const t = /* @__PURE__ */ Object.create(null);
4050
4035
  return (n) => {
@@ -4052,92 +4037,92 @@ const bi = (e) => {
4052
4037
  return i in t ? t[i] : t[i] = e(n);
4053
4038
  };
4054
4039
  };
4055
- var gi = Object.defineProperty, me = Object.getOwnPropertySymbols, nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4040
+ var mi = Object.defineProperty, me = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
4056
4041
  for (var r in t || (t = {}))
4057
- nr.call(t, r) && vt(e, r, t[r]);
4042
+ Kt.call(t, r) && bt(e, r, t[r]);
4058
4043
  if (me)
4059
4044
  for (var r of me(t))
4060
- ir.call(t, r) && vt(e, r, t[r]);
4045
+ er.call(t, r) && bt(e, r, t[r]);
4061
4046
  return e;
4062
- }, q = (e, t) => {
4047
+ }, Y = (e, t) => {
4063
4048
  var r = {};
4064
4049
  for (var n in e)
4065
- nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4050
+ Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4066
4051
  if (e != null && me)
4067
4052
  for (var n of me(e))
4068
- t.indexOf(n) < 0 && ir.call(e, n) && (r[n] = e[n]);
4053
+ t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
4069
4054
  return r;
4070
4055
  };
4071
4056
  const ne = (e, t) => {
4072
- const { formats: r } = Z();
4057
+ const { formats: r } = z();
4073
4058
  if (e in r && t in r[e])
4074
4059
  return r[e][t];
4075
4060
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4076
- }, yi = xe(
4061
+ }, bi = xe(
4077
4062
  (e) => {
4078
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4063
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4079
4064
  if (r == null)
4080
4065
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4081
4066
  return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4082
4067
  }
4083
- ), vi = xe(
4068
+ ), gi = xe(
4084
4069
  (e) => {
4085
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4070
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4086
4071
  if (r == null)
4087
4072
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4088
4073
  return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4089
4074
  }
4090
- ), Ei = xe(
4075
+ ), yi = xe(
4091
4076
  (e) => {
4092
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4077
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4093
4078
  if (r == null)
4094
4079
  throw new Error(
4095
4080
  '[svelte-i18n] A "locale" must be set to format time values'
4096
4081
  );
4097
4082
  return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4098
4083
  }
4099
- ), xi = (e = {}) => {
4084
+ ), vi = (e = {}) => {
4100
4085
  var t = e, {
4101
- locale: r = U()
4102
- } = t, n = q(t, [
4086
+ locale: r = R()
4087
+ } = t, n = Y(t, [
4103
4088
  "locale"
4104
4089
  ]);
4105
- return yi(Ye({ locale: r }, n));
4090
+ return bi(Ze({ locale: r }, n));
4106
4091
  }, _i = (e = {}) => {
4107
4092
  var t = e, {
4108
- locale: r = U()
4109
- } = t, n = q(t, [
4093
+ locale: r = R()
4094
+ } = t, n = Y(t, [
4110
4095
  "locale"
4111
4096
  ]);
4112
- return vi(Ye({ locale: r }, n));
4113
- }, Si = (e = {}) => {
4097
+ return gi(Ze({ locale: r }, n));
4098
+ }, xi = (e = {}) => {
4114
4099
  var t = e, {
4115
- locale: r = U()
4116
- } = t, n = q(t, [
4100
+ locale: r = R()
4101
+ } = t, n = Y(t, [
4117
4102
  "locale"
4118
4103
  ]);
4119
- return Ei(Ye({ locale: r }, n));
4120
- }, Ti = xe(
4104
+ return yi(Ze({ locale: r }, n));
4105
+ }, Ei = xe(
4121
4106
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4122
- (e, t = U()) => new Yn(e, t, Z().formats, {
4123
- ignoreTag: Z().ignoreTag
4107
+ (e, t = R()) => new Qn(e, t, z().formats, {
4108
+ ignoreTag: z().ignoreTag
4124
4109
  })
4125
- ), Hi = (e, t = {}) => {
4110
+ ), Si = (e, t = {}) => {
4126
4111
  var r, n, i, o;
4127
4112
  let s = t;
4128
4113
  typeof e == "object" && (s = e, e = s.id);
4129
4114
  const {
4130
4115
  values: a,
4131
- locale: h = U(),
4116
+ locale: h = R(),
4132
4117
  default: u
4133
4118
  } = s;
4134
4119
  if (h == null)
4135
4120
  throw new Error(
4136
4121
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4137
4122
  );
4138
- let l = qt(e, h);
4123
+ let l = Zt(e, h);
4139
4124
  if (!l)
4140
- 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;
4125
+ 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;
4141
4126
  else if (typeof l != "string")
4142
4127
  return console.warn(
4143
4128
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4146,7 +4131,7 @@ const ne = (e, t) => {
4146
4131
  return l;
4147
4132
  let f = l;
4148
4133
  try {
4149
- f = Ti(l, h).format(a);
4134
+ f = Ei(l, h).format(a);
4150
4135
  } catch (c) {
4151
4136
  c instanceof Error && console.warn(
4152
4137
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4154,20 +4139,20 @@ const ne = (e, t) => {
4154
4139
  );
4155
4140
  }
4156
4141
  return f;
4157
- }, Bi = (e, t) => Si(t).format(e), Ai = (e, t) => _i(t).format(e), wi = (e, t) => xi(t).format(e), Pi = (e, t = U()) => qt(e, t), Oi = J([Y, se], () => Hi);
4158
- J([Y], () => Bi);
4159
- J([Y], () => Ai);
4160
- J([Y], () => wi);
4161
- J([Y, se], () => Pi);
4162
- window.emWidgets = { topic: kr };
4163
- const Ii = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4164
- function Et(e, t) {
4165
- er(e, t);
4166
- }
4167
- function Li(e) {
4168
- Y.set(e);
4169
- }
4170
- const xt = {
4142
+ }, Ti = (e, t) => xi(t).format(e), Hi = (e, t) => _i(t).format(e), Bi = (e, t) => vi(t).format(e), Ai = (e, t = R()) => Zt(e, t), wi = Q([J, se], () => Si);
4143
+ Q([J], () => Ti);
4144
+ Q([J], () => Hi);
4145
+ Q([J], () => Bi);
4146
+ Q([J, se], () => Ai);
4147
+ window.emWidgets = { topic: Dr };
4148
+ const Pi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4149
+ function gt(e, t) {
4150
+ Jt(e, t);
4151
+ }
4152
+ function Oi(e) {
4153
+ J.set(e);
4154
+ }
4155
+ const yt = {
4171
4156
  en: {
4172
4157
  logoutButton: "Logout"
4173
4158
  },
@@ -4202,42 +4187,51 @@ const xt = {
4202
4187
  logoutButton: "Logout"
4203
4188
  }
4204
4189
  };
4205
- function Ni(e) {
4206
- hr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4190
+ function Ii(e, t) {
4191
+ const r = new URL(t);
4192
+ fetch(r.href).then((n) => n.text()).then((n) => {
4193
+ const i = document.createElement("style");
4194
+ i.innerHTML = n;
4195
+ }).catch((n) => {
4196
+ console.error("There was an error while trying to load client styling from URL", n);
4197
+ });
4207
4198
  }
4208
- function Mi(e) {
4199
+ function Li(e) {
4200
+ ir(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))}");
4201
+ }
4202
+ function Ni(e) {
4209
4203
  let t, r, n, i = (
4210
4204
  /*$_*/
4211
4205
  e[2]("logoutButton") + ""
4212
4206
  ), o, s, a;
4213
4207
  return {
4214
4208
  c() {
4215
- t = I("div"), r = I("button"), n = I("span"), o = be(i), T(t, "class", "GeneralLogout");
4209
+ t = P("div"), r = P("button"), n = P("span"), o = be(i), T(t, "class", "GeneralLogout");
4216
4210
  },
4217
4211
  m(h, u) {
4218
- oe(h, t, u), _(t, r), _(r, n), _(n, o), s || (a = Ht(
4212
+ oe(h, t, u), S(t, r), S(r, n), S(n, o), s || (a = Et(
4219
4213
  r,
4220
4214
  "click",
4221
4215
  /*click_handler_1*/
4222
- e[13]
4216
+ e[14]
4223
4217
  ), s = !0);
4224
4218
  },
4225
4219
  p(h, u) {
4226
4220
  u & /*$_*/
4227
4221
  4 && i !== (i = /*$_*/
4228
- h[2]("logoutButton") + "") && Bt(o, i);
4222
+ h[2]("logoutButton") + "") && St(o, i);
4229
4223
  },
4230
4224
  d(h) {
4231
- h && Q(t), s = !1, a();
4225
+ h && Z(t), s = !1, a();
4232
4226
  }
4233
4227
  };
4234
4228
  }
4235
- function Ci(e) {
4229
+ function Mi(e) {
4236
4230
  let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
4237
- e[3] && $i(e);
4231
+ e[3] && Ci(e);
4238
4232
  return {
4239
4233
  c() {
4240
- t = I("p"), r = I("span"), n = K("svg"), i = K("defs"), o = K("style"), s = be(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = fr(), c && c.c(), T(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), T(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), T(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), T(n, "data-name", "Layer 1"), T(n, "xmlns", "http://www.w3.org/2000/svg"), T(n, "viewBox", "0 0 150 150"), dr(r, "width", /*isMobile*/
4234
+ t = P("p"), r = P("span"), n = q("svg"), i = q("defs"), o = q("style"), s = be(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = q("path"), h = q("path"), u = ar(), c && c.c(), T(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), T(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), T(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), T(n, "data-name", "Layer 1"), T(n, "xmlns", "http://www.w3.org/2000/svg"), T(n, "viewBox", "0 0 150 150"), hr(r, "width", /*isMobile*/
4241
4235
  e[3] ? (
4242
4236
  /*mediaQuery*/
4243
4237
  e[4].matches ? "50px" : "24px"
@@ -4246,210 +4240,204 @@ function Ci(e) {
4246
4240
  (e[4].matches && /*isMobile*/
4247
4241
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4248
4242
  },
4249
- m(p, y) {
4250
- oe(p, t, y), _(t, r), _(r, n), _(n, i), _(i, o), _(o, s), _(n, a), _(n, h), _(t, u), c && c.m(t, null), l || (f = Ht(
4243
+ m(p, b) {
4244
+ oe(p, t, b), S(t, r), S(r, n), S(n, i), S(i, o), S(o, s), S(n, a), S(n, h), S(t, u), c && c.m(t, null), l || (f = Et(
4251
4245
  t,
4252
4246
  "click",
4253
4247
  /*click_handler*/
4254
- e[12]
4248
+ e[13]
4255
4249
  ), l = !0);
4256
4250
  },
4257
- p(p, y) {
4251
+ p(p, b) {
4258
4252
  /*isMobile*/
4259
- p[3] || c.p(p, y);
4253
+ p[3] || c.p(p, b);
4260
4254
  },
4261
4255
  d(p) {
4262
- p && Q(t), c && c.d(), l = !1, f();
4256
+ p && Z(t), c && c.d(), l = !1, f();
4263
4257
  }
4264
4258
  };
4265
4259
  }
4266
- function $i(e) {
4260
+ function Ci(e) {
4267
4261
  let t, r = (
4268
4262
  /*$_*/
4269
4263
  e[2]("logoutButton") + ""
4270
4264
  ), n;
4271
4265
  return {
4272
4266
  c() {
4273
- t = I("span"), n = be(r), T(t, "class", "PlayerLogoutText");
4267
+ t = P("span"), n = be(r), T(t, "class", "PlayerLogoutText");
4274
4268
  },
4275
4269
  m(i, o) {
4276
- oe(i, t, o), _(t, n);
4270
+ oe(i, t, o), S(t, n);
4277
4271
  },
4278
4272
  p(i, o) {
4279
4273
  o & /*$_*/
4280
4274
  4 && r !== (r = /*$_*/
4281
- i[2]("logoutButton") + "") && Bt(n, r);
4275
+ i[2]("logoutButton") + "") && St(n, r);
4282
4276
  },
4283
4277
  d(i) {
4284
- i && Q(t);
4278
+ i && Z(t);
4285
4279
  }
4286
4280
  };
4287
4281
  }
4288
- function Ri(e) {
4282
+ function $i(e) {
4289
4283
  let t;
4290
4284
  function r(o, s) {
4291
4285
  return (
4292
4286
  /*buttonlocation*/
4293
- o[0] === "PlayerAccountMenu" ? Ci : Mi
4287
+ o[0] === "PlayerAccountMenu" ? Mi : Ni
4294
4288
  );
4295
4289
  }
4296
4290
  let n = r(e), i = n(e);
4297
4291
  return {
4298
4292
  c() {
4299
- t = I("div"), i.c();
4293
+ t = P("div"), i.c();
4300
4294
  },
4301
4295
  m(o, s) {
4302
- oe(o, t, s), i.m(t, null), e[14](t);
4296
+ oe(o, t, s), i.m(t, null), e[15](t);
4303
4297
  },
4304
4298
  p(o, [s]) {
4305
4299
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4306
4300
  },
4307
- i: A,
4308
- o: A,
4301
+ i: B,
4302
+ o: B,
4309
4303
  d(o) {
4310
- o && Q(t), i.d(), e[14](null);
4304
+ o && Z(t), i.d(), e[15](null);
4311
4305
  }
4312
4306
  };
4313
4307
  }
4314
- function Ui(e, t, r) {
4308
+ function Ri(e, t, r) {
4315
4309
  let n;
4316
- ur(e, Oi, (b) => r(2, n = b));
4317
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t, f = "", c = !1, p, y = window.navigator.userAgent, v = Ii(y) !== "PC";
4318
- const H = window.matchMedia("(min-width: 768px)"), C = () => {
4319
- fetch(l).then((B) => B.json()).then((B) => {
4320
- Object.keys(B).forEach((R) => {
4321
- Et(R, B[R]);
4310
+ nr(e, wi, (y) => r(2, n = y));
4311
+ 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, b, v = window.navigator.userAgent, H = Pi(v) !== "PC";
4312
+ const C = window.matchMedia("(min-width: 768px)"), L = () => {
4313
+ fetch(f).then((N) => N.json()).then((N) => {
4314
+ Object.keys(N).forEach((Ee) => {
4315
+ gt(Ee, N[Ee]);
4322
4316
  });
4323
- }).catch((B) => {
4324
- console.log(B);
4317
+ }).catch((N) => {
4318
+ console.log(N);
4325
4319
  });
4326
4320
  };
4327
- Object.keys(xt).forEach((b) => {
4328
- Et(b, xt[b]);
4321
+ Object.keys(yt).forEach((y) => {
4322
+ gt(y, yt[y]);
4329
4323
  });
4330
- const w = () => {
4331
- let b = new Headers();
4332
- b.append("Content-type", "application/json"), b.append("X-SessionID", o);
4333
- let B = { method: "DELETE", headers: b };
4334
- fetch(`${i}/v1/player/session/player`, B).then((R) => {
4324
+ const E = () => {
4325
+ let y = new Headers();
4326
+ y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4327
+ let N = { method: "DELETE", headers: y };
4328
+ fetch(`${i}/v1/player/session/player`, N).then((Ee) => {
4335
4329
  window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
4336
4330
  });
4337
- }, S = () => (i || (f = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", c = !0, console.error(f)), o || (f = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", c = !0, console.error(f)), c), $ = () => {
4338
- Li(a);
4339
- }, P = () => {
4340
- let b = document.createElement("style");
4341
- b.innerHTML = h, p.appendChild(b);
4342
- }, D = () => {
4343
- let b = new URL(u), B = document.createElement("style");
4344
- fetch(b.href).then((R) => R.text()).then((R) => {
4345
- B.innerHTML = R, setTimeout(
4346
- () => {
4347
- p.appendChild(B);
4348
- },
4349
- 1
4350
- ), setTimeout(
4351
- () => {
4352
- },
4353
- 500
4354
- );
4355
- });
4356
- }, ae = () => w(), or = () => w();
4357
- function sr(b) {
4358
- Oe[b ? "unshift" : "push"](() => {
4359
- p = b, r(1, p);
4331
+ }, $ = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(c)), p), w = () => {
4332
+ Oi(a);
4333
+ };
4334
+ fr(() => () => {
4335
+ });
4336
+ const U = () => E(), ae = () => E();
4337
+ function tr(y) {
4338
+ Oe[y ? "unshift" : "push"](() => {
4339
+ b = y, r(1, b);
4360
4340
  });
4361
4341
  }
4362
- return e.$$set = (b) => {
4363
- "endpoint" in b && r(6, i = b.endpoint), "session" in b && r(7, o = b.session), "buttonlocation" in b && r(0, s = b.buttonlocation), "lang" in b && r(8, a = b.lang), "clientstyling" in b && r(9, h = b.clientstyling), "clientstylingurl" in b && r(10, u = b.clientstylingurl), "translationurl" in b && r(11, l = b.translationurl);
4342
+ return e.$$set = (y) => {
4343
+ "endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, s = y.buttonlocation), "lang" in y && r(8, a = y.lang), "mbsource" in y && r(9, h = y.mbsource), "clientstyling" in y && r(10, u = y.clientstyling), "clientstylingurl" in y && r(11, l = y.clientstylingurl), "translationurl" in y && r(12, f = y.translationurl);
4364
4344
  }, e.$$.update = () => {
4365
4345
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4366
- 193 && i && o && s && S(), e.$$.dirty & /*lang*/
4367
- 256 && a && $(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4368
- 514 && h && p && P(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4369
- 1026 && u && p && D(), e.$$.dirty & /*translationurl*/
4370
- 2048 && l && C();
4346
+ 193 && i && o && s && $(), e.$$.dirty & /*lang*/
4347
+ 256 && a && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4348
+ 1026, e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4349
+ 2050 && l && b && Ii(), e.$$.dirty & /*translationurl*/
4350
+ 4096 && f && L();
4371
4351
  }, [
4372
4352
  s,
4373
- p,
4353
+ b,
4374
4354
  n,
4375
- v,
4376
4355
  H,
4377
- w,
4356
+ C,
4357
+ E,
4378
4358
  i,
4379
4359
  o,
4380
4360
  a,
4381
4361
  h,
4382
4362
  u,
4383
4363
  l,
4364
+ f,
4365
+ U,
4384
4366
  ae,
4385
- or,
4386
- sr
4367
+ tr
4387
4368
  ];
4388
4369
  }
4389
- class Di extends Ar {
4370
+ class Ui extends Tr {
4390
4371
  constructor(t) {
4391
- super(), Hr(
4372
+ super(), Er(
4392
4373
  this,
4393
4374
  t,
4394
- Ui,
4395
4375
  Ri,
4396
- St,
4376
+ $i,
4377
+ _t,
4397
4378
  {
4398
4379
  endpoint: 6,
4399
4380
  session: 7,
4400
4381
  buttonlocation: 0,
4401
4382
  lang: 8,
4402
- clientstyling: 9,
4403
- clientstylingurl: 10,
4404
- translationurl: 11
4383
+ mbsource: 9,
4384
+ clientstyling: 10,
4385
+ clientstylingurl: 11,
4386
+ translationurl: 12
4405
4387
  },
4406
- Ni
4388
+ Li
4407
4389
  );
4408
4390
  }
4409
4391
  get endpoint() {
4410
4392
  return this.$$.ctx[6];
4411
4393
  }
4412
4394
  set endpoint(t) {
4413
- this.$$set({ endpoint: t }), O();
4395
+ this.$$set({ endpoint: t }), A();
4414
4396
  }
4415
4397
  get session() {
4416
4398
  return this.$$.ctx[7];
4417
4399
  }
4418
4400
  set session(t) {
4419
- this.$$set({ session: t }), O();
4401
+ this.$$set({ session: t }), A();
4420
4402
  }
4421
4403
  get buttonlocation() {
4422
4404
  return this.$$.ctx[0];
4423
4405
  }
4424
4406
  set buttonlocation(t) {
4425
- this.$$set({ buttonlocation: t }), O();
4407
+ this.$$set({ buttonlocation: t }), A();
4426
4408
  }
4427
4409
  get lang() {
4428
4410
  return this.$$.ctx[8];
4429
4411
  }
4430
4412
  set lang(t) {
4431
- this.$$set({ lang: t }), O();
4413
+ this.$$set({ lang: t }), A();
4432
4414
  }
4433
- get clientstyling() {
4415
+ get mbsource() {
4434
4416
  return this.$$.ctx[9];
4435
4417
  }
4418
+ set mbsource(t) {
4419
+ this.$$set({ mbsource: t }), A();
4420
+ }
4421
+ get clientstyling() {
4422
+ return this.$$.ctx[10];
4423
+ }
4436
4424
  set clientstyling(t) {
4437
- this.$$set({ clientstyling: t }), O();
4425
+ this.$$set({ clientstyling: t }), A();
4438
4426
  }
4439
4427
  get clientstylingurl() {
4440
- return this.$$.ctx[10];
4428
+ return this.$$.ctx[11];
4441
4429
  }
4442
4430
  set clientstylingurl(t) {
4443
- this.$$set({ clientstylingurl: t }), O();
4431
+ this.$$set({ clientstylingurl: t }), A();
4444
4432
  }
4445
4433
  get translationurl() {
4446
- return this.$$.ctx[11];
4434
+ return this.$$.ctx[12];
4447
4435
  }
4448
4436
  set translationurl(t) {
4449
- this.$$set({ translationurl: t }), O();
4437
+ this.$$set({ translationurl: t }), A();
4450
4438
  }
4451
4439
  }
4452
- Br(Di, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4440
+ Sr(Ui, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4453
4441
  export {
4454
- Di as G
4442
+ Ui as G
4455
4443
  };