@everymatrix/casino-tournaments-details 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 S() {
2
2
  }
3
- function _t(e) {
3
+ function vt(e) {
4
4
  return e();
5
5
  }
6
- function Je() {
6
+ function Ze() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function K(e) {
10
- e.forEach(_t);
11
- }
12
9
  function ee(e) {
10
+ e.forEach(vt);
11
+ }
12
+ function te(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function xt(e, t) {
15
+ function yt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function er(e) {
18
+ function Kt(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function tr(e, ...t) {
21
+ function er(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function tr(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function rr(e) {
31
- return e && ee(e.destroy) ? e.destroy : S;
30
+ function tr(e) {
31
+ return e && te(e.destroy) ? e.destroy : S;
32
32
  }
33
33
  function B(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function nr(e, t, r) {
37
- const n = ir(e);
36
+ function rr(e, t, r) {
37
+ const n = nr(e);
38
38
  if (!n.getElementById(t)) {
39
39
  const i = I("style");
40
- i.id = t, i.textContent = r, or(n, i);
40
+ i.id = t, i.textContent = r, ir(n, i);
41
41
  }
42
42
  }
43
- function ir(e) {
43
+ function nr(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,17 +50,17 @@ function ir(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function or(e, t) {
53
+ function ir(e, t) {
54
54
  return B(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function k(e, t, r) {
60
+ function V(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function N(e) {
63
+ function C(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
66
  function I(e) {
@@ -69,26 +69,26 @@ function I(e) {
69
69
  function fe(e) {
70
70
  return document.createElementNS("http://www.w3.org/2000/svg", e);
71
71
  }
72
- function Et(e) {
72
+ function xt(e) {
73
73
  return document.createTextNode(e);
74
74
  }
75
- function St() {
76
- return Et(" ");
75
+ function _t() {
76
+ return xt(" ");
77
77
  }
78
- function sr(e, t, r, n) {
78
+ function or(e, t, r, n) {
79
79
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
80
80
  }
81
81
  function v(e, t, r) {
82
82
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
83
83
  }
84
- function ar(e) {
84
+ function sr(e) {
85
85
  return Array.from(e.childNodes);
86
86
  }
87
- function ur(e, t) {
87
+ function ar(e, t) {
88
88
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
89
89
  t);
90
90
  }
91
- function hr(e) {
91
+ function ur(e) {
92
92
  const t = {};
93
93
  return e.childNodes.forEach(
94
94
  /** @param {Element} node */
@@ -97,87 +97,87 @@ function hr(e) {
97
97
  }
98
98
  ), t;
99
99
  }
100
- let J;
101
- function Q(e) {
102
- J = e;
100
+ let Y;
101
+ function J(e) {
102
+ Y = e;
103
103
  }
104
- function lr() {
105
- if (!J)
104
+ function hr() {
105
+ if (!Y)
106
106
  throw new Error("Function called outside component initialization");
107
- return J;
107
+ return Y;
108
108
  }
109
- function fr(e) {
110
- lr().$$.on_mount.push(e);
109
+ function lr(e) {
110
+ hr().$$.on_mount.push(e);
111
111
  }
112
- const R = [], Pe = [];
112
+ const R = [], Be = [];
113
113
  let D = [];
114
- const Ye = [], cr = /* @__PURE__ */ Promise.resolve();
115
- let Oe = !1;
116
- function pr() {
117
- Oe || (Oe = !0, cr.then(O));
114
+ const Qe = [], fr = /* @__PURE__ */ Promise.resolve();
115
+ let Ae = !1;
116
+ function cr() {
117
+ Ae || (Ae = !0, fr.then(O));
118
118
  }
119
- function Ie(e) {
119
+ function Pe(e) {
120
120
  D.push(e);
121
121
  }
122
- const xe = /* @__PURE__ */ new Set();
122
+ const ye = /* @__PURE__ */ new Set();
123
123
  let M = 0;
124
124
  function O() {
125
125
  if (M !== 0)
126
126
  return;
127
- const e = J;
127
+ const e = Y;
128
128
  do {
129
129
  try {
130
130
  for (; M < R.length; ) {
131
131
  const t = R[M];
132
- M++, Q(t), dr(t.$$);
132
+ M++, J(t), pr(t.$$);
133
133
  }
134
134
  } catch (t) {
135
135
  throw R.length = 0, M = 0, t;
136
136
  }
137
- for (Q(null), R.length = 0, M = 0; Pe.length; )
138
- Pe.pop()();
137
+ for (J(null), R.length = 0, M = 0; Be.length; )
138
+ Be.pop()();
139
139
  for (let t = 0; t < D.length; t += 1) {
140
140
  const r = D[t];
141
- xe.has(r) || (xe.add(r), r());
141
+ ye.has(r) || (ye.add(r), r());
142
142
  }
143
143
  D.length = 0;
144
144
  } while (R.length);
145
- for (; Ye.length; )
146
- Ye.pop()();
147
- Oe = !1, xe.clear(), Q(e);
145
+ for (; Qe.length; )
146
+ Qe.pop()();
147
+ Ae = !1, ye.clear(), J(e);
148
148
  }
149
- function dr(e) {
149
+ function pr(e) {
150
150
  if (e.fragment !== null) {
151
- e.update(), K(e.before_update);
151
+ e.update(), ee(e.before_update);
152
152
  const t = e.dirty;
153
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
153
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
154
154
  }
155
155
  }
156
- function mr(e) {
156
+ function dr(e) {
157
157
  const t = [], r = [];
158
158
  D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
159
159
  }
160
- const br = /* @__PURE__ */ new Set();
161
- function vr(e, t) {
162
- e && e.i && (br.delete(e), e.i(t));
160
+ const mr = /* @__PURE__ */ new Set();
161
+ function br(e, t) {
162
+ e && e.i && (mr.delete(e), e.i(t));
163
163
  }
164
164
  function gr(e, t, r) {
165
165
  const { fragment: n, after_update: i } = e.$$;
166
- n && n.m(t, r), Ie(() => {
167
- const o = e.$$.on_mount.map(_t).filter(ee);
168
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
169
- }), i.forEach(Ie);
166
+ n && n.m(t, r), Pe(() => {
167
+ const o = e.$$.on_mount.map(vt).filter(te);
168
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
169
+ }), i.forEach(Pe);
170
170
  }
171
- function yr(e, t) {
171
+ function vr(e, t) {
172
172
  const r = e.$$;
173
- r.fragment !== null && (mr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
173
+ r.fragment !== null && (dr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
174
174
  }
175
- function _r(e, t) {
176
- e.$$.dirty[0] === -1 && (R.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
175
+ function yr(e, t) {
176
+ e.$$.dirty[0] === -1 && (R.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
177
177
  }
178
178
  function xr(e, t, r, n, i, o, s = null, a = [-1]) {
179
- const h = J;
180
- Q(e);
179
+ const h = Y;
180
+ J(e);
181
181
  const u = e.$$ = {
182
182
  fragment: null,
183
183
  ctx: [],
@@ -185,7 +185,7 @@ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
185
185
  props: o,
186
186
  update: S,
187
187
  not_equal: i,
188
- bound: Je(),
188
+ bound: Ze(),
189
189
  // lifecycle
190
190
  on_mount: [],
191
191
  on_destroy: [],
@@ -194,28 +194,28 @@ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
194
194
  after_update: [],
195
195
  context: new Map(t.context || (h ? h.$$.context : [])),
196
196
  // everything else
197
- callbacks: Je(),
197
+ callbacks: Ze(),
198
198
  dirty: a,
199
199
  skip_bound: !1,
200
200
  root: t.target || h.$$.root
201
201
  };
202
202
  s && s(u.root);
203
203
  let l = !1;
204
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...b) => {
205
- const p = b.length ? b[0] : c;
206
- return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && _r(e, f)), c;
207
- }) : [], u.update(), l = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
204
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...g) => {
205
+ const p = g.length ? g[0] : c;
206
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && yr(e, f)), c;
207
+ }) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
208
208
  if (t.hydrate) {
209
- const f = ar(t.target);
210
- u.fragment && u.fragment.l(f), f.forEach(N);
209
+ const f = sr(t.target);
210
+ u.fragment && u.fragment.l(f), f.forEach(C);
211
211
  } else
212
212
  u.fragment && u.fragment.c();
213
- t.intro && vr(e.$$.fragment), gr(e, t.target, t.anchor), O();
213
+ t.intro && br(e.$$.fragment), gr(e, t.target, t.anchor), O();
214
214
  }
215
- Q(h);
215
+ J(h);
216
216
  }
217
- let Tt;
218
- typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
217
+ let Et;
218
+ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
219
219
  /** The Svelte component constructor */
220
220
  $$ctor;
221
221
  /** Slots */
@@ -264,17 +264,17 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
264
264
  * @param {HTMLElement} [anchor]
265
265
  */
266
266
  m: function(h, u) {
267
- k(h, o, u);
267
+ V(h, o, u);
268
268
  },
269
269
  d: function(h) {
270
- h && N(o);
270
+ h && C(o);
271
271
  }
272
272
  };
273
273
  };
274
274
  };
275
275
  if (await Promise.resolve(), !this.$$cn || this.$$c)
276
276
  return;
277
- const t = {}, r = hr(this);
277
+ const t = {}, r = ur(this);
278
278
  for (const i of this.$$s)
279
279
  i in r && (t[i] = [e(i)]);
280
280
  for (const i of this.attributes) {
@@ -361,8 +361,8 @@ function ae(e, t, r, n) {
361
361
  return t;
362
362
  }
363
363
  }
364
- function Er(e, t, r, n, i, o) {
365
- let s = class extends Tt {
364
+ function _r(e, t, r, n, i, o) {
365
+ let s = class extends Et {
366
366
  constructor() {
367
367
  super(e, r, i), this.$$p_d = t;
368
368
  }
@@ -390,7 +390,7 @@ function Er(e, t, r, n, i, o) {
390
390
  }), e.element = /** @type {any} */
391
391
  s, s;
392
392
  }
393
- class Sr {
393
+ class Er {
394
394
  /**
395
395
  * ### PRIVATE API
396
396
  *
@@ -409,7 +409,7 @@ class Sr {
409
409
  $$set = void 0;
410
410
  /** @returns {void} */
411
411
  $destroy() {
412
- yr(this, 1), this.$destroy = S;
412
+ vr(this, 1), this.$destroy = S;
413
413
  }
414
414
  /**
415
415
  * @template {Extract<keyof Events, string>} K
@@ -418,7 +418,7 @@ class Sr {
418
418
  * @returns {() => void}
419
419
  */
420
420
  $on(t, r) {
421
- if (!ee(r))
421
+ if (!te(r))
422
422
  return S;
423
423
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
424
424
  return n.push(r), () => {
@@ -431,12 +431,12 @@ class Sr {
431
431
  * @returns {void}
432
432
  */
433
433
  $set(t) {
434
- this.$$set && !er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
434
+ this.$$set && !Kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
435
435
  }
436
436
  }
437
- const Tr = "4";
438
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tr);
439
- function wr(e, t) {
437
+ const Sr = "4";
438
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sr);
439
+ function Tr(e, t) {
440
440
  if (e) {
441
441
  const r = document.createElement("style");
442
442
  r.innerHTML = t, e.appendChild(r);
@@ -453,7 +453,7 @@ function Hr(e, t) {
453
453
  console.error("There was an error while trying to load client styling from URL", n);
454
454
  });
455
455
  }
456
- function Br(e, t, r) {
456
+ function wr(e, t, r) {
457
457
  if (window.emMessageBus) {
458
458
  const n = document.createElement("style");
459
459
  window.emMessageBus.subscribe(t, (i) => {
@@ -475,24 +475,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
475
475
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
476
476
  PERFORMANCE OF THIS SOFTWARE.
477
477
  ***************************************************************************** */
478
- var Ne = function(e, t) {
479
- return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
478
+ var Oe = function(e, t) {
479
+ return Oe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
480
480
  r.__proto__ = n;
481
481
  } || function(r, n) {
482
482
  for (var i in n)
483
483
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
484
- }, Ne(e, t);
484
+ }, Oe(e, t);
485
485
  };
486
- function te(e, t) {
486
+ function w(e, t) {
487
487
  if (typeof t != "function" && t !== null)
488
488
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
489
- Ne(e, t);
489
+ Oe(e, t);
490
490
  function r() {
491
491
  this.constructor = e;
492
492
  }
493
493
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
494
494
  }
495
- function Ce(e) {
495
+ var b = function() {
496
+ return b = Object.assign || function(t) {
497
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
498
+ r = arguments[n];
499
+ for (var o in r)
500
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
501
+ }
502
+ return t;
503
+ }, b.apply(this, arguments);
504
+ };
505
+ function Br(e, t) {
506
+ var r = {};
507
+ for (var n in e)
508
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
509
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
510
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
511
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
512
+ return r;
513
+ }
514
+ function Ie(e) {
496
515
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
497
516
  if (r)
498
517
  return r.call(e);
@@ -504,7 +523,7 @@ function Ce(e) {
504
523
  };
505
524
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
506
525
  }
507
- function Le(e, t) {
526
+ function Ce(e, t) {
508
527
  var r = typeof Symbol == "function" && e[Symbol.iterator];
509
528
  if (!r)
510
529
  return e;
@@ -524,8 +543,8 @@ function Le(e, t) {
524
543
  }
525
544
  return o;
526
545
  }
527
- function Me(e, t, r) {
528
- if (arguments.length === 2)
546
+ function U(e, t, r) {
547
+ if (r || arguments.length === 2)
529
548
  for (var n = 0, i = t.length, o; n < i; n++)
530
549
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
531
550
  return e.concat(o || t);
@@ -533,13 +552,13 @@ function Me(e, t, r) {
533
552
  function H(e) {
534
553
  return typeof e == "function";
535
554
  }
536
- function wt(e) {
555
+ function St(e) {
537
556
  var t = function(n) {
538
557
  Error.call(n), n.stack = new Error().stack;
539
558
  }, r = e(t);
540
559
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
541
560
  }
542
- var Ee = wt(function(e) {
561
+ var xe = St(function(e) {
543
562
  return function(r) {
544
563
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
545
564
  ` + r.map(function(n, i) {
@@ -548,13 +567,13 @@ var Ee = wt(function(e) {
548
567
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
549
568
  };
550
569
  });
551
- function $e(e, t) {
570
+ function Ne(e, t) {
552
571
  if (e) {
553
572
  var r = e.indexOf(t);
554
573
  0 <= r && e.splice(r, 1);
555
574
  }
556
575
  }
557
- var me = function() {
576
+ var de = function() {
558
577
  function e(t) {
559
578
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
560
579
  }
@@ -566,12 +585,12 @@ var me = function() {
566
585
  if (s)
567
586
  if (this._parentage = null, Array.isArray(s))
568
587
  try {
569
- for (var a = Ce(s), h = a.next(); !h.done; h = a.next()) {
588
+ for (var a = Ie(s), h = a.next(); !h.done; h = a.next()) {
570
589
  var u = h.value;
571
590
  u.remove(this);
572
591
  }
573
- } catch (g) {
574
- t = { error: g };
592
+ } catch (y) {
593
+ t = { error: y };
575
594
  } finally {
576
595
  try {
577
596
  h && !h.done && (r = a.return) && r.call(a);
@@ -586,26 +605,26 @@ var me = function() {
586
605
  if (H(l))
587
606
  try {
588
607
  l();
589
- } catch (g) {
590
- o = g instanceof Ee ? g.errors : [g];
608
+ } catch (y) {
609
+ o = y instanceof xe ? y.errors : [y];
591
610
  }
592
611
  var f = this._finalizers;
593
612
  if (f) {
594
613
  this._finalizers = null;
595
614
  try {
596
- for (var c = Ce(f), b = c.next(); !b.done; b = c.next()) {
597
- var p = b.value;
615
+ for (var c = Ie(f), g = c.next(); !g.done; g = c.next()) {
616
+ var p = g.value;
598
617
  try {
599
- qe(p);
600
- } catch (g) {
601
- o = o ?? [], g instanceof Ee ? o = Me(Me([], Le(o)), Le(g.errors)) : o.push(g);
618
+ Je(p);
619
+ } catch (y) {
620
+ o = o ?? [], y instanceof xe ? o = U(U([], Ce(o)), Ce(y.errors)) : o.push(y);
602
621
  }
603
622
  }
604
- } catch (g) {
605
- n = { error: g };
623
+ } catch (y) {
624
+ n = { error: y };
606
625
  } finally {
607
626
  try {
608
- b && !b.done && (i = c.return) && i.call(c);
627
+ g && !g.done && (i = c.return) && i.call(c);
609
628
  } finally {
610
629
  if (n)
611
630
  throw n.error;
@@ -613,13 +632,13 @@ var me = function() {
613
632
  }
614
633
  }
615
634
  if (o)
616
- throw new Ee(o);
635
+ throw new xe(o);
617
636
  }
618
637
  }, e.prototype.add = function(t) {
619
638
  var r;
620
639
  if (t && t !== this)
621
640
  if (this.closed)
622
- qe(t);
641
+ Je(t);
623
642
  else {
624
643
  if (t instanceof e) {
625
644
  if (t.closed || t._hasParent(this))
@@ -636,52 +655,56 @@ var me = function() {
636
655
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
637
656
  }, e.prototype._removeParent = function(t) {
638
657
  var r = this._parentage;
639
- r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
658
+ r === t ? this._parentage = null : Array.isArray(r) && Ne(r, t);
640
659
  }, e.prototype.remove = function(t) {
641
660
  var r = this._finalizers;
642
- r && $e(r, t), t instanceof e && t._removeParent(this);
661
+ r && Ne(r, t), t instanceof e && t._removeParent(this);
643
662
  }, e.EMPTY = function() {
644
663
  var t = new e();
645
664
  return t.closed = !0, t;
646
665
  }(), e;
647
- }(), Ht = me.EMPTY;
648
- function Bt(e) {
649
- return e instanceof me || e && "closed" in e && H(e.remove) && H(e.add) && H(e.unsubscribe);
666
+ }(), Tt = de.EMPTY;
667
+ function Ht(e) {
668
+ return e instanceof de || e && "closed" in e && H(e.remove) && H(e.add) && H(e.unsubscribe);
650
669
  }
651
- function qe(e) {
670
+ function Je(e) {
652
671
  H(e) ? e() : e.unsubscribe();
653
672
  }
654
- var Ar = {
655
- Promise: void 0
656
- }, Pr = {
673
+ var wt = {
674
+ onUnhandledError: null,
675
+ onStoppedNotification: null,
676
+ Promise: void 0,
677
+ useDeprecatedSynchronousErrorHandling: !1,
678
+ useDeprecatedNextContext: !1
679
+ }, Ar = {
657
680
  setTimeout: function(e, t) {
658
681
  for (var r = [], n = 2; n < arguments.length; n++)
659
682
  r[n - 2] = arguments[n];
660
- return setTimeout.apply(void 0, Me([e, t], Le(r)));
683
+ return setTimeout.apply(void 0, U([e, t], Ce(r)));
661
684
  },
662
685
  clearTimeout: function(e) {
663
686
  return clearTimeout(e);
664
687
  },
665
688
  delegate: void 0
666
689
  };
667
- function Or(e) {
668
- Pr.setTimeout(function() {
690
+ function Pr(e) {
691
+ Ar.setTimeout(function() {
669
692
  throw e;
670
693
  });
671
694
  }
672
- function Ke() {
695
+ function Ye() {
673
696
  }
674
697
  function ue(e) {
675
698
  e();
676
699
  }
677
- var At = function(e) {
678
- te(t, e);
700
+ var Bt = function(e) {
701
+ w(t, e);
679
702
  function t(r) {
680
703
  var n = e.call(this) || this;
681
- return n.isStopped = !1, r ? (n.destination = r, Bt(r) && r.add(n)) : n.destination = Cr, n;
704
+ return n.isStopped = !1, r ? (n.destination = r, Ht(r) && r.add(n)) : n.destination = Nr, n;
682
705
  }
683
706
  return t.create = function(r, n, i) {
684
- return new Re(r, n, i);
707
+ return new Le(r, n, i);
685
708
  }, t.prototype.next = function(r) {
686
709
  this.isStopped || this._next(r);
687
710
  }, t.prototype.error = function(r) {
@@ -705,7 +728,11 @@ var At = function(e) {
705
728
  this.unsubscribe();
706
729
  }
707
730
  }, t;
708
- }(me), Ir = function() {
731
+ }(de), Or = Function.prototype.bind;
732
+ function _e(e, t) {
733
+ return Or.call(e, t);
734
+ }
735
+ var Ir = function() {
709
736
  function e(t) {
710
737
  this.partialObserver = t;
711
738
  }
@@ -736,29 +763,41 @@ var At = function(e) {
736
763
  oe(r);
737
764
  }
738
765
  }, e;
739
- }(), Re = function(e) {
740
- te(t, e);
766
+ }(), Le = function(e) {
767
+ w(t, e);
741
768
  function t(r, n, i) {
742
769
  var o = e.call(this) || this, s;
743
- return H(r) || !r ? s = {
744
- next: r ?? void 0,
745
- error: n ?? void 0,
746
- complete: i ?? void 0
747
- } : s = r, o.destination = new Ir(s), o;
770
+ if (H(r) || !r)
771
+ s = {
772
+ next: r ?? void 0,
773
+ error: n ?? void 0,
774
+ complete: i ?? void 0
775
+ };
776
+ else {
777
+ var a;
778
+ o && wt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
779
+ return o.unsubscribe();
780
+ }, s = {
781
+ next: r.next && _e(r.next, a),
782
+ error: r.error && _e(r.error, a),
783
+ complete: r.complete && _e(r.complete, a)
784
+ }) : s = r;
785
+ }
786
+ return o.destination = new Ir(s), o;
748
787
  }
749
788
  return t;
750
- }(At);
789
+ }(Bt);
751
790
  function oe(e) {
752
- Or(e);
791
+ Pr(e);
753
792
  }
754
- function Nr(e) {
793
+ function Cr(e) {
755
794
  throw e;
756
795
  }
757
- var Cr = {
796
+ var Nr = {
758
797
  closed: !0,
759
- next: Ke,
760
- error: Nr,
761
- complete: Ke
798
+ next: Ye,
799
+ error: Cr,
800
+ complete: Ye
762
801
  }, Lr = function() {
763
802
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
764
803
  }();
@@ -772,7 +811,7 @@ function $r(e) {
772
811
  }, r);
773
812
  };
774
813
  }
775
- var et = function() {
814
+ var qe = function() {
776
815
  function e(t) {
777
816
  t && (this._subscribe = t);
778
817
  }
@@ -780,7 +819,7 @@ var et = function() {
780
819
  var r = new e();
781
820
  return r.source = this, r.operator = t, r;
782
821
  }, e.prototype.subscribe = function(t, r, n) {
783
- var i = this, o = Dr(t) ? t : new Re(t, r, n);
822
+ var i = this, o = Dr(t) ? t : new Le(t, r, n);
784
823
  return ue(function() {
785
824
  var s = i, a = s.operator, h = s.source;
786
825
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -793,8 +832,8 @@ var et = function() {
793
832
  }
794
833
  }, e.prototype.forEach = function(t, r) {
795
834
  var n = this;
796
- return r = tt(r), new r(function(i, o) {
797
- var s = new Re({
835
+ return r = Ke(r), new r(function(i, o) {
836
+ var s = new Le({
798
837
  next: function(a) {
799
838
  try {
800
839
  t(a);
@@ -818,7 +857,7 @@ var et = function() {
818
857
  return $r(t)(this);
819
858
  }, e.prototype.toPromise = function(t) {
820
859
  var r = this;
821
- return t = tt(t), new t(function(n, i) {
860
+ return t = Ke(t), new t(function(n, i) {
822
861
  var o;
823
862
  r.subscribe(function(s) {
824
863
  return o = s;
@@ -832,28 +871,28 @@ var et = function() {
832
871
  return new e(t);
833
872
  }, e;
834
873
  }();
835
- function tt(e) {
874
+ function Ke(e) {
836
875
  var t;
837
- return (t = e ?? Ar.Promise) !== null && t !== void 0 ? t : Promise;
876
+ return (t = e ?? wt.Promise) !== null && t !== void 0 ? t : Promise;
838
877
  }
839
878
  function Rr(e) {
840
879
  return e && H(e.next) && H(e.error) && H(e.complete);
841
880
  }
842
881
  function Dr(e) {
843
- return e && e instanceof At || Rr(e) && Bt(e);
882
+ return e && e instanceof Bt || Rr(e) && Ht(e);
844
883
  }
845
- var Ur = wt(function(e) {
884
+ var Ur = St(function(e) {
846
885
  return function() {
847
886
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
848
887
  };
849
- }), Pt = function(e) {
850
- te(t, e);
888
+ }), At = function(e) {
889
+ w(t, e);
851
890
  function t() {
852
891
  var r = e.call(this) || this;
853
892
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
854
893
  }
855
894
  return t.prototype.lift = function(r) {
856
- var n = new rt(this, this);
895
+ var n = new et(this, this);
857
896
  return n.operator = r, n;
858
897
  }, t.prototype._throwIfClosed = function() {
859
898
  if (this.closed)
@@ -865,7 +904,7 @@ var Ur = wt(function(e) {
865
904
  if (n._throwIfClosed(), !n.isStopped) {
866
905
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
867
906
  try {
868
- for (var s = Ce(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
907
+ for (var s = Ie(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
869
908
  var h = a.value;
870
909
  h.next(r);
871
910
  }
@@ -914,20 +953,20 @@ var Ur = wt(function(e) {
914
953
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
915
954
  }, t.prototype._innerSubscribe = function(r) {
916
955
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
917
- return o || s ? Ht : (this.currentObservers = null, a.push(r), new me(function() {
918
- n.currentObservers = null, $e(a, r);
956
+ return o || s ? Tt : (this.currentObservers = null, a.push(r), new de(function() {
957
+ n.currentObservers = null, Ne(a, r);
919
958
  }));
920
959
  }, t.prototype._checkFinalizedStatuses = function(r) {
921
960
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
922
961
  i ? r.error(o) : s && r.complete();
923
962
  }, t.prototype.asObservable = function() {
924
- var r = new et();
963
+ var r = new qe();
925
964
  return r.source = this, r;
926
965
  }, t.create = function(r, n) {
927
- return new rt(r, n);
966
+ return new et(r, n);
928
967
  }, t;
929
- }(et), rt = function(e) {
930
- te(t, e);
968
+ }(qe), et = function(e) {
969
+ w(t, e);
931
970
  function t(r, n) {
932
971
  var i = e.call(this) || this;
933
972
  return i.destination = r, i.source = n, i;
@@ -943,17 +982,17 @@ var Ur = wt(function(e) {
943
982
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
944
983
  }, t.prototype._subscribe = function(r) {
945
984
  var n, i;
946
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ht;
985
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Tt;
947
986
  }, t;
948
- }(Pt), Ot = {
987
+ }(At), Pt = {
949
988
  now: function() {
950
- return (Ot.delegate || Date).now();
989
+ return (Pt.delegate || Date).now();
951
990
  },
952
991
  delegate: void 0
953
992
  }, Gr = function(e) {
954
- te(t, e);
993
+ w(t, e);
955
994
  function t(r, n, i) {
956
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ot);
995
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Pt);
957
996
  var o = e.call(this) || this;
958
997
  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;
959
998
  }
@@ -973,24 +1012,24 @@ var Ur = wt(function(e) {
973
1012
  u && o.splice(0, u + 1);
974
1013
  }
975
1014
  }, t;
976
- }(Pt);
977
- const nt = [], it = {}, Fr = (e, t = 0) => {
978
- if (nt.indexOf(e) == -1) {
1015
+ }(At);
1016
+ const tt = [], rt = {}, Fr = (e, t = 0) => {
1017
+ if (tt.indexOf(e) == -1) {
979
1018
  const r = new Gr(t);
980
- it[e] = r, nt.push(e);
1019
+ rt[e] = r, tt.push(e);
981
1020
  }
982
- return it[e];
1021
+ return rt[e];
983
1022
  }, $ = [];
984
1023
  function jr(e, t) {
985
1024
  return {
986
- subscribe: be(e, t).subscribe
1025
+ subscribe: me(e, t).subscribe
987
1026
  };
988
1027
  }
989
- function be(e, t = S) {
1028
+ function me(e, t = S) {
990
1029
  let r;
991
1030
  const n = /* @__PURE__ */ new Set();
992
1031
  function i(a) {
993
- if (xt(e, a) && (e = a, r)) {
1032
+ if (yt(e, a) && (e = a, r)) {
994
1033
  const h = !$.length;
995
1034
  for (const u of n)
996
1035
  u[1](), $.push(u, e);
@@ -1012,7 +1051,7 @@ function be(e, t = S) {
1012
1051
  }
1013
1052
  return { set: i, update: o, subscribe: s };
1014
1053
  }
1015
- function V(e, t, r) {
1054
+ function X(e, t, r) {
1016
1055
  const n = !Array.isArray(e), i = n ? [e] : e;
1017
1056
  if (!i.every(Boolean))
1018
1057
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1026,20 +1065,20 @@ function V(e, t, r) {
1026
1065
  return;
1027
1066
  f();
1028
1067
  const p = t(n ? u[0] : u, s, a);
1029
- o ? s(p) : f = ee(p) ? p : S;
1030
- }, b = i.map(
1031
- (p, g) => tr(
1068
+ o ? s(p) : f = te(p) ? p : S;
1069
+ }, g = i.map(
1070
+ (p, y) => er(
1032
1071
  p,
1033
1072
  (E) => {
1034
- u[g] = E, l &= ~(1 << g), h && c();
1073
+ u[y] = E, l &= ~(1 << y), h && c();
1035
1074
  },
1036
1075
  () => {
1037
- l |= 1 << g;
1076
+ l |= 1 << y;
1038
1077
  }
1039
1078
  )
1040
1079
  );
1041
1080
  return h = !0, c(), function() {
1042
- K(b), f(), h = !1;
1081
+ ee(g), f(), h = !1;
1043
1082
  };
1044
1083
  });
1045
1084
  }
@@ -1063,29 +1102,29 @@ function Qr(e) {
1063
1102
  function Jr(e) {
1064
1103
  return Array.isArray(e) ? [] : {};
1065
1104
  }
1066
- function Y(e, t) {
1067
- return t.clone !== !1 && t.isMergeableObject(e) ? U(Jr(e), e, t) : e;
1105
+ function q(e, t) {
1106
+ return t.clone !== !1 && t.isMergeableObject(e) ? G(Jr(e), e, t) : e;
1068
1107
  }
1069
1108
  function Yr(e, t, r) {
1070
1109
  return e.concat(t).map(function(n) {
1071
- return Y(n, r);
1110
+ return q(n, r);
1072
1111
  });
1073
1112
  }
1074
1113
  function qr(e, t) {
1075
1114
  if (!t.customMerge)
1076
- return U;
1115
+ return G;
1077
1116
  var r = t.customMerge(e);
1078
- return typeof r == "function" ? r : U;
1117
+ return typeof r == "function" ? r : G;
1079
1118
  }
1080
1119
  function Kr(e) {
1081
1120
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1082
1121
  return Object.propertyIsEnumerable.call(e, t);
1083
1122
  }) : [];
1084
1123
  }
1085
- function ot(e) {
1124
+ function nt(e) {
1086
1125
  return Object.keys(e).concat(Kr(e));
1087
1126
  }
1088
- function It(e, t) {
1127
+ function Ot(e, t) {
1089
1128
  try {
1090
1129
  return t in e;
1091
1130
  } catch {
@@ -1093,179 +1132,129 @@ function It(e, t) {
1093
1132
  }
1094
1133
  }
1095
1134
  function en(e, t) {
1096
- return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1135
+ return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1097
1136
  }
1098
1137
  function tn(e, t, r) {
1099
1138
  var n = {};
1100
- return r.isMergeableObject(e) && ot(e).forEach(function(i) {
1101
- n[i] = Y(e[i], r);
1102
- }), ot(t).forEach(function(i) {
1103
- en(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = qr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
1139
+ return r.isMergeableObject(e) && nt(e).forEach(function(i) {
1140
+ n[i] = q(e[i], r);
1141
+ }), nt(t).forEach(function(i) {
1142
+ en(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = qr(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
1104
1143
  }), n;
1105
1144
  }
1106
- function U(e, t, r) {
1107
- r = r || {}, r.arrayMerge = r.arrayMerge || Yr, r.isMergeableObject = r.isMergeableObject || Vr, r.cloneUnlessOtherwiseSpecified = Y;
1145
+ function G(e, t, r) {
1146
+ r = r || {}, r.arrayMerge = r.arrayMerge || Yr, r.isMergeableObject = r.isMergeableObject || Vr, r.cloneUnlessOtherwiseSpecified = q;
1108
1147
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1109
- return o ? n ? r.arrayMerge(e, t, r) : tn(e, t, r) : Y(t, r);
1148
+ return o ? n ? r.arrayMerge(e, t, r) : tn(e, t, r) : q(t, r);
1110
1149
  }
1111
- U.all = function(t, r) {
1150
+ G.all = function(t, r) {
1112
1151
  if (!Array.isArray(t))
1113
1152
  throw new Error("first argument should be an array");
1114
1153
  return t.reduce(function(n, i) {
1115
- return U(n, i, r);
1154
+ return G(n, i, r);
1116
1155
  }, {});
1117
1156
  };
1118
- var rn = U, nn = rn;
1157
+ var rn = G, nn = rn;
1119
1158
  const on = /* @__PURE__ */ kr(nn);
1120
- var De = function(e, t) {
1121
- return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1122
- r.__proto__ = n;
1123
- } || function(r, n) {
1124
- for (var i in n)
1125
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1126
- }, De(e, t);
1127
- };
1128
- function ve(e, t) {
1129
- if (typeof t != "function" && t !== null)
1130
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1131
- De(e, t);
1132
- function r() {
1133
- this.constructor = e;
1134
- }
1135
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1136
- }
1137
- var w = function() {
1138
- return w = Object.assign || function(t) {
1139
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1140
- r = arguments[n];
1141
- for (var o in r)
1142
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1143
- }
1144
- return t;
1145
- }, w.apply(this, arguments);
1146
- };
1147
- function sn(e, t) {
1148
- var r = {};
1149
- for (var n in e)
1150
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1151
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1152
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1153
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1154
- return r;
1155
- }
1156
- function Se(e, t, r) {
1157
- if (r || arguments.length === 2)
1158
- for (var n = 0, i = t.length, o; n < i; n++)
1159
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1160
- return e.concat(o || Array.prototype.slice.call(t));
1161
- }
1162
- function Te(e, t) {
1163
- var r = t && t.cache ? t.cache : pn, n = t && t.serializer ? t.serializer : fn, i = t && t.strategy ? t.strategy : hn;
1159
+ function Ee(e, t) {
1160
+ var r = t && t.cache ? t.cache : fn, n = t && t.serializer ? t.serializer : ln, i = t && t.strategy ? t.strategy : an;
1164
1161
  return i(e, {
1165
1162
  cache: r,
1166
1163
  serializer: n
1167
1164
  });
1168
1165
  }
1169
- function an(e) {
1166
+ function sn(e) {
1170
1167
  return e == null || typeof e == "number" || typeof e == "boolean";
1171
1168
  }
1172
- function un(e, t, r, n) {
1173
- var i = an(n) ? n : r(n), o = t.get(i);
1169
+ function It(e, t, r, n) {
1170
+ var i = sn(n) ? n : r(n), o = t.get(i);
1174
1171
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1175
1172
  }
1176
- function Nt(e, t, r) {
1173
+ function Ct(e, t, r) {
1177
1174
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1178
1175
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1179
1176
  }
1180
- function Ct(e, t, r, n, i) {
1177
+ function ke(e, t, r, n, i) {
1181
1178
  return r.bind(t, e, n, i);
1182
1179
  }
1183
- function hn(e, t) {
1184
- var r = e.length === 1 ? un : Nt;
1185
- return Ct(e, this, r, t.cache.create(), t.serializer);
1180
+ function an(e, t) {
1181
+ var r = e.length === 1 ? It : Ct;
1182
+ return ke(e, this, r, t.cache.create(), t.serializer);
1183
+ }
1184
+ function un(e, t) {
1185
+ return ke(e, this, Ct, t.cache.create(), t.serializer);
1186
1186
  }
1187
- function ln(e, t) {
1188
- return Ct(e, this, Nt, t.cache.create(), t.serializer);
1187
+ function hn(e, t) {
1188
+ return ke(e, this, It, t.cache.create(), t.serializer);
1189
1189
  }
1190
- var fn = function() {
1190
+ var ln = function() {
1191
1191
  return JSON.stringify(arguments);
1192
- }, cn = (
1193
- /** @class */
1194
- function() {
1195
- function e() {
1196
- this.cache = /* @__PURE__ */ Object.create(null);
1197
- }
1198
- return e.prototype.get = function(t) {
1199
- return this.cache[t];
1200
- }, e.prototype.set = function(t, r) {
1201
- this.cache[t] = r;
1202
- }, e;
1203
- }()
1204
- ), pn = {
1192
+ };
1193
+ function Ve() {
1194
+ this.cache = /* @__PURE__ */ Object.create(null);
1195
+ }
1196
+ Ve.prototype.get = function(e) {
1197
+ return this.cache[e];
1198
+ };
1199
+ Ve.prototype.set = function(e, t) {
1200
+ this.cache[e] = t;
1201
+ };
1202
+ var fn = {
1205
1203
  create: function() {
1206
- return new cn();
1204
+ return new Ve();
1207
1205
  }
1208
- }, we = {
1209
- variadic: ln
1210
- }, ce = function() {
1211
- return ce = Object.assign || function(t) {
1212
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1213
- r = arguments[n];
1214
- for (var o in r)
1215
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1216
- }
1217
- return t;
1218
- }, ce.apply(this, arguments);
1219
- };
1220
- var d;
1206
+ }, Se = {
1207
+ variadic: un,
1208
+ monadic: hn
1209
+ }, d;
1221
1210
  (function(e) {
1222
1211
  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";
1223
1212
  })(d || (d = {}));
1224
- var y;
1213
+ var x;
1225
1214
  (function(e) {
1226
1215
  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";
1227
- })(y || (y = {}));
1228
- var G;
1216
+ })(x || (x = {}));
1217
+ var F;
1229
1218
  (function(e) {
1230
1219
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1231
- })(G || (G = {}));
1232
- function st(e) {
1233
- return e.type === y.literal;
1220
+ })(F || (F = {}));
1221
+ function it(e) {
1222
+ return e.type === x.literal;
1223
+ }
1224
+ function cn(e) {
1225
+ return e.type === x.argument;
1234
1226
  }
1235
- function dn(e) {
1236
- return e.type === y.argument;
1227
+ function Nt(e) {
1228
+ return e.type === x.number;
1237
1229
  }
1238
1230
  function Lt(e) {
1239
- return e.type === y.number;
1231
+ return e.type === x.date;
1240
1232
  }
1241
1233
  function Mt(e) {
1242
- return e.type === y.date;
1234
+ return e.type === x.time;
1243
1235
  }
1244
1236
  function $t(e) {
1245
- return e.type === y.time;
1237
+ return e.type === x.select;
1246
1238
  }
1247
1239
  function Rt(e) {
1248
- return e.type === y.select;
1240
+ return e.type === x.plural;
1249
1241
  }
1250
- function Dt(e) {
1251
- return e.type === y.plural;
1242
+ function pn(e) {
1243
+ return e.type === x.pound;
1252
1244
  }
1253
- function mn(e) {
1254
- return e.type === y.pound;
1245
+ function Dt(e) {
1246
+ return e.type === x.tag;
1255
1247
  }
1256
1248
  function Ut(e) {
1257
- return e.type === y.tag;
1249
+ return !!(e && typeof e == "object" && e.type === F.number);
1258
1250
  }
1259
- function Gt(e) {
1260
- return !!(e && typeof e == "object" && e.type === G.number);
1251
+ function Me(e) {
1252
+ return !!(e && typeof e == "object" && e.type === F.dateTime);
1261
1253
  }
1262
- function Ue(e) {
1263
- return !!(e && typeof e == "object" && e.type === G.dateTime);
1264
- }
1265
- var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1266
- function vn(e) {
1254
+ var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[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;
1255
+ function mn(e) {
1267
1256
  var t = {};
1268
- return e.replace(bn, function(r) {
1257
+ return e.replace(dn, function(r) {
1269
1258
  var n = r.length;
1270
1259
  switch (r[0]) {
1271
1260
  case "G":
@@ -1354,21 +1343,11 @@ function vn(e) {
1354
1343
  return "";
1355
1344
  }), t;
1356
1345
  }
1357
- var _ = function() {
1358
- return _ = Object.assign || function(t) {
1359
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1360
- r = arguments[n];
1361
- for (var o in r)
1362
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1363
- }
1364
- return t;
1365
- }, _.apply(this, arguments);
1366
- };
1367
- var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1368
- function yn(e) {
1346
+ var bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1347
+ function gn(e) {
1369
1348
  if (e.length === 0)
1370
1349
  throw new Error("Number skeleton cannot be empty");
1371
- for (var t = e.split(gn).filter(function(c) {
1350
+ for (var t = e.split(bn).filter(function(c) {
1372
1351
  return c.length > 0;
1373
1352
  }), r = [], n = 0, i = t; n < i.length; n++) {
1374
1353
  var o = i[n], s = o.split("/");
@@ -1383,17 +1362,17 @@ function yn(e) {
1383
1362
  }
1384
1363
  return r;
1385
1364
  }
1386
- function _n(e) {
1365
+ function vn(e) {
1387
1366
  return e.replace(/^(.*?)-/, "");
1388
1367
  }
1389
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, xn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
1390
- function ut(e) {
1368
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
1369
+ function st(e) {
1391
1370
  var t = {};
1392
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
1371
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
1393
1372
  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)), "";
1394
1373
  }), t;
1395
1374
  }
1396
- function Vt(e) {
1375
+ function kt(e) {
1397
1376
  switch (e) {
1398
1377
  case "sign-auto":
1399
1378
  return {
@@ -1433,7 +1412,7 @@ function Vt(e) {
1433
1412
  };
1434
1413
  }
1435
1414
  }
1436
- function En(e) {
1415
+ function xn(e) {
1437
1416
  var t;
1438
1417
  if (e[0] === "E" && e[1] === "E" ? (t = {
1439
1418
  notation: "engineering"
@@ -1441,17 +1420,17 @@ function En(e) {
1441
1420
  notation: "scientific"
1442
1421
  }, e = e.slice(1)), t) {
1443
1422
  var r = e.slice(0, 2);
1444
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
1423
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
1445
1424
  throw new Error("Malformed concise eng/scientific notation");
1446
1425
  t.minimumIntegerDigits = e.length;
1447
1426
  }
1448
1427
  return t;
1449
1428
  }
1450
- function ht(e) {
1451
- var t = {}, r = Vt(e);
1429
+ function at(e) {
1430
+ var t = {}, r = kt(e);
1452
1431
  return r || t;
1453
1432
  }
1454
- function Sn(e) {
1433
+ function _n(e) {
1455
1434
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1456
1435
  var i = n[r];
1457
1436
  switch (i.stem) {
@@ -1475,7 +1454,7 @@ function Sn(e) {
1475
1454
  continue;
1476
1455
  case "measure-unit":
1477
1456
  case "unit":
1478
- t.style = "unit", t.unit = _n(i.options[0]);
1457
+ t.style = "unit", t.unit = vn(i.options[0]);
1479
1458
  continue;
1480
1459
  case "compact-short":
1481
1460
  case "K":
@@ -1486,13 +1465,13 @@ function Sn(e) {
1486
1465
  t.notation = "compact", t.compactDisplay = "long";
1487
1466
  continue;
1488
1467
  case "scientific":
1489
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1490
- return _(_({}, h), ht(u));
1468
+ t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1469
+ return b(b({}, h), at(u));
1491
1470
  }, {}));
1492
1471
  continue;
1493
1472
  case "engineering":
1494
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1495
- return _(_({}, h), ht(u));
1473
+ t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1474
+ return b(b({}, h), at(u));
1496
1475
  }, {}));
1497
1476
  continue;
1498
1477
  case "notation-simple":
@@ -1537,41 +1516,41 @@ function Sn(e) {
1537
1516
  case "integer-width":
1538
1517
  if (i.options.length > 1)
1539
1518
  throw new RangeError("integer-width stems only accept a single optional option");
1540
- i.options[0].replace(xn, function(h, u, l, f, c, b) {
1519
+ i.options[0].replace(yn, function(h, u, l, f, c, g) {
1541
1520
  if (u)
1542
1521
  t.minimumIntegerDigits = l.length;
1543
1522
  else {
1544
1523
  if (f && c)
1545
1524
  throw new Error("We currently do not support maximum integer digits");
1546
- if (b)
1525
+ if (g)
1547
1526
  throw new Error("We currently do not support exact integer digits");
1548
1527
  }
1549
1528
  return "";
1550
1529
  });
1551
1530
  continue;
1552
1531
  }
1553
- if (kt.test(i.stem)) {
1532
+ if (jt.test(i.stem)) {
1554
1533
  t.minimumIntegerDigits = i.stem.length;
1555
1534
  continue;
1556
1535
  }
1557
- if (at.test(i.stem)) {
1536
+ if (ot.test(i.stem)) {
1558
1537
  if (i.options.length > 1)
1559
1538
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1560
- i.stem.replace(at, function(h, u, l, f, c, b) {
1561
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1539
+ i.stem.replace(ot, function(h, u, l, f, c, g) {
1540
+ return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && g ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1562
1541
  });
1563
1542
  var o = i.options[0];
1564
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), ut(o)));
1543
+ o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), st(o)));
1565
1544
  continue;
1566
1545
  }
1567
- if (jt.test(i.stem)) {
1568
- t = _(_({}, t), ut(i.stem));
1546
+ if (Ft.test(i.stem)) {
1547
+ t = b(b({}, t), st(i.stem));
1569
1548
  continue;
1570
1549
  }
1571
- var s = Vt(i.stem);
1572
- s && (t = _(_({}, t), s));
1573
- var a = En(i.stem);
1574
- a && (t = _(_({}, t), a));
1550
+ var s = kt(i.stem);
1551
+ s && (t = b(b({}, t), s));
1552
+ var a = xn(i.stem);
1553
+ a && (t = b(b({}, t), a));
1575
1554
  }
1576
1555
  return t;
1577
1556
  }
@@ -2990,13 +2969,13 @@ var se = {
2990
2969
  "h"
2991
2970
  ]
2992
2971
  };
2993
- function Tn(e, t) {
2972
+ function En(e, t) {
2994
2973
  for (var r = "", n = 0; n < e.length; n++) {
2995
2974
  var i = e.charAt(n);
2996
2975
  if (i === "j") {
2997
2976
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2998
2977
  o++, n++;
2999
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = wn(t);
2978
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Sn(t);
3000
2979
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3001
2980
  r += h;
3002
2981
  for (; s-- > 0; )
@@ -3006,7 +2985,7 @@ function Tn(e, t) {
3006
2985
  }
3007
2986
  return r;
3008
2987
  }
3009
- function wn(e) {
2988
+ function Sn(e) {
3010
2989
  var t = e.hourCycle;
3011
2990
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3012
2991
  e.hourCycles && // @ts-ignore
@@ -3028,20 +3007,20 @@ function wn(e) {
3028
3007
  var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
3029
3008
  return i[0];
3030
3009
  }
3031
- var He, Hn = new RegExp("^".concat(Ft.source, "*")), Bn = new RegExp("".concat(Ft.source, "*$"));
3010
+ var Te, Tn = new RegExp("^".concat(Gt.source, "*")), Hn = new RegExp("".concat(Gt.source, "*$"));
3032
3011
  function m(e, t) {
3033
3012
  return { start: e, end: t };
3034
3013
  }
3035
- var An = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pn = !!String.fromCodePoint, On = !!Object.fromEntries, In = !!String.prototype.codePointAt, Nn = !!String.prototype.trimStart, Cn = !!String.prototype.trimEnd, Ln = !!Number.isSafeInteger, Mn = Ln ? Number.isSafeInteger : function(e) {
3014
+ var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bn = !!String.fromCodePoint, An = !!Object.fromEntries, Pn = !!String.prototype.codePointAt, On = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Cn = !!Number.isSafeInteger, Nn = Cn ? Number.isSafeInteger : function(e) {
3036
3015
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3037
- }, Ge = !0;
3016
+ }, $e = !0;
3038
3017
  try {
3039
- var $n = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3040
- Ge = ((He = $n.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
3018
+ var Ln = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3019
+ $e = ((Te = Ln.exec("a")) === null || Te === void 0 ? void 0 : Te[0]) === "a";
3041
3020
  } catch {
3042
- Ge = !1;
3021
+ $e = !1;
3043
3022
  }
3044
- var lt = An ? (
3023
+ var ut = wn ? (
3045
3024
  // Native
3046
3025
  function(t, r, n) {
3047
3026
  return t.startsWith(r, n);
@@ -3051,7 +3030,7 @@ var lt = An ? (
3051
3030
  function(t, r, n) {
3052
3031
  return t.slice(n, n + r.length) === r;
3053
3032
  }
3054
- ), Fe = Pn ? String.fromCodePoint : (
3033
+ ), Re = Bn ? String.fromCodePoint : (
3055
3034
  // IE11
3056
3035
  function() {
3057
3036
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3063,9 +3042,9 @@ var lt = An ? (
3063
3042
  }
3064
3043
  return n;
3065
3044
  }
3066
- ), ft = (
3045
+ ), ht = (
3067
3046
  // native
3068
- On ? Object.fromEntries : (
3047
+ An ? Object.fromEntries : (
3069
3048
  // Ponyfill
3070
3049
  function(t) {
3071
3050
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3075,7 +3054,7 @@ var lt = An ? (
3075
3054
  return r;
3076
3055
  }
3077
3056
  )
3078
- ), Xt = In ? (
3057
+ ), Vt = Pn ? (
3079
3058
  // Native
3080
3059
  function(t, r) {
3081
3060
  return t.codePointAt(r);
@@ -3089,7 +3068,7 @@ var lt = An ? (
3089
3068
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3090
3069
  }
3091
3070
  }
3092
- ), Rn = Nn ? (
3071
+ ), Mn = On ? (
3093
3072
  // Native
3094
3073
  function(t) {
3095
3074
  return t.trimStart();
@@ -3097,9 +3076,9 @@ var lt = An ? (
3097
3076
  ) : (
3098
3077
  // Ponyfill
3099
3078
  function(t) {
3100
- return t.replace(Hn, "");
3079
+ return t.replace(Tn, "");
3101
3080
  }
3102
- ), Dn = Cn ? (
3081
+ ), $n = In ? (
3103
3082
  // Native
3104
3083
  function(t) {
3105
3084
  return t.trimEnd();
@@ -3107,32 +3086,32 @@ var lt = An ? (
3107
3086
  ) : (
3108
3087
  // Ponyfill
3109
3088
  function(t) {
3110
- return t.replace(Bn, "");
3089
+ return t.replace(Hn, "");
3111
3090
  }
3112
3091
  );
3113
- function Wt(e, t) {
3092
+ function Xt(e, t) {
3114
3093
  return new RegExp(e, t);
3115
3094
  }
3116
- var je;
3117
- if (Ge) {
3118
- var ct = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3119
- je = function(t, r) {
3095
+ var De;
3096
+ if ($e) {
3097
+ var lt = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3098
+ De = function(t, r) {
3120
3099
  var n;
3121
- ct.lastIndex = r;
3122
- var i = ct.exec(t);
3100
+ lt.lastIndex = r;
3101
+ var i = lt.exec(t);
3123
3102
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3124
3103
  };
3125
3104
  } else
3126
- je = function(t, r) {
3105
+ De = function(t, r) {
3127
3106
  for (var n = []; ; ) {
3128
- var i = Xt(t, r);
3129
- if (i === void 0 || zt(i) || jn(i))
3107
+ var i = Vt(t, r);
3108
+ if (i === void 0 || Wt(i) || Gn(i))
3130
3109
  break;
3131
3110
  n.push(i), r += i >= 65536 ? 2 : 1;
3132
3111
  }
3133
- return Fe.apply(void 0, n);
3112
+ return Re.apply(void 0, n);
3134
3113
  };
3135
- var Un = (
3114
+ var Rn = (
3136
3115
  /** @class */
3137
3116
  function() {
3138
3117
  function e(t, r) {
@@ -3156,14 +3135,14 @@ var Un = (
3156
3135
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3157
3136
  var a = this.clonePosition();
3158
3137
  this.bump(), i.push({
3159
- type: y.pound,
3138
+ type: x.pound,
3160
3139
  location: m(a, this.clonePosition())
3161
3140
  });
3162
3141
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3163
3142
  if (n)
3164
3143
  break;
3165
3144
  return this.error(d.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
3166
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3145
+ } else if (o === 60 && !this.ignoreTag && Ue(this.peek() || 0)) {
3167
3146
  var s = this.parseTag(t, r);
3168
3147
  if (s.err)
3169
3148
  return s;
@@ -3184,7 +3163,7 @@ var Un = (
3184
3163
  if (this.bumpSpace(), this.bumpIf("/>"))
3185
3164
  return {
3186
3165
  val: {
3187
- type: y.literal,
3166
+ type: x.literal,
3188
3167
  value: "<".concat(i, "/>"),
3189
3168
  location: m(n, this.clonePosition())
3190
3169
  },
@@ -3196,12 +3175,12 @@ var Un = (
3196
3175
  return o;
3197
3176
  var s = o.val, a = this.clonePosition();
3198
3177
  if (this.bumpIf("</")) {
3199
- if (this.isEOF() || !ke(this.char()))
3178
+ if (this.isEOF() || !Ue(this.char()))
3200
3179
  return this.error(d.INVALID_TAG, m(a, this.clonePosition()));
3201
3180
  var h = this.clonePosition(), u = this.parseTagName();
3202
3181
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3203
3182
  val: {
3204
- type: y.tag,
3183
+ type: x.tag,
3205
3184
  value: i,
3206
3185
  children: s,
3207
3186
  location: m(n, this.clonePosition())
@@ -3214,7 +3193,7 @@ var Un = (
3214
3193
  return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
3215
3194
  }, e.prototype.parseTagName = function() {
3216
3195
  var t = this.offset();
3217
- for (this.bump(); !this.isEOF() && Fn(this.char()); )
3196
+ for (this.bump(); !this.isEOF() && Un(this.char()); )
3218
3197
  this.bump();
3219
3198
  return this.message.slice(t, this.offset());
3220
3199
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3238,12 +3217,12 @@ var Un = (
3238
3217
  }
3239
3218
  var h = m(n, this.clonePosition());
3240
3219
  return {
3241
- val: { type: y.literal, value: i, location: h },
3220
+ val: { type: x.literal, value: i, location: h },
3242
3221
  err: null
3243
3222
  };
3244
3223
  }, e.prototype.tryParseLeftAngleBracket = function() {
3245
3224
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3246
- !Gn(this.peek() || 0)) ? (this.bump(), "<") : null;
3225
+ !Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
3247
3226
  }, e.prototype.tryParseQuote = function(t) {
3248
3227
  if (this.isEOF() || this.char() !== 39)
3249
3228
  return null;
@@ -3277,12 +3256,12 @@ var Un = (
3277
3256
  r.push(n);
3278
3257
  this.bump();
3279
3258
  }
3280
- return Fe.apply(void 0, r);
3259
+ return Re.apply(void 0, r);
3281
3260
  }, e.prototype.tryParseUnquoted = function(t, r) {
3282
3261
  if (this.isEOF())
3283
3262
  return null;
3284
3263
  var n = this.char();
3285
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3264
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Re(n));
3286
3265
  }, e.prototype.parseArgument = function(t, r) {
3287
3266
  var n = this.clonePosition();
3288
3267
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3298,7 +3277,7 @@ var Un = (
3298
3277
  case 125:
3299
3278
  return this.bump(), {
3300
3279
  val: {
3301
- type: y.argument,
3280
+ type: x.argument,
3302
3281
  // value does not include the opening and closing braces.
3303
3282
  value: i,
3304
3283
  location: m(n, this.clonePosition())
@@ -3311,7 +3290,7 @@ var Un = (
3311
3290
  return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3312
3291
  }
3313
3292
  }, e.prototype.parseIdentifierIfPossible = function() {
3314
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3293
+ var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
3315
3294
  this.bumpTo(i);
3316
3295
  var o = this.clonePosition(), s = m(t, o);
3317
3296
  return { value: n, location: s };
@@ -3330,46 +3309,46 @@ var Un = (
3330
3309
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3331
3310
  if (f.err)
3332
3311
  return f;
3333
- var c = Dn(f.val);
3312
+ var c = $n(f.val);
3334
3313
  if (c.length === 0)
3335
3314
  return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3336
- var b = m(l, this.clonePosition());
3337
- u = { style: c, styleLocation: b };
3315
+ var g = m(l, this.clonePosition());
3316
+ u = { style: c, styleLocation: g };
3338
3317
  }
3339
3318
  var p = this.tryParseArgumentClose(i);
3340
3319
  if (p.err)
3341
3320
  return p;
3342
- var g = m(i, this.clonePosition());
3343
- if (u && lt(u?.style, "::", 0)) {
3344
- var E = Rn(u.style.slice(2));
3321
+ var y = m(i, this.clonePosition());
3322
+ if (u && ut(u?.style, "::", 0)) {
3323
+ var E = Mn(u.style.slice(2));
3345
3324
  if (a === "number") {
3346
3325
  var f = this.parseNumberSkeletonFromString(E, u.styleLocation);
3347
3326
  return f.err ? f : {
3348
- val: { type: y.number, value: n, location: g, style: f.val },
3327
+ val: { type: x.number, value: n, location: y, style: f.val },
3349
3328
  err: null
3350
3329
  };
3351
3330
  } else {
3352
3331
  if (E.length === 0)
3353
- return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
3354
- var W = E;
3355
- this.locale && (W = Tn(E, this.locale));
3332
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, y);
3333
+ var z = E;
3334
+ this.locale && (z = En(E, this.locale));
3356
3335
  var c = {
3357
- type: G.dateTime,
3358
- pattern: W,
3336
+ type: F.dateTime,
3337
+ pattern: z,
3359
3338
  location: u.styleLocation,
3360
- parsedOptions: this.shouldParseSkeletons ? vn(W) : {}
3361
- }, L = a === "date" ? y.date : y.time;
3339
+ parsedOptions: this.shouldParseSkeletons ? mn(z) : {}
3340
+ }, L = a === "date" ? x.date : x.time;
3362
3341
  return {
3363
- val: { type: L, value: n, location: g, style: c },
3342
+ val: { type: L, value: n, location: y, style: c },
3364
3343
  err: null
3365
3344
  };
3366
3345
  }
3367
3346
  }
3368
3347
  return {
3369
3348
  val: {
3370
- type: a === "number" ? y.number : a === "date" ? y.date : y.time,
3349
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3371
3350
  value: n,
3372
- location: g,
3351
+ location: y,
3373
3352
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3374
3353
  },
3375
3354
  err: null
@@ -3380,41 +3359,41 @@ var Un = (
3380
3359
  case "select": {
3381
3360
  var T = this.clonePosition();
3382
3361
  if (this.bumpSpace(), !this.bumpIf(","))
3383
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(T, ce({}, T)));
3362
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(T, b({}, T)));
3384
3363
  this.bumpSpace();
3385
- var z = this.parseIdentifierIfPossible(), P = 0;
3386
- if (a !== "select" && z.value === "offset") {
3364
+ var Z = this.parseIdentifierIfPossible(), P = 0;
3365
+ if (a !== "select" && Z.value === "offset") {
3387
3366
  if (!this.bumpIf(":"))
3388
3367
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
3389
3368
  this.bumpSpace();
3390
3369
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3391
3370
  if (f.err)
3392
3371
  return f;
3393
- this.bumpSpace(), z = this.parseIdentifierIfPossible(), P = f.val;
3372
+ this.bumpSpace(), Z = this.parseIdentifierIfPossible(), P = f.val;
3394
3373
  }
3395
- var ie = this.tryParsePluralOrSelectOptions(t, a, r, z);
3374
+ var ie = this.tryParsePluralOrSelectOptions(t, a, r, Z);
3396
3375
  if (ie.err)
3397
3376
  return ie;
3398
3377
  var p = this.tryParseArgumentClose(i);
3399
3378
  if (p.err)
3400
3379
  return p;
3401
- var Qe = m(i, this.clonePosition());
3380
+ var ze = m(i, this.clonePosition());
3402
3381
  return a === "select" ? {
3403
3382
  val: {
3404
- type: y.select,
3383
+ type: x.select,
3405
3384
  value: n,
3406
- options: ft(ie.val),
3407
- location: Qe
3385
+ options: ht(ie.val),
3386
+ location: ze
3408
3387
  },
3409
3388
  err: null
3410
3389
  } : {
3411
3390
  val: {
3412
- type: y.plural,
3391
+ type: x.plural,
3413
3392
  value: n,
3414
- options: ft(ie.val),
3393
+ options: ht(ie.val),
3415
3394
  offset: P,
3416
3395
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3417
- location: Qe
3396
+ location: ze
3418
3397
  },
3419
3398
  err: null
3420
3399
  };
@@ -3462,16 +3441,16 @@ var Un = (
3462
3441
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3463
3442
  var n = [];
3464
3443
  try {
3465
- n = yn(t);
3444
+ n = gn(t);
3466
3445
  } catch {
3467
3446
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3468
3447
  }
3469
3448
  return {
3470
3449
  val: {
3471
- type: G.number,
3450
+ type: F.number,
3472
3451
  tokens: n,
3473
3452
  location: r,
3474
- parsedOptions: this.shouldParseSkeletons ? Sn(n) : {}
3453
+ parsedOptions: this.shouldParseSkeletons ? _n(n) : {}
3475
3454
  },
3476
3455
  err: null
3477
3456
  };
@@ -3490,20 +3469,20 @@ var Un = (
3490
3469
  if (h.has(u))
3491
3470
  return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3492
3471
  u === "other" && (s = !0), this.bumpSpace();
3493
- var b = this.clonePosition();
3472
+ var g = this.clonePosition();
3494
3473
  if (!this.bumpIf("{"))
3495
3474
  return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
3496
3475
  var p = this.parseMessage(t + 1, r, n);
3497
3476
  if (p.err)
3498
3477
  return p;
3499
- var g = this.tryParseArgumentClose(b);
3500
- if (g.err)
3501
- return g;
3478
+ var y = this.tryParseArgumentClose(g);
3479
+ if (y.err)
3480
+ return y;
3502
3481
  a.push([
3503
3482
  u,
3504
3483
  {
3505
3484
  value: p.val,
3506
- location: m(b, this.clonePosition())
3485
+ location: m(g, this.clonePosition())
3507
3486
  }
3508
3487
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3509
3488
  }
@@ -3519,7 +3498,7 @@ var Un = (
3519
3498
  break;
3520
3499
  }
3521
3500
  var h = m(i, this.clonePosition());
3522
- return o ? (s *= n, Mn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3501
+ return o ? (s *= n, Nn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3523
3502
  }, e.prototype.offset = function() {
3524
3503
  return this.position.offset;
3525
3504
  }, e.prototype.isEOF = function() {
@@ -3534,7 +3513,7 @@ var Un = (
3534
3513
  var t = this.position.offset;
3535
3514
  if (t >= this.message.length)
3536
3515
  throw Error("out of bound");
3537
- var r = Xt(this.message, t);
3516
+ var r = Vt(this.message, t);
3538
3517
  if (r === void 0)
3539
3518
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3540
3519
  return r;
@@ -3553,7 +3532,7 @@ var Un = (
3553
3532
  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);
3554
3533
  }
3555
3534
  }, e.prototype.bumpIf = function(t) {
3556
- if (lt(this.message, t, this.offset())) {
3535
+ if (ut(this.message, t, this.offset())) {
3557
3536
  for (var r = 0; r < t.length; r++)
3558
3537
  this.bump();
3559
3538
  return !0;
@@ -3575,7 +3554,7 @@ var Un = (
3575
3554
  break;
3576
3555
  }
3577
3556
  }, e.prototype.bumpSpace = function() {
3578
- for (; !this.isEOF() && zt(this.char()); )
3557
+ for (; !this.isEOF() && Wt(this.char()); )
3579
3558
  this.bump();
3580
3559
  }, e.prototype.peek = function() {
3581
3560
  if (this.isEOF())
@@ -3585,47 +3564,47 @@ var Un = (
3585
3564
  }, e;
3586
3565
  }()
3587
3566
  );
3588
- function ke(e) {
3567
+ function Ue(e) {
3589
3568
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3590
3569
  }
3591
- function Gn(e) {
3592
- return ke(e) || e === 47;
3570
+ function Dn(e) {
3571
+ return Ue(e) || e === 47;
3593
3572
  }
3594
- function Fn(e) {
3573
+ function Un(e) {
3595
3574
  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;
3596
3575
  }
3597
- function zt(e) {
3576
+ function Wt(e) {
3598
3577
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3599
3578
  }
3600
- function jn(e) {
3579
+ function Gn(e) {
3601
3580
  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;
3602
3581
  }
3603
- function Ve(e) {
3582
+ function Ge(e) {
3604
3583
  e.forEach(function(t) {
3605
- if (delete t.location, Rt(t) || Dt(t))
3584
+ if (delete t.location, $t(t) || Rt(t))
3606
3585
  for (var r in t.options)
3607
- delete t.options[r].location, Ve(t.options[r].value);
3586
+ delete t.options[r].location, Ge(t.options[r].value);
3608
3587
  else
3609
- Lt(t) && Gt(t.style) || (Mt(t) || $t(t)) && Ue(t.style) ? delete t.style.location : Ut(t) && Ve(t.children);
3588
+ Nt(t) && Ut(t.style) || (Lt(t) || Mt(t)) && Me(t.style) ? delete t.style.location : Dt(t) && Ge(t.children);
3610
3589
  });
3611
3590
  }
3612
- function kn(e, t) {
3613
- t === void 0 && (t = {}), t = ce({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3614
- var r = new Un(e, t).parse();
3591
+ function Fn(e, t) {
3592
+ t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3593
+ var r = new Rn(e, t).parse();
3615
3594
  if (r.err) {
3616
3595
  var n = SyntaxError(d[r.err.kind]);
3617
3596
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3618
3597
  }
3619
- return t?.captureLocation || Ve(r.val), r.val;
3598
+ return t?.captureLocation || Ge(r.val), r.val;
3620
3599
  }
3621
- var F;
3600
+ var j;
3622
3601
  (function(e) {
3623
3602
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3624
- })(F || (F = {}));
3625
- var ge = (
3603
+ })(j || (j = {}));
3604
+ var be = (
3626
3605
  /** @class */
3627
3606
  function(e) {
3628
- ve(t, e);
3607
+ w(t, e);
3629
3608
  function t(r, n, i) {
3630
3609
  var o = e.call(this, r) || this;
3631
3610
  return o.code = n, o.originalMessage = i, o;
@@ -3634,155 +3613,155 @@ var ge = (
3634
3613
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3635
3614
  }, t;
3636
3615
  }(Error)
3637
- ), pt = (
3616
+ ), ft = (
3638
3617
  /** @class */
3639
3618
  function(e) {
3640
- ve(t, e);
3619
+ w(t, e);
3641
3620
  function t(r, n, i, o) {
3642
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), F.INVALID_VALUE, o) || this;
3621
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
3643
3622
  }
3644
3623
  return t;
3645
- }(ge)
3646
- ), Vn = (
3624
+ }(be)
3625
+ ), jn = (
3647
3626
  /** @class */
3648
3627
  function(e) {
3649
- ve(t, e);
3628
+ w(t, e);
3650
3629
  function t(r, n, i) {
3651
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), F.INVALID_VALUE, i) || this;
3630
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3652
3631
  }
3653
3632
  return t;
3654
- }(ge)
3655
- ), Xn = (
3633
+ }(be)
3634
+ ), kn = (
3656
3635
  /** @class */
3657
3636
  function(e) {
3658
- ve(t, e);
3637
+ w(t, e);
3659
3638
  function t(r, n) {
3660
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), F.MISSING_VALUE, n) || this;
3639
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
3661
3640
  }
3662
3641
  return t;
3663
- }(ge)
3664
- ), x;
3642
+ }(be)
3643
+ ), _;
3665
3644
  (function(e) {
3666
3645
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3667
- })(x || (x = {}));
3668
- function Wn(e) {
3646
+ })(_ || (_ = {}));
3647
+ function Vn(e) {
3669
3648
  return e.length < 2 ? e : e.reduce(function(t, r) {
3670
3649
  var n = t[t.length - 1];
3671
- return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3650
+ return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3672
3651
  }, []);
3673
3652
  }
3674
- function zn(e) {
3653
+ function Xn(e) {
3675
3654
  return typeof e == "function";
3676
3655
  }
3677
3656
  function he(e, t, r, n, i, o, s) {
3678
- if (e.length === 1 && st(e[0]))
3657
+ if (e.length === 1 && it(e[0]))
3679
3658
  return [
3680
3659
  {
3681
- type: x.literal,
3660
+ type: _.literal,
3682
3661
  value: e[0].value
3683
3662
  }
3684
3663
  ];
3685
3664
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3686
3665
  var l = u[h];
3687
- if (st(l)) {
3666
+ if (it(l)) {
3688
3667
  a.push({
3689
- type: x.literal,
3668
+ type: _.literal,
3690
3669
  value: l.value
3691
3670
  });
3692
3671
  continue;
3693
3672
  }
3694
- if (mn(l)) {
3673
+ if (pn(l)) {
3695
3674
  typeof o == "number" && a.push({
3696
- type: x.literal,
3675
+ type: _.literal,
3697
3676
  value: r.getNumberFormat(t).format(o)
3698
3677
  });
3699
3678
  continue;
3700
3679
  }
3701
3680
  var f = l.value;
3702
3681
  if (!(i && f in i))
3703
- throw new Xn(f, s);
3682
+ throw new kn(f, s);
3704
3683
  var c = i[f];
3705
- if (dn(l)) {
3684
+ if (cn(l)) {
3706
3685
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3707
- type: typeof c == "string" ? x.literal : x.object,
3686
+ type: typeof c == "string" ? _.literal : _.object,
3708
3687
  value: c
3709
3688
  });
3710
3689
  continue;
3711
3690
  }
3712
- if (Mt(l)) {
3713
- var b = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
3691
+ if (Lt(l)) {
3692
+ var g = typeof l.style == "string" ? n.date[l.style] : Me(l.style) ? l.style.parsedOptions : void 0;
3714
3693
  a.push({
3715
- type: x.literal,
3716
- value: r.getDateTimeFormat(t, b).format(c)
3694
+ type: _.literal,
3695
+ value: r.getDateTimeFormat(t, g).format(c)
3717
3696
  });
3718
3697
  continue;
3719
3698
  }
3720
- if ($t(l)) {
3721
- var b = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
3699
+ if (Mt(l)) {
3700
+ var g = typeof l.style == "string" ? n.time[l.style] : Me(l.style) ? l.style.parsedOptions : n.time.medium;
3722
3701
  a.push({
3723
- type: x.literal,
3724
- value: r.getDateTimeFormat(t, b).format(c)
3702
+ type: _.literal,
3703
+ value: r.getDateTimeFormat(t, g).format(c)
3725
3704
  });
3726
3705
  continue;
3727
3706
  }
3728
- if (Lt(l)) {
3729
- var b = typeof l.style == "string" ? n.number[l.style] : Gt(l.style) ? l.style.parsedOptions : void 0;
3730
- b && b.scale && (c = c * (b.scale || 1)), a.push({
3731
- type: x.literal,
3732
- value: r.getNumberFormat(t, b).format(c)
3707
+ if (Nt(l)) {
3708
+ var g = typeof l.style == "string" ? n.number[l.style] : Ut(l.style) ? l.style.parsedOptions : void 0;
3709
+ g && g.scale && (c = c * (g.scale || 1)), a.push({
3710
+ type: _.literal,
3711
+ value: r.getNumberFormat(t, g).format(c)
3733
3712
  });
3734
3713
  continue;
3735
3714
  }
3736
- if (Ut(l)) {
3737
- var p = l.children, g = l.value, E = i[g];
3738
- if (!zn(E))
3739
- throw new Vn(g, "function", s);
3740
- var W = he(p, t, r, n, i, o), L = E(W.map(function(P) {
3715
+ if (Dt(l)) {
3716
+ var p = l.children, y = l.value, E = i[y];
3717
+ if (!Xn(E))
3718
+ throw new jn(y, "function", s);
3719
+ var z = he(p, t, r, n, i, o), L = E(z.map(function(P) {
3741
3720
  return P.value;
3742
3721
  }));
3743
3722
  Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(P) {
3744
3723
  return {
3745
- type: typeof P == "string" ? x.literal : x.object,
3724
+ type: typeof P == "string" ? _.literal : _.object,
3746
3725
  value: P
3747
3726
  };
3748
3727
  }));
3749
3728
  }
3750
- if (Rt(l)) {
3729
+ if ($t(l)) {
3751
3730
  var T = l.options[c] || l.options.other;
3752
3731
  if (!T)
3753
- throw new pt(l.value, c, Object.keys(l.options), s);
3732
+ throw new ft(l.value, c, Object.keys(l.options), s);
3754
3733
  a.push.apply(a, he(T.value, t, r, n, i));
3755
3734
  continue;
3756
3735
  }
3757
- if (Dt(l)) {
3736
+ if (Rt(l)) {
3758
3737
  var T = l.options["=".concat(c)];
3759
3738
  if (!T) {
3760
3739
  if (!Intl.PluralRules)
3761
- throw new ge(`Intl.PluralRules is not available in this environment.
3740
+ throw new be(`Intl.PluralRules is not available in this environment.
3762
3741
  Try polyfilling it using "@formatjs/intl-pluralrules"
3763
- `, F.MISSING_INTL_API, s);
3764
- var z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3765
- T = l.options[z] || l.options.other;
3742
+ `, j.MISSING_INTL_API, s);
3743
+ var Z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3744
+ T = l.options[Z] || l.options.other;
3766
3745
  }
3767
3746
  if (!T)
3768
- throw new pt(l.value, c, Object.keys(l.options), s);
3747
+ throw new ft(l.value, c, Object.keys(l.options), s);
3769
3748
  a.push.apply(a, he(T.value, t, r, n, i, c - (l.offset || 0)));
3770
3749
  continue;
3771
3750
  }
3772
3751
  }
3773
- return Wn(a);
3752
+ return Vn(a);
3774
3753
  }
3775
- function Zn(e, t) {
3776
- return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3777
- return r[n] = w(w({}, e[n]), t[n] || {}), r;
3754
+ function Wn(e, t) {
3755
+ return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3756
+ return r[n] = b(b({}, e[n]), t[n] || {}), r;
3778
3757
  }, {})) : e;
3779
3758
  }
3780
- function Qn(e, t) {
3759
+ function zn(e, t) {
3781
3760
  return t ? Object.keys(e).reduce(function(r, n) {
3782
- return r[n] = Zn(e[n], t[n]), r;
3783
- }, w({}, e)) : e;
3761
+ return r[n] = Wn(e[n], t[n]), r;
3762
+ }, b({}, e)) : e;
3784
3763
  }
3785
- function Be(e) {
3764
+ function He(e) {
3786
3765
  return {
3787
3766
  create: function() {
3788
3767
  return {
@@ -3796,39 +3775,39 @@ function Be(e) {
3796
3775
  }
3797
3776
  };
3798
3777
  }
3799
- function Jn(e) {
3778
+ function Zn(e) {
3800
3779
  return e === void 0 && (e = {
3801
3780
  number: {},
3802
3781
  dateTime: {},
3803
3782
  pluralRules: {}
3804
3783
  }), {
3805
- getNumberFormat: Te(function() {
3784
+ getNumberFormat: Ee(function() {
3806
3785
  for (var t, r = [], n = 0; n < arguments.length; n++)
3807
3786
  r[n] = arguments[n];
3808
- return new ((t = Intl.NumberFormat).bind.apply(t, Se([void 0], r, !1)))();
3787
+ return new ((t = Intl.NumberFormat).bind.apply(t, U([void 0], r, !1)))();
3809
3788
  }, {
3810
- cache: Be(e.number),
3811
- strategy: we.variadic
3789
+ cache: He(e.number),
3790
+ strategy: Se.variadic
3812
3791
  }),
3813
- getDateTimeFormat: Te(function() {
3792
+ getDateTimeFormat: Ee(function() {
3814
3793
  for (var t, r = [], n = 0; n < arguments.length; n++)
3815
3794
  r[n] = arguments[n];
3816
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Se([void 0], r, !1)))();
3795
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, U([void 0], r, !1)))();
3817
3796
  }, {
3818
- cache: Be(e.dateTime),
3819
- strategy: we.variadic
3797
+ cache: He(e.dateTime),
3798
+ strategy: Se.variadic
3820
3799
  }),
3821
- getPluralRules: Te(function() {
3800
+ getPluralRules: Ee(function() {
3822
3801
  for (var t, r = [], n = 0; n < arguments.length; n++)
3823
3802
  r[n] = arguments[n];
3824
- return new ((t = Intl.PluralRules).bind.apply(t, Se([void 0], r, !1)))();
3803
+ return new ((t = Intl.PluralRules).bind.apply(t, U([void 0], r, !1)))();
3825
3804
  }, {
3826
- cache: Be(e.pluralRules),
3827
- strategy: we.variadic
3805
+ cache: He(e.pluralRules),
3806
+ strategy: Se.variadic
3828
3807
  })
3829
3808
  };
3830
3809
  }
3831
- var Yn = (
3810
+ var Qn = (
3832
3811
  /** @class */
3833
3812
  function() {
3834
3813
  function e(t, r, n, i) {
@@ -3843,7 +3822,7 @@ var Yn = (
3843
3822
  if (u.length === 1)
3844
3823
  return u[0].value;
3845
3824
  var l = u.reduce(function(f, c) {
3846
- return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3825
+ return !f.length || c.type !== _.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3847
3826
  }, []);
3848
3827
  return l.length <= 1 ? l[0] || "" : l;
3849
3828
  }, this.formatToParts = function(h) {
@@ -3860,13 +3839,13 @@ var Yn = (
3860
3839
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3861
3840
  var s = i || {};
3862
3841
  s.formatters;
3863
- var a = sn(s, ["formatters"]);
3864
- this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
3842
+ var a = Br(s, ["formatters"]);
3843
+ this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
3865
3844
  } else
3866
3845
  this.ast = t;
3867
3846
  if (!Array.isArray(this.ast))
3868
3847
  throw new TypeError("A message must be provided as a String or AST.");
3869
- this.formats = Qn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
3848
+ this.formats = zn(e.formats, n), this.formatters = i && i.formatters || Zn(this.formatterCache);
3870
3849
  }
3871
3850
  return Object.defineProperty(e, "defaultLocale", {
3872
3851
  get: function() {
@@ -3879,7 +3858,7 @@ var Yn = (
3879
3858
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3880
3859
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3881
3860
  }
3882
- }, e.__parse = kn, e.formats = {
3861
+ }, e.__parse = Fn, e.formats = {
3883
3862
  number: {
3884
3863
  integer: {
3885
3864
  maximumFractionDigits: 0
@@ -3940,7 +3919,7 @@ var Yn = (
3940
3919
  }, e;
3941
3920
  }()
3942
3921
  );
3943
- function qn(e, t) {
3922
+ function Jn(e, t) {
3944
3923
  if (t == null)
3945
3924
  return;
3946
3925
  if (t in e)
@@ -3961,92 +3940,92 @@ function qn(e, t) {
3961
3940
  n = void 0;
3962
3941
  return n;
3963
3942
  }
3964
- const A = {}, Kn = (e, t, r) => r && (t in A || (A[t] = {}), e in A[t] || (A[t][e] = r), r), Zt = (e, t) => {
3943
+ const A = {}, Yn = (e, t, r) => r && (t in A || (A[t] = {}), e in A[t] || (A[t][e] = r), r), zt = (e, t) => {
3965
3944
  if (t == null)
3966
3945
  return;
3967
3946
  if (t in A && e in A[t])
3968
3947
  return A[t][e];
3969
- const r = ye(t);
3948
+ const r = ge(t);
3970
3949
  for (let n = 0; n < r.length; n++) {
3971
- const i = r[n], o = ti(i, e);
3950
+ const i = r[n], o = Kn(i, e);
3972
3951
  if (o)
3973
- return Kn(e, t, o);
3952
+ return Yn(e, t, o);
3974
3953
  }
3975
3954
  };
3976
- let ze;
3977
- const re = be({});
3978
- function ei(e) {
3979
- return ze[e] || null;
3955
+ let Xe;
3956
+ const re = me({});
3957
+ function qn(e) {
3958
+ return Xe[e] || null;
3980
3959
  }
3981
- function Qt(e) {
3982
- return e in ze;
3960
+ function Zt(e) {
3961
+ return e in Xe;
3983
3962
  }
3984
- function ti(e, t) {
3985
- if (!Qt(e))
3963
+ function Kn(e, t) {
3964
+ if (!Zt(e))
3986
3965
  return null;
3987
- const r = ei(e);
3988
- return qn(r, t);
3966
+ const r = qn(e);
3967
+ return Jn(r, t);
3989
3968
  }
3990
- function ri(e) {
3969
+ function ei(e) {
3991
3970
  if (e == null)
3992
3971
  return;
3993
- const t = ye(e);
3972
+ const t = ge(e);
3994
3973
  for (let r = 0; r < t.length; r++) {
3995
3974
  const n = t[r];
3996
- if (Qt(n))
3975
+ if (Zt(n))
3997
3976
  return n;
3998
3977
  }
3999
3978
  }
4000
- function ni(e, ...t) {
3979
+ function ti(e, ...t) {
4001
3980
  delete A[e], re.update((r) => (r[e] = on.all([r[e] || {}, ...t]), r));
4002
3981
  }
4003
- V(
3982
+ X(
4004
3983
  [re],
4005
3984
  ([e]) => Object.keys(e)
4006
3985
  );
4007
- re.subscribe((e) => ze = e);
3986
+ re.subscribe((e) => Xe = e);
4008
3987
  const le = {};
4009
- function ii(e, t) {
3988
+ function ri(e, t) {
4010
3989
  le[e].delete(t), le[e].size === 0 && delete le[e];
4011
3990
  }
4012
- function Jt(e) {
3991
+ function Qt(e) {
4013
3992
  return le[e];
4014
3993
  }
4015
- function oi(e) {
4016
- return ye(e).map((t) => {
4017
- const r = Jt(t);
3994
+ function ni(e) {
3995
+ return ge(e).map((t) => {
3996
+ const r = Qt(t);
4018
3997
  return [t, r ? [...r] : []];
4019
3998
  }).filter(([, t]) => t.length > 0);
4020
3999
  }
4021
- function Xe(e) {
4022
- return e == null ? !1 : ye(e).some(
4000
+ function Fe(e) {
4001
+ return e == null ? !1 : ge(e).some(
4023
4002
  (t) => {
4024
4003
  var r;
4025
- return (r = Jt(t)) == null ? void 0 : r.size;
4004
+ return (r = Qt(t)) == null ? void 0 : r.size;
4026
4005
  }
4027
4006
  );
4028
4007
  }
4029
- function si(e, t) {
4008
+ function ii(e, t) {
4030
4009
  return Promise.all(
4031
- t.map((n) => (ii(e, n), n().then((i) => i.default || i)))
4032
- ).then((n) => ni(e, ...n));
4033
- }
4034
- const Z = {};
4035
- function Yt(e) {
4036
- if (!Xe(e))
4037
- return e in Z ? Z[e] : Promise.resolve();
4038
- const t = oi(e);
4039
- return Z[e] = Promise.all(
4010
+ t.map((n) => (ri(e, n), n().then((i) => i.default || i)))
4011
+ ).then((n) => ti(e, ...n));
4012
+ }
4013
+ const Q = {};
4014
+ function Jt(e) {
4015
+ if (!Fe(e))
4016
+ return e in Q ? Q[e] : Promise.resolve();
4017
+ const t = ni(e);
4018
+ return Q[e] = Promise.all(
4040
4019
  t.map(
4041
- ([r, n]) => si(r, n)
4020
+ ([r, n]) => ii(r, n)
4042
4021
  )
4043
4022
  ).then(() => {
4044
- if (Xe(e))
4045
- return Yt(e);
4046
- delete Z[e];
4047
- }), Z[e];
4023
+ if (Fe(e))
4024
+ return Jt(e);
4025
+ delete Q[e];
4026
+ }), Q[e];
4048
4027
  }
4049
- const ai = {
4028
+ const oi = {
4050
4029
  number: {
4051
4030
  scientific: { notation: "scientific" },
4052
4031
  engineering: { notation: "engineering" },
@@ -4075,150 +4054,150 @@ const ai = {
4075
4054
  timeZoneName: "short"
4076
4055
  }
4077
4056
  }
4078
- }, ui = {
4057
+ }, si = {
4079
4058
  fallbackLocale: null,
4080
4059
  loadingDelay: 200,
4081
- formats: ai,
4060
+ formats: oi,
4082
4061
  warnOnMissingMessages: !0,
4083
4062
  handleMissingMessage: void 0,
4084
4063
  ignoreTag: !0
4085
- }, hi = ui;
4086
- function j() {
4087
- return hi;
4064
+ }, ai = si;
4065
+ function k() {
4066
+ return ai;
4088
4067
  }
4089
- const Ae = be(!1);
4090
- var li = Object.defineProperty, fi = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, pi = Object.prototype.hasOwnProperty, di = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mi = (e, t) => {
4068
+ const we = me(!1);
4069
+ var ui = Object.defineProperty, hi = Object.defineProperties, li = Object.getOwnPropertyDescriptors, ct = Object.getOwnPropertySymbols, fi = Object.prototype.hasOwnProperty, ci = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pi = (e, t) => {
4091
4070
  for (var r in t || (t = {}))
4092
- pi.call(t, r) && mt(e, r, t[r]);
4093
- if (dt)
4094
- for (var r of dt(t))
4095
- di.call(t, r) && mt(e, r, t[r]);
4071
+ fi.call(t, r) && pt(e, r, t[r]);
4072
+ if (ct)
4073
+ for (var r of ct(t))
4074
+ ci.call(t, r) && pt(e, r, t[r]);
4096
4075
  return e;
4097
- }, bi = (e, t) => fi(e, ci(t));
4098
- let We;
4099
- const pe = be(null);
4100
- function bt(e) {
4076
+ }, di = (e, t) => hi(e, li(t));
4077
+ let je;
4078
+ const ce = me(null);
4079
+ function dt(e) {
4101
4080
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4102
4081
  }
4103
- function ye(e, t = j().fallbackLocale) {
4104
- const r = bt(e);
4105
- return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
4082
+ function ge(e, t = k().fallbackLocale) {
4083
+ const r = dt(e);
4084
+ return t ? [.../* @__PURE__ */ new Set([...r, ...dt(t)])] : r;
4106
4085
  }
4107
- function C() {
4108
- return We ?? void 0;
4086
+ function N() {
4087
+ return je ?? void 0;
4109
4088
  }
4110
- pe.subscribe((e) => {
4111
- We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4089
+ ce.subscribe((e) => {
4090
+ je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4112
4091
  });
4113
- const vi = (e) => {
4114
- if (e && ri(e) && Xe(e)) {
4115
- const { loadingDelay: t } = j();
4092
+ const mi = (e) => {
4093
+ if (e && ei(e) && Fe(e)) {
4094
+ const { loadingDelay: t } = k();
4116
4095
  let r;
4117
- return typeof window < "u" && C() != null && t ? r = window.setTimeout(
4118
- () => Ae.set(!0),
4096
+ return typeof window < "u" && N() != null && t ? r = window.setTimeout(
4097
+ () => we.set(!0),
4119
4098
  t
4120
- ) : Ae.set(!0), Yt(e).then(() => {
4121
- pe.set(e);
4099
+ ) : we.set(!0), Jt(e).then(() => {
4100
+ ce.set(e);
4122
4101
  }).finally(() => {
4123
- clearTimeout(r), Ae.set(!1);
4102
+ clearTimeout(r), we.set(!1);
4124
4103
  });
4125
4104
  }
4126
- return pe.set(e);
4127
- }, ne = bi(mi({}, pe), {
4128
- set: vi
4129
- }), _e = (e) => {
4105
+ return ce.set(e);
4106
+ }, ne = di(pi({}, ce), {
4107
+ set: mi
4108
+ }), ve = (e) => {
4130
4109
  const t = /* @__PURE__ */ Object.create(null);
4131
4110
  return (n) => {
4132
4111
  const i = JSON.stringify(n);
4133
4112
  return i in t ? t[i] : t[i] = e(n);
4134
4113
  };
4135
4114
  };
4136
- var gi = Object.defineProperty, de = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
4115
+ var bi = Object.defineProperty, pe = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
4137
4116
  for (var r in t || (t = {}))
4138
- qt.call(t, r) && vt(e, r, t[r]);
4139
- if (de)
4140
- for (var r of de(t))
4141
- Kt.call(t, r) && vt(e, r, t[r]);
4117
+ Yt.call(t, r) && mt(e, r, t[r]);
4118
+ if (pe)
4119
+ for (var r of pe(t))
4120
+ qt.call(t, r) && mt(e, r, t[r]);
4142
4121
  return e;
4143
- }, X = (e, t) => {
4122
+ }, W = (e, t) => {
4144
4123
  var r = {};
4145
4124
  for (var n in e)
4146
- qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4147
- if (e != null && de)
4148
- for (var n of de(e))
4149
- t.indexOf(n) < 0 && Kt.call(e, n) && (r[n] = e[n]);
4125
+ Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4126
+ if (e != null && pe)
4127
+ for (var n of pe(e))
4128
+ t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
4150
4129
  return r;
4151
4130
  };
4152
- const q = (e, t) => {
4153
- const { formats: r } = j();
4131
+ const K = (e, t) => {
4132
+ const { formats: r } = k();
4154
4133
  if (e in r && t in r[e])
4155
4134
  return r[e][t];
4156
4135
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4157
- }, yi = _e(
4136
+ }, gi = ve(
4158
4137
  (e) => {
4159
- var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
4138
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4160
4139
  if (r == null)
4161
4140
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4162
- return n && (i = q("number", n)), new Intl.NumberFormat(r, i);
4141
+ return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
4163
4142
  }
4164
- ), _i = _e(
4143
+ ), vi = ve(
4165
4144
  (e) => {
4166
- var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
4145
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4167
4146
  if (r == null)
4168
4147
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4169
- return n ? i = q("date", n) : Object.keys(i).length === 0 && (i = q("date", "short")), new Intl.DateTimeFormat(r, i);
4148
+ return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
4170
4149
  }
4171
- ), xi = _e(
4150
+ ), yi = ve(
4172
4151
  (e) => {
4173
- var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
4152
+ var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4174
4153
  if (r == null)
4175
4154
  throw new Error(
4176
4155
  '[svelte-i18n] A "locale" must be set to format time values'
4177
4156
  );
4178
- return n ? i = q("time", n) : Object.keys(i).length === 0 && (i = q("time", "short")), new Intl.DateTimeFormat(r, i);
4157
+ return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
4179
4158
  }
4180
- ), Ei = (e = {}) => {
4159
+ ), xi = (e = {}) => {
4181
4160
  var t = e, {
4182
- locale: r = C()
4183
- } = t, n = X(t, [
4161
+ locale: r = N()
4162
+ } = t, n = W(t, [
4184
4163
  "locale"
4185
4164
  ]);
4186
- return yi(Ze({ locale: r }, n));
4187
- }, Si = (e = {}) => {
4165
+ return gi(We({ locale: r }, n));
4166
+ }, _i = (e = {}) => {
4188
4167
  var t = e, {
4189
- locale: r = C()
4190
- } = t, n = X(t, [
4168
+ locale: r = N()
4169
+ } = t, n = W(t, [
4191
4170
  "locale"
4192
4171
  ]);
4193
- return _i(Ze({ locale: r }, n));
4194
- }, Ti = (e = {}) => {
4172
+ return vi(We({ locale: r }, n));
4173
+ }, Ei = (e = {}) => {
4195
4174
  var t = e, {
4196
- locale: r = C()
4197
- } = t, n = X(t, [
4175
+ locale: r = N()
4176
+ } = t, n = W(t, [
4198
4177
  "locale"
4199
4178
  ]);
4200
- return xi(Ze({ locale: r }, n));
4201
- }, wi = _e(
4179
+ return yi(We({ locale: r }, n));
4180
+ }, Si = ve(
4202
4181
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4203
- (e, t = C()) => new Yn(e, t, j().formats, {
4204
- ignoreTag: j().ignoreTag
4182
+ (e, t = N()) => new Qn(e, t, k().formats, {
4183
+ ignoreTag: k().ignoreTag
4205
4184
  })
4206
- ), Hi = (e, t = {}) => {
4185
+ ), Ti = (e, t = {}) => {
4207
4186
  var r, n, i, o;
4208
4187
  let s = t;
4209
4188
  typeof e == "object" && (s = e, e = s.id);
4210
4189
  const {
4211
4190
  values: a,
4212
- locale: h = C(),
4191
+ locale: h = N(),
4213
4192
  default: u
4214
4193
  } = s;
4215
4194
  if (h == null)
4216
4195
  throw new Error(
4217
4196
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4218
4197
  );
4219
- let l = Zt(e, h);
4198
+ let l = zt(e, h);
4220
4199
  if (!l)
4221
- l = (o = (i = (n = (r = j()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4200
+ l = (o = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4222
4201
  else if (typeof l != "string")
4223
4202
  return console.warn(
4224
4203
  `[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.`
@@ -4227,7 +4206,7 @@ const q = (e, t) => {
4227
4206
  return l;
4228
4207
  let f = l;
4229
4208
  try {
4230
- f = wi(l, h).format(a);
4209
+ f = Si(l, h).format(a);
4231
4210
  } catch (c) {
4232
4211
  c instanceof Error && console.warn(
4233
4212
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4235,36 +4214,36 @@ const q = (e, t) => {
4235
4214
  );
4236
4215
  }
4237
4216
  return f;
4238
- }, Bi = (e, t) => Ti(t).format(e), Ai = (e, t) => Si(t).format(e), Pi = (e, t) => Ei(t).format(e), Oi = (e, t = C()) => Zt(e, t);
4239
- V([ne, re], () => Hi);
4240
- V([ne], () => Bi);
4241
- V([ne], () => Ai);
4242
- V([ne], () => Pi);
4243
- V([ne, re], () => Oi);
4217
+ }, Hi = (e, t) => Ei(t).format(e), wi = (e, t) => _i(t).format(e), Bi = (e, t) => xi(t).format(e), Ai = (e, t = N()) => zt(e, t);
4218
+ X([ne, re], () => Ti);
4219
+ X([ne], () => Hi);
4220
+ X([ne], () => wi);
4221
+ X([ne], () => Bi);
4222
+ X([ne, re], () => Ai);
4244
4223
  window.emWidgets = { topic: Fr };
4245
- const Ii = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4224
+ const Pi = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4246
4225
  String(Number.MAX_SAFE_INTEGER).length;
4247
- function Ni(e) {
4248
- nr(e, "svelte-q9wa7c", "*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsCard.Mobile{margin:10px 0}.DetailsCard.Mobile .DetailsTitle{padding:0 10px;height:30px}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}");
4226
+ function Oi(e) {
4227
+ rr(e, "svelte-q9wa7c", "*,*::before,*::after{box-sizing:border-box}.Title{text-transform:uppercase}.DetailsCard{border:1px solid var(--emw--color-contrast, #07072A);color:var(--emw--color-white, #FFFFFF);width:100%;margin:25px 0 25px 0}.DetailsCard.Mobile{margin:10px 0}.DetailsCard.Mobile .DetailsTitle{padding:0 10px;height:30px}.DetailsTitle{padding:0 20px;height:60px;display:flex;align-items:center;justify-content:space-between;background:var(--emw--color-contrast, #07072A)}.DetailsContent{overflow:auto;height:150px;font-size:14px;padding:10px 10px 10px 20px;margin:10px 20px 10px 0}.sc::-webkit-scrollbar{width:5px;height:5px}.sc::-webkit-scrollbar-track{background-color:rgba(255, 255, 255, 0.1);border-radius:var(--emw--border-radius-medium, 10px)}.sc::-webkit-scrollbar-thumb{background-color:var(--emw--color-white, #FFFFFF);border-radius:var(--emw--border-radius-medium, 10px)}");
4249
4228
  }
4250
- function gt(e) {
4229
+ function bt(e) {
4251
4230
  let t, r, n, i, o, s, a;
4252
4231
  function h(f, c) {
4253
4232
  return (
4254
4233
  /*collapsed*/
4255
- f[3] ? Ci : Li
4234
+ f[3] ? Ii : Ci
4256
4235
  );
4257
4236
  }
4258
4237
  let u = h(e), l = u(e);
4259
4238
  return {
4260
4239
  c() {
4261
- t = I("div"), r = I("p"), n = Et(
4240
+ t = I("div"), r = I("p"), n = xt(
4262
4241
  /*title*/
4263
4242
  e[0]
4264
- ), i = St(), o = I("div"), l.c(), v(r, "class", "Title"), v(r, "part", "Title"), v(o, "class", "CollapseButtonDetails"), v(o, "part", "CollapseButtonDetails"), v(t, "class", "DetailsTitle"), v(t, "part", "DetailsTitle");
4243
+ ), i = _t(), o = I("div"), l.c(), v(r, "class", "Title"), v(r, "part", "Title"), v(o, "class", "CollapseButtonDetails"), v(o, "part", "CollapseButtonDetails"), v(t, "class", "DetailsTitle"), v(t, "part", "DetailsTitle");
4265
4244
  },
4266
4245
  m(f, c) {
4267
- k(f, t, c), B(t, r), B(r, n), B(t, i), B(t, o), l.m(o, null), s || (a = sr(
4246
+ V(f, t, c), B(t, r), B(r, n), B(t, i), B(t, o), l.m(o, null), s || (a = or(
4268
4247
  t,
4269
4248
  "click",
4270
4249
  /*collapseText*/
@@ -4273,53 +4252,53 @@ function gt(e) {
4273
4252
  },
4274
4253
  p(f, c) {
4275
4254
  c & /*title*/
4276
- 1 && ur(
4255
+ 1 && ar(
4277
4256
  n,
4278
4257
  /*title*/
4279
4258
  f[0]
4280
4259
  ), u !== (u = h(f)) && (l.d(1), l = u(f), l && (l.c(), l.m(o, null)));
4281
4260
  },
4282
4261
  d(f) {
4283
- f && N(t), l.d(), s = !1, a();
4262
+ f && C(t), l.d(), s = !1, a();
4284
4263
  }
4285
4264
  };
4286
4265
  }
4287
- function Ci(e) {
4266
+ function Ii(e) {
4288
4267
  let t, r;
4289
4268
  return {
4290
4269
  c() {
4291
4270
  t = fe("svg"), r = fe("path"), v(r, "d", "M6 9l6 6 6-6"), v(t, "xmlns", "http://www.w3.org/2000/svg"), v(t, "width", "24"), v(t, "height", "24"), v(t, "viewBox", "0 0 24 24"), v(t, "fill", "none"), v(t, "stroke", "#ffffff"), v(t, "stroke-width", "2"), v(t, "stroke-linecap", "round"), v(t, "stroke-linejoin", "round");
4292
4271
  },
4293
4272
  m(n, i) {
4294
- k(n, t, i), B(t, r);
4273
+ V(n, t, i), B(t, r);
4295
4274
  },
4296
4275
  d(n) {
4297
- n && N(t);
4276
+ n && C(t);
4298
4277
  }
4299
4278
  };
4300
4279
  }
4301
- function Li(e) {
4280
+ function Ci(e) {
4302
4281
  let t, r;
4303
4282
  return {
4304
4283
  c() {
4305
4284
  t = fe("svg"), r = fe("path"), v(r, "d", "M18 15l-6-6-6 6"), v(t, "xmlns", "http://www.w3.org/2000/svg"), v(t, "width", "24"), v(t, "height", "24"), v(t, "viewBox", "0 0 24 24"), v(t, "fill", "none"), v(t, "stroke", "#ffffff"), v(t, "stroke-width", "2"), v(t, "stroke-linecap", "round"), v(t, "stroke-linejoin", "round");
4306
4285
  },
4307
4286
  m(n, i) {
4308
- k(n, t, i), B(t, r);
4287
+ V(n, t, i), B(t, r);
4309
4288
  },
4310
4289
  d(n) {
4311
- n && N(t);
4290
+ n && C(t);
4312
4291
  }
4313
4292
  };
4314
4293
  }
4315
- function yt(e) {
4294
+ function gt(e) {
4316
4295
  let t, r, n, i;
4317
4296
  return {
4318
4297
  c() {
4319
4298
  t = I("div"), t.innerHTML = "", v(t, "class", "DetailsContent sc"), v(t, "part", "DetailsContent");
4320
4299
  },
4321
4300
  m(o, s) {
4322
- k(o, t, s), n || (i = rr(r = /*setContent*/
4301
+ V(o, t, s), n || (i = tr(r = /*setContent*/
4323
4302
  e[6].call(
4324
4303
  null,
4325
4304
  t,
@@ -4328,7 +4307,7 @@ function yt(e) {
4328
4307
  )), n = !0);
4329
4308
  },
4330
4309
  p(o, s) {
4331
- r && ee(r.update) && s & /*text*/
4310
+ r && te(r.update) && s & /*text*/
4332
4311
  2 && r.update.call(
4333
4312
  null,
4334
4313
  /*text*/
@@ -4336,54 +4315,54 @@ function yt(e) {
4336
4315
  );
4337
4316
  },
4338
4317
  d(o) {
4339
- o && N(t), n = !1, i();
4318
+ o && C(t), n = !1, i();
4340
4319
  }
4341
4320
  };
4342
4321
  }
4343
- function Mi(e) {
4322
+ function Ni(e) {
4344
4323
  let t, r, n = (
4345
4324
  /*title*/
4346
- e[0] && gt(e)
4325
+ e[0] && bt(e)
4347
4326
  ), i = (
4348
4327
  /*text*/
4349
4328
  e[1] && !/*collapsed*/
4350
- e[3] && yt(e)
4329
+ e[3] && gt(e)
4351
4330
  );
4352
4331
  return {
4353
4332
  c() {
4354
- t = I("div"), n && n.c(), r = St(), i && i.c(), v(t, "class", "DetailsCard " + (Ii(
4333
+ t = I("div"), n && n.c(), r = _t(), i && i.c(), v(t, "class", "DetailsCard " + (Pi(
4355
4334
  /*userAgent*/
4356
4335
  e[4]
4357
4336
  ) ? "Mobile" : "")), v(t, "part", "DetailsCard");
4358
4337
  },
4359
4338
  m(o, s) {
4360
- k(o, t, s), n && n.m(t, null), B(t, r), i && i.m(t, null), e[10](t);
4339
+ V(o, t, s), n && n.m(t, null), B(t, r), i && i.m(t, null), e[10](t);
4361
4340
  },
4362
4341
  p(o, [s]) {
4363
4342
  /*title*/
4364
- o[0] ? n ? n.p(o, s) : (n = gt(o), n.c(), n.m(t, r)) : n && (n.d(1), n = null), /*text*/
4343
+ o[0] ? n ? n.p(o, s) : (n = bt(o), n.c(), n.m(t, r)) : n && (n.d(1), n = null), /*text*/
4365
4344
  o[1] && !/*collapsed*/
4366
- o[3] ? i ? i.p(o, s) : (i = yt(o), i.c(), i.m(t, null)) : i && (i.d(1), i = null);
4345
+ o[3] ? i ? i.p(o, s) : (i = gt(o), i.c(), i.m(t, null)) : i && (i.d(1), i = null);
4367
4346
  },
4368
4347
  i: S,
4369
4348
  o: S,
4370
4349
  d(o) {
4371
- o && N(t), n && n.d(), i && i.d(), e[10](null);
4350
+ o && C(t), n && n.d(), i && i.d(), e[10](null);
4372
4351
  }
4373
4352
  };
4374
4353
  }
4375
- function $i(e, t, r) {
4354
+ function Li(e, t, r) {
4376
4355
  let { title: n = "" } = t, { text: i = "" } = t, { mbsource: o } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, h, u = !1, l = window.navigator.userAgent;
4377
4356
  const f = () => {
4378
4357
  r(3, u = !u);
4379
- }, c = (p, g) => {
4358
+ }, c = (p, y) => {
4380
4359
  let E = document.createElement("div");
4381
- E.innerHTML = g, p.append(E);
4360
+ E.innerHTML = y, p.append(E);
4382
4361
  };
4383
- fr(() => () => {
4362
+ lr(() => () => {
4384
4363
  });
4385
- function b(p) {
4386
- Pe[p ? "unshift" : "push"](() => {
4364
+ function g(p) {
4365
+ Be[p ? "unshift" : "push"](() => {
4387
4366
  h = p, r(2, h);
4388
4367
  });
4389
4368
  }
@@ -4391,9 +4370,9 @@ function $i(e, t, r) {
4391
4370
  "title" in p && r(0, n = p.title), "text" in p && r(1, i = p.text), "mbsource" in p && r(7, o = p.mbsource), "clientstyling" in p && r(8, s = p.clientstyling), "clientstylingurl" in p && r(9, a = p.clientstylingurl);
4392
4371
  }, e.$$.update = () => {
4393
4372
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4394
- 260 && s && h && wr(h, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4373
+ 260 && s && h && Tr(h, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4395
4374
  516 && a && h && Hr(h, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4396
- 132 && o && h && Br(h, `${o}.Style`);
4375
+ 132 && o && h && wr(h, `${o}.Style`);
4397
4376
  }, [
4398
4377
  n,
4399
4378
  i,
@@ -4405,17 +4384,17 @@ function $i(e, t, r) {
4405
4384
  o,
4406
4385
  s,
4407
4386
  a,
4408
- b
4387
+ g
4409
4388
  ];
4410
4389
  }
4411
- class Ri extends Sr {
4390
+ class Mi extends Er {
4412
4391
  constructor(t) {
4413
4392
  super(), xr(
4414
4393
  this,
4415
4394
  t,
4416
- $i,
4417
- Mi,
4418
- xt,
4395
+ Li,
4396
+ Ni,
4397
+ yt,
4419
4398
  {
4420
4399
  title: 0,
4421
4400
  text: 1,
@@ -4423,7 +4402,7 @@ class Ri extends Sr {
4423
4402
  clientstyling: 8,
4424
4403
  clientstylingurl: 9
4425
4404
  },
4426
- Ni
4405
+ Oi
4427
4406
  );
4428
4407
  }
4429
4408
  get title() {
@@ -4457,7 +4436,7 @@ class Ri extends Sr {
4457
4436
  this.$$set({ clientstylingurl: t }), O();
4458
4437
  }
4459
4438
  }
4460
- Er(Ri, { title: {}, text: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4439
+ _r(Mi, { title: {}, text: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {} }, [], [], !0);
4461
4440
  export {
4462
- Ri as C
4441
+ Mi as C
4463
4442
  };