@everymatrix/player-account-menu-nd 1.86.1 → 1.86.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/components/{GeneralLogout-BaeX2ybf.js → GeneralLogout-CG0fvyvl.js} +734 -755
  2. package/components/GeneralLogout-HeC3H3zO.cjs +18 -0
  3. package/components/{GeneralLogout-CsSWfRQq.js → GeneralLogout-SlMGGcp3.js} +759 -780
  4. package/components/{PlayerAccountMenuNd-BjAKtxsm.js → PlayerAccountMenuNd-BOcdKnFh.js} +28 -28
  5. package/components/{PlayerAccountMenuNd-DMN-EKNC.cjs → PlayerAccountMenuNd-D-BqY4Sz.cjs} +1 -1
  6. package/components/{PlayerAccountMenuNd-xPIs6CdB.js → PlayerAccountMenuNd-emsf9oFi.js} +30 -30
  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-b2193545-CMoQ4Pov.js +503 -0
  12. package/stencil/index-b2193545-CQaBo5im.cjs +1 -0
  13. package/stencil/index-b2193545-DvP9W4Go.js +519 -0
  14. package/stencil/{ui-skeleton-BreIU6e5.cjs → ui-skeleton-C7KTfaPd.cjs} +1 -1
  15. package/stencil/{ui-skeleton-W50o8tfg.js → ui-skeleton-Cn9Rv2BY.js} +2 -2
  16. package/stencil/{ui-skeleton-xXZA3rYO.js → ui-skeleton-YNoAIoec.js} +2 -2
  17. package/stencil/{ui-skeleton-ed169f8f-CVY4B-CP.js → ui-skeleton-ed169f8f-BA-lE0xf.js} +1 -1
  18. package/stencil/{ui-skeleton-ed169f8f-D3TjbVKy.js → ui-skeleton-ed169f8f-b70BXhTZ.js} +1 -1
  19. package/stencil/{ui-skeleton-ed169f8f-CpiCXJrP.cjs → ui-skeleton-ed169f8f-cGTgZqRU.cjs} +1 -1
  20. package/components/GeneralLogout-CnzW2nQw.cjs +0 -18
  21. package/stencil/index-b2193545-9K-aI7zC.cjs +0 -1
  22. package/stencil/index-b2193545-DsMHU6jb.js +0 -519
  23. package/stencil/index-b2193545-R7ZoV-kY.js +0 -503
@@ -1,17 +1,17 @@
1
- var br = Object.defineProperty, gr = Object.defineProperties;
2
- var yr = Object.getOwnPropertyDescriptors;
3
- var nt = Object.getOwnPropertySymbols;
4
- var vr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable;
5
- var we = (e, t, r) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (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
- vr.call(t, r) && we(e, r, t[r]);
8
- if (nt)
9
- for (var r of nt(t))
10
- _r.call(t, r) && we(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
- }, ot = (e, t) => gr(e, yr(t));
13
- var H = (e, t, r) => (we(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var st = (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));
@@ -27,53 +27,53 @@ var st = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function w() {
30
+ function A() {
31
31
  }
32
- function Lt(e) {
32
+ function Ot(e) {
33
33
  return e();
34
34
  }
35
- function at() {
35
+ function ot() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ie(e) {
39
- e.forEach(Lt);
38
+ function oe(e) {
39
+ e.forEach(Ot);
40
40
  }
41
- function et(e) {
41
+ function qe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Nt(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 so(e, t) {
48
+ function io(e, t) {
49
49
  return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
50
50
  }
51
51
  function Er(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Mt(e, ...t) {
54
+ function Lt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return w;
58
+ return A;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function xr(e, t, r) {
64
- e.$$.on_destroy.push(Mt(t, r));
63
+ function _r(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 Sr(e, t, r) {
70
- const n = Tr(e);
69
+ function xr(e, t, r) {
70
+ const n = Sr(e);
71
71
  if (!n.getElementById(t)) {
72
- const i = I("style");
73
- i.id = t, i.textContent = r, Hr(n, i);
72
+ const i = O("style");
73
+ i.id = t, i.textContent = r, Tr(n, i);
74
74
  }
75
75
  }
76
- function Tr(e) {
76
+ function Sr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,56 +83,56 @@ function Tr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Hr(e, t) {
86
+ function Tr(e, t) {
87
87
  return T(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function oe(e, t, r) {
93
+ function se(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function Z(e) {
96
+ function Q(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function ao(e, t) {
99
+ function oo(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
- function I(e) {
103
+ function O(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function Y(e) {
106
+ function K(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
- function ve(e) {
109
+ function ye(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
- function Br() {
113
- return ve(" ");
112
+ function Hr() {
113
+ return ye(" ");
114
114
  }
115
- function Ct(e, t, r, n) {
115
+ function Nt(e, t, r, n) {
116
116
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
117
117
  }
118
118
  function S(e, t, r) {
119
119
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
120
120
  }
121
- function uo(e, t, r) {
121
+ function so(e, t, r) {
122
122
  const n = t.toLowerCase();
123
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);
124
124
  }
125
- function wr(e) {
125
+ function Br(e) {
126
126
  return Array.from(e.childNodes);
127
127
  }
128
- function $t(e, t) {
128
+ function Mt(e, t) {
129
129
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
130
130
  t);
131
131
  }
132
132
  function Ar(e, t, r, n) {
133
133
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
134
134
  }
135
- function Pr(e) {
135
+ function wr(e) {
136
136
  const t = {};
137
137
  return e.childNodes.forEach(
138
138
  /** @param {Element} node */
@@ -141,98 +141,98 @@ function Pr(e) {
141
141
  }
142
142
  ), t;
143
143
  }
144
- let te;
145
- function ee(e) {
146
- te = e;
144
+ let re;
145
+ function te(e) {
146
+ re = e;
147
147
  }
148
- function Or() {
149
- if (!te)
148
+ function Pr() {
149
+ if (!re)
150
150
  throw new Error("Function called outside component initialization");
151
- return te;
151
+ return re;
152
152
  }
153
- function Ir(e) {
154
- Or().$$.on_mount.push(e);
153
+ function Or(e) {
154
+ Pr().$$.on_mount.push(e);
155
155
  }
156
- const j = [], $e = [];
156
+ const j = [], Me = [];
157
157
  let k = [];
158
- const ut = [], Lr = /* @__PURE__ */ Promise.resolve();
159
- let Re = !1;
160
- function Nr() {
161
- Re || (Re = !0, Lr.then(A));
158
+ const st = [], Ir = /* @__PURE__ */ Promise.resolve();
159
+ let Ce = !1;
160
+ function Lr() {
161
+ Ce || (Ce = !0, Ir.then(w));
162
162
  }
163
- function Ue(e) {
163
+ function $e(e) {
164
164
  k.push(e);
165
165
  }
166
- const Ae = /* @__PURE__ */ new Set();
167
- let D = 0;
168
- function A() {
169
- if (D !== 0)
166
+ const Be = /* @__PURE__ */ new Set();
167
+ let G = 0;
168
+ function w() {
169
+ if (G !== 0)
170
170
  return;
171
- const e = te;
171
+ const e = re;
172
172
  do {
173
173
  try {
174
- for (; D < j.length; ) {
175
- const t = j[D];
176
- D++, ee(t), Mr(t.$$);
174
+ for (; G < j.length; ) {
175
+ const t = j[G];
176
+ G++, te(t), Nr(t.$$);
177
177
  }
178
178
  } catch (t) {
179
- throw j.length = 0, D = 0, t;
179
+ throw j.length = 0, G = 0, t;
180
180
  }
181
- for (ee(null), j.length = 0, D = 0; $e.length; )
182
- $e.pop()();
181
+ for (te(null), j.length = 0, G = 0; Me.length; )
182
+ Me.pop()();
183
183
  for (let t = 0; t < k.length; t += 1) {
184
184
  const r = k[t];
185
- Ae.has(r) || (Ae.add(r), r());
185
+ Be.has(r) || (Be.add(r), r());
186
186
  }
187
187
  k.length = 0;
188
188
  } while (j.length);
189
- for (; ut.length; )
190
- ut.pop()();
191
- Re = !1, Ae.clear(), ee(e);
189
+ for (; st.length; )
190
+ st.pop()();
191
+ Ce = !1, Be.clear(), te(e);
192
192
  }
193
- function Mr(e) {
193
+ function Nr(e) {
194
194
  if (e.fragment !== null) {
195
- e.update(), ie(e.before_update);
195
+ e.update(), oe(e.before_update);
196
196
  const t = e.dirty;
197
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
197
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
198
198
  }
199
199
  }
200
- function Cr(e) {
200
+ function Mr(e) {
201
201
  const t = [], r = [];
202
202
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
203
203
  }
204
- const $r = /* @__PURE__ */ new Set();
205
- function Rr(e, t) {
206
- e && e.i && ($r.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));
207
207
  }
208
- function ho(e) {
208
+ function ao(e) {
209
209
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
210
210
  }
211
- function Ur(e, t, r) {
211
+ function Rr(e, t, r) {
212
212
  const { fragment: n, after_update: i } = e.$$;
213
- n && n.m(t, r), Ue(() => {
214
- const o = e.$$.on_mount.map(Lt).filter(et);
215
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
216
- }), i.forEach(Ue);
213
+ n && n.m(t, r), $e(() => {
214
+ const o = e.$$.on_mount.map(Ot).filter(qe);
215
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
216
+ }), i.forEach($e);
217
217
  }
218
- function Gr(e, t) {
218
+ function Ur(e, t) {
219
219
  const r = e.$$;
220
- r.fragment !== null && (Cr(r.after_update), ie(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 = []);
221
221
  }
222
222
  function Dr(e, t) {
223
- e.$$.dirty[0] === -1 && (j.push(e), Nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
223
+ e.$$.dirty[0] === -1 && (j.push(e), Lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
224
224
  }
225
- function Fr(e, t, r, n, i, o, s = null, a = [-1]) {
226
- const h = te;
227
- ee(e);
225
+ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
226
+ const h = re;
227
+ te(e);
228
228
  const u = e.$$ = {
229
229
  fragment: null,
230
230
  ctx: [],
231
231
  // state
232
232
  props: o,
233
- update: w,
233
+ update: A,
234
234
  not_equal: i,
235
- bound: at(),
235
+ bound: ot(),
236
236
  // lifecycle
237
237
  on_mount: [],
238
238
  on_destroy: [],
@@ -241,7 +241,7 @@ function Fr(e, t, r, n, i, o, s = null, a = [-1]) {
241
241
  after_update: [],
242
242
  context: new Map(t.context || (h ? h.$$.context : [])),
243
243
  // everything else
244
- callbacks: at(),
244
+ callbacks: ot(),
245
245
  dirty: a,
246
246
  skip_bound: !1,
247
247
  root: t.target || h.$$.root
@@ -251,18 +251,18 @@ function Fr(e, t, r, n, i, o, s = null, a = [-1]) {
251
251
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
252
252
  const d = p.length ? p[0] : c;
253
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;
254
- }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
254
+ }) : [], u.update(), l = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
255
255
  if (t.hydrate) {
256
- const f = wr(t.target);
257
- u.fragment && u.fragment.l(f), f.forEach(Z);
256
+ const f = Br(t.target);
257
+ u.fragment && u.fragment.l(f), f.forEach(Q);
258
258
  } else
259
259
  u.fragment && u.fragment.c();
260
- t.intro && Rr(e.$$.fragment), Ur(e, t.target, t.anchor), A();
260
+ t.intro && $r(e.$$.fragment), Rr(e, t.target, t.anchor), w();
261
261
  }
262
- ee(h);
262
+ te(h);
263
263
  }
264
- let Rt;
265
- typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
264
+ let Ct;
265
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
266
266
  constructor(t, r, n) {
267
267
  super();
268
268
  /** The Svelte component constructor */
@@ -299,31 +299,31 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
299
299
  }
300
300
  }
301
301
  connectedCallback() {
302
- return st(this, null, function* () {
302
+ return it(this, null, function* () {
303
303
  if (this.$$cn = !0, !this.$$c) {
304
304
  let t = function(o) {
305
305
  return () => {
306
306
  let s;
307
307
  return {
308
308
  c: function() {
309
- s = I("slot"), o !== "default" && S(s, "name", o);
309
+ s = O("slot"), o !== "default" && S(s, "name", o);
310
310
  },
311
311
  /**
312
312
  * @param {HTMLElement} target
313
313
  * @param {HTMLElement} [anchor]
314
314
  */
315
315
  m: function(u, l) {
316
- oe(u, s, l);
316
+ se(u, s, l);
317
317
  },
318
318
  d: function(u) {
319
- u && Z(s);
319
+ u && Q(s);
320
320
  }
321
321
  };
322
322
  };
323
323
  };
324
324
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
325
325
  return;
326
- const r = {}, n = Pr(this);
326
+ const r = {}, n = wr(this);
327
327
  for (const o of this.$$s)
328
328
  o in n && (r[o] = [t(o)]);
329
329
  for (const o of this.attributes) {
@@ -334,7 +334,7 @@ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
334
334
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
335
335
  this.$$c = new this.$$ctor({
336
336
  target: this.shadowRoot || this,
337
- props: ot(it({}, this.$$d), {
337
+ props: nt(rt({}, this.$$d), {
338
338
  $$slots: r,
339
339
  $$scope: {
340
340
  ctx: []
@@ -412,8 +412,8 @@ function fe(e, t, r, n) {
412
412
  return t;
413
413
  }
414
414
  }
415
- function jr(e, t, r, n, i, o) {
416
- let s = class extends Rt {
415
+ function Fr(e, t, r, n, i, o) {
416
+ let s = class extends Ct {
417
417
  constructor() {
418
418
  super(e, r, i), this.$$p_d = t;
419
419
  }
@@ -443,7 +443,7 @@ function jr(e, t, r, n, i, o) {
443
443
  }), e.element = /** @type {any} */
444
444
  s, s;
445
445
  }
446
- class kr {
446
+ class jr {
447
447
  constructor() {
448
448
  /**
449
449
  * ### PRIVATE API
@@ -464,7 +464,7 @@ class kr {
464
464
  }
465
465
  /** @returns {void} */
466
466
  $destroy() {
467
- Gr(this, 1), this.$destroy = w;
467
+ Ur(this, 1), this.$destroy = A;
468
468
  }
469
469
  /**
470
470
  * @template {Extract<keyof Events, string>} K
@@ -473,8 +473,8 @@ class kr {
473
473
  * @returns {() => void}
474
474
  */
475
475
  $on(t, r) {
476
- if (!et(r))
477
- return w;
476
+ if (!qe(r))
477
+ return A;
478
478
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
479
479
  return n.push(r), () => {
480
480
  const i = n.indexOf(r);
@@ -489,8 +489,8 @@ class kr {
489
489
  this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
490
490
  }
491
491
  }
492
- const Vr = "4";
493
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Vr);
492
+ const kr = "4";
493
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
494
494
  /*! *****************************************************************************
495
495
  Copyright (c) Microsoft Corporation.
496
496
 
@@ -505,24 +505,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
505
505
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
506
506
  PERFORMANCE OF THIS SOFTWARE.
507
507
  ***************************************************************************** */
508
- var Ge = function(e, t) {
509
- return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
508
+ var Re = function(e, t) {
509
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
510
510
  r.__proto__ = n;
511
511
  } || function(r, n) {
512
512
  for (var i in n)
513
513
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
514
- }, Ge(e, t);
514
+ }, Re(e, t);
515
515
  };
516
- function se(e, t) {
516
+ function L(e, t) {
517
517
  if (typeof t != "function" && t !== null)
518
518
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
519
- Ge(e, t);
519
+ Re(e, t);
520
520
  function r() {
521
521
  this.constructor = e;
522
522
  }
523
523
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
524
524
  }
525
- function De(e) {
525
+ var g = function() {
526
+ return g = Object.assign || function(t) {
527
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
528
+ r = arguments[n];
529
+ for (var o in r)
530
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
531
+ }
532
+ return t;
533
+ }, g.apply(this, arguments);
534
+ };
535
+ function Vr(e, t) {
536
+ var r = {};
537
+ for (var n in e)
538
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
539
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
540
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
541
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
542
+ return r;
543
+ }
544
+ function Ue(e) {
526
545
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
527
546
  if (r)
528
547
  return r.call(e);
@@ -534,7 +553,7 @@ function De(e) {
534
553
  };
535
554
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
536
555
  }
537
- function Fe(e, t) {
556
+ function De(e, t) {
538
557
  var r = typeof Symbol == "function" && e[Symbol.iterator];
539
558
  if (!r)
540
559
  return e;
@@ -554,22 +573,22 @@ function Fe(e, t) {
554
573
  }
555
574
  return o;
556
575
  }
557
- function je(e, t, r) {
558
- if (arguments.length === 2)
576
+ function V(e, t, r) {
577
+ if (r || arguments.length === 2)
559
578
  for (var n = 0, i = t.length, o; n < i; n++)
560
579
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
561
580
  return e.concat(o || t);
562
581
  }
563
- function L(e) {
582
+ function I(e) {
564
583
  return typeof e == "function";
565
584
  }
566
- function Ut(e) {
585
+ function $t(e) {
567
586
  var t = function(n) {
568
587
  Error.call(n), n.stack = new Error().stack;
569
588
  }, r = e(t);
570
589
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
571
590
  }
572
- var Pe = Ut(function(e) {
591
+ var Ae = $t(function(e) {
573
592
  return function(r) {
574
593
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
575
594
  ` + r.map(function(n, i) {
@@ -578,13 +597,13 @@ var Pe = Ut(function(e) {
578
597
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
579
598
  };
580
599
  });
581
- function ke(e, t) {
600
+ function Ge(e, t) {
582
601
  if (e) {
583
602
  var r = e.indexOf(t);
584
603
  0 <= r && e.splice(r, 1);
585
604
  }
586
605
  }
587
- var _e = function() {
606
+ var ve = function() {
588
607
  function e(t) {
589
608
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
590
609
  }
@@ -596,12 +615,12 @@ var _e = function() {
596
615
  if (s)
597
616
  if (this._parentage = null, Array.isArray(s))
598
617
  try {
599
- for (var a = De(s), h = a.next(); !h.done; h = a.next()) {
618
+ for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
600
619
  var u = h.value;
601
620
  u.remove(this);
602
621
  }
603
- } catch (y) {
604
- t = { error: y };
622
+ } catch (v) {
623
+ t = { error: v };
605
624
  } finally {
606
625
  try {
607
626
  h && !h.done && (r = a.return) && r.call(a);
@@ -613,26 +632,26 @@ var _e = function() {
613
632
  else
614
633
  s.remove(this);
615
634
  var l = this.initialTeardown;
616
- if (L(l))
635
+ if (I(l))
617
636
  try {
618
637
  l();
619
- } catch (y) {
620
- o = y instanceof Pe ? y.errors : [y];
638
+ } catch (v) {
639
+ o = v instanceof Ae ? v.errors : [v];
621
640
  }
622
641
  var f = this._finalizers;
623
642
  if (f) {
624
643
  this._finalizers = null;
625
644
  try {
626
- for (var c = De(f), p = c.next(); !p.done; p = c.next()) {
645
+ for (var c = Ue(f), p = c.next(); !p.done; p = c.next()) {
627
646
  var d = p.value;
628
647
  try {
629
- ht(d);
630
- } catch (y) {
631
- o = o != null ? o : [], y instanceof Pe ? o = je(je([], Fe(o)), Fe(y.errors)) : o.push(y);
648
+ at(d);
649
+ } catch (v) {
650
+ o = o != null ? o : [], v instanceof Ae ? o = V(V([], De(o)), De(v.errors)) : o.push(v);
632
651
  }
633
652
  }
634
- } catch (y) {
635
- n = { error: y };
653
+ } catch (v) {
654
+ n = { error: v };
636
655
  } finally {
637
656
  try {
638
657
  p && !p.done && (i = c.return) && i.call(c);
@@ -643,13 +662,13 @@ var _e = function() {
643
662
  }
644
663
  }
645
664
  if (o)
646
- throw new Pe(o);
665
+ throw new Ae(o);
647
666
  }
648
667
  }, e.prototype.add = function(t) {
649
668
  var r;
650
669
  if (t && t !== this)
651
670
  if (this.closed)
652
- ht(t);
671
+ at(t);
653
672
  else {
654
673
  if (t instanceof e) {
655
674
  if (t.closed || t._hasParent(this))
@@ -666,52 +685,56 @@ var _e = function() {
666
685
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
667
686
  }, e.prototype._removeParent = function(t) {
668
687
  var r = this._parentage;
669
- r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
688
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
670
689
  }, e.prototype.remove = function(t) {
671
690
  var r = this._finalizers;
672
- r && ke(r, t), t instanceof e && t._removeParent(this);
691
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
673
692
  }, e.EMPTY = function() {
674
693
  var t = new e();
675
694
  return t.closed = !0, t;
676
695
  }(), e;
677
- }(), Gt = _e.EMPTY;
678
- function Dt(e) {
679
- return e instanceof _e || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
680
- }
681
- function ht(e) {
682
- L(e) ? e() : e.unsubscribe();
683
- }
684
- var Xr = {
685
- Promise: void 0
686
- }, Wr = {
696
+ }(), Rt = ve.EMPTY;
697
+ function Ut(e) {
698
+ return e instanceof ve || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
699
+ }
700
+ function at(e) {
701
+ I(e) ? e() : e.unsubscribe();
702
+ }
703
+ var Dt = {
704
+ onUnhandledError: null,
705
+ onStoppedNotification: null,
706
+ Promise: void 0,
707
+ useDeprecatedSynchronousErrorHandling: !1,
708
+ useDeprecatedNextContext: !1
709
+ }, Xr = {
687
710
  setTimeout: function(e, t) {
688
711
  for (var r = [], n = 2; n < arguments.length; n++)
689
712
  r[n - 2] = arguments[n];
690
- return setTimeout.apply(void 0, je([e, t], Fe(r)));
713
+ return setTimeout.apply(void 0, V([e, t], De(r)));
691
714
  },
692
715
  clearTimeout: function(e) {
693
716
  return clearTimeout(e);
694
717
  },
695
718
  delegate: void 0
696
719
  };
697
- function zr(e) {
698
- Wr.setTimeout(function() {
720
+ function Wr(e) {
721
+ Xr.setTimeout(function() {
699
722
  throw e;
700
723
  });
701
724
  }
702
- function lt() {
725
+ function ut() {
703
726
  }
704
727
  function pe(e) {
705
728
  e();
706
729
  }
707
- var Ft = function(e) {
708
- se(t, e);
730
+ var Gt = function(e) {
731
+ L(t, e);
709
732
  function t(r) {
710
733
  var n = e.call(this) || this;
711
- return n.isStopped = !1, r ? (n.destination = r, Dt(r) && r.add(n)) : n.destination = qr, n;
734
+ return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = qr, n;
712
735
  }
713
736
  return t.create = function(r, n, i) {
714
- return new Ve(r, n, i);
737
+ return new Fe(r, n, i);
715
738
  }, t.prototype.next = function(r) {
716
739
  this.isStopped || this._next(r);
717
740
  }, t.prototype.error = function(r) {
@@ -735,7 +758,11 @@ var Ft = function(e) {
735
758
  this.unsubscribe();
736
759
  }
737
760
  }, t;
738
- }(_e), Zr = function() {
761
+ }(ve), zr = Function.prototype.bind;
762
+ function we(e, t) {
763
+ return zr.call(e, t);
764
+ }
765
+ var Zr = function() {
739
766
  function e(t) {
740
767
  this.partialObserver = t;
741
768
  }
@@ -766,29 +793,41 @@ var Ft = function(e) {
766
793
  le(r);
767
794
  }
768
795
  }, e;
769
- }(), Ve = function(e) {
770
- se(t, e);
796
+ }(), Fe = function(e) {
797
+ L(t, e);
771
798
  function t(r, n, i) {
772
799
  var o = e.call(this) || this, s;
773
- return L(r) || !r ? s = {
774
- next: r != null ? r : void 0,
775
- error: n != null ? n : void 0,
776
- complete: i != null ? i : void 0
777
- } : s = r, o.destination = new Zr(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 && we(r.next, a),
812
+ error: r.error && we(r.error, a),
813
+ complete: r.complete && we(r.complete, a)
814
+ }) : s = r;
815
+ }
816
+ return o.destination = new Zr(s), o;
778
817
  }
779
818
  return t;
780
- }(Ft);
819
+ }(Gt);
781
820
  function le(e) {
782
- zr(e);
821
+ Wr(e);
783
822
  }
784
823
  function Qr(e) {
785
824
  throw e;
786
825
  }
787
826
  var qr = {
788
827
  closed: !0,
789
- next: lt,
828
+ next: ut,
790
829
  error: Qr,
791
- complete: lt
830
+ complete: ut
792
831
  }, Jr = function() {
793
832
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
794
833
  }();
@@ -802,7 +841,7 @@ function Kr(e) {
802
841
  }, r);
803
842
  };
804
843
  }
805
- var ct = function() {
844
+ var ht = function() {
806
845
  function e(t) {
807
846
  t && (this._subscribe = t);
808
847
  }
@@ -810,7 +849,7 @@ var ct = function() {
810
849
  var r = new e();
811
850
  return r.source = this, r.operator = t, r;
812
851
  }, e.prototype.subscribe = function(t, r, n) {
813
- var i = this, o = tn(t) ? t : new Ve(t, r, n);
852
+ var i = this, o = tn(t) ? t : new Fe(t, r, n);
814
853
  return pe(function() {
815
854
  var s = i, a = s.operator, h = s.source;
816
855
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -823,8 +862,8 @@ var ct = function() {
823
862
  }
824
863
  }, e.prototype.forEach = function(t, r) {
825
864
  var n = this;
826
- return r = ft(r), new r(function(i, o) {
827
- var s = new Ve({
865
+ return r = lt(r), new r(function(i, o) {
866
+ var s = new Fe({
828
867
  next: function(a) {
829
868
  try {
830
869
  t(a);
@@ -848,7 +887,7 @@ var ct = function() {
848
887
  return Kr(t)(this);
849
888
  }, e.prototype.toPromise = function(t) {
850
889
  var r = this;
851
- return t = ft(t), new t(function(n, i) {
890
+ return t = lt(t), new t(function(n, i) {
852
891
  var o;
853
892
  r.subscribe(function(s) {
854
893
  return o = s;
@@ -862,28 +901,28 @@ var ct = function() {
862
901
  return new e(t);
863
902
  }, e;
864
903
  }();
865
- function ft(e) {
904
+ function lt(e) {
866
905
  var t;
867
- return (t = e != null ? e : Xr.Promise) !== null && t !== void 0 ? t : Promise;
906
+ return (t = e != null ? e : Dt.Promise) !== null && t !== void 0 ? t : Promise;
868
907
  }
869
908
  function en(e) {
870
- return e && L(e.next) && L(e.error) && L(e.complete);
909
+ return e && I(e.next) && I(e.error) && I(e.complete);
871
910
  }
872
911
  function tn(e) {
873
- return e && e instanceof Ft || en(e) && Dt(e);
912
+ return e && e instanceof Gt || en(e) && Ut(e);
874
913
  }
875
- var rn = Ut(function(e) {
914
+ var rn = $t(function(e) {
876
915
  return function() {
877
916
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
878
917
  };
879
- }), jt = function(e) {
880
- se(t, e);
918
+ }), Ft = function(e) {
919
+ L(t, e);
881
920
  function t() {
882
921
  var r = e.call(this) || this;
883
922
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
884
923
  }
885
924
  return t.prototype.lift = function(r) {
886
- var n = new pt(this, this);
925
+ var n = new ct(this, this);
887
926
  return n.operator = r, n;
888
927
  }, t.prototype._throwIfClosed = function() {
889
928
  if (this.closed)
@@ -895,7 +934,7 @@ var rn = Ut(function(e) {
895
934
  if (n._throwIfClosed(), !n.isStopped) {
896
935
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
897
936
  try {
898
- for (var s = De(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()) {
899
938
  var h = a.value;
900
939
  h.next(r);
901
940
  }
@@ -944,20 +983,20 @@ var rn = Ut(function(e) {
944
983
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
945
984
  }, t.prototype._innerSubscribe = function(r) {
946
985
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
947
- return o || s ? Gt : (this.currentObservers = null, a.push(r), new _e(function() {
948
- n.currentObservers = null, ke(a, r);
986
+ return o || s ? Rt : (this.currentObservers = null, a.push(r), new ve(function() {
987
+ n.currentObservers = null, Ge(a, r);
949
988
  }));
950
989
  }, t.prototype._checkFinalizedStatuses = function(r) {
951
990
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
952
991
  i ? r.error(o) : s && r.complete();
953
992
  }, t.prototype.asObservable = function() {
954
- var r = new ct();
993
+ var r = new ht();
955
994
  return r.source = this, r;
956
995
  }, t.create = function(r, n) {
957
- return new pt(r, n);
996
+ return new ct(r, n);
958
997
  }, t;
959
- }(ct), pt = function(e) {
960
- se(t, e);
998
+ }(ht), ct = function(e) {
999
+ L(t, e);
961
1000
  function t(r, n) {
962
1001
  var i = e.call(this) || this;
963
1002
  return i.destination = r, i.source = n, i;
@@ -973,17 +1012,17 @@ var rn = Ut(function(e) {
973
1012
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
974
1013
  }, t.prototype._subscribe = function(r) {
975
1014
  var n, i;
976
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
1015
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
977
1016
  }, t;
978
- }(jt), kt = {
1017
+ }(Ft), jt = {
979
1018
  now: function() {
980
- return (kt.delegate || Date).now();
1019
+ return (jt.delegate || Date).now();
981
1020
  },
982
1021
  delegate: void 0
983
1022
  }, nn = function(e) {
984
- se(t, e);
1023
+ L(t, e);
985
1024
  function t(r, n, i) {
986
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = kt);
1025
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
987
1026
  var o = e.call(this) || this;
988
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;
989
1028
  }
@@ -1003,24 +1042,24 @@ var rn = Ut(function(e) {
1003
1042
  u && o.splice(0, u + 1);
1004
1043
  }
1005
1044
  }, t;
1006
- }(jt);
1007
- const dt = [], mt = {}, on = (e, t = 0) => {
1008
- if (dt.indexOf(e) == -1) {
1045
+ }(Ft);
1046
+ const ft = [], pt = {}, on = (e, t = 0) => {
1047
+ if (ft.indexOf(e) == -1) {
1009
1048
  const r = new nn(t);
1010
- mt[e] = r, dt.push(e);
1049
+ pt[e] = r, ft.push(e);
1011
1050
  }
1012
- return mt[e];
1051
+ return pt[e];
1013
1052
  }, F = [];
1014
1053
  function sn(e, t) {
1015
1054
  return {
1016
1055
  subscribe: Ee(e, t).subscribe
1017
1056
  };
1018
1057
  }
1019
- function Ee(e, t = w) {
1058
+ function Ee(e, t = A) {
1020
1059
  let r;
1021
1060
  const n = /* @__PURE__ */ new Set();
1022
1061
  function i(a) {
1023
- if (Nt(e, a) && (e = a, r)) {
1062
+ if (It(e, a) && (e = a, r)) {
1024
1063
  const h = !F.length;
1025
1064
  for (const u of n)
1026
1065
  u[1](), F.push(u, e);
@@ -1034,15 +1073,15 @@ function Ee(e, t = w) {
1034
1073
  function o(a) {
1035
1074
  i(a(e));
1036
1075
  }
1037
- function s(a, h = w) {
1076
+ function s(a, h = A) {
1038
1077
  const u = [a, h];
1039
- return n.add(u), n.size === 1 && (r = t(i, o) || w), a(e), () => {
1078
+ return n.add(u), n.size === 1 && (r = t(i, o) || A), a(e), () => {
1040
1079
  n.delete(u), n.size === 0 && r && (r(), r = null);
1041
1080
  };
1042
1081
  }
1043
1082
  return { set: i, update: o, subscribe: s };
1044
1083
  }
1045
- function Q(e, t, r) {
1084
+ function q(e, t, r) {
1046
1085
  const n = !Array.isArray(e), i = n ? [e] : e;
1047
1086
  if (!i.every(Boolean))
1048
1087
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1050,26 +1089,26 @@ function Q(e, t, r) {
1050
1089
  return sn(r, (s, a) => {
1051
1090
  let h = !1;
1052
1091
  const u = [];
1053
- let l = 0, f = w;
1092
+ let l = 0, f = A;
1054
1093
  const c = () => {
1055
1094
  if (l)
1056
1095
  return;
1057
1096
  f();
1058
1097
  const d = t(n ? u[0] : u, s, a);
1059
- o ? s(d) : f = et(d) ? d : w;
1098
+ o ? s(d) : f = qe(d) ? d : A;
1060
1099
  }, p = i.map(
1061
- (d, y) => Mt(
1100
+ (d, v) => Lt(
1062
1101
  d,
1063
1102
  (B) => {
1064
- u[y] = B, l &= ~(1 << y), h && c();
1103
+ u[v] = B, l &= ~(1 << v), h && c();
1065
1104
  },
1066
1105
  () => {
1067
- l |= 1 << y;
1106
+ l |= 1 << v;
1068
1107
  }
1069
1108
  )
1070
1109
  );
1071
1110
  return h = !0, c(), function() {
1072
- ie(p), f(), h = !1;
1111
+ oe(p), f(), h = !1;
1073
1112
  };
1074
1113
  });
1075
1114
  }
@@ -1093,29 +1132,29 @@ function pn(e) {
1093
1132
  function dn(e) {
1094
1133
  return Array.isArray(e) ? [] : {};
1095
1134
  }
1096
- function re(e, t) {
1097
- return t.clone !== !1 && t.isMergeableObject(e) ? V(dn(e), e, t) : e;
1135
+ function ne(e, t) {
1136
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(dn(e), e, t) : e;
1098
1137
  }
1099
1138
  function mn(e, t, r) {
1100
1139
  return e.concat(t).map(function(n) {
1101
- return re(n, r);
1140
+ return ne(n, r);
1102
1141
  });
1103
1142
  }
1104
1143
  function bn(e, t) {
1105
1144
  if (!t.customMerge)
1106
- return V;
1145
+ return X;
1107
1146
  var r = t.customMerge(e);
1108
- return typeof r == "function" ? r : V;
1147
+ return typeof r == "function" ? r : X;
1109
1148
  }
1110
1149
  function gn(e) {
1111
1150
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1112
1151
  return Object.propertyIsEnumerable.call(e, t);
1113
1152
  }) : [];
1114
1153
  }
1115
- function bt(e) {
1154
+ function dt(e) {
1116
1155
  return Object.keys(e).concat(gn(e));
1117
1156
  }
1118
- function Vt(e, t) {
1157
+ function kt(e, t) {
1119
1158
  try {
1120
1159
  return t in e;
1121
1160
  } catch (r) {
@@ -1123,179 +1162,129 @@ function Vt(e, t) {
1123
1162
  }
1124
1163
  }
1125
1164
  function yn(e, t) {
1126
- return Vt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1165
+ return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1127
1166
  }
1128
1167
  function vn(e, t, r) {
1129
1168
  var n = {};
1130
- return r.isMergeableObject(e) && bt(e).forEach(function(i) {
1131
- n[i] = re(e[i], r);
1132
- }), bt(t).forEach(function(i) {
1133
- yn(e, i) || (Vt(e, i) && r.isMergeableObject(t[i]) ? n[i] = bn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1169
+ return r.isMergeableObject(e) && dt(e).forEach(function(i) {
1170
+ n[i] = ne(e[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));
1134
1173
  }), n;
1135
1174
  }
1136
- function V(e, t, r) {
1137
- r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = re;
1175
+ function X(e, t, r) {
1176
+ r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = ne;
1138
1177
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1139
- return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : re(t, r);
1178
+ return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : ne(t, r);
1140
1179
  }
1141
- V.all = function(t, r) {
1180
+ X.all = function(t, r) {
1142
1181
  if (!Array.isArray(t))
1143
1182
  throw new Error("first argument should be an array");
1144
1183
  return t.reduce(function(n, i) {
1145
- return V(n, i, r);
1184
+ return X(n, i, r);
1146
1185
  }, {});
1147
1186
  };
1148
- var _n = V, En = _n;
1149
- const xn = /* @__PURE__ */ an(En);
1150
- var Xe = function(e, t) {
1151
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1152
- r.__proto__ = n;
1153
- } || function(r, n) {
1154
- for (var i in n)
1155
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1156
- }, Xe(e, t);
1157
- };
1158
- function xe(e, t) {
1159
- if (typeof t != "function" && t !== null)
1160
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1161
- Xe(e, t);
1162
- function r() {
1163
- this.constructor = e;
1164
- }
1165
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1166
- }
1167
- var P = function() {
1168
- return P = Object.assign || function(t) {
1169
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1170
- r = arguments[n];
1171
- for (var o in r)
1172
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1173
- }
1174
- return t;
1175
- }, P.apply(this, arguments);
1176
- };
1177
- function Sn(e, t) {
1178
- var r = {};
1179
- for (var n in e)
1180
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1181
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1182
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1183
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1184
- return r;
1185
- }
1186
- function Oe(e, t, r) {
1187
- if (r || arguments.length === 2)
1188
- for (var n = 0, i = t.length, o; n < i; n++)
1189
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1190
- return e.concat(o || Array.prototype.slice.call(t));
1191
- }
1192
- function Ie(e, t) {
1193
- var r = t && t.cache ? t.cache : On, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : Bn;
1187
+ var En = X, _n = En;
1188
+ const xn = /* @__PURE__ */ an(_n);
1189
+ function Pe(e, t) {
1190
+ var r = t && t.cache ? t.cache : wn, n = t && t.serializer ? t.serializer : An, i = t && t.strategy ? t.strategy : Tn;
1194
1191
  return i(e, {
1195
1192
  cache: r,
1196
1193
  serializer: n
1197
1194
  });
1198
1195
  }
1199
- function Tn(e) {
1196
+ function Sn(e) {
1200
1197
  return e == null || typeof e == "number" || typeof e == "boolean";
1201
1198
  }
1202
- function Hn(e, t, r, n) {
1203
- var i = Tn(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);
1204
1201
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1205
1202
  }
1206
1203
  function Xt(e, t, r) {
1207
1204
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1208
1205
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1209
1206
  }
1210
- function Wt(e, t, r, n, i) {
1207
+ function Je(e, t, r, n, i) {
1211
1208
  return r.bind(t, e, n, i);
1212
1209
  }
1213
- function Bn(e, t) {
1214
- var r = e.length === 1 ? Hn : Xt;
1215
- return Wt(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);
1216
1213
  }
1217
- function wn(e, t) {
1218
- return Wt(e, this, Xt, t.cache.create(), t.serializer);
1214
+ function Hn(e, t) {
1215
+ return Je(e, this, Xt, t.cache.create(), t.serializer);
1216
+ }
1217
+ function Bn(e, t) {
1218
+ return Je(e, this, Vt, t.cache.create(), t.serializer);
1219
1219
  }
1220
1220
  var An = function() {
1221
1221
  return JSON.stringify(arguments);
1222
- }, Pn = (
1223
- /** @class */
1224
- function() {
1225
- function e() {
1226
- this.cache = /* @__PURE__ */ Object.create(null);
1227
- }
1228
- return e.prototype.get = function(t) {
1229
- return this.cache[t];
1230
- }, e.prototype.set = function(t, r) {
1231
- this.cache[t] = r;
1232
- }, e;
1233
- }()
1234
- ), On = {
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 wn = {
1235
1233
  create: function() {
1236
- return new Pn();
1234
+ return new Ye();
1237
1235
  }
1238
- }, Le = {
1239
- variadic: wn
1240
- }, be = function() {
1241
- return be = Object.assign || function(t) {
1242
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1243
- r = arguments[n];
1244
- for (var o in r)
1245
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1246
- }
1247
- return t;
1248
- }, be.apply(this, arguments);
1249
- };
1250
- var m;
1236
+ }, Oe = {
1237
+ variadic: Hn,
1238
+ monadic: Bn
1239
+ }, m;
1251
1240
  (function(e) {
1252
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";
1253
1242
  })(m || (m = {}));
1254
- var v;
1243
+ var E;
1255
1244
  (function(e) {
1256
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";
1257
- })(v || (v = {}));
1258
- var X;
1246
+ })(E || (E = {}));
1247
+ var W;
1259
1248
  (function(e) {
1260
1249
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1261
- })(X || (X = {}));
1262
- function gt(e) {
1263
- return e.type === v.literal;
1250
+ })(W || (W = {}));
1251
+ function mt(e) {
1252
+ return e.type === E.literal;
1253
+ }
1254
+ function Pn(e) {
1255
+ return e.type === E.argument;
1264
1256
  }
1265
- function In(e) {
1266
- return e.type === v.argument;
1257
+ function Wt(e) {
1258
+ return e.type === E.number;
1267
1259
  }
1268
1260
  function zt(e) {
1269
- return e.type === v.number;
1261
+ return e.type === E.date;
1270
1262
  }
1271
1263
  function Zt(e) {
1272
- return e.type === v.date;
1264
+ return e.type === E.time;
1273
1265
  }
1274
1266
  function Qt(e) {
1275
- return e.type === v.time;
1267
+ return e.type === E.select;
1276
1268
  }
1277
1269
  function qt(e) {
1278
- return e.type === v.select;
1270
+ return e.type === E.plural;
1279
1271
  }
1280
- function Jt(e) {
1281
- return e.type === v.plural;
1272
+ function On(e) {
1273
+ return e.type === E.pound;
1282
1274
  }
1283
- function Ln(e) {
1284
- return e.type === v.pound;
1275
+ function Jt(e) {
1276
+ return e.type === E.tag;
1285
1277
  }
1286
1278
  function Yt(e) {
1287
- return e.type === v.tag;
1288
- }
1289
- function Kt(e) {
1290
- return !!(e && typeof e == "object" && e.type === X.number);
1279
+ return !!(e && typeof e == "object" && e.type === W.number);
1291
1280
  }
1292
- function We(e) {
1293
- return !!(e && typeof e == "object" && e.type === X.dateTime);
1281
+ function je(e) {
1282
+ return !!(e && typeof e == "object" && e.type === W.dateTime);
1294
1283
  }
1295
- var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Nn = /(?:[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;
1296
- function Mn(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) {
1297
1286
  var t = {};
1298
- return e.replace(Nn, function(r) {
1287
+ return e.replace(In, function(r) {
1299
1288
  var n = r.length;
1300
1289
  switch (r[0]) {
1301
1290
  case "G":
@@ -1384,21 +1373,11 @@ function Mn(e) {
1384
1373
  return "";
1385
1374
  }), t;
1386
1375
  }
1387
- var _ = function() {
1388
- return _ = Object.assign || function(t) {
1389
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1390
- r = arguments[n];
1391
- for (var o in r)
1392
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1393
- }
1394
- return t;
1395
- }, _.apply(this, arguments);
1396
- };
1397
- var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1398
- function $n(e) {
1376
+ var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1377
+ function Mn(e) {
1399
1378
  if (e.length === 0)
1400
1379
  throw new Error("Number skeleton cannot be empty");
1401
- for (var t = e.split(Cn).filter(function(c) {
1380
+ for (var t = e.split(Nn).filter(function(c) {
1402
1381
  return c.length > 0;
1403
1382
  }), r = [], n = 0, i = t; n < i.length; n++) {
1404
1383
  var o = i[n], s = o.split("/");
@@ -1413,17 +1392,17 @@ function $n(e) {
1413
1392
  }
1414
1393
  return r;
1415
1394
  }
1416
- function Rn(e) {
1395
+ function Cn(e) {
1417
1396
  return e.replace(/^(.*?)-/, "");
1418
1397
  }
1419
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Un = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
1420
- function vt(e) {
1398
+ var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1399
+ function gt(e) {
1421
1400
  var t = {};
1422
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, 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) {
1423
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)), "";
1424
1403
  }), t;
1425
1404
  }
1426
- function nr(e) {
1405
+ function rr(e) {
1427
1406
  switch (e) {
1428
1407
  case "sign-auto":
1429
1408
  return {
@@ -1463,7 +1442,7 @@ function nr(e) {
1463
1442
  };
1464
1443
  }
1465
1444
  }
1466
- function Gn(e) {
1445
+ function Rn(e) {
1467
1446
  var t;
1468
1447
  if (e[0] === "E" && e[1] === "E" ? (t = {
1469
1448
  notation: "engineering"
@@ -1471,17 +1450,17 @@ function Gn(e) {
1471
1450
  notation: "scientific"
1472
1451
  }, e = e.slice(1)), t) {
1473
1452
  var r = e.slice(0, 2);
1474
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
1453
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1475
1454
  throw new Error("Malformed concise eng/scientific notation");
1476
1455
  t.minimumIntegerDigits = e.length;
1477
1456
  }
1478
1457
  return t;
1479
1458
  }
1480
- function _t(e) {
1481
- var t = {}, r = nr(e);
1459
+ function yt(e) {
1460
+ var t = {}, r = rr(e);
1482
1461
  return r || t;
1483
1462
  }
1484
- function Dn(e) {
1463
+ function Un(e) {
1485
1464
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1486
1465
  var i = n[r];
1487
1466
  switch (i.stem) {
@@ -1505,7 +1484,7 @@ function Dn(e) {
1505
1484
  continue;
1506
1485
  case "measure-unit":
1507
1486
  case "unit":
1508
- t.style = "unit", t.unit = Rn(i.options[0]);
1487
+ t.style = "unit", t.unit = Cn(i.options[0]);
1509
1488
  continue;
1510
1489
  case "compact-short":
1511
1490
  case "K":
@@ -1516,13 +1495,13 @@ function Dn(e) {
1516
1495
  t.notation = "compact", t.compactDisplay = "long";
1517
1496
  continue;
1518
1497
  case "scientific":
1519
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1520
- return _(_({}, h), _t(u));
1498
+ t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1499
+ return g(g({}, h), yt(u));
1521
1500
  }, {}));
1522
1501
  continue;
1523
1502
  case "engineering":
1524
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1525
- return _(_({}, h), _t(u));
1503
+ t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1504
+ return g(g({}, h), yt(u));
1526
1505
  }, {}));
1527
1506
  continue;
1528
1507
  case "notation-simple":
@@ -1567,7 +1546,7 @@ function Dn(e) {
1567
1546
  case "integer-width":
1568
1547
  if (i.options.length > 1)
1569
1548
  throw new RangeError("integer-width stems only accept a single optional option");
1570
- i.options[0].replace(Un, function(h, u, l, f, c, p) {
1549
+ i.options[0].replace($n, function(h, u, l, f, c, p) {
1571
1550
  if (u)
1572
1551
  t.minimumIntegerDigits = l.length;
1573
1552
  else {
@@ -1580,28 +1559,28 @@ function Dn(e) {
1580
1559
  });
1581
1560
  continue;
1582
1561
  }
1583
- if (rr.test(i.stem)) {
1562
+ if (tr.test(i.stem)) {
1584
1563
  t.minimumIntegerDigits = i.stem.length;
1585
1564
  continue;
1586
1565
  }
1587
- if (yt.test(i.stem)) {
1566
+ if (bt.test(i.stem)) {
1588
1567
  if (i.options.length > 1)
1589
1568
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1590
- i.stem.replace(yt, function(h, u, l, f, c, p) {
1569
+ i.stem.replace(bt, function(h, u, l, f, c, p) {
1591
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), "";
1592
1571
  });
1593
1572
  var o = i.options[0];
1594
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), vt(o)));
1573
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), gt(o)));
1595
1574
  continue;
1596
1575
  }
1597
- if (tr.test(i.stem)) {
1598
- t = _(_({}, t), vt(i.stem));
1576
+ if (er.test(i.stem)) {
1577
+ t = g(g({}, t), gt(i.stem));
1599
1578
  continue;
1600
1579
  }
1601
- var s = nr(i.stem);
1602
- s && (t = _(_({}, t), s));
1603
- var a = Gn(i.stem);
1604
- a && (t = _(_({}, t), a));
1580
+ var s = rr(i.stem);
1581
+ s && (t = g(g({}, t), s));
1582
+ var a = Rn(i.stem);
1583
+ a && (t = g(g({}, t), a));
1605
1584
  }
1606
1585
  return t;
1607
1586
  }
@@ -3020,13 +2999,13 @@ var ce = {
3020
2999
  "h"
3021
3000
  ]
3022
3001
  };
3023
- function Fn(e, t) {
3002
+ function Dn(e, t) {
3024
3003
  for (var r = "", n = 0; n < e.length; n++) {
3025
3004
  var i = e.charAt(n);
3026
3005
  if (i === "j") {
3027
3006
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3028
3007
  o++, n++;
3029
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = jn(t);
3008
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Gn(t);
3030
3009
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3031
3010
  r += h;
3032
3011
  for (; s-- > 0; )
@@ -3036,7 +3015,7 @@ function Fn(e, t) {
3036
3015
  }
3037
3016
  return r;
3038
3017
  }
3039
- function jn(e) {
3018
+ function Gn(e) {
3040
3019
  var t = e.hourCycle;
3041
3020
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3042
3021
  e.hourCycles && // @ts-ignore
@@ -3058,20 +3037,20 @@ function jn(e) {
3058
3037
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3059
3038
  return i[0];
3060
3039
  }
3061
- var Ne, kn = new RegExp("^".concat(er.source, "*")), Vn = new RegExp("".concat(er.source, "*$"));
3040
+ var Ie, Fn = new RegExp("^".concat(Kt.source, "*")), jn = new RegExp("".concat(Kt.source, "*$"));
3062
3041
  function b(e, t) {
3063
3042
  return { start: e, end: t };
3064
3043
  }
3065
- var Xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Wn = !!String.fromCodePoint, zn = !!Object.fromEntries, Zn = !!String.prototype.codePointAt, Qn = !!String.prototype.trimStart, qn = !!String.prototype.trimEnd, Jn = !!Number.isSafeInteger, Yn = Jn ? 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) {
3066
3045
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3067
- }, ze = !0;
3046
+ }, ke = !0;
3068
3047
  try {
3069
- var Kn = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3070
- ze = ((Ne = Kn.exec("a")) === null || Ne === void 0 ? void 0 : Ne[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";
3071
3050
  } catch (e) {
3072
- ze = !1;
3051
+ ke = !1;
3073
3052
  }
3074
- var Et = Xn ? (
3053
+ var vt = kn ? (
3075
3054
  // Native
3076
3055
  function(t, r, n) {
3077
3056
  return t.startsWith(r, n);
@@ -3081,7 +3060,7 @@ var Et = Xn ? (
3081
3060
  function(t, r, n) {
3082
3061
  return t.slice(n, n + r.length) === r;
3083
3062
  }
3084
- ), Ze = Wn ? String.fromCodePoint : (
3063
+ ), Ve = Vn ? String.fromCodePoint : (
3085
3064
  // IE11
3086
3065
  function() {
3087
3066
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3093,9 +3072,9 @@ var Et = Xn ? (
3093
3072
  }
3094
3073
  return n;
3095
3074
  }
3096
- ), xt = (
3075
+ ), Et = (
3097
3076
  // native
3098
- zn ? Object.fromEntries : (
3077
+ Xn ? Object.fromEntries : (
3099
3078
  // Ponyfill
3100
3079
  function(t) {
3101
3080
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3105,7 +3084,7 @@ var Et = Xn ? (
3105
3084
  return r;
3106
3085
  }
3107
3086
  )
3108
- ), ir = Zn ? (
3087
+ ), nr = Wn ? (
3109
3088
  // Native
3110
3089
  function(t, r) {
3111
3090
  return t.codePointAt(r);
@@ -3119,7 +3098,7 @@ var Et = Xn ? (
3119
3098
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3120
3099
  }
3121
3100
  }
3122
- ), ei = Qn ? (
3101
+ ), Yn = zn ? (
3123
3102
  // Native
3124
3103
  function(t) {
3125
3104
  return t.trimStart();
@@ -3127,9 +3106,9 @@ var Et = Xn ? (
3127
3106
  ) : (
3128
3107
  // Ponyfill
3129
3108
  function(t) {
3130
- return t.replace(kn, "");
3109
+ return t.replace(Fn, "");
3131
3110
  }
3132
- ), ti = qn ? (
3111
+ ), Kn = Zn ? (
3133
3112
  // Native
3134
3113
  function(t) {
3135
3114
  return t.trimEnd();
@@ -3137,32 +3116,32 @@ var Et = Xn ? (
3137
3116
  ) : (
3138
3117
  // Ponyfill
3139
3118
  function(t) {
3140
- return t.replace(Vn, "");
3119
+ return t.replace(jn, "");
3141
3120
  }
3142
3121
  );
3143
- function or(e, t) {
3122
+ function ir(e, t) {
3144
3123
  return new RegExp(e, t);
3145
3124
  }
3146
- var Qe;
3147
- if (ze) {
3148
- var St = or("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3149
- Qe = function(t, r) {
3125
+ var Xe;
3126
+ if (ke) {
3127
+ var _t = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3128
+ Xe = function(t, r) {
3150
3129
  var n;
3151
- St.lastIndex = r;
3152
- var i = St.exec(t);
3130
+ _t.lastIndex = r;
3131
+ var i = _t.exec(t);
3153
3132
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3154
3133
  };
3155
3134
  } else
3156
- Qe = function(t, r) {
3135
+ Xe = function(t, r) {
3157
3136
  for (var n = []; ; ) {
3158
- var i = ir(t, r);
3159
- if (i === void 0 || sr(i) || oi(i))
3137
+ var i = nr(t, r);
3138
+ if (i === void 0 || or(i) || ni(i))
3160
3139
  break;
3161
3140
  n.push(i), r += i >= 65536 ? 2 : 1;
3162
3141
  }
3163
- return Ze.apply(void 0, n);
3142
+ return Ve.apply(void 0, n);
3164
3143
  };
3165
- var ri = (
3144
+ var ei = (
3166
3145
  /** @class */
3167
3146
  function() {
3168
3147
  function e(t, r) {
@@ -3186,14 +3165,14 @@ var ri = (
3186
3165
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3187
3166
  var a = this.clonePosition();
3188
3167
  this.bump(), i.push({
3189
- type: v.pound,
3168
+ type: E.pound,
3190
3169
  location: b(a, this.clonePosition())
3191
3170
  });
3192
3171
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3193
3172
  if (n)
3194
3173
  break;
3195
3174
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3196
- } else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
3175
+ } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3197
3176
  var s = this.parseTag(t, r);
3198
3177
  if (s.err)
3199
3178
  return s;
@@ -3214,7 +3193,7 @@ var ri = (
3214
3193
  if (this.bumpSpace(), this.bumpIf("/>"))
3215
3194
  return {
3216
3195
  val: {
3217
- type: v.literal,
3196
+ type: E.literal,
3218
3197
  value: "<".concat(i, "/>"),
3219
3198
  location: b(n, this.clonePosition())
3220
3199
  },
@@ -3226,12 +3205,12 @@ var ri = (
3226
3205
  return o;
3227
3206
  var s = o.val, a = this.clonePosition();
3228
3207
  if (this.bumpIf("</")) {
3229
- if (this.isEOF() || !qe(this.char()))
3208
+ if (this.isEOF() || !We(this.char()))
3230
3209
  return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3231
3210
  var h = this.clonePosition(), u = this.parseTagName();
3232
3211
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3233
3212
  val: {
3234
- type: v.tag,
3213
+ type: E.tag,
3235
3214
  value: i,
3236
3215
  children: s,
3237
3216
  location: b(n, this.clonePosition())
@@ -3244,7 +3223,7 @@ var ri = (
3244
3223
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3245
3224
  }, e.prototype.parseTagName = function() {
3246
3225
  var t = this.offset();
3247
- for (this.bump(); !this.isEOF() && ii(this.char()); )
3226
+ for (this.bump(); !this.isEOF() && ri(this.char()); )
3248
3227
  this.bump();
3249
3228
  return this.message.slice(t, this.offset());
3250
3229
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3268,12 +3247,12 @@ var ri = (
3268
3247
  }
3269
3248
  var h = b(n, this.clonePosition());
3270
3249
  return {
3271
- val: { type: v.literal, value: i, location: h },
3250
+ val: { type: E.literal, value: i, location: h },
3272
3251
  err: null
3273
3252
  };
3274
3253
  }, e.prototype.tryParseLeftAngleBracket = function() {
3275
3254
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3276
- !ni(this.peek() || 0)) ? (this.bump(), "<") : null;
3255
+ !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3277
3256
  }, e.prototype.tryParseQuote = function(t) {
3278
3257
  if (this.isEOF() || this.char() !== 39)
3279
3258
  return null;
@@ -3307,12 +3286,12 @@ var ri = (
3307
3286
  r.push(n);
3308
3287
  this.bump();
3309
3288
  }
3310
- return Ze.apply(void 0, r);
3289
+ return Ve.apply(void 0, r);
3311
3290
  }, e.prototype.tryParseUnquoted = function(t, r) {
3312
3291
  if (this.isEOF())
3313
3292
  return null;
3314
3293
  var n = this.char();
3315
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
3294
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3316
3295
  }, e.prototype.parseArgument = function(t, r) {
3317
3296
  var n = this.clonePosition();
3318
3297
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3328,7 +3307,7 @@ var ri = (
3328
3307
  case 125:
3329
3308
  return this.bump(), {
3330
3309
  val: {
3331
- type: v.argument,
3310
+ type: E.argument,
3332
3311
  // value does not include the opening and closing braces.
3333
3312
  value: i,
3334
3313
  location: b(n, this.clonePosition())
@@ -3341,7 +3320,7 @@ var ri = (
3341
3320
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3342
3321
  }
3343
3322
  }, e.prototype.parseIdentifierIfPossible = function() {
3344
- var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3323
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3345
3324
  this.bumpTo(i);
3346
3325
  var o = this.clonePosition(), s = b(t, o);
3347
3326
  return { value: n, location: s };
@@ -3360,7 +3339,7 @@ var ri = (
3360
3339
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3361
3340
  if (f.err)
3362
3341
  return f;
3363
- var c = ti(f.val);
3342
+ var c = Kn(f.val);
3364
3343
  if (c.length === 0)
3365
3344
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3366
3345
  var p = b(l, this.clonePosition());
@@ -3369,37 +3348,37 @@ var ri = (
3369
3348
  var d = this.tryParseArgumentClose(i);
3370
3349
  if (d.err)
3371
3350
  return d;
3372
- var y = b(i, this.clonePosition());
3373
- if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3374
- var B = ei(u.style.slice(2));
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));
3375
3354
  if (a === "number") {
3376
3355
  var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
3377
3356
  return f.err ? f : {
3378
- val: { type: v.number, value: n, location: y, style: f.val },
3357
+ val: { type: E.number, value: n, location: v, style: f.val },
3379
3358
  err: null
3380
3359
  };
3381
3360
  } else {
3382
3361
  if (B.length === 0)
3383
- return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
3362
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3384
3363
  var $ = B;
3385
- this.locale && ($ = Fn(B, this.locale));
3364
+ this.locale && ($ = Dn(B, this.locale));
3386
3365
  var c = {
3387
- type: X.dateTime,
3366
+ type: W.dateTime,
3388
3367
  pattern: $,
3389
3368
  location: u.styleLocation,
3390
- parsedOptions: this.shouldParseSkeletons ? Mn($) : {}
3391
- }, N = a === "date" ? v.date : v.time;
3369
+ parsedOptions: this.shouldParseSkeletons ? Ln($) : {}
3370
+ }, N = a === "date" ? E.date : E.time;
3392
3371
  return {
3393
- val: { type: N, value: n, location: y, style: c },
3372
+ val: { type: N, value: n, location: v, style: c },
3394
3373
  err: null
3395
3374
  };
3396
3375
  }
3397
3376
  }
3398
3377
  return {
3399
3378
  val: {
3400
- type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3379
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3401
3380
  value: n,
3402
- location: y,
3381
+ location: v,
3403
3382
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3404
3383
  },
3405
3384
  err: null
@@ -3410,9 +3389,9 @@ var ri = (
3410
3389
  case "select": {
3411
3390
  var x = this.clonePosition();
3412
3391
  if (this.bumpSpace(), !this.bumpIf(","))
3413
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, be({}, x)));
3392
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, g({}, x)));
3414
3393
  this.bumpSpace();
3415
- var R = this.parseIdentifierIfPossible(), O = 0;
3394
+ var R = this.parseIdentifierIfPossible(), P = 0;
3416
3395
  if (a !== "select" && R.value === "offset") {
3417
3396
  if (!this.bumpIf(":"))
3418
3397
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
@@ -3420,29 +3399,29 @@ var ri = (
3420
3399
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3421
3400
  if (f.err)
3422
3401
  return f;
3423
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), O = f.val;
3402
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), P = f.val;
3424
3403
  }
3425
- var G = this.tryParsePluralOrSelectOptions(t, a, r, R);
3426
- if (G.err)
3427
- return G;
3404
+ var D = this.tryParsePluralOrSelectOptions(t, a, r, R);
3405
+ if (D.err)
3406
+ return D;
3428
3407
  var d = this.tryParseArgumentClose(i);
3429
3408
  if (d.err)
3430
3409
  return d;
3431
3410
  var ue = b(i, this.clonePosition());
3432
3411
  return a === "select" ? {
3433
3412
  val: {
3434
- type: v.select,
3413
+ type: E.select,
3435
3414
  value: n,
3436
- options: xt(G.val),
3415
+ options: Et(D.val),
3437
3416
  location: ue
3438
3417
  },
3439
3418
  err: null
3440
3419
  } : {
3441
3420
  val: {
3442
- type: v.plural,
3421
+ type: E.plural,
3443
3422
  value: n,
3444
- options: xt(G.val),
3445
- offset: O,
3423
+ options: Et(D.val),
3424
+ offset: P,
3446
3425
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3447
3426
  location: ue
3448
3427
  },
@@ -3492,16 +3471,16 @@ var ri = (
3492
3471
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3493
3472
  var n = [];
3494
3473
  try {
3495
- n = $n(t);
3474
+ n = Mn(t);
3496
3475
  } catch (i) {
3497
3476
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3498
3477
  }
3499
3478
  return {
3500
3479
  val: {
3501
- type: X.number,
3480
+ type: W.number,
3502
3481
  tokens: n,
3503
3482
  location: r,
3504
- parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
3483
+ parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
3505
3484
  },
3506
3485
  err: null
3507
3486
  };
@@ -3526,9 +3505,9 @@ var ri = (
3526
3505
  var d = this.parseMessage(t + 1, r, n);
3527
3506
  if (d.err)
3528
3507
  return d;
3529
- var y = this.tryParseArgumentClose(p);
3530
- if (y.err)
3531
- return y;
3508
+ var v = this.tryParseArgumentClose(p);
3509
+ if (v.err)
3510
+ return v;
3532
3511
  a.push([
3533
3512
  u,
3534
3513
  {
@@ -3549,7 +3528,7 @@ var ri = (
3549
3528
  break;
3550
3529
  }
3551
3530
  var h = b(i, this.clonePosition());
3552
- return o ? (s *= n, Yn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3531
+ return o ? (s *= n, qn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3553
3532
  }, e.prototype.offset = function() {
3554
3533
  return this.position.offset;
3555
3534
  }, e.prototype.isEOF = function() {
@@ -3564,7 +3543,7 @@ var ri = (
3564
3543
  var t = this.position.offset;
3565
3544
  if (t >= this.message.length)
3566
3545
  throw Error("out of bound");
3567
- var r = ir(this.message, t);
3546
+ var r = nr(this.message, t);
3568
3547
  if (r === void 0)
3569
3548
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3570
3549
  return r;
@@ -3583,7 +3562,7 @@ var ri = (
3583
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);
3584
3563
  }
3585
3564
  }, e.prototype.bumpIf = function(t) {
3586
- if (Et(this.message, t, this.offset())) {
3565
+ if (vt(this.message, t, this.offset())) {
3587
3566
  for (var r = 0; r < t.length; r++)
3588
3567
  this.bump();
3589
3568
  return !0;
@@ -3605,7 +3584,7 @@ var ri = (
3605
3584
  break;
3606
3585
  }
3607
3586
  }, e.prototype.bumpSpace = function() {
3608
- for (; !this.isEOF() && sr(this.char()); )
3587
+ for (; !this.isEOF() && or(this.char()); )
3609
3588
  this.bump();
3610
3589
  }, e.prototype.peek = function() {
3611
3590
  if (this.isEOF())
@@ -3615,47 +3594,47 @@ var ri = (
3615
3594
  }, e;
3616
3595
  }()
3617
3596
  );
3618
- function qe(e) {
3597
+ function We(e) {
3619
3598
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3620
3599
  }
3621
- function ni(e) {
3622
- return qe(e) || e === 47;
3600
+ function ti(e) {
3601
+ return We(e) || e === 47;
3623
3602
  }
3624
- function ii(e) {
3603
+ function ri(e) {
3625
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;
3626
3605
  }
3627
- function sr(e) {
3606
+ function or(e) {
3628
3607
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3629
3608
  }
3630
- function oi(e) {
3609
+ function ni(e) {
3631
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;
3632
3611
  }
3633
- function Je(e) {
3612
+ function ze(e) {
3634
3613
  e.forEach(function(t) {
3635
- if (delete t.location, qt(t) || Jt(t))
3614
+ if (delete t.location, Qt(t) || qt(t))
3636
3615
  for (var r in t.options)
3637
- delete t.options[r].location, Je(t.options[r].value);
3616
+ delete t.options[r].location, ze(t.options[r].value);
3638
3617
  else
3639
- zt(t) && Kt(t.style) || (Zt(t) || Qt(t)) && We(t.style) ? delete t.style.location : Yt(t) && Je(t.children);
3618
+ Wt(t) && Yt(t.style) || (zt(t) || Zt(t)) && je(t.style) ? delete t.style.location : Jt(t) && ze(t.children);
3640
3619
  });
3641
3620
  }
3642
- function si(e, t) {
3643
- t === void 0 && (t = {}), t = be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3644
- var r = new ri(e, t).parse();
3621
+ function ii(e, t) {
3622
+ t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3623
+ var r = new ei(e, t).parse();
3645
3624
  if (r.err) {
3646
3625
  var n = SyntaxError(m[r.err.kind]);
3647
3626
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3648
3627
  }
3649
- return t != null && t.captureLocation || Je(r.val), r.val;
3628
+ return t != null && t.captureLocation || ze(r.val), r.val;
3650
3629
  }
3651
- var W;
3630
+ var z;
3652
3631
  (function(e) {
3653
3632
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3654
- })(W || (W = {}));
3655
- var Se = (
3633
+ })(z || (z = {}));
3634
+ var _e = (
3656
3635
  /** @class */
3657
3636
  function(e) {
3658
- xe(t, e);
3637
+ L(t, e);
3659
3638
  function t(r, n, i) {
3660
3639
  var o = e.call(this, r) || this;
3661
3640
  return o.code = n, o.originalMessage = i, o;
@@ -3664,155 +3643,155 @@ var Se = (
3664
3643
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3665
3644
  }, t;
3666
3645
  }(Error)
3667
- ), Tt = (
3646
+ ), xt = (
3668
3647
  /** @class */
3669
3648
  function(e) {
3670
- xe(t, e);
3649
+ L(t, e);
3671
3650
  function t(r, n, i, o) {
3672
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
3651
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3673
3652
  }
3674
3653
  return t;
3675
- }(Se)
3676
- ), ai = (
3654
+ }(_e)
3655
+ ), oi = (
3677
3656
  /** @class */
3678
3657
  function(e) {
3679
- xe(t, e);
3658
+ L(t, e);
3680
3659
  function t(r, n, i) {
3681
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3660
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3682
3661
  }
3683
3662
  return t;
3684
- }(Se)
3685
- ), ui = (
3663
+ }(_e)
3664
+ ), si = (
3686
3665
  /** @class */
3687
3666
  function(e) {
3688
- xe(t, e);
3667
+ L(t, e);
3689
3668
  function t(r, n) {
3690
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
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;
3691
3670
  }
3692
3671
  return t;
3693
- }(Se)
3694
- ), E;
3672
+ }(_e)
3673
+ ), _;
3695
3674
  (function(e) {
3696
3675
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3697
- })(E || (E = {}));
3698
- function hi(e) {
3676
+ })(_ || (_ = {}));
3677
+ function ai(e) {
3699
3678
  return e.length < 2 ? e : e.reduce(function(t, r) {
3700
3679
  var n = t[t.length - 1];
3701
- return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3680
+ return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3702
3681
  }, []);
3703
3682
  }
3704
- function li(e) {
3683
+ function ui(e) {
3705
3684
  return typeof e == "function";
3706
3685
  }
3707
3686
  function de(e, t, r, n, i, o, s) {
3708
- if (e.length === 1 && gt(e[0]))
3687
+ if (e.length === 1 && mt(e[0]))
3709
3688
  return [
3710
3689
  {
3711
- type: E.literal,
3690
+ type: _.literal,
3712
3691
  value: e[0].value
3713
3692
  }
3714
3693
  ];
3715
3694
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3716
3695
  var l = u[h];
3717
- if (gt(l)) {
3696
+ if (mt(l)) {
3718
3697
  a.push({
3719
- type: E.literal,
3698
+ type: _.literal,
3720
3699
  value: l.value
3721
3700
  });
3722
3701
  continue;
3723
3702
  }
3724
- if (Ln(l)) {
3703
+ if (On(l)) {
3725
3704
  typeof o == "number" && a.push({
3726
- type: E.literal,
3705
+ type: _.literal,
3727
3706
  value: r.getNumberFormat(t).format(o)
3728
3707
  });
3729
3708
  continue;
3730
3709
  }
3731
3710
  var f = l.value;
3732
3711
  if (!(i && f in i))
3733
- throw new ui(f, s);
3712
+ throw new si(f, s);
3734
3713
  var c = i[f];
3735
- if (In(l)) {
3714
+ if (Pn(l)) {
3736
3715
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3737
- type: typeof c == "string" ? E.literal : E.object,
3716
+ type: typeof c == "string" ? _.literal : _.object,
3738
3717
  value: c
3739
3718
  });
3740
3719
  continue;
3741
3720
  }
3742
- if (Zt(l)) {
3743
- var p = typeof l.style == "string" ? n.date[l.style] : We(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;
3744
3723
  a.push({
3745
- type: E.literal,
3724
+ type: _.literal,
3746
3725
  value: r.getDateTimeFormat(t, p).format(c)
3747
3726
  });
3748
3727
  continue;
3749
3728
  }
3750
- if (Qt(l)) {
3751
- var p = typeof l.style == "string" ? n.time[l.style] : We(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;
3752
3731
  a.push({
3753
- type: E.literal,
3732
+ type: _.literal,
3754
3733
  value: r.getDateTimeFormat(t, p).format(c)
3755
3734
  });
3756
3735
  continue;
3757
3736
  }
3758
- if (zt(l)) {
3759
- var p = typeof l.style == "string" ? n.number[l.style] : Kt(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;
3760
3739
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3761
- type: E.literal,
3740
+ type: _.literal,
3762
3741
  value: r.getNumberFormat(t, p).format(c)
3763
3742
  });
3764
3743
  continue;
3765
3744
  }
3766
- if (Yt(l)) {
3767
- var d = l.children, y = l.value, B = i[y];
3768
- if (!li(B))
3769
- throw new ai(y, "function", s);
3770
- var $ = de(d, t, r, n, i, o), N = B($.map(function(O) {
3771
- return O.value;
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) {
3750
+ return P.value;
3772
3751
  }));
3773
- Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(O) {
3752
+ Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(P) {
3774
3753
  return {
3775
- type: typeof O == "string" ? E.literal : E.object,
3776
- value: O
3754
+ type: typeof P == "string" ? _.literal : _.object,
3755
+ value: P
3777
3756
  };
3778
3757
  }));
3779
3758
  }
3780
- if (qt(l)) {
3759
+ if (Qt(l)) {
3781
3760
  var x = l.options[c] || l.options.other;
3782
3761
  if (!x)
3783
- throw new Tt(l.value, c, Object.keys(l.options), s);
3762
+ throw new xt(l.value, c, Object.keys(l.options), s);
3784
3763
  a.push.apply(a, de(x.value, t, r, n, i));
3785
3764
  continue;
3786
3765
  }
3787
- if (Jt(l)) {
3766
+ if (qt(l)) {
3788
3767
  var x = l.options["=".concat(c)];
3789
3768
  if (!x) {
3790
3769
  if (!Intl.PluralRules)
3791
- throw new Se(`Intl.PluralRules is not available in this environment.
3770
+ throw new _e(`Intl.PluralRules is not available in this environment.
3792
3771
  Try polyfilling it using "@formatjs/intl-pluralrules"
3793
- `, W.MISSING_INTL_API, s);
3772
+ `, z.MISSING_INTL_API, s);
3794
3773
  var R = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3795
3774
  x = l.options[R] || l.options.other;
3796
3775
  }
3797
3776
  if (!x)
3798
- throw new Tt(l.value, c, Object.keys(l.options), s);
3777
+ throw new xt(l.value, c, Object.keys(l.options), s);
3799
3778
  a.push.apply(a, de(x.value, t, r, n, i, c - (l.offset || 0)));
3800
3779
  continue;
3801
3780
  }
3802
3781
  }
3803
- return hi(a);
3782
+ return ai(a);
3804
3783
  }
3805
- function ci(e, t) {
3806
- return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3807
- return r[n] = P(P({}, e[n]), t[n] || {}), r;
3784
+ function hi(e, t) {
3785
+ return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3786
+ return r[n] = g(g({}, e[n]), t[n] || {}), r;
3808
3787
  }, {})) : e;
3809
3788
  }
3810
- function fi(e, t) {
3789
+ function li(e, t) {
3811
3790
  return t ? Object.keys(e).reduce(function(r, n) {
3812
- return r[n] = ci(e[n], t[n]), r;
3813
- }, P({}, e)) : e;
3791
+ return r[n] = hi(e[n], t[n]), r;
3792
+ }, g({}, e)) : e;
3814
3793
  }
3815
- function Me(e) {
3794
+ function Le(e) {
3816
3795
  return {
3817
3796
  create: function() {
3818
3797
  return {
@@ -3826,39 +3805,39 @@ function Me(e) {
3826
3805
  }
3827
3806
  };
3828
3807
  }
3829
- function pi(e) {
3808
+ function ci(e) {
3830
3809
  return e === void 0 && (e = {
3831
3810
  number: {},
3832
3811
  dateTime: {},
3833
3812
  pluralRules: {}
3834
3813
  }), {
3835
- getNumberFormat: Ie(function() {
3814
+ getNumberFormat: Pe(function() {
3836
3815
  for (var t, r = [], n = 0; n < arguments.length; n++)
3837
3816
  r[n] = arguments[n];
3838
- return new ((t = Intl.NumberFormat).bind.apply(t, Oe([void 0], r, !1)))();
3817
+ return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3839
3818
  }, {
3840
- cache: Me(e.number),
3841
- strategy: Le.variadic
3819
+ cache: Le(e.number),
3820
+ strategy: Oe.variadic
3842
3821
  }),
3843
- getDateTimeFormat: Ie(function() {
3822
+ getDateTimeFormat: Pe(function() {
3844
3823
  for (var t, r = [], n = 0; n < arguments.length; n++)
3845
3824
  r[n] = arguments[n];
3846
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Oe([void 0], r, !1)))();
3825
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3847
3826
  }, {
3848
- cache: Me(e.dateTime),
3849
- strategy: Le.variadic
3827
+ cache: Le(e.dateTime),
3828
+ strategy: Oe.variadic
3850
3829
  }),
3851
- getPluralRules: Ie(function() {
3830
+ getPluralRules: Pe(function() {
3852
3831
  for (var t, r = [], n = 0; n < arguments.length; n++)
3853
3832
  r[n] = arguments[n];
3854
- return new ((t = Intl.PluralRules).bind.apply(t, Oe([void 0], r, !1)))();
3833
+ return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3855
3834
  }, {
3856
- cache: Me(e.pluralRules),
3857
- strategy: Le.variadic
3835
+ cache: Le(e.pluralRules),
3836
+ strategy: Oe.variadic
3858
3837
  })
3859
3838
  };
3860
3839
  }
3861
- var di = (
3840
+ var fi = (
3862
3841
  /** @class */
3863
3842
  function() {
3864
3843
  function e(t, r, n, i) {
@@ -3873,7 +3852,7 @@ var di = (
3873
3852
  if (u.length === 1)
3874
3853
  return u[0].value;
3875
3854
  var l = u.reduce(function(f, c) {
3876
- 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 !== _.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3877
3856
  }, []);
3878
3857
  return l.length <= 1 ? l[0] || "" : l;
3879
3858
  }, this.formatToParts = function(h) {
@@ -3890,13 +3869,13 @@ var di = (
3890
3869
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3891
3870
  var s = i || {};
3892
3871
  s.formatters;
3893
- var a = Sn(s, ["formatters"]);
3894
- this.ast = e.__parse(t, P(P({}, a), { locale: this.resolvedLocale }));
3872
+ var a = Vr(s, ["formatters"]);
3873
+ this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3895
3874
  } else
3896
3875
  this.ast = t;
3897
3876
  if (!Array.isArray(this.ast))
3898
3877
  throw new TypeError("A message must be provided as a String or AST.");
3899
- this.formats = fi(e.formats, n), this.formatters = i && i.formatters || pi(this.formatterCache);
3878
+ this.formats = li(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
3900
3879
  }
3901
3880
  return Object.defineProperty(e, "defaultLocale", {
3902
3881
  get: function() {
@@ -3909,7 +3888,7 @@ var di = (
3909
3888
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3910
3889
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3911
3890
  }
3912
- }, e.__parse = si, e.formats = {
3891
+ }, e.__parse = ii, e.formats = {
3913
3892
  number: {
3914
3893
  integer: {
3915
3894
  maximumFractionDigits: 0
@@ -3970,7 +3949,7 @@ var di = (
3970
3949
  }, e;
3971
3950
  }()
3972
3951
  );
3973
- function mi(e, t) {
3952
+ function pi(e, t) {
3974
3953
  if (t == null)
3975
3954
  return;
3976
3955
  if (t in e)
@@ -3991,92 +3970,92 @@ function mi(e, t) {
3991
3970
  n = void 0;
3992
3971
  return n;
3993
3972
  }
3994
- const C = {}, bi = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), ar = (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) => {
3995
3974
  if (t == null)
3996
3975
  return;
3997
3976
  if (t in C && e in C[t])
3998
3977
  return C[t][e];
3999
- const r = Te(t);
3978
+ const r = xe(t);
4000
3979
  for (let n = 0; n < r.length; n++) {
4001
- const i = r[n], o = yi(i, e);
3980
+ const i = r[n], o = bi(i, e);
4002
3981
  if (o)
4003
- return bi(e, t, o);
3982
+ return di(e, t, o);
4004
3983
  }
4005
3984
  };
4006
- let tt;
3985
+ let Ke;
4007
3986
  const ae = Ee({});
4008
- function gi(e) {
4009
- return tt[e] || null;
3987
+ function mi(e) {
3988
+ return Ke[e] || null;
4010
3989
  }
4011
- function ur(e) {
4012
- return e in tt;
3990
+ function ar(e) {
3991
+ return e in Ke;
4013
3992
  }
4014
- function yi(e, t) {
4015
- if (!ur(e))
3993
+ function bi(e, t) {
3994
+ if (!ar(e))
4016
3995
  return null;
4017
- const r = gi(e);
4018
- return mi(r, t);
3996
+ const r = mi(e);
3997
+ return pi(r, t);
4019
3998
  }
4020
- function vi(e) {
3999
+ function gi(e) {
4021
4000
  if (e == null)
4022
4001
  return;
4023
- const t = Te(e);
4002
+ const t = xe(e);
4024
4003
  for (let r = 0; r < t.length; r++) {
4025
4004
  const n = t[r];
4026
- if (ur(n))
4005
+ if (ar(n))
4027
4006
  return n;
4028
4007
  }
4029
4008
  }
4030
- function hr(e, ...t) {
4009
+ function ur(e, ...t) {
4031
4010
  delete C[e], ae.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
4032
4011
  }
4033
- Q(
4012
+ q(
4034
4013
  [ae],
4035
4014
  ([e]) => Object.keys(e)
4036
4015
  );
4037
- ae.subscribe((e) => tt = e);
4016
+ ae.subscribe((e) => Ke = e);
4038
4017
  const me = {};
4039
- function _i(e, t) {
4018
+ function yi(e, t) {
4040
4019
  me[e].delete(t), me[e].size === 0 && delete me[e];
4041
4020
  }
4042
- function lr(e) {
4021
+ function hr(e) {
4043
4022
  return me[e];
4044
4023
  }
4045
- function Ei(e) {
4046
- return Te(e).map((t) => {
4047
- const r = lr(t);
4024
+ function vi(e) {
4025
+ return xe(e).map((t) => {
4026
+ const r = hr(t);
4048
4027
  return [t, r ? [...r] : []];
4049
4028
  }).filter(([, t]) => t.length > 0);
4050
4029
  }
4051
- function Ye(e) {
4052
- return e == null ? !1 : Te(e).some(
4030
+ function Ze(e) {
4031
+ return e == null ? !1 : xe(e).some(
4053
4032
  (t) => {
4054
4033
  var r;
4055
- return (r = lr(t)) == null ? void 0 : r.size;
4034
+ return (r = hr(t)) == null ? void 0 : r.size;
4056
4035
  }
4057
4036
  );
4058
4037
  }
4059
- function xi(e, t) {
4038
+ function Ei(e, t) {
4060
4039
  return Promise.all(
4061
- t.map((n) => (_i(e, n), n().then((i) => i.default || i)))
4062
- ).then((n) => hr(e, ...n));
4063
- }
4064
- const K = {};
4065
- function cr(e) {
4066
- if (!Ye(e))
4067
- return e in K ? K[e] : Promise.resolve();
4068
- const t = Ei(e);
4069
- return K[e] = Promise.all(
4040
+ t.map((n) => (yi(e, n), n().then((i) => i.default || i)))
4041
+ ).then((n) => ur(e, ...n));
4042
+ }
4043
+ const ee = {};
4044
+ function lr(e) {
4045
+ if (!Ze(e))
4046
+ return e in ee ? ee[e] : Promise.resolve();
4047
+ const t = vi(e);
4048
+ return ee[e] = Promise.all(
4070
4049
  t.map(
4071
- ([r, n]) => xi(r, n)
4050
+ ([r, n]) => Ei(r, n)
4072
4051
  )
4073
4052
  ).then(() => {
4074
- if (Ye(e))
4075
- return cr(e);
4076
- delete K[e];
4077
- }), K[e];
4053
+ if (Ze(e))
4054
+ return lr(e);
4055
+ delete ee[e];
4056
+ }), ee[e];
4078
4057
  }
4079
- const Si = {
4058
+ const _i = {
4080
4059
  number: {
4081
4060
  scientific: { notation: "scientific" },
4082
4061
  engineering: { notation: "engineering" },
@@ -4105,135 +4084,135 @@ const Si = {
4105
4084
  timeZoneName: "short"
4106
4085
  }
4107
4086
  }
4108
- }, Ti = {
4087
+ }, xi = {
4109
4088
  fallbackLocale: null,
4110
4089
  loadingDelay: 200,
4111
- formats: Si,
4090
+ formats: _i,
4112
4091
  warnOnMissingMessages: !0,
4113
4092
  handleMissingMessage: void 0,
4114
4093
  ignoreTag: !0
4115
- }, Hi = Ti;
4116
- function z() {
4117
- return Hi;
4094
+ }, Si = xi;
4095
+ function Z() {
4096
+ return Si;
4118
4097
  }
4119
- const Ce = Ee(!1);
4120
- var Bi = Object.defineProperty, wi = Object.defineProperties, Ai = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Oi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ii = (e, t) => {
4098
+ const Ne = Ee(!1);
4099
+ var Ti = Object.defineProperty, Hi = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, wi = 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) => {
4121
4100
  for (var r in t || (t = {}))
4122
- Pi.call(t, r) && Bt(e, r, t[r]);
4123
- if (Ht)
4124
- for (var r of Ht(t))
4125
- Oi.call(t, r) && Bt(e, r, t[r]);
4101
+ Ai.call(t, r) && Tt(e, r, t[r]);
4102
+ if (St)
4103
+ for (var r of St(t))
4104
+ wi.call(t, r) && Tt(e, r, t[r]);
4126
4105
  return e;
4127
- }, Li = (e, t) => wi(e, Ai(t));
4128
- let Ke;
4129
- const ge = Ee(null);
4130
- function wt(e) {
4106
+ }, Oi = (e, t) => Hi(e, Bi(t));
4107
+ let Qe;
4108
+ const be = Ee(null);
4109
+ function Ht(e) {
4131
4110
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4132
4111
  }
4133
- function Te(e, t = z().fallbackLocale) {
4134
- const r = wt(e);
4135
- return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
4112
+ function xe(e, t = Z().fallbackLocale) {
4113
+ const r = Ht(e);
4114
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ht(t)])] : r;
4136
4115
  }
4137
4116
  function U() {
4138
- return Ke != null ? Ke : void 0;
4117
+ return Qe != null ? Qe : void 0;
4139
4118
  }
4140
- ge.subscribe((e) => {
4141
- Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4119
+ be.subscribe((e) => {
4120
+ Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4142
4121
  });
4143
- const Ni = (e) => {
4144
- if (e && vi(e) && Ye(e)) {
4145
- const { loadingDelay: t } = z();
4122
+ const Ii = (e) => {
4123
+ if (e && gi(e) && Ze(e)) {
4124
+ const { loadingDelay: t } = Z();
4146
4125
  let r;
4147
4126
  return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
4148
- () => Ce.set(!0),
4127
+ () => Ne.set(!0),
4149
4128
  t
4150
- ) : Ce.set(!0), cr(e).then(() => {
4151
- ge.set(e);
4129
+ ) : Ne.set(!0), lr(e).then(() => {
4130
+ be.set(e);
4152
4131
  }).finally(() => {
4153
- clearTimeout(r), Ce.set(!1);
4132
+ clearTimeout(r), Ne.set(!1);
4154
4133
  });
4155
4134
  }
4156
- return ge.set(e);
4157
- }, q = Li(Ii({}, ge), {
4158
- set: Ni
4159
- }), He = (e) => {
4135
+ return be.set(e);
4136
+ }, J = Oi(Pi({}, be), {
4137
+ set: Ii
4138
+ }), Se = (e) => {
4160
4139
  const t = /* @__PURE__ */ Object.create(null);
4161
4140
  return (n) => {
4162
4141
  const i = JSON.stringify(n);
4163
4142
  return i in t ? t[i] : t[i] = e(n);
4164
4143
  };
4165
4144
  };
4166
- var Mi = Object.defineProperty, ye = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (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) => {
4167
4146
  for (var r in t || (t = {}))
4168
- fr.call(t, r) && At(e, r, t[r]);
4169
- if (ye)
4170
- for (var r of ye(t))
4171
- pr.call(t, r) && At(e, r, t[r]);
4147
+ cr.call(t, r) && Bt(e, r, t[r]);
4148
+ if (ge)
4149
+ for (var r of ge(t))
4150
+ fr.call(t, r) && Bt(e, r, t[r]);
4172
4151
  return e;
4173
- }, J = (e, t) => {
4152
+ }, Y = (e, t) => {
4174
4153
  var r = {};
4175
4154
  for (var n in e)
4176
- fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4177
- if (e != null && ye)
4178
- for (var n of ye(e))
4179
- t.indexOf(n) < 0 && pr.call(e, n) && (r[n] = e[n]);
4155
+ cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4156
+ if (e != null && ge)
4157
+ for (var n of ge(e))
4158
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4180
4159
  return r;
4181
4160
  };
4182
- const ne = (e, t) => {
4183
- const { formats: r } = z();
4161
+ const ie = (e, t) => {
4162
+ const { formats: r } = Z();
4184
4163
  if (e in r && t in r[e])
4185
4164
  return r[e][t];
4186
4165
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4187
- }, Ci = He(
4166
+ }, Ni = Se(
4188
4167
  (e) => {
4189
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4168
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4190
4169
  if (r == null)
4191
4170
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4192
- return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4171
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4193
4172
  }
4194
- ), $i = He(
4173
+ ), Mi = Se(
4195
4174
  (e) => {
4196
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4175
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4197
4176
  if (r == null)
4198
4177
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4199
- return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4178
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4200
4179
  }
4201
- ), Ri = He(
4180
+ ), Ci = Se(
4202
4181
  (e) => {
4203
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4182
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4204
4183
  if (r == null)
4205
4184
  throw new Error(
4206
4185
  '[svelte-i18n] A "locale" must be set to format time values'
4207
4186
  );
4208
- return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4187
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4209
4188
  }
4210
- ), Ui = (e = {}) => {
4189
+ ), $i = (e = {}) => {
4211
4190
  var t = e, {
4212
4191
  locale: r = U()
4213
- } = t, n = J(t, [
4192
+ } = t, n = Y(t, [
4214
4193
  "locale"
4215
4194
  ]);
4216
- return Ci(rt({ locale: r }, n));
4217
- }, Gi = (e = {}) => {
4195
+ return Ni(et({ locale: r }, n));
4196
+ }, Ri = (e = {}) => {
4218
4197
  var t = e, {
4219
4198
  locale: r = U()
4220
- } = t, n = J(t, [
4199
+ } = t, n = Y(t, [
4221
4200
  "locale"
4222
4201
  ]);
4223
- return $i(rt({ locale: r }, n));
4224
- }, Di = (e = {}) => {
4202
+ return Mi(et({ locale: r }, n));
4203
+ }, Ui = (e = {}) => {
4225
4204
  var t = e, {
4226
4205
  locale: r = U()
4227
- } = t, n = J(t, [
4206
+ } = t, n = Y(t, [
4228
4207
  "locale"
4229
4208
  ]);
4230
- return Ri(rt({ locale: r }, n));
4231
- }, Fi = He(
4209
+ return Ci(et({ locale: r }, n));
4210
+ }, Di = Se(
4232
4211
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4233
- (e, t = U()) => new di(e, t, z().formats, {
4234
- ignoreTag: z().ignoreTag
4212
+ (e, t = U()) => new fi(e, t, Z().formats, {
4213
+ ignoreTag: Z().ignoreTag
4235
4214
  })
4236
- ), ji = (e, t = {}) => {
4215
+ ), Gi = (e, t = {}) => {
4237
4216
  var r, n, i, o;
4238
4217
  let s = t;
4239
4218
  typeof e == "object" && (s = e, e = s.id);
@@ -4246,9 +4225,9 @@ const ne = (e, t) => {
4246
4225
  throw new Error(
4247
4226
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4248
4227
  );
4249
- let l = ar(e, h);
4228
+ let l = sr(e, h);
4250
4229
  if (!l)
4251
- 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;
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;
4252
4231
  else if (typeof l != "string")
4253
4232
  return console.warn(
4254
4233
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4257,7 +4236,7 @@ const ne = (e, t) => {
4257
4236
  return l;
4258
4237
  let f = l;
4259
4238
  try {
4260
- f = Fi(l, h).format(a);
4239
+ f = Di(l, h).format(a);
4261
4240
  } catch (c) {
4262
4241
  c instanceof Error && console.warn(
4263
4242
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4265,21 +4244,21 @@ const ne = (e, t) => {
4265
4244
  );
4266
4245
  }
4267
4246
  return f;
4268
- }, ki = (e, t) => Di(t).format(e), Vi = (e, t) => Gi(t).format(e), Xi = (e, t) => Ui(t).format(e), Wi = (e, t = U()) => ar(e, t), zi = Q([q, ae], () => ji);
4269
- Q([q], () => ki);
4270
- Q([q], () => Vi);
4271
- Q([q], () => Xi);
4272
- Q([q, ae], () => Wi);
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);
4273
4252
  window.emWidgets = { topic: on };
4274
- const Zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4253
+ const Wi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4275
4254
  String(Number.MAX_SAFE_INTEGER).length;
4276
- function Pt(e, t) {
4255
+ function At(e, t) {
4277
4256
  if (e) {
4278
4257
  const r = document.createElement("style");
4279
4258
  r.innerHTML = t, e.appendChild(r);
4280
4259
  }
4281
4260
  }
4282
- function Qi(e, t) {
4261
+ function zi(e, t) {
4283
4262
  if (!e || !t)
4284
4263
  return;
4285
4264
  const r = new URL(t);
@@ -4290,7 +4269,7 @@ function Qi(e, t) {
4290
4269
  console.error("There was an error while trying to load client styling from URL", n);
4291
4270
  });
4292
4271
  }
4293
- function qi(e, t, r) {
4272
+ function Zi(e, t, r) {
4294
4273
  if (window.emMessageBus) {
4295
4274
  const n = document.createElement("style");
4296
4275
  window.emMessageBus.subscribe(t, (i) => {
@@ -4298,7 +4277,7 @@ function qi(e, t, r) {
4298
4277
  });
4299
4278
  }
4300
4279
  }
4301
- const Ji = (e, t = {}) => {
4280
+ const Qi = (e, t = {}) => {
4302
4281
  const r = new CustomEvent("track-custom-event", {
4303
4282
  detail: {
4304
4283
  type: e,
@@ -4309,13 +4288,13 @@ const Ji = (e, t = {}) => {
4309
4288
  });
4310
4289
  document.dispatchEvent(r);
4311
4290
  };
4312
- function Ot(e, t) {
4313
- hr(e, t);
4291
+ function wt(e, t) {
4292
+ ur(e, t);
4314
4293
  }
4315
- function Yi(e) {
4316
- q.set(e);
4294
+ function qi(e) {
4295
+ J.set(e);
4317
4296
  }
4318
- const It = {
4297
+ const Pt = {
4319
4298
  en: {
4320
4299
  logoutButton: "Logout"
4321
4300
  },
@@ -4350,20 +4329,20 @@ const It = {
4350
4329
  logoutButton: "Logout"
4351
4330
  }
4352
4331
  };
4353
- function Ki(e) {
4354
- Sr(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))}");
4332
+ function Ji(e) {
4333
+ xr(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))}");
4355
4334
  }
4356
- function eo(e) {
4335
+ function Yi(e) {
4357
4336
  let t, r, n, i = (
4358
4337
  /*$_*/
4359
4338
  e[2]("logoutButton") + ""
4360
4339
  ), o, s, a;
4361
4340
  return {
4362
4341
  c() {
4363
- t = I("div"), r = I("button"), n = I("span"), o = ve(i), S(t, "class", "GeneralLogout");
4342
+ t = O("div"), r = O("button"), n = O("span"), o = ye(i), S(t, "class", "GeneralLogout");
4364
4343
  },
4365
4344
  m(h, u) {
4366
- oe(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = Ct(
4345
+ se(h, t, u), T(t, r), T(r, n), T(n, o), s || (a = Nt(
4367
4346
  r,
4368
4347
  "click",
4369
4348
  /*click_handler_1*/
@@ -4373,19 +4352,19 @@ function eo(e) {
4373
4352
  p(h, u) {
4374
4353
  u & /*$_*/
4375
4354
  4 && i !== (i = /*$_*/
4376
- h[2]("logoutButton") + "") && $t(o, i);
4355
+ h[2]("logoutButton") + "") && Mt(o, i);
4377
4356
  },
4378
4357
  d(h) {
4379
- h && Z(t), s = !1, a();
4358
+ h && Q(t), s = !1, a();
4380
4359
  }
4381
4360
  };
4382
4361
  }
4383
- function to(e) {
4362
+ function Ki(e) {
4384
4363
  let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
4385
- e[3] && ro(e);
4364
+ e[3] && eo(e);
4386
4365
  return {
4387
4366
  c() {
4388
- t = I("p"), r = I("span"), n = Y("svg"), i = Y("defs"), o = Y("style"), s = ve(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = Y("path"), h = Y("path"), u = Br(), 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"), Ar(r, "width", /*isMobile*/
4367
+ 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"), Ar(r, "width", /*isMobile*/
4389
4368
  e[3] ? (
4390
4369
  /*mediaQuery*/
4391
4370
  e[4].matches ? "20px" : "24px"
@@ -4395,7 +4374,7 @@ function to(e) {
4395
4374
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4396
4375
  },
4397
4376
  m(p, d) {
4398
- oe(p, t, d), T(t, r), T(r, n), T(n, i), T(i, o), T(o, s), T(n, a), T(n, h), T(t, u), c && c.m(t, null), l || (f = Ct(
4377
+ 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(
4399
4378
  t,
4400
4379
  "click",
4401
4380
  /*click_handler*/
@@ -4407,102 +4386,102 @@ function to(e) {
4407
4386
  p[3] || c.p(p, d);
4408
4387
  },
4409
4388
  d(p) {
4410
- p && Z(t), c && c.d(), l = !1, f();
4389
+ p && Q(t), c && c.d(), l = !1, f();
4411
4390
  }
4412
4391
  };
4413
4392
  }
4414
- function ro(e) {
4393
+ function eo(e) {
4415
4394
  let t, r = (
4416
4395
  /*$_*/
4417
4396
  e[2]("logoutButton") + ""
4418
4397
  ), n;
4419
4398
  return {
4420
4399
  c() {
4421
- t = I("span"), n = ve(r), S(t, "class", "PlayerLogoutText");
4400
+ t = O("span"), n = ye(r), S(t, "class", "PlayerLogoutText");
4422
4401
  },
4423
4402
  m(i, o) {
4424
- oe(i, t, o), T(t, n);
4403
+ se(i, t, o), T(t, n);
4425
4404
  },
4426
4405
  p(i, o) {
4427
4406
  o & /*$_*/
4428
4407
  4 && r !== (r = /*$_*/
4429
- i[2]("logoutButton") + "") && $t(n, r);
4408
+ i[2]("logoutButton") + "") && Mt(n, r);
4430
4409
  },
4431
4410
  d(i) {
4432
- i && Z(t);
4411
+ i && Q(t);
4433
4412
  }
4434
4413
  };
4435
4414
  }
4436
- function no(e) {
4415
+ function to(e) {
4437
4416
  let t;
4438
4417
  function r(o, s) {
4439
4418
  return (
4440
4419
  /*buttonlocation*/
4441
- o[0] === "PlayerAccountMenu" ? to : eo
4420
+ o[0] === "PlayerAccountMenu" ? Ki : Yi
4442
4421
  );
4443
4422
  }
4444
4423
  let n = r(e), i = n(e);
4445
4424
  return {
4446
4425
  c() {
4447
- t = I("div"), i.c();
4426
+ t = O("div"), i.c();
4448
4427
  },
4449
4428
  m(o, s) {
4450
- oe(o, t, s), i.m(t, null), e[15](t);
4429
+ se(o, t, s), i.m(t, null), e[15](t);
4451
4430
  },
4452
4431
  p(o, [s]) {
4453
4432
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4454
4433
  },
4455
- i: w,
4456
- o: w,
4434
+ i: A,
4435
+ o: A,
4457
4436
  d(o) {
4458
- o && Z(t), i.d(), e[15](null);
4437
+ o && Q(t), i.d(), e[15](null);
4459
4438
  }
4460
4439
  };
4461
4440
  }
4462
- function io(e, t, r) {
4441
+ function ro(e, t, r) {
4463
4442
  let n;
4464
- xr(e, zi, (g) => r(2, n = g));
4465
- 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, y = window.navigator.userAgent, B = Zi(y) !== "PC";
4443
+ _r(e, Xi, (y) => r(2, n = y));
4444
+ 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";
4466
4445
  const $ = window.matchMedia("(min-width: 768px)"), N = () => {
4467
4446
  fetch(f).then((M) => M.json()).then((M) => {
4468
- Object.keys(M).forEach((Be) => {
4469
- Ot(Be, M[Be]);
4447
+ Object.keys(M).forEach((Te) => {
4448
+ wt(Te, M[Te]);
4470
4449
  });
4471
4450
  }).catch((M) => {
4472
4451
  console.log(M);
4473
4452
  });
4474
4453
  };
4475
- Object.keys(It).forEach((g) => {
4476
- Ot(g, It[g]);
4454
+ Object.keys(Pt).forEach((y) => {
4455
+ wt(y, Pt[y]);
4477
4456
  });
4478
4457
  const x = () => {
4479
- let g = new Headers();
4480
- g.append("Content-type", "application/json"), g.append("X-SessionID", o);
4481
- let M = { method: "DELETE", headers: g };
4482
- fetch(`${i}/v1/player/session/player`, M).then((Be) => {
4483
- window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Ji("logged_out", {});
4458
+ let y = new Headers();
4459
+ y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4460
+ let M = { method: "DELETE", headers: y };
4461
+ fetch(`${i}/v1/player/session/player`, M).then((Te) => {
4462
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Qi("logged_out", {});
4484
4463
  });
4485
- }, 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), O = () => {
4486
- Yi(a);
4464
+ }, 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 = () => {
4465
+ qi(a);
4487
4466
  };
4488
- Ir(() => () => {
4467
+ Or(() => () => {
4489
4468
  });
4490
- const G = () => x(), ue = () => x();
4491
- function mr(g) {
4492
- $e[g ? "unshift" : "push"](() => {
4493
- d = g, r(1, d);
4469
+ const D = () => x(), ue = () => x();
4470
+ function dr(y) {
4471
+ Me[y ? "unshift" : "push"](() => {
4472
+ d = y, r(1, d);
4494
4473
  });
4495
4474
  }
4496
- return e.$$set = (g) => {
4497
- "endpoint" in g && r(6, i = g.endpoint), "session" in g && r(7, o = g.session), "buttonlocation" in g && r(0, s = g.buttonlocation), "lang" in g && r(8, a = g.lang), "mbsource" in g && r(9, h = g.mbsource), "clientstyling" in g && r(10, u = g.clientstyling), "clientstylingurl" in g && r(11, l = g.clientstylingurl), "translationurl" in g && r(12, f = g.translationurl);
4475
+ return e.$$set = (y) => {
4476
+ "endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, s = y.buttonlocation), "lang" in y && r(8, a = y.lang), "mbsource" in y && r(9, h = y.mbsource), "clientstyling" in y && r(10, u = y.clientstyling), "clientstylingurl" in y && r(11, l = y.clientstylingurl), "translationurl" in y && r(12, f = y.translationurl);
4498
4477
  }, e.$$.update = () => {
4499
4478
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4500
4479
  193 && i && o && s && R(), e.$$.dirty & /*lang*/
4501
- 256 && a && O(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4502
- 1026 && u && d && Pt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4503
- 1026 && u && d && Pt(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4504
- 2050 && l && d && Qi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4505
- 514 && h && d && qi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4480
+ 256 && a && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4481
+ 1026 && u && d && At(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4482
+ 1026 && u && d && At(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4483
+ 2050 && l && d && zi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4484
+ 514 && h && d && Zi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4506
4485
  4096 && f && N();
4507
4486
  }, [
4508
4487
  s,
@@ -4518,19 +4497,19 @@ function io(e, t, r) {
4518
4497
  u,
4519
4498
  l,
4520
4499
  f,
4521
- G,
4500
+ D,
4522
4501
  ue,
4523
- mr
4502
+ dr
4524
4503
  ];
4525
4504
  }
4526
- class dr extends kr {
4505
+ class pr extends jr {
4527
4506
  constructor(t) {
4528
- super(), Fr(
4507
+ super(), Gr(
4529
4508
  this,
4530
4509
  t,
4531
- io,
4532
- no,
4533
- Nt,
4510
+ ro,
4511
+ to,
4512
+ It,
4534
4513
  {
4535
4514
  endpoint: 6,
4536
4515
  session: 7,
@@ -4541,95 +4520,95 @@ class dr extends kr {
4541
4520
  clientstylingurl: 11,
4542
4521
  translationurl: 12
4543
4522
  },
4544
- Ki
4523
+ Ji
4545
4524
  );
4546
4525
  }
4547
4526
  get endpoint() {
4548
4527
  return this.$$.ctx[6];
4549
4528
  }
4550
4529
  set endpoint(t) {
4551
- this.$$set({ endpoint: t }), A();
4530
+ this.$$set({ endpoint: t }), w();
4552
4531
  }
4553
4532
  get session() {
4554
4533
  return this.$$.ctx[7];
4555
4534
  }
4556
4535
  set session(t) {
4557
- this.$$set({ session: t }), A();
4536
+ this.$$set({ session: t }), w();
4558
4537
  }
4559
4538
  get buttonlocation() {
4560
4539
  return this.$$.ctx[0];
4561
4540
  }
4562
4541
  set buttonlocation(t) {
4563
- this.$$set({ buttonlocation: t }), A();
4542
+ this.$$set({ buttonlocation: t }), w();
4564
4543
  }
4565
4544
  get lang() {
4566
4545
  return this.$$.ctx[8];
4567
4546
  }
4568
4547
  set lang(t) {
4569
- this.$$set({ lang: t }), A();
4548
+ this.$$set({ lang: t }), w();
4570
4549
  }
4571
4550
  get mbsource() {
4572
4551
  return this.$$.ctx[9];
4573
4552
  }
4574
4553
  set mbsource(t) {
4575
- this.$$set({ mbsource: t }), A();
4554
+ this.$$set({ mbsource: t }), w();
4576
4555
  }
4577
4556
  get clientstyling() {
4578
4557
  return this.$$.ctx[10];
4579
4558
  }
4580
4559
  set clientstyling(t) {
4581
- this.$$set({ clientstyling: t }), A();
4560
+ this.$$set({ clientstyling: t }), w();
4582
4561
  }
4583
4562
  get clientstylingurl() {
4584
4563
  return this.$$.ctx[11];
4585
4564
  }
4586
4565
  set clientstylingurl(t) {
4587
- this.$$set({ clientstylingurl: t }), A();
4566
+ this.$$set({ clientstylingurl: t }), w();
4588
4567
  }
4589
4568
  get translationurl() {
4590
4569
  return this.$$.ctx[12];
4591
4570
  }
4592
4571
  set translationurl(t) {
4593
- this.$$set({ translationurl: t }), A();
4572
+ this.$$set({ translationurl: t }), w();
4594
4573
  }
4595
4574
  }
4596
- jr(dr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4597
- const lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4575
+ Fr(pr, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4576
+ const uo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4598
4577
  __proto__: null,
4599
- default: dr
4578
+ default: pr
4600
4579
  }, Symbol.toStringTag, { value: "Module" }));
4601
4580
  export {
4602
- q as $,
4603
- zi as A,
4604
- Pt as B,
4605
- Qi as C,
4606
- qi as D,
4607
- lo as G,
4608
- kr as S,
4609
- hr as a,
4610
- Sr as b,
4611
- jr as c,
4612
- Z as d,
4613
- oe as e,
4614
- A as f,
4615
- I as g,
4616
- xr as h,
4617
- Fr as i,
4618
- Zi as j,
4619
- $e as k,
4620
- ho as l,
4621
- ao as m,
4622
- w as n,
4623
- Ir as o,
4624
- T as p,
4625
- Br as q,
4626
- uo as r,
4627
- Nt as s,
4628
- S as t,
4629
- $t as u,
4630
- ve as v,
4631
- ie as w,
4632
- Ct as x,
4633
- Y as y,
4634
- so as z
4581
+ J as $,
4582
+ Nt as A,
4583
+ oe as B,
4584
+ io as C,
4585
+ Xi as D,
4586
+ uo as G,
4587
+ jr as S,
4588
+ ur as a,
4589
+ xr as b,
4590
+ Fr as c,
4591
+ se as d,
4592
+ O as e,
4593
+ w as f,
4594
+ Q as g,
4595
+ _r as h,
4596
+ Gr as i,
4597
+ Wi as j,
4598
+ Zi as k,
4599
+ Me as l,
4600
+ At as m,
4601
+ A as n,
4602
+ Or as o,
4603
+ zi as p,
4604
+ ao as q,
4605
+ Hr as r,
4606
+ It as s,
4607
+ ye as t,
4608
+ S as u,
4609
+ T as v,
4610
+ Mt as w,
4611
+ oo as x,
4612
+ so as y,
4613
+ K as z
4635
4614
  };