@everymatrix/casino-tournaments-details 1.86.4 → 1.86.6

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