@everymatrix/general-logout 1.86.2 → 1.86.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
1
  function B() {
2
2
  }
3
- function Ht(e) {
3
+ function St(e) {
4
4
  return e();
5
5
  }
6
- function et() {
6
+ function qe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ne(e) {
10
- e.forEach(Ht);
9
+ function ie(e) {
10
+ e.forEach(St);
11
11
  }
12
- function Ye(e) {
12
+ function ze(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Bt(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
- function ur(e) {
18
+ function ar(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function wt(e, ...t) {
21
+ function Ht(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function wt(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function hr(e, t, r) {
31
- e.$$.on_destroy.push(wt(t, r));
30
+ function ur(e, t, r) {
31
+ e.$$.on_destroy.push(Ht(t, r));
32
32
  }
33
33
  function S(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function lr(e, t, r) {
37
- const n = cr(e);
36
+ function hr(e, t, r) {
37
+ const n = lr(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = O("style");
40
- i.id = t, i.textContent = r, fr(n, i);
39
+ const i = P("style");
40
+ i.id = t, i.textContent = r, cr(n, i);
41
41
  }
42
42
  }
43
- function cr(e) {
43
+ function lr(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,48 +50,48 @@ function cr(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function fr(e, t) {
53
+ function cr(e, t) {
54
54
  return S(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function ie(e, t, r) {
60
+ function oe(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function z(e) {
63
+ function Z(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function O(e) {
66
+ function P(e) {
67
67
  return document.createElement(e);
68
68
  }
69
- function Y(e) {
69
+ function q(e) {
70
70
  return document.createElementNS("http://www.w3.org/2000/svg", e);
71
71
  }
72
- function ge(e) {
72
+ function be(e) {
73
73
  return document.createTextNode(e);
74
74
  }
75
- function pr() {
76
- return ge(" ");
75
+ function fr() {
76
+ return be(" ");
77
77
  }
78
- function At(e, t, r, n) {
78
+ function Bt(e, t, r, n) {
79
79
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
80
80
  }
81
81
  function T(e, t, r) {
82
82
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
83
83
  }
84
- function dr(e) {
84
+ function pr(e) {
85
85
  return Array.from(e.childNodes);
86
86
  }
87
- function Pt(e, t) {
87
+ function At(e, t) {
88
88
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
89
89
  t);
90
90
  }
91
- function mr(e, t, r, n) {
91
+ function dr(e, t, r, n) {
92
92
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
93
93
  }
94
- function br(e) {
94
+ function mr(e) {
95
95
  const t = {};
96
96
  return e.childNodes.forEach(
97
97
  /** @param {Element} node */
@@ -100,87 +100,87 @@ function br(e) {
100
100
  }
101
101
  ), t;
102
102
  }
103
- let ee;
104
- function K(e) {
105
- ee = e;
103
+ let te;
104
+ function ee(e) {
105
+ te = e;
106
106
  }
107
- function gr() {
108
- if (!ee)
107
+ function br() {
108
+ if (!te)
109
109
  throw new Error("Function called outside component initialization");
110
- return ee;
110
+ return te;
111
111
  }
112
- function yr(e) {
113
- gr().$$.on_mount.push(e);
112
+ function gr(e) {
113
+ br().$$.on_mount.push(e);
114
114
  }
115
- const F = [], Ne = [];
115
+ const F = [], Ie = [];
116
116
  let j = [];
117
- const tt = [], vr = /* @__PURE__ */ Promise.resolve();
118
- let Me = !1;
119
- function _r() {
120
- Me || (Me = !0, vr.then(w));
117
+ const Ke = [], yr = /* @__PURE__ */ Promise.resolve();
118
+ let Le = !1;
119
+ function vr() {
120
+ Le || (Le = !0, yr.then(A));
121
121
  }
122
- function Ce(e) {
122
+ function Ne(e) {
123
123
  j.push(e);
124
124
  }
125
- const He = /* @__PURE__ */ new Set();
126
- let G = 0;
127
- function w() {
128
- if (G !== 0)
125
+ const Se = /* @__PURE__ */ new Set();
126
+ let D = 0;
127
+ function A() {
128
+ if (D !== 0)
129
129
  return;
130
- const e = ee;
130
+ const e = te;
131
131
  do {
132
132
  try {
133
- for (; G < F.length; ) {
134
- const t = F[G];
135
- G++, K(t), Er(t.$$);
133
+ for (; D < F.length; ) {
134
+ const t = F[D];
135
+ D++, ee(t), Er(t.$$);
136
136
  }
137
137
  } catch (t) {
138
- throw F.length = 0, G = 0, t;
138
+ throw F.length = 0, D = 0, t;
139
139
  }
140
- for (K(null), F.length = 0, G = 0; Ne.length; )
141
- Ne.pop()();
140
+ for (ee(null), F.length = 0, D = 0; Ie.length; )
141
+ Ie.pop()();
142
142
  for (let t = 0; t < j.length; t += 1) {
143
143
  const r = j[t];
144
- He.has(r) || (He.add(r), r());
144
+ Se.has(r) || (Se.add(r), r());
145
145
  }
146
146
  j.length = 0;
147
147
  } while (F.length);
148
- for (; tt.length; )
149
- tt.pop()();
150
- Me = !1, He.clear(), K(e);
148
+ for (; Ke.length; )
149
+ Ke.pop()();
150
+ Le = !1, Se.clear(), ee(e);
151
151
  }
152
152
  function Er(e) {
153
153
  if (e.fragment !== null) {
154
- e.update(), ne(e.before_update);
154
+ e.update(), ie(e.before_update);
155
155
  const t = e.dirty;
156
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
156
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
157
157
  }
158
158
  }
159
- function xr(e) {
159
+ function _r(e) {
160
160
  const t = [], r = [];
161
161
  j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
162
162
  }
163
- const Sr = /* @__PURE__ */ new Set();
164
- function Tr(e, t) {
165
- e && e.i && (Sr.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));
166
166
  }
167
- function Hr(e, t, r) {
167
+ function Tr(e, t, r) {
168
168
  const { fragment: n, after_update: i } = e.$$;
169
- n && n.m(t, r), Ce(() => {
170
- const o = e.$$.on_mount.map(Ht).filter(Ye);
171
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
172
- }), i.forEach(Ce);
169
+ n && n.m(t, r), Ne(() => {
170
+ const o = e.$$.on_mount.map(St).filter(ze);
171
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
172
+ }), i.forEach(Ne);
173
173
  }
174
- function Br(e, t) {
174
+ function Hr(e, t) {
175
175
  const r = e.$$;
176
- r.fragment !== null && (xr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
176
+ r.fragment !== null && (_r(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
177
177
  }
178
- function wr(e, t) {
179
- e.$$.dirty[0] === -1 && (F.push(e), _r(), 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;
180
180
  }
181
181
  function Ar(e, t, r, n, i, o, s = null, a = [-1]) {
182
- const h = ee;
183
- K(e);
182
+ const h = te;
183
+ ee(e);
184
184
  const u = e.$$ = {
185
185
  fragment: null,
186
186
  ctx: [],
@@ -188,7 +188,7 @@ function Ar(e, t, r, n, i, o, s = null, a = [-1]) {
188
188
  props: o,
189
189
  update: B,
190
190
  not_equal: i,
191
- bound: et(),
191
+ bound: qe(),
192
192
  // lifecycle
193
193
  on_mount: [],
194
194
  on_destroy: [],
@@ -197,7 +197,7 @@ function Ar(e, t, r, n, i, o, s = null, a = [-1]) {
197
197
  after_update: [],
198
198
  context: new Map(t.context || (h ? h.$$.context : [])),
199
199
  // everything else
200
- callbacks: et(),
200
+ callbacks: qe(),
201
201
  dirty: a,
202
202
  skip_bound: !1,
203
203
  root: t.target || h.$$.root
@@ -206,19 +206,19 @@ function Ar(e, t, r, n, i, o, s = null, a = [-1]) {
206
206
  let l = !1;
207
207
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
208
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 && wr(e, f)), c;
210
- }) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
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;
210
+ }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
211
211
  if (t.hydrate) {
212
- const f = dr(t.target);
213
- u.fragment && u.fragment.l(f), f.forEach(z);
212
+ const f = pr(t.target);
213
+ u.fragment && u.fragment.l(f), f.forEach(Z);
214
214
  } else
215
215
  u.fragment && u.fragment.c();
216
- t.intro && Tr(e.$$.fragment), Hr(e, t.target, t.anchor), w();
216
+ t.intro && Sr(e.$$.fragment), Tr(e, t.target, t.anchor), A();
217
217
  }
218
- K(h);
218
+ ee(h);
219
219
  }
220
- let Ot;
221
- typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
220
+ let wt;
221
+ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
222
222
  /** The Svelte component constructor */
223
223
  $$ctor;
224
224
  /** Slots */
@@ -260,24 +260,24 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
260
260
  let o;
261
261
  return {
262
262
  c: function() {
263
- o = O("slot"), i !== "default" && T(o, "name", i);
263
+ o = P("slot"), i !== "default" && T(o, "name", i);
264
264
  },
265
265
  /**
266
266
  * @param {HTMLElement} target
267
267
  * @param {HTMLElement} [anchor]
268
268
  */
269
269
  m: function(h, u) {
270
- ie(h, o, u);
270
+ oe(h, o, u);
271
271
  },
272
272
  d: function(h) {
273
- h && z(o);
273
+ h && Z(o);
274
274
  }
275
275
  };
276
276
  };
277
277
  };
278
278
  if (await Promise.resolve(), !this.$$cn || this.$$c)
279
279
  return;
280
- const t = {}, r = br(this);
280
+ const t = {}, r = mr(this);
281
281
  for (const i of this.$$s)
282
282
  i in r && (t[i] = [e(i)]);
283
283
  for (const i of this.attributes) {
@@ -364,8 +364,8 @@ function le(e, t, r, n) {
364
364
  return t;
365
365
  }
366
366
  }
367
- function Pr(e, t, r, n, i, o) {
368
- let s = class extends Ot {
367
+ function wr(e, t, r, n, i, o) {
368
+ let s = class extends wt {
369
369
  constructor() {
370
370
  super(e, r, i), this.$$p_d = t;
371
371
  }
@@ -393,7 +393,7 @@ function Pr(e, t, r, n, i, o) {
393
393
  }), e.element = /** @type {any} */
394
394
  s, s;
395
395
  }
396
- class Or {
396
+ class Pr {
397
397
  /**
398
398
  * ### PRIVATE API
399
399
  *
@@ -412,7 +412,7 @@ class Or {
412
412
  $$set = void 0;
413
413
  /** @returns {void} */
414
414
  $destroy() {
415
- Br(this, 1), this.$destroy = B;
415
+ Hr(this, 1), this.$destroy = B;
416
416
  }
417
417
  /**
418
418
  * @template {Extract<keyof Events, string>} K
@@ -421,7 +421,7 @@ class Or {
421
421
  * @returns {() => void}
422
422
  */
423
423
  $on(t, r) {
424
- if (!Ye(r))
424
+ if (!ze(r))
425
425
  return B;
426
426
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
427
427
  return n.push(r), () => {
@@ -434,11 +434,11 @@ class Or {
434
434
  * @returns {void}
435
435
  */
436
436
  $set(t) {
437
- this.$$set && !ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
437
+ this.$$set && !ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
438
438
  }
439
439
  }
440
- const Ir = "4";
441
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ir);
440
+ const Or = "4";
441
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
442
442
  /*! *****************************************************************************
443
443
  Copyright (c) Microsoft Corporation.
444
444
 
@@ -453,24 +453,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
453
453
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
454
454
  PERFORMANCE OF THIS SOFTWARE.
455
455
  ***************************************************************************** */
456
- var $e = function(e, t) {
457
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
456
+ var Me = function(e, t) {
457
+ return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
458
458
  r.__proto__ = n;
459
459
  } || function(r, n) {
460
460
  for (var i in n)
461
461
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
462
- }, $e(e, t);
462
+ }, Me(e, t);
463
463
  };
464
- function oe(e, t) {
464
+ function I(e, t) {
465
465
  if (typeof t != "function" && t !== null)
466
466
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
467
- $e(e, t);
467
+ Me(e, t);
468
468
  function r() {
469
469
  this.constructor = e;
470
470
  }
471
471
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
472
472
  }
473
- function Re(e) {
473
+ var g = function() {
474
+ return g = Object.assign || function(t) {
475
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
476
+ r = arguments[n];
477
+ for (var o in r)
478
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
479
+ }
480
+ return t;
481
+ }, g.apply(this, arguments);
482
+ };
483
+ function Ir(e, t) {
484
+ var r = {};
485
+ for (var n in e)
486
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
487
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
488
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
489
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
490
+ return r;
491
+ }
492
+ function Ce(e) {
474
493
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
475
494
  if (r)
476
495
  return r.call(e);
@@ -482,7 +501,7 @@ function Re(e) {
482
501
  };
483
502
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
484
503
  }
485
- function Ue(e, t) {
504
+ function $e(e, t) {
486
505
  var r = typeof Symbol == "function" && e[Symbol.iterator];
487
506
  if (!r)
488
507
  return e;
@@ -502,22 +521,22 @@ function Ue(e, t) {
502
521
  }
503
522
  return o;
504
523
  }
505
- function Ge(e, t, r) {
506
- if (arguments.length === 2)
524
+ function k(e, t, r) {
525
+ if (r || arguments.length === 2)
507
526
  for (var n = 0, i = t.length, o; n < i; n++)
508
527
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
509
528
  return e.concat(o || t);
510
529
  }
511
- function I(e) {
530
+ function O(e) {
512
531
  return typeof e == "function";
513
532
  }
514
- function It(e) {
533
+ function Pt(e) {
515
534
  var t = function(n) {
516
535
  Error.call(n), n.stack = new Error().stack;
517
536
  }, r = e(t);
518
537
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
519
538
  }
520
- var Be = It(function(e) {
539
+ var Te = Pt(function(e) {
521
540
  return function(r) {
522
541
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
523
542
  ` + r.map(function(n, i) {
@@ -526,13 +545,13 @@ var Be = It(function(e) {
526
545
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
527
546
  };
528
547
  });
529
- function De(e, t) {
548
+ function Re(e, t) {
530
549
  if (e) {
531
550
  var r = e.indexOf(t);
532
551
  0 <= r && e.splice(r, 1);
533
552
  }
534
553
  }
535
- var ye = function() {
554
+ var ge = function() {
536
555
  function e(t) {
537
556
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
538
557
  }
@@ -544,12 +563,12 @@ var ye = function() {
544
563
  if (s)
545
564
  if (this._parentage = null, Array.isArray(s))
546
565
  try {
547
- for (var a = Re(s), h = a.next(); !h.done; h = a.next()) {
566
+ for (var a = Ce(s), h = a.next(); !h.done; h = a.next()) {
548
567
  var u = h.value;
549
568
  u.remove(this);
550
569
  }
551
- } catch (y) {
552
- t = { error: y };
570
+ } catch (v) {
571
+ t = { error: v };
553
572
  } finally {
554
573
  try {
555
574
  h && !h.done && (r = a.return) && r.call(a);
@@ -561,26 +580,26 @@ var ye = function() {
561
580
  else
562
581
  s.remove(this);
563
582
  var l = this.initialTeardown;
564
- if (I(l))
583
+ if (O(l))
565
584
  try {
566
585
  l();
567
- } catch (y) {
568
- o = y instanceof Be ? y.errors : [y];
586
+ } catch (v) {
587
+ o = v instanceof Te ? v.errors : [v];
569
588
  }
570
589
  var f = this._finalizers;
571
590
  if (f) {
572
591
  this._finalizers = null;
573
592
  try {
574
- for (var c = Re(f), p = c.next(); !p.done; p = c.next()) {
593
+ for (var c = Ce(f), p = c.next(); !p.done; p = c.next()) {
575
594
  var d = p.value;
576
595
  try {
577
- rt(d);
578
- } catch (y) {
579
- o = o ?? [], y instanceof Be ? o = Ge(Ge([], Ue(o)), Ue(y.errors)) : o.push(y);
596
+ et(d);
597
+ } catch (v) {
598
+ o = o ?? [], v instanceof Te ? o = k(k([], $e(o)), $e(v.errors)) : o.push(v);
580
599
  }
581
600
  }
582
- } catch (y) {
583
- n = { error: y };
601
+ } catch (v) {
602
+ n = { error: v };
584
603
  } finally {
585
604
  try {
586
605
  p && !p.done && (i = c.return) && i.call(c);
@@ -591,13 +610,13 @@ var ye = function() {
591
610
  }
592
611
  }
593
612
  if (o)
594
- throw new Be(o);
613
+ throw new Te(o);
595
614
  }
596
615
  }, e.prototype.add = function(t) {
597
616
  var r;
598
617
  if (t && t !== this)
599
618
  if (this.closed)
600
- rt(t);
619
+ et(t);
601
620
  else {
602
621
  if (t instanceof e) {
603
622
  if (t.closed || t._hasParent(this))
@@ -614,52 +633,56 @@ var ye = function() {
614
633
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
615
634
  }, e.prototype._removeParent = function(t) {
616
635
  var r = this._parentage;
617
- r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
636
+ r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
618
637
  }, e.prototype.remove = function(t) {
619
638
  var r = this._finalizers;
620
- r && De(r, t), t instanceof e && t._removeParent(this);
639
+ r && Re(r, t), t instanceof e && t._removeParent(this);
621
640
  }, e.EMPTY = function() {
622
641
  var t = new e();
623
642
  return t.closed = !0, t;
624
643
  }(), e;
625
- }(), Lt = ye.EMPTY;
626
- function Nt(e) {
627
- return e instanceof ye || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
628
- }
629
- function rt(e) {
630
- I(e) ? e() : e.unsubscribe();
631
- }
632
- var Lr = {
633
- Promise: void 0
634
- }, Nr = {
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);
647
+ }
648
+ function et(e) {
649
+ O(e) ? e() : e.unsubscribe();
650
+ }
651
+ var Lt = {
652
+ onUnhandledError: null,
653
+ onStoppedNotification: null,
654
+ Promise: void 0,
655
+ useDeprecatedSynchronousErrorHandling: !1,
656
+ useDeprecatedNextContext: !1
657
+ }, Lr = {
635
658
  setTimeout: function(e, t) {
636
659
  for (var r = [], n = 2; n < arguments.length; n++)
637
660
  r[n - 2] = arguments[n];
638
- return setTimeout.apply(void 0, Ge([e, t], Ue(r)));
661
+ return setTimeout.apply(void 0, k([e, t], $e(r)));
639
662
  },
640
663
  clearTimeout: function(e) {
641
664
  return clearTimeout(e);
642
665
  },
643
666
  delegate: void 0
644
667
  };
645
- function Mr(e) {
646
- Nr.setTimeout(function() {
668
+ function Nr(e) {
669
+ Lr.setTimeout(function() {
647
670
  throw e;
648
671
  });
649
672
  }
650
- function nt() {
673
+ function tt() {
651
674
  }
652
675
  function ce(e) {
653
676
  e();
654
677
  }
655
- var Mt = function(e) {
656
- oe(t, e);
678
+ var Nt = function(e) {
679
+ I(t, e);
657
680
  function t(r) {
658
681
  var n = e.call(this) || this;
659
- return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = Rr, n;
682
+ return n.isStopped = !1, r ? (n.destination = r, It(r) && r.add(n)) : n.destination = Rr, n;
660
683
  }
661
684
  return t.create = function(r, n, i) {
662
- return new Fe(r, n, i);
685
+ return new Ue(r, n, i);
663
686
  }, t.prototype.next = function(r) {
664
687
  this.isStopped || this._next(r);
665
688
  }, t.prototype.error = function(r) {
@@ -683,7 +706,11 @@ var Mt = function(e) {
683
706
  this.unsubscribe();
684
707
  }
685
708
  }, t;
686
- }(ye), Cr = function() {
709
+ }(ge), Mr = Function.prototype.bind;
710
+ function He(e, t) {
711
+ return Mr.call(e, t);
712
+ }
713
+ var Cr = function() {
687
714
  function e(t) {
688
715
  this.partialObserver = t;
689
716
  }
@@ -714,43 +741,55 @@ var Mt = function(e) {
714
741
  ue(r);
715
742
  }
716
743
  }, e;
717
- }(), Fe = function(e) {
718
- oe(t, e);
744
+ }(), Ue = function(e) {
745
+ I(t, e);
719
746
  function t(r, n, i) {
720
747
  var o = e.call(this) || this, s;
721
- return I(r) || !r ? s = {
722
- next: r ?? void 0,
723
- error: n ?? void 0,
724
- complete: i ?? void 0
725
- } : s = r, o.destination = new Cr(s), o;
748
+ if (O(r) || !r)
749
+ s = {
750
+ next: r ?? void 0,
751
+ error: n ?? void 0,
752
+ complete: i ?? void 0
753
+ };
754
+ else {
755
+ var a;
756
+ o && Lt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
757
+ return o.unsubscribe();
758
+ }, s = {
759
+ next: r.next && He(r.next, a),
760
+ error: r.error && He(r.error, a),
761
+ complete: r.complete && He(r.complete, a)
762
+ }) : s = r;
763
+ }
764
+ return o.destination = new Cr(s), o;
726
765
  }
727
766
  return t;
728
- }(Mt);
767
+ }(Nt);
729
768
  function ue(e) {
730
- Mr(e);
769
+ Nr(e);
731
770
  }
732
771
  function $r(e) {
733
772
  throw e;
734
773
  }
735
774
  var Rr = {
736
775
  closed: !0,
737
- next: nt,
776
+ next: tt,
738
777
  error: $r,
739
- complete: nt
778
+ complete: tt
740
779
  }, Ur = function() {
741
780
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
742
781
  }();
743
- function Gr(e) {
782
+ function Dr(e) {
744
783
  return e;
745
784
  }
746
- function Dr(e) {
747
- return e.length === 0 ? Gr : e.length === 1 ? e[0] : function(r) {
785
+ function Gr(e) {
786
+ return e.length === 0 ? Dr : e.length === 1 ? e[0] : function(r) {
748
787
  return e.reduce(function(n, i) {
749
788
  return i(n);
750
789
  }, r);
751
790
  };
752
791
  }
753
- var it = function() {
792
+ var rt = function() {
754
793
  function e(t) {
755
794
  t && (this._subscribe = t);
756
795
  }
@@ -758,7 +797,7 @@ var it = function() {
758
797
  var r = new e();
759
798
  return r.source = this, r.operator = t, r;
760
799
  }, e.prototype.subscribe = function(t, r, n) {
761
- var i = this, o = jr(t) ? t : new Fe(t, r, n);
800
+ var i = this, o = jr(t) ? t : new Ue(t, r, n);
762
801
  return ce(function() {
763
802
  var s = i, a = s.operator, h = s.source;
764
803
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -771,8 +810,8 @@ var it = function() {
771
810
  }
772
811
  }, e.prototype.forEach = function(t, r) {
773
812
  var n = this;
774
- return r = ot(r), new r(function(i, o) {
775
- var s = new Fe({
813
+ return r = nt(r), new r(function(i, o) {
814
+ var s = new Ue({
776
815
  next: function(a) {
777
816
  try {
778
817
  t(a);
@@ -793,10 +832,10 @@ var it = function() {
793
832
  }, e.prototype.pipe = function() {
794
833
  for (var t = [], r = 0; r < arguments.length; r++)
795
834
  t[r] = arguments[r];
796
- return Dr(t)(this);
835
+ return Gr(t)(this);
797
836
  }, e.prototype.toPromise = function(t) {
798
837
  var r = this;
799
- return t = ot(t), new t(function(n, i) {
838
+ return t = nt(t), new t(function(n, i) {
800
839
  var o;
801
840
  r.subscribe(function(s) {
802
841
  return o = s;
@@ -810,28 +849,28 @@ var it = function() {
810
849
  return new e(t);
811
850
  }, e;
812
851
  }();
813
- function ot(e) {
852
+ function nt(e) {
814
853
  var t;
815
- return (t = e ?? Lr.Promise) !== null && t !== void 0 ? t : Promise;
854
+ return (t = e ?? Lt.Promise) !== null && t !== void 0 ? t : Promise;
816
855
  }
817
856
  function Fr(e) {
818
- return e && I(e.next) && I(e.error) && I(e.complete);
857
+ return e && O(e.next) && O(e.error) && O(e.complete);
819
858
  }
820
859
  function jr(e) {
821
- return e && e instanceof Mt || Fr(e) && Nt(e);
860
+ return e && e instanceof Nt || Fr(e) && It(e);
822
861
  }
823
- var kr = It(function(e) {
862
+ var kr = Pt(function(e) {
824
863
  return function() {
825
864
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
826
865
  };
827
- }), Ct = function(e) {
828
- oe(t, e);
866
+ }), Mt = function(e) {
867
+ I(t, e);
829
868
  function t() {
830
869
  var r = e.call(this) || this;
831
870
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
832
871
  }
833
872
  return t.prototype.lift = function(r) {
834
- var n = new st(this, this);
873
+ var n = new it(this, this);
835
874
  return n.operator = r, n;
836
875
  }, t.prototype._throwIfClosed = function() {
837
876
  if (this.closed)
@@ -843,7 +882,7 @@ var kr = It(function(e) {
843
882
  if (n._throwIfClosed(), !n.isStopped) {
844
883
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
845
884
  try {
846
- for (var s = Re(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()) {
847
886
  var h = a.value;
848
887
  h.next(r);
849
888
  }
@@ -892,20 +931,20 @@ var kr = It(function(e) {
892
931
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
893
932
  }, t.prototype._innerSubscribe = function(r) {
894
933
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
895
- return o || s ? Lt : (this.currentObservers = null, a.push(r), new ye(function() {
896
- n.currentObservers = null, De(a, r);
934
+ return o || s ? Ot : (this.currentObservers = null, a.push(r), new ge(function() {
935
+ n.currentObservers = null, Re(a, r);
897
936
  }));
898
937
  }, t.prototype._checkFinalizedStatuses = function(r) {
899
938
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
900
939
  i ? r.error(o) : s && r.complete();
901
940
  }, t.prototype.asObservable = function() {
902
- var r = new it();
941
+ var r = new rt();
903
942
  return r.source = this, r;
904
943
  }, t.create = function(r, n) {
905
- return new st(r, n);
944
+ return new it(r, n);
906
945
  }, t;
907
- }(it), st = function(e) {
908
- oe(t, e);
946
+ }(rt), it = function(e) {
947
+ I(t, e);
909
948
  function t(r, n) {
910
949
  var i = e.call(this) || this;
911
950
  return i.destination = r, i.source = n, i;
@@ -921,17 +960,17 @@ var kr = It(function(e) {
921
960
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
922
961
  }, t.prototype._subscribe = function(r) {
923
962
  var n, i;
924
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
963
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ot;
925
964
  }, t;
926
- }(Ct), $t = {
965
+ }(Mt), Ct = {
927
966
  now: function() {
928
- return ($t.delegate || Date).now();
967
+ return (Ct.delegate || Date).now();
929
968
  },
930
969
  delegate: void 0
931
970
  }, Vr = function(e) {
932
- oe(t, e);
971
+ I(t, e);
933
972
  function t(r, n, i) {
934
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
973
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ct);
935
974
  var o = e.call(this) || this;
936
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;
937
976
  }
@@ -951,31 +990,31 @@ var kr = It(function(e) {
951
990
  u && o.splice(0, u + 1);
952
991
  }
953
992
  }, t;
954
- }(Ct);
955
- const at = [], ut = {}, Xr = (e, t = 0) => {
956
- if (at.indexOf(e) == -1) {
993
+ }(Mt);
994
+ const ot = [], st = {}, Xr = (e, t = 0) => {
995
+ if (ot.indexOf(e) == -1) {
957
996
  const r = new Vr(t);
958
- ut[e] = r, at.push(e);
997
+ st[e] = r, ot.push(e);
959
998
  }
960
- return ut[e];
961
- }, D = [];
999
+ return st[e];
1000
+ }, G = [];
962
1001
  function Wr(e, t) {
963
1002
  return {
964
- subscribe: ve(e, t).subscribe
1003
+ subscribe: ye(e, t).subscribe
965
1004
  };
966
1005
  }
967
- function ve(e, t = B) {
1006
+ function ye(e, t = B) {
968
1007
  let r;
969
1008
  const n = /* @__PURE__ */ new Set();
970
1009
  function i(a) {
971
- if (Bt(e, a) && (e = a, r)) {
972
- const h = !D.length;
1010
+ if (Tt(e, a) && (e = a, r)) {
1011
+ const h = !G.length;
973
1012
  for (const u of n)
974
- u[1](), D.push(u, e);
1013
+ u[1](), G.push(u, e);
975
1014
  if (h) {
976
- for (let u = 0; u < D.length; u += 2)
977
- D[u][0](D[u + 1]);
978
- D.length = 0;
1015
+ for (let u = 0; u < G.length; u += 2)
1016
+ G[u][0](G[u + 1]);
1017
+ G.length = 0;
979
1018
  }
980
1019
  }
981
1020
  }
@@ -990,7 +1029,7 @@ function ve(e, t = B) {
990
1029
  }
991
1030
  return { set: i, update: o, subscribe: s };
992
1031
  }
993
- function Z(e, t, r) {
1032
+ function Q(e, t, r) {
994
1033
  const n = !Array.isArray(e), i = n ? [e] : e;
995
1034
  if (!i.every(Boolean))
996
1035
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1004,20 +1043,20 @@ function Z(e, t, r) {
1004
1043
  return;
1005
1044
  f();
1006
1045
  const d = t(n ? u[0] : u, s, a);
1007
- o ? s(d) : f = Ye(d) ? d : B;
1046
+ o ? s(d) : f = ze(d) ? d : B;
1008
1047
  }, p = i.map(
1009
- (d, y) => wt(
1048
+ (d, v) => Ht(
1010
1049
  d,
1011
1050
  (H) => {
1012
- u[y] = H, l &= ~(1 << y), h && c();
1051
+ u[v] = H, l &= ~(1 << v), h && c();
1013
1052
  },
1014
1053
  () => {
1015
- l |= 1 << y;
1054
+ l |= 1 << v;
1016
1055
  }
1017
1056
  )
1018
1057
  );
1019
1058
  return h = !0, c(), function() {
1020
- ne(p), f(), h = !1;
1059
+ ie(p), f(), h = !1;
1021
1060
  };
1022
1061
  });
1023
1062
  }
@@ -1041,29 +1080,29 @@ function Kr(e) {
1041
1080
  function en(e) {
1042
1081
  return Array.isArray(e) ? [] : {};
1043
1082
  }
1044
- function te(e, t) {
1045
- return t.clone !== !1 && t.isMergeableObject(e) ? k(en(e), e, t) : e;
1083
+ function re(e, t) {
1084
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(en(e), e, t) : e;
1046
1085
  }
1047
1086
  function tn(e, t, r) {
1048
1087
  return e.concat(t).map(function(n) {
1049
- return te(n, r);
1088
+ return re(n, r);
1050
1089
  });
1051
1090
  }
1052
1091
  function rn(e, t) {
1053
1092
  if (!t.customMerge)
1054
- return k;
1093
+ return V;
1055
1094
  var r = t.customMerge(e);
1056
- return typeof r == "function" ? r : k;
1095
+ return typeof r == "function" ? r : V;
1057
1096
  }
1058
1097
  function nn(e) {
1059
1098
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1060
1099
  return Object.propertyIsEnumerable.call(e, t);
1061
1100
  }) : [];
1062
1101
  }
1063
- function ht(e) {
1102
+ function at(e) {
1064
1103
  return Object.keys(e).concat(nn(e));
1065
1104
  }
1066
- function Rt(e, t) {
1105
+ function $t(e, t) {
1067
1106
  try {
1068
1107
  return t in e;
1069
1108
  } catch {
@@ -1071,179 +1110,129 @@ function Rt(e, t) {
1071
1110
  }
1072
1111
  }
1073
1112
  function on(e, t) {
1074
- return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1113
+ return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1075
1114
  }
1076
1115
  function sn(e, t, r) {
1077
1116
  var n = {};
1078
- return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1079
- n[i] = te(e[i], r);
1080
- }), ht(t).forEach(function(i) {
1081
- on(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = rn(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
1117
+ return r.isMergeableObject(e) && at(e).forEach(function(i) {
1118
+ n[i] = re(e[i], r);
1119
+ }), at(t).forEach(function(i) {
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));
1082
1121
  }), n;
1083
1122
  }
1084
- function k(e, t, r) {
1085
- r = r || {}, r.arrayMerge = r.arrayMerge || tn, r.isMergeableObject = r.isMergeableObject || Zr, r.cloneUnlessOtherwiseSpecified = te;
1123
+ function V(e, t, r) {
1124
+ r = r || {}, r.arrayMerge = r.arrayMerge || tn, r.isMergeableObject = r.isMergeableObject || Zr, r.cloneUnlessOtherwiseSpecified = re;
1086
1125
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1087
- return o ? n ? r.arrayMerge(e, t, r) : sn(e, t, r) : te(t, r);
1126
+ return o ? n ? r.arrayMerge(e, t, r) : sn(e, t, r) : re(t, r);
1088
1127
  }
1089
- k.all = function(t, r) {
1128
+ V.all = function(t, r) {
1090
1129
  if (!Array.isArray(t))
1091
1130
  throw new Error("first argument should be an array");
1092
1131
  return t.reduce(function(n, i) {
1093
- return k(n, i, r);
1132
+ return V(n, i, r);
1094
1133
  }, {});
1095
1134
  };
1096
- var an = k, un = an;
1135
+ var an = V, un = an;
1097
1136
  const hn = /* @__PURE__ */ zr(un);
1098
- var je = function(e, t) {
1099
- return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1100
- r.__proto__ = n;
1101
- } || function(r, n) {
1102
- for (var i in n)
1103
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1104
- }, je(e, t);
1105
- };
1106
- function _e(e, t) {
1107
- if (typeof t != "function" && t !== null)
1108
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1109
- je(e, t);
1110
- function r() {
1111
- this.constructor = e;
1112
- }
1113
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1114
- }
1115
- var A = function() {
1116
- return A = Object.assign || function(t) {
1117
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1118
- r = arguments[n];
1119
- for (var o in r)
1120
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1121
- }
1122
- return t;
1123
- }, A.apply(this, arguments);
1124
- };
1125
- function ln(e, t) {
1126
- var r = {};
1127
- for (var n in e)
1128
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1129
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1130
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1131
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1132
- return r;
1133
- }
1134
- function we(e, t, r) {
1135
- if (r || arguments.length === 2)
1136
- for (var n = 0, i = t.length, o; n < i; n++)
1137
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1138
- return e.concat(o || Array.prototype.slice.call(t));
1139
- }
1140
- function Ae(e, t) {
1141
- var r = t && t.cache ? t.cache : gn, n = t && t.serializer ? t.serializer : mn, i = t && t.strategy ? t.strategy : pn;
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;
1142
1139
  return i(e, {
1143
1140
  cache: r,
1144
1141
  serializer: n
1145
1142
  });
1146
1143
  }
1147
- function cn(e) {
1144
+ function ln(e) {
1148
1145
  return e == null || typeof e == "number" || typeof e == "boolean";
1149
1146
  }
1150
- function fn(e, t, r, n) {
1151
- var i = cn(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);
1152
1149
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1153
1150
  }
1154
1151
  function Ut(e, t, r) {
1155
1152
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1156
1153
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1157
1154
  }
1158
- function Gt(e, t, r, n, i) {
1155
+ function Ze(e, t, r, n, i) {
1159
1156
  return r.bind(t, e, n, i);
1160
1157
  }
1161
- function pn(e, t) {
1162
- var r = e.length === 1 ? fn : Ut;
1163
- return Gt(e, this, r, t.cache.create(), t.serializer);
1158
+ function cn(e, t) {
1159
+ var r = e.length === 1 ? Rt : Ut;
1160
+ return Ze(e, this, r, t.cache.create(), t.serializer);
1164
1161
  }
1165
- function dn(e, t) {
1166
- return Gt(e, this, Ut, t.cache.create(), t.serializer);
1162
+ function fn(e, t) {
1163
+ return Ze(e, this, Ut, t.cache.create(), t.serializer);
1167
1164
  }
1168
- var mn = function() {
1165
+ function pn(e, t) {
1166
+ return Ze(e, this, Rt, t.cache.create(), t.serializer);
1167
+ }
1168
+ var dn = function() {
1169
1169
  return JSON.stringify(arguments);
1170
- }, bn = (
1171
- /** @class */
1172
- function() {
1173
- function e() {
1174
- this.cache = /* @__PURE__ */ Object.create(null);
1175
- }
1176
- return e.prototype.get = function(t) {
1177
- return this.cache[t];
1178
- }, e.prototype.set = function(t, r) {
1179
- this.cache[t] = r;
1180
- }, e;
1181
- }()
1182
- ), gn = {
1170
+ };
1171
+ function Qe() {
1172
+ this.cache = /* @__PURE__ */ Object.create(null);
1173
+ }
1174
+ Qe.prototype.get = function(e) {
1175
+ return this.cache[e];
1176
+ };
1177
+ Qe.prototype.set = function(e, t) {
1178
+ this.cache[e] = t;
1179
+ };
1180
+ var mn = {
1183
1181
  create: function() {
1184
- return new bn();
1182
+ return new Qe();
1185
1183
  }
1186
- }, Pe = {
1187
- variadic: dn
1188
- }, de = function() {
1189
- return de = Object.assign || function(t) {
1190
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1191
- r = arguments[n];
1192
- for (var o in r)
1193
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1194
- }
1195
- return t;
1196
- }, de.apply(this, arguments);
1197
- };
1198
- var m;
1184
+ }, Ae = {
1185
+ variadic: fn,
1186
+ monadic: pn
1187
+ }, m;
1199
1188
  (function(e) {
1200
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";
1201
1190
  })(m || (m = {}));
1202
- var v;
1191
+ var E;
1203
1192
  (function(e) {
1204
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";
1205
- })(v || (v = {}));
1206
- var V;
1194
+ })(E || (E = {}));
1195
+ var X;
1207
1196
  (function(e) {
1208
1197
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1209
- })(V || (V = {}));
1210
- function lt(e) {
1211
- return e.type === v.literal;
1198
+ })(X || (X = {}));
1199
+ function ut(e) {
1200
+ return e.type === E.literal;
1212
1201
  }
1213
- function yn(e) {
1214
- return e.type === v.argument;
1202
+ function bn(e) {
1203
+ return e.type === E.argument;
1215
1204
  }
1216
1205
  function Dt(e) {
1217
- return e.type === v.number;
1206
+ return e.type === E.number;
1207
+ }
1208
+ function Gt(e) {
1209
+ return e.type === E.date;
1218
1210
  }
1219
1211
  function Ft(e) {
1220
- return e.type === v.date;
1212
+ return e.type === E.time;
1221
1213
  }
1222
1214
  function jt(e) {
1223
- return e.type === v.time;
1215
+ return e.type === E.select;
1224
1216
  }
1225
1217
  function kt(e) {
1226
- return e.type === v.select;
1218
+ return e.type === E.plural;
1227
1219
  }
1228
- function Vt(e) {
1229
- return e.type === v.plural;
1220
+ function gn(e) {
1221
+ return e.type === E.pound;
1230
1222
  }
1231
- function vn(e) {
1232
- return e.type === v.pound;
1223
+ function Vt(e) {
1224
+ return e.type === E.tag;
1233
1225
  }
1234
1226
  function Xt(e) {
1235
- return e.type === v.tag;
1227
+ return !!(e && typeof e == "object" && e.type === X.number);
1236
1228
  }
1237
- function Wt(e) {
1238
- return !!(e && typeof e == "object" && e.type === V.number);
1239
- }
1240
- function ke(e) {
1241
- return !!(e && typeof e == "object" && e.type === V.dateTime);
1229
+ function De(e) {
1230
+ return !!(e && typeof e == "object" && e.type === X.dateTime);
1242
1231
  }
1243
- var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, _n = /(?:[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;
1244
- function En(e) {
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) {
1245
1234
  var t = {};
1246
- return e.replace(_n, function(r) {
1235
+ return e.replace(yn, function(r) {
1247
1236
  var n = r.length;
1248
1237
  switch (r[0]) {
1249
1238
  case "G":
@@ -1332,21 +1321,11 @@ function En(e) {
1332
1321
  return "";
1333
1322
  }), t;
1334
1323
  }
1335
- var _ = function() {
1336
- return _ = Object.assign || function(t) {
1337
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1338
- r = arguments[n];
1339
- for (var o in r)
1340
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1341
- }
1342
- return t;
1343
- }, _.apply(this, arguments);
1344
- };
1345
- var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1346
- function Sn(e) {
1324
+ var En = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1325
+ function _n(e) {
1347
1326
  if (e.length === 0)
1348
1327
  throw new Error("Number skeleton cannot be empty");
1349
- for (var t = e.split(xn).filter(function(c) {
1328
+ for (var t = e.split(En).filter(function(c) {
1350
1329
  return c.length > 0;
1351
1330
  }), r = [], n = 0, i = t; n < i.length; n++) {
1352
1331
  var o = i[n], s = o.split("/");
@@ -1361,17 +1340,17 @@ function Sn(e) {
1361
1340
  }
1362
1341
  return r;
1363
1342
  }
1364
- function Tn(e) {
1343
+ function xn(e) {
1365
1344
  return e.replace(/^(.*?)-/, "");
1366
1345
  }
1367
- var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, Hn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1368
- function ft(e) {
1346
+ var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, Sn = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
1347
+ function lt(e) {
1369
1348
  var t = {};
1370
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, 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) {
1371
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)), "";
1372
1351
  }), t;
1373
1352
  }
1374
- function Jt(e) {
1353
+ function Qt(e) {
1375
1354
  switch (e) {
1376
1355
  case "sign-auto":
1377
1356
  return {
@@ -1411,7 +1390,7 @@ function Jt(e) {
1411
1390
  };
1412
1391
  }
1413
1392
  }
1414
- function Bn(e) {
1393
+ function Tn(e) {
1415
1394
  var t;
1416
1395
  if (e[0] === "E" && e[1] === "E" ? (t = {
1417
1396
  notation: "engineering"
@@ -1419,17 +1398,17 @@ function Bn(e) {
1419
1398
  notation: "scientific"
1420
1399
  }, e = e.slice(1)), t) {
1421
1400
  var r = e.slice(0, 2);
1422
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Qt.test(e))
1401
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
1423
1402
  throw new Error("Malformed concise eng/scientific notation");
1424
1403
  t.minimumIntegerDigits = e.length;
1425
1404
  }
1426
1405
  return t;
1427
1406
  }
1428
- function pt(e) {
1429
- var t = {}, r = Jt(e);
1407
+ function ct(e) {
1408
+ var t = {}, r = Qt(e);
1430
1409
  return r || t;
1431
1410
  }
1432
- function wn(e) {
1411
+ function Hn(e) {
1433
1412
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1434
1413
  var i = n[r];
1435
1414
  switch (i.stem) {
@@ -1453,7 +1432,7 @@ function wn(e) {
1453
1432
  continue;
1454
1433
  case "measure-unit":
1455
1434
  case "unit":
1456
- t.style = "unit", t.unit = Tn(i.options[0]);
1435
+ t.style = "unit", t.unit = xn(i.options[0]);
1457
1436
  continue;
1458
1437
  case "compact-short":
1459
1438
  case "K":
@@ -1464,13 +1443,13 @@ function wn(e) {
1464
1443
  t.notation = "compact", t.compactDisplay = "long";
1465
1444
  continue;
1466
1445
  case "scientific":
1467
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1468
- return _(_({}, h), pt(u));
1446
+ t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1447
+ return g(g({}, h), ct(u));
1469
1448
  }, {}));
1470
1449
  continue;
1471
1450
  case "engineering":
1472
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1473
- return _(_({}, h), pt(u));
1451
+ t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1452
+ return g(g({}, h), ct(u));
1474
1453
  }, {}));
1475
1454
  continue;
1476
1455
  case "notation-simple":
@@ -1515,7 +1494,7 @@ function wn(e) {
1515
1494
  case "integer-width":
1516
1495
  if (i.options.length > 1)
1517
1496
  throw new RangeError("integer-width stems only accept a single optional option");
1518
- i.options[0].replace(Hn, function(h, u, l, f, c, p) {
1497
+ i.options[0].replace(Sn, function(h, u, l, f, c, p) {
1519
1498
  if (u)
1520
1499
  t.minimumIntegerDigits = l.length;
1521
1500
  else {
@@ -1528,28 +1507,28 @@ function wn(e) {
1528
1507
  });
1529
1508
  continue;
1530
1509
  }
1531
- if (Qt.test(i.stem)) {
1510
+ if (Zt.test(i.stem)) {
1532
1511
  t.minimumIntegerDigits = i.stem.length;
1533
1512
  continue;
1534
1513
  }
1535
- if (ct.test(i.stem)) {
1514
+ if (ht.test(i.stem)) {
1536
1515
  if (i.options.length > 1)
1537
1516
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1538
- i.stem.replace(ct, function(h, u, l, f, c, p) {
1517
+ i.stem.replace(ht, function(h, u, l, f, c, p) {
1539
1518
  return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1540
1519
  });
1541
1520
  var o = i.options[0];
1542
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), ft(o)));
1521
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), lt(o)));
1543
1522
  continue;
1544
1523
  }
1545
- if (Zt.test(i.stem)) {
1546
- t = _(_({}, t), ft(i.stem));
1524
+ if (zt.test(i.stem)) {
1525
+ t = g(g({}, t), lt(i.stem));
1547
1526
  continue;
1548
1527
  }
1549
- var s = Jt(i.stem);
1550
- s && (t = _(_({}, t), s));
1551
- var a = Bn(i.stem);
1552
- a && (t = _(_({}, t), a));
1528
+ var s = Qt(i.stem);
1529
+ s && (t = g(g({}, t), s));
1530
+ var a = Tn(i.stem);
1531
+ a && (t = g(g({}, t), a));
1553
1532
  }
1554
1533
  return t;
1555
1534
  }
@@ -2968,13 +2947,13 @@ var he = {
2968
2947
  "h"
2969
2948
  ]
2970
2949
  };
2971
- function An(e, t) {
2950
+ function Bn(e, t) {
2972
2951
  for (var r = "", n = 0; n < e.length; n++) {
2973
2952
  var i = e.charAt(n);
2974
2953
  if (i === "j") {
2975
2954
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2976
2955
  o++, n++;
2977
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Pn(t);
2956
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = An(t);
2978
2957
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2979
2958
  r += h;
2980
2959
  for (; s-- > 0; )
@@ -2984,7 +2963,7 @@ function An(e, t) {
2984
2963
  }
2985
2964
  return r;
2986
2965
  }
2987
- function Pn(e) {
2966
+ function An(e) {
2988
2967
  var t = e.hourCycle;
2989
2968
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2990
2969
  e.hourCycles && // @ts-ignore
@@ -3006,20 +2985,20 @@ function Pn(e) {
3006
2985
  var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
3007
2986
  return i[0];
3008
2987
  }
3009
- var Oe, On = new RegExp("^".concat(zt.source, "*")), In = new RegExp("".concat(zt.source, "*$"));
2988
+ var we, wn = new RegExp("^".concat(Wt.source, "*")), Pn = new RegExp("".concat(Wt.source, "*$"));
3010
2989
  function b(e, t) {
3011
2990
  return { start: e, end: t };
3012
2991
  }
3013
- var Ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, Mn = !!Object.fromEntries, Cn = !!String.prototype.codePointAt, $n = !!String.prototype.trimStart, Rn = !!String.prototype.trimEnd, Un = !!Number.isSafeInteger, Gn = Un ? 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) {
3014
2993
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3015
- }, Ve = !0;
2994
+ }, Ge = !0;
3016
2995
  try {
3017
- var Dn = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3018
- Ve = ((Oe = Dn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[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";
3019
2998
  } catch {
3020
- Ve = !1;
2999
+ Ge = !1;
3021
3000
  }
3022
- var dt = Ln ? (
3001
+ var ft = On ? (
3023
3002
  // Native
3024
3003
  function(t, r, n) {
3025
3004
  return t.startsWith(r, n);
@@ -3029,7 +3008,7 @@ var dt = Ln ? (
3029
3008
  function(t, r, n) {
3030
3009
  return t.slice(n, n + r.length) === r;
3031
3010
  }
3032
- ), Xe = Nn ? String.fromCodePoint : (
3011
+ ), Fe = In ? String.fromCodePoint : (
3033
3012
  // IE11
3034
3013
  function() {
3035
3014
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3041,9 +3020,9 @@ var dt = Ln ? (
3041
3020
  }
3042
3021
  return n;
3043
3022
  }
3044
- ), mt = (
3023
+ ), pt = (
3045
3024
  // native
3046
- Mn ? Object.fromEntries : (
3025
+ Ln ? Object.fromEntries : (
3047
3026
  // Ponyfill
3048
3027
  function(t) {
3049
3028
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3053,7 +3032,7 @@ var dt = Ln ? (
3053
3032
  return r;
3054
3033
  }
3055
3034
  )
3056
- ), Yt = Cn ? (
3035
+ ), Jt = Nn ? (
3057
3036
  // Native
3058
3037
  function(t, r) {
3059
3038
  return t.codePointAt(r);
@@ -3067,7 +3046,7 @@ var dt = Ln ? (
3067
3046
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3068
3047
  }
3069
3048
  }
3070
- ), Fn = $n ? (
3049
+ ), Dn = Mn ? (
3071
3050
  // Native
3072
3051
  function(t) {
3073
3052
  return t.trimStart();
@@ -3075,9 +3054,9 @@ var dt = Ln ? (
3075
3054
  ) : (
3076
3055
  // Ponyfill
3077
3056
  function(t) {
3078
- return t.replace(On, "");
3057
+ return t.replace(wn, "");
3079
3058
  }
3080
- ), jn = Rn ? (
3059
+ ), Gn = Cn ? (
3081
3060
  // Native
3082
3061
  function(t) {
3083
3062
  return t.trimEnd();
@@ -3085,32 +3064,32 @@ var dt = Ln ? (
3085
3064
  ) : (
3086
3065
  // Ponyfill
3087
3066
  function(t) {
3088
- return t.replace(In, "");
3067
+ return t.replace(Pn, "");
3089
3068
  }
3090
3069
  );
3091
- function qt(e, t) {
3070
+ function Yt(e, t) {
3092
3071
  return new RegExp(e, t);
3093
3072
  }
3094
- var We;
3095
- if (Ve) {
3096
- var bt = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3097
- We = 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) {
3098
3077
  var n;
3099
- bt.lastIndex = r;
3100
- var i = bt.exec(t);
3078
+ dt.lastIndex = r;
3079
+ var i = dt.exec(t);
3101
3080
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3102
3081
  };
3103
3082
  } else
3104
- We = function(t, r) {
3083
+ je = function(t, r) {
3105
3084
  for (var n = []; ; ) {
3106
- var i = Yt(t, r);
3107
- if (i === void 0 || Kt(i) || Wn(i))
3085
+ var i = Jt(t, r);
3086
+ if (i === void 0 || qt(i) || Vn(i))
3108
3087
  break;
3109
3088
  n.push(i), r += i >= 65536 ? 2 : 1;
3110
3089
  }
3111
- return Xe.apply(void 0, n);
3090
+ return Fe.apply(void 0, n);
3112
3091
  };
3113
- var kn = (
3092
+ var Fn = (
3114
3093
  /** @class */
3115
3094
  function() {
3116
3095
  function e(t, r) {
@@ -3134,14 +3113,14 @@ var kn = (
3134
3113
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3135
3114
  var a = this.clonePosition();
3136
3115
  this.bump(), i.push({
3137
- type: v.pound,
3116
+ type: E.pound,
3138
3117
  location: b(a, this.clonePosition())
3139
3118
  });
3140
3119
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3141
3120
  if (n)
3142
3121
  break;
3143
3122
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
3144
- } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3123
+ } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3145
3124
  var s = this.parseTag(t, r);
3146
3125
  if (s.err)
3147
3126
  return s;
@@ -3162,7 +3141,7 @@ var kn = (
3162
3141
  if (this.bumpSpace(), this.bumpIf("/>"))
3163
3142
  return {
3164
3143
  val: {
3165
- type: v.literal,
3144
+ type: E.literal,
3166
3145
  value: "<".concat(i, "/>"),
3167
3146
  location: b(n, this.clonePosition())
3168
3147
  },
@@ -3174,12 +3153,12 @@ var kn = (
3174
3153
  return o;
3175
3154
  var s = o.val, a = this.clonePosition();
3176
3155
  if (this.bumpIf("</")) {
3177
- if (this.isEOF() || !ze(this.char()))
3156
+ if (this.isEOF() || !ke(this.char()))
3178
3157
  return this.error(m.INVALID_TAG, b(a, this.clonePosition()));
3179
3158
  var h = this.clonePosition(), u = this.parseTagName();
3180
3159
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3181
3160
  val: {
3182
- type: v.tag,
3161
+ type: E.tag,
3183
3162
  value: i,
3184
3163
  children: s,
3185
3164
  location: b(n, this.clonePosition())
@@ -3192,7 +3171,7 @@ var kn = (
3192
3171
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
3193
3172
  }, e.prototype.parseTagName = function() {
3194
3173
  var t = this.offset();
3195
- for (this.bump(); !this.isEOF() && Xn(this.char()); )
3174
+ for (this.bump(); !this.isEOF() && kn(this.char()); )
3196
3175
  this.bump();
3197
3176
  return this.message.slice(t, this.offset());
3198
3177
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3216,12 +3195,12 @@ var kn = (
3216
3195
  }
3217
3196
  var h = b(n, this.clonePosition());
3218
3197
  return {
3219
- val: { type: v.literal, value: i, location: h },
3198
+ val: { type: E.literal, value: i, location: h },
3220
3199
  err: null
3221
3200
  };
3222
3201
  }, e.prototype.tryParseLeftAngleBracket = function() {
3223
3202
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3224
- !Vn(this.peek() || 0)) ? (this.bump(), "<") : null;
3203
+ !jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3225
3204
  }, e.prototype.tryParseQuote = function(t) {
3226
3205
  if (this.isEOF() || this.char() !== 39)
3227
3206
  return null;
@@ -3255,12 +3234,12 @@ var kn = (
3255
3234
  r.push(n);
3256
3235
  this.bump();
3257
3236
  }
3258
- return Xe.apply(void 0, r);
3237
+ return Fe.apply(void 0, r);
3259
3238
  }, e.prototype.tryParseUnquoted = function(t, r) {
3260
3239
  if (this.isEOF())
3261
3240
  return null;
3262
3241
  var n = this.char();
3263
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
3242
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3264
3243
  }, e.prototype.parseArgument = function(t, r) {
3265
3244
  var n = this.clonePosition();
3266
3245
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3276,7 +3255,7 @@ var kn = (
3276
3255
  case 125:
3277
3256
  return this.bump(), {
3278
3257
  val: {
3279
- type: v.argument,
3258
+ type: E.argument,
3280
3259
  // value does not include the opening and closing braces.
3281
3260
  value: i,
3282
3261
  location: b(n, this.clonePosition())
@@ -3289,7 +3268,7 @@ var kn = (
3289
3268
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
3290
3269
  }
3291
3270
  }, e.prototype.parseIdentifierIfPossible = function() {
3292
- var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3271
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3293
3272
  this.bumpTo(i);
3294
3273
  var o = this.clonePosition(), s = b(t, o);
3295
3274
  return { value: n, location: s };
@@ -3308,7 +3287,7 @@ var kn = (
3308
3287
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3309
3288
  if (f.err)
3310
3289
  return f;
3311
- var c = jn(f.val);
3290
+ var c = Gn(f.val);
3312
3291
  if (c.length === 0)
3313
3292
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
3314
3293
  var p = b(l, this.clonePosition());
@@ -3317,37 +3296,37 @@ var kn = (
3317
3296
  var d = this.tryParseArgumentClose(i);
3318
3297
  if (d.err)
3319
3298
  return d;
3320
- var y = b(i, this.clonePosition());
3321
- if (u && dt(u?.style, "::", 0)) {
3322
- var H = Fn(u.style.slice(2));
3299
+ var v = b(i, this.clonePosition());
3300
+ if (u && ft(u?.style, "::", 0)) {
3301
+ var H = Dn(u.style.slice(2));
3323
3302
  if (a === "number") {
3324
3303
  var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
3325
3304
  return f.err ? f : {
3326
- val: { type: v.number, value: n, location: y, style: f.val },
3305
+ val: { type: E.number, value: n, location: v, style: f.val },
3327
3306
  err: null
3328
3307
  };
3329
3308
  } else {
3330
3309
  if (H.length === 0)
3331
- return this.error(m.EXPECT_DATE_TIME_SKELETON, y);
3310
+ return this.error(m.EXPECT_DATE_TIME_SKELETON, v);
3332
3311
  var C = H;
3333
- this.locale && (C = An(H, this.locale));
3312
+ this.locale && (C = Bn(H, this.locale));
3334
3313
  var c = {
3335
- type: V.dateTime,
3314
+ type: X.dateTime,
3336
3315
  pattern: C,
3337
3316
  location: u.styleLocation,
3338
- parsedOptions: this.shouldParseSkeletons ? En(C) : {}
3339
- }, L = a === "date" ? v.date : v.time;
3317
+ parsedOptions: this.shouldParseSkeletons ? vn(C) : {}
3318
+ }, L = a === "date" ? E.date : E.time;
3340
3319
  return {
3341
- val: { type: L, value: n, location: y, style: c },
3320
+ val: { type: L, value: n, location: v, style: c },
3342
3321
  err: null
3343
3322
  };
3344
3323
  }
3345
3324
  }
3346
3325
  return {
3347
3326
  val: {
3348
- type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3327
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3349
3328
  value: n,
3350
- location: y,
3329
+ location: v,
3351
3330
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3352
3331
  },
3353
3332
  err: null
@@ -3358,9 +3337,9 @@ var kn = (
3358
3337
  case "select": {
3359
3338
  var x = this.clonePosition();
3360
3339
  if (this.bumpSpace(), !this.bumpIf(","))
3361
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, de({}, x)));
3340
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(x, g({}, x)));
3362
3341
  this.bumpSpace();
3363
- var $ = this.parseIdentifierIfPossible(), P = 0;
3342
+ var $ = this.parseIdentifierIfPossible(), w = 0;
3364
3343
  if (a !== "select" && $.value === "offset") {
3365
3344
  if (!this.bumpIf(":"))
3366
3345
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
@@ -3368,7 +3347,7 @@ var kn = (
3368
3347
  var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3369
3348
  if (f.err)
3370
3349
  return f;
3371
- this.bumpSpace(), $ = this.parseIdentifierIfPossible(), P = f.val;
3350
+ this.bumpSpace(), $ = this.parseIdentifierIfPossible(), w = f.val;
3372
3351
  }
3373
3352
  var U = this.tryParsePluralOrSelectOptions(t, a, r, $);
3374
3353
  if (U.err)
@@ -3379,18 +3358,18 @@ var kn = (
3379
3358
  var ae = b(i, this.clonePosition());
3380
3359
  return a === "select" ? {
3381
3360
  val: {
3382
- type: v.select,
3361
+ type: E.select,
3383
3362
  value: n,
3384
- options: mt(U.val),
3363
+ options: pt(U.val),
3385
3364
  location: ae
3386
3365
  },
3387
3366
  err: null
3388
3367
  } : {
3389
3368
  val: {
3390
- type: v.plural,
3369
+ type: E.plural,
3391
3370
  value: n,
3392
- options: mt(U.val),
3393
- offset: P,
3371
+ options: pt(U.val),
3372
+ offset: w,
3394
3373
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3395
3374
  location: ae
3396
3375
  },
@@ -3440,16 +3419,16 @@ var kn = (
3440
3419
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3441
3420
  var n = [];
3442
3421
  try {
3443
- n = Sn(t);
3422
+ n = _n(t);
3444
3423
  } catch {
3445
3424
  return this.error(m.INVALID_NUMBER_SKELETON, r);
3446
3425
  }
3447
3426
  return {
3448
3427
  val: {
3449
- type: V.number,
3428
+ type: X.number,
3450
3429
  tokens: n,
3451
3430
  location: r,
3452
- parsedOptions: this.shouldParseSkeletons ? wn(n) : {}
3431
+ parsedOptions: this.shouldParseSkeletons ? Hn(n) : {}
3453
3432
  },
3454
3433
  err: null
3455
3434
  };
@@ -3474,9 +3453,9 @@ var kn = (
3474
3453
  var d = this.parseMessage(t + 1, r, n);
3475
3454
  if (d.err)
3476
3455
  return d;
3477
- var y = this.tryParseArgumentClose(p);
3478
- if (y.err)
3479
- return y;
3456
+ var v = this.tryParseArgumentClose(p);
3457
+ if (v.err)
3458
+ return v;
3480
3459
  a.push([
3481
3460
  u,
3482
3461
  {
@@ -3497,7 +3476,7 @@ var kn = (
3497
3476
  break;
3498
3477
  }
3499
3478
  var h = b(i, this.clonePosition());
3500
- return o ? (s *= n, Gn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3479
+ return o ? (s *= n, Rn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3501
3480
  }, e.prototype.offset = function() {
3502
3481
  return this.position.offset;
3503
3482
  }, e.prototype.isEOF = function() {
@@ -3512,7 +3491,7 @@ var kn = (
3512
3491
  var t = this.position.offset;
3513
3492
  if (t >= this.message.length)
3514
3493
  throw Error("out of bound");
3515
- var r = Yt(this.message, t);
3494
+ var r = Jt(this.message, t);
3516
3495
  if (r === void 0)
3517
3496
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3518
3497
  return r;
@@ -3531,7 +3510,7 @@ var kn = (
3531
3510
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3532
3511
  }
3533
3512
  }, e.prototype.bumpIf = function(t) {
3534
- if (dt(this.message, t, this.offset())) {
3513
+ if (ft(this.message, t, this.offset())) {
3535
3514
  for (var r = 0; r < t.length; r++)
3536
3515
  this.bump();
3537
3516
  return !0;
@@ -3553,7 +3532,7 @@ var kn = (
3553
3532
  break;
3554
3533
  }
3555
3534
  }, e.prototype.bumpSpace = function() {
3556
- for (; !this.isEOF() && Kt(this.char()); )
3535
+ for (; !this.isEOF() && qt(this.char()); )
3557
3536
  this.bump();
3558
3537
  }, e.prototype.peek = function() {
3559
3538
  if (this.isEOF())
@@ -3563,47 +3542,47 @@ var kn = (
3563
3542
  }, e;
3564
3543
  }()
3565
3544
  );
3566
- function ze(e) {
3545
+ function ke(e) {
3567
3546
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3568
3547
  }
3569
- function Vn(e) {
3570
- return ze(e) || e === 47;
3548
+ function jn(e) {
3549
+ return ke(e) || e === 47;
3571
3550
  }
3572
- function Xn(e) {
3551
+ function kn(e) {
3573
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;
3574
3553
  }
3575
- function Kt(e) {
3554
+ function qt(e) {
3576
3555
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3577
3556
  }
3578
- function Wn(e) {
3557
+ function Vn(e) {
3579
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;
3580
3559
  }
3581
- function Ze(e) {
3560
+ function Ve(e) {
3582
3561
  e.forEach(function(t) {
3583
- if (delete t.location, kt(t) || Vt(t))
3562
+ if (delete t.location, jt(t) || kt(t))
3584
3563
  for (var r in t.options)
3585
- delete t.options[r].location, Ze(t.options[r].value);
3564
+ delete t.options[r].location, Ve(t.options[r].value);
3586
3565
  else
3587
- Dt(t) && Wt(t.style) || (Ft(t) || jt(t)) && ke(t.style) ? delete t.style.location : Xt(t) && Ze(t.children);
3566
+ Dt(t) && Xt(t.style) || (Gt(t) || Ft(t)) && De(t.style) ? delete t.style.location : Vt(t) && Ve(t.children);
3588
3567
  });
3589
3568
  }
3590
- function zn(e, t) {
3591
- t === void 0 && (t = {}), t = de({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3592
- var r = new kn(e, t).parse();
3569
+ function Xn(e, t) {
3570
+ t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3571
+ var r = new Fn(e, t).parse();
3593
3572
  if (r.err) {
3594
3573
  var n = SyntaxError(m[r.err.kind]);
3595
3574
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3596
3575
  }
3597
- return t?.captureLocation || Ze(r.val), r.val;
3576
+ return t?.captureLocation || Ve(r.val), r.val;
3598
3577
  }
3599
- var X;
3578
+ var W;
3600
3579
  (function(e) {
3601
3580
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3602
- })(X || (X = {}));
3603
- var Ee = (
3581
+ })(W || (W = {}));
3582
+ var ve = (
3604
3583
  /** @class */
3605
3584
  function(e) {
3606
- _e(t, e);
3585
+ I(t, e);
3607
3586
  function t(r, n, i) {
3608
3587
  var o = e.call(this, r) || this;
3609
3588
  return o.code = n, o.originalMessage = i, o;
@@ -3612,155 +3591,155 @@ var Ee = (
3612
3591
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3613
3592
  }, t;
3614
3593
  }(Error)
3615
- ), gt = (
3594
+ ), mt = (
3616
3595
  /** @class */
3617
3596
  function(e) {
3618
- _e(t, e);
3597
+ I(t, e);
3619
3598
  function t(r, n, i, o) {
3620
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.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;
3621
3600
  }
3622
3601
  return t;
3623
- }(Ee)
3624
- ), Zn = (
3602
+ }(ve)
3603
+ ), Wn = (
3625
3604
  /** @class */
3626
3605
  function(e) {
3627
- _e(t, e);
3606
+ I(t, e);
3628
3607
  function t(r, n, i) {
3629
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3608
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3630
3609
  }
3631
3610
  return t;
3632
- }(Ee)
3633
- ), Qn = (
3611
+ }(ve)
3612
+ ), zn = (
3634
3613
  /** @class */
3635
3614
  function(e) {
3636
- _e(t, e);
3615
+ I(t, e);
3637
3616
  function t(r, n) {
3638
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.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;
3639
3618
  }
3640
3619
  return t;
3641
- }(Ee)
3642
- ), E;
3620
+ }(ve)
3621
+ ), _;
3643
3622
  (function(e) {
3644
3623
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3645
- })(E || (E = {}));
3646
- function Jn(e) {
3624
+ })(_ || (_ = {}));
3625
+ function Zn(e) {
3647
3626
  return e.length < 2 ? e : e.reduce(function(t, r) {
3648
3627
  var n = t[t.length - 1];
3649
- return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3628
+ return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3650
3629
  }, []);
3651
3630
  }
3652
- function Yn(e) {
3631
+ function Qn(e) {
3653
3632
  return typeof e == "function";
3654
3633
  }
3655
3634
  function fe(e, t, r, n, i, o, s) {
3656
- if (e.length === 1 && lt(e[0]))
3635
+ if (e.length === 1 && ut(e[0]))
3657
3636
  return [
3658
3637
  {
3659
- type: E.literal,
3638
+ type: _.literal,
3660
3639
  value: e[0].value
3661
3640
  }
3662
3641
  ];
3663
3642
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3664
3643
  var l = u[h];
3665
- if (lt(l)) {
3644
+ if (ut(l)) {
3666
3645
  a.push({
3667
- type: E.literal,
3646
+ type: _.literal,
3668
3647
  value: l.value
3669
3648
  });
3670
3649
  continue;
3671
3650
  }
3672
- if (vn(l)) {
3651
+ if (gn(l)) {
3673
3652
  typeof o == "number" && a.push({
3674
- type: E.literal,
3653
+ type: _.literal,
3675
3654
  value: r.getNumberFormat(t).format(o)
3676
3655
  });
3677
3656
  continue;
3678
3657
  }
3679
3658
  var f = l.value;
3680
3659
  if (!(i && f in i))
3681
- throw new Qn(f, s);
3660
+ throw new zn(f, s);
3682
3661
  var c = i[f];
3683
- if (yn(l)) {
3662
+ if (bn(l)) {
3684
3663
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3685
- type: typeof c == "string" ? E.literal : E.object,
3664
+ type: typeof c == "string" ? _.literal : _.object,
3686
3665
  value: c
3687
3666
  });
3688
3667
  continue;
3689
3668
  }
3690
- if (Ft(l)) {
3691
- var p = typeof l.style == "string" ? n.date[l.style] : ke(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;
3692
3671
  a.push({
3693
- type: E.literal,
3672
+ type: _.literal,
3694
3673
  value: r.getDateTimeFormat(t, p).format(c)
3695
3674
  });
3696
3675
  continue;
3697
3676
  }
3698
- if (jt(l)) {
3699
- var p = typeof l.style == "string" ? n.time[l.style] : ke(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;
3700
3679
  a.push({
3701
- type: E.literal,
3680
+ type: _.literal,
3702
3681
  value: r.getDateTimeFormat(t, p).format(c)
3703
3682
  });
3704
3683
  continue;
3705
3684
  }
3706
3685
  if (Dt(l)) {
3707
- var p = typeof l.style == "string" ? n.number[l.style] : Wt(l.style) ? l.style.parsedOptions : void 0;
3686
+ var p = typeof l.style == "string" ? n.number[l.style] : Xt(l.style) ? l.style.parsedOptions : void 0;
3708
3687
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3709
- type: E.literal,
3688
+ type: _.literal,
3710
3689
  value: r.getNumberFormat(t, p).format(c)
3711
3690
  });
3712
3691
  continue;
3713
3692
  }
3714
- if (Xt(l)) {
3715
- var d = l.children, y = l.value, H = i[y];
3716
- if (!Yn(H))
3717
- throw new Zn(y, "function", s);
3718
- var C = fe(d, t, r, n, i, o), L = H(C.map(function(P) {
3719
- 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;
3720
3699
  }));
3721
- Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(P) {
3700
+ Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(w) {
3722
3701
  return {
3723
- type: typeof P == "string" ? E.literal : E.object,
3724
- value: P
3702
+ type: typeof w == "string" ? _.literal : _.object,
3703
+ value: w
3725
3704
  };
3726
3705
  }));
3727
3706
  }
3728
- if (kt(l)) {
3707
+ if (jt(l)) {
3729
3708
  var x = l.options[c] || l.options.other;
3730
3709
  if (!x)
3731
- throw new gt(l.value, c, Object.keys(l.options), s);
3710
+ throw new mt(l.value, c, Object.keys(l.options), s);
3732
3711
  a.push.apply(a, fe(x.value, t, r, n, i));
3733
3712
  continue;
3734
3713
  }
3735
- if (Vt(l)) {
3714
+ if (kt(l)) {
3736
3715
  var x = l.options["=".concat(c)];
3737
3716
  if (!x) {
3738
3717
  if (!Intl.PluralRules)
3739
- throw new Ee(`Intl.PluralRules is not available in this environment.
3718
+ throw new ve(`Intl.PluralRules is not available in this environment.
3740
3719
  Try polyfilling it using "@formatjs/intl-pluralrules"
3741
- `, X.MISSING_INTL_API, s);
3720
+ `, W.MISSING_INTL_API, s);
3742
3721
  var $ = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3743
3722
  x = l.options[$] || l.options.other;
3744
3723
  }
3745
3724
  if (!x)
3746
- throw new gt(l.value, c, Object.keys(l.options), s);
3725
+ throw new mt(l.value, c, Object.keys(l.options), s);
3747
3726
  a.push.apply(a, fe(x.value, t, r, n, i, c - (l.offset || 0)));
3748
3727
  continue;
3749
3728
  }
3750
3729
  }
3751
- return Jn(a);
3730
+ return Zn(a);
3752
3731
  }
3753
- function qn(e, t) {
3754
- return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3755
- return r[n] = A(A({}, e[n]), t[n] || {}), r;
3732
+ function Jn(e, t) {
3733
+ return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3734
+ return r[n] = g(g({}, e[n]), t[n] || {}), r;
3756
3735
  }, {})) : e;
3757
3736
  }
3758
- function Kn(e, t) {
3737
+ function Yn(e, t) {
3759
3738
  return t ? Object.keys(e).reduce(function(r, n) {
3760
- return r[n] = qn(e[n], t[n]), r;
3761
- }, A({}, e)) : e;
3739
+ return r[n] = Jn(e[n], t[n]), r;
3740
+ }, g({}, e)) : e;
3762
3741
  }
3763
- function Ie(e) {
3742
+ function Pe(e) {
3764
3743
  return {
3765
3744
  create: function() {
3766
3745
  return {
@@ -3774,39 +3753,39 @@ function Ie(e) {
3774
3753
  }
3775
3754
  };
3776
3755
  }
3777
- function ei(e) {
3756
+ function qn(e) {
3778
3757
  return e === void 0 && (e = {
3779
3758
  number: {},
3780
3759
  dateTime: {},
3781
3760
  pluralRules: {}
3782
3761
  }), {
3783
- getNumberFormat: Ae(function() {
3762
+ getNumberFormat: Be(function() {
3784
3763
  for (var t, r = [], n = 0; n < arguments.length; n++)
3785
3764
  r[n] = arguments[n];
3786
- return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
3765
+ return new ((t = Intl.NumberFormat).bind.apply(t, k([void 0], r, !1)))();
3787
3766
  }, {
3788
- cache: Ie(e.number),
3789
- strategy: Pe.variadic
3767
+ cache: Pe(e.number),
3768
+ strategy: Ae.variadic
3790
3769
  }),
3791
- getDateTimeFormat: Ae(function() {
3770
+ getDateTimeFormat: Be(function() {
3792
3771
  for (var t, r = [], n = 0; n < arguments.length; n++)
3793
3772
  r[n] = arguments[n];
3794
- return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
3773
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, k([void 0], r, !1)))();
3795
3774
  }, {
3796
- cache: Ie(e.dateTime),
3797
- strategy: Pe.variadic
3775
+ cache: Pe(e.dateTime),
3776
+ strategy: Ae.variadic
3798
3777
  }),
3799
- getPluralRules: Ae(function() {
3778
+ getPluralRules: Be(function() {
3800
3779
  for (var t, r = [], n = 0; n < arguments.length; n++)
3801
3780
  r[n] = arguments[n];
3802
- return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
3781
+ return new ((t = Intl.PluralRules).bind.apply(t, k([void 0], r, !1)))();
3803
3782
  }, {
3804
- cache: Ie(e.pluralRules),
3805
- strategy: Pe.variadic
3783
+ cache: Pe(e.pluralRules),
3784
+ strategy: Ae.variadic
3806
3785
  })
3807
3786
  };
3808
3787
  }
3809
- var ti = (
3788
+ var Kn = (
3810
3789
  /** @class */
3811
3790
  function() {
3812
3791
  function e(t, r, n, i) {
@@ -3821,7 +3800,7 @@ var ti = (
3821
3800
  if (u.length === 1)
3822
3801
  return u[0].value;
3823
3802
  var l = u.reduce(function(f, c) {
3824
- return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3803
+ return !f.length || c.type !== _.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3825
3804
  }, []);
3826
3805
  return l.length <= 1 ? l[0] || "" : l;
3827
3806
  }, this.formatToParts = function(h) {
@@ -3838,13 +3817,13 @@ var ti = (
3838
3817
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3839
3818
  var s = i || {};
3840
3819
  s.formatters;
3841
- var a = ln(s, ["formatters"]);
3842
- this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3820
+ var a = Ir(s, ["formatters"]);
3821
+ this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3843
3822
  } else
3844
3823
  this.ast = t;
3845
3824
  if (!Array.isArray(this.ast))
3846
3825
  throw new TypeError("A message must be provided as a String or AST.");
3847
- this.formats = Kn(e.formats, n), this.formatters = i && i.formatters || ei(this.formatterCache);
3826
+ this.formats = Yn(e.formats, n), this.formatters = i && i.formatters || qn(this.formatterCache);
3848
3827
  }
3849
3828
  return Object.defineProperty(e, "defaultLocale", {
3850
3829
  get: function() {
@@ -3857,7 +3836,7 @@ var ti = (
3857
3836
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3858
3837
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3859
3838
  }
3860
- }, e.__parse = zn, e.formats = {
3839
+ }, e.__parse = Xn, e.formats = {
3861
3840
  number: {
3862
3841
  integer: {
3863
3842
  maximumFractionDigits: 0
@@ -3918,7 +3897,7 @@ var ti = (
3918
3897
  }, e;
3919
3898
  }()
3920
3899
  );
3921
- function ri(e, t) {
3900
+ function ei(e, t) {
3922
3901
  if (t == null)
3923
3902
  return;
3924
3903
  if (t in e)
@@ -3939,92 +3918,92 @@ function ri(e, t) {
3939
3918
  n = void 0;
3940
3919
  return n;
3941
3920
  }
3942
- const M = {}, ni = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), er = (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) => {
3943
3922
  if (t == null)
3944
3923
  return;
3945
3924
  if (t in M && e in M[t])
3946
3925
  return M[t][e];
3947
- const r = xe(t);
3926
+ const r = Ee(t);
3948
3927
  for (let n = 0; n < r.length; n++) {
3949
- const i = r[n], o = oi(i, e);
3928
+ const i = r[n], o = ni(i, e);
3950
3929
  if (o)
3951
- return ni(e, t, o);
3930
+ return ti(e, t, o);
3952
3931
  }
3953
3932
  };
3954
- let qe;
3955
- const se = ve({});
3956
- function ii(e) {
3957
- return qe[e] || null;
3933
+ let Je;
3934
+ const se = ye({});
3935
+ function ri(e) {
3936
+ return Je[e] || null;
3958
3937
  }
3959
- function tr(e) {
3960
- return e in qe;
3938
+ function er(e) {
3939
+ return e in Je;
3961
3940
  }
3962
- function oi(e, t) {
3963
- if (!tr(e))
3941
+ function ni(e, t) {
3942
+ if (!er(e))
3964
3943
  return null;
3965
- const r = ii(e);
3966
- return ri(r, t);
3944
+ const r = ri(e);
3945
+ return ei(r, t);
3967
3946
  }
3968
- function si(e) {
3947
+ function ii(e) {
3969
3948
  if (e == null)
3970
3949
  return;
3971
- const t = xe(e);
3950
+ const t = Ee(e);
3972
3951
  for (let r = 0; r < t.length; r++) {
3973
3952
  const n = t[r];
3974
- if (tr(n))
3953
+ if (er(n))
3975
3954
  return n;
3976
3955
  }
3977
3956
  }
3978
- function rr(e, ...t) {
3957
+ function tr(e, ...t) {
3979
3958
  delete M[e], se.update((r) => (r[e] = hn.all([r[e] || {}, ...t]), r));
3980
3959
  }
3981
- Z(
3960
+ Q(
3982
3961
  [se],
3983
3962
  ([e]) => Object.keys(e)
3984
3963
  );
3985
- se.subscribe((e) => qe = e);
3964
+ se.subscribe((e) => Je = e);
3986
3965
  const pe = {};
3987
- function ai(e, t) {
3966
+ function oi(e, t) {
3988
3967
  pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3989
3968
  }
3990
- function nr(e) {
3969
+ function rr(e) {
3991
3970
  return pe[e];
3992
3971
  }
3993
- function ui(e) {
3994
- return xe(e).map((t) => {
3995
- const r = nr(t);
3972
+ function si(e) {
3973
+ return Ee(e).map((t) => {
3974
+ const r = rr(t);
3996
3975
  return [t, r ? [...r] : []];
3997
3976
  }).filter(([, t]) => t.length > 0);
3998
3977
  }
3999
- function Qe(e) {
4000
- return e == null ? !1 : xe(e).some(
3978
+ function Xe(e) {
3979
+ return e == null ? !1 : Ee(e).some(
4001
3980
  (t) => {
4002
3981
  var r;
4003
- return (r = nr(t)) == null ? void 0 : r.size;
3982
+ return (r = rr(t)) == null ? void 0 : r.size;
4004
3983
  }
4005
3984
  );
4006
3985
  }
4007
- function hi(e, t) {
3986
+ function ai(e, t) {
4008
3987
  return Promise.all(
4009
- t.map((n) => (ai(e, n), n().then((i) => i.default || i)))
4010
- ).then((n) => rr(e, ...n));
4011
- }
4012
- const q = {};
4013
- function ir(e) {
4014
- if (!Qe(e))
4015
- return e in q ? q[e] : Promise.resolve();
4016
- const t = ui(e);
4017
- return q[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(
4018
3997
  t.map(
4019
- ([r, n]) => hi(r, n)
3998
+ ([r, n]) => ai(r, n)
4020
3999
  )
4021
4000
  ).then(() => {
4022
- if (Qe(e))
4023
- return ir(e);
4024
- delete q[e];
4025
- }), q[e];
4001
+ if (Xe(e))
4002
+ return nr(e);
4003
+ delete K[e];
4004
+ }), K[e];
4026
4005
  }
4027
- const li = {
4006
+ const ui = {
4028
4007
  number: {
4029
4008
  scientific: { notation: "scientific" },
4030
4009
  engineering: { notation: "engineering" },
@@ -4053,135 +4032,135 @@ const li = {
4053
4032
  timeZoneName: "short"
4054
4033
  }
4055
4034
  }
4056
- }, ci = {
4035
+ }, hi = {
4057
4036
  fallbackLocale: null,
4058
4037
  loadingDelay: 200,
4059
- formats: li,
4038
+ formats: ui,
4060
4039
  warnOnMissingMessages: !0,
4061
4040
  handleMissingMessage: void 0,
4062
4041
  ignoreTag: !0
4063
- }, fi = ci;
4064
- function W() {
4065
- return fi;
4042
+ }, li = hi;
4043
+ function z() {
4044
+ return li;
4066
4045
  }
4067
- const Le = ve(!1);
4068
- var pi = Object.defineProperty, di = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, bi = Object.prototype.hasOwnProperty, gi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yi = (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) => {
4069
4048
  for (var r in t || (t = {}))
4070
- bi.call(t, r) && vt(e, r, t[r]);
4071
- if (yt)
4072
- for (var r of yt(t))
4073
- gi.call(t, r) && vt(e, r, t[r]);
4049
+ di.call(t, r) && gt(e, r, t[r]);
4050
+ if (bt)
4051
+ for (var r of bt(t))
4052
+ mi.call(t, r) && gt(e, r, t[r]);
4074
4053
  return e;
4075
- }, vi = (e, t) => di(e, mi(t));
4076
- let Je;
4077
- const me = ve(null);
4078
- function _t(e) {
4054
+ }, gi = (e, t) => fi(e, pi(t));
4055
+ let We;
4056
+ const de = ye(null);
4057
+ function yt(e) {
4079
4058
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4080
4059
  }
4081
- function xe(e, t = W().fallbackLocale) {
4082
- const r = _t(e);
4083
- return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
4060
+ function Ee(e, t = z().fallbackLocale) {
4061
+ const r = yt(e);
4062
+ return t ? [.../* @__PURE__ */ new Set([...r, ...yt(t)])] : r;
4084
4063
  }
4085
4064
  function R() {
4086
- return Je ?? void 0;
4065
+ return We ?? void 0;
4087
4066
  }
4088
- me.subscribe((e) => {
4089
- Je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4067
+ de.subscribe((e) => {
4068
+ We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4090
4069
  });
4091
- const _i = (e) => {
4092
- if (e && si(e) && Qe(e)) {
4093
- const { loadingDelay: t } = W();
4070
+ const yi = (e) => {
4071
+ if (e && ii(e) && Xe(e)) {
4072
+ const { loadingDelay: t } = z();
4094
4073
  let r;
4095
4074
  return typeof window < "u" && R() != null && t ? r = window.setTimeout(
4096
- () => Le.set(!0),
4075
+ () => Oe.set(!0),
4097
4076
  t
4098
- ) : Le.set(!0), ir(e).then(() => {
4099
- me.set(e);
4077
+ ) : Oe.set(!0), nr(e).then(() => {
4078
+ de.set(e);
4100
4079
  }).finally(() => {
4101
- clearTimeout(r), Le.set(!1);
4080
+ clearTimeout(r), Oe.set(!1);
4102
4081
  });
4103
4082
  }
4104
- return me.set(e);
4105
- }, Q = vi(yi({}, me), {
4106
- set: _i
4107
- }), Se = (e) => {
4083
+ return de.set(e);
4084
+ }, J = gi(bi({}, de), {
4085
+ set: yi
4086
+ }), _e = (e) => {
4108
4087
  const t = /* @__PURE__ */ Object.create(null);
4109
4088
  return (n) => {
4110
4089
  const i = JSON.stringify(n);
4111
4090
  return i in t ? t[i] : t[i] = e(n);
4112
4091
  };
4113
4092
  };
4114
- var Ei = Object.defineProperty, be = Object.getOwnPropertySymbols, or = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (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) => {
4115
4094
  for (var r in t || (t = {}))
4116
- or.call(t, r) && Et(e, r, t[r]);
4117
- if (be)
4118
- for (var r of be(t))
4119
- sr.call(t, r) && Et(e, r, t[r]);
4095
+ ir.call(t, r) && vt(e, r, t[r]);
4096
+ if (me)
4097
+ for (var r of me(t))
4098
+ or.call(t, r) && vt(e, r, t[r]);
4120
4099
  return e;
4121
- }, J = (e, t) => {
4100
+ }, Y = (e, t) => {
4122
4101
  var r = {};
4123
4102
  for (var n in e)
4124
- or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4125
- if (e != null && be)
4126
- for (var n of be(e))
4127
- t.indexOf(n) < 0 && sr.call(e, n) && (r[n] = e[n]);
4103
+ ir.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4104
+ if (e != null && me)
4105
+ for (var n of me(e))
4106
+ t.indexOf(n) < 0 && or.call(e, n) && (r[n] = e[n]);
4128
4107
  return r;
4129
4108
  };
4130
- const re = (e, t) => {
4131
- const { formats: r } = W();
4109
+ const ne = (e, t) => {
4110
+ const { formats: r } = z();
4132
4111
  if (e in r && t in r[e])
4133
4112
  return r[e][t];
4134
4113
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4135
- }, xi = Se(
4114
+ }, Ei = _e(
4136
4115
  (e) => {
4137
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4116
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4138
4117
  if (r == null)
4139
4118
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4140
- return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
4119
+ return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4141
4120
  }
4142
- ), Si = Se(
4121
+ ), _i = _e(
4143
4122
  (e) => {
4144
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4123
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4145
4124
  if (r == null)
4146
4125
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4147
- return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
4126
+ return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4148
4127
  }
4149
- ), Ti = Se(
4128
+ ), xi = _e(
4150
4129
  (e) => {
4151
- var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
4130
+ var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4152
4131
  if (r == null)
4153
4132
  throw new Error(
4154
4133
  '[svelte-i18n] A "locale" must be set to format time values'
4155
4134
  );
4156
- return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
4135
+ return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4157
4136
  }
4158
- ), Hi = (e = {}) => {
4137
+ ), Si = (e = {}) => {
4159
4138
  var t = e, {
4160
4139
  locale: r = R()
4161
- } = t, n = J(t, [
4140
+ } = t, n = Y(t, [
4162
4141
  "locale"
4163
4142
  ]);
4164
- return xi(Ke({ locale: r }, n));
4165
- }, Bi = (e = {}) => {
4143
+ return Ei(Ye({ locale: r }, n));
4144
+ }, Ti = (e = {}) => {
4166
4145
  var t = e, {
4167
4146
  locale: r = R()
4168
- } = t, n = J(t, [
4147
+ } = t, n = Y(t, [
4169
4148
  "locale"
4170
4149
  ]);
4171
- return Si(Ke({ locale: r }, n));
4172
- }, wi = (e = {}) => {
4150
+ return _i(Ye({ locale: r }, n));
4151
+ }, Hi = (e = {}) => {
4173
4152
  var t = e, {
4174
4153
  locale: r = R()
4175
- } = t, n = J(t, [
4154
+ } = t, n = Y(t, [
4176
4155
  "locale"
4177
4156
  ]);
4178
- return Ti(Ke({ locale: r }, n));
4179
- }, Ai = Se(
4157
+ return xi(Ye({ locale: r }, n));
4158
+ }, Bi = _e(
4180
4159
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4181
- (e, t = R()) => new ti(e, t, W().formats, {
4182
- ignoreTag: W().ignoreTag
4160
+ (e, t = R()) => new Kn(e, t, z().formats, {
4161
+ ignoreTag: z().ignoreTag
4183
4162
  })
4184
- ), Pi = (e, t = {}) => {
4163
+ ), Ai = (e, t = {}) => {
4185
4164
  var r, n, i, o;
4186
4165
  let s = t;
4187
4166
  typeof e == "object" && (s = e, e = s.id);
@@ -4194,9 +4173,9 @@ const re = (e, t) => {
4194
4173
  throw new Error(
4195
4174
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4196
4175
  );
4197
- let l = er(e, h);
4176
+ let l = Kt(e, h);
4198
4177
  if (!l)
4199
- l = (o = (i = (n = (r = W()).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;
4200
4179
  else if (typeof l != "string")
4201
4180
  return console.warn(
4202
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.`
@@ -4205,7 +4184,7 @@ const re = (e, t) => {
4205
4184
  return l;
4206
4185
  let f = l;
4207
4186
  try {
4208
- f = Ai(l, h).format(a);
4187
+ f = Bi(l, h).format(a);
4209
4188
  } catch (c) {
4210
4189
  c instanceof Error && console.warn(
4211
4190
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4213,15 +4192,15 @@ const re = (e, t) => {
4213
4192
  );
4214
4193
  }
4215
4194
  return f;
4216
- }, Oi = (e, t) => wi(t).format(e), Ii = (e, t) => Bi(t).format(e), Li = (e, t) => Hi(t).format(e), Ni = (e, t = R()) => er(e, t), Mi = Z([Q, se], () => Pi);
4217
- Z([Q], () => Oi);
4218
- Z([Q], () => Ii);
4219
- Z([Q], () => Li);
4220
- Z([Q, se], () => Ni);
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);
4221
4200
  window.emWidgets = { topic: Xr };
4222
- const Ci = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4201
+ const Ni = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4223
4202
  String(Number.MAX_SAFE_INTEGER).length;
4224
- const $i = (e, t = {}) => {
4203
+ const Mi = (e, t = {}) => {
4225
4204
  const r = new CustomEvent("track-custom-event", {
4226
4205
  detail: {
4227
4206
  type: e,
@@ -4232,13 +4211,13 @@ const $i = (e, t = {}) => {
4232
4211
  });
4233
4212
  document.dispatchEvent(r);
4234
4213
  };
4235
- function xt(e, t) {
4236
- rr(e, t);
4214
+ function Et(e, t) {
4215
+ tr(e, t);
4237
4216
  }
4238
- function Ri(e) {
4239
- Q.set(e);
4217
+ function Ci(e) {
4218
+ J.set(e);
4240
4219
  }
4241
- const St = {
4220
+ const _t = {
4242
4221
  en: {
4243
4222
  logoutButton: "Logout"
4244
4223
  },
@@ -4273,13 +4252,13 @@ const St = {
4273
4252
  logoutButton: "Logout"
4274
4253
  }
4275
4254
  };
4276
- function Tt(e, t) {
4255
+ function xt(e, t) {
4277
4256
  if (e) {
4278
4257
  const r = document.createElement("style");
4279
4258
  r.innerHTML = t, e.appendChild(r);
4280
4259
  }
4281
4260
  }
4282
- function Ui(e, t) {
4261
+ function $i(e, t) {
4283
4262
  if (!e || !t)
4284
4263
  return;
4285
4264
  const r = new URL(t);
@@ -4290,7 +4269,7 @@ function Ui(e, t) {
4290
4269
  console.error("There was an error while trying to load client styling from URL", n);
4291
4270
  });
4292
4271
  }
4293
- function Gi(e, t, r) {
4272
+ function Ri(e, t, r) {
4294
4273
  if (window.emMessageBus) {
4295
4274
  const n = document.createElement("style");
4296
4275
  window.emMessageBus.subscribe(t, (i) => {
@@ -4298,20 +4277,20 @@ function Gi(e, t, r) {
4298
4277
  });
4299
4278
  }
4300
4279
  }
4301
- function Di(e) {
4302
- lr(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))}");
4280
+ function Ui(e) {
4281
+ 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))}");
4303
4282
  }
4304
- function Fi(e) {
4283
+ function Di(e) {
4305
4284
  let t, r, n, i = (
4306
4285
  /*$_*/
4307
4286
  e[2]("logoutButton") + ""
4308
4287
  ), o, s, a;
4309
4288
  return {
4310
4289
  c() {
4311
- t = O("div"), r = O("button"), n = O("span"), o = ge(i), T(t, "class", "GeneralLogout");
4290
+ t = P("div"), r = P("button"), n = P("span"), o = be(i), T(t, "class", "GeneralLogout");
4312
4291
  },
4313
4292
  m(h, u) {
4314
- ie(h, t, u), S(t, r), S(r, n), S(n, o), s || (a = At(
4293
+ oe(h, t, u), S(t, r), S(r, n), S(n, o), s || (a = Bt(
4315
4294
  r,
4316
4295
  "click",
4317
4296
  /*click_handler_1*/
@@ -4321,19 +4300,19 @@ function Fi(e) {
4321
4300
  p(h, u) {
4322
4301
  u & /*$_*/
4323
4302
  4 && i !== (i = /*$_*/
4324
- h[2]("logoutButton") + "") && Pt(o, i);
4303
+ h[2]("logoutButton") + "") && At(o, i);
4325
4304
  },
4326
4305
  d(h) {
4327
- h && z(t), s = !1, a();
4306
+ h && Z(t), s = !1, a();
4328
4307
  }
4329
4308
  };
4330
4309
  }
4331
- function ji(e) {
4310
+ function Gi(e) {
4332
4311
  let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
4333
- e[3] && ki(e);
4312
+ e[3] && Fi(e);
4334
4313
  return {
4335
4314
  c() {
4336
- t = O("p"), r = O("span"), n = Y("svg"), i = Y("defs"), o = Y("style"), s = ge(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = Y("path"), h = Y("path"), u = pr(), 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"), mr(r, "width", /*isMobile*/
4315
+ 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*/
4337
4316
  e[3] ? (
4338
4317
  /*mediaQuery*/
4339
4318
  e[4].matches ? "20px" : "24px"
@@ -4343,7 +4322,7 @@ function ji(e) {
4343
4322
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4344
4323
  },
4345
4324
  m(p, d) {
4346
- ie(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 = At(
4325
+ 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(
4347
4326
  t,
4348
4327
  "click",
4349
4328
  /*click_handler*/
@@ -4355,47 +4334,47 @@ function ji(e) {
4355
4334
  p[3] || c.p(p, d);
4356
4335
  },
4357
4336
  d(p) {
4358
- p && z(t), c && c.d(), l = !1, f();
4337
+ p && Z(t), c && c.d(), l = !1, f();
4359
4338
  }
4360
4339
  };
4361
4340
  }
4362
- function ki(e) {
4341
+ function Fi(e) {
4363
4342
  let t, r = (
4364
4343
  /*$_*/
4365
4344
  e[2]("logoutButton") + ""
4366
4345
  ), n;
4367
4346
  return {
4368
4347
  c() {
4369
- t = O("span"), n = ge(r), T(t, "class", "PlayerLogoutText");
4348
+ t = P("span"), n = be(r), T(t, "class", "PlayerLogoutText");
4370
4349
  },
4371
4350
  m(i, o) {
4372
- ie(i, t, o), S(t, n);
4351
+ oe(i, t, o), S(t, n);
4373
4352
  },
4374
4353
  p(i, o) {
4375
4354
  o & /*$_*/
4376
4355
  4 && r !== (r = /*$_*/
4377
- i[2]("logoutButton") + "") && Pt(n, r);
4356
+ i[2]("logoutButton") + "") && At(n, r);
4378
4357
  },
4379
4358
  d(i) {
4380
- i && z(t);
4359
+ i && Z(t);
4381
4360
  }
4382
4361
  };
4383
4362
  }
4384
- function Vi(e) {
4363
+ function ji(e) {
4385
4364
  let t;
4386
4365
  function r(o, s) {
4387
4366
  return (
4388
4367
  /*buttonlocation*/
4389
- o[0] === "PlayerAccountMenu" ? ji : Fi
4368
+ o[0] === "PlayerAccountMenu" ? Gi : Di
4390
4369
  );
4391
4370
  }
4392
4371
  let n = r(e), i = n(e);
4393
4372
  return {
4394
4373
  c() {
4395
- t = O("div"), i.c();
4374
+ t = P("div"), i.c();
4396
4375
  },
4397
4376
  m(o, s) {
4398
- ie(o, t, s), i.m(t, null), e[15](t);
4377
+ oe(o, t, s), i.m(t, null), e[15](t);
4399
4378
  },
4400
4379
  p(o, [s]) {
4401
4380
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
@@ -4403,54 +4382,54 @@ function Vi(e) {
4403
4382
  i: B,
4404
4383
  o: B,
4405
4384
  d(o) {
4406
- o && z(t), i.d(), e[15](null);
4385
+ o && Z(t), i.d(), e[15](null);
4407
4386
  }
4408
4387
  };
4409
4388
  }
4410
- function Xi(e, t, r) {
4389
+ function ki(e, t, r) {
4411
4390
  let n;
4412
- hr(e, Mi, (g) => r(2, n = g));
4413
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, d, y = window.navigator.userAgent, H = Ci(y) !== "PC";
4391
+ ur(e, Li, (y) => r(2, n = y));
4392
+ 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";
4414
4393
  const C = window.matchMedia("(min-width: 768px)"), L = () => {
4415
4394
  fetch(f).then((N) => N.json()).then((N) => {
4416
- Object.keys(N).forEach((Te) => {
4417
- xt(Te, N[Te]);
4395
+ Object.keys(N).forEach((xe) => {
4396
+ Et(xe, N[xe]);
4418
4397
  });
4419
4398
  }).catch((N) => {
4420
4399
  console.log(N);
4421
4400
  });
4422
4401
  };
4423
- Object.keys(St).forEach((g) => {
4424
- xt(g, St[g]);
4402
+ Object.keys(_t).forEach((y) => {
4403
+ Et(y, _t[y]);
4425
4404
  });
4426
4405
  const x = () => {
4427
- let g = new Headers();
4428
- g.append("Content-type", "application/json"), g.append("X-SessionID", o);
4429
- let N = { method: "DELETE", headers: g };
4430
- fetch(`${i}/v1/player/session/player`, N).then((Te) => {
4431
- window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), $i("logged_out", {});
4406
+ let y = new Headers();
4407
+ y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4408
+ let N = { method: "DELETE", headers: y };
4409
+ fetch(`${i}/v1/player/session/player`, N).then((xe) => {
4410
+ window.postMessage({ type: "LogoutSuccessfull" }, window.location.href), Mi("logged_out", {});
4432
4411
  });
4433
- }, $ = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(c)), p), P = () => {
4434
- Ri(a);
4412
+ }, $ = () => (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 = () => {
4413
+ Ci(a);
4435
4414
  };
4436
- yr(() => () => {
4415
+ gr(() => () => {
4437
4416
  });
4438
4417
  const U = () => x(), ae = () => x();
4439
- function ar(g) {
4440
- Ne[g ? "unshift" : "push"](() => {
4441
- d = g, r(1, d);
4418
+ function sr(y) {
4419
+ Ie[y ? "unshift" : "push"](() => {
4420
+ d = y, r(1, d);
4442
4421
  });
4443
4422
  }
4444
- return e.$$set = (g) => {
4445
- "endpoint" in g && r(6, i = g.endpoint), "session" in g && r(7, o = g.session), "buttonlocation" in g && r(0, s = g.buttonlocation), "lang" in g && r(8, a = g.lang), "mbsource" in g && r(9, h = g.mbsource), "clientstyling" in g && r(10, u = g.clientstyling), "clientstylingurl" in g && r(11, l = g.clientstylingurl), "translationurl" in g && r(12, f = g.translationurl);
4423
+ return e.$$set = (y) => {
4424
+ "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);
4446
4425
  }, e.$$.update = () => {
4447
4426
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4448
4427
  193 && i && o && s && $(), e.$$.dirty & /*lang*/
4449
- 256 && a && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4450
- 1026 && u && d && Tt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4451
- 1026 && u && d && Tt(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4452
- 2050 && l && d && Ui(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4453
- 514 && h && d && Gi(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4428
+ 256 && a && w(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4429
+ 1026 && u && d && xt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4430
+ 1026 && u && d && xt(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4431
+ 2050 && l && d && $i(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4432
+ 514 && h && d && Ri(d, `${h}.Style`), e.$$.dirty & /*translationurl*/
4454
4433
  4096 && f && L();
4455
4434
  }, [
4456
4435
  s,
@@ -4468,17 +4447,17 @@ function Xi(e, t, r) {
4468
4447
  f,
4469
4448
  U,
4470
4449
  ae,
4471
- ar
4450
+ sr
4472
4451
  ];
4473
4452
  }
4474
- class Wi extends Or {
4453
+ class Vi extends Pr {
4475
4454
  constructor(t) {
4476
4455
  super(), Ar(
4477
4456
  this,
4478
4457
  t,
4479
- Xi,
4480
- Vi,
4481
- Bt,
4458
+ ki,
4459
+ ji,
4460
+ Tt,
4482
4461
  {
4483
4462
  endpoint: 6,
4484
4463
  session: 7,
@@ -4489,59 +4468,59 @@ class Wi extends Or {
4489
4468
  clientstylingurl: 11,
4490
4469
  translationurl: 12
4491
4470
  },
4492
- Di
4471
+ Ui
4493
4472
  );
4494
4473
  }
4495
4474
  get endpoint() {
4496
4475
  return this.$$.ctx[6];
4497
4476
  }
4498
4477
  set endpoint(t) {
4499
- this.$$set({ endpoint: t }), w();
4478
+ this.$$set({ endpoint: t }), A();
4500
4479
  }
4501
4480
  get session() {
4502
4481
  return this.$$.ctx[7];
4503
4482
  }
4504
4483
  set session(t) {
4505
- this.$$set({ session: t }), w();
4484
+ this.$$set({ session: t }), A();
4506
4485
  }
4507
4486
  get buttonlocation() {
4508
4487
  return this.$$.ctx[0];
4509
4488
  }
4510
4489
  set buttonlocation(t) {
4511
- this.$$set({ buttonlocation: t }), w();
4490
+ this.$$set({ buttonlocation: t }), A();
4512
4491
  }
4513
4492
  get lang() {
4514
4493
  return this.$$.ctx[8];
4515
4494
  }
4516
4495
  set lang(t) {
4517
- this.$$set({ lang: t }), w();
4496
+ this.$$set({ lang: t }), A();
4518
4497
  }
4519
4498
  get mbsource() {
4520
4499
  return this.$$.ctx[9];
4521
4500
  }
4522
4501
  set mbsource(t) {
4523
- this.$$set({ mbsource: t }), w();
4502
+ this.$$set({ mbsource: t }), A();
4524
4503
  }
4525
4504
  get clientstyling() {
4526
4505
  return this.$$.ctx[10];
4527
4506
  }
4528
4507
  set clientstyling(t) {
4529
- this.$$set({ clientstyling: t }), w();
4508
+ this.$$set({ clientstyling: t }), A();
4530
4509
  }
4531
4510
  get clientstylingurl() {
4532
4511
  return this.$$.ctx[11];
4533
4512
  }
4534
4513
  set clientstylingurl(t) {
4535
- this.$$set({ clientstylingurl: t }), w();
4514
+ this.$$set({ clientstylingurl: t }), A();
4536
4515
  }
4537
4516
  get translationurl() {
4538
4517
  return this.$$.ctx[12];
4539
4518
  }
4540
4519
  set translationurl(t) {
4541
- this.$$set({ translationurl: t }), w();
4520
+ this.$$set({ translationurl: t }), A();
4542
4521
  }
4543
4522
  }
4544
- Pr(Wi, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4523
+ wr(Vi, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4545
4524
  export {
4546
- Wi as G
4525
+ Vi as G
4547
4526
  };