@everymatrix/cashier-video-modal 1.76.1 → 1.76.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,28 +1,28 @@
1
1
  function S() {
2
2
  }
3
- function Ht(e) {
3
+ function xt(e) {
4
4
  return e();
5
5
  }
6
- function Qe() {
6
+ function ze() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function K(e) {
10
- e.forEach(Ht);
10
+ e.forEach(xt);
11
11
  }
12
- function Ve(e) {
12
+ function je(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function wt(e, t) {
15
+ function St(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let ie;
19
- function Je(e, t) {
19
+ function Ze(e, t) {
20
20
  return e === t ? !0 : (ie || (ie = document.createElement("a")), ie.href = t, e === ie.href);
21
21
  }
22
- function or(e) {
22
+ function rr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function sr(e, ...t) {
25
+ function nr(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const n of t)
28
28
  n(void 0);
@@ -34,14 +34,14 @@ function sr(e, ...t) {
34
34
  function T(e, t) {
35
35
  e.appendChild(t);
36
36
  }
37
- function ar(e, t, r) {
38
- const n = ur(e);
37
+ function ir(e, t, r) {
38
+ const n = or(e);
39
39
  if (!n.getElementById(t)) {
40
40
  const i = O("style");
41
- i.id = t, i.textContent = r, hr(n, i);
41
+ i.id = t, i.textContent = r, sr(n, i);
42
42
  }
43
43
  }
44
- function ur(e) {
44
+ function or(e) {
45
45
  if (!e)
46
46
  return document;
47
47
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -51,7 +51,7 @@ function ur(e) {
51
51
  t
52
52
  ) : e.ownerDocument;
53
53
  }
54
- function hr(e, t) {
54
+ function sr(e, t) {
55
55
  return T(
56
56
  /** @type {Document} */
57
57
  e.head || e,
@@ -70,28 +70,28 @@ function O(e) {
70
70
  function fe(e) {
71
71
  return document.createElementNS("http://www.w3.org/2000/svg", e);
72
72
  }
73
- function Tt(e) {
73
+ function Ht(e) {
74
74
  return document.createTextNode(e);
75
75
  }
76
- function qe() {
77
- return Tt(" ");
76
+ function Qe() {
77
+ return Ht(" ");
78
78
  }
79
- function lr() {
80
- return Tt("");
79
+ function ar() {
80
+ return Ht("");
81
81
  }
82
- function Bt(e, t, r, n) {
82
+ function wt(e, t, r, n) {
83
83
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
84
84
  }
85
85
  function _(e, t, r) {
86
86
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
87
87
  }
88
- function fr(e) {
88
+ function ur(e) {
89
89
  return Array.from(e.childNodes);
90
90
  }
91
- function Ye(e, t, r) {
91
+ function Je(e, t, r) {
92
92
  e.classList.toggle(t, !!r);
93
93
  }
94
- function cr(e) {
94
+ function hr(e) {
95
95
  const t = {};
96
96
  return e.childNodes.forEach(
97
97
  /** @param {Element} node */
@@ -104,25 +104,25 @@ let J;
104
104
  function Q(e) {
105
105
  J = e;
106
106
  }
107
- function pr() {
107
+ function lr() {
108
108
  if (!J)
109
109
  throw new Error("Function called outside component initialization");
110
110
  return J;
111
111
  }
112
- function dr(e) {
113
- pr().$$.on_mount.push(e);
112
+ function fr(e) {
113
+ lr().$$.on_mount.push(e);
114
114
  }
115
- const $ = [], Be = [];
115
+ const $ = [], Te = [];
116
116
  let U = [];
117
- const Ke = [], mr = /* @__PURE__ */ Promise.resolve();
118
- let Ae = !1;
119
- function br() {
120
- Ae || (Ae = !0, mr.then(R));
117
+ const qe = [], cr = /* @__PURE__ */ Promise.resolve();
118
+ let Be = !1;
119
+ function dr() {
120
+ Be || (Be = !0, cr.then(R));
121
121
  }
122
- function Ce(e) {
122
+ function Ae(e) {
123
123
  U.push(e);
124
124
  }
125
- const ye = /* @__PURE__ */ new Set();
125
+ const ve = /* @__PURE__ */ new Set();
126
126
  let N = 0;
127
127
  function R() {
128
128
  if (N !== 0)
@@ -132,53 +132,53 @@ function R() {
132
132
  try {
133
133
  for (; N < $.length; ) {
134
134
  const t = $[N];
135
- N++, Q(t), vr(t.$$);
135
+ N++, Q(t), pr(t.$$);
136
136
  }
137
137
  } catch (t) {
138
138
  throw $.length = 0, N = 0, t;
139
139
  }
140
- for (Q(null), $.length = 0, N = 0; Be.length; )
141
- Be.pop()();
140
+ for (Q(null), $.length = 0, N = 0; Te.length; )
141
+ Te.pop()();
142
142
  for (let t = 0; t < U.length; t += 1) {
143
143
  const r = U[t];
144
- ye.has(r) || (ye.add(r), r());
144
+ ve.has(r) || (ve.add(r), r());
145
145
  }
146
146
  U.length = 0;
147
147
  } while ($.length);
148
- for (; Ke.length; )
149
- Ke.pop()();
150
- Ae = !1, ye.clear(), Q(e);
148
+ for (; qe.length; )
149
+ qe.pop()();
150
+ Be = !1, ve.clear(), Q(e);
151
151
  }
152
- function vr(e) {
152
+ function pr(e) {
153
153
  if (e.fragment !== null) {
154
154
  e.update(), K(e.before_update);
155
155
  const t = e.dirty;
156
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ce);
156
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
157
157
  }
158
158
  }
159
- function gr(e) {
159
+ function mr(e) {
160
160
  const t = [], r = [];
161
161
  U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
162
162
  }
163
- const yr = /* @__PURE__ */ new Set();
164
- function _r(e, t) {
165
- e && e.i && (yr.delete(e), e.i(t));
163
+ const br = /* @__PURE__ */ new Set();
164
+ function gr(e, t) {
165
+ e && e.i && (br.delete(e), e.i(t));
166
166
  }
167
- function Er(e, t, r) {
167
+ function yr(e, t, r) {
168
168
  const { fragment: n, after_update: i } = e.$$;
169
- n && n.m(t, r), Ce(() => {
170
- const o = e.$$.on_mount.map(Ht).filter(Ve);
169
+ n && n.m(t, r), Ae(() => {
170
+ const o = e.$$.on_mount.map(xt).filter(je);
171
171
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
172
- }), i.forEach(Ce);
172
+ }), i.forEach(Ae);
173
173
  }
174
- function xr(e, t) {
174
+ function vr(e, t) {
175
175
  const r = e.$$;
176
- r.fragment !== null && (gr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
176
+ 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 = []);
177
177
  }
178
- function Sr(e, t) {
179
- e.$$.dirty[0] === -1 && ($.push(e), br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
178
+ function _r(e, t) {
179
+ e.$$.dirty[0] === -1 && ($.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
180
180
  }
181
- function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
181
+ function Er(e, t, r, n, i, o, s = null, a = [-1]) {
182
182
  const h = J;
183
183
  Q(e);
184
184
  const u = e.$$ = {
@@ -188,7 +188,7 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
188
188
  props: o,
189
189
  update: S,
190
190
  not_equal: i,
191
- bound: Qe(),
191
+ bound: ze(),
192
192
  // lifecycle
193
193
  on_mount: [],
194
194
  on_destroy: [],
@@ -197,28 +197,28 @@ function Hr(e, t, r, n, i, o, s = null, a = [-1]) {
197
197
  after_update: [],
198
198
  context: new Map(t.context || (h ? h.$$.context : [])),
199
199
  // everything else
200
- callbacks: Qe(),
200
+ callbacks: ze(),
201
201
  dirty: a,
202
202
  skip_bound: !1,
203
203
  root: t.target || h.$$.root
204
204
  };
205
205
  s && s(u.root);
206
206
  let l = !1;
207
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...b) => {
208
- const g = b.length ? b[0] : c;
209
- return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), l && Sr(e, f)), c;
210
- }) : [], u.update(), l = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
207
+ if (u.ctx = r(e, t.props || {}, (f, c, ...b) => {
208
+ const y = b.length ? b[0] : c;
209
+ return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), l && _r(e, f)), c;
210
+ }), u.update(), l = !0, K(u.before_update), u.fragment = n(u.ctx), t.target) {
211
211
  if (t.hydrate) {
212
- const f = fr(t.target);
212
+ const f = ur(t.target);
213
213
  u.fragment && u.fragment.l(f), f.forEach(k);
214
214
  } else
215
215
  u.fragment && u.fragment.c();
216
- t.intro && _r(e.$$.fragment), Er(e, t.target, t.anchor), R();
216
+ t.intro && gr(e.$$.fragment), yr(e, t.target, t.anchor), R();
217
217
  }
218
218
  Q(h);
219
219
  }
220
- let At;
221
- typeof HTMLElement == "function" && (At = class extends HTMLElement {
220
+ let Tt;
221
+ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
222
222
  /** The Svelte component constructor */
223
223
  $$ctor;
224
224
  /** Slots */
@@ -277,7 +277,7 @@ typeof HTMLElement == "function" && (At = class extends HTMLElement {
277
277
  };
278
278
  if (await Promise.resolve(), !this.$$cn || this.$$c)
279
279
  return;
280
- const t = {}, r = cr(this);
280
+ const t = {}, r = hr(this);
281
281
  for (const i of this.$$s)
282
282
  i in r && (t[i] = [e(i)]);
283
283
  for (const i of this.attributes) {
@@ -364,8 +364,8 @@ function ae(e, t, r, n) {
364
364
  return t;
365
365
  }
366
366
  }
367
- function wr(e, t, r, n, i, o) {
368
- let s = class extends At {
367
+ function xr(e, t, r, n, i, o) {
368
+ let s = class extends Tt {
369
369
  constructor() {
370
370
  super(e, r, i), this.$$p_d = t;
371
371
  }
@@ -393,7 +393,7 @@ function wr(e, t, r, n, i, o) {
393
393
  }), e.element = /** @type {any} */
394
394
  s, s;
395
395
  }
396
- class Tr {
396
+ class Sr {
397
397
  /**
398
398
  * ### PRIVATE API
399
399
  *
@@ -412,7 +412,7 @@ class Tr {
412
412
  $$set = void 0;
413
413
  /** @returns {void} */
414
414
  $destroy() {
415
- xr(this, 1), this.$destroy = S;
415
+ vr(this, 1), this.$destroy = S;
416
416
  }
417
417
  /**
418
418
  * @template {Extract<keyof Events, string>} K
@@ -421,7 +421,7 @@ class Tr {
421
421
  * @returns {() => void}
422
422
  */
423
423
  $on(t, r) {
424
- if (!Ve(r))
424
+ if (!je(r))
425
425
  return S;
426
426
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
427
427
  return n.push(r), () => {
@@ -434,18 +434,18 @@ class Tr {
434
434
  * @returns {void}
435
435
  */
436
436
  $set(t) {
437
- this.$$set && !or(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
437
+ this.$$set && !rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
438
438
  }
439
439
  }
440
- const Br = "4";
441
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
442
- function Ar(e, t) {
440
+ const Hr = "4";
441
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
442
+ function wr(e, t) {
443
443
  if (e) {
444
444
  const r = document.createElement("style");
445
445
  r.innerHTML = t, e.appendChild(r);
446
446
  }
447
447
  }
448
- function Cr(e, t) {
448
+ function Tr(e, t) {
449
449
  const r = new URL(t);
450
450
  fetch(r.href).then((n) => n.text()).then((n) => {
451
451
  const i = document.createElement("style");
@@ -454,7 +454,7 @@ function Cr(e, t) {
454
454
  console.error("There was an error while trying to load client styling from URL", n);
455
455
  });
456
456
  }
457
- function Pr(e, t, r) {
457
+ function Br(e, t, r) {
458
458
  if (window.emMessageBus) {
459
459
  const n = document.createElement("style");
460
460
  window.emMessageBus.subscribe(t, (i) => {
@@ -503,7 +503,7 @@ var m = function() {
503
503
  return t;
504
504
  }, m.apply(this, arguments);
505
505
  };
506
- function Or(e, t) {
506
+ function Ar(e, t) {
507
507
  var r = {};
508
508
  for (var n in e)
509
509
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -512,7 +512,7 @@ function Or(e, t) {
512
512
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
513
513
  return r;
514
514
  }
515
- function Oe(e) {
515
+ function Ce(e) {
516
516
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
517
517
  if (r)
518
518
  return r.call(e);
@@ -524,7 +524,7 @@ function Oe(e) {
524
524
  };
525
525
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
526
526
  }
527
- function Le(e, t) {
527
+ function Oe(e, t) {
528
528
  var r = typeof Symbol == "function" && e[Symbol.iterator];
529
529
  if (!r)
530
530
  return e;
@@ -553,13 +553,13 @@ function D(e, t, r) {
553
553
  function B(e) {
554
554
  return typeof e == "function";
555
555
  }
556
- function Ct(e) {
556
+ function Bt(e) {
557
557
  var t = function(n) {
558
558
  Error.call(n), n.stack = new Error().stack;
559
559
  }, r = e(t);
560
560
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
561
561
  }
562
- var _e = Ct(function(e) {
562
+ var _e = Bt(function(e) {
563
563
  return function(r) {
564
564
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
565
565
  ` + r.map(function(n, i) {
@@ -568,13 +568,13 @@ var _e = Ct(function(e) {
568
568
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
569
569
  };
570
570
  });
571
- function Ie(e, t) {
571
+ function Le(e, t) {
572
572
  if (e) {
573
573
  var r = e.indexOf(t);
574
574
  0 <= r && e.splice(r, 1);
575
575
  }
576
576
  }
577
- var de = function() {
577
+ var pe = function() {
578
578
  function e(t) {
579
579
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
580
580
  }
@@ -586,12 +586,12 @@ var de = function() {
586
586
  if (s)
587
587
  if (this._parentage = null, Array.isArray(s))
588
588
  try {
589
- for (var a = Oe(s), h = a.next(); !h.done; h = a.next()) {
589
+ for (var a = Ce(s), h = a.next(); !h.done; h = a.next()) {
590
590
  var u = h.value;
591
591
  u.remove(this);
592
592
  }
593
- } catch (v) {
594
- t = { error: v };
593
+ } catch (g) {
594
+ t = { error: g };
595
595
  } finally {
596
596
  try {
597
597
  h && !h.done && (r = a.return) && r.call(a);
@@ -606,23 +606,23 @@ var de = function() {
606
606
  if (B(l))
607
607
  try {
608
608
  l();
609
- } catch (v) {
610
- o = v instanceof _e ? v.errors : [v];
609
+ } catch (g) {
610
+ o = g instanceof _e ? g.errors : [g];
611
611
  }
612
612
  var f = this._finalizers;
613
613
  if (f) {
614
614
  this._finalizers = null;
615
615
  try {
616
- for (var c = Oe(f), b = c.next(); !b.done; b = c.next()) {
617
- var g = b.value;
616
+ for (var c = Ce(f), b = c.next(); !b.done; b = c.next()) {
617
+ var y = b.value;
618
618
  try {
619
- et(g);
620
- } catch (v) {
621
- o = o ?? [], v instanceof _e ? o = D(D([], Le(o)), Le(v.errors)) : o.push(v);
619
+ Ye(y);
620
+ } catch (g) {
621
+ o = o ?? [], g instanceof _e ? o = D(D([], Oe(o)), Oe(g.errors)) : o.push(g);
622
622
  }
623
623
  }
624
- } catch (v) {
625
- n = { error: v };
624
+ } catch (g) {
625
+ n = { error: g };
626
626
  } finally {
627
627
  try {
628
628
  b && !b.done && (i = c.return) && i.call(c);
@@ -639,7 +639,7 @@ var de = function() {
639
639
  var r;
640
640
  if (t && t !== this)
641
641
  if (this.closed)
642
- et(t);
642
+ Ye(t);
643
643
  else {
644
644
  if (t instanceof e) {
645
645
  if (t.closed || t._hasParent(this))
@@ -656,56 +656,56 @@ var de = function() {
656
656
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
657
657
  }, e.prototype._removeParent = function(t) {
658
658
  var r = this._parentage;
659
- r === t ? this._parentage = null : Array.isArray(r) && Ie(r, t);
659
+ r === t ? this._parentage = null : Array.isArray(r) && Le(r, t);
660
660
  }, e.prototype.remove = function(t) {
661
661
  var r = this._finalizers;
662
- r && Ie(r, t), t instanceof e && t._removeParent(this);
662
+ r && Le(r, t), t instanceof e && t._removeParent(this);
663
663
  }, e.EMPTY = function() {
664
664
  var t = new e();
665
665
  return t.closed = !0, t;
666
666
  }(), e;
667
- }(), Pt = de.EMPTY;
668
- function Ot(e) {
669
- return e instanceof de || e && "closed" in e && B(e.remove) && B(e.add) && B(e.unsubscribe);
667
+ }(), At = pe.EMPTY;
668
+ function Pt(e) {
669
+ return e instanceof pe || e && "closed" in e && B(e.remove) && B(e.add) && B(e.unsubscribe);
670
670
  }
671
- function et(e) {
671
+ function Ye(e) {
672
672
  B(e) ? e() : e.unsubscribe();
673
673
  }
674
- var Lt = {
674
+ var Pr = {
675
675
  onUnhandledError: null,
676
676
  onStoppedNotification: null,
677
677
  Promise: void 0,
678
678
  useDeprecatedSynchronousErrorHandling: !1,
679
679
  useDeprecatedNextContext: !1
680
- }, Lr = {
680
+ }, Cr = {
681
681
  setTimeout: function(e, t) {
682
682
  for (var r = [], n = 2; n < arguments.length; n++)
683
683
  r[n - 2] = arguments[n];
684
- return setTimeout.apply(void 0, D([e, t], Le(r)));
684
+ return setTimeout.apply(void 0, D([e, t], Oe(r)));
685
685
  },
686
686
  clearTimeout: function(e) {
687
687
  return clearTimeout(e);
688
688
  },
689
689
  delegate: void 0
690
690
  };
691
- function Ir(e) {
692
- Lr.setTimeout(function() {
691
+ function Or(e) {
692
+ Cr.setTimeout(function() {
693
693
  throw e;
694
694
  });
695
695
  }
696
- function tt() {
696
+ function Ke() {
697
697
  }
698
698
  function ue(e) {
699
699
  e();
700
700
  }
701
- var It = function(e) {
701
+ var Ct = function(e) {
702
702
  A(t, e);
703
703
  function t(r) {
704
704
  var n = e.call(this) || this;
705
- return n.isStopped = !1, r ? (n.destination = r, Ot(r) && r.add(n)) : n.destination = Rr, n;
705
+ return n.isStopped = !1, r ? (n.destination = r, Pt(r) && r.add(n)) : n.destination = Nr, n;
706
706
  }
707
707
  return t.create = function(r, n, i) {
708
- return new Ne(r, n, i);
708
+ return new Ie(r, n, i);
709
709
  }, t.prototype.next = function(r) {
710
710
  this.isStopped || this._next(r);
711
711
  }, t.prototype.error = function(r) {
@@ -729,11 +729,7 @@ var It = function(e) {
729
729
  this.unsubscribe();
730
730
  }
731
731
  }, t;
732
- }(de), Nr = Function.prototype.bind;
733
- function Ee(e, t) {
734
- return Nr.call(e, t);
735
- }
736
- var Mr = function() {
732
+ }(pe), Lr = function() {
737
733
  function e(t) {
738
734
  this.partialObserver = t;
739
735
  }
@@ -764,55 +760,43 @@ var Mr = function() {
764
760
  oe(r);
765
761
  }
766
762
  }, e;
767
- }(), Ne = function(e) {
763
+ }(), Ie = function(e) {
768
764
  A(t, e);
769
765
  function t(r, n, i) {
770
766
  var o = e.call(this) || this, s;
771
- if (B(r) || !r)
772
- s = {
773
- next: r ?? void 0,
774
- error: n ?? void 0,
775
- complete: i ?? void 0
776
- };
777
- else {
778
- var a;
779
- o && Lt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
780
- return o.unsubscribe();
781
- }, s = {
782
- next: r.next && Ee(r.next, a),
783
- error: r.error && Ee(r.error, a),
784
- complete: r.complete && Ee(r.complete, a)
785
- }) : s = r;
786
- }
787
- return o.destination = new Mr(s), o;
767
+ return B(r) || !r ? s = {
768
+ next: r ?? void 0,
769
+ error: n ?? void 0,
770
+ complete: i ?? void 0
771
+ } : s = r, o.destination = new Lr(s), o;
788
772
  }
789
773
  return t;
790
- }(It);
774
+ }(Ct);
791
775
  function oe(e) {
792
- Ir(e);
776
+ Or(e);
793
777
  }
794
- function $r(e) {
778
+ function Ir(e) {
795
779
  throw e;
796
780
  }
797
- var Rr = {
781
+ var Nr = {
798
782
  closed: !0,
799
- next: tt,
800
- error: $r,
801
- complete: tt
802
- }, Ur = function() {
783
+ next: Ke,
784
+ error: Ir,
785
+ complete: Ke
786
+ }, Mr = function() {
803
787
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
804
788
  }();
805
- function Dr(e) {
789
+ function $r(e) {
806
790
  return e;
807
791
  }
808
- function Gr(e) {
809
- return e.length === 0 ? Dr : e.length === 1 ? e[0] : function(r) {
792
+ function Rr(e) {
793
+ return e.length === 0 ? $r : e.length === 1 ? e[0] : function(r) {
810
794
  return e.reduce(function(n, i) {
811
795
  return i(n);
812
796
  }, r);
813
797
  };
814
798
  }
815
- var rt = function() {
799
+ var et = function() {
816
800
  function e(t) {
817
801
  t && (this._subscribe = t);
818
802
  }
@@ -820,7 +804,7 @@ var rt = function() {
820
804
  var r = new e();
821
805
  return r.source = this, r.operator = t, r;
822
806
  }, e.prototype.subscribe = function(t, r, n) {
823
- var i = this, o = jr(t) ? t : new Ne(t, r, n);
807
+ var i = this, o = Dr(t) ? t : new Ie(t, r, n);
824
808
  return ue(function() {
825
809
  var s = i, a = s.operator, h = s.source;
826
810
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -833,8 +817,8 @@ var rt = function() {
833
817
  }
834
818
  }, e.prototype.forEach = function(t, r) {
835
819
  var n = this;
836
- return r = nt(r), new r(function(i, o) {
837
- var s = new Ne({
820
+ return r = tt(r), new r(function(i, o) {
821
+ var s = new Ie({
838
822
  next: function(a) {
839
823
  try {
840
824
  t(a);
@@ -850,15 +834,15 @@ var rt = function() {
850
834
  }, e.prototype._subscribe = function(t) {
851
835
  var r;
852
836
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
853
- }, e.prototype[Ur] = function() {
837
+ }, e.prototype[Mr] = function() {
854
838
  return this;
855
839
  }, e.prototype.pipe = function() {
856
840
  for (var t = [], r = 0; r < arguments.length; r++)
857
841
  t[r] = arguments[r];
858
- return Gr(t)(this);
842
+ return Rr(t)(this);
859
843
  }, e.prototype.toPromise = function(t) {
860
844
  var r = this;
861
- return t = nt(t), new t(function(n, i) {
845
+ return t = tt(t), new t(function(n, i) {
862
846
  var o;
863
847
  r.subscribe(function(s) {
864
848
  return o = s;
@@ -872,32 +856,32 @@ var rt = function() {
872
856
  return new e(t);
873
857
  }, e;
874
858
  }();
875
- function nt(e) {
859
+ function tt(e) {
876
860
  var t;
877
- return (t = e ?? Lt.Promise) !== null && t !== void 0 ? t : Promise;
861
+ return (t = e ?? Pr.Promise) !== null && t !== void 0 ? t : Promise;
878
862
  }
879
- function Fr(e) {
863
+ function Ur(e) {
880
864
  return e && B(e.next) && B(e.error) && B(e.complete);
881
865
  }
882
- function jr(e) {
883
- return e && e instanceof It || Fr(e) && Ot(e);
866
+ function Dr(e) {
867
+ return e && e instanceof Ct || Ur(e) && Pt(e);
884
868
  }
885
- var Vr = Ct(function(e) {
869
+ var Gr = Bt(function(e) {
886
870
  return function() {
887
871
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
888
872
  };
889
- }), Nt = function(e) {
873
+ }), Ot = function(e) {
890
874
  A(t, e);
891
875
  function t() {
892
876
  var r = e.call(this) || this;
893
877
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
894
878
  }
895
879
  return t.prototype.lift = function(r) {
896
- var n = new it(this, this);
880
+ var n = new rt(this, this);
897
881
  return n.operator = r, n;
898
882
  }, t.prototype._throwIfClosed = function() {
899
883
  if (this.closed)
900
- throw new Vr();
884
+ throw new Gr();
901
885
  }, t.prototype.next = function(r) {
902
886
  var n = this;
903
887
  ue(function() {
@@ -905,7 +889,7 @@ var Vr = Ct(function(e) {
905
889
  if (n._throwIfClosed(), !n.isStopped) {
906
890
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
907
891
  try {
908
- for (var s = Oe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
892
+ for (var s = Ce(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
909
893
  var h = a.value;
910
894
  h.next(r);
911
895
  }
@@ -954,19 +938,19 @@ var Vr = Ct(function(e) {
954
938
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
955
939
  }, t.prototype._innerSubscribe = function(r) {
956
940
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
957
- return o || s ? Pt : (this.currentObservers = null, a.push(r), new de(function() {
958
- n.currentObservers = null, Ie(a, r);
941
+ return o || s ? At : (this.currentObservers = null, a.push(r), new pe(function() {
942
+ n.currentObservers = null, Le(a, r);
959
943
  }));
960
944
  }, t.prototype._checkFinalizedStatuses = function(r) {
961
945
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
962
946
  i ? r.error(o) : s && r.complete();
963
947
  }, t.prototype.asObservable = function() {
964
- var r = new rt();
948
+ var r = new et();
965
949
  return r.source = this, r;
966
950
  }, t.create = function(r, n) {
967
- return new it(r, n);
951
+ return new rt(r, n);
968
952
  }, t;
969
- }(rt), it = function(e) {
953
+ }(et), rt = function(e) {
970
954
  A(t, e);
971
955
  function t(r, n) {
972
956
  var i = e.call(this) || this;
@@ -983,17 +967,17 @@ var Vr = Ct(function(e) {
983
967
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
984
968
  }, t.prototype._subscribe = function(r) {
985
969
  var n, i;
986
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Pt;
970
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : At;
987
971
  }, t;
988
- }(Nt), Mt = {
972
+ }(Ot), Lt = {
989
973
  now: function() {
990
- return (Mt.delegate || Date).now();
974
+ return (Lt.delegate || Date).now();
991
975
  },
992
976
  delegate: void 0
993
- }, kr = function(e) {
977
+ }, Fr = function(e) {
994
978
  A(t, e);
995
979
  function t(r, n, i) {
996
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Mt);
980
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lt);
997
981
  var o = e.call(this) || this;
998
982
  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;
999
983
  }
@@ -1013,15 +997,15 @@ var Vr = Ct(function(e) {
1013
997
  u && o.splice(0, u + 1);
1014
998
  }
1015
999
  }, t;
1016
- }(Nt);
1017
- const ot = [], st = {}, Xr = (e, t = 0) => {
1018
- if (ot.indexOf(e) == -1) {
1019
- const r = new kr(t);
1020
- st[e] = r, ot.push(e);
1000
+ }(Ot);
1001
+ const nt = [], it = {}, jr = (e, t = 0) => {
1002
+ if (nt.indexOf(e) == -1) {
1003
+ const r = new Fr(t);
1004
+ it[e] = r, nt.push(e);
1021
1005
  }
1022
- return st[e];
1006
+ return it[e];
1023
1007
  }, M = [];
1024
- function Wr(e, t) {
1008
+ function Vr(e, t) {
1025
1009
  return {
1026
1010
  subscribe: me(e, t).subscribe
1027
1011
  };
@@ -1030,7 +1014,7 @@ function me(e, t = S) {
1030
1014
  let r;
1031
1015
  const n = /* @__PURE__ */ new Set();
1032
1016
  function i(a) {
1033
- if (wt(e, a) && (e = a, r)) {
1017
+ if (St(e, a) && (e = a, r)) {
1034
1018
  const h = !M.length;
1035
1019
  for (const u of n)
1036
1020
  u[1](), M.push(u, e);
@@ -1057,7 +1041,7 @@ function X(e, t, r) {
1057
1041
  if (!i.every(Boolean))
1058
1042
  throw new Error("derived() expects stores as input, got a falsy value");
1059
1043
  const o = t.length < 2;
1060
- return Wr(r, (s, a) => {
1044
+ return Vr(r, (s, a) => {
1061
1045
  let h = !1;
1062
1046
  const u = [];
1063
1047
  let l = 0, f = S;
@@ -1065,16 +1049,16 @@ function X(e, t, r) {
1065
1049
  if (l)
1066
1050
  return;
1067
1051
  f();
1068
- const g = t(n ? u[0] : u, s, a);
1069
- o ? s(g) : f = Ve(g) ? g : S;
1052
+ const y = t(n ? u[0] : u, s, a);
1053
+ o ? s(y) : f = je(y) ? y : S;
1070
1054
  }, b = i.map(
1071
- (g, v) => sr(
1072
- g,
1055
+ (y, g) => nr(
1056
+ y,
1073
1057
  (H) => {
1074
- u[v] = H, l &= ~(1 << v), h && c();
1058
+ u[g] = H, l &= ~(1 << g), h && c();
1075
1059
  },
1076
1060
  () => {
1077
- l |= 1 << v;
1061
+ l |= 1 << g;
1078
1062
  }
1079
1063
  )
1080
1064
  );
@@ -1083,70 +1067,70 @@ function X(e, t, r) {
1083
1067
  };
1084
1068
  });
1085
1069
  }
1086
- function zr(e) {
1087
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1070
+ function kr(e) {
1071
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1088
1072
  }
1089
- var Zr = function(t) {
1090
- return Qr(t) && !Jr(t);
1073
+ var Xr = function(t) {
1074
+ return Wr(t) && !zr(t);
1091
1075
  };
1092
- function Qr(e) {
1076
+ function Wr(e) {
1093
1077
  return !!e && typeof e == "object";
1094
1078
  }
1095
- function Jr(e) {
1079
+ function zr(e) {
1096
1080
  var t = Object.prototype.toString.call(e);
1097
- return t === "[object RegExp]" || t === "[object Date]" || Kr(e);
1081
+ return t === "[object RegExp]" || t === "[object Date]" || Jr(e);
1098
1082
  }
1099
- var qr = typeof Symbol == "function" && Symbol.for, Yr = qr ? Symbol.for("react.element") : 60103;
1100
- function Kr(e) {
1101
- return e.$$typeof === Yr;
1083
+ var Zr = typeof Symbol == "function" && Symbol.for, Qr = Zr ? Symbol.for("react.element") : 60103;
1084
+ function Jr(e) {
1085
+ return e.$$typeof === Qr;
1102
1086
  }
1103
- function en(e) {
1087
+ function qr(e) {
1104
1088
  return Array.isArray(e) ? [] : {};
1105
1089
  }
1106
1090
  function q(e, t) {
1107
- return t.clone !== !1 && t.isMergeableObject(e) ? G(en(e), e, t) : e;
1091
+ return t.clone !== !1 && t.isMergeableObject(e) ? G(qr(e), e, t) : e;
1108
1092
  }
1109
- function tn(e, t, r) {
1093
+ function Yr(e, t, r) {
1110
1094
  return e.concat(t).map(function(n) {
1111
1095
  return q(n, r);
1112
1096
  });
1113
1097
  }
1114
- function rn(e, t) {
1098
+ function Kr(e, t) {
1115
1099
  if (!t.customMerge)
1116
1100
  return G;
1117
1101
  var r = t.customMerge(e);
1118
1102
  return typeof r == "function" ? r : G;
1119
1103
  }
1120
- function nn(e) {
1104
+ function en(e) {
1121
1105
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1122
1106
  return Object.propertyIsEnumerable.call(e, t);
1123
1107
  }) : [];
1124
1108
  }
1125
- function at(e) {
1126
- return Object.keys(e).concat(nn(e));
1109
+ function ot(e) {
1110
+ return Object.keys(e).concat(en(e));
1127
1111
  }
1128
- function $t(e, t) {
1112
+ function It(e, t) {
1129
1113
  try {
1130
1114
  return t in e;
1131
1115
  } catch {
1132
1116
  return !1;
1133
1117
  }
1134
1118
  }
1135
- function on(e, t) {
1136
- return $t(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1119
+ function tn(e, t) {
1120
+ return It(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1137
1121
  }
1138
- function sn(e, t, r) {
1122
+ function rn(e, t, r) {
1139
1123
  var n = {};
1140
- return r.isMergeableObject(e) && at(e).forEach(function(i) {
1124
+ return r.isMergeableObject(e) && ot(e).forEach(function(i) {
1141
1125
  n[i] = q(e[i], r);
1142
- }), at(t).forEach(function(i) {
1143
- on(e, i) || ($t(e, i) && r.isMergeableObject(t[i]) ? n[i] = rn(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
1126
+ }), ot(t).forEach(function(i) {
1127
+ tn(e, i) || (It(e, i) && r.isMergeableObject(t[i]) ? n[i] = Kr(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
1144
1128
  }), n;
1145
1129
  }
1146
1130
  function G(e, t, r) {
1147
- r = r || {}, r.arrayMerge = r.arrayMerge || tn, r.isMergeableObject = r.isMergeableObject || Zr, r.cloneUnlessOtherwiseSpecified = q;
1131
+ r = r || {}, r.arrayMerge = r.arrayMerge || Yr, r.isMergeableObject = r.isMergeableObject || Xr, r.cloneUnlessOtherwiseSpecified = q;
1148
1132
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1149
- return o ? n ? r.arrayMerge(e, t, r) : sn(e, t, r) : q(t, r);
1133
+ return o ? n ? r.arrayMerge(e, t, r) : rn(e, t, r) : q(t, r);
1150
1134
  }
1151
1135
  G.all = function(t, r) {
1152
1136
  if (!Array.isArray(t))
@@ -1155,107 +1139,109 @@ G.all = function(t, r) {
1155
1139
  return G(n, i, r);
1156
1140
  }, {});
1157
1141
  };
1158
- var an = G, un = an;
1159
- const hn = /* @__PURE__ */ zr(un);
1160
- function xe(e, t) {
1161
- var r = t && t.cache ? t.cache : mn, n = t && t.serializer ? t.serializer : dn, i = t && t.strategy ? t.strategy : fn;
1142
+ var nn = G, on = nn;
1143
+ const sn = /* @__PURE__ */ kr(on);
1144
+ function Ee(e, t) {
1145
+ var r = t && t.cache ? t.cache : dn, n = t && t.serializer ? t.serializer : fn, i = t && t.strategy ? t.strategy : un;
1162
1146
  return i(e, {
1163
1147
  cache: r,
1164
1148
  serializer: n
1165
1149
  });
1166
1150
  }
1167
- function ln(e) {
1151
+ function an(e) {
1168
1152
  return e == null || typeof e == "number" || typeof e == "boolean";
1169
1153
  }
1170
- function Rt(e, t, r, n) {
1171
- var i = ln(n) ? n : r(n), o = t.get(i);
1154
+ function Nt(e, t, r, n) {
1155
+ var i = an(n) ? n : r(n), o = t.get(i);
1172
1156
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1173
1157
  }
1174
- function Ut(e, t, r) {
1158
+ function Mt(e, t, r) {
1175
1159
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1176
1160
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1177
1161
  }
1178
- function ke(e, t, r, n, i) {
1162
+ function Ve(e, t, r, n, i) {
1179
1163
  return r.bind(t, e, n, i);
1180
1164
  }
1181
- function fn(e, t) {
1182
- var r = e.length === 1 ? Rt : Ut;
1183
- return ke(e, this, r, t.cache.create(), t.serializer);
1165
+ function un(e, t) {
1166
+ var r = e.length === 1 ? Nt : Mt;
1167
+ return Ve(e, this, r, t.cache.create(), t.serializer);
1184
1168
  }
1185
- function cn(e, t) {
1186
- return ke(e, this, Ut, t.cache.create(), t.serializer);
1169
+ function hn(e, t) {
1170
+ return Ve(e, this, Mt, t.cache.create(), t.serializer);
1187
1171
  }
1188
- function pn(e, t) {
1189
- return ke(e, this, Rt, t.cache.create(), t.serializer);
1172
+ function ln(e, t) {
1173
+ return Ve(e, this, Nt, t.cache.create(), t.serializer);
1190
1174
  }
1191
- var dn = function() {
1175
+ var fn = function() {
1192
1176
  return JSON.stringify(arguments);
1193
- };
1194
- function Xe() {
1195
- this.cache = /* @__PURE__ */ Object.create(null);
1196
- }
1197
- Xe.prototype.get = function(e) {
1198
- return this.cache[e];
1199
- };
1200
- Xe.prototype.set = function(e, t) {
1201
- this.cache[e] = t;
1202
- };
1203
- var mn = {
1177
+ }, cn = (
1178
+ /** @class */
1179
+ function() {
1180
+ function e() {
1181
+ this.cache = /* @__PURE__ */ Object.create(null);
1182
+ }
1183
+ return e.prototype.get = function(t) {
1184
+ return this.cache[t];
1185
+ }, e.prototype.set = function(t, r) {
1186
+ this.cache[t] = r;
1187
+ }, e;
1188
+ }()
1189
+ ), dn = {
1204
1190
  create: function() {
1205
- return new Xe();
1191
+ return new cn();
1206
1192
  }
1207
- }, Se = {
1208
- variadic: cn,
1209
- monadic: pn
1210
- }, p;
1193
+ }, xe = {
1194
+ variadic: hn,
1195
+ monadic: ln
1196
+ }, d;
1211
1197
  (function(e) {
1212
1198
  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";
1213
- })(p || (p = {}));
1214
- var y;
1199
+ })(d || (d = {}));
1200
+ var v;
1215
1201
  (function(e) {
1216
1202
  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";
1217
- })(y || (y = {}));
1203
+ })(v || (v = {}));
1218
1204
  var F;
1219
1205
  (function(e) {
1220
1206
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1221
1207
  })(F || (F = {}));
1222
- function ut(e) {
1223
- return e.type === y.literal;
1208
+ function st(e) {
1209
+ return e.type === v.literal;
1224
1210
  }
1225
- function bn(e) {
1226
- return e.type === y.argument;
1211
+ function pn(e) {
1212
+ return e.type === v.argument;
1227
1213
  }
1228
- function Dt(e) {
1229
- return e.type === y.number;
1214
+ function $t(e) {
1215
+ return e.type === v.number;
1230
1216
  }
1231
- function Gt(e) {
1232
- return e.type === y.date;
1217
+ function Rt(e) {
1218
+ return e.type === v.date;
1233
1219
  }
1234
- function Ft(e) {
1235
- return e.type === y.time;
1220
+ function Ut(e) {
1221
+ return e.type === v.time;
1236
1222
  }
1237
- function jt(e) {
1238
- return e.type === y.select;
1223
+ function Dt(e) {
1224
+ return e.type === v.select;
1239
1225
  }
1240
- function Vt(e) {
1241
- return e.type === y.plural;
1226
+ function Gt(e) {
1227
+ return e.type === v.plural;
1242
1228
  }
1243
- function vn(e) {
1244
- return e.type === y.pound;
1229
+ function mn(e) {
1230
+ return e.type === v.pound;
1245
1231
  }
1246
- function kt(e) {
1247
- return e.type === y.tag;
1232
+ function Ft(e) {
1233
+ return e.type === v.tag;
1248
1234
  }
1249
- function Xt(e) {
1235
+ function jt(e) {
1250
1236
  return !!(e && typeof e == "object" && e.type === F.number);
1251
1237
  }
1252
- function Me(e) {
1238
+ function Ne(e) {
1253
1239
  return !!(e && typeof e == "object" && e.type === F.dateTime);
1254
1240
  }
1255
- var Wt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, gn = /(?:[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;
1256
- function yn(e) {
1241
+ var Vt = /[ \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;
1242
+ function gn(e) {
1257
1243
  var t = {};
1258
- return e.replace(gn, function(r) {
1244
+ return e.replace(bn, function(r) {
1259
1245
  var n = r.length;
1260
1246
  switch (r[0]) {
1261
1247
  case "G":
@@ -1344,11 +1330,11 @@ function yn(e) {
1344
1330
  return "";
1345
1331
  }), t;
1346
1332
  }
1347
- var _n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1348
- function En(e) {
1333
+ var yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1334
+ function vn(e) {
1349
1335
  if (e.length === 0)
1350
1336
  throw new Error("Number skeleton cannot be empty");
1351
- for (var t = e.split(_n).filter(function(c) {
1337
+ for (var t = e.split(yn).filter(function(c) {
1352
1338
  return c.length > 0;
1353
1339
  }), r = [], n = 0, i = t; n < i.length; n++) {
1354
1340
  var o = i[n], s = o.split("/");
@@ -1363,17 +1349,17 @@ function En(e) {
1363
1349
  }
1364
1350
  return r;
1365
1351
  }
1366
- function xn(e) {
1352
+ function _n(e) {
1367
1353
  return e.replace(/^(.*?)-/, "");
1368
1354
  }
1369
- var ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, Sn = /(\*)(0+)|(#+)(0+)|(0+)/g, Zt = /^(0+)$/;
1370
- function lt(e) {
1355
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kt = /^(@+)?(\+|#+)?[rs]?$/g, En = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
1356
+ function ut(e) {
1371
1357
  var t = {};
1372
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
1358
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kt, function(r, n, i) {
1373
1359
  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)), "";
1374
1360
  }), t;
1375
1361
  }
1376
- function Qt(e) {
1362
+ function Wt(e) {
1377
1363
  switch (e) {
1378
1364
  case "sign-auto":
1379
1365
  return {
@@ -1413,7 +1399,7 @@ function Qt(e) {
1413
1399
  };
1414
1400
  }
1415
1401
  }
1416
- function Hn(e) {
1402
+ function xn(e) {
1417
1403
  var t;
1418
1404
  if (e[0] === "E" && e[1] === "E" ? (t = {
1419
1405
  notation: "engineering"
@@ -1421,17 +1407,17 @@ function Hn(e) {
1421
1407
  notation: "scientific"
1422
1408
  }, e = e.slice(1)), t) {
1423
1409
  var r = e.slice(0, 2);
1424
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Zt.test(e))
1410
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xt.test(e))
1425
1411
  throw new Error("Malformed concise eng/scientific notation");
1426
1412
  t.minimumIntegerDigits = e.length;
1427
1413
  }
1428
1414
  return t;
1429
1415
  }
1430
- function ft(e) {
1431
- var t = {}, r = Qt(e);
1416
+ function ht(e) {
1417
+ var t = {}, r = Wt(e);
1432
1418
  return r || t;
1433
1419
  }
1434
- function wn(e) {
1420
+ function Sn(e) {
1435
1421
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1436
1422
  var i = n[r];
1437
1423
  switch (i.stem) {
@@ -1455,7 +1441,7 @@ function wn(e) {
1455
1441
  continue;
1456
1442
  case "measure-unit":
1457
1443
  case "unit":
1458
- t.style = "unit", t.unit = xn(i.options[0]);
1444
+ t.style = "unit", t.unit = _n(i.options[0]);
1459
1445
  continue;
1460
1446
  case "compact-short":
1461
1447
  case "K":
@@ -1467,12 +1453,12 @@ function wn(e) {
1467
1453
  continue;
1468
1454
  case "scientific":
1469
1455
  t = m(m(m({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1470
- return m(m({}, h), ft(u));
1456
+ return m(m({}, h), ht(u));
1471
1457
  }, {}));
1472
1458
  continue;
1473
1459
  case "engineering":
1474
1460
  t = m(m(m({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1475
- return m(m({}, h), ft(u));
1461
+ return m(m({}, h), ht(u));
1476
1462
  }, {}));
1477
1463
  continue;
1478
1464
  case "notation-simple":
@@ -1517,7 +1503,7 @@ function wn(e) {
1517
1503
  case "integer-width":
1518
1504
  if (i.options.length > 1)
1519
1505
  throw new RangeError("integer-width stems only accept a single optional option");
1520
- i.options[0].replace(Sn, function(h, u, l, f, c, b) {
1506
+ i.options[0].replace(En, function(h, u, l, f, c, b) {
1521
1507
  if (u)
1522
1508
  t.minimumIntegerDigits = l.length;
1523
1509
  else {
@@ -1530,27 +1516,27 @@ function wn(e) {
1530
1516
  });
1531
1517
  continue;
1532
1518
  }
1533
- if (Zt.test(i.stem)) {
1519
+ if (Xt.test(i.stem)) {
1534
1520
  t.minimumIntegerDigits = i.stem.length;
1535
1521
  continue;
1536
1522
  }
1537
- if (ht.test(i.stem)) {
1523
+ if (at.test(i.stem)) {
1538
1524
  if (i.options.length > 1)
1539
1525
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1540
- i.stem.replace(ht, function(h, u, l, f, c, b) {
1526
+ i.stem.replace(at, function(h, u, l, f, c, b) {
1541
1527
  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), "";
1542
1528
  });
1543
1529
  var o = i.options[0];
1544
- o === "w" ? t = m(m({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = m(m({}, t), lt(o)));
1530
+ o === "w" ? t = m(m({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = m(m({}, t), ut(o)));
1545
1531
  continue;
1546
1532
  }
1547
- if (zt.test(i.stem)) {
1548
- t = m(m({}, t), lt(i.stem));
1533
+ if (kt.test(i.stem)) {
1534
+ t = m(m({}, t), ut(i.stem));
1549
1535
  continue;
1550
1536
  }
1551
- var s = Qt(i.stem);
1537
+ var s = Wt(i.stem);
1552
1538
  s && (t = m(m({}, t), s));
1553
- var a = Hn(i.stem);
1539
+ var a = xn(i.stem);
1554
1540
  a && (t = m(m({}, t), a));
1555
1541
  }
1556
1542
  return t;
@@ -2970,13 +2956,13 @@ var se = {
2970
2956
  "h"
2971
2957
  ]
2972
2958
  };
2973
- function Tn(e, t) {
2959
+ function Hn(e, t) {
2974
2960
  for (var r = "", n = 0; n < e.length; n++) {
2975
2961
  var i = e.charAt(n);
2976
2962
  if (i === "j") {
2977
2963
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2978
2964
  o++, n++;
2979
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Bn(t);
2965
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = wn(t);
2980
2966
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2981
2967
  r += h;
2982
2968
  for (; s-- > 0; )
@@ -2986,7 +2972,7 @@ function Tn(e, t) {
2986
2972
  }
2987
2973
  return r;
2988
2974
  }
2989
- function Bn(e) {
2975
+ function wn(e) {
2990
2976
  var t = e.hourCycle;
2991
2977
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2992
2978
  e.hourCycles && // @ts-ignore
@@ -3008,20 +2994,20 @@ function Bn(e) {
3008
2994
  var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
3009
2995
  return i[0];
3010
2996
  }
3011
- var He, An = new RegExp("^".concat(Wt.source, "*")), Cn = new RegExp("".concat(Wt.source, "*$"));
3012
- function d(e, t) {
2997
+ var Se, Tn = new RegExp("^".concat(Vt.source, "*")), Bn = new RegExp("".concat(Vt.source, "*$"));
2998
+ function p(e, t) {
3013
2999
  return { start: e, end: t };
3014
3000
  }
3015
- var Pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), On = !!String.fromCodePoint, Ln = !!Object.fromEntries, In = !!String.prototype.codePointAt, Nn = !!String.prototype.trimStart, Mn = !!String.prototype.trimEnd, $n = !!Number.isSafeInteger, Rn = $n ? Number.isSafeInteger : function(e) {
3001
+ var An = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pn = !!String.fromCodePoint, Cn = !!Object.fromEntries, On = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Nn = !!Number.isSafeInteger, Mn = Nn ? Number.isSafeInteger : function(e) {
3016
3002
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3017
- }, $e = !0;
3003
+ }, Me = !0;
3018
3004
  try {
3019
- var Un = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3020
- $e = ((He = Un.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
3005
+ var $n = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3006
+ Me = ((Se = $n.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
3021
3007
  } catch {
3022
- $e = !1;
3008
+ Me = !1;
3023
3009
  }
3024
- var ct = Pn ? (
3010
+ var lt = An ? (
3025
3011
  // Native
3026
3012
  function(t, r, n) {
3027
3013
  return t.startsWith(r, n);
@@ -3031,7 +3017,7 @@ var ct = Pn ? (
3031
3017
  function(t, r, n) {
3032
3018
  return t.slice(n, n + r.length) === r;
3033
3019
  }
3034
- ), Re = On ? String.fromCodePoint : (
3020
+ ), $e = Pn ? String.fromCodePoint : (
3035
3021
  // IE11
3036
3022
  function() {
3037
3023
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3043,9 +3029,9 @@ var ct = Pn ? (
3043
3029
  }
3044
3030
  return n;
3045
3031
  }
3046
- ), pt = (
3032
+ ), ft = (
3047
3033
  // native
3048
- Ln ? Object.fromEntries : (
3034
+ Cn ? Object.fromEntries : (
3049
3035
  // Ponyfill
3050
3036
  function(t) {
3051
3037
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3055,7 +3041,7 @@ var ct = Pn ? (
3055
3041
  return r;
3056
3042
  }
3057
3043
  )
3058
- ), Jt = In ? (
3044
+ ), zt = On ? (
3059
3045
  // Native
3060
3046
  function(t, r) {
3061
3047
  return t.codePointAt(r);
@@ -3069,7 +3055,7 @@ var ct = Pn ? (
3069
3055
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3070
3056
  }
3071
3057
  }
3072
- ), Dn = Nn ? (
3058
+ ), Rn = Ln ? (
3073
3059
  // Native
3074
3060
  function(t) {
3075
3061
  return t.trimStart();
@@ -3077,9 +3063,9 @@ var ct = Pn ? (
3077
3063
  ) : (
3078
3064
  // Ponyfill
3079
3065
  function(t) {
3080
- return t.replace(An, "");
3066
+ return t.replace(Tn, "");
3081
3067
  }
3082
- ), Gn = Mn ? (
3068
+ ), Un = In ? (
3083
3069
  // Native
3084
3070
  function(t) {
3085
3071
  return t.trimEnd();
@@ -3087,32 +3073,32 @@ var ct = Pn ? (
3087
3073
  ) : (
3088
3074
  // Ponyfill
3089
3075
  function(t) {
3090
- return t.replace(Cn, "");
3076
+ return t.replace(Bn, "");
3091
3077
  }
3092
3078
  );
3093
- function qt(e, t) {
3079
+ function Zt(e, t) {
3094
3080
  return new RegExp(e, t);
3095
3081
  }
3096
- var Ue;
3097
- if ($e) {
3098
- var dt = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3099
- Ue = function(t, r) {
3082
+ var Re;
3083
+ if (Me) {
3084
+ var ct = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3085
+ Re = function(t, r) {
3100
3086
  var n;
3101
- dt.lastIndex = r;
3102
- var i = dt.exec(t);
3087
+ ct.lastIndex = r;
3088
+ var i = ct.exec(t);
3103
3089
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3104
3090
  };
3105
3091
  } else
3106
- Ue = function(t, r) {
3092
+ Re = function(t, r) {
3107
3093
  for (var n = []; ; ) {
3108
- var i = Jt(t, r);
3109
- if (i === void 0 || Yt(i) || kn(i))
3094
+ var i = zt(t, r);
3095
+ if (i === void 0 || Qt(i) || jn(i))
3110
3096
  break;
3111
3097
  n.push(i), r += i >= 65536 ? 2 : 1;
3112
3098
  }
3113
- return Re.apply(void 0, n);
3099
+ return $e.apply(void 0, n);
3114
3100
  };
3115
- var Fn = (
3101
+ var Dn = (
3116
3102
  /** @class */
3117
3103
  function() {
3118
3104
  function e(t, r) {
@@ -3136,14 +3122,14 @@ var Fn = (
3136
3122
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3137
3123
  var a = this.clonePosition();
3138
3124
  this.bump(), i.push({
3139
- type: y.pound,
3140
- location: d(a, this.clonePosition())
3125
+ type: v.pound,
3126
+ location: p(a, this.clonePosition())
3141
3127
  });
3142
3128
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3143
3129
  if (n)
3144
3130
  break;
3145
- return this.error(p.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3146
- } else if (o === 60 && !this.ignoreTag && De(this.peek() || 0)) {
3131
+ return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
3132
+ } else if (o === 60 && !this.ignoreTag && Ue(this.peek() || 0)) {
3147
3133
  var s = this.parseTag(t, r);
3148
3134
  if (s.err)
3149
3135
  return s;
@@ -3164,9 +3150,9 @@ var Fn = (
3164
3150
  if (this.bumpSpace(), this.bumpIf("/>"))
3165
3151
  return {
3166
3152
  val: {
3167
- type: y.literal,
3153
+ type: v.literal,
3168
3154
  value: "<".concat(i, "/>"),
3169
- location: d(n, this.clonePosition())
3155
+ location: p(n, this.clonePosition())
3170
3156
  },
3171
3157
  err: null
3172
3158
  };
@@ -3176,25 +3162,25 @@ var Fn = (
3176
3162
  return o;
3177
3163
  var s = o.val, a = this.clonePosition();
3178
3164
  if (this.bumpIf("</")) {
3179
- if (this.isEOF() || !De(this.char()))
3180
- return this.error(p.INVALID_TAG, d(a, this.clonePosition()));
3165
+ if (this.isEOF() || !Ue(this.char()))
3166
+ return this.error(d.INVALID_TAG, p(a, this.clonePosition()));
3181
3167
  var h = this.clonePosition(), u = this.parseTagName();
3182
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, d(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3168
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, p(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3183
3169
  val: {
3184
- type: y.tag,
3170
+ type: v.tag,
3185
3171
  value: i,
3186
3172
  children: s,
3187
- location: d(n, this.clonePosition())
3173
+ location: p(n, this.clonePosition())
3188
3174
  },
3189
3175
  err: null
3190
- } : this.error(p.INVALID_TAG, d(a, this.clonePosition())));
3176
+ } : this.error(d.INVALID_TAG, p(a, this.clonePosition())));
3191
3177
  } else
3192
- return this.error(p.UNCLOSED_TAG, d(n, this.clonePosition()));
3178
+ return this.error(d.UNCLOSED_TAG, p(n, this.clonePosition()));
3193
3179
  } else
3194
- return this.error(p.INVALID_TAG, d(n, this.clonePosition()));
3180
+ return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
3195
3181
  }, e.prototype.parseTagName = function() {
3196
3182
  var t = this.offset();
3197
- for (this.bump(); !this.isEOF() && Vn(this.char()); )
3183
+ for (this.bump(); !this.isEOF() && Fn(this.char()); )
3198
3184
  this.bump();
3199
3185
  return this.message.slice(t, this.offset());
3200
3186
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3216,14 +3202,14 @@ var Fn = (
3216
3202
  }
3217
3203
  break;
3218
3204
  }
3219
- var h = d(n, this.clonePosition());
3205
+ var h = p(n, this.clonePosition());
3220
3206
  return {
3221
- val: { type: y.literal, value: i, location: h },
3207
+ val: { type: v.literal, value: i, location: h },
3222
3208
  err: null
3223
3209
  };
3224
3210
  }, e.prototype.tryParseLeftAngleBracket = function() {
3225
3211
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3226
- !jn(this.peek() || 0)) ? (this.bump(), "<") : null;
3212
+ !Gn(this.peek() || 0)) ? (this.bump(), "<") : null;
3227
3213
  }, e.prototype.tryParseQuote = function(t) {
3228
3214
  if (this.isEOF() || this.char() !== 39)
3229
3215
  return null;
@@ -3257,49 +3243,49 @@ var Fn = (
3257
3243
  r.push(n);
3258
3244
  this.bump();
3259
3245
  }
3260
- return Re.apply(void 0, r);
3246
+ return $e.apply(void 0, r);
3261
3247
  }, e.prototype.tryParseUnquoted = function(t, r) {
3262
3248
  if (this.isEOF())
3263
3249
  return null;
3264
3250
  var n = this.char();
3265
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Re(n));
3251
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), $e(n));
3266
3252
  }, e.prototype.parseArgument = function(t, r) {
3267
3253
  var n = this.clonePosition();
3268
3254
  if (this.bump(), this.bumpSpace(), this.isEOF())
3269
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3255
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
3270
3256
  if (this.char() === 125)
3271
- return this.bump(), this.error(p.EMPTY_ARGUMENT, d(n, this.clonePosition()));
3257
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, p(n, this.clonePosition()));
3272
3258
  var i = this.parseIdentifierIfPossible().value;
3273
3259
  if (!i)
3274
- return this.error(p.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3260
+ return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
3275
3261
  if (this.bumpSpace(), this.isEOF())
3276
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3262
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
3277
3263
  switch (this.char()) {
3278
3264
  case 125:
3279
3265
  return this.bump(), {
3280
3266
  val: {
3281
- type: y.argument,
3267
+ type: v.argument,
3282
3268
  // value does not include the opening and closing braces.
3283
3269
  value: i,
3284
- location: d(n, this.clonePosition())
3270
+ location: p(n, this.clonePosition())
3285
3271
  },
3286
3272
  err: null
3287
3273
  };
3288
3274
  case 44:
3289
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3275
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3290
3276
  default:
3291
- return this.error(p.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3277
+ return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
3292
3278
  }
3293
3279
  }, e.prototype.parseIdentifierIfPossible = function() {
3294
- var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
3280
+ var t = this.clonePosition(), r = this.offset(), n = Re(this.message, r), i = r + n.length;
3295
3281
  this.bumpTo(i);
3296
- var o = this.clonePosition(), s = d(t, o);
3282
+ var o = this.clonePosition(), s = p(t, o);
3297
3283
  return { value: n, location: s };
3298
3284
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3299
3285
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3300
3286
  switch (a) {
3301
3287
  case "":
3302
- return this.error(p.EXPECT_ARGUMENT_TYPE, d(s, h));
3288
+ return this.error(d.EXPECT_ARGUMENT_TYPE, p(s, h));
3303
3289
  case "number":
3304
3290
  case "date":
3305
3291
  case "time": {
@@ -3310,46 +3296,46 @@ var Fn = (
3310
3296
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3311
3297
  if (f.err)
3312
3298
  return f;
3313
- var c = Gn(f.val);
3299
+ var c = Un(f.val);
3314
3300
  if (c.length === 0)
3315
- return this.error(p.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3316
- var b = d(l, this.clonePosition());
3301
+ return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
3302
+ var b = p(l, this.clonePosition());
3317
3303
  u = { style: c, styleLocation: b };
3318
3304
  }
3319
- var g = this.tryParseArgumentClose(i);
3320
- if (g.err)
3321
- return g;
3322
- var v = d(i, this.clonePosition());
3323
- if (u && ct(u?.style, "::", 0)) {
3324
- var H = Dn(u.style.slice(2));
3305
+ var y = this.tryParseArgumentClose(i);
3306
+ if (y.err)
3307
+ return y;
3308
+ var g = p(i, this.clonePosition());
3309
+ if (u && lt(u?.style, "::", 0)) {
3310
+ var H = Rn(u.style.slice(2));
3325
3311
  if (a === "number") {
3326
3312
  var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
3327
3313
  return f.err ? f : {
3328
- val: { type: y.number, value: n, location: v, style: f.val },
3314
+ val: { type: v.number, value: n, location: g, style: f.val },
3329
3315
  err: null
3330
3316
  };
3331
3317
  } else {
3332
3318
  if (H.length === 0)
3333
- return this.error(p.EXPECT_DATE_TIME_SKELETON, v);
3319
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
3334
3320
  var E = H;
3335
- this.locale && (E = Tn(H, this.locale));
3321
+ this.locale && (E = Hn(H, this.locale));
3336
3322
  var c = {
3337
3323
  type: F.dateTime,
3338
3324
  pattern: E,
3339
3325
  location: u.styleLocation,
3340
- parsedOptions: this.shouldParseSkeletons ? yn(E) : {}
3341
- }, I = a === "date" ? y.date : y.time;
3326
+ parsedOptions: this.shouldParseSkeletons ? gn(E) : {}
3327
+ }, I = a === "date" ? v.date : v.time;
3342
3328
  return {
3343
- val: { type: I, value: n, location: v, style: c },
3329
+ val: { type: I, value: n, location: g, style: c },
3344
3330
  err: null
3345
3331
  };
3346
3332
  }
3347
3333
  }
3348
3334
  return {
3349
3335
  val: {
3350
- type: a === "number" ? y.number : a === "date" ? y.date : y.time,
3336
+ type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3351
3337
  value: n,
3352
- location: v,
3338
+ location: g,
3353
3339
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3354
3340
  },
3355
3341
  err: null
@@ -3360,50 +3346,50 @@ var Fn = (
3360
3346
  case "select": {
3361
3347
  var w = this.clonePosition();
3362
3348
  if (this.bumpSpace(), !this.bumpIf(","))
3363
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, d(w, m({}, w)));
3349
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(w, m({}, w)));
3364
3350
  this.bumpSpace();
3365
- var z = this.parseIdentifierIfPossible(), P = 0;
3351
+ var z = this.parseIdentifierIfPossible(), C = 0;
3366
3352
  if (a !== "select" && z.value === "offset") {
3367
3353
  if (!this.bumpIf(":"))
3368
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
3354
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
3369
3355
  this.bumpSpace();
3370
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3356
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3371
3357
  if (f.err)
3372
3358
  return f;
3373
- this.bumpSpace(), z = this.parseIdentifierIfPossible(), P = f.val;
3359
+ this.bumpSpace(), z = this.parseIdentifierIfPossible(), C = f.val;
3374
3360
  }
3375
3361
  var ne = this.tryParsePluralOrSelectOptions(t, a, r, z);
3376
3362
  if (ne.err)
3377
3363
  return ne;
3378
- var g = this.tryParseArgumentClose(i);
3379
- if (g.err)
3380
- return g;
3381
- var Ze = d(i, this.clonePosition());
3364
+ var y = this.tryParseArgumentClose(i);
3365
+ if (y.err)
3366
+ return y;
3367
+ var We = p(i, this.clonePosition());
3382
3368
  return a === "select" ? {
3383
3369
  val: {
3384
- type: y.select,
3370
+ type: v.select,
3385
3371
  value: n,
3386
- options: pt(ne.val),
3387
- location: Ze
3372
+ options: ft(ne.val),
3373
+ location: We
3388
3374
  },
3389
3375
  err: null
3390
3376
  } : {
3391
3377
  val: {
3392
- type: y.plural,
3378
+ type: v.plural,
3393
3379
  value: n,
3394
- options: pt(ne.val),
3395
- offset: P,
3380
+ options: ft(ne.val),
3381
+ offset: C,
3396
3382
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3397
- location: Ze
3383
+ location: We
3398
3384
  },
3399
3385
  err: null
3400
3386
  };
3401
3387
  }
3402
3388
  default:
3403
- return this.error(p.INVALID_ARGUMENT_TYPE, d(s, h));
3389
+ return this.error(d.INVALID_ARGUMENT_TYPE, p(s, h));
3404
3390
  }
3405
3391
  }, e.prototype.tryParseArgumentClose = function(t) {
3406
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3392
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3407
3393
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3408
3394
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3409
3395
  var n = this.char();
@@ -3412,7 +3398,7 @@ var Fn = (
3412
3398
  this.bump();
3413
3399
  var i = this.clonePosition();
3414
3400
  if (!this.bumpUntil("'"))
3415
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
3401
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, p(i, this.clonePosition()));
3416
3402
  this.bump();
3417
3403
  break;
3418
3404
  }
@@ -3442,16 +3428,16 @@ var Fn = (
3442
3428
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3443
3429
  var n = [];
3444
3430
  try {
3445
- n = En(t);
3431
+ n = vn(t);
3446
3432
  } catch {
3447
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3433
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3448
3434
  }
3449
3435
  return {
3450
3436
  val: {
3451
3437
  type: F.number,
3452
3438
  tokens: n,
3453
3439
  location: r,
3454
- parsedOptions: this.shouldParseSkeletons ? wn(n) : {}
3440
+ parsedOptions: this.shouldParseSkeletons ? Sn(n) : {}
3455
3441
  },
3456
3442
  err: null
3457
3443
  };
@@ -3460,34 +3446,34 @@ var Fn = (
3460
3446
  if (u.length === 0) {
3461
3447
  var f = this.clonePosition();
3462
3448
  if (r !== "select" && this.bumpIf("=")) {
3463
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3449
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3464
3450
  if (c.err)
3465
3451
  return c;
3466
- l = d(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3452
+ l = p(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3467
3453
  } else
3468
3454
  break;
3469
3455
  }
3470
3456
  if (h.has(u))
3471
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3457
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3472
3458
  u === "other" && (s = !0), this.bumpSpace();
3473
3459
  var b = this.clonePosition();
3474
3460
  if (!this.bumpIf("{"))
3475
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3476
- var g = this.parseMessage(t + 1, r, n);
3461
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
3462
+ var y = this.parseMessage(t + 1, r, n);
3463
+ if (y.err)
3464
+ return y;
3465
+ var g = this.tryParseArgumentClose(b);
3477
3466
  if (g.err)
3478
3467
  return g;
3479
- var v = this.tryParseArgumentClose(b);
3480
- if (v.err)
3481
- return v;
3482
3468
  a.push([
3483
3469
  u,
3484
3470
  {
3485
- value: g.val,
3486
- location: d(b, this.clonePosition())
3471
+ value: y.val,
3472
+ location: p(b, this.clonePosition())
3487
3473
  }
3488
3474
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3489
3475
  }
3490
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3476
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3491
3477
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3492
3478
  var n = 1, i = this.clonePosition();
3493
3479
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3498,8 +3484,8 @@ var Fn = (
3498
3484
  else
3499
3485
  break;
3500
3486
  }
3501
- var h = d(i, this.clonePosition());
3502
- return o ? (s *= n, Rn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3487
+ var h = p(i, this.clonePosition());
3488
+ return o ? (s *= n, Mn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3503
3489
  }, e.prototype.offset = function() {
3504
3490
  return this.position.offset;
3505
3491
  }, e.prototype.isEOF = function() {
@@ -3514,7 +3500,7 @@ var Fn = (
3514
3500
  var t = this.position.offset;
3515
3501
  if (t >= this.message.length)
3516
3502
  throw Error("out of bound");
3517
- var r = Jt(this.message, t);
3503
+ var r = zt(this.message, t);
3518
3504
  if (r === void 0)
3519
3505
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3520
3506
  return r;
@@ -3533,7 +3519,7 @@ var Fn = (
3533
3519
  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);
3534
3520
  }
3535
3521
  }, e.prototype.bumpIf = function(t) {
3536
- if (ct(this.message, t, this.offset())) {
3522
+ if (lt(this.message, t, this.offset())) {
3537
3523
  for (var r = 0; r < t.length; r++)
3538
3524
  this.bump();
3539
3525
  return !0;
@@ -3555,7 +3541,7 @@ var Fn = (
3555
3541
  break;
3556
3542
  }
3557
3543
  }, e.prototype.bumpSpace = function() {
3558
- for (; !this.isEOF() && Yt(this.char()); )
3544
+ for (; !this.isEOF() && Qt(this.char()); )
3559
3545
  this.bump();
3560
3546
  }, e.prototype.peek = function() {
3561
3547
  if (this.isEOF())
@@ -3565,38 +3551,38 @@ var Fn = (
3565
3551
  }, e;
3566
3552
  }()
3567
3553
  );
3568
- function De(e) {
3554
+ function Ue(e) {
3569
3555
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3570
3556
  }
3571
- function jn(e) {
3572
- return De(e) || e === 47;
3557
+ function Gn(e) {
3558
+ return Ue(e) || e === 47;
3573
3559
  }
3574
- function Vn(e) {
3560
+ function Fn(e) {
3575
3561
  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;
3576
3562
  }
3577
- function Yt(e) {
3563
+ function Qt(e) {
3578
3564
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3579
3565
  }
3580
- function kn(e) {
3566
+ function jn(e) {
3581
3567
  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;
3582
3568
  }
3583
- function Ge(e) {
3569
+ function De(e) {
3584
3570
  e.forEach(function(t) {
3585
- if (delete t.location, jt(t) || Vt(t))
3571
+ if (delete t.location, Dt(t) || Gt(t))
3586
3572
  for (var r in t.options)
3587
- delete t.options[r].location, Ge(t.options[r].value);
3573
+ delete t.options[r].location, De(t.options[r].value);
3588
3574
  else
3589
- Dt(t) && Xt(t.style) || (Gt(t) || Ft(t)) && Me(t.style) ? delete t.style.location : kt(t) && Ge(t.children);
3575
+ $t(t) && jt(t.style) || (Rt(t) || Ut(t)) && Ne(t.style) ? delete t.style.location : Ft(t) && De(t.children);
3590
3576
  });
3591
3577
  }
3592
- function Xn(e, t) {
3578
+ function Vn(e, t) {
3593
3579
  t === void 0 && (t = {}), t = m({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3594
- var r = new Fn(e, t).parse();
3580
+ var r = new Dn(e, t).parse();
3595
3581
  if (r.err) {
3596
- var n = SyntaxError(p[r.err.kind]);
3582
+ var n = SyntaxError(d[r.err.kind]);
3597
3583
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3598
3584
  }
3599
- return t?.captureLocation || Ge(r.val), r.val;
3585
+ return t?.captureLocation || De(r.val), r.val;
3600
3586
  }
3601
3587
  var j;
3602
3588
  (function(e) {
@@ -3614,7 +3600,7 @@ var be = (
3614
3600
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3615
3601
  }, t;
3616
3602
  }(Error)
3617
- ), mt = (
3603
+ ), dt = (
3618
3604
  /** @class */
3619
3605
  function(e) {
3620
3606
  A(t, e);
@@ -3623,7 +3609,7 @@ var be = (
3623
3609
  }
3624
3610
  return t;
3625
3611
  }(be)
3626
- ), Wn = (
3612
+ ), kn = (
3627
3613
  /** @class */
3628
3614
  function(e) {
3629
3615
  A(t, e);
@@ -3632,7 +3618,7 @@ var be = (
3632
3618
  }
3633
3619
  return t;
3634
3620
  }(be)
3635
- ), zn = (
3621
+ ), Xn = (
3636
3622
  /** @class */
3637
3623
  function(e) {
3638
3624
  A(t, e);
@@ -3645,17 +3631,17 @@ var be = (
3645
3631
  (function(e) {
3646
3632
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3647
3633
  })(x || (x = {}));
3648
- function Zn(e) {
3634
+ function Wn(e) {
3649
3635
  return e.length < 2 ? e : e.reduce(function(t, r) {
3650
3636
  var n = t[t.length - 1];
3651
3637
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3652
3638
  }, []);
3653
3639
  }
3654
- function Qn(e) {
3640
+ function zn(e) {
3655
3641
  return typeof e == "function";
3656
3642
  }
3657
3643
  function he(e, t, r, n, i, o, s) {
3658
- if (e.length === 1 && ut(e[0]))
3644
+ if (e.length === 1 && st(e[0]))
3659
3645
  return [
3660
3646
  {
3661
3647
  type: x.literal,
@@ -3664,14 +3650,14 @@ function he(e, t, r, n, i, o, s) {
3664
3650
  ];
3665
3651
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3666
3652
  var l = u[h];
3667
- if (ut(l)) {
3653
+ if (st(l)) {
3668
3654
  a.push({
3669
3655
  type: x.literal,
3670
3656
  value: l.value
3671
3657
  });
3672
3658
  continue;
3673
3659
  }
3674
- if (vn(l)) {
3660
+ if (mn(l)) {
3675
3661
  typeof o == "number" && a.push({
3676
3662
  type: x.literal,
3677
3663
  value: r.getNumberFormat(t).format(o)
@@ -3680,61 +3666,61 @@ function he(e, t, r, n, i, o, s) {
3680
3666
  }
3681
3667
  var f = l.value;
3682
3668
  if (!(i && f in i))
3683
- throw new zn(f, s);
3669
+ throw new Xn(f, s);
3684
3670
  var c = i[f];
3685
- if (bn(l)) {
3671
+ if (pn(l)) {
3686
3672
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3687
3673
  type: typeof c == "string" ? x.literal : x.object,
3688
3674
  value: c
3689
3675
  });
3690
3676
  continue;
3691
3677
  }
3692
- if (Gt(l)) {
3693
- var b = typeof l.style == "string" ? n.date[l.style] : Me(l.style) ? l.style.parsedOptions : void 0;
3678
+ if (Rt(l)) {
3679
+ var b = typeof l.style == "string" ? n.date[l.style] : Ne(l.style) ? l.style.parsedOptions : void 0;
3694
3680
  a.push({
3695
3681
  type: x.literal,
3696
3682
  value: r.getDateTimeFormat(t, b).format(c)
3697
3683
  });
3698
3684
  continue;
3699
3685
  }
3700
- if (Ft(l)) {
3701
- var b = typeof l.style == "string" ? n.time[l.style] : Me(l.style) ? l.style.parsedOptions : n.time.medium;
3686
+ if (Ut(l)) {
3687
+ var b = typeof l.style == "string" ? n.time[l.style] : Ne(l.style) ? l.style.parsedOptions : n.time.medium;
3702
3688
  a.push({
3703
3689
  type: x.literal,
3704
3690
  value: r.getDateTimeFormat(t, b).format(c)
3705
3691
  });
3706
3692
  continue;
3707
3693
  }
3708
- if (Dt(l)) {
3709
- var b = typeof l.style == "string" ? n.number[l.style] : Xt(l.style) ? l.style.parsedOptions : void 0;
3694
+ if ($t(l)) {
3695
+ var b = typeof l.style == "string" ? n.number[l.style] : jt(l.style) ? l.style.parsedOptions : void 0;
3710
3696
  b && b.scale && (c = c * (b.scale || 1)), a.push({
3711
3697
  type: x.literal,
3712
3698
  value: r.getNumberFormat(t, b).format(c)
3713
3699
  });
3714
3700
  continue;
3715
3701
  }
3716
- if (kt(l)) {
3717
- var g = l.children, v = l.value, H = i[v];
3718
- if (!Qn(H))
3719
- throw new Wn(v, "function", s);
3720
- var E = he(g, t, r, n, i, o), I = H(E.map(function(P) {
3721
- return P.value;
3702
+ if (Ft(l)) {
3703
+ var y = l.children, g = l.value, H = i[g];
3704
+ if (!zn(H))
3705
+ throw new kn(g, "function", s);
3706
+ var E = he(y, t, r, n, i, o), I = H(E.map(function(C) {
3707
+ return C.value;
3722
3708
  }));
3723
- Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(P) {
3709
+ Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(C) {
3724
3710
  return {
3725
- type: typeof P == "string" ? x.literal : x.object,
3726
- value: P
3711
+ type: typeof C == "string" ? x.literal : x.object,
3712
+ value: C
3727
3713
  };
3728
3714
  }));
3729
3715
  }
3730
- if (jt(l)) {
3716
+ if (Dt(l)) {
3731
3717
  var w = l.options[c] || l.options.other;
3732
3718
  if (!w)
3733
- throw new mt(l.value, c, Object.keys(l.options), s);
3719
+ throw new dt(l.value, c, Object.keys(l.options), s);
3734
3720
  a.push.apply(a, he(w.value, t, r, n, i));
3735
3721
  continue;
3736
3722
  }
3737
- if (Vt(l)) {
3723
+ if (Gt(l)) {
3738
3724
  var w = l.options["=".concat(c)];
3739
3725
  if (!w) {
3740
3726
  if (!Intl.PluralRules)
@@ -3745,24 +3731,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3745
3731
  w = l.options[z] || l.options.other;
3746
3732
  }
3747
3733
  if (!w)
3748
- throw new mt(l.value, c, Object.keys(l.options), s);
3734
+ throw new dt(l.value, c, Object.keys(l.options), s);
3749
3735
  a.push.apply(a, he(w.value, t, r, n, i, c - (l.offset || 0)));
3750
3736
  continue;
3751
3737
  }
3752
3738
  }
3753
- return Zn(a);
3739
+ return Wn(a);
3754
3740
  }
3755
- function Jn(e, t) {
3741
+ function Zn(e, t) {
3756
3742
  return t ? m(m(m({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3757
3743
  return r[n] = m(m({}, e[n]), t[n] || {}), r;
3758
3744
  }, {})) : e;
3759
3745
  }
3760
- function qn(e, t) {
3746
+ function Qn(e, t) {
3761
3747
  return t ? Object.keys(e).reduce(function(r, n) {
3762
- return r[n] = Jn(e[n], t[n]), r;
3748
+ return r[n] = Zn(e[n], t[n]), r;
3763
3749
  }, m({}, e)) : e;
3764
3750
  }
3765
- function we(e) {
3751
+ function He(e) {
3766
3752
  return {
3767
3753
  create: function() {
3768
3754
  return {
@@ -3776,39 +3762,39 @@ function we(e) {
3776
3762
  }
3777
3763
  };
3778
3764
  }
3779
- function Yn(e) {
3765
+ function Jn(e) {
3780
3766
  return e === void 0 && (e = {
3781
3767
  number: {},
3782
3768
  dateTime: {},
3783
3769
  pluralRules: {}
3784
3770
  }), {
3785
- getNumberFormat: xe(function() {
3771
+ getNumberFormat: Ee(function() {
3786
3772
  for (var t, r = [], n = 0; n < arguments.length; n++)
3787
3773
  r[n] = arguments[n];
3788
3774
  return new ((t = Intl.NumberFormat).bind.apply(t, D([void 0], r, !1)))();
3789
3775
  }, {
3790
- cache: we(e.number),
3791
- strategy: Se.variadic
3776
+ cache: He(e.number),
3777
+ strategy: xe.variadic
3792
3778
  }),
3793
- getDateTimeFormat: xe(function() {
3779
+ getDateTimeFormat: Ee(function() {
3794
3780
  for (var t, r = [], n = 0; n < arguments.length; n++)
3795
3781
  r[n] = arguments[n];
3796
3782
  return new ((t = Intl.DateTimeFormat).bind.apply(t, D([void 0], r, !1)))();
3797
3783
  }, {
3798
- cache: we(e.dateTime),
3799
- strategy: Se.variadic
3784
+ cache: He(e.dateTime),
3785
+ strategy: xe.variadic
3800
3786
  }),
3801
- getPluralRules: xe(function() {
3787
+ getPluralRules: Ee(function() {
3802
3788
  for (var t, r = [], n = 0; n < arguments.length; n++)
3803
3789
  r[n] = arguments[n];
3804
3790
  return new ((t = Intl.PluralRules).bind.apply(t, D([void 0], r, !1)))();
3805
3791
  }, {
3806
- cache: we(e.pluralRules),
3807
- strategy: Se.variadic
3792
+ cache: He(e.pluralRules),
3793
+ strategy: xe.variadic
3808
3794
  })
3809
3795
  };
3810
3796
  }
3811
- var Kn = (
3797
+ var qn = (
3812
3798
  /** @class */
3813
3799
  function() {
3814
3800
  function e(t, r, n, i) {
@@ -3840,13 +3826,13 @@ var Kn = (
3840
3826
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3841
3827
  var s = i || {};
3842
3828
  s.formatters;
3843
- var a = Or(s, ["formatters"]);
3829
+ var a = Ar(s, ["formatters"]);
3844
3830
  this.ast = e.__parse(t, m(m({}, a), { locale: this.resolvedLocale }));
3845
3831
  } else
3846
3832
  this.ast = t;
3847
3833
  if (!Array.isArray(this.ast))
3848
3834
  throw new TypeError("A message must be provided as a String or AST.");
3849
- this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Yn(this.formatterCache);
3835
+ this.formats = Qn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
3850
3836
  }
3851
3837
  return Object.defineProperty(e, "defaultLocale", {
3852
3838
  get: function() {
@@ -3859,7 +3845,7 @@ var Kn = (
3859
3845
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3860
3846
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3861
3847
  }
3862
- }, e.__parse = Xn, e.formats = {
3848
+ }, e.__parse = Vn, e.formats = {
3863
3849
  number: {
3864
3850
  integer: {
3865
3851
  maximumFractionDigits: 0
@@ -3920,7 +3906,7 @@ var Kn = (
3920
3906
  }, e;
3921
3907
  }()
3922
3908
  );
3923
- function ei(e, t) {
3909
+ function Yn(e, t) {
3924
3910
  if (t == null)
3925
3911
  return;
3926
3912
  if (t in e)
@@ -3941,92 +3927,92 @@ function ei(e, t) {
3941
3927
  n = void 0;
3942
3928
  return n;
3943
3929
  }
3944
- const C = {}, ti = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Kt = (e, t) => {
3930
+ const P = {}, Kn = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), Jt = (e, t) => {
3945
3931
  if (t == null)
3946
3932
  return;
3947
- if (t in C && e in C[t])
3948
- return C[t][e];
3949
- const r = ve(t);
3933
+ if (t in P && e in P[t])
3934
+ return P[t][e];
3935
+ const r = ge(t);
3950
3936
  for (let n = 0; n < r.length; n++) {
3951
- const i = r[n], o = ni(i, e);
3937
+ const i = r[n], o = ti(i, e);
3952
3938
  if (o)
3953
- return ti(e, t, o);
3939
+ return Kn(e, t, o);
3954
3940
  }
3955
3941
  };
3956
- let We;
3942
+ let ke;
3957
3943
  const te = me({});
3958
- function ri(e) {
3959
- return We[e] || null;
3944
+ function ei(e) {
3945
+ return ke[e] || null;
3960
3946
  }
3961
- function er(e) {
3962
- return e in We;
3947
+ function qt(e) {
3948
+ return e in ke;
3963
3949
  }
3964
- function ni(e, t) {
3965
- if (!er(e))
3950
+ function ti(e, t) {
3951
+ if (!qt(e))
3966
3952
  return null;
3967
- const r = ri(e);
3968
- return ei(r, t);
3953
+ const r = ei(e);
3954
+ return Yn(r, t);
3969
3955
  }
3970
- function ii(e) {
3956
+ function ri(e) {
3971
3957
  if (e == null)
3972
3958
  return;
3973
- const t = ve(e);
3959
+ const t = ge(e);
3974
3960
  for (let r = 0; r < t.length; r++) {
3975
3961
  const n = t[r];
3976
- if (er(n))
3962
+ if (qt(n))
3977
3963
  return n;
3978
3964
  }
3979
3965
  }
3980
- function oi(e, ...t) {
3981
- delete C[e], te.update((r) => (r[e] = hn.all([r[e] || {}, ...t]), r));
3966
+ function ni(e, ...t) {
3967
+ delete P[e], te.update((r) => (r[e] = sn.all([r[e] || {}, ...t]), r));
3982
3968
  }
3983
3969
  X(
3984
3970
  [te],
3985
3971
  ([e]) => Object.keys(e)
3986
3972
  );
3987
- te.subscribe((e) => We = e);
3973
+ te.subscribe((e) => ke = e);
3988
3974
  const le = {};
3989
- function si(e, t) {
3975
+ function ii(e, t) {
3990
3976
  le[e].delete(t), le[e].size === 0 && delete le[e];
3991
3977
  }
3992
- function tr(e) {
3978
+ function Yt(e) {
3993
3979
  return le[e];
3994
3980
  }
3995
- function ai(e) {
3996
- return ve(e).map((t) => {
3997
- const r = tr(t);
3981
+ function oi(e) {
3982
+ return ge(e).map((t) => {
3983
+ const r = Yt(t);
3998
3984
  return [t, r ? [...r] : []];
3999
3985
  }).filter(([, t]) => t.length > 0);
4000
3986
  }
4001
- function Fe(e) {
4002
- return e == null ? !1 : ve(e).some(
3987
+ function Ge(e) {
3988
+ return e == null ? !1 : ge(e).some(
4003
3989
  (t) => {
4004
3990
  var r;
4005
- return (r = tr(t)) == null ? void 0 : r.size;
3991
+ return (r = Yt(t)) == null ? void 0 : r.size;
4006
3992
  }
4007
3993
  );
4008
3994
  }
4009
- function ui(e, t) {
3995
+ function si(e, t) {
4010
3996
  return Promise.all(
4011
- t.map((n) => (si(e, n), n().then((i) => i.default || i)))
4012
- ).then((n) => oi(e, ...n));
3997
+ t.map((n) => (ii(e, n), n().then((i) => i.default || i)))
3998
+ ).then((n) => ni(e, ...n));
4013
3999
  }
4014
4000
  const Z = {};
4015
- function rr(e) {
4016
- if (!Fe(e))
4001
+ function Kt(e) {
4002
+ if (!Ge(e))
4017
4003
  return e in Z ? Z[e] : Promise.resolve();
4018
- const t = ai(e);
4004
+ const t = oi(e);
4019
4005
  return Z[e] = Promise.all(
4020
4006
  t.map(
4021
- ([r, n]) => ui(r, n)
4007
+ ([r, n]) => si(r, n)
4022
4008
  )
4023
4009
  ).then(() => {
4024
- if (Fe(e))
4025
- return rr(e);
4010
+ if (Ge(e))
4011
+ return Kt(e);
4026
4012
  delete Z[e];
4027
4013
  }), Z[e];
4028
4014
  }
4029
- const hi = {
4015
+ const ai = {
4030
4016
  number: {
4031
4017
  scientific: { notation: "scientific" },
4032
4018
  engineering: { notation: "engineering" },
@@ -4055,78 +4041,78 @@ const hi = {
4055
4041
  timeZoneName: "short"
4056
4042
  }
4057
4043
  }
4058
- }, li = {
4044
+ }, ui = {
4059
4045
  fallbackLocale: null,
4060
4046
  loadingDelay: 200,
4061
- formats: hi,
4047
+ formats: ai,
4062
4048
  warnOnMissingMessages: !0,
4063
4049
  handleMissingMessage: void 0,
4064
4050
  ignoreTag: !0
4065
- }, fi = li;
4051
+ }, hi = ui;
4066
4052
  function V() {
4067
- return fi;
4068
- }
4069
- const Te = me(!1);
4070
- var ci = Object.defineProperty, pi = Object.defineProperties, di = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, mi = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vi = (e, t) => {
4071
- for (var r in t || (t = {}))
4072
- mi.call(t, r) && vt(e, r, t[r]);
4073
- if (bt)
4074
- for (var r of bt(t))
4075
- bi.call(t, r) && vt(e, r, t[r]);
4053
+ return hi;
4054
+ }
4055
+ const we = me(!1);
4056
+ var li = Object.defineProperty, fi = Object.defineProperties, ci = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, pi = 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) => {
4057
+ for (var r in t)
4058
+ di.call(t, r) && mt(e, r, t[r]);
4059
+ if (pt)
4060
+ for (var r of pt(t))
4061
+ pi.call(t, r) && mt(e, r, t[r]);
4076
4062
  return e;
4077
- }, gi = (e, t) => pi(e, di(t));
4078
- let je;
4063
+ }, bi = (e, t) => fi(e, ci(t));
4064
+ let Fe;
4079
4065
  const ce = me(null);
4080
- function gt(e) {
4066
+ function bt(e) {
4081
4067
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4082
4068
  }
4083
- function ve(e, t = V().fallbackLocale) {
4084
- const r = gt(e);
4085
- return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
4069
+ function ge(e, t = V().fallbackLocale) {
4070
+ const r = bt(e);
4071
+ return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
4086
4072
  }
4087
4073
  function L() {
4088
- return je ?? void 0;
4074
+ return Fe ?? void 0;
4089
4075
  }
4090
4076
  ce.subscribe((e) => {
4091
- je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4077
+ Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4092
4078
  });
4093
- const yi = (e) => {
4094
- if (e && ii(e) && Fe(e)) {
4079
+ const gi = (e) => {
4080
+ if (e && ri(e) && Ge(e)) {
4095
4081
  const { loadingDelay: t } = V();
4096
4082
  let r;
4097
4083
  return typeof window < "u" && L() != null && t ? r = window.setTimeout(
4098
- () => Te.set(!0),
4084
+ () => we.set(!0),
4099
4085
  t
4100
- ) : Te.set(!0), rr(e).then(() => {
4086
+ ) : we.set(!0), Kt(e).then(() => {
4101
4087
  ce.set(e);
4102
4088
  }).finally(() => {
4103
- clearTimeout(r), Te.set(!1);
4089
+ clearTimeout(r), we.set(!1);
4104
4090
  });
4105
4091
  }
4106
4092
  return ce.set(e);
4107
- }, re = gi(vi({}, ce), {
4108
- set: yi
4109
- }), ge = (e) => {
4093
+ }, re = bi(mi({}, ce), {
4094
+ set: gi
4095
+ }), ye = (e) => {
4110
4096
  const t = /* @__PURE__ */ Object.create(null);
4111
4097
  return (n) => {
4112
4098
  const i = JSON.stringify(n);
4113
4099
  return i in t ? t[i] : t[i] = e(n);
4114
4100
  };
4115
4101
  };
4116
- var _i = Object.defineProperty, pe = Object.getOwnPropertySymbols, nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
4102
+ var yi = Object.defineProperty, de = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
4117
4103
  for (var r in t || (t = {}))
4118
- nr.call(t, r) && yt(e, r, t[r]);
4119
- if (pe)
4120
- for (var r of pe(t))
4121
- ir.call(t, r) && yt(e, r, t[r]);
4104
+ er.call(t, r) && gt(e, r, t[r]);
4105
+ if (de)
4106
+ for (var r of de(t))
4107
+ tr.call(t, r) && gt(e, r, t[r]);
4122
4108
  return e;
4123
4109
  }, W = (e, t) => {
4124
4110
  var r = {};
4125
4111
  for (var n in e)
4126
- nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4127
- if (e != null && pe)
4128
- for (var n of pe(e))
4129
- t.indexOf(n) < 0 && ir.call(e, n) && (r[n] = e[n]);
4112
+ er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4113
+ if (e != null && de)
4114
+ for (var n of de(e))
4115
+ t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
4130
4116
  return r;
4131
4117
  };
4132
4118
  const Y = (e, t) => {
@@ -4134,21 +4120,21 @@ const Y = (e, t) => {
4134
4120
  if (e in r && t in r[e])
4135
4121
  return r[e][t];
4136
4122
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4137
- }, Ei = ge(
4123
+ }, vi = ye(
4138
4124
  (e) => {
4139
4125
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4140
4126
  if (r == null)
4141
4127
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4142
4128
  return n && (i = Y("number", n)), new Intl.NumberFormat(r, i);
4143
4129
  }
4144
- ), xi = ge(
4130
+ ), _i = ye(
4145
4131
  (e) => {
4146
4132
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4147
4133
  if (r == null)
4148
4134
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4149
4135
  return n ? i = Y("date", n) : Object.keys(i).length === 0 && (i = Y("date", "short")), new Intl.DateTimeFormat(r, i);
4150
4136
  }
4151
- ), Si = ge(
4137
+ ), Ei = ye(
4152
4138
  (e) => {
4153
4139
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4154
4140
  if (r == null)
@@ -4157,33 +4143,33 @@ const Y = (e, t) => {
4157
4143
  );
4158
4144
  return n ? i = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
4159
4145
  }
4160
- ), Hi = (e = {}) => {
4146
+ ), xi = (e = {}) => {
4161
4147
  var t = e, {
4162
4148
  locale: r = L()
4163
4149
  } = t, n = W(t, [
4164
4150
  "locale"
4165
4151
  ]);
4166
- return Ei(ze({ locale: r }, n));
4167
- }, wi = (e = {}) => {
4152
+ return vi(Xe({ locale: r }, n));
4153
+ }, Si = (e = {}) => {
4168
4154
  var t = e, {
4169
4155
  locale: r = L()
4170
4156
  } = t, n = W(t, [
4171
4157
  "locale"
4172
4158
  ]);
4173
- return xi(ze({ locale: r }, n));
4174
- }, Ti = (e = {}) => {
4159
+ return _i(Xe({ locale: r }, n));
4160
+ }, Hi = (e = {}) => {
4175
4161
  var t = e, {
4176
4162
  locale: r = L()
4177
4163
  } = t, n = W(t, [
4178
4164
  "locale"
4179
4165
  ]);
4180
- return Si(ze({ locale: r }, n));
4181
- }, Bi = ge(
4166
+ return Ei(Xe({ locale: r }, n));
4167
+ }, wi = ye(
4182
4168
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4183
- (e, t = L()) => new Kn(e, t, V().formats, {
4169
+ (e, t = L()) => new qn(e, t, V().formats, {
4184
4170
  ignoreTag: V().ignoreTag
4185
4171
  })
4186
- ), Ai = (e, t = {}) => {
4172
+ ), Ti = (e, t = {}) => {
4187
4173
  var r, n, i, o;
4188
4174
  let s = t;
4189
4175
  typeof e == "object" && (s = e, e = s.id);
@@ -4196,7 +4182,7 @@ const Y = (e, t) => {
4196
4182
  throw new Error(
4197
4183
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4198
4184
  );
4199
- let l = Kt(e, h);
4185
+ let l = Jt(e, h);
4200
4186
  if (!l)
4201
4187
  l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4202
4188
  else if (typeof l != "string")
@@ -4207,7 +4193,7 @@ const Y = (e, t) => {
4207
4193
  return l;
4208
4194
  let f = l;
4209
4195
  try {
4210
- f = Bi(l, h).format(a);
4196
+ f = wi(l, h).format(a);
4211
4197
  } catch (c) {
4212
4198
  c instanceof Error && console.warn(
4213
4199
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4215,27 +4201,27 @@ const Y = (e, t) => {
4215
4201
  );
4216
4202
  }
4217
4203
  return f;
4218
- }, Ci = (e, t) => Ti(t).format(e), Pi = (e, t) => wi(t).format(e), Oi = (e, t) => Hi(t).format(e), Li = (e, t = L()) => Kt(e, t);
4219
- X([re, te], () => Ai);
4220
- X([re], () => Ci);
4204
+ }, Bi = (e, t) => Hi(t).format(e), Ai = (e, t) => Si(t).format(e), Pi = (e, t) => xi(t).format(e), Ci = (e, t = L()) => Jt(e, t);
4205
+ X([re, te], () => Ti);
4206
+ X([re], () => Bi);
4207
+ X([re], () => Ai);
4221
4208
  X([re], () => Pi);
4222
- X([re], () => Oi);
4223
- X([re, te], () => Li);
4224
- window.emWidgets = { topic: Xr };
4225
- const _t = (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));
4226
- function Ii(e) {
4227
- ar(e, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
4209
+ X([re, te], () => Ci);
4210
+ window.emWidgets = { topic: jr };
4211
+ const yt = (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));
4212
+ function Oi(e) {
4213
+ ir(e, "svelte-1d17c9c", ".CashierVideoWrapper{position:absolute;width:100%;height:100%;left:0;top:0;z-index:8;background-color:var(--mmw--color-grey-light, #f3f6f9)}.CashierVideoHeader{width:100%;height:29px;position:relative;text-transform:uppercase;text-align:right;background-color:var(--mmw--color-grey-light, #f3f6f9);font-size:var(--emw--font-size-medium, 16px);z-index:6}.CashierVideoHeader svg{padding:8px 8px 8px 15px}.CashierVideo video{object-fit:contain;width:100%;height:100%;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%)}.CashierVideo svg{cursor:pointer;margin-left:auto;position:absolute;right:0;z-index:6;padding:5px 13px}");
4228
4214
  }
4229
- function Et(e) {
4215
+ function vt(e) {
4230
4216
  let t, r, n, i, o, s, a, h = !/*desktopView*/
4231
- e[2] && xt(e), u = (
4217
+ e[2] && _t(e), u = (
4232
4218
  /*desktopView*/
4233
- e[2] && St(e)
4219
+ e[2] && Et(e)
4234
4220
  );
4235
4221
  return {
4236
4222
  c() {
4237
- t = O("div"), h && h.c(), r = qe(), n = O("div"), u && u.c(), i = qe(), o = O("video"), s = O("source"), Je(s.src, a = /*videosrc*/
4238
- e[0]) || _(s, "src", a), o.autoplay = !0, o.controls = !0, _(o, "controlslist", "nodownload"), _(o, "disablepictureinpicture", ""), _(n, "class", "CashierVideo"), _(t, "class", "CashierVideoWrapper"), Ye(
4223
+ t = O("div"), h && h.c(), r = Qe(), n = O("div"), u && u.c(), i = Qe(), o = O("video"), s = O("source"), Ze(s.src, a = /*videosrc*/
4224
+ e[0]) || _(s, "src", a), o.autoplay = !0, o.controls = !0, _(o, "controlslist", "nodownload"), _(o, "disablepictureinpicture", ""), _(n, "class", "CashierVideo"), _(t, "class", "CashierVideoWrapper"), Je(
4239
4225
  t,
4240
4226
  "CashierVideoWrapperDesktop",
4241
4227
  /*desktopView*/
@@ -4247,11 +4233,11 @@ function Et(e) {
4247
4233
  },
4248
4234
  p(l, f) {
4249
4235
  /*desktopView*/
4250
- l[2] ? h && (h.d(1), h = null) : h ? h.p(l, f) : (h = xt(l), h.c(), h.m(t, r)), /*desktopView*/
4251
- l[2] ? u ? u.p(l, f) : (u = St(l), u.c(), u.m(n, i)) : u && (u.d(1), u = null), f & /*videosrc*/
4252
- 1 && !Je(s.src, a = /*videosrc*/
4236
+ l[2] ? h && (h.d(1), h = null) : h ? h.p(l, f) : (h = _t(l), h.c(), h.m(t, r)), /*desktopView*/
4237
+ l[2] ? u ? u.p(l, f) : (u = Et(l), u.c(), u.m(n, i)) : u && (u.d(1), u = null), f & /*videosrc*/
4238
+ 1 && !Ze(s.src, a = /*videosrc*/
4253
4239
  l[0]) && _(s, "src", a), f & /*desktopView*/
4254
- 4 && Ye(
4240
+ 4 && Je(
4255
4241
  t,
4256
4242
  "CashierVideoWrapperDesktop",
4257
4243
  /*desktopView*/
@@ -4263,14 +4249,14 @@ function Et(e) {
4263
4249
  }
4264
4250
  };
4265
4251
  }
4266
- function xt(e) {
4252
+ function _t(e) {
4267
4253
  let t, r, n, i, o;
4268
4254
  return {
4269
4255
  c() {
4270
4256
  t = O("div"), r = fe("svg"), n = fe("path"), _(n, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), _(n, "fill", "#111111"), _(r, "xmlns", "http://www.w3.org/2000/svg"), _(r, "width", "13"), _(r, "height", "13"), _(r, "viewBox", "0 0 13 13"), _(r, "fill", "none"), _(t, "class", "CashierVideoHeader");
4271
4257
  },
4272
4258
  m(s, a) {
4273
- ee(s, t, a), T(t, r), T(r, n), i || (o = Bt(
4259
+ ee(s, t, a), T(t, r), T(r, n), i || (o = wt(
4274
4260
  r,
4275
4261
  "click",
4276
4262
  /*click_handler*/
@@ -4283,14 +4269,14 @@ function xt(e) {
4283
4269
  }
4284
4270
  };
4285
4271
  }
4286
- function St(e) {
4272
+ function Et(e) {
4287
4273
  let t, r, n, i;
4288
4274
  return {
4289
4275
  c() {
4290
4276
  t = fe("svg"), r = fe("path"), _(r, "d", "M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z"), _(r, "fill", "#111111"), _(t, "xmlns", "http://www.w3.org/2000/svg"), _(t, "width", "13"), _(t, "height", "13"), _(t, "viewBox", "0 0 13 13"), _(t, "fill", "none");
4291
4277
  },
4292
4278
  m(o, s) {
4293
- ee(o, t, s), T(t, r), n || (i = Bt(
4279
+ ee(o, t, s), T(t, r), n || (i = wt(
4294
4280
  t,
4295
4281
  "click",
4296
4282
  /*click_handler_1*/
@@ -4303,21 +4289,21 @@ function St(e) {
4303
4289
  }
4304
4290
  };
4305
4291
  }
4306
- function Ni(e) {
4292
+ function Li(e) {
4307
4293
  let t, r = (
4308
4294
  /*show*/
4309
- e[3] && Et(e)
4295
+ e[3] && vt(e)
4310
4296
  );
4311
4297
  return {
4312
4298
  c() {
4313
- r && r.c(), t = lr();
4299
+ r && r.c(), t = ar();
4314
4300
  },
4315
4301
  m(n, i) {
4316
4302
  r && r.m(n, i), ee(n, t, i);
4317
4303
  },
4318
4304
  p(n, [i]) {
4319
4305
  /*show*/
4320
- n[3] ? r ? r.p(n, i) : (r = Et(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4306
+ n[3] ? r ? r.p(n, i) : (r = vt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4321
4307
  },
4322
4308
  i: S,
4323
4309
  o: S,
@@ -4326,21 +4312,21 @@ function Ni(e) {
4326
4312
  }
4327
4313
  };
4328
4314
  }
4329
- function Mi(e, t, r) {
4315
+ function Ii(e, t, r) {
4330
4316
  let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { videosrc: o } = t, { mbsource: s = "" } = t, a = window.navigator.userAgent, h = !0, u = !1, l;
4331
4317
  const f = () => {
4332
4318
  r(3, u = !1), window.postMessage({ type: "ClosedCashierVideoModal" }, window.location.href), window.postMessage({ type: "EnableScroll" }, window.location.href);
4333
4319
  }, c = (E) => {
4334
4320
  E.data.type == "ShowCashierVideoModal" && (r(3, u = !0), window.postMessage({ type: "DisableScroll" }, window.location.href)), E.data.type == "HideCashierVideoModal" && f();
4335
4321
  }, b = () => {
4336
- r(2, h = !_t(a));
4322
+ r(2, h = !yt(a));
4337
4323
  };
4338
- dr(() => (window.addEventListener("message", c, !1), () => {
4324
+ fr(() => (window.addEventListener("message", c, !1), () => {
4339
4325
  window.removeEventListener("message", c);
4340
4326
  }));
4341
- const g = () => f(), v = () => f();
4327
+ const y = () => f(), g = () => f();
4342
4328
  function H(E) {
4343
- Be[E ? "unshift" : "push"](() => {
4329
+ Te[E ? "unshift" : "push"](() => {
4344
4330
  l = E, r(1, l);
4345
4331
  });
4346
4332
  }
@@ -4348,10 +4334,10 @@ function Mi(e, t, r) {
4348
4334
  "clientstyling" in E && r(5, n = E.clientstyling), "clientstylingurl" in E && r(6, i = E.clientstylingurl), "videosrc" in E && r(0, o = E.videosrc), "mbsource" in E && r(7, s = E.mbsource);
4349
4335
  }, e.$$.update = () => {
4350
4336
  e.$$.dirty & /*clientstyling, customStylingContainer*/
4351
- 34 && n && l && Ar(l, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4352
- 66 && i && l && Cr(l, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4353
- 130 && s && l && Pr(l, `${s}.Style`);
4354
- }, _t(a) && b(), [
4337
+ 34 && n && l && wr(l, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4338
+ 66 && i && l && Tr(l, i), e.$$.dirty & /*mbsource, customStylingContainer*/
4339
+ 130 && s && l && Br(l, `${s}.Style`);
4340
+ }, yt(a) && b(), [
4355
4341
  o,
4356
4342
  l,
4357
4343
  h,
@@ -4360,26 +4346,26 @@ function Mi(e, t, r) {
4360
4346
  n,
4361
4347
  i,
4362
4348
  s,
4349
+ y,
4363
4350
  g,
4364
- v,
4365
4351
  H
4366
4352
  ];
4367
4353
  }
4368
- class $i extends Tr {
4354
+ class Ni extends Sr {
4369
4355
  constructor(t) {
4370
- super(), Hr(
4356
+ super(), Er(
4371
4357
  this,
4372
4358
  t,
4373
- Mi,
4374
- Ni,
4375
- wt,
4359
+ Ii,
4360
+ Li,
4361
+ St,
4376
4362
  {
4377
4363
  clientstyling: 5,
4378
4364
  clientstylingurl: 6,
4379
4365
  videosrc: 0,
4380
4366
  mbsource: 7
4381
4367
  },
4382
- Ii
4368
+ Oi
4383
4369
  );
4384
4370
  }
4385
4371
  get clientstyling() {
@@ -4407,7 +4393,7 @@ class $i extends Tr {
4407
4393
  this.$$set({ mbsource: t }), R();
4408
4394
  }
4409
4395
  }
4410
- wr($i, { clientstyling: {}, clientstylingurl: {}, videosrc: {}, mbsource: {} }, [], [], !0);
4396
+ xr(Ni, { clientstyling: {}, clientstylingurl: {}, videosrc: {}, mbsource: {} }, [], [], !0);
4411
4397
  export {
4412
- $i as C
4398
+ Ni as C
4413
4399
  };