@everymatrix/general-logout 1.54.11 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var hr = Object.defineProperty, lr = Object.defineProperties;
2
- var cr = Object.getOwnPropertyDescriptors;
3
- var Ye = Object.getOwnPropertySymbols;
4
- var fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
5
- var Se = (e, t, r) => t in e ? hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
1
+ var pr = Object.defineProperty, dr = Object.defineProperties;
2
+ var mr = Object.getOwnPropertyDescriptors;
3
+ var et = Object.getOwnPropertySymbols;
4
+ var br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable;
5
+ var Se = (e, t, r) => t in e ? pr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- fr.call(t, r) && Se(e, r, t[r]);
8
- if (Ye)
9
- for (var r of Ye(t))
10
- pr.call(t, r) && Se(e, r, t[r]);
7
+ br.call(t, r) && Se(e, r, t[r]);
8
+ if (et)
9
+ for (var r of et(t))
10
+ gr.call(t, r) && Se(e, r, t[r]);
11
11
  return e;
12
- }, Ke = (e, t) => lr(e, cr(t));
12
+ }, rt = (e, t) => dr(e, mr(t));
13
13
  var T = (e, t, r) => Se(e, typeof t != "symbol" ? t + "" : t, r);
14
- var et = (e, t, r) => new Promise((n, i) => {
14
+ var nt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,25 +29,25 @@ var et = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function w() {
31
31
  }
32
- function Ht(e) {
32
+ function wt(e) {
33
33
  return e();
34
34
  }
35
- function tt() {
35
+ function it() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function oe(e) {
39
- e.forEach(Ht);
39
+ e.forEach(wt);
40
40
  }
41
- function ze(e) {
41
+ function Ze(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Bt(e, t) {
44
+ function Pt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function dr(e) {
47
+ function yr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function At(e, ...t) {
50
+ function Ot(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function At(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function mr(e, t, r) {
60
- e.$$.on_destroy.push(At(t, r));
59
+ function vr(e, t, r) {
60
+ e.$$.on_destroy.push(Ot(t, r));
61
61
  }
62
- function E(e, t) {
62
+ function _(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function br(e, t, r) {
66
- const n = gr(e);
65
+ function Er(e, t, r) {
66
+ const n = xr(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = L("style");
69
- i.id = t, i.textContent = r, yr(n, i);
69
+ i.id = t, i.textContent = r, _r(n, i);
70
70
  }
71
71
  }
72
- function gr(e) {
72
+ function xr(e) {
73
73
  if (!e) return document;
74
74
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
75
75
  return t && /** @type {ShadowRoot} */
@@ -78,8 +78,8 @@ function gr(e) {
78
78
  t
79
79
  ) : e.ownerDocument;
80
80
  }
81
- function yr(e, t) {
82
- return E(
81
+ function _r(e, t) {
82
+ return _(
83
83
  /** @type {Document} */
84
84
  e.head || e,
85
85
  t
@@ -100,26 +100,26 @@ function ee(e) {
100
100
  function ge(e) {
101
101
  return document.createTextNode(e);
102
102
  }
103
- function vr() {
103
+ function Sr() {
104
104
  return ge(" ");
105
105
  }
106
- function wt(e, t, r, n) {
106
+ function It(e, t, r, n) {
107
107
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
108
108
  }
109
109
  function H(e, t, r) {
110
110
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
111
111
  }
112
- function xr(e) {
112
+ function Tr(e) {
113
113
  return Array.from(e.childNodes);
114
114
  }
115
- function Pt(e, t) {
115
+ function Lt(e, t) {
116
116
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
117
117
  t);
118
118
  }
119
- function _r(e, t, r, n) {
119
+ function Hr(e, t, r, n) {
120
120
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
121
121
  }
122
- function Er(e) {
122
+ function Br(e) {
123
123
  const t = {};
124
124
  return e.childNodes.forEach(
125
125
  /** @param {Element} node */
@@ -128,18 +128,18 @@ function Er(e) {
128
128
  }
129
129
  ), t;
130
130
  }
131
- let Ze;
131
+ let Qe;
132
132
  function re(e) {
133
- Ze = e;
133
+ Qe = e;
134
134
  }
135
- const k = [], Ie = [];
135
+ const k = [], Le = [];
136
136
  let V = [];
137
- const rt = [], Sr = /* @__PURE__ */ Promise.resolve();
138
- let Le = !1;
139
- function Tr() {
140
- Le || (Le = !0, Sr.then(I));
137
+ const ot = [], Ar = /* @__PURE__ */ Promise.resolve();
138
+ let Ne = !1;
139
+ function wr() {
140
+ Ne || (Ne = !0, Ar.then(I));
141
141
  }
142
- function Ne(e) {
142
+ function Me(e) {
143
143
  V.push(e);
144
144
  }
145
145
  const Te = /* @__PURE__ */ new Set();
@@ -147,58 +147,58 @@ let F = 0;
147
147
  function I() {
148
148
  if (F !== 0)
149
149
  return;
150
- const e = Ze;
150
+ const e = Qe;
151
151
  do {
152
152
  try {
153
153
  for (; F < k.length; ) {
154
154
  const t = k[F];
155
- F++, re(t), Hr(t.$$);
155
+ F++, re(t), Pr(t.$$);
156
156
  }
157
157
  } catch (t) {
158
158
  throw k.length = 0, F = 0, t;
159
159
  }
160
- for (re(null), k.length = 0, F = 0; Ie.length; ) Ie.pop()();
160
+ for (re(null), k.length = 0, F = 0; Le.length; ) Le.pop()();
161
161
  for (let t = 0; t < V.length; t += 1) {
162
162
  const r = V[t];
163
163
  Te.has(r) || (Te.add(r), r());
164
164
  }
165
165
  V.length = 0;
166
166
  } while (k.length);
167
- for (; rt.length; )
168
- rt.pop()();
169
- Le = !1, Te.clear(), re(e);
167
+ for (; ot.length; )
168
+ ot.pop()();
169
+ Ne = !1, Te.clear(), re(e);
170
170
  }
171
- function Hr(e) {
171
+ function Pr(e) {
172
172
  if (e.fragment !== null) {
173
173
  e.update(), oe(e.before_update);
174
174
  const t = e.dirty;
175
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
175
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
176
176
  }
177
177
  }
178
- function Br(e) {
178
+ function Or(e) {
179
179
  const t = [], r = [];
180
180
  V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
181
181
  }
182
- const Ar = /* @__PURE__ */ new Set();
183
- function wr(e, t) {
184
- e && e.i && (Ar.delete(e), e.i(t));
182
+ const Ir = /* @__PURE__ */ new Set();
183
+ function Lr(e, t) {
184
+ e && e.i && (Ir.delete(e), e.i(t));
185
185
  }
186
- function Pr(e, t, r) {
186
+ function Nr(e, t, r) {
187
187
  const { fragment: n, after_update: i } = e.$$;
188
- n && n.m(t, r), Ne(() => {
189
- const o = e.$$.on_mount.map(Ht).filter(ze);
188
+ n && n.m(t, r), Me(() => {
189
+ const o = e.$$.on_mount.map(wt).filter(Ze);
190
190
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
191
- }), i.forEach(Ne);
191
+ }), i.forEach(Me);
192
192
  }
193
- function Or(e, t) {
193
+ function Mr(e, t) {
194
194
  const r = e.$$;
195
- r.fragment !== null && (Br(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
195
+ r.fragment !== null && (Or(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
196
196
  }
197
- function Ir(e, t) {
198
- e.$$.dirty[0] === -1 && (k.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
197
+ function Cr(e, t) {
198
+ e.$$.dirty[0] === -1 && (k.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
199
199
  }
200
- function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
201
- const h = Ze;
200
+ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
201
+ const h = Qe;
202
202
  re(e);
203
203
  const u = e.$$ = {
204
204
  fragment: null,
@@ -207,7 +207,7 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
207
207
  props: o,
208
208
  update: w,
209
209
  not_equal: i,
210
- bound: tt(),
210
+ bound: it(),
211
211
  // lifecycle
212
212
  on_mount: [],
213
213
  on_destroy: [],
@@ -216,7 +216,7 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
216
216
  after_update: [],
217
217
  context: new Map(t.context || (h ? h.$$.context : [])),
218
218
  // everything else
219
- callbacks: tt(),
219
+ callbacks: it(),
220
220
  dirty: a,
221
221
  skip_bound: !1,
222
222
  root: t.target || h.$$.root
@@ -225,19 +225,19 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
225
225
  let l = !1;
226
226
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
227
227
  const y = p.length ? p[0] : c;
228
- return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), l && Ir(e, f)), c;
228
+ return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), l && Cr(e, f)), c;
229
229
  }) : [], u.update(), l = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
230
230
  if (t.hydrate) {
231
- const f = xr(t.target);
231
+ const f = Tr(t.target);
232
232
  u.fragment && u.fragment.l(f), f.forEach(J);
233
233
  } else
234
234
  u.fragment && u.fragment.c();
235
- t.intro && wr(e.$$.fragment), Pr(e, t.target, t.anchor), I();
235
+ t.intro && Lr(e.$$.fragment), Nr(e, t.target, t.anchor), I();
236
236
  }
237
237
  re(h);
238
238
  }
239
- let Ot;
240
- typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
239
+ let Nt;
240
+ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
241
241
  constructor(t, r, n) {
242
242
  super();
243
243
  /** The Svelte component constructor */
@@ -274,7 +274,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
274
274
  }
275
275
  }
276
276
  connectedCallback() {
277
- return et(this, null, function* () {
277
+ return nt(this, null, function* () {
278
278
  if (this.$$cn = !0, !this.$$c) {
279
279
  let t = function(o) {
280
280
  return () => {
@@ -298,7 +298,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
298
298
  };
299
299
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
300
300
  return;
301
- const r = {}, n = Er(this);
301
+ const r = {}, n = Br(this);
302
302
  for (const o of this.$$s)
303
303
  o in n && (r[o] = [t(o)]);
304
304
  for (const o of this.attributes) {
@@ -309,7 +309,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
309
309
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
310
310
  this.$$c = new this.$$ctor({
311
311
  target: this.shadowRoot || this,
312
- props: Ke(qe({}, this.$$d), {
312
+ props: rt(tt({}, this.$$d), {
313
313
  $$slots: r,
314
314
  $$scope: {
315
315
  ctx: []
@@ -387,8 +387,8 @@ function ce(e, t, r, n) {
387
387
  return t;
388
388
  }
389
389
  }
390
- function Nr(e, t, r, n, i, o) {
391
- let s = class extends Ot {
390
+ function Rr(e, t, r, n, i, o) {
391
+ let s = class extends Nt {
392
392
  constructor() {
393
393
  super(e, r, i), this.$$p_d = t;
394
394
  }
@@ -418,7 +418,7 @@ function Nr(e, t, r, n, i, o) {
418
418
  }), e.element = /** @type {any} */
419
419
  s, s;
420
420
  }
421
- class Mr {
421
+ class Ur {
422
422
  constructor() {
423
423
  /**
424
424
  * ### PRIVATE API
@@ -439,7 +439,7 @@ class Mr {
439
439
  }
440
440
  /** @returns {void} */
441
441
  $destroy() {
442
- Or(this, 1), this.$destroy = w;
442
+ Mr(this, 1), this.$destroy = w;
443
443
  }
444
444
  /**
445
445
  * @template {Extract<keyof Events, string>} K
@@ -448,7 +448,7 @@ class Mr {
448
448
  * @returns {() => void}
449
449
  */
450
450
  $on(t, r) {
451
- if (!ze(r))
451
+ if (!Ze(r))
452
452
  return w;
453
453
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
454
454
  return n.push(r), () => {
@@ -461,22 +461,22 @@ class Mr {
461
461
  * @returns {void}
462
462
  */
463
463
  $set(t) {
464
- this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
464
+ this.$$set && !yr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
465
465
  }
466
466
  }
467
- const Cr = "4";
468
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
469
- var Me = function(e, t) {
470
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
467
+ const Dr = "4";
468
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
469
+ var Ce = function(e, t) {
470
+ return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
471
471
  r.__proto__ = n;
472
472
  } || function(r, n) {
473
473
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
474
- }, Me(e, t);
474
+ }, Ce(e, t);
475
475
  };
476
476
  function M(e, t) {
477
477
  if (typeof t != "function" && t !== null)
478
478
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
479
- Me(e, t);
479
+ Ce(e, t);
480
480
  function r() {
481
481
  this.constructor = e;
482
482
  }
@@ -491,7 +491,7 @@ var g = function() {
491
491
  return t;
492
492
  }, g.apply(this, arguments);
493
493
  };
494
- function $r(e, t) {
494
+ function Gr(e, t) {
495
495
  var r = {};
496
496
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
497
497
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -499,7 +499,7 @@ function $r(e, t) {
499
499
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
500
500
  return r;
501
501
  }
502
- function Ce(e) {
502
+ function $e(e) {
503
503
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
504
504
  if (r) return r.call(e);
505
505
  if (e && typeof e.length == "number") return {
@@ -509,7 +509,7 @@ function Ce(e) {
509
509
  };
510
510
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
511
511
  }
512
- function $e(e, t) {
512
+ function Re(e, t) {
513
513
  var r = typeof Symbol == "function" && e[Symbol.iterator];
514
514
  if (!r) return e;
515
515
  var n = r.call(e), i, o = [], s;
@@ -534,13 +534,13 @@ function X(e, t, r) {
534
534
  function N(e) {
535
535
  return typeof e == "function";
536
536
  }
537
- function It(e) {
537
+ function Mt(e) {
538
538
  var t = function(n) {
539
539
  Error.call(n), n.stack = new Error().stack;
540
540
  }, r = e(t);
541
541
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
542
542
  }
543
- var He = It(function(e) {
543
+ var He = Mt(function(e) {
544
544
  return function(r) {
545
545
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
546
546
  ` + r.map(function(n, i) {
@@ -549,7 +549,7 @@ var He = It(function(e) {
549
549
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
550
550
  };
551
551
  });
552
- function Re(e, t) {
552
+ function Ue(e, t) {
553
553
  if (e) {
554
554
  var r = e.indexOf(t);
555
555
  0 <= r && e.splice(r, 1);
@@ -567,7 +567,7 @@ var ye = function() {
567
567
  if (s)
568
568
  if (this._parentage = null, Array.isArray(s))
569
569
  try {
570
- for (var a = Ce(s), h = a.next(); !h.done; h = a.next()) {
570
+ for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
571
571
  var u = h.value;
572
572
  u.remove(this);
573
573
  }
@@ -593,12 +593,12 @@ var ye = function() {
593
593
  if (f) {
594
594
  this._finalizers = null;
595
595
  try {
596
- for (var c = Ce(f), p = c.next(); !p.done; p = c.next()) {
596
+ for (var c = $e(f), p = c.next(); !p.done; p = c.next()) {
597
597
  var y = p.value;
598
598
  try {
599
- nt(y);
599
+ st(y);
600
600
  } catch (v) {
601
- o = o != null ? o : [], v instanceof He ? o = X(X([], $e(o)), $e(v.errors)) : o.push(v);
601
+ o = o != null ? o : [], v instanceof He ? o = X(X([], Re(o)), Re(v.errors)) : o.push(v);
602
602
  }
603
603
  }
604
604
  } catch (v) {
@@ -618,7 +618,7 @@ var ye = function() {
618
618
  var r;
619
619
  if (t && t !== this)
620
620
  if (this.closed)
621
- nt(t);
621
+ st(t);
622
622
  else {
623
623
  if (t instanceof e) {
624
624
  if (t.closed || t._hasParent(this))
@@ -635,52 +635,56 @@ var ye = function() {
635
635
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
636
636
  }, e.prototype._removeParent = function(t) {
637
637
  var r = this._parentage;
638
- r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
638
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
639
639
  }, e.prototype.remove = function(t) {
640
640
  var r = this._finalizers;
641
- r && Re(r, t), t instanceof e && t._removeParent(this);
641
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
642
642
  }, e.EMPTY = function() {
643
643
  var t = new e();
644
644
  return t.closed = !0, t;
645
645
  }(), e;
646
- }(), Lt = ye.EMPTY;
647
- function Nt(e) {
646
+ }(), Ct = ye.EMPTY;
647
+ function $t(e) {
648
648
  return e instanceof ye || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
649
649
  }
650
- function nt(e) {
650
+ function st(e) {
651
651
  N(e) ? e() : e.unsubscribe();
652
652
  }
653
- var Rr = {
654
- Promise: void 0
655
- }, Ur = {
653
+ var Rt = {
654
+ onUnhandledError: null,
655
+ onStoppedNotification: null,
656
+ Promise: void 0,
657
+ useDeprecatedSynchronousErrorHandling: !1,
658
+ useDeprecatedNextContext: !1
659
+ }, Fr = {
656
660
  setTimeout: function(e, t) {
657
661
  for (var r = [], n = 2; n < arguments.length; n++)
658
662
  r[n - 2] = arguments[n];
659
- return setTimeout.apply(void 0, X([e, t], $e(r)));
663
+ return setTimeout.apply(void 0, X([e, t], Re(r)));
660
664
  },
661
665
  clearTimeout: function(e) {
662
666
  return clearTimeout(e);
663
667
  },
664
668
  delegate: void 0
665
669
  };
666
- function Gr(e) {
667
- Ur.setTimeout(function() {
670
+ function jr(e) {
671
+ Fr.setTimeout(function() {
668
672
  throw e;
669
673
  });
670
674
  }
671
- function it() {
675
+ function at() {
672
676
  }
673
677
  function fe(e) {
674
678
  e();
675
679
  }
676
- var Mt = function(e) {
680
+ var Ut = function(e) {
677
681
  M(t, e);
678
682
  function t(r) {
679
683
  var n = e.call(this) || this;
680
- return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = jr, n;
684
+ return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Wr, n;
681
685
  }
682
686
  return t.create = function(r, n, i) {
683
- return new Ue(r, n, i);
687
+ return new De(r, n, i);
684
688
  }, t.prototype.next = function(r) {
685
689
  this.isStopped || this._next(r);
686
690
  }, t.prototype.error = function(r) {
@@ -704,7 +708,11 @@ var Mt = function(e) {
704
708
  this.unsubscribe();
705
709
  }
706
710
  }, t;
707
- }(ye), Dr = function() {
711
+ }(ye), kr = Function.prototype.bind;
712
+ function Be(e, t) {
713
+ return kr.call(e, t);
714
+ }
715
+ var Vr = function() {
708
716
  function e(t) {
709
717
  this.partialObserver = t;
710
718
  }
@@ -735,43 +743,55 @@ var Mt = function(e) {
735
743
  he(r);
736
744
  }
737
745
  }, e;
738
- }(), Ue = function(e) {
746
+ }(), De = function(e) {
739
747
  M(t, e);
740
748
  function t(r, n, i) {
741
749
  var o = e.call(this) || this, s;
742
- return N(r) || !r ? s = {
743
- next: r != null ? r : void 0,
744
- error: n != null ? n : void 0,
745
- complete: i != null ? i : void 0
746
- } : s = r, o.destination = new Dr(s), o;
750
+ if (N(r) || !r)
751
+ s = {
752
+ next: r != null ? r : void 0,
753
+ error: n != null ? n : void 0,
754
+ complete: i != null ? i : void 0
755
+ };
756
+ else {
757
+ var a;
758
+ o && Rt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
759
+ return o.unsubscribe();
760
+ }, s = {
761
+ next: r.next && Be(r.next, a),
762
+ error: r.error && Be(r.error, a),
763
+ complete: r.complete && Be(r.complete, a)
764
+ }) : s = r;
765
+ }
766
+ return o.destination = new Vr(s), o;
747
767
  }
748
768
  return t;
749
- }(Mt);
769
+ }(Ut);
750
770
  function he(e) {
751
- Gr(e);
771
+ jr(e);
752
772
  }
753
- function Fr(e) {
773
+ function Xr(e) {
754
774
  throw e;
755
775
  }
756
- var jr = {
776
+ var Wr = {
757
777
  closed: !0,
758
- next: it,
759
- error: Fr,
760
- complete: it
761
- }, kr = function() {
778
+ next: at,
779
+ error: Xr,
780
+ complete: at
781
+ }, zr = function() {
762
782
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
763
783
  }();
764
- function Vr(e) {
784
+ function Zr(e) {
765
785
  return e;
766
786
  }
767
- function Xr(e) {
768
- return e.length === 0 ? Vr : e.length === 1 ? e[0] : function(r) {
787
+ function Qr(e) {
788
+ return e.length === 0 ? Zr : e.length === 1 ? e[0] : function(r) {
769
789
  return e.reduce(function(n, i) {
770
790
  return i(n);
771
791
  }, r);
772
792
  };
773
793
  }
774
- var ot = function() {
794
+ var ut = function() {
775
795
  function e(t) {
776
796
  t && (this._subscribe = t);
777
797
  }
@@ -779,7 +799,7 @@ var ot = function() {
779
799
  var r = new e();
780
800
  return r.source = this, r.operator = t, r;
781
801
  }, e.prototype.subscribe = function(t, r, n) {
782
- var i = this, o = zr(t) ? t : new Ue(t, r, n);
802
+ var i = this, o = Yr(t) ? t : new De(t, r, n);
783
803
  return fe(function() {
784
804
  var s = i, a = s.operator, h = s.source;
785
805
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -792,8 +812,8 @@ var ot = function() {
792
812
  }
793
813
  }, e.prototype.forEach = function(t, r) {
794
814
  var n = this;
795
- return r = st(r), new r(function(i, o) {
796
- var s = new Ue({
815
+ return r = ht(r), new r(function(i, o) {
816
+ var s = new De({
797
817
  next: function(a) {
798
818
  try {
799
819
  t(a);
@@ -809,15 +829,15 @@ var ot = function() {
809
829
  }, e.prototype._subscribe = function(t) {
810
830
  var r;
811
831
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
812
- }, e.prototype[kr] = function() {
832
+ }, e.prototype[zr] = function() {
813
833
  return this;
814
834
  }, e.prototype.pipe = function() {
815
835
  for (var t = [], r = 0; r < arguments.length; r++)
816
836
  t[r] = arguments[r];
817
- return Xr(t)(this);
837
+ return Qr(t)(this);
818
838
  }, e.prototype.toPromise = function(t) {
819
839
  var r = this;
820
- return t = st(t), new t(function(n, i) {
840
+ return t = ht(t), new t(function(n, i) {
821
841
  var o;
822
842
  r.subscribe(function(s) {
823
843
  return o = s;
@@ -831,32 +851,32 @@ var ot = function() {
831
851
  return new e(t);
832
852
  }, e;
833
853
  }();
834
- function st(e) {
854
+ function ht(e) {
835
855
  var t;
836
- return (t = e != null ? e : Rr.Promise) !== null && t !== void 0 ? t : Promise;
856
+ return (t = e != null ? e : Rt.Promise) !== null && t !== void 0 ? t : Promise;
837
857
  }
838
- function Wr(e) {
858
+ function Jr(e) {
839
859
  return e && N(e.next) && N(e.error) && N(e.complete);
840
860
  }
841
- function zr(e) {
842
- return e && e instanceof Mt || Wr(e) && Nt(e);
861
+ function Yr(e) {
862
+ return e && e instanceof Ut || Jr(e) && $t(e);
843
863
  }
844
- var Zr = It(function(e) {
864
+ var qr = Mt(function(e) {
845
865
  return function() {
846
866
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
847
867
  };
848
- }), Ct = function(e) {
868
+ }), Dt = function(e) {
849
869
  M(t, e);
850
870
  function t() {
851
871
  var r = e.call(this) || this;
852
872
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
853
873
  }
854
874
  return t.prototype.lift = function(r) {
855
- var n = new at(this, this);
875
+ var n = new lt(this, this);
856
876
  return n.operator = r, n;
857
877
  }, t.prototype._throwIfClosed = function() {
858
878
  if (this.closed)
859
- throw new Zr();
879
+ throw new qr();
860
880
  }, t.prototype.next = function(r) {
861
881
  var n = this;
862
882
  fe(function() {
@@ -864,7 +884,7 @@ var Zr = It(function(e) {
864
884
  if (n._throwIfClosed(), !n.isStopped) {
865
885
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
866
886
  try {
867
- for (var s = Ce(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
887
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
868
888
  var h = a.value;
869
889
  h.next(r);
870
890
  }
@@ -912,19 +932,19 @@ var Zr = It(function(e) {
912
932
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
913
933
  }, t.prototype._innerSubscribe = function(r) {
914
934
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
915
- return o || s ? Lt : (this.currentObservers = null, a.push(r), new ye(function() {
916
- n.currentObservers = null, Re(a, r);
935
+ return o || s ? Ct : (this.currentObservers = null, a.push(r), new ye(function() {
936
+ n.currentObservers = null, Ue(a, r);
917
937
  }));
918
938
  }, t.prototype._checkFinalizedStatuses = function(r) {
919
939
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
920
940
  i ? r.error(o) : s && r.complete();
921
941
  }, t.prototype.asObservable = function() {
922
- var r = new ot();
942
+ var r = new ut();
923
943
  return r.source = this, r;
924
944
  }, t.create = function(r, n) {
925
- return new at(r, n);
945
+ return new lt(r, n);
926
946
  }, t;
927
- }(ot), at = function(e) {
947
+ }(ut), lt = function(e) {
928
948
  M(t, e);
929
949
  function t(r, n) {
930
950
  var i = e.call(this) || this;
@@ -941,17 +961,17 @@ var Zr = It(function(e) {
941
961
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
942
962
  }, t.prototype._subscribe = function(r) {
943
963
  var n, i;
944
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
964
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ct;
945
965
  }, t;
946
- }(Ct), $t = {
966
+ }(Dt), Gt = {
947
967
  now: function() {
948
- return ($t.delegate || Date).now();
968
+ return (Gt.delegate || Date).now();
949
969
  },
950
970
  delegate: void 0
951
- }, Qr = function(e) {
971
+ }, Kr = function(e) {
952
972
  M(t, e);
953
973
  function t(r, n, i) {
954
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
974
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
955
975
  var o = e.call(this) || this;
956
976
  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;
957
977
  }
@@ -971,15 +991,15 @@ var Zr = It(function(e) {
971
991
  u && o.splice(0, u + 1);
972
992
  }
973
993
  }, t;
974
- }(Ct);
975
- const ut = [], ht = {}, Jr = (e, t = 0) => {
976
- if (ut.indexOf(e) == -1) {
977
- const r = new Qr(t);
978
- ht[e] = r, ut.push(e);
994
+ }(Dt);
995
+ const ct = [], ft = {}, en = (e, t = 0) => {
996
+ if (ct.indexOf(e) == -1) {
997
+ const r = new Kr(t);
998
+ ft[e] = r, ct.push(e);
979
999
  }
980
- return ht[e];
1000
+ return ft[e];
981
1001
  }, j = [];
982
- function Yr(e, t) {
1002
+ function tn(e, t) {
983
1003
  return {
984
1004
  subscribe: ve(e, t).subscribe
985
1005
  };
@@ -988,7 +1008,7 @@ function ve(e, t = w) {
988
1008
  let r;
989
1009
  const n = /* @__PURE__ */ new Set();
990
1010
  function i(a) {
991
- if (Bt(e, a) && (e = a, r)) {
1011
+ if (Pt(e, a) && (e = a, r)) {
992
1012
  const h = !j.length;
993
1013
  for (const u of n)
994
1014
  u[1](), j.push(u, e);
@@ -1015,7 +1035,7 @@ function Y(e, t, r) {
1015
1035
  if (!i.every(Boolean))
1016
1036
  throw new Error("derived() expects stores as input, got a falsy value");
1017
1037
  const o = t.length < 2;
1018
- return Yr(r, (s, a) => {
1038
+ return tn(r, (s, a) => {
1019
1039
  let h = !1;
1020
1040
  const u = [];
1021
1041
  let l = 0, f = w;
@@ -1024,9 +1044,9 @@ function Y(e, t, r) {
1024
1044
  return;
1025
1045
  f();
1026
1046
  const y = t(n ? u[0] : u, s, a);
1027
- o ? s(y) : f = ze(y) ? y : w;
1047
+ o ? s(y) : f = Ze(y) ? y : w;
1028
1048
  }, p = i.map(
1029
- (y, v) => At(
1049
+ (y, v) => Ot(
1030
1050
  y,
1031
1051
  (B) => {
1032
1052
  u[v] = B, l &= ~(1 << v), h && c();
@@ -1041,70 +1061,70 @@ function Y(e, t, r) {
1041
1061
  };
1042
1062
  });
1043
1063
  }
1044
- function qr(e) {
1064
+ function rn(e) {
1045
1065
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1046
1066
  }
1047
- var Kr = function(t) {
1048
- return en(t) && !tn(t);
1067
+ var nn = function(t) {
1068
+ return on(t) && !sn(t);
1049
1069
  };
1050
- function en(e) {
1070
+ function on(e) {
1051
1071
  return !!e && typeof e == "object";
1052
1072
  }
1053
- function tn(e) {
1073
+ function sn(e) {
1054
1074
  var t = Object.prototype.toString.call(e);
1055
- return t === "[object RegExp]" || t === "[object Date]" || on(e);
1075
+ return t === "[object RegExp]" || t === "[object Date]" || hn(e);
1056
1076
  }
1057
- var rn = typeof Symbol == "function" && Symbol.for, nn = rn ? Symbol.for("react.element") : 60103;
1058
- function on(e) {
1059
- return e.$$typeof === nn;
1077
+ var an = typeof Symbol == "function" && Symbol.for, un = an ? Symbol.for("react.element") : 60103;
1078
+ function hn(e) {
1079
+ return e.$$typeof === un;
1060
1080
  }
1061
- function sn(e) {
1081
+ function ln(e) {
1062
1082
  return Array.isArray(e) ? [] : {};
1063
1083
  }
1064
1084
  function ne(e, t) {
1065
- return t.clone !== !1 && t.isMergeableObject(e) ? W(sn(e), e, t) : e;
1085
+ return t.clone !== !1 && t.isMergeableObject(e) ? W(ln(e), e, t) : e;
1066
1086
  }
1067
- function an(e, t, r) {
1087
+ function cn(e, t, r) {
1068
1088
  return e.concat(t).map(function(n) {
1069
1089
  return ne(n, r);
1070
1090
  });
1071
1091
  }
1072
- function un(e, t) {
1092
+ function fn(e, t) {
1073
1093
  if (!t.customMerge)
1074
1094
  return W;
1075
1095
  var r = t.customMerge(e);
1076
1096
  return typeof r == "function" ? r : W;
1077
1097
  }
1078
- function hn(e) {
1098
+ function pn(e) {
1079
1099
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1080
1100
  return Object.propertyIsEnumerable.call(e, t);
1081
1101
  }) : [];
1082
1102
  }
1083
- function lt(e) {
1084
- return Object.keys(e).concat(hn(e));
1103
+ function pt(e) {
1104
+ return Object.keys(e).concat(pn(e));
1085
1105
  }
1086
- function Rt(e, t) {
1106
+ function Ft(e, t) {
1087
1107
  try {
1088
1108
  return t in e;
1089
1109
  } catch (r) {
1090
1110
  return !1;
1091
1111
  }
1092
1112
  }
1093
- function ln(e, t) {
1094
- return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1113
+ function dn(e, t) {
1114
+ return Ft(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1095
1115
  }
1096
- function cn(e, t, r) {
1116
+ function mn(e, t, r) {
1097
1117
  var n = {};
1098
- return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1118
+ return r.isMergeableObject(e) && pt(e).forEach(function(i) {
1099
1119
  n[i] = ne(e[i], r);
1100
- }), lt(t).forEach(function(i) {
1101
- ln(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1120
+ }), pt(t).forEach(function(i) {
1121
+ dn(e, i) || (Ft(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1102
1122
  }), n;
1103
1123
  }
1104
1124
  function W(e, t, r) {
1105
- r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = ne;
1125
+ r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = ne;
1106
1126
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1107
- return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : ne(t, r);
1127
+ return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : ne(t, r);
1108
1128
  }
1109
1129
  W.all = function(t, r) {
1110
1130
  if (!Array.isArray(t))
@@ -1113,105 +1133,107 @@ W.all = function(t, r) {
1113
1133
  return W(n, i, r);
1114
1134
  }, {});
1115
1135
  };
1116
- var fn = W, pn = fn;
1117
- const dn = /* @__PURE__ */ qr(pn);
1118
- function Be(e, t) {
1119
- var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : gn;
1136
+ var bn = W, gn = bn;
1137
+ const yn = /* @__PURE__ */ rn(gn);
1138
+ function Ae(e, t) {
1139
+ var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : En;
1120
1140
  return i(e, {
1121
1141
  cache: r,
1122
1142
  serializer: n
1123
1143
  });
1124
1144
  }
1125
- function mn(e) {
1145
+ function vn(e) {
1126
1146
  return e == null || typeof e == "number" || typeof e == "boolean";
1127
1147
  }
1128
- function bn(e, t, r, n) {
1129
- var i = mn(n) ? n : r(n), o = t.get(i);
1148
+ function jt(e, t, r, n) {
1149
+ var i = vn(n) ? n : r(n), o = t.get(i);
1130
1150
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1131
1151
  }
1132
- function Ut(e, t, r) {
1152
+ function kt(e, t, r) {
1133
1153
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1134
1154
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1135
1155
  }
1136
- function Gt(e, t, r, n, i) {
1156
+ function Je(e, t, r, n, i) {
1137
1157
  return r.bind(t, e, n, i);
1138
1158
  }
1139
- function gn(e, t) {
1140
- var r = e.length === 1 ? bn : Ut;
1141
- return Gt(e, this, r, t.cache.create(), t.serializer);
1159
+ function En(e, t) {
1160
+ var r = e.length === 1 ? jt : kt;
1161
+ return Je(e, this, r, t.cache.create(), t.serializer);
1162
+ }
1163
+ function xn(e, t) {
1164
+ return Je(e, this, kt, t.cache.create(), t.serializer);
1142
1165
  }
1143
- function yn(e, t) {
1144
- return Gt(e, this, Ut, t.cache.create(), t.serializer);
1166
+ function _n(e, t) {
1167
+ return Je(e, this, jt, t.cache.create(), t.serializer);
1145
1168
  }
1146
- var vn = function() {
1169
+ var Sn = function() {
1147
1170
  return JSON.stringify(arguments);
1148
- }, xn = (
1149
- /** @class */
1150
- function() {
1151
- function e() {
1152
- this.cache = /* @__PURE__ */ Object.create(null);
1153
- }
1154
- return e.prototype.get = function(t) {
1155
- return this.cache[t];
1156
- }, e.prototype.set = function(t, r) {
1157
- this.cache[t] = r;
1158
- }, e;
1159
- }()
1160
- ), _n = {
1171
+ };
1172
+ function Ye() {
1173
+ this.cache = /* @__PURE__ */ Object.create(null);
1174
+ }
1175
+ Ye.prototype.get = function(e) {
1176
+ return this.cache[e];
1177
+ };
1178
+ Ye.prototype.set = function(e, t) {
1179
+ this.cache[e] = t;
1180
+ };
1181
+ var Tn = {
1161
1182
  create: function() {
1162
- return new xn();
1183
+ return new Ye();
1163
1184
  }
1164
- }, Ae = {
1165
- variadic: yn
1185
+ }, we = {
1186
+ variadic: xn,
1187
+ monadic: _n
1166
1188
  }, d;
1167
1189
  (function(e) {
1168
1190
  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";
1169
1191
  })(d || (d = {}));
1170
- var x;
1192
+ var E;
1171
1193
  (function(e) {
1172
1194
  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";
1173
- })(x || (x = {}));
1195
+ })(E || (E = {}));
1174
1196
  var z;
1175
1197
  (function(e) {
1176
1198
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1177
1199
  })(z || (z = {}));
1178
- function ct(e) {
1179
- return e.type === x.literal;
1200
+ function dt(e) {
1201
+ return e.type === E.literal;
1180
1202
  }
1181
- function En(e) {
1182
- return e.type === x.argument;
1203
+ function Hn(e) {
1204
+ return e.type === E.argument;
1183
1205
  }
1184
- function Dt(e) {
1185
- return e.type === x.number;
1206
+ function Vt(e) {
1207
+ return e.type === E.number;
1186
1208
  }
1187
- function Ft(e) {
1188
- return e.type === x.date;
1209
+ function Xt(e) {
1210
+ return e.type === E.date;
1189
1211
  }
1190
- function jt(e) {
1191
- return e.type === x.time;
1212
+ function Wt(e) {
1213
+ return e.type === E.time;
1192
1214
  }
1193
- function kt(e) {
1194
- return e.type === x.select;
1215
+ function zt(e) {
1216
+ return e.type === E.select;
1195
1217
  }
1196
- function Vt(e) {
1197
- return e.type === x.plural;
1218
+ function Zt(e) {
1219
+ return e.type === E.plural;
1198
1220
  }
1199
- function Sn(e) {
1200
- return e.type === x.pound;
1221
+ function Bn(e) {
1222
+ return e.type === E.pound;
1201
1223
  }
1202
- function Xt(e) {
1203
- return e.type === x.tag;
1224
+ function Qt(e) {
1225
+ return e.type === E.tag;
1204
1226
  }
1205
- function Wt(e) {
1227
+ function Jt(e) {
1206
1228
  return !!(e && typeof e == "object" && e.type === z.number);
1207
1229
  }
1208
1230
  function Ge(e) {
1209
1231
  return !!(e && typeof e == "object" && e.type === z.dateTime);
1210
1232
  }
1211
- var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1212
- function Hn(e) {
1233
+ var Yt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1234
+ function wn(e) {
1213
1235
  var t = {};
1214
- return e.replace(Tn, function(r) {
1236
+ return e.replace(An, function(r) {
1215
1237
  var n = r.length;
1216
1238
  switch (r[0]) {
1217
1239
  case "G":
@@ -1300,11 +1322,11 @@ function Hn(e) {
1300
1322
  return "";
1301
1323
  }), t;
1302
1324
  }
1303
- var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1304
- function An(e) {
1325
+ var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1326
+ function On(e) {
1305
1327
  if (e.length === 0)
1306
1328
  throw new Error("Number skeleton cannot be empty");
1307
- for (var t = e.split(Bn).filter(function(c) {
1329
+ for (var t = e.split(Pn).filter(function(c) {
1308
1330
  return c.length > 0;
1309
1331
  }), r = [], n = 0, i = t; n < i.length; n++) {
1310
1332
  var o = i[n], s = o.split("/");
@@ -1319,17 +1341,17 @@ function An(e) {
1319
1341
  }
1320
1342
  return r;
1321
1343
  }
1322
- function wn(e) {
1344
+ function In(e) {
1323
1345
  return e.replace(/^(.*?)-/, "");
1324
1346
  }
1325
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1326
- function pt(e) {
1347
+ var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, qt = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, Kt = /^(0+)$/;
1348
+ function bt(e) {
1327
1349
  var t = {};
1328
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
1350
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(qt, function(r, n, i) {
1329
1351
  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)), "";
1330
1352
  }), t;
1331
1353
  }
1332
- function Jt(e) {
1354
+ function er(e) {
1333
1355
  switch (e) {
1334
1356
  case "sign-auto":
1335
1357
  return {
@@ -1369,7 +1391,7 @@ function Jt(e) {
1369
1391
  };
1370
1392
  }
1371
1393
  }
1372
- function On(e) {
1394
+ function Nn(e) {
1373
1395
  var t;
1374
1396
  if (e[0] === "E" && e[1] === "E" ? (t = {
1375
1397
  notation: "engineering"
@@ -1377,17 +1399,17 @@ function On(e) {
1377
1399
  notation: "scientific"
1378
1400
  }, e = e.slice(1)), t) {
1379
1401
  var r = e.slice(0, 2);
1380
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1402
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Kt.test(e))
1381
1403
  throw new Error("Malformed concise eng/scientific notation");
1382
1404
  t.minimumIntegerDigits = e.length;
1383
1405
  }
1384
1406
  return t;
1385
1407
  }
1386
- function dt(e) {
1387
- var t = {}, r = Jt(e);
1408
+ function gt(e) {
1409
+ var t = {}, r = er(e);
1388
1410
  return r || t;
1389
1411
  }
1390
- function In(e) {
1412
+ function Mn(e) {
1391
1413
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1392
1414
  var i = n[r];
1393
1415
  switch (i.stem) {
@@ -1411,7 +1433,7 @@ function In(e) {
1411
1433
  continue;
1412
1434
  case "measure-unit":
1413
1435
  case "unit":
1414
- t.style = "unit", t.unit = wn(i.options[0]);
1436
+ t.style = "unit", t.unit = In(i.options[0]);
1415
1437
  continue;
1416
1438
  case "compact-short":
1417
1439
  case "K":
@@ -1423,12 +1445,12 @@ function In(e) {
1423
1445
  continue;
1424
1446
  case "scientific":
1425
1447
  t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1426
- return g(g({}, h), dt(u));
1448
+ return g(g({}, h), gt(u));
1427
1449
  }, {}));
1428
1450
  continue;
1429
1451
  case "engineering":
1430
1452
  t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1431
- return g(g({}, h), dt(u));
1453
+ return g(g({}, h), gt(u));
1432
1454
  }, {}));
1433
1455
  continue;
1434
1456
  case "notation-simple":
@@ -1473,7 +1495,7 @@ function In(e) {
1473
1495
  case "integer-width":
1474
1496
  if (i.options.length > 1)
1475
1497
  throw new RangeError("integer-width stems only accept a single optional option");
1476
- i.options[0].replace(Pn, function(h, u, l, f, c, p) {
1498
+ i.options[0].replace(Ln, function(h, u, l, f, c, p) {
1477
1499
  if (u)
1478
1500
  t.minimumIntegerDigits = l.length;
1479
1501
  else {
@@ -1486,27 +1508,27 @@ function In(e) {
1486
1508
  });
1487
1509
  continue;
1488
1510
  }
1489
- if (Qt.test(i.stem)) {
1511
+ if (Kt.test(i.stem)) {
1490
1512
  t.minimumIntegerDigits = i.stem.length;
1491
1513
  continue;
1492
1514
  }
1493
- if (ft.test(i.stem)) {
1515
+ if (mt.test(i.stem)) {
1494
1516
  if (i.options.length > 1)
1495
1517
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1496
- i.stem.replace(ft, function(h, u, l, f, c, p) {
1518
+ i.stem.replace(mt, function(h, u, l, f, c, p) {
1497
1519
  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), "";
1498
1520
  });
1499
1521
  var o = i.options[0];
1500
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), pt(o)));
1522
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), bt(o)));
1501
1523
  continue;
1502
1524
  }
1503
- if (Zt.test(i.stem)) {
1504
- t = g(g({}, t), pt(i.stem));
1525
+ if (qt.test(i.stem)) {
1526
+ t = g(g({}, t), bt(i.stem));
1505
1527
  continue;
1506
1528
  }
1507
- var s = Jt(i.stem);
1529
+ var s = er(i.stem);
1508
1530
  s && (t = g(g({}, t), s));
1509
- var a = On(i.stem);
1531
+ var a = Nn(i.stem);
1510
1532
  a && (t = g(g({}, t), a));
1511
1533
  }
1512
1534
  return t;
@@ -2926,13 +2948,13 @@ var le = {
2926
2948
  "h"
2927
2949
  ]
2928
2950
  };
2929
- function Ln(e, t) {
2951
+ function Cn(e, t) {
2930
2952
  for (var r = "", n = 0; n < e.length; n++) {
2931
2953
  var i = e.charAt(n);
2932
2954
  if (i === "j") {
2933
2955
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2934
2956
  o++, n++;
2935
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Nn(t);
2957
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = $n(t);
2936
2958
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2937
2959
  r += h;
2938
2960
  for (; s-- > 0; )
@@ -2941,7 +2963,7 @@ function Ln(e, t) {
2941
2963
  }
2942
2964
  return r;
2943
2965
  }
2944
- function Nn(e) {
2966
+ function $n(e) {
2945
2967
  var t = e.hourCycle;
2946
2968
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2947
2969
  e.hourCycles && // @ts-ignore
@@ -2963,20 +2985,20 @@ function Nn(e) {
2963
2985
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
2964
2986
  return i[0];
2965
2987
  }
2966
- var we, Mn = new RegExp("^".concat(zt.source, "*")), Cn = new RegExp("".concat(zt.source, "*$"));
2988
+ var Pe, Rn = new RegExp("^".concat(Yt.source, "*")), Un = new RegExp("".concat(Yt.source, "*$"));
2967
2989
  function m(e, t) {
2968
2990
  return { start: e, end: t };
2969
2991
  }
2970
- var $n = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, kn = jn ? Number.isSafeInteger : function(e) {
2992
+ var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, Wn = Xn ? Number.isSafeInteger : function(e) {
2971
2993
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2972
- }, De = !0;
2994
+ }, Fe = !0;
2973
2995
  try {
2974
- var Vn = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2975
- De = ((we = Vn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
2996
+ var zn = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2997
+ Fe = ((Pe = zn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2976
2998
  } catch (e) {
2977
- De = !1;
2999
+ Fe = !1;
2978
3000
  }
2979
- var mt = $n ? (
3001
+ var yt = Dn ? (
2980
3002
  // Native
2981
3003
  function(t, r, n) {
2982
3004
  return t.startsWith(r, n);
@@ -2986,7 +3008,7 @@ var mt = $n ? (
2986
3008
  function(t, r, n) {
2987
3009
  return t.slice(n, n + r.length) === r;
2988
3010
  }
2989
- ), Fe = Rn ? String.fromCodePoint : (
3011
+ ), je = Gn ? String.fromCodePoint : (
2990
3012
  // IE11
2991
3013
  function() {
2992
3014
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2998,9 +3020,9 @@ var mt = $n ? (
2998
3020
  }
2999
3021
  return n;
3000
3022
  }
3001
- ), bt = (
3023
+ ), vt = (
3002
3024
  // native
3003
- Un ? Object.fromEntries : (
3025
+ Fn ? Object.fromEntries : (
3004
3026
  // Ponyfill
3005
3027
  function(t) {
3006
3028
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3010,7 +3032,7 @@ var mt = $n ? (
3010
3032
  return r;
3011
3033
  }
3012
3034
  )
3013
- ), Yt = Gn ? (
3035
+ ), tr = jn ? (
3014
3036
  // Native
3015
3037
  function(t, r) {
3016
3038
  return t.codePointAt(r);
@@ -3024,7 +3046,7 @@ var mt = $n ? (
3024
3046
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3025
3047
  }
3026
3048
  }
3027
- ), Xn = Dn ? (
3049
+ ), Zn = kn ? (
3028
3050
  // Native
3029
3051
  function(t) {
3030
3052
  return t.trimStart();
@@ -3032,9 +3054,9 @@ var mt = $n ? (
3032
3054
  ) : (
3033
3055
  // Ponyfill
3034
3056
  function(t) {
3035
- return t.replace(Mn, "");
3057
+ return t.replace(Rn, "");
3036
3058
  }
3037
- ), Wn = Fn ? (
3059
+ ), Qn = Vn ? (
3038
3060
  // Native
3039
3061
  function(t) {
3040
3062
  return t.trimEnd();
@@ -3042,32 +3064,32 @@ var mt = $n ? (
3042
3064
  ) : (
3043
3065
  // Ponyfill
3044
3066
  function(t) {
3045
- return t.replace(Cn, "");
3067
+ return t.replace(Un, "");
3046
3068
  }
3047
3069
  );
3048
- function qt(e, t) {
3070
+ function rr(e, t) {
3049
3071
  return new RegExp(e, t);
3050
3072
  }
3051
- var je;
3052
- if (De) {
3053
- var gt = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3054
- je = function(t, r) {
3073
+ var ke;
3074
+ if (Fe) {
3075
+ var Et = rr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3076
+ ke = function(t, r) {
3055
3077
  var n;
3056
- gt.lastIndex = r;
3057
- var i = gt.exec(t);
3078
+ Et.lastIndex = r;
3079
+ var i = Et.exec(t);
3058
3080
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3059
3081
  };
3060
3082
  } else
3061
- je = function(t, r) {
3083
+ ke = function(t, r) {
3062
3084
  for (var n = []; ; ) {
3063
- var i = Yt(t, r);
3064
- if (i === void 0 || Kt(i) || Jn(i))
3085
+ var i = tr(t, r);
3086
+ if (i === void 0 || nr(i) || Kn(i))
3065
3087
  break;
3066
3088
  n.push(i), r += i >= 65536 ? 2 : 1;
3067
3089
  }
3068
- return Fe.apply(void 0, n);
3090
+ return je.apply(void 0, n);
3069
3091
  };
3070
- var zn = (
3092
+ var Jn = (
3071
3093
  /** @class */
3072
3094
  function() {
3073
3095
  function e(t, r) {
@@ -3091,14 +3113,14 @@ var zn = (
3091
3113
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3092
3114
  var a = this.clonePosition();
3093
3115
  this.bump(), i.push({
3094
- type: x.pound,
3116
+ type: E.pound,
3095
3117
  location: m(a, this.clonePosition())
3096
3118
  });
3097
3119
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3098
3120
  if (n)
3099
3121
  break;
3100
3122
  return this.error(d.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
3101
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3123
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3102
3124
  var s = this.parseTag(t, r);
3103
3125
  if (s.err)
3104
3126
  return s;
@@ -3119,7 +3141,7 @@ var zn = (
3119
3141
  if (this.bumpSpace(), this.bumpIf("/>"))
3120
3142
  return {
3121
3143
  val: {
3122
- type: x.literal,
3144
+ type: E.literal,
3123
3145
  value: "<".concat(i, "/>"),
3124
3146
  location: m(n, this.clonePosition())
3125
3147
  },
@@ -3131,12 +3153,12 @@ var zn = (
3131
3153
  return o;
3132
3154
  var s = o.val, a = this.clonePosition();
3133
3155
  if (this.bumpIf("</")) {
3134
- if (this.isEOF() || !ke(this.char()))
3156
+ if (this.isEOF() || !Ve(this.char()))
3135
3157
  return this.error(d.INVALID_TAG, m(a, this.clonePosition()));
3136
3158
  var h = this.clonePosition(), u = this.parseTagName();
3137
3159
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3138
3160
  val: {
3139
- type: x.tag,
3161
+ type: E.tag,
3140
3162
  value: i,
3141
3163
  children: s,
3142
3164
  location: m(n, this.clonePosition())
@@ -3149,7 +3171,7 @@ var zn = (
3149
3171
  return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
3150
3172
  }, e.prototype.parseTagName = function() {
3151
3173
  var t = this.offset();
3152
- for (this.bump(); !this.isEOF() && Qn(this.char()); )
3174
+ for (this.bump(); !this.isEOF() && qn(this.char()); )
3153
3175
  this.bump();
3154
3176
  return this.message.slice(t, this.offset());
3155
3177
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3173,12 +3195,12 @@ var zn = (
3173
3195
  }
3174
3196
  var h = m(n, this.clonePosition());
3175
3197
  return {
3176
- val: { type: x.literal, value: i, location: h },
3198
+ val: { type: E.literal, value: i, location: h },
3177
3199
  err: null
3178
3200
  };
3179
3201
  }, e.prototype.tryParseLeftAngleBracket = function() {
3180
3202
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3181
- !Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3203
+ !Yn(this.peek() || 0)) ? (this.bump(), "<") : null;
3182
3204
  }, e.prototype.tryParseQuote = function(t) {
3183
3205
  if (this.isEOF() || this.char() !== 39)
3184
3206
  return null;
@@ -3212,12 +3234,12 @@ var zn = (
3212
3234
  r.push(n);
3213
3235
  this.bump();
3214
3236
  }
3215
- return Fe.apply(void 0, r);
3237
+ return je.apply(void 0, r);
3216
3238
  }, e.prototype.tryParseUnquoted = function(t, r) {
3217
3239
  if (this.isEOF())
3218
3240
  return null;
3219
3241
  var n = this.char();
3220
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3242
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3221
3243
  }, e.prototype.parseArgument = function(t, r) {
3222
3244
  var n = this.clonePosition();
3223
3245
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3233,7 +3255,7 @@ var zn = (
3233
3255
  case 125:
3234
3256
  return this.bump(), {
3235
3257
  val: {
3236
- type: x.argument,
3258
+ type: E.argument,
3237
3259
  // value does not include the opening and closing braces.
3238
3260
  value: i,
3239
3261
  location: m(n, this.clonePosition())
@@ -3246,7 +3268,7 @@ var zn = (
3246
3268
  return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3247
3269
  }
3248
3270
  }, e.prototype.parseIdentifierIfPossible = function() {
3249
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3271
+ var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3250
3272
  this.bumpTo(i);
3251
3273
  var o = this.clonePosition(), s = m(t, o);
3252
3274
  return { value: n, location: s };
@@ -3265,7 +3287,7 @@ var zn = (
3265
3287
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3266
3288
  if (f.err)
3267
3289
  return f;
3268
- var c = Wn(f.val);
3290
+ var c = Qn(f.val);
3269
3291
  if (c.length === 0)
3270
3292
  return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3271
3293
  var p = m(l, this.clonePosition());
@@ -3275,25 +3297,25 @@ var zn = (
3275
3297
  if (y.err)
3276
3298
  return y;
3277
3299
  var v = m(i, this.clonePosition());
3278
- if (u && mt(u == null ? void 0 : u.style, "::", 0)) {
3279
- var B = Xn(u.style.slice(2));
3300
+ if (u && yt(u == null ? void 0 : u.style, "::", 0)) {
3301
+ var B = Zn(u.style.slice(2));
3280
3302
  if (a === "number") {
3281
3303
  var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
3282
3304
  return f.err ? f : {
3283
- val: { type: x.number, value: n, location: v, style: f.val },
3305
+ val: { type: E.number, value: n, location: v, style: f.val },
3284
3306
  err: null
3285
3307
  };
3286
3308
  } else {
3287
3309
  if (B.length === 0)
3288
3310
  return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
3289
3311
  var $ = B;
3290
- this.locale && ($ = Ln(B, this.locale));
3312
+ this.locale && ($ = Cn(B, this.locale));
3291
3313
  var c = {
3292
3314
  type: z.dateTime,
3293
3315
  pattern: $,
3294
3316
  location: u.styleLocation,
3295
- parsedOptions: this.shouldParseSkeletons ? Hn($) : {}
3296
- }, P = a === "date" ? x.date : x.time;
3317
+ parsedOptions: this.shouldParseSkeletons ? wn($) : {}
3318
+ }, P = a === "date" ? E.date : E.time;
3297
3319
  return {
3298
3320
  val: { type: P, value: n, location: v, style: c },
3299
3321
  err: null
@@ -3302,7 +3324,7 @@ var zn = (
3302
3324
  }
3303
3325
  return {
3304
3326
  val: {
3305
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3327
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3306
3328
  value: n,
3307
3329
  location: v,
3308
3330
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3327,26 +3349,26 @@ var zn = (
3327
3349
  return f;
3328
3350
  this.bumpSpace(), R = this.parseIdentifierIfPossible(), O = f.val;
3329
3351
  }
3330
- var D = this.tryParsePluralOrSelectOptions(t, a, r, R);
3331
- if (D.err)
3332
- return D;
3352
+ var G = this.tryParsePluralOrSelectOptions(t, a, r, R);
3353
+ if (G.err)
3354
+ return G;
3333
3355
  var y = this.tryParseArgumentClose(i);
3334
3356
  if (y.err)
3335
3357
  return y;
3336
3358
  var ue = m(i, this.clonePosition());
3337
3359
  return a === "select" ? {
3338
3360
  val: {
3339
- type: x.select,
3361
+ type: E.select,
3340
3362
  value: n,
3341
- options: bt(D.val),
3363
+ options: vt(G.val),
3342
3364
  location: ue
3343
3365
  },
3344
3366
  err: null
3345
3367
  } : {
3346
3368
  val: {
3347
- type: x.plural,
3369
+ type: E.plural,
3348
3370
  value: n,
3349
- options: bt(D.val),
3371
+ options: vt(G.val),
3350
3372
  offset: O,
3351
3373
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3352
3374
  location: ue
@@ -3397,7 +3419,7 @@ var zn = (
3397
3419
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3398
3420
  var n = [];
3399
3421
  try {
3400
- n = An(t);
3422
+ n = On(t);
3401
3423
  } catch (i) {
3402
3424
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3403
3425
  }
@@ -3406,7 +3428,7 @@ var zn = (
3406
3428
  type: z.number,
3407
3429
  tokens: n,
3408
3430
  location: r,
3409
- parsedOptions: this.shouldParseSkeletons ? In(n) : {}
3431
+ parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3410
3432
  },
3411
3433
  err: null
3412
3434
  };
@@ -3454,7 +3476,7 @@ var zn = (
3454
3476
  break;
3455
3477
  }
3456
3478
  var h = m(i, this.clonePosition());
3457
- return o ? (s *= n, kn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3479
+ return o ? (s *= n, Wn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3458
3480
  }, e.prototype.offset = function() {
3459
3481
  return this.position.offset;
3460
3482
  }, e.prototype.isEOF = function() {
@@ -3469,7 +3491,7 @@ var zn = (
3469
3491
  var t = this.position.offset;
3470
3492
  if (t >= this.message.length)
3471
3493
  throw Error("out of bound");
3472
- var r = Yt(this.message, t);
3494
+ var r = tr(this.message, t);
3473
3495
  if (r === void 0)
3474
3496
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3475
3497
  return r;
@@ -3488,7 +3510,7 @@ var zn = (
3488
3510
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3489
3511
  }
3490
3512
  }, e.prototype.bumpIf = function(t) {
3491
- if (mt(this.message, t, this.offset())) {
3513
+ if (yt(this.message, t, this.offset())) {
3492
3514
  for (var r = 0; r < t.length; r++)
3493
3515
  this.bump();
3494
3516
  return !0;
@@ -3510,7 +3532,7 @@ var zn = (
3510
3532
  break;
3511
3533
  }
3512
3534
  }, e.prototype.bumpSpace = function() {
3513
- for (; !this.isEOF() && Kt(this.char()); )
3535
+ for (; !this.isEOF() && nr(this.char()); )
3514
3536
  this.bump();
3515
3537
  }, e.prototype.peek = function() {
3516
3538
  if (this.isEOF())
@@ -3520,43 +3542,43 @@ var zn = (
3520
3542
  }, e;
3521
3543
  }()
3522
3544
  );
3523
- function ke(e) {
3545
+ function Ve(e) {
3524
3546
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3525
3547
  }
3526
- function Zn(e) {
3527
- return ke(e) || e === 47;
3548
+ function Yn(e) {
3549
+ return Ve(e) || e === 47;
3528
3550
  }
3529
- function Qn(e) {
3551
+ function qn(e) {
3530
3552
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3531
3553
  }
3532
- function Kt(e) {
3554
+ function nr(e) {
3533
3555
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3534
3556
  }
3535
- function Jn(e) {
3557
+ function Kn(e) {
3536
3558
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3537
3559
  }
3538
- function Ve(e) {
3560
+ function Xe(e) {
3539
3561
  e.forEach(function(t) {
3540
- if (delete t.location, kt(t) || Vt(t))
3562
+ if (delete t.location, zt(t) || Zt(t))
3541
3563
  for (var r in t.options)
3542
- delete t.options[r].location, Ve(t.options[r].value);
3543
- else Dt(t) && Wt(t.style) || (Ft(t) || jt(t)) && Ge(t.style) ? delete t.style.location : Xt(t) && Ve(t.children);
3564
+ delete t.options[r].location, Xe(t.options[r].value);
3565
+ else Vt(t) && Jt(t.style) || (Xt(t) || Wt(t)) && Ge(t.style) ? delete t.style.location : Qt(t) && Xe(t.children);
3544
3566
  });
3545
3567
  }
3546
- function Yn(e, t) {
3568
+ function ei(e, t) {
3547
3569
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3548
- var r = new zn(e, t).parse();
3570
+ var r = new Jn(e, t).parse();
3549
3571
  if (r.err) {
3550
3572
  var n = SyntaxError(d[r.err.kind]);
3551
3573
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3552
3574
  }
3553
- return t != null && t.captureLocation || Ve(r.val), r.val;
3575
+ return t != null && t.captureLocation || Xe(r.val), r.val;
3554
3576
  }
3555
3577
  var Z;
3556
3578
  (function(e) {
3557
3579
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3558
3580
  })(Z || (Z = {}));
3559
- var xe = (
3581
+ var Ee = (
3560
3582
  /** @class */
3561
3583
  function(e) {
3562
3584
  M(t, e);
@@ -3568,7 +3590,7 @@ var xe = (
3568
3590
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3569
3591
  }, t;
3570
3592
  }(Error)
3571
- ), yt = (
3593
+ ), xt = (
3572
3594
  /** @class */
3573
3595
  function(e) {
3574
3596
  M(t, e);
@@ -3576,8 +3598,8 @@ var xe = (
3576
3598
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3577
3599
  }
3578
3600
  return t;
3579
- }(xe)
3580
- ), qn = (
3601
+ }(Ee)
3602
+ ), ti = (
3581
3603
  /** @class */
3582
3604
  function(e) {
3583
3605
  M(t, e);
@@ -3585,8 +3607,8 @@ var xe = (
3585
3607
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3586
3608
  }
3587
3609
  return t;
3588
- }(xe)
3589
- ), Kn = (
3610
+ }(Ee)
3611
+ ), ri = (
3590
3612
  /** @class */
3591
3613
  function(e) {
3592
3614
  M(t, e);
@@ -3594,129 +3616,129 @@ var xe = (
3594
3616
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3595
3617
  }
3596
3618
  return t;
3597
- }(xe)
3598
- ), _;
3619
+ }(Ee)
3620
+ ), x;
3599
3621
  (function(e) {
3600
3622
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3601
- })(_ || (_ = {}));
3602
- function ei(e) {
3623
+ })(x || (x = {}));
3624
+ function ni(e) {
3603
3625
  return e.length < 2 ? e : e.reduce(function(t, r) {
3604
3626
  var n = t[t.length - 1];
3605
- return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3627
+ return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3606
3628
  }, []);
3607
3629
  }
3608
- function ti(e) {
3630
+ function ii(e) {
3609
3631
  return typeof e == "function";
3610
3632
  }
3611
3633
  function pe(e, t, r, n, i, o, s) {
3612
- if (e.length === 1 && ct(e[0]))
3634
+ if (e.length === 1 && dt(e[0]))
3613
3635
  return [
3614
3636
  {
3615
- type: _.literal,
3637
+ type: x.literal,
3616
3638
  value: e[0].value
3617
3639
  }
3618
3640
  ];
3619
3641
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3620
3642
  var l = u[h];
3621
- if (ct(l)) {
3643
+ if (dt(l)) {
3622
3644
  a.push({
3623
- type: _.literal,
3645
+ type: x.literal,
3624
3646
  value: l.value
3625
3647
  });
3626
3648
  continue;
3627
3649
  }
3628
- if (Sn(l)) {
3650
+ if (Bn(l)) {
3629
3651
  typeof o == "number" && a.push({
3630
- type: _.literal,
3652
+ type: x.literal,
3631
3653
  value: r.getNumberFormat(t).format(o)
3632
3654
  });
3633
3655
  continue;
3634
3656
  }
3635
3657
  var f = l.value;
3636
3658
  if (!(i && f in i))
3637
- throw new Kn(f, s);
3659
+ throw new ri(f, s);
3638
3660
  var c = i[f];
3639
- if (En(l)) {
3661
+ if (Hn(l)) {
3640
3662
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3641
- type: typeof c == "string" ? _.literal : _.object,
3663
+ type: typeof c == "string" ? x.literal : x.object,
3642
3664
  value: c
3643
3665
  });
3644
3666
  continue;
3645
3667
  }
3646
- if (Ft(l)) {
3668
+ if (Xt(l)) {
3647
3669
  var p = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
3648
3670
  a.push({
3649
- type: _.literal,
3671
+ type: x.literal,
3650
3672
  value: r.getDateTimeFormat(t, p).format(c)
3651
3673
  });
3652
3674
  continue;
3653
3675
  }
3654
- if (jt(l)) {
3676
+ if (Wt(l)) {
3655
3677
  var p = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
3656
3678
  a.push({
3657
- type: _.literal,
3679
+ type: x.literal,
3658
3680
  value: r.getDateTimeFormat(t, p).format(c)
3659
3681
  });
3660
3682
  continue;
3661
3683
  }
3662
- if (Dt(l)) {
3663
- var p = typeof l.style == "string" ? n.number[l.style] : Wt(l.style) ? l.style.parsedOptions : void 0;
3684
+ if (Vt(l)) {
3685
+ var p = typeof l.style == "string" ? n.number[l.style] : Jt(l.style) ? l.style.parsedOptions : void 0;
3664
3686
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3665
- type: _.literal,
3687
+ type: x.literal,
3666
3688
  value: r.getNumberFormat(t, p).format(c)
3667
3689
  });
3668
3690
  continue;
3669
3691
  }
3670
- if (Xt(l)) {
3692
+ if (Qt(l)) {
3671
3693
  var y = l.children, v = l.value, B = i[v];
3672
- if (!ti(B))
3673
- throw new qn(v, "function", s);
3694
+ if (!ii(B))
3695
+ throw new ti(v, "function", s);
3674
3696
  var $ = pe(y, t, r, n, i, o), P = B($.map(function(O) {
3675
3697
  return O.value;
3676
3698
  }));
3677
3699
  Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
3678
3700
  return {
3679
- type: typeof O == "string" ? _.literal : _.object,
3701
+ type: typeof O == "string" ? x.literal : x.object,
3680
3702
  value: O
3681
3703
  };
3682
3704
  }));
3683
3705
  }
3684
- if (kt(l)) {
3706
+ if (zt(l)) {
3685
3707
  var S = l.options[c] || l.options.other;
3686
3708
  if (!S)
3687
- throw new yt(l.value, c, Object.keys(l.options), s);
3709
+ throw new xt(l.value, c, Object.keys(l.options), s);
3688
3710
  a.push.apply(a, pe(S.value, t, r, n, i));
3689
3711
  continue;
3690
3712
  }
3691
- if (Vt(l)) {
3713
+ if (Zt(l)) {
3692
3714
  var S = l.options["=".concat(c)];
3693
3715
  if (!S) {
3694
3716
  if (!Intl.PluralRules)
3695
- throw new xe(`Intl.PluralRules is not available in this environment.
3717
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3696
3718
  Try polyfilling it using "@formatjs/intl-pluralrules"
3697
3719
  `, Z.MISSING_INTL_API, s);
3698
3720
  var R = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3699
3721
  S = l.options[R] || l.options.other;
3700
3722
  }
3701
3723
  if (!S)
3702
- throw new yt(l.value, c, Object.keys(l.options), s);
3724
+ throw new xt(l.value, c, Object.keys(l.options), s);
3703
3725
  a.push.apply(a, pe(S.value, t, r, n, i, c - (l.offset || 0)));
3704
3726
  continue;
3705
3727
  }
3706
3728
  }
3707
- return ei(a);
3729
+ return ni(a);
3708
3730
  }
3709
- function ri(e, t) {
3731
+ function oi(e, t) {
3710
3732
  return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3711
3733
  return r[n] = g(g({}, e[n]), t[n] || {}), r;
3712
3734
  }, {})) : e;
3713
3735
  }
3714
- function ni(e, t) {
3736
+ function si(e, t) {
3715
3737
  return t ? Object.keys(e).reduce(function(r, n) {
3716
- return r[n] = ri(e[n], t[n]), r;
3738
+ return r[n] = oi(e[n], t[n]), r;
3717
3739
  }, g({}, e)) : e;
3718
3740
  }
3719
- function Pe(e) {
3741
+ function Oe(e) {
3720
3742
  return {
3721
3743
  create: function() {
3722
3744
  return {
@@ -3730,39 +3752,39 @@ function Pe(e) {
3730
3752
  }
3731
3753
  };
3732
3754
  }
3733
- function ii(e) {
3755
+ function ai(e) {
3734
3756
  return e === void 0 && (e = {
3735
3757
  number: {},
3736
3758
  dateTime: {},
3737
3759
  pluralRules: {}
3738
3760
  }), {
3739
- getNumberFormat: Be(function() {
3761
+ getNumberFormat: Ae(function() {
3740
3762
  for (var t, r = [], n = 0; n < arguments.length; n++)
3741
3763
  r[n] = arguments[n];
3742
3764
  return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3743
3765
  }, {
3744
- cache: Pe(e.number),
3745
- strategy: Ae.variadic
3766
+ cache: Oe(e.number),
3767
+ strategy: we.variadic
3746
3768
  }),
3747
- getDateTimeFormat: Be(function() {
3769
+ getDateTimeFormat: Ae(function() {
3748
3770
  for (var t, r = [], n = 0; n < arguments.length; n++)
3749
3771
  r[n] = arguments[n];
3750
3772
  return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3751
3773
  }, {
3752
- cache: Pe(e.dateTime),
3753
- strategy: Ae.variadic
3774
+ cache: Oe(e.dateTime),
3775
+ strategy: we.variadic
3754
3776
  }),
3755
- getPluralRules: Be(function() {
3777
+ getPluralRules: Ae(function() {
3756
3778
  for (var t, r = [], n = 0; n < arguments.length; n++)
3757
3779
  r[n] = arguments[n];
3758
3780
  return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3759
3781
  }, {
3760
- cache: Pe(e.pluralRules),
3761
- strategy: Ae.variadic
3782
+ cache: Oe(e.pluralRules),
3783
+ strategy: we.variadic
3762
3784
  })
3763
3785
  };
3764
3786
  }
3765
- var oi = (
3787
+ var ui = (
3766
3788
  /** @class */
3767
3789
  function() {
3768
3790
  function e(t, r, n, i) {
@@ -3777,7 +3799,7 @@ var oi = (
3777
3799
  if (u.length === 1)
3778
3800
  return u[0].value;
3779
3801
  var l = u.reduce(function(f, c) {
3780
- return !f.length || c.type !== _.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3802
+ return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3781
3803
  }, []);
3782
3804
  return l.length <= 1 ? l[0] || "" : l;
3783
3805
  }, this.formatToParts = function(h) {
@@ -3794,13 +3816,13 @@ var oi = (
3794
3816
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3795
3817
  var s = i || {};
3796
3818
  s.formatters;
3797
- var a = $r(s, ["formatters"]);
3819
+ var a = Gr(s, ["formatters"]);
3798
3820
  this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3799
3821
  } else
3800
3822
  this.ast = t;
3801
3823
  if (!Array.isArray(this.ast))
3802
3824
  throw new TypeError("A message must be provided as a String or AST.");
3803
- this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
3825
+ this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3804
3826
  }
3805
3827
  return Object.defineProperty(e, "defaultLocale", {
3806
3828
  get: function() {
@@ -3813,7 +3835,7 @@ var oi = (
3813
3835
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3814
3836
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3815
3837
  }
3816
- }, e.__parse = Yn, e.formats = {
3838
+ }, e.__parse = ei, e.formats = {
3817
3839
  number: {
3818
3840
  integer: {
3819
3841
  maximumFractionDigits: 0
@@ -3874,7 +3896,7 @@ var oi = (
3874
3896
  }, e;
3875
3897
  }()
3876
3898
  );
3877
- function si(e, t) {
3899
+ function hi(e, t) {
3878
3900
  if (t == null)
3879
3901
  return;
3880
3902
  if (t in e)
@@ -3895,92 +3917,92 @@ function si(e, t) {
3895
3917
  n = void 0;
3896
3918
  return n;
3897
3919
  }
3898
- const C = {}, ai = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), er = (e, t) => {
3920
+ const C = {}, li = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), ir = (e, t) => {
3899
3921
  if (t == null)
3900
3922
  return;
3901
3923
  if (t in C && e in C[t])
3902
3924
  return C[t][e];
3903
- const r = _e(t);
3925
+ const r = xe(t);
3904
3926
  for (let n = 0; n < r.length; n++) {
3905
- const i = r[n], o = hi(i, e);
3927
+ const i = r[n], o = fi(i, e);
3906
3928
  if (o)
3907
- return ai(e, t, o);
3929
+ return li(e, t, o);
3908
3930
  }
3909
3931
  };
3910
- let Qe;
3932
+ let qe;
3911
3933
  const ae = ve({});
3912
- function ui(e) {
3913
- return Qe[e] || null;
3934
+ function ci(e) {
3935
+ return qe[e] || null;
3914
3936
  }
3915
- function tr(e) {
3916
- return e in Qe;
3937
+ function or(e) {
3938
+ return e in qe;
3917
3939
  }
3918
- function hi(e, t) {
3919
- if (!tr(e))
3940
+ function fi(e, t) {
3941
+ if (!or(e))
3920
3942
  return null;
3921
- const r = ui(e);
3922
- return si(r, t);
3943
+ const r = ci(e);
3944
+ return hi(r, t);
3923
3945
  }
3924
- function li(e) {
3946
+ function pi(e) {
3925
3947
  if (e == null)
3926
3948
  return;
3927
- const t = _e(e);
3949
+ const t = xe(e);
3928
3950
  for (let r = 0; r < t.length; r++) {
3929
3951
  const n = t[r];
3930
- if (tr(n))
3952
+ if (or(n))
3931
3953
  return n;
3932
3954
  }
3933
3955
  }
3934
- function rr(e, ...t) {
3935
- delete C[e], ae.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
3956
+ function sr(e, ...t) {
3957
+ delete C[e], ae.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
3936
3958
  }
3937
3959
  Y(
3938
3960
  [ae],
3939
3961
  ([e]) => Object.keys(e)
3940
3962
  );
3941
- ae.subscribe((e) => Qe = e);
3963
+ ae.subscribe((e) => qe = e);
3942
3964
  const de = {};
3943
- function ci(e, t) {
3965
+ function di(e, t) {
3944
3966
  de[e].delete(t), de[e].size === 0 && delete de[e];
3945
3967
  }
3946
- function nr(e) {
3968
+ function ar(e) {
3947
3969
  return de[e];
3948
3970
  }
3949
- function fi(e) {
3950
- return _e(e).map((t) => {
3951
- const r = nr(t);
3971
+ function mi(e) {
3972
+ return xe(e).map((t) => {
3973
+ const r = ar(t);
3952
3974
  return [t, r ? [...r] : []];
3953
3975
  }).filter(([, t]) => t.length > 0);
3954
3976
  }
3955
- function Xe(e) {
3956
- return e == null ? !1 : _e(e).some(
3977
+ function We(e) {
3978
+ return e == null ? !1 : xe(e).some(
3957
3979
  (t) => {
3958
3980
  var r;
3959
- return (r = nr(t)) == null ? void 0 : r.size;
3981
+ return (r = ar(t)) == null ? void 0 : r.size;
3960
3982
  }
3961
3983
  );
3962
3984
  }
3963
- function pi(e, t) {
3985
+ function bi(e, t) {
3964
3986
  return Promise.all(
3965
- t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
3966
- ).then((n) => rr(e, ...n));
3987
+ t.map((n) => (di(e, n), n().then((i) => i.default || i)))
3988
+ ).then((n) => sr(e, ...n));
3967
3989
  }
3968
3990
  const te = {};
3969
- function ir(e) {
3970
- if (!Xe(e))
3991
+ function ur(e) {
3992
+ if (!We(e))
3971
3993
  return e in te ? te[e] : Promise.resolve();
3972
- const t = fi(e);
3994
+ const t = mi(e);
3973
3995
  return te[e] = Promise.all(
3974
3996
  t.map(
3975
- ([r, n]) => pi(r, n)
3997
+ ([r, n]) => bi(r, n)
3976
3998
  )
3977
3999
  ).then(() => {
3978
- if (Xe(e))
3979
- return ir(e);
4000
+ if (We(e))
4001
+ return ur(e);
3980
4002
  delete te[e];
3981
4003
  }), te[e];
3982
4004
  }
3983
- const di = {
4005
+ const gi = {
3984
4006
  number: {
3985
4007
  scientific: { notation: "scientific" },
3986
4008
  engineering: { notation: "engineering" },
@@ -4009,78 +4031,78 @@ const di = {
4009
4031
  timeZoneName: "short"
4010
4032
  }
4011
4033
  }
4012
- }, mi = {
4034
+ }, yi = {
4013
4035
  fallbackLocale: null,
4014
4036
  loadingDelay: 200,
4015
- formats: di,
4037
+ formats: gi,
4016
4038
  warnOnMissingMessages: !0,
4017
4039
  handleMissingMessage: void 0,
4018
4040
  ignoreTag: !0
4019
- }, bi = mi;
4041
+ }, vi = yi;
4020
4042
  function Q() {
4021
- return bi;
4043
+ return vi;
4022
4044
  }
4023
- const Oe = ve(!1);
4024
- var gi = Object.defineProperty, yi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
4045
+ const Ie = ve(!1);
4046
+ var Ei = Object.defineProperty, xi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, _t = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4025
4047
  for (var r in t || (t = {}))
4026
- xi.call(t, r) && xt(e, r, t[r]);
4027
- if (vt)
4028
- for (var r of vt(t))
4029
- _i.call(t, r) && xt(e, r, t[r]);
4048
+ Si.call(t, r) && St(e, r, t[r]);
4049
+ if (_t)
4050
+ for (var r of _t(t))
4051
+ Ti.call(t, r) && St(e, r, t[r]);
4030
4052
  return e;
4031
- }, Si = (e, t) => yi(e, vi(t));
4032
- let We;
4053
+ }, Bi = (e, t) => xi(e, _i(t));
4054
+ let ze;
4033
4055
  const me = ve(null);
4034
- function _t(e) {
4056
+ function Tt(e) {
4035
4057
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4036
4058
  }
4037
- function _e(e, t = Q().fallbackLocale) {
4038
- const r = _t(e);
4039
- return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
4059
+ function xe(e, t = Q().fallbackLocale) {
4060
+ const r = Tt(e);
4061
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4040
4062
  }
4041
- function G() {
4042
- return We != null ? We : void 0;
4063
+ function D() {
4064
+ return ze != null ? ze : void 0;
4043
4065
  }
4044
4066
  me.subscribe((e) => {
4045
- We = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4067
+ ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4046
4068
  });
4047
- const Ti = (e) => {
4048
- if (e && li(e) && Xe(e)) {
4069
+ const Ai = (e) => {
4070
+ if (e && pi(e) && We(e)) {
4049
4071
  const { loadingDelay: t } = Q();
4050
4072
  let r;
4051
- return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
4052
- () => Oe.set(!0),
4073
+ return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
4074
+ () => Ie.set(!0),
4053
4075
  t
4054
- ) : Oe.set(!0), ir(e).then(() => {
4076
+ ) : Ie.set(!0), ur(e).then(() => {
4055
4077
  me.set(e);
4056
4078
  }).finally(() => {
4057
- clearTimeout(r), Oe.set(!1);
4079
+ clearTimeout(r), Ie.set(!1);
4058
4080
  });
4059
4081
  }
4060
4082
  return me.set(e);
4061
- }, q = Si(Ei({}, me), {
4062
- set: Ti
4063
- }), Ee = (e) => {
4083
+ }, q = Bi(Hi({}, me), {
4084
+ set: Ai
4085
+ }), _e = (e) => {
4064
4086
  const t = /* @__PURE__ */ Object.create(null);
4065
4087
  return (n) => {
4066
4088
  const i = JSON.stringify(n);
4067
4089
  return i in t ? t[i] : t[i] = e(n);
4068
4090
  };
4069
4091
  };
4070
- var Hi = Object.defineProperty, be = Object.getOwnPropertySymbols, or = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4092
+ var wi = Object.defineProperty, be = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4071
4093
  for (var r in t || (t = {}))
4072
- or.call(t, r) && Et(e, r, t[r]);
4094
+ hr.call(t, r) && Ht(e, r, t[r]);
4073
4095
  if (be)
4074
4096
  for (var r of be(t))
4075
- sr.call(t, r) && Et(e, r, t[r]);
4097
+ lr.call(t, r) && Ht(e, r, t[r]);
4076
4098
  return e;
4077
4099
  }, K = (e, t) => {
4078
4100
  var r = {};
4079
4101
  for (var n in e)
4080
- or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4102
+ hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4081
4103
  if (e != null && be)
4082
4104
  for (var n of be(e))
4083
- t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
4105
+ t.indexOf(n) < 0 && lr.call(e, n) && (r[n] = e[n]);
4084
4106
  return r;
4085
4107
  };
4086
4108
  const ie = (e, t) => {
@@ -4088,21 +4110,21 @@ const ie = (e, t) => {
4088
4110
  if (e in r && t in r[e])
4089
4111
  return r[e][t];
4090
4112
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4091
- }, Bi = Ee(
4113
+ }, Pi = _e(
4092
4114
  (e) => {
4093
4115
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4094
4116
  if (r == null)
4095
4117
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4096
4118
  return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4097
4119
  }
4098
- ), Ai = Ee(
4120
+ ), Oi = _e(
4099
4121
  (e) => {
4100
4122
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4101
4123
  if (r == null)
4102
4124
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4103
4125
  return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4104
4126
  }
4105
- ), wi = Ee(
4127
+ ), Ii = _e(
4106
4128
  (e) => {
4107
4129
  var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4108
4130
  if (r == null)
@@ -4111,46 +4133,46 @@ const ie = (e, t) => {
4111
4133
  );
4112
4134
  return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4113
4135
  }
4114
- ), Pi = (e = {}) => {
4136
+ ), Li = (e = {}) => {
4115
4137
  var t = e, {
4116
- locale: r = G()
4138
+ locale: r = D()
4117
4139
  } = t, n = K(t, [
4118
4140
  "locale"
4119
4141
  ]);
4120
- return Bi(Je({ locale: r }, n));
4121
- }, Oi = (e = {}) => {
4142
+ return Pi(Ke({ locale: r }, n));
4143
+ }, Ni = (e = {}) => {
4122
4144
  var t = e, {
4123
- locale: r = G()
4145
+ locale: r = D()
4124
4146
  } = t, n = K(t, [
4125
4147
  "locale"
4126
4148
  ]);
4127
- return Ai(Je({ locale: r }, n));
4128
- }, Ii = (e = {}) => {
4149
+ return Oi(Ke({ locale: r }, n));
4150
+ }, Mi = (e = {}) => {
4129
4151
  var t = e, {
4130
- locale: r = G()
4152
+ locale: r = D()
4131
4153
  } = t, n = K(t, [
4132
4154
  "locale"
4133
4155
  ]);
4134
- return wi(Je({ locale: r }, n));
4135
- }, Li = Ee(
4156
+ return Ii(Ke({ locale: r }, n));
4157
+ }, Ci = _e(
4136
4158
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4137
- (e, t = G()) => new oi(e, t, Q().formats, {
4159
+ (e, t = D()) => new ui(e, t, Q().formats, {
4138
4160
  ignoreTag: Q().ignoreTag
4139
4161
  })
4140
- ), Ni = (e, t = {}) => {
4162
+ ), $i = (e, t = {}) => {
4141
4163
  var r, n, i, o;
4142
4164
  let s = t;
4143
4165
  typeof e == "object" && (s = e, e = s.id);
4144
4166
  const {
4145
4167
  values: a,
4146
- locale: h = G(),
4168
+ locale: h = D(),
4147
4169
  default: u
4148
4170
  } = s;
4149
4171
  if (h == null)
4150
4172
  throw new Error(
4151
4173
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4152
4174
  );
4153
- let l = er(e, h);
4175
+ let l = ir(e, h);
4154
4176
  if (!l)
4155
4177
  l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4156
4178
  else if (typeof l != "string")
@@ -4161,7 +4183,7 @@ const ie = (e, t) => {
4161
4183
  return l;
4162
4184
  let f = l;
4163
4185
  try {
4164
- f = Li(l, h).format(a);
4186
+ f = Ci(l, h).format(a);
4165
4187
  } catch (c) {
4166
4188
  c instanceof Error && console.warn(
4167
4189
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4169,20 +4191,20 @@ const ie = (e, t) => {
4169
4191
  );
4170
4192
  }
4171
4193
  return f;
4172
- }, Mi = (e, t) => Ii(t).format(e), Ci = (e, t) => Oi(t).format(e), $i = (e, t) => Pi(t).format(e), Ri = (e, t = G()) => er(e, t), Ui = Y([q, ae], () => Ni);
4173
- Y([q], () => Mi);
4174
- Y([q], () => Ci);
4175
- Y([q], () => $i);
4176
- Y([q, ae], () => Ri);
4177
- window.emWidgets = { topic: Jr };
4178
- const Gi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4179
- function St(e, t) {
4180
- rr(e, t);
4181
- }
4182
- function Di(e) {
4194
+ }, Ri = (e, t) => Mi(t).format(e), Ui = (e, t) => Ni(t).format(e), Di = (e, t) => Li(t).format(e), Gi = (e, t = D()) => ir(e, t), Fi = Y([q, ae], () => $i);
4195
+ Y([q], () => Ri);
4196
+ Y([q], () => Ui);
4197
+ Y([q], () => Di);
4198
+ Y([q, ae], () => Gi);
4199
+ window.emWidgets = { topic: en };
4200
+ const ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4201
+ function Bt(e, t) {
4202
+ sr(e, t);
4203
+ }
4204
+ function ki(e) {
4183
4205
  q.set(e);
4184
4206
  }
4185
- const Tt = {
4207
+ const At = {
4186
4208
  en: {
4187
4209
  logoutButton: "Logout"
4188
4210
  },
@@ -4217,10 +4239,10 @@ const Tt = {
4217
4239
  logoutButton: "Logout"
4218
4240
  }
4219
4241
  };
4220
- function Fi(e) {
4221
- br(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))}");
4242
+ function Vi(e) {
4243
+ Er(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))}");
4222
4244
  }
4223
- function ji(e) {
4245
+ function Xi(e) {
4224
4246
  let t, r, n, i = (
4225
4247
  /*$_*/
4226
4248
  e[2]("logoutButton") + ""
@@ -4230,7 +4252,7 @@ function ji(e) {
4230
4252
  t = L("div"), r = L("button"), n = L("span"), o = ge(i), H(t, "class", "GeneralLogout");
4231
4253
  },
4232
4254
  m(h, u) {
4233
- se(h, t, u), E(t, r), E(r, n), E(n, o), s || (a = wt(
4255
+ se(h, t, u), _(t, r), _(r, n), _(n, o), s || (a = It(
4234
4256
  r,
4235
4257
  "click",
4236
4258
  /*click_handler_1*/
@@ -4240,19 +4262,19 @@ function ji(e) {
4240
4262
  p(h, u) {
4241
4263
  u & /*$_*/
4242
4264
  4 && i !== (i = /*$_*/
4243
- h[2]("logoutButton") + "") && Pt(o, i);
4265
+ h[2]("logoutButton") + "") && Lt(o, i);
4244
4266
  },
4245
4267
  d(h) {
4246
4268
  h && J(t), s = !1, a();
4247
4269
  }
4248
4270
  };
4249
4271
  }
4250
- function ki(e) {
4272
+ function Wi(e) {
4251
4273
  let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
4252
- e[3] && Vi(e);
4274
+ e[3] && zi(e);
4253
4275
  return {
4254
4276
  c() {
4255
- t = L("p"), r = L("span"), n = ee("svg"), i = ee("defs"), o = ee("style"), s = ge(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = ee("path"), h = ee("path"), u = vr(), c && c.c(), H(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(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"), H(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(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"), H(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), H(n, "data-name", "Layer 1"), H(n, "xmlns", "http://www.w3.org/2000/svg"), H(n, "viewBox", "0 0 150 150"), _r(r, "width", /*isMobile*/
4277
+ t = L("p"), r = L("span"), n = ee("svg"), i = ee("defs"), o = ee("style"), s = ge(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = ee("path"), h = ee("path"), u = Sr(), c && c.c(), H(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(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"), H(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(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"), H(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), H(n, "data-name", "Layer 1"), H(n, "xmlns", "http://www.w3.org/2000/svg"), H(n, "viewBox", "0 0 150 150"), Hr(r, "width", /*isMobile*/
4256
4278
  e[3] ? (
4257
4279
  /*mediaQuery*/
4258
4280
  e[4].matches ? "50px" : "24px"
@@ -4262,7 +4284,7 @@ function ki(e) {
4262
4284
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4263
4285
  },
4264
4286
  m(p, y) {
4265
- se(p, t, y), E(t, r), E(r, n), E(n, i), E(i, o), E(o, s), E(n, a), E(n, h), E(t, u), c && c.m(t, null), l || (f = wt(
4287
+ se(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 = It(
4266
4288
  t,
4267
4289
  "click",
4268
4290
  /*click_handler*/
@@ -4278,7 +4300,7 @@ function ki(e) {
4278
4300
  }
4279
4301
  };
4280
4302
  }
4281
- function Vi(e) {
4303
+ function zi(e) {
4282
4304
  let t, r = (
4283
4305
  /*$_*/
4284
4306
  e[2]("logoutButton") + ""
@@ -4288,24 +4310,24 @@ function Vi(e) {
4288
4310
  t = L("span"), n = ge(r), H(t, "class", "PlayerLogoutText");
4289
4311
  },
4290
4312
  m(i, o) {
4291
- se(i, t, o), E(t, n);
4313
+ se(i, t, o), _(t, n);
4292
4314
  },
4293
4315
  p(i, o) {
4294
4316
  o & /*$_*/
4295
4317
  4 && r !== (r = /*$_*/
4296
- i[2]("logoutButton") + "") && Pt(n, r);
4318
+ i[2]("logoutButton") + "") && Lt(n, r);
4297
4319
  },
4298
4320
  d(i) {
4299
4321
  i && J(t);
4300
4322
  }
4301
4323
  };
4302
4324
  }
4303
- function Xi(e) {
4325
+ function Zi(e) {
4304
4326
  let t;
4305
4327
  function r(o, s) {
4306
4328
  return (
4307
4329
  /*buttonlocation*/
4308
- o[0] === "PlayerAccountMenu" ? ki : ji
4330
+ o[0] === "PlayerAccountMenu" ? Wi : Xi
4309
4331
  );
4310
4332
  }
4311
4333
  let n = r(e), i = n(e);
@@ -4326,21 +4348,21 @@ function Xi(e) {
4326
4348
  }
4327
4349
  };
4328
4350
  }
4329
- function Wi(e, t, r) {
4351
+ function Qi(e, t, r) {
4330
4352
  let n;
4331
- mr(e, Ui, (b) => r(2, n = b));
4332
- 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 = Gi(y) !== "PC";
4353
+ vr(e, Fi, (b) => r(2, n = b));
4354
+ 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 = ji(y) !== "PC";
4333
4355
  const B = window.matchMedia("(min-width: 768px)"), $ = () => {
4334
4356
  fetch(l).then((A) => A.json()).then((A) => {
4335
4357
  Object.keys(A).forEach((U) => {
4336
- St(U, A[U]);
4358
+ Bt(U, A[U]);
4337
4359
  });
4338
4360
  }).catch((A) => {
4339
4361
  console.log(A);
4340
4362
  });
4341
4363
  };
4342
- Object.keys(Tt).forEach((b) => {
4343
- St(b, Tt[b]);
4364
+ Object.keys(At).forEach((b) => {
4365
+ Bt(b, At[b]);
4344
4366
  });
4345
4367
  const P = () => {
4346
4368
  let b = new Headers();
@@ -4350,11 +4372,11 @@ function Wi(e, t, r) {
4350
4372
  window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
4351
4373
  });
4352
4374
  }, 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), R = () => {
4353
- Di(a);
4375
+ ki(a);
4354
4376
  }, O = () => {
4355
4377
  let b = document.createElement("style");
4356
4378
  b.innerHTML = h, p.appendChild(b);
4357
- }, D = () => {
4379
+ }, G = () => {
4358
4380
  let b = new URL(u), A = document.createElement("style");
4359
4381
  fetch(b.href).then((U) => U.text()).then((U) => {
4360
4382
  A.innerHTML = U, setTimeout(
@@ -4368,9 +4390,9 @@ function Wi(e, t, r) {
4368
4390
  500
4369
4391
  );
4370
4392
  });
4371
- }, ue = () => P(), ar = () => P();
4372
- function ur(b) {
4373
- Ie[b ? "unshift" : "push"](() => {
4393
+ }, ue = () => P(), cr = () => P();
4394
+ function fr(b) {
4395
+ Le[b ? "unshift" : "push"](() => {
4374
4396
  p = b, r(1, p);
4375
4397
  });
4376
4398
  }
@@ -4381,7 +4403,7 @@ function Wi(e, t, r) {
4381
4403
  193 && i && o && s && S(), e.$$.dirty & /*lang*/
4382
4404
  256 && a && R(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4383
4405
  514 && h && p && O(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4384
- 1026 && u && p && D(), e.$$.dirty & /*translationurl*/
4406
+ 1026 && u && p && G(), e.$$.dirty & /*translationurl*/
4385
4407
  2048 && l && $();
4386
4408
  }, [
4387
4409
  s,
@@ -4397,18 +4419,18 @@ function Wi(e, t, r) {
4397
4419
  u,
4398
4420
  l,
4399
4421
  ue,
4400
- ar,
4401
- ur
4422
+ cr,
4423
+ fr
4402
4424
  ];
4403
4425
  }
4404
- class zi extends Mr {
4426
+ class Ji extends Ur {
4405
4427
  constructor(t) {
4406
- super(), Lr(
4428
+ super(), $r(
4407
4429
  this,
4408
4430
  t,
4409
- Wi,
4410
- Xi,
4411
- Bt,
4431
+ Qi,
4432
+ Zi,
4433
+ Pt,
4412
4434
  {
4413
4435
  endpoint: 6,
4414
4436
  session: 7,
@@ -4418,7 +4440,7 @@ class zi extends Mr {
4418
4440
  clientstylingurl: 10,
4419
4441
  translationurl: 11
4420
4442
  },
4421
- Fi
4443
+ Vi
4422
4444
  );
4423
4445
  }
4424
4446
  get endpoint() {
@@ -4464,7 +4486,7 @@ class zi extends Mr {
4464
4486
  this.$$set({ translationurl: t }), I();
4465
4487
  }
4466
4488
  }
4467
- Nr(zi, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4489
+ Rr(Ji, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4468
4490
  export {
4469
- zi as default
4491
+ Ji as default
4470
4492
  };