@everymatrix/player-panic-button 1.54.4 → 1.54.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
1
  function B() {
2
2
  }
3
- function vt(e) {
3
+ function yt(e) {
4
4
  return e();
5
5
  }
6
- function Ze() {
6
+ function We() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function re(e) {
10
- e.forEach(vt);
10
+ e.forEach(yt);
11
11
  }
12
12
  function ke(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function xt(e, t) {
15
+ function vt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function tr(e) {
18
+ function er(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Et(e, ...t) {
21
+ function xt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function Et(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function rr(e, t, r) {
31
- e.$$.on_destroy.push(Et(t, r));
30
+ function tr(e, t, r) {
31
+ e.$$.on_destroy.push(xt(t, r));
32
32
  }
33
33
  function ue(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function nr(e, t, r) {
37
- const n = ir(e);
36
+ function rr(e, t, r) {
37
+ const n = nr(e);
38
38
  if (!n.getElementById(t)) {
39
39
  const i = Y("style");
40
- i.id = t, i.textContent = r, or(n, i);
40
+ i.id = t, i.textContent = r, ir(n, i);
41
41
  }
42
42
  }
43
- function ir(e) {
43
+ function nr(e) {
44
44
  if (!e) return document;
45
45
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
46
46
  return t && /** @type {ShadowRoot} */
@@ -49,14 +49,14 @@ function ir(e) {
49
49
  t
50
50
  ) : e.ownerDocument;
51
51
  }
52
- function or(e, t) {
52
+ function ir(e, t) {
53
53
  return ue(
54
54
  /** @type {Document} */
55
55
  e.head || e,
56
56
  t
57
57
  ), t.sheet;
58
58
  }
59
- function _t(e, t, r) {
59
+ function Et(e, t, r) {
60
60
  e.insertBefore(t, r || null);
61
61
  }
62
62
  function Ve(e) {
@@ -65,23 +65,23 @@ function Ve(e) {
65
65
  function Y(e) {
66
66
  return document.createElement(e);
67
67
  }
68
- function sr(e) {
68
+ function or(e) {
69
69
  return document.createTextNode(e);
70
70
  }
71
71
  function L(e, t, r) {
72
72
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
73
73
  }
74
- function ar(e) {
74
+ function sr(e) {
75
75
  return Array.from(e.childNodes);
76
76
  }
77
- function ur(e, t) {
77
+ function ar(e, t) {
78
78
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
79
79
  t);
80
80
  }
81
- function Qe(e, t, r) {
81
+ function Ze(e, t, r) {
82
82
  e.classList.toggle(t, !!r);
83
83
  }
84
- function hr(e) {
84
+ function ur(e) {
85
85
  const t = {};
86
86
  return e.childNodes.forEach(
87
87
  /** @param {Element} node */
@@ -94,19 +94,19 @@ let K;
94
94
  function q(e) {
95
95
  K = e;
96
96
  }
97
- function lr() {
97
+ function hr() {
98
98
  if (!K) throw new Error("Function called outside component initialization");
99
99
  return K;
100
100
  }
101
- function cr(e) {
102
- lr().$$.on_mount.push(e);
101
+ function lr(e) {
102
+ hr().$$.on_mount.push(e);
103
103
  }
104
104
  const G = [], pe = [];
105
105
  let F = [];
106
- const Je = [], fr = /* @__PURE__ */ Promise.resolve();
106
+ const Qe = [], cr = /* @__PURE__ */ Promise.resolve();
107
107
  let Pe = !1;
108
- function pr() {
109
- Pe || (Pe = !0, fr.then(I));
108
+ function fr() {
109
+ Pe || (Pe = !0, cr.then(I));
110
110
  }
111
111
  function Ae(e) {
112
112
  F.push(e);
@@ -121,7 +121,7 @@ function I() {
121
121
  try {
122
122
  for (; D < G.length; ) {
123
123
  const t = G[D];
124
- D++, q(t), dr(t.$$);
124
+ D++, q(t), pr(t.$$);
125
125
  }
126
126
  } catch (t) {
127
127
  throw G.length = 0, D = 0, t;
@@ -133,40 +133,40 @@ function I() {
133
133
  }
134
134
  F.length = 0;
135
135
  } while (G.length);
136
- for (; Je.length; )
137
- Je.pop()();
136
+ for (; Qe.length; )
137
+ Qe.pop()();
138
138
  Pe = !1, Ee.clear(), q(e);
139
139
  }
140
- function dr(e) {
140
+ function pr(e) {
141
141
  if (e.fragment !== null) {
142
142
  e.update(), re(e.before_update);
143
143
  const t = e.dirty;
144
144
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
145
145
  }
146
146
  }
147
- function mr(e) {
147
+ function dr(e) {
148
148
  const t = [], r = [];
149
149
  F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
150
150
  }
151
- const br = /* @__PURE__ */ new Set();
152
- function gr(e, t) {
153
- e && e.i && (br.delete(e), e.i(t));
151
+ const mr = /* @__PURE__ */ new Set();
152
+ function br(e, t) {
153
+ e && e.i && (mr.delete(e), e.i(t));
154
154
  }
155
- function yr(e, t, r) {
155
+ function gr(e, t, r) {
156
156
  const { fragment: n, after_update: i } = e.$$;
157
157
  n && n.m(t, r), Ae(() => {
158
- const o = e.$$.on_mount.map(vt).filter(ke);
158
+ const o = e.$$.on_mount.map(yt).filter(ke);
159
159
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
160
160
  }), i.forEach(Ae);
161
161
  }
162
- function vr(e, t) {
162
+ function yr(e, t) {
163
163
  const r = e.$$;
164
- r.fragment !== null && (mr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
164
+ r.fragment !== null && (dr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
165
165
  }
166
- function xr(e, t) {
167
- e.$$.dirty[0] === -1 && (G.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
166
+ function vr(e, t) {
167
+ e.$$.dirty[0] === -1 && (G.push(e), fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
168
168
  }
169
- function Er(e, t, r, n, i, o, s = null, a = [-1]) {
169
+ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
170
170
  const h = K;
171
171
  q(e);
172
172
  const u = e.$$ = {
@@ -176,7 +176,7 @@ function Er(e, t, r, n, i, o, s = null, a = [-1]) {
176
176
  props: o,
177
177
  update: B,
178
178
  not_equal: i,
179
- bound: Ze(),
179
+ bound: We(),
180
180
  // lifecycle
181
181
  on_mount: [],
182
182
  on_destroy: [],
@@ -185,28 +185,28 @@ function Er(e, t, r, n, i, o, s = null, a = [-1]) {
185
185
  after_update: [],
186
186
  context: new Map(t.context || (h ? h.$$.context : [])),
187
187
  // everything else
188
- callbacks: Ze(),
188
+ callbacks: We(),
189
189
  dirty: a,
190
190
  skip_bound: !1,
191
191
  root: t.target || h.$$.root
192
192
  };
193
193
  s && s(u.root);
194
194
  let l = !1;
195
- if (u.ctx = r(e, t.props || {}, (c, f, ...m) => {
195
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
196
196
  const v = m.length ? m[0] : f;
197
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && xr(e, c)), f;
198
- }), u.update(), l = !0, re(u.before_update), u.fragment = n(u.ctx), t.target) {
197
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && vr(e, c)), f;
198
+ }) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
199
199
  if (t.hydrate) {
200
- const c = ar(t.target);
200
+ const c = sr(t.target);
201
201
  u.fragment && u.fragment.l(c), c.forEach(Ve);
202
202
  } else
203
203
  u.fragment && u.fragment.c();
204
- t.intro && gr(e.$$.fragment), yr(e, t.target, t.anchor), I();
204
+ t.intro && br(e.$$.fragment), gr(e, t.target, t.anchor), I();
205
205
  }
206
206
  q(h);
207
207
  }
208
- let St;
209
- typeof HTMLElement == "function" && (St = class extends HTMLElement {
208
+ let _t;
209
+ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
210
210
  /** The Svelte component constructor */
211
211
  $$ctor;
212
212
  /** Slots */
@@ -255,7 +255,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
255
255
  * @param {HTMLElement} [anchor]
256
256
  */
257
257
  m: function(h, u) {
258
- _t(h, o, u);
258
+ Et(h, o, u);
259
259
  },
260
260
  d: function(h) {
261
261
  h && Ve(o);
@@ -265,7 +265,7 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
265
265
  };
266
266
  if (await Promise.resolve(), !this.$$cn || this.$$c)
267
267
  return;
268
- const t = {}, r = hr(this);
268
+ const t = {}, r = ur(this);
269
269
  for (const i of this.$$s)
270
270
  i in r && (t[i] = [e(i)]);
271
271
  for (const i of this.attributes) {
@@ -352,8 +352,8 @@ function he(e, t, r, n) {
352
352
  return t;
353
353
  }
354
354
  }
355
- function _r(e, t, r, n, i, o) {
356
- let s = class extends St {
355
+ function Er(e, t, r, n, i, o) {
356
+ let s = class extends _t {
357
357
  constructor() {
358
358
  super(e, r, i), this.$$p_d = t;
359
359
  }
@@ -381,7 +381,7 @@ function _r(e, t, r, n, i, o) {
381
381
  }), e.element = /** @type {any} */
382
382
  s, s;
383
383
  }
384
- class Sr {
384
+ class _r {
385
385
  /**
386
386
  * ### PRIVATE API
387
387
  *
@@ -400,7 +400,7 @@ class Sr {
400
400
  $$set = void 0;
401
401
  /** @returns {void} */
402
402
  $destroy() {
403
- vr(this, 1), this.$destroy = B;
403
+ yr(this, 1), this.$destroy = B;
404
404
  }
405
405
  /**
406
406
  * @template {Extract<keyof Events, string>} K
@@ -422,11 +422,11 @@ class Sr {
422
422
  * @returns {void}
423
423
  */
424
424
  $set(t) {
425
- this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
425
+ this.$$set && !er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
426
426
  }
427
427
  }
428
- const Br = "4";
429
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Br);
428
+ const Sr = "4";
429
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sr);
430
430
  var Oe = function(e, t) {
431
431
  return Oe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
432
432
  r.__proto__ = n;
@@ -452,7 +452,7 @@ var b = function() {
452
452
  return t;
453
453
  }, b.apply(this, arguments);
454
454
  };
455
- function Tr(e, t) {
455
+ function Br(e, t) {
456
456
  var r = {};
457
457
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
458
458
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -495,13 +495,13 @@ function j(e, t, r) {
495
495
  function P(e) {
496
496
  return typeof e == "function";
497
497
  }
498
- function Bt(e) {
498
+ function St(e) {
499
499
  var t = function(n) {
500
500
  Error.call(n), n.stack = new Error().stack;
501
501
  }, r = e(t);
502
502
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
503
503
  }
504
- var _e = Bt(function(e) {
504
+ var _e = St(function(e) {
505
505
  return function(r) {
506
506
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
507
507
  ` + r.map(function(n, i) {
@@ -557,7 +557,7 @@ var be = function() {
557
557
  for (var f = Ie(c), m = f.next(); !m.done; m = f.next()) {
558
558
  var v = m.value;
559
559
  try {
560
- Ye(v);
560
+ Je(v);
561
561
  } catch (y) {
562
562
  o = o ?? [], y instanceof _e ? o = j(j([], Ce(o)), Ce(y.errors)) : o.push(y);
563
563
  }
@@ -579,7 +579,7 @@ var be = function() {
579
579
  var r;
580
580
  if (t && t !== this)
581
581
  if (this.closed)
582
- Ye(t);
582
+ Je(t);
583
583
  else {
584
584
  if (t instanceof e) {
585
585
  if (t.closed || t._hasParent(this))
@@ -604,20 +604,16 @@ var be = function() {
604
604
  var t = new e();
605
605
  return t.closed = !0, t;
606
606
  }(), e;
607
- }(), Tt = be.EMPTY;
608
- function Ht(e) {
607
+ }(), Bt = be.EMPTY;
608
+ function Tt(e) {
609
609
  return e instanceof be || e && "closed" in e && P(e.remove) && P(e.add) && P(e.unsubscribe);
610
610
  }
611
- function Ye(e) {
611
+ function Je(e) {
612
612
  P(e) ? e() : e.unsubscribe();
613
613
  }
614
- var Hr = {
615
- onUnhandledError: null,
616
- onStoppedNotification: null,
617
- Promise: void 0,
618
- useDeprecatedSynchronousErrorHandling: !1,
619
- useDeprecatedNextContext: !1
620
- }, wr = {
614
+ var Tr = {
615
+ Promise: void 0
616
+ }, Hr = {
621
617
  setTimeout: function(e, t) {
622
618
  for (var r = [], n = 2; n < arguments.length; n++)
623
619
  r[n - 2] = arguments[n];
@@ -628,21 +624,21 @@ var Hr = {
628
624
  },
629
625
  delegate: void 0
630
626
  };
631
- function Pr(e) {
632
- wr.setTimeout(function() {
627
+ function wr(e) {
628
+ Hr.setTimeout(function() {
633
629
  throw e;
634
630
  });
635
631
  }
636
- function qe() {
632
+ function Ye() {
637
633
  }
638
634
  function le(e) {
639
635
  e();
640
636
  }
641
- var wt = function(e) {
637
+ var Ht = function(e) {
642
638
  A(t, e);
643
639
  function t(r) {
644
640
  var n = e.call(this) || this;
645
- return n.isStopped = !1, r ? (n.destination = r, Ht(r) && r.add(n)) : n.destination = Ir, n;
641
+ return n.isStopped = !1, r ? (n.destination = r, Tt(r) && r.add(n)) : n.destination = Or, n;
646
642
  }
647
643
  return t.create = function(r, n, i) {
648
644
  return new Le(r, n, i);
@@ -669,7 +665,7 @@ var wt = function(e) {
669
665
  this.unsubscribe();
670
666
  }
671
667
  }, t;
672
- }(be), Ar = function() {
668
+ }(be), Pr = function() {
673
669
  function e(t) {
674
670
  this.partialObserver = t;
675
671
  }
@@ -708,35 +704,35 @@ var wt = function(e) {
708
704
  next: r ?? void 0,
709
705
  error: n ?? void 0,
710
706
  complete: i ?? void 0
711
- } : s = r, o.destination = new Ar(s), o;
707
+ } : s = r, o.destination = new Pr(s), o;
712
708
  }
713
709
  return t;
714
- }(wt);
710
+ }(Ht);
715
711
  function oe(e) {
716
- Pr(e);
712
+ wr(e);
717
713
  }
718
- function Or(e) {
714
+ function Ar(e) {
719
715
  throw e;
720
716
  }
721
- var Ir = {
717
+ var Or = {
722
718
  closed: !0,
723
- next: qe,
724
- error: Or,
725
- complete: qe
726
- }, Cr = function() {
719
+ next: Ye,
720
+ error: Ar,
721
+ complete: Ye
722
+ }, Ir = function() {
727
723
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
728
724
  }();
729
- function Nr(e) {
725
+ function Cr(e) {
730
726
  return e;
731
727
  }
732
- function Lr(e) {
733
- return e.length === 0 ? Nr : e.length === 1 ? e[0] : function(r) {
728
+ function Nr(e) {
729
+ return e.length === 0 ? Cr : e.length === 1 ? e[0] : function(r) {
734
730
  return e.reduce(function(n, i) {
735
731
  return i(n);
736
732
  }, r);
737
733
  };
738
734
  }
739
- var Ke = function() {
735
+ var qe = function() {
740
736
  function e(t) {
741
737
  t && (this._subscribe = t);
742
738
  }
@@ -744,7 +740,7 @@ var Ke = function() {
744
740
  var r = new e();
745
741
  return r.source = this, r.operator = t, r;
746
742
  }, e.prototype.subscribe = function(t, r, n) {
747
- var i = this, o = $r(t) ? t : new Le(t, r, n);
743
+ var i = this, o = Mr(t) ? t : new Le(t, r, n);
748
744
  return le(function() {
749
745
  var s = i, a = s.operator, h = s.source;
750
746
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -757,7 +753,7 @@ var Ke = function() {
757
753
  }
758
754
  }, e.prototype.forEach = function(t, r) {
759
755
  var n = this;
760
- return r = et(r), new r(function(i, o) {
756
+ return r = Ke(r), new r(function(i, o) {
761
757
  var s = new Le({
762
758
  next: function(a) {
763
759
  try {
@@ -774,15 +770,15 @@ var Ke = function() {
774
770
  }, e.prototype._subscribe = function(t) {
775
771
  var r;
776
772
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
777
- }, e.prototype[Cr] = function() {
773
+ }, e.prototype[Ir] = function() {
778
774
  return this;
779
775
  }, e.prototype.pipe = function() {
780
776
  for (var t = [], r = 0; r < arguments.length; r++)
781
777
  t[r] = arguments[r];
782
- return Lr(t)(this);
778
+ return Nr(t)(this);
783
779
  }, e.prototype.toPromise = function(t) {
784
780
  var r = this;
785
- return t = et(t), new t(function(n, i) {
781
+ return t = Ke(t), new t(function(n, i) {
786
782
  var o;
787
783
  r.subscribe(function(s) {
788
784
  return o = s;
@@ -796,32 +792,32 @@ var Ke = function() {
796
792
  return new e(t);
797
793
  }, e;
798
794
  }();
799
- function et(e) {
795
+ function Ke(e) {
800
796
  var t;
801
- return (t = e ?? Hr.Promise) !== null && t !== void 0 ? t : Promise;
797
+ return (t = e ?? Tr.Promise) !== null && t !== void 0 ? t : Promise;
802
798
  }
803
- function Mr(e) {
799
+ function Lr(e) {
804
800
  return e && P(e.next) && P(e.error) && P(e.complete);
805
801
  }
806
- function $r(e) {
807
- return e && e instanceof wt || Mr(e) && Ht(e);
802
+ function Mr(e) {
803
+ return e && e instanceof Ht || Lr(e) && Tt(e);
808
804
  }
809
- var Rr = Bt(function(e) {
805
+ var $r = St(function(e) {
810
806
  return function() {
811
807
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
812
808
  };
813
- }), Pt = function(e) {
809
+ }), wt = function(e) {
814
810
  A(t, e);
815
811
  function t() {
816
812
  var r = e.call(this) || this;
817
813
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
818
814
  }
819
815
  return t.prototype.lift = function(r) {
820
- var n = new tt(this, this);
816
+ var n = new et(this, this);
821
817
  return n.operator = r, n;
822
818
  }, t.prototype._throwIfClosed = function() {
823
819
  if (this.closed)
824
- throw new Rr();
820
+ throw new $r();
825
821
  }, t.prototype.next = function(r) {
826
822
  var n = this;
827
823
  le(function() {
@@ -877,19 +873,19 @@ var Rr = Bt(function(e) {
877
873
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
878
874
  }, t.prototype._innerSubscribe = function(r) {
879
875
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
880
- return o || s ? Tt : (this.currentObservers = null, a.push(r), new be(function() {
876
+ return o || s ? Bt : (this.currentObservers = null, a.push(r), new be(function() {
881
877
  n.currentObservers = null, Ne(a, r);
882
878
  }));
883
879
  }, t.prototype._checkFinalizedStatuses = function(r) {
884
880
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
885
881
  i ? r.error(o) : s && r.complete();
886
882
  }, t.prototype.asObservable = function() {
887
- var r = new Ke();
883
+ var r = new qe();
888
884
  return r.source = this, r;
889
885
  }, t.create = function(r, n) {
890
- return new tt(r, n);
886
+ return new et(r, n);
891
887
  }, t;
892
- }(Ke), tt = function(e) {
888
+ }(qe), et = function(e) {
893
889
  A(t, e);
894
890
  function t(r, n) {
895
891
  var i = e.call(this) || this;
@@ -906,17 +902,17 @@ var Rr = Bt(function(e) {
906
902
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
907
903
  }, t.prototype._subscribe = function(r) {
908
904
  var n, i;
909
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Tt;
905
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Bt;
910
906
  }, t;
911
- }(Pt), At = {
907
+ }(wt), Pt = {
912
908
  now: function() {
913
- return (At.delegate || Date).now();
909
+ return (Pt.delegate || Date).now();
914
910
  },
915
911
  delegate: void 0
916
- }, Dr = function(e) {
912
+ }, Rr = function(e) {
917
913
  A(t, e);
918
914
  function t(r, n, i) {
919
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = At);
915
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Pt);
920
916
  var o = e.call(this) || this;
921
917
  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;
922
918
  }
@@ -936,15 +932,15 @@ var Rr = Bt(function(e) {
936
932
  u && o.splice(0, u + 1);
937
933
  }
938
934
  }, t;
939
- }(Pt);
940
- const rt = [], nt = {}, Ur = (e, t = 0) => {
941
- if (rt.indexOf(e) == -1) {
942
- const r = new Dr(t);
943
- nt[e] = r, rt.push(e);
935
+ }(wt);
936
+ const tt = [], rt = {}, Dr = (e, t = 0) => {
937
+ if (tt.indexOf(e) == -1) {
938
+ const r = new Rr(t);
939
+ rt[e] = r, tt.push(e);
944
940
  }
945
- return nt[e];
941
+ return rt[e];
946
942
  }, U = [];
947
- function Gr(e, t) {
943
+ function Ur(e, t) {
948
944
  return {
949
945
  subscribe: ge(e, t).subscribe
950
946
  };
@@ -953,7 +949,7 @@ function ge(e, t = B) {
953
949
  let r;
954
950
  const n = /* @__PURE__ */ new Set();
955
951
  function i(a) {
956
- if (xt(e, a) && (e = a, r)) {
952
+ if (vt(e, a) && (e = a, r)) {
957
953
  const h = !U.length;
958
954
  for (const u of n)
959
955
  u[1](), U.push(u, e);
@@ -980,7 +976,7 @@ function W(e, t, r) {
980
976
  if (!i.every(Boolean))
981
977
  throw new Error("derived() expects stores as input, got a falsy value");
982
978
  const o = t.length < 2;
983
- return Gr(r, (s, a) => {
979
+ return Ur(r, (s, a) => {
984
980
  let h = !1;
985
981
  const u = [];
986
982
  let l = 0, c = B;
@@ -991,7 +987,7 @@ function W(e, t, r) {
991
987
  const v = t(n ? u[0] : u, s, a);
992
988
  o ? s(v) : c = ke(v) ? v : B;
993
989
  }, m = i.map(
994
- (v, y) => Et(
990
+ (v, y) => xt(
995
991
  v,
996
992
  (S) => {
997
993
  u[y] = S, l &= ~(1 << y), h && f();
@@ -1006,70 +1002,70 @@ function W(e, t, r) {
1006
1002
  };
1007
1003
  });
1008
1004
  }
1009
- function Fr(e) {
1010
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1005
+ function Gr(e) {
1006
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1011
1007
  }
1012
- var jr = function(t) {
1013
- return kr(t) && !Vr(t);
1008
+ var Fr = function(t) {
1009
+ return jr(t) && !kr(t);
1014
1010
  };
1015
- function kr(e) {
1011
+ function jr(e) {
1016
1012
  return !!e && typeof e == "object";
1017
1013
  }
1018
- function Vr(e) {
1014
+ function kr(e) {
1019
1015
  var t = Object.prototype.toString.call(e);
1020
- return t === "[object RegExp]" || t === "[object Date]" || Wr(e);
1016
+ return t === "[object RegExp]" || t === "[object Date]" || zr(e);
1021
1017
  }
1022
- var zr = typeof Symbol == "function" && Symbol.for, Xr = zr ? Symbol.for("react.element") : 60103;
1023
- function Wr(e) {
1018
+ var Vr = typeof Symbol == "function" && Symbol.for, Xr = Vr ? Symbol.for("react.element") : 60103;
1019
+ function zr(e) {
1024
1020
  return e.$$typeof === Xr;
1025
1021
  }
1026
- function Zr(e) {
1022
+ function Wr(e) {
1027
1023
  return Array.isArray(e) ? [] : {};
1028
1024
  }
1029
1025
  function ee(e, t) {
1030
- return t.clone !== !1 && t.isMergeableObject(e) ? k(Zr(e), e, t) : e;
1026
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(Wr(e), e, t) : e;
1031
1027
  }
1032
- function Qr(e, t, r) {
1028
+ function Zr(e, t, r) {
1033
1029
  return e.concat(t).map(function(n) {
1034
1030
  return ee(n, r);
1035
1031
  });
1036
1032
  }
1037
- function Jr(e, t) {
1033
+ function Qr(e, t) {
1038
1034
  if (!t.customMerge)
1039
1035
  return k;
1040
1036
  var r = t.customMerge(e);
1041
1037
  return typeof r == "function" ? r : k;
1042
1038
  }
1043
- function Yr(e) {
1039
+ function Jr(e) {
1044
1040
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1045
1041
  return Object.propertyIsEnumerable.call(e, t);
1046
1042
  }) : [];
1047
1043
  }
1048
- function it(e) {
1049
- return Object.keys(e).concat(Yr(e));
1044
+ function nt(e) {
1045
+ return Object.keys(e).concat(Jr(e));
1050
1046
  }
1051
- function Ot(e, t) {
1047
+ function At(e, t) {
1052
1048
  try {
1053
1049
  return t in e;
1054
1050
  } catch {
1055
1051
  return !1;
1056
1052
  }
1057
1053
  }
1058
- function qr(e, t) {
1059
- return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1054
+ function Yr(e, t) {
1055
+ return At(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1060
1056
  }
1061
- function Kr(e, t, r) {
1057
+ function qr(e, t, r) {
1062
1058
  var n = {};
1063
- return r.isMergeableObject(e) && it(e).forEach(function(i) {
1059
+ return r.isMergeableObject(e) && nt(e).forEach(function(i) {
1064
1060
  n[i] = ee(e[i], r);
1065
- }), it(t).forEach(function(i) {
1066
- qr(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = Jr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
1061
+ }), nt(t).forEach(function(i) {
1062
+ Yr(e, i) || (At(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
1067
1063
  }), n;
1068
1064
  }
1069
1065
  function k(e, t, r) {
1070
- r = r || {}, r.arrayMerge = r.arrayMerge || Qr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified = ee;
1066
+ r = r || {}, r.arrayMerge = r.arrayMerge || Zr, r.isMergeableObject = r.isMergeableObject || Fr, r.cloneUnlessOtherwiseSpecified = ee;
1071
1067
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1072
- return o ? n ? r.arrayMerge(e, t, r) : Kr(e, t, r) : ee(t, r);
1068
+ return o ? n ? r.arrayMerge(e, t, r) : qr(e, t, r) : ee(t, r);
1073
1069
  }
1074
1070
  k.all = function(t, r) {
1075
1071
  if (!Array.isArray(t))
@@ -1078,42 +1074,39 @@ k.all = function(t, r) {
1078
1074
  return k(n, i, r);
1079
1075
  }, {});
1080
1076
  };
1081
- var en = k, tn = en;
1082
- const rn = /* @__PURE__ */ Fr(tn);
1077
+ var Kr = k, en = Kr;
1078
+ const tn = /* @__PURE__ */ Gr(en);
1083
1079
  function Se(e, t) {
1084
- var r = t && t.cache ? t.cache : ln, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : on;
1080
+ var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : an, i = t && t.strategy ? t.strategy : on;
1085
1081
  return i(e, {
1086
1082
  cache: r,
1087
1083
  serializer: n
1088
1084
  });
1089
1085
  }
1090
- function nn(e) {
1086
+ function rn(e) {
1091
1087
  return e == null || typeof e == "number" || typeof e == "boolean";
1092
1088
  }
1093
- function It(e, t, r, n) {
1094
- var i = nn(n) ? n : r(n), o = t.get(i);
1089
+ function nn(e, t, r, n) {
1090
+ var i = rn(n) ? n : r(n), o = t.get(i);
1095
1091
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1096
1092
  }
1097
- function Ct(e, t, r) {
1093
+ function Ot(e, t, r) {
1098
1094
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1099
1095
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1100
1096
  }
1101
- function ze(e, t, r, n, i) {
1097
+ function It(e, t, r, n, i) {
1102
1098
  return r.bind(t, e, n, i);
1103
1099
  }
1104
1100
  function on(e, t) {
1105
- var r = e.length === 1 ? It : Ct;
1106
- return ze(e, this, r, t.cache.create(), t.serializer);
1101
+ var r = e.length === 1 ? nn : Ot;
1102
+ return It(e, this, r, t.cache.create(), t.serializer);
1107
1103
  }
1108
1104
  function sn(e, t) {
1109
- return ze(e, this, Ct, t.cache.create(), t.serializer);
1110
- }
1111
- function an(e, t) {
1112
- return ze(e, this, It, t.cache.create(), t.serializer);
1105
+ return It(e, this, Ot, t.cache.create(), t.serializer);
1113
1106
  }
1114
- var un = function() {
1107
+ var an = function() {
1115
1108
  return JSON.stringify(arguments);
1116
- }, hn = (
1109
+ }, un = (
1117
1110
  /** @class */
1118
1111
  function() {
1119
1112
  function e() {
@@ -1125,13 +1118,12 @@ var un = function() {
1125
1118
  this.cache[t] = r;
1126
1119
  }, e;
1127
1120
  }()
1128
- ), ln = {
1121
+ ), hn = {
1129
1122
  create: function() {
1130
- return new hn();
1123
+ return new un();
1131
1124
  }
1132
1125
  }, Be = {
1133
- variadic: sn,
1134
- monadic: an
1126
+ variadic: sn
1135
1127
  }, p;
1136
1128
  (function(e) {
1137
1129
  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";
@@ -1144,43 +1136,43 @@ var V;
1144
1136
  (function(e) {
1145
1137
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1146
1138
  })(V || (V = {}));
1147
- function ot(e) {
1139
+ function it(e) {
1148
1140
  return e.type === x.literal;
1149
1141
  }
1150
- function cn(e) {
1142
+ function ln(e) {
1151
1143
  return e.type === x.argument;
1152
1144
  }
1153
- function Nt(e) {
1145
+ function Ct(e) {
1154
1146
  return e.type === x.number;
1155
1147
  }
1156
- function Lt(e) {
1148
+ function Nt(e) {
1157
1149
  return e.type === x.date;
1158
1150
  }
1159
- function Mt(e) {
1151
+ function Lt(e) {
1160
1152
  return e.type === x.time;
1161
1153
  }
1162
- function $t(e) {
1154
+ function Mt(e) {
1163
1155
  return e.type === x.select;
1164
1156
  }
1165
- function Rt(e) {
1157
+ function $t(e) {
1166
1158
  return e.type === x.plural;
1167
1159
  }
1168
- function fn(e) {
1160
+ function cn(e) {
1169
1161
  return e.type === x.pound;
1170
1162
  }
1171
- function Dt(e) {
1163
+ function Rt(e) {
1172
1164
  return e.type === x.tag;
1173
1165
  }
1174
- function Ut(e) {
1166
+ function Dt(e) {
1175
1167
  return !!(e && typeof e == "object" && e.type === V.number);
1176
1168
  }
1177
1169
  function Me(e) {
1178
1170
  return !!(e && typeof e == "object" && e.type === V.dateTime);
1179
1171
  }
1180
- var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pn = /(?:[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;
1181
- function dn(e) {
1172
+ var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, fn = /(?:[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;
1173
+ function pn(e) {
1182
1174
  var t = {};
1183
- return e.replace(pn, function(r) {
1175
+ return e.replace(fn, function(r) {
1184
1176
  var n = r.length;
1185
1177
  switch (r[0]) {
1186
1178
  case "G":
@@ -1269,11 +1261,11 @@ function dn(e) {
1269
1261
  return "";
1270
1262
  }), t;
1271
1263
  }
1272
- var mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1273
- function bn(e) {
1264
+ var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1265
+ function mn(e) {
1274
1266
  if (e.length === 0)
1275
1267
  throw new Error("Number skeleton cannot be empty");
1276
- for (var t = e.split(mn).filter(function(f) {
1268
+ for (var t = e.split(dn).filter(function(f) {
1277
1269
  return f.length > 0;
1278
1270
  }), r = [], n = 0, i = t; n < i.length; n++) {
1279
1271
  var o = i[n], s = o.split("/");
@@ -1288,17 +1280,17 @@ function bn(e) {
1288
1280
  }
1289
1281
  return r;
1290
1282
  }
1291
- function gn(e) {
1283
+ function bn(e) {
1292
1284
  return e.replace(/^(.*?)-/, "");
1293
1285
  }
1294
- var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
1295
- function at(e) {
1286
+ var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, gn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
1287
+ function st(e) {
1296
1288
  var t = {};
1297
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
1289
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gt, function(r, n, i) {
1298
1290
  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)), "";
1299
1291
  }), t;
1300
1292
  }
1301
- function kt(e) {
1293
+ function jt(e) {
1302
1294
  switch (e) {
1303
1295
  case "sign-auto":
1304
1296
  return {
@@ -1338,7 +1330,7 @@ function kt(e) {
1338
1330
  };
1339
1331
  }
1340
1332
  }
1341
- function vn(e) {
1333
+ function yn(e) {
1342
1334
  var t;
1343
1335
  if (e[0] === "E" && e[1] === "E" ? (t = {
1344
1336
  notation: "engineering"
@@ -1346,17 +1338,17 @@ function vn(e) {
1346
1338
  notation: "scientific"
1347
1339
  }, e = e.slice(1)), t) {
1348
1340
  var r = e.slice(0, 2);
1349
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
1341
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ft.test(e))
1350
1342
  throw new Error("Malformed concise eng/scientific notation");
1351
1343
  t.minimumIntegerDigits = e.length;
1352
1344
  }
1353
1345
  return t;
1354
1346
  }
1355
- function ut(e) {
1356
- var t = {}, r = kt(e);
1347
+ function at(e) {
1348
+ var t = {}, r = jt(e);
1357
1349
  return r || t;
1358
1350
  }
1359
- function xn(e) {
1351
+ function vn(e) {
1360
1352
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1361
1353
  var i = n[r];
1362
1354
  switch (i.stem) {
@@ -1380,7 +1372,7 @@ function xn(e) {
1380
1372
  continue;
1381
1373
  case "measure-unit":
1382
1374
  case "unit":
1383
- t.style = "unit", t.unit = gn(i.options[0]);
1375
+ t.style = "unit", t.unit = bn(i.options[0]);
1384
1376
  continue;
1385
1377
  case "compact-short":
1386
1378
  case "K":
@@ -1392,12 +1384,12 @@ function xn(e) {
1392
1384
  continue;
1393
1385
  case "scientific":
1394
1386
  t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1395
- return b(b({}, h), ut(u));
1387
+ return b(b({}, h), at(u));
1396
1388
  }, {}));
1397
1389
  continue;
1398
1390
  case "engineering":
1399
1391
  t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1400
- return b(b({}, h), ut(u));
1392
+ return b(b({}, h), at(u));
1401
1393
  }, {}));
1402
1394
  continue;
1403
1395
  case "notation-simple":
@@ -1442,7 +1434,7 @@ function xn(e) {
1442
1434
  case "integer-width":
1443
1435
  if (i.options.length > 1)
1444
1436
  throw new RangeError("integer-width stems only accept a single optional option");
1445
- i.options[0].replace(yn, function(h, u, l, c, f, m) {
1437
+ i.options[0].replace(gn, function(h, u, l, c, f, m) {
1446
1438
  if (u)
1447
1439
  t.minimumIntegerDigits = l.length;
1448
1440
  else {
@@ -1455,27 +1447,27 @@ function xn(e) {
1455
1447
  });
1456
1448
  continue;
1457
1449
  }
1458
- if (jt.test(i.stem)) {
1450
+ if (Ft.test(i.stem)) {
1459
1451
  t.minimumIntegerDigits = i.stem.length;
1460
1452
  continue;
1461
1453
  }
1462
- if (st.test(i.stem)) {
1454
+ if (ot.test(i.stem)) {
1463
1455
  if (i.options.length > 1)
1464
1456
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1465
- i.stem.replace(st, function(h, u, l, c, f, m) {
1457
+ i.stem.replace(ot, function(h, u, l, c, f, m) {
1466
1458
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1467
1459
  });
1468
1460
  var o = i.options[0];
1469
- o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), at(o)));
1461
+ o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), st(o)));
1470
1462
  continue;
1471
1463
  }
1472
- if (Ft.test(i.stem)) {
1473
- t = b(b({}, t), at(i.stem));
1464
+ if (Gt.test(i.stem)) {
1465
+ t = b(b({}, t), st(i.stem));
1474
1466
  continue;
1475
1467
  }
1476
- var s = kt(i.stem);
1468
+ var s = jt(i.stem);
1477
1469
  s && (t = b(b({}, t), s));
1478
- var a = vn(i.stem);
1470
+ var a = yn(i.stem);
1479
1471
  a && (t = b(b({}, t), a));
1480
1472
  }
1481
1473
  return t;
@@ -2895,13 +2887,13 @@ var se = {
2895
2887
  "h"
2896
2888
  ]
2897
2889
  };
2898
- function En(e, t) {
2890
+ function xn(e, t) {
2899
2891
  for (var r = "", n = 0; n < e.length; n++) {
2900
2892
  var i = e.charAt(n);
2901
2893
  if (i === "j") {
2902
2894
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2903
2895
  o++, n++;
2904
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = _n(t);
2896
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = En(t);
2905
2897
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2906
2898
  r += h;
2907
2899
  for (; s-- > 0; )
@@ -2910,7 +2902,7 @@ function En(e, t) {
2910
2902
  }
2911
2903
  return r;
2912
2904
  }
2913
- function _n(e) {
2905
+ function En(e) {
2914
2906
  var t = e.hourCycle;
2915
2907
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2916
2908
  e.hourCycles && // @ts-ignore
@@ -2932,20 +2924,20 @@ function _n(e) {
2932
2924
  var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2933
2925
  return i[0];
2934
2926
  }
2935
- var Te, Sn = new RegExp("^".concat(Gt.source, "*")), Bn = new RegExp("".concat(Gt.source, "*$"));
2927
+ var Te, _n = new RegExp("^".concat(Ut.source, "*")), Sn = new RegExp("".concat(Ut.source, "*$"));
2936
2928
  function d(e, t) {
2937
2929
  return { start: e, end: t };
2938
2930
  }
2939
- var Tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hn = !!String.fromCodePoint, wn = !!Object.fromEntries, Pn = !!String.prototype.codePointAt, An = !!String.prototype.trimStart, On = !!String.prototype.trimEnd, In = !!Number.isSafeInteger, Cn = In ? Number.isSafeInteger : function(e) {
2931
+ var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Tn = !!String.fromCodePoint, Hn = !!Object.fromEntries, wn = !!String.prototype.codePointAt, Pn = !!String.prototype.trimStart, An = !!String.prototype.trimEnd, On = !!Number.isSafeInteger, In = On ? Number.isSafeInteger : function(e) {
2940
2932
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2941
2933
  }, $e = !0;
2942
2934
  try {
2943
- var Nn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2944
- $e = ((Te = Nn.exec("a")) === null || Te === void 0 ? void 0 : Te[0]) === "a";
2935
+ var Cn = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2936
+ $e = ((Te = Cn.exec("a")) === null || Te === void 0 ? void 0 : Te[0]) === "a";
2945
2937
  } catch {
2946
2938
  $e = !1;
2947
2939
  }
2948
- var ht = Tn ? (
2940
+ var ut = Bn ? (
2949
2941
  // Native
2950
2942
  function(t, r, n) {
2951
2943
  return t.startsWith(r, n);
@@ -2955,7 +2947,7 @@ var ht = Tn ? (
2955
2947
  function(t, r, n) {
2956
2948
  return t.slice(n, n + r.length) === r;
2957
2949
  }
2958
- ), Re = Hn ? String.fromCodePoint : (
2950
+ ), Re = Tn ? String.fromCodePoint : (
2959
2951
  // IE11
2960
2952
  function() {
2961
2953
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2967,9 +2959,9 @@ var ht = Tn ? (
2967
2959
  }
2968
2960
  return n;
2969
2961
  }
2970
- ), lt = (
2962
+ ), ht = (
2971
2963
  // native
2972
- wn ? Object.fromEntries : (
2964
+ Hn ? Object.fromEntries : (
2973
2965
  // Ponyfill
2974
2966
  function(t) {
2975
2967
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2979,7 +2971,7 @@ var ht = Tn ? (
2979
2971
  return r;
2980
2972
  }
2981
2973
  )
2982
- ), Vt = Pn ? (
2974
+ ), kt = wn ? (
2983
2975
  // Native
2984
2976
  function(t, r) {
2985
2977
  return t.codePointAt(r);
@@ -2993,7 +2985,7 @@ var ht = Tn ? (
2993
2985
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2994
2986
  }
2995
2987
  }
2996
- ), Ln = An ? (
2988
+ ), Nn = Pn ? (
2997
2989
  // Native
2998
2990
  function(t) {
2999
2991
  return t.trimStart();
@@ -3001,9 +2993,9 @@ var ht = Tn ? (
3001
2993
  ) : (
3002
2994
  // Ponyfill
3003
2995
  function(t) {
3004
- return t.replace(Sn, "");
2996
+ return t.replace(_n, "");
3005
2997
  }
3006
- ), Mn = On ? (
2998
+ ), Ln = An ? (
3007
2999
  // Native
3008
3000
  function(t) {
3009
3001
  return t.trimEnd();
@@ -3011,32 +3003,32 @@ var ht = Tn ? (
3011
3003
  ) : (
3012
3004
  // Ponyfill
3013
3005
  function(t) {
3014
- return t.replace(Bn, "");
3006
+ return t.replace(Sn, "");
3015
3007
  }
3016
3008
  );
3017
- function zt(e, t) {
3009
+ function Vt(e, t) {
3018
3010
  return new RegExp(e, t);
3019
3011
  }
3020
3012
  var De;
3021
3013
  if ($e) {
3022
- var ct = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3014
+ var lt = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3023
3015
  De = function(t, r) {
3024
3016
  var n;
3025
- ct.lastIndex = r;
3026
- var i = ct.exec(t);
3017
+ lt.lastIndex = r;
3018
+ var i = lt.exec(t);
3027
3019
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3028
3020
  };
3029
3021
  } else
3030
3022
  De = function(t, r) {
3031
3023
  for (var n = []; ; ) {
3032
- var i = Vt(t, r);
3033
- if (i === void 0 || Xt(i) || Un(i))
3024
+ var i = kt(t, r);
3025
+ if (i === void 0 || Xt(i) || Dn(i))
3034
3026
  break;
3035
3027
  n.push(i), r += i >= 65536 ? 2 : 1;
3036
3028
  }
3037
3029
  return Re.apply(void 0, n);
3038
3030
  };
3039
- var $n = (
3031
+ var Mn = (
3040
3032
  /** @class */
3041
3033
  function() {
3042
3034
  function e(t, r) {
@@ -3118,7 +3110,7 @@ var $n = (
3118
3110
  return this.error(p.INVALID_TAG, d(n, this.clonePosition()));
3119
3111
  }, e.prototype.parseTagName = function() {
3120
3112
  var t = this.offset();
3121
- for (this.bump(); !this.isEOF() && Dn(this.char()); )
3113
+ for (this.bump(); !this.isEOF() && Rn(this.char()); )
3122
3114
  this.bump();
3123
3115
  return this.message.slice(t, this.offset());
3124
3116
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3147,7 +3139,7 @@ var $n = (
3147
3139
  };
3148
3140
  }, e.prototype.tryParseLeftAngleBracket = function() {
3149
3141
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3150
- !Rn(this.peek() || 0)) ? (this.bump(), "<") : null;
3142
+ !$n(this.peek() || 0)) ? (this.bump(), "<") : null;
3151
3143
  }, e.prototype.tryParseQuote = function(t) {
3152
3144
  if (this.isEOF() || this.char() !== 39)
3153
3145
  return null;
@@ -3234,7 +3226,7 @@ var $n = (
3234
3226
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3235
3227
  if (c.err)
3236
3228
  return c;
3237
- var f = Mn(c.val);
3229
+ var f = Ln(c.val);
3238
3230
  if (f.length === 0)
3239
3231
  return this.error(p.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3240
3232
  var m = d(l, this.clonePosition());
@@ -3244,8 +3236,8 @@ var $n = (
3244
3236
  if (v.err)
3245
3237
  return v;
3246
3238
  var y = d(i, this.clonePosition());
3247
- if (u && ht(u?.style, "::", 0)) {
3248
- var S = Ln(u.style.slice(2));
3239
+ if (u && ut(u?.style, "::", 0)) {
3240
+ var S = Nn(u.style.slice(2));
3249
3241
  if (a === "number") {
3250
3242
  var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3251
3243
  return c.err ? c : {
@@ -3256,12 +3248,12 @@ var $n = (
3256
3248
  if (S.length === 0)
3257
3249
  return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
3258
3250
  var N = S;
3259
- this.locale && (N = En(S, this.locale));
3251
+ this.locale && (N = xn(S, this.locale));
3260
3252
  var f = {
3261
3253
  type: V.dateTime,
3262
3254
  pattern: N,
3263
3255
  location: u.styleLocation,
3264
- parsedOptions: this.shouldParseSkeletons ? dn(N) : {}
3256
+ parsedOptions: this.shouldParseSkeletons ? pn(N) : {}
3265
3257
  }, O = a === "date" ? x.date : x.time;
3266
3258
  return {
3267
3259
  val: { type: O, value: n, location: y, style: f },
@@ -3307,7 +3299,7 @@ var $n = (
3307
3299
  val: {
3308
3300
  type: x.select,
3309
3301
  value: n,
3310
- options: lt($.val),
3302
+ options: ht($.val),
3311
3303
  location: ie
3312
3304
  },
3313
3305
  err: null
@@ -3315,7 +3307,7 @@ var $n = (
3315
3307
  val: {
3316
3308
  type: x.plural,
3317
3309
  value: n,
3318
- options: lt($.val),
3310
+ options: ht($.val),
3319
3311
  offset: H,
3320
3312
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3321
3313
  location: ie
@@ -3366,7 +3358,7 @@ var $n = (
3366
3358
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3367
3359
  var n = [];
3368
3360
  try {
3369
- n = bn(t);
3361
+ n = mn(t);
3370
3362
  } catch {
3371
3363
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3372
3364
  }
@@ -3375,7 +3367,7 @@ var $n = (
3375
3367
  type: V.number,
3376
3368
  tokens: n,
3377
3369
  location: r,
3378
- parsedOptions: this.shouldParseSkeletons ? xn(n) : {}
3370
+ parsedOptions: this.shouldParseSkeletons ? vn(n) : {}
3379
3371
  },
3380
3372
  err: null
3381
3373
  };
@@ -3423,7 +3415,7 @@ var $n = (
3423
3415
  break;
3424
3416
  }
3425
3417
  var h = d(i, this.clonePosition());
3426
- return o ? (s *= n, Cn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3418
+ return o ? (s *= n, In(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3427
3419
  }, e.prototype.offset = function() {
3428
3420
  return this.position.offset;
3429
3421
  }, e.prototype.isEOF = function() {
@@ -3438,7 +3430,7 @@ var $n = (
3438
3430
  var t = this.position.offset;
3439
3431
  if (t >= this.message.length)
3440
3432
  throw Error("out of bound");
3441
- var r = Vt(this.message, t);
3433
+ var r = kt(this.message, t);
3442
3434
  if (r === void 0)
3443
3435
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3444
3436
  return r;
@@ -3457,7 +3449,7 @@ var $n = (
3457
3449
  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);
3458
3450
  }
3459
3451
  }, e.prototype.bumpIf = function(t) {
3460
- if (ht(this.message, t, this.offset())) {
3452
+ if (ut(this.message, t, this.offset())) {
3461
3453
  for (var r = 0; r < t.length; r++)
3462
3454
  this.bump();
3463
3455
  return !0;
@@ -3492,39 +3484,39 @@ var $n = (
3492
3484
  function Ue(e) {
3493
3485
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3494
3486
  }
3495
- function Rn(e) {
3487
+ function $n(e) {
3496
3488
  return Ue(e) || e === 47;
3497
3489
  }
3498
- function Dn(e) {
3490
+ function Rn(e) {
3499
3491
  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;
3500
3492
  }
3501
3493
  function Xt(e) {
3502
3494
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3503
3495
  }
3504
- function Un(e) {
3496
+ function Dn(e) {
3505
3497
  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;
3506
3498
  }
3507
3499
  function Ge(e) {
3508
3500
  e.forEach(function(t) {
3509
- if (delete t.location, $t(t) || Rt(t))
3501
+ if (delete t.location, Mt(t) || $t(t))
3510
3502
  for (var r in t.options)
3511
3503
  delete t.options[r].location, Ge(t.options[r].value);
3512
- else Nt(t) && Ut(t.style) || (Lt(t) || Mt(t)) && Me(t.style) ? delete t.style.location : Dt(t) && Ge(t.children);
3504
+ else Ct(t) && Dt(t.style) || (Nt(t) || Lt(t)) && Me(t.style) ? delete t.style.location : Rt(t) && Ge(t.children);
3513
3505
  });
3514
3506
  }
3515
- function Gn(e, t) {
3507
+ function Un(e, t) {
3516
3508
  t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3517
- var r = new $n(e, t).parse();
3509
+ var r = new Mn(e, t).parse();
3518
3510
  if (r.err) {
3519
3511
  var n = SyntaxError(p[r.err.kind]);
3520
3512
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3521
3513
  }
3522
3514
  return t?.captureLocation || Ge(r.val), r.val;
3523
3515
  }
3524
- var z;
3516
+ var X;
3525
3517
  (function(e) {
3526
3518
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3527
- })(z || (z = {}));
3519
+ })(X || (X = {}));
3528
3520
  var ye = (
3529
3521
  /** @class */
3530
3522
  function(e) {
@@ -3537,30 +3529,30 @@ var ye = (
3537
3529
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3538
3530
  }, t;
3539
3531
  }(Error)
3540
- ), ft = (
3532
+ ), ct = (
3541
3533
  /** @class */
3542
3534
  function(e) {
3543
3535
  A(t, e);
3544
3536
  function t(r, n, i, o) {
3545
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3537
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
3546
3538
  }
3547
3539
  return t;
3548
3540
  }(ye)
3549
- ), Fn = (
3541
+ ), Gn = (
3550
3542
  /** @class */
3551
3543
  function(e) {
3552
3544
  A(t, e);
3553
3545
  function t(r, n, i) {
3554
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3546
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3555
3547
  }
3556
3548
  return t;
3557
3549
  }(ye)
3558
- ), jn = (
3550
+ ), Fn = (
3559
3551
  /** @class */
3560
3552
  function(e) {
3561
3553
  A(t, e);
3562
3554
  function t(r, n) {
3563
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3555
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3564
3556
  }
3565
3557
  return t;
3566
3558
  }(ye)
@@ -3568,17 +3560,17 @@ var ye = (
3568
3560
  (function(e) {
3569
3561
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3570
3562
  })(_ || (_ = {}));
3571
- function kn(e) {
3563
+ function jn(e) {
3572
3564
  return e.length < 2 ? e : e.reduce(function(t, r) {
3573
3565
  var n = t[t.length - 1];
3574
3566
  return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3575
3567
  }, []);
3576
3568
  }
3577
- function Vn(e) {
3569
+ function kn(e) {
3578
3570
  return typeof e == "function";
3579
3571
  }
3580
3572
  function ce(e, t, r, n, i, o, s) {
3581
- if (e.length === 1 && ot(e[0]))
3573
+ if (e.length === 1 && it(e[0]))
3582
3574
  return [
3583
3575
  {
3584
3576
  type: _.literal,
@@ -3587,14 +3579,14 @@ function ce(e, t, r, n, i, o, s) {
3587
3579
  ];
3588
3580
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3589
3581
  var l = u[h];
3590
- if (ot(l)) {
3582
+ if (it(l)) {
3591
3583
  a.push({
3592
3584
  type: _.literal,
3593
3585
  value: l.value
3594
3586
  });
3595
3587
  continue;
3596
3588
  }
3597
- if (fn(l)) {
3589
+ if (cn(l)) {
3598
3590
  typeof o == "number" && a.push({
3599
3591
  type: _.literal,
3600
3592
  value: r.getNumberFormat(t).format(o)
@@ -3603,16 +3595,16 @@ function ce(e, t, r, n, i, o, s) {
3603
3595
  }
3604
3596
  var c = l.value;
3605
3597
  if (!(i && c in i))
3606
- throw new jn(c, s);
3598
+ throw new Fn(c, s);
3607
3599
  var f = i[c];
3608
- if (cn(l)) {
3600
+ if (ln(l)) {
3609
3601
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3610
3602
  type: typeof f == "string" ? _.literal : _.object,
3611
3603
  value: f
3612
3604
  });
3613
3605
  continue;
3614
3606
  }
3615
- if (Lt(l)) {
3607
+ if (Nt(l)) {
3616
3608
  var m = typeof l.style == "string" ? n.date[l.style] : Me(l.style) ? l.style.parsedOptions : void 0;
3617
3609
  a.push({
3618
3610
  type: _.literal,
@@ -3620,7 +3612,7 @@ function ce(e, t, r, n, i, o, s) {
3620
3612
  });
3621
3613
  continue;
3622
3614
  }
3623
- if (Mt(l)) {
3615
+ if (Lt(l)) {
3624
3616
  var m = typeof l.style == "string" ? n.time[l.style] : Me(l.style) ? l.style.parsedOptions : n.time.medium;
3625
3617
  a.push({
3626
3618
  type: _.literal,
@@ -3628,18 +3620,18 @@ function ce(e, t, r, n, i, o, s) {
3628
3620
  });
3629
3621
  continue;
3630
3622
  }
3631
- if (Nt(l)) {
3632
- var m = typeof l.style == "string" ? n.number[l.style] : Ut(l.style) ? l.style.parsedOptions : void 0;
3623
+ if (Ct(l)) {
3624
+ var m = typeof l.style == "string" ? n.number[l.style] : Dt(l.style) ? l.style.parsedOptions : void 0;
3633
3625
  m && m.scale && (f = f * (m.scale || 1)), a.push({
3634
3626
  type: _.literal,
3635
3627
  value: r.getNumberFormat(t, m).format(f)
3636
3628
  });
3637
3629
  continue;
3638
3630
  }
3639
- if (Dt(l)) {
3631
+ if (Rt(l)) {
3640
3632
  var v = l.children, y = l.value, S = i[y];
3641
- if (!Vn(S))
3642
- throw new Fn(y, "function", s);
3633
+ if (!kn(S))
3634
+ throw new Gn(y, "function", s);
3643
3635
  var N = ce(v, t, r, n, i, o), O = S(N.map(function(H) {
3644
3636
  return H.value;
3645
3637
  }));
@@ -3650,39 +3642,39 @@ function ce(e, t, r, n, i, o, s) {
3650
3642
  };
3651
3643
  }));
3652
3644
  }
3653
- if ($t(l)) {
3645
+ if (Mt(l)) {
3654
3646
  var E = l.options[f] || l.options.other;
3655
3647
  if (!E)
3656
- throw new ft(l.value, f, Object.keys(l.options), s);
3648
+ throw new ct(l.value, f, Object.keys(l.options), s);
3657
3649
  a.push.apply(a, ce(E.value, t, r, n, i));
3658
3650
  continue;
3659
3651
  }
3660
- if (Rt(l)) {
3652
+ if ($t(l)) {
3661
3653
  var E = l.options["=".concat(f)];
3662
3654
  if (!E) {
3663
3655
  if (!Intl.PluralRules)
3664
3656
  throw new ye(`Intl.PluralRules is not available in this environment.
3665
3657
  Try polyfilling it using "@formatjs/intl-pluralrules"
3666
- `, z.MISSING_INTL_API, s);
3658
+ `, X.MISSING_INTL_API, s);
3667
3659
  var T = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3668
3660
  E = l.options[T] || l.options.other;
3669
3661
  }
3670
3662
  if (!E)
3671
- throw new ft(l.value, f, Object.keys(l.options), s);
3663
+ throw new ct(l.value, f, Object.keys(l.options), s);
3672
3664
  a.push.apply(a, ce(E.value, t, r, n, i, f - (l.offset || 0)));
3673
3665
  continue;
3674
3666
  }
3675
3667
  }
3676
- return kn(a);
3668
+ return jn(a);
3677
3669
  }
3678
- function zn(e, t) {
3670
+ function Vn(e, t) {
3679
3671
  return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3680
3672
  return r[n] = b(b({}, e[n]), t[n] || {}), r;
3681
3673
  }, {})) : e;
3682
3674
  }
3683
3675
  function Xn(e, t) {
3684
3676
  return t ? Object.keys(e).reduce(function(r, n) {
3685
- return r[n] = zn(e[n], t[n]), r;
3677
+ return r[n] = Vn(e[n], t[n]), r;
3686
3678
  }, b({}, e)) : e;
3687
3679
  }
3688
3680
  function He(e) {
@@ -3699,7 +3691,7 @@ function He(e) {
3699
3691
  }
3700
3692
  };
3701
3693
  }
3702
- function Wn(e) {
3694
+ function zn(e) {
3703
3695
  return e === void 0 && (e = {
3704
3696
  number: {},
3705
3697
  dateTime: {},
@@ -3731,7 +3723,7 @@ function Wn(e) {
3731
3723
  })
3732
3724
  };
3733
3725
  }
3734
- var Zn = (
3726
+ var Wn = (
3735
3727
  /** @class */
3736
3728
  function() {
3737
3729
  function e(t, r, n, i) {
@@ -3763,13 +3755,13 @@ var Zn = (
3763
3755
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3764
3756
  var s = i || {};
3765
3757
  s.formatters;
3766
- var a = Tr(s, ["formatters"]);
3758
+ var a = Br(s, ["formatters"]);
3767
3759
  this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
3768
3760
  } else
3769
3761
  this.ast = t;
3770
3762
  if (!Array.isArray(this.ast))
3771
3763
  throw new TypeError("A message must be provided as a String or AST.");
3772
- this.formats = Xn(e.formats, n), this.formatters = i && i.formatters || Wn(this.formatterCache);
3764
+ this.formats = Xn(e.formats, n), this.formatters = i && i.formatters || zn(this.formatterCache);
3773
3765
  }
3774
3766
  return Object.defineProperty(e, "defaultLocale", {
3775
3767
  get: function() {
@@ -3782,7 +3774,7 @@ var Zn = (
3782
3774
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3783
3775
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3784
3776
  }
3785
- }, e.__parse = Gn, e.formats = {
3777
+ }, e.__parse = Un, e.formats = {
3786
3778
  number: {
3787
3779
  integer: {
3788
3780
  maximumFractionDigits: 0
@@ -3843,7 +3835,7 @@ var Zn = (
3843
3835
  }, e;
3844
3836
  }()
3845
3837
  );
3846
- function Qn(e, t) {
3838
+ function Zn(e, t) {
3847
3839
  if (t == null)
3848
3840
  return;
3849
3841
  if (t in e)
@@ -3864,44 +3856,44 @@ function Qn(e, t) {
3864
3856
  n = void 0;
3865
3857
  return n;
3866
3858
  }
3867
- const C = {}, Jn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Wt = (e, t) => {
3859
+ const C = {}, Qn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), zt = (e, t) => {
3868
3860
  if (t == null)
3869
3861
  return;
3870
3862
  if (t in C && e in C[t])
3871
3863
  return C[t][e];
3872
3864
  const r = ve(t);
3873
3865
  for (let n = 0; n < r.length; n++) {
3874
- const i = r[n], o = qn(i, e);
3866
+ const i = r[n], o = Yn(i, e);
3875
3867
  if (o)
3876
- return Jn(e, t, o);
3868
+ return Qn(e, t, o);
3877
3869
  }
3878
3870
  };
3879
3871
  let Xe;
3880
3872
  const ne = ge({});
3881
- function Yn(e) {
3873
+ function Jn(e) {
3882
3874
  return Xe[e] || null;
3883
3875
  }
3884
- function Zt(e) {
3876
+ function Wt(e) {
3885
3877
  return e in Xe;
3886
3878
  }
3887
- function qn(e, t) {
3888
- if (!Zt(e))
3879
+ function Yn(e, t) {
3880
+ if (!Wt(e))
3889
3881
  return null;
3890
- const r = Yn(e);
3891
- return Qn(r, t);
3882
+ const r = Jn(e);
3883
+ return Zn(r, t);
3892
3884
  }
3893
- function Kn(e) {
3885
+ function qn(e) {
3894
3886
  if (e == null)
3895
3887
  return;
3896
3888
  const t = ve(e);
3897
3889
  for (let r = 0; r < t.length; r++) {
3898
3890
  const n = t[r];
3899
- if (Zt(n))
3891
+ if (Wt(n))
3900
3892
  return n;
3901
3893
  }
3902
3894
  }
3903
- function Qt(e, ...t) {
3904
- delete C[e], ne.update((r) => (r[e] = rn.all([r[e] || {}, ...t]), r));
3895
+ function Zt(e, ...t) {
3896
+ delete C[e], ne.update((r) => (r[e] = tn.all([r[e] || {}, ...t]), r));
3905
3897
  }
3906
3898
  W(
3907
3899
  [ne],
@@ -3909,15 +3901,15 @@ W(
3909
3901
  );
3910
3902
  ne.subscribe((e) => Xe = e);
3911
3903
  const fe = {};
3912
- function ei(e, t) {
3904
+ function Kn(e, t) {
3913
3905
  fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3914
3906
  }
3915
- function Jt(e) {
3907
+ function Qt(e) {
3916
3908
  return fe[e];
3917
3909
  }
3918
- function ti(e) {
3910
+ function ei(e) {
3919
3911
  return ve(e).map((t) => {
3920
- const r = Jt(t);
3912
+ const r = Qt(t);
3921
3913
  return [t, r ? [...r] : []];
3922
3914
  }).filter(([, t]) => t.length > 0);
3923
3915
  }
@@ -3925,31 +3917,31 @@ function Fe(e) {
3925
3917
  return e == null ? !1 : ve(e).some(
3926
3918
  (t) => {
3927
3919
  var r;
3928
- return (r = Jt(t)) == null ? void 0 : r.size;
3920
+ return (r = Qt(t)) == null ? void 0 : r.size;
3929
3921
  }
3930
3922
  );
3931
3923
  }
3932
- function ri(e, t) {
3924
+ function ti(e, t) {
3933
3925
  return Promise.all(
3934
- t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
3935
- ).then((n) => Qt(e, ...n));
3926
+ t.map((n) => (Kn(e, n), n().then((i) => i.default || i)))
3927
+ ).then((n) => Zt(e, ...n));
3936
3928
  }
3937
3929
  const J = {};
3938
- function Yt(e) {
3930
+ function Jt(e) {
3939
3931
  if (!Fe(e))
3940
3932
  return e in J ? J[e] : Promise.resolve();
3941
- const t = ti(e);
3933
+ const t = ei(e);
3942
3934
  return J[e] = Promise.all(
3943
3935
  t.map(
3944
- ([r, n]) => ri(r, n)
3936
+ ([r, n]) => ti(r, n)
3945
3937
  )
3946
3938
  ).then(() => {
3947
3939
  if (Fe(e))
3948
- return Yt(e);
3940
+ return Jt(e);
3949
3941
  delete J[e];
3950
3942
  }), J[e];
3951
3943
  }
3952
- const ni = {
3944
+ const ri = {
3953
3945
  number: {
3954
3946
  scientific: { notation: "scientific" },
3955
3947
  engineering: { notation: "engineering" },
@@ -3978,34 +3970,34 @@ const ni = {
3978
3970
  timeZoneName: "short"
3979
3971
  }
3980
3972
  }
3981
- }, ii = {
3973
+ }, ni = {
3982
3974
  fallbackLocale: null,
3983
3975
  loadingDelay: 200,
3984
- formats: ni,
3976
+ formats: ri,
3985
3977
  warnOnMissingMessages: !0,
3986
3978
  handleMissingMessage: void 0,
3987
3979
  ignoreTag: !0
3988
- }, oi = ii;
3989
- function X() {
3990
- return oi;
3980
+ }, ii = ni;
3981
+ function z() {
3982
+ return ii;
3991
3983
  }
3992
3984
  const we = ge(!1);
3993
- var si = Object.defineProperty, ai = Object.defineProperties, ui = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, hi = Object.prototype.hasOwnProperty, li = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ci = (e, t) => {
3994
- for (var r in t)
3995
- hi.call(t, r) && dt(e, r, t[r]);
3996
- if (pt)
3997
- for (var r of pt(t))
3998
- li.call(t, r) && dt(e, r, t[r]);
3985
+ var oi = Object.defineProperty, si = Object.defineProperties, ai = Object.getOwnPropertyDescriptors, ft = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, li = (e, t) => {
3986
+ for (var r in t || (t = {}))
3987
+ ui.call(t, r) && pt(e, r, t[r]);
3988
+ if (ft)
3989
+ for (var r of ft(t))
3990
+ hi.call(t, r) && pt(e, r, t[r]);
3999
3991
  return e;
4000
- }, fi = (e, t) => ai(e, ui(t));
3992
+ }, ci = (e, t) => si(e, ai(t));
4001
3993
  let je;
4002
3994
  const de = ge(null);
4003
- function mt(e) {
3995
+ function dt(e) {
4004
3996
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4005
3997
  }
4006
- function ve(e, t = X().fallbackLocale) {
4007
- const r = mt(e);
4008
- return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
3998
+ function ve(e, t = z().fallbackLocale) {
3999
+ const r = dt(e);
4000
+ return t ? [.../* @__PURE__ */ new Set([...r, ...dt(t)])] : r;
4009
4001
  }
4010
4002
  function M() {
4011
4003
  return je ?? void 0;
@@ -4013,22 +4005,22 @@ function M() {
4013
4005
  de.subscribe((e) => {
4014
4006
  je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4015
4007
  });
4016
- const pi = (e) => {
4017
- if (e && Kn(e) && Fe(e)) {
4018
- const { loadingDelay: t } = X();
4008
+ const fi = (e) => {
4009
+ if (e && qn(e) && Fe(e)) {
4010
+ const { loadingDelay: t } = z();
4019
4011
  let r;
4020
4012
  return typeof window < "u" && M() != null && t ? r = window.setTimeout(
4021
4013
  () => we.set(!0),
4022
4014
  t
4023
- ) : we.set(!0), Yt(e).then(() => {
4015
+ ) : we.set(!0), Jt(e).then(() => {
4024
4016
  de.set(e);
4025
4017
  }).finally(() => {
4026
4018
  clearTimeout(r), we.set(!1);
4027
4019
  });
4028
4020
  }
4029
4021
  return de.set(e);
4030
- }, Z = fi(ci({}, de), {
4031
- set: pi
4022
+ }, Z = ci(li({}, de), {
4023
+ set: fi
4032
4024
  }), xe = (e) => {
4033
4025
  const t = /* @__PURE__ */ Object.create(null);
4034
4026
  return (n) => {
@@ -4036,42 +4028,42 @@ const pi = (e) => {
4036
4028
  return i in t ? t[i] : t[i] = e(n);
4037
4029
  };
4038
4030
  };
4039
- var di = Object.defineProperty, me = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Kt = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
4031
+ var pi = Object.defineProperty, me = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
4040
4032
  for (var r in t || (t = {}))
4041
- qt.call(t, r) && bt(e, r, t[r]);
4033
+ Yt.call(t, r) && mt(e, r, t[r]);
4042
4034
  if (me)
4043
4035
  for (var r of me(t))
4044
- Kt.call(t, r) && bt(e, r, t[r]);
4036
+ qt.call(t, r) && mt(e, r, t[r]);
4045
4037
  return e;
4046
4038
  }, Q = (e, t) => {
4047
4039
  var r = {};
4048
4040
  for (var n in e)
4049
- qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4041
+ Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4050
4042
  if (e != null && me)
4051
4043
  for (var n of me(e))
4052
- t.indexOf(n) < 0 && Kt.call(e, n) && (r[n] = e[n]);
4044
+ t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
4053
4045
  return r;
4054
4046
  };
4055
4047
  const te = (e, t) => {
4056
- const { formats: r } = X();
4048
+ const { formats: r } = z();
4057
4049
  if (e in r && t in r[e])
4058
4050
  return r[e][t];
4059
4051
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4060
- }, mi = xe(
4052
+ }, di = xe(
4061
4053
  (e) => {
4062
4054
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
4063
4055
  if (r == null)
4064
4056
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4065
4057
  return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
4066
4058
  }
4067
- ), bi = xe(
4059
+ ), mi = xe(
4068
4060
  (e) => {
4069
4061
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
4070
4062
  if (r == null)
4071
4063
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4072
4064
  return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
4073
4065
  }
4074
- ), gi = xe(
4066
+ ), bi = xe(
4075
4067
  (e) => {
4076
4068
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
4077
4069
  if (r == null)
@@ -4080,33 +4072,33 @@ const te = (e, t) => {
4080
4072
  );
4081
4073
  return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
4082
4074
  }
4083
- ), yi = (e = {}) => {
4075
+ ), gi = (e = {}) => {
4084
4076
  var t = e, {
4085
4077
  locale: r = M()
4086
4078
  } = t, n = Q(t, [
4087
4079
  "locale"
4088
4080
  ]);
4089
- return mi(We({ locale: r }, n));
4090
- }, vi = (e = {}) => {
4081
+ return di(ze({ locale: r }, n));
4082
+ }, yi = (e = {}) => {
4091
4083
  var t = e, {
4092
4084
  locale: r = M()
4093
4085
  } = t, n = Q(t, [
4094
4086
  "locale"
4095
4087
  ]);
4096
- return bi(We({ locale: r }, n));
4097
- }, xi = (e = {}) => {
4088
+ return mi(ze({ locale: r }, n));
4089
+ }, vi = (e = {}) => {
4098
4090
  var t = e, {
4099
4091
  locale: r = M()
4100
4092
  } = t, n = Q(t, [
4101
4093
  "locale"
4102
4094
  ]);
4103
- return gi(We({ locale: r }, n));
4104
- }, Ei = xe(
4095
+ return bi(ze({ locale: r }, n));
4096
+ }, xi = xe(
4105
4097
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4106
- (e, t = M()) => new Zn(e, t, X().formats, {
4107
- ignoreTag: X().ignoreTag
4098
+ (e, t = M()) => new Wn(e, t, z().formats, {
4099
+ ignoreTag: z().ignoreTag
4108
4100
  })
4109
- ), _i = (e, t = {}) => {
4101
+ ), Ei = (e, t = {}) => {
4110
4102
  var r, n, i, o;
4111
4103
  let s = t;
4112
4104
  typeof e == "object" && (s = e, e = s.id);
@@ -4119,9 +4111,9 @@ const te = (e, t) => {
4119
4111
  throw new Error(
4120
4112
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4121
4113
  );
4122
- let l = Wt(e, h);
4114
+ let l = zt(e, h);
4123
4115
  if (!l)
4124
- l = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4116
+ l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4125
4117
  else if (typeof l != "string")
4126
4118
  return console.warn(
4127
4119
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4130,7 +4122,7 @@ const te = (e, t) => {
4130
4122
  return l;
4131
4123
  let c = l;
4132
4124
  try {
4133
- c = Ei(l, h).format(a);
4125
+ c = xi(l, h).format(a);
4134
4126
  } catch (f) {
4135
4127
  f instanceof Error && console.warn(
4136
4128
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4138,20 +4130,20 @@ const te = (e, t) => {
4138
4130
  );
4139
4131
  }
4140
4132
  return c;
4141
- }, Si = (e, t) => xi(t).format(e), Bi = (e, t) => vi(t).format(e), Ti = (e, t) => yi(t).format(e), Hi = (e, t = M()) => Wt(e, t), wi = W([Z, ne], () => _i);
4133
+ }, _i = (e, t) => vi(t).format(e), Si = (e, t) => yi(t).format(e), Bi = (e, t) => gi(t).format(e), Ti = (e, t = M()) => zt(e, t), Hi = W([Z, ne], () => Ei);
4134
+ W([Z], () => _i);
4142
4135
  W([Z], () => Si);
4143
4136
  W([Z], () => Bi);
4144
- W([Z], () => Ti);
4145
- W([Z, ne], () => Hi);
4146
- window.emWidgets = { topic: Ur };
4137
+ W([Z, ne], () => Ti);
4138
+ window.emWidgets = { topic: Dr };
4147
4139
  const ae = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4148
- function gt(e, t) {
4149
- Qt(e, t);
4140
+ function bt(e, t) {
4141
+ Zt(e, t);
4150
4142
  }
4151
- function Pi(e) {
4143
+ function wi(e) {
4152
4144
  Z.set(e);
4153
4145
  }
4154
- const yt = {
4146
+ const gt = {
4155
4147
  en: {
4156
4148
  panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
4157
4149
  },
@@ -4192,10 +4184,10 @@ const yt = {
4192
4184
  panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
4193
4185
  }
4194
4186
  };
4195
- function Ai(e) {
4196
- nr(e, "svelte-1v7b25v", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
4187
+ function Pi(e) {
4188
+ rr(e, "svelte-1v7b25v", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
4197
4189
  }
4198
- function Oi(e) {
4190
+ function Ai(e) {
4199
4191
  let t, r, n, i = (
4200
4192
  /*customtext*/
4201
4193
  (e[0] || /*$_*/
@@ -4203,13 +4195,13 @@ function Oi(e) {
4203
4195
  ), o, s;
4204
4196
  return {
4205
4197
  c() {
4206
- t = Y("div"), r = Y("div"), n = Y("button"), o = sr(i), L(n, "class", "PanicButton " + (ae(
4198
+ t = Y("div"), r = Y("div"), n = Y("button"), o = or(i), L(n, "class", "PanicButton " + (ae(
4207
4199
  /*userAgent*/
4208
4200
  e[6]
4209
4201
  ) !== "PC" ? "PanicButtonMobile" : "")), L(n, "part", "PanicButton " + (ae(
4210
4202
  /*userAgent*/
4211
4203
  e[6]
4212
- ) !== "PC" ? "PanicButtonMobile" : "")), Qe(
4204
+ ) !== "PC" ? "PanicButtonMobile" : "")), Ze(
4213
4205
  n,
4214
4206
  "PanicButtonAnimation",
4215
4207
  /*panicLoading*/
@@ -4224,14 +4216,14 @@ function Oi(e) {
4224
4216
  e[1] == "true" ? "PanicButtonV2" : "");
4225
4217
  },
4226
4218
  m(a, h) {
4227
- _t(a, t, h), ue(t, r), ue(r, n), ue(n, o), e[11](n), e[12](t);
4219
+ Et(a, t, h), ue(t, r), ue(r, n), ue(n, o), e[11](n), e[12](t);
4228
4220
  },
4229
4221
  p(a, [h]) {
4230
4222
  h & /*customtext, $_*/
4231
4223
  33 && i !== (i = /*customtext*/
4232
4224
  (a[0] || /*$_*/
4233
- a[5]("panicButtonString")) + "") && ur(o, i), h & /*panicLoading*/
4234
- 16 && Qe(
4225
+ a[5]("panicButtonString")) + "") && ar(o, i), h & /*panicLoading*/
4226
+ 16 && Ze(
4235
4227
  n,
4236
4228
  "PanicButtonAnimation",
4237
4229
  /*panicLoading*/
@@ -4247,21 +4239,21 @@ function Oi(e) {
4247
4239
  }
4248
4240
  };
4249
4241
  }
4250
- function Ii(e, t, r) {
4242
+ function Oi(e, t, r) {
4251
4243
  let n;
4252
- rr(e, wi, (g) => r(5, n = g));
4244
+ tr(e, Hi, (g) => r(5, n = g));
4253
4245
  let { lang: i = "en" } = t, { customtext: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { alternativestyling: h = "" } = t, { translationurl: u = "" } = t, l, c, f = !1, m = 0, v, y = window.navigator.userAgent;
4254
4246
  const S = () => {
4255
4247
  fetch(u).then((w) => w.json()).then((w) => {
4256
4248
  Object.keys(w).forEach((R) => {
4257
- gt(R, w[R]);
4249
+ bt(R, w[R]);
4258
4250
  });
4259
4251
  }).catch((w) => {
4260
4252
  console.log(w);
4261
4253
  });
4262
4254
  };
4263
- Object.keys(yt).forEach((g) => {
4264
- gt(g, yt[g]);
4255
+ Object.keys(gt).forEach((g) => {
4256
+ bt(g, gt[g]);
4265
4257
  });
4266
4258
  const N = () => {
4267
4259
  l?.addEventListener("mousedown", E, !1), l?.addEventListener("touchstart", E, !1), l?.addEventListener("mouseup", T, !1), l?.addEventListener("touchend", T, !1);
@@ -4290,7 +4282,7 @@ function Ii(e, t, r) {
4290
4282
  );
4291
4283
  });
4292
4284
  };
4293
- cr(() => () => {
4285
+ lr(() => () => {
4294
4286
  O();
4295
4287
  });
4296
4288
  function ie(g) {
@@ -4298,7 +4290,7 @@ function Ii(e, t, r) {
4298
4290
  l = g, r(2, l);
4299
4291
  });
4300
4292
  }
4301
- function er(g) {
4293
+ function Kt(g) {
4302
4294
  pe[g ? "unshift" : "push"](() => {
4303
4295
  c = g, r(3, c);
4304
4296
  });
@@ -4308,7 +4300,7 @@ function Ii(e, t, r) {
4308
4300
  }, e.$$.update = () => {
4309
4301
  e.$$.dirty & /*panicButton*/
4310
4302
  4 && l && N(), e.$$.dirty & /*lang*/
4311
- 128 && i && Pi(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
4303
+ 128 && i && wi(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
4312
4304
  264 && s && c && H(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4313
4305
  520 && a && c && $(), e.$$.dirty & /*translationurl*/
4314
4306
  1024 && u && S();
@@ -4325,17 +4317,17 @@ function Ii(e, t, r) {
4325
4317
  a,
4326
4318
  u,
4327
4319
  ie,
4328
- er
4320
+ Kt
4329
4321
  ];
4330
4322
  }
4331
- class Ci extends Sr {
4323
+ class Ii extends _r {
4332
4324
  constructor(t) {
4333
- super(), Er(
4325
+ super(), xr(
4334
4326
  this,
4335
4327
  t,
4336
- Ii,
4337
4328
  Oi,
4338
- xt,
4329
+ Ai,
4330
+ vt,
4339
4331
  {
4340
4332
  lang: 7,
4341
4333
  customtext: 0,
@@ -4344,7 +4336,7 @@ class Ci extends Sr {
4344
4336
  alternativestyling: 1,
4345
4337
  translationurl: 10
4346
4338
  },
4347
- Ai
4339
+ Pi
4348
4340
  );
4349
4341
  }
4350
4342
  get lang() {
@@ -4384,7 +4376,7 @@ class Ci extends Sr {
4384
4376
  this.$$set({ translationurl: t }), I();
4385
4377
  }
4386
4378
  }
4387
- _r(Ci, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4379
+ Er(Ii, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4388
4380
  export {
4389
- Ci as P
4381
+ Ii as P
4390
4382
  };