@everymatrix/player-account-menu-nd 1.56.0 → 1.56.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (25) hide show
  1. package/components/GeneralLogout-C645ag3Y.cjs +18 -0
  2. package/components/{GeneralLogout-C62O7X2O.js → GeneralLogout-lRqS5xnM.js} +688 -633
  3. package/components/{GeneralLogout-BbFRw_PP.js → GeneralLogout-nPLOHMgC.js} +712 -657
  4. package/components/{PlayerAccountMenuNd-B-MuRtAL.js → PlayerAccountMenuNd-BzBcsJR_.js} +162 -140
  5. package/components/{PlayerAccountMenuNd-DZrxDH3S.js → PlayerAccountMenuNd-C-lM0H4r.js} +160 -138
  6. package/components/PlayerAccountMenuNd-N2kx0DSl.cjs +1 -0
  7. package/es2015/player-account-menu-nd.cjs +1 -1
  8. package/es2015/player-account-menu-nd.js +1 -1
  9. package/esnext/player-account-menu-nd.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/index-ae04a8b1-DPYODDdm.cjs +1 -0
  12. package/stencil/index-ae04a8b1-DRAR7dln.js +532 -0
  13. package/stencil/index-ae04a8b1-eSktas_K.js +516 -0
  14. package/stencil/{ui-skeleton-DtnYQAt6.cjs → ui-skeleton-C1buDKbo.cjs} +1 -1
  15. package/stencil/{ui-skeleton-rqI1NmdA.js → ui-skeleton-C5gPr5Xv.js} +2 -2
  16. package/stencil/{ui-skeleton-DlfwJJb1.js → ui-skeleton-M7HNQCk1.js} +2 -2
  17. package/stencil/{ui-skeleton-982450d2-BH4FIF5y.js → ui-skeleton-a642cced-BFJMszWG.js} +21 -21
  18. package/stencil/ui-skeleton-a642cced-DO34s50a.cjs +1 -0
  19. package/stencil/{ui-skeleton-982450d2-DGJAETMx.js → ui-skeleton-a642cced-p8tGooXk.js} +21 -21
  20. package/components/GeneralLogout-DTncvqCn.cjs +0 -5
  21. package/components/PlayerAccountMenuNd-awGuTDET.cjs +0 -1
  22. package/stencil/index-db5752f9--Bvt52z2.js +0 -610
  23. package/stencil/index-db5752f9-CAzJb5N3.js +0 -594
  24. package/stencil/index-db5752f9-CEbtfUsZ.cjs +0 -1
  25. package/stencil/ui-skeleton-982450d2-BYrWGs9b.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var lr = Object.defineProperty, cr = Object.defineProperties;
2
- var fr = Object.getOwnPropertyDescriptors;
3
- var Ye = Object.getOwnPropertySymbols;
4
- var pr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
1
+ var mr = Object.defineProperty, br = Object.defineProperties;
2
+ var gr = Object.getOwnPropertyDescriptors;
3
+ var tt = Object.getOwnPropertySymbols;
4
+ var yr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable;
5
+ var He = (e, t, r) => t in e ? mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- pr.call(t, r) && He(e, r, t[r]);
8
- if (Ye)
9
- for (var r of Ye(t))
10
- dr.call(t, r) && He(e, r, t[r]);
7
+ yr.call(t, r) && He(e, r, t[r]);
8
+ if (tt)
9
+ for (var r of tt(t))
10
+ vr.call(t, r) && He(e, r, t[r]);
11
11
  return e;
12
- }, et = (e, t) => cr(e, fr(t));
13
- var H = (e, t, r) => He(e, typeof t != "symbol" ? t + "" : t, r);
14
- var tt = (e, t, r) => new Promise((n, i) => {
12
+ }, nt = (e, t) => br(e, gr(t));
13
+ var H = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var it = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -29,29 +29,29 @@ var tt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function w() {
31
31
  }
32
- function Bt(e) {
32
+ function Ot(e) {
33
33
  return e();
34
34
  }
35
- function rt() {
35
+ function ot() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function oe(e) {
39
- e.forEach(Bt);
39
+ e.forEach(Ot);
40
40
  }
41
- function Qe(e) {
41
+ function qe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function wt(e, t) {
44
+ function It(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let he;
48
- function Ki(e, t) {
48
+ function no(e, t) {
49
49
  return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
50
50
  }
51
- function mr(e) {
51
+ function Er(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function At(e, ...t) {
54
+ function Lt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,21 +60,22 @@ function At(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function br(e, t, r) {
64
- e.$$.on_destroy.push(At(t, r));
63
+ function xr(e, t, r) {
64
+ e.$$.on_destroy.push(Lt(t, r));
65
65
  }
66
66
  function T(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function gr(e, t, r) {
70
- const n = yr(e);
69
+ function _r(e, t, r) {
70
+ const n = Sr(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = O("style");
73
- i.id = t, i.textContent = r, vr(n, i);
73
+ i.id = t, i.textContent = r, Tr(n, i);
74
74
  }
75
75
  }
76
- function yr(e) {
77
- if (!e) return document;
76
+ function Sr(e) {
77
+ if (!e)
78
+ return document;
78
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
79
80
  return t && /** @type {ShadowRoot} */
80
81
  t.host ? (
@@ -82,7 +83,7 @@ function yr(e) {
82
83
  t
83
84
  ) : e.ownerDocument;
84
85
  }
85
- function vr(e, t) {
86
+ function Tr(e, t) {
86
87
  return T(
87
88
  /** @type {Document} */
88
89
  e.head || e,
@@ -95,7 +96,7 @@ function se(e, t, r) {
95
96
  function Q(e) {
96
97
  e.parentNode && e.parentNode.removeChild(e);
97
98
  }
98
- function eo(e, t) {
99
+ function io(e, t) {
99
100
  for (let r = 0; r < e.length; r += 1)
100
101
  e[r] && e[r].d(t);
101
102
  }
@@ -108,30 +109,30 @@ function K(e) {
108
109
  function ye(e) {
109
110
  return document.createTextNode(e);
110
111
  }
111
- function xr() {
112
+ function Hr() {
112
113
  return ye(" ");
113
114
  }
114
- function Pt(e, t, r, n) {
115
+ function Nt(e, t, r, n) {
115
116
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
116
117
  }
117
118
  function S(e, t, r) {
118
119
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
119
120
  }
120
- function to(e, t, r) {
121
+ function oo(e, t, r) {
121
122
  const n = t.toLowerCase();
122
123
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : S(e, t, r);
123
124
  }
124
- function Er(e) {
125
+ function Br(e) {
125
126
  return Array.from(e.childNodes);
126
127
  }
127
- function Ot(e, t) {
128
+ function Mt(e, t) {
128
129
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
129
130
  t);
130
131
  }
131
- function _r(e, t, r, n) {
132
+ function wr(e, t, r, n) {
132
133
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
133
134
  }
134
- function Sr(e) {
135
+ function Ar(e) {
135
136
  const t = {};
136
137
  return e.childNodes.forEach(
137
138
  /** @param {Element} node */
@@ -144,82 +145,84 @@ let re;
144
145
  function te(e) {
145
146
  re = e;
146
147
  }
147
- function Tr() {
148
- if (!re) throw new Error("Function called outside component initialization");
148
+ function Pr() {
149
+ if (!re)
150
+ throw new Error("Function called outside component initialization");
149
151
  return re;
150
152
  }
151
- function Hr(e) {
152
- Tr().$$.on_mount.push(e);
153
+ function Or(e) {
154
+ Pr().$$.on_mount.push(e);
153
155
  }
154
- const j = [], Ne = [];
156
+ const j = [], Me = [];
155
157
  let k = [];
156
- const nt = [], Br = /* @__PURE__ */ Promise.resolve();
157
- let Me = !1;
158
- function wr() {
159
- Me || (Me = !0, Br.then(A));
158
+ const st = [], Ir = /* @__PURE__ */ Promise.resolve();
159
+ let Ce = !1;
160
+ function Lr() {
161
+ Ce || (Ce = !0, Ir.then(A));
160
162
  }
161
- function Ce(e) {
163
+ function $e(e) {
162
164
  k.push(e);
163
165
  }
164
166
  const Be = /* @__PURE__ */ new Set();
165
- let D = 0;
167
+ let G = 0;
166
168
  function A() {
167
- if (D !== 0)
169
+ if (G !== 0)
168
170
  return;
169
171
  const e = re;
170
172
  do {
171
173
  try {
172
- for (; D < j.length; ) {
173
- const t = j[D];
174
- D++, te(t), Ar(t.$$);
174
+ for (; G < j.length; ) {
175
+ const t = j[G];
176
+ G++, te(t), Nr(t.$$);
175
177
  }
176
178
  } catch (t) {
177
- throw j.length = 0, D = 0, t;
179
+ throw j.length = 0, G = 0, t;
178
180
  }
179
- for (te(null), j.length = 0, D = 0; Ne.length; ) Ne.pop()();
181
+ for (te(null), j.length = 0, G = 0; Me.length; )
182
+ Me.pop()();
180
183
  for (let t = 0; t < k.length; t += 1) {
181
184
  const r = k[t];
182
185
  Be.has(r) || (Be.add(r), r());
183
186
  }
184
187
  k.length = 0;
185
188
  } while (j.length);
186
- for (; nt.length; )
187
- nt.pop()();
188
- Me = !1, Be.clear(), te(e);
189
+ for (; st.length; )
190
+ st.pop()();
191
+ Ce = !1, Be.clear(), te(e);
189
192
  }
190
- function Ar(e) {
193
+ function Nr(e) {
191
194
  if (e.fragment !== null) {
192
195
  e.update(), oe(e.before_update);
193
196
  const t = e.dirty;
194
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
197
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
195
198
  }
196
199
  }
197
- function Pr(e) {
200
+ function Mr(e) {
198
201
  const t = [], r = [];
199
202
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
200
203
  }
201
- const Or = /* @__PURE__ */ new Set();
202
- function Ir(e, t) {
203
- e && e.i && (Or.delete(e), e.i(t));
204
+ const Cr = /* @__PURE__ */ new Set();
205
+ function $r(e, t) {
206
+ e && e.i && (Cr.delete(e), e.i(t));
204
207
  }
205
- function ro(e) {
208
+ function so(e) {
206
209
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
207
210
  }
208
- function Lr(e, t, r) {
211
+ function Rr(e, t, r) {
209
212
  const { fragment: n, after_update: i } = e.$$;
210
- n && n.m(t, r), Ce(() => {
211
- const o = e.$$.on_mount.map(Bt).filter(Qe);
213
+ n && n.m(t, r), $e(() => {
214
+ const o = e.$$.on_mount.map(Ot).filter(qe);
212
215
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
213
- }), i.forEach(Ce);
216
+ }), i.forEach($e);
214
217
  }
215
- function Nr(e, t) {
218
+ function Ur(e, t) {
216
219
  const r = e.$$;
217
- r.fragment !== null && (Pr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
220
+ r.fragment !== null && (Mr(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
218
221
  }
219
- function Mr(e, t) {
220
- e.$$.dirty[0] === -1 && (j.push(e), wr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
+ function Dr(e, t) {
223
+ e.$$.dirty[0] === -1 && (j.push(e), Lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
221
224
  }
222
- function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
225
+ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
223
226
  const h = re;
224
227
  te(e);
225
228
  const u = e.$$ = {
@@ -229,7 +232,7 @@ function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
229
232
  props: o,
230
233
  update: w,
231
234
  not_equal: i,
232
- bound: rt(),
235
+ bound: ot(),
233
236
  // lifecycle
234
237
  on_mount: [],
235
238
  on_destroy: [],
@@ -238,7 +241,7 @@ function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
238
241
  after_update: [],
239
242
  context: new Map(t.context || (h ? h.$$.context : [])),
240
243
  // everything else
241
- callbacks: rt(),
244
+ callbacks: ot(),
242
245
  dirty: a,
243
246
  skip_bound: !1,
244
247
  root: t.target || h.$$.root
@@ -246,20 +249,20 @@ function Cr(e, t, r, n, i, o, s = null, a = [-1]) {
246
249
  s && s(u.root);
247
250
  let l = !1;
248
251
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
249
- const b = p.length ? p[0] : c;
250
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && Mr(e, f)), c;
252
+ const d = p.length ? p[0] : c;
253
+ return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), l && Dr(e, f)), c;
251
254
  }) : [], u.update(), l = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
252
255
  if (t.hydrate) {
253
- const f = Er(t.target);
256
+ const f = Br(t.target);
254
257
  u.fragment && u.fragment.l(f), f.forEach(Q);
255
258
  } else
256
259
  u.fragment && u.fragment.c();
257
- t.intro && Ir(e.$$.fragment), Lr(e, t.target, t.anchor), A();
260
+ t.intro && $r(e.$$.fragment), Rr(e, t.target, t.anchor), A();
258
261
  }
259
262
  te(h);
260
263
  }
261
- let It;
262
- typeof HTMLElement == "function" && (It = class extends HTMLElement {
264
+ let Ct;
265
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
263
266
  constructor(t, r, n) {
264
267
  super();
265
268
  /** The Svelte component constructor */
@@ -296,7 +299,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
296
299
  }
297
300
  }
298
301
  connectedCallback() {
299
- return tt(this, null, function* () {
302
+ return it(this, null, function* () {
300
303
  if (this.$$cn = !0, !this.$$c) {
301
304
  let t = function(o) {
302
305
  return () => {
@@ -320,7 +323,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
320
323
  };
321
324
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
322
325
  return;
323
- const r = {}, n = Sr(this);
326
+ const r = {}, n = Ar(this);
324
327
  for (const o of this.$$s)
325
328
  o in n && (r[o] = [t(o)]);
326
329
  for (const o of this.attributes) {
@@ -331,7 +334,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
331
334
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
332
335
  this.$$c = new this.$$ctor({
333
336
  target: this.shadowRoot || this,
334
- props: et(Ke({}, this.$$d), {
337
+ props: nt(rt({}, this.$$d), {
335
338
  $$slots: r,
336
339
  $$scope: {
337
340
  ctx: []
@@ -409,8 +412,8 @@ function fe(e, t, r, n) {
409
412
  return t;
410
413
  }
411
414
  }
412
- function $r(e, t, r, n, i, o) {
413
- let s = class extends It {
415
+ function Fr(e, t, r, n, i, o) {
416
+ let s = class extends Ct {
414
417
  constructor() {
415
418
  super(e, r, i), this.$$p_d = t;
416
419
  }
@@ -440,7 +443,7 @@ function $r(e, t, r, n, i, o) {
440
443
  }), e.element = /** @type {any} */
441
444
  s, s;
442
445
  }
443
- class Rr {
446
+ class jr {
444
447
  constructor() {
445
448
  /**
446
449
  * ### PRIVATE API
@@ -461,7 +464,7 @@ class Rr {
461
464
  }
462
465
  /** @returns {void} */
463
466
  $destroy() {
464
- Nr(this, 1), this.$destroy = w;
467
+ Ur(this, 1), this.$destroy = w;
465
468
  }
466
469
  /**
467
470
  * @template {Extract<keyof Events, string>} K
@@ -470,7 +473,7 @@ class Rr {
470
473
  * @returns {() => void}
471
474
  */
472
475
  $on(t, r) {
473
- if (!Qe(r))
476
+ if (!qe(r))
474
477
  return w;
475
478
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
476
479
  return n.push(r), () => {
@@ -483,22 +486,37 @@ class Rr {
483
486
  * @returns {void}
484
487
  */
485
488
  $set(t) {
486
- this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
489
+ this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
490
  }
488
491
  }
489
- const Ur = "4";
490
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
491
- var $e = function(e, t) {
492
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
492
+ const kr = "4";
493
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
494
+ /*! *****************************************************************************
495
+ Copyright (c) Microsoft Corporation.
496
+
497
+ Permission to use, copy, modify, and/or distribute this software for any
498
+ purpose with or without fee is hereby granted.
499
+
500
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
501
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
502
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
503
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
504
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
505
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
506
+ PERFORMANCE OF THIS SOFTWARE.
507
+ ***************************************************************************** */
508
+ var Re = function(e, t) {
509
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
493
510
  r.__proto__ = n;
494
511
  } || function(r, n) {
495
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
496
- }, $e(e, t);
512
+ for (var i in n)
513
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
514
+ }, Re(e, t);
497
515
  };
498
516
  function L(e, t) {
499
517
  if (typeof t != "function" && t !== null)
500
518
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
501
- $e(e, t);
519
+ Re(e, t);
502
520
  function r() {
503
521
  this.constructor = e;
504
522
  }
@@ -508,61 +526,69 @@ var g = function() {
508
526
  return g = Object.assign || function(t) {
509
527
  for (var r, n = 1, i = arguments.length; n < i; n++) {
510
528
  r = arguments[n];
511
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
529
+ for (var o in r)
530
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
512
531
  }
513
532
  return t;
514
533
  }, g.apply(this, arguments);
515
534
  };
516
- function Gr(e, t) {
535
+ function Vr(e, t) {
517
536
  var r = {};
518
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
537
+ for (var n in e)
538
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
519
539
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
520
540
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
521
541
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
522
542
  return r;
523
543
  }
524
- function Re(e) {
544
+ function Ue(e) {
525
545
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
526
- if (r) return r.call(e);
527
- if (e && typeof e.length == "number") return {
528
- next: function() {
529
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
530
- }
531
- };
546
+ if (r)
547
+ return r.call(e);
548
+ if (e && typeof e.length == "number")
549
+ return {
550
+ next: function() {
551
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
552
+ }
553
+ };
532
554
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
533
555
  }
534
- function Ue(e, t) {
556
+ function De(e, t) {
535
557
  var r = typeof Symbol == "function" && e[Symbol.iterator];
536
- if (!r) return e;
558
+ if (!r)
559
+ return e;
537
560
  var n = r.call(e), i, o = [], s;
538
561
  try {
539
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
562
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
563
+ o.push(i.value);
540
564
  } catch (a) {
541
565
  s = { error: a };
542
566
  } finally {
543
567
  try {
544
568
  i && !i.done && (r = n.return) && r.call(n);
545
569
  } finally {
546
- if (s) throw s.error;
570
+ if (s)
571
+ throw s.error;
547
572
  }
548
573
  }
549
574
  return o;
550
575
  }
551
576
  function V(e, t, r) {
552
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
553
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
554
- return e.concat(o || Array.prototype.slice.call(t));
577
+ if (r || arguments.length === 2)
578
+ for (var n = 0, i = t.length, o; n < i; n++)
579
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
580
+ return e.concat(o || t);
555
581
  }
556
582
  function I(e) {
557
583
  return typeof e == "function";
558
584
  }
559
- function Lt(e) {
585
+ function $t(e) {
560
586
  var t = function(n) {
561
587
  Error.call(n), n.stack = new Error().stack;
562
588
  }, r = e(t);
563
589
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
564
590
  }
565
- var we = Lt(function(e) {
591
+ var we = $t(function(e) {
566
592
  return function(r) {
567
593
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
568
594
  ` + r.map(function(n, i) {
@@ -589,7 +615,7 @@ var ve = function() {
589
615
  if (s)
590
616
  if (this._parentage = null, Array.isArray(s))
591
617
  try {
592
- for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
618
+ for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
593
619
  var u = h.value;
594
620
  u.remove(this);
595
621
  }
@@ -599,7 +625,8 @@ var ve = function() {
599
625
  try {
600
626
  h && !h.done && (r = a.return) && r.call(a);
601
627
  } finally {
602
- if (t) throw t.error;
628
+ if (t)
629
+ throw t.error;
603
630
  }
604
631
  }
605
632
  else
@@ -615,12 +642,12 @@ var ve = function() {
615
642
  if (f) {
616
643
  this._finalizers = null;
617
644
  try {
618
- for (var c = Re(f), p = c.next(); !p.done; p = c.next()) {
619
- var b = p.value;
645
+ for (var c = Ue(f), p = c.next(); !p.done; p = c.next()) {
646
+ var d = p.value;
620
647
  try {
621
- it(b);
648
+ at(d);
622
649
  } catch (v) {
623
- o = o != null ? o : [], v instanceof we ? o = V(V([], Ue(o)), Ue(v.errors)) : o.push(v);
650
+ o = o != null ? o : [], v instanceof we ? o = V(V([], De(o)), De(v.errors)) : o.push(v);
624
651
  }
625
652
  }
626
653
  } catch (v) {
@@ -629,7 +656,8 @@ var ve = function() {
629
656
  try {
630
657
  p && !p.done && (i = c.return) && i.call(c);
631
658
  } finally {
632
- if (n) throw n.error;
659
+ if (n)
660
+ throw n.error;
633
661
  }
634
662
  }
635
663
  }
@@ -640,7 +668,7 @@ var ve = function() {
640
668
  var r;
641
669
  if (t && t !== this)
642
670
  if (this.closed)
643
- it(t);
671
+ at(t);
644
672
  else {
645
673
  if (t instanceof e) {
646
674
  if (t.closed || t._hasParent(this))
@@ -665,44 +693,48 @@ var ve = function() {
665
693
  var t = new e();
666
694
  return t.closed = !0, t;
667
695
  }(), e;
668
- }(), Nt = ve.EMPTY;
669
- function Mt(e) {
696
+ }(), Rt = ve.EMPTY;
697
+ function Ut(e) {
670
698
  return e instanceof ve || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
671
699
  }
672
- function it(e) {
700
+ function at(e) {
673
701
  I(e) ? e() : e.unsubscribe();
674
702
  }
675
- var Dr = {
676
- Promise: void 0
677
- }, Fr = {
703
+ var Dt = {
704
+ onUnhandledError: null,
705
+ onStoppedNotification: null,
706
+ Promise: void 0,
707
+ useDeprecatedSynchronousErrorHandling: !1,
708
+ useDeprecatedNextContext: !1
709
+ }, Xr = {
678
710
  setTimeout: function(e, t) {
679
711
  for (var r = [], n = 2; n < arguments.length; n++)
680
712
  r[n - 2] = arguments[n];
681
- return setTimeout.apply(void 0, V([e, t], Ue(r)));
713
+ return setTimeout.apply(void 0, V([e, t], De(r)));
682
714
  },
683
715
  clearTimeout: function(e) {
684
716
  return clearTimeout(e);
685
717
  },
686
718
  delegate: void 0
687
719
  };
688
- function jr(e) {
689
- Fr.setTimeout(function() {
720
+ function Wr(e) {
721
+ Xr.setTimeout(function() {
690
722
  throw e;
691
723
  });
692
724
  }
693
- function ot() {
725
+ function ut() {
694
726
  }
695
727
  function pe(e) {
696
728
  e();
697
729
  }
698
- var Ct = function(e) {
730
+ var Gt = function(e) {
699
731
  L(t, e);
700
732
  function t(r) {
701
733
  var n = e.call(this) || this;
702
- return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = Xr, n;
734
+ return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = qr, n;
703
735
  }
704
736
  return t.create = function(r, n, i) {
705
- return new De(r, n, i);
737
+ return new Fe(r, n, i);
706
738
  }, t.prototype.next = function(r) {
707
739
  this.isStopped || this._next(r);
708
740
  }, t.prototype.error = function(r) {
@@ -726,7 +758,11 @@ var Ct = function(e) {
726
758
  this.unsubscribe();
727
759
  }
728
760
  }, t;
729
- }(ve), kr = function() {
761
+ }(ve), zr = Function.prototype.bind;
762
+ function Ae(e, t) {
763
+ return zr.call(e, t);
764
+ }
765
+ var Zr = function() {
730
766
  function e(t) {
731
767
  this.partialObserver = t;
732
768
  }
@@ -757,43 +793,55 @@ var Ct = function(e) {
757
793
  le(r);
758
794
  }
759
795
  }, e;
760
- }(), De = function(e) {
796
+ }(), Fe = function(e) {
761
797
  L(t, e);
762
798
  function t(r, n, i) {
763
799
  var o = e.call(this) || this, s;
764
- return I(r) || !r ? s = {
765
- next: r != null ? r : void 0,
766
- error: n != null ? n : void 0,
767
- complete: i != null ? i : void 0
768
- } : s = r, o.destination = new kr(s), o;
800
+ if (I(r) || !r)
801
+ s = {
802
+ next: r != null ? r : void 0,
803
+ error: n != null ? n : void 0,
804
+ complete: i != null ? i : void 0
805
+ };
806
+ else {
807
+ var a;
808
+ o && Dt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
809
+ return o.unsubscribe();
810
+ }, s = {
811
+ next: r.next && Ae(r.next, a),
812
+ error: r.error && Ae(r.error, a),
813
+ complete: r.complete && Ae(r.complete, a)
814
+ }) : s = r;
815
+ }
816
+ return o.destination = new Zr(s), o;
769
817
  }
770
818
  return t;
771
- }(Ct);
819
+ }(Gt);
772
820
  function le(e) {
773
- jr(e);
821
+ Wr(e);
774
822
  }
775
- function Vr(e) {
823
+ function Qr(e) {
776
824
  throw e;
777
825
  }
778
- var Xr = {
826
+ var qr = {
779
827
  closed: !0,
780
- next: ot,
781
- error: Vr,
782
- complete: ot
783
- }, Wr = function() {
828
+ next: ut,
829
+ error: Qr,
830
+ complete: ut
831
+ }, Jr = function() {
784
832
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
785
833
  }();
786
- function zr(e) {
834
+ function Yr(e) {
787
835
  return e;
788
836
  }
789
- function Zr(e) {
790
- return e.length === 0 ? zr : e.length === 1 ? e[0] : function(r) {
837
+ function Kr(e) {
838
+ return e.length === 0 ? Yr : e.length === 1 ? e[0] : function(r) {
791
839
  return e.reduce(function(n, i) {
792
840
  return i(n);
793
841
  }, r);
794
842
  };
795
843
  }
796
- var st = function() {
844
+ var ht = function() {
797
845
  function e(t) {
798
846
  t && (this._subscribe = t);
799
847
  }
@@ -801,7 +849,7 @@ var st = function() {
801
849
  var r = new e();
802
850
  return r.source = this, r.operator = t, r;
803
851
  }, e.prototype.subscribe = function(t, r, n) {
804
- var i = this, o = qr(t) ? t : new De(t, r, n);
852
+ var i = this, o = tn(t) ? t : new Fe(t, r, n);
805
853
  return pe(function() {
806
854
  var s = i, a = s.operator, h = s.source;
807
855
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -814,8 +862,8 @@ var st = function() {
814
862
  }
815
863
  }, e.prototype.forEach = function(t, r) {
816
864
  var n = this;
817
- return r = at(r), new r(function(i, o) {
818
- var s = new De({
865
+ return r = lt(r), new r(function(i, o) {
866
+ var s = new Fe({
819
867
  next: function(a) {
820
868
  try {
821
869
  t(a);
@@ -831,15 +879,15 @@ var st = function() {
831
879
  }, e.prototype._subscribe = function(t) {
832
880
  var r;
833
881
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
834
- }, e.prototype[Wr] = function() {
882
+ }, e.prototype[Jr] = function() {
835
883
  return this;
836
884
  }, e.prototype.pipe = function() {
837
885
  for (var t = [], r = 0; r < arguments.length; r++)
838
886
  t[r] = arguments[r];
839
- return Zr(t)(this);
887
+ return Kr(t)(this);
840
888
  }, e.prototype.toPromise = function(t) {
841
889
  var r = this;
842
- return t = at(t), new t(function(n, i) {
890
+ return t = lt(t), new t(function(n, i) {
843
891
  var o;
844
892
  r.subscribe(function(s) {
845
893
  return o = s;
@@ -853,32 +901,32 @@ var st = function() {
853
901
  return new e(t);
854
902
  }, e;
855
903
  }();
856
- function at(e) {
904
+ function lt(e) {
857
905
  var t;
858
- return (t = e != null ? e : Dr.Promise) !== null && t !== void 0 ? t : Promise;
906
+ return (t = e != null ? e : Dt.Promise) !== null && t !== void 0 ? t : Promise;
859
907
  }
860
- function Qr(e) {
908
+ function en(e) {
861
909
  return e && I(e.next) && I(e.error) && I(e.complete);
862
910
  }
863
- function qr(e) {
864
- return e && e instanceof Ct || Qr(e) && Mt(e);
911
+ function tn(e) {
912
+ return e && e instanceof Gt || en(e) && Ut(e);
865
913
  }
866
- var Jr = Lt(function(e) {
914
+ var rn = $t(function(e) {
867
915
  return function() {
868
916
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
869
917
  };
870
- }), $t = function(e) {
918
+ }), Ft = function(e) {
871
919
  L(t, e);
872
920
  function t() {
873
921
  var r = e.call(this) || this;
874
922
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
875
923
  }
876
924
  return t.prototype.lift = function(r) {
877
- var n = new ut(this, this);
925
+ var n = new ct(this, this);
878
926
  return n.operator = r, n;
879
927
  }, t.prototype._throwIfClosed = function() {
880
928
  if (this.closed)
881
- throw new Jr();
929
+ throw new rn();
882
930
  }, t.prototype.next = function(r) {
883
931
  var n = this;
884
932
  pe(function() {
@@ -886,7 +934,7 @@ var Jr = Lt(function(e) {
886
934
  if (n._throwIfClosed(), !n.isStopped) {
887
935
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
888
936
  try {
889
- for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
937
+ for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
890
938
  var h = a.value;
891
939
  h.next(r);
892
940
  }
@@ -896,7 +944,8 @@ var Jr = Lt(function(e) {
896
944
  try {
897
945
  a && !a.done && (o = s.return) && o.call(s);
898
946
  } finally {
899
- if (i) throw i.error;
947
+ if (i)
948
+ throw i.error;
900
949
  }
901
950
  }
902
951
  }
@@ -934,19 +983,19 @@ var Jr = Lt(function(e) {
934
983
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
935
984
  }, t.prototype._innerSubscribe = function(r) {
936
985
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
937
- return o || s ? Nt : (this.currentObservers = null, a.push(r), new ve(function() {
986
+ return o || s ? Rt : (this.currentObservers = null, a.push(r), new ve(function() {
938
987
  n.currentObservers = null, Ge(a, r);
939
988
  }));
940
989
  }, t.prototype._checkFinalizedStatuses = function(r) {
941
990
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
942
991
  i ? r.error(o) : s && r.complete();
943
992
  }, t.prototype.asObservable = function() {
944
- var r = new st();
993
+ var r = new ht();
945
994
  return r.source = this, r;
946
995
  }, t.create = function(r, n) {
947
- return new ut(r, n);
996
+ return new ct(r, n);
948
997
  }, t;
949
- }(st), ut = function(e) {
998
+ }(ht), ct = function(e) {
950
999
  L(t, e);
951
1000
  function t(r, n) {
952
1001
  var i = e.call(this) || this;
@@ -963,17 +1012,17 @@ var Jr = Lt(function(e) {
963
1012
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
964
1013
  }, t.prototype._subscribe = function(r) {
965
1014
  var n, i;
966
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nt;
1015
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
967
1016
  }, t;
968
- }($t), Rt = {
1017
+ }(Ft), jt = {
969
1018
  now: function() {
970
- return (Rt.delegate || Date).now();
1019
+ return (jt.delegate || Date).now();
971
1020
  },
972
1021
  delegate: void 0
973
- }, Yr = function(e) {
1022
+ }, nn = function(e) {
974
1023
  L(t, e);
975
1024
  function t(r, n, i) {
976
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
1025
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
977
1026
  var o = e.call(this) || this;
978
1027
  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;
979
1028
  }
@@ -993,24 +1042,24 @@ var Jr = Lt(function(e) {
993
1042
  u && o.splice(0, u + 1);
994
1043
  }
995
1044
  }, t;
996
- }($t);
997
- const ht = [], lt = {}, Kr = (e, t = 0) => {
998
- if (ht.indexOf(e) == -1) {
999
- const r = new Yr(t);
1000
- lt[e] = r, ht.push(e);
1045
+ }(Ft);
1046
+ const ft = [], pt = {}, on = (e, t = 0) => {
1047
+ if (ft.indexOf(e) == -1) {
1048
+ const r = new nn(t);
1049
+ pt[e] = r, ft.push(e);
1001
1050
  }
1002
- return lt[e];
1051
+ return pt[e];
1003
1052
  }, F = [];
1004
- function en(e, t) {
1053
+ function sn(e, t) {
1005
1054
  return {
1006
- subscribe: xe(e, t).subscribe
1055
+ subscribe: Ee(e, t).subscribe
1007
1056
  };
1008
1057
  }
1009
- function xe(e, t = w) {
1058
+ function Ee(e, t = w) {
1010
1059
  let r;
1011
1060
  const n = /* @__PURE__ */ new Set();
1012
1061
  function i(a) {
1013
- if (wt(e, a) && (e = a, r)) {
1062
+ if (It(e, a) && (e = a, r)) {
1014
1063
  const h = !F.length;
1015
1064
  for (const u of n)
1016
1065
  u[1](), F.push(u, e);
@@ -1037,7 +1086,7 @@ function q(e, t, r) {
1037
1086
  if (!i.every(Boolean))
1038
1087
  throw new Error("derived() expects stores as input, got a falsy value");
1039
1088
  const o = t.length < 2;
1040
- return en(r, (s, a) => {
1089
+ return sn(r, (s, a) => {
1041
1090
  let h = !1;
1042
1091
  const u = [];
1043
1092
  let l = 0, f = w;
@@ -1045,11 +1094,11 @@ function q(e, t, r) {
1045
1094
  if (l)
1046
1095
  return;
1047
1096
  f();
1048
- const b = t(n ? u[0] : u, s, a);
1049
- o ? s(b) : f = Qe(b) ? b : w;
1097
+ const d = t(n ? u[0] : u, s, a);
1098
+ o ? s(d) : f = qe(d) ? d : w;
1050
1099
  }, p = i.map(
1051
- (b, v) => At(
1052
- b,
1100
+ (d, v) => Lt(
1101
+ d,
1053
1102
  (B) => {
1054
1103
  u[v] = B, l &= ~(1 << v), h && c();
1055
1104
  },
@@ -1063,70 +1112,70 @@ function q(e, t, r) {
1063
1112
  };
1064
1113
  });
1065
1114
  }
1066
- function tn(e) {
1115
+ function an(e) {
1067
1116
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1068
1117
  }
1069
- var rn = function(t) {
1070
- return nn(t) && !on(t);
1118
+ var un = function(t) {
1119
+ return hn(t) && !ln(t);
1071
1120
  };
1072
- function nn(e) {
1121
+ function hn(e) {
1073
1122
  return !!e && typeof e == "object";
1074
1123
  }
1075
- function on(e) {
1124
+ function ln(e) {
1076
1125
  var t = Object.prototype.toString.call(e);
1077
- return t === "[object RegExp]" || t === "[object Date]" || un(e);
1126
+ return t === "[object RegExp]" || t === "[object Date]" || pn(e);
1078
1127
  }
1079
- var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
1080
- function un(e) {
1081
- return e.$$typeof === an;
1128
+ var cn = typeof Symbol == "function" && Symbol.for, fn = cn ? Symbol.for("react.element") : 60103;
1129
+ function pn(e) {
1130
+ return e.$$typeof === fn;
1082
1131
  }
1083
- function hn(e) {
1132
+ function dn(e) {
1084
1133
  return Array.isArray(e) ? [] : {};
1085
1134
  }
1086
1135
  function ne(e, t) {
1087
- return t.clone !== !1 && t.isMergeableObject(e) ? X(hn(e), e, t) : e;
1136
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(dn(e), e, t) : e;
1088
1137
  }
1089
- function ln(e, t, r) {
1138
+ function mn(e, t, r) {
1090
1139
  return e.concat(t).map(function(n) {
1091
1140
  return ne(n, r);
1092
1141
  });
1093
1142
  }
1094
- function cn(e, t) {
1143
+ function bn(e, t) {
1095
1144
  if (!t.customMerge)
1096
1145
  return X;
1097
1146
  var r = t.customMerge(e);
1098
1147
  return typeof r == "function" ? r : X;
1099
1148
  }
1100
- function fn(e) {
1149
+ function gn(e) {
1101
1150
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1102
1151
  return Object.propertyIsEnumerable.call(e, t);
1103
1152
  }) : [];
1104
1153
  }
1105
- function ct(e) {
1106
- return Object.keys(e).concat(fn(e));
1154
+ function dt(e) {
1155
+ return Object.keys(e).concat(gn(e));
1107
1156
  }
1108
- function Ut(e, t) {
1157
+ function kt(e, t) {
1109
1158
  try {
1110
1159
  return t in e;
1111
1160
  } catch (r) {
1112
1161
  return !1;
1113
1162
  }
1114
1163
  }
1115
- function pn(e, t) {
1116
- return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1164
+ function yn(e, t) {
1165
+ return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1117
1166
  }
1118
- function dn(e, t, r) {
1167
+ function vn(e, t, r) {
1119
1168
  var n = {};
1120
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1169
+ return r.isMergeableObject(e) && dt(e).forEach(function(i) {
1121
1170
  n[i] = ne(e[i], r);
1122
- }), ct(t).forEach(function(i) {
1123
- pn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = cn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1171
+ }), dt(t).forEach(function(i) {
1172
+ yn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = bn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1124
1173
  }), n;
1125
1174
  }
1126
1175
  function X(e, t, r) {
1127
- r = r || {}, r.arrayMerge = r.arrayMerge || ln, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = ne;
1176
+ r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = ne;
1128
1177
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1129
- return o ? n ? r.arrayMerge(e, t, r) : dn(e, t, r) : ne(t, r);
1178
+ return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : ne(t, r);
1130
1179
  }
1131
1180
  X.all = function(t, r) {
1132
1181
  if (!Array.isArray(t))
@@ -1135,105 +1184,107 @@ X.all = function(t, r) {
1135
1184
  return X(n, i, r);
1136
1185
  }, {});
1137
1186
  };
1138
- var mn = X, bn = mn;
1139
- const gn = /* @__PURE__ */ tn(bn);
1140
- function Ae(e, t) {
1141
- var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : xn;
1187
+ var En = X, xn = En;
1188
+ const _n = /* @__PURE__ */ an(xn);
1189
+ function Pe(e, t) {
1190
+ var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : Tn;
1142
1191
  return i(e, {
1143
1192
  cache: r,
1144
1193
  serializer: n
1145
1194
  });
1146
1195
  }
1147
- function yn(e) {
1196
+ function Sn(e) {
1148
1197
  return e == null || typeof e == "number" || typeof e == "boolean";
1149
1198
  }
1150
- function vn(e, t, r, n) {
1151
- var i = yn(n) ? n : r(n), o = t.get(i);
1199
+ function Vt(e, t, r, n) {
1200
+ var i = Sn(n) ? n : r(n), o = t.get(i);
1152
1201
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1153
1202
  }
1154
- function Gt(e, t, r) {
1203
+ function Xt(e, t, r) {
1155
1204
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1156
1205
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1157
1206
  }
1158
- function Dt(e, t, r, n, i) {
1207
+ function Je(e, t, r, n, i) {
1159
1208
  return r.bind(t, e, n, i);
1160
1209
  }
1161
- function xn(e, t) {
1162
- var r = e.length === 1 ? vn : Gt;
1163
- return Dt(e, this, r, t.cache.create(), t.serializer);
1210
+ function Tn(e, t) {
1211
+ var r = e.length === 1 ? Vt : Xt;
1212
+ return Je(e, this, r, t.cache.create(), t.serializer);
1164
1213
  }
1165
- function En(e, t) {
1166
- return Dt(e, this, Gt, t.cache.create(), t.serializer);
1214
+ function Hn(e, t) {
1215
+ return Je(e, this, Xt, t.cache.create(), t.serializer);
1167
1216
  }
1168
- var _n = function() {
1217
+ function Bn(e, t) {
1218
+ return Je(e, this, Vt, t.cache.create(), t.serializer);
1219
+ }
1220
+ var wn = function() {
1169
1221
  return JSON.stringify(arguments);
1170
- }, Sn = (
1171
- /** @class */
1172
- function() {
1173
- function e() {
1174
- this.cache = /* @__PURE__ */ Object.create(null);
1175
- }
1176
- return e.prototype.get = function(t) {
1177
- return this.cache[t];
1178
- }, e.prototype.set = function(t, r) {
1179
- this.cache[t] = r;
1180
- }, e;
1181
- }()
1182
- ), Tn = {
1222
+ };
1223
+ function Ye() {
1224
+ this.cache = /* @__PURE__ */ Object.create(null);
1225
+ }
1226
+ Ye.prototype.get = function(e) {
1227
+ return this.cache[e];
1228
+ };
1229
+ Ye.prototype.set = function(e, t) {
1230
+ this.cache[e] = t;
1231
+ };
1232
+ var An = {
1183
1233
  create: function() {
1184
- return new Sn();
1234
+ return new Ye();
1185
1235
  }
1186
- }, Pe = {
1187
- variadic: En
1188
- }, d;
1236
+ }, Oe = {
1237
+ variadic: Hn,
1238
+ monadic: Bn
1239
+ }, m;
1189
1240
  (function(e) {
1190
1241
  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";
1191
- })(d || (d = {}));
1192
- var x;
1242
+ })(m || (m = {}));
1243
+ var E;
1193
1244
  (function(e) {
1194
1245
  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";
1195
- })(x || (x = {}));
1246
+ })(E || (E = {}));
1196
1247
  var W;
1197
1248
  (function(e) {
1198
1249
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1199
1250
  })(W || (W = {}));
1200
- function ft(e) {
1201
- return e.type === x.literal;
1251
+ function mt(e) {
1252
+ return e.type === E.literal;
1202
1253
  }
1203
- function Hn(e) {
1204
- return e.type === x.argument;
1254
+ function Pn(e) {
1255
+ return e.type === E.argument;
1205
1256
  }
1206
- function Ft(e) {
1207
- return e.type === x.number;
1257
+ function Wt(e) {
1258
+ return e.type === E.number;
1208
1259
  }
1209
- function jt(e) {
1210
- return e.type === x.date;
1260
+ function zt(e) {
1261
+ return e.type === E.date;
1211
1262
  }
1212
- function kt(e) {
1213
- return e.type === x.time;
1263
+ function Zt(e) {
1264
+ return e.type === E.time;
1214
1265
  }
1215
- function Vt(e) {
1216
- return e.type === x.select;
1266
+ function Qt(e) {
1267
+ return e.type === E.select;
1217
1268
  }
1218
- function Xt(e) {
1219
- return e.type === x.plural;
1269
+ function qt(e) {
1270
+ return e.type === E.plural;
1220
1271
  }
1221
- function Bn(e) {
1222
- return e.type === x.pound;
1272
+ function On(e) {
1273
+ return e.type === E.pound;
1223
1274
  }
1224
- function Wt(e) {
1225
- return e.type === x.tag;
1275
+ function Jt(e) {
1276
+ return e.type === E.tag;
1226
1277
  }
1227
- function zt(e) {
1278
+ function Yt(e) {
1228
1279
  return !!(e && typeof e == "object" && e.type === W.number);
1229
1280
  }
1230
- function Fe(e) {
1281
+ function je(e) {
1231
1282
  return !!(e && typeof e == "object" && e.type === W.dateTime);
1232
1283
  }
1233
- var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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 An(e) {
1284
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, In = /(?:[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;
1285
+ function Ln(e) {
1235
1286
  var t = {};
1236
- return e.replace(wn, function(r) {
1287
+ return e.replace(In, function(r) {
1237
1288
  var n = r.length;
1238
1289
  switch (r[0]) {
1239
1290
  case "G":
@@ -1322,11 +1373,11 @@ function An(e) {
1322
1373
  return "";
1323
1374
  }), t;
1324
1375
  }
1325
- var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1326
- function On(e) {
1376
+ var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1377
+ function Mn(e) {
1327
1378
  if (e.length === 0)
1328
1379
  throw new Error("Number skeleton cannot be empty");
1329
- for (var t = e.split(Pn).filter(function(c) {
1380
+ for (var t = e.split(Nn).filter(function(c) {
1330
1381
  return c.length > 0;
1331
1382
  }), r = [], n = 0, i = t; n < i.length; n++) {
1332
1383
  var o = i[n], s = o.split("/");
@@ -1341,17 +1392,17 @@ function On(e) {
1341
1392
  }
1342
1393
  return r;
1343
1394
  }
1344
- function In(e) {
1395
+ function Cn(e) {
1345
1396
  return e.replace(/^(.*?)-/, "");
1346
1397
  }
1347
- var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
1348
- function dt(e) {
1398
+ var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1399
+ function gt(e) {
1349
1400
  var t = {};
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) {
1401
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1351
1402
  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)), "";
1352
1403
  }), t;
1353
1404
  }
1354
- function Jt(e) {
1405
+ function rr(e) {
1355
1406
  switch (e) {
1356
1407
  case "sign-auto":
1357
1408
  return {
@@ -1391,7 +1442,7 @@ function Jt(e) {
1391
1442
  };
1392
1443
  }
1393
1444
  }
1394
- function Nn(e) {
1445
+ function Rn(e) {
1395
1446
  var t;
1396
1447
  if (e[0] === "E" && e[1] === "E" ? (t = {
1397
1448
  notation: "engineering"
@@ -1399,17 +1450,17 @@ function Nn(e) {
1399
1450
  notation: "scientific"
1400
1451
  }, e = e.slice(1)), t) {
1401
1452
  var r = e.slice(0, 2);
1402
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
1453
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1403
1454
  throw new Error("Malformed concise eng/scientific notation");
1404
1455
  t.minimumIntegerDigits = e.length;
1405
1456
  }
1406
1457
  return t;
1407
1458
  }
1408
- function mt(e) {
1409
- var t = {}, r = Jt(e);
1459
+ function yt(e) {
1460
+ var t = {}, r = rr(e);
1410
1461
  return r || t;
1411
1462
  }
1412
- function Mn(e) {
1463
+ function Un(e) {
1413
1464
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1414
1465
  var i = n[r];
1415
1466
  switch (i.stem) {
@@ -1433,7 +1484,7 @@ function Mn(e) {
1433
1484
  continue;
1434
1485
  case "measure-unit":
1435
1486
  case "unit":
1436
- t.style = "unit", t.unit = In(i.options[0]);
1487
+ t.style = "unit", t.unit = Cn(i.options[0]);
1437
1488
  continue;
1438
1489
  case "compact-short":
1439
1490
  case "K":
@@ -1445,12 +1496,12 @@ function Mn(e) {
1445
1496
  continue;
1446
1497
  case "scientific":
1447
1498
  t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1448
- return g(g({}, h), mt(u));
1499
+ return g(g({}, h), yt(u));
1449
1500
  }, {}));
1450
1501
  continue;
1451
1502
  case "engineering":
1452
1503
  t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1453
- return g(g({}, h), mt(u));
1504
+ return g(g({}, h), yt(u));
1454
1505
  }, {}));
1455
1506
  continue;
1456
1507
  case "notation-simple":
@@ -1495,7 +1546,7 @@ function Mn(e) {
1495
1546
  case "integer-width":
1496
1547
  if (i.options.length > 1)
1497
1548
  throw new RangeError("integer-width stems only accept a single optional option");
1498
- i.options[0].replace(Ln, function(h, u, l, f, c, p) {
1549
+ i.options[0].replace($n, function(h, u, l, f, c, p) {
1499
1550
  if (u)
1500
1551
  t.minimumIntegerDigits = l.length;
1501
1552
  else {
@@ -1508,27 +1559,27 @@ function Mn(e) {
1508
1559
  });
1509
1560
  continue;
1510
1561
  }
1511
- if (qt.test(i.stem)) {
1562
+ if (tr.test(i.stem)) {
1512
1563
  t.minimumIntegerDigits = i.stem.length;
1513
1564
  continue;
1514
1565
  }
1515
- if (pt.test(i.stem)) {
1566
+ if (bt.test(i.stem)) {
1516
1567
  if (i.options.length > 1)
1517
1568
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1518
- i.stem.replace(pt, function(h, u, l, f, c, p) {
1569
+ i.stem.replace(bt, function(h, u, l, f, c, p) {
1519
1570
  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), "";
1520
1571
  });
1521
1572
  var o = i.options[0];
1522
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), dt(o)));
1573
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), gt(o)));
1523
1574
  continue;
1524
1575
  }
1525
- if (Qt.test(i.stem)) {
1526
- t = g(g({}, t), dt(i.stem));
1576
+ if (er.test(i.stem)) {
1577
+ t = g(g({}, t), gt(i.stem));
1527
1578
  continue;
1528
1579
  }
1529
- var s = Jt(i.stem);
1580
+ var s = rr(i.stem);
1530
1581
  s && (t = g(g({}, t), s));
1531
- var a = Nn(i.stem);
1582
+ var a = Rn(i.stem);
1532
1583
  a && (t = g(g({}, t), a));
1533
1584
  }
1534
1585
  return t;
@@ -2948,22 +2999,23 @@ var ce = {
2948
2999
  "h"
2949
3000
  ]
2950
3001
  };
2951
- function Cn(e, t) {
3002
+ function Dn(e, t) {
2952
3003
  for (var r = "", n = 0; n < e.length; n++) {
2953
3004
  var i = e.charAt(n);
2954
3005
  if (i === "j") {
2955
3006
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2956
3007
  o++, n++;
2957
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = $n(t);
3008
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Gn(t);
2958
3009
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2959
3010
  r += h;
2960
3011
  for (; s-- > 0; )
2961
3012
  r = u + r;
2962
- } else i === "J" ? r += "H" : r += i;
3013
+ } else
3014
+ i === "J" ? r += "H" : r += i;
2963
3015
  }
2964
3016
  return r;
2965
3017
  }
2966
- function $n(e) {
3018
+ function Gn(e) {
2967
3019
  var t = e.hourCycle;
2968
3020
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2969
3021
  e.hourCycles && // @ts-ignore
@@ -2985,20 +3037,20 @@ function $n(e) {
2985
3037
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
2986
3038
  return i[0];
2987
3039
  }
2988
- var Oe, Rn = new RegExp("^".concat(Zt.source, "*")), Un = new RegExp("".concat(Zt.source, "*$"));
2989
- function m(e, t) {
3040
+ var Ie, Fn = new RegExp("^".concat(Kt.source, "*")), jn = new RegExp("".concat(Kt.source, "*$"));
3041
+ function b(e, t) {
2990
3042
  return { start: e, end: t };
2991
3043
  }
2992
- var Gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!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) {
3044
+ var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, Wn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, qn = Qn ? Number.isSafeInteger : function(e) {
2993
3045
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2994
- }, je = !0;
3046
+ }, ke = !0;
2995
3047
  try {
2996
- var zn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2997
- je = ((Oe = zn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3048
+ var Jn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3049
+ ke = ((Ie = Jn.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
2998
3050
  } catch (e) {
2999
- je = !1;
3051
+ ke = !1;
3000
3052
  }
3001
- var bt = Gn ? (
3053
+ var vt = kn ? (
3002
3054
  // Native
3003
3055
  function(t, r, n) {
3004
3056
  return t.startsWith(r, n);
@@ -3008,7 +3060,7 @@ var bt = Gn ? (
3008
3060
  function(t, r, n) {
3009
3061
  return t.slice(n, n + r.length) === r;
3010
3062
  }
3011
- ), ke = Dn ? String.fromCodePoint : (
3063
+ ), Ve = Vn ? String.fromCodePoint : (
3012
3064
  // IE11
3013
3065
  function() {
3014
3066
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3020,9 +3072,9 @@ var bt = Gn ? (
3020
3072
  }
3021
3073
  return n;
3022
3074
  }
3023
- ), gt = (
3075
+ ), Et = (
3024
3076
  // native
3025
- Fn ? Object.fromEntries : (
3077
+ Xn ? Object.fromEntries : (
3026
3078
  // Ponyfill
3027
3079
  function(t) {
3028
3080
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3032,7 +3084,7 @@ var bt = Gn ? (
3032
3084
  return r;
3033
3085
  }
3034
3086
  )
3035
- ), Yt = jn ? (
3087
+ ), nr = Wn ? (
3036
3088
  // Native
3037
3089
  function(t, r) {
3038
3090
  return t.codePointAt(r);
@@ -3046,7 +3098,7 @@ var bt = Gn ? (
3046
3098
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3047
3099
  }
3048
3100
  }
3049
- ), Zn = kn ? (
3101
+ ), Yn = zn ? (
3050
3102
  // Native
3051
3103
  function(t) {
3052
3104
  return t.trimStart();
@@ -3054,9 +3106,9 @@ var bt = Gn ? (
3054
3106
  ) : (
3055
3107
  // Ponyfill
3056
3108
  function(t) {
3057
- return t.replace(Rn, "");
3109
+ return t.replace(Fn, "");
3058
3110
  }
3059
- ), Qn = Vn ? (
3111
+ ), Kn = Zn ? (
3060
3112
  // Native
3061
3113
  function(t) {
3062
3114
  return t.trimEnd();
@@ -3064,32 +3116,32 @@ var bt = Gn ? (
3064
3116
  ) : (
3065
3117
  // Ponyfill
3066
3118
  function(t) {
3067
- return t.replace(Un, "");
3119
+ return t.replace(jn, "");
3068
3120
  }
3069
3121
  );
3070
- function Kt(e, t) {
3122
+ function ir(e, t) {
3071
3123
  return new RegExp(e, t);
3072
3124
  }
3073
- var Ve;
3074
- if (je) {
3075
- var yt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3076
- Ve = function(t, r) {
3125
+ var Xe;
3126
+ if (ke) {
3127
+ var xt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3128
+ Xe = function(t, r) {
3077
3129
  var n;
3078
- yt.lastIndex = r;
3079
- var i = yt.exec(t);
3130
+ xt.lastIndex = r;
3131
+ var i = xt.exec(t);
3080
3132
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3081
3133
  };
3082
3134
  } else
3083
- Ve = function(t, r) {
3135
+ Xe = function(t, r) {
3084
3136
  for (var n = []; ; ) {
3085
- var i = Yt(t, r);
3086
- if (i === void 0 || er(i) || Kn(i))
3137
+ var i = nr(t, r);
3138
+ if (i === void 0 || or(i) || ni(i))
3087
3139
  break;
3088
3140
  n.push(i), r += i >= 65536 ? 2 : 1;
3089
3141
  }
3090
- return ke.apply(void 0, n);
3142
+ return Ve.apply(void 0, n);
3091
3143
  };
3092
- var qn = (
3144
+ var ei = (
3093
3145
  /** @class */
3094
3146
  function() {
3095
3147
  function e(t, r) {
@@ -3113,14 +3165,14 @@ var qn = (
3113
3165
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3114
3166
  var a = this.clonePosition();
3115
3167
  this.bump(), i.push({
3116
- type: x.pound,
3117
- location: m(a, this.clonePosition())
3168
+ type: E.pound,
3169
+ location: b(a, this.clonePosition())
3118
3170
  });
3119
3171
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3120
3172
  if (n)
3121
3173
  break;
3122
- return this.error(d.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
3123
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3174
+ return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3175
+ } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3124
3176
  var s = this.parseTag(t, r);
3125
3177
  if (s.err)
3126
3178
  return s;
@@ -3141,9 +3193,9 @@ var qn = (
3141
3193
  if (this.bumpSpace(), this.bumpIf("/>"))
3142
3194
  return {
3143
3195
  val: {
3144
- type: x.literal,
3196
+ type: E.literal,
3145
3197
  value: "<".concat(i, "/>"),
3146
- location: m(n, this.clonePosition())
3198
+ location: b(n, this.clonePosition())
3147
3199
  },
3148
3200
  err: null
3149
3201
  };
@@ -3153,25 +3205,25 @@ var qn = (
3153
3205
  return o;
3154
3206
  var s = o.val, a = this.clonePosition();
3155
3207
  if (this.bumpIf("</")) {
3156
- if (this.isEOF() || !Xe(this.char()))
3157
- return this.error(d.INVALID_TAG, m(a, this.clonePosition()));
3208
+ if (this.isEOF() || !We(this.char()))
3209
+ return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3158
3210
  var h = this.clonePosition(), u = this.parseTagName();
3159
- return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3211
+ return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3160
3212
  val: {
3161
- type: x.tag,
3213
+ type: E.tag,
3162
3214
  value: i,
3163
3215
  children: s,
3164
- location: m(n, this.clonePosition())
3216
+ location: b(n, this.clonePosition())
3165
3217
  },
3166
3218
  err: null
3167
- } : this.error(d.INVALID_TAG, m(a, this.clonePosition())));
3219
+ } : this.error(m.INVALID_TAG, b(a, this.clonePosition())));
3168
3220
  } else
3169
- return this.error(d.UNCLOSED_TAG, m(n, this.clonePosition()));
3221
+ return this.error(m.UNCLOSED_TAG, b(n, this.clonePosition()));
3170
3222
  } else
3171
- return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
3223
+ return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3172
3224
  }, e.prototype.parseTagName = function() {
3173
3225
  var t = this.offset();
3174
- for (this.bump(); !this.isEOF() && Yn(this.char()); )
3226
+ for (this.bump(); !this.isEOF() && ri(this.char()); )
3175
3227
  this.bump();
3176
3228
  return this.message.slice(t, this.offset());
3177
3229
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3193,14 +3245,14 @@ var qn = (
3193
3245
  }
3194
3246
  break;
3195
3247
  }
3196
- var h = m(n, this.clonePosition());
3248
+ var h = b(n, this.clonePosition());
3197
3249
  return {
3198
- val: { type: x.literal, value: i, location: h },
3250
+ val: { type: E.literal, value: i, location: h },
3199
3251
  err: null
3200
3252
  };
3201
3253
  }, e.prototype.tryParseLeftAngleBracket = function() {
3202
3254
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3203
- !Jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3255
+ !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3204
3256
  }, e.prototype.tryParseQuote = function(t) {
3205
3257
  if (this.isEOF() || this.char() !== 39)
3206
3258
  return null;
@@ -3234,49 +3286,49 @@ var qn = (
3234
3286
  r.push(n);
3235
3287
  this.bump();
3236
3288
  }
3237
- return ke.apply(void 0, r);
3289
+ return Ve.apply(void 0, r);
3238
3290
  }, e.prototype.tryParseUnquoted = function(t, r) {
3239
3291
  if (this.isEOF())
3240
3292
  return null;
3241
3293
  var n = this.char();
3242
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3294
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3243
3295
  }, e.prototype.parseArgument = function(t, r) {
3244
3296
  var n = this.clonePosition();
3245
3297
  if (this.bump(), this.bumpSpace(), this.isEOF())
3246
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
3298
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3247
3299
  if (this.char() === 125)
3248
- return this.bump(), this.error(d.EMPTY_ARGUMENT, m(n, this.clonePosition()));
3300
+ return this.bump(), this.error(m.EMPTY_ARGUMENT, b(n, this.clonePosition()));
3249
3301
  var i = this.parseIdentifierIfPossible().value;
3250
3302
  if (!i)
3251
- return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3303
+ return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3252
3304
  if (this.bumpSpace(), this.isEOF())
3253
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
3305
+ return this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
3254
3306
  switch (this.char()) {
3255
3307
  case 125:
3256
3308
  return this.bump(), {
3257
3309
  val: {
3258
- type: x.argument,
3310
+ type: E.argument,
3259
3311
  // value does not include the opening and closing braces.
3260
3312
  value: i,
3261
- location: m(n, this.clonePosition())
3313
+ location: b(n, this.clonePosition())
3262
3314
  },
3263
3315
  err: null
3264
3316
  };
3265
3317
  case 44:
3266
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3318
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3267
3319
  default:
3268
- return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3320
+ return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3269
3321
  }
3270
3322
  }, e.prototype.parseIdentifierIfPossible = function() {
3271
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3323
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3272
3324
  this.bumpTo(i);
3273
- var o = this.clonePosition(), s = m(t, o);
3325
+ var o = this.clonePosition(), s = b(t, o);
3274
3326
  return { value: n, location: s };
3275
3327
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3276
3328
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3277
3329
  switch (a) {
3278
3330
  case "":
3279
- return this.error(d.EXPECT_ARGUMENT_TYPE, m(s, h));
3331
+ return this.error(m.EXPECT_ARGUMENT_TYPE, b(s, h));
3280
3332
  case "number":
3281
3333
  case "date":
3282
3334
  case "time": {
@@ -3287,35 +3339,35 @@ var qn = (
3287
3339
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3288
3340
  if (f.err)
3289
3341
  return f;
3290
- var c = Qn(f.val);
3342
+ var c = Kn(f.val);
3291
3343
  if (c.length === 0)
3292
- return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3293
- var p = m(l, this.clonePosition());
3344
+ return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3345
+ var p = b(l, this.clonePosition());
3294
3346
  u = { style: c, styleLocation: p };
3295
3347
  }
3296
- var b = this.tryParseArgumentClose(i);
3297
- if (b.err)
3298
- return b;
3299
- var v = m(i, this.clonePosition());
3300
- if (u && bt(u == null ? void 0 : u.style, "::", 0)) {
3301
- var B = Zn(u.style.slice(2));
3348
+ var d = this.tryParseArgumentClose(i);
3349
+ if (d.err)
3350
+ return d;
3351
+ var v = b(i, this.clonePosition());
3352
+ if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
3353
+ var B = Yn(u.style.slice(2));
3302
3354
  if (a === "number") {
3303
3355
  var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
3304
3356
  return f.err ? f : {
3305
- val: { type: x.number, value: n, location: v, style: f.val },
3357
+ val: { type: E.number, value: n, location: v, style: f.val },
3306
3358
  err: null
3307
3359
  };
3308
3360
  } else {
3309
3361
  if (B.length === 0)
3310
- return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
3362
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3311
3363
  var $ = B;
3312
- this.locale && ($ = Cn(B, this.locale));
3364
+ this.locale && ($ = Dn(B, this.locale));
3313
3365
  var c = {
3314
3366
  type: W.dateTime,
3315
3367
  pattern: $,
3316
3368
  location: u.styleLocation,
3317
- parsedOptions: this.shouldParseSkeletons ? An($) : {}
3318
- }, N = a === "date" ? x.date : x.time;
3369
+ parsedOptions: this.shouldParseSkeletons ? Ln($) : {}
3370
+ }, N = a === "date" ? E.date : E.time;
3319
3371
  return {
3320
3372
  val: { type: N, value: n, location: v, style: c },
3321
3373
  err: null
@@ -3324,7 +3376,7 @@ var qn = (
3324
3376
  }
3325
3377
  return {
3326
3378
  val: {
3327
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3379
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3328
3380
  value: n,
3329
3381
  location: v,
3330
3382
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3337,38 +3389,38 @@ var qn = (
3337
3389
  case "select": {
3338
3390
  var _ = this.clonePosition();
3339
3391
  if (this.bumpSpace(), !this.bumpIf(","))
3340
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(_, g({}, _)));
3392
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(_, g({}, _)));
3341
3393
  this.bumpSpace();
3342
3394
  var R = this.parseIdentifierIfPossible(), P = 0;
3343
3395
  if (a !== "select" && R.value === "offset") {
3344
3396
  if (!this.bumpIf(":"))
3345
- return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
3397
+ return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
3346
3398
  this.bumpSpace();
3347
- var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3399
+ var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3348
3400
  if (f.err)
3349
3401
  return f;
3350
3402
  this.bumpSpace(), R = this.parseIdentifierIfPossible(), P = f.val;
3351
3403
  }
3352
- var G = this.tryParsePluralOrSelectOptions(t, a, r, R);
3353
- if (G.err)
3354
- return G;
3355
- var b = this.tryParseArgumentClose(i);
3356
- if (b.err)
3357
- return b;
3358
- var ue = m(i, this.clonePosition());
3404
+ var D = this.tryParsePluralOrSelectOptions(t, a, r, R);
3405
+ if (D.err)
3406
+ return D;
3407
+ var d = this.tryParseArgumentClose(i);
3408
+ if (d.err)
3409
+ return d;
3410
+ var ue = b(i, this.clonePosition());
3359
3411
  return a === "select" ? {
3360
3412
  val: {
3361
- type: x.select,
3413
+ type: E.select,
3362
3414
  value: n,
3363
- options: gt(G.val),
3415
+ options: Et(D.val),
3364
3416
  location: ue
3365
3417
  },
3366
3418
  err: null
3367
3419
  } : {
3368
3420
  val: {
3369
- type: x.plural,
3421
+ type: E.plural,
3370
3422
  value: n,
3371
- options: gt(G.val),
3423
+ options: Et(D.val),
3372
3424
  offset: P,
3373
3425
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3374
3426
  location: ue
@@ -3377,10 +3429,10 @@ var qn = (
3377
3429
  };
3378
3430
  }
3379
3431
  default:
3380
- return this.error(d.INVALID_ARGUMENT_TYPE, m(s, h));
3432
+ return this.error(m.INVALID_ARGUMENT_TYPE, b(s, h));
3381
3433
  }
3382
3434
  }, e.prototype.tryParseArgumentClose = function(t) {
3383
- return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, m(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3435
+ return this.isEOF() || this.char() !== 125 ? this.error(m.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3384
3436
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3385
3437
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3386
3438
  var n = this.char();
@@ -3389,7 +3441,7 @@ var qn = (
3389
3441
  this.bump();
3390
3442
  var i = this.clonePosition();
3391
3443
  if (!this.bumpUntil("'"))
3392
- return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, m(i, this.clonePosition()));
3444
+ return this.error(m.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
3393
3445
  this.bump();
3394
3446
  break;
3395
3447
  }
@@ -3419,16 +3471,16 @@ var qn = (
3419
3471
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3420
3472
  var n = [];
3421
3473
  try {
3422
- n = On(t);
3474
+ n = Mn(t);
3423
3475
  } catch (i) {
3424
- return this.error(d.INVALID_NUMBER_SKELETON, r);
3476
+ return this.error(m.INVALID_NUMBER_SKELETON, r);
3425
3477
  }
3426
3478
  return {
3427
3479
  val: {
3428
3480
  type: W.number,
3429
3481
  tokens: n,
3430
3482
  location: r,
3431
- parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3483
+ parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
3432
3484
  },
3433
3485
  err: null
3434
3486
  };
@@ -3437,34 +3489,34 @@ var qn = (
3437
3489
  if (u.length === 0) {
3438
3490
  var f = this.clonePosition();
3439
3491
  if (r !== "select" && this.bumpIf("=")) {
3440
- var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3492
+ var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_SELECTOR, m.INVALID_PLURAL_ARGUMENT_SELECTOR);
3441
3493
  if (c.err)
3442
3494
  return c;
3443
- l = m(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3495
+ l = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3444
3496
  } else
3445
3497
  break;
3446
3498
  }
3447
3499
  if (h.has(u))
3448
- return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3500
+ return this.error(r === "select" ? m.DUPLICATE_SELECT_ARGUMENT_SELECTOR : m.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3449
3501
  u === "other" && (s = !0), this.bumpSpace();
3450
3502
  var p = this.clonePosition();
3451
3503
  if (!this.bumpIf("{"))
3452
- return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
3453
- var b = this.parseMessage(t + 1, r, n);
3454
- if (b.err)
3455
- return b;
3504
+ return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3505
+ var d = this.parseMessage(t + 1, r, n);
3506
+ if (d.err)
3507
+ return d;
3456
3508
  var v = this.tryParseArgumentClose(p);
3457
3509
  if (v.err)
3458
3510
  return v;
3459
3511
  a.push([
3460
3512
  u,
3461
3513
  {
3462
- value: b.val,
3463
- location: m(p, this.clonePosition())
3514
+ value: d.val,
3515
+ location: b(p, this.clonePosition())
3464
3516
  }
3465
3517
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3466
3518
  }
3467
- return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, m(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, m(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3519
+ return a.length === 0 ? this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR : m.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(m.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3468
3520
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3469
3521
  var n = 1, i = this.clonePosition();
3470
3522
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3475,8 +3527,8 @@ var qn = (
3475
3527
  else
3476
3528
  break;
3477
3529
  }
3478
- var h = m(i, this.clonePosition());
3479
- return o ? (s *= n, Wn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3530
+ var h = b(i, this.clonePosition());
3531
+ return o ? (s *= n, qn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3480
3532
  }, e.prototype.offset = function() {
3481
3533
  return this.position.offset;
3482
3534
  }, e.prototype.isEOF = function() {
@@ -3491,7 +3543,7 @@ var qn = (
3491
3543
  var t = this.position.offset;
3492
3544
  if (t >= this.message.length)
3493
3545
  throw Error("out of bound");
3494
- var r = Yt(this.message, t);
3546
+ var r = nr(this.message, t);
3495
3547
  if (r === void 0)
3496
3548
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3497
3549
  return r;
@@ -3510,7 +3562,7 @@ var qn = (
3510
3562
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3511
3563
  }
3512
3564
  }, e.prototype.bumpIf = function(t) {
3513
- if (bt(this.message, t, this.offset())) {
3565
+ if (vt(this.message, t, this.offset())) {
3514
3566
  for (var r = 0; r < t.length; r++)
3515
3567
  this.bump();
3516
3568
  return !0;
@@ -3532,7 +3584,7 @@ var qn = (
3532
3584
  break;
3533
3585
  }
3534
3586
  }, e.prototype.bumpSpace = function() {
3535
- for (; !this.isEOF() && er(this.char()); )
3587
+ for (; !this.isEOF() && or(this.char()); )
3536
3588
  this.bump();
3537
3589
  }, e.prototype.peek = function() {
3538
3590
  if (this.isEOF())
@@ -3542,43 +3594,44 @@ var qn = (
3542
3594
  }, e;
3543
3595
  }()
3544
3596
  );
3545
- function Xe(e) {
3597
+ function We(e) {
3546
3598
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3547
3599
  }
3548
- function Jn(e) {
3549
- return Xe(e) || e === 47;
3600
+ function ti(e) {
3601
+ return We(e) || e === 47;
3550
3602
  }
3551
- function Yn(e) {
3603
+ function ri(e) {
3552
3604
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3553
3605
  }
3554
- function er(e) {
3606
+ function or(e) {
3555
3607
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3556
3608
  }
3557
- function Kn(e) {
3609
+ function ni(e) {
3558
3610
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3559
3611
  }
3560
- function We(e) {
3612
+ function ze(e) {
3561
3613
  e.forEach(function(t) {
3562
- if (delete t.location, Vt(t) || Xt(t))
3614
+ if (delete t.location, Qt(t) || qt(t))
3563
3615
  for (var r in t.options)
3564
- delete t.options[r].location, We(t.options[r].value);
3565
- else Ft(t) && zt(t.style) || (jt(t) || kt(t)) && Fe(t.style) ? delete t.style.location : Wt(t) && We(t.children);
3616
+ delete t.options[r].location, ze(t.options[r].value);
3617
+ else
3618
+ Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && je(t.style) ? delete t.style.location : Jt(t) && ze(t.children);
3566
3619
  });
3567
3620
  }
3568
- function ei(e, t) {
3621
+ function ii(e, t) {
3569
3622
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3570
- var r = new qn(e, t).parse();
3623
+ var r = new ei(e, t).parse();
3571
3624
  if (r.err) {
3572
- var n = SyntaxError(d[r.err.kind]);
3625
+ var n = SyntaxError(m[r.err.kind]);
3573
3626
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3574
3627
  }
3575
- return t != null && t.captureLocation || We(r.val), r.val;
3628
+ return t != null && t.captureLocation || ze(r.val), r.val;
3576
3629
  }
3577
3630
  var z;
3578
3631
  (function(e) {
3579
3632
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3580
3633
  })(z || (z = {}));
3581
- var Ee = (
3634
+ var xe = (
3582
3635
  /** @class */
3583
3636
  function(e) {
3584
3637
  L(t, e);
@@ -3590,7 +3643,7 @@ var Ee = (
3590
3643
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3591
3644
  }, t;
3592
3645
  }(Error)
3593
- ), vt = (
3646
+ ), _t = (
3594
3647
  /** @class */
3595
3648
  function(e) {
3596
3649
  L(t, e);
@@ -3598,8 +3651,8 @@ var Ee = (
3598
3651
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3599
3652
  }
3600
3653
  return t;
3601
- }(Ee)
3602
- ), ti = (
3654
+ }(xe)
3655
+ ), oi = (
3603
3656
  /** @class */
3604
3657
  function(e) {
3605
3658
  L(t, e);
@@ -3607,8 +3660,8 @@ var Ee = (
3607
3660
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3608
3661
  }
3609
3662
  return t;
3610
- }(Ee)
3611
- ), ri = (
3663
+ }(xe)
3664
+ ), si = (
3612
3665
  /** @class */
3613
3666
  function(e) {
3614
3667
  L(t, e);
@@ -3616,129 +3669,129 @@ var Ee = (
3616
3669
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3617
3670
  }
3618
3671
  return t;
3619
- }(Ee)
3620
- ), E;
3672
+ }(xe)
3673
+ ), x;
3621
3674
  (function(e) {
3622
3675
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3623
- })(E || (E = {}));
3624
- function ni(e) {
3676
+ })(x || (x = {}));
3677
+ function ai(e) {
3625
3678
  return e.length < 2 ? e : e.reduce(function(t, r) {
3626
3679
  var n = t[t.length - 1];
3627
- return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3680
+ return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3628
3681
  }, []);
3629
3682
  }
3630
- function ii(e) {
3683
+ function ui(e) {
3631
3684
  return typeof e == "function";
3632
3685
  }
3633
3686
  function de(e, t, r, n, i, o, s) {
3634
- if (e.length === 1 && ft(e[0]))
3687
+ if (e.length === 1 && mt(e[0]))
3635
3688
  return [
3636
3689
  {
3637
- type: E.literal,
3690
+ type: x.literal,
3638
3691
  value: e[0].value
3639
3692
  }
3640
3693
  ];
3641
3694
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3642
3695
  var l = u[h];
3643
- if (ft(l)) {
3696
+ if (mt(l)) {
3644
3697
  a.push({
3645
- type: E.literal,
3698
+ type: x.literal,
3646
3699
  value: l.value
3647
3700
  });
3648
3701
  continue;
3649
3702
  }
3650
- if (Bn(l)) {
3703
+ if (On(l)) {
3651
3704
  typeof o == "number" && a.push({
3652
- type: E.literal,
3705
+ type: x.literal,
3653
3706
  value: r.getNumberFormat(t).format(o)
3654
3707
  });
3655
3708
  continue;
3656
3709
  }
3657
3710
  var f = l.value;
3658
3711
  if (!(i && f in i))
3659
- throw new ri(f, s);
3712
+ throw new si(f, s);
3660
3713
  var c = i[f];
3661
- if (Hn(l)) {
3714
+ if (Pn(l)) {
3662
3715
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3663
- type: typeof c == "string" ? E.literal : E.object,
3716
+ type: typeof c == "string" ? x.literal : x.object,
3664
3717
  value: c
3665
3718
  });
3666
3719
  continue;
3667
3720
  }
3668
- if (jt(l)) {
3669
- var p = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3721
+ if (zt(l)) {
3722
+ var p = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3670
3723
  a.push({
3671
- type: E.literal,
3724
+ type: x.literal,
3672
3725
  value: r.getDateTimeFormat(t, p).format(c)
3673
3726
  });
3674
3727
  continue;
3675
3728
  }
3676
- if (kt(l)) {
3677
- var p = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3729
+ if (Zt(l)) {
3730
+ var p = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3678
3731
  a.push({
3679
- type: E.literal,
3732
+ type: x.literal,
3680
3733
  value: r.getDateTimeFormat(t, p).format(c)
3681
3734
  });
3682
3735
  continue;
3683
3736
  }
3684
- if (Ft(l)) {
3685
- var p = typeof l.style == "string" ? n.number[l.style] : zt(l.style) ? l.style.parsedOptions : void 0;
3737
+ if (Wt(l)) {
3738
+ var p = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
3686
3739
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3687
- type: E.literal,
3740
+ type: x.literal,
3688
3741
  value: r.getNumberFormat(t, p).format(c)
3689
3742
  });
3690
3743
  continue;
3691
3744
  }
3692
- if (Wt(l)) {
3693
- var b = l.children, v = l.value, B = i[v];
3694
- if (!ii(B))
3695
- throw new ti(v, "function", s);
3696
- var $ = de(b, t, r, n, i, o), N = B($.map(function(P) {
3745
+ if (Jt(l)) {
3746
+ var d = l.children, v = l.value, B = i[v];
3747
+ if (!ui(B))
3748
+ throw new oi(v, "function", s);
3749
+ var $ = de(d, t, r, n, i, o), N = B($.map(function(P) {
3697
3750
  return P.value;
3698
3751
  }));
3699
3752
  Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(P) {
3700
3753
  return {
3701
- type: typeof P == "string" ? E.literal : E.object,
3754
+ type: typeof P == "string" ? x.literal : x.object,
3702
3755
  value: P
3703
3756
  };
3704
3757
  }));
3705
3758
  }
3706
- if (Vt(l)) {
3759
+ if (Qt(l)) {
3707
3760
  var _ = l.options[c] || l.options.other;
3708
3761
  if (!_)
3709
- throw new vt(l.value, c, Object.keys(l.options), s);
3762
+ throw new _t(l.value, c, Object.keys(l.options), s);
3710
3763
  a.push.apply(a, de(_.value, t, r, n, i));
3711
3764
  continue;
3712
3765
  }
3713
- if (Xt(l)) {
3766
+ if (qt(l)) {
3714
3767
  var _ = l.options["=".concat(c)];
3715
3768
  if (!_) {
3716
3769
  if (!Intl.PluralRules)
3717
- throw new Ee(`Intl.PluralRules is not available in this environment.
3770
+ throw new xe(`Intl.PluralRules is not available in this environment.
3718
3771
  Try polyfilling it using "@formatjs/intl-pluralrules"
3719
3772
  `, z.MISSING_INTL_API, s);
3720
3773
  var R = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3721
3774
  _ = l.options[R] || l.options.other;
3722
3775
  }
3723
3776
  if (!_)
3724
- throw new vt(l.value, c, Object.keys(l.options), s);
3777
+ throw new _t(l.value, c, Object.keys(l.options), s);
3725
3778
  a.push.apply(a, de(_.value, t, r, n, i, c - (l.offset || 0)));
3726
3779
  continue;
3727
3780
  }
3728
3781
  }
3729
- return ni(a);
3782
+ return ai(a);
3730
3783
  }
3731
- function oi(e, t) {
3784
+ function hi(e, t) {
3732
3785
  return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3733
3786
  return r[n] = g(g({}, e[n]), t[n] || {}), r;
3734
3787
  }, {})) : e;
3735
3788
  }
3736
- function si(e, t) {
3789
+ function li(e, t) {
3737
3790
  return t ? Object.keys(e).reduce(function(r, n) {
3738
- return r[n] = oi(e[n], t[n]), r;
3791
+ return r[n] = hi(e[n], t[n]), r;
3739
3792
  }, g({}, e)) : e;
3740
3793
  }
3741
- function Ie(e) {
3794
+ function Le(e) {
3742
3795
  return {
3743
3796
  create: function() {
3744
3797
  return {
@@ -3752,39 +3805,39 @@ function Ie(e) {
3752
3805
  }
3753
3806
  };
3754
3807
  }
3755
- function ai(e) {
3808
+ function ci(e) {
3756
3809
  return e === void 0 && (e = {
3757
3810
  number: {},
3758
3811
  dateTime: {},
3759
3812
  pluralRules: {}
3760
3813
  }), {
3761
- getNumberFormat: Ae(function() {
3814
+ getNumberFormat: Pe(function() {
3762
3815
  for (var t, r = [], n = 0; n < arguments.length; n++)
3763
3816
  r[n] = arguments[n];
3764
3817
  return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3765
3818
  }, {
3766
- cache: Ie(e.number),
3767
- strategy: Pe.variadic
3819
+ cache: Le(e.number),
3820
+ strategy: Oe.variadic
3768
3821
  }),
3769
- getDateTimeFormat: Ae(function() {
3822
+ getDateTimeFormat: Pe(function() {
3770
3823
  for (var t, r = [], n = 0; n < arguments.length; n++)
3771
3824
  r[n] = arguments[n];
3772
3825
  return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3773
3826
  }, {
3774
- cache: Ie(e.dateTime),
3775
- strategy: Pe.variadic
3827
+ cache: Le(e.dateTime),
3828
+ strategy: Oe.variadic
3776
3829
  }),
3777
- getPluralRules: Ae(function() {
3830
+ getPluralRules: Pe(function() {
3778
3831
  for (var t, r = [], n = 0; n < arguments.length; n++)
3779
3832
  r[n] = arguments[n];
3780
3833
  return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3781
3834
  }, {
3782
- cache: Ie(e.pluralRules),
3783
- strategy: Pe.variadic
3835
+ cache: Le(e.pluralRules),
3836
+ strategy: Oe.variadic
3784
3837
  })
3785
3838
  };
3786
3839
  }
3787
- var ui = (
3840
+ var fi = (
3788
3841
  /** @class */
3789
3842
  function() {
3790
3843
  function e(t, r, n, i) {
@@ -3799,7 +3852,7 @@ var ui = (
3799
3852
  if (u.length === 1)
3800
3853
  return u[0].value;
3801
3854
  var l = u.reduce(function(f, c) {
3802
- return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3855
+ return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3803
3856
  }, []);
3804
3857
  return l.length <= 1 ? l[0] || "" : l;
3805
3858
  }, this.formatToParts = function(h) {
@@ -3816,13 +3869,13 @@ var ui = (
3816
3869
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3817
3870
  var s = i || {};
3818
3871
  s.formatters;
3819
- var a = Gr(s, ["formatters"]);
3872
+ var a = Vr(s, ["formatters"]);
3820
3873
  this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3821
3874
  } else
3822
3875
  this.ast = t;
3823
3876
  if (!Array.isArray(this.ast))
3824
3877
  throw new TypeError("A message must be provided as a String or AST.");
3825
- this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3878
+ this.formats = li(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
3826
3879
  }
3827
3880
  return Object.defineProperty(e, "defaultLocale", {
3828
3881
  get: function() {
@@ -3835,7 +3888,7 @@ var ui = (
3835
3888
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3836
3889
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3837
3890
  }
3838
- }, e.__parse = ei, e.formats = {
3891
+ }, e.__parse = ii, e.formats = {
3839
3892
  number: {
3840
3893
  integer: {
3841
3894
  maximumFractionDigits: 0
@@ -3896,7 +3949,7 @@ var ui = (
3896
3949
  }, e;
3897
3950
  }()
3898
3951
  );
3899
- function hi(e, t) {
3952
+ function pi(e, t) {
3900
3953
  if (t == null)
3901
3954
  return;
3902
3955
  if (t in e)
@@ -3917,92 +3970,92 @@ function hi(e, t) {
3917
3970
  n = void 0;
3918
3971
  return n;
3919
3972
  }
3920
- const C = {}, li = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), tr = (e, t) => {
3973
+ const C = {}, di = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), sr = (e, t) => {
3921
3974
  if (t == null)
3922
3975
  return;
3923
3976
  if (t in C && e in C[t])
3924
3977
  return C[t][e];
3925
3978
  const r = _e(t);
3926
3979
  for (let n = 0; n < r.length; n++) {
3927
- const i = r[n], o = fi(i, e);
3980
+ const i = r[n], o = bi(i, e);
3928
3981
  if (o)
3929
- return li(e, t, o);
3982
+ return di(e, t, o);
3930
3983
  }
3931
3984
  };
3932
- let qe;
3933
- const ae = xe({});
3934
- function ci(e) {
3935
- return qe[e] || null;
3985
+ let Ke;
3986
+ const ae = Ee({});
3987
+ function mi(e) {
3988
+ return Ke[e] || null;
3936
3989
  }
3937
- function rr(e) {
3938
- return e in qe;
3990
+ function ar(e) {
3991
+ return e in Ke;
3939
3992
  }
3940
- function fi(e, t) {
3941
- if (!rr(e))
3993
+ function bi(e, t) {
3994
+ if (!ar(e))
3942
3995
  return null;
3943
- const r = ci(e);
3944
- return hi(r, t);
3996
+ const r = mi(e);
3997
+ return pi(r, t);
3945
3998
  }
3946
- function pi(e) {
3999
+ function gi(e) {
3947
4000
  if (e == null)
3948
4001
  return;
3949
4002
  const t = _e(e);
3950
4003
  for (let r = 0; r < t.length; r++) {
3951
4004
  const n = t[r];
3952
- if (rr(n))
4005
+ if (ar(n))
3953
4006
  return n;
3954
4007
  }
3955
4008
  }
3956
- function nr(e, ...t) {
3957
- delete C[e], ae.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
4009
+ function ur(e, ...t) {
4010
+ delete C[e], ae.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
3958
4011
  }
3959
4012
  q(
3960
4013
  [ae],
3961
4014
  ([e]) => Object.keys(e)
3962
4015
  );
3963
- ae.subscribe((e) => qe = e);
4016
+ ae.subscribe((e) => Ke = e);
3964
4017
  const me = {};
3965
- function di(e, t) {
4018
+ function yi(e, t) {
3966
4019
  me[e].delete(t), me[e].size === 0 && delete me[e];
3967
4020
  }
3968
- function ir(e) {
4021
+ function hr(e) {
3969
4022
  return me[e];
3970
4023
  }
3971
- function mi(e) {
4024
+ function vi(e) {
3972
4025
  return _e(e).map((t) => {
3973
- const r = ir(t);
4026
+ const r = hr(t);
3974
4027
  return [t, r ? [...r] : []];
3975
4028
  }).filter(([, t]) => t.length > 0);
3976
4029
  }
3977
- function ze(e) {
4030
+ function Ze(e) {
3978
4031
  return e == null ? !1 : _e(e).some(
3979
4032
  (t) => {
3980
4033
  var r;
3981
- return (r = ir(t)) == null ? void 0 : r.size;
4034
+ return (r = hr(t)) == null ? void 0 : r.size;
3982
4035
  }
3983
4036
  );
3984
4037
  }
3985
- function bi(e, t) {
4038
+ function Ei(e, t) {
3986
4039
  return Promise.all(
3987
- t.map((n) => (di(e, n), n().then((i) => i.default || i)))
3988
- ).then((n) => nr(e, ...n));
4040
+ t.map((n) => (yi(e, n), n().then((i) => i.default || i)))
4041
+ ).then((n) => ur(e, ...n));
3989
4042
  }
3990
4043
  const ee = {};
3991
- function or(e) {
3992
- if (!ze(e))
4044
+ function lr(e) {
4045
+ if (!Ze(e))
3993
4046
  return e in ee ? ee[e] : Promise.resolve();
3994
- const t = mi(e);
4047
+ const t = vi(e);
3995
4048
  return ee[e] = Promise.all(
3996
4049
  t.map(
3997
- ([r, n]) => bi(r, n)
4050
+ ([r, n]) => Ei(r, n)
3998
4051
  )
3999
4052
  ).then(() => {
4000
- if (ze(e))
4001
- return or(e);
4053
+ if (Ze(e))
4054
+ return lr(e);
4002
4055
  delete ee[e];
4003
4056
  }), ee[e];
4004
4057
  }
4005
- const gi = {
4058
+ const xi = {
4006
4059
  number: {
4007
4060
  scientific: { notation: "scientific" },
4008
4061
  engineering: { notation: "engineering" },
@@ -4031,57 +4084,57 @@ const gi = {
4031
4084
  timeZoneName: "short"
4032
4085
  }
4033
4086
  }
4034
- }, yi = {
4087
+ }, _i = {
4035
4088
  fallbackLocale: null,
4036
4089
  loadingDelay: 200,
4037
- formats: gi,
4090
+ formats: xi,
4038
4091
  warnOnMissingMessages: !0,
4039
4092
  handleMissingMessage: void 0,
4040
4093
  ignoreTag: !0
4041
- }, vi = yi;
4094
+ }, Si = _i;
4042
4095
  function Z() {
4043
- return vi;
4096
+ return Si;
4044
4097
  }
4045
- const Le = xe(!1);
4046
- var xi = Object.defineProperty, Ei = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4098
+ const Ne = Ee(!1);
4099
+ var Ti = Object.defineProperty, Hi = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
4047
4100
  for (var r in t || (t = {}))
4048
- Si.call(t, r) && Et(e, r, t[r]);
4049
- if (xt)
4050
- for (var r of xt(t))
4051
- Ti.call(t, r) && Et(e, r, t[r]);
4101
+ wi.call(t, r) && Tt(e, r, t[r]);
4102
+ if (St)
4103
+ for (var r of St(t))
4104
+ Ai.call(t, r) && Tt(e, r, t[r]);
4052
4105
  return e;
4053
- }, Bi = (e, t) => Ei(e, _i(t));
4054
- let Ze;
4055
- const be = xe(null);
4056
- function _t(e) {
4106
+ }, Oi = (e, t) => Hi(e, Bi(t));
4107
+ let Qe;
4108
+ const be = Ee(null);
4109
+ function Ht(e) {
4057
4110
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4058
4111
  }
4059
4112
  function _e(e, t = Z().fallbackLocale) {
4060
- const r = _t(e);
4061
- return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
4113
+ const r = Ht(e);
4114
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4062
4115
  }
4063
4116
  function U() {
4064
- return Ze != null ? Ze : void 0;
4117
+ return Qe != null ? Qe : void 0;
4065
4118
  }
4066
4119
  be.subscribe((e) => {
4067
- Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4120
+ Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4068
4121
  });
4069
- const wi = (e) => {
4070
- if (e && pi(e) && ze(e)) {
4122
+ const Ii = (e) => {
4123
+ if (e && gi(e) && Ze(e)) {
4071
4124
  const { loadingDelay: t } = Z();
4072
4125
  let r;
4073
4126
  return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
4074
- () => Le.set(!0),
4127
+ () => Ne.set(!0),
4075
4128
  t
4076
- ) : Le.set(!0), or(e).then(() => {
4129
+ ) : Ne.set(!0), lr(e).then(() => {
4077
4130
  be.set(e);
4078
4131
  }).finally(() => {
4079
- clearTimeout(r), Le.set(!1);
4132
+ clearTimeout(r), Ne.set(!1);
4080
4133
  });
4081
4134
  }
4082
4135
  return be.set(e);
4083
- }, J = Bi(Hi({}, be), {
4084
- set: wi
4136
+ }, J = Oi(Pi({}, be), {
4137
+ set: Ii
4085
4138
  }), Se = (e) => {
4086
4139
  const t = /* @__PURE__ */ Object.create(null);
4087
4140
  return (n) => {
@@ -4089,20 +4142,20 @@ const wi = (e) => {
4089
4142
  return i in t ? t[i] : t[i] = e(n);
4090
4143
  };
4091
4144
  };
4092
- var Ai = Object.defineProperty, ge = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4145
+ var Li = Object.defineProperty, ge = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
4093
4146
  for (var r in t || (t = {}))
4094
- sr.call(t, r) && St(e, r, t[r]);
4147
+ cr.call(t, r) && Bt(e, r, t[r]);
4095
4148
  if (ge)
4096
4149
  for (var r of ge(t))
4097
- ar.call(t, r) && St(e, r, t[r]);
4150
+ fr.call(t, r) && Bt(e, r, t[r]);
4098
4151
  return e;
4099
4152
  }, Y = (e, t) => {
4100
4153
  var r = {};
4101
4154
  for (var n in e)
4102
- sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4155
+ cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4103
4156
  if (e != null && ge)
4104
4157
  for (var n of ge(e))
4105
- t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4158
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4106
4159
  return r;
4107
4160
  };
4108
4161
  const ie = (e, t) => {
@@ -4110,21 +4163,21 @@ const ie = (e, t) => {
4110
4163
  if (e in r && t in r[e])
4111
4164
  return r[e][t];
4112
4165
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4113
- }, Pi = Se(
4166
+ }, Ni = Se(
4114
4167
  (e) => {
4115
4168
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4116
4169
  if (r == null)
4117
4170
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4118
4171
  return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4119
4172
  }
4120
- ), Oi = Se(
4173
+ ), Mi = Se(
4121
4174
  (e) => {
4122
4175
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4123
4176
  if (r == null)
4124
4177
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4125
4178
  return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4126
4179
  }
4127
- ), Ii = Se(
4180
+ ), Ci = Se(
4128
4181
  (e) => {
4129
4182
  var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4130
4183
  if (r == null)
@@ -4133,33 +4186,33 @@ const ie = (e, t) => {
4133
4186
  );
4134
4187
  return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4135
4188
  }
4136
- ), Li = (e = {}) => {
4189
+ ), $i = (e = {}) => {
4137
4190
  var t = e, {
4138
4191
  locale: r = U()
4139
4192
  } = t, n = Y(t, [
4140
4193
  "locale"
4141
4194
  ]);
4142
- return Pi(Je({ locale: r }, n));
4143
- }, Ni = (e = {}) => {
4195
+ return Ni(et({ locale: r }, n));
4196
+ }, Ri = (e = {}) => {
4144
4197
  var t = e, {
4145
4198
  locale: r = U()
4146
4199
  } = t, n = Y(t, [
4147
4200
  "locale"
4148
4201
  ]);
4149
- return Oi(Je({ locale: r }, n));
4150
- }, Mi = (e = {}) => {
4202
+ return Mi(et({ locale: r }, n));
4203
+ }, Ui = (e = {}) => {
4151
4204
  var t = e, {
4152
4205
  locale: r = U()
4153
4206
  } = t, n = Y(t, [
4154
4207
  "locale"
4155
4208
  ]);
4156
- return Ii(Je({ locale: r }, n));
4157
- }, Ci = Se(
4209
+ return Ci(et({ locale: r }, n));
4210
+ }, Di = Se(
4158
4211
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4159
- (e, t = U()) => new ui(e, t, Z().formats, {
4212
+ (e, t = U()) => new fi(e, t, Z().formats, {
4160
4213
  ignoreTag: Z().ignoreTag
4161
4214
  })
4162
- ), $i = (e, t = {}) => {
4215
+ ), Gi = (e, t = {}) => {
4163
4216
  var r, n, i, o;
4164
4217
  let s = t;
4165
4218
  typeof e == "object" && (s = e, e = s.id);
@@ -4172,7 +4225,7 @@ const ie = (e, t) => {
4172
4225
  throw new Error(
4173
4226
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4174
4227
  );
4175
- let l = tr(e, h);
4228
+ let l = sr(e, h);
4176
4229
  if (!l)
4177
4230
  l = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4178
4231
  else if (typeof l != "string")
@@ -4183,7 +4236,7 @@ const ie = (e, t) => {
4183
4236
  return l;
4184
4237
  let f = l;
4185
4238
  try {
4186
- f = Ci(l, h).format(a);
4239
+ f = Di(l, h).format(a);
4187
4240
  } catch (c) {
4188
4241
  c instanceof Error && console.warn(
4189
4242
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4191,20 +4244,20 @@ const ie = (e, t) => {
4191
4244
  );
4192
4245
  }
4193
4246
  return f;
4194
- }, Ri = (e, t) => Mi(t).format(e), Ui = (e, t) => Ni(t).format(e), Gi = (e, t) => Li(t).format(e), Di = (e, t = U()) => tr(e, t), Fi = q([J, ae], () => $i);
4195
- q([J], () => Ri);
4196
- q([J], () => Ui);
4197
- q([J], () => Gi);
4198
- q([J, ae], () => Di);
4199
- window.emWidgets = { topic: Kr };
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 ki(e, t) {
4247
+ }, Fi = (e, t) => Ui(t).format(e), ji = (e, t) => Ri(t).format(e), ki = (e, t) => $i(t).format(e), Vi = (e, t = U()) => sr(e, t), Xi = q([J, ae], () => Gi);
4248
+ q([J], () => Fi);
4249
+ q([J], () => ji);
4250
+ q([J], () => ki);
4251
+ q([J, ae], () => Vi);
4252
+ window.emWidgets = { topic: on };
4253
+ const Wi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4254
+ function wt(e, t) {
4202
4255
  if (e) {
4203
4256
  const r = document.createElement("style");
4204
4257
  r.innerHTML = t, e.appendChild(r);
4205
4258
  }
4206
4259
  }
4207
- function Vi(e, t) {
4260
+ function zi(e, t) {
4208
4261
  const r = new URL(t);
4209
4262
  fetch(r.href).then((n) => n.text()).then((n) => {
4210
4263
  const i = document.createElement("style");
@@ -4213,7 +4266,7 @@ function Vi(e, t) {
4213
4266
  console.error("There was an error while trying to load client styling from URL", n);
4214
4267
  });
4215
4268
  }
4216
- function no(e, t, r) {
4269
+ function Zi(e, t, r) {
4217
4270
  if (window.emMessageBus) {
4218
4271
  const n = document.createElement("style");
4219
4272
  window.emMessageBus.subscribe(t, (i) => {
@@ -4221,13 +4274,13 @@ function no(e, t, r) {
4221
4274
  });
4222
4275
  }
4223
4276
  }
4224
- function Tt(e, t) {
4225
- nr(e, t);
4277
+ function At(e, t) {
4278
+ ur(e, t);
4226
4279
  }
4227
- function Xi(e) {
4280
+ function Qi(e) {
4228
4281
  J.set(e);
4229
4282
  }
4230
- const Ht = {
4283
+ const Pt = {
4231
4284
  en: {
4232
4285
  logoutButton: "Logout"
4233
4286
  },
@@ -4262,10 +4315,10 @@ const Ht = {
4262
4315
  logoutButton: "Logout"
4263
4316
  }
4264
4317
  };
4265
- function Wi(e) {
4266
- gr(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))}");
4318
+ function qi(e) {
4319
+ _r(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))}");
4267
4320
  }
4268
- function zi(e) {
4321
+ function Ji(e) {
4269
4322
  let t, r, n, i = (
4270
4323
  /*$_*/
4271
4324
  e[2]("logoutButton") + ""
@@ -4275,7 +4328,7 @@ function zi(e) {
4275
4328
  t = O("div"), r = O("button"), n = O("span"), o = ye(i), S(t, "class", "GeneralLogout");
4276
4329
  },
4277
4330
  m(h, u) {
4278
- se(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = Pt(
4331
+ se(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = Nt(
4279
4332
  r,
4280
4333
  "click",
4281
4334
  /*click_handler_1*/
@@ -4285,19 +4338,19 @@ function zi(e) {
4285
4338
  p(h, u) {
4286
4339
  u & /*$_*/
4287
4340
  4 && i !== (i = /*$_*/
4288
- h[2]("logoutButton") + "") && Ot(o, i);
4341
+ h[2]("logoutButton") + "") && Mt(o, i);
4289
4342
  },
4290
4343
  d(h) {
4291
4344
  h && Q(t), s = !1, a();
4292
4345
  }
4293
4346
  };
4294
4347
  }
4295
- function Zi(e) {
4348
+ function Yi(e) {
4296
4349
  let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
4297
- e[3] && Qi(e);
4350
+ e[3] && Ki(e);
4298
4351
  return {
4299
4352
  c() {
4300
- t = O("p"), r = O("span"), n = K("svg"), i = K("defs"), o = K("style"), s = ye(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = xr(), c && c.c(), S(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), S(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), S(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), S(n, "data-name", "Layer 1"), S(n, "xmlns", "http://www.w3.org/2000/svg"), S(n, "viewBox", "0 0 150 150"), _r(r, "width", /*isMobile*/
4353
+ t = O("p"), r = O("span"), n = K("svg"), i = K("defs"), o = K("style"), s = ye(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = Hr(), c && c.c(), S(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), S(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), S(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), S(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), S(n, "data-name", "Layer 1"), S(n, "xmlns", "http://www.w3.org/2000/svg"), S(n, "viewBox", "0 0 150 150"), wr(r, "width", /*isMobile*/
4301
4354
  e[3] ? (
4302
4355
  /*mediaQuery*/
4303
4356
  e[4].matches ? "50px" : "24px"
@@ -4306,24 +4359,24 @@ function Zi(e) {
4306
4359
  (e[4].matches && /*isMobile*/
4307
4360
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4308
4361
  },
4309
- m(p, b) {
4310
- se(p, t, b), T(t, r), T(r, n), T(n, i), T(i, o), T(o, s), T(n, a), T(n, h), T(t, u), c && c.m(t, null), l || (f = Pt(
4362
+ m(p, d) {
4363
+ se(p, t, d), T(t, r), T(r, n), T(n, i), T(i, o), T(o, s), T(n, a), T(n, h), T(t, u), c && c.m(t, null), l || (f = Nt(
4311
4364
  t,
4312
4365
  "click",
4313
4366
  /*click_handler*/
4314
4367
  e[13]
4315
4368
  ), l = !0);
4316
4369
  },
4317
- p(p, b) {
4370
+ p(p, d) {
4318
4371
  /*isMobile*/
4319
- p[3] || c.p(p, b);
4372
+ p[3] || c.p(p, d);
4320
4373
  },
4321
4374
  d(p) {
4322
4375
  p && Q(t), c && c.d(), l = !1, f();
4323
4376
  }
4324
4377
  };
4325
4378
  }
4326
- function Qi(e) {
4379
+ function Ki(e) {
4327
4380
  let t, r = (
4328
4381
  /*$_*/
4329
4382
  e[2]("logoutButton") + ""
@@ -4338,19 +4391,19 @@ function Qi(e) {
4338
4391
  p(i, o) {
4339
4392
  o & /*$_*/
4340
4393
  4 && r !== (r = /*$_*/
4341
- i[2]("logoutButton") + "") && Ot(n, r);
4394
+ i[2]("logoutButton") + "") && Mt(n, r);
4342
4395
  },
4343
4396
  d(i) {
4344
4397
  i && Q(t);
4345
4398
  }
4346
4399
  };
4347
4400
  }
4348
- function qi(e) {
4401
+ function eo(e) {
4349
4402
  let t;
4350
4403
  function r(o, s) {
4351
4404
  return (
4352
4405
  /*buttonlocation*/
4353
- o[0] === "PlayerAccountMenu" ? Zi : zi
4406
+ o[0] === "PlayerAccountMenu" ? Yi : Ji
4354
4407
  );
4355
4408
  }
4356
4409
  let n = r(e), i = n(e);
@@ -4371,21 +4424,21 @@ function qi(e) {
4371
4424
  }
4372
4425
  };
4373
4426
  }
4374
- function Ji(e, t, r) {
4427
+ function to(e, t, r) {
4375
4428
  let n;
4376
- br(e, Fi, (y) => r(2, n = y));
4377
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, b, v = window.navigator.userAgent, B = ji(v) !== "PC";
4429
+ xr(e, Xi, (y) => r(2, n = y));
4430
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, d, v = window.navigator.userAgent, B = Wi(v) !== "PC";
4378
4431
  const $ = window.matchMedia("(min-width: 768px)"), N = () => {
4379
4432
  fetch(f).then((M) => M.json()).then((M) => {
4380
4433
  Object.keys(M).forEach((Te) => {
4381
- Tt(Te, M[Te]);
4434
+ At(Te, M[Te]);
4382
4435
  });
4383
4436
  }).catch((M) => {
4384
4437
  console.log(M);
4385
4438
  });
4386
4439
  };
4387
- Object.keys(Ht).forEach((y) => {
4388
- Tt(y, Ht[y]);
4440
+ Object.keys(Pt).forEach((y) => {
4441
+ At(y, Pt[y]);
4389
4442
  });
4390
4443
  const _ = () => {
4391
4444
  let y = new Headers();
@@ -4395,14 +4448,14 @@ function Ji(e, t, r) {
4395
4448
  window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
4396
4449
  });
4397
4450
  }, R = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(c)), p), P = () => {
4398
- Xi(a);
4451
+ Qi(a);
4399
4452
  };
4400
- Hr(() => () => {
4453
+ Or(() => () => {
4401
4454
  });
4402
- const G = () => _(), ue = () => _();
4403
- function hr(y) {
4404
- Ne[y ? "unshift" : "push"](() => {
4405
- b = y, r(1, b);
4455
+ const D = () => _(), ue = () => _();
4456
+ function dr(y) {
4457
+ Me[y ? "unshift" : "push"](() => {
4458
+ d = y, r(1, d);
4406
4459
  });
4407
4460
  }
4408
4461
  return e.$$set = (y) => {
@@ -4411,12 +4464,14 @@ function Ji(e, t, r) {
4411
4464
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4412
4465
  193 && i && o && s && R(), e.$$.dirty & /*lang*/
4413
4466
  256 && a && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4414
- 1026 && u && b && ki(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4415
- 2050 && l && b && Vi(), e.$$.dirty & /*translationurl*/
4467
+ 1026 && u && d && wt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4468
+ 1026 && u && d && wt(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4469
+ 2050 && l && d && zi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4470
+ 514 && h && d && Zi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4416
4471
  4096 && f && N();
4417
4472
  }, [
4418
4473
  s,
4419
- b,
4474
+ d,
4420
4475
  n,
4421
4476
  B,
4422
4477
  $,
@@ -4428,19 +4483,19 @@ function Ji(e, t, r) {
4428
4483
  u,
4429
4484
  l,
4430
4485
  f,
4431
- G,
4486
+ D,
4432
4487
  ue,
4433
- hr
4488
+ dr
4434
4489
  ];
4435
4490
  }
4436
- class ur extends Rr {
4491
+ class pr extends jr {
4437
4492
  constructor(t) {
4438
- super(), Cr(
4493
+ super(), Gr(
4439
4494
  this,
4440
4495
  t,
4441
- Ji,
4442
- qi,
4443
- wt,
4496
+ to,
4497
+ eo,
4498
+ It,
4444
4499
  {
4445
4500
  endpoint: 6,
4446
4501
  session: 7,
@@ -4451,7 +4506,7 @@ class ur extends Rr {
4451
4506
  clientstylingurl: 11,
4452
4507
  translationurl: 12
4453
4508
  },
4454
- Wi
4509
+ qi
4455
4510
  );
4456
4511
  }
4457
4512
  get endpoint() {
@@ -4503,43 +4558,43 @@ class ur extends Rr {
4503
4558
  this.$$set({ translationurl: t }), A();
4504
4559
  }
4505
4560
  }
4506
- $r(ur, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4507
- const io = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4561
+ Fr(pr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4562
+ const ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4508
4563
  __proto__: null,
4509
- default: ur
4564
+ default: pr
4510
4565
  }, Symbol.toStringTag, { value: "Module" }));
4511
4566
  export {
4512
4567
  J as $,
4513
- Fi as A,
4514
- ki as B,
4515
- Vi as C,
4516
- no as D,
4517
- io as G,
4518
- Rr as S,
4519
- nr as a,
4520
- gr as b,
4521
- $r as c,
4522
- Q as d,
4523
- se as e,
4568
+ Nt as A,
4569
+ oe as B,
4570
+ no as C,
4571
+ Xi as D,
4572
+ ao as G,
4573
+ jr as S,
4574
+ ur as a,
4575
+ _r as b,
4576
+ Fr as c,
4577
+ se as d,
4578
+ O as e,
4524
4579
  A as f,
4525
- O as g,
4526
- br as h,
4527
- Cr as i,
4528
- ji as j,
4529
- Ne as k,
4530
- ro as l,
4531
- eo as m,
4580
+ Q as g,
4581
+ xr as h,
4582
+ Gr as i,
4583
+ Wi as j,
4584
+ zi as k,
4585
+ Zi as l,
4586
+ Me as m,
4532
4587
  w as n,
4533
- Hr as o,
4534
- T as p,
4535
- xr as q,
4536
- to as r,
4537
- wt as s,
4538
- S as t,
4539
- Ot as u,
4540
- ye as v,
4541
- oe as w,
4542
- Pt as x,
4543
- K as y,
4544
- Ki as z
4588
+ Or as o,
4589
+ wt as p,
4590
+ so as q,
4591
+ Hr as r,
4592
+ It as s,
4593
+ ye as t,
4594
+ S as u,
4595
+ T as v,
4596
+ Mt as w,
4597
+ io as x,
4598
+ oo as y,
4599
+ K as z
4545
4600
  };