@everymatrix/player-account-menu-nd 1.77.20 → 1.77.21

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