@everymatrix/general-logout 1.55.0 → 1.56.2

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